@emilgroup/payment-sdk-node 1.21.1-beta.9 → 1.21.1-beta.91
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 +25 -1
- package/README.md +2 -2
- package/api/bank-accounts-api.ts +55 -13
- package/api/bank-orders-api.ts +695 -0
- package/api/bank-transaction-api.ts +63 -52
- package/api/exceeding-credits-api.ts +353 -0
- package/api/payment-methods-api.ts +59 -17
- package/api/payment-reminders-api.ts +55 -13
- package/api/payments-api.ts +188 -21
- package/api/policy-payment-methods-api.ts +169 -0
- package/api/refunds-api.ts +45 -17
- package/api/tenant-bank-account-api.ts +45 -17
- package/api.ts +6 -0
- package/base.ts +45 -3
- package/dist/api/bank-accounts-api.d.ts +35 -8
- package/dist/api/bank-accounts-api.js +29 -11
- package/dist/api/bank-orders-api.d.ts +393 -0
- package/dist/api/bank-orders-api.js +646 -0
- package/dist/api/bank-transaction-api.d.ts +43 -35
- package/dist/api/bank-transaction-api.js +39 -34
- package/dist/api/exceeding-credits-api.d.ts +206 -0
- package/dist/api/exceeding-credits-api.js +356 -0
- package/dist/api/payment-methods-api.d.ts +39 -12
- package/dist/api/payment-methods-api.js +32 -14
- package/dist/api/payment-reminders-api.d.ts +35 -8
- package/dist/api/payment-reminders-api.js +29 -11
- package/dist/api/payments-api.d.ts +112 -16
- package/dist/api/payments-api.js +141 -18
- package/dist/api/policy-payment-methods-api.d.ts +97 -0
- package/dist/api/policy-payment-methods-api.js +228 -0
- package/dist/api/refunds-api.d.ts +28 -10
- package/dist/api/refunds-api.js +24 -12
- package/dist/api/tenant-bank-account-api.d.ts +28 -10
- package/dist/api/tenant-bank-account-api.js +24 -12
- package/dist/api.d.ts +3 -0
- package/dist/api.js +3 -0
- package/dist/base.d.ts +11 -2
- package/dist/base.js +42 -3
- package/dist/models/bank-order-class.d.ts +115 -0
- package/dist/models/bank-transaction-class-without-expand-properties.d.ts +18 -18
- package/dist/models/bank-transaction-class-without-expand-properties.js +5 -0
- package/dist/models/bank-transaction-class.d.ts +22 -22
- package/dist/models/bank-transaction-class.js +5 -0
- package/dist/models/bank-transaction-invoice-class.d.ts +60 -0
- package/dist/models/bank-transaction-invoice-class.js +15 -0
- package/dist/models/bank-transfer-dto.d.ts +25 -0
- package/dist/models/bank-transfer-dto.js +15 -0
- package/dist/models/billing-address-dto.d.ts +54 -0
- package/dist/models/billing-address-dto.js +15 -0
- package/dist/models/complete-adyen-payment-setup-request-dto.d.ts +2 -0
- package/dist/models/complete-adyen-payment-setup-request-dto.js +3 -1
- package/dist/models/complete-eis-payment-setup-request-dto.d.ts +36 -0
- package/dist/models/complete-eis-payment-setup-request-dto.js +15 -0
- package/dist/models/complete-payment-setup-request-dto.d.ts +7 -0
- package/dist/models/complete-stripe-payment-setup-request-dto.d.ts +2 -0
- package/dist/models/complete-stripe-payment-setup-request-dto.js +3 -1
- package/dist/models/create-bank-order-request-dto.d.ts +74 -0
- package/dist/models/create-bank-order-request-dto.js +28 -0
- package/dist/models/create-bank-order-response-class.d.ts +25 -0
- package/dist/models/create-bank-order-response-class.js +15 -0
- package/dist/models/create-payment-order-dto.d.ts +48 -0
- package/dist/models/create-payment-order-dto.js +15 -0
- package/dist/models/create-payment-order-request-dto.d.ts +48 -0
- package/dist/models/create-payment-order-request-dto.js +15 -0
- package/dist/models/create-payment-reminder-request-dto.d.ts +7 -1
- package/dist/models/create-payment-request-dto.d.ts +7 -1
- package/dist/models/create-policy-payment-method-request-dto.d.ts +30 -0
- package/dist/models/create-policy-payment-method-request-dto.js +15 -0
- package/dist/models/create-policy-payment-method-response-class.d.ts +25 -0
- package/dist/models/create-policy-payment-method-response-class.js +15 -0
- package/dist/models/create-psp-payment-method-request-dto.d.ts +22 -1
- package/dist/models/create-psp-payment-method-request-dto.js +3 -1
- package/dist/models/deactivated-payment-reminder-class.d.ts +7 -1
- package/dist/models/exceeding-credit-class.d.ts +116 -0
- package/dist/models/exceeding-credit-class.js +29 -0
- package/dist/models/financial-account-class.d.ts +111 -0
- package/dist/models/financial-account-class.js +24 -0
- package/dist/models/get-bank-order-response-class.d.ts +25 -0
- package/dist/models/get-bank-order-response-class.js +15 -0
- package/dist/models/get-exceeding-credit-response-class.d.ts +25 -0
- package/dist/models/get-exceeding-credit-response-class.js +15 -0
- package/dist/models/index.d.ts +22 -1
- package/dist/models/index.js +22 -1
- package/dist/models/initiate-adyen-payment-setup-request-dto.d.ts +6 -0
- package/dist/models/initiate-braintree-payment-setup-request-dto.d.ts +6 -0
- package/dist/models/initiate-eis-payment-setup-request-dto.d.ts +36 -0
- package/dist/models/initiate-eis-payment-setup-request-dto.js +15 -0
- package/dist/models/initiate-payment-setup-request-dto.d.ts +3 -2
- package/dist/models/initiate-stripe-payment-setup-request-dto.d.ts +6 -0
- package/dist/models/{unlink-bank-transaction-request-dto-rest.d.ts → invoice-allocation-dto.d.ts} +10 -4
- package/dist/models/invoice-allocation-dto.js +15 -0
- package/dist/models/link-bank-transaction-request-dto-rest.d.ts +4 -3
- package/dist/models/list-bank-orders-response-class.d.ts +31 -0
- package/dist/models/list-bank-orders-response-class.js +15 -0
- package/dist/models/list-exceeding-credits-response-class.d.ts +31 -0
- package/dist/models/list-exceeding-credits-response-class.js +15 -0
- package/dist/models/payment-class-without-expand-properties.d.ts +7 -1
- package/dist/models/payment-class.d.ts +7 -1
- package/dist/models/payment-method-class.d.ts +6 -0
- package/dist/models/payment-reminder-class.d.ts +7 -1
- package/dist/models/policy-payment-method-class.d.ts +73 -0
- package/dist/models/policy-payment-method-class.js +15 -0
- package/dist/models/refund-class.d.ts +7 -1
- package/dist/models/unlinked-bank-transaction-response-class.d.ts +18 -0
- package/dist/models/unlinked-bank-transaction-response-class.js +5 -0
- package/dist/models/update-bank-order-request-dto.d.ts +62 -0
- package/dist/models/update-bank-order-request-dto.js +23 -0
- package/dist/models/update-bank-order-response-class.d.ts +25 -0
- package/dist/models/update-bank-order-response-class.js +15 -0
- package/models/bank-order-class.ts +121 -0
- package/models/bank-transaction-class-without-expand-properties.ts +21 -18
- package/models/bank-transaction-class.ts +25 -22
- package/models/bank-transaction-invoice-class.ts +66 -0
- package/models/bank-transfer-dto.ts +31 -0
- package/models/billing-address-dto.ts +60 -0
- package/models/complete-adyen-payment-setup-request-dto.ts +3 -1
- package/models/complete-eis-payment-setup-request-dto.ts +42 -0
- package/models/complete-payment-setup-request-dto.ts +7 -0
- package/models/complete-stripe-payment-setup-request-dto.ts +3 -1
- package/models/create-bank-order-request-dto.ts +84 -0
- package/models/create-bank-order-response-class.ts +31 -0
- package/models/create-payment-order-dto.ts +54 -0
- package/models/create-payment-order-request-dto.ts +54 -0
- package/models/create-payment-reminder-request-dto.ts +7 -1
- package/models/create-payment-request-dto.ts +7 -1
- package/models/create-policy-payment-method-request-dto.ts +36 -0
- package/models/create-policy-payment-method-response-class.ts +31 -0
- package/models/create-psp-payment-method-request-dto.ts +23 -2
- package/models/deactivated-payment-reminder-class.ts +7 -1
- package/models/exceeding-credit-class.ts +125 -0
- package/models/financial-account-class.ts +120 -0
- package/models/get-bank-order-response-class.ts +31 -0
- package/models/get-exceeding-credit-response-class.ts +31 -0
- package/models/index.ts +22 -1
- package/models/initiate-adyen-payment-setup-request-dto.ts +6 -0
- package/models/initiate-braintree-payment-setup-request-dto.ts +6 -0
- package/models/initiate-eis-payment-setup-request-dto.ts +42 -0
- package/models/initiate-payment-setup-request-dto.ts +3 -2
- package/models/initiate-stripe-payment-setup-request-dto.ts +6 -0
- package/models/{unlink-bank-transaction-request-dto-rest.ts → invoice-allocation-dto.ts} +10 -4
- package/models/link-bank-transaction-request-dto-rest.ts +4 -3
- package/models/list-bank-orders-response-class.ts +37 -0
- package/models/list-exceeding-credits-response-class.ts +37 -0
- package/models/payment-class-without-expand-properties.ts +7 -1
- package/models/payment-class.ts +7 -1
- package/models/payment-method-class.ts +6 -0
- package/models/payment-reminder-class.ts +7 -1
- package/models/policy-payment-method-class.ts +79 -0
- package/models/refund-class.ts +7 -1
- package/models/unlinked-bank-transaction-response-class.ts +21 -0
- package/models/update-bank-order-request-dto.ts +71 -0
- package/models/update-bank-order-response-class.ts +31 -0
- package/package.json +1 -1
- /package/dist/models/{unlink-bank-transaction-request-dto-rest.js → bank-order-class.js} +0 -0
package/.openapi-generator/FILES
CHANGED
|
@@ -4,12 +4,15 @@
|
|
|
4
4
|
README.md
|
|
5
5
|
api.ts
|
|
6
6
|
api/bank-accounts-api.ts
|
|
7
|
+
api/bank-orders-api.ts
|
|
7
8
|
api/bank-transaction-api.ts
|
|
9
|
+
api/exceeding-credits-api.ts
|
|
8
10
|
api/health-check-api.ts
|
|
9
11
|
api/payment-methods-api.ts
|
|
10
12
|
api/payment-reminders-api.ts
|
|
11
13
|
api/payment-setup-api.ts
|
|
12
14
|
api/payments-api.ts
|
|
15
|
+
api/policy-payment-methods-api.ts
|
|
13
16
|
api/refunds-api.ts
|
|
14
17
|
api/tenant-bank-account-api.ts
|
|
15
18
|
api/webhooks-api.ts
|
|
@@ -20,23 +23,34 @@ git_push.sh
|
|
|
20
23
|
index.ts
|
|
21
24
|
models/bank-account-class-without-expand-properties.ts
|
|
22
25
|
models/bank-account-class.ts
|
|
26
|
+
models/bank-order-class.ts
|
|
23
27
|
models/bank-transaction-class-without-expand-properties.ts
|
|
24
28
|
models/bank-transaction-class.ts
|
|
29
|
+
models/bank-transaction-invoice-class.ts
|
|
30
|
+
models/bank-transfer-dto.ts
|
|
31
|
+
models/billing-address-dto.ts
|
|
25
32
|
models/billing-profile-dto.ts
|
|
26
33
|
models/billing-profile-limited-response-dto.ts
|
|
27
34
|
models/card-details-dto.ts
|
|
28
35
|
models/complete-adyen-payment-setup-request-dto.ts
|
|
29
36
|
models/complete-braintree-payment-setup-request-dto.ts
|
|
37
|
+
models/complete-eis-payment-setup-request-dto.ts
|
|
30
38
|
models/complete-payment-setup-request-dto.ts
|
|
31
39
|
models/complete-payment-setup-response-class.ts
|
|
32
40
|
models/complete-stripe-payment-setup-request-dto.ts
|
|
33
41
|
models/create-bank-account-request-dto.ts
|
|
34
42
|
models/create-bank-account-response-class.ts
|
|
43
|
+
models/create-bank-order-request-dto.ts
|
|
44
|
+
models/create-bank-order-response-class.ts
|
|
35
45
|
models/create-payment-method-response-class.ts
|
|
46
|
+
models/create-payment-order-dto.ts
|
|
47
|
+
models/create-payment-order-request-dto.ts
|
|
36
48
|
models/create-payment-reminder-request-dto.ts
|
|
37
49
|
models/create-payment-reminder-response-class.ts
|
|
38
50
|
models/create-payment-request-dto.ts
|
|
39
51
|
models/create-payment-response-class.ts
|
|
52
|
+
models/create-policy-payment-method-request-dto.ts
|
|
53
|
+
models/create-policy-payment-method-response-class.ts
|
|
40
54
|
models/create-psp-payment-method-request-dto.ts
|
|
41
55
|
models/create-refund-request-dto.ts
|
|
42
56
|
models/create-refund-response-class.ts
|
|
@@ -45,9 +59,13 @@ models/create-tenant-bank-account-response-class.ts
|
|
|
45
59
|
models/deactivate-payment-reminder-request-dto.ts
|
|
46
60
|
models/deactivate-payment-reminder-response-class.ts
|
|
47
61
|
models/deactivated-payment-reminder-class.ts
|
|
62
|
+
models/exceeding-credit-class.ts
|
|
63
|
+
models/financial-account-class.ts
|
|
48
64
|
models/generate-invoice-match-suggestions-response-class.ts
|
|
49
65
|
models/get-bank-account-response-class.ts
|
|
66
|
+
models/get-bank-order-response-class.ts
|
|
50
67
|
models/get-bank-transactions-response-class.ts
|
|
68
|
+
models/get-exceeding-credit-response-class.ts
|
|
51
69
|
models/get-payment-method-response-class.ts
|
|
52
70
|
models/get-payment-reminder-response-class.ts
|
|
53
71
|
models/get-payment-response-class.ts
|
|
@@ -59,17 +77,21 @@ models/initiate-adyen-payment-setup-request-dto.ts
|
|
|
59
77
|
models/initiate-adyen-payment-setup-response-class.ts
|
|
60
78
|
models/initiate-braintree-payment-setup-request-dto.ts
|
|
61
79
|
models/initiate-braintree-payment-setup-response-class.ts
|
|
80
|
+
models/initiate-eis-payment-setup-request-dto.ts
|
|
62
81
|
models/initiate-payment-setup-request-dto.ts
|
|
63
82
|
models/initiate-payment-setup-response-class.ts
|
|
64
83
|
models/initiate-stripe-payment-setup-request-dto.ts
|
|
65
84
|
models/initiate-stripe-payment-setup-response-class.ts
|
|
66
85
|
models/inline-response200.ts
|
|
67
86
|
models/inline-response503.ts
|
|
87
|
+
models/invoice-allocation-dto.ts
|
|
68
88
|
models/invoice-match-suggestion-class.ts
|
|
69
89
|
models/link-bank-transaction-request-dto-rest.ts
|
|
70
90
|
models/link-bank-transactions-response-class.ts
|
|
71
91
|
models/list-bank-accounts-response-class.ts
|
|
92
|
+
models/list-bank-orders-response-class.ts
|
|
72
93
|
models/list-bank-transactions-response-class.ts
|
|
94
|
+
models/list-exceeding-credits-response-class.ts
|
|
73
95
|
models/list-payment-methods-response-class.ts
|
|
74
96
|
models/list-payment-reminders-response-class.ts
|
|
75
97
|
models/list-payments-response-class.ts
|
|
@@ -79,6 +101,7 @@ models/payment-class-without-expand-properties.ts
|
|
|
79
101
|
models/payment-class.ts
|
|
80
102
|
models/payment-method-class.ts
|
|
81
103
|
models/payment-reminder-class.ts
|
|
104
|
+
models/policy-payment-method-class.ts
|
|
82
105
|
models/primary-bank-account-response-class.ts
|
|
83
106
|
models/refund-class.ts
|
|
84
107
|
models/refund-item-class.ts
|
|
@@ -89,12 +112,13 @@ models/suggestion-generation-progress-class.ts
|
|
|
89
112
|
models/symphony-profile-limited-response-dto.ts
|
|
90
113
|
models/tenant-bank-account-class-without-expand-properties.ts
|
|
91
114
|
models/tenant-bank-account-class.ts
|
|
92
|
-
models/unlink-bank-transaction-request-dto-rest.ts
|
|
93
115
|
models/unlink-bank-transactions-response-class.ts
|
|
94
116
|
models/unlinked-bank-transaction-response-class.ts
|
|
95
117
|
models/update-bank-account-request-dto-rest.ts
|
|
96
118
|
models/update-bank-account-request-dto.ts
|
|
97
119
|
models/update-bank-account-response-class.ts
|
|
120
|
+
models/update-bank-order-request-dto.ts
|
|
121
|
+
models/update-bank-order-response-class.ts
|
|
98
122
|
models/update-tenant-bank-account-response-class.ts
|
|
99
123
|
models/update-tenant-bank-account-rest-request-dto.ts
|
|
100
124
|
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.91 --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.91
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `PaymentsApi`.
|
package/api/bank-accounts-api.ts
CHANGED
|
@@ -190,14 +190,17 @@ 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.
|
|
193
195
|
* @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>
|
|
194
|
-
* @param {string} [
|
|
196
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
195
197
|
* @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>
|
|
196
198
|
* @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>
|
|
197
200
|
* @param {*} [options] Override http request option.
|
|
198
201
|
* @throws {RequiredError}
|
|
199
202
|
*/
|
|
200
|
-
listBankAccounts: async (authorization?: string, filter?: string,
|
|
203
|
+
listBankAccounts: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
201
204
|
const localVarPath = `/paymentservice/v1/bank-accounts`;
|
|
202
205
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
203
206
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -216,12 +219,20 @@ export const BankAccountsApiAxiosParamCreator = function (configuration?: Config
|
|
|
216
219
|
// http bearer authentication required
|
|
217
220
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
218
221
|
|
|
222
|
+
if (pageSize !== undefined) {
|
|
223
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
if (pageToken !== undefined) {
|
|
227
|
+
localVarQueryParameter['pageToken'] = pageToken;
|
|
228
|
+
}
|
|
229
|
+
|
|
219
230
|
if (filter !== undefined) {
|
|
220
231
|
localVarQueryParameter['filter'] = filter;
|
|
221
232
|
}
|
|
222
233
|
|
|
223
|
-
if (
|
|
224
|
-
localVarQueryParameter['
|
|
234
|
+
if (search !== undefined) {
|
|
235
|
+
localVarQueryParameter['search'] = search;
|
|
225
236
|
}
|
|
226
237
|
|
|
227
238
|
if (order !== undefined) {
|
|
@@ -232,6 +243,10 @@ export const BankAccountsApiAxiosParamCreator = function (configuration?: Config
|
|
|
232
243
|
localVarQueryParameter['expand'] = expand;
|
|
233
244
|
}
|
|
234
245
|
|
|
246
|
+
if (filters !== undefined) {
|
|
247
|
+
localVarQueryParameter['filters'] = filters;
|
|
248
|
+
}
|
|
249
|
+
|
|
235
250
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
236
251
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
237
252
|
}
|
|
@@ -400,15 +415,18 @@ export const BankAccountsApiFp = function(configuration?: Configuration) {
|
|
|
400
415
|
* 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\"
|
|
401
416
|
* @summary List bank accounts
|
|
402
417
|
* @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.
|
|
403
420
|
* @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>
|
|
404
|
-
* @param {string} [
|
|
421
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
405
422
|
* @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>
|
|
406
423
|
* @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>
|
|
407
425
|
* @param {*} [options] Override http request option.
|
|
408
426
|
* @throws {RequiredError}
|
|
409
427
|
*/
|
|
410
|
-
async listBankAccounts(authorization?: string, filter?: string,
|
|
411
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listBankAccounts(authorization, filter,
|
|
428
|
+
async listBankAccounts(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListBankAccountsResponseClass>> {
|
|
429
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listBankAccounts(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
412
430
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
413
431
|
},
|
|
414
432
|
/**
|
|
@@ -485,15 +503,18 @@ export const BankAccountsApiFactory = function (configuration?: Configuration, b
|
|
|
485
503
|
* 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\"
|
|
486
504
|
* @summary List bank accounts
|
|
487
505
|
* @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.
|
|
488
508
|
* @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>
|
|
489
|
-
* @param {string} [
|
|
509
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
490
510
|
* @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>
|
|
491
511
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: 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>
|
|
492
513
|
* @param {*} [options] Override http request option.
|
|
493
514
|
* @throws {RequiredError}
|
|
494
515
|
*/
|
|
495
|
-
listBankAccounts(authorization?: string, filter?: string,
|
|
496
|
-
return localVarFp.listBankAccounts(authorization, filter,
|
|
516
|
+
listBankAccounts(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListBankAccountsResponseClass> {
|
|
517
|
+
return localVarFp.listBankAccounts(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
497
518
|
},
|
|
498
519
|
/**
|
|
499
520
|
* Set the primary bank account for the specified partner/account **Required Permissions** \"payment-management.bank-accounts.update\"
|
|
@@ -605,6 +626,20 @@ export interface BankAccountsApiListBankAccountsRequest {
|
|
|
605
626
|
*/
|
|
606
627
|
readonly authorization?: string
|
|
607
628
|
|
|
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
|
+
|
|
608
643
|
/**
|
|
609
644
|
* 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>
|
|
610
645
|
* @type {string}
|
|
@@ -613,11 +648,11 @@ export interface BankAccountsApiListBankAccountsRequest {
|
|
|
613
648
|
readonly filter?: string
|
|
614
649
|
|
|
615
650
|
/**
|
|
616
|
-
*
|
|
651
|
+
* To search the list by any field, pass search=xxx to fetch the result.
|
|
617
652
|
* @type {string}
|
|
618
653
|
* @memberof BankAccountsApiListBankAccounts
|
|
619
654
|
*/
|
|
620
|
-
readonly
|
|
655
|
+
readonly search?: string
|
|
621
656
|
|
|
622
657
|
/**
|
|
623
658
|
* 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>
|
|
@@ -632,6 +667,13 @@ export interface BankAccountsApiListBankAccountsRequest {
|
|
|
632
667
|
* @memberof BankAccountsApiListBankAccounts
|
|
633
668
|
*/
|
|
634
669
|
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
|
|
635
677
|
}
|
|
636
678
|
|
|
637
679
|
/**
|
|
@@ -742,7 +784,7 @@ export class BankAccountsApi extends BaseAPI {
|
|
|
742
784
|
* @memberof BankAccountsApi
|
|
743
785
|
*/
|
|
744
786
|
public listBankAccounts(requestParameters: BankAccountsApiListBankAccountsRequest = {}, options?: AxiosRequestConfig) {
|
|
745
|
-
return BankAccountsApiFp(this.configuration).listBankAccounts(requestParameters.authorization, requestParameters.filter, requestParameters.
|
|
787
|
+
return BankAccountsApiFp(this.configuration).listBankAccounts(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
|
|
746
788
|
}
|
|
747
789
|
|
|
748
790
|
/**
|