Skip to content

Commit 6be049a

Browse files
Version v2.23.0-RC1-v2-21.2.02.00 release (#207)
Co-authored-by: DevCenter-DocuSign <[email protected]>
1 parent d811c85 commit 6be049a

File tree

12 files changed

+609
-535
lines changed

12 files changed

+609
-535
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+
## [v2.23.0-RC1] - ESignature API v2-21.2.02.00 - 2021-08-30
5+
### Changed
6+
- Added support for version v2-21.2.02.00 of the DocuSign ESignature API.
7+
- Updated the SDK release version.
8+
49
## [v2.22.0] - eSignature API v2-21.2.00.00 - 2021-07-22
510
### Changed
611
- Added support for version v2-21.2.00.00 of the DocuSign eSignature API.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ This SDK is provided as open source, which enables you to customize its function
2929
<dependency>
3030
<groupId>com.docusign</groupId>
3131
<artifactId>docusign-esign-java</artifactId>
32-
<version>2.22.0</version>
32+
<version>2.23.0-RC1</version>
3333
</dependency>
3434
```
3535
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 = '2.22.0'
5+
version = '2.23.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.22.0</version>
7+
<version>2.23.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/CloudStorageApi.java

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

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

Lines changed: 73 additions & 73 deletions
Original file line numberDiff line numberDiff line change
@@ -30,21 +30,48 @@ public void setApiClient(ApiClient apiClient) {
3030
this.apiClient = apiClient;
3131
}
3232

33+
/// <summary>
34+
/// Gets a list of all account tabs. Retrieves a list of all tabs associated with the account.
35+
/// </summary>
36+
public class CallListOptions
37+
{
38+
private String customTabOnly = null;
39+
/*
40+
* When set to **true**, only custom tabs are returned in the response.
41+
*/
42+
public void setCustomTabOnly(String customTabOnly) {
43+
this.customTabOnly = customTabOnly;
44+
}
45+
46+
public String getCustomTabOnly() {
47+
return this.customTabOnly;
48+
}
49+
}
50+
51+
/**
52+
* Gets a list of all account tabs.
53+
* Retrieves a list of all tabs associated with the account.
54+
* @param accountId The external account number (int) or account ID Guid. (required)
55+
* @return TabMetadataList
56+
*/
57+
public TabMetadataList callList(String accountId) throws ApiException {
58+
return callList(accountId, null);
59+
}
3360

3461
/**
35-
* Creates a custom tab.
36-
* Creates a tab with pre-defined properties, such as a text tab with a certain font type and validation pattern. Users can access the custom tabs when sending documents through the DocuSign web application. Custom tabs can be created for approve, checkbox, company, date, date signed, decline, email, email address, envelope ID, first name, formula, full name, initial here, last name, list, note, number, radio, sign here, signer attachment, SSN, text, title, and zip tabs.
62+
* Gets a list of all account tabs.
63+
* Retrieves a list of all tabs associated with the account.
3764
* @param accountId The external account number (int) or account ID Guid. (required)
38-
* @param tabMetadata (optional)
39-
* @return TabMetadata
65+
* @param options for modifying the method behavior.
66+
* @return TabMetadataList
4067
* @throws ApiException if fails to make API call
4168
*/
42-
public TabMetadata create(String accountId, TabMetadata tabMetadata) throws ApiException {
43-
Object localVarPostBody = tabMetadata;
69+
public TabMetadataList callList(String accountId, CustomTabsApi.CallListOptions options) throws ApiException {
70+
Object localVarPostBody = "{}";
4471

4572
// verify the required parameter 'accountId' is set
4673
if (accountId == null) {
47-
throw new ApiException(400, "Missing the required parameter 'accountId' when calling create");
74+
throw new ApiException(400, "Missing the required parameter 'accountId' when calling callList");
4875
}
4976

5077
// create path and map variables
@@ -57,7 +84,9 @@ public TabMetadata create(String accountId, TabMetadata tabMetadata) throws ApiE
5784
java.util.Map<String, String> localVarHeaderParams = new java.util.HashMap<String, String>();
5885
java.util.Map<String, Object> localVarFormParams = new java.util.HashMap<String, Object>();
5986

60-
87+
if (options != null) {
88+
localVarQueryParams.addAll(apiClient.parameterToPair("custom_tab_only", options.customTabOnly));
89+
}
6190

6291

6392

@@ -75,34 +104,29 @@ public TabMetadata create(String accountId, TabMetadata tabMetadata) throws ApiE
75104

76105
String[] localVarAuthNames = new String[] { "docusignAccessCode" };
77106

78-
GenericType<TabMetadata> localVarReturnType = new GenericType<TabMetadata>() {};
79-
return apiClient.invokeAPI(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType);
107+
GenericType<TabMetadataList> localVarReturnType = new GenericType<TabMetadataList>() {};
108+
return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType);
80109
}
81110

82111
/**
83-
* Deletes custom tab information.
84-
* Deletes the custom from the specified account.
112+
* Creates a custom tab.
113+
* Creates a tab with pre-defined properties, such as a text tab with a certain font type and validation pattern. Users can access the custom tabs when sending documents through the DocuSign web application. Custom tabs can be created for approve, checkbox, company, date, date signed, decline, email, email address, envelope ID, first name, formula, full name, initial here, last name, list, note, number, radio, sign here, signer attachment, SSN, text, title, and zip tabs.
85114
* @param accountId The external account number (int) or account ID Guid. (required)
86-
* @param customTabId (required)
115+
* @param tabMetadata (optional)
116+
* @return TabMetadata
87117
* @throws ApiException if fails to make API call
88118
*/
89-
public void delete(String accountId, String customTabId) throws ApiException {
90-
Object localVarPostBody = "{}";
119+
public TabMetadata create(String accountId, TabMetadata tabMetadata) throws ApiException {
120+
Object localVarPostBody = tabMetadata;
91121

92122
// verify the required parameter 'accountId' is set
93123
if (accountId == null) {
94-
throw new ApiException(400, "Missing the required parameter 'accountId' when calling delete");
95-
}
96-
97-
// verify the required parameter 'customTabId' is set
98-
if (customTabId == null) {
99-
throw new ApiException(400, "Missing the required parameter 'customTabId' when calling delete");
124+
throw new ApiException(400, "Missing the required parameter 'accountId' when calling create");
100125
}
101126

102127
// create path and map variables
103-
String localVarPath = "/v2/accounts/{accountId}/tab_definitions/{customTabId}"
104-
.replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString()))
105-
.replaceAll("\\{" + "customTabId" + "\\}", apiClient.escapeString(customTabId.toString()));
128+
String localVarPath = "/v2/accounts/{accountId}/tab_definitions"
129+
.replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString()));
106130

107131
// query params
108132
java.util.List<Pair> localVarQueryParams = new java.util.ArrayList<Pair>();
@@ -128,29 +152,28 @@ public void delete(String accountId, String customTabId) throws ApiException {
128152

129153
String[] localVarAuthNames = new String[] { "docusignAccessCode" };
130154

131-
132-
apiClient.invokeAPI(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, null);
133-
}
155+
GenericType<TabMetadata> localVarReturnType = new GenericType<TabMetadata>() {};
156+
return apiClient.invokeAPI(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType);
157+
}
134158

135159
/**
136-
* Gets custom tab information.
137-
* Retrieves information about the requested custom tab on the specified account.
160+
* Deletes custom tab information.
161+
* Deletes the custom from the specified account.
138162
* @param accountId The external account number (int) or account ID Guid. (required)
139163
* @param customTabId (required)
140-
* @return TabMetadata
141164
* @throws ApiException if fails to make API call
142165
*/
143-
public TabMetadata get(String accountId, String customTabId) throws ApiException {
166+
public void delete(String accountId, String customTabId) throws ApiException {
144167
Object localVarPostBody = "{}";
145168

146169
// verify the required parameter 'accountId' is set
147170
if (accountId == null) {
148-
throw new ApiException(400, "Missing the required parameter 'accountId' when calling get");
171+
throw new ApiException(400, "Missing the required parameter 'accountId' when calling delete");
149172
}
150173

151174
// verify the required parameter 'customTabId' is set
152175
if (customTabId == null) {
153-
throw new ApiException(400, "Missing the required parameter 'customTabId' when calling get");
176+
throw new ApiException(400, "Missing the required parameter 'customTabId' when calling delete");
154177
}
155178

156179
// create path and map variables
@@ -182,66 +205,43 @@ public TabMetadata get(String accountId, String customTabId) throws ApiException
182205

183206
String[] localVarAuthNames = new String[] { "docusignAccessCode" };
184207

185-
GenericType<TabMetadata> localVarReturnType = new GenericType<TabMetadata>() {};
186-
return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType);
187-
}
188-
/// <summary>
189-
/// Gets a list of all account tabs. Retrieves a list of all tabs associated with the account.
190-
/// </summary>
191-
public class ListOptions
192-
{
193-
private String customTabOnly = null;
194-
/*
195-
* When set to **true**, only custom tabs are returned in the response.
196-
*/
197-
public void setCustomTabOnly(String customTabOnly) {
198-
this.customTabOnly = customTabOnly;
199-
}
200-
201-
public String getCustomTabOnly() {
202-
return this.customTabOnly;
203-
}
204-
}
205208

206-
/**
207-
* Gets a list of all account tabs.
208-
* Retrieves a list of all tabs associated with the account.
209-
* @param accountId The external account number (int) or account ID Guid. (required)
210-
* @return TabMetadataList
211-
*/
212-
public TabMetadataList list(String accountId) throws ApiException {
213-
return list(accountId, null);
209+
apiClient.invokeAPI(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, null);
214210
}
215211

216212
/**
217-
* Gets a list of all account tabs.
218-
* Retrieves a list of all tabs associated with the account.
213+
* Gets custom tab information.
214+
* Retrieves information about the requested custom tab on the specified account.
219215
* @param accountId The external account number (int) or account ID Guid. (required)
220-
* @param options for modifying the method behavior.
221-
* @return TabMetadataList
216+
* @param customTabId (required)
217+
* @return TabMetadata
222218
* @throws ApiException if fails to make API call
223219
*/
224-
public TabMetadataList list(String accountId, CustomTabsApi.ListOptions options) throws ApiException {
220+
public TabMetadata get(String accountId, String customTabId) throws ApiException {
225221
Object localVarPostBody = "{}";
226222

227223
// verify the required parameter 'accountId' is set
228224
if (accountId == null) {
229-
throw new ApiException(400, "Missing the required parameter 'accountId' when calling list");
225+
throw new ApiException(400, "Missing the required parameter 'accountId' when calling get");
226+
}
227+
228+
// verify the required parameter 'customTabId' is set
229+
if (customTabId == null) {
230+
throw new ApiException(400, "Missing the required parameter 'customTabId' when calling get");
230231
}
231232

232233
// create path and map variables
233-
String localVarPath = "/v2/accounts/{accountId}/tab_definitions"
234-
.replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString()));
234+
String localVarPath = "/v2/accounts/{accountId}/tab_definitions/{customTabId}"
235+
.replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString()))
236+
.replaceAll("\\{" + "customTabId" + "\\}", apiClient.escapeString(customTabId.toString()));
235237

236238
// query params
237239
java.util.List<Pair> localVarQueryParams = new java.util.ArrayList<Pair>();
238240
java.util.List<Pair> localVarCollectionQueryParams = new java.util.ArrayList<Pair>();
239241
java.util.Map<String, String> localVarHeaderParams = new java.util.HashMap<String, String>();
240242
java.util.Map<String, Object> localVarFormParams = new java.util.HashMap<String, Object>();
241243

242-
if (options != null) {
243-
localVarQueryParams.addAll(apiClient.parameterToPair("custom_tab_only", options.customTabOnly));
244-
}
244+
245245

246246

247247

@@ -259,7 +259,7 @@ public TabMetadataList list(String accountId, CustomTabsApi.ListOptions options)
259259

260260
String[] localVarAuthNames = new String[] { "docusignAccessCode" };
261261

262-
GenericType<TabMetadataList> localVarReturnType = new GenericType<TabMetadataList>() {};
262+
GenericType<TabMetadata> localVarReturnType = new GenericType<TabMetadata>() {};
263263
return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType);
264264
}
265265

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public void setApiClient(ApiClient apiClient) {
3333
/// <summary>
3434
/// Gets a list of the folders for the account. Retrieves a list of the folders for the account, including the folder hierarchy. You can specify whether to return just the template folder or template folder and normal folders by setting the &#x60;template&#x60; query string parameter.
3535
/// </summary>
36-
public class ListOptions
36+
public class CallListOptions
3737
{
3838
private String include = null;
3939
private String startPosition = null;
@@ -87,8 +87,8 @@ public String getUserFilter() {
8787
* @param accountId The external account number (int) or account ID Guid. (required)
8888
* @return FoldersResponse
8989
*/
90-
public FoldersResponse list(String accountId) throws ApiException {
91-
return list(accountId, null);
90+
public FoldersResponse callList(String accountId) throws ApiException {
91+
return callList(accountId, null);
9292
}
9393

9494
/**
@@ -99,12 +99,12 @@ public FoldersResponse list(String accountId) throws ApiException {
9999
* @return FoldersResponse
100100
* @throws ApiException if fails to make API call
101101
*/
102-
public FoldersResponse list(String accountId, FoldersApi.ListOptions options) throws ApiException {
102+
public FoldersResponse callList(String accountId, FoldersApi.CallListOptions options) throws ApiException {
103103
Object localVarPostBody = "{}";
104104

105105
// verify the required parameter 'accountId' is set
106106
if (accountId == null) {
107-
throw new ApiException(400, "Missing the required parameter 'accountId' when calling list");
107+
throw new ApiException(400, "Missing the required parameter 'accountId' when calling callList");
108108
}
109109

110110
// create path and map variables

0 commit comments

Comments
 (0)