@emilgroup/accounting-sdk-node 1.0.1-beta.5 → 1.1.0
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/financial-accounts-api.ts +24 -24
- package/dist/api/financial-accounts-api.d.ts +24 -24
- package/dist/api/financial-accounts-api.js +24 -24
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
|
|
|
17
17
|
Navigate to the folder of your consuming project and run one of the following commands:
|
|
18
18
|
|
|
19
19
|
```
|
|
20
|
-
npm install @emilgroup/accounting-sdk-node@1.
|
|
20
|
+
npm install @emilgroup/accounting-sdk-node@1.1.0 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/accounting-sdk-node@1.
|
|
24
|
+
yarn add @emilgroup/accounting-sdk-node@1.1.0
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `FinancialAccountsApi`.
|
|
@@ -39,8 +39,8 @@ const FormData = require('form-data');
|
|
|
39
39
|
export const FinancialAccountsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
40
40
|
return {
|
|
41
41
|
/**
|
|
42
|
-
* This will create an account in the database. The account will be created with the provided name, type, and account number. Optionally, you can provide a parent account ID to create a sub-account.
|
|
43
|
-
* @summary Create the
|
|
42
|
+
* This will create an financial account in the database. The financial account will be created with the provided name, type, and account number. Optionally, you can provide a parent financial account ID to create a sub-account.
|
|
43
|
+
* @summary Create the Financial Account
|
|
44
44
|
* @param {CreateFinancialAccountRequestDto} createFinancialAccountRequestDto
|
|
45
45
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
46
46
|
* @param {*} [options] Override http request option.
|
|
@@ -86,8 +86,8 @@ export const FinancialAccountsApiAxiosParamCreator = function (configuration?: C
|
|
|
86
86
|
};
|
|
87
87
|
},
|
|
88
88
|
/**
|
|
89
|
-
* Permanently deletes the
|
|
90
|
-
* @summary Delete the
|
|
89
|
+
* Permanently deletes the Financial Account. Supply the unique code that was returned when you created the Financial Account and this will delete it.
|
|
90
|
+
* @summary Delete the Financial Account
|
|
91
91
|
* @param {string} code Unique identifier for the object.
|
|
92
92
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
93
93
|
* @param {*} [options] Override http request option.
|
|
@@ -131,8 +131,8 @@ export const FinancialAccountsApiAxiosParamCreator = function (configuration?: C
|
|
|
131
131
|
};
|
|
132
132
|
},
|
|
133
133
|
/**
|
|
134
|
-
* Retrieves the details of the
|
|
135
|
-
* @summary Retrieve the
|
|
134
|
+
* Retrieves the details of the Financial Account that was previously created. Supply the unique Financial Account code that was returned when you created it and Emil Api will return the corresponding Financial Account information.
|
|
135
|
+
* @summary Retrieve the Financial Account
|
|
136
136
|
* @param {string} code Unique identifier for the object.
|
|
137
137
|
* @param {string} expand
|
|
138
138
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -269,8 +269,8 @@ export const FinancialAccountsApiFp = function(configuration?: Configuration) {
|
|
|
269
269
|
const localVarAxiosParamCreator = FinancialAccountsApiAxiosParamCreator(configuration)
|
|
270
270
|
return {
|
|
271
271
|
/**
|
|
272
|
-
* This will create an account in the database. The account will be created with the provided name, type, and account number. Optionally, you can provide a parent account ID to create a sub-account.
|
|
273
|
-
* @summary Create the
|
|
272
|
+
* This will create an financial account in the database. The financial account will be created with the provided name, type, and account number. Optionally, you can provide a parent financial account ID to create a sub-account.
|
|
273
|
+
* @summary Create the Financial Account
|
|
274
274
|
* @param {CreateFinancialAccountRequestDto} createFinancialAccountRequestDto
|
|
275
275
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
276
276
|
* @param {*} [options] Override http request option.
|
|
@@ -281,8 +281,8 @@ export const FinancialAccountsApiFp = function(configuration?: Configuration) {
|
|
|
281
281
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
282
282
|
},
|
|
283
283
|
/**
|
|
284
|
-
* Permanently deletes the
|
|
285
|
-
* @summary Delete the
|
|
284
|
+
* Permanently deletes the Financial Account. Supply the unique code that was returned when you created the Financial Account and this will delete it.
|
|
285
|
+
* @summary Delete the Financial Account
|
|
286
286
|
* @param {string} code Unique identifier for the object.
|
|
287
287
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
288
288
|
* @param {*} [options] Override http request option.
|
|
@@ -293,8 +293,8 @@ export const FinancialAccountsApiFp = function(configuration?: Configuration) {
|
|
|
293
293
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
294
294
|
},
|
|
295
295
|
/**
|
|
296
|
-
* Retrieves the details of the
|
|
297
|
-
* @summary Retrieve the
|
|
296
|
+
* Retrieves the details of the Financial Account that was previously created. Supply the unique Financial Account code that was returned when you created it and Emil Api will return the corresponding Financial Account information.
|
|
297
|
+
* @summary Retrieve the Financial Account
|
|
298
298
|
* @param {string} code Unique identifier for the object.
|
|
299
299
|
* @param {string} expand
|
|
300
300
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -334,8 +334,8 @@ export const FinancialAccountsApiFactory = function (configuration?: Configurati
|
|
|
334
334
|
const localVarFp = FinancialAccountsApiFp(configuration)
|
|
335
335
|
return {
|
|
336
336
|
/**
|
|
337
|
-
* This will create an account in the database. The account will be created with the provided name, type, and account number. Optionally, you can provide a parent account ID to create a sub-account.
|
|
338
|
-
* @summary Create the
|
|
337
|
+
* This will create an financial account in the database. The financial account will be created with the provided name, type, and account number. Optionally, you can provide a parent financial account ID to create a sub-account.
|
|
338
|
+
* @summary Create the Financial Account
|
|
339
339
|
* @param {CreateFinancialAccountRequestDto} createFinancialAccountRequestDto
|
|
340
340
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
341
341
|
* @param {*} [options] Override http request option.
|
|
@@ -345,8 +345,8 @@ export const FinancialAccountsApiFactory = function (configuration?: Configurati
|
|
|
345
345
|
return localVarFp.createFinancialAccount(createFinancialAccountRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
346
346
|
},
|
|
347
347
|
/**
|
|
348
|
-
* Permanently deletes the
|
|
349
|
-
* @summary Delete the
|
|
348
|
+
* Permanently deletes the Financial Account. Supply the unique code that was returned when you created the Financial Account and this will delete it.
|
|
349
|
+
* @summary Delete the Financial Account
|
|
350
350
|
* @param {string} code Unique identifier for the object.
|
|
351
351
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
352
352
|
* @param {*} [options] Override http request option.
|
|
@@ -356,8 +356,8 @@ export const FinancialAccountsApiFactory = function (configuration?: Configurati
|
|
|
356
356
|
return localVarFp.deleteFinancialAccount(code, authorization, options).then((request) => request(axios, basePath));
|
|
357
357
|
},
|
|
358
358
|
/**
|
|
359
|
-
* Retrieves the details of the
|
|
360
|
-
* @summary Retrieve the
|
|
359
|
+
* Retrieves the details of the Financial Account that was previously created. Supply the unique Financial Account code that was returned when you created it and Emil Api will return the corresponding Financial Account information.
|
|
360
|
+
* @summary Retrieve the Financial Account
|
|
361
361
|
* @param {string} code Unique identifier for the object.
|
|
362
362
|
* @param {string} expand
|
|
363
363
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -528,8 +528,8 @@ export interface FinancialAccountsApiListFinancialAccountsRequest {
|
|
|
528
528
|
*/
|
|
529
529
|
export class FinancialAccountsApi extends BaseAPI {
|
|
530
530
|
/**
|
|
531
|
-
* This will create an account in the database. The account will be created with the provided name, type, and account number. Optionally, you can provide a parent account ID to create a sub-account.
|
|
532
|
-
* @summary Create the
|
|
531
|
+
* This will create an financial account in the database. The financial account will be created with the provided name, type, and account number. Optionally, you can provide a parent financial account ID to create a sub-account.
|
|
532
|
+
* @summary Create the Financial Account
|
|
533
533
|
* @param {FinancialAccountsApiCreateFinancialAccountRequest} requestParameters Request parameters.
|
|
534
534
|
* @param {*} [options] Override http request option.
|
|
535
535
|
* @throws {RequiredError}
|
|
@@ -540,8 +540,8 @@ export class FinancialAccountsApi extends BaseAPI {
|
|
|
540
540
|
}
|
|
541
541
|
|
|
542
542
|
/**
|
|
543
|
-
* Permanently deletes the
|
|
544
|
-
* @summary Delete the
|
|
543
|
+
* Permanently deletes the Financial Account. Supply the unique code that was returned when you created the Financial Account and this will delete it.
|
|
544
|
+
* @summary Delete the Financial Account
|
|
545
545
|
* @param {FinancialAccountsApiDeleteFinancialAccountRequest} requestParameters Request parameters.
|
|
546
546
|
* @param {*} [options] Override http request option.
|
|
547
547
|
* @throws {RequiredError}
|
|
@@ -552,8 +552,8 @@ export class FinancialAccountsApi extends BaseAPI {
|
|
|
552
552
|
}
|
|
553
553
|
|
|
554
554
|
/**
|
|
555
|
-
* Retrieves the details of the
|
|
556
|
-
* @summary Retrieve the
|
|
555
|
+
* Retrieves the details of the Financial Account that was previously created. Supply the unique Financial Account code that was returned when you created it and Emil Api will return the corresponding Financial Account information.
|
|
556
|
+
* @summary Retrieve the Financial Account
|
|
557
557
|
* @param {FinancialAccountsApiGetFinancialAccountRequest} requestParameters Request parameters.
|
|
558
558
|
* @param {*} [options] Override http request option.
|
|
559
559
|
* @throws {RequiredError}
|
|
@@ -22,8 +22,8 @@ import { ListFinancialAccountsResponseClass } from '../models';
|
|
|
22
22
|
*/
|
|
23
23
|
export declare const FinancialAccountsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
24
24
|
/**
|
|
25
|
-
* This will create an account in the database. The account will be created with the provided name, type, and account number. Optionally, you can provide a parent account ID to create a sub-account.
|
|
26
|
-
* @summary Create the
|
|
25
|
+
* This will create an financial account in the database. The financial account will be created with the provided name, type, and account number. Optionally, you can provide a parent financial account ID to create a sub-account.
|
|
26
|
+
* @summary Create the Financial Account
|
|
27
27
|
* @param {CreateFinancialAccountRequestDto} createFinancialAccountRequestDto
|
|
28
28
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
29
29
|
* @param {*} [options] Override http request option.
|
|
@@ -31,8 +31,8 @@ export declare const FinancialAccountsApiAxiosParamCreator: (configuration?: Con
|
|
|
31
31
|
*/
|
|
32
32
|
createFinancialAccount: (createFinancialAccountRequestDto: CreateFinancialAccountRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
33
33
|
/**
|
|
34
|
-
* Permanently deletes the
|
|
35
|
-
* @summary Delete the
|
|
34
|
+
* Permanently deletes the Financial Account. Supply the unique code that was returned when you created the Financial Account and this will delete it.
|
|
35
|
+
* @summary Delete the Financial Account
|
|
36
36
|
* @param {string} code Unique identifier for the object.
|
|
37
37
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
38
38
|
* @param {*} [options] Override http request option.
|
|
@@ -40,8 +40,8 @@ export declare const FinancialAccountsApiAxiosParamCreator: (configuration?: Con
|
|
|
40
40
|
*/
|
|
41
41
|
deleteFinancialAccount: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
42
42
|
/**
|
|
43
|
-
* Retrieves the details of the
|
|
44
|
-
* @summary Retrieve the
|
|
43
|
+
* Retrieves the details of the Financial Account that was previously created. Supply the unique Financial Account code that was returned when you created it and Emil Api will return the corresponding Financial Account information.
|
|
44
|
+
* @summary Retrieve the Financial Account
|
|
45
45
|
* @param {string} code Unique identifier for the object.
|
|
46
46
|
* @param {string} expand
|
|
47
47
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -71,8 +71,8 @@ export declare const FinancialAccountsApiAxiosParamCreator: (configuration?: Con
|
|
|
71
71
|
*/
|
|
72
72
|
export declare const FinancialAccountsApiFp: (configuration?: Configuration) => {
|
|
73
73
|
/**
|
|
74
|
-
* This will create an account in the database. The account will be created with the provided name, type, and account number. Optionally, you can provide a parent account ID to create a sub-account.
|
|
75
|
-
* @summary Create the
|
|
74
|
+
* This will create an financial account in the database. The financial account will be created with the provided name, type, and account number. Optionally, you can provide a parent financial account ID to create a sub-account.
|
|
75
|
+
* @summary Create the Financial Account
|
|
76
76
|
* @param {CreateFinancialAccountRequestDto} createFinancialAccountRequestDto
|
|
77
77
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
78
78
|
* @param {*} [options] Override http request option.
|
|
@@ -80,8 +80,8 @@ export declare const FinancialAccountsApiFp: (configuration?: Configuration) =>
|
|
|
80
80
|
*/
|
|
81
81
|
createFinancialAccount(createFinancialAccountRequestDto: CreateFinancialAccountRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateFinancialAccountResponseClass>>;
|
|
82
82
|
/**
|
|
83
|
-
* Permanently deletes the
|
|
84
|
-
* @summary Delete the
|
|
83
|
+
* Permanently deletes the Financial Account. Supply the unique code that was returned when you created the Financial Account and this will delete it.
|
|
84
|
+
* @summary Delete the Financial Account
|
|
85
85
|
* @param {string} code Unique identifier for the object.
|
|
86
86
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
87
87
|
* @param {*} [options] Override http request option.
|
|
@@ -89,8 +89,8 @@ export declare const FinancialAccountsApiFp: (configuration?: Configuration) =>
|
|
|
89
89
|
*/
|
|
90
90
|
deleteFinancialAccount(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
91
91
|
/**
|
|
92
|
-
* Retrieves the details of the
|
|
93
|
-
* @summary Retrieve the
|
|
92
|
+
* Retrieves the details of the Financial Account that was previously created. Supply the unique Financial Account code that was returned when you created it and Emil Api will return the corresponding Financial Account information.
|
|
93
|
+
* @summary Retrieve the Financial Account
|
|
94
94
|
* @param {string} code Unique identifier for the object.
|
|
95
95
|
* @param {string} expand
|
|
96
96
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -120,8 +120,8 @@ export declare const FinancialAccountsApiFp: (configuration?: Configuration) =>
|
|
|
120
120
|
*/
|
|
121
121
|
export declare const FinancialAccountsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
122
122
|
/**
|
|
123
|
-
* This will create an account in the database. The account will be created with the provided name, type, and account number. Optionally, you can provide a parent account ID to create a sub-account.
|
|
124
|
-
* @summary Create the
|
|
123
|
+
* This will create an financial account in the database. The financial account will be created with the provided name, type, and account number. Optionally, you can provide a parent financial account ID to create a sub-account.
|
|
124
|
+
* @summary Create the Financial Account
|
|
125
125
|
* @param {CreateFinancialAccountRequestDto} createFinancialAccountRequestDto
|
|
126
126
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
127
127
|
* @param {*} [options] Override http request option.
|
|
@@ -129,8 +129,8 @@ export declare const FinancialAccountsApiFactory: (configuration?: Configuration
|
|
|
129
129
|
*/
|
|
130
130
|
createFinancialAccount(createFinancialAccountRequestDto: CreateFinancialAccountRequestDto, authorization?: string, options?: any): AxiosPromise<CreateFinancialAccountResponseClass>;
|
|
131
131
|
/**
|
|
132
|
-
* Permanently deletes the
|
|
133
|
-
* @summary Delete the
|
|
132
|
+
* Permanently deletes the Financial Account. Supply the unique code that was returned when you created the Financial Account and this will delete it.
|
|
133
|
+
* @summary Delete the Financial Account
|
|
134
134
|
* @param {string} code Unique identifier for the object.
|
|
135
135
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
136
136
|
* @param {*} [options] Override http request option.
|
|
@@ -138,8 +138,8 @@ export declare const FinancialAccountsApiFactory: (configuration?: Configuration
|
|
|
138
138
|
*/
|
|
139
139
|
deleteFinancialAccount(code: string, authorization?: string, options?: any): AxiosPromise<void>;
|
|
140
140
|
/**
|
|
141
|
-
* Retrieves the details of the
|
|
142
|
-
* @summary Retrieve the
|
|
141
|
+
* Retrieves the details of the Financial Account that was previously created. Supply the unique Financial Account code that was returned when you created it and Emil Api will return the corresponding Financial Account information.
|
|
142
|
+
* @summary Retrieve the Financial Account
|
|
143
143
|
* @param {string} code Unique identifier for the object.
|
|
144
144
|
* @param {string} expand
|
|
145
145
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -289,8 +289,8 @@ export interface FinancialAccountsApiListFinancialAccountsRequest {
|
|
|
289
289
|
*/
|
|
290
290
|
export declare class FinancialAccountsApi extends BaseAPI {
|
|
291
291
|
/**
|
|
292
|
-
* This will create an account in the database. The account will be created with the provided name, type, and account number. Optionally, you can provide a parent account ID to create a sub-account.
|
|
293
|
-
* @summary Create the
|
|
292
|
+
* This will create an financial account in the database. The financial account will be created with the provided name, type, and account number. Optionally, you can provide a parent financial account ID to create a sub-account.
|
|
293
|
+
* @summary Create the Financial Account
|
|
294
294
|
* @param {FinancialAccountsApiCreateFinancialAccountRequest} requestParameters Request parameters.
|
|
295
295
|
* @param {*} [options] Override http request option.
|
|
296
296
|
* @throws {RequiredError}
|
|
@@ -298,8 +298,8 @@ export declare class FinancialAccountsApi extends BaseAPI {
|
|
|
298
298
|
*/
|
|
299
299
|
createFinancialAccount(requestParameters: FinancialAccountsApiCreateFinancialAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateFinancialAccountResponseClass, any>>;
|
|
300
300
|
/**
|
|
301
|
-
* Permanently deletes the
|
|
302
|
-
* @summary Delete the
|
|
301
|
+
* Permanently deletes the Financial Account. Supply the unique code that was returned when you created the Financial Account and this will delete it.
|
|
302
|
+
* @summary Delete the Financial Account
|
|
303
303
|
* @param {FinancialAccountsApiDeleteFinancialAccountRequest} requestParameters Request parameters.
|
|
304
304
|
* @param {*} [options] Override http request option.
|
|
305
305
|
* @throws {RequiredError}
|
|
@@ -307,8 +307,8 @@ export declare class FinancialAccountsApi extends BaseAPI {
|
|
|
307
307
|
*/
|
|
308
308
|
deleteFinancialAccount(requestParameters: FinancialAccountsApiDeleteFinancialAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
309
309
|
/**
|
|
310
|
-
* Retrieves the details of the
|
|
311
|
-
* @summary Retrieve the
|
|
310
|
+
* Retrieves the details of the Financial Account that was previously created. Supply the unique Financial Account code that was returned when you created it and Emil Api will return the corresponding Financial Account information.
|
|
311
|
+
* @summary Retrieve the Financial Account
|
|
312
312
|
* @param {FinancialAccountsApiGetFinancialAccountRequest} requestParameters Request parameters.
|
|
313
313
|
* @param {*} [options] Override http request option.
|
|
314
314
|
* @throws {RequiredError}
|
|
@@ -97,8 +97,8 @@ var FinancialAccountsApiAxiosParamCreator = function (configuration) {
|
|
|
97
97
|
var _this = this;
|
|
98
98
|
return {
|
|
99
99
|
/**
|
|
100
|
-
* This will create an account in the database. The account will be created with the provided name, type, and account number. Optionally, you can provide a parent account ID to create a sub-account.
|
|
101
|
-
* @summary Create the
|
|
100
|
+
* This will create an financial account in the database. The financial account will be created with the provided name, type, and account number. Optionally, you can provide a parent financial account ID to create a sub-account.
|
|
101
|
+
* @summary Create the Financial Account
|
|
102
102
|
* @param {CreateFinancialAccountRequestDto} createFinancialAccountRequestDto
|
|
103
103
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
104
104
|
* @param {*} [options] Override http request option.
|
|
@@ -146,8 +146,8 @@ var FinancialAccountsApiAxiosParamCreator = function (configuration) {
|
|
|
146
146
|
});
|
|
147
147
|
},
|
|
148
148
|
/**
|
|
149
|
-
* Permanently deletes the
|
|
150
|
-
* @summary Delete the
|
|
149
|
+
* Permanently deletes the Financial Account. Supply the unique code that was returned when you created the Financial Account and this will delete it.
|
|
150
|
+
* @summary Delete the Financial Account
|
|
151
151
|
* @param {string} code Unique identifier for the object.
|
|
152
152
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
153
153
|
* @param {*} [options] Override http request option.
|
|
@@ -194,8 +194,8 @@ var FinancialAccountsApiAxiosParamCreator = function (configuration) {
|
|
|
194
194
|
});
|
|
195
195
|
},
|
|
196
196
|
/**
|
|
197
|
-
* Retrieves the details of the
|
|
198
|
-
* @summary Retrieve the
|
|
197
|
+
* Retrieves the details of the Financial Account that was previously created. Supply the unique Financial Account code that was returned when you created it and Emil Api will return the corresponding Financial Account information.
|
|
198
|
+
* @summary Retrieve the Financial Account
|
|
199
199
|
* @param {string} code Unique identifier for the object.
|
|
200
200
|
* @param {string} expand
|
|
201
201
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -330,8 +330,8 @@ var FinancialAccountsApiFp = function (configuration) {
|
|
|
330
330
|
var localVarAxiosParamCreator = (0, exports.FinancialAccountsApiAxiosParamCreator)(configuration);
|
|
331
331
|
return {
|
|
332
332
|
/**
|
|
333
|
-
* This will create an account in the database. The account will be created with the provided name, type, and account number. Optionally, you can provide a parent account ID to create a sub-account.
|
|
334
|
-
* @summary Create the
|
|
333
|
+
* This will create an financial account in the database. The financial account will be created with the provided name, type, and account number. Optionally, you can provide a parent financial account ID to create a sub-account.
|
|
334
|
+
* @summary Create the Financial Account
|
|
335
335
|
* @param {CreateFinancialAccountRequestDto} createFinancialAccountRequestDto
|
|
336
336
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
337
337
|
* @param {*} [options] Override http request option.
|
|
@@ -351,8 +351,8 @@ var FinancialAccountsApiFp = function (configuration) {
|
|
|
351
351
|
});
|
|
352
352
|
},
|
|
353
353
|
/**
|
|
354
|
-
* Permanently deletes the
|
|
355
|
-
* @summary Delete the
|
|
354
|
+
* Permanently deletes the Financial Account. Supply the unique code that was returned when you created the Financial Account and this will delete it.
|
|
355
|
+
* @summary Delete the Financial Account
|
|
356
356
|
* @param {string} code Unique identifier for the object.
|
|
357
357
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
358
358
|
* @param {*} [options] Override http request option.
|
|
@@ -372,8 +372,8 @@ var FinancialAccountsApiFp = function (configuration) {
|
|
|
372
372
|
});
|
|
373
373
|
},
|
|
374
374
|
/**
|
|
375
|
-
* Retrieves the details of the
|
|
376
|
-
* @summary Retrieve the
|
|
375
|
+
* Retrieves the details of the Financial Account that was previously created. Supply the unique Financial Account code that was returned when you created it and Emil Api will return the corresponding Financial Account information.
|
|
376
|
+
* @summary Retrieve the Financial Account
|
|
377
377
|
* @param {string} code Unique identifier for the object.
|
|
378
378
|
* @param {string} expand
|
|
379
379
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -431,8 +431,8 @@ var FinancialAccountsApiFactory = function (configuration, basePath, axios) {
|
|
|
431
431
|
var localVarFp = (0, exports.FinancialAccountsApiFp)(configuration);
|
|
432
432
|
return {
|
|
433
433
|
/**
|
|
434
|
-
* This will create an account in the database. The account will be created with the provided name, type, and account number. Optionally, you can provide a parent account ID to create a sub-account.
|
|
435
|
-
* @summary Create the
|
|
434
|
+
* This will create an financial account in the database. The financial account will be created with the provided name, type, and account number. Optionally, you can provide a parent financial account ID to create a sub-account.
|
|
435
|
+
* @summary Create the Financial Account
|
|
436
436
|
* @param {CreateFinancialAccountRequestDto} createFinancialAccountRequestDto
|
|
437
437
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
438
438
|
* @param {*} [options] Override http request option.
|
|
@@ -442,8 +442,8 @@ var FinancialAccountsApiFactory = function (configuration, basePath, axios) {
|
|
|
442
442
|
return localVarFp.createFinancialAccount(createFinancialAccountRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
443
443
|
},
|
|
444
444
|
/**
|
|
445
|
-
* Permanently deletes the
|
|
446
|
-
* @summary Delete the
|
|
445
|
+
* Permanently deletes the Financial Account. Supply the unique code that was returned when you created the Financial Account and this will delete it.
|
|
446
|
+
* @summary Delete the Financial Account
|
|
447
447
|
* @param {string} code Unique identifier for the object.
|
|
448
448
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
449
449
|
* @param {*} [options] Override http request option.
|
|
@@ -453,8 +453,8 @@ var FinancialAccountsApiFactory = function (configuration, basePath, axios) {
|
|
|
453
453
|
return localVarFp.deleteFinancialAccount(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
454
454
|
},
|
|
455
455
|
/**
|
|
456
|
-
* Retrieves the details of the
|
|
457
|
-
* @summary Retrieve the
|
|
456
|
+
* Retrieves the details of the Financial Account that was previously created. Supply the unique Financial Account code that was returned when you created it and Emil Api will return the corresponding Financial Account information.
|
|
457
|
+
* @summary Retrieve the Financial Account
|
|
458
458
|
* @param {string} code Unique identifier for the object.
|
|
459
459
|
* @param {string} expand
|
|
460
460
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -496,8 +496,8 @@ var FinancialAccountsApi = /** @class */ (function (_super) {
|
|
|
496
496
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
497
497
|
}
|
|
498
498
|
/**
|
|
499
|
-
* This will create an account in the database. The account will be created with the provided name, type, and account number. Optionally, you can provide a parent account ID to create a sub-account.
|
|
500
|
-
* @summary Create the
|
|
499
|
+
* This will create an financial account in the database. The financial account will be created with the provided name, type, and account number. Optionally, you can provide a parent financial account ID to create a sub-account.
|
|
500
|
+
* @summary Create the Financial Account
|
|
501
501
|
* @param {FinancialAccountsApiCreateFinancialAccountRequest} requestParameters Request parameters.
|
|
502
502
|
* @param {*} [options] Override http request option.
|
|
503
503
|
* @throws {RequiredError}
|
|
@@ -508,8 +508,8 @@ var FinancialAccountsApi = /** @class */ (function (_super) {
|
|
|
508
508
|
return (0, exports.FinancialAccountsApiFp)(this.configuration).createFinancialAccount(requestParameters.createFinancialAccountRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
509
509
|
};
|
|
510
510
|
/**
|
|
511
|
-
* Permanently deletes the
|
|
512
|
-
* @summary Delete the
|
|
511
|
+
* Permanently deletes the Financial Account. Supply the unique code that was returned when you created the Financial Account and this will delete it.
|
|
512
|
+
* @summary Delete the Financial Account
|
|
513
513
|
* @param {FinancialAccountsApiDeleteFinancialAccountRequest} requestParameters Request parameters.
|
|
514
514
|
* @param {*} [options] Override http request option.
|
|
515
515
|
* @throws {RequiredError}
|
|
@@ -520,8 +520,8 @@ var FinancialAccountsApi = /** @class */ (function (_super) {
|
|
|
520
520
|
return (0, exports.FinancialAccountsApiFp)(this.configuration).deleteFinancialAccount(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
521
521
|
};
|
|
522
522
|
/**
|
|
523
|
-
* Retrieves the details of the
|
|
524
|
-
* @summary Retrieve the
|
|
523
|
+
* Retrieves the details of the Financial Account that was previously created. Supply the unique Financial Account code that was returned when you created it and Emil Api will return the corresponding Financial Account information.
|
|
524
|
+
* @summary Retrieve the Financial Account
|
|
525
525
|
* @param {FinancialAccountsApiGetFinancialAccountRequest} requestParameters Request parameters.
|
|
526
526
|
* @param {*} [options] Override http request option.
|
|
527
527
|
* @throws {RequiredError}
|