@emilgroup/payment-sdk-node 1.21.1-beta.4 → 1.21.1-beta.40

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 (113) hide show
  1. package/.openapi-generator/FILES +14 -0
  2. package/README.md +2 -2
  3. package/api/bank-accounts-api.ts +55 -13
  4. package/api/bank-orders-api.ts +695 -0
  5. package/api/bank-transaction-api.ts +171 -40
  6. package/api/payment-methods-api.ts +59 -17
  7. package/api/payment-reminders-api.ts +55 -13
  8. package/api/payments-api.ts +59 -17
  9. package/api/refunds-api.ts +45 -17
  10. package/api/tenant-bank-account-api.ts +45 -17
  11. package/api.ts +2 -0
  12. package/base.ts +46 -4
  13. package/dist/api/bank-accounts-api.d.ts +35 -8
  14. package/dist/api/bank-accounts-api.js +29 -11
  15. package/dist/api/bank-orders-api.d.ts +393 -0
  16. package/dist/api/bank-orders-api.js +646 -0
  17. package/dist/api/bank-transaction-api.d.ts +107 -33
  18. package/dist/api/bank-transaction-api.js +135 -31
  19. package/dist/api/payment-methods-api.d.ts +39 -12
  20. package/dist/api/payment-methods-api.js +32 -14
  21. package/dist/api/payment-reminders-api.d.ts +35 -8
  22. package/dist/api/payment-reminders-api.js +29 -11
  23. package/dist/api/payments-api.d.ts +39 -12
  24. package/dist/api/payments-api.js +32 -14
  25. package/dist/api/refunds-api.d.ts +28 -10
  26. package/dist/api/refunds-api.js +24 -12
  27. package/dist/api/tenant-bank-account-api.d.ts +28 -10
  28. package/dist/api/tenant-bank-account-api.js +24 -12
  29. package/dist/api.d.ts +1 -0
  30. package/dist/api.js +1 -0
  31. package/dist/base.d.ts +11 -2
  32. package/dist/base.js +42 -3
  33. package/dist/models/bank-order-class.d.ts +115 -0
  34. package/dist/models/bank-order-class.js +15 -0
  35. package/dist/models/bank-transaction-class.d.ts +14 -0
  36. package/dist/models/complete-adyen-payment-setup-request-dto.d.ts +1 -0
  37. package/dist/models/complete-adyen-payment-setup-request-dto.js +2 -1
  38. package/dist/models/complete-eis-payment-setup-request-dto.d.ts +36 -0
  39. package/dist/models/complete-eis-payment-setup-request-dto.js +15 -0
  40. package/dist/models/complete-payment-setup-request-dto.d.ts +7 -0
  41. package/dist/models/complete-stripe-payment-setup-request-dto.d.ts +1 -0
  42. package/dist/models/complete-stripe-payment-setup-request-dto.js +2 -1
  43. package/dist/models/create-bank-order-request-dto.d.ts +74 -0
  44. package/dist/models/create-bank-order-request-dto.js +28 -0
  45. package/dist/models/create-bank-order-response-class.d.ts +25 -0
  46. package/dist/models/create-bank-order-response-class.js +15 -0
  47. package/dist/models/create-payment-reminder-request-dto.d.ts +7 -1
  48. package/dist/models/create-payment-request-dto.d.ts +7 -1
  49. package/dist/models/create-psp-payment-method-request-dto.d.ts +14 -1
  50. package/dist/models/create-psp-payment-method-request-dto.js +2 -1
  51. package/dist/models/deactivated-payment-reminder-class.d.ts +7 -1
  52. package/dist/models/financial-account-class.d.ts +111 -0
  53. package/dist/models/financial-account-class.js +24 -0
  54. package/dist/models/generate-invoice-match-suggestions-response-class.d.ts +25 -0
  55. package/dist/models/generate-invoice-match-suggestions-response-class.js +15 -0
  56. package/dist/models/get-bank-order-response-class.d.ts +25 -0
  57. package/dist/models/get-bank-order-response-class.js +15 -0
  58. package/dist/models/index.d.ts +13 -0
  59. package/dist/models/index.js +13 -0
  60. package/dist/models/initiate-adyen-payment-setup-request-dto.d.ts +6 -0
  61. package/dist/models/initiate-braintree-payment-setup-request-dto.d.ts +6 -0
  62. package/dist/models/initiate-eis-payment-setup-request-dto.d.ts +36 -0
  63. package/dist/models/initiate-eis-payment-setup-request-dto.js +15 -0
  64. package/dist/models/initiate-payment-setup-request-dto.d.ts +3 -2
  65. package/dist/models/initiate-stripe-payment-setup-request-dto.d.ts +6 -0
  66. package/dist/models/invoice-match-suggestion-class.d.ts +60 -0
  67. package/dist/models/invoice-match-suggestion-class.js +15 -0
  68. package/dist/models/list-bank-orders-response-class.d.ts +31 -0
  69. package/dist/models/list-bank-orders-response-class.js +15 -0
  70. package/dist/models/payment-class-without-expand-properties.d.ts +7 -1
  71. package/dist/models/payment-class.d.ts +7 -1
  72. package/dist/models/payment-method-class.d.ts +6 -0
  73. package/dist/models/payment-reminder-class.d.ts +7 -1
  74. package/dist/models/refund-class.d.ts +7 -1
  75. package/dist/models/suggestion-generation-progress-class.d.ts +43 -0
  76. package/dist/models/suggestion-generation-progress-class.js +22 -0
  77. package/dist/models/update-bank-order-request-dto.d.ts +56 -0
  78. package/dist/models/update-bank-order-request-dto.js +23 -0
  79. package/dist/models/update-bank-order-response-class.d.ts +25 -0
  80. package/dist/models/update-bank-order-response-class.js +15 -0
  81. package/models/bank-order-class.ts +121 -0
  82. package/models/bank-transaction-class.ts +14 -0
  83. package/models/complete-adyen-payment-setup-request-dto.ts +2 -1
  84. package/models/complete-eis-payment-setup-request-dto.ts +42 -0
  85. package/models/complete-payment-setup-request-dto.ts +7 -0
  86. package/models/complete-stripe-payment-setup-request-dto.ts +2 -1
  87. package/models/create-bank-order-request-dto.ts +84 -0
  88. package/models/create-bank-order-response-class.ts +31 -0
  89. package/models/create-payment-reminder-request-dto.ts +7 -1
  90. package/models/create-payment-request-dto.ts +7 -1
  91. package/models/create-psp-payment-method-request-dto.ts +15 -2
  92. package/models/deactivated-payment-reminder-class.ts +7 -1
  93. package/models/financial-account-class.ts +120 -0
  94. package/models/generate-invoice-match-suggestions-response-class.ts +31 -0
  95. package/models/get-bank-order-response-class.ts +31 -0
  96. package/models/index.ts +13 -0
  97. package/models/initiate-adyen-payment-setup-request-dto.ts +6 -0
  98. package/models/initiate-braintree-payment-setup-request-dto.ts +6 -0
  99. package/models/initiate-eis-payment-setup-request-dto.ts +42 -0
  100. package/models/initiate-payment-setup-request-dto.ts +3 -2
  101. package/models/initiate-stripe-payment-setup-request-dto.ts +6 -0
  102. package/models/invoice-match-suggestion-class.ts +66 -0
  103. package/models/list-bank-orders-response-class.ts +37 -0
  104. package/models/payment-class-without-expand-properties.ts +7 -1
  105. package/models/payment-class.ts +7 -1
  106. package/models/payment-method-class.ts +6 -0
  107. package/models/payment-reminder-class.ts +7 -1
  108. package/models/refund-class.ts +7 -1
  109. package/models/suggestion-generation-progress-class.ts +52 -0
  110. package/models/update-bank-order-request-dto.ts +65 -0
  111. package/models/update-bank-order-response-class.ts +31 -0
  112. package/package.json +1 -1
  113. package/tsconfig.json +1 -0
@@ -96,12 +96,60 @@ var FormData = require('form-data');
96
96
  var BankTransactionApiAxiosParamCreator = function (configuration) {
97
97
  var _this = this;
98
98
  return {
99
+ /**
100
+ * Generate suggestion for matching a bank transaction with an Invoice **Required Permissions** \"payment-management.bank-accounts.view\"
101
+ * @summary Invoice Match Suggestion
102
+ * @param {string} code Code of the bank transaction to generate match suggestions for
103
+ * @param {string} [authorization] Bearer Token
104
+ * @param {*} [options] Override http request option.
105
+ * @throws {RequiredError}
106
+ */
107
+ generateInvoiceMatchSuggestion: function (code, authorization, options) {
108
+ if (options === void 0) { options = {}; }
109
+ return __awaiter(_this, void 0, void 0, function () {
110
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
111
+ return __generator(this, function (_a) {
112
+ switch (_a.label) {
113
+ case 0:
114
+ // verify required parameter 'code' is not null or undefined
115
+ (0, common_1.assertParamExists)('generateInvoiceMatchSuggestion', 'code', code);
116
+ localVarPath = "/paymentservice/v1/tenant/bank-transactions/{code}/generate-invoice-match-suggestion"
117
+ .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
118
+ localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
119
+ if (configuration) {
120
+ baseOptions = configuration.baseOptions;
121
+ baseAccessToken = configuration.accessToken;
122
+ }
123
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
124
+ localVarHeaderParameter = {};
125
+ localVarQueryParameter = {};
126
+ // authentication bearer required
127
+ // http bearer authentication required
128
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
129
+ case 1:
130
+ // authentication bearer required
131
+ // http bearer authentication required
132
+ _a.sent();
133
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
134
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
135
+ }
136
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
137
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
138
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
139
+ return [2 /*return*/, {
140
+ url: (0, common_1.toPathString)(localVarUrlObj),
141
+ options: localVarRequestOptions,
142
+ }];
143
+ }
144
+ });
145
+ });
146
+ },
99
147
  /**
100
148
  * Retrieves the details of the bank transaction that was previously created. Supply the unique bank transaction code that was returned when you created it and Emil Api will return the corresponding bank transaction information. **Required Permissions** \"payment-management.bank-accounts.view\"
101
149
  * @summary Retrieve the bank transaction
102
150
  * @param {string} code
103
151
  * @param {string} [authorization] Bearer Token
104
- * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: bankAccount, transaction<i>
152
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: bankAccount, transaction, invoiceMatchSuggestions, suggestionGenerationProgress<i>
105
153
  * @param {*} [options] Override http request option.
106
154
  * @throws {RequiredError}
107
155
  */
@@ -149,9 +197,9 @@ var BankTransactionApiAxiosParamCreator = function (configuration) {
149
197
  });
150
198
  },
151
199
  /**
152
- * This will import bank transactions from a swift MT940 file **Required Permissions** \"payment-management.bank-accounts.view\"
200
+ * This will import bank transactions from a MT940/CAMT.053 file **Required Permissions** \"payment-management.bank-accounts.view\"
153
201
  * @summary Create the bank transactions
154
- * @param {any} file Swift MT940 file to import bank transactions from. Extension must be .txt or .sta.<br/> Allowed Content Types: text/plain, application/octet-stream
202
+ * @param {any} file MT940/CAMT.053 file to import bank transactions from. Extension must be .txt .sta or .xml.<br/> Allowed Content Types: text/plain, application/octet-stream, application/xml, text/xml
155
203
  * @param {string} [authorization] Bearer Token
156
204
  * @param {*} [options] Override http request option.
157
205
  * @throws {RequiredError}
@@ -258,15 +306,17 @@ var BankTransactionApiAxiosParamCreator = function (configuration) {
258
306
  * Returns a list of bank transactions you have previously created. The bank transactions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.bank-accounts.view\"
259
307
  * @summary List bank transactions
260
308
  * @param {string} [authorization] Bearer Token
261
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, bankAccountId, bankAccountNumber, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
262
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, bankAccountId, bankAccountNumber, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
309
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
310
+ * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
311
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, bankAccountId, bankAccountNumber, messageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
263
312
  * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: id, createdAt, amount</i>
264
- * @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, amount, transactionDate, entryDate</i>
265
- * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: bankAccount, transaction<i>
313
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, transactionDate, entryDate</i>
314
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: bankAccount, transaction, invoiceMatchSuggestions, suggestionGenerationProgress<i>
315
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, bankAccountId, bankAccountNumber, messageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
266
316
  * @param {*} [options] Override http request option.
267
317
  * @throws {RequiredError}
268
318
  */
269
- listBankTransactions: function (authorization, filter, filters, search, order, expand, options) {
319
+ listBankTransactions: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
270
320
  if (options === void 0) { options = {}; }
271
321
  return __awaiter(_this, void 0, void 0, function () {
272
322
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -289,12 +339,15 @@ var BankTransactionApiAxiosParamCreator = function (configuration) {
289
339
  // authentication bearer required
290
340
  // http bearer authentication required
291
341
  _a.sent();
342
+ if (pageSize !== undefined) {
343
+ localVarQueryParameter['pageSize'] = pageSize;
344
+ }
345
+ if (pageToken !== undefined) {
346
+ localVarQueryParameter['pageToken'] = pageToken;
347
+ }
292
348
  if (filter !== undefined) {
293
349
  localVarQueryParameter['filter'] = filter;
294
350
  }
295
- if (filters !== undefined) {
296
- localVarQueryParameter['filters'] = filters;
297
- }
298
351
  if (search !== undefined) {
299
352
  localVarQueryParameter['search'] = search;
300
353
  }
@@ -304,6 +357,9 @@ var BankTransactionApiAxiosParamCreator = function (configuration) {
304
357
  if (expand !== undefined) {
305
358
  localVarQueryParameter['expand'] = expand;
306
359
  }
360
+ if (filters !== undefined) {
361
+ localVarQueryParameter['filters'] = filters;
362
+ }
307
363
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
308
364
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
309
365
  }
@@ -381,12 +437,33 @@ exports.BankTransactionApiAxiosParamCreator = BankTransactionApiAxiosParamCreato
381
437
  var BankTransactionApiFp = function (configuration) {
382
438
  var localVarAxiosParamCreator = (0, exports.BankTransactionApiAxiosParamCreator)(configuration);
383
439
  return {
440
+ /**
441
+ * Generate suggestion for matching a bank transaction with an Invoice **Required Permissions** \"payment-management.bank-accounts.view\"
442
+ * @summary Invoice Match Suggestion
443
+ * @param {string} code Code of the bank transaction to generate match suggestions for
444
+ * @param {string} [authorization] Bearer Token
445
+ * @param {*} [options] Override http request option.
446
+ * @throws {RequiredError}
447
+ */
448
+ generateInvoiceMatchSuggestion: function (code, authorization, options) {
449
+ return __awaiter(this, void 0, void 0, function () {
450
+ var localVarAxiosArgs;
451
+ return __generator(this, function (_a) {
452
+ switch (_a.label) {
453
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.generateInvoiceMatchSuggestion(code, authorization, options)];
454
+ case 1:
455
+ localVarAxiosArgs = _a.sent();
456
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
457
+ }
458
+ });
459
+ });
460
+ },
384
461
  /**
385
462
  * Retrieves the details of the bank transaction that was previously created. Supply the unique bank transaction code that was returned when you created it and Emil Api will return the corresponding bank transaction information. **Required Permissions** \"payment-management.bank-accounts.view\"
386
463
  * @summary Retrieve the bank transaction
387
464
  * @param {string} code
388
465
  * @param {string} [authorization] Bearer Token
389
- * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: bankAccount, transaction<i>
466
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: bankAccount, transaction, invoiceMatchSuggestions, suggestionGenerationProgress<i>
390
467
  * @param {*} [options] Override http request option.
391
468
  * @throws {RequiredError}
392
469
  */
@@ -404,9 +481,9 @@ var BankTransactionApiFp = function (configuration) {
404
481
  });
405
482
  },
406
483
  /**
407
- * This will import bank transactions from a swift MT940 file **Required Permissions** \"payment-management.bank-accounts.view\"
484
+ * This will import bank transactions from a MT940/CAMT.053 file **Required Permissions** \"payment-management.bank-accounts.view\"
408
485
  * @summary Create the bank transactions
409
- * @param {any} file Swift MT940 file to import bank transactions from. Extension must be .txt or .sta.<br/> Allowed Content Types: text/plain, application/octet-stream
486
+ * @param {any} file MT940/CAMT.053 file to import bank transactions from. Extension must be .txt .sta or .xml.<br/> Allowed Content Types: text/plain, application/octet-stream, application/xml, text/xml
410
487
  * @param {string} [authorization] Bearer Token
411
488
  * @param {*} [options] Override http request option.
412
489
  * @throws {RequiredError}
@@ -450,20 +527,22 @@ var BankTransactionApiFp = function (configuration) {
450
527
  * Returns a list of bank transactions you have previously created. The bank transactions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.bank-accounts.view\"
451
528
  * @summary List bank transactions
452
529
  * @param {string} [authorization] Bearer Token
453
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, bankAccountId, bankAccountNumber, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
454
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, bankAccountId, bankAccountNumber, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
530
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
531
+ * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
532
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, bankAccountId, bankAccountNumber, messageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
455
533
  * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: id, createdAt, amount</i>
456
- * @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, amount, transactionDate, entryDate</i>
457
- * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: bankAccount, transaction<i>
534
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, transactionDate, entryDate</i>
535
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: bankAccount, transaction, invoiceMatchSuggestions, suggestionGenerationProgress<i>
536
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, bankAccountId, bankAccountNumber, messageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
458
537
  * @param {*} [options] Override http request option.
459
538
  * @throws {RequiredError}
460
539
  */
461
- listBankTransactions: function (authorization, filter, filters, search, order, expand, options) {
540
+ listBankTransactions: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
462
541
  return __awaiter(this, void 0, void 0, function () {
463
542
  var localVarAxiosArgs;
464
543
  return __generator(this, function (_a) {
465
544
  switch (_a.label) {
466
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.listBankTransactions(authorization, filter, filters, search, order, expand, options)];
545
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.listBankTransactions(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
467
546
  case 1:
468
547
  localVarAxiosArgs = _a.sent();
469
548
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -503,12 +582,23 @@ exports.BankTransactionApiFp = BankTransactionApiFp;
503
582
  var BankTransactionApiFactory = function (configuration, basePath, axios) {
504
583
  var localVarFp = (0, exports.BankTransactionApiFp)(configuration);
505
584
  return {
585
+ /**
586
+ * Generate suggestion for matching a bank transaction with an Invoice **Required Permissions** \"payment-management.bank-accounts.view\"
587
+ * @summary Invoice Match Suggestion
588
+ * @param {string} code Code of the bank transaction to generate match suggestions for
589
+ * @param {string} [authorization] Bearer Token
590
+ * @param {*} [options] Override http request option.
591
+ * @throws {RequiredError}
592
+ */
593
+ generateInvoiceMatchSuggestion: function (code, authorization, options) {
594
+ return localVarFp.generateInvoiceMatchSuggestion(code, authorization, options).then(function (request) { return request(axios, basePath); });
595
+ },
506
596
  /**
507
597
  * Retrieves the details of the bank transaction that was previously created. Supply the unique bank transaction code that was returned when you created it and Emil Api will return the corresponding bank transaction information. **Required Permissions** \"payment-management.bank-accounts.view\"
508
598
  * @summary Retrieve the bank transaction
509
599
  * @param {string} code
510
600
  * @param {string} [authorization] Bearer Token
511
- * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: bankAccount, transaction<i>
601
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: bankAccount, transaction, invoiceMatchSuggestions, suggestionGenerationProgress<i>
512
602
  * @param {*} [options] Override http request option.
513
603
  * @throws {RequiredError}
514
604
  */
@@ -516,9 +606,9 @@ var BankTransactionApiFactory = function (configuration, basePath, axios) {
516
606
  return localVarFp.getBankTransaction(code, authorization, expand, options).then(function (request) { return request(axios, basePath); });
517
607
  },
518
608
  /**
519
- * This will import bank transactions from a swift MT940 file **Required Permissions** \"payment-management.bank-accounts.view\"
609
+ * This will import bank transactions from a MT940/CAMT.053 file **Required Permissions** \"payment-management.bank-accounts.view\"
520
610
  * @summary Create the bank transactions
521
- * @param {any} file Swift MT940 file to import bank transactions from. Extension must be .txt or .sta.<br/> Allowed Content Types: text/plain, application/octet-stream
611
+ * @param {any} file MT940/CAMT.053 file to import bank transactions from. Extension must be .txt .sta or .xml.<br/> Allowed Content Types: text/plain, application/octet-stream, application/xml, text/xml
522
612
  * @param {string} [authorization] Bearer Token
523
613
  * @param {*} [options] Override http request option.
524
614
  * @throws {RequiredError}
@@ -542,16 +632,18 @@ var BankTransactionApiFactory = function (configuration, basePath, axios) {
542
632
  * Returns a list of bank transactions you have previously created. The bank transactions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.bank-accounts.view\"
543
633
  * @summary List bank transactions
544
634
  * @param {string} [authorization] Bearer Token
545
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, bankAccountId, bankAccountNumber, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
546
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, bankAccountId, bankAccountNumber, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
635
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
636
+ * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
637
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, bankAccountId, bankAccountNumber, messageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
547
638
  * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: id, createdAt, amount</i>
548
- * @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, amount, transactionDate, entryDate</i>
549
- * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: bankAccount, transaction<i>
639
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, transactionDate, entryDate</i>
640
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: bankAccount, transaction, invoiceMatchSuggestions, suggestionGenerationProgress<i>
641
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, bankAccountId, bankAccountNumber, messageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
550
642
  * @param {*} [options] Override http request option.
551
643
  * @throws {RequiredError}
552
644
  */
553
- listBankTransactions: function (authorization, filter, filters, search, order, expand, options) {
554
- return localVarFp.listBankTransactions(authorization, filter, filters, search, order, expand, options).then(function (request) { return request(axios, basePath); });
645
+ listBankTransactions: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
646
+ return localVarFp.listBankTransactions(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
555
647
  },
556
648
  /**
557
649
  * Unlinks an already linked bank transaction **Required Permissions** \"payment-management.bank-accounts.update\"
@@ -579,6 +671,18 @@ var BankTransactionApi = /** @class */ (function (_super) {
579
671
  function BankTransactionApi() {
580
672
  return _super !== null && _super.apply(this, arguments) || this;
581
673
  }
674
+ /**
675
+ * Generate suggestion for matching a bank transaction with an Invoice **Required Permissions** \"payment-management.bank-accounts.view\"
676
+ * @summary Invoice Match Suggestion
677
+ * @param {BankTransactionApiGenerateInvoiceMatchSuggestionRequest} requestParameters Request parameters.
678
+ * @param {*} [options] Override http request option.
679
+ * @throws {RequiredError}
680
+ * @memberof BankTransactionApi
681
+ */
682
+ BankTransactionApi.prototype.generateInvoiceMatchSuggestion = function (requestParameters, options) {
683
+ var _this = this;
684
+ return (0, exports.BankTransactionApiFp)(this.configuration).generateInvoiceMatchSuggestion(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
685
+ };
582
686
  /**
583
687
  * Retrieves the details of the bank transaction that was previously created. Supply the unique bank transaction code that was returned when you created it and Emil Api will return the corresponding bank transaction information. **Required Permissions** \"payment-management.bank-accounts.view\"
584
688
  * @summary Retrieve the bank transaction
@@ -592,7 +696,7 @@ var BankTransactionApi = /** @class */ (function (_super) {
592
696
  return (0, exports.BankTransactionApiFp)(this.configuration).getBankTransaction(requestParameters.code, requestParameters.authorization, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
593
697
  };
594
698
  /**
595
- * This will import bank transactions from a swift MT940 file **Required Permissions** \"payment-management.bank-accounts.view\"
699
+ * This will import bank transactions from a MT940/CAMT.053 file **Required Permissions** \"payment-management.bank-accounts.view\"
596
700
  * @summary Create the bank transactions
597
701
  * @param {BankTransactionApiImportBankTransactionsRequest} requestParameters Request parameters.
598
702
  * @param {*} [options] Override http request option.
@@ -626,7 +730,7 @@ var BankTransactionApi = /** @class */ (function (_super) {
626
730
  BankTransactionApi.prototype.listBankTransactions = function (requestParameters, options) {
627
731
  var _this = this;
628
732
  if (requestParameters === void 0) { requestParameters = {}; }
629
- return (0, exports.BankTransactionApiFp)(this.configuration).listBankTransactions(requestParameters.authorization, requestParameters.filter, requestParameters.filters, requestParameters.search, requestParameters.order, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
733
+ return (0, exports.BankTransactionApiFp)(this.configuration).listBankTransactions(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
630
734
  };
631
735
  /**
632
736
  * Unlinks an already linked bank transaction **Required Permissions** \"payment-management.bank-accounts.update\"
@@ -43,14 +43,17 @@ export declare const PaymentMethodsApiAxiosParamCreator: (configuration?: Config
43
43
  * Returns a list of payment methods you have previously created. The payment methods are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.payments.view\"
44
44
  * @summary List payment methods
45
45
  * @param {string} [authorization] Bearer Token
46
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, id, pspCustomerId, psp, type, productSlug</i>
47
- * @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>
46
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
47
+ * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
48
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, id, pspCustomerId, psp, type, productSlug, accountCode, partnerCode</i>
49
+ * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
48
50
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt</i>
49
51
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
52
+ * @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, accountCode, partnerCode</i>
50
53
  * @param {*} [options] Override http request option.
51
54
  * @throws {RequiredError}
52
55
  */
53
- listPaymentMethods: (authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
56
+ listPaymentMethods: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
54
57
  };
55
58
  /**
56
59
  * PaymentMethodsApi - functional programming interface
@@ -79,14 +82,17 @@ export declare const PaymentMethodsApiFp: (configuration?: Configuration) => {
79
82
  * Returns a list of payment methods you have previously created. The payment methods are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.payments.view\"
80
83
  * @summary List payment methods
81
84
  * @param {string} [authorization] Bearer Token
82
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, pspCustomerId, psp, type, productSlug&lt;/i&gt;
83
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, pspCustomerId, psp, type, productSlug&lt;/i&gt;
85
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
86
+ * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
87
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, pspCustomerId, psp, type, productSlug, accountCode, partnerCode&lt;/i&gt;
88
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
84
89
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt&lt;/i&gt;
85
90
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
91
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, pspCustomerId, psp, type, productSlug, accountCode, partnerCode&lt;/i&gt;
86
92
  * @param {*} [options] Override http request option.
87
93
  * @throws {RequiredError}
88
94
  */
89
- listPaymentMethods(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPaymentMethodsResponseClass>>;
95
+ listPaymentMethods(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPaymentMethodsResponseClass>>;
90
96
  };
91
97
  /**
92
98
  * PaymentMethodsApi - factory interface
@@ -115,14 +121,17 @@ export declare const PaymentMethodsApiFactory: (configuration?: Configuration, b
115
121
  * Returns a list of payment methods you have previously created. The payment methods are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.payments.view\"
116
122
  * @summary List payment methods
117
123
  * @param {string} [authorization] Bearer Token
118
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, pspCustomerId, psp, type, productSlug&lt;/i&gt;
119
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, pspCustomerId, psp, type, productSlug&lt;/i&gt;
124
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
125
+ * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
126
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, pspCustomerId, psp, type, productSlug, accountCode, partnerCode&lt;/i&gt;
127
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
120
128
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt&lt;/i&gt;
121
129
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
130
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, pspCustomerId, psp, type, productSlug, accountCode, partnerCode&lt;/i&gt;
122
131
  * @param {*} [options] Override http request option.
123
132
  * @throws {RequiredError}
124
133
  */
125
- listPaymentMethods(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListPaymentMethodsResponseClass>;
134
+ listPaymentMethods(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListPaymentMethodsResponseClass>;
126
135
  };
127
136
  /**
128
137
  * Request parameters for createPaymentMethod operation in PaymentMethodsApi.
@@ -175,17 +184,29 @@ export interface PaymentMethodsApiListPaymentMethodsRequest {
175
184
  */
176
185
  readonly authorization?: string;
177
186
  /**
178
- * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, pspCustomerId, psp, type, productSlug&lt;/i&gt;
187
+ * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
188
+ * @type {number}
189
+ * @memberof PaymentMethodsApiListPaymentMethods
190
+ */
191
+ readonly pageSize?: number;
192
+ /**
193
+ * A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
194
+ * @type {string}
195
+ * @memberof PaymentMethodsApiListPaymentMethods
196
+ */
197
+ readonly pageToken?: string;
198
+ /**
199
+ * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, pspCustomerId, psp, type, productSlug, accountCode, partnerCode&lt;/i&gt;
179
200
  * @type {string}
180
201
  * @memberof PaymentMethodsApiListPaymentMethods
181
202
  */
182
203
  readonly filter?: string;
183
204
  /**
184
- * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, pspCustomerId, psp, type, productSlug&lt;/i&gt;
205
+ * To search the list by any field, pass search&#x3D;xxx to fetch the result.
185
206
  * @type {string}
186
207
  * @memberof PaymentMethodsApiListPaymentMethods
187
208
  */
188
- readonly filters?: string;
209
+ readonly search?: string;
189
210
  /**
190
211
  * Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt&lt;/i&gt;
191
212
  * @type {string}
@@ -198,6 +219,12 @@ export interface PaymentMethodsApiListPaymentMethodsRequest {
198
219
  * @memberof PaymentMethodsApiListPaymentMethods
199
220
  */
200
221
  readonly expand?: string;
222
+ /**
223
+ * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, pspCustomerId, psp, type, productSlug, accountCode, partnerCode&lt;/i&gt;
224
+ * @type {string}
225
+ * @memberof PaymentMethodsApiListPaymentMethods
226
+ */
227
+ readonly filters?: string;
201
228
  }
202
229
  /**
203
230
  * PaymentMethodsApi - object-oriented interface
@@ -197,14 +197,17 @@ var PaymentMethodsApiAxiosParamCreator = function (configuration) {
197
197
  * Returns a list of payment methods you have previously created. The payment methods are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.payments.view\"
198
198
  * @summary List payment methods
199
199
  * @param {string} [authorization] Bearer Token
200
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, pspCustomerId, psp, type, productSlug&lt;/i&gt;
201
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, pspCustomerId, psp, type, productSlug&lt;/i&gt;
200
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
201
+ * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
202
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, pspCustomerId, psp, type, productSlug, accountCode, partnerCode&lt;/i&gt;
203
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
202
204
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt&lt;/i&gt;
203
205
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
206
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, pspCustomerId, psp, type, productSlug, accountCode, partnerCode&lt;/i&gt;
204
207
  * @param {*} [options] Override http request option.
205
208
  * @throws {RequiredError}
206
209
  */
207
- listPaymentMethods: function (authorization, filter, filters, order, expand, options) {
210
+ listPaymentMethods: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
208
211
  if (options === void 0) { options = {}; }
209
212
  return __awaiter(_this, void 0, void 0, function () {
210
213
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -227,11 +230,17 @@ var PaymentMethodsApiAxiosParamCreator = function (configuration) {
227
230
  // authentication bearer required
228
231
  // http bearer authentication required
229
232
  _a.sent();
233
+ if (pageSize !== undefined) {
234
+ localVarQueryParameter['pageSize'] = pageSize;
235
+ }
236
+ if (pageToken !== undefined) {
237
+ localVarQueryParameter['pageToken'] = pageToken;
238
+ }
230
239
  if (filter !== undefined) {
231
240
  localVarQueryParameter['filter'] = filter;
232
241
  }
233
- if (filters !== undefined) {
234
- localVarQueryParameter['filters'] = filters;
242
+ if (search !== undefined) {
243
+ localVarQueryParameter['search'] = search;
235
244
  }
236
245
  if (order !== undefined) {
237
246
  localVarQueryParameter['order'] = order;
@@ -239,6 +248,9 @@ var PaymentMethodsApiAxiosParamCreator = function (configuration) {
239
248
  if (expand !== undefined) {
240
249
  localVarQueryParameter['expand'] = expand;
241
250
  }
251
+ if (filters !== undefined) {
252
+ localVarQueryParameter['filters'] = filters;
253
+ }
242
254
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
243
255
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
244
256
  }
@@ -309,19 +321,22 @@ var PaymentMethodsApiFp = function (configuration) {
309
321
  * Returns a list of payment methods you have previously created. The payment methods are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.payments.view\"
310
322
  * @summary List payment methods
311
323
  * @param {string} [authorization] Bearer Token
312
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, pspCustomerId, psp, type, productSlug&lt;/i&gt;
313
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, pspCustomerId, psp, type, productSlug&lt;/i&gt;
324
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
325
+ * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
326
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, pspCustomerId, psp, type, productSlug, accountCode, partnerCode&lt;/i&gt;
327
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
314
328
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt&lt;/i&gt;
315
329
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
330
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, pspCustomerId, psp, type, productSlug, accountCode, partnerCode&lt;/i&gt;
316
331
  * @param {*} [options] Override http request option.
317
332
  * @throws {RequiredError}
318
333
  */
319
- listPaymentMethods: function (authorization, filter, filters, order, expand, options) {
334
+ listPaymentMethods: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
320
335
  return __awaiter(this, void 0, void 0, function () {
321
336
  var localVarAxiosArgs;
322
337
  return __generator(this, function (_a) {
323
338
  switch (_a.label) {
324
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.listPaymentMethods(authorization, filter, filters, order, expand, options)];
339
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.listPaymentMethods(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
325
340
  case 1:
326
341
  localVarAxiosArgs = _a.sent();
327
342
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -365,15 +380,18 @@ var PaymentMethodsApiFactory = function (configuration, basePath, axios) {
365
380
  * Returns a list of payment methods you have previously created. The payment methods are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.payments.view\"
366
381
  * @summary List payment methods
367
382
  * @param {string} [authorization] Bearer Token
368
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, pspCustomerId, psp, type, productSlug&lt;/i&gt;
369
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, pspCustomerId, psp, type, productSlug&lt;/i&gt;
383
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
384
+ * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
385
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, pspCustomerId, psp, type, productSlug, accountCode, partnerCode&lt;/i&gt;
386
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
370
387
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt&lt;/i&gt;
371
388
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
389
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, pspCustomerId, psp, type, productSlug, accountCode, partnerCode&lt;/i&gt;
372
390
  * @param {*} [options] Override http request option.
373
391
  * @throws {RequiredError}
374
392
  */
375
- listPaymentMethods: function (authorization, filter, filters, order, expand, options) {
376
- return localVarFp.listPaymentMethods(authorization, filter, filters, order, expand, options).then(function (request) { return request(axios, basePath); });
393
+ listPaymentMethods: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
394
+ return localVarFp.listPaymentMethods(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
377
395
  },
378
396
  };
379
397
  };
@@ -424,7 +442,7 @@ var PaymentMethodsApi = /** @class */ (function (_super) {
424
442
  PaymentMethodsApi.prototype.listPaymentMethods = function (requestParameters, options) {
425
443
  var _this = this;
426
444
  if (requestParameters === void 0) { requestParameters = {}; }
427
- return (0, exports.PaymentMethodsApiFp)(this.configuration).listPaymentMethods(requestParameters.authorization, requestParameters.filter, requestParameters.filters, requestParameters.order, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
445
+ return (0, exports.PaymentMethodsApiFp)(this.configuration).listPaymentMethods(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
428
446
  };
429
447
  return PaymentMethodsApi;
430
448
  }(base_1.BaseAPI));