@emilgroup/accounting-sdk 1.0.1-beta.2 → 1.0.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/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@1.0.1-beta.
|
|
20
|
+
npm install @emilgroup/accounting-sdk@1.0.1-beta.3 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/accounting-sdk@1.0.1-beta.
|
|
24
|
+
yarn add @emilgroup/accounting-sdk@1.0.1-beta.3
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `FinancialAccountsApi`.
|
|
@@ -35,8 +35,8 @@ import { ListFinancialAccountsResponseClass } from '../models';
|
|
|
35
35
|
export const FinancialAccountsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
36
36
|
return {
|
|
37
37
|
/**
|
|
38
|
-
* 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.
|
|
39
|
-
* @summary Create the
|
|
38
|
+
* 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.
|
|
39
|
+
* @summary Create the Financial Account
|
|
40
40
|
* @param {CreateFinancialAccountRequestDto} createFinancialAccountRequestDto
|
|
41
41
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
42
42
|
* @param {*} [options] Override http request option.
|
|
@@ -82,8 +82,8 @@ export const FinancialAccountsApiAxiosParamCreator = function (configuration?: C
|
|
|
82
82
|
};
|
|
83
83
|
},
|
|
84
84
|
/**
|
|
85
|
-
* Permanently deletes the
|
|
86
|
-
* @summary Delete the
|
|
85
|
+
* Permanently deletes the Financial Account. Supply the unique code that was returned when you created the Financial Account and this will delete it.
|
|
86
|
+
* @summary Delete the Financial Account
|
|
87
87
|
* @param {string} code Unique identifier for the object.
|
|
88
88
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
89
89
|
* @param {*} [options] Override http request option.
|
|
@@ -127,8 +127,8 @@ export const FinancialAccountsApiAxiosParamCreator = function (configuration?: C
|
|
|
127
127
|
};
|
|
128
128
|
},
|
|
129
129
|
/**
|
|
130
|
-
* Retrieves the details of the
|
|
131
|
-
* @summary Retrieve the
|
|
130
|
+
* 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.
|
|
131
|
+
* @summary Retrieve the Financial Account
|
|
132
132
|
* @param {string} code Unique identifier for the object.
|
|
133
133
|
* @param {string} expand
|
|
134
134
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -265,8 +265,8 @@ export const FinancialAccountsApiFp = function(configuration?: Configuration) {
|
|
|
265
265
|
const localVarAxiosParamCreator = FinancialAccountsApiAxiosParamCreator(configuration)
|
|
266
266
|
return {
|
|
267
267
|
/**
|
|
268
|
-
* 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.
|
|
269
|
-
* @summary Create the
|
|
268
|
+
* 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.
|
|
269
|
+
* @summary Create the Financial Account
|
|
270
270
|
* @param {CreateFinancialAccountRequestDto} createFinancialAccountRequestDto
|
|
271
271
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
272
272
|
* @param {*} [options] Override http request option.
|
|
@@ -277,8 +277,8 @@ export const FinancialAccountsApiFp = function(configuration?: Configuration) {
|
|
|
277
277
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
278
278
|
},
|
|
279
279
|
/**
|
|
280
|
-
* Permanently deletes the
|
|
281
|
-
* @summary Delete the
|
|
280
|
+
* Permanently deletes the Financial Account. Supply the unique code that was returned when you created the Financial Account and this will delete it.
|
|
281
|
+
* @summary Delete the Financial Account
|
|
282
282
|
* @param {string} code Unique identifier for the object.
|
|
283
283
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
284
284
|
* @param {*} [options] Override http request option.
|
|
@@ -289,8 +289,8 @@ export const FinancialAccountsApiFp = function(configuration?: Configuration) {
|
|
|
289
289
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
290
290
|
},
|
|
291
291
|
/**
|
|
292
|
-
* Retrieves the details of the
|
|
293
|
-
* @summary Retrieve the
|
|
292
|
+
* 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.
|
|
293
|
+
* @summary Retrieve the Financial Account
|
|
294
294
|
* @param {string} code Unique identifier for the object.
|
|
295
295
|
* @param {string} expand
|
|
296
296
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -330,8 +330,8 @@ export const FinancialAccountsApiFactory = function (configuration?: Configurati
|
|
|
330
330
|
const localVarFp = FinancialAccountsApiFp(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.
|
|
@@ -341,8 +341,8 @@ export const FinancialAccountsApiFactory = function (configuration?: Configurati
|
|
|
341
341
|
return localVarFp.createFinancialAccount(createFinancialAccountRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
342
342
|
},
|
|
343
343
|
/**
|
|
344
|
-
* Permanently deletes the
|
|
345
|
-
* @summary Delete the
|
|
344
|
+
* Permanently deletes the Financial Account. Supply the unique code that was returned when you created the Financial Account and this will delete it.
|
|
345
|
+
* @summary Delete the Financial Account
|
|
346
346
|
* @param {string} code Unique identifier for the object.
|
|
347
347
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
348
348
|
* @param {*} [options] Override http request option.
|
|
@@ -352,8 +352,8 @@ export const FinancialAccountsApiFactory = function (configuration?: Configurati
|
|
|
352
352
|
return localVarFp.deleteFinancialAccount(code, authorization, options).then((request) => request(axios, basePath));
|
|
353
353
|
},
|
|
354
354
|
/**
|
|
355
|
-
* Retrieves the details of the
|
|
356
|
-
* @summary Retrieve the
|
|
355
|
+
* 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.
|
|
356
|
+
* @summary Retrieve the Financial Account
|
|
357
357
|
* @param {string} code Unique identifier for the object.
|
|
358
358
|
* @param {string} expand
|
|
359
359
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -524,8 +524,8 @@ export interface FinancialAccountsApiListFinancialAccountsRequest {
|
|
|
524
524
|
*/
|
|
525
525
|
export class FinancialAccountsApi extends BaseAPI {
|
|
526
526
|
/**
|
|
527
|
-
* 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.
|
|
528
|
-
* @summary Create the
|
|
527
|
+
* 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.
|
|
528
|
+
* @summary Create the Financial Account
|
|
529
529
|
* @param {FinancialAccountsApiCreateFinancialAccountRequest} requestParameters Request parameters.
|
|
530
530
|
* @param {*} [options] Override http request option.
|
|
531
531
|
* @throws {RequiredError}
|
|
@@ -536,8 +536,8 @@ export class FinancialAccountsApi extends BaseAPI {
|
|
|
536
536
|
}
|
|
537
537
|
|
|
538
538
|
/**
|
|
539
|
-
* Permanently deletes the
|
|
540
|
-
* @summary Delete the
|
|
539
|
+
* Permanently deletes the Financial Account. Supply the unique code that was returned when you created the Financial Account and this will delete it.
|
|
540
|
+
* @summary Delete the Financial Account
|
|
541
541
|
* @param {FinancialAccountsApiDeleteFinancialAccountRequest} requestParameters Request parameters.
|
|
542
542
|
* @param {*} [options] Override http request option.
|
|
543
543
|
* @throws {RequiredError}
|
|
@@ -548,8 +548,8 @@ export class FinancialAccountsApi extends BaseAPI {
|
|
|
548
548
|
}
|
|
549
549
|
|
|
550
550
|
/**
|
|
551
|
-
* Retrieves the details of the
|
|
552
|
-
* @summary Retrieve the
|
|
551
|
+
* 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.
|
|
552
|
+
* @summary Retrieve the Financial Account
|
|
553
553
|
* @param {FinancialAccountsApiGetFinancialAccountRequest} requestParameters Request parameters.
|
|
554
554
|
* @param {*} [options] Override http request option.
|
|
555
555
|
* @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}
|
|
@@ -93,8 +93,8 @@ var FinancialAccountsApiAxiosParamCreator = function (configuration) {
|
|
|
93
93
|
var _this = this;
|
|
94
94
|
return {
|
|
95
95
|
/**
|
|
96
|
-
* 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.
|
|
97
|
-
* @summary Create the
|
|
96
|
+
* 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.
|
|
97
|
+
* @summary Create the Financial Account
|
|
98
98
|
* @param {CreateFinancialAccountRequestDto} createFinancialAccountRequestDto
|
|
99
99
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
100
100
|
* @param {*} [options] Override http request option.
|
|
@@ -142,8 +142,8 @@ var FinancialAccountsApiAxiosParamCreator = function (configuration) {
|
|
|
142
142
|
});
|
|
143
143
|
},
|
|
144
144
|
/**
|
|
145
|
-
* Permanently deletes the
|
|
146
|
-
* @summary Delete the
|
|
145
|
+
* Permanently deletes the Financial Account. Supply the unique code that was returned when you created the Financial Account and this will delete it.
|
|
146
|
+
* @summary Delete the Financial Account
|
|
147
147
|
* @param {string} code Unique identifier for the object.
|
|
148
148
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
149
149
|
* @param {*} [options] Override http request option.
|
|
@@ -190,8 +190,8 @@ var FinancialAccountsApiAxiosParamCreator = function (configuration) {
|
|
|
190
190
|
});
|
|
191
191
|
},
|
|
192
192
|
/**
|
|
193
|
-
* Retrieves the details of the
|
|
194
|
-
* @summary Retrieve the
|
|
193
|
+
* 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.
|
|
194
|
+
* @summary Retrieve the Financial Account
|
|
195
195
|
* @param {string} code Unique identifier for the object.
|
|
196
196
|
* @param {string} expand
|
|
197
197
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -326,8 +326,8 @@ var FinancialAccountsApiFp = function (configuration) {
|
|
|
326
326
|
var localVarAxiosParamCreator = (0, exports.FinancialAccountsApiAxiosParamCreator)(configuration);
|
|
327
327
|
return {
|
|
328
328
|
/**
|
|
329
|
-
* 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.
|
|
330
|
-
* @summary Create the
|
|
329
|
+
* 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.
|
|
330
|
+
* @summary Create the Financial Account
|
|
331
331
|
* @param {CreateFinancialAccountRequestDto} createFinancialAccountRequestDto
|
|
332
332
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
333
333
|
* @param {*} [options] Override http request option.
|
|
@@ -347,8 +347,8 @@ var FinancialAccountsApiFp = function (configuration) {
|
|
|
347
347
|
});
|
|
348
348
|
},
|
|
349
349
|
/**
|
|
350
|
-
* Permanently deletes the
|
|
351
|
-
* @summary Delete the
|
|
350
|
+
* Permanently deletes the Financial Account. Supply the unique code that was returned when you created the Financial Account and this will delete it.
|
|
351
|
+
* @summary Delete the Financial Account
|
|
352
352
|
* @param {string} code Unique identifier for the object.
|
|
353
353
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
354
354
|
* @param {*} [options] Override http request option.
|
|
@@ -368,8 +368,8 @@ var FinancialAccountsApiFp = function (configuration) {
|
|
|
368
368
|
});
|
|
369
369
|
},
|
|
370
370
|
/**
|
|
371
|
-
* Retrieves the details of the
|
|
372
|
-
* @summary Retrieve the
|
|
371
|
+
* 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.
|
|
372
|
+
* @summary Retrieve the Financial Account
|
|
373
373
|
* @param {string} code Unique identifier for the object.
|
|
374
374
|
* @param {string} expand
|
|
375
375
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -427,8 +427,8 @@ var FinancialAccountsApiFactory = function (configuration, basePath, axios) {
|
|
|
427
427
|
var localVarFp = (0, exports.FinancialAccountsApiFp)(configuration);
|
|
428
428
|
return {
|
|
429
429
|
/**
|
|
430
|
-
* 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.
|
|
431
|
-
* @summary Create the
|
|
430
|
+
* 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.
|
|
431
|
+
* @summary Create the Financial Account
|
|
432
432
|
* @param {CreateFinancialAccountRequestDto} createFinancialAccountRequestDto
|
|
433
433
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
434
434
|
* @param {*} [options] Override http request option.
|
|
@@ -438,8 +438,8 @@ var FinancialAccountsApiFactory = function (configuration, basePath, axios) {
|
|
|
438
438
|
return localVarFp.createFinancialAccount(createFinancialAccountRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
439
439
|
},
|
|
440
440
|
/**
|
|
441
|
-
* Permanently deletes the
|
|
442
|
-
* @summary Delete the
|
|
441
|
+
* Permanently deletes the Financial Account. Supply the unique code that was returned when you created the Financial Account and this will delete it.
|
|
442
|
+
* @summary Delete the Financial Account
|
|
443
443
|
* @param {string} code Unique identifier for the object.
|
|
444
444
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
445
445
|
* @param {*} [options] Override http request option.
|
|
@@ -449,8 +449,8 @@ var FinancialAccountsApiFactory = function (configuration, basePath, axios) {
|
|
|
449
449
|
return localVarFp.deleteFinancialAccount(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
450
450
|
},
|
|
451
451
|
/**
|
|
452
|
-
* Retrieves the details of the
|
|
453
|
-
* @summary Retrieve the
|
|
452
|
+
* 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.
|
|
453
|
+
* @summary Retrieve the Financial Account
|
|
454
454
|
* @param {string} code Unique identifier for the object.
|
|
455
455
|
* @param {string} expand
|
|
456
456
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -492,8 +492,8 @@ var FinancialAccountsApi = /** @class */ (function (_super) {
|
|
|
492
492
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
493
493
|
}
|
|
494
494
|
/**
|
|
495
|
-
* 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.
|
|
496
|
-
* @summary Create the
|
|
495
|
+
* 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.
|
|
496
|
+
* @summary Create the Financial Account
|
|
497
497
|
* @param {FinancialAccountsApiCreateFinancialAccountRequest} requestParameters Request parameters.
|
|
498
498
|
* @param {*} [options] Override http request option.
|
|
499
499
|
* @throws {RequiredError}
|
|
@@ -504,8 +504,8 @@ var FinancialAccountsApi = /** @class */ (function (_super) {
|
|
|
504
504
|
return (0, exports.FinancialAccountsApiFp)(this.configuration).createFinancialAccount(requestParameters.createFinancialAccountRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
505
505
|
};
|
|
506
506
|
/**
|
|
507
|
-
* Permanently deletes the
|
|
508
|
-
* @summary Delete the
|
|
507
|
+
* Permanently deletes the Financial Account. Supply the unique code that was returned when you created the Financial Account and this will delete it.
|
|
508
|
+
* @summary Delete the Financial Account
|
|
509
509
|
* @param {FinancialAccountsApiDeleteFinancialAccountRequest} requestParameters Request parameters.
|
|
510
510
|
* @param {*} [options] Override http request option.
|
|
511
511
|
* @throws {RequiredError}
|
|
@@ -516,8 +516,8 @@ var FinancialAccountsApi = /** @class */ (function (_super) {
|
|
|
516
516
|
return (0, exports.FinancialAccountsApiFp)(this.configuration).deleteFinancialAccount(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
517
517
|
};
|
|
518
518
|
/**
|
|
519
|
-
* Retrieves the details of the
|
|
520
|
-
* @summary Retrieve the
|
|
519
|
+
* 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.
|
|
520
|
+
* @summary Retrieve the Financial Account
|
|
521
521
|
* @param {FinancialAccountsApiGetFinancialAccountRequest} requestParameters Request parameters.
|
|
522
522
|
* @param {*} [options] Override http request option.
|
|
523
523
|
* @throws {RequiredError}
|