@emilgroup/payment-sdk-node 1.21.1-beta.2 → 1.21.1-beta.3
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/README.md +2 -2
- package/api/bank-accounts-api.ts +24 -24
- package/api/bank-transaction-api.ts +20 -20
- package/api/payment-methods-api.ts +12 -12
- package/api/payment-reminders-api.ts +30 -30
- package/api/payment-setup-api.ts +8 -8
- package/api/payments-api.ts +12 -12
- package/api/refunds-api.ts +12 -12
- package/api/webhooks-api.ts +4 -4
- package/dist/api/bank-accounts-api.d.ts +24 -24
- package/dist/api/bank-accounts-api.js +24 -24
- package/dist/api/bank-transaction-api.d.ts +20 -20
- package/dist/api/bank-transaction-api.js +20 -20
- package/dist/api/payment-methods-api.d.ts +12 -12
- package/dist/api/payment-methods-api.js +12 -12
- package/dist/api/payment-reminders-api.d.ts +26 -26
- package/dist/api/payment-reminders-api.js +25 -25
- package/dist/api/payment-setup-api.d.ts +8 -8
- package/dist/api/payment-setup-api.js +8 -8
- package/dist/api/payments-api.d.ts +12 -12
- package/dist/api/payments-api.js +12 -12
- package/dist/api/refunds-api.d.ts +12 -12
- package/dist/api/refunds-api.js +12 -12
- package/dist/api/webhooks-api.d.ts +4 -4
- package/dist/api/webhooks-api.js +4 -4
- package/dist/models/bank-transaction-class-without-expand-properties.d.ts +8 -2
- package/dist/models/bank-transaction-class.d.ts +8 -2
- package/dist/models/unlinked-bank-transaction-response-class.d.ts +8 -2
- package/models/bank-transaction-class-without-expand-properties.ts +8 -2
- package/models/bank-transaction-class.ts +8 -2
- package/models/unlinked-bank-transaction-response-class.ts +8 -2
- package/package.json +1 -1
|
@@ -25,7 +25,7 @@ import { UpdateBankAccountResponseClass } from '../models';
|
|
|
25
25
|
*/
|
|
26
26
|
export declare const BankAccountsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
27
27
|
/**
|
|
28
|
-
* 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.
|
|
28
|
+
* 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. **Required Permissions** \"payment-management.bank-accounts.create\"
|
|
29
29
|
* @summary Create the bank account
|
|
30
30
|
* @param {CreateBankAccountRequestDto} createBankAccountRequestDto
|
|
31
31
|
* @param {string} [authorization] Bearer Token
|
|
@@ -34,7 +34,7 @@ export declare const BankAccountsApiAxiosParamCreator: (configuration?: Configur
|
|
|
34
34
|
*/
|
|
35
35
|
createBankAccount: (createBankAccountRequestDto: CreateBankAccountRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
36
36
|
/**
|
|
37
|
-
* 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.
|
|
37
|
+
* 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. **Required Permissions** \"payment-management.bank-accounts.delete\"
|
|
38
38
|
* @summary Delete the bank account
|
|
39
39
|
* @param {string} code Unique identifier for the object.
|
|
40
40
|
* @param {string} [authorization] Bearer Token
|
|
@@ -43,7 +43,7 @@ export declare const BankAccountsApiAxiosParamCreator: (configuration?: Configur
|
|
|
43
43
|
*/
|
|
44
44
|
deleteBankAccount: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
45
45
|
/**
|
|
46
|
-
* 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.
|
|
46
|
+
* 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. **Required Permissions** \"payment-management.bank-accounts.view\"
|
|
47
47
|
* @summary Retrieve the bank account
|
|
48
48
|
* @param {string} code
|
|
49
49
|
* @param {string} [authorization] Bearer Token
|
|
@@ -53,7 +53,7 @@ export declare const BankAccountsApiAxiosParamCreator: (configuration?: Configur
|
|
|
53
53
|
*/
|
|
54
54
|
getBankAccount: (code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
55
55
|
/**
|
|
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.
|
|
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
59
|
* @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>
|
|
@@ -65,7 +65,7 @@ export declare const BankAccountsApiAxiosParamCreator: (configuration?: Configur
|
|
|
65
65
|
*/
|
|
66
66
|
listBankAccounts: (authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
67
67
|
/**
|
|
68
|
-
* Set the primary bank account for the specified partner/account
|
|
68
|
+
* Set the primary bank account for the specified partner/account **Required Permissions** \"payment-management.bank-accounts.update\"
|
|
69
69
|
* @summary Set primary bank account
|
|
70
70
|
* @param {string} code Code of the bank account to set primary
|
|
71
71
|
* @param {SetPrimaryBankAccountRequestDtoRest} setPrimaryBankAccountRequestDtoRest
|
|
@@ -75,7 +75,7 @@ export declare const BankAccountsApiAxiosParamCreator: (configuration?: Configur
|
|
|
75
75
|
*/
|
|
76
76
|
setPrimaryBankAccount: (code: string, setPrimaryBankAccountRequestDtoRest: SetPrimaryBankAccountRequestDtoRest, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
77
77
|
/**
|
|
78
|
-
* Update a bank account by code
|
|
78
|
+
* Update a bank account by code **Required Permissions** \"payment-management.bank-accounts.update\"
|
|
79
79
|
* @summary Update the bank account
|
|
80
80
|
* @param {string} code Unique identifier for the object.
|
|
81
81
|
* @param {UpdateBankAccountRequestDtoRest} updateBankAccountRequestDtoRest
|
|
@@ -91,7 +91,7 @@ export declare const BankAccountsApiAxiosParamCreator: (configuration?: Configur
|
|
|
91
91
|
*/
|
|
92
92
|
export declare const BankAccountsApiFp: (configuration?: Configuration) => {
|
|
93
93
|
/**
|
|
94
|
-
* 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
|
+
* 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. **Required Permissions** \"payment-management.bank-accounts.create\"
|
|
95
95
|
* @summary Create the bank account
|
|
96
96
|
* @param {CreateBankAccountRequestDto} createBankAccountRequestDto
|
|
97
97
|
* @param {string} [authorization] Bearer Token
|
|
@@ -100,7 +100,7 @@ export declare const BankAccountsApiFp: (configuration?: Configuration) => {
|
|
|
100
100
|
*/
|
|
101
101
|
createBankAccount(createBankAccountRequestDto: CreateBankAccountRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateBankAccountResponseClass>>;
|
|
102
102
|
/**
|
|
103
|
-
* 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
|
+
* 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. **Required Permissions** \"payment-management.bank-accounts.delete\"
|
|
104
104
|
* @summary Delete the bank account
|
|
105
105
|
* @param {string} code Unique identifier for the object.
|
|
106
106
|
* @param {string} [authorization] Bearer Token
|
|
@@ -109,7 +109,7 @@ export declare const BankAccountsApiFp: (configuration?: Configuration) => {
|
|
|
109
109
|
*/
|
|
110
110
|
deleteBankAccount(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
|
|
111
111
|
/**
|
|
112
|
-
* 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
|
+
* 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. **Required Permissions** \"payment-management.bank-accounts.view\"
|
|
113
113
|
* @summary Retrieve the bank account
|
|
114
114
|
* @param {string} code
|
|
115
115
|
* @param {string} [authorization] Bearer Token
|
|
@@ -119,7 +119,7 @@ export declare const BankAccountsApiFp: (configuration?: Configuration) => {
|
|
|
119
119
|
*/
|
|
120
120
|
getBankAccount(code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBankAccountResponseClass>>;
|
|
121
121
|
/**
|
|
122
|
-
* 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.
|
|
122
|
+
* 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
123
|
* @summary List bank accounts
|
|
124
124
|
* @param {string} [authorization] Bearer Token
|
|
125
125
|
* @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>
|
|
@@ -131,7 +131,7 @@ export declare const BankAccountsApiFp: (configuration?: Configuration) => {
|
|
|
131
131
|
*/
|
|
132
132
|
listBankAccounts(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListBankAccountsResponseClass>>;
|
|
133
133
|
/**
|
|
134
|
-
* Set the primary bank account for the specified partner/account
|
|
134
|
+
* Set the primary bank account for the specified partner/account **Required Permissions** \"payment-management.bank-accounts.update\"
|
|
135
135
|
* @summary Set primary bank account
|
|
136
136
|
* @param {string} code Code of the bank account to set primary
|
|
137
137
|
* @param {SetPrimaryBankAccountRequestDtoRest} setPrimaryBankAccountRequestDtoRest
|
|
@@ -141,7 +141,7 @@ export declare const BankAccountsApiFp: (configuration?: Configuration) => {
|
|
|
141
141
|
*/
|
|
142
142
|
setPrimaryBankAccount(code: string, setPrimaryBankAccountRequestDtoRest: SetPrimaryBankAccountRequestDtoRest, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
|
|
143
143
|
/**
|
|
144
|
-
* Update a bank account by code
|
|
144
|
+
* Update a bank account by code **Required Permissions** \"payment-management.bank-accounts.update\"
|
|
145
145
|
* @summary Update the bank account
|
|
146
146
|
* @param {string} code Unique identifier for the object.
|
|
147
147
|
* @param {UpdateBankAccountRequestDtoRest} updateBankAccountRequestDtoRest
|
|
@@ -157,7 +157,7 @@ export declare const BankAccountsApiFp: (configuration?: Configuration) => {
|
|
|
157
157
|
*/
|
|
158
158
|
export declare const BankAccountsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
159
159
|
/**
|
|
160
|
-
* 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.
|
|
160
|
+
* 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. **Required Permissions** \"payment-management.bank-accounts.create\"
|
|
161
161
|
* @summary Create the bank account
|
|
162
162
|
* @param {CreateBankAccountRequestDto} createBankAccountRequestDto
|
|
163
163
|
* @param {string} [authorization] Bearer Token
|
|
@@ -166,7 +166,7 @@ export declare const BankAccountsApiFactory: (configuration?: Configuration, bas
|
|
|
166
166
|
*/
|
|
167
167
|
createBankAccount(createBankAccountRequestDto: CreateBankAccountRequestDto, authorization?: string, options?: any): AxiosPromise<CreateBankAccountResponseClass>;
|
|
168
168
|
/**
|
|
169
|
-
* 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.
|
|
169
|
+
* 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. **Required Permissions** \"payment-management.bank-accounts.delete\"
|
|
170
170
|
* @summary Delete the bank account
|
|
171
171
|
* @param {string} code Unique identifier for the object.
|
|
172
172
|
* @param {string} [authorization] Bearer Token
|
|
@@ -175,7 +175,7 @@ export declare const BankAccountsApiFactory: (configuration?: Configuration, bas
|
|
|
175
175
|
*/
|
|
176
176
|
deleteBankAccount(code: string, authorization?: string, options?: any): AxiosPromise<object>;
|
|
177
177
|
/**
|
|
178
|
-
* 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.
|
|
178
|
+
* 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. **Required Permissions** \"payment-management.bank-accounts.view\"
|
|
179
179
|
* @summary Retrieve the bank account
|
|
180
180
|
* @param {string} code
|
|
181
181
|
* @param {string} [authorization] Bearer Token
|
|
@@ -185,7 +185,7 @@ export declare const BankAccountsApiFactory: (configuration?: Configuration, bas
|
|
|
185
185
|
*/
|
|
186
186
|
getBankAccount(code: string, authorization?: string, expand?: string, options?: any): AxiosPromise<GetBankAccountResponseClass>;
|
|
187
187
|
/**
|
|
188
|
-
* 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.
|
|
188
|
+
* 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
189
|
* @summary List bank accounts
|
|
190
190
|
* @param {string} [authorization] Bearer Token
|
|
191
191
|
* @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>
|
|
@@ -197,7 +197,7 @@ export declare const BankAccountsApiFactory: (configuration?: Configuration, bas
|
|
|
197
197
|
*/
|
|
198
198
|
listBankAccounts(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListBankAccountsResponseClass>;
|
|
199
199
|
/**
|
|
200
|
-
* Set the primary bank account for the specified partner/account
|
|
200
|
+
* Set the primary bank account for the specified partner/account **Required Permissions** \"payment-management.bank-accounts.update\"
|
|
201
201
|
* @summary Set primary bank account
|
|
202
202
|
* @param {string} code Code of the bank account to set primary
|
|
203
203
|
* @param {SetPrimaryBankAccountRequestDtoRest} setPrimaryBankAccountRequestDtoRest
|
|
@@ -207,7 +207,7 @@ export declare const BankAccountsApiFactory: (configuration?: Configuration, bas
|
|
|
207
207
|
*/
|
|
208
208
|
setPrimaryBankAccount(code: string, setPrimaryBankAccountRequestDtoRest: SetPrimaryBankAccountRequestDtoRest, authorization?: string, options?: any): AxiosPromise<object>;
|
|
209
209
|
/**
|
|
210
|
-
* Update a bank account by code
|
|
210
|
+
* Update a bank account by code **Required Permissions** \"payment-management.bank-accounts.update\"
|
|
211
211
|
* @summary Update the bank account
|
|
212
212
|
* @param {string} code Unique identifier for the object.
|
|
213
213
|
* @param {UpdateBankAccountRequestDtoRest} updateBankAccountRequestDtoRest
|
|
@@ -375,7 +375,7 @@ export interface BankAccountsApiUpdateBankAccountRequest {
|
|
|
375
375
|
*/
|
|
376
376
|
export declare class BankAccountsApi extends BaseAPI {
|
|
377
377
|
/**
|
|
378
|
-
* 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.
|
|
378
|
+
* 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. **Required Permissions** \"payment-management.bank-accounts.create\"
|
|
379
379
|
* @summary Create the bank account
|
|
380
380
|
* @param {BankAccountsApiCreateBankAccountRequest} requestParameters Request parameters.
|
|
381
381
|
* @param {*} [options] Override http request option.
|
|
@@ -384,7 +384,7 @@ export declare class BankAccountsApi extends BaseAPI {
|
|
|
384
384
|
*/
|
|
385
385
|
createBankAccount(requestParameters: BankAccountsApiCreateBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateBankAccountResponseClass, any>>;
|
|
386
386
|
/**
|
|
387
|
-
* 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.
|
|
387
|
+
* 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. **Required Permissions** \"payment-management.bank-accounts.delete\"
|
|
388
388
|
* @summary Delete the bank account
|
|
389
389
|
* @param {BankAccountsApiDeleteBankAccountRequest} requestParameters Request parameters.
|
|
390
390
|
* @param {*} [options] Override http request option.
|
|
@@ -393,7 +393,7 @@ export declare class BankAccountsApi extends BaseAPI {
|
|
|
393
393
|
*/
|
|
394
394
|
deleteBankAccount(requestParameters: BankAccountsApiDeleteBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
|
|
395
395
|
/**
|
|
396
|
-
* 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.
|
|
396
|
+
* 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. **Required Permissions** \"payment-management.bank-accounts.view\"
|
|
397
397
|
* @summary Retrieve the bank account
|
|
398
398
|
* @param {BankAccountsApiGetBankAccountRequest} requestParameters Request parameters.
|
|
399
399
|
* @param {*} [options] Override http request option.
|
|
@@ -402,7 +402,7 @@ export declare class BankAccountsApi extends BaseAPI {
|
|
|
402
402
|
*/
|
|
403
403
|
getBankAccount(requestParameters: BankAccountsApiGetBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetBankAccountResponseClass, any>>;
|
|
404
404
|
/**
|
|
405
|
-
* 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.
|
|
405
|
+
* 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\"
|
|
406
406
|
* @summary List bank accounts
|
|
407
407
|
* @param {BankAccountsApiListBankAccountsRequest} requestParameters Request parameters.
|
|
408
408
|
* @param {*} [options] Override http request option.
|
|
@@ -411,7 +411,7 @@ export declare class BankAccountsApi extends BaseAPI {
|
|
|
411
411
|
*/
|
|
412
412
|
listBankAccounts(requestParameters?: BankAccountsApiListBankAccountsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListBankAccountsResponseClass, any>>;
|
|
413
413
|
/**
|
|
414
|
-
* Set the primary bank account for the specified partner/account
|
|
414
|
+
* Set the primary bank account for the specified partner/account **Required Permissions** \"payment-management.bank-accounts.update\"
|
|
415
415
|
* @summary Set primary bank account
|
|
416
416
|
* @param {BankAccountsApiSetPrimaryBankAccountRequest} requestParameters Request parameters.
|
|
417
417
|
* @param {*} [options] Override http request option.
|
|
@@ -420,7 +420,7 @@ export declare class BankAccountsApi extends BaseAPI {
|
|
|
420
420
|
*/
|
|
421
421
|
setPrimaryBankAccount(requestParameters: BankAccountsApiSetPrimaryBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
|
|
422
422
|
/**
|
|
423
|
-
* Update a bank account by code
|
|
423
|
+
* Update a bank account by code **Required Permissions** \"payment-management.bank-accounts.update\"
|
|
424
424
|
* @summary Update the bank account
|
|
425
425
|
* @param {BankAccountsApiUpdateBankAccountRequest} requestParameters Request parameters.
|
|
426
426
|
* @param {*} [options] Override http request option.
|
|
@@ -97,7 +97,7 @@ var BankAccountsApiAxiosParamCreator = function (configuration) {
|
|
|
97
97
|
var _this = this;
|
|
98
98
|
return {
|
|
99
99
|
/**
|
|
100
|
-
* 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.
|
|
100
|
+
* 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. **Required Permissions** \"payment-management.bank-accounts.create\"
|
|
101
101
|
* @summary Create the bank account
|
|
102
102
|
* @param {CreateBankAccountRequestDto} createBankAccountRequestDto
|
|
103
103
|
* @param {string} [authorization] Bearer Token
|
|
@@ -146,7 +146,7 @@ var BankAccountsApiAxiosParamCreator = function (configuration) {
|
|
|
146
146
|
});
|
|
147
147
|
},
|
|
148
148
|
/**
|
|
149
|
-
* 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.
|
|
149
|
+
* 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. **Required Permissions** \"payment-management.bank-accounts.delete\"
|
|
150
150
|
* @summary Delete the bank account
|
|
151
151
|
* @param {string} code Unique identifier for the object.
|
|
152
152
|
* @param {string} [authorization] Bearer Token
|
|
@@ -194,7 +194,7 @@ var BankAccountsApiAxiosParamCreator = function (configuration) {
|
|
|
194
194
|
});
|
|
195
195
|
},
|
|
196
196
|
/**
|
|
197
|
-
* 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.
|
|
197
|
+
* 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. **Required Permissions** \"payment-management.bank-accounts.view\"
|
|
198
198
|
* @summary Retrieve the bank account
|
|
199
199
|
* @param {string} code
|
|
200
200
|
* @param {string} [authorization] Bearer Token
|
|
@@ -246,7 +246,7 @@ var BankAccountsApiAxiosParamCreator = function (configuration) {
|
|
|
246
246
|
});
|
|
247
247
|
},
|
|
248
248
|
/**
|
|
249
|
-
* 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.
|
|
249
|
+
* 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\"
|
|
250
250
|
* @summary List bank accounts
|
|
251
251
|
* @param {string} [authorization] Bearer Token
|
|
252
252
|
* @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>
|
|
@@ -306,7 +306,7 @@ var BankAccountsApiAxiosParamCreator = function (configuration) {
|
|
|
306
306
|
});
|
|
307
307
|
},
|
|
308
308
|
/**
|
|
309
|
-
* Set the primary bank account for the specified partner/account
|
|
309
|
+
* Set the primary bank account for the specified partner/account **Required Permissions** \"payment-management.bank-accounts.update\"
|
|
310
310
|
* @summary Set primary bank account
|
|
311
311
|
* @param {string} code Code of the bank account to set primary
|
|
312
312
|
* @param {SetPrimaryBankAccountRequestDtoRest} setPrimaryBankAccountRequestDtoRest
|
|
@@ -359,7 +359,7 @@ var BankAccountsApiAxiosParamCreator = function (configuration) {
|
|
|
359
359
|
});
|
|
360
360
|
},
|
|
361
361
|
/**
|
|
362
|
-
* Update a bank account by code
|
|
362
|
+
* Update a bank account by code **Required Permissions** \"payment-management.bank-accounts.update\"
|
|
363
363
|
* @summary Update the bank account
|
|
364
364
|
* @param {string} code Unique identifier for the object.
|
|
365
365
|
* @param {UpdateBankAccountRequestDtoRest} updateBankAccountRequestDtoRest
|
|
@@ -422,7 +422,7 @@ var BankAccountsApiFp = function (configuration) {
|
|
|
422
422
|
var localVarAxiosParamCreator = (0, exports.BankAccountsApiAxiosParamCreator)(configuration);
|
|
423
423
|
return {
|
|
424
424
|
/**
|
|
425
|
-
* 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.
|
|
425
|
+
* 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. **Required Permissions** \"payment-management.bank-accounts.create\"
|
|
426
426
|
* @summary Create the bank account
|
|
427
427
|
* @param {CreateBankAccountRequestDto} createBankAccountRequestDto
|
|
428
428
|
* @param {string} [authorization] Bearer Token
|
|
@@ -443,7 +443,7 @@ var BankAccountsApiFp = function (configuration) {
|
|
|
443
443
|
});
|
|
444
444
|
},
|
|
445
445
|
/**
|
|
446
|
-
* 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.
|
|
446
|
+
* 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. **Required Permissions** \"payment-management.bank-accounts.delete\"
|
|
447
447
|
* @summary Delete the bank account
|
|
448
448
|
* @param {string} code Unique identifier for the object.
|
|
449
449
|
* @param {string} [authorization] Bearer Token
|
|
@@ -464,7 +464,7 @@ var BankAccountsApiFp = function (configuration) {
|
|
|
464
464
|
});
|
|
465
465
|
},
|
|
466
466
|
/**
|
|
467
|
-
* 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.
|
|
467
|
+
* 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. **Required Permissions** \"payment-management.bank-accounts.view\"
|
|
468
468
|
* @summary Retrieve the bank account
|
|
469
469
|
* @param {string} code
|
|
470
470
|
* @param {string} [authorization] Bearer Token
|
|
@@ -486,7 +486,7 @@ var BankAccountsApiFp = function (configuration) {
|
|
|
486
486
|
});
|
|
487
487
|
},
|
|
488
488
|
/**
|
|
489
|
-
* 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.
|
|
489
|
+
* 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\"
|
|
490
490
|
* @summary List bank accounts
|
|
491
491
|
* @param {string} [authorization] Bearer Token
|
|
492
492
|
* @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>
|
|
@@ -510,7 +510,7 @@ var BankAccountsApiFp = function (configuration) {
|
|
|
510
510
|
});
|
|
511
511
|
},
|
|
512
512
|
/**
|
|
513
|
-
* Set the primary bank account for the specified partner/account
|
|
513
|
+
* Set the primary bank account for the specified partner/account **Required Permissions** \"payment-management.bank-accounts.update\"
|
|
514
514
|
* @summary Set primary bank account
|
|
515
515
|
* @param {string} code Code of the bank account to set primary
|
|
516
516
|
* @param {SetPrimaryBankAccountRequestDtoRest} setPrimaryBankAccountRequestDtoRest
|
|
@@ -532,7 +532,7 @@ var BankAccountsApiFp = function (configuration) {
|
|
|
532
532
|
});
|
|
533
533
|
},
|
|
534
534
|
/**
|
|
535
|
-
* Update a bank account by code
|
|
535
|
+
* Update a bank account by code **Required Permissions** \"payment-management.bank-accounts.update\"
|
|
536
536
|
* @summary Update the bank account
|
|
537
537
|
* @param {string} code Unique identifier for the object.
|
|
538
538
|
* @param {UpdateBankAccountRequestDtoRest} updateBankAccountRequestDtoRest
|
|
@@ -564,7 +564,7 @@ var BankAccountsApiFactory = function (configuration, basePath, axios) {
|
|
|
564
564
|
var localVarFp = (0, exports.BankAccountsApiFp)(configuration);
|
|
565
565
|
return {
|
|
566
566
|
/**
|
|
567
|
-
* 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.
|
|
567
|
+
* 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. **Required Permissions** \"payment-management.bank-accounts.create\"
|
|
568
568
|
* @summary Create the bank account
|
|
569
569
|
* @param {CreateBankAccountRequestDto} createBankAccountRequestDto
|
|
570
570
|
* @param {string} [authorization] Bearer Token
|
|
@@ -575,7 +575,7 @@ var BankAccountsApiFactory = function (configuration, basePath, axios) {
|
|
|
575
575
|
return localVarFp.createBankAccount(createBankAccountRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
576
576
|
},
|
|
577
577
|
/**
|
|
578
|
-
* 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.
|
|
578
|
+
* 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. **Required Permissions** \"payment-management.bank-accounts.delete\"
|
|
579
579
|
* @summary Delete the bank account
|
|
580
580
|
* @param {string} code Unique identifier for the object.
|
|
581
581
|
* @param {string} [authorization] Bearer Token
|
|
@@ -586,7 +586,7 @@ var BankAccountsApiFactory = function (configuration, basePath, axios) {
|
|
|
586
586
|
return localVarFp.deleteBankAccount(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
587
587
|
},
|
|
588
588
|
/**
|
|
589
|
-
* 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.
|
|
589
|
+
* 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. **Required Permissions** \"payment-management.bank-accounts.view\"
|
|
590
590
|
* @summary Retrieve the bank account
|
|
591
591
|
* @param {string} code
|
|
592
592
|
* @param {string} [authorization] Bearer Token
|
|
@@ -598,7 +598,7 @@ var BankAccountsApiFactory = function (configuration, basePath, axios) {
|
|
|
598
598
|
return localVarFp.getBankAccount(code, authorization, expand, options).then(function (request) { return request(axios, basePath); });
|
|
599
599
|
},
|
|
600
600
|
/**
|
|
601
|
-
* 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.
|
|
601
|
+
* 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\"
|
|
602
602
|
* @summary List bank accounts
|
|
603
603
|
* @param {string} [authorization] Bearer Token
|
|
604
604
|
* @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>
|
|
@@ -612,7 +612,7 @@ var BankAccountsApiFactory = function (configuration, basePath, axios) {
|
|
|
612
612
|
return localVarFp.listBankAccounts(authorization, filter, filters, order, expand, options).then(function (request) { return request(axios, basePath); });
|
|
613
613
|
},
|
|
614
614
|
/**
|
|
615
|
-
* Set the primary bank account for the specified partner/account
|
|
615
|
+
* Set the primary bank account for the specified partner/account **Required Permissions** \"payment-management.bank-accounts.update\"
|
|
616
616
|
* @summary Set primary bank account
|
|
617
617
|
* @param {string} code Code of the bank account to set primary
|
|
618
618
|
* @param {SetPrimaryBankAccountRequestDtoRest} setPrimaryBankAccountRequestDtoRest
|
|
@@ -624,7 +624,7 @@ var BankAccountsApiFactory = function (configuration, basePath, axios) {
|
|
|
624
624
|
return localVarFp.setPrimaryBankAccount(code, setPrimaryBankAccountRequestDtoRest, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
625
625
|
},
|
|
626
626
|
/**
|
|
627
|
-
* Update a bank account by code
|
|
627
|
+
* Update a bank account by code **Required Permissions** \"payment-management.bank-accounts.update\"
|
|
628
628
|
* @summary Update the bank account
|
|
629
629
|
* @param {string} code Unique identifier for the object.
|
|
630
630
|
* @param {UpdateBankAccountRequestDtoRest} updateBankAccountRequestDtoRest
|
|
@@ -650,7 +650,7 @@ var BankAccountsApi = /** @class */ (function (_super) {
|
|
|
650
650
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
651
651
|
}
|
|
652
652
|
/**
|
|
653
|
-
* 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.
|
|
653
|
+
* 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. **Required Permissions** \"payment-management.bank-accounts.create\"
|
|
654
654
|
* @summary Create the bank account
|
|
655
655
|
* @param {BankAccountsApiCreateBankAccountRequest} requestParameters Request parameters.
|
|
656
656
|
* @param {*} [options] Override http request option.
|
|
@@ -662,7 +662,7 @@ var BankAccountsApi = /** @class */ (function (_super) {
|
|
|
662
662
|
return (0, exports.BankAccountsApiFp)(this.configuration).createBankAccount(requestParameters.createBankAccountRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
663
663
|
};
|
|
664
664
|
/**
|
|
665
|
-
* 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.
|
|
665
|
+
* 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. **Required Permissions** \"payment-management.bank-accounts.delete\"
|
|
666
666
|
* @summary Delete the bank account
|
|
667
667
|
* @param {BankAccountsApiDeleteBankAccountRequest} requestParameters Request parameters.
|
|
668
668
|
* @param {*} [options] Override http request option.
|
|
@@ -674,7 +674,7 @@ var BankAccountsApi = /** @class */ (function (_super) {
|
|
|
674
674
|
return (0, exports.BankAccountsApiFp)(this.configuration).deleteBankAccount(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
675
675
|
};
|
|
676
676
|
/**
|
|
677
|
-
* 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.
|
|
677
|
+
* 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. **Required Permissions** \"payment-management.bank-accounts.view\"
|
|
678
678
|
* @summary Retrieve the bank account
|
|
679
679
|
* @param {BankAccountsApiGetBankAccountRequest} requestParameters Request parameters.
|
|
680
680
|
* @param {*} [options] Override http request option.
|
|
@@ -686,7 +686,7 @@ var BankAccountsApi = /** @class */ (function (_super) {
|
|
|
686
686
|
return (0, exports.BankAccountsApiFp)(this.configuration).getBankAccount(requestParameters.code, requestParameters.authorization, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
687
687
|
};
|
|
688
688
|
/**
|
|
689
|
-
* 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.
|
|
689
|
+
* 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\"
|
|
690
690
|
* @summary List bank accounts
|
|
691
691
|
* @param {BankAccountsApiListBankAccountsRequest} requestParameters Request parameters.
|
|
692
692
|
* @param {*} [options] Override http request option.
|
|
@@ -699,7 +699,7 @@ var BankAccountsApi = /** @class */ (function (_super) {
|
|
|
699
699
|
return (0, exports.BankAccountsApiFp)(this.configuration).listBankAccounts(requestParameters.authorization, requestParameters.filter, requestParameters.filters, requestParameters.order, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
700
700
|
};
|
|
701
701
|
/**
|
|
702
|
-
* Set the primary bank account for the specified partner/account
|
|
702
|
+
* Set the primary bank account for the specified partner/account **Required Permissions** \"payment-management.bank-accounts.update\"
|
|
703
703
|
* @summary Set primary bank account
|
|
704
704
|
* @param {BankAccountsApiSetPrimaryBankAccountRequest} requestParameters Request parameters.
|
|
705
705
|
* @param {*} [options] Override http request option.
|
|
@@ -711,7 +711,7 @@ var BankAccountsApi = /** @class */ (function (_super) {
|
|
|
711
711
|
return (0, exports.BankAccountsApiFp)(this.configuration).setPrimaryBankAccount(requestParameters.code, requestParameters.setPrimaryBankAccountRequestDtoRest, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
712
712
|
};
|
|
713
713
|
/**
|
|
714
|
-
* Update a bank account by code
|
|
714
|
+
* Update a bank account by code **Required Permissions** \"payment-management.bank-accounts.update\"
|
|
715
715
|
* @summary Update the bank account
|
|
716
716
|
* @param {BankAccountsApiUpdateBankAccountRequest} requestParameters Request parameters.
|
|
717
717
|
* @param {*} [options] Override http request option.
|
|
@@ -25,7 +25,7 @@ import { UnlinkBankTransactionsResponseClass } from '../models';
|
|
|
25
25
|
*/
|
|
26
26
|
export declare const BankTransactionApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
27
27
|
/**
|
|
28
|
-
* Retrieves the details of the bank transaction that was previously created. Supply the unique bank transaction code that was returned when you created it and Emil Api will return the corresponding bank transaction information.
|
|
28
|
+
* Retrieves the details of the bank transaction that was previously created. Supply the unique bank transaction code that was returned when you created it and Emil Api will return the corresponding bank transaction information. **Required Permissions** \"payment-management.bank-accounts.view\"
|
|
29
29
|
* @summary Retrieve the bank transaction
|
|
30
30
|
* @param {string} code
|
|
31
31
|
* @param {string} [authorization] Bearer Token
|
|
@@ -35,7 +35,7 @@ export declare const BankTransactionApiAxiosParamCreator: (configuration?: Confi
|
|
|
35
35
|
*/
|
|
36
36
|
getBankTransaction: (code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
37
37
|
/**
|
|
38
|
-
* This will import bank transactions from a swift MT940 file
|
|
38
|
+
* This will import bank transactions from a swift MT940 file **Required Permissions** \"payment-management.bank-accounts.view\"
|
|
39
39
|
* @summary Create the bank transactions
|
|
40
40
|
* @param {any} file Swift MT940 file to import bank transactions from. Extension must be .txt or .sta.<br/> Allowed Content Types: text/plain, application/octet-stream
|
|
41
41
|
* @param {string} [authorization] Bearer Token
|
|
@@ -44,7 +44,7 @@ export declare const BankTransactionApiAxiosParamCreator: (configuration?: Confi
|
|
|
44
44
|
*/
|
|
45
45
|
importBankTransactions: (file: any, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
46
46
|
/**
|
|
47
|
-
* Links a bank transaction with an invoice
|
|
47
|
+
* Links a bank transaction with an invoice **Required Permissions** \"payment-management.bank-accounts.create\"
|
|
48
48
|
* @summary Link bank transaction
|
|
49
49
|
* @param {string} code Code of the bank transaction to link
|
|
50
50
|
* @param {LinkBankTransactionRequestDtoRest} linkBankTransactionRequestDtoRest
|
|
@@ -54,7 +54,7 @@ export declare const BankTransactionApiAxiosParamCreator: (configuration?: Confi
|
|
|
54
54
|
*/
|
|
55
55
|
linkBankTransaction: (code: string, linkBankTransactionRequestDtoRest: LinkBankTransactionRequestDtoRest, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
56
56
|
/**
|
|
57
|
-
* Returns a list of bank transactions you have previously created. The bank transactions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
57
|
+
* Returns a list of bank transactions you have previously created. The bank transactions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.bank-accounts.view\"
|
|
58
58
|
* @summary List bank transactions
|
|
59
59
|
* @param {string} [authorization] Bearer Token
|
|
60
60
|
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, bankAccountId, bankAccountNumber, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
|
|
@@ -67,7 +67,7 @@ export declare const BankTransactionApiAxiosParamCreator: (configuration?: Confi
|
|
|
67
67
|
*/
|
|
68
68
|
listBankTransactions: (authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
69
69
|
/**
|
|
70
|
-
* Unlinks an already linked bank transaction
|
|
70
|
+
* Unlinks an already linked bank transaction **Required Permissions** \"payment-management.bank-accounts.update\"
|
|
71
71
|
* @summary Unlink bank transaction
|
|
72
72
|
* @param {string} code Code of the bank transaction to unlink
|
|
73
73
|
* @param {UnlinkBankTransactionRequestDtoRest} unlinkBankTransactionRequestDtoRest
|
|
@@ -83,7 +83,7 @@ export declare const BankTransactionApiAxiosParamCreator: (configuration?: Confi
|
|
|
83
83
|
*/
|
|
84
84
|
export declare const BankTransactionApiFp: (configuration?: Configuration) => {
|
|
85
85
|
/**
|
|
86
|
-
* Retrieves the details of the bank transaction that was previously created. Supply the unique bank transaction code that was returned when you created it and Emil Api will return the corresponding bank transaction information.
|
|
86
|
+
* Retrieves the details of the bank transaction that was previously created. Supply the unique bank transaction code that was returned when you created it and Emil Api will return the corresponding bank transaction information. **Required Permissions** \"payment-management.bank-accounts.view\"
|
|
87
87
|
* @summary Retrieve the bank transaction
|
|
88
88
|
* @param {string} code
|
|
89
89
|
* @param {string} [authorization] Bearer Token
|
|
@@ -93,7 +93,7 @@ export declare const BankTransactionApiFp: (configuration?: Configuration) => {
|
|
|
93
93
|
*/
|
|
94
94
|
getBankTransaction(code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBankTransactionsResponseClass>>;
|
|
95
95
|
/**
|
|
96
|
-
* This will import bank transactions from a swift MT940 file
|
|
96
|
+
* This will import bank transactions from a swift MT940 file **Required Permissions** \"payment-management.bank-accounts.view\"
|
|
97
97
|
* @summary Create the bank transactions
|
|
98
98
|
* @param {any} file Swift MT940 file to import bank transactions from. Extension must be .txt or .sta.<br/> Allowed Content Types: text/plain, application/octet-stream
|
|
99
99
|
* @param {string} [authorization] Bearer Token
|
|
@@ -102,7 +102,7 @@ export declare const BankTransactionApiFp: (configuration?: Configuration) => {
|
|
|
102
102
|
*/
|
|
103
103
|
importBankTransactions(file: any, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ImportBankTransactionsResponseClass>>;
|
|
104
104
|
/**
|
|
105
|
-
* Links a bank transaction with an invoice
|
|
105
|
+
* Links a bank transaction with an invoice **Required Permissions** \"payment-management.bank-accounts.create\"
|
|
106
106
|
* @summary Link bank transaction
|
|
107
107
|
* @param {string} code Code of the bank transaction to link
|
|
108
108
|
* @param {LinkBankTransactionRequestDtoRest} linkBankTransactionRequestDtoRest
|
|
@@ -112,7 +112,7 @@ export declare const BankTransactionApiFp: (configuration?: Configuration) => {
|
|
|
112
112
|
*/
|
|
113
113
|
linkBankTransaction(code: string, linkBankTransactionRequestDtoRest: LinkBankTransactionRequestDtoRest, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LinkBankTransactionsResponseClass>>;
|
|
114
114
|
/**
|
|
115
|
-
* Returns a list of bank transactions you have previously created. The bank transactions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
115
|
+
* Returns a list of bank transactions you have previously created. The bank transactions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.bank-accounts.view\"
|
|
116
116
|
* @summary List bank transactions
|
|
117
117
|
* @param {string} [authorization] Bearer Token
|
|
118
118
|
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, bankAccountId, bankAccountNumber, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
|
|
@@ -125,7 +125,7 @@ export declare const BankTransactionApiFp: (configuration?: Configuration) => {
|
|
|
125
125
|
*/
|
|
126
126
|
listBankTransactions(authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListBankTransactionsResponseClass>>;
|
|
127
127
|
/**
|
|
128
|
-
* Unlinks an already linked bank transaction
|
|
128
|
+
* Unlinks an already linked bank transaction **Required Permissions** \"payment-management.bank-accounts.update\"
|
|
129
129
|
* @summary Unlink bank transaction
|
|
130
130
|
* @param {string} code Code of the bank transaction to unlink
|
|
131
131
|
* @param {UnlinkBankTransactionRequestDtoRest} unlinkBankTransactionRequestDtoRest
|
|
@@ -141,7 +141,7 @@ export declare const BankTransactionApiFp: (configuration?: Configuration) => {
|
|
|
141
141
|
*/
|
|
142
142
|
export declare const BankTransactionApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
143
143
|
/**
|
|
144
|
-
* Retrieves the details of the bank transaction that was previously created. Supply the unique bank transaction code that was returned when you created it and Emil Api will return the corresponding bank transaction information.
|
|
144
|
+
* Retrieves the details of the bank transaction that was previously created. Supply the unique bank transaction code that was returned when you created it and Emil Api will return the corresponding bank transaction information. **Required Permissions** \"payment-management.bank-accounts.view\"
|
|
145
145
|
* @summary Retrieve the bank transaction
|
|
146
146
|
* @param {string} code
|
|
147
147
|
* @param {string} [authorization] Bearer Token
|
|
@@ -151,7 +151,7 @@ export declare const BankTransactionApiFactory: (configuration?: Configuration,
|
|
|
151
151
|
*/
|
|
152
152
|
getBankTransaction(code: string, authorization?: string, expand?: string, options?: any): AxiosPromise<GetBankTransactionsResponseClass>;
|
|
153
153
|
/**
|
|
154
|
-
* This will import bank transactions from a swift MT940 file
|
|
154
|
+
* This will import bank transactions from a swift MT940 file **Required Permissions** \"payment-management.bank-accounts.view\"
|
|
155
155
|
* @summary Create the bank transactions
|
|
156
156
|
* @param {any} file Swift MT940 file to import bank transactions from. Extension must be .txt or .sta.<br/> Allowed Content Types: text/plain, application/octet-stream
|
|
157
157
|
* @param {string} [authorization] Bearer Token
|
|
@@ -160,7 +160,7 @@ export declare const BankTransactionApiFactory: (configuration?: Configuration,
|
|
|
160
160
|
*/
|
|
161
161
|
importBankTransactions(file: any, authorization?: string, options?: any): AxiosPromise<ImportBankTransactionsResponseClass>;
|
|
162
162
|
/**
|
|
163
|
-
* Links a bank transaction with an invoice
|
|
163
|
+
* Links a bank transaction with an invoice **Required Permissions** \"payment-management.bank-accounts.create\"
|
|
164
164
|
* @summary Link bank transaction
|
|
165
165
|
* @param {string} code Code of the bank transaction to link
|
|
166
166
|
* @param {LinkBankTransactionRequestDtoRest} linkBankTransactionRequestDtoRest
|
|
@@ -170,7 +170,7 @@ export declare const BankTransactionApiFactory: (configuration?: Configuration,
|
|
|
170
170
|
*/
|
|
171
171
|
linkBankTransaction(code: string, linkBankTransactionRequestDtoRest: LinkBankTransactionRequestDtoRest, authorization?: string, options?: any): AxiosPromise<LinkBankTransactionsResponseClass>;
|
|
172
172
|
/**
|
|
173
|
-
* Returns a list of bank transactions you have previously created. The bank transactions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
173
|
+
* Returns a list of bank transactions you have previously created. The bank transactions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.bank-accounts.view\"
|
|
174
174
|
* @summary List bank transactions
|
|
175
175
|
* @param {string} [authorization] Bearer Token
|
|
176
176
|
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, bankAccountId, bankAccountNumber, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
|
|
@@ -183,7 +183,7 @@ export declare const BankTransactionApiFactory: (configuration?: Configuration,
|
|
|
183
183
|
*/
|
|
184
184
|
listBankTransactions(authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListBankTransactionsResponseClass>;
|
|
185
185
|
/**
|
|
186
|
-
* Unlinks an already linked bank transaction
|
|
186
|
+
* Unlinks an already linked bank transaction **Required Permissions** \"payment-management.bank-accounts.update\"
|
|
187
187
|
* @summary Unlink bank transaction
|
|
188
188
|
* @param {string} code Code of the bank transaction to unlink
|
|
189
189
|
* @param {UnlinkBankTransactionRequestDtoRest} unlinkBankTransactionRequestDtoRest
|
|
@@ -338,7 +338,7 @@ export interface BankTransactionApiUnlinkBankTransactionRequest {
|
|
|
338
338
|
*/
|
|
339
339
|
export declare class BankTransactionApi extends BaseAPI {
|
|
340
340
|
/**
|
|
341
|
-
* Retrieves the details of the bank transaction that was previously created. Supply the unique bank transaction code that was returned when you created it and Emil Api will return the corresponding bank transaction information.
|
|
341
|
+
* Retrieves the details of the bank transaction that was previously created. Supply the unique bank transaction code that was returned when you created it and Emil Api will return the corresponding bank transaction information. **Required Permissions** \"payment-management.bank-accounts.view\"
|
|
342
342
|
* @summary Retrieve the bank transaction
|
|
343
343
|
* @param {BankTransactionApiGetBankTransactionRequest} requestParameters Request parameters.
|
|
344
344
|
* @param {*} [options] Override http request option.
|
|
@@ -347,7 +347,7 @@ export declare class BankTransactionApi extends BaseAPI {
|
|
|
347
347
|
*/
|
|
348
348
|
getBankTransaction(requestParameters: BankTransactionApiGetBankTransactionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetBankTransactionsResponseClass, any>>;
|
|
349
349
|
/**
|
|
350
|
-
* This will import bank transactions from a swift MT940 file
|
|
350
|
+
* This will import bank transactions from a swift MT940 file **Required Permissions** \"payment-management.bank-accounts.view\"
|
|
351
351
|
* @summary Create the bank transactions
|
|
352
352
|
* @param {BankTransactionApiImportBankTransactionsRequest} requestParameters Request parameters.
|
|
353
353
|
* @param {*} [options] Override http request option.
|
|
@@ -356,7 +356,7 @@ export declare class BankTransactionApi extends BaseAPI {
|
|
|
356
356
|
*/
|
|
357
357
|
importBankTransactions(requestParameters: BankTransactionApiImportBankTransactionsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ImportBankTransactionsResponseClass, any>>;
|
|
358
358
|
/**
|
|
359
|
-
* Links a bank transaction with an invoice
|
|
359
|
+
* Links a bank transaction with an invoice **Required Permissions** \"payment-management.bank-accounts.create\"
|
|
360
360
|
* @summary Link bank transaction
|
|
361
361
|
* @param {BankTransactionApiLinkBankTransactionRequest} requestParameters Request parameters.
|
|
362
362
|
* @param {*} [options] Override http request option.
|
|
@@ -365,7 +365,7 @@ export declare class BankTransactionApi extends BaseAPI {
|
|
|
365
365
|
*/
|
|
366
366
|
linkBankTransaction(requestParameters: BankTransactionApiLinkBankTransactionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<LinkBankTransactionsResponseClass, any>>;
|
|
367
367
|
/**
|
|
368
|
-
* Returns a list of bank transactions you have previously created. The bank transactions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
368
|
+
* Returns a list of bank transactions you have previously created. The bank transactions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.bank-accounts.view\"
|
|
369
369
|
* @summary List bank transactions
|
|
370
370
|
* @param {BankTransactionApiListBankTransactionsRequest} requestParameters Request parameters.
|
|
371
371
|
* @param {*} [options] Override http request option.
|
|
@@ -374,7 +374,7 @@ export declare class BankTransactionApi extends BaseAPI {
|
|
|
374
374
|
*/
|
|
375
375
|
listBankTransactions(requestParameters?: BankTransactionApiListBankTransactionsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListBankTransactionsResponseClass, any>>;
|
|
376
376
|
/**
|
|
377
|
-
* Unlinks an already linked bank transaction
|
|
377
|
+
* Unlinks an already linked bank transaction **Required Permissions** \"payment-management.bank-accounts.update\"
|
|
378
378
|
* @summary Unlink bank transaction
|
|
379
379
|
* @param {BankTransactionApiUnlinkBankTransactionRequest} requestParameters Request parameters.
|
|
380
380
|
* @param {*} [options] Override http request option.
|