@emilgroup/payment-sdk 1.13.1-beta.9 → 1.13.1-beta.91

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 (154) hide show
  1. package/.openapi-generator/FILES +25 -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 +63 -52
  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 +188 -21
  10. package/api/policy-payment-methods-api.ts +165 -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 +29 -11
  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 +43 -35
  20. package/dist/api/bank-transaction-api.js +39 -34
  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/payment-methods-api.d.ts +39 -12
  24. package/dist/api/payment-methods-api.js +32 -14
  25. package/dist/api/payment-reminders-api.d.ts +35 -8
  26. package/dist/api/payment-reminders-api.js +29 -11
  27. package/dist/api/payments-api.d.ts +112 -16
  28. package/dist/api/payments-api.js +141 -18
  29. package/dist/api/policy-payment-methods-api.d.ts +97 -0
  30. package/dist/api/policy-payment-methods-api.js +224 -0
  31. package/dist/api/refunds-api.d.ts +28 -10
  32. package/dist/api/refunds-api.js +24 -12
  33. package/dist/api/tenant-bank-account-api.d.ts +28 -10
  34. package/dist/api/tenant-bank-account-api.js +24 -12
  35. package/dist/api.d.ts +3 -0
  36. package/dist/api.js +3 -0
  37. package/dist/base.d.ts +10 -1
  38. package/dist/base.js +46 -2
  39. package/dist/models/bank-order-class.d.ts +115 -0
  40. package/dist/models/bank-transaction-class-without-expand-properties.d.ts +18 -18
  41. package/dist/models/bank-transaction-class-without-expand-properties.js +5 -0
  42. package/dist/models/bank-transaction-class.d.ts +22 -22
  43. package/dist/models/bank-transaction-class.js +5 -0
  44. package/dist/models/bank-transaction-invoice-class.d.ts +60 -0
  45. package/dist/models/bank-transaction-invoice-class.js +15 -0
  46. package/dist/models/bank-transfer-dto.d.ts +25 -0
  47. package/dist/models/bank-transfer-dto.js +15 -0
  48. package/dist/models/billing-address-dto.d.ts +54 -0
  49. package/dist/models/billing-address-dto.js +15 -0
  50. package/dist/models/complete-adyen-payment-setup-request-dto.d.ts +2 -0
  51. package/dist/models/complete-adyen-payment-setup-request-dto.js +3 -1
  52. package/dist/models/complete-eis-payment-setup-request-dto.d.ts +36 -0
  53. package/dist/models/complete-eis-payment-setup-request-dto.js +15 -0
  54. package/dist/models/complete-payment-setup-request-dto.d.ts +7 -0
  55. package/dist/models/complete-stripe-payment-setup-request-dto.d.ts +2 -0
  56. package/dist/models/complete-stripe-payment-setup-request-dto.js +3 -1
  57. package/dist/models/create-bank-order-request-dto.d.ts +74 -0
  58. package/dist/models/create-bank-order-request-dto.js +28 -0
  59. package/dist/models/create-bank-order-response-class.d.ts +25 -0
  60. package/dist/models/create-bank-order-response-class.js +15 -0
  61. package/dist/models/create-payment-order-dto.d.ts +48 -0
  62. package/dist/models/create-payment-order-dto.js +15 -0
  63. package/dist/models/create-payment-order-request-dto.d.ts +48 -0
  64. package/dist/models/create-payment-order-request-dto.js +15 -0
  65. package/dist/models/create-payment-reminder-request-dto.d.ts +7 -1
  66. package/dist/models/create-payment-request-dto.d.ts +7 -1
  67. package/dist/models/create-policy-payment-method-request-dto.d.ts +30 -0
  68. package/dist/models/create-policy-payment-method-request-dto.js +15 -0
  69. package/dist/models/create-policy-payment-method-response-class.d.ts +25 -0
  70. package/dist/models/create-policy-payment-method-response-class.js +15 -0
  71. package/dist/models/create-psp-payment-method-request-dto.d.ts +22 -1
  72. package/dist/models/create-psp-payment-method-request-dto.js +3 -1
  73. package/dist/models/deactivated-payment-reminder-class.d.ts +7 -1
  74. package/dist/models/exceeding-credit-class.d.ts +116 -0
  75. package/dist/models/exceeding-credit-class.js +29 -0
  76. package/dist/models/financial-account-class.d.ts +111 -0
  77. package/dist/models/financial-account-class.js +24 -0
  78. package/dist/models/get-bank-order-response-class.d.ts +25 -0
  79. package/dist/models/get-bank-order-response-class.js +15 -0
  80. package/dist/models/get-exceeding-credit-response-class.d.ts +25 -0
  81. package/dist/models/get-exceeding-credit-response-class.js +15 -0
  82. package/dist/models/index.d.ts +22 -1
  83. package/dist/models/index.js +22 -1
  84. package/dist/models/initiate-adyen-payment-setup-request-dto.d.ts +6 -0
  85. package/dist/models/initiate-braintree-payment-setup-request-dto.d.ts +6 -0
  86. package/dist/models/initiate-eis-payment-setup-request-dto.d.ts +36 -0
  87. package/dist/models/initiate-eis-payment-setup-request-dto.js +15 -0
  88. package/dist/models/initiate-payment-setup-request-dto.d.ts +3 -2
  89. package/dist/models/initiate-stripe-payment-setup-request-dto.d.ts +6 -0
  90. package/dist/models/{unlink-bank-transaction-request-dto-rest.d.ts → invoice-allocation-dto.d.ts} +10 -4
  91. package/dist/models/invoice-allocation-dto.js +15 -0
  92. package/dist/models/link-bank-transaction-request-dto-rest.d.ts +4 -3
  93. package/dist/models/list-bank-orders-response-class.d.ts +31 -0
  94. package/dist/models/list-bank-orders-response-class.js +15 -0
  95. package/dist/models/list-exceeding-credits-response-class.d.ts +31 -0
  96. package/dist/models/list-exceeding-credits-response-class.js +15 -0
  97. package/dist/models/payment-class-without-expand-properties.d.ts +7 -1
  98. package/dist/models/payment-class.d.ts +7 -1
  99. package/dist/models/payment-method-class.d.ts +6 -0
  100. package/dist/models/payment-reminder-class.d.ts +7 -1
  101. package/dist/models/policy-payment-method-class.d.ts +73 -0
  102. package/dist/models/policy-payment-method-class.js +15 -0
  103. package/dist/models/refund-class.d.ts +7 -1
  104. package/dist/models/unlinked-bank-transaction-response-class.d.ts +18 -0
  105. package/dist/models/unlinked-bank-transaction-response-class.js +5 -0
  106. package/dist/models/update-bank-order-request-dto.d.ts +62 -0
  107. package/dist/models/update-bank-order-request-dto.js +23 -0
  108. package/dist/models/update-bank-order-response-class.d.ts +25 -0
  109. package/dist/models/update-bank-order-response-class.js +15 -0
  110. package/models/bank-order-class.ts +121 -0
  111. package/models/bank-transaction-class-without-expand-properties.ts +21 -18
  112. package/models/bank-transaction-class.ts +25 -22
  113. package/models/bank-transaction-invoice-class.ts +66 -0
  114. package/models/bank-transfer-dto.ts +31 -0
  115. package/models/billing-address-dto.ts +60 -0
  116. package/models/complete-adyen-payment-setup-request-dto.ts +3 -1
  117. package/models/complete-eis-payment-setup-request-dto.ts +42 -0
  118. package/models/complete-payment-setup-request-dto.ts +7 -0
  119. package/models/complete-stripe-payment-setup-request-dto.ts +3 -1
  120. package/models/create-bank-order-request-dto.ts +84 -0
  121. package/models/create-bank-order-response-class.ts +31 -0
  122. package/models/create-payment-order-dto.ts +54 -0
  123. package/models/create-payment-order-request-dto.ts +54 -0
  124. package/models/create-payment-reminder-request-dto.ts +7 -1
  125. package/models/create-payment-request-dto.ts +7 -1
  126. package/models/create-policy-payment-method-request-dto.ts +36 -0
  127. package/models/create-policy-payment-method-response-class.ts +31 -0
  128. package/models/create-psp-payment-method-request-dto.ts +23 -2
  129. package/models/deactivated-payment-reminder-class.ts +7 -1
  130. package/models/exceeding-credit-class.ts +125 -0
  131. package/models/financial-account-class.ts +120 -0
  132. package/models/get-bank-order-response-class.ts +31 -0
  133. package/models/get-exceeding-credit-response-class.ts +31 -0
  134. package/models/index.ts +22 -1
  135. package/models/initiate-adyen-payment-setup-request-dto.ts +6 -0
  136. package/models/initiate-braintree-payment-setup-request-dto.ts +6 -0
  137. package/models/initiate-eis-payment-setup-request-dto.ts +42 -0
  138. package/models/initiate-payment-setup-request-dto.ts +3 -2
  139. package/models/initiate-stripe-payment-setup-request-dto.ts +6 -0
  140. package/models/{unlink-bank-transaction-request-dto-rest.ts → invoice-allocation-dto.ts} +10 -4
  141. package/models/link-bank-transaction-request-dto-rest.ts +4 -3
  142. package/models/list-bank-orders-response-class.ts +37 -0
  143. package/models/list-exceeding-credits-response-class.ts +37 -0
  144. package/models/payment-class-without-expand-properties.ts +7 -1
  145. package/models/payment-class.ts +7 -1
  146. package/models/payment-method-class.ts +6 -0
  147. package/models/payment-reminder-class.ts +7 -1
  148. package/models/policy-payment-method-class.ts +79 -0
  149. package/models/refund-class.ts +7 -1
  150. package/models/unlinked-bank-transaction-response-class.ts +21 -0
  151. package/models/update-bank-order-request-dto.ts +71 -0
  152. package/models/update-bank-order-response-class.ts +31 -0
  153. package/package.json +1 -1
  154. /package/dist/models/{unlink-bank-transaction-request-dto-rest.js → bank-order-class.js} +0 -0
@@ -33,8 +33,6 @@ import { LinkBankTransactionsResponseClass } from '../models';
33
33
  // @ts-ignore
34
34
  import { ListBankTransactionsResponseClass } from '../models';
35
35
  // @ts-ignore
36
- import { UnlinkBankTransactionRequestDtoRest } from '../models';
37
- // @ts-ignore
38
36
  import { UnlinkBankTransactionsResponseClass } from '../models';
39
37
  /**
40
38
  * BankTransactionApi - axios parameter creator
@@ -92,7 +90,7 @@ export const BankTransactionApiAxiosParamCreator = function (configuration?: Con
92
90
  * @summary Retrieve the bank transaction
93
91
  * @param {string} code
94
92
  * @param {string} [authorization] Bearer Token
95
- * @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: bankAccount, transaction, invoiceMatchSuggestions, suggestionGenerationProgress<i>
93
+ * @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: bankAccount, invoiceMatchSuggestions, suggestionGenerationProgress, linkedBankOrder, bankTransactionInvoices<i>
96
94
  * @param {*} [options] Override http request option.
97
95
  * @throws {RequiredError}
98
96
  */
@@ -140,7 +138,7 @@ export const BankTransactionApiAxiosParamCreator = function (configuration?: Con
140
138
  /**
141
139
  * This will import bank transactions from a MT940/CAMT.053 file **Required Permissions** \"payment-management.bank-accounts.view\"
142
140
  * @summary Create the bank transactions
143
- * @param {any} file MT940/CAMT.053 file to import bank transactions from. Extension must be .txt .sta or .xml.<br/> Allowed Content Types: text/plain, application/octet-stream, application/xml
141
+ * @param {any} file MT940/CAMT.053 file to import bank transactions from. Extension must be .txt .sta or .xml.<br/> Allowed Content Types: text/plain, application/octet-stream, application/xml, text/xml
144
142
  * @param {string} [authorization] Bearer Token
145
143
  * @param {*} [options] Override http request option.
146
144
  * @throws {RequiredError}
@@ -244,15 +242,17 @@ export const BankTransactionApiAxiosParamCreator = function (configuration?: Con
244
242
  * Returns a list of bank transactions you have previously created. The bank transactions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.bank-accounts.view\"
245
243
  * @summary List bank transactions
246
244
  * @param {string} [authorization] Bearer Token
245
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
246
+ * @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.
247
247
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, bankAccountId, bankAccountNumber, messageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
248
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, bankAccountId, bankAccountNumber, messageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
249
248
  * @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, amount</i>
250
249
  * @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, transactionDate, entryDate</i>
251
- * @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: bankAccount, transaction, invoiceMatchSuggestions, suggestionGenerationProgress<i>
250
+ * @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: bankAccount, invoiceMatchSuggestions, suggestionGenerationProgress, linkedBankOrder, bankTransactionInvoices<i>
251
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, bankAccountId, bankAccountNumber, messageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
252
252
  * @param {*} [options] Override http request option.
253
253
  * @throws {RequiredError}
254
254
  */
255
- listBankTransactions: async (authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
255
+ listBankTransactions: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
256
256
  const localVarPath = `/paymentservice/v1/tenant/bank-transactions`;
257
257
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
258
258
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -271,12 +271,16 @@ export const BankTransactionApiAxiosParamCreator = function (configuration?: Con
271
271
  // http bearer authentication required
272
272
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
273
273
 
274
- if (filter !== undefined) {
275
- localVarQueryParameter['filter'] = filter;
274
+ if (pageSize !== undefined) {
275
+ localVarQueryParameter['pageSize'] = pageSize;
276
276
  }
277
277
 
278
- if (filters !== undefined) {
279
- localVarQueryParameter['filters'] = filters;
278
+ if (pageToken !== undefined) {
279
+ localVarQueryParameter['pageToken'] = pageToken;
280
+ }
281
+
282
+ if (filter !== undefined) {
283
+ localVarQueryParameter['filter'] = filter;
280
284
  }
281
285
 
282
286
  if (search !== undefined) {
@@ -291,6 +295,10 @@ export const BankTransactionApiAxiosParamCreator = function (configuration?: Con
291
295
  localVarQueryParameter['expand'] = expand;
292
296
  }
293
297
 
298
+ if (filters !== undefined) {
299
+ localVarQueryParameter['filters'] = filters;
300
+ }
301
+
294
302
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
295
303
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
296
304
  }
@@ -310,16 +318,13 @@ export const BankTransactionApiAxiosParamCreator = function (configuration?: Con
310
318
  * Unlinks an already linked bank transaction **Required Permissions** \"payment-management.bank-accounts.update\"
311
319
  * @summary Unlink bank transaction
312
320
  * @param {string} code Code of the bank transaction to unlink
313
- * @param {UnlinkBankTransactionRequestDtoRest} unlinkBankTransactionRequestDtoRest
314
321
  * @param {string} [authorization] Bearer Token
315
322
  * @param {*} [options] Override http request option.
316
323
  * @throws {RequiredError}
317
324
  */
318
- unlinkBankTransaction: async (code: string, unlinkBankTransactionRequestDtoRest: UnlinkBankTransactionRequestDtoRest, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
325
+ unlinkBankTransaction: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
319
326
  // verify required parameter 'code' is not null or undefined
320
327
  assertParamExists('unlinkBankTransaction', 'code', code)
321
- // verify required parameter 'unlinkBankTransactionRequestDtoRest' is not null or undefined
322
- assertParamExists('unlinkBankTransaction', 'unlinkBankTransactionRequestDtoRest', unlinkBankTransactionRequestDtoRest)
323
328
  const localVarPath = `/paymentservice/v1/tenant/bank-transactions/{code}/unlink`
324
329
  .replace(`{${"code"}}`, encodeURIComponent(String(code)));
325
330
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -345,12 +350,9 @@ export const BankTransactionApiAxiosParamCreator = function (configuration?: Con
345
350
 
346
351
 
347
352
 
348
- localVarHeaderParameter['Content-Type'] = 'application/json';
349
-
350
353
  setSearchParams(localVarUrlObj, localVarQueryParameter);
351
354
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
352
355
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
353
- localVarRequestOptions.data = serializeDataIfNeeded(unlinkBankTransactionRequestDtoRest, localVarRequestOptions, configuration)
354
356
 
355
357
  return {
356
358
  url: toPathString(localVarUrlObj),
@@ -384,7 +386,7 @@ export const BankTransactionApiFp = function(configuration?: Configuration) {
384
386
  * @summary Retrieve the bank transaction
385
387
  * @param {string} code
386
388
  * @param {string} [authorization] Bearer Token
387
- * @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: bankAccount, transaction, invoiceMatchSuggestions, suggestionGenerationProgress&lt;i&gt;
389
+ * @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: bankAccount, invoiceMatchSuggestions, suggestionGenerationProgress, linkedBankOrder, bankTransactionInvoices&lt;i&gt;
388
390
  * @param {*} [options] Override http request option.
389
391
  * @throws {RequiredError}
390
392
  */
@@ -395,7 +397,7 @@ export const BankTransactionApiFp = function(configuration?: Configuration) {
395
397
  /**
396
398
  * This will import bank transactions from a MT940/CAMT.053 file **Required Permissions** \"payment-management.bank-accounts.view\"
397
399
  * @summary Create the bank transactions
398
- * @param {any} file MT940/CAMT.053 file to import bank transactions from. Extension must be .txt .sta or .xml.&lt;br/&gt; Allowed Content Types: text/plain, application/octet-stream, application/xml
400
+ * @param {any} file MT940/CAMT.053 file to import bank transactions from. Extension must be .txt .sta or .xml.&lt;br/&gt; Allowed Content Types: text/plain, application/octet-stream, application/xml, text/xml
399
401
  * @param {string} [authorization] Bearer Token
400
402
  * @param {*} [options] Override http request option.
401
403
  * @throws {RequiredError}
@@ -421,29 +423,30 @@ export const BankTransactionApiFp = function(configuration?: Configuration) {
421
423
  * Returns a list of bank transactions you have previously created. The bank transactions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.bank-accounts.view\"
422
424
  * @summary List bank transactions
423
425
  * @param {string} [authorization] Bearer Token
426
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
427
+ * @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.
424
428
  * @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, bankAccountId, bankAccountNumber, messageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked&lt;/i&gt;
425
- * @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, bankAccountId, bankAccountNumber, messageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked&lt;/i&gt;
426
429
  * @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, amount&lt;/i&gt;
427
430
  * @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, transactionDate, entryDate&lt;/i&gt;
428
- * @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: bankAccount, transaction, invoiceMatchSuggestions, suggestionGenerationProgress&lt;i&gt;
431
+ * @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: bankAccount, invoiceMatchSuggestions, suggestionGenerationProgress, linkedBankOrder, bankTransactionInvoices&lt;i&gt;
432
+ * @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, bankAccountId, bankAccountNumber, messageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked&lt;/i&gt;
429
433
  * @param {*} [options] Override http request option.
430
434
  * @throws {RequiredError}
431
435
  */
432
- async listBankTransactions(authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListBankTransactionsResponseClass>> {
433
- const localVarAxiosArgs = await localVarAxiosParamCreator.listBankTransactions(authorization, filter, filters, search, order, expand, options);
436
+ async listBankTransactions(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListBankTransactionsResponseClass>> {
437
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listBankTransactions(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
434
438
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
435
439
  },
436
440
  /**
437
441
  * Unlinks an already linked bank transaction **Required Permissions** \"payment-management.bank-accounts.update\"
438
442
  * @summary Unlink bank transaction
439
443
  * @param {string} code Code of the bank transaction to unlink
440
- * @param {UnlinkBankTransactionRequestDtoRest} unlinkBankTransactionRequestDtoRest
441
444
  * @param {string} [authorization] Bearer Token
442
445
  * @param {*} [options] Override http request option.
443
446
  * @throws {RequiredError}
444
447
  */
445
- async unlinkBankTransaction(code: string, unlinkBankTransactionRequestDtoRest: UnlinkBankTransactionRequestDtoRest, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UnlinkBankTransactionsResponseClass>> {
446
- const localVarAxiosArgs = await localVarAxiosParamCreator.unlinkBankTransaction(code, unlinkBankTransactionRequestDtoRest, authorization, options);
448
+ async unlinkBankTransaction(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UnlinkBankTransactionsResponseClass>> {
449
+ const localVarAxiosArgs = await localVarAxiosParamCreator.unlinkBankTransaction(code, authorization, options);
447
450
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
448
451
  },
449
452
  }
@@ -472,7 +475,7 @@ export const BankTransactionApiFactory = function (configuration?: Configuration
472
475
  * @summary Retrieve the bank transaction
473
476
  * @param {string} code
474
477
  * @param {string} [authorization] Bearer Token
475
- * @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: bankAccount, transaction, invoiceMatchSuggestions, suggestionGenerationProgress&lt;i&gt;
478
+ * @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: bankAccount, invoiceMatchSuggestions, suggestionGenerationProgress, linkedBankOrder, bankTransactionInvoices&lt;i&gt;
476
479
  * @param {*} [options] Override http request option.
477
480
  * @throws {RequiredError}
478
481
  */
@@ -482,7 +485,7 @@ export const BankTransactionApiFactory = function (configuration?: Configuration
482
485
  /**
483
486
  * This will import bank transactions from a MT940/CAMT.053 file **Required Permissions** \"payment-management.bank-accounts.view\"
484
487
  * @summary Create the bank transactions
485
- * @param {any} file MT940/CAMT.053 file to import bank transactions from. Extension must be .txt .sta or .xml.&lt;br/&gt; Allowed Content Types: text/plain, application/octet-stream, application/xml
488
+ * @param {any} file MT940/CAMT.053 file to import bank transactions from. Extension must be .txt .sta or .xml.&lt;br/&gt; Allowed Content Types: text/plain, application/octet-stream, application/xml, text/xml
486
489
  * @param {string} [authorization] Bearer Token
487
490
  * @param {*} [options] Override http request option.
488
491
  * @throws {RequiredError}
@@ -506,28 +509,29 @@ export const BankTransactionApiFactory = function (configuration?: Configuration
506
509
  * Returns a list of bank transactions you have previously created. The bank transactions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.bank-accounts.view\"
507
510
  * @summary List bank transactions
508
511
  * @param {string} [authorization] Bearer Token
512
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
513
+ * @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.
509
514
  * @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, bankAccountId, bankAccountNumber, messageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked&lt;/i&gt;
510
- * @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, bankAccountId, bankAccountNumber, messageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked&lt;/i&gt;
511
515
  * @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, amount&lt;/i&gt;
512
516
  * @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, transactionDate, entryDate&lt;/i&gt;
513
- * @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: bankAccount, transaction, invoiceMatchSuggestions, suggestionGenerationProgress&lt;i&gt;
517
+ * @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: bankAccount, invoiceMatchSuggestions, suggestionGenerationProgress, linkedBankOrder, bankTransactionInvoices&lt;i&gt;
518
+ * @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, bankAccountId, bankAccountNumber, messageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked&lt;/i&gt;
514
519
  * @param {*} [options] Override http request option.
515
520
  * @throws {RequiredError}
516
521
  */
517
- listBankTransactions(authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListBankTransactionsResponseClass> {
518
- return localVarFp.listBankTransactions(authorization, filter, filters, search, order, expand, options).then((request) => request(axios, basePath));
522
+ listBankTransactions(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListBankTransactionsResponseClass> {
523
+ return localVarFp.listBankTransactions(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
519
524
  },
520
525
  /**
521
526
  * Unlinks an already linked bank transaction **Required Permissions** \"payment-management.bank-accounts.update\"
522
527
  * @summary Unlink bank transaction
523
528
  * @param {string} code Code of the bank transaction to unlink
524
- * @param {UnlinkBankTransactionRequestDtoRest} unlinkBankTransactionRequestDtoRest
525
529
  * @param {string} [authorization] Bearer Token
526
530
  * @param {*} [options] Override http request option.
527
531
  * @throws {RequiredError}
528
532
  */
529
- unlinkBankTransaction(code: string, unlinkBankTransactionRequestDtoRest: UnlinkBankTransactionRequestDtoRest, authorization?: string, options?: any): AxiosPromise<UnlinkBankTransactionsResponseClass> {
530
- return localVarFp.unlinkBankTransaction(code, unlinkBankTransactionRequestDtoRest, authorization, options).then((request) => request(axios, basePath));
533
+ unlinkBankTransaction(code: string, authorization?: string, options?: any): AxiosPromise<UnlinkBankTransactionsResponseClass> {
534
+ return localVarFp.unlinkBankTransaction(code, authorization, options).then((request) => request(axios, basePath));
531
535
  },
532
536
  };
533
537
  };
@@ -574,7 +578,7 @@ export interface BankTransactionApiGetBankTransactionRequest {
574
578
  readonly authorization?: string
575
579
 
576
580
  /**
577
- * 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: bankAccount, transaction, invoiceMatchSuggestions, suggestionGenerationProgress&lt;i&gt;
581
+ * 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: bankAccount, invoiceMatchSuggestions, suggestionGenerationProgress, linkedBankOrder, bankTransactionInvoices&lt;i&gt;
578
582
  * @type {string}
579
583
  * @memberof BankTransactionApiGetBankTransaction
580
584
  */
@@ -588,7 +592,7 @@ export interface BankTransactionApiGetBankTransactionRequest {
588
592
  */
589
593
  export interface BankTransactionApiImportBankTransactionsRequest {
590
594
  /**
591
- * MT940/CAMT.053 file to import bank transactions from. Extension must be .txt .sta or .xml.&lt;br/&gt; Allowed Content Types: text/plain, application/octet-stream, application/xml
595
+ * MT940/CAMT.053 file to import bank transactions from. Extension must be .txt .sta or .xml.&lt;br/&gt; Allowed Content Types: text/plain, application/octet-stream, application/xml, text/xml
592
596
  * @type {any}
593
597
  * @memberof BankTransactionApiImportBankTransactions
594
598
  */
@@ -644,18 +648,25 @@ export interface BankTransactionApiListBankTransactionsRequest {
644
648
  readonly authorization?: string
645
649
 
646
650
  /**
647
- * 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, bankAccountId, bankAccountNumber, messageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked&lt;/i&gt;
651
+ * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
652
+ * @type {number}
653
+ * @memberof BankTransactionApiListBankTransactions
654
+ */
655
+ readonly pageSize?: number
656
+
657
+ /**
658
+ * 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.
648
659
  * @type {string}
649
660
  * @memberof BankTransactionApiListBankTransactions
650
661
  */
651
- readonly filter?: string
662
+ readonly pageToken?: string
652
663
 
653
664
  /**
654
- * 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, bankAccountId, bankAccountNumber, messageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked&lt;/i&gt;
665
+ * 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, bankAccountId, bankAccountNumber, messageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked&lt;/i&gt;
655
666
  * @type {string}
656
667
  * @memberof BankTransactionApiListBankTransactions
657
668
  */
658
- readonly filters?: string
669
+ readonly filter?: string
659
670
 
660
671
  /**
661
672
  * 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, amount&lt;/i&gt;
@@ -672,11 +683,18 @@ export interface BankTransactionApiListBankTransactionsRequest {
672
683
  readonly order?: string
673
684
 
674
685
  /**
675
- * 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: bankAccount, transaction, invoiceMatchSuggestions, suggestionGenerationProgress&lt;i&gt;
686
+ * 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: bankAccount, invoiceMatchSuggestions, suggestionGenerationProgress, linkedBankOrder, bankTransactionInvoices&lt;i&gt;
676
687
  * @type {string}
677
688
  * @memberof BankTransactionApiListBankTransactions
678
689
  */
679
690
  readonly expand?: string
691
+
692
+ /**
693
+ * 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, bankAccountId, bankAccountNumber, messageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked&lt;/i&gt;
694
+ * @type {string}
695
+ * @memberof BankTransactionApiListBankTransactions
696
+ */
697
+ readonly filters?: string
680
698
  }
681
699
 
682
700
  /**
@@ -692,13 +710,6 @@ export interface BankTransactionApiUnlinkBankTransactionRequest {
692
710
  */
693
711
  readonly code: string
694
712
 
695
- /**
696
- *
697
- * @type {UnlinkBankTransactionRequestDtoRest}
698
- * @memberof BankTransactionApiUnlinkBankTransaction
699
- */
700
- readonly unlinkBankTransactionRequestDtoRest: UnlinkBankTransactionRequestDtoRest
701
-
702
713
  /**
703
714
  * Bearer Token
704
715
  * @type {string}
@@ -771,7 +782,7 @@ export class BankTransactionApi extends BaseAPI {
771
782
  * @memberof BankTransactionApi
772
783
  */
773
784
  public listBankTransactions(requestParameters: BankTransactionApiListBankTransactionsRequest = {}, options?: AxiosRequestConfig) {
774
- return BankTransactionApiFp(this.configuration).listBankTransactions(requestParameters.authorization, requestParameters.filter, requestParameters.filters, requestParameters.search, requestParameters.order, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
785
+ return BankTransactionApiFp(this.configuration).listBankTransactions(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
775
786
  }
776
787
 
777
788
  /**
@@ -783,6 +794,6 @@ export class BankTransactionApi extends BaseAPI {
783
794
  * @memberof BankTransactionApi
784
795
  */
785
796
  public unlinkBankTransaction(requestParameters: BankTransactionApiUnlinkBankTransactionRequest, options?: AxiosRequestConfig) {
786
- return BankTransactionApiFp(this.configuration).unlinkBankTransaction(requestParameters.code, requestParameters.unlinkBankTransactionRequestDtoRest, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
797
+ return BankTransactionApiFp(this.configuration).unlinkBankTransaction(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
787
798
  }
788
799
  }