Skip to content

Commit 0e77583

Browse files
acooper4960DevCenter-DocuSign
andauthored
Version 5.11.0-rc1-v2.1-21.2.00.00 release (#258)
Co-authored-by: DevCenter-DocuSign <[email protected]>
1 parent eed5d8d commit 0e77583

31 files changed

+2054
-354
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
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
4+
## [v5.10.0] - eSignature API v2.1-21.1.02.00
55
### Breaking
66
- Removed methods `getAccountSettingsExport`,`getSealProviders` from Accounts.
77
- Removed methods `createConnectSecret`,`deleteConnectSecret`,`generateConnectSecret`,`getConnectSecrets` from Connect.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
[Documentation about the DocuSign API](https://developers.docusign.com/)
1111

12-
[Documentation about this package](http://docusign.github.io/docusign-node-client)
12+
[Documentation about this package](http://docusign.github.io/docusign-esign-node-client)
1313
<!---
1414
[Changelog](./CHANGELOG.md)
1515
commented out

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

src/api/EnvelopesApi.js

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

src/api/UsersApi.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1753,6 +1753,7 @@ The supported image formats are: gif, png, jpeg, and bmp. The file must be less
17531753
* @param {String} accountId The external account number (int) or account ID Guid.
17541754
* @param {String} userId The user ID of the user being accessed. Generally this is the user ID of the authenticated user, but if the authenticated user is an Admin on the account, this may be another user the Admin user is accessing.
17551755
* @param {Object} optsOrCallback Optional parameters, if you are passing no optional parameters, you can either pass a null or omit this parameter entirely.
1756+
* @param {String} optsOrCallback.allowAllLanguages
17561757
* @param {module:model/UserSettingsInformation} optsOrCallback.userSettingsInformation
17571758
* @param {module:api/UsersApi~updateSettingsCallback} callback The callback function, accepting three arguments: error, data, response
17581759
*/
@@ -1788,6 +1789,7 @@ The supported image formats are: gif, png, jpeg, and bmp. The file must be less
17881789
'userId': userId
17891790
};
17901791
var queryParams = {
1792+
'allow_all_languages': optsOrCallback['allowAllLanguages']
17911793
};
17921794
var headerParams = {
17931795
};
@@ -2061,6 +2063,7 @@ For example encode "Bob Smith" as "Bob%20Smith".
20612063
* @param {String} accountId The external account number (int) or account ID Guid.
20622064
* @param {String} userId The user ID of the user being accessed. Generally this is the user ID of the authenticated user, but if the authenticated user is an Admin on the account, this may be another user the Admin user is accessing.
20632065
* @param {Object} optsOrCallback Optional parameters, if you are passing no optional parameters, you can either pass a null or omit this parameter entirely.
2066+
* @param {String} optsOrCallback.allowAllLanguages
20642067
* @param {module:model/UserInformation} optsOrCallback.userInformation
20652068
* @param {module:api/UsersApi~updateUserCallback} callback The callback function, accepting three arguments: error, data, response
20662069
* data is of type: {@link module:model/UserInformation}
@@ -2097,6 +2100,7 @@ For example encode "Bob Smith" as "Bob%20Smith".
20972100
'userId': userId
20982101
};
20992102
var queryParams = {
2103+
'allow_all_languages': optsOrCallback['allowAllLanguages']
21002104
};
21012105
var headerParams = {
21022106
};
@@ -2127,6 +2131,7 @@ For example encode "Bob Smith" as "Bob%20Smith".
21272131
* Change one or more user in the specified account.
21282132
* @param {String} accountId The external account number (int) or account ID Guid.
21292133
* @param {Object} optsOrCallback Optional parameters, if you are passing no optional parameters, you can either pass a null or omit this parameter entirely.
2134+
* @param {String} optsOrCallback.allowAllLanguages
21302135
* @param {module:model/UserInformationList} optsOrCallback.userInformationList
21312136
* @param {module:api/UsersApi~updateUsersCallback} callback The callback function, accepting three arguments: error, data, response
21322137
* data is of type: {@link module:model/UserInformationList}
@@ -2157,6 +2162,7 @@ For example encode "Bob Smith" as "Bob%20Smith".
21572162
'accountId': accountId
21582163
};
21592164
var queryParams = {
2165+
'allow_all_languages': optsOrCallback['allowAllLanguages']
21602166
};
21612167
var headerParams = {
21622168
};

src/index.js

Lines changed: 23 additions & 13 deletions
Large diffs are not rendered by default.

src/model/AccountBillingPlan.js

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,12 @@
115115
if (data.hasOwnProperty('planName')) {
116116
obj['planName'] = ApiClient.convertToType(data['planName'], 'String');
117117
}
118+
if (data.hasOwnProperty('planStartDate')) {
119+
obj['planStartDate'] = ApiClient.convertToType(data['planStartDate'], 'String');
120+
}
121+
if (data.hasOwnProperty('renewalDate')) {
122+
obj['renewalDate'] = ApiClient.convertToType(data['renewalDate'], 'String');
123+
}
118124
if (data.hasOwnProperty('renewalStatus')) {
119125
obj['renewalStatus'] = ApiClient.convertToType(data['renewalStatus'], 'String');
120126
}
@@ -230,6 +236,16 @@
230236
* @member {String} planName
231237
*/
232238
exports.prototype['planName'] = undefined;
239+
/**
240+
*
241+
* @member {String} planStartDate
242+
*/
243+
exports.prototype['planStartDate'] = undefined;
244+
/**
245+
*
246+
* @member {String} renewalDate
247+
*/
248+
exports.prototype['renewalDate'] = undefined;
233249
/**
234250
* The renewal status for the account. The acceptable values are: * auto: The account automatically renews. * queued_for_close: Account will be closed at the billingPeriodEndDate. * queued_for_downgrade: Account will be downgraded at the billingPeriodEndDate.
235251
* @member {String} renewalStatus

src/model/Agent.js

Lines changed: 26 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(['ApiClient', 'model/AuthenticationStatus', 'model/DocumentVisibility', 'model/ErrorDetails', 'model/FeatureAvailableMetadata', 'model/IdCheckInformationInput', 'model/PropertyMetadata', 'model/RecipientAdditionalNotification', 'model/RecipientAttachment', 'model/RecipientEmailNotification', 'model/RecipientIdentityVerification', 'model/RecipientPhoneAuthentication', 'model/RecipientSMSAuthentication', 'model/SocialAuthentication', 'model/UserInfo'], factory);
15+
define(['ApiClient', 'model/AuthenticationStatus', 'model/DocumentVisibility', 'model/ErrorDetails', 'model/FeatureAvailableMetadata', 'model/IdCheckInformationInput', 'model/PropertyMetadata', 'model/RecipientAdditionalNotification', 'model/RecipientAttachment', 'model/RecipientEmailNotification', 'model/RecipientIdentityVerification', 'model/RecipientPhoneAuthentication', 'model/RecipientPhoneNumber', 'model/RecipientSMSAuthentication', 'model/SocialAuthentication', 'model/UserInfo'], factory);
1616
} else if (typeof module === 'object' && module.exports) {
1717
// CommonJS-like environments that support module.exports, like Node.
18-
module.exports = factory(require('../ApiClient'), require('./AuthenticationStatus'), require('./DocumentVisibility'), require('./ErrorDetails'), require('./FeatureAvailableMetadata'), require('./IdCheckInformationInput'), require('./PropertyMetadata'), require('./RecipientAdditionalNotification'), require('./RecipientAttachment'), require('./RecipientEmailNotification'), require('./RecipientIdentityVerification'), require('./RecipientPhoneAuthentication'), require('./RecipientSMSAuthentication'), require('./SocialAuthentication'), require('./UserInfo'));
18+
module.exports = factory(require('../ApiClient'), require('./AuthenticationStatus'), require('./DocumentVisibility'), require('./ErrorDetails'), require('./FeatureAvailableMetadata'), require('./IdCheckInformationInput'), require('./PropertyMetadata'), require('./RecipientAdditionalNotification'), require('./RecipientAttachment'), require('./RecipientEmailNotification'), require('./RecipientIdentityVerification'), require('./RecipientPhoneAuthentication'), require('./RecipientPhoneNumber'), require('./RecipientSMSAuthentication'), require('./SocialAuthentication'), require('./UserInfo'));
1919
} else {
2020
// Browser globals (root is window)
2121
if (!root.Docusign) {
2222
root.Docusign = {};
2323
}
24-
root.Docusign.Agent = factory(root.Docusign.ApiClient, root.Docusign.AuthenticationStatus, root.Docusign.DocumentVisibility, root.Docusign.ErrorDetails, root.Docusign.FeatureAvailableMetadata, root.Docusign.IdCheckInformationInput, root.Docusign.PropertyMetadata, root.Docusign.RecipientAdditionalNotification, root.Docusign.RecipientAttachment, root.Docusign.RecipientEmailNotification, root.Docusign.RecipientIdentityVerification, root.Docusign.RecipientPhoneAuthentication, root.Docusign.RecipientSMSAuthentication, root.Docusign.SocialAuthentication, root.Docusign.UserInfo);
24+
root.Docusign.Agent = factory(root.Docusign.ApiClient, root.Docusign.AuthenticationStatus, root.Docusign.DocumentVisibility, root.Docusign.ErrorDetails, root.Docusign.FeatureAvailableMetadata, root.Docusign.IdCheckInformationInput, root.Docusign.PropertyMetadata, root.Docusign.RecipientAdditionalNotification, root.Docusign.RecipientAttachment, root.Docusign.RecipientEmailNotification, root.Docusign.RecipientIdentityVerification, root.Docusign.RecipientPhoneAuthentication, root.Docusign.RecipientPhoneNumber, root.Docusign.RecipientSMSAuthentication, root.Docusign.SocialAuthentication, root.Docusign.UserInfo);
2525
}
26-
}(this, function(ApiClient, AuthenticationStatus, DocumentVisibility, ErrorDetails, FeatureAvailableMetadata, IdCheckInformationInput, PropertyMetadata, RecipientAdditionalNotification, RecipientAttachment, RecipientEmailNotification, RecipientIdentityVerification, RecipientPhoneAuthentication, RecipientSMSAuthentication, SocialAuthentication, UserInfo) {
26+
}(this, function(ApiClient, AuthenticationStatus, DocumentVisibility, ErrorDetails, FeatureAvailableMetadata, IdCheckInformationInput, PropertyMetadata, RecipientAdditionalNotification, RecipientAttachment, RecipientEmailNotification, RecipientIdentityVerification, RecipientPhoneAuthentication, RecipientPhoneNumber, RecipientSMSAuthentication, SocialAuthentication, UserInfo) {
2727
'use strict';
2828

2929

@@ -70,6 +70,9 @@
7070
if (data.hasOwnProperty('allowSystemOverrideForLockedRecipient')) {
7171
obj['allowSystemOverrideForLockedRecipient'] = ApiClient.convertToType(data['allowSystemOverrideForLockedRecipient'], 'String');
7272
}
73+
if (data.hasOwnProperty('autoRespondedReason')) {
74+
obj['autoRespondedReason'] = ApiClient.convertToType(data['autoRespondedReason'], 'String');
75+
}
7376
if (data.hasOwnProperty('clientUserId')) {
7477
obj['clientUserId'] = ApiClient.convertToType(data['clientUserId'], 'String');
7578
}
@@ -181,6 +184,12 @@
181184
if (data.hasOwnProperty('phoneAuthentication')) {
182185
obj['phoneAuthentication'] = RecipientPhoneAuthentication.constructFromObject(data['phoneAuthentication']);
183186
}
187+
if (data.hasOwnProperty('phoneNumber')) {
188+
obj['phoneNumber'] = RecipientPhoneNumber.constructFromObject(data['phoneNumber']);
189+
}
190+
if (data.hasOwnProperty('phoneNumberMetadata')) {
191+
obj['phoneNumberMetadata'] = PropertyMetadata.constructFromObject(data['phoneNumberMetadata']);
192+
}
184193
if (data.hasOwnProperty('recipientAttachments')) {
185194
obj['recipientAttachments'] = ApiClient.convertToType(data['recipientAttachments'], [RecipientAttachment]);
186195
}
@@ -290,6 +299,11 @@
290299
* @member {String} allowSystemOverrideForLockedRecipient
291300
*/
292301
exports.prototype['allowSystemOverrideForLockedRecipient'] = undefined;
302+
/**
303+
*
304+
* @member {String} autoRespondedReason
305+
*/
306+
exports.prototype['autoRespondedReason'] = undefined;
293307
/**
294308
* Specifies whether the recipient is embedded or remote. If the `clientUserId` property is not null then the recipient is embedded. Note that if the `ClientUserId` property is set and either `SignerMustHaveAccount` or `SignerMustLoginToSign` property of the account settings is set to **true**, an error is generated on sending.ng. Maximum length: 100 characters.
295309
* @member {String} clientUserId
@@ -461,6 +475,14 @@
461475
* @member {module:model/RecipientPhoneAuthentication} phoneAuthentication
462476
*/
463477
exports.prototype['phoneAuthentication'] = undefined;
478+
/**
479+
* @member {module:model/RecipientPhoneNumber} phoneNumber
480+
*/
481+
exports.prototype['phoneNumber'] = undefined;
482+
/**
483+
* @member {module:model/PropertyMetadata} phoneNumberMetadata
484+
*/
485+
exports.prototype['phoneNumberMetadata'] = undefined;
464486
/**
465487
* Reserved:
466488
* @member {Array.<module:model/RecipientAttachment>} recipientAttachments

src/model/CarbonCopy.js

Lines changed: 26 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(['ApiClient', 'model/AuthenticationStatus', 'model/DocumentVisibility', 'model/ErrorDetails', 'model/FeatureAvailableMetadata', 'model/IdCheckInformationInput', 'model/PropertyMetadata', 'model/RecipientAdditionalNotification', 'model/RecipientAttachment', 'model/RecipientEmailNotification', 'model/RecipientIdentityVerification', 'model/RecipientPhoneAuthentication', 'model/RecipientProofFile', 'model/RecipientSMSAuthentication', 'model/SocialAuthentication', 'model/Tabs', 'model/UserInfo'], factory);
15+
define(['ApiClient', 'model/AuthenticationStatus', 'model/DocumentVisibility', 'model/ErrorDetails', 'model/FeatureAvailableMetadata', 'model/IdCheckInformationInput', 'model/PropertyMetadata', 'model/RecipientAdditionalNotification', 'model/RecipientAttachment', 'model/RecipientEmailNotification', 'model/RecipientIdentityVerification', 'model/RecipientPhoneAuthentication', 'model/RecipientPhoneNumber', 'model/RecipientProofFile', 'model/RecipientSMSAuthentication', 'model/SocialAuthentication', 'model/Tabs', 'model/UserInfo'], factory);
1616
} else if (typeof module === 'object' && module.exports) {
1717
// CommonJS-like environments that support module.exports, like Node.
18-
module.exports = factory(require('../ApiClient'), require('./AuthenticationStatus'), require('./DocumentVisibility'), require('./ErrorDetails'), require('./FeatureAvailableMetadata'), require('./IdCheckInformationInput'), require('./PropertyMetadata'), require('./RecipientAdditionalNotification'), require('./RecipientAttachment'), require('./RecipientEmailNotification'), require('./RecipientIdentityVerification'), require('./RecipientPhoneAuthentication'), require('./RecipientProofFile'), require('./RecipientSMSAuthentication'), require('./SocialAuthentication'), require('./Tabs'), require('./UserInfo'));
18+
module.exports = factory(require('../ApiClient'), require('./AuthenticationStatus'), require('./DocumentVisibility'), require('./ErrorDetails'), require('./FeatureAvailableMetadata'), require('./IdCheckInformationInput'), require('./PropertyMetadata'), require('./RecipientAdditionalNotification'), require('./RecipientAttachment'), require('./RecipientEmailNotification'), require('./RecipientIdentityVerification'), require('./RecipientPhoneAuthentication'), require('./RecipientPhoneNumber'), require('./RecipientProofFile'), require('./RecipientSMSAuthentication'), require('./SocialAuthentication'), require('./Tabs'), require('./UserInfo'));
1919
} else {
2020
// Browser globals (root is window)
2121
if (!root.Docusign) {
2222
root.Docusign = {};
2323
}
24-
root.Docusign.CarbonCopy = factory(root.Docusign.ApiClient, root.Docusign.AuthenticationStatus, root.Docusign.DocumentVisibility, root.Docusign.ErrorDetails, root.Docusign.FeatureAvailableMetadata, root.Docusign.IdCheckInformationInput, root.Docusign.PropertyMetadata, root.Docusign.RecipientAdditionalNotification, root.Docusign.RecipientAttachment, root.Docusign.RecipientEmailNotification, root.Docusign.RecipientIdentityVerification, root.Docusign.RecipientPhoneAuthentication, root.Docusign.RecipientProofFile, root.Docusign.RecipientSMSAuthentication, root.Docusign.SocialAuthentication, root.Docusign.Tabs, root.Docusign.UserInfo);
24+
root.Docusign.CarbonCopy = factory(root.Docusign.ApiClient, root.Docusign.AuthenticationStatus, root.Docusign.DocumentVisibility, root.Docusign.ErrorDetails, root.Docusign.FeatureAvailableMetadata, root.Docusign.IdCheckInformationInput, root.Docusign.PropertyMetadata, root.Docusign.RecipientAdditionalNotification, root.Docusign.RecipientAttachment, root.Docusign.RecipientEmailNotification, root.Docusign.RecipientIdentityVerification, root.Docusign.RecipientPhoneAuthentication, root.Docusign.RecipientPhoneNumber, root.Docusign.RecipientProofFile, root.Docusign.RecipientSMSAuthentication, root.Docusign.SocialAuthentication, root.Docusign.Tabs, root.Docusign.UserInfo);
2525
}
26-
}(this, function(ApiClient, AuthenticationStatus, DocumentVisibility, ErrorDetails, FeatureAvailableMetadata, IdCheckInformationInput, PropertyMetadata, RecipientAdditionalNotification, RecipientAttachment, RecipientEmailNotification, RecipientIdentityVerification, RecipientPhoneAuthentication, RecipientProofFile, RecipientSMSAuthentication, SocialAuthentication, Tabs, UserInfo) {
26+
}(this, function(ApiClient, AuthenticationStatus, DocumentVisibility, ErrorDetails, FeatureAvailableMetadata, IdCheckInformationInput, PropertyMetadata, RecipientAdditionalNotification, RecipientAttachment, RecipientEmailNotification, RecipientIdentityVerification, RecipientPhoneAuthentication, RecipientPhoneNumber, RecipientProofFile, RecipientSMSAuthentication, SocialAuthentication, Tabs, UserInfo) {
2727
'use strict';
2828

2929

@@ -75,6 +75,9 @@
7575
if (data.hasOwnProperty('allowSystemOverrideForLockedRecipient')) {
7676
obj['allowSystemOverrideForLockedRecipient'] = ApiClient.convertToType(data['allowSystemOverrideForLockedRecipient'], 'String');
7777
}
78+
if (data.hasOwnProperty('autoRespondedReason')) {
79+
obj['autoRespondedReason'] = ApiClient.convertToType(data['autoRespondedReason'], 'String');
80+
}
7881
if (data.hasOwnProperty('clientUserId')) {
7982
obj['clientUserId'] = ApiClient.convertToType(data['clientUserId'], 'String');
8083
}
@@ -189,6 +192,12 @@
189192
if (data.hasOwnProperty('phoneAuthentication')) {
190193
obj['phoneAuthentication'] = RecipientPhoneAuthentication.constructFromObject(data['phoneAuthentication']);
191194
}
195+
if (data.hasOwnProperty('phoneNumber')) {
196+
obj['phoneNumber'] = RecipientPhoneNumber.constructFromObject(data['phoneNumber']);
197+
}
198+
if (data.hasOwnProperty('phoneNumberMetadata')) {
199+
obj['phoneNumberMetadata'] = PropertyMetadata.constructFromObject(data['phoneNumberMetadata']);
200+
}
192201
if (data.hasOwnProperty('proofFile')) {
193202
obj['proofFile'] = RecipientProofFile.constructFromObject(data['proofFile']);
194203
}
@@ -314,6 +323,11 @@
314323
* @member {String} allowSystemOverrideForLockedRecipient
315324
*/
316325
exports.prototype['allowSystemOverrideForLockedRecipient'] = undefined;
326+
/**
327+
*
328+
* @member {String} autoRespondedReason
329+
*/
330+
exports.prototype['autoRespondedReason'] = undefined;
317331
/**
318332
* Specifies whether the recipient is embedded or remote. If the `clientUserId` property is not null then the recipient is embedded. Note that if the `ClientUserId` property is set and either `SignerMustHaveAccount` or `SignerMustLoginToSign` property of the account settings is set to **true**, an error is generated on sending.ng. Maximum length: 100 characters.
319333
* @member {String} clientUserId
@@ -490,6 +504,14 @@
490504
* @member {module:model/RecipientPhoneAuthentication} phoneAuthentication
491505
*/
492506
exports.prototype['phoneAuthentication'] = undefined;
507+
/**
508+
* @member {module:model/RecipientPhoneNumber} phoneNumber
509+
*/
510+
exports.prototype['phoneNumber'] = undefined;
511+
/**
512+
* @member {module:model/PropertyMetadata} phoneNumberMetadata
513+
*/
514+
exports.prototype['phoneNumberMetadata'] = undefined;
493515
/**
494516
* @member {module:model/RecipientProofFile} proofFile
495517
*/

0 commit comments

Comments
 (0)