Skip to content

Commit 903fd33

Browse files
harsharahulroot
andauthored
Version 5.19.0-v2.1-22.3.00.00 release (#308)
Co-authored-by: root <root@devcenteradmin.docusigntest.com>
1 parent f18e860 commit 903fd33

305 files changed

Lines changed: 5958 additions & 282 deletions

File tree

Some content is hidden

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

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.19.0] - eSignature API v2.1-22.3.00.00 - 2022-09-07
6+
### Changed
7+
- Added support for version v2.1-22.3.00.00 of the DocuSign ESignature API.
8+
- Updated the SDK release version.
9+
510
## [v5.18.0] - eSignature API v2.1-22.2.00.00 - 2022-06-23
611
### Changed
712
- Added support for version v2.1-22.2.00.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.18.0",
3+
"version": "5.19.0",
44
"description": "DocuSign Node.js API client.",
55
"license": "MIT",
66
"main": "src/index.js",

src/api/AccountsApi.js

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

src/api/BillingApi.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@
113113

114114
/**
115115
* Get metadata for a given credit card.
116+
* This method returns information about a credit card associated with an account.
116117
* @param {String} accountId The external account number (int) or account ID Guid.
117118
* @param {module:api/BillingApi~getCreditCardInfoCallback} callback The callback function, accepting three arguments: error, data, response
118119
* data is of type: {@link module:model/CreditCardInformation}
@@ -164,6 +165,7 @@
164165

165166
/**
166167
* Returns downgrade plan information for the specified account.
168+
*
167169
* @param {String} accountId The external account number (int) or account ID Guid.
168170
* @param {module:api/BillingApi~getDowngradeRequestBillingInfoCallback} callback The callback function, accepting three arguments: error, data, response
169171
* data is of type: {@link module:model/DowngradRequestBillingInfoResponse}
@@ -804,6 +806,7 @@ Privileges required: account administrator
804806

805807
/**
806808
* Queues downgrade billing plan request for an account.
809+
*
807810
* @param {String} accountId The external account number (int) or account ID Guid.
808811
* @param {Object} optsOrCallback Optional parameters, if you are passing no optional parameters, you can either pass a null or omit this parameter entirely.
809812
* @param {module:model/DowngradeBillingPlanInformation} optsOrCallback.downgradeBillingPlanInformation

src/api/BulkEnvelopesApi.js

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

src/api/BulkProcessDataApi.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@
6161

6262
/**
6363
* Uses the specified bulk envelopes list to update the envelopes specified in the payload
64+
*
6465
* @param {String} accountId The external account number (int) or account ID Guid.
6566
* @param {String} processAction
6667
* @param {module:api/BulkProcessDataApi~createBulkProcessRequestCallback} callback The callback function, accepting three arguments: error, data, response
@@ -118,6 +119,7 @@
118119

119120
/**
120121
* Uses the specified bulk envelopes list to update the envelopes specified in the payload
122+
*
121123
* @param {String} accountId The external account number (int) or account ID Guid.
122124
* @param {String} processAction
123125
* @param {String} bulkProcessListId
@@ -192,6 +194,7 @@
192194

193195
/**
194196
* Deletes a specific bulk process list
197+
*
195198
* @param {String} accountId The external account number (int) or account ID Guid.
196199
* @param {String} processAction
197200
* @param {String} bulkProcessListId
@@ -257,6 +260,7 @@
257260

258261
/**
259262
* Deletes a specific bulk process list
263+
*
260264
* @param {String} accountId The external account number (int) or account ID Guid.
261265
* @param {String} processAction
262266
* @param {Object} optsOrCallback Optional parameters, if you are passing no optional parameters, you can either pass a null or omit this parameter entirely.
@@ -324,6 +328,7 @@
324328

325329
/**
326330
* Gets a specific bulk process list
331+
*
327332
* @param {String} accountId The external account number (int) or account ID Guid.
328333
* @param {String} processAction
329334
* @param {String} bulkProcessListId
@@ -388,6 +393,7 @@
388393

389394
/**
390395
* Lists top-level details for all bulk process lists visible to the current user
396+
*
391397
* @param {String} accountId The external account number (int) or account ID Guid.
392398
* @param {String} processAction
393399
* @param {module:api/BulkProcessDataApi~getBulkProcessListsCallback} callback The callback function, accepting three arguments: error, data, response
@@ -446,6 +452,7 @@
446452

447453
/**
448454
* Updates a specific bulk process list
455+
*
449456
* @param {String} accountId The external account number (int) or account ID Guid.
450457
* @param {String} processAction
451458
* @param {String} bulkProcessListId

src/api/BulkProcessDataSendApi.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@
6161

6262
/**
6363
* Uses the specified bulk envelopes list to update the envelopes specified in the payload
64+
*
6465
* @param {String} accountId The external account number (int) or account ID Guid.
6566
* @param {String} processAction
6667
* @param {String} bulkProcessListId
@@ -135,6 +136,7 @@
135136

136137
/**
137138
* Deletes a specific bulk process list
139+
*
138140
* @param {String} accountId The external account number (int) or account ID Guid.
139141
* @param {String} processAction
140142
* @param {String} bulkProcessListId
@@ -200,6 +202,7 @@
200202

201203
/**
202204
* Gets a specific bulk process list
205+
*
203206
* @param {String} accountId The external account number (int) or account ID Guid.
204207
* @param {String} processAction
205208
* @param {String} bulkProcessListId
@@ -264,6 +267,7 @@
264267

265268
/**
266269
* Updates a specific bulk process list
270+
*
267271
* @param {String} accountId The external account number (int) or account ID Guid.
268272
* @param {String} processAction
269273
* @param {String} bulkProcessListId

src/api/ConnectApi.js

Lines changed: 166 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/ConnectConfigResults', 'model/ConnectCustomConfiguration', 'model/ConnectDeleteFailureResult', 'model/ConnectFailureFilter', 'model/ConnectFailureResults', 'model/ConnectLog', 'model/ConnectLogs', 'model/ErrorDetails', 'model/IntegratedConnectUserInfoList', 'model/IntegratedUserInfoList', 'model/MobileNotifierConfigurationInformation'], factory);
15+
define(['Configuration', 'ApiClient', 'model/ConnectConfigResults', 'model/ConnectCustomConfiguration', 'model/ConnectDeleteFailureResult', 'model/ConnectFailureFilter', 'model/ConnectFailureResults', 'model/ConnectLog', 'model/ConnectLogs', 'model/ConnectOAuthConfig', 'model/ErrorDetails', 'model/IntegratedConnectUserInfoList', 'model/IntegratedUserInfoList', 'model/MobileNotifierConfigurationInformation'], 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/ConnectConfigResults'), require('../model/ConnectCustomConfiguration'), require('../model/ConnectDeleteFailureResult'), require('../model/ConnectFailureFilter'), require('../model/ConnectFailureResults'), require('../model/ConnectLog'), require('../model/ConnectLogs'), require('../model/ErrorDetails'), require('../model/IntegratedConnectUserInfoList'), require('../model/IntegratedUserInfoList'), require('../model/MobileNotifierConfigurationInformation'));
18+
module.exports = factory(require('../Configuration'), require('../ApiClient'), require('../model/ConnectConfigResults'), require('../model/ConnectCustomConfiguration'), require('../model/ConnectDeleteFailureResult'), require('../model/ConnectFailureFilter'), require('../model/ConnectFailureResults'), require('../model/ConnectLog'), require('../model/ConnectLogs'), require('../model/ConnectOAuthConfig'), require('../model/ErrorDetails'), require('../model/IntegratedConnectUserInfoList'), require('../model/IntegratedUserInfoList'), require('../model/MobileNotifierConfigurationInformation'));
1919
} else {
2020
// Browser globals (root is window)
2121
if (!root.Docusign) {
2222
root.Docusign = {};
2323
}
24-
root.Docusign.ConnectApi = factory(root.Docusign.Configuration, root.Docusign.ApiClient, root.Docusign.ConnectConfigResults, root.Docusign.ConnectCustomConfiguration, root.Docusign.ConnectDeleteFailureResult, root.Docusign.ConnectFailureFilter, root.Docusign.ConnectFailureResults, root.Docusign.ConnectLog, root.Docusign.ConnectLogs, root.Docusign.ErrorDetails, root.Docusign.IntegratedConnectUserInfoList, root.Docusign.IntegratedUserInfoList, root.Docusign.MobileNotifierConfigurationInformation);
24+
root.Docusign.ConnectApi = factory(root.Docusign.Configuration, root.Docusign.ApiClient, root.Docusign.ConnectConfigResults, root.Docusign.ConnectCustomConfiguration, root.Docusign.ConnectDeleteFailureResult, root.Docusign.ConnectFailureFilter, root.Docusign.ConnectFailureResults, root.Docusign.ConnectLog, root.Docusign.ConnectLogs, root.Docusign.ConnectOAuthConfig, root.Docusign.ErrorDetails, root.Docusign.IntegratedConnectUserInfoList, root.Docusign.IntegratedUserInfoList, root.Docusign.MobileNotifierConfigurationInformation);
2525
}
26-
}(this, function(Configuration, ApiClient, ConnectConfigResults, ConnectCustomConfiguration, ConnectDeleteFailureResult, ConnectFailureFilter, ConnectFailureResults, ConnectLog, ConnectLogs, ErrorDetails, IntegratedConnectUserInfoList, IntegratedUserInfoList, MobileNotifierConfigurationInformation) {
26+
}(this, function(Configuration, ApiClient, ConnectConfigResults, ConnectCustomConfiguration, ConnectDeleteFailureResult, ConnectFailureFilter, ConnectFailureResults, ConnectLog, ConnectLogs, ConnectOAuthConfig, ErrorDetails, IntegratedConnectUserInfoList, IntegratedUserInfoList, MobileNotifierConfigurationInformation) {
2727
'use strict';
2828

2929
/**
@@ -114,6 +114,66 @@
114114
);
115115
};
116116

117+
/**
118+
* (Optional) Callback function to receive the result of the createConnectOAuthConfig operation. If none specified a Promise will be returned.
119+
* @callback module:api/ConnectApi~createConnectOAuthConfigCallback
120+
* @param {String} error Error message, if any.
121+
* @param {module:model/ConnectOAuthConfig} data The data returned by the service call.
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+
* Sets the Connect OAuth Config for the account.
127+
* @param {String} accountId The external account number (int) or account ID Guid.
128+
* @param {Object} optsOrCallback Optional parameters, if you are passing no optional parameters, you can either pass a null or omit this parameter entirely.
129+
* @param {module:model/ConnectOAuthConfig} optsOrCallback.connectOAuthConfig
130+
* @param {module:api/ConnectApi~createConnectOAuthConfigCallback} callback The callback function, accepting three arguments: error, data, response
131+
* data is of type: {@link module:model/ConnectOAuthConfig}
132+
*/
133+
this.createConnectOAuthConfig = function(accountId, optsOrCallback, callback) {
134+
optsOrCallback = optsOrCallback || {};
135+
136+
if (typeof optsOrCallback === 'function') {
137+
callback = optsOrCallback;
138+
optsOrCallback = {};
139+
}
140+
141+
var postBody = optsOrCallback['connectOAuthConfig'];
142+
143+
// verify the required parameter 'accountId' is set
144+
if (accountId === undefined || accountId === null) {
145+
throw new Error("Missing the required parameter 'accountId' when calling createConnectOAuthConfig");
146+
}
147+
148+
if (typeof callback !== 'function' && arguments.length && typeof arguments[arguments.length-1] === 'function'){
149+
if (typeof optsOrCallback !== 'undefined') {
150+
optsOrCallback = callback;
151+
}
152+
callback = arguments[arguments.length-1];
153+
}
154+
155+
var pathParams = {
156+
'accountId': accountId
157+
};
158+
var queryParams = {
159+
};
160+
var headerParams = {
161+
};
162+
var formParams = {
163+
};
164+
165+
var authNames = ['docusignAccessCode'];
166+
var contentTypes = [];
167+
var accepts = ['application/json'];
168+
var returnType = ConnectOAuthConfig;
169+
170+
return this.apiClient.callApi(
171+
'/v2.1/accounts/{accountId}/connect/oauth', 'POST',
172+
pathParams, queryParams, headerParams, formParams, postBody,
173+
authNames, contentTypes, accepts, returnType, callback
174+
);
175+
};
176+
117177
/**
118178
* (Optional) Callback function to receive the result of the deleteConfiguration operation. If none specified a Promise will be returned.
119179
* @callback module:api/ConnectApi~deleteConfigurationCallback
@@ -177,6 +237,56 @@
177237
);
178238
};
179239

240+
/**
241+
* (Optional) Callback function to receive the result of the deleteConnectOAuthConfig operation. If none specified a Promise will be returned.
242+
* @callback module:api/ConnectApi~deleteConnectOAuthConfigCallback
243+
* @param {String} error Error message, if any.
244+
* @param data This operation does not return a value.
245+
* @param {String} If a callback was specified, the response The complete HTTP response, else a Promise resolving the response Data.
246+
*/
247+
248+
/**
249+
* Sets the Connect OAuth Config for the account.
250+
* @param {String} accountId The external account number (int) or account ID Guid.
251+
* @param {module:api/ConnectApi~deleteConnectOAuthConfigCallback} callback The callback function, accepting three arguments: error, data, response
252+
*/
253+
this.deleteConnectOAuthConfig = function(accountId, callback) {
254+
var postBody = null;
255+
256+
// verify the required parameter 'accountId' is set
257+
if (accountId === undefined || accountId === null) {
258+
throw new Error("Missing the required parameter 'accountId' when calling deleteConnectOAuthConfig");
259+
}
260+
261+
if (typeof callback !== 'function' && arguments.length && typeof arguments[arguments.length-1] === 'function'){
262+
if (typeof optsOrCallback !== 'undefined') {
263+
optsOrCallback = callback;
264+
}
265+
callback = arguments[arguments.length-1];
266+
}
267+
268+
var pathParams = {
269+
'accountId': accountId
270+
};
271+
var queryParams = {
272+
};
273+
var headerParams = {
274+
};
275+
var formParams = {
276+
};
277+
278+
var authNames = ['docusignAccessCode'];
279+
var contentTypes = [];
280+
var accepts = ['application/json'];
281+
var returnType = null;
282+
283+
return this.apiClient.callApi(
284+
'/v2.1/accounts/{accountId}/connect/oauth', 'DELETE',
285+
pathParams, queryParams, headerParams, formParams, postBody,
286+
authNames, contentTypes, accepts, returnType, callback
287+
);
288+
};
289+
180290
/**
181291
* (Optional) Callback function to receive the result of the deleteEventFailureLog operation. If none specified a Promise will be returned.
182292
* @callback module:api/ConnectApi~deleteEventFailureLogCallback
@@ -481,6 +591,7 @@
481591

482592
/**
483593
* Returns all users from the configured Connect service.
594+
*
484595
* @param {String} accountId The external account number (int) or account ID Guid.
485596
* @param {String} connectId The ID of the custom Connect configuration being accessed.
486597
* @param {Object} optsOrCallback Optional parameters, if you are passing no optional parameters, you can either pass a null or omit this parameter entirely.
@@ -549,6 +660,57 @@
549660
);
550661
};
551662

663+
/**
664+
* (Optional) Callback function to receive the result of the getConnectOAuthConfig operation. If none specified a Promise will be returned.
665+
* @callback module:api/ConnectApi~getConnectOAuthConfigCallback
666+
* @param {String} error Error message, if any.
667+
* @param {module:model/ConnectOAuthConfig} data The data returned by the service call.
668+
* @param {String} If a callback was specified, the response The complete HTTP response, else a Promise resolving the response Data.
669+
*/
670+
671+
/**
672+
* Sets the Connect OAuth Config for the account.
673+
* @param {String} accountId The external account number (int) or account ID Guid.
674+
* @param {module:api/ConnectApi~getConnectOAuthConfigCallback} callback The callback function, accepting three arguments: error, data, response
675+
* data is of type: {@link module:model/ConnectOAuthConfig}
676+
*/
677+
this.getConnectOAuthConfig = function(accountId, callback) {
678+
var postBody = null;
679+
680+
// verify the required parameter 'accountId' is set
681+
if (accountId === undefined || accountId === null) {
682+
throw new Error("Missing the required parameter 'accountId' when calling getConnectOAuthConfig");
683+
}
684+
685+
if (typeof callback !== 'function' && arguments.length && typeof arguments[arguments.length-1] === 'function'){
686+
if (typeof optsOrCallback !== 'undefined') {
687+
optsOrCallback = callback;
688+
}
689+
callback = arguments[arguments.length-1];
690+
}
691+
692+
var pathParams = {
693+
'accountId': accountId
694+
};
695+
var queryParams = {
696+
};
697+
var headerParams = {
698+
};
699+
var formParams = {
700+
};
701+
702+
var authNames = ['docusignAccessCode'];
703+
var contentTypes = [];
704+
var accepts = ['application/json'];
705+
var returnType = ConnectOAuthConfig;
706+
707+
return this.apiClient.callApi(
708+
'/v2.1/accounts/{accountId}/connect/oauth', 'GET',
709+
pathParams, queryParams, headerParams, formParams, postBody,
710+
authNames, contentTypes, accepts, returnType, callback
711+
);
712+
};
713+
552714
/**
553715
* (Optional) Callback function to receive the result of the getEventLog operation. If none specified a Promise will be returned.
554716
* @callback module:api/ConnectApi~getEventLogCallback

src/api/EmailArchiveApi.js

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,12 @@
6161

6262
/**
6363
* Creates a blind carbon copy email archive entry
64+
* This method creates a BCC email archive configuration for an account (adds a BCC email address to the account for archiving the emails that DocuSign generates).
65+
66+
The only property that you must set in the request body is the BCC email address that you want to use.
67+
68+
**Note:** An account can have up to five active and pending email archive addresses combined, but you must use this method to add them to the account one at a time. Each email address is considered a separate BCC email archive configuration.
69+
6470
* @param {String} accountId The external account number (int) or account ID Guid.
6571
* @param {Object} optsOrCallback Optional parameters, if you are passing no optional parameters, you can either pass a null or omit this parameter entirely.
6672
* @param {module:model/BccEmailArchive} optsOrCallback.bccEmailArchive
@@ -121,6 +127,10 @@
121127

122128
/**
123129
* Delete a blind carbon copy email archive for an account.
130+
* This method deletes a BCC email archive configuration from an account.
131+
132+
When you use this method, the status of the BCC email archive configuration switches to `closed` and the BCC email address is no longer used to archive DocuSign-generated email messages.
133+
124134
* @param {String} accountId The external account number (int) or account ID Guid.
125135
* @param {String} bccEmailArchiveId
126136
* @param {module:api/EmailArchiveApi~deleteBCCEmailArchiveCallback} callback The callback function, accepting three arguments: error, data, response
@@ -178,6 +188,7 @@
178188

179189
/**
180190
* Get the blind carbon copy email archive history entries for the specified archive
191+
* This method returns a specific BCC email archive configuration for an account, as well as the history of changes to the email address.
181192
* @param {String} accountId The external account number (int) or account ID Guid.
182193
* @param {String} bccEmailArchiveId
183194
* @param {Object} optsOrCallback Optional parameters, if you are passing no optional parameters, you can either pass a null or omit this parameter entirely.
@@ -248,6 +259,7 @@
248259

249260
/**
250261
* Get the blind carbon copy email archive entries owned by the specified account
262+
* This method retrieves all of the BCC email archive configurations associated with an account.
251263
* @param {String} accountId The external account number (int) or account ID Guid.
252264
* @param {Object} optsOrCallback Optional parameters, if you are passing no optional parameters, you can either pass a null or omit this parameter entirely.
253265
* @param {String} optsOrCallback.count

0 commit comments

Comments
 (0)