@emilgroup/insurance-sdk 1.99.1-beta.29 → 1.99.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/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@1.99.1-beta.
|
|
20
|
+
npm install @emilgroup/insurance-sdk@1.99.1-beta.30 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/insurance-sdk@1.99.1-beta.
|
|
24
|
+
yarn add @emilgroup/insurance-sdk@1.99.1-beta.30
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `PoliciesApi`.
|
|
@@ -27,6 +27,12 @@ export interface GeneralSettingClass {
|
|
|
27
27
|
* @memberof GeneralSettingClass
|
|
28
28
|
*/
|
|
29
29
|
'currency': GeneralSettingClassCurrencyEnum;
|
|
30
|
+
/**
|
|
31
|
+
* Rounding strategy for claim amounts
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof GeneralSettingClass
|
|
34
|
+
*/
|
|
35
|
+
'roundingStrategy': GeneralSettingClassRoundingStrategyEnum;
|
|
30
36
|
}
|
|
31
37
|
export declare const GeneralSettingClassSettlementTypeEnum: {
|
|
32
38
|
readonly CompleteClaim: "COMPLETE_CLAIM";
|
|
@@ -47,3 +53,8 @@ export declare const GeneralSettingClassCurrencyEnum: {
|
|
|
47
53
|
readonly Sek: "SEK";
|
|
48
54
|
};
|
|
49
55
|
export type GeneralSettingClassCurrencyEnum = typeof GeneralSettingClassCurrencyEnum[keyof typeof GeneralSettingClassCurrencyEnum];
|
|
56
|
+
export declare const GeneralSettingClassRoundingStrategyEnum: {
|
|
57
|
+
readonly None: "NONE";
|
|
58
|
+
readonly Nearest005: "NEAREST_0_05";
|
|
59
|
+
};
|
|
60
|
+
export type GeneralSettingClassRoundingStrategyEnum = typeof GeneralSettingClassRoundingStrategyEnum[keyof typeof GeneralSettingClassRoundingStrategyEnum];
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.GeneralSettingClassCurrencyEnum = exports.GeneralSettingClassSettlementTypeEnum = void 0;
|
|
16
|
+
exports.GeneralSettingClassRoundingStrategyEnum = exports.GeneralSettingClassCurrencyEnum = exports.GeneralSettingClassSettlementTypeEnum = void 0;
|
|
17
17
|
exports.GeneralSettingClassSettlementTypeEnum = {
|
|
18
18
|
CompleteClaim: 'COMPLETE_CLAIM',
|
|
19
19
|
PartialClaim: 'PARTIAL_CLAIM'
|
|
@@ -31,3 +31,7 @@ exports.GeneralSettingClassCurrencyEnum = {
|
|
|
31
31
|
Nok: 'NOK',
|
|
32
32
|
Sek: 'SEK'
|
|
33
33
|
};
|
|
34
|
+
exports.GeneralSettingClassRoundingStrategyEnum = {
|
|
35
|
+
None: 'NONE',
|
|
36
|
+
Nearest005: 'NEAREST_0_05'
|
|
37
|
+
};
|
|
@@ -32,6 +32,12 @@ export interface GeneralSettingClass {
|
|
|
32
32
|
* @memberof GeneralSettingClass
|
|
33
33
|
*/
|
|
34
34
|
'currency': GeneralSettingClassCurrencyEnum;
|
|
35
|
+
/**
|
|
36
|
+
* Rounding strategy for claim amounts
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof GeneralSettingClass
|
|
39
|
+
*/
|
|
40
|
+
'roundingStrategy': GeneralSettingClassRoundingStrategyEnum;
|
|
35
41
|
}
|
|
36
42
|
|
|
37
43
|
export const GeneralSettingClassSettlementTypeEnum = {
|
|
@@ -55,5 +61,11 @@ export const GeneralSettingClassCurrencyEnum = {
|
|
|
55
61
|
} as const;
|
|
56
62
|
|
|
57
63
|
export type GeneralSettingClassCurrencyEnum = typeof GeneralSettingClassCurrencyEnum[keyof typeof GeneralSettingClassCurrencyEnum];
|
|
64
|
+
export const GeneralSettingClassRoundingStrategyEnum = {
|
|
65
|
+
None: 'NONE',
|
|
66
|
+
Nearest005: 'NEAREST_0_05'
|
|
67
|
+
} as const;
|
|
68
|
+
|
|
69
|
+
export type GeneralSettingClassRoundingStrategyEnum = typeof GeneralSettingClassRoundingStrategyEnum[keyof typeof GeneralSettingClassRoundingStrategyEnum];
|
|
58
70
|
|
|
59
71
|
|