@emilgroup/accounting-sdk 1.23.0 → 1.23.1-beta.1
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@1.23.
|
|
20
|
+
npm install @emilgroup/accounting-sdk@1.23.1-beta.1 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/accounting-sdk@1.23.
|
|
24
|
+
yarn add @emilgroup/accounting-sdk@1.23.1-beta.1
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `FinancialAccountsApi`.
|
|
@@ -35,7 +35,7 @@ import { ListFinancialAccountsResponseClass } from '../models';
|
|
|
35
35
|
export const FinancialAccountsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
36
36
|
return {
|
|
37
37
|
/**
|
|
38
|
-
* This will create an financial account in the database. The financial account will be created with the provided name, type, and account number. Optionally, you can provide a parent financial account ID to create a sub-account. **Required Permissions** \"accounting-management.
|
|
38
|
+
* This will create an financial account in the database. The financial account will be created with the provided name, type, and account number. Optionally, you can provide a parent financial account ID to create a sub-account. **Required Permissions** \"accounting-management.financial-accounts.create\"
|
|
39
39
|
* @summary Create the Financial Account
|
|
40
40
|
* @param {CreateFinancialAccountRequestDto} createFinancialAccountRequestDto
|
|
41
41
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -82,7 +82,7 @@ export const FinancialAccountsApiAxiosParamCreator = function (configuration?: C
|
|
|
82
82
|
};
|
|
83
83
|
},
|
|
84
84
|
/**
|
|
85
|
-
* 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.
|
|
85
|
+
* 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\"
|
|
86
86
|
* @summary Delete the Financial Account
|
|
87
87
|
* @param {string} code Unique identifier for the object.
|
|
88
88
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -127,7 +127,7 @@ export const FinancialAccountsApiAxiosParamCreator = function (configuration?: C
|
|
|
127
127
|
};
|
|
128
128
|
},
|
|
129
129
|
/**
|
|
130
|
-
* Retrieves the details of the Financial Account that was previously created. Supply the unique Financial Account code that was returned when you created it and Emil Api will return the corresponding Financial Account information. **Required Permissions** \"accounting-management.
|
|
130
|
+
* Retrieves the details of the Financial Account that was previously created. Supply the unique Financial Account code that was returned when you created it and Emil Api will return the corresponding Financial Account information. **Required Permissions** \"accounting-management.financial-accounts.view\"
|
|
131
131
|
* @summary Retrieve the Financial Account
|
|
132
132
|
* @param {string} code Unique identifier for the object.
|
|
133
133
|
* @param {string} expand
|
|
@@ -179,7 +179,7 @@ export const FinancialAccountsApiAxiosParamCreator = function (configuration?: C
|
|
|
179
179
|
};
|
|
180
180
|
},
|
|
181
181
|
/**
|
|
182
|
-
* 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.
|
|
182
|
+
* 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\"
|
|
183
183
|
* @summary List Financial Accounts
|
|
184
184
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
185
185
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -265,7 +265,7 @@ export const FinancialAccountsApiFp = function(configuration?: Configuration) {
|
|
|
265
265
|
const localVarAxiosParamCreator = FinancialAccountsApiAxiosParamCreator(configuration)
|
|
266
266
|
return {
|
|
267
267
|
/**
|
|
268
|
-
* This will create an financial account in the database. The financial account will be created with the provided name, type, and account number. Optionally, you can provide a parent financial account ID to create a sub-account. **Required Permissions** \"accounting-management.
|
|
268
|
+
* This will create an financial account in the database. The financial account will be created with the provided name, type, and account number. Optionally, you can provide a parent financial account ID to create a sub-account. **Required Permissions** \"accounting-management.financial-accounts.create\"
|
|
269
269
|
* @summary Create the Financial Account
|
|
270
270
|
* @param {CreateFinancialAccountRequestDto} createFinancialAccountRequestDto
|
|
271
271
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -277,7 +277,7 @@ export const FinancialAccountsApiFp = function(configuration?: Configuration) {
|
|
|
277
277
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
278
278
|
},
|
|
279
279
|
/**
|
|
280
|
-
* 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.
|
|
280
|
+
* 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\"
|
|
281
281
|
* @summary Delete the Financial Account
|
|
282
282
|
* @param {string} code Unique identifier for the object.
|
|
283
283
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -289,7 +289,7 @@ export const FinancialAccountsApiFp = function(configuration?: Configuration) {
|
|
|
289
289
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
290
290
|
},
|
|
291
291
|
/**
|
|
292
|
-
* Retrieves the details of the 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.
|
|
292
|
+
* Retrieves the details of the Financial Account that was previously created. Supply the unique Financial Account code that was returned when you created it and Emil Api will return the corresponding Financial Account information. **Required Permissions** \"accounting-management.financial-accounts.view\"
|
|
293
293
|
* @summary Retrieve the Financial Account
|
|
294
294
|
* @param {string} code Unique identifier for the object.
|
|
295
295
|
* @param {string} expand
|
|
@@ -302,7 +302,7 @@ export const FinancialAccountsApiFp = function(configuration?: Configuration) {
|
|
|
302
302
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
303
303
|
},
|
|
304
304
|
/**
|
|
305
|
-
* 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.
|
|
305
|
+
* 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\"
|
|
306
306
|
* @summary List Financial Accounts
|
|
307
307
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
308
308
|
* @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 @@ export const FinancialAccountsApiFactory = function (configuration?: Configurati
|
|
|
330
330
|
const localVarFp = FinancialAccountsApiFp(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.
|
|
@@ -341,7 +341,7 @@ export const FinancialAccountsApiFactory = function (configuration?: Configurati
|
|
|
341
341
|
return localVarFp.createFinancialAccount(createFinancialAccountRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
342
342
|
},
|
|
343
343
|
/**
|
|
344
|
-
* Permanently deletes the Financial Account. Supply the unique code that was returned when you created the Financial Account and this will delete it. **Required Permissions** \"accounting-management.
|
|
344
|
+
* 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\"
|
|
345
345
|
* @summary Delete the Financial Account
|
|
346
346
|
* @param {string} code Unique identifier for the object.
|
|
347
347
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -352,7 +352,7 @@ export const FinancialAccountsApiFactory = function (configuration?: Configurati
|
|
|
352
352
|
return localVarFp.deleteFinancialAccount(code, authorization, options).then((request) => request(axios, basePath));
|
|
353
353
|
},
|
|
354
354
|
/**
|
|
355
|
-
* Retrieves the details of the 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.
|
|
355
|
+
* Retrieves the details of the Financial Account that was previously created. Supply the unique Financial Account code that was returned when you created it and Emil Api will return the corresponding Financial Account information. **Required Permissions** \"accounting-management.financial-accounts.view\"
|
|
356
356
|
* @summary Retrieve the Financial Account
|
|
357
357
|
* @param {string} code Unique identifier for the object.
|
|
358
358
|
* @param {string} expand
|
|
@@ -364,7 +364,7 @@ export const FinancialAccountsApiFactory = function (configuration?: Configurati
|
|
|
364
364
|
return localVarFp.getFinancialAccount(code, expand, authorization, options).then((request) => request(axios, basePath));
|
|
365
365
|
},
|
|
366
366
|
/**
|
|
367
|
-
* 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.
|
|
367
|
+
* 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\"
|
|
368
368
|
* @summary List Financial Accounts
|
|
369
369
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
370
370
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -524,7 +524,7 @@ export interface FinancialAccountsApiListFinancialAccountsRequest {
|
|
|
524
524
|
*/
|
|
525
525
|
export class FinancialAccountsApi extends BaseAPI {
|
|
526
526
|
/**
|
|
527
|
-
* This will create an financial account in the database. The financial account will be created with the provided name, type, and account number. Optionally, you can provide a parent financial account ID to create a sub-account. **Required Permissions** \"accounting-management.
|
|
527
|
+
* This will create an financial account in the database. The financial account will be created with the provided name, type, and account number. Optionally, you can provide a parent financial account ID to create a sub-account. **Required Permissions** \"accounting-management.financial-accounts.create\"
|
|
528
528
|
* @summary Create the Financial Account
|
|
529
529
|
* @param {FinancialAccountsApiCreateFinancialAccountRequest} requestParameters Request parameters.
|
|
530
530
|
* @param {*} [options] Override http request option.
|
|
@@ -536,7 +536,7 @@ export class FinancialAccountsApi extends BaseAPI {
|
|
|
536
536
|
}
|
|
537
537
|
|
|
538
538
|
/**
|
|
539
|
-
* 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.
|
|
539
|
+
* 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\"
|
|
540
540
|
* @summary Delete the Financial Account
|
|
541
541
|
* @param {FinancialAccountsApiDeleteFinancialAccountRequest} requestParameters Request parameters.
|
|
542
542
|
* @param {*} [options] Override http request option.
|
|
@@ -548,7 +548,7 @@ export class FinancialAccountsApi extends BaseAPI {
|
|
|
548
548
|
}
|
|
549
549
|
|
|
550
550
|
/**
|
|
551
|
-
* Retrieves the details of the Financial Account that was previously created. Supply the unique Financial Account code that was returned when you created it and Emil Api will return the corresponding Financial Account information. **Required Permissions** \"accounting-management.
|
|
551
|
+
* Retrieves the details of the Financial Account that was previously created. Supply the unique Financial Account code that was returned when you created it and Emil Api will return the corresponding Financial Account information. **Required Permissions** \"accounting-management.financial-accounts.view\"
|
|
552
552
|
* @summary Retrieve the Financial Account
|
|
553
553
|
* @param {FinancialAccountsApiGetFinancialAccountRequest} requestParameters Request parameters.
|
|
554
554
|
* @param {*} [options] Override http request option.
|
|
@@ -560,7 +560,7 @@ export class FinancialAccountsApi extends BaseAPI {
|
|
|
560
560
|
}
|
|
561
561
|
|
|
562
562
|
/**
|
|
563
|
-
* 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.
|
|
563
|
+
* 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\"
|
|
564
564
|
* @summary List Financial Accounts
|
|
565
565
|
* @param {FinancialAccountsApiListFinancialAccountsRequest} requestParameters Request parameters.
|
|
566
566
|
* @param {*} [options] Override http request option.
|
|
@@ -35,7 +35,7 @@ import { ListPersonalAccountsResponseClass } from '../models';
|
|
|
35
35
|
export const PersonalAccountsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
36
36
|
return {
|
|
37
37
|
/**
|
|
38
|
-
* 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.
|
|
38
|
+
* 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\"
|
|
39
39
|
* @summary Create the Personal Account
|
|
40
40
|
* @param {CreatePersonalAccountRequestDto} createPersonalAccountRequestDto
|
|
41
41
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -82,7 +82,7 @@ export const PersonalAccountsApiAxiosParamCreator = function (configuration?: Co
|
|
|
82
82
|
};
|
|
83
83
|
},
|
|
84
84
|
/**
|
|
85
|
-
* 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.
|
|
85
|
+
* 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\"
|
|
86
86
|
* @summary Delete the Personal Account
|
|
87
87
|
* @param {string} code Unique identifier for the object.
|
|
88
88
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -127,7 +127,7 @@ export const PersonalAccountsApiAxiosParamCreator = function (configuration?: Co
|
|
|
127
127
|
};
|
|
128
128
|
},
|
|
129
129
|
/**
|
|
130
|
-
* 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.
|
|
130
|
+
* 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\"
|
|
131
131
|
* @summary Retrieve the Personal Account
|
|
132
132
|
* @param {string} code Unique identifier for the object.
|
|
133
133
|
* @param {string} expand
|
|
@@ -179,7 +179,7 @@ export const PersonalAccountsApiAxiosParamCreator = function (configuration?: Co
|
|
|
179
179
|
};
|
|
180
180
|
},
|
|
181
181
|
/**
|
|
182
|
-
* 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.
|
|
182
|
+
* 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\"
|
|
183
183
|
* @summary List Personal Accounts
|
|
184
184
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
185
185
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -265,7 +265,7 @@ export const PersonalAccountsApiFp = function(configuration?: Configuration) {
|
|
|
265
265
|
const localVarAxiosParamCreator = PersonalAccountsApiAxiosParamCreator(configuration)
|
|
266
266
|
return {
|
|
267
267
|
/**
|
|
268
|
-
* 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.
|
|
268
|
+
* 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\"
|
|
269
269
|
* @summary Create the Personal Account
|
|
270
270
|
* @param {CreatePersonalAccountRequestDto} createPersonalAccountRequestDto
|
|
271
271
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -277,7 +277,7 @@ export const PersonalAccountsApiFp = function(configuration?: Configuration) {
|
|
|
277
277
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
278
278
|
},
|
|
279
279
|
/**
|
|
280
|
-
* 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.
|
|
280
|
+
* 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\"
|
|
281
281
|
* @summary Delete the Personal Account
|
|
282
282
|
* @param {string} code Unique identifier for the object.
|
|
283
283
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -289,7 +289,7 @@ export const PersonalAccountsApiFp = function(configuration?: Configuration) {
|
|
|
289
289
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
290
290
|
},
|
|
291
291
|
/**
|
|
292
|
-
* 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.
|
|
292
|
+
* 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\"
|
|
293
293
|
* @summary Retrieve the Personal Account
|
|
294
294
|
* @param {string} code Unique identifier for the object.
|
|
295
295
|
* @param {string} expand
|
|
@@ -302,7 +302,7 @@ export const PersonalAccountsApiFp = function(configuration?: Configuration) {
|
|
|
302
302
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
303
303
|
},
|
|
304
304
|
/**
|
|
305
|
-
* 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.
|
|
305
|
+
* 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\"
|
|
306
306
|
* @summary List Personal Accounts
|
|
307
307
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
308
308
|
* @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 @@ export const PersonalAccountsApiFactory = function (configuration?: Configuratio
|
|
|
330
330
|
const localVarFp = PersonalAccountsApiFp(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.
|
|
@@ -341,7 +341,7 @@ export const PersonalAccountsApiFactory = function (configuration?: Configuratio
|
|
|
341
341
|
return localVarFp.createPersonalAccount(createPersonalAccountRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
342
342
|
},
|
|
343
343
|
/**
|
|
344
|
-
* 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.
|
|
344
|
+
* 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\"
|
|
345
345
|
* @summary Delete the Personal Account
|
|
346
346
|
* @param {string} code Unique identifier for the object.
|
|
347
347
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -352,7 +352,7 @@ export const PersonalAccountsApiFactory = function (configuration?: Configuratio
|
|
|
352
352
|
return localVarFp.deletePersonalAccount(code, authorization, options).then((request) => request(axios, basePath));
|
|
353
353
|
},
|
|
354
354
|
/**
|
|
355
|
-
* 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.
|
|
355
|
+
* 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\"
|
|
356
356
|
* @summary Retrieve the Personal Account
|
|
357
357
|
* @param {string} code Unique identifier for the object.
|
|
358
358
|
* @param {string} expand
|
|
@@ -364,7 +364,7 @@ export const PersonalAccountsApiFactory = function (configuration?: Configuratio
|
|
|
364
364
|
return localVarFp.getPersonalAccount(code, expand, authorization, options).then((request) => request(axios, basePath));
|
|
365
365
|
},
|
|
366
366
|
/**
|
|
367
|
-
* 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.
|
|
367
|
+
* 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\"
|
|
368
368
|
* @summary List Personal Accounts
|
|
369
369
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
370
370
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -524,7 +524,7 @@ export interface PersonalAccountsApiListPersonalAccountsRequest {
|
|
|
524
524
|
*/
|
|
525
525
|
export class PersonalAccountsApi extends BaseAPI {
|
|
526
526
|
/**
|
|
527
|
-
* 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.
|
|
527
|
+
* 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\"
|
|
528
528
|
* @summary Create the Personal Account
|
|
529
529
|
* @param {PersonalAccountsApiCreatePersonalAccountRequest} requestParameters Request parameters.
|
|
530
530
|
* @param {*} [options] Override http request option.
|
|
@@ -536,7 +536,7 @@ export class PersonalAccountsApi extends BaseAPI {
|
|
|
536
536
|
}
|
|
537
537
|
|
|
538
538
|
/**
|
|
539
|
-
* 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.
|
|
539
|
+
* 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\"
|
|
540
540
|
* @summary Delete the Personal Account
|
|
541
541
|
* @param {PersonalAccountsApiDeletePersonalAccountRequest} requestParameters Request parameters.
|
|
542
542
|
* @param {*} [options] Override http request option.
|
|
@@ -548,7 +548,7 @@ export class PersonalAccountsApi extends BaseAPI {
|
|
|
548
548
|
}
|
|
549
549
|
|
|
550
550
|
/**
|
|
551
|
-
* 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.
|
|
551
|
+
* 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\"
|
|
552
552
|
* @summary Retrieve the Personal Account
|
|
553
553
|
* @param {PersonalAccountsApiGetPersonalAccountRequest} requestParameters Request parameters.
|
|
554
554
|
* @param {*} [options] Override http request option.
|
|
@@ -560,7 +560,7 @@ export class PersonalAccountsApi extends BaseAPI {
|
|
|
560
560
|
}
|
|
561
561
|
|
|
562
562
|
/**
|
|
563
|
-
* 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.
|
|
563
|
+
* 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\"
|
|
564
564
|
* @summary List Personal Accounts
|
|
565
565
|
* @param {PersonalAccountsApiListPersonalAccountsRequest} requestParameters Request parameters.
|
|
566
566
|
* @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.
|
|
@@ -93,7 +93,7 @@ var FinancialAccountsApiAxiosParamCreator = function (configuration) {
|
|
|
93
93
|
var _this = this;
|
|
94
94
|
return {
|
|
95
95
|
/**
|
|
96
|
-
* This will create an financial account in the database. The financial account will be created with the provided name, type, and account number. Optionally, you can provide a parent financial account ID to create a sub-account. **Required Permissions** \"accounting-management.
|
|
96
|
+
* This will create an financial account in the database. The financial account will be created with the provided name, type, and account number. Optionally, you can provide a parent financial account ID to create a sub-account. **Required Permissions** \"accounting-management.financial-accounts.create\"
|
|
97
97
|
* @summary Create the Financial Account
|
|
98
98
|
* @param {CreateFinancialAccountRequestDto} createFinancialAccountRequestDto
|
|
99
99
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -142,7 +142,7 @@ var FinancialAccountsApiAxiosParamCreator = function (configuration) {
|
|
|
142
142
|
});
|
|
143
143
|
},
|
|
144
144
|
/**
|
|
145
|
-
* 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.
|
|
145
|
+
* 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\"
|
|
146
146
|
* @summary Delete the Financial Account
|
|
147
147
|
* @param {string} code Unique identifier for the object.
|
|
148
148
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -190,7 +190,7 @@ var FinancialAccountsApiAxiosParamCreator = function (configuration) {
|
|
|
190
190
|
});
|
|
191
191
|
},
|
|
192
192
|
/**
|
|
193
|
-
* Retrieves the details of the Financial Account that was previously created. Supply the unique Financial Account code that was returned when you created it and Emil Api will return the corresponding Financial Account information. **Required Permissions** \"accounting-management.
|
|
193
|
+
* Retrieves the details of the Financial Account that was previously created. Supply the unique Financial Account code that was returned when you created it and Emil Api will return the corresponding Financial Account information. **Required Permissions** \"accounting-management.financial-accounts.view\"
|
|
194
194
|
* @summary Retrieve the Financial Account
|
|
195
195
|
* @param {string} code Unique identifier for the object.
|
|
196
196
|
* @param {string} expand
|
|
@@ -244,7 +244,7 @@ var FinancialAccountsApiAxiosParamCreator = function (configuration) {
|
|
|
244
244
|
});
|
|
245
245
|
},
|
|
246
246
|
/**
|
|
247
|
-
* 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.
|
|
247
|
+
* 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\"
|
|
248
248
|
* @summary List Financial Accounts
|
|
249
249
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
250
250
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -326,7 +326,7 @@ var FinancialAccountsApiFp = function (configuration) {
|
|
|
326
326
|
var localVarAxiosParamCreator = (0, exports.FinancialAccountsApiAxiosParamCreator)(configuration);
|
|
327
327
|
return {
|
|
328
328
|
/**
|
|
329
|
-
* This will create an financial account in the database. The financial account will be created with the provided name, type, and account number. Optionally, you can provide a parent financial account ID to create a sub-account. **Required Permissions** \"accounting-management.
|
|
329
|
+
* This will create an financial account in the database. The financial account will be created with the provided name, type, and account number. Optionally, you can provide a parent financial account ID to create a sub-account. **Required Permissions** \"accounting-management.financial-accounts.create\"
|
|
330
330
|
* @summary Create the Financial Account
|
|
331
331
|
* @param {CreateFinancialAccountRequestDto} createFinancialAccountRequestDto
|
|
332
332
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -347,7 +347,7 @@ var FinancialAccountsApiFp = function (configuration) {
|
|
|
347
347
|
});
|
|
348
348
|
},
|
|
349
349
|
/**
|
|
350
|
-
* 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.
|
|
350
|
+
* 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\"
|
|
351
351
|
* @summary Delete the Financial Account
|
|
352
352
|
* @param {string} code Unique identifier for the object.
|
|
353
353
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -368,7 +368,7 @@ var FinancialAccountsApiFp = function (configuration) {
|
|
|
368
368
|
});
|
|
369
369
|
},
|
|
370
370
|
/**
|
|
371
|
-
* Retrieves the details of the Financial Account that was previously created. Supply the unique Financial Account code that was returned when you created it and Emil Api will return the corresponding Financial Account information. **Required Permissions** \"accounting-management.
|
|
371
|
+
* Retrieves the details of the Financial Account that was previously created. Supply the unique Financial Account code that was returned when you created it and Emil Api will return the corresponding Financial Account information. **Required Permissions** \"accounting-management.financial-accounts.view\"
|
|
372
372
|
* @summary Retrieve the Financial Account
|
|
373
373
|
* @param {string} code Unique identifier for the object.
|
|
374
374
|
* @param {string} expand
|
|
@@ -390,7 +390,7 @@ var FinancialAccountsApiFp = function (configuration) {
|
|
|
390
390
|
});
|
|
391
391
|
},
|
|
392
392
|
/**
|
|
393
|
-
* 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.
|
|
393
|
+
* 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\"
|
|
394
394
|
* @summary List Financial Accounts
|
|
395
395
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
396
396
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -427,7 +427,7 @@ var FinancialAccountsApiFactory = function (configuration, basePath, axios) {
|
|
|
427
427
|
var localVarFp = (0, exports.FinancialAccountsApiFp)(configuration);
|
|
428
428
|
return {
|
|
429
429
|
/**
|
|
430
|
-
* This will create an financial account in the database. The financial account will be created with the provided name, type, and account number. Optionally, you can provide a parent financial account ID to create a sub-account. **Required Permissions** \"accounting-management.
|
|
430
|
+
* This will create an financial account in the database. The financial account will be created with the provided name, type, and account number. Optionally, you can provide a parent financial account ID to create a sub-account. **Required Permissions** \"accounting-management.financial-accounts.create\"
|
|
431
431
|
* @summary Create the Financial Account
|
|
432
432
|
* @param {CreateFinancialAccountRequestDto} createFinancialAccountRequestDto
|
|
433
433
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -438,7 +438,7 @@ var FinancialAccountsApiFactory = function (configuration, basePath, axios) {
|
|
|
438
438
|
return localVarFp.createFinancialAccount(createFinancialAccountRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
439
439
|
},
|
|
440
440
|
/**
|
|
441
|
-
* Permanently deletes the Financial Account. Supply the unique code that was returned when you created the Financial Account and this will delete it. **Required Permissions** \"accounting-management.
|
|
441
|
+
* 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\"
|
|
442
442
|
* @summary Delete the Financial Account
|
|
443
443
|
* @param {string} code Unique identifier for the object.
|
|
444
444
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -449,7 +449,7 @@ var FinancialAccountsApiFactory = function (configuration, basePath, axios) {
|
|
|
449
449
|
return localVarFp.deleteFinancialAccount(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
450
450
|
},
|
|
451
451
|
/**
|
|
452
|
-
* Retrieves the details of the 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.
|
|
452
|
+
* Retrieves the details of the Financial Account that was previously created. Supply the unique Financial Account code that was returned when you created it and Emil Api will return the corresponding Financial Account information. **Required Permissions** \"accounting-management.financial-accounts.view\"
|
|
453
453
|
* @summary Retrieve the Financial Account
|
|
454
454
|
* @param {string} code Unique identifier for the object.
|
|
455
455
|
* @param {string} expand
|
|
@@ -461,7 +461,7 @@ var FinancialAccountsApiFactory = function (configuration, basePath, axios) {
|
|
|
461
461
|
return localVarFp.getFinancialAccount(code, expand, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
462
462
|
},
|
|
463
463
|
/**
|
|
464
|
-
* 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.
|
|
464
|
+
* 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\"
|
|
465
465
|
* @summary List Financial Accounts
|
|
466
466
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
467
467
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -492,7 +492,7 @@ var FinancialAccountsApi = /** @class */ (function (_super) {
|
|
|
492
492
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
493
493
|
}
|
|
494
494
|
/**
|
|
495
|
-
* This will create an financial account in the database. The financial account will be created with the provided name, type, and account number. Optionally, you can provide a parent financial account ID to create a sub-account. **Required Permissions** \"accounting-management.
|
|
495
|
+
* This will create an financial account in the database. The financial account will be created with the provided name, type, and account number. Optionally, you can provide a parent financial account ID to create a sub-account. **Required Permissions** \"accounting-management.financial-accounts.create\"
|
|
496
496
|
* @summary Create the Financial Account
|
|
497
497
|
* @param {FinancialAccountsApiCreateFinancialAccountRequest} requestParameters Request parameters.
|
|
498
498
|
* @param {*} [options] Override http request option.
|
|
@@ -504,7 +504,7 @@ var FinancialAccountsApi = /** @class */ (function (_super) {
|
|
|
504
504
|
return (0, exports.FinancialAccountsApiFp)(this.configuration).createFinancialAccount(requestParameters.createFinancialAccountRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
505
505
|
};
|
|
506
506
|
/**
|
|
507
|
-
* Permanently deletes the Financial Account. Supply the unique code that was returned when you created the Financial Account and this will delete it. **Required Permissions** \"accounting-management.
|
|
507
|
+
* 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\"
|
|
508
508
|
* @summary Delete the Financial Account
|
|
509
509
|
* @param {FinancialAccountsApiDeleteFinancialAccountRequest} requestParameters Request parameters.
|
|
510
510
|
* @param {*} [options] Override http request option.
|
|
@@ -516,7 +516,7 @@ var FinancialAccountsApi = /** @class */ (function (_super) {
|
|
|
516
516
|
return (0, exports.FinancialAccountsApiFp)(this.configuration).deleteFinancialAccount(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
517
517
|
};
|
|
518
518
|
/**
|
|
519
|
-
* Retrieves the details of the 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.
|
|
519
|
+
* Retrieves the details of the Financial Account that was previously created. Supply the unique Financial Account code that was returned when you created it and Emil Api will return the corresponding Financial Account information. **Required Permissions** \"accounting-management.financial-accounts.view\"
|
|
520
520
|
* @summary Retrieve the Financial Account
|
|
521
521
|
* @param {FinancialAccountsApiGetFinancialAccountRequest} requestParameters Request parameters.
|
|
522
522
|
* @param {*} [options] Override http request option.
|
|
@@ -528,7 +528,7 @@ var FinancialAccountsApi = /** @class */ (function (_super) {
|
|
|
528
528
|
return (0, exports.FinancialAccountsApiFp)(this.configuration).getFinancialAccount(requestParameters.code, requestParameters.expand, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
529
529
|
};
|
|
530
530
|
/**
|
|
531
|
-
* 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.
|
|
531
|
+
* 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\"
|
|
532
532
|
* @summary List Financial Accounts
|
|
533
533
|
* @param {FinancialAccountsApiListFinancialAccountsRequest} requestParameters Request parameters.
|
|
534
534
|
* @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.
|
|
@@ -93,7 +93,7 @@ var PersonalAccountsApiAxiosParamCreator = function (configuration) {
|
|
|
93
93
|
var _this = this;
|
|
94
94
|
return {
|
|
95
95
|
/**
|
|
96
|
-
* 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.
|
|
96
|
+
* 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\"
|
|
97
97
|
* @summary Create the Personal Account
|
|
98
98
|
* @param {CreatePersonalAccountRequestDto} createPersonalAccountRequestDto
|
|
99
99
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -142,7 +142,7 @@ var PersonalAccountsApiAxiosParamCreator = function (configuration) {
|
|
|
142
142
|
});
|
|
143
143
|
},
|
|
144
144
|
/**
|
|
145
|
-
* 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.
|
|
145
|
+
* 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\"
|
|
146
146
|
* @summary Delete the Personal Account
|
|
147
147
|
* @param {string} code Unique identifier for the object.
|
|
148
148
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -190,7 +190,7 @@ var PersonalAccountsApiAxiosParamCreator = function (configuration) {
|
|
|
190
190
|
});
|
|
191
191
|
},
|
|
192
192
|
/**
|
|
193
|
-
* 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.
|
|
193
|
+
* 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\"
|
|
194
194
|
* @summary Retrieve the Personal Account
|
|
195
195
|
* @param {string} code Unique identifier for the object.
|
|
196
196
|
* @param {string} expand
|
|
@@ -244,7 +244,7 @@ var PersonalAccountsApiAxiosParamCreator = function (configuration) {
|
|
|
244
244
|
});
|
|
245
245
|
},
|
|
246
246
|
/**
|
|
247
|
-
* 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.
|
|
247
|
+
* 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\"
|
|
248
248
|
* @summary List Personal Accounts
|
|
249
249
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
250
250
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -326,7 +326,7 @@ var PersonalAccountsApiFp = function (configuration) {
|
|
|
326
326
|
var localVarAxiosParamCreator = (0, exports.PersonalAccountsApiAxiosParamCreator)(configuration);
|
|
327
327
|
return {
|
|
328
328
|
/**
|
|
329
|
-
* 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.
|
|
329
|
+
* 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\"
|
|
330
330
|
* @summary Create the Personal Account
|
|
331
331
|
* @param {CreatePersonalAccountRequestDto} createPersonalAccountRequestDto
|
|
332
332
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -347,7 +347,7 @@ var PersonalAccountsApiFp = function (configuration) {
|
|
|
347
347
|
});
|
|
348
348
|
},
|
|
349
349
|
/**
|
|
350
|
-
* 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.
|
|
350
|
+
* 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\"
|
|
351
351
|
* @summary Delete the Personal Account
|
|
352
352
|
* @param {string} code Unique identifier for the object.
|
|
353
353
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -368,7 +368,7 @@ var PersonalAccountsApiFp = function (configuration) {
|
|
|
368
368
|
});
|
|
369
369
|
},
|
|
370
370
|
/**
|
|
371
|
-
* 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.
|
|
371
|
+
* 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\"
|
|
372
372
|
* @summary Retrieve the Personal Account
|
|
373
373
|
* @param {string} code Unique identifier for the object.
|
|
374
374
|
* @param {string} expand
|
|
@@ -390,7 +390,7 @@ var PersonalAccountsApiFp = function (configuration) {
|
|
|
390
390
|
});
|
|
391
391
|
},
|
|
392
392
|
/**
|
|
393
|
-
* 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.
|
|
393
|
+
* 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\"
|
|
394
394
|
* @summary List Personal Accounts
|
|
395
395
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
396
396
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -427,7 +427,7 @@ var PersonalAccountsApiFactory = function (configuration, basePath, axios) {
|
|
|
427
427
|
var localVarFp = (0, exports.PersonalAccountsApiFp)(configuration);
|
|
428
428
|
return {
|
|
429
429
|
/**
|
|
430
|
-
* 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.
|
|
430
|
+
* 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\"
|
|
431
431
|
* @summary Create the Personal Account
|
|
432
432
|
* @param {CreatePersonalAccountRequestDto} createPersonalAccountRequestDto
|
|
433
433
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -438,7 +438,7 @@ var PersonalAccountsApiFactory = function (configuration, basePath, axios) {
|
|
|
438
438
|
return localVarFp.createPersonalAccount(createPersonalAccountRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
439
439
|
},
|
|
440
440
|
/**
|
|
441
|
-
* 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.
|
|
441
|
+
* 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\"
|
|
442
442
|
* @summary Delete the Personal Account
|
|
443
443
|
* @param {string} code Unique identifier for the object.
|
|
444
444
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -449,7 +449,7 @@ var PersonalAccountsApiFactory = function (configuration, basePath, axios) {
|
|
|
449
449
|
return localVarFp.deletePersonalAccount(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
450
450
|
},
|
|
451
451
|
/**
|
|
452
|
-
* 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.
|
|
452
|
+
* 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\"
|
|
453
453
|
* @summary Retrieve the Personal Account
|
|
454
454
|
* @param {string} code Unique identifier for the object.
|
|
455
455
|
* @param {string} expand
|
|
@@ -461,7 +461,7 @@ var PersonalAccountsApiFactory = function (configuration, basePath, axios) {
|
|
|
461
461
|
return localVarFp.getPersonalAccount(code, expand, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
462
462
|
},
|
|
463
463
|
/**
|
|
464
|
-
* 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.
|
|
464
|
+
* 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\"
|
|
465
465
|
* @summary List Personal Accounts
|
|
466
466
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
467
467
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -492,7 +492,7 @@ var PersonalAccountsApi = /** @class */ (function (_super) {
|
|
|
492
492
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
493
493
|
}
|
|
494
494
|
/**
|
|
495
|
-
* 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.
|
|
495
|
+
* 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\"
|
|
496
496
|
* @summary Create the Personal Account
|
|
497
497
|
* @param {PersonalAccountsApiCreatePersonalAccountRequest} requestParameters Request parameters.
|
|
498
498
|
* @param {*} [options] Override http request option.
|
|
@@ -504,7 +504,7 @@ var PersonalAccountsApi = /** @class */ (function (_super) {
|
|
|
504
504
|
return (0, exports.PersonalAccountsApiFp)(this.configuration).createPersonalAccount(requestParameters.createPersonalAccountRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
505
505
|
};
|
|
506
506
|
/**
|
|
507
|
-
* 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.
|
|
507
|
+
* 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\"
|
|
508
508
|
* @summary Delete the Personal Account
|
|
509
509
|
* @param {PersonalAccountsApiDeletePersonalAccountRequest} requestParameters Request parameters.
|
|
510
510
|
* @param {*} [options] Override http request option.
|
|
@@ -516,7 +516,7 @@ var PersonalAccountsApi = /** @class */ (function (_super) {
|
|
|
516
516
|
return (0, exports.PersonalAccountsApiFp)(this.configuration).deletePersonalAccount(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
517
517
|
};
|
|
518
518
|
/**
|
|
519
|
-
* 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.
|
|
519
|
+
* 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\"
|
|
520
520
|
* @summary Retrieve the Personal Account
|
|
521
521
|
* @param {PersonalAccountsApiGetPersonalAccountRequest} requestParameters Request parameters.
|
|
522
522
|
* @param {*} [options] Override http request option.
|
|
@@ -528,7 +528,7 @@ var PersonalAccountsApi = /** @class */ (function (_super) {
|
|
|
528
528
|
return (0, exports.PersonalAccountsApiFp)(this.configuration).getPersonalAccount(requestParameters.code, requestParameters.expand, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
529
529
|
};
|
|
530
530
|
/**
|
|
531
|
-
* 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.
|
|
531
|
+
* 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\"
|
|
532
532
|
* @summary List Personal Accounts
|
|
533
533
|
* @param {PersonalAccountsApiListPersonalAccountsRequest} requestParameters Request parameters.
|
|
534
534
|
* @param {*} [options] Override http request option.
|