-
Notifications
You must be signed in to change notification settings - Fork 0
/
global.d.ts
137 lines (135 loc) · 2.97 KB
/
global.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
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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
type CarData = {
car_id: number;
status_id: number;
user_id: number;
dealer_user_id: number;
paid_add: number;
photo: string;
pic_number: number;
prod_year: number;
prod_month: number;
man_id: number;
car_model: string;
price: number;
price_usd: number;
first_deposit: number;
price_value: number;
fuel_type_id: number;
gear_type_id: number;
drive_type_id: number;
door_type_id: number;
color_id: number;
saloon_color_id: number;
cylinders: number;
car_run: number;
car_run_km: number;
car_run_dim: number;
engine_volume: number;
airbags: number;
abs: boolean;
esd: boolean;
el_windows: boolean;
conditioner: boolean;
leather: boolean;
disks: boolean;
nav_system: boolean;
central_lock: boolean;
hatch: boolean;
right_wheel: boolean;
alarm: boolean;
board_comp: boolean;
hydraulics: boolean;
chair_warming: boolean;
climat_control: boolean;
obstacle_indicator: boolean;
customs_passed: boolean;
client_name: string;
client_phone: number;
model_id: number;
location_id: number;
parent_loc_id: number;
tech_inspection: boolean;
checked_for_duplicates: boolean;
order_number: number;
stickers: null | unknown;
changable: boolean;
auction: boolean;
has_turbo: boolean;
for_rent: boolean;
rent_daily: boolean;
rent_purchase: boolean;
rent_insured: boolean;
rent_driver: boolean;
currency_id: number;
vehicle_type: number;
category_id: number;
vin: string;
user_type: null | unknown;
prom_color: number;
special_persons: boolean;
back_camera: boolean;
car_desc: string;
order_date: string;
video_url: string;
hp: number;
hours_used: number;
photo_ver: number;
checked: boolean;
lang_type_id: number;
el_starter: number;
start_stop: boolean;
trunk: boolean;
windshield: boolean;
inspected_in_greenway: boolean;
license_number: string;
words_checked: number;
is_payd: boolean;
condition_type_id: number;
primary_damage_type: number;
secondary_damage_type: number;
auction_has_key: number;
is_auction: number;
saloon_material_id: number;
map_lat: number;
map_long: number;
zoom: number;
predicted_price: string;
hdd: number;
map_title: string;
has_catalyst: number;
tmp: string;
views: number;
dealerId: null | unknown;
has_logo: null | unknown;
logo_ver: null | unknown;
active_ads: null | unknown;
dealer_title: null | unknown;
has_predicted_price: boolean;
pred_first_breakpoint: number;
pred_second_breakpoint: number;
pred_min_price: number;
pred_max_price: number;
comfort_features: number[];
};
type Manufacturer = {
man_id: string;
man_name: string;
is_car: string;
is_spec: string;
is_moto: string;
};
type CarModel = {
model_id: number;
man_id: number;
model_name: string;
model_group: string;
sort_order: number;
cat_man_id: number;
cat_model_id: number;
cat_modif_id: number;
is_car: boolean;
is_moto: boolean;
is_spec: boolean;
show_in_salons: number;
shown_in_slider: number;
};