@emilgroup/payment-sdk 1.4.1-beta.15 → 1.4.1-beta.17
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 +5 -0
- package/README.md +2 -2
- package/api/bank-accounts-api.ts +346 -22
- package/api/bank-transaction-api.ts +12 -12
- package/api/payment-methods-api.ts +38 -145
- package/api/payment-reminders-api.ts +12 -12
- package/api/payments-api.ts +42 -45
- package/api/refunds-api.ts +4 -4
- package/api/tenant-bank-account-api.ts +20 -20
- package/dist/api/bank-accounts-api.d.ts +193 -16
- package/dist/api/bank-accounts-api.js +302 -19
- package/dist/api/bank-transaction-api.d.ts +12 -12
- package/dist/api/bank-transaction-api.js +11 -11
- package/dist/api/payment-methods-api.d.ts +29 -84
- package/dist/api/payment-methods-api.js +33 -129
- package/dist/api/payment-reminders-api.d.ts +12 -12
- package/dist/api/payment-reminders-api.js +11 -11
- package/dist/api/payments-api.d.ts +33 -33
- package/dist/api/payments-api.js +37 -39
- package/dist/api/refunds-api.d.ts +4 -4
- package/dist/api/refunds-api.js +3 -3
- package/dist/api/tenant-bank-account-api.d.ts +20 -20
- package/dist/api/tenant-bank-account-api.js +14 -14
- package/dist/models/bank-account-class.d.ts +67 -0
- package/dist/models/bank-account-class.js +15 -0
- package/dist/models/create-bank-account-request-dto.d.ts +30 -0
- package/dist/models/create-bank-account-request-dto.js +15 -0
- package/dist/models/get-bank-account-response-class.d.ts +25 -0
- package/dist/models/get-bank-account-response-class.js +15 -0
- package/dist/models/index.d.ts +5 -0
- package/dist/models/index.js +5 -0
- package/dist/models/primary-bank-account-response-class.d.ts +42 -0
- package/dist/models/primary-bank-account-response-class.js +15 -0
- 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/models/bank-account-class.ts +73 -0
- package/models/create-bank-account-request-dto.ts +36 -0
- package/models/get-bank-account-response-class.ts +31 -0
- package/models/index.ts +5 -0
- package/models/primary-bank-account-response-class.ts +48 -0
- package/models/set-primary-bank-account-request-dto-rest.ts +30 -0
- package/package.json +1 -1
|
@@ -12,6 +12,9 @@
|
|
|
12
12
|
import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
13
13
|
import { Configuration } from '../configuration';
|
|
14
14
|
import { RequestArgs, BaseAPI } from '../base';
|
|
15
|
+
import { CreateBankAccountRequestDto } from '../models';
|
|
16
|
+
import { GetBankAccountResponseClass } from '../models';
|
|
17
|
+
import { SetPrimaryBankAccountRequestDtoRest } from '../models';
|
|
15
18
|
/**
|
|
16
19
|
* BankAccountsApi - axios parameter creator
|
|
17
20
|
* @export
|
|
@@ -20,20 +23,38 @@ export declare const BankAccountsApiAxiosParamCreator: (configuration?: Configur
|
|
|
20
23
|
/**
|
|
21
24
|
* Creates a bank account for a specified account.
|
|
22
25
|
* @summary Create a bank account
|
|
23
|
-
* @param {
|
|
26
|
+
* @param {CreateBankAccountRequestDto} createBankAccountRequestDto
|
|
24
27
|
* @param {string} [authorization] Bearer Token
|
|
25
28
|
* @param {*} [options] Override http request option.
|
|
26
29
|
* @throws {RequiredError}
|
|
27
30
|
*/
|
|
28
|
-
createBankAccount: (
|
|
31
|
+
createBankAccount: (createBankAccountRequestDto: CreateBankAccountRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
29
32
|
/**
|
|
30
|
-
*
|
|
33
|
+
* Deletes a bank account by code
|
|
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 {*} [options] Override http request option.
|
|
47
|
+
* @throws {RequiredError}
|
|
48
|
+
*/
|
|
49
|
+
getBankAccount: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
50
|
+
/**
|
|
51
|
+
* Returns a list of bank accounts you’ve previously created. The bank accounts are returned in sorted order, with the oldest payment appearing first. For more information about pagination, read the Pagination documentation.
|
|
31
52
|
* @summary List bank accounts
|
|
32
53
|
* @param {string} [authorization] Bearer Token
|
|
33
54
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
34
55
|
* @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.
|
|
35
56
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
36
|
-
* @param {any} [search]
|
|
57
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
37
58
|
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
38
59
|
* @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
39
60
|
* @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
@@ -41,6 +62,16 @@ export declare const BankAccountsApiAxiosParamCreator: (configuration?: Configur
|
|
|
41
62
|
* @throws {RequiredError}
|
|
42
63
|
*/
|
|
43
64
|
listBankAccounts: (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
65
|
+
/**
|
|
66
|
+
* Set Primary Bank account
|
|
67
|
+
* @summary Set Primary Bank account
|
|
68
|
+
* @param {string} code Code of the bank account to set primary
|
|
69
|
+
* @param {SetPrimaryBankAccountRequestDtoRest} setPrimaryBankAccountRequestDtoRest
|
|
70
|
+
* @param {string} [authorization] Bearer Token
|
|
71
|
+
* @param {*} [options] Override http request option.
|
|
72
|
+
* @throws {RequiredError}
|
|
73
|
+
*/
|
|
74
|
+
setPrimaryBankAccount: (code: string, setPrimaryBankAccountRequestDtoRest: SetPrimaryBankAccountRequestDtoRest, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
44
75
|
};
|
|
45
76
|
/**
|
|
46
77
|
* BankAccountsApi - functional programming interface
|
|
@@ -50,20 +81,38 @@ export declare const BankAccountsApiFp: (configuration?: Configuration) => {
|
|
|
50
81
|
/**
|
|
51
82
|
* Creates a bank account for a specified account.
|
|
52
83
|
* @summary Create a bank account
|
|
53
|
-
* @param {
|
|
84
|
+
* @param {CreateBankAccountRequestDto} createBankAccountRequestDto
|
|
85
|
+
* @param {string} [authorization] Bearer Token
|
|
86
|
+
* @param {*} [options] Override http request option.
|
|
87
|
+
* @throws {RequiredError}
|
|
88
|
+
*/
|
|
89
|
+
createBankAccount(createBankAccountRequestDto: CreateBankAccountRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
90
|
+
/**
|
|
91
|
+
* Deletes a bank account by code
|
|
92
|
+
* @summary Delete the bank account
|
|
93
|
+
* @param {string} code Unique identifier for the object.
|
|
94
|
+
* @param {string} [authorization] Bearer Token
|
|
95
|
+
* @param {*} [options] Override http request option.
|
|
96
|
+
* @throws {RequiredError}
|
|
97
|
+
*/
|
|
98
|
+
deleteBankAccount(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
|
|
99
|
+
/**
|
|
100
|
+
* 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.
|
|
101
|
+
* @summary Retrieve the Bank Account
|
|
102
|
+
* @param {string} code Unique identifier for the object.
|
|
54
103
|
* @param {string} [authorization] Bearer Token
|
|
55
104
|
* @param {*} [options] Override http request option.
|
|
56
105
|
* @throws {RequiredError}
|
|
57
106
|
*/
|
|
58
|
-
|
|
107
|
+
getBankAccount(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBankAccountResponseClass>>;
|
|
59
108
|
/**
|
|
60
|
-
* Returns a list of bank accounts you’ve previously created.
|
|
109
|
+
* Returns a list of bank accounts you’ve previously created. The bank accounts are returned in sorted order, with the oldest payment appearing first. For more information about pagination, read the Pagination documentation.
|
|
61
110
|
* @summary List bank accounts
|
|
62
111
|
* @param {string} [authorization] Bearer Token
|
|
63
112
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
64
113
|
* @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.
|
|
65
114
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
66
|
-
* @param {any} [search]
|
|
115
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
67
116
|
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
68
117
|
* @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
69
118
|
* @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
@@ -71,6 +120,16 @@ export declare const BankAccountsApiFp: (configuration?: Configuration) => {
|
|
|
71
120
|
* @throws {RequiredError}
|
|
72
121
|
*/
|
|
73
122
|
listBankAccounts(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
123
|
+
/**
|
|
124
|
+
* Set Primary Bank account
|
|
125
|
+
* @summary Set Primary Bank account
|
|
126
|
+
* @param {string} code Code of the bank account to set primary
|
|
127
|
+
* @param {SetPrimaryBankAccountRequestDtoRest} setPrimaryBankAccountRequestDtoRest
|
|
128
|
+
* @param {string} [authorization] Bearer Token
|
|
129
|
+
* @param {*} [options] Override http request option.
|
|
130
|
+
* @throws {RequiredError}
|
|
131
|
+
*/
|
|
132
|
+
setPrimaryBankAccount(code: string, setPrimaryBankAccountRequestDtoRest: SetPrimaryBankAccountRequestDtoRest, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
74
133
|
};
|
|
75
134
|
/**
|
|
76
135
|
* BankAccountsApi - factory interface
|
|
@@ -80,20 +139,38 @@ export declare const BankAccountsApiFactory: (configuration?: Configuration, bas
|
|
|
80
139
|
/**
|
|
81
140
|
* Creates a bank account for a specified account.
|
|
82
141
|
* @summary Create a bank account
|
|
83
|
-
* @param {
|
|
142
|
+
* @param {CreateBankAccountRequestDto} createBankAccountRequestDto
|
|
84
143
|
* @param {string} [authorization] Bearer Token
|
|
85
144
|
* @param {*} [options] Override http request option.
|
|
86
145
|
* @throws {RequiredError}
|
|
87
146
|
*/
|
|
88
|
-
createBankAccount(
|
|
147
|
+
createBankAccount(createBankAccountRequestDto: CreateBankAccountRequestDto, authorization?: string, options?: any): AxiosPromise<void>;
|
|
89
148
|
/**
|
|
90
|
-
*
|
|
149
|
+
* Deletes a bank account by code
|
|
150
|
+
* @summary Delete the bank account
|
|
151
|
+
* @param {string} code Unique identifier for the object.
|
|
152
|
+
* @param {string} [authorization] Bearer Token
|
|
153
|
+
* @param {*} [options] Override http request option.
|
|
154
|
+
* @throws {RequiredError}
|
|
155
|
+
*/
|
|
156
|
+
deleteBankAccount(code: string, authorization?: string, options?: any): AxiosPromise<object>;
|
|
157
|
+
/**
|
|
158
|
+
* 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.
|
|
159
|
+
* @summary Retrieve the Bank Account
|
|
160
|
+
* @param {string} code Unique identifier for the object.
|
|
161
|
+
* @param {string} [authorization] Bearer Token
|
|
162
|
+
* @param {*} [options] Override http request option.
|
|
163
|
+
* @throws {RequiredError}
|
|
164
|
+
*/
|
|
165
|
+
getBankAccount(code: string, authorization?: string, options?: any): AxiosPromise<GetBankAccountResponseClass>;
|
|
166
|
+
/**
|
|
167
|
+
* Returns a list of bank accounts you’ve previously created. The bank accounts are returned in sorted order, with the oldest payment appearing first. For more information about pagination, read the Pagination documentation.
|
|
91
168
|
* @summary List bank accounts
|
|
92
169
|
* @param {string} [authorization] Bearer Token
|
|
93
170
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
94
171
|
* @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.
|
|
95
172
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
96
|
-
* @param {any} [search]
|
|
173
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
97
174
|
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
98
175
|
* @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
99
176
|
* @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
@@ -101,6 +178,16 @@ export declare const BankAccountsApiFactory: (configuration?: Configuration, bas
|
|
|
101
178
|
* @throws {RequiredError}
|
|
102
179
|
*/
|
|
103
180
|
listBankAccounts(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: any): AxiosPromise<void>;
|
|
181
|
+
/**
|
|
182
|
+
* Set Primary Bank account
|
|
183
|
+
* @summary Set Primary Bank account
|
|
184
|
+
* @param {string} code Code of the bank account to set primary
|
|
185
|
+
* @param {SetPrimaryBankAccountRequestDtoRest} setPrimaryBankAccountRequestDtoRest
|
|
186
|
+
* @param {string} [authorization] Bearer Token
|
|
187
|
+
* @param {*} [options] Override http request option.
|
|
188
|
+
* @throws {RequiredError}
|
|
189
|
+
*/
|
|
190
|
+
setPrimaryBankAccount(code: string, setPrimaryBankAccountRequestDtoRest: SetPrimaryBankAccountRequestDtoRest, authorization?: string, options?: any): AxiosPromise<void>;
|
|
104
191
|
};
|
|
105
192
|
/**
|
|
106
193
|
* Request parameters for createBankAccount operation in BankAccountsApi.
|
|
@@ -110,10 +197,10 @@ export declare const BankAccountsApiFactory: (configuration?: Configuration, bas
|
|
|
110
197
|
export interface BankAccountsApiCreateBankAccountRequest {
|
|
111
198
|
/**
|
|
112
199
|
*
|
|
113
|
-
* @type {
|
|
200
|
+
* @type {CreateBankAccountRequestDto}
|
|
114
201
|
* @memberof BankAccountsApiCreateBankAccount
|
|
115
202
|
*/
|
|
116
|
-
readonly
|
|
203
|
+
readonly createBankAccountRequestDto: CreateBankAccountRequestDto;
|
|
117
204
|
/**
|
|
118
205
|
* Bearer Token
|
|
119
206
|
* @type {string}
|
|
@@ -121,6 +208,44 @@ export interface BankAccountsApiCreateBankAccountRequest {
|
|
|
121
208
|
*/
|
|
122
209
|
readonly authorization?: string;
|
|
123
210
|
}
|
|
211
|
+
/**
|
|
212
|
+
* Request parameters for deleteBankAccount operation in BankAccountsApi.
|
|
213
|
+
* @export
|
|
214
|
+
* @interface BankAccountsApiDeleteBankAccountRequest
|
|
215
|
+
*/
|
|
216
|
+
export interface BankAccountsApiDeleteBankAccountRequest {
|
|
217
|
+
/**
|
|
218
|
+
* Unique identifier for the object.
|
|
219
|
+
* @type {string}
|
|
220
|
+
* @memberof BankAccountsApiDeleteBankAccount
|
|
221
|
+
*/
|
|
222
|
+
readonly code: string;
|
|
223
|
+
/**
|
|
224
|
+
* Bearer Token
|
|
225
|
+
* @type {string}
|
|
226
|
+
* @memberof BankAccountsApiDeleteBankAccount
|
|
227
|
+
*/
|
|
228
|
+
readonly authorization?: string;
|
|
229
|
+
}
|
|
230
|
+
/**
|
|
231
|
+
* Request parameters for getBankAccount operation in BankAccountsApi.
|
|
232
|
+
* @export
|
|
233
|
+
* @interface BankAccountsApiGetBankAccountRequest
|
|
234
|
+
*/
|
|
235
|
+
export interface BankAccountsApiGetBankAccountRequest {
|
|
236
|
+
/**
|
|
237
|
+
* Unique identifier for the object.
|
|
238
|
+
* @type {string}
|
|
239
|
+
* @memberof BankAccountsApiGetBankAccount
|
|
240
|
+
*/
|
|
241
|
+
readonly code: string;
|
|
242
|
+
/**
|
|
243
|
+
* Bearer Token
|
|
244
|
+
* @type {string}
|
|
245
|
+
* @memberof BankAccountsApiGetBankAccount
|
|
246
|
+
*/
|
|
247
|
+
readonly authorization?: string;
|
|
248
|
+
}
|
|
124
249
|
/**
|
|
125
250
|
* Request parameters for listBankAccounts operation in BankAccountsApi.
|
|
126
251
|
* @export
|
|
@@ -152,7 +277,7 @@ export interface BankAccountsApiListBankAccountsRequest {
|
|
|
152
277
|
*/
|
|
153
278
|
readonly filter?: any;
|
|
154
279
|
/**
|
|
155
|
-
*
|
|
280
|
+
* To search the list by any field, pass search=xxx to fetch the result.
|
|
156
281
|
* @type {any}
|
|
157
282
|
* @memberof BankAccountsApiListBankAccounts
|
|
158
283
|
*/
|
|
@@ -176,6 +301,31 @@ export interface BankAccountsApiListBankAccountsRequest {
|
|
|
176
301
|
*/
|
|
177
302
|
readonly filters?: any;
|
|
178
303
|
}
|
|
304
|
+
/**
|
|
305
|
+
* Request parameters for setPrimaryBankAccount operation in BankAccountsApi.
|
|
306
|
+
* @export
|
|
307
|
+
* @interface BankAccountsApiSetPrimaryBankAccountRequest
|
|
308
|
+
*/
|
|
309
|
+
export interface BankAccountsApiSetPrimaryBankAccountRequest {
|
|
310
|
+
/**
|
|
311
|
+
* Code of the bank account to set primary
|
|
312
|
+
* @type {string}
|
|
313
|
+
* @memberof BankAccountsApiSetPrimaryBankAccount
|
|
314
|
+
*/
|
|
315
|
+
readonly code: string;
|
|
316
|
+
/**
|
|
317
|
+
*
|
|
318
|
+
* @type {SetPrimaryBankAccountRequestDtoRest}
|
|
319
|
+
* @memberof BankAccountsApiSetPrimaryBankAccount
|
|
320
|
+
*/
|
|
321
|
+
readonly setPrimaryBankAccountRequestDtoRest: SetPrimaryBankAccountRequestDtoRest;
|
|
322
|
+
/**
|
|
323
|
+
* Bearer Token
|
|
324
|
+
* @type {string}
|
|
325
|
+
* @memberof BankAccountsApiSetPrimaryBankAccount
|
|
326
|
+
*/
|
|
327
|
+
readonly authorization?: string;
|
|
328
|
+
}
|
|
179
329
|
/**
|
|
180
330
|
* BankAccountsApi - object-oriented interface
|
|
181
331
|
* @export
|
|
@@ -193,7 +343,25 @@ export declare class BankAccountsApi extends BaseAPI {
|
|
|
193
343
|
*/
|
|
194
344
|
createBankAccount(requestParameters: BankAccountsApiCreateBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
195
345
|
/**
|
|
196
|
-
*
|
|
346
|
+
* Deletes a bank account by code
|
|
347
|
+
* @summary Delete the bank account
|
|
348
|
+
* @param {BankAccountsApiDeleteBankAccountRequest} requestParameters Request parameters.
|
|
349
|
+
* @param {*} [options] Override http request option.
|
|
350
|
+
* @throws {RequiredError}
|
|
351
|
+
* @memberof BankAccountsApi
|
|
352
|
+
*/
|
|
353
|
+
deleteBankAccount(requestParameters: BankAccountsApiDeleteBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
|
|
354
|
+
/**
|
|
355
|
+
* 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.
|
|
356
|
+
* @summary Retrieve the Bank Account
|
|
357
|
+
* @param {BankAccountsApiGetBankAccountRequest} requestParameters Request parameters.
|
|
358
|
+
* @param {*} [options] Override http request option.
|
|
359
|
+
* @throws {RequiredError}
|
|
360
|
+
* @memberof BankAccountsApi
|
|
361
|
+
*/
|
|
362
|
+
getBankAccount(requestParameters: BankAccountsApiGetBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetBankAccountResponseClass, any>>;
|
|
363
|
+
/**
|
|
364
|
+
* Returns a list of bank accounts you’ve previously created. The bank accounts are returned in sorted order, with the oldest payment appearing first. For more information about pagination, read the Pagination documentation.
|
|
197
365
|
* @summary List bank accounts
|
|
198
366
|
* @param {BankAccountsApiListBankAccountsRequest} requestParameters Request parameters.
|
|
199
367
|
* @param {*} [options] Override http request option.
|
|
@@ -201,4 +369,13 @@ export declare class BankAccountsApi extends BaseAPI {
|
|
|
201
369
|
* @memberof BankAccountsApi
|
|
202
370
|
*/
|
|
203
371
|
listBankAccounts(requestParameters?: BankAccountsApiListBankAccountsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
372
|
+
/**
|
|
373
|
+
* Set Primary Bank account
|
|
374
|
+
* @summary Set Primary Bank account
|
|
375
|
+
* @param {BankAccountsApiSetPrimaryBankAccountRequest} requestParameters Request parameters.
|
|
376
|
+
* @param {*} [options] Override http request option.
|
|
377
|
+
* @throws {RequiredError}
|
|
378
|
+
* @memberof BankAccountsApi
|
|
379
|
+
*/
|
|
380
|
+
setPrimaryBankAccount(requestParameters: BankAccountsApiSetPrimaryBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
204
381
|
}
|