@emilgroup/accounting-sdk-node 1.16.1-beta.0 → 1.16.1-beta.2
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/.openapi-generator/FILES +6 -0
- package/README.md +2 -2
- package/api/personal-accounts-api.ts +577 -0
- package/api.ts +2 -0
- package/dist/api/personal-accounts-api.d.ts +327 -0
- package/dist/api/personal-accounts-api.js +549 -0
- package/dist/api.d.ts +1 -0
- package/dist/api.js +1 -0
- package/dist/models/create-financial-account-request-dto.d.ts +2 -2
- package/dist/models/create-personal-account-request-dto.d.ts +60 -0
- package/dist/models/create-personal-account-request-dto.js +21 -0
- package/dist/models/create-personal-account-response-class.d.ts +25 -0
- package/dist/models/create-personal-account-response-class.js +15 -0
- package/dist/models/financial-account-class.d.ts +2 -2
- package/dist/models/get-personal-account-response-class.d.ts +25 -0
- package/dist/models/get-personal-account-response-class.js +15 -0
- package/dist/models/index.d.ts +5 -0
- package/dist/models/index.js +5 -0
- package/dist/models/list-personal-accounts-response-class.d.ts +31 -0
- package/dist/models/list-personal-accounts-response-class.js +15 -0
- package/dist/models/personal-account-class.d.ts +104 -0
- package/dist/models/personal-account-class.js +23 -0
- package/models/create-financial-account-request-dto.ts +2 -2
- package/models/create-personal-account-request-dto.ts +69 -0
- package/models/create-personal-account-response-class.ts +31 -0
- package/models/financial-account-class.ts +2 -2
- package/models/get-personal-account-response-class.ts +31 -0
- package/models/index.ts +5 -0
- package/models/list-personal-accounts-response-class.ts +37 -0
- package/models/personal-account-class.ts +113 -0
- package/package.json +1 -1
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL AccountingService
|
|
6
|
+
* The EMIL AccountingService API description
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
* Contact: kontakt@emil.de
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.CreatePersonalAccountRequestDtoTypeEnum = void 0;
|
|
17
|
+
exports.CreatePersonalAccountRequestDtoTypeEnum = {
|
|
18
|
+
Customer: 'customer',
|
|
19
|
+
Supplier: 'supplier',
|
|
20
|
+
Employee: 'employee'
|
|
21
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL AccountingService
|
|
3
|
+
* The EMIL AccountingService API description
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
* Contact: kontakt@emil.de
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { PersonalAccountClass } from './personal-account-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface CreatePersonalAccountResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface CreatePersonalAccountResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
* The personal account response.
|
|
21
|
+
* @type {PersonalAccountClass}
|
|
22
|
+
* @memberof CreatePersonalAccountResponseClass
|
|
23
|
+
*/
|
|
24
|
+
'personalAccount': PersonalAccountClass;
|
|
25
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL AccountingService
|
|
6
|
+
* The EMIL AccountingService API description
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
* Contact: kontakt@emil.de
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -46,11 +46,11 @@ export interface FinancialAccountClass {
|
|
|
46
46
|
*/
|
|
47
47
|
'parentId': number;
|
|
48
48
|
/**
|
|
49
|
-
* The
|
|
49
|
+
* The partner number of the account.
|
|
50
50
|
* @type {string}
|
|
51
51
|
* @memberof FinancialAccountClass
|
|
52
52
|
*/
|
|
53
|
-
'
|
|
53
|
+
'partnerNumber': string;
|
|
54
54
|
/**
|
|
55
55
|
* The type of account, e.g. \"Asset\", \"Liability\", \"Equity\", \"Revenue\", \"Expense\".
|
|
56
56
|
* @type {string}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL AccountingService
|
|
3
|
+
* The EMIL AccountingService API description
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
* Contact: kontakt@emil.de
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { PersonalAccountClass } from './personal-account-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface GetPersonalAccountResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface GetPersonalAccountResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
* The personal account response.
|
|
21
|
+
* @type {PersonalAccountClass}
|
|
22
|
+
* @memberof GetPersonalAccountResponseClass
|
|
23
|
+
*/
|
|
24
|
+
'personalAccount': PersonalAccountClass;
|
|
25
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL AccountingService
|
|
6
|
+
* The EMIL AccountingService API description
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
* Contact: kontakt@emil.de
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
package/dist/models/index.d.ts
CHANGED
|
@@ -3,12 +3,17 @@ export * from './create-booking-entry-request-dto';
|
|
|
3
3
|
export * from './create-booking-entry-response-class';
|
|
4
4
|
export * from './create-financial-account-request-dto';
|
|
5
5
|
export * from './create-financial-account-response-class';
|
|
6
|
+
export * from './create-personal-account-request-dto';
|
|
7
|
+
export * from './create-personal-account-response-class';
|
|
6
8
|
export * from './financial-account-class';
|
|
7
9
|
export * from './financial-transaction-class';
|
|
8
10
|
export * from './financial-transaction-data-dto';
|
|
9
11
|
export * from './get-booking-entry-response-class';
|
|
10
12
|
export * from './get-financial-account-response-class';
|
|
13
|
+
export * from './get-personal-account-response-class';
|
|
11
14
|
export * from './inline-response200';
|
|
12
15
|
export * from './inline-response503';
|
|
13
16
|
export * from './list-booking-entries-response-class';
|
|
14
17
|
export * from './list-financial-accounts-response-class';
|
|
18
|
+
export * from './list-personal-accounts-response-class';
|
|
19
|
+
export * from './personal-account-class';
|
package/dist/models/index.js
CHANGED
|
@@ -19,12 +19,17 @@ __exportStar(require("./create-booking-entry-request-dto"), exports);
|
|
|
19
19
|
__exportStar(require("./create-booking-entry-response-class"), exports);
|
|
20
20
|
__exportStar(require("./create-financial-account-request-dto"), exports);
|
|
21
21
|
__exportStar(require("./create-financial-account-response-class"), exports);
|
|
22
|
+
__exportStar(require("./create-personal-account-request-dto"), exports);
|
|
23
|
+
__exportStar(require("./create-personal-account-response-class"), exports);
|
|
22
24
|
__exportStar(require("./financial-account-class"), exports);
|
|
23
25
|
__exportStar(require("./financial-transaction-class"), exports);
|
|
24
26
|
__exportStar(require("./financial-transaction-data-dto"), exports);
|
|
25
27
|
__exportStar(require("./get-booking-entry-response-class"), exports);
|
|
26
28
|
__exportStar(require("./get-financial-account-response-class"), exports);
|
|
29
|
+
__exportStar(require("./get-personal-account-response-class"), exports);
|
|
27
30
|
__exportStar(require("./inline-response200"), exports);
|
|
28
31
|
__exportStar(require("./inline-response503"), exports);
|
|
29
32
|
__exportStar(require("./list-booking-entries-response-class"), exports);
|
|
30
33
|
__exportStar(require("./list-financial-accounts-response-class"), exports);
|
|
34
|
+
__exportStar(require("./list-personal-accounts-response-class"), exports);
|
|
35
|
+
__exportStar(require("./personal-account-class"), exports);
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL AccountingService
|
|
3
|
+
* The EMIL AccountingService API description
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
* Contact: kontakt@emil.de
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { PersonalAccountClass } from './personal-account-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ListPersonalAccountsResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface ListPersonalAccountsResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
* The list of personal accounts.
|
|
21
|
+
* @type {Array<PersonalAccountClass>}
|
|
22
|
+
* @memberof ListPersonalAccountsResponseClass
|
|
23
|
+
*/
|
|
24
|
+
'items': Array<PersonalAccountClass>;
|
|
25
|
+
/**
|
|
26
|
+
* Next page token
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof ListPersonalAccountsResponseClass
|
|
29
|
+
*/
|
|
30
|
+
'nextPageToken': string;
|
|
31
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL AccountingService
|
|
6
|
+
* The EMIL AccountingService API description
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
* Contact: kontakt@emil.de
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL AccountingService
|
|
3
|
+
* The EMIL AccountingService API description
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
* Contact: kontakt@emil.de
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface PersonalAccountClass
|
|
16
|
+
*/
|
|
17
|
+
export interface PersonalAccountClass {
|
|
18
|
+
/**
|
|
19
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof PersonalAccountClass
|
|
22
|
+
*/
|
|
23
|
+
'id': number;
|
|
24
|
+
/**
|
|
25
|
+
* Unique identifier for the object.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof PersonalAccountClass
|
|
28
|
+
*/
|
|
29
|
+
'code': string;
|
|
30
|
+
/**
|
|
31
|
+
* The name of the account.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof PersonalAccountClass
|
|
34
|
+
*/
|
|
35
|
+
'name': string;
|
|
36
|
+
/**
|
|
37
|
+
* The personal account number.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof PersonalAccountClass
|
|
40
|
+
*/
|
|
41
|
+
'personalAccountNumber': string;
|
|
42
|
+
/**
|
|
43
|
+
* The financial account number.
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof PersonalAccountClass
|
|
46
|
+
*/
|
|
47
|
+
'financialAccountNumber': string;
|
|
48
|
+
/**
|
|
49
|
+
* The partner number of the account (account number, partner number, etc...).
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof PersonalAccountClass
|
|
52
|
+
*/
|
|
53
|
+
'partnerNumber': string;
|
|
54
|
+
/**
|
|
55
|
+
* The entity code of the account (account code, bank account code, etc...).
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof PersonalAccountClass
|
|
58
|
+
*/
|
|
59
|
+
'entityCode': string;
|
|
60
|
+
/**
|
|
61
|
+
* The type of account, e.g. \"Asset\", \"Liability\", \"Equity\", \"Revenue\", \"Expense\".
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof PersonalAccountClass
|
|
64
|
+
*/
|
|
65
|
+
'type': PersonalAccountClassTypeEnum;
|
|
66
|
+
/**
|
|
67
|
+
* Metadata about the object.
|
|
68
|
+
* @type {object}
|
|
69
|
+
* @memberof PersonalAccountClass
|
|
70
|
+
*/
|
|
71
|
+
'customFields'?: object;
|
|
72
|
+
/**
|
|
73
|
+
* Time at which the object was created.
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof PersonalAccountClass
|
|
76
|
+
*/
|
|
77
|
+
'createdAt': string;
|
|
78
|
+
/**
|
|
79
|
+
* Time at which the object was updated.
|
|
80
|
+
* @type {string}
|
|
81
|
+
* @memberof PersonalAccountClass
|
|
82
|
+
*/
|
|
83
|
+
'updatedAt': string;
|
|
84
|
+
/**
|
|
85
|
+
* Identifier of the user who created the record.
|
|
86
|
+
* @type {string}
|
|
87
|
+
* @memberof PersonalAccountClass
|
|
88
|
+
*/
|
|
89
|
+
'createdBy': string;
|
|
90
|
+
/**
|
|
91
|
+
* Identifier of the user who last updated the record.
|
|
92
|
+
* @type {string}
|
|
93
|
+
* @memberof PersonalAccountClass
|
|
94
|
+
*/
|
|
95
|
+
'updatedBy': string;
|
|
96
|
+
}
|
|
97
|
+
export declare const PersonalAccountClassTypeEnum: {
|
|
98
|
+
readonly Asset: "asset";
|
|
99
|
+
readonly Liability: "liability";
|
|
100
|
+
readonly Equity: "equity";
|
|
101
|
+
readonly Revenue: "revenue";
|
|
102
|
+
readonly Expense: "expense";
|
|
103
|
+
};
|
|
104
|
+
export type PersonalAccountClassTypeEnum = typeof PersonalAccountClassTypeEnum[keyof typeof PersonalAccountClassTypeEnum];
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL AccountingService
|
|
6
|
+
* The EMIL AccountingService API description
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
* Contact: kontakt@emil.de
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.PersonalAccountClassTypeEnum = void 0;
|
|
17
|
+
exports.PersonalAccountClassTypeEnum = {
|
|
18
|
+
Asset: 'asset',
|
|
19
|
+
Liability: 'liability',
|
|
20
|
+
Equity: 'equity',
|
|
21
|
+
Revenue: 'revenue',
|
|
22
|
+
Expense: 'expense'
|
|
23
|
+
};
|
|
@@ -39,11 +39,11 @@ export interface CreateFinancialAccountRequestDto {
|
|
|
39
39
|
*/
|
|
40
40
|
'type': CreateFinancialAccountRequestDtoTypeEnum;
|
|
41
41
|
/**
|
|
42
|
-
* An optional code representing the
|
|
42
|
+
* An optional code representing the partner associated with this account. Useful for associating the account with specific partner in Emil.
|
|
43
43
|
* @type {string}
|
|
44
44
|
* @memberof CreateFinancialAccountRequestDto
|
|
45
45
|
*/
|
|
46
|
-
'
|
|
46
|
+
'partnerNumber'?: string;
|
|
47
47
|
/**
|
|
48
48
|
* An optional identifier for the parent account. If provided, this allows the creation of sub-accounts under a parent financial account, establishing a hierarchy.
|
|
49
49
|
* @type {number}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL AccountingService
|
|
5
|
+
* The EMIL AccountingService API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface CreatePersonalAccountRequestDto
|
|
21
|
+
*/
|
|
22
|
+
export interface CreatePersonalAccountRequestDto {
|
|
23
|
+
/**
|
|
24
|
+
* The name of the financial account. This is a descriptive label used to identify the account within the system.
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof CreatePersonalAccountRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'name': string;
|
|
29
|
+
/**
|
|
30
|
+
* The unique account number assigned to this financial account. This number is used to route transactions and manage the account within the financial system.
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof CreatePersonalAccountRequestDto
|
|
33
|
+
*/
|
|
34
|
+
'personalAccountNumber': string;
|
|
35
|
+
/**
|
|
36
|
+
* The unique account number assigned to this financial account. This number is used to route transactions and manage the account within the financial system.
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof CreatePersonalAccountRequestDto
|
|
39
|
+
*/
|
|
40
|
+
'financialAccountNumber': string;
|
|
41
|
+
/**
|
|
42
|
+
* The partner number of the account
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof CreatePersonalAccountRequestDto
|
|
45
|
+
*/
|
|
46
|
+
'partnerNumber': string;
|
|
47
|
+
/**
|
|
48
|
+
* The type of personal account, specifying its category or classification, such as customer, supplier, or employee. This categorization helps in accounting and reporting.
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof CreatePersonalAccountRequestDto
|
|
51
|
+
*/
|
|
52
|
+
'type': CreatePersonalAccountRequestDtoTypeEnum;
|
|
53
|
+
/**
|
|
54
|
+
* Optional key-value pairs to store additional custom metadata or specific attributes related to the financial account, such as account purpose or manager.
|
|
55
|
+
* @type {object}
|
|
56
|
+
* @memberof CreatePersonalAccountRequestDto
|
|
57
|
+
*/
|
|
58
|
+
'customFields': object;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
export const CreatePersonalAccountRequestDtoTypeEnum = {
|
|
62
|
+
Customer: 'customer',
|
|
63
|
+
Supplier: 'supplier',
|
|
64
|
+
Employee: 'employee'
|
|
65
|
+
} as const;
|
|
66
|
+
|
|
67
|
+
export type CreatePersonalAccountRequestDtoTypeEnum = typeof CreatePersonalAccountRequestDtoTypeEnum[keyof typeof CreatePersonalAccountRequestDtoTypeEnum];
|
|
68
|
+
|
|
69
|
+
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL AccountingService
|
|
5
|
+
* The EMIL AccountingService API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
import { PersonalAccountClass } from './personal-account-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface CreatePersonalAccountResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface CreatePersonalAccountResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* The personal account response.
|
|
26
|
+
* @type {PersonalAccountClass}
|
|
27
|
+
* @memberof CreatePersonalAccountResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'personalAccount': PersonalAccountClass;
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -51,11 +51,11 @@ export interface FinancialAccountClass {
|
|
|
51
51
|
*/
|
|
52
52
|
'parentId': number;
|
|
53
53
|
/**
|
|
54
|
-
* The
|
|
54
|
+
* The partner number of the account.
|
|
55
55
|
* @type {string}
|
|
56
56
|
* @memberof FinancialAccountClass
|
|
57
57
|
*/
|
|
58
|
-
'
|
|
58
|
+
'partnerNumber': string;
|
|
59
59
|
/**
|
|
60
60
|
* The type of account, e.g. \"Asset\", \"Liability\", \"Equity\", \"Revenue\", \"Expense\".
|
|
61
61
|
* @type {string}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL AccountingService
|
|
5
|
+
* The EMIL AccountingService API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
import { PersonalAccountClass } from './personal-account-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface GetPersonalAccountResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface GetPersonalAccountResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* The personal account response.
|
|
26
|
+
* @type {PersonalAccountClass}
|
|
27
|
+
* @memberof GetPersonalAccountResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'personalAccount': PersonalAccountClass;
|
|
30
|
+
}
|
|
31
|
+
|
package/models/index.ts
CHANGED
|
@@ -3,12 +3,17 @@ export * from './create-booking-entry-request-dto';
|
|
|
3
3
|
export * from './create-booking-entry-response-class';
|
|
4
4
|
export * from './create-financial-account-request-dto';
|
|
5
5
|
export * from './create-financial-account-response-class';
|
|
6
|
+
export * from './create-personal-account-request-dto';
|
|
7
|
+
export * from './create-personal-account-response-class';
|
|
6
8
|
export * from './financial-account-class';
|
|
7
9
|
export * from './financial-transaction-class';
|
|
8
10
|
export * from './financial-transaction-data-dto';
|
|
9
11
|
export * from './get-booking-entry-response-class';
|
|
10
12
|
export * from './get-financial-account-response-class';
|
|
13
|
+
export * from './get-personal-account-response-class';
|
|
11
14
|
export * from './inline-response200';
|
|
12
15
|
export * from './inline-response503';
|
|
13
16
|
export * from './list-booking-entries-response-class';
|
|
14
17
|
export * from './list-financial-accounts-response-class';
|
|
18
|
+
export * from './list-personal-accounts-response-class';
|
|
19
|
+
export * from './personal-account-class';
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL AccountingService
|
|
5
|
+
* The EMIL AccountingService API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
import { PersonalAccountClass } from './personal-account-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface ListPersonalAccountsResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface ListPersonalAccountsResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* The list of personal accounts.
|
|
26
|
+
* @type {Array<PersonalAccountClass>}
|
|
27
|
+
* @memberof ListPersonalAccountsResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'items': Array<PersonalAccountClass>;
|
|
30
|
+
/**
|
|
31
|
+
* Next page token
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ListPersonalAccountsResponseClass
|
|
34
|
+
*/
|
|
35
|
+
'nextPageToken': string;
|
|
36
|
+
}
|
|
37
|
+
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL AccountingService
|
|
5
|
+
* The EMIL AccountingService API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface PersonalAccountClass
|
|
21
|
+
*/
|
|
22
|
+
export interface PersonalAccountClass {
|
|
23
|
+
/**
|
|
24
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
25
|
+
* @type {number}
|
|
26
|
+
* @memberof PersonalAccountClass
|
|
27
|
+
*/
|
|
28
|
+
'id': number;
|
|
29
|
+
/**
|
|
30
|
+
* Unique identifier for the object.
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof PersonalAccountClass
|
|
33
|
+
*/
|
|
34
|
+
'code': string;
|
|
35
|
+
/**
|
|
36
|
+
* The name of the account.
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof PersonalAccountClass
|
|
39
|
+
*/
|
|
40
|
+
'name': string;
|
|
41
|
+
/**
|
|
42
|
+
* The personal account number.
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof PersonalAccountClass
|
|
45
|
+
*/
|
|
46
|
+
'personalAccountNumber': string;
|
|
47
|
+
/**
|
|
48
|
+
* The financial account number.
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof PersonalAccountClass
|
|
51
|
+
*/
|
|
52
|
+
'financialAccountNumber': string;
|
|
53
|
+
/**
|
|
54
|
+
* The partner number of the account (account number, partner number, etc...).
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof PersonalAccountClass
|
|
57
|
+
*/
|
|
58
|
+
'partnerNumber': string;
|
|
59
|
+
/**
|
|
60
|
+
* The entity code of the account (account code, bank account code, etc...).
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof PersonalAccountClass
|
|
63
|
+
*/
|
|
64
|
+
'entityCode': string;
|
|
65
|
+
/**
|
|
66
|
+
* The type of account, e.g. \"Asset\", \"Liability\", \"Equity\", \"Revenue\", \"Expense\".
|
|
67
|
+
* @type {string}
|
|
68
|
+
* @memberof PersonalAccountClass
|
|
69
|
+
*/
|
|
70
|
+
'type': PersonalAccountClassTypeEnum;
|
|
71
|
+
/**
|
|
72
|
+
* Metadata about the object.
|
|
73
|
+
* @type {object}
|
|
74
|
+
* @memberof PersonalAccountClass
|
|
75
|
+
*/
|
|
76
|
+
'customFields'?: object;
|
|
77
|
+
/**
|
|
78
|
+
* Time at which the object was created.
|
|
79
|
+
* @type {string}
|
|
80
|
+
* @memberof PersonalAccountClass
|
|
81
|
+
*/
|
|
82
|
+
'createdAt': string;
|
|
83
|
+
/**
|
|
84
|
+
* Time at which the object was updated.
|
|
85
|
+
* @type {string}
|
|
86
|
+
* @memberof PersonalAccountClass
|
|
87
|
+
*/
|
|
88
|
+
'updatedAt': string;
|
|
89
|
+
/**
|
|
90
|
+
* Identifier of the user who created the record.
|
|
91
|
+
* @type {string}
|
|
92
|
+
* @memberof PersonalAccountClass
|
|
93
|
+
*/
|
|
94
|
+
'createdBy': string;
|
|
95
|
+
/**
|
|
96
|
+
* Identifier of the user who last updated the record.
|
|
97
|
+
* @type {string}
|
|
98
|
+
* @memberof PersonalAccountClass
|
|
99
|
+
*/
|
|
100
|
+
'updatedBy': string;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
export const PersonalAccountClassTypeEnum = {
|
|
104
|
+
Asset: 'asset',
|
|
105
|
+
Liability: 'liability',
|
|
106
|
+
Equity: 'equity',
|
|
107
|
+
Revenue: 'revenue',
|
|
108
|
+
Expense: 'expense'
|
|
109
|
+
} as const;
|
|
110
|
+
|
|
111
|
+
export type PersonalAccountClassTypeEnum = typeof PersonalAccountClassTypeEnum[keyof typeof PersonalAccountClassTypeEnum];
|
|
112
|
+
|
|
113
|
+
|