Skip to content

Commit 6c3b68b

Browse files
Version 5.10.0-rc1-v2.1-21.1.02.00 release (#250)
Co-authored-by: DevCenter-DocuSign <[email protected]>
1 parent 2e138be commit 6c3b68b

24 files changed

+395
-2204
lines changed

CHANGELOG.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,21 @@
11
# DocuSign Node Client Changelog
22

33
See [DocuSign Support Center](https://support.docusign.com/en/releasenotes/) for Product Release Notes.
4+
## [v5.10.0-rc1] - eSignature API v2.1-21.1.02.00
5+
### Breaking
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+
12+
### Added
13+
- Added new methods `getBulkSendBatchEnvelopes` to BulkEnvelopes.
14+
15+
### Changed
16+
- Added support for version v2.1-21.1.02.00 of the DocuSign eSignature API.
17+
- Updated the SDK release version.
18+
419
## [v5.9.0] - eSignature API v2.1-21.1.01.03
520
### Changed
621
- Added support for version v2.1-21.1.01.03 of the DocuSign eSignature API.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "docusign-esign",
3-
"version": "5.9.0",
3+
"version": "5.10.0-rc1",
44
"description": "DocuSign Node.js API client.",
55
"license": "MIT",
66
"main": "src/index.js",

src/api/AccountsApi.js

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

src/api/BulkEnvelopesApi.js

Lines changed: 86 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,18 +12,18 @@
1212
(function(root, factory) {
1313
if (typeof define === 'function' && define.amd) {
1414
// AMD. Register as an anonymous module.
15-
define(['Configuration', 'ApiClient', 'model/BulkSendBatchRequest', 'model/BulkSendBatchStatus', 'model/BulkSendBatchSummaries', 'model/BulkSendRequest', 'model/BulkSendResponse', 'model/BulkSendTestResponse', 'model/BulkSendingList', 'model/BulkSendingListSummaries', 'model/ErrorDetails'], factory);
15+
define(['Configuration', 'ApiClient', 'model/BulkSendBatchRequest', 'model/BulkSendBatchStatus', 'model/BulkSendBatchSummaries', 'model/BulkSendRequest', 'model/BulkSendResponse', 'model/BulkSendTestResponse', 'model/BulkSendingList', 'model/BulkSendingListSummaries', 'model/EnvelopesInformation', 'model/ErrorDetails'], factory);
1616
} else if (typeof module === 'object' && module.exports) {
1717
// CommonJS-like environments that support module.exports, like Node.
18-
module.exports = factory(require('../Configuration'), require('../ApiClient'), require('../model/BulkSendBatchRequest'), require('../model/BulkSendBatchStatus'), require('../model/BulkSendBatchSummaries'), require('../model/BulkSendRequest'), require('../model/BulkSendResponse'), require('../model/BulkSendTestResponse'), require('../model/BulkSendingList'), require('../model/BulkSendingListSummaries'), require('../model/ErrorDetails'));
18+
module.exports = factory(require('../Configuration'), require('../ApiClient'), require('../model/BulkSendBatchRequest'), require('../model/BulkSendBatchStatus'), require('../model/BulkSendBatchSummaries'), require('../model/BulkSendRequest'), require('../model/BulkSendResponse'), require('../model/BulkSendTestResponse'), require('../model/BulkSendingList'), require('../model/BulkSendingListSummaries'), require('../model/EnvelopesInformation'), require('../model/ErrorDetails'));
1919
} else {
2020
// Browser globals (root is window)
2121
if (!root.Docusign) {
2222
root.Docusign = {};
2323
}
24-
root.Docusign.BulkEnvelopesApi = factory(root.Docusign.Configuration, root.Docusign.ApiClient, root.Docusign.BulkSendBatchRequest, root.Docusign.BulkSendBatchStatus, root.Docusign.BulkSendBatchSummaries, root.Docusign.BulkSendRequest, root.Docusign.BulkSendResponse, root.Docusign.BulkSendTestResponse, root.Docusign.BulkSendingList, root.Docusign.BulkSendingListSummaries, root.Docusign.ErrorDetails);
24+
root.Docusign.BulkEnvelopesApi = factory(root.Docusign.Configuration, root.Docusign.ApiClient, root.Docusign.BulkSendBatchRequest, root.Docusign.BulkSendBatchStatus, root.Docusign.BulkSendBatchSummaries, root.Docusign.BulkSendRequest, root.Docusign.BulkSendResponse, root.Docusign.BulkSendTestResponse, root.Docusign.BulkSendingList, root.Docusign.BulkSendingListSummaries, root.Docusign.EnvelopesInformation, root.Docusign.ErrorDetails);
2525
}
26-
}(this, function(Configuration, ApiClient, BulkSendBatchRequest, BulkSendBatchStatus, BulkSendBatchSummaries, BulkSendRequest, BulkSendResponse, BulkSendTestResponse, BulkSendingList, BulkSendingListSummaries, ErrorDetails) {
26+
}(this, function(Configuration, ApiClient, BulkSendBatchRequest, BulkSendBatchStatus, BulkSendBatchSummaries, BulkSendRequest, BulkSendResponse, BulkSendTestResponse, BulkSendingList, BulkSendingListSummaries, EnvelopesInformation, ErrorDetails) {
2727
'use strict';
2828

2929
/**
@@ -303,6 +303,88 @@
303303
);
304304
};
305305

306+
/**
307+
* (Optional) Callback function to receive the result of the getBulkSendBatchEnvelopes operation. If none specified a Promise will be returned.
308+
* @callback module:api/BulkEnvelopesApi~getBulkSendBatchEnvelopesCallback
309+
* @param {String} error Error message, if any.
310+
* @param {module:model/EnvelopesInformation} data The data returned by the service call.
311+
* @param {String} If a callback was specified, the response The complete HTTP response, else a Promise resolving the response Data.
312+
*/
313+
314+
/**
315+
* Gets envelopes from a specific bulk send batch
316+
* @param {String} accountId The external account number (int) or account ID Guid.
317+
* @param {String} bulkSendBatchId
318+
* @param {Object} optsOrCallback Optional parameters, if you are passing no optional parameters, you can either pass a null or omit this parameter entirely.
319+
* @param {Number} optsOrCallback.count
320+
* @param {String} optsOrCallback.include
321+
* @param {String} optsOrCallback.order
322+
* @param {String} optsOrCallback.orderBy
323+
* @param {String} optsOrCallback.searchText
324+
* @param {Number} optsOrCallback.startPosition
325+
* @param {String} optsOrCallback.status
326+
* @param {String} optsOrCallback.userId
327+
* @param {module:api/BulkEnvelopesApi~getBulkSendBatchEnvelopesCallback} callback The callback function, accepting three arguments: error, data, response
328+
* data is of type: {@link module:model/EnvelopesInformation}
329+
*/
330+
this.getBulkSendBatchEnvelopes = function(accountId, bulkSendBatchId, optsOrCallback, callback) {
331+
optsOrCallback = optsOrCallback || {};
332+
333+
if (typeof optsOrCallback === 'function') {
334+
callback = optsOrCallback;
335+
optsOrCallback = {};
336+
}
337+
338+
var postBody = null;
339+
340+
// verify the required parameter 'accountId' is set
341+
if (accountId === undefined || accountId === null) {
342+
throw new Error("Missing the required parameter 'accountId' when calling getBulkSendBatchEnvelopes");
343+
}
344+
345+
// verify the required parameter 'bulkSendBatchId' is set
346+
if (bulkSendBatchId === undefined || bulkSendBatchId === null) {
347+
throw new Error("Missing the required parameter 'bulkSendBatchId' when calling getBulkSendBatchEnvelopes");
348+
}
349+
350+
if (typeof callback !== 'function' && arguments.length && typeof arguments[arguments.length-1] === 'function'){
351+
if (typeof optsOrCallback !== 'undefined') {
352+
optsOrCallback = callback;
353+
}
354+
callback = arguments[arguments.length-1];
355+
}
356+
357+
var pathParams = {
358+
'accountId': accountId,
359+
'bulkSendBatchId': bulkSendBatchId
360+
};
361+
var queryParams = {
362+
'count': optsOrCallback['count'],
363+
'include': optsOrCallback['include'],
364+
'order': optsOrCallback['order'],
365+
'order_by': optsOrCallback['orderBy'],
366+
'search_text': optsOrCallback['searchText'],
367+
'start_position': optsOrCallback['startPosition'],
368+
'status': optsOrCallback['status'],
369+
'user_id': optsOrCallback['userId']
370+
};
371+
var headerParams = {
372+
};
373+
var formParams = {
374+
};
375+
376+
var authNames = ['docusignAccessCode'];
377+
var contentTypes = [];
378+
var accepts = ['application/json'];
379+
var returnType = EnvelopesInformation;
380+
381+
return this.apiClient.callApi(
382+
'/v2.1/accounts/{accountId}/bulk_send_batch/{bulkSendBatchId}/envelopes', 'GET',
383+
pathParams, queryParams, headerParams, formParams, postBody,
384+
authNames, contentTypes, accepts, returnType, callback
385+
);
386+
};
387+
306388
/**
307389
* (Optional) Callback function to receive the result of the getBulkSendBatchStatus operation. If none specified a Promise will be returned.
308390
* @callback module:api/BulkEnvelopesApi~getBulkSendBatchStatusCallback

src/api/ConnectApi.js

Lines changed: 0 additions & 207 deletions
Original file line numberDiff line numberDiff line change
@@ -114,56 +114,6 @@
114114
);
115115
};
116116

117-
/**
118-
* (Optional) Callback function to receive the result of the createConnectSecret operation. If none specified a Promise will be returned.
119-
* @callback module:api/ConnectApi~createConnectSecretCallback
120-
* @param {String} error Error message, if any.
121-
* @param data This operation does not return a value.
122-
* @param {String} If a callback was specified, the response The complete HTTP response, else a Promise resolving the response Data.
123-
*/
124-
125-
/**
126-
* Generates a new connect HMAC Secret.
127-
* @param {String} accountId The external account number (int) or account ID Guid.
128-
* @param {module:api/ConnectApi~createConnectSecretCallback} callback The callback function, accepting three arguments: error, data, response
129-
*/
130-
this.createConnectSecret = function(accountId, callback) {
131-
var postBody = null;
132-
133-
// verify the required parameter 'accountId' is set
134-
if (accountId === undefined || accountId === null) {
135-
throw new Error("Missing the required parameter 'accountId' when calling createConnectSecret");
136-
}
137-
138-
if (typeof callback !== 'function' && arguments.length && typeof arguments[arguments.length-1] === 'function'){
139-
if (typeof optsOrCallback !== 'undefined') {
140-
optsOrCallback = callback;
141-
}
142-
callback = arguments[arguments.length-1];
143-
}
144-
145-
var pathParams = {
146-
'accountId': accountId
147-
};
148-
var queryParams = {
149-
};
150-
var headerParams = {
151-
};
152-
var formParams = {
153-
};
154-
155-
var authNames = ['docusignAccessCode'];
156-
var contentTypes = [];
157-
var accepts = ['application/json'];
158-
var returnType = null;
159-
160-
return this.apiClient.callApi(
161-
'/v2.1/accounts/{accountId}/connect/secret', 'POST',
162-
pathParams, queryParams, headerParams, formParams, postBody,
163-
authNames, contentTypes, accepts, returnType, callback
164-
);
165-
};
166-
167117
/**
168118
* (Optional) Callback function to receive the result of the deleteConfiguration operation. If none specified a Promise will be returned.
169119
* @callback module:api/ConnectApi~deleteConfigurationCallback
@@ -227,63 +177,6 @@
227177
);
228178
};
229179

230-
/**
231-
* (Optional) Callback function to receive the result of the deleteConnectSecret operation. If none specified a Promise will be returned.
232-
* @callback module:api/ConnectApi~deleteConnectSecretCallback
233-
* @param {String} error Error message, if any.
234-
* @param data This operation does not return a value.
235-
* @param {String} If a callback was specified, the response The complete HTTP response, else a Promise resolving the response Data.
236-
*/
237-
238-
/**
239-
* Delete the connect HMAC Secret for AccountID
240-
* @param {String} accountId The external account number (int) or account ID Guid.
241-
* @param {String} keyId
242-
* @param {module:api/ConnectApi~deleteConnectSecretCallback} callback The callback function, accepting three arguments: error, data, response
243-
*/
244-
this.deleteConnectSecret = function(accountId, keyId, callback) {
245-
var postBody = null;
246-
247-
// verify the required parameter 'accountId' is set
248-
if (accountId === undefined || accountId === null) {
249-
throw new Error("Missing the required parameter 'accountId' when calling deleteConnectSecret");
250-
}
251-
252-
// verify the required parameter 'keyId' is set
253-
if (keyId === undefined || keyId === null) {
254-
throw new Error("Missing the required parameter 'keyId' when calling deleteConnectSecret");
255-
}
256-
257-
if (typeof callback !== 'function' && arguments.length && typeof arguments[arguments.length-1] === 'function'){
258-
if (typeof optsOrCallback !== 'undefined') {
259-
optsOrCallback = callback;
260-
}
261-
callback = arguments[arguments.length-1];
262-
}
263-
264-
var pathParams = {
265-
'accountId': accountId,
266-
'keyId': keyId
267-
};
268-
var queryParams = {
269-
};
270-
var headerParams = {
271-
};
272-
var formParams = {
273-
};
274-
275-
var authNames = ['docusignAccessCode'];
276-
var contentTypes = [];
277-
var accepts = ['application/json'];
278-
var returnType = null;
279-
280-
return this.apiClient.callApi(
281-
'/v2.1/accounts/{accountId}/connect/secret/{keyId}', 'DELETE',
282-
pathParams, queryParams, headerParams, formParams, postBody,
283-
authNames, contentTypes, accepts, returnType, callback
284-
);
285-
};
286-
287180
/**
288181
* (Optional) Callback function to receive the result of the deleteEventFailureLog operation. If none specified a Promise will be returned.
289182
* @callback module:api/ConnectApi~deleteEventFailureLogCallback
@@ -515,56 +408,6 @@
515408
);
516409
};
517410

518-
/**
519-
* (Optional) Callback function to receive the result of the generateConnectSecret operation. If none specified a Promise will be returned.
520-
* @callback module:api/ConnectApi~generateConnectSecretCallback
521-
* @param {String} error Error message, if any.
522-
* @param data This operation does not return a value.
523-
* @param {String} If a callback was specified, the response The complete HTTP response, else a Promise resolving the response Data.
524-
*/
525-
526-
/**
527-
* Generates a new connect HMAC Secret.
528-
* @param {String} accountId The external account number (int) or account ID Guid.
529-
* @param {module:api/ConnectApi~generateConnectSecretCallback} callback The callback function, accepting three arguments: error, data, response
530-
*/
531-
this.generateConnectSecret = function(accountId, callback) {
532-
var postBody = null;
533-
534-
// verify the required parameter 'accountId' is set
535-
if (accountId === undefined || accountId === null) {
536-
throw new Error("Missing the required parameter 'accountId' when calling generateConnectSecret");
537-
}
538-
539-
if (typeof callback !== 'function' && arguments.length && typeof arguments[arguments.length-1] === 'function'){
540-
if (typeof optsOrCallback !== 'undefined') {
541-
optsOrCallback = callback;
542-
}
543-
callback = arguments[arguments.length-1];
544-
}
545-
546-
var pathParams = {
547-
'accountId': accountId
548-
};
549-
var queryParams = {
550-
};
551-
var headerParams = {
552-
};
553-
var formParams = {
554-
};
555-
556-
var authNames = ['docusignAccessCode'];
557-
var contentTypes = [];
558-
var accepts = ['application/json'];
559-
var returnType = null;
560-
561-
return this.apiClient.callApi(
562-
'/v2.1/accounts/{accountId}/connect/secret', 'GET',
563-
pathParams, queryParams, headerParams, formParams, postBody,
564-
authNames, contentTypes, accepts, returnType, callback
565-
);
566-
};
567-
568411
/**
569412
* (Optional) Callback function to receive the result of the getConfiguration operation. If none specified a Promise will be returned.
570413
* @callback module:api/ConnectApi~getConfigurationCallback
@@ -627,56 +470,6 @@
627470
);
628471
};
629472

630-
/**
631-
* (Optional) Callback function to receive the result of the getConnectSecrets operation. If none specified a Promise will be returned.
632-
* @callback module:api/ConnectApi~getConnectSecretsCallback
633-
* @param {String} error Error message, if any.
634-
* @param data This operation does not return a value.
635-
* @param {String} If a callback was specified, the response The complete HTTP response, else a Promise resolving the response Data.
636-
*/
637-
638-
/**
639-
* Get the connect HMAC Secrets for AccountID
640-
* @param {String} accountId The external account number (int) or account ID Guid.
641-
* @param {module:api/ConnectApi~getConnectSecretsCallback} callback The callback function, accepting three arguments: error, data, response
642-
*/
643-
this.getConnectSecrets = function(accountId, callback) {
644-
var postBody = null;
645-
646-
// verify the required parameter 'accountId' is set
647-
if (accountId === undefined || accountId === null) {
648-
throw new Error("Missing the required parameter 'accountId' when calling getConnectSecrets");
649-
}
650-
651-
if (typeof callback !== 'function' && arguments.length && typeof arguments[arguments.length-1] === 'function'){
652-
if (typeof optsOrCallback !== 'undefined') {
653-
optsOrCallback = callback;
654-
}
655-
callback = arguments[arguments.length-1];
656-
}
657-
658-
var pathParams = {
659-
'accountId': accountId
660-
};
661-
var queryParams = {
662-
};
663-
var headerParams = {
664-
};
665-
var formParams = {
666-
};
667-
668-
var authNames = ['docusignAccessCode'];
669-
var contentTypes = [];
670-
var accepts = ['application/json'];
671-
var returnType = null;
672-
673-
return this.apiClient.callApi(
674-
'/v2.1/accounts/{accountId}/connect/secrets', 'GET',
675-
pathParams, queryParams, headerParams, formParams, postBody,
676-
authNames, contentTypes, accepts, returnType, callback
677-
);
678-
};
679-
680473
/**
681474
* (Optional) Callback function to receive the result of the getEventLog operation. If none specified a Promise will be returned.
682475
* @callback module:api/ConnectApi~getEventLogCallback

0 commit comments

Comments
 (0)