Skip to content

Commit 6c4c8ac

Browse files
aditicodessroot
andauthored
Version 6.1.0-RC1-v2.1-25.1.00.02 release (#290)
Co-authored-by: root <[email protected]>
1 parent 62215e9 commit 6c4c8ac

File tree

91 files changed

+12496
-343
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

91 files changed

+12496
-343
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.1.0-RC1] - eSignature API v2.1-25.1.00.02 - 2025-04-04
5+
### Changed
6+
- Added support for version v2.1-25.1.00.02 of the DocuSign ESignature API.
7+
- Updated the SDK release version.
8+
49
## [v6.0.0] - eSignature API v2.1-24.2.00.00 - 2024-07-25
510
### Breaking Changes
611

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.0.0</version>
60+
<version>6.1.0-RC1</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.0.0</version>
8+
<version>6.1.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/AccountsApi.java

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

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

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ public class CallListOptions
6969
private String order = null;
7070
private String orderBy = null;
7171
private String searchText = null;
72+
private String skyDriveSkipToken = null;
7273
private String startPosition = null;
7374

7475
/**
@@ -167,6 +168,22 @@ public String getSearchText() {
167168
return this.searchText;
168169
}
169170

171+
/**
172+
* setSkyDriveSkipToken method.
173+
*/
174+
public void setSkyDriveSkipToken(String skyDriveSkipToken) {
175+
this.skyDriveSkipToken = skyDriveSkipToken;
176+
}
177+
178+
/**
179+
* getSkyDriveSkipToken method.
180+
*
181+
* @return String
182+
*/
183+
public String getSkyDriveSkipToken() {
184+
return this.skyDriveSkipToken;
185+
}
186+
170187
/**
171188
* setStartPosition method.
172189
*/
@@ -272,6 +289,8 @@ public ApiResponse<ExternalFolder > callListWithHttpInfo(String accountId, Strin
272289
localVarQueryParams.addAll(apiClient.parameterToPair("order_by", options.orderBy));
273290
}if (options != null) {
274291
localVarQueryParams.addAll(apiClient.parameterToPair("search_text", options.searchText));
292+
}if (options != null) {
293+
localVarQueryParams.addAll(apiClient.parameterToPair("sky_drive_skip_token", options.skyDriveSkipToken));
275294
}if (options != null) {
276295
localVarQueryParams.addAll(apiClient.parameterToPair("start_position", options.startPosition));
277296
}

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

Lines changed: 3 additions & 3 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), 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), 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), 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), 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), 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), 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

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

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -570,13 +570,31 @@ public ApiResponse<PowerFormSendersResponse > listPowerFormSendersWithHttpInfo(S
570570
**/
571571
public class ListPowerFormsOptions
572572
{
573+
private String count = null;
573574
private String fromDate = null;
574575
private String order = null;
575576
private String orderBy = null;
576577
private String searchFields = null;
577578
private String searchText = null;
579+
private String startPosition = null;
578580
private String toDate = null;
579581

582+
/**
583+
* setCount method.
584+
*/
585+
public void setCount(String count) {
586+
this.count = count;
587+
}
588+
589+
/**
590+
* getCount method.
591+
*
592+
* @return String
593+
*/
594+
public String getCount() {
595+
return this.count;
596+
}
597+
580598
/**
581599
* setFromDate method.
582600
*/
@@ -657,6 +675,22 @@ public String getSearchText() {
657675
return this.searchText;
658676
}
659677

678+
/**
679+
* setStartPosition method.
680+
*/
681+
public void setStartPosition(String startPosition) {
682+
this.startPosition = startPosition;
683+
}
684+
685+
/**
686+
* getStartPosition method.
687+
*
688+
* @return String
689+
*/
690+
public String getStartPosition() {
691+
return this.startPosition;
692+
}
693+
660694
/**
661695
* setToDate method.
662696
*/
@@ -724,6 +758,8 @@ public ApiResponse<PowerFormsResponse > listPowerFormsWithHttpInfo(String accoun
724758
java.util.Map<String, Object> localVarFormParams = new java.util.HashMap<String, Object>();
725759

726760
if (options != null) {
761+
localVarQueryParams.addAll(apiClient.parameterToPair("count", options.count));
762+
}if (options != null) {
727763
localVarQueryParams.addAll(apiClient.parameterToPair("from_date", options.fromDate));
728764
}if (options != null) {
729765
localVarQueryParams.addAll(apiClient.parameterToPair("order", options.order));
@@ -733,6 +769,8 @@ public ApiResponse<PowerFormsResponse > listPowerFormsWithHttpInfo(String accoun
733769
localVarQueryParams.addAll(apiClient.parameterToPair("search_fields", options.searchFields));
734770
}if (options != null) {
735771
localVarQueryParams.addAll(apiClient.parameterToPair("search_text", options.searchText));
772+
}if (options != null) {
773+
localVarQueryParams.addAll(apiClient.parameterToPair("start_position", options.startPosition));
736774
}if (options != null) {
737775
localVarQueryParams.addAll(apiClient.parameterToPair("to_date", options.toDate));
738776
}

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

Lines changed: 124 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4860,4 +4860,128 @@ public ApiResponse<Tabs > updateTemplateDocumentTabsWithHttpInfo(String accountI
48604860
Tabs localVarResponse = apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType);
48614861
return new ApiResponse<Tabs>(apiClient.getStatusCode(), apiClient.getResponseHeaders(), localVarResponse);
48624862
}
4863+
4864+
/**
4865+
* Update template autoMatch setting..
4866+
*
4867+
* @param accountId The external account number (int) or account ID Guid. (required)
4868+
* @param templateAutoMatchList (optional)
4869+
* @return TemplateAutoMatchList
4870+
* @throws ApiException if fails to make API call
4871+
*/
4872+
public TemplateAutoMatchList updateTemplates(String accountId, TemplateAutoMatchList templateAutoMatchList) throws ApiException {
4873+
ApiResponse<TemplateAutoMatchList> localVarResponse = updateTemplatesWithHttpInfo(accountId, templateAutoMatchList);
4874+
return localVarResponse.getData();
4875+
}
4876+
4877+
/**
4878+
* Update template autoMatch setting.
4879+
*
4880+
* @param accountId The external account number (int) or account ID Guid. (required)
4881+
* @param templateAutoMatchList (optional)
4882+
* @return TemplateAutoMatchList
4883+
* @throws ApiException if fails to make API call
4884+
*/
4885+
public ApiResponse<TemplateAutoMatchList > updateTemplatesWithHttpInfo(String accountId, TemplateAutoMatchList templateAutoMatchList) throws ApiException {
4886+
Object localVarPostBody = templateAutoMatchList;
4887+
4888+
// verify the required parameter 'accountId' is set
4889+
if (accountId == null) {
4890+
throw new ApiException(400, "Missing the required parameter 'accountId' when calling updateTemplates");
4891+
}
4892+
4893+
// create path and map variables
4894+
String localVarPath = "/v2.1/accounts/{accountId}/templates"
4895+
.replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString()));
4896+
4897+
// query params
4898+
java.util.List<Pair> localVarQueryParams = new java.util.ArrayList<Pair>();
4899+
java.util.List<Pair> localVarCollectionQueryParams = new java.util.ArrayList<Pair>();
4900+
java.util.Map<String, String> localVarHeaderParams = new java.util.HashMap<String, String>();
4901+
java.util.Map<String, Object> localVarFormParams = new java.util.HashMap<String, Object>();
4902+
4903+
4904+
4905+
4906+
4907+
4908+
4909+
final String[] localVarAccepts = {
4910+
"application/json"
4911+
};
4912+
final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts);
4913+
4914+
final String[] localVarContentTypes = {
4915+
4916+
};
4917+
final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);
4918+
4919+
String[] localVarAuthNames = new String[] { "docusignAccessCode" };
4920+
4921+
GenericType<TemplateAutoMatchList> localVarReturnType = new GenericType<TemplateAutoMatchList>() {};
4922+
TemplateAutoMatchList localVarResponse = apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType);
4923+
return new ApiResponse<TemplateAutoMatchList>(apiClient.getStatusCode(), apiClient.getResponseHeaders(), localVarResponse);
4924+
}
4925+
4926+
/**
4927+
* Update template autoMatch setting..
4928+
*
4929+
* @param accountId The external account number (int) or account ID Guid. (required)
4930+
* @param templateAutoMatchList (optional)
4931+
* @return TemplateAutoMatchList
4932+
* @throws ApiException if fails to make API call
4933+
*/
4934+
public TemplateAutoMatchList updateTemplatesAutoMatch(String accountId, TemplateAutoMatchList templateAutoMatchList) throws ApiException {
4935+
ApiResponse<TemplateAutoMatchList> localVarResponse = updateTemplatesAutoMatchWithHttpInfo(accountId, templateAutoMatchList);
4936+
return localVarResponse.getData();
4937+
}
4938+
4939+
/**
4940+
* Update template autoMatch setting.
4941+
*
4942+
* @param accountId The external account number (int) or account ID Guid. (required)
4943+
* @param templateAutoMatchList (optional)
4944+
* @return TemplateAutoMatchList
4945+
* @throws ApiException if fails to make API call
4946+
*/
4947+
public ApiResponse<TemplateAutoMatchList > updateTemplatesAutoMatchWithHttpInfo(String accountId, TemplateAutoMatchList templateAutoMatchList) throws ApiException {
4948+
Object localVarPostBody = templateAutoMatchList;
4949+
4950+
// verify the required parameter 'accountId' is set
4951+
if (accountId == null) {
4952+
throw new ApiException(400, "Missing the required parameter 'accountId' when calling updateTemplatesAutoMatch");
4953+
}
4954+
4955+
// create path and map variables
4956+
String localVarPath = "/v2.1/accounts/{accountId}/templates/auto_match"
4957+
.replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString()));
4958+
4959+
// query params
4960+
java.util.List<Pair> localVarQueryParams = new java.util.ArrayList<Pair>();
4961+
java.util.List<Pair> localVarCollectionQueryParams = new java.util.ArrayList<Pair>();
4962+
java.util.Map<String, String> localVarHeaderParams = new java.util.HashMap<String, String>();
4963+
java.util.Map<String, Object> localVarFormParams = new java.util.HashMap<String, Object>();
4964+
4965+
4966+
4967+
4968+
4969+
4970+
4971+
final String[] localVarAccepts = {
4972+
"application/json"
4973+
};
4974+
final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts);
4975+
4976+
final String[] localVarContentTypes = {
4977+
4978+
};
4979+
final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);
4980+
4981+
String[] localVarAuthNames = new String[] { "docusignAccessCode" };
4982+
4983+
GenericType<TemplateAutoMatchList> localVarReturnType = new GenericType<TemplateAutoMatchList>() {};
4984+
TemplateAutoMatchList localVarResponse = apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType);
4985+
return new ApiResponse<TemplateAutoMatchList>(apiClient.getStatusCode(), apiClient.getResponseHeaders(), localVarResponse);
4986+
}
48634987
}

0 commit comments

Comments
 (0)