@emilgroup/payment-sdk-node 1.21.1-beta.25 → 1.21.1-beta.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +0 -10
- package/README.md +2 -2
- package/api/bank-accounts-api.ts +13 -55
- package/api/bank-transaction-api.ts +17 -45
- package/api/payment-methods-api.ts +17 -59
- package/api/payment-reminders-api.ts +13 -55
- package/api/payments-api.ts +17 -59
- package/api/refunds-api.ts +17 -45
- package/api/tenant-bank-account-api.ts +17 -45
- package/api.ts +0 -2
- package/dist/api/bank-accounts-api.d.ts +8 -35
- package/dist/api/bank-accounts-api.js +11 -29
- package/dist/api/bank-transaction-api.d.ts +10 -28
- package/dist/api/bank-transaction-api.js +12 -24
- package/dist/api/payment-methods-api.d.ts +12 -39
- package/dist/api/payment-methods-api.js +14 -32
- package/dist/api/payment-reminders-api.d.ts +8 -35
- package/dist/api/payment-reminders-api.js +11 -29
- package/dist/api/payments-api.d.ts +12 -39
- package/dist/api/payments-api.js +14 -32
- package/dist/api/refunds-api.d.ts +10 -28
- package/dist/api/refunds-api.js +12 -24
- package/dist/api/tenant-bank-account-api.d.ts +10 -28
- package/dist/api/tenant-bank-account-api.js +12 -24
- package/dist/api.d.ts +0 -1
- package/dist/api.js +0 -1
- package/dist/models/complete-adyen-payment-setup-request-dto.d.ts +0 -1
- package/dist/models/complete-adyen-payment-setup-request-dto.js +1 -2
- package/dist/models/complete-payment-setup-request-dto.d.ts +0 -7
- package/dist/models/complete-stripe-payment-setup-request-dto.d.ts +0 -1
- package/dist/models/complete-stripe-payment-setup-request-dto.js +1 -2
- package/dist/models/create-payment-reminder-request-dto.d.ts +1 -7
- package/dist/models/create-payment-request-dto.d.ts +1 -7
- package/dist/models/create-psp-payment-method-request-dto.d.ts +1 -14
- package/dist/models/create-psp-payment-method-request-dto.js +1 -2
- package/dist/models/deactivated-payment-reminder-class.d.ts +1 -7
- package/dist/models/index.d.ts +0 -9
- package/dist/models/index.js +0 -9
- package/dist/models/initiate-adyen-payment-setup-request-dto.d.ts +0 -6
- package/dist/models/initiate-braintree-payment-setup-request-dto.d.ts +0 -6
- package/dist/models/initiate-stripe-payment-setup-request-dto.d.ts +0 -6
- package/dist/models/payment-class-without-expand-properties.d.ts +1 -7
- package/dist/models/payment-class.d.ts +1 -7
- package/dist/models/payment-reminder-class.d.ts +1 -7
- package/dist/models/refund-class.d.ts +1 -7
- package/models/complete-adyen-payment-setup-request-dto.ts +1 -2
- package/models/complete-payment-setup-request-dto.ts +0 -7
- package/models/complete-stripe-payment-setup-request-dto.ts +1 -2
- package/models/create-payment-reminder-request-dto.ts +1 -7
- package/models/create-payment-request-dto.ts +1 -7
- package/models/create-psp-payment-method-request-dto.ts +2 -15
- package/models/deactivated-payment-reminder-class.ts +1 -7
- package/models/index.ts +0 -9
- package/models/initiate-adyen-payment-setup-request-dto.ts +0 -6
- package/models/initiate-braintree-payment-setup-request-dto.ts +0 -6
- package/models/initiate-stripe-payment-setup-request-dto.ts +0 -6
- package/models/payment-class-without-expand-properties.ts +1 -7
- package/models/payment-class.ts +1 -7
- package/models/payment-reminder-class.ts +1 -7
- package/models/refund-class.ts +1 -7
- package/package.json +1 -1
- package/api/bank-orders-api.ts +0 -695
- package/dist/api/bank-orders-api.d.ts +0 -393
- package/dist/api/bank-orders-api.js +0 -646
- package/dist/models/bank-order-class.d.ts +0 -115
- package/dist/models/bank-order-class.js +0 -15
- package/dist/models/complete-eis-payment-setup-request-dto.d.ts +0 -42
- package/dist/models/complete-eis-payment-setup-request-dto.js +0 -15
- package/dist/models/create-bank-order-request-dto.d.ts +0 -74
- package/dist/models/create-bank-order-request-dto.js +0 -28
- package/dist/models/create-bank-order-response-class.d.ts +0 -25
- package/dist/models/create-bank-order-response-class.js +0 -15
- package/dist/models/financial-account-class.d.ts +0 -111
- package/dist/models/financial-account-class.js +0 -24
- package/dist/models/get-bank-order-response-class.d.ts +0 -25
- package/dist/models/get-bank-order-response-class.js +0 -15
- package/dist/models/list-bank-orders-response-class.d.ts +0 -31
- package/dist/models/list-bank-orders-response-class.js +0 -15
- package/dist/models/update-bank-order-request-dto.d.ts +0 -56
- package/dist/models/update-bank-order-request-dto.js +0 -23
- package/dist/models/update-bank-order-response-class.d.ts +0 -25
- package/dist/models/update-bank-order-response-class.js +0 -15
- package/models/bank-order-class.ts +0 -121
- package/models/complete-eis-payment-setup-request-dto.ts +0 -48
- package/models/create-bank-order-request-dto.ts +0 -84
- package/models/create-bank-order-response-class.ts +0 -31
- package/models/financial-account-class.ts +0 -120
- package/models/get-bank-order-response-class.ts +0 -31
- package/models/list-bank-orders-response-class.ts +0 -37
- package/models/update-bank-order-request-dto.ts +0 -65
- package/models/update-bank-order-response-class.ts +0 -31
package/.openapi-generator/FILES
CHANGED
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
README.md
|
|
5
5
|
api.ts
|
|
6
6
|
api/bank-accounts-api.ts
|
|
7
|
-
api/bank-orders-api.ts
|
|
8
7
|
api/bank-transaction-api.ts
|
|
9
8
|
api/health-check-api.ts
|
|
10
9
|
api/payment-methods-api.ts
|
|
@@ -21,7 +20,6 @@ git_push.sh
|
|
|
21
20
|
index.ts
|
|
22
21
|
models/bank-account-class-without-expand-properties.ts
|
|
23
22
|
models/bank-account-class.ts
|
|
24
|
-
models/bank-order-class.ts
|
|
25
23
|
models/bank-transaction-class-without-expand-properties.ts
|
|
26
24
|
models/bank-transaction-class.ts
|
|
27
25
|
models/billing-profile-dto.ts
|
|
@@ -29,14 +27,11 @@ models/billing-profile-limited-response-dto.ts
|
|
|
29
27
|
models/card-details-dto.ts
|
|
30
28
|
models/complete-adyen-payment-setup-request-dto.ts
|
|
31
29
|
models/complete-braintree-payment-setup-request-dto.ts
|
|
32
|
-
models/complete-eis-payment-setup-request-dto.ts
|
|
33
30
|
models/complete-payment-setup-request-dto.ts
|
|
34
31
|
models/complete-payment-setup-response-class.ts
|
|
35
32
|
models/complete-stripe-payment-setup-request-dto.ts
|
|
36
33
|
models/create-bank-account-request-dto.ts
|
|
37
34
|
models/create-bank-account-response-class.ts
|
|
38
|
-
models/create-bank-order-request-dto.ts
|
|
39
|
-
models/create-bank-order-response-class.ts
|
|
40
35
|
models/create-payment-method-response-class.ts
|
|
41
36
|
models/create-payment-reminder-request-dto.ts
|
|
42
37
|
models/create-payment-reminder-response-class.ts
|
|
@@ -50,10 +45,8 @@ models/create-tenant-bank-account-response-class.ts
|
|
|
50
45
|
models/deactivate-payment-reminder-request-dto.ts
|
|
51
46
|
models/deactivate-payment-reminder-response-class.ts
|
|
52
47
|
models/deactivated-payment-reminder-class.ts
|
|
53
|
-
models/financial-account-class.ts
|
|
54
48
|
models/generate-invoice-match-suggestions-response-class.ts
|
|
55
49
|
models/get-bank-account-response-class.ts
|
|
56
|
-
models/get-bank-order-response-class.ts
|
|
57
50
|
models/get-bank-transactions-response-class.ts
|
|
58
51
|
models/get-payment-method-response-class.ts
|
|
59
52
|
models/get-payment-reminder-response-class.ts
|
|
@@ -76,7 +69,6 @@ models/invoice-match-suggestion-class.ts
|
|
|
76
69
|
models/link-bank-transaction-request-dto-rest.ts
|
|
77
70
|
models/link-bank-transactions-response-class.ts
|
|
78
71
|
models/list-bank-accounts-response-class.ts
|
|
79
|
-
models/list-bank-orders-response-class.ts
|
|
80
72
|
models/list-bank-transactions-response-class.ts
|
|
81
73
|
models/list-payment-methods-response-class.ts
|
|
82
74
|
models/list-payment-reminders-response-class.ts
|
|
@@ -103,8 +95,6 @@ models/unlinked-bank-transaction-response-class.ts
|
|
|
103
95
|
models/update-bank-account-request-dto-rest.ts
|
|
104
96
|
models/update-bank-account-request-dto.ts
|
|
105
97
|
models/update-bank-account-response-class.ts
|
|
106
|
-
models/update-bank-order-request-dto.ts
|
|
107
|
-
models/update-bank-order-response-class.ts
|
|
108
98
|
models/update-tenant-bank-account-response-class.ts
|
|
109
99
|
models/update-tenant-bank-account-rest-request-dto.ts
|
|
110
100
|
models/validate-pspconfig-request-dto.ts
|
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-node@1.21.1-beta.
|
|
20
|
+
npm install @emilgroup/payment-sdk-node@1.21.1-beta.26 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/payment-sdk-node@1.21.1-beta.
|
|
24
|
+
yarn add @emilgroup/payment-sdk-node@1.21.1-beta.26
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `PaymentsApi`.
|
package/api/bank-accounts-api.ts
CHANGED
|
@@ -190,17 +190,14 @@ export const BankAccountsApiAxiosParamCreator = function (configuration?: Config
|
|
|
190
190
|
* 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. **Required Permissions** \"payment-management.bank-accounts.view\"
|
|
191
191
|
* @summary List bank accounts
|
|
192
192
|
* @param {string} [authorization] Bearer Token
|
|
193
|
-
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
194
|
-
* @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.
|
|
195
193
|
* @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>
|
|
196
|
-
* @param {string} [
|
|
194
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, id, accountCode, partnerCode</i>
|
|
197
195
|
* @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>
|
|
198
196
|
* @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>
|
|
199
|
-
* @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>
|
|
200
197
|
* @param {*} [options] Override http request option.
|
|
201
198
|
* @throws {RequiredError}
|
|
202
199
|
*/
|
|
203
|
-
listBankAccounts: async (authorization?: string,
|
|
200
|
+
listBankAccounts: async (authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
204
201
|
const localVarPath = `/paymentservice/v1/bank-accounts`;
|
|
205
202
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
206
203
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -219,20 +216,12 @@ export const BankAccountsApiAxiosParamCreator = function (configuration?: Config
|
|
|
219
216
|
// http bearer authentication required
|
|
220
217
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
221
218
|
|
|
222
|
-
if (pageSize !== undefined) {
|
|
223
|
-
localVarQueryParameter['pageSize'] = pageSize;
|
|
224
|
-
}
|
|
225
|
-
|
|
226
|
-
if (pageToken !== undefined) {
|
|
227
|
-
localVarQueryParameter['pageToken'] = pageToken;
|
|
228
|
-
}
|
|
229
|
-
|
|
230
219
|
if (filter !== undefined) {
|
|
231
220
|
localVarQueryParameter['filter'] = filter;
|
|
232
221
|
}
|
|
233
222
|
|
|
234
|
-
if (
|
|
235
|
-
localVarQueryParameter['
|
|
223
|
+
if (filters !== undefined) {
|
|
224
|
+
localVarQueryParameter['filters'] = filters;
|
|
236
225
|
}
|
|
237
226
|
|
|
238
227
|
if (order !== undefined) {
|
|
@@ -243,10 +232,6 @@ export const BankAccountsApiAxiosParamCreator = function (configuration?: Config
|
|
|
243
232
|
localVarQueryParameter['expand'] = expand;
|
|
244
233
|
}
|
|
245
234
|
|
|
246
|
-
if (filters !== undefined) {
|
|
247
|
-
localVarQueryParameter['filters'] = filters;
|
|
248
|
-
}
|
|
249
|
-
|
|
250
235
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
251
236
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
252
237
|
}
|
|
@@ -415,18 +400,15 @@ export const BankAccountsApiFp = function(configuration?: Configuration) {
|
|
|
415
400
|
* 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. **Required Permissions** \"payment-management.bank-accounts.view\"
|
|
416
401
|
* @summary List bank accounts
|
|
417
402
|
* @param {string} [authorization] Bearer Token
|
|
418
|
-
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
419
|
-
* @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.
|
|
420
403
|
* @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>
|
|
421
|
-
* @param {string} [
|
|
404
|
+
* @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>
|
|
422
405
|
* @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>
|
|
423
406
|
* @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>
|
|
424
|
-
* @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>
|
|
425
407
|
* @param {*} [options] Override http request option.
|
|
426
408
|
* @throws {RequiredError}
|
|
427
409
|
*/
|
|
428
|
-
async listBankAccounts(authorization?: string,
|
|
429
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listBankAccounts(authorization,
|
|
410
|
+
async listBankAccounts(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListBankAccountsResponseClass>> {
|
|
411
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listBankAccounts(authorization, filter, filters, order, expand, options);
|
|
430
412
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
431
413
|
},
|
|
432
414
|
/**
|
|
@@ -503,18 +485,15 @@ export const BankAccountsApiFactory = function (configuration?: Configuration, b
|
|
|
503
485
|
* 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. **Required Permissions** \"payment-management.bank-accounts.view\"
|
|
504
486
|
* @summary List bank accounts
|
|
505
487
|
* @param {string} [authorization] Bearer Token
|
|
506
|
-
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
507
|
-
* @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.
|
|
508
488
|
* @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>
|
|
509
|
-
* @param {string} [
|
|
489
|
+
* @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>
|
|
510
490
|
* @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>
|
|
511
491
|
* @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>
|
|
512
|
-
* @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>
|
|
513
492
|
* @param {*} [options] Override http request option.
|
|
514
493
|
* @throws {RequiredError}
|
|
515
494
|
*/
|
|
516
|
-
listBankAccounts(authorization?: string,
|
|
517
|
-
return localVarFp.listBankAccounts(authorization,
|
|
495
|
+
listBankAccounts(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListBankAccountsResponseClass> {
|
|
496
|
+
return localVarFp.listBankAccounts(authorization, filter, filters, order, expand, options).then((request) => request(axios, basePath));
|
|
518
497
|
},
|
|
519
498
|
/**
|
|
520
499
|
* Set the primary bank account for the specified partner/account **Required Permissions** \"payment-management.bank-accounts.update\"
|
|
@@ -626,20 +605,6 @@ export interface BankAccountsApiListBankAccountsRequest {
|
|
|
626
605
|
*/
|
|
627
606
|
readonly authorization?: string
|
|
628
607
|
|
|
629
|
-
/**
|
|
630
|
-
* A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
631
|
-
* @type {number}
|
|
632
|
-
* @memberof BankAccountsApiListBankAccounts
|
|
633
|
-
*/
|
|
634
|
-
readonly pageSize?: number
|
|
635
|
-
|
|
636
|
-
/**
|
|
637
|
-
* 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.
|
|
638
|
-
* @type {string}
|
|
639
|
-
* @memberof BankAccountsApiListBankAccounts
|
|
640
|
-
*/
|
|
641
|
-
readonly pageToken?: string
|
|
642
|
-
|
|
643
608
|
/**
|
|
644
609
|
* 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>
|
|
645
610
|
* @type {string}
|
|
@@ -648,11 +613,11 @@ export interface BankAccountsApiListBankAccountsRequest {
|
|
|
648
613
|
readonly filter?: string
|
|
649
614
|
|
|
650
615
|
/**
|
|
651
|
-
*
|
|
616
|
+
* 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>
|
|
652
617
|
* @type {string}
|
|
653
618
|
* @memberof BankAccountsApiListBankAccounts
|
|
654
619
|
*/
|
|
655
|
-
readonly
|
|
620
|
+
readonly filters?: string
|
|
656
621
|
|
|
657
622
|
/**
|
|
658
623
|
* 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>
|
|
@@ -667,13 +632,6 @@ export interface BankAccountsApiListBankAccountsRequest {
|
|
|
667
632
|
* @memberof BankAccountsApiListBankAccounts
|
|
668
633
|
*/
|
|
669
634
|
readonly expand?: string
|
|
670
|
-
|
|
671
|
-
/**
|
|
672
|
-
* 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>
|
|
673
|
-
* @type {string}
|
|
674
|
-
* @memberof BankAccountsApiListBankAccounts
|
|
675
|
-
*/
|
|
676
|
-
readonly filters?: string
|
|
677
635
|
}
|
|
678
636
|
|
|
679
637
|
/**
|
|
@@ -784,7 +742,7 @@ export class BankAccountsApi extends BaseAPI {
|
|
|
784
742
|
* @memberof BankAccountsApi
|
|
785
743
|
*/
|
|
786
744
|
public listBankAccounts(requestParameters: BankAccountsApiListBankAccountsRequest = {}, options?: AxiosRequestConfig) {
|
|
787
|
-
return BankAccountsApiFp(this.configuration).listBankAccounts(requestParameters.authorization, requestParameters.
|
|
745
|
+
return BankAccountsApiFp(this.configuration).listBankAccounts(requestParameters.authorization, requestParameters.filter, requestParameters.filters, requestParameters.order, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
|
|
788
746
|
}
|
|
789
747
|
|
|
790
748
|
/**
|
|
@@ -249,17 +249,15 @@ export const BankTransactionApiAxiosParamCreator = function (configuration?: Con
|
|
|
249
249
|
* 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\"
|
|
250
250
|
* @summary List bank transactions
|
|
251
251
|
* @param {string} [authorization] Bearer Token
|
|
252
|
-
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
253
|
-
* @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.
|
|
254
252
|
* @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>
|
|
253
|
+
* @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>
|
|
255
254
|
* @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>
|
|
256
255
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, transactionDate, entryDate</i>
|
|
257
256
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: bankAccount, transaction, invoiceMatchSuggestions, suggestionGenerationProgress<i>
|
|
258
|
-
* @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>
|
|
259
257
|
* @param {*} [options] Override http request option.
|
|
260
258
|
* @throws {RequiredError}
|
|
261
259
|
*/
|
|
262
|
-
listBankTransactions: async (authorization?: string,
|
|
260
|
+
listBankTransactions: async (authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
263
261
|
const localVarPath = `/paymentservice/v1/tenant/bank-transactions`;
|
|
264
262
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
265
263
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -278,18 +276,14 @@ export const BankTransactionApiAxiosParamCreator = function (configuration?: Con
|
|
|
278
276
|
// http bearer authentication required
|
|
279
277
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
280
278
|
|
|
281
|
-
if (pageSize !== undefined) {
|
|
282
|
-
localVarQueryParameter['pageSize'] = pageSize;
|
|
283
|
-
}
|
|
284
|
-
|
|
285
|
-
if (pageToken !== undefined) {
|
|
286
|
-
localVarQueryParameter['pageToken'] = pageToken;
|
|
287
|
-
}
|
|
288
|
-
|
|
289
279
|
if (filter !== undefined) {
|
|
290
280
|
localVarQueryParameter['filter'] = filter;
|
|
291
281
|
}
|
|
292
282
|
|
|
283
|
+
if (filters !== undefined) {
|
|
284
|
+
localVarQueryParameter['filters'] = filters;
|
|
285
|
+
}
|
|
286
|
+
|
|
293
287
|
if (search !== undefined) {
|
|
294
288
|
localVarQueryParameter['search'] = search;
|
|
295
289
|
}
|
|
@@ -302,10 +296,6 @@ export const BankTransactionApiAxiosParamCreator = function (configuration?: Con
|
|
|
302
296
|
localVarQueryParameter['expand'] = expand;
|
|
303
297
|
}
|
|
304
298
|
|
|
305
|
-
if (filters !== undefined) {
|
|
306
|
-
localVarQueryParameter['filters'] = filters;
|
|
307
|
-
}
|
|
308
|
-
|
|
309
299
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
310
300
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
311
301
|
}
|
|
@@ -436,18 +426,16 @@ export const BankTransactionApiFp = function(configuration?: Configuration) {
|
|
|
436
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. **Required Permissions** \"payment-management.bank-accounts.view\"
|
|
437
427
|
* @summary List bank transactions
|
|
438
428
|
* @param {string} [authorization] Bearer Token
|
|
439
|
-
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
440
|
-
* @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.
|
|
441
429
|
* @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>
|
|
430
|
+
* @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>
|
|
442
431
|
* @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>
|
|
443
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.<br/> <br/> <i>Allowed values: id, createdAt, transactionDate, entryDate</i>
|
|
444
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.<br/> <br/> <i>Allowed values: bankAccount, transaction, invoiceMatchSuggestions, suggestionGenerationProgress<i>
|
|
445
|
-
* @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>
|
|
446
434
|
* @param {*} [options] Override http request option.
|
|
447
435
|
* @throws {RequiredError}
|
|
448
436
|
*/
|
|
449
|
-
async listBankTransactions(authorization?: string,
|
|
450
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listBankTransactions(authorization,
|
|
437
|
+
async listBankTransactions(authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListBankTransactionsResponseClass>> {
|
|
438
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listBankTransactions(authorization, filter, filters, search, order, expand, options);
|
|
451
439
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
452
440
|
},
|
|
453
441
|
/**
|
|
@@ -523,18 +511,16 @@ export const BankTransactionApiFactory = function (configuration?: Configuration
|
|
|
523
511
|
* 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\"
|
|
524
512
|
* @summary List bank transactions
|
|
525
513
|
* @param {string} [authorization] Bearer Token
|
|
526
|
-
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
527
|
-
* @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.
|
|
528
514
|
* @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>
|
|
515
|
+
* @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>
|
|
529
516
|
* @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>
|
|
530
517
|
* @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>
|
|
531
518
|
* @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>
|
|
532
|
-
* @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>
|
|
533
519
|
* @param {*} [options] Override http request option.
|
|
534
520
|
* @throws {RequiredError}
|
|
535
521
|
*/
|
|
536
|
-
listBankTransactions(authorization?: string,
|
|
537
|
-
return localVarFp.listBankTransactions(authorization,
|
|
522
|
+
listBankTransactions(authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListBankTransactionsResponseClass> {
|
|
523
|
+
return localVarFp.listBankTransactions(authorization, filter, filters, search, order, expand, options).then((request) => request(axios, basePath));
|
|
538
524
|
},
|
|
539
525
|
/**
|
|
540
526
|
* Unlinks an already linked bank transaction **Required Permissions** \"payment-management.bank-accounts.update\"
|
|
@@ -663,25 +649,18 @@ export interface BankTransactionApiListBankTransactionsRequest {
|
|
|
663
649
|
readonly authorization?: string
|
|
664
650
|
|
|
665
651
|
/**
|
|
666
|
-
*
|
|
667
|
-
* @type {number}
|
|
668
|
-
* @memberof BankTransactionApiListBankTransactions
|
|
669
|
-
*/
|
|
670
|
-
readonly pageSize?: number
|
|
671
|
-
|
|
672
|
-
/**
|
|
673
|
-
* 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.
|
|
652
|
+
* 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>
|
|
674
653
|
* @type {string}
|
|
675
654
|
* @memberof BankTransactionApiListBankTransactions
|
|
676
655
|
*/
|
|
677
|
-
readonly
|
|
656
|
+
readonly filter?: string
|
|
678
657
|
|
|
679
658
|
/**
|
|
680
|
-
*
|
|
659
|
+
* 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>
|
|
681
660
|
* @type {string}
|
|
682
661
|
* @memberof BankTransactionApiListBankTransactions
|
|
683
662
|
*/
|
|
684
|
-
readonly
|
|
663
|
+
readonly filters?: string
|
|
685
664
|
|
|
686
665
|
/**
|
|
687
666
|
* 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>
|
|
@@ -703,13 +682,6 @@ export interface BankTransactionApiListBankTransactionsRequest {
|
|
|
703
682
|
* @memberof BankTransactionApiListBankTransactions
|
|
704
683
|
*/
|
|
705
684
|
readonly expand?: string
|
|
706
|
-
|
|
707
|
-
/**
|
|
708
|
-
* 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>
|
|
709
|
-
* @type {string}
|
|
710
|
-
* @memberof BankTransactionApiListBankTransactions
|
|
711
|
-
*/
|
|
712
|
-
readonly filters?: string
|
|
713
685
|
}
|
|
714
686
|
|
|
715
687
|
/**
|
|
@@ -804,7 +776,7 @@ export class BankTransactionApi extends BaseAPI {
|
|
|
804
776
|
* @memberof BankTransactionApi
|
|
805
777
|
*/
|
|
806
778
|
public listBankTransactions(requestParameters: BankTransactionApiListBankTransactionsRequest = {}, options?: AxiosRequestConfig) {
|
|
807
|
-
return BankTransactionApiFp(this.configuration).listBankTransactions(requestParameters.authorization, requestParameters.
|
|
779
|
+
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));
|
|
808
780
|
}
|
|
809
781
|
|
|
810
782
|
/**
|
|
@@ -134,17 +134,14 @@ export const PaymentMethodsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
134
134
|
* 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\"
|
|
135
135
|
* @summary List payment methods
|
|
136
136
|
* @param {string} [authorization] Bearer Token
|
|
137
|
-
* @param {
|
|
138
|
-
* @param {string} [
|
|
139
|
-
* @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>
|
|
140
|
-
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
137
|
+
* @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>
|
|
138
|
+
* @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>
|
|
141
139
|
* @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>
|
|
142
140
|
* @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/>
|
|
143
|
-
* @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>
|
|
144
141
|
* @param {*} [options] Override http request option.
|
|
145
142
|
* @throws {RequiredError}
|
|
146
143
|
*/
|
|
147
|
-
listPaymentMethods: async (authorization?: string,
|
|
144
|
+
listPaymentMethods: async (authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
148
145
|
const localVarPath = `/paymentservice/v1/payment-methods`;
|
|
149
146
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
150
147
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -163,20 +160,12 @@ export const PaymentMethodsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
163
160
|
// http bearer authentication required
|
|
164
161
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
165
162
|
|
|
166
|
-
if (pageSize !== undefined) {
|
|
167
|
-
localVarQueryParameter['pageSize'] = pageSize;
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
if (pageToken !== undefined) {
|
|
171
|
-
localVarQueryParameter['pageToken'] = pageToken;
|
|
172
|
-
}
|
|
173
|
-
|
|
174
163
|
if (filter !== undefined) {
|
|
175
164
|
localVarQueryParameter['filter'] = filter;
|
|
176
165
|
}
|
|
177
166
|
|
|
178
|
-
if (
|
|
179
|
-
localVarQueryParameter['
|
|
167
|
+
if (filters !== undefined) {
|
|
168
|
+
localVarQueryParameter['filters'] = filters;
|
|
180
169
|
}
|
|
181
170
|
|
|
182
171
|
if (order !== undefined) {
|
|
@@ -187,10 +176,6 @@ export const PaymentMethodsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
187
176
|
localVarQueryParameter['expand'] = expand;
|
|
188
177
|
}
|
|
189
178
|
|
|
190
|
-
if (filters !== undefined) {
|
|
191
|
-
localVarQueryParameter['filters'] = filters;
|
|
192
|
-
}
|
|
193
|
-
|
|
194
179
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
195
180
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
196
181
|
}
|
|
@@ -244,18 +229,15 @@ export const PaymentMethodsApiFp = function(configuration?: Configuration) {
|
|
|
244
229
|
* 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\"
|
|
245
230
|
* @summary List payment methods
|
|
246
231
|
* @param {string} [authorization] Bearer Token
|
|
247
|
-
* @param {
|
|
248
|
-
* @param {string} [
|
|
249
|
-
* @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>
|
|
250
|
-
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
232
|
+
* @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>
|
|
233
|
+
* @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>
|
|
251
234
|
* @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>
|
|
252
235
|
* @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/>
|
|
253
|
-
* @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>
|
|
254
236
|
* @param {*} [options] Override http request option.
|
|
255
237
|
* @throws {RequiredError}
|
|
256
238
|
*/
|
|
257
|
-
async listPaymentMethods(authorization?: string,
|
|
258
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listPaymentMethods(authorization,
|
|
239
|
+
async listPaymentMethods(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPaymentMethodsResponseClass>> {
|
|
240
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listPaymentMethods(authorization, filter, filters, order, expand, options);
|
|
259
241
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
260
242
|
},
|
|
261
243
|
}
|
|
@@ -294,18 +276,15 @@ export const PaymentMethodsApiFactory = function (configuration?: Configuration,
|
|
|
294
276
|
* 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\"
|
|
295
277
|
* @summary List payment methods
|
|
296
278
|
* @param {string} [authorization] Bearer Token
|
|
297
|
-
* @param {
|
|
298
|
-
* @param {string} [
|
|
299
|
-
* @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>
|
|
300
|
-
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
279
|
+
* @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>
|
|
280
|
+
* @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>
|
|
301
281
|
* @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>
|
|
302
282
|
* @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/>
|
|
303
|
-
* @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>
|
|
304
283
|
* @param {*} [options] Override http request option.
|
|
305
284
|
* @throws {RequiredError}
|
|
306
285
|
*/
|
|
307
|
-
listPaymentMethods(authorization?: string,
|
|
308
|
-
return localVarFp.listPaymentMethods(authorization,
|
|
286
|
+
listPaymentMethods(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListPaymentMethodsResponseClass> {
|
|
287
|
+
return localVarFp.listPaymentMethods(authorization, filter, filters, order, expand, options).then((request) => request(axios, basePath));
|
|
309
288
|
},
|
|
310
289
|
};
|
|
311
290
|
};
|
|
@@ -366,32 +345,18 @@ export interface PaymentMethodsApiListPaymentMethodsRequest {
|
|
|
366
345
|
readonly authorization?: string
|
|
367
346
|
|
|
368
347
|
/**
|
|
369
|
-
*
|
|
370
|
-
* @type {number}
|
|
371
|
-
* @memberof PaymentMethodsApiListPaymentMethods
|
|
372
|
-
*/
|
|
373
|
-
readonly pageSize?: number
|
|
374
|
-
|
|
375
|
-
/**
|
|
376
|
-
* 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.
|
|
377
|
-
* @type {string}
|
|
378
|
-
* @memberof PaymentMethodsApiListPaymentMethods
|
|
379
|
-
*/
|
|
380
|
-
readonly pageToken?: string
|
|
381
|
-
|
|
382
|
-
/**
|
|
383
|
-
* 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>
|
|
348
|
+
* 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>
|
|
384
349
|
* @type {string}
|
|
385
350
|
* @memberof PaymentMethodsApiListPaymentMethods
|
|
386
351
|
*/
|
|
387
352
|
readonly filter?: string
|
|
388
353
|
|
|
389
354
|
/**
|
|
390
|
-
*
|
|
355
|
+
* 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>
|
|
391
356
|
* @type {string}
|
|
392
357
|
* @memberof PaymentMethodsApiListPaymentMethods
|
|
393
358
|
*/
|
|
394
|
-
readonly
|
|
359
|
+
readonly filters?: string
|
|
395
360
|
|
|
396
361
|
/**
|
|
397
362
|
* 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>
|
|
@@ -406,13 +371,6 @@ export interface PaymentMethodsApiListPaymentMethodsRequest {
|
|
|
406
371
|
* @memberof PaymentMethodsApiListPaymentMethods
|
|
407
372
|
*/
|
|
408
373
|
readonly expand?: string
|
|
409
|
-
|
|
410
|
-
/**
|
|
411
|
-
* 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>
|
|
412
|
-
* @type {string}
|
|
413
|
-
* @memberof PaymentMethodsApiListPaymentMethods
|
|
414
|
-
*/
|
|
415
|
-
readonly filters?: string
|
|
416
374
|
}
|
|
417
375
|
|
|
418
376
|
/**
|
|
@@ -455,6 +413,6 @@ export class PaymentMethodsApi extends BaseAPI {
|
|
|
455
413
|
* @memberof PaymentMethodsApi
|
|
456
414
|
*/
|
|
457
415
|
public listPaymentMethods(requestParameters: PaymentMethodsApiListPaymentMethodsRequest = {}, options?: AxiosRequestConfig) {
|
|
458
|
-
return PaymentMethodsApiFp(this.configuration).listPaymentMethods(requestParameters.authorization, requestParameters.
|
|
416
|
+
return PaymentMethodsApiFp(this.configuration).listPaymentMethods(requestParameters.authorization, requestParameters.filter, requestParameters.filters, requestParameters.order, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
|
|
459
417
|
}
|
|
460
418
|
}
|