@emilgroup/payment-sdk 1.13.1-beta.5 → 1.13.1-beta.50
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 +11 -0
- package/README.md +2 -2
- package/api/bank-accounts-api.ts +55 -13
- package/api/bank-orders-api.ts +691 -0
- package/api/bank-transaction-api.ts +72 -44
- package/api/payment-methods-api.ts +59 -17
- package/api/payment-reminders-api.ts +55 -13
- package/api/payments-api.ts +59 -17
- package/api/refunds-api.ts +45 -17
- package/api/tenant-bank-account-api.ts +45 -17
- package/api.ts +2 -0
- package/base.ts +52 -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 +642 -0
- package/dist/api/bank-transaction-api.d.ts +55 -37
- package/dist/api/bank-transaction-api.js +47 -35
- 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 +39 -12
- package/dist/api/payments-api.js +32 -14
- 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 +1 -0
- package/dist/api.js +1 -0
- package/dist/base.d.ts +10 -1
- package/dist/base.js +46 -2
- package/dist/models/bank-order-class.d.ts +115 -0
- package/dist/models/bank-order-class.js +15 -0
- package/dist/models/bank-transaction-class-without-expand-properties.d.ts +18 -14
- package/dist/models/bank-transaction-class-without-expand-properties.js +5 -0
- package/dist/models/bank-transaction-class.d.ts +18 -0
- package/dist/models/bank-transaction-class.js +5 -0
- package/dist/models/complete-adyen-payment-setup-request-dto.d.ts +1 -0
- package/dist/models/complete-adyen-payment-setup-request-dto.js +2 -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 +1 -0
- package/dist/models/complete-stripe-payment-setup-request-dto.js +2 -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-reminder-request-dto.d.ts +7 -1
- package/dist/models/create-payment-request-dto.d.ts +7 -1
- package/dist/models/create-psp-payment-method-request-dto.d.ts +14 -1
- package/dist/models/create-psp-payment-method-request-dto.js +2 -1
- package/dist/models/deactivated-payment-reminder-class.d.ts +7 -1
- 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/index.d.ts +10 -0
- package/dist/models/index.js +10 -0
- 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/list-bank-orders-response-class.d.ts +31 -0
- package/dist/models/list-bank-orders-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/refund-class.d.ts +7 -1
- package/dist/models/unlinked-bank-transaction-response-class.d.ts +18 -14
- package/dist/models/unlinked-bank-transaction-response-class.js +5 -0
- package/dist/models/update-bank-order-request-dto.d.ts +56 -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 -14
- package/models/bank-transaction-class.ts +21 -0
- package/models/complete-adyen-payment-setup-request-dto.ts +2 -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 +2 -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-reminder-request-dto.ts +7 -1
- package/models/create-payment-request-dto.ts +7 -1
- package/models/create-psp-payment-method-request-dto.ts +15 -2
- package/models/deactivated-payment-reminder-class.ts +7 -1
- package/models/financial-account-class.ts +120 -0
- package/models/get-bank-order-response-class.ts +31 -0
- package/models/index.ts +10 -0
- 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/list-bank-orders-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/refund-class.ts +7 -1
- package/models/unlinked-bank-transaction-response-class.ts +21 -14
- package/models/update-bank-order-request-dto.ts +65 -0
- package/models/update-bank-order-response-class.ts +31 -0
- package/package.json +1 -1
- package/tsconfig.json +1 -0
|
@@ -184,15 +184,17 @@ export const TenantBankAccountApiAxiosParamCreator = function (configuration?: C
|
|
|
184
184
|
* Returns a list of tenant bank accounts you have previously created. The tenant bank accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
185
185
|
* @summary List tenant bank accounts
|
|
186
186
|
* @param {string} [authorization] Bearer Token
|
|
187
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
188
|
+
* @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.
|
|
187
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: id, code, iban, bankName, accountName</i>
|
|
188
|
-
* @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, iban, bankName, accountName</i>
|
|
189
190
|
* @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, iban, bankName, accountName</i>
|
|
190
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>
|
|
191
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: bankTransactions<i>
|
|
193
|
+
* @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, iban, bankName, accountName</i>
|
|
192
194
|
* @param {*} [options] Override http request option.
|
|
193
195
|
* @throws {RequiredError}
|
|
194
196
|
*/
|
|
195
|
-
listTenantBankAccounts: async (authorization?: string,
|
|
197
|
+
listTenantBankAccounts: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
196
198
|
const localVarPath = `/paymentservice/v1/tenant/bank-accounts`;
|
|
197
199
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
198
200
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -211,12 +213,16 @@ export const TenantBankAccountApiAxiosParamCreator = function (configuration?: C
|
|
|
211
213
|
// http bearer authentication required
|
|
212
214
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
213
215
|
|
|
214
|
-
if (
|
|
215
|
-
localVarQueryParameter['
|
|
216
|
+
if (pageSize !== undefined) {
|
|
217
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
216
218
|
}
|
|
217
219
|
|
|
218
|
-
if (
|
|
219
|
-
localVarQueryParameter['
|
|
220
|
+
if (pageToken !== undefined) {
|
|
221
|
+
localVarQueryParameter['pageToken'] = pageToken;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
if (filter !== undefined) {
|
|
225
|
+
localVarQueryParameter['filter'] = filter;
|
|
220
226
|
}
|
|
221
227
|
|
|
222
228
|
if (search !== undefined) {
|
|
@@ -231,6 +237,10 @@ export const TenantBankAccountApiAxiosParamCreator = function (configuration?: C
|
|
|
231
237
|
localVarQueryParameter['expand'] = expand;
|
|
232
238
|
}
|
|
233
239
|
|
|
240
|
+
if (filters !== undefined) {
|
|
241
|
+
localVarQueryParameter['filters'] = filters;
|
|
242
|
+
}
|
|
243
|
+
|
|
234
244
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
235
245
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
236
246
|
}
|
|
@@ -348,16 +358,18 @@ export const TenantBankAccountApiFp = function(configuration?: Configuration) {
|
|
|
348
358
|
* Returns a list of tenant bank accounts you have previously created. The tenant bank accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
349
359
|
* @summary List tenant bank accounts
|
|
350
360
|
* @param {string} [authorization] Bearer Token
|
|
361
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
362
|
+
* @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.
|
|
351
363
|
* @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, iban, bankName, accountName</i>
|
|
352
|
-
* @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, iban, bankName, accountName</i>
|
|
353
364
|
* @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, iban, bankName, accountName</i>
|
|
354
365
|
* @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>
|
|
355
366
|
* @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: bankTransactions<i>
|
|
367
|
+
* @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, iban, bankName, accountName</i>
|
|
356
368
|
* @param {*} [options] Override http request option.
|
|
357
369
|
* @throws {RequiredError}
|
|
358
370
|
*/
|
|
359
|
-
async listTenantBankAccounts(authorization?: string,
|
|
360
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listTenantBankAccounts(authorization,
|
|
371
|
+
async listTenantBankAccounts(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListTenantBankAccountResponseClass>> {
|
|
372
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listTenantBankAccounts(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
361
373
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
362
374
|
},
|
|
363
375
|
/**
|
|
@@ -421,16 +433,18 @@ export const TenantBankAccountApiFactory = function (configuration?: Configurati
|
|
|
421
433
|
* Returns a list of tenant bank accounts you have previously created. The tenant bank accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
422
434
|
* @summary List tenant bank accounts
|
|
423
435
|
* @param {string} [authorization] Bearer Token
|
|
436
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
437
|
+
* @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.
|
|
424
438
|
* @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, iban, bankName, accountName</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, iban, bankName, accountName</i>
|
|
426
439
|
* @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, iban, bankName, accountName</i>
|
|
427
440
|
* @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>
|
|
428
441
|
* @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: bankTransactions<i>
|
|
442
|
+
* @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, iban, bankName, accountName</i>
|
|
429
443
|
* @param {*} [options] Override http request option.
|
|
430
444
|
* @throws {RequiredError}
|
|
431
445
|
*/
|
|
432
|
-
listTenantBankAccounts(authorization?: string,
|
|
433
|
-
return localVarFp.listTenantBankAccounts(authorization,
|
|
446
|
+
listTenantBankAccounts(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListTenantBankAccountResponseClass> {
|
|
447
|
+
return localVarFp.listTenantBankAccounts(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
434
448
|
},
|
|
435
449
|
/**
|
|
436
450
|
* Update a tenant bank account by code
|
|
@@ -531,18 +545,25 @@ export interface TenantBankAccountApiListTenantBankAccountsRequest {
|
|
|
531
545
|
readonly authorization?: string
|
|
532
546
|
|
|
533
547
|
/**
|
|
534
|
-
*
|
|
548
|
+
* A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
549
|
+
* @type {number}
|
|
550
|
+
* @memberof TenantBankAccountApiListTenantBankAccounts
|
|
551
|
+
*/
|
|
552
|
+
readonly pageSize?: number
|
|
553
|
+
|
|
554
|
+
/**
|
|
555
|
+
* 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.
|
|
535
556
|
* @type {string}
|
|
536
557
|
* @memberof TenantBankAccountApiListTenantBankAccounts
|
|
537
558
|
*/
|
|
538
|
-
readonly
|
|
559
|
+
readonly pageToken?: string
|
|
539
560
|
|
|
540
561
|
/**
|
|
541
|
-
*
|
|
562
|
+
* 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, iban, bankName, accountName</i>
|
|
542
563
|
* @type {string}
|
|
543
564
|
* @memberof TenantBankAccountApiListTenantBankAccounts
|
|
544
565
|
*/
|
|
545
|
-
readonly
|
|
566
|
+
readonly filter?: string
|
|
546
567
|
|
|
547
568
|
/**
|
|
548
569
|
* Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: id, iban, bankName, accountName</i>
|
|
@@ -564,6 +585,13 @@ export interface TenantBankAccountApiListTenantBankAccountsRequest {
|
|
|
564
585
|
* @memberof TenantBankAccountApiListTenantBankAccounts
|
|
565
586
|
*/
|
|
566
587
|
readonly expand?: string
|
|
588
|
+
|
|
589
|
+
/**
|
|
590
|
+
* 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, iban, bankName, accountName</i>
|
|
591
|
+
* @type {string}
|
|
592
|
+
* @memberof TenantBankAccountApiListTenantBankAccounts
|
|
593
|
+
*/
|
|
594
|
+
readonly filters?: string
|
|
567
595
|
}
|
|
568
596
|
|
|
569
597
|
/**
|
|
@@ -646,7 +674,7 @@ export class TenantBankAccountApi extends BaseAPI {
|
|
|
646
674
|
* @memberof TenantBankAccountApi
|
|
647
675
|
*/
|
|
648
676
|
public listTenantBankAccounts(requestParameters: TenantBankAccountApiListTenantBankAccountsRequest = {}, options?: AxiosRequestConfig) {
|
|
649
|
-
return TenantBankAccountApiFp(this.configuration).listTenantBankAccounts(requestParameters.authorization, requestParameters.
|
|
677
|
+
return TenantBankAccountApiFp(this.configuration).listTenantBankAccounts(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
|
|
650
678
|
}
|
|
651
679
|
|
|
652
680
|
/**
|
package/api.ts
CHANGED
|
@@ -21,6 +21,7 @@ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObj
|
|
|
21
21
|
// @ts-ignore
|
|
22
22
|
import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from './base';
|
|
23
23
|
import { BankAccountsApi } from './api';
|
|
24
|
+
import { BankOrdersApi } from './api';
|
|
24
25
|
import { BankTransactionApi } from './api';
|
|
25
26
|
import { HealthCheckApi } from './api';
|
|
26
27
|
import { PaymentMethodsApi } from './api';
|
|
@@ -33,6 +34,7 @@ import { WebhooksApi } from './api';
|
|
|
33
34
|
|
|
34
35
|
|
|
35
36
|
export * from './api/bank-accounts-api';
|
|
37
|
+
export * from './api/bank-orders-api';
|
|
36
38
|
export * from './api/bank-transaction-api';
|
|
37
39
|
export * from './api/health-check-api';
|
|
38
40
|
export * from './api/payment-methods-api';
|
package/base.ts
CHANGED
|
@@ -37,6 +37,16 @@ export interface LoginClass {
|
|
|
37
37
|
permissions: string;
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
+
export interface SwitchWorkspaceRequest {
|
|
41
|
+
username: string;
|
|
42
|
+
targetWorkspace: string;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export interface SwitchWorkspaceResponseClass {
|
|
46
|
+
accessToken: string;
|
|
47
|
+
permissions: string;
|
|
48
|
+
}
|
|
49
|
+
|
|
40
50
|
export enum Environment {
|
|
41
51
|
Production = 'https://apiv2.emil.de',
|
|
42
52
|
Test = 'https://apiv2-test.emil.de',
|
|
@@ -87,9 +97,14 @@ export class BaseAPI {
|
|
|
87
97
|
this.loadTokenData();
|
|
88
98
|
|
|
89
99
|
if (configuration) {
|
|
100
|
+
const { accessToken } = this.tokenData;
|
|
90
101
|
this.configuration = configuration;
|
|
91
102
|
this.basePath = configuration.basePath || this.basePath;
|
|
92
|
-
|
|
103
|
+
|
|
104
|
+
// Use config token if provided, otherwise use tokenData token
|
|
105
|
+
const configToken = this.configuration.accessToken;
|
|
106
|
+
const storedToken = accessToken ? `Bearer ${accessToken}` : '';
|
|
107
|
+
this.configuration.accessToken = configToken || storedToken;
|
|
93
108
|
} else {
|
|
94
109
|
const { accessToken, username } = this.tokenData;
|
|
95
110
|
|
|
@@ -119,7 +134,7 @@ export class BaseAPI {
|
|
|
119
134
|
return this.tokenData.permissions.split(',');
|
|
120
135
|
}
|
|
121
136
|
|
|
122
|
-
async authorize(username: string, password: string): Promise<void> {
|
|
137
|
+
async authorize(username: string, password: string, targetWorkspace?: string): Promise<void> {
|
|
123
138
|
const options: AxiosRequestConfig = {
|
|
124
139
|
method: 'POST',
|
|
125
140
|
url: `${this.configuration.basePath}/authservice/v1/login`,
|
|
@@ -141,6 +156,40 @@ export class BaseAPI {
|
|
|
141
156
|
this.tokenData.accessToken = accessToken;
|
|
142
157
|
this.tokenData.permissions = permissions;
|
|
143
158
|
|
|
159
|
+
// Switch workspace if provided
|
|
160
|
+
if (targetWorkspace) {
|
|
161
|
+
await this.switchWorkspace(targetWorkspace);
|
|
162
|
+
} else {
|
|
163
|
+
// Only store if no workspace switch (since switchWorkspace will store after switching)
|
|
164
|
+
this.storeTokenData({
|
|
165
|
+
...this.tokenData
|
|
166
|
+
});
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
async switchWorkspace(targetWorkspace: string): Promise<void> {
|
|
171
|
+
const options: AxiosRequestConfig = {
|
|
172
|
+
method: 'POST',
|
|
173
|
+
url: `${this.configuration.basePath}/authservice/v1/workspaces/switch`,
|
|
174
|
+
headers: {
|
|
175
|
+
'Content-Type': 'application/json',
|
|
176
|
+
'Authorization': `Bearer ${this.configuration.accessToken}`,
|
|
177
|
+
},
|
|
178
|
+
data: {
|
|
179
|
+
username: this.configuration.username,
|
|
180
|
+
targetWorkspace,
|
|
181
|
+
} as SwitchWorkspaceRequest,
|
|
182
|
+
withCredentials: true,
|
|
183
|
+
};
|
|
184
|
+
|
|
185
|
+
const response = await globalAxios.request<SwitchWorkspaceResponseClass>(options);
|
|
186
|
+
|
|
187
|
+
const { data: { accessToken, permissions } } = response;
|
|
188
|
+
|
|
189
|
+
this.configuration.accessToken = `Bearer ${accessToken}`;
|
|
190
|
+
this.tokenData.accessToken = accessToken;
|
|
191
|
+
this.tokenData.permissions = permissions;
|
|
192
|
+
|
|
144
193
|
this.storeTokenData({
|
|
145
194
|
...this.tokenData
|
|
146
195
|
});
|
|
@@ -270,7 +319,7 @@ export class BaseAPI {
|
|
|
270
319
|
* @extends {Error}
|
|
271
320
|
*/
|
|
272
321
|
export class RequiredError extends Error {
|
|
273
|
-
name: "RequiredError" = "RequiredError";
|
|
322
|
+
override name: "RequiredError" = "RequiredError";
|
|
274
323
|
constructor(public field: string, msg?: string) {
|
|
275
324
|
super(msg);
|
|
276
325
|
}
|
|
@@ -56,14 +56,17 @@ export declare const BankAccountsApiAxiosParamCreator: (configuration?: Configur
|
|
|
56
56
|
* 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\"
|
|
57
57
|
* @summary List bank accounts
|
|
58
58
|
* @param {string} [authorization] Bearer Token
|
|
59
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
60
|
+
* @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.
|
|
59
61
|
* @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>
|
|
60
|
-
* @param {string} [
|
|
62
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
61
63
|
* @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>
|
|
62
64
|
* @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>
|
|
65
|
+
* @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>
|
|
63
66
|
* @param {*} [options] Override http request option.
|
|
64
67
|
* @throws {RequiredError}
|
|
65
68
|
*/
|
|
66
|
-
listBankAccounts: (authorization?: string, filter?: string,
|
|
69
|
+
listBankAccounts: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
67
70
|
/**
|
|
68
71
|
* Set the primary bank account for the specified partner/account **Required Permissions** \"payment-management.bank-accounts.update\"
|
|
69
72
|
* @summary Set primary bank account
|
|
@@ -122,14 +125,17 @@ export declare const BankAccountsApiFp: (configuration?: Configuration) => {
|
|
|
122
125
|
* 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\"
|
|
123
126
|
* @summary List bank accounts
|
|
124
127
|
* @param {string} [authorization] Bearer Token
|
|
128
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
129
|
+
* @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.
|
|
125
130
|
* @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>
|
|
126
|
-
* @param {string} [
|
|
131
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
127
132
|
* @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>
|
|
128
133
|
* @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>
|
|
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, accountCode, partnerCode</i>
|
|
129
135
|
* @param {*} [options] Override http request option.
|
|
130
136
|
* @throws {RequiredError}
|
|
131
137
|
*/
|
|
132
|
-
listBankAccounts(authorization?: string, filter?: string,
|
|
138
|
+
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>>;
|
|
133
139
|
/**
|
|
134
140
|
* Set the primary bank account for the specified partner/account **Required Permissions** \"payment-management.bank-accounts.update\"
|
|
135
141
|
* @summary Set primary bank account
|
|
@@ -188,14 +194,17 @@ export declare const BankAccountsApiFactory: (configuration?: Configuration, bas
|
|
|
188
194
|
* 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\"
|
|
189
195
|
* @summary List bank accounts
|
|
190
196
|
* @param {string} [authorization] Bearer Token
|
|
197
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
198
|
+
* @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
199
|
* @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} [
|
|
200
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
193
201
|
* @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
202
|
* @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>
|
|
203
|
+
* @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>
|
|
195
204
|
* @param {*} [options] Override http request option.
|
|
196
205
|
* @throws {RequiredError}
|
|
197
206
|
*/
|
|
198
|
-
listBankAccounts(authorization?: string, filter?: string,
|
|
207
|
+
listBankAccounts(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListBankAccountsResponseClass>;
|
|
199
208
|
/**
|
|
200
209
|
* Set the primary bank account for the specified partner/account **Required Permissions** \"payment-management.bank-accounts.update\"
|
|
201
210
|
* @summary Set primary bank account
|
|
@@ -292,6 +301,18 @@ export interface BankAccountsApiListBankAccountsRequest {
|
|
|
292
301
|
* @memberof BankAccountsApiListBankAccounts
|
|
293
302
|
*/
|
|
294
303
|
readonly authorization?: string;
|
|
304
|
+
/**
|
|
305
|
+
* A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
306
|
+
* @type {number}
|
|
307
|
+
* @memberof BankAccountsApiListBankAccounts
|
|
308
|
+
*/
|
|
309
|
+
readonly pageSize?: number;
|
|
310
|
+
/**
|
|
311
|
+
* 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.
|
|
312
|
+
* @type {string}
|
|
313
|
+
* @memberof BankAccountsApiListBankAccounts
|
|
314
|
+
*/
|
|
315
|
+
readonly pageToken?: string;
|
|
295
316
|
/**
|
|
296
317
|
* 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>
|
|
297
318
|
* @type {string}
|
|
@@ -299,11 +320,11 @@ export interface BankAccountsApiListBankAccountsRequest {
|
|
|
299
320
|
*/
|
|
300
321
|
readonly filter?: string;
|
|
301
322
|
/**
|
|
302
|
-
*
|
|
323
|
+
* To search the list by any field, pass search=xxx to fetch the result.
|
|
303
324
|
* @type {string}
|
|
304
325
|
* @memberof BankAccountsApiListBankAccounts
|
|
305
326
|
*/
|
|
306
|
-
readonly
|
|
327
|
+
readonly search?: string;
|
|
307
328
|
/**
|
|
308
329
|
* 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>
|
|
309
330
|
* @type {string}
|
|
@@ -316,6 +337,12 @@ export interface BankAccountsApiListBankAccountsRequest {
|
|
|
316
337
|
* @memberof BankAccountsApiListBankAccounts
|
|
317
338
|
*/
|
|
318
339
|
readonly expand?: string;
|
|
340
|
+
/**
|
|
341
|
+
* 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>
|
|
342
|
+
* @type {string}
|
|
343
|
+
* @memberof BankAccountsApiListBankAccounts
|
|
344
|
+
*/
|
|
345
|
+
readonly filters?: string;
|
|
319
346
|
}
|
|
320
347
|
/**
|
|
321
348
|
* Request parameters for setPrimaryBankAccount operation in BankAccountsApi.
|
|
@@ -245,14 +245,17 @@ var BankAccountsApiAxiosParamCreator = function (configuration) {
|
|
|
245
245
|
* 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\"
|
|
246
246
|
* @summary List bank accounts
|
|
247
247
|
* @param {string} [authorization] Bearer Token
|
|
248
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
249
|
+
* @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.
|
|
248
250
|
* @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>
|
|
249
|
-
* @param {string} [
|
|
251
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
250
252
|
* @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>
|
|
251
253
|
* @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>
|
|
254
|
+
* @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>
|
|
252
255
|
* @param {*} [options] Override http request option.
|
|
253
256
|
* @throws {RequiredError}
|
|
254
257
|
*/
|
|
255
|
-
listBankAccounts: function (authorization, filter,
|
|
258
|
+
listBankAccounts: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
256
259
|
if (options === void 0) { options = {}; }
|
|
257
260
|
return __awaiter(_this, void 0, void 0, function () {
|
|
258
261
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -275,11 +278,17 @@ var BankAccountsApiAxiosParamCreator = function (configuration) {
|
|
|
275
278
|
// authentication bearer required
|
|
276
279
|
// http bearer authentication required
|
|
277
280
|
_a.sent();
|
|
281
|
+
if (pageSize !== undefined) {
|
|
282
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
283
|
+
}
|
|
284
|
+
if (pageToken !== undefined) {
|
|
285
|
+
localVarQueryParameter['pageToken'] = pageToken;
|
|
286
|
+
}
|
|
278
287
|
if (filter !== undefined) {
|
|
279
288
|
localVarQueryParameter['filter'] = filter;
|
|
280
289
|
}
|
|
281
|
-
if (
|
|
282
|
-
localVarQueryParameter['
|
|
290
|
+
if (search !== undefined) {
|
|
291
|
+
localVarQueryParameter['search'] = search;
|
|
283
292
|
}
|
|
284
293
|
if (order !== undefined) {
|
|
285
294
|
localVarQueryParameter['order'] = order;
|
|
@@ -287,6 +296,9 @@ var BankAccountsApiAxiosParamCreator = function (configuration) {
|
|
|
287
296
|
if (expand !== undefined) {
|
|
288
297
|
localVarQueryParameter['expand'] = expand;
|
|
289
298
|
}
|
|
299
|
+
if (filters !== undefined) {
|
|
300
|
+
localVarQueryParameter['filters'] = filters;
|
|
301
|
+
}
|
|
290
302
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
291
303
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
292
304
|
}
|
|
@@ -485,19 +497,22 @@ var BankAccountsApiFp = function (configuration) {
|
|
|
485
497
|
* 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
498
|
* @summary List bank accounts
|
|
487
499
|
* @param {string} [authorization] Bearer Token
|
|
500
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
501
|
+
* @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
502
|
* @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} [
|
|
503
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
490
504
|
* @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
505
|
* @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>
|
|
506
|
+
* @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
507
|
* @param {*} [options] Override http request option.
|
|
493
508
|
* @throws {RequiredError}
|
|
494
509
|
*/
|
|
495
|
-
listBankAccounts: function (authorization, filter,
|
|
510
|
+
listBankAccounts: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
496
511
|
return __awaiter(this, void 0, void 0, function () {
|
|
497
512
|
var localVarAxiosArgs;
|
|
498
513
|
return __generator(this, function (_a) {
|
|
499
514
|
switch (_a.label) {
|
|
500
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listBankAccounts(authorization, filter,
|
|
515
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listBankAccounts(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
|
|
501
516
|
case 1:
|
|
502
517
|
localVarAxiosArgs = _a.sent();
|
|
503
518
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -597,15 +612,18 @@ var BankAccountsApiFactory = function (configuration, basePath, axios) {
|
|
|
597
612
|
* 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\"
|
|
598
613
|
* @summary List bank accounts
|
|
599
614
|
* @param {string} [authorization] Bearer Token
|
|
615
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
616
|
+
* @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.
|
|
600
617
|
* @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>
|
|
601
|
-
* @param {string} [
|
|
618
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
602
619
|
* @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>
|
|
603
620
|
* @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>
|
|
621
|
+
* @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>
|
|
604
622
|
* @param {*} [options] Override http request option.
|
|
605
623
|
* @throws {RequiredError}
|
|
606
624
|
*/
|
|
607
|
-
listBankAccounts: function (authorization, filter,
|
|
608
|
-
return localVarFp.listBankAccounts(authorization, filter,
|
|
625
|
+
listBankAccounts: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
626
|
+
return localVarFp.listBankAccounts(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
609
627
|
},
|
|
610
628
|
/**
|
|
611
629
|
* Set the primary bank account for the specified partner/account **Required Permissions** \"payment-management.bank-accounts.update\"
|
|
@@ -692,7 +710,7 @@ var BankAccountsApi = /** @class */ (function (_super) {
|
|
|
692
710
|
BankAccountsApi.prototype.listBankAccounts = function (requestParameters, options) {
|
|
693
711
|
var _this = this;
|
|
694
712
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
695
|
-
return (0, exports.BankAccountsApiFp)(this.configuration).listBankAccounts(requestParameters.authorization, requestParameters.filter, requestParameters.
|
|
713
|
+
return (0, exports.BankAccountsApiFp)(this.configuration).listBankAccounts(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
696
714
|
};
|
|
697
715
|
/**
|
|
698
716
|
* Set the primary bank account for the specified partner/account **Required Permissions** \"payment-management.bank-accounts.update\"
|