Skip to content

Commit 5f28cc4

Browse files
Version 3.11.0-RC1-v2.1-20.4.00.01 release (#175)
Co-authored-by: DevCenter-DocuSign <[email protected]>
1 parent 578e8ee commit 5f28cc4

Some content is hidden

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

52 files changed

+3150
-883
lines changed

CHANGELOG.md

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

4+
## [v3.10.1] - eSignature API v2.1-20.4.00.01 - 2020-12-28
5+
### Changed
6+
- Added support for version v2.1-20.4.00.01 of the DocuSign eSignature API.
7+
- Updated the SDK release version.
8+
### Fixed
9+
- Expected field name in BrandsResponse model is `brandOptions` instead of `brands`. Setter and Getter methods were also updated. (DCM-4463)
10+
411
## [v3.10.1] - eSignature API v2.1-20.3.01 - 2020-10-29
512
### Changed
613
- Added support for version v2.1-20.3.01 of the DocuSign eSignature API.

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.10.1</version>
37+
<version>3.11.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.10.1'
5+
version = '3.11.0-RC1'
66

77
buildscript {
88
repositories {

pom.xml

Lines changed: 2 additions & 2 deletions
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.10.1</version>
7+
<version>3.11.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

@@ -289,7 +289,7 @@
289289
<jersey-version>2.29.1</jersey-version>
290290
<jackson-version>2.10.1</jackson-version>
291291
<maven-plugin-version>1.0.0</maven-plugin-version>
292-
<junit-version>4.13.1</junit-version>
292+
<junit-version>4.12</junit-version>
293293
<oltu-version>1.0.2</oltu-version>
294294
</properties>
295295
</project>

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

Lines changed: 103 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1203,6 +1203,59 @@ public AccountInformation getAccountInformation(String accountId, AccountsApi.Ge
12031203
return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType);
12041204
}
12051205

1206+
/**
1207+
* Retrieves an account settings comparison.
1208+
*
1209+
* @param organizationId (required)
1210+
* @param resultId (required)
1211+
* @throws ApiException if fails to make API call
1212+
*/
1213+
public void getAccountSettingsExport(String organizationId, String resultId) throws ApiException {
1214+
Object localVarPostBody = "{}";
1215+
1216+
// verify the required parameter 'organizationId' is set
1217+
if (organizationId == null) {
1218+
throw new ApiException(400, "Missing the required parameter 'organizationId' when calling getAccountSettingsExport");
1219+
}
1220+
1221+
// verify the required parameter 'resultId' is set
1222+
if (resultId == null) {
1223+
throw new ApiException(400, "Missing the required parameter 'resultId' when calling getAccountSettingsExport");
1224+
}
1225+
1226+
// create path and map variables
1227+
String localVarPath = "/v2.1/organization_exports/{organizationId}/account_settings/{resultId}"
1228+
.replaceAll("\\{" + "organizationId" + "\\}", apiClient.escapeString(organizationId.toString()))
1229+
.replaceAll("\\{" + "resultId" + "\\}", apiClient.escapeString(resultId.toString()));
1230+
1231+
// query params
1232+
java.util.List<Pair> localVarQueryParams = new java.util.ArrayList<Pair>();
1233+
java.util.List<Pair> localVarCollectionQueryParams = new java.util.ArrayList<Pair>();
1234+
java.util.Map<String, String> localVarHeaderParams = new java.util.HashMap<String, String>();
1235+
java.util.Map<String, Object> localVarFormParams = new java.util.HashMap<String, Object>();
1236+
1237+
1238+
1239+
1240+
1241+
1242+
1243+
final String[] localVarAccepts = {
1244+
"application/json"
1245+
};
1246+
final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts);
1247+
1248+
final String[] localVarContentTypes = {
1249+
1250+
};
1251+
final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);
1252+
1253+
String[] localVarAuthNames = new String[] { "docusignAccessCode" };
1254+
1255+
1256+
apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, null);
1257+
}
1258+
12061259
/**
12071260
* Returns information about a single signature by specifed signatureId.
12081261
*
@@ -1999,7 +2052,7 @@ public void getBrandResourcesByContentType(String accountId, String brandId, Str
19992052
* Gets the Electronic Record and Signature Disclosure.
20002053
* 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.
20012054
* @param accountId The external account number (int) or account ID Guid. (required)
2002-
* @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)
2055+
* @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)
20032056
* @return ConsumerDisclosure
20042057
* @throws ApiException if fails to make API call
20052058
*/
@@ -2627,6 +2680,53 @@ public ReportInProductList getReportInProductList(String accountId) throws ApiEx
26272680
return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType);
26282681
}
26292682

2683+
/**
2684+
* Returns Account available seals for specified account.
2685+
*
2686+
* @param accountId The external account number (int) or account ID Guid. (required)
2687+
* @return AccountSeals
2688+
* @throws ApiException if fails to make API call
2689+
*/
2690+
public AccountSeals getSealProviders(String accountId) throws ApiException {
2691+
Object localVarPostBody = "{}";
2692+
2693+
// verify the required parameter 'accountId' is set
2694+
if (accountId == null) {
2695+
throw new ApiException(400, "Missing the required parameter 'accountId' when calling getSealProviders");
2696+
}
2697+
2698+
// create path and map variables
2699+
String localVarPath = "/v2.1/accounts/{accountId}/seals"
2700+
.replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString()));
2701+
2702+
// query params
2703+
java.util.List<Pair> localVarQueryParams = new java.util.ArrayList<Pair>();
2704+
java.util.List<Pair> localVarCollectionQueryParams = new java.util.ArrayList<Pair>();
2705+
java.util.Map<String, String> localVarHeaderParams = new java.util.HashMap<String, String>();
2706+
java.util.Map<String, Object> localVarFormParams = new java.util.HashMap<String, Object>();
2707+
2708+
2709+
2710+
2711+
2712+
2713+
2714+
final String[] localVarAccepts = {
2715+
"application/json"
2716+
};
2717+
final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts);
2718+
2719+
final String[] localVarContentTypes = {
2720+
2721+
};
2722+
final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);
2723+
2724+
String[] localVarAuthNames = new String[] { "docusignAccessCode" };
2725+
2726+
GenericType<AccountSeals> localVarReturnType = new GenericType<AccountSeals>() {};
2727+
return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType);
2728+
}
2729+
26302730
/**
26312731
* Gets list of supported languages for recipient language setting.
26322732
*
@@ -3904,7 +4004,7 @@ public String getIncludeMetadata() {
39044004
* Update Consumer Disclosure.
39054005
*
39064006
* @param accountId The external account number (int) or account ID Guid. (required)
3907-
* @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)
4007+
* @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)
39084008
* @param consumerDisclosure (optional)
39094009
* @return ConsumerDisclosure
39104010
*/
@@ -3916,7 +4016,7 @@ public ConsumerDisclosure updateConsumerDisclosure(String accountId, String lang
39164016
* Update Consumer Disclosure.
39174017
*
39184018
* @param accountId The external account number (int) or account ID Guid. (required)
3919-
* @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)
4019+
* @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)
39204020
* @param consumerDisclosure (optional)
39214021
* @param options for modifying the method behavior.
39224022
* @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
@@ -174,7 +174,7 @@ public DowngradRequestBillingInfoResponse getDowngradeRequestBillingInfo(String
174174

175175
/**
176176
* Retrieves a billing invoice.
177-
* 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 |
177+
* 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 |
178178
* @param accountId The external account number (int) or account ID Guid. (required)
179179
* @param invoiceId (required)
180180
* @return BillingInvoice

0 commit comments

Comments
 (0)