@emilgroup/payment-sdk-node 1.23.1-beta.10 → 1.23.1-beta.101

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 (129) 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 +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 +16 -16
  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 +228 -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 +641 -0
  39. package/dist/api/payment-reminders-api.d.ts +16 -16
  40. package/dist/api/payment-reminders-api.js +13 -13
  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/bank-transaction-entity.d.ts +4 -2
  62. package/dist/models/create-payment-order-dto.d.ts +4 -2
  63. package/dist/models/create-payment-order-request-dto.d.ts +4 -2
  64. package/dist/models/create-payment-receipt-request-dto.d.ts +65 -0
  65. package/dist/models/create-payment-receipt-request-dto.js +20 -0
  66. package/dist/models/create-payment-receipt-response-class.d.ts +25 -0
  67. package/dist/models/create-payment-receipt-response-class.js +15 -0
  68. package/dist/models/create-payment-request-dto.d.ts +4 -2
  69. package/dist/models/create-payment-request-request-dto.d.ts +54 -11
  70. package/dist/models/create-payment-request-request-dto.js +8 -4
  71. package/dist/models/create-payout-method-by-bank-account-request-dto.d.ts +36 -0
  72. package/dist/models/create-payout-method-by-bank-account-request-dto.js +15 -0
  73. package/dist/models/create-payout-method-request-dto.d.ts +8 -2
  74. package/dist/models/credit-allocation-class.d.ts +6 -0
  75. package/dist/models/credit-allocation-entity.d.ts +6 -0
  76. package/dist/models/get-payment-receipt-response-class.d.ts +25 -0
  77. package/dist/models/get-payment-receipt-response-class.js +15 -0
  78. package/dist/models/index.d.ts +10 -0
  79. package/dist/models/index.js +10 -0
  80. package/dist/models/invoice-match-suggestion-entity.d.ts +4 -2
  81. package/dist/models/list-payment-receipts-response-class.d.ts +43 -0
  82. package/dist/models/list-payment-receipts-response-class.js +15 -0
  83. package/dist/models/payment-class-without-expand-properties.d.ts +1 -1
  84. package/dist/models/payment-class.d.ts +1 -1
  85. package/dist/models/payment-entity.d.ts +5 -3
  86. package/dist/models/payment-receipt-class.d.ts +101 -0
  87. package/dist/models/payment-receipt-class.js +20 -0
  88. package/dist/models/payment-request-class.d.ts +68 -12
  89. package/dist/models/payment-request-class.js +9 -5
  90. package/dist/models/payout-method-class.d.ts +6 -0
  91. package/dist/models/update-payment-receipt-response-class.d.ts +25 -0
  92. package/dist/models/update-payment-receipt-response-class.js +15 -0
  93. package/dist/models/update-payment-request-request-dto.d.ts +2 -2
  94. package/dist/models/update-payment-request-request-dto.js +1 -1
  95. package/dist/models/validate-iban-request-dto.d.ts +24 -0
  96. package/dist/models/validate-iban-request-dto.js +15 -0
  97. package/dist/models/validate-iban-response-class.d.ts +31 -0
  98. package/dist/models/validate-iban-response-class.js +15 -0
  99. package/dist/models/validate-pspconfig-request-dto.d.ts +4 -2
  100. package/models/bank-account-class-without-expand-properties.ts +6 -0
  101. package/models/bank-account-class.ts +6 -0
  102. package/models/bank-data-class.ts +42 -0
  103. package/models/bank-transaction-entity.ts +2 -2
  104. package/models/create-payment-order-dto.ts +2 -2
  105. package/models/create-payment-order-request-dto.ts +2 -2
  106. package/models/create-payment-receipt-request-dto.ts +74 -0
  107. package/models/create-payment-receipt-response-class.ts +31 -0
  108. package/models/create-payment-request-dto.ts +2 -2
  109. package/models/create-payment-request-request-dto.ts +53 -11
  110. package/models/create-payout-method-by-bank-account-request-dto.ts +42 -0
  111. package/models/create-payout-method-request-dto.ts +8 -2
  112. package/models/credit-allocation-class.ts +6 -0
  113. package/models/credit-allocation-entity.ts +6 -0
  114. package/models/get-payment-receipt-response-class.ts +31 -0
  115. package/models/index.ts +10 -0
  116. package/models/invoice-match-suggestion-entity.ts +2 -2
  117. package/models/list-payment-receipts-response-class.ts +49 -0
  118. package/models/payment-class-without-expand-properties.ts +1 -1
  119. package/models/payment-class.ts +1 -1
  120. package/models/payment-entity.ts +3 -3
  121. package/models/payment-receipt-class.ts +110 -0
  122. package/models/payment-request-class.ts +67 -12
  123. package/models/payout-method-class.ts +6 -0
  124. package/models/update-payment-receipt-response-class.ts +31 -0
  125. package/models/update-payment-request-request-dto.ts +2 -2
  126. package/models/validate-iban-request-dto.ts +30 -0
  127. package/models/validate-iban-response-class.ts +37 -0
  128. package/models/validate-pspconfig-request-dto.ts +2 -2
  129. package/package.json +2 -2
@@ -198,16 +198,16 @@ var RefundsApiAxiosParamCreator = function (configuration) {
198
198
  });
199
199
  },
200
200
  /**
201
- * 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\"
201
+ * 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\"
202
202
  * @summary List refunds
203
203
  * @param {string} [authorization] Bearer Token
204
204
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
205
205
  * @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.
206
- * @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>
206
+ * @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>
207
207
  * @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>
208
208
  * @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>
209
209
  * @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>
210
- * @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>
210
+ * @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>
211
211
  * @param {*} [options] Override http request option.
212
212
  * @throws {RequiredError}
213
213
  */
@@ -323,16 +323,16 @@ var RefundsApiFp = function (configuration) {
323
323
  });
324
324
  },
325
325
  /**
326
- * 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\"
326
+ * 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\"
327
327
  * @summary List refunds
328
328
  * @param {string} [authorization] Bearer Token
329
329
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
330
330
  * @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.
331
- * @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>
331
+ * @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>
332
332
  * @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>
333
333
  * @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>
334
334
  * @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>
335
- * @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>
335
+ * @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>
336
336
  * @param {*} [options] Override http request option.
337
337
  * @throws {RequiredError}
338
338
  */
@@ -383,16 +383,16 @@ var RefundsApiFactory = function (configuration, basePath, axios) {
383
383
  return localVarFp.getRefund(code, authorization, expand, options).then(function (request) { return request(axios, basePath); });
384
384
  },
385
385
  /**
386
- * 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\"
386
+ * 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\"
387
387
  * @summary List refunds
388
388
  * @param {string} [authorization] Bearer Token
389
389
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
390
390
  * @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.
391
- * @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>
391
+ * @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>
392
392
  * @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>
393
393
  * @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>
394
394
  * @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>
395
- * @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>
395
+ * @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>
396
396
  * @param {*} [options] Override http request option.
397
397
  * @throws {RequiredError}
398
398
  */
@@ -438,7 +438,7 @@ var RefundsApi = /** @class */ (function (_super) {
438
438
  return (0, exports.RefundsApiFp)(this.configuration).getRefund(requestParameters.code, requestParameters.authorization, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
439
439
  };
440
440
  /**
441
- * 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\"
441
+ * 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\"
442
442
  * @summary List refunds
443
443
  * @param {RefundsApiListRefundsRequest} requestParameters Request parameters.
444
444
  * @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.
@@ -246,16 +246,16 @@ var TenantBankAccountApiAxiosParamCreator = function (configuration) {
246
246
  });
247
247
  },
248
248
  /**
249
- * 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.
249
+ * 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.
250
250
  * @summary List tenant bank accounts
251
251
  * @param {string} [authorization] Bearer Token
252
252
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
253
253
  * @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.
254
- * @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;
254
+ * @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;
255
255
  * @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;
256
256
  * @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;
257
257
  * @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;
258
- * @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;
258
+ * @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;
259
259
  * @param {*} [options] Override http request option.
260
260
  * @throws {RequiredError}
261
261
  */
@@ -445,16 +445,16 @@ var TenantBankAccountApiFp = function (configuration) {
445
445
  });
446
446
  },
447
447
  /**
448
- * 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.
448
+ * 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.
449
449
  * @summary List tenant bank accounts
450
450
  * @param {string} [authorization] Bearer Token
451
451
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
452
452
  * @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.
453
- * @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;
453
+ * @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;
454
454
  * @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;
455
455
  * @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;
456
456
  * @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;
457
- * @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;
457
+ * @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;
458
458
  * @param {*} [options] Override http request option.
459
459
  * @throws {RequiredError}
460
460
  */
@@ -538,16 +538,16 @@ var TenantBankAccountApiFactory = function (configuration, basePath, axios) {
538
538
  return localVarFp.getTenantBankAccount(code, authorization, expand, options).then(function (request) { return request(axios, basePath); });
539
539
  },
540
540
  /**
541
- * 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.
541
+ * 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.
542
542
  * @summary List tenant bank accounts
543
543
  * @param {string} [authorization] Bearer Token
544
544
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
545
545
  * @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.
546
- * @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;
546
+ * @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;
547
547
  * @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;
548
548
  * @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;
549
549
  * @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;
550
- * @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;
550
+ * @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;
551
551
  * @param {*} [options] Override http request option.
552
552
  * @throws {RequiredError}
553
553
  */
@@ -617,7 +617,7 @@ var TenantBankAccountApi = /** @class */ (function (_super) {
617
617
  return (0, exports.TenantBankAccountApiFp)(this.configuration).getTenantBankAccount(requestParameters.code, requestParameters.authorization, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
618
618
  };
619
619
  /**
620
- * 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.
620
+ * 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.
621
621
  * @summary List tenant bank accounts
622
622
  * @param {TenantBankAccountApiListTenantBankAccountsRequest} requestParameters Request parameters.
623
623
  * @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
  }
@@ -101,12 +101,11 @@ var WebhooksApiAxiosParamCreator = function (configuration) {
101
101
  * @summary Handle the webhook from PSP
102
102
  * @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;
103
103
  * @param {string} tenantSlug Unique slug identifier representing a tenant.
104
- * @param {string} productSlug
105
104
  * @param {object} body Accepts a webhook payload. The structure may vary depending on the payment service provider.
106
105
  * @param {*} [options] Override http request option.
107
106
  * @throws {RequiredError}
108
107
  */
109
- postWebhook: function (pspType, tenantSlug, productSlug, body, options) {
108
+ postWebhook: function (pspType, tenantSlug, body, options) {
110
109
  if (options === void 0) { options = {}; }
111
110
  return __awaiter(_this, void 0, void 0, function () {
112
111
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -115,10 +114,54 @@ var WebhooksApiAxiosParamCreator = function (configuration) {
115
114
  (0, common_1.assertParamExists)('postWebhook', 'pspType', pspType);
116
115
  // verify required parameter 'tenantSlug' is not null or undefined
117
116
  (0, common_1.assertParamExists)('postWebhook', 'tenantSlug', tenantSlug);
118
- // verify required parameter 'productSlug' is not null or undefined
119
- (0, common_1.assertParamExists)('postWebhook', 'productSlug', productSlug);
120
117
  // verify required parameter 'body' is not null or undefined
121
118
  (0, common_1.assertParamExists)('postWebhook', 'body', body);
119
+ localVarPath = "/paymentservice/v1/webhooks/{pspType}/{tenantSlug}"
120
+ .replace("{".concat("pspType", "}"), encodeURIComponent(String(pspType)))
121
+ .replace("{".concat("tenantSlug", "}"), encodeURIComponent(String(tenantSlug)));
122
+ localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
123
+ if (configuration) {
124
+ baseOptions = configuration.baseOptions;
125
+ baseAccessToken = configuration.accessToken;
126
+ }
127
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
128
+ localVarHeaderParameter = {};
129
+ localVarQueryParameter = {};
130
+ localVarHeaderParameter['Content-Type'] = 'application/json';
131
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
132
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
133
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
134
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
135
+ return [2 /*return*/, {
136
+ url: (0, common_1.toPathString)(localVarUrlObj),
137
+ options: localVarRequestOptions,
138
+ }];
139
+ });
140
+ });
141
+ },
142
+ /**
143
+ * This will processes the webhook from external payment service provider. **Required Permissions** none
144
+ * @summary Handle the webhook from PSP
145
+ * @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;
146
+ * @param {string} tenantSlug Unique slug identifier representing a tenant.
147
+ * @param {string} productSlug Optional product slug associated with the webhook.
148
+ * @param {object} body Accepts a webhook payload. The structure may vary depending on the payment service provider.
149
+ * @param {*} [options] Override http request option.
150
+ * @throws {RequiredError}
151
+ */
152
+ postWebhookWithProductSlug: function (pspType, tenantSlug, productSlug, body, options) {
153
+ if (options === void 0) { options = {}; }
154
+ return __awaiter(_this, void 0, void 0, function () {
155
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
156
+ return __generator(this, function (_a) {
157
+ // verify required parameter 'pspType' is not null or undefined
158
+ (0, common_1.assertParamExists)('postWebhookWithProductSlug', 'pspType', pspType);
159
+ // verify required parameter 'tenantSlug' is not null or undefined
160
+ (0, common_1.assertParamExists)('postWebhookWithProductSlug', 'tenantSlug', tenantSlug);
161
+ // verify required parameter 'productSlug' is not null or undefined
162
+ (0, common_1.assertParamExists)('postWebhookWithProductSlug', 'productSlug', productSlug);
163
+ // verify required parameter 'body' is not null or undefined
164
+ (0, common_1.assertParamExists)('postWebhookWithProductSlug', 'body', body);
122
165
  localVarPath = "/paymentservice/v1/webhooks/{pspType}/{tenantSlug}/{productSlug}"
123
166
  .replace("{".concat("pspType", "}"), encodeURIComponent(String(pspType)))
124
167
  .replace("{".concat("tenantSlug", "}"), encodeURIComponent(String(tenantSlug)))
@@ -158,17 +201,39 @@ var WebhooksApiFp = function (configuration) {
158
201
  * @summary Handle the webhook from PSP
159
202
  * @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;
160
203
  * @param {string} tenantSlug Unique slug identifier representing a tenant.
161
- * @param {string} productSlug
162
204
  * @param {object} body Accepts a webhook payload. The structure may vary depending on the payment service provider.
163
205
  * @param {*} [options] Override http request option.
164
206
  * @throws {RequiredError}
165
207
  */
166
- postWebhook: function (pspType, tenantSlug, productSlug, body, options) {
208
+ postWebhook: function (pspType, tenantSlug, body, options) {
167
209
  return __awaiter(this, void 0, void 0, function () {
168
210
  var localVarAxiosArgs;
169
211
  return __generator(this, function (_a) {
170
212
  switch (_a.label) {
171
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.postWebhook(pspType, tenantSlug, productSlug, body, options)];
213
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.postWebhook(pspType, tenantSlug, body, options)];
214
+ case 1:
215
+ localVarAxiosArgs = _a.sent();
216
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
217
+ }
218
+ });
219
+ });
220
+ },
221
+ /**
222
+ * This will processes the webhook from external payment service provider. **Required Permissions** none
223
+ * @summary Handle the webhook from PSP
224
+ * @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;
225
+ * @param {string} tenantSlug Unique slug identifier representing a tenant.
226
+ * @param {string} productSlug Optional product slug associated with the webhook.
227
+ * @param {object} body Accepts a webhook payload. The structure may vary depending on the payment service provider.
228
+ * @param {*} [options] Override http request option.
229
+ * @throws {RequiredError}
230
+ */
231
+ postWebhookWithProductSlug: function (pspType, tenantSlug, productSlug, body, options) {
232
+ return __awaiter(this, void 0, void 0, function () {
233
+ var localVarAxiosArgs;
234
+ return __generator(this, function (_a) {
235
+ switch (_a.label) {
236
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.postWebhookWithProductSlug(pspType, tenantSlug, productSlug, body, options)];
172
237
  case 1:
173
238
  localVarAxiosArgs = _a.sent();
174
239
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -191,13 +256,25 @@ var WebhooksApiFactory = function (configuration, basePath, axios) {
191
256
  * @summary Handle the webhook from PSP
192
257
  * @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;
193
258
  * @param {string} tenantSlug Unique slug identifier representing a tenant.
194
- * @param {string} productSlug
195
259
  * @param {object} body Accepts a webhook payload. The structure may vary depending on the payment service provider.
196
260
  * @param {*} [options] Override http request option.
197
261
  * @throws {RequiredError}
198
262
  */
199
- postWebhook: function (pspType, tenantSlug, productSlug, body, options) {
200
- return localVarFp.postWebhook(pspType, tenantSlug, productSlug, body, options).then(function (request) { return request(axios, basePath); });
263
+ postWebhook: function (pspType, tenantSlug, body, options) {
264
+ return localVarFp.postWebhook(pspType, tenantSlug, body, options).then(function (request) { return request(axios, basePath); });
265
+ },
266
+ /**
267
+ * This will processes the webhook from external payment service provider. **Required Permissions** none
268
+ * @summary Handle the webhook from PSP
269
+ * @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;
270
+ * @param {string} tenantSlug Unique slug identifier representing a tenant.
271
+ * @param {string} productSlug Optional product slug associated with the webhook.
272
+ * @param {object} body Accepts a webhook payload. The structure may vary depending on the payment service provider.
273
+ * @param {*} [options] Override http request option.
274
+ * @throws {RequiredError}
275
+ */
276
+ postWebhookWithProductSlug: function (pspType, tenantSlug, productSlug, body, options) {
277
+ return localVarFp.postWebhookWithProductSlug(pspType, tenantSlug, productSlug, body, options).then(function (request) { return request(axios, basePath); });
201
278
  },
202
279
  };
203
280
  };
@@ -223,7 +300,19 @@ var WebhooksApi = /** @class */ (function (_super) {
223
300
  */
224
301
  WebhooksApi.prototype.postWebhook = function (requestParameters, options) {
225
302
  var _this = this;
226
- 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); });
303
+ return (0, exports.WebhooksApiFp)(this.configuration).postWebhook(requestParameters.pspType, requestParameters.tenantSlug, requestParameters.body, options).then(function (request) { return request(_this.axios, _this.basePath); });
304
+ };
305
+ /**
306
+ * This will processes the webhook from external payment service provider. **Required Permissions** none
307
+ * @summary Handle the webhook from PSP
308
+ * @param {WebhooksApiPostWebhookWithProductSlugRequest} requestParameters Request parameters.
309
+ * @param {*} [options] Override http request option.
310
+ * @throws {RequiredError}
311
+ * @memberof WebhooksApi
312
+ */
313
+ WebhooksApi.prototype.postWebhookWithProductSlug = function (requestParameters, options) {
314
+ var _this = this;
315
+ 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); });
227
316
  };
228
317
  return WebhooksApi;
229
318
  }(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
@@ -132,6 +132,7 @@ var Environment;
132
132
  Environment["Staging"] = "https://apiv2-staging.emil.de";
133
133
  Environment["Development"] = "https://apiv2-dev.emil.de";
134
134
  Environment["ProductionZurich"] = "https://eu-central-2.apiv2.emil.de";
135
+ Environment["StagingZurich"] = "https://eu-central-2.apiv2-staging.emil.de";
135
136
  })(Environment = exports.Environment || (exports.Environment = {}));
136
137
  var _retry_count = 0;
137
138
  var _retry = null;