Skip to content

Commit 6a682ca

Browse files
Version 4.10.0-rc1-v2-20.3.00 release (#219)
Co-authored-by: DevCenter-DocuSign <[email protected]>
1 parent 86ec052 commit 6a682ca

File tree

4 files changed

+90
-1
lines changed

4 files changed

+90
-1
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": "4.9.0",
3+
"version": "4.10.0-rc1",
44
"description": "DocuSign Node.js API client.",
55
"license": "MIT",
66
"main": "src/index.js",

src/api/EnvelopesApi.js

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1977,6 +1977,72 @@ Important: iFrames should not be used for embedded operations on mobile devices
19771977
);
19781978
};
19791979

1980+
/**
1981+
* (Optional) Callback function to receive the result of the deleteEnvelopeCorrectView operation. If none specified a Promise will be returned.
1982+
* @callback module:api/EnvelopesApi~deleteEnvelopeCorrectViewCallback
1983+
* @param {String} error Error message, if any.
1984+
* @param data This operation does not return a value.
1985+
* @param {String} If a callback was specified, the response The complete HTTP response, else a Promise resolving the response Data.
1986+
*/
1987+
1988+
/**
1989+
* Revokes the correction view URL to the Envelope UI
1990+
* @param {String} accountId The external account number (int) or account ID Guid.
1991+
* @param {String} envelopeId The envelopeId Guid of the envelope being accessed.
1992+
* @param {Object} optsOrCallback Optional parameters, if you are passing no optional parameters, you can either pass a null or omit this parameter entirely.
1993+
* @param {module:model/CorrectViewRequest} optsOrCallback.correctViewRequest
1994+
* @param {module:api/EnvelopesApi~deleteEnvelopeCorrectViewCallback} callback The callback function, accepting three arguments: error, data, response
1995+
*/
1996+
this.deleteEnvelopeCorrectView = function(accountId, envelopeId, optsOrCallback, callback) {
1997+
optsOrCallback = optsOrCallback || {};
1998+
1999+
if (typeof optsOrCallback === 'function') {
2000+
callback = optsOrCallback;
2001+
optsOrCallback = {};
2002+
}
2003+
2004+
var postBody = optsOrCallback['correctViewRequest'];
2005+
2006+
// verify the required parameter 'accountId' is set
2007+
if (accountId === undefined || accountId === null) {
2008+
throw new Error("Missing the required parameter 'accountId' when calling deleteEnvelopeCorrectView");
2009+
}
2010+
2011+
// verify the required parameter 'envelopeId' is set
2012+
if (envelopeId === undefined || envelopeId === null) {
2013+
throw new Error("Missing the required parameter 'envelopeId' when calling deleteEnvelopeCorrectView");
2014+
}
2015+
2016+
if (typeof callback !== 'function' && arguments.length && typeof arguments[arguments.length-1] === 'function'){
2017+
if (typeof optsOrCallback !== 'undefined') {
2018+
optsOrCallback = callback;
2019+
}
2020+
callback = arguments[arguments.length-1];
2021+
}
2022+
2023+
var pathParams = {
2024+
'accountId': accountId,
2025+
'envelopeId': envelopeId
2026+
};
2027+
var queryParams = {
2028+
};
2029+
var headerParams = {
2030+
};
2031+
var formParams = {
2032+
};
2033+
2034+
var authNames = ['docusignAccessCode'];
2035+
var contentTypes = [];
2036+
var accepts = ['application/json'];
2037+
var returnType = null;
2038+
2039+
return this.apiClient.callApi(
2040+
'/v2/accounts/{accountId}/envelopes/{envelopeId}/views/correct', 'DELETE',
2041+
pathParams, queryParams, headerParams, formParams, postBody,
2042+
authNames, contentTypes, accepts, returnType, callback
2043+
);
2044+
};
2045+
19802046
/**
19812047
* (Optional) Callback function to receive the result of the deleteLock operation. If none specified a Promise will be returned.
19822048
* @callback module:api/EnvelopesApi~deleteLockCallback

src/model/CorrectViewRequest.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,9 @@
6060
if (data.hasOwnProperty('suppressNavigation')) {
6161
obj['suppressNavigation'] = ApiClient.convertToType(data['suppressNavigation'], 'String');
6262
}
63+
if (data.hasOwnProperty('viewUrl')) {
64+
obj['viewUrl'] = ApiClient.convertToType(data['viewUrl'], 'String');
65+
}
6366
}
6467
return obj;
6568
}
@@ -74,6 +77,11 @@
7477
* @member {String} suppressNavigation
7578
*/
7679
exports.prototype['suppressNavigation'] = undefined;
80+
/**
81+
*
82+
* @member {String} viewUrl
83+
*/
84+
exports.prototype['viewUrl'] = undefined;
7785

7886

7987

src/model/UserAccountManagementGranularInformation.js

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,12 @@
7272
if (data.hasOwnProperty('canManageAdminsMetadata')) {
7373
obj['canManageAdminsMetadata'] = SettingsMetadata.constructFromObject(data['canManageAdminsMetadata']);
7474
}
75+
if (data.hasOwnProperty('canManageEnvelopeTransfer')) {
76+
obj['canManageEnvelopeTransfer'] = ApiClient.convertToType(data['canManageEnvelopeTransfer'], 'String');
77+
}
78+
if (data.hasOwnProperty('canManageEnvelopeTransferMetadata')) {
79+
obj['canManageEnvelopeTransferMetadata'] = SettingsMetadata.constructFromObject(data['canManageEnvelopeTransferMetadata']);
80+
}
7581
if (data.hasOwnProperty('canManageGroups')) {
7682
obj['canManageGroups'] = ApiClient.convertToType(data['canManageGroups'], 'String');
7783
}
@@ -139,6 +145,15 @@
139145
* @member {module:model/SettingsMetadata} canManageAdminsMetadata
140146
*/
141147
exports.prototype['canManageAdminsMetadata'] = undefined;
148+
/**
149+
*
150+
* @member {String} canManageEnvelopeTransfer
151+
*/
152+
exports.prototype['canManageEnvelopeTransfer'] = undefined;
153+
/**
154+
* @member {module:model/SettingsMetadata} canManageEnvelopeTransferMetadata
155+
*/
156+
exports.prototype['canManageEnvelopeTransferMetadata'] = undefined;
142157
/**
143158
*
144159
* @member {String} canManageGroups

0 commit comments

Comments
 (0)