Skip to content

Commit 7a15fda

Browse files
aditicodessroot
andauthored
Version 8.1.0-rc1-v2.1-25.1.00.02 release (#370)
Co-authored-by: root <[email protected]>
1 parent 16f04f2 commit 7a15fda

Some content is hidden

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

93 files changed

+3651
-238
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.1.0-rc1] - eSignature API v2.1-25.1.00.02 - 2025-04-14
6+
### Changed
7+
- Added support for version v2.1-25.1.00.02 of the DocuSign ESignature API.
8+
- Updated the SDK release version.
9+
510
## [v8.0.1] - eSignature API v2.1-24.2.00.00 - 2024-08-22
611
### Changed
712
- Fixed issue with document downloads when `Content-Transfer-Encoding` is set to `base64`.

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

src/ApiClient.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@
4343
for (var k in obj) {
4444
if (typeof obj[k] === "object") removeNulls(obj[k]);
4545
if (isArray && obj.length === k) removeNulls(obj);
46-
if (obj[k] instanceof Array && obj[k].length === 0) delete obj[k];
4746
}
4847
return obj;
4948
};
@@ -145,9 +144,6 @@
145144
if (basePath == null) {
146145
return exports.prototype.OAuth.BasePath.PRODUCTION;
147146
}
148-
if (basePath.includes("https://stage")) {
149-
return exports.prototype.OAuth.BasePath.STAGE;
150-
}
151147
if (basePath.includes("https://demo")) {
152148
return exports.prototype.OAuth.BasePath.DEMO;
153149
}
@@ -185,7 +181,7 @@
185181
this.defaultHeaders = {
186182
"X-DocuSign-SDK": "Node",
187183
"Node-Ver": process.version,
188-
"User-Agent": `Swagger-Codegen/v2.1/8.0.1/node/${process.version}`,
184+
"User-Agent": `Swagger-Codegen/v2.1/8.1.0-rc1/node/${process.version}`,
189185
};
190186

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

src/api/AccountsApi.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2216,7 +2216,7 @@ A brand uses a set of brand resource files to control the sending, signing, emai
22162216
* Gets the Electronic Record and Signature Disclosure.
22172217
* 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.
22182218
* @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), 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.
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.
22202220
* @param {module:api/AccountsApi~getConsumerDisclosureCallback} callback The callback function, accepting three arguments: error, data, response
22212221
* data is of type: {@link module:model/ConsumerDisclosure}
22222222
*/
@@ -4176,7 +4176,7 @@ When you update a custom disclosure, you can update all of the properties except
41764176
41774177
41784178
* @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), 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.
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.
41804180
* @param {Object} optsOrCallback Optional parameters, if you are passing no optional parameters, you can either pass a null or omit this parameter entirely.
41814181
* @param {String} optsOrCallback.includeMetadata
41824182
* @param {module:model/ConsumerDisclosure} optsOrCallback.consumerDisclosure

src/api/CloudStorageApi.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -357,6 +357,7 @@ Valid values are the service name ("Box") or the numerical serviceId ("4136").
357357
* @param {String} optsOrCallback.order An optional value that sets the direction order used to sort the item list. Valid values are: * asc = ascending sort order * desc = descending sort order
358358
* @param {String} optsOrCallback.orderBy An optional value that sets the file attribute used to sort the item list. Valid values are: * modified * name
359359
* @param {String} optsOrCallback.searchText
360+
* @param {String} optsOrCallback.skyDriveSkipToken
360361
* @param {String} optsOrCallback.startPosition Indicates the starting point of the first item included in the response set. It uses a 0-based index. The default setting for this is 0.
361362
* @param {module:api/CloudStorageApi~listCallback} callback The callback function, accepting three arguments: error, data, response
362363
* data is of type: {@link module:model/ExternalFolder}
@@ -411,6 +412,7 @@ Valid values are the service name ("Box") or the numerical serviceId ("4136").
411412
'order': optsOrCallback['order'],
412413
'order_by': optsOrCallback['orderBy'],
413414
'search_text': optsOrCallback['searchText'],
415+
'sky_drive_skip_token': optsOrCallback['skyDriveSkipToken'],
414416
'start_position': optsOrCallback['startPosition']
415417
};
416418
var headerParams = {

src/api/EnvelopesApi.js

Lines changed: 1 addition & 1 deletion
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), 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), 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

src/api/PowerFormsApi.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -486,11 +486,13 @@ You specify the format in which you want to retrieve the data in the `Accept` he
486486
* This method returns a list of PowerForms that are available to the user.
487487
* @param {String} accountId The external account number (int) or account ID Guid.
488488
* @param {Object} optsOrCallback Optional parameters, if you are passing no optional parameters, you can either pass a null or omit this parameter entirely.
489+
* @param {String} optsOrCallback.count
489490
* @param {String} optsOrCallback.fromDate
490491
* @param {String} optsOrCallback.order
491492
* @param {String} optsOrCallback.orderBy
492493
* @param {String} optsOrCallback.searchFields
493494
* @param {String} optsOrCallback.searchText
495+
* @param {String} optsOrCallback.startPosition
494496
* @param {String} optsOrCallback.toDate
495497
* @param {module:api/PowerFormsApi~listPowerFormsCallback} callback The callback function, accepting three arguments: error, data, response
496498
* data is of type: {@link module:model/PowerFormsResponse}
@@ -521,11 +523,13 @@ You specify the format in which you want to retrieve the data in the `Accept` he
521523
'accountId': accountId
522524
};
523525
var queryParams = {
526+
'count': optsOrCallback['count'],
524527
'from_date': optsOrCallback['fromDate'],
525528
'order': optsOrCallback['order'],
526529
'order_by': optsOrCallback['orderBy'],
527530
'search_fields': optsOrCallback['searchFields'],
528531
'search_text': optsOrCallback['searchText'],
532+
'start_position': optsOrCallback['startPosition'],
529533
'to_date': optsOrCallback['toDate']
530534
};
531535
var headerParams = {

0 commit comments

Comments
 (0)