@emilgroup/accounting-sdk-node 1.32.1-beta.9 → 1.32.1-beta.90
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 +35 -1
- package/README.md +2 -2
- package/api/accounting-configs-api.ts +85 -45
- package/api/booking-entries-api.ts +252 -13
- package/api/commission-account-mappings-api.ts +1235 -0
- package/api/financial-accounts-api.ts +56 -31
- package/api/financial-transactions-api.ts +16 -6
- package/api/health-api.ts +1 -1
- package/api/number-ranges-api.ts +32 -12
- package/api/personal-accounts-api.ts +32 -12
- package/api/product-account-mappings-api.ts +1755 -0
- package/api.ts +4 -0
- package/base.ts +4 -0
- package/common.ts +3 -2
- package/dist/api/accounting-configs-api.d.ts +25 -25
- package/dist/api/accounting-configs-api.js +136 -80
- package/dist/api/booking-entries-api.d.ts +121 -7
- package/dist/api/booking-entries-api.js +241 -26
- package/dist/api/commission-account-mappings-api.d.ts +685 -0
- package/dist/api/commission-account-mappings-api.js +1055 -0
- package/dist/api/financial-accounts-api.d.ts +21 -21
- package/dist/api/financial-accounts-api.js +81 -52
- package/dist/api/financial-transactions-api.d.ts +2 -2
- package/dist/api/financial-transactions-api.js +22 -14
- package/dist/api/health-api.d.ts +1 -1
- package/dist/api/health-api.js +1 -1
- package/dist/api/number-ranges-api.d.ts +4 -4
- package/dist/api/number-ranges-api.js +52 -30
- package/dist/api/personal-accounts-api.d.ts +4 -4
- package/dist/api/personal-accounts-api.js +52 -30
- package/dist/api/product-account-mappings-api.d.ts +972 -0
- package/dist/api/product-account-mappings-api.js +1497 -0
- package/dist/api.d.ts +2 -0
- package/dist/api.js +2 -0
- package/dist/base.d.ts +1 -0
- package/dist/base.js +3 -0
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -0
- package/dist/models/account-mapping-class.d.ts +2 -0
- package/dist/models/account-mapping-class.js +3 -1
- package/dist/models/accounting-config-class.d.ts +11 -0
- package/dist/models/accounting-config-class.js +5 -0
- package/dist/models/accounting-config-data-class.d.ts +7 -0
- package/dist/models/accounting-config-data-dto-default-account-mappings.d.ts +8 -0
- package/dist/models/accounting-config-data-dto-default-account-mappings.js +3 -1
- package/dist/models/accounting-config-data-dto.d.ts +7 -0
- package/dist/models/booking-entry-class.d.ts +34 -0
- package/dist/models/booking-entry-class.js +10 -1
- package/dist/models/commission-account-mapping-class.d.ts +49 -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 +21 -0
- package/dist/models/create-booking-entry-request-dto.js +9 -0
- package/dist/models/create-financial-account-request-dto.d.ts +8 -0
- package/dist/models/create-financial-account-request-dto.js +3 -1
- package/dist/models/create-or-correct-opening-balance-dto.d.ts +25 -0
- package/dist/models/create-or-correct-opening-balance-dto.js +15 -0
- package/dist/models/create-or-correct-opening-balance-response-class.d.ts +25 -0
- package/dist/models/create-or-correct-opening-balance-response-class.js +15 -0
- package/dist/models/financial-account-class.d.ts +18 -1
- package/dist/models/financial-account-class.js +5 -1
- package/dist/models/financial-transaction-class.d.ts +6 -0
- package/dist/models/financial-transaction-data-dto.d.ts +7 -0
- package/dist/models/financial-transaction-data-dto.js +1 -0
- 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 +33 -1
- package/dist/models/index.js +33 -1
- 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/opening-balance-item-dto.d.ts +41 -0
- package/dist/models/opening-balance-item-dto.js +20 -0
- package/dist/models/personal-account-class.d.ts +6 -0
- package/dist/models/personal-account-range-class.d.ts +42 -0
- package/dist/models/personal-account-range-class.js +21 -0
- package/dist/models/personal-account-range-dto.d.ts +42 -0
- package/dist/models/personal-account-range-dto.js +21 -0
- package/dist/models/post-financial-event-request-dto.d.ts +45 -0
- package/dist/models/post-financial-event-request-dto.js +24 -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 +56 -0
- package/dist/models/product-account-mapping-detail-class.js +15 -0
- package/dist/models/product-risk-carrier-class.d.ts +42 -0
- package/dist/models/product-risk-carrier-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-risk-carrier-body-dto.d.ts +24 -0
- package/dist/models/put-product-risk-carrier-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 +6 -0
- package/models/account-mapping-class.ts +3 -1
- package/models/accounting-config-class.ts +14 -0
- package/models/accounting-config-data-class.ts +7 -0
- package/models/accounting-config-data-dto-default-account-mappings.ts +9 -1
- package/models/accounting-config-data-dto.ts +7 -0
- package/models/booking-entry-class.ts +35 -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 +24 -0
- package/models/create-financial-account-request-dto.ts +9 -1
- package/models/create-or-correct-opening-balance-dto.ts +31 -0
- package/models/create-or-correct-opening-balance-response-class.ts +31 -0
- package/models/financial-account-class.ts +19 -1
- package/models/financial-transaction-class.ts +6 -0
- package/models/financial-transaction-data-dto.ts +7 -0
- package/models/get-activation-snapshot-response-class.ts +31 -0
- package/models/index.ts +33 -1
- 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/opening-balance-item-dto.ts +50 -0
- package/models/personal-account-class.ts +6 -0
- package/models/personal-account-range-class.ts +51 -0
- package/models/personal-account-range-dto.ts +51 -0
- package/models/post-financial-event-request-dto.ts +54 -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 +62 -0
- package/models/product-risk-carrier-class.ts +48 -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-risk-carrier-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 +6 -0
- package/package.json +2 -2
- package/dist/models/get-subledger-settings-response-class.d.ts +0 -36
- package/models/get-subledger-settings-response-class.ts +0 -42
- /package/dist/models/{get-subledger-settings-response-class.js → commission-account-mapping-class.js} +0 -0
|
@@ -0,0 +1,42 @@
|
|
|
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 ProductVersionWithAccountMappingsClass
|
|
16
|
+
*/
|
|
17
|
+
export interface ProductVersionWithAccountMappingsClass {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ProductVersionWithAccountMappingsClass
|
|
22
|
+
*/
|
|
23
|
+
'productVersionCode': string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ProductVersionWithAccountMappingsClass
|
|
28
|
+
*/
|
|
29
|
+
'description': string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ProductVersionWithAccountMappingsClass
|
|
34
|
+
*/
|
|
35
|
+
'status': string;
|
|
36
|
+
/**
|
|
37
|
+
* True when this version has at least one product-version-level or premium-item-level override, computed via a bulk local badge lookup.
|
|
38
|
+
* @type {boolean}
|
|
39
|
+
* @memberof ProductVersionWithAccountMappingsClass
|
|
40
|
+
*/
|
|
41
|
+
'hasCustomMapping': boolean;
|
|
42
|
+
}
|
|
@@ -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,49 @@
|
|
|
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 { ProductVersionWithAccountMappingsClass } from './product-version-with-account-mappings-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ProductWithAccountMappingsClass
|
|
17
|
+
*/
|
|
18
|
+
export interface ProductWithAccountMappingsClass {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof ProductWithAccountMappingsClass
|
|
23
|
+
*/
|
|
24
|
+
'productCode': string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof ProductWithAccountMappingsClass
|
|
29
|
+
*/
|
|
30
|
+
'productSlug': string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof ProductWithAccountMappingsClass
|
|
35
|
+
*/
|
|
36
|
+
'productName': string;
|
|
37
|
+
/**
|
|
38
|
+
* Aggregate: true if the product itself, any version, or any premium item under any version is overridden.
|
|
39
|
+
* @type {boolean}
|
|
40
|
+
* @memberof ProductWithAccountMappingsClass
|
|
41
|
+
*/
|
|
42
|
+
'hasCustomMapping': boolean;
|
|
43
|
+
/**
|
|
44
|
+
* Every version of this product, regardless of status.
|
|
45
|
+
* @type {Array<ProductVersionWithAccountMappingsClass>}
|
|
46
|
+
* @memberof ProductWithAccountMappingsClass
|
|
47
|
+
*/
|
|
48
|
+
'versions': Array<ProductVersionWithAccountMappingsClass>;
|
|
49
|
+
}
|
|
@@ -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,24 @@
|
|
|
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 PutPremiumItemAccountBodyDto
|
|
16
|
+
*/
|
|
17
|
+
export interface PutPremiumItemAccountBodyDto {
|
|
18
|
+
/**
|
|
19
|
+
* Code of the financial account to use. Must belong to the category named in this request\'s path.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof PutPremiumItemAccountBodyDto
|
|
22
|
+
*/
|
|
23
|
+
'financialAccountCode': string;
|
|
24
|
+
}
|
|
@@ -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,24 @@
|
|
|
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 PutProductCategoryAccountBodyDto
|
|
16
|
+
*/
|
|
17
|
+
export interface PutProductCategoryAccountBodyDto {
|
|
18
|
+
/**
|
|
19
|
+
* Code of the financial account to use as the override. Must belong to the category named in this request\'s path.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof PutProductCategoryAccountBodyDto
|
|
22
|
+
*/
|
|
23
|
+
'financialAccountCode': string;
|
|
24
|
+
}
|
|
@@ -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,24 @@
|
|
|
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 PutProductRiskCarrierBodyDto
|
|
16
|
+
*/
|
|
17
|
+
export interface PutProductRiskCarrierBodyDto {
|
|
18
|
+
/**
|
|
19
|
+
* The risk carrier that reimburses this product’s claim payouts. Setting it books the product’s claim cost against the carrier receivable account; delete the mapping to book claim expense instead.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof PutProductRiskCarrierBodyDto
|
|
22
|
+
*/
|
|
23
|
+
'partnerCode': string;
|
|
24
|
+
}
|
|
@@ -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,24 @@
|
|
|
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 PutProductVersionCategoryAccountBodyDto
|
|
16
|
+
*/
|
|
17
|
+
export interface PutProductVersionCategoryAccountBodyDto {
|
|
18
|
+
/**
|
|
19
|
+
* Code of the financial account to use as the override. Must belong to the category named in this request\'s path.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof PutProductVersionCategoryAccountBodyDto
|
|
22
|
+
*/
|
|
23
|
+
'financialAccountCode': string;
|
|
24
|
+
}
|
|
@@ -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,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 { FinancialAccountClass } from './financial-account-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ResolvedAccountMappingClass
|
|
17
|
+
*/
|
|
18
|
+
export interface ResolvedAccountMappingClass {
|
|
19
|
+
/**
|
|
20
|
+
* The linked account\'s current state, read live.
|
|
21
|
+
* @type {FinancialAccountClass}
|
|
22
|
+
* @memberof ResolvedAccountMappingClass
|
|
23
|
+
*/
|
|
24
|
+
'financialAccount': FinancialAccountClass;
|
|
25
|
+
/**
|
|
26
|
+
* Which level of the cascade produced this value: CATEGORY_DEFAULT, PRODUCT, PRODUCT_VERSION, or PREMIUM_ITEM. Audit/debug only.
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof ResolvedAccountMappingClass
|
|
29
|
+
*/
|
|
30
|
+
'source': 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,37 @@
|
|
|
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 { FinancialAccountClass } from './financial-account-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ResolvedCommissionAccountMappingClass
|
|
17
|
+
*/
|
|
18
|
+
export interface ResolvedCommissionAccountMappingClass {
|
|
19
|
+
/**
|
|
20
|
+
* The linked account\'s current state, read live.
|
|
21
|
+
* @type {FinancialAccountClass}
|
|
22
|
+
* @memberof ResolvedCommissionAccountMappingClass
|
|
23
|
+
*/
|
|
24
|
+
'financialAccount': FinancialAccountClass;
|
|
25
|
+
/**
|
|
26
|
+
* Which level of the cascade produced this value.
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof ResolvedCommissionAccountMappingClass
|
|
29
|
+
*/
|
|
30
|
+
'source': ResolvedCommissionAccountMappingClassSourceEnum;
|
|
31
|
+
}
|
|
32
|
+
export declare const ResolvedCommissionAccountMappingClassSourceEnum: {
|
|
33
|
+
readonly CategoryDefault: "CATEGORY_DEFAULT";
|
|
34
|
+
readonly Type: "TYPE";
|
|
35
|
+
readonly Agreement: "AGREEMENT";
|
|
36
|
+
};
|
|
37
|
+
export type ResolvedCommissionAccountMappingClassSourceEnum = typeof ResolvedCommissionAccountMappingClassSourceEnum[keyof typeof ResolvedCommissionAccountMappingClassSourceEnum];
|
|
@@ -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.ResolvedCommissionAccountMappingClassSourceEnum = void 0;
|
|
17
|
+
exports.ResolvedCommissionAccountMappingClassSourceEnum = {
|
|
18
|
+
CategoryDefault: 'CATEGORY_DEFAULT',
|
|
19
|
+
Type: 'TYPE',
|
|
20
|
+
Agreement: 'AGREEMENT'
|
|
21
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
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 UpdateCommissionAgreementAccountBodyDto
|
|
16
|
+
*/
|
|
17
|
+
export interface UpdateCommissionAgreementAccountBodyDto {
|
|
18
|
+
/**
|
|
19
|
+
* Code of the financial account to use as this override. Must belong to the REVENUE_FINAL_ACC category (MVP scope).
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof UpdateCommissionAgreementAccountBodyDto
|
|
22
|
+
*/
|
|
23
|
+
'financialAccountCode': string;
|
|
24
|
+
}
|
|
@@ -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,24 @@
|
|
|
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 UpdateCommissionTypeAccountBodyDto
|
|
16
|
+
*/
|
|
17
|
+
export interface UpdateCommissionTypeAccountBodyDto {
|
|
18
|
+
/**
|
|
19
|
+
* Code of the financial account to use as the default. Must belong to the REVENUE_FINAL_ACC category.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof UpdateCommissionTypeAccountBodyDto
|
|
22
|
+
*/
|
|
23
|
+
'financialAccountCode': string;
|
|
24
|
+
}
|
|
@@ -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 });
|
|
@@ -39,4 +39,10 @@ export interface UpdateFinancialAccountBodyDto {
|
|
|
39
39
|
* @memberof UpdateFinancialAccountBodyDto
|
|
40
40
|
*/
|
|
41
41
|
'isDefault'?: boolean;
|
|
42
|
+
/**
|
|
43
|
+
* The connected bank account this account books, given as its code. Send an empty string to unlink; omit the field to leave the current link untouched. Permitted only on bank_acc accounts, and rejected if another financial account already links that bank account. Editable at any time, including once the account is locked — changes apply to later postings only and never rewrite existing ones.
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof UpdateFinancialAccountBodyDto
|
|
46
|
+
*/
|
|
47
|
+
'linkedBankAccountCode'?: string;
|
|
42
48
|
}
|
|
@@ -72,7 +72,9 @@ export const AccountMappingClassFunctionalCategoryEnum = {
|
|
|
72
72
|
ReceivablesCtrlAcc: 'receivables_ctrl_acc',
|
|
73
73
|
BrokerCtrlAcc: 'broker_ctrl_acc',
|
|
74
74
|
CarrierCtrlAcc: 'carrier_ctrl_acc',
|
|
75
|
-
MainLedgerBridgeAcc: 'main_ledger_bridge_acc'
|
|
75
|
+
MainLedgerBridgeAcc: 'main_ledger_bridge_acc',
|
|
76
|
+
ClaimsPayableAcc: 'claims_payable_acc',
|
|
77
|
+
CarrierReceivableAcc: 'carrier_receivable_acc'
|
|
76
78
|
} as const;
|
|
77
79
|
|
|
78
80
|
export type AccountMappingClassFunctionalCategoryEnum = typeof AccountMappingClassFunctionalCategoryEnum[keyof typeof AccountMappingClassFunctionalCategoryEnum];
|
|
@@ -39,6 +39,12 @@ export interface AccountingConfigClass {
|
|
|
39
39
|
* @memberof AccountingConfigClass
|
|
40
40
|
*/
|
|
41
41
|
'config'?: AccountingConfigDataClass;
|
|
42
|
+
/**
|
|
43
|
+
* Enablement status of the subledger config: \'pending\' while accounts and opening balances are still being provisioned asynchronously, \'complete\' once that work has finished.
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof AccountingConfigClass
|
|
46
|
+
*/
|
|
47
|
+
'enablementStatus': AccountingConfigClassEnablementStatusEnum;
|
|
42
48
|
/**
|
|
43
49
|
* Product slug this config is scoped to; absent for the tenant default config.
|
|
44
50
|
* @type {string}
|
|
@@ -71,3 +77,11 @@ export interface AccountingConfigClass {
|
|
|
71
77
|
'updatedAt': string;
|
|
72
78
|
}
|
|
73
79
|
|
|
80
|
+
export const AccountingConfigClassEnablementStatusEnum = {
|
|
81
|
+
Pending: 'pending',
|
|
82
|
+
Complete: 'complete'
|
|
83
|
+
} as const;
|
|
84
|
+
|
|
85
|
+
export type AccountingConfigClassEnablementStatusEnum = typeof AccountingConfigClassEnablementStatusEnum[keyof typeof AccountingConfigClassEnablementStatusEnum];
|
|
86
|
+
|
|
87
|
+
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
|
|
16
16
|
import { AccountMappingClass } from './account-mapping-class';
|
|
17
17
|
import { AccountingConfigurationClass } from './accounting-configuration-class';
|
|
18
|
+
import { PersonalAccountRangeClass } from './personal-account-range-class';
|
|
18
19
|
|
|
19
20
|
/**
|
|
20
21
|
*
|
|
@@ -40,5 +41,11 @@ export interface AccountingConfigDataClass {
|
|
|
40
41
|
* @memberof AccountingConfigDataClass
|
|
41
42
|
*/
|
|
42
43
|
'accountingConfiguration'?: AccountingConfigurationClass;
|
|
44
|
+
/**
|
|
45
|
+
* The personal account number ranges, one per partner group
|
|
46
|
+
* @type {Array<PersonalAccountRangeClass>}
|
|
47
|
+
* @memberof AccountingConfigDataClass
|
|
48
|
+
*/
|
|
49
|
+
'personalAccountRanges'?: Array<PersonalAccountRangeClass>;
|
|
43
50
|
}
|
|
44
51
|
|
|
@@ -50,6 +50,12 @@ export interface AccountingConfigDataDtoDefaultAccountMappings {
|
|
|
50
50
|
* @memberof AccountingConfigDataDtoDefaultAccountMappings
|
|
51
51
|
*/
|
|
52
52
|
'debitOpeningAmountInCents': number;
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof AccountingConfigDataDtoDefaultAccountMappings
|
|
57
|
+
*/
|
|
58
|
+
'bankAccountCode'?: string;
|
|
53
59
|
}
|
|
54
60
|
|
|
55
61
|
export const AccountingConfigDataDtoDefaultAccountMappingsFunctionalCategoryEnum = {
|
|
@@ -72,7 +78,9 @@ export const AccountingConfigDataDtoDefaultAccountMappingsFunctionalCategoryEnum
|
|
|
72
78
|
ReceivablesCtrlAcc: 'receivables_ctrl_acc',
|
|
73
79
|
BrokerCtrlAcc: 'broker_ctrl_acc',
|
|
74
80
|
CarrierCtrlAcc: 'carrier_ctrl_acc',
|
|
75
|
-
MainLedgerBridgeAcc: 'main_ledger_bridge_acc'
|
|
81
|
+
MainLedgerBridgeAcc: 'main_ledger_bridge_acc',
|
|
82
|
+
ClaimsPayableAcc: 'claims_payable_acc',
|
|
83
|
+
CarrierReceivableAcc: 'carrier_receivable_acc'
|
|
76
84
|
} as const;
|
|
77
85
|
|
|
78
86
|
export type AccountingConfigDataDtoDefaultAccountMappingsFunctionalCategoryEnum = typeof AccountingConfigDataDtoDefaultAccountMappingsFunctionalCategoryEnum[keyof typeof AccountingConfigDataDtoDefaultAccountMappingsFunctionalCategoryEnum];
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
|
|
16
16
|
import { AccountingConfigDataDtoAccountingConfiguration } from './accounting-config-data-dto-accounting-configuration';
|
|
17
17
|
import { AccountingConfigDataDtoDefaultAccountMappings } from './accounting-config-data-dto-default-account-mappings';
|
|
18
|
+
import { PersonalAccountRangeDto } from './personal-account-range-dto';
|
|
18
19
|
|
|
19
20
|
/**
|
|
20
21
|
*
|
|
@@ -40,5 +41,11 @@ export interface AccountingConfigDataDto {
|
|
|
40
41
|
* @memberof AccountingConfigDataDto
|
|
41
42
|
*/
|
|
42
43
|
'accountingConfiguration'?: AccountingConfigDataDtoAccountingConfiguration;
|
|
44
|
+
/**
|
|
45
|
+
* The personal account number ranges: exactly one each for policyholder, risk_carrier and broker
|
|
46
|
+
* @type {Array<PersonalAccountRangeDto>}
|
|
47
|
+
* @memberof AccountingConfigDataDto
|
|
48
|
+
*/
|
|
49
|
+
'personalAccountRanges': Array<PersonalAccountRangeDto>;
|
|
43
50
|
}
|
|
44
51
|
|
|
@@ -81,6 +81,30 @@ 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. Absent on an entry posted by hand (sourceEntityType manual) and on a legacy entry.
|
|
86
|
+
* @type {string}
|
|
87
|
+
* @memberof BookingEntryClass
|
|
88
|
+
*/
|
|
89
|
+
'sourceEntityCode'?: string;
|
|
90
|
+
/**
|
|
91
|
+
* The kind of source entity this entry was posted for: manual for an entry posted by hand, which carries no sourceEntityCode. Absent only on a legacy entry.
|
|
92
|
+
* @type {string}
|
|
93
|
+
* @memberof BookingEntryClass
|
|
94
|
+
*/
|
|
95
|
+
'sourceEntityType'?: BookingEntryClassSourceEntityTypeEnum;
|
|
96
|
+
/**
|
|
97
|
+
* The code of the entry this entry reverses. Absent on an entry that is not a reversal.
|
|
98
|
+
* @type {string}
|
|
99
|
+
* @memberof BookingEntryClass
|
|
100
|
+
*/
|
|
101
|
+
'reversalOfCode'?: string;
|
|
102
|
+
/**
|
|
103
|
+
* True once the entry has been reversed in full. Its reversal names it in reversalOfCode.
|
|
104
|
+
* @type {boolean}
|
|
105
|
+
* @memberof BookingEntryClass
|
|
106
|
+
*/
|
|
107
|
+
'isReversed'?: boolean;
|
|
84
108
|
/**
|
|
85
109
|
* A list of financial transactions associated with this booking entry. Each entry represents a transaction linked to the current booking.
|
|
86
110
|
* @type {Array<FinancialTransactionClass>}
|
|
@@ -128,5 +152,16 @@ export const BookingEntryClassCurrencyEnum = {
|
|
|
128
152
|
} as const;
|
|
129
153
|
|
|
130
154
|
export type BookingEntryClassCurrencyEnum = typeof BookingEntryClassCurrencyEnum[keyof typeof BookingEntryClassCurrencyEnum];
|
|
155
|
+
export const BookingEntryClassSourceEntityTypeEnum = {
|
|
156
|
+
Invoice: 'invoice',
|
|
157
|
+
Payment: 'payment',
|
|
158
|
+
Credit: 'credit',
|
|
159
|
+
CreditAllocation: 'credit_allocation',
|
|
160
|
+
ClaimRegulation: 'claim_regulation',
|
|
161
|
+
Commission: 'commission',
|
|
162
|
+
Manual: 'manual'
|
|
163
|
+
} as const;
|
|
164
|
+
|
|
165
|
+
export type BookingEntryClassSourceEntityTypeEnum = typeof BookingEntryClassSourceEntityTypeEnum[keyof typeof BookingEntryClassSourceEntityTypeEnum];
|
|
131
166
|
|
|
132
167
|
|