@emilgroup/insurance-sdk-node 1.0.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 +97 -0
- package/.openapi-generator/VERSION +1 -0
- package/.openapi-generator-ignore +23 -0
- package/README.md +51 -0
- package/api/insured-object-types-api.ts +236 -0
- package/api/insured-objects-api.ts +446 -0
- package/api/leads-api.ts +402 -0
- package/api/policies-api.ts +580 -0
- package/api/products-api.ts +3027 -0
- package/api.ts +44 -0
- package/base.ts +189 -0
- package/common.ts +138 -0
- package/configuration.ts +109 -0
- package/dist/api/insured-object-types-api.d.ts +141 -0
- package/dist/api/insured-object-types-api.js +258 -0
- package/dist/api/insured-objects-api.d.ts +254 -0
- package/dist/api/insured-objects-api.js +443 -0
- package/dist/api/leads-api.d.ts +225 -0
- package/dist/api/leads-api.js +427 -0
- package/dist/api/policies-api.d.ts +329 -0
- package/dist/api/policies-api.js +548 -0
- package/dist/api/products-api.d.ts +1683 -0
- package/dist/api/products-api.js +2521 -0
- package/dist/api.d.ts +20 -0
- package/dist/api.js +40 -0
- package/dist/base.d.ts +69 -0
- package/dist/base.js +252 -0
- package/dist/common.d.ts +66 -0
- package/dist/common.js +244 -0
- package/dist/configuration.d.ts +90 -0
- package/dist/configuration.js +44 -0
- package/dist/index.d.ts +15 -0
- package/dist/index.js +35 -0
- package/dist/models/calculate-custom-premium-request-dto.d.ts +34 -0
- package/dist/models/calculate-custom-premium-request-dto.js +19 -0
- package/dist/models/calculate-premium-request-dto.d.ts +31 -0
- package/dist/models/calculate-premium-request-dto.js +15 -0
- package/dist/models/create-account-request-dto.d.ts +84 -0
- package/dist/models/create-account-request-dto.js +15 -0
- package/dist/models/create-bank-account-request-dto.d.ts +30 -0
- package/dist/models/create-bank-account-request-dto.js +15 -0
- package/dist/models/create-claim-request-dto.d.ts +83 -0
- package/dist/models/create-claim-request-dto.js +25 -0
- package/dist/models/create-custom-application-request-dto.d.ts +40 -0
- package/dist/models/create-custom-application-request-dto.js +19 -0
- package/dist/models/create-dummy-policy-request-dto.d.ts +31 -0
- package/dist/models/create-dummy-policy-request-dto.js +15 -0
- package/dist/models/create-insured-object-request-dto.d.ts +42 -0
- package/dist/models/create-insured-object-request-dto.js +15 -0
- package/dist/models/create-insured-object-response-class.d.ts +25 -0
- package/dist/models/create-insured-object-response-class.js +15 -0
- package/dist/models/create-lead-request-dto.d.ts +71 -0
- package/dist/models/create-lead-request-dto.js +22 -0
- package/dist/models/create-policy-request-dto.d.ts +37 -0
- package/dist/models/create-policy-request-dto.js +15 -0
- package/dist/models/create-policy-response-class.d.ts +25 -0
- package/dist/models/create-policy-response-class.js +15 -0
- package/dist/models/create-premium-formula-request-dto.d.ts +65 -0
- package/dist/models/create-premium-formula-request-dto.js +25 -0
- package/dist/models/create-premium-formula-response-class.d.ts +25 -0
- package/dist/models/create-premium-formula-response-class.js +15 -0
- package/dist/models/create-product-field-request-dto.d.ts +113 -0
- package/dist/models/create-product-field-request-dto.js +20 -0
- package/dist/models/create-product-field-response-class.d.ts +25 -0
- package/dist/models/create-product-field-response-class.js +15 -0
- package/dist/models/create-product-request-dto.d.ts +57 -0
- package/dist/models/create-product-request-dto.js +30 -0
- package/dist/models/create-product-response-class.d.ts +25 -0
- package/dist/models/create-product-response-class.js +15 -0
- package/dist/models/csv-product-factor-dto.d.ts +48 -0
- package/dist/models/csv-product-factor-dto.js +15 -0
- package/dist/models/delete-request-dto.d.ts +24 -0
- package/dist/models/delete-request-dto.js +15 -0
- package/dist/models/get-insured-object-request-dto.d.ts +24 -0
- package/dist/models/get-insured-object-request-dto.js +15 -0
- package/dist/models/get-insured-object-response-class.d.ts +25 -0
- package/dist/models/get-insured-object-response-class.js +15 -0
- package/dist/models/get-policy-request-dto.d.ts +30 -0
- package/dist/models/get-policy-request-dto.js +15 -0
- package/dist/models/get-policy-response-class.d.ts +25 -0
- package/dist/models/get-policy-response-class.js +15 -0
- package/dist/models/get-premium-formula-request-dto.d.ts +24 -0
- package/dist/models/get-premium-formula-request-dto.js +15 -0
- package/dist/models/get-premium-formula-response-class.d.ts +25 -0
- package/dist/models/get-premium-formula-response-class.js +15 -0
- package/dist/models/get-product-factor-response-class.d.ts +32 -0
- package/dist/models/get-product-factor-response-class.js +15 -0
- package/dist/models/get-product-factor-value-request-dto.d.ts +42 -0
- package/dist/models/get-product-factor-value-request-dto.js +15 -0
- package/dist/models/get-product-factor-value-response-class.d.ts +25 -0
- package/dist/models/get-product-factor-value-response-class.js +15 -0
- package/dist/models/get-product-field-request-dto.d.ts +24 -0
- package/dist/models/get-product-field-request-dto.js +15 -0
- package/dist/models/get-product-field-response-class.d.ts +25 -0
- package/dist/models/get-product-field-response-class.js +15 -0
- package/dist/models/get-product-request-dto.d.ts +36 -0
- package/dist/models/get-product-request-dto.js +15 -0
- package/dist/models/get-product-response-class.d.ts +25 -0
- package/dist/models/get-product-response-class.js +15 -0
- package/dist/models/get-product-version-request-dto.d.ts +24 -0
- package/dist/models/get-product-version-request-dto.js +15 -0
- package/dist/models/get-product-version-response-class.d.ts +25 -0
- package/dist/models/get-product-version-response-class.js +15 -0
- package/dist/models/grouped-product-factor-class.d.ts +37 -0
- package/dist/models/grouped-product-factor-class.js +15 -0
- package/dist/models/grouped-product-factor-value-class.d.ts +36 -0
- package/dist/models/grouped-product-factor-value-class.js +15 -0
- package/dist/models/grouped-product-factors-response-class.d.ts +25 -0
- package/dist/models/grouped-product-factors-response-class.js +15 -0
- package/dist/models/grpc-create-policy-request-dto.d.ts +37 -0
- package/dist/models/grpc-create-policy-request-dto.js +15 -0
- package/dist/models/index.d.ts +79 -0
- package/dist/models/index.js +95 -0
- package/dist/models/insured-object-class.d.ts +67 -0
- package/dist/models/insured-object-class.js +15 -0
- package/dist/models/insured-object-type-class.d.ts +48 -0
- package/dist/models/insured-object-type-class.js +15 -0
- package/dist/models/list-insured-object-types-response-class.d.ts +31 -0
- package/dist/models/list-insured-object-types-response-class.js +15 -0
- package/dist/models/list-insured-objects-response-class.d.ts +30 -0
- package/dist/models/list-insured-objects-response-class.js +15 -0
- package/dist/models/list-policies-response-class.d.ts +31 -0
- package/dist/models/list-policies-response-class.js +15 -0
- package/dist/models/list-premium-formulas-response-class.d.ts +31 -0
- package/dist/models/list-premium-formulas-response-class.js +15 -0
- package/dist/models/list-product-factors-response-class.d.ts +31 -0
- package/dist/models/list-product-factors-response-class.js +15 -0
- package/dist/models/list-product-field-types-response-class.d.ts +30 -0
- package/dist/models/list-product-field-types-response-class.js +15 -0
- package/dist/models/list-product-fields-response-class.d.ts +31 -0
- package/dist/models/list-product-fields-response-class.js +15 -0
- package/dist/models/list-products-response-class.d.ts +31 -0
- package/dist/models/list-products-response-class.js +15 -0
- package/dist/models/list-request-dto.d.ts +54 -0
- package/dist/models/list-request-dto.js +15 -0
- package/dist/models/policy-class.d.ts +86 -0
- package/dist/models/policy-class.js +15 -0
- package/dist/models/policy-object-class.d.ts +42 -0
- package/dist/models/policy-object-class.js +15 -0
- package/dist/models/policy-object-dto.d.ts +30 -0
- package/dist/models/policy-object-dto.js +15 -0
- package/dist/models/policy-premium-class.d.ts +43 -0
- package/dist/models/policy-premium-class.js +15 -0
- package/dist/models/policy-premium-item-class.d.ts +49 -0
- package/dist/models/policy-premium-item-class.js +15 -0
- package/dist/models/policy-version-class.d.ts +55 -0
- package/dist/models/policy-version-class.js +15 -0
- package/dist/models/premium-formula-class.d.ts +79 -0
- package/dist/models/premium-formula-class.js +15 -0
- package/dist/models/product-class.d.ts +74 -0
- package/dist/models/product-class.js +15 -0
- package/dist/models/product-factor-class.d.ts +68 -0
- package/dist/models/product-factor-class.js +15 -0
- package/dist/models/product-factor-value-class.d.ts +80 -0
- package/dist/models/product-factor-value-class.js +15 -0
- package/dist/models/product-field-class.d.ts +114 -0
- package/dist/models/product-field-class.js +15 -0
- package/dist/models/product-version-class.d.ts +54 -0
- package/dist/models/product-version-class.js +15 -0
- package/dist/models/store-product-factors-request-dto.d.ts +31 -0
- package/dist/models/store-product-factors-request-dto.js +15 -0
- package/dist/models/store-product-factors-response-class.d.ts +25 -0
- package/dist/models/store-product-factors-response-class.js +15 -0
- package/dist/models/timeslice-class.d.ts +62 -0
- package/dist/models/timeslice-class.js +15 -0
- package/dist/models/update-insured-object-request-dto.d.ts +48 -0
- package/dist/models/update-insured-object-request-dto.js +15 -0
- package/dist/models/update-lead-request-dto.d.ts +71 -0
- package/dist/models/update-lead-request-dto.js +22 -0
- package/dist/models/update-policy-request-dto.d.ts +43 -0
- package/dist/models/update-policy-request-dto.js +15 -0
- package/dist/models/update-policy-response-class.d.ts +25 -0
- package/dist/models/update-policy-response-class.js +15 -0
- package/dist/models/update-premium-formula-request-dto.d.ts +71 -0
- package/dist/models/update-premium-formula-request-dto.js +25 -0
- package/dist/models/update-premium-formula-response-class.d.ts +25 -0
- package/dist/models/update-premium-formula-response-class.js +15 -0
- package/dist/models/update-product-field-request-dto.d.ts +119 -0
- package/dist/models/update-product-field-request-dto.js +20 -0
- package/dist/models/update-product-field-response-class.d.ts +25 -0
- package/dist/models/update-product-field-response-class.js +15 -0
- package/dist/models/update-product-request-dto.d.ts +42 -0
- package/dist/models/update-product-request-dto.js +15 -0
- package/dist/models/update-product-response-class.d.ts +25 -0
- package/dist/models/update-product-response-class.js +15 -0
- package/dist/models/update-product-version-request-dto.d.ts +43 -0
- package/dist/models/update-product-version-request-dto.js +22 -0
- package/dist/models/update-product-version-response-class.d.ts +25 -0
- package/dist/models/update-product-version-response-class.js +15 -0
- package/dist/models/uploaded-document-dto.d.ts +24 -0
- package/dist/models/uploaded-document-dto.js +15 -0
- package/dist/models/validate-product-factors-request-dto.d.ts +31 -0
- package/dist/models/validate-product-factors-request-dto.js +15 -0
- package/git_push.sh +57 -0
- package/index.ts +19 -0
- package/models/calculate-custom-premium-request-dto.ts +43 -0
- package/models/calculate-premium-request-dto.ts +37 -0
- package/models/create-account-request-dto.ts +90 -0
- package/models/create-bank-account-request-dto.ts +36 -0
- package/models/create-claim-request-dto.ts +93 -0
- package/models/create-custom-application-request-dto.ts +49 -0
- package/models/create-dummy-policy-request-dto.ts +37 -0
- package/models/create-insured-object-request-dto.ts +48 -0
- package/models/create-insured-object-response-class.ts +31 -0
- package/models/create-lead-request-dto.ts +80 -0
- package/models/create-policy-request-dto.ts +43 -0
- package/models/create-policy-response-class.ts +31 -0
- package/models/create-premium-formula-request-dto.ts +75 -0
- package/models/create-premium-formula-response-class.ts +31 -0
- package/models/create-product-field-request-dto.ts +122 -0
- package/models/create-product-field-response-class.ts +31 -0
- package/models/create-product-request-dto.ts +66 -0
- package/models/create-product-response-class.ts +31 -0
- package/models/csv-product-factor-dto.ts +54 -0
- package/models/delete-request-dto.ts +30 -0
- package/models/get-insured-object-request-dto.ts +30 -0
- package/models/get-insured-object-response-class.ts +31 -0
- package/models/get-policy-request-dto.ts +36 -0
- package/models/get-policy-response-class.ts +31 -0
- package/models/get-premium-formula-request-dto.ts +30 -0
- package/models/get-premium-formula-response-class.ts +31 -0
- package/models/get-product-factor-response-class.ts +38 -0
- package/models/get-product-factor-value-request-dto.ts +48 -0
- package/models/get-product-factor-value-response-class.ts +31 -0
- package/models/get-product-field-request-dto.ts +30 -0
- package/models/get-product-field-response-class.ts +31 -0
- package/models/get-product-request-dto.ts +42 -0
- package/models/get-product-response-class.ts +31 -0
- package/models/get-product-version-request-dto.ts +30 -0
- package/models/get-product-version-response-class.ts +31 -0
- package/models/grouped-product-factor-class.ts +43 -0
- package/models/grouped-product-factor-value-class.ts +42 -0
- package/models/grouped-product-factors-response-class.ts +31 -0
- package/models/grpc-create-policy-request-dto.ts +43 -0
- package/models/index.ts +79 -0
- package/models/insured-object-class.ts +73 -0
- package/models/insured-object-type-class.ts +54 -0
- package/models/list-insured-object-types-response-class.ts +37 -0
- package/models/list-insured-objects-response-class.ts +36 -0
- package/models/list-policies-response-class.ts +37 -0
- package/models/list-premium-formulas-response-class.ts +37 -0
- package/models/list-product-factors-response-class.ts +37 -0
- package/models/list-product-field-types-response-class.ts +36 -0
- package/models/list-product-fields-response-class.ts +37 -0
- package/models/list-products-response-class.ts +37 -0
- package/models/list-request-dto.ts +60 -0
- package/models/policy-class.ts +92 -0
- package/models/policy-object-class.ts +48 -0
- package/models/policy-object-dto.ts +36 -0
- package/models/policy-premium-class.ts +49 -0
- package/models/policy-premium-item-class.ts +55 -0
- package/models/policy-version-class.ts +61 -0
- package/models/premium-formula-class.ts +85 -0
- package/models/product-class.ts +80 -0
- package/models/product-factor-class.ts +74 -0
- package/models/product-factor-value-class.ts +86 -0
- package/models/product-field-class.ts +120 -0
- package/models/product-version-class.ts +60 -0
- package/models/store-product-factors-request-dto.ts +37 -0
- package/models/store-product-factors-response-class.ts +31 -0
- package/models/timeslice-class.ts +68 -0
- package/models/update-insured-object-request-dto.ts +54 -0
- package/models/update-lead-request-dto.ts +80 -0
- package/models/update-policy-request-dto.ts +49 -0
- package/models/update-policy-response-class.ts +31 -0
- package/models/update-premium-formula-request-dto.ts +81 -0
- package/models/update-premium-formula-response-class.ts +31 -0
- package/models/update-product-field-request-dto.ts +128 -0
- package/models/update-product-field-response-class.ts +31 -0
- package/models/update-product-request-dto.ts +48 -0
- package/models/update-product-response-class.ts +31 -0
- package/models/update-product-version-request-dto.ts +52 -0
- package/models/update-product-version-response-class.ts +31 -0
- package/models/uploaded-document-dto.ts +30 -0
- package/models/validate-product-factors-request-dto.ts +37 -0
- package/package.json +29 -0
- package/tsconfig.json +22 -0
|
@@ -0,0 +1,85 @@
|
|
|
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
|
+
*
|
|
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 { ProductVersionClass } from './product-version-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface PremiumFormulaClass
|
|
22
|
+
*/
|
|
23
|
+
export interface PremiumFormulaClass {
|
|
24
|
+
/**
|
|
25
|
+
* Premium formula id
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof PremiumFormulaClass
|
|
28
|
+
*/
|
|
29
|
+
'id': number;
|
|
30
|
+
/**
|
|
31
|
+
* Product version id
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof PremiumFormulaClass
|
|
34
|
+
*/
|
|
35
|
+
'productVersionId': number;
|
|
36
|
+
/**
|
|
37
|
+
* Premium group
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof PremiumFormulaClass
|
|
40
|
+
*/
|
|
41
|
+
'group': string;
|
|
42
|
+
/**
|
|
43
|
+
* Premium name
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof PremiumFormulaClass
|
|
46
|
+
*/
|
|
47
|
+
'name': string;
|
|
48
|
+
/**
|
|
49
|
+
* Premium expression
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof PremiumFormulaClass
|
|
52
|
+
*/
|
|
53
|
+
'expression': string;
|
|
54
|
+
/**
|
|
55
|
+
* Product type
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof PremiumFormulaClass
|
|
58
|
+
*/
|
|
59
|
+
'type': string;
|
|
60
|
+
/**
|
|
61
|
+
* Premium type unit
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof PremiumFormulaClass
|
|
64
|
+
*/
|
|
65
|
+
'unit': string;
|
|
66
|
+
/**
|
|
67
|
+
* Premium product version
|
|
68
|
+
* @type {Array<ProductVersionClass>}
|
|
69
|
+
* @memberof PremiumFormulaClass
|
|
70
|
+
*/
|
|
71
|
+
'productVersion': Array<ProductVersionClass>;
|
|
72
|
+
/**
|
|
73
|
+
* Date created
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof PremiumFormulaClass
|
|
76
|
+
*/
|
|
77
|
+
'createdAt': string;
|
|
78
|
+
/**
|
|
79
|
+
* Date updated
|
|
80
|
+
* @type {string}
|
|
81
|
+
* @memberof PremiumFormulaClass
|
|
82
|
+
*/
|
|
83
|
+
'updatedAt': string;
|
|
84
|
+
}
|
|
85
|
+
|
|
@@ -0,0 +1,80 @@
|
|
|
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
|
+
*
|
|
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 { InsuredObjectTypeClass } from './insured-object-type-class';
|
|
17
|
+
import { ProductVersionClass } from './product-version-class';
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @export
|
|
22
|
+
* @interface ProductClass
|
|
23
|
+
*/
|
|
24
|
+
export interface ProductClass {
|
|
25
|
+
/**
|
|
26
|
+
* Product id
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof ProductClass
|
|
29
|
+
*/
|
|
30
|
+
'id': number;
|
|
31
|
+
/**
|
|
32
|
+
* Product code
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof ProductClass
|
|
35
|
+
*/
|
|
36
|
+
'code': string;
|
|
37
|
+
/**
|
|
38
|
+
* Product\'s name
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof ProductClass
|
|
41
|
+
*/
|
|
42
|
+
'name': string;
|
|
43
|
+
/**
|
|
44
|
+
* Product\'s slug
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof ProductClass
|
|
47
|
+
*/
|
|
48
|
+
'slug': string;
|
|
49
|
+
/**
|
|
50
|
+
* Insured object types covered under product
|
|
51
|
+
* @type {Array<InsuredObjectTypeClass>}
|
|
52
|
+
* @memberof ProductClass
|
|
53
|
+
*/
|
|
54
|
+
'insuredObjectTypes': Array<InsuredObjectTypeClass>;
|
|
55
|
+
/**
|
|
56
|
+
* Contract duration in days
|
|
57
|
+
* @type {number}
|
|
58
|
+
* @memberof ProductClass
|
|
59
|
+
*/
|
|
60
|
+
'contractDurationDays': number;
|
|
61
|
+
/**
|
|
62
|
+
* Product versions
|
|
63
|
+
* @type {Array<ProductVersionClass>}
|
|
64
|
+
* @memberof ProductClass
|
|
65
|
+
*/
|
|
66
|
+
'versions': Array<ProductVersionClass>;
|
|
67
|
+
/**
|
|
68
|
+
* Date created
|
|
69
|
+
* @type {string}
|
|
70
|
+
* @memberof ProductClass
|
|
71
|
+
*/
|
|
72
|
+
'createdAt': string;
|
|
73
|
+
/**
|
|
74
|
+
* Date updated
|
|
75
|
+
* @type {string}
|
|
76
|
+
* @memberof ProductClass
|
|
77
|
+
*/
|
|
78
|
+
'updatedAt': string;
|
|
79
|
+
}
|
|
80
|
+
|
|
@@ -0,0 +1,74 @@
|
|
|
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
|
+
*
|
|
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 { ProductFactorValueClass } from './product-factor-value-class';
|
|
17
|
+
import { ProductVersionClass } from './product-version-class';
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @export
|
|
22
|
+
* @interface ProductFactorClass
|
|
23
|
+
*/
|
|
24
|
+
export interface ProductFactorClass {
|
|
25
|
+
/**
|
|
26
|
+
* Factor id
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof ProductFactorClass
|
|
29
|
+
*/
|
|
30
|
+
'id': number;
|
|
31
|
+
/**
|
|
32
|
+
* Factor product version id
|
|
33
|
+
* @type {number}
|
|
34
|
+
* @memberof ProductFactorClass
|
|
35
|
+
*/
|
|
36
|
+
'productVersionId': number;
|
|
37
|
+
/**
|
|
38
|
+
* Factor group
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof ProductFactorClass
|
|
41
|
+
*/
|
|
42
|
+
'group': string;
|
|
43
|
+
/**
|
|
44
|
+
* Factor label
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof ProductFactorClass
|
|
47
|
+
*/
|
|
48
|
+
'label': string;
|
|
49
|
+
/**
|
|
50
|
+
* Factor values
|
|
51
|
+
* @type {Array<ProductFactorValueClass>}
|
|
52
|
+
* @memberof ProductFactorClass
|
|
53
|
+
*/
|
|
54
|
+
'values': Array<ProductFactorValueClass>;
|
|
55
|
+
/**
|
|
56
|
+
* Factor product version
|
|
57
|
+
* @type {ProductVersionClass}
|
|
58
|
+
* @memberof ProductFactorClass
|
|
59
|
+
*/
|
|
60
|
+
'productVersion': ProductVersionClass;
|
|
61
|
+
/**
|
|
62
|
+
* Date created
|
|
63
|
+
* @type {string}
|
|
64
|
+
* @memberof ProductFactorClass
|
|
65
|
+
*/
|
|
66
|
+
'createdAt': string;
|
|
67
|
+
/**
|
|
68
|
+
* Date updated
|
|
69
|
+
* @type {string}
|
|
70
|
+
* @memberof ProductFactorClass
|
|
71
|
+
*/
|
|
72
|
+
'updatedAt': string;
|
|
73
|
+
}
|
|
74
|
+
|
|
@@ -0,0 +1,86 @@
|
|
|
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
|
+
*
|
|
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 { ProductFactorClass } from './product-factor-class';
|
|
17
|
+
import { ProductVersionClass } from './product-version-class';
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @export
|
|
22
|
+
* @interface ProductFactorValueClass
|
|
23
|
+
*/
|
|
24
|
+
export interface ProductFactorValueClass {
|
|
25
|
+
/**
|
|
26
|
+
* Factor value id
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof ProductFactorValueClass
|
|
29
|
+
*/
|
|
30
|
+
'id': number;
|
|
31
|
+
/**
|
|
32
|
+
* Factor value product version id
|
|
33
|
+
* @type {number}
|
|
34
|
+
* @memberof ProductFactorValueClass
|
|
35
|
+
*/
|
|
36
|
+
'productVersionId': number;
|
|
37
|
+
/**
|
|
38
|
+
* Factor id
|
|
39
|
+
* @type {number}
|
|
40
|
+
* @memberof ProductFactorValueClass
|
|
41
|
+
*/
|
|
42
|
+
'productFactorId': number;
|
|
43
|
+
/**
|
|
44
|
+
* Factor value name
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof ProductFactorValueClass
|
|
47
|
+
*/
|
|
48
|
+
'name': string;
|
|
49
|
+
/**
|
|
50
|
+
* Factor value key
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof ProductFactorValueClass
|
|
53
|
+
*/
|
|
54
|
+
'key': string;
|
|
55
|
+
/**
|
|
56
|
+
* Factor value data
|
|
57
|
+
* @type {number}
|
|
58
|
+
* @memberof ProductFactorValueClass
|
|
59
|
+
*/
|
|
60
|
+
'value': number;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @type {ProductFactorClass}
|
|
64
|
+
* @memberof ProductFactorValueClass
|
|
65
|
+
*/
|
|
66
|
+
'productFactor': ProductFactorClass;
|
|
67
|
+
/**
|
|
68
|
+
*
|
|
69
|
+
* @type {ProductVersionClass}
|
|
70
|
+
* @memberof ProductFactorValueClass
|
|
71
|
+
*/
|
|
72
|
+
'productVersion': ProductVersionClass;
|
|
73
|
+
/**
|
|
74
|
+
*
|
|
75
|
+
* @type {string}
|
|
76
|
+
* @memberof ProductFactorValueClass
|
|
77
|
+
*/
|
|
78
|
+
'createdAt': string;
|
|
79
|
+
/**
|
|
80
|
+
*
|
|
81
|
+
* @type {string}
|
|
82
|
+
* @memberof ProductFactorValueClass
|
|
83
|
+
*/
|
|
84
|
+
'updatedAt': string;
|
|
85
|
+
}
|
|
86
|
+
|
|
@@ -0,0 +1,120 @@
|
|
|
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
|
+
*
|
|
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 ProductFieldClass
|
|
21
|
+
*/
|
|
22
|
+
export interface ProductFieldClass {
|
|
23
|
+
/**
|
|
24
|
+
* Product field id
|
|
25
|
+
* @type {number}
|
|
26
|
+
* @memberof ProductFieldClass
|
|
27
|
+
*/
|
|
28
|
+
'id': number;
|
|
29
|
+
/**
|
|
30
|
+
* Product field name
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof ProductFieldClass
|
|
33
|
+
*/
|
|
34
|
+
'name': string;
|
|
35
|
+
/**
|
|
36
|
+
* Product field group
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof ProductFieldClass
|
|
39
|
+
*/
|
|
40
|
+
'group': string;
|
|
41
|
+
/**
|
|
42
|
+
* Product field label
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof ProductFieldClass
|
|
45
|
+
*/
|
|
46
|
+
'label': string;
|
|
47
|
+
/**
|
|
48
|
+
* Product field type
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof ProductFieldClass
|
|
51
|
+
*/
|
|
52
|
+
'typeEntity': string;
|
|
53
|
+
/**
|
|
54
|
+
* Product field type
|
|
55
|
+
* @type {number}
|
|
56
|
+
* @memberof ProductFieldClass
|
|
57
|
+
*/
|
|
58
|
+
'typeId': number;
|
|
59
|
+
/**
|
|
60
|
+
* Insured object id
|
|
61
|
+
* @type {number}
|
|
62
|
+
* @memberof ProductFieldClass
|
|
63
|
+
*/
|
|
64
|
+
'insuredObjectId': number;
|
|
65
|
+
/**
|
|
66
|
+
* Is field required?
|
|
67
|
+
* @type {boolean}
|
|
68
|
+
* @memberof ProductFieldClass
|
|
69
|
+
*/
|
|
70
|
+
'isRequired': boolean;
|
|
71
|
+
/**
|
|
72
|
+
* Is field hidden on the booking funnel?
|
|
73
|
+
* @type {boolean}
|
|
74
|
+
* @memberof ProductFieldClass
|
|
75
|
+
*/
|
|
76
|
+
'isHidden': boolean;
|
|
77
|
+
/**
|
|
78
|
+
* Is this a system field? - System fields can neither be deleted nor modified
|
|
79
|
+
* @type {boolean}
|
|
80
|
+
* @memberof ProductFieldClass
|
|
81
|
+
*/
|
|
82
|
+
'isSystem': boolean;
|
|
83
|
+
/**
|
|
84
|
+
* Should the field value be unique across policies?
|
|
85
|
+
* @type {boolean}
|
|
86
|
+
* @memberof ProductFieldClass
|
|
87
|
+
*/
|
|
88
|
+
'isUnique': boolean;
|
|
89
|
+
/**
|
|
90
|
+
* Default value of the field. For the field type date-time, it should be { \"templated\" : \"{{today}}\" }
|
|
91
|
+
* @type {object}
|
|
92
|
+
* @memberof ProductFieldClass
|
|
93
|
+
*/
|
|
94
|
+
'defaultValue': object;
|
|
95
|
+
/**
|
|
96
|
+
* Minimum value of the field. For the field type date-time, it should be { \"templated\" : \"{{today}}\" }
|
|
97
|
+
* @type {object}
|
|
98
|
+
* @memberof ProductFieldClass
|
|
99
|
+
*/
|
|
100
|
+
'minValue': object;
|
|
101
|
+
/**
|
|
102
|
+
* Maximum value of the field. For the field type date-time, it should be { \"templated\" : \"{{today}}\" }
|
|
103
|
+
* @type {object}
|
|
104
|
+
* @memberof ProductFieldClass
|
|
105
|
+
*/
|
|
106
|
+
'maxValue': object;
|
|
107
|
+
/**
|
|
108
|
+
* Date created
|
|
109
|
+
* @type {string}
|
|
110
|
+
* @memberof ProductFieldClass
|
|
111
|
+
*/
|
|
112
|
+
'createdAt': string;
|
|
113
|
+
/**
|
|
114
|
+
* Date updated
|
|
115
|
+
* @type {string}
|
|
116
|
+
* @memberof ProductFieldClass
|
|
117
|
+
*/
|
|
118
|
+
'updatedAt': string;
|
|
119
|
+
}
|
|
120
|
+
|
|
@@ -0,0 +1,60 @@
|
|
|
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
|
+
*
|
|
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 ProductVersionClass
|
|
21
|
+
*/
|
|
22
|
+
export interface ProductVersionClass {
|
|
23
|
+
/**
|
|
24
|
+
* Product version id
|
|
25
|
+
* @type {number}
|
|
26
|
+
* @memberof ProductVersionClass
|
|
27
|
+
*/
|
|
28
|
+
'id': number;
|
|
29
|
+
/**
|
|
30
|
+
* Product id
|
|
31
|
+
* @type {number}
|
|
32
|
+
* @memberof ProductVersionClass
|
|
33
|
+
*/
|
|
34
|
+
'productId': number;
|
|
35
|
+
/**
|
|
36
|
+
* Product version description
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof ProductVersionClass
|
|
39
|
+
*/
|
|
40
|
+
'description': string;
|
|
41
|
+
/**
|
|
42
|
+
* Product version status
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof ProductVersionClass
|
|
45
|
+
*/
|
|
46
|
+
'status': string;
|
|
47
|
+
/**
|
|
48
|
+
* Date created
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof ProductVersionClass
|
|
51
|
+
*/
|
|
52
|
+
'createdAt': string;
|
|
53
|
+
/**
|
|
54
|
+
* Date updated
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof ProductVersionClass
|
|
57
|
+
*/
|
|
58
|
+
'updatedAt': string;
|
|
59
|
+
}
|
|
60
|
+
|
|
@@ -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
|
+
*
|
|
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 { CsvProductFactorDto } from './csv-product-factor-dto';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface StoreProductFactorsRequestDto
|
|
22
|
+
*/
|
|
23
|
+
export interface StoreProductFactorsRequestDto {
|
|
24
|
+
/**
|
|
25
|
+
* Product version id
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof StoreProductFactorsRequestDto
|
|
28
|
+
*/
|
|
29
|
+
'productVersionId': number;
|
|
30
|
+
/**
|
|
31
|
+
* Factors
|
|
32
|
+
* @type {Array<CsvProductFactorDto>}
|
|
33
|
+
* @memberof StoreProductFactorsRequestDto
|
|
34
|
+
*/
|
|
35
|
+
'productFactors': Array<CsvProductFactorDto>;
|
|
36
|
+
}
|
|
37
|
+
|
|
@@ -0,0 +1,31 @@
|
|
|
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
|
+
*
|
|
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 { ProductFactorClass } from './product-factor-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface StoreProductFactorsResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface StoreProductFactorsResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* Factors
|
|
26
|
+
* @type {Array<ProductFactorClass>}
|
|
27
|
+
* @memberof StoreProductFactorsResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'productFactors': Array<ProductFactorClass>;
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -0,0 +1,68 @@
|
|
|
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
|
+
*
|
|
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 { PolicyObjectClass } from './policy-object-class';
|
|
17
|
+
import { PolicyPremiumClass } from './policy-premium-class';
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @export
|
|
22
|
+
* @interface TimesliceClass
|
|
23
|
+
*/
|
|
24
|
+
export interface TimesliceClass {
|
|
25
|
+
/**
|
|
26
|
+
* Timeslice id
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof TimesliceClass
|
|
29
|
+
*/
|
|
30
|
+
'id': number;
|
|
31
|
+
/**
|
|
32
|
+
* Timeslice policy data
|
|
33
|
+
* @type {Array<PolicyObjectClass>}
|
|
34
|
+
* @memberof TimesliceClass
|
|
35
|
+
*/
|
|
36
|
+
'policyObjects': Array<PolicyObjectClass>;
|
|
37
|
+
/**
|
|
38
|
+
* Timeslice validity start
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof TimesliceClass
|
|
41
|
+
*/
|
|
42
|
+
'from': string;
|
|
43
|
+
/**
|
|
44
|
+
* Timeslice validity end
|
|
45
|
+
* @type {object}
|
|
46
|
+
* @memberof TimesliceClass
|
|
47
|
+
*/
|
|
48
|
+
'to': object;
|
|
49
|
+
/**
|
|
50
|
+
* Timeslice premium
|
|
51
|
+
* @type {PolicyPremiumClass}
|
|
52
|
+
* @memberof TimesliceClass
|
|
53
|
+
*/
|
|
54
|
+
'premium': PolicyPremiumClass;
|
|
55
|
+
/**
|
|
56
|
+
* Date created
|
|
57
|
+
* @type {string}
|
|
58
|
+
* @memberof TimesliceClass
|
|
59
|
+
*/
|
|
60
|
+
'createdAt': string;
|
|
61
|
+
/**
|
|
62
|
+
* Date updated
|
|
63
|
+
* @type {string}
|
|
64
|
+
* @memberof TimesliceClass
|
|
65
|
+
*/
|
|
66
|
+
'updatedAt': string;
|
|
67
|
+
}
|
|
68
|
+
|
|
@@ -0,0 +1,54 @@
|
|
|
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
|
+
*
|
|
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 UpdateInsuredObjectRequestDto
|
|
21
|
+
*/
|
|
22
|
+
export interface UpdateInsuredObjectRequestDto {
|
|
23
|
+
/**
|
|
24
|
+
* Insured object id
|
|
25
|
+
* @type {number}
|
|
26
|
+
* @memberof UpdateInsuredObjectRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'id': number;
|
|
29
|
+
/**
|
|
30
|
+
* Product version id
|
|
31
|
+
* @type {number}
|
|
32
|
+
* @memberof UpdateInsuredObjectRequestDto
|
|
33
|
+
*/
|
|
34
|
+
'productVersionId': number;
|
|
35
|
+
/**
|
|
36
|
+
* Insured object name
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof UpdateInsuredObjectRequestDto
|
|
39
|
+
*/
|
|
40
|
+
'name': string;
|
|
41
|
+
/**
|
|
42
|
+
* Insured object label
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof UpdateInsuredObjectRequestDto
|
|
45
|
+
*/
|
|
46
|
+
'label': string;
|
|
47
|
+
/**
|
|
48
|
+
* Insured object type id
|
|
49
|
+
* @type {number}
|
|
50
|
+
* @memberof UpdateInsuredObjectRequestDto
|
|
51
|
+
*/
|
|
52
|
+
'insuredObjectTypeId': number;
|
|
53
|
+
}
|
|
54
|
+
|