@emilgroup/insurance-sdk-node 1.26.0 → 1.28.0

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.
@@ -116,7 +116,9 @@ models/premium-override-request-class.ts
116
116
  models/premium-override-request-dto.ts
117
117
  models/product-class.ts
118
118
  models/product-factor-class.ts
119
+ models/product-factor-for-version-class.ts
119
120
  models/product-factor-value-class.ts
121
+ models/product-factor-value-for-version-class.ts
120
122
  models/product-field-class.ts
121
123
  models/product-field-type-class.ts
122
124
  models/product-version-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.26.0 --save
20
+ npm install @emilgroup/insurance-sdk-node@1.28.0 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/insurance-sdk-node@1.26.0
24
+ yarn add @emilgroup/insurance-sdk-node@1.28.0
25
25
  ```
26
26
 
27
27
  And then you can import `PoliciesApi`.
package/base.ts CHANGED
@@ -48,6 +48,7 @@ export enum Environment {
48
48
  Production = 'https://apiv2.emil.de',
49
49
  Test = 'https://apiv2-test.emil.de',
50
50
  Development = 'https://apiv2-dev.emil.de',
51
+ ProductionZurich = 'https://eu-central-2.apiv2.emil.de',
51
52
  }
52
53
 
53
54
  let _retry_count = 0
package/dist/base.d.ts CHANGED
@@ -29,7 +29,8 @@ export interface LoginClass {
29
29
  export declare enum Environment {
30
30
  Production = "https://apiv2.emil.de",
31
31
  Test = "https://apiv2-test.emil.de",
32
- Development = "https://apiv2-dev.emil.de"
32
+ Development = "https://apiv2-dev.emil.de",
33
+ ProductionZurich = "https://eu-central-2.apiv2.emil.de"
33
34
  }
34
35
  export declare function resetRetry(): void;
35
36
  /**
package/dist/base.js CHANGED
@@ -130,6 +130,7 @@ var Environment;
130
130
  Environment["Production"] = "https://apiv2.emil.de";
131
131
  Environment["Test"] = "https://apiv2-test.emil.de";
132
132
  Environment["Development"] = "https://apiv2-dev.emil.de";
133
+ Environment["ProductionZurich"] = "https://eu-central-2.apiv2.emil.de";
133
134
  })(Environment = exports.Environment || (exports.Environment = {}));
134
135
  var _retry_count = 0;
135
136
  var _retry = null;
@@ -9,7 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import { ProductFactorClass } from './product-factor-class';
12
+ import { ProductFactorForVersionClass } from './product-factor-for-version-class';
13
13
  /**
14
14
  *
15
15
  * @export
@@ -18,8 +18,8 @@ import { ProductFactorClass } from './product-factor-class';
18
18
  export interface GetProductFactorsForVersionResponseClass {
19
19
  /**
20
20
  * Factors
21
- * @type {Array<ProductFactorClass>}
21
+ * @type {Array<ProductFactorForVersionClass>}
22
22
  * @memberof GetProductFactorsForVersionResponseClass
23
23
  */
24
- 'items': Array<ProductFactorClass>;
24
+ 'items': Array<ProductFactorForVersionClass>;
25
25
  }
@@ -93,7 +93,9 @@ export * from './premium-override-request-class';
93
93
  export * from './premium-override-request-dto';
94
94
  export * from './product-class';
95
95
  export * from './product-factor-class';
96
+ export * from './product-factor-for-version-class';
96
97
  export * from './product-factor-value-class';
98
+ export * from './product-factor-value-for-version-class';
97
99
  export * from './product-field-class';
98
100
  export * from './product-field-type-class';
99
101
  export * from './product-version-class';
@@ -109,7 +109,9 @@ __exportStar(require("./premium-override-request-class"), exports);
109
109
  __exportStar(require("./premium-override-request-dto"), exports);
110
110
  __exportStar(require("./product-class"), exports);
111
111
  __exportStar(require("./product-factor-class"), exports);
112
+ __exportStar(require("./product-factor-for-version-class"), exports);
112
113
  __exportStar(require("./product-factor-value-class"), exports);
114
+ __exportStar(require("./product-factor-value-for-version-class"), exports);
113
115
  __exportStar(require("./product-field-class"), exports);
114
116
  __exportStar(require("./product-field-type-class"), exports);
115
117
  __exportStar(require("./product-version-class"), exports);
@@ -0,0 +1,61 @@
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 { ProductFactorValueForVersionClass } from './product-factor-value-for-version-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ProductFactorForVersionClass
17
+ */
18
+ export interface ProductFactorForVersionClass {
19
+ /**
20
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
21
+ * @type {number}
22
+ * @memberof ProductFactorForVersionClass
23
+ */
24
+ 'id': number;
25
+ /**
26
+ * Unique identifier referencing the version of the product on which this product factor is used.
27
+ * @type {number}
28
+ * @memberof ProductFactorForVersionClass
29
+ */
30
+ 'productVersionId': number;
31
+ /**
32
+ * Product factor group. Has “default” as default value but can be adjusted by the insurer.
33
+ * @type {string}
34
+ * @memberof ProductFactorForVersionClass
35
+ */
36
+ 'group': string;
37
+ /**
38
+ * Label of the factor that is used in the field configuration in the dropdown.
39
+ * @type {string}
40
+ * @memberof ProductFactorForVersionClass
41
+ */
42
+ 'label': string;
43
+ /**
44
+ * Product factor values.
45
+ * @type {Array<ProductFactorValueForVersionClass>}
46
+ * @memberof ProductFactorForVersionClass
47
+ */
48
+ 'values': Array<ProductFactorValueForVersionClass>;
49
+ /**
50
+ * Time at which the object was created.
51
+ * @type {string}
52
+ * @memberof ProductFactorForVersionClass
53
+ */
54
+ 'createdAt': string;
55
+ /**
56
+ * Time at which the object was updated.
57
+ * @type {string}
58
+ * @memberof ProductFactorForVersionClass
59
+ */
60
+ 'updatedAt': string;
61
+ }
@@ -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,42 @@
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 ProductFactorValueForVersionClass
16
+ */
17
+ export interface ProductFactorValueForVersionClass {
18
+ /**
19
+ * Internal unique identifier for product factor. You should not have to use this, use code instead.
20
+ * @type {number}
21
+ * @memberof ProductFactorValueForVersionClass
22
+ */
23
+ 'productFactorId': number;
24
+ /**
25
+ * Name of factor selection options as shown in the booking funnel and value of the variable that is saves.
26
+ * @type {string}
27
+ * @memberof ProductFactorValueForVersionClass
28
+ */
29
+ 'name': string;
30
+ /**
31
+ * Factor value key.
32
+ * @type {string}
33
+ * @memberof ProductFactorValueForVersionClass
34
+ */
35
+ 'key': string;
36
+ /**
37
+ * Factor that is used in premium calculation.
38
+ * @type {number}
39
+ * @memberof ProductFactorValueForVersionClass
40
+ */
41
+ 'value': number;
42
+ }
@@ -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 });
@@ -13,7 +13,7 @@
13
13
  */
14
14
 
15
15
 
16
- import { ProductFactorClass } from './product-factor-class';
16
+ import { ProductFactorForVersionClass } from './product-factor-for-version-class';
17
17
 
18
18
  /**
19
19
  *
@@ -23,9 +23,9 @@ import { ProductFactorClass } from './product-factor-class';
23
23
  export interface GetProductFactorsForVersionResponseClass {
24
24
  /**
25
25
  * Factors
26
- * @type {Array<ProductFactorClass>}
26
+ * @type {Array<ProductFactorForVersionClass>}
27
27
  * @memberof GetProductFactorsForVersionResponseClass
28
28
  */
29
- 'items': Array<ProductFactorClass>;
29
+ 'items': Array<ProductFactorForVersionClass>;
30
30
  }
31
31
 
package/models/index.ts CHANGED
@@ -93,7 +93,9 @@ export * from './premium-override-request-class';
93
93
  export * from './premium-override-request-dto';
94
94
  export * from './product-class';
95
95
  export * from './product-factor-class';
96
+ export * from './product-factor-for-version-class';
96
97
  export * from './product-factor-value-class';
98
+ export * from './product-factor-value-for-version-class';
97
99
  export * from './product-field-class';
98
100
  export * from './product-field-type-class';
99
101
  export * from './product-version-class';
@@ -0,0 +1,67 @@
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 { ProductFactorValueForVersionClass } from './product-factor-value-for-version-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface ProductFactorForVersionClass
22
+ */
23
+ export interface ProductFactorForVersionClass {
24
+ /**
25
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
26
+ * @type {number}
27
+ * @memberof ProductFactorForVersionClass
28
+ */
29
+ 'id': number;
30
+ /**
31
+ * Unique identifier referencing the version of the product on which this product factor is used.
32
+ * @type {number}
33
+ * @memberof ProductFactorForVersionClass
34
+ */
35
+ 'productVersionId': number;
36
+ /**
37
+ * Product factor group. Has “default” as default value but can be adjusted by the insurer.
38
+ * @type {string}
39
+ * @memberof ProductFactorForVersionClass
40
+ */
41
+ 'group': string;
42
+ /**
43
+ * Label of the factor that is used in the field configuration in the dropdown.
44
+ * @type {string}
45
+ * @memberof ProductFactorForVersionClass
46
+ */
47
+ 'label': string;
48
+ /**
49
+ * Product factor values.
50
+ * @type {Array<ProductFactorValueForVersionClass>}
51
+ * @memberof ProductFactorForVersionClass
52
+ */
53
+ 'values': Array<ProductFactorValueForVersionClass>;
54
+ /**
55
+ * Time at which the object was created.
56
+ * @type {string}
57
+ * @memberof ProductFactorForVersionClass
58
+ */
59
+ 'createdAt': string;
60
+ /**
61
+ * Time at which the object was updated.
62
+ * @type {string}
63
+ * @memberof ProductFactorForVersionClass
64
+ */
65
+ 'updatedAt': string;
66
+ }
67
+
@@ -0,0 +1,48 @@
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 ProductFactorValueForVersionClass
21
+ */
22
+ export interface ProductFactorValueForVersionClass {
23
+ /**
24
+ * Internal unique identifier for product factor. You should not have to use this, use code instead.
25
+ * @type {number}
26
+ * @memberof ProductFactorValueForVersionClass
27
+ */
28
+ 'productFactorId': number;
29
+ /**
30
+ * Name of factor selection options as shown in the booking funnel and value of the variable that is saves.
31
+ * @type {string}
32
+ * @memberof ProductFactorValueForVersionClass
33
+ */
34
+ 'name': string;
35
+ /**
36
+ * Factor value key.
37
+ * @type {string}
38
+ * @memberof ProductFactorValueForVersionClass
39
+ */
40
+ 'key': string;
41
+ /**
42
+ * Factor that is used in premium calculation.
43
+ * @type {number}
44
+ * @memberof ProductFactorValueForVersionClass
45
+ */
46
+ 'value': number;
47
+ }
48
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/insurance-sdk-node",
3
- "version": "1.26.0",
3
+ "version": "1.28.0",
4
4
  "description": "OpenAPI client for @emilgroup/insurance-sdk-node",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [