|
12 | 12 | (function(root, factory) { |
13 | 13 | if (typeof define === 'function' && define.amd) { |
14 | 14 | // AMD. Register as an anonymous module. |
15 | | - define(['Configuration', 'ApiClient', 'model/AccountIdentityVerificationResponse', 'model/AccountInformation', 'model/AccountPasswordRules', 'model/AccountSettingsInformation', 'model/AccountSharedAccess', 'model/AccountSignature', 'model/AccountSignatureDefinition', 'model/AccountSignatureProviders', 'model/AccountSignaturesInformation', 'model/BillingChargeResponse', 'model/Brand', 'model/BrandResources', 'model/BrandResourcesList', 'model/BrandsRequest', 'model/BrandsResponse', 'model/CaptiveRecipientInformation', 'model/ConsumerDisclosure', 'model/CustomField', 'model/CustomFields', 'model/ENoteConfiguration', 'model/EnvelopePurgeConfiguration', 'model/ErrorDetails', 'model/FavoriteTemplatesInfo', 'model/FileTypeList', 'model/NewAccountDefinition', 'model/NewAccountSummary', 'model/NotificationDefaults', 'model/PaymentGatewayAccountsInfo', 'model/PermissionProfile', 'model/PermissionProfileInformation', 'model/ProvisioningInformation', 'model/RecipientNamesResponse', 'model/ReservedDomainExistence', 'model/SupportedLanguages', 'model/TabAccountSettings', 'model/UserPasswordRules', 'model/Watermark'], factory); |
| 15 | + define(['Configuration', 'ApiClient', 'model/AccountIdentityVerificationResponse', 'model/AccountInformation', 'model/AccountPasswordRules', 'model/AccountSettingsInformation', 'model/AccountSharedAccess', 'model/AccountSignature', 'model/AccountSignatureDefinition', 'model/AccountSignatureProviders', 'model/AccountSignaturesInformation', 'model/BillingChargeResponse', 'model/Brand', 'model/BrandResources', 'model/BrandResourcesList', 'model/BrandsRequest', 'model/BrandsResponse', 'model/CaptiveRecipientInformation', 'model/ConsumerDisclosure', 'model/CustomField', 'model/CustomFields', 'model/ENoteConfiguration', 'model/EnvelopePurgeConfiguration', 'model/ErrorDetails', 'model/FavoriteTemplatesInfo', 'model/FileTypeList', 'model/NewAccountDefinition', 'model/NewAccountSummary', 'model/NotificationDefaults', 'model/PaymentGatewayAccountsInfo', 'model/PermissionProfile', 'model/PermissionProfileInformation', 'model/ProvisioningInformation', 'model/RecipientNamesResponse', 'model/SupportedLanguages', 'model/TabAccountSettings', 'model/UserPasswordRules', 'model/Watermark'], factory); |
16 | 16 | } else if (typeof module === 'object' && module.exports) { |
17 | 17 | // CommonJS-like environments that support module.exports, like Node. |
18 | | - module.exports = factory(require('../Configuration'), require('../ApiClient'), require('../model/AccountIdentityVerificationResponse'), require('../model/AccountInformation'), require('../model/AccountPasswordRules'), require('../model/AccountSettingsInformation'), require('../model/AccountSharedAccess'), require('../model/AccountSignature'), require('../model/AccountSignatureDefinition'), require('../model/AccountSignatureProviders'), require('../model/AccountSignaturesInformation'), require('../model/BillingChargeResponse'), require('../model/Brand'), require('../model/BrandResources'), require('../model/BrandResourcesList'), require('../model/BrandsRequest'), require('../model/BrandsResponse'), require('../model/CaptiveRecipientInformation'), require('../model/ConsumerDisclosure'), require('../model/CustomField'), require('../model/CustomFields'), require('../model/ENoteConfiguration'), require('../model/EnvelopePurgeConfiguration'), require('../model/ErrorDetails'), require('../model/FavoriteTemplatesInfo'), require('../model/FileTypeList'), require('../model/NewAccountDefinition'), require('../model/NewAccountSummary'), require('../model/NotificationDefaults'), require('../model/PaymentGatewayAccountsInfo'), require('../model/PermissionProfile'), require('../model/PermissionProfileInformation'), require('../model/ProvisioningInformation'), require('../model/RecipientNamesResponse'), require('../model/ReservedDomainExistence'), require('../model/SupportedLanguages'), require('../model/TabAccountSettings'), require('../model/UserPasswordRules'), require('../model/Watermark')); |
| 18 | + module.exports = factory(require('../Configuration'), require('../ApiClient'), require('../model/AccountIdentityVerificationResponse'), require('../model/AccountInformation'), require('../model/AccountPasswordRules'), require('../model/AccountSettingsInformation'), require('../model/AccountSharedAccess'), require('../model/AccountSignature'), require('../model/AccountSignatureDefinition'), require('../model/AccountSignatureProviders'), require('../model/AccountSignaturesInformation'), require('../model/BillingChargeResponse'), require('../model/Brand'), require('../model/BrandResources'), require('../model/BrandResourcesList'), require('../model/BrandsRequest'), require('../model/BrandsResponse'), require('../model/CaptiveRecipientInformation'), require('../model/ConsumerDisclosure'), require('../model/CustomField'), require('../model/CustomFields'), require('../model/ENoteConfiguration'), require('../model/EnvelopePurgeConfiguration'), require('../model/ErrorDetails'), require('../model/FavoriteTemplatesInfo'), require('../model/FileTypeList'), require('../model/NewAccountDefinition'), require('../model/NewAccountSummary'), require('../model/NotificationDefaults'), require('../model/PaymentGatewayAccountsInfo'), require('../model/PermissionProfile'), require('../model/PermissionProfileInformation'), require('../model/ProvisioningInformation'), require('../model/RecipientNamesResponse'), require('../model/SupportedLanguages'), require('../model/TabAccountSettings'), require('../model/UserPasswordRules'), require('../model/Watermark')); |
19 | 19 | } else { |
20 | 20 | // Browser globals (root is window) |
21 | 21 | if (!root.Docusign) { |
22 | 22 | root.Docusign = {}; |
23 | 23 | } |
24 | | - root.Docusign.AccountsApi = factory(root.Docusign.Configuration, root.Docusign.ApiClient, root.Docusign.AccountIdentityVerificationResponse, root.Docusign.AccountInformation, root.Docusign.AccountPasswordRules, root.Docusign.AccountSettingsInformation, root.Docusign.AccountSharedAccess, root.Docusign.AccountSignature, root.Docusign.AccountSignatureDefinition, root.Docusign.AccountSignatureProviders, root.Docusign.AccountSignaturesInformation, root.Docusign.BillingChargeResponse, root.Docusign.Brand, root.Docusign.BrandResources, root.Docusign.BrandResourcesList, root.Docusign.BrandsRequest, root.Docusign.BrandsResponse, root.Docusign.CaptiveRecipientInformation, root.Docusign.ConsumerDisclosure, root.Docusign.CustomField, root.Docusign.CustomFields, root.Docusign.ENoteConfiguration, root.Docusign.EnvelopePurgeConfiguration, root.Docusign.ErrorDetails, root.Docusign.FavoriteTemplatesInfo, root.Docusign.FileTypeList, root.Docusign.NewAccountDefinition, root.Docusign.NewAccountSummary, root.Docusign.NotificationDefaults, root.Docusign.PaymentGatewayAccountsInfo, root.Docusign.PermissionProfile, root.Docusign.PermissionProfileInformation, root.Docusign.ProvisioningInformation, root.Docusign.RecipientNamesResponse, root.Docusign.ReservedDomainExistence, root.Docusign.SupportedLanguages, root.Docusign.TabAccountSettings, root.Docusign.UserPasswordRules, root.Docusign.Watermark); |
| 24 | + root.Docusign.AccountsApi = factory(root.Docusign.Configuration, root.Docusign.ApiClient, root.Docusign.AccountIdentityVerificationResponse, root.Docusign.AccountInformation, root.Docusign.AccountPasswordRules, root.Docusign.AccountSettingsInformation, root.Docusign.AccountSharedAccess, root.Docusign.AccountSignature, root.Docusign.AccountSignatureDefinition, root.Docusign.AccountSignatureProviders, root.Docusign.AccountSignaturesInformation, root.Docusign.BillingChargeResponse, root.Docusign.Brand, root.Docusign.BrandResources, root.Docusign.BrandResourcesList, root.Docusign.BrandsRequest, root.Docusign.BrandsResponse, root.Docusign.CaptiveRecipientInformation, root.Docusign.ConsumerDisclosure, root.Docusign.CustomField, root.Docusign.CustomFields, root.Docusign.ENoteConfiguration, root.Docusign.EnvelopePurgeConfiguration, root.Docusign.ErrorDetails, root.Docusign.FavoriteTemplatesInfo, root.Docusign.FileTypeList, root.Docusign.NewAccountDefinition, root.Docusign.NewAccountSummary, root.Docusign.NotificationDefaults, root.Docusign.PaymentGatewayAccountsInfo, root.Docusign.PermissionProfile, root.Docusign.PermissionProfileInformation, root.Docusign.ProvisioningInformation, root.Docusign.RecipientNamesResponse, root.Docusign.SupportedLanguages, root.Docusign.TabAccountSettings, root.Docusign.UserPasswordRules, root.Docusign.Watermark); |
25 | 25 | } |
26 | | -}(this, function(Configuration, ApiClient, AccountIdentityVerificationResponse, AccountInformation, AccountPasswordRules, AccountSettingsInformation, AccountSharedAccess, AccountSignature, AccountSignatureDefinition, AccountSignatureProviders, AccountSignaturesInformation, BillingChargeResponse, Brand, BrandResources, BrandResourcesList, BrandsRequest, BrandsResponse, CaptiveRecipientInformation, ConsumerDisclosure, CustomField, CustomFields, ENoteConfiguration, EnvelopePurgeConfiguration, ErrorDetails, FavoriteTemplatesInfo, FileTypeList, NewAccountDefinition, NewAccountSummary, NotificationDefaults, PaymentGatewayAccountsInfo, PermissionProfile, PermissionProfileInformation, ProvisioningInformation, RecipientNamesResponse, ReservedDomainExistence, SupportedLanguages, TabAccountSettings, UserPasswordRules, Watermark) { |
| 26 | +}(this, function(Configuration, ApiClient, AccountIdentityVerificationResponse, AccountInformation, AccountPasswordRules, AccountSettingsInformation, AccountSharedAccess, AccountSignature, AccountSignatureDefinition, AccountSignatureProviders, AccountSignaturesInformation, BillingChargeResponse, Brand, BrandResources, BrandResourcesList, BrandsRequest, BrandsResponse, CaptiveRecipientInformation, ConsumerDisclosure, CustomField, CustomFields, ENoteConfiguration, EnvelopePurgeConfiguration, ErrorDetails, FavoriteTemplatesInfo, FileTypeList, NewAccountDefinition, NewAccountSummary, NotificationDefaults, PaymentGatewayAccountsInfo, PermissionProfile, PermissionProfileInformation, ProvisioningInformation, RecipientNamesResponse, SupportedLanguages, TabAccountSettings, UserPasswordRules, Watermark) { |
27 | 27 | 'use strict'; |
28 | 28 |
|
29 | 29 | /** |
@@ -2313,64 +2313,6 @@ Privileges required: account administrator |
2313 | 2313 | ); |
2314 | 2314 | }; |
2315 | 2315 |
|
2316 | | - /** |
2317 | | - * (Optional) Callback function to receive the result of the getReservedDomainExistence operation. If none specified a Promise will be returned. |
2318 | | - * @callback module:api/AccountsApi~getReservedDomainExistenceCallback |
2319 | | - * @param {String} error Error message, if any. |
2320 | | - * @param {module:model/ReservedDomainExistence} data The data returned by the service call. |
2321 | | - * @param {String} If a callback was specified, the response The complete HTTP response, else a Promise resolving the response Data. |
2322 | | - */ |
2323 | | - |
2324 | | - /** |
2325 | | - * Returns whether or not the specified email domain is reserved/claimed. |
2326 | | - * @param {String} accountId The external account number (int) or account ID Guid. |
2327 | | - * @param {String} emailDomain |
2328 | | - * @param {module:api/AccountsApi~getReservedDomainExistenceCallback} callback The callback function, accepting three arguments: error, data, response |
2329 | | - * data is of type: {@link module:model/ReservedDomainExistence} |
2330 | | - */ |
2331 | | - this.getReservedDomainExistence = function(accountId, emailDomain, callback) { |
2332 | | - var postBody = null; |
2333 | | - |
2334 | | - // verify the required parameter 'accountId' is set |
2335 | | - if (accountId === undefined || accountId === null) { |
2336 | | - throw new Error("Missing the required parameter 'accountId' when calling getReservedDomainExistence"); |
2337 | | - } |
2338 | | - |
2339 | | - // verify the required parameter 'emailDomain' is set |
2340 | | - if (emailDomain === undefined || emailDomain === null) { |
2341 | | - throw new Error("Missing the required parameter 'emailDomain' when calling getReservedDomainExistence"); |
2342 | | - } |
2343 | | - |
2344 | | - if (typeof callback !== 'function' && arguments.length && typeof arguments[arguments.length-1] === 'function'){ |
2345 | | - if (typeof optsOrCallback !== 'undefined') { |
2346 | | - optsOrCallback = callback; |
2347 | | - } |
2348 | | - callback = arguments[arguments.length-1]; |
2349 | | - } |
2350 | | - |
2351 | | - var pathParams = { |
2352 | | - 'accountId': accountId |
2353 | | - }; |
2354 | | - var queryParams = { |
2355 | | - 'email_domain': emailDomain |
2356 | | - }; |
2357 | | - var headerParams = { |
2358 | | - }; |
2359 | | - var formParams = { |
2360 | | - }; |
2361 | | - |
2362 | | - var authNames = ['docusignAccessCode']; |
2363 | | - var contentTypes = []; |
2364 | | - var accepts = ['application/json']; |
2365 | | - var returnType = ReservedDomainExistence; |
2366 | | - |
2367 | | - return this.apiClient.callApi( |
2368 | | - '/v2.1/accounts/{accountId}/reserved_domains', 'GET', |
2369 | | - pathParams, queryParams, headerParams, formParams, postBody, |
2370 | | - authNames, contentTypes, accepts, returnType, callback |
2371 | | - ); |
2372 | | - }; |
2373 | | - |
2374 | 2316 | /** |
2375 | 2317 | * (Optional) Callback function to receive the result of the getSupportedLanguages operation. If none specified a Promise will be returned. |
2376 | 2318 | * @callback module:api/AccountsApi~getSupportedLanguagesCallback |
@@ -3347,6 +3289,7 @@ Users with account administration privileges can retrieve shared access informat |
3347 | 3289 | * @param {String} accountId The external account number (int) or account ID Guid. |
3348 | 3290 | * @param {String} brandId The unique identifier of a brand. |
3349 | 3291 | * @param {Object} optsOrCallback Optional parameters, if you are passing no optional parameters, you can either pass a null or omit this parameter entirely. |
| 3292 | + * @param {String} optsOrCallback.replaceBrand |
3350 | 3293 | * @param {module:model/Brand} optsOrCallback.brand |
3351 | 3294 | * @param {module:api/AccountsApi~updateBrandCallback} callback The callback function, accepting three arguments: error, data, response |
3352 | 3295 | * data is of type: {@link module:model/Brand} |
@@ -3383,6 +3326,7 @@ Users with account administration privileges can retrieve shared access informat |
3383 | 3326 | 'brandId': brandId |
3384 | 3327 | }; |
3385 | 3328 | var queryParams = { |
| 3329 | + 'replace_brand': optsOrCallback['replaceBrand'] |
3386 | 3330 | }; |
3387 | 3331 | var headerParams = { |
3388 | 3332 | }; |
|
0 commit comments