Skip to content

Commit 3479923

Browse files
Version 5.13.0-rc1-v2.1-21.3.00.00 release (#273)
Co-authored-by: DevCenter-DocuSign <[email protected]>
1 parent 96ac7f9 commit 3479923

30 files changed

+865
-29
lines changed

CHANGELOG.md

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

44

5+
## [5.13.0-rc1] - ESignature API v2.1-21.3.00.00 - 2021-09-20
6+
### Changed
7+
- Added support for version v2.1-21.3.00.00 of the DocuSign ESignature API.
8+
- Updated the SDK release version.
9+
10+
511
## [v5.12.0] - ESignature API v2.1-21.2.02.00 - 2021-09-02
612
### Changed
713
- Added support for version v2.1-21.2.02.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.12.0",
3+
"version": "5.13.0-rc1",
44
"description": "DocuSign Node.js API client.",
55
"license": "MIT",
66
"main": "src/index.js",

src/api/AccountsApi.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1910,7 +1910,7 @@ Privileges required: account administrator
19101910
* Gets the Electronic Record and Signature Disclosure.
19111911
* Retrieves the Electronic Record and Signature Disclosure, with HTML formatting, for the requested envelope recipient. This might be different than the current account disclosure depending on account settings, such as branding, and when the account disclosure was last updated. An optional query string can be included to return the language for the disclosure.
19121912
* @param {String} accountId The external account number (int) or account ID Guid.
1913-
* @param {String} langCode The simple type enumeration the language used in the response. The supported languages, with the language value shown in parenthesis, are:Arabic (ar), Armenian (hy), Bulgarian (bg), Czech (cs), Chinese Simplified (zh_CN), Chinese Traditional (zh_TW), Croatian (hr), Danish (da), Dutch (nl), English US (en), English UK (en_GB), Estonian (et), Farsi (fa), Finnish (fi), French (fr), French Canada (fr_CA), German (de), Greek (el), Hebrew (he), Hindi (hi), Hungarian (hu), Bahasa Indonesia (id), Italian (it), Japanese (ja), Korean (ko), Latvian (lv), Lithuanian (lt), Bahasa Melayu (ms), Norwegian (no), Polish (pl), Portuguese (pt), Portuguese Brazil (pt_BR), Romanian (ro), Russian (ru), Serbian (sr), Slovak (sk), Slovenian (sl), Spanish (es),Spanish Latin America (es_MX), Swedish (sv), Thai (th), Turkish (tr), Ukrainian (uk) and Vietnamese (vi). Additionally, the value can be set to �browser� to automatically detect the browser language being used by the viewer and display the disclosure in that language.
1913+
* @param {String} langCode The simple type enumeration the language used in the response. The supported languages, with the language value shown in parenthesis, are:Arabic (ar), Armenian (hy), Bulgarian (bg), Czech (cs), Chinese Simplified (zh_CN), Chinese Traditional (zh_TW), Croatian (hr), Danish (da), Dutch (nl), English US (en), English UK (en_GB), Estonian (et), Farsi (fa), Finnish (fi), French (fr), French Canada (fr_CA), German (de), Greek (el), Hebrew (he), Hindi (hi), Hungarian (hu), Bahasa Indonesia (id), Italian (it), Japanese (ja), Korean (ko), Latvian (lv), Lithuanian (lt), Bahasa Melayu (ms), Norwegian (no), Polish (pl), Portuguese (pt), Portuguese Brazil (pt_BR), Romanian (ro), Russian (ru), Serbian (sr), Slovak (sk), Slovenian (sl), Spanish (es),Spanish Latin America (es_MX), Swedish (sv), Thai (th), Turkish (tr), Ukrainian (uk) and Vietnamese (vi). Additionally, the value can be set to �browser� to automatically detect the browser language being used by the viewer and display the disclosure in that language.
19141914
* @param {module:api/AccountsApi~getConsumerDisclosureCallback} callback The callback function, accepting three arguments: error, data, response
19151915
* data is of type: {@link module:model/ConsumerDisclosure}
19161916
*/
@@ -3732,7 +3732,7 @@ Users with account administration privileges can retrieve shared access informat
37323732
/**
37333733
* Update Consumer Disclosure.
37343734
* @param {String} accountId The external account number (int) or account ID Guid.
3735-
* @param {String} langCode The simple type enumeration the language used in the response. The supported languages, with the language value shown in parenthesis, are:Arabic (ar), Armenian (hy), Bulgarian (bg), Czech (cs), Chinese Simplified (zh_CN), Chinese Traditional (zh_TW), Croatian (hr), Danish (da), Dutch (nl), English US (en), English UK (en_GB), Estonian (et), Farsi (fa), Finnish (fi), French (fr), French Canada (fr_CA), German (de), Greek (el), Hebrew (he), Hindi (hi), Hungarian (hu), Bahasa Indonesia (id), Italian (it), Japanese (ja), Korean (ko), Latvian (lv), Lithuanian (lt), Bahasa Melayu (ms), Norwegian (no), Polish (pl), Portuguese (pt), Portuguese Brazil (pt_BR), Romanian (ro), Russian (ru), Serbian (sr), Slovak (sk), Slovenian (sl), Spanish (es),Spanish Latin America (es_MX), Swedish (sv), Thai (th), Turkish (tr), Ukrainian (uk) and Vietnamese (vi). Additionally, the value can be set to �browser� to automatically detect the browser language being used by the viewer and display the disclosure in that language.
3735+
* @param {String} langCode The simple type enumeration the language used in the response. The supported languages, with the language value shown in parenthesis, are:Arabic (ar), Armenian (hy), Bulgarian (bg), Czech (cs), Chinese Simplified (zh_CN), Chinese Traditional (zh_TW), Croatian (hr), Danish (da), Dutch (nl), English US (en), English UK (en_GB), Estonian (et), Farsi (fa), Finnish (fi), French (fr), French Canada (fr_CA), German (de), Greek (el), Hebrew (he), Hindi (hi), Hungarian (hu), Bahasa Indonesia (id), Italian (it), Japanese (ja), Korean (ko), Latvian (lv), Lithuanian (lt), Bahasa Melayu (ms), Norwegian (no), Polish (pl), Portuguese (pt), Portuguese Brazil (pt_BR), Romanian (ro), Russian (ru), Serbian (sr), Slovak (sk), Slovenian (sl), Spanish (es),Spanish Latin America (es_MX), Swedish (sv), Thai (th), Turkish (tr), Ukrainian (uk) and Vietnamese (vi). Additionally, the value can be set to �browser� to automatically detect the browser language being used by the viewer and display the disclosure in that language.
37363736
* @param {Object} optsOrCallback Optional parameters, if you are passing no optional parameters, you can either pass a null or omit this parameter entirely.
37373737
* @param {String} optsOrCallback.includeMetadata
37383738
* @param {module:model/ConsumerDisclosure} optsOrCallback.consumerDisclosure

src/api/BillingApi.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ The following table provides a description of the different `chargeName` propert
228228
229229
| chargeName | Description |
230230
| --- | --- |
231-
| id_check | ID Check Charge |
231+
| id_check | ID Check Charge |
232232
| in_person_signing | In Person Signing charge |
233233
| envelopes Included | Sent Envelopes for the account |
234234
| age_verify | Age verification check |
@@ -380,6 +380,7 @@ The response returns the billing plan information, including the currency code,
380380
* @param {String} accountId The external account number (int) or account ID Guid.
381381
* @param {Object} optsOrCallback Optional parameters, if you are passing no optional parameters, you can either pass a null or omit this parameter entirely.
382382
* @param {String} optsOrCallback.includeCreditCardInformation When set to **true**, excludes credit card information from the response.
383+
* @param {String} optsOrCallback.includeDowngradeInformation
383384
* @param {String} optsOrCallback.includeMetadata When set to **true**, the `canUpgrade` and `renewalStatus` properities are included the response and an array of `supportedCountries` property is added to the `billingAddress` information.
384385
* @param {String} optsOrCallback.includeSuccessorPlans When set to **true**, excludes successor information from the response.
385386
* @param {module:api/BillingApi~getPlanCallback} callback The callback function, accepting three arguments: error, data, response
@@ -412,6 +413,7 @@ The response returns the billing plan information, including the currency code,
412413
};
413414
var queryParams = {
414415
'include_credit_card_information': optsOrCallback['includeCreditCardInformation'],
416+
'include_downgrade_information': optsOrCallback['includeDowngradeInformation'],
415417
'include_metadata': optsOrCallback['includeMetadata'],
416418
'include_successor_plans': optsOrCallback['includeSuccessorPlans']
417419
};

src/api/ConnectApi.js

Lines changed: 82 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/ConnectFailureFilter', 'model/ConnectFailureResults', 'model/ConnectLog', 'model/ConnectLogs', 'model/ErrorDetails', 'model/IntegratedUserInfoList', 'model/MobileNotifierConfigurationInformation'], factory);
15+
define(['Configuration', 'ApiClient', 'model/ConnectConfigResults', 'model/ConnectCustomConfiguration', 'model/ConnectFailureFilter', 'model/ConnectFailureResults', 'model/ConnectLog', 'model/ConnectLogs', '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/ConnectFailureFilter'), require('../model/ConnectFailureResults'), require('../model/ConnectLog'), require('../model/ConnectLogs'), require('../model/ErrorDetails'), require('../model/IntegratedUserInfoList'), require('../model/MobileNotifierConfigurationInformation'));
18+
module.exports = factory(require('../Configuration'), require('../ApiClient'), require('../model/ConnectConfigResults'), require('../model/ConnectCustomConfiguration'), require('../model/ConnectFailureFilter'), require('../model/ConnectFailureResults'), require('../model/ConnectLog'), require('../model/ConnectLogs'), 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.ConnectFailureFilter, root.Docusign.ConnectFailureResults, root.Docusign.ConnectLog, root.Docusign.ConnectLogs, root.Docusign.ErrorDetails, 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.ConnectFailureFilter, root.Docusign.ConnectFailureResults, root.Docusign.ConnectLog, root.Docusign.ConnectLogs, root.Docusign.ErrorDetails, root.Docusign.IntegratedConnectUserInfoList, root.Docusign.IntegratedUserInfoList, root.Docusign.MobileNotifierConfigurationInformation);
2525
}
26-
}(this, function(Configuration, ApiClient, ConnectConfigResults, ConnectCustomConfiguration, ConnectFailureFilter, ConnectFailureResults, ConnectLog, ConnectLogs, ErrorDetails, IntegratedUserInfoList, MobileNotifierConfigurationInformation) {
26+
}(this, function(Configuration, ApiClient, ConnectConfigResults, ConnectCustomConfiguration, ConnectFailureFilter, ConnectFailureResults, ConnectLog, ConnectLogs, ErrorDetails, IntegratedConnectUserInfoList, IntegratedUserInfoList, MobileNotifierConfigurationInformation) {
2727
'use strict';
2828

2929
/**
@@ -470,6 +470,84 @@
470470
);
471471
};
472472

473+
/**
474+
* (Optional) Callback function to receive the result of the getConnectAllUsers operation. If none specified a Promise will be returned.
475+
* @callback module:api/ConnectApi~getConnectAllUsersCallback
476+
* @param {String} error Error message, if any.
477+
* @param {module:model/IntegratedConnectUserInfoList} data The data returned by the service call.
478+
* @param {String} If a callback was specified, the response The complete HTTP response, else a Promise resolving the response Data.
479+
*/
480+
481+
/**
482+
* Returns all users from the configured Connect service.
483+
* @param {String} accountId
484+
* @param {String} connectId
485+
* @param {Object} optsOrCallback Optional parameters, if you are passing no optional parameters, you can either pass a null or omit this parameter entirely.
486+
* @param {String} optsOrCallback.count
487+
* @param {String} optsOrCallback.emailSubstring
488+
* @param {String} optsOrCallback.isRecipientConnectConfig
489+
* @param {String} optsOrCallback.startPosition
490+
* @param {String} optsOrCallback.status
491+
* @param {String} optsOrCallback.userNameSubstring
492+
* @param {module:api/ConnectApi~getConnectAllUsersCallback} callback The callback function, accepting three arguments: error, data, response
493+
* data is of type: {@link module:model/IntegratedConnectUserInfoList}
494+
*/
495+
this.getConnectAllUsers = function(accountId, connectId, optsOrCallback, callback) {
496+
optsOrCallback = optsOrCallback || {};
497+
498+
if (typeof optsOrCallback === 'function') {
499+
callback = optsOrCallback;
500+
optsOrCallback = {};
501+
}
502+
503+
var postBody = null;
504+
505+
// verify the required parameter 'accountId' is set
506+
if (accountId === undefined || accountId === null) {
507+
throw new Error("Missing the required parameter 'accountId' when calling getConnectAllUsers");
508+
}
509+
510+
// verify the required parameter 'connectId' is set
511+
if (connectId === undefined || connectId === null) {
512+
throw new Error("Missing the required parameter 'connectId' when calling getConnectAllUsers");
513+
}
514+
515+
if (typeof callback !== 'function' && arguments.length && typeof arguments[arguments.length-1] === 'function'){
516+
if (typeof optsOrCallback !== 'undefined') {
517+
optsOrCallback = callback;
518+
}
519+
callback = arguments[arguments.length-1];
520+
}
521+
522+
var pathParams = {
523+
'accountId': accountId,
524+
'connectId': connectId
525+
};
526+
var queryParams = {
527+
'count': optsOrCallback['count'],
528+
'email_substring': optsOrCallback['emailSubstring'],
529+
'is_recipient_connect_config': optsOrCallback['isRecipientConnectConfig'],
530+
'start_position': optsOrCallback['startPosition'],
531+
'status': optsOrCallback['status'],
532+
'user_name_substring': optsOrCallback['userNameSubstring']
533+
};
534+
var headerParams = {
535+
};
536+
var formParams = {
537+
};
538+
539+
var authNames = ['docusignAccessCode'];
540+
var contentTypes = [];
541+
var accepts = ['application/json'];
542+
var returnType = IntegratedConnectUserInfoList;
543+
544+
return this.apiClient.callApi(
545+
'/v2.1/accounts/{accountId}/connect/{connectId}/all/users', 'GET',
546+
pathParams, queryParams, headerParams, formParams, postBody,
547+
authNames, contentTypes, accepts, returnType, callback
548+
);
549+
};
550+
473551
/**
474552
* (Optional) Callback function to receive the result of the getEventLog operation. If none specified a Promise will be returned.
475553
* @callback module:api/ConnectApi~getEventLogCallback

0 commit comments

Comments
 (0)