@emilgroup/insurance-sdk-node 1.21.1 → 1.23.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 +15 -0
- package/README.md +2 -2
- package/api/default-api.ts +124 -0
- package/api/named-ranges-api.ts +669 -0
- package/api/premium-formulas-api.ts +107 -0
- package/api/products-api.ts +122 -4
- package/api.ts +4 -0
- package/dist/api/default-api.d.ts +66 -0
- package/dist/api/default-api.js +200 -0
- package/dist/api/named-ranges-api.d.ts +376 -0
- package/dist/api/named-ranges-api.js +634 -0
- package/dist/api/premium-formulas-api.d.ts +57 -0
- package/dist/api/premium-formulas-api.js +93 -0
- package/dist/api/products-api.d.ts +68 -4
- package/dist/api/products-api.js +103 -3
- package/dist/api.d.ts +2 -0
- package/dist/api.js +2 -0
- package/dist/models/create-lead-policy-request-dto.d.ts +1 -1
- package/dist/models/create-lead-request-dto.d.ts +7 -7
- package/dist/models/create-named-range-request-dto.d.ts +49 -0
- package/dist/models/create-named-range-request-dto.js +15 -0
- package/dist/models/create-named-range-response-class.d.ts +25 -0
- package/dist/models/create-named-range-response-class.js +15 -0
- package/dist/models/create-named-request-s3-data-class.d.ts +30 -0
- package/dist/models/create-named-request-s3-data-class.js +15 -0
- package/dist/models/create-policy-request-dto.d.ts +6 -0
- package/dist/models/create-premium-formula-request-dto.d.ts +12 -0
- package/dist/models/empty-response-class.d.ts +24 -0
- package/dist/models/empty-response-class.js +15 -0
- package/dist/models/get-named-range-response-class.d.ts +25 -0
- package/dist/models/get-named-range-response-class.js +15 -0
- package/dist/models/get-product-request-dto.d.ts +10 -4
- package/dist/models/grpc-patch-lead-request-dto.d.ts +1 -1
- package/dist/models/grpc-update-lead-request-dto.d.ts +7 -7
- package/dist/models/index.d.ts +13 -0
- package/dist/models/index.js +13 -0
- package/dist/models/inline-response200.d.ts +54 -0
- package/dist/models/inline-response200.js +15 -0
- package/dist/models/inline-response503.d.ts +54 -0
- package/dist/models/inline-response503.js +15 -0
- package/dist/models/list-named-ranges-response-class.d.ts +30 -0
- package/dist/models/list-named-ranges-response-class.js +15 -0
- package/dist/models/named-range-class.d.ts +72 -0
- package/dist/models/named-range-class.js +15 -0
- package/dist/models/patch-lead-request-dto.d.ts +1 -1
- package/dist/models/policy-object-dto.d.ts +1 -1
- package/dist/models/premium-formula-class.d.ts +12 -0
- package/dist/models/shared-create-lead-policy-request-dto.d.ts +1 -1
- package/dist/models/shared-lead-policy-object-dto.d.ts +1 -1
- package/dist/models/shared-update-named-range-request-dto.d.ts +36 -0
- package/dist/models/shared-update-named-range-request-dto.js +15 -0
- package/dist/models/shared-update-premium-formula-request-dto.d.ts +12 -0
- package/dist/models/swap-premium-formulas-order-requestt-dto.d.ts +30 -0
- package/dist/models/swap-premium-formulas-order-requestt-dto.js +15 -0
- package/dist/models/update-lead-request-dto.d.ts +7 -7
- package/dist/models/update-named-range-request-dto.d.ts +30 -0
- package/dist/models/update-named-range-request-dto.js +15 -0
- package/dist/models/update-named-range-response-class.d.ts +25 -0
- package/dist/models/update-named-range-response-class.js +15 -0
- package/dist/models/update-premium-formula-request-dto.d.ts +12 -0
- package/models/create-lead-policy-request-dto.ts +1 -1
- package/models/create-lead-request-dto.ts +7 -7
- package/models/create-named-range-request-dto.ts +55 -0
- package/models/create-named-range-response-class.ts +31 -0
- package/models/create-named-request-s3-data-class.ts +36 -0
- package/models/create-policy-request-dto.ts +6 -0
- package/models/create-premium-formula-request-dto.ts +12 -0
- package/models/empty-response-class.ts +30 -0
- package/models/get-named-range-response-class.ts +31 -0
- package/models/get-product-request-dto.ts +10 -4
- package/models/grpc-patch-lead-request-dto.ts +1 -1
- package/models/grpc-update-lead-request-dto.ts +7 -7
- package/models/index.ts +13 -0
- package/models/inline-response200.ts +48 -0
- package/models/inline-response503.ts +48 -0
- package/models/list-named-ranges-response-class.ts +36 -0
- package/models/named-range-class.ts +78 -0
- package/models/patch-lead-request-dto.ts +1 -1
- package/models/policy-object-dto.ts +1 -1
- package/models/premium-formula-class.ts +12 -0
- package/models/shared-create-lead-policy-request-dto.ts +1 -1
- package/models/shared-lead-policy-object-dto.ts +1 -1
- package/models/shared-update-named-range-request-dto.ts +42 -0
- package/models/shared-update-premium-formula-request-dto.ts +12 -0
- package/models/swap-premium-formulas-order-requestt-dto.ts +36 -0
- package/models/update-lead-request-dto.ts +7 -7
- package/models/update-named-range-request-dto.ts +36 -0
- package/models/update-named-range-response-class.ts +31 -0
- package/models/update-premium-formula-request-dto.ts +12 -0
- package/package.json +1 -1
|
@@ -45,37 +45,37 @@ export interface UpdateLeadRequestDto {
|
|
|
45
45
|
*/
|
|
46
46
|
'policy': CreateLeadPolicyRequestDto;
|
|
47
47
|
/**
|
|
48
|
-
* Lead status. Default values are \"created\", \"approved\" and \"declined\".
|
|
48
|
+
* Lead status. Default values are \"created\", \"approved\" and \"declined\". However, those can be extended using /lead-statuses endpoint from insuranceservice.
|
|
49
49
|
* @type {string}
|
|
50
50
|
* @memberof UpdateLeadRequestDto
|
|
51
51
|
*/
|
|
52
52
|
'status': string;
|
|
53
53
|
/**
|
|
54
|
-
* Bank account details, to be used for direct debit payments,
|
|
54
|
+
* Bank account details, to be used for direct debit payments, the created bank account will be attached to the lead for later use, such as paying claims. The bank account content will be validated if the \'validate\' flag is set to true.
|
|
55
55
|
* @type {CreateBankAccountRequestDto}
|
|
56
56
|
* @memberof UpdateLeadRequestDto
|
|
57
57
|
*/
|
|
58
58
|
'bankAccount'?: CreateBankAccountRequestDto;
|
|
59
59
|
/**
|
|
60
|
-
* Optional custom data for the lead.
|
|
60
|
+
* Optional custom data for the lead. This field is useful for edge cases where the lead requires additional data for the risk carrier, such as creating an application in the risk carrier platform or performing a premium calculation. The custom data should include three main entities: \'data\', \'provider\', and \'productCode\'. The \'data\' entity contains information used in the risk carrier platform, the \'provider\' field contains the name of the provider (usually the risk carrier\'s name), the provider must be supported in EMIL, The \'productCode\' field contains the product code in EMIL
|
|
61
61
|
* @type {object}
|
|
62
62
|
* @memberof UpdateLeadRequestDto
|
|
63
63
|
*/
|
|
64
64
|
'customData'?: object;
|
|
65
65
|
/**
|
|
66
|
-
* Used to pass pre-uploaded documents to the lead.
|
|
66
|
+
* Used to pass pre-uploaded documents to the lead. By providing the codes of the uploaded documents, they will be attached to the lead. The uploaded document content will be validated if the \'validate\' flag is set to true.
|
|
67
67
|
* @type {UploadedDocumentDto}
|
|
68
68
|
* @memberof UpdateLeadRequestDto
|
|
69
69
|
*/
|
|
70
70
|
'uploadedDocument'?: UploadedDocumentDto;
|
|
71
71
|
/**
|
|
72
|
-
* Premium Override is utilized to override the premium calculation.
|
|
72
|
+
* Premium Override is utilized to override the premium calculation. The premium formulas will be disregarded when this object is present. The premium override content will be validated if the \'validate\' flag is set to true.
|
|
73
73
|
* @type {Array<PremiumOverrideRequestDto>}
|
|
74
74
|
* @memberof UpdateLeadRequestDto
|
|
75
75
|
*/
|
|
76
76
|
'premiumOverride'?: Array<PremiumOverrideRequestDto>;
|
|
77
77
|
/**
|
|
78
|
-
* The account code is used in cases where the account has been created before the lead.
|
|
78
|
+
* The account code is used in cases where the account has been created before the lead. The create lead request should include either the \'accountCode\' or \'account\'. The account code will be validated if the \'validate\' flag is set to true.
|
|
79
79
|
* @type {string}
|
|
80
80
|
* @memberof UpdateLeadRequestDto
|
|
81
81
|
*/
|
|
@@ -87,7 +87,7 @@ export interface UpdateLeadRequestDto {
|
|
|
87
87
|
*/
|
|
88
88
|
'paymentMethod'?: CreatePaymentMethodRequestDto;
|
|
89
89
|
/**
|
|
90
|
-
* The validation indicator, with a default value of true, serves as a toggle.
|
|
90
|
+
* The validation indicator, with a default value of true, serves as a toggle. When set to false, it allows the bypassing of validation—a useful option for saving leads for later processing. This feature provides flexibility by enabling users to choose whether to enforce validation checks during the current stage or defer them for a subsequent time.
|
|
91
91
|
* @type {boolean}
|
|
92
92
|
* @memberof UpdateLeadRequestDto
|
|
93
93
|
*/
|
|
@@ -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
|
+
* Contact: kontakt@emil.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface UpdateNamedRangeRequestDto
|
|
21
|
+
*/
|
|
22
|
+
export interface UpdateNamedRangeRequestDto {
|
|
23
|
+
/**
|
|
24
|
+
* New name of the named range.
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof UpdateNamedRangeRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'name': string;
|
|
29
|
+
/**
|
|
30
|
+
* true if the named range table has the header row or false otherwise.
|
|
31
|
+
* @type {boolean}
|
|
32
|
+
* @memberof UpdateNamedRangeRequestDto
|
|
33
|
+
*/
|
|
34
|
+
'hasHeader': boolean;
|
|
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
|
+
* Contact: kontakt@emil.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
import { NamedRangeClass } from './named-range-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface UpdateNamedRangeResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface UpdateNamedRangeResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* Named range.
|
|
26
|
+
* @type {NamedRangeClass}
|
|
27
|
+
* @memberof UpdateNamedRangeResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'namedRange': NamedRangeClass;
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -68,6 +68,18 @@ export interface UpdatePremiumFormulaRequestDto {
|
|
|
68
68
|
* @memberof UpdatePremiumFormulaRequestDto
|
|
69
69
|
*/
|
|
70
70
|
'visibility'?: UpdatePremiumFormulaRequestDtoVisibilityEnum;
|
|
71
|
+
/**
|
|
72
|
+
* Name of the variable this Premium item value is referenced by in the other items formulas.
|
|
73
|
+
* @type {string}
|
|
74
|
+
* @memberof UpdatePremiumFormulaRequestDto
|
|
75
|
+
*/
|
|
76
|
+
'variableName'?: string;
|
|
77
|
+
/**
|
|
78
|
+
* order index for the Premium item, used to define the order the items are calculated in.
|
|
79
|
+
* @type {number}
|
|
80
|
+
* @memberof UpdatePremiumFormulaRequestDto
|
|
81
|
+
*/
|
|
82
|
+
'order': number;
|
|
71
83
|
}
|
|
72
84
|
|
|
73
85
|
export const UpdatePremiumFormulaRequestDtoTypeEnum = {
|