@emilgroup/payment-sdk 1.13.1-beta.6 → 1.13.1-beta.60

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 (82) hide show
  1. package/.openapi-generator/FILES +4 -0
  2. package/README.md +2 -2
  3. package/api/bank-accounts-api.ts +55 -13
  4. package/api/bank-transaction-api.ts +49 -21
  5. package/api/payment-methods-api.ts +59 -17
  6. package/api/payment-reminders-api.ts +55 -13
  7. package/api/payments-api.ts +59 -17
  8. package/api/refunds-api.ts +45 -17
  9. package/api/tenant-bank-account-api.ts +45 -17
  10. package/base.ts +52 -3
  11. package/dist/api/bank-accounts-api.d.ts +35 -8
  12. package/dist/api/bank-accounts-api.js +29 -11
  13. package/dist/api/bank-transaction-api.d.ts +32 -14
  14. package/dist/api/bank-transaction-api.js +27 -15
  15. package/dist/api/payment-methods-api.d.ts +39 -12
  16. package/dist/api/payment-methods-api.js +32 -14
  17. package/dist/api/payment-reminders-api.d.ts +35 -8
  18. package/dist/api/payment-reminders-api.js +29 -11
  19. package/dist/api/payments-api.d.ts +39 -12
  20. package/dist/api/payments-api.js +32 -14
  21. package/dist/api/refunds-api.d.ts +28 -10
  22. package/dist/api/refunds-api.js +24 -12
  23. package/dist/api/tenant-bank-account-api.d.ts +28 -10
  24. package/dist/api/tenant-bank-account-api.js +24 -12
  25. package/dist/base.d.ts +10 -1
  26. package/dist/base.js +46 -2
  27. package/dist/models/bank-transaction-class-without-expand-properties.d.ts +0 -14
  28. package/dist/models/complete-adyen-payment-setup-request-dto.d.ts +1 -0
  29. package/dist/models/complete-adyen-payment-setup-request-dto.js +2 -1
  30. package/dist/models/complete-eis-payment-setup-request-dto.d.ts +36 -0
  31. package/dist/models/complete-eis-payment-setup-request-dto.js +15 -0
  32. package/dist/models/complete-payment-setup-request-dto.d.ts +7 -0
  33. package/dist/models/complete-stripe-payment-setup-request-dto.d.ts +1 -0
  34. package/dist/models/complete-stripe-payment-setup-request-dto.js +2 -1
  35. package/dist/models/create-bank-order-request-dto.d.ts +74 -0
  36. package/dist/models/create-bank-order-request-dto.js +28 -0
  37. package/dist/models/create-payment-reminder-request-dto.d.ts +7 -1
  38. package/dist/models/create-payment-request-dto.d.ts +7 -1
  39. package/dist/models/create-psp-payment-method-request-dto.d.ts +14 -1
  40. package/dist/models/create-psp-payment-method-request-dto.js +2 -1
  41. package/dist/models/deactivated-payment-reminder-class.d.ts +7 -1
  42. package/dist/models/index.d.ts +4 -0
  43. package/dist/models/index.js +4 -0
  44. package/dist/models/initiate-adyen-payment-setup-request-dto.d.ts +6 -0
  45. package/dist/models/initiate-braintree-payment-setup-request-dto.d.ts +6 -0
  46. package/dist/models/initiate-eis-payment-setup-request-dto.d.ts +36 -0
  47. package/dist/models/initiate-eis-payment-setup-request-dto.js +15 -0
  48. package/dist/models/initiate-payment-setup-request-dto.d.ts +3 -2
  49. package/dist/models/initiate-stripe-payment-setup-request-dto.d.ts +6 -0
  50. package/dist/models/payment-class-without-expand-properties.d.ts +7 -1
  51. package/dist/models/payment-class.d.ts +7 -1
  52. package/dist/models/payment-method-class.d.ts +6 -0
  53. package/dist/models/payment-reminder-class.d.ts +7 -1
  54. package/dist/models/refund-class.d.ts +7 -1
  55. package/dist/models/unlinked-bank-transaction-response-class.d.ts +0 -14
  56. package/dist/models/update-bank-order-request-dto.d.ts +56 -0
  57. package/dist/models/update-bank-order-request-dto.js +23 -0
  58. package/models/bank-transaction-class-without-expand-properties.ts +0 -14
  59. package/models/complete-adyen-payment-setup-request-dto.ts +2 -1
  60. package/models/complete-eis-payment-setup-request-dto.ts +42 -0
  61. package/models/complete-payment-setup-request-dto.ts +7 -0
  62. package/models/complete-stripe-payment-setup-request-dto.ts +2 -1
  63. package/models/create-bank-order-request-dto.ts +84 -0
  64. package/models/create-payment-reminder-request-dto.ts +7 -1
  65. package/models/create-payment-request-dto.ts +7 -1
  66. package/models/create-psp-payment-method-request-dto.ts +15 -2
  67. package/models/deactivated-payment-reminder-class.ts +7 -1
  68. package/models/index.ts +4 -0
  69. package/models/initiate-adyen-payment-setup-request-dto.ts +6 -0
  70. package/models/initiate-braintree-payment-setup-request-dto.ts +6 -0
  71. package/models/initiate-eis-payment-setup-request-dto.ts +42 -0
  72. package/models/initiate-payment-setup-request-dto.ts +3 -2
  73. package/models/initiate-stripe-payment-setup-request-dto.ts +6 -0
  74. package/models/payment-class-without-expand-properties.ts +7 -1
  75. package/models/payment-class.ts +7 -1
  76. package/models/payment-method-class.ts +6 -0
  77. package/models/payment-reminder-class.ts +7 -1
  78. package/models/refund-class.ts +7 -1
  79. package/models/unlinked-bank-transaction-response-class.ts +0 -14
  80. package/models/update-bank-order-request-dto.ts +65 -0
  81. package/package.json +1 -1
  82. package/tsconfig.json +1 -0
@@ -27,11 +27,13 @@ models/billing-profile-limited-response-dto.ts
27
27
  models/card-details-dto.ts
28
28
  models/complete-adyen-payment-setup-request-dto.ts
29
29
  models/complete-braintree-payment-setup-request-dto.ts
30
+ models/complete-eis-payment-setup-request-dto.ts
30
31
  models/complete-payment-setup-request-dto.ts
31
32
  models/complete-payment-setup-response-class.ts
32
33
  models/complete-stripe-payment-setup-request-dto.ts
33
34
  models/create-bank-account-request-dto.ts
34
35
  models/create-bank-account-response-class.ts
36
+ models/create-bank-order-request-dto.ts
35
37
  models/create-payment-method-response-class.ts
36
38
  models/create-payment-reminder-request-dto.ts
37
39
  models/create-payment-reminder-response-class.ts
@@ -59,6 +61,7 @@ models/initiate-adyen-payment-setup-request-dto.ts
59
61
  models/initiate-adyen-payment-setup-response-class.ts
60
62
  models/initiate-braintree-payment-setup-request-dto.ts
61
63
  models/initiate-braintree-payment-setup-response-class.ts
64
+ models/initiate-eis-payment-setup-request-dto.ts
62
65
  models/initiate-payment-setup-request-dto.ts
63
66
  models/initiate-payment-setup-response-class.ts
64
67
  models/initiate-stripe-payment-setup-request-dto.ts
@@ -95,6 +98,7 @@ models/unlinked-bank-transaction-response-class.ts
95
98
  models/update-bank-account-request-dto-rest.ts
96
99
  models/update-bank-account-request-dto.ts
97
100
  models/update-bank-account-response-class.ts
101
+ models/update-bank-order-request-dto.ts
98
102
  models/update-tenant-bank-account-response-class.ts
99
103
  models/update-tenant-bank-account-rest-request-dto.ts
100
104
  models/validate-pspconfig-request-dto.ts
package/README.md CHANGED
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
17
17
  Navigate to the folder of your consuming project and run one of the following commands:
18
18
 
19
19
  ```
20
- npm install @emilgroup/payment-sdk@1.13.1-beta.6 --save
20
+ npm install @emilgroup/payment-sdk@1.13.1-beta.60 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/payment-sdk@1.13.1-beta.6
24
+ yarn add @emilgroup/payment-sdk@1.13.1-beta.60
25
25
  ```
26
26
 
27
27
  And then you can import `PaymentsApi`.
@@ -186,14 +186,17 @@ export const BankAccountsApiAxiosParamCreator = function (configuration?: Config
186
186
  * Returns a list of bank accounts you have previously created. The bank accounts 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\"
187
187
  * @summary List bank accounts
188
188
  * @param {string} [authorization] Bearer Token
189
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
190
+ * @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.
189
191
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, id, accountCode, partnerCode</i>
190
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, id, accountCode, partnerCode</i>
192
+ * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
191
193
  * @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</i>
192
194
  * @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: primaryBankAccount<i>
195
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, id, accountCode, partnerCode</i>
193
196
  * @param {*} [options] Override http request option.
194
197
  * @throws {RequiredError}
195
198
  */
196
- listBankAccounts: async (authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
199
+ listBankAccounts: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
197
200
  const localVarPath = `/paymentservice/v1/bank-accounts`;
198
201
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
199
202
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -212,12 +215,20 @@ export const BankAccountsApiAxiosParamCreator = function (configuration?: Config
212
215
  // http bearer authentication required
213
216
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
214
217
 
218
+ if (pageSize !== undefined) {
219
+ localVarQueryParameter['pageSize'] = pageSize;
220
+ }
221
+
222
+ if (pageToken !== undefined) {
223
+ localVarQueryParameter['pageToken'] = pageToken;
224
+ }
225
+
215
226
  if (filter !== undefined) {
216
227
  localVarQueryParameter['filter'] = filter;
217
228
  }
218
229
 
219
- if (filters !== undefined) {
220
- localVarQueryParameter['filters'] = filters;
230
+ if (search !== undefined) {
231
+ localVarQueryParameter['search'] = search;
221
232
  }
222
233
 
223
234
  if (order !== undefined) {
@@ -228,6 +239,10 @@ export const BankAccountsApiAxiosParamCreator = function (configuration?: Config
228
239
  localVarQueryParameter['expand'] = expand;
229
240
  }
230
241
 
242
+ if (filters !== undefined) {
243
+ localVarQueryParameter['filters'] = filters;
244
+ }
245
+
231
246
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
232
247
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
233
248
  }
@@ -396,15 +411,18 @@ export const BankAccountsApiFp = function(configuration?: Configuration) {
396
411
  * Returns a list of bank accounts you have previously created. The bank accounts 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\"
397
412
  * @summary List bank accounts
398
413
  * @param {string} [authorization] Bearer Token
414
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
415
+ * @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.
399
416
  * @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, accountCode, partnerCode&lt;/i&gt;
400
- * @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, accountCode, partnerCode&lt;/i&gt;
417
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
401
418
  * @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;
402
419
  * @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: primaryBankAccount&lt;i&gt;
420
+ * @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, accountCode, partnerCode&lt;/i&gt;
403
421
  * @param {*} [options] Override http request option.
404
422
  * @throws {RequiredError}
405
423
  */
406
- async listBankAccounts(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListBankAccountsResponseClass>> {
407
- const localVarAxiosArgs = await localVarAxiosParamCreator.listBankAccounts(authorization, filter, filters, order, expand, options);
424
+ async listBankAccounts(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListBankAccountsResponseClass>> {
425
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listBankAccounts(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
408
426
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
409
427
  },
410
428
  /**
@@ -481,15 +499,18 @@ export const BankAccountsApiFactory = function (configuration?: Configuration, b
481
499
  * Returns a list of bank accounts you have previously created. The bank accounts 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\"
482
500
  * @summary List bank accounts
483
501
  * @param {string} [authorization] Bearer Token
502
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
503
+ * @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.
484
504
  * @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, accountCode, partnerCode&lt;/i&gt;
485
- * @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, accountCode, partnerCode&lt;/i&gt;
505
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
486
506
  * @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;
487
507
  * @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: primaryBankAccount&lt;i&gt;
508
+ * @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, accountCode, partnerCode&lt;/i&gt;
488
509
  * @param {*} [options] Override http request option.
489
510
  * @throws {RequiredError}
490
511
  */
491
- listBankAccounts(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListBankAccountsResponseClass> {
492
- return localVarFp.listBankAccounts(authorization, filter, filters, order, expand, options).then((request) => request(axios, basePath));
512
+ listBankAccounts(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListBankAccountsResponseClass> {
513
+ return localVarFp.listBankAccounts(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
493
514
  },
494
515
  /**
495
516
  * Set the primary bank account for the specified partner/account **Required Permissions** \"payment-management.bank-accounts.update\"
@@ -601,6 +622,20 @@ export interface BankAccountsApiListBankAccountsRequest {
601
622
  */
602
623
  readonly authorization?: string
603
624
 
625
+ /**
626
+ * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
627
+ * @type {number}
628
+ * @memberof BankAccountsApiListBankAccounts
629
+ */
630
+ readonly pageSize?: number
631
+
632
+ /**
633
+ * 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.
634
+ * @type {string}
635
+ * @memberof BankAccountsApiListBankAccounts
636
+ */
637
+ readonly pageToken?: string
638
+
604
639
  /**
605
640
  * 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, accountCode, partnerCode&lt;/i&gt;
606
641
  * @type {string}
@@ -609,11 +644,11 @@ export interface BankAccountsApiListBankAccountsRequest {
609
644
  readonly filter?: string
610
645
 
611
646
  /**
612
- * 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, accountCode, partnerCode&lt;/i&gt;
647
+ * To search the list by any field, pass search&#x3D;xxx to fetch the result.
613
648
  * @type {string}
614
649
  * @memberof BankAccountsApiListBankAccounts
615
650
  */
616
- readonly filters?: string
651
+ readonly search?: string
617
652
 
618
653
  /**
619
654
  * 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;
@@ -628,6 +663,13 @@ export interface BankAccountsApiListBankAccountsRequest {
628
663
  * @memberof BankAccountsApiListBankAccounts
629
664
  */
630
665
  readonly expand?: string
666
+
667
+ /**
668
+ * 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, accountCode, partnerCode&lt;/i&gt;
669
+ * @type {string}
670
+ * @memberof BankAccountsApiListBankAccounts
671
+ */
672
+ readonly filters?: string
631
673
  }
632
674
 
633
675
  /**
@@ -738,7 +780,7 @@ export class BankAccountsApi extends BaseAPI {
738
780
  * @memberof BankAccountsApi
739
781
  */
740
782
  public listBankAccounts(requestParameters: BankAccountsApiListBankAccountsRequest = {}, options?: AxiosRequestConfig) {
741
- return BankAccountsApiFp(this.configuration).listBankAccounts(requestParameters.authorization, requestParameters.filter, requestParameters.filters, requestParameters.order, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
783
+ return BankAccountsApiFp(this.configuration).listBankAccounts(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
742
784
  }
743
785
 
744
786
  /**
@@ -140,7 +140,7 @@ export const BankTransactionApiAxiosParamCreator = function (configuration?: Con
140
140
  /**
141
141
  * This will import bank transactions from a MT940/CAMT.053 file **Required Permissions** \"payment-management.bank-accounts.view\"
142
142
  * @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.&lt;br/&gt; Allowed Content Types: text/plain, application/octet-stream, application/xml
143
+ * @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
144
144
  * @param {string} [authorization] Bearer Token
145
145
  * @param {*} [options] Override http request option.
146
146
  * @throws {RequiredError}
@@ -244,15 +244,17 @@ export const BankTransactionApiAxiosParamCreator = function (configuration?: Con
244
244
  * 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
245
  * @summary List bank transactions
246
246
  * @param {string} [authorization] Bearer Token
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.
247
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: id, code, bankAccountId, bankAccountNumber, messageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked&lt;/i&gt;
248
- * @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;
249
250
  * @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;
250
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, transactionDate, entryDate&lt;/i&gt;
251
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; &lt;i&gt;Allowed values: bankAccount, transaction, invoiceMatchSuggestions, suggestionGenerationProgress&lt;i&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: id, code, bankAccountId, bankAccountNumber, messageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked&lt;/i&gt;
252
254
  * @param {*} [options] Override http request option.
253
255
  * @throws {RequiredError}
254
256
  */
255
- listBankTransactions: async (authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
257
+ listBankTransactions: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
256
258
  const localVarPath = `/paymentservice/v1/tenant/bank-transactions`;
257
259
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
258
260
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -271,12 +273,16 @@ export const BankTransactionApiAxiosParamCreator = function (configuration?: Con
271
273
  // http bearer authentication required
272
274
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
273
275
 
274
- if (filter !== undefined) {
275
- localVarQueryParameter['filter'] = filter;
276
+ if (pageSize !== undefined) {
277
+ localVarQueryParameter['pageSize'] = pageSize;
276
278
  }
277
279
 
278
- if (filters !== undefined) {
279
- localVarQueryParameter['filters'] = filters;
280
+ if (pageToken !== undefined) {
281
+ localVarQueryParameter['pageToken'] = pageToken;
282
+ }
283
+
284
+ if (filter !== undefined) {
285
+ localVarQueryParameter['filter'] = filter;
280
286
  }
281
287
 
282
288
  if (search !== undefined) {
@@ -291,6 +297,10 @@ export const BankTransactionApiAxiosParamCreator = function (configuration?: Con
291
297
  localVarQueryParameter['expand'] = expand;
292
298
  }
293
299
 
300
+ if (filters !== undefined) {
301
+ localVarQueryParameter['filters'] = filters;
302
+ }
303
+
294
304
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
295
305
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
296
306
  }
@@ -395,7 +405,7 @@ export const BankTransactionApiFp = function(configuration?: Configuration) {
395
405
  /**
396
406
  * This will import bank transactions from a MT940/CAMT.053 file **Required Permissions** \"payment-management.bank-accounts.view\"
397
407
  * @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
408
+ * @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
409
  * @param {string} [authorization] Bearer Token
400
410
  * @param {*} [options] Override http request option.
401
411
  * @throws {RequiredError}
@@ -421,16 +431,18 @@ export const BankTransactionApiFp = function(configuration?: Configuration) {
421
431
  * 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
432
  * @summary List bank transactions
423
433
  * @param {string} [authorization] Bearer Token
434
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
435
+ * @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
436
  * @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
437
  * @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
438
  * @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
439
  * @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;
440
+ * @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
441
  * @param {*} [options] Override http request option.
430
442
  * @throws {RequiredError}
431
443
  */
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);
444
+ 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>> {
445
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listBankTransactions(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
434
446
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
435
447
  },
436
448
  /**
@@ -482,7 +494,7 @@ export const BankTransactionApiFactory = function (configuration?: Configuration
482
494
  /**
483
495
  * This will import bank transactions from a MT940/CAMT.053 file **Required Permissions** \"payment-management.bank-accounts.view\"
484
496
  * @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
497
+ * @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
498
  * @param {string} [authorization] Bearer Token
487
499
  * @param {*} [options] Override http request option.
488
500
  * @throws {RequiredError}
@@ -506,16 +518,18 @@ export const BankTransactionApiFactory = function (configuration?: Configuration
506
518
  * 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
519
  * @summary List bank transactions
508
520
  * @param {string} [authorization] Bearer Token
521
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
522
+ * @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
523
  * @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
524
  * @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
525
  * @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
526
  * @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;
527
+ * @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
528
  * @param {*} [options] Override http request option.
515
529
  * @throws {RequiredError}
516
530
  */
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));
531
+ listBankTransactions(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListBankTransactionsResponseClass> {
532
+ return localVarFp.listBankTransactions(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
519
533
  },
520
534
  /**
521
535
  * Unlinks an already linked bank transaction **Required Permissions** \"payment-management.bank-accounts.update\"
@@ -588,7 +602,7 @@ export interface BankTransactionApiGetBankTransactionRequest {
588
602
  */
589
603
  export interface BankTransactionApiImportBankTransactionsRequest {
590
604
  /**
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
605
+ * 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
606
  * @type {any}
593
607
  * @memberof BankTransactionApiImportBankTransactions
594
608
  */
@@ -644,18 +658,25 @@ export interface BankTransactionApiListBankTransactionsRequest {
644
658
  readonly authorization?: string
645
659
 
646
660
  /**
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;
661
+ * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
662
+ * @type {number}
663
+ * @memberof BankTransactionApiListBankTransactions
664
+ */
665
+ readonly pageSize?: number
666
+
667
+ /**
668
+ * 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
669
  * @type {string}
649
670
  * @memberof BankTransactionApiListBankTransactions
650
671
  */
651
- readonly filter?: string
672
+ readonly pageToken?: string
652
673
 
653
674
  /**
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;
675
+ * 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
676
  * @type {string}
656
677
  * @memberof BankTransactionApiListBankTransactions
657
678
  */
658
- readonly filters?: string
679
+ readonly filter?: string
659
680
 
660
681
  /**
661
682
  * 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;
@@ -677,6 +698,13 @@ export interface BankTransactionApiListBankTransactionsRequest {
677
698
  * @memberof BankTransactionApiListBankTransactions
678
699
  */
679
700
  readonly expand?: string
701
+
702
+ /**
703
+ * 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;
704
+ * @type {string}
705
+ * @memberof BankTransactionApiListBankTransactions
706
+ */
707
+ readonly filters?: string
680
708
  }
681
709
 
682
710
  /**
@@ -771,7 +799,7 @@ export class BankTransactionApi extends BaseAPI {
771
799
  * @memberof BankTransactionApi
772
800
  */
773
801
  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));
802
+ 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
803
  }
776
804
 
777
805
  /**
@@ -130,14 +130,17 @@ export const PaymentMethodsApiAxiosParamCreator = function (configuration?: Conf
130
130
  * 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\"
131
131
  * @summary List payment methods
132
132
  * @param {string} [authorization] Bearer Token
133
- * @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;
134
- * @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;
133
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
134
+ * @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.
135
+ * @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;
136
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
135
137
  * @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;
136
138
  * @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;
139
+ * @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;
137
140
  * @param {*} [options] Override http request option.
138
141
  * @throws {RequiredError}
139
142
  */
140
- listPaymentMethods: async (authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
143
+ listPaymentMethods: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
141
144
  const localVarPath = `/paymentservice/v1/payment-methods`;
142
145
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
143
146
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -156,12 +159,20 @@ export const PaymentMethodsApiAxiosParamCreator = function (configuration?: Conf
156
159
  // http bearer authentication required
157
160
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
158
161
 
162
+ if (pageSize !== undefined) {
163
+ localVarQueryParameter['pageSize'] = pageSize;
164
+ }
165
+
166
+ if (pageToken !== undefined) {
167
+ localVarQueryParameter['pageToken'] = pageToken;
168
+ }
169
+
159
170
  if (filter !== undefined) {
160
171
  localVarQueryParameter['filter'] = filter;
161
172
  }
162
173
 
163
- if (filters !== undefined) {
164
- localVarQueryParameter['filters'] = filters;
174
+ if (search !== undefined) {
175
+ localVarQueryParameter['search'] = search;
165
176
  }
166
177
 
167
178
  if (order !== undefined) {
@@ -172,6 +183,10 @@ export const PaymentMethodsApiAxiosParamCreator = function (configuration?: Conf
172
183
  localVarQueryParameter['expand'] = expand;
173
184
  }
174
185
 
186
+ if (filters !== undefined) {
187
+ localVarQueryParameter['filters'] = filters;
188
+ }
189
+
175
190
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
176
191
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
177
192
  }
@@ -225,15 +240,18 @@ export const PaymentMethodsApiFp = function(configuration?: Configuration) {
225
240
  * 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\"
226
241
  * @summary List payment methods
227
242
  * @param {string} [authorization] Bearer Token
228
- * @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;
229
- * @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;
243
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
244
+ * @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.
245
+ * @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;
246
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
230
247
  * @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;
231
248
  * @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;
249
+ * @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;
232
250
  * @param {*} [options] Override http request option.
233
251
  * @throws {RequiredError}
234
252
  */
235
- async listPaymentMethods(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPaymentMethodsResponseClass>> {
236
- const localVarAxiosArgs = await localVarAxiosParamCreator.listPaymentMethods(authorization, filter, filters, order, expand, options);
253
+ 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>> {
254
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listPaymentMethods(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
237
255
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
238
256
  },
239
257
  }
@@ -272,15 +290,18 @@ export const PaymentMethodsApiFactory = function (configuration?: Configuration,
272
290
  * 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\"
273
291
  * @summary List payment methods
274
292
  * @param {string} [authorization] Bearer Token
275
- * @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;
276
- * @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;
293
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
294
+ * @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.
295
+ * @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;
296
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
277
297
  * @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;
278
298
  * @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;
299
+ * @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;
279
300
  * @param {*} [options] Override http request option.
280
301
  * @throws {RequiredError}
281
302
  */
282
- listPaymentMethods(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListPaymentMethodsResponseClass> {
283
- return localVarFp.listPaymentMethods(authorization, filter, filters, order, expand, options).then((request) => request(axios, basePath));
303
+ listPaymentMethods(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListPaymentMethodsResponseClass> {
304
+ return localVarFp.listPaymentMethods(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
284
305
  },
285
306
  };
286
307
  };
@@ -341,18 +362,32 @@ export interface PaymentMethodsApiListPaymentMethodsRequest {
341
362
  readonly authorization?: string
342
363
 
343
364
  /**
344
- * 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;
365
+ * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
366
+ * @type {number}
367
+ * @memberof PaymentMethodsApiListPaymentMethods
368
+ */
369
+ readonly pageSize?: number
370
+
371
+ /**
372
+ * 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.
373
+ * @type {string}
374
+ * @memberof PaymentMethodsApiListPaymentMethods
375
+ */
376
+ readonly pageToken?: string
377
+
378
+ /**
379
+ * 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;
345
380
  * @type {string}
346
381
  * @memberof PaymentMethodsApiListPaymentMethods
347
382
  */
348
383
  readonly filter?: string
349
384
 
350
385
  /**
351
- * 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;
386
+ * To search the list by any field, pass search&#x3D;xxx to fetch the result.
352
387
  * @type {string}
353
388
  * @memberof PaymentMethodsApiListPaymentMethods
354
389
  */
355
- readonly filters?: string
390
+ readonly search?: string
356
391
 
357
392
  /**
358
393
  * 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;
@@ -367,6 +402,13 @@ export interface PaymentMethodsApiListPaymentMethodsRequest {
367
402
  * @memberof PaymentMethodsApiListPaymentMethods
368
403
  */
369
404
  readonly expand?: string
405
+
406
+ /**
407
+ * 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;
408
+ * @type {string}
409
+ * @memberof PaymentMethodsApiListPaymentMethods
410
+ */
411
+ readonly filters?: string
370
412
  }
371
413
 
372
414
  /**
@@ -409,6 +451,6 @@ export class PaymentMethodsApi extends BaseAPI {
409
451
  * @memberof PaymentMethodsApi
410
452
  */
411
453
  public listPaymentMethods(requestParameters: PaymentMethodsApiListPaymentMethodsRequest = {}, options?: AxiosRequestConfig) {
412
- return PaymentMethodsApiFp(this.configuration).listPaymentMethods(requestParameters.authorization, requestParameters.filter, requestParameters.filters, requestParameters.order, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
454
+ 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));
413
455
  }
414
456
  }