Skip to content

Commit 1c373fb

Browse files
Nandsingh90root
andauthored
Version 8.2.0-v2.1-25.2.00.00 release (#375)
Co-authored-by: root <[email protected]>
1 parent cb3bb15 commit 1c373fb

30 files changed

+445
-120
lines changed

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+
## [v8.2.0] - eSignature API v2.1-25.2.00.00 - 2025-05-21
6+
### Changed
7+
- Added support for version v2.1-25.2.00.00 of the DocuSign ESignature API.
8+
- Updated the SDK release version.
9+
510
## [v8.1.0] - eSignature API v2.1-25.1.00.02 - 2025-04-28
611
### Changed
712
- Added support for version v2.1-25.1.00.02 of the DocuSign ESignature API.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ This client SDK is provided as open source, which enables you to customize its f
3232
<a id="versionInformation"></a>
3333
### Version Information
3434
- **API version**: v2.1
35-
- **Latest SDK version**: 8.1.0
35+
- **Latest SDK version**: 8.2.0
3636

3737
<a id="requirements"></a>
3838
## Requirements

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

src/ApiClient.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@
181181
this.defaultHeaders = {
182182
"X-DocuSign-SDK": "Node",
183183
"Node-Ver": process.version,
184-
"User-Agent": `Swagger-Codegen/v2.1/8.1.0/node/${process.version}`,
184+
"User-Agent": `Swagger-Codegen/v2.1/8.2.0/node/${process.version}`,
185185
};
186186

187187
opts = {...defaults, ...opts};

src/api/AccountsApi.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1362,6 +1362,7 @@ The `canUpgrade` property contains is a Boolean that indicates whether the accou
13621362
* @param {String} accountId The external account number (int) or account ID Guid.
13631363
* @param {Object} optsOrCallback Optional parameters, if you are passing no optional parameters, you can either pass a null or omit this parameter entirely.
13641364
* @param {String} optsOrCallback.includeAccountSettings When set to **true**, includes the account settings for the account in the response.
1365+
* @param {String} optsOrCallback.includeTrialEligibility
13651366
* @param {module:api/AccountsApi~getAccountInformationCallback} callback The callback function, accepting three arguments: error, data, response
13661367
* data is of type: {@link module:model/AccountInformation}
13671368
*/
@@ -1391,7 +1392,8 @@ The `canUpgrade` property contains is a Boolean that indicates whether the accou
13911392
'accountId': accountId
13921393
};
13931394
var queryParams = {
1394-
'include_account_settings': optsOrCallback['includeAccountSettings']
1395+
'include_account_settings': optsOrCallback['includeAccountSettings'],
1396+
'include_trial_eligibility': optsOrCallback['includeTrialEligibility']
13951397
};
13961398
var headerParams = {
13971399
};
@@ -2216,7 +2218,7 @@ A brand uses a set of brand resource files to control the sending, signing, emai
22162218
* Gets the Electronic Record and Signature Disclosure.
22172219
* 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.
22182220
* @param {String} accountId The external account number (int) or account ID Guid.
2219-
* @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.
2221+
* @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.
22202222
* @param {module:api/AccountsApi~getConsumerDisclosureCallback} callback The callback function, accepting three arguments: error, data, response
22212223
* data is of type: {@link module:model/ConsumerDisclosure}
22222224
*/
@@ -4176,7 +4178,7 @@ When you update a custom disclosure, you can update all of the properties except
41764178
41774179
41784180
* @param {String} accountId The external account number (int) or account ID Guid.
4179-
* @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.
4181+
* @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.
41804182
* @param {Object} optsOrCallback Optional parameters, if you are passing no optional parameters, you can either pass a null or omit this parameter entirely.
41814183
* @param {String} optsOrCallback.includeMetadata
41824184
* @param {module:model/ConsumerDisclosure} optsOrCallback.consumerDisclosure

src/api/EnvelopesApi.js

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4057,7 +4057,7 @@ stream.
40574057
* @param {String} accountId The external account number (int) or account ID Guid.
40584058
* @param {String} envelopeId The envelopeId Guid of the envelope being accessed.
40594059
* @param {String} recipientId The ID of the recipient being accessed.
4060-
* @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.
4060+
* @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.
40614061
* @param {Object} optsOrCallback Optional parameters, if you are passing no optional parameters, you can either pass a null or omit this parameter entirely.
40624062
* @param {String} optsOrCallback.langCode2 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.
40634063
* @param {module:api/EnvelopesApi~getConsumerDisclosureCallback} callback The callback function, accepting three arguments: error, data, response
@@ -6129,10 +6129,19 @@ Older envelopes might only have chromed images. If getting the non-chromed image
61296129
* Gets the envelope audit events for the specified envelope.
61306130
* @param {String} accountId The external account number (int) or account ID Guid.
61316131
* @param {String} envelopeId The envelopeId Guid of the envelope being accessed.
6132+
* @param {Object} optsOrCallback Optional parameters, if you are passing no optional parameters, you can either pass a null or omit this parameter entirely.
6133+
* @param {String} optsOrCallback.locale Locale setting for the response, e.g., 'en-US'.
61326134
* @param {module:api/EnvelopesApi~listAuditEventsCallback} callback The callback function, accepting three arguments: error, data, response
61336135
* data is of type: {@link module:model/EnvelopeAuditEventResponse}
61346136
*/
6135-
this.listAuditEvents = function(accountId, envelopeId, callback) {
6137+
this.listAuditEvents = function(accountId, envelopeId, optsOrCallback, callback) {
6138+
optsOrCallback = optsOrCallback || {};
6139+
6140+
if (typeof optsOrCallback === 'function') {
6141+
callback = optsOrCallback;
6142+
optsOrCallback = {};
6143+
}
6144+
61366145
var postBody = null;
61376146

61386147
// verify the required parameter 'accountId' is set
@@ -6157,6 +6166,7 @@ Older envelopes might only have chromed images. If getting the non-chromed image
61576166
'envelopeId': envelopeId
61586167
};
61596168
var queryParams = {
6169+
'locale': optsOrCallback['locale']
61606170
};
61616171
var headerParams = {
61626172
};
@@ -6317,6 +6327,7 @@ There are two types of envelope custom fields, text, and list. A text custom fie
63176327
* @param {String} envelopeId The envelopeId Guid of the envelope being accessed.
63186328
* @param {Object} optsOrCallback Optional parameters, if you are passing no optional parameters, you can either pass a null or omit this parameter entirely.
63196329
* @param {String} optsOrCallback.documentsByUserid
6330+
* @param {String} optsOrCallback.includeAgreementType
63206331
* @param {String} optsOrCallback.includeDocgenFormfields
63216332
* @param {String} optsOrCallback.includeDocumentSize
63226333
* @param {String} optsOrCallback.includeMetadata
@@ -6359,6 +6370,7 @@ There are two types of envelope custom fields, text, and list. A text custom fie
63596370
};
63606371
var queryParams = {
63616372
'documents_by_userid': optsOrCallback['documentsByUserid'],
6373+
'include_agreement_type': optsOrCallback['includeAgreementType'],
63626374
'include_docgen_formfields': optsOrCallback['includeDocgenFormfields'],
63636375
'include_document_size': optsOrCallback['includeDocumentSize'],
63646376
'include_metadata': optsOrCallback['includeMetadata'],

src/api/TemplatesApi.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2495,6 +2495,7 @@ template specified by `templateId`.
24952495
* @param {String} accountId The external account number (int) or account ID Guid.
24962496
* @param {String} templateId The ID of the template being accessed.
24972497
* @param {Object} optsOrCallback Optional parameters, if you are passing no optional parameters, you can either pass a null or omit this parameter entirely.
2498+
* @param {String} optsOrCallback.includeAgreementType
24982499
* @param {String} optsOrCallback.includeTabs
24992500
* @param {module:api/TemplatesApi~listDocumentsCallback} callback The callback function, accepting three arguments: error, data, response
25002501
* data is of type: {@link module:model/TemplateDocumentsResult}
@@ -2531,6 +2532,7 @@ template specified by `templateId`.
25312532
'templateId': templateId
25322533
};
25332534
var queryParams = {
2535+
'include_agreement_type': optsOrCallback['includeAgreementType'],
25342536
'include_tabs': optsOrCallback['includeTabs']
25352537
};
25362538
var headerParams = {

src/model/AccountInformation.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,9 @@
136136
if (data.hasOwnProperty('isDowngrade')) {
137137
obj['isDowngrade'] = ApiClient.convertToType(data['isDowngrade'], 'String');
138138
}
139+
if (data.hasOwnProperty('isFreeToTrialEligible')) {
140+
obj['isFreeToTrialEligible'] = ApiClient.convertToType(data['isFreeToTrialEligible'], 'String');
141+
}
139142
if (data.hasOwnProperty('paymentMethod')) {
140143
obj['paymentMethod'] = ApiClient.convertToType(data['paymentMethod'], 'String');
141144
}
@@ -311,6 +314,11 @@
311314
* @member {String} isDowngrade
312315
*/
313316
exports.prototype['isDowngrade'] = undefined;
317+
/**
318+
*
319+
* @member {String} isFreeToTrialEligible
320+
*/
321+
exports.prototype['isFreeToTrialEligible'] = undefined;
314322
/**
315323
*
316324
* @member {String} paymentMethod

0 commit comments

Comments
 (0)