Skip to content

Commit 2a5c117

Browse files
Nandsingh90root
andauthored
Version 6.2.0-v2.1-25.2.00.00 release (#296)
Co-authored-by: root <[email protected]>
1 parent 7899639 commit 2a5c117

30 files changed

+1623
-281
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.2.0] - eSignature API v2.1-25.2.00.00 - 2025-05-21
5+
### Changed
6+
- Added support for version v2.1-25.2.00.00 of the DocuSign ESignature API.
7+
- Updated the SDK release version.
8+
49
## [v6.1.0] - eSignature API v2.1-25.1.00.02 - 2025-04-24
510
### Changed
611
- Added support for version v2.1-25.1.00.02 of the DocuSign ESignature API.

README.md

Lines changed: 1 addition & 1 deletion
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>6.1.0</version>
60+
<version>6.2.0</version>
6161
</dependency>
6262
```
6363
8. If your project is still open, restart Eclipse.

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>6.1.0</version>
8+
<version>6.2.0</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/AccountsApi.java

Lines changed: 24 additions & 5 deletions
Large diffs are not rendered by default.

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

Lines changed: 69 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4356,7 +4356,7 @@ public String getLangCode2() {
43564356
* @param accountId The external account number (int) or account ID Guid. (required)
43574357
* @param envelopeId The envelopeId Guid of the envelope being accessed. (required)
43584358
* @param recipientId The ID of the recipient being accessed. (required)
4359-
* @param langCode The simple type enumeration the language used in the response. The supported languages, with the language value shown in parenthesis, are:Arabic (ar), Armenian (hy), Armenian (hy), Bulgarian (bg), Czech (cs), Chinese Simplified (zh_CN), Chinese Traditional (zh_TW), Croatian (hr), Danish (da), Dutch (nl), English US (en), English UK (en_GB), Estonian (et), Farsi (fa), Finnish (fi), French (fr), French Canada (fr_CA), German (de), Greek (el), Hebrew (he), Hindi (hi), Hungarian (hu), Bahasa Indonesia (id), Italian (it), Japanese (ja), Korean (ko), Latvian (lv), Lithuanian (lt), Bahasa Melayu (ms), Norwegian (no), Polish (pl), Portuguese (pt), Portuguese Brazil (pt_BR), Romanian (ro), Russian (ru), Serbian (sr), Slovak (sk), Slovenian (sl), Spanish (es),Spanish Latin America (es_MX), Swedish (sv), Thai (th), Turkish (tr), Ukrainian (uk) and Vietnamese (vi). Additionally, the value can be set to �browser� to automatically detect the browser language being used by the viewer and display the disclosure in that language. (required)
4359+
* @param langCode The simple type enumeration the language used in the response. The supported languages, with the language value shown in parenthesis, are:Arabic (ar), Armenian (hy), Bulgarian (bg), Czech (cs), Chinese Simplified (zh_CN), Chinese Traditional (zh_TW), Croatian (hr), Danish (da), Dutch (nl), English US (en), English UK (en_GB), Estonian (et), Farsi (fa), Finnish (fi), French (fr), French Canada (fr_CA), German (de), Greek (el), Hebrew (he), Hindi (hi), Hungarian (hu), Bahasa Indonesia (id), Italian (it), Japanese (ja), Korean (ko), Latvian (lv), Lithuanian (lt), Bahasa Melayu (ms), Norwegian (no), Polish (pl), Portuguese (pt), Portuguese Brazil (pt_BR), Romanian (ro), Russian (ru), Serbian (sr), Slovak (sk), Slovenian (sl), Spanish (es),Spanish Latin America (es_MX), Swedish (sv), Thai (th), Turkish (tr), Ukrainian (uk) and Vietnamese (vi). Additionally, the value can be set to �browser� to automatically detect the browser language being used by the viewer and display the disclosure in that language. (required)
43604360
* @return ConsumerDisclosure
43614361
*/
43624362
public ConsumerDisclosure getConsumerDisclosure(String accountId, String envelopeId, String recipientId, String langCode) throws ApiException {
@@ -4369,7 +4369,7 @@ public ConsumerDisclosure getConsumerDisclosure(String accountId, String envelop
43694369
* @param accountId The external account number (int) or account ID Guid. (required)
43704370
* @param envelopeId The envelopeId Guid of the envelope being accessed. (required)
43714371
* @param recipientId The ID of the recipient being accessed. (required)
4372-
* @param langCode The simple type enumeration the language used in the response. The supported languages, with the language value shown in parenthesis, are:Arabic (ar), Armenian (hy), Armenian (hy), Bulgarian (bg), Czech (cs), Chinese Simplified (zh_CN), Chinese Traditional (zh_TW), Croatian (hr), Danish (da), Dutch (nl), English US (en), English UK (en_GB), Estonian (et), Farsi (fa), Finnish (fi), French (fr), French Canada (fr_CA), German (de), Greek (el), Hebrew (he), Hindi (hi), Hungarian (hu), Bahasa Indonesia (id), Italian (it), Japanese (ja), Korean (ko), Latvian (lv), Lithuanian (lt), Bahasa Melayu (ms), Norwegian (no), Polish (pl), Portuguese (pt), Portuguese Brazil (pt_BR), Romanian (ro), Russian (ru), Serbian (sr), Slovak (sk), Slovenian (sl), Spanish (es),Spanish Latin America (es_MX), Swedish (sv), Thai (th), Turkish (tr), Ukrainian (uk) and Vietnamese (vi). Additionally, the value can be set to �browser� to automatically detect the browser language being used by the viewer and display the disclosure in that language. (required)
4372+
* @param langCode The simple type enumeration the language used in the response. The supported languages, with the language value shown in parenthesis, are:Arabic (ar), Armenian (hy), Bulgarian (bg), Czech (cs), Chinese Simplified (zh_CN), Chinese Traditional (zh_TW), Croatian (hr), Danish (da), Dutch (nl), English US (en), English UK (en_GB), Estonian (et), Farsi (fa), Finnish (fi), French (fr), French Canada (fr_CA), German (de), Greek (el), Hebrew (he), Hindi (hi), Hungarian (hu), Bahasa Indonesia (id), Italian (it), Japanese (ja), Korean (ko), Latvian (lv), Lithuanian (lt), Bahasa Melayu (ms), Norwegian (no), Polish (pl), Portuguese (pt), Portuguese Brazil (pt_BR), Romanian (ro), Russian (ru), Serbian (sr), Slovak (sk), Slovenian (sl), Spanish (es),Spanish Latin America (es_MX), Swedish (sv), Thai (th), Turkish (tr), Ukrainian (uk) and Vietnamese (vi). Additionally, the value can be set to �browser� to automatically detect the browser language being used by the viewer and display the disclosure in that language. (required)
43734373
* @param options for modifying the method behavior.
43744374
* @return ConsumerDisclosure
43754375
* @throws ApiException if fails to make API call
@@ -4385,7 +4385,7 @@ public ConsumerDisclosure getConsumerDisclosure(String accountId, String envelop
43854385
* @param accountId The external account number (int) or account ID Guid. (required)
43864386
* @param envelopeId The envelopeId Guid of the envelope being accessed. (required)
43874387
* @param recipientId The ID of the recipient being accessed. (required)
4388-
* @param langCode The simple type enumeration the language used in the response. The supported languages, with the language value shown in parenthesis, are:Arabic (ar), Armenian (hy), Armenian (hy), Bulgarian (bg), Czech (cs), Chinese Simplified (zh_CN), Chinese Traditional (zh_TW), Croatian (hr), Danish (da), Dutch (nl), English US (en), English UK (en_GB), Estonian (et), Farsi (fa), Finnish (fi), French (fr), French Canada (fr_CA), German (de), Greek (el), Hebrew (he), Hindi (hi), Hungarian (hu), Bahasa Indonesia (id), Italian (it), Japanese (ja), Korean (ko), Latvian (lv), Lithuanian (lt), Bahasa Melayu (ms), Norwegian (no), Polish (pl), Portuguese (pt), Portuguese Brazil (pt_BR), Romanian (ro), Russian (ru), Serbian (sr), Slovak (sk), Slovenian (sl), Spanish (es),Spanish Latin America (es_MX), Swedish (sv), Thai (th), Turkish (tr), Ukrainian (uk) and Vietnamese (vi). Additionally, the value can be set to �browser� to automatically detect the browser language being used by the viewer and display the disclosure in that language. (required)
4388+
* @param langCode The simple type enumeration the language used in the response. The supported languages, with the language value shown in parenthesis, are:Arabic (ar), Armenian (hy), Bulgarian (bg), Czech (cs), Chinese Simplified (zh_CN), Chinese Traditional (zh_TW), Croatian (hr), Danish (da), Dutch (nl), English US (en), English UK (en_GB), Estonian (et), Farsi (fa), Finnish (fi), French (fr), French Canada (fr_CA), German (de), Greek (el), Hebrew (he), Hindi (hi), Hungarian (hu), Bahasa Indonesia (id), Italian (it), Japanese (ja), Korean (ko), Latvian (lv), Lithuanian (lt), Bahasa Melayu (ms), Norwegian (no), Polish (pl), Portuguese (pt), Portuguese Brazil (pt_BR), Romanian (ro), Russian (ru), Serbian (sr), Slovak (sk), Slovenian (sl), Spanish (es),Spanish Latin America (es_MX), Swedish (sv), Thai (th), Turkish (tr), Ukrainian (uk) and Vietnamese (vi). Additionally, the value can be set to �browser� to automatically detect the browser language being used by the viewer and display the disclosure in that language. (required)
43894389
* @param options for modifying the method behavior.
43904390
* @return ConsumerDisclosure
43914391
* @throws ApiException if fails to make API call
@@ -7347,17 +7347,57 @@ public ApiResponse<WorkflowStep > getTemplateWorkflowStepDefinitionWithHttpInfo(
73477347
WorkflowStep localVarResponse = apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType);
73487348
return new ApiResponse<WorkflowStep>(apiClient.getStatusCode(), apiClient.getResponseHeaders(), localVarResponse);
73497349
}
7350+
/// <summary>
7351+
/// Gets the envelope audit events for an envelope. Gets the envelope audit events for the specified envelope.
7352+
/// </summary>
7353+
7354+
/**
7355+
* ListAuditEventsOptions Class.
7356+
*
7357+
**/
7358+
public class ListAuditEventsOptions
7359+
{
7360+
private String locale = null;
7361+
7362+
/**
7363+
* setLocale method.
7364+
*/
7365+
public void setLocale(String locale) {
7366+
this.locale = locale;
7367+
}
7368+
7369+
/**
7370+
* getLocale method.
7371+
*
7372+
* @return String
7373+
*/
7374+
public String getLocale() {
7375+
return this.locale;
7376+
}
7377+
}
7378+
7379+
/**
7380+
* Gets the envelope audit events for an envelope..
7381+
* Gets the envelope audit events for the specified envelope.
7382+
* @param accountId The external account number (int) or account ID Guid. (required)
7383+
* @param envelopeId The envelopeId Guid of the envelope being accessed. (required)
7384+
* @return EnvelopeAuditEventResponse
7385+
*/
7386+
public EnvelopeAuditEventResponse listAuditEvents(String accountId, String envelopeId) throws ApiException {
7387+
return listAuditEvents(accountId, envelopeId, null);
7388+
}
73507389

73517390
/**
73527391
* Gets the envelope audit events for an envelope..
73537392
* Gets the envelope audit events for the specified envelope.
73547393
* @param accountId The external account number (int) or account ID Guid. (required)
73557394
* @param envelopeId The envelopeId Guid of the envelope being accessed. (required)
7395+
* @param options for modifying the method behavior.
73567396
* @return EnvelopeAuditEventResponse
73577397
* @throws ApiException if fails to make API call
73587398
*/
7359-
public EnvelopeAuditEventResponse listAuditEvents(String accountId, String envelopeId) throws ApiException {
7360-
ApiResponse<EnvelopeAuditEventResponse> localVarResponse = listAuditEventsWithHttpInfo(accountId, envelopeId);
7399+
public EnvelopeAuditEventResponse listAuditEvents(String accountId, String envelopeId, EnvelopesApi.ListAuditEventsOptions options) throws ApiException {
7400+
ApiResponse<EnvelopeAuditEventResponse> localVarResponse = listAuditEventsWithHttpInfo(accountId, envelopeId, options);
73617401
return localVarResponse.getData();
73627402
}
73637403

@@ -7366,10 +7406,11 @@ public EnvelopeAuditEventResponse listAuditEvents(String accountId, String envel
73667406
* Gets the envelope audit events for the specified envelope.
73677407
* @param accountId The external account number (int) or account ID Guid. (required)
73687408
* @param envelopeId The envelopeId Guid of the envelope being accessed. (required)
7409+
* @param options for modifying the method behavior.
73697410
* @return EnvelopeAuditEventResponse
73707411
* @throws ApiException if fails to make API call
73717412
*/
7372-
public ApiResponse<EnvelopeAuditEventResponse > listAuditEventsWithHttpInfo(String accountId, String envelopeId) throws ApiException {
7413+
public ApiResponse<EnvelopeAuditEventResponse > listAuditEventsWithHttpInfo(String accountId, String envelopeId, EnvelopesApi.ListAuditEventsOptions options) throws ApiException {
73737414
Object localVarPostBody = "{}";
73747415

73757416
// verify the required parameter 'accountId' is set
@@ -7393,7 +7434,9 @@ public ApiResponse<EnvelopeAuditEventResponse > listAuditEventsWithHttpInfo(Stri
73937434
java.util.Map<String, String> localVarHeaderParams = new java.util.HashMap<String, String>();
73947435
java.util.Map<String, Object> localVarFormParams = new java.util.HashMap<String, Object>();
73957436

7396-
7437+
if (options != null) {
7438+
localVarQueryParams.addAll(apiClient.parameterToPair("locale", options.locale));
7439+
}
73977440

73987441

73997442

@@ -7570,6 +7613,7 @@ public ApiResponse<DocumentFieldsInformation > listDocumentFieldsWithHttpInfo(St
75707613
public class ListDocumentsOptions
75717614
{
75727615
private String documentsByUserid = null;
7616+
private String includeAgreementType = null;
75737617
private String includeDocgenFormfields = null;
75747618
private String includeDocumentSize = null;
75757619
private String includeMetadata = null;
@@ -7593,6 +7637,22 @@ public String getDocumentsByUserid() {
75937637
return this.documentsByUserid;
75947638
}
75957639

7640+
/**
7641+
* setIncludeAgreementType method.
7642+
*/
7643+
public void setIncludeAgreementType(String includeAgreementType) {
7644+
this.includeAgreementType = includeAgreementType;
7645+
}
7646+
7647+
/**
7648+
* getIncludeAgreementType method.
7649+
*
7650+
* @return String
7651+
*/
7652+
public String getIncludeAgreementType() {
7653+
return this.includeAgreementType;
7654+
}
7655+
75967656
/**
75977657
* setIncludeDocgenFormfields method.
75987658
*/
@@ -7750,6 +7810,8 @@ public ApiResponse<EnvelopeDocumentsResult > listDocumentsWithHttpInfo(String ac
77507810

77517811
if (options != null) {
77527812
localVarQueryParams.addAll(apiClient.parameterToPair("documents_by_userid", options.documentsByUserid));
7813+
}if (options != null) {
7814+
localVarQueryParams.addAll(apiClient.parameterToPair("include_agreement_type", options.includeAgreementType));
77537815
}if (options != null) {
77547816
localVarQueryParams.addAll(apiClient.parameterToPair("include_docgen_formfields", options.includeDocgenFormfields));
77557817
}if (options != null) {

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

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2970,8 +2970,25 @@ public ApiResponse<DocumentFieldsInformation > listDocumentFieldsWithHttpInfo(St
29702970
**/
29712971
public class ListDocumentsOptions
29722972
{
2973+
private String includeAgreementType = null;
29732974
private String includeTabs = null;
29742975

2976+
/**
2977+
* setIncludeAgreementType method.
2978+
*/
2979+
public void setIncludeAgreementType(String includeAgreementType) {
2980+
this.includeAgreementType = includeAgreementType;
2981+
}
2982+
2983+
/**
2984+
* getIncludeAgreementType method.
2985+
*
2986+
* @return String
2987+
*/
2988+
public String getIncludeAgreementType() {
2989+
return this.includeAgreementType;
2990+
}
2991+
29752992
/**
29762993
* setIncludeTabs method.
29772994
*/
@@ -3048,6 +3065,8 @@ public ApiResponse<TemplateDocumentsResult > listDocumentsWithHttpInfo(String ac
30483065
java.util.Map<String, Object> localVarFormParams = new java.util.HashMap<String, Object>();
30493066

30503067
if (options != null) {
3068+
localVarQueryParams.addAll(apiClient.parameterToPair("include_agreement_type", options.includeAgreementType));
3069+
}if (options != null) {
30513070
localVarQueryParams.addAll(apiClient.parameterToPair("include_tabs", options.includeTabs));
30523071
}
30533072

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

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

9595
// Set default User-Agent.
96-
setUserAgent("Swagger-Codegen/v2.1/6.1.0/Java/" + javaVersion);
96+
setUserAgent("Swagger-Codegen/v2.1/6.2.0/Java/" + javaVersion);
9797

9898
// Setup authentications (key: authentication name, value: authentication).
9999
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
@@ -101,6 +101,9 @@ public class AccountInformation implements Serializable {
101101
@JsonProperty("isDowngrade")
102102
private String isDowngrade = null;
103103

104+
@JsonProperty("isFreeToTrialEligible")
105+
private String isFreeToTrialEligible = null;
106+
104107
@JsonProperty("paymentMethod")
105108
private String paymentMethod = null;
106109

@@ -880,6 +883,33 @@ public void setIsDowngrade(String isDowngrade) {
880883
}
881884

882885

886+
/**
887+
* isFreeToTrialEligible.
888+
*
889+
* @return AccountInformation
890+
**/
891+
public AccountInformation isFreeToTrialEligible(String isFreeToTrialEligible) {
892+
this.isFreeToTrialEligible = isFreeToTrialEligible;
893+
return this;
894+
}
895+
896+
/**
897+
* .
898+
* @return isFreeToTrialEligible
899+
**/
900+
@Schema(description = "")
901+
public String getIsFreeToTrialEligible() {
902+
return isFreeToTrialEligible;
903+
}
904+
905+
/**
906+
* setIsFreeToTrialEligible.
907+
**/
908+
public void setIsFreeToTrialEligible(String isFreeToTrialEligible) {
909+
this.isFreeToTrialEligible = isFreeToTrialEligible;
910+
}
911+
912+
883913
/**
884914
* paymentMethod.
885915
*
@@ -1258,6 +1288,7 @@ public boolean equals(java.lang.Object o) {
12581288
Objects.equals(this.forgottenPasswordQuestionsCount, accountInformation.forgottenPasswordQuestionsCount) &&
12591289
Objects.equals(this.freeEnvelopeSendsRemainingForAdvancedDocGen, accountInformation.freeEnvelopeSendsRemainingForAdvancedDocGen) &&
12601290
Objects.equals(this.isDowngrade, accountInformation.isDowngrade) &&
1291+
Objects.equals(this.isFreeToTrialEligible, accountInformation.isFreeToTrialEligible) &&
12611292
Objects.equals(this.paymentMethod, accountInformation.paymentMethod) &&
12621293
Objects.equals(this.planClassification, accountInformation.planClassification) &&
12631294
Objects.equals(this.planEndDate, accountInformation.planEndDate) &&
@@ -1277,7 +1308,7 @@ public boolean equals(java.lang.Object o) {
12771308
*/
12781309
@Override
12791310
public int hashCode() {
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);
1311+
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, isFreeToTrialEligible, paymentMethod, planClassification, planEndDate, planName, planStartDate, recipientDomains, seatsAllowed, seatsInUse, status21CFRPart11, suspensionDate, suspensionStatus, useDisplayAppliance);
12811312
}
12821313

12831314

@@ -1316,6 +1347,7 @@ public String toString() {
13161347
sb.append(" forgottenPasswordQuestionsCount: ").append(toIndentedString(forgottenPasswordQuestionsCount)).append("\n");
13171348
sb.append(" freeEnvelopeSendsRemainingForAdvancedDocGen: ").append(toIndentedString(freeEnvelopeSendsRemainingForAdvancedDocGen)).append("\n");
13181349
sb.append(" isDowngrade: ").append(toIndentedString(isDowngrade)).append("\n");
1350+
sb.append(" isFreeToTrialEligible: ").append(toIndentedString(isFreeToTrialEligible)).append("\n");
13191351
sb.append(" paymentMethod: ").append(toIndentedString(paymentMethod)).append("\n");
13201352
sb.append(" planClassification: ").append(toIndentedString(planClassification)).append("\n");
13211353
sb.append(" planEndDate: ").append(toIndentedString(planEndDate)).append("\n");

0 commit comments

Comments
 (0)