@emilgroup/payment-sdk 1.3.1 → 1.4.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 +2 -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 +2 -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
@@ -93,7 +93,8 @@ var BankTransactionApiAxiosParamCreator = function (configuration) {
93
93
  var _this = this;
94
94
  return {
95
95
  /**
96
- *
96
+ * Retrieves the details of the Bank Transaction that was previously created. Supply the unique Bank Transaction code that was returned when you created it and Emil Api will return the corresponding Bank Transaction information.
97
+ * @summary Retrieve the Bank Transaction
97
98
  * @param {string} code
98
99
  * @param {string} [authorization] Bearer Token
99
100
  * @param {string} [expand] Expand the response with additional entities
@@ -145,7 +146,7 @@ var BankTransactionApiAxiosParamCreator = function (configuration) {
145
146
  },
146
147
  /**
147
148
  * Import bank transactions from a swift MT940 file
148
- * @summary Create the Bank Transactions
149
+ * @summary Create the bank transactions
149
150
  * @param {string} [authorization] Bearer Token
150
151
  * @param {any} [file]
151
152
  * @param {*} [options] Override http request option.
@@ -197,13 +198,12 @@ var BankTransactionApiAxiosParamCreator = function (configuration) {
197
198
  /**
198
199
  * Links a bank transaction with an invoice
199
200
  * @summary Link Bank Transaction
200
- * @param {string} code Code of the bank transcation to link
201
- * @param {LinkBankTransactionRequestDto} linkBankTransactionRequestDto
201
+ * @param {string} code Code of the bank transaction to link
202
202
  * @param {string} [authorization] Bearer Token
203
203
  * @param {*} [options] Override http request option.
204
204
  * @throws {RequiredError}
205
205
  */
206
- linkBankTransaction: function (code, linkBankTransactionRequestDto, authorization, options) {
206
+ linkBankTransaction: function (code, authorization, options) {
207
207
  if (options === void 0) { options = {}; }
208
208
  return __awaiter(_this, void 0, void 0, function () {
209
209
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -212,8 +212,6 @@ var BankTransactionApiAxiosParamCreator = function (configuration) {
212
212
  case 0:
213
213
  // verify required parameter 'code' is not null or undefined
214
214
  (0, common_1.assertParamExists)('linkBankTransaction', 'code', code);
215
- // verify required parameter 'linkBankTransactionRequestDto' is not null or undefined
216
- (0, common_1.assertParamExists)('linkBankTransaction', 'linkBankTransactionRequestDto', linkBankTransactionRequestDto);
217
215
  localVarPath = "/paymentservice/v1/tenant/bank-transactions/{code}/link"
218
216
  .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
219
217
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -234,11 +232,9 @@ var BankTransactionApiAxiosParamCreator = function (configuration) {
234
232
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
235
233
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
236
234
  }
237
- localVarHeaderParameter['Content-Type'] = 'application/json';
238
235
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
239
236
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
240
237
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
241
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(linkBankTransactionRequestDto, localVarRequestOptions, configuration);
242
238
  return [2 /*return*/, {
243
239
  url: (0, common_1.toPathString)(localVarUrlObj),
244
240
  options: localVarRequestOptions,
@@ -248,7 +244,8 @@ var BankTransactionApiAxiosParamCreator = function (configuration) {
248
244
  });
249
245
  },
250
246
  /**
251
- *
247
+ * Returns a list of bank transactions you have previously created. The bank transactions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
248
+ * @summary List bank transactions
252
249
  * @param {string} [authorization] Bearer Token
253
250
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
254
251
  * @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
@@ -256,10 +253,11 @@ var BankTransactionApiAxiosParamCreator = function (configuration) {
256
253
  * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
257
254
  * @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.
258
255
  * @param {string} [expand] Expand the response with additional entities
256
+ * @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.
259
257
  * @param {*} [options] Override http request option.
260
258
  * @throws {RequiredError}
261
259
  */
262
- listBankTransactions: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
260
+ listBankTransactions: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
263
261
  if (options === void 0) { options = {}; }
264
262
  return __awaiter(_this, void 0, void 0, function () {
265
263
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -300,6 +298,57 @@ var BankTransactionApiAxiosParamCreator = function (configuration) {
300
298
  if (expand !== undefined) {
301
299
  localVarQueryParameter['expand'] = expand;
302
300
  }
301
+ if (filters !== undefined) {
302
+ localVarQueryParameter['filters'] = filters;
303
+ }
304
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
305
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
306
+ }
307
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
308
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
309
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
310
+ return [2 /*return*/, {
311
+ url: (0, common_1.toPathString)(localVarUrlObj),
312
+ options: localVarRequestOptions,
313
+ }];
314
+ }
315
+ });
316
+ });
317
+ },
318
+ /**
319
+ * Unlinks an already linked bank transaction
320
+ * @summary Unlink Bank Transaction
321
+ * @param {string} code Code of the bank transaction to unlink
322
+ * @param {string} [authorization] Bearer Token
323
+ * @param {*} [options] Override http request option.
324
+ * @throws {RequiredError}
325
+ */
326
+ unlinkBankTransaction: function (code, authorization, options) {
327
+ if (options === void 0) { options = {}; }
328
+ return __awaiter(_this, void 0, void 0, function () {
329
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
330
+ return __generator(this, function (_a) {
331
+ switch (_a.label) {
332
+ case 0:
333
+ // verify required parameter 'code' is not null or undefined
334
+ (0, common_1.assertParamExists)('unlinkBankTransaction', 'code', code);
335
+ localVarPath = "/paymentservice/v1/tenant/bank-transactions/{code}/unlink"
336
+ .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
337
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
338
+ if (configuration) {
339
+ baseOptions = configuration.baseOptions;
340
+ baseAccessToken = configuration.accessToken;
341
+ }
342
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
343
+ localVarHeaderParameter = {};
344
+ localVarQueryParameter = {};
345
+ // authentication bearer required
346
+ // http bearer authentication required
347
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
348
+ case 1:
349
+ // authentication bearer required
350
+ // http bearer authentication required
351
+ _a.sent();
303
352
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
304
353
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
305
354
  }
@@ -325,7 +374,8 @@ var BankTransactionApiFp = function (configuration) {
325
374
  var localVarAxiosParamCreator = (0, exports.BankTransactionApiAxiosParamCreator)(configuration);
326
375
  return {
327
376
  /**
328
- *
377
+ * Retrieves the details of the Bank Transaction that was previously created. Supply the unique Bank Transaction code that was returned when you created it and Emil Api will return the corresponding Bank Transaction information.
378
+ * @summary Retrieve the Bank Transaction
329
379
  * @param {string} code
330
380
  * @param {string} [authorization] Bearer Token
331
381
  * @param {string} [expand] Expand the response with additional entities
@@ -347,7 +397,7 @@ var BankTransactionApiFp = function (configuration) {
347
397
  },
348
398
  /**
349
399
  * Import bank transactions from a swift MT940 file
350
- * @summary Create the Bank Transactions
400
+ * @summary Create the bank transactions
351
401
  * @param {string} [authorization] Bearer Token
352
402
  * @param {any} [file]
353
403
  * @param {*} [options] Override http request option.
@@ -369,18 +419,17 @@ var BankTransactionApiFp = function (configuration) {
369
419
  /**
370
420
  * Links a bank transaction with an invoice
371
421
  * @summary Link Bank Transaction
372
- * @param {string} code Code of the bank transcation to link
373
- * @param {LinkBankTransactionRequestDto} linkBankTransactionRequestDto
422
+ * @param {string} code Code of the bank transaction to link
374
423
  * @param {string} [authorization] Bearer Token
375
424
  * @param {*} [options] Override http request option.
376
425
  * @throws {RequiredError}
377
426
  */
378
- linkBankTransaction: function (code, linkBankTransactionRequestDto, authorization, options) {
427
+ linkBankTransaction: function (code, authorization, options) {
379
428
  return __awaiter(this, void 0, void 0, function () {
380
429
  var localVarAxiosArgs;
381
430
  return __generator(this, function (_a) {
382
431
  switch (_a.label) {
383
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.linkBankTransaction(code, linkBankTransactionRequestDto, authorization, options)];
432
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.linkBankTransaction(code, authorization, options)];
384
433
  case 1:
385
434
  localVarAxiosArgs = _a.sent();
386
435
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -389,7 +438,8 @@ var BankTransactionApiFp = function (configuration) {
389
438
  });
390
439
  },
391
440
  /**
392
- *
441
+ * Returns a list of bank transactions you have previously created. The bank transactions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
442
+ * @summary List bank transactions
393
443
  * @param {string} [authorization] Bearer Token
394
444
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
395
445
  * @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
@@ -397,15 +447,37 @@ var BankTransactionApiFp = function (configuration) {
397
447
  * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
398
448
  * @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.
399
449
  * @param {string} [expand] Expand the response with additional entities
450
+ * @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.
451
+ * @param {*} [options] Override http request option.
452
+ * @throws {RequiredError}
453
+ */
454
+ listBankTransactions: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
455
+ return __awaiter(this, void 0, void 0, function () {
456
+ var localVarAxiosArgs;
457
+ return __generator(this, function (_a) {
458
+ switch (_a.label) {
459
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.listBankTransactions(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
460
+ case 1:
461
+ localVarAxiosArgs = _a.sent();
462
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
463
+ }
464
+ });
465
+ });
466
+ },
467
+ /**
468
+ * Unlinks an already linked bank transaction
469
+ * @summary Unlink Bank Transaction
470
+ * @param {string} code Code of the bank transaction to unlink
471
+ * @param {string} [authorization] Bearer Token
400
472
  * @param {*} [options] Override http request option.
401
473
  * @throws {RequiredError}
402
474
  */
403
- listBankTransactions: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
475
+ unlinkBankTransaction: function (code, authorization, options) {
404
476
  return __awaiter(this, void 0, void 0, function () {
405
477
  var localVarAxiosArgs;
406
478
  return __generator(this, function (_a) {
407
479
  switch (_a.label) {
408
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.listBankTransactions(authorization, pageSize, pageToken, filter, search, order, expand, options)];
480
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.unlinkBankTransaction(code, authorization, options)];
409
481
  case 1:
410
482
  localVarAxiosArgs = _a.sent();
411
483
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -424,7 +496,8 @@ var BankTransactionApiFactory = function (configuration, basePath, axios) {
424
496
  var localVarFp = (0, exports.BankTransactionApiFp)(configuration);
425
497
  return {
426
498
  /**
427
- *
499
+ * Retrieves the details of the Bank Transaction that was previously created. Supply the unique Bank Transaction code that was returned when you created it and Emil Api will return the corresponding Bank Transaction information.
500
+ * @summary Retrieve the Bank Transaction
428
501
  * @param {string} code
429
502
  * @param {string} [authorization] Bearer Token
430
503
  * @param {string} [expand] Expand the response with additional entities
@@ -436,7 +509,7 @@ var BankTransactionApiFactory = function (configuration, basePath, axios) {
436
509
  },
437
510
  /**
438
511
  * Import bank transactions from a swift MT940 file
439
- * @summary Create the Bank Transactions
512
+ * @summary Create the bank transactions
440
513
  * @param {string} [authorization] Bearer Token
441
514
  * @param {any} [file]
442
515
  * @param {*} [options] Override http request option.
@@ -448,17 +521,17 @@ var BankTransactionApiFactory = function (configuration, basePath, axios) {
448
521
  /**
449
522
  * Links a bank transaction with an invoice
450
523
  * @summary Link Bank Transaction
451
- * @param {string} code Code of the bank transcation to link
452
- * @param {LinkBankTransactionRequestDto} linkBankTransactionRequestDto
524
+ * @param {string} code Code of the bank transaction to link
453
525
  * @param {string} [authorization] Bearer Token
454
526
  * @param {*} [options] Override http request option.
455
527
  * @throws {RequiredError}
456
528
  */
457
- linkBankTransaction: function (code, linkBankTransactionRequestDto, authorization, options) {
458
- return localVarFp.linkBankTransaction(code, linkBankTransactionRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
529
+ linkBankTransaction: function (code, authorization, options) {
530
+ return localVarFp.linkBankTransaction(code, authorization, options).then(function (request) { return request(axios, basePath); });
459
531
  },
460
532
  /**
461
- *
533
+ * Returns a list of bank transactions you have previously created. The bank transactions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
534
+ * @summary List bank transactions
462
535
  * @param {string} [authorization] Bearer Token
463
536
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
464
537
  * @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
@@ -466,11 +539,23 @@ var BankTransactionApiFactory = function (configuration, basePath, axios) {
466
539
  * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
467
540
  * @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.
468
541
  * @param {string} [expand] Expand the response with additional entities
542
+ * @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.
543
+ * @param {*} [options] Override http request option.
544
+ * @throws {RequiredError}
545
+ */
546
+ listBankTransactions: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
547
+ return localVarFp.listBankTransactions(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
548
+ },
549
+ /**
550
+ * Unlinks an already linked bank transaction
551
+ * @summary Unlink Bank Transaction
552
+ * @param {string} code Code of the bank transaction to unlink
553
+ * @param {string} [authorization] Bearer Token
469
554
  * @param {*} [options] Override http request option.
470
555
  * @throws {RequiredError}
471
556
  */
472
- listBankTransactions: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
473
- return localVarFp.listBankTransactions(authorization, pageSize, pageToken, filter, search, order, expand, options).then(function (request) { return request(axios, basePath); });
557
+ unlinkBankTransaction: function (code, authorization, options) {
558
+ return localVarFp.unlinkBankTransaction(code, authorization, options).then(function (request) { return request(axios, basePath); });
474
559
  },
475
560
  };
476
561
  };
@@ -487,7 +572,8 @@ var BankTransactionApi = /** @class */ (function (_super) {
487
572
  return _super !== null && _super.apply(this, arguments) || this;
488
573
  }
489
574
  /**
490
- *
575
+ * Retrieves the details of the Bank Transaction that was previously created. Supply the unique Bank Transaction code that was returned when you created it and Emil Api will return the corresponding Bank Transaction information.
576
+ * @summary Retrieve the Bank Transaction
491
577
  * @param {BankTransactionApiGetBankTransactionRequest} requestParameters Request parameters.
492
578
  * @param {*} [options] Override http request option.
493
579
  * @throws {RequiredError}
@@ -499,7 +585,7 @@ var BankTransactionApi = /** @class */ (function (_super) {
499
585
  };
500
586
  /**
501
587
  * Import bank transactions from a swift MT940 file
502
- * @summary Create the Bank Transactions
588
+ * @summary Create the bank transactions
503
589
  * @param {BankTransactionApiImportBankTransactionsRequest} requestParameters Request parameters.
504
590
  * @param {*} [options] Override http request option.
505
591
  * @throws {RequiredError}
@@ -520,10 +606,11 @@ var BankTransactionApi = /** @class */ (function (_super) {
520
606
  */
521
607
  BankTransactionApi.prototype.linkBankTransaction = function (requestParameters, options) {
522
608
  var _this = this;
523
- return (0, exports.BankTransactionApiFp)(this.configuration).linkBankTransaction(requestParameters.code, requestParameters.linkBankTransactionRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
609
+ return (0, exports.BankTransactionApiFp)(this.configuration).linkBankTransaction(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
524
610
  };
525
611
  /**
526
- *
612
+ * Returns a list of bank transactions you have previously created. The bank transactions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
613
+ * @summary List bank transactions
527
614
  * @param {BankTransactionApiListBankTransactionsRequest} requestParameters Request parameters.
528
615
  * @param {*} [options] Override http request option.
529
616
  * @throws {RequiredError}
@@ -532,7 +619,19 @@ var BankTransactionApi = /** @class */ (function (_super) {
532
619
  BankTransactionApi.prototype.listBankTransactions = function (requestParameters, options) {
533
620
  var _this = this;
534
621
  if (requestParameters === void 0) { requestParameters = {}; }
535
- return (0, exports.BankTransactionApiFp)(this.configuration).listBankTransactions(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
622
+ return (0, exports.BankTransactionApiFp)(this.configuration).listBankTransactions(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); });
623
+ };
624
+ /**
625
+ * Unlinks an already linked bank transaction
626
+ * @summary Unlink Bank Transaction
627
+ * @param {BankTransactionApiUnlinkBankTransactionRequest} requestParameters Request parameters.
628
+ * @param {*} [options] Override http request option.
629
+ * @throws {RequiredError}
630
+ * @memberof BankTransactionApi
631
+ */
632
+ BankTransactionApi.prototype.unlinkBankTransaction = function (requestParameters, options) {
633
+ var _this = this;
634
+ return (0, exports.BankTransactionApiFp)(this.configuration).unlinkBankTransaction(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
536
635
  };
537
636
  return BankTransactionApi;
538
637
  }(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
@@ -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
@@ -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
@@ -12,10 +12,6 @@
12
12
  import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
13
13
  import { Configuration } from '../configuration';
14
14
  import { RequestArgs, BaseAPI } from '../base';
15
- import { CreatePaymentMethodResponseClass } from '../models';
16
- import { CreatePspPaymentMethodRequestDto } from '../models';
17
- import { GetPaymentMethodResponseClass } from '../models';
18
- import { ListPaymentMethodsResponseClass } from '../models';
19
15
  /**
20
16
  * PaymentMethodsApi - axios parameter creator
21
17
  * @export
@@ -24,12 +20,12 @@ export declare const PaymentMethodsApiAxiosParamCreator: (configuration?: Config
24
20
  /**
25
21
  * This will create payment method in the database as well as in the PSP. The newly created payment method will be set as default payment method will be used by the customer to pay or receive a refund.
26
22
  * @summary Create the payment-method
27
- * @param {CreatePspPaymentMethodRequestDto} createPspPaymentMethodRequestDto
23
+ * @param {object} body
28
24
  * @param {string} [authorization] Bearer Token
29
25
  * @param {*} [options] Override http request option.
30
26
  * @throws {RequiredError}
31
27
  */
32
- createPaymentMethod: (createPspPaymentMethodRequestDto: CreatePspPaymentMethodRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
28
+ createPaymentMethod: (body: object, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
33
29
  /**
34
30
  * Permanently deletes a payment method. Supply the unique payment method id that was returned when you created the payment method and this will delete it. It will also delete it on the corresponding payment service provider.
35
31
  * @summary Delete a payment method
@@ -43,13 +39,13 @@ export declare const PaymentMethodsApiAxiosParamCreator: (configuration?: Config
43
39
  * Retrieves the details of a payment method that was previously created. Supply the unique payment method code that was returned when you created the payment method and Emil Api will return the corresponding payment method information.
44
40
  * @summary Retrieve a payment method
45
41
  * @param {string} code Unique identifier for the object.
42
+ * @param {string} expand Fields to expand response by
43
+ * @param {string} expand2 Fields to expand response by
46
44
  * @param {string} [authorization] Bearer Token
47
- * @param {string} [expand] Fields to expand response by
48
- * @param {string} [expand2] Fields to expand response by
49
45
  * @param {*} [options] Override http request option.
50
46
  * @throws {RequiredError}
51
47
  */
52
- getPaymentMethod: (code: string, authorization?: string, expand?: string, expand2?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
48
+ getPaymentMethod: (code: string, expand: string, expand2: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
53
49
  /**
54
50
  * Returns a list of payment methods you’ve previously created. The payment methods are returned in sorted order, with the oldest payment appearing first. For more information about pagination, read the Pagination documentation.
55
51
  * @summary List payment methods
@@ -60,10 +56,11 @@ export declare const PaymentMethodsApiAxiosParamCreator: (configuration?: Config
60
56
  * @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.
61
57
  * @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.
62
58
  * @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.
59
+ * @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.
63
60
  * @param {*} [options] Override http request option.
64
61
  * @throws {RequiredError}
65
62
  */
66
- listPaymentMethods: (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
63
+ listPaymentMethods: (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
67
64
  };
68
65
  /**
69
66
  * PaymentMethodsApi - functional programming interface
@@ -73,12 +70,12 @@ export declare const PaymentMethodsApiFp: (configuration?: Configuration) => {
73
70
  /**
74
71
  * This will create payment method in the database as well as in the PSP. The newly created payment method will be set as default payment method will be used by the customer to pay or receive a refund.
75
72
  * @summary Create the payment-method
76
- * @param {CreatePspPaymentMethodRequestDto} createPspPaymentMethodRequestDto
73
+ * @param {object} body
77
74
  * @param {string} [authorization] Bearer Token
78
75
  * @param {*} [options] Override http request option.
79
76
  * @throws {RequiredError}
80
77
  */
81
- createPaymentMethod(createPspPaymentMethodRequestDto: CreatePspPaymentMethodRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreatePaymentMethodResponseClass>>;
78
+ createPaymentMethod(body: object, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
82
79
  /**
83
80
  * Permanently deletes a payment method. Supply the unique payment method id that was returned when you created the payment method and this will delete it. It will also delete it on the corresponding payment service provider.
84
81
  * @summary Delete a payment method
@@ -92,13 +89,13 @@ export declare const PaymentMethodsApiFp: (configuration?: Configuration) => {
92
89
  * Retrieves the details of a payment method that was previously created. Supply the unique payment method code that was returned when you created the payment method and Emil Api will return the corresponding payment method information.
93
90
  * @summary Retrieve a payment method
94
91
  * @param {string} code Unique identifier for the object.
92
+ * @param {string} expand Fields to expand response by
93
+ * @param {string} expand2 Fields to expand response by
95
94
  * @param {string} [authorization] Bearer Token
96
- * @param {string} [expand] Fields to expand response by
97
- * @param {string} [expand2] Fields to expand response by
98
95
  * @param {*} [options] Override http request option.
99
96
  * @throws {RequiredError}
100
97
  */
101
- getPaymentMethod(code: string, authorization?: string, expand?: string, expand2?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetPaymentMethodResponseClass>>;
98
+ getPaymentMethod(code: string, expand: string, expand2: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
102
99
  /**
103
100
  * Returns a list of payment methods you’ve previously created. The payment methods are returned in sorted order, with the oldest payment appearing first. For more information about pagination, read the Pagination documentation.
104
101
  * @summary List payment methods
@@ -109,10 +106,11 @@ export declare const PaymentMethodsApiFp: (configuration?: Configuration) => {
109
106
  * @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.
110
107
  * @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.
111
108
  * @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.
109
+ * @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.
112
110
  * @param {*} [options] Override http request option.
113
111
  * @throws {RequiredError}
114
112
  */
115
- listPaymentMethods(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPaymentMethodsResponseClass>>;
113
+ listPaymentMethods(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>>;
116
114
  };
117
115
  /**
118
116
  * PaymentMethodsApi - factory interface
@@ -122,12 +120,12 @@ export declare const PaymentMethodsApiFactory: (configuration?: Configuration, b
122
120
  /**
123
121
  * This will create payment method in the database as well as in the PSP. The newly created payment method will be set as default payment method will be used by the customer to pay or receive a refund.
124
122
  * @summary Create the payment-method
125
- * @param {CreatePspPaymentMethodRequestDto} createPspPaymentMethodRequestDto
123
+ * @param {object} body
126
124
  * @param {string} [authorization] Bearer Token
127
125
  * @param {*} [options] Override http request option.
128
126
  * @throws {RequiredError}
129
127
  */
130
- createPaymentMethod(createPspPaymentMethodRequestDto: CreatePspPaymentMethodRequestDto, authorization?: string, options?: any): AxiosPromise<CreatePaymentMethodResponseClass>;
128
+ createPaymentMethod(body: object, authorization?: string, options?: any): AxiosPromise<void>;
131
129
  /**
132
130
  * Permanently deletes a payment method. Supply the unique payment method id that was returned when you created the payment method and this will delete it. It will also delete it on the corresponding payment service provider.
133
131
  * @summary Delete a payment method
@@ -141,13 +139,13 @@ export declare const PaymentMethodsApiFactory: (configuration?: Configuration, b
141
139
  * Retrieves the details of a payment method that was previously created. Supply the unique payment method code that was returned when you created the payment method and Emil Api will return the corresponding payment method information.
142
140
  * @summary Retrieve a payment method
143
141
  * @param {string} code Unique identifier for the object.
142
+ * @param {string} expand Fields to expand response by
143
+ * @param {string} expand2 Fields to expand response by
144
144
  * @param {string} [authorization] Bearer Token
145
- * @param {string} [expand] Fields to expand response by
146
- * @param {string} [expand2] Fields to expand response by
147
145
  * @param {*} [options] Override http request option.
148
146
  * @throws {RequiredError}
149
147
  */
150
- getPaymentMethod(code: string, authorization?: string, expand?: string, expand2?: string, options?: any): AxiosPromise<GetPaymentMethodResponseClass>;
148
+ getPaymentMethod(code: string, expand: string, expand2: string, authorization?: string, options?: any): AxiosPromise<void>;
151
149
  /**
152
150
  * Returns a list of payment methods you’ve previously created. The payment methods are returned in sorted order, with the oldest payment appearing first. For more information about pagination, read the Pagination documentation.
153
151
  * @summary List payment methods
@@ -158,10 +156,11 @@ export declare const PaymentMethodsApiFactory: (configuration?: Configuration, b
158
156
  * @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.
159
157
  * @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.
160
158
  * @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.
159
+ * @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.
161
160
  * @param {*} [options] Override http request option.
162
161
  * @throws {RequiredError}
163
162
  */
164
- listPaymentMethods(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: any): AxiosPromise<ListPaymentMethodsResponseClass>;
163
+ listPaymentMethods(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: any): AxiosPromise<void>;
165
164
  };
166
165
  /**
167
166
  * Request parameters for createPaymentMethod operation in PaymentMethodsApi.
@@ -171,10 +170,10 @@ export declare const PaymentMethodsApiFactory: (configuration?: Configuration, b
171
170
  export interface PaymentMethodsApiCreatePaymentMethodRequest {
172
171
  /**
173
172
  *
174
- * @type {CreatePspPaymentMethodRequestDto}
173
+ * @type {object}
175
174
  * @memberof PaymentMethodsApiCreatePaymentMethod
176
175
  */
177
- readonly createPspPaymentMethodRequestDto: CreatePspPaymentMethodRequestDto;
176
+ readonly body: object;
178
177
  /**
179
178
  * Bearer Token
180
179
  * @type {string}
@@ -214,23 +213,23 @@ export interface PaymentMethodsApiGetPaymentMethodRequest {
214
213
  */
215
214
  readonly code: string;
216
215
  /**
217
- * Bearer Token
216
+ * Fields to expand response by
218
217
  * @type {string}
219
218
  * @memberof PaymentMethodsApiGetPaymentMethod
220
219
  */
221
- readonly authorization?: string;
220
+ readonly expand: string;
222
221
  /**
223
222
  * Fields to expand response by
224
223
  * @type {string}
225
224
  * @memberof PaymentMethodsApiGetPaymentMethod
226
225
  */
227
- readonly expand?: string;
226
+ readonly expand2: string;
228
227
  /**
229
- * Fields to expand response by
228
+ * Bearer Token
230
229
  * @type {string}
231
230
  * @memberof PaymentMethodsApiGetPaymentMethod
232
231
  */
233
- readonly expand2?: string;
232
+ readonly authorization?: string;
234
233
  }
235
234
  /**
236
235
  * Request parameters for listPaymentMethods operation in PaymentMethodsApi.
@@ -280,6 +279,12 @@ export interface PaymentMethodsApiListPaymentMethodsRequest {
280
279
  * @memberof PaymentMethodsApiListPaymentMethods
281
280
  */
282
281
  readonly expand?: any;
282
+ /**
283
+ * 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.
284
+ * @type {any}
285
+ * @memberof PaymentMethodsApiListPaymentMethods
286
+ */
287
+ readonly filters?: any;
283
288
  }
284
289
  /**
285
290
  * PaymentMethodsApi - object-oriented interface
@@ -296,7 +301,7 @@ export declare class PaymentMethodsApi extends BaseAPI {
296
301
  * @throws {RequiredError}
297
302
  * @memberof PaymentMethodsApi
298
303
  */
299
- createPaymentMethod(requestParameters: PaymentMethodsApiCreatePaymentMethodRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePaymentMethodResponseClass, any>>;
304
+ createPaymentMethod(requestParameters: PaymentMethodsApiCreatePaymentMethodRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
300
305
  /**
301
306
  * Permanently deletes a payment method. Supply the unique payment method id that was returned when you created the payment method and this will delete it. It will also delete it on the corresponding payment service provider.
302
307
  * @summary Delete a payment method
@@ -314,7 +319,7 @@ export declare class PaymentMethodsApi extends BaseAPI {
314
319
  * @throws {RequiredError}
315
320
  * @memberof PaymentMethodsApi
316
321
  */
317
- getPaymentMethod(requestParameters: PaymentMethodsApiGetPaymentMethodRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPaymentMethodResponseClass, any>>;
322
+ getPaymentMethod(requestParameters: PaymentMethodsApiGetPaymentMethodRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
318
323
  /**
319
324
  * Returns a list of payment methods you’ve previously created. The payment methods are returned in sorted order, with the oldest payment appearing first. For more information about pagination, read the Pagination documentation.
320
325
  * @summary List payment methods
@@ -323,5 +328,5 @@ export declare class PaymentMethodsApi extends BaseAPI {
323
328
  * @throws {RequiredError}
324
329
  * @memberof PaymentMethodsApi
325
330
  */
326
- listPaymentMethods(requestParameters?: PaymentMethodsApiListPaymentMethodsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPaymentMethodsResponseClass, any>>;
331
+ listPaymentMethods(requestParameters?: PaymentMethodsApiListPaymentMethodsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
327
332
  }