@emilgroup/payment-sdk 1.16.1-beta.7 → 1.16.1-beta.76

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 (111) 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/webhooks-api.ts +125 -14
  19. package/api.ts +4 -0
  20. package/base.ts +1 -0
  21. package/dist/api/bank-accounts-api.d.ts +16 -16
  22. package/dist/api/bank-accounts-api.js +13 -13
  23. package/dist/api/bank-orders-api.d.ts +16 -16
  24. package/dist/api/bank-orders-api.js +14 -14
  25. package/dist/api/bank-transaction-api.d.ts +12 -12
  26. package/dist/api/bank-transaction-api.js +10 -10
  27. package/dist/api/billing-addresses-api.d.ts +12 -12
  28. package/dist/api/billing-addresses-api.js +10 -10
  29. package/dist/api/credit-allocation-api.d.ts +12 -12
  30. package/dist/api/credit-allocation-api.js +10 -10
  31. package/dist/api/exceeding-credits-api.d.ts +12 -12
  32. package/dist/api/exceeding-credits-api.js +10 -10
  33. package/dist/api/ibanvalidator-api.d.ts +97 -0
  34. package/dist/api/ibanvalidator-api.js +224 -0
  35. package/dist/api/payment-methods-api.d.ts +12 -12
  36. package/dist/api/payment-methods-api.js +10 -10
  37. package/dist/api/payment-receipts-api.d.ts +383 -0
  38. package/dist/api/payment-receipts-api.js +637 -0
  39. package/dist/api/payment-reminders-api.d.ts +12 -12
  40. package/dist/api/payment-reminders-api.js +10 -10
  41. package/dist/api/payment-requests-api.d.ts +20 -20
  42. package/dist/api/payment-requests-api.js +15 -15
  43. package/dist/api/payments-api.d.ts +12 -12
  44. package/dist/api/payments-api.js +10 -10
  45. package/dist/api/payout-methods-api.d.ts +85 -20
  46. package/dist/api/payout-methods-api.js +115 -16
  47. package/dist/api/refunds-api.d.ts +12 -12
  48. package/dist/api/refunds-api.js +10 -10
  49. package/dist/api/tenant-bank-account-api.d.ts +12 -12
  50. package/dist/api/tenant-bank-account-api.js +10 -10
  51. package/dist/api/webhooks-api.d.ts +73 -9
  52. package/dist/api/webhooks-api.js +100 -11
  53. package/dist/api.d.ts +2 -0
  54. package/dist/api.js +2 -0
  55. package/dist/base.d.ts +2 -1
  56. package/dist/base.js +1 -0
  57. package/dist/models/bank-account-class-without-expand-properties.d.ts +6 -0
  58. package/dist/models/bank-account-class.d.ts +6 -0
  59. package/dist/models/bank-data-class.d.ts +36 -0
  60. package/dist/models/bank-data-class.js +15 -0
  61. package/dist/models/create-payment-receipt-request-dto.d.ts +65 -0
  62. package/dist/models/create-payment-receipt-request-dto.js +20 -0
  63. package/dist/models/create-payment-receipt-response-class.d.ts +25 -0
  64. package/dist/models/create-payment-receipt-response-class.js +15 -0
  65. package/dist/models/create-payment-request-request-dto.d.ts +53 -10
  66. package/dist/models/create-payment-request-request-dto.js +8 -4
  67. package/dist/models/create-payout-method-by-bank-account-request-dto.d.ts +36 -0
  68. package/dist/models/create-payout-method-by-bank-account-request-dto.js +15 -0
  69. package/dist/models/create-payout-method-request-dto.d.ts +8 -2
  70. package/dist/models/credit-allocation-class.d.ts +6 -0
  71. package/dist/models/credit-allocation-entity.d.ts +6 -0
  72. package/dist/models/get-payment-receipt-response-class.d.ts +25 -0
  73. package/dist/models/get-payment-receipt-response-class.js +15 -0
  74. package/dist/models/index.d.ts +10 -0
  75. package/dist/models/index.js +10 -0
  76. package/dist/models/list-payment-receipts-response-class.d.ts +43 -0
  77. package/dist/models/list-payment-receipts-response-class.js +15 -0
  78. package/dist/models/payment-receipt-class.d.ts +101 -0
  79. package/dist/models/payment-receipt-class.js +20 -0
  80. package/dist/models/payment-request-class.d.ts +68 -12
  81. package/dist/models/payment-request-class.js +9 -5
  82. package/dist/models/payout-method-class.d.ts +6 -0
  83. package/dist/models/update-payment-receipt-response-class.d.ts +25 -0
  84. package/dist/models/update-payment-receipt-response-class.js +15 -0
  85. package/dist/models/update-payment-request-request-dto.d.ts +2 -2
  86. package/dist/models/update-payment-request-request-dto.js +1 -1
  87. package/dist/models/validate-iban-request-dto.d.ts +24 -0
  88. package/dist/models/validate-iban-request-dto.js +15 -0
  89. package/dist/models/validate-iban-response-class.d.ts +31 -0
  90. package/dist/models/validate-iban-response-class.js +15 -0
  91. package/models/bank-account-class-without-expand-properties.ts +6 -0
  92. package/models/bank-account-class.ts +6 -0
  93. package/models/bank-data-class.ts +42 -0
  94. package/models/create-payment-receipt-request-dto.ts +74 -0
  95. package/models/create-payment-receipt-response-class.ts +31 -0
  96. package/models/create-payment-request-request-dto.ts +52 -10
  97. package/models/create-payout-method-by-bank-account-request-dto.ts +42 -0
  98. package/models/create-payout-method-request-dto.ts +8 -2
  99. package/models/credit-allocation-class.ts +6 -0
  100. package/models/credit-allocation-entity.ts +6 -0
  101. package/models/get-payment-receipt-response-class.ts +31 -0
  102. package/models/index.ts +10 -0
  103. package/models/list-payment-receipts-response-class.ts +49 -0
  104. package/models/payment-receipt-class.ts +110 -0
  105. package/models/payment-request-class.ts +67 -12
  106. package/models/payout-method-class.ts +6 -0
  107. package/models/update-payment-receipt-response-class.ts +31 -0
  108. package/models/update-payment-request-request-dto.ts +2 -2
  109. package/models/validate-iban-request-dto.ts +30 -0
  110. package/models/validate-iban-response-class.ts +37 -0
  111. package/package.json +2 -2
@@ -194,16 +194,16 @@ var RefundsApiAxiosParamCreator = function (configuration) {
194
194
  });
195
195
  },
196
196
  /**
197
- * Returns a list of refunds you have previously created. The refunds 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\"
197
+ * Returns a list of refunds you have previously created. The refunds 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
198
  * @summary List refunds
199
199
  * @param {string} [authorization] Bearer Token
200
200
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
201
201
  * @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.
202
- * @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, status, reason, psp, accountCode, invoiceCode</i>
202
+ * @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, status, reason, psp, accountCode, invoiceCode</i>
203
203
  * @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: id, createdAt, updatedAt, amount, psp, accountCode, invoiceCode, reason, status</i>
204
204
  * @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, amount</i>
205
205
  * @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: refundItems<i>
206
- * @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, status, reason, psp, accountCode, invoiceCode</i>
206
+ * @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, status, reason, psp, accountCode, invoiceCode</i>
207
207
  * @param {*} [options] Override http request option.
208
208
  * @throws {RequiredError}
209
209
  */
@@ -319,16 +319,16 @@ var RefundsApiFp = function (configuration) {
319
319
  });
320
320
  },
321
321
  /**
322
- * Returns a list of refunds you have previously created. The refunds 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\"
322
+ * Returns a list of refunds you have previously created. The refunds 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
323
  * @summary List refunds
324
324
  * @param {string} [authorization] Bearer Token
325
325
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
326
326
  * @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.
327
- * @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, status, reason, psp, accountCode, invoiceCode</i>
327
+ * @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, status, reason, psp, accountCode, invoiceCode</i>
328
328
  * @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: id, createdAt, updatedAt, amount, psp, accountCode, invoiceCode, reason, status</i>
329
329
  * @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, amount</i>
330
330
  * @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: refundItems<i>
331
- * @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, status, reason, psp, accountCode, invoiceCode</i>
331
+ * @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, status, reason, psp, accountCode, invoiceCode</i>
332
332
  * @param {*} [options] Override http request option.
333
333
  * @throws {RequiredError}
334
334
  */
@@ -379,16 +379,16 @@ var RefundsApiFactory = function (configuration, basePath, axios) {
379
379
  return localVarFp.getRefund(code, authorization, expand, options).then(function (request) { return request(axios, basePath); });
380
380
  },
381
381
  /**
382
- * Returns a list of refunds you have previously created. The refunds 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\"
382
+ * Returns a list of refunds you have previously created. The refunds 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\"
383
383
  * @summary List refunds
384
384
  * @param {string} [authorization] Bearer Token
385
385
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
386
386
  * @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.
387
- * @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, status, reason, psp, accountCode, invoiceCode</i>
387
+ * @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, status, reason, psp, accountCode, invoiceCode</i>
388
388
  * @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: id, createdAt, updatedAt, amount, psp, accountCode, invoiceCode, reason, status</i>
389
389
  * @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, amount</i>
390
390
  * @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: refundItems<i>
391
- * @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, status, reason, psp, accountCode, invoiceCode</i>
391
+ * @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, status, reason, psp, accountCode, invoiceCode</i>
392
392
  * @param {*} [options] Override http request option.
393
393
  * @throws {RequiredError}
394
394
  */
@@ -434,7 +434,7 @@ var RefundsApi = /** @class */ (function (_super) {
434
434
  return (0, exports.RefundsApiFp)(this.configuration).getRefund(requestParameters.code, requestParameters.authorization, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
435
435
  };
436
436
  /**
437
- * Returns a list of refunds you have previously created. The refunds 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\"
437
+ * Returns a list of refunds you have previously created. The refunds 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\"
438
438
  * @summary List refunds
439
439
  * @param {RefundsApiListRefundsRequest} requestParameters Request parameters.
440
440
  * @param {*} [options] Override http request option.
@@ -52,16 +52,16 @@ export declare const TenantBankAccountApiAxiosParamCreator: (configuration?: Con
52
52
  */
53
53
  getTenantBankAccount: (code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
54
54
  /**
55
- * Returns a list of tenant bank accounts you have previously created. The tenant bank accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
55
+ * Returns a list of tenant bank accounts you have previously created. The tenant bank accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
56
56
  * @summary List tenant bank accounts
57
57
  * @param {string} [authorization] Bearer Token
58
58
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
59
59
  * @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.
60
- * @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, iban, bankName, accountName, sepaPainVersion, payoutPainVersion&lt;/i&gt;
60
+ * @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, iban, bankName, accountName, sepaPainVersion, payoutPainVersion&lt;/i&gt;
61
61
  * @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: id, iban, bankName, accountName&lt;/i&gt;
62
62
  * @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, bankName, accountName&lt;/i&gt;
63
63
  * @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: bankTransactions&lt;i&gt;
64
- * @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, iban, bankName, accountName, sepaPainVersion, payoutPainVersion&lt;/i&gt;
64
+ * @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, iban, bankName, accountName, sepaPainVersion, payoutPainVersion&lt;/i&gt;
65
65
  * @param {*} [options] Override http request option.
66
66
  * @throws {RequiredError}
67
67
  */
@@ -111,16 +111,16 @@ export declare const TenantBankAccountApiFp: (configuration?: Configuration) =>
111
111
  */
112
112
  getTenantBankAccount(code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetTenantBankAccountResponseClass>>;
113
113
  /**
114
- * Returns a list of tenant bank accounts you have previously created. The tenant bank accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
114
+ * Returns a list of tenant bank accounts you have previously created. The tenant bank accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
115
115
  * @summary List tenant bank accounts
116
116
  * @param {string} [authorization] Bearer Token
117
117
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
118
118
  * @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.
119
- * @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, iban, bankName, accountName, sepaPainVersion, payoutPainVersion&lt;/i&gt;
119
+ * @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, iban, bankName, accountName, sepaPainVersion, payoutPainVersion&lt;/i&gt;
120
120
  * @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: id, iban, bankName, accountName&lt;/i&gt;
121
121
  * @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, bankName, accountName&lt;/i&gt;
122
122
  * @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: bankTransactions&lt;i&gt;
123
- * @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, iban, bankName, accountName, sepaPainVersion, payoutPainVersion&lt;/i&gt;
123
+ * @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, iban, bankName, accountName, sepaPainVersion, payoutPainVersion&lt;/i&gt;
124
124
  * @param {*} [options] Override http request option.
125
125
  * @throws {RequiredError}
126
126
  */
@@ -170,16 +170,16 @@ export declare const TenantBankAccountApiFactory: (configuration?: Configuration
170
170
  */
171
171
  getTenantBankAccount(code: string, authorization?: string, expand?: string, options?: any): AxiosPromise<GetTenantBankAccountResponseClass>;
172
172
  /**
173
- * Returns a list of tenant bank accounts you have previously created. The tenant bank accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
173
+ * Returns a list of tenant bank accounts you have previously created. The tenant bank accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
174
174
  * @summary List tenant bank accounts
175
175
  * @param {string} [authorization] Bearer Token
176
176
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
177
177
  * @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.
178
- * @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, iban, bankName, accountName, sepaPainVersion, payoutPainVersion&lt;/i&gt;
178
+ * @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, iban, bankName, accountName, sepaPainVersion, payoutPainVersion&lt;/i&gt;
179
179
  * @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: id, iban, bankName, accountName&lt;/i&gt;
180
180
  * @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, bankName, accountName&lt;/i&gt;
181
181
  * @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: bankTransactions&lt;i&gt;
182
- * @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, iban, bankName, accountName, sepaPainVersion, payoutPainVersion&lt;/i&gt;
182
+ * @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, iban, bankName, accountName, sepaPainVersion, payoutPainVersion&lt;/i&gt;
183
183
  * @param {*} [options] Override http request option.
184
184
  * @throws {RequiredError}
185
185
  */
@@ -283,7 +283,7 @@ export interface TenantBankAccountApiListTenantBankAccountsRequest {
283
283
  */
284
284
  readonly pageToken?: string;
285
285
  /**
286
- * 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, iban, bankName, accountName, sepaPainVersion, payoutPainVersion&lt;/i&gt;
286
+ * 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, iban, bankName, accountName, sepaPainVersion, payoutPainVersion&lt;/i&gt;
287
287
  * @type {string}
288
288
  * @memberof TenantBankAccountApiListTenantBankAccounts
289
289
  */
@@ -307,7 +307,7 @@ export interface TenantBankAccountApiListTenantBankAccountsRequest {
307
307
  */
308
308
  readonly expand?: string;
309
309
  /**
310
- * 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, iban, bankName, accountName, sepaPainVersion, payoutPainVersion&lt;/i&gt;
310
+ * 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, iban, bankName, accountName, sepaPainVersion, payoutPainVersion&lt;/i&gt;
311
311
  * @type {string}
312
312
  * @memberof TenantBankAccountApiListTenantBankAccounts
313
313
  */
@@ -373,7 +373,7 @@ export declare class TenantBankAccountApi extends BaseAPI {
373
373
  */
374
374
  getTenantBankAccount(requestParameters: TenantBankAccountApiGetTenantBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetTenantBankAccountResponseClass, any, {}>>;
375
375
  /**
376
- * Returns a list of tenant bank accounts you have previously created. The tenant bank accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
376
+ * Returns a list of tenant bank accounts you have previously created. The tenant bank accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
377
377
  * @summary List tenant bank accounts
378
378
  * @param {TenantBankAccountApiListTenantBankAccountsRequest} requestParameters Request parameters.
379
379
  * @param {*} [options] Override http request option.
@@ -242,16 +242,16 @@ var TenantBankAccountApiAxiosParamCreator = function (configuration) {
242
242
  });
243
243
  },
244
244
  /**
245
- * Returns a list of tenant bank accounts you have previously created. The tenant bank accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
245
+ * Returns a list of tenant bank accounts you have previously created. The tenant bank accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
246
246
  * @summary List tenant bank accounts
247
247
  * @param {string} [authorization] Bearer Token
248
248
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
249
249
  * @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.
250
- * @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, iban, bankName, accountName, sepaPainVersion, payoutPainVersion&lt;/i&gt;
250
+ * @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, iban, bankName, accountName, sepaPainVersion, payoutPainVersion&lt;/i&gt;
251
251
  * @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: id, iban, bankName, accountName&lt;/i&gt;
252
252
  * @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, bankName, accountName&lt;/i&gt;
253
253
  * @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: bankTransactions&lt;i&gt;
254
- * @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, iban, bankName, accountName, sepaPainVersion, payoutPainVersion&lt;/i&gt;
254
+ * @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, iban, bankName, accountName, sepaPainVersion, payoutPainVersion&lt;/i&gt;
255
255
  * @param {*} [options] Override http request option.
256
256
  * @throws {RequiredError}
257
257
  */
@@ -441,16 +441,16 @@ var TenantBankAccountApiFp = function (configuration) {
441
441
  });
442
442
  },
443
443
  /**
444
- * Returns a list of tenant bank accounts you have previously created. The tenant bank accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
444
+ * Returns a list of tenant bank accounts you have previously created. The tenant bank accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
445
445
  * @summary List tenant bank accounts
446
446
  * @param {string} [authorization] Bearer Token
447
447
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
448
448
  * @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.
449
- * @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, iban, bankName, accountName, sepaPainVersion, payoutPainVersion&lt;/i&gt;
449
+ * @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, iban, bankName, accountName, sepaPainVersion, payoutPainVersion&lt;/i&gt;
450
450
  * @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: id, iban, bankName, accountName&lt;/i&gt;
451
451
  * @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, bankName, accountName&lt;/i&gt;
452
452
  * @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: bankTransactions&lt;i&gt;
453
- * @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, iban, bankName, accountName, sepaPainVersion, payoutPainVersion&lt;/i&gt;
453
+ * @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, iban, bankName, accountName, sepaPainVersion, payoutPainVersion&lt;/i&gt;
454
454
  * @param {*} [options] Override http request option.
455
455
  * @throws {RequiredError}
456
456
  */
@@ -534,16 +534,16 @@ var TenantBankAccountApiFactory = function (configuration, basePath, axios) {
534
534
  return localVarFp.getTenantBankAccount(code, authorization, expand, options).then(function (request) { return request(axios, basePath); });
535
535
  },
536
536
  /**
537
- * Returns a list of tenant bank accounts you have previously created. The tenant bank accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
537
+ * Returns a list of tenant bank accounts you have previously created. The tenant bank accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
538
538
  * @summary List tenant bank accounts
539
539
  * @param {string} [authorization] Bearer Token
540
540
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
541
541
  * @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.
542
- * @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, iban, bankName, accountName, sepaPainVersion, payoutPainVersion&lt;/i&gt;
542
+ * @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, iban, bankName, accountName, sepaPainVersion, payoutPainVersion&lt;/i&gt;
543
543
  * @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: id, iban, bankName, accountName&lt;/i&gt;
544
544
  * @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, bankName, accountName&lt;/i&gt;
545
545
  * @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: bankTransactions&lt;i&gt;
546
- * @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, iban, bankName, accountName, sepaPainVersion, payoutPainVersion&lt;/i&gt;
546
+ * @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, iban, bankName, accountName, sepaPainVersion, payoutPainVersion&lt;/i&gt;
547
547
  * @param {*} [options] Override http request option.
548
548
  * @throws {RequiredError}
549
549
  */
@@ -613,7 +613,7 @@ var TenantBankAccountApi = /** @class */ (function (_super) {
613
613
  return (0, exports.TenantBankAccountApiFp)(this.configuration).getTenantBankAccount(requestParameters.code, requestParameters.authorization, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
614
614
  };
615
615
  /**
616
- * Returns a list of tenant bank accounts you have previously created. The tenant bank accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
616
+ * Returns a list of tenant bank accounts you have previously created. The tenant bank accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
617
617
  * @summary List tenant bank accounts
618
618
  * @param {TenantBankAccountApiListTenantBankAccountsRequest} requestParameters Request parameters.
619
619
  * @param {*} [options] Override http request option.
@@ -22,12 +22,22 @@ export declare const WebhooksApiAxiosParamCreator: (configuration?: Configuratio
22
22
  * @summary Handle the webhook from PSP
23
23
  * @param {string} pspType The type of the payment service provider (PSP).&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Supported PSP: braintree, stripe, b4u, eis, adyen&lt;/i&gt;
24
24
  * @param {string} tenantSlug Unique slug identifier representing a tenant.
25
- * @param {string} productSlug
26
25
  * @param {object} body Accepts a webhook payload. The structure may vary depending on the payment service provider.
27
26
  * @param {*} [options] Override http request option.
28
27
  * @throws {RequiredError}
29
28
  */
30
- postWebhook: (pspType: string, tenantSlug: string, productSlug: string, body: object, options?: AxiosRequestConfig) => Promise<RequestArgs>;
29
+ postWebhook: (pspType: string, tenantSlug: string, body: object, options?: AxiosRequestConfig) => Promise<RequestArgs>;
30
+ /**
31
+ * This will processes the webhook from external payment service provider. **Required Permissions** none
32
+ * @summary Handle the webhook from PSP
33
+ * @param {string} pspType The type of the payment service provider (PSP).&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Supported PSP: braintree, stripe, b4u, eis, adyen&lt;/i&gt;
34
+ * @param {string} tenantSlug Unique slug identifier representing a tenant.
35
+ * @param {string} productSlug Optional product slug associated with the webhook.
36
+ * @param {object} body Accepts a webhook payload. The structure may vary depending on the payment service provider.
37
+ * @param {*} [options] Override http request option.
38
+ * @throws {RequiredError}
39
+ */
40
+ postWebhookWithProductSlug: (pspType: string, tenantSlug: string, productSlug: string, body: object, options?: AxiosRequestConfig) => Promise<RequestArgs>;
31
41
  };
32
42
  /**
33
43
  * WebhooksApi - functional programming interface
@@ -39,12 +49,22 @@ export declare const WebhooksApiFp: (configuration?: Configuration) => {
39
49
  * @summary Handle the webhook from PSP
40
50
  * @param {string} pspType The type of the payment service provider (PSP).&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Supported PSP: braintree, stripe, b4u, eis, adyen&lt;/i&gt;
41
51
  * @param {string} tenantSlug Unique slug identifier representing a tenant.
42
- * @param {string} productSlug
43
52
  * @param {object} body Accepts a webhook payload. The structure may vary depending on the payment service provider.
44
53
  * @param {*} [options] Override http request option.
45
54
  * @throws {RequiredError}
46
55
  */
47
- postWebhook(pspType: string, tenantSlug: string, productSlug: string, body: object, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
56
+ postWebhook(pspType: string, tenantSlug: string, body: object, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
57
+ /**
58
+ * This will processes the webhook from external payment service provider. **Required Permissions** none
59
+ * @summary Handle the webhook from PSP
60
+ * @param {string} pspType The type of the payment service provider (PSP).&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Supported PSP: braintree, stripe, b4u, eis, adyen&lt;/i&gt;
61
+ * @param {string} tenantSlug Unique slug identifier representing a tenant.
62
+ * @param {string} productSlug Optional product slug associated with the webhook.
63
+ * @param {object} body Accepts a webhook payload. The structure may vary depending on the payment service provider.
64
+ * @param {*} [options] Override http request option.
65
+ * @throws {RequiredError}
66
+ */
67
+ postWebhookWithProductSlug(pspType: string, tenantSlug: string, productSlug: string, body: object, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
48
68
  };
49
69
  /**
50
70
  * WebhooksApi - factory interface
@@ -56,12 +76,22 @@ export declare const WebhooksApiFactory: (configuration?: Configuration, basePat
56
76
  * @summary Handle the webhook from PSP
57
77
  * @param {string} pspType The type of the payment service provider (PSP).&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Supported PSP: braintree, stripe, b4u, eis, adyen&lt;/i&gt;
58
78
  * @param {string} tenantSlug Unique slug identifier representing a tenant.
59
- * @param {string} productSlug
60
79
  * @param {object} body Accepts a webhook payload. The structure may vary depending on the payment service provider.
61
80
  * @param {*} [options] Override http request option.
62
81
  * @throws {RequiredError}
63
82
  */
64
- postWebhook(pspType: string, tenantSlug: string, productSlug: string, body: object, options?: any): AxiosPromise<void>;
83
+ postWebhook(pspType: string, tenantSlug: string, body: object, options?: any): AxiosPromise<void>;
84
+ /**
85
+ * This will processes the webhook from external payment service provider. **Required Permissions** none
86
+ * @summary Handle the webhook from PSP
87
+ * @param {string} pspType The type of the payment service provider (PSP).&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Supported PSP: braintree, stripe, b4u, eis, adyen&lt;/i&gt;
88
+ * @param {string} tenantSlug Unique slug identifier representing a tenant.
89
+ * @param {string} productSlug Optional product slug associated with the webhook.
90
+ * @param {object} body Accepts a webhook payload. The structure may vary depending on the payment service provider.
91
+ * @param {*} [options] Override http request option.
92
+ * @throws {RequiredError}
93
+ */
94
+ postWebhookWithProductSlug(pspType: string, tenantSlug: string, productSlug: string, body: object, options?: any): AxiosPromise<void>;
65
95
  };
66
96
  /**
67
97
  * Request parameters for postWebhook operation in WebhooksApi.
@@ -82,15 +112,40 @@ export interface WebhooksApiPostWebhookRequest {
82
112
  */
83
113
  readonly tenantSlug: string;
84
114
  /**
85
- *
86
- * @type {string}
115
+ * Accepts a webhook payload. The structure may vary depending on the payment service provider.
116
+ * @type {object}
87
117
  * @memberof WebhooksApiPostWebhook
88
118
  */
119
+ readonly body: object;
120
+ }
121
+ /**
122
+ * Request parameters for postWebhookWithProductSlug operation in WebhooksApi.
123
+ * @export
124
+ * @interface WebhooksApiPostWebhookWithProductSlugRequest
125
+ */
126
+ export interface WebhooksApiPostWebhookWithProductSlugRequest {
127
+ /**
128
+ * The type of the payment service provider (PSP).&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Supported PSP: braintree, stripe, b4u, eis, adyen&lt;/i&gt;
129
+ * @type {string}
130
+ * @memberof WebhooksApiPostWebhookWithProductSlug
131
+ */
132
+ readonly pspType: string;
133
+ /**
134
+ * Unique slug identifier representing a tenant.
135
+ * @type {string}
136
+ * @memberof WebhooksApiPostWebhookWithProductSlug
137
+ */
138
+ readonly tenantSlug: string;
139
+ /**
140
+ * Optional product slug associated with the webhook.
141
+ * @type {string}
142
+ * @memberof WebhooksApiPostWebhookWithProductSlug
143
+ */
89
144
  readonly productSlug: string;
90
145
  /**
91
146
  * Accepts a webhook payload. The structure may vary depending on the payment service provider.
92
147
  * @type {object}
93
- * @memberof WebhooksApiPostWebhook
148
+ * @memberof WebhooksApiPostWebhookWithProductSlug
94
149
  */
95
150
  readonly body: object;
96
151
  }
@@ -110,4 +165,13 @@ export declare class WebhooksApi extends BaseAPI {
110
165
  * @memberof WebhooksApi
111
166
  */
112
167
  postWebhook(requestParameters: WebhooksApiPostWebhookRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
168
+ /**
169
+ * This will processes the webhook from external payment service provider. **Required Permissions** none
170
+ * @summary Handle the webhook from PSP
171
+ * @param {WebhooksApiPostWebhookWithProductSlugRequest} requestParameters Request parameters.
172
+ * @param {*} [options] Override http request option.
173
+ * @throws {RequiredError}
174
+ * @memberof WebhooksApi
175
+ */
176
+ postWebhookWithProductSlug(requestParameters: WebhooksApiPostWebhookWithProductSlugRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
113
177
  }
@@ -97,12 +97,11 @@ var WebhooksApiAxiosParamCreator = function (configuration) {
97
97
  * @summary Handle the webhook from PSP
98
98
  * @param {string} pspType The type of the payment service provider (PSP).&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Supported PSP: braintree, stripe, b4u, eis, adyen&lt;/i&gt;
99
99
  * @param {string} tenantSlug Unique slug identifier representing a tenant.
100
- * @param {string} productSlug
101
100
  * @param {object} body Accepts a webhook payload. The structure may vary depending on the payment service provider.
102
101
  * @param {*} [options] Override http request option.
103
102
  * @throws {RequiredError}
104
103
  */
105
- postWebhook: function (pspType, tenantSlug, productSlug, body, options) {
104
+ postWebhook: function (pspType, tenantSlug, body, options) {
106
105
  if (options === void 0) { options = {}; }
107
106
  return __awaiter(_this, void 0, void 0, function () {
108
107
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -111,10 +110,54 @@ var WebhooksApiAxiosParamCreator = function (configuration) {
111
110
  (0, common_1.assertParamExists)('postWebhook', 'pspType', pspType);
112
111
  // verify required parameter 'tenantSlug' is not null or undefined
113
112
  (0, common_1.assertParamExists)('postWebhook', 'tenantSlug', tenantSlug);
114
- // verify required parameter 'productSlug' is not null or undefined
115
- (0, common_1.assertParamExists)('postWebhook', 'productSlug', productSlug);
116
113
  // verify required parameter 'body' is not null or undefined
117
114
  (0, common_1.assertParamExists)('postWebhook', 'body', body);
115
+ localVarPath = "/paymentservice/v1/webhooks/{pspType}/{tenantSlug}"
116
+ .replace("{".concat("pspType", "}"), encodeURIComponent(String(pspType)))
117
+ .replace("{".concat("tenantSlug", "}"), encodeURIComponent(String(tenantSlug)));
118
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
119
+ if (configuration) {
120
+ baseOptions = configuration.baseOptions;
121
+ baseAccessToken = configuration.accessToken;
122
+ }
123
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
124
+ localVarHeaderParameter = {};
125
+ localVarQueryParameter = {};
126
+ localVarHeaderParameter['Content-Type'] = 'application/json';
127
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
128
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
129
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
130
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
131
+ return [2 /*return*/, {
132
+ url: (0, common_1.toPathString)(localVarUrlObj),
133
+ options: localVarRequestOptions,
134
+ }];
135
+ });
136
+ });
137
+ },
138
+ /**
139
+ * This will processes the webhook from external payment service provider. **Required Permissions** none
140
+ * @summary Handle the webhook from PSP
141
+ * @param {string} pspType The type of the payment service provider (PSP).&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Supported PSP: braintree, stripe, b4u, eis, adyen&lt;/i&gt;
142
+ * @param {string} tenantSlug Unique slug identifier representing a tenant.
143
+ * @param {string} productSlug Optional product slug associated with the webhook.
144
+ * @param {object} body Accepts a webhook payload. The structure may vary depending on the payment service provider.
145
+ * @param {*} [options] Override http request option.
146
+ * @throws {RequiredError}
147
+ */
148
+ postWebhookWithProductSlug: function (pspType, tenantSlug, productSlug, body, options) {
149
+ if (options === void 0) { options = {}; }
150
+ return __awaiter(_this, void 0, void 0, function () {
151
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
152
+ return __generator(this, function (_a) {
153
+ // verify required parameter 'pspType' is not null or undefined
154
+ (0, common_1.assertParamExists)('postWebhookWithProductSlug', 'pspType', pspType);
155
+ // verify required parameter 'tenantSlug' is not null or undefined
156
+ (0, common_1.assertParamExists)('postWebhookWithProductSlug', 'tenantSlug', tenantSlug);
157
+ // verify required parameter 'productSlug' is not null or undefined
158
+ (0, common_1.assertParamExists)('postWebhookWithProductSlug', 'productSlug', productSlug);
159
+ // verify required parameter 'body' is not null or undefined
160
+ (0, common_1.assertParamExists)('postWebhookWithProductSlug', 'body', body);
118
161
  localVarPath = "/paymentservice/v1/webhooks/{pspType}/{tenantSlug}/{productSlug}"
119
162
  .replace("{".concat("pspType", "}"), encodeURIComponent(String(pspType)))
120
163
  .replace("{".concat("tenantSlug", "}"), encodeURIComponent(String(tenantSlug)))
@@ -154,17 +197,39 @@ var WebhooksApiFp = function (configuration) {
154
197
  * @summary Handle the webhook from PSP
155
198
  * @param {string} pspType The type of the payment service provider (PSP).&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Supported PSP: braintree, stripe, b4u, eis, adyen&lt;/i&gt;
156
199
  * @param {string} tenantSlug Unique slug identifier representing a tenant.
157
- * @param {string} productSlug
158
200
  * @param {object} body Accepts a webhook payload. The structure may vary depending on the payment service provider.
159
201
  * @param {*} [options] Override http request option.
160
202
  * @throws {RequiredError}
161
203
  */
162
- postWebhook: function (pspType, tenantSlug, productSlug, body, options) {
204
+ postWebhook: function (pspType, tenantSlug, body, options) {
163
205
  return __awaiter(this, void 0, void 0, function () {
164
206
  var localVarAxiosArgs;
165
207
  return __generator(this, function (_a) {
166
208
  switch (_a.label) {
167
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.postWebhook(pspType, tenantSlug, productSlug, body, options)];
209
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.postWebhook(pspType, tenantSlug, body, options)];
210
+ case 1:
211
+ localVarAxiosArgs = _a.sent();
212
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
213
+ }
214
+ });
215
+ });
216
+ },
217
+ /**
218
+ * This will processes the webhook from external payment service provider. **Required Permissions** none
219
+ * @summary Handle the webhook from PSP
220
+ * @param {string} pspType The type of the payment service provider (PSP).&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Supported PSP: braintree, stripe, b4u, eis, adyen&lt;/i&gt;
221
+ * @param {string} tenantSlug Unique slug identifier representing a tenant.
222
+ * @param {string} productSlug Optional product slug associated with the webhook.
223
+ * @param {object} body Accepts a webhook payload. The structure may vary depending on the payment service provider.
224
+ * @param {*} [options] Override http request option.
225
+ * @throws {RequiredError}
226
+ */
227
+ postWebhookWithProductSlug: function (pspType, tenantSlug, productSlug, body, options) {
228
+ return __awaiter(this, void 0, void 0, function () {
229
+ var localVarAxiosArgs;
230
+ return __generator(this, function (_a) {
231
+ switch (_a.label) {
232
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.postWebhookWithProductSlug(pspType, tenantSlug, productSlug, body, options)];
168
233
  case 1:
169
234
  localVarAxiosArgs = _a.sent();
170
235
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -187,13 +252,25 @@ var WebhooksApiFactory = function (configuration, basePath, axios) {
187
252
  * @summary Handle the webhook from PSP
188
253
  * @param {string} pspType The type of the payment service provider (PSP).&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Supported PSP: braintree, stripe, b4u, eis, adyen&lt;/i&gt;
189
254
  * @param {string} tenantSlug Unique slug identifier representing a tenant.
190
- * @param {string} productSlug
191
255
  * @param {object} body Accepts a webhook payload. The structure may vary depending on the payment service provider.
192
256
  * @param {*} [options] Override http request option.
193
257
  * @throws {RequiredError}
194
258
  */
195
- postWebhook: function (pspType, tenantSlug, productSlug, body, options) {
196
- return localVarFp.postWebhook(pspType, tenantSlug, productSlug, body, options).then(function (request) { return request(axios, basePath); });
259
+ postWebhook: function (pspType, tenantSlug, body, options) {
260
+ return localVarFp.postWebhook(pspType, tenantSlug, body, options).then(function (request) { return request(axios, basePath); });
261
+ },
262
+ /**
263
+ * This will processes the webhook from external payment service provider. **Required Permissions** none
264
+ * @summary Handle the webhook from PSP
265
+ * @param {string} pspType The type of the payment service provider (PSP).&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Supported PSP: braintree, stripe, b4u, eis, adyen&lt;/i&gt;
266
+ * @param {string} tenantSlug Unique slug identifier representing a tenant.
267
+ * @param {string} productSlug Optional product slug associated with the webhook.
268
+ * @param {object} body Accepts a webhook payload. The structure may vary depending on the payment service provider.
269
+ * @param {*} [options] Override http request option.
270
+ * @throws {RequiredError}
271
+ */
272
+ postWebhookWithProductSlug: function (pspType, tenantSlug, productSlug, body, options) {
273
+ return localVarFp.postWebhookWithProductSlug(pspType, tenantSlug, productSlug, body, options).then(function (request) { return request(axios, basePath); });
197
274
  },
198
275
  };
199
276
  };
@@ -219,7 +296,19 @@ var WebhooksApi = /** @class */ (function (_super) {
219
296
  */
220
297
  WebhooksApi.prototype.postWebhook = function (requestParameters, options) {
221
298
  var _this = this;
222
- return (0, exports.WebhooksApiFp)(this.configuration).postWebhook(requestParameters.pspType, requestParameters.tenantSlug, requestParameters.productSlug, requestParameters.body, options).then(function (request) { return request(_this.axios, _this.basePath); });
299
+ return (0, exports.WebhooksApiFp)(this.configuration).postWebhook(requestParameters.pspType, requestParameters.tenantSlug, requestParameters.body, options).then(function (request) { return request(_this.axios, _this.basePath); });
300
+ };
301
+ /**
302
+ * This will processes the webhook from external payment service provider. **Required Permissions** none
303
+ * @summary Handle the webhook from PSP
304
+ * @param {WebhooksApiPostWebhookWithProductSlugRequest} requestParameters Request parameters.
305
+ * @param {*} [options] Override http request option.
306
+ * @throws {RequiredError}
307
+ * @memberof WebhooksApi
308
+ */
309
+ WebhooksApi.prototype.postWebhookWithProductSlug = function (requestParameters, options) {
310
+ var _this = this;
311
+ return (0, exports.WebhooksApiFp)(this.configuration).postWebhookWithProductSlug(requestParameters.pspType, requestParameters.tenantSlug, requestParameters.productSlug, requestParameters.body, options).then(function (request) { return request(_this.axios, _this.basePath); });
223
312
  };
224
313
  return WebhooksApi;
225
314
  }(base_1.BaseAPI));
package/dist/api.d.ts CHANGED
@@ -16,7 +16,9 @@ export * from './api/billing-addresses-api';
16
16
  export * from './api/credit-allocation-api';
17
17
  export * from './api/exceeding-credits-api';
18
18
  export * from './api/health-check-api';
19
+ export * from './api/ibanvalidator-api';
19
20
  export * from './api/payment-methods-api';
21
+ export * from './api/payment-receipts-api';
20
22
  export * from './api/payment-reminders-api';
21
23
  export * from './api/payment-requests-api';
22
24
  export * from './api/payment-setup-api';
package/dist/api.js CHANGED
@@ -34,7 +34,9 @@ __exportStar(require("./api/billing-addresses-api"), exports);
34
34
  __exportStar(require("./api/credit-allocation-api"), exports);
35
35
  __exportStar(require("./api/exceeding-credits-api"), exports);
36
36
  __exportStar(require("./api/health-check-api"), exports);
37
+ __exportStar(require("./api/ibanvalidator-api"), exports);
37
38
  __exportStar(require("./api/payment-methods-api"), exports);
39
+ __exportStar(require("./api/payment-receipts-api"), exports);
38
40
  __exportStar(require("./api/payment-reminders-api"), exports);
39
41
  __exportStar(require("./api/payment-requests-api"), exports);
40
42
  __exportStar(require("./api/payment-setup-api"), exports);
package/dist/base.d.ts CHANGED
@@ -39,7 +39,8 @@ export declare enum Environment {
39
39
  Test = "https://apiv2-test.emil.de",
40
40
  Staging = "https://apiv2-staging.emil.de",
41
41
  Development = "https://apiv2-dev.emil.de",
42
- ProductionZurich = "https://eu-central-2.apiv2.emil.de"
42
+ ProductionZurich = "https://eu-central-2.apiv2.emil.de",
43
+ StagingZurich = "https://eu-central-2.apiv2-staging.emil.de"
43
44
  }
44
45
  export declare function resetRetry(): void;
45
46
  /**
package/dist/base.js CHANGED
@@ -102,6 +102,7 @@ var Environment;
102
102
  Environment["Staging"] = "https://apiv2-staging.emil.de";
103
103
  Environment["Development"] = "https://apiv2-dev.emil.de";
104
104
  Environment["ProductionZurich"] = "https://eu-central-2.apiv2.emil.de";
105
+ Environment["StagingZurich"] = "https://eu-central-2.apiv2-staging.emil.de";
105
106
  })(Environment = exports.Environment || (exports.Environment = {}));
106
107
  var _retry_count = 0;
107
108
  var _retry = null;