@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.
Files changed (90) hide show
  1. package/.openapi-generator/FILES +15 -0
  2. package/README.md +2 -2
  3. package/api/default-api.ts +124 -0
  4. package/api/named-ranges-api.ts +669 -0
  5. package/api/premium-formulas-api.ts +107 -0
  6. package/api/products-api.ts +122 -4
  7. package/api.ts +4 -0
  8. package/dist/api/default-api.d.ts +66 -0
  9. package/dist/api/default-api.js +200 -0
  10. package/dist/api/named-ranges-api.d.ts +376 -0
  11. package/dist/api/named-ranges-api.js +634 -0
  12. package/dist/api/premium-formulas-api.d.ts +57 -0
  13. package/dist/api/premium-formulas-api.js +93 -0
  14. package/dist/api/products-api.d.ts +68 -4
  15. package/dist/api/products-api.js +103 -3
  16. package/dist/api.d.ts +2 -0
  17. package/dist/api.js +2 -0
  18. package/dist/models/create-lead-policy-request-dto.d.ts +1 -1
  19. package/dist/models/create-lead-request-dto.d.ts +7 -7
  20. package/dist/models/create-named-range-request-dto.d.ts +49 -0
  21. package/dist/models/create-named-range-request-dto.js +15 -0
  22. package/dist/models/create-named-range-response-class.d.ts +25 -0
  23. package/dist/models/create-named-range-response-class.js +15 -0
  24. package/dist/models/create-named-request-s3-data-class.d.ts +30 -0
  25. package/dist/models/create-named-request-s3-data-class.js +15 -0
  26. package/dist/models/create-policy-request-dto.d.ts +6 -0
  27. package/dist/models/create-premium-formula-request-dto.d.ts +12 -0
  28. package/dist/models/empty-response-class.d.ts +24 -0
  29. package/dist/models/empty-response-class.js +15 -0
  30. package/dist/models/get-named-range-response-class.d.ts +25 -0
  31. package/dist/models/get-named-range-response-class.js +15 -0
  32. package/dist/models/get-product-request-dto.d.ts +10 -4
  33. package/dist/models/grpc-patch-lead-request-dto.d.ts +1 -1
  34. package/dist/models/grpc-update-lead-request-dto.d.ts +7 -7
  35. package/dist/models/index.d.ts +13 -0
  36. package/dist/models/index.js +13 -0
  37. package/dist/models/inline-response200.d.ts +54 -0
  38. package/dist/models/inline-response200.js +15 -0
  39. package/dist/models/inline-response503.d.ts +54 -0
  40. package/dist/models/inline-response503.js +15 -0
  41. package/dist/models/list-named-ranges-response-class.d.ts +30 -0
  42. package/dist/models/list-named-ranges-response-class.js +15 -0
  43. package/dist/models/named-range-class.d.ts +72 -0
  44. package/dist/models/named-range-class.js +15 -0
  45. package/dist/models/patch-lead-request-dto.d.ts +1 -1
  46. package/dist/models/policy-object-dto.d.ts +1 -1
  47. package/dist/models/premium-formula-class.d.ts +12 -0
  48. package/dist/models/shared-create-lead-policy-request-dto.d.ts +1 -1
  49. package/dist/models/shared-lead-policy-object-dto.d.ts +1 -1
  50. package/dist/models/shared-update-named-range-request-dto.d.ts +36 -0
  51. package/dist/models/shared-update-named-range-request-dto.js +15 -0
  52. package/dist/models/shared-update-premium-formula-request-dto.d.ts +12 -0
  53. package/dist/models/swap-premium-formulas-order-requestt-dto.d.ts +30 -0
  54. package/dist/models/swap-premium-formulas-order-requestt-dto.js +15 -0
  55. package/dist/models/update-lead-request-dto.d.ts +7 -7
  56. package/dist/models/update-named-range-request-dto.d.ts +30 -0
  57. package/dist/models/update-named-range-request-dto.js +15 -0
  58. package/dist/models/update-named-range-response-class.d.ts +25 -0
  59. package/dist/models/update-named-range-response-class.js +15 -0
  60. package/dist/models/update-premium-formula-request-dto.d.ts +12 -0
  61. package/models/create-lead-policy-request-dto.ts +1 -1
  62. package/models/create-lead-request-dto.ts +7 -7
  63. package/models/create-named-range-request-dto.ts +55 -0
  64. package/models/create-named-range-response-class.ts +31 -0
  65. package/models/create-named-request-s3-data-class.ts +36 -0
  66. package/models/create-policy-request-dto.ts +6 -0
  67. package/models/create-premium-formula-request-dto.ts +12 -0
  68. package/models/empty-response-class.ts +30 -0
  69. package/models/get-named-range-response-class.ts +31 -0
  70. package/models/get-product-request-dto.ts +10 -4
  71. package/models/grpc-patch-lead-request-dto.ts +1 -1
  72. package/models/grpc-update-lead-request-dto.ts +7 -7
  73. package/models/index.ts +13 -0
  74. package/models/inline-response200.ts +48 -0
  75. package/models/inline-response503.ts +48 -0
  76. package/models/list-named-ranges-response-class.ts +36 -0
  77. package/models/named-range-class.ts +78 -0
  78. package/models/patch-lead-request-dto.ts +1 -1
  79. package/models/policy-object-dto.ts +1 -1
  80. package/models/premium-formula-class.ts +12 -0
  81. package/models/shared-create-lead-policy-request-dto.ts +1 -1
  82. package/models/shared-lead-policy-object-dto.ts +1 -1
  83. package/models/shared-update-named-range-request-dto.ts +42 -0
  84. package/models/shared-update-premium-formula-request-dto.ts +12 -0
  85. package/models/swap-premium-formulas-order-requestt-dto.ts +36 -0
  86. package/models/update-lead-request-dto.ts +7 -7
  87. package/models/update-named-range-request-dto.ts +36 -0
  88. package/models/update-named-range-response-class.ts +31 -0
  89. package/models/update-premium-formula-request-dto.ts +12 -0
  90. package/package.json +1 -1
@@ -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 CreateNamedRequestS3DataClass
21
+ */
22
+ export interface CreateNamedRequestS3DataClass {
23
+ /**
24
+ * S3 bucket where the uploaded document is saved in.
25
+ * @type {string}
26
+ * @memberof CreateNamedRequestS3DataClass
27
+ */
28
+ 'uploadedDocumentS3Bucket': string;
29
+ /**
30
+ * S3 key of the uploaded document.
31
+ * @type {string}
32
+ * @memberof CreateNamedRequestS3DataClass
33
+ */
34
+ 'uploadedDocumentS3Key': string;
35
+ }
36
+
@@ -58,5 +58,11 @@ export interface CreatePolicyRequestDto {
58
58
  * @memberof CreatePolicyRequestDto
59
59
  */
60
60
  'leadCode'?: string;
61
+ /**
62
+ *
63
+ * @type {string}
64
+ * @memberof CreatePolicyRequestDto
65
+ */
66
+ 'policyNumber'?: string;
61
67
  }
62
68
 
@@ -68,6 +68,18 @@ export interface CreatePremiumFormulaRequestDto {
68
68
  * @memberof CreatePremiumFormulaRequestDto
69
69
  */
70
70
  'visibility'?: CreatePremiumFormulaRequestDtoVisibilityEnum;
71
+ /**
72
+ * Name of the variable this Premium item value is referenced by in the other items formulas.
73
+ * @type {string}
74
+ * @memberof CreatePremiumFormulaRequestDto
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 CreatePremiumFormulaRequestDto
81
+ */
82
+ 'order': number;
71
83
  }
72
84
 
73
85
  export const CreatePremiumFormulaRequestDtoTypeEnum = {
@@ -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
+ * 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 EmptyResponseClass
21
+ */
22
+ export interface EmptyResponseClass {
23
+ /**
24
+ *
25
+ * @type {object}
26
+ * @memberof EmptyResponseClass
27
+ */
28
+ 'response': object;
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
+ * 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 GetNamedRangeResponseClass
22
+ */
23
+ export interface GetNamedRangeResponseClass {
24
+ /**
25
+ * Named range.
26
+ * @type {NamedRangeClass}
27
+ * @memberof GetNamedRangeResponseClass
28
+ */
29
+ 'namedRange': NamedRangeClass;
30
+ }
31
+
@@ -21,17 +21,23 @@
21
21
  */
22
22
  export interface GetProductRequestDto {
23
23
  /**
24
- * Product id
24
+ * Unique identifier referencing the product.
25
25
  * @type {number}
26
26
  * @memberof GetProductRequestDto
27
27
  */
28
28
  'id': number;
29
29
  /**
30
- * Product code
31
- * @type {string}
30
+ * Unique identifier of the product that this object belongs to.
31
+ * @type {object}
32
+ * @memberof GetProductRequestDto
33
+ */
34
+ 'code': object;
35
+ /**
36
+ * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
37
+ * @type {object}
32
38
  * @memberof GetProductRequestDto
33
39
  */
34
- 'code': string;
40
+ 'slug': object;
35
41
  /**
36
42
  * Fields to expand response by
37
43
  * @type {string}
@@ -45,7 +45,7 @@ export interface GrpcPatchLeadRequestDto {
45
45
  */
46
46
  'policy'?: CreateLeadPolicyRequestDto;
47
47
  /**
48
- * Lead status. Default values are \"created\", \"approved\" and \"declined\". However, those can be extended using /lead-statuses endpoint from insuranceservice.
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 GrpcPatchLeadRequestDto
51
51
  */
@@ -45,37 +45,37 @@ export interface GrpcUpdateLeadRequestDto {
45
45
  */
46
46
  'policy': CreateLeadPolicyRequestDto;
47
47
  /**
48
- * Lead status. Default values are \"created\", \"approved\" and \"declined\". However, those can be extended using /lead-statuses endpoint from insuranceservice.
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 GrpcUpdateLeadRequestDto
51
51
  */
52
52
  'status': string;
53
53
  /**
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.
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 GrpcUpdateLeadRequestDto
57
57
  */
58
58
  'bankAccount'?: CreateBankAccountRequestDto;
59
59
  /**
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
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 GrpcUpdateLeadRequestDto
63
63
  */
64
64
  'customData'?: object;
65
65
  /**
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.
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 GrpcUpdateLeadRequestDto
69
69
  */
70
70
  'uploadedDocument'?: UploadedDocumentDto;
71
71
  /**
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.
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 GrpcUpdateLeadRequestDto
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. 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.
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 GrpcUpdateLeadRequestDto
81
81
  */
@@ -87,7 +87,7 @@ export interface GrpcUpdateLeadRequestDto {
87
87
  */
88
88
  'paymentMethod'?: CreatePaymentMethodRequestDto;
89
89
  /**
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.
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 GrpcUpdateLeadRequestDto
93
93
  */
package/models/index.ts CHANGED
@@ -12,6 +12,9 @@ export * from './create-lead-request-dto';
12
12
  export * from './create-lead-response-class';
13
13
  export * from './create-lead-status-request-dto';
14
14
  export * from './create-lead-status-response-class';
15
+ export * from './create-named-range-request-dto';
16
+ export * from './create-named-range-response-class';
17
+ export * from './create-named-request-s3-data-class';
15
18
  export * from './create-payment-method-request-dto';
16
19
  export * from './create-policy-request-dto';
17
20
  export * from './create-policy-response-class';
@@ -24,9 +27,11 @@ export * from './create-product-response-class';
24
27
  export * from './csv-product-factor-dto';
25
28
  export * from './delete-request-dto';
26
29
  export * from './delete-response-class';
30
+ export * from './empty-response-class';
27
31
  export * from './get-insured-object-response-class';
28
32
  export * from './get-lead-response-class';
29
33
  export * from './get-lead-status-response-class';
34
+ export * from './get-named-range-response-class';
30
35
  export * from './get-policy-data-by-date-request-dto';
31
36
  export * from './get-policy-request-dto';
32
37
  export * from './get-policy-response-class';
@@ -48,6 +53,8 @@ export * from './grouped-product-factor-value-class';
48
53
  export * from './grouped-product-factors-response-class';
49
54
  export * from './grpc-patch-lead-request-dto';
50
55
  export * from './grpc-update-lead-request-dto';
56
+ export * from './inline-response200';
57
+ export * from './inline-response503';
51
58
  export * from './insured-object-class';
52
59
  export * from './insured-object-type-class';
53
60
  export * from './invoice-item-class';
@@ -59,6 +66,7 @@ export * from './list-insured-object-types-response-class';
59
66
  export * from './list-insured-objects-response-class';
60
67
  export * from './list-lead-statuses-response-class';
61
68
  export * from './list-leads-response-class';
69
+ export * from './list-named-ranges-response-class';
62
70
  export * from './list-policies-response-class';
63
71
  export * from './list-premium-formulas-response-class';
64
72
  export * from './list-product-factors-response-class';
@@ -66,6 +74,7 @@ export * from './list-product-field-types-response-class';
66
74
  export * from './list-product-fields-response-class';
67
75
  export * from './list-products-response-class';
68
76
  export * from './list-request-dto';
77
+ export * from './named-range-class';
69
78
  export * from './patch-lead-request-dto';
70
79
  export * from './patch-lead-response-class';
71
80
  export * from './policy-class';
@@ -89,17 +98,21 @@ export * from './shared-create-lead-policy-request-dto';
89
98
  export * from './shared-invoice-class';
90
99
  export * from './shared-lead-policy-object-dto';
91
100
  export * from './shared-product-field-class';
101
+ export * from './shared-update-named-range-request-dto';
92
102
  export * from './shared-update-premium-formula-request-dto';
93
103
  export * from './store-product-factors-request-dto';
94
104
  export * from './store-product-factors-response-class';
95
105
  export * from './suspend-policy-request-dto';
96
106
  export * from './suspend-policy-response-class';
107
+ export * from './swap-premium-formulas-order-requestt-dto';
97
108
  export * from './terminate-policy-request-dto';
98
109
  export * from './terminate-policy-response-class';
99
110
  export * from './timeslice-class';
100
111
  export * from './update-insured-object-request-dto';
101
112
  export * from './update-lead-request-dto';
102
113
  export * from './update-lead-response-class';
114
+ export * from './update-named-range-request-dto';
115
+ export * from './update-named-range-response-class';
103
116
  export * from './update-policy-request-dto';
104
117
  export * from './update-policy-response-class';
105
118
  export * from './update-premium-formula-request-dto';
@@ -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
+ * 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 InlineResponse200
21
+ */
22
+ export interface InlineResponse200 {
23
+ /**
24
+ *
25
+ * @type {string}
26
+ * @memberof InlineResponse200
27
+ */
28
+ 'status'?: string;
29
+ /**
30
+ *
31
+ * @type {{ [key: string]: { [key: string]: string; }; }}
32
+ * @memberof InlineResponse200
33
+ */
34
+ 'info'?: { [key: string]: { [key: string]: string; }; } | null;
35
+ /**
36
+ *
37
+ * @type {{ [key: string]: { [key: string]: string; }; }}
38
+ * @memberof InlineResponse200
39
+ */
40
+ 'error'?: { [key: string]: { [key: string]: string; }; } | null;
41
+ /**
42
+ *
43
+ * @type {{ [key: string]: { [key: string]: string; }; }}
44
+ * @memberof InlineResponse200
45
+ */
46
+ 'details'?: { [key: string]: { [key: string]: string; }; };
47
+ }
48
+
@@ -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
+ * 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 InlineResponse503
21
+ */
22
+ export interface InlineResponse503 {
23
+ /**
24
+ *
25
+ * @type {string}
26
+ * @memberof InlineResponse503
27
+ */
28
+ 'status'?: string;
29
+ /**
30
+ *
31
+ * @type {{ [key: string]: { [key: string]: string; }; }}
32
+ * @memberof InlineResponse503
33
+ */
34
+ 'info'?: { [key: string]: { [key: string]: string; }; } | null;
35
+ /**
36
+ *
37
+ * @type {{ [key: string]: { [key: string]: string; }; }}
38
+ * @memberof InlineResponse503
39
+ */
40
+ 'error'?: { [key: string]: { [key: string]: string; }; } | null;
41
+ /**
42
+ *
43
+ * @type {{ [key: string]: { [key: string]: string; }; }}
44
+ * @memberof InlineResponse503
45
+ */
46
+ 'details'?: { [key: string]: { [key: string]: string; }; };
47
+ }
48
+
@@ -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 ListNamedRangesResponseClass
21
+ */
22
+ export interface ListNamedRangesResponseClass {
23
+ /**
24
+ * Named ranges.
25
+ * @type {Array<string>}
26
+ * @memberof ListNamedRangesResponseClass
27
+ */
28
+ 'items': Array<string>;
29
+ /**
30
+ * Next Page token
31
+ * @type {string}
32
+ * @memberof ListNamedRangesResponseClass
33
+ */
34
+ 'nextPageToken': string;
35
+ }
36
+
@@ -0,0 +1,78 @@
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 NamedRangeClass
21
+ */
22
+ export interface NamedRangeClass {
23
+ /**
24
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
25
+ * @type {number}
26
+ * @memberof NamedRangeClass
27
+ */
28
+ 'id': number;
29
+ /**
30
+ * Unique identifier referencing the product version.
31
+ * @type {number}
32
+ * @memberof NamedRangeClass
33
+ */
34
+ 'productVersionId': number;
35
+ /**
36
+ * Named range name.
37
+ * @type {string}
38
+ * @memberof NamedRangeClass
39
+ */
40
+ 'name': string;
41
+ /**
42
+ * true if the named range table has the header row or false otherwise.
43
+ * @type {boolean}
44
+ * @memberof NamedRangeClass
45
+ */
46
+ 'hasHeader': boolean;
47
+ /**
48
+ * Type of the file with the named range (CSV, XLS or XLSX).
49
+ * @type {string}
50
+ * @memberof NamedRangeClass
51
+ */
52
+ 'fileType': string;
53
+ /**
54
+ * Key the file is stored in S3 with.
55
+ * @type {string}
56
+ * @memberof NamedRangeClass
57
+ */
58
+ 's3Key': string;
59
+ /**
60
+ * Signed S3 URL for the named range file.
61
+ * @type {string}
62
+ * @memberof NamedRangeClass
63
+ */
64
+ 'signedS3Url': string;
65
+ /**
66
+ * Time at which the object was created.
67
+ * @type {string}
68
+ * @memberof NamedRangeClass
69
+ */
70
+ 'createdAt': string;
71
+ /**
72
+ * Time at which the object was updated.
73
+ * @type {string}
74
+ * @memberof NamedRangeClass
75
+ */
76
+ 'updatedAt': string;
77
+ }
78
+
@@ -45,7 +45,7 @@ export interface PatchLeadRequestDto {
45
45
  */
46
46
  'policy'?: CreateLeadPolicyRequestDto;
47
47
  /**
48
- * Lead status. Default values are \"created\", \"approved\" and \"declined\". However, those can be extended using /lead-statuses endpoint from insuranceservice.
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 PatchLeadRequestDto
51
51
  */
@@ -27,7 +27,7 @@ export interface PolicyObjectDto {
27
27
  */
28
28
  'insuredObjectId'?: number;
29
29
  /**
30
- * Insured object name. Human readable identifier of insured object. Can be used instead of insuredObjectId
30
+ * Insured object name. Human readable identifier of insured object. Can be used instead of insuredObjectId
31
31
  * @type {string}
32
32
  * @memberof PolicyObjectDto
33
33
  */
@@ -74,6 +74,18 @@ export interface PremiumFormulaClass {
74
74
  * @memberof PremiumFormulaClass
75
75
  */
76
76
  'visibility'?: string;
77
+ /**
78
+ * Name of the variable this Premium item value is referenced by in the other items formulas.
79
+ * @type {string}
80
+ * @memberof PremiumFormulaClass
81
+ */
82
+ 'variableName'?: string;
83
+ /**
84
+ * order index for the Premium item, used to define the order the items are calculated in.
85
+ * @type {number}
86
+ * @memberof PremiumFormulaClass
87
+ */
88
+ 'order': number;
77
89
  /**
78
90
  * Time at which the object was created.
79
91
  * @type {string}
@@ -47,7 +47,7 @@ export interface SharedCreateLeadPolicyRequestDto {
47
47
  */
48
48
  'policyObjects'?: Array<SharedLeadPolicyObjectDto>;
49
49
  /**
50
- * 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.
50
+ * 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.
51
51
  * @type {PremiumOverrideRequestDto}
52
52
  * @memberof SharedCreateLeadPolicyRequestDto
53
53
  */
@@ -27,7 +27,7 @@ export interface SharedLeadPolicyObjectDto {
27
27
  */
28
28
  'insuredObjectId'?: number;
29
29
  /**
30
- * Insured object name. Human readable identifier of insured object. Can be used instead of insuredObjectId
30
+ * Insured object name. Human readable identifier of insured object. Can be used instead of insuredObjectId
31
31
  * @type {string}
32
32
  * @memberof SharedLeadPolicyObjectDto
33
33
  */
@@ -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
+ * 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 SharedUpdateNamedRangeRequestDto
21
+ */
22
+ export interface SharedUpdateNamedRangeRequestDto {
23
+ /**
24
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
25
+ * @type {number}
26
+ * @memberof SharedUpdateNamedRangeRequestDto
27
+ */
28
+ 'id': number;
29
+ /**
30
+ * New name of the named range.
31
+ * @type {string}
32
+ * @memberof SharedUpdateNamedRangeRequestDto
33
+ */
34
+ 'name': string;
35
+ /**
36
+ * true if the named range table has the header row or false otherwise.
37
+ * @type {boolean}
38
+ * @memberof SharedUpdateNamedRangeRequestDto
39
+ */
40
+ 'hasHeader': boolean;
41
+ }
42
+
@@ -68,6 +68,18 @@ export interface SharedUpdatePremiumFormulaRequestDto {
68
68
  * @memberof SharedUpdatePremiumFormulaRequestDto
69
69
  */
70
70
  'visibility'?: SharedUpdatePremiumFormulaRequestDtoVisibilityEnum;
71
+ /**
72
+ * Name of the variable this Premium item value is referenced by in the other items formulas.
73
+ * @type {string}
74
+ * @memberof SharedUpdatePremiumFormulaRequestDto
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 SharedUpdatePremiumFormulaRequestDto
81
+ */
82
+ 'order': number;
71
83
  /**
72
84
  * Internal unique identifier for the object. You should not have to use this, use code instead.
73
85
  * @type {number}
@@ -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 SwapPremiumFormulasOrderRequesttDto
21
+ */
22
+ export interface SwapPremiumFormulasOrderRequesttDto {
23
+ /**
24
+ * ID of the first premium formula to swap the order of.
25
+ * @type {number}
26
+ * @memberof SwapPremiumFormulasOrderRequesttDto
27
+ */
28
+ 'id1': number;
29
+ /**
30
+ * ID of the second premium formula to swap the order of.
31
+ * @type {number}
32
+ * @memberof SwapPremiumFormulasOrderRequesttDto
33
+ */
34
+ 'id2': number;
35
+ }
36
+