diff --git a/CHANGELOG.md b/CHANGELOG.md index b046847..dce4095 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,11 @@ See [DocuSign Support Center](https://support.docusign.com/en/releasenotes/) for Product Release Notes. +## [v3.1.0] - Admin API v2.1-1.4.3 - 2026-03-09 +### Changed +- Added support for version v2.1-1.4.3 of the DocuSign Admin API. +- Updated the SDK release version. + ## [v3.0.0] - Admin API v2.1-1.4.1 - 2024-10-28 ### Changed - Added support for version v2.1-1.4.1 of the DocuSign Admin API. diff --git a/package.json b/package.json index 41e70b3..b915197 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "docusign-admin", - "version": "3.0.0", + "version": "3.1.0", "description": "The Docusign Admin API enables you to automate user management with your existing systems while ensuring governance and compliance.", "license": "MIT", "main": "src/index.js", diff --git a/src/api/BulkExportsApi.js b/src/api/BulkExportsApi.js index 0034c61..c6a7889 100644 --- a/src/api/BulkExportsApi.js +++ b/src/api/BulkExportsApi.js @@ -60,7 +60,7 @@ */ /** - * Creates a new Account Setting Export request. + * Creates a new Account Setting Export request. * Required scopes: account_read * @param {String} organizationId The organization ID Guid * @param {module:model/OrganizationAccountsRequest} request Request body containing details about the accounts be compared diff --git a/src/api/OrgConnectApi.js b/src/api/OrgConnectApi.js new file mode 100644 index 0000000..5bb13c4 --- /dev/null +++ b/src/api/OrgConnectApi.js @@ -0,0 +1,750 @@ +/** + * Docusign Admin API + * An API for an organization administrator to manage organizations, accounts and users + * + * 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/OrganizationConnectConfigsResponse', 'model/OrganizationConnectConfigurationDetailsResponse', 'model/OrganizationConnectConfigurationRequest', 'model/OrganizationConnectHmacSecretsResponse', 'model/OrganizationConnectOAuthConfiguration'], 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/OrganizationConnectConfigsResponse'), require('../model/OrganizationConnectConfigurationDetailsResponse'), require('../model/OrganizationConnectConfigurationRequest'), require('../model/OrganizationConnectHmacSecretsResponse'), require('../model/OrganizationConnectOAuthConfiguration')); + } else { + // Browser globals (root is window) + if (!root.DocusignAdmin) { + root.DocusignAdmin = {}; + } + root.DocusignAdmin.OrgConnectApi = factory(root.DocusignAdmin.Configuration, root.DocusignAdmin.ApiClient, root.DocusignAdmin.OrganizationConnectConfigsResponse, root.DocusignAdmin.OrganizationConnectConfigurationDetailsResponse, root.DocusignAdmin.OrganizationConnectConfigurationRequest, root.DocusignAdmin.OrganizationConnectHmacSecretsResponse, root.DocusignAdmin.OrganizationConnectOAuthConfiguration); + } +}(this, function(Configuration, ApiClient, OrganizationConnectConfigsResponse, OrganizationConnectConfigurationDetailsResponse, OrganizationConnectConfigurationRequest, OrganizationConnectHmacSecretsResponse, OrganizationConnectOAuthConfiguration) { + 'use strict'; + + /** + * OrgConnect service. + * @module api/OrgConnectApi + */ + + /** + * Constructs a new OrgConnectApi. + * @alias module:api/OrgConnectApi + * @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 createOrganizationConnectConfig operation. If none specified a Promise will be returned. + * @callback module:api/OrgConnectApi~createOrganizationConnectConfigCallback + * @param {String} error Error message, if any. + * @param {module:model/OrganizationConnectConfigurationDetailsResponse} 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. + */ + + /** + * Adds a Connect configuration for an organization + * Required scopes: connect_org_config_write_api + * @param {String} organizationId The organization ID Guid + * @param {module:model/OrganizationConnectConfigurationRequest} connectRequest Add an organization Connect request + * @param {module:api/OrgConnectApi~createOrganizationConnectConfigCallback} callback The callback function, accepting three arguments: error, data, response + * data is of type: {@link module:model/OrganizationConnectConfigurationDetailsResponse} + */ + this.createOrganizationConnectConfig = function(connectRequest, organizationId, callback) { + var postBody = connectRequest; + + // verify the required parameter 'organizationId' is set + if (organizationId === undefined || organizationId === null) { + throw new Error("Missing the required parameter 'organizationId' when calling createOrganizationConnectConfig"); + } + + // verify the required parameter 'connectRequest' is set + if (connectRequest === undefined || connectRequest === null) { + throw new Error("Missing the required parameter 'connectRequest' when calling createOrganizationConnectConfig"); + } + + 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 = { + 'organizationId': organizationId + }; + var queryParams = { + }; + var headerParams = { + }; + var formParams = { + }; + + var authNames = ['docusignAccessCode']; + var contentTypes = ['application/json']; + var accepts = ['application/json']; + var returnType = OrganizationConnectConfigurationDetailsResponse; + + return this.apiClient.callApi( + '/v2/organizations/{organizationId}/connect', 'POST', + pathParams, queryParams, headerParams, formParams, postBody, + authNames, contentTypes, accepts, returnType, callback + ); + }; + + /** + * (Optional) Callback function to receive the result of the deleteConnectHmacSecret operation. If none specified a Promise will be returned. + * @callback module:api/OrgConnectApi~deleteConnectHmacSecretCallback + * @param {String} error Error message, if any. + * @param {module:model/OrganizationConnectHmacSecretsResponse} 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. + */ + + /** + * Deletes information about a Connect HMAC secret + * Required scopes: connect_org_hmac_write_api + * @param {String} organizationId The organization ID Guid + * @param {String} keyId The key ID Guid + * @param {module:api/OrgConnectApi~deleteConnectHmacSecretCallback} callback The callback function, accepting three arguments: error, data, response + * data is of type: {@link module:model/OrganizationConnectHmacSecretsResponse} + */ + this.deleteConnectHmacSecret = function(organizationId, keyId, callback) { + var postBody = null; + + // verify the required parameter 'organizationId' is set + if (organizationId === undefined || organizationId === null) { + throw new Error("Missing the required parameter 'organizationId' when calling deleteConnectHmacSecret"); + } + + // verify the required parameter 'keyId' is set + if (keyId === undefined || keyId === null) { + throw new Error("Missing the required parameter 'keyId' when calling deleteConnectHmacSecret"); + } + + 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 = { + 'organizationId': organizationId, + 'keyId': keyId + }; + var queryParams = { + }; + var headerParams = { + }; + var formParams = { + }; + + var authNames = ['docusignAccessCode']; + var contentTypes = ['application/json']; + var accepts = ['application/json']; + var returnType = OrganizationConnectHmacSecretsResponse; + + return this.apiClient.callApi( + '/v2/organizations/{organizationId}/connect/secret/{keyId}', 'DELETE', + pathParams, queryParams, headerParams, formParams, postBody, + authNames, contentTypes, accepts, returnType, callback + ); + }; + + /** + * (Optional) Callback function to receive the result of the deleteOrganizationConnectConfig operation. If none specified a Promise will be returned. + * @callback module:api/OrgConnectApi~deleteOrganizationConnectConfigCallback + * @param {String} error Error message, if any. + * @param {Object} 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. + */ + + /** + * Deletes information about an organization-level Connect configuration + * Required scopes: connect_org_config_write_api + * @param {String} organizationId The organization ID Guid + * @param {String} connectId The configuration ID Guid + * @param {module:api/OrgConnectApi~deleteOrganizationConnectConfigCallback} callback The callback function, accepting three arguments: error, data, response + * data is of type: {@link Object} + */ + this.deleteOrganizationConnectConfig = function(organizationId, connectId, callback) { + var postBody = null; + + // verify the required parameter 'organizationId' is set + if (organizationId === undefined || organizationId === null) { + throw new Error("Missing the required parameter 'organizationId' when calling deleteOrganizationConnectConfig"); + } + + // verify the required parameter 'connectId' is set + if (connectId === undefined || connectId === null) { + throw new Error("Missing the required parameter 'connectId' when calling deleteOrganizationConnectConfig"); + } + + 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 = { + 'organizationId': organizationId, + 'connectId': connectId + }; + var queryParams = { + }; + var headerParams = { + }; + var formParams = { + }; + + var authNames = ['docusignAccessCode']; + var contentTypes = ['application/json']; + var accepts = ['application/json']; + var returnType = Object; + + return this.apiClient.callApi( + '/v2/organizations/{organizationId}/connect/{connectId}', 'DELETE', + pathParams, queryParams, headerParams, formParams, postBody, + authNames, contentTypes, accepts, returnType, callback + ); + }; + + /** + * (Optional) Callback function to receive the result of the deleteOrganizationConnectOAuthConfiguration operation. If none specified a Promise will be returned. + * @callback module:api/OrgConnectApi~deleteOrganizationConnectOAuthConfigurationCallback + * @param {String} error Error message, if any. + * @param {Object} 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. + */ + + /** + * Deletes an organization-level Connect OAuth configuration + * Required scopes: connect_org_oauth_write_api + * @param {String} organizationId The organization ID Guid + * @param {module:api/OrgConnectApi~deleteOrganizationConnectOAuthConfigurationCallback} callback The callback function, accepting three arguments: error, data, response + * data is of type: {@link Object} + */ + this.deleteOrganizationConnectOAuthConfiguration = function(organizationId, callback) { + var postBody = null; + + // verify the required parameter 'organizationId' is set + if (organizationId === undefined || organizationId === null) { + throw new Error("Missing the required parameter 'organizationId' when calling deleteOrganizationConnectOAuthConfiguration"); + } + + 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 = { + 'organizationId': organizationId + }; + var queryParams = { + }; + var headerParams = { + }; + var formParams = { + }; + + var authNames = ['docusignAccessCode']; + var contentTypes = ['application/json']; + var accepts = ['application/json']; + var returnType = Object; + + return this.apiClient.callApi( + '/v2/organizations/{organizationId}/connect/oauth', 'DELETE', + pathParams, queryParams, headerParams, formParams, postBody, + authNames, contentTypes, accepts, returnType, callback + ); + }; + + /** + * (Optional) Callback function to receive the result of the getConnectHmacSecrets operation. If none specified a Promise will be returned. + * @callback module:api/OrgConnectApi~getConnectHmacSecretsCallback + * @param {String} error Error message, if any. + * @param {module:model/OrganizationConnectHmacSecretsResponse} 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 information about Connect HMAC secrets + * Required scopes: connect_org_hmac_read_api + * @param {String} organizationId The organization ID Guid + * @param {module:api/OrgConnectApi~getConnectHmacSecretsCallback} callback The callback function, accepting three arguments: error, data, response + * data is of type: {@link module:model/OrganizationConnectHmacSecretsResponse} + */ + this.getConnectHmacSecrets = function(organizationId, callback) { + var postBody = null; + + // verify the required parameter 'organizationId' is set + if (organizationId === undefined || organizationId === null) { + throw new Error("Missing the required parameter 'organizationId' when calling getConnectHmacSecrets"); + } + + 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 = { + 'organizationId': organizationId + }; + var queryParams = { + }; + var headerParams = { + }; + var formParams = { + }; + + var authNames = ['docusignAccessCode']; + var contentTypes = ['application/json']; + var accepts = ['application/json']; + var returnType = OrganizationConnectHmacSecretsResponse; + + return this.apiClient.callApi( + '/v2/organizations/{organizationId}/connect/secret', 'GET', + pathParams, queryParams, headerParams, formParams, postBody, + authNames, contentTypes, accepts, returnType, callback + ); + }; + + /** + * (Optional) Callback function to receive the result of the getOrganizationConnectConfig operation. If none specified a Promise will be returned. + * @callback module:api/OrgConnectApi~getOrganizationConnectConfigCallback + * @param {String} error Error message, if any. + * @param {module:model/OrganizationConnectConfigurationDetailsResponse} 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 an organization-level Connect configuration + * Required scopes: connect_org_config_read_api + * @param {String} organizationId The organization ID Guid + * @param {String} connectId The configuration ID Guid + * @param {module:api/OrgConnectApi~getOrganizationConnectConfigCallback} callback The callback function, accepting three arguments: error, data, response + * data is of type: {@link module:model/OrganizationConnectConfigurationDetailsResponse} + */ + this.getOrganizationConnectConfig = function(organizationId, connectId, callback) { + var postBody = null; + + // verify the required parameter 'organizationId' is set + if (organizationId === undefined || organizationId === null) { + throw new Error("Missing the required parameter 'organizationId' when calling getOrganizationConnectConfig"); + } + + // verify the required parameter 'connectId' is set + if (connectId === undefined || connectId === null) { + throw new Error("Missing the required parameter 'connectId' when calling getOrganizationConnectConfig"); + } + + 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 = { + 'organizationId': organizationId, + 'connectId': connectId + }; + var queryParams = { + }; + var headerParams = { + }; + var formParams = { + }; + + var authNames = ['docusignAccessCode']; + var contentTypes = ['application/json']; + var accepts = ['application/json']; + var returnType = OrganizationConnectConfigurationDetailsResponse; + + return this.apiClient.callApi( + '/v2/organizations/{organizationId}/connect/{connectId}', 'GET', + pathParams, queryParams, headerParams, formParams, postBody, + authNames, contentTypes, accepts, returnType, callback + ); + }; + + /** + * (Optional) Callback function to receive the result of the getOrganizationConnectConfigs operation. If none specified a Promise will be returned. + * @callback module:api/OrgConnectApi~getOrganizationConnectConfigsCallback + * @param {String} error Error message, if any. + * @param {module:model/OrganizationConnectConfigsResponse} 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 a list of Connect configurations under an organization + * Required scopes: connect_org_config_read_api + * @param {String} organizationId The organization ID Guid + * @param {Object} optsOrCallback Optional parameters, if you are passing no optional parameters, you can either pass a null or omit this parameter entirely. + * @param {String} optsOrCallback.sortBy Sorts configs by field in ascending order. Default sort by config name. Default value: name + * @param {Number} optsOrCallback.siteId Selects configs based on siteId + * @param {String} optsOrCallback.accountId Selects configs based on accountId + * @param {Boolean} optsOrCallback.allowEnvelopePublish Selects configs based on their status + * @param {String} optsOrCallback.q Selects configs based on config id or name provided in the query parameter + * @param {module:api/OrgConnectApi~getOrganizationConnectConfigsCallback} callback The callback function, accepting three arguments: error, data, response + * data is of type: {@link module:model/OrganizationConnectConfigsResponse} + */ + this.getOrganizationConnectConfigs = function(organizationId, optsOrCallback, callback) { + optsOrCallback = optsOrCallback || {}; + + if (typeof optsOrCallback === 'function') { + callback = optsOrCallback; + optsOrCallback = {}; + } + + var postBody = null; + + // verify the required parameter 'organizationId' is set + if (organizationId === undefined || organizationId === null) { + throw new Error("Missing the required parameter 'organizationId' when calling getOrganizationConnectConfigs"); + } + + 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 = { + 'organizationId': organizationId + }; + var queryParams = { + 'sortBy': optsOrCallback['sortBy'], + 'siteId': optsOrCallback['siteId'], + 'accountId': optsOrCallback['accountId'], + 'allowEnvelopePublish': optsOrCallback['allowEnvelopePublish'], + 'q': optsOrCallback['q'] + }; + var headerParams = { + }; + var formParams = { + }; + + var authNames = ['docusignAccessCode']; + var contentTypes = ['application/json']; + var accepts = ['application/json']; + var returnType = OrganizationConnectConfigsResponse; + + return this.apiClient.callApi( + '/v2/organizations/{organizationId}/connect', 'GET', + pathParams, queryParams, headerParams, formParams, postBody, + authNames, contentTypes, accepts, returnType, callback + ); + }; + + /** + * (Optional) Callback function to receive the result of the getOrganizationConnectOAuthConfiguration operation. If none specified a Promise will be returned. + * @callback module:api/OrgConnectApi~getOrganizationConnectOAuthConfigurationCallback + * @param {String} error Error message, if any. + * @param {Object} 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 information about an organization-level Connect OAuth configuration + * Required scopes: connect_org_oauth_read_api + * @param {String} organizationId The organization ID Guid + * @param {module:api/OrgConnectApi~getOrganizationConnectOAuthConfigurationCallback} callback The callback function, accepting three arguments: error, data, response + * data is of type: {@link Object} + */ + this.getOrganizationConnectOAuthConfiguration = function(organizationId, callback) { + var postBody = null; + + // verify the required parameter 'organizationId' is set + if (organizationId === undefined || organizationId === null) { + throw new Error("Missing the required parameter 'organizationId' when calling getOrganizationConnectOAuthConfiguration"); + } + + 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 = { + 'organizationId': organizationId + }; + var queryParams = { + }; + var headerParams = { + }; + var formParams = { + }; + + var authNames = ['docusignAccessCode']; + var contentTypes = ['application/json']; + var accepts = ['application/json']; + var returnType = Object; + + return this.apiClient.callApi( + '/v2/organizations/{organizationId}/connect/oauth', 'GET', + pathParams, queryParams, headerParams, formParams, postBody, + authNames, contentTypes, accepts, returnType, callback + ); + }; + + /** + * (Optional) Callback function to receive the result of the postConnectHmacSecret operation. If none specified a Promise will be returned. + * @callback module:api/OrgConnectApi~postConnectHmacSecretCallback + * @param {String} error Error message, if any. + * @param {module:model/OrganizationConnectHmacSecretsResponse} 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. + */ + + /** + * Saves information about a Connect HMAC secret + * Required scopes: connect_org_hmac_write_api + * @param {String} organizationId The organization ID Guid + * @param {module:api/OrgConnectApi~postConnectHmacSecretCallback} callback The callback function, accepting three arguments: error, data, response + * data is of type: {@link module:model/OrganizationConnectHmacSecretsResponse} + */ + this.postConnectHmacSecret = function(organizationId, callback) { + var postBody = null; + + // verify the required parameter 'organizationId' is set + if (organizationId === undefined || organizationId === null) { + throw new Error("Missing the required parameter 'organizationId' when calling postConnectHmacSecret"); + } + + 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 = { + 'organizationId': organizationId + }; + var queryParams = { + }; + var headerParams = { + }; + var formParams = { + }; + + var authNames = ['docusignAccessCode']; + var contentTypes = ['application/json']; + var accepts = ['application/json']; + var returnType = OrganizationConnectHmacSecretsResponse; + + return this.apiClient.callApi( + '/v2/organizations/{organizationId}/connect/secret', 'POST', + pathParams, queryParams, headerParams, formParams, postBody, + authNames, contentTypes, accepts, returnType, callback + ); + }; + + /** + * (Optional) Callback function to receive the result of the postOrganizationConnectOAuthConfiguration operation. If none specified a Promise will be returned. + * @callback module:api/OrgConnectApi~postOrganizationConnectOAuthConfigurationCallback + * @param {String} error Error message, if any. + * @param {module:model/OrganizationConnectOAuthConfiguration} 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. + */ + + /** + * Saves information about an organization-level Connect OAuth configuration + * Required scopes: connect_org_oauth_write_api + * @param {String} organizationId The organization ID Guid + * @param {module:model/OrganizationConnectOAuthConfiguration} configuration Add an organization-level Connect OAuth configuration + * @param {module:api/OrgConnectApi~postOrganizationConnectOAuthConfigurationCallback} callback The callback function, accepting three arguments: error, data, response + * data is of type: {@link module:model/OrganizationConnectOAuthConfiguration} + */ + this.postOrganizationConnectOAuthConfiguration = function(configuration, organizationId, callback) { + var postBody = configuration; + + // verify the required parameter 'organizationId' is set + if (organizationId === undefined || organizationId === null) { + throw new Error("Missing the required parameter 'organizationId' when calling postOrganizationConnectOAuthConfiguration"); + } + + // verify the required parameter 'configuration' is set + if (configuration === undefined || configuration === null) { + throw new Error("Missing the required parameter 'configuration' when calling postOrganizationConnectOAuthConfiguration"); + } + + 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 = { + 'organizationId': organizationId + }; + var queryParams = { + }; + var headerParams = { + }; + var formParams = { + }; + + var authNames = ['docusignAccessCode']; + var contentTypes = ['application/json']; + var accepts = ['application/json']; + var returnType = OrganizationConnectOAuthConfiguration; + + return this.apiClient.callApi( + '/v2/organizations/{organizationId}/connect/oauth', 'POST', + pathParams, queryParams, headerParams, formParams, postBody, + authNames, contentTypes, accepts, returnType, callback + ); + }; + + /** + * (Optional) Callback function to receive the result of the putOrganizationConnectOAuthConfiguration operation. If none specified a Promise will be returned. + * @callback module:api/OrgConnectApi~putOrganizationConnectOAuthConfigurationCallback + * @param {String} error Error message, if any. + * @param {module:model/OrganizationConnectOAuthConfiguration} 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. + */ + + /** + * Updates information about an organization-level Connect OAuth configuration + * Required scopes: connect_org_oauth_write_api + * @param {String} organizationId The organization ID Guid + * @param {module:model/OrganizationConnectOAuthConfiguration} configuration Update an organization-level Connect OAuth configuration + * @param {module:api/OrgConnectApi~putOrganizationConnectOAuthConfigurationCallback} callback The callback function, accepting three arguments: error, data, response + * data is of type: {@link module:model/OrganizationConnectOAuthConfiguration} + */ + this.putOrganizationConnectOAuthConfiguration = function(configuration, organizationId, callback) { + var postBody = configuration; + + // verify the required parameter 'organizationId' is set + if (organizationId === undefined || organizationId === null) { + throw new Error("Missing the required parameter 'organizationId' when calling putOrganizationConnectOAuthConfiguration"); + } + + // verify the required parameter 'configuration' is set + if (configuration === undefined || configuration === null) { + throw new Error("Missing the required parameter 'configuration' when calling putOrganizationConnectOAuthConfiguration"); + } + + 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 = { + 'organizationId': organizationId + }; + var queryParams = { + }; + var headerParams = { + }; + var formParams = { + }; + + var authNames = ['docusignAccessCode']; + var contentTypes = ['application/json']; + var accepts = ['application/json']; + var returnType = OrganizationConnectOAuthConfiguration; + + return this.apiClient.callApi( + '/v2/organizations/{organizationId}/connect/oauth', 'PUT', + pathParams, queryParams, headerParams, formParams, postBody, + authNames, contentTypes, accepts, returnType, callback + ); + }; + + /** + * (Optional) Callback function to receive the result of the updateOrganizationConnectConfig operation. If none specified a Promise will be returned. + * @callback module:api/OrgConnectApi~updateOrganizationConnectConfigCallback + * @param {String} error Error message, if any. + * @param {module:model/OrganizationConnectConfigurationDetailsResponse} 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. + */ + + /** + * Updates an organization-level Connect configuration + * Required scopes: connect_org_config_write_api + * @param {String} organizationId The organization ID Guid + * @param {String} connectId The configuration ID Guid + * @param {module:model/OrganizationConnectConfigurationRequest} connectRequest Add an organization Connect request + * @param {module:api/OrgConnectApi~updateOrganizationConnectConfigCallback} callback The callback function, accepting three arguments: error, data, response + * data is of type: {@link module:model/OrganizationConnectConfigurationDetailsResponse} + */ + this.updateOrganizationConnectConfig = function(connectRequest, organizationId, connectId, callback) { + var postBody = connectRequest; + + // verify the required parameter 'organizationId' is set + if (organizationId === undefined || organizationId === null) { + throw new Error("Missing the required parameter 'organizationId' when calling updateOrganizationConnectConfig"); + } + + // verify the required parameter 'connectId' is set + if (connectId === undefined || connectId === null) { + throw new Error("Missing the required parameter 'connectId' when calling updateOrganizationConnectConfig"); + } + + // verify the required parameter 'connectRequest' is set + if (connectRequest === undefined || connectRequest === null) { + throw new Error("Missing the required parameter 'connectRequest' when calling updateOrganizationConnectConfig"); + } + + 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 = { + 'organizationId': organizationId, + 'connectId': connectId + }; + var queryParams = { + }; + var headerParams = { + }; + var formParams = { + }; + + var authNames = ['docusignAccessCode']; + var contentTypes = ['application/json']; + var accepts = ['application/json']; + var returnType = OrganizationConnectConfigurationDetailsResponse; + + return this.apiClient.callApi( + '/v2/organizations/{organizationId}/connect/{connectId}', 'PUT', + pathParams, queryParams, headerParams, formParams, postBody, + authNames, contentTypes, accepts, returnType, callback + ); + }; + }; + + return exports; +})); \ No newline at end of file diff --git a/src/api/UsersApi.js b/src/api/UsersApi.js index 66e6cde..0e548e6 100644 --- a/src/api/UsersApi.js +++ b/src/api/UsersApi.js @@ -456,6 +456,7 @@ * @param {String} userId The user ID Guid * @param {Object} optsOrCallback Optional parameters, if you are passing no optional parameters, you can either pass a null or omit this parameter entirely. * @param {Boolean} optsOrCallback.sort Sorts user information by account name ascending + * @param {Boolean} optsOrCallback.includeLicense When true: additional details about the user's license will be included in the response. The account must have an IAM plan with licenses. * @param {module:api/UsersApi~getUserDSProfileCallback} callback The callback function, accepting three arguments: error, data, response * data is of type: {@link module:model/UsersDrilldownResponse} */ @@ -491,7 +492,8 @@ 'userId': userId }; var queryParams = { - 'sort': optsOrCallback['sort'] + 'sort': optsOrCallback['sort'], + 'include_license': optsOrCallback['includeLicense'] }; var headerParams = { }; @@ -525,6 +527,7 @@ * @param {Object} optsOrCallback Optional parameters, if you are passing no optional parameters, you can either pass a null or omit this parameter entirely. * @param {String} optsOrCallback.email The email address of the user * @param {Boolean} optsOrCallback.sort Sorts user information by account name ascending + * @param {Boolean} optsOrCallback.includeLicense When true: additional details about the user's license will be included in the response. The account must have an IAM plan with licenses. * @param {module:api/UsersApi~getUserDSProfilesByEmailCallback} callback The callback function, accepting three arguments: error, data, response * data is of type: {@link module:model/UsersDrilldownResponse} */ @@ -555,7 +558,8 @@ }; var queryParams = { 'email': optsOrCallback['email'], - 'sort': optsOrCallback['sort'] + 'sort': optsOrCallback['sort'], + 'include_license': optsOrCallback['includeLicense'] }; var headerParams = { }; @@ -588,6 +592,7 @@ * @param {String} organizationId The organization ID Guid * @param {Object} optsOrCallback Optional parameters, if you are passing no optional parameters, you can either pass a null or omit this parameter entirely. * @param {String} optsOrCallback.email The email address + * @param {Boolean} optsOrCallback.includeLicense When true: additional details about the user's license will be included in the response. The account must have an IAM plan with licenses. * @param {module:api/UsersApi~getUserProfilesCallback} callback The callback function, accepting three arguments: error, data, response * data is of type: {@link module:model/UsersDrilldownResponse} */ @@ -617,7 +622,8 @@ 'organizationId': organizationId }; var queryParams = { - 'email': optsOrCallback['email'] + 'email': optsOrCallback['email'], + 'include_license': optsOrCallback['includeLicense'] }; var headerParams = { }; @@ -660,6 +666,7 @@ * @param {String} optsOrCallback.organizationReservedDomainId Select users that are in the specified domain. At least one of email, account_id or organization_reserved_domain_id must be specified. * @param {String} optsOrCallback.lastModifiedSince Select users whose data have been modified since the date specified; account_id or organization_reserved_domain_id must be specified. * @param {Boolean} optsOrCallback.includeDsGroups Select users with groups the users belong to; account_id must be specified. The organization must have the entitlement AllowMultiApplication enabled. + * @param {Boolean} optsOrCallback.includeLicense When true: additional details about the user's license will be included in the response; account_id must be specified and the account must have an IAM plan with licenses. * @param {module:api/UsersApi~getUsersCallback} callback The callback function, accepting three arguments: error, data, response * data is of type: {@link module:model/OrganizationUsersResponse} */ @@ -699,7 +706,8 @@ 'account_id': optsOrCallback['accountId'], 'organization_reserved_domain_id': optsOrCallback['organizationReservedDomainId'], 'last_modified_since': optsOrCallback['lastModifiedSince'], - 'include_ds_groups': optsOrCallback['includeDsGroups'] + 'include_ds_groups': optsOrCallback['includeDsGroups'], + 'include_license': optsOrCallback['includeLicense'] }; var headerParams = { }; @@ -789,10 +797,19 @@ * Required scopes: user_write * @param {String} organizationId The organization ID Guid * @param {module:model/UpdateUsersRequest} request The user details to update + * @param {Object} optsOrCallback Optional parameters, if you are passing no optional parameters, you can either pass a null or omit this parameter entirely. + * @param {Boolean} optsOrCallback.applyLicenseOverride If an account has an IAM plan with licenses, this query specifies how a user's license is handled. Values: true - Updates the user's existing license; false - Adds a license to the user * @param {module:api/UsersApi~updateUserCallback} callback The callback function, accepting three arguments: error, data, response * data is of type: {@link module:model/UsersUpdateResponse} */ - this.updateUser = function(request, organizationId, callback) { + this.updateUser = function(request, organizationId, optsOrCallback, callback) { + optsOrCallback = optsOrCallback || {}; + + if (typeof optsOrCallback === 'function') { + callback = optsOrCallback; + optsOrCallback = {}; + } + var postBody = request; // verify the required parameter 'organizationId' is set @@ -816,6 +833,7 @@ 'organizationId': organizationId }; var queryParams = { + 'apply_license_override': optsOrCallback['applyLicenseOverride'] }; var headerParams = { }; diff --git a/src/index.js b/src/index.js index 432d63f..5065bd0 100644 --- a/src/index.js +++ b/src/index.js @@ -11,12 +11,12 @@ (function(factory) { if (typeof define === 'function' && define.amd) { // AMD. Register as an anonymous module. - define(['Configuration', 'ApiClient', 'model/AddDSGroupAndUsersResponse', 'model/AddDSGroupUsersResponse', 'model/AddUserResponse', 'model/AddUserResponseAccountProperties', 'model/AddressInformation', 'model/AssetGroupAccountClone', 'model/AssetGroupAccountCloneSourceAccount', 'model/AssetGroupAccountCloneTargetAccount', 'model/AssetGroupAccountCloneTargetAccountAdmin', 'model/AssetGroupAccountClones', 'model/AssetGroupAccountResponse', 'model/AssetGroupAccountsResponse', 'model/CertificateResponse', 'model/DSGroupAddRequest', 'model/DSGroupAndUsersResponse', 'model/DSGroupListResponse', 'model/DSGroupRequest', 'model/DSGroupResponse', 'model/DSGroupUserResponse', 'model/DSGroupUsersAddRequest', 'model/DSGroupUsersRemoveRequest', 'model/DSGroupUsersResponse', 'model/DeleteMembershipRequest', 'model/DeleteMembershipResponse', 'model/DeleteMembershipsRequest', 'model/DeleteMembershipsResponse', 'model/DeleteResponse', 'model/DeleteUserIdentityRequest', 'model/DocuSignAccountDomainModelAddress', 'model/DomainResponse', 'model/DomainsResponse', 'model/ErrorDetails', 'model/ForceActivateMembershipRequest', 'model/GroupRequest', 'model/IdentityProviderResponse', 'model/IdentityProvidersResponse', 'model/IndividualMembershipDataRedactionRequest', 'model/IndividualUserDataRedactionRequest', 'model/IndividualUserDataRedactionResponse', 'model/LinkResponse', 'model/MemberGroupResponse', 'model/MemberGroupsResponse', 'model/MembershipDataRedactionRequest', 'model/MembershipDataRedactionResponse', 'model/MembershipResponse', 'model/NewAccountUserRequest', 'model/NewMultiProductUserAddRequest', 'model/NewUserRequest', 'model/NewUserRequestAccountProperties', 'model/NewUserResponse', 'model/NewUserResponseAccountProperties', 'model/OASIRRErrorDetails', 'model/OASIRROrganizationAccountSettingsErrorDataResponse', 'model/OETRErrorDetails', 'model/OSAMRContact', 'model/OrgExportSelectedAccount', 'model/OrgExportSelectedDomain', 'model/OrgReportConfigurationResponse', 'model/OrgReportCreateResponse', 'model/OrgReportListResponse', 'model/OrgReportListResponseOrgReport', 'model/OrgReportListResponseRequestor', 'model/OrgReportRequest', 'model/OrganizationAccountRequest', 'model/OrganizationAccountResponse', 'model/OrganizationAccountSettingsImportRequestorResponse', 'model/OrganizationAccountSettingsImportResponse', 'model/OrganizationAccountSettingsImportResultResponse', 'model/OrganizationAccountsRequest', 'model/OrganizationExportAccount', 'model/OrganizationExportDomain', 'model/OrganizationExportRequest', 'model/OrganizationExportRequestorResponse', 'model/OrganizationExportResponse', 'model/OrganizationExportTaskResponse', 'model/OrganizationExportsResponse', 'model/OrganizationImportResponse', 'model/OrganizationImportResponseErrorRollup', 'model/OrganizationImportResponseRequestor', 'model/OrganizationImportResponseWarningRollup', 'model/OrganizationImportsResponse', 'model/OrganizationResponse', 'model/OrganizationSalesforceAccountManagersResponse', 'model/OrganizationSimpleIdObject', 'model/OrganizationSubscriptionResponse', 'model/OrganizationUserResponse', 'model/OrganizationUsersResponse', 'model/OrganizationsResponse', 'model/PagingResponseProperties', 'model/PermissionProfileRequest', 'model/PermissionProfileResponse', 'model/PermissionProfileResponse21', 'model/PermissionsResponse', 'model/ProductPermissionProfileRequest', 'model/ProductPermissionProfileResponse', 'model/ProductPermissionProfilesRequest', 'model/ProductPermissionProfilesResponse', 'model/RemoveDSGroupUsersResponse', 'model/RemoveUserProductsResponse', 'model/RequiredAttributeMappingResponse', 'model/Saml2IdentityProviderResponse', 'model/SettingResponse', 'model/SubAccountCreateRequest', 'model/SubAccountCreateRequestSubAccountCreationSubscription', 'model/SubAccountCreateRequestSubAccountCreationTargetAccountAdmin', 'model/SubAccountCreateRequestSubAccountCreationTargetAccountDetails', 'model/SubAccountCreateSubscriptionDetails', 'model/SubAccountCreateSubscriptionModuleDetails', 'model/SubAccountCreateTargetAccount', 'model/SubAccountCreateTargetAccountAdmin', 'model/SubAccountCreateWorker', 'model/SubAccountCreateWorkerResponse', 'model/SubAccountErrorDetails', 'model/SubscriptionPlanItemResponse', 'model/SubscriptionProvisionModelAccountCreateAccountAdmin', 'model/SubscriptionProvisionModelAccountCreateCreateAccountDetails', 'model/SubscriptionProvisionModelAccountCreateCreateAccountSubscriptionDetails', 'model/SubscriptionProvisionModelAccountCreateCreateSubAccountDetails', 'model/SubscriptionProvisionModelAssetGroupWork', 'model/SubscriptionProvisionModelAssetGroupWorkResult', 'model/SubscriptionProvisionModelChangeEvent', 'model/SubscriptionProvisionModelServiceErrorDetails', 'model/UpdateMembershipRequest', 'model/UpdateResponse', 'model/UpdateUserEmailRequest', 'model/UpdateUserRequest', 'model/UpdateUsersEmailRequest', 'model/UpdateUsersRequest', 'model/UserDrilldownResponse', 'model/UserIdentityRequest', 'model/UserIdentityResponse', 'model/UserProductPermissionProfilesRequest', 'model/UserProductPermissionProfilesResponse', 'model/UserProductProfileDeleteRequest', 'model/UserUpdateResponse', 'model/UsersDrilldownResponse', 'model/UsersUpdateResponse', 'api/AccountsApi', 'api/BulkExportsApi', 'api/BulkImportsApi', 'api/DSGroupsApi', 'api/IdentityProvidersApi', 'api/OrganizationsApi', 'api/ProductPermissionProfilesApi', 'api/ProvisionAssetGroupApi', 'api/ReservedDomainsApi', 'api/UsersApi'], factory); + define(['Configuration', 'ApiClient', 'model/AddDSGroupAndUsersResponse', 'model/AddDSGroupUsersResponse', 'model/AddUserResponse', 'model/AddUserResponseAccountProperties', 'model/AddressInformation', 'model/AssetGroupAccountClone', 'model/AssetGroupAccountCloneSourceAccount', 'model/AssetGroupAccountCloneTargetAccount', 'model/AssetGroupAccountCloneTargetAccountAdmin', 'model/AssetGroupAccountClones', 'model/AssetGroupAccountResponse', 'model/AssetGroupAccountsResponse', 'model/CertificateResponse', 'model/ConnectEventData', 'model/DSGroupAddRequest', 'model/DSGroupAndUsersResponse', 'model/DSGroupListResponse', 'model/DSGroupRequest', 'model/DSGroupResponse', 'model/DSGroupUserResponse', 'model/DSGroupUsersAddRequest', 'model/DSGroupUsersRemoveRequest', 'model/DSGroupUsersResponse', 'model/DeleteMembershipRequest', 'model/DeleteMembershipResponse', 'model/DeleteMembershipsRequest', 'model/DeleteMembershipsResponse', 'model/DeleteResponse', 'model/DeleteUserIdentityRequest', 'model/DocuSignAccountDomainModelAddress', 'model/DomainResponse', 'model/DomainsResponse', 'model/ErrorDetail', 'model/ErrorDetails', 'model/ForceActivateMembershipRequest', 'model/GroupRequest', 'model/IdentityProviderResponse', 'model/IdentityProvidersResponse', 'model/IndividualMembershipDataRedactionRequest', 'model/IndividualUserDataRedactionRequest', 'model/IndividualUserDataRedactionResponse', 'model/LinkResponse', 'model/MemberGroupResponse', 'model/MemberGroupsResponse', 'model/MembershipDataRedactionRequest', 'model/MembershipDataRedactionResponse', 'model/MembershipResponse', 'model/NewAccountUserRequest', 'model/NewMultiProductUserAddRequest', 'model/NewUserRequest', 'model/NewUserRequestAccountProperties', 'model/NewUserResponse', 'model/NewUserResponseAccountProperties', 'model/OASIRRErrorDetails', 'model/OASIRROrganizationAccountSettingsErrorDataResponse', 'model/OETRErrorDetails', 'model/OSAMRContact', 'model/OrgExportSelectedAccount', 'model/OrgExportSelectedDomain', 'model/OrgReportConfigurationResponse', 'model/OrgReportCreateResponse', 'model/OrgReportListResponse', 'model/OrgReportListResponseOrgReport', 'model/OrgReportListResponseRequestor', 'model/OrgReportRequest', 'model/OrganizationAccountRequest', 'model/OrganizationAccountResponse', 'model/OrganizationAccountSettingsImportRequestorResponse', 'model/OrganizationAccountSettingsImportResponse', 'model/OrganizationAccountSettingsImportResultResponse', 'model/OrganizationAccountsRequest', 'model/OrganizationConnectConfigResponse', 'model/OrganizationConnectConfigsResponse', 'model/OrganizationConnectConfigurationDetailsResponse', 'model/OrganizationConnectConfigurationRequest', 'model/OrganizationConnectHmacSecretsResponse', 'model/OrganizationConnectOAuthConfiguration', 'model/OrganizationExportAccount', 'model/OrganizationExportDomain', 'model/OrganizationExportRequest', 'model/OrganizationExportRequestorResponse', 'model/OrganizationExportResponse', 'model/OrganizationExportTaskResponse', 'model/OrganizationExportsResponse', 'model/OrganizationImportResponse', 'model/OrganizationImportResponseErrorRollup', 'model/OrganizationImportResponseRequestor', 'model/OrganizationImportResponseWarningRollup', 'model/OrganizationImportsResponse', 'model/OrganizationResponse', 'model/OrganizationSalesforceAccountManagersResponse', 'model/OrganizationSimpleIdObject', 'model/OrganizationSubscriptionResponse', 'model/OrganizationUserResponse', 'model/OrganizationUsersResponse', 'model/OrganizationsResponse', 'model/PagingResponseProperties', 'model/PermissionProfileRequest', 'model/PermissionProfileResponse', 'model/PermissionProfileResponse21', 'model/PermissionsResponse', 'model/ProductPermissionProfileRequest', 'model/ProductPermissionProfileResponse', 'model/ProductPermissionProfilesRequest', 'model/ProductPermissionProfilesResponse', 'model/RemoveDSGroupUsersResponse', 'model/RemoveUserProductsResponse', 'model/RequiredAttributeMappingResponse', 'model/Saml2IdentityProviderResponse', 'model/SettingResponse', 'model/SubAccountCreateRequest', 'model/SubAccountCreateRequestSubAccountCreationSubscription', 'model/SubAccountCreateRequestSubAccountCreationTargetAccountAdmin', 'model/SubAccountCreateRequestSubAccountCreationTargetAccountDetails', 'model/SubAccountCreateSubscriptionDetails', 'model/SubAccountCreateSubscriptionModuleDetails', 'model/SubAccountCreateTargetAccount', 'model/SubAccountCreateTargetAccountAdmin', 'model/SubAccountCreateWorker', 'model/SubAccountCreateWorkerResponse', 'model/SubAccountErrorDetails', 'model/SubscriptionPlanItemResponse', 'model/SubscriptionProvisionModelAccountCreateAccountAdmin', 'model/SubscriptionProvisionModelAccountCreateCreateAccountDetails', 'model/SubscriptionProvisionModelAccountCreateCreateAccountSubscriptionDetails', 'model/SubscriptionProvisionModelAccountCreateCreateSubAccountDetails', 'model/SubscriptionProvisionModelAssetGroupWork', 'model/SubscriptionProvisionModelAssetGroupWorkResult', 'model/SubscriptionProvisionModelChangeEvent', 'model/SubscriptionProvisionModelServiceErrorDetails', 'model/UpdateMembershipRequest', 'model/UpdateResponse', 'model/UpdateUserEmailRequest', 'model/UpdateUserRequest', 'model/UpdateUsersEmailRequest', 'model/UpdateUsersRequest', 'model/UserDrilldownResponse', 'model/UserIdentityRequest', 'model/UserIdentityResponse', 'model/UserProductPermissionProfilesRequest', 'model/UserProductPermissionProfilesResponse', 'model/UserProductProfileDeleteRequest', 'model/UserUpdateResponse', 'model/UsersDrilldownResponse', 'model/UsersUpdateResponse', 'api/AccountsApi', 'api/BulkExportsApi', 'api/BulkImportsApi', 'api/DSGroupsApi', 'api/IdentityProvidersApi', 'api/OrgConnectApi', 'api/OrganizationsApi', 'api/ProductPermissionProfilesApi', 'api/ProvisionAssetGroupApi', 'api/ReservedDomainsApi', 'api/UsersApi'], 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/AddDSGroupAndUsersResponse'), require('./model/AddDSGroupUsersResponse'), require('./model/AddUserResponse'), require('./model/AddUserResponseAccountProperties'), require('./model/AddressInformation'), require('./model/AssetGroupAccountClone'), require('./model/AssetGroupAccountCloneSourceAccount'), require('./model/AssetGroupAccountCloneTargetAccount'), require('./model/AssetGroupAccountCloneTargetAccountAdmin'), require('./model/AssetGroupAccountClones'), require('./model/AssetGroupAccountResponse'), require('./model/AssetGroupAccountsResponse'), require('./model/CertificateResponse'), require('./model/DSGroupAddRequest'), require('./model/DSGroupAndUsersResponse'), require('./model/DSGroupListResponse'), require('./model/DSGroupRequest'), require('./model/DSGroupResponse'), require('./model/DSGroupUserResponse'), require('./model/DSGroupUsersAddRequest'), require('./model/DSGroupUsersRemoveRequest'), require('./model/DSGroupUsersResponse'), require('./model/DeleteMembershipRequest'), require('./model/DeleteMembershipResponse'), require('./model/DeleteMembershipsRequest'), require('./model/DeleteMembershipsResponse'), require('./model/DeleteResponse'), require('./model/DeleteUserIdentityRequest'), require('./model/DocuSignAccountDomainModelAddress'), require('./model/DomainResponse'), require('./model/DomainsResponse'), require('./model/ErrorDetails'), require('./model/ForceActivateMembershipRequest'), require('./model/GroupRequest'), require('./model/IdentityProviderResponse'), require('./model/IdentityProvidersResponse'), require('./model/IndividualMembershipDataRedactionRequest'), require('./model/IndividualUserDataRedactionRequest'), require('./model/IndividualUserDataRedactionResponse'), require('./model/LinkResponse'), require('./model/MemberGroupResponse'), require('./model/MemberGroupsResponse'), require('./model/MembershipDataRedactionRequest'), require('./model/MembershipDataRedactionResponse'), require('./model/MembershipResponse'), require('./model/NewAccountUserRequest'), require('./model/NewMultiProductUserAddRequest'), require('./model/NewUserRequest'), require('./model/NewUserRequestAccountProperties'), require('./model/NewUserResponse'), require('./model/NewUserResponseAccountProperties'), require('./model/OASIRRErrorDetails'), require('./model/OASIRROrganizationAccountSettingsErrorDataResponse'), require('./model/OETRErrorDetails'), require('./model/OSAMRContact'), require('./model/OrgExportSelectedAccount'), require('./model/OrgExportSelectedDomain'), require('./model/OrgReportConfigurationResponse'), require('./model/OrgReportCreateResponse'), require('./model/OrgReportListResponse'), require('./model/OrgReportListResponseOrgReport'), require('./model/OrgReportListResponseRequestor'), require('./model/OrgReportRequest'), require('./model/OrganizationAccountRequest'), require('./model/OrganizationAccountResponse'), require('./model/OrganizationAccountSettingsImportRequestorResponse'), require('./model/OrganizationAccountSettingsImportResponse'), require('./model/OrganizationAccountSettingsImportResultResponse'), require('./model/OrganizationAccountsRequest'), require('./model/OrganizationExportAccount'), require('./model/OrganizationExportDomain'), require('./model/OrganizationExportRequest'), require('./model/OrganizationExportRequestorResponse'), require('./model/OrganizationExportResponse'), require('./model/OrganizationExportTaskResponse'), require('./model/OrganizationExportsResponse'), require('./model/OrganizationImportResponse'), require('./model/OrganizationImportResponseErrorRollup'), require('./model/OrganizationImportResponseRequestor'), require('./model/OrganizationImportResponseWarningRollup'), require('./model/OrganizationImportsResponse'), require('./model/OrganizationResponse'), require('./model/OrganizationSalesforceAccountManagersResponse'), require('./model/OrganizationSimpleIdObject'), require('./model/OrganizationSubscriptionResponse'), require('./model/OrganizationUserResponse'), require('./model/OrganizationUsersResponse'), require('./model/OrganizationsResponse'), require('./model/PagingResponseProperties'), require('./model/PermissionProfileRequest'), require('./model/PermissionProfileResponse'), require('./model/PermissionProfileResponse21'), require('./model/PermissionsResponse'), require('./model/ProductPermissionProfileRequest'), require('./model/ProductPermissionProfileResponse'), require('./model/ProductPermissionProfilesRequest'), require('./model/ProductPermissionProfilesResponse'), require('./model/RemoveDSGroupUsersResponse'), require('./model/RemoveUserProductsResponse'), require('./model/RequiredAttributeMappingResponse'), require('./model/Saml2IdentityProviderResponse'), require('./model/SettingResponse'), require('./model/SubAccountCreateRequest'), require('./model/SubAccountCreateRequestSubAccountCreationSubscription'), require('./model/SubAccountCreateRequestSubAccountCreationTargetAccountAdmin'), require('./model/SubAccountCreateRequestSubAccountCreationTargetAccountDetails'), require('./model/SubAccountCreateSubscriptionDetails'), require('./model/SubAccountCreateSubscriptionModuleDetails'), require('./model/SubAccountCreateTargetAccount'), require('./model/SubAccountCreateTargetAccountAdmin'), require('./model/SubAccountCreateWorker'), require('./model/SubAccountCreateWorkerResponse'), require('./model/SubAccountErrorDetails'), require('./model/SubscriptionPlanItemResponse'), require('./model/SubscriptionProvisionModelAccountCreateAccountAdmin'), require('./model/SubscriptionProvisionModelAccountCreateCreateAccountDetails'), require('./model/SubscriptionProvisionModelAccountCreateCreateAccountSubscriptionDetails'), require('./model/SubscriptionProvisionModelAccountCreateCreateSubAccountDetails'), require('./model/SubscriptionProvisionModelAssetGroupWork'), require('./model/SubscriptionProvisionModelAssetGroupWorkResult'), require('./model/SubscriptionProvisionModelChangeEvent'), require('./model/SubscriptionProvisionModelServiceErrorDetails'), require('./model/UpdateMembershipRequest'), require('./model/UpdateResponse'), require('./model/UpdateUserEmailRequest'), require('./model/UpdateUserRequest'), require('./model/UpdateUsersEmailRequest'), require('./model/UpdateUsersRequest'), require('./model/UserDrilldownResponse'), require('./model/UserIdentityRequest'), require('./model/UserIdentityResponse'), require('./model/UserProductPermissionProfilesRequest'), require('./model/UserProductPermissionProfilesResponse'), require('./model/UserProductProfileDeleteRequest'), require('./model/UserUpdateResponse'), require('./model/UsersDrilldownResponse'), require('./model/UsersUpdateResponse'), require('./api/AccountsApi'), require('./api/BulkExportsApi'), require('./api/BulkImportsApi'), require('./api/DSGroupsApi'), require('./api/IdentityProvidersApi'), require('./api/OrganizationsApi'), require('./api/ProductPermissionProfilesApi'), require('./api/ProvisionAssetGroupApi'), require('./api/ReservedDomainsApi'), require('./api/UsersApi')); + module.exports = factory(require('./Configuration'), require('./ApiClient'), require('./model/AddDSGroupAndUsersResponse'), require('./model/AddDSGroupUsersResponse'), require('./model/AddUserResponse'), require('./model/AddUserResponseAccountProperties'), require('./model/AddressInformation'), require('./model/AssetGroupAccountClone'), require('./model/AssetGroupAccountCloneSourceAccount'), require('./model/AssetGroupAccountCloneTargetAccount'), require('./model/AssetGroupAccountCloneTargetAccountAdmin'), require('./model/AssetGroupAccountClones'), require('./model/AssetGroupAccountResponse'), require('./model/AssetGroupAccountsResponse'), require('./model/CertificateResponse'), require('./model/ConnectEventData'), require('./model/DSGroupAddRequest'), require('./model/DSGroupAndUsersResponse'), require('./model/DSGroupListResponse'), require('./model/DSGroupRequest'), require('./model/DSGroupResponse'), require('./model/DSGroupUserResponse'), require('./model/DSGroupUsersAddRequest'), require('./model/DSGroupUsersRemoveRequest'), require('./model/DSGroupUsersResponse'), require('./model/DeleteMembershipRequest'), require('./model/DeleteMembershipResponse'), require('./model/DeleteMembershipsRequest'), require('./model/DeleteMembershipsResponse'), require('./model/DeleteResponse'), require('./model/DeleteUserIdentityRequest'), require('./model/DocuSignAccountDomainModelAddress'), require('./model/DomainResponse'), require('./model/DomainsResponse'), require('./model/ErrorDetail'), require('./model/ErrorDetails'), require('./model/ForceActivateMembershipRequest'), require('./model/GroupRequest'), require('./model/IdentityProviderResponse'), require('./model/IdentityProvidersResponse'), require('./model/IndividualMembershipDataRedactionRequest'), require('./model/IndividualUserDataRedactionRequest'), require('./model/IndividualUserDataRedactionResponse'), require('./model/LinkResponse'), require('./model/MemberGroupResponse'), require('./model/MemberGroupsResponse'), require('./model/MembershipDataRedactionRequest'), require('./model/MembershipDataRedactionResponse'), require('./model/MembershipResponse'), require('./model/NewAccountUserRequest'), require('./model/NewMultiProductUserAddRequest'), require('./model/NewUserRequest'), require('./model/NewUserRequestAccountProperties'), require('./model/NewUserResponse'), require('./model/NewUserResponseAccountProperties'), require('./model/OASIRRErrorDetails'), require('./model/OASIRROrganizationAccountSettingsErrorDataResponse'), require('./model/OETRErrorDetails'), require('./model/OSAMRContact'), require('./model/OrgExportSelectedAccount'), require('./model/OrgExportSelectedDomain'), require('./model/OrgReportConfigurationResponse'), require('./model/OrgReportCreateResponse'), require('./model/OrgReportListResponse'), require('./model/OrgReportListResponseOrgReport'), require('./model/OrgReportListResponseRequestor'), require('./model/OrgReportRequest'), require('./model/OrganizationAccountRequest'), require('./model/OrganizationAccountResponse'), require('./model/OrganizationAccountSettingsImportRequestorResponse'), require('./model/OrganizationAccountSettingsImportResponse'), require('./model/OrganizationAccountSettingsImportResultResponse'), require('./model/OrganizationAccountsRequest'), require('./model/OrganizationConnectConfigResponse'), require('./model/OrganizationConnectConfigsResponse'), require('./model/OrganizationConnectConfigurationDetailsResponse'), require('./model/OrganizationConnectConfigurationRequest'), require('./model/OrganizationConnectHmacSecretsResponse'), require('./model/OrganizationConnectOAuthConfiguration'), require('./model/OrganizationExportAccount'), require('./model/OrganizationExportDomain'), require('./model/OrganizationExportRequest'), require('./model/OrganizationExportRequestorResponse'), require('./model/OrganizationExportResponse'), require('./model/OrganizationExportTaskResponse'), require('./model/OrganizationExportsResponse'), require('./model/OrganizationImportResponse'), require('./model/OrganizationImportResponseErrorRollup'), require('./model/OrganizationImportResponseRequestor'), require('./model/OrganizationImportResponseWarningRollup'), require('./model/OrganizationImportsResponse'), require('./model/OrganizationResponse'), require('./model/OrganizationSalesforceAccountManagersResponse'), require('./model/OrganizationSimpleIdObject'), require('./model/OrganizationSubscriptionResponse'), require('./model/OrganizationUserResponse'), require('./model/OrganizationUsersResponse'), require('./model/OrganizationsResponse'), require('./model/PagingResponseProperties'), require('./model/PermissionProfileRequest'), require('./model/PermissionProfileResponse'), require('./model/PermissionProfileResponse21'), require('./model/PermissionsResponse'), require('./model/ProductPermissionProfileRequest'), require('./model/ProductPermissionProfileResponse'), require('./model/ProductPermissionProfilesRequest'), require('./model/ProductPermissionProfilesResponse'), require('./model/RemoveDSGroupUsersResponse'), require('./model/RemoveUserProductsResponse'), require('./model/RequiredAttributeMappingResponse'), require('./model/Saml2IdentityProviderResponse'), require('./model/SettingResponse'), require('./model/SubAccountCreateRequest'), require('./model/SubAccountCreateRequestSubAccountCreationSubscription'), require('./model/SubAccountCreateRequestSubAccountCreationTargetAccountAdmin'), require('./model/SubAccountCreateRequestSubAccountCreationTargetAccountDetails'), require('./model/SubAccountCreateSubscriptionDetails'), require('./model/SubAccountCreateSubscriptionModuleDetails'), require('./model/SubAccountCreateTargetAccount'), require('./model/SubAccountCreateTargetAccountAdmin'), require('./model/SubAccountCreateWorker'), require('./model/SubAccountCreateWorkerResponse'), require('./model/SubAccountErrorDetails'), require('./model/SubscriptionPlanItemResponse'), require('./model/SubscriptionProvisionModelAccountCreateAccountAdmin'), require('./model/SubscriptionProvisionModelAccountCreateCreateAccountDetails'), require('./model/SubscriptionProvisionModelAccountCreateCreateAccountSubscriptionDetails'), require('./model/SubscriptionProvisionModelAccountCreateCreateSubAccountDetails'), require('./model/SubscriptionProvisionModelAssetGroupWork'), require('./model/SubscriptionProvisionModelAssetGroupWorkResult'), require('./model/SubscriptionProvisionModelChangeEvent'), require('./model/SubscriptionProvisionModelServiceErrorDetails'), require('./model/UpdateMembershipRequest'), require('./model/UpdateResponse'), require('./model/UpdateUserEmailRequest'), require('./model/UpdateUserRequest'), require('./model/UpdateUsersEmailRequest'), require('./model/UpdateUsersRequest'), require('./model/UserDrilldownResponse'), require('./model/UserIdentityRequest'), require('./model/UserIdentityResponse'), require('./model/UserProductPermissionProfilesRequest'), require('./model/UserProductPermissionProfilesResponse'), require('./model/UserProductProfileDeleteRequest'), require('./model/UserUpdateResponse'), require('./model/UsersDrilldownResponse'), require('./model/UsersUpdateResponse'), require('./api/AccountsApi'), require('./api/BulkExportsApi'), require('./api/BulkImportsApi'), require('./api/DSGroupsApi'), require('./api/IdentityProvidersApi'), require('./api/OrgConnectApi'), require('./api/OrganizationsApi'), require('./api/ProductPermissionProfilesApi'), require('./api/ProvisionAssetGroupApi'), require('./api/ReservedDomainsApi'), require('./api/UsersApi')); } -}(function(Configuration, ApiClient, AddDSGroupAndUsersResponse, AddDSGroupUsersResponse, AddUserResponse, AddUserResponseAccountProperties, AddressInformation, AssetGroupAccountClone, AssetGroupAccountCloneSourceAccount, AssetGroupAccountCloneTargetAccount, AssetGroupAccountCloneTargetAccountAdmin, AssetGroupAccountClones, AssetGroupAccountResponse, AssetGroupAccountsResponse, CertificateResponse, DSGroupAddRequest, DSGroupAndUsersResponse, DSGroupListResponse, DSGroupRequest, DSGroupResponse, DSGroupUserResponse, DSGroupUsersAddRequest, DSGroupUsersRemoveRequest, DSGroupUsersResponse, DeleteMembershipRequest, DeleteMembershipResponse, DeleteMembershipsRequest, DeleteMembershipsResponse, DeleteResponse, DeleteUserIdentityRequest, DocuSignAccountDomainModelAddress, DomainResponse, DomainsResponse, ErrorDetails, ForceActivateMembershipRequest, GroupRequest, IdentityProviderResponse, IdentityProvidersResponse, IndividualMembershipDataRedactionRequest, IndividualUserDataRedactionRequest, IndividualUserDataRedactionResponse, LinkResponse, MemberGroupResponse, MemberGroupsResponse, MembershipDataRedactionRequest, MembershipDataRedactionResponse, MembershipResponse, NewAccountUserRequest, NewMultiProductUserAddRequest, NewUserRequest, NewUserRequestAccountProperties, NewUserResponse, NewUserResponseAccountProperties, OASIRRErrorDetails, OASIRROrganizationAccountSettingsErrorDataResponse, OETRErrorDetails, OSAMRContact, OrgExportSelectedAccount, OrgExportSelectedDomain, OrgReportConfigurationResponse, OrgReportCreateResponse, OrgReportListResponse, OrgReportListResponseOrgReport, OrgReportListResponseRequestor, OrgReportRequest, OrganizationAccountRequest, OrganizationAccountResponse, OrganizationAccountSettingsImportRequestorResponse, OrganizationAccountSettingsImportResponse, OrganizationAccountSettingsImportResultResponse, OrganizationAccountsRequest, OrganizationExportAccount, OrganizationExportDomain, OrganizationExportRequest, OrganizationExportRequestorResponse, OrganizationExportResponse, OrganizationExportTaskResponse, OrganizationExportsResponse, OrganizationImportResponse, OrganizationImportResponseErrorRollup, OrganizationImportResponseRequestor, OrganizationImportResponseWarningRollup, OrganizationImportsResponse, OrganizationResponse, OrganizationSalesforceAccountManagersResponse, OrganizationSimpleIdObject, OrganizationSubscriptionResponse, OrganizationUserResponse, OrganizationUsersResponse, OrganizationsResponse, PagingResponseProperties, PermissionProfileRequest, PermissionProfileResponse, PermissionProfileResponse21, PermissionsResponse, ProductPermissionProfileRequest, ProductPermissionProfileResponse, ProductPermissionProfilesRequest, ProductPermissionProfilesResponse, RemoveDSGroupUsersResponse, RemoveUserProductsResponse, RequiredAttributeMappingResponse, Saml2IdentityProviderResponse, SettingResponse, SubAccountCreateRequest, SubAccountCreateRequestSubAccountCreationSubscription, SubAccountCreateRequestSubAccountCreationTargetAccountAdmin, SubAccountCreateRequestSubAccountCreationTargetAccountDetails, SubAccountCreateSubscriptionDetails, SubAccountCreateSubscriptionModuleDetails, SubAccountCreateTargetAccount, SubAccountCreateTargetAccountAdmin, SubAccountCreateWorker, SubAccountCreateWorkerResponse, SubAccountErrorDetails, SubscriptionPlanItemResponse, SubscriptionProvisionModelAccountCreateAccountAdmin, SubscriptionProvisionModelAccountCreateCreateAccountDetails, SubscriptionProvisionModelAccountCreateCreateAccountSubscriptionDetails, SubscriptionProvisionModelAccountCreateCreateSubAccountDetails, SubscriptionProvisionModelAssetGroupWork, SubscriptionProvisionModelAssetGroupWorkResult, SubscriptionProvisionModelChangeEvent, SubscriptionProvisionModelServiceErrorDetails, UpdateMembershipRequest, UpdateResponse, UpdateUserEmailRequest, UpdateUserRequest, UpdateUsersEmailRequest, UpdateUsersRequest, UserDrilldownResponse, UserIdentityRequest, UserIdentityResponse, UserProductPermissionProfilesRequest, UserProductPermissionProfilesResponse, UserProductProfileDeleteRequest, UserUpdateResponse, UsersDrilldownResponse, UsersUpdateResponse, AccountsApi, BulkExportsApi, BulkImportsApi, DSGroupsApi, IdentityProvidersApi, OrganizationsApi, ProductPermissionProfilesApi, ProvisionAssetGroupApi, ReservedDomainsApi, UsersApi) { +}(function(Configuration, ApiClient, AddDSGroupAndUsersResponse, AddDSGroupUsersResponse, AddUserResponse, AddUserResponseAccountProperties, AddressInformation, AssetGroupAccountClone, AssetGroupAccountCloneSourceAccount, AssetGroupAccountCloneTargetAccount, AssetGroupAccountCloneTargetAccountAdmin, AssetGroupAccountClones, AssetGroupAccountResponse, AssetGroupAccountsResponse, CertificateResponse, ConnectEventData, DSGroupAddRequest, DSGroupAndUsersResponse, DSGroupListResponse, DSGroupRequest, DSGroupResponse, DSGroupUserResponse, DSGroupUsersAddRequest, DSGroupUsersRemoveRequest, DSGroupUsersResponse, DeleteMembershipRequest, DeleteMembershipResponse, DeleteMembershipsRequest, DeleteMembershipsResponse, DeleteResponse, DeleteUserIdentityRequest, DocuSignAccountDomainModelAddress, DomainResponse, DomainsResponse, ErrorDetail, ErrorDetails, ForceActivateMembershipRequest, GroupRequest, IdentityProviderResponse, IdentityProvidersResponse, IndividualMembershipDataRedactionRequest, IndividualUserDataRedactionRequest, IndividualUserDataRedactionResponse, LinkResponse, MemberGroupResponse, MemberGroupsResponse, MembershipDataRedactionRequest, MembershipDataRedactionResponse, MembershipResponse, NewAccountUserRequest, NewMultiProductUserAddRequest, NewUserRequest, NewUserRequestAccountProperties, NewUserResponse, NewUserResponseAccountProperties, OASIRRErrorDetails, OASIRROrganizationAccountSettingsErrorDataResponse, OETRErrorDetails, OSAMRContact, OrgExportSelectedAccount, OrgExportSelectedDomain, OrgReportConfigurationResponse, OrgReportCreateResponse, OrgReportListResponse, OrgReportListResponseOrgReport, OrgReportListResponseRequestor, OrgReportRequest, OrganizationAccountRequest, OrganizationAccountResponse, OrganizationAccountSettingsImportRequestorResponse, OrganizationAccountSettingsImportResponse, OrganizationAccountSettingsImportResultResponse, OrganizationAccountsRequest, OrganizationConnectConfigResponse, OrganizationConnectConfigsResponse, OrganizationConnectConfigurationDetailsResponse, OrganizationConnectConfigurationRequest, OrganizationConnectHmacSecretsResponse, OrganizationConnectOAuthConfiguration, OrganizationExportAccount, OrganizationExportDomain, OrganizationExportRequest, OrganizationExportRequestorResponse, OrganizationExportResponse, OrganizationExportTaskResponse, OrganizationExportsResponse, OrganizationImportResponse, OrganizationImportResponseErrorRollup, OrganizationImportResponseRequestor, OrganizationImportResponseWarningRollup, OrganizationImportsResponse, OrganizationResponse, OrganizationSalesforceAccountManagersResponse, OrganizationSimpleIdObject, OrganizationSubscriptionResponse, OrganizationUserResponse, OrganizationUsersResponse, OrganizationsResponse, PagingResponseProperties, PermissionProfileRequest, PermissionProfileResponse, PermissionProfileResponse21, PermissionsResponse, ProductPermissionProfileRequest, ProductPermissionProfileResponse, ProductPermissionProfilesRequest, ProductPermissionProfilesResponse, RemoveDSGroupUsersResponse, RemoveUserProductsResponse, RequiredAttributeMappingResponse, Saml2IdentityProviderResponse, SettingResponse, SubAccountCreateRequest, SubAccountCreateRequestSubAccountCreationSubscription, SubAccountCreateRequestSubAccountCreationTargetAccountAdmin, SubAccountCreateRequestSubAccountCreationTargetAccountDetails, SubAccountCreateSubscriptionDetails, SubAccountCreateSubscriptionModuleDetails, SubAccountCreateTargetAccount, SubAccountCreateTargetAccountAdmin, SubAccountCreateWorker, SubAccountCreateWorkerResponse, SubAccountErrorDetails, SubscriptionPlanItemResponse, SubscriptionProvisionModelAccountCreateAccountAdmin, SubscriptionProvisionModelAccountCreateCreateAccountDetails, SubscriptionProvisionModelAccountCreateCreateAccountSubscriptionDetails, SubscriptionProvisionModelAccountCreateCreateSubAccountDetails, SubscriptionProvisionModelAssetGroupWork, SubscriptionProvisionModelAssetGroupWorkResult, SubscriptionProvisionModelChangeEvent, SubscriptionProvisionModelServiceErrorDetails, UpdateMembershipRequest, UpdateResponse, UpdateUserEmailRequest, UpdateUserRequest, UpdateUsersEmailRequest, UpdateUsersRequest, UserDrilldownResponse, UserIdentityRequest, UserIdentityResponse, UserProductPermissionProfilesRequest, UserProductPermissionProfilesResponse, UserProductProfileDeleteRequest, UserUpdateResponse, UsersDrilldownResponse, UsersUpdateResponse, AccountsApi, BulkExportsApi, BulkImportsApi, DSGroupsApi, IdentityProvidersApi, OrgConnectApi, OrganizationsApi, ProductPermissionProfilesApi, ProvisionAssetGroupApi, ReservedDomainsApi, UsersApi) { 'use strict'; /** @@ -125,6 +125,11 @@ * @property {module:model/CertificateResponse} */ CertificateResponse: CertificateResponse, + /** + * The ConnectEventData model constructor. + * @property {module:model/ConnectEventData} + */ + ConnectEventData: ConnectEventData, /** * The DSGroupAddRequest model constructor. * @property {module:model/DSGroupAddRequest} @@ -215,6 +220,11 @@ * @property {module:model/DomainsResponse} */ DomainsResponse: DomainsResponse, + /** + * The ErrorDetail model constructor. + * @property {module:model/ErrorDetail} + */ + ErrorDetail: ErrorDetail, /** * The ErrorDetails model constructor. * @property {module:model/ErrorDetails} @@ -405,6 +415,36 @@ * @property {module:model/OrganizationAccountsRequest} */ OrganizationAccountsRequest: OrganizationAccountsRequest, + /** + * The OrganizationConnectConfigResponse model constructor. + * @property {module:model/OrganizationConnectConfigResponse} + */ + OrganizationConnectConfigResponse: OrganizationConnectConfigResponse, + /** + * The OrganizationConnectConfigsResponse model constructor. + * @property {module:model/OrganizationConnectConfigsResponse} + */ + OrganizationConnectConfigsResponse: OrganizationConnectConfigsResponse, + /** + * The OrganizationConnectConfigurationDetailsResponse model constructor. + * @property {module:model/OrganizationConnectConfigurationDetailsResponse} + */ + OrganizationConnectConfigurationDetailsResponse: OrganizationConnectConfigurationDetailsResponse, + /** + * The OrganizationConnectConfigurationRequest model constructor. + * @property {module:model/OrganizationConnectConfigurationRequest} + */ + OrganizationConnectConfigurationRequest: OrganizationConnectConfigurationRequest, + /** + * The OrganizationConnectHmacSecretsResponse model constructor. + * @property {module:model/OrganizationConnectHmacSecretsResponse} + */ + OrganizationConnectHmacSecretsResponse: OrganizationConnectHmacSecretsResponse, + /** + * The OrganizationConnectOAuthConfiguration model constructor. + * @property {module:model/OrganizationConnectOAuthConfiguration} + */ + OrganizationConnectOAuthConfiguration: OrganizationConnectOAuthConfiguration, /** * The OrganizationExportAccount model constructor. * @property {module:model/OrganizationExportAccount} @@ -770,6 +810,11 @@ * @property {module:api/IdentityProvidersApi} */ IdentityProvidersApi: IdentityProvidersApi, + /** + * The OrgConnectApi service constructor. + * @property {module:api/OrgConnectApi} + */ + OrgConnectApi: OrgConnectApi, /** * The OrganizationsApi service constructor. * @property {module:api/OrganizationsApi} diff --git a/src/model/AddUserResponseAccountProperties.js b/src/model/AddUserResponseAccountProperties.js index acfd1bb..c60f5c8 100644 --- a/src/model/AddUserResponseAccountProperties.js +++ b/src/model/AddUserResponseAccountProperties.js @@ -72,6 +72,18 @@ if (data.hasOwnProperty('job_title')) { obj['job_title'] = ApiClient.convertToType(data['job_title'], 'String'); } + if (data.hasOwnProperty('license_type')) { + obj['license_type'] = ApiClient.convertToType(data['license_type'], 'String'); + } + if (data.hasOwnProperty('subscription_id')) { + obj['subscription_id'] = ApiClient.convertToType(data['subscription_id'], 'String'); + } + if (data.hasOwnProperty('plan_name')) { + obj['plan_name'] = ApiClient.convertToType(data['plan_name'], 'String'); + } + if (data.hasOwnProperty('license_status')) { + obj['license_status'] = ApiClient.convertToType(data['license_status'], 'String'); + } } return obj; } @@ -100,6 +112,22 @@ * @member {String} job_title */ exports.prototype['job_title'] = undefined; + /** + * @member {String} license_type + */ + exports.prototype['license_type'] = undefined; + /** + * @member {String} subscription_id + */ + exports.prototype['subscription_id'] = undefined; + /** + * @member {String} plan_name + */ + exports.prototype['plan_name'] = undefined; + /** + * @member {String} license_status + */ + exports.prototype['license_status'] = undefined; diff --git a/src/model/ConnectEventData.js b/src/model/ConnectEventData.js new file mode 100644 index 0000000..0c8e7a2 --- /dev/null +++ b/src/model/ConnectEventData.js @@ -0,0 +1,81 @@ +/** + * Docusign Admin API + * An API for an organization administrator to manage organizations, accounts and users + * + * 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(['ApiClient'], factory); + } else if (typeof module === 'object' && module.exports) { + // CommonJS-like environments that support module.exports, like Node. + module.exports = factory(require('../ApiClient')); + } else { + // Browser globals (root is window) + if (!root.DocusignAdmin) { + root.DocusignAdmin = {}; + } + root.DocusignAdmin.ConnectEventData = factory(root.DocusignAdmin.ApiClient); + } +}(this, function(ApiClient) { + 'use strict'; + + + /** + * The ConnectEventData model module. + * @module model/ConnectEventData + */ + + /** + * Constructs a new ConnectEventData. + * @alias module:model/ConnectEventData + * @class + */ + var exports = function() { + var _this = this; + + + }; + + /** + * Constructs a ConnectEventData from a plain JavaScript object, optionally creating a new instance. + * Copies all relevant properties from data to obj if supplied or a new instance if not. + * @param {Object} data The plain JavaScript object bearing properties of interest. + * @param {module:model/ConnectEventData} obj Optional instance to populate. + * @return {module:model/ConnectEventData} The populated ConnectEventData instance. + */ + exports.constructFromObject = function(data, obj) { + if (data) { + obj = obj || new exports(); + + if (data.hasOwnProperty('version')) { + obj['version'] = ApiClient.convertToType(data['version'], 'String'); + } + if (data.hasOwnProperty('includeData')) { + obj['includeData'] = ApiClient.convertToType(data['includeData'], ['String']); + } + } + return obj; + } + + /** + * @member {String} version + */ + exports.prototype['version'] = undefined; + /** + * @member {Array.} includeData + */ + exports.prototype['includeData'] = undefined; + + + + return exports; +})); + + diff --git a/src/model/DSGroupResponse.js b/src/model/DSGroupResponse.js index a87f044..20c9f81 100644 --- a/src/model/DSGroupResponse.js +++ b/src/model/DSGroupResponse.js @@ -87,6 +87,9 @@ if (data.hasOwnProperty('account_name')) { obj['account_name'] = ApiClient.convertToType(data['account_name'], 'String'); } + if (data.hasOwnProperty('is_managed_by_scim')) { + obj['is_managed_by_scim'] = ApiClient.convertToType(data['is_managed_by_scim'], 'Boolean'); + } } return obj; } @@ -135,6 +138,10 @@ * @member {String} account_name */ exports.prototype['account_name'] = undefined; + /** + * @member {Boolean} is_managed_by_scim + */ + exports.prototype['is_managed_by_scim'] = undefined; diff --git a/src/model/ErrorDetail.js b/src/model/ErrorDetail.js new file mode 100644 index 0000000..21a471c --- /dev/null +++ b/src/model/ErrorDetail.js @@ -0,0 +1,81 @@ +/** + * Docusign Admin API + * An API for an organization administrator to manage organizations, accounts and users + * + * 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(['ApiClient'], factory); + } else if (typeof module === 'object' && module.exports) { + // CommonJS-like environments that support module.exports, like Node. + module.exports = factory(require('../ApiClient')); + } else { + // Browser globals (root is window) + if (!root.DocusignAdmin) { + root.DocusignAdmin = {}; + } + root.DocusignAdmin.ErrorDetail = factory(root.DocusignAdmin.ApiClient); + } +}(this, function(ApiClient) { + 'use strict'; + + + /** + * The ErrorDetail model module. + * @module model/ErrorDetail + */ + + /** + * Constructs a new ErrorDetail. + * @alias module:model/ErrorDetail + * @class + */ + var exports = function() { + var _this = this; + + + }; + + /** + * Constructs a ErrorDetail from a plain JavaScript object, optionally creating a new instance. + * Copies all relevant properties from data to obj if supplied or a new instance if not. + * @param {Object} data The plain JavaScript object bearing properties of interest. + * @param {module:model/ErrorDetail} obj Optional instance to populate. + * @return {module:model/ErrorDetail} The populated ErrorDetail instance. + */ + exports.constructFromObject = function(data, obj) { + if (data) { + obj = obj || new exports(); + + if (data.hasOwnProperty('errorMessage')) { + obj['errorMessage'] = ApiClient.convertToType(data['errorMessage'], 'String'); + } + if (data.hasOwnProperty('referenceId')) { + obj['referenceId'] = ApiClient.convertToType(data['referenceId'], 'String'); + } + } + return obj; + } + + /** + * @member {String} errorMessage + */ + exports.prototype['errorMessage'] = undefined; + /** + * @member {String} referenceId + */ + exports.prototype['referenceId'] = undefined; + + + + return exports; +})); + + diff --git a/src/model/MembershipResponse.js b/src/model/MembershipResponse.js index 637a2af..a344ddd 100644 --- a/src/model/MembershipResponse.js +++ b/src/model/MembershipResponse.js @@ -54,6 +54,9 @@ if (data) { obj = obj || new exports(); + if (data.hasOwnProperty('id')) { + obj['id'] = ApiClient.convertToType(data['id'], 'String'); + } if (data.hasOwnProperty('email')) { obj['email'] = ApiClient.convertToType(data['email'], 'String'); } @@ -84,10 +87,23 @@ if (data.hasOwnProperty('is_admin')) { obj['is_admin'] = ApiClient.convertToType(data['is_admin'], 'Boolean'); } + if (data.hasOwnProperty('license_type')) { + obj['license_type'] = ApiClient.convertToType(data['license_type'], 'String'); + } + if (data.hasOwnProperty('subscription_id')) { + obj['subscription_id'] = ApiClient.convertToType(data['subscription_id'], 'String'); + } + if (data.hasOwnProperty('plan_name')) { + obj['plan_name'] = ApiClient.convertToType(data['plan_name'], 'String'); + } } return obj; } + /** + * @member {String} id + */ + exports.prototype['id'] = undefined; /** * @member {String} email */ @@ -128,6 +144,18 @@ * @member {Boolean} is_admin */ exports.prototype['is_admin'] = undefined; + /** + * @member {String} license_type + */ + exports.prototype['license_type'] = undefined; + /** + * @member {String} subscription_id + */ + exports.prototype['subscription_id'] = undefined; + /** + * @member {String} plan_name + */ + exports.prototype['plan_name'] = undefined; diff --git a/src/model/NewAccountUserRequest.js b/src/model/NewAccountUserRequest.js index 6477b1d..b765f38 100644 --- a/src/model/NewAccountUserRequest.js +++ b/src/model/NewAccountUserRequest.js @@ -91,6 +91,9 @@ if (data.hasOwnProperty('auto_activate_memberships')) { obj['auto_activate_memberships'] = ApiClient.convertToType(data['auto_activate_memberships'], 'Boolean'); } + if (data.hasOwnProperty('license_type')) { + obj['license_type'] = ApiClient.convertToType(data['license_type'], 'String'); + } } return obj; } @@ -143,6 +146,10 @@ * @member {Boolean} auto_activate_memberships */ exports.prototype['auto_activate_memberships'] = undefined; + /** + * @member {String} license_type + */ + exports.prototype['license_type'] = undefined; diff --git a/src/model/NewMultiProductUserAddRequest.js b/src/model/NewMultiProductUserAddRequest.js index 12620fa..e7a999a 100644 --- a/src/model/NewMultiProductUserAddRequest.js +++ b/src/model/NewMultiProductUserAddRequest.js @@ -89,6 +89,9 @@ if (data.hasOwnProperty('auto_activate_memberships')) { obj['auto_activate_memberships'] = ApiClient.convertToType(data['auto_activate_memberships'], 'Boolean'); } + if (data.hasOwnProperty('license_type')) { + obj['license_type'] = ApiClient.convertToType(data['license_type'], 'String'); + } } return obj; } @@ -137,6 +140,10 @@ * @member {Boolean} auto_activate_memberships */ exports.prototype['auto_activate_memberships'] = undefined; + /** + * @member {String} license_type + */ + exports.prototype['license_type'] = undefined; diff --git a/src/model/NewUserResponseAccountProperties.js b/src/model/NewUserResponseAccountProperties.js index 57b4dcf..f223404 100644 --- a/src/model/NewUserResponseAccountProperties.js +++ b/src/model/NewUserResponseAccountProperties.js @@ -72,6 +72,18 @@ if (data.hasOwnProperty('job_title')) { obj['job_title'] = ApiClient.convertToType(data['job_title'], 'String'); } + if (data.hasOwnProperty('license_type')) { + obj['license_type'] = ApiClient.convertToType(data['license_type'], 'String'); + } + if (data.hasOwnProperty('subscription_id')) { + obj['subscription_id'] = ApiClient.convertToType(data['subscription_id'], 'String'); + } + if (data.hasOwnProperty('plan_name')) { + obj['plan_name'] = ApiClient.convertToType(data['plan_name'], 'String'); + } + if (data.hasOwnProperty('license_status')) { + obj['license_status'] = ApiClient.convertToType(data['license_status'], 'String'); + } } return obj; } @@ -100,6 +112,22 @@ * @member {String} job_title */ exports.prototype['job_title'] = undefined; + /** + * @member {String} license_type + */ + exports.prototype['license_type'] = undefined; + /** + * @member {String} subscription_id + */ + exports.prototype['subscription_id'] = undefined; + /** + * @member {String} plan_name + */ + exports.prototype['plan_name'] = undefined; + /** + * @member {String} license_status + */ + exports.prototype['license_status'] = undefined; diff --git a/src/model/OrganizationConnectConfigResponse.js b/src/model/OrganizationConnectConfigResponse.js new file mode 100644 index 0000000..636955b --- /dev/null +++ b/src/model/OrganizationConnectConfigResponse.js @@ -0,0 +1,144 @@ +/** + * Docusign Admin API + * An API for an organization administrator to manage organizations, accounts and users + * + * 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(['ApiClient'], factory); + } else if (typeof module === 'object' && module.exports) { + // CommonJS-like environments that support module.exports, like Node. + module.exports = factory(require('../ApiClient')); + } else { + // Browser globals (root is window) + if (!root.DocusignAdmin) { + root.DocusignAdmin = {}; + } + root.DocusignAdmin.OrganizationConnectConfigResponse = factory(root.DocusignAdmin.ApiClient); + } +}(this, function(ApiClient) { + 'use strict'; + + + /** + * The OrganizationConnectConfigResponse model module. + * @module model/OrganizationConnectConfigResponse + */ + + /** + * Constructs a new OrganizationConnectConfigResponse. + * @alias module:model/OrganizationConnectConfigResponse + * @class + */ + var exports = function() { + var _this = this; + + + }; + + /** + * Constructs a OrganizationConnectConfigResponse from a plain JavaScript object, optionally creating a new instance. + * Copies all relevant properties from data to obj if supplied or a new instance if not. + * @param {Object} data The plain JavaScript object bearing properties of interest. + * @param {module:model/OrganizationConnectConfigResponse} obj Optional instance to populate. + * @return {module:model/OrganizationConnectConfigResponse} The populated OrganizationConnectConfigResponse instance. + */ + exports.constructFromObject = function(data, obj) { + if (data) { + obj = obj || new exports(); + + if (data.hasOwnProperty('connectId')) { + obj['connectId'] = ApiClient.convertToType(data['connectId'], 'String'); + } + if (data.hasOwnProperty('configurationType')) { + obj['configurationType'] = ApiClient.convertToType(data['configurationType'], 'String'); + } + if (data.hasOwnProperty('disabledBy')) { + obj['disabledBy'] = ApiClient.convertToType(data['disabledBy'], 'String'); + } + if (data.hasOwnProperty('allowSalesforcePublish')) { + obj['allowSalesforcePublish'] = ApiClient.convertToType(data['allowSalesforcePublish'], 'String'); + } + if (data.hasOwnProperty('name')) { + obj['name'] = ApiClient.convertToType(data['name'], 'String'); + } + if (data.hasOwnProperty('accountId')) { + obj['accountId'] = ApiClient.convertToType(data['accountId'], 'String'); + } + if (data.hasOwnProperty('accountName')) { + obj['accountName'] = ApiClient.convertToType(data['accountName'], 'String'); + } + if (data.hasOwnProperty('allowEnvelopePublish')) { + obj['allowEnvelopePublish'] = ApiClient.convertToType(data['allowEnvelopePublish'], 'String'); + } + if (data.hasOwnProperty('siteId')) { + obj['siteId'] = ApiClient.convertToType(data['siteId'], 'Number'); + } + if (data.hasOwnProperty('pausePublish')) { + obj['pausePublish'] = ApiClient.convertToType(data['pausePublish'], 'String'); + } + if (data.hasOwnProperty('requiresAcknowledgement')) { + obj['requiresAcknowledgement'] = ApiClient.convertToType(data['requiresAcknowledgement'], 'String'); + } + } + return obj; + } + + /** + * @member {String} connectId + */ + exports.prototype['connectId'] = undefined; + /** + * @member {String} configurationType + */ + exports.prototype['configurationType'] = undefined; + /** + * @member {String} disabledBy + */ + exports.prototype['disabledBy'] = undefined; + /** + * @member {String} allowSalesforcePublish + */ + exports.prototype['allowSalesforcePublish'] = undefined; + /** + * @member {String} name + */ + exports.prototype['name'] = undefined; + /** + * @member {String} accountId + */ + exports.prototype['accountId'] = undefined; + /** + * @member {String} accountName + */ + exports.prototype['accountName'] = undefined; + /** + * @member {String} allowEnvelopePublish + */ + exports.prototype['allowEnvelopePublish'] = undefined; + /** + * @member {Number} siteId + */ + exports.prototype['siteId'] = undefined; + /** + * @member {String} pausePublish + */ + exports.prototype['pausePublish'] = undefined; + /** + * @member {String} requiresAcknowledgement + */ + exports.prototype['requiresAcknowledgement'] = undefined; + + + + return exports; +})); + + diff --git a/src/model/OrganizationConnectConfigsResponse.js b/src/model/OrganizationConnectConfigsResponse.js new file mode 100644 index 0000000..de25781 --- /dev/null +++ b/src/model/OrganizationConnectConfigsResponse.js @@ -0,0 +1,88 @@ +/** + * Docusign Admin API + * An API for an organization administrator to manage organizations, accounts and users + * + * 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(['ApiClient', 'model/ErrorDetail', 'model/OrganizationConnectConfigResponse'], factory); + } else if (typeof module === 'object' && module.exports) { + // CommonJS-like environments that support module.exports, like Node. + module.exports = factory(require('../ApiClient'), require('./ErrorDetail'), require('./OrganizationConnectConfigResponse')); + } else { + // Browser globals (root is window) + if (!root.DocusignAdmin) { + root.DocusignAdmin = {}; + } + root.DocusignAdmin.OrganizationConnectConfigsResponse = factory(root.DocusignAdmin.ApiClient, root.DocusignAdmin.ErrorDetail, root.DocusignAdmin.OrganizationConnectConfigResponse); + } +}(this, function(ApiClient, ErrorDetail, OrganizationConnectConfigResponse) { + 'use strict'; + + + /** + * The OrganizationConnectConfigsResponse model module. + * @module model/OrganizationConnectConfigsResponse + */ + + /** + * Constructs a new OrganizationConnectConfigsResponse. + * @alias module:model/OrganizationConnectConfigsResponse + * @class + */ + var exports = function() { + var _this = this; + + + }; + + /** + * Constructs a OrganizationConnectConfigsResponse from a plain JavaScript object, optionally creating a new instance. + * Copies all relevant properties from data to obj if supplied or a new instance if not. + * @param {Object} data The plain JavaScript object bearing properties of interest. + * @param {module:model/OrganizationConnectConfigsResponse} obj Optional instance to populate. + * @return {module:model/OrganizationConnectConfigsResponse} The populated OrganizationConnectConfigsResponse instance. + */ + exports.constructFromObject = function(data, obj) { + if (data) { + obj = obj || new exports(); + + if (data.hasOwnProperty('configurations')) { + obj['configurations'] = ApiClient.convertToType(data['configurations'], [OrganizationConnectConfigResponse]); + } + if (data.hasOwnProperty('totalSetSize')) { + obj['totalSetSize'] = ApiClient.convertToType(data['totalSetSize'], 'Number'); + } + if (data.hasOwnProperty('errorDetail')) { + obj['errorDetail'] = ErrorDetail.constructFromObject(data['errorDetail']); + } + } + return obj; + } + + /** + * @member {Array.} configurations + */ + exports.prototype['configurations'] = undefined; + /** + * @member {Number} totalSetSize + */ + exports.prototype['totalSetSize'] = undefined; + /** + * @member {module:model/ErrorDetail} errorDetail + */ + exports.prototype['errorDetail'] = undefined; + + + + return exports; +})); + + diff --git a/src/model/OrganizationConnectConfigurationDetailsResponse.js b/src/model/OrganizationConnectConfigurationDetailsResponse.js new file mode 100644 index 0000000..64164ec --- /dev/null +++ b/src/model/OrganizationConnectConfigurationDetailsResponse.js @@ -0,0 +1,179 @@ +/** + * Docusign Admin API + * An API for an organization administrator to manage organizations, accounts and users + * + * 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(['ApiClient', 'model/ConnectEventData'], factory); + } else if (typeof module === 'object' && module.exports) { + // CommonJS-like environments that support module.exports, like Node. + module.exports = factory(require('../ApiClient'), require('./ConnectEventData')); + } else { + // Browser globals (root is window) + if (!root.DocusignAdmin) { + root.DocusignAdmin = {}; + } + root.DocusignAdmin.OrganizationConnectConfigurationDetailsResponse = factory(root.DocusignAdmin.ApiClient, root.DocusignAdmin.ConnectEventData); + } +}(this, function(ApiClient, ConnectEventData) { + 'use strict'; + + + /** + * The OrganizationConnectConfigurationDetailsResponse model module. + * @module model/OrganizationConnectConfigurationDetailsResponse + */ + + /** + * Constructs a new OrganizationConnectConfigurationDetailsResponse. + * @alias module:model/OrganizationConnectConfigurationDetailsResponse + * @class + */ + var exports = function() { + var _this = this; + + + }; + + /** + * Constructs a OrganizationConnectConfigurationDetailsResponse from a plain JavaScript object, optionally creating a new instance. + * Copies all relevant properties from data to obj if supplied or a new instance if not. + * @param {Object} data The plain JavaScript object bearing properties of interest. + * @param {module:model/OrganizationConnectConfigurationDetailsResponse} obj Optional instance to populate. + * @return {module:model/OrganizationConnectConfigurationDetailsResponse} The populated OrganizationConnectConfigurationDetailsResponse instance. + */ + exports.constructFromObject = function(data, obj) { + if (data) { + obj = obj || new exports(); + + if (data.hasOwnProperty('connectId')) { + obj['connectId'] = ApiClient.convertToType(data['connectId'], 'String'); + } + if (data.hasOwnProperty('configurationType')) { + obj['configurationType'] = ApiClient.convertToType(data['configurationType'], 'String'); + } + if (data.hasOwnProperty('allowEnvelopePublish')) { + obj['allowEnvelopePublish'] = ApiClient.convertToType(data['allowEnvelopePublish'], 'String'); + } + if (data.hasOwnProperty('urlToPublishTo')) { + obj['urlToPublishTo'] = ApiClient.convertToType(data['urlToPublishTo'], 'String'); + } + if (data.hasOwnProperty('deliveryMode')) { + obj['deliveryMode'] = ApiClient.convertToType(data['deliveryMode'], 'String'); + } + if (data.hasOwnProperty('events')) { + obj['events'] = ApiClient.convertToType(data['events'], ['String']); + } + if (data.hasOwnProperty('associatedFilterSelection')) { + obj['associatedFilterSelection'] = ApiClient.convertToType(data['associatedFilterSelection'], 'String'); + } + if (data.hasOwnProperty('accountIds')) { + obj['accountIds'] = ApiClient.convertToType(data['accountIds'], ['String']); + } + if (data.hasOwnProperty('userIds')) { + obj['userIds'] = ApiClient.convertToType(data['userIds'], ['String']); + } + if (data.hasOwnProperty('groupIds')) { + obj['groupIds'] = ApiClient.convertToType(data['groupIds'], ['String']); + } + if (data.hasOwnProperty('name')) { + obj['name'] = ApiClient.convertToType(data['name'], 'String'); + } + if (data.hasOwnProperty('signMessageWithX509Certificate')) { + obj['signMessageWithX509Certificate'] = ApiClient.convertToType(data['signMessageWithX509Certificate'], 'String'); + } + if (data.hasOwnProperty('includeOAuth')) { + obj['includeOAuth'] = ApiClient.convertToType(data['includeOAuth'], 'String'); + } + if (data.hasOwnProperty('includeHMAC')) { + obj['includeHMAC'] = ApiClient.convertToType(data['includeHMAC'], 'String'); + } + if (data.hasOwnProperty('pausePublish')) { + obj['pausePublish'] = ApiClient.convertToType(data['pausePublish'], 'String'); + } + if (data.hasOwnProperty('eventData')) { + obj['eventData'] = ConnectEventData.constructFromObject(data['eventData']); + } + } + return obj; + } + + /** + * @member {String} connectId + */ + exports.prototype['connectId'] = undefined; + /** + * @member {String} configurationType + */ + exports.prototype['configurationType'] = undefined; + /** + * @member {String} allowEnvelopePublish + */ + exports.prototype['allowEnvelopePublish'] = undefined; + /** + * @member {String} urlToPublishTo + */ + exports.prototype['urlToPublishTo'] = undefined; + /** + * @member {String} deliveryMode + */ + exports.prototype['deliveryMode'] = undefined; + /** + * @member {Array.} events + */ + exports.prototype['events'] = undefined; + /** + * @member {String} associatedFilterSelection + */ + exports.prototype['associatedFilterSelection'] = undefined; + /** + * @member {Array.} accountIds + */ + exports.prototype['accountIds'] = undefined; + /** + * @member {Array.} userIds + */ + exports.prototype['userIds'] = undefined; + /** + * @member {Array.} groupIds + */ + exports.prototype['groupIds'] = undefined; + /** + * @member {String} name + */ + exports.prototype['name'] = undefined; + /** + * @member {String} signMessageWithX509Certificate + */ + exports.prototype['signMessageWithX509Certificate'] = undefined; + /** + * @member {String} includeOAuth + */ + exports.prototype['includeOAuth'] = undefined; + /** + * @member {String} includeHMAC + */ + exports.prototype['includeHMAC'] = undefined; + /** + * @member {String} pausePublish + */ + exports.prototype['pausePublish'] = undefined; + /** + * @member {module:model/ConnectEventData} eventData + */ + exports.prototype['eventData'] = undefined; + + + + return exports; +})); + + diff --git a/src/model/OrganizationConnectConfigurationRequest.js b/src/model/OrganizationConnectConfigurationRequest.js new file mode 100644 index 0000000..39e9d0f --- /dev/null +++ b/src/model/OrganizationConnectConfigurationRequest.js @@ -0,0 +1,179 @@ +/** + * Docusign Admin API + * An API for an organization administrator to manage organizations, accounts and users + * + * 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(['ApiClient', 'model/ConnectEventData'], factory); + } else if (typeof module === 'object' && module.exports) { + // CommonJS-like environments that support module.exports, like Node. + module.exports = factory(require('../ApiClient'), require('./ConnectEventData')); + } else { + // Browser globals (root is window) + if (!root.DocusignAdmin) { + root.DocusignAdmin = {}; + } + root.DocusignAdmin.OrganizationConnectConfigurationRequest = factory(root.DocusignAdmin.ApiClient, root.DocusignAdmin.ConnectEventData); + } +}(this, function(ApiClient, ConnectEventData) { + 'use strict'; + + + /** + * The OrganizationConnectConfigurationRequest model module. + * @module model/OrganizationConnectConfigurationRequest + */ + + /** + * Constructs a new OrganizationConnectConfigurationRequest. + * @alias module:model/OrganizationConnectConfigurationRequest + * @class + */ + var exports = function() { + var _this = this; + + + }; + + /** + * Constructs a OrganizationConnectConfigurationRequest from a plain JavaScript object, optionally creating a new instance. + * Copies all relevant properties from data to obj if supplied or a new instance if not. + * @param {Object} data The plain JavaScript object bearing properties of interest. + * @param {module:model/OrganizationConnectConfigurationRequest} obj Optional instance to populate. + * @return {module:model/OrganizationConnectConfigurationRequest} The populated OrganizationConnectConfigurationRequest instance. + */ + exports.constructFromObject = function(data, obj) { + if (data) { + obj = obj || new exports(); + + if (data.hasOwnProperty('connectId')) { + obj['connectId'] = ApiClient.convertToType(data['connectId'], 'String'); + } + if (data.hasOwnProperty('configurationType')) { + obj['configurationType'] = ApiClient.convertToType(data['configurationType'], 'String'); + } + if (data.hasOwnProperty('allowEnvelopePublish')) { + obj['allowEnvelopePublish'] = ApiClient.convertToType(data['allowEnvelopePublish'], 'String'); + } + if (data.hasOwnProperty('urlToPublishTo')) { + obj['urlToPublishTo'] = ApiClient.convertToType(data['urlToPublishTo'], 'String'); + } + if (data.hasOwnProperty('deliveryMode')) { + obj['deliveryMode'] = ApiClient.convertToType(data['deliveryMode'], 'String'); + } + if (data.hasOwnProperty('events')) { + obj['events'] = ApiClient.convertToType(data['events'], ['String']); + } + if (data.hasOwnProperty('associatedFilterSelection')) { + obj['associatedFilterSelection'] = ApiClient.convertToType(data['associatedFilterSelection'], 'String'); + } + if (data.hasOwnProperty('groupIds')) { + obj['groupIds'] = ApiClient.convertToType(data['groupIds'], ['String']); + } + if (data.hasOwnProperty('accountIds')) { + obj['accountIds'] = ApiClient.convertToType(data['accountIds'], ['String']); + } + if (data.hasOwnProperty('userIds')) { + obj['userIds'] = ApiClient.convertToType(data['userIds'], ['String']); + } + if (data.hasOwnProperty('name')) { + obj['name'] = ApiClient.convertToType(data['name'], 'String'); + } + if (data.hasOwnProperty('signMessageWithX509Certificate')) { + obj['signMessageWithX509Certificate'] = ApiClient.convertToType(data['signMessageWithX509Certificate'], 'String'); + } + if (data.hasOwnProperty('includeOAuth')) { + obj['includeOAuth'] = ApiClient.convertToType(data['includeOAuth'], 'String'); + } + if (data.hasOwnProperty('includeHMAC')) { + obj['includeHMAC'] = ApiClient.convertToType(data['includeHMAC'], 'String'); + } + if (data.hasOwnProperty('pausePublish')) { + obj['pausePublish'] = ApiClient.convertToType(data['pausePublish'], 'String'); + } + if (data.hasOwnProperty('eventData')) { + obj['eventData'] = ConnectEventData.constructFromObject(data['eventData']); + } + } + return obj; + } + + /** + * @member {String} connectId + */ + exports.prototype['connectId'] = undefined; + /** + * @member {String} configurationType + */ + exports.prototype['configurationType'] = undefined; + /** + * @member {String} allowEnvelopePublish + */ + exports.prototype['allowEnvelopePublish'] = undefined; + /** + * @member {String} urlToPublishTo + */ + exports.prototype['urlToPublishTo'] = undefined; + /** + * @member {String} deliveryMode + */ + exports.prototype['deliveryMode'] = undefined; + /** + * @member {Array.} events + */ + exports.prototype['events'] = undefined; + /** + * @member {String} associatedFilterSelection + */ + exports.prototype['associatedFilterSelection'] = undefined; + /** + * @member {Array.} groupIds + */ + exports.prototype['groupIds'] = undefined; + /** + * @member {Array.} accountIds + */ + exports.prototype['accountIds'] = undefined; + /** + * @member {Array.} userIds + */ + exports.prototype['userIds'] = undefined; + /** + * @member {String} name + */ + exports.prototype['name'] = undefined; + /** + * @member {String} signMessageWithX509Certificate + */ + exports.prototype['signMessageWithX509Certificate'] = undefined; + /** + * @member {String} includeOAuth + */ + exports.prototype['includeOAuth'] = undefined; + /** + * @member {String} includeHMAC + */ + exports.prototype['includeHMAC'] = undefined; + /** + * @member {String} pausePublish + */ + exports.prototype['pausePublish'] = undefined; + /** + * @member {module:model/ConnectEventData} eventData + */ + exports.prototype['eventData'] = undefined; + + + + return exports; +})); + + diff --git a/src/model/OrganizationConnectHmacSecretsResponse.js b/src/model/OrganizationConnectHmacSecretsResponse.js new file mode 100644 index 0000000..540779c --- /dev/null +++ b/src/model/OrganizationConnectHmacSecretsResponse.js @@ -0,0 +1,74 @@ +/** + * Docusign Admin API + * An API for an organization administrator to manage organizations, accounts and users + * + * 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(['ApiClient'], factory); + } else if (typeof module === 'object' && module.exports) { + // CommonJS-like environments that support module.exports, like Node. + module.exports = factory(require('../ApiClient')); + } else { + // Browser globals (root is window) + if (!root.DocusignAdmin) { + root.DocusignAdmin = {}; + } + root.DocusignAdmin.OrganizationConnectHmacSecretsResponse = factory(root.DocusignAdmin.ApiClient); + } +}(this, function(ApiClient) { + 'use strict'; + + + /** + * The OrganizationConnectHmacSecretsResponse model module. + * @module model/OrganizationConnectHmacSecretsResponse + */ + + /** + * Constructs a new OrganizationConnectHmacSecretsResponse. + * @alias module:model/OrganizationConnectHmacSecretsResponse + * @class + */ + var exports = function() { + var _this = this; + + + }; + + /** + * Constructs a OrganizationConnectHmacSecretsResponse from a plain JavaScript object, optionally creating a new instance. + * Copies all relevant properties from data to obj if supplied or a new instance if not. + * @param {Object} data The plain JavaScript object bearing properties of interest. + * @param {module:model/OrganizationConnectHmacSecretsResponse} obj Optional instance to populate. + * @return {module:model/OrganizationConnectHmacSecretsResponse} The populated OrganizationConnectHmacSecretsResponse instance. + */ + exports.constructFromObject = function(data, obj) { + if (data) { + obj = obj || new exports(); + + if (data.hasOwnProperty('secrets')) { + obj['secrets'] = ApiClient.convertToType(data['secrets'], ['String']); + } + } + return obj; + } + + /** + * @member {Array.} secrets + */ + exports.prototype['secrets'] = undefined; + + + + return exports; +})); + + diff --git a/src/model/OrganizationConnectOAuthConfiguration.js b/src/model/OrganizationConnectOAuthConfiguration.js new file mode 100644 index 0000000..f3310ef --- /dev/null +++ b/src/model/OrganizationConnectOAuthConfiguration.js @@ -0,0 +1,102 @@ +/** + * Docusign Admin API + * An API for an organization administrator to manage organizations, accounts and users + * + * 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(['ApiClient'], factory); + } else if (typeof module === 'object' && module.exports) { + // CommonJS-like environments that support module.exports, like Node. + module.exports = factory(require('../ApiClient')); + } else { + // Browser globals (root is window) + if (!root.DocusignAdmin) { + root.DocusignAdmin = {}; + } + root.DocusignAdmin.OrganizationConnectOAuthConfiguration = factory(root.DocusignAdmin.ApiClient); + } +}(this, function(ApiClient) { + 'use strict'; + + + /** + * The OrganizationConnectOAuthConfiguration model module. + * @module model/OrganizationConnectOAuthConfiguration + */ + + /** + * Constructs a new OrganizationConnectOAuthConfiguration. + * @alias module:model/OrganizationConnectOAuthConfiguration + * @class + */ + var exports = function() { + var _this = this; + + + }; + + /** + * Constructs a OrganizationConnectOAuthConfiguration from a plain JavaScript object, optionally creating a new instance. + * Copies all relevant properties from data to obj if supplied or a new instance if not. + * @param {Object} data The plain JavaScript object bearing properties of interest. + * @param {module:model/OrganizationConnectOAuthConfiguration} obj Optional instance to populate. + * @return {module:model/OrganizationConnectOAuthConfiguration} The populated OrganizationConnectOAuthConfiguration instance. + */ + exports.constructFromObject = function(data, obj) { + if (data) { + obj = obj || new exports(); + + if (data.hasOwnProperty('authorizationServerUrl')) { + obj['authorizationServerUrl'] = ApiClient.convertToType(data['authorizationServerUrl'], 'String'); + } + if (data.hasOwnProperty('clientId')) { + obj['clientId'] = ApiClient.convertToType(data['clientId'], 'String'); + } + if (data.hasOwnProperty('clientSecret')) { + obj['clientSecret'] = ApiClient.convertToType(data['clientSecret'], 'String'); + } + if (data.hasOwnProperty('scope')) { + obj['scope'] = ApiClient.convertToType(data['scope'], 'String'); + } + if (data.hasOwnProperty('customParameter')) { + obj['customParameter'] = ApiClient.convertToType(data['customParameter'], {'String': 'String'}); + } + } + return obj; + } + + /** + * @member {String} authorizationServerUrl + */ + exports.prototype['authorizationServerUrl'] = undefined; + /** + * @member {String} clientId + */ + exports.prototype['clientId'] = undefined; + /** + * @member {String} clientSecret + */ + exports.prototype['clientSecret'] = undefined; + /** + * @member {String} scope + */ + exports.prototype['scope'] = undefined; + /** + * @member {Object.} customParameter + */ + exports.prototype['customParameter'] = undefined; + + + + return exports; +})); + + diff --git a/src/model/OrganizationUserResponse.js b/src/model/OrganizationUserResponse.js index 71ae38b..6057f12 100644 --- a/src/model/OrganizationUserResponse.js +++ b/src/model/OrganizationUserResponse.js @@ -78,15 +78,36 @@ if (data.hasOwnProperty('created_on')) { obj['created_on'] = ApiClient.convertToType(data['created_on'], 'Date'); } + if (data.hasOwnProperty('closed_on')) { + obj['closed_on'] = ApiClient.convertToType(data['closed_on'], 'Date'); + } if (data.hasOwnProperty('membership_created_on')) { obj['membership_created_on'] = ApiClient.convertToType(data['membership_created_on'], 'Date'); } + if (data.hasOwnProperty('membership_closed_on')) { + obj['membership_closed_on'] = ApiClient.convertToType(data['membership_closed_on'], 'Date'); + } if (data.hasOwnProperty('ds_groups')) { obj['ds_groups'] = ApiClient.convertToType(data['ds_groups'], [DSGroupResponse]); } if (data.hasOwnProperty('membership_id')) { obj['membership_id'] = ApiClient.convertToType(data['membership_id'], 'String'); } + if (data.hasOwnProperty('is_membership_managed_by_scim')) { + obj['is_membership_managed_by_scim'] = ApiClient.convertToType(data['is_membership_managed_by_scim'], 'Boolean'); + } + if (data.hasOwnProperty('is_managed_by_scim')) { + obj['is_managed_by_scim'] = ApiClient.convertToType(data['is_managed_by_scim'], 'Boolean'); + } + if (data.hasOwnProperty('license_type')) { + obj['license_type'] = ApiClient.convertToType(data['license_type'], 'String'); + } + if (data.hasOwnProperty('subscription_id')) { + obj['subscription_id'] = ApiClient.convertToType(data['subscription_id'], 'String'); + } + if (data.hasOwnProperty('plan_name')) { + obj['plan_name'] = ApiClient.convertToType(data['plan_name'], 'String'); + } } return obj; } @@ -123,10 +144,18 @@ * @member {Date} created_on */ exports.prototype['created_on'] = undefined; + /** + * @member {Date} closed_on + */ + exports.prototype['closed_on'] = undefined; /** * @member {Date} membership_created_on */ exports.prototype['membership_created_on'] = undefined; + /** + * @member {Date} membership_closed_on + */ + exports.prototype['membership_closed_on'] = undefined; /** * @member {Array.} ds_groups */ @@ -135,6 +164,26 @@ * @member {String} membership_id */ exports.prototype['membership_id'] = undefined; + /** + * @member {Boolean} is_membership_managed_by_scim + */ + exports.prototype['is_membership_managed_by_scim'] = undefined; + /** + * @member {Boolean} is_managed_by_scim + */ + exports.prototype['is_managed_by_scim'] = undefined; + /** + * @member {String} license_type + */ + exports.prototype['license_type'] = undefined; + /** + * @member {String} subscription_id + */ + exports.prototype['subscription_id'] = undefined; + /** + * @member {String} plan_name + */ + exports.prototype['plan_name'] = undefined; diff --git a/src/model/UpdateMembershipRequest.js b/src/model/UpdateMembershipRequest.js index e780841..84a18e8 100644 --- a/src/model/UpdateMembershipRequest.js +++ b/src/model/UpdateMembershipRequest.js @@ -76,6 +76,9 @@ if (data.hasOwnProperty('access_code')) { obj['access_code'] = ApiClient.convertToType(data['access_code'], 'String'); } + if (data.hasOwnProperty('license_type')) { + obj['license_type'] = ApiClient.convertToType(data['license_type'], 'String'); + } } return obj; } @@ -108,6 +111,10 @@ * @member {String} access_code */ exports.prototype['access_code'] = undefined; + /** + * @member {String} license_type + */ + exports.prototype['license_type'] = undefined; diff --git a/src/model/UpdateUsersRequest.js b/src/model/UpdateUsersRequest.js index 8df4aa9..7e5bec0 100644 --- a/src/model/UpdateUsersRequest.js +++ b/src/model/UpdateUsersRequest.js @@ -57,6 +57,9 @@ if (data.hasOwnProperty('users')) { obj['users'] = ApiClient.convertToType(data['users'], [UpdateUserRequest]); } + if (data.hasOwnProperty('auto_activate_memberships_on_reactivation')) { + obj['auto_activate_memberships_on_reactivation'] = ApiClient.convertToType(data['auto_activate_memberships_on_reactivation'], 'Boolean'); + } } return obj; } @@ -65,6 +68,11 @@ * @member {Array.} users */ exports.prototype['users'] = undefined; + /** + * When set to **true**, the user's memberships will be automatically activated on reactivation. + * @member {Boolean} auto_activate_memberships_on_reactivation + */ + exports.prototype['auto_activate_memberships_on_reactivation'] = undefined; diff --git a/src/model/UserDrilldownResponse.js b/src/model/UserDrilldownResponse.js index 3df668f..a64ae6b 100644 --- a/src/model/UserDrilldownResponse.js +++ b/src/model/UserDrilldownResponse.js @@ -108,6 +108,18 @@ if (data.hasOwnProperty('device_verification_enabled')) { obj['device_verification_enabled'] = ApiClient.convertToType(data['device_verification_enabled'], 'Boolean'); } + if (data.hasOwnProperty('require_two_step_verification')) { + obj['require_two_step_verification'] = ApiClient.convertToType(data['require_two_step_verification'], 'Boolean'); + } + if (data.hasOwnProperty('allow_two_step_verification_snooze')) { + obj['allow_two_step_verification_snooze'] = ApiClient.convertToType(data['allow_two_step_verification_snooze'], 'Boolean'); + } + if (data.hasOwnProperty('allow_extend_org_admin_rights_to_self')) { + obj['allow_extend_org_admin_rights_to_self'] = ApiClient.convertToType(data['allow_extend_org_admin_rights_to_self'], 'Boolean'); + } + if (data.hasOwnProperty('is_managed_by_scim')) { + obj['is_managed_by_scim'] = ApiClient.convertToType(data['is_managed_by_scim'], 'Boolean'); + } } return obj; } @@ -184,6 +196,22 @@ * @member {Boolean} device_verification_enabled */ exports.prototype['device_verification_enabled'] = undefined; + /** + * @member {Boolean} require_two_step_verification + */ + exports.prototype['require_two_step_verification'] = undefined; + /** + * @member {Boolean} allow_two_step_verification_snooze + */ + exports.prototype['allow_two_step_verification_snooze'] = undefined; + /** + * @member {Boolean} allow_extend_org_admin_rights_to_self + */ + exports.prototype['allow_extend_org_admin_rights_to_self'] = undefined; + /** + * @member {Boolean} is_managed_by_scim + */ + exports.prototype['is_managed_by_scim'] = undefined;