@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,75 @@
|
|
|
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 CreatePremiumFormulaRequestDto
|
|
21
|
+
*/
|
|
22
|
+
export interface CreatePremiumFormulaRequestDto {
|
|
23
|
+
/**
|
|
24
|
+
* Product version id
|
|
25
|
+
* @type {number}
|
|
26
|
+
* @memberof CreatePremiumFormulaRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'productVersionId': number;
|
|
29
|
+
/**
|
|
30
|
+
* Group name
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof CreatePremiumFormulaRequestDto
|
|
33
|
+
*/
|
|
34
|
+
'group': string;
|
|
35
|
+
/**
|
|
36
|
+
* Premium name
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof CreatePremiumFormulaRequestDto
|
|
39
|
+
*/
|
|
40
|
+
'name': string;
|
|
41
|
+
/**
|
|
42
|
+
* Premium expression
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof CreatePremiumFormulaRequestDto
|
|
45
|
+
*/
|
|
46
|
+
'expression': string;
|
|
47
|
+
/**
|
|
48
|
+
* Product type
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof CreatePremiumFormulaRequestDto
|
|
51
|
+
*/
|
|
52
|
+
'type': CreatePremiumFormulaRequestDtoTypeEnum;
|
|
53
|
+
/**
|
|
54
|
+
* Premium type unit
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof CreatePremiumFormulaRequestDto
|
|
57
|
+
*/
|
|
58
|
+
'unit': CreatePremiumFormulaRequestDtoUnitEnum;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
export const CreatePremiumFormulaRequestDtoTypeEnum = {
|
|
62
|
+
Time: 'time'
|
|
63
|
+
} as const;
|
|
64
|
+
|
|
65
|
+
export type CreatePremiumFormulaRequestDtoTypeEnum = typeof CreatePremiumFormulaRequestDtoTypeEnum[keyof typeof CreatePremiumFormulaRequestDtoTypeEnum];
|
|
66
|
+
export const CreatePremiumFormulaRequestDtoUnitEnum = {
|
|
67
|
+
Day: 'day',
|
|
68
|
+
Week: 'week',
|
|
69
|
+
Month: 'month',
|
|
70
|
+
Year: 'year'
|
|
71
|
+
} as const;
|
|
72
|
+
|
|
73
|
+
export type CreatePremiumFormulaRequestDtoUnitEnum = typeof CreatePremiumFormulaRequestDtoUnitEnum[keyof typeof CreatePremiumFormulaRequestDtoUnitEnum];
|
|
74
|
+
|
|
75
|
+
|
|
@@ -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 { PremiumFormulaClass } from './premium-formula-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface CreatePremiumFormulaResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface CreatePremiumFormulaResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* Premium formula
|
|
26
|
+
* @type {PremiumFormulaClass}
|
|
27
|
+
* @memberof CreatePremiumFormulaResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'premiumFormula': PremiumFormulaClass;
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -0,0 +1,122 @@
|
|
|
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 CreateProductFieldRequestDto
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateProductFieldRequestDto {
|
|
23
|
+
/**
|
|
24
|
+
* Product field name
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof CreateProductFieldRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'name': string;
|
|
29
|
+
/**
|
|
30
|
+
* Product field label
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof CreateProductFieldRequestDto
|
|
33
|
+
*/
|
|
34
|
+
'label': string;
|
|
35
|
+
/**
|
|
36
|
+
* Product field type entity
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof CreateProductFieldRequestDto
|
|
39
|
+
*/
|
|
40
|
+
'typeEntity': CreateProductFieldRequestDtoTypeEntityEnum;
|
|
41
|
+
/**
|
|
42
|
+
* Product field type id
|
|
43
|
+
* @type {number}
|
|
44
|
+
* @memberof CreateProductFieldRequestDto
|
|
45
|
+
*/
|
|
46
|
+
'typeId': number;
|
|
47
|
+
/**
|
|
48
|
+
* Insured object id
|
|
49
|
+
* @type {number}
|
|
50
|
+
* @memberof CreateProductFieldRequestDto
|
|
51
|
+
*/
|
|
52
|
+
'insuredObjectId': number;
|
|
53
|
+
/**
|
|
54
|
+
* Product field group
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof CreateProductFieldRequestDto
|
|
57
|
+
*/
|
|
58
|
+
'group': string;
|
|
59
|
+
/**
|
|
60
|
+
* Is field required?
|
|
61
|
+
* @type {boolean}
|
|
62
|
+
* @memberof CreateProductFieldRequestDto
|
|
63
|
+
*/
|
|
64
|
+
'isRequired': boolean;
|
|
65
|
+
/**
|
|
66
|
+
* Is field hidden on the booking funnel?
|
|
67
|
+
* @type {boolean}
|
|
68
|
+
* @memberof CreateProductFieldRequestDto
|
|
69
|
+
*/
|
|
70
|
+
'isHidden': boolean;
|
|
71
|
+
/**
|
|
72
|
+
* Should the field value be unique across policies?
|
|
73
|
+
* @type {boolean}
|
|
74
|
+
* @memberof CreateProductFieldRequestDto
|
|
75
|
+
*/
|
|
76
|
+
'isUnique': boolean;
|
|
77
|
+
/**
|
|
78
|
+
* Default value of the field. For the field type date-time, it should be { \"templated\" : \"{{today}}\" }
|
|
79
|
+
* @type {object}
|
|
80
|
+
* @memberof CreateProductFieldRequestDto
|
|
81
|
+
*/
|
|
82
|
+
'defaultValue': object;
|
|
83
|
+
/**
|
|
84
|
+
* Default value of the field. For the field type date-time, it should be { \"templated\" : \"{{today}}\" }
|
|
85
|
+
* @type {object}
|
|
86
|
+
* @memberof CreateProductFieldRequestDto
|
|
87
|
+
*/
|
|
88
|
+
'minValue'?: object;
|
|
89
|
+
/**
|
|
90
|
+
* Booking funnel description
|
|
91
|
+
* @type {string}
|
|
92
|
+
* @memberof CreateProductFieldRequestDto
|
|
93
|
+
*/
|
|
94
|
+
'bfDescription'?: string;
|
|
95
|
+
/**
|
|
96
|
+
* Booking funnel tooltip
|
|
97
|
+
* @type {string}
|
|
98
|
+
* @memberof CreateProductFieldRequestDto
|
|
99
|
+
*/
|
|
100
|
+
'bfTooltip'?: string;
|
|
101
|
+
/**
|
|
102
|
+
* Booking funnel label
|
|
103
|
+
* @type {string}
|
|
104
|
+
* @memberof CreateProductFieldRequestDto
|
|
105
|
+
*/
|
|
106
|
+
'bfLabel'?: string;
|
|
107
|
+
/**
|
|
108
|
+
* Default value of the field. For the field type date-time, it should be { \"templated\" : \"{{today}}\" }
|
|
109
|
+
* @type {object}
|
|
110
|
+
* @memberof CreateProductFieldRequestDto
|
|
111
|
+
*/
|
|
112
|
+
'maxValue'?: object;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
export const CreateProductFieldRequestDtoTypeEntityEnum = {
|
|
116
|
+
SystemProductFieldType: 'system_product_field_type',
|
|
117
|
+
ProductFactorType: 'product_factor_type'
|
|
118
|
+
} as const;
|
|
119
|
+
|
|
120
|
+
export type CreateProductFieldRequestDtoTypeEntityEnum = typeof CreateProductFieldRequestDtoTypeEntityEnum[keyof typeof CreateProductFieldRequestDtoTypeEntityEnum];
|
|
121
|
+
|
|
122
|
+
|
|
@@ -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 { ProductFieldClass } from './product-field-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface CreateProductFieldResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface CreateProductFieldResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* product field
|
|
26
|
+
* @type {ProductFieldClass}
|
|
27
|
+
* @memberof CreateProductFieldResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'productField': ProductFieldClass;
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -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
|
+
*
|
|
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 CreateProductRequestDto
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateProductRequestDto {
|
|
23
|
+
/**
|
|
24
|
+
* Product name
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof CreateProductRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'name': string;
|
|
29
|
+
/**
|
|
30
|
+
* Insured object types covered under product
|
|
31
|
+
* @type {Array<string>}
|
|
32
|
+
* @memberof CreateProductRequestDto
|
|
33
|
+
*/
|
|
34
|
+
'insuredObjectTypes': Array<CreateProductRequestDtoInsuredObjectTypesEnum>;
|
|
35
|
+
/**
|
|
36
|
+
* Contract duration in days
|
|
37
|
+
* @type {number}
|
|
38
|
+
* @memberof CreateProductRequestDto
|
|
39
|
+
*/
|
|
40
|
+
'contractDurationDays': number;
|
|
41
|
+
/**
|
|
42
|
+
* Product slug
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof CreateProductRequestDto
|
|
45
|
+
*/
|
|
46
|
+
'slug': string;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export const CreateProductRequestDtoInsuredObjectTypesEnum = {
|
|
50
|
+
Default: 'default',
|
|
51
|
+
Car: 'car',
|
|
52
|
+
Tpl: 'tpl',
|
|
53
|
+
Custom: 'custom',
|
|
54
|
+
Motorbike: 'motorbike',
|
|
55
|
+
Moped: 'moped',
|
|
56
|
+
Bike: 'bike',
|
|
57
|
+
HomeContents: 'homeContents',
|
|
58
|
+
LegalProtection: 'legalProtection',
|
|
59
|
+
Accident: 'accident',
|
|
60
|
+
Travel: 'travel',
|
|
61
|
+
Device: 'device'
|
|
62
|
+
} as const;
|
|
63
|
+
|
|
64
|
+
export type CreateProductRequestDtoInsuredObjectTypesEnum = typeof CreateProductRequestDtoInsuredObjectTypesEnum[keyof typeof CreateProductRequestDtoInsuredObjectTypesEnum];
|
|
65
|
+
|
|
66
|
+
|
|
@@ -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 { ProductClass } from './product-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface CreateProductResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface CreateProductResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* Product definition
|
|
26
|
+
* @type {ProductClass}
|
|
27
|
+
* @memberof CreateProductResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'product': ProductClass;
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -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 CsvProductFactorDto
|
|
21
|
+
*/
|
|
22
|
+
export interface CsvProductFactorDto {
|
|
23
|
+
/**
|
|
24
|
+
* Factor group
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof CsvProductFactorDto
|
|
27
|
+
*/
|
|
28
|
+
'group': string;
|
|
29
|
+
/**
|
|
30
|
+
* Factor label
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof CsvProductFactorDto
|
|
33
|
+
*/
|
|
34
|
+
'label': string;
|
|
35
|
+
/**
|
|
36
|
+
* Factor name
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof CsvProductFactorDto
|
|
39
|
+
*/
|
|
40
|
+
'name': string;
|
|
41
|
+
/**
|
|
42
|
+
* Factor key
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof CsvProductFactorDto
|
|
45
|
+
*/
|
|
46
|
+
'key': string;
|
|
47
|
+
/**
|
|
48
|
+
* Factor value
|
|
49
|
+
* @type {number}
|
|
50
|
+
* @memberof CsvProductFactorDto
|
|
51
|
+
*/
|
|
52
|
+
'value': number;
|
|
53
|
+
}
|
|
54
|
+
|
|
@@ -0,0 +1,30 @@
|
|
|
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 DeleteRequestDto
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteRequestDto {
|
|
23
|
+
/**
|
|
24
|
+
* Resource id
|
|
25
|
+
* @type {number}
|
|
26
|
+
* @memberof DeleteRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'id': number;
|
|
29
|
+
}
|
|
30
|
+
|
|
@@ -0,0 +1,30 @@
|
|
|
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 GetInsuredObjectRequestDto
|
|
21
|
+
*/
|
|
22
|
+
export interface GetInsuredObjectRequestDto {
|
|
23
|
+
/**
|
|
24
|
+
* Insured object id
|
|
25
|
+
* @type {number}
|
|
26
|
+
* @memberof GetInsuredObjectRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'id': number;
|
|
29
|
+
}
|
|
30
|
+
|
|
@@ -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 { InsuredObjectClass } from './insured-object-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface GetInsuredObjectResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface GetInsuredObjectResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* Insured object
|
|
26
|
+
* @type {InsuredObjectClass}
|
|
27
|
+
* @memberof GetInsuredObjectResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'insuredObject': InsuredObjectClass;
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -0,0 +1,36 @@
|
|
|
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 GetPolicyRequestDto
|
|
21
|
+
*/
|
|
22
|
+
export interface GetPolicyRequestDto {
|
|
23
|
+
/**
|
|
24
|
+
* Policy code
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof GetPolicyRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'code': string;
|
|
29
|
+
/**
|
|
30
|
+
* Fields to expand response by
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof GetPolicyRequestDto
|
|
33
|
+
*/
|
|
34
|
+
'expand'?: string;
|
|
35
|
+
}
|
|
36
|
+
|
|
@@ -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 { PolicyClass } from './policy-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface GetPolicyResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface GetPolicyResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* Policy
|
|
26
|
+
* @type {PolicyClass}
|
|
27
|
+
* @memberof GetPolicyResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'policy': PolicyClass;
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -0,0 +1,30 @@
|
|
|
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 GetPremiumFormulaRequestDto
|
|
21
|
+
*/
|
|
22
|
+
export interface GetPremiumFormulaRequestDto {
|
|
23
|
+
/**
|
|
24
|
+
* Product formula id
|
|
25
|
+
* @type {number}
|
|
26
|
+
* @memberof GetPremiumFormulaRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'id': number;
|
|
29
|
+
}
|
|
30
|
+
|
|
@@ -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 { PremiumFormulaClass } from './premium-formula-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface GetPremiumFormulaResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface GetPremiumFormulaResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* Premium Formula
|
|
26
|
+
* @type {PremiumFormulaClass}
|
|
27
|
+
* @memberof GetPremiumFormulaResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'premiumFormula': PremiumFormulaClass;
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -0,0 +1,38 @@
|
|
|
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 { ProductClass } from './product-class';
|
|
17
|
+
import { ProductFactorClass } from './product-factor-class';
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @export
|
|
22
|
+
* @interface GetProductFactorResponseClass
|
|
23
|
+
*/
|
|
24
|
+
export interface GetProductFactorResponseClass {
|
|
25
|
+
/**
|
|
26
|
+
* Product
|
|
27
|
+
* @type {ProductClass}
|
|
28
|
+
* @memberof GetProductFactorResponseClass
|
|
29
|
+
*/
|
|
30
|
+
'product': ProductClass;
|
|
31
|
+
/**
|
|
32
|
+
* Product factor
|
|
33
|
+
* @type {ProductFactorClass}
|
|
34
|
+
* @memberof GetProductFactorResponseClass
|
|
35
|
+
*/
|
|
36
|
+
'productFactor': ProductFactorClass;
|
|
37
|
+
}
|
|
38
|
+
|