|
16 | 16 | (function(root, factory) {
|
17 | 17 | if (typeof define === 'function' && define.amd) {
|
18 | 18 | // AMD. Register as an anonymous module.
|
19 |
| - define(['ApiClient', 'model/Body1', 'model/InlineResponse20010', 'model/InlineResponse4008', 'model/InlineResponse409'], factory); |
| 19 | + define(['ApiClient', 'model/Body1', 'model/InlineResponse400', 'model/TmsV1InstrumentidentifiersDelete409Response', 'model/TmsV1InstrumentidentifiersPost200Response'], factory); |
20 | 20 | } else if (typeof module === 'object' && module.exports) {
|
21 | 21 | // CommonJS-like environments that support module.exports, like Node.
|
22 |
| - module.exports = factory(require('../ApiClient'), require('../model/Body1'), require('../model/InlineResponse20010'), require('../model/InlineResponse4008'), require('../model/InlineResponse409')); |
| 22 | + module.exports = factory(require('../ApiClient'), require('../model/Body1'), require('../model/InlineResponse400'), require('../model/TmsV1InstrumentidentifiersDelete409Response'), require('../model/TmsV1InstrumentidentifiersPost200Response')); |
23 | 23 | } else {
|
24 | 24 | // Browser globals (root is window)
|
25 | 25 | if (!root.CyberSource) {
|
26 | 26 | root.CyberSource = {};
|
27 | 27 | }
|
28 |
| - root.CyberSource.InstrumentIdentifierApi = factory(root.CyberSource.ApiClient, root.CyberSource.Body1, root.CyberSource.InlineResponse20010, root.CyberSource.InlineResponse4008, root.CyberSource.InlineResponse409); |
| 28 | + root.CyberSource.InstrumentIdentifierApi = factory(root.CyberSource.ApiClient, root.CyberSource.Body1, root.CyberSource.InlineResponse400, root.CyberSource.TmsV1InstrumentidentifiersDelete409Response, root.CyberSource.TmsV1InstrumentidentifiersPost200Response); |
29 | 29 | }
|
30 |
| -}(this, function(ApiClient, Body1, InlineResponse20010, InlineResponse4008, InlineResponse409) { |
| 30 | +}(this, function(ApiClient, Body1, InlineResponse400, TmsV1InstrumentidentifiersDelete409Response, TmsV1InstrumentidentifiersPost200Response) { |
31 | 31 | 'use strict';
|
32 | 32 |
|
33 | 33 | /**
|
|
43 | 43 | * @param {module:ApiClient} apiClient Optional API client implementation to use,
|
44 | 44 | * default to {@link module:ApiClient#instance} if unspecified.
|
45 | 45 | */
|
46 |
| - var exports = function(configObject, apiClient = undefined) { |
| 46 | + var exports = function(configObject, apiClient = undefined) { |
47 | 47 | this.apiClient = apiClient || ApiClient.instance;
|
48 | 48 |
|
49 | 49 | this.apiClient.setConfiguration(configObject);
|
|
104 | 104 | * Callback function to receive the result of the tmsV1InstrumentidentifiersTokenIdGet operation.
|
105 | 105 | * @callback module:api/InstrumentIdentifierApi~tmsV1InstrumentidentifiersTokenIdGetCallback
|
106 | 106 | * @param {String} error Error message, if any.
|
107 |
| - * @param {module:model/InlineResponse20010} data The data returned by the service call. |
| 107 | + * @param {module:model/TmsV1InstrumentidentifiersPost200Response} data The data returned by the service call. |
108 | 108 | * @param {String} response The complete HTTP response.
|
109 | 109 | */
|
110 | 110 |
|
|
113 | 113 | * @param {String} profileId The id of a profile containing user specific TMS configuration.
|
114 | 114 | * @param {String} tokenId The TokenId of an Instrument Identifier.
|
115 | 115 | * @param {module:api/InstrumentIdentifierApi~tmsV1InstrumentidentifiersTokenIdGetCallback} callback The callback function, accepting three arguments: error, data, response
|
116 |
| - * data is of type: {@link module:model/InlineResponse20010} |
| 116 | + * data is of type: {@link module:model/TmsV1InstrumentidentifiersPost200Response} |
117 | 117 | */
|
118 | 118 | this.tmsV1InstrumentidentifiersTokenIdGet = function(profileId, tokenId, callback) {
|
119 | 119 | var postBody = null;
|
|
143 | 143 | var authNames = [];
|
144 | 144 | var contentTypes = ['application/json;charset=utf-8'];
|
145 | 145 | var accepts = ['application/json;charset=utf-8'];
|
146 |
| - var returnType = InlineResponse20010; |
| 146 | + var returnType = TmsV1InstrumentidentifiersPost200Response; |
147 | 147 |
|
148 | 148 | return this.apiClient.callApi(
|
149 | 149 | '/tms/v1/instrumentidentifiers/{tokenId}', 'GET',
|
|
156 | 156 | * Callback function to receive the result of the tmsV1InstrumentidentifiersTokenIdPatch operation.
|
157 | 157 | * @callback module:api/InstrumentIdentifierApi~tmsV1InstrumentidentifiersTokenIdPatchCallback
|
158 | 158 | * @param {String} error Error message, if any.
|
159 |
| - * @param {module:model/InlineResponse20010} data The data returned by the service call. |
| 159 | + * @param {module:model/TmsV1InstrumentidentifiersPost200Response} data The data returned by the service call. |
160 | 160 | * @param {String} response The complete HTTP response.
|
161 | 161 | */
|
162 | 162 |
|
|
166 | 166 | * @param {String} tokenId The TokenId of an Instrument Identifier.
|
167 | 167 | * @param {module:model/Body1} body Please specify the previous transaction Id to update.
|
168 | 168 | * @param {module:api/InstrumentIdentifierApi~tmsV1InstrumentidentifiersTokenIdPatchCallback} callback The callback function, accepting three arguments: error, data, response
|
169 |
| - * data is of type: {@link module:model/InlineResponse20010} |
| 169 | + * data is of type: {@link module:model/TmsV1InstrumentidentifiersPost200Response} |
170 | 170 | */
|
171 | 171 | this.tmsV1InstrumentidentifiersTokenIdPatch = function(profileId, tokenId, body, callback) {
|
172 | 172 | var postBody = body;
|
|
201 | 201 | var authNames = [];
|
202 | 202 | var contentTypes = ['application/json;charset=utf-8'];
|
203 | 203 | var accepts = ['application/json;charset=utf-8'];
|
204 |
| - var returnType = InlineResponse20010; |
| 204 | + var returnType = TmsV1InstrumentidentifiersPost200Response; |
205 | 205 |
|
206 | 206 | return this.apiClient.callApi(
|
207 | 207 | '/tms/v1/instrumentidentifiers/{tokenId}', 'PATCH',
|
|
0 commit comments