@emilgroup/insurance-sdk-node 1.29.0 → 1.30.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.
@@ -24,6 +24,7 @@ models/activate-policy-request-dto.ts
24
24
  models/activate-policy-response-class.ts
25
25
  models/calculate-custom-premium-request-dto.ts
26
26
  models/calculate-premium-request-dto.ts
27
+ models/calculate-product-fields-request-dto.ts
27
28
  models/clone-product-version-request-dto.ts
28
29
  models/create-account-request-dto.ts
29
30
  models/create-bank-account-request-dto.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.29.0 --save
20
+ npm install @emilgroup/insurance-sdk-node@1.30.0 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/insurance-sdk-node@1.29.0
24
+ yarn add @emilgroup/insurance-sdk-node@1.30.0
25
25
  ```
26
26
 
27
27
  And then you can import `PoliciesApi`.
@@ -0,0 +1,31 @@
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 { PolicyObjectDto } from './policy-object-dto';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface CalculateProductFieldsRequestDto
17
+ */
18
+ export interface CalculateProductFieldsRequestDto {
19
+ /**
20
+ * Unique identifier referencing the product version.
21
+ * @type {number}
22
+ * @memberof CalculateProductFieldsRequestDto
23
+ */
24
+ 'productVersionId': number;
25
+ /**
26
+ * Policy Objects.
27
+ * @type {Array<PolicyObjectDto>}
28
+ * @memberof CalculateProductFieldsRequestDto
29
+ */
30
+ 'policyObjects': Array<PolicyObjectDto>;
31
+ }
@@ -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 });
@@ -34,6 +34,12 @@ export interface CreateNamedRangeRequestDto {
34
34
  * @memberof CreateNamedRangeRequestDto
35
35
  */
36
36
  'hasHeader': boolean;
37
+ /**
38
+ * number of header rows (rows to skip) in the named range table
39
+ * @type {number}
40
+ * @memberof CreateNamedRangeRequestDto
41
+ */
42
+ 'headerRows'?: number;
37
43
  /**
38
44
  * File contents encoded as Base64 string.
39
45
  * @type {string}
@@ -111,6 +111,12 @@ export interface CreateProductFieldRequestDto {
111
111
  * @memberof CreateProductFieldRequestDto
112
112
  */
113
113
  'bfLabel'?: string;
114
+ /**
115
+ * Expression to calculate the field.
116
+ * @type {string}
117
+ * @memberof CreateProductFieldRequestDto
118
+ */
119
+ 'expression'?: string;
114
120
  /**
115
121
  * Default value of the field. For the field type date-time, it should be { \"templated\" : \"{{today}}\" }
116
122
  * @type {object}
@@ -2,6 +2,7 @@ export * from './activate-policy-request-dto';
2
2
  export * from './activate-policy-response-class';
3
3
  export * from './calculate-custom-premium-request-dto';
4
4
  export * from './calculate-premium-request-dto';
5
+ export * from './calculate-product-fields-request-dto';
5
6
  export * from './clone-product-version-request-dto';
6
7
  export * from './create-account-request-dto';
7
8
  export * from './create-bank-account-request-dto';
@@ -18,6 +18,7 @@ __exportStar(require("./activate-policy-request-dto"), exports);
18
18
  __exportStar(require("./activate-policy-response-class"), exports);
19
19
  __exportStar(require("./calculate-custom-premium-request-dto"), exports);
20
20
  __exportStar(require("./calculate-premium-request-dto"), exports);
21
+ __exportStar(require("./calculate-product-fields-request-dto"), exports);
21
22
  __exportStar(require("./clone-product-version-request-dto"), exports);
22
23
  __exportStar(require("./create-account-request-dto"), exports);
23
24
  __exportStar(require("./create-bank-account-request-dto"), exports);
@@ -39,6 +39,12 @@ export interface NamedRangeClass {
39
39
  * @memberof NamedRangeClass
40
40
  */
41
41
  'hasHeader': boolean;
42
+ /**
43
+ * number of header rows (rows to skip) in the named range table
44
+ * @type {number}
45
+ * @memberof NamedRangeClass
46
+ */
47
+ 'headerRows': number;
42
48
  /**
43
49
  * Type of the file with the named range (CSV, XLS or XLSX).
44
50
  * @type {string}
@@ -99,6 +99,12 @@ export interface ProductFieldClass {
99
99
  * @memberof ProductFieldClass
100
100
  */
101
101
  'defaultValue': object | null;
102
+ /**
103
+ * Expression to calculate the field.
104
+ * @type {string}
105
+ * @memberof ProductFieldClass
106
+ */
107
+ 'expression': string;
102
108
  /**
103
109
  * Minimum value of the field. For the field type date-time, it should be { \"templated\" : \"{{today}}\" }
104
110
  * @type {object}
@@ -99,6 +99,12 @@ export interface SharedProductFieldClass {
99
99
  * @memberof SharedProductFieldClass
100
100
  */
101
101
  'defaultValue': object | null;
102
+ /**
103
+ * Expression to calculate the field.
104
+ * @type {string}
105
+ * @memberof SharedProductFieldClass
106
+ */
107
+ 'expression': string;
102
108
  /**
103
109
  * Minimum value of the field. For the field type date-time, it should be { \"templated\" : \"{{today}}\" }
104
110
  * @type {object}
@@ -33,4 +33,10 @@ export interface SharedUpdateNamedRangeRequestDto {
33
33
  * @memberof SharedUpdateNamedRangeRequestDto
34
34
  */
35
35
  'hasHeader': boolean;
36
+ /**
37
+ * number of header rows (rows to skip) in the named range table
38
+ * @type {number}
39
+ * @memberof SharedUpdateNamedRangeRequestDto
40
+ */
41
+ 'headerRows'?: number;
36
42
  }
@@ -27,4 +27,10 @@ export interface UpdateNamedRangeRequestDto {
27
27
  * @memberof UpdateNamedRangeRequestDto
28
28
  */
29
29
  'hasHeader': boolean;
30
+ /**
31
+ * number of header rows (rows to skip) in the named range table
32
+ * @type {number}
33
+ * @memberof UpdateNamedRangeRequestDto
34
+ */
35
+ 'headerRows'?: number;
30
36
  }
@@ -53,6 +53,12 @@ export interface UpdatePolicyRequestDto {
53
53
  * @memberof UpdatePolicyRequestDto
54
54
  */
55
55
  'leadCode'?: string;
56
+ /**
57
+ * Unique identifier of the policy that this object belongs to.
58
+ * @type {string}
59
+ * @memberof UpdatePolicyRequestDto
60
+ */
61
+ 'policyNumber'?: string;
56
62
  }
57
63
  export declare const UpdatePolicyRequestDtoStatusEnum: {
58
64
  readonly Active: "ACTIVE";
@@ -105,6 +105,12 @@ export interface UpdateProductFieldRequestDto {
105
105
  * @memberof UpdateProductFieldRequestDto
106
106
  */
107
107
  'bfLabel'?: string;
108
+ /**
109
+ * Expression to calculate the field.
110
+ * @type {string}
111
+ * @memberof UpdateProductFieldRequestDto
112
+ */
113
+ 'expression'?: string;
108
114
  /**
109
115
  * Default value of the field. For the field type date-time, it should be { \"templated\" : \"{{today}}\" }
110
116
  * @type {object}
@@ -0,0 +1,37 @@
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 { PolicyObjectDto } from './policy-object-dto';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface CalculateProductFieldsRequestDto
22
+ */
23
+ export interface CalculateProductFieldsRequestDto {
24
+ /**
25
+ * Unique identifier referencing the product version.
26
+ * @type {number}
27
+ * @memberof CalculateProductFieldsRequestDto
28
+ */
29
+ 'productVersionId': number;
30
+ /**
31
+ * Policy Objects.
32
+ * @type {Array<PolicyObjectDto>}
33
+ * @memberof CalculateProductFieldsRequestDto
34
+ */
35
+ 'policyObjects': Array<PolicyObjectDto>;
36
+ }
37
+
@@ -39,6 +39,12 @@ export interface CreateNamedRangeRequestDto {
39
39
  * @memberof CreateNamedRangeRequestDto
40
40
  */
41
41
  'hasHeader': boolean;
42
+ /**
43
+ * number of header rows (rows to skip) in the named range table
44
+ * @type {number}
45
+ * @memberof CreateNamedRangeRequestDto
46
+ */
47
+ 'headerRows'?: number;
42
48
  /**
43
49
  * File contents encoded as Base64 string.
44
50
  * @type {string}
@@ -116,6 +116,12 @@ export interface CreateProductFieldRequestDto {
116
116
  * @memberof CreateProductFieldRequestDto
117
117
  */
118
118
  'bfLabel'?: string;
119
+ /**
120
+ * Expression to calculate the field.
121
+ * @type {string}
122
+ * @memberof CreateProductFieldRequestDto
123
+ */
124
+ 'expression'?: string;
119
125
  /**
120
126
  * Default value of the field. For the field type date-time, it should be { \"templated\" : \"{{today}}\" }
121
127
  * @type {object}
package/models/index.ts CHANGED
@@ -2,6 +2,7 @@ export * from './activate-policy-request-dto';
2
2
  export * from './activate-policy-response-class';
3
3
  export * from './calculate-custom-premium-request-dto';
4
4
  export * from './calculate-premium-request-dto';
5
+ export * from './calculate-product-fields-request-dto';
5
6
  export * from './clone-product-version-request-dto';
6
7
  export * from './create-account-request-dto';
7
8
  export * from './create-bank-account-request-dto';
@@ -44,6 +44,12 @@ export interface NamedRangeClass {
44
44
  * @memberof NamedRangeClass
45
45
  */
46
46
  'hasHeader': boolean;
47
+ /**
48
+ * number of header rows (rows to skip) in the named range table
49
+ * @type {number}
50
+ * @memberof NamedRangeClass
51
+ */
52
+ 'headerRows': number;
47
53
  /**
48
54
  * Type of the file with the named range (CSV, XLS or XLSX).
49
55
  * @type {string}
@@ -104,6 +104,12 @@ export interface ProductFieldClass {
104
104
  * @memberof ProductFieldClass
105
105
  */
106
106
  'defaultValue': object | null;
107
+ /**
108
+ * Expression to calculate the field.
109
+ * @type {string}
110
+ * @memberof ProductFieldClass
111
+ */
112
+ 'expression': string;
107
113
  /**
108
114
  * Minimum value of the field. For the field type date-time, it should be { \"templated\" : \"{{today}}\" }
109
115
  * @type {object}
@@ -104,6 +104,12 @@ export interface SharedProductFieldClass {
104
104
  * @memberof SharedProductFieldClass
105
105
  */
106
106
  'defaultValue': object | null;
107
+ /**
108
+ * Expression to calculate the field.
109
+ * @type {string}
110
+ * @memberof SharedProductFieldClass
111
+ */
112
+ 'expression': string;
107
113
  /**
108
114
  * Minimum value of the field. For the field type date-time, it should be { \"templated\" : \"{{today}}\" }
109
115
  * @type {object}
@@ -38,5 +38,11 @@ export interface SharedUpdateNamedRangeRequestDto {
38
38
  * @memberof SharedUpdateNamedRangeRequestDto
39
39
  */
40
40
  'hasHeader': boolean;
41
+ /**
42
+ * number of header rows (rows to skip) in the named range table
43
+ * @type {number}
44
+ * @memberof SharedUpdateNamedRangeRequestDto
45
+ */
46
+ 'headerRows'?: number;
41
47
  }
42
48
 
@@ -32,5 +32,11 @@ export interface UpdateNamedRangeRequestDto {
32
32
  * @memberof UpdateNamedRangeRequestDto
33
33
  */
34
34
  'hasHeader': boolean;
35
+ /**
36
+ * number of header rows (rows to skip) in the named range table
37
+ * @type {number}
38
+ * @memberof UpdateNamedRangeRequestDto
39
+ */
40
+ 'headerRows'?: number;
35
41
  }
36
42
 
@@ -58,6 +58,12 @@ export interface UpdatePolicyRequestDto {
58
58
  * @memberof UpdatePolicyRequestDto
59
59
  */
60
60
  'leadCode'?: string;
61
+ /**
62
+ * Unique identifier of the policy that this object belongs to.
63
+ * @type {string}
64
+ * @memberof UpdatePolicyRequestDto
65
+ */
66
+ 'policyNumber'?: string;
61
67
  }
62
68
 
63
69
  export const UpdatePolicyRequestDtoStatusEnum = {
@@ -110,6 +110,12 @@ export interface UpdateProductFieldRequestDto {
110
110
  * @memberof UpdateProductFieldRequestDto
111
111
  */
112
112
  'bfLabel'?: string;
113
+ /**
114
+ * Expression to calculate the field.
115
+ * @type {string}
116
+ * @memberof UpdateProductFieldRequestDto
117
+ */
118
+ 'expression'?: string;
113
119
  /**
114
120
  * Default value of the field. For the field type date-time, it should be { \"templated\" : \"{{today}}\" }
115
121
  * @type {object}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/insurance-sdk-node",
3
- "version": "1.29.0",
3
+ "version": "1.30.0",
4
4
  "description": "OpenAPI client for @emilgroup/insurance-sdk-node",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [