@emilgroup/payment-sdk-node 1.21.1-beta.5 → 1.21.1-beta.50

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (111) hide show
  1. package/.openapi-generator/FILES +11 -0
  2. package/README.md +2 -2
  3. package/api/bank-accounts-api.ts +55 -13
  4. package/api/bank-orders-api.ts +695 -0
  5. package/api/bank-transaction-api.ts +72 -44
  6. package/api/payment-methods-api.ts +59 -17
  7. package/api/payment-reminders-api.ts +55 -13
  8. package/api/payments-api.ts +59 -17
  9. package/api/refunds-api.ts +45 -17
  10. package/api/tenant-bank-account-api.ts +45 -17
  11. package/api.ts +2 -0
  12. package/base.ts +46 -4
  13. package/dist/api/bank-accounts-api.d.ts +35 -8
  14. package/dist/api/bank-accounts-api.js +29 -11
  15. package/dist/api/bank-orders-api.d.ts +393 -0
  16. package/dist/api/bank-orders-api.js +646 -0
  17. package/dist/api/bank-transaction-api.d.ts +55 -37
  18. package/dist/api/bank-transaction-api.js +47 -35
  19. package/dist/api/payment-methods-api.d.ts +39 -12
  20. package/dist/api/payment-methods-api.js +32 -14
  21. package/dist/api/payment-reminders-api.d.ts +35 -8
  22. package/dist/api/payment-reminders-api.js +29 -11
  23. package/dist/api/payments-api.d.ts +39 -12
  24. package/dist/api/payments-api.js +32 -14
  25. package/dist/api/refunds-api.d.ts +28 -10
  26. package/dist/api/refunds-api.js +24 -12
  27. package/dist/api/tenant-bank-account-api.d.ts +28 -10
  28. package/dist/api/tenant-bank-account-api.js +24 -12
  29. package/dist/api.d.ts +1 -0
  30. package/dist/api.js +1 -0
  31. package/dist/base.d.ts +11 -2
  32. package/dist/base.js +42 -3
  33. package/dist/models/bank-order-class.d.ts +115 -0
  34. package/dist/models/bank-order-class.js +15 -0
  35. package/dist/models/bank-transaction-class-without-expand-properties.d.ts +18 -14
  36. package/dist/models/bank-transaction-class-without-expand-properties.js +5 -0
  37. package/dist/models/bank-transaction-class.d.ts +18 -0
  38. package/dist/models/bank-transaction-class.js +5 -0
  39. package/dist/models/complete-adyen-payment-setup-request-dto.d.ts +1 -0
  40. package/dist/models/complete-adyen-payment-setup-request-dto.js +2 -1
  41. package/dist/models/complete-eis-payment-setup-request-dto.d.ts +36 -0
  42. package/dist/models/complete-eis-payment-setup-request-dto.js +15 -0
  43. package/dist/models/complete-payment-setup-request-dto.d.ts +7 -0
  44. package/dist/models/complete-stripe-payment-setup-request-dto.d.ts +1 -0
  45. package/dist/models/complete-stripe-payment-setup-request-dto.js +2 -1
  46. package/dist/models/create-bank-order-request-dto.d.ts +74 -0
  47. package/dist/models/create-bank-order-request-dto.js +28 -0
  48. package/dist/models/create-bank-order-response-class.d.ts +25 -0
  49. package/dist/models/create-bank-order-response-class.js +15 -0
  50. package/dist/models/create-payment-reminder-request-dto.d.ts +7 -1
  51. package/dist/models/create-payment-request-dto.d.ts +7 -1
  52. package/dist/models/create-psp-payment-method-request-dto.d.ts +14 -1
  53. package/dist/models/create-psp-payment-method-request-dto.js +2 -1
  54. package/dist/models/deactivated-payment-reminder-class.d.ts +7 -1
  55. package/dist/models/financial-account-class.d.ts +111 -0
  56. package/dist/models/financial-account-class.js +24 -0
  57. package/dist/models/get-bank-order-response-class.d.ts +25 -0
  58. package/dist/models/get-bank-order-response-class.js +15 -0
  59. package/dist/models/index.d.ts +10 -0
  60. package/dist/models/index.js +10 -0
  61. package/dist/models/initiate-adyen-payment-setup-request-dto.d.ts +6 -0
  62. package/dist/models/initiate-braintree-payment-setup-request-dto.d.ts +6 -0
  63. package/dist/models/initiate-eis-payment-setup-request-dto.d.ts +36 -0
  64. package/dist/models/initiate-eis-payment-setup-request-dto.js +15 -0
  65. package/dist/models/initiate-payment-setup-request-dto.d.ts +3 -2
  66. package/dist/models/initiate-stripe-payment-setup-request-dto.d.ts +6 -0
  67. package/dist/models/list-bank-orders-response-class.d.ts +31 -0
  68. package/dist/models/list-bank-orders-response-class.js +15 -0
  69. package/dist/models/payment-class-without-expand-properties.d.ts +7 -1
  70. package/dist/models/payment-class.d.ts +7 -1
  71. package/dist/models/payment-method-class.d.ts +6 -0
  72. package/dist/models/payment-reminder-class.d.ts +7 -1
  73. package/dist/models/refund-class.d.ts +7 -1
  74. package/dist/models/unlinked-bank-transaction-response-class.d.ts +18 -14
  75. package/dist/models/unlinked-bank-transaction-response-class.js +5 -0
  76. package/dist/models/update-bank-order-request-dto.d.ts +56 -0
  77. package/dist/models/update-bank-order-request-dto.js +23 -0
  78. package/dist/models/update-bank-order-response-class.d.ts +25 -0
  79. package/dist/models/update-bank-order-response-class.js +15 -0
  80. package/models/bank-order-class.ts +121 -0
  81. package/models/bank-transaction-class-without-expand-properties.ts +21 -14
  82. package/models/bank-transaction-class.ts +21 -0
  83. package/models/complete-adyen-payment-setup-request-dto.ts +2 -1
  84. package/models/complete-eis-payment-setup-request-dto.ts +42 -0
  85. package/models/complete-payment-setup-request-dto.ts +7 -0
  86. package/models/complete-stripe-payment-setup-request-dto.ts +2 -1
  87. package/models/create-bank-order-request-dto.ts +84 -0
  88. package/models/create-bank-order-response-class.ts +31 -0
  89. package/models/create-payment-reminder-request-dto.ts +7 -1
  90. package/models/create-payment-request-dto.ts +7 -1
  91. package/models/create-psp-payment-method-request-dto.ts +15 -2
  92. package/models/deactivated-payment-reminder-class.ts +7 -1
  93. package/models/financial-account-class.ts +120 -0
  94. package/models/get-bank-order-response-class.ts +31 -0
  95. package/models/index.ts +10 -0
  96. package/models/initiate-adyen-payment-setup-request-dto.ts +6 -0
  97. package/models/initiate-braintree-payment-setup-request-dto.ts +6 -0
  98. package/models/initiate-eis-payment-setup-request-dto.ts +42 -0
  99. package/models/initiate-payment-setup-request-dto.ts +3 -2
  100. package/models/initiate-stripe-payment-setup-request-dto.ts +6 -0
  101. package/models/list-bank-orders-response-class.ts +37 -0
  102. package/models/payment-class-without-expand-properties.ts +7 -1
  103. package/models/payment-class.ts +7 -1
  104. package/models/payment-method-class.ts +6 -0
  105. package/models/payment-reminder-class.ts +7 -1
  106. package/models/refund-class.ts +7 -1
  107. package/models/unlinked-bank-transaction-response-class.ts +21 -14
  108. package/models/update-bank-order-request-dto.ts +65 -0
  109. package/models/update-bank-order-response-class.ts +31 -0
  110. package/package.json +1 -1
  111. package/tsconfig.json +1 -0
@@ -47,7 +47,7 @@ const FormData = require('form-data');
47
47
  export const BankTransactionApiAxiosParamCreator = function (configuration?: Configuration) {
48
48
  return {
49
49
  /**
50
- * Generate suggestion for matching a bank transaction with an Invoice **Required Permissions** \"payment-management.bank-accounts.create\"
50
+ * Generate suggestion for matching a bank transaction with an Invoice **Required Permissions** \"payment-management.bank-accounts.view\"
51
51
  * @summary Invoice Match Suggestion
52
52
  * @param {string} code Code of the bank transaction to generate match suggestions for
53
53
  * @param {string} [authorization] Bearer Token
@@ -96,7 +96,7 @@ export const BankTransactionApiAxiosParamCreator = function (configuration?: Con
96
96
  * @summary Retrieve the bank transaction
97
97
  * @param {string} code
98
98
  * @param {string} [authorization] Bearer Token
99
- * @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>
99
+ * @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, linkedBankOrder<i>
100
100
  * @param {*} [options] Override http request option.
101
101
  * @throws {RequiredError}
102
102
  */
@@ -142,9 +142,9 @@ export const BankTransactionApiAxiosParamCreator = function (configuration?: Con
142
142
  };
143
143
  },
144
144
  /**
145
- * This will import bank transactions from a swift MT940 file **Required Permissions** \"payment-management.bank-accounts.view\"
145
+ * This will import bank transactions from a MT940/CAMT.053 file **Required Permissions** \"payment-management.bank-accounts.view\"
146
146
  * @summary Create the bank transactions
147
- * @param {any} file Swift MT940 file to import bank transactions from. Extension must be .txt or .sta.<br/> Allowed Content Types: text/plain, application/octet-stream
147
+ * @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
148
148
  * @param {string} [authorization] Bearer Token
149
149
  * @param {*} [options] Override http request option.
150
150
  * @throws {RequiredError}
@@ -249,15 +249,17 @@ export const BankTransactionApiAxiosParamCreator = function (configuration?: Con
249
249
  * 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\"
250
250
  * @summary List bank transactions
251
251
  * @param {string} [authorization] Bearer Token
252
- * @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, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
253
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, bankAccountId, bankAccountNumber, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
252
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
253
+ * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
254
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, bankAccountId, bankAccountNumber, messageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
254
255
  * @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>
255
- * @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, amount, transactionDate, entryDate</i>
256
- * @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>
256
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, transactionDate, entryDate</i>
257
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: bankAccount, transaction, invoiceMatchSuggestions, suggestionGenerationProgress, linkedBankOrder<i>
258
+ * @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>
257
259
  * @param {*} [options] Override http request option.
258
260
  * @throws {RequiredError}
259
261
  */
260
- listBankTransactions: async (authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
262
+ listBankTransactions: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
261
263
  const localVarPath = `/paymentservice/v1/tenant/bank-transactions`;
262
264
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
263
265
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -276,12 +278,16 @@ export const BankTransactionApiAxiosParamCreator = function (configuration?: Con
276
278
  // http bearer authentication required
277
279
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
278
280
 
279
- if (filter !== undefined) {
280
- localVarQueryParameter['filter'] = filter;
281
+ if (pageSize !== undefined) {
282
+ localVarQueryParameter['pageSize'] = pageSize;
281
283
  }
282
284
 
283
- if (filters !== undefined) {
284
- localVarQueryParameter['filters'] = filters;
285
+ if (pageToken !== undefined) {
286
+ localVarQueryParameter['pageToken'] = pageToken;
287
+ }
288
+
289
+ if (filter !== undefined) {
290
+ localVarQueryParameter['filter'] = filter;
285
291
  }
286
292
 
287
293
  if (search !== undefined) {
@@ -296,6 +302,10 @@ export const BankTransactionApiAxiosParamCreator = function (configuration?: Con
296
302
  localVarQueryParameter['expand'] = expand;
297
303
  }
298
304
 
305
+ if (filters !== undefined) {
306
+ localVarQueryParameter['filters'] = filters;
307
+ }
308
+
299
309
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
300
310
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
301
311
  }
@@ -373,7 +383,7 @@ export const BankTransactionApiFp = function(configuration?: Configuration) {
373
383
  const localVarAxiosParamCreator = BankTransactionApiAxiosParamCreator(configuration)
374
384
  return {
375
385
  /**
376
- * Generate suggestion for matching a bank transaction with an Invoice **Required Permissions** \"payment-management.bank-accounts.create\"
386
+ * Generate suggestion for matching a bank transaction with an Invoice **Required Permissions** \"payment-management.bank-accounts.view\"
377
387
  * @summary Invoice Match Suggestion
378
388
  * @param {string} code Code of the bank transaction to generate match suggestions for
379
389
  * @param {string} [authorization] Bearer Token
@@ -389,7 +399,7 @@ export const BankTransactionApiFp = function(configuration?: Configuration) {
389
399
  * @summary Retrieve the bank transaction
390
400
  * @param {string} code
391
401
  * @param {string} [authorization] Bearer Token
392
- * @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;
402
+ * @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, linkedBankOrder&lt;i&gt;
393
403
  * @param {*} [options] Override http request option.
394
404
  * @throws {RequiredError}
395
405
  */
@@ -398,9 +408,9 @@ export const BankTransactionApiFp = function(configuration?: Configuration) {
398
408
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
399
409
  },
400
410
  /**
401
- * This will import bank transactions from a swift MT940 file **Required Permissions** \"payment-management.bank-accounts.view\"
411
+ * This will import bank transactions from a MT940/CAMT.053 file **Required Permissions** \"payment-management.bank-accounts.view\"
402
412
  * @summary Create the bank transactions
403
- * @param {any} file Swift MT940 file to import bank transactions from. Extension must be .txt or .sta.&lt;br/&gt; Allowed Content Types: text/plain, application/octet-stream
413
+ * @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
404
414
  * @param {string} [authorization] Bearer Token
405
415
  * @param {*} [options] Override http request option.
406
416
  * @throws {RequiredError}
@@ -426,16 +436,18 @@ export const BankTransactionApiFp = function(configuration?: Configuration) {
426
436
  * 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\"
427
437
  * @summary List bank transactions
428
438
  * @param {string} [authorization] Bearer Token
429
- * @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, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked&lt;/i&gt;
430
- * @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, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked&lt;/i&gt;
439
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
440
+ * @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.
441
+ * @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;
431
442
  * @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;
432
- * @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, amount, transactionDate, entryDate&lt;/i&gt;
433
- * @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;
443
+ * @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;
444
+ * @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, linkedBankOrder&lt;i&gt;
445
+ * @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;
434
446
  * @param {*} [options] Override http request option.
435
447
  * @throws {RequiredError}
436
448
  */
437
- async listBankTransactions(authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListBankTransactionsResponseClass>> {
438
- const localVarAxiosArgs = await localVarAxiosParamCreator.listBankTransactions(authorization, filter, filters, search, order, expand, options);
449
+ 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>> {
450
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listBankTransactions(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
439
451
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
440
452
  },
441
453
  /**
@@ -462,7 +474,7 @@ export const BankTransactionApiFactory = function (configuration?: Configuration
462
474
  const localVarFp = BankTransactionApiFp(configuration)
463
475
  return {
464
476
  /**
465
- * Generate suggestion for matching a bank transaction with an Invoice **Required Permissions** \"payment-management.bank-accounts.create\"
477
+ * Generate suggestion for matching a bank transaction with an Invoice **Required Permissions** \"payment-management.bank-accounts.view\"
466
478
  * @summary Invoice Match Suggestion
467
479
  * @param {string} code Code of the bank transaction to generate match suggestions for
468
480
  * @param {string} [authorization] Bearer Token
@@ -477,7 +489,7 @@ export const BankTransactionApiFactory = function (configuration?: Configuration
477
489
  * @summary Retrieve the bank transaction
478
490
  * @param {string} code
479
491
  * @param {string} [authorization] Bearer Token
480
- * @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;
492
+ * @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, linkedBankOrder&lt;i&gt;
481
493
  * @param {*} [options] Override http request option.
482
494
  * @throws {RequiredError}
483
495
  */
@@ -485,9 +497,9 @@ export const BankTransactionApiFactory = function (configuration?: Configuration
485
497
  return localVarFp.getBankTransaction(code, authorization, expand, options).then((request) => request(axios, basePath));
486
498
  },
487
499
  /**
488
- * This will import bank transactions from a swift MT940 file **Required Permissions** \"payment-management.bank-accounts.view\"
500
+ * This will import bank transactions from a MT940/CAMT.053 file **Required Permissions** \"payment-management.bank-accounts.view\"
489
501
  * @summary Create the bank transactions
490
- * @param {any} file Swift MT940 file to import bank transactions from. Extension must be .txt or .sta.&lt;br/&gt; Allowed Content Types: text/plain, application/octet-stream
502
+ * @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
491
503
  * @param {string} [authorization] Bearer Token
492
504
  * @param {*} [options] Override http request option.
493
505
  * @throws {RequiredError}
@@ -511,16 +523,18 @@ export const BankTransactionApiFactory = function (configuration?: Configuration
511
523
  * 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\"
512
524
  * @summary List bank transactions
513
525
  * @param {string} [authorization] Bearer Token
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, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked&lt;/i&gt;
515
- * @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, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked&lt;/i&gt;
526
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
527
+ * @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.
528
+ * @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;
516
529
  * @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;
517
- * @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, amount, transactionDate, entryDate&lt;/i&gt;
518
- * @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;
530
+ * @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;
531
+ * @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, linkedBankOrder&lt;i&gt;
532
+ * @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;
519
533
  * @param {*} [options] Override http request option.
520
534
  * @throws {RequiredError}
521
535
  */
522
- listBankTransactions(authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListBankTransactionsResponseClass> {
523
- return localVarFp.listBankTransactions(authorization, filter, filters, search, order, expand, options).then((request) => request(axios, basePath));
536
+ listBankTransactions(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListBankTransactionsResponseClass> {
537
+ return localVarFp.listBankTransactions(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
524
538
  },
525
539
  /**
526
540
  * Unlinks an already linked bank transaction **Required Permissions** \"payment-management.bank-accounts.update\"
@@ -579,7 +593,7 @@ export interface BankTransactionApiGetBankTransactionRequest {
579
593
  readonly authorization?: string
580
594
 
581
595
  /**
582
- * 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;
596
+ * 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, linkedBankOrder&lt;i&gt;
583
597
  * @type {string}
584
598
  * @memberof BankTransactionApiGetBankTransaction
585
599
  */
@@ -593,7 +607,7 @@ export interface BankTransactionApiGetBankTransactionRequest {
593
607
  */
594
608
  export interface BankTransactionApiImportBankTransactionsRequest {
595
609
  /**
596
- * Swift MT940 file to import bank transactions from. Extension must be .txt or .sta.&lt;br/&gt; Allowed Content Types: text/plain, application/octet-stream
610
+ * 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
597
611
  * @type {any}
598
612
  * @memberof BankTransactionApiImportBankTransactions
599
613
  */
@@ -649,18 +663,25 @@ export interface BankTransactionApiListBankTransactionsRequest {
649
663
  readonly authorization?: string
650
664
 
651
665
  /**
652
- * 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, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked&lt;/i&gt;
666
+ * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
667
+ * @type {number}
668
+ * @memberof BankTransactionApiListBankTransactions
669
+ */
670
+ readonly pageSize?: number
671
+
672
+ /**
673
+ * 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.
653
674
  * @type {string}
654
675
  * @memberof BankTransactionApiListBankTransactions
655
676
  */
656
- readonly filter?: string
677
+ readonly pageToken?: string
657
678
 
658
679
  /**
659
- * 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, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked&lt;/i&gt;
680
+ * 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;
660
681
  * @type {string}
661
682
  * @memberof BankTransactionApiListBankTransactions
662
683
  */
663
- readonly filters?: string
684
+ readonly filter?: string
664
685
 
665
686
  /**
666
687
  * 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;
@@ -670,18 +691,25 @@ export interface BankTransactionApiListBankTransactionsRequest {
670
691
  readonly search?: string
671
692
 
672
693
  /**
673
- * 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, amount, transactionDate, entryDate&lt;/i&gt;
694
+ * 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;
674
695
  * @type {string}
675
696
  * @memberof BankTransactionApiListBankTransactions
676
697
  */
677
698
  readonly order?: string
678
699
 
679
700
  /**
680
- * 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;
701
+ * 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, linkedBankOrder&lt;i&gt;
681
702
  * @type {string}
682
703
  * @memberof BankTransactionApiListBankTransactions
683
704
  */
684
705
  readonly expand?: string
706
+
707
+ /**
708
+ * 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;
709
+ * @type {string}
710
+ * @memberof BankTransactionApiListBankTransactions
711
+ */
712
+ readonly filters?: string
685
713
  }
686
714
 
687
715
  /**
@@ -720,7 +748,7 @@ export interface BankTransactionApiUnlinkBankTransactionRequest {
720
748
  */
721
749
  export class BankTransactionApi extends BaseAPI {
722
750
  /**
723
- * Generate suggestion for matching a bank transaction with an Invoice **Required Permissions** \"payment-management.bank-accounts.create\"
751
+ * Generate suggestion for matching a bank transaction with an Invoice **Required Permissions** \"payment-management.bank-accounts.view\"
724
752
  * @summary Invoice Match Suggestion
725
753
  * @param {BankTransactionApiGenerateInvoiceMatchSuggestionRequest} requestParameters Request parameters.
726
754
  * @param {*} [options] Override http request option.
@@ -744,7 +772,7 @@ export class BankTransactionApi extends BaseAPI {
744
772
  }
745
773
 
746
774
  /**
747
- * This will import bank transactions from a swift MT940 file **Required Permissions** \"payment-management.bank-accounts.view\"
775
+ * This will import bank transactions from a MT940/CAMT.053 file **Required Permissions** \"payment-management.bank-accounts.view\"
748
776
  * @summary Create the bank transactions
749
777
  * @param {BankTransactionApiImportBankTransactionsRequest} requestParameters Request parameters.
750
778
  * @param {*} [options] Override http request option.
@@ -776,7 +804,7 @@ export class BankTransactionApi extends BaseAPI {
776
804
  * @memberof BankTransactionApi
777
805
  */
778
806
  public listBankTransactions(requestParameters: BankTransactionApiListBankTransactionsRequest = {}, options?: AxiosRequestConfig) {
779
- 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));
807
+ 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));
780
808
  }
781
809
 
782
810
  /**
@@ -134,14 +134,17 @@ export const PaymentMethodsApiAxiosParamCreator = function (configuration?: Conf
134
134
  * Returns a list of payment methods you have previously created. The payment methods are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.payments.view\"
135
135
  * @summary List payment methods
136
136
  * @param {string} [authorization] Bearer Token
137
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, pspCustomerId, psp, type, productSlug&lt;/i&gt;
138
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, pspCustomerId, psp, type, productSlug&lt;/i&gt;
137
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
138
+ * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
139
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, pspCustomerId, psp, type, productSlug, accountCode, partnerCode&lt;/i&gt;
140
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
139
141
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt&lt;/i&gt;
140
142
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
143
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, pspCustomerId, psp, type, productSlug, accountCode, partnerCode&lt;/i&gt;
141
144
  * @param {*} [options] Override http request option.
142
145
  * @throws {RequiredError}
143
146
  */
144
- listPaymentMethods: async (authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
147
+ listPaymentMethods: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
145
148
  const localVarPath = `/paymentservice/v1/payment-methods`;
146
149
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
147
150
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -160,12 +163,20 @@ export const PaymentMethodsApiAxiosParamCreator = function (configuration?: Conf
160
163
  // http bearer authentication required
161
164
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
162
165
 
166
+ if (pageSize !== undefined) {
167
+ localVarQueryParameter['pageSize'] = pageSize;
168
+ }
169
+
170
+ if (pageToken !== undefined) {
171
+ localVarQueryParameter['pageToken'] = pageToken;
172
+ }
173
+
163
174
  if (filter !== undefined) {
164
175
  localVarQueryParameter['filter'] = filter;
165
176
  }
166
177
 
167
- if (filters !== undefined) {
168
- localVarQueryParameter['filters'] = filters;
178
+ if (search !== undefined) {
179
+ localVarQueryParameter['search'] = search;
169
180
  }
170
181
 
171
182
  if (order !== undefined) {
@@ -176,6 +187,10 @@ export const PaymentMethodsApiAxiosParamCreator = function (configuration?: Conf
176
187
  localVarQueryParameter['expand'] = expand;
177
188
  }
178
189
 
190
+ if (filters !== undefined) {
191
+ localVarQueryParameter['filters'] = filters;
192
+ }
193
+
179
194
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
180
195
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
181
196
  }
@@ -229,15 +244,18 @@ export const PaymentMethodsApiFp = function(configuration?: Configuration) {
229
244
  * Returns a list of payment methods you have previously created. The payment methods are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.payments.view\"
230
245
  * @summary List payment methods
231
246
  * @param {string} [authorization] Bearer Token
232
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, pspCustomerId, psp, type, productSlug&lt;/i&gt;
233
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, pspCustomerId, psp, type, productSlug&lt;/i&gt;
247
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
248
+ * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
249
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, pspCustomerId, psp, type, productSlug, accountCode, partnerCode&lt;/i&gt;
250
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
234
251
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt&lt;/i&gt;
235
252
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
253
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, pspCustomerId, psp, type, productSlug, accountCode, partnerCode&lt;/i&gt;
236
254
  * @param {*} [options] Override http request option.
237
255
  * @throws {RequiredError}
238
256
  */
239
- async listPaymentMethods(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPaymentMethodsResponseClass>> {
240
- const localVarAxiosArgs = await localVarAxiosParamCreator.listPaymentMethods(authorization, filter, filters, order, expand, options);
257
+ async listPaymentMethods(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPaymentMethodsResponseClass>> {
258
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listPaymentMethods(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
241
259
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
242
260
  },
243
261
  }
@@ -276,15 +294,18 @@ export const PaymentMethodsApiFactory = function (configuration?: Configuration,
276
294
  * Returns a list of payment methods you have previously created. The payment methods are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.payments.view\"
277
295
  * @summary List payment methods
278
296
  * @param {string} [authorization] Bearer Token
279
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, pspCustomerId, psp, type, productSlug&lt;/i&gt;
280
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, pspCustomerId, psp, type, productSlug&lt;/i&gt;
297
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
298
+ * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
299
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, pspCustomerId, psp, type, productSlug, accountCode, partnerCode&lt;/i&gt;
300
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
281
301
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt&lt;/i&gt;
282
302
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
303
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, pspCustomerId, psp, type, productSlug, accountCode, partnerCode&lt;/i&gt;
283
304
  * @param {*} [options] Override http request option.
284
305
  * @throws {RequiredError}
285
306
  */
286
- listPaymentMethods(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListPaymentMethodsResponseClass> {
287
- return localVarFp.listPaymentMethods(authorization, filter, filters, order, expand, options).then((request) => request(axios, basePath));
307
+ listPaymentMethods(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListPaymentMethodsResponseClass> {
308
+ return localVarFp.listPaymentMethods(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
288
309
  },
289
310
  };
290
311
  };
@@ -345,18 +366,32 @@ export interface PaymentMethodsApiListPaymentMethodsRequest {
345
366
  readonly authorization?: string
346
367
 
347
368
  /**
348
- * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, pspCustomerId, psp, type, productSlug&lt;/i&gt;
369
+ * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
370
+ * @type {number}
371
+ * @memberof PaymentMethodsApiListPaymentMethods
372
+ */
373
+ readonly pageSize?: number
374
+
375
+ /**
376
+ * 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.
377
+ * @type {string}
378
+ * @memberof PaymentMethodsApiListPaymentMethods
379
+ */
380
+ readonly pageToken?: string
381
+
382
+ /**
383
+ * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, pspCustomerId, psp, type, productSlug, accountCode, partnerCode&lt;/i&gt;
349
384
  * @type {string}
350
385
  * @memberof PaymentMethodsApiListPaymentMethods
351
386
  */
352
387
  readonly filter?: string
353
388
 
354
389
  /**
355
- * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, pspCustomerId, psp, type, productSlug&lt;/i&gt;
390
+ * To search the list by any field, pass search&#x3D;xxx to fetch the result.
356
391
  * @type {string}
357
392
  * @memberof PaymentMethodsApiListPaymentMethods
358
393
  */
359
- readonly filters?: string
394
+ readonly search?: string
360
395
 
361
396
  /**
362
397
  * 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;
@@ -371,6 +406,13 @@ export interface PaymentMethodsApiListPaymentMethodsRequest {
371
406
  * @memberof PaymentMethodsApiListPaymentMethods
372
407
  */
373
408
  readonly expand?: string
409
+
410
+ /**
411
+ * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, pspCustomerId, psp, type, productSlug, accountCode, partnerCode&lt;/i&gt;
412
+ * @type {string}
413
+ * @memberof PaymentMethodsApiListPaymentMethods
414
+ */
415
+ readonly filters?: string
374
416
  }
375
417
 
376
418
  /**
@@ -413,6 +455,6 @@ export class PaymentMethodsApi extends BaseAPI {
413
455
  * @memberof PaymentMethodsApi
414
456
  */
415
457
  public listPaymentMethods(requestParameters: PaymentMethodsApiListPaymentMethodsRequest = {}, options?: AxiosRequestConfig) {
416
- return PaymentMethodsApiFp(this.configuration).listPaymentMethods(requestParameters.authorization, requestParameters.filter, requestParameters.filters, requestParameters.order, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
458
+ return PaymentMethodsApiFp(this.configuration).listPaymentMethods(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
417
459
  }
418
460
  }