Skip to content

Commit 31e3b68

Browse files
authored
RC of version 3.5.0 (#133)
* RC of version 3.5.0 ### Changed - The SDK now supports version 20.1.00 of the DocuSign eSignature API. - The SDK now supports version 20.1.00 of the DocuSign eSignature API. - SDK Release Version updated. ### Fixed - POST calls fail on some instances of WebLogic server because of strict Content-Length policy. (DCM-3939) * Update CHANGELOG.md
1 parent 94157d2 commit 31e3b68

File tree

134 files changed

+3623
-239
lines changed

Some content is hidden

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

134 files changed

+3623
-239
lines changed

CHANGELOG.md

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

4-
## [v3.4.0-RC1]
5-
## Fixed
4+
## [v3.5.0-RC1] - eSignature API v2.1-20.1.00 - 2020-03-13
5+
### Changed
6+
- The SDK now supports version 20.1.00 of the DocuSign eSignature API.
7+
- SDK Release Version updated.
8+
### Fixed
9+
- POST calls fail on some instances of WebLogic server because of strict Content-Length policy. (DCM-3939)
10+
11+
## [v3.4.0-RC1] - 2020-03-03
12+
### Fixed
613
- POST calls fail on some instances of WebLogic server because of strict Content-Length policy. (DCM-3939)
714

815
## [v3.3.0] - eSignature API v2.1-19.4.01 - 2020-02-03

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.4.0-RC1</version>
37+
<version>3.5.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.4.0-RC1'
5+
version = '3.5.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.4.0-RC1</version>
7+
<version>3.5.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: 0 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
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;
1413
import com.docusign.esign.model.AccountSettingsInformation;
1514
import com.docusign.esign.model.AccountSharedAccess;
1615
import com.docusign.esign.model.AccountSignatureProviders;
@@ -1885,49 +1884,6 @@ public ProvisioningInformation getProvisioning() throws ApiException {
18851884
return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType);
18861885
}
18871886

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-
19311887
/**
19321888
* Gets list of supported languages for recipient language setting.
19331889
*

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

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
import com.docusign.esign.model.BillingPlanUpdateResponse;
2121
import com.docusign.esign.model.BillingPlansResponse;
2222
import com.docusign.esign.model.CreditCardInformation;
23+
import com.docusign.esign.model.DowngradeBillingPlanInformation;
24+
import com.docusign.esign.model.DowngradePlanUpdateResponse;
2325
import com.docusign.esign.model.ErrorDetails;
2426
import com.docusign.esign.model.PurchasedEnvelopesInformation;
2527

@@ -664,6 +666,50 @@ public void purchaseEnvelopes(String accountId, PurchasedEnvelopesInformation pu
664666

665667
apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, null);
666668
}
669+
670+
/**
671+
* Queues downgrade billing plan request for an account.
672+
*
673+
* @param accountId The external account number (int) or account ID Guid. (required)
674+
* @param downgradeBillingPlanInformation (optional)
675+
* @return DowngradePlanUpdateResponse
676+
* @throws ApiException if fails to make API call
677+
*/
678+
public DowngradePlanUpdateResponse updateDowngradeAccountBillingPlan(String accountId, DowngradeBillingPlanInformation downgradeBillingPlanInformation) throws ApiException {
679+
Object localVarPostBody = downgradeBillingPlanInformation;
680+
681+
// verify the required parameter 'accountId' is set
682+
if (accountId == null) {
683+
throw new ApiException(400, "Missing the required parameter 'accountId' when calling updateDowngradeAccountBillingPlan");
684+
}
685+
686+
// create path and map variables
687+
String localVarPath = "/v2.1/accounts/{accountId}/billing_plan/downgrade".replaceAll("\\{format\\}","json")
688+
.replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString()));
689+
690+
// query params
691+
java.util.List<Pair> localVarQueryParams = new java.util.ArrayList<Pair>();
692+
java.util.Map<String, String> localVarHeaderParams = new java.util.HashMap<String, String>();
693+
java.util.Map<String, Object> localVarFormParams = new java.util.HashMap<String, Object>();
694+
695+
696+
697+
698+
final String[] localVarAccepts = {
699+
"application/json"
700+
};
701+
final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts);
702+
703+
final String[] localVarContentTypes = {
704+
705+
};
706+
final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);
707+
708+
String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ };
709+
710+
GenericType<DowngradePlanUpdateResponse> localVarReturnType = new GenericType<DowngradePlanUpdateResponse>() {};
711+
return apiClient.invokeAPI(localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType);
712+
}
667713
/// <summary>
668714
/// Updates the account billing plan. Updates the billing plan information, billing address, and credit card information for the specified account.
669715
/// </summary>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ public String getCount() {
313313
return this.count;
314314
}
315315
/*
316-
* Specifies which entries are included in the response. Multiple entries can be included by using commas in the query string (example: ?include&#x3D;”failed,queued”) Valid values are: * all - Returns all entries. If present, overrides all other query settings. This is the default if no query string is provided. * failed - This only returns entries with a failed status. * queued - This only returns entries with a queued status. * sent – This only returns entries with a sent status.
316+
* Specifies which entries are included in the response. Multiple entries can be included by using commas in the query string (example: ?include&#x3D;\&quot;failed,queued\&quot;) Valid values are: * all - Returns all entries. If present, overrides all other query settings. This is the default if no query string is provided. * failed - This only returns entries with a failed status. * queued - This only returns entries with a queued status. * sent - This only returns entries with a sent status.
317317
*/
318318
public void setInclude(String include) {
319319
this.include = include;

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

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

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

Lines changed: 0 additions & 78 deletions
This file was deleted.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ public ApiClient() {
126126
mapper.setDateFormat((DateFormat) dateFormat.clone());
127127

128128
// Set default User-Agent.
129-
setUserAgent("Swagger-Codegen/3.4.0-RC1/java");
129+
setUserAgent("Swagger-Codegen/3.5.0-RC1/java");
130130

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

0 commit comments

Comments
 (0)