@emilgroup/payment-sdk 1.13.1-beta.24 → 1.13.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 (79) hide show
  1. package/.openapi-generator/FILES +0 -9
  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/create-payment-reminder-request-dto.d.ts +1 -7
  28. package/dist/models/create-payment-request-dto.d.ts +1 -7
  29. package/dist/models/create-psp-payment-method-request-dto.d.ts +1 -7
  30. package/dist/models/deactivated-payment-reminder-class.d.ts +1 -7
  31. package/dist/models/index.d.ts +0 -8
  32. package/dist/models/index.js +0 -8
  33. package/dist/models/initiate-adyen-payment-setup-request-dto.d.ts +0 -6
  34. package/dist/models/initiate-braintree-payment-setup-request-dto.d.ts +0 -6
  35. package/dist/models/initiate-stripe-payment-setup-request-dto.d.ts +0 -6
  36. package/dist/models/payment-class-without-expand-properties.d.ts +1 -7
  37. package/dist/models/payment-class.d.ts +1 -7
  38. package/dist/models/payment-reminder-class.d.ts +1 -7
  39. package/dist/models/refund-class.d.ts +1 -7
  40. package/models/create-payment-reminder-request-dto.ts +1 -7
  41. package/models/create-payment-request-dto.ts +1 -7
  42. package/models/create-psp-payment-method-request-dto.ts +1 -7
  43. package/models/deactivated-payment-reminder-class.ts +1 -7
  44. package/models/index.ts +0 -8
  45. package/models/initiate-adyen-payment-setup-request-dto.ts +0 -6
  46. package/models/initiate-braintree-payment-setup-request-dto.ts +0 -6
  47. package/models/initiate-stripe-payment-setup-request-dto.ts +0 -6
  48. package/models/payment-class-without-expand-properties.ts +1 -7
  49. package/models/payment-class.ts +1 -7
  50. package/models/payment-reminder-class.ts +1 -7
  51. package/models/refund-class.ts +1 -7
  52. package/package.json +1 -1
  53. package/api/bank-orders-api.ts +0 -691
  54. package/dist/api/bank-orders-api.d.ts +0 -393
  55. package/dist/api/bank-orders-api.js +0 -642
  56. package/dist/models/bank-order-class.d.ts +0 -115
  57. package/dist/models/bank-order-class.js +0 -15
  58. package/dist/models/create-bank-order-request-dto.d.ts +0 -74
  59. package/dist/models/create-bank-order-request-dto.js +0 -28
  60. package/dist/models/create-bank-order-response-class.d.ts +0 -25
  61. package/dist/models/create-bank-order-response-class.js +0 -15
  62. package/dist/models/financial-account-class.d.ts +0 -111
  63. package/dist/models/financial-account-class.js +0 -24
  64. package/dist/models/get-bank-order-response-class.d.ts +0 -25
  65. package/dist/models/get-bank-order-response-class.js +0 -15
  66. package/dist/models/list-bank-orders-response-class.d.ts +0 -31
  67. package/dist/models/list-bank-orders-response-class.js +0 -15
  68. package/dist/models/update-bank-order-request-dto.d.ts +0 -56
  69. package/dist/models/update-bank-order-request-dto.js +0 -23
  70. package/dist/models/update-bank-order-response-class.d.ts +0 -25
  71. package/dist/models/update-bank-order-response-class.js +0 -15
  72. package/models/bank-order-class.ts +0 -121
  73. package/models/create-bank-order-request-dto.ts +0 -84
  74. package/models/create-bank-order-response-class.ts +0 -31
  75. package/models/financial-account-class.ts +0 -120
  76. package/models/get-bank-order-response-class.ts +0 -31
  77. package/models/list-bank-orders-response-class.ts +0 -37
  78. package/models/update-bank-order-request-dto.ts +0 -65
  79. package/models/update-bank-order-response-class.ts +0 -31
@@ -185,17 +185,14 @@ export const PaymentRemindersApiAxiosParamCreator = function (configuration?: Co
185
185
  * 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\"
186
186
  * @summary List payment reminders
187
187
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
188
- * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
189
- * @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.
190
188
  * @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>
191
- * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
189
+ * @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>
192
190
  * @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>
193
191
  * @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/>
194
- * @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>
195
192
  * @param {*} [options] Override http request option.
196
193
  * @throws {RequiredError}
197
194
  */
198
- listPaymentReminders: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
195
+ listPaymentReminders: async (authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
199
196
  const localVarPath = `/paymentservice/v1/payment-reminders`;
200
197
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
201
198
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -214,20 +211,12 @@ export const PaymentRemindersApiAxiosParamCreator = function (configuration?: Co
214
211
  // http bearer authentication required
215
212
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
216
213
 
217
- if (pageSize !== undefined) {
218
- localVarQueryParameter['pageSize'] = pageSize;
219
- }
220
-
221
- if (pageToken !== undefined) {
222
- localVarQueryParameter['pageToken'] = pageToken;
223
- }
224
-
225
214
  if (filter !== undefined) {
226
215
  localVarQueryParameter['filter'] = filter;
227
216
  }
228
217
 
229
- if (search !== undefined) {
230
- localVarQueryParameter['search'] = search;
218
+ if (filters !== undefined) {
219
+ localVarQueryParameter['filters'] = filters;
231
220
  }
232
221
 
233
222
  if (order !== undefined) {
@@ -238,10 +227,6 @@ export const PaymentRemindersApiAxiosParamCreator = function (configuration?: Co
238
227
  localVarQueryParameter['expand'] = expand;
239
228
  }
240
229
 
241
- if (filters !== undefined) {
242
- localVarQueryParameter['filters'] = filters;
243
- }
244
-
245
230
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
246
231
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
247
232
  }
@@ -308,18 +293,15 @@ export const PaymentRemindersApiFp = function(configuration?: Configuration) {
308
293
  * 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\"
309
294
  * @summary List payment reminders
310
295
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
311
- * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
312
- * @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.
313
296
  * @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;
314
- * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
297
+ * @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;
315
298
  * @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;
316
299
  * @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;
317
- * @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;
318
300
  * @param {*} [options] Override http request option.
319
301
  * @throws {RequiredError}
320
302
  */
321
- 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>> {
322
- const localVarAxiosArgs = await localVarAxiosParamCreator.listPaymentReminders(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
303
+ async listPaymentReminders(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPaymentRemindersResponseClass>> {
304
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listPaymentReminders(authorization, filter, filters, order, expand, options);
323
305
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
324
306
  },
325
307
  }
@@ -370,18 +352,15 @@ export const PaymentRemindersApiFactory = function (configuration?: Configuratio
370
352
  * 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\"
371
353
  * @summary List payment reminders
372
354
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
373
- * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
374
- * @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.
375
355
  * @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;
376
- * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
356
+ * @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;
377
357
  * @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;
378
358
  * @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;
379
- * @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;
380
359
  * @param {*} [options] Override http request option.
381
360
  * @throws {RequiredError}
382
361
  */
383
- listPaymentReminders(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListPaymentRemindersResponseClass> {
384
- return localVarFp.listPaymentReminders(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
362
+ listPaymentReminders(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListPaymentRemindersResponseClass> {
363
+ return localVarFp.listPaymentReminders(authorization, filter, filters, order, expand, options).then((request) => request(axios, basePath));
385
364
  },
386
365
  };
387
366
  };
@@ -469,20 +448,6 @@ export interface PaymentRemindersApiListPaymentRemindersRequest {
469
448
  */
470
449
  readonly authorization?: string
471
450
 
472
- /**
473
- * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
474
- * @type {number}
475
- * @memberof PaymentRemindersApiListPaymentReminders
476
- */
477
- readonly pageSize?: number
478
-
479
- /**
480
- * 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.
481
- * @type {string}
482
- * @memberof PaymentRemindersApiListPaymentReminders
483
- */
484
- readonly pageToken?: string
485
-
486
451
  /**
487
452
  * 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;
488
453
  * @type {string}
@@ -491,11 +456,11 @@ export interface PaymentRemindersApiListPaymentRemindersRequest {
491
456
  readonly filter?: string
492
457
 
493
458
  /**
494
- * To search the list by any field, pass search&#x3D;xxx to fetch the result.
459
+ * 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;
495
460
  * @type {string}
496
461
  * @memberof PaymentRemindersApiListPaymentReminders
497
462
  */
498
- readonly search?: string
463
+ readonly filters?: string
499
464
 
500
465
  /**
501
466
  * 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;
@@ -510,13 +475,6 @@ export interface PaymentRemindersApiListPaymentRemindersRequest {
510
475
  * @memberof PaymentRemindersApiListPaymentReminders
511
476
  */
512
477
  readonly expand?: string
513
-
514
- /**
515
- * 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;
516
- * @type {string}
517
- * @memberof PaymentRemindersApiListPaymentReminders
518
- */
519
- readonly filters?: string
520
478
  }
521
479
 
522
480
  /**
@@ -571,6 +529,6 @@ export class PaymentRemindersApi extends BaseAPI {
571
529
  * @memberof PaymentRemindersApi
572
530
  */
573
531
  public listPaymentReminders(requestParameters: PaymentRemindersApiListPaymentRemindersRequest = {}, options?: AxiosRequestConfig) {
574
- 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));
532
+ return PaymentRemindersApiFp(this.configuration).listPaymentReminders(requestParameters.authorization, requestParameters.filter, requestParameters.filters, requestParameters.order, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
575
533
  }
576
534
  }
@@ -142,17 +142,14 @@ export const PaymentsApiAxiosParamCreator = function (configuration?: Configurat
142
142
  * 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\"
143
143
  * @summary List payments
144
144
  * @param {string} [authorization] Bearer Token
145
- * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
146
- * @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.
147
- * @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;
148
- * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
145
+ * @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;
146
+ * @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;
149
147
  * @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;
150
148
  * @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;
151
- * @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;
152
149
  * @param {*} [options] Override http request option.
153
150
  * @throws {RequiredError}
154
151
  */
155
- listPayments: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
152
+ listPayments: async (authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
156
153
  const localVarPath = `/paymentservice/v1/payments`;
157
154
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
158
155
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -171,20 +168,12 @@ export const PaymentsApiAxiosParamCreator = function (configuration?: Configurat
171
168
  // http bearer authentication required
172
169
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
173
170
 
174
- if (pageSize !== undefined) {
175
- localVarQueryParameter['pageSize'] = pageSize;
176
- }
177
-
178
- if (pageToken !== undefined) {
179
- localVarQueryParameter['pageToken'] = pageToken;
180
- }
181
-
182
171
  if (filter !== undefined) {
183
172
  localVarQueryParameter['filter'] = filter;
184
173
  }
185
174
 
186
- if (search !== undefined) {
187
- localVarQueryParameter['search'] = search;
175
+ if (filters !== undefined) {
176
+ localVarQueryParameter['filters'] = filters;
188
177
  }
189
178
 
190
179
  if (order !== undefined) {
@@ -195,10 +184,6 @@ export const PaymentsApiAxiosParamCreator = function (configuration?: Configurat
195
184
  localVarQueryParameter['expand'] = expand;
196
185
  }
197
186
 
198
- if (filters !== undefined) {
199
- localVarQueryParameter['filters'] = filters;
200
- }
201
-
202
187
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
203
188
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
204
189
  }
@@ -254,18 +239,15 @@ export const PaymentsApiFp = function(configuration?: Configuration) {
254
239
  * 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\"
255
240
  * @summary List payments
256
241
  * @param {string} [authorization] Bearer Token
257
- * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
258
- * @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.
259
- * @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;
260
- * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
242
+ * @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;
243
+ * @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;
261
244
  * @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;
262
245
  * @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;
263
- * @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;
264
246
  * @param {*} [options] Override http request option.
265
247
  * @throws {RequiredError}
266
248
  */
267
- 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>> {
268
- const localVarAxiosArgs = await localVarAxiosParamCreator.listPayments(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
249
+ async listPayments(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPaymentsResponseClass>> {
250
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listPayments(authorization, filter, filters, order, expand, options);
269
251
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
270
252
  },
271
253
  }
@@ -306,18 +288,15 @@ export const PaymentsApiFactory = function (configuration?: Configuration, baseP
306
288
  * 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\"
307
289
  * @summary List payments
308
290
  * @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.
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: code, id, pspCustomerId, psp, type, amount, receivedDate, referenceNumber, productSlug, accountCode, partnerCode&lt;/i&gt;
312
- * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
291
+ * @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;
292
+ * @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;
313
293
  * @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;
314
294
  * @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;
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: code, id, pspCustomerId, psp, type, amount, receivedDate, referenceNumber, productSlug, accountCode, partnerCode&lt;/i&gt;
316
295
  * @param {*} [options] Override http request option.
317
296
  * @throws {RequiredError}
318
297
  */
319
- listPayments(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListPaymentsResponseClass> {
320
- return localVarFp.listPayments(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
298
+ listPayments(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListPaymentsResponseClass> {
299
+ return localVarFp.listPayments(authorization, filter, filters, order, expand, options).then((request) => request(axios, basePath));
321
300
  },
322
301
  };
323
302
  };
@@ -392,32 +371,18 @@ export interface PaymentsApiListPaymentsRequest {
392
371
  readonly authorization?: string
393
372
 
394
373
  /**
395
- * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
396
- * @type {number}
397
- * @memberof PaymentsApiListPayments
398
- */
399
- readonly pageSize?: number
400
-
401
- /**
402
- * 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.
403
- * @type {string}
404
- * @memberof PaymentsApiListPayments
405
- */
406
- readonly pageToken?: string
407
-
408
- /**
409
- * 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;
374
+ * 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;
410
375
  * @type {string}
411
376
  * @memberof PaymentsApiListPayments
412
377
  */
413
378
  readonly filter?: string
414
379
 
415
380
  /**
416
- * To search the list by any field, pass search&#x3D;xxx to fetch the result.
381
+ * 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;
417
382
  * @type {string}
418
383
  * @memberof PaymentsApiListPayments
419
384
  */
420
- readonly search?: string
385
+ readonly filters?: string
421
386
 
422
387
  /**
423
388
  * 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;
@@ -432,13 +397,6 @@ export interface PaymentsApiListPaymentsRequest {
432
397
  * @memberof PaymentsApiListPayments
433
398
  */
434
399
  readonly expand?: string
435
-
436
- /**
437
- * 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;
438
- * @type {string}
439
- * @memberof PaymentsApiListPayments
440
- */
441
- readonly filters?: string
442
400
  }
443
401
 
444
402
  /**
@@ -481,6 +439,6 @@ export class PaymentsApi extends BaseAPI {
481
439
  * @memberof PaymentsApi
482
440
  */
483
441
  public listPayments(requestParameters: PaymentsApiListPaymentsRequest = {}, options?: AxiosRequestConfig) {
484
- 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));
442
+ return PaymentsApiFp(this.configuration).listPayments(requestParameters.authorization, requestParameters.filter, requestParameters.filters, requestParameters.order, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
485
443
  }
486
444
  }
@@ -135,17 +135,15 @@ export const RefundsApiAxiosParamCreator = function (configuration?: Configurati
135
135
  * 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\"
136
136
  * @summary List refunds
137
137
  * @param {string} [authorization] Bearer Token
138
- * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
139
- * @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.
140
138
  * @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;
139
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, status, reason, psp, accountCode, invoiceCode&lt;/i&gt;
141
140
  * @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;
142
141
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, updatedAt, amount&lt;/i&gt;
143
142
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: refundItems&lt;i&gt;
144
- * @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
143
  * @param {*} [options] Override http request option.
146
144
  * @throws {RequiredError}
147
145
  */
148
- listRefunds: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
146
+ listRefunds: async (authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
149
147
  const localVarPath = `/paymentservice/v1/refunds`;
150
148
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
151
149
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -164,18 +162,14 @@ export const RefundsApiAxiosParamCreator = function (configuration?: Configurati
164
162
  // http bearer authentication required
165
163
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
166
164
 
167
- if (pageSize !== undefined) {
168
- localVarQueryParameter['pageSize'] = pageSize;
169
- }
170
-
171
- if (pageToken !== undefined) {
172
- localVarQueryParameter['pageToken'] = pageToken;
173
- }
174
-
175
165
  if (filter !== undefined) {
176
166
  localVarQueryParameter['filter'] = filter;
177
167
  }
178
168
 
169
+ if (filters !== undefined) {
170
+ localVarQueryParameter['filters'] = filters;
171
+ }
172
+
179
173
  if (search !== undefined) {
180
174
  localVarQueryParameter['search'] = search;
181
175
  }
@@ -188,10 +182,6 @@ export const RefundsApiAxiosParamCreator = function (configuration?: Configurati
188
182
  localVarQueryParameter['expand'] = expand;
189
183
  }
190
184
 
191
- if (filters !== undefined) {
192
- localVarQueryParameter['filters'] = filters;
193
- }
194
-
195
185
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
196
186
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
197
187
  }
@@ -246,18 +236,16 @@ export const RefundsApiFp = function(configuration?: Configuration) {
246
236
  * 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\"
247
237
  * @summary List refunds
248
238
  * @param {string} [authorization] Bearer Token
249
- * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
250
- * @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.
251
239
  * @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;
240
+ * @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;
252
241
  * @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;
253
242
  * @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;
254
243
  * @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;
255
- * @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
244
  * @param {*} [options] Override http request option.
257
245
  * @throws {RequiredError}
258
246
  */
259
- 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>> {
260
- const localVarAxiosArgs = await localVarAxiosParamCreator.listRefunds(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
247
+ async listRefunds(authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListRefundsResponseClass>> {
248
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listRefunds(authorization, filter, filters, search, order, expand, options);
261
249
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
262
250
  },
263
251
  }
@@ -297,18 +285,16 @@ export const RefundsApiFactory = function (configuration?: Configuration, basePa
297
285
  * 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\"
298
286
  * @summary List refunds
299
287
  * @param {string} [authorization] Bearer Token
300
- * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
301
- * @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.
302
288
  * @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;
289
+ * @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;
303
290
  * @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;
304
291
  * @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;
305
292
  * @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;
306
- * @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
293
  * @param {*} [options] Override http request option.
308
294
  * @throws {RequiredError}
309
295
  */
310
- listRefunds(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListRefundsResponseClass> {
311
- return localVarFp.listRefunds(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
296
+ listRefunds(authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListRefundsResponseClass> {
297
+ return localVarFp.listRefunds(authorization, filter, filters, search, order, expand, options).then((request) => request(axios, basePath));
312
298
  },
313
299
  };
314
300
  };
@@ -376,25 +362,18 @@ export interface RefundsApiListRefundsRequest {
376
362
  readonly authorization?: string
377
363
 
378
364
  /**
379
- * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
380
- * @type {number}
381
- * @memberof RefundsApiListRefunds
382
- */
383
- readonly pageSize?: number
384
-
385
- /**
386
- * 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.
365
+ * 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;
387
366
  * @type {string}
388
367
  * @memberof RefundsApiListRefunds
389
368
  */
390
- readonly pageToken?: string
369
+ readonly filter?: string
391
370
 
392
371
  /**
393
- * 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;
372
+ * 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;
394
373
  * @type {string}
395
374
  * @memberof RefundsApiListRefunds
396
375
  */
397
- readonly filter?: string
376
+ readonly filters?: string
398
377
 
399
378
  /**
400
379
  * 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;
@@ -416,13 +395,6 @@ export interface RefundsApiListRefundsRequest {
416
395
  * @memberof RefundsApiListRefunds
417
396
  */
418
397
  readonly expand?: string
419
-
420
- /**
421
- * 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;
422
- * @type {string}
423
- * @memberof RefundsApiListRefunds
424
- */
425
- readonly filters?: string
426
398
  }
427
399
 
428
400
  /**
@@ -465,6 +437,6 @@ export class RefundsApi extends BaseAPI {
465
437
  * @memberof RefundsApi
466
438
  */
467
439
  public listRefunds(requestParameters: RefundsApiListRefundsRequest = {}, options?: AxiosRequestConfig) {
468
- 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));
440
+ 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));
469
441
  }
470
442
  }