-
Notifications
You must be signed in to change notification settings - Fork 100
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Version 5.5.0-rc1-v2.1-20.2.00 release (#199)
Co-authored-by: automation <automation@docusign.com>
- Loading branch information
1 parent
5e3d52a
commit 9f5e3c6
Showing
13 changed files
with
164 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,3 +6,5 @@ auth-info.json | |
config.json | ||
.idea/ | ||
npm-debug.log | ||
package-lock.json | ||
.swagger-codegen/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,107 @@ | ||
/** | ||
* DocuSign REST API | ||
* The DocuSign REST API provides you with a powerful, convenient, and simple Web services API for interacting with DocuSign. | ||
* | ||
* OpenAPI spec version: v2.1 | ||
* Contact: devcenter@docusign.com | ||
* | ||
* NOTE: This class is auto generated. Do not edit the class manually and submit a new issue instead. | ||
* | ||
*/ | ||
|
||
(function(root, factory) { | ||
if (typeof define === 'function' && define.amd) { | ||
// AMD. Register as an anonymous module. | ||
define(['Configuration', 'ApiClient', 'model/AccountSeals', 'model/ErrorDetails'], factory); | ||
} else if (typeof module === 'object' && module.exports) { | ||
// CommonJS-like environments that support module.exports, like Node. | ||
module.exports = factory(require('../Configuration'), require('../ApiClient'), require('../model/AccountSeals'), require('../model/ErrorDetails')); | ||
} else { | ||
// Browser globals (root is window) | ||
if (!root.Docusign) { | ||
root.Docusign = {}; | ||
} | ||
root.Docusign.TrustServiceProvidersApi = factory(root.Docusign.Configuration, root.Docusign.ApiClient, root.Docusign.AccountSeals, root.Docusign.ErrorDetails); | ||
} | ||
}(this, function(Configuration, ApiClient, AccountSeals, ErrorDetails) { | ||
'use strict'; | ||
|
||
/** | ||
* TrustServiceProviders service. | ||
* @module api/TrustServiceProvidersApi | ||
*/ | ||
|
||
/** | ||
* Constructs a new TrustServiceProvidersApi. | ||
* @alias module:api/TrustServiceProvidersApi | ||
* @class | ||
* @param {module:ApiClient} apiClient Optional API client implementation to use, | ||
* default to {@link module:ApiClient#instance} if unspecified. | ||
*/ | ||
var exports = function(apiClient) { | ||
this.apiClient = apiClient || Configuration.default.getDefaultApiClient() || ApiClient.instance; | ||
|
||
|
||
this.setApiClient = function(apiClient) { | ||
this.apiClient = apiClient; | ||
}; | ||
|
||
this.getApiClient = function() { | ||
return this.apiClient; | ||
}; | ||
|
||
|
||
/** | ||
* (Optional) Callback function to receive the result of the getSealProviders operation. If none specified a Promise will be returned. | ||
* @callback module:api/TrustServiceProvidersApi~getSealProvidersCallback | ||
* @param {String} error Error message, if any. | ||
* @param {module:model/AccountSeals} 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. | ||
*/ | ||
|
||
/** | ||
* Returns Account available seals for specified account. | ||
* @param {String} accountId The external account number (int) or account ID Guid. | ||
* @param {module:api/TrustServiceProvidersApi~getSealProvidersCallback} callback The callback function, accepting three arguments: error, data, response | ||
* data is of type: {@link module:model/AccountSeals} | ||
*/ | ||
this.getSealProviders = function(accountId, 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 getSealProviders"); | ||
} | ||
|
||
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 | ||
}; | ||
var queryParams = { | ||
}; | ||
var headerParams = { | ||
}; | ||
var formParams = { | ||
}; | ||
|
||
var authNames = ['docusignAccessCode']; | ||
var contentTypes = []; | ||
var accepts = ['application/json']; | ||
var returnType = AccountSeals; | ||
|
||
return this.apiClient.callApi( | ||
'/v2.1/accounts/{accountId}/seals', 'GET', | ||
pathParams, queryParams, headerParams, formParams, postBody, | ||
authNames, contentTypes, accepts, returnType, callback | ||
); | ||
}; | ||
}; | ||
|
||
return exports; | ||
})); |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +0,0 @@ | ||
-----BEGIN PUBLIC KEY----- | ||
MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAh0VLAZe6m36tbthAom/I | ||
Rzxvm/i66mEpow9AsrFP3EAybtVw2s13RJ1f0ZJA4sB7SbOtRymIxLlVUWkZLW4N | ||
qtECrObqOuke+G2ROWfOhcAyMuiBlW44mvl8Gil+n6Lwif2+OtUQ88iwPuE6I7jK | ||
nBV82lNGDx3H1hqHl7wpQZRyRPCdzPCrh6TRHj1D40mvrUwqAptj5m71QKA9tWVA | ||
QQ1DGKJZVZI4mdz3+I1XCinF8zrxIUJyEtaJfCHiS086XF3Sw7DkU2o/QIIYbpxl | ||
f9Zdjr1QT6/ow7pwJbX2/GSQW2mVGSY0KSiPFVjbpjKBpVpd4vgnQqn10BzLvLNy | ||
SwIDAQAB | ||
-----END PUBLIC KEY----- | ||