Skip to content

Commit d2049d4

Browse files
Version 2.19.0-RC2-v2-20.4.01 release (#179)
Co-authored-by: DevCenter-DocuSign <[email protected]>
1 parent 8818546 commit d2049d4

21 files changed

+472
-128
lines changed

CHANGELOG.md

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

4-
## [v2.19.0-RC1] - eSignature API v2-20.4.00.01 - 2020-12-28
4+
## [v2.19.0-RC2] - eSignature API v2-20.4.01 - 2020-01-20
55
### Changed
6-
- Added support for version v2-20.4.00.01 of the DocuSign eSignature API.
6+
- Added support for version v2-20.4.01 of the DocuSign eSignature API.
77
- Updated the SDK release version.
88
### Fixed
9-
- Expected field name in BrandsResponse model is `brandOptions` instead of `brands`. Setter and Getter methods were also updated. (DCM-4463)
9+
- Expected field name for **Group level** brands resource model is `brandOptions` (as opposed to `brands`). The model name has been renamed to `GroupBrands` (instead of `BrandsResponse`). Setter and Getter methods were also updated. (DCM-4463)
1010

1111
## [v2.18.0] - eSignature API v2-20.3.00 - 2020-09-24
1212
### Changed

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>2.19.0-RC1</version>
37+
<version>2.19.0-RC2</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 = '2.19.0-RC1'
5+
version = '2.19.0-RC2'
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>2.19.0-RC1</version>
7+
<version>2.19.0-RC2</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: 3 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -1507,7 +1507,7 @@ public void getBrandResourcesByContentType(String accountId, String brandId, Str
15071507
* Gets the Electronic Record and Signature Disclosure.
15081508
* Retrieves the Electronic Record and Signature Disclosure, with HTML formatting, for the requested envelope recipient. This might be different than the current account disclosure depending on account settings, such as branding, and when the account disclosure was last updated. An optional query string can be included to return the language for the disclosure.
15091509
* @param accountId The external account number (int) or account ID Guid. (required)
1510-
* @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)
1510+
* @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)
15111511
* @return ConsumerDisclosure
15121512
* @throws ApiException if fails to make API call
15131513
*/
@@ -1893,53 +1893,6 @@ public ProvisioningInformation getProvisioning() throws ApiException {
18931893
return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType);
18941894
}
18951895

1896-
/**
1897-
* Returns Account available seals for specified account.
1898-
*
1899-
* @param accountId The external account number (int) or account ID Guid. (required)
1900-
* @return AccountSeals
1901-
* @throws ApiException if fails to make API call
1902-
*/
1903-
public AccountSeals getSealProviders(String accountId) throws ApiException {
1904-
Object localVarPostBody = "{}";
1905-
1906-
// verify the required parameter 'accountId' is set
1907-
if (accountId == null) {
1908-
throw new ApiException(400, "Missing the required parameter 'accountId' when calling getSealProviders");
1909-
}
1910-
1911-
// create path and map variables
1912-
String localVarPath = "/v2/accounts/{accountId}/seals"
1913-
.replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString()));
1914-
1915-
// query params
1916-
java.util.List<Pair> localVarQueryParams = new java.util.ArrayList<Pair>();
1917-
java.util.List<Pair> localVarCollectionQueryParams = new java.util.ArrayList<Pair>();
1918-
java.util.Map<String, String> localVarHeaderParams = new java.util.HashMap<String, String>();
1919-
java.util.Map<String, Object> localVarFormParams = new java.util.HashMap<String, Object>();
1920-
1921-
1922-
1923-
1924-
1925-
1926-
1927-
final String[] localVarAccepts = {
1928-
"application/json"
1929-
};
1930-
final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts);
1931-
1932-
final String[] localVarContentTypes = {
1933-
1934-
};
1935-
final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);
1936-
1937-
String[] localVarAuthNames = new String[] { "docusignAccessCode" };
1938-
1939-
GenericType<AccountSeals> localVarReturnType = new GenericType<AccountSeals>() {};
1940-
return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType);
1941-
}
1942-
19431896
/**
19441897
* Gets list of supported languages for recipient language setting.
19451898
*
@@ -2941,7 +2894,7 @@ public String getIncludeMetadata() {
29412894
* Update Consumer Disclosure.
29422895
*
29432896
* @param accountId The external account number (int) or account ID Guid. (required)
2944-
* @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)
2897+
* @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)
29452898
* @param consumerDisclosure (optional)
29462899
* @return ConsumerDisclosure
29472900
*/
@@ -2953,7 +2906,7 @@ public ConsumerDisclosure updateConsumerDisclosure(String accountId, String lang
29532906
* Update Consumer Disclosure.
29542907
*
29552908
* @param accountId The external account number (int) or account ID Guid. (required)
2956-
* @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)
2909+
* @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)
29572910
* @param consumerDisclosure (optional)
29582911
* @param options for modifying the method behavior.
29592912
* @return ConsumerDisclosure

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ public CreditCardInformation getCreditCardInfo(String accountId) throws ApiExcep
127127

128128
/**
129129
* Retrieves a billing invoice.
130-
* Retrieves the specified invoice. ###### Note: If the &#x60;pdfAvailable&#x60; property in the response is set to *true*, you can download a PDF version of the invoice. To download the PDF, make the call again and change the value of the &#x60;Accept&#x60; property in the header to &#x60;Accept: application/pdf&#x60;. Privileges required: account administrator The response returns a list of charges and information about the charges. Quantities are usually shown as &#39;unlimited&#39; or an integer. Amounts are shown in the currency set for the account. **Response** The following table provides a description of the different &#x60;chargeName&#x60; property values. The information will grow as more chargeable items are added to the system. | chargeName | Description | | --- | --- | | id_check | ID Check Charge | | in_person_signing | In Person Signing charge | | envelopes Included | Sent Envelopes for the account | | age_verify | Age verification check | | ofac | OFAC Check | | id_confirm | ID confirmation check | | student_authentication | STAN PIN authentication check | | wet_sign_fax | Pages for returning signed documents by fax | | attachment_fax | Pages for returning attachments by fax | | phone_authentication | Phone authentication charge | | powerforms | PowerForm envelopes sent | | signer_payments | Payment processing charge | | outbound_fax | Send by fax charge | | bulk_recipient_envelopes | Bulk Recipient Envelopes sent | | sms_authentications | SMS authentication charge | | saml_authentications | SAML authentication charge | | express_signer_certificate | DocuSign Express Certificate charge | | personal_signer_certificate | Personal Signer Certificate charge | | safe_certificate | SAFE BioPharma Signer Certificate charge | | seats | Included active seats charge | | open_trust_certificate | OpenTrust Signer Certificate charge |
130+
* Retrieves the specified invoice. ###### Note: If the &#x60;pdfAvailable&#x60; property in the response is set to *true*, you can download a PDF version of the invoice. To download the PDF, make the call again and change the value of the &#x60;Accept&#x60; property in the header to &#x60;Accept: application/pdf&#x60;. Privileges required: account administrator The response returns a list of charges and information about the charges. Quantities are usually shown as &#39;unlimited&#39; or an integer. Amounts are shown in the currency set for the account. **Response** The following table provides a description of the different &#x60;chargeName&#x60; property values. The information will grow as more chargeable items are added to the system. | chargeName | Description | | --- | --- | | id_check | IDÂ Check Charge | | in_person_signing | In Person Signing charge | | envelopes Included | Sent Envelopes for the account | | age_verify | Age verification check | | ofac | OFAC Check | | id_confirm | ID confirmation check | | student_authentication | STAN PIN authentication check | | wet_sign_fax | Pages for returning signed documents by fax | | attachment_fax | Pages for returning attachments by fax | | phone_authentication | Phone authentication charge | | powerforms | PowerForm envelopes sent | | signer_payments | Payment processing charge | | outbound_fax | Send by fax charge | | bulk_recipient_envelopes | Bulk Recipient Envelopes sent | | sms_authentications | SMS authentication charge | | saml_authentications | SAML authentication charge | | express_signer_certificate | DocuSign Express Certificate charge | | personal_signer_certificate | Personal Signer Certificate charge | | safe_certificate | SAFE BioPharma Signer Certificate charge | | seats | Included active seats charge | | open_trust_certificate | OpenTrust Signer Certificate charge |
131131
* @param accountId The external account number (int) or account ID Guid. (required)
132132
* @param invoiceId (required)
133133
* @return BillingInvoice

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

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

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

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -85,10 +85,10 @@ public GroupInformation createGroups(String accountId, GroupInformation groupInf
8585
* @param accountId The external account number (int) or account ID Guid. (required)
8686
* @param groupId The ID of the group being accessed. (required)
8787
* @param brandsRequest (optional)
88-
* @return BrandsResponse
88+
* @return GroupBrands
8989
* @throws ApiException if fails to make API call
9090
*/
91-
public BrandsResponse deleteBrands(String accountId, String groupId, BrandsRequest brandsRequest) throws ApiException {
91+
public GroupBrands deleteBrands(String accountId, String groupId, BrandsRequest brandsRequest) throws ApiException {
9292
Object localVarPostBody = brandsRequest;
9393

9494
// verify the required parameter 'accountId' is set
@@ -130,7 +130,7 @@ public BrandsResponse deleteBrands(String accountId, String groupId, BrandsReque
130130

131131
String[] localVarAuthNames = new String[] { "docusignAccessCode" };
132132

133-
GenericType<BrandsResponse> localVarReturnType = new GenericType<BrandsResponse>() {};
133+
GenericType<GroupBrands> localVarReturnType = new GenericType<GroupBrands>() {};
134134
return apiClient.invokeAPI(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType);
135135
}
136136

@@ -242,10 +242,10 @@ public GroupInformation deleteGroups(String accountId, GroupInformation groupInf
242242
* Retrieves information about the brands associated with the requested group.
243243
* @param accountId The external account number (int) or account ID Guid. (required)
244244
* @param groupId The ID of the group being accessed. (required)
245-
* @return BrandsResponse
245+
* @return GroupBrands
246246
* @throws ApiException if fails to make API call
247247
*/
248-
public BrandsResponse getBrands(String accountId, String groupId) throws ApiException {
248+
public GroupBrands getBrands(String accountId, String groupId) throws ApiException {
249249
Object localVarPostBody = "{}";
250250

251251
// verify the required parameter 'accountId' is set
@@ -287,7 +287,7 @@ public BrandsResponse getBrands(String accountId, String groupId) throws ApiExce
287287

288288
String[] localVarAuthNames = new String[] { "docusignAccessCode" };
289289

290-
GenericType<BrandsResponse> localVarReturnType = new GenericType<BrandsResponse>() {};
290+
GenericType<GroupBrands> localVarReturnType = new GenericType<GroupBrands>() {};
291291
return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType);
292292
}
293293
/// <summary>
@@ -511,10 +511,10 @@ public GroupInformation listGroups(String accountId, GroupsApi.ListGroupsOptions
511511
* @param accountId The external account number (int) or account ID Guid. (required)
512512
* @param groupId The ID of the group being accessed. (required)
513513
* @param brandsRequest (optional)
514-
* @return BrandsResponse
514+
* @return GroupBrands
515515
* @throws ApiException if fails to make API call
516516
*/
517-
public BrandsResponse updateBrands(String accountId, String groupId, BrandsRequest brandsRequest) throws ApiException {
517+
public GroupBrands updateBrands(String accountId, String groupId, BrandsRequest brandsRequest) throws ApiException {
518518
Object localVarPostBody = brandsRequest;
519519

520520
// verify the required parameter 'accountId' is set
@@ -556,7 +556,7 @@ public BrandsResponse updateBrands(String accountId, String groupId, BrandsReque
556556

557557
String[] localVarAuthNames = new String[] { "docusignAccessCode" };
558558

559-
GenericType<BrandsResponse> localVarReturnType = new GenericType<BrandsResponse>() {};
559+
GenericType<GroupBrands> localVarReturnType = new GenericType<GroupBrands>() {};
560560
return apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType);
561561
}
562562

0 commit comments

Comments
 (0)