@emilgroup/payment-sdk 1.4.1-beta.37 → 1.4.1-beta.39

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.
package/README.md CHANGED
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
17
17
  Navigate to the folder of your consuming project and run one of the following commands:
18
18
 
19
19
  ```
20
- npm install @emilgroup/payment-sdk@1.4.1-beta.37 --save
20
+ npm install @emilgroup/payment-sdk@1.4.1-beta.39 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/payment-sdk@1.4.1-beta.37
24
+ yarn add @emilgroup/payment-sdk@1.4.1-beta.39
25
25
  ```
26
26
 
27
27
  And then you can import `PaymentsApi`.
@@ -178,17 +178,14 @@ export const BankAccountsApiAxiosParamCreator = function (configuration?: Config
178
178
  * Returns a list of bank accounts you have previously created. The bank accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
179
179
  * @summary List bank accounts
180
180
  * @param {string} [authorization] Bearer Token
181
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
182
- * @param {any} [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.
183
181
  * @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, accountCode, partnerCode</i>
184
- * @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
182
+ * @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, accountCode, partnerCode</i>
185
183
  * @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>
186
184
  * @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: primaryBankAccount<i>
187
- * @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, accountCode, partnerCode</i>
188
185
  * @param {*} [options] Override http request option.
189
186
  * @throws {RequiredError}
190
187
  */
191
- listBankAccounts: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
188
+ listBankAccounts: async (authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
192
189
  const localVarPath = `/paymentservice/v1/bank-accounts`;
193
190
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
194
191
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -207,20 +204,12 @@ export const BankAccountsApiAxiosParamCreator = function (configuration?: Config
207
204
  // http bearer authentication required
208
205
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
209
206
 
210
- if (pageSize !== undefined) {
211
- localVarQueryParameter['pageSize'] = pageSize;
212
- }
213
-
214
- if (pageToken !== undefined) {
215
- localVarQueryParameter['pageToken'] = pageToken;
216
- }
217
-
218
207
  if (filter !== undefined) {
219
208
  localVarQueryParameter['filter'] = filter;
220
209
  }
221
210
 
222
- if (search !== undefined) {
223
- localVarQueryParameter['search'] = search;
211
+ if (filters !== undefined) {
212
+ localVarQueryParameter['filters'] = filters;
224
213
  }
225
214
 
226
215
  if (order !== undefined) {
@@ -231,10 +220,6 @@ export const BankAccountsApiAxiosParamCreator = function (configuration?: Config
231
220
  localVarQueryParameter['expand'] = expand;
232
221
  }
233
222
 
234
- if (filters !== undefined) {
235
- localVarQueryParameter['filters'] = filters;
236
- }
237
-
238
223
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
239
224
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
240
225
  }
@@ -403,18 +388,15 @@ export const BankAccountsApiFp = function(configuration?: Configuration) {
403
388
  * Returns a list of bank accounts you have previously created. The bank accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
404
389
  * @summary List bank accounts
405
390
  * @param {string} [authorization] Bearer Token
406
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
407
- * @param {any} [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.
408
391
  * @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, accountCode, partnerCode&lt;/i&gt;
409
- * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
392
+ * @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, accountCode, partnerCode&lt;/i&gt;
410
393
  * @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;
411
394
  * @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: primaryBankAccount&lt;i&gt;
412
- * @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, accountCode, partnerCode&lt;/i&gt;
413
395
  * @param {*} [options] Override http request option.
414
396
  * @throws {RequiredError}
415
397
  */
416
- async listBankAccounts(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
417
- const localVarAxiosArgs = await localVarAxiosParamCreator.listBankAccounts(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
398
+ async listBankAccounts(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
399
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listBankAccounts(authorization, filter, filters, order, expand, options);
418
400
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
419
401
  },
420
402
  /**
@@ -491,18 +473,15 @@ export const BankAccountsApiFactory = function (configuration?: Configuration, b
491
473
  * Returns a list of bank accounts you have previously created. The bank accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
492
474
  * @summary List bank accounts
493
475
  * @param {string} [authorization] Bearer Token
494
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
495
- * @param {any} [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.
496
476
  * @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, accountCode, partnerCode&lt;/i&gt;
497
- * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
477
+ * @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, accountCode, partnerCode&lt;/i&gt;
498
478
  * @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;
499
479
  * @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: primaryBankAccount&lt;i&gt;
500
- * @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, accountCode, partnerCode&lt;/i&gt;
501
480
  * @param {*} [options] Override http request option.
502
481
  * @throws {RequiredError}
503
482
  */
504
- listBankAccounts(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<void> {
505
- return localVarFp.listBankAccounts(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
483
+ listBankAccounts(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: any): AxiosPromise<void> {
484
+ return localVarFp.listBankAccounts(authorization, filter, filters, order, expand, options).then((request) => request(axios, basePath));
506
485
  },
507
486
  /**
508
487
  * Set the primary bank account for the specified partner/account
@@ -614,20 +593,6 @@ export interface BankAccountsApiListBankAccountsRequest {
614
593
  */
615
594
  readonly authorization?: string
616
595
 
617
- /**
618
- * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
619
- * @type {any}
620
- * @memberof BankAccountsApiListBankAccounts
621
- */
622
- readonly pageSize?: any
623
-
624
- /**
625
- * 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.
626
- * @type {any}
627
- * @memberof BankAccountsApiListBankAccounts
628
- */
629
- readonly pageToken?: any
630
-
631
596
  /**
632
597
  * 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, accountCode, partnerCode&lt;/i&gt;
633
598
  * @type {string}
@@ -636,11 +601,11 @@ export interface BankAccountsApiListBankAccountsRequest {
636
601
  readonly filter?: string
637
602
 
638
603
  /**
639
- * To search the list by any field, pass search&#x3D;xxx to fetch the result.
640
- * @type {any}
604
+ * 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, accountCode, partnerCode&lt;/i&gt;
605
+ * @type {string}
641
606
  * @memberof BankAccountsApiListBankAccounts
642
607
  */
643
- readonly search?: any
608
+ readonly filters?: string
644
609
 
645
610
  /**
646
611
  * 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;
@@ -655,13 +620,6 @@ export interface BankAccountsApiListBankAccountsRequest {
655
620
  * @memberof BankAccountsApiListBankAccounts
656
621
  */
657
622
  readonly expand?: string
658
-
659
- /**
660
- * 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, accountCode, partnerCode&lt;/i&gt;
661
- * @type {string}
662
- * @memberof BankAccountsApiListBankAccounts
663
- */
664
- readonly filters?: string
665
623
  }
666
624
 
667
625
  /**
@@ -772,7 +730,7 @@ export class BankAccountsApi extends BaseAPI {
772
730
  * @memberof BankAccountsApi
773
731
  */
774
732
  public listBankAccounts(requestParameters: BankAccountsApiListBankAccountsRequest = {}, options?: AxiosRequestConfig) {
775
- return BankAccountsApiFp(this.configuration).listBankAccounts(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
733
+ return BankAccountsApiFp(this.configuration).listBankAccounts(requestParameters.authorization, requestParameters.filter, requestParameters.filters, requestParameters.order, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
776
734
  }
777
735
 
778
736
  /**
@@ -187,17 +187,15 @@ export const BankTransactionApiAxiosParamCreator = function (configuration?: Con
187
187
  * 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.
188
188
  * @summary List bank transactions
189
189
  * @param {string} [authorization] Bearer Token
190
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
191
- * @param {any} [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.
192
190
  * @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: id, code, bankAccountId, bankAccountNumber, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked&lt;/i&gt;
191
+ * @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: id, code, bankAccountId, bankAccountNumber, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked&lt;/i&gt;
193
192
  * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: id, createdAt, amount&lt;/i&gt;
194
193
  * @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, amount, transactionDate, entryDate&lt;/i&gt;
195
194
  * @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: bankAccount, transaction&lt;i&gt;
196
- * @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: id, code, bankAccountId, bankAccountNumber, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked&lt;/i&gt;
197
195
  * @param {*} [options] Override http request option.
198
196
  * @throws {RequiredError}
199
197
  */
200
- listBankTransactions: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
198
+ listBankTransactions: async (authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
201
199
  const localVarPath = `/paymentservice/v1/tenant/bank-transactions`;
202
200
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
203
201
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -216,18 +214,14 @@ export const BankTransactionApiAxiosParamCreator = function (configuration?: Con
216
214
  // http bearer authentication required
217
215
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
218
216
 
219
- if (pageSize !== undefined) {
220
- localVarQueryParameter['pageSize'] = pageSize;
221
- }
222
-
223
- if (pageToken !== undefined) {
224
- localVarQueryParameter['pageToken'] = pageToken;
225
- }
226
-
227
217
  if (filter !== undefined) {
228
218
  localVarQueryParameter['filter'] = filter;
229
219
  }
230
220
 
221
+ if (filters !== undefined) {
222
+ localVarQueryParameter['filters'] = filters;
223
+ }
224
+
231
225
  if (search !== undefined) {
232
226
  localVarQueryParameter['search'] = search;
233
227
  }
@@ -240,10 +234,6 @@ export const BankTransactionApiAxiosParamCreator = function (configuration?: Con
240
234
  localVarQueryParameter['expand'] = expand;
241
235
  }
242
236
 
243
- if (filters !== undefined) {
244
- localVarQueryParameter['filters'] = filters;
245
- }
246
-
247
237
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
248
238
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
249
239
  }
@@ -362,18 +352,16 @@ export const BankTransactionApiFp = function(configuration?: Configuration) {
362
352
  * 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.
363
353
  * @summary List bank transactions
364
354
  * @param {string} [authorization] Bearer Token
365
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
366
- * @param {any} [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.
367
355
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, bankAccountId, bankAccountNumber, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked&lt;/i&gt;
356
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, bankAccountId, bankAccountNumber, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked&lt;/i&gt;
368
357
  * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: id, createdAt, amount&lt;/i&gt;
369
358
  * @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, amount, transactionDate, entryDate&lt;/i&gt;
370
359
  * @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: bankAccount, transaction&lt;i&gt;
371
- * @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: id, code, bankAccountId, bankAccountNumber, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked&lt;/i&gt;
372
360
  * @param {*} [options] Override http request option.
373
361
  * @throws {RequiredError}
374
362
  */
375
- async listBankTransactions(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
376
- const localVarAxiosArgs = await localVarAxiosParamCreator.listBankTransactions(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
363
+ async listBankTransactions(authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
364
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listBankTransactions(authorization, filter, filters, search, order, expand, options);
377
365
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
378
366
  },
379
367
  /**
@@ -438,18 +426,16 @@ export const BankTransactionApiFactory = function (configuration?: Configuration
438
426
  * 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.
439
427
  * @summary List bank transactions
440
428
  * @param {string} [authorization] Bearer Token
441
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
442
- * @param {any} [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.
443
429
  * @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: id, code, bankAccountId, bankAccountNumber, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked&lt;/i&gt;
430
+ * @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: id, code, bankAccountId, bankAccountNumber, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked&lt;/i&gt;
444
431
  * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: id, createdAt, amount&lt;/i&gt;
445
432
  * @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, amount, transactionDate, entryDate&lt;/i&gt;
446
433
  * @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: bankAccount, transaction&lt;i&gt;
447
- * @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: id, code, bankAccountId, bankAccountNumber, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked&lt;/i&gt;
448
434
  * @param {*} [options] Override http request option.
449
435
  * @throws {RequiredError}
450
436
  */
451
- listBankTransactions(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<void> {
452
- return localVarFp.listBankTransactions(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
437
+ listBankTransactions(authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: any): AxiosPromise<void> {
438
+ return localVarFp.listBankTransactions(authorization, filter, filters, search, order, expand, options).then((request) => request(axios, basePath));
453
439
  },
454
440
  /**
455
441
  * Unlinks an already linked bank transaction
@@ -557,25 +543,18 @@ export interface BankTransactionApiListBankTransactionsRequest {
557
543
  readonly authorization?: string
558
544
 
559
545
  /**
560
- * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
561
- * @type {any}
562
- * @memberof BankTransactionApiListBankTransactions
563
- */
564
- readonly pageSize?: any
565
-
566
- /**
567
- * 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.
568
- * @type {any}
546
+ * 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: id, code, bankAccountId, bankAccountNumber, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked&lt;/i&gt;
547
+ * @type {string}
569
548
  * @memberof BankTransactionApiListBankTransactions
570
549
  */
571
- readonly pageToken?: any
550
+ readonly filter?: string
572
551
 
573
552
  /**
574
- * 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: id, code, bankAccountId, bankAccountNumber, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked&lt;/i&gt;
553
+ * 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: id, code, bankAccountId, bankAccountNumber, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked&lt;/i&gt;
575
554
  * @type {string}
576
555
  * @memberof BankTransactionApiListBankTransactions
577
556
  */
578
- readonly filter?: string
557
+ readonly filters?: string
579
558
 
580
559
  /**
581
560
  * Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: id, createdAt, amount&lt;/i&gt;
@@ -597,13 +576,6 @@ export interface BankTransactionApiListBankTransactionsRequest {
597
576
  * @memberof BankTransactionApiListBankTransactions
598
577
  */
599
578
  readonly expand?: string
600
-
601
- /**
602
- * 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: id, code, bankAccountId, bankAccountNumber, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked&lt;/i&gt;
603
- * @type {string}
604
- * @memberof BankTransactionApiListBankTransactions
605
- */
606
- readonly filters?: string
607
579
  }
608
580
 
609
581
  /**
@@ -686,7 +658,7 @@ export class BankTransactionApi extends BaseAPI {
686
658
  * @memberof BankTransactionApi
687
659
  */
688
660
  public listBankTransactions(requestParameters: BankTransactionApiListBankTransactionsRequest = {}, options?: AxiosRequestConfig) {
689
- return BankTransactionApiFp(this.configuration).listBankTransactions(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
661
+ return BankTransactionApiFp(this.configuration).listBankTransactions(requestParameters.authorization, requestParameters.filter, requestParameters.filters, requestParameters.search, requestParameters.order, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
690
662
  }
691
663
 
692
664
  /**
@@ -122,17 +122,14 @@ export const PaymentMethodsApiAxiosParamCreator = function (configuration?: Conf
122
122
  * 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.
123
123
  * @summary List payment methods
124
124
  * @param {string} [authorization] Bearer Token
125
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
126
- * @param {any} [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.
127
125
  * @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&lt;/i&gt;
128
- * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
126
+ * @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&lt;/i&gt;
129
127
  * @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;
130
128
  * @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: &lt;i&gt;
131
- * @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&lt;/i&gt;
132
129
  * @param {*} [options] Override http request option.
133
130
  * @throws {RequiredError}
134
131
  */
135
- listPaymentMethods: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
132
+ listPaymentMethods: async (authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
136
133
  const localVarPath = `/paymentservice/v1/payment-methods`;
137
134
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
138
135
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -151,20 +148,12 @@ export const PaymentMethodsApiAxiosParamCreator = function (configuration?: Conf
151
148
  // http bearer authentication required
152
149
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
153
150
 
154
- if (pageSize !== undefined) {
155
- localVarQueryParameter['pageSize'] = pageSize;
156
- }
157
-
158
- if (pageToken !== undefined) {
159
- localVarQueryParameter['pageToken'] = pageToken;
160
- }
161
-
162
151
  if (filter !== undefined) {
163
152
  localVarQueryParameter['filter'] = filter;
164
153
  }
165
154
 
166
- if (search !== undefined) {
167
- localVarQueryParameter['search'] = search;
155
+ if (filters !== undefined) {
156
+ localVarQueryParameter['filters'] = filters;
168
157
  }
169
158
 
170
159
  if (order !== undefined) {
@@ -175,10 +164,6 @@ export const PaymentMethodsApiAxiosParamCreator = function (configuration?: Conf
175
164
  localVarQueryParameter['expand'] = expand;
176
165
  }
177
166
 
178
- if (filters !== undefined) {
179
- localVarQueryParameter['filters'] = filters;
180
- }
181
-
182
167
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
183
168
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
184
169
  }
@@ -232,18 +217,15 @@ export const PaymentMethodsApiFp = function(configuration?: Configuration) {
232
217
  * 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.
233
218
  * @summary List payment methods
234
219
  * @param {string} [authorization] Bearer Token
235
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
236
- * @param {any} [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.
237
220
  * @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&lt;/i&gt;
238
- * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
221
+ * @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&lt;/i&gt;
239
222
  * @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;
240
223
  * @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: &lt;i&gt;
241
- * @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&lt;/i&gt;
242
224
  * @param {*} [options] Override http request option.
243
225
  * @throws {RequiredError}
244
226
  */
245
- async listPaymentMethods(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
246
- const localVarAxiosArgs = await localVarAxiosParamCreator.listPaymentMethods(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
227
+ async listPaymentMethods(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
228
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listPaymentMethods(authorization, filter, filters, order, expand, options);
247
229
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
248
230
  },
249
231
  }
@@ -282,18 +264,15 @@ export const PaymentMethodsApiFactory = function (configuration?: Configuration,
282
264
  * 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.
283
265
  * @summary List payment methods
284
266
  * @param {string} [authorization] Bearer Token
285
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
286
- * @param {any} [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.
287
267
  * @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&lt;/i&gt;
288
- * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
268
+ * @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&lt;/i&gt;
289
269
  * @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;
290
270
  * @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: &lt;i&gt;
291
- * @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&lt;/i&gt;
292
271
  * @param {*} [options] Override http request option.
293
272
  * @throws {RequiredError}
294
273
  */
295
- listPaymentMethods(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<void> {
296
- return localVarFp.listPaymentMethods(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
274
+ listPaymentMethods(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: any): AxiosPromise<void> {
275
+ return localVarFp.listPaymentMethods(authorization, filter, filters, order, expand, options).then((request) => request(axios, basePath));
297
276
  },
298
277
  };
299
278
  };
@@ -353,20 +332,6 @@ export interface PaymentMethodsApiListPaymentMethodsRequest {
353
332
  */
354
333
  readonly authorization?: string
355
334
 
356
- /**
357
- * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
358
- * @type {any}
359
- * @memberof PaymentMethodsApiListPaymentMethods
360
- */
361
- readonly pageSize?: any
362
-
363
- /**
364
- * A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
365
- * @type {any}
366
- * @memberof PaymentMethodsApiListPaymentMethods
367
- */
368
- readonly pageToken?: any
369
-
370
335
  /**
371
336
  * 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&lt;/i&gt;
372
337
  * @type {string}
@@ -375,11 +340,11 @@ export interface PaymentMethodsApiListPaymentMethodsRequest {
375
340
  readonly filter?: string
376
341
 
377
342
  /**
378
- * To search the list by any field, pass search&#x3D;xxx to fetch the result.
379
- * @type {any}
343
+ * 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&lt;/i&gt;
344
+ * @type {string}
380
345
  * @memberof PaymentMethodsApiListPaymentMethods
381
346
  */
382
- readonly search?: any
347
+ readonly filters?: string
383
348
 
384
349
  /**
385
350
  * 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;
@@ -394,13 +359,6 @@ export interface PaymentMethodsApiListPaymentMethodsRequest {
394
359
  * @memberof PaymentMethodsApiListPaymentMethods
395
360
  */
396
361
  readonly expand?: string
397
-
398
- /**
399
- * 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&lt;/i&gt;
400
- * @type {string}
401
- * @memberof PaymentMethodsApiListPaymentMethods
402
- */
403
- readonly filters?: string
404
362
  }
405
363
 
406
364
  /**
@@ -443,6 +401,6 @@ export class PaymentMethodsApi extends BaseAPI {
443
401
  * @memberof PaymentMethodsApi
444
402
  */
445
403
  public listPaymentMethods(requestParameters: PaymentMethodsApiListPaymentMethodsRequest = {}, options?: AxiosRequestConfig) {
446
- return PaymentMethodsApiFp(this.configuration).listPaymentMethods(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
404
+ return PaymentMethodsApiFp(this.configuration).listPaymentMethods(requestParameters.authorization, requestParameters.filter, requestParameters.filters, requestParameters.order, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
447
405
  }
448
406
  }