@emilgroup/insurance-sdk-node 1.76.0 → 1.76.1-beta.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 (80) hide show
  1. package/.openapi-generator/FILES +14 -4
  2. package/README.md +2 -2
  3. package/api/booking-funnels-api.ts +31 -31
  4. package/api/commission-agreement-items-api.ts +4 -4
  5. package/api/policies-api.ts +32 -32
  6. package/api/product-fields-api.ts +16 -16
  7. package/api/status-transition-rules-api.ts +31 -31
  8. package/dist/api/booking-funnels-api.d.ts +18 -18
  9. package/dist/api/booking-funnels-api.js +24 -24
  10. package/dist/api/commission-agreement-items-api.d.ts +4 -4
  11. package/dist/api/commission-agreement-items-api.js +3 -3
  12. package/dist/api/policies-api.d.ts +18 -18
  13. package/dist/api/policies-api.js +24 -24
  14. package/dist/api/product-fields-api.d.ts +9 -9
  15. package/dist/api/product-fields-api.js +12 -12
  16. package/dist/api/status-transition-rules-api.d.ts +18 -18
  17. package/dist/api/status-transition-rules-api.js +24 -24
  18. package/dist/models/create-draft-policy-request-dto.d.ts +6 -0
  19. package/dist/models/create-product-field-request-dto.d.ts +22 -0
  20. package/dist/models/create-product-field-request-dto.js +9 -1
  21. package/dist/models/create-product-version-request-dto.d.ts +30 -0
  22. package/dist/models/{patch-booking-funnel-request-dto.d.ts → grpc-patch-booking-funnel-request-dto.d.ts} +10 -10
  23. package/dist/models/grpc-patch-draft-policy-request-dto.d.ts +76 -0
  24. package/dist/models/{patch-draft-policy-request-dto.js → grpc-patch-draft-policy-request-dto.js} +2 -2
  25. package/dist/models/grpc-patch-status-transition-rule-request-dto.d.ts +53 -0
  26. package/dist/models/{update-status-transition-rule-request-dto.js → grpc-patch-status-transition-rule-request-dto.js} +2 -2
  27. package/dist/models/{update-booking-funnel-request-dto.d.ts → grpc-update-booking-funnel-request-dto.d.ts} +10 -10
  28. package/dist/models/grpc-update-booking-funnel-request-dto.js +15 -0
  29. package/dist/models/grpc-update-status-transition-rule-request-dto.d.ts +53 -0
  30. package/dist/models/grpc-update-status-transition-rule-request-dto.js +20 -0
  31. package/dist/models/index.d.ts +14 -4
  32. package/dist/models/index.js +14 -4
  33. package/dist/models/patch-status-transition-rule-request-dto.d.ts +4 -10
  34. package/dist/models/product-field-class.d.ts +34 -0
  35. package/dist/models/product-field-class.js +9 -0
  36. package/dist/models/rest-create-draft-policy-request-dto.d.ts +70 -0
  37. package/dist/models/rest-create-draft-policy-request-dto.js +23 -0
  38. package/dist/models/rest-create-status-transition-rule-request-dto.d.ts +47 -0
  39. package/dist/models/rest-create-status-transition-rule-request-dto.js +20 -0
  40. package/dist/models/rest-patch-booking-funnel-request-dto.d.ts +60 -0
  41. package/dist/models/rest-patch-booking-funnel-request-dto.js +15 -0
  42. package/dist/models/{patch-draft-policy-request-dto.d.ts → rest-patch-draft-policy-request-dto.d.ts} +12 -12
  43. package/dist/models/rest-patch-draft-policy-request-dto.js +23 -0
  44. package/dist/models/rest-update-booking-funnel-request-dto.d.ts +60 -0
  45. package/dist/models/rest-update-booking-funnel-request-dto.js +15 -0
  46. package/dist/models/rest-update-product-field-request-dto.d.ts +171 -0
  47. package/dist/models/rest-update-product-field-request-dto.js +28 -0
  48. package/dist/models/rest-update-status-transition-rule-request-dto.d.ts +47 -0
  49. package/dist/models/rest-update-status-transition-rule-request-dto.js +20 -0
  50. package/dist/models/shared-delete-request-dto.d.ts +24 -0
  51. package/dist/models/shared-delete-request-dto.js +15 -0
  52. package/dist/models/shared-product-field-class.d.ts +34 -0
  53. package/dist/models/shared-product-field-class.js +9 -0
  54. package/dist/models/update-product-field-request-dto.d.ts +22 -0
  55. package/dist/models/update-product-field-request-dto.js +9 -1
  56. package/models/create-draft-policy-request-dto.ts +6 -0
  57. package/models/create-product-field-request-dto.ts +24 -0
  58. package/models/create-product-version-request-dto.ts +36 -0
  59. package/models/{patch-booking-funnel-request-dto.ts → grpc-patch-booking-funnel-request-dto.ts} +10 -10
  60. package/models/grpc-patch-draft-policy-request-dto.ts +85 -0
  61. package/models/grpc-patch-status-transition-rule-request-dto.ts +62 -0
  62. package/models/{update-booking-funnel-request-dto.ts → grpc-update-booking-funnel-request-dto.ts} +10 -10
  63. package/models/{update-status-transition-rule-request-dto.ts → grpc-update-status-transition-rule-request-dto.ts} +10 -10
  64. package/models/index.ts +14 -4
  65. package/models/patch-status-transition-rule-request-dto.ts +4 -10
  66. package/models/product-field-class.ts +38 -0
  67. package/models/rest-create-draft-policy-request-dto.ts +79 -0
  68. package/models/rest-create-status-transition-rule-request-dto.ts +56 -0
  69. package/models/rest-patch-booking-funnel-request-dto.ts +66 -0
  70. package/models/{patch-draft-policy-request-dto.ts → rest-patch-draft-policy-request-dto.ts} +12 -12
  71. package/models/rest-update-booking-funnel-request-dto.ts +66 -0
  72. package/models/rest-update-product-field-request-dto.ts +182 -0
  73. package/models/rest-update-status-transition-rule-request-dto.ts +56 -0
  74. package/models/shared-delete-request-dto.ts +30 -0
  75. package/models/shared-product-field-class.ts +38 -0
  76. package/models/update-product-field-request-dto.ts +24 -0
  77. package/package.json +1 -1
  78. package/dist/models/update-status-transition-rule-request-dto.d.ts +0 -53
  79. /package/dist/models/{patch-booking-funnel-request-dto.js → create-product-version-request-dto.js} +0 -0
  80. /package/dist/models/{update-booking-funnel-request-dto.js → grpc-patch-booking-funnel-request-dto.js} +0 -0
@@ -0,0 +1,171 @@
1
+ /**
2
+ * EMIL InsuranceService
3
+ * The EMIL InsuranceService API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface RestUpdateProductFieldRequestDto
16
+ */
17
+ export interface RestUpdateProductFieldRequestDto {
18
+ /**
19
+ * Product field name
20
+ * @type {string}
21
+ * @memberof RestUpdateProductFieldRequestDto
22
+ */
23
+ 'name': string;
24
+ /**
25
+ * Product field label
26
+ * @type {string}
27
+ * @memberof RestUpdateProductFieldRequestDto
28
+ */
29
+ 'label': string;
30
+ /**
31
+ * Product field type entity
32
+ * @type {string}
33
+ * @memberof RestUpdateProductFieldRequestDto
34
+ */
35
+ 'typeEntity': RestUpdateProductFieldRequestDtoTypeEntityEnum;
36
+ /**
37
+ * Product field type id
38
+ * @type {number}
39
+ * @memberof RestUpdateProductFieldRequestDto
40
+ */
41
+ 'typeId': number;
42
+ /**
43
+ * Insured object id
44
+ * @type {number}
45
+ * @memberof RestUpdateProductFieldRequestDto
46
+ */
47
+ 'insuredObjectId': number;
48
+ /**
49
+ * Product field group
50
+ * @type {string}
51
+ * @memberof RestUpdateProductFieldRequestDto
52
+ */
53
+ 'group': string;
54
+ /**
55
+ * Is field required?
56
+ * @type {boolean}
57
+ * @memberof RestUpdateProductFieldRequestDto
58
+ */
59
+ 'isRequired': boolean;
60
+ /**
61
+ * Is field hidden on the booking funnel?
62
+ * @type {boolean}
63
+ * @memberof RestUpdateProductFieldRequestDto
64
+ */
65
+ 'isHidden': boolean;
66
+ /**
67
+ * Should the field value be unique across policies?
68
+ * @type {boolean}
69
+ * @memberof RestUpdateProductFieldRequestDto
70
+ */
71
+ 'isUnique': boolean;
72
+ /**
73
+ * Should the field be hidden on customer portal?
74
+ * @type {boolean}
75
+ * @memberof RestUpdateProductFieldRequestDto
76
+ */
77
+ 'isHiddenCustomerPortal': boolean;
78
+ /**
79
+ * Should the field be editable on customer portal?
80
+ * @type {boolean}
81
+ * @memberof RestUpdateProductFieldRequestDto
82
+ */
83
+ 'isEditableCustomerPortal': boolean;
84
+ /**
85
+ * Default value of the field. For the field type date-time, it should be { \"templated\" : \"{{today}}\" }
86
+ * @type {object}
87
+ * @memberof RestUpdateProductFieldRequestDto
88
+ */
89
+ 'defaultValue': object;
90
+ /**
91
+ * Default value of the field. For the field type date-time, it should be { \"templated\" : \"{{today}}\" }
92
+ * @type {object}
93
+ * @memberof RestUpdateProductFieldRequestDto
94
+ */
95
+ 'minValue'?: object;
96
+ /**
97
+ * Booking funnel description
98
+ * @type {string}
99
+ * @memberof RestUpdateProductFieldRequestDto
100
+ */
101
+ 'bfDescription'?: string;
102
+ /**
103
+ * Booking funnel tooltip
104
+ * @type {string}
105
+ * @memberof RestUpdateProductFieldRequestDto
106
+ */
107
+ 'bfTooltip'?: string;
108
+ /**
109
+ * Booking funnel label
110
+ * @type {string}
111
+ * @memberof RestUpdateProductFieldRequestDto
112
+ */
113
+ 'bfLabel'?: string;
114
+ /**
115
+ * Expression to calculate the field.
116
+ * @type {string}
117
+ * @memberof RestUpdateProductFieldRequestDto
118
+ */
119
+ 'expression'?: string;
120
+ /**
121
+ * Default value of the field. For the field type date-time, it should be { \"templated\" : \"{{today}}\" }
122
+ * @type {object}
123
+ * @memberof RestUpdateProductFieldRequestDto
124
+ */
125
+ 'maxValue'?: object;
126
+ /**
127
+ * Order index for the product field item, used to define the order of the items in the insured object. The order will also impact the order of the items in the policy itself.
128
+ * @type {number}
129
+ * @memberof RestUpdateProductFieldRequestDto
130
+ */
131
+ 'order'?: number;
132
+ /**
133
+ * order index for the product field for display on the booking funnel, not defined for hidden fields.
134
+ * @type {number}
135
+ * @memberof RestUpdateProductFieldRequestDto
136
+ */
137
+ 'legacyBfOrder'?: number;
138
+ /**
139
+ * Product field metadata object. The field may contain special data specific to the product.
140
+ * @type {object}
141
+ * @memberof RestUpdateProductFieldRequestDto
142
+ */
143
+ 'metadata'?: object;
144
+ /**
145
+ * Overrides automatic dependency check result (if this field is used in the premium calculation or not).
146
+ * @type {string}
147
+ * @memberof RestUpdateProductFieldRequestDto
148
+ */
149
+ 'usedInPremiumCalculationOverride'?: RestUpdateProductFieldRequestDtoUsedInPremiumCalculationOverrideEnum;
150
+ /**
151
+ * Overrides automatic dependency check result (if this field is used in the product field calculation or not).
152
+ * @type {string}
153
+ * @memberof RestUpdateProductFieldRequestDto
154
+ */
155
+ 'usedInFieldCalculationOverride'?: RestUpdateProductFieldRequestDtoUsedInFieldCalculationOverrideEnum;
156
+ }
157
+ export declare const RestUpdateProductFieldRequestDtoTypeEntityEnum: {
158
+ readonly SystemProductFieldType: "system_product_field_type";
159
+ readonly ProductFactorType: "product_factor_type";
160
+ };
161
+ export type RestUpdateProductFieldRequestDtoTypeEntityEnum = typeof RestUpdateProductFieldRequestDtoTypeEntityEnum[keyof typeof RestUpdateProductFieldRequestDtoTypeEntityEnum];
162
+ export declare const RestUpdateProductFieldRequestDtoUsedInPremiumCalculationOverrideEnum: {
163
+ readonly Used: "used";
164
+ readonly NotUsed: "not_used";
165
+ };
166
+ export type RestUpdateProductFieldRequestDtoUsedInPremiumCalculationOverrideEnum = typeof RestUpdateProductFieldRequestDtoUsedInPremiumCalculationOverrideEnum[keyof typeof RestUpdateProductFieldRequestDtoUsedInPremiumCalculationOverrideEnum];
167
+ export declare const RestUpdateProductFieldRequestDtoUsedInFieldCalculationOverrideEnum: {
168
+ readonly Used: "used";
169
+ readonly NotUsed: "not_used";
170
+ };
171
+ export type RestUpdateProductFieldRequestDtoUsedInFieldCalculationOverrideEnum = typeof RestUpdateProductFieldRequestDtoUsedInFieldCalculationOverrideEnum[keyof typeof RestUpdateProductFieldRequestDtoUsedInFieldCalculationOverrideEnum];
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL InsuranceService
6
+ * The EMIL InsuranceService API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: kontakt@emil.de
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.RestUpdateProductFieldRequestDtoUsedInFieldCalculationOverrideEnum = exports.RestUpdateProductFieldRequestDtoUsedInPremiumCalculationOverrideEnum = exports.RestUpdateProductFieldRequestDtoTypeEntityEnum = void 0;
17
+ exports.RestUpdateProductFieldRequestDtoTypeEntityEnum = {
18
+ SystemProductFieldType: 'system_product_field_type',
19
+ ProductFactorType: 'product_factor_type'
20
+ };
21
+ exports.RestUpdateProductFieldRequestDtoUsedInPremiumCalculationOverrideEnum = {
22
+ Used: 'used',
23
+ NotUsed: 'not_used'
24
+ };
25
+ exports.RestUpdateProductFieldRequestDtoUsedInFieldCalculationOverrideEnum = {
26
+ Used: 'used',
27
+ NotUsed: 'not_used'
28
+ };
@@ -0,0 +1,47 @@
1
+ /**
2
+ * EMIL InsuranceService
3
+ * The EMIL InsuranceService API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface RestUpdateStatusTransitionRuleRequestDto
16
+ */
17
+ export interface RestUpdateStatusTransitionRuleRequestDto {
18
+ /**
19
+ * Entity type where the rule applies to.
20
+ * @type {string}
21
+ * @memberof RestUpdateStatusTransitionRuleRequestDto
22
+ */
23
+ 'entityType': RestUpdateStatusTransitionRuleRequestDtoEntityTypeEnum;
24
+ /**
25
+ * Current status of the entity.
26
+ * @type {string}
27
+ * @memberof RestUpdateStatusTransitionRuleRequestDto
28
+ */
29
+ 'currentStatus': string;
30
+ /**
31
+ * Array of next statuses of the entity.
32
+ * @type {Array<string>}
33
+ * @memberof RestUpdateStatusTransitionRuleRequestDto
34
+ */
35
+ 'nextStatuses': Array<string>;
36
+ /**
37
+ * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
38
+ * @type {string}
39
+ * @memberof RestUpdateStatusTransitionRuleRequestDto
40
+ */
41
+ 'productSlug': string;
42
+ }
43
+ export declare const RestUpdateStatusTransitionRuleRequestDtoEntityTypeEnum: {
44
+ readonly Lead: "lead";
45
+ readonly Policy: "policy";
46
+ };
47
+ export type RestUpdateStatusTransitionRuleRequestDtoEntityTypeEnum = typeof RestUpdateStatusTransitionRuleRequestDtoEntityTypeEnum[keyof typeof RestUpdateStatusTransitionRuleRequestDtoEntityTypeEnum];
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL InsuranceService
6
+ * The EMIL InsuranceService API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: kontakt@emil.de
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.RestUpdateStatusTransitionRuleRequestDtoEntityTypeEnum = void 0;
17
+ exports.RestUpdateStatusTransitionRuleRequestDtoEntityTypeEnum = {
18
+ Lead: 'lead',
19
+ Policy: 'policy'
20
+ };
@@ -0,0 +1,24 @@
1
+ /**
2
+ * EMIL InsuranceService
3
+ * The EMIL InsuranceService API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface SharedDeleteRequestDto
16
+ */
17
+ export interface SharedDeleteRequestDto {
18
+ /**
19
+ * Resource id.
20
+ * @type {number}
21
+ * @memberof SharedDeleteRequestDto
22
+ */
23
+ 'id': number;
24
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL InsuranceService
6
+ * The EMIL InsuranceService API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: kontakt@emil.de
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -129,6 +129,30 @@ export interface SharedProductFieldClass {
129
129
  * @memberof SharedProductFieldClass
130
130
  */
131
131
  'metadata'?: object;
132
+ /**
133
+ * Is this field is used the premium calculation?
134
+ * @type {boolean}
135
+ * @memberof SharedProductFieldClass
136
+ */
137
+ 'usedInPremiumCalculation': boolean;
138
+ /**
139
+ * Overrides automatic dependency check result (if this field is used in the premium calculation or not).
140
+ * @type {string}
141
+ * @memberof SharedProductFieldClass
142
+ */
143
+ 'usedInPremiumCalculationOverride': SharedProductFieldClassUsedInPremiumCalculationOverrideEnum;
144
+ /**
145
+ * Is this field is used the product field calculation?
146
+ * @type {boolean}
147
+ * @memberof SharedProductFieldClass
148
+ */
149
+ 'usedInFieldCalculation': boolean;
150
+ /**
151
+ * Overrides automatic dependency check result (if this field is used in the product field calculation or not).
152
+ * @type {string}
153
+ * @memberof SharedProductFieldClass
154
+ */
155
+ 'usedInFieldCalculationOverride': SharedProductFieldClassUsedInFieldCalculationOverrideEnum;
132
156
  /**
133
157
  * Time at which the object was created.
134
158
  * @type {string}
@@ -154,3 +178,13 @@ export interface SharedProductFieldClass {
154
178
  */
155
179
  'updatedBy': string;
156
180
  }
181
+ export declare const SharedProductFieldClassUsedInPremiumCalculationOverrideEnum: {
182
+ readonly Used: "used";
183
+ readonly NotUsed: "not_used";
184
+ };
185
+ export type SharedProductFieldClassUsedInPremiumCalculationOverrideEnum = typeof SharedProductFieldClassUsedInPremiumCalculationOverrideEnum[keyof typeof SharedProductFieldClassUsedInPremiumCalculationOverrideEnum];
186
+ export declare const SharedProductFieldClassUsedInFieldCalculationOverrideEnum: {
187
+ readonly Used: "used";
188
+ readonly NotUsed: "not_used";
189
+ };
190
+ export type SharedProductFieldClassUsedInFieldCalculationOverrideEnum = typeof SharedProductFieldClassUsedInFieldCalculationOverrideEnum[keyof typeof SharedProductFieldClassUsedInFieldCalculationOverrideEnum];
@@ -13,3 +13,12 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.SharedProductFieldClassUsedInFieldCalculationOverrideEnum = exports.SharedProductFieldClassUsedInPremiumCalculationOverrideEnum = void 0;
17
+ exports.SharedProductFieldClassUsedInPremiumCalculationOverrideEnum = {
18
+ Used: 'used',
19
+ NotUsed: 'not_used'
20
+ };
21
+ exports.SharedProductFieldClassUsedInFieldCalculationOverrideEnum = {
22
+ Used: 'used',
23
+ NotUsed: 'not_used'
24
+ };
@@ -147,9 +147,31 @@ export interface UpdateProductFieldRequestDto {
147
147
  * @memberof UpdateProductFieldRequestDto
148
148
  */
149
149
  'metadata'?: object;
150
+ /**
151
+ * Overrides automatic dependency check result (if this field is used in the premium calculation or not).
152
+ * @type {string}
153
+ * @memberof UpdateProductFieldRequestDto
154
+ */
155
+ 'usedInPremiumCalculationOverride'?: UpdateProductFieldRequestDtoUsedInPremiumCalculationOverrideEnum;
156
+ /**
157
+ * Overrides automatic dependency check result (if this field is used in the product field calculation or not).
158
+ * @type {string}
159
+ * @memberof UpdateProductFieldRequestDto
160
+ */
161
+ 'usedInFieldCalculationOverride'?: UpdateProductFieldRequestDtoUsedInFieldCalculationOverrideEnum;
150
162
  }
151
163
  export declare const UpdateProductFieldRequestDtoTypeEntityEnum: {
152
164
  readonly SystemProductFieldType: "system_product_field_type";
153
165
  readonly ProductFactorType: "product_factor_type";
154
166
  };
155
167
  export type UpdateProductFieldRequestDtoTypeEntityEnum = typeof UpdateProductFieldRequestDtoTypeEntityEnum[keyof typeof UpdateProductFieldRequestDtoTypeEntityEnum];
168
+ export declare const UpdateProductFieldRequestDtoUsedInPremiumCalculationOverrideEnum: {
169
+ readonly Used: "used";
170
+ readonly NotUsed: "not_used";
171
+ };
172
+ export type UpdateProductFieldRequestDtoUsedInPremiumCalculationOverrideEnum = typeof UpdateProductFieldRequestDtoUsedInPremiumCalculationOverrideEnum[keyof typeof UpdateProductFieldRequestDtoUsedInPremiumCalculationOverrideEnum];
173
+ export declare const UpdateProductFieldRequestDtoUsedInFieldCalculationOverrideEnum: {
174
+ readonly Used: "used";
175
+ readonly NotUsed: "not_used";
176
+ };
177
+ export type UpdateProductFieldRequestDtoUsedInFieldCalculationOverrideEnum = typeof UpdateProductFieldRequestDtoUsedInFieldCalculationOverrideEnum[keyof typeof UpdateProductFieldRequestDtoUsedInFieldCalculationOverrideEnum];
@@ -13,8 +13,16 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.UpdateProductFieldRequestDtoTypeEntityEnum = void 0;
16
+ exports.UpdateProductFieldRequestDtoUsedInFieldCalculationOverrideEnum = exports.UpdateProductFieldRequestDtoUsedInPremiumCalculationOverrideEnum = exports.UpdateProductFieldRequestDtoTypeEntityEnum = void 0;
17
17
  exports.UpdateProductFieldRequestDtoTypeEntityEnum = {
18
18
  SystemProductFieldType: 'system_product_field_type',
19
19
  ProductFactorType: 'product_factor_type'
20
20
  };
21
+ exports.UpdateProductFieldRequestDtoUsedInPremiumCalculationOverrideEnum = {
22
+ Used: 'used',
23
+ NotUsed: 'not_used'
24
+ };
25
+ exports.UpdateProductFieldRequestDtoUsedInFieldCalculationOverrideEnum = {
26
+ Used: 'used',
27
+ NotUsed: 'not_used'
28
+ };
@@ -64,6 +64,12 @@ export interface CreateDraftPolicyRequestDto {
64
64
  * @memberof CreateDraftPolicyRequestDto
65
65
  */
66
66
  'policyNumber'?: string;
67
+ /**
68
+ *
69
+ * @type {string}
70
+ * @memberof CreateDraftPolicyRequestDto
71
+ */
72
+ 'policyCode': string;
67
73
  }
68
74
 
69
75
  export const CreateDraftPolicyRequestDtoRevisionStatusEnum = {
@@ -146,6 +146,18 @@ export interface CreateProductFieldRequestDto {
146
146
  * @memberof CreateProductFieldRequestDto
147
147
  */
148
148
  'metadata'?: object;
149
+ /**
150
+ * Overrides automatic dependency check result (if this field is used in the premium calculation or not).
151
+ * @type {string}
152
+ * @memberof CreateProductFieldRequestDto
153
+ */
154
+ 'usedInPremiumCalculationOverride'?: CreateProductFieldRequestDtoUsedInPremiumCalculationOverrideEnum;
155
+ /**
156
+ * Overrides automatic dependency check result (if this field is used in the product field calculation or not).
157
+ * @type {string}
158
+ * @memberof CreateProductFieldRequestDto
159
+ */
160
+ 'usedInFieldCalculationOverride'?: CreateProductFieldRequestDtoUsedInFieldCalculationOverrideEnum;
149
161
  }
150
162
 
151
163
  export const CreateProductFieldRequestDtoTypeEntityEnum = {
@@ -154,5 +166,17 @@ export const CreateProductFieldRequestDtoTypeEntityEnum = {
154
166
  } as const;
155
167
 
156
168
  export type CreateProductFieldRequestDtoTypeEntityEnum = typeof CreateProductFieldRequestDtoTypeEntityEnum[keyof typeof CreateProductFieldRequestDtoTypeEntityEnum];
169
+ export const CreateProductFieldRequestDtoUsedInPremiumCalculationOverrideEnum = {
170
+ Used: 'used',
171
+ NotUsed: 'not_used'
172
+ } as const;
173
+
174
+ export type CreateProductFieldRequestDtoUsedInPremiumCalculationOverrideEnum = typeof CreateProductFieldRequestDtoUsedInPremiumCalculationOverrideEnum[keyof typeof CreateProductFieldRequestDtoUsedInPremiumCalculationOverrideEnum];
175
+ export const CreateProductFieldRequestDtoUsedInFieldCalculationOverrideEnum = {
176
+ Used: 'used',
177
+ NotUsed: 'not_used'
178
+ } as const;
179
+
180
+ export type CreateProductFieldRequestDtoUsedInFieldCalculationOverrideEnum = typeof CreateProductFieldRequestDtoUsedInFieldCalculationOverrideEnum[keyof typeof CreateProductFieldRequestDtoUsedInFieldCalculationOverrideEnum];
157
181
 
158
182
 
@@ -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 CreateProductVersionRequestDto
21
+ */
22
+ export interface CreateProductVersionRequestDto {
23
+ /**
24
+ * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
25
+ * @type {string}
26
+ * @memberof CreateProductVersionRequestDto
27
+ */
28
+ 'productSlug': string;
29
+ /**
30
+ * product version description
31
+ * @type {string}
32
+ * @memberof CreateProductVersionRequestDto
33
+ */
34
+ 'description': string;
35
+ }
36
+
@@ -17,55 +17,55 @@
17
17
  /**
18
18
  *
19
19
  * @export
20
- * @interface PatchBookingFunnelRequestDto
20
+ * @interface GrpcPatchBookingFunnelRequestDto
21
21
  */
22
- export interface PatchBookingFunnelRequestDto {
22
+ export interface GrpcPatchBookingFunnelRequestDto {
23
23
  /**
24
24
  * Parent Booking funnel ID
25
25
  * @type {number}
26
- * @memberof PatchBookingFunnelRequestDto
26
+ * @memberof GrpcPatchBookingFunnelRequestDto
27
27
  */
28
28
  'parentId'?: number;
29
29
  /**
30
30
  * Booking funnel name
31
31
  * @type {string}
32
- * @memberof PatchBookingFunnelRequestDto
32
+ * @memberof GrpcPatchBookingFunnelRequestDto
33
33
  */
34
34
  'name'?: string;
35
35
  /**
36
36
  * Code snippet to load the booking funnel.
37
37
  * @type {string}
38
- * @memberof PatchBookingFunnelRequestDto
38
+ * @memberof GrpcPatchBookingFunnelRequestDto
39
39
  */
40
40
  'jsCode'?: string;
41
41
  /**
42
42
  * Steps configuration for the booking funnel.
43
43
  * @type {object}
44
- * @memberof PatchBookingFunnelRequestDto
44
+ * @memberof GrpcPatchBookingFunnelRequestDto
45
45
  */
46
46
  'stepsConfig'?: object;
47
47
  /**
48
48
  * Custom css for the booking funnel.
49
49
  * @type {string}
50
- * @memberof PatchBookingFunnelRequestDto
50
+ * @memberof GrpcPatchBookingFunnelRequestDto
51
51
  */
52
52
  'css'?: string;
53
53
  /**
54
54
  * URL to fech the logo for the booking funnel.
55
55
  * @type {string}
56
- * @memberof PatchBookingFunnelRequestDto
56
+ * @memberof GrpcPatchBookingFunnelRequestDto
57
57
  */
58
58
  'logoPath'?: string;
59
59
  /**
60
60
  *
61
61
  * @type {string}
62
- * @memberof PatchBookingFunnelRequestDto
62
+ * @memberof GrpcPatchBookingFunnelRequestDto
63
63
  */
64
64
  'code': string;
65
65
  /**
66
66
  *
67
67
  * @type {boolean}
68
- * @memberof PatchBookingFunnelRequestDto
68
+ * @memberof GrpcPatchBookingFunnelRequestDto
69
69
  */
70
70
  'shouldShowOnApplicationsPage'?: boolean;
71
71
  }
@@ -0,0 +1,85 @@
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 { PolicyObjectDto } from './policy-object-dto';
17
+ import { PremiumOverrideRequestDto } from './premium-override-request-dto';
18
+
19
+ /**
20
+ *
21
+ * @export
22
+ * @interface GrpcPatchDraftPolicyRequestDto
23
+ */
24
+ export interface GrpcPatchDraftPolicyRequestDto {
25
+ /**
26
+ * Policy objects
27
+ * @type {Array<PolicyObjectDto>}
28
+ * @memberof GrpcPatchDraftPolicyRequestDto
29
+ */
30
+ 'policyObjects': Array<PolicyObjectDto>;
31
+ /**
32
+ * Date from which the policy should be updated. This will create a new timeline starting from this date.
33
+ * @type {string}
34
+ * @memberof GrpcPatchDraftPolicyRequestDto
35
+ */
36
+ 'from'?: string;
37
+ /**
38
+ * Date to which the policy should be updated. This will create a new timeline finishing at this date.
39
+ * @type {string}
40
+ * @memberof GrpcPatchDraftPolicyRequestDto
41
+ */
42
+ 'to'?: string;
43
+ /**
44
+ * Policy revision status.
45
+ * @type {string}
46
+ * @memberof GrpcPatchDraftPolicyRequestDto
47
+ */
48
+ 'revisionStatus': GrpcPatchDraftPolicyRequestDtoRevisionStatusEnum;
49
+ /**
50
+ * Premium Override
51
+ * @type {PremiumOverrideRequestDto}
52
+ * @memberof GrpcPatchDraftPolicyRequestDto
53
+ */
54
+ 'premiumOverride'?: PremiumOverrideRequestDto;
55
+ /**
56
+ * Unique identifier of the lead that this object belongs to.
57
+ * @type {string}
58
+ * @memberof GrpcPatchDraftPolicyRequestDto
59
+ */
60
+ 'leadCode'?: string;
61
+ /**
62
+ * Unique identifier of the policy that this object belongs to.
63
+ * @type {string}
64
+ * @memberof GrpcPatchDraftPolicyRequestDto
65
+ */
66
+ 'policyNumber'?: string;
67
+ /**
68
+ *
69
+ * @type {string}
70
+ * @memberof GrpcPatchDraftPolicyRequestDto
71
+ */
72
+ 'policyCode': string;
73
+ }
74
+
75
+ export const GrpcPatchDraftPolicyRequestDtoRevisionStatusEnum = {
76
+ Created: 'CREATED',
77
+ InReview: 'IN_REVIEW',
78
+ Reviewed: 'REVIEWED',
79
+ Rejected: 'REJECTED',
80
+ Approved: 'APPROVED'
81
+ } as const;
82
+
83
+ export type GrpcPatchDraftPolicyRequestDtoRevisionStatusEnum = typeof GrpcPatchDraftPolicyRequestDtoRevisionStatusEnum[keyof typeof GrpcPatchDraftPolicyRequestDtoRevisionStatusEnum];
84
+
85
+