@star-insure/sdk 1.1.7 → 1.1.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/common/Button.d.ts +14 -0
- package/dist/components/common/Button.js +26 -0
- package/dist/components/common/Button.js.map +1 -0
- package/dist/components/common/Card.d.ts +7 -0
- package/dist/components/common/Card.js +6 -0
- package/dist/components/common/Card.js.map +1 -0
- package/dist/components/common/Modal.d.ts +9 -0
- package/dist/components/common/Modal.js +20 -0
- package/dist/components/common/Modal.js.map +1 -0
- package/dist/components/common/Pagination.d.ts +9 -0
- package/dist/components/common/Pagination.js +53 -0
- package/dist/components/common/Pagination.js.map +1 -0
- package/dist/components/common/ToastItem.d.ts +3 -0
- package/dist/components/common/ToastItem.js +23 -0
- package/dist/components/common/ToastItem.js.map +1 -0
- package/dist/components/common/Toasts.d.ts +2 -0
- package/dist/components/common/Toasts.js +9 -0
- package/dist/components/common/Toasts.js.map +1 -0
- package/dist/components/common/index.d.ts +7 -0
- package/dist/components/common/index.js +8 -0
- package/dist/components/common/index.js.map +1 -0
- package/dist/components/forms/DateOfBirthField.d.ts +7 -0
- package/dist/components/forms/DateOfBirthField.js +56 -0
- package/dist/components/forms/DateOfBirthField.js.map +1 -0
- package/dist/components/forms/Errors.d.ts +10 -0
- package/dist/components/forms/Errors.js +20 -0
- package/dist/components/forms/Errors.js.map +1 -0
- package/dist/components/forms/FormTester.d.ts +6 -0
- package/dist/components/forms/FormTester.js +136 -0
- package/dist/components/forms/FormTester.js.map +1 -0
- package/dist/components/forms/MoneyField.d.ts +11 -0
- package/dist/components/forms/MoneyField.js +20 -0
- package/dist/components/forms/MoneyField.js.map +1 -0
- package/dist/components/forms/RegistrationSearchField.d.ts +23 -0
- package/dist/components/forms/RegistrationSearchField.js +96 -0
- package/dist/components/forms/RegistrationSearchField.js.map +1 -0
- package/dist/components/forms/index.d.ts +6 -0
- package/dist/components/forms/index.js +7 -0
- package/dist/components/forms/index.js.map +1 -0
- package/dist/components/index.d.ts +3 -0
- package/dist/components/index.js +4 -0
- package/dist/components/index.js.map +1 -0
- package/dist/components/tables/Table.d.ts +6 -0
- package/dist/components/tables/Table.js +9 -0
- package/dist/components/tables/Table.js.map +1 -0
- package/dist/components/tables/TableActions.d.ts +7 -0
- package/dist/components/tables/TableActions.js +6 -0
- package/dist/components/tables/TableActions.js.map +1 -0
- package/dist/components/tables/TableBody.d.ts +7 -0
- package/dist/components/tables/TableBody.js +6 -0
- package/dist/components/tables/TableBody.js.map +1 -0
- package/dist/components/tables/TableCell.d.ts +7 -0
- package/dist/components/tables/TableCell.js +6 -0
- package/dist/components/tables/TableCell.js.map +1 -0
- package/dist/components/tables/TableHead.d.ts +7 -0
- package/dist/components/tables/TableHead.js +6 -0
- package/dist/components/tables/TableHead.js.map +1 -0
- package/dist/components/tables/TableHeader.d.ts +9 -0
- package/dist/components/tables/TableHeader.js +29 -0
- package/dist/components/tables/TableHeader.js.map +1 -0
- package/dist/components/tables/TableRow.d.ts +8 -0
- package/dist/components/tables/TableRow.js +7 -0
- package/dist/components/tables/TableRow.js.map +1 -0
- package/dist/components/tables/index.d.ts +8 -0
- package/dist/components/tables/index.js +9 -0
- package/dist/components/tables/index.js.map +1 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +5 -0
- package/dist/index.js.map +1 -0
- package/dist/lib/addressFinder.d.ts +54 -0
- package/dist/lib/addressFinder.js +53 -0
- package/dist/lib/addressFinder.js.map +1 -0
- package/dist/lib/auth.d.ts +2 -0
- package/dist/lib/auth.js +6 -0
- package/dist/lib/auth.js.map +1 -0
- package/dist/lib/calculateAge.d.ts +5 -0
- package/dist/lib/calculateAge.js +15 -0
- package/dist/lib/calculateAge.js.map +1 -0
- package/dist/lib/clickOutside.d.ts +1 -0
- package/dist/lib/clickOutside.js +19 -0
- package/dist/lib/clickOutside.js.map +1 -0
- package/dist/lib/dates.d.ts +8 -0
- package/dist/lib/dates.js +18 -0
- package/dist/lib/dates.js.map +1 -0
- package/dist/lib/index.d.ts +12 -0
- package/dist/lib/index.js +13 -0
- package/dist/lib/index.js.map +1 -0
- package/dist/lib/inertiaOptions.d.ts +6 -0
- package/dist/lib/inertiaOptions.js +22 -0
- package/dist/lib/inertiaOptions.js.map +1 -0
- package/dist/lib/localStorage.d.ts +1 -0
- package/dist/lib/localStorage.js +41 -0
- package/dist/lib/localStorage.js.map +1 -0
- package/dist/lib/money.d.ts +32 -0
- package/dist/lib/money.js +60 -0
- package/dist/lib/money.js.map +1 -0
- package/dist/lib/quoteRequestForm.d.ts +19 -0
- package/dist/lib/quoteRequestForm.js +120 -0
- package/dist/lib/quoteRequestForm.js.map +1 -0
- package/dist/lib/quoteRequestOptions.d.ts +11 -0
- package/dist/lib/quoteRequestOptions.js +9 -0
- package/dist/lib/quoteRequestOptions.js.map +1 -0
- package/dist/lib/toast.d.ts +10 -0
- package/dist/lib/toast.js +38 -0
- package/dist/lib/toast.js.map +1 -0
- package/dist/lib/vehicles.d.ts +2 -0
- package/dist/lib/vehicles.js +40 -0
- package/dist/lib/vehicles.js.map +1 -0
- package/dist/types/api/auth.d.ts +9 -0
- package/dist/types/api/auth.js +1 -0
- package/dist/types/api/auth.js.map +1 -0
- package/dist/types/api/enums.d.ts +4 -0
- package/dist/types/api/enums.js +1 -0
- package/dist/types/api/enums.js.map +1 -0
- package/dist/types/api/index.d.ts +31 -0
- package/dist/types/api/index.js +4 -0
- package/dist/types/api/index.js.map +1 -0
- package/dist/types/api/responses/claimRequestActions.d.ts +12 -0
- package/dist/types/api/responses/claimRequestActions.js +1 -0
- package/dist/types/api/responses/claimRequestActions.js.map +1 -0
- package/dist/types/api/responses/index.d.ts +1 -0
- package/dist/types/api/responses/index.js +2 -0
- package/dist/types/api/responses/index.js.map +1 -0
- package/dist/types/index.d.ts +3 -0
- package/dist/types/index.js +4 -0
- package/dist/types/index.js.map +1 -0
- package/dist/types/misc/index.d.ts +8 -0
- package/dist/types/misc/index.js +2 -0
- package/dist/types/misc/index.js.map +1 -0
- package/dist/types/misc/inertia.d.ts +8 -0
- package/dist/types/misc/inertia.js +1 -0
- package/dist/types/misc/inertia.js.map +1 -0
- package/dist/types/models/auth/Group.d.ts +10 -0
- package/dist/types/models/auth/Group.js +1 -0
- package/dist/types/models/auth/Group.js.map +1 -0
- package/dist/types/models/auth/Permission.d.ts +4 -0
- package/dist/types/models/auth/Permission.js +1 -0
- package/dist/types/models/auth/Permission.js.map +1 -0
- package/dist/types/models/auth/Role.d.ts +6 -0
- package/dist/types/models/auth/Role.js +1 -0
- package/dist/types/models/auth/Role.js.map +1 -0
- package/dist/types/models/auth/User.d.ts +12 -0
- package/dist/types/models/auth/User.js +1 -0
- package/dist/types/models/auth/User.js.map +1 -0
- package/dist/types/models/auth/index.d.ts +4 -0
- package/dist/types/models/auth/index.js +5 -0
- package/dist/types/models/auth/index.js.map +1 -0
- package/dist/types/models/claims/ClaimRequest.d.ts +287 -0
- package/dist/types/models/claims/ClaimRequest.js +1 -0
- package/dist/types/models/claims/ClaimRequest.js.map +1 -0
- package/dist/types/models/claims/index.d.ts +1 -0
- package/dist/types/models/claims/index.js +2 -0
- package/dist/types/models/claims/index.js.map +1 -0
- package/dist/types/models/index.d.ts +6 -0
- package/dist/types/models/index.js +7 -0
- package/dist/types/models/index.js.map +1 -0
- package/dist/types/models/oracle/Risk.d.ts +8 -0
- package/dist/types/models/oracle/Risk.js +1 -0
- package/dist/types/models/oracle/Risk.js.map +1 -0
- package/dist/types/models/oracle/TableData.d.ts +9 -0
- package/dist/types/models/oracle/TableData.js +1 -0
- package/dist/types/models/oracle/TableData.js.map +1 -0
- package/dist/types/models/oracle/index.d.ts +2 -0
- package/dist/types/models/oracle/index.js +3 -0
- package/dist/types/models/oracle/index.js.map +1 -0
- package/dist/types/models/payments/Gateways.d.ts +1 -0
- package/dist/types/models/payments/Gateways.js +1 -0
- package/dist/types/models/payments/Gateways.js.map +1 -0
- package/dist/types/models/payments/Payment.d.ts +35 -0
- package/dist/types/models/payments/Payment.js +1 -0
- package/dist/types/models/payments/Payment.js.map +1 -0
- package/dist/types/models/payments/index.d.ts +2 -0
- package/dist/types/models/payments/index.js +3 -0
- package/dist/types/models/payments/index.js.map +1 -0
- package/dist/types/models/quotes/Club.d.ts +4 -0
- package/dist/types/models/quotes/Club.js +1 -0
- package/dist/types/models/quotes/Club.js.map +1 -0
- package/dist/types/models/quotes/EmailContentOption.d.ts +7 -0
- package/dist/types/models/quotes/EmailContentOption.js +1 -0
- package/dist/types/models/quotes/EmailContentOption.js.map +1 -0
- package/dist/types/models/quotes/InformationRequest.d.ts +34 -0
- package/dist/types/models/quotes/InformationRequest.js +1 -0
- package/dist/types/models/quotes/InformationRequest.js.map +1 -0
- package/dist/types/models/quotes/Lead.d.ts +17 -0
- package/dist/types/models/quotes/Lead.js +1 -0
- package/dist/types/models/quotes/Lead.js.map +1 -0
- package/dist/types/models/quotes/MotorwebVehicle.d.ts +120 -0
- package/dist/types/models/quotes/MotorwebVehicle.js +1 -0
- package/dist/types/models/quotes/MotorwebVehicle.js.map +1 -0
- package/dist/types/models/quotes/PolicyBenefit.d.ts +16 -0
- package/dist/types/models/quotes/PolicyBenefit.js +1 -0
- package/dist/types/models/quotes/PolicyBenefit.js.map +1 -0
- package/dist/types/models/quotes/PolicyEnhancement.d.ts +11 -0
- package/dist/types/models/quotes/PolicyEnhancement.js +1 -0
- package/dist/types/models/quotes/PolicyEnhancement.js.map +1 -0
- package/dist/types/models/quotes/PostalAddress.d.ts +7 -0
- package/dist/types/models/quotes/PostalAddress.js +1 -0
- package/dist/types/models/quotes/PostalAddress.js.map +1 -0
- package/dist/types/models/quotes/PromoCode.d.ts +18 -0
- package/dist/types/models/quotes/PromoCode.js +1 -0
- package/dist/types/models/quotes/PromoCode.js.map +1 -0
- package/dist/types/models/quotes/QuoteRequest.d.ts +88 -0
- package/dist/types/models/quotes/QuoteRequest.js +1 -0
- package/dist/types/models/quotes/QuoteRequest.js.map +1 -0
- package/dist/types/models/quotes/QuoteRequestDeclaration.d.ts +22 -0
- package/dist/types/models/quotes/QuoteRequestDeclaration.js +1 -0
- package/dist/types/models/quotes/QuoteRequestDeclaration.js.map +1 -0
- package/dist/types/models/quotes/QuoteRequestForm.d.ts +112 -0
- package/dist/types/models/quotes/QuoteRequestForm.js +1 -0
- package/dist/types/models/quotes/QuoteRequestForm.js.map +1 -0
- package/dist/types/models/quotes/QuoteRequestIncident.d.ts +5 -0
- package/dist/types/models/quotes/QuoteRequestIncident.js +1 -0
- package/dist/types/models/quotes/QuoteRequestIncident.js.map +1 -0
- package/dist/types/models/quotes/QuoteRequestLog.d.ts +10 -0
- package/dist/types/models/quotes/QuoteRequestLog.js +1 -0
- package/dist/types/models/quotes/QuoteRequestLog.js.map +1 -0
- package/dist/types/models/quotes/QuoteRequestOptions.d.ts +59 -0
- package/dist/types/models/quotes/QuoteRequestOptions.js +1 -0
- package/dist/types/models/quotes/QuoteRequestOptions.js.map +1 -0
- package/dist/types/models/quotes/QuoteRequestPurchaseOption.d.ts +35 -0
- package/dist/types/models/quotes/QuoteRequestPurchaseOption.js +1 -0
- package/dist/types/models/quotes/QuoteRequestPurchaseOption.js.map +1 -0
- package/dist/types/models/quotes/QuoteRequestReferrer.d.ts +7 -0
- package/dist/types/models/quotes/QuoteRequestReferrer.js +1 -0
- package/dist/types/models/quotes/QuoteRequestReferrer.js.map +1 -0
- package/dist/types/models/quotes/QuoteRequestReferrerCategory.d.ts +4 -0
- package/dist/types/models/quotes/QuoteRequestReferrerCategory.js +1 -0
- package/dist/types/models/quotes/QuoteRequestReferrerCategory.js.map +1 -0
- package/dist/types/models/quotes/QuoteRequestVehicle.d.ts +20 -0
- package/dist/types/models/quotes/QuoteRequestVehicle.js +1 -0
- package/dist/types/models/quotes/QuoteRequestVehicle.js.map +1 -0
- package/dist/types/models/quotes/QuoteRequestVehicleDriver.d.ts +10 -0
- package/dist/types/models/quotes/QuoteRequestVehicleDriver.js +1 -0
- package/dist/types/models/quotes/QuoteRequestVehicleDriver.js.map +1 -0
- package/dist/types/models/quotes/RedbookVehicle.d.ts +55 -0
- package/dist/types/models/quotes/RedbookVehicle.js +2 -0
- package/dist/types/models/quotes/RedbookVehicle.js.map +1 -0
- package/dist/types/models/quotes/StreetAddress.d.ts +8 -0
- package/dist/types/models/quotes/StreetAddress.js +1 -0
- package/dist/types/models/quotes/StreetAddress.js.map +1 -0
- package/dist/types/models/quotes/index.d.ts +22 -0
- package/dist/types/models/quotes/index.js +23 -0
- package/dist/types/models/quotes/index.js.map +1 -0
- package/dist/types/models/sms-messages/SmsContentOption.d.ts +7 -0
- package/dist/types/models/sms-messages/SmsContentOption.js +1 -0
- package/dist/types/models/sms-messages/SmsContentOption.js.map +1 -0
- package/dist/types/models/sms-messages/SmsMessage.d.ts +18 -0
- package/dist/types/models/sms-messages/SmsMessage.js +1 -0
- package/dist/types/models/sms-messages/SmsMessage.js.map +1 -0
- package/dist/types/models/sms-messages/SmsMessageReply.d.ts +10 -0
- package/dist/types/models/sms-messages/SmsMessageReply.js +1 -0
- package/dist/types/models/sms-messages/SmsMessageReply.js.map +1 -0
- package/dist/types/models/sms-messages/index.d.ts +3 -0
- package/dist/types/models/sms-messages/index.js +4 -0
- package/dist/types/models/sms-messages/index.js.map +1 -0
- package/package.json +3 -3
- package/src/lib/quoteRequestOptions.tsx +1 -1
- package/src/types/misc/inertia.ts +1 -1
- package/index.js +0 -4
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=Permission.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Permission.js","sourceRoot":"","sources":["../../../../src/types/models/auth/Permission.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=Role.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Role.js","sourceRoot":"","sources":["../../../../src/types/models/auth/Role.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=User.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"User.js","sourceRoot":"","sources":["../../../../src/types/models/auth/User.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/models/auth/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,cAAc,CAAC"}
|
|
@@ -0,0 +1,287 @@
|
|
|
1
|
+
import { Condition, Frequency, VehicleType } from "../../api";
|
|
2
|
+
export declare type ClaimRequestStatus = 'new' | 'draft' | 'in-progress' | 'exported';
|
|
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;
|
|
22
|
+
}
|
|
23
|
+
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[];
|
|
101
|
+
}
|
|
102
|
+
export interface Incident {
|
|
103
|
+
'year': string;
|
|
104
|
+
'month': string;
|
|
105
|
+
'description': string;
|
|
106
|
+
}
|
|
107
|
+
export interface Passenger {
|
|
108
|
+
'name': string;
|
|
109
|
+
'phone'?: string;
|
|
110
|
+
'email'?: string;
|
|
111
|
+
'address'?: string;
|
|
112
|
+
}
|
|
113
|
+
export interface Witness {
|
|
114
|
+
'name': string;
|
|
115
|
+
'phone'?: string;
|
|
116
|
+
'email'?: string;
|
|
117
|
+
'address'?: string;
|
|
118
|
+
}
|
|
119
|
+
export interface ClaimItem {
|
|
120
|
+
'description': string;
|
|
121
|
+
'purchased_from'?: string;
|
|
122
|
+
'age'?: string;
|
|
123
|
+
'purchase_price'?: string;
|
|
124
|
+
'replacement_cost'?: string;
|
|
125
|
+
}
|
|
126
|
+
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;
|
|
138
|
+
}
|
|
139
|
+
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[];
|
|
279
|
+
}
|
|
280
|
+
export interface Accessory {
|
|
281
|
+
'description': string;
|
|
282
|
+
'age': string;
|
|
283
|
+
'condition': string;
|
|
284
|
+
}
|
|
285
|
+
export interface Contents {
|
|
286
|
+
'description': string;
|
|
287
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=ClaimRequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ClaimRequest.js","sourceRoot":"","sources":["../../../../src/types/models/claims/ClaimRequest.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './ClaimRequest';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/models/claims/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/models/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,YAAY,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=Risk.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Risk.js","sourceRoot":"","sources":["../../../../src/types/models/oracle/Risk.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=TableData.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TableData.js","sourceRoot":"","sources":["../../../../src/types/models/oracle/TableData.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/models/oracle/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,cAAc,aAAa,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare type GatewayKey = 'SIS_Windcave_Account2Account' | 'SIS_Windcave_PxPayTradeMe' | 'SIS_Windcave_PxPayMonth' | 'SIS_Windcave_PxPayYear' | 'SIS_Windcave_PxPayStaff' | 'SIS_Windcave_PxPayTradeMeStaff' | 'bind' | 'invoice';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=Gateways.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Gateways.js","sourceRoot":"","sources":["../../../../src/types/models/payments/Gateways.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { User } from "../auth";
|
|
2
|
+
import { QuoteRequest } from "../quotes";
|
|
3
|
+
import { GatewayKey } from "./Gateways";
|
|
4
|
+
export declare type PaymentStatus = 'accepted' | 'incomplete' | 'declined';
|
|
5
|
+
export declare type PaymentType = 'quote' | 'account' | 'auction';
|
|
6
|
+
export interface Payment {
|
|
7
|
+
id: string;
|
|
8
|
+
created_at: string;
|
|
9
|
+
updated_at: string;
|
|
10
|
+
status: PaymentStatus;
|
|
11
|
+
reference: string | null;
|
|
12
|
+
client_number: string | null;
|
|
13
|
+
amount: number;
|
|
14
|
+
processing_fee: number | null;
|
|
15
|
+
surcharge_percentage: number | null;
|
|
16
|
+
name: string | null;
|
|
17
|
+
email: string | null;
|
|
18
|
+
phone: string | null;
|
|
19
|
+
mobile: string | null;
|
|
20
|
+
gateway_key: GatewayKey;
|
|
21
|
+
gateway_reference: string;
|
|
22
|
+
payment_type: PaymentType;
|
|
23
|
+
quote_request_purchase_option_id: number | null;
|
|
24
|
+
quote_request_id: string | null;
|
|
25
|
+
email_sent_at: string | null;
|
|
26
|
+
cardholder_name: string;
|
|
27
|
+
card_name: string;
|
|
28
|
+
card_number: string;
|
|
29
|
+
card_expires_at: string;
|
|
30
|
+
card_token: string | null;
|
|
31
|
+
user_id: User['id'] | null;
|
|
32
|
+
return_url: string | null;
|
|
33
|
+
user?: User;
|
|
34
|
+
quoteRequest?: QuoteRequest;
|
|
35
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=Payment.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Payment.js","sourceRoot":"","sources":["../../../../src/types/models/payments/Payment.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/models/payments/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=Club.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Club.js","sourceRoot":"","sources":["../../../../src/types/models/quotes/Club.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=EmailContentOption.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EmailContentOption.js","sourceRoot":"","sources":["../../../../src/types/models/quotes/EmailContentOption.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { User } from "../auth";
|
|
2
|
+
export declare type InformationRequestStatus = 'open' | 'closed';
|
|
3
|
+
export interface InformationRequest {
|
|
4
|
+
id: string;
|
|
5
|
+
created_at: string;
|
|
6
|
+
updated_at: string;
|
|
7
|
+
user_id: number | null;
|
|
8
|
+
quote_request_id: string;
|
|
9
|
+
subject: string;
|
|
10
|
+
status: InformationRequestStatus;
|
|
11
|
+
messages?: InformationRequestMessage[];
|
|
12
|
+
user?: User;
|
|
13
|
+
}
|
|
14
|
+
export interface InformationRequestMessage {
|
|
15
|
+
id: number;
|
|
16
|
+
created_at: string;
|
|
17
|
+
updated_at: string;
|
|
18
|
+
information_request_id: string;
|
|
19
|
+
user_id: number | null;
|
|
20
|
+
content: string;
|
|
21
|
+
has_been_read_by_customer: boolean;
|
|
22
|
+
sent_at: string;
|
|
23
|
+
received_at: string;
|
|
24
|
+
user?: User;
|
|
25
|
+
attachments?: InformationRequestAttachment[];
|
|
26
|
+
}
|
|
27
|
+
export interface InformationRequestAttachment {
|
|
28
|
+
id: number;
|
|
29
|
+
created_at: string;
|
|
30
|
+
updated_at: string;
|
|
31
|
+
information_request_message_id: string;
|
|
32
|
+
title: string;
|
|
33
|
+
url: string;
|
|
34
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=InformationRequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InformationRequest.js","sourceRoot":"","sources":["../../../../src/types/models/quotes/InformationRequest.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { PostalAddress } from "./PostalAddress";
|
|
2
|
+
export interface Lead {
|
|
3
|
+
id: number;
|
|
4
|
+
first_name: string;
|
|
5
|
+
last_name: string;
|
|
6
|
+
email: string;
|
|
7
|
+
mobile: string;
|
|
8
|
+
status: string;
|
|
9
|
+
source: string;
|
|
10
|
+
postal_address_id: PostalAddress['id'];
|
|
11
|
+
current_insurer: string | null;
|
|
12
|
+
current_insurance_expires_at: string | null;
|
|
13
|
+
current_insurance_is_monthly: boolean;
|
|
14
|
+
vehicle_details: string | null;
|
|
15
|
+
notes: string | null;
|
|
16
|
+
import_data: string | null;
|
|
17
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=Lead.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Lead.js","sourceRoot":"","sources":["../../../../src/types/models/quotes/Lead.ts"],"names":[],"mappings":""}
|