@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
@@ -250,17 +250,14 @@ var PaymentRemindersApiAxiosParamCreator = function (configuration) {
250
250
  * 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\"
251
251
  * @summary List payment reminders
252
252
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
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=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
255
253
  * @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>
256
- * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
254
+ * @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>
257
255
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, updatedAt</i>
258
256
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
259
- * @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>
260
257
  * @param {*} [options] Override http request option.
261
258
  * @throws {RequiredError}
262
259
  */
263
- listPaymentReminders: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
260
+ listPaymentReminders: function (authorization, filter, filters, order, expand, options) {
264
261
  if (options === void 0) { options = {}; }
265
262
  return __awaiter(_this, void 0, void 0, function () {
266
263
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -283,17 +280,11 @@ var PaymentRemindersApiAxiosParamCreator = function (configuration) {
283
280
  // authentication bearer required
284
281
  // http bearer authentication required
285
282
  _a.sent();
286
- if (pageSize !== undefined) {
287
- localVarQueryParameter['pageSize'] = pageSize;
288
- }
289
- if (pageToken !== undefined) {
290
- localVarQueryParameter['pageToken'] = pageToken;
291
- }
292
283
  if (filter !== undefined) {
293
284
  localVarQueryParameter['filter'] = filter;
294
285
  }
295
- if (search !== undefined) {
296
- localVarQueryParameter['search'] = search;
286
+ if (filters !== undefined) {
287
+ localVarQueryParameter['filters'] = filters;
297
288
  }
298
289
  if (order !== undefined) {
299
290
  localVarQueryParameter['order'] = order;
@@ -301,9 +292,6 @@ var PaymentRemindersApiAxiosParamCreator = function (configuration) {
301
292
  if (expand !== undefined) {
302
293
  localVarQueryParameter['expand'] = expand;
303
294
  }
304
- if (filters !== undefined) {
305
- localVarQueryParameter['filters'] = filters;
306
- }
307
295
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
308
296
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
309
297
  }
@@ -396,22 +384,19 @@ var PaymentRemindersApiFp = function (configuration) {
396
384
  * 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\"
397
385
  * @summary List payment reminders
398
386
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
399
- * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
400
- * @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.
401
387
  * @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>
402
- * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
388
+ * @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>
403
389
  * @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>
404
390
  * @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/>
405
- * @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>
406
391
  * @param {*} [options] Override http request option.
407
392
  * @throws {RequiredError}
408
393
  */
409
- listPaymentReminders: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
394
+ listPaymentReminders: function (authorization, filter, filters, order, expand, options) {
410
395
  return __awaiter(this, void 0, void 0, function () {
411
396
  var localVarAxiosArgs;
412
397
  return __generator(this, function (_a) {
413
398
  switch (_a.label) {
414
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.listPaymentReminders(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
399
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.listPaymentReminders(authorization, filter, filters, order, expand, options)];
415
400
  case 1:
416
401
  localVarAxiosArgs = _a.sent();
417
402
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -467,18 +452,15 @@ var PaymentRemindersApiFactory = function (configuration, basePath, axios) {
467
452
  * 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\"
468
453
  * @summary List payment reminders
469
454
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
470
- * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
471
- * @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.
472
455
  * @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>
473
- * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
456
+ * @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>
474
457
  * @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>
475
458
  * @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/>
476
- * @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>
477
459
  * @param {*} [options] Override http request option.
478
460
  * @throws {RequiredError}
479
461
  */
480
- listPaymentReminders: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
481
- return localVarFp.listPaymentReminders(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
462
+ listPaymentReminders: function (authorization, filter, filters, order, expand, options) {
463
+ return localVarFp.listPaymentReminders(authorization, filter, filters, order, expand, options).then(function (request) { return request(axios, basePath); });
482
464
  },
483
465
  };
484
466
  };
@@ -541,7 +523,7 @@ var PaymentRemindersApi = /** @class */ (function (_super) {
541
523
  PaymentRemindersApi.prototype.listPaymentReminders = function (requestParameters, options) {
542
524
  var _this = this;
543
525
  if (requestParameters === void 0) { requestParameters = {}; }
544
- return (0, exports.PaymentRemindersApiFp)(this.configuration).listPaymentReminders(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
526
+ return (0, exports.PaymentRemindersApiFp)(this.configuration).listPaymentReminders(requestParameters.authorization, requestParameters.filter, requestParameters.filters, requestParameters.order, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
545
527
  };
546
528
  return PaymentRemindersApi;
547
529
  }(base_1.BaseAPI));
@@ -45,17 +45,14 @@ export declare const PaymentsApiAxiosParamCreator: (configuration?: Configuratio
45
45
  * 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\"
46
46
  * @summary List payments
47
47
  * @param {string} [authorization] Bearer Token
48
- * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
49
- * @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.
50
- * @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, pspCustomerId, psp, type, amount, receivedDate, referenceNumber, productSlug, accountCode, partnerCode</i>
51
- * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
48
+ * @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, pspCustomerId, psp, type, amount, receivedDate, referenceNumber, productSlug</i>
49
+ * @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, pspCustomerId, psp, type, amount, receivedDate, referenceNumber, productSlug</i>
52
50
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, code, amount</i>
53
51
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: transactions<i>
54
- * @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, pspCustomerId, psp, type, amount, receivedDate, referenceNumber, productSlug, accountCode, partnerCode</i>
55
52
  * @param {*} [options] Override http request option.
56
53
  * @throws {RequiredError}
57
54
  */
58
- listPayments: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
55
+ listPayments: (authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
59
56
  };
60
57
  /**
61
58
  * PaymentsApi - functional programming interface
@@ -86,17 +83,14 @@ export declare const PaymentsApiFp: (configuration?: Configuration) => {
86
83
  * 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\"
87
84
  * @summary List payments
88
85
  * @param {string} [authorization] Bearer Token
89
- * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
90
- * @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.
91
- * @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;
92
- * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
86
+ * @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;
87
+ * @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;
93
88
  * @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;
94
89
  * @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;
95
- * @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;
96
90
  * @param {*} [options] Override http request option.
97
91
  * @throws {RequiredError}
98
92
  */
99
- 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>>;
93
+ listPayments(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPaymentsResponseClass>>;
100
94
  };
101
95
  /**
102
96
  * PaymentsApi - factory interface
@@ -127,17 +121,14 @@ export declare const PaymentsApiFactory: (configuration?: Configuration, basePat
127
121
  * 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\"
128
122
  * @summary List payments
129
123
  * @param {string} [authorization] Bearer Token
130
- * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
131
- * @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.
132
- * @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;
133
- * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
124
+ * @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;
125
+ * @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;
134
126
  * @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;
135
127
  * @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;
136
- * @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;
137
128
  * @param {*} [options] Override http request option.
138
129
  * @throws {RequiredError}
139
130
  */
140
- listPayments(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListPaymentsResponseClass>;
131
+ listPayments(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListPaymentsResponseClass>;
141
132
  };
142
133
  /**
143
134
  * Request parameters for createPayment operation in PaymentsApi.
@@ -202,29 +193,17 @@ export interface PaymentsApiListPaymentsRequest {
202
193
  */
203
194
  readonly authorization?: string;
204
195
  /**
205
- * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
206
- * @type {number}
207
- * @memberof PaymentsApiListPayments
208
- */
209
- readonly pageSize?: number;
210
- /**
211
- * 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.
212
- * @type {string}
213
- * @memberof PaymentsApiListPayments
214
- */
215
- readonly pageToken?: string;
216
- /**
217
- * 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;
196
+ * 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;
218
197
  * @type {string}
219
198
  * @memberof PaymentsApiListPayments
220
199
  */
221
200
  readonly filter?: string;
222
201
  /**
223
- * To search the list by any field, pass search&#x3D;xxx to fetch the result.
202
+ * 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;
224
203
  * @type {string}
225
204
  * @memberof PaymentsApiListPayments
226
205
  */
227
- readonly search?: string;
206
+ readonly filters?: string;
228
207
  /**
229
208
  * 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;
230
209
  * @type {string}
@@ -237,12 +216,6 @@ export interface PaymentsApiListPaymentsRequest {
237
216
  * @memberof PaymentsApiListPayments
238
217
  */
239
218
  readonly expand?: string;
240
- /**
241
- * 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;
242
- * @type {string}
243
- * @memberof PaymentsApiListPayments
244
- */
245
- readonly filters?: string;
246
219
  }
247
220
  /**
248
221
  * PaymentsApi - object-oriented interface
@@ -207,17 +207,14 @@ var PaymentsApiAxiosParamCreator = function (configuration) {
207
207
  * 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\"
208
208
  * @summary List payments
209
209
  * @param {string} [authorization] Bearer Token
210
- * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
211
- * @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.
212
- * @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;
213
- * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
210
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, pspCustomerId, psp, type, amount, receivedDate, referenceNumber, productSlug&lt;/i&gt;
211
+ * @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;
214
212
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, code, amount&lt;/i&gt;
215
213
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: transactions&lt;i&gt;
216
- * @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;
217
214
  * @param {*} [options] Override http request option.
218
215
  * @throws {RequiredError}
219
216
  */
220
- listPayments: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
217
+ listPayments: function (authorization, filter, filters, order, expand, options) {
221
218
  if (options === void 0) { options = {}; }
222
219
  return __awaiter(_this, void 0, void 0, function () {
223
220
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -240,17 +237,11 @@ var PaymentsApiAxiosParamCreator = function (configuration) {
240
237
  // authentication bearer required
241
238
  // http bearer authentication required
242
239
  _a.sent();
243
- if (pageSize !== undefined) {
244
- localVarQueryParameter['pageSize'] = pageSize;
245
- }
246
- if (pageToken !== undefined) {
247
- localVarQueryParameter['pageToken'] = pageToken;
248
- }
249
240
  if (filter !== undefined) {
250
241
  localVarQueryParameter['filter'] = filter;
251
242
  }
252
- if (search !== undefined) {
253
- localVarQueryParameter['search'] = search;
243
+ if (filters !== undefined) {
244
+ localVarQueryParameter['filters'] = filters;
254
245
  }
255
246
  if (order !== undefined) {
256
247
  localVarQueryParameter['order'] = order;
@@ -258,9 +249,6 @@ var PaymentsApiAxiosParamCreator = function (configuration) {
258
249
  if (expand !== undefined) {
259
250
  localVarQueryParameter['expand'] = expand;
260
251
  }
261
- if (filters !== undefined) {
262
- localVarQueryParameter['filters'] = filters;
263
- }
264
252
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
265
253
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
266
254
  }
@@ -333,22 +321,19 @@ var PaymentsApiFp = function (configuration) {
333
321
  * 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\"
334
322
  * @summary List payments
335
323
  * @param {string} [authorization] Bearer Token
336
- * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
337
- * @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.
338
- * @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;
339
- * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
324
+ * @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;
325
+ * @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;
340
326
  * @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;
341
327
  * @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;
342
- * @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;
343
328
  * @param {*} [options] Override http request option.
344
329
  * @throws {RequiredError}
345
330
  */
346
- listPayments: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
331
+ listPayments: function (authorization, filter, filters, order, expand, options) {
347
332
  return __awaiter(this, void 0, void 0, function () {
348
333
  var localVarAxiosArgs;
349
334
  return __generator(this, function (_a) {
350
335
  switch (_a.label) {
351
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.listPayments(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
336
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.listPayments(authorization, filter, filters, order, expand, options)];
352
337
  case 1:
353
338
  localVarAxiosArgs = _a.sent();
354
339
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -394,18 +379,15 @@ var PaymentsApiFactory = function (configuration, basePath, axios) {
394
379
  * 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\"
395
380
  * @summary List payments
396
381
  * @param {string} [authorization] Bearer Token
397
- * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
398
- * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
399
- * @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;
400
- * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
382
+ * @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;
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, pspCustomerId, psp, type, amount, receivedDate, referenceNumber, productSlug&lt;/i&gt;
401
384
  * @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;
402
385
  * @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;
403
- * @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;
404
386
  * @param {*} [options] Override http request option.
405
387
  * @throws {RequiredError}
406
388
  */
407
- listPayments: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
408
- return localVarFp.listPayments(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
389
+ listPayments: function (authorization, filter, filters, order, expand, options) {
390
+ return localVarFp.listPayments(authorization, filter, filters, order, expand, options).then(function (request) { return request(axios, basePath); });
409
391
  },
410
392
  };
411
393
  };
@@ -456,7 +438,7 @@ var PaymentsApi = /** @class */ (function (_super) {
456
438
  PaymentsApi.prototype.listPayments = function (requestParameters, options) {
457
439
  var _this = this;
458
440
  if (requestParameters === void 0) { requestParameters = {}; }
459
- return (0, exports.PaymentsApiFp)(this.configuration).listPayments(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
441
+ return (0, exports.PaymentsApiFp)(this.configuration).listPayments(requestParameters.authorization, requestParameters.filter, requestParameters.filters, requestParameters.order, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
460
442
  };
461
443
  return PaymentsApi;
462
444
  }(base_1.BaseAPI));
@@ -44,17 +44,15 @@ export declare const RefundsApiAxiosParamCreator: (configuration?: Configuration
44
44
  * 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\"
45
45
  * @summary List refunds
46
46
  * @param {string} [authorization] Bearer Token
47
- * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
48
- * @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.
49
47
  * @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;
48
+ * @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;
50
49
  * @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;
51
50
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, updatedAt, amount&lt;/i&gt;
52
51
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: refundItems&lt;i&gt;
53
- * @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;
54
52
  * @param {*} [options] Override http request option.
55
53
  * @throws {RequiredError}
56
54
  */
57
- listRefunds: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
55
+ listRefunds: (authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
58
56
  };
59
57
  /**
60
58
  * RefundsApi - functional programming interface
@@ -84,17 +82,15 @@ export declare const RefundsApiFp: (configuration?: Configuration) => {
84
82
  * 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\"
85
83
  * @summary List refunds
86
84
  * @param {string} [authorization] Bearer Token
87
- * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
88
- * @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.
89
85
  * @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;
86
+ * @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;
90
87
  * @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;
91
88
  * @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;
92
89
  * @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;
93
- * @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;
94
90
  * @param {*} [options] Override http request option.
95
91
  * @throws {RequiredError}
96
92
  */
97
- 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>>;
93
+ listRefunds(authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListRefundsResponseClass>>;
98
94
  };
99
95
  /**
100
96
  * RefundsApi - factory interface
@@ -124,17 +120,15 @@ export declare const RefundsApiFactory: (configuration?: Configuration, basePath
124
120
  * 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\"
125
121
  * @summary List refunds
126
122
  * @param {string} [authorization] Bearer Token
127
- * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
128
- * @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.
129
123
  * @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;
124
+ * @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;
130
125
  * @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;
131
126
  * @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;
132
127
  * @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;
133
- * @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;
134
128
  * @param {*} [options] Override http request option.
135
129
  * @throws {RequiredError}
136
130
  */
137
- listRefunds(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListRefundsResponseClass>;
131
+ listRefunds(authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListRefundsResponseClass>;
138
132
  };
139
133
  /**
140
134
  * Request parameters for createRefund operation in RefundsApi.
@@ -193,23 +187,17 @@ export interface RefundsApiListRefundsRequest {
193
187
  */
194
188
  readonly authorization?: string;
195
189
  /**
196
- * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
197
- * @type {number}
198
- * @memberof RefundsApiListRefunds
199
- */
200
- readonly pageSize?: number;
201
- /**
202
- * 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.
190
+ * 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;
203
191
  * @type {string}
204
192
  * @memberof RefundsApiListRefunds
205
193
  */
206
- readonly pageToken?: string;
194
+ readonly filter?: string;
207
195
  /**
208
- * 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;
196
+ * 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;
209
197
  * @type {string}
210
198
  * @memberof RefundsApiListRefunds
211
199
  */
212
- readonly filter?: string;
200
+ readonly filters?: string;
213
201
  /**
214
202
  * 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;
215
203
  * @type {string}
@@ -228,12 +216,6 @@ export interface RefundsApiListRefundsRequest {
228
216
  * @memberof RefundsApiListRefunds
229
217
  */
230
218
  readonly expand?: string;
231
- /**
232
- * 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;
233
- * @type {string}
234
- * @memberof RefundsApiListRefunds
235
- */
236
- readonly filters?: string;
237
219
  }
238
220
  /**
239
221
  * RefundsApi - object-oriented interface