Skip to content

Commit bb16f80

Browse files
Version 5.7.0-rc1-v2.1-20.3.00 release (#220)
Co-authored-by: DevCenter-DocuSign <[email protected]>
1 parent a993c51 commit bb16f80

24 files changed

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

src/api/AccountsApi.js

Lines changed: 592 additions & 6 deletions
Large diffs are not rendered by default.

src/api/EnvelopesApi.js

Lines changed: 67 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2460,6 +2460,72 @@ Important: iFrames should not be used for embedded operations on mobile devices
24602460
);
24612461
};
24622462

2463+
/**
2464+
* (Optional) Callback function to receive the result of the deleteEnvelopeCorrectView operation. If none specified a Promise will be returned.
2465+
* @callback module:api/EnvelopesApi~deleteEnvelopeCorrectViewCallback
2466+
* @param {String} error Error message, if any.
2467+
* @param data This operation does not return a value.
2468+
* @param {String} If a callback was specified, the response The complete HTTP response, else a Promise resolving the response Data.
2469+
*/
2470+
2471+
/**
2472+
* Revokes the correction view URL to the Envelope UI
2473+
* @param {String} accountId The external account number (int) or account ID Guid.
2474+
* @param {String} envelopeId The envelopeId Guid of the envelope being accessed.
2475+
* @param {Object} optsOrCallback Optional parameters, if you are passing no optional parameters, you can either pass a null or omit this parameter entirely.
2476+
* @param {module:model/CorrectViewRequest} optsOrCallback.correctViewRequest
2477+
* @param {module:api/EnvelopesApi~deleteEnvelopeCorrectViewCallback} callback The callback function, accepting three arguments: error, data, response
2478+
*/
2479+
this.deleteEnvelopeCorrectView = function(accountId, envelopeId, optsOrCallback, callback) {
2480+
optsOrCallback = optsOrCallback || {};
2481+
2482+
if (typeof optsOrCallback === 'function') {
2483+
callback = optsOrCallback;
2484+
optsOrCallback = {};
2485+
}
2486+
2487+
var postBody = optsOrCallback['correctViewRequest'];
2488+
2489+
// verify the required parameter 'accountId' is set
2490+
if (accountId === undefined || accountId === null) {
2491+
throw new Error("Missing the required parameter 'accountId' when calling deleteEnvelopeCorrectView");
2492+
}
2493+
2494+
// verify the required parameter 'envelopeId' is set
2495+
if (envelopeId === undefined || envelopeId === null) {
2496+
throw new Error("Missing the required parameter 'envelopeId' when calling deleteEnvelopeCorrectView");
2497+
}
2498+
2499+
if (typeof callback !== 'function' && arguments.length && typeof arguments[arguments.length-1] === 'function'){
2500+
if (typeof optsOrCallback !== 'undefined') {
2501+
optsOrCallback = callback;
2502+
}
2503+
callback = arguments[arguments.length-1];
2504+
}
2505+
2506+
var pathParams = {
2507+
'accountId': accountId,
2508+
'envelopeId': envelopeId
2509+
};
2510+
var queryParams = {
2511+
};
2512+
var headerParams = {
2513+
};
2514+
var formParams = {
2515+
};
2516+
2517+
var authNames = ['docusignAccessCode'];
2518+
var contentTypes = [];
2519+
var accepts = ['application/json'];
2520+
var returnType = null;
2521+
2522+
return this.apiClient.callApi(
2523+
'/v2.1/accounts/{accountId}/envelopes/{envelopeId}/views/correct', 'DELETE',
2524+
pathParams, queryParams, headerParams, formParams, postBody,
2525+
authNames, contentTypes, accepts, returnType, callback
2526+
);
2527+
};
2528+
24632529
/**
24642530
* (Optional) Callback function to receive the result of the deleteEnvelopeTransferRules operation. If none specified a Promise will be returned.
24652531
* @callback module:api/EnvelopesApi~deleteEnvelopeTransferRulesCallback
@@ -3245,7 +3311,7 @@ If the envelope is `In Process`, meaning that it has been sent and has not been
32453311
* @param {String} accountId The external account number (int) or account ID Guid.
32463312
* @param {String} envelopeId The envelopeId Guid of the envelope being accessed.
32473313
* @param {String} recipientId The ID of the recipient being accessed.
3248-
* @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.
3314+
* @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), 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.
32493315
* @param {Object} optsOrCallback Optional parameters, if you are passing no optional parameters, you can either pass a null or omit this parameter entirely.
32503316
* @param {String} optsOrCallback.langCode2
32513317
* @param {module:api/EnvelopesApi~getConsumerDisclosureCallback} callback The callback function, accepting three arguments: error, data, response

src/index.js

Lines changed: 53 additions & 3 deletions
Large diffs are not rendered by default.

src/model/AccountSettingsInformation.js

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,12 @@
6464
if (data.hasOwnProperty('accountDateTimeFormatMetadata')) {
6565
obj['accountDateTimeFormatMetadata'] = SettingsMetadata.constructFromObject(data['accountDateTimeFormatMetadata']);
6666
}
67+
if (data.hasOwnProperty('accountDefaultLanguage')) {
68+
obj['accountDefaultLanguage'] = ApiClient.convertToType(data['accountDefaultLanguage'], 'String');
69+
}
70+
if (data.hasOwnProperty('accountDefaultLanguageMetadata')) {
71+
obj['accountDefaultLanguageMetadata'] = SettingsMetadata.constructFromObject(data['accountDefaultLanguageMetadata']);
72+
}
6773
if (data.hasOwnProperty('accountName')) {
6874
obj['accountName'] = ApiClient.convertToType(data['accountName'], 'String');
6975
}
@@ -1617,6 +1623,15 @@
16171623
* @member {module:model/SettingsMetadata} accountDateTimeFormatMetadata
16181624
*/
16191625
exports.prototype['accountDateTimeFormatMetadata'] = undefined;
1626+
/**
1627+
*
1628+
* @member {String} accountDefaultLanguage
1629+
*/
1630+
exports.prototype['accountDefaultLanguage'] = undefined;
1631+
/**
1632+
* @member {module:model/SettingsMetadata} accountDefaultLanguageMetadata
1633+
*/
1634+
exports.prototype['accountDefaultLanguageMetadata'] = undefined;
16201635
/**
16211636
*
16221637
* @member {String} accountName

0 commit comments

Comments
 (0)