Skip to content

Commit 8818546

Browse files
Version 2.19.0-RC1-v2-20.4.00.01 release (#176)
Co-authored-by: DevCenter-DocuSign <dcdev@docusign.com>
1 parent 3b5cee5 commit 8818546

43 files changed

Lines changed: 1108 additions & 187 deletions

Some content is hidden

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

.swagger-codegen-ignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,4 @@ git_push.sh
2929
LICENSE
3030
gradle*
3131
build.sbt
32+
.travis.yml

CHANGELOG.md

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

4-
## [v2.18.0] - eSignature API v2-20.3.00 - 2019-09-14
4+
## [v2.19.0-RC1] - eSignature API v2-20.4.00.01 - 2020-12-28
5+
### Changed
6+
- Added support for version v2-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+
11+
## [v2.18.0] - eSignature API v2-20.3.00 - 2020-09-24
512
### Changed
613
- Added support for version v2-20.3.00 of the DocuSign eSignature API.
714
- Updated the SDK release version.
815

9-
## [v2.18.0-RC1] - eSignature API v2-20.3.00 - 2019-09-14
16+
## [v2.18.0-RC1] - eSignature API v2-20.3.00 - 2020-09-14
1017
### Changed
1118
- Added support for version v2-20.3.00 of the DocuSign eSignature API.
1219
- Updated the SDK release version.

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.18.0</version>
37+
<version>2.19.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 = '2.18.0'
5+
version = '2.19.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>2.18.0</version>
7+
<version>2.19.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

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

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

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/BulkEnvelopesApi.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ public String getCount() {
110110
return this.count;
111111
}
112112
/*
113-
* 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.
113+
* 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.
114114
*/
115115
public void setInclude(String include) {
116116
this.include = include;

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

Lines changed: 191 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,52 @@ public ConnectCustomConfiguration createConfiguration(String accountId, ConnectC
7979
return apiClient.invokeAPI(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType);
8080
}
8181

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

117163

118164

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

434+
/**
435+
* Generates a new connect HMAC Secret.
436+
*
437+
* @param accountId The external account number (int) or account ID Guid. (required)
438+
* @throws ApiException if fails to make API call
439+
*/
440+
public void generateConnectSecret(String accountId) throws ApiException {
441+
Object localVarPostBody = "{}";
442+
443+
// verify the required parameter 'accountId' is set
444+
if (accountId == null) {
445+
throw new ApiException(400, "Missing the required parameter 'accountId' when calling generateConnectSecret");
446+
}
447+
448+
// create path and map variables
449+
String localVarPath = "/v2/accounts/{accountId}/connect/secret"
450+
.replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString()));
451+
452+
// query params
453+
java.util.List<Pair> localVarQueryParams = new java.util.ArrayList<Pair>();
454+
java.util.List<Pair> localVarCollectionQueryParams = new java.util.ArrayList<Pair>();
455+
java.util.Map<String, String> localVarHeaderParams = new java.util.HashMap<String, String>();
456+
java.util.Map<String, Object> localVarFormParams = new java.util.HashMap<String, Object>();
457+
458+
459+
460+
461+
462+
463+
464+
final String[] localVarAccepts = {
465+
"application/json"
466+
};
467+
final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts);
468+
469+
final String[] localVarContentTypes = {
470+
471+
};
472+
final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);
473+
474+
String[] localVarAuthNames = new String[] { "docusignAccessCode" };
475+
476+
477+
apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, null);
478+
}
479+
335480
/**
336481
* Get a Connect Configuration Information
337482
* Retrieves the information for the specified DocuSign Connect configuration. ###### Note: Connect must be enabled for your account to use this function.
@@ -385,6 +530,52 @@ public ConnectConfigResults getConfiguration(String accountId, String connectId)
385530
GenericType<ConnectConfigResults> localVarReturnType = new GenericType<ConnectConfigResults>() {};
386531
return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType);
387532
}
533+
534+
/**
535+
* Get the connect HMAC Secrets for AccountID
536+
*
537+
* @param accountId The external account number (int) or account ID Guid. (required)
538+
* @throws ApiException if fails to make API call
539+
*/
540+
public void getConnectSecrets(String accountId) throws ApiException {
541+
Object localVarPostBody = "{}";
542+
543+
// verify the required parameter 'accountId' is set
544+
if (accountId == null) {
545+
throw new ApiException(400, "Missing the required parameter 'accountId' when calling getConnectSecrets");
546+
}
547+
548+
// create path and map variables
549+
String localVarPath = "/v2/accounts/{accountId}/connect/secrets"
550+
.replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString()));
551+
552+
// query params
553+
java.util.List<Pair> localVarQueryParams = new java.util.ArrayList<Pair>();
554+
java.util.List<Pair> localVarCollectionQueryParams = new java.util.ArrayList<Pair>();
555+
java.util.Map<String, String> localVarHeaderParams = new java.util.HashMap<String, String>();
556+
java.util.Map<String, Object> localVarFormParams = new java.util.HashMap<String, Object>();
557+
558+
559+
560+
561+
562+
563+
564+
final String[] localVarAccepts = {
565+
"application/json"
566+
};
567+
final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts);
568+
569+
final String[] localVarContentTypes = {
570+
571+
};
572+
final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);
573+
574+
String[] localVarAuthNames = new String[] { "docusignAccessCode" };
575+
576+
577+
apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, null);
578+
}
388579
/// <summary>
389580
/// 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.
390581
/// </summary>

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

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

0 commit comments

Comments
 (0)