@emilgroup/payment-sdk-node 1.23.1-beta.4 → 1.23.1-beta.41

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 +12 -12
  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 +169 -0
  10. package/api/payment-methods-api.ts +12 -12
  11. package/api/payment-receipts-api.ts +680 -0
  12. package/api/payment-reminders-api.ts +12 -12
  13. package/api/payment-requests-api.ts +121 -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 +12 -12
  22. package/dist/api/bank-orders-api.js +10 -10
  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 +228 -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 +641 -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 +75 -20
  40. package/dist/api/payment-requests-api.js +107 -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 +54 -0
  56. package/dist/models/create-payment-receipt-request-dto.js +15 -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 +38 -9
  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 +90 -0
  71. package/dist/models/payment-receipt-class.js +15 -0
  72. package/dist/models/payment-request-class.d.ts +54 -12
  73. package/dist/models/payment-request-class.js +11 -7
  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 +4 -4
  78. package/dist/models/update-payment-request-request-dto.js +3 -3
  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 +60 -0
  87. package/models/create-payment-receipt-response-class.ts +31 -0
  88. package/models/create-payment-request-request-dto.ts +39 -9
  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 +96 -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 +4 -4
  99. package/models/validate-iban-request-dto.ts +30 -0
  100. package/models/validate-iban-response-class.ts +37 -0
  101. package/package.json +1 -1
@@ -131,16 +131,16 @@ export const CreditAllocationApiAxiosParamCreator = function (configuration?: Co
131
131
  };
132
132
  },
133
133
  /**
134
- * Returns a list of credit allocations you have previously created. The credit allocations 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\"
134
+ * Returns a list of credit allocations you have previously created. The credit allocations 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\"
135
135
  * @summary List credit allocations
136
136
  * @param {string} [authorization] Bearer Token
137
137
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
138
138
  * @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.
139
- * @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, createdAt, updatedAt</i>
139
+ * @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, createdAt, updatedAt</i>
140
140
  * @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, policyCode</i>
141
141
  * @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>
142
142
  * @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: exceedingCredits<i>
143
- * @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, createdAt, updatedAt</i>
143
+ * @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, createdAt, updatedAt</i>
144
144
  * @param {*} [options] Override http request option.
145
145
  * @throws {RequiredError}
146
146
  */
@@ -241,16 +241,16 @@ export const CreditAllocationApiFp = function(configuration?: Configuration) {
241
241
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
242
242
  },
243
243
  /**
244
- * Returns a list of credit allocations you have previously created. The credit allocations 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\"
244
+ * Returns a list of credit allocations you have previously created. The credit allocations 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\"
245
245
  * @summary List credit allocations
246
246
  * @param {string} [authorization] Bearer Token
247
247
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
248
248
  * @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.
249
- * @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, createdAt, updatedAt</i>
249
+ * @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, createdAt, updatedAt</i>
250
250
  * @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, policyCode</i>
251
251
  * @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>
252
252
  * @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: exceedingCredits<i>
253
- * @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, createdAt, updatedAt</i>
253
+ * @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, createdAt, updatedAt</i>
254
254
  * @param {*} [options] Override http request option.
255
255
  * @throws {RequiredError}
256
256
  */
@@ -291,16 +291,16 @@ export const CreditAllocationApiFactory = function (configuration?: Configuratio
291
291
  return localVarFp.getCreditAllocation(code, authorization, options).then((request) => request(axios, basePath));
292
292
  },
293
293
  /**
294
- * Returns a list of credit allocations you have previously created. The credit allocations 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\"
294
+ * Returns a list of credit allocations you have previously created. The credit allocations 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\"
295
295
  * @summary List credit allocations
296
296
  * @param {string} [authorization] Bearer Token
297
297
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
298
298
  * @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.
299
- * @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, createdAt, updatedAt</i>
299
+ * @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, createdAt, updatedAt</i>
300
300
  * @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, policyCode</i>
301
301
  * @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>
302
302
  * @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: exceedingCredits<i>
303
- * @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, createdAt, updatedAt</i>
303
+ * @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, createdAt, updatedAt</i>
304
304
  * @param {*} [options] Override http request option.
305
305
  * @throws {RequiredError}
306
306
  */
@@ -380,7 +380,7 @@ export interface CreditAllocationApiListCreditAllocationsRequest {
380
380
  readonly pageToken?: string
381
381
 
382
382
  /**
383
- * 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, createdAt, updatedAt</i>
383
+ * 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, createdAt, updatedAt</i>
384
384
  * @type {string}
385
385
  * @memberof CreditAllocationApiListCreditAllocations
386
386
  */
@@ -408,7 +408,7 @@ export interface CreditAllocationApiListCreditAllocationsRequest {
408
408
  readonly expand?: string
409
409
 
410
410
  /**
411
- * 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, createdAt, updatedAt</i>
411
+ * 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, createdAt, updatedAt</i>
412
412
  * @type {string}
413
413
  * @memberof CreditAllocationApiListCreditAllocations
414
414
  */
@@ -447,7 +447,7 @@ export class CreditAllocationApi extends BaseAPI {
447
447
  }
448
448
 
449
449
  /**
450
- * Returns a list of credit allocations you have previously created. The credit allocations 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\"
450
+ * Returns a list of credit allocations you have previously created. The credit allocations 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\"
451
451
  * @summary List credit allocations
452
452
  * @param {CreditAllocationApiListCreditAllocationsRequest} requestParameters Request parameters.
453
453
  * @param {*} [options] Override http request option.
@@ -80,16 +80,16 @@ export const ExceedingCreditsApiAxiosParamCreator = function (configuration?: Co
80
80
  };
81
81
  },
82
82
  /**
83
- * Returns a list of exceeding credits you have previously created. The exceeding credits 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\"
83
+ * Returns a list of exceeding credits you have previously created. The exceeding credits 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\"
84
84
  * @summary List exceeding credits
85
85
  * @param {string} [authorization] Bearer Token
86
86
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
87
87
  * @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.
88
- * @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, bankTransactionCode, invoiceCode</i>
88
+ * @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, bankTransactionCode, invoiceCode</i>
89
89
  * @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, policyCode, bankTransactionCode, invoiceCode</i>
90
90
  * @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>
91
91
  * @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/>
92
- * @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, bankTransactionCode, invoiceCode</i>
92
+ * @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, bankTransactionCode, invoiceCode</i>
93
93
  * @param {*} [options] Override http request option.
94
94
  * @throws {RequiredError}
95
95
  */
@@ -178,16 +178,16 @@ export const ExceedingCreditsApiFp = function(configuration?: Configuration) {
178
178
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
179
179
  },
180
180
  /**
181
- * Returns a list of exceeding credits you have previously created. The exceeding credits 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\"
181
+ * Returns a list of exceeding credits you have previously created. The exceeding credits 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\"
182
182
  * @summary List exceeding credits
183
183
  * @param {string} [authorization] Bearer Token
184
184
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
185
185
  * @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.
186
- * @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, bankTransactionCode, invoiceCode</i>
186
+ * @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, bankTransactionCode, invoiceCode</i>
187
187
  * @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, policyCode, bankTransactionCode, invoiceCode</i>
188
188
  * @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>
189
189
  * @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/>
190
- * @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, bankTransactionCode, invoiceCode</i>
190
+ * @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, bankTransactionCode, invoiceCode</i>
191
191
  * @param {*} [options] Override http request option.
192
192
  * @throws {RequiredError}
193
193
  */
@@ -217,16 +217,16 @@ export const ExceedingCreditsApiFactory = function (configuration?: Configuratio
217
217
  return localVarFp.getExceedingCredit(code, authorization, options).then((request) => request(axios, basePath));
218
218
  },
219
219
  /**
220
- * Returns a list of exceeding credits you have previously created. The exceeding credits 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\"
220
+ * Returns a list of exceeding credits you have previously created. The exceeding credits 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\"
221
221
  * @summary List exceeding credits
222
222
  * @param {string} [authorization] Bearer Token
223
223
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
224
224
  * @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.
225
- * @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, bankTransactionCode, invoiceCode</i>
225
+ * @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, bankTransactionCode, invoiceCode</i>
226
226
  * @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, policyCode, bankTransactionCode, invoiceCode</i>
227
227
  * @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>
228
228
  * @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/>
229
- * @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, bankTransactionCode, invoiceCode</i>
229
+ * @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, bankTransactionCode, invoiceCode</i>
230
230
  * @param {*} [options] Override http request option.
231
231
  * @throws {RequiredError}
232
232
  */
@@ -285,7 +285,7 @@ export interface ExceedingCreditsApiListExceedingCreditsRequest {
285
285
  readonly pageToken?: string
286
286
 
287
287
  /**
288
- * 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, bankTransactionCode, invoiceCode</i>
288
+ * 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, bankTransactionCode, invoiceCode</i>
289
289
  * @type {string}
290
290
  * @memberof ExceedingCreditsApiListExceedingCredits
291
291
  */
@@ -313,7 +313,7 @@ export interface ExceedingCreditsApiListExceedingCreditsRequest {
313
313
  readonly expand?: string
314
314
 
315
315
  /**
316
- * 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, bankTransactionCode, invoiceCode</i>
316
+ * 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, bankTransactionCode, invoiceCode</i>
317
317
  * @type {string}
318
318
  * @memberof ExceedingCreditsApiListExceedingCredits
319
319
  */
@@ -340,7 +340,7 @@ export class ExceedingCreditsApi extends BaseAPI {
340
340
  }
341
341
 
342
342
  /**
343
- * Returns a list of exceeding credits you have previously created. The exceeding credits 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\"
343
+ * Returns a list of exceeding credits you have previously created. The exceeding credits 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\"
344
344
  * @summary List exceeding credits
345
345
  * @param {ExceedingCreditsApiListExceedingCreditsRequest} requestParameters Request parameters.
346
346
  * @param {*} [options] Override http request option.
@@ -0,0 +1,169 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Emil Payment Service
5
+ * 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.
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ import globalAxios, { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
17
+ import { Configuration } from '../configuration';
18
+ // Some imports not used depending on template conditions
19
+ // @ts-ignore
20
+ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
21
+ // @ts-ignore
22
+ import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';
23
+ // @ts-ignore
24
+ import { ValidateIbanRequestDto } from '../models';
25
+ // @ts-ignore
26
+ import { ValidateIbanResponseClass } from '../models';
27
+ // URLSearchParams not necessarily used
28
+ // @ts-ignore
29
+ import { URL, URLSearchParams } from 'url';
30
+ const FormData = require('form-data');
31
+ /**
32
+ * IBANValidatorApi - axios parameter creator
33
+ * @export
34
+ */
35
+ export const IBANValidatorApiAxiosParamCreator = function (configuration?: Configuration) {
36
+ return {
37
+ /**
38
+ * Validate IBAN and return related bank data **Required Permissions** none
39
+ * @summary Validate IBAN
40
+ * @param {ValidateIbanRequestDto} validateIbanRequestDto
41
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
42
+ * @param {*} [options] Override http request option.
43
+ * @throws {RequiredError}
44
+ */
45
+ validateIban: async (validateIbanRequestDto: ValidateIbanRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
46
+ // verify required parameter 'validateIbanRequestDto' is not null or undefined
47
+ assertParamExists('validateIban', 'validateIbanRequestDto', validateIbanRequestDto)
48
+ const localVarPath = `/paymentservice/v1/iban`;
49
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
50
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
51
+ let baseOptions;
52
+ let baseAccessToken;
53
+ if (configuration) {
54
+ baseOptions = configuration.baseOptions;
55
+ baseAccessToken = configuration.accessToken;
56
+ }
57
+
58
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
59
+ const localVarHeaderParameter = {} as any;
60
+ const localVarQueryParameter = {} as any;
61
+
62
+ // authentication bearer required
63
+ // http bearer authentication required
64
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
65
+
66
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
67
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
68
+ }
69
+
70
+
71
+
72
+ localVarHeaderParameter['Content-Type'] = 'application/json';
73
+
74
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
75
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
76
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
77
+ localVarRequestOptions.data = serializeDataIfNeeded(validateIbanRequestDto, localVarRequestOptions, configuration)
78
+
79
+ return {
80
+ url: toPathString(localVarUrlObj),
81
+ options: localVarRequestOptions,
82
+ };
83
+ },
84
+ }
85
+ };
86
+
87
+ /**
88
+ * IBANValidatorApi - functional programming interface
89
+ * @export
90
+ */
91
+ export const IBANValidatorApiFp = function(configuration?: Configuration) {
92
+ const localVarAxiosParamCreator = IBANValidatorApiAxiosParamCreator(configuration)
93
+ return {
94
+ /**
95
+ * Validate IBAN and return related bank data **Required Permissions** none
96
+ * @summary Validate IBAN
97
+ * @param {ValidateIbanRequestDto} validateIbanRequestDto
98
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
99
+ * @param {*} [options] Override http request option.
100
+ * @throws {RequiredError}
101
+ */
102
+ async validateIban(validateIbanRequestDto: ValidateIbanRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ValidateIbanResponseClass>> {
103
+ const localVarAxiosArgs = await localVarAxiosParamCreator.validateIban(validateIbanRequestDto, authorization, options);
104
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
105
+ },
106
+ }
107
+ };
108
+
109
+ /**
110
+ * IBANValidatorApi - factory interface
111
+ * @export
112
+ */
113
+ export const IBANValidatorApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
114
+ const localVarFp = IBANValidatorApiFp(configuration)
115
+ return {
116
+ /**
117
+ * Validate IBAN and return related bank data **Required Permissions** none
118
+ * @summary Validate IBAN
119
+ * @param {ValidateIbanRequestDto} validateIbanRequestDto
120
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
121
+ * @param {*} [options] Override http request option.
122
+ * @throws {RequiredError}
123
+ */
124
+ validateIban(validateIbanRequestDto: ValidateIbanRequestDto, authorization?: string, options?: any): AxiosPromise<ValidateIbanResponseClass> {
125
+ return localVarFp.validateIban(validateIbanRequestDto, authorization, options).then((request) => request(axios, basePath));
126
+ },
127
+ };
128
+ };
129
+
130
+ /**
131
+ * Request parameters for validateIban operation in IBANValidatorApi.
132
+ * @export
133
+ * @interface IBANValidatorApiValidateIbanRequest
134
+ */
135
+ export interface IBANValidatorApiValidateIbanRequest {
136
+ /**
137
+ *
138
+ * @type {ValidateIbanRequestDto}
139
+ * @memberof IBANValidatorApiValidateIban
140
+ */
141
+ readonly validateIbanRequestDto: ValidateIbanRequestDto
142
+
143
+ /**
144
+ * Bearer Token: provided by the login endpoint under the name accessToken.
145
+ * @type {string}
146
+ * @memberof IBANValidatorApiValidateIban
147
+ */
148
+ readonly authorization?: string
149
+ }
150
+
151
+ /**
152
+ * IBANValidatorApi - object-oriented interface
153
+ * @export
154
+ * @class IBANValidatorApi
155
+ * @extends {BaseAPI}
156
+ */
157
+ export class IBANValidatorApi extends BaseAPI {
158
+ /**
159
+ * Validate IBAN and return related bank data **Required Permissions** none
160
+ * @summary Validate IBAN
161
+ * @param {IBANValidatorApiValidateIbanRequest} requestParameters Request parameters.
162
+ * @param {*} [options] Override http request option.
163
+ * @throws {RequiredError}
164
+ * @memberof IBANValidatorApi
165
+ */
166
+ public validateIban(requestParameters: IBANValidatorApiValidateIbanRequest, options?: AxiosRequestConfig) {
167
+ return IBANValidatorApiFp(this.configuration).validateIban(requestParameters.validateIbanRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
168
+ }
169
+ }
@@ -131,16 +131,16 @@ export const PaymentMethodsApiAxiosParamCreator = function (configuration?: Conf
131
131
  };
132
132
  },
133
133
  /**
134
- * Returns a list of payment methods you have previously created. The payment 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\"
134
+ * Returns a list of payment methods you have previously created. The payment 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\"
135
135
  * @summary List payment methods
136
136
  * @param {string} [authorization] Bearer Token
137
137
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
138
138
  * @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.
139
- * @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: code, id, pspCustomerId, psp, type, productSlug, accountCode, partnerCode&lt;/i&gt;
139
+ * @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: code, id, pspCustomerId, psp, type, productSlug, accountCode, partnerCode&lt;/i&gt;
140
140
  * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
141
141
  * @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, createdAt&lt;/i&gt;
142
142
  * @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;
143
- * @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: code, id, pspCustomerId, psp, type, productSlug, accountCode, partnerCode&lt;/i&gt;
143
+ * @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: code, id, pspCustomerId, psp, type, productSlug, accountCode, partnerCode&lt;/i&gt;
144
144
  * @param {*} [options] Override http request option.
145
145
  * @throws {RequiredError}
146
146
  */
@@ -241,16 +241,16 @@ export const PaymentMethodsApiFp = function(configuration?: Configuration) {
241
241
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
242
242
  },
243
243
  /**
244
- * Returns a list of payment methods you have previously created. The payment 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\"
244
+ * Returns a list of payment methods you have previously created. The payment 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\"
245
245
  * @summary List payment methods
246
246
  * @param {string} [authorization] Bearer Token
247
247
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
248
248
  * @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.
249
- * @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: code, id, pspCustomerId, psp, type, productSlug, accountCode, partnerCode&lt;/i&gt;
249
+ * @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: code, id, pspCustomerId, psp, type, productSlug, accountCode, partnerCode&lt;/i&gt;
250
250
  * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
251
251
  * @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, createdAt&lt;/i&gt;
252
252
  * @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;
253
- * @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: code, id, pspCustomerId, psp, type, productSlug, accountCode, partnerCode&lt;/i&gt;
253
+ * @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: code, id, pspCustomerId, psp, type, productSlug, accountCode, partnerCode&lt;/i&gt;
254
254
  * @param {*} [options] Override http request option.
255
255
  * @throws {RequiredError}
256
256
  */
@@ -291,16 +291,16 @@ export const PaymentMethodsApiFactory = function (configuration?: Configuration,
291
291
  return localVarFp.getPaymentMethod(code, authorization, options).then((request) => request(axios, basePath));
292
292
  },
293
293
  /**
294
- * Returns a list of payment methods you have previously created. The payment 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\"
294
+ * Returns a list of payment methods you have previously created. The payment 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\"
295
295
  * @summary List payment methods
296
296
  * @param {string} [authorization] Bearer Token
297
297
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
298
298
  * @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.
299
- * @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: code, id, pspCustomerId, psp, type, productSlug, accountCode, partnerCode&lt;/i&gt;
299
+ * @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: code, id, pspCustomerId, psp, type, productSlug, accountCode, partnerCode&lt;/i&gt;
300
300
  * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
301
301
  * @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, createdAt&lt;/i&gt;
302
302
  * @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;
303
- * @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: code, id, pspCustomerId, psp, type, productSlug, accountCode, partnerCode&lt;/i&gt;
303
+ * @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: code, id, pspCustomerId, psp, type, productSlug, accountCode, partnerCode&lt;/i&gt;
304
304
  * @param {*} [options] Override http request option.
305
305
  * @throws {RequiredError}
306
306
  */
@@ -380,7 +380,7 @@ export interface PaymentMethodsApiListPaymentMethodsRequest {
380
380
  readonly pageToken?: string
381
381
 
382
382
  /**
383
- * 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: code, id, pspCustomerId, psp, type, productSlug, accountCode, partnerCode&lt;/i&gt;
383
+ * 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: code, id, pspCustomerId, psp, type, productSlug, accountCode, partnerCode&lt;/i&gt;
384
384
  * @type {string}
385
385
  * @memberof PaymentMethodsApiListPaymentMethods
386
386
  */
@@ -408,7 +408,7 @@ export interface PaymentMethodsApiListPaymentMethodsRequest {
408
408
  readonly expand?: string
409
409
 
410
410
  /**
411
- * 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: code, id, pspCustomerId, psp, type, productSlug, accountCode, partnerCode&lt;/i&gt;
411
+ * 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: code, id, pspCustomerId, psp, type, productSlug, accountCode, partnerCode&lt;/i&gt;
412
412
  * @type {string}
413
413
  * @memberof PaymentMethodsApiListPaymentMethods
414
414
  */
@@ -447,7 +447,7 @@ export class PaymentMethodsApi extends BaseAPI {
447
447
  }
448
448
 
449
449
  /**
450
- * Returns a list of payment methods you have previously created. The payment 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\"
450
+ * Returns a list of payment methods you have previously created. The payment 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\"
451
451
  * @summary List payment methods
452
452
  * @param {PaymentMethodsApiListPaymentMethodsRequest} requestParameters Request parameters.
453
453
  * @param {*} [options] Override http request option.