@emilgroup/payment-sdk 1.13.1-beta.12 → 1.13.1-beta.121

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 (177) hide show
  1. package/.openapi-generator/FILES +31 -1
  2. package/README.md +2 -2
  3. package/api/bank-accounts-api.ts +55 -13
  4. package/api/bank-orders-api.ts +691 -0
  5. package/api/bank-transaction-api.ts +59 -48
  6. package/api/exceeding-credits-api.ts +349 -0
  7. package/api/payment-methods-api.ts +59 -17
  8. package/api/payment-reminders-api.ts +55 -13
  9. package/api/payments-api.ts +180 -17
  10. package/api/policy-payment-methods-api.ts +353 -0
  11. package/api/refunds-api.ts +45 -17
  12. package/api/tenant-bank-account-api.ts +45 -17
  13. package/api.ts +6 -0
  14. package/base.ts +51 -2
  15. package/dist/api/bank-accounts-api.d.ts +35 -8
  16. package/dist/api/bank-accounts-api.js +48 -63
  17. package/dist/api/bank-orders-api.d.ts +393 -0
  18. package/dist/api/bank-orders-api.js +642 -0
  19. package/dist/api/bank-transaction-api.d.ts +39 -31
  20. package/dist/api/bank-transaction-api.js +54 -82
  21. package/dist/api/exceeding-credits-api.d.ts +206 -0
  22. package/dist/api/exceeding-credits-api.js +352 -0
  23. package/dist/api/health-check-api.js +5 -18
  24. package/dist/api/payment-methods-api.d.ts +39 -12
  25. package/dist/api/payment-methods-api.js +42 -45
  26. package/dist/api/payment-reminders-api.d.ts +35 -8
  27. package/dist/api/payment-reminders-api.js +42 -49
  28. package/dist/api/payment-setup-api.js +8 -25
  29. package/dist/api/payments-api.d.ts +104 -12
  30. package/dist/api/payments-api.js +143 -45
  31. package/dist/api/policy-payment-methods-api.d.ts +207 -0
  32. package/dist/api/policy-payment-methods-api.js +353 -0
  33. package/dist/api/refunds-api.d.ts +28 -10
  34. package/dist/api/refunds-api.js +34 -43
  35. package/dist/api/tenant-bank-account-api.d.ts +28 -10
  36. package/dist/api/tenant-bank-account-api.js +40 -57
  37. package/dist/api/webhooks-api.js +5 -18
  38. package/dist/api.d.ts +3 -0
  39. package/dist/api.js +3 -0
  40. package/dist/base.d.ts +10 -1
  41. package/dist/base.js +51 -7
  42. package/dist/common.d.ts +1 -1
  43. package/dist/common.js +2 -2
  44. package/dist/models/bank-order-class.d.ts +122 -0
  45. package/dist/models/bank-order-xml-file-class.d.ts +72 -0
  46. package/dist/models/bank-order-xml-file-class.js +15 -0
  47. package/dist/models/bank-transaction-class-without-expand-properties.d.ts +18 -18
  48. package/dist/models/bank-transaction-class-without-expand-properties.js +5 -0
  49. package/dist/models/bank-transaction-class.d.ts +22 -22
  50. package/dist/models/bank-transaction-class.js +5 -0
  51. package/dist/models/bank-transaction-invoice-class.d.ts +60 -0
  52. package/dist/models/bank-transaction-invoice-class.js +15 -0
  53. package/dist/models/bank-transfer-dto.d.ts +25 -0
  54. package/dist/models/bank-transfer-dto.js +15 -0
  55. package/dist/models/billing-address-dto.d.ts +54 -0
  56. package/dist/models/billing-address-dto.js +15 -0
  57. package/dist/models/complete-adyen-payment-setup-request-dto.d.ts +2 -0
  58. package/dist/models/complete-adyen-payment-setup-request-dto.js +3 -1
  59. package/dist/models/complete-eis-payment-setup-request-dto.d.ts +36 -0
  60. package/dist/models/complete-eis-payment-setup-request-dto.js +15 -0
  61. package/dist/models/complete-payment-setup-request-dto.d.ts +7 -0
  62. package/dist/models/complete-stripe-payment-setup-request-dto.d.ts +2 -0
  63. package/dist/models/complete-stripe-payment-setup-request-dto.js +3 -1
  64. package/dist/models/create-bank-order-request-dto.d.ts +74 -0
  65. package/dist/models/create-bank-order-request-dto.js +28 -0
  66. package/dist/models/create-bank-order-response-class.d.ts +25 -0
  67. package/dist/models/create-bank-order-response-class.js +15 -0
  68. package/dist/models/create-payment-order-dto.d.ts +48 -0
  69. package/dist/models/create-payment-order-dto.js +15 -0
  70. package/dist/models/create-payment-order-request-dto.d.ts +48 -0
  71. package/dist/models/create-payment-order-request-dto.js +15 -0
  72. package/dist/models/create-payment-reminder-request-dto.d.ts +7 -1
  73. package/dist/models/create-payment-request-dto.d.ts +7 -1
  74. package/dist/models/create-policy-payment-method-request-dto.d.ts +30 -0
  75. package/dist/models/create-policy-payment-method-request-dto.js +15 -0
  76. package/dist/models/create-policy-payment-method-response-class.d.ts +25 -0
  77. package/dist/models/create-policy-payment-method-response-class.js +15 -0
  78. package/dist/models/create-psp-payment-method-request-dto.d.ts +29 -1
  79. package/dist/models/create-psp-payment-method-request-dto.js +3 -1
  80. package/dist/models/deactivated-payment-reminder-class.d.ts +7 -1
  81. package/dist/models/eis-sepa-debit-dto.d.ts +55 -0
  82. package/dist/models/eis-sepa-debit-dto.js +15 -0
  83. package/dist/models/exceeding-credit-class.d.ts +116 -0
  84. package/dist/models/exceeding-credit-class.js +29 -0
  85. package/dist/models/financial-account-class.d.ts +111 -0
  86. package/dist/models/financial-account-class.js +24 -0
  87. package/dist/models/get-bank-order-response-class.d.ts +25 -0
  88. package/dist/models/get-bank-order-response-class.js +15 -0
  89. package/dist/models/get-exceeding-credit-response-class.d.ts +25 -0
  90. package/dist/models/get-exceeding-credit-response-class.js +15 -0
  91. package/dist/models/index.d.ts +28 -1
  92. package/dist/models/index.js +28 -1
  93. package/dist/models/initiate-adyen-payment-setup-request-dto.d.ts +6 -0
  94. package/dist/models/initiate-braintree-payment-setup-request-dto.d.ts +6 -0
  95. package/dist/models/initiate-eis-payment-setup-request-dto.d.ts +36 -0
  96. package/dist/models/initiate-eis-payment-setup-request-dto.js +15 -0
  97. package/dist/models/initiate-payment-setup-request-dto.d.ts +3 -2
  98. package/dist/models/initiate-stripe-payment-setup-request-dto.d.ts +6 -0
  99. package/dist/models/{unlink-bank-transaction-request-dto-rest.d.ts → invoice-allocation-dto.d.ts} +10 -4
  100. package/dist/models/invoice-allocation-dto.js +15 -0
  101. package/dist/models/link-bank-transaction-request-dto-rest.d.ts +4 -3
  102. package/dist/models/list-bank-orders-response-class.d.ts +31 -0
  103. package/dist/models/list-bank-orders-response-class.js +15 -0
  104. package/dist/models/list-exceeding-credits-response-class.d.ts +31 -0
  105. package/dist/models/list-exceeding-credits-response-class.js +15 -0
  106. package/dist/models/list-policy-payment-methods-response-class.d.ts +31 -0
  107. package/dist/models/list-policy-payment-methods-response-class.js +15 -0
  108. package/dist/models/mandate-dto.d.ts +43 -0
  109. package/dist/models/mandate-dto.js +15 -0
  110. package/dist/models/mandate-hash-data-dto.d.ts +42 -0
  111. package/dist/models/mandate-hash-data-dto.js +15 -0
  112. package/dist/models/mandate-reference-class.d.ts +90 -0
  113. package/dist/models/mandate-reference-class.js +15 -0
  114. package/dist/models/payment-class-without-expand-properties.d.ts +7 -1
  115. package/dist/models/payment-class.d.ts +7 -1
  116. package/dist/models/payment-method-class.d.ts +6 -0
  117. package/dist/models/payment-reminder-class.d.ts +7 -1
  118. package/dist/models/policy-payment-method-class.d.ts +86 -0
  119. package/dist/models/policy-payment-method-class.js +15 -0
  120. package/dist/models/refund-class.d.ts +7 -1
  121. package/dist/models/unlinked-bank-transaction-response-class.d.ts +18 -0
  122. package/dist/models/unlinked-bank-transaction-response-class.js +5 -0
  123. package/dist/models/update-bank-order-request-dto.d.ts +62 -0
  124. package/dist/models/update-bank-order-request-dto.js +23 -0
  125. package/dist/models/update-bank-order-response-class.d.ts +25 -0
  126. package/dist/models/update-bank-order-response-class.js +15 -0
  127. package/models/bank-order-class.ts +128 -0
  128. package/models/bank-order-xml-file-class.ts +78 -0
  129. package/models/bank-transaction-class-without-expand-properties.ts +21 -18
  130. package/models/bank-transaction-class.ts +25 -22
  131. package/models/bank-transaction-invoice-class.ts +66 -0
  132. package/models/bank-transfer-dto.ts +31 -0
  133. package/models/billing-address-dto.ts +60 -0
  134. package/models/complete-adyen-payment-setup-request-dto.ts +3 -1
  135. package/models/complete-eis-payment-setup-request-dto.ts +42 -0
  136. package/models/complete-payment-setup-request-dto.ts +7 -0
  137. package/models/complete-stripe-payment-setup-request-dto.ts +3 -1
  138. package/models/create-bank-order-request-dto.ts +84 -0
  139. package/models/create-bank-order-response-class.ts +31 -0
  140. package/models/create-payment-order-dto.ts +54 -0
  141. package/models/create-payment-order-request-dto.ts +54 -0
  142. package/models/create-payment-reminder-request-dto.ts +7 -1
  143. package/models/create-payment-request-dto.ts +7 -1
  144. package/models/create-policy-payment-method-request-dto.ts +36 -0
  145. package/models/create-policy-payment-method-response-class.ts +31 -0
  146. package/models/create-psp-payment-method-request-dto.ts +30 -2
  147. package/models/deactivated-payment-reminder-class.ts +7 -1
  148. package/models/eis-sepa-debit-dto.ts +61 -0
  149. package/models/exceeding-credit-class.ts +125 -0
  150. package/models/financial-account-class.ts +120 -0
  151. package/models/get-bank-order-response-class.ts +31 -0
  152. package/models/get-exceeding-credit-response-class.ts +31 -0
  153. package/models/index.ts +28 -1
  154. package/models/initiate-adyen-payment-setup-request-dto.ts +6 -0
  155. package/models/initiate-braintree-payment-setup-request-dto.ts +6 -0
  156. package/models/initiate-eis-payment-setup-request-dto.ts +42 -0
  157. package/models/initiate-payment-setup-request-dto.ts +3 -2
  158. package/models/initiate-stripe-payment-setup-request-dto.ts +6 -0
  159. package/models/{unlink-bank-transaction-request-dto-rest.ts → invoice-allocation-dto.ts} +10 -4
  160. package/models/link-bank-transaction-request-dto-rest.ts +4 -3
  161. package/models/list-bank-orders-response-class.ts +37 -0
  162. package/models/list-exceeding-credits-response-class.ts +37 -0
  163. package/models/list-policy-payment-methods-response-class.ts +37 -0
  164. package/models/mandate-dto.ts +49 -0
  165. package/models/mandate-hash-data-dto.ts +48 -0
  166. package/models/mandate-reference-class.ts +96 -0
  167. package/models/payment-class-without-expand-properties.ts +7 -1
  168. package/models/payment-class.ts +7 -1
  169. package/models/payment-method-class.ts +6 -0
  170. package/models/payment-reminder-class.ts +7 -1
  171. package/models/policy-payment-method-class.ts +92 -0
  172. package/models/refund-class.ts +7 -1
  173. package/models/unlinked-bank-transaction-response-class.ts +21 -0
  174. package/models/update-bank-order-request-dto.ts +71 -0
  175. package/models/update-bank-order-response-class.ts +31 -0
  176. package/package.json +3 -3
  177. /package/dist/models/{unlink-bank-transaction-request-dto-rest.js → bank-order-class.js} +0 -0
@@ -48,8 +48,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
48
48
  });
49
49
  };
50
50
  var __generator = (this && this.__generator) || function (thisArg, body) {
51
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
52
- return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
51
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
52
+ return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
53
53
  function verb(n) { return function (v) { return step([n, v]); }; }
54
54
  function step(op) {
55
55
  if (f) throw new TypeError("Generator is already executing.");
@@ -74,15 +74,6 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
74
74
  if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
75
75
  }
76
76
  };
77
- var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
78
- if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
79
- if (ar || !(i in from)) {
80
- if (!ar) ar = Array.prototype.slice.call(from, 0, i);
81
- ar[i] = from[i];
82
- }
83
- }
84
- return to.concat(ar || Array.prototype.slice.call(from));
85
- };
86
77
  var __importDefault = (this && this.__importDefault) || function (mod) {
87
78
  return (mod && mod.__esModule) ? mod : { "default": mod };
88
79
  };
@@ -109,14 +100,10 @@ var RefundsApiAxiosParamCreator = function (configuration) {
109
100
  * @param {*} [options] Override http request option.
110
101
  * @throws {RequiredError}
111
102
  */
112
- createRefund: function (createRefundRequestDto_1, authorization_1) {
113
- var args_1 = [];
114
- for (var _i = 2; _i < arguments.length; _i++) {
115
- args_1[_i - 2] = arguments[_i];
116
- }
117
- return __awaiter(_this, __spreadArray([createRefundRequestDto_1, authorization_1], args_1, true), void 0, function (createRefundRequestDto, authorization, options) {
103
+ createRefund: function (createRefundRequestDto, authorization, options) {
104
+ if (options === void 0) { options = {}; }
105
+ return __awaiter(_this, void 0, void 0, function () {
118
106
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
119
- if (options === void 0) { options = {}; }
120
107
  return __generator(this, function (_a) {
121
108
  switch (_a.label) {
122
109
  case 0:
@@ -163,14 +150,10 @@ var RefundsApiAxiosParamCreator = function (configuration) {
163
150
  * @param {*} [options] Override http request option.
164
151
  * @throws {RequiredError}
165
152
  */
166
- getRefund: function (code_1, authorization_1, expand_1) {
167
- var args_1 = [];
168
- for (var _i = 3; _i < arguments.length; _i++) {
169
- args_1[_i - 3] = arguments[_i];
170
- }
171
- return __awaiter(_this, __spreadArray([code_1, authorization_1, expand_1], args_1, true), void 0, function (code, authorization, expand, options) {
153
+ getRefund: function (code, authorization, expand, options) {
154
+ if (options === void 0) { options = {}; }
155
+ return __awaiter(_this, void 0, void 0, function () {
172
156
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
173
- if (options === void 0) { options = {}; }
174
157
  return __generator(this, function (_a) {
175
158
  switch (_a.label) {
176
159
  case 0:
@@ -214,22 +197,20 @@ var RefundsApiAxiosParamCreator = function (configuration) {
214
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\"
215
198
  * @summary List refunds
216
199
  * @param {string} [authorization] Bearer Token
200
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
217
202
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, status, reason, psp, accountCode, invoiceCode&lt;/i&gt;
218
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, status, reason, psp, accountCode, invoiceCode&lt;/i&gt;
219
203
  * @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, createdAt, updatedAt, amount, psp, accountCode, invoiceCode, reason, status&lt;/i&gt;
220
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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, updatedAt, amount&lt;/i&gt;
221
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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: refundItems&lt;i&gt;
206
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, status, reason, psp, accountCode, invoiceCode&lt;/i&gt;
222
207
  * @param {*} [options] Override http request option.
223
208
  * @throws {RequiredError}
224
209
  */
225
- listRefunds: function (authorization_1, filter_1, filters_1, search_1, order_1, expand_1) {
226
- var args_1 = [];
227
- for (var _i = 6; _i < arguments.length; _i++) {
228
- args_1[_i - 6] = arguments[_i];
229
- }
230
- return __awaiter(_this, __spreadArray([authorization_1, filter_1, filters_1, search_1, order_1, expand_1], args_1, true), void 0, function (authorization, filter, filters, search, order, expand, options) {
210
+ listRefunds: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
211
+ if (options === void 0) { options = {}; }
212
+ return __awaiter(_this, void 0, void 0, function () {
231
213
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
232
- if (options === void 0) { options = {}; }
233
214
  return __generator(this, function (_a) {
234
215
  switch (_a.label) {
235
216
  case 0:
@@ -249,12 +230,15 @@ var RefundsApiAxiosParamCreator = function (configuration) {
249
230
  // authentication bearer required
250
231
  // http bearer authentication required
251
232
  _a.sent();
233
+ if (pageSize !== undefined) {
234
+ localVarQueryParameter['pageSize'] = pageSize;
235
+ }
236
+ if (pageToken !== undefined) {
237
+ localVarQueryParameter['pageToken'] = pageToken;
238
+ }
252
239
  if (filter !== undefined) {
253
240
  localVarQueryParameter['filter'] = filter;
254
241
  }
255
- if (filters !== undefined) {
256
- localVarQueryParameter['filters'] = filters;
257
- }
258
242
  if (search !== undefined) {
259
243
  localVarQueryParameter['search'] = search;
260
244
  }
@@ -264,6 +248,9 @@ var RefundsApiAxiosParamCreator = function (configuration) {
264
248
  if (expand !== undefined) {
265
249
  localVarQueryParameter['expand'] = expand;
266
250
  }
251
+ if (filters !== undefined) {
252
+ localVarQueryParameter['filters'] = filters;
253
+ }
267
254
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
268
255
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
269
256
  }
@@ -335,20 +322,22 @@ var RefundsApiFp = function (configuration) {
335
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\"
336
323
  * @summary List refunds
337
324
  * @param {string} [authorization] Bearer Token
325
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
338
327
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, status, reason, psp, accountCode, invoiceCode&lt;/i&gt;
339
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, status, reason, psp, accountCode, invoiceCode&lt;/i&gt;
340
328
  * @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, createdAt, updatedAt, amount, psp, accountCode, invoiceCode, reason, status&lt;/i&gt;
341
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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, updatedAt, amount&lt;/i&gt;
342
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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: refundItems&lt;i&gt;
331
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, status, reason, psp, accountCode, invoiceCode&lt;/i&gt;
343
332
  * @param {*} [options] Override http request option.
344
333
  * @throws {RequiredError}
345
334
  */
346
- listRefunds: function (authorization, filter, filters, search, order, expand, options) {
335
+ listRefunds: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
347
336
  return __awaiter(this, void 0, void 0, function () {
348
337
  var localVarAxiosArgs;
349
338
  return __generator(this, function (_a) {
350
339
  switch (_a.label) {
351
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.listRefunds(authorization, filter, filters, search, order, expand, options)];
340
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.listRefunds(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
352
341
  case 1:
353
342
  localVarAxiosArgs = _a.sent();
354
343
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -393,16 +382,18 @@ var RefundsApiFactory = function (configuration, basePath, axios) {
393
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\"
394
383
  * @summary List refunds
395
384
  * @param {string} [authorization] Bearer Token
385
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
396
387
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, status, reason, psp, accountCode, invoiceCode&lt;/i&gt;
397
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, status, reason, psp, accountCode, invoiceCode&lt;/i&gt;
398
388
  * @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, createdAt, updatedAt, amount, psp, accountCode, invoiceCode, reason, status&lt;/i&gt;
399
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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, updatedAt, amount&lt;/i&gt;
400
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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: refundItems&lt;i&gt;
391
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, status, reason, psp, accountCode, invoiceCode&lt;/i&gt;
401
392
  * @param {*} [options] Override http request option.
402
393
  * @throws {RequiredError}
403
394
  */
404
- listRefunds: function (authorization, filter, filters, search, order, expand, options) {
405
- return localVarFp.listRefunds(authorization, filter, filters, search, order, expand, options).then(function (request) { return request(axios, basePath); });
395
+ listRefunds: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
396
+ return localVarFp.listRefunds(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
406
397
  },
407
398
  };
408
399
  };
@@ -453,7 +444,7 @@ var RefundsApi = /** @class */ (function (_super) {
453
444
  RefundsApi.prototype.listRefunds = function (requestParameters, options) {
454
445
  var _this = this;
455
446
  if (requestParameters === void 0) { requestParameters = {}; }
456
- return (0, exports.RefundsApiFp)(this.configuration).listRefunds(requestParameters.authorization, requestParameters.filter, requestParameters.filters, requestParameters.search, requestParameters.order, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
447
+ return (0, exports.RefundsApiFp)(this.configuration).listRefunds(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
457
448
  };
458
449
  return RefundsApi;
459
450
  }(base_1.BaseAPI));
@@ -55,15 +55,17 @@ export declare const TenantBankAccountApiAxiosParamCreator: (configuration?: Con
55
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
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
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.
58
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&lt;/i&gt;
59
- * @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&lt;/i&gt;
60
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;
61
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&lt;/i&gt;
62
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&lt;/i&gt;
63
65
  * @param {*} [options] Override http request option.
64
66
  * @throws {RequiredError}
65
67
  */
66
- listTenantBankAccounts: (authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
68
+ listTenantBankAccounts: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
67
69
  /**
68
70
  * Update a tenant bank account by code
69
71
  * @summary Update the tenant bank account
@@ -112,15 +114,17 @@ export declare const TenantBankAccountApiFp: (configuration?: Configuration) =>
112
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.
113
115
  * @summary List tenant bank accounts
114
116
  * @param {string} [authorization] Bearer Token
117
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
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.
115
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&lt;/i&gt;
116
- * @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&lt;/i&gt;
117
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;
118
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&lt;/i&gt;
119
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&lt;/i&gt;
120
124
  * @param {*} [options] Override http request option.
121
125
  * @throws {RequiredError}
122
126
  */
123
- listTenantBankAccounts(authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListTenantBankAccountResponseClass>>;
127
+ listTenantBankAccounts(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListTenantBankAccountResponseClass>>;
124
128
  /**
125
129
  * Update a tenant bank account by code
126
130
  * @summary Update the tenant bank account
@@ -169,15 +173,17 @@ export declare const TenantBankAccountApiFactory: (configuration?: Configuration
169
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.
170
174
  * @summary List tenant bank accounts
171
175
  * @param {string} [authorization] Bearer Token
176
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
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.
172
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&lt;/i&gt;
173
- * @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&lt;/i&gt;
174
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;
175
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&lt;/i&gt;
176
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&lt;/i&gt;
177
183
  * @param {*} [options] Override http request option.
178
184
  * @throws {RequiredError}
179
185
  */
180
- listTenantBankAccounts(authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListTenantBankAccountResponseClass>;
186
+ listTenantBankAccounts(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListTenantBankAccountResponseClass>;
181
187
  /**
182
188
  * Update a tenant bank account by code
183
189
  * @summary Update the tenant bank account
@@ -265,17 +271,23 @@ export interface TenantBankAccountApiListTenantBankAccountsRequest {
265
271
  */
266
272
  readonly authorization?: string;
267
273
  /**
268
- * 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&lt;/i&gt;
274
+ * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
275
+ * @type {number}
276
+ * @memberof TenantBankAccountApiListTenantBankAccounts
277
+ */
278
+ readonly pageSize?: number;
279
+ /**
280
+ * 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.
269
281
  * @type {string}
270
282
  * @memberof TenantBankAccountApiListTenantBankAccounts
271
283
  */
272
- readonly filter?: string;
284
+ readonly pageToken?: string;
273
285
  /**
274
- * 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&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&lt;/i&gt;
275
287
  * @type {string}
276
288
  * @memberof TenantBankAccountApiListTenantBankAccounts
277
289
  */
278
- readonly filters?: string;
290
+ readonly filter?: string;
279
291
  /**
280
292
  * 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;
281
293
  * @type {string}
@@ -294,6 +306,12 @@ export interface TenantBankAccountApiListTenantBankAccountsRequest {
294
306
  * @memberof TenantBankAccountApiListTenantBankAccounts
295
307
  */
296
308
  readonly expand?: string;
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&lt;/i&gt;
311
+ * @type {string}
312
+ * @memberof TenantBankAccountApiListTenantBankAccounts
313
+ */
314
+ readonly filters?: string;
297
315
  }
298
316
  /**
299
317
  * Request parameters for updateTenantBankAccount operation in TenantBankAccountApi.
@@ -48,8 +48,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
48
48
  });
49
49
  };
50
50
  var __generator = (this && this.__generator) || function (thisArg, body) {
51
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
52
- return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
51
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
52
+ return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
53
53
  function verb(n) { return function (v) { return step([n, v]); }; }
54
54
  function step(op) {
55
55
  if (f) throw new TypeError("Generator is already executing.");
@@ -74,15 +74,6 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
74
74
  if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
75
75
  }
76
76
  };
77
- var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
78
- if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
79
- if (ar || !(i in from)) {
80
- if (!ar) ar = Array.prototype.slice.call(from, 0, i);
81
- ar[i] = from[i];
82
- }
83
- }
84
- return to.concat(ar || Array.prototype.slice.call(from));
85
- };
86
77
  var __importDefault = (this && this.__importDefault) || function (mod) {
87
78
  return (mod && mod.__esModule) ? mod : { "default": mod };
88
79
  };
@@ -109,14 +100,10 @@ var TenantBankAccountApiAxiosParamCreator = function (configuration) {
109
100
  * @param {*} [options] Override http request option.
110
101
  * @throws {RequiredError}
111
102
  */
112
- createTenantBankAccount: function (createTenantBankAccountRequestDto_1, authorization_1) {
113
- var args_1 = [];
114
- for (var _i = 2; _i < arguments.length; _i++) {
115
- args_1[_i - 2] = arguments[_i];
116
- }
117
- return __awaiter(_this, __spreadArray([createTenantBankAccountRequestDto_1, authorization_1], args_1, true), void 0, function (createTenantBankAccountRequestDto, authorization, options) {
103
+ createTenantBankAccount: function (createTenantBankAccountRequestDto, authorization, options) {
104
+ if (options === void 0) { options = {}; }
105
+ return __awaiter(_this, void 0, void 0, function () {
118
106
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
119
- if (options === void 0) { options = {}; }
120
107
  return __generator(this, function (_a) {
121
108
  switch (_a.label) {
122
109
  case 0:
@@ -162,14 +149,10 @@ var TenantBankAccountApiAxiosParamCreator = function (configuration) {
162
149
  * @param {*} [options] Override http request option.
163
150
  * @throws {RequiredError}
164
151
  */
165
- deleteTenantBankAccount: function (code_1, authorization_1) {
166
- var args_1 = [];
167
- for (var _i = 2; _i < arguments.length; _i++) {
168
- args_1[_i - 2] = arguments[_i];
169
- }
170
- return __awaiter(_this, __spreadArray([code_1, authorization_1], args_1, true), void 0, function (code, authorization, options) {
152
+ deleteTenantBankAccount: function (code, authorization, options) {
153
+ if (options === void 0) { options = {}; }
154
+ return __awaiter(_this, void 0, void 0, function () {
171
155
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
172
- if (options === void 0) { options = {}; }
173
156
  return __generator(this, function (_a) {
174
157
  switch (_a.label) {
175
158
  case 0:
@@ -215,14 +198,10 @@ var TenantBankAccountApiAxiosParamCreator = function (configuration) {
215
198
  * @param {*} [options] Override http request option.
216
199
  * @throws {RequiredError}
217
200
  */
218
- getTenantBankAccount: function (code_1, authorization_1, expand_1) {
219
- var args_1 = [];
220
- for (var _i = 3; _i < arguments.length; _i++) {
221
- args_1[_i - 3] = arguments[_i];
222
- }
223
- return __awaiter(_this, __spreadArray([code_1, authorization_1, expand_1], args_1, true), void 0, function (code, authorization, expand, options) {
201
+ getTenantBankAccount: function (code, authorization, expand, options) {
202
+ if (options === void 0) { options = {}; }
203
+ return __awaiter(_this, void 0, void 0, function () {
224
204
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
225
- if (options === void 0) { options = {}; }
226
205
  return __generator(this, function (_a) {
227
206
  switch (_a.label) {
228
207
  case 0:
@@ -266,22 +245,20 @@ var TenantBankAccountApiAxiosParamCreator = function (configuration) {
266
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.
267
246
  * @summary List tenant bank accounts
268
247
  * @param {string} [authorization] Bearer Token
248
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
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.
269
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&lt;/i&gt;
270
- * @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&lt;/i&gt;
271
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;
272
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&lt;/i&gt;
273
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&lt;/i&gt;
274
255
  * @param {*} [options] Override http request option.
275
256
  * @throws {RequiredError}
276
257
  */
277
- listTenantBankAccounts: function (authorization_1, filter_1, filters_1, search_1, order_1, expand_1) {
278
- var args_1 = [];
279
- for (var _i = 6; _i < arguments.length; _i++) {
280
- args_1[_i - 6] = arguments[_i];
281
- }
282
- return __awaiter(_this, __spreadArray([authorization_1, filter_1, filters_1, search_1, order_1, expand_1], args_1, true), void 0, function (authorization, filter, filters, search, order, expand, options) {
258
+ listTenantBankAccounts: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
259
+ if (options === void 0) { options = {}; }
260
+ return __awaiter(_this, void 0, void 0, function () {
283
261
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
284
- if (options === void 0) { options = {}; }
285
262
  return __generator(this, function (_a) {
286
263
  switch (_a.label) {
287
264
  case 0:
@@ -301,12 +278,15 @@ var TenantBankAccountApiAxiosParamCreator = function (configuration) {
301
278
  // authentication bearer required
302
279
  // http bearer authentication required
303
280
  _a.sent();
281
+ if (pageSize !== undefined) {
282
+ localVarQueryParameter['pageSize'] = pageSize;
283
+ }
284
+ if (pageToken !== undefined) {
285
+ localVarQueryParameter['pageToken'] = pageToken;
286
+ }
304
287
  if (filter !== undefined) {
305
288
  localVarQueryParameter['filter'] = filter;
306
289
  }
307
- if (filters !== undefined) {
308
- localVarQueryParameter['filters'] = filters;
309
- }
310
290
  if (search !== undefined) {
311
291
  localVarQueryParameter['search'] = search;
312
292
  }
@@ -316,6 +296,9 @@ var TenantBankAccountApiAxiosParamCreator = function (configuration) {
316
296
  if (expand !== undefined) {
317
297
  localVarQueryParameter['expand'] = expand;
318
298
  }
299
+ if (filters !== undefined) {
300
+ localVarQueryParameter['filters'] = filters;
301
+ }
319
302
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
320
303
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
321
304
  }
@@ -339,14 +322,10 @@ var TenantBankAccountApiAxiosParamCreator = function (configuration) {
339
322
  * @param {*} [options] Override http request option.
340
323
  * @throws {RequiredError}
341
324
  */
342
- updateTenantBankAccount: function (code_1, updateTenantBankAccountRestRequestDto_1, authorization_1) {
343
- var args_1 = [];
344
- for (var _i = 3; _i < arguments.length; _i++) {
345
- args_1[_i - 3] = arguments[_i];
346
- }
347
- return __awaiter(_this, __spreadArray([code_1, updateTenantBankAccountRestRequestDto_1, authorization_1], args_1, true), void 0, function (code, updateTenantBankAccountRestRequestDto, authorization, options) {
325
+ updateTenantBankAccount: function (code, updateTenantBankAccountRestRequestDto, authorization, options) {
326
+ if (options === void 0) { options = {}; }
327
+ return __awaiter(_this, void 0, void 0, function () {
348
328
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
349
- if (options === void 0) { options = {}; }
350
329
  return __generator(this, function (_a) {
351
330
  switch (_a.label) {
352
331
  case 0:
@@ -465,20 +444,22 @@ var TenantBankAccountApiFp = function (configuration) {
465
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.
466
445
  * @summary List tenant bank accounts
467
446
  * @param {string} [authorization] Bearer Token
447
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
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.
468
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&lt;/i&gt;
469
- * @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&lt;/i&gt;
470
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;
471
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&lt;/i&gt;
472
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&lt;/i&gt;
473
454
  * @param {*} [options] Override http request option.
474
455
  * @throws {RequiredError}
475
456
  */
476
- listTenantBankAccounts: function (authorization, filter, filters, search, order, expand, options) {
457
+ listTenantBankAccounts: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
477
458
  return __awaiter(this, void 0, void 0, function () {
478
459
  var localVarAxiosArgs;
479
460
  return __generator(this, function (_a) {
480
461
  switch (_a.label) {
481
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.listTenantBankAccounts(authorization, filter, filters, search, order, expand, options)];
462
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.listTenantBankAccounts(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
482
463
  case 1:
483
464
  localVarAxiosArgs = _a.sent();
484
465
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -556,16 +537,18 @@ var TenantBankAccountApiFactory = function (configuration, basePath, axios) {
556
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.
557
538
  * @summary List tenant bank accounts
558
539
  * @param {string} [authorization] Bearer Token
540
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
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.
559
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&lt;/i&gt;
560
- * @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&lt;/i&gt;
561
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;
562
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&lt;/i&gt;
563
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&lt;/i&gt;
564
547
  * @param {*} [options] Override http request option.
565
548
  * @throws {RequiredError}
566
549
  */
567
- listTenantBankAccounts: function (authorization, filter, filters, search, order, expand, options) {
568
- return localVarFp.listTenantBankAccounts(authorization, filter, filters, search, order, expand, options).then(function (request) { return request(axios, basePath); });
550
+ listTenantBankAccounts: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
551
+ return localVarFp.listTenantBankAccounts(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
569
552
  },
570
553
  /**
571
554
  * Update a tenant bank account by code
@@ -640,7 +623,7 @@ var TenantBankAccountApi = /** @class */ (function (_super) {
640
623
  TenantBankAccountApi.prototype.listTenantBankAccounts = function (requestParameters, options) {
641
624
  var _this = this;
642
625
  if (requestParameters === void 0) { requestParameters = {}; }
643
- return (0, exports.TenantBankAccountApiFp)(this.configuration).listTenantBankAccounts(requestParameters.authorization, requestParameters.filter, requestParameters.filters, requestParameters.search, requestParameters.order, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
626
+ return (0, exports.TenantBankAccountApiFp)(this.configuration).listTenantBankAccounts(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
644
627
  };
645
628
  /**
646
629
  * Update a tenant bank account by code
@@ -48,8 +48,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
48
48
  });
49
49
  };
50
50
  var __generator = (this && this.__generator) || function (thisArg, body) {
51
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
52
- return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
51
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
52
+ return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
53
53
  function verb(n) { return function (v) { return step([n, v]); }; }
54
54
  function step(op) {
55
55
  if (f) throw new TypeError("Generator is already executing.");
@@ -74,15 +74,6 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
74
74
  if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
75
75
  }
76
76
  };
77
- var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
78
- if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
79
- if (ar || !(i in from)) {
80
- if (!ar) ar = Array.prototype.slice.call(from, 0, i);
81
- ar[i] = from[i];
82
- }
83
- }
84
- return to.concat(ar || Array.prototype.slice.call(from));
85
- };
86
77
  var __importDefault = (this && this.__importDefault) || function (mod) {
87
78
  return (mod && mod.__esModule) ? mod : { "default": mod };
88
79
  };
@@ -111,14 +102,10 @@ var WebhooksApiAxiosParamCreator = function (configuration) {
111
102
  * @param {*} [options] Override http request option.
112
103
  * @throws {RequiredError}
113
104
  */
114
- postWebhook: function (pspType_1, tenantSlug_1, productSlug_1, body_1) {
115
- var args_1 = [];
116
- for (var _i = 4; _i < arguments.length; _i++) {
117
- args_1[_i - 4] = arguments[_i];
118
- }
119
- return __awaiter(_this, __spreadArray([pspType_1, tenantSlug_1, productSlug_1, body_1], args_1, true), void 0, function (pspType, tenantSlug, productSlug, body, options) {
105
+ postWebhook: function (pspType, tenantSlug, productSlug, body, options) {
106
+ if (options === void 0) { options = {}; }
107
+ return __awaiter(_this, void 0, void 0, function () {
120
108
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
121
- if (options === void 0) { options = {}; }
122
109
  return __generator(this, function (_a) {
123
110
  // verify required parameter 'pspType' is not null or undefined
124
111
  (0, common_1.assertParamExists)('postWebhook', 'pspType', pspType);
package/dist/api.d.ts CHANGED
@@ -10,12 +10,15 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  export * from './api/bank-accounts-api';
13
+ export * from './api/bank-orders-api';
13
14
  export * from './api/bank-transaction-api';
15
+ export * from './api/exceeding-credits-api';
14
16
  export * from './api/health-check-api';
15
17
  export * from './api/payment-methods-api';
16
18
  export * from './api/payment-reminders-api';
17
19
  export * from './api/payment-setup-api';
18
20
  export * from './api/payments-api';
21
+ export * from './api/policy-payment-methods-api';
19
22
  export * from './api/refunds-api';
20
23
  export * from './api/tenant-bank-account-api';
21
24
  export * from './api/webhooks-api';
package/dist/api.js CHANGED
@@ -28,12 +28,15 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
28
28
  };
29
29
  Object.defineProperty(exports, "__esModule", { value: true });
30
30
  __exportStar(require("./api/bank-accounts-api"), exports);
31
+ __exportStar(require("./api/bank-orders-api"), exports);
31
32
  __exportStar(require("./api/bank-transaction-api"), exports);
33
+ __exportStar(require("./api/exceeding-credits-api"), exports);
32
34
  __exportStar(require("./api/health-check-api"), exports);
33
35
  __exportStar(require("./api/payment-methods-api"), exports);
34
36
  __exportStar(require("./api/payment-reminders-api"), exports);
35
37
  __exportStar(require("./api/payment-setup-api"), exports);
36
38
  __exportStar(require("./api/payments-api"), exports);
39
+ __exportStar(require("./api/policy-payment-methods-api"), exports);
37
40
  __exportStar(require("./api/refunds-api"), exports);
38
41
  __exportStar(require("./api/tenant-bank-account-api"), exports);
39
42
  __exportStar(require("./api/webhooks-api"), exports);