@emilgroup/payment-sdk-node 1.21.1-beta.16 → 1.21.1-beta.18

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 (41) hide show
  1. package/.openapi-generator/FILES +1 -1
  2. package/README.md +2 -2
  3. package/api/bank-accounts-api.ts +55 -13
  4. package/api/bank-orders-api.ts +86 -44
  5. package/api/bank-transaction-api.ts +45 -17
  6. package/api/payment-methods-api.ts +55 -13
  7. package/api/payment-reminders-api.ts +55 -13
  8. package/api/payments-api.ts +55 -13
  9. package/api/refunds-api.ts +45 -17
  10. package/api/tenant-bank-account-api.ts +45 -17
  11. package/dist/api/bank-accounts-api.d.ts +35 -8
  12. package/dist/api/bank-accounts-api.js +29 -11
  13. package/dist/api/bank-orders-api.d.ts +60 -33
  14. package/dist/api/bank-orders-api.js +53 -35
  15. package/dist/api/bank-transaction-api.d.ts +28 -10
  16. package/dist/api/bank-transaction-api.js +24 -12
  17. package/dist/api/payment-methods-api.d.ts +35 -8
  18. package/dist/api/payment-methods-api.js +29 -11
  19. package/dist/api/payment-reminders-api.d.ts +35 -8
  20. package/dist/api/payment-reminders-api.js +29 -11
  21. package/dist/api/payments-api.d.ts +35 -8
  22. package/dist/api/payments-api.js +29 -11
  23. package/dist/api/refunds-api.d.ts +28 -10
  24. package/dist/api/refunds-api.js +24 -12
  25. package/dist/api/tenant-bank-account-api.d.ts +28 -10
  26. package/dist/api/tenant-bank-account-api.js +24 -12
  27. package/dist/models/bank-order-class.d.ts +7 -7
  28. package/dist/models/create-bank-order-request-dto.d.ts +3 -9
  29. package/dist/models/financial-account-class.d.ts +111 -0
  30. package/dist/models/{update-bank-order-request-dto-rest.js → financial-account-class.js} +8 -7
  31. package/dist/models/index.d.ts +1 -1
  32. package/dist/models/index.js +1 -1
  33. package/dist/models/update-bank-order-request-dto.d.ts +0 -12
  34. package/models/bank-order-class.ts +7 -7
  35. package/models/create-bank-order-request-dto.ts +3 -9
  36. package/models/financial-account-class.ts +120 -0
  37. package/models/index.ts +1 -1
  38. package/models/update-bank-order-request-dto.ts +0 -12
  39. package/package.json +1 -1
  40. package/dist/models/update-bank-order-request-dto-rest.d.ts +0 -62
  41. package/models/update-bank-order-request-dto-rest.ts +0 -71
@@ -197,14 +197,17 @@ var PaymentMethodsApiAxiosParamCreator = function (configuration) {
197
197
  * Returns a list of payment methods you have previously created. The payment methods are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.payments.view\"
198
198
  * @summary List payment methods
199
199
  * @param {string} [authorization] Bearer Token
200
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
201
+ * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
200
202
  * @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, productSlug</i>
201
- * @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, productSlug</i>
203
+ * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
202
204
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt</i>
203
205
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
206
+ * @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, productSlug</i>
204
207
  * @param {*} [options] Override http request option.
205
208
  * @throws {RequiredError}
206
209
  */
207
- listPaymentMethods: function (authorization, filter, filters, order, expand, options) {
210
+ listPaymentMethods: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
208
211
  if (options === void 0) { options = {}; }
209
212
  return __awaiter(_this, void 0, void 0, function () {
210
213
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -227,11 +230,17 @@ var PaymentMethodsApiAxiosParamCreator = function (configuration) {
227
230
  // authentication bearer required
228
231
  // http bearer authentication required
229
232
  _a.sent();
233
+ if (pageSize !== undefined) {
234
+ localVarQueryParameter['pageSize'] = pageSize;
235
+ }
236
+ if (pageToken !== undefined) {
237
+ localVarQueryParameter['pageToken'] = pageToken;
238
+ }
230
239
  if (filter !== undefined) {
231
240
  localVarQueryParameter['filter'] = filter;
232
241
  }
233
- if (filters !== undefined) {
234
- localVarQueryParameter['filters'] = filters;
242
+ if (search !== undefined) {
243
+ localVarQueryParameter['search'] = search;
235
244
  }
236
245
  if (order !== undefined) {
237
246
  localVarQueryParameter['order'] = order;
@@ -239,6 +248,9 @@ var PaymentMethodsApiAxiosParamCreator = function (configuration) {
239
248
  if (expand !== undefined) {
240
249
  localVarQueryParameter['expand'] = expand;
241
250
  }
251
+ if (filters !== undefined) {
252
+ localVarQueryParameter['filters'] = filters;
253
+ }
242
254
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
243
255
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
244
256
  }
@@ -309,19 +321,22 @@ var PaymentMethodsApiFp = function (configuration) {
309
321
  * Returns a list of payment methods you have previously created. The payment methods are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.payments.view\"
310
322
  * @summary List payment methods
311
323
  * @param {string} [authorization] Bearer Token
324
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
325
+ * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
312
326
  * @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, productSlug</i>
313
- * @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, productSlug</i>
327
+ * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
314
328
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt</i>
315
329
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
330
+ * @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, productSlug</i>
316
331
  * @param {*} [options] Override http request option.
317
332
  * @throws {RequiredError}
318
333
  */
319
- listPaymentMethods: function (authorization, filter, filters, order, expand, options) {
334
+ listPaymentMethods: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
320
335
  return __awaiter(this, void 0, void 0, function () {
321
336
  var localVarAxiosArgs;
322
337
  return __generator(this, function (_a) {
323
338
  switch (_a.label) {
324
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.listPaymentMethods(authorization, filter, filters, order, expand, options)];
339
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.listPaymentMethods(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
325
340
  case 1:
326
341
  localVarAxiosArgs = _a.sent();
327
342
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -365,15 +380,18 @@ var PaymentMethodsApiFactory = function (configuration, basePath, axios) {
365
380
  * Returns a list of payment methods you have previously created. The payment methods are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.payments.view\"
366
381
  * @summary List payment methods
367
382
  * @param {string} [authorization] Bearer Token
383
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
384
+ * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
368
385
  * @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, productSlug</i>
369
- * @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, productSlug</i>
386
+ * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
370
387
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt</i>
371
388
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
389
+ * @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, productSlug</i>
372
390
  * @param {*} [options] Override http request option.
373
391
  * @throws {RequiredError}
374
392
  */
375
- listPaymentMethods: function (authorization, filter, filters, order, expand, options) {
376
- return localVarFp.listPaymentMethods(authorization, filter, filters, order, expand, options).then(function (request) { return request(axios, basePath); });
393
+ listPaymentMethods: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
394
+ return localVarFp.listPaymentMethods(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
377
395
  },
378
396
  };
379
397
  };
@@ -424,7 +442,7 @@ var PaymentMethodsApi = /** @class */ (function (_super) {
424
442
  PaymentMethodsApi.prototype.listPaymentMethods = function (requestParameters, options) {
425
443
  var _this = this;
426
444
  if (requestParameters === void 0) { requestParameters = {}; }
427
- return (0, exports.PaymentMethodsApiFp)(this.configuration).listPaymentMethods(requestParameters.authorization, requestParameters.filter, requestParameters.filters, requestParameters.order, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
445
+ return (0, exports.PaymentMethodsApiFp)(this.configuration).listPaymentMethods(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
428
446
  };
429
447
  return PaymentMethodsApi;
430
448
  }(base_1.BaseAPI));
@@ -55,14 +55,17 @@ export declare const PaymentRemindersApiAxiosParamCreator: (configuration?: Conf
55
55
  * 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\"
56
56
  * @summary List payment reminders
57
57
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
58
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
59
+ * @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.
58
60
  * @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>
59
- * @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>
61
+ * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
60
62
  * @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>
61
63
  * @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/>
64
+ * @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>
62
65
  * @param {*} [options] Override http request option.
63
66
  * @throws {RequiredError}
64
67
  */
65
- listPaymentReminders: (authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
68
+ listPaymentReminders: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
66
69
  };
67
70
  /**
68
71
  * PaymentRemindersApi - functional programming interface
@@ -101,14 +104,17 @@ export declare const PaymentRemindersApiFp: (configuration?: Configuration) => {
101
104
  * 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\"
102
105
  * @summary List payment reminders
103
106
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
107
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
108
+ * @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.
104
109
  * @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;
105
- * @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;
110
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
106
111
  * @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;
107
112
  * @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;
113
+ * @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;
108
114
  * @param {*} [options] Override http request option.
109
115
  * @throws {RequiredError}
110
116
  */
111
- listPaymentReminders(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPaymentRemindersResponseClass>>;
117
+ 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>>;
112
118
  };
113
119
  /**
114
120
  * PaymentRemindersApi - factory interface
@@ -147,14 +153,17 @@ export declare const PaymentRemindersApiFactory: (configuration?: Configuration,
147
153
  * 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\"
148
154
  * @summary List payment reminders
149
155
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
156
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
157
+ * @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.
150
158
  * @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;
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, policyCode, nextReminderDate&lt;/i&gt;
159
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
152
160
  * @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;
153
161
  * @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;
162
+ * @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;
154
163
  * @param {*} [options] Override http request option.
155
164
  * @throws {RequiredError}
156
165
  */
157
- listPaymentReminders(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListPaymentRemindersResponseClass>;
166
+ listPaymentReminders(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListPaymentRemindersResponseClass>;
158
167
  };
159
168
  /**
160
169
  * Request parameters for createPaymentReminder operation in PaymentRemindersApi.
@@ -231,6 +240,18 @@ export interface PaymentRemindersApiListPaymentRemindersRequest {
231
240
  * @memberof PaymentRemindersApiListPaymentReminders
232
241
  */
233
242
  readonly authorization?: string;
243
+ /**
244
+ * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
245
+ * @type {number}
246
+ * @memberof PaymentRemindersApiListPaymentReminders
247
+ */
248
+ readonly pageSize?: number;
249
+ /**
250
+ * 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
+ * @type {string}
252
+ * @memberof PaymentRemindersApiListPaymentReminders
253
+ */
254
+ readonly pageToken?: string;
234
255
  /**
235
256
  * 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;
236
257
  * @type {string}
@@ -238,11 +259,11 @@ export interface PaymentRemindersApiListPaymentRemindersRequest {
238
259
  */
239
260
  readonly filter?: string;
240
261
  /**
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, policyCode, nextReminderDate&lt;/i&gt;
262
+ * To search the list by any field, pass search&#x3D;xxx to fetch the result.
242
263
  * @type {string}
243
264
  * @memberof PaymentRemindersApiListPaymentReminders
244
265
  */
245
- readonly filters?: string;
266
+ readonly search?: string;
246
267
  /**
247
268
  * 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;
248
269
  * @type {string}
@@ -255,6 +276,12 @@ export interface PaymentRemindersApiListPaymentRemindersRequest {
255
276
  * @memberof PaymentRemindersApiListPaymentReminders
256
277
  */
257
278
  readonly expand?: string;
279
+ /**
280
+ * 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;
281
+ * @type {string}
282
+ * @memberof PaymentRemindersApiListPaymentReminders
283
+ */
284
+ readonly filters?: string;
258
285
  }
259
286
  /**
260
287
  * PaymentRemindersApi - object-oriented interface
@@ -250,14 +250,17 @@ 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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
253
255
  * @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;
254
- * @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;
256
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
255
257
  * @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;
256
258
  * @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;
259
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, policyCode, nextReminderDate&lt;/i&gt;
257
260
  * @param {*} [options] Override http request option.
258
261
  * @throws {RequiredError}
259
262
  */
260
- listPaymentReminders: function (authorization, filter, filters, order, expand, options) {
263
+ listPaymentReminders: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
261
264
  if (options === void 0) { options = {}; }
262
265
  return __awaiter(_this, void 0, void 0, function () {
263
266
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -280,11 +283,17 @@ var PaymentRemindersApiAxiosParamCreator = function (configuration) {
280
283
  // authentication bearer required
281
284
  // http bearer authentication required
282
285
  _a.sent();
286
+ if (pageSize !== undefined) {
287
+ localVarQueryParameter['pageSize'] = pageSize;
288
+ }
289
+ if (pageToken !== undefined) {
290
+ localVarQueryParameter['pageToken'] = pageToken;
291
+ }
283
292
  if (filter !== undefined) {
284
293
  localVarQueryParameter['filter'] = filter;
285
294
  }
286
- if (filters !== undefined) {
287
- localVarQueryParameter['filters'] = filters;
295
+ if (search !== undefined) {
296
+ localVarQueryParameter['search'] = search;
288
297
  }
289
298
  if (order !== undefined) {
290
299
  localVarQueryParameter['order'] = order;
@@ -292,6 +301,9 @@ var PaymentRemindersApiAxiosParamCreator = function (configuration) {
292
301
  if (expand !== undefined) {
293
302
  localVarQueryParameter['expand'] = expand;
294
303
  }
304
+ if (filters !== undefined) {
305
+ localVarQueryParameter['filters'] = filters;
306
+ }
295
307
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
296
308
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
297
309
  }
@@ -384,19 +396,22 @@ var PaymentRemindersApiFp = function (configuration) {
384
396
  * 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\"
385
397
  * @summary List payment reminders
386
398
  * @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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
387
401
  * @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;
388
- * @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;
402
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
389
403
  * @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;
390
404
  * @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;
405
+ * @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;
391
406
  * @param {*} [options] Override http request option.
392
407
  * @throws {RequiredError}
393
408
  */
394
- listPaymentReminders: function (authorization, filter, filters, order, expand, options) {
409
+ listPaymentReminders: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
395
410
  return __awaiter(this, void 0, void 0, function () {
396
411
  var localVarAxiosArgs;
397
412
  return __generator(this, function (_a) {
398
413
  switch (_a.label) {
399
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.listPaymentReminders(authorization, filter, filters, order, expand, options)];
414
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.listPaymentReminders(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
400
415
  case 1:
401
416
  localVarAxiosArgs = _a.sent();
402
417
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -452,15 +467,18 @@ var PaymentRemindersApiFactory = function (configuration, basePath, axios) {
452
467
  * 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\"
453
468
  * @summary List payment reminders
454
469
  * @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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
455
472
  * @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;
456
- * @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;
473
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
457
474
  * @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;
458
475
  * @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;
476
+ * @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;
459
477
  * @param {*} [options] Override http request option.
460
478
  * @throws {RequiredError}
461
479
  */
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); });
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); });
464
482
  },
465
483
  };
466
484
  };
@@ -523,7 +541,7 @@ var PaymentRemindersApi = /** @class */ (function (_super) {
523
541
  PaymentRemindersApi.prototype.listPaymentReminders = function (requestParameters, options) {
524
542
  var _this = this;
525
543
  if (requestParameters === void 0) { requestParameters = {}; }
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); });
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); });
527
545
  };
528
546
  return PaymentRemindersApi;
529
547
  }(base_1.BaseAPI));
@@ -45,14 +45,17 @@ 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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
48
50
  * @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;
49
- * @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;
51
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
50
52
  * @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;
51
53
  * @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;
54
+ * @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;
52
55
  * @param {*} [options] Override http request option.
53
56
  * @throws {RequiredError}
54
57
  */
55
- listPayments: (authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
58
+ listPayments: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
56
59
  };
57
60
  /**
58
61
  * PaymentsApi - functional programming interface
@@ -83,14 +86,17 @@ export declare const PaymentsApiFp: (configuration?: Configuration) => {
83
86
  * 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\"
84
87
  * @summary List payments
85
88
  * @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.
86
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&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;
92
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
88
93
  * @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;
89
94
  * @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&lt;/i&gt;
90
96
  * @param {*} [options] Override http request option.
91
97
  * @throws {RequiredError}
92
98
  */
93
- listPayments(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPaymentsResponseClass>>;
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>>;
94
100
  };
95
101
  /**
96
102
  * PaymentsApi - factory interface
@@ -121,14 +127,17 @@ export declare const PaymentsApiFactory: (configuration?: Configuration, basePat
121
127
  * 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\"
122
128
  * @summary List payments
123
129
  * @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.
124
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&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;
133
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
126
134
  * @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;
127
135
  * @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&lt;/i&gt;
128
137
  * @param {*} [options] Override http request option.
129
138
  * @throws {RequiredError}
130
139
  */
131
- listPayments(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListPaymentsResponseClass>;
140
+ listPayments(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListPaymentsResponseClass>;
132
141
  };
133
142
  /**
134
143
  * Request parameters for createPayment operation in PaymentsApi.
@@ -192,6 +201,18 @@ export interface PaymentsApiListPaymentsRequest {
192
201
  * @memberof PaymentsApiListPayments
193
202
  */
194
203
  readonly authorization?: string;
204
+ /**
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;
195
216
  /**
196
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&lt;/i&gt;
197
218
  * @type {string}
@@ -199,11 +220,11 @@ export interface PaymentsApiListPaymentsRequest {
199
220
  */
200
221
  readonly filter?: string;
201
222
  /**
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;
223
+ * To search the list by any field, pass search&#x3D;xxx to fetch the result.
203
224
  * @type {string}
204
225
  * @memberof PaymentsApiListPayments
205
226
  */
206
- readonly filters?: string;
227
+ readonly search?: string;
207
228
  /**
208
229
  * 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;
209
230
  * @type {string}
@@ -216,6 +237,12 @@ export interface PaymentsApiListPaymentsRequest {
216
237
  * @memberof PaymentsApiListPayments
217
238
  */
218
239
  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&lt;/i&gt;
242
+ * @type {string}
243
+ * @memberof PaymentsApiListPayments
244
+ */
245
+ readonly filters?: string;
219
246
  }
220
247
  /**
221
248
  * PaymentsApi - object-oriented interface
@@ -207,14 +207,17 @@ 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.
210
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&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;
213
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
212
214
  * @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;
213
215
  * @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&lt;/i&gt;
214
217
  * @param {*} [options] Override http request option.
215
218
  * @throws {RequiredError}
216
219
  */
217
- listPayments: function (authorization, filter, filters, order, expand, options) {
220
+ listPayments: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
218
221
  if (options === void 0) { options = {}; }
219
222
  return __awaiter(_this, void 0, void 0, function () {
220
223
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -237,11 +240,17 @@ var PaymentsApiAxiosParamCreator = function (configuration) {
237
240
  // authentication bearer required
238
241
  // http bearer authentication required
239
242
  _a.sent();
243
+ if (pageSize !== undefined) {
244
+ localVarQueryParameter['pageSize'] = pageSize;
245
+ }
246
+ if (pageToken !== undefined) {
247
+ localVarQueryParameter['pageToken'] = pageToken;
248
+ }
240
249
  if (filter !== undefined) {
241
250
  localVarQueryParameter['filter'] = filter;
242
251
  }
243
- if (filters !== undefined) {
244
- localVarQueryParameter['filters'] = filters;
252
+ if (search !== undefined) {
253
+ localVarQueryParameter['search'] = search;
245
254
  }
246
255
  if (order !== undefined) {
247
256
  localVarQueryParameter['order'] = order;
@@ -249,6 +258,9 @@ var PaymentsApiAxiosParamCreator = function (configuration) {
249
258
  if (expand !== undefined) {
250
259
  localVarQueryParameter['expand'] = expand;
251
260
  }
261
+ if (filters !== undefined) {
262
+ localVarQueryParameter['filters'] = filters;
263
+ }
252
264
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
253
265
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
254
266
  }
@@ -321,19 +333,22 @@ var PaymentsApiFp = function (configuration) {
321
333
  * 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\"
322
334
  * @summary List payments
323
335
  * @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.
324
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&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;
339
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
326
340
  * @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;
327
341
  * @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&lt;/i&gt;
328
343
  * @param {*} [options] Override http request option.
329
344
  * @throws {RequiredError}
330
345
  */
331
- listPayments: function (authorization, filter, filters, order, expand, options) {
346
+ listPayments: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
332
347
  return __awaiter(this, void 0, void 0, function () {
333
348
  var localVarAxiosArgs;
334
349
  return __generator(this, function (_a) {
335
350
  switch (_a.label) {
336
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.listPayments(authorization, filter, filters, order, expand, options)];
351
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.listPayments(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
337
352
  case 1:
338
353
  localVarAxiosArgs = _a.sent();
339
354
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -379,15 +394,18 @@ var PaymentsApiFactory = function (configuration, basePath, axios) {
379
394
  * 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\"
380
395
  * @summary List payments
381
396
  * @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.
382
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&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;
400
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
384
401
  * @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;
385
402
  * @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&lt;/i&gt;
386
404
  * @param {*} [options] Override http request option.
387
405
  * @throws {RequiredError}
388
406
  */
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); });
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); });
391
409
  },
392
410
  };
393
411
  };
@@ -438,7 +456,7 @@ var PaymentsApi = /** @class */ (function (_super) {
438
456
  PaymentsApi.prototype.listPayments = function (requestParameters, options) {
439
457
  var _this = this;
440
458
  if (requestParameters === void 0) { requestParameters = {}; }
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); });
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); });
442
460
  };
443
461
  return PaymentsApi;
444
462
  }(base_1.BaseAPI));