@emilgroup/payment-sdk 1.13.1-beta.25 → 1.13.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 -691
- package/dist/api/bank-orders-api.d.ts +0 -393
- package/dist/api/bank-orders-api.js +0 -642
- 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@1.13.1-beta.
|
|
20
|
+
npm install @emilgroup/payment-sdk@1.13.1-beta.26 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/payment-sdk@1.13.1-beta.
|
|
24
|
+
yarn add @emilgroup/payment-sdk@1.13.1-beta.26
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `PaymentsApi`.
|
package/api/bank-accounts-api.ts
CHANGED
|
@@ -186,17 +186,14 @@ export const BankAccountsApiAxiosParamCreator = function (configuration?: Config
|
|
|
186
186
|
* 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\"
|
|
187
187
|
* @summary List bank accounts
|
|
188
188
|
* @param {string} [authorization] Bearer Token
|
|
189
|
-
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
190
|
-
* @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.
|
|
191
189
|
* @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>
|
|
192
|
-
* @param {string} [
|
|
190
|
+
* @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>
|
|
193
191
|
* @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>
|
|
194
192
|
* @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>
|
|
195
|
-
* @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>
|
|
196
193
|
* @param {*} [options] Override http request option.
|
|
197
194
|
* @throws {RequiredError}
|
|
198
195
|
*/
|
|
199
|
-
listBankAccounts: async (authorization?: string,
|
|
196
|
+
listBankAccounts: async (authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
200
197
|
const localVarPath = `/paymentservice/v1/bank-accounts`;
|
|
201
198
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
202
199
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -215,20 +212,12 @@ export const BankAccountsApiAxiosParamCreator = function (configuration?: Config
|
|
|
215
212
|
// http bearer authentication required
|
|
216
213
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
217
214
|
|
|
218
|
-
if (pageSize !== undefined) {
|
|
219
|
-
localVarQueryParameter['pageSize'] = pageSize;
|
|
220
|
-
}
|
|
221
|
-
|
|
222
|
-
if (pageToken !== undefined) {
|
|
223
|
-
localVarQueryParameter['pageToken'] = pageToken;
|
|
224
|
-
}
|
|
225
|
-
|
|
226
215
|
if (filter !== undefined) {
|
|
227
216
|
localVarQueryParameter['filter'] = filter;
|
|
228
217
|
}
|
|
229
218
|
|
|
230
|
-
if (
|
|
231
|
-
localVarQueryParameter['
|
|
219
|
+
if (filters !== undefined) {
|
|
220
|
+
localVarQueryParameter['filters'] = filters;
|
|
232
221
|
}
|
|
233
222
|
|
|
234
223
|
if (order !== undefined) {
|
|
@@ -239,10 +228,6 @@ export const BankAccountsApiAxiosParamCreator = function (configuration?: Config
|
|
|
239
228
|
localVarQueryParameter['expand'] = expand;
|
|
240
229
|
}
|
|
241
230
|
|
|
242
|
-
if (filters !== undefined) {
|
|
243
|
-
localVarQueryParameter['filters'] = filters;
|
|
244
|
-
}
|
|
245
|
-
|
|
246
231
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
247
232
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
248
233
|
}
|
|
@@ -411,18 +396,15 @@ export const BankAccountsApiFp = function(configuration?: Configuration) {
|
|
|
411
396
|
* 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\"
|
|
412
397
|
* @summary List bank accounts
|
|
413
398
|
* @param {string} [authorization] Bearer Token
|
|
414
|
-
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
415
|
-
* @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.
|
|
416
399
|
* @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>
|
|
417
|
-
* @param {string} [
|
|
400
|
+
* @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>
|
|
418
401
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt</i>
|
|
419
402
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: primaryBankAccount<i>
|
|
420
|
-
* @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>
|
|
421
403
|
* @param {*} [options] Override http request option.
|
|
422
404
|
* @throws {RequiredError}
|
|
423
405
|
*/
|
|
424
|
-
async listBankAccounts(authorization?: string,
|
|
425
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listBankAccounts(authorization,
|
|
406
|
+
async listBankAccounts(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListBankAccountsResponseClass>> {
|
|
407
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listBankAccounts(authorization, filter, filters, order, expand, options);
|
|
426
408
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
427
409
|
},
|
|
428
410
|
/**
|
|
@@ -499,18 +481,15 @@ export const BankAccountsApiFactory = function (configuration?: Configuration, b
|
|
|
499
481
|
* 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\"
|
|
500
482
|
* @summary List bank accounts
|
|
501
483
|
* @param {string} [authorization] Bearer Token
|
|
502
|
-
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
503
|
-
* @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.
|
|
504
484
|
* @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>
|
|
505
|
-
* @param {string} [
|
|
485
|
+
* @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>
|
|
506
486
|
* @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>
|
|
507
487
|
* @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>
|
|
508
|
-
* @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>
|
|
509
488
|
* @param {*} [options] Override http request option.
|
|
510
489
|
* @throws {RequiredError}
|
|
511
490
|
*/
|
|
512
|
-
listBankAccounts(authorization?: string,
|
|
513
|
-
return localVarFp.listBankAccounts(authorization,
|
|
491
|
+
listBankAccounts(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListBankAccountsResponseClass> {
|
|
492
|
+
return localVarFp.listBankAccounts(authorization, filter, filters, order, expand, options).then((request) => request(axios, basePath));
|
|
514
493
|
},
|
|
515
494
|
/**
|
|
516
495
|
* Set the primary bank account for the specified partner/account **Required Permissions** \"payment-management.bank-accounts.update\"
|
|
@@ -622,20 +601,6 @@ export interface BankAccountsApiListBankAccountsRequest {
|
|
|
622
601
|
*/
|
|
623
602
|
readonly authorization?: string
|
|
624
603
|
|
|
625
|
-
/**
|
|
626
|
-
* A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
627
|
-
* @type {number}
|
|
628
|
-
* @memberof BankAccountsApiListBankAccounts
|
|
629
|
-
*/
|
|
630
|
-
readonly pageSize?: number
|
|
631
|
-
|
|
632
|
-
/**
|
|
633
|
-
* 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.
|
|
634
|
-
* @type {string}
|
|
635
|
-
* @memberof BankAccountsApiListBankAccounts
|
|
636
|
-
*/
|
|
637
|
-
readonly pageToken?: string
|
|
638
|
-
|
|
639
604
|
/**
|
|
640
605
|
* 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>
|
|
641
606
|
* @type {string}
|
|
@@ -644,11 +609,11 @@ export interface BankAccountsApiListBankAccountsRequest {
|
|
|
644
609
|
readonly filter?: string
|
|
645
610
|
|
|
646
611
|
/**
|
|
647
|
-
*
|
|
612
|
+
* 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>
|
|
648
613
|
* @type {string}
|
|
649
614
|
* @memberof BankAccountsApiListBankAccounts
|
|
650
615
|
*/
|
|
651
|
-
readonly
|
|
616
|
+
readonly filters?: string
|
|
652
617
|
|
|
653
618
|
/**
|
|
654
619
|
* 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>
|
|
@@ -663,13 +628,6 @@ export interface BankAccountsApiListBankAccountsRequest {
|
|
|
663
628
|
* @memberof BankAccountsApiListBankAccounts
|
|
664
629
|
*/
|
|
665
630
|
readonly expand?: string
|
|
666
|
-
|
|
667
|
-
/**
|
|
668
|
-
* 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>
|
|
669
|
-
* @type {string}
|
|
670
|
-
* @memberof BankAccountsApiListBankAccounts
|
|
671
|
-
*/
|
|
672
|
-
readonly filters?: string
|
|
673
631
|
}
|
|
674
632
|
|
|
675
633
|
/**
|
|
@@ -780,7 +738,7 @@ export class BankAccountsApi extends BaseAPI {
|
|
|
780
738
|
* @memberof BankAccountsApi
|
|
781
739
|
*/
|
|
782
740
|
public listBankAccounts(requestParameters: BankAccountsApiListBankAccountsRequest = {}, options?: AxiosRequestConfig) {
|
|
783
|
-
return BankAccountsApiFp(this.configuration).listBankAccounts(requestParameters.authorization, requestParameters.
|
|
741
|
+
return BankAccountsApiFp(this.configuration).listBankAccounts(requestParameters.authorization, requestParameters.filter, requestParameters.filters, requestParameters.order, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
|
|
784
742
|
}
|
|
785
743
|
|
|
786
744
|
/**
|
|
@@ -244,17 +244,15 @@ export const BankTransactionApiAxiosParamCreator = function (configuration?: Con
|
|
|
244
244
|
* 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\"
|
|
245
245
|
* @summary List bank transactions
|
|
246
246
|
* @param {string} [authorization] Bearer Token
|
|
247
|
-
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
248
|
-
* @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.
|
|
249
247
|
* @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>
|
|
248
|
+
* @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>
|
|
250
249
|
* @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>
|
|
251
250
|
* @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>
|
|
252
251
|
* @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>
|
|
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>
|
|
254
252
|
* @param {*} [options] Override http request option.
|
|
255
253
|
* @throws {RequiredError}
|
|
256
254
|
*/
|
|
257
|
-
listBankTransactions: async (authorization?: string,
|
|
255
|
+
listBankTransactions: async (authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
258
256
|
const localVarPath = `/paymentservice/v1/tenant/bank-transactions`;
|
|
259
257
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
260
258
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -273,18 +271,14 @@ export const BankTransactionApiAxiosParamCreator = function (configuration?: Con
|
|
|
273
271
|
// http bearer authentication required
|
|
274
272
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
275
273
|
|
|
276
|
-
if (pageSize !== undefined) {
|
|
277
|
-
localVarQueryParameter['pageSize'] = pageSize;
|
|
278
|
-
}
|
|
279
|
-
|
|
280
|
-
if (pageToken !== undefined) {
|
|
281
|
-
localVarQueryParameter['pageToken'] = pageToken;
|
|
282
|
-
}
|
|
283
|
-
|
|
284
274
|
if (filter !== undefined) {
|
|
285
275
|
localVarQueryParameter['filter'] = filter;
|
|
286
276
|
}
|
|
287
277
|
|
|
278
|
+
if (filters !== undefined) {
|
|
279
|
+
localVarQueryParameter['filters'] = filters;
|
|
280
|
+
}
|
|
281
|
+
|
|
288
282
|
if (search !== undefined) {
|
|
289
283
|
localVarQueryParameter['search'] = search;
|
|
290
284
|
}
|
|
@@ -297,10 +291,6 @@ export const BankTransactionApiAxiosParamCreator = function (configuration?: Con
|
|
|
297
291
|
localVarQueryParameter['expand'] = expand;
|
|
298
292
|
}
|
|
299
293
|
|
|
300
|
-
if (filters !== undefined) {
|
|
301
|
-
localVarQueryParameter['filters'] = filters;
|
|
302
|
-
}
|
|
303
|
-
|
|
304
294
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
305
295
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
306
296
|
}
|
|
@@ -431,18 +421,16 @@ export const BankTransactionApiFp = function(configuration?: Configuration) {
|
|
|
431
421
|
* 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\"
|
|
432
422
|
* @summary List bank transactions
|
|
433
423
|
* @param {string} [authorization] Bearer Token
|
|
434
|
-
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
435
|
-
* @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.
|
|
436
424
|
* @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>
|
|
425
|
+
* @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>
|
|
437
426
|
* @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>
|
|
438
427
|
* @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>
|
|
439
428
|
* @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>
|
|
440
|
-
* @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>
|
|
441
429
|
* @param {*} [options] Override http request option.
|
|
442
430
|
* @throws {RequiredError}
|
|
443
431
|
*/
|
|
444
|
-
async listBankTransactions(authorization?: string,
|
|
445
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listBankTransactions(authorization,
|
|
432
|
+
async listBankTransactions(authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListBankTransactionsResponseClass>> {
|
|
433
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listBankTransactions(authorization, filter, filters, search, order, expand, options);
|
|
446
434
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
447
435
|
},
|
|
448
436
|
/**
|
|
@@ -518,18 +506,16 @@ export const BankTransactionApiFactory = function (configuration?: Configuration
|
|
|
518
506
|
* 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\"
|
|
519
507
|
* @summary List bank transactions
|
|
520
508
|
* @param {string} [authorization] Bearer Token
|
|
521
|
-
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
522
|
-
* @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.
|
|
523
509
|
* @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>
|
|
510
|
+
* @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>
|
|
524
511
|
* @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>
|
|
525
512
|
* @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>
|
|
526
513
|
* @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>
|
|
527
|
-
* @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>
|
|
528
514
|
* @param {*} [options] Override http request option.
|
|
529
515
|
* @throws {RequiredError}
|
|
530
516
|
*/
|
|
531
|
-
listBankTransactions(authorization?: string,
|
|
532
|
-
return localVarFp.listBankTransactions(authorization,
|
|
517
|
+
listBankTransactions(authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListBankTransactionsResponseClass> {
|
|
518
|
+
return localVarFp.listBankTransactions(authorization, filter, filters, search, order, expand, options).then((request) => request(axios, basePath));
|
|
533
519
|
},
|
|
534
520
|
/**
|
|
535
521
|
* Unlinks an already linked bank transaction **Required Permissions** \"payment-management.bank-accounts.update\"
|
|
@@ -658,25 +644,18 @@ export interface BankTransactionApiListBankTransactionsRequest {
|
|
|
658
644
|
readonly authorization?: string
|
|
659
645
|
|
|
660
646
|
/**
|
|
661
|
-
*
|
|
662
|
-
* @type {number}
|
|
663
|
-
* @memberof BankTransactionApiListBankTransactions
|
|
664
|
-
*/
|
|
665
|
-
readonly pageSize?: number
|
|
666
|
-
|
|
667
|
-
/**
|
|
668
|
-
* 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.
|
|
647
|
+
* 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>
|
|
669
648
|
* @type {string}
|
|
670
649
|
* @memberof BankTransactionApiListBankTransactions
|
|
671
650
|
*/
|
|
672
|
-
readonly
|
|
651
|
+
readonly filter?: string
|
|
673
652
|
|
|
674
653
|
/**
|
|
675
|
-
*
|
|
654
|
+
* 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>
|
|
676
655
|
* @type {string}
|
|
677
656
|
* @memberof BankTransactionApiListBankTransactions
|
|
678
657
|
*/
|
|
679
|
-
readonly
|
|
658
|
+
readonly filters?: string
|
|
680
659
|
|
|
681
660
|
/**
|
|
682
661
|
* 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>
|
|
@@ -698,13 +677,6 @@ export interface BankTransactionApiListBankTransactionsRequest {
|
|
|
698
677
|
* @memberof BankTransactionApiListBankTransactions
|
|
699
678
|
*/
|
|
700
679
|
readonly expand?: string
|
|
701
|
-
|
|
702
|
-
/**
|
|
703
|
-
* 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>
|
|
704
|
-
* @type {string}
|
|
705
|
-
* @memberof BankTransactionApiListBankTransactions
|
|
706
|
-
*/
|
|
707
|
-
readonly filters?: string
|
|
708
680
|
}
|
|
709
681
|
|
|
710
682
|
/**
|
|
@@ -799,7 +771,7 @@ export class BankTransactionApi extends BaseAPI {
|
|
|
799
771
|
* @memberof BankTransactionApi
|
|
800
772
|
*/
|
|
801
773
|
public listBankTransactions(requestParameters: BankTransactionApiListBankTransactionsRequest = {}, options?: AxiosRequestConfig) {
|
|
802
|
-
return BankTransactionApiFp(this.configuration).listBankTransactions(requestParameters.authorization, requestParameters.
|
|
774
|
+
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));
|
|
803
775
|
}
|
|
804
776
|
|
|
805
777
|
/**
|
|
@@ -130,17 +130,14 @@ export const PaymentMethodsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
130
130
|
* 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\"
|
|
131
131
|
* @summary List payment methods
|
|
132
132
|
* @param {string} [authorization] Bearer Token
|
|
133
|
-
* @param {
|
|
134
|
-
* @param {string} [
|
|
135
|
-
* @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>
|
|
136
|
-
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
133
|
+
* @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>
|
|
134
|
+
* @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>
|
|
137
135
|
* @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>
|
|
138
136
|
* @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/>
|
|
139
|
-
* @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>
|
|
140
137
|
* @param {*} [options] Override http request option.
|
|
141
138
|
* @throws {RequiredError}
|
|
142
139
|
*/
|
|
143
|
-
listPaymentMethods: async (authorization?: string,
|
|
140
|
+
listPaymentMethods: async (authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
144
141
|
const localVarPath = `/paymentservice/v1/payment-methods`;
|
|
145
142
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
146
143
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -159,20 +156,12 @@ export const PaymentMethodsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
159
156
|
// http bearer authentication required
|
|
160
157
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
161
158
|
|
|
162
|
-
if (pageSize !== undefined) {
|
|
163
|
-
localVarQueryParameter['pageSize'] = pageSize;
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
if (pageToken !== undefined) {
|
|
167
|
-
localVarQueryParameter['pageToken'] = pageToken;
|
|
168
|
-
}
|
|
169
|
-
|
|
170
159
|
if (filter !== undefined) {
|
|
171
160
|
localVarQueryParameter['filter'] = filter;
|
|
172
161
|
}
|
|
173
162
|
|
|
174
|
-
if (
|
|
175
|
-
localVarQueryParameter['
|
|
163
|
+
if (filters !== undefined) {
|
|
164
|
+
localVarQueryParameter['filters'] = filters;
|
|
176
165
|
}
|
|
177
166
|
|
|
178
167
|
if (order !== undefined) {
|
|
@@ -183,10 +172,6 @@ export const PaymentMethodsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
183
172
|
localVarQueryParameter['expand'] = expand;
|
|
184
173
|
}
|
|
185
174
|
|
|
186
|
-
if (filters !== undefined) {
|
|
187
|
-
localVarQueryParameter['filters'] = filters;
|
|
188
|
-
}
|
|
189
|
-
|
|
190
175
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
191
176
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
192
177
|
}
|
|
@@ -240,18 +225,15 @@ export const PaymentMethodsApiFp = function(configuration?: Configuration) {
|
|
|
240
225
|
* 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\"
|
|
241
226
|
* @summary List payment methods
|
|
242
227
|
* @param {string} [authorization] Bearer Token
|
|
243
|
-
* @param {
|
|
244
|
-
* @param {string} [
|
|
245
|
-
* @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>
|
|
246
|
-
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
228
|
+
* @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>
|
|
229
|
+
* @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>
|
|
247
230
|
* @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>
|
|
248
231
|
* @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/>
|
|
249
|
-
* @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>
|
|
250
232
|
* @param {*} [options] Override http request option.
|
|
251
233
|
* @throws {RequiredError}
|
|
252
234
|
*/
|
|
253
|
-
async listPaymentMethods(authorization?: string,
|
|
254
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listPaymentMethods(authorization,
|
|
235
|
+
async listPaymentMethods(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPaymentMethodsResponseClass>> {
|
|
236
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listPaymentMethods(authorization, filter, filters, order, expand, options);
|
|
255
237
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
256
238
|
},
|
|
257
239
|
}
|
|
@@ -290,18 +272,15 @@ export const PaymentMethodsApiFactory = function (configuration?: Configuration,
|
|
|
290
272
|
* 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\"
|
|
291
273
|
* @summary List payment methods
|
|
292
274
|
* @param {string} [authorization] Bearer Token
|
|
293
|
-
* @param {
|
|
294
|
-
* @param {string} [
|
|
295
|
-
* @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>
|
|
296
|
-
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
275
|
+
* @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>
|
|
276
|
+
* @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>
|
|
297
277
|
* @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>
|
|
298
278
|
* @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/>
|
|
299
|
-
* @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>
|
|
300
279
|
* @param {*} [options] Override http request option.
|
|
301
280
|
* @throws {RequiredError}
|
|
302
281
|
*/
|
|
303
|
-
listPaymentMethods(authorization?: string,
|
|
304
|
-
return localVarFp.listPaymentMethods(authorization,
|
|
282
|
+
listPaymentMethods(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListPaymentMethodsResponseClass> {
|
|
283
|
+
return localVarFp.listPaymentMethods(authorization, filter, filters, order, expand, options).then((request) => request(axios, basePath));
|
|
305
284
|
},
|
|
306
285
|
};
|
|
307
286
|
};
|
|
@@ -362,32 +341,18 @@ export interface PaymentMethodsApiListPaymentMethodsRequest {
|
|
|
362
341
|
readonly authorization?: string
|
|
363
342
|
|
|
364
343
|
/**
|
|
365
|
-
*
|
|
366
|
-
* @type {number}
|
|
367
|
-
* @memberof PaymentMethodsApiListPaymentMethods
|
|
368
|
-
*/
|
|
369
|
-
readonly pageSize?: number
|
|
370
|
-
|
|
371
|
-
/**
|
|
372
|
-
* 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.
|
|
373
|
-
* @type {string}
|
|
374
|
-
* @memberof PaymentMethodsApiListPaymentMethods
|
|
375
|
-
*/
|
|
376
|
-
readonly pageToken?: string
|
|
377
|
-
|
|
378
|
-
/**
|
|
379
|
-
* 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>
|
|
344
|
+
* 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>
|
|
380
345
|
* @type {string}
|
|
381
346
|
* @memberof PaymentMethodsApiListPaymentMethods
|
|
382
347
|
*/
|
|
383
348
|
readonly filter?: string
|
|
384
349
|
|
|
385
350
|
/**
|
|
386
|
-
*
|
|
351
|
+
* 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>
|
|
387
352
|
* @type {string}
|
|
388
353
|
* @memberof PaymentMethodsApiListPaymentMethods
|
|
389
354
|
*/
|
|
390
|
-
readonly
|
|
355
|
+
readonly filters?: string
|
|
391
356
|
|
|
392
357
|
/**
|
|
393
358
|
* 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>
|
|
@@ -402,13 +367,6 @@ export interface PaymentMethodsApiListPaymentMethodsRequest {
|
|
|
402
367
|
* @memberof PaymentMethodsApiListPaymentMethods
|
|
403
368
|
*/
|
|
404
369
|
readonly expand?: string
|
|
405
|
-
|
|
406
|
-
/**
|
|
407
|
-
* 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>
|
|
408
|
-
* @type {string}
|
|
409
|
-
* @memberof PaymentMethodsApiListPaymentMethods
|
|
410
|
-
*/
|
|
411
|
-
readonly filters?: string
|
|
412
370
|
}
|
|
413
371
|
|
|
414
372
|
/**
|
|
@@ -451,6 +409,6 @@ export class PaymentMethodsApi extends BaseAPI {
|
|
|
451
409
|
* @memberof PaymentMethodsApi
|
|
452
410
|
*/
|
|
453
411
|
public listPaymentMethods(requestParameters: PaymentMethodsApiListPaymentMethodsRequest = {}, options?: AxiosRequestConfig) {
|
|
454
|
-
return PaymentMethodsApiFp(this.configuration).listPaymentMethods(requestParameters.authorization, requestParameters.
|
|
412
|
+
return PaymentMethodsApiFp(this.configuration).listPaymentMethods(requestParameters.authorization, requestParameters.filter, requestParameters.filters, requestParameters.order, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
|
|
455
413
|
}
|
|
456
414
|
}
|