@star-insure/sdk 1.1.25 → 1.1.27

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.
@@ -1,103 +1,125 @@
1
1
  import { Condition, Frequency, VehicleType } from "../../api";
2
2
  export declare type ClaimRequestStatus = 'new' | 'draft' | 'in-progress' | 'exported';
3
3
  export interface ClaimRequest {
4
- id: string;
5
- reference: string;
6
- 'status': ClaimRequestStatus;
7
- 'submitted_at': string;
8
- 'reminder_sent_at': string;
9
- 'claim_number': string;
10
- 'policyholder': string;
11
- 'policy_number': string;
12
- 'policy_cover_number': string;
13
- 'policy_version_number': string;
14
- 'policy_contact_name': string;
15
- 'mobile': string;
16
- 'email': string;
17
- 'alternative_contact': string;
18
- 'broker_firm': string;
19
- 'broker_name': string;
20
- 'address': string;
21
- 'terms_accepted_by': string;
4
+ 'id': string;
5
+ 'reference'?: string;
6
+ 'status'?: ClaimRequestStatus;
7
+ 'submitted_at'?: string;
8
+ 'reminder_sent_at'?: string;
9
+ 'claim_number'?: string;
10
+ 'policyholder'?: string;
11
+ 'policy_number'?: string;
12
+ 'policy_cover_number'?: string;
13
+ 'policy_version_number'?: string;
14
+ 'policy_contact_name'?: string;
15
+ 'mobile'?: string;
16
+ 'email'?: string;
17
+ 'alternative_contact'?: string;
18
+ 'broker_firm'?: string;
19
+ 'broker_name'?: string;
20
+ 'address'?: string;
21
+ 'terms_accepted_by'?: string;
22
+ 'loss_estimate'?: number;
23
+ 'excess'?: number;
24
+ 'excess_status'?: string;
25
+ 'sum_insured'?: number;
26
+ 'cover_type'?: string;
27
+ 'reserve_expense'?: number;
28
+ 'fault_flag'?: string;
29
+ 'category'?: string;
30
+ 'substatus'?: string;
31
+ 'severity_code'?: string;
32
+ 'action'?: string;
33
+ 'vehicle_type_code'?: string;
34
+ 'vehicle_make_code'?: string;
35
+ 'eglobal_user_id'?: string;
36
+ 'client_comments'?: string;
37
+ 'insurer_comments'?: string;
38
+ 'status_line'?: string;
39
+ 'claim_summary'?: string;
40
+ 'driver_gender'?: string;
41
+ 'is_assessor_required'?: boolean;
42
+ 'acceptance_code'?: string;
22
43
  }
23
44
  export interface DamageClaimRequest extends ClaimRequest {
24
- 'vehicle_registration': string;
25
- 'vehicle_vin': string;
26
- 'vehicle_make': string;
27
- 'vehicle_model': string;
28
- 'vehicle_year': string | number;
29
- 'vehicle_type': VehicleType;
30
- 'finance_company': string;
31
- 'finance_phone': string;
32
- 'driver_name': string;
33
- 'driver_dob': string;
34
- 'driver_relationship': string;
35
- 'driver_licence_number': string;
36
- 'driver_licence_version': string;
37
- 'driver_licence_issuer': string;
38
- 'was_intoxicated': boolean;
39
- 'intoxicated_details': string;
40
- 'has_conviction': boolean;
41
- 'conviction_details': string;
42
- 'has_recent_claim': boolean;
43
- 'incident_details': Incident[];
44
- 'was_disqualified': boolean;
45
- 'disqualified_details': string;
46
- 'was_vehicle_used_without_consent': boolean;
47
- 'vehicle_used_without_consent_details': string;
48
- 'has_existing_vehicle_damage': boolean;
49
- 'existing_vehicle_damage_details': string;
50
- 'was_refused_insurance': boolean;
51
- 'refused_insurance_details': string;
52
- 'has_additional_information': boolean;
53
- 'additional_information_details': string;
54
- 'accident_location': string;
55
- 'accident_suburb': string;
56
- 'accident_happened_at': string;
57
- 'accident_speed': string;
58
- 'impact_speed': string;
59
- 'road_surface': string;
60
- 'weather_conditions': string;
61
- 'had_passengers': boolean;
62
- 'passenger_details': Passenger[];
63
- 'has_witnesses': boolean;
64
- 'witness_details': Witness[];
65
- 'accident_description': string;
66
- 'is_vehicle_drivable': boolean;
67
- 'vehicle_drivable_details': string;
68
- 'was_warning_given': boolean;
69
- 'warning_given_details': string;
70
- 'was_third_party_responsible': boolean;
71
- 'third_party_responsible_details': string;
72
- 'was_third_party_involved': boolean;
73
- 'third_party_vehicle_registration': string;
74
- 'third_party_vehicle_owner': string;
75
- 'third_party_vehicle_make': string;
76
- 'third_party_vehicle_model': string;
77
- 'third_party_vehicle_driver_name': string;
78
- 'third_party_vehicle_driver_mobile': string;
79
- 'third_party_vehicle_driver_phone': string;
80
- 'third_party_vehicle_driver_address': string;
81
- 'third_party_vehicle_insurance_company': string;
82
- 'third_party_vehicle_damage': string;
83
- 'third_party_details_provided': string;
84
- 'were_police_notified': boolean;
85
- 'did_police_attend': boolean;
86
- 'police_officer_name': string;
87
- 'police_officer_email': string;
88
- 'police_reference': string;
89
- 'police_station_address': string;
90
- 'police_did_test': boolean;
91
- 'police_issued_notice': boolean;
92
- 'repairer_name': string;
93
- 'repairer_phone': string;
94
- 'repairer_email': string;
95
- 'is_claiming_protective_gear': boolean;
96
- 'is_protective_gear_insured_elsewhere': boolean;
97
- 'protective_gear_details': ClaimItem[];
98
- 'is_claiming_contents': boolean;
99
- 'is_contents_insured_elsewhere': boolean;
100
- 'contents_details': ClaimItem[];
45
+ 'claim_type': 'damage';
46
+ 'vehicle_registration'?: string;
47
+ 'vehicle_vin'?: string;
48
+ 'vehicle_make'?: string;
49
+ 'vehicle_model'?: string;
50
+ 'vehicle_year'?: string | number;
51
+ 'vehicle_type'?: VehicleType;
52
+ 'finance_company'?: string;
53
+ 'finance_phone'?: string;
54
+ 'driver_name'?: string;
55
+ 'driver_dob'?: string;
56
+ 'driver_relationship'?: string;
57
+ 'driver_licence_number'?: string;
58
+ 'driver_licence_version'?: string;
59
+ 'driver_licence_issuer'?: string;
60
+ 'was_intoxicated'?: boolean;
61
+ 'intoxicated_details'?: string;
62
+ 'has_conviction'?: boolean;
63
+ 'conviction_details'?: string;
64
+ 'has_recent_claim'?: boolean;
65
+ 'incident_details'?: Incident[];
66
+ 'was_disqualified'?: boolean;
67
+ 'disqualified_details'?: string;
68
+ 'was_vehicle_used_without_consent'?: boolean;
69
+ 'vehicle_used_without_consent_details'?: string;
70
+ 'has_existing_vehicle_damage'?: boolean;
71
+ 'existing_vehicle_damage_details'?: string;
72
+ 'was_refused_insurance'?: boolean;
73
+ 'refused_insurance_details'?: string;
74
+ 'has_additional_information'?: boolean;
75
+ 'additional_information_details'?: string;
76
+ 'accident_location'?: string;
77
+ 'accident_suburb'?: string;
78
+ 'accident_happened_at'?: string;
79
+ 'accident_speed'?: string;
80
+ 'impact_speed'?: string;
81
+ 'road_surface'?: string;
82
+ 'weather_conditions'?: string;
83
+ 'had_passengers'?: boolean;
84
+ 'passenger_details'?: Passenger[];
85
+ 'has_witnesses'?: boolean;
86
+ 'witness_details'?: Witness[];
87
+ 'accident_description'?: string;
88
+ 'is_vehicle_drivable'?: boolean;
89
+ 'vehicle_drivable_details'?: string;
90
+ 'was_warning_given'?: boolean;
91
+ 'warning_given_details'?: string;
92
+ 'was_third_party_responsible'?: boolean;
93
+ 'third_party_responsible_details'?: string;
94
+ 'was_third_party_involved'?: boolean;
95
+ 'third_party_vehicle_registration'?: string;
96
+ 'third_party_vehicle_owner'?: string;
97
+ 'third_party_vehicle_make'?: string;
98
+ 'third_party_vehicle_model'?: string;
99
+ 'third_party_vehicle_driver_name'?: string;
100
+ 'third_party_vehicle_driver_mobile'?: string;
101
+ 'third_party_vehicle_driver_phone'?: string;
102
+ 'third_party_vehicle_driver_address'?: string;
103
+ 'third_party_vehicle_insurance_company'?: string;
104
+ 'third_party_vehicle_damage'?: string;
105
+ 'third_party_details_provided'?: string;
106
+ 'were_police_notified'?: boolean;
107
+ 'did_police_attend'?: boolean;
108
+ 'police_officer_name'?: string;
109
+ 'police_officer_email'?: string;
110
+ 'police_reference'?: string;
111
+ 'police_station_address'?: string;
112
+ 'police_did_test'?: boolean;
113
+ 'police_issued_notice'?: boolean;
114
+ 'repairer_name'?: string;
115
+ 'repairer_phone'?: string;
116
+ 'repairer_email'?: string;
117
+ 'is_claiming_protective_gear'?: boolean;
118
+ 'is_protective_gear_insured_elsewhere'?: boolean;
119
+ 'protective_gear_details'?: ClaimItem[];
120
+ 'is_claiming_contents'?: boolean;
121
+ 'is_contents_insured_elsewhere'?: boolean;
122
+ 'contents_details'?: ClaimItem[];
101
123
  }
102
124
  export interface Incident {
103
125
  'year': string;
@@ -124,158 +146,160 @@ export interface ClaimItem {
124
146
  'replacement_cost'?: string;
125
147
  }
126
148
  export interface GlassClaimRequest extends ClaimRequest {
127
- 'vehicle_registration': string;
128
- 'vehicle_vin': string;
129
- 'vehicle_make': string;
130
- 'vehicle_model': string;
131
- 'vehicle_year': string | number;
132
- 'accident_location': string;
133
- 'accident_happened_at': string;
134
- 'accident_description': string;
135
- 'repairer_name': string;
136
- 'repairer_phone': string;
137
- 'repairer_email': string;
149
+ 'claim_type': 'glass';
150
+ 'vehicle_registration'?: string;
151
+ 'vehicle_vin'?: string;
152
+ 'vehicle_make'?: string;
153
+ 'vehicle_model'?: string;
154
+ 'vehicle_year'?: string | number;
155
+ 'accident_location'?: string;
156
+ 'accident_happened_at'?: string;
157
+ 'accident_description'?: string;
158
+ 'repairer_name'?: string;
159
+ 'repairer_phone'?: string;
160
+ 'repairer_email'?: string;
138
161
  }
139
162
  export interface TheftClaimRequest extends ClaimRequest {
140
- 'is_registered_under_same_name': boolean;
141
- 'registered_name': string;
142
- 'registered_address': string;
143
- 'registered_phone': string;
144
- 'is_leased': boolean;
145
- 'lease_name': string;
146
- 'lease_address': string;
147
- 'lease_phone': string;
148
- 'lease_number': string;
149
- 'lease_payment_amount': string | number;
150
- 'lease_payment_frequency': Frequency;
151
- 'has_conviction': boolean;
152
- 'conviction_details': string;
153
- 'has_recent_claim': boolean;
154
- 'incident_details': Incident[];
155
- 'was_disqualified': boolean;
156
- 'disqualified_details': string;
157
- 'was_vehicle_used_without_consent': boolean;
158
- 'vehicle_used_without_consent_details': string;
159
- 'has_existing_vehicle_damage': boolean;
160
- 'existing_vehicle_damage_details': string;
161
- 'was_refused_insurance': boolean;
162
- 'refused_insurance_details': string;
163
- 'has_additional_information': boolean;
164
- 'additional_information_details': string;
165
- 'vehicle_registration': string;
166
- 'vehicle_vin': string;
167
- 'vehicle_make': string;
168
- 'vehicle_model': string;
169
- 'vehicle_year': string | number;
170
- 'vehicle_type': VehicleType;
171
- 'finance_company': string;
172
- 'finance_phone': string;
173
- 'vehicle_purchased_on': string;
174
- 'vehicle_purchased_from': string;
175
- 'vehicle_purchased_price': string | number;
176
- 'vehicle_value': number;
177
- 'was_vehicle_for_sale': boolean;
178
- 'vehicle_first_asking_price': string | number;
179
- 'vehicle_last_asking_price': string | number;
180
- 'vehicle_sale_duration': string;
181
- 'vehicle_purchaser_name': string;
182
- 'vehicle_purchaser_address': string;
183
- 'vehicle_purchaser_phone': string;
184
- 'vehicle_hp_cc_rating': string;
185
- 'vehicle_transmission': string;
186
- 'vehicle_engine_number': string;
187
- 'vehicle_has_air_conditioning': boolean;
188
- 'vehicle_has_cng': boolean;
189
- 'vehicle_has_lpg': boolean;
190
- 'vehicle_colour': string;
191
- 'vehicle_colour_changes': string;
192
- 'was_vehicle_repaired': boolean;
193
- 'vehicle_repaired_damage_details': string;
194
- 'vehicle_repairer': string;
195
- 'vehicle_repaired_on': string;
196
- 'was_vehicle_damaged': boolean;
197
- 'vehicle_damage_details': string;
198
- 'vehicle_tyre_condition_front_right': Condition;
199
- 'vehicle_tyre_condition_front_left': Condition;
200
- 'vehicle_tyre_condition_rear_right': Condition;
201
- 'vehicle_tyre_condition_rear_left': Condition;
202
- 'vehicle_tyre_condition_spare': string;
203
- 'wheel_assembly_details': string;
204
- 'vehicle_radio_type': string;
205
- 'vehicle_radio_make': string;
206
- 'vehicle_radio_location': string;
207
- 'vehicle_radio_fixing': string;
208
- 'vehicle_speaker_make': string;
209
- 'has_additional_accessories': boolean;
210
- 'accessory_details': Accessory[];
211
- 'has_identifiable_contents': boolean;
212
- 'identifiable_contents_details': Contents[];
213
- 'vehicle_serviced_by': string;
214
- 'has_service_invoices': boolean;
215
- 'vehicle_wof_issued_by': string;
216
- 'vehicle_wof_issued_on': string;
217
- 'vehicle_wof_expires_on': string;
218
- 'vehicle_floor_type': string;
219
- 'vehicle_interior_details': string;
220
- 'vehicle_seatbelt_type': string;
221
- 'vehicle_seatbelt_condition': Condition;
222
- 'vehicle_engine_condition': Condition;
223
- 'vehicle_gearbox_condition': Condition;
224
- 'vehicle_transmission_condition': Condition;
225
- 'vehicle_suspension_condition': Condition;
226
- 'vehicle_steering_condition': Condition;
227
- 'vehicle_seats_condition': Condition;
228
- 'vehicle_trims_condition': Condition;
229
- 'vehicle_body_condition': Condition;
230
- 'vehicle_paint_condition': Condition;
231
- 'vehicle_dashboard_condition': Condition;
232
- 'did_engine_use_oil': boolean;
233
- 'vehicle_engine_oil_per_month': string;
234
- 'vehicle_ran_well': boolean;
235
- 'vehicle_ran_poorly_details': string;
236
- 'theft_details': string;
237
- 'theft_happened_on': string;
238
- 'theft_discovered_at': string;
239
- 'last_seen_at': string;
240
- 'vehicle_last_used_by': string;
241
- 'address_stolen_from': string;
242
- 'were_windows_up': boolean;
243
- 'windows_down_details': string;
244
- 'were_doors_locked': boolean;
245
- 'doors_unlocked_details': string;
246
- 'has_theft_evidence': boolean;
247
- 'theft_evidence_details': string;
248
- 'has_steering_lock': boolean;
249
- 'was_steering_lock_activated': boolean;
250
- 'has_alarm': boolean;
251
- 'was_alarm_active': boolean;
252
- 'alarm_inactive_details': string;
253
- 'was_boot_locked': boolean;
254
- 'boot_unlocked_details': string;
255
- 'keys_count': string;
256
- 'key_holder_name': string;
257
- 'key_holder_phone': string;
258
- 'key_holder_address': string;
259
- 'keys_location': string;
260
- 'policyholder_whereabouts_details': string;
261
- 'were_police_notified': boolean;
262
- 'did_police_attend': boolean;
263
- 'police_officer_name': string;
264
- 'police_officer_email': string;
265
- 'police_reference': string;
266
- 'police_station_address': string;
267
- 'police_not_notified_details': string;
268
- 'police_have_suspect': boolean;
269
- 'police_suspect_details': string;
270
- 'policyholder_has_suspect': boolean;
271
- 'policyholder_suspect_details': string;
272
- 'was_theft_witnessed': boolean;
273
- 'theft_witnessed_details': string;
274
- 'has_cctv_footage': boolean;
275
- 'cctv_footage_details': string;
276
- 'is_claiming_contents': boolean;
277
- 'is_contents_insured_elsewhere': boolean;
278
- 'contents_details': ClaimItem[];
163
+ 'claim_type': 'theft';
164
+ 'is_registered_under_same_name'?: boolean;
165
+ 'registered_name'?: string;
166
+ 'registered_address'?: string;
167
+ 'registered_phone'?: string;
168
+ 'is_leased'?: boolean;
169
+ 'lease_name'?: string;
170
+ 'lease_address'?: string;
171
+ 'lease_phone'?: string;
172
+ 'lease_number'?: string;
173
+ 'lease_payment_amount'?: string | number;
174
+ 'lease_payment_frequency'?: Frequency;
175
+ 'has_conviction'?: boolean;
176
+ 'conviction_details'?: string;
177
+ 'has_recent_claim'?: boolean;
178
+ 'incident_details'?: Incident[];
179
+ 'was_disqualified'?: boolean;
180
+ 'disqualified_details'?: string;
181
+ 'was_vehicle_used_without_consent'?: boolean;
182
+ 'vehicle_used_without_consent_details'?: string;
183
+ 'has_existing_vehicle_damage'?: boolean;
184
+ 'existing_vehicle_damage_details'?: string;
185
+ 'was_refused_insurance'?: boolean;
186
+ 'refused_insurance_details'?: string;
187
+ 'has_additional_information'?: boolean;
188
+ 'additional_information_details'?: string;
189
+ 'vehicle_registration'?: string;
190
+ 'vehicle_vin'?: string;
191
+ 'vehicle_make'?: string;
192
+ 'vehicle_model'?: string;
193
+ 'vehicle_year'?: string | number;
194
+ 'vehicle_type'?: VehicleType;
195
+ 'finance_company'?: string;
196
+ 'finance_phone'?: string;
197
+ 'vehicle_purchased_on'?: string;
198
+ 'vehicle_purchased_from'?: string;
199
+ 'vehicle_purchased_price'?: string | number;
200
+ 'vehicle_value'?: number;
201
+ 'was_vehicle_for_sale'?: boolean;
202
+ 'vehicle_first_asking_price'?: string | number;
203
+ 'vehicle_last_asking_price'?: string | number;
204
+ 'vehicle_sale_duration'?: string;
205
+ 'vehicle_purchaser_name'?: string;
206
+ 'vehicle_purchaser_address'?: string;
207
+ 'vehicle_purchaser_phone'?: string;
208
+ 'vehicle_hp_cc_rating'?: string;
209
+ 'vehicle_transmission'?: string;
210
+ 'vehicle_engine_number'?: string;
211
+ 'vehicle_has_air_conditioning'?: boolean;
212
+ 'vehicle_has_cng'?: boolean;
213
+ 'vehicle_has_lpg'?: boolean;
214
+ 'vehicle_colour'?: string;
215
+ 'vehicle_colour_changes'?: string;
216
+ 'was_vehicle_repaired'?: boolean;
217
+ 'vehicle_repaired_damage_details'?: string;
218
+ 'vehicle_repairer'?: string;
219
+ 'vehicle_repaired_on'?: string;
220
+ 'was_vehicle_damaged'?: boolean;
221
+ 'vehicle_damage_details'?: string;
222
+ 'vehicle_tyre_condition_front_right'?: Condition;
223
+ 'vehicle_tyre_condition_front_left'?: Condition;
224
+ 'vehicle_tyre_condition_rear_right'?: Condition;
225
+ 'vehicle_tyre_condition_rear_left'?: Condition;
226
+ 'vehicle_tyre_condition_spare'?: string;
227
+ 'wheel_assembly_details'?: string;
228
+ 'vehicle_radio_type'?: string;
229
+ 'vehicle_radio_make'?: string;
230
+ 'vehicle_radio_location'?: string;
231
+ 'vehicle_radio_fixing'?: string;
232
+ 'vehicle_speaker_make'?: string;
233
+ 'has_additional_accessories'?: boolean;
234
+ 'accessory_details'?: Accessory[];
235
+ 'has_identifiable_contents'?: boolean;
236
+ 'identifiable_contents_details'?: Contents[];
237
+ 'vehicle_serviced_by'?: string;
238
+ 'has_service_invoices'?: boolean;
239
+ 'vehicle_wof_issued_by'?: string;
240
+ 'vehicle_wof_issued_on'?: string;
241
+ 'vehicle_wof_expires_on'?: string;
242
+ 'vehicle_floor_type'?: string;
243
+ 'vehicle_interior_details'?: string;
244
+ 'vehicle_seatbelt_type'?: string;
245
+ 'vehicle_seatbelt_condition'?: Condition;
246
+ 'vehicle_engine_condition'?: Condition;
247
+ 'vehicle_gearbox_condition'?: Condition;
248
+ 'vehicle_transmission_condition'?: Condition;
249
+ 'vehicle_suspension_condition'?: Condition;
250
+ 'vehicle_steering_condition'?: Condition;
251
+ 'vehicle_seats_condition'?: Condition;
252
+ 'vehicle_trims_condition'?: Condition;
253
+ 'vehicle_body_condition'?: Condition;
254
+ 'vehicle_paint_condition'?: Condition;
255
+ 'vehicle_dashboard_condition'?: Condition;
256
+ 'did_engine_use_oil'?: boolean;
257
+ 'vehicle_engine_oil_per_month'?: string;
258
+ 'vehicle_ran_well'?: boolean;
259
+ 'vehicle_ran_poorly_details'?: string;
260
+ 'theft_details'?: string;
261
+ 'theft_happened_on'?: string;
262
+ 'theft_discovered_at'?: string;
263
+ 'last_seen_at'?: string;
264
+ 'vehicle_last_used_by'?: string;
265
+ 'address_stolen_from'?: string;
266
+ 'were_windows_up'?: boolean;
267
+ 'windows_down_details'?: string;
268
+ 'were_doors_locked'?: boolean;
269
+ 'doors_unlocked_details'?: string;
270
+ 'has_theft_evidence'?: boolean;
271
+ 'theft_evidence_details'?: string;
272
+ 'has_steering_lock'?: boolean;
273
+ 'was_steering_lock_activated'?: boolean;
274
+ 'has_alarm'?: boolean;
275
+ 'was_alarm_active'?: boolean;
276
+ 'alarm_inactive_details'?: string;
277
+ 'was_boot_locked'?: boolean;
278
+ 'boot_unlocked_details'?: string;
279
+ 'keys_count'?: string;
280
+ 'key_holder_name'?: string;
281
+ 'key_holder_phone'?: string;
282
+ 'key_holder_address'?: string;
283
+ 'keys_location'?: string;
284
+ 'policyholder_whereabouts_details'?: string;
285
+ 'were_police_notified'?: boolean;
286
+ 'did_police_attend'?: boolean;
287
+ 'police_officer_name'?: string;
288
+ 'police_officer_email'?: string;
289
+ 'police_reference'?: string;
290
+ 'police_station_address'?: string;
291
+ 'police_not_notified_details'?: string;
292
+ 'police_have_suspect'?: boolean;
293
+ 'police_suspect_details'?: string;
294
+ 'policyholder_has_suspect'?: boolean;
295
+ 'policyholder_suspect_details'?: string;
296
+ 'was_theft_witnessed'?: boolean;
297
+ 'theft_witnessed_details'?: string;
298
+ 'has_cctv_footage'?: boolean;
299
+ 'cctv_footage_details'?: string;
300
+ 'is_claiming_contents'?: boolean;
301
+ 'is_contents_insured_elsewhere'?: boolean;
302
+ 'contents_details'?: ClaimItem[];
279
303
  }
280
304
  export interface Accessory {
281
305
  'description': string;
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@star-insure/sdk",
3
3
  "description": "The SDK for Star Insure client apps with shared helper functions and TypeScript definitions.",
4
4
  "author": "alexclark_nz",
5
- "version": "1.1.25",
5
+ "version": "1.1.27",
6
6
  "license": "MIT",
7
7
  "repository": {
8
8
  "type": "git",
@@ -3,104 +3,126 @@ import { Condition, Frequency, VehicleType } from "../../api";
3
3
  export type ClaimRequestStatus = 'new' | 'draft' | 'in-progress' | 'exported';
4
4
 
5
5
  export interface ClaimRequest {
6
- id: string;
7
- reference: string;
8
- 'status': ClaimRequestStatus;
9
- 'submitted_at': string;
10
- 'reminder_sent_at': string;
11
- 'claim_number': string;
12
- 'policyholder': string;
13
- 'policy_number': string;
14
- 'policy_cover_number': string;
15
- 'policy_version_number': string;
16
- 'policy_contact_name': string;
17
- 'mobile': string;
18
- 'email': string;
19
- 'alternative_contact': string;
20
- 'broker_firm': string;
21
- 'broker_name': string;
22
- 'address': string;
23
- 'terms_accepted_by': string;
6
+ 'id': string;
7
+ 'reference'?: string;
8
+ 'status'?: ClaimRequestStatus;
9
+ 'submitted_at'?: string;
10
+ 'reminder_sent_at'?: string;
11
+ 'claim_number'?: string;
12
+ 'policyholder'?: string;
13
+ 'policy_number'?: string;
14
+ 'policy_cover_number'?: string;
15
+ 'policy_version_number'?: string;
16
+ 'policy_contact_name'?: string;
17
+ 'mobile'?: string;
18
+ 'email'?: string;
19
+ 'alternative_contact'?: string;
20
+ 'broker_firm'?: string;
21
+ 'broker_name'?: string;
22
+ 'address'?: string;
23
+ 'terms_accepted_by'?: string;
24
+ 'loss_estimate'?: number;
25
+ 'excess'?: number;
26
+ 'excess_status'?: string;
27
+ 'sum_insured'?: number;
28
+ 'cover_type'?: string;
29
+ 'reserve_expense'?: number;
30
+ 'fault_flag'?: string;
31
+ 'category'?: string;
32
+ 'substatus'?: string;
33
+ 'severity_code'?: string;
34
+ 'action'?: string;
35
+ 'vehicle_type_code'?: string;
36
+ 'vehicle_make_code'?: string;
37
+ 'eglobal_user_id'?: string;
38
+ 'client_comments'?: string;
39
+ 'insurer_comments'?: string;
40
+ 'status_line'?: string;
41
+ 'claim_summary'?: string;
42
+ 'driver_gender'?: string;
43
+ 'is_assessor_required'?: boolean;
44
+ 'acceptance_code'?: string;
24
45
  }
25
46
 
26
47
  export interface DamageClaimRequest extends ClaimRequest {
27
- 'vehicle_registration': string;
28
- 'vehicle_vin': string;
29
- 'vehicle_make': string;
30
- 'vehicle_model': string;
31
- 'vehicle_year': string|number;
32
- 'vehicle_type': VehicleType;
33
- 'finance_company': string;
34
- 'finance_phone': string;
35
- 'driver_name': string;
36
- 'driver_dob': string;
37
- 'driver_relationship': string;
38
- 'driver_licence_number': string;
39
- 'driver_licence_version': string;
40
- 'driver_licence_issuer': string;
41
- 'was_intoxicated': boolean;
42
- 'intoxicated_details': string;
43
- 'has_conviction': boolean;
44
- 'conviction_details': string;
45
- 'has_recent_claim': boolean;
46
- 'incident_details': Incident[];
47
- 'was_disqualified': boolean;
48
- 'disqualified_details': string;
49
- 'was_vehicle_used_without_consent': boolean;
50
- 'vehicle_used_without_consent_details': string;
51
- 'has_existing_vehicle_damage': boolean;
52
- 'existing_vehicle_damage_details': string;
53
- 'was_refused_insurance': boolean;
54
- 'refused_insurance_details': string;
55
- 'has_additional_information': boolean;
56
- 'additional_information_details': string;
57
- 'accident_location': string;
58
- 'accident_suburb': string;
59
- 'accident_happened_at': string;
60
- 'accident_speed': string;
61
- 'impact_speed': string;
62
- 'road_surface': string;
63
- 'weather_conditions': string;
64
- 'had_passengers': boolean;
65
- 'passenger_details': Passenger[];
66
- 'has_witnesses': boolean;
67
- 'witness_details': Witness[];
68
- 'accident_description': string;
69
- 'is_vehicle_drivable': boolean;
70
- 'vehicle_drivable_details': string;
71
- 'was_warning_given': boolean;
72
- 'warning_given_details': string;
73
- 'was_third_party_responsible': boolean;
74
- 'third_party_responsible_details': string;
75
- 'was_third_party_involved': boolean;
76
- 'third_party_vehicle_registration': string;
77
- 'third_party_vehicle_owner': string;
78
- 'third_party_vehicle_make': string;
79
- 'third_party_vehicle_model': string;
80
- 'third_party_vehicle_driver_name': string;
81
- 'third_party_vehicle_driver_mobile': string;
82
- 'third_party_vehicle_driver_phone': string;
83
- 'third_party_vehicle_driver_address': string;
84
- 'third_party_vehicle_insurance_company': string;
85
- 'third_party_vehicle_damage': string;
86
- 'third_party_details_provided': string;
87
- 'were_police_notified': boolean;
88
- 'did_police_attend': boolean;
89
- 'police_officer_name': string;
90
- 'police_officer_email': string;
91
- 'police_reference': string;
92
- 'police_station_address': string;
93
- 'police_did_test': boolean;
94
- 'police_issued_notice': boolean;
95
- 'repairer_name': string;
96
- 'repairer_phone': string;
97
- 'repairer_email': string;
98
- 'is_claiming_protective_gear': boolean;
99
- 'is_protective_gear_insured_elsewhere': boolean;
100
- 'protective_gear_details': ClaimItem[];
101
- 'is_claiming_contents': boolean;
102
- 'is_contents_insured_elsewhere': boolean;
103
- 'contents_details': ClaimItem[];
48
+ 'claim_type': 'damage';
49
+ 'vehicle_registration'?: string;
50
+ 'vehicle_vin'?: string;
51
+ 'vehicle_make'?: string;
52
+ 'vehicle_model'?: string;
53
+ 'vehicle_year'?: string|number;
54
+ 'vehicle_type'?: VehicleType;
55
+ 'finance_company'?: string;
56
+ 'finance_phone'?: string;
57
+ 'driver_name'?: string;
58
+ 'driver_dob'?: string;
59
+ 'driver_relationship'?: string;
60
+ 'driver_licence_number'?: string;
61
+ 'driver_licence_version'?: string;
62
+ 'driver_licence_issuer'?: string;
63
+ 'was_intoxicated'?: boolean;
64
+ 'intoxicated_details'?: string;
65
+ 'has_conviction'?: boolean;
66
+ 'conviction_details'?: string;
67
+ 'has_recent_claim'?: boolean;
68
+ 'incident_details'?: Incident[];
69
+ 'was_disqualified'?: boolean;
70
+ 'disqualified_details'?: string;
71
+ 'was_vehicle_used_without_consent'?: boolean;
72
+ 'vehicle_used_without_consent_details'?: string;
73
+ 'has_existing_vehicle_damage'?: boolean;
74
+ 'existing_vehicle_damage_details'?: string;
75
+ 'was_refused_insurance'?: boolean;
76
+ 'refused_insurance_details'?: string;
77
+ 'has_additional_information'?: boolean;
78
+ 'additional_information_details'?: string;
79
+ 'accident_location'?: string;
80
+ 'accident_suburb'?: string;
81
+ 'accident_happened_at'?: string;
82
+ 'accident_speed'?: string;
83
+ 'impact_speed'?: string;
84
+ 'road_surface'?: string;
85
+ 'weather_conditions'?: string;
86
+ 'had_passengers'?: boolean;
87
+ 'passenger_details'?: Passenger[];
88
+ 'has_witnesses'?: boolean;
89
+ 'witness_details'?: Witness[];
90
+ 'accident_description'?: string;
91
+ 'is_vehicle_drivable'?: boolean;
92
+ 'vehicle_drivable_details'?: string;
93
+ 'was_warning_given'?: boolean;
94
+ 'warning_given_details'?: string;
95
+ 'was_third_party_responsible'?: boolean;
96
+ 'third_party_responsible_details'?: string;
97
+ 'was_third_party_involved'?: boolean;
98
+ 'third_party_vehicle_registration'?: string;
99
+ 'third_party_vehicle_owner'?: string;
100
+ 'third_party_vehicle_make'?: string;
101
+ 'third_party_vehicle_model'?: string;
102
+ 'third_party_vehicle_driver_name'?: string;
103
+ 'third_party_vehicle_driver_mobile'?: string;
104
+ 'third_party_vehicle_driver_phone'?: string;
105
+ 'third_party_vehicle_driver_address'?: string;
106
+ 'third_party_vehicle_insurance_company'?: string;
107
+ 'third_party_vehicle_damage'?: string;
108
+ 'third_party_details_provided'?: string;
109
+ 'were_police_notified'?: boolean;
110
+ 'did_police_attend'?: boolean;
111
+ 'police_officer_name'?: string;
112
+ 'police_officer_email'?: string;
113
+ 'police_reference'?: string;
114
+ 'police_station_address'?: string;
115
+ 'police_did_test'?: boolean;
116
+ 'police_issued_notice'?: boolean;
117
+ 'repairer_name'?: string;
118
+ 'repairer_phone'?: string;
119
+ 'repairer_email'?: string;
120
+ 'is_claiming_protective_gear'?: boolean;
121
+ 'is_protective_gear_insured_elsewhere'?: boolean;
122
+ 'protective_gear_details'?: ClaimItem[];
123
+ 'is_claiming_contents'?: boolean;
124
+ 'is_contents_insured_elsewhere'?: boolean;
125
+ 'contents_details'?: ClaimItem[];
104
126
  }
105
127
 
106
128
  export interface Incident {
@@ -132,166 +154,168 @@ export interface ClaimItem {
132
154
  }
133
155
 
134
156
  export interface GlassClaimRequest extends ClaimRequest {
135
- 'vehicle_registration': string;
136
- 'vehicle_vin': string;
137
- 'vehicle_make': string;
138
- 'vehicle_model': string;
139
- 'vehicle_year': string|number;
140
- 'accident_location': string;
141
- 'accident_happened_at': string;
142
- 'accident_description': string;
143
- 'repairer_name': string;
144
- 'repairer_phone': string;
145
- 'repairer_email': string;
157
+ 'claim_type': 'glass';
158
+ 'vehicle_registration'?: string;
159
+ 'vehicle_vin'?: string;
160
+ 'vehicle_make'?: string;
161
+ 'vehicle_model'?: string;
162
+ 'vehicle_year'?: string|number;
163
+ 'accident_location'?: string;
164
+ 'accident_happened_at'?: string;
165
+ 'accident_description'?: string;
166
+ 'repairer_name'?: string;
167
+ 'repairer_phone'?: string;
168
+ 'repairer_email'?: string;
146
169
  }
147
170
 
148
171
  export interface TheftClaimRequest extends ClaimRequest {
172
+ 'claim_type': 'theft';
149
173
  // Registered owner details
150
- 'is_registered_under_same_name': boolean;
151
- 'registered_name': string;
152
- 'registered_address': string;
153
- 'registered_phone': string;
174
+ 'is_registered_under_same_name'?: boolean;
175
+ 'registered_name'?: string;
176
+ 'registered_address'?: string;
177
+ 'registered_phone'?: string;
154
178
  // Lease/hire-purchase details
155
- 'is_leased': boolean;
156
- 'lease_name': string;
157
- 'lease_address': string;
158
- 'lease_phone': string;
159
- 'lease_number': string;
160
- 'lease_payment_amount': string|number;
161
- 'lease_payment_frequency': Frequency;
179
+ 'is_leased'?: boolean;
180
+ 'lease_name'?: string;
181
+ 'lease_address'?: string;
182
+ 'lease_phone'?: string;
183
+ 'lease_number'?: string;
184
+ 'lease_payment_amount'?: string|number;
185
+ 'lease_payment_frequency'?: Frequency;
162
186
  // Declaration details
163
- 'has_conviction': boolean;
164
- 'conviction_details': string;
165
- 'has_recent_claim': boolean;
166
- 'incident_details': Incident[];
167
- 'was_disqualified': boolean;
168
- 'disqualified_details': string;
169
- 'was_vehicle_used_without_consent': boolean;
170
- 'vehicle_used_without_consent_details': string;
171
- 'has_existing_vehicle_damage': boolean;
172
- 'existing_vehicle_damage_details': string;
173
- 'was_refused_insurance': boolean;
174
- 'refused_insurance_details': string;
175
- 'has_additional_information': boolean;
176
- 'additional_information_details': string;
187
+ 'has_conviction'?: boolean;
188
+ 'conviction_details'?: string;
189
+ 'has_recent_claim'?: boolean;
190
+ 'incident_details'?: Incident[];
191
+ 'was_disqualified'?: boolean;
192
+ 'disqualified_details'?: string;
193
+ 'was_vehicle_used_without_consent'?: boolean;
194
+ 'vehicle_used_without_consent_details'?: string;
195
+ 'has_existing_vehicle_damage'?: boolean;
196
+ 'existing_vehicle_damage_details'?: string;
197
+ 'was_refused_insurance'?: boolean;
198
+ 'refused_insurance_details'?: string;
199
+ 'has_additional_information'?: boolean;
200
+ 'additional_information_details'?: string;
177
201
  // Vehicle details
178
- 'vehicle_registration': string;
179
- 'vehicle_vin': string;
180
- 'vehicle_make': string;
181
- 'vehicle_model': string;
182
- 'vehicle_year': string|number;
183
- 'vehicle_type': VehicleType;
184
- 'finance_company': string;
185
- 'finance_phone': string;
186
- 'vehicle_purchased_on': string;
187
- 'vehicle_purchased_from': string;
188
- 'vehicle_purchased_price': string|number;
189
- 'vehicle_value': number;
190
- 'was_vehicle_for_sale': boolean;
191
- 'vehicle_first_asking_price': string|number;
192
- 'vehicle_last_asking_price': string|number;
193
- 'vehicle_sale_duration': string;
194
- 'vehicle_purchaser_name': string;
195
- 'vehicle_purchaser_address': string;
196
- 'vehicle_purchaser_phone': string;
197
- 'vehicle_hp_cc_rating': string;
198
- 'vehicle_transmission': string;
199
- 'vehicle_engine_number': string;
200
- 'vehicle_has_air_conditioning': boolean;
201
- 'vehicle_has_cng': boolean;
202
- 'vehicle_has_lpg': boolean;
203
- 'vehicle_colour': string;
204
- 'vehicle_colour_changes': string;
205
- 'was_vehicle_repaired': boolean;
206
- 'vehicle_repaired_damage_details': string;
207
- 'vehicle_repairer': string;
208
- 'vehicle_repaired_on': string;
209
- 'was_vehicle_damaged': boolean;
210
- 'vehicle_damage_details': string;
211
- 'vehicle_tyre_condition_front_right': Condition;
212
- 'vehicle_tyre_condition_front_left': Condition;
213
- 'vehicle_tyre_condition_rear_right': Condition;
214
- 'vehicle_tyre_condition_rear_left': Condition;
215
- 'vehicle_tyre_condition_spare': string;
216
- 'wheel_assembly_details': string;
217
- 'vehicle_radio_type': string;
218
- 'vehicle_radio_make': string;
219
- 'vehicle_radio_location': string;
220
- 'vehicle_radio_fixing': string;
221
- 'vehicle_speaker_make': string;
222
- 'has_additional_accessories': boolean;
223
- 'accessory_details': Accessory[];
224
- 'has_identifiable_contents': boolean;
225
- 'identifiable_contents_details': Contents[];
226
- 'vehicle_serviced_by': string;
227
- 'has_service_invoices': boolean;
228
- 'vehicle_wof_issued_by': string;
229
- 'vehicle_wof_issued_on': string;
230
- 'vehicle_wof_expires_on': string;
231
- 'vehicle_floor_type': string;
232
- 'vehicle_interior_details': string;
233
- 'vehicle_seatbelt_type': string;
234
- 'vehicle_seatbelt_condition': Condition;
235
- 'vehicle_engine_condition': Condition;
236
- 'vehicle_gearbox_condition': Condition;
237
- 'vehicle_transmission_condition': Condition;
238
- 'vehicle_suspension_condition': Condition;
239
- 'vehicle_steering_condition': Condition;
240
- 'vehicle_seats_condition': Condition;
241
- 'vehicle_trims_condition': Condition;
242
- 'vehicle_body_condition': Condition;
243
- 'vehicle_paint_condition': Condition;
244
- 'vehicle_dashboard_condition': Condition;
245
- 'did_engine_use_oil': boolean;
246
- 'vehicle_engine_oil_per_month': string;
247
- 'vehicle_ran_well': boolean;
248
- 'vehicle_ran_poorly_details': string;
202
+ 'vehicle_registration'?: string;
203
+ 'vehicle_vin'?: string;
204
+ 'vehicle_make'?: string;
205
+ 'vehicle_model'?: string;
206
+ 'vehicle_year'?: string|number;
207
+ 'vehicle_type'?: VehicleType;
208
+ 'finance_company'?: string;
209
+ 'finance_phone'?: string;
210
+ 'vehicle_purchased_on'?: string;
211
+ 'vehicle_purchased_from'?: string;
212
+ 'vehicle_purchased_price'?: string|number;
213
+ 'vehicle_value'?: number;
214
+ 'was_vehicle_for_sale'?: boolean;
215
+ 'vehicle_first_asking_price'?: string|number;
216
+ 'vehicle_last_asking_price'?: string|number;
217
+ 'vehicle_sale_duration'?: string;
218
+ 'vehicle_purchaser_name'?: string;
219
+ 'vehicle_purchaser_address'?: string;
220
+ 'vehicle_purchaser_phone'?: string;
221
+ 'vehicle_hp_cc_rating'?: string;
222
+ 'vehicle_transmission'?: string;
223
+ 'vehicle_engine_number'?: string;
224
+ 'vehicle_has_air_conditioning'?: boolean;
225
+ 'vehicle_has_cng'?: boolean;
226
+ 'vehicle_has_lpg'?: boolean;
227
+ 'vehicle_colour'?: string;
228
+ 'vehicle_colour_changes'?: string;
229
+ 'was_vehicle_repaired'?: boolean;
230
+ 'vehicle_repaired_damage_details'?: string;
231
+ 'vehicle_repairer'?: string;
232
+ 'vehicle_repaired_on'?: string;
233
+ 'was_vehicle_damaged'?: boolean;
234
+ 'vehicle_damage_details'?: string;
235
+ 'vehicle_tyre_condition_front_right'?: Condition;
236
+ 'vehicle_tyre_condition_front_left'?: Condition;
237
+ 'vehicle_tyre_condition_rear_right'?: Condition;
238
+ 'vehicle_tyre_condition_rear_left'?: Condition;
239
+ 'vehicle_tyre_condition_spare'?: string;
240
+ 'wheel_assembly_details'?: string;
241
+ 'vehicle_radio_type'?: string;
242
+ 'vehicle_radio_make'?: string;
243
+ 'vehicle_radio_location'?: string;
244
+ 'vehicle_radio_fixing'?: string;
245
+ 'vehicle_speaker_make'?: string;
246
+ 'has_additional_accessories'?: boolean;
247
+ 'accessory_details'?: Accessory[];
248
+ 'has_identifiable_contents'?: boolean;
249
+ 'identifiable_contents_details'?: Contents[];
250
+ 'vehicle_serviced_by'?: string;
251
+ 'has_service_invoices'?: boolean;
252
+ 'vehicle_wof_issued_by'?: string;
253
+ 'vehicle_wof_issued_on'?: string;
254
+ 'vehicle_wof_expires_on'?: string;
255
+ 'vehicle_floor_type'?: string;
256
+ 'vehicle_interior_details'?: string;
257
+ 'vehicle_seatbelt_type'?: string;
258
+ 'vehicle_seatbelt_condition'?: Condition;
259
+ 'vehicle_engine_condition'?: Condition;
260
+ 'vehicle_gearbox_condition'?: Condition;
261
+ 'vehicle_transmission_condition'?: Condition;
262
+ 'vehicle_suspension_condition'?: Condition;
263
+ 'vehicle_steering_condition'?: Condition;
264
+ 'vehicle_seats_condition'?: Condition;
265
+ 'vehicle_trims_condition'?: Condition;
266
+ 'vehicle_body_condition'?: Condition;
267
+ 'vehicle_paint_condition'?: Condition;
268
+ 'vehicle_dashboard_condition'?: Condition;
269
+ 'did_engine_use_oil'?: boolean;
270
+ 'vehicle_engine_oil_per_month'?: string;
271
+ 'vehicle_ran_well'?: boolean;
272
+ 'vehicle_ran_poorly_details'?: string;
249
273
  // Theft details
250
- 'theft_details': string;
251
- 'theft_happened_on': string;
252
- 'theft_discovered_at': string;
253
- 'last_seen_at': string;
254
- 'vehicle_last_used_by': string;
255
- 'address_stolen_from': string;
256
- 'were_windows_up': boolean;
257
- 'windows_down_details': string;
258
- 'were_doors_locked': boolean;
259
- 'doors_unlocked_details': string;
260
- 'has_theft_evidence': boolean;
261
- 'theft_evidence_details': string;
262
- 'has_steering_lock': boolean;
263
- 'was_steering_lock_activated': boolean;
264
- 'has_alarm': boolean;
265
- 'was_alarm_active': boolean;
266
- 'alarm_inactive_details': string;
267
- 'was_boot_locked': boolean;
268
- 'boot_unlocked_details': string;
269
- 'keys_count': string;
270
- 'key_holder_name': string;
271
- 'key_holder_phone': string;
272
- 'key_holder_address': string;
273
- 'keys_location': string;
274
- 'policyholder_whereabouts_details': string;
274
+ 'theft_details'?: string;
275
+ 'theft_happened_on'?: string;
276
+ 'theft_discovered_at'?: string;
277
+ 'last_seen_at'?: string;
278
+ 'vehicle_last_used_by'?: string;
279
+ 'address_stolen_from'?: string;
280
+ 'were_windows_up'?: boolean;
281
+ 'windows_down_details'?: string;
282
+ 'were_doors_locked'?: boolean;
283
+ 'doors_unlocked_details'?: string;
284
+ 'has_theft_evidence'?: boolean;
285
+ 'theft_evidence_details'?: string;
286
+ 'has_steering_lock'?: boolean;
287
+ 'was_steering_lock_activated'?: boolean;
288
+ 'has_alarm'?: boolean;
289
+ 'was_alarm_active'?: boolean;
290
+ 'alarm_inactive_details'?: string;
291
+ 'was_boot_locked'?: boolean;
292
+ 'boot_unlocked_details'?: string;
293
+ 'keys_count'?: string;
294
+ 'key_holder_name'?: string;
295
+ 'key_holder_phone'?: string;
296
+ 'key_holder_address'?: string;
297
+ 'keys_location'?: string;
298
+ 'policyholder_whereabouts_details'?: string;
275
299
  // Police details
276
- 'were_police_notified': boolean;
277
- 'did_police_attend': boolean;
278
- 'police_officer_name': string;
279
- 'police_officer_email': string;
280
- 'police_reference': string;
281
- 'police_station_address': string;
282
- 'police_not_notified_details': string;
283
- 'police_have_suspect': boolean;
284
- 'police_suspect_details': string;
285
- 'policyholder_has_suspect': boolean;
286
- 'policyholder_suspect_details': string;
287
- 'was_theft_witnessed': boolean;
288
- 'theft_witnessed_details': string;
289
- 'has_cctv_footage': boolean;
290
- 'cctv_footage_details': string;
300
+ 'were_police_notified'?: boolean;
301
+ 'did_police_attend'?: boolean;
302
+ 'police_officer_name'?: string;
303
+ 'police_officer_email'?: string;
304
+ 'police_reference'?: string;
305
+ 'police_station_address'?: string;
306
+ 'police_not_notified_details'?: string;
307
+ 'police_have_suspect'?: boolean;
308
+ 'police_suspect_details'?: string;
309
+ 'policyholder_has_suspect'?: boolean;
310
+ 'policyholder_suspect_details'?: string;
311
+ 'was_theft_witnessed'?: boolean;
312
+ 'theft_witnessed_details'?: string;
313
+ 'has_cctv_footage'?: boolean;
314
+ 'cctv_footage_details'?: string;
291
315
  // Contents details
292
- 'is_claiming_contents': boolean;
293
- 'is_contents_insured_elsewhere': boolean;
294
- 'contents_details': ClaimItem[];
316
+ 'is_claiming_contents'?: boolean;
317
+ 'is_contents_insured_elsewhere'?: boolean;
318
+ 'contents_details'?: ClaimItem[];
295
319
  }
296
320
 
297
321
  export interface Accessory {