@emilgroup/payment-sdk 1.4.1-beta.3 → 1.4.1-beta.31
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 +12 -39
- package/README.md +2 -2
- package/api/bank-accounts-api.ts +497 -47
- package/api/bank-transaction-api.ts +128 -96
- package/api/{default-api.ts → health-check-api.ts} +22 -18
- package/api/payment-methods-api.ts +74 -203
- package/api/payment-reminders-api.ts +76 -66
- package/api/payment-setup-api.ts +29 -37
- package/api/payments-api.ts +66 -89
- package/api/refunds-api.ts +74 -84
- package/api/tenant-bank-account-api.ts +88 -62
- package/api/webhooks-api.ts +17 -13
- package/api.ts +3 -3
- package/base.ts +6 -2
- package/common.ts +2 -2
- package/configuration.ts +1 -1
- package/dist/api/bank-accounts-api.d.ts +297 -49
- package/dist/api/bank-accounts-api.js +416 -28
- package/dist/api/bank-transaction-api.d.ts +109 -91
- package/dist/api/bank-transaction-api.js +83 -68
- package/dist/api/health-check-api.d.ts +70 -0
- package/dist/api/{default-api.js → health-check-api.js} +31 -27
- package/dist/api/payment-methods-api.d.ts +66 -134
- package/dist/api/payment-methods-api.js +55 -157
- package/dist/api/payment-reminders-api.d.ts +72 -65
- package/dist/api/payment-reminders-api.js +48 -42
- package/dist/api/payment-setup-api.d.ts +19 -23
- package/dist/api/payment-setup-api.js +25 -25
- package/dist/api/payments-api.d.ts +64 -76
- package/dist/api/payments-api.js +47 -55
- package/dist/api/refunds-api.d.ts +74 -74
- package/dist/api/refunds-api.js +52 -48
- package/dist/api/tenant-bank-account-api.d.ts +89 -66
- package/dist/api/tenant-bank-account-api.js +59 -39
- package/dist/api/webhooks-api.d.ts +17 -13
- package/dist/api/webhooks-api.js +15 -11
- package/dist/api.d.ts +2 -2
- package/dist/api.js +2 -2
- package/dist/base.d.ts +2 -1
- package/dist/base.js +5 -2
- package/dist/common.d.ts +2 -2
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/models/{bank-transaction-response-class.d.ts → bank-transaction-class-without-expand-properties.d.ts} +26 -34
- package/dist/models/{bank-account-class.js → bank-transaction-class-without-expand-properties.js} +1 -1
- package/dist/models/create-bank-account-request-dto.d.ts +15 -3
- package/dist/models/create-bank-account-request-dto.js +1 -1
- package/dist/models/create-payment-reminder-request-dto.d.ts +1 -1
- package/dist/models/create-payment-reminder-request-dto.js +1 -1
- package/dist/models/create-payment-request-dto.d.ts +4 -4
- package/dist/models/create-payment-request-dto.js +1 -1
- package/dist/models/create-refund-request-dto.d.ts +1 -1
- package/dist/models/create-refund-request-dto.js +1 -1
- package/dist/models/create-tenant-bank-account-request-dto.d.ts +1 -1
- package/dist/models/create-tenant-bank-account-request-dto.js +1 -1
- package/dist/models/create-tenant-bank-account-response-class.d.ts +25 -0
- package/dist/models/{bank-transaction-response-class.js → create-tenant-bank-account-response-class.js} +1 -1
- package/dist/models/deactivate-payment-reminder-request-dto.d.ts +1 -1
- package/dist/models/deactivate-payment-reminder-request-dto.js +1 -1
- package/dist/models/get-tenant-bank-account-response-class.d.ts +5 -5
- package/dist/models/get-tenant-bank-account-response-class.js +1 -1
- package/dist/models/index.d.ts +11 -38
- package/dist/models/index.js +11 -38
- package/dist/models/inline-response200.d.ts +1 -1
- package/dist/models/inline-response200.js +1 -1
- package/dist/models/inline-response503.d.ts +1 -1
- package/dist/models/inline-response503.js +1 -1
- package/dist/models/link-bank-transaction-request-dto-rest.d.ts +24 -0
- package/dist/models/{billing-profile-limited-response-dto.js → link-bank-transaction-request-dto-rest.js} +1 -1
- package/dist/models/list-tenant-bank-account-response-class.d.ts +31 -0
- package/dist/models/{billing-profile-dto.js → list-tenant-bank-account-response-class.js} +1 -1
- package/dist/models/set-primary-bank-account-request-dto-rest.d.ts +24 -0
- package/dist/models/set-primary-bank-account-request-dto-rest.js +15 -0
- package/dist/models/{tenant-bank-account-response-class.d.ts → tenant-bank-account-class-without-expand-properties.d.ts} +11 -11
- package/dist/models/tenant-bank-account-class-without-expand-properties.js +15 -0
- package/dist/models/tenant-bank-account-class.d.ts +73 -0
- package/dist/models/tenant-bank-account-class.js +15 -0
- package/dist/models/unlink-bank-transaction-request-dto-rest.d.ts +24 -0
- package/dist/models/unlink-bank-transaction-request-dto-rest.js +15 -0
- package/dist/models/update-bank-account-request-dto-rest.d.ts +30 -0
- package/dist/models/update-bank-account-request-dto-rest.js +15 -0
- package/dist/models/update-bank-account-request-dto.d.ts +36 -0
- package/dist/models/update-bank-account-request-dto.js +15 -0
- package/dist/models/update-tenant-bank-account-response-class.d.ts +25 -0
- package/dist/models/update-tenant-bank-account-response-class.js +15 -0
- package/dist/models/update-tenant-bank-account-rest-request-dto.d.ts +1 -1
- package/dist/models/update-tenant-bank-account-rest-request-dto.js +1 -1
- package/dist/models/validate-pspconfig-request-dto.d.ts +2 -9
- package/dist/models/validate-pspconfig-request-dto.js +1 -8
- package/index.ts +1 -1
- package/models/{bank-transaction-response-class.ts → bank-transaction-class-without-expand-properties.ts} +26 -34
- package/models/create-bank-account-request-dto.ts +15 -3
- package/models/create-payment-reminder-request-dto.ts +1 -1
- package/models/create-payment-request-dto.ts +4 -4
- package/models/create-refund-request-dto.ts +1 -1
- package/models/create-tenant-bank-account-request-dto.ts +1 -1
- package/models/create-tenant-bank-account-response-class.ts +31 -0
- package/models/deactivate-payment-reminder-request-dto.ts +1 -1
- package/models/get-tenant-bank-account-response-class.ts +5 -5
- package/models/index.ts +11 -38
- package/models/inline-response200.ts +1 -1
- package/models/inline-response503.ts +1 -1
- package/models/link-bank-transaction-request-dto-rest.ts +30 -0
- package/models/list-tenant-bank-account-response-class.ts +37 -0
- package/models/set-primary-bank-account-request-dto-rest.ts +30 -0
- package/models/{tenant-bank-account-response-class.ts → tenant-bank-account-class-without-expand-properties.ts} +11 -11
- package/models/tenant-bank-account-class.ts +79 -0
- package/models/unlink-bank-transaction-request-dto-rest.ts +30 -0
- package/models/update-bank-account-request-dto-rest.ts +36 -0
- package/models/update-bank-account-request-dto.ts +42 -0
- package/models/update-tenant-bank-account-response-class.ts +31 -0
- package/models/update-tenant-bank-account-rest-request-dto.ts +1 -1
- package/models/validate-pspconfig-request-dto.ts +2 -12
- package/package.json +1 -1
- package/dist/api/default-api.d.ts +0 -66
- package/dist/models/bank-account-class.d.ts +0 -54
- package/dist/models/billing-profile-dto.d.ts +0 -38
- package/dist/models/billing-profile-limited-response-dto.d.ts +0 -54
- package/dist/models/complete-braintree-payment-setup-request-dto.d.ts +0 -48
- package/dist/models/complete-braintree-payment-setup-request-dto.js +0 -15
- package/dist/models/complete-payment-setup-request-dto.d.ts +0 -32
- package/dist/models/complete-payment-setup-request-dto.js +0 -15
- package/dist/models/complete-payment-setup-response-class.d.ts +0 -25
- package/dist/models/complete-payment-setup-response-class.js +0 -15
- package/dist/models/complete-stripe-payment-setup-request-dto.d.ts +0 -60
- package/dist/models/complete-stripe-payment-setup-request-dto.js +0 -15
- package/dist/models/create-payment-method-response-class.d.ts +0 -25
- package/dist/models/create-payment-method-response-class.js +0 -15
- package/dist/models/create-payment-response-class.d.ts +0 -25
- package/dist/models/create-payment-response-class.js +0 -15
- package/dist/models/create-psp-payment-method-request-dto.d.ts +0 -61
- package/dist/models/create-psp-payment-method-request-dto.js +0 -32
- package/dist/models/create-refund-response-class.d.ts +0 -25
- package/dist/models/create-refund-response-class.js +0 -15
- package/dist/models/deactivate-payment-reminder-response-class.d.ts +0 -25
- package/dist/models/deactivate-payment-reminder-response-class.js +0 -15
- package/dist/models/get-bank-transactions-response-class.d.ts +0 -25
- package/dist/models/get-bank-transactions-response-class.js +0 -15
- package/dist/models/get-payment-method-response-class.d.ts +0 -25
- package/dist/models/get-payment-method-response-class.js +0 -15
- package/dist/models/get-payment-response-class.d.ts +0 -25
- package/dist/models/get-payment-response-class.js +0 -15
- package/dist/models/get-refund-response-class.d.ts +0 -25
- package/dist/models/get-refund-response-class.js +0 -15
- package/dist/models/get-request-dto.d.ts +0 -30
- package/dist/models/get-request-dto.js +0 -15
- package/dist/models/initiate-braintree-payment-setup-request-dto.d.ts +0 -30
- package/dist/models/initiate-braintree-payment-setup-request-dto.js +0 -15
- package/dist/models/initiate-braintree-payment-setup-response-class.d.ts +0 -24
- package/dist/models/initiate-braintree-payment-setup-response-class.js +0 -15
- package/dist/models/initiate-payment-setup-request-dto.d.ts +0 -44
- package/dist/models/initiate-payment-setup-request-dto.js +0 -15
- package/dist/models/initiate-payment-setup-response-class.d.ts +0 -32
- package/dist/models/initiate-payment-setup-response-class.js +0 -15
- package/dist/models/initiate-stripe-payment-setup-request-dto.d.ts +0 -30
- package/dist/models/initiate-stripe-payment-setup-request-dto.js +0 -15
- package/dist/models/initiate-stripe-payment-setup-response-class.d.ts +0 -30
- package/dist/models/initiate-stripe-payment-setup-response-class.js +0 -15
- package/dist/models/list-bank-accounts-response-class.d.ts +0 -31
- package/dist/models/list-bank-accounts-response-class.js +0 -15
- package/dist/models/list-bank-transactions-response-class.d.ts +0 -31
- package/dist/models/list-bank-transactions-response-class.js +0 -15
- package/dist/models/list-payment-methods-response-class.d.ts +0 -31
- package/dist/models/list-payment-methods-response-class.js +0 -15
- package/dist/models/list-payment-reminders-response-class.d.ts +0 -31
- package/dist/models/list-payment-reminders-response-class.js +0 -15
- package/dist/models/list-payments-response-class.d.ts +0 -31
- package/dist/models/list-payments-response-class.js +0 -15
- package/dist/models/list-refunds-response-class.d.ts +0 -31
- package/dist/models/list-refunds-response-class.js +0 -15
- package/dist/models/payment-class.d.ts +0 -103
- package/dist/models/payment-class.js +0 -15
- package/dist/models/payment-method-class.d.ts +0 -66
- package/dist/models/payment-method-class.js +0 -15
- package/dist/models/payment-reminder-class.d.ts +0 -112
- package/dist/models/payment-reminder-class.js +0 -36
- package/dist/models/refund-class.d.ts +0 -104
- package/dist/models/refund-class.js +0 -28
- package/dist/models/sepa-direct-dto.d.ts +0 -24
- package/dist/models/sepa-direct-dto.js +0 -15
- package/dist/models/symphony-profile-limited-response-dto.d.ts +0 -42
- package/dist/models/symphony-profile-limited-response-dto.js +0 -15
- package/dist/models/tenant-bank-account-response-class.js +0 -15
- package/dist/models/transaction-class.d.ts +0 -54
- package/dist/models/transaction-class.js +0 -15
- package/models/bank-account-class.ts +0 -60
- package/models/billing-profile-dto.ts +0 -44
- package/models/billing-profile-limited-response-dto.ts +0 -60
- package/models/complete-braintree-payment-setup-request-dto.ts +0 -54
- package/models/complete-payment-setup-request-dto.ts +0 -38
- package/models/complete-payment-setup-response-class.ts +0 -31
- package/models/complete-stripe-payment-setup-request-dto.ts +0 -66
- package/models/create-payment-method-response-class.ts +0 -31
- package/models/create-payment-response-class.ts +0 -31
- package/models/create-psp-payment-method-request-dto.ts +0 -70
- package/models/create-refund-response-class.ts +0 -31
- package/models/deactivate-payment-reminder-response-class.ts +0 -31
- package/models/get-bank-transactions-response-class.ts +0 -31
- package/models/get-payment-method-response-class.ts +0 -31
- package/models/get-payment-response-class.ts +0 -31
- package/models/get-refund-response-class.ts +0 -31
- package/models/get-request-dto.ts +0 -36
- package/models/initiate-braintree-payment-setup-request-dto.ts +0 -36
- package/models/initiate-braintree-payment-setup-response-class.ts +0 -30
- package/models/initiate-payment-setup-request-dto.ts +0 -50
- package/models/initiate-payment-setup-response-class.ts +0 -38
- package/models/initiate-stripe-payment-setup-request-dto.ts +0 -36
- package/models/initiate-stripe-payment-setup-response-class.ts +0 -36
- package/models/list-bank-accounts-response-class.ts +0 -37
- package/models/list-bank-transactions-response-class.ts +0 -37
- package/models/list-payment-methods-response-class.ts +0 -37
- package/models/list-payment-reminders-response-class.ts +0 -37
- package/models/list-payments-response-class.ts +0 -37
- package/models/list-refunds-response-class.ts +0 -37
- package/models/payment-class.ts +0 -109
- package/models/payment-method-class.ts +0 -72
- package/models/payment-reminder-class.ts +0 -122
- package/models/refund-class.ts +0 -114
- package/models/sepa-direct-dto.ts +0 -30
- package/models/symphony-profile-limited-response-dto.ts +0 -48
- package/models/transaction-class.ts +0 -60
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Emil Payment Service
|
|
3
|
-
* This service directly communicates with the various Payment Service Providers (PSPs)
|
|
3
|
+
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 1.0
|
|
6
6
|
* Contact: kontakt@emil.de
|
|
@@ -13,15 +13,16 @@ import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
|
13
13
|
import { Configuration } from '../configuration';
|
|
14
14
|
import { RequestArgs, BaseAPI } from '../base';
|
|
15
15
|
import { CreateBankAccountRequestDto } from '../models';
|
|
16
|
-
import {
|
|
16
|
+
import { SetPrimaryBankAccountRequestDtoRest } from '../models';
|
|
17
|
+
import { UpdateBankAccountRequestDtoRest } from '../models';
|
|
17
18
|
/**
|
|
18
19
|
* BankAccountsApi - axios parameter creator
|
|
19
20
|
* @export
|
|
20
21
|
*/
|
|
21
22
|
export declare const BankAccountsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
22
23
|
/**
|
|
23
|
-
*
|
|
24
|
-
* @summary Create
|
|
24
|
+
* This will create a bank account for a specified partner/account. If this is the first bank account for the specified partner/account, it will be marked as primary.
|
|
25
|
+
* @summary Create the bank account
|
|
25
26
|
* @param {CreateBankAccountRequestDto} createBankAccountRequestDto
|
|
26
27
|
* @param {string} [authorization] Bearer Token
|
|
27
28
|
* @param {*} [options] Override http request option.
|
|
@@ -29,20 +30,59 @@ export declare const BankAccountsApiAxiosParamCreator: (configuration?: Configur
|
|
|
29
30
|
*/
|
|
30
31
|
createBankAccount: (createBankAccountRequestDto: CreateBankAccountRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
31
32
|
/**
|
|
32
|
-
*
|
|
33
|
+
* Deletes a bank account by code. If the bank account was primary, then the first available bank account for the specified partner/account will be marked as primary.
|
|
34
|
+
* @summary Delete the bank account
|
|
35
|
+
* @param {string} code Unique identifier for the object.
|
|
36
|
+
* @param {string} [authorization] Bearer Token
|
|
37
|
+
* @param {*} [options] Override http request option.
|
|
38
|
+
* @throws {RequiredError}
|
|
39
|
+
*/
|
|
40
|
+
deleteBankAccount: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
41
|
+
/**
|
|
42
|
+
* Retrieves the details of the bank account that was previously created. Supply the unique bank account code that was returned when you created it and Emil Api will return the corresponding bank account information.
|
|
43
|
+
* @summary Retrieve the bank account
|
|
44
|
+
* @param {string} code Unique identifier for the object.
|
|
45
|
+
* @param {string} [authorization] Bearer Token
|
|
46
|
+
* @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>
|
|
47
|
+
* @param {*} [options] Override http request option.
|
|
48
|
+
* @throws {RequiredError}
|
|
49
|
+
*/
|
|
50
|
+
getBankAccount: (code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
51
|
+
/**
|
|
52
|
+
* 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.
|
|
33
53
|
* @summary List bank accounts
|
|
34
54
|
* @param {string} [authorization] Bearer Token
|
|
35
55
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
36
56
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
37
|
-
* @param {
|
|
38
|
-
* @param {any} [search]
|
|
39
|
-
* @param {
|
|
40
|
-
* @param {
|
|
41
|
-
* @param {
|
|
57
|
+
* @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>
|
|
58
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
59
|
+
* @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>
|
|
60
|
+
* @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>
|
|
61
|
+
* @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>
|
|
42
62
|
* @param {*} [options] Override http request option.
|
|
43
63
|
* @throws {RequiredError}
|
|
44
64
|
*/
|
|
45
|
-
listBankAccounts: (authorization?: string, pageSize?: any, pageToken?: any, filter?:
|
|
65
|
+
listBankAccounts: (authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
66
|
+
/**
|
|
67
|
+
* Set the primary bank account for the specified partner/account
|
|
68
|
+
* @summary Set primary bank account
|
|
69
|
+
* @param {string} code Code of the bank account to set primary
|
|
70
|
+
* @param {SetPrimaryBankAccountRequestDtoRest} setPrimaryBankAccountRequestDtoRest
|
|
71
|
+
* @param {string} [authorization] Bearer Token
|
|
72
|
+
* @param {*} [options] Override http request option.
|
|
73
|
+
* @throws {RequiredError}
|
|
74
|
+
*/
|
|
75
|
+
setPrimaryBankAccount: (code: string, setPrimaryBankAccountRequestDtoRest: SetPrimaryBankAccountRequestDtoRest, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
76
|
+
/**
|
|
77
|
+
* Update a bank account by code
|
|
78
|
+
* @summary Update the bank account
|
|
79
|
+
* @param {string} code Unique identifier for the object.
|
|
80
|
+
* @param {UpdateBankAccountRequestDtoRest} updateBankAccountRequestDtoRest
|
|
81
|
+
* @param {string} [authorization] Bearer Token
|
|
82
|
+
* @param {*} [options] Override http request option.
|
|
83
|
+
* @throws {RequiredError}
|
|
84
|
+
*/
|
|
85
|
+
updateBankAccount: (code: string, updateBankAccountRequestDtoRest: UpdateBankAccountRequestDtoRest, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
46
86
|
};
|
|
47
87
|
/**
|
|
48
88
|
* BankAccountsApi - functional programming interface
|
|
@@ -50,29 +90,68 @@ export declare const BankAccountsApiAxiosParamCreator: (configuration?: Configur
|
|
|
50
90
|
*/
|
|
51
91
|
export declare const BankAccountsApiFp: (configuration?: Configuration) => {
|
|
52
92
|
/**
|
|
53
|
-
*
|
|
54
|
-
* @summary Create
|
|
93
|
+
* This will create a bank account for a specified partner/account. If this is the first bank account for the specified partner/account, it will be marked as primary.
|
|
94
|
+
* @summary Create the bank account
|
|
55
95
|
* @param {CreateBankAccountRequestDto} createBankAccountRequestDto
|
|
56
96
|
* @param {string} [authorization] Bearer Token
|
|
57
97
|
* @param {*} [options] Override http request option.
|
|
58
98
|
* @throws {RequiredError}
|
|
59
99
|
*/
|
|
60
|
-
createBankAccount(createBankAccountRequestDto: CreateBankAccountRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
100
|
+
createBankAccount(createBankAccountRequestDto: CreateBankAccountRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
101
|
+
/**
|
|
102
|
+
* Deletes a bank account by code. If the bank account was primary, then the first available bank account for the specified partner/account will be marked as primary.
|
|
103
|
+
* @summary Delete the bank account
|
|
104
|
+
* @param {string} code Unique identifier for the object.
|
|
105
|
+
* @param {string} [authorization] Bearer Token
|
|
106
|
+
* @param {*} [options] Override http request option.
|
|
107
|
+
* @throws {RequiredError}
|
|
108
|
+
*/
|
|
109
|
+
deleteBankAccount(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
110
|
+
/**
|
|
111
|
+
* Retrieves the details of the bank account that was previously created. Supply the unique bank account code that was returned when you created it and Emil Api will return the corresponding bank account information.
|
|
112
|
+
* @summary Retrieve the bank account
|
|
113
|
+
* @param {string} code Unique identifier for the object.
|
|
114
|
+
* @param {string} [authorization] Bearer Token
|
|
115
|
+
* @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>
|
|
116
|
+
* @param {*} [options] Override http request option.
|
|
117
|
+
* @throws {RequiredError}
|
|
118
|
+
*/
|
|
119
|
+
getBankAccount(code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
61
120
|
/**
|
|
62
|
-
* Returns a list of bank accounts you
|
|
121
|
+
* 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.
|
|
63
122
|
* @summary List bank accounts
|
|
64
123
|
* @param {string} [authorization] Bearer Token
|
|
65
124
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
66
125
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
67
|
-
* @param {
|
|
68
|
-
* @param {any} [search]
|
|
69
|
-
* @param {
|
|
70
|
-
* @param {
|
|
71
|
-
* @param {
|
|
126
|
+
* @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>
|
|
127
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
128
|
+
* @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>
|
|
129
|
+
* @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>
|
|
130
|
+
* @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>
|
|
72
131
|
* @param {*} [options] Override http request option.
|
|
73
132
|
* @throws {RequiredError}
|
|
74
133
|
*/
|
|
75
|
-
listBankAccounts(authorization?: string, pageSize?: any, pageToken?: any, filter?:
|
|
134
|
+
listBankAccounts(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
135
|
+
/**
|
|
136
|
+
* Set the primary bank account for the specified partner/account
|
|
137
|
+
* @summary Set primary bank account
|
|
138
|
+
* @param {string} code Code of the bank account to set primary
|
|
139
|
+
* @param {SetPrimaryBankAccountRequestDtoRest} setPrimaryBankAccountRequestDtoRest
|
|
140
|
+
* @param {string} [authorization] Bearer Token
|
|
141
|
+
* @param {*} [options] Override http request option.
|
|
142
|
+
* @throws {RequiredError}
|
|
143
|
+
*/
|
|
144
|
+
setPrimaryBankAccount(code: string, setPrimaryBankAccountRequestDtoRest: SetPrimaryBankAccountRequestDtoRest, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
145
|
+
/**
|
|
146
|
+
* Update a bank account by code
|
|
147
|
+
* @summary Update the bank account
|
|
148
|
+
* @param {string} code Unique identifier for the object.
|
|
149
|
+
* @param {UpdateBankAccountRequestDtoRest} updateBankAccountRequestDtoRest
|
|
150
|
+
* @param {string} [authorization] Bearer Token
|
|
151
|
+
* @param {*} [options] Override http request option.
|
|
152
|
+
* @throws {RequiredError}
|
|
153
|
+
*/
|
|
154
|
+
updateBankAccount(code: string, updateBankAccountRequestDtoRest: UpdateBankAccountRequestDtoRest, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
76
155
|
};
|
|
77
156
|
/**
|
|
78
157
|
* BankAccountsApi - factory interface
|
|
@@ -80,29 +159,68 @@ export declare const BankAccountsApiFp: (configuration?: Configuration) => {
|
|
|
80
159
|
*/
|
|
81
160
|
export declare const BankAccountsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
82
161
|
/**
|
|
83
|
-
*
|
|
84
|
-
* @summary Create
|
|
162
|
+
* This will create a bank account for a specified partner/account. If this is the first bank account for the specified partner/account, it will be marked as primary.
|
|
163
|
+
* @summary Create the bank account
|
|
85
164
|
* @param {CreateBankAccountRequestDto} createBankAccountRequestDto
|
|
86
165
|
* @param {string} [authorization] Bearer Token
|
|
87
166
|
* @param {*} [options] Override http request option.
|
|
88
167
|
* @throws {RequiredError}
|
|
89
168
|
*/
|
|
90
|
-
createBankAccount(createBankAccountRequestDto: CreateBankAccountRequestDto, authorization?: string, options?: any): AxiosPromise<
|
|
169
|
+
createBankAccount(createBankAccountRequestDto: CreateBankAccountRequestDto, authorization?: string, options?: any): AxiosPromise<void>;
|
|
170
|
+
/**
|
|
171
|
+
* Deletes a bank account by code. If the bank account was primary, then the first available bank account for the specified partner/account will be marked as primary.
|
|
172
|
+
* @summary Delete the bank account
|
|
173
|
+
* @param {string} code Unique identifier for the object.
|
|
174
|
+
* @param {string} [authorization] Bearer Token
|
|
175
|
+
* @param {*} [options] Override http request option.
|
|
176
|
+
* @throws {RequiredError}
|
|
177
|
+
*/
|
|
178
|
+
deleteBankAccount(code: string, authorization?: string, options?: any): AxiosPromise<void>;
|
|
179
|
+
/**
|
|
180
|
+
* Retrieves the details of the bank account that was previously created. Supply the unique bank account code that was returned when you created it and Emil Api will return the corresponding bank account information.
|
|
181
|
+
* @summary Retrieve the bank account
|
|
182
|
+
* @param {string} code Unique identifier for the object.
|
|
183
|
+
* @param {string} [authorization] Bearer Token
|
|
184
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: primaryBankAccount.<i>
|
|
185
|
+
* @param {*} [options] Override http request option.
|
|
186
|
+
* @throws {RequiredError}
|
|
187
|
+
*/
|
|
188
|
+
getBankAccount(code: string, authorization?: string, expand?: string, options?: any): AxiosPromise<void>;
|
|
91
189
|
/**
|
|
92
|
-
* Returns a list of bank accounts you
|
|
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.
|
|
93
191
|
* @summary List bank accounts
|
|
94
192
|
* @param {string} [authorization] Bearer Token
|
|
95
193
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
96
194
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
97
|
-
* @param {
|
|
98
|
-
* @param {any} [search]
|
|
99
|
-
* @param {
|
|
100
|
-
* @param {
|
|
101
|
-
* @param {
|
|
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>
|
|
196
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
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>
|
|
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>
|
|
200
|
+
* @param {*} [options] Override http request option.
|
|
201
|
+
* @throws {RequiredError}
|
|
202
|
+
*/
|
|
203
|
+
listBankAccounts(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<void>;
|
|
204
|
+
/**
|
|
205
|
+
* Set the primary bank account for the specified partner/account
|
|
206
|
+
* @summary Set primary bank account
|
|
207
|
+
* @param {string} code Code of the bank account to set primary
|
|
208
|
+
* @param {SetPrimaryBankAccountRequestDtoRest} setPrimaryBankAccountRequestDtoRest
|
|
209
|
+
* @param {string} [authorization] Bearer Token
|
|
102
210
|
* @param {*} [options] Override http request option.
|
|
103
211
|
* @throws {RequiredError}
|
|
104
212
|
*/
|
|
105
|
-
|
|
213
|
+
setPrimaryBankAccount(code: string, setPrimaryBankAccountRequestDtoRest: SetPrimaryBankAccountRequestDtoRest, authorization?: string, options?: any): AxiosPromise<void>;
|
|
214
|
+
/**
|
|
215
|
+
* Update a bank account by code
|
|
216
|
+
* @summary Update the bank account
|
|
217
|
+
* @param {string} code Unique identifier for the object.
|
|
218
|
+
* @param {UpdateBankAccountRequestDtoRest} updateBankAccountRequestDtoRest
|
|
219
|
+
* @param {string} [authorization] Bearer Token
|
|
220
|
+
* @param {*} [options] Override http request option.
|
|
221
|
+
* @throws {RequiredError}
|
|
222
|
+
*/
|
|
223
|
+
updateBankAccount(code: string, updateBankAccountRequestDtoRest: UpdateBankAccountRequestDtoRest, authorization?: string, options?: any): AxiosPromise<void>;
|
|
106
224
|
};
|
|
107
225
|
/**
|
|
108
226
|
* Request parameters for createBankAccount operation in BankAccountsApi.
|
|
@@ -123,6 +241,50 @@ export interface BankAccountsApiCreateBankAccountRequest {
|
|
|
123
241
|
*/
|
|
124
242
|
readonly authorization?: string;
|
|
125
243
|
}
|
|
244
|
+
/**
|
|
245
|
+
* Request parameters for deleteBankAccount operation in BankAccountsApi.
|
|
246
|
+
* @export
|
|
247
|
+
* @interface BankAccountsApiDeleteBankAccountRequest
|
|
248
|
+
*/
|
|
249
|
+
export interface BankAccountsApiDeleteBankAccountRequest {
|
|
250
|
+
/**
|
|
251
|
+
* Unique identifier for the object.
|
|
252
|
+
* @type {string}
|
|
253
|
+
* @memberof BankAccountsApiDeleteBankAccount
|
|
254
|
+
*/
|
|
255
|
+
readonly code: string;
|
|
256
|
+
/**
|
|
257
|
+
* Bearer Token
|
|
258
|
+
* @type {string}
|
|
259
|
+
* @memberof BankAccountsApiDeleteBankAccount
|
|
260
|
+
*/
|
|
261
|
+
readonly authorization?: string;
|
|
262
|
+
}
|
|
263
|
+
/**
|
|
264
|
+
* Request parameters for getBankAccount operation in BankAccountsApi.
|
|
265
|
+
* @export
|
|
266
|
+
* @interface BankAccountsApiGetBankAccountRequest
|
|
267
|
+
*/
|
|
268
|
+
export interface BankAccountsApiGetBankAccountRequest {
|
|
269
|
+
/**
|
|
270
|
+
* Unique identifier for the object.
|
|
271
|
+
* @type {string}
|
|
272
|
+
* @memberof BankAccountsApiGetBankAccount
|
|
273
|
+
*/
|
|
274
|
+
readonly code: string;
|
|
275
|
+
/**
|
|
276
|
+
* Bearer Token
|
|
277
|
+
* @type {string}
|
|
278
|
+
* @memberof BankAccountsApiGetBankAccount
|
|
279
|
+
*/
|
|
280
|
+
readonly authorization?: string;
|
|
281
|
+
/**
|
|
282
|
+
* 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>
|
|
283
|
+
* @type {string}
|
|
284
|
+
* @memberof BankAccountsApiGetBankAccount
|
|
285
|
+
*/
|
|
286
|
+
readonly expand?: string;
|
|
287
|
+
}
|
|
126
288
|
/**
|
|
127
289
|
* Request parameters for listBankAccounts operation in BankAccountsApi.
|
|
128
290
|
* @export
|
|
@@ -148,35 +310,85 @@ export interface BankAccountsApiListBankAccountsRequest {
|
|
|
148
310
|
*/
|
|
149
311
|
readonly pageToken?: any;
|
|
150
312
|
/**
|
|
151
|
-
* Filter the response by one or multiple fields.
|
|
152
|
-
* @type {
|
|
313
|
+
* 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>
|
|
314
|
+
* @type {string}
|
|
153
315
|
* @memberof BankAccountsApiListBankAccounts
|
|
154
316
|
*/
|
|
155
|
-
readonly filter?:
|
|
317
|
+
readonly filter?: string;
|
|
156
318
|
/**
|
|
157
|
-
*
|
|
319
|
+
* To search the list by any field, pass search=xxx to fetch the result.
|
|
158
320
|
* @type {any}
|
|
159
321
|
* @memberof BankAccountsApiListBankAccounts
|
|
160
322
|
*/
|
|
161
323
|
readonly search?: any;
|
|
162
324
|
/**
|
|
163
|
-
*
|
|
164
|
-
* @type {
|
|
325
|
+
* 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>
|
|
326
|
+
* @type {string}
|
|
165
327
|
* @memberof BankAccountsApiListBankAccounts
|
|
166
328
|
*/
|
|
167
|
-
readonly order?:
|
|
329
|
+
readonly order?: string;
|
|
168
330
|
/**
|
|
169
|
-
*
|
|
170
|
-
* @type {
|
|
331
|
+
* 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>
|
|
332
|
+
* @type {string}
|
|
171
333
|
* @memberof BankAccountsApiListBankAccounts
|
|
172
334
|
*/
|
|
173
|
-
readonly expand?:
|
|
335
|
+
readonly expand?: string;
|
|
174
336
|
/**
|
|
175
|
-
* Filters the response by one or multiple fields.
|
|
176
|
-
* @type {
|
|
337
|
+
* 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>
|
|
338
|
+
* @type {string}
|
|
177
339
|
* @memberof BankAccountsApiListBankAccounts
|
|
178
340
|
*/
|
|
179
|
-
readonly filters?:
|
|
341
|
+
readonly filters?: string;
|
|
342
|
+
}
|
|
343
|
+
/**
|
|
344
|
+
* Request parameters for setPrimaryBankAccount operation in BankAccountsApi.
|
|
345
|
+
* @export
|
|
346
|
+
* @interface BankAccountsApiSetPrimaryBankAccountRequest
|
|
347
|
+
*/
|
|
348
|
+
export interface BankAccountsApiSetPrimaryBankAccountRequest {
|
|
349
|
+
/**
|
|
350
|
+
* Code of the bank account to set primary
|
|
351
|
+
* @type {string}
|
|
352
|
+
* @memberof BankAccountsApiSetPrimaryBankAccount
|
|
353
|
+
*/
|
|
354
|
+
readonly code: string;
|
|
355
|
+
/**
|
|
356
|
+
*
|
|
357
|
+
* @type {SetPrimaryBankAccountRequestDtoRest}
|
|
358
|
+
* @memberof BankAccountsApiSetPrimaryBankAccount
|
|
359
|
+
*/
|
|
360
|
+
readonly setPrimaryBankAccountRequestDtoRest: SetPrimaryBankAccountRequestDtoRest;
|
|
361
|
+
/**
|
|
362
|
+
* Bearer Token
|
|
363
|
+
* @type {string}
|
|
364
|
+
* @memberof BankAccountsApiSetPrimaryBankAccount
|
|
365
|
+
*/
|
|
366
|
+
readonly authorization?: string;
|
|
367
|
+
}
|
|
368
|
+
/**
|
|
369
|
+
* Request parameters for updateBankAccount operation in BankAccountsApi.
|
|
370
|
+
* @export
|
|
371
|
+
* @interface BankAccountsApiUpdateBankAccountRequest
|
|
372
|
+
*/
|
|
373
|
+
export interface BankAccountsApiUpdateBankAccountRequest {
|
|
374
|
+
/**
|
|
375
|
+
* Unique identifier for the object.
|
|
376
|
+
* @type {string}
|
|
377
|
+
* @memberof BankAccountsApiUpdateBankAccount
|
|
378
|
+
*/
|
|
379
|
+
readonly code: string;
|
|
380
|
+
/**
|
|
381
|
+
*
|
|
382
|
+
* @type {UpdateBankAccountRequestDtoRest}
|
|
383
|
+
* @memberof BankAccountsApiUpdateBankAccount
|
|
384
|
+
*/
|
|
385
|
+
readonly updateBankAccountRequestDtoRest: UpdateBankAccountRequestDtoRest;
|
|
386
|
+
/**
|
|
387
|
+
* Bearer Token
|
|
388
|
+
* @type {string}
|
|
389
|
+
* @memberof BankAccountsApiUpdateBankAccount
|
|
390
|
+
*/
|
|
391
|
+
readonly authorization?: string;
|
|
180
392
|
}
|
|
181
393
|
/**
|
|
182
394
|
* BankAccountsApi - object-oriented interface
|
|
@@ -186,21 +398,57 @@ export interface BankAccountsApiListBankAccountsRequest {
|
|
|
186
398
|
*/
|
|
187
399
|
export declare class BankAccountsApi extends BaseAPI {
|
|
188
400
|
/**
|
|
189
|
-
*
|
|
190
|
-
* @summary Create
|
|
401
|
+
* This will create a bank account for a specified partner/account. If this is the first bank account for the specified partner/account, it will be marked as primary.
|
|
402
|
+
* @summary Create the bank account
|
|
191
403
|
* @param {BankAccountsApiCreateBankAccountRequest} requestParameters Request parameters.
|
|
192
404
|
* @param {*} [options] Override http request option.
|
|
193
405
|
* @throws {RequiredError}
|
|
194
406
|
* @memberof BankAccountsApi
|
|
195
407
|
*/
|
|
196
|
-
createBankAccount(requestParameters: BankAccountsApiCreateBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
408
|
+
createBankAccount(requestParameters: BankAccountsApiCreateBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
409
|
+
/**
|
|
410
|
+
* Deletes a bank account by code. If the bank account was primary, then the first available bank account for the specified partner/account will be marked as primary.
|
|
411
|
+
* @summary Delete the bank account
|
|
412
|
+
* @param {BankAccountsApiDeleteBankAccountRequest} requestParameters Request parameters.
|
|
413
|
+
* @param {*} [options] Override http request option.
|
|
414
|
+
* @throws {RequiredError}
|
|
415
|
+
* @memberof BankAccountsApi
|
|
416
|
+
*/
|
|
417
|
+
deleteBankAccount(requestParameters: BankAccountsApiDeleteBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
197
418
|
/**
|
|
198
|
-
*
|
|
419
|
+
* Retrieves the details of the bank account that was previously created. Supply the unique bank account code that was returned when you created it and Emil Api will return the corresponding bank account information.
|
|
420
|
+
* @summary Retrieve the bank account
|
|
421
|
+
* @param {BankAccountsApiGetBankAccountRequest} requestParameters Request parameters.
|
|
422
|
+
* @param {*} [options] Override http request option.
|
|
423
|
+
* @throws {RequiredError}
|
|
424
|
+
* @memberof BankAccountsApi
|
|
425
|
+
*/
|
|
426
|
+
getBankAccount(requestParameters: BankAccountsApiGetBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
427
|
+
/**
|
|
428
|
+
* 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.
|
|
199
429
|
* @summary List bank accounts
|
|
200
430
|
* @param {BankAccountsApiListBankAccountsRequest} requestParameters Request parameters.
|
|
201
431
|
* @param {*} [options] Override http request option.
|
|
202
432
|
* @throws {RequiredError}
|
|
203
433
|
* @memberof BankAccountsApi
|
|
204
434
|
*/
|
|
205
|
-
listBankAccounts(requestParameters?: BankAccountsApiListBankAccountsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
435
|
+
listBankAccounts(requestParameters?: BankAccountsApiListBankAccountsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
436
|
+
/**
|
|
437
|
+
* Set the primary bank account for the specified partner/account
|
|
438
|
+
* @summary Set primary bank account
|
|
439
|
+
* @param {BankAccountsApiSetPrimaryBankAccountRequest} requestParameters Request parameters.
|
|
440
|
+
* @param {*} [options] Override http request option.
|
|
441
|
+
* @throws {RequiredError}
|
|
442
|
+
* @memberof BankAccountsApi
|
|
443
|
+
*/
|
|
444
|
+
setPrimaryBankAccount(requestParameters: BankAccountsApiSetPrimaryBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
445
|
+
/**
|
|
446
|
+
* Update a bank account by code
|
|
447
|
+
* @summary Update the bank account
|
|
448
|
+
* @param {BankAccountsApiUpdateBankAccountRequest} requestParameters Request parameters.
|
|
449
|
+
* @param {*} [options] Override http request option.
|
|
450
|
+
* @throws {RequiredError}
|
|
451
|
+
* @memberof BankAccountsApi
|
|
452
|
+
*/
|
|
453
|
+
updateBankAccount(requestParameters: BankAccountsApiUpdateBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
206
454
|
}
|