@emilgroup/payment-sdk 1.16.1-beta.6 → 1.16.1-beta.61

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 (101) hide show
  1. package/.openapi-generator/FILES +12 -0
  2. package/README.md +2 -2
  3. package/api/bank-accounts-api.ts +16 -16
  4. package/api/bank-orders-api.ts +16 -16
  5. package/api/bank-transaction-api.ts +12 -12
  6. package/api/billing-addresses-api.ts +12 -12
  7. package/api/credit-allocation-api.ts +12 -12
  8. package/api/exceeding-credits-api.ts +12 -12
  9. package/api/ibanvalidator-api.ts +165 -0
  10. package/api/payment-methods-api.ts +12 -12
  11. package/api/payment-receipts-api.ts +676 -0
  12. package/api/payment-reminders-api.ts +12 -12
  13. package/api/payment-requests-api.ts +20 -20
  14. package/api/payments-api.ts +12 -12
  15. package/api/payout-methods-api.ts +138 -20
  16. package/api/refunds-api.ts +12 -12
  17. package/api/tenant-bank-account-api.ts +12 -12
  18. package/api.ts +4 -0
  19. package/dist/api/bank-accounts-api.d.ts +16 -16
  20. package/dist/api/bank-accounts-api.js +13 -13
  21. package/dist/api/bank-orders-api.d.ts +16 -16
  22. package/dist/api/bank-orders-api.js +14 -14
  23. package/dist/api/bank-transaction-api.d.ts +12 -12
  24. package/dist/api/bank-transaction-api.js +10 -10
  25. package/dist/api/billing-addresses-api.d.ts +12 -12
  26. package/dist/api/billing-addresses-api.js +10 -10
  27. package/dist/api/credit-allocation-api.d.ts +12 -12
  28. package/dist/api/credit-allocation-api.js +10 -10
  29. package/dist/api/exceeding-credits-api.d.ts +12 -12
  30. package/dist/api/exceeding-credits-api.js +10 -10
  31. package/dist/api/ibanvalidator-api.d.ts +97 -0
  32. package/dist/api/ibanvalidator-api.js +224 -0
  33. package/dist/api/payment-methods-api.d.ts +12 -12
  34. package/dist/api/payment-methods-api.js +10 -10
  35. package/dist/api/payment-receipts-api.d.ts +383 -0
  36. package/dist/api/payment-receipts-api.js +637 -0
  37. package/dist/api/payment-reminders-api.d.ts +12 -12
  38. package/dist/api/payment-reminders-api.js +10 -10
  39. package/dist/api/payment-requests-api.d.ts +20 -20
  40. package/dist/api/payment-requests-api.js +15 -15
  41. package/dist/api/payments-api.d.ts +12 -12
  42. package/dist/api/payments-api.js +10 -10
  43. package/dist/api/payout-methods-api.d.ts +85 -20
  44. package/dist/api/payout-methods-api.js +115 -16
  45. package/dist/api/refunds-api.d.ts +12 -12
  46. package/dist/api/refunds-api.js +10 -10
  47. package/dist/api/tenant-bank-account-api.d.ts +12 -12
  48. package/dist/api/tenant-bank-account-api.js +10 -10
  49. package/dist/api.d.ts +2 -0
  50. package/dist/api.js +2 -0
  51. package/dist/models/bank-account-class-without-expand-properties.d.ts +6 -0
  52. package/dist/models/bank-account-class.d.ts +6 -0
  53. package/dist/models/bank-data-class.d.ts +36 -0
  54. package/dist/models/bank-data-class.js +15 -0
  55. package/dist/models/create-payment-receipt-request-dto.d.ts +65 -0
  56. package/dist/models/create-payment-receipt-request-dto.js +20 -0
  57. package/dist/models/create-payment-receipt-response-class.d.ts +25 -0
  58. package/dist/models/create-payment-receipt-response-class.js +15 -0
  59. package/dist/models/create-payment-request-request-dto.d.ts +48 -11
  60. package/dist/models/create-payment-request-request-dto.js +8 -4
  61. package/dist/models/create-payout-method-by-bank-account-request-dto.d.ts +36 -0
  62. package/dist/models/create-payout-method-by-bank-account-request-dto.js +15 -0
  63. package/dist/models/create-payout-method-request-dto.d.ts +8 -2
  64. package/dist/models/get-payment-receipt-response-class.d.ts +25 -0
  65. package/dist/models/get-payment-receipt-response-class.js +15 -0
  66. package/dist/models/index.d.ts +10 -0
  67. package/dist/models/index.js +10 -0
  68. package/dist/models/list-payment-receipts-response-class.d.ts +43 -0
  69. package/dist/models/list-payment-receipts-response-class.js +15 -0
  70. package/dist/models/payment-receipt-class.d.ts +101 -0
  71. package/dist/models/payment-receipt-class.js +20 -0
  72. package/dist/models/payment-request-class.d.ts +56 -12
  73. package/dist/models/payment-request-class.js +9 -5
  74. package/dist/models/payout-method-class.d.ts +6 -0
  75. package/dist/models/update-payment-receipt-response-class.d.ts +25 -0
  76. package/dist/models/update-payment-receipt-response-class.js +15 -0
  77. package/dist/models/update-payment-request-request-dto.d.ts +2 -2
  78. package/dist/models/update-payment-request-request-dto.js +1 -1
  79. package/dist/models/validate-iban-request-dto.d.ts +24 -0
  80. package/dist/models/validate-iban-request-dto.js +15 -0
  81. package/dist/models/validate-iban-response-class.d.ts +31 -0
  82. package/dist/models/validate-iban-response-class.js +15 -0
  83. package/models/bank-account-class-without-expand-properties.ts +6 -0
  84. package/models/bank-account-class.ts +6 -0
  85. package/models/bank-data-class.ts +42 -0
  86. package/models/create-payment-receipt-request-dto.ts +74 -0
  87. package/models/create-payment-receipt-response-class.ts +31 -0
  88. package/models/create-payment-request-request-dto.ts +47 -11
  89. package/models/create-payout-method-by-bank-account-request-dto.ts +42 -0
  90. package/models/create-payout-method-request-dto.ts +8 -2
  91. package/models/get-payment-receipt-response-class.ts +31 -0
  92. package/models/index.ts +10 -0
  93. package/models/list-payment-receipts-response-class.ts +49 -0
  94. package/models/payment-receipt-class.ts +110 -0
  95. package/models/payment-request-class.ts +55 -12
  96. package/models/payout-method-class.ts +6 -0
  97. package/models/update-payment-receipt-response-class.ts +31 -0
  98. package/models/update-payment-request-request-dto.ts +2 -2
  99. package/models/validate-iban-request-dto.ts +30 -0
  100. package/models/validate-iban-response-class.ts +37 -0
  101. package/package.json +2 -2
@@ -182,16 +182,16 @@ export const PaymentRemindersApiAxiosParamCreator = function (configuration?: Co
182
182
  };
183
183
  },
184
184
  /**
185
- * Returns a list of payment reminders you have previously created. The payment reminders are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.reminders.view\"
185
+ * Returns a list of payment reminders you have previously created. The payment reminders are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.reminders.view\"
186
186
  * @summary List payment reminders
187
187
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
188
188
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
189
189
  * @param {string} [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.
190
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, id, policyCode, nextReminderDate</i>
190
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, id, policyCode, nextReminderDate</i>
191
191
  * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
192
192
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, updatedAt</i>
193
193
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
194
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, id, policyCode, nextReminderDate</i>
194
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, id, policyCode, nextReminderDate</i>
195
195
  * @param {*} [options] Override http request option.
196
196
  * @throws {RequiredError}
197
197
  */
@@ -305,16 +305,16 @@ export const PaymentRemindersApiFp = function(configuration?: Configuration) {
305
305
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
306
306
  },
307
307
  /**
308
- * Returns a list of payment reminders you have previously created. The payment reminders are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.reminders.view\"
308
+ * Returns a list of payment reminders you have previously created. The payment reminders are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.reminders.view\"
309
309
  * @summary List payment reminders
310
310
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
311
311
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
312
312
  * @param {string} [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.
313
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, id, policyCode, nextReminderDate</i>
313
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, id, policyCode, nextReminderDate</i>
314
314
  * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
315
315
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, updatedAt</i>
316
316
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
317
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, id, policyCode, nextReminderDate</i>
317
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, id, policyCode, nextReminderDate</i>
318
318
  * @param {*} [options] Override http request option.
319
319
  * @throws {RequiredError}
320
320
  */
@@ -367,16 +367,16 @@ export const PaymentRemindersApiFactory = function (configuration?: Configuratio
367
367
  return localVarFp.getPaymentReminder(code, authorization, options).then((request) => request(axios, basePath));
368
368
  },
369
369
  /**
370
- * Returns a list of payment reminders you have previously created. The payment reminders are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.reminders.view\"
370
+ * Returns a list of payment reminders you have previously created. The payment reminders are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.reminders.view\"
371
371
  * @summary List payment reminders
372
372
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
373
373
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
374
374
  * @param {string} [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.
375
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, id, policyCode, nextReminderDate</i>
375
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, id, policyCode, nextReminderDate</i>
376
376
  * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
377
377
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, updatedAt</i>
378
378
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
379
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, id, policyCode, nextReminderDate</i>
379
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, id, policyCode, nextReminderDate</i>
380
380
  * @param {*} [options] Override http request option.
381
381
  * @throws {RequiredError}
382
382
  */
@@ -484,7 +484,7 @@ export interface PaymentRemindersApiListPaymentRemindersRequest {
484
484
  readonly pageToken?: string
485
485
 
486
486
  /**
487
- * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, id, policyCode, nextReminderDate</i>
487
+ * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, id, policyCode, nextReminderDate</i>
488
488
  * @type {string}
489
489
  * @memberof PaymentRemindersApiListPaymentReminders
490
490
  */
@@ -512,7 +512,7 @@ export interface PaymentRemindersApiListPaymentRemindersRequest {
512
512
  readonly expand?: string
513
513
 
514
514
  /**
515
- * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, id, policyCode, nextReminderDate</i>
515
+ * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, id, policyCode, nextReminderDate</i>
516
516
  * @type {string}
517
517
  * @memberof PaymentRemindersApiListPaymentReminders
518
518
  */
@@ -563,7 +563,7 @@ export class PaymentRemindersApi extends BaseAPI {
563
563
  }
564
564
 
565
565
  /**
566
- * Returns a list of payment reminders you have previously created. The payment reminders are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.reminders.view\"
566
+ * Returns a list of payment reminders you have previously created. The payment reminders are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.reminders.view\"
567
567
  * @summary List payment reminders
568
568
  * @param {PaymentRemindersApiListPaymentRemindersRequest} requestParameters Request parameters.
569
569
  * @param {*} [options] Override http request option.
@@ -188,11 +188,11 @@ export const PaymentRequestsApiAxiosParamCreator = function (configuration?: Con
188
188
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
189
189
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
190
190
  * @param {string} [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.
191
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, type, status, direction, paymentMethodPsp, paymentMethodType, createdAt</i>
192
- * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
193
- * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: createdAt</i>
194
- * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
195
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, type, status, direction, paymentMethodPsp, paymentMethodType, createdAt</i>
191
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt</i>
192
+ * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: code, paymentRequestNumber, financialEntityCode, financialEntityNumber, domainEntityCode, domainEntityNumber</i>
193
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, paymentRequestNumber, financialEntityNumber, domainEntityNumber, createdAt, status</i>
194
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: paymentReceipts<i>
195
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt</i>
196
196
  * @param {*} [options] Override http request option.
197
197
  * @throws {RequiredError}
198
198
  */
@@ -362,11 +362,11 @@ export const PaymentRequestsApiFp = function(configuration?: Configuration) {
362
362
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
363
363
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
364
364
  * @param {string} [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.
365
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, type, status, direction, paymentMethodPsp, paymentMethodType, createdAt</i>
366
- * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
367
- * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: createdAt</i>
368
- * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
369
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, type, status, direction, paymentMethodPsp, paymentMethodType, createdAt</i>
365
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt</i>
366
+ * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: code, paymentRequestNumber, financialEntityCode, financialEntityNumber, domainEntityCode, domainEntityNumber</i>
367
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, paymentRequestNumber, financialEntityNumber, domainEntityNumber, createdAt, status</i>
368
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: paymentReceipts<i>
369
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt</i>
370
370
  * @param {*} [options] Override http request option.
371
371
  * @throws {RequiredError}
372
372
  */
@@ -437,11 +437,11 @@ export const PaymentRequestsApiFactory = function (configuration?: Configuration
437
437
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
438
438
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
439
439
  * @param {string} [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.
440
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, type, status, direction, paymentMethodPsp, paymentMethodType, createdAt</i>
441
- * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
442
- * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: createdAt</i>
443
- * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
444
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, type, status, direction, paymentMethodPsp, paymentMethodType, createdAt</i>
440
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt</i>
441
+ * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: code, paymentRequestNumber, financialEntityCode, financialEntityNumber, domainEntityCode, domainEntityNumber</i>
442
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, paymentRequestNumber, financialEntityNumber, domainEntityNumber, createdAt, status</i>
443
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: paymentReceipts<i>
444
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt</i>
445
445
  * @param {*} [options] Override http request option.
446
446
  * @throws {RequiredError}
447
447
  */
@@ -561,35 +561,35 @@ export interface PaymentRequestsApiListPaymentRequestsRequest {
561
561
  readonly pageToken?: string
562
562
 
563
563
  /**
564
- * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, type, status, direction, paymentMethodPsp, paymentMethodType, createdAt</i>
564
+ * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt</i>
565
565
  * @type {string}
566
566
  * @memberof PaymentRequestsApiListPaymentRequests
567
567
  */
568
568
  readonly filter?: string
569
569
 
570
570
  /**
571
- * To search the list by any field, pass search=xxx to fetch the result.
571
+ * Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: code, paymentRequestNumber, financialEntityCode, financialEntityNumber, domainEntityCode, domainEntityNumber</i>
572
572
  * @type {string}
573
573
  * @memberof PaymentRequestsApiListPaymentRequests
574
574
  */
575
575
  readonly search?: string
576
576
 
577
577
  /**
578
- * Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: createdAt</i>
578
+ * Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, paymentRequestNumber, financialEntityNumber, domainEntityNumber, createdAt, status</i>
579
579
  * @type {string}
580
580
  * @memberof PaymentRequestsApiListPaymentRequests
581
581
  */
582
582
  readonly order?: string
583
583
 
584
584
  /**
585
- * Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
585
+ * Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: paymentReceipts<i>
586
586
  * @type {string}
587
587
  * @memberof PaymentRequestsApiListPaymentRequests
588
588
  */
589
589
  readonly expand?: string
590
590
 
591
591
  /**
592
- * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, type, status, direction, paymentMethodPsp, paymentMethodType, createdAt</i>
592
+ * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt</i>
593
593
  * @type {string}
594
594
  * @memberof PaymentRequestsApiListPaymentRequests
595
595
  */
@@ -195,16 +195,16 @@ export const PaymentsApiAxiosParamCreator = function (configuration?: Configurat
195
195
  };
196
196
  },
197
197
  /**
198
- * Returns a list of payments you have previously created. The payments are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.payments.view\"
198
+ * Returns a list of payments you have previously created. The payments are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.payments.view\"
199
199
  * @summary List payments
200
200
  * @param {string} [authorization] Bearer Token
201
201
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
202
202
  * @param {string} [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.
203
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, id, pspCustomerId, psp, type, amount, receivedDate, referenceNumber, productSlug, accountCode, partnerCode</i>
203
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, id, pspCustomerId, psp, type, amount, receivedDate, referenceNumber, productSlug, accountCode, partnerCode</i>
204
204
  * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
205
205
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, code, amount</i>
206
206
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: transactions<i>
207
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, id, pspCustomerId, psp, type, amount, receivedDate, referenceNumber, productSlug, accountCode, partnerCode</i>
207
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, id, pspCustomerId, psp, type, amount, receivedDate, referenceNumber, productSlug, accountCode, partnerCode</i>
208
208
  * @param {*} [options] Override http request option.
209
209
  * @throws {RequiredError}
210
210
  */
@@ -320,16 +320,16 @@ export const PaymentsApiFp = function(configuration?: Configuration) {
320
320
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
321
321
  },
322
322
  /**
323
- * Returns a list of payments you have previously created. The payments are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.payments.view\"
323
+ * Returns a list of payments you have previously created. The payments are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.payments.view\"
324
324
  * @summary List payments
325
325
  * @param {string} [authorization] Bearer Token
326
326
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
327
327
  * @param {string} [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.
328
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, id, pspCustomerId, psp, type, amount, receivedDate, referenceNumber, productSlug, accountCode, partnerCode</i>
328
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, id, pspCustomerId, psp, type, amount, receivedDate, referenceNumber, productSlug, accountCode, partnerCode</i>
329
329
  * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
330
330
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, code, amount</i>
331
331
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: transactions<i>
332
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, id, pspCustomerId, psp, type, amount, receivedDate, referenceNumber, productSlug, accountCode, partnerCode</i>
332
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, id, pspCustomerId, psp, type, amount, receivedDate, referenceNumber, productSlug, accountCode, partnerCode</i>
333
333
  * @param {*} [options] Override http request option.
334
334
  * @throws {RequiredError}
335
335
  */
@@ -384,16 +384,16 @@ export const PaymentsApiFactory = function (configuration?: Configuration, baseP
384
384
  return localVarFp.getPayment(code, authorization, expand, options).then((request) => request(axios, basePath));
385
385
  },
386
386
  /**
387
- * Returns a list of payments you have previously created. The payments are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.payments.view\"
387
+ * Returns a list of payments you have previously created. The payments are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.payments.view\"
388
388
  * @summary List payments
389
389
  * @param {string} [authorization] Bearer Token
390
390
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
391
391
  * @param {string} [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.
392
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, id, pspCustomerId, psp, type, amount, receivedDate, referenceNumber, productSlug, accountCode, partnerCode</i>
392
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, id, pspCustomerId, psp, type, amount, receivedDate, referenceNumber, productSlug, accountCode, partnerCode</i>
393
393
  * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
394
394
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, code, amount</i>
395
395
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: transactions<i>
396
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, id, pspCustomerId, psp, type, amount, receivedDate, referenceNumber, productSlug, accountCode, partnerCode</i>
396
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, id, pspCustomerId, psp, type, amount, receivedDate, referenceNumber, productSlug, accountCode, partnerCode</i>
397
397
  * @param {*} [options] Override http request option.
398
398
  * @throws {RequiredError}
399
399
  */
@@ -515,7 +515,7 @@ export interface PaymentsApiListPaymentsRequest {
515
515
  readonly pageToken?: string
516
516
 
517
517
  /**
518
- * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, id, pspCustomerId, psp, type, amount, receivedDate, referenceNumber, productSlug, accountCode, partnerCode</i>
518
+ * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, id, pspCustomerId, psp, type, amount, receivedDate, referenceNumber, productSlug, accountCode, partnerCode</i>
519
519
  * @type {string}
520
520
  * @memberof PaymentsApiListPayments
521
521
  */
@@ -543,7 +543,7 @@ export interface PaymentsApiListPaymentsRequest {
543
543
  readonly expand?: string
544
544
 
545
545
  /**
546
- * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, id, pspCustomerId, psp, type, amount, receivedDate, referenceNumber, productSlug, accountCode, partnerCode</i>
546
+ * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, id, pspCustomerId, psp, type, amount, receivedDate, referenceNumber, productSlug, accountCode, partnerCode</i>
547
547
  * @type {string}
548
548
  * @memberof PaymentsApiListPayments
549
549
  */
@@ -594,7 +594,7 @@ export class PaymentsApi extends BaseAPI {
594
594
  }
595
595
 
596
596
  /**
597
- * Returns a list of payments you have previously created. The payments are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.payments.view\"
597
+ * Returns a list of payments you have previously created. The payments are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.payments.view\"
598
598
  * @summary List payments
599
599
  * @param {PaymentsApiListPaymentsRequest} requestParameters Request parameters.
600
600
  * @param {*} [options] Override http request option.
@@ -21,6 +21,8 @@ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObj
21
21
  // @ts-ignore
22
22
  import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';
23
23
  // @ts-ignore
24
+ import { CreatePayoutMethodByBankAccountRequestDto } from '../models';
25
+ // @ts-ignore
24
26
  import { CreatePayoutMethodRequestDto } from '../models';
25
27
  // @ts-ignore
26
28
  import { CreatePayoutMethodResponseClass } from '../models';
@@ -126,6 +128,57 @@ export const PayoutMethodsApiAxiosParamCreator = function (configuration?: Confi
126
128
  options: localVarRequestOptions,
127
129
  };
128
130
  },
131
+ /**
132
+ * Creates a new payout method fromm existing bank account **Required Permissions** \"payment-management.payments.create\"
133
+ * @summary Create the Payout Method
134
+ * @param {string} code
135
+ * @param {CreatePayoutMethodByBankAccountRequestDto} createPayoutMethodByBankAccountRequestDto
136
+ * @param {string} [authorization] Bearer Token
137
+ * @param {*} [options] Override http request option.
138
+ * @throws {RequiredError}
139
+ */
140
+ createPayoutMethodByBankAccount: async (code: string, createPayoutMethodByBankAccountRequestDto: CreatePayoutMethodByBankAccountRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
141
+ // verify required parameter 'code' is not null or undefined
142
+ assertParamExists('createPayoutMethodByBankAccount', 'code', code)
143
+ // verify required parameter 'createPayoutMethodByBankAccountRequestDto' is not null or undefined
144
+ assertParamExists('createPayoutMethodByBankAccount', 'createPayoutMethodByBankAccountRequestDto', createPayoutMethodByBankAccountRequestDto)
145
+ const localVarPath = `/paymentservice/v1/payout-methods/bank-account/{code}`
146
+ .replace(`{${"code"}}`, encodeURIComponent(String(code)));
147
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
148
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
149
+ let baseOptions;
150
+ let baseAccessToken;
151
+ if (configuration) {
152
+ baseOptions = configuration.baseOptions;
153
+ baseAccessToken = configuration.accessToken;
154
+ }
155
+
156
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
157
+ const localVarHeaderParameter = {} as any;
158
+ const localVarQueryParameter = {} as any;
159
+
160
+ // authentication bearer required
161
+ // http bearer authentication required
162
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
163
+
164
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
165
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
166
+ }
167
+
168
+
169
+
170
+ localVarHeaderParameter['Content-Type'] = 'application/json';
171
+
172
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
173
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
174
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
175
+ localVarRequestOptions.data = serializeDataIfNeeded(createPayoutMethodByBankAccountRequestDto, localVarRequestOptions, configuration)
176
+
177
+ return {
178
+ url: toPathString(localVarUrlObj),
179
+ options: localVarRequestOptions,
180
+ };
181
+ },
129
182
  /**
130
183
  * Deletes a payout method by its code **Required Permissions** \"payment-management.payments.delete\"
131
184
  * @summary Delete the Payout Method
@@ -222,16 +275,16 @@ export const PayoutMethodsApiAxiosParamCreator = function (configuration?: Confi
222
275
  };
223
276
  },
224
277
  /**
225
- * Returns a list of Payout Methods you have previously created. The Payout Methods are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.payments.view\"
278
+ * Returns a list of Payout Methods you have previously created. The Payout Methods are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.payments.view\"
226
279
  * @summary List Payout Methods
227
280
  * @param {string} [authorization] Bearer Token
228
281
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
229
282
  * @param {string} [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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
230
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, firstName, lastName, iban, bankName, accountCode, partnerCode, isActive, billingAddressCode&lt;/i&gt;
231
- * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: firstName, lastName, iban, bankName, accountCode, partnerCode, billingAddressCode&lt;/i&gt;
232
- * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, isActive, createdAt, updatedAt&lt;/i&gt;
283
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, firstName, lastName, accountHolder, iban, bankName, accountCode, partnerCode, isActive, billingAddressCode&lt;/i&gt;
284
+ * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: firstName, lastName, accountHolder, iban, bankName, accountCode, partnerCode, billingAddressCode&lt;/i&gt;
285
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, isActive, createdAt, updatedAt, accountHolder&lt;/i&gt;
233
286
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: billingAddress&lt;i&gt;
234
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, firstName, lastName, iban, bankName, accountCode, partnerCode, isActive, billingAddressCode&lt;/i&gt;
287
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, firstName, lastName, accountHolder, iban, bankName, accountCode, partnerCode, isActive, billingAddressCode&lt;/i&gt;
235
288
  * @param {*} [options] Override http request option.
236
289
  * @throws {RequiredError}
237
290
  */
@@ -331,6 +384,19 @@ export const PayoutMethodsApiFp = function(configuration?: Configuration) {
331
384
  const localVarAxiosArgs = await localVarAxiosParamCreator.createPayoutMethod(createPayoutMethodRequestDto, authorization, options);
332
385
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
333
386
  },
387
+ /**
388
+ * Creates a new payout method fromm existing bank account **Required Permissions** \"payment-management.payments.create\"
389
+ * @summary Create the Payout Method
390
+ * @param {string} code
391
+ * @param {CreatePayoutMethodByBankAccountRequestDto} createPayoutMethodByBankAccountRequestDto
392
+ * @param {string} [authorization] Bearer Token
393
+ * @param {*} [options] Override http request option.
394
+ * @throws {RequiredError}
395
+ */
396
+ async createPayoutMethodByBankAccount(code: string, createPayoutMethodByBankAccountRequestDto: CreatePayoutMethodByBankAccountRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreatePayoutMethodResponseClass>> {
397
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createPayoutMethodByBankAccount(code, createPayoutMethodByBankAccountRequestDto, authorization, options);
398
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
399
+ },
334
400
  /**
335
401
  * Deletes a payout method by its code **Required Permissions** \"payment-management.payments.delete\"
336
402
  * @summary Delete the Payout Method
@@ -357,16 +423,16 @@ export const PayoutMethodsApiFp = function(configuration?: Configuration) {
357
423
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
358
424
  },
359
425
  /**
360
- * Returns a list of Payout Methods you have previously created. The Payout Methods are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.payments.view\"
426
+ * Returns a list of Payout Methods you have previously created. The Payout Methods are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.payments.view\"
361
427
  * @summary List Payout Methods
362
428
  * @param {string} [authorization] Bearer Token
363
429
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
364
430
  * @param {string} [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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
365
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, firstName, lastName, iban, bankName, accountCode, partnerCode, isActive, billingAddressCode&lt;/i&gt;
366
- * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: firstName, lastName, iban, bankName, accountCode, partnerCode, billingAddressCode&lt;/i&gt;
367
- * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, isActive, createdAt, updatedAt&lt;/i&gt;
431
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, firstName, lastName, accountHolder, iban, bankName, accountCode, partnerCode, isActive, billingAddressCode&lt;/i&gt;
432
+ * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: firstName, lastName, accountHolder, iban, bankName, accountCode, partnerCode, billingAddressCode&lt;/i&gt;
433
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, isActive, createdAt, updatedAt, accountHolder&lt;/i&gt;
368
434
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: billingAddress&lt;i&gt;
369
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, firstName, lastName, iban, bankName, accountCode, partnerCode, isActive, billingAddressCode&lt;/i&gt;
435
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, firstName, lastName, accountHolder, iban, bankName, accountCode, partnerCode, isActive, billingAddressCode&lt;/i&gt;
370
436
  * @param {*} [options] Override http request option.
371
437
  * @throws {RequiredError}
372
438
  */
@@ -406,6 +472,18 @@ export const PayoutMethodsApiFactory = function (configuration?: Configuration,
406
472
  createPayoutMethod(createPayoutMethodRequestDto: CreatePayoutMethodRequestDto, authorization?: string, options?: any): AxiosPromise<CreatePayoutMethodResponseClass> {
407
473
  return localVarFp.createPayoutMethod(createPayoutMethodRequestDto, authorization, options).then((request) => request(axios, basePath));
408
474
  },
475
+ /**
476
+ * Creates a new payout method fromm existing bank account **Required Permissions** \"payment-management.payments.create\"
477
+ * @summary Create the Payout Method
478
+ * @param {string} code
479
+ * @param {CreatePayoutMethodByBankAccountRequestDto} createPayoutMethodByBankAccountRequestDto
480
+ * @param {string} [authorization] Bearer Token
481
+ * @param {*} [options] Override http request option.
482
+ * @throws {RequiredError}
483
+ */
484
+ createPayoutMethodByBankAccount(code: string, createPayoutMethodByBankAccountRequestDto: CreatePayoutMethodByBankAccountRequestDto, authorization?: string, options?: any): AxiosPromise<CreatePayoutMethodResponseClass> {
485
+ return localVarFp.createPayoutMethodByBankAccount(code, createPayoutMethodByBankAccountRequestDto, authorization, options).then((request) => request(axios, basePath));
486
+ },
409
487
  /**
410
488
  * Deletes a payout method by its code **Required Permissions** \"payment-management.payments.delete\"
411
489
  * @summary Delete the Payout Method
@@ -430,16 +508,16 @@ export const PayoutMethodsApiFactory = function (configuration?: Configuration,
430
508
  return localVarFp.getPayoutMethod(code, authorization, expand, options).then((request) => request(axios, basePath));
431
509
  },
432
510
  /**
433
- * Returns a list of Payout Methods you have previously created. The Payout Methods are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.payments.view\"
511
+ * Returns a list of Payout Methods you have previously created. The Payout Methods are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.payments.view\"
434
512
  * @summary List Payout Methods
435
513
  * @param {string} [authorization] Bearer Token
436
514
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
437
515
  * @param {string} [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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
438
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, firstName, lastName, iban, bankName, accountCode, partnerCode, isActive, billingAddressCode&lt;/i&gt;
439
- * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: firstName, lastName, iban, bankName, accountCode, partnerCode, billingAddressCode&lt;/i&gt;
440
- * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, isActive, createdAt, updatedAt&lt;/i&gt;
516
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, firstName, lastName, accountHolder, iban, bankName, accountCode, partnerCode, isActive, billingAddressCode&lt;/i&gt;
517
+ * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: firstName, lastName, accountHolder, iban, bankName, accountCode, partnerCode, billingAddressCode&lt;/i&gt;
518
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, isActive, createdAt, updatedAt, accountHolder&lt;/i&gt;
441
519
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: billingAddress&lt;i&gt;
442
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, firstName, lastName, iban, bankName, accountCode, partnerCode, isActive, billingAddressCode&lt;/i&gt;
520
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, firstName, lastName, accountHolder, iban, bankName, accountCode, partnerCode, isActive, billingAddressCode&lt;/i&gt;
443
521
  * @param {*} [options] Override http request option.
444
522
  * @throws {RequiredError}
445
523
  */
@@ -491,6 +569,34 @@ export interface PayoutMethodsApiCreatePayoutMethodRequest {
491
569
  readonly authorization?: string
492
570
  }
493
571
 
572
+ /**
573
+ * Request parameters for createPayoutMethodByBankAccount operation in PayoutMethodsApi.
574
+ * @export
575
+ * @interface PayoutMethodsApiCreatePayoutMethodByBankAccountRequest
576
+ */
577
+ export interface PayoutMethodsApiCreatePayoutMethodByBankAccountRequest {
578
+ /**
579
+ *
580
+ * @type {string}
581
+ * @memberof PayoutMethodsApiCreatePayoutMethodByBankAccount
582
+ */
583
+ readonly code: string
584
+
585
+ /**
586
+ *
587
+ * @type {CreatePayoutMethodByBankAccountRequestDto}
588
+ * @memberof PayoutMethodsApiCreatePayoutMethodByBankAccount
589
+ */
590
+ readonly createPayoutMethodByBankAccountRequestDto: CreatePayoutMethodByBankAccountRequestDto
591
+
592
+ /**
593
+ * Bearer Token
594
+ * @type {string}
595
+ * @memberof PayoutMethodsApiCreatePayoutMethodByBankAccount
596
+ */
597
+ readonly authorization?: string
598
+ }
599
+
494
600
  /**
495
601
  * Request parameters for deletePayoutMethod operation in PayoutMethodsApi.
496
602
  * @export
@@ -568,21 +674,21 @@ export interface PayoutMethodsApiListPayoutMethodsRequest {
568
674
  readonly pageToken?: string
569
675
 
570
676
  /**
571
- * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, firstName, lastName, iban, bankName, accountCode, partnerCode, isActive, billingAddressCode&lt;/i&gt;
677
+ * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, firstName, lastName, accountHolder, iban, bankName, accountCode, partnerCode, isActive, billingAddressCode&lt;/i&gt;
572
678
  * @type {string}
573
679
  * @memberof PayoutMethodsApiListPayoutMethods
574
680
  */
575
681
  readonly filter?: string
576
682
 
577
683
  /**
578
- * Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: firstName, lastName, iban, bankName, accountCode, partnerCode, billingAddressCode&lt;/i&gt;
684
+ * Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: firstName, lastName, accountHolder, iban, bankName, accountCode, partnerCode, billingAddressCode&lt;/i&gt;
579
685
  * @type {string}
580
686
  * @memberof PayoutMethodsApiListPayoutMethods
581
687
  */
582
688
  readonly search?: string
583
689
 
584
690
  /**
585
- * Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, isActive, createdAt, updatedAt&lt;/i&gt;
691
+ * Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, isActive, createdAt, updatedAt, accountHolder&lt;/i&gt;
586
692
  * @type {string}
587
693
  * @memberof PayoutMethodsApiListPayoutMethods
588
694
  */
@@ -596,7 +702,7 @@ export interface PayoutMethodsApiListPayoutMethodsRequest {
596
702
  readonly expand?: string
597
703
 
598
704
  /**
599
- * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, firstName, lastName, iban, bankName, accountCode, partnerCode, isActive, billingAddressCode&lt;/i&gt;
705
+ * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, firstName, lastName, accountHolder, iban, bankName, accountCode, partnerCode, isActive, billingAddressCode&lt;/i&gt;
600
706
  * @type {string}
601
707
  * @memberof PayoutMethodsApiListPayoutMethods
602
708
  */
@@ -634,6 +740,18 @@ export class PayoutMethodsApi extends BaseAPI {
634
740
  return PayoutMethodsApiFp(this.configuration).createPayoutMethod(requestParameters.createPayoutMethodRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
635
741
  }
636
742
 
743
+ /**
744
+ * Creates a new payout method fromm existing bank account **Required Permissions** \"payment-management.payments.create\"
745
+ * @summary Create the Payout Method
746
+ * @param {PayoutMethodsApiCreatePayoutMethodByBankAccountRequest} requestParameters Request parameters.
747
+ * @param {*} [options] Override http request option.
748
+ * @throws {RequiredError}
749
+ * @memberof PayoutMethodsApi
750
+ */
751
+ public createPayoutMethodByBankAccount(requestParameters: PayoutMethodsApiCreatePayoutMethodByBankAccountRequest, options?: AxiosRequestConfig) {
752
+ return PayoutMethodsApiFp(this.configuration).createPayoutMethodByBankAccount(requestParameters.code, requestParameters.createPayoutMethodByBankAccountRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
753
+ }
754
+
637
755
  /**
638
756
  * Deletes a payout method by its code **Required Permissions** \"payment-management.payments.delete\"
639
757
  * @summary Delete the Payout Method
@@ -659,7 +777,7 @@ export class PayoutMethodsApi extends BaseAPI {
659
777
  }
660
778
 
661
779
  /**
662
- * Returns a list of Payout Methods you have previously created. The Payout Methods are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.payments.view\"
780
+ * Returns a list of Payout Methods you have previously created. The Payout Methods are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.payments.view\"
663
781
  * @summary List Payout Methods
664
782
  * @param {PayoutMethodsApiListPayoutMethodsRequest} requestParameters Request parameters.
665
783
  * @param {*} [options] Override http request option.