@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,48 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL InsuranceService
|
|
5
|
+
* The EMIL InsuranceService API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
*
|
|
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 GetProductFactorValueRequestDto
|
|
21
|
+
*/
|
|
22
|
+
export interface GetProductFactorValueRequestDto {
|
|
23
|
+
/**
|
|
24
|
+
* Product Version Id
|
|
25
|
+
* @type {number}
|
|
26
|
+
* @memberof GetProductFactorValueRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'productVersionId': number;
|
|
29
|
+
/**
|
|
30
|
+
* Product factor label
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof GetProductFactorValueRequestDto
|
|
33
|
+
*/
|
|
34
|
+
'label': string;
|
|
35
|
+
/**
|
|
36
|
+
* Key for the product factor value
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof GetProductFactorValueRequestDto
|
|
39
|
+
*/
|
|
40
|
+
'key': string;
|
|
41
|
+
/**
|
|
42
|
+
* Name for the product factor value
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof GetProductFactorValueRequestDto
|
|
45
|
+
*/
|
|
46
|
+
'name': string;
|
|
47
|
+
}
|
|
48
|
+
|
|
@@ -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 { ProductFactorValueClass } from './product-factor-value-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface GetProductFactorValueResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface GetProductFactorValueResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* Product factor value
|
|
26
|
+
* @type {ProductFactorValueClass}
|
|
27
|
+
* @memberof GetProductFactorValueResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'value': ProductFactorValueClass;
|
|
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 GetProductFieldRequestDto
|
|
21
|
+
*/
|
|
22
|
+
export interface GetProductFieldRequestDto {
|
|
23
|
+
/**
|
|
24
|
+
* Product field id
|
|
25
|
+
* @type {number}
|
|
26
|
+
* @memberof GetProductFieldRequestDto
|
|
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 { ProductFieldClass } from './product-field-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface GetProductFieldResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface GetProductFieldResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* Product field
|
|
26
|
+
* @type {ProductFieldClass}
|
|
27
|
+
* @memberof GetProductFieldResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'productField': ProductFieldClass;
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -0,0 +1,42 @@
|
|
|
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 GetProductRequestDto
|
|
21
|
+
*/
|
|
22
|
+
export interface GetProductRequestDto {
|
|
23
|
+
/**
|
|
24
|
+
* Product id
|
|
25
|
+
* @type {number}
|
|
26
|
+
* @memberof GetProductRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'id': number;
|
|
29
|
+
/**
|
|
30
|
+
* Product code
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof GetProductRequestDto
|
|
33
|
+
*/
|
|
34
|
+
'code': string;
|
|
35
|
+
/**
|
|
36
|
+
* Fields to expand response by
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof GetProductRequestDto
|
|
39
|
+
*/
|
|
40
|
+
'expand'?: string;
|
|
41
|
+
}
|
|
42
|
+
|
|
@@ -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 GetProductResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface GetProductResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* Product
|
|
26
|
+
* @type {ProductClass}
|
|
27
|
+
* @memberof GetProductResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'product': ProductClass;
|
|
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 GetProductVersionRequestDto
|
|
21
|
+
*/
|
|
22
|
+
export interface GetProductVersionRequestDto {
|
|
23
|
+
/**
|
|
24
|
+
* Product version id
|
|
25
|
+
* @type {number}
|
|
26
|
+
* @memberof GetProductVersionRequestDto
|
|
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 { ProductVersionClass } from './product-version-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface GetProductVersionResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface GetProductVersionResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* Product version
|
|
26
|
+
* @type {ProductVersionClass}
|
|
27
|
+
* @memberof GetProductVersionResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'productVersion': ProductVersionClass;
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -0,0 +1,43 @@
|
|
|
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 { GroupedProductFactorValueClass } from './grouped-product-factor-value-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface GroupedProductFactorClass
|
|
22
|
+
*/
|
|
23
|
+
export interface GroupedProductFactorClass {
|
|
24
|
+
/**
|
|
25
|
+
* Factor group
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof GroupedProductFactorClass
|
|
28
|
+
*/
|
|
29
|
+
'group': string;
|
|
30
|
+
/**
|
|
31
|
+
* Factor label
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof GroupedProductFactorClass
|
|
34
|
+
*/
|
|
35
|
+
'label': string;
|
|
36
|
+
/**
|
|
37
|
+
* Factor values
|
|
38
|
+
* @type {Array<GroupedProductFactorValueClass>}
|
|
39
|
+
* @memberof GroupedProductFactorClass
|
|
40
|
+
*/
|
|
41
|
+
'values': Array<GroupedProductFactorValueClass>;
|
|
42
|
+
}
|
|
43
|
+
|
|
@@ -0,0 +1,42 @@
|
|
|
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 GroupedProductFactorValueClass
|
|
21
|
+
*/
|
|
22
|
+
export interface GroupedProductFactorValueClass {
|
|
23
|
+
/**
|
|
24
|
+
* Factor name
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof GroupedProductFactorValueClass
|
|
27
|
+
*/
|
|
28
|
+
'name': string;
|
|
29
|
+
/**
|
|
30
|
+
* Factor key
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof GroupedProductFactorValueClass
|
|
33
|
+
*/
|
|
34
|
+
'key': string;
|
|
35
|
+
/**
|
|
36
|
+
* Factor value
|
|
37
|
+
* @type {number}
|
|
38
|
+
* @memberof GroupedProductFactorValueClass
|
|
39
|
+
*/
|
|
40
|
+
'value': number;
|
|
41
|
+
}
|
|
42
|
+
|
|
@@ -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 { GroupedProductFactorClass } from './grouped-product-factor-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface GroupedProductFactorsResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface GroupedProductFactorsResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* Factors
|
|
26
|
+
* @type {Array<GroupedProductFactorClass>}
|
|
27
|
+
* @memberof GroupedProductFactorsResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'productFactors': Array<GroupedProductFactorClass>;
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -0,0 +1,43 @@
|
|
|
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 { PolicyObjectDto } from './policy-object-dto';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface GrpcCreatePolicyRequestDto
|
|
22
|
+
*/
|
|
23
|
+
export interface GrpcCreatePolicyRequestDto {
|
|
24
|
+
/**
|
|
25
|
+
* Product version id
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof GrpcCreatePolicyRequestDto
|
|
28
|
+
*/
|
|
29
|
+
'productVersionId': number;
|
|
30
|
+
/**
|
|
31
|
+
* User account code
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof GrpcCreatePolicyRequestDto
|
|
34
|
+
*/
|
|
35
|
+
'accountCode': string;
|
|
36
|
+
/**
|
|
37
|
+
* Policy Objects
|
|
38
|
+
* @type {Array<PolicyObjectDto>}
|
|
39
|
+
* @memberof GrpcCreatePolicyRequestDto
|
|
40
|
+
*/
|
|
41
|
+
'policyObjects': Array<PolicyObjectDto>;
|
|
42
|
+
}
|
|
43
|
+
|
package/models/index.ts
ADDED
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
export * from './calculate-custom-premium-request-dto';
|
|
2
|
+
export * from './calculate-premium-request-dto';
|
|
3
|
+
export * from './create-account-request-dto';
|
|
4
|
+
export * from './create-bank-account-request-dto';
|
|
5
|
+
export * from './create-claim-request-dto';
|
|
6
|
+
export * from './create-custom-application-request-dto';
|
|
7
|
+
export * from './create-dummy-policy-request-dto';
|
|
8
|
+
export * from './create-insured-object-request-dto';
|
|
9
|
+
export * from './create-insured-object-response-class';
|
|
10
|
+
export * from './create-lead-request-dto';
|
|
11
|
+
export * from './create-policy-request-dto';
|
|
12
|
+
export * from './create-policy-response-class';
|
|
13
|
+
export * from './create-premium-formula-request-dto';
|
|
14
|
+
export * from './create-premium-formula-response-class';
|
|
15
|
+
export * from './create-product-field-request-dto';
|
|
16
|
+
export * from './create-product-field-response-class';
|
|
17
|
+
export * from './create-product-request-dto';
|
|
18
|
+
export * from './create-product-response-class';
|
|
19
|
+
export * from './csv-product-factor-dto';
|
|
20
|
+
export * from './delete-request-dto';
|
|
21
|
+
export * from './get-insured-object-request-dto';
|
|
22
|
+
export * from './get-insured-object-response-class';
|
|
23
|
+
export * from './get-policy-request-dto';
|
|
24
|
+
export * from './get-policy-response-class';
|
|
25
|
+
export * from './get-premium-formula-request-dto';
|
|
26
|
+
export * from './get-premium-formula-response-class';
|
|
27
|
+
export * from './get-product-factor-response-class';
|
|
28
|
+
export * from './get-product-factor-value-request-dto';
|
|
29
|
+
export * from './get-product-factor-value-response-class';
|
|
30
|
+
export * from './get-product-field-request-dto';
|
|
31
|
+
export * from './get-product-field-response-class';
|
|
32
|
+
export * from './get-product-request-dto';
|
|
33
|
+
export * from './get-product-response-class';
|
|
34
|
+
export * from './get-product-version-request-dto';
|
|
35
|
+
export * from './get-product-version-response-class';
|
|
36
|
+
export * from './grouped-product-factor-class';
|
|
37
|
+
export * from './grouped-product-factor-value-class';
|
|
38
|
+
export * from './grouped-product-factors-response-class';
|
|
39
|
+
export * from './grpc-create-policy-request-dto';
|
|
40
|
+
export * from './insured-object-class';
|
|
41
|
+
export * from './insured-object-type-class';
|
|
42
|
+
export * from './list-insured-object-types-response-class';
|
|
43
|
+
export * from './list-insured-objects-response-class';
|
|
44
|
+
export * from './list-policies-response-class';
|
|
45
|
+
export * from './list-premium-formulas-response-class';
|
|
46
|
+
export * from './list-product-factors-response-class';
|
|
47
|
+
export * from './list-product-field-types-response-class';
|
|
48
|
+
export * from './list-product-fields-response-class';
|
|
49
|
+
export * from './list-products-response-class';
|
|
50
|
+
export * from './list-request-dto';
|
|
51
|
+
export * from './policy-class';
|
|
52
|
+
export * from './policy-object-class';
|
|
53
|
+
export * from './policy-object-dto';
|
|
54
|
+
export * from './policy-premium-class';
|
|
55
|
+
export * from './policy-premium-item-class';
|
|
56
|
+
export * from './policy-version-class';
|
|
57
|
+
export * from './premium-formula-class';
|
|
58
|
+
export * from './product-class';
|
|
59
|
+
export * from './product-factor-class';
|
|
60
|
+
export * from './product-factor-value-class';
|
|
61
|
+
export * from './product-field-class';
|
|
62
|
+
export * from './product-version-class';
|
|
63
|
+
export * from './store-product-factors-request-dto';
|
|
64
|
+
export * from './store-product-factors-response-class';
|
|
65
|
+
export * from './timeslice-class';
|
|
66
|
+
export * from './update-insured-object-request-dto';
|
|
67
|
+
export * from './update-lead-request-dto';
|
|
68
|
+
export * from './update-policy-request-dto';
|
|
69
|
+
export * from './update-policy-response-class';
|
|
70
|
+
export * from './update-premium-formula-request-dto';
|
|
71
|
+
export * from './update-premium-formula-response-class';
|
|
72
|
+
export * from './update-product-field-request-dto';
|
|
73
|
+
export * from './update-product-field-response-class';
|
|
74
|
+
export * from './update-product-request-dto';
|
|
75
|
+
export * from './update-product-response-class';
|
|
76
|
+
export * from './update-product-version-request-dto';
|
|
77
|
+
export * from './update-product-version-response-class';
|
|
78
|
+
export * from './uploaded-document-dto';
|
|
79
|
+
export * from './validate-product-factors-request-dto';
|
|
@@ -0,0 +1,73 @@
|
|
|
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 InsuredObjectClass
|
|
22
|
+
*/
|
|
23
|
+
export interface InsuredObjectClass {
|
|
24
|
+
/**
|
|
25
|
+
* Insured object id
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof InsuredObjectClass
|
|
28
|
+
*/
|
|
29
|
+
'id': number;
|
|
30
|
+
/**
|
|
31
|
+
* Product version id
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof InsuredObjectClass
|
|
34
|
+
*/
|
|
35
|
+
'productVersionId': number;
|
|
36
|
+
/**
|
|
37
|
+
* Insured object name
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof InsuredObjectClass
|
|
40
|
+
*/
|
|
41
|
+
'name': string;
|
|
42
|
+
/**
|
|
43
|
+
* Insured object label
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof InsuredObjectClass
|
|
46
|
+
*/
|
|
47
|
+
'label': string;
|
|
48
|
+
/**
|
|
49
|
+
* Insured object type id
|
|
50
|
+
* @type {number}
|
|
51
|
+
* @memberof InsuredObjectClass
|
|
52
|
+
*/
|
|
53
|
+
'insuredObjectTypeId': number;
|
|
54
|
+
/**
|
|
55
|
+
* Product fields
|
|
56
|
+
* @type {Array<ProductFieldClass>}
|
|
57
|
+
* @memberof InsuredObjectClass
|
|
58
|
+
*/
|
|
59
|
+
'productFields': Array<ProductFieldClass>;
|
|
60
|
+
/**
|
|
61
|
+
* Date created
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof InsuredObjectClass
|
|
64
|
+
*/
|
|
65
|
+
'createdAt': string;
|
|
66
|
+
/**
|
|
67
|
+
* Date updated
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof InsuredObjectClass
|
|
70
|
+
*/
|
|
71
|
+
'updatedAt': string;
|
|
72
|
+
}
|
|
73
|
+
|
|
@@ -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 InsuredObjectTypeClass
|
|
21
|
+
*/
|
|
22
|
+
export interface InsuredObjectTypeClass {
|
|
23
|
+
/**
|
|
24
|
+
* Insured object type id
|
|
25
|
+
* @type {number}
|
|
26
|
+
* @memberof InsuredObjectTypeClass
|
|
27
|
+
*/
|
|
28
|
+
'id': number;
|
|
29
|
+
/**
|
|
30
|
+
* Insured object type name
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof InsuredObjectTypeClass
|
|
33
|
+
*/
|
|
34
|
+
'name': string;
|
|
35
|
+
/**
|
|
36
|
+
* Insured object type\'s slug
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof InsuredObjectTypeClass
|
|
39
|
+
*/
|
|
40
|
+
'slug': string;
|
|
41
|
+
/**
|
|
42
|
+
* Date created
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof InsuredObjectTypeClass
|
|
45
|
+
*/
|
|
46
|
+
'createdAt': string;
|
|
47
|
+
/**
|
|
48
|
+
* Date updated
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof InsuredObjectTypeClass
|
|
51
|
+
*/
|
|
52
|
+
'updatedAt': string;
|
|
53
|
+
}
|
|
54
|
+
|
|
@@ -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 { InsuredObjectTypeClass } from './insured-object-type-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface ListInsuredObjectTypesResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface ListInsuredObjectTypesResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* Products
|
|
26
|
+
* @type {Array<InsuredObjectTypeClass>}
|
|
27
|
+
* @memberof ListInsuredObjectTypesResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'items': Array<InsuredObjectTypeClass>;
|
|
30
|
+
/**
|
|
31
|
+
* Next page token
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ListInsuredObjectTypesResponseClass
|
|
34
|
+
*/
|
|
35
|
+
'nextPageToken': string;
|
|
36
|
+
}
|
|
37
|
+
|