@star-insure/sdk 6.0.12 → 6.0.14
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/README.md +1 -1
- package/dist/index.d.ts +1828 -3
- package/dist/sdk.es10.js +31 -31
- package/dist/sdk.es100.js +46 -63
- package/dist/sdk.es100.js.map +1 -1
- package/dist/sdk.es101.js +45 -66
- package/dist/sdk.es101.js.map +1 -1
- package/dist/sdk.es102.js +27 -74
- package/dist/sdk.es102.js.map +1 -1
- package/dist/sdk.es103.js +24 -41
- package/dist/sdk.es103.js.map +1 -1
- package/dist/sdk.es104.js +53 -27
- package/dist/sdk.es104.js.map +1 -1
- package/dist/sdk.es105.js +61 -34
- package/dist/sdk.es105.js.map +1 -1
- package/dist/sdk.es106.js +62 -30
- package/dist/sdk.es106.js.map +1 -1
- package/dist/sdk.es107.js +59 -61
- package/dist/sdk.es107.js.map +1 -1
- package/dist/sdk.es108.js +36 -82
- package/dist/sdk.es108.js.map +1 -1
- package/dist/sdk.es109.js +36 -82
- package/dist/sdk.es109.js.map +1 -1
- package/dist/sdk.es110.js +34 -80
- package/dist/sdk.es110.js.map +1 -1
- package/dist/sdk.es111.js +37 -48
- package/dist/sdk.es111.js.map +1 -1
- package/dist/sdk.es112.js +58 -35
- package/dist/sdk.es112.js.map +1 -1
- package/dist/sdk.es113.js +71 -36
- package/dist/sdk.es113.js.map +1 -1
- package/dist/sdk.es114.js +82 -35
- package/dist/sdk.es114.js.map +1 -1
- package/dist/sdk.es115.js +80 -33
- package/dist/sdk.es115.js.map +1 -1
- package/dist/sdk.es116.js +49 -37
- package/dist/sdk.es116.js.map +1 -1
- package/dist/sdk.es117.js +49 -37
- package/dist/sdk.es117.js.map +1 -1
- package/dist/sdk.es118.js +50 -37
- package/dist/sdk.es118.js.map +1 -1
- package/dist/sdk.es119.js +26 -25
- package/dist/sdk.es119.js.map +1 -1
- package/dist/sdk.es120.js +39 -27
- package/dist/sdk.es120.js.map +1 -1
- package/dist/sdk.es121.js +38 -35
- package/dist/sdk.es121.js.map +1 -1
- package/dist/sdk.es122.js +38 -35
- package/dist/sdk.es122.js.map +1 -1
- package/dist/sdk.es123.js +39 -26
- package/dist/sdk.es123.js.map +1 -1
- package/dist/sdk.es124.js +39 -26
- package/dist/sdk.es124.js.map +1 -1
- package/dist/sdk.es125.js +34 -6
- package/dist/sdk.es125.js.map +1 -1
- package/dist/sdk.es126.js +44 -3675
- package/dist/sdk.es126.js.map +1 -1
- package/dist/sdk.es127.js +44 -2
- package/dist/sdk.es127.js.map +1 -1
- package/dist/sdk.es128.js +32 -66
- package/dist/sdk.es128.js.map +1 -1
- package/dist/sdk.es129.js +33 -31
- package/dist/sdk.es129.js.map +1 -1
- package/dist/sdk.es130.js +53 -10
- package/dist/sdk.es130.js.map +1 -1
- package/dist/sdk.es131.js +9 -120
- package/dist/sdk.es131.js.map +1 -1
- package/dist/sdk.es132.js +20 -86
- package/dist/sdk.es132.js.map +1 -1
- package/dist/sdk.es133.js +67 -40
- package/dist/sdk.es133.js.map +1 -1
- package/dist/sdk.es134.js +31 -2
- package/dist/sdk.es134.js.map +1 -1
- package/dist/sdk.es135.js +11 -8
- package/dist/sdk.es135.js.map +1 -1
- package/dist/sdk.es136.js +121 -11
- package/dist/sdk.es136.js.map +1 -1
- package/dist/sdk.es137.js +86 -14
- package/dist/sdk.es137.js.map +1 -1
- package/dist/sdk.es138.js +7 -13
- package/dist/sdk.es138.js.map +1 -1
- package/dist/sdk.es139.js +10 -5
- package/dist/sdk.es139.js.map +1 -1
- package/dist/sdk.es140.js +13 -5
- package/dist/sdk.es140.js.map +1 -1
- package/dist/sdk.es141.js +13 -5
- package/dist/sdk.es141.js.map +1 -1
- package/dist/sdk.es142.js +5 -10
- package/dist/sdk.es142.js.map +1 -1
- package/dist/sdk.es143.js +25 -8
- package/dist/sdk.es143.js.map +1 -1
- package/dist/sdk.es144.js +99 -6
- package/dist/sdk.es144.js.map +1 -1
- package/dist/sdk.es145.js +47 -25
- package/dist/sdk.es145.js.map +1 -1
- package/dist/sdk.es146.js +9 -99
- package/dist/sdk.es146.js.map +1 -1
- package/dist/sdk.es147.js +10 -47
- package/dist/sdk.es147.js.map +1 -1
- package/dist/sdk.es148.js +13 -9
- package/dist/sdk.es148.js.map +1 -1
- package/dist/sdk.es149.js +9 -8
- package/dist/sdk.es149.js.map +1 -1
- package/dist/sdk.es15.js +13 -13
- package/dist/sdk.es150.js +5 -13
- package/dist/sdk.es150.js.map +1 -1
- package/dist/sdk.es151.js +5 -10
- package/dist/sdk.es151.js.map +1 -1
- package/dist/sdk.es152.js +10 -6
- package/dist/sdk.es152.js.map +1 -1
- package/dist/sdk.es153.js +6 -13
- package/dist/sdk.es153.js.map +1 -1
- package/dist/sdk.es154.js +6 -28
- package/dist/sdk.es154.js.map +1 -1
- package/dist/sdk.es155.js +5 -14
- package/dist/sdk.es155.js.map +1 -1
- package/dist/sdk.es156.js +12 -51
- package/dist/sdk.es156.js.map +1 -1
- package/dist/sdk.es157.js +29 -10
- package/dist/sdk.es157.js.map +1 -1
- package/dist/sdk.es158.js +15 -19
- package/dist/sdk.es158.js.map +1 -1
- package/dist/sdk.es159.js +7 -7
- package/dist/sdk.es159.js.map +1 -1
- package/dist/sdk.es25.js +1 -1
- package/dist/sdk.es26.js +1 -1
- package/dist/sdk.es27.js +1 -1
- package/dist/sdk.es28.js +1 -1
- package/dist/sdk.es29.js +1 -1
- package/dist/sdk.es3.js +17 -17
- package/dist/sdk.es30.js +1 -1
- package/dist/sdk.es32.js +1 -1
- package/dist/sdk.es35.js +16 -16
- package/dist/sdk.es35.js.map +1 -1
- package/dist/sdk.es36.js +27 -27
- package/dist/sdk.es36.js.map +1 -1
- package/dist/sdk.es37.js +57 -57
- package/dist/sdk.es37.js.map +1 -1
- package/dist/sdk.es39.js +3 -3
- package/dist/sdk.es39.js.map +1 -1
- package/dist/sdk.es41.js.map +1 -1
- package/dist/sdk.es43.js +10 -10
- package/dist/sdk.es43.js.map +1 -1
- package/dist/sdk.es44.js.map +1 -1
- package/dist/sdk.es47.js +3 -4
- package/dist/sdk.es47.js.map +1 -1
- package/dist/sdk.es48.js +5 -8
- package/dist/sdk.es48.js.map +1 -1
- package/dist/sdk.es49.js +4 -7
- package/dist/sdk.es49.js.map +1 -1
- package/dist/sdk.es50.js +7 -8
- package/dist/sdk.es50.js.map +1 -1
- package/dist/sdk.es51.js +6 -6
- package/dist/sdk.es51.js.map +1 -1
- package/dist/sdk.es52.js +8 -7
- package/dist/sdk.es52.js.map +1 -1
- package/dist/sdk.es53.js +5 -3
- package/dist/sdk.es53.js.map +1 -1
- package/dist/sdk.es54.js +7 -15
- package/dist/sdk.es54.js.map +1 -1
- package/dist/sdk.es55.js +4 -8
- package/dist/sdk.es55.js.map +1 -1
- package/dist/sdk.es56.js +15 -9
- package/dist/sdk.es56.js.map +1 -1
- package/dist/sdk.es57.js +8 -8
- package/dist/sdk.es57.js.map +1 -1
- package/dist/sdk.es58.js +9 -636
- package/dist/sdk.es58.js.map +1 -1
- package/dist/sdk.es59.js +9 -74
- package/dist/sdk.es59.js.map +1 -1
- package/dist/sdk.es60.js +638 -4
- package/dist/sdk.es60.js.map +1 -1
- package/dist/sdk.es61.js +74 -20
- package/dist/sdk.es61.js.map +1 -1
- package/dist/sdk.es62.js +4 -4
- package/dist/sdk.es62.js.map +1 -1
- package/dist/sdk.es63.js +20 -18
- package/dist/sdk.es63.js.map +1 -1
- package/dist/sdk.es64.js +4 -5
- package/dist/sdk.es64.js.map +1 -1
- package/dist/sdk.es65.js +18 -9
- package/dist/sdk.es65.js.map +1 -1
- package/dist/sdk.es66.js +5 -48
- package/dist/sdk.es66.js.map +1 -1
- package/dist/sdk.es67.js +8 -7
- package/dist/sdk.es67.js.map +1 -1
- package/dist/sdk.es68.js +46 -54
- package/dist/sdk.es68.js.map +1 -1
- package/dist/sdk.es69.js +8 -65
- package/dist/sdk.es69.js.map +1 -1
- package/dist/sdk.es70.js +57 -9
- package/dist/sdk.es70.js.map +1 -1
- package/dist/sdk.es71.js +65 -4
- package/dist/sdk.es71.js.map +1 -1
- package/dist/sdk.es72.js +9 -3
- package/dist/sdk.es72.js.map +1 -1
- package/dist/sdk.es73.js +4 -5
- package/dist/sdk.es73.js.map +1 -1
- package/dist/sdk.es74.js +2 -2
- package/dist/sdk.es75.js +5 -5
- package/dist/sdk.es76.js +9 -9
- package/dist/sdk.es77.js +3 -3
- package/dist/sdk.es78.js +10 -10
- package/dist/sdk.es78.js.map +1 -1
- package/dist/sdk.es79.js +3675 -2
- package/dist/sdk.es79.js.map +1 -1
- package/dist/sdk.es80.js +5 -10
- package/dist/sdk.es80.js.map +1 -1
- package/dist/sdk.es81.js +2 -11
- package/dist/sdk.es81.js.map +1 -1
- package/dist/sdk.es82.js +39 -12
- package/dist/sdk.es82.js.map +1 -1
- package/dist/sdk.es83.js +2 -11
- package/dist/sdk.es83.js.map +1 -1
- package/dist/sdk.es84.js +10 -18
- package/dist/sdk.es84.js.map +1 -1
- package/dist/sdk.es85.js +10 -5
- package/dist/sdk.es85.js.map +1 -1
- package/dist/sdk.es86.js +13 -55
- package/dist/sdk.es86.js.map +1 -1
- package/dist/sdk.es87.js +10 -8
- package/dist/sdk.es87.js.map +1 -1
- package/dist/sdk.es88.js +18 -4
- package/dist/sdk.es88.js.map +1 -1
- package/dist/sdk.es89.js +5 -13
- package/dist/sdk.es89.js.map +1 -1
- package/dist/sdk.es90.js +55 -15
- package/dist/sdk.es90.js.map +1 -1
- package/dist/sdk.es91.js +2 -4
- package/dist/sdk.es91.js.map +1 -1
- package/dist/sdk.es92.js +7 -11
- package/dist/sdk.es92.js.map +1 -1
- package/dist/sdk.es93.js +3 -8
- package/dist/sdk.es93.js.map +1 -1
- package/dist/sdk.es94.js +13 -54
- package/dist/sdk.es94.js.map +1 -1
- package/dist/sdk.es95.js +15 -57
- package/dist/sdk.es95.js.map +1 -1
- package/dist/sdk.es96.js +4 -59
- package/dist/sdk.es96.js.map +1 -1
- package/dist/sdk.es97.js +12 -32
- package/dist/sdk.es97.js.map +1 -1
- package/dist/sdk.es98.js +10 -31
- package/dist/sdk.es98.js.map +1 -1
- package/dist/sdk.es99.js +43 -62
- package/dist/sdk.es99.js.map +1 -1
- package/package.json +1 -1
- package/src/lib/index.ts +1 -0
- package/src/lib/quotePremiumRates.tsx +28 -0
- package/dist/components/common/Button.d.ts +0 -15
- package/dist/components/common/Card.d.ts +0 -7
- package/dist/components/common/Modal.d.ts +0 -11
- package/dist/components/common/Pagination.d.ts +0 -10
- package/dist/components/common/SimplePagination.d.ts +0 -10
- package/dist/components/common/ToastItem.d.ts +0 -3
- package/dist/components/common/Toasts.d.ts +0 -2
- package/dist/components/common/index.d.ts +0 -8
- package/dist/components/filter/Action.d.ts +0 -3
- package/dist/components/filter/Back.d.ts +0 -5
- package/dist/components/filter/Dropdown.d.ts +0 -9
- package/dist/components/filter/FilterItem.d.ts +0 -6
- package/dist/components/filter/FilterOptions.d.ts +0 -5
- package/dist/components/filter/PageHeader.d.ts +0 -21
- package/dist/components/filter/SearchBar.d.ts +0 -10
- package/dist/components/filter/index.d.ts +0 -1
- package/dist/components/forms/DateOfBirthField.d.ts +0 -12
- package/dist/components/forms/ErrorList.d.ts +0 -10
- package/dist/components/forms/FormTester.d.ts +0 -6
- package/dist/components/forms/MoneyField.d.ts +0 -11
- package/dist/components/forms/RegistrationSearchField.d.ts +0 -29
- package/dist/components/forms/index.d.ts +0 -6
- package/dist/components/index.d.ts +0 -4
- package/dist/components/tables/Table.d.ts +0 -6
- package/dist/components/tables/TableActions.d.ts +0 -7
- package/dist/components/tables/TableBody.d.ts +0 -7
- package/dist/components/tables/TableCell.d.ts +0 -8
- package/dist/components/tables/TableHead.d.ts +0 -7
- package/dist/components/tables/TableHeader.d.ts +0 -10
- package/dist/components/tables/TableRow.d.ts +0 -8
- package/dist/components/tables/index.d.ts +0 -8
- package/dist/lib/addressFinder.d.ts +0 -54
- package/dist/lib/auth.d.ts +0 -2
- package/dist/lib/calculateAge.d.ts +0 -4
- package/dist/lib/calculatePricing.d.ts +0 -19
- package/dist/lib/clickOutside.d.ts +0 -1
- package/dist/lib/dates.d.ts +0 -20
- package/dist/lib/fetch.d.ts +0 -20
- package/dist/lib/index.d.ts +0 -14
- package/dist/lib/inertiaOptions.d.ts +0 -6
- package/dist/lib/localStorage.d.ts +0 -1
- package/dist/lib/money.d.ts +0 -32
- package/dist/lib/page.d.ts +0 -19
- package/dist/lib/quoteRequestForm.d.ts +0 -21
- package/dist/lib/quoteRequestOptions.d.ts +0 -11
- package/dist/lib/toast.d.ts +0 -10
- package/dist/lib/vehicles.d.ts +0 -2
- package/dist/tailwind-preset.d.cts +0 -2
- package/dist/types/api/auth.d.ts +0 -35
- package/dist/types/api/enums.d.ts +0 -4
- package/dist/types/api/index.d.ts +0 -31
- package/dist/types/api/responses/claimRequestActions.d.ts +0 -12
- package/dist/types/api/responses/index.d.ts +0 -1
- package/dist/types/index.d.ts +0 -3
- package/dist/types/misc/index.d.ts +0 -59
- package/dist/types/models/auth/Group.d.ts +0 -10
- package/dist/types/models/auth/Permission.d.ts +0 -4
- package/dist/types/models/auth/Role.d.ts +0 -8
- package/dist/types/models/auth/User.d.ts +0 -17
- package/dist/types/models/auth/index.d.ts +0 -4
- package/dist/types/models/claims/ClaimRequest.d.ts +0 -328
- package/dist/types/models/claims/index.d.ts +0 -1
- package/dist/types/models/index.d.ts +0 -6
- package/dist/types/models/oracle/Risk.d.ts +0 -8
- package/dist/types/models/oracle/TableData.d.ts +0 -9
- package/dist/types/models/oracle/index.d.ts +0 -2
- package/dist/types/models/payments/Gateways.d.ts +0 -1
- package/dist/types/models/payments/Payment.d.ts +0 -36
- package/dist/types/models/payments/index.d.ts +0 -2
- package/dist/types/models/quotes/Blacklist.d.ts +0 -20
- package/dist/types/models/quotes/Club.d.ts +0 -4
- package/dist/types/models/quotes/EmailContentOption.d.ts +0 -7
- package/dist/types/models/quotes/InformationRequest.d.ts +0 -34
- package/dist/types/models/quotes/Lead.d.ts +0 -17
- package/dist/types/models/quotes/MotorwebVehicle.d.ts +0 -120
- package/dist/types/models/quotes/PolicyBenefit.d.ts +0 -16
- package/dist/types/models/quotes/PolicyEnhancement.d.ts +0 -13
- package/dist/types/models/quotes/PostalAddress.d.ts +0 -7
- package/dist/types/models/quotes/PromoCode.d.ts +0 -18
- package/dist/types/models/quotes/QuoteRequest.d.ts +0 -112
- package/dist/types/models/quotes/QuoteRequestDeclaration.d.ts +0 -22
- package/dist/types/models/quotes/QuoteRequestForm.d.ts +0 -113
- package/dist/types/models/quotes/QuoteRequestIncident.d.ts +0 -6
- package/dist/types/models/quotes/QuoteRequestLog.d.ts +0 -11
- package/dist/types/models/quotes/QuoteRequestOptions.d.ts +0 -62
- package/dist/types/models/quotes/QuoteRequestPurchaseOption.d.ts +0 -38
- package/dist/types/models/quotes/QuoteRequestReferrer.d.ts +0 -9
- package/dist/types/models/quotes/QuoteRequestReferrerCategory.d.ts +0 -6
- package/dist/types/models/quotes/QuoteRequestVehicle.d.ts +0 -23
- package/dist/types/models/quotes/QuoteRequestVehicleDriver.d.ts +0 -11
- package/dist/types/models/quotes/RedbookVehicle.d.ts +0 -55
- package/dist/types/models/quotes/StreetAddress.d.ts +0 -8
- package/dist/types/models/quotes/index.d.ts +0 -23
- package/dist/types/models/sms-messages/SmsContentOption.d.ts +0 -7
- package/dist/types/models/sms-messages/SmsMessage.d.ts +0 -18
- package/dist/types/models/sms-messages/SmsMessageReply.d.ts +0 -10
- package/dist/types/models/sms-messages/index.d.ts +0 -3
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { User } from '../auth';
|
|
2
|
-
export 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
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,120 +0,0 @@
|
|
|
1
|
-
export interface MotorwebVehicleResponse {
|
|
2
|
-
id: number;
|
|
3
|
-
created_at: string;
|
|
4
|
-
updated_at: string;
|
|
5
|
-
check_type: 'bvi' | 'motorcheck' | 'valuation';
|
|
6
|
-
plate_or_vin: string;
|
|
7
|
-
data: MotorwebVehicle;
|
|
8
|
-
}
|
|
9
|
-
export interface MotorwebVehicle {
|
|
10
|
-
'@attributes': Attributes;
|
|
11
|
-
'vehicle': BviCheck | MotorvehicleCheck;
|
|
12
|
-
}
|
|
13
|
-
interface Attributes {
|
|
14
|
-
'version'?: string;
|
|
15
|
-
}
|
|
16
|
-
interface FirstRegistrationDateOverseas {
|
|
17
|
-
'month'?: string;
|
|
18
|
-
'year'?: string;
|
|
19
|
-
'description'?: string;
|
|
20
|
-
}
|
|
21
|
-
interface Registration {
|
|
22
|
-
'previous-country-of-registration'?: string;
|
|
23
|
-
'first-registration-date-in-new-zealand'?: string;
|
|
24
|
-
'registration-status'?: string;
|
|
25
|
-
'cause-of-last-registration'?: string;
|
|
26
|
-
'registered-overseas'?: string;
|
|
27
|
-
'first-registration-date-overseas'?: FirstRegistrationDateOverseas;
|
|
28
|
-
'last-registration-date'?: string;
|
|
29
|
-
}
|
|
30
|
-
interface Licence {
|
|
31
|
-
'expiry-date'?: string;
|
|
32
|
-
'licence-type'?: string;
|
|
33
|
-
'issue-date'?: string;
|
|
34
|
-
'issue-time'?: string;
|
|
35
|
-
'continuous'?: string;
|
|
36
|
-
}
|
|
37
|
-
interface Wof {
|
|
38
|
-
'last-inspection-date'?: string;
|
|
39
|
-
'last-inspection-result'?: string;
|
|
40
|
-
'expiry-date'?: string;
|
|
41
|
-
'is-subject-to'?: string;
|
|
42
|
-
}
|
|
43
|
-
interface Cof {
|
|
44
|
-
'is-subject-to'?: string;
|
|
45
|
-
}
|
|
46
|
-
interface Attributes2 {
|
|
47
|
-
'data-retrieved'?: string;
|
|
48
|
-
}
|
|
49
|
-
interface Ruc {
|
|
50
|
-
'@attributes': Attributes2;
|
|
51
|
-
'is-subject-to'?: string;
|
|
52
|
-
}
|
|
53
|
-
interface Attributes3 {
|
|
54
|
-
'current'?: string;
|
|
55
|
-
'past-plate'?: string;
|
|
56
|
-
}
|
|
57
|
-
interface Plate {
|
|
58
|
-
'@attributes'?: Attributes3;
|
|
59
|
-
'plate-number'?: string;
|
|
60
|
-
'plate-type'?: string;
|
|
61
|
-
'effective-date'?: string;
|
|
62
|
-
}
|
|
63
|
-
interface Attributes4 {
|
|
64
|
-
'latest'?: string;
|
|
65
|
-
}
|
|
66
|
-
interface OdometerReading {
|
|
67
|
-
'@attributes'?: Attributes4;
|
|
68
|
-
'reading'?: string;
|
|
69
|
-
'reading-date'?: string;
|
|
70
|
-
'reading-unit'?: string;
|
|
71
|
-
'source'?: string;
|
|
72
|
-
}
|
|
73
|
-
interface Transmission {
|
|
74
|
-
'type'?: string;
|
|
75
|
-
}
|
|
76
|
-
interface Attributes5 {
|
|
77
|
-
'current': string;
|
|
78
|
-
'owner-number': string;
|
|
79
|
-
'suppressed-reason': string;
|
|
80
|
-
}
|
|
81
|
-
interface Owner {
|
|
82
|
-
'@attributes': Attributes5;
|
|
83
|
-
'ownership-date': string;
|
|
84
|
-
'owner-status': string;
|
|
85
|
-
}
|
|
86
|
-
interface BviCheck {
|
|
87
|
-
'registration'?: Registration;
|
|
88
|
-
'licence'?: Licence;
|
|
89
|
-
'wof'?: Wof;
|
|
90
|
-
'cof'?: Cof;
|
|
91
|
-
'ruc'?: Ruc;
|
|
92
|
-
'year-of-manufacture'?: string;
|
|
93
|
-
'make'?: string;
|
|
94
|
-
'model'?: string;
|
|
95
|
-
'mvr-model'?: string;
|
|
96
|
-
'body-style'?: string;
|
|
97
|
-
'vehicle-type'?: string;
|
|
98
|
-
'vin'?: string;
|
|
99
|
-
'chassis'?: string;
|
|
100
|
-
'engine-number'?: string;
|
|
101
|
-
'main-colour'?: string;
|
|
102
|
-
'cc-rating'?: string;
|
|
103
|
-
'country-of-origin'?: string;
|
|
104
|
-
'assembly-type'?: string;
|
|
105
|
-
'gross-vehicle-mass'?: string;
|
|
106
|
-
'number-of-seats'?: string;
|
|
107
|
-
'fuel-type'?: string;
|
|
108
|
-
'vehicle-usage'?: string;
|
|
109
|
-
'odometer-unit'?: string;
|
|
110
|
-
'plate'?: Plate;
|
|
111
|
-
'odometer-reading'?: OdometerReading;
|
|
112
|
-
'transmission'?: Transmission;
|
|
113
|
-
'model-code'?: string;
|
|
114
|
-
'model-variant'?: string;
|
|
115
|
-
}
|
|
116
|
-
interface MotorvehicleCheck extends BviCheck {
|
|
117
|
-
'number-of-owners'?: string;
|
|
118
|
-
owner?: Owner;
|
|
119
|
-
}
|
|
120
|
-
export {};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
export interface PolicyBenefit {
|
|
2
|
-
id?: number;
|
|
3
|
-
name?: string;
|
|
4
|
-
description?: string;
|
|
5
|
-
sort_order?: number;
|
|
6
|
-
icon?: string;
|
|
7
|
-
auto_select?: boolean;
|
|
8
|
-
template_id?: PolicyBenefitTemplate['id'];
|
|
9
|
-
}
|
|
10
|
-
export interface PolicyBenefitTemplate {
|
|
11
|
-
id?: number;
|
|
12
|
-
created_at?: string;
|
|
13
|
-
updated_at?: string;
|
|
14
|
-
name?: string;
|
|
15
|
-
sort_order?: number;
|
|
16
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { QuoteRequestPurchaseOption } from './QuoteRequestPurchaseOption';
|
|
2
|
-
export interface PolicyEnhancement {
|
|
3
|
-
id?: number;
|
|
4
|
-
name?: string;
|
|
5
|
-
description?: string;
|
|
6
|
-
premium?: number;
|
|
7
|
-
monthly_premium?: number;
|
|
8
|
-
disable_rounding?: boolean;
|
|
9
|
-
auto_select?: boolean;
|
|
10
|
-
sold_at?: string;
|
|
11
|
-
purchase_option_id?: QuoteRequestPurchaseOption['id'];
|
|
12
|
-
key?: string;
|
|
13
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { Group, User } from '../auth';
|
|
2
|
-
import { QuoteRequestReferrer } from './QuoteRequestReferrer';
|
|
3
|
-
import { QuoteRequestReferrerCategory } from './QuoteRequestReferrerCategory';
|
|
4
|
-
export interface PromoCode {
|
|
5
|
-
id?: number;
|
|
6
|
-
created_at?: string;
|
|
7
|
-
updated_at?: string;
|
|
8
|
-
code?: string;
|
|
9
|
-
user_id?: number;
|
|
10
|
-
group_id?: number;
|
|
11
|
-
referrer_id?: number;
|
|
12
|
-
referrer_category_id?: number;
|
|
13
|
-
advisor_type?: 'agent' | 'broker';
|
|
14
|
-
user?: User;
|
|
15
|
-
group?: Group;
|
|
16
|
-
referrer?: QuoteRequestReferrer;
|
|
17
|
-
category?: QuoteRequestReferrerCategory;
|
|
18
|
-
}
|
|
@@ -1,112 +0,0 @@
|
|
|
1
|
-
import { Payment } from '../payments';
|
|
2
|
-
import { BlacklistEntry } from './Blacklist';
|
|
3
|
-
import { Club } from './Club';
|
|
4
|
-
import { InformationRequest } from './InformationRequest';
|
|
5
|
-
import { Lead } from './Lead';
|
|
6
|
-
import { PostalAddress } from './PostalAddress';
|
|
7
|
-
import { QuoteRequestDeclaration } from './QuoteRequestDeclaration';
|
|
8
|
-
import { QuoteRequestLog } from './QuoteRequestLog';
|
|
9
|
-
import { QuoteRequestPurchaseOption } from './QuoteRequestPurchaseOption';
|
|
10
|
-
import { QuoteRequestReferrer } from './QuoteRequestReferrer';
|
|
11
|
-
import { QuoteRequestReferrerCategory } from './QuoteRequestReferrerCategory';
|
|
12
|
-
import { QuoteRequestVehicle } from './QuoteRequestVehicle';
|
|
13
|
-
import { StreetAddress } from './StreetAddress';
|
|
14
|
-
export type QuoteRequestStatus = 'new' | 'draft' | 'in-progress' | 'with-customer' | 'sold' | 'bound' | 'customer-modified' | 'closed';
|
|
15
|
-
export type QuoteRequestSource = 'web' | 'phone' | 'show' | 'existing-customer' | 'mighway' | 'agent' | 'broker' | 'entry-form' | 'bularangi' | 'eric-t' | 'referrer';
|
|
16
|
-
export type QuoteRequestAutomatch = 'quote' | 'email' | 'registration' | 'duplicate' | 'name-dob' | 'phone';
|
|
17
|
-
export interface QuoteRequestUser {
|
|
18
|
-
id: number;
|
|
19
|
-
name: string;
|
|
20
|
-
email: string;
|
|
21
|
-
}
|
|
22
|
-
export interface QuoteRequestUserGroup {
|
|
23
|
-
id: number;
|
|
24
|
-
name: string;
|
|
25
|
-
}
|
|
26
|
-
export interface Automatch {
|
|
27
|
-
client_number: string;
|
|
28
|
-
id: number;
|
|
29
|
-
matched_by: QuoteRequestAutomatch;
|
|
30
|
-
matched_by_value: string;
|
|
31
|
-
quote_request_id: string;
|
|
32
|
-
}
|
|
33
|
-
export interface QuoteRequest {
|
|
34
|
-
id?: string;
|
|
35
|
-
status?: QuoteRequestStatus;
|
|
36
|
-
source?: QuoteRequestSource;
|
|
37
|
-
reference?: string;
|
|
38
|
-
client_number?: string;
|
|
39
|
-
policy_number?: string;
|
|
40
|
-
first_name?: string;
|
|
41
|
-
last_name?: string;
|
|
42
|
-
phone?: string;
|
|
43
|
-
mobile?: string;
|
|
44
|
-
email?: string;
|
|
45
|
-
licence?: string;
|
|
46
|
-
licence_other?: string;
|
|
47
|
-
has_automatch?: boolean;
|
|
48
|
-
automatch_by?: QuoteRequestAutomatch;
|
|
49
|
-
automatch_registrations?: string;
|
|
50
|
-
promo_code?: string;
|
|
51
|
-
club_membership_number?: string;
|
|
52
|
-
broker_fee?: number;
|
|
53
|
-
length_of_insurance?: string;
|
|
54
|
-
theme?: string;
|
|
55
|
-
notes?: string;
|
|
56
|
-
purchase_options_summary?: string;
|
|
57
|
-
secondary_first_name?: string;
|
|
58
|
-
secondary_last_name?: string;
|
|
59
|
-
secondary_licence?: string;
|
|
60
|
-
secondary_licence_other?: string;
|
|
61
|
-
created_at?: string;
|
|
62
|
-
updated_at?: string;
|
|
63
|
-
dob?: string;
|
|
64
|
-
secondary_dob?: string;
|
|
65
|
-
sold_at?: string;
|
|
66
|
-
sent_at?: string;
|
|
67
|
-
pricing_expires_at?: string;
|
|
68
|
-
max_policy_starts_at?: string;
|
|
69
|
-
follow_up_at?: string;
|
|
70
|
-
resubmit_id?: QuoteRequest['id'];
|
|
71
|
-
referrer_id?: QuoteRequestReferrer['id'];
|
|
72
|
-
referrer_category_id?: QuoteRequestReferrerCategory['id'];
|
|
73
|
-
staff_member_id?: QuoteRequestUser['id'];
|
|
74
|
-
agent_id?: QuoteRequestUser['id'];
|
|
75
|
-
agent_firm_id?: QuoteRequestUserGroup['id'];
|
|
76
|
-
broker_firm_id?: QuoteRequestUserGroup['id'];
|
|
77
|
-
broker_id?: QuoteRequestUser['id'];
|
|
78
|
-
dealer_firm_id?: QuoteRequestUserGroup['id'];
|
|
79
|
-
dealer_id?: QuoteRequestUser['id'];
|
|
80
|
-
club_id?: Club['id'];
|
|
81
|
-
lead_id?: Lead['id'];
|
|
82
|
-
blacklist_entry_id?: BlacklistEntry['id'];
|
|
83
|
-
declaration?: QuoteRequestDeclaration;
|
|
84
|
-
street_address?: StreetAddress;
|
|
85
|
-
postal_address?: PostalAddress;
|
|
86
|
-
resubmit?: QuoteRequest;
|
|
87
|
-
referrer?: QuoteRequestReferrer;
|
|
88
|
-
referrer_category?: QuoteRequestReferrerCategory;
|
|
89
|
-
staff_member?: QuoteRequestUser;
|
|
90
|
-
agent?: QuoteRequestUser;
|
|
91
|
-
agent_firm?: QuoteRequestUserGroup;
|
|
92
|
-
broker?: QuoteRequestUser;
|
|
93
|
-
broker_firm?: QuoteRequestUserGroup;
|
|
94
|
-
dealer?: QuoteRequestUser;
|
|
95
|
-
dealer_firm?: QuoteRequestUserGroup;
|
|
96
|
-
club?: Club;
|
|
97
|
-
lead?: Lead;
|
|
98
|
-
vehicles?: QuoteRequestVehicle[];
|
|
99
|
-
purchase_options?: QuoteRequestPurchaseOption[];
|
|
100
|
-
logs?: QuoteRequestLog[];
|
|
101
|
-
information_requests?: InformationRequest[];
|
|
102
|
-
links?: {
|
|
103
|
-
purchase: string;
|
|
104
|
-
purchase_preview: string;
|
|
105
|
-
purchase_options_pdf: string;
|
|
106
|
-
documentation_pdf: string;
|
|
107
|
-
};
|
|
108
|
-
blacklist_entry?: BlacklistEntry;
|
|
109
|
-
is_follow_up_required: boolean;
|
|
110
|
-
payments?: Payment[];
|
|
111
|
-
automatches?: Automatch[];
|
|
112
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { QuoteRequest } from './QuoteRequest';
|
|
2
|
-
import { QuoteRequestIncident } from './QuoteRequestIncident';
|
|
3
|
-
export interface QuoteRequestDeclaration {
|
|
4
|
-
id?: number;
|
|
5
|
-
quote_request_id?: QuoteRequest['id'];
|
|
6
|
-
had_incident?: boolean;
|
|
7
|
-
incidents?: QuoteRequestIncident[];
|
|
8
|
-
has_demerit_points?: boolean;
|
|
9
|
-
demerit_points?: string;
|
|
10
|
-
has_lost_licence?: boolean;
|
|
11
|
-
lost_licence_details?: string;
|
|
12
|
-
was_refused_insurance?: boolean;
|
|
13
|
-
refused_insurance_details?: string;
|
|
14
|
-
has_criminal_conviction?: boolean;
|
|
15
|
-
criminal_conviction_details?: string;
|
|
16
|
-
has_vehicle_modifications?: boolean;
|
|
17
|
-
vehicle_modifications_details?: string;
|
|
18
|
-
has_previous_insurer?: boolean;
|
|
19
|
-
previous_insurer_details?: string;
|
|
20
|
-
previous_insurer_expires_at?: string;
|
|
21
|
-
additional_details?: string;
|
|
22
|
-
}
|
|
@@ -1,113 +0,0 @@
|
|
|
1
|
-
import { Product, VehicleType } from '../../api';
|
|
2
|
-
import { Club } from './Club';
|
|
3
|
-
import { QuoteRequestSource, QuoteRequestStatus, QuoteRequestUser, QuoteRequestUserGroup } from './QuoteRequest';
|
|
4
|
-
import { PaymentFrequency, PremiumType } from './QuoteRequestPurchaseOption';
|
|
5
|
-
import { QuoteRequestReferrer } from './QuoteRequestReferrer';
|
|
6
|
-
import { QuoteRequestReferrerCategory } from './QuoteRequestReferrerCategory';
|
|
7
|
-
export interface QuoteRequestForm {
|
|
8
|
-
id?: string;
|
|
9
|
-
status?: QuoteRequestStatus;
|
|
10
|
-
source?: QuoteRequestSource;
|
|
11
|
-
reference?: string;
|
|
12
|
-
client_number?: string;
|
|
13
|
-
first_name?: string;
|
|
14
|
-
last_name?: string;
|
|
15
|
-
phone?: string;
|
|
16
|
-
mobile?: string;
|
|
17
|
-
email?: string;
|
|
18
|
-
licence?: string;
|
|
19
|
-
licence_other?: string;
|
|
20
|
-
promo_code?: string;
|
|
21
|
-
club_membership_number?: string;
|
|
22
|
-
broker_fee?: number;
|
|
23
|
-
length_of_insurance?: string;
|
|
24
|
-
theme?: string;
|
|
25
|
-
notes?: string;
|
|
26
|
-
dob?: string;
|
|
27
|
-
sold_at?: string;
|
|
28
|
-
sent_at?: string;
|
|
29
|
-
pricing_expires_at?: string;
|
|
30
|
-
follow_up_at?: string;
|
|
31
|
-
referrer_id?: QuoteRequestReferrer['id'];
|
|
32
|
-
referrer_category_id?: QuoteRequestReferrerCategory['id'];
|
|
33
|
-
staff_member_id?: QuoteRequestUser['id'];
|
|
34
|
-
agent_id?: QuoteRequestUser['id'];
|
|
35
|
-
agent_firm_id?: QuoteRequestUserGroup['id'];
|
|
36
|
-
broker_firm_id?: QuoteRequestUserGroup['id'];
|
|
37
|
-
broker_id?: QuoteRequestUser['id'];
|
|
38
|
-
club_id?: Club['id'];
|
|
39
|
-
street_address: {
|
|
40
|
-
id?: number;
|
|
41
|
-
address?: string;
|
|
42
|
-
unit?: string;
|
|
43
|
-
suburb?: string;
|
|
44
|
-
city?: string;
|
|
45
|
-
post_code?: string;
|
|
46
|
-
};
|
|
47
|
-
declaration: {
|
|
48
|
-
id?: number;
|
|
49
|
-
had_incident?: boolean;
|
|
50
|
-
incidents: {
|
|
51
|
-
year?: string;
|
|
52
|
-
month?: string;
|
|
53
|
-
description?: string;
|
|
54
|
-
}[];
|
|
55
|
-
has_demerit_points?: boolean;
|
|
56
|
-
demerit_points?: string;
|
|
57
|
-
has_lost_licence?: boolean;
|
|
58
|
-
lost_licence_details?: string;
|
|
59
|
-
was_refused_insurance?: boolean;
|
|
60
|
-
refused_insurance_details?: string;
|
|
61
|
-
has_criminal_conviction?: boolean;
|
|
62
|
-
criminal_conviction_details?: string;
|
|
63
|
-
has_vehicle_modifications?: boolean;
|
|
64
|
-
vehicle_modifications_details?: string;
|
|
65
|
-
has_previous_insurer?: boolean;
|
|
66
|
-
previous_insurer_details?: string;
|
|
67
|
-
previous_insurer_expires_at?: string;
|
|
68
|
-
additional_details?: string;
|
|
69
|
-
};
|
|
70
|
-
vehicles: {
|
|
71
|
-
id?: number;
|
|
72
|
-
vehicle_type?: VehicleType;
|
|
73
|
-
registration?: string;
|
|
74
|
-
make?: string;
|
|
75
|
-
model?: string;
|
|
76
|
-
year?: string;
|
|
77
|
-
usage?: string;
|
|
78
|
-
product?: Product;
|
|
79
|
-
has_financially_interested_party?: boolean;
|
|
80
|
-
financially_interested_party_detail?: string;
|
|
81
|
-
owned_duration?: string;
|
|
82
|
-
value?: number;
|
|
83
|
-
storage_location?: string;
|
|
84
|
-
is_heavy?: boolean;
|
|
85
|
-
main_driver?: string;
|
|
86
|
-
drivers: {
|
|
87
|
-
id?: number;
|
|
88
|
-
first_name?: string;
|
|
89
|
-
last_name?: string;
|
|
90
|
-
dob?: string;
|
|
91
|
-
relationship?: string;
|
|
92
|
-
licence?: string;
|
|
93
|
-
licence_other?: string;
|
|
94
|
-
}[];
|
|
95
|
-
}[];
|
|
96
|
-
purchase_options: {
|
|
97
|
-
id?: number;
|
|
98
|
-
level_of_insurance_id?: number;
|
|
99
|
-
sort_order?: number;
|
|
100
|
-
description?: string;
|
|
101
|
-
base_premium?: number;
|
|
102
|
-
premium?: number;
|
|
103
|
-
monthly_premium?: number;
|
|
104
|
-
show_monthly?: boolean;
|
|
105
|
-
fsl?: number;
|
|
106
|
-
gst?: number;
|
|
107
|
-
premium_type?: PremiumType;
|
|
108
|
-
policy_starts_at?: string;
|
|
109
|
-
sold_at?: string;
|
|
110
|
-
is_paid?: boolean;
|
|
111
|
-
payment_frequency?: PaymentFrequency;
|
|
112
|
-
}[];
|
|
113
|
-
}
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
import { VehicleType } from '../../api';
|
|
2
|
-
export interface QuoteRequestOptions {
|
|
3
|
-
club_options: SimpleOption[];
|
|
4
|
-
driver_licence_options: SimpleOption[];
|
|
5
|
-
incident_options: SimpleOption[];
|
|
6
|
-
insurance_companies: SimpleOption[];
|
|
7
|
-
level_of_insurance_options: SimpleOption[];
|
|
8
|
-
policy_description_options: SimpleOption[];
|
|
9
|
-
referrer_category_options: (SimpleOption & {
|
|
10
|
-
is_public: boolean;
|
|
11
|
-
})[];
|
|
12
|
-
relationship_options: SimpleOption[];
|
|
13
|
-
storage_location_options: SimpleOption[];
|
|
14
|
-
vehicle_usage_options: {
|
|
15
|
-
id: number;
|
|
16
|
-
name: string;
|
|
17
|
-
vehicle_type: VehicleType;
|
|
18
|
-
}[];
|
|
19
|
-
policy_benefit_template_options: SimpleOption[];
|
|
20
|
-
referrer_options: {
|
|
21
|
-
id: number;
|
|
22
|
-
name: string;
|
|
23
|
-
category_id: number;
|
|
24
|
-
is_public: boolean;
|
|
25
|
-
}[];
|
|
26
|
-
policy_benefit_options: {
|
|
27
|
-
id: number;
|
|
28
|
-
name: string;
|
|
29
|
-
description: string;
|
|
30
|
-
auto_select: boolean;
|
|
31
|
-
template_id: number;
|
|
32
|
-
sort_order: number;
|
|
33
|
-
}[];
|
|
34
|
-
policy_enhancement_options: {
|
|
35
|
-
id: number;
|
|
36
|
-
name: string;
|
|
37
|
-
description: string;
|
|
38
|
-
premium: number;
|
|
39
|
-
disable_rounding: boolean;
|
|
40
|
-
auto_select: boolean;
|
|
41
|
-
}[];
|
|
42
|
-
authorised_drivers_options: {
|
|
43
|
-
id: number;
|
|
44
|
-
name: string;
|
|
45
|
-
description: string;
|
|
46
|
-
}[];
|
|
47
|
-
terms_options: {
|
|
48
|
-
id: number;
|
|
49
|
-
name: string;
|
|
50
|
-
description: string;
|
|
51
|
-
}[];
|
|
52
|
-
excess_options: {
|
|
53
|
-
id: number;
|
|
54
|
-
name: string;
|
|
55
|
-
description: string;
|
|
56
|
-
}[];
|
|
57
|
-
}
|
|
58
|
-
interface SimpleOption {
|
|
59
|
-
id: number;
|
|
60
|
-
name: string;
|
|
61
|
-
}
|
|
62
|
-
export {};
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { PolicyBenefit, PolicyBenefitTemplate } from './PolicyBenefit';
|
|
2
|
-
import { PolicyEnhancement } from './PolicyEnhancement';
|
|
3
|
-
export interface QuoteRequestPurchaseOption {
|
|
4
|
-
id?: number;
|
|
5
|
-
quote_request_id?: string;
|
|
6
|
-
level_of_insurance_id?: number;
|
|
7
|
-
policy_number?: string;
|
|
8
|
-
sort_order?: number;
|
|
9
|
-
description?: string;
|
|
10
|
-
premium?: number;
|
|
11
|
-
monthly_premium?: number;
|
|
12
|
-
purchased_total?: number;
|
|
13
|
-
show_monthly?: boolean;
|
|
14
|
-
fsl?: number;
|
|
15
|
-
gst?: number;
|
|
16
|
-
premium_type?: PremiumType;
|
|
17
|
-
policy_starts_at?: string;
|
|
18
|
-
sold_at?: string;
|
|
19
|
-
is_paid?: boolean;
|
|
20
|
-
payment_frequency?: PaymentFrequency;
|
|
21
|
-
excess_details?: string;
|
|
22
|
-
terms?: string;
|
|
23
|
-
authorised_drivers?: string;
|
|
24
|
-
is_draft?: boolean;
|
|
25
|
-
is_direct_debit?: boolean;
|
|
26
|
-
benefit_template_id?: number;
|
|
27
|
-
level_of_insurance?: LevelOfInsurance;
|
|
28
|
-
enhancements?: PolicyEnhancement[];
|
|
29
|
-
benefits?: PolicyBenefit[];
|
|
30
|
-
benefit_template?: PolicyBenefitTemplate;
|
|
31
|
-
key?: string;
|
|
32
|
-
}
|
|
33
|
-
export type PremiumType = 'annual' | 'total-due';
|
|
34
|
-
export type PaymentFrequency = 'monthly' | 'annually';
|
|
35
|
-
export interface LevelOfInsurance {
|
|
36
|
-
id: number;
|
|
37
|
-
name: string;
|
|
38
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { QuoteRequestReferrerCategory } from './QuoteRequestReferrerCategory';
|
|
2
|
-
export interface QuoteRequestReferrer {
|
|
3
|
-
id: number;
|
|
4
|
-
name: string;
|
|
5
|
-
category_id: QuoteRequestReferrerCategory['id'];
|
|
6
|
-
category?: QuoteRequestReferrerCategory;
|
|
7
|
-
key?: string;
|
|
8
|
-
is_public: boolean;
|
|
9
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { Product, VehicleType } from '../../api';
|
|
2
|
-
import { QuoteRequestVehicleDriver } from './QuoteRequestVehicleDriver';
|
|
3
|
-
export interface QuoteRequestVehicle {
|
|
4
|
-
id?: number;
|
|
5
|
-
vehicle_type?: VehicleType;
|
|
6
|
-
registration?: string;
|
|
7
|
-
make?: string;
|
|
8
|
-
model?: string;
|
|
9
|
-
year?: string;
|
|
10
|
-
usage?: string;
|
|
11
|
-
product?: Product;
|
|
12
|
-
has_financially_interested_party?: boolean;
|
|
13
|
-
financially_interested_party_detail?: string;
|
|
14
|
-
owned_duration?: string;
|
|
15
|
-
value?: number;
|
|
16
|
-
storage_location?: string;
|
|
17
|
-
storage_location_other?: string;
|
|
18
|
-
is_heavy?: boolean;
|
|
19
|
-
quote_request_id?: string;
|
|
20
|
-
drivers?: QuoteRequestVehicleDriver[];
|
|
21
|
-
key?: string;
|
|
22
|
-
main_driver?: string;
|
|
23
|
-
}
|