-
Notifications
You must be signed in to change notification settings - Fork 1
/
typings.d.ts
59 lines (56 loc) · 1008 Bytes
/
typings.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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
export interface Vehicle {
grade: {
description: string;
value: number;
};
id: string;
images: string[];
inspectionSections: Section[];
metaData: {
manex2021: boolean;
};
offsiteAnnouncements: [];
offsiteRemarks: [];
titleInformation: {
brandings: [];
status: string;
state?: string;
};
type: string;
vehicleDetails: {
driveTrain: string;
engine: string;
exteriorColor: string;
interiorColor: string;
make: string;
model: string;
odometer: number;
sellerName: string;
transmission: string;
trim: string;
vin: string;
year: number;
};
}
export type Section = {
name: string;
responses: Response[];
};
export type Response = {
guid: string;
question: {
buyerTranslation: string;
id: string;
section: string;
};
answers: IAnswers[];
};
export type IAnswers = {
answer: {
connotation: number;
value: string;
noteLabel?: string;
};
notes?: string;
value: string;
};