@emilgroup/insurance-sdk-node 1.93.1-beta.25 → 1.93.1-beta.26
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 +4 -0
- package/README.md +2 -2
- package/dist/models/category-calculation-order-class.d.ts +25 -0
- package/dist/models/category-calculation-order-class.js +15 -0
- package/dist/models/category-calculation-step-class.d.ts +58 -0
- package/dist/models/category-calculation-step-class.js +24 -0
- package/dist/models/category-class.d.ts +7 -0
- package/dist/models/coverage-term-class.d.ts +12 -0
- package/dist/models/coverage-term-class.js +6 -1
- package/dist/models/general-setting-class.d.ts +0 -7
- package/dist/models/index.d.ts +4 -0
- package/dist/models/index.js +4 -0
- package/dist/models/shared-tariff-variation-class.d.ts +14 -0
- package/dist/models/tariff-calculation-order-class.d.ts +36 -0
- package/dist/models/tariff-calculation-order-class.js +20 -0
- package/dist/models/tariff-calculation-step-class.d.ts +58 -0
- package/dist/models/tariff-calculation-step-class.js +24 -0
- package/dist/models/tariff-category-summary-class.d.ts +7 -0
- package/dist/models/tariff-coverage-term-class.d.ts +7 -19
- package/dist/models/tariff-coverage-term-class.js +5 -5
- package/dist/models/tariff-summary-class.d.ts +7 -0
- package/models/category-calculation-order-class.ts +31 -0
- package/models/category-calculation-step-class.ts +68 -0
- package/models/category-class.ts +7 -0
- package/models/coverage-term-class.ts +13 -0
- package/models/general-setting-class.ts +0 -7
- package/models/index.ts +4 -0
- package/models/shared-tariff-variation-class.ts +14 -0
- package/models/tariff-calculation-order-class.ts +45 -0
- package/models/tariff-calculation-step-class.ts +68 -0
- package/models/tariff-category-summary-class.ts +7 -0
- package/models/tariff-coverage-term-class.ts +7 -19
- package/models/tariff-summary-class.ts +7 -0
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -46,6 +46,8 @@ models/calculated-policy-object-class.ts
|
|
|
46
46
|
models/calculation-errors-class.ts
|
|
47
47
|
models/calculation-item-errors-class.ts
|
|
48
48
|
models/calculation-message-class.ts
|
|
49
|
+
models/category-calculation-order-class.ts
|
|
50
|
+
models/category-calculation-step-class.ts
|
|
49
51
|
models/category-class.ts
|
|
50
52
|
models/category-coverage-summary-class.ts
|
|
51
53
|
models/category-definition-class.ts
|
|
@@ -279,6 +281,8 @@ models/suspend-policy-response-class.ts
|
|
|
279
281
|
models/swap-premium-formulas-order-request-dto.ts
|
|
280
282
|
models/swap-product-fields-order-request-dto.ts
|
|
281
283
|
models/tag-class.ts
|
|
284
|
+
models/tariff-calculation-order-class.ts
|
|
285
|
+
models/tariff-calculation-step-class.ts
|
|
282
286
|
models/tariff-category-summary-class.ts
|
|
283
287
|
models/tariff-coverage-term-class.ts
|
|
284
288
|
models/tariff-summary-class.ts
|
package/README.md
CHANGED
|
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
|
|
|
17
17
|
Navigate to the folder of your consuming project and run one of the following commands:
|
|
18
18
|
|
|
19
19
|
```
|
|
20
|
-
npm install @emilgroup/insurance-sdk-node@1.93.1-beta.
|
|
20
|
+
npm install @emilgroup/insurance-sdk-node@1.93.1-beta.26 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/insurance-sdk-node@1.93.1-beta.
|
|
24
|
+
yarn add @emilgroup/insurance-sdk-node@1.93.1-beta.26
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `PoliciesApi`.
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL InsuranceService
|
|
3
|
+
* The EMIL InsuranceService 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 { CategoryCalculationStepClass } from './category-calculation-step-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface CategoryCalculationOrderClass
|
|
17
|
+
*/
|
|
18
|
+
export interface CategoryCalculationOrderClass {
|
|
19
|
+
/**
|
|
20
|
+
* Ordered list of category calculation steps
|
|
21
|
+
* @type {Array<CategoryCalculationStepClass>}
|
|
22
|
+
* @memberof CategoryCalculationOrderClass
|
|
23
|
+
*/
|
|
24
|
+
'steps': Array<CategoryCalculationStepClass>;
|
|
25
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL InsuranceService
|
|
6
|
+
* The EMIL InsuranceService 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,58 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL InsuranceService
|
|
3
|
+
* The EMIL InsuranceService 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 CategoryCalculationStepClass
|
|
16
|
+
*/
|
|
17
|
+
export interface CategoryCalculationStepClass {
|
|
18
|
+
/**
|
|
19
|
+
* Unique key for the calculation step
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CategoryCalculationStepClass
|
|
22
|
+
*/
|
|
23
|
+
'key': string;
|
|
24
|
+
/**
|
|
25
|
+
* Execution order index for this step
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof CategoryCalculationStepClass
|
|
28
|
+
*/
|
|
29
|
+
'order': number;
|
|
30
|
+
/**
|
|
31
|
+
* The level where this step applies
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof CategoryCalculationStepClass
|
|
34
|
+
*/
|
|
35
|
+
'appliesTo': CategoryCalculationStepClassAppliesToEnum;
|
|
36
|
+
/**
|
|
37
|
+
* Deductible key used when scope is deductible
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof CategoryCalculationStepClass
|
|
40
|
+
*/
|
|
41
|
+
'deductibleKey'?: string;
|
|
42
|
+
/**
|
|
43
|
+
* Category calculation step type
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof CategoryCalculationStepClass
|
|
46
|
+
*/
|
|
47
|
+
'type': CategoryCalculationStepClassTypeEnum;
|
|
48
|
+
}
|
|
49
|
+
export declare const CategoryCalculationStepClassAppliesToEnum: {
|
|
50
|
+
readonly Position: "position";
|
|
51
|
+
};
|
|
52
|
+
export type CategoryCalculationStepClassAppliesToEnum = typeof CategoryCalculationStepClassAppliesToEnum[keyof typeof CategoryCalculationStepClassAppliesToEnum];
|
|
53
|
+
export declare const CategoryCalculationStepClassTypeEnum: {
|
|
54
|
+
readonly Coverage: "coverage";
|
|
55
|
+
readonly Deductible: "deductible";
|
|
56
|
+
readonly ManualAdjustment: "manualAdjustment";
|
|
57
|
+
};
|
|
58
|
+
export type CategoryCalculationStepClassTypeEnum = typeof CategoryCalculationStepClassTypeEnum[keyof typeof CategoryCalculationStepClassTypeEnum];
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL InsuranceService
|
|
6
|
+
* The EMIL InsuranceService 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.CategoryCalculationStepClassTypeEnum = exports.CategoryCalculationStepClassAppliesToEnum = void 0;
|
|
17
|
+
exports.CategoryCalculationStepClassAppliesToEnum = {
|
|
18
|
+
Position: 'position'
|
|
19
|
+
};
|
|
20
|
+
exports.CategoryCalculationStepClassTypeEnum = {
|
|
21
|
+
Coverage: 'coverage',
|
|
22
|
+
Deductible: 'deductible',
|
|
23
|
+
ManualAdjustment: 'manualAdjustment'
|
|
24
|
+
};
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { CategoryCalculationOrderClass } from './category-calculation-order-class';
|
|
12
13
|
import { CoverageClass } from './coverage-class';
|
|
13
14
|
import { CoverageTermClass } from './coverage-term-class';
|
|
14
15
|
import { DeductibleClass } from './deductible-class';
|
|
@@ -42,4 +43,10 @@ export interface CategoryClass {
|
|
|
42
43
|
* @memberof CategoryClass
|
|
43
44
|
*/
|
|
44
45
|
'deductibles': Array<DeductibleClass>;
|
|
46
|
+
/**
|
|
47
|
+
* Category calculation order configuration
|
|
48
|
+
* @type {CategoryCalculationOrderClass}
|
|
49
|
+
* @memberof CategoryClass
|
|
50
|
+
*/
|
|
51
|
+
'calculationOrder': CategoryCalculationOrderClass;
|
|
45
52
|
}
|
|
@@ -40,6 +40,12 @@ export interface CoverageTermClass {
|
|
|
40
40
|
* @memberof CoverageTermClass
|
|
41
41
|
*/
|
|
42
42
|
'value': AmountWithLimitClass;
|
|
43
|
+
/**
|
|
44
|
+
* Method for calculating coverage proration
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof CoverageTermClass
|
|
47
|
+
*/
|
|
48
|
+
'proRata': CoverageTermClassProRataEnum;
|
|
43
49
|
}
|
|
44
50
|
export declare const CoverageTermClassTypeEnum: {
|
|
45
51
|
readonly Fixed: "fixed";
|
|
@@ -52,3 +58,9 @@ export declare const CoverageTermClassPeriodEnum: {
|
|
|
52
58
|
readonly PerClaim: "PER_CLAIM";
|
|
53
59
|
};
|
|
54
60
|
export type CoverageTermClassPeriodEnum = typeof CoverageTermClassPeriodEnum[keyof typeof CoverageTermClassPeriodEnum];
|
|
61
|
+
export declare const CoverageTermClassProRataEnum: {
|
|
62
|
+
readonly Disabled: "DISABLED";
|
|
63
|
+
readonly Enabled: "ENABLED";
|
|
64
|
+
readonly EnabledAfterWaitingPeriod: "ENABLED_AFTER_WAITING_PERIOD";
|
|
65
|
+
};
|
|
66
|
+
export type CoverageTermClassProRataEnum = typeof CoverageTermClassProRataEnum[keyof typeof CoverageTermClassProRataEnum];
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.CoverageTermClassPeriodEnum = exports.CoverageTermClassTypeEnum = void 0;
|
|
16
|
+
exports.CoverageTermClassProRataEnum = exports.CoverageTermClassPeriodEnum = exports.CoverageTermClassTypeEnum = void 0;
|
|
17
17
|
exports.CoverageTermClassTypeEnum = {
|
|
18
18
|
Fixed: 'fixed',
|
|
19
19
|
Percent: 'percent'
|
|
@@ -23,3 +23,8 @@ exports.CoverageTermClassPeriodEnum = {
|
|
|
23
23
|
PolicyYear: 'POLICY_YEAR',
|
|
24
24
|
PerClaim: 'PER_CLAIM'
|
|
25
25
|
};
|
|
26
|
+
exports.CoverageTermClassProRataEnum = {
|
|
27
|
+
Disabled: 'DISABLED',
|
|
28
|
+
Enabled: 'ENABLED',
|
|
29
|
+
EnabledAfterWaitingPeriod: 'ENABLED_AFTER_WAITING_PERIOD'
|
|
30
|
+
};
|
|
@@ -9,7 +9,6 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { WaitingPeriodClass } from './waiting-period-class';
|
|
13
12
|
/**
|
|
14
13
|
*
|
|
15
14
|
* @export
|
|
@@ -28,12 +27,6 @@ export interface GeneralSettingClass {
|
|
|
28
27
|
* @memberof GeneralSettingClass
|
|
29
28
|
*/
|
|
30
29
|
'currency': GeneralSettingClassCurrencyEnum;
|
|
31
|
-
/**
|
|
32
|
-
* Waiting period before coverage applies
|
|
33
|
-
* @type {WaitingPeriodClass}
|
|
34
|
-
* @memberof GeneralSettingClass
|
|
35
|
-
*/
|
|
36
|
-
'waitingPeriod': WaitingPeriodClass;
|
|
37
30
|
}
|
|
38
31
|
export declare const GeneralSettingClassSettlementTypeEnum: {
|
|
39
32
|
readonly CompleteClaim: "COMPLETE_CLAIM";
|
package/dist/models/index.d.ts
CHANGED
|
@@ -11,6 +11,8 @@ export * from './calculated-policy-object-class';
|
|
|
11
11
|
export * from './calculation-errors-class';
|
|
12
12
|
export * from './calculation-item-errors-class';
|
|
13
13
|
export * from './calculation-message-class';
|
|
14
|
+
export * from './category-calculation-order-class';
|
|
15
|
+
export * from './category-calculation-step-class';
|
|
14
16
|
export * from './category-class';
|
|
15
17
|
export * from './category-coverage-summary-class';
|
|
16
18
|
export * from './category-definition-class';
|
|
@@ -243,6 +245,8 @@ export * from './suspend-policy-response-class';
|
|
|
243
245
|
export * from './swap-premium-formulas-order-request-dto';
|
|
244
246
|
export * from './swap-product-fields-order-request-dto';
|
|
245
247
|
export * from './tag-class';
|
|
248
|
+
export * from './tariff-calculation-order-class';
|
|
249
|
+
export * from './tariff-calculation-step-class';
|
|
246
250
|
export * from './tariff-category-summary-class';
|
|
247
251
|
export * from './tariff-coverage-term-class';
|
|
248
252
|
export * from './tariff-summary-class';
|
package/dist/models/index.js
CHANGED
|
@@ -27,6 +27,8 @@ __exportStar(require("./calculated-policy-object-class"), exports);
|
|
|
27
27
|
__exportStar(require("./calculation-errors-class"), exports);
|
|
28
28
|
__exportStar(require("./calculation-item-errors-class"), exports);
|
|
29
29
|
__exportStar(require("./calculation-message-class"), exports);
|
|
30
|
+
__exportStar(require("./category-calculation-order-class"), exports);
|
|
31
|
+
__exportStar(require("./category-calculation-step-class"), exports);
|
|
30
32
|
__exportStar(require("./category-class"), exports);
|
|
31
33
|
__exportStar(require("./category-coverage-summary-class"), exports);
|
|
32
34
|
__exportStar(require("./category-definition-class"), exports);
|
|
@@ -259,6 +261,8 @@ __exportStar(require("./suspend-policy-response-class"), exports);
|
|
|
259
261
|
__exportStar(require("./swap-premium-formulas-order-request-dto"), exports);
|
|
260
262
|
__exportStar(require("./swap-product-fields-order-request-dto"), exports);
|
|
261
263
|
__exportStar(require("./tag-class"), exports);
|
|
264
|
+
__exportStar(require("./tariff-calculation-order-class"), exports);
|
|
265
|
+
__exportStar(require("./tariff-calculation-step-class"), exports);
|
|
262
266
|
__exportStar(require("./tariff-category-summary-class"), exports);
|
|
263
267
|
__exportStar(require("./tariff-coverage-term-class"), exports);
|
|
264
268
|
__exportStar(require("./tariff-summary-class"), exports);
|
|
@@ -12,7 +12,9 @@
|
|
|
12
12
|
import { CategoryClass } from './category-class';
|
|
13
13
|
import { DeductibleClass } from './deductible-class';
|
|
14
14
|
import { SharedProductFieldOverrideClass } from './shared-product-field-override-class';
|
|
15
|
+
import { TariffCalculationOrderClass } from './tariff-calculation-order-class';
|
|
15
16
|
import { TariffCoverageTermClass } from './tariff-coverage-term-class';
|
|
17
|
+
import { WaitingPeriodClass } from './waiting-period-class';
|
|
16
18
|
/**
|
|
17
19
|
*
|
|
18
20
|
* @export
|
|
@@ -61,4 +63,16 @@ export interface SharedTariffVariationClass {
|
|
|
61
63
|
* @memberof SharedTariffVariationClass
|
|
62
64
|
*/
|
|
63
65
|
'productFieldOverrides': Array<SharedProductFieldOverrideClass>;
|
|
66
|
+
/**
|
|
67
|
+
* Tariff calculation order configuration
|
|
68
|
+
* @type {TariffCalculationOrderClass}
|
|
69
|
+
* @memberof SharedTariffVariationClass
|
|
70
|
+
*/
|
|
71
|
+
'calculationOrder': TariffCalculationOrderClass;
|
|
72
|
+
/**
|
|
73
|
+
* Waiting period before tariff coverage applies
|
|
74
|
+
* @type {WaitingPeriodClass}
|
|
75
|
+
* @memberof SharedTariffVariationClass
|
|
76
|
+
*/
|
|
77
|
+
'waitingPeriod': WaitingPeriodClass;
|
|
64
78
|
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL InsuranceService
|
|
3
|
+
* The EMIL InsuranceService 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 { TariffCalculationStepClass } from './tariff-calculation-step-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface TariffCalculationOrderClass
|
|
17
|
+
*/
|
|
18
|
+
export interface TariffCalculationOrderClass {
|
|
19
|
+
/**
|
|
20
|
+
* Ordered list of tariff calculation steps
|
|
21
|
+
* @type {Array<TariffCalculationStepClass>}
|
|
22
|
+
* @memberof TariffCalculationOrderClass
|
|
23
|
+
*/
|
|
24
|
+
'steps': Array<TariffCalculationStepClass>;
|
|
25
|
+
/**
|
|
26
|
+
* Defines when tariff steps run relative to category steps
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof TariffCalculationOrderClass
|
|
29
|
+
*/
|
|
30
|
+
'tariffExecutionOrder': TariffCalculationOrderClassTariffExecutionOrderEnum;
|
|
31
|
+
}
|
|
32
|
+
export declare const TariffCalculationOrderClassTariffExecutionOrderEnum: {
|
|
33
|
+
readonly BeforeCategory: "BEFORE_CATEGORY";
|
|
34
|
+
readonly AfterCategory: "AFTER_CATEGORY";
|
|
35
|
+
};
|
|
36
|
+
export type TariffCalculationOrderClassTariffExecutionOrderEnum = typeof TariffCalculationOrderClassTariffExecutionOrderEnum[keyof typeof TariffCalculationOrderClassTariffExecutionOrderEnum];
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL InsuranceService
|
|
6
|
+
* The EMIL InsuranceService 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.TariffCalculationOrderClassTariffExecutionOrderEnum = void 0;
|
|
17
|
+
exports.TariffCalculationOrderClassTariffExecutionOrderEnum = {
|
|
18
|
+
BeforeCategory: 'BEFORE_CATEGORY',
|
|
19
|
+
AfterCategory: 'AFTER_CATEGORY'
|
|
20
|
+
};
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL InsuranceService
|
|
3
|
+
* The EMIL InsuranceService 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 TariffCalculationStepClass
|
|
16
|
+
*/
|
|
17
|
+
export interface TariffCalculationStepClass {
|
|
18
|
+
/**
|
|
19
|
+
* Unique key for the calculation step
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof TariffCalculationStepClass
|
|
22
|
+
*/
|
|
23
|
+
'key': string;
|
|
24
|
+
/**
|
|
25
|
+
* Execution order index for this step
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof TariffCalculationStepClass
|
|
28
|
+
*/
|
|
29
|
+
'order': number;
|
|
30
|
+
/**
|
|
31
|
+
* The level where this step applies
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof TariffCalculationStepClass
|
|
34
|
+
*/
|
|
35
|
+
'appliesTo': TariffCalculationStepClassAppliesToEnum;
|
|
36
|
+
/**
|
|
37
|
+
* Deductible key used when scope is deductible
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof TariffCalculationStepClass
|
|
40
|
+
*/
|
|
41
|
+
'deductibleKey'?: string;
|
|
42
|
+
/**
|
|
43
|
+
* Tariff calculation step type
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof TariffCalculationStepClass
|
|
46
|
+
*/
|
|
47
|
+
'type': TariffCalculationStepClassTypeEnum;
|
|
48
|
+
}
|
|
49
|
+
export declare const TariffCalculationStepClassAppliesToEnum: {
|
|
50
|
+
readonly Position: "position";
|
|
51
|
+
};
|
|
52
|
+
export type TariffCalculationStepClassAppliesToEnum = typeof TariffCalculationStepClassAppliesToEnum[keyof typeof TariffCalculationStepClassAppliesToEnum];
|
|
53
|
+
export declare const TariffCalculationStepClassTypeEnum: {
|
|
54
|
+
readonly Coverage: "coverage";
|
|
55
|
+
readonly Deductible: "deductible";
|
|
56
|
+
readonly ManualAdjustment: "manualAdjustment";
|
|
57
|
+
};
|
|
58
|
+
export type TariffCalculationStepClassTypeEnum = typeof TariffCalculationStepClassTypeEnum[keyof typeof TariffCalculationStepClassTypeEnum];
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL InsuranceService
|
|
6
|
+
* The EMIL InsuranceService 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.TariffCalculationStepClassTypeEnum = exports.TariffCalculationStepClassAppliesToEnum = void 0;
|
|
17
|
+
exports.TariffCalculationStepClassAppliesToEnum = {
|
|
18
|
+
Position: 'position'
|
|
19
|
+
};
|
|
20
|
+
exports.TariffCalculationStepClassTypeEnum = {
|
|
21
|
+
Coverage: 'coverage',
|
|
22
|
+
Deductible: 'deductible',
|
|
23
|
+
ManualAdjustment: 'manualAdjustment'
|
|
24
|
+
};
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import { CategoryCoverageSummaryClass } from './category-coverage-summary-class';
|
|
13
13
|
import { CoverageTermClass } from './coverage-term-class';
|
|
14
|
+
import { DeductibleClass } from './deductible-class';
|
|
14
15
|
/**
|
|
15
16
|
*
|
|
16
17
|
* @export
|
|
@@ -47,4 +48,10 @@ export interface TariffCategorySummaryClass {
|
|
|
47
48
|
* @memberof TariffCategorySummaryClass
|
|
48
49
|
*/
|
|
49
50
|
'coverages': Array<CategoryCoverageSummaryClass>;
|
|
51
|
+
/**
|
|
52
|
+
* List of category deductibles
|
|
53
|
+
* @type {Array<DeductibleClass>}
|
|
54
|
+
* @memberof TariffCategorySummaryClass
|
|
55
|
+
*/
|
|
56
|
+
'deductibles': Array<DeductibleClass>;
|
|
50
57
|
}
|
|
@@ -35,23 +35,11 @@ export interface TariffCoverageTermClass {
|
|
|
35
35
|
*/
|
|
36
36
|
'value': AmountWithLimitClass;
|
|
37
37
|
/**
|
|
38
|
-
* Method for calculating coverage
|
|
38
|
+
* Method for calculating coverage proration
|
|
39
39
|
* @type {string}
|
|
40
40
|
* @memberof TariffCoverageTermClass
|
|
41
41
|
*/
|
|
42
|
-
'
|
|
43
|
-
/**
|
|
44
|
-
* Maximum percentage for manual coverage term adjustment (0.0 to 1.0, e.g., 0.5 = 50%)
|
|
45
|
-
* @type {number}
|
|
46
|
-
* @memberof TariffCoverageTermClass
|
|
47
|
-
*/
|
|
48
|
-
'maxAdjustmentPercentage': number;
|
|
49
|
-
/**
|
|
50
|
-
* Whether manual coverage term adjustment is permitted
|
|
51
|
-
* @type {boolean}
|
|
52
|
-
* @memberof TariffCoverageTermClass
|
|
53
|
-
*/
|
|
54
|
-
'isManualAdjustmentAllowed': boolean;
|
|
42
|
+
'proRata': TariffCoverageTermClassProRataEnum;
|
|
55
43
|
}
|
|
56
44
|
export declare const TariffCoverageTermClassTypeEnum: {
|
|
57
45
|
readonly Fixed: "fixed";
|
|
@@ -64,9 +52,9 @@ export declare const TariffCoverageTermClassPeriodEnum: {
|
|
|
64
52
|
readonly PerClaim: "PER_CLAIM";
|
|
65
53
|
};
|
|
66
54
|
export type TariffCoverageTermClassPeriodEnum = typeof TariffCoverageTermClassPeriodEnum[keyof typeof TariffCoverageTermClassPeriodEnum];
|
|
67
|
-
export declare const
|
|
68
|
-
readonly
|
|
69
|
-
readonly
|
|
70
|
-
readonly
|
|
55
|
+
export declare const TariffCoverageTermClassProRataEnum: {
|
|
56
|
+
readonly Disabled: "DISABLED";
|
|
57
|
+
readonly Enabled: "ENABLED";
|
|
58
|
+
readonly EnabledAfterWaitingPeriod: "ENABLED_AFTER_WAITING_PERIOD";
|
|
71
59
|
};
|
|
72
|
-
export type
|
|
60
|
+
export type TariffCoverageTermClassProRataEnum = typeof TariffCoverageTermClassProRataEnum[keyof typeof TariffCoverageTermClassProRataEnum];
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
16
|
+
exports.TariffCoverageTermClassProRataEnum = exports.TariffCoverageTermClassPeriodEnum = exports.TariffCoverageTermClassTypeEnum = void 0;
|
|
17
17
|
exports.TariffCoverageTermClassTypeEnum = {
|
|
18
18
|
Fixed: 'fixed',
|
|
19
19
|
Percent: 'percent'
|
|
@@ -23,8 +23,8 @@ exports.TariffCoverageTermClassPeriodEnum = {
|
|
|
23
23
|
PolicyYear: 'POLICY_YEAR',
|
|
24
24
|
PerClaim: 'PER_CLAIM'
|
|
25
25
|
};
|
|
26
|
-
exports.
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
26
|
+
exports.TariffCoverageTermClassProRataEnum = {
|
|
27
|
+
Disabled: 'DISABLED',
|
|
28
|
+
Enabled: 'ENABLED',
|
|
29
|
+
EnabledAfterWaitingPeriod: 'ENABLED_AFTER_WAITING_PERIOD'
|
|
30
30
|
};
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { DeductibleClass } from './deductible-class';
|
|
12
13
|
import { TariffCategorySummaryClass } from './tariff-category-summary-class';
|
|
13
14
|
import { TariffCoverageTermClass } from './tariff-coverage-term-class';
|
|
14
15
|
/**
|
|
@@ -47,4 +48,10 @@ export interface TariffSummaryClass {
|
|
|
47
48
|
* @memberof TariffSummaryClass
|
|
48
49
|
*/
|
|
49
50
|
'categories': Array<TariffCategorySummaryClass>;
|
|
51
|
+
/**
|
|
52
|
+
* List of tariff variation deductibles
|
|
53
|
+
* @type {Array<DeductibleClass>}
|
|
54
|
+
* @memberof TariffSummaryClass
|
|
55
|
+
*/
|
|
56
|
+
'deductibles': Array<DeductibleClass>;
|
|
50
57
|
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL InsuranceService
|
|
5
|
+
* The EMIL InsuranceService 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 { CategoryCalculationStepClass } from './category-calculation-step-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface CategoryCalculationOrderClass
|
|
22
|
+
*/
|
|
23
|
+
export interface CategoryCalculationOrderClass {
|
|
24
|
+
/**
|
|
25
|
+
* Ordered list of category calculation steps
|
|
26
|
+
* @type {Array<CategoryCalculationStepClass>}
|
|
27
|
+
* @memberof CategoryCalculationOrderClass
|
|
28
|
+
*/
|
|
29
|
+
'steps': Array<CategoryCalculationStepClass>;
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL InsuranceService
|
|
5
|
+
* The EMIL InsuranceService 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 CategoryCalculationStepClass
|
|
21
|
+
*/
|
|
22
|
+
export interface CategoryCalculationStepClass {
|
|
23
|
+
/**
|
|
24
|
+
* Unique key for the calculation step
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof CategoryCalculationStepClass
|
|
27
|
+
*/
|
|
28
|
+
'key': string;
|
|
29
|
+
/**
|
|
30
|
+
* Execution order index for this step
|
|
31
|
+
* @type {number}
|
|
32
|
+
* @memberof CategoryCalculationStepClass
|
|
33
|
+
*/
|
|
34
|
+
'order': number;
|
|
35
|
+
/**
|
|
36
|
+
* The level where this step applies
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof CategoryCalculationStepClass
|
|
39
|
+
*/
|
|
40
|
+
'appliesTo': CategoryCalculationStepClassAppliesToEnum;
|
|
41
|
+
/**
|
|
42
|
+
* Deductible key used when scope is deductible
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof CategoryCalculationStepClass
|
|
45
|
+
*/
|
|
46
|
+
'deductibleKey'?: string;
|
|
47
|
+
/**
|
|
48
|
+
* Category calculation step type
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof CategoryCalculationStepClass
|
|
51
|
+
*/
|
|
52
|
+
'type': CategoryCalculationStepClassTypeEnum;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export const CategoryCalculationStepClassAppliesToEnum = {
|
|
56
|
+
Position: 'position'
|
|
57
|
+
} as const;
|
|
58
|
+
|
|
59
|
+
export type CategoryCalculationStepClassAppliesToEnum = typeof CategoryCalculationStepClassAppliesToEnum[keyof typeof CategoryCalculationStepClassAppliesToEnum];
|
|
60
|
+
export const CategoryCalculationStepClassTypeEnum = {
|
|
61
|
+
Coverage: 'coverage',
|
|
62
|
+
Deductible: 'deductible',
|
|
63
|
+
ManualAdjustment: 'manualAdjustment'
|
|
64
|
+
} as const;
|
|
65
|
+
|
|
66
|
+
export type CategoryCalculationStepClassTypeEnum = typeof CategoryCalculationStepClassTypeEnum[keyof typeof CategoryCalculationStepClassTypeEnum];
|
|
67
|
+
|
|
68
|
+
|
package/models/category-class.ts
CHANGED
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
|
|
16
|
+
import { CategoryCalculationOrderClass } from './category-calculation-order-class';
|
|
16
17
|
import { CoverageClass } from './coverage-class';
|
|
17
18
|
import { CoverageTermClass } from './coverage-term-class';
|
|
18
19
|
import { DeductibleClass } from './deductible-class';
|
|
@@ -47,5 +48,11 @@ export interface CategoryClass {
|
|
|
47
48
|
* @memberof CategoryClass
|
|
48
49
|
*/
|
|
49
50
|
'deductibles': Array<DeductibleClass>;
|
|
51
|
+
/**
|
|
52
|
+
* Category calculation order configuration
|
|
53
|
+
* @type {CategoryCalculationOrderClass}
|
|
54
|
+
* @memberof CategoryClass
|
|
55
|
+
*/
|
|
56
|
+
'calculationOrder': CategoryCalculationOrderClass;
|
|
50
57
|
}
|
|
51
58
|
|
|
@@ -45,6 +45,12 @@ export interface CoverageTermClass {
|
|
|
45
45
|
* @memberof CoverageTermClass
|
|
46
46
|
*/
|
|
47
47
|
'value': AmountWithLimitClass;
|
|
48
|
+
/**
|
|
49
|
+
* Method for calculating coverage proration
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof CoverageTermClass
|
|
52
|
+
*/
|
|
53
|
+
'proRata': CoverageTermClassProRataEnum;
|
|
48
54
|
}
|
|
49
55
|
|
|
50
56
|
export const CoverageTermClassTypeEnum = {
|
|
@@ -60,5 +66,12 @@ export const CoverageTermClassPeriodEnum = {
|
|
|
60
66
|
} as const;
|
|
61
67
|
|
|
62
68
|
export type CoverageTermClassPeriodEnum = typeof CoverageTermClassPeriodEnum[keyof typeof CoverageTermClassPeriodEnum];
|
|
69
|
+
export const CoverageTermClassProRataEnum = {
|
|
70
|
+
Disabled: 'DISABLED',
|
|
71
|
+
Enabled: 'ENABLED',
|
|
72
|
+
EnabledAfterWaitingPeriod: 'ENABLED_AFTER_WAITING_PERIOD'
|
|
73
|
+
} as const;
|
|
74
|
+
|
|
75
|
+
export type CoverageTermClassProRataEnum = typeof CoverageTermClassProRataEnum[keyof typeof CoverageTermClassProRataEnum];
|
|
63
76
|
|
|
64
77
|
|
|
@@ -13,7 +13,6 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
import { WaitingPeriodClass } from './waiting-period-class';
|
|
17
16
|
|
|
18
17
|
/**
|
|
19
18
|
*
|
|
@@ -33,12 +32,6 @@ export interface GeneralSettingClass {
|
|
|
33
32
|
* @memberof GeneralSettingClass
|
|
34
33
|
*/
|
|
35
34
|
'currency': GeneralSettingClassCurrencyEnum;
|
|
36
|
-
/**
|
|
37
|
-
* Waiting period before coverage applies
|
|
38
|
-
* @type {WaitingPeriodClass}
|
|
39
|
-
* @memberof GeneralSettingClass
|
|
40
|
-
*/
|
|
41
|
-
'waitingPeriod': WaitingPeriodClass;
|
|
42
35
|
}
|
|
43
36
|
|
|
44
37
|
export const GeneralSettingClassSettlementTypeEnum = {
|
package/models/index.ts
CHANGED
|
@@ -11,6 +11,8 @@ export * from './calculated-policy-object-class';
|
|
|
11
11
|
export * from './calculation-errors-class';
|
|
12
12
|
export * from './calculation-item-errors-class';
|
|
13
13
|
export * from './calculation-message-class';
|
|
14
|
+
export * from './category-calculation-order-class';
|
|
15
|
+
export * from './category-calculation-step-class';
|
|
14
16
|
export * from './category-class';
|
|
15
17
|
export * from './category-coverage-summary-class';
|
|
16
18
|
export * from './category-definition-class';
|
|
@@ -243,6 +245,8 @@ export * from './suspend-policy-response-class';
|
|
|
243
245
|
export * from './swap-premium-formulas-order-request-dto';
|
|
244
246
|
export * from './swap-product-fields-order-request-dto';
|
|
245
247
|
export * from './tag-class';
|
|
248
|
+
export * from './tariff-calculation-order-class';
|
|
249
|
+
export * from './tariff-calculation-step-class';
|
|
246
250
|
export * from './tariff-category-summary-class';
|
|
247
251
|
export * from './tariff-coverage-term-class';
|
|
248
252
|
export * from './tariff-summary-class';
|
|
@@ -16,7 +16,9 @@
|
|
|
16
16
|
import { CategoryClass } from './category-class';
|
|
17
17
|
import { DeductibleClass } from './deductible-class';
|
|
18
18
|
import { SharedProductFieldOverrideClass } from './shared-product-field-override-class';
|
|
19
|
+
import { TariffCalculationOrderClass } from './tariff-calculation-order-class';
|
|
19
20
|
import { TariffCoverageTermClass } from './tariff-coverage-term-class';
|
|
21
|
+
import { WaitingPeriodClass } from './waiting-period-class';
|
|
20
22
|
|
|
21
23
|
/**
|
|
22
24
|
*
|
|
@@ -66,5 +68,17 @@ export interface SharedTariffVariationClass {
|
|
|
66
68
|
* @memberof SharedTariffVariationClass
|
|
67
69
|
*/
|
|
68
70
|
'productFieldOverrides': Array<SharedProductFieldOverrideClass>;
|
|
71
|
+
/**
|
|
72
|
+
* Tariff calculation order configuration
|
|
73
|
+
* @type {TariffCalculationOrderClass}
|
|
74
|
+
* @memberof SharedTariffVariationClass
|
|
75
|
+
*/
|
|
76
|
+
'calculationOrder': TariffCalculationOrderClass;
|
|
77
|
+
/**
|
|
78
|
+
* Waiting period before tariff coverage applies
|
|
79
|
+
* @type {WaitingPeriodClass}
|
|
80
|
+
* @memberof SharedTariffVariationClass
|
|
81
|
+
*/
|
|
82
|
+
'waitingPeriod': WaitingPeriodClass;
|
|
69
83
|
}
|
|
70
84
|
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL InsuranceService
|
|
5
|
+
* The EMIL InsuranceService 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 { TariffCalculationStepClass } from './tariff-calculation-step-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface TariffCalculationOrderClass
|
|
22
|
+
*/
|
|
23
|
+
export interface TariffCalculationOrderClass {
|
|
24
|
+
/**
|
|
25
|
+
* Ordered list of tariff calculation steps
|
|
26
|
+
* @type {Array<TariffCalculationStepClass>}
|
|
27
|
+
* @memberof TariffCalculationOrderClass
|
|
28
|
+
*/
|
|
29
|
+
'steps': Array<TariffCalculationStepClass>;
|
|
30
|
+
/**
|
|
31
|
+
* Defines when tariff steps run relative to category steps
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof TariffCalculationOrderClass
|
|
34
|
+
*/
|
|
35
|
+
'tariffExecutionOrder': TariffCalculationOrderClassTariffExecutionOrderEnum;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export const TariffCalculationOrderClassTariffExecutionOrderEnum = {
|
|
39
|
+
BeforeCategory: 'BEFORE_CATEGORY',
|
|
40
|
+
AfterCategory: 'AFTER_CATEGORY'
|
|
41
|
+
} as const;
|
|
42
|
+
|
|
43
|
+
export type TariffCalculationOrderClassTariffExecutionOrderEnum = typeof TariffCalculationOrderClassTariffExecutionOrderEnum[keyof typeof TariffCalculationOrderClassTariffExecutionOrderEnum];
|
|
44
|
+
|
|
45
|
+
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL InsuranceService
|
|
5
|
+
* The EMIL InsuranceService 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 TariffCalculationStepClass
|
|
21
|
+
*/
|
|
22
|
+
export interface TariffCalculationStepClass {
|
|
23
|
+
/**
|
|
24
|
+
* Unique key for the calculation step
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof TariffCalculationStepClass
|
|
27
|
+
*/
|
|
28
|
+
'key': string;
|
|
29
|
+
/**
|
|
30
|
+
* Execution order index for this step
|
|
31
|
+
* @type {number}
|
|
32
|
+
* @memberof TariffCalculationStepClass
|
|
33
|
+
*/
|
|
34
|
+
'order': number;
|
|
35
|
+
/**
|
|
36
|
+
* The level where this step applies
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof TariffCalculationStepClass
|
|
39
|
+
*/
|
|
40
|
+
'appliesTo': TariffCalculationStepClassAppliesToEnum;
|
|
41
|
+
/**
|
|
42
|
+
* Deductible key used when scope is deductible
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof TariffCalculationStepClass
|
|
45
|
+
*/
|
|
46
|
+
'deductibleKey'?: string;
|
|
47
|
+
/**
|
|
48
|
+
* Tariff calculation step type
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof TariffCalculationStepClass
|
|
51
|
+
*/
|
|
52
|
+
'type': TariffCalculationStepClassTypeEnum;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export const TariffCalculationStepClassAppliesToEnum = {
|
|
56
|
+
Position: 'position'
|
|
57
|
+
} as const;
|
|
58
|
+
|
|
59
|
+
export type TariffCalculationStepClassAppliesToEnum = typeof TariffCalculationStepClassAppliesToEnum[keyof typeof TariffCalculationStepClassAppliesToEnum];
|
|
60
|
+
export const TariffCalculationStepClassTypeEnum = {
|
|
61
|
+
Coverage: 'coverage',
|
|
62
|
+
Deductible: 'deductible',
|
|
63
|
+
ManualAdjustment: 'manualAdjustment'
|
|
64
|
+
} as const;
|
|
65
|
+
|
|
66
|
+
export type TariffCalculationStepClassTypeEnum = typeof TariffCalculationStepClassTypeEnum[keyof typeof TariffCalculationStepClassTypeEnum];
|
|
67
|
+
|
|
68
|
+
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
|
|
16
16
|
import { CategoryCoverageSummaryClass } from './category-coverage-summary-class';
|
|
17
17
|
import { CoverageTermClass } from './coverage-term-class';
|
|
18
|
+
import { DeductibleClass } from './deductible-class';
|
|
18
19
|
|
|
19
20
|
/**
|
|
20
21
|
*
|
|
@@ -52,5 +53,11 @@ export interface TariffCategorySummaryClass {
|
|
|
52
53
|
* @memberof TariffCategorySummaryClass
|
|
53
54
|
*/
|
|
54
55
|
'coverages': Array<CategoryCoverageSummaryClass>;
|
|
56
|
+
/**
|
|
57
|
+
* List of category deductibles
|
|
58
|
+
* @type {Array<DeductibleClass>}
|
|
59
|
+
* @memberof TariffCategorySummaryClass
|
|
60
|
+
*/
|
|
61
|
+
'deductibles': Array<DeductibleClass>;
|
|
55
62
|
}
|
|
56
63
|
|
|
@@ -40,23 +40,11 @@ export interface TariffCoverageTermClass {
|
|
|
40
40
|
*/
|
|
41
41
|
'value': AmountWithLimitClass;
|
|
42
42
|
/**
|
|
43
|
-
* Method for calculating coverage
|
|
43
|
+
* Method for calculating coverage proration
|
|
44
44
|
* @type {string}
|
|
45
45
|
* @memberof TariffCoverageTermClass
|
|
46
46
|
*/
|
|
47
|
-
'
|
|
48
|
-
/**
|
|
49
|
-
* Maximum percentage for manual coverage term adjustment (0.0 to 1.0, e.g., 0.5 = 50%)
|
|
50
|
-
* @type {number}
|
|
51
|
-
* @memberof TariffCoverageTermClass
|
|
52
|
-
*/
|
|
53
|
-
'maxAdjustmentPercentage': number;
|
|
54
|
-
/**
|
|
55
|
-
* Whether manual coverage term adjustment is permitted
|
|
56
|
-
* @type {boolean}
|
|
57
|
-
* @memberof TariffCoverageTermClass
|
|
58
|
-
*/
|
|
59
|
-
'isManualAdjustmentAllowed': boolean;
|
|
47
|
+
'proRata': TariffCoverageTermClassProRataEnum;
|
|
60
48
|
}
|
|
61
49
|
|
|
62
50
|
export const TariffCoverageTermClassTypeEnum = {
|
|
@@ -72,12 +60,12 @@ export const TariffCoverageTermClassPeriodEnum = {
|
|
|
72
60
|
} as const;
|
|
73
61
|
|
|
74
62
|
export type TariffCoverageTermClassPeriodEnum = typeof TariffCoverageTermClassPeriodEnum[keyof typeof TariffCoverageTermClassPeriodEnum];
|
|
75
|
-
export const
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
63
|
+
export const TariffCoverageTermClassProRataEnum = {
|
|
64
|
+
Disabled: 'DISABLED',
|
|
65
|
+
Enabled: 'ENABLED',
|
|
66
|
+
EnabledAfterWaitingPeriod: 'ENABLED_AFTER_WAITING_PERIOD'
|
|
79
67
|
} as const;
|
|
80
68
|
|
|
81
|
-
export type
|
|
69
|
+
export type TariffCoverageTermClassProRataEnum = typeof TariffCoverageTermClassProRataEnum[keyof typeof TariffCoverageTermClassProRataEnum];
|
|
82
70
|
|
|
83
71
|
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
|
|
16
|
+
import { DeductibleClass } from './deductible-class';
|
|
16
17
|
import { TariffCategorySummaryClass } from './tariff-category-summary-class';
|
|
17
18
|
import { TariffCoverageTermClass } from './tariff-coverage-term-class';
|
|
18
19
|
|
|
@@ -52,5 +53,11 @@ export interface TariffSummaryClass {
|
|
|
52
53
|
* @memberof TariffSummaryClass
|
|
53
54
|
*/
|
|
54
55
|
'categories': Array<TariffCategorySummaryClass>;
|
|
56
|
+
/**
|
|
57
|
+
* List of tariff variation deductibles
|
|
58
|
+
* @type {Array<DeductibleClass>}
|
|
59
|
+
* @memberof TariffSummaryClass
|
|
60
|
+
*/
|
|
61
|
+
'deductibles': Array<DeductibleClass>;
|
|
55
62
|
}
|
|
56
63
|
|