Skip to content

Commit 8277f54

Browse files
Version 3.9.0-RC1 release (#165)
* Version 3.9.0-RC1-v2.1-20.3.00 release * retrigger TravisCI Co-authored-by: DevCenter-DocuSign <[email protected]>
1 parent 92aa735 commit 8277f54

27 files changed

+9024
-20
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+
## [v3.9.0-RC1] - eSignature API v2.1-20.3.00 - 2020-09-14
5+
### Changed
6+
- Added support for version v2.1-20.3.00 of the DocuSign eSignature API.
7+
- Updated the SDK release version.
8+
49
## [3.8.0] - Jersey2 with support of DELETE request body - 2020-08-21
510
### Changed
611
- Upgraded the HTTP client from Jersey1 to Jersey 2. This resulted in a non-breaking change but the dependency list has largely been changed. (DCM-3324)

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Note: DocuSign uses **Eclipse** with **Maven** for testing purposes.
3434
<dependency>
3535
<groupId>com.docusign</groupId>
3636
<artifactId>docusign-esign-java</artifactId>
37-
<version>3.8.0</version>
37+
<version>3.9.0-RC1</version>
3838
</dependency>
3939
```
4040

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apply plugin: 'idea'
22
apply plugin: 'eclipse'
33

44
group = 'com.docusign'
5-
version = '3.8.0'
5+
version = '3.9.0-RC1'
66

77
buildscript {
88
repositories {

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<artifactId>docusign-esign-java</artifactId>
55
<packaging>jar</packaging>
66
<name>docusign-esign-java</name>
7-
<version>3.8.0</version>
7+
<version>3.9.0-RC1</version>
88
<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>
99
<url>https://developers.docusign.com</url>
1010

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

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

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

Lines changed: 56 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2021,6 +2021,60 @@ public EmailSettings deleteEmailSettings(String accountId, String envelopeId) th
20212021
return apiClient.invokeAPI(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType);
20222022
}
20232023

2024+
/**
2025+
* Revokes the correction view URL to the Envelope UI
2026+
*
2027+
* @param accountId The external account number (int) or account ID Guid. (required)
2028+
* @param envelopeId The envelopeId Guid of the envelope being accessed. (required)
2029+
* @param correctViewRequest (optional)
2030+
* @throws ApiException if fails to make API call
2031+
*/
2032+
public void deleteEnvelopeCorrectView(String accountId, String envelopeId, CorrectViewRequest correctViewRequest) throws ApiException {
2033+
Object localVarPostBody = correctViewRequest;
2034+
2035+
// verify the required parameter 'accountId' is set
2036+
if (accountId == null) {
2037+
throw new ApiException(400, "Missing the required parameter 'accountId' when calling deleteEnvelopeCorrectView");
2038+
}
2039+
2040+
// verify the required parameter 'envelopeId' is set
2041+
if (envelopeId == null) {
2042+
throw new ApiException(400, "Missing the required parameter 'envelopeId' when calling deleteEnvelopeCorrectView");
2043+
}
2044+
2045+
// create path and map variables
2046+
String localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/views/correct"
2047+
.replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString()))
2048+
.replaceAll("\\{" + "envelopeId" + "\\}", apiClient.escapeString(envelopeId.toString()));
2049+
2050+
// query params
2051+
java.util.List<Pair> localVarQueryParams = new java.util.ArrayList<Pair>();
2052+
java.util.List<Pair> localVarCollectionQueryParams = new java.util.ArrayList<Pair>();
2053+
java.util.Map<String, String> localVarHeaderParams = new java.util.HashMap<String, String>();
2054+
java.util.Map<String, Object> localVarFormParams = new java.util.HashMap<String, Object>();
2055+
2056+
2057+
2058+
2059+
2060+
2061+
2062+
final String[] localVarAccepts = {
2063+
"application/json"
2064+
};
2065+
final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts);
2066+
2067+
final String[] localVarContentTypes = {
2068+
2069+
};
2070+
final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);
2071+
2072+
String[] localVarAuthNames = new String[] { "docusignAccessCode" };
2073+
2074+
2075+
apiClient.invokeAPI(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, null);
2076+
}
2077+
20242078
/**
20252079
* Delete envelope transfer rules for an account.
20262080
*
@@ -2786,7 +2840,7 @@ public String getLangCode2() {
27862840
* @param accountId The external account number (int) or account ID Guid. (required)
27872841
* @param envelopeId The envelopeId Guid of the envelope being accessed. (required)
27882842
* @param recipientId The ID of the recipient being accessed. (required)
2789-
* @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)
2843+
* @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)
27902844
* @return ConsumerDisclosure
27912845
*/
27922846
public ConsumerDisclosure getConsumerDisclosure(String accountId, String envelopeId, String recipientId, String langCode) throws ApiException {
@@ -2799,7 +2853,7 @@ public ConsumerDisclosure getConsumerDisclosure(String accountId, String envelop
27992853
* @param accountId The external account number (int) or account ID Guid. (required)
28002854
* @param envelopeId The envelopeId Guid of the envelope being accessed. (required)
28012855
* @param recipientId The ID of the recipient being accessed. (required)
2802-
* @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)
2856+
* @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)
28032857
* @param options for modifying the method behavior.
28042858
* @return ConsumerDisclosure
28052859
* @throws ApiException if fails to make API call

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ public ApiClient() {
8787
this.dateFormat = new RFC3339DateFormat();
8888

8989
// Set default User-Agent.
90-
setUserAgent("Swagger-Codegen/3.8.0/java");
90+
setUserAgent("Swagger-Codegen/3.9.0-RC1/java");
9191

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

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

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

0 commit comments

Comments
 (0)