@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
|
|
6
|
-
'status'
|
|
7
|
-
'submitted_at'
|
|
8
|
-
'reminder_sent_at'
|
|
9
|
-
'claim_number'
|
|
10
|
-
'policyholder'
|
|
11
|
-
'policy_number'
|
|
12
|
-
'policy_cover_number'
|
|
13
|
-
'policy_version_number'
|
|
14
|
-
'policy_contact_name'
|
|
15
|
-
'mobile'
|
|
16
|
-
'email'
|
|
17
|
-
'alternative_contact'
|
|
18
|
-
'broker_firm'
|
|
19
|
-
'broker_name'
|
|
20
|
-
'address'
|
|
21
|
-
'terms_accepted_by'
|
|
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
|
-
'
|
|
25
|
-
'
|
|
26
|
-
'
|
|
27
|
-
'
|
|
28
|
-
'
|
|
29
|
-
'
|
|
30
|
-
'
|
|
31
|
-
'
|
|
32
|
-
'
|
|
33
|
-
'
|
|
34
|
-
'
|
|
35
|
-
'
|
|
36
|
-
'
|
|
37
|
-
'
|
|
38
|
-
'
|
|
39
|
-
'
|
|
40
|
-
'
|
|
41
|
-
'
|
|
42
|
-
'
|
|
43
|
-
'
|
|
44
|
-
'
|
|
45
|
-
'
|
|
46
|
-
'
|
|
47
|
-
'
|
|
48
|
-
'
|
|
49
|
-
'
|
|
50
|
-
'
|
|
51
|
-
'
|
|
52
|
-
'
|
|
53
|
-
'
|
|
54
|
-
'
|
|
55
|
-
'
|
|
56
|
-
'
|
|
57
|
-
'
|
|
58
|
-
'
|
|
59
|
-
'
|
|
60
|
-
'
|
|
61
|
-
'
|
|
62
|
-
'
|
|
63
|
-
'
|
|
64
|
-
'
|
|
65
|
-
'
|
|
66
|
-
'
|
|
67
|
-
'
|
|
68
|
-
'
|
|
69
|
-
'
|
|
70
|
-
'
|
|
71
|
-
'
|
|
72
|
-
'
|
|
73
|
-
'
|
|
74
|
-
'
|
|
75
|
-
'
|
|
76
|
-
'
|
|
77
|
-
'
|
|
78
|
-
'
|
|
79
|
-
'
|
|
80
|
-
'
|
|
81
|
-
'
|
|
82
|
-
'
|
|
83
|
-
'
|
|
84
|
-
'
|
|
85
|
-
'
|
|
86
|
-
'
|
|
87
|
-
'
|
|
88
|
-
'
|
|
89
|
-
'
|
|
90
|
-
'
|
|
91
|
-
'
|
|
92
|
-
'
|
|
93
|
-
'
|
|
94
|
-
'
|
|
95
|
-
'
|
|
96
|
-
'
|
|
97
|
-
'
|
|
98
|
-
'
|
|
99
|
-
'
|
|
100
|
-
'
|
|
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
|
-
'
|
|
128
|
-
'
|
|
129
|
-
'
|
|
130
|
-
'
|
|
131
|
-
'
|
|
132
|
-
'
|
|
133
|
-
'
|
|
134
|
-
'
|
|
135
|
-
'
|
|
136
|
-
'
|
|
137
|
-
'
|
|
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
|
-
'
|
|
141
|
-
'
|
|
142
|
-
'
|
|
143
|
-
'
|
|
144
|
-
'
|
|
145
|
-
'
|
|
146
|
-
'
|
|
147
|
-
'
|
|
148
|
-
'
|
|
149
|
-
'
|
|
150
|
-
'
|
|
151
|
-
'
|
|
152
|
-
'
|
|
153
|
-
'
|
|
154
|
-
'
|
|
155
|
-
'
|
|
156
|
-
'
|
|
157
|
-
'
|
|
158
|
-
'
|
|
159
|
-
'
|
|
160
|
-
'
|
|
161
|
-
'
|
|
162
|
-
'
|
|
163
|
-
'
|
|
164
|
-
'
|
|
165
|
-
'
|
|
166
|
-
'
|
|
167
|
-
'
|
|
168
|
-
'
|
|
169
|
-
'
|
|
170
|
-
'
|
|
171
|
-
'
|
|
172
|
-
'
|
|
173
|
-
'
|
|
174
|
-
'
|
|
175
|
-
'
|
|
176
|
-
'
|
|
177
|
-
'
|
|
178
|
-
'
|
|
179
|
-
'
|
|
180
|
-
'
|
|
181
|
-
'
|
|
182
|
-
'
|
|
183
|
-
'
|
|
184
|
-
'
|
|
185
|
-
'
|
|
186
|
-
'
|
|
187
|
-
'
|
|
188
|
-
'
|
|
189
|
-
'
|
|
190
|
-
'
|
|
191
|
-
'
|
|
192
|
-
'
|
|
193
|
-
'
|
|
194
|
-
'
|
|
195
|
-
'
|
|
196
|
-
'
|
|
197
|
-
'
|
|
198
|
-
'
|
|
199
|
-
'
|
|
200
|
-
'
|
|
201
|
-
'
|
|
202
|
-
'
|
|
203
|
-
'
|
|
204
|
-
'
|
|
205
|
-
'
|
|
206
|
-
'
|
|
207
|
-
'
|
|
208
|
-
'
|
|
209
|
-
'
|
|
210
|
-
'
|
|
211
|
-
'
|
|
212
|
-
'
|
|
213
|
-
'
|
|
214
|
-
'
|
|
215
|
-
'
|
|
216
|
-
'
|
|
217
|
-
'
|
|
218
|
-
'
|
|
219
|
-
'
|
|
220
|
-
'
|
|
221
|
-
'
|
|
222
|
-
'
|
|
223
|
-
'
|
|
224
|
-
'
|
|
225
|
-
'
|
|
226
|
-
'
|
|
227
|
-
'
|
|
228
|
-
'
|
|
229
|
-
'
|
|
230
|
-
'
|
|
231
|
-
'
|
|
232
|
-
'
|
|
233
|
-
'
|
|
234
|
-
'
|
|
235
|
-
'
|
|
236
|
-
'
|
|
237
|
-
'
|
|
238
|
-
'
|
|
239
|
-
'
|
|
240
|
-
'
|
|
241
|
-
'
|
|
242
|
-
'
|
|
243
|
-
'
|
|
244
|
-
'
|
|
245
|
-
'
|
|
246
|
-
'
|
|
247
|
-
'
|
|
248
|
-
'
|
|
249
|
-
'
|
|
250
|
-
'
|
|
251
|
-
'
|
|
252
|
-
'
|
|
253
|
-
'
|
|
254
|
-
'
|
|
255
|
-
'
|
|
256
|
-
'
|
|
257
|
-
'
|
|
258
|
-
'
|
|
259
|
-
'
|
|
260
|
-
'
|
|
261
|
-
'
|
|
262
|
-
'
|
|
263
|
-
'
|
|
264
|
-
'
|
|
265
|
-
'
|
|
266
|
-
'
|
|
267
|
-
'
|
|
268
|
-
'
|
|
269
|
-
'
|
|
270
|
-
'
|
|
271
|
-
'
|
|
272
|
-
'
|
|
273
|
-
'
|
|
274
|
-
'
|
|
275
|
-
'
|
|
276
|
-
'
|
|
277
|
-
'
|
|
278
|
-
'
|
|
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.
|
|
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
|
|
8
|
-
'status'
|
|
9
|
-
'submitted_at'
|
|
10
|
-
'reminder_sent_at'
|
|
11
|
-
'claim_number'
|
|
12
|
-
'policyholder'
|
|
13
|
-
'policy_number'
|
|
14
|
-
'policy_cover_number'
|
|
15
|
-
'policy_version_number'
|
|
16
|
-
'policy_contact_name'
|
|
17
|
-
'mobile'
|
|
18
|
-
'email'
|
|
19
|
-
'alternative_contact'
|
|
20
|
-
'broker_firm'
|
|
21
|
-
'broker_name'
|
|
22
|
-
'address'
|
|
23
|
-
'terms_accepted_by'
|
|
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
|
-
'
|
|
28
|
-
'
|
|
29
|
-
'
|
|
30
|
-
'
|
|
31
|
-
'
|
|
32
|
-
'
|
|
33
|
-
'
|
|
34
|
-
'
|
|
35
|
-
'
|
|
36
|
-
'
|
|
37
|
-
'
|
|
38
|
-
'
|
|
39
|
-
'
|
|
40
|
-
'
|
|
41
|
-
'
|
|
42
|
-
'
|
|
43
|
-
'
|
|
44
|
-
'
|
|
45
|
-
'
|
|
46
|
-
'
|
|
47
|
-
'
|
|
48
|
-
'
|
|
49
|
-
'
|
|
50
|
-
'
|
|
51
|
-
'
|
|
52
|
-
'
|
|
53
|
-
'
|
|
54
|
-
'
|
|
55
|
-
'
|
|
56
|
-
'
|
|
57
|
-
'
|
|
58
|
-
'
|
|
59
|
-
'
|
|
60
|
-
'
|
|
61
|
-
'
|
|
62
|
-
'
|
|
63
|
-
'
|
|
64
|
-
'
|
|
65
|
-
'
|
|
66
|
-
'
|
|
67
|
-
'
|
|
68
|
-
'
|
|
69
|
-
'
|
|
70
|
-
'
|
|
71
|
-
'
|
|
72
|
-
'
|
|
73
|
-
'
|
|
74
|
-
'
|
|
75
|
-
'
|
|
76
|
-
'
|
|
77
|
-
'
|
|
78
|
-
'
|
|
79
|
-
'
|
|
80
|
-
'
|
|
81
|
-
'
|
|
82
|
-
'
|
|
83
|
-
'
|
|
84
|
-
'
|
|
85
|
-
'
|
|
86
|
-
'
|
|
87
|
-
'
|
|
88
|
-
'
|
|
89
|
-
'
|
|
90
|
-
'
|
|
91
|
-
'
|
|
92
|
-
'
|
|
93
|
-
'
|
|
94
|
-
'
|
|
95
|
-
'
|
|
96
|
-
'
|
|
97
|
-
'
|
|
98
|
-
'
|
|
99
|
-
'
|
|
100
|
-
'
|
|
101
|
-
'
|
|
102
|
-
'
|
|
103
|
-
'
|
|
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
|
-
'
|
|
136
|
-
'
|
|
137
|
-
'
|
|
138
|
-
'
|
|
139
|
-
'
|
|
140
|
-
'
|
|
141
|
-
'
|
|
142
|
-
'
|
|
143
|
-
'
|
|
144
|
-
'
|
|
145
|
-
'
|
|
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'
|
|
151
|
-
'registered_name'
|
|
152
|
-
'registered_address'
|
|
153
|
-
'registered_phone'
|
|
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'
|
|
156
|
-
'lease_name'
|
|
157
|
-
'lease_address'
|
|
158
|
-
'lease_phone'
|
|
159
|
-
'lease_number'
|
|
160
|
-
'lease_payment_amount'
|
|
161
|
-
'lease_payment_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'
|
|
164
|
-
'conviction_details'
|
|
165
|
-
'has_recent_claim'
|
|
166
|
-
'incident_details'
|
|
167
|
-
'was_disqualified'
|
|
168
|
-
'disqualified_details'
|
|
169
|
-
'was_vehicle_used_without_consent'
|
|
170
|
-
'vehicle_used_without_consent_details'
|
|
171
|
-
'has_existing_vehicle_damage'
|
|
172
|
-
'existing_vehicle_damage_details'
|
|
173
|
-
'was_refused_insurance'
|
|
174
|
-
'refused_insurance_details'
|
|
175
|
-
'has_additional_information'
|
|
176
|
-
'additional_information_details'
|
|
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'
|
|
179
|
-
'vehicle_vin'
|
|
180
|
-
'vehicle_make'
|
|
181
|
-
'vehicle_model'
|
|
182
|
-
'vehicle_year'
|
|
183
|
-
'vehicle_type'
|
|
184
|
-
'finance_company'
|
|
185
|
-
'finance_phone'
|
|
186
|
-
'vehicle_purchased_on'
|
|
187
|
-
'vehicle_purchased_from'
|
|
188
|
-
'vehicle_purchased_price'
|
|
189
|
-
'vehicle_value'
|
|
190
|
-
'was_vehicle_for_sale'
|
|
191
|
-
'vehicle_first_asking_price'
|
|
192
|
-
'vehicle_last_asking_price'
|
|
193
|
-
'vehicle_sale_duration'
|
|
194
|
-
'vehicle_purchaser_name'
|
|
195
|
-
'vehicle_purchaser_address'
|
|
196
|
-
'vehicle_purchaser_phone'
|
|
197
|
-
'vehicle_hp_cc_rating'
|
|
198
|
-
'vehicle_transmission'
|
|
199
|
-
'vehicle_engine_number'
|
|
200
|
-
'vehicle_has_air_conditioning'
|
|
201
|
-
'vehicle_has_cng'
|
|
202
|
-
'vehicle_has_lpg'
|
|
203
|
-
'vehicle_colour'
|
|
204
|
-
'vehicle_colour_changes'
|
|
205
|
-
'was_vehicle_repaired'
|
|
206
|
-
'vehicle_repaired_damage_details'
|
|
207
|
-
'vehicle_repairer'
|
|
208
|
-
'vehicle_repaired_on'
|
|
209
|
-
'was_vehicle_damaged'
|
|
210
|
-
'vehicle_damage_details'
|
|
211
|
-
'vehicle_tyre_condition_front_right'
|
|
212
|
-
'vehicle_tyre_condition_front_left'
|
|
213
|
-
'vehicle_tyre_condition_rear_right'
|
|
214
|
-
'vehicle_tyre_condition_rear_left'
|
|
215
|
-
'vehicle_tyre_condition_spare'
|
|
216
|
-
'wheel_assembly_details'
|
|
217
|
-
'vehicle_radio_type'
|
|
218
|
-
'vehicle_radio_make'
|
|
219
|
-
'vehicle_radio_location'
|
|
220
|
-
'vehicle_radio_fixing'
|
|
221
|
-
'vehicle_speaker_make'
|
|
222
|
-
'has_additional_accessories'
|
|
223
|
-
'accessory_details'
|
|
224
|
-
'has_identifiable_contents'
|
|
225
|
-
'identifiable_contents_details'
|
|
226
|
-
'vehicle_serviced_by'
|
|
227
|
-
'has_service_invoices'
|
|
228
|
-
'vehicle_wof_issued_by'
|
|
229
|
-
'vehicle_wof_issued_on'
|
|
230
|
-
'vehicle_wof_expires_on'
|
|
231
|
-
'vehicle_floor_type'
|
|
232
|
-
'vehicle_interior_details'
|
|
233
|
-
'vehicle_seatbelt_type'
|
|
234
|
-
'vehicle_seatbelt_condition'
|
|
235
|
-
'vehicle_engine_condition'
|
|
236
|
-
'vehicle_gearbox_condition'
|
|
237
|
-
'vehicle_transmission_condition'
|
|
238
|
-
'vehicle_suspension_condition'
|
|
239
|
-
'vehicle_steering_condition'
|
|
240
|
-
'vehicle_seats_condition'
|
|
241
|
-
'vehicle_trims_condition'
|
|
242
|
-
'vehicle_body_condition'
|
|
243
|
-
'vehicle_paint_condition'
|
|
244
|
-
'vehicle_dashboard_condition'
|
|
245
|
-
'did_engine_use_oil'
|
|
246
|
-
'vehicle_engine_oil_per_month'
|
|
247
|
-
'vehicle_ran_well'
|
|
248
|
-
'vehicle_ran_poorly_details'
|
|
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'
|
|
251
|
-
'theft_happened_on'
|
|
252
|
-
'theft_discovered_at'
|
|
253
|
-
'last_seen_at'
|
|
254
|
-
'vehicle_last_used_by'
|
|
255
|
-
'address_stolen_from'
|
|
256
|
-
'were_windows_up'
|
|
257
|
-
'windows_down_details'
|
|
258
|
-
'were_doors_locked'
|
|
259
|
-
'doors_unlocked_details'
|
|
260
|
-
'has_theft_evidence'
|
|
261
|
-
'theft_evidence_details'
|
|
262
|
-
'has_steering_lock'
|
|
263
|
-
'was_steering_lock_activated'
|
|
264
|
-
'has_alarm'
|
|
265
|
-
'was_alarm_active'
|
|
266
|
-
'alarm_inactive_details'
|
|
267
|
-
'was_boot_locked'
|
|
268
|
-
'boot_unlocked_details'
|
|
269
|
-
'keys_count'
|
|
270
|
-
'key_holder_name'
|
|
271
|
-
'key_holder_phone'
|
|
272
|
-
'key_holder_address'
|
|
273
|
-
'keys_location'
|
|
274
|
-
'policyholder_whereabouts_details'
|
|
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'
|
|
277
|
-
'did_police_attend'
|
|
278
|
-
'police_officer_name'
|
|
279
|
-
'police_officer_email'
|
|
280
|
-
'police_reference'
|
|
281
|
-
'police_station_address'
|
|
282
|
-
'police_not_notified_details'
|
|
283
|
-
'police_have_suspect'
|
|
284
|
-
'police_suspect_details'
|
|
285
|
-
'policyholder_has_suspect'
|
|
286
|
-
'policyholder_suspect_details'
|
|
287
|
-
'was_theft_witnessed'
|
|
288
|
-
'theft_witnessed_details'
|
|
289
|
-
'has_cctv_footage'
|
|
290
|
-
'cctv_footage_details'
|
|
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'
|
|
293
|
-
'is_contents_insured_elsewhere'
|
|
294
|
-
'contents_details'
|
|
316
|
+
'is_claiming_contents'?: boolean;
|
|
317
|
+
'is_contents_insured_elsewhere'?: boolean;
|
|
318
|
+
'contents_details'?: ClaimItem[];
|
|
295
319
|
}
|
|
296
320
|
|
|
297
321
|
export interface Accessory {
|