Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@
See [DocuSign Support Center](https://support.docusign.com/en/releasenotes/) for Product Release Notes.


## [v10.0.0] - eSignature API v2.1-26.2.01.01 - 2026-07-01
### Changed
- Fixed CreateChunkedUpload sending incorrect Content-Type: multipart/form-data instead of application/json.
- Added support for version v2.1-26.2.01.01 of the DocuSign ESignature API.
- Updated the SDK release version.

## [v10.0.0-rc1] - eSignature API v2.1-26.2.00.00 - 2026-06-01
### Changed
- Added support for version v2.1-26.2.00.00 of the DocuSign ESignature API.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ This client SDK is provided as open source, which enables you to customize its f
<a id="versionInformation"></a>
### Version Information
- **API version**: v2.1
- **Latest SDK version**: 10.0.0-rc1
- **Latest SDK version**: 10.0.0

<a id="requirements"></a>
## Requirements
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "docusign-esign",
"version": "10.0.0-rc1",
"version": "10.0.0",
"description": "Docusign Node.js API client.",
"license": "MIT",
"main": "src/index.js",
Expand Down
2 changes: 1 addition & 1 deletion src/ApiClient.js
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@
this.defaultHeaders = {
"X-DocuSign-SDK": "Node",
"Node-Ver": process.version,
"User-Agent": `Swagger-Codegen/v2.1/10.0.0-rc1/node/${process.version}`,
"User-Agent": `Swagger-Codegen/v2.1/10.0.0/node/${process.version}`,
};

opts = {...defaults, ...opts};
Expand Down
125 changes: 12 additions & 113 deletions src/api/AccountsApi.js

Large diffs are not rendered by default.

125 changes: 124 additions & 1 deletion src/api/EnvelopesApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@
};

var authNames = ['docusignAccessCode'];
var contentTypes = ['multipart/form-data'];
var contentTypes = [];
var accepts = ['application/json'];
var returnType = ChunkedUploadResponse;

Expand Down Expand Up @@ -5295,6 +5295,129 @@ envelope specified by `envelopeId`.
);
};

/**
* (Optional) Callback function to receive the result of the getEnvelopesShare operation. If none specified a Promise will be returned.
* @callback module:api/EnvelopesApi~getEnvelopesShareCallback
* @param {String} error Error message, if any.
* @param {module:model/EnvelopesShareResponse} data The data returned by the service call.
* @param {String} If a callback was specified, the response The complete HTTP response, else a Promise resolving the response Data.
*/

/**
* Gets a single envelope share by shareId
* @param {String} accountId The external account number (int) or account ID Guid.
* @param {String} envelopeId The envelopeId Guid of the envelope being accessed.
* @param {String} shareId
* @param {module:api/EnvelopesApi~getEnvelopesShareCallback} callback The callback function, accepting three arguments: error, data, response
* data is of type: {@link module:model/EnvelopesShareResponse}
*/
this.getEnvelopesShare = function(accountId, envelopeId, shareId, callback) {
var postBody = null;

// verify the required parameter 'accountId' is set
if (accountId === undefined || accountId === null) {
throw new Error("Missing the required parameter 'accountId' when calling getEnvelopesShare");
}

// verify the required parameter 'envelopeId' is set
if (envelopeId === undefined || envelopeId === null) {
throw new Error("Missing the required parameter 'envelopeId' when calling getEnvelopesShare");
}

// verify the required parameter 'shareId' is set
if (shareId === undefined || shareId === null) {
throw new Error("Missing the required parameter 'shareId' when calling getEnvelopesShare");
}

if (typeof callback !== 'function' && arguments.length && typeof arguments[arguments.length-1] === 'function'){
if (typeof optsOrCallback !== 'undefined') {
optsOrCallback = callback;
}
callback = arguments[arguments.length-1];
}

var pathParams = {
'accountId': accountId,
'envelopeId': envelopeId,
'shareId': shareId
};
var queryParams = {
};
var headerParams = {
};
var formParams = {
};

var authNames = ['docusignAccessCode'];
var contentTypes = [];
var accepts = ['application/json'];
var returnType = EnvelopesShareResponse;

return this.apiClient.callApi(
'/v2.1/accounts/{accountId}/envelopes/{envelopeId}/shares/{shareId}', 'GET',
pathParams, queryParams, headerParams, formParams, postBody,
authNames, contentTypes, accepts, returnType, callback
);
};

/**
* (Optional) Callback function to receive the result of the getEnvelopesShares operation. If none specified a Promise will be returned.
* @callback module:api/EnvelopesApi~getEnvelopesSharesCallback
* @param {String} error Error message, if any.
* @param {module:model/EnvelopesSharesResponse} data The data returned by the service call.
* @param {String} If a callback was specified, the response The complete HTTP response, else a Promise resolving the response Data.
*/

/**
* Gets all shares for an envelope
* @param {String} accountId The external account number (int) or account ID Guid.
* @param {String} envelopeId The envelopeId Guid of the envelope being accessed.
* @param {module:api/EnvelopesApi~getEnvelopesSharesCallback} callback The callback function, accepting three arguments: error, data, response
* data is of type: {@link module:model/EnvelopesSharesResponse}
*/
this.getEnvelopesShares = function(accountId, envelopeId, callback) {
var postBody = null;

// verify the required parameter 'accountId' is set
if (accountId === undefined || accountId === null) {
throw new Error("Missing the required parameter 'accountId' when calling getEnvelopesShares");
}

// verify the required parameter 'envelopeId' is set
if (envelopeId === undefined || envelopeId === null) {
throw new Error("Missing the required parameter 'envelopeId' when calling getEnvelopesShares");
}

if (typeof callback !== 'function' && arguments.length && typeof arguments[arguments.length-1] === 'function'){
if (typeof optsOrCallback !== 'undefined') {
optsOrCallback = callback;
}
callback = arguments[arguments.length-1];
}

var pathParams = {
'accountId': accountId,
'envelopeId': envelopeId
};
var queryParams = {
};
var headerParams = {
};
var formParams = {
};

var authNames = ['docusignAccessCode'];
var contentTypes = [];
var accepts = ['application/json'];
var returnType = EnvelopesSharesResponse;

return this.apiClient.callApi(
'/v2.1/accounts/{accountId}/envelopes/{envelopeId}/shares', 'GET',
pathParams, queryParams, headerParams, formParams, postBody,
authNames, contentTypes, accepts, returnType, callback
);
};

/**
* (Optional) Callback function to receive the result of the getFormData operation. If none specified a Promise will be returned.
* @callback module:api/EnvelopesApi~getFormDataCallback
Expand Down
Loading