Skip to content

Commit 021260e

Browse files
authored
Version 3.5.0 release (#135)
* Version 3.5.0 release ### Changed - Added support for version v2.1-20.1.00 of the DocuSign eSignature API. - Updated the SDK release version. ### Fixed - POST calls fail on some instances of WebLogic server because of strict Content-Length policy (DCM-3939). ### Added - Added the new property `copyRecipientData` to envelopes. When set to **true**, the information that recipients enter is retained when you clone an envelope. For example, if you resend an envelope that was declined or voided after one or more recipients entered data, that data is retained. Note that the new account UI setting `enableEnvelopeCopyWithData` must be enabled for the account. - Added `RecipientIdentityInputOption` and `inputOptions` to `RecipientIdentityVerification`: Reserved for DocuSign. * target folder should be ignored by git
1 parent 31e3b68 commit 021260e

File tree

683 files changed

+13
-822
lines changed

Some content is hidden

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

683 files changed

+13
-822
lines changed

.gitignore

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,6 @@
1-
node_modules/
2-
coverage
3-
.nyc_output/
41
*.DS_Store
5-
auth-info.json
6-
config.json
72
.idea/
8-
npm-debug.log
9-
*.class
10-
target
3+
target/
114
.classpath
125
.settings
136
.project

CHANGELOG.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +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.5.0-RC1] - eSignature API v2.1-20.1.00 - 2020-03-13
4+
## [v3.5.0] - eSignature API v2.1-20.1.00 - 2020-03-30
55
### Changed
6-
- The SDK now supports version 20.1.00 of the DocuSign eSignature API.
7-
- SDK Release Version updated.
6+
- Added support for version v2.1-20.1.00 of the DocuSign eSignature API.
7+
- Updated the SDK release version.
88
### Fixed
9-
- POST calls fail on some instances of WebLogic server because of strict Content-Length policy. (DCM-3939)
9+
- POST calls fail on some instances of WebLogic server because of strict Content-Length policy (DCM-3939).
10+
### Added
11+
- Added the new property `copyRecipientData` to envelopes. When set to **true**, the information that recipients enter is retained when you clone an envelope. For example, if you resend an envelope that was declined or voided after one or more recipients entered data, that data is retained. Note that the new account UI setting `enableEnvelopeCopyWithData` must be enabled for the account.
12+
- Added `RecipientIdentityInputOption` and `inputOptions` to `RecipientIdentityVerification`: Reserved for DocuSign.
1013

1114
## [v3.4.0-RC1] - 2020-03-03
1215
### Fixed
@@ -141,7 +144,7 @@ See [DocuSign Support Center](https://support.docusign.com/en/releasenotes/) for
141144
### Deprecated
142145
- The ConfigureJwtAuthorizationFlowByKey method is now deprecated. Please use the RequestJWTUserToken method instead, which improves security by accepting the private key as a byte array or stream. (DCM-2763)
143146
### Changed
144-
- The base path for OAuth authentication is now a property of the ApiClient object.
147+
- The base path for OAuth authentication is now a property of the ApiClient object.
145148
### Added
146149
- Added a new method, RequestJWTUserToken. This method is passed a user's client id, user id, requested scopes, and their private key in byte array format, performs JWT authentication for the specified user, and returns an access token. (DCM-2763)
147150
- Added a new method, RequestJWTApplicationToken. This is a reserved method that is only enabled by partners and resellers, which obtains an access token that makes requests on behalf of an application rather than a user. It is passed a user's client id, requested scopes, and a private key in byte array format, then returns an access token. (DCM-2763)

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.5.0-RC1</version>
37+
<version>3.5.0</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.5.0-RC1'
5+
version = '3.5.0'
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.5.0-RC1</version>
7+
<version>3.5.0</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/ConnectApi.java

Lines changed: 0 additions & 175 deletions
Original file line numberDiff line numberDiff line change
@@ -85,48 +85,6 @@ public ConnectCustomConfiguration createConfiguration(String accountId, ConnectC
8585
return apiClient.invokeAPI(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType);
8686
}
8787

88-
/**
89-
* Generates a new connect HMAC Secret.
90-
*
91-
* @param accountId The external account number (int) or account ID Guid. (required)
92-
* @throws ApiException if fails to make API call
93-
*/
94-
public void createConnectSecret(String accountId) throws ApiException {
95-
Object localVarPostBody = "{}";
96-
97-
// verify the required parameter 'accountId' is set
98-
if (accountId == null) {
99-
throw new ApiException(400, "Missing the required parameter 'accountId' when calling createConnectSecret");
100-
}
101-
102-
// create path and map variables
103-
String localVarPath = "/v2.1/accounts/{accountId}/connect/secret".replaceAll("\\{format\\}","json")
104-
.replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString()));
105-
106-
// query params
107-
java.util.List<Pair> localVarQueryParams = new java.util.ArrayList<Pair>();
108-
java.util.Map<String, String> localVarHeaderParams = new java.util.HashMap<String, String>();
109-
java.util.Map<String, Object> localVarFormParams = new java.util.HashMap<String, Object>();
110-
111-
112-
113-
114-
final String[] localVarAccepts = {
115-
"application/json"
116-
};
117-
final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts);
118-
119-
final String[] localVarContentTypes = {
120-
121-
};
122-
final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);
123-
124-
String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ };
125-
126-
127-
apiClient.invokeAPI(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, null);
128-
}
129-
13088
/**
13189
* Deletes the specified connect configuration.
13290
* Deletes the specified DocuSign Connect configuration. ###### Note: Connect must be enabled for your account to use this function.
@@ -160,55 +118,6 @@ public void deleteConfiguration(String accountId, String connectId) throws ApiEx
160118

161119

162120

163-
final String[] localVarAccepts = {
164-
"application/json"
165-
};
166-
final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts);
167-
168-
final String[] localVarContentTypes = {
169-
170-
};
171-
final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);
172-
173-
String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ };
174-
175-
176-
apiClient.invokeAPI(localVarPath, "DELETE", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, null);
177-
}
178-
179-
/**
180-
* Delete the connect HMAC Secret for AccountID
181-
*
182-
* @param accountId The external account number (int) or account ID Guid. (required)
183-
* @param keyId (required)
184-
* @throws ApiException if fails to make API call
185-
*/
186-
public void deleteConnectSecret(String accountId, String keyId) throws ApiException {
187-
Object localVarPostBody = "{}";
188-
189-
// verify the required parameter 'accountId' is set
190-
if (accountId == null) {
191-
throw new ApiException(400, "Missing the required parameter 'accountId' when calling deleteConnectSecret");
192-
}
193-
194-
// verify the required parameter 'keyId' is set
195-
if (keyId == null) {
196-
throw new ApiException(400, "Missing the required parameter 'keyId' when calling deleteConnectSecret");
197-
}
198-
199-
// create path and map variables
200-
String localVarPath = "/v2.1/accounts/{accountId}/connect/secret/{keyId}/delete".replaceAll("\\{format\\}","json")
201-
.replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString()))
202-
.replaceAll("\\{" + "keyId" + "\\}", apiClient.escapeString(keyId.toString()));
203-
204-
// query params
205-
java.util.List<Pair> localVarQueryParams = new java.util.ArrayList<Pair>();
206-
java.util.Map<String, String> localVarHeaderParams = new java.util.HashMap<String, String>();
207-
java.util.Map<String, Object> localVarFormParams = new java.util.HashMap<String, Object>();
208-
209-
210-
211-
212121
final String[] localVarAccepts = {
213122
"application/json"
214123
};
@@ -409,48 +318,6 @@ public MobileNotifierConfigurationInformation deleteMobileNotifiers(String accou
409318
return apiClient.invokeAPI(localVarPath, "DELETE", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType);
410319
}
411320

412-
/**
413-
* Generates a new connect HMAC Secret.
414-
*
415-
* @param accountId The external account number (int) or account ID Guid. (required)
416-
* @throws ApiException if fails to make API call
417-
*/
418-
public void generateConnectSecret(String accountId) throws ApiException {
419-
Object localVarPostBody = "{}";
420-
421-
// verify the required parameter 'accountId' is set
422-
if (accountId == null) {
423-
throw new ApiException(400, "Missing the required parameter 'accountId' when calling generateConnectSecret");
424-
}
425-
426-
// create path and map variables
427-
String localVarPath = "/v2.1/accounts/{accountId}/connect/secret".replaceAll("\\{format\\}","json")
428-
.replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString()));
429-
430-
// query params
431-
java.util.List<Pair> localVarQueryParams = new java.util.ArrayList<Pair>();
432-
java.util.Map<String, String> localVarHeaderParams = new java.util.HashMap<String, String>();
433-
java.util.Map<String, Object> localVarFormParams = new java.util.HashMap<String, Object>();
434-
435-
436-
437-
438-
final String[] localVarAccepts = {
439-
"application/json"
440-
};
441-
final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts);
442-
443-
final String[] localVarContentTypes = {
444-
445-
};
446-
final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);
447-
448-
String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ };
449-
450-
451-
apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, null);
452-
}
453-
454321
/**
455322
* Get a Connect Configuration Information
456323
* Retrieves the information for the specified DocuSign Connect configuration. ###### Note: Connect must be enabled for your account to use this function.
@@ -500,48 +367,6 @@ public ConnectConfigResults getConfiguration(String accountId, String connectId)
500367
GenericType<ConnectConfigResults> localVarReturnType = new GenericType<ConnectConfigResults>() {};
501368
return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType);
502369
}
503-
504-
/**
505-
* Get the connect HMAC Secrets for AccountID
506-
*
507-
* @param accountId The external account number (int) or account ID Guid. (required)
508-
* @throws ApiException if fails to make API call
509-
*/
510-
public void getConnectSecrets(String accountId) throws ApiException {
511-
Object localVarPostBody = "{}";
512-
513-
// verify the required parameter 'accountId' is set
514-
if (accountId == null) {
515-
throw new ApiException(400, "Missing the required parameter 'accountId' when calling getConnectSecrets");
516-
}
517-
518-
// create path and map variables
519-
String localVarPath = "/v2.1/accounts/{accountId}/connect/secrets".replaceAll("\\{format\\}","json")
520-
.replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString()));
521-
522-
// query params
523-
java.util.List<Pair> localVarQueryParams = new java.util.ArrayList<Pair>();
524-
java.util.Map<String, String> localVarHeaderParams = new java.util.HashMap<String, String>();
525-
java.util.Map<String, Object> localVarFormParams = new java.util.HashMap<String, Object>();
526-
527-
528-
529-
530-
final String[] localVarAccepts = {
531-
"application/json"
532-
};
533-
final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts);
534-
535-
final String[] localVarContentTypes = {
536-
537-
};
538-
final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);
539-
540-
String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ };
541-
542-
543-
apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, null);
544-
}
545370
/// <summary>
546371
/// Get the specified Connect log entry. Retrieves the specified Connect log entry for your account. ###### Note: The &#x60;enableLog&#x60; setting in the Connect configuration must be set to true to enable logging. If logging is not enabled, then no log entries are recorded.
547372
/// </summary>

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

Lines changed: 0 additions & 98 deletions
Original file line numberDiff line numberDiff line change
@@ -81,55 +81,6 @@ public void deleteReport(String organizationId, String reportCorrelationId) thro
8181
apiClient.invokeAPI(localVarPath, "DELETE", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, null);
8282
}
8383

84-
/**
85-
* Retrieves an account settings comparison.
86-
*
87-
* @param organizationId (required)
88-
* @param resultId (required)
89-
* @throws ApiException if fails to make API call
90-
*/
91-
public void getAccountSettingsExport(String organizationId, String resultId) throws ApiException {
92-
Object localVarPostBody = "{}";
93-
94-
// verify the required parameter 'organizationId' is set
95-
if (organizationId == null) {
96-
throw new ApiException(400, "Missing the required parameter 'organizationId' when calling getAccountSettingsExport");
97-
}
98-
99-
// verify the required parameter 'resultId' is set
100-
if (resultId == null) {
101-
throw new ApiException(400, "Missing the required parameter 'resultId' when calling getAccountSettingsExport");
102-
}
103-
104-
// create path and map variables
105-
String localVarPath = "/v2.1/organization_exports/{organizationId}/account_settings/{resultId}".replaceAll("\\{format\\}","json")
106-
.replaceAll("\\{" + "organizationId" + "\\}", apiClient.escapeString(organizationId.toString()))
107-
.replaceAll("\\{" + "resultId" + "\\}", apiClient.escapeString(resultId.toString()));
108-
109-
// query params
110-
java.util.List<Pair> localVarQueryParams = new java.util.ArrayList<Pair>();
111-
java.util.Map<String, String> localVarHeaderParams = new java.util.HashMap<String, String>();
112-
java.util.Map<String, Object> localVarFormParams = new java.util.HashMap<String, Object>();
113-
114-
115-
116-
117-
final String[] localVarAccepts = {
118-
"application/json"
119-
};
120-
final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts);
121-
122-
final String[] localVarContentTypes = {
123-
124-
};
125-
final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);
126-
127-
String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ };
128-
129-
130-
apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, null);
131-
}
132-
13384
/**
13485
* Retrieves org level report by correlation id and site.
13586
*
@@ -163,55 +114,6 @@ public void getReport(String organizationId, String reportCorrelationId) throws
163114

164115

165116

166-
final String[] localVarAccepts = {
167-
"application/json"
168-
};
169-
final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts);
170-
171-
final String[] localVarContentTypes = {
172-
173-
};
174-
final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);
175-
176-
String[] localVarAuthNames = new String[] { "docusignAccessCode" }; //{ };
177-
178-
179-
apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, null);
180-
}
181-
182-
/**
183-
* Retrieves UserList Export Results data.
184-
*
185-
* @param organizationId (required)
186-
* @param resultId (required)
187-
* @throws ApiException if fails to make API call
188-
*/
189-
public void getUserListExport(String organizationId, String resultId) throws ApiException {
190-
Object localVarPostBody = "{}";
191-
192-
// verify the required parameter 'organizationId' is set
193-
if (organizationId == null) {
194-
throw new ApiException(400, "Missing the required parameter 'organizationId' when calling getUserListExport");
195-
}
196-
197-
// verify the required parameter 'resultId' is set
198-
if (resultId == null) {
199-
throw new ApiException(400, "Missing the required parameter 'resultId' when calling getUserListExport");
200-
}
201-
202-
// create path and map variables
203-
String localVarPath = "/v2.1/organization_exports/{organizationId}/user_list/{resultId}".replaceAll("\\{format\\}","json")
204-
.replaceAll("\\{" + "organizationId" + "\\}", apiClient.escapeString(organizationId.toString()))
205-
.replaceAll("\\{" + "resultId" + "\\}", apiClient.escapeString(resultId.toString()));
206-
207-
// query params
208-
java.util.List<Pair> localVarQueryParams = new java.util.ArrayList<Pair>();
209-
java.util.Map<String, String> localVarHeaderParams = new java.util.HashMap<String, String>();
210-
java.util.Map<String, Object> localVarFormParams = new java.util.HashMap<String, Object>();
211-
212-
213-
214-
215117
final String[] localVarAccepts = {
216118
"application/json"
217119
};

0 commit comments

Comments
 (0)