@emilgroup/payment-sdk-node 1.21.1-beta.26 → 1.21.1-beta.28

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 (91) hide show
  1. package/.openapi-generator/FILES +10 -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 +45 -17
  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/dist/api/bank-accounts-api.d.ts +35 -8
  13. package/dist/api/bank-accounts-api.js +29 -11
  14. package/dist/api/bank-orders-api.d.ts +393 -0
  15. package/dist/api/bank-orders-api.js +646 -0
  16. package/dist/api/bank-transaction-api.d.ts +28 -10
  17. package/dist/api/bank-transaction-api.js +24 -12
  18. package/dist/api/payment-methods-api.d.ts +39 -12
  19. package/dist/api/payment-methods-api.js +32 -14
  20. package/dist/api/payment-reminders-api.d.ts +35 -8
  21. package/dist/api/payment-reminders-api.js +29 -11
  22. package/dist/api/payments-api.d.ts +39 -12
  23. package/dist/api/payments-api.js +32 -14
  24. package/dist/api/refunds-api.d.ts +28 -10
  25. package/dist/api/refunds-api.js +24 -12
  26. package/dist/api/tenant-bank-account-api.d.ts +28 -10
  27. package/dist/api/tenant-bank-account-api.js +24 -12
  28. package/dist/api.d.ts +1 -0
  29. package/dist/api.js +1 -0
  30. package/dist/models/bank-order-class.d.ts +115 -0
  31. package/dist/models/bank-order-class.js +15 -0
  32. package/dist/models/complete-adyen-payment-setup-request-dto.d.ts +1 -0
  33. package/dist/models/complete-adyen-payment-setup-request-dto.js +2 -1
  34. package/dist/models/complete-eis-payment-setup-request-dto.d.ts +42 -0
  35. package/dist/models/complete-eis-payment-setup-request-dto.js +15 -0
  36. package/dist/models/complete-payment-setup-request-dto.d.ts +7 -0
  37. package/dist/models/complete-stripe-payment-setup-request-dto.d.ts +1 -0
  38. package/dist/models/complete-stripe-payment-setup-request-dto.js +2 -1
  39. package/dist/models/create-bank-order-request-dto.d.ts +74 -0
  40. package/dist/models/create-bank-order-request-dto.js +28 -0
  41. package/dist/models/create-bank-order-response-class.d.ts +25 -0
  42. package/dist/models/create-bank-order-response-class.js +15 -0
  43. package/dist/models/create-payment-reminder-request-dto.d.ts +7 -1
  44. package/dist/models/create-payment-request-dto.d.ts +7 -1
  45. package/dist/models/create-psp-payment-method-request-dto.d.ts +14 -1
  46. package/dist/models/create-psp-payment-method-request-dto.js +2 -1
  47. package/dist/models/deactivated-payment-reminder-class.d.ts +7 -1
  48. package/dist/models/financial-account-class.d.ts +111 -0
  49. package/dist/models/financial-account-class.js +24 -0
  50. package/dist/models/get-bank-order-response-class.d.ts +25 -0
  51. package/dist/models/get-bank-order-response-class.js +15 -0
  52. package/dist/models/index.d.ts +9 -0
  53. package/dist/models/index.js +9 -0
  54. package/dist/models/initiate-adyen-payment-setup-request-dto.d.ts +6 -0
  55. package/dist/models/initiate-braintree-payment-setup-request-dto.d.ts +6 -0
  56. package/dist/models/initiate-stripe-payment-setup-request-dto.d.ts +6 -0
  57. package/dist/models/list-bank-orders-response-class.d.ts +31 -0
  58. package/dist/models/list-bank-orders-response-class.js +15 -0
  59. package/dist/models/payment-class-without-expand-properties.d.ts +7 -1
  60. package/dist/models/payment-class.d.ts +7 -1
  61. package/dist/models/payment-reminder-class.d.ts +7 -1
  62. package/dist/models/refund-class.d.ts +7 -1
  63. package/dist/models/update-bank-order-request-dto.d.ts +56 -0
  64. package/dist/models/update-bank-order-request-dto.js +23 -0
  65. package/dist/models/update-bank-order-response-class.d.ts +25 -0
  66. package/dist/models/update-bank-order-response-class.js +15 -0
  67. package/models/bank-order-class.ts +121 -0
  68. package/models/complete-adyen-payment-setup-request-dto.ts +2 -1
  69. package/models/complete-eis-payment-setup-request-dto.ts +48 -0
  70. package/models/complete-payment-setup-request-dto.ts +7 -0
  71. package/models/complete-stripe-payment-setup-request-dto.ts +2 -1
  72. package/models/create-bank-order-request-dto.ts +84 -0
  73. package/models/create-bank-order-response-class.ts +31 -0
  74. package/models/create-payment-reminder-request-dto.ts +7 -1
  75. package/models/create-payment-request-dto.ts +7 -1
  76. package/models/create-psp-payment-method-request-dto.ts +15 -2
  77. package/models/deactivated-payment-reminder-class.ts +7 -1
  78. package/models/financial-account-class.ts +120 -0
  79. package/models/get-bank-order-response-class.ts +31 -0
  80. package/models/index.ts +9 -0
  81. package/models/initiate-adyen-payment-setup-request-dto.ts +6 -0
  82. package/models/initiate-braintree-payment-setup-request-dto.ts +6 -0
  83. package/models/initiate-stripe-payment-setup-request-dto.ts +6 -0
  84. package/models/list-bank-orders-response-class.ts +37 -0
  85. package/models/payment-class-without-expand-properties.ts +7 -1
  86. package/models/payment-class.ts +7 -1
  87. package/models/payment-reminder-class.ts +7 -1
  88. package/models/refund-class.ts +7 -1
  89. package/models/update-bank-order-request-dto.ts +65 -0
  90. package/models/update-bank-order-response-class.ts +31 -0
  91. package/package.json +1 -1
@@ -67,15 +67,17 @@ export declare const BankTransactionApiAxiosParamCreator: (configuration?: Confi
67
67
  * 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\"
68
68
  * @summary List bank transactions
69
69
  * @param {string} [authorization] Bearer Token
70
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
71
+ * @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.
70
72
  * @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>
71
- * @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>
72
73
  * @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>
73
74
  * @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>
74
75
  * @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>
76
+ * @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>
75
77
  * @param {*} [options] Override http request option.
76
78
  * @throws {RequiredError}
77
79
  */
78
- listBankTransactions: (authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
80
+ listBankTransactions: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
79
81
  /**
80
82
  * Unlinks an already linked bank transaction **Required Permissions** \"payment-management.bank-accounts.update\"
81
83
  * @summary Unlink bank transaction
@@ -134,15 +136,17 @@ export declare const BankTransactionApiFp: (configuration?: Configuration) => {
134
136
  * 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\"
135
137
  * @summary List bank transactions
136
138
  * @param {string} [authorization] Bearer Token
139
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
140
+ * @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.
137
141
  * @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;
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: id, code, bankAccountId, bankAccountNumber, messageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked&lt;/i&gt;
139
142
  * @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;
140
143
  * @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;
141
144
  * @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;
145
+ * @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;
142
146
  * @param {*} [options] Override http request option.
143
147
  * @throws {RequiredError}
144
148
  */
145
- listBankTransactions(authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListBankTransactionsResponseClass>>;
149
+ 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>>;
146
150
  /**
147
151
  * Unlinks an already linked bank transaction **Required Permissions** \"payment-management.bank-accounts.update\"
148
152
  * @summary Unlink bank transaction
@@ -201,15 +205,17 @@ export declare const BankTransactionApiFactory: (configuration?: Configuration,
201
205
  * 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\"
202
206
  * @summary List bank transactions
203
207
  * @param {string} [authorization] Bearer Token
208
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
209
+ * @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.
204
210
  * @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;
205
- * @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;
206
211
  * @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;
207
212
  * @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;
208
213
  * @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;
214
+ * @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;
209
215
  * @param {*} [options] Override http request option.
210
216
  * @throws {RequiredError}
211
217
  */
212
- listBankTransactions(authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListBankTransactionsResponseClass>;
218
+ listBankTransactions(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListBankTransactionsResponseClass>;
213
219
  /**
214
220
  * Unlinks an already linked bank transaction **Required Permissions** \"payment-management.bank-accounts.update\"
215
221
  * @summary Unlink bank transaction
@@ -322,17 +328,23 @@ export interface BankTransactionApiListBankTransactionsRequest {
322
328
  */
323
329
  readonly authorization?: string;
324
330
  /**
325
- * 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;
331
+ * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
332
+ * @type {number}
333
+ * @memberof BankTransactionApiListBankTransactions
334
+ */
335
+ readonly pageSize?: number;
336
+ /**
337
+ * 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.
326
338
  * @type {string}
327
339
  * @memberof BankTransactionApiListBankTransactions
328
340
  */
329
- readonly filter?: string;
341
+ readonly pageToken?: string;
330
342
  /**
331
- * 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;
343
+ * 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;
332
344
  * @type {string}
333
345
  * @memberof BankTransactionApiListBankTransactions
334
346
  */
335
- readonly filters?: string;
347
+ readonly filter?: string;
336
348
  /**
337
349
  * 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;
338
350
  * @type {string}
@@ -351,6 +363,12 @@ export interface BankTransactionApiListBankTransactionsRequest {
351
363
  * @memberof BankTransactionApiListBankTransactions
352
364
  */
353
365
  readonly expand?: string;
366
+ /**
367
+ * 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;
368
+ * @type {string}
369
+ * @memberof BankTransactionApiListBankTransactions
370
+ */
371
+ readonly filters?: string;
354
372
  }
355
373
  /**
356
374
  * Request parameters for unlinkBankTransaction operation in BankTransactionApi.
@@ -306,15 +306,17 @@ var BankTransactionApiAxiosParamCreator = function (configuration) {
306
306
  * 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\"
307
307
  * @summary List bank transactions
308
308
  * @param {string} [authorization] Bearer Token
309
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
310
+ * @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.
309
311
  * @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;
310
- * @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;
311
312
  * @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;
312
313
  * @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;
313
314
  * @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;
315
+ * @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;
314
316
  * @param {*} [options] Override http request option.
315
317
  * @throws {RequiredError}
316
318
  */
317
- listBankTransactions: function (authorization, filter, filters, search, order, expand, options) {
319
+ listBankTransactions: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
318
320
  if (options === void 0) { options = {}; }
319
321
  return __awaiter(_this, void 0, void 0, function () {
320
322
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -337,12 +339,15 @@ var BankTransactionApiAxiosParamCreator = function (configuration) {
337
339
  // authentication bearer required
338
340
  // http bearer authentication required
339
341
  _a.sent();
342
+ if (pageSize !== undefined) {
343
+ localVarQueryParameter['pageSize'] = pageSize;
344
+ }
345
+ if (pageToken !== undefined) {
346
+ localVarQueryParameter['pageToken'] = pageToken;
347
+ }
340
348
  if (filter !== undefined) {
341
349
  localVarQueryParameter['filter'] = filter;
342
350
  }
343
- if (filters !== undefined) {
344
- localVarQueryParameter['filters'] = filters;
345
- }
346
351
  if (search !== undefined) {
347
352
  localVarQueryParameter['search'] = search;
348
353
  }
@@ -352,6 +357,9 @@ var BankTransactionApiAxiosParamCreator = function (configuration) {
352
357
  if (expand !== undefined) {
353
358
  localVarQueryParameter['expand'] = expand;
354
359
  }
360
+ if (filters !== undefined) {
361
+ localVarQueryParameter['filters'] = filters;
362
+ }
355
363
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
356
364
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
357
365
  }
@@ -519,20 +527,22 @@ var BankTransactionApiFp = function (configuration) {
519
527
  * 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\"
520
528
  * @summary List bank transactions
521
529
  * @param {string} [authorization] Bearer Token
530
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
531
+ * @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.
522
532
  * @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;
523
- * @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;
524
533
  * @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;
525
534
  * @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;
526
535
  * @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;
536
+ * @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;
527
537
  * @param {*} [options] Override http request option.
528
538
  * @throws {RequiredError}
529
539
  */
530
- listBankTransactions: function (authorization, filter, filters, search, order, expand, options) {
540
+ listBankTransactions: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
531
541
  return __awaiter(this, void 0, void 0, function () {
532
542
  var localVarAxiosArgs;
533
543
  return __generator(this, function (_a) {
534
544
  switch (_a.label) {
535
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.listBankTransactions(authorization, filter, filters, search, order, expand, options)];
545
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.listBankTransactions(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
536
546
  case 1:
537
547
  localVarAxiosArgs = _a.sent();
538
548
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -622,16 +632,18 @@ var BankTransactionApiFactory = function (configuration, basePath, axios) {
622
632
  * 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\"
623
633
  * @summary List bank transactions
624
634
  * @param {string} [authorization] Bearer Token
635
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
636
+ * @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.
625
637
  * @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;
626
- * @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;
627
638
  * @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;
628
639
  * @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;
629
640
  * @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;
641
+ * @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;
630
642
  * @param {*} [options] Override http request option.
631
643
  * @throws {RequiredError}
632
644
  */
633
- listBankTransactions: function (authorization, filter, filters, search, order, expand, options) {
634
- return localVarFp.listBankTransactions(authorization, filter, filters, search, order, expand, options).then(function (request) { return request(axios, basePath); });
645
+ listBankTransactions: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
646
+ return localVarFp.listBankTransactions(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
635
647
  },
636
648
  /**
637
649
  * Unlinks an already linked bank transaction **Required Permissions** \"payment-management.bank-accounts.update\"
@@ -718,7 +730,7 @@ var BankTransactionApi = /** @class */ (function (_super) {
718
730
  BankTransactionApi.prototype.listBankTransactions = function (requestParameters, options) {
719
731
  var _this = this;
720
732
  if (requestParameters === void 0) { requestParameters = {}; }
721
- return (0, exports.BankTransactionApiFp)(this.configuration).listBankTransactions(requestParameters.authorization, requestParameters.filter, requestParameters.filters, requestParameters.search, requestParameters.order, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
733
+ return (0, exports.BankTransactionApiFp)(this.configuration).listBankTransactions(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
722
734
  };
723
735
  /**
724
736
  * Unlinks an already linked bank transaction **Required Permissions** \"payment-management.bank-accounts.update\"
@@ -43,14 +43,17 @@ export declare const PaymentMethodsApiAxiosParamCreator: (configuration?: Config
43
43
  * 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\"
44
44
  * @summary List payment methods
45
45
  * @param {string} [authorization] Bearer Token
46
- * @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;
47
- * @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;
46
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
47
+ * @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.
48
+ * @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;
49
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
48
50
  * @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;
49
51
  * @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;
52
+ * @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;
50
53
  * @param {*} [options] Override http request option.
51
54
  * @throws {RequiredError}
52
55
  */
53
- listPaymentMethods: (authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
56
+ listPaymentMethods: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
54
57
  };
55
58
  /**
56
59
  * PaymentMethodsApi - functional programming interface
@@ -79,14 +82,17 @@ export declare const PaymentMethodsApiFp: (configuration?: Configuration) => {
79
82
  * 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\"
80
83
  * @summary List payment methods
81
84
  * @param {string} [authorization] Bearer Token
82
- * @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;
83
- * @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;
85
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
86
+ * @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.
87
+ * @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;
88
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
84
89
  * @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;
85
90
  * @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;
91
+ * @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;
86
92
  * @param {*} [options] Override http request option.
87
93
  * @throws {RequiredError}
88
94
  */
89
- listPaymentMethods(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPaymentMethodsResponseClass>>;
95
+ 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>>;
90
96
  };
91
97
  /**
92
98
  * PaymentMethodsApi - factory interface
@@ -115,14 +121,17 @@ export declare const PaymentMethodsApiFactory: (configuration?: Configuration, b
115
121
  * 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\"
116
122
  * @summary List payment methods
117
123
  * @param {string} [authorization] Bearer Token
118
- * @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;
119
- * @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;
124
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
125
+ * @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.
126
+ * @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;
127
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
120
128
  * @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;
121
129
  * @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;
130
+ * @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;
122
131
  * @param {*} [options] Override http request option.
123
132
  * @throws {RequiredError}
124
133
  */
125
- listPaymentMethods(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListPaymentMethodsResponseClass>;
134
+ listPaymentMethods(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListPaymentMethodsResponseClass>;
126
135
  };
127
136
  /**
128
137
  * Request parameters for createPaymentMethod operation in PaymentMethodsApi.
@@ -175,17 +184,29 @@ export interface PaymentMethodsApiListPaymentMethodsRequest {
175
184
  */
176
185
  readonly authorization?: string;
177
186
  /**
178
- * 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;
187
+ * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
188
+ * @type {number}
189
+ * @memberof PaymentMethodsApiListPaymentMethods
190
+ */
191
+ readonly pageSize?: number;
192
+ /**
193
+ * 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.
194
+ * @type {string}
195
+ * @memberof PaymentMethodsApiListPaymentMethods
196
+ */
197
+ readonly pageToken?: string;
198
+ /**
199
+ * 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;
179
200
  * @type {string}
180
201
  * @memberof PaymentMethodsApiListPaymentMethods
181
202
  */
182
203
  readonly filter?: string;
183
204
  /**
184
- * 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;
205
+ * To search the list by any field, pass search&#x3D;xxx to fetch the result.
185
206
  * @type {string}
186
207
  * @memberof PaymentMethodsApiListPaymentMethods
187
208
  */
188
- readonly filters?: string;
209
+ readonly search?: string;
189
210
  /**
190
211
  * 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;
191
212
  * @type {string}
@@ -198,6 +219,12 @@ export interface PaymentMethodsApiListPaymentMethodsRequest {
198
219
  * @memberof PaymentMethodsApiListPaymentMethods
199
220
  */
200
221
  readonly expand?: string;
222
+ /**
223
+ * 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;
224
+ * @type {string}
225
+ * @memberof PaymentMethodsApiListPaymentMethods
226
+ */
227
+ readonly filters?: string;
201
228
  }
202
229
  /**
203
230
  * PaymentMethodsApi - object-oriented interface
@@ -197,14 +197,17 @@ var PaymentMethodsApiAxiosParamCreator = function (configuration) {
197
197
  * 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\"
198
198
  * @summary List payment methods
199
199
  * @param {string} [authorization] Bearer Token
200
- * @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;
201
- * @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;
200
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
201
+ * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
202
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, pspCustomerId, psp, type, productSlug, accountCode, partnerCode&lt;/i&gt;
203
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
202
204
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt&lt;/i&gt;
203
205
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
206
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, pspCustomerId, psp, type, productSlug, accountCode, partnerCode&lt;/i&gt;
204
207
  * @param {*} [options] Override http request option.
205
208
  * @throws {RequiredError}
206
209
  */
207
- listPaymentMethods: function (authorization, filter, filters, order, expand, options) {
210
+ listPaymentMethods: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
208
211
  if (options === void 0) { options = {}; }
209
212
  return __awaiter(_this, void 0, void 0, function () {
210
213
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -227,11 +230,17 @@ var PaymentMethodsApiAxiosParamCreator = function (configuration) {
227
230
  // authentication bearer required
228
231
  // http bearer authentication required
229
232
  _a.sent();
233
+ if (pageSize !== undefined) {
234
+ localVarQueryParameter['pageSize'] = pageSize;
235
+ }
236
+ if (pageToken !== undefined) {
237
+ localVarQueryParameter['pageToken'] = pageToken;
238
+ }
230
239
  if (filter !== undefined) {
231
240
  localVarQueryParameter['filter'] = filter;
232
241
  }
233
- if (filters !== undefined) {
234
- localVarQueryParameter['filters'] = filters;
242
+ if (search !== undefined) {
243
+ localVarQueryParameter['search'] = search;
235
244
  }
236
245
  if (order !== undefined) {
237
246
  localVarQueryParameter['order'] = order;
@@ -239,6 +248,9 @@ var PaymentMethodsApiAxiosParamCreator = function (configuration) {
239
248
  if (expand !== undefined) {
240
249
  localVarQueryParameter['expand'] = expand;
241
250
  }
251
+ if (filters !== undefined) {
252
+ localVarQueryParameter['filters'] = filters;
253
+ }
242
254
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
243
255
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
244
256
  }
@@ -309,19 +321,22 @@ var PaymentMethodsApiFp = function (configuration) {
309
321
  * 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\"
310
322
  * @summary List payment methods
311
323
  * @param {string} [authorization] Bearer Token
312
- * @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;
313
- * @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;
324
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
325
+ * @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.
326
+ * @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;
327
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
314
328
  * @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;
315
329
  * @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;
330
+ * @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;
316
331
  * @param {*} [options] Override http request option.
317
332
  * @throws {RequiredError}
318
333
  */
319
- listPaymentMethods: function (authorization, filter, filters, order, expand, options) {
334
+ listPaymentMethods: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
320
335
  return __awaiter(this, void 0, void 0, function () {
321
336
  var localVarAxiosArgs;
322
337
  return __generator(this, function (_a) {
323
338
  switch (_a.label) {
324
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.listPaymentMethods(authorization, filter, filters, order, expand, options)];
339
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.listPaymentMethods(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
325
340
  case 1:
326
341
  localVarAxiosArgs = _a.sent();
327
342
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -365,15 +380,18 @@ var PaymentMethodsApiFactory = function (configuration, basePath, axios) {
365
380
  * 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\"
366
381
  * @summary List payment methods
367
382
  * @param {string} [authorization] Bearer Token
368
- * @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;
369
- * @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;
383
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
384
+ * @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.
385
+ * @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;
386
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
370
387
  * @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;
371
388
  * @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;
389
+ * @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;
372
390
  * @param {*} [options] Override http request option.
373
391
  * @throws {RequiredError}
374
392
  */
375
- listPaymentMethods: function (authorization, filter, filters, order, expand, options) {
376
- return localVarFp.listPaymentMethods(authorization, filter, filters, order, expand, options).then(function (request) { return request(axios, basePath); });
393
+ listPaymentMethods: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
394
+ return localVarFp.listPaymentMethods(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
377
395
  },
378
396
  };
379
397
  };
@@ -424,7 +442,7 @@ var PaymentMethodsApi = /** @class */ (function (_super) {
424
442
  PaymentMethodsApi.prototype.listPaymentMethods = function (requestParameters, options) {
425
443
  var _this = this;
426
444
  if (requestParameters === void 0) { requestParameters = {}; }
427
- return (0, exports.PaymentMethodsApiFp)(this.configuration).listPaymentMethods(requestParameters.authorization, requestParameters.filter, requestParameters.filters, requestParameters.order, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
445
+ return (0, exports.PaymentMethodsApiFp)(this.configuration).listPaymentMethods(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
428
446
  };
429
447
  return PaymentMethodsApi;
430
448
  }(base_1.BaseAPI));