@emilgroup/payment-sdk-node 1.12.1 → 1.13.1-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (201) hide show
  1. package/.openapi-generator/FILES +0 -30
  2. package/README.md +2 -2
  3. package/api/bank-accounts-api.ts +35 -25
  4. package/api/bank-transaction-api.ts +152 -46
  5. package/api/default-api.ts +1 -1
  6. package/api/payment-methods-api.ts +56 -46
  7. package/api/payment-reminders-api.ts +27 -17
  8. package/api/payment-setup-api.ts +29 -37
  9. package/api/payments-api.ts +44 -32
  10. package/api/refunds-api.ts +36 -20
  11. package/api/tenant-bank-account-api.ts +21 -7
  12. package/api/webhooks-api.ts +1 -1
  13. package/api.ts +1 -1
  14. package/base.ts +1 -1
  15. package/common.ts +2 -2
  16. package/configuration.ts +1 -1
  17. package/dist/api/bank-accounts-api.d.ts +23 -16
  18. package/dist/api/bank-accounts-api.js +25 -19
  19. package/dist/api/bank-transaction-api.d.ts +96 -34
  20. package/dist/api/bank-transaction-api.js +134 -35
  21. package/dist/api/default-api.d.ts +1 -1
  22. package/dist/api/default-api.js +1 -1
  23. package/dist/api/payment-methods-api.d.ts +38 -33
  24. package/dist/api/payment-methods-api.js +41 -31
  25. package/dist/api/payment-reminders-api.d.ts +23 -16
  26. package/dist/api/payment-reminders-api.js +13 -7
  27. package/dist/api/payment-setup-api.d.ts +19 -23
  28. package/dist/api/payment-setup-api.js +25 -25
  29. package/dist/api/payments-api.d.ts +32 -26
  30. package/dist/api/payments-api.js +29 -19
  31. package/dist/api/refunds-api.d.ts +23 -14
  32. package/dist/api/refunds-api.js +24 -16
  33. package/dist/api/tenant-bank-account-api.d.ts +13 -4
  34. package/dist/api/tenant-bank-account-api.js +13 -7
  35. package/dist/api/webhooks-api.d.ts +1 -1
  36. package/dist/api/webhooks-api.js +1 -1
  37. package/dist/api.d.ts +1 -1
  38. package/dist/api.js +1 -1
  39. package/dist/base.d.ts +1 -1
  40. package/dist/base.js +1 -1
  41. package/dist/common.d.ts +2 -2
  42. package/dist/common.js +1 -1
  43. package/dist/configuration.d.ts +1 -1
  44. package/dist/configuration.js +1 -1
  45. package/dist/index.d.ts +1 -1
  46. package/dist/index.js +1 -1
  47. package/dist/models/bank-transaction-response-class.d.ts +1 -1
  48. package/dist/models/bank-transaction-response-class.js +1 -1
  49. package/dist/models/create-payment-reminder-request-dto.d.ts +1 -1
  50. package/dist/models/create-payment-reminder-request-dto.js +1 -1
  51. package/dist/models/create-payment-request-dto.d.ts +4 -4
  52. package/dist/models/create-payment-request-dto.js +1 -1
  53. package/dist/models/create-refund-request-dto.d.ts +1 -1
  54. package/dist/models/create-refund-request-dto.js +1 -1
  55. package/dist/models/create-refund-response-class.d.ts +1 -1
  56. package/dist/models/create-refund-response-class.js +1 -1
  57. package/dist/models/create-tenant-bank-account-request-dto.d.ts +1 -1
  58. package/dist/models/create-tenant-bank-account-request-dto.js +1 -1
  59. package/dist/models/deactivate-payment-reminder-request-dto.d.ts +1 -1
  60. package/dist/models/deactivate-payment-reminder-request-dto.js +1 -1
  61. package/dist/models/get-bank-transactions-response-class.d.ts +1 -1
  62. package/dist/models/get-bank-transactions-response-class.js +1 -1
  63. package/dist/models/get-refund-response-class.d.ts +1 -1
  64. package/dist/models/get-refund-response-class.js +1 -1
  65. package/dist/models/get-request-dto.d.ts +2 -2
  66. package/dist/models/get-request-dto.js +1 -1
  67. package/dist/models/get-tenant-bank-account-response-class.d.ts +1 -1
  68. package/dist/models/get-tenant-bank-account-response-class.js +1 -1
  69. package/dist/models/index.d.ts +0 -30
  70. package/dist/models/index.js +0 -30
  71. package/dist/models/inline-response200.d.ts +1 -1
  72. package/dist/models/inline-response200.js +1 -1
  73. package/dist/models/inline-response503.d.ts +1 -1
  74. package/dist/models/inline-response503.js +1 -1
  75. package/dist/models/list-bank-transactions-response-class.d.ts +1 -1
  76. package/dist/models/list-bank-transactions-response-class.js +1 -1
  77. package/dist/models/list-refunds-response-class.d.ts +1 -1
  78. package/dist/models/list-refunds-response-class.js +1 -1
  79. package/dist/models/refund-class.d.ts +1 -1
  80. package/dist/models/refund-class.js +1 -1
  81. package/dist/models/tenant-bank-account-response-class.d.ts +1 -1
  82. package/dist/models/tenant-bank-account-response-class.js +1 -1
  83. package/dist/models/transaction-class.d.ts +1 -1
  84. package/dist/models/transaction-class.js +1 -1
  85. package/dist/models/update-tenant-bank-account-rest-request-dto.d.ts +1 -1
  86. package/dist/models/update-tenant-bank-account-rest-request-dto.js +1 -1
  87. package/dist/models/validate-pspconfig-request-dto.d.ts +2 -9
  88. package/dist/models/validate-pspconfig-request-dto.js +1 -8
  89. package/index.ts +1 -1
  90. package/models/bank-transaction-response-class.ts +1 -1
  91. package/models/create-payment-reminder-request-dto.ts +1 -1
  92. package/models/create-payment-request-dto.ts +4 -4
  93. package/models/create-refund-request-dto.ts +1 -1
  94. package/models/create-refund-response-class.ts +1 -1
  95. package/models/create-tenant-bank-account-request-dto.ts +1 -1
  96. package/models/deactivate-payment-reminder-request-dto.ts +1 -1
  97. package/models/get-bank-transactions-response-class.ts +1 -1
  98. package/models/get-refund-response-class.ts +1 -1
  99. package/models/get-request-dto.ts +2 -2
  100. package/models/get-tenant-bank-account-response-class.ts +1 -1
  101. package/models/index.ts +0 -30
  102. package/models/inline-response200.ts +1 -1
  103. package/models/inline-response503.ts +1 -1
  104. package/models/list-bank-transactions-response-class.ts +1 -1
  105. package/models/list-refunds-response-class.ts +1 -1
  106. package/models/refund-class.ts +1 -1
  107. package/models/tenant-bank-account-response-class.ts +1 -1
  108. package/models/transaction-class.ts +1 -1
  109. package/models/update-tenant-bank-account-rest-request-dto.ts +1 -1
  110. package/models/validate-pspconfig-request-dto.ts +2 -12
  111. package/package.json +1 -1
  112. package/dist/models/bank-account-class.d.ts +0 -54
  113. package/dist/models/bank-account-class.js +0 -15
  114. package/dist/models/billing-profile-dto.d.ts +0 -38
  115. package/dist/models/billing-profile-dto.js +0 -15
  116. package/dist/models/billing-profile-limited-response-dto.d.ts +0 -54
  117. package/dist/models/billing-profile-limited-response-dto.js +0 -15
  118. package/dist/models/complete-braintree-payment-setup-request-dto.d.ts +0 -48
  119. package/dist/models/complete-braintree-payment-setup-request-dto.js +0 -15
  120. package/dist/models/complete-payment-setup-request-dto.d.ts +0 -32
  121. package/dist/models/complete-payment-setup-request-dto.js +0 -15
  122. package/dist/models/complete-payment-setup-response-class.d.ts +0 -25
  123. package/dist/models/complete-payment-setup-response-class.js +0 -15
  124. package/dist/models/complete-stripe-payment-setup-request-dto.d.ts +0 -60
  125. package/dist/models/complete-stripe-payment-setup-request-dto.js +0 -15
  126. package/dist/models/create-bank-account-request-dto.d.ts +0 -30
  127. package/dist/models/create-bank-account-request-dto.js +0 -15
  128. package/dist/models/create-payment-method-response-class.d.ts +0 -25
  129. package/dist/models/create-payment-method-response-class.js +0 -15
  130. package/dist/models/create-payment-response-class.d.ts +0 -25
  131. package/dist/models/create-payment-response-class.js +0 -15
  132. package/dist/models/create-psp-payment-method-request-dto.d.ts +0 -61
  133. package/dist/models/create-psp-payment-method-request-dto.js +0 -32
  134. package/dist/models/deactivate-payment-reminder-response-class.d.ts +0 -25
  135. package/dist/models/deactivate-payment-reminder-response-class.js +0 -15
  136. package/dist/models/get-payment-method-response-class.d.ts +0 -25
  137. package/dist/models/get-payment-method-response-class.js +0 -15
  138. package/dist/models/get-payment-response-class.d.ts +0 -25
  139. package/dist/models/get-payment-response-class.js +0 -15
  140. package/dist/models/initiate-braintree-payment-setup-request-dto.d.ts +0 -30
  141. package/dist/models/initiate-braintree-payment-setup-request-dto.js +0 -15
  142. package/dist/models/initiate-braintree-payment-setup-response-class.d.ts +0 -24
  143. package/dist/models/initiate-braintree-payment-setup-response-class.js +0 -15
  144. package/dist/models/initiate-payment-setup-request-dto.d.ts +0 -44
  145. package/dist/models/initiate-payment-setup-request-dto.js +0 -15
  146. package/dist/models/initiate-payment-setup-response-class.d.ts +0 -32
  147. package/dist/models/initiate-payment-setup-response-class.js +0 -15
  148. package/dist/models/initiate-stripe-payment-setup-request-dto.d.ts +0 -30
  149. package/dist/models/initiate-stripe-payment-setup-request-dto.js +0 -15
  150. package/dist/models/initiate-stripe-payment-setup-response-class.d.ts +0 -30
  151. package/dist/models/initiate-stripe-payment-setup-response-class.js +0 -15
  152. package/dist/models/link-bank-transaction-request-dto.d.ts +0 -30
  153. package/dist/models/link-bank-transaction-request-dto.js +0 -15
  154. package/dist/models/list-bank-accounts-response-class.d.ts +0 -31
  155. package/dist/models/list-bank-accounts-response-class.js +0 -15
  156. package/dist/models/list-payment-methods-response-class.d.ts +0 -31
  157. package/dist/models/list-payment-methods-response-class.js +0 -15
  158. package/dist/models/list-payment-reminders-response-class.d.ts +0 -31
  159. package/dist/models/list-payment-reminders-response-class.js +0 -15
  160. package/dist/models/list-payments-response-class.d.ts +0 -31
  161. package/dist/models/list-payments-response-class.js +0 -15
  162. package/dist/models/payment-class.d.ts +0 -103
  163. package/dist/models/payment-class.js +0 -15
  164. package/dist/models/payment-method-class.d.ts +0 -66
  165. package/dist/models/payment-method-class.js +0 -15
  166. package/dist/models/payment-reminder-class.d.ts +0 -112
  167. package/dist/models/payment-reminder-class.js +0 -36
  168. package/dist/models/sepa-direct-dto.d.ts +0 -24
  169. package/dist/models/sepa-direct-dto.js +0 -15
  170. package/dist/models/symphony-profile-limited-response-dto.d.ts +0 -42
  171. package/dist/models/symphony-profile-limited-response-dto.js +0 -15
  172. package/models/bank-account-class.ts +0 -60
  173. package/models/billing-profile-dto.ts +0 -44
  174. package/models/billing-profile-limited-response-dto.ts +0 -60
  175. package/models/complete-braintree-payment-setup-request-dto.ts +0 -54
  176. package/models/complete-payment-setup-request-dto.ts +0 -38
  177. package/models/complete-payment-setup-response-class.ts +0 -31
  178. package/models/complete-stripe-payment-setup-request-dto.ts +0 -66
  179. package/models/create-bank-account-request-dto.ts +0 -36
  180. package/models/create-payment-method-response-class.ts +0 -31
  181. package/models/create-payment-response-class.ts +0 -31
  182. package/models/create-psp-payment-method-request-dto.ts +0 -70
  183. package/models/deactivate-payment-reminder-response-class.ts +0 -31
  184. package/models/get-payment-method-response-class.ts +0 -31
  185. package/models/get-payment-response-class.ts +0 -31
  186. package/models/initiate-braintree-payment-setup-request-dto.ts +0 -36
  187. package/models/initiate-braintree-payment-setup-response-class.ts +0 -30
  188. package/models/initiate-payment-setup-request-dto.ts +0 -50
  189. package/models/initiate-payment-setup-response-class.ts +0 -38
  190. package/models/initiate-stripe-payment-setup-request-dto.ts +0 -36
  191. package/models/initiate-stripe-payment-setup-response-class.ts +0 -36
  192. package/models/link-bank-transaction-request-dto.ts +0 -36
  193. package/models/list-bank-accounts-response-class.ts +0 -37
  194. package/models/list-payment-methods-response-class.ts +0 -37
  195. package/models/list-payment-reminders-response-class.ts +0 -37
  196. package/models/list-payments-response-class.ts +0 -37
  197. package/models/payment-class.ts +0 -109
  198. package/models/payment-method-class.ts +0 -72
  199. package/models/payment-reminder-class.ts +0 -122
  200. package/models/sepa-direct-dto.ts +0 -30
  201. package/models/symphony-profile-limited-response-dto.ts +0 -48
@@ -6,7 +6,7 @@
6
6
  * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
7
7
  *
8
8
  * The version of the OpenAPI document: 1.0
9
- * Contact: kontakt@emil.de
9
+ * Contact: z
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech
@@ -98,20 +98,20 @@ var PaymentSetupApiAxiosParamCreator = function (configuration) {
98
98
  return {
99
99
  /**
100
100
  *
101
- * @param {CompletePaymentSetupRequestDto} completePaymentSetupRequestDto
101
+ * @param {object} body
102
102
  * @param {string} [authorization] Bearer Token
103
103
  * @param {*} [options] Override http request option.
104
104
  * @throws {RequiredError}
105
105
  */
106
- completePaymentSetup: function (completePaymentSetupRequestDto, authorization, options) {
106
+ completePaymentSetup: function (body, authorization, options) {
107
107
  if (options === void 0) { options = {}; }
108
108
  return __awaiter(_this, void 0, void 0, function () {
109
109
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
110
110
  return __generator(this, function (_a) {
111
111
  switch (_a.label) {
112
112
  case 0:
113
- // verify required parameter 'completePaymentSetupRequestDto' is not null or undefined
114
- (0, common_1.assertParamExists)('completePaymentSetup', 'completePaymentSetupRequestDto', completePaymentSetupRequestDto);
113
+ // verify required parameter 'body' is not null or undefined
114
+ (0, common_1.assertParamExists)('completePaymentSetup', 'body', body);
115
115
  localVarPath = "/paymentservice/v1/payment-setup/complete";
116
116
  localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
117
117
  if (configuration) {
@@ -135,7 +135,7 @@ var PaymentSetupApiAxiosParamCreator = function (configuration) {
135
135
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
136
136
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
137
137
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
138
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(completePaymentSetupRequestDto, localVarRequestOptions, configuration);
138
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
139
139
  return [2 /*return*/, {
140
140
  url: (0, common_1.toPathString)(localVarUrlObj),
141
141
  options: localVarRequestOptions,
@@ -146,20 +146,20 @@ var PaymentSetupApiAxiosParamCreator = function (configuration) {
146
146
  },
147
147
  /**
148
148
  *
149
- * @param {InitiatePaymentSetupRequestDto} initiatePaymentSetupRequestDto
149
+ * @param {object} body
150
150
  * @param {string} [authorization] Bearer Token
151
151
  * @param {*} [options] Override http request option.
152
152
  * @throws {RequiredError}
153
153
  */
154
- initiatePaymentSetup: function (initiatePaymentSetupRequestDto, authorization, options) {
154
+ initiatePaymentSetup: function (body, authorization, options) {
155
155
  if (options === void 0) { options = {}; }
156
156
  return __awaiter(_this, void 0, void 0, function () {
157
157
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
158
158
  return __generator(this, function (_a) {
159
159
  switch (_a.label) {
160
160
  case 0:
161
- // verify required parameter 'initiatePaymentSetupRequestDto' is not null or undefined
162
- (0, common_1.assertParamExists)('initiatePaymentSetup', 'initiatePaymentSetupRequestDto', initiatePaymentSetupRequestDto);
161
+ // verify required parameter 'body' is not null or undefined
162
+ (0, common_1.assertParamExists)('initiatePaymentSetup', 'body', body);
163
163
  localVarPath = "/paymentservice/v1/payment-setup/initiate";
164
164
  localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
165
165
  if (configuration) {
@@ -183,7 +183,7 @@ var PaymentSetupApiAxiosParamCreator = function (configuration) {
183
183
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
184
184
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
185
185
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
186
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(initiatePaymentSetupRequestDto, localVarRequestOptions, configuration);
186
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
187
187
  return [2 /*return*/, {
188
188
  url: (0, common_1.toPathString)(localVarUrlObj),
189
189
  options: localVarRequestOptions,
@@ -204,17 +204,17 @@ var PaymentSetupApiFp = function (configuration) {
204
204
  return {
205
205
  /**
206
206
  *
207
- * @param {CompletePaymentSetupRequestDto} completePaymentSetupRequestDto
207
+ * @param {object} body
208
208
  * @param {string} [authorization] Bearer Token
209
209
  * @param {*} [options] Override http request option.
210
210
  * @throws {RequiredError}
211
211
  */
212
- completePaymentSetup: function (completePaymentSetupRequestDto, authorization, options) {
212
+ completePaymentSetup: function (body, authorization, options) {
213
213
  return __awaiter(this, void 0, void 0, function () {
214
214
  var localVarAxiosArgs;
215
215
  return __generator(this, function (_a) {
216
216
  switch (_a.label) {
217
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.completePaymentSetup(completePaymentSetupRequestDto, authorization, options)];
217
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.completePaymentSetup(body, authorization, options)];
218
218
  case 1:
219
219
  localVarAxiosArgs = _a.sent();
220
220
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -224,17 +224,17 @@ var PaymentSetupApiFp = function (configuration) {
224
224
  },
225
225
  /**
226
226
  *
227
- * @param {InitiatePaymentSetupRequestDto} initiatePaymentSetupRequestDto
227
+ * @param {object} body
228
228
  * @param {string} [authorization] Bearer Token
229
229
  * @param {*} [options] Override http request option.
230
230
  * @throws {RequiredError}
231
231
  */
232
- initiatePaymentSetup: function (initiatePaymentSetupRequestDto, authorization, options) {
232
+ initiatePaymentSetup: function (body, authorization, options) {
233
233
  return __awaiter(this, void 0, void 0, function () {
234
234
  var localVarAxiosArgs;
235
235
  return __generator(this, function (_a) {
236
236
  switch (_a.label) {
237
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.initiatePaymentSetup(initiatePaymentSetupRequestDto, authorization, options)];
237
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.initiatePaymentSetup(body, authorization, options)];
238
238
  case 1:
239
239
  localVarAxiosArgs = _a.sent();
240
240
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -254,23 +254,23 @@ var PaymentSetupApiFactory = function (configuration, basePath, axios) {
254
254
  return {
255
255
  /**
256
256
  *
257
- * @param {CompletePaymentSetupRequestDto} completePaymentSetupRequestDto
257
+ * @param {object} body
258
258
  * @param {string} [authorization] Bearer Token
259
259
  * @param {*} [options] Override http request option.
260
260
  * @throws {RequiredError}
261
261
  */
262
- completePaymentSetup: function (completePaymentSetupRequestDto, authorization, options) {
263
- return localVarFp.completePaymentSetup(completePaymentSetupRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
262
+ completePaymentSetup: function (body, authorization, options) {
263
+ return localVarFp.completePaymentSetup(body, authorization, options).then(function (request) { return request(axios, basePath); });
264
264
  },
265
265
  /**
266
266
  *
267
- * @param {InitiatePaymentSetupRequestDto} initiatePaymentSetupRequestDto
267
+ * @param {object} body
268
268
  * @param {string} [authorization] Bearer Token
269
269
  * @param {*} [options] Override http request option.
270
270
  * @throws {RequiredError}
271
271
  */
272
- initiatePaymentSetup: function (initiatePaymentSetupRequestDto, authorization, options) {
273
- return localVarFp.initiatePaymentSetup(initiatePaymentSetupRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
272
+ initiatePaymentSetup: function (body, authorization, options) {
273
+ return localVarFp.initiatePaymentSetup(body, authorization, options).then(function (request) { return request(axios, basePath); });
274
274
  },
275
275
  };
276
276
  };
@@ -295,7 +295,7 @@ var PaymentSetupApi = /** @class */ (function (_super) {
295
295
  */
296
296
  PaymentSetupApi.prototype.completePaymentSetup = function (requestParameters, options) {
297
297
  var _this = this;
298
- return (0, exports.PaymentSetupApiFp)(this.configuration).completePaymentSetup(requestParameters.completePaymentSetupRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
298
+ return (0, exports.PaymentSetupApiFp)(this.configuration).completePaymentSetup(requestParameters.body, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
299
299
  };
300
300
  /**
301
301
  *
@@ -306,7 +306,7 @@ var PaymentSetupApi = /** @class */ (function (_super) {
306
306
  */
307
307
  PaymentSetupApi.prototype.initiatePaymentSetup = function (requestParameters, options) {
308
308
  var _this = this;
309
- return (0, exports.PaymentSetupApiFp)(this.configuration).initiatePaymentSetup(requestParameters.initiatePaymentSetupRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
309
+ return (0, exports.PaymentSetupApiFp)(this.configuration).initiatePaymentSetup(requestParameters.body, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
310
310
  };
311
311
  return PaymentSetupApi;
312
312
  }(base_1.BaseAPI));
@@ -3,7 +3,7 @@
3
3
  * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0
6
- * Contact: kontakt@emil.de
6
+ * Contact: z
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
@@ -13,9 +13,6 @@ import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
13
13
  import { Configuration } from '../configuration';
14
14
  import { RequestArgs, BaseAPI } from '../base';
15
15
  import { CreatePaymentRequestDto } from '../models';
16
- import { CreatePaymentResponseClass } from '../models';
17
- import { GetPaymentResponseClass } from '../models';
18
- import { ListPaymentsResponseClass } from '../models';
19
16
  /**
20
17
  * PaymentsApi - axios parameter creator
21
18
  * @export
@@ -35,13 +32,13 @@ export declare const PaymentsApiAxiosParamCreator: (configuration?: Configuratio
35
32
  * Retrieves the details of a payment that was previously created. Supply the unique payment code that was returned when you created the payment and Emil Api will return the corresponding payment information.
36
33
  * @summary Retrieve a payment
37
34
  * @param {string} code Unique identifier for the object.
35
+ * @param {string} expand Fields to expand response by
36
+ * @param {string} expand2 Fields to expand response by
38
37
  * @param {string} [authorization] Bearer Token
39
- * @param {string} [expand] Fields to expand response by
40
- * @param {string} [expand2] Fields to expand response by
41
38
  * @param {*} [options] Override http request option.
42
39
  * @throws {RequiredError}
43
40
  */
44
- getPayment: (code: string, authorization?: string, expand?: string, expand2?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
41
+ getPayment: (code: string, expand: string, expand2: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
45
42
  /**
46
43
  * Returns a list of payments you’ve previously created. The payments are returned in sorted order, with the oldest payment appearing first. For more information about pagination, read the Pagination documentation.
47
44
  * @summary List payments
@@ -52,10 +49,11 @@ export declare const PaymentsApiAxiosParamCreator: (configuration?: Configuratio
52
49
  * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
53
50
  * @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
54
51
  * @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
52
+ * @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
55
53
  * @param {*} [options] Override http request option.
56
54
  * @throws {RequiredError}
57
55
  */
58
- listPayments: (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
56
+ listPayments: (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
59
57
  };
60
58
  /**
61
59
  * PaymentsApi - functional programming interface
@@ -71,18 +69,18 @@ export declare const PaymentsApiFp: (configuration?: Configuration) => {
71
69
  * @param {*} [options] Override http request option.
72
70
  * @throws {RequiredError}
73
71
  */
74
- createPayment(idempotencyKey: string, createPaymentRequestDto: CreatePaymentRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreatePaymentResponseClass>>;
72
+ createPayment(idempotencyKey: string, createPaymentRequestDto: CreatePaymentRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
75
73
  /**
76
74
  * Retrieves the details of a payment that was previously created. Supply the unique payment code that was returned when you created the payment and Emil Api will return the corresponding payment information.
77
75
  * @summary Retrieve a payment
78
76
  * @param {string} code Unique identifier for the object.
77
+ * @param {string} expand Fields to expand response by
78
+ * @param {string} expand2 Fields to expand response by
79
79
  * @param {string} [authorization] Bearer Token
80
- * @param {string} [expand] Fields to expand response by
81
- * @param {string} [expand2] Fields to expand response by
82
80
  * @param {*} [options] Override http request option.
83
81
  * @throws {RequiredError}
84
82
  */
85
- getPayment(code: string, authorization?: string, expand?: string, expand2?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetPaymentResponseClass>>;
83
+ getPayment(code: string, expand: string, expand2: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
86
84
  /**
87
85
  * Returns a list of payments you’ve previously created. The payments are returned in sorted order, with the oldest payment appearing first. For more information about pagination, read the Pagination documentation.
88
86
  * @summary List payments
@@ -93,10 +91,11 @@ export declare const PaymentsApiFp: (configuration?: Configuration) => {
93
91
  * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
94
92
  * @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
95
93
  * @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
94
+ * @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
96
95
  * @param {*} [options] Override http request option.
97
96
  * @throws {RequiredError}
98
97
  */
99
- listPayments(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPaymentsResponseClass>>;
98
+ listPayments(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
100
99
  };
101
100
  /**
102
101
  * PaymentsApi - factory interface
@@ -112,18 +111,18 @@ export declare const PaymentsApiFactory: (configuration?: Configuration, basePat
112
111
  * @param {*} [options] Override http request option.
113
112
  * @throws {RequiredError}
114
113
  */
115
- createPayment(idempotencyKey: string, createPaymentRequestDto: CreatePaymentRequestDto, authorization?: string, options?: any): AxiosPromise<CreatePaymentResponseClass>;
114
+ createPayment(idempotencyKey: string, createPaymentRequestDto: CreatePaymentRequestDto, authorization?: string, options?: any): AxiosPromise<void>;
116
115
  /**
117
116
  * Retrieves the details of a payment that was previously created. Supply the unique payment code that was returned when you created the payment and Emil Api will return the corresponding payment information.
118
117
  * @summary Retrieve a payment
119
118
  * @param {string} code Unique identifier for the object.
119
+ * @param {string} expand Fields to expand response by
120
+ * @param {string} expand2 Fields to expand response by
120
121
  * @param {string} [authorization] Bearer Token
121
- * @param {string} [expand] Fields to expand response by
122
- * @param {string} [expand2] Fields to expand response by
123
122
  * @param {*} [options] Override http request option.
124
123
  * @throws {RequiredError}
125
124
  */
126
- getPayment(code: string, authorization?: string, expand?: string, expand2?: string, options?: any): AxiosPromise<GetPaymentResponseClass>;
125
+ getPayment(code: string, expand: string, expand2: string, authorization?: string, options?: any): AxiosPromise<void>;
127
126
  /**
128
127
  * Returns a list of payments you’ve previously created. The payments are returned in sorted order, with the oldest payment appearing first. For more information about pagination, read the Pagination documentation.
129
128
  * @summary List payments
@@ -134,10 +133,11 @@ export declare const PaymentsApiFactory: (configuration?: Configuration, basePat
134
133
  * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
135
134
  * @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
136
135
  * @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
136
+ * @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
137
137
  * @param {*} [options] Override http request option.
138
138
  * @throws {RequiredError}
139
139
  */
140
- listPayments(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: any): AxiosPromise<ListPaymentsResponseClass>;
140
+ listPayments(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: any): AxiosPromise<void>;
141
141
  };
142
142
  /**
143
143
  * Request parameters for createPayment operation in PaymentsApi.
@@ -177,23 +177,23 @@ export interface PaymentsApiGetPaymentRequest {
177
177
  */
178
178
  readonly code: string;
179
179
  /**
180
- * Bearer Token
180
+ * Fields to expand response by
181
181
  * @type {string}
182
182
  * @memberof PaymentsApiGetPayment
183
183
  */
184
- readonly authorization?: string;
184
+ readonly expand: string;
185
185
  /**
186
186
  * Fields to expand response by
187
187
  * @type {string}
188
188
  * @memberof PaymentsApiGetPayment
189
189
  */
190
- readonly expand?: string;
190
+ readonly expand2: string;
191
191
  /**
192
- * Fields to expand response by
192
+ * Bearer Token
193
193
  * @type {string}
194
194
  * @memberof PaymentsApiGetPayment
195
195
  */
196
- readonly expand2?: string;
196
+ readonly authorization?: string;
197
197
  }
198
198
  /**
199
199
  * Request parameters for listPayments operation in PaymentsApi.
@@ -243,6 +243,12 @@ export interface PaymentsApiListPaymentsRequest {
243
243
  * @memberof PaymentsApiListPayments
244
244
  */
245
245
  readonly expand?: any;
246
+ /**
247
+ * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
248
+ * @type {any}
249
+ * @memberof PaymentsApiListPayments
250
+ */
251
+ readonly filters?: any;
246
252
  }
247
253
  /**
248
254
  * PaymentsApi - object-oriented interface
@@ -259,7 +265,7 @@ export declare class PaymentsApi extends BaseAPI {
259
265
  * @throws {RequiredError}
260
266
  * @memberof PaymentsApi
261
267
  */
262
- createPayment(requestParameters: PaymentsApiCreatePaymentRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePaymentResponseClass, any>>;
268
+ createPayment(requestParameters: PaymentsApiCreatePaymentRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
263
269
  /**
264
270
  * Retrieves the details of a payment that was previously created. Supply the unique payment code that was returned when you created the payment and Emil Api will return the corresponding payment information.
265
271
  * @summary Retrieve a payment
@@ -268,7 +274,7 @@ export declare class PaymentsApi extends BaseAPI {
268
274
  * @throws {RequiredError}
269
275
  * @memberof PaymentsApi
270
276
  */
271
- getPayment(requestParameters: PaymentsApiGetPaymentRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPaymentResponseClass, any>>;
277
+ getPayment(requestParameters: PaymentsApiGetPaymentRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
272
278
  /**
273
279
  * Returns a list of payments you’ve previously created. The payments are returned in sorted order, with the oldest payment appearing first. For more information about pagination, read the Pagination documentation.
274
280
  * @summary List payments
@@ -277,5 +283,5 @@ export declare class PaymentsApi extends BaseAPI {
277
283
  * @throws {RequiredError}
278
284
  * @memberof PaymentsApi
279
285
  */
280
- listPayments(requestParameters?: PaymentsApiListPaymentsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPaymentsResponseClass, any>>;
286
+ listPayments(requestParameters?: PaymentsApiListPaymentsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
281
287
  }
@@ -6,7 +6,7 @@
6
6
  * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
7
7
  *
8
8
  * The version of the OpenAPI document: 1.0
9
- * Contact: kontakt@emil.de
9
+ * Contact: z
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech
@@ -155,13 +155,13 @@ var PaymentsApiAxiosParamCreator = function (configuration) {
155
155
  * Retrieves the details of a payment that was previously created. Supply the unique payment code that was returned when you created the payment and Emil Api will return the corresponding payment information.
156
156
  * @summary Retrieve a payment
157
157
  * @param {string} code Unique identifier for the object.
158
+ * @param {string} expand Fields to expand response by
159
+ * @param {string} expand2 Fields to expand response by
158
160
  * @param {string} [authorization] Bearer Token
159
- * @param {string} [expand] Fields to expand response by
160
- * @param {string} [expand2] Fields to expand response by
161
161
  * @param {*} [options] Override http request option.
162
162
  * @throws {RequiredError}
163
163
  */
164
- getPayment: function (code, authorization, expand, expand2, options) {
164
+ getPayment: function (code, expand, expand2, authorization, options) {
165
165
  if (options === void 0) { options = {}; }
166
166
  return __awaiter(_this, void 0, void 0, function () {
167
167
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -170,6 +170,10 @@ var PaymentsApiAxiosParamCreator = function (configuration) {
170
170
  case 0:
171
171
  // verify required parameter 'code' is not null or undefined
172
172
  (0, common_1.assertParamExists)('getPayment', 'code', code);
173
+ // verify required parameter 'expand' is not null or undefined
174
+ (0, common_1.assertParamExists)('getPayment', 'expand', expand);
175
+ // verify required parameter 'expand2' is not null or undefined
176
+ (0, common_1.assertParamExists)('getPayment', 'expand2', expand2);
173
177
  localVarPath = "/paymentservice/v1/payments/{code}";
174
178
  localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
175
179
  if (configuration) {
@@ -219,10 +223,11 @@ var PaymentsApiAxiosParamCreator = function (configuration) {
219
223
  * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
220
224
  * @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
221
225
  * @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
226
+ * @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
222
227
  * @param {*} [options] Override http request option.
223
228
  * @throws {RequiredError}
224
229
  */
225
- listPayments: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
230
+ listPayments: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
226
231
  if (options === void 0) { options = {}; }
227
232
  return __awaiter(_this, void 0, void 0, function () {
228
233
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -263,6 +268,9 @@ var PaymentsApiAxiosParamCreator = function (configuration) {
263
268
  if (expand !== undefined) {
264
269
  localVarQueryParameter['expand'] = expand;
265
270
  }
271
+ if (filters !== undefined) {
272
+ localVarQueryParameter['filters'] = filters;
273
+ }
266
274
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
267
275
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
268
276
  }
@@ -313,18 +321,18 @@ var PaymentsApiFp = function (configuration) {
313
321
  * Retrieves the details of a payment that was previously created. Supply the unique payment code that was returned when you created the payment and Emil Api will return the corresponding payment information.
314
322
  * @summary Retrieve a payment
315
323
  * @param {string} code Unique identifier for the object.
324
+ * @param {string} expand Fields to expand response by
325
+ * @param {string} expand2 Fields to expand response by
316
326
  * @param {string} [authorization] Bearer Token
317
- * @param {string} [expand] Fields to expand response by
318
- * @param {string} [expand2] Fields to expand response by
319
327
  * @param {*} [options] Override http request option.
320
328
  * @throws {RequiredError}
321
329
  */
322
- getPayment: function (code, authorization, expand, expand2, options) {
330
+ getPayment: function (code, expand, expand2, authorization, options) {
323
331
  return __awaiter(this, void 0, void 0, function () {
324
332
  var localVarAxiosArgs;
325
333
  return __generator(this, function (_a) {
326
334
  switch (_a.label) {
327
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.getPayment(code, authorization, expand, expand2, options)];
335
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getPayment(code, expand, expand2, authorization, options)];
328
336
  case 1:
329
337
  localVarAxiosArgs = _a.sent();
330
338
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -342,15 +350,16 @@ var PaymentsApiFp = function (configuration) {
342
350
  * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
343
351
  * @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
344
352
  * @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
353
+ * @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
345
354
  * @param {*} [options] Override http request option.
346
355
  * @throws {RequiredError}
347
356
  */
348
- listPayments: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
357
+ listPayments: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
349
358
  return __awaiter(this, void 0, void 0, function () {
350
359
  var localVarAxiosArgs;
351
360
  return __generator(this, function (_a) {
352
361
  switch (_a.label) {
353
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.listPayments(authorization, pageSize, pageToken, filter, search, order, expand, options)];
362
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.listPayments(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
354
363
  case 1:
355
364
  localVarAxiosArgs = _a.sent();
356
365
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -384,14 +393,14 @@ var PaymentsApiFactory = function (configuration, basePath, axios) {
384
393
  * Retrieves the details of a payment that was previously created. Supply the unique payment code that was returned when you created the payment and Emil Api will return the corresponding payment information.
385
394
  * @summary Retrieve a payment
386
395
  * @param {string} code Unique identifier for the object.
396
+ * @param {string} expand Fields to expand response by
397
+ * @param {string} expand2 Fields to expand response by
387
398
  * @param {string} [authorization] Bearer Token
388
- * @param {string} [expand] Fields to expand response by
389
- * @param {string} [expand2] Fields to expand response by
390
399
  * @param {*} [options] Override http request option.
391
400
  * @throws {RequiredError}
392
401
  */
393
- getPayment: function (code, authorization, expand, expand2, options) {
394
- return localVarFp.getPayment(code, authorization, expand, expand2, options).then(function (request) { return request(axios, basePath); });
402
+ getPayment: function (code, expand, expand2, authorization, options) {
403
+ return localVarFp.getPayment(code, expand, expand2, authorization, options).then(function (request) { return request(axios, basePath); });
395
404
  },
396
405
  /**
397
406
  * Returns a list of payments you’ve previously created. The payments are returned in sorted order, with the oldest payment appearing first. For more information about pagination, read the Pagination documentation.
@@ -403,11 +412,12 @@ var PaymentsApiFactory = function (configuration, basePath, axios) {
403
412
  * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
404
413
  * @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
405
414
  * @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
415
+ * @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
406
416
  * @param {*} [options] Override http request option.
407
417
  * @throws {RequiredError}
408
418
  */
409
- listPayments: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
410
- return localVarFp.listPayments(authorization, pageSize, pageToken, filter, search, order, expand, options).then(function (request) { return request(axios, basePath); });
419
+ listPayments: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
420
+ return localVarFp.listPayments(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
411
421
  },
412
422
  };
413
423
  };
@@ -445,7 +455,7 @@ var PaymentsApi = /** @class */ (function (_super) {
445
455
  */
446
456
  PaymentsApi.prototype.getPayment = function (requestParameters, options) {
447
457
  var _this = this;
448
- return (0, exports.PaymentsApiFp)(this.configuration).getPayment(requestParameters.code, requestParameters.authorization, requestParameters.expand, requestParameters.expand2, options).then(function (request) { return request(_this.axios, _this.basePath); });
458
+ return (0, exports.PaymentsApiFp)(this.configuration).getPayment(requestParameters.code, requestParameters.expand, requestParameters.expand2, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
449
459
  };
450
460
  /**
451
461
  * Returns a list of payments you’ve previously created. The payments are returned in sorted order, with the oldest payment appearing first. For more information about pagination, read the Pagination documentation.
@@ -458,7 +468,7 @@ var PaymentsApi = /** @class */ (function (_super) {
458
468
  PaymentsApi.prototype.listPayments = function (requestParameters, options) {
459
469
  var _this = this;
460
470
  if (requestParameters === void 0) { requestParameters = {}; }
461
- return (0, exports.PaymentsApiFp)(this.configuration).listPayments(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
471
+ return (0, exports.PaymentsApiFp)(this.configuration).listPayments(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
462
472
  };
463
473
  return PaymentsApi;
464
474
  }(base_1.BaseAPI));