Skip to content

Commit a75b3e1

Browse files
garg-muditroot
and
root
authored
Version 6.0.0-RC1-v2.1-24.2.00.00 release (#283)
Co-authored-by: root <[email protected]>
1 parent a39d994 commit a75b3e1

11 files changed

+507
-79
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
# DocuSign Java Client Changelog
22
See [DocuSign Support Center](https://support.docusign.com/en/releasenotes/) for Product Release Notes.
33

4+
## [v6.0.0-RC1] - eSignature API v2.1-24.2.00.00 - 2024-06-28
5+
### Changed
6+
- Added support for version v2.1-24.2.00.00 of the DocuSign ESignature API.
7+
- Updated the SDK release version.
8+
49
## [v5.1.0] - eSignature API v2.1-24.1.01.00 - 2024-06-25
510
# Changed
611

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ This client SDK is provided as open source, which enables you to customize its f
5757
<dependency>
5858
<groupId>com.docusign</groupId>
5959
<artifactId>docusign-esign-java</artifactId>
60-
<version>5.1.0</version>
60+
<version>6.0.0-RC1</version>
6161
</dependency>
6262
```
6363
8. If your project is still open, restart Eclipse.
@@ -116,5 +116,5 @@ The Docusign eSignature Java Client SDK is licensed under the [MIT License](http
116116
117117
[travis-image]: https://api.travis-ci.com/docusign/docusign-esign-java-client.svg?branch=master
118118
[travis-url]: https://app.travis-ci.com/github/docusign/docusign-esign-java-client
119-
[maven-image]: https://img.shields.io/maven-central/v/com.docusign/docusign-esign-java.svg?style=flat
119+
[maven-image]: https://img.shields.io/maven-central/v/com.docusign/.svg?style=flat
120120
[maven-url]: https://search.maven.org/#search%7Cga%7C1%7Cg%3A%22com.docusign%22

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<artifactId>docusign-esign-java</artifactId>
66
<packaging>jar</packaging>
77
<name>docusign-esign-java</name>
8-
<version>5.1.0</version>
8+
<version>6.0.0-RC1</version>
99
<url>https://developers.docusign.com</url>
1010
<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>
1111

src/main/java/com/docusign/esign/api/EnvelopesApi.java

Lines changed: 44 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -420,12 +420,12 @@ public ApiResponse<ViewUrl > createConsoleViewWithHttpInfo(String accountId, Con
420420
* 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.
421421
* @param accountId The external account number (int) or account ID Guid. (required)
422422
* @param envelopeId The envelopeId Guid of the envelope being accessed. (required)
423-
* @param correctViewRequest (optional)
423+
* @param envelopeViewRequest (optional)
424424
* @return ViewUrl
425425
* @throws ApiException if fails to make API call
426426
*/
427-
public ViewUrl createCorrectView(String accountId, String envelopeId, CorrectViewRequest correctViewRequest) throws ApiException {
428-
ApiResponse<ViewUrl> localVarResponse = createCorrectViewWithHttpInfo(accountId, envelopeId, correctViewRequest);
427+
public ViewUrl createCorrectView(String accountId, String envelopeId, EnvelopeViewRequest envelopeViewRequest) throws ApiException {
428+
ApiResponse<ViewUrl> localVarResponse = createCorrectViewWithHttpInfo(accountId, envelopeId, envelopeViewRequest);
429429
return localVarResponse.getData();
430430
}
431431

@@ -434,12 +434,12 @@ public ViewUrl createCorrectView(String accountId, String envelopeId, CorrectVie
434434
* 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.
435435
* @param accountId The external account number (int) or account ID Guid. (required)
436436
* @param envelopeId The envelopeId Guid of the envelope being accessed. (required)
437-
* @param correctViewRequest (optional)
437+
* @param envelopeViewRequest (optional)
438438
* @return ViewUrl
439439
* @throws ApiException if fails to make API call
440440
*/
441-
public ApiResponse<ViewUrl > createCorrectViewWithHttpInfo(String accountId, String envelopeId, CorrectViewRequest correctViewRequest) throws ApiException {
442-
Object localVarPostBody = correctViewRequest;
441+
public ApiResponse<ViewUrl > createCorrectViewWithHttpInfo(String accountId, String envelopeId, EnvelopeViewRequest envelopeViewRequest) throws ApiException {
442+
Object localVarPostBody = envelopeViewRequest;
443443

444444
// verify the required parameter 'accountId' is set
445445
if (accountId == null) {
@@ -5247,6 +5247,7 @@ public class GetEnvelopeOptions
52475247
{
52485248
private String advancedUpdate = null;
52495249
private String include = null;
5250+
private String includeAnchorTabLocations = null;
52505251

52515252
/**
52525253
* setAdvancedUpdate method.
@@ -5279,6 +5280,22 @@ public void setInclude(String include) {
52795280
public String getInclude() {
52805281
return this.include;
52815282
}
5283+
5284+
/**
5285+
* setIncludeAnchorTabLocations method.
5286+
*/
5287+
public void setIncludeAnchorTabLocations(String includeAnchorTabLocations) {
5288+
this.includeAnchorTabLocations = includeAnchorTabLocations;
5289+
}
5290+
5291+
/**
5292+
* getIncludeAnchorTabLocations method.
5293+
*
5294+
* @return String
5295+
*/
5296+
public String getIncludeAnchorTabLocations() {
5297+
return this.includeAnchorTabLocations;
5298+
}
52825299
}
52835300

52845301
/**
@@ -5343,6 +5360,8 @@ public ApiResponse<Envelope > getEnvelopeWithHttpInfo(String accountId, String e
53435360
localVarQueryParams.addAll(apiClient.parameterToPair("advanced_update", options.advancedUpdate));
53445361
}if (options != null) {
53455362
localVarQueryParams.addAll(apiClient.parameterToPair("include", options.include));
5363+
}if (options != null) {
5364+
localVarQueryParams.addAll(apiClient.parameterToPair("include_anchor_tab_locations", options.includeAnchorTabLocations));
53465365
}
53475366

53485367

@@ -9530,6 +9549,7 @@ public ApiResponse<Object> rotateDocumentPageWithHttpInfo(String accountId, Stri
95309549
public class UpdateOptions
95319550
{
95329551
private String advancedUpdate = null;
9552+
private String recycleOnVoid = null;
95339553
private String resendEnvelope = null;
95349554

95359555
/**
@@ -9548,6 +9568,22 @@ public String getAdvancedUpdate() {
95489568
return this.advancedUpdate;
95499569
}
95509570

9571+
/**
9572+
* setRecycleOnVoid method.
9573+
*/
9574+
public void setRecycleOnVoid(String recycleOnVoid) {
9575+
this.recycleOnVoid = recycleOnVoid;
9576+
}
9577+
9578+
/**
9579+
* getRecycleOnVoid method.
9580+
*
9581+
* @return String
9582+
*/
9583+
public String getRecycleOnVoid() {
9584+
return this.recycleOnVoid;
9585+
}
9586+
95519587
/**
95529588
* setResendEnvelope method.
95539589
*/
@@ -9628,6 +9664,8 @@ public ApiResponse<EnvelopeUpdateSummary > updateWithHttpInfo(String accountId,
96289664

96299665
if (options != null) {
96309666
localVarQueryParams.addAll(apiClient.parameterToPair("advanced_update", options.advancedUpdate));
9667+
}if (options != null) {
9668+
localVarQueryParams.addAll(apiClient.parameterToPair("recycle_on_void", options.recycleOnVoid));
96319669
}if (options != null) {
96329670
localVarQueryParams.addAll(apiClient.parameterToPair("resend_envelope", options.resendEnvelope));
96339671
}

src/main/java/com/docusign/esign/client/ApiClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ public ApiClient() {
9696
String javaVersion = System.getProperty("java.version");
9797

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

101101
// Setup authentications (key: authentication name, value: authentication).
102102
authentications = new HashMap<String, Authentication>();

src/main/java/com/docusign/esign/model/AccountInformation.java

Lines changed: 33 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,9 @@ public class AccountInformation implements Serializable {
9595
@JsonProperty("forgottenPasswordQuestionsCount")
9696
private String forgottenPasswordQuestionsCount = null;
9797

98+
@JsonProperty("freeEnvelopeSendsRemainingForAdvancedDocGen")
99+
private Integer freeEnvelopeSendsRemainingForAdvancedDocGen = null;
100+
98101
@JsonProperty("isDowngrade")
99102
private String isDowngrade = null;
100103

@@ -823,6 +826,33 @@ public void setForgottenPasswordQuestionsCount(String forgottenPasswordQuestions
823826
}
824827

825828

829+
/**
830+
* freeEnvelopeSendsRemainingForAdvancedDocGen.
831+
*
832+
* @return AccountInformation
833+
**/
834+
public AccountInformation freeEnvelopeSendsRemainingForAdvancedDocGen(Integer freeEnvelopeSendsRemainingForAdvancedDocGen) {
835+
this.freeEnvelopeSendsRemainingForAdvancedDocGen = freeEnvelopeSendsRemainingForAdvancedDocGen;
836+
return this;
837+
}
838+
839+
/**
840+
* .
841+
* @return freeEnvelopeSendsRemainingForAdvancedDocGen
842+
**/
843+
@Schema(description = "")
844+
public Integer getFreeEnvelopeSendsRemainingForAdvancedDocGen() {
845+
return freeEnvelopeSendsRemainingForAdvancedDocGen;
846+
}
847+
848+
/**
849+
* setFreeEnvelopeSendsRemainingForAdvancedDocGen.
850+
**/
851+
public void setFreeEnvelopeSendsRemainingForAdvancedDocGen(Integer freeEnvelopeSendsRemainingForAdvancedDocGen) {
852+
this.freeEnvelopeSendsRemainingForAdvancedDocGen = freeEnvelopeSendsRemainingForAdvancedDocGen;
853+
}
854+
855+
826856
/**
827857
* isDowngrade.
828858
*
@@ -1226,6 +1256,7 @@ public boolean equals(java.lang.Object o) {
12261256
Objects.equals(this.envelopeUnitPrice, accountInformation.envelopeUnitPrice) &&
12271257
Objects.equals(this.externalAccountId, accountInformation.externalAccountId) &&
12281258
Objects.equals(this.forgottenPasswordQuestionsCount, accountInformation.forgottenPasswordQuestionsCount) &&
1259+
Objects.equals(this.freeEnvelopeSendsRemainingForAdvancedDocGen, accountInformation.freeEnvelopeSendsRemainingForAdvancedDocGen) &&
12291260
Objects.equals(this.isDowngrade, accountInformation.isDowngrade) &&
12301261
Objects.equals(this.paymentMethod, accountInformation.paymentMethod) &&
12311262
Objects.equals(this.planClassification, accountInformation.planClassification) &&
@@ -1246,7 +1277,7 @@ public boolean equals(java.lang.Object o) {
12461277
*/
12471278
@Override
12481279
public int hashCode() {
1249-
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);
1280+
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);
12501281
}
12511282

12521283

@@ -1283,6 +1314,7 @@ public String toString() {
12831314
sb.append(" envelopeUnitPrice: ").append(toIndentedString(envelopeUnitPrice)).append("\n");
12841315
sb.append(" externalAccountId: ").append(toIndentedString(externalAccountId)).append("\n");
12851316
sb.append(" forgottenPasswordQuestionsCount: ").append(toIndentedString(forgottenPasswordQuestionsCount)).append("\n");
1317+
sb.append(" freeEnvelopeSendsRemainingForAdvancedDocGen: ").append(toIndentedString(freeEnvelopeSendsRemainingForAdvancedDocGen)).append("\n");
12861318
sb.append(" isDowngrade: ").append(toIndentedString(isDowngrade)).append("\n");
12871319
sb.append(" paymentMethod: ").append(toIndentedString(paymentMethod)).append("\n");
12881320
sb.append(" planClassification: ").append(toIndentedString(planClassification)).append("\n");

0 commit comments

Comments
 (0)