Skip to content

Commit ee49611

Browse files
authored
RC of version 3.3.0 (#127)
1 parent e162d9f commit ee49611

File tree

82 files changed

+6884
-836
lines changed

Some content is hidden

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

82 files changed

+6884
-836
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.3.0-RC1] - eSignature API v2.1-19.4.01 - 2019-12-31
5+
### Changed
6+
- The SDK now supports version 19.4.01 of the DocuSign eSignature v2.1 API.
7+
- SDK Release Version updated.
8+
49
## [v3.2.0] - eSignature API v2.1-19.2.02 - 2019-10-08
510
### Changed
611
- The SDK now supports version 19.2.02 of the DocuSign eSignature v2.1 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.2.0</version>
37+
<version>3.3.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.2.0'
5+
version = '3.3.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.2.0</version>
7+
<version>3.3.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://www.docusign.com/developer-center</url>
1010

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

Lines changed: 81 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
import com.docusign.esign.model.AccountIdentityVerificationResponse;
1111
import com.docusign.esign.model.AccountInformation;
1212
import com.docusign.esign.model.AccountPasswordRules;
13+
import com.docusign.esign.model.AccountSeals;
1314
import com.docusign.esign.model.AccountSettingsInformation;
1415
import com.docusign.esign.model.AccountSharedAccess;
1516
import com.docusign.esign.model.AccountSignatureProviders;
@@ -688,15 +689,44 @@ public void deleteENoteConfiguration(String accountId) throws ApiException {
688689

689690
apiClient.invokeAPI(localVarPath, "DELETE", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, null);
690691
}
692+
/// <summary>
693+
/// Deletes a permissions profile within the specified account.
694+
/// </summary>
695+
public class DeletePermissionProfileOptions
696+
{
697+
private String moveUsersTo = null;
698+
/*
699+
*
700+
*/
701+
public void setMoveUsersTo(String moveUsersTo) {
702+
this.moveUsersTo = moveUsersTo;
703+
}
704+
705+
public String getMoveUsersTo() {
706+
return this.moveUsersTo;
707+
}
708+
}
709+
710+
/**
711+
* Deletes a permissions profile within the specified account.
712+
*
713+
* @param accountId The external account number (int) or account ID Guid. (required)
714+
* @param permissionProfileId (required)
715+
* @return void
716+
*/
717+
public void deletePermissionProfile(String accountId, String permissionProfileId) throws ApiException {
718+
deletePermissionProfile(accountId, permissionProfileId, null);
719+
}
691720

692721
/**
693722
* Deletes a permissions profile within the specified account.
694723
*
695724
* @param accountId The external account number (int) or account ID Guid. (required)
696725
* @param permissionProfileId (required)
726+
* @param options for modifying the method behavior.
697727
* @throws ApiException if fails to make API call
698728
*/
699-
public void deletePermissionProfile(String accountId, String permissionProfileId) throws ApiException {
729+
public void deletePermissionProfile(String accountId, String permissionProfileId, AccountsApi.DeletePermissionProfileOptions options) throws ApiException {
700730
Object localVarPostBody = "{}";
701731

702732
// verify the required parameter 'accountId' is set
@@ -719,7 +749,9 @@ public void deletePermissionProfile(String accountId, String permissionProfileId
719749
java.util.Map<String, String> localVarHeaderParams = new java.util.HashMap<String, String>();
720750
java.util.Map<String, Object> localVarFormParams = new java.util.HashMap<String, Object>();
721751

722-
752+
if (options != null) {
753+
localVarQueryParams.addAll(apiClient.parameterToPairs("", "move_users_to", options.moveUsersTo));
754+
}
723755

724756

725757
final String[] localVarAccepts = {
@@ -1366,7 +1398,7 @@ public void getBrandResourcesByContentType(String accountId, String brandId, Str
13661398
* Gets the Electronic Record and Signature Disclosure.
13671399
* 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.
13681400
* @param accountId The external account number (int) or account ID Guid. (required)
1369-
* @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), 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)
1401+
* @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)
13701402
* @return ConsumerDisclosure
13711403
* @throws ApiException if fails to make API call
13721404
*/
@@ -1418,7 +1450,7 @@ public class GetConsumerDisclosureDefaultOptions
14181450
{
14191451
private String langCode = null;
14201452
/*
1421-
* Specifies the language used in the response. The supported languages, with the language value shown in parenthesis, are: Arabic (ar), 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 &#x60;browser&#x60; to automatically detect the browser language being used by the viewer and display the disclosure in that language.
1453+
* Specifies 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 &#x60;browser&#x60; to automatically detect the browser language being used by the viewer and display the disclosure in that language.
14221454
*/
14231455
public void setLangCode(String langCode) {
14241456
this.langCode = langCode;
@@ -1853,6 +1885,49 @@ public ProvisioningInformation getProvisioning() throws ApiException {
18531885
return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType);
18541886
}
18551887

1888+
/**
1889+
* Returns Account available seals for specified account.
1890+
*
1891+
* @param accountId The external account number (int) or account ID Guid. (required)
1892+
* @return AccountSeals
1893+
* @throws ApiException if fails to make API call
1894+
*/
1895+
public AccountSeals getSealProviders(String accountId) throws ApiException {
1896+
Object localVarPostBody = "{}";
1897+
1898+
// verify the required parameter 'accountId' is set
1899+
if (accountId == null) {
1900+
throw new ApiException(400, "Missing the required parameter 'accountId' when calling getSealProviders");
1901+
}
1902+
1903+
// create path and map variables
1904+
String localVarPath = "/v2.1/accounts/{accountId}/seals".replaceAll("\\{format\\}","json")
1905+
.replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString()));
1906+
1907+
// query params
1908+
java.util.List<Pair> localVarQueryParams = new java.util.ArrayList<Pair>();
1909+
java.util.Map<String, String> localVarHeaderParams = new java.util.HashMap<String, String>();
1910+
java.util.Map<String, Object> localVarFormParams = new java.util.HashMap<String, Object>();
1911+
1912+
1913+
1914+
1915+
final String[] localVarAccepts = {
1916+
"application/json"
1917+
};
1918+
final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts);
1919+
1920+
final String[] localVarContentTypes = {
1921+
1922+
};
1923+
final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);
1924+
1925+
String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ };
1926+
1927+
GenericType<AccountSeals> localVarReturnType = new GenericType<AccountSeals>() {};
1928+
return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType);
1929+
}
1930+
18561931
/**
18571932
* Gets list of supported languages for recipient language setting.
18581933
*
@@ -2822,7 +2897,7 @@ public String getIncludeMetadata() {
28222897
* Update Consumer Disclosure.
28232898
*
28242899
* @param accountId The external account number (int) or account ID Guid. (required)
2825-
* @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), 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)
2900+
* @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)
28262901
* @param consumerDisclosure (optional)
28272902
* @return ConsumerDisclosure
28282903
*/
@@ -2834,7 +2909,7 @@ public ConsumerDisclosure updateConsumerDisclosure(String accountId, String lang
28342909
* Update Consumer Disclosure.
28352910
*
28362911
* @param accountId The external account number (int) or account ID Guid. (required)
2837-
* @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), 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)
2912+
* @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)
28382913
* @param consumerDisclosure (optional)
28392914
* @param options for modifying the method behavior.
28402915
* @return ConsumerDisclosure

0 commit comments

Comments
 (0)