@emilgroup/accounting-sdk-node 1.32.1-beta.3 → 1.32.1-beta.30
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 +30 -0
- package/README.md +2 -2
- package/api/accounting-configs-api.ts +97 -7
- package/api/booking-entries-api.ts +107 -0
- package/api/commission-account-mappings-api.ts +1195 -0
- package/api/financial-accounts-api.ts +132 -12
- package/api/product-account-mappings-api.ts +1474 -0
- package/api.ts +4 -0
- package/dist/api/accounting-configs-api.d.ts +47 -0
- package/dist/api/accounting-configs-api.js +94 -7
- package/dist/api/booking-entries-api.d.ts +57 -0
- package/dist/api/booking-entries-api.js +93 -0
- package/dist/api/commission-account-mappings-api.d.ts +685 -0
- package/dist/api/commission-account-mappings-api.js +1008 -0
- package/dist/api/financial-accounts-api.d.ts +78 -12
- package/dist/api/financial-accounts-api.js +109 -10
- package/dist/api/product-account-mappings-api.d.ts +851 -0
- package/dist/api/product-account-mappings-api.js +1228 -0
- package/dist/api.d.ts +2 -0
- package/dist/api.js +2 -0
- package/dist/models/accounting-config-class.d.ts +11 -0
- package/dist/models/accounting-config-class.js +5 -0
- package/dist/models/booking-entry-class.d.ts +19 -0
- package/dist/models/booking-entry-class.js +7 -1
- package/dist/models/commission-account-mapping-class.d.ts +49 -0
- package/dist/models/commission-account-mapping-class.js +15 -0
- package/dist/models/commission-agreement-account-mapping-detail-class.d.ts +44 -0
- package/dist/models/commission-agreement-account-mapping-detail-class.js +15 -0
- package/dist/models/commission-agreement-partner-class.d.ts +30 -0
- package/dist/models/commission-agreement-partner-class.js +15 -0
- package/dist/models/commission-agreement-with-account-mapping-class.d.ts +43 -0
- package/dist/models/commission-agreement-with-account-mapping-class.js +15 -0
- package/dist/models/commission-type-account-mapping-class.d.ts +31 -0
- package/dist/models/commission-type-account-mapping-class.js +15 -0
- package/dist/models/create-booking-entry-request-dto.d.ts +19 -0
- package/dist/models/create-booking-entry-request-dto.js +7 -0
- package/dist/models/create-financial-account-request-dto.d.ts +12 -0
- package/dist/models/financial-account-class.d.ts +30 -1
- package/dist/models/financial-account-class.js +5 -1
- package/dist/models/get-activation-snapshot-response-class.d.ts +25 -0
- package/dist/models/get-activation-snapshot-response-class.js +15 -0
- package/dist/models/index.d.ts +28 -0
- package/dist/models/index.js +28 -0
- package/dist/models/list-commission-account-mappings-response-class.d.ts +43 -0
- package/dist/models/list-commission-account-mappings-response-class.js +15 -0
- package/dist/models/list-commission-agreements-with-account-mappings-response-class.d.ts +43 -0
- package/dist/models/list-commission-agreements-with-account-mappings-response-class.js +15 -0
- package/dist/models/list-commission-type-account-mappings-response-class.d.ts +43 -0
- package/dist/models/list-commission-type-account-mappings-response-class.js +15 -0
- package/dist/models/list-product-account-mappings-response-class.d.ts +43 -0
- package/dist/models/list-product-account-mappings-response-class.js +15 -0
- package/dist/models/list-products-with-account-mappings-response-class.d.ts +43 -0
- package/dist/models/list-products-with-account-mappings-response-class.js +15 -0
- package/dist/models/post-financial-event-request-dto.d.ts +43 -0
- package/dist/models/post-financial-event-request-dto.js +22 -0
- package/dist/models/post-financial-event-response-class.d.ts +25 -0
- package/dist/models/post-financial-event-response-class.js +15 -0
- package/dist/models/premium-item-account-mapping-class.d.ts +37 -0
- package/dist/models/premium-item-account-mapping-class.js +15 -0
- package/dist/models/product-account-mapping-class.d.ts +61 -0
- package/dist/models/product-account-mapping-class.js +15 -0
- package/dist/models/product-account-mapping-detail-class.d.ts +50 -0
- package/dist/models/product-account-mapping-detail-class.js +15 -0
- package/dist/models/product-version-account-mapping-detail-class.d.ts +50 -0
- package/dist/models/product-version-account-mapping-detail-class.js +15 -0
- package/dist/models/product-version-with-account-mappings-class.d.ts +42 -0
- package/dist/models/product-version-with-account-mappings-class.js +15 -0
- package/dist/models/product-with-account-mappings-class.d.ts +49 -0
- package/dist/models/product-with-account-mappings-class.js +15 -0
- package/dist/models/put-premium-item-account-body-dto.d.ts +24 -0
- package/dist/models/put-premium-item-account-body-dto.js +15 -0
- package/dist/models/put-product-category-account-body-dto.d.ts +24 -0
- package/dist/models/put-product-category-account-body-dto.js +15 -0
- package/dist/models/put-product-version-category-account-body-dto.d.ts +24 -0
- package/dist/models/put-product-version-category-account-body-dto.js +15 -0
- package/dist/models/resolved-account-mapping-class.d.ts +31 -0
- package/dist/models/resolved-account-mapping-class.js +15 -0
- package/dist/models/resolved-commission-account-mapping-class.d.ts +37 -0
- package/dist/models/resolved-commission-account-mapping-class.js +21 -0
- package/dist/models/update-commission-agreement-account-body-dto.d.ts +24 -0
- package/dist/models/update-commission-agreement-account-body-dto.js +15 -0
- package/dist/models/update-commission-type-account-body-dto.d.ts +24 -0
- package/dist/models/update-commission-type-account-body-dto.js +15 -0
- package/dist/models/update-financial-account-body-dto.d.ts +48 -0
- package/dist/models/update-financial-account-body-dto.js +15 -0
- package/dist/models/update-financial-account-response-class.d.ts +25 -0
- package/dist/models/update-financial-account-response-class.js +15 -0
- package/models/accounting-config-class.ts +14 -0
- package/models/booking-entry-class.ts +20 -0
- package/models/commission-account-mapping-class.ts +55 -0
- package/models/commission-agreement-account-mapping-detail-class.ts +50 -0
- package/models/commission-agreement-partner-class.ts +36 -0
- package/models/commission-agreement-with-account-mapping-class.ts +49 -0
- package/models/commission-type-account-mapping-class.ts +37 -0
- package/models/create-booking-entry-request-dto.ts +22 -0
- package/models/create-financial-account-request-dto.ts +12 -0
- package/models/financial-account-class.ts +31 -1
- package/models/get-activation-snapshot-response-class.ts +31 -0
- package/models/index.ts +28 -0
- package/models/list-commission-account-mappings-response-class.ts +49 -0
- package/models/list-commission-agreements-with-account-mappings-response-class.ts +49 -0
- package/models/list-commission-type-account-mappings-response-class.ts +49 -0
- package/models/list-product-account-mappings-response-class.ts +49 -0
- package/models/list-products-with-account-mappings-response-class.ts +49 -0
- package/models/post-financial-event-request-dto.ts +52 -0
- package/models/post-financial-event-response-class.ts +31 -0
- package/models/premium-item-account-mapping-class.ts +43 -0
- package/models/product-account-mapping-class.ts +67 -0
- package/models/product-account-mapping-detail-class.ts +56 -0
- package/models/product-version-account-mapping-detail-class.ts +56 -0
- package/models/product-version-with-account-mappings-class.ts +48 -0
- package/models/product-with-account-mappings-class.ts +55 -0
- package/models/put-premium-item-account-body-dto.ts +30 -0
- package/models/put-product-category-account-body-dto.ts +30 -0
- package/models/put-product-version-category-account-body-dto.ts +30 -0
- package/models/resolved-account-mapping-class.ts +37 -0
- package/models/resolved-commission-account-mapping-class.ts +46 -0
- package/models/update-commission-agreement-account-body-dto.ts +30 -0
- package/models/update-commission-type-account-body-dto.ts +30 -0
- package/models/update-financial-account-body-dto.ts +54 -0
- package/models/update-financial-account-response-class.ts +31 -0
- package/package.json +1 -1
|
@@ -81,6 +81,18 @@ export interface BookingEntryClass {
|
|
|
81
81
|
* @memberof BookingEntryClass
|
|
82
82
|
*/
|
|
83
83
|
'externalNumber'?: string;
|
|
84
|
+
/**
|
|
85
|
+
* The code of the source entity this entry was posted for, such as an invoice or payment code. Always set together with sourceEntityType.
|
|
86
|
+
* @type {string}
|
|
87
|
+
* @memberof BookingEntryClass
|
|
88
|
+
*/
|
|
89
|
+
'sourceEntityCode'?: string;
|
|
90
|
+
/**
|
|
91
|
+
* The kind of source entity this entry was posted for. Always set together with sourceEntityCode.
|
|
92
|
+
* @type {string}
|
|
93
|
+
* @memberof BookingEntryClass
|
|
94
|
+
*/
|
|
95
|
+
'sourceEntityType'?: BookingEntryClassSourceEntityTypeEnum;
|
|
84
96
|
/**
|
|
85
97
|
* A list of financial transactions associated with this booking entry. Each entry represents a transaction linked to the current booking.
|
|
86
98
|
* @type {Array<FinancialTransactionClass>}
|
|
@@ -128,5 +140,13 @@ export const BookingEntryClassCurrencyEnum = {
|
|
|
128
140
|
} as const;
|
|
129
141
|
|
|
130
142
|
export type BookingEntryClassCurrencyEnum = typeof BookingEntryClassCurrencyEnum[keyof typeof BookingEntryClassCurrencyEnum];
|
|
143
|
+
export const BookingEntryClassSourceEntityTypeEnum = {
|
|
144
|
+
Invoice: 'invoice',
|
|
145
|
+
Payment: 'payment',
|
|
146
|
+
Credit: 'credit',
|
|
147
|
+
CreditAllocation: 'credit_allocation'
|
|
148
|
+
} as const;
|
|
149
|
+
|
|
150
|
+
export type BookingEntryClassSourceEntityTypeEnum = typeof BookingEntryClassSourceEntityTypeEnum[keyof typeof BookingEntryClassSourceEntityTypeEnum];
|
|
131
151
|
|
|
132
152
|
|
|
@@ -0,0 +1,55 @@
|
|
|
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 { FinancialAccountClass } from './financial-account-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface CommissionAccountMappingClass
|
|
22
|
+
*/
|
|
23
|
+
export interface CommissionAccountMappingClass {
|
|
24
|
+
/**
|
|
25
|
+
* Empty string when this row is type-level (not agreement-scoped).
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CommissionAccountMappingClass
|
|
28
|
+
*/
|
|
29
|
+
'commissionAgreementCode': string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof CommissionAccountMappingClass
|
|
34
|
+
*/
|
|
35
|
+
'commissionType': string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {FinancialAccountClass}
|
|
39
|
+
* @memberof CommissionAccountMappingClass
|
|
40
|
+
*/
|
|
41
|
+
'financialAccount': FinancialAccountClass;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof CommissionAccountMappingClass
|
|
46
|
+
*/
|
|
47
|
+
'createdAt'?: string;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof CommissionAccountMappingClass
|
|
52
|
+
*/
|
|
53
|
+
'updatedAt'?: string;
|
|
54
|
+
}
|
|
55
|
+
|
|
@@ -0,0 +1,50 @@
|
|
|
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 { CommissionAgreementPartnerClass } from './commission-agreement-partner-class';
|
|
17
|
+
import { CommissionTypeAccountMappingClass } from './commission-type-account-mapping-class';
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @export
|
|
22
|
+
* @interface CommissionAgreementAccountMappingDetailClass
|
|
23
|
+
*/
|
|
24
|
+
export interface CommissionAgreementAccountMappingDetailClass {
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof CommissionAgreementAccountMappingDetailClass
|
|
29
|
+
*/
|
|
30
|
+
'commissionAgreementCode': string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof CommissionAgreementAccountMappingDetailClass
|
|
35
|
+
*/
|
|
36
|
+
'commissionAgreementNumber': string;
|
|
37
|
+
/**
|
|
38
|
+
* The agreement\'s main partner.
|
|
39
|
+
* @type {CommissionAgreementPartnerClass}
|
|
40
|
+
* @memberof CommissionAgreementAccountMappingDetailClass
|
|
41
|
+
*/
|
|
42
|
+
'mainPartner'?: CommissionAgreementPartnerClass;
|
|
43
|
+
/**
|
|
44
|
+
* One entry per commission type that has some row (type-level or agreement-level) for this tenant.
|
|
45
|
+
* @type {Array<CommissionTypeAccountMappingClass>}
|
|
46
|
+
* @memberof CommissionAgreementAccountMappingDetailClass
|
|
47
|
+
*/
|
|
48
|
+
'accountMappings': Array<CommissionTypeAccountMappingClass>;
|
|
49
|
+
}
|
|
50
|
+
|
|
@@ -0,0 +1,36 @@
|
|
|
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 CommissionAgreementPartnerClass
|
|
21
|
+
*/
|
|
22
|
+
export interface CommissionAgreementPartnerClass {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof CommissionAgreementPartnerClass
|
|
27
|
+
*/
|
|
28
|
+
'code': string;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof CommissionAgreementPartnerClass
|
|
33
|
+
*/
|
|
34
|
+
'name': string;
|
|
35
|
+
}
|
|
36
|
+
|
|
@@ -0,0 +1,49 @@
|
|
|
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 { CommissionAgreementPartnerClass } from './commission-agreement-partner-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface CommissionAgreementWithAccountMappingClass
|
|
22
|
+
*/
|
|
23
|
+
export interface CommissionAgreementWithAccountMappingClass {
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CommissionAgreementWithAccountMappingClass
|
|
28
|
+
*/
|
|
29
|
+
'commissionAgreementCode': string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof CommissionAgreementWithAccountMappingClass
|
|
34
|
+
*/
|
|
35
|
+
'commissionAgreementNumber': string;
|
|
36
|
+
/**
|
|
37
|
+
* The agreement\'s main partner, read from commissionservice (CommissionAgreement.metadata.mainPartner). Omitted when the agreement has none.
|
|
38
|
+
* @type {CommissionAgreementPartnerClass}
|
|
39
|
+
* @memberof CommissionAgreementWithAccountMappingClass
|
|
40
|
+
*/
|
|
41
|
+
'mainPartner'?: CommissionAgreementPartnerClass;
|
|
42
|
+
/**
|
|
43
|
+
* True if any commission type has an agreement-level override for this agreement.
|
|
44
|
+
* @type {boolean}
|
|
45
|
+
* @memberof CommissionAgreementWithAccountMappingClass
|
|
46
|
+
*/
|
|
47
|
+
'hasCustomMapping': boolean;
|
|
48
|
+
}
|
|
49
|
+
|
|
@@ -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 { ResolvedCommissionAccountMappingClass } from './resolved-commission-account-mapping-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface CommissionTypeAccountMappingClass
|
|
22
|
+
*/
|
|
23
|
+
export interface CommissionTypeAccountMappingClass {
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CommissionTypeAccountMappingClass
|
|
28
|
+
*/
|
|
29
|
+
'commissionType': string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {ResolvedCommissionAccountMappingClass}
|
|
33
|
+
* @memberof CommissionTypeAccountMappingClass
|
|
34
|
+
*/
|
|
35
|
+
'accountMapping': ResolvedCommissionAccountMappingClass;
|
|
36
|
+
}
|
|
37
|
+
|
|
@@ -45,6 +45,18 @@ export interface CreateBookingEntryRequestDto {
|
|
|
45
45
|
* @memberof CreateBookingEntryRequestDto
|
|
46
46
|
*/
|
|
47
47
|
'externalNumber'?: string;
|
|
48
|
+
/**
|
|
49
|
+
* The code of the source entity this entry was posted for, such as an invoice or payment code. Must be provided together with sourceEntityType.
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof CreateBookingEntryRequestDto
|
|
52
|
+
*/
|
|
53
|
+
'sourceEntityCode'?: string;
|
|
54
|
+
/**
|
|
55
|
+
* The kind of source entity this entry was posted for. Must be provided together with sourceEntityCode.
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof CreateBookingEntryRequestDto
|
|
58
|
+
*/
|
|
59
|
+
'sourceEntityType'?: CreateBookingEntryRequestDtoSourceEntityTypeEnum;
|
|
48
60
|
/**
|
|
49
61
|
* A brief description of the booking entry. This provides context or purpose for the entry, such as \"Monthly premium\" or \"Refund issued\".
|
|
50
62
|
* @type {string}
|
|
@@ -65,3 +77,13 @@ export interface CreateBookingEntryRequestDto {
|
|
|
65
77
|
'financialTransactions': Array<FinancialTransactionDataDto>;
|
|
66
78
|
}
|
|
67
79
|
|
|
80
|
+
export const CreateBookingEntryRequestDtoSourceEntityTypeEnum = {
|
|
81
|
+
Invoice: 'invoice',
|
|
82
|
+
Payment: 'payment',
|
|
83
|
+
Credit: 'credit',
|
|
84
|
+
CreditAllocation: 'credit_allocation'
|
|
85
|
+
} as const;
|
|
86
|
+
|
|
87
|
+
export type CreateBookingEntryRequestDtoSourceEntityTypeEnum = typeof CreateBookingEntryRequestDtoSourceEntityTypeEnum[keyof typeof CreateBookingEntryRequestDtoSourceEntityTypeEnum];
|
|
88
|
+
|
|
89
|
+
|
|
@@ -80,6 +80,18 @@ export interface CreateFinancialAccountRequestDto {
|
|
|
80
80
|
* @memberof CreateFinancialAccountRequestDto
|
|
81
81
|
*/
|
|
82
82
|
'functionalCategory': CreateFinancialAccountRequestDtoFunctionalCategoryEnum;
|
|
83
|
+
/**
|
|
84
|
+
* Whether this account is the default for its functional category. Only meaningful for pool categories. Setting true on creation will clear isDefault on any other account in the same category.
|
|
85
|
+
* @type {boolean}
|
|
86
|
+
* @memberof CreateFinancialAccountRequestDto
|
|
87
|
+
*/
|
|
88
|
+
'isDefault'?: boolean;
|
|
89
|
+
/**
|
|
90
|
+
* The connected bank account this account books, given as its code. Permitted only on bank_acc accounts, and rejected if another financial account already links that bank account. Its IBAN is read from the bank account and returned as linkedBankAccountIban; it is never accepted here.
|
|
91
|
+
* @type {string}
|
|
92
|
+
* @memberof CreateFinancialAccountRequestDto
|
|
93
|
+
*/
|
|
94
|
+
'linkedBankAccountCode'?: string;
|
|
83
95
|
}
|
|
84
96
|
|
|
85
97
|
export const CreateFinancialAccountRequestDtoTypeEnum = {
|
|
@@ -85,7 +85,7 @@ export interface FinancialAccountClass {
|
|
|
85
85
|
* @type {string}
|
|
86
86
|
* @memberof FinancialAccountClass
|
|
87
87
|
*/
|
|
88
|
-
'status':
|
|
88
|
+
'status': FinancialAccountClassStatusEnum;
|
|
89
89
|
/**
|
|
90
90
|
* Whether the account is a control account.
|
|
91
91
|
* @type {boolean}
|
|
@@ -98,6 +98,30 @@ export interface FinancialAccountClass {
|
|
|
98
98
|
* @memberof FinancialAccountClass
|
|
99
99
|
*/
|
|
100
100
|
'functionalCategory': string;
|
|
101
|
+
/**
|
|
102
|
+
* Whether this is the default account for its functional category. Only one pool-category account per category can have isDefault set to true.
|
|
103
|
+
* @type {boolean}
|
|
104
|
+
* @memberof FinancialAccountClass
|
|
105
|
+
*/
|
|
106
|
+
'isDefault': boolean;
|
|
107
|
+
/**
|
|
108
|
+
* Whether the account is locked. Set automatically the first time the account is posted to; once true, financialAccountNumber can no longer be changed.
|
|
109
|
+
* @type {boolean}
|
|
110
|
+
* @memberof FinancialAccountClass
|
|
111
|
+
*/
|
|
112
|
+
'isLocked': boolean;
|
|
113
|
+
/**
|
|
114
|
+
* The connected bank account this account books, if one is linked. Absent when unlinked, which is every account outside the bank category.
|
|
115
|
+
* @type {string}
|
|
116
|
+
* @memberof FinancialAccountClass
|
|
117
|
+
*/
|
|
118
|
+
'linkedBankAccountCode'?: string;
|
|
119
|
+
/**
|
|
120
|
+
* IBAN of the linked bank account. Read-only: it is read from the bank account when the link is written and cannot be set here.
|
|
121
|
+
* @type {string}
|
|
122
|
+
* @memberof FinancialAccountClass
|
|
123
|
+
*/
|
|
124
|
+
'linkedBankAccountIban'?: string;
|
|
101
125
|
/**
|
|
102
126
|
* Time at which the object was created.
|
|
103
127
|
* @type {string}
|
|
@@ -134,5 +158,11 @@ export const FinancialAccountClassTypeEnum = {
|
|
|
134
158
|
} as const;
|
|
135
159
|
|
|
136
160
|
export type FinancialAccountClassTypeEnum = typeof FinancialAccountClassTypeEnum[keyof typeof FinancialAccountClassTypeEnum];
|
|
161
|
+
export const FinancialAccountClassStatusEnum = {
|
|
162
|
+
Active: 'active',
|
|
163
|
+
Inactive: 'inactive'
|
|
164
|
+
} as const;
|
|
165
|
+
|
|
166
|
+
export type FinancialAccountClassStatusEnum = typeof FinancialAccountClassStatusEnum[keyof typeof FinancialAccountClassStatusEnum];
|
|
137
167
|
|
|
138
168
|
|
|
@@ -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 { AccountingConfigClass } from './accounting-config-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface GetActivationSnapshotResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface GetActivationSnapshotResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* The subledger configuration as it was when the subledger was enabled, along with who created it, when, and its enablement status.
|
|
26
|
+
* @type {AccountingConfigClass}
|
|
27
|
+
* @memberof GetActivationSnapshotResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'accountingConfig'?: AccountingConfigClass;
|
|
30
|
+
}
|
|
31
|
+
|
package/models/index.ts
CHANGED
|
@@ -7,6 +7,11 @@ export * from './accounting-config-data-dto-accounting-configuration';
|
|
|
7
7
|
export * from './accounting-config-data-dto-default-account-mappings';
|
|
8
8
|
export * from './accounting-configuration-class';
|
|
9
9
|
export * from './booking-entry-class';
|
|
10
|
+
export * from './commission-account-mapping-class';
|
|
11
|
+
export * from './commission-agreement-account-mapping-detail-class';
|
|
12
|
+
export * from './commission-agreement-partner-class';
|
|
13
|
+
export * from './commission-agreement-with-account-mapping-class';
|
|
14
|
+
export * from './commission-type-account-mapping-class';
|
|
10
15
|
export * from './create-and-enable-subledger-request-dto';
|
|
11
16
|
export * from './create-and-enable-subledger-response-class';
|
|
12
17
|
export * from './create-booking-entry-request-dto';
|
|
@@ -22,6 +27,7 @@ export * from './financial-account-class';
|
|
|
22
27
|
export * from './financial-transaction-class';
|
|
23
28
|
export * from './financial-transaction-data-dto';
|
|
24
29
|
export * from './get-accounting-categories-response-class';
|
|
30
|
+
export * from './get-activation-snapshot-response-class';
|
|
25
31
|
export * from './get-booking-entry-response-class';
|
|
26
32
|
export * from './get-financial-account-response-class';
|
|
27
33
|
export * from './get-financial-transaction-response-class';
|
|
@@ -30,11 +36,33 @@ export * from './get-personal-account-response-class';
|
|
|
30
36
|
export * from './inline-response200';
|
|
31
37
|
export * from './inline-response503';
|
|
32
38
|
export * from './list-booking-entries-response-class';
|
|
39
|
+
export * from './list-commission-account-mappings-response-class';
|
|
40
|
+
export * from './list-commission-agreements-with-account-mappings-response-class';
|
|
41
|
+
export * from './list-commission-type-account-mappings-response-class';
|
|
33
42
|
export * from './list-financial-accounts-response-class';
|
|
34
43
|
export * from './list-financial-transactions-response-class';
|
|
35
44
|
export * from './list-number-range-response-class';
|
|
36
45
|
export * from './list-personal-accounts-response-class';
|
|
46
|
+
export * from './list-product-account-mappings-response-class';
|
|
47
|
+
export * from './list-products-with-account-mappings-response-class';
|
|
37
48
|
export * from './number-range-class';
|
|
38
49
|
export * from './personal-account-class';
|
|
50
|
+
export * from './post-financial-event-request-dto';
|
|
51
|
+
export * from './post-financial-event-response-class';
|
|
52
|
+
export * from './premium-item-account-mapping-class';
|
|
53
|
+
export * from './product-account-mapping-class';
|
|
54
|
+
export * from './product-account-mapping-detail-class';
|
|
55
|
+
export * from './product-version-account-mapping-detail-class';
|
|
56
|
+
export * from './product-version-with-account-mappings-class';
|
|
57
|
+
export * from './product-with-account-mappings-class';
|
|
58
|
+
export * from './put-premium-item-account-body-dto';
|
|
59
|
+
export * from './put-product-category-account-body-dto';
|
|
60
|
+
export * from './put-product-version-category-account-body-dto';
|
|
61
|
+
export * from './resolved-account-mapping-class';
|
|
62
|
+
export * from './resolved-commission-account-mapping-class';
|
|
63
|
+
export * from './update-commission-agreement-account-body-dto';
|
|
64
|
+
export * from './update-commission-type-account-body-dto';
|
|
65
|
+
export * from './update-financial-account-body-dto';
|
|
66
|
+
export * from './update-financial-account-response-class';
|
|
39
67
|
export * from './validate-accounting-config-request-dto';
|
|
40
68
|
export * from './validate-accounting-config-response-class';
|
|
@@ -0,0 +1,49 @@
|
|
|
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 { CommissionAccountMappingClass } from './commission-account-mapping-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface ListCommissionAccountMappingsResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface ListCommissionAccountMappingsResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* Next page token.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ListCommissionAccountMappingsResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'nextPageToken': string;
|
|
30
|
+
/**
|
|
31
|
+
* Total amount of items.
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof ListCommissionAccountMappingsResponseClass
|
|
34
|
+
*/
|
|
35
|
+
'totalItems': number;
|
|
36
|
+
/**
|
|
37
|
+
* Items per page.
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof ListCommissionAccountMappingsResponseClass
|
|
40
|
+
*/
|
|
41
|
+
'itemsPerPage': number;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {Array<CommissionAccountMappingClass>}
|
|
45
|
+
* @memberof ListCommissionAccountMappingsResponseClass
|
|
46
|
+
*/
|
|
47
|
+
'items': Array<CommissionAccountMappingClass>;
|
|
48
|
+
}
|
|
49
|
+
|
|
@@ -0,0 +1,49 @@
|
|
|
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 { CommissionAgreementWithAccountMappingClass } from './commission-agreement-with-account-mapping-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface ListCommissionAgreementsWithAccountMappingsResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface ListCommissionAgreementsWithAccountMappingsResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* Next page token.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ListCommissionAgreementsWithAccountMappingsResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'nextPageToken': string;
|
|
30
|
+
/**
|
|
31
|
+
* Total amount of items.
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof ListCommissionAgreementsWithAccountMappingsResponseClass
|
|
34
|
+
*/
|
|
35
|
+
'totalItems': number;
|
|
36
|
+
/**
|
|
37
|
+
* Items per page.
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof ListCommissionAgreementsWithAccountMappingsResponseClass
|
|
40
|
+
*/
|
|
41
|
+
'itemsPerPage': number;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {Array<CommissionAgreementWithAccountMappingClass>}
|
|
45
|
+
* @memberof ListCommissionAgreementsWithAccountMappingsResponseClass
|
|
46
|
+
*/
|
|
47
|
+
'items': Array<CommissionAgreementWithAccountMappingClass>;
|
|
48
|
+
}
|
|
49
|
+
|
|
@@ -0,0 +1,49 @@
|
|
|
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 { CommissionTypeAccountMappingClass } from './commission-type-account-mapping-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface ListCommissionTypeAccountMappingsResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface ListCommissionTypeAccountMappingsResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* Next page token.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ListCommissionTypeAccountMappingsResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'nextPageToken': string;
|
|
30
|
+
/**
|
|
31
|
+
* Total amount of items.
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof ListCommissionTypeAccountMappingsResponseClass
|
|
34
|
+
*/
|
|
35
|
+
'totalItems': number;
|
|
36
|
+
/**
|
|
37
|
+
* Items per page.
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof ListCommissionTypeAccountMappingsResponseClass
|
|
40
|
+
*/
|
|
41
|
+
'itemsPerPage': number;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {Array<CommissionTypeAccountMappingClass>}
|
|
45
|
+
* @memberof ListCommissionTypeAccountMappingsResponseClass
|
|
46
|
+
*/
|
|
47
|
+
'items': Array<CommissionTypeAccountMappingClass>;
|
|
48
|
+
}
|
|
49
|
+
|
|
@@ -0,0 +1,49 @@
|
|
|
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 { ProductAccountMappingClass } from './product-account-mapping-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface ListProductAccountMappingsResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface ListProductAccountMappingsResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* Next page token.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ListProductAccountMappingsResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'nextPageToken': string;
|
|
30
|
+
/**
|
|
31
|
+
* Total amount of items.
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof ListProductAccountMappingsResponseClass
|
|
34
|
+
*/
|
|
35
|
+
'totalItems': number;
|
|
36
|
+
/**
|
|
37
|
+
* Items per page.
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof ListProductAccountMappingsResponseClass
|
|
40
|
+
*/
|
|
41
|
+
'itemsPerPage': number;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {Array<ProductAccountMappingClass>}
|
|
45
|
+
* @memberof ListProductAccountMappingsResponseClass
|
|
46
|
+
*/
|
|
47
|
+
'items': Array<ProductAccountMappingClass>;
|
|
48
|
+
}
|
|
49
|
+
|