@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
|
@@ -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 { ProductWithAccountMappingsClass } from './product-with-account-mappings-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface ListProductsWithAccountMappingsResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface ListProductsWithAccountMappingsResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* Next page token.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ListProductsWithAccountMappingsResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'nextPageToken': string;
|
|
30
|
+
/**
|
|
31
|
+
* Not yet populated -- insuranceservice\'s own product list doesn\'t carry this either.
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof ListProductsWithAccountMappingsResponseClass
|
|
34
|
+
*/
|
|
35
|
+
'totalItems'?: number;
|
|
36
|
+
/**
|
|
37
|
+
* Not yet populated -- insuranceservice\'s own product list doesn\'t carry this either.
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof ListProductsWithAccountMappingsResponseClass
|
|
40
|
+
*/
|
|
41
|
+
'itemsPerPage'?: number;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {Array<ProductWithAccountMappingsClass>}
|
|
45
|
+
* @memberof ListProductsWithAccountMappingsResponseClass
|
|
46
|
+
*/
|
|
47
|
+
'items': Array<ProductWithAccountMappingsClass>;
|
|
48
|
+
}
|
|
49
|
+
|
|
@@ -0,0 +1,52 @@
|
|
|
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 PostFinancialEventRequestDto
|
|
21
|
+
*/
|
|
22
|
+
export interface PostFinancialEventRequestDto {
|
|
23
|
+
/**
|
|
24
|
+
* The kind of source entity to post a booking entry for. Each kind is posted through the same flow its domain event goes through.
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof PostFinancialEventRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'sourceEntityType': PostFinancialEventRequestDtoSourceEntityTypeEnum;
|
|
29
|
+
/**
|
|
30
|
+
* The code of the source entity in the service that owns it, such as an invoice, payment, exceeding credit or credit allocation code.
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof PostFinancialEventRequestDto
|
|
33
|
+
*/
|
|
34
|
+
'sourceEntityCode': string;
|
|
35
|
+
/**
|
|
36
|
+
* The partner whose personal account the entry posts to. Required for an exceeding credit, which does not name its partner itself. Optional for a payment or credit allocation, where it must match the entity\'s own partner. Not accepted for an invoice, whose partner is derived from the policy.
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof PostFinancialEventRequestDto
|
|
39
|
+
*/
|
|
40
|
+
'partnerCode'?: string;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export const PostFinancialEventRequestDtoSourceEntityTypeEnum = {
|
|
44
|
+
Invoice: 'invoice',
|
|
45
|
+
Payment: 'payment',
|
|
46
|
+
Credit: 'credit',
|
|
47
|
+
CreditAllocation: 'credit_allocation'
|
|
48
|
+
} as const;
|
|
49
|
+
|
|
50
|
+
export type PostFinancialEventRequestDtoSourceEntityTypeEnum = typeof PostFinancialEventRequestDtoSourceEntityTypeEnum[keyof typeof PostFinancialEventRequestDtoSourceEntityTypeEnum];
|
|
51
|
+
|
|
52
|
+
|
|
@@ -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 { BookingEntryClass } from './booking-entry-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface PostFinancialEventResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface PostFinancialEventResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* Every booking entry the posting wrote, in posting order. A payment settlement that releases premium tax writes a second entry.
|
|
26
|
+
* @type {Array<BookingEntryClass>}
|
|
27
|
+
* @memberof PostFinancialEventResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'bookingEntries': Array<BookingEntryClass>;
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -0,0 +1,43 @@
|
|
|
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 { ResolvedAccountMappingClass } from './resolved-account-mapping-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface PremiumItemAccountMappingClass
|
|
22
|
+
*/
|
|
23
|
+
export interface PremiumItemAccountMappingClass {
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof PremiumItemAccountMappingClass
|
|
28
|
+
*/
|
|
29
|
+
'premiumFormulaCode': string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof PremiumItemAccountMappingClass
|
|
34
|
+
*/
|
|
35
|
+
'premiumFormulaName': string;
|
|
36
|
+
/**
|
|
37
|
+
* The accounts assigned to this item: 1 entry (unconfigured, or VAT/revenue-classified) or 2 (tax: pending + due), never one-per-eligible-category. Each entry\'s own financialAccount.functionalCategory determines which leg it is — array order is not meaningful, select an entry by functionalCategory, never by position.
|
|
38
|
+
* @type {Array<ResolvedAccountMappingClass>}
|
|
39
|
+
* @memberof PremiumItemAccountMappingClass
|
|
40
|
+
*/
|
|
41
|
+
'accountMappings': Array<ResolvedAccountMappingClass>;
|
|
42
|
+
}
|
|
43
|
+
|
|
@@ -0,0 +1,67 @@
|
|
|
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 ProductAccountMappingClass
|
|
22
|
+
*/
|
|
23
|
+
export interface ProductAccountMappingClass {
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ProductAccountMappingClass
|
|
28
|
+
*/
|
|
29
|
+
'productCode': string;
|
|
30
|
+
/**
|
|
31
|
+
* Empty string when this row is product-level (not version-scoped).
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ProductAccountMappingClass
|
|
34
|
+
*/
|
|
35
|
+
'productVersionCode': string;
|
|
36
|
+
/**
|
|
37
|
+
* Empty string unless this row is premium-item-level.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof ProductAccountMappingClass
|
|
40
|
+
*/
|
|
41
|
+
'premiumFormulaCode': string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof ProductAccountMappingClass
|
|
46
|
+
*/
|
|
47
|
+
'category': string;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {FinancialAccountClass}
|
|
51
|
+
* @memberof ProductAccountMappingClass
|
|
52
|
+
*/
|
|
53
|
+
'financialAccount': FinancialAccountClass;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof ProductAccountMappingClass
|
|
58
|
+
*/
|
|
59
|
+
'createdAt'?: string;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof ProductAccountMappingClass
|
|
64
|
+
*/
|
|
65
|
+
'updatedAt'?: string;
|
|
66
|
+
}
|
|
67
|
+
|
|
@@ -0,0 +1,56 @@
|
|
|
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 { ProductVersionWithAccountMappingsClass } from './product-version-with-account-mappings-class';
|
|
17
|
+
import { ResolvedAccountMappingClass } from './resolved-account-mapping-class';
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @export
|
|
22
|
+
* @interface ProductAccountMappingDetailClass
|
|
23
|
+
*/
|
|
24
|
+
export interface ProductAccountMappingDetailClass {
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof ProductAccountMappingDetailClass
|
|
29
|
+
*/
|
|
30
|
+
'productCode': string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof ProductAccountMappingDetailClass
|
|
35
|
+
*/
|
|
36
|
+
'productSlug': string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof ProductAccountMappingDetailClass
|
|
41
|
+
*/
|
|
42
|
+
'productName': string;
|
|
43
|
+
/**
|
|
44
|
+
* One entry per category eligible for product-level override, always listed whether overridden or not. Each entry always carries exactly one resolved account.
|
|
45
|
+
* @type {Array<ResolvedAccountMappingClass>}
|
|
46
|
+
* @memberof ProductAccountMappingDetailClass
|
|
47
|
+
*/
|
|
48
|
+
'accountMappings': Array<ResolvedAccountMappingClass>;
|
|
49
|
+
/**
|
|
50
|
+
* Same shape as the catalog list, so this endpoint is usable standalone without a prior catalog call.
|
|
51
|
+
* @type {Array<ProductVersionWithAccountMappingsClass>}
|
|
52
|
+
* @memberof ProductAccountMappingDetailClass
|
|
53
|
+
*/
|
|
54
|
+
'versions': Array<ProductVersionWithAccountMappingsClass>;
|
|
55
|
+
}
|
|
56
|
+
|
|
@@ -0,0 +1,56 @@
|
|
|
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 { PremiumItemAccountMappingClass } from './premium-item-account-mapping-class';
|
|
17
|
+
import { ResolvedAccountMappingClass } from './resolved-account-mapping-class';
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @export
|
|
22
|
+
* @interface ProductVersionAccountMappingDetailClass
|
|
23
|
+
*/
|
|
24
|
+
export interface ProductVersionAccountMappingDetailClass {
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof ProductVersionAccountMappingDetailClass
|
|
29
|
+
*/
|
|
30
|
+
'productVersionCode': string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof ProductVersionAccountMappingDetailClass
|
|
35
|
+
*/
|
|
36
|
+
'description': string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof ProductVersionAccountMappingDetailClass
|
|
41
|
+
*/
|
|
42
|
+
'status': string;
|
|
43
|
+
/**
|
|
44
|
+
* One entry per category eligible for product/version-level override, resolved via PRODUCT_VERSION -> PRODUCT -> CATEGORY_DEFAULT.
|
|
45
|
+
* @type {Array<ResolvedAccountMappingClass>}
|
|
46
|
+
* @memberof ProductVersionAccountMappingDetailClass
|
|
47
|
+
*/
|
|
48
|
+
'accountMappings': Array<ResolvedAccountMappingClass>;
|
|
49
|
+
/**
|
|
50
|
+
* Every public, calculation-relevant premium item on this version, whether overridden or not.
|
|
51
|
+
* @type {Array<PremiumItemAccountMappingClass>}
|
|
52
|
+
* @memberof ProductVersionAccountMappingDetailClass
|
|
53
|
+
*/
|
|
54
|
+
'premiumItems': Array<PremiumItemAccountMappingClass>;
|
|
55
|
+
}
|
|
56
|
+
|
|
@@ -0,0 +1,48 @@
|
|
|
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 ProductVersionWithAccountMappingsClass
|
|
21
|
+
*/
|
|
22
|
+
export interface ProductVersionWithAccountMappingsClass {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof ProductVersionWithAccountMappingsClass
|
|
27
|
+
*/
|
|
28
|
+
'productVersionCode': string;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof ProductVersionWithAccountMappingsClass
|
|
33
|
+
*/
|
|
34
|
+
'description': string;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof ProductVersionWithAccountMappingsClass
|
|
39
|
+
*/
|
|
40
|
+
'status': string;
|
|
41
|
+
/**
|
|
42
|
+
* True when this version has at least one product-version-level or premium-item-level override, computed via a bulk local badge lookup.
|
|
43
|
+
* @type {boolean}
|
|
44
|
+
* @memberof ProductVersionWithAccountMappingsClass
|
|
45
|
+
*/
|
|
46
|
+
'hasCustomMapping': boolean;
|
|
47
|
+
}
|
|
48
|
+
|
|
@@ -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 { ProductVersionWithAccountMappingsClass } from './product-version-with-account-mappings-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface ProductWithAccountMappingsClass
|
|
22
|
+
*/
|
|
23
|
+
export interface ProductWithAccountMappingsClass {
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ProductWithAccountMappingsClass
|
|
28
|
+
*/
|
|
29
|
+
'productCode': string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ProductWithAccountMappingsClass
|
|
34
|
+
*/
|
|
35
|
+
'productSlug': string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof ProductWithAccountMappingsClass
|
|
40
|
+
*/
|
|
41
|
+
'productName': string;
|
|
42
|
+
/**
|
|
43
|
+
* Aggregate: true if the product itself, any version, or any premium item under any version is overridden.
|
|
44
|
+
* @type {boolean}
|
|
45
|
+
* @memberof ProductWithAccountMappingsClass
|
|
46
|
+
*/
|
|
47
|
+
'hasCustomMapping': boolean;
|
|
48
|
+
/**
|
|
49
|
+
* Every version of this product, regardless of status.
|
|
50
|
+
* @type {Array<ProductVersionWithAccountMappingsClass>}
|
|
51
|
+
* @memberof ProductWithAccountMappingsClass
|
|
52
|
+
*/
|
|
53
|
+
'versions': Array<ProductVersionWithAccountMappingsClass>;
|
|
54
|
+
}
|
|
55
|
+
|
|
@@ -0,0 +1,30 @@
|
|
|
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 PutPremiumItemAccountBodyDto
|
|
21
|
+
*/
|
|
22
|
+
export interface PutPremiumItemAccountBodyDto {
|
|
23
|
+
/**
|
|
24
|
+
* Code of the financial account to use. Must belong to the category named in this request\'s path.
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof PutPremiumItemAccountBodyDto
|
|
27
|
+
*/
|
|
28
|
+
'financialAccountCode': string;
|
|
29
|
+
}
|
|
30
|
+
|
|
@@ -0,0 +1,30 @@
|
|
|
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 PutProductCategoryAccountBodyDto
|
|
21
|
+
*/
|
|
22
|
+
export interface PutProductCategoryAccountBodyDto {
|
|
23
|
+
/**
|
|
24
|
+
* Code of the financial account to use as the override. Must belong to the category named in this request\'s path.
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof PutProductCategoryAccountBodyDto
|
|
27
|
+
*/
|
|
28
|
+
'financialAccountCode': string;
|
|
29
|
+
}
|
|
30
|
+
|
|
@@ -0,0 +1,30 @@
|
|
|
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 PutProductVersionCategoryAccountBodyDto
|
|
21
|
+
*/
|
|
22
|
+
export interface PutProductVersionCategoryAccountBodyDto {
|
|
23
|
+
/**
|
|
24
|
+
* Code of the financial account to use as the override. Must belong to the category named in this request\'s path.
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof PutProductVersionCategoryAccountBodyDto
|
|
27
|
+
*/
|
|
28
|
+
'financialAccountCode': string;
|
|
29
|
+
}
|
|
30
|
+
|
|
@@ -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 { FinancialAccountClass } from './financial-account-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface ResolvedAccountMappingClass
|
|
22
|
+
*/
|
|
23
|
+
export interface ResolvedAccountMappingClass {
|
|
24
|
+
/**
|
|
25
|
+
* The linked account\'s current state, read live.
|
|
26
|
+
* @type {FinancialAccountClass}
|
|
27
|
+
* @memberof ResolvedAccountMappingClass
|
|
28
|
+
*/
|
|
29
|
+
'financialAccount': FinancialAccountClass;
|
|
30
|
+
/**
|
|
31
|
+
* Which level of the cascade produced this value: CATEGORY_DEFAULT, PRODUCT, PRODUCT_VERSION, or PREMIUM_ITEM. Audit/debug only.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ResolvedAccountMappingClass
|
|
34
|
+
*/
|
|
35
|
+
'source': string;
|
|
36
|
+
}
|
|
37
|
+
|
|
@@ -0,0 +1,46 @@
|
|
|
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 ResolvedCommissionAccountMappingClass
|
|
22
|
+
*/
|
|
23
|
+
export interface ResolvedCommissionAccountMappingClass {
|
|
24
|
+
/**
|
|
25
|
+
* The linked account\'s current state, read live.
|
|
26
|
+
* @type {FinancialAccountClass}
|
|
27
|
+
* @memberof ResolvedCommissionAccountMappingClass
|
|
28
|
+
*/
|
|
29
|
+
'financialAccount': FinancialAccountClass;
|
|
30
|
+
/**
|
|
31
|
+
* Which level of the cascade produced this value.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ResolvedCommissionAccountMappingClass
|
|
34
|
+
*/
|
|
35
|
+
'source': ResolvedCommissionAccountMappingClassSourceEnum;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export const ResolvedCommissionAccountMappingClassSourceEnum = {
|
|
39
|
+
CategoryDefault: 'CATEGORY_DEFAULT',
|
|
40
|
+
Type: 'TYPE',
|
|
41
|
+
Agreement: 'AGREEMENT'
|
|
42
|
+
} as const;
|
|
43
|
+
|
|
44
|
+
export type ResolvedCommissionAccountMappingClassSourceEnum = typeof ResolvedCommissionAccountMappingClassSourceEnum[keyof typeof ResolvedCommissionAccountMappingClassSourceEnum];
|
|
45
|
+
|
|
46
|
+
|
|
@@ -0,0 +1,30 @@
|
|
|
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 UpdateCommissionAgreementAccountBodyDto
|
|
21
|
+
*/
|
|
22
|
+
export interface UpdateCommissionAgreementAccountBodyDto {
|
|
23
|
+
/**
|
|
24
|
+
* Code of the financial account to use as this override. Must belong to the REVENUE_FINAL_ACC category (MVP scope).
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof UpdateCommissionAgreementAccountBodyDto
|
|
27
|
+
*/
|
|
28
|
+
'financialAccountCode': string;
|
|
29
|
+
}
|
|
30
|
+
|