@emilgroup/insurance-sdk-node 1.2.0 → 1.4.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 +18 -5
- package/README.md +2 -2
- package/api/insured-object-types-api.ts +29 -29
- package/api/insured-objects-api.ts +44 -33
- package/api/leads-api.ts +187 -7
- package/api/policies-api.ts +276 -41
- package/api/premium-formulas-api.ts +669 -0
- package/api/product-factors-api.ts +889 -0
- package/api/product-fields-api.ts +843 -0
- package/api/product-versions-api.ts +301 -0
- package/api/products-api.ts +201 -2665
- package/api.ts +9 -1
- package/base.ts +23 -33
- package/common.ts +62 -1
- package/configuration.ts +1 -1
- package/dist/api/insured-object-types-api.d.ts +29 -29
- package/dist/api/insured-object-types-api.js +25 -25
- package/dist/api/insured-objects-api.d.ts +38 -29
- package/dist/api/insured-objects-api.js +31 -27
- package/dist/api/leads-api.d.ts +114 -10
- package/dist/api/leads-api.js +125 -2
- package/dist/api/policies-api.d.ts +171 -41
- package/dist/api/policies-api.js +231 -34
- package/dist/api/premium-formulas-api.d.ts +376 -0
- package/dist/api/premium-formulas-api.js +634 -0
- package/dist/api/product-factors-api.d.ts +493 -0
- package/dist/api/product-factors-api.js +788 -0
- package/dist/api/product-fields-api.d.ts +477 -0
- package/dist/api/product-fields-api.js +757 -0
- package/dist/api/product-versions-api.d.ts +171 -0
- package/dist/api/product-versions-api.js +334 -0
- package/dist/api/products-api.d.ts +25 -1388
- package/dist/api/products-api.js +137 -2118
- package/dist/api.d.ts +5 -1
- package/dist/api.js +5 -1
- package/dist/base.d.ts +2 -3
- package/dist/base.js +20 -22
- package/dist/common.d.ts +27 -1
- package/dist/common.js +36 -3
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/models/calculate-custom-premium-request-dto.d.ts +4 -4
- package/dist/models/calculate-custom-premium-request-dto.js +1 -1
- package/dist/models/calculate-premium-request-dto.d.ts +9 -9
- package/dist/models/calculate-premium-request-dto.js +1 -1
- package/dist/models/create-account-request-dto.d.ts +26 -13
- package/dist/models/create-account-request-dto.js +8 -1
- package/dist/models/create-bank-account-request-dto.d.ts +3 -3
- package/dist/models/create-bank-account-request-dto.js +1 -1
- package/dist/models/create-custom-application-request-dto.d.ts +5 -5
- package/dist/models/create-custom-application-request-dto.js +1 -1
- package/dist/models/create-dummy-policy-request-dto.d.ts +4 -4
- package/dist/models/create-dummy-policy-request-dto.js +1 -1
- package/dist/models/create-insured-object-request-dto.d.ts +5 -5
- package/dist/models/create-insured-object-request-dto.js +1 -1
- package/dist/models/create-insured-object-response-class.d.ts +5 -5
- package/dist/models/create-insured-object-response-class.js +1 -1
- package/dist/models/create-lead-request-dto.d.ts +23 -23
- package/dist/models/create-lead-request-dto.js +1 -1
- package/dist/models/create-lead-response-class.d.ts +25 -0
- package/dist/models/{grpc-policy-object-dto.js → create-lead-response-class.js} +1 -1
- package/dist/models/create-policy-request-dto.d.ts +19 -7
- package/dist/models/create-policy-request-dto.js +1 -1
- package/dist/models/create-policy-response-class.d.ts +1 -1
- package/dist/models/create-policy-response-class.js +1 -1
- package/dist/models/create-premium-formula-request-dto.d.ts +10 -9
- package/dist/models/create-premium-formula-request-dto.js +3 -2
- package/dist/models/create-premium-formula-response-class.d.ts +2 -2
- package/dist/models/create-premium-formula-response-class.js +1 -1
- package/dist/models/create-product-field-request-dto.d.ts +2 -2
- package/dist/models/create-product-field-request-dto.js +1 -1
- package/dist/models/create-product-field-response-class.d.ts +2 -2
- package/dist/models/create-product-field-response-class.js +1 -1
- package/dist/models/create-product-request-dto.d.ts +6 -6
- package/dist/models/create-product-request-dto.js +1 -1
- package/dist/models/create-product-response-class.d.ts +1 -1
- package/dist/models/create-product-response-class.js +1 -1
- package/dist/models/csv-product-factor-dto.d.ts +6 -6
- package/dist/models/csv-product-factor-dto.js +1 -1
- package/dist/models/delete-request-dto.d.ts +2 -2
- package/dist/models/delete-request-dto.js +1 -1
- package/dist/models/{get-insured-object-request-dto.d.ts → delete-response-class.d.ts} +7 -7
- package/dist/models/{to-grpc-create-policy-request-dto.js → delete-response-class.js} +1 -1
- package/dist/models/get-insured-object-response-class.d.ts +2 -2
- package/dist/models/get-insured-object-response-class.js +1 -1
- package/dist/models/get-lead-response-class.d.ts +25 -0
- package/dist/models/{grpc-update-policy-request-dto.js → get-lead-response-class.js} +1 -1
- package/dist/models/{grpc-policy-object-dto.d.ts → get-policy-data-by-date-request-dto.d.ts} +11 -11
- package/dist/models/{get-insured-object-request-dto.js → get-policy-data-by-date-request-dto.js} +1 -1
- package/dist/models/get-policy-request-dto.d.ts +3 -3
- package/dist/models/get-policy-request-dto.js +1 -1
- package/dist/models/get-policy-response-class.d.ts +2 -2
- package/dist/models/get-policy-response-class.js +1 -1
- package/dist/models/get-premium-formula-request-dto.d.ts +2 -2
- package/dist/models/get-premium-formula-request-dto.js +1 -1
- package/dist/models/get-premium-formula-response-class.d.ts +2 -2
- package/dist/models/get-premium-formula-response-class.js +1 -1
- package/dist/models/get-product-factor-response-class.d.ts +2 -2
- package/dist/models/get-product-factor-response-class.js +1 -1
- package/dist/models/get-product-factor-value-request-dto.d.ts +1 -1
- package/dist/models/get-product-factor-value-request-dto.js +1 -1
- package/dist/models/get-product-factor-value-response-class.d.ts +2 -2
- package/dist/models/get-product-factor-value-response-class.js +1 -1
- package/dist/models/get-product-factors-for-version-request-dto.d.ts +4 -4
- package/dist/models/get-product-factors-for-version-request-dto.js +1 -1
- package/dist/models/get-product-factors-for-version-response-class.d.ts +1 -1
- package/dist/models/get-product-factors-for-version-response-class.js +1 -1
- package/dist/models/get-product-field-request-dto.d.ts +2 -2
- package/dist/models/get-product-field-request-dto.js +1 -1
- package/dist/models/get-product-field-response-class.d.ts +2 -2
- package/dist/models/get-product-field-response-class.js +1 -1
- package/dist/models/get-product-request-dto.d.ts +1 -1
- package/dist/models/get-product-request-dto.js +1 -1
- package/dist/models/get-product-response-class.d.ts +1 -1
- package/dist/models/get-product-response-class.js +1 -1
- package/dist/models/get-product-version-request-dto.d.ts +2 -2
- package/dist/models/get-product-version-request-dto.js +1 -1
- package/dist/models/get-product-version-response-class.d.ts +1 -1
- package/dist/models/get-product-version-response-class.js +1 -1
- package/dist/models/grouped-product-factor-class.d.ts +4 -4
- package/dist/models/grouped-product-factor-class.js +1 -1
- package/dist/models/grouped-product-factor-value-class.d.ts +10 -4
- package/dist/models/grouped-product-factor-value-class.js +1 -1
- package/dist/models/grouped-product-factors-response-class.d.ts +1 -1
- package/dist/models/grouped-product-factors-response-class.js +1 -1
- package/dist/models/index.d.ts +14 -5
- package/dist/models/index.js +14 -5
- package/dist/models/insured-object-class.d.ts +12 -12
- package/dist/models/insured-object-class.js +1 -1
- package/dist/models/insured-object-type-class.d.ts +6 -6
- package/dist/models/insured-object-type-class.js +1 -1
- package/dist/models/lead-bank-account-class.d.ts +30 -0
- package/dist/models/lead-bank-account-class.js +15 -0
- package/dist/models/lead-class.d.ts +95 -0
- package/dist/models/lead-class.js +15 -0
- package/dist/models/list-insured-object-types-response-class.d.ts +3 -3
- package/dist/models/list-insured-object-types-response-class.js +1 -1
- package/dist/models/list-insured-objects-response-class.d.ts +5 -4
- package/dist/models/list-insured-objects-response-class.js +1 -1
- package/dist/models/list-leads-response-class.d.ts +31 -0
- package/dist/models/list-leads-response-class.js +15 -0
- package/dist/models/list-policies-response-class.d.ts +2 -2
- package/dist/models/list-policies-response-class.js +1 -1
- package/dist/models/list-premium-formulas-response-class.d.ts +3 -3
- package/dist/models/list-premium-formulas-response-class.js +1 -1
- package/dist/models/list-product-factors-response-class.d.ts +7 -7
- package/dist/models/list-product-factors-response-class.js +1 -1
- package/dist/models/list-product-field-types-response-class.d.ts +6 -5
- package/dist/models/list-product-field-types-response-class.js +1 -1
- package/dist/models/list-product-fields-response-class.d.ts +3 -3
- package/dist/models/list-product-fields-response-class.js +1 -1
- package/dist/models/list-products-response-class.d.ts +3 -3
- package/dist/models/list-products-response-class.js +1 -1
- package/dist/models/list-request-dto.d.ts +6 -6
- package/dist/models/list-request-dto.js +1 -1
- package/dist/models/omit-type-class.d.ts +60 -0
- package/dist/models/omit-type-class.js +15 -0
- package/dist/models/policy-class.d.ts +32 -14
- package/dist/models/policy-class.js +1 -1
- package/dist/models/policy-object-class.d.ts +5 -5
- package/dist/models/policy-object-class.js +1 -1
- package/dist/models/policy-object-dto.d.ts +3 -3
- package/dist/models/policy-object-dto.js +1 -1
- package/dist/models/policy-premium-class.d.ts +5 -5
- package/dist/models/policy-premium-class.js +1 -1
- package/dist/models/policy-premium-item-class.d.ts +7 -7
- package/dist/models/policy-premium-item-class.js +1 -1
- package/dist/models/policy-version-class.d.ts +6 -6
- package/dist/models/policy-version-class.js +1 -1
- package/dist/models/premium-formula-class.d.ts +10 -17
- package/dist/models/premium-formula-class.js +1 -1
- package/dist/models/premium-override-dto.d.ts +7 -6
- package/dist/models/premium-override-dto.js +3 -2
- package/dist/models/premium-override-request-dto.d.ts +2 -2
- package/dist/models/premium-override-request-dto.js +1 -1
- package/dist/models/product-class.d.ts +10 -10
- package/dist/models/product-class.js +1 -1
- package/dist/models/product-factor-class.d.ts +9 -9
- package/dist/models/product-factor-class.js +1 -1
- package/dist/models/product-factor-value-class.d.ts +8 -28
- package/dist/models/product-factor-value-class.js +1 -1
- package/dist/models/product-field-class.d.ts +10 -10
- package/dist/models/product-field-class.js +1 -1
- package/dist/models/product-field-type-class.d.ts +48 -0
- package/dist/models/product-field-type-class.js +15 -0
- package/dist/models/product-version-class.d.ts +15 -8
- package/dist/models/product-version-class.js +8 -1
- package/dist/models/shared-product-field-class.d.ts +114 -0
- package/dist/models/shared-product-field-class.js +15 -0
- package/dist/models/shared-update-premium-formula-request-dto.d.ts +72 -0
- package/dist/models/{create-claim-request-dto.js → shared-update-premium-formula-request-dto.js} +10 -9
- package/dist/models/store-product-factors-request-dto.d.ts +2 -2
- package/dist/models/store-product-factors-request-dto.js +1 -1
- package/dist/models/store-product-factors-response-class.d.ts +1 -1
- package/dist/models/store-product-factors-response-class.js +1 -1
- package/dist/models/suspend-policy-request-dto.d.ts +24 -0
- package/dist/models/suspend-policy-request-dto.js +15 -0
- package/dist/models/suspend-policy-response-class.d.ts +25 -0
- package/dist/models/suspend-policy-response-class.js +15 -0
- package/dist/models/terminate-policy-request-dto.d.ts +3 -3
- package/dist/models/terminate-policy-request-dto.js +1 -1
- package/dist/models/terminate-policy-response-class.d.ts +1 -1
- package/dist/models/terminate-policy-response-class.js +1 -1
- package/dist/models/timeslice-class.d.ts +8 -8
- package/dist/models/timeslice-class.js +1 -1
- package/dist/models/update-insured-object-request-dto.d.ts +6 -6
- package/dist/models/update-insured-object-request-dto.js +1 -1
- package/dist/models/update-lead-request-dto.d.ts +8 -14
- package/dist/models/update-lead-request-dto.js +1 -1
- package/dist/models/update-lead-response-class.d.ts +25 -0
- package/dist/models/update-lead-response-class.js +15 -0
- package/dist/models/update-policy-request-dto.d.ts +24 -5
- package/dist/models/update-policy-request-dto.js +8 -1
- package/dist/models/update-policy-response-class.d.ts +1 -1
- package/dist/models/update-policy-response-class.js +1 -1
- package/dist/models/update-premium-formula-request-dto.d.ts +10 -15
- package/dist/models/update-premium-formula-request-dto.js +3 -2
- package/dist/models/update-premium-formula-response-class.d.ts +2 -2
- package/dist/models/update-premium-formula-response-class.js +1 -1
- package/dist/models/update-product-field-request-dto.d.ts +15 -15
- package/dist/models/update-product-field-request-dto.js +1 -1
- package/dist/models/update-product-field-response-class.d.ts +2 -2
- package/dist/models/update-product-field-response-class.js +1 -1
- package/dist/models/update-product-request-dto.d.ts +5 -5
- package/dist/models/update-product-request-dto.js +1 -1
- package/dist/models/update-product-response-class.d.ts +1 -1
- package/dist/models/update-product-response-class.js +1 -1
- package/dist/models/update-product-version-request-dto.d.ts +5 -5
- package/dist/models/update-product-version-request-dto.js +1 -1
- package/dist/models/update-product-version-response-class.d.ts +1 -1
- package/dist/models/update-product-version-response-class.js +1 -1
- package/dist/models/uploaded-document-dto.d.ts +2 -2
- package/dist/models/uploaded-document-dto.js +1 -1
- package/dist/models/validate-product-factors-request-dto.d.ts +2 -2
- package/dist/models/validate-product-factors-request-dto.js +1 -1
- package/dist/models/withdraw-policy-response-class.d.ts +1 -1
- package/dist/models/withdraw-policy-response-class.js +1 -1
- package/index.ts +1 -1
- package/models/calculate-custom-premium-request-dto.ts +3 -3
- package/models/calculate-premium-request-dto.ts +9 -9
- package/models/create-account-request-dto.ts +29 -13
- package/models/create-bank-account-request-dto.ts +3 -3
- package/models/create-custom-application-request-dto.ts +4 -4
- package/models/create-dummy-policy-request-dto.ts +4 -4
- package/models/create-insured-object-request-dto.ts +5 -5
- package/models/create-insured-object-response-class.ts +5 -5
- package/models/create-lead-request-dto.ts +22 -22
- package/models/create-lead-response-class.ts +31 -0
- package/models/create-policy-request-dto.ts +19 -7
- package/models/create-policy-response-class.ts +1 -1
- package/models/create-premium-formula-request-dto.ts +9 -8
- package/models/create-premium-formula-response-class.ts +2 -2
- package/models/create-product-field-request-dto.ts +1 -1
- package/models/create-product-field-response-class.ts +2 -2
- package/models/create-product-request-dto.ts +5 -5
- package/models/create-product-response-class.ts +1 -1
- package/models/csv-product-factor-dto.ts +6 -6
- package/models/delete-request-dto.ts +2 -2
- package/models/{get-insured-object-request-dto.ts → delete-response-class.ts} +7 -7
- package/models/get-insured-object-response-class.ts +2 -2
- package/models/get-lead-response-class.ts +31 -0
- package/models/{grpc-policy-object-dto.ts → get-policy-data-by-date-request-dto.ts} +11 -11
- package/models/get-policy-request-dto.ts +3 -3
- package/models/get-policy-response-class.ts +2 -2
- package/models/get-premium-formula-request-dto.ts +2 -2
- package/models/get-premium-formula-response-class.ts +2 -2
- package/models/get-product-factor-response-class.ts +2 -2
- package/models/get-product-factor-value-request-dto.ts +1 -1
- package/models/get-product-factor-value-response-class.ts +2 -2
- package/models/get-product-factors-for-version-request-dto.ts +4 -4
- package/models/get-product-factors-for-version-response-class.ts +1 -1
- package/models/get-product-field-request-dto.ts +2 -2
- package/models/get-product-field-response-class.ts +2 -2
- package/models/get-product-request-dto.ts +1 -1
- package/models/get-product-response-class.ts +1 -1
- package/models/get-product-version-request-dto.ts +2 -2
- package/models/get-product-version-response-class.ts +1 -1
- package/models/grouped-product-factor-class.ts +4 -4
- package/models/grouped-product-factor-value-class.ts +10 -4
- package/models/grouped-product-factors-response-class.ts +1 -1
- package/models/index.ts +14 -5
- package/models/insured-object-class.ts +12 -12
- package/models/insured-object-type-class.ts +6 -6
- package/models/lead-bank-account-class.ts +36 -0
- package/models/lead-class.ts +101 -0
- package/models/list-insured-object-types-response-class.ts +3 -3
- package/models/list-insured-objects-response-class.ts +5 -4
- package/models/list-leads-response-class.ts +37 -0
- package/models/list-policies-response-class.ts +2 -2
- package/models/list-premium-formulas-response-class.ts +3 -3
- package/models/list-product-factors-response-class.ts +7 -7
- package/models/list-product-field-types-response-class.ts +6 -5
- package/models/list-product-fields-response-class.ts +3 -3
- package/models/list-products-response-class.ts +3 -3
- package/models/list-request-dto.ts +6 -6
- package/models/omit-type-class.ts +66 -0
- package/models/policy-class.ts +32 -14
- package/models/policy-object-class.ts +5 -5
- package/models/policy-object-dto.ts +3 -3
- package/models/policy-premium-class.ts +5 -5
- package/models/policy-premium-item-class.ts +7 -7
- package/models/policy-version-class.ts +6 -6
- package/models/premium-formula-class.ts +10 -17
- package/models/premium-override-dto.ts +6 -5
- package/models/premium-override-request-dto.ts +2 -2
- package/models/product-class.ts +10 -10
- package/models/product-factor-class.ts +9 -9
- package/models/product-factor-value-class.ts +8 -28
- package/models/product-field-class.ts +10 -10
- package/models/product-field-type-class.ts +54 -0
- package/models/product-version-class.ts +18 -8
- package/models/shared-product-field-class.ts +120 -0
- package/models/shared-update-premium-formula-request-dto.ts +82 -0
- package/models/store-product-factors-request-dto.ts +2 -2
- package/models/store-product-factors-response-class.ts +1 -1
- package/models/suspend-policy-request-dto.ts +30 -0
- package/models/suspend-policy-response-class.ts +31 -0
- package/models/terminate-policy-request-dto.ts +3 -3
- package/models/terminate-policy-response-class.ts +1 -1
- package/models/timeslice-class.ts +8 -8
- package/models/update-insured-object-request-dto.ts +6 -6
- package/models/update-lead-request-dto.ts +7 -13
- package/models/update-lead-response-class.ts +31 -0
- package/models/update-policy-request-dto.ts +27 -5
- package/models/update-policy-response-class.ts +1 -1
- package/models/update-premium-formula-request-dto.ts +9 -14
- package/models/update-premium-formula-response-class.ts +2 -2
- package/models/update-product-field-request-dto.ts +14 -14
- package/models/update-product-field-response-class.ts +2 -2
- package/models/update-product-request-dto.ts +5 -5
- package/models/update-product-response-class.ts +1 -1
- package/models/update-product-version-request-dto.ts +4 -4
- package/models/update-product-version-response-class.ts +1 -1
- package/models/uploaded-document-dto.ts +2 -2
- package/models/validate-product-factors-request-dto.ts +2 -2
- package/models/withdraw-policy-response-class.ts +1 -1
- package/package.json +2 -3
- package/dist/models/create-claim-request-dto.d.ts +0 -83
- package/dist/models/grpc-update-policy-request-dto.d.ts +0 -50
- package/dist/models/to-grpc-create-policy-request-dto.d.ts +0 -44
- package/models/create-claim-request-dto.ts +0 -93
- package/models/grpc-update-policy-request-dto.ts +0 -56
- package/models/to-grpc-create-policy-request-dto.ts +0 -50
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* The EMIL InsuranceService API description
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 1.0
|
|
6
|
-
*
|
|
6
|
+
* Contact: kontakt@emil.de
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
@@ -24,21 +24,40 @@ export interface UpdatePolicyRequestDto {
|
|
|
24
24
|
*/
|
|
25
25
|
'policyObjects': Array<PolicyObjectDto>;
|
|
26
26
|
/**
|
|
27
|
-
*
|
|
27
|
+
* Date from which the policy should be updated. This will create a new timeline starting from this date.
|
|
28
28
|
* @type {string}
|
|
29
29
|
* @memberof UpdatePolicyRequestDto
|
|
30
30
|
*/
|
|
31
31
|
'from': string;
|
|
32
32
|
/**
|
|
33
|
-
*
|
|
33
|
+
* Date to which the policy should be updated. This will create a new timeline finishing at this date.
|
|
34
34
|
* @type {string}
|
|
35
35
|
* @memberof UpdatePolicyRequestDto
|
|
36
36
|
*/
|
|
37
37
|
'to'?: string;
|
|
38
|
+
/**
|
|
39
|
+
* Policy status.
|
|
40
|
+
* @type {string}
|
|
41
|
+
* @memberof UpdatePolicyRequestDto
|
|
42
|
+
*/
|
|
43
|
+
'status'?: UpdatePolicyRequestDtoStatusEnum;
|
|
38
44
|
/**
|
|
39
45
|
* Premium Override
|
|
40
|
-
* @type {
|
|
46
|
+
* @type {PremiumOverrideRequestDto}
|
|
47
|
+
* @memberof UpdatePolicyRequestDto
|
|
48
|
+
*/
|
|
49
|
+
'premiumOverride'?: PremiumOverrideRequestDto;
|
|
50
|
+
/**
|
|
51
|
+
* Unique identifier of the lead that this object belongs to.
|
|
52
|
+
* @type {string}
|
|
41
53
|
* @memberof UpdatePolicyRequestDto
|
|
42
54
|
*/
|
|
43
|
-
'
|
|
55
|
+
'leadCode'?: string;
|
|
44
56
|
}
|
|
57
|
+
export declare const UpdatePolicyRequestDtoStatusEnum: {
|
|
58
|
+
readonly Active: "Active";
|
|
59
|
+
readonly Withdrawn: "Withdrawn";
|
|
60
|
+
readonly Terminated: "Terminated";
|
|
61
|
+
readonly Suspended: "Suspended";
|
|
62
|
+
};
|
|
63
|
+
export type UpdatePolicyRequestDtoStatusEnum = typeof UpdatePolicyRequestDtoStatusEnum[keyof typeof UpdatePolicyRequestDtoStatusEnum];
|
|
@@ -6,10 +6,17 @@
|
|
|
6
6
|
* The EMIL InsuranceService API description
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: 1.0
|
|
9
|
-
*
|
|
9
|
+
* Contact: kontakt@emil.de
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
12
|
* https://openapi-generator.tech
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.UpdatePolicyRequestDtoStatusEnum = void 0;
|
|
17
|
+
exports.UpdatePolicyRequestDtoStatusEnum = {
|
|
18
|
+
Active: 'Active',
|
|
19
|
+
Withdrawn: 'Withdrawn',
|
|
20
|
+
Terminated: 'Terminated',
|
|
21
|
+
Suspended: 'Suspended'
|
|
22
|
+
};
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* The EMIL InsuranceService API description
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 1.0
|
|
6
|
-
*
|
|
6
|
+
* Contact: kontakt@emil.de
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
@@ -16,56 +16,51 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface UpdatePremiumFormulaRequestDto {
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* Unique identifier referencing the product version.
|
|
20
20
|
* @type {number}
|
|
21
21
|
* @memberof UpdatePremiumFormulaRequestDto
|
|
22
22
|
*/
|
|
23
23
|
'productVersionId': number;
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
25
|
+
* Premium group name.
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof UpdatePremiumFormulaRequestDto
|
|
28
28
|
*/
|
|
29
29
|
'group': string;
|
|
30
30
|
/**
|
|
31
|
-
* Premium name
|
|
31
|
+
* Premium name.
|
|
32
32
|
* @type {string}
|
|
33
33
|
* @memberof UpdatePremiumFormulaRequestDto
|
|
34
34
|
*/
|
|
35
35
|
'name': string;
|
|
36
36
|
/**
|
|
37
|
-
* Premium expression
|
|
37
|
+
* Premium expression.
|
|
38
38
|
* @type {string}
|
|
39
39
|
* @memberof UpdatePremiumFormulaRequestDto
|
|
40
40
|
*/
|
|
41
41
|
'expression': string;
|
|
42
42
|
/**
|
|
43
|
-
*
|
|
43
|
+
* Type of Premium that is based on time.
|
|
44
44
|
* @type {string}
|
|
45
45
|
* @memberof UpdatePremiumFormulaRequestDto
|
|
46
46
|
*/
|
|
47
47
|
'type': UpdatePremiumFormulaRequestDtoTypeEnum;
|
|
48
48
|
/**
|
|
49
|
-
* Premium
|
|
49
|
+
* This is unit of Premium. Premium units are determined based on oneTimePayment, day, week, month and year.
|
|
50
50
|
* @type {string}
|
|
51
51
|
* @memberof UpdatePremiumFormulaRequestDto
|
|
52
52
|
*/
|
|
53
53
|
'unit': UpdatePremiumFormulaRequestDtoUnitEnum;
|
|
54
|
-
/**
|
|
55
|
-
* Premium formula id
|
|
56
|
-
* @type {number}
|
|
57
|
-
* @memberof UpdatePremiumFormulaRequestDto
|
|
58
|
-
*/
|
|
59
|
-
'id': number;
|
|
60
54
|
}
|
|
61
55
|
export declare const UpdatePremiumFormulaRequestDtoTypeEnum: {
|
|
62
56
|
readonly Time: "time";
|
|
63
57
|
};
|
|
64
|
-
export
|
|
58
|
+
export type UpdatePremiumFormulaRequestDtoTypeEnum = typeof UpdatePremiumFormulaRequestDtoTypeEnum[keyof typeof UpdatePremiumFormulaRequestDtoTypeEnum];
|
|
65
59
|
export declare const UpdatePremiumFormulaRequestDtoUnitEnum: {
|
|
66
60
|
readonly Day: "day";
|
|
67
61
|
readonly Week: "week";
|
|
68
62
|
readonly Month: "month";
|
|
69
63
|
readonly Year: "year";
|
|
64
|
+
readonly OneTimePayment: "oneTimePayment";
|
|
70
65
|
};
|
|
71
|
-
export
|
|
66
|
+
export type UpdatePremiumFormulaRequestDtoUnitEnum = typeof UpdatePremiumFormulaRequestDtoUnitEnum[keyof typeof UpdatePremiumFormulaRequestDtoUnitEnum];
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* The EMIL InsuranceService API description
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: 1.0
|
|
9
|
-
*
|
|
9
|
+
* Contact: kontakt@emil.de
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
12
|
* https://openapi-generator.tech
|
|
@@ -21,5 +21,6 @@ exports.UpdatePremiumFormulaRequestDtoUnitEnum = {
|
|
|
21
21
|
Day: 'day',
|
|
22
22
|
Week: 'week',
|
|
23
23
|
Month: 'month',
|
|
24
|
-
Year: 'year'
|
|
24
|
+
Year: 'year',
|
|
25
|
+
OneTimePayment: 'oneTimePayment'
|
|
25
26
|
};
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* The EMIL InsuranceService API description
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 1.0
|
|
6
|
-
*
|
|
6
|
+
* Contact: kontakt@emil.de
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
@@ -17,7 +17,7 @@ import { PremiumFormulaClass } from './premium-formula-class';
|
|
|
17
17
|
*/
|
|
18
18
|
export interface UpdatePremiumFormulaResponseClass {
|
|
19
19
|
/**
|
|
20
|
-
* Premium formula
|
|
20
|
+
* Premium formula.
|
|
21
21
|
* @type {PremiumFormulaClass}
|
|
22
22
|
* @memberof UpdatePremiumFormulaResponseClass
|
|
23
23
|
*/
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* The EMIL InsuranceService API description
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 1.0
|
|
6
|
-
*
|
|
6
|
+
* Contact: kontakt@emil.de
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
@@ -16,43 +16,43 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface UpdateProductFieldRequestDto {
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
20
20
|
* @type {number}
|
|
21
21
|
* @memberof UpdateProductFieldRequestDto
|
|
22
22
|
*/
|
|
23
23
|
'id': number;
|
|
24
24
|
/**
|
|
25
|
-
* Product field name
|
|
25
|
+
* Product field name.
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof UpdateProductFieldRequestDto
|
|
28
28
|
*/
|
|
29
29
|
'name': string;
|
|
30
30
|
/**
|
|
31
|
-
* Product field label
|
|
31
|
+
* Product field label.
|
|
32
32
|
* @type {string}
|
|
33
33
|
* @memberof UpdateProductFieldRequestDto
|
|
34
34
|
*/
|
|
35
35
|
'label': string;
|
|
36
36
|
/**
|
|
37
|
-
* Product field type
|
|
37
|
+
* Product field type.
|
|
38
38
|
* @type {string}
|
|
39
39
|
* @memberof UpdateProductFieldRequestDto
|
|
40
40
|
*/
|
|
41
41
|
'typeEntity': UpdateProductFieldRequestDtoTypeEntityEnum;
|
|
42
42
|
/**
|
|
43
|
-
*
|
|
43
|
+
* Unique identifier referencing the product field type..
|
|
44
44
|
* @type {number}
|
|
45
45
|
* @memberof UpdateProductFieldRequestDto
|
|
46
46
|
*/
|
|
47
47
|
'typeId': number;
|
|
48
48
|
/**
|
|
49
|
-
*
|
|
49
|
+
* Unique identifier referencing the insured object.
|
|
50
50
|
* @type {number}
|
|
51
51
|
* @memberof UpdateProductFieldRequestDto
|
|
52
52
|
*/
|
|
53
53
|
'insuredObjectId': number;
|
|
54
54
|
/**
|
|
55
|
-
* Product field group
|
|
55
|
+
* Product field group.
|
|
56
56
|
* @type {string}
|
|
57
57
|
* @memberof UpdateProductFieldRequestDto
|
|
58
58
|
*/
|
|
@@ -76,19 +76,19 @@ export interface UpdateProductFieldRequestDto {
|
|
|
76
76
|
*/
|
|
77
77
|
'isUnique': boolean;
|
|
78
78
|
/**
|
|
79
|
-
* Booking funnel description
|
|
79
|
+
* Booking funnel description.
|
|
80
80
|
* @type {string}
|
|
81
81
|
* @memberof UpdateProductFieldRequestDto
|
|
82
82
|
*/
|
|
83
83
|
'bfDescription'?: string;
|
|
84
84
|
/**
|
|
85
|
-
* Booking funnel tooltip
|
|
85
|
+
* Booking funnel tooltip.
|
|
86
86
|
* @type {string}
|
|
87
87
|
* @memberof UpdateProductFieldRequestDto
|
|
88
88
|
*/
|
|
89
89
|
'bfTooltip'?: string;
|
|
90
90
|
/**
|
|
91
|
-
* Booking funnel label
|
|
91
|
+
* Booking funnel label.
|
|
92
92
|
* @type {string}
|
|
93
93
|
* @memberof UpdateProductFieldRequestDto
|
|
94
94
|
*/
|
|
@@ -100,19 +100,19 @@ export interface UpdateProductFieldRequestDto {
|
|
|
100
100
|
*/
|
|
101
101
|
'defaultValue': object;
|
|
102
102
|
/**
|
|
103
|
-
*
|
|
103
|
+
* Minimum value of the field. For the field type date-time, it should be { \"templated\" : \"{{today}}\" }
|
|
104
104
|
* @type {object}
|
|
105
105
|
* @memberof UpdateProductFieldRequestDto
|
|
106
106
|
*/
|
|
107
107
|
'minValue'?: object;
|
|
108
108
|
/**
|
|
109
|
-
*
|
|
109
|
+
* Maximum value of the field. For the field type date-time, it should be { \"templated\" : \"{{today}}\" }
|
|
110
110
|
* @type {object}
|
|
111
111
|
* @memberof UpdateProductFieldRequestDto
|
|
112
112
|
*/
|
|
113
113
|
'maxValue'?: object;
|
|
114
114
|
/**
|
|
115
|
-
* order index for the product field for display on the booking funnel, not defined for hidden fields
|
|
115
|
+
* order index for the product field for display on the booking funnel, not defined for hidden fields.
|
|
116
116
|
* @type {number}
|
|
117
117
|
* @memberof UpdateProductFieldRequestDto
|
|
118
118
|
*/
|
|
@@ -122,4 +122,4 @@ export declare const UpdateProductFieldRequestDtoTypeEntityEnum: {
|
|
|
122
122
|
readonly SystemProductFieldType: "system_product_field_type";
|
|
123
123
|
readonly ProductFactorType: "product_factor_type";
|
|
124
124
|
};
|
|
125
|
-
export
|
|
125
|
+
export type UpdateProductFieldRequestDtoTypeEntityEnum = typeof UpdateProductFieldRequestDtoTypeEntityEnum[keyof typeof UpdateProductFieldRequestDtoTypeEntityEnum];
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* The EMIL InsuranceService API description
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 1.0
|
|
6
|
-
*
|
|
6
|
+
* Contact: kontakt@emil.de
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
@@ -17,7 +17,7 @@ import { ProductFieldClass } from './product-field-class';
|
|
|
17
17
|
*/
|
|
18
18
|
export interface UpdateProductFieldResponseClass {
|
|
19
19
|
/**
|
|
20
|
-
* product
|
|
20
|
+
* Product field. Field are variable that is related to insured object and shows to the end customer during booking funnel. there are default product fields and tenants can customize or add more fields due to their products.
|
|
21
21
|
* @type {ProductFieldClass}
|
|
22
22
|
* @memberof UpdateProductFieldResponseClass
|
|
23
23
|
*/
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* The EMIL InsuranceService API description
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 1.0
|
|
6
|
-
*
|
|
6
|
+
* Contact: kontakt@emil.de
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
@@ -16,25 +16,25 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface UpdateProductRequestDto {
|
|
18
18
|
/**
|
|
19
|
-
* Product name
|
|
19
|
+
* Product name.
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof UpdateProductRequestDto
|
|
22
22
|
*/
|
|
23
23
|
'name': string;
|
|
24
24
|
/**
|
|
25
|
-
* Contract duration in days
|
|
25
|
+
* Contract duration in days.
|
|
26
26
|
* @type {number}
|
|
27
27
|
* @memberof UpdateProductRequestDto
|
|
28
28
|
*/
|
|
29
29
|
'contractDurationDays': number;
|
|
30
30
|
/**
|
|
31
|
-
*
|
|
31
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id. In this case, the template used for the Product.
|
|
32
32
|
* @type {string}
|
|
33
33
|
* @memberof UpdateProductRequestDto
|
|
34
34
|
*/
|
|
35
35
|
'slug': string;
|
|
36
36
|
/**
|
|
37
|
-
*
|
|
37
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
38
38
|
* @type {number}
|
|
39
39
|
* @memberof UpdateProductRequestDto
|
|
40
40
|
*/
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* The EMIL InsuranceService API description
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 1.0
|
|
6
|
-
*
|
|
6
|
+
* Contact: kontakt@emil.de
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
@@ -16,19 +16,19 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface UpdateProductVersionRequestDto {
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
20
20
|
* @type {number}
|
|
21
21
|
* @memberof UpdateProductVersionRequestDto
|
|
22
22
|
*/
|
|
23
23
|
'id': number;
|
|
24
24
|
/**
|
|
25
|
-
* Product version description
|
|
25
|
+
* Product version description.
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof UpdateProductVersionRequestDto
|
|
28
28
|
*/
|
|
29
29
|
'description': string;
|
|
30
30
|
/**
|
|
31
|
-
* Product version status
|
|
31
|
+
* Product version status.
|
|
32
32
|
* @type {string}
|
|
33
33
|
* @memberof UpdateProductVersionRequestDto
|
|
34
34
|
*/
|
|
@@ -40,4 +40,4 @@ export declare const UpdateProductVersionRequestDtoStatusEnum: {
|
|
|
40
40
|
readonly Passive: "passive";
|
|
41
41
|
readonly Archived: "archived";
|
|
42
42
|
};
|
|
43
|
-
export
|
|
43
|
+
export type UpdateProductVersionRequestDtoStatusEnum = typeof UpdateProductVersionRequestDtoStatusEnum[keyof typeof UpdateProductVersionRequestDtoStatusEnum];
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* The EMIL InsuranceService API description
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 1.0
|
|
6
|
-
*
|
|
6
|
+
* Contact: kontakt@emil.de
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface UploadedDocumentDto {
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* Uploaded document codes.
|
|
20
20
|
* @type {Array<string>}
|
|
21
21
|
* @memberof UploadedDocumentDto
|
|
22
22
|
*/
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* The EMIL InsuranceService API description
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 1.0
|
|
6
|
-
*
|
|
6
|
+
* Contact: kontakt@emil.de
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
@@ -17,7 +17,7 @@ import { CsvProductFactorDto } from './csv-product-factor-dto';
|
|
|
17
17
|
*/
|
|
18
18
|
export interface ValidateProductFactorsRequestDto {
|
|
19
19
|
/**
|
|
20
|
-
* Product version
|
|
20
|
+
* Unique identifier referencing the Product version.
|
|
21
21
|
* @type {number}
|
|
22
22
|
* @memberof ValidateProductFactorsRequestDto
|
|
23
23
|
*/
|
package/index.ts
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* The EMIL InsuranceService API description
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: 1.0
|
|
8
|
-
*
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
11
|
* https://openapi-generator.tech
|
|
@@ -21,13 +21,13 @@
|
|
|
21
21
|
*/
|
|
22
22
|
export interface CalculateCustomPremiumRequestDto {
|
|
23
23
|
/**
|
|
24
|
-
* Custom premium data
|
|
24
|
+
* Custom premium data.
|
|
25
25
|
* @type {object}
|
|
26
26
|
* @memberof CalculateCustomPremiumRequestDto
|
|
27
27
|
*/
|
|
28
28
|
'data': object;
|
|
29
29
|
/**
|
|
30
|
-
* Custom provider name
|
|
30
|
+
* Custom provider name.
|
|
31
31
|
* @type {string}
|
|
32
32
|
* @memberof CalculateCustomPremiumRequestDto
|
|
33
33
|
*/
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* The EMIL InsuranceService API description
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: 1.0
|
|
8
|
-
*
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
11
|
* https://openapi-generator.tech
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
import {
|
|
16
|
+
import { PolicyObjectDto } from './policy-object-dto';
|
|
17
17
|
import { PremiumOverrideRequestDto } from './premium-override-request-dto';
|
|
18
18
|
|
|
19
19
|
/**
|
|
@@ -23,22 +23,22 @@ import { PremiumOverrideRequestDto } from './premium-override-request-dto';
|
|
|
23
23
|
*/
|
|
24
24
|
export interface CalculatePremiumRequestDto {
|
|
25
25
|
/**
|
|
26
|
-
*
|
|
26
|
+
* Unique identifier referencing the product version.
|
|
27
27
|
* @type {number}
|
|
28
28
|
* @memberof CalculatePremiumRequestDto
|
|
29
29
|
*/
|
|
30
30
|
'productVersionId': number;
|
|
31
31
|
/**
|
|
32
|
-
* Policy Objects
|
|
33
|
-
* @type {Array<
|
|
32
|
+
* Policy Objects.
|
|
33
|
+
* @type {Array<PolicyObjectDto>}
|
|
34
34
|
* @memberof CalculatePremiumRequestDto
|
|
35
35
|
*/
|
|
36
|
-
'policyObjects': Array<
|
|
36
|
+
'policyObjects': Array<PolicyObjectDto>;
|
|
37
37
|
/**
|
|
38
|
-
* Premium Override request
|
|
39
|
-
* @type {
|
|
38
|
+
* Premium Override request.
|
|
39
|
+
* @type {PremiumOverrideRequestDto}
|
|
40
40
|
* @memberof CalculatePremiumRequestDto
|
|
41
41
|
*/
|
|
42
|
-
'premiumOverride'?:
|
|
42
|
+
'premiumOverride'?: PremiumOverrideRequestDto;
|
|
43
43
|
}
|
|
44
44
|
|