|
2 | 2 | (function(factory) { |
3 | 3 | if (typeof define === 'function' && define.amd) { |
4 | 4 | // AMD. Register as an anonymous module. |
5 | | - define(['{{#invokerPackage}}{{invokerPackage}}/{{/invokerPackage}}ApiClient'{{#models}}, '{{#invokerPackage}}{{invokerPackage}}/{{/invokerPackage}}{{#modelPackage}}{{modelPackage}}/{{/modelPackage}}{{importPath}}'{{/models}}{{#apiInfo}}{{#apis}}, '{{#invokerPackage}}{{invokerPackage}}/{{/invokerPackage}}{{#apiPackage}}{{apiPackage}}/{{/apiPackage}}{{importPath}}'{{/apis}}{{/apiInfo}}], factory); |
| 5 | + define(['{{#invokerPackage}}{{invokerPackage}}/{{/invokerPackage}}ApiClient'{{#models}}, '{{#invokerPackage}}{{invokerPackage}}/{{/invokerPackage}}{{#modelPackage}}{{modelPackage}}/{{/modelPackage}}{{importPath}}'{{/models}}, 'model/AccessTokenResponse', 'model/BadRequestError', 'model/CreateAccessTokenRequest', 'model/ResourceNotFoundError', 'model/UnauthorizedClientError'{{#apiInfo}}{{#apis}}, '{{#invokerPackage}}{{invokerPackage}}/{{/invokerPackage}}{{#apiPackage}}{{apiPackage}}/{{/apiPackage}}{{importPath}}'{{/apis}}{{/apiInfo}}, 'api/OAuthApi'], factory); |
6 | 6 | } else if (typeof module === 'object' && module.exports) { |
7 | 7 | // CommonJS-like environments that support module.exports, like Node. |
8 | | - module.exports = factory(require('./ApiClient'){{#models}}, require('./{{#modelPackage}}{{modelPackage}}/{{/modelPackage}}{{importPath}}'){{/models}}{{#apiInfo}}{{#apis}}, require('./{{#apiPackage}}{{apiPackage}}/{{/apiPackage}}{{importPath}}'){{/apis}}{{/apiInfo}}); |
| 8 | + module.exports = factory(require('./ApiClient'){{#models}}, require('./{{#modelPackage}}{{modelPackage}}/{{/modelPackage}}{{importPath}}'){{/models}}, require('./model/AccessTokenResponse'), require('./model/BadRequestError'), require('./model/CreateAccessTokenRequest'), require('./model/ResourceNotFoundError'), require('./model/UnauthorizedClientError'){{#apiInfo}}{{#apis}}, require('./{{#apiPackage}}{{apiPackage}}/{{/apiPackage}}{{importPath}}'){{/apis}}{{/apiInfo}}, require('./api/OAuthApi')); |
9 | 9 | } |
10 | | -}(function(ApiClient{{#models}}{{#model}}, {{classFilename}}{{/model}}{{/models}}{{#apiInfo}}{{#apis}}, {{importPath}}{{/apis}}{{/apiInfo}}) { |
| 10 | +}(function(ApiClient{{#models}}{{#model}}, {{classFilename}}{{/model}}{{/models}}, AccessTokenResponse, BadRequestError, CreateAccessTokenRequest, ResourceNotFoundError, UnauthorizedClientError{{#apiInfo}}{{#apis}}, {{importPath}}{{/apis}}{{/apiInfo}}, OAuthApi) { |
11 | 11 | 'use strict'; |
12 | 12 |
|
13 | 13 | {{#emitJSDoc}} /**{{#projectDescription}} |
|
51 | 51 | * The <importPath> model constructor. |
52 | 52 | * @property {module:<#invokerPackage><invokerPackage>/</invokerPackage><#modelPackage><modelPackage>/</modelPackage><importPath>} |
53 | 53 | */</emitJSDoc> |
54 | | - <importPath>: <importPath></models><#apiInfo><#apis>,<#emitJSDoc> |
| 54 | + <importPath>: <importPath></models>, |
| 55 | + /** |
| 56 | + * The AccessTokenResponse model constructor. |
| 57 | + * @property {module:model/AccessTokenResponse} |
| 58 | + */ |
| 59 | + AccessTokenResponse: AccessTokenResponse, |
| 60 | + /** |
| 61 | + * The BadRequestError model constructor. |
| 62 | + * @property {module:model/BadRequestError} |
| 63 | + */ |
| 64 | + BadRequestError: BadRequestError, |
| 65 | + /** |
| 66 | + * The CreateAccessTokenRequest model constructor. |
| 67 | + * @property {module:model/CreateAccessTokenRequest} |
| 68 | + */ |
| 69 | + CreateAccessTokenRequest: CreateAccessTokenRequest, |
| 70 | + /** |
| 71 | + * The ResourceNotFoundError model constructor. |
| 72 | + * @property {module:model/ResourceNotFoundError} |
| 73 | + */ |
| 74 | + ResourceNotFoundError: ResourceNotFoundError, |
| 75 | + /** |
| 76 | + * The UnauthorizedClientError model constructor. |
| 77 | + * @property {module:model/UnauthorizedClientError} |
| 78 | + */ |
| 79 | + UnauthorizedClientError: UnauthorizedClientError<#apiInfo><#apis>,<#emitJSDoc> |
55 | 80 | /** |
56 | 81 | * The <importPath> service constructor. |
57 | 82 | * @property {module:<#invokerPackage><invokerPackage>/</invokerPackage><#apiPackage><apiPackage>/</apiPackage><importPath>} |
58 | 83 | */</emitJSDoc> |
59 | | - <importPath>: <importPath></apis></apiInfo> |
| 84 | + <importPath>: <importPath></apis></apiInfo>, |
| 85 | + /** |
| 86 | + * The OAuthApi service constructor. |
| 87 | + * @property {module:api/OAuthApi} |
| 88 | + */ |
| 89 | + OAuthApi: OAuthApi |
60 | 90 | }; |
61 | 91 |
|
62 | 92 | exports.TokenVerification = require('./utilities/flex/TokenVerification.js'); |
63 | | - exports.Authorization = require('./authentication/core/Authorization.js'), |
64 | | - exports.MerchantConfig = require('./authentication/core/MerchantConfig.js'), |
65 | | - exports.Logger = require('./authentication/logging/Logger.js'), |
66 | | - exports.Constants = require('./authentication/util/Constants.js'), |
67 | | - exports.PayloadDigest = require('./authentication/payloadDigest/DigestGenerator.js') |
| 93 | + exports.Authorization = require('./authentication/core/Authorization.js'); |
| 94 | + exports.MerchantConfig = require('./authentication/core/MerchantConfig.js'); |
| 95 | + exports.Logger = require('./authentication/logging/Logger.js'); |
| 96 | + exports.Constants = require('./authentication/util/Constants.js'); |
| 97 | + exports.PayloadDigest = require('./authentication/payloadDigest/DigestGenerator.js'); |
| 98 | + exports.LogConfiguration = require('./authentication/logging/LogConfiguration.js'); |
| 99 | + exports.SensitiveDataTags = require('./authentication/logging/SensitiveDataTags.js'); |
| 100 | + exports.SensitiveDataMasker = require('./authentication/logging/SensitiveDataMasker.js'); |
68 | 101 |
|
69 | 102 | return exports;<={{ }}=> |
70 | 103 | })); |
0 commit comments