Skip to content

Commit

Permalink
Version 6.0.0-RC1-v2.1-24.2.00.00 release (#283)
Browse files Browse the repository at this point in the history
Co-authored-by: root <[email protected]>
  • Loading branch information
garg-mudit and root authored Jul 5, 2024
1 parent a39d994 commit a75b3e1
Show file tree
Hide file tree
Showing 11 changed files with 507 additions and 79 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# DocuSign Java Client Changelog
See [DocuSign Support Center](https://support.docusign.com/en/releasenotes/) for Product Release Notes.

## [v6.0.0-RC1] - eSignature API v2.1-24.2.00.00 - 2024-06-28
### Changed
- Added support for version v2.1-24.2.00.00 of the DocuSign ESignature API.
- Updated the SDK release version.

## [v5.1.0] - eSignature API v2.1-24.1.01.00 - 2024-06-25
# Changed

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ This client SDK is provided as open source, which enables you to customize its f
<dependency>
<groupId>com.docusign</groupId>
<artifactId>docusign-esign-java</artifactId>
<version>5.1.0</version>
<version>6.0.0-RC1</version>
</dependency>
```
8. If your project is still open, restart Eclipse.
Expand Down Expand Up @@ -116,5 +116,5 @@ The Docusign eSignature Java Client SDK is licensed under the [MIT License](http
[travis-image]: https://api.travis-ci.com/docusign/docusign-esign-java-client.svg?branch=master
[travis-url]: https://app.travis-ci.com/github/docusign/docusign-esign-java-client
[maven-image]: https://img.shields.io/maven-central/v/com.docusign/docusign-esign-java.svg?style=flat
[maven-image]: https://img.shields.io/maven-central/v/com.docusign/.svg?style=flat
[maven-url]: https://search.maven.org/#search%7Cga%7C1%7Cg%3A%22com.docusign%22
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<artifactId>docusign-esign-java</artifactId>
<packaging>jar</packaging>
<name>docusign-esign-java</name>
<version>5.1.0</version>
<version>6.0.0-RC1</version>
<url>https://developers.docusign.com</url>
<description>The official DocuSign eSignature JAVA client is based on version 2.1 of the DocuSign REST API and provides libraries for JAVA application integration. It is recommended that you use this version of the library for new development.</description>

Expand Down
50 changes: 44 additions & 6 deletions src/main/java/com/docusign/esign/api/EnvelopesApi.java
Original file line number Diff line number Diff line change
Expand Up @@ -420,12 +420,12 @@ public ApiResponse<ViewUrl > createConsoleViewWithHttpInfo(String accountId, Con
* Returns a URL that allows you to embed the envelope correction view of the DocuSign UI in your applications. Important: iFrames should not be used for embedded operations on mobile devices due to screen space issues. For iOS devices DocuSign recommends using a WebView.
* @param accountId The external account number (int) or account ID Guid. (required)
* @param envelopeId The envelopeId Guid of the envelope being accessed. (required)
* @param correctViewRequest (optional)
* @param envelopeViewRequest (optional)
* @return ViewUrl
* @throws ApiException if fails to make API call
*/
public ViewUrl createCorrectView(String accountId, String envelopeId, CorrectViewRequest correctViewRequest) throws ApiException {
ApiResponse<ViewUrl> localVarResponse = createCorrectViewWithHttpInfo(accountId, envelopeId, correctViewRequest);
public ViewUrl createCorrectView(String accountId, String envelopeId, EnvelopeViewRequest envelopeViewRequest) throws ApiException {
ApiResponse<ViewUrl> localVarResponse = createCorrectViewWithHttpInfo(accountId, envelopeId, envelopeViewRequest);
return localVarResponse.getData();
}

Expand All @@ -434,12 +434,12 @@ public ViewUrl createCorrectView(String accountId, String envelopeId, CorrectVie
* Returns a URL that allows you to embed the envelope correction view of the DocuSign UI in your applications. Important: iFrames should not be used for embedded operations on mobile devices due to screen space issues. For iOS devices DocuSign recommends using a WebView.
* @param accountId The external account number (int) or account ID Guid. (required)
* @param envelopeId The envelopeId Guid of the envelope being accessed. (required)
* @param correctViewRequest (optional)
* @param envelopeViewRequest (optional)
* @return ViewUrl
* @throws ApiException if fails to make API call
*/
public ApiResponse<ViewUrl > createCorrectViewWithHttpInfo(String accountId, String envelopeId, CorrectViewRequest correctViewRequest) throws ApiException {
Object localVarPostBody = correctViewRequest;
public ApiResponse<ViewUrl > createCorrectViewWithHttpInfo(String accountId, String envelopeId, EnvelopeViewRequest envelopeViewRequest) throws ApiException {
Object localVarPostBody = envelopeViewRequest;

// verify the required parameter 'accountId' is set
if (accountId == null) {
Expand Down Expand Up @@ -5247,6 +5247,7 @@ public class GetEnvelopeOptions
{
private String advancedUpdate = null;
private String include = null;
private String includeAnchorTabLocations = null;

/**
* setAdvancedUpdate method.
Expand Down Expand Up @@ -5279,6 +5280,22 @@ public void setInclude(String include) {
public String getInclude() {
return this.include;
}

/**
* setIncludeAnchorTabLocations method.
*/
public void setIncludeAnchorTabLocations(String includeAnchorTabLocations) {
this.includeAnchorTabLocations = includeAnchorTabLocations;
}

/**
* getIncludeAnchorTabLocations method.
*
* @return String
*/
public String getIncludeAnchorTabLocations() {
return this.includeAnchorTabLocations;
}
}

/**
Expand Down Expand Up @@ -5343,6 +5360,8 @@ public ApiResponse<Envelope > getEnvelopeWithHttpInfo(String accountId, String e
localVarQueryParams.addAll(apiClient.parameterToPair("advanced_update", options.advancedUpdate));
}if (options != null) {
localVarQueryParams.addAll(apiClient.parameterToPair("include", options.include));
}if (options != null) {
localVarQueryParams.addAll(apiClient.parameterToPair("include_anchor_tab_locations", options.includeAnchorTabLocations));
}


Expand Down Expand Up @@ -9530,6 +9549,7 @@ public ApiResponse<Object> rotateDocumentPageWithHttpInfo(String accountId, Stri
public class UpdateOptions
{
private String advancedUpdate = null;
private String recycleOnVoid = null;
private String resendEnvelope = null;

/**
Expand All @@ -9548,6 +9568,22 @@ public String getAdvancedUpdate() {
return this.advancedUpdate;
}

/**
* setRecycleOnVoid method.
*/
public void setRecycleOnVoid(String recycleOnVoid) {
this.recycleOnVoid = recycleOnVoid;
}

/**
* getRecycleOnVoid method.
*
* @return String
*/
public String getRecycleOnVoid() {
return this.recycleOnVoid;
}

/**
* setResendEnvelope method.
*/
Expand Down Expand Up @@ -9628,6 +9664,8 @@ public ApiResponse<EnvelopeUpdateSummary > updateWithHttpInfo(String accountId,

if (options != null) {
localVarQueryParams.addAll(apiClient.parameterToPair("advanced_update", options.advancedUpdate));
}if (options != null) {
localVarQueryParams.addAll(apiClient.parameterToPair("recycle_on_void", options.recycleOnVoid));
}if (options != null) {
localVarQueryParams.addAll(apiClient.parameterToPair("resend_envelope", options.resendEnvelope));
}
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/docusign/esign/client/ApiClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ public ApiClient() {
String javaVersion = System.getProperty("java.version");

// Set default User-Agent.
setUserAgent("Swagger-Codegen/v2.1/5.1.0/Java/" + javaVersion);
setUserAgent("Swagger-Codegen/v2.1/6.0.0-RC1/Java/" + javaVersion);

// Setup authentications (key: authentication name, value: authentication).
authentications = new HashMap<String, Authentication>();
Expand Down
34 changes: 33 additions & 1 deletion src/main/java/com/docusign/esign/model/AccountInformation.java
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,9 @@ public class AccountInformation implements Serializable {
@JsonProperty("forgottenPasswordQuestionsCount")
private String forgottenPasswordQuestionsCount = null;

@JsonProperty("freeEnvelopeSendsRemainingForAdvancedDocGen")
private Integer freeEnvelopeSendsRemainingForAdvancedDocGen = null;

@JsonProperty("isDowngrade")
private String isDowngrade = null;

Expand Down Expand Up @@ -823,6 +826,33 @@ public void setForgottenPasswordQuestionsCount(String forgottenPasswordQuestions
}


/**
* freeEnvelopeSendsRemainingForAdvancedDocGen.
*
* @return AccountInformation
**/
public AccountInformation freeEnvelopeSendsRemainingForAdvancedDocGen(Integer freeEnvelopeSendsRemainingForAdvancedDocGen) {
this.freeEnvelopeSendsRemainingForAdvancedDocGen = freeEnvelopeSendsRemainingForAdvancedDocGen;
return this;
}

/**
* .
* @return freeEnvelopeSendsRemainingForAdvancedDocGen
**/
@Schema(description = "")
public Integer getFreeEnvelopeSendsRemainingForAdvancedDocGen() {
return freeEnvelopeSendsRemainingForAdvancedDocGen;
}

/**
* setFreeEnvelopeSendsRemainingForAdvancedDocGen.
**/
public void setFreeEnvelopeSendsRemainingForAdvancedDocGen(Integer freeEnvelopeSendsRemainingForAdvancedDocGen) {
this.freeEnvelopeSendsRemainingForAdvancedDocGen = freeEnvelopeSendsRemainingForAdvancedDocGen;
}


/**
* isDowngrade.
*
Expand Down Expand Up @@ -1226,6 +1256,7 @@ public boolean equals(java.lang.Object o) {
Objects.equals(this.envelopeUnitPrice, accountInformation.envelopeUnitPrice) &&
Objects.equals(this.externalAccountId, accountInformation.externalAccountId) &&
Objects.equals(this.forgottenPasswordQuestionsCount, accountInformation.forgottenPasswordQuestionsCount) &&
Objects.equals(this.freeEnvelopeSendsRemainingForAdvancedDocGen, accountInformation.freeEnvelopeSendsRemainingForAdvancedDocGen) &&
Objects.equals(this.isDowngrade, accountInformation.isDowngrade) &&
Objects.equals(this.paymentMethod, accountInformation.paymentMethod) &&
Objects.equals(this.planClassification, accountInformation.planClassification) &&
Expand All @@ -1246,7 +1277,7 @@ public boolean equals(java.lang.Object o) {
*/
@Override
public int hashCode() {
return Objects.hash(accountIdGuid, accountName, accountSettings, allowTransactionRooms, billingPeriodDaysRemaining, billingPeriodEndDate, billingPeriodEnvelopesAllowed, billingPeriodEnvelopesSent, billingPeriodStartDate, billingProfile, brands, canUpgrade, connectPermission, createdDate, currencyCode, currentPlanId, displayApplianceStartUrl, displayApplianceUrl, distributorCode, docuSignLandingUrl, dssValues, envelopeSendingBlocked, envelopeUnitPrice, externalAccountId, forgottenPasswordQuestionsCount, isDowngrade, paymentMethod, planClassification, planEndDate, planName, planStartDate, recipientDomains, seatsAllowed, seatsInUse, status21CFRPart11, suspensionDate, suspensionStatus, useDisplayAppliance);
return Objects.hash(accountIdGuid, accountName, accountSettings, allowTransactionRooms, billingPeriodDaysRemaining, billingPeriodEndDate, billingPeriodEnvelopesAllowed, billingPeriodEnvelopesSent, billingPeriodStartDate, billingProfile, brands, canUpgrade, connectPermission, createdDate, currencyCode, currentPlanId, displayApplianceStartUrl, displayApplianceUrl, distributorCode, docuSignLandingUrl, dssValues, envelopeSendingBlocked, envelopeUnitPrice, externalAccountId, forgottenPasswordQuestionsCount, freeEnvelopeSendsRemainingForAdvancedDocGen, isDowngrade, paymentMethod, planClassification, planEndDate, planName, planStartDate, recipientDomains, seatsAllowed, seatsInUse, status21CFRPart11, suspensionDate, suspensionStatus, useDisplayAppliance);
}


Expand Down Expand Up @@ -1283,6 +1314,7 @@ public String toString() {
sb.append(" envelopeUnitPrice: ").append(toIndentedString(envelopeUnitPrice)).append("\n");
sb.append(" externalAccountId: ").append(toIndentedString(externalAccountId)).append("\n");
sb.append(" forgottenPasswordQuestionsCount: ").append(toIndentedString(forgottenPasswordQuestionsCount)).append("\n");
sb.append(" freeEnvelopeSendsRemainingForAdvancedDocGen: ").append(toIndentedString(freeEnvelopeSendsRemainingForAdvancedDocGen)).append("\n");
sb.append(" isDowngrade: ").append(toIndentedString(isDowngrade)).append("\n");
sb.append(" paymentMethod: ").append(toIndentedString(paymentMethod)).append("\n");
sb.append(" planClassification: ").append(toIndentedString(planClassification)).append("\n");
Expand Down
Loading

0 comments on commit a75b3e1

Please sign in to comment.