Skip to content

Commit 55d490a

Browse files
HobbyProjectsroot
andauthored
Version 3.16.1-v2.1-21.4.00.00 release (#222)
Co-authored-by: root <[email protected]>
1 parent 44e2cd4 commit 55d490a

37 files changed

+3255
-1283
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.16.1] - eSignature API v2.1-21.4.00.00 - 2021-12-16
5+
### Changed
6+
- Added support for version v2.1-21.4.00.00 of the DocuSign ESignature API.
7+
- Updated the SDK release version.
8+
49
## [3.16.0-RC1] - ESignature API v2.1-21.3.02.00 - 2021-10-29
510
### Changed
611
- Added support for version v2.1-21.3.02.00 of the DocuSign ESignature API.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ This SDK is provided as open source, which enables you to customize its function
2727
<dependency>
2828
<groupId>com.docusign</groupId>
2929
<artifactId>docusign-esign-java</artifactId>
30-
<version>3.16.0-RC1</version>
30+
<version>3.16.1</version>
3131
</dependency>
3232
```
3333
8. If your project is still open, restart Eclipse.

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.16.0-RC1'
5+
version = '3.16.1'
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.16.0-RC1</version>
7+
<version>3.16.1</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: 45 additions & 310 deletions
Large diffs are not rendered by default.

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

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -419,8 +419,8 @@ public ConnectConfigResults getConfiguration(String accountId, String connectId)
419419
public class GetConnectAllUsersOptions
420420
{
421421
private String count = null;
422+
private String domainUsersOnly = null;
422423
private String emailSubstring = null;
423-
private String isRecipientConnectConfig = null;
424424
private String startPosition = null;
425425
private String status = null;
426426
private String userNameSubstring = null;
@@ -442,35 +442,35 @@ public String getCount() {
442442
}
443443

444444
/**
445-
* setEmailSubstring method.
445+
* setDomainUsersOnly method.
446446
*/
447-
public void setEmailSubstring(String emailSubstring) {
448-
this.emailSubstring = emailSubstring;
447+
public void setDomainUsersOnly(String domainUsersOnly) {
448+
this.domainUsersOnly = domainUsersOnly;
449449
}
450450

451451
/**
452-
* getEmailSubstring method.
452+
* getDomainUsersOnly method.
453453
*
454454
* @return String
455455
*/
456-
public String getEmailSubstring() {
457-
return this.emailSubstring;
456+
public String getDomainUsersOnly() {
457+
return this.domainUsersOnly;
458458
}
459459

460460
/**
461-
* setIsRecipientConnectConfig method.
461+
* setEmailSubstring method.
462462
*/
463-
public void setIsRecipientConnectConfig(String isRecipientConnectConfig) {
464-
this.isRecipientConnectConfig = isRecipientConnectConfig;
463+
public void setEmailSubstring(String emailSubstring) {
464+
this.emailSubstring = emailSubstring;
465465
}
466466

467467
/**
468-
* getIsRecipientConnectConfig method.
468+
* getEmailSubstring method.
469469
*
470470
* @return String
471471
*/
472-
public String getIsRecipientConnectConfig() {
473-
return this.isRecipientConnectConfig;
472+
public String getEmailSubstring() {
473+
return this.emailSubstring;
474474
}
475475

476476
/**
@@ -525,8 +525,8 @@ public String getUserNameSubstring() {
525525
/**
526526
* Returns all users from the configured Connect service..
527527
*
528-
* @param accountId (required)
529-
* @param connectId (required)
528+
* @param accountId The external account number (int) or account ID Guid. (required)
529+
* @param connectId The ID of the custom Connect configuration being accessed. (required)
530530
* @return IntegratedConnectUserInfoList
531531
*/
532532
public IntegratedConnectUserInfoList getConnectAllUsers(String accountId, String connectId) throws ApiException {
@@ -536,8 +536,8 @@ public IntegratedConnectUserInfoList getConnectAllUsers(String accountId, String
536536
/**
537537
* Returns all users from the configured Connect service..
538538
*
539-
* @param accountId (required)
540-
* @param connectId (required)
539+
* @param accountId The external account number (int) or account ID Guid. (required)
540+
* @param connectId The ID of the custom Connect configuration being accessed. (required)
541541
* @param options for modifying the method behavior.
542542
* @return IntegratedConnectUserInfoList
543543
* @throws ApiException if fails to make API call
@@ -569,9 +569,9 @@ public IntegratedConnectUserInfoList getConnectAllUsers(String accountId, String
569569
if (options != null) {
570570
localVarQueryParams.addAll(apiClient.parameterToPair("count", options.count));
571571
}if (options != null) {
572-
localVarQueryParams.addAll(apiClient.parameterToPair("email_substring", options.emailSubstring));
572+
localVarQueryParams.addAll(apiClient.parameterToPair("domain_users_only", options.domainUsersOnly));
573573
}if (options != null) {
574-
localVarQueryParams.addAll(apiClient.parameterToPair("is_recipient_connect_config", options.isRecipientConnectConfig));
574+
localVarQueryParams.addAll(apiClient.parameterToPair("email_substring", options.emailSubstring));
575575
}if (options != null) {
576576
localVarQueryParams.addAll(apiClient.parameterToPair("start_position", options.startPosition));
577577
}if (options != null) {

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

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3662,9 +3662,9 @@ public String getIncludeAnchorTabLocations() {
36623662
/**
36633663
* Get Responsive HTML for a document in an envelope..
36643664
*
3665-
* @param accountId (required)
3666-
* @param envelopeId (required)
3667-
* @param documentId (required)
3665+
* @param accountId The external account number (int) or account ID Guid. (required)
3666+
* @param envelopeId The envelopeId Guid of the envelope being accessed. (required)
3667+
* @param documentId The ID of the document being accessed. (required)
36683668
* @return DocumentHtmlDefinitionOriginals
36693669
*/
36703670
public DocumentHtmlDefinitionOriginals getDocumentResponsiveHtml(String accountId, String envelopeId, String documentId) throws ApiException {
@@ -3674,9 +3674,9 @@ public DocumentHtmlDefinitionOriginals getDocumentResponsiveHtml(String accountI
36743674
/**
36753675
* Get Responsive HTML for a document in an envelope..
36763676
*
3677-
* @param accountId (required)
3678-
* @param envelopeId (required)
3679-
* @param documentId (required)
3677+
* @param accountId The external account number (int) or account ID Guid. (required)
3678+
* @param envelopeId The envelopeId Guid of the envelope being accessed. (required)
3679+
* @param documentId The ID of the document being accessed. (required)
36803680
* @param options for modifying the method behavior.
36813681
* @return DocumentHtmlDefinitionOriginals
36823682
* @throws ApiException if fails to make API call
@@ -5112,8 +5112,8 @@ public String getIncludeAnchorTabLocations() {
51125112
/**
51135113
* Get Responsive HTML for all documents in an envelope..
51145114
*
5115-
* @param accountId (required)
5116-
* @param envelopeId (required)
5115+
* @param accountId The external account number (int) or account ID Guid. (required)
5116+
* @param envelopeId The envelopeId Guid of the envelope being accessed. (required)
51175117
* @return DocumentHtmlDefinitionOriginals
51185118
*/
51195119
public DocumentHtmlDefinitionOriginals getResponsiveHtml(String accountId, String envelopeId) throws ApiException {
@@ -5123,8 +5123,8 @@ public DocumentHtmlDefinitionOriginals getResponsiveHtml(String accountId, Strin
51235123
/**
51245124
* Get Responsive HTML for all documents in an envelope..
51255125
*
5126-
* @param accountId (required)
5127-
* @param envelopeId (required)
5126+
* @param accountId The external account number (int) or account ID Guid. (required)
5127+
* @param envelopeId The envelopeId Guid of the envelope being accessed. (required)
51285128
* @param options for modifying the method behavior.
51295129
* @return DocumentHtmlDefinitionOriginals
51305130
* @throws ApiException if fails to make API call

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

Lines changed: 4 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -60,74 +60,21 @@ public void setApiClient(ApiClient apiClient) {
6060
* @param reportCorrelationId (required)
6161
* @throws ApiException if fails to make API call
6262
*/
63-
public void deleteReport(String organizationId, String reportCorrelationId) throws ApiException {
63+
public void getReportV2(String organizationId, String reportCorrelationId) throws ApiException {
6464
Object localVarPostBody = "{}";
6565

6666
// verify the required parameter 'organizationId' is set
6767
if (organizationId == null) {
68-
throw new ApiException(400, "Missing the required parameter 'organizationId' when calling deleteReport");
68+
throw new ApiException(400, "Missing the required parameter 'organizationId' when calling getReportV2");
6969
}
7070

7171
// verify the required parameter 'reportCorrelationId' is set
7272
if (reportCorrelationId == null) {
73-
throw new ApiException(400, "Missing the required parameter 'reportCorrelationId' when calling deleteReport");
73+
throw new ApiException(400, "Missing the required parameter 'reportCorrelationId' when calling getReportV2");
7474
}
7575

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

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

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ public class CallListOptions
6464
{
6565
private String additionalInfo = null;
6666
private String count = null;
67+
private String domainUsersOnly = null;
6768
private String email = null;
6869
private String emailSubstring = null;
6970
private String groupId = null;
@@ -106,6 +107,22 @@ public String getCount() {
106107
return this.count;
107108
}
108109

110+
/**
111+
* setDomainUsersOnly method.
112+
*/
113+
public void setDomainUsersOnly(String domainUsersOnly) {
114+
this.domainUsersOnly = domainUsersOnly;
115+
}
116+
117+
/**
118+
* getDomainUsersOnly method.
119+
*
120+
* @return String
121+
*/
122+
public String getDomainUsersOnly() {
123+
return this.domainUsersOnly;
124+
}
125+
109126
/**
110127
* setEmail method.
111128
*/
@@ -291,6 +308,8 @@ public UserInformationList callList(String accountId, UsersApi.CallListOptions o
291308
localVarQueryParams.addAll(apiClient.parameterToPair("additional_info", options.additionalInfo));
292309
}if (options != null) {
293310
localVarQueryParams.addAll(apiClient.parameterToPair("count", options.count));
311+
}if (options != null) {
312+
localVarQueryParams.addAll(apiClient.parameterToPair("domain_users_only", options.domainUsersOnly));
294313
}if (options != null) {
295314
localVarQueryParams.addAll(apiClient.parameterToPair("email", options.email));
296315
}if (options != null) {

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ public ApiClient() {
9797
this.dateFormat = new RFC3339DateFormat();
9898

9999
// Set default User-Agent.
100-
setUserAgent("Swagger-Codegen/3.16.0-RC1/java");
100+
setUserAgent("Swagger-Codegen/3.16.1/java");
101101

102102
// Setup authentications (key: authentication name, value: authentication).
103103
authentications = new HashMap<String, Authentication>();
@@ -1451,7 +1451,7 @@ public <T> T invokeAPI(String path, String method, List<Pair> queryParams, List<
14511451
}
14521452

14531453
// Add DocuSign Tracking Header
1454-
invocationBuilder = invocationBuilder.header("X-DocuSign-SDK", "Java-v3.16.0-RC1");
1454+
invocationBuilder = invocationBuilder.header("X-DocuSign-SDK", "Java");
14551455

14561456
if (body == null && formParams.isEmpty()) {
14571457
invocationBuilder = invocationBuilder.header("Content-Length", "0");

0 commit comments

Comments
 (0)