@emilgroup/accounting-sdk-node 1.23.1-beta.0 → 1.24.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 +16 -16
- package/api/personal-accounts-api.ts +16 -16
- package/dist/api/financial-accounts-api.d.ts +16 -16
- package/dist/api/financial-accounts-api.js +16 -16
- package/dist/api/personal-accounts-api.d.ts +16 -16
- package/dist/api/personal-accounts-api.js +16 -16
- 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.24.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.24.0
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `FinancialAccountsApi`.
|
|
@@ -39,7 +39,7 @@ const FormData = require('form-data');
|
|
|
39
39
|
export const FinancialAccountsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
40
40
|
return {
|
|
41
41
|
/**
|
|
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. **Required Permissions** \"accounting-management.
|
|
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. **Required Permissions** \"accounting-management.financial-accounts.create\"
|
|
43
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.
|
|
@@ -86,7 +86,7 @@ export const FinancialAccountsApiAxiosParamCreator = function (configuration?: C
|
|
|
86
86
|
};
|
|
87
87
|
},
|
|
88
88
|
/**
|
|
89
|
-
* Permanently deletes the Financial Account. Supply the unique code that was returned when you created the Financial Account and this will delete it. **Required Permissions** \"accounting-management.
|
|
89
|
+
* Permanently deletes the Financial Account. Supply the unique code that was returned when you created the Financial Account and this will delete it. **Required Permissions** \"accounting-management.financial-accounts.delete\"
|
|
90
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.
|
|
@@ -131,7 +131,7 @@ export const FinancialAccountsApiAxiosParamCreator = function (configuration?: C
|
|
|
131
131
|
};
|
|
132
132
|
},
|
|
133
133
|
/**
|
|
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. **Required Permissions** \"accounting-management.
|
|
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. **Required Permissions** \"accounting-management.financial-accounts.view\"
|
|
135
135
|
* @summary Retrieve the Financial Account
|
|
136
136
|
* @param {string} code Unique identifier for the object.
|
|
137
137
|
* @param {string} expand
|
|
@@ -183,7 +183,7 @@ export const FinancialAccountsApiAxiosParamCreator = function (configuration?: C
|
|
|
183
183
|
};
|
|
184
184
|
},
|
|
185
185
|
/**
|
|
186
|
-
* Returns a list of Financial Accounts you have previously created. The Financial Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"accounting-management.
|
|
186
|
+
* Returns a list of Financial Accounts you have previously created. The Financial Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"accounting-management.financial-accounts.view\"
|
|
187
187
|
* @summary List Financial Accounts
|
|
188
188
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
189
189
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -269,7 +269,7 @@ export const FinancialAccountsApiFp = function(configuration?: Configuration) {
|
|
|
269
269
|
const localVarAxiosParamCreator = FinancialAccountsApiAxiosParamCreator(configuration)
|
|
270
270
|
return {
|
|
271
271
|
/**
|
|
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. **Required Permissions** \"accounting-management.
|
|
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. **Required Permissions** \"accounting-management.financial-accounts.create\"
|
|
273
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.
|
|
@@ -281,7 +281,7 @@ export const FinancialAccountsApiFp = function(configuration?: Configuration) {
|
|
|
281
281
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
282
282
|
},
|
|
283
283
|
/**
|
|
284
|
-
* Permanently deletes the Financial Account. Supply the unique code that was returned when you created the Financial Account and this will delete it. **Required Permissions** \"accounting-management.
|
|
284
|
+
* Permanently deletes the Financial Account. Supply the unique code that was returned when you created the Financial Account and this will delete it. **Required Permissions** \"accounting-management.financial-accounts.delete\"
|
|
285
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.
|
|
@@ -293,7 +293,7 @@ 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 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. **Required Permissions** \"accounting-management.
|
|
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. **Required Permissions** \"accounting-management.financial-accounts.view\"
|
|
297
297
|
* @summary Retrieve the Financial Account
|
|
298
298
|
* @param {string} code Unique identifier for the object.
|
|
299
299
|
* @param {string} expand
|
|
@@ -306,7 +306,7 @@ export const FinancialAccountsApiFp = function(configuration?: Configuration) {
|
|
|
306
306
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
307
307
|
},
|
|
308
308
|
/**
|
|
309
|
-
* Returns a list of Financial Accounts you have previously created. The Financial Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"accounting-management.
|
|
309
|
+
* Returns a list of Financial Accounts you have previously created. The Financial Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"accounting-management.financial-accounts.view\"
|
|
310
310
|
* @summary List Financial Accounts
|
|
311
311
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
312
312
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -334,7 +334,7 @@ export const FinancialAccountsApiFactory = function (configuration?: Configurati
|
|
|
334
334
|
const localVarFp = FinancialAccountsApiFp(configuration)
|
|
335
335
|
return {
|
|
336
336
|
/**
|
|
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. **Required Permissions** \"accounting-management.
|
|
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. **Required Permissions** \"accounting-management.financial-accounts.create\"
|
|
338
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.
|
|
@@ -345,7 +345,7 @@ 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 Financial Account. Supply the unique code that was returned when you created the Financial Account and this will delete it. **Required Permissions** \"accounting-management.
|
|
348
|
+
* Permanently deletes the Financial Account. Supply the unique code that was returned when you created the Financial Account and this will delete it. **Required Permissions** \"accounting-management.financial-accounts.delete\"
|
|
349
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.
|
|
@@ -356,7 +356,7 @@ 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 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. **Required Permissions** \"accounting-management.
|
|
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. **Required Permissions** \"accounting-management.financial-accounts.view\"
|
|
360
360
|
* @summary Retrieve the Financial Account
|
|
361
361
|
* @param {string} code Unique identifier for the object.
|
|
362
362
|
* @param {string} expand
|
|
@@ -368,7 +368,7 @@ export const FinancialAccountsApiFactory = function (configuration?: Configurati
|
|
|
368
368
|
return localVarFp.getFinancialAccount(code, expand, authorization, options).then((request) => request(axios, basePath));
|
|
369
369
|
},
|
|
370
370
|
/**
|
|
371
|
-
* Returns a list of Financial Accounts you have previously created. The Financial Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"accounting-management.
|
|
371
|
+
* Returns a list of Financial Accounts you have previously created. The Financial Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"accounting-management.financial-accounts.view\"
|
|
372
372
|
* @summary List Financial Accounts
|
|
373
373
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
374
374
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -528,7 +528,7 @@ export interface FinancialAccountsApiListFinancialAccountsRequest {
|
|
|
528
528
|
*/
|
|
529
529
|
export class FinancialAccountsApi extends BaseAPI {
|
|
530
530
|
/**
|
|
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. **Required Permissions** \"accounting-management.
|
|
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. **Required Permissions** \"accounting-management.financial-accounts.create\"
|
|
532
532
|
* @summary Create the Financial Account
|
|
533
533
|
* @param {FinancialAccountsApiCreateFinancialAccountRequest} requestParameters Request parameters.
|
|
534
534
|
* @param {*} [options] Override http request option.
|
|
@@ -540,7 +540,7 @@ export class FinancialAccountsApi extends BaseAPI {
|
|
|
540
540
|
}
|
|
541
541
|
|
|
542
542
|
/**
|
|
543
|
-
* Permanently deletes the Financial Account. Supply the unique code that was returned when you created the Financial Account and this will delete it. **Required Permissions** \"accounting-management.
|
|
543
|
+
* Permanently deletes the Financial Account. Supply the unique code that was returned when you created the Financial Account and this will delete it. **Required Permissions** \"accounting-management.financial-accounts.delete\"
|
|
544
544
|
* @summary Delete the Financial Account
|
|
545
545
|
* @param {FinancialAccountsApiDeleteFinancialAccountRequest} requestParameters Request parameters.
|
|
546
546
|
* @param {*} [options] Override http request option.
|
|
@@ -552,7 +552,7 @@ export class FinancialAccountsApi extends BaseAPI {
|
|
|
552
552
|
}
|
|
553
553
|
|
|
554
554
|
/**
|
|
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. **Required Permissions** \"accounting-management.
|
|
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. **Required Permissions** \"accounting-management.financial-accounts.view\"
|
|
556
556
|
* @summary Retrieve the Financial Account
|
|
557
557
|
* @param {FinancialAccountsApiGetFinancialAccountRequest} requestParameters Request parameters.
|
|
558
558
|
* @param {*} [options] Override http request option.
|
|
@@ -564,7 +564,7 @@ export class FinancialAccountsApi extends BaseAPI {
|
|
|
564
564
|
}
|
|
565
565
|
|
|
566
566
|
/**
|
|
567
|
-
* Returns a list of Financial Accounts you have previously created. The Financial Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"accounting-management.
|
|
567
|
+
* Returns a list of Financial Accounts you have previously created. The Financial Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"accounting-management.financial-accounts.view\"
|
|
568
568
|
* @summary List Financial Accounts
|
|
569
569
|
* @param {FinancialAccountsApiListFinancialAccountsRequest} requestParameters Request parameters.
|
|
570
570
|
* @param {*} [options] Override http request option.
|
|
@@ -39,7 +39,7 @@ const FormData = require('form-data');
|
|
|
39
39
|
export const PersonalAccountsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
40
40
|
return {
|
|
41
41
|
/**
|
|
42
|
-
* This will create an personal account in the database. The personal account will be created with the provided name, type, and account number. personal account should be created with a financial account number. **Required Permissions** \"accounting-management.
|
|
42
|
+
* This will create an personal account in the database. The personal account will be created with the provided name, type, and account number. personal account should be created with a financial account number. **Required Permissions** \"accounting-management.financial-accounts.create\"
|
|
43
43
|
* @summary Create the Personal Account
|
|
44
44
|
* @param {CreatePersonalAccountRequestDto} createPersonalAccountRequestDto
|
|
45
45
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -86,7 +86,7 @@ export const PersonalAccountsApiAxiosParamCreator = function (configuration?: Co
|
|
|
86
86
|
};
|
|
87
87
|
},
|
|
88
88
|
/**
|
|
89
|
-
* Permanently deletes the Personal Account. Supply the unique code that was returned when you created the Personal Account and this will delete it. **Required Permissions** \"accounting-management.
|
|
89
|
+
* Permanently deletes the Personal Account. Supply the unique code that was returned when you created the Personal Account and this will delete it. **Required Permissions** \"accounting-management.financial-accounts.delete\"
|
|
90
90
|
* @summary Delete the Personal 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.
|
|
@@ -131,7 +131,7 @@ export const PersonalAccountsApiAxiosParamCreator = function (configuration?: Co
|
|
|
131
131
|
};
|
|
132
132
|
},
|
|
133
133
|
/**
|
|
134
|
-
* Retrieves the details of the Personal Account that was previously created. Supply the unique Personal Account code that was returned when you created it and Emil Api will return the corresponding Personal Account information. **Required Permissions** \"accounting-management.
|
|
134
|
+
* Retrieves the details of the Personal Account that was previously created. Supply the unique Personal Account code that was returned when you created it and Emil Api will return the corresponding Personal Account information. **Required Permissions** \"accounting-management.financial-accounts.view\"
|
|
135
135
|
* @summary Retrieve the Personal Account
|
|
136
136
|
* @param {string} code Unique identifier for the object.
|
|
137
137
|
* @param {string} expand
|
|
@@ -183,7 +183,7 @@ export const PersonalAccountsApiAxiosParamCreator = function (configuration?: Co
|
|
|
183
183
|
};
|
|
184
184
|
},
|
|
185
185
|
/**
|
|
186
|
-
* Returns a list of Personal Accounts you have previously created. The Personal Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"accounting-management.
|
|
186
|
+
* Returns a list of Personal Accounts you have previously created. The Personal Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"accounting-management.financial-accounts.view\"
|
|
187
187
|
* @summary List Personal Accounts
|
|
188
188
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
189
189
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -269,7 +269,7 @@ export const PersonalAccountsApiFp = function(configuration?: Configuration) {
|
|
|
269
269
|
const localVarAxiosParamCreator = PersonalAccountsApiAxiosParamCreator(configuration)
|
|
270
270
|
return {
|
|
271
271
|
/**
|
|
272
|
-
* This will create an personal account in the database. The personal account will be created with the provided name, type, and account number. personal account should be created with a financial account number. **Required Permissions** \"accounting-management.
|
|
272
|
+
* This will create an personal account in the database. The personal account will be created with the provided name, type, and account number. personal account should be created with a financial account number. **Required Permissions** \"accounting-management.financial-accounts.create\"
|
|
273
273
|
* @summary Create the Personal Account
|
|
274
274
|
* @param {CreatePersonalAccountRequestDto} createPersonalAccountRequestDto
|
|
275
275
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -281,7 +281,7 @@ export const PersonalAccountsApiFp = function(configuration?: Configuration) {
|
|
|
281
281
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
282
282
|
},
|
|
283
283
|
/**
|
|
284
|
-
* Permanently deletes the Personal Account. Supply the unique code that was returned when you created the Personal Account and this will delete it. **Required Permissions** \"accounting-management.
|
|
284
|
+
* Permanently deletes the Personal Account. Supply the unique code that was returned when you created the Personal Account and this will delete it. **Required Permissions** \"accounting-management.financial-accounts.delete\"
|
|
285
285
|
* @summary Delete the Personal 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.
|
|
@@ -293,7 +293,7 @@ export const PersonalAccountsApiFp = function(configuration?: Configuration) {
|
|
|
293
293
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
294
294
|
},
|
|
295
295
|
/**
|
|
296
|
-
* Retrieves the details of the Personal Account that was previously created. Supply the unique Personal Account code that was returned when you created it and Emil Api will return the corresponding Personal Account information. **Required Permissions** \"accounting-management.
|
|
296
|
+
* Retrieves the details of the Personal Account that was previously created. Supply the unique Personal Account code that was returned when you created it and Emil Api will return the corresponding Personal Account information. **Required Permissions** \"accounting-management.financial-accounts.view\"
|
|
297
297
|
* @summary Retrieve the Personal Account
|
|
298
298
|
* @param {string} code Unique identifier for the object.
|
|
299
299
|
* @param {string} expand
|
|
@@ -306,7 +306,7 @@ export const PersonalAccountsApiFp = function(configuration?: Configuration) {
|
|
|
306
306
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
307
307
|
},
|
|
308
308
|
/**
|
|
309
|
-
* Returns a list of Personal Accounts you have previously created. The Personal Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"accounting-management.
|
|
309
|
+
* Returns a list of Personal Accounts you have previously created. The Personal Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"accounting-management.financial-accounts.view\"
|
|
310
310
|
* @summary List Personal Accounts
|
|
311
311
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
312
312
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -334,7 +334,7 @@ export const PersonalAccountsApiFactory = function (configuration?: Configuratio
|
|
|
334
334
|
const localVarFp = PersonalAccountsApiFp(configuration)
|
|
335
335
|
return {
|
|
336
336
|
/**
|
|
337
|
-
* This will create an personal account in the database. The personal account will be created with the provided name, type, and account number. personal account should be created with a financial account number. **Required Permissions** \"accounting-management.
|
|
337
|
+
* This will create an personal account in the database. The personal account will be created with the provided name, type, and account number. personal account should be created with a financial account number. **Required Permissions** \"accounting-management.financial-accounts.create\"
|
|
338
338
|
* @summary Create the Personal Account
|
|
339
339
|
* @param {CreatePersonalAccountRequestDto} createPersonalAccountRequestDto
|
|
340
340
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -345,7 +345,7 @@ export const PersonalAccountsApiFactory = function (configuration?: Configuratio
|
|
|
345
345
|
return localVarFp.createPersonalAccount(createPersonalAccountRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
346
346
|
},
|
|
347
347
|
/**
|
|
348
|
-
* Permanently deletes the Personal Account. Supply the unique code that was returned when you created the Personal Account and this will delete it. **Required Permissions** \"accounting-management.
|
|
348
|
+
* Permanently deletes the Personal Account. Supply the unique code that was returned when you created the Personal Account and this will delete it. **Required Permissions** \"accounting-management.financial-accounts.delete\"
|
|
349
349
|
* @summary Delete the Personal 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.
|
|
@@ -356,7 +356,7 @@ export const PersonalAccountsApiFactory = function (configuration?: Configuratio
|
|
|
356
356
|
return localVarFp.deletePersonalAccount(code, authorization, options).then((request) => request(axios, basePath));
|
|
357
357
|
},
|
|
358
358
|
/**
|
|
359
|
-
* Retrieves the details of the Personal Account that was previously created. Supply the unique Personal Account code that was returned when you created it and Emil Api will return the corresponding Personal Account information. **Required Permissions** \"accounting-management.
|
|
359
|
+
* Retrieves the details of the Personal Account that was previously created. Supply the unique Personal Account code that was returned when you created it and Emil Api will return the corresponding Personal Account information. **Required Permissions** \"accounting-management.financial-accounts.view\"
|
|
360
360
|
* @summary Retrieve the Personal Account
|
|
361
361
|
* @param {string} code Unique identifier for the object.
|
|
362
362
|
* @param {string} expand
|
|
@@ -368,7 +368,7 @@ export const PersonalAccountsApiFactory = function (configuration?: Configuratio
|
|
|
368
368
|
return localVarFp.getPersonalAccount(code, expand, authorization, options).then((request) => request(axios, basePath));
|
|
369
369
|
},
|
|
370
370
|
/**
|
|
371
|
-
* Returns a list of Personal Accounts you have previously created. The Personal Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"accounting-management.
|
|
371
|
+
* Returns a list of Personal Accounts you have previously created. The Personal Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"accounting-management.financial-accounts.view\"
|
|
372
372
|
* @summary List Personal Accounts
|
|
373
373
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
374
374
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -528,7 +528,7 @@ export interface PersonalAccountsApiListPersonalAccountsRequest {
|
|
|
528
528
|
*/
|
|
529
529
|
export class PersonalAccountsApi extends BaseAPI {
|
|
530
530
|
/**
|
|
531
|
-
* This will create an personal account in the database. The personal account will be created with the provided name, type, and account number. personal account should be created with a financial account number. **Required Permissions** \"accounting-management.
|
|
531
|
+
* This will create an personal account in the database. The personal account will be created with the provided name, type, and account number. personal account should be created with a financial account number. **Required Permissions** \"accounting-management.financial-accounts.create\"
|
|
532
532
|
* @summary Create the Personal Account
|
|
533
533
|
* @param {PersonalAccountsApiCreatePersonalAccountRequest} requestParameters Request parameters.
|
|
534
534
|
* @param {*} [options] Override http request option.
|
|
@@ -540,7 +540,7 @@ export class PersonalAccountsApi extends BaseAPI {
|
|
|
540
540
|
}
|
|
541
541
|
|
|
542
542
|
/**
|
|
543
|
-
* Permanently deletes the Personal Account. Supply the unique code that was returned when you created the Personal Account and this will delete it. **Required Permissions** \"accounting-management.
|
|
543
|
+
* Permanently deletes the Personal Account. Supply the unique code that was returned when you created the Personal Account and this will delete it. **Required Permissions** \"accounting-management.financial-accounts.delete\"
|
|
544
544
|
* @summary Delete the Personal Account
|
|
545
545
|
* @param {PersonalAccountsApiDeletePersonalAccountRequest} requestParameters Request parameters.
|
|
546
546
|
* @param {*} [options] Override http request option.
|
|
@@ -552,7 +552,7 @@ export class PersonalAccountsApi extends BaseAPI {
|
|
|
552
552
|
}
|
|
553
553
|
|
|
554
554
|
/**
|
|
555
|
-
* Retrieves the details of the Personal Account that was previously created. Supply the unique Personal Account code that was returned when you created it and Emil Api will return the corresponding Personal Account information. **Required Permissions** \"accounting-management.
|
|
555
|
+
* Retrieves the details of the Personal Account that was previously created. Supply the unique Personal Account code that was returned when you created it and Emil Api will return the corresponding Personal Account information. **Required Permissions** \"accounting-management.financial-accounts.view\"
|
|
556
556
|
* @summary Retrieve the Personal Account
|
|
557
557
|
* @param {PersonalAccountsApiGetPersonalAccountRequest} requestParameters Request parameters.
|
|
558
558
|
* @param {*} [options] Override http request option.
|
|
@@ -564,7 +564,7 @@ export class PersonalAccountsApi extends BaseAPI {
|
|
|
564
564
|
}
|
|
565
565
|
|
|
566
566
|
/**
|
|
567
|
-
* Returns a list of Personal Accounts you have previously created. The Personal Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"accounting-management.
|
|
567
|
+
* Returns a list of Personal Accounts you have previously created. The Personal Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"accounting-management.financial-accounts.view\"
|
|
568
568
|
* @summary List Personal Accounts
|
|
569
569
|
* @param {PersonalAccountsApiListPersonalAccountsRequest} requestParameters Request parameters.
|
|
570
570
|
* @param {*} [options] Override http request option.
|
|
@@ -22,7 +22,7 @@ import { ListFinancialAccountsResponseClass } from '../models';
|
|
|
22
22
|
*/
|
|
23
23
|
export declare const FinancialAccountsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
24
24
|
/**
|
|
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. **Required Permissions** \"accounting-management.
|
|
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. **Required Permissions** \"accounting-management.financial-accounts.create\"
|
|
26
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.
|
|
@@ -31,7 +31,7 @@ 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 Financial Account. Supply the unique code that was returned when you created the Financial Account and this will delete it. **Required Permissions** \"accounting-management.
|
|
34
|
+
* Permanently deletes the Financial Account. Supply the unique code that was returned when you created the Financial Account and this will delete it. **Required Permissions** \"accounting-management.financial-accounts.delete\"
|
|
35
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.
|
|
@@ -40,7 +40,7 @@ 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 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. **Required Permissions** \"accounting-management.
|
|
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. **Required Permissions** \"accounting-management.financial-accounts.view\"
|
|
44
44
|
* @summary Retrieve the Financial Account
|
|
45
45
|
* @param {string} code Unique identifier for the object.
|
|
46
46
|
* @param {string} expand
|
|
@@ -50,7 +50,7 @@ export declare const FinancialAccountsApiAxiosParamCreator: (configuration?: Con
|
|
|
50
50
|
*/
|
|
51
51
|
getFinancialAccount: (code: string, expand: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
52
52
|
/**
|
|
53
|
-
* Returns a list of Financial Accounts you have previously created. The Financial Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"accounting-management.
|
|
53
|
+
* Returns a list of Financial Accounts you have previously created. The Financial Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"accounting-management.financial-accounts.view\"
|
|
54
54
|
* @summary List Financial Accounts
|
|
55
55
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
56
56
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -71,7 +71,7 @@ export declare const FinancialAccountsApiAxiosParamCreator: (configuration?: Con
|
|
|
71
71
|
*/
|
|
72
72
|
export declare const FinancialAccountsApiFp: (configuration?: Configuration) => {
|
|
73
73
|
/**
|
|
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. **Required Permissions** \"accounting-management.
|
|
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. **Required Permissions** \"accounting-management.financial-accounts.create\"
|
|
75
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.
|
|
@@ -80,7 +80,7 @@ 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 Financial Account. Supply the unique code that was returned when you created the Financial Account and this will delete it. **Required Permissions** \"accounting-management.
|
|
83
|
+
* Permanently deletes the Financial Account. Supply the unique code that was returned when you created the Financial Account and this will delete it. **Required Permissions** \"accounting-management.financial-accounts.delete\"
|
|
84
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.
|
|
@@ -89,7 +89,7 @@ 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 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. **Required Permissions** \"accounting-management.
|
|
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. **Required Permissions** \"accounting-management.financial-accounts.view\"
|
|
93
93
|
* @summary Retrieve the Financial Account
|
|
94
94
|
* @param {string} code Unique identifier for the object.
|
|
95
95
|
* @param {string} expand
|
|
@@ -99,7 +99,7 @@ export declare const FinancialAccountsApiFp: (configuration?: Configuration) =>
|
|
|
99
99
|
*/
|
|
100
100
|
getFinancialAccount(code: string, expand: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetFinancialAccountResponseClass>>;
|
|
101
101
|
/**
|
|
102
|
-
* Returns a list of Financial Accounts you have previously created. The Financial Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"accounting-management.
|
|
102
|
+
* Returns a list of Financial Accounts you have previously created. The Financial Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"accounting-management.financial-accounts.view\"
|
|
103
103
|
* @summary List Financial Accounts
|
|
104
104
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
105
105
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -120,7 +120,7 @@ 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 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. **Required Permissions** \"accounting-management.
|
|
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. **Required Permissions** \"accounting-management.financial-accounts.create\"
|
|
124
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.
|
|
@@ -129,7 +129,7 @@ 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 Financial Account. Supply the unique code that was returned when you created the Financial Account and this will delete it. **Required Permissions** \"accounting-management.
|
|
132
|
+
* Permanently deletes the Financial Account. Supply the unique code that was returned when you created the Financial Account and this will delete it. **Required Permissions** \"accounting-management.financial-accounts.delete\"
|
|
133
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.
|
|
@@ -138,7 +138,7 @@ 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 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. **Required Permissions** \"accounting-management.
|
|
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. **Required Permissions** \"accounting-management.financial-accounts.view\"
|
|
142
142
|
* @summary Retrieve the Financial Account
|
|
143
143
|
* @param {string} code Unique identifier for the object.
|
|
144
144
|
* @param {string} expand
|
|
@@ -148,7 +148,7 @@ export declare const FinancialAccountsApiFactory: (configuration?: Configuration
|
|
|
148
148
|
*/
|
|
149
149
|
getFinancialAccount(code: string, expand: string, authorization?: string, options?: any): AxiosPromise<GetFinancialAccountResponseClass>;
|
|
150
150
|
/**
|
|
151
|
-
* Returns a list of Financial Accounts you have previously created. The Financial Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"accounting-management.
|
|
151
|
+
* Returns a list of Financial Accounts you have previously created. The Financial Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"accounting-management.financial-accounts.view\"
|
|
152
152
|
* @summary List Financial Accounts
|
|
153
153
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
154
154
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -289,7 +289,7 @@ export interface FinancialAccountsApiListFinancialAccountsRequest {
|
|
|
289
289
|
*/
|
|
290
290
|
export declare class FinancialAccountsApi extends BaseAPI {
|
|
291
291
|
/**
|
|
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. **Required Permissions** \"accounting-management.
|
|
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. **Required Permissions** \"accounting-management.financial-accounts.create\"
|
|
293
293
|
* @summary Create the Financial Account
|
|
294
294
|
* @param {FinancialAccountsApiCreateFinancialAccountRequest} requestParameters Request parameters.
|
|
295
295
|
* @param {*} [options] Override http request option.
|
|
@@ -298,7 +298,7 @@ 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 Financial Account. Supply the unique code that was returned when you created the Financial Account and this will delete it. **Required Permissions** \"accounting-management.
|
|
301
|
+
* Permanently deletes the Financial Account. Supply the unique code that was returned when you created the Financial Account and this will delete it. **Required Permissions** \"accounting-management.financial-accounts.delete\"
|
|
302
302
|
* @summary Delete the Financial Account
|
|
303
303
|
* @param {FinancialAccountsApiDeleteFinancialAccountRequest} requestParameters Request parameters.
|
|
304
304
|
* @param {*} [options] Override http request option.
|
|
@@ -307,7 +307,7 @@ 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 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. **Required Permissions** \"accounting-management.
|
|
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. **Required Permissions** \"accounting-management.financial-accounts.view\"
|
|
311
311
|
* @summary Retrieve the Financial Account
|
|
312
312
|
* @param {FinancialAccountsApiGetFinancialAccountRequest} requestParameters Request parameters.
|
|
313
313
|
* @param {*} [options] Override http request option.
|
|
@@ -316,7 +316,7 @@ export declare class FinancialAccountsApi extends BaseAPI {
|
|
|
316
316
|
*/
|
|
317
317
|
getFinancialAccount(requestParameters: FinancialAccountsApiGetFinancialAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetFinancialAccountResponseClass, any>>;
|
|
318
318
|
/**
|
|
319
|
-
* Returns a list of Financial Accounts you have previously created. The Financial Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"accounting-management.
|
|
319
|
+
* Returns a list of Financial Accounts you have previously created. The Financial Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"accounting-management.financial-accounts.view\"
|
|
320
320
|
* @summary List Financial Accounts
|
|
321
321
|
* @param {FinancialAccountsApiListFinancialAccountsRequest} requestParameters Request parameters.
|
|
322
322
|
* @param {*} [options] Override http request option.
|
|
@@ -97,7 +97,7 @@ var FinancialAccountsApiAxiosParamCreator = function (configuration) {
|
|
|
97
97
|
var _this = this;
|
|
98
98
|
return {
|
|
99
99
|
/**
|
|
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. **Required Permissions** \"accounting-management.
|
|
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. **Required Permissions** \"accounting-management.financial-accounts.create\"
|
|
101
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.
|
|
@@ -146,7 +146,7 @@ var FinancialAccountsApiAxiosParamCreator = function (configuration) {
|
|
|
146
146
|
});
|
|
147
147
|
},
|
|
148
148
|
/**
|
|
149
|
-
* Permanently deletes the Financial Account. Supply the unique code that was returned when you created the Financial Account and this will delete it. **Required Permissions** \"accounting-management.
|
|
149
|
+
* Permanently deletes the Financial Account. Supply the unique code that was returned when you created the Financial Account and this will delete it. **Required Permissions** \"accounting-management.financial-accounts.delete\"
|
|
150
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.
|
|
@@ -194,7 +194,7 @@ var FinancialAccountsApiAxiosParamCreator = function (configuration) {
|
|
|
194
194
|
});
|
|
195
195
|
},
|
|
196
196
|
/**
|
|
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. **Required Permissions** \"accounting-management.
|
|
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. **Required Permissions** \"accounting-management.financial-accounts.view\"
|
|
198
198
|
* @summary Retrieve the Financial Account
|
|
199
199
|
* @param {string} code Unique identifier for the object.
|
|
200
200
|
* @param {string} expand
|
|
@@ -248,7 +248,7 @@ var FinancialAccountsApiAxiosParamCreator = function (configuration) {
|
|
|
248
248
|
});
|
|
249
249
|
},
|
|
250
250
|
/**
|
|
251
|
-
* Returns a list of Financial Accounts you have previously created. The Financial Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"accounting-management.
|
|
251
|
+
* Returns a list of Financial Accounts you have previously created. The Financial Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"accounting-management.financial-accounts.view\"
|
|
252
252
|
* @summary List Financial Accounts
|
|
253
253
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
254
254
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -330,7 +330,7 @@ var FinancialAccountsApiFp = function (configuration) {
|
|
|
330
330
|
var localVarAxiosParamCreator = (0, exports.FinancialAccountsApiAxiosParamCreator)(configuration);
|
|
331
331
|
return {
|
|
332
332
|
/**
|
|
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. **Required Permissions** \"accounting-management.
|
|
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. **Required Permissions** \"accounting-management.financial-accounts.create\"
|
|
334
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.
|
|
@@ -351,7 +351,7 @@ var FinancialAccountsApiFp = function (configuration) {
|
|
|
351
351
|
});
|
|
352
352
|
},
|
|
353
353
|
/**
|
|
354
|
-
* Permanently deletes the Financial Account. Supply the unique code that was returned when you created the Financial Account and this will delete it. **Required Permissions** \"accounting-management.
|
|
354
|
+
* Permanently deletes the Financial Account. Supply the unique code that was returned when you created the Financial Account and this will delete it. **Required Permissions** \"accounting-management.financial-accounts.delete\"
|
|
355
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.
|
|
@@ -372,7 +372,7 @@ var FinancialAccountsApiFp = function (configuration) {
|
|
|
372
372
|
});
|
|
373
373
|
},
|
|
374
374
|
/**
|
|
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. **Required Permissions** \"accounting-management.
|
|
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. **Required Permissions** \"accounting-management.financial-accounts.view\"
|
|
376
376
|
* @summary Retrieve the Financial Account
|
|
377
377
|
* @param {string} code Unique identifier for the object.
|
|
378
378
|
* @param {string} expand
|
|
@@ -394,7 +394,7 @@ var FinancialAccountsApiFp = function (configuration) {
|
|
|
394
394
|
});
|
|
395
395
|
},
|
|
396
396
|
/**
|
|
397
|
-
* Returns a list of Financial Accounts you have previously created. The Financial Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"accounting-management.
|
|
397
|
+
* Returns a list of Financial Accounts you have previously created. The Financial Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"accounting-management.financial-accounts.view\"
|
|
398
398
|
* @summary List Financial Accounts
|
|
399
399
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
400
400
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -431,7 +431,7 @@ var FinancialAccountsApiFactory = function (configuration, basePath, axios) {
|
|
|
431
431
|
var localVarFp = (0, exports.FinancialAccountsApiFp)(configuration);
|
|
432
432
|
return {
|
|
433
433
|
/**
|
|
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. **Required Permissions** \"accounting-management.
|
|
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. **Required Permissions** \"accounting-management.financial-accounts.create\"
|
|
435
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.
|
|
@@ -442,7 +442,7 @@ 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 Financial Account. Supply the unique code that was returned when you created the Financial Account and this will delete it. **Required Permissions** \"accounting-management.
|
|
445
|
+
* Permanently deletes the Financial Account. Supply the unique code that was returned when you created the Financial Account and this will delete it. **Required Permissions** \"accounting-management.financial-accounts.delete\"
|
|
446
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.
|
|
@@ -453,7 +453,7 @@ 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 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. **Required Permissions** \"accounting-management.
|
|
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. **Required Permissions** \"accounting-management.financial-accounts.view\"
|
|
457
457
|
* @summary Retrieve the Financial Account
|
|
458
458
|
* @param {string} code Unique identifier for the object.
|
|
459
459
|
* @param {string} expand
|
|
@@ -465,7 +465,7 @@ var FinancialAccountsApiFactory = function (configuration, basePath, axios) {
|
|
|
465
465
|
return localVarFp.getFinancialAccount(code, expand, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
466
466
|
},
|
|
467
467
|
/**
|
|
468
|
-
* Returns a list of Financial Accounts you have previously created. The Financial Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"accounting-management.
|
|
468
|
+
* Returns a list of Financial Accounts you have previously created. The Financial Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"accounting-management.financial-accounts.view\"
|
|
469
469
|
* @summary List Financial Accounts
|
|
470
470
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
471
471
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -496,7 +496,7 @@ var FinancialAccountsApi = /** @class */ (function (_super) {
|
|
|
496
496
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
497
497
|
}
|
|
498
498
|
/**
|
|
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. **Required Permissions** \"accounting-management.
|
|
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. **Required Permissions** \"accounting-management.financial-accounts.create\"
|
|
500
500
|
* @summary Create the Financial Account
|
|
501
501
|
* @param {FinancialAccountsApiCreateFinancialAccountRequest} requestParameters Request parameters.
|
|
502
502
|
* @param {*} [options] Override http request option.
|
|
@@ -508,7 +508,7 @@ 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 Financial Account. Supply the unique code that was returned when you created the Financial Account and this will delete it. **Required Permissions** \"accounting-management.
|
|
511
|
+
* Permanently deletes the Financial Account. Supply the unique code that was returned when you created the Financial Account and this will delete it. **Required Permissions** \"accounting-management.financial-accounts.delete\"
|
|
512
512
|
* @summary Delete the Financial Account
|
|
513
513
|
* @param {FinancialAccountsApiDeleteFinancialAccountRequest} requestParameters Request parameters.
|
|
514
514
|
* @param {*} [options] Override http request option.
|
|
@@ -520,7 +520,7 @@ 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 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. **Required Permissions** \"accounting-management.
|
|
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. **Required Permissions** \"accounting-management.financial-accounts.view\"
|
|
524
524
|
* @summary Retrieve the Financial Account
|
|
525
525
|
* @param {FinancialAccountsApiGetFinancialAccountRequest} requestParameters Request parameters.
|
|
526
526
|
* @param {*} [options] Override http request option.
|
|
@@ -532,7 +532,7 @@ var FinancialAccountsApi = /** @class */ (function (_super) {
|
|
|
532
532
|
return (0, exports.FinancialAccountsApiFp)(this.configuration).getFinancialAccount(requestParameters.code, requestParameters.expand, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
533
533
|
};
|
|
534
534
|
/**
|
|
535
|
-
* Returns a list of Financial Accounts you have previously created. The Financial Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"accounting-management.
|
|
535
|
+
* Returns a list of Financial Accounts you have previously created. The Financial Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"accounting-management.financial-accounts.view\"
|
|
536
536
|
* @summary List Financial Accounts
|
|
537
537
|
* @param {FinancialAccountsApiListFinancialAccountsRequest} requestParameters Request parameters.
|
|
538
538
|
* @param {*} [options] Override http request option.
|
|
@@ -22,7 +22,7 @@ import { ListPersonalAccountsResponseClass } from '../models';
|
|
|
22
22
|
*/
|
|
23
23
|
export declare const PersonalAccountsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
24
24
|
/**
|
|
25
|
-
* This will create an personal account in the database. The personal account will be created with the provided name, type, and account number. personal account should be created with a financial account number. **Required Permissions** \"accounting-management.
|
|
25
|
+
* This will create an personal account in the database. The personal account will be created with the provided name, type, and account number. personal account should be created with a financial account number. **Required Permissions** \"accounting-management.financial-accounts.create\"
|
|
26
26
|
* @summary Create the Personal Account
|
|
27
27
|
* @param {CreatePersonalAccountRequestDto} createPersonalAccountRequestDto
|
|
28
28
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -31,7 +31,7 @@ export declare const PersonalAccountsApiAxiosParamCreator: (configuration?: Conf
|
|
|
31
31
|
*/
|
|
32
32
|
createPersonalAccount: (createPersonalAccountRequestDto: CreatePersonalAccountRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
33
33
|
/**
|
|
34
|
-
* Permanently deletes the Personal Account. Supply the unique code that was returned when you created the Personal Account and this will delete it. **Required Permissions** \"accounting-management.
|
|
34
|
+
* Permanently deletes the Personal Account. Supply the unique code that was returned when you created the Personal Account and this will delete it. **Required Permissions** \"accounting-management.financial-accounts.delete\"
|
|
35
35
|
* @summary Delete the Personal 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.
|
|
@@ -40,7 +40,7 @@ export declare const PersonalAccountsApiAxiosParamCreator: (configuration?: Conf
|
|
|
40
40
|
*/
|
|
41
41
|
deletePersonalAccount: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
42
42
|
/**
|
|
43
|
-
* Retrieves the details of the Personal Account that was previously created. Supply the unique Personal Account code that was returned when you created it and Emil Api will return the corresponding Personal Account information. **Required Permissions** \"accounting-management.
|
|
43
|
+
* Retrieves the details of the Personal Account that was previously created. Supply the unique Personal Account code that was returned when you created it and Emil Api will return the corresponding Personal Account information. **Required Permissions** \"accounting-management.financial-accounts.view\"
|
|
44
44
|
* @summary Retrieve the Personal Account
|
|
45
45
|
* @param {string} code Unique identifier for the object.
|
|
46
46
|
* @param {string} expand
|
|
@@ -50,7 +50,7 @@ export declare const PersonalAccountsApiAxiosParamCreator: (configuration?: Conf
|
|
|
50
50
|
*/
|
|
51
51
|
getPersonalAccount: (code: string, expand: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
52
52
|
/**
|
|
53
|
-
* Returns a list of Personal Accounts you have previously created. The Personal Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"accounting-management.
|
|
53
|
+
* Returns a list of Personal Accounts you have previously created. The Personal Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"accounting-management.financial-accounts.view\"
|
|
54
54
|
* @summary List Personal Accounts
|
|
55
55
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
56
56
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -71,7 +71,7 @@ export declare const PersonalAccountsApiAxiosParamCreator: (configuration?: Conf
|
|
|
71
71
|
*/
|
|
72
72
|
export declare const PersonalAccountsApiFp: (configuration?: Configuration) => {
|
|
73
73
|
/**
|
|
74
|
-
* This will create an personal account in the database. The personal account will be created with the provided name, type, and account number. personal account should be created with a financial account number. **Required Permissions** \"accounting-management.
|
|
74
|
+
* This will create an personal account in the database. The personal account will be created with the provided name, type, and account number. personal account should be created with a financial account number. **Required Permissions** \"accounting-management.financial-accounts.create\"
|
|
75
75
|
* @summary Create the Personal Account
|
|
76
76
|
* @param {CreatePersonalAccountRequestDto} createPersonalAccountRequestDto
|
|
77
77
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -80,7 +80,7 @@ export declare const PersonalAccountsApiFp: (configuration?: Configuration) => {
|
|
|
80
80
|
*/
|
|
81
81
|
createPersonalAccount(createPersonalAccountRequestDto: CreatePersonalAccountRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreatePersonalAccountResponseClass>>;
|
|
82
82
|
/**
|
|
83
|
-
* Permanently deletes the Personal Account. Supply the unique code that was returned when you created the Personal Account and this will delete it. **Required Permissions** \"accounting-management.
|
|
83
|
+
* Permanently deletes the Personal Account. Supply the unique code that was returned when you created the Personal Account and this will delete it. **Required Permissions** \"accounting-management.financial-accounts.delete\"
|
|
84
84
|
* @summary Delete the Personal 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.
|
|
@@ -89,7 +89,7 @@ export declare const PersonalAccountsApiFp: (configuration?: Configuration) => {
|
|
|
89
89
|
*/
|
|
90
90
|
deletePersonalAccount(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
91
91
|
/**
|
|
92
|
-
* Retrieves the details of the Personal Account that was previously created. Supply the unique Personal Account code that was returned when you created it and Emil Api will return the corresponding Personal Account information. **Required Permissions** \"accounting-management.
|
|
92
|
+
* Retrieves the details of the Personal Account that was previously created. Supply the unique Personal Account code that was returned when you created it and Emil Api will return the corresponding Personal Account information. **Required Permissions** \"accounting-management.financial-accounts.view\"
|
|
93
93
|
* @summary Retrieve the Personal Account
|
|
94
94
|
* @param {string} code Unique identifier for the object.
|
|
95
95
|
* @param {string} expand
|
|
@@ -99,7 +99,7 @@ export declare const PersonalAccountsApiFp: (configuration?: Configuration) => {
|
|
|
99
99
|
*/
|
|
100
100
|
getPersonalAccount(code: string, expand: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetPersonalAccountResponseClass>>;
|
|
101
101
|
/**
|
|
102
|
-
* Returns a list of Personal Accounts you have previously created. The Personal Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"accounting-management.
|
|
102
|
+
* Returns a list of Personal Accounts you have previously created. The Personal Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"accounting-management.financial-accounts.view\"
|
|
103
103
|
* @summary List Personal Accounts
|
|
104
104
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
105
105
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -120,7 +120,7 @@ export declare const PersonalAccountsApiFp: (configuration?: Configuration) => {
|
|
|
120
120
|
*/
|
|
121
121
|
export declare const PersonalAccountsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
122
122
|
/**
|
|
123
|
-
* This will create an personal account in the database. The personal account will be created with the provided name, type, and account number. personal account should be created with a financial account number. **Required Permissions** \"accounting-management.
|
|
123
|
+
* This will create an personal account in the database. The personal account will be created with the provided name, type, and account number. personal account should be created with a financial account number. **Required Permissions** \"accounting-management.financial-accounts.create\"
|
|
124
124
|
* @summary Create the Personal Account
|
|
125
125
|
* @param {CreatePersonalAccountRequestDto} createPersonalAccountRequestDto
|
|
126
126
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -129,7 +129,7 @@ export declare const PersonalAccountsApiFactory: (configuration?: Configuration,
|
|
|
129
129
|
*/
|
|
130
130
|
createPersonalAccount(createPersonalAccountRequestDto: CreatePersonalAccountRequestDto, authorization?: string, options?: any): AxiosPromise<CreatePersonalAccountResponseClass>;
|
|
131
131
|
/**
|
|
132
|
-
* Permanently deletes the Personal Account. Supply the unique code that was returned when you created the Personal Account and this will delete it. **Required Permissions** \"accounting-management.
|
|
132
|
+
* Permanently deletes the Personal Account. Supply the unique code that was returned when you created the Personal Account and this will delete it. **Required Permissions** \"accounting-management.financial-accounts.delete\"
|
|
133
133
|
* @summary Delete the Personal 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.
|
|
@@ -138,7 +138,7 @@ export declare const PersonalAccountsApiFactory: (configuration?: Configuration,
|
|
|
138
138
|
*/
|
|
139
139
|
deletePersonalAccount(code: string, authorization?: string, options?: any): AxiosPromise<void>;
|
|
140
140
|
/**
|
|
141
|
-
* Retrieves the details of the Personal Account that was previously created. Supply the unique Personal Account code that was returned when you created it and Emil Api will return the corresponding Personal Account information. **Required Permissions** \"accounting-management.
|
|
141
|
+
* Retrieves the details of the Personal Account that was previously created. Supply the unique Personal Account code that was returned when you created it and Emil Api will return the corresponding Personal Account information. **Required Permissions** \"accounting-management.financial-accounts.view\"
|
|
142
142
|
* @summary Retrieve the Personal Account
|
|
143
143
|
* @param {string} code Unique identifier for the object.
|
|
144
144
|
* @param {string} expand
|
|
@@ -148,7 +148,7 @@ export declare const PersonalAccountsApiFactory: (configuration?: Configuration,
|
|
|
148
148
|
*/
|
|
149
149
|
getPersonalAccount(code: string, expand: string, authorization?: string, options?: any): AxiosPromise<GetPersonalAccountResponseClass>;
|
|
150
150
|
/**
|
|
151
|
-
* Returns a list of Personal Accounts you have previously created. The Personal Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"accounting-management.
|
|
151
|
+
* Returns a list of Personal Accounts you have previously created. The Personal Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"accounting-management.financial-accounts.view\"
|
|
152
152
|
* @summary List Personal Accounts
|
|
153
153
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
154
154
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -289,7 +289,7 @@ export interface PersonalAccountsApiListPersonalAccountsRequest {
|
|
|
289
289
|
*/
|
|
290
290
|
export declare class PersonalAccountsApi extends BaseAPI {
|
|
291
291
|
/**
|
|
292
|
-
* This will create an personal account in the database. The personal account will be created with the provided name, type, and account number. personal account should be created with a financial account number. **Required Permissions** \"accounting-management.
|
|
292
|
+
* This will create an personal account in the database. The personal account will be created with the provided name, type, and account number. personal account should be created with a financial account number. **Required Permissions** \"accounting-management.financial-accounts.create\"
|
|
293
293
|
* @summary Create the Personal Account
|
|
294
294
|
* @param {PersonalAccountsApiCreatePersonalAccountRequest} requestParameters Request parameters.
|
|
295
295
|
* @param {*} [options] Override http request option.
|
|
@@ -298,7 +298,7 @@ export declare class PersonalAccountsApi extends BaseAPI {
|
|
|
298
298
|
*/
|
|
299
299
|
createPersonalAccount(requestParameters: PersonalAccountsApiCreatePersonalAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePersonalAccountResponseClass, any>>;
|
|
300
300
|
/**
|
|
301
|
-
* Permanently deletes the Personal Account. Supply the unique code that was returned when you created the Personal Account and this will delete it. **Required Permissions** \"accounting-management.
|
|
301
|
+
* Permanently deletes the Personal Account. Supply the unique code that was returned when you created the Personal Account and this will delete it. **Required Permissions** \"accounting-management.financial-accounts.delete\"
|
|
302
302
|
* @summary Delete the Personal Account
|
|
303
303
|
* @param {PersonalAccountsApiDeletePersonalAccountRequest} requestParameters Request parameters.
|
|
304
304
|
* @param {*} [options] Override http request option.
|
|
@@ -307,7 +307,7 @@ export declare class PersonalAccountsApi extends BaseAPI {
|
|
|
307
307
|
*/
|
|
308
308
|
deletePersonalAccount(requestParameters: PersonalAccountsApiDeletePersonalAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
309
309
|
/**
|
|
310
|
-
* Retrieves the details of the Personal Account that was previously created. Supply the unique Personal Account code that was returned when you created it and Emil Api will return the corresponding Personal Account information. **Required Permissions** \"accounting-management.
|
|
310
|
+
* Retrieves the details of the Personal Account that was previously created. Supply the unique Personal Account code that was returned when you created it and Emil Api will return the corresponding Personal Account information. **Required Permissions** \"accounting-management.financial-accounts.view\"
|
|
311
311
|
* @summary Retrieve the Personal Account
|
|
312
312
|
* @param {PersonalAccountsApiGetPersonalAccountRequest} requestParameters Request parameters.
|
|
313
313
|
* @param {*} [options] Override http request option.
|
|
@@ -316,7 +316,7 @@ export declare class PersonalAccountsApi extends BaseAPI {
|
|
|
316
316
|
*/
|
|
317
317
|
getPersonalAccount(requestParameters: PersonalAccountsApiGetPersonalAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPersonalAccountResponseClass, any>>;
|
|
318
318
|
/**
|
|
319
|
-
* Returns a list of Personal Accounts you have previously created. The Personal Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"accounting-management.
|
|
319
|
+
* Returns a list of Personal Accounts you have previously created. The Personal Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"accounting-management.financial-accounts.view\"
|
|
320
320
|
* @summary List Personal Accounts
|
|
321
321
|
* @param {PersonalAccountsApiListPersonalAccountsRequest} requestParameters Request parameters.
|
|
322
322
|
* @param {*} [options] Override http request option.
|
|
@@ -97,7 +97,7 @@ var PersonalAccountsApiAxiosParamCreator = function (configuration) {
|
|
|
97
97
|
var _this = this;
|
|
98
98
|
return {
|
|
99
99
|
/**
|
|
100
|
-
* This will create an personal account in the database. The personal account will be created with the provided name, type, and account number. personal account should be created with a financial account number. **Required Permissions** \"accounting-management.
|
|
100
|
+
* This will create an personal account in the database. The personal account will be created with the provided name, type, and account number. personal account should be created with a financial account number. **Required Permissions** \"accounting-management.financial-accounts.create\"
|
|
101
101
|
* @summary Create the Personal Account
|
|
102
102
|
* @param {CreatePersonalAccountRequestDto} createPersonalAccountRequestDto
|
|
103
103
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -146,7 +146,7 @@ var PersonalAccountsApiAxiosParamCreator = function (configuration) {
|
|
|
146
146
|
});
|
|
147
147
|
},
|
|
148
148
|
/**
|
|
149
|
-
* Permanently deletes the Personal Account. Supply the unique code that was returned when you created the Personal Account and this will delete it. **Required Permissions** \"accounting-management.
|
|
149
|
+
* Permanently deletes the Personal Account. Supply the unique code that was returned when you created the Personal Account and this will delete it. **Required Permissions** \"accounting-management.financial-accounts.delete\"
|
|
150
150
|
* @summary Delete the Personal 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.
|
|
@@ -194,7 +194,7 @@ var PersonalAccountsApiAxiosParamCreator = function (configuration) {
|
|
|
194
194
|
});
|
|
195
195
|
},
|
|
196
196
|
/**
|
|
197
|
-
* Retrieves the details of the Personal Account that was previously created. Supply the unique Personal Account code that was returned when you created it and Emil Api will return the corresponding Personal Account information. **Required Permissions** \"accounting-management.
|
|
197
|
+
* Retrieves the details of the Personal Account that was previously created. Supply the unique Personal Account code that was returned when you created it and Emil Api will return the corresponding Personal Account information. **Required Permissions** \"accounting-management.financial-accounts.view\"
|
|
198
198
|
* @summary Retrieve the Personal Account
|
|
199
199
|
* @param {string} code Unique identifier for the object.
|
|
200
200
|
* @param {string} expand
|
|
@@ -248,7 +248,7 @@ var PersonalAccountsApiAxiosParamCreator = function (configuration) {
|
|
|
248
248
|
});
|
|
249
249
|
},
|
|
250
250
|
/**
|
|
251
|
-
* Returns a list of Personal Accounts you have previously created. The Personal Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"accounting-management.
|
|
251
|
+
* Returns a list of Personal Accounts you have previously created. The Personal Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"accounting-management.financial-accounts.view\"
|
|
252
252
|
* @summary List Personal Accounts
|
|
253
253
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
254
254
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -330,7 +330,7 @@ var PersonalAccountsApiFp = function (configuration) {
|
|
|
330
330
|
var localVarAxiosParamCreator = (0, exports.PersonalAccountsApiAxiosParamCreator)(configuration);
|
|
331
331
|
return {
|
|
332
332
|
/**
|
|
333
|
-
* This will create an personal account in the database. The personal account will be created with the provided name, type, and account number. personal account should be created with a financial account number. **Required Permissions** \"accounting-management.
|
|
333
|
+
* This will create an personal account in the database. The personal account will be created with the provided name, type, and account number. personal account should be created with a financial account number. **Required Permissions** \"accounting-management.financial-accounts.create\"
|
|
334
334
|
* @summary Create the Personal Account
|
|
335
335
|
* @param {CreatePersonalAccountRequestDto} createPersonalAccountRequestDto
|
|
336
336
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -351,7 +351,7 @@ var PersonalAccountsApiFp = function (configuration) {
|
|
|
351
351
|
});
|
|
352
352
|
},
|
|
353
353
|
/**
|
|
354
|
-
* Permanently deletes the Personal Account. Supply the unique code that was returned when you created the Personal Account and this will delete it. **Required Permissions** \"accounting-management.
|
|
354
|
+
* Permanently deletes the Personal Account. Supply the unique code that was returned when you created the Personal Account and this will delete it. **Required Permissions** \"accounting-management.financial-accounts.delete\"
|
|
355
355
|
* @summary Delete the Personal 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.
|
|
@@ -372,7 +372,7 @@ var PersonalAccountsApiFp = function (configuration) {
|
|
|
372
372
|
});
|
|
373
373
|
},
|
|
374
374
|
/**
|
|
375
|
-
* Retrieves the details of the Personal Account that was previously created. Supply the unique Personal Account code that was returned when you created it and Emil Api will return the corresponding Personal Account information. **Required Permissions** \"accounting-management.
|
|
375
|
+
* Retrieves the details of the Personal Account that was previously created. Supply the unique Personal Account code that was returned when you created it and Emil Api will return the corresponding Personal Account information. **Required Permissions** \"accounting-management.financial-accounts.view\"
|
|
376
376
|
* @summary Retrieve the Personal Account
|
|
377
377
|
* @param {string} code Unique identifier for the object.
|
|
378
378
|
* @param {string} expand
|
|
@@ -394,7 +394,7 @@ var PersonalAccountsApiFp = function (configuration) {
|
|
|
394
394
|
});
|
|
395
395
|
},
|
|
396
396
|
/**
|
|
397
|
-
* Returns a list of Personal Accounts you have previously created. The Personal Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"accounting-management.
|
|
397
|
+
* Returns a list of Personal Accounts you have previously created. The Personal Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"accounting-management.financial-accounts.view\"
|
|
398
398
|
* @summary List Personal Accounts
|
|
399
399
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
400
400
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -431,7 +431,7 @@ var PersonalAccountsApiFactory = function (configuration, basePath, axios) {
|
|
|
431
431
|
var localVarFp = (0, exports.PersonalAccountsApiFp)(configuration);
|
|
432
432
|
return {
|
|
433
433
|
/**
|
|
434
|
-
* This will create an personal account in the database. The personal account will be created with the provided name, type, and account number. personal account should be created with a financial account number. **Required Permissions** \"accounting-management.
|
|
434
|
+
* This will create an personal account in the database. The personal account will be created with the provided name, type, and account number. personal account should be created with a financial account number. **Required Permissions** \"accounting-management.financial-accounts.create\"
|
|
435
435
|
* @summary Create the Personal Account
|
|
436
436
|
* @param {CreatePersonalAccountRequestDto} createPersonalAccountRequestDto
|
|
437
437
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -442,7 +442,7 @@ var PersonalAccountsApiFactory = function (configuration, basePath, axios) {
|
|
|
442
442
|
return localVarFp.createPersonalAccount(createPersonalAccountRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
443
443
|
},
|
|
444
444
|
/**
|
|
445
|
-
* Permanently deletes the Personal Account. Supply the unique code that was returned when you created the Personal Account and this will delete it. **Required Permissions** \"accounting-management.
|
|
445
|
+
* Permanently deletes the Personal Account. Supply the unique code that was returned when you created the Personal Account and this will delete it. **Required Permissions** \"accounting-management.financial-accounts.delete\"
|
|
446
446
|
* @summary Delete the Personal 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.
|
|
@@ -453,7 +453,7 @@ var PersonalAccountsApiFactory = function (configuration, basePath, axios) {
|
|
|
453
453
|
return localVarFp.deletePersonalAccount(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
454
454
|
},
|
|
455
455
|
/**
|
|
456
|
-
* Retrieves the details of the Personal Account that was previously created. Supply the unique Personal Account code that was returned when you created it and Emil Api will return the corresponding Personal Account information. **Required Permissions** \"accounting-management.
|
|
456
|
+
* Retrieves the details of the Personal Account that was previously created. Supply the unique Personal Account code that was returned when you created it and Emil Api will return the corresponding Personal Account information. **Required Permissions** \"accounting-management.financial-accounts.view\"
|
|
457
457
|
* @summary Retrieve the Personal Account
|
|
458
458
|
* @param {string} code Unique identifier for the object.
|
|
459
459
|
* @param {string} expand
|
|
@@ -465,7 +465,7 @@ var PersonalAccountsApiFactory = function (configuration, basePath, axios) {
|
|
|
465
465
|
return localVarFp.getPersonalAccount(code, expand, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
466
466
|
},
|
|
467
467
|
/**
|
|
468
|
-
* Returns a list of Personal Accounts you have previously created. The Personal Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"accounting-management.
|
|
468
|
+
* Returns a list of Personal Accounts you have previously created. The Personal Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"accounting-management.financial-accounts.view\"
|
|
469
469
|
* @summary List Personal Accounts
|
|
470
470
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
471
471
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -496,7 +496,7 @@ var PersonalAccountsApi = /** @class */ (function (_super) {
|
|
|
496
496
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
497
497
|
}
|
|
498
498
|
/**
|
|
499
|
-
* This will create an personal account in the database. The personal account will be created with the provided name, type, and account number. personal account should be created with a financial account number. **Required Permissions** \"accounting-management.
|
|
499
|
+
* This will create an personal account in the database. The personal account will be created with the provided name, type, and account number. personal account should be created with a financial account number. **Required Permissions** \"accounting-management.financial-accounts.create\"
|
|
500
500
|
* @summary Create the Personal Account
|
|
501
501
|
* @param {PersonalAccountsApiCreatePersonalAccountRequest} requestParameters Request parameters.
|
|
502
502
|
* @param {*} [options] Override http request option.
|
|
@@ -508,7 +508,7 @@ var PersonalAccountsApi = /** @class */ (function (_super) {
|
|
|
508
508
|
return (0, exports.PersonalAccountsApiFp)(this.configuration).createPersonalAccount(requestParameters.createPersonalAccountRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
509
509
|
};
|
|
510
510
|
/**
|
|
511
|
-
* Permanently deletes the Personal Account. Supply the unique code that was returned when you created the Personal Account and this will delete it. **Required Permissions** \"accounting-management.
|
|
511
|
+
* Permanently deletes the Personal Account. Supply the unique code that was returned when you created the Personal Account and this will delete it. **Required Permissions** \"accounting-management.financial-accounts.delete\"
|
|
512
512
|
* @summary Delete the Personal Account
|
|
513
513
|
* @param {PersonalAccountsApiDeletePersonalAccountRequest} requestParameters Request parameters.
|
|
514
514
|
* @param {*} [options] Override http request option.
|
|
@@ -520,7 +520,7 @@ var PersonalAccountsApi = /** @class */ (function (_super) {
|
|
|
520
520
|
return (0, exports.PersonalAccountsApiFp)(this.configuration).deletePersonalAccount(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
521
521
|
};
|
|
522
522
|
/**
|
|
523
|
-
* Retrieves the details of the Personal Account that was previously created. Supply the unique Personal Account code that was returned when you created it and Emil Api will return the corresponding Personal Account information. **Required Permissions** \"accounting-management.
|
|
523
|
+
* Retrieves the details of the Personal Account that was previously created. Supply the unique Personal Account code that was returned when you created it and Emil Api will return the corresponding Personal Account information. **Required Permissions** \"accounting-management.financial-accounts.view\"
|
|
524
524
|
* @summary Retrieve the Personal Account
|
|
525
525
|
* @param {PersonalAccountsApiGetPersonalAccountRequest} requestParameters Request parameters.
|
|
526
526
|
* @param {*} [options] Override http request option.
|
|
@@ -532,7 +532,7 @@ var PersonalAccountsApi = /** @class */ (function (_super) {
|
|
|
532
532
|
return (0, exports.PersonalAccountsApiFp)(this.configuration).getPersonalAccount(requestParameters.code, requestParameters.expand, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
533
533
|
};
|
|
534
534
|
/**
|
|
535
|
-
* Returns a list of Personal Accounts you have previously created. The Personal Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"accounting-management.
|
|
535
|
+
* Returns a list of Personal Accounts you have previously created. The Personal Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"accounting-management.financial-accounts.view\"
|
|
536
536
|
* @summary List Personal Accounts
|
|
537
537
|
* @param {PersonalAccountsApiListPersonalAccountsRequest} requestParameters Request parameters.
|
|
538
538
|
* @param {*} [options] Override http request option.
|