Skip to content

Commit ea3e6bc

Browse files
authored
v5.3.0 (#167)
* v5.3.0 * Updated version. * Added safe-buffer. * Updated changelog.
1 parent 4ec29ce commit ea3e6bc

File tree

457 files changed

+478
-1206
lines changed

Some content is hidden

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

457 files changed

+478
-1206
lines changed

CHANGELOG.md

Lines changed: 20 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,18 @@ See [DocuSign Support Center](https://support.docusign.com/en/releasenotes/) for
44

55
## [v5.3.0] - eSignature API v2.1-20.1.00
66
### Changed
7-
- The SDK now supports version 20.1.00 of the DocuSign eSignature API.
8-
- SDK Release Version updated.
7+
8+
- Added support for version v2.1-20.1.00 of the DocuSign eSignature API.
9+
- Updated the SDK release version.
10+
11+
### Added
12+
13+
- Added the new property `copyRecipientData` to envelopes. When set to **true**, the information that recipients enter is retained when you clone an envelope. For example, if you resend an envelope that was declined or voided after one or more recipients entered data, that data is retained. Note that the new account UI setting `enableEnvelopeCopyWithData` must be enabled for the account.
14+
- Added `RecipientIdentityInputOption` and `inputOptions` to `RecipientIdentityVerification.js`: Reserved for DocuSign.
15+
16+
### Deleted
17+
18+
- Deleted the GET methods for account seals providers, which returned the seals for an account.
919

1020
## [v5.2.0] - eSignature API v2.1-19.4.01
1121
### Changed
@@ -43,7 +53,7 @@ See [DocuSign Support Center](https://support.docusign.com/en/releasenotes/) for
4353
### Fixed
4454
- A bug where API response for 'moveEnvelopes' was improperly documented as a non-undefined value. (DCM-3085)
4555
- A bug where dateTabs and numberTabs were not being able to be initialized by the docusign.Tabs object. (DCM-3226)
46-
56+
4757
##[v4.2.2] eSignature API v18.4.02
4858
### Added
4959
- Support for the **latest DocuSign API** (18.4.02.00).
@@ -76,23 +86,23 @@ See [DocuSign Support Center](https://support.docusign.com/en/releasenotes/) for
7686

7787
## [v4.0.2] - eSignature API v18.1.02 - 7/3/2018
7888
### Changed
79-
- All SDK methods have been updated such that the `opts` parameter may now contain the callback, making the other opts parameters optional, and it has been renamed `optsOrCallback`.
89+
- All SDK methods have been updated such that the `opts` parameter may now contain the callback, making the other opts parameters optional, and it has been renamed `optsOrCallback`.
8090
This resolves the breaking change for applications upgrading from version 3.X.X to 4.X.X.
8191
- The OAuth authorization code grant and implicit grant code examples in the readme.md file have been updated to use the addDefaultHeader method. Each API client needs this header to access DocuSign APIs.
82-
92+
8393
## [4.0.1] - 2018-06-25
8494
### Fixed
8595
- Issues [`#101`](https://github.com/docusign/DocuSign-Node-Client/issues/101) and [`#66`](https://github.com/docusign/DocuSign-Node-Client/issues/66)
8696
- listTabs now maps to an array of List instead of array of Array
87-
97+
8898
## [4.0.0] - 2018-06-06
8999
### BREAKING
90-
- This update has some breaking changes as certain api calls no longer accept query parameters.
100+
- This update has some breaking changes as certain api calls no longer accept query parameters.
91101
- Due to this, their respective SDK method signatures of changed
92102
For example:
93-
- EnvelopesApi.listDocuments(accountId, envelopeId, opts, callback)
103+
- EnvelopesApi.listDocuments(accountId, envelopeId, opts, callback)
94104
- has changed to:
95-
- EnvelopesApi.listDocuments(accountId, envelopeId, callback)
105+
- EnvelopesApi.listDocuments(accountId, envelopeId, callback)
96106

97107
### Changed
98108
- Updated the package with the latest API release.
@@ -105,7 +115,7 @@ For example:
105115
## [3.2.0] - 2017-08-01
106116
### Added
107117
- Support for DocuSign JWT OAuth for service integration (2-legged authentication)
108-
118+
109119
## [3.1.0] - 2017-06-17
110120
### Added
111121
- Support for DocuSign OAuth

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

src/api/AccountsApi.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
/**
3030
* Accounts service.
3131
* @module api/AccountsApi
32-
* @version 5.3.0-rc1
32+
* @version 5.3.0
3333
*/
3434

3535
/**

src/api/AuthenticationApi.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
/**
3030
* Authentication service.
3131
* @module api/AuthenticationApi
32-
* @version 5.3.0-rc1
32+
* @version 5.3.0
3333
*/
3434

3535
/**

src/api/BillingApi.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
/**
3030
* Billing service.
3131
* @module api/BillingApi
32-
* @version 5.3.0-rc1
32+
* @version 5.3.0
3333
*/
3434

3535
/**

src/api/BulkEnvelopesApi.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
/**
3030
* BulkEnvelopes service.
3131
* @module api/BulkEnvelopesApi
32-
* @version 5.3.0-rc1
32+
* @version 5.3.0
3333
*/
3434

3535
/**

src/api/CloudStorageApi.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
/**
3030
* CloudStorage service.
3131
* @module api/CloudStorageApi
32-
* @version 5.3.0-rc1
32+
* @version 5.3.0
3333
*/
3434

3535
/**

src/api/ConnectApi.js

Lines changed: 1 addition & 208 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
/**
3030
* Connect service.
3131
* @module api/ConnectApi
32-
* @version 5.3.0-rc1
32+
* @version 5.3.0
3333
*/
3434

3535
/**
@@ -115,56 +115,6 @@
115115
);
116116
};
117117

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

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

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

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

src/api/CustomTabsApi.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
/**
3030
* CustomTabs service.
3131
* @module api/CustomTabsApi
32-
* @version 5.3.0-rc1
32+
* @version 5.3.0
3333
*/
3434

3535
/**

src/api/DataFeedApi.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
/**
3030
* DataFeed service.
3131
* @module api/DataFeedApi
32-
* @version 5.3.0-rc1
32+
* @version 5.3.0
3333
*/
3434

3535
/**

0 commit comments

Comments
 (0)