@emilgroup/insurance-sdk-node 1.5.1 → 1.7.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.
- package/.openapi-generator/FILES +1 -1
- package/README.md +2 -2
- package/api/policies-api.ts +4 -4
- package/api/products-api.ts +4 -4
- package/api.ts +1 -0
- package/dist/api/policies-api.d.ts +4 -4
- package/dist/api/policies-api.js +3 -3
- package/dist/api/products-api.d.ts +4 -4
- package/dist/api/products-api.js +3 -3
- package/dist/api.d.ts +2 -1
- package/dist/api.js +1 -0
- package/dist/models/create-account-request-dto.d.ts +1 -18
- package/dist/models/create-account-request-dto.js +1 -5
- package/dist/models/create-insured-object-response-class.d.ts +3 -3
- package/dist/models/create-product-request-dto.d.ts +1 -1
- package/dist/models/index.d.ts +1 -1
- package/dist/models/index.js +1 -1
- package/dist/models/insured-object-class.d.ts +1 -1
- package/dist/models/insured-object-type-class.d.ts +1 -1
- package/dist/models/lead-class.d.ts +11 -18
- package/dist/models/lead-class.js +0 -7
- package/dist/models/list-insured-object-types-response-class.d.ts +1 -1
- package/dist/models/omit-type-class.d.ts +60 -0
- package/dist/models/policy-class.d.ts +4 -4
- package/dist/models/product-class.d.ts +1 -1
- package/dist/models/product-factor-class.d.ts +7 -0
- package/dist/models/product-field-class.d.ts +3 -3
- package/dist/models/shared-product-field-class.d.ts +3 -3
- package/dist/models/update-product-request-dto.d.ts +1 -1
- package/models/create-account-request-dto.ts +1 -19
- package/models/create-insured-object-response-class.ts +3 -3
- package/models/create-product-request-dto.ts +1 -1
- package/models/index.ts +1 -1
- package/models/insured-object-class.ts +1 -1
- package/models/insured-object-type-class.ts +1 -1
- package/models/lead-class.ts +11 -21
- package/models/list-insured-object-types-response-class.ts +1 -1
- package/models/omit-type-class.ts +66 -0
- package/models/policy-class.ts +4 -4
- package/models/product-class.ts +1 -1
- package/models/product-factor-class.ts +7 -0
- package/models/product-field-class.ts +3 -3
- package/models/shared-product-field-class.ts +3 -3
- package/models/update-product-request-dto.ts +1 -1
- package/package.json +2 -2
- package/dist/models/premium-override-request-class.d.ts +0 -25
- package/models/premium-override-request-class.ts +0 -31
- /package/dist/models/{premium-override-request-class.js → omit-type-class.js} +0 -0
package/.openapi-generator/FILES
CHANGED
|
@@ -74,6 +74,7 @@ models/list-product-field-types-response-class.ts
|
|
|
74
74
|
models/list-product-fields-response-class.ts
|
|
75
75
|
models/list-products-response-class.ts
|
|
76
76
|
models/list-request-dto.ts
|
|
77
|
+
models/omit-type-class.ts
|
|
77
78
|
models/policy-class.ts
|
|
78
79
|
models/policy-object-class.ts
|
|
79
80
|
models/policy-object-dto.ts
|
|
@@ -82,7 +83,6 @@ models/policy-premium-item-class.ts
|
|
|
82
83
|
models/policy-version-class.ts
|
|
83
84
|
models/premium-formula-class.ts
|
|
84
85
|
models/premium-override-dto.ts
|
|
85
|
-
models/premium-override-request-class.ts
|
|
86
86
|
models/premium-override-request-dto.ts
|
|
87
87
|
models/product-class.ts
|
|
88
88
|
models/product-factor-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.
|
|
20
|
+
npm install @emilgroup/insurance-sdk-node@1.7.0 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/insurance-sdk-node@1.
|
|
24
|
+
yarn add @emilgroup/insurance-sdk-node@1.7.0
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `PoliciesApi`.
|
package/api/policies-api.ts
CHANGED
|
@@ -208,7 +208,7 @@ export const PoliciesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
208
208
|
* @param {string} [filter] List filter
|
|
209
209
|
* @param {string} [search] Search query.
|
|
210
210
|
* @param {string} [order] Ordering criteria.
|
|
211
|
-
* @param {string} [expand]
|
|
211
|
+
* @param {string} [expand] Extra fields to fetch.
|
|
212
212
|
* @param {*} [options] Override http request option.
|
|
213
213
|
* @throws {RequiredError}
|
|
214
214
|
*/
|
|
@@ -525,7 +525,7 @@ export const PoliciesApiFp = function(configuration?: Configuration) {
|
|
|
525
525
|
* @param {string} [filter] List filter
|
|
526
526
|
* @param {string} [search] Search query.
|
|
527
527
|
* @param {string} [order] Ordering criteria.
|
|
528
|
-
* @param {string} [expand]
|
|
528
|
+
* @param {string} [expand] Extra fields to fetch.
|
|
529
529
|
* @param {*} [options] Override http request option.
|
|
530
530
|
* @throws {RequiredError}
|
|
531
531
|
*/
|
|
@@ -638,7 +638,7 @@ export const PoliciesApiFactory = function (configuration?: Configuration, baseP
|
|
|
638
638
|
* @param {string} [filter] List filter
|
|
639
639
|
* @param {string} [search] Search query.
|
|
640
640
|
* @param {string} [order] Ordering criteria.
|
|
641
|
-
* @param {string} [expand]
|
|
641
|
+
* @param {string} [expand] Extra fields to fetch.
|
|
642
642
|
* @param {*} [options] Override http request option.
|
|
643
643
|
* @throws {RequiredError}
|
|
644
644
|
*/
|
|
@@ -821,7 +821,7 @@ export interface PoliciesApiListPoliciesRequest {
|
|
|
821
821
|
readonly order?: string
|
|
822
822
|
|
|
823
823
|
/**
|
|
824
|
-
*
|
|
824
|
+
* Extra fields to fetch.
|
|
825
825
|
* @type {string}
|
|
826
826
|
* @memberof PoliciesApiListPolicies
|
|
827
827
|
*/
|
package/api/products-api.ts
CHANGED
|
@@ -202,7 +202,7 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
202
202
|
* @param {string} [filter] List filter
|
|
203
203
|
* @param {string} [search] Search query.
|
|
204
204
|
* @param {string} [order] Ordering criteria.
|
|
205
|
-
* @param {string} [expand]
|
|
205
|
+
* @param {string} [expand] Extra fields to fetch.
|
|
206
206
|
* @param {*} [options] Override http request option.
|
|
207
207
|
* @throws {RequiredError}
|
|
208
208
|
*/
|
|
@@ -372,7 +372,7 @@ export const ProductsApiFp = function(configuration?: Configuration) {
|
|
|
372
372
|
* @param {string} [filter] List filter
|
|
373
373
|
* @param {string} [search] Search query.
|
|
374
374
|
* @param {string} [order] Ordering criteria.
|
|
375
|
-
* @param {string} [expand]
|
|
375
|
+
* @param {string} [expand] Extra fields to fetch.
|
|
376
376
|
* @param {*} [options] Override http request option.
|
|
377
377
|
* @throws {RequiredError}
|
|
378
378
|
*/
|
|
@@ -447,7 +447,7 @@ export const ProductsApiFactory = function (configuration?: Configuration, baseP
|
|
|
447
447
|
* @param {string} [filter] List filter
|
|
448
448
|
* @param {string} [search] Search query.
|
|
449
449
|
* @param {string} [order] Ordering criteria.
|
|
450
|
-
* @param {string} [expand]
|
|
450
|
+
* @param {string} [expand] Extra fields to fetch.
|
|
451
451
|
* @param {*} [options] Override http request option.
|
|
452
452
|
* @throws {RequiredError}
|
|
453
453
|
*/
|
|
@@ -595,7 +595,7 @@ export interface ProductsApiListProductsRequest {
|
|
|
595
595
|
readonly order?: string
|
|
596
596
|
|
|
597
597
|
/**
|
|
598
|
-
*
|
|
598
|
+
* Extra fields to fetch.
|
|
599
599
|
* @type {string}
|
|
600
600
|
* @memberof ProductsApiListProducts
|
|
601
601
|
*/
|
package/api.ts
CHANGED
|
@@ -66,7 +66,7 @@ export declare const PoliciesApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
66
66
|
* @param {string} [filter] List filter
|
|
67
67
|
* @param {string} [search] Search query.
|
|
68
68
|
* @param {string} [order] Ordering criteria.
|
|
69
|
-
* @param {string} [expand]
|
|
69
|
+
* @param {string} [expand] Extra fields to fetch.
|
|
70
70
|
* @param {*} [options] Override http request option.
|
|
71
71
|
* @throws {RequiredError}
|
|
72
72
|
*/
|
|
@@ -154,7 +154,7 @@ export declare const PoliciesApiFp: (configuration?: Configuration) => {
|
|
|
154
154
|
* @param {string} [filter] List filter
|
|
155
155
|
* @param {string} [search] Search query.
|
|
156
156
|
* @param {string} [order] Ordering criteria.
|
|
157
|
-
* @param {string} [expand]
|
|
157
|
+
* @param {string} [expand] Extra fields to fetch.
|
|
158
158
|
* @param {*} [options] Override http request option.
|
|
159
159
|
* @throws {RequiredError}
|
|
160
160
|
*/
|
|
@@ -242,7 +242,7 @@ export declare const PoliciesApiFactory: (configuration?: Configuration, basePat
|
|
|
242
242
|
* @param {string} [filter] List filter
|
|
243
243
|
* @param {string} [search] Search query.
|
|
244
244
|
* @param {string} [order] Ordering criteria.
|
|
245
|
-
* @param {string} [expand]
|
|
245
|
+
* @param {string} [expand] Extra fields to fetch.
|
|
246
246
|
* @param {*} [options] Override http request option.
|
|
247
247
|
* @throws {RequiredError}
|
|
248
248
|
*/
|
|
@@ -399,7 +399,7 @@ export interface PoliciesApiListPoliciesRequest {
|
|
|
399
399
|
*/
|
|
400
400
|
readonly order?: string;
|
|
401
401
|
/**
|
|
402
|
-
*
|
|
402
|
+
* Extra fields to fetch.
|
|
403
403
|
* @type {string}
|
|
404
404
|
* @memberof PoliciesApiListPolicies
|
|
405
405
|
*/
|
package/dist/api/policies-api.js
CHANGED
|
@@ -258,7 +258,7 @@ var PoliciesApiAxiosParamCreator = function (configuration) {
|
|
|
258
258
|
* @param {string} [filter] List filter
|
|
259
259
|
* @param {string} [search] Search query.
|
|
260
260
|
* @param {string} [order] Ordering criteria.
|
|
261
|
-
* @param {string} [expand]
|
|
261
|
+
* @param {string} [expand] Extra fields to fetch.
|
|
262
262
|
* @param {*} [options] Override http request option.
|
|
263
263
|
* @throws {RequiredError}
|
|
264
264
|
*/
|
|
@@ -608,7 +608,7 @@ var PoliciesApiFp = function (configuration) {
|
|
|
608
608
|
* @param {string} [filter] List filter
|
|
609
609
|
* @param {string} [search] Search query.
|
|
610
610
|
* @param {string} [order] Ordering criteria.
|
|
611
|
-
* @param {string} [expand]
|
|
611
|
+
* @param {string} [expand] Extra fields to fetch.
|
|
612
612
|
* @param {*} [options] Override http request option.
|
|
613
613
|
* @throws {RequiredError}
|
|
614
614
|
*/
|
|
@@ -766,7 +766,7 @@ var PoliciesApiFactory = function (configuration, basePath, axios) {
|
|
|
766
766
|
* @param {string} [filter] List filter
|
|
767
767
|
* @param {string} [search] Search query.
|
|
768
768
|
* @param {string} [order] Ordering criteria.
|
|
769
|
-
* @param {string} [expand]
|
|
769
|
+
* @param {string} [expand] Extra fields to fetch.
|
|
770
770
|
* @param {*} [options] Override http request option.
|
|
771
771
|
* @throws {RequiredError}
|
|
772
772
|
*/
|
|
@@ -62,7 +62,7 @@ export declare const ProductsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
62
62
|
* @param {string} [filter] List filter
|
|
63
63
|
* @param {string} [search] Search query.
|
|
64
64
|
* @param {string} [order] Ordering criteria.
|
|
65
|
-
* @param {string} [expand]
|
|
65
|
+
* @param {string} [expand] Extra fields to fetch.
|
|
66
66
|
* @param {*} [options] Override http request option.
|
|
67
67
|
* @throws {RequiredError}
|
|
68
68
|
*/
|
|
@@ -121,7 +121,7 @@ export declare const ProductsApiFp: (configuration?: Configuration) => {
|
|
|
121
121
|
* @param {string} [filter] List filter
|
|
122
122
|
* @param {string} [search] Search query.
|
|
123
123
|
* @param {string} [order] Ordering criteria.
|
|
124
|
-
* @param {string} [expand]
|
|
124
|
+
* @param {string} [expand] Extra fields to fetch.
|
|
125
125
|
* @param {*} [options] Override http request option.
|
|
126
126
|
* @throws {RequiredError}
|
|
127
127
|
*/
|
|
@@ -180,7 +180,7 @@ export declare const ProductsApiFactory: (configuration?: Configuration, basePat
|
|
|
180
180
|
* @param {string} [filter] List filter
|
|
181
181
|
* @param {string} [search] Search query.
|
|
182
182
|
* @param {string} [order] Ordering criteria.
|
|
183
|
-
* @param {string} [expand]
|
|
183
|
+
* @param {string} [expand] Extra fields to fetch.
|
|
184
184
|
* @param {*} [options] Override http request option.
|
|
185
185
|
* @throws {RequiredError}
|
|
186
186
|
*/
|
|
@@ -308,7 +308,7 @@ export interface ProductsApiListProductsRequest {
|
|
|
308
308
|
*/
|
|
309
309
|
readonly order?: string;
|
|
310
310
|
/**
|
|
311
|
-
*
|
|
311
|
+
* Extra fields to fetch.
|
|
312
312
|
* @type {string}
|
|
313
313
|
* @memberof ProductsApiListProducts
|
|
314
314
|
*/
|
package/dist/api/products-api.js
CHANGED
|
@@ -260,7 +260,7 @@ var ProductsApiAxiosParamCreator = function (configuration) {
|
|
|
260
260
|
* @param {string} [filter] List filter
|
|
261
261
|
* @param {string} [search] Search query.
|
|
262
262
|
* @param {string} [order] Ordering criteria.
|
|
263
|
-
* @param {string} [expand]
|
|
263
|
+
* @param {string} [expand] Extra fields to fetch.
|
|
264
264
|
* @param {*} [options] Override http request option.
|
|
265
265
|
* @throws {RequiredError}
|
|
266
266
|
*/
|
|
@@ -456,7 +456,7 @@ var ProductsApiFp = function (configuration) {
|
|
|
456
456
|
* @param {string} [filter] List filter
|
|
457
457
|
* @param {string} [search] Search query.
|
|
458
458
|
* @param {string} [order] Ordering criteria.
|
|
459
|
-
* @param {string} [expand]
|
|
459
|
+
* @param {string} [expand] Extra fields to fetch.
|
|
460
460
|
* @param {*} [options] Override http request option.
|
|
461
461
|
* @throws {RequiredError}
|
|
462
462
|
*/
|
|
@@ -549,7 +549,7 @@ var ProductsApiFactory = function (configuration, basePath, axios) {
|
|
|
549
549
|
* @param {string} [filter] List filter
|
|
550
550
|
* @param {string} [search] Search query.
|
|
551
551
|
* @param {string} [order] Ordering criteria.
|
|
552
|
-
* @param {string} [expand]
|
|
552
|
+
* @param {string} [expand] Extra fields to fetch.
|
|
553
553
|
* @param {*} [options] Override http request option.
|
|
554
554
|
* @throws {RequiredError}
|
|
555
555
|
*/
|
package/dist/api.d.ts
CHANGED
|
@@ -20,5 +20,6 @@ export * from './api/product-versions-api';
|
|
|
20
20
|
export * from './api/products-api';
|
|
21
21
|
export declare enum Environment {
|
|
22
22
|
Production = "https://apiv2.emil.de",
|
|
23
|
-
Test = "https://apiv2-test.emil.de"
|
|
23
|
+
Test = "https://apiv2-test.emil.de",
|
|
24
|
+
Development = "https://apiv2-dev.emil.de"
|
|
24
25
|
}
|
package/dist/api.js
CHANGED
|
@@ -41,4 +41,5 @@ var Environment;
|
|
|
41
41
|
(function (Environment) {
|
|
42
42
|
Environment["Production"] = "https://apiv2.emil.de";
|
|
43
43
|
Environment["Test"] = "https://apiv2-test.emil.de";
|
|
44
|
+
Environment["Development"] = "https://apiv2-dev.emil.de";
|
|
44
45
|
})(Environment = exports.Environment || (exports.Environment = {}));
|
|
@@ -74,25 +74,13 @@ export interface CreateAccountRequestDto {
|
|
|
74
74
|
* @type {string}
|
|
75
75
|
* @memberof CreateAccountRequestDto
|
|
76
76
|
*/
|
|
77
|
-
'birthDate'
|
|
77
|
+
'birthDate': string;
|
|
78
78
|
/**
|
|
79
79
|
* Customer phone number.
|
|
80
80
|
* @type {string}
|
|
81
81
|
* @memberof CreateAccountRequestDto
|
|
82
82
|
*/
|
|
83
83
|
'phone': string;
|
|
84
|
-
/**
|
|
85
|
-
* Optional field to enter the type of the account.
|
|
86
|
-
* @type {string}
|
|
87
|
-
* @memberof CreateAccountRequestDto
|
|
88
|
-
*/
|
|
89
|
-
'type'?: CreateAccountRequestDtoTypeEnum;
|
|
90
|
-
/**
|
|
91
|
-
* The account\'s company name (Required for account of type org).
|
|
92
|
-
* @type {string}
|
|
93
|
-
* @memberof CreateAccountRequestDto
|
|
94
|
-
*/
|
|
95
|
-
'companyName'?: string;
|
|
96
84
|
/**
|
|
97
85
|
* Account number.
|
|
98
86
|
* @type {string}
|
|
@@ -113,8 +101,3 @@ export declare const CreateAccountRequestDtoTitleEnum: {
|
|
|
113
101
|
readonly ProfDrMed: "Prof. Dr. med.";
|
|
114
102
|
};
|
|
115
103
|
export type CreateAccountRequestDtoTitleEnum = typeof CreateAccountRequestDtoTitleEnum[keyof typeof CreateAccountRequestDtoTitleEnum];
|
|
116
|
-
export declare const CreateAccountRequestDtoTypeEnum: {
|
|
117
|
-
readonly Person: "person";
|
|
118
|
-
readonly Org: "org";
|
|
119
|
-
};
|
|
120
|
-
export type CreateAccountRequestDtoTypeEnum = typeof CreateAccountRequestDtoTypeEnum[keyof typeof CreateAccountRequestDtoTypeEnum];
|
|
@@ -13,14 +13,10 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
16
|
+
exports.CreateAccountRequestDtoTitleEnum = void 0;
|
|
17
17
|
exports.CreateAccountRequestDtoTitleEnum = {
|
|
18
18
|
Empty: '',
|
|
19
19
|
Dr: 'Dr.',
|
|
20
20
|
DrMed: 'Dr. med.',
|
|
21
21
|
ProfDrMed: 'Prof. Dr. med.'
|
|
22
22
|
};
|
|
23
|
-
exports.CreateAccountRequestDtoTypeEnum = {
|
|
24
|
-
Person: 'person',
|
|
25
|
-
Org: 'org'
|
|
26
|
-
};
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import {
|
|
12
|
+
import { OmitTypeClass } from './omit-type-class';
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
@@ -18,8 +18,8 @@ import { InsuredObjectClass } from './insured-object-class';
|
|
|
18
18
|
export interface CreateInsuredObjectResponseClass {
|
|
19
19
|
/**
|
|
20
20
|
* Insured object.
|
|
21
|
-
* @type {
|
|
21
|
+
* @type {OmitTypeClass}
|
|
22
22
|
* @memberof CreateInsuredObjectResponseClass
|
|
23
23
|
*/
|
|
24
|
-
'insuredObject':
|
|
24
|
+
'insuredObject': OmitTypeClass;
|
|
25
25
|
}
|
|
@@ -34,7 +34,7 @@ export interface CreateProductRequestDto {
|
|
|
34
34
|
*/
|
|
35
35
|
'contractDurationDays': number;
|
|
36
36
|
/**
|
|
37
|
-
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
37
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id. In this case, the template used for the Product.
|
|
38
38
|
* @type {string}
|
|
39
39
|
* @memberof CreateProductRequestDto
|
|
40
40
|
*/
|
package/dist/models/index.d.ts
CHANGED
|
@@ -54,6 +54,7 @@ export * from './list-product-field-types-response-class';
|
|
|
54
54
|
export * from './list-product-fields-response-class';
|
|
55
55
|
export * from './list-products-response-class';
|
|
56
56
|
export * from './list-request-dto';
|
|
57
|
+
export * from './omit-type-class';
|
|
57
58
|
export * from './policy-class';
|
|
58
59
|
export * from './policy-object-class';
|
|
59
60
|
export * from './policy-object-dto';
|
|
@@ -62,7 +63,6 @@ export * from './policy-premium-item-class';
|
|
|
62
63
|
export * from './policy-version-class';
|
|
63
64
|
export * from './premium-formula-class';
|
|
64
65
|
export * from './premium-override-dto';
|
|
65
|
-
export * from './premium-override-request-class';
|
|
66
66
|
export * from './premium-override-request-dto';
|
|
67
67
|
export * from './product-class';
|
|
68
68
|
export * from './product-factor-class';
|
package/dist/models/index.js
CHANGED
|
@@ -70,6 +70,7 @@ __exportStar(require("./list-product-field-types-response-class"), exports);
|
|
|
70
70
|
__exportStar(require("./list-product-fields-response-class"), exports);
|
|
71
71
|
__exportStar(require("./list-products-response-class"), exports);
|
|
72
72
|
__exportStar(require("./list-request-dto"), exports);
|
|
73
|
+
__exportStar(require("./omit-type-class"), exports);
|
|
73
74
|
__exportStar(require("./policy-class"), exports);
|
|
74
75
|
__exportStar(require("./policy-object-class"), exports);
|
|
75
76
|
__exportStar(require("./policy-object-dto"), exports);
|
|
@@ -78,7 +79,6 @@ __exportStar(require("./policy-premium-item-class"), exports);
|
|
|
78
79
|
__exportStar(require("./policy-version-class"), exports);
|
|
79
80
|
__exportStar(require("./premium-formula-class"), exports);
|
|
80
81
|
__exportStar(require("./premium-override-dto"), exports);
|
|
81
|
-
__exportStar(require("./premium-override-request-class"), exports);
|
|
82
82
|
__exportStar(require("./premium-override-request-dto"), exports);
|
|
83
83
|
__exportStar(require("./product-class"), exports);
|
|
84
84
|
__exportStar(require("./product-factor-class"), exports);
|
|
@@ -28,7 +28,7 @@ export interface InsuredObjectTypeClass {
|
|
|
28
28
|
*/
|
|
29
29
|
'name': string;
|
|
30
30
|
/**
|
|
31
|
-
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
31
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id. In this case, the template used for the Insured object type.
|
|
32
32
|
* @type {string}
|
|
33
33
|
* @memberof InsuredObjectTypeClass
|
|
34
34
|
*/
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
import { CreateAccountRequestDto } from './create-account-request-dto';
|
|
13
13
|
import { CreatePolicyRequestDto } from './create-policy-request-dto';
|
|
14
14
|
import { LeadBankAccountClass } from './lead-bank-account-class';
|
|
15
|
-
import {
|
|
15
|
+
import { PremiumOverrideDto } from './premium-override-dto';
|
|
16
16
|
import { UploadedDocumentDto } from './uploaded-document-dto';
|
|
17
17
|
/**
|
|
18
18
|
*
|
|
@@ -31,13 +31,13 @@ export interface LeadClass {
|
|
|
31
31
|
* @type {string}
|
|
32
32
|
* @memberof LeadClass
|
|
33
33
|
*/
|
|
34
|
-
'code'
|
|
34
|
+
'code': string;
|
|
35
35
|
/**
|
|
36
36
|
* Lead status.
|
|
37
37
|
* @type {string}
|
|
38
38
|
* @memberof LeadClass
|
|
39
39
|
*/
|
|
40
|
-
'status':
|
|
40
|
+
'status': string;
|
|
41
41
|
/**
|
|
42
42
|
* Lead account.
|
|
43
43
|
* @type {CreateAccountRequestDto}
|
|
@@ -55,31 +55,31 @@ export interface LeadClass {
|
|
|
55
55
|
* @type {LeadBankAccountClass}
|
|
56
56
|
* @memberof LeadClass
|
|
57
57
|
*/
|
|
58
|
-
'bankAccount'
|
|
58
|
+
'bankAccount': LeadBankAccountClass;
|
|
59
59
|
/**
|
|
60
60
|
* Custom data for custom application creation.
|
|
61
61
|
* @type {object}
|
|
62
62
|
* @memberof LeadClass
|
|
63
63
|
*/
|
|
64
|
-
'customData'
|
|
64
|
+
'customData': object;
|
|
65
65
|
/**
|
|
66
66
|
* List of uploaded document codes.
|
|
67
67
|
* @type {UploadedDocumentDto}
|
|
68
68
|
* @memberof LeadClass
|
|
69
69
|
*/
|
|
70
|
-
'uploadedDocument'
|
|
70
|
+
'uploadedDocument': UploadedDocumentDto;
|
|
71
71
|
/**
|
|
72
|
-
*
|
|
73
|
-
* @type {
|
|
72
|
+
* Premium overrides.
|
|
73
|
+
* @type {Array<PremiumOverrideDto>}
|
|
74
74
|
* @memberof LeadClass
|
|
75
75
|
*/
|
|
76
|
-
'
|
|
76
|
+
'premiumOverrides': Array<PremiumOverrideDto>;
|
|
77
77
|
/**
|
|
78
|
-
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
78
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id. In this case, the template used for the product.
|
|
79
79
|
* @type {string}
|
|
80
80
|
* @memberof LeadClass
|
|
81
81
|
*/
|
|
82
|
-
'productSlug'
|
|
82
|
+
'productSlug': string;
|
|
83
83
|
/**
|
|
84
84
|
* Time at which the object was created.
|
|
85
85
|
* @type {string}
|
|
@@ -93,10 +93,3 @@ export interface LeadClass {
|
|
|
93
93
|
*/
|
|
94
94
|
'updatedAt': string;
|
|
95
95
|
}
|
|
96
|
-
export declare const LeadClassStatusEnum: {
|
|
97
|
-
readonly Created: "created";
|
|
98
|
-
readonly Approved: "approved";
|
|
99
|
-
readonly Activated: "activated";
|
|
100
|
-
readonly Declined: "declined";
|
|
101
|
-
};
|
|
102
|
-
export type LeadClassStatusEnum = typeof LeadClassStatusEnum[keyof typeof LeadClassStatusEnum];
|
|
@@ -13,10 +13,3 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.LeadClassStatusEnum = void 0;
|
|
17
|
-
exports.LeadClassStatusEnum = {
|
|
18
|
-
Created: 'created',
|
|
19
|
-
Approved: 'approved',
|
|
20
|
-
Activated: 'activated',
|
|
21
|
-
Declined: 'declined'
|
|
22
|
-
};
|
|
@@ -17,7 +17,7 @@ import { InsuredObjectTypeClass } from './insured-object-type-class';
|
|
|
17
17
|
*/
|
|
18
18
|
export interface ListInsuredObjectTypesResponseClass {
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
20
|
+
* Insured object types.
|
|
21
21
|
* @type {Array<InsuredObjectTypeClass>}
|
|
22
22
|
* @memberof ListInsuredObjectTypesResponseClass
|
|
23
23
|
*/
|
|
@@ -0,0 +1,60 @@
|
|
|
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 OmitTypeClass
|
|
16
|
+
*/
|
|
17
|
+
export interface OmitTypeClass {
|
|
18
|
+
/**
|
|
19
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof OmitTypeClass
|
|
22
|
+
*/
|
|
23
|
+
'id': number;
|
|
24
|
+
/**
|
|
25
|
+
* Unique identifier referencing the Product version.
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof OmitTypeClass
|
|
28
|
+
*/
|
|
29
|
+
'productVersionId': number;
|
|
30
|
+
/**
|
|
31
|
+
* Insured object name.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof OmitTypeClass
|
|
34
|
+
*/
|
|
35
|
+
'name': string;
|
|
36
|
+
/**
|
|
37
|
+
* Insured object label.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof OmitTypeClass
|
|
40
|
+
*/
|
|
41
|
+
'label': string;
|
|
42
|
+
/**
|
|
43
|
+
* Unique identifier referencing the Insured object type.
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof OmitTypeClass
|
|
46
|
+
*/
|
|
47
|
+
'insuredObjectTypeId': number;
|
|
48
|
+
/**
|
|
49
|
+
* Time at which the object was created.
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof OmitTypeClass
|
|
52
|
+
*/
|
|
53
|
+
'createdAt': string;
|
|
54
|
+
/**
|
|
55
|
+
* Time at which the object was updated.
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof OmitTypeClass
|
|
58
|
+
*/
|
|
59
|
+
'updatedAt': string;
|
|
60
|
+
}
|
|
@@ -40,7 +40,7 @@ export interface PolicyClass {
|
|
|
40
40
|
* @type {string}
|
|
41
41
|
* @memberof PolicyClass
|
|
42
42
|
*/
|
|
43
|
-
'internalPolicyNumber'
|
|
43
|
+
'internalPolicyNumber': string;
|
|
44
44
|
/**
|
|
45
45
|
* Unique identifier referencing the policy product version.
|
|
46
46
|
* @type {number}
|
|
@@ -70,7 +70,7 @@ export interface PolicyClass {
|
|
|
70
70
|
* @type {string}
|
|
71
71
|
* @memberof PolicyClass
|
|
72
72
|
*/
|
|
73
|
-
'holder'
|
|
73
|
+
'holder': string;
|
|
74
74
|
/**
|
|
75
75
|
* Policy versions.
|
|
76
76
|
* @type {Array<PolicyVersionClass>}
|
|
@@ -82,13 +82,13 @@ export interface PolicyClass {
|
|
|
82
82
|
* @type {ProductClass}
|
|
83
83
|
* @memberof PolicyClass
|
|
84
84
|
*/
|
|
85
|
-
'product'
|
|
85
|
+
'product': ProductClass;
|
|
86
86
|
/**
|
|
87
87
|
* The date the policy will get started.
|
|
88
88
|
* @type {string}
|
|
89
89
|
* @memberof PolicyClass
|
|
90
90
|
*/
|
|
91
|
-
'policyStartDate': string
|
|
91
|
+
'policyStartDate': string;
|
|
92
92
|
/**
|
|
93
93
|
* Time at which the object was created.
|
|
94
94
|
* @type {string}
|
|
@@ -36,7 +36,7 @@ export interface ProductClass {
|
|
|
36
36
|
*/
|
|
37
37
|
'name': string;
|
|
38
38
|
/**
|
|
39
|
-
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
39
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id. In this case, the template used for the product.
|
|
40
40
|
* @type {string}
|
|
41
41
|
* @memberof ProductClass
|
|
42
42
|
*/
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import { ProductFactorValueClass } from './product-factor-value-class';
|
|
13
|
+
import { ProductVersionClass } from './product-version-class';
|
|
13
14
|
/**
|
|
14
15
|
*
|
|
15
16
|
* @export
|
|
@@ -46,6 +47,12 @@ export interface ProductFactorClass {
|
|
|
46
47
|
* @memberof ProductFactorClass
|
|
47
48
|
*/
|
|
48
49
|
'values': Array<ProductFactorValueClass>;
|
|
50
|
+
/**
|
|
51
|
+
* Factor product version.
|
|
52
|
+
* @type {ProductVersionClass}
|
|
53
|
+
* @memberof ProductFactorClass
|
|
54
|
+
*/
|
|
55
|
+
'productVersion': ProductVersionClass;
|
|
49
56
|
/**
|
|
50
57
|
* Time at which the object was created.
|
|
51
58
|
* @type {string}
|
|
@@ -86,19 +86,19 @@ export interface ProductFieldClass {
|
|
|
86
86
|
* @type {object}
|
|
87
87
|
* @memberof ProductFieldClass
|
|
88
88
|
*/
|
|
89
|
-
'defaultValue': object
|
|
89
|
+
'defaultValue': object;
|
|
90
90
|
/**
|
|
91
91
|
* Minimum value of the field. For the field type date-time, it should be { \"templated\" : \"{{today}}\" }
|
|
92
92
|
* @type {object}
|
|
93
93
|
* @memberof ProductFieldClass
|
|
94
94
|
*/
|
|
95
|
-
'minValue': object
|
|
95
|
+
'minValue': object;
|
|
96
96
|
/**
|
|
97
97
|
* Maximum value of the field. For the field type date-time, it should be { \"templated\" : \"{{today}}\" }
|
|
98
98
|
* @type {object}
|
|
99
99
|
* @memberof ProductFieldClass
|
|
100
100
|
*/
|
|
101
|
-
'maxValue': object
|
|
101
|
+
'maxValue': object;
|
|
102
102
|
/**
|
|
103
103
|
* Time at which the object was created.
|
|
104
104
|
* @type {string}
|
|
@@ -86,19 +86,19 @@ export interface SharedProductFieldClass {
|
|
|
86
86
|
* @type {object}
|
|
87
87
|
* @memberof SharedProductFieldClass
|
|
88
88
|
*/
|
|
89
|
-
'defaultValue': object
|
|
89
|
+
'defaultValue': object;
|
|
90
90
|
/**
|
|
91
91
|
* Minimum value of the field. For the field type date-time, it should be { \"templated\" : \"{{today}}\" }
|
|
92
92
|
* @type {object}
|
|
93
93
|
* @memberof SharedProductFieldClass
|
|
94
94
|
*/
|
|
95
|
-
'minValue': object
|
|
95
|
+
'minValue': object;
|
|
96
96
|
/**
|
|
97
97
|
* Maximum value of the field. For the field type date-time, it should be { \"templated\" : \"{{today}}\" }
|
|
98
98
|
* @type {object}
|
|
99
99
|
* @memberof SharedProductFieldClass
|
|
100
100
|
*/
|
|
101
|
-
'maxValue': object
|
|
101
|
+
'maxValue': object;
|
|
102
102
|
/**
|
|
103
103
|
* Time at which the object was created.
|
|
104
104
|
* @type {string}
|
|
@@ -28,7 +28,7 @@ export interface UpdateProductRequestDto {
|
|
|
28
28
|
*/
|
|
29
29
|
'contractDurationDays': number;
|
|
30
30
|
/**
|
|
31
|
-
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
31
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id. In this case, the template used for the Product.
|
|
32
32
|
* @type {string}
|
|
33
33
|
* @memberof UpdateProductRequestDto
|
|
34
34
|
*/
|
|
@@ -79,25 +79,13 @@ export interface CreateAccountRequestDto {
|
|
|
79
79
|
* @type {string}
|
|
80
80
|
* @memberof CreateAccountRequestDto
|
|
81
81
|
*/
|
|
82
|
-
'birthDate'
|
|
82
|
+
'birthDate': string;
|
|
83
83
|
/**
|
|
84
84
|
* Customer phone number.
|
|
85
85
|
* @type {string}
|
|
86
86
|
* @memberof CreateAccountRequestDto
|
|
87
87
|
*/
|
|
88
88
|
'phone': string;
|
|
89
|
-
/**
|
|
90
|
-
* Optional field to enter the type of the account.
|
|
91
|
-
* @type {string}
|
|
92
|
-
* @memberof CreateAccountRequestDto
|
|
93
|
-
*/
|
|
94
|
-
'type'?: CreateAccountRequestDtoTypeEnum;
|
|
95
|
-
/**
|
|
96
|
-
* The account\'s company name (Required for account of type org).
|
|
97
|
-
* @type {string}
|
|
98
|
-
* @memberof CreateAccountRequestDto
|
|
99
|
-
*/
|
|
100
|
-
'companyName'?: string;
|
|
101
89
|
/**
|
|
102
90
|
* Account number.
|
|
103
91
|
* @type {string}
|
|
@@ -120,11 +108,5 @@ export const CreateAccountRequestDtoTitleEnum = {
|
|
|
120
108
|
} as const;
|
|
121
109
|
|
|
122
110
|
export type CreateAccountRequestDtoTitleEnum = typeof CreateAccountRequestDtoTitleEnum[keyof typeof CreateAccountRequestDtoTitleEnum];
|
|
123
|
-
export const CreateAccountRequestDtoTypeEnum = {
|
|
124
|
-
Person: 'person',
|
|
125
|
-
Org: 'org'
|
|
126
|
-
} as const;
|
|
127
|
-
|
|
128
|
-
export type CreateAccountRequestDtoTypeEnum = typeof CreateAccountRequestDtoTypeEnum[keyof typeof CreateAccountRequestDtoTypeEnum];
|
|
129
111
|
|
|
130
112
|
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
import {
|
|
16
|
+
import { OmitTypeClass } from './omit-type-class';
|
|
17
17
|
|
|
18
18
|
/**
|
|
19
19
|
*
|
|
@@ -23,9 +23,9 @@ import { InsuredObjectClass } from './insured-object-class';
|
|
|
23
23
|
export interface CreateInsuredObjectResponseClass {
|
|
24
24
|
/**
|
|
25
25
|
* Insured object.
|
|
26
|
-
* @type {
|
|
26
|
+
* @type {OmitTypeClass}
|
|
27
27
|
* @memberof CreateInsuredObjectResponseClass
|
|
28
28
|
*/
|
|
29
|
-
'insuredObject':
|
|
29
|
+
'insuredObject': OmitTypeClass;
|
|
30
30
|
}
|
|
31
31
|
|
|
@@ -39,7 +39,7 @@ export interface CreateProductRequestDto {
|
|
|
39
39
|
*/
|
|
40
40
|
'contractDurationDays': number;
|
|
41
41
|
/**
|
|
42
|
-
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
42
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id. In this case, the template used for the Product.
|
|
43
43
|
* @type {string}
|
|
44
44
|
* @memberof CreateProductRequestDto
|
|
45
45
|
*/
|
package/models/index.ts
CHANGED
|
@@ -54,6 +54,7 @@ export * from './list-product-field-types-response-class';
|
|
|
54
54
|
export * from './list-product-fields-response-class';
|
|
55
55
|
export * from './list-products-response-class';
|
|
56
56
|
export * from './list-request-dto';
|
|
57
|
+
export * from './omit-type-class';
|
|
57
58
|
export * from './policy-class';
|
|
58
59
|
export * from './policy-object-class';
|
|
59
60
|
export * from './policy-object-dto';
|
|
@@ -62,7 +63,6 @@ export * from './policy-premium-item-class';
|
|
|
62
63
|
export * from './policy-version-class';
|
|
63
64
|
export * from './premium-formula-class';
|
|
64
65
|
export * from './premium-override-dto';
|
|
65
|
-
export * from './premium-override-request-class';
|
|
66
66
|
export * from './premium-override-request-dto';
|
|
67
67
|
export * from './product-class';
|
|
68
68
|
export * from './product-factor-class';
|
|
@@ -33,7 +33,7 @@ export interface InsuredObjectTypeClass {
|
|
|
33
33
|
*/
|
|
34
34
|
'name': string;
|
|
35
35
|
/**
|
|
36
|
-
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
36
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id. In this case, the template used for the Insured object type.
|
|
37
37
|
* @type {string}
|
|
38
38
|
* @memberof InsuredObjectTypeClass
|
|
39
39
|
*/
|
package/models/lead-class.ts
CHANGED
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
import { CreateAccountRequestDto } from './create-account-request-dto';
|
|
17
17
|
import { CreatePolicyRequestDto } from './create-policy-request-dto';
|
|
18
18
|
import { LeadBankAccountClass } from './lead-bank-account-class';
|
|
19
|
-
import {
|
|
19
|
+
import { PremiumOverrideDto } from './premium-override-dto';
|
|
20
20
|
import { UploadedDocumentDto } from './uploaded-document-dto';
|
|
21
21
|
|
|
22
22
|
/**
|
|
@@ -36,13 +36,13 @@ export interface LeadClass {
|
|
|
36
36
|
* @type {string}
|
|
37
37
|
* @memberof LeadClass
|
|
38
38
|
*/
|
|
39
|
-
'code'
|
|
39
|
+
'code': string;
|
|
40
40
|
/**
|
|
41
41
|
* Lead status.
|
|
42
42
|
* @type {string}
|
|
43
43
|
* @memberof LeadClass
|
|
44
44
|
*/
|
|
45
|
-
'status':
|
|
45
|
+
'status': string;
|
|
46
46
|
/**
|
|
47
47
|
* Lead account.
|
|
48
48
|
* @type {CreateAccountRequestDto}
|
|
@@ -60,31 +60,31 @@ export interface LeadClass {
|
|
|
60
60
|
* @type {LeadBankAccountClass}
|
|
61
61
|
* @memberof LeadClass
|
|
62
62
|
*/
|
|
63
|
-
'bankAccount'
|
|
63
|
+
'bankAccount': LeadBankAccountClass;
|
|
64
64
|
/**
|
|
65
65
|
* Custom data for custom application creation.
|
|
66
66
|
* @type {object}
|
|
67
67
|
* @memberof LeadClass
|
|
68
68
|
*/
|
|
69
|
-
'customData'
|
|
69
|
+
'customData': object;
|
|
70
70
|
/**
|
|
71
71
|
* List of uploaded document codes.
|
|
72
72
|
* @type {UploadedDocumentDto}
|
|
73
73
|
* @memberof LeadClass
|
|
74
74
|
*/
|
|
75
|
-
'uploadedDocument'
|
|
75
|
+
'uploadedDocument': UploadedDocumentDto;
|
|
76
76
|
/**
|
|
77
|
-
*
|
|
78
|
-
* @type {
|
|
77
|
+
* Premium overrides.
|
|
78
|
+
* @type {Array<PremiumOverrideDto>}
|
|
79
79
|
* @memberof LeadClass
|
|
80
80
|
*/
|
|
81
|
-
'
|
|
81
|
+
'premiumOverrides': Array<PremiumOverrideDto>;
|
|
82
82
|
/**
|
|
83
|
-
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
83
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id. In this case, the template used for the product.
|
|
84
84
|
* @type {string}
|
|
85
85
|
* @memberof LeadClass
|
|
86
86
|
*/
|
|
87
|
-
'productSlug'
|
|
87
|
+
'productSlug': string;
|
|
88
88
|
/**
|
|
89
89
|
* Time at which the object was created.
|
|
90
90
|
* @type {string}
|
|
@@ -99,13 +99,3 @@ export interface LeadClass {
|
|
|
99
99
|
'updatedAt': string;
|
|
100
100
|
}
|
|
101
101
|
|
|
102
|
-
export const LeadClassStatusEnum = {
|
|
103
|
-
Created: 'created',
|
|
104
|
-
Approved: 'approved',
|
|
105
|
-
Activated: 'activated',
|
|
106
|
-
Declined: 'declined'
|
|
107
|
-
} as const;
|
|
108
|
-
|
|
109
|
-
export type LeadClassStatusEnum = typeof LeadClassStatusEnum[keyof typeof LeadClassStatusEnum];
|
|
110
|
-
|
|
111
|
-
|
|
@@ -22,7 +22,7 @@ import { InsuredObjectTypeClass } from './insured-object-type-class';
|
|
|
22
22
|
*/
|
|
23
23
|
export interface ListInsuredObjectTypesResponseClass {
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
25
|
+
* Insured object types.
|
|
26
26
|
* @type {Array<InsuredObjectTypeClass>}
|
|
27
27
|
* @memberof ListInsuredObjectTypesResponseClass
|
|
28
28
|
*/
|
|
@@ -0,0 +1,66 @@
|
|
|
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 OmitTypeClass
|
|
21
|
+
*/
|
|
22
|
+
export interface OmitTypeClass {
|
|
23
|
+
/**
|
|
24
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
25
|
+
* @type {number}
|
|
26
|
+
* @memberof OmitTypeClass
|
|
27
|
+
*/
|
|
28
|
+
'id': number;
|
|
29
|
+
/**
|
|
30
|
+
* Unique identifier referencing the Product version.
|
|
31
|
+
* @type {number}
|
|
32
|
+
* @memberof OmitTypeClass
|
|
33
|
+
*/
|
|
34
|
+
'productVersionId': number;
|
|
35
|
+
/**
|
|
36
|
+
* Insured object name.
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof OmitTypeClass
|
|
39
|
+
*/
|
|
40
|
+
'name': string;
|
|
41
|
+
/**
|
|
42
|
+
* Insured object label.
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof OmitTypeClass
|
|
45
|
+
*/
|
|
46
|
+
'label': string;
|
|
47
|
+
/**
|
|
48
|
+
* Unique identifier referencing the Insured object type.
|
|
49
|
+
* @type {number}
|
|
50
|
+
* @memberof OmitTypeClass
|
|
51
|
+
*/
|
|
52
|
+
'insuredObjectTypeId': number;
|
|
53
|
+
/**
|
|
54
|
+
* Time at which the object was created.
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof OmitTypeClass
|
|
57
|
+
*/
|
|
58
|
+
'createdAt': string;
|
|
59
|
+
/**
|
|
60
|
+
* Time at which the object was updated.
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof OmitTypeClass
|
|
63
|
+
*/
|
|
64
|
+
'updatedAt': string;
|
|
65
|
+
}
|
|
66
|
+
|
package/models/policy-class.ts
CHANGED
|
@@ -45,7 +45,7 @@ export interface PolicyClass {
|
|
|
45
45
|
* @type {string}
|
|
46
46
|
* @memberof PolicyClass
|
|
47
47
|
*/
|
|
48
|
-
'internalPolicyNumber'
|
|
48
|
+
'internalPolicyNumber': string;
|
|
49
49
|
/**
|
|
50
50
|
* Unique identifier referencing the policy product version.
|
|
51
51
|
* @type {number}
|
|
@@ -75,7 +75,7 @@ export interface PolicyClass {
|
|
|
75
75
|
* @type {string}
|
|
76
76
|
* @memberof PolicyClass
|
|
77
77
|
*/
|
|
78
|
-
'holder'
|
|
78
|
+
'holder': string;
|
|
79
79
|
/**
|
|
80
80
|
* Policy versions.
|
|
81
81
|
* @type {Array<PolicyVersionClass>}
|
|
@@ -87,13 +87,13 @@ export interface PolicyClass {
|
|
|
87
87
|
* @type {ProductClass}
|
|
88
88
|
* @memberof PolicyClass
|
|
89
89
|
*/
|
|
90
|
-
'product'
|
|
90
|
+
'product': ProductClass;
|
|
91
91
|
/**
|
|
92
92
|
* The date the policy will get started.
|
|
93
93
|
* @type {string}
|
|
94
94
|
* @memberof PolicyClass
|
|
95
95
|
*/
|
|
96
|
-
'policyStartDate': string
|
|
96
|
+
'policyStartDate': string;
|
|
97
97
|
/**
|
|
98
98
|
* Time at which the object was created.
|
|
99
99
|
* @type {string}
|
package/models/product-class.ts
CHANGED
|
@@ -41,7 +41,7 @@ export interface ProductClass {
|
|
|
41
41
|
*/
|
|
42
42
|
'name': string;
|
|
43
43
|
/**
|
|
44
|
-
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
44
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id. In this case, the template used for the product.
|
|
45
45
|
* @type {string}
|
|
46
46
|
* @memberof ProductClass
|
|
47
47
|
*/
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
import { ProductFactorValueClass } from './product-factor-value-class';
|
|
17
|
+
import { ProductVersionClass } from './product-version-class';
|
|
17
18
|
|
|
18
19
|
/**
|
|
19
20
|
*
|
|
@@ -51,6 +52,12 @@ export interface ProductFactorClass {
|
|
|
51
52
|
* @memberof ProductFactorClass
|
|
52
53
|
*/
|
|
53
54
|
'values': Array<ProductFactorValueClass>;
|
|
55
|
+
/**
|
|
56
|
+
* Factor product version.
|
|
57
|
+
* @type {ProductVersionClass}
|
|
58
|
+
* @memberof ProductFactorClass
|
|
59
|
+
*/
|
|
60
|
+
'productVersion': ProductVersionClass;
|
|
54
61
|
/**
|
|
55
62
|
* Time at which the object was created.
|
|
56
63
|
* @type {string}
|
|
@@ -91,19 +91,19 @@ export interface ProductFieldClass {
|
|
|
91
91
|
* @type {object}
|
|
92
92
|
* @memberof ProductFieldClass
|
|
93
93
|
*/
|
|
94
|
-
'defaultValue': object
|
|
94
|
+
'defaultValue': object;
|
|
95
95
|
/**
|
|
96
96
|
* Minimum value of the field. For the field type date-time, it should be { \"templated\" : \"{{today}}\" }
|
|
97
97
|
* @type {object}
|
|
98
98
|
* @memberof ProductFieldClass
|
|
99
99
|
*/
|
|
100
|
-
'minValue': object
|
|
100
|
+
'minValue': object;
|
|
101
101
|
/**
|
|
102
102
|
* Maximum value of the field. For the field type date-time, it should be { \"templated\" : \"{{today}}\" }
|
|
103
103
|
* @type {object}
|
|
104
104
|
* @memberof ProductFieldClass
|
|
105
105
|
*/
|
|
106
|
-
'maxValue': object
|
|
106
|
+
'maxValue': object;
|
|
107
107
|
/**
|
|
108
108
|
* Time at which the object was created.
|
|
109
109
|
* @type {string}
|
|
@@ -91,19 +91,19 @@ export interface SharedProductFieldClass {
|
|
|
91
91
|
* @type {object}
|
|
92
92
|
* @memberof SharedProductFieldClass
|
|
93
93
|
*/
|
|
94
|
-
'defaultValue': object
|
|
94
|
+
'defaultValue': object;
|
|
95
95
|
/**
|
|
96
96
|
* Minimum value of the field. For the field type date-time, it should be { \"templated\" : \"{{today}}\" }
|
|
97
97
|
* @type {object}
|
|
98
98
|
* @memberof SharedProductFieldClass
|
|
99
99
|
*/
|
|
100
|
-
'minValue': object
|
|
100
|
+
'minValue': object;
|
|
101
101
|
/**
|
|
102
102
|
* Maximum value of the field. For the field type date-time, it should be { \"templated\" : \"{{today}}\" }
|
|
103
103
|
* @type {object}
|
|
104
104
|
* @memberof SharedProductFieldClass
|
|
105
105
|
*/
|
|
106
|
-
'maxValue': object
|
|
106
|
+
'maxValue': object;
|
|
107
107
|
/**
|
|
108
108
|
* Time at which the object was created.
|
|
109
109
|
* @type {string}
|
|
@@ -33,7 +33,7 @@ export interface UpdateProductRequestDto {
|
|
|
33
33
|
*/
|
|
34
34
|
'contractDurationDays': number;
|
|
35
35
|
/**
|
|
36
|
-
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
36
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id. In this case, the template used for the Product.
|
|
37
37
|
* @type {string}
|
|
38
38
|
* @memberof UpdateProductRequestDto
|
|
39
39
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@emilgroup/insurance-sdk-node",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.7.0",
|
|
4
4
|
"description": "OpenAPI client for @emilgroup/insurance-sdk-node",
|
|
5
5
|
"author": "OpenAPI-Generator Contributors",
|
|
6
6
|
"keywords": [
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"url": "^0.11.0"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
|
|
26
|
+
"@types/node": "^12.11.5",
|
|
27
27
|
"typescript": "^4.0"
|
|
28
28
|
}
|
|
29
29
|
}
|
|
@@ -1,25 +0,0 @@
|
|
|
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 { PremiumOverrideDto } from './premium-override-dto';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface PremiumOverrideRequestClass
|
|
17
|
-
*/
|
|
18
|
-
export interface PremiumOverrideRequestClass {
|
|
19
|
-
/**
|
|
20
|
-
* Various premium overrides used for calculation.
|
|
21
|
-
* @type {Array<PremiumOverrideDto>}
|
|
22
|
-
* @memberof PremiumOverrideRequestClass
|
|
23
|
-
*/
|
|
24
|
-
'premiumOverrides': Array<PremiumOverrideDto>;
|
|
25
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
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 { PremiumOverrideDto } from './premium-override-dto';
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @export
|
|
21
|
-
* @interface PremiumOverrideRequestClass
|
|
22
|
-
*/
|
|
23
|
-
export interface PremiumOverrideRequestClass {
|
|
24
|
-
/**
|
|
25
|
-
* Various premium overrides used for calculation.
|
|
26
|
-
* @type {Array<PremiumOverrideDto>}
|
|
27
|
-
* @memberof PremiumOverrideRequestClass
|
|
28
|
-
*/
|
|
29
|
-
'premiumOverrides': Array<PremiumOverrideDto>;
|
|
30
|
-
}
|
|
31
|
-
|
|
File without changes
|