|
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/CreateSearchRequest', 'model/PtsV2PaymentsPost502Response', 'model/TssV2TransactionsPost201Response', 'model/TssV2TransactionsPost201Response1', 'model/TssV2TransactionsPost400Response'], factory); |
| 19 | + define(['ApiClient', 'model/CreateSearchRequest', 'model/PtsV2PaymentsPost502Response', 'model/TssV2TransactionsPost201Response', 'model/TssV2TransactionsPost400Response'], 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/CreateSearchRequest'), require('../model/PtsV2PaymentsPost502Response'), require('../model/TssV2TransactionsPost201Response'), require('../model/TssV2TransactionsPost201Response1'), require('../model/TssV2TransactionsPost400Response')); |
| 22 | + module.exports = factory(require('../ApiClient'), require('../model/CreateSearchRequest'), require('../model/PtsV2PaymentsPost502Response'), require('../model/TssV2TransactionsPost201Response'), require('../model/TssV2TransactionsPost400Response')); |
23 | 23 | } else { |
24 | 24 | // Browser globals (root is window) |
25 | 25 | if (!root.CyberSource) { |
26 | 26 | root.CyberSource = {}; |
27 | 27 | } |
28 | | - root.CyberSource.SearchTransactionsApi = factory(root.CyberSource.ApiClient, root.CyberSource.CreateSearchRequest, root.CyberSource.PtsV2PaymentsPost502Response, root.CyberSource.TssV2TransactionsPost201Response, root.CyberSource.TssV2TransactionsPost201Response1, root.CyberSource.TssV2TransactionsPost400Response); |
| 28 | + root.CyberSource.SearchTransactionsApi = factory(root.CyberSource.ApiClient, root.CyberSource.CreateSearchRequest, root.CyberSource.PtsV2PaymentsPost502Response, root.CyberSource.TssV2TransactionsPost201Response, root.CyberSource.TssV2TransactionsPost400Response); |
29 | 29 | } |
30 | | -}(this, function(ApiClient, CreateSearchRequest, PtsV2PaymentsPost502Response, TssV2TransactionsPost201Response, TssV2TransactionsPost201Response1, TssV2TransactionsPost400Response) { |
| 30 | +}(this, function(ApiClient, CreateSearchRequest, PtsV2PaymentsPost502Response, TssV2TransactionsPost201Response, TssV2TransactionsPost400Response) { |
31 | 31 | 'use strict'; |
32 | 32 |
|
33 | 33 | /** |
|
98 | 98 | * Callback function to receive the result of the getSearch operation. |
99 | 99 | * @callback module:api/SearchTransactionsApi~getSearchCallback |
100 | 100 | * @param {String} error Error message, if any. |
101 | | - * @param {module:model/TssV2TransactionsPost201Response1} data The data returned by the service call. |
| 101 | + * @param {module:model/TssV2TransactionsPost201Response} data The data returned by the service call. |
102 | 102 | * @param {String} response The complete HTTP response. |
103 | 103 | */ |
104 | 104 |
|
|
107 | 107 | * Include the Search ID in the GET request to retrieve the search results. |
108 | 108 | * @param {String} searchId Search ID. |
109 | 109 | * @param {module:api/SearchTransactionsApi~getSearchCallback} callback The callback function, accepting three arguments: error, data, response |
110 | | - * data is of type: {@link module:model/TssV2TransactionsPost201Response1} |
| 110 | + * data is of type: {@link module:model/TssV2TransactionsPost201Response} |
111 | 111 | */ |
112 | 112 | this.getSearch = function(searchId, callback) { |
113 | 113 | var postBody = null; |
|
131 | 131 | var authNames = []; |
132 | 132 | var contentTypes = ['application/json;charset=utf-8']; |
133 | 133 | var accepts = ['*/*']; |
134 | | - var returnType = TssV2TransactionsPost201Response1; |
| 134 | + var returnType = TssV2TransactionsPost201Response; |
135 | 135 |
|
136 | 136 | return this.apiClient.callApi( |
137 | 137 | '/tss/v2/searches/{searchId}', 'GET', |
|
0 commit comments