Skip to content

Commit bbf5aa5

Browse files
Version 3.13.0-RC1-v2.1-21.1.02.00 release (#192)
Co-authored-by: DevCenter-DocuSign <[email protected]>
1 parent 9503c2d commit bbf5aa5

26 files changed

+963
-1929
lines changed

CHANGELOG.md

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

4+
## [v3.13.0-RC1] - eSignature API v2.1-21.1.02.00 - 2021-05-24
5+
### Removed
6+
- Removed methods `getAccountSettingsExport`,`getSealProviders` from Accounts.
7+
- Removed methods `createConnectSecret`,`deleteConnectSecret`,`generateConnectSecret`,`getConnectSecrets` from Connect.
8+
- Removed methods `getDynamicSystemSettings`,`getTemplateInfo`,`getApplianceInfo`,`getAccount`,`getCustomFields`,`deleteCustomFieldsV2`,`getDocumentPages`,`getImage`,`getLocalePolicy`,`updatePageInfo`,`createPageInfo`,`deletePageInfo`,`updatePdf`,`getPdf`,`getPdfBlob`,`updatePdfBlob`,`createPdfBlob`,`updateRecipientDeniedDocumentCopy`,`deleteRecipientDeniedDocumentCopy`,`getSignerAttachment`,`deleteSignerAttachment`, from Envelopes.
9+
- Removed methods `completeSignHash`,`getUserInfo`,`healthCheck`,`signHashSessionInfo`,`updateTransaction` from TrustServiceProviders.
10+
- Removed methods `getUserListExport` from Users.
11+
### Added
12+
- Added new methods `getBulkSendBatchEnvelopes` to BulkEnvelopes.
13+
### Changed
14+
- Added support for version v2.1-21.1.02.00 of the DocuSign eSignature API.
15+
- Updated the SDK release version.
16+
417
## [v3.12.0] - eSignature API v2.1-21.1.01.03 - 2021-04-26
518
### Added
619
- Added new methods `deleteCustomFieldsV2`, `deletePageInfoV2`, `getApplianceEnvelopeInfo`, `getTemplateInfo` to envelopes.

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.12.0</version>
30+
<version>3.13.0-RC1</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.12.0'
5+
version = '3.13.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.12.0</version>
7+
<version>3.13.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: 0 additions & 100 deletions
Original file line numberDiff line numberDiff line change
@@ -1203,59 +1203,6 @@ public AccountInformation getAccountInformation(String accountId, AccountsApi.Ge
12031203
return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType);
12041204
}
12051205

1206-
/**
1207-
* Retrieves an account settings comparison.
1208-
*
1209-
* @param organizationId (required)
1210-
* @param resultId (required)
1211-
* @throws ApiException if fails to make API call
1212-
*/
1213-
public void getAccountSettingsExport(String organizationId, String resultId) throws ApiException {
1214-
Object localVarPostBody = "{}";
1215-
1216-
// verify the required parameter 'organizationId' is set
1217-
if (organizationId == null) {
1218-
throw new ApiException(400, "Missing the required parameter 'organizationId' when calling getAccountSettingsExport");
1219-
}
1220-
1221-
// verify the required parameter 'resultId' is set
1222-
if (resultId == null) {
1223-
throw new ApiException(400, "Missing the required parameter 'resultId' when calling getAccountSettingsExport");
1224-
}
1225-
1226-
// create path and map variables
1227-
String localVarPath = "/v2.1/organization_exports/{organizationId}/account_settings/{resultId}"
1228-
.replaceAll("\\{" + "organizationId" + "\\}", apiClient.escapeString(organizationId.toString()))
1229-
.replaceAll("\\{" + "resultId" + "\\}", apiClient.escapeString(resultId.toString()));
1230-
1231-
// query params
1232-
java.util.List<Pair> localVarQueryParams = new java.util.ArrayList<Pair>();
1233-
java.util.List<Pair> localVarCollectionQueryParams = new java.util.ArrayList<Pair>();
1234-
java.util.Map<String, String> localVarHeaderParams = new java.util.HashMap<String, String>();
1235-
java.util.Map<String, Object> localVarFormParams = new java.util.HashMap<String, Object>();
1236-
1237-
1238-
1239-
1240-
1241-
1242-
1243-
final String[] localVarAccepts = {
1244-
"application/json"
1245-
};
1246-
final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts);
1247-
1248-
final String[] localVarContentTypes = {
1249-
1250-
};
1251-
final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);
1252-
1253-
String[] localVarAuthNames = new String[] { "docusignAccessCode" };
1254-
1255-
1256-
apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, null);
1257-
}
1258-
12591206
/**
12601207
* Returns information about a single signature by specifed signatureId.
12611208
*
@@ -2680,53 +2627,6 @@ public ReportInProductList getReportInProductList(String accountId) throws ApiEx
26802627
return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType);
26812628
}
26822629

2683-
/**
2684-
* Returns Account available seals for specified account.
2685-
*
2686-
* @param accountId The external account number (int) or account ID Guid. (required)
2687-
* @return AccountSeals
2688-
* @throws ApiException if fails to make API call
2689-
*/
2690-
public AccountSeals getSealProviders(String accountId) throws ApiException {
2691-
Object localVarPostBody = "{}";
2692-
2693-
// verify the required parameter 'accountId' is set
2694-
if (accountId == null) {
2695-
throw new ApiException(400, "Missing the required parameter 'accountId' when calling getSealProviders");
2696-
}
2697-
2698-
// create path and map variables
2699-
String localVarPath = "/v2.1/accounts/{accountId}/seals"
2700-
.replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString()));
2701-
2702-
// query params
2703-
java.util.List<Pair> localVarQueryParams = new java.util.ArrayList<Pair>();
2704-
java.util.List<Pair> localVarCollectionQueryParams = new java.util.ArrayList<Pair>();
2705-
java.util.Map<String, String> localVarHeaderParams = new java.util.HashMap<String, String>();
2706-
java.util.Map<String, Object> localVarFormParams = new java.util.HashMap<String, Object>();
2707-
2708-
2709-
2710-
2711-
2712-
2713-
2714-
final String[] localVarAccepts = {
2715-
"application/json"
2716-
};
2717-
final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts);
2718-
2719-
final String[] localVarContentTypes = {
2720-
2721-
};
2722-
final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);
2723-
2724-
String[] localVarAuthNames = new String[] { "docusignAccessCode" };
2725-
2726-
GenericType<AccountSeals> localVarReturnType = new GenericType<AccountSeals>() {};
2727-
return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType);
2728-
}
2729-
27302630
/**
27312631
* Gets list of supported languages for recipient language setting.
27322632
*

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

Lines changed: 176 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,182 @@ public BulkSendingListSummaries deleteBulkSendList(String accountId, String bulk
242242
GenericType<BulkSendingListSummaries> localVarReturnType = new GenericType<BulkSendingListSummaries>() {};
243243
return apiClient.invokeAPI(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType);
244244
}
245+
/// <summary>
246+
/// Gets envelopes from a specific bulk send batch
247+
/// </summary>
248+
public class GetBulkSendBatchEnvelopesOptions
249+
{
250+
private Integer count = null;
251+
private String include = null;
252+
private String order = null;
253+
private String orderBy = null;
254+
private String searchText = null;
255+
private Integer startPosition = null;
256+
private String status = null;
257+
private java.util.UUID userId = null;
258+
/*
259+
*
260+
*/
261+
public void setCount(Integer count) {
262+
this.count = count;
263+
}
264+
265+
public Integer getCount() {
266+
return this.count;
267+
}
268+
/*
269+
*
270+
*/
271+
public void setInclude(String include) {
272+
this.include = include;
273+
}
274+
275+
public String getInclude() {
276+
return this.include;
277+
}
278+
/*
279+
*
280+
*/
281+
public void setOrder(String order) {
282+
this.order = order;
283+
}
284+
285+
public String getOrder() {
286+
return this.order;
287+
}
288+
/*
289+
*
290+
*/
291+
public void setOrderBy(String orderBy) {
292+
this.orderBy = orderBy;
293+
}
294+
295+
public String getOrderBy() {
296+
return this.orderBy;
297+
}
298+
/*
299+
*
300+
*/
301+
public void setSearchText(String searchText) {
302+
this.searchText = searchText;
303+
}
304+
305+
public String getSearchText() {
306+
return this.searchText;
307+
}
308+
/*
309+
*
310+
*/
311+
public void setStartPosition(Integer startPosition) {
312+
this.startPosition = startPosition;
313+
}
314+
315+
public Integer getStartPosition() {
316+
return this.startPosition;
317+
}
318+
/*
319+
*
320+
*/
321+
public void setStatus(String status) {
322+
this.status = status;
323+
}
324+
325+
public String getStatus() {
326+
return this.status;
327+
}
328+
/*
329+
*
330+
*/
331+
public void setUserId(java.util.UUID userId) {
332+
this.userId = userId;
333+
}
334+
335+
public java.util.UUID getUserId() {
336+
return this.userId;
337+
}
338+
}
339+
340+
/**
341+
* Gets envelopes from a specific bulk send batch
342+
*
343+
* @param accountId The external account number (int) or account ID Guid. (required)
344+
* @param bulkSendBatchId (required)
345+
* @return EnvelopesInformation
346+
*/
347+
public EnvelopesInformation getBulkSendBatchEnvelopes(String accountId, String bulkSendBatchId) throws ApiException {
348+
return getBulkSendBatchEnvelopes(accountId, bulkSendBatchId, null);
349+
}
350+
351+
/**
352+
* Gets envelopes from a specific bulk send batch
353+
*
354+
* @param accountId The external account number (int) or account ID Guid. (required)
355+
* @param bulkSendBatchId (required)
356+
* @param options for modifying the method behavior.
357+
* @return EnvelopesInformation
358+
* @throws ApiException if fails to make API call
359+
*/
360+
public EnvelopesInformation getBulkSendBatchEnvelopes(String accountId, String bulkSendBatchId, BulkEnvelopesApi.GetBulkSendBatchEnvelopesOptions options) throws ApiException {
361+
Object localVarPostBody = "{}";
362+
363+
// verify the required parameter 'accountId' is set
364+
if (accountId == null) {
365+
throw new ApiException(400, "Missing the required parameter 'accountId' when calling getBulkSendBatchEnvelopes");
366+
}
367+
368+
// verify the required parameter 'bulkSendBatchId' is set
369+
if (bulkSendBatchId == null) {
370+
throw new ApiException(400, "Missing the required parameter 'bulkSendBatchId' when calling getBulkSendBatchEnvelopes");
371+
}
372+
373+
// create path and map variables
374+
String localVarPath = "/v2.1/accounts/{accountId}/bulk_send_batch/{bulkSendBatchId}/envelopes"
375+
.replaceAll("\\{" + "accountId" + "\\}", apiClient.escapeString(accountId.toString()))
376+
.replaceAll("\\{" + "bulkSendBatchId" + "\\}", apiClient.escapeString(bulkSendBatchId.toString()));
377+
378+
// query params
379+
java.util.List<Pair> localVarQueryParams = new java.util.ArrayList<Pair>();
380+
java.util.List<Pair> localVarCollectionQueryParams = new java.util.ArrayList<Pair>();
381+
java.util.Map<String, String> localVarHeaderParams = new java.util.HashMap<String, String>();
382+
java.util.Map<String, Object> localVarFormParams = new java.util.HashMap<String, Object>();
383+
384+
if (options != null) {
385+
localVarQueryParams.addAll(apiClient.parameterToPair("count", options.count));
386+
}if (options != null) {
387+
localVarQueryParams.addAll(apiClient.parameterToPair("include", options.include));
388+
}if (options != null) {
389+
localVarQueryParams.addAll(apiClient.parameterToPair("order", options.order));
390+
}if (options != null) {
391+
localVarQueryParams.addAll(apiClient.parameterToPair("order_by", options.orderBy));
392+
}if (options != null) {
393+
localVarQueryParams.addAll(apiClient.parameterToPair("search_text", options.searchText));
394+
}if (options != null) {
395+
localVarQueryParams.addAll(apiClient.parameterToPair("start_position", options.startPosition));
396+
}if (options != null) {
397+
localVarQueryParams.addAll(apiClient.parameterToPair("status", options.status));
398+
}if (options != null) {
399+
localVarQueryParams.addAll(apiClient.parameterToPair("user_id", options.userId));
400+
}
401+
402+
403+
404+
405+
406+
final String[] localVarAccepts = {
407+
"application/json"
408+
};
409+
final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts);
410+
411+
final String[] localVarContentTypes = {
412+
413+
};
414+
final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);
415+
416+
String[] localVarAuthNames = new String[] { "docusignAccessCode" };
417+
418+
GenericType<EnvelopesInformation> localVarReturnType = new GenericType<EnvelopesInformation>() {};
419+
return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType);
420+
}
245421

246422
/**
247423
* Gets a specific bulk send batch status

0 commit comments

Comments
 (0)