@emilgroup/claim-sdk-node 1.42.1-beta.0 → 1.42.1-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist/models/calculation-step-result-class.d.ts +4 -4
- package/dist/models/claim-applied-deductible-class.d.ts +0 -17
- package/dist/models/claim-applied-deductible-class.js +0 -5
- package/dist/models/claim-limit-usage-class.d.ts +1 -1
- package/dist/models/claim-limit-usage-result-class.d.ts +4 -4
- package/models/calculation-step-result-class.ts +4 -4
- package/models/claim-applied-deductible-class.ts +0 -20
- package/models/claim-limit-usage-class.ts +1 -1
- package/models/claim-limit-usage-result-class.ts +4 -4
- package/package.json +1 -1
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/claim-sdk-node@1.42.1-beta.
|
|
20
|
+
npm install @emilgroup/claim-sdk-node@1.42.1-beta.2 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/claim-sdk-node@1.42.1-beta.
|
|
24
|
+
yarn add @emilgroup/claim-sdk-node@1.42.1-beta.2
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `ClaimsApi`.
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface CalculationStepResultClass {
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* Unique key for this calculation result. Format: tariff:{tariffKey}:{configStepKey} or category:{categoryKey}:{configStepKey}.
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof CalculationStepResultClass
|
|
22
22
|
*/
|
|
@@ -34,13 +34,13 @@ export interface CalculationStepResultClass {
|
|
|
34
34
|
*/
|
|
35
35
|
'tariffKey': string;
|
|
36
36
|
/**
|
|
37
|
-
*
|
|
37
|
+
* Only set for category coverage results. Empty for tariff coverage, deductible, and manual adjustment.
|
|
38
38
|
* @type {string}
|
|
39
39
|
* @memberof CalculationStepResultClass
|
|
40
40
|
*/
|
|
41
41
|
'categoryKey': string;
|
|
42
42
|
/**
|
|
43
|
-
*
|
|
43
|
+
* Only set for deductible calculation steps.
|
|
44
44
|
* @type {string}
|
|
45
45
|
* @memberof CalculationStepResultClass
|
|
46
46
|
*/
|
|
@@ -58,7 +58,7 @@ export interface CalculationStepResultClass {
|
|
|
58
58
|
*/
|
|
59
59
|
'amountAfter'?: number;
|
|
60
60
|
/**
|
|
61
|
-
*
|
|
61
|
+
* Step-specific applied amount: covered amount for coverage, deducted amount for deductible, or applied manual adjustment.
|
|
62
62
|
* @type {number}
|
|
63
63
|
* @memberof CalculationStepResultClass
|
|
64
64
|
*/
|
|
@@ -39,24 +39,12 @@ export interface ClaimAppliedDeductibleClass {
|
|
|
39
39
|
* @memberof ClaimAppliedDeductibleClass
|
|
40
40
|
*/
|
|
41
41
|
'deductibleKey': string;
|
|
42
|
-
/**
|
|
43
|
-
* Scope of the deductible — tariff level or category level.
|
|
44
|
-
* @type {string}
|
|
45
|
-
* @memberof ClaimAppliedDeductibleClass
|
|
46
|
-
*/
|
|
47
|
-
'scope': ClaimAppliedDeductibleClassScopeEnum;
|
|
48
42
|
/**
|
|
49
43
|
* Selected deductible amount for fixed and percent deductible types.
|
|
50
44
|
* @type {number}
|
|
51
45
|
* @memberof ClaimAppliedDeductibleClass
|
|
52
46
|
*/
|
|
53
47
|
'amount': number;
|
|
54
|
-
/**
|
|
55
|
-
* Key of the category this deductible belongs to. Only set when scope is category.
|
|
56
|
-
* @type {string}
|
|
57
|
-
* @memberof ClaimAppliedDeductibleClass
|
|
58
|
-
*/
|
|
59
|
-
'categoryKey': string;
|
|
60
48
|
/**
|
|
61
49
|
* Code of the claim this deductible belongs to.
|
|
62
50
|
* @type {string}
|
|
@@ -88,8 +76,3 @@ export interface ClaimAppliedDeductibleClass {
|
|
|
88
76
|
*/
|
|
89
77
|
'updatedBy': string;
|
|
90
78
|
}
|
|
91
|
-
export declare const ClaimAppliedDeductibleClassScopeEnum: {
|
|
92
|
-
readonly Tariff: "tariff";
|
|
93
|
-
readonly Category: "category";
|
|
94
|
-
};
|
|
95
|
-
export type ClaimAppliedDeductibleClassScopeEnum = typeof ClaimAppliedDeductibleClassScopeEnum[keyof typeof ClaimAppliedDeductibleClassScopeEnum];
|
|
@@ -13,8 +13,3 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.ClaimAppliedDeductibleClassScopeEnum = void 0;
|
|
17
|
-
exports.ClaimAppliedDeductibleClassScopeEnum = {
|
|
18
|
-
Tariff: 'tariff',
|
|
19
|
-
Category: 'category'
|
|
20
|
-
};
|
|
@@ -94,7 +94,7 @@ export interface ClaimLimitUsageClass {
|
|
|
94
94
|
*/
|
|
95
95
|
'claimCode': string;
|
|
96
96
|
/**
|
|
97
|
-
*
|
|
97
|
+
* Only set for category coverage rows. Empty for tariff coverage and deductible rows.
|
|
98
98
|
* @type {string}
|
|
99
99
|
* @memberof ClaimLimitUsageClass
|
|
100
100
|
*/
|
|
@@ -16,25 +16,25 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface ClaimLimitUsageResultClass {
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* Key of the calculation step that changed this limit usage.
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof ClaimLimitUsageResultClass
|
|
22
22
|
*/
|
|
23
23
|
'stepKey': string;
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
25
|
+
* Limit usage period.
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof ClaimLimitUsageResultClass
|
|
28
28
|
*/
|
|
29
29
|
'period': ClaimLimitUsageResultClassPeriodEnum;
|
|
30
30
|
/**
|
|
31
|
-
* Remaining amount before
|
|
31
|
+
* Remaining amount before this limit usage change.
|
|
32
32
|
* @type {number}
|
|
33
33
|
* @memberof ClaimLimitUsageResultClass
|
|
34
34
|
*/
|
|
35
35
|
'remainingBefore': number;
|
|
36
36
|
/**
|
|
37
|
-
* Remaining amount after
|
|
37
|
+
* Remaining amount after this limit usage change.
|
|
38
38
|
* @type {number}
|
|
39
39
|
* @memberof ClaimLimitUsageResultClass
|
|
40
40
|
*/
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
*/
|
|
22
22
|
export interface CalculationStepResultClass {
|
|
23
23
|
/**
|
|
24
|
-
*
|
|
24
|
+
* Unique key for this calculation result. Format: tariff:{tariffKey}:{configStepKey} or category:{categoryKey}:{configStepKey}.
|
|
25
25
|
* @type {string}
|
|
26
26
|
* @memberof CalculationStepResultClass
|
|
27
27
|
*/
|
|
@@ -39,13 +39,13 @@ export interface CalculationStepResultClass {
|
|
|
39
39
|
*/
|
|
40
40
|
'tariffKey': string;
|
|
41
41
|
/**
|
|
42
|
-
*
|
|
42
|
+
* Only set for category coverage results. Empty for tariff coverage, deductible, and manual adjustment.
|
|
43
43
|
* @type {string}
|
|
44
44
|
* @memberof CalculationStepResultClass
|
|
45
45
|
*/
|
|
46
46
|
'categoryKey': string;
|
|
47
47
|
/**
|
|
48
|
-
*
|
|
48
|
+
* Only set for deductible calculation steps.
|
|
49
49
|
* @type {string}
|
|
50
50
|
* @memberof CalculationStepResultClass
|
|
51
51
|
*/
|
|
@@ -63,7 +63,7 @@ export interface CalculationStepResultClass {
|
|
|
63
63
|
*/
|
|
64
64
|
'amountAfter'?: number;
|
|
65
65
|
/**
|
|
66
|
-
*
|
|
66
|
+
* Step-specific applied amount: covered amount for coverage, deducted amount for deductible, or applied manual adjustment.
|
|
67
67
|
* @type {number}
|
|
68
68
|
* @memberof CalculationStepResultClass
|
|
69
69
|
*/
|
|
@@ -44,24 +44,12 @@ export interface ClaimAppliedDeductibleClass {
|
|
|
44
44
|
* @memberof ClaimAppliedDeductibleClass
|
|
45
45
|
*/
|
|
46
46
|
'deductibleKey': string;
|
|
47
|
-
/**
|
|
48
|
-
* Scope of the deductible — tariff level or category level.
|
|
49
|
-
* @type {string}
|
|
50
|
-
* @memberof ClaimAppliedDeductibleClass
|
|
51
|
-
*/
|
|
52
|
-
'scope': ClaimAppliedDeductibleClassScopeEnum;
|
|
53
47
|
/**
|
|
54
48
|
* Selected deductible amount for fixed and percent deductible types.
|
|
55
49
|
* @type {number}
|
|
56
50
|
* @memberof ClaimAppliedDeductibleClass
|
|
57
51
|
*/
|
|
58
52
|
'amount': number;
|
|
59
|
-
/**
|
|
60
|
-
* Key of the category this deductible belongs to. Only set when scope is category.
|
|
61
|
-
* @type {string}
|
|
62
|
-
* @memberof ClaimAppliedDeductibleClass
|
|
63
|
-
*/
|
|
64
|
-
'categoryKey': string;
|
|
65
53
|
/**
|
|
66
54
|
* Code of the claim this deductible belongs to.
|
|
67
55
|
* @type {string}
|
|
@@ -94,11 +82,3 @@ export interface ClaimAppliedDeductibleClass {
|
|
|
94
82
|
'updatedBy': string;
|
|
95
83
|
}
|
|
96
84
|
|
|
97
|
-
export const ClaimAppliedDeductibleClassScopeEnum = {
|
|
98
|
-
Tariff: 'tariff',
|
|
99
|
-
Category: 'category'
|
|
100
|
-
} as const;
|
|
101
|
-
|
|
102
|
-
export type ClaimAppliedDeductibleClassScopeEnum = typeof ClaimAppliedDeductibleClassScopeEnum[keyof typeof ClaimAppliedDeductibleClassScopeEnum];
|
|
103
|
-
|
|
104
|
-
|
|
@@ -99,7 +99,7 @@ export interface ClaimLimitUsageClass {
|
|
|
99
99
|
*/
|
|
100
100
|
'claimCode': string;
|
|
101
101
|
/**
|
|
102
|
-
*
|
|
102
|
+
* Only set for category coverage rows. Empty for tariff coverage and deductible rows.
|
|
103
103
|
* @type {string}
|
|
104
104
|
* @memberof ClaimLimitUsageClass
|
|
105
105
|
*/
|
|
@@ -21,25 +21,25 @@
|
|
|
21
21
|
*/
|
|
22
22
|
export interface ClaimLimitUsageResultClass {
|
|
23
23
|
/**
|
|
24
|
-
*
|
|
24
|
+
* Key of the calculation step that changed this limit usage.
|
|
25
25
|
* @type {string}
|
|
26
26
|
* @memberof ClaimLimitUsageResultClass
|
|
27
27
|
*/
|
|
28
28
|
'stepKey': string;
|
|
29
29
|
/**
|
|
30
|
-
*
|
|
30
|
+
* Limit usage period.
|
|
31
31
|
* @type {string}
|
|
32
32
|
* @memberof ClaimLimitUsageResultClass
|
|
33
33
|
*/
|
|
34
34
|
'period': ClaimLimitUsageResultClassPeriodEnum;
|
|
35
35
|
/**
|
|
36
|
-
* Remaining amount before
|
|
36
|
+
* Remaining amount before this limit usage change.
|
|
37
37
|
* @type {number}
|
|
38
38
|
* @memberof ClaimLimitUsageResultClass
|
|
39
39
|
*/
|
|
40
40
|
'remainingBefore': number;
|
|
41
41
|
/**
|
|
42
|
-
* Remaining amount after
|
|
42
|
+
* Remaining amount after this limit usage change.
|
|
43
43
|
* @type {number}
|
|
44
44
|
* @memberof ClaimLimitUsageResultClass
|
|
45
45
|
*/
|