Skip to content

Commit f27fb32

Browse files
authored
Version 5.6.0-rc1-v2.1-20.2.02.02 release (#210)
1 parent ae7018b commit f27fb32

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+5110
-394
lines changed

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.5.0",
3+
"version": "5.6.0-rc1",
44
"description": "DocuSign Node.js API client.",
55
"license": "MIT",
66
"main": "src/index.js",

src/api/AccountsApi.js

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

src/api/BulkEnvelopesApi.js

Lines changed: 129 additions & 6 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/BulkEnvelopeStatus', 'model/BulkEnvelopesResponse', 'model/BulkRecipientsResponse', 'model/BulkRecipientsSummaryResponse', 'model/BulkRecipientsUpdateResponse', 'model/BulkSendRequest', 'model/BulkSendResponse', 'model/BulkSendTestResponse', 'model/BulkSendingList', 'model/BulkSendingListSummaries', 'model/ErrorDetails'], factory);
15+
define(['Configuration', 'ApiClient', 'model/BulkEnvelopeStatus', 'model/BulkEnvelopesResponse', 'model/BulkRecipientsResponse', 'model/BulkRecipientsSummaryResponse', 'model/BulkRecipientsUpdateResponse', 'model/BulkSendBatchStatus', 'model/BulkSendBatchSummaries', 'model/BulkSendRequest', 'model/BulkSendResponse', 'model/BulkSendTestResponse', 'model/BulkSendingList', 'model/BulkSendingListSummaries', '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/BulkEnvelopeStatus'), require('../model/BulkEnvelopesResponse'), require('../model/BulkRecipientsResponse'), require('../model/BulkRecipientsSummaryResponse'), require('../model/BulkRecipientsUpdateResponse'), 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/BulkEnvelopeStatus'), require('../model/BulkEnvelopesResponse'), require('../model/BulkRecipientsResponse'), require('../model/BulkRecipientsSummaryResponse'), require('../model/BulkRecipientsUpdateResponse'), require('../model/BulkSendBatchStatus'), require('../model/BulkSendBatchSummaries'), require('../model/BulkSendRequest'), require('../model/BulkSendResponse'), require('../model/BulkSendTestResponse'), require('../model/BulkSendingList'), require('../model/BulkSendingListSummaries'), 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.BulkEnvelopeStatus, root.Docusign.BulkEnvelopesResponse, root.Docusign.BulkRecipientsResponse, root.Docusign.BulkRecipientsSummaryResponse, root.Docusign.BulkRecipientsUpdateResponse, 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.BulkEnvelopeStatus, root.Docusign.BulkEnvelopesResponse, root.Docusign.BulkRecipientsResponse, root.Docusign.BulkRecipientsSummaryResponse, root.Docusign.BulkRecipientsUpdateResponse, root.Docusign.BulkSendBatchStatus, root.Docusign.BulkSendBatchSummaries, root.Docusign.BulkSendRequest, root.Docusign.BulkSendResponse, root.Docusign.BulkSendTestResponse, root.Docusign.BulkSendingList, root.Docusign.BulkSendingListSummaries, root.Docusign.ErrorDetails);
2525
}
26-
}(this, function(Configuration, ApiClient, BulkEnvelopeStatus, BulkEnvelopesResponse, BulkRecipientsResponse, BulkRecipientsSummaryResponse, BulkRecipientsUpdateResponse, BulkSendRequest, BulkSendResponse, BulkSendTestResponse, BulkSendingList, BulkSendingListSummaries, ErrorDetails) {
26+
}(this, function(Configuration, ApiClient, BulkEnvelopeStatus, BulkEnvelopesResponse, BulkRecipientsResponse, BulkRecipientsSummaryResponse, BulkRecipientsUpdateResponse, BulkSendBatchStatus, BulkSendBatchSummaries, BulkSendRequest, BulkSendResponse, BulkSendTestResponse, BulkSendingList, BulkSendingListSummaries, ErrorDetails) {
2727
'use strict';
2828

2929
/**
@@ -444,6 +444,131 @@ After using this, the `bulkRecipientsUri` property is not returned in subsequent
444444
);
445445
};
446446

447+
/**
448+
* (Optional) Callback function to receive the result of the getBulkSendBatchStatus operation. If none specified a Promise will be returned.
449+
* @callback module:api/BulkEnvelopesApi~getBulkSendBatchStatusCallback
450+
* @param {String} error Error message, if any.
451+
* @param {module:model/BulkSendBatchStatus} data The data returned by the service call.
452+
* @param {String} If a callback was specified, the response The complete HTTP response, else a Promise resolving the response Data.
453+
*/
454+
455+
/**
456+
* Gets a specific bulk send batch status
457+
* @param {String} accountId The external account number (int) or account ID Guid.
458+
* @param {String} bulkSendBatchId
459+
* @param {module:api/BulkEnvelopesApi~getBulkSendBatchStatusCallback} callback The callback function, accepting three arguments: error, data, response
460+
* data is of type: {@link module:model/BulkSendBatchStatus}
461+
*/
462+
this.getBulkSendBatchStatus = function(accountId, bulkSendBatchId, callback) {
463+
var postBody = null;
464+
465+
// verify the required parameter 'accountId' is set
466+
if (accountId === undefined || accountId === null) {
467+
throw new Error("Missing the required parameter 'accountId' when calling getBulkSendBatchStatus");
468+
}
469+
470+
// verify the required parameter 'bulkSendBatchId' is set
471+
if (bulkSendBatchId === undefined || bulkSendBatchId === null) {
472+
throw new Error("Missing the required parameter 'bulkSendBatchId' when calling getBulkSendBatchStatus");
473+
}
474+
475+
if (typeof callback !== 'function' && arguments.length && typeof arguments[arguments.length-1] === 'function'){
476+
if (typeof optsOrCallback !== 'undefined') {
477+
optsOrCallback = callback;
478+
}
479+
callback = arguments[arguments.length-1];
480+
}
481+
482+
var pathParams = {
483+
'accountId': accountId,
484+
'bulkSendBatchId': bulkSendBatchId
485+
};
486+
var queryParams = {
487+
};
488+
var headerParams = {
489+
};
490+
var formParams = {
491+
};
492+
493+
var authNames = ['docusignAccessCode'];
494+
var contentTypes = [];
495+
var accepts = ['application/json'];
496+
var returnType = BulkSendBatchStatus;
497+
498+
return this.apiClient.callApi(
499+
'/v2.1/accounts/{accountId}/bulk_send_batch/{bulkSendBatchId}', 'GET',
500+
pathParams, queryParams, headerParams, formParams, postBody,
501+
authNames, contentTypes, accepts, returnType, callback
502+
);
503+
};
504+
505+
/**
506+
* (Optional) Callback function to receive the result of the getBulkSendBatches operation. If none specified a Promise will be returned.
507+
* @callback module:api/BulkEnvelopesApi~getBulkSendBatchesCallback
508+
* @param {String} error Error message, if any.
509+
* @param {module:model/BulkSendBatchSummaries} data The data returned by the service call.
510+
* @param {String} If a callback was specified, the response The complete HTTP response, else a Promise resolving the response Data.
511+
*/
512+
513+
/**
514+
* Returns a list of bulk send batch satuses initiated by account.
515+
* @param {String} accountId The external account number (int) or account ID Guid.
516+
* @param {Object} optsOrCallback Optional parameters, if you are passing no optional parameters, you can either pass a null or omit this parameter entirely.
517+
* @param {String} optsOrCallback.batchIds
518+
* @param {String} optsOrCallback.count
519+
* @param {String} optsOrCallback.startPosition
520+
* @param {String} optsOrCallback.status
521+
* @param {module:api/BulkEnvelopesApi~getBulkSendBatchesCallback} callback The callback function, accepting three arguments: error, data, response
522+
* data is of type: {@link module:model/BulkSendBatchSummaries}
523+
*/
524+
this.getBulkSendBatches = function(accountId, optsOrCallback, callback) {
525+
optsOrCallback = optsOrCallback || {};
526+
527+
if (typeof optsOrCallback === 'function') {
528+
callback = optsOrCallback;
529+
optsOrCallback = {};
530+
}
531+
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 getBulkSendBatches");
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+
'batch_ids': optsOrCallback['batchIds'],
551+
'count': optsOrCallback['count'],
552+
'start_position': optsOrCallback['startPosition'],
553+
'status': optsOrCallback['status']
554+
};
555+
var headerParams = {
556+
};
557+
var formParams = {
558+
};
559+
560+
var authNames = ['docusignAccessCode'];
561+
var contentTypes = [];
562+
var accepts = ['application/json'];
563+
var returnType = BulkSendBatchSummaries;
564+
565+
return this.apiClient.callApi(
566+
'/v2.1/accounts/{accountId}/bulk_send_batch', 'GET',
567+
pathParams, queryParams, headerParams, formParams, postBody,
568+
authNames, contentTypes, accepts, returnType, callback
569+
);
570+
};
571+
447572
/**
448573
* (Optional) Callback function to receive the result of the getBulkSendList operation. If none specified a Promise will be returned.
449574
* @callback module:api/BulkEnvelopesApi~getBulkSendListCallback
@@ -647,7 +772,6 @@ The response returns information about the envelopes sent with bulk recipient ba
647772
* @param {String} accountId The external account number (int) or account ID Guid.
648773
* @param {Object} optsOrCallback Optional parameters, if you are passing no optional parameters, you can either pass a null or omit this parameter entirely.
649774
* @param {String} optsOrCallback.count The number of results to return. This can be 1 to 20.
650-
* @param {String} optsOrCallback.include
651775
* @param {String} optsOrCallback.startPosition The position of the bulk envelope items in the response. This is used for repeated calls, when the number of bulk envelopes returned is too large for one return. The default value is 0.
652776
* @param {module:api/BulkEnvelopesApi~listCallback} callback The callback function, accepting three arguments: error, data, response
653777
* data is of type: {@link module:model/BulkEnvelopesResponse}
@@ -679,7 +803,6 @@ The response returns information about the envelopes sent with bulk recipient ba
679803
};
680804
var queryParams = {
681805
'count': optsOrCallback['count'],
682-
'include': optsOrCallback['include'],
683806
'start_position': optsOrCallback['startPosition']
684807
};
685808
var headerParams = {

src/api/CommentsApi.js

Lines changed: 0 additions & 192 deletions
This file was deleted.

0 commit comments

Comments
 (0)