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

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 +0 -10
  2. package/README.md +2 -2
  3. package/api/bank-accounts-api.ts +13 -55
  4. package/api/bank-transaction-api.ts +17 -45
  5. package/api/payment-methods-api.ts +17 -59
  6. package/api/payment-reminders-api.ts +13 -55
  7. package/api/payments-api.ts +17 -59
  8. package/api/refunds-api.ts +17 -45
  9. package/api/tenant-bank-account-api.ts +17 -45
  10. package/api.ts +0 -2
  11. package/dist/api/bank-accounts-api.d.ts +8 -35
  12. package/dist/api/bank-accounts-api.js +11 -29
  13. package/dist/api/bank-transaction-api.d.ts +10 -28
  14. package/dist/api/bank-transaction-api.js +12 -24
  15. package/dist/api/payment-methods-api.d.ts +12 -39
  16. package/dist/api/payment-methods-api.js +14 -32
  17. package/dist/api/payment-reminders-api.d.ts +8 -35
  18. package/dist/api/payment-reminders-api.js +11 -29
  19. package/dist/api/payments-api.d.ts +12 -39
  20. package/dist/api/payments-api.js +14 -32
  21. package/dist/api/refunds-api.d.ts +10 -28
  22. package/dist/api/refunds-api.js +12 -24
  23. package/dist/api/tenant-bank-account-api.d.ts +10 -28
  24. package/dist/api/tenant-bank-account-api.js +12 -24
  25. package/dist/api.d.ts +0 -1
  26. package/dist/api.js +0 -1
  27. package/dist/models/complete-adyen-payment-setup-request-dto.d.ts +0 -1
  28. package/dist/models/complete-adyen-payment-setup-request-dto.js +1 -2
  29. package/dist/models/complete-payment-setup-request-dto.d.ts +0 -7
  30. package/dist/models/complete-stripe-payment-setup-request-dto.d.ts +0 -1
  31. package/dist/models/complete-stripe-payment-setup-request-dto.js +1 -2
  32. package/dist/models/create-payment-reminder-request-dto.d.ts +1 -7
  33. package/dist/models/create-payment-request-dto.d.ts +1 -7
  34. package/dist/models/create-psp-payment-method-request-dto.d.ts +1 -14
  35. package/dist/models/create-psp-payment-method-request-dto.js +1 -2
  36. package/dist/models/deactivated-payment-reminder-class.d.ts +1 -7
  37. package/dist/models/index.d.ts +0 -9
  38. package/dist/models/index.js +0 -9
  39. package/dist/models/initiate-adyen-payment-setup-request-dto.d.ts +0 -6
  40. package/dist/models/initiate-braintree-payment-setup-request-dto.d.ts +0 -6
  41. package/dist/models/initiate-stripe-payment-setup-request-dto.d.ts +0 -6
  42. package/dist/models/payment-class-without-expand-properties.d.ts +1 -7
  43. package/dist/models/payment-class.d.ts +1 -7
  44. package/dist/models/payment-reminder-class.d.ts +1 -7
  45. package/dist/models/refund-class.d.ts +1 -7
  46. package/models/complete-adyen-payment-setup-request-dto.ts +1 -2
  47. package/models/complete-payment-setup-request-dto.ts +0 -7
  48. package/models/complete-stripe-payment-setup-request-dto.ts +1 -2
  49. package/models/create-payment-reminder-request-dto.ts +1 -7
  50. package/models/create-payment-request-dto.ts +1 -7
  51. package/models/create-psp-payment-method-request-dto.ts +2 -15
  52. package/models/deactivated-payment-reminder-class.ts +1 -7
  53. package/models/index.ts +0 -9
  54. package/models/initiate-adyen-payment-setup-request-dto.ts +0 -6
  55. package/models/initiate-braintree-payment-setup-request-dto.ts +0 -6
  56. package/models/initiate-stripe-payment-setup-request-dto.ts +0 -6
  57. package/models/payment-class-without-expand-properties.ts +1 -7
  58. package/models/payment-class.ts +1 -7
  59. package/models/payment-reminder-class.ts +1 -7
  60. package/models/refund-class.ts +1 -7
  61. package/package.json +1 -1
  62. package/api/bank-orders-api.ts +0 -695
  63. package/dist/api/bank-orders-api.d.ts +0 -393
  64. package/dist/api/bank-orders-api.js +0 -646
  65. package/dist/models/bank-order-class.d.ts +0 -115
  66. package/dist/models/bank-order-class.js +0 -15
  67. package/dist/models/complete-eis-payment-setup-request-dto.d.ts +0 -42
  68. package/dist/models/complete-eis-payment-setup-request-dto.js +0 -15
  69. package/dist/models/create-bank-order-request-dto.d.ts +0 -74
  70. package/dist/models/create-bank-order-request-dto.js +0 -28
  71. package/dist/models/create-bank-order-response-class.d.ts +0 -25
  72. package/dist/models/create-bank-order-response-class.js +0 -15
  73. package/dist/models/financial-account-class.d.ts +0 -111
  74. package/dist/models/financial-account-class.js +0 -24
  75. package/dist/models/get-bank-order-response-class.d.ts +0 -25
  76. package/dist/models/get-bank-order-response-class.js +0 -15
  77. package/dist/models/list-bank-orders-response-class.d.ts +0 -31
  78. package/dist/models/list-bank-orders-response-class.js +0 -15
  79. package/dist/models/update-bank-order-request-dto.d.ts +0 -56
  80. package/dist/models/update-bank-order-request-dto.js +0 -23
  81. package/dist/models/update-bank-order-response-class.d.ts +0 -25
  82. package/dist/models/update-bank-order-response-class.js +0 -15
  83. package/models/bank-order-class.ts +0 -121
  84. package/models/complete-eis-payment-setup-request-dto.ts +0 -48
  85. package/models/create-bank-order-request-dto.ts +0 -84
  86. package/models/create-bank-order-response-class.ts +0 -31
  87. package/models/financial-account-class.ts +0 -120
  88. package/models/get-bank-order-response-class.ts +0 -31
  89. package/models/list-bank-orders-response-class.ts +0 -37
  90. package/models/update-bank-order-request-dto.ts +0 -65
  91. package/models/update-bank-order-response-class.ts +0 -31
@@ -189,17 +189,14 @@ export const PaymentRemindersApiAxiosParamCreator = function (configuration?: Co
189
189
  * Returns a list of payment reminders you have previously created. The payment reminders are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.reminders.view\"
190
190
  * @summary List payment reminders
191
191
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
192
- * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
193
- * @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.
194
192
  * @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, policyCode, nextReminderDate</i>
195
- * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
193
+ * @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, policyCode, nextReminderDate</i>
196
194
  * @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, updatedAt</i>
197
195
  * @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/>
198
- * @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, policyCode, nextReminderDate</i>
199
196
  * @param {*} [options] Override http request option.
200
197
  * @throws {RequiredError}
201
198
  */
202
- listPaymentReminders: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
199
+ listPaymentReminders: async (authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
203
200
  const localVarPath = `/paymentservice/v1/payment-reminders`;
204
201
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
205
202
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -218,20 +215,12 @@ export const PaymentRemindersApiAxiosParamCreator = function (configuration?: Co
218
215
  // http bearer authentication required
219
216
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
220
217
 
221
- if (pageSize !== undefined) {
222
- localVarQueryParameter['pageSize'] = pageSize;
223
- }
224
-
225
- if (pageToken !== undefined) {
226
- localVarQueryParameter['pageToken'] = pageToken;
227
- }
228
-
229
218
  if (filter !== undefined) {
230
219
  localVarQueryParameter['filter'] = filter;
231
220
  }
232
221
 
233
- if (search !== undefined) {
234
- localVarQueryParameter['search'] = search;
222
+ if (filters !== undefined) {
223
+ localVarQueryParameter['filters'] = filters;
235
224
  }
236
225
 
237
226
  if (order !== undefined) {
@@ -242,10 +231,6 @@ export const PaymentRemindersApiAxiosParamCreator = function (configuration?: Co
242
231
  localVarQueryParameter['expand'] = expand;
243
232
  }
244
233
 
245
- if (filters !== undefined) {
246
- localVarQueryParameter['filters'] = filters;
247
- }
248
-
249
234
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
250
235
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
251
236
  }
@@ -312,18 +297,15 @@ export const PaymentRemindersApiFp = function(configuration?: Configuration) {
312
297
  * Returns a list of payment reminders you have previously created. The payment reminders are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.reminders.view\"
313
298
  * @summary List payment reminders
314
299
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
315
- * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
316
- * @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.
317
300
  * @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, policyCode, nextReminderDate&lt;/i&gt;
318
- * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
301
+ * @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, policyCode, nextReminderDate&lt;/i&gt;
319
302
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, updatedAt&lt;/i&gt;
320
303
  * @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;
321
- * @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, policyCode, nextReminderDate&lt;/i&gt;
322
304
  * @param {*} [options] Override http request option.
323
305
  * @throws {RequiredError}
324
306
  */
325
- async listPaymentReminders(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPaymentRemindersResponseClass>> {
326
- const localVarAxiosArgs = await localVarAxiosParamCreator.listPaymentReminders(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
307
+ async listPaymentReminders(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPaymentRemindersResponseClass>> {
308
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listPaymentReminders(authorization, filter, filters, order, expand, options);
327
309
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
328
310
  },
329
311
  }
@@ -374,18 +356,15 @@ export const PaymentRemindersApiFactory = function (configuration?: Configuratio
374
356
  * Returns a list of payment reminders you have previously created. The payment reminders are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.reminders.view\"
375
357
  * @summary List payment reminders
376
358
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
377
- * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
378
- * @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.
379
359
  * @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, policyCode, nextReminderDate&lt;/i&gt;
380
- * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
360
+ * @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, policyCode, nextReminderDate&lt;/i&gt;
381
361
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, updatedAt&lt;/i&gt;
382
362
  * @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;
383
- * @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, policyCode, nextReminderDate&lt;/i&gt;
384
363
  * @param {*} [options] Override http request option.
385
364
  * @throws {RequiredError}
386
365
  */
387
- listPaymentReminders(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListPaymentRemindersResponseClass> {
388
- return localVarFp.listPaymentReminders(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
366
+ listPaymentReminders(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListPaymentRemindersResponseClass> {
367
+ return localVarFp.listPaymentReminders(authorization, filter, filters, order, expand, options).then((request) => request(axios, basePath));
389
368
  },
390
369
  };
391
370
  };
@@ -473,20 +452,6 @@ export interface PaymentRemindersApiListPaymentRemindersRequest {
473
452
  */
474
453
  readonly authorization?: string
475
454
 
476
- /**
477
- * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
478
- * @type {number}
479
- * @memberof PaymentRemindersApiListPaymentReminders
480
- */
481
- readonly pageSize?: number
482
-
483
- /**
484
- * 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.
485
- * @type {string}
486
- * @memberof PaymentRemindersApiListPaymentReminders
487
- */
488
- readonly pageToken?: string
489
-
490
455
  /**
491
456
  * 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, policyCode, nextReminderDate&lt;/i&gt;
492
457
  * @type {string}
@@ -495,11 +460,11 @@ export interface PaymentRemindersApiListPaymentRemindersRequest {
495
460
  readonly filter?: string
496
461
 
497
462
  /**
498
- * To search the list by any field, pass search&#x3D;xxx to fetch the result.
463
+ * 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, policyCode, nextReminderDate&lt;/i&gt;
499
464
  * @type {string}
500
465
  * @memberof PaymentRemindersApiListPaymentReminders
501
466
  */
502
- readonly search?: string
467
+ readonly filters?: string
503
468
 
504
469
  /**
505
470
  * Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, updatedAt&lt;/i&gt;
@@ -514,13 +479,6 @@ export interface PaymentRemindersApiListPaymentRemindersRequest {
514
479
  * @memberof PaymentRemindersApiListPaymentReminders
515
480
  */
516
481
  readonly expand?: string
517
-
518
- /**
519
- * 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, policyCode, nextReminderDate&lt;/i&gt;
520
- * @type {string}
521
- * @memberof PaymentRemindersApiListPaymentReminders
522
- */
523
- readonly filters?: string
524
482
  }
525
483
 
526
484
  /**
@@ -575,6 +533,6 @@ export class PaymentRemindersApi extends BaseAPI {
575
533
  * @memberof PaymentRemindersApi
576
534
  */
577
535
  public listPaymentReminders(requestParameters: PaymentRemindersApiListPaymentRemindersRequest = {}, options?: AxiosRequestConfig) {
578
- return PaymentRemindersApiFp(this.configuration).listPaymentReminders(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
536
+ return PaymentRemindersApiFp(this.configuration).listPaymentReminders(requestParameters.authorization, requestParameters.filter, requestParameters.filters, requestParameters.order, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
579
537
  }
580
538
  }
@@ -146,17 +146,14 @@ export const PaymentsApiAxiosParamCreator = function (configuration?: Configurat
146
146
  * Returns a list of payments you have previously created. The payments 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\"
147
147
  * @summary List payments
148
148
  * @param {string} [authorization] Bearer Token
149
- * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
150
- * @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.
151
- * @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, amount, receivedDate, referenceNumber, productSlug, accountCode, partnerCode&lt;/i&gt;
152
- * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
149
+ * @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, amount, receivedDate, referenceNumber, productSlug&lt;/i&gt;
150
+ * @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, amount, receivedDate, referenceNumber, productSlug&lt;/i&gt;
153
151
  * @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, code, amount&lt;/i&gt;
154
152
  * @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: transactions&lt;i&gt;
155
- * @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, amount, receivedDate, referenceNumber, productSlug, accountCode, partnerCode&lt;/i&gt;
156
153
  * @param {*} [options] Override http request option.
157
154
  * @throws {RequiredError}
158
155
  */
159
- listPayments: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
156
+ listPayments: async (authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
160
157
  const localVarPath = `/paymentservice/v1/payments`;
161
158
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
162
159
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -175,20 +172,12 @@ export const PaymentsApiAxiosParamCreator = function (configuration?: Configurat
175
172
  // http bearer authentication required
176
173
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
177
174
 
178
- if (pageSize !== undefined) {
179
- localVarQueryParameter['pageSize'] = pageSize;
180
- }
181
-
182
- if (pageToken !== undefined) {
183
- localVarQueryParameter['pageToken'] = pageToken;
184
- }
185
-
186
175
  if (filter !== undefined) {
187
176
  localVarQueryParameter['filter'] = filter;
188
177
  }
189
178
 
190
- if (search !== undefined) {
191
- localVarQueryParameter['search'] = search;
179
+ if (filters !== undefined) {
180
+ localVarQueryParameter['filters'] = filters;
192
181
  }
193
182
 
194
183
  if (order !== undefined) {
@@ -199,10 +188,6 @@ export const PaymentsApiAxiosParamCreator = function (configuration?: Configurat
199
188
  localVarQueryParameter['expand'] = expand;
200
189
  }
201
190
 
202
- if (filters !== undefined) {
203
- localVarQueryParameter['filters'] = filters;
204
- }
205
-
206
191
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
207
192
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
208
193
  }
@@ -258,18 +243,15 @@ export const PaymentsApiFp = function(configuration?: Configuration) {
258
243
  * Returns a list of payments you have previously created. The payments 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\"
259
244
  * @summary List payments
260
245
  * @param {string} [authorization] Bearer Token
261
- * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
262
- * @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.
263
- * @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, amount, receivedDate, referenceNumber, productSlug, accountCode, partnerCode&lt;/i&gt;
264
- * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
246
+ * @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, amount, receivedDate, referenceNumber, productSlug&lt;/i&gt;
247
+ * @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, amount, receivedDate, referenceNumber, productSlug&lt;/i&gt;
265
248
  * @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, code, amount&lt;/i&gt;
266
249
  * @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: transactions&lt;i&gt;
267
- * @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, amount, receivedDate, referenceNumber, productSlug, accountCode, partnerCode&lt;/i&gt;
268
250
  * @param {*} [options] Override http request option.
269
251
  * @throws {RequiredError}
270
252
  */
271
- async listPayments(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPaymentsResponseClass>> {
272
- const localVarAxiosArgs = await localVarAxiosParamCreator.listPayments(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
253
+ async listPayments(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPaymentsResponseClass>> {
254
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listPayments(authorization, filter, filters, order, expand, options);
273
255
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
274
256
  },
275
257
  }
@@ -310,18 +292,15 @@ export const PaymentsApiFactory = function (configuration?: Configuration, baseP
310
292
  * Returns a list of payments you have previously created. The payments 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\"
311
293
  * @summary List payments
312
294
  * @param {string} [authorization] Bearer Token
313
- * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
314
- * @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.
315
- * @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, amount, receivedDate, referenceNumber, productSlug, accountCode, partnerCode&lt;/i&gt;
316
- * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
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, amount, receivedDate, referenceNumber, productSlug&lt;/i&gt;
296
+ * @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, amount, receivedDate, referenceNumber, productSlug&lt;/i&gt;
317
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, code, amount&lt;/i&gt;
318
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; &lt;i&gt;Allowed values: transactions&lt;i&gt;
319
- * @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, amount, receivedDate, referenceNumber, productSlug, accountCode, partnerCode&lt;/i&gt;
320
299
  * @param {*} [options] Override http request option.
321
300
  * @throws {RequiredError}
322
301
  */
323
- listPayments(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListPaymentsResponseClass> {
324
- return localVarFp.listPayments(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
302
+ listPayments(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListPaymentsResponseClass> {
303
+ return localVarFp.listPayments(authorization, filter, filters, order, expand, options).then((request) => request(axios, basePath));
325
304
  },
326
305
  };
327
306
  };
@@ -396,32 +375,18 @@ export interface PaymentsApiListPaymentsRequest {
396
375
  readonly authorization?: string
397
376
 
398
377
  /**
399
- * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
400
- * @type {number}
401
- * @memberof PaymentsApiListPayments
402
- */
403
- readonly pageSize?: number
404
-
405
- /**
406
- * 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.
407
- * @type {string}
408
- * @memberof PaymentsApiListPayments
409
- */
410
- readonly pageToken?: string
411
-
412
- /**
413
- * 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, amount, receivedDate, referenceNumber, productSlug, accountCode, partnerCode&lt;/i&gt;
378
+ * 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, amount, receivedDate, referenceNumber, productSlug&lt;/i&gt;
414
379
  * @type {string}
415
380
  * @memberof PaymentsApiListPayments
416
381
  */
417
382
  readonly filter?: string
418
383
 
419
384
  /**
420
- * To search the list by any field, pass search&#x3D;xxx to fetch the result.
385
+ * 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, amount, receivedDate, referenceNumber, productSlug&lt;/i&gt;
421
386
  * @type {string}
422
387
  * @memberof PaymentsApiListPayments
423
388
  */
424
- readonly search?: string
389
+ readonly filters?: string
425
390
 
426
391
  /**
427
392
  * 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, code, amount&lt;/i&gt;
@@ -436,13 +401,6 @@ export interface PaymentsApiListPaymentsRequest {
436
401
  * @memberof PaymentsApiListPayments
437
402
  */
438
403
  readonly expand?: string
439
-
440
- /**
441
- * 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, amount, receivedDate, referenceNumber, productSlug, accountCode, partnerCode&lt;/i&gt;
442
- * @type {string}
443
- * @memberof PaymentsApiListPayments
444
- */
445
- readonly filters?: string
446
404
  }
447
405
 
448
406
  /**
@@ -485,6 +443,6 @@ export class PaymentsApi extends BaseAPI {
485
443
  * @memberof PaymentsApi
486
444
  */
487
445
  public listPayments(requestParameters: PaymentsApiListPaymentsRequest = {}, options?: AxiosRequestConfig) {
488
- return PaymentsApiFp(this.configuration).listPayments(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
446
+ return PaymentsApiFp(this.configuration).listPayments(requestParameters.authorization, requestParameters.filter, requestParameters.filters, requestParameters.order, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
489
447
  }
490
448
  }
@@ -139,17 +139,15 @@ export const RefundsApiAxiosParamCreator = function (configuration?: Configurati
139
139
  * Returns a list of refunds you have previously created. The refunds are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.payments.view\"
140
140
  * @summary List refunds
141
141
  * @param {string} [authorization] Bearer Token
142
- * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
143
- * @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.
144
142
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, status, reason, psp, accountCode, invoiceCode&lt;/i&gt;
143
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, status, reason, psp, accountCode, invoiceCode&lt;/i&gt;
145
144
  * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: id, createdAt, updatedAt, amount, psp, accountCode, invoiceCode, reason, status&lt;/i&gt;
146
145
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, updatedAt, amount&lt;/i&gt;
147
146
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: refundItems&lt;i&gt;
148
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, status, reason, psp, accountCode, invoiceCode&lt;/i&gt;
149
147
  * @param {*} [options] Override http request option.
150
148
  * @throws {RequiredError}
151
149
  */
152
- listRefunds: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
150
+ listRefunds: async (authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
153
151
  const localVarPath = `/paymentservice/v1/refunds`;
154
152
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
155
153
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -168,18 +166,14 @@ export const RefundsApiAxiosParamCreator = function (configuration?: Configurati
168
166
  // http bearer authentication required
169
167
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
170
168
 
171
- if (pageSize !== undefined) {
172
- localVarQueryParameter['pageSize'] = pageSize;
173
- }
174
-
175
- if (pageToken !== undefined) {
176
- localVarQueryParameter['pageToken'] = pageToken;
177
- }
178
-
179
169
  if (filter !== undefined) {
180
170
  localVarQueryParameter['filter'] = filter;
181
171
  }
182
172
 
173
+ if (filters !== undefined) {
174
+ localVarQueryParameter['filters'] = filters;
175
+ }
176
+
183
177
  if (search !== undefined) {
184
178
  localVarQueryParameter['search'] = search;
185
179
  }
@@ -192,10 +186,6 @@ export const RefundsApiAxiosParamCreator = function (configuration?: Configurati
192
186
  localVarQueryParameter['expand'] = expand;
193
187
  }
194
188
 
195
- if (filters !== undefined) {
196
- localVarQueryParameter['filters'] = filters;
197
- }
198
-
199
189
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
200
190
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
201
191
  }
@@ -250,18 +240,16 @@ export const RefundsApiFp = function(configuration?: Configuration) {
250
240
  * Returns a list of refunds you have previously created. The refunds are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.payments.view\"
251
241
  * @summary List refunds
252
242
  * @param {string} [authorization] Bearer Token
253
- * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
254
- * @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.
255
243
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, status, reason, psp, accountCode, invoiceCode&lt;/i&gt;
244
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, status, reason, psp, accountCode, invoiceCode&lt;/i&gt;
256
245
  * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: id, createdAt, updatedAt, amount, psp, accountCode, invoiceCode, reason, status&lt;/i&gt;
257
246
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, updatedAt, amount&lt;/i&gt;
258
247
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: refundItems&lt;i&gt;
259
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, status, reason, psp, accountCode, invoiceCode&lt;/i&gt;
260
248
  * @param {*} [options] Override http request option.
261
249
  * @throws {RequiredError}
262
250
  */
263
- async listRefunds(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListRefundsResponseClass>> {
264
- const localVarAxiosArgs = await localVarAxiosParamCreator.listRefunds(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
251
+ async listRefunds(authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListRefundsResponseClass>> {
252
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listRefunds(authorization, filter, filters, search, order, expand, options);
265
253
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
266
254
  },
267
255
  }
@@ -301,18 +289,16 @@ export const RefundsApiFactory = function (configuration?: Configuration, basePa
301
289
  * Returns a list of refunds you have previously created. The refunds are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.payments.view\"
302
290
  * @summary List refunds
303
291
  * @param {string} [authorization] Bearer Token
304
- * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
305
- * @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.
306
292
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, status, reason, psp, accountCode, invoiceCode&lt;/i&gt;
293
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, status, reason, psp, accountCode, invoiceCode&lt;/i&gt;
307
294
  * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: id, createdAt, updatedAt, amount, psp, accountCode, invoiceCode, reason, status&lt;/i&gt;
308
295
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, updatedAt, amount&lt;/i&gt;
309
296
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: refundItems&lt;i&gt;
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: code, id, status, reason, psp, accountCode, invoiceCode&lt;/i&gt;
311
297
  * @param {*} [options] Override http request option.
312
298
  * @throws {RequiredError}
313
299
  */
314
- listRefunds(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListRefundsResponseClass> {
315
- return localVarFp.listRefunds(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
300
+ listRefunds(authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListRefundsResponseClass> {
301
+ return localVarFp.listRefunds(authorization, filter, filters, search, order, expand, options).then((request) => request(axios, basePath));
316
302
  },
317
303
  };
318
304
  };
@@ -380,25 +366,18 @@ export interface RefundsApiListRefundsRequest {
380
366
  readonly authorization?: string
381
367
 
382
368
  /**
383
- * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
384
- * @type {number}
385
- * @memberof RefundsApiListRefunds
386
- */
387
- readonly pageSize?: number
388
-
389
- /**
390
- * 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.
369
+ * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, status, reason, psp, accountCode, invoiceCode&lt;/i&gt;
391
370
  * @type {string}
392
371
  * @memberof RefundsApiListRefunds
393
372
  */
394
- readonly pageToken?: string
373
+ readonly filter?: string
395
374
 
396
375
  /**
397
- * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, status, reason, psp, accountCode, invoiceCode&lt;/i&gt;
376
+ * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, status, reason, psp, accountCode, invoiceCode&lt;/i&gt;
398
377
  * @type {string}
399
378
  * @memberof RefundsApiListRefunds
400
379
  */
401
- readonly filter?: string
380
+ readonly filters?: string
402
381
 
403
382
  /**
404
383
  * Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: id, createdAt, updatedAt, amount, psp, accountCode, invoiceCode, reason, status&lt;/i&gt;
@@ -420,13 +399,6 @@ export interface RefundsApiListRefundsRequest {
420
399
  * @memberof RefundsApiListRefunds
421
400
  */
422
401
  readonly expand?: string
423
-
424
- /**
425
- * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, status, reason, psp, accountCode, invoiceCode&lt;/i&gt;
426
- * @type {string}
427
- * @memberof RefundsApiListRefunds
428
- */
429
- readonly filters?: string
430
402
  }
431
403
 
432
404
  /**
@@ -469,6 +441,6 @@ export class RefundsApi extends BaseAPI {
469
441
  * @memberof RefundsApi
470
442
  */
471
443
  public listRefunds(requestParameters: RefundsApiListRefundsRequest = {}, options?: AxiosRequestConfig) {
472
- return RefundsApiFp(this.configuration).listRefunds(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
444
+ return RefundsApiFp(this.configuration).listRefunds(requestParameters.authorization, requestParameters.filter, requestParameters.filters, requestParameters.search, requestParameters.order, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
473
445
  }
474
446
  }