Skip to content

Commit f3d09c8

Browse files
dbbrahmbhattroot
andauthored
Version 5.15.0-v2.1-21.4.02.00 release (#287)
Co-authored-by: root <root@devcenteradmin.docusigntest.com>
1 parent 33c9259 commit f3d09c8

23 files changed

Lines changed: 387 additions & 42 deletions

CHANGELOG.md

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

44

5+
## [v5.15.0] - eSignature API v2.1-21.4.02.00 - 2022-02-08
6+
### Changed
7+
- Added support for version v2.1-21.4.02.00 of the DocuSign ESignature API.
8+
- Updated the SDK release version.
9+
510
## [v5.14.0] - eSignature API v2.1-21.4.01.00 - 2022-01-06
611
### Changed
712
- Added support for version v2.1-21.4.01.00 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.14.0",
3+
"version": "5.15.0",
44
"description": "DocuSign Node.js API client.",
55
"license": "MIT",
66
"main": "src/index.js",

src/api/BulkEnvelopesApi.js

Lines changed: 78 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/EnvelopesInformation', 'model/ErrorDetails'], factory);
15+
define(['Configuration', 'ApiClient', 'model/BulkSendBatchActionRequest', '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/EnvelopesInformation'), require('../model/ErrorDetails'));
18+
module.exports = factory(require('../Configuration'), require('../ApiClient'), require('../model/BulkSendBatchActionRequest'), 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.EnvelopesInformation, root.Docusign.ErrorDetails);
24+
root.Docusign.BulkEnvelopesApi = factory(root.Docusign.Configuration, root.Docusign.ApiClient, root.Docusign.BulkSendBatchActionRequest, 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, EnvelopesInformation, ErrorDetails) {
26+
}(this, function(Configuration, ApiClient, BulkSendBatchActionRequest, BulkSendBatchRequest, BulkSendBatchStatus, BulkSendBatchSummaries, BulkSendRequest, BulkSendResponse, BulkSendTestResponse, BulkSendingList, BulkSendingListSummaries, EnvelopesInformation, ErrorDetails) {
2727
'use strict';
2828

2929
/**
@@ -621,6 +621,80 @@
621621
);
622622
};
623623

624+
/**
625+
* (Optional) Callback function to receive the result of the updateBulkSendBatchAction operation. If none specified a Promise will be returned.
626+
* @callback module:api/BulkEnvelopesApi~updateBulkSendBatchActionCallback
627+
* @param {String} error Error message, if any.
628+
* @param {module:model/BulkSendBatchStatus} data The data returned by the service call.
629+
* @param {String} If a callback was specified, the response The complete HTTP response, else a Promise resolving the response Data.
630+
*/
631+
632+
/**
633+
* Initiate a specific bulk send batch action
634+
* @param {String} accountId The external account number (int) or account ID Guid.
635+
* @param {String} bulkSendBatchId
636+
* @param {String} bulkAction
637+
* @param {Object} optsOrCallback Optional parameters, if you are passing no optional parameters, you can either pass a null or omit this parameter entirely.
638+
* @param {module:model/BulkSendBatchActionRequest} optsOrCallback.bulkSendBatchActionRequest
639+
* @param {module:api/BulkEnvelopesApi~updateBulkSendBatchActionCallback} callback The callback function, accepting three arguments: error, data, response
640+
* data is of type: {@link module:model/BulkSendBatchStatus}
641+
*/
642+
this.updateBulkSendBatchAction = function(accountId, bulkSendBatchId, bulkAction, optsOrCallback, callback) {
643+
optsOrCallback = optsOrCallback || {};
644+
645+
if (typeof optsOrCallback === 'function') {
646+
callback = optsOrCallback;
647+
optsOrCallback = {};
648+
}
649+
650+
var postBody = optsOrCallback['bulkSendBatchActionRequest'];
651+
652+
// verify the required parameter 'accountId' is set
653+
if (accountId === undefined || accountId === null) {
654+
throw new Error("Missing the required parameter 'accountId' when calling updateBulkSendBatchAction");
655+
}
656+
657+
// verify the required parameter 'bulkSendBatchId' is set
658+
if (bulkSendBatchId === undefined || bulkSendBatchId === null) {
659+
throw new Error("Missing the required parameter 'bulkSendBatchId' when calling updateBulkSendBatchAction");
660+
}
661+
662+
// verify the required parameter 'bulkAction' is set
663+
if (bulkAction === undefined || bulkAction === null) {
664+
throw new Error("Missing the required parameter 'bulkAction' when calling updateBulkSendBatchAction");
665+
}
666+
667+
if (typeof callback !== 'function' && arguments.length && typeof arguments[arguments.length-1] === 'function'){
668+
if (typeof optsOrCallback !== 'undefined') {
669+
optsOrCallback = callback;
670+
}
671+
callback = arguments[arguments.length-1];
672+
}
673+
674+
var pathParams = {
675+
'accountId': accountId,
676+
'bulkSendBatchId': bulkSendBatchId,
677+
'bulkAction': bulkAction
678+
};
679+
var queryParams = {
680+
};
681+
var headerParams = {
682+
};
683+
var formParams = {
684+
};
685+
686+
var authNames = ['docusignAccessCode'];
687+
var contentTypes = [];
688+
var accepts = ['application/json'];
689+
var returnType = BulkSendBatchStatus;
690+
691+
return this.apiClient.callApi(
692+
'/v2.1/accounts/{accountId}/bulk_send_batch/{bulkSendBatchId}/{bulkAction}', 'PUT',
693+
pathParams, queryParams, headerParams, formParams, postBody,
694+
authNames, contentTypes, accepts, returnType, callback
695+
);
696+
};
697+
624698
/**
625699
* (Optional) Callback function to receive the result of the updateBulkSendBatchStatus operation. If none specified a Promise will be returned.
626700
* @callback module:api/BulkEnvelopesApi~updateBulkSendBatchStatusCallback

0 commit comments

Comments
 (0)