Skip to content

Commit 9b73c86

Browse files
eleanorharrisroot
andauthored
Version 4.5.0-v2.1-23.3.01.02 release (#270)
Co-authored-by: root <[email protected]>
1 parent 527ae6b commit 9b73c86

15 files changed

+637
-29
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+
## [v4.5.0] - eSignature API v2.1-23.3.01.02 - 2023-10-25
5+
### Changed
6+
- Added support for version v2.1-23.3.01.02 of the DocuSign ESignature API.
7+
- Updated the SDK release version.
8+
49
## [v4.4.0] - eSignature API v2.1-23.3.00.01 - 2023-08-30
510
### Changed
611
- Added support for version v2.1-23.3.00.01 of the DocuSign ESignature API.

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
<artifactId>docusign-esign-java</artifactId>
66
<packaging>jar</packaging>
77
<name>docusign-esign-java</name>
8-
<version>4.4.0</version>
8+
<version>4.5.0</version>
99
<url>https://developers.docusign.com</url>
10-
<description>The official DocuSign eSignature JAVA client is based on version 2 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>
10+
<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

1212
<prerequisites>
1313
<maven>2.2.0</maven>

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/EnvelopesApi.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4320,7 +4320,7 @@ public String getLangCode2() {
43204320
* @param accountId The external account number (int) or account ID Guid. (required)
43214321
* @param envelopeId The envelopeId Guid of the envelope being accessed. (required)
43224322
* @param recipientId The ID of the recipient being accessed. (required)
4323-
* @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)
4323+
* @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)
43244324
* @return ConsumerDisclosure
43254325
*/
43264326
public ConsumerDisclosure getConsumerDisclosure(String accountId, String envelopeId, String recipientId, String langCode) throws ApiException {
@@ -4333,7 +4333,7 @@ public ConsumerDisclosure getConsumerDisclosure(String accountId, String envelop
43334333
* @param accountId The external account number (int) or account ID Guid. (required)
43344334
* @param envelopeId The envelopeId Guid of the envelope being accessed. (required)
43354335
* @param recipientId The ID of the recipient being accessed. (required)
4336-
* @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)
4336+
* @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)
43374337
* @param options for modifying the method behavior.
43384338
* @return ConsumerDisclosure
43394339
* @throws ApiException if fails to make API call
@@ -4349,7 +4349,7 @@ public ConsumerDisclosure getConsumerDisclosure(String accountId, String envelop
43494349
* @param accountId The external account number (int) or account ID Guid. (required)
43504350
* @param envelopeId The envelopeId Guid of the envelope being accessed. (required)
43514351
* @param recipientId The ID of the recipient being accessed. (required)
4352-
* @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)
4352+
* @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)
43534353
* @param options for modifying the method behavior.
43544354
* @return ConsumerDisclosure
43554355
* @throws ApiException if fails to make API call

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

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2505,10 +2505,11 @@ public String getTransparentPng() {
25052505
* @param userId The user ID of the user being accessed. Generally this is the user ID of the authenticated user, but if the authenticated user is an Admin on the account, this may be another user the Admin user is accessing. (required)
25062506
* @param signatureId The ID of the signature being accessed. (required)
25072507
* @param imageType One of **signature_image** or **initials_image**. (required)
2508+
* @param imageBytes Image content. (required)
25082509
* @return UserSignature
25092510
*/
2510-
public UserSignature updateSignatureImage(String accountId, String userId, String signatureId, String imageType) throws ApiException {
2511-
return updateSignatureImage(accountId, userId, signatureId, imageType, null);
2511+
public UserSignature updateSignatureImage(String accountId, String userId, String signatureId, String imageType, byte[] imageBytes) throws ApiException {
2512+
return updateSignatureImage(accountId, userId, signatureId, imageType, imageBytes, null);
25122513
}
25132514

25142515
/**
@@ -2518,12 +2519,13 @@ public UserSignature updateSignatureImage(String accountId, String userId, Strin
25182519
* @param userId The user ID of the user being accessed. Generally this is the user ID of the authenticated user, but if the authenticated user is an Admin on the account, this may be another user the Admin user is accessing. (required)
25192520
* @param signatureId The ID of the signature being accessed. (required)
25202521
* @param imageType One of **signature_image** or **initials_image**. (required)
2522+
* @param imageBytes Image content. (required)
25212523
* @param options for modifying the method behavior.
25222524
* @return UserSignature
25232525
* @throws ApiException if fails to make API call
25242526
*/
2525-
public UserSignature updateSignatureImage(String accountId, String userId, String signatureId, String imageType, UsersApi.UpdateSignatureImageOptions options) throws ApiException {
2526-
ApiResponse<UserSignature> localVarResponse = updateSignatureImageWithHttpInfo(accountId, userId, signatureId, imageType, options);
2527+
public UserSignature updateSignatureImage(String accountId, String userId, String signatureId, String imageType, byte[] imageBytes, UsersApi.UpdateSignatureImageOptions options) throws ApiException {
2528+
ApiResponse<UserSignature> localVarResponse = updateSignatureImageWithHttpInfo(accountId, userId, signatureId, imageType, imageBytes, options);
25272529
return localVarResponse.getData();
25282530
}
25292531

@@ -2534,12 +2536,13 @@ public UserSignature updateSignatureImage(String accountId, String userId, Strin
25342536
* @param userId The user ID of the user being accessed. Generally this is the user ID of the authenticated user, but if the authenticated user is an Admin on the account, this may be another user the Admin user is accessing. (required)
25352537
* @param signatureId The ID of the signature being accessed. (required)
25362538
* @param imageType One of **signature_image** or **initials_image**. (required)
2539+
* @param imageBytes Image content. (required)
25372540
* @param options for modifying the method behavior.
25382541
* @return UserSignature
25392542
* @throws ApiException if fails to make API call
25402543
*/
2541-
public ApiResponse<UserSignature > updateSignatureImageWithHttpInfo(String accountId, String userId, String signatureId, String imageType, UsersApi.UpdateSignatureImageOptions options) throws ApiException {
2542-
Object localVarPostBody = "{}";
2544+
public ApiResponse<UserSignature > updateSignatureImageWithHttpInfo(String accountId, String userId, String signatureId, String imageType, byte[] imageBytes, UsersApi.UpdateSignatureImageOptions options) throws ApiException {
2545+
Object localVarPostBody = imageBytes;
25432546

25442547
// verify the required parameter 'accountId' is set
25452548
if (accountId == null) {
@@ -2561,6 +2564,11 @@ public ApiResponse<UserSignature > updateSignatureImageWithHttpInfo(String accou
25612564
throw new ApiException(400, "Missing the required parameter 'imageType' when calling updateSignatureImage");
25622565
}
25632566

2567+
// verify the required parameter 'imageBytes' is set
2568+
if (imageBytes == null) {
2569+
throw new ApiException(400, "Missing the required parameter 'imageBytes' when calling updateSignatureImage");
2570+
}
2571+
25642572
// create path and map variables
25652573
String localVarPath = "/v2.1/accounts/{accountId}/users/{userId}/signatures/{signatureId}/{imageType}"
25662574
.replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString()))

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("/SDK/4.4.0/Java/");
99+
setUserAgent("/SDK/4.5.0/Java/");
100100

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

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

Lines changed: 97 additions & 1 deletion
Large diffs are not rendered by default.

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,10 +102,10 @@ public DelayedRouting status(String status) {
102102
}
103103

104104
/**
105-
* Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later..
105+
* \\\"pending\\\" if the current workflow step has not been reached and the delay has not yet started. \\\"started\\\" if the delay is in progress. \\\"completed\\\" if the delay has elapsed and the envelope has been sent to the current workflow step's recipients..
106106
* @return status
107107
**/
108-
@Schema(description = "Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.")
108+
@Schema(description = "\\\"pending\\\" if the current workflow step has not been reached and the delay has not yet started. \\\"started\\\" if the delay is in progress. \\\"completed\\\" if the delay has elapsed and the envelope has been sent to the current workflow step's recipients.")
109109
public String getStatus() {
110110
return status;
111111
}

0 commit comments

Comments
 (0)