@bytebrand/export-cars 1.22.26 → 1.22.28
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/constants/fb.constants.d.ts +3 -3
- package/dist/constants/fb.constants.js +3 -3
- package/dist/constants/fb.constants.js.map +1 -1
- package/dist/formats/google-xml.builder.js +11 -11
- package/dist/transformers/fb.transformer.js +2 -2
- package/dist/transformers/fb.transformer.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/constants/fb.constants.ts +3 -3
- package/src/formats/google-xml.builder.ts +80 -80
- package/src/interfaces/export-item.interface.ts +425 -425
- package/src/transformers/fb.transformer.ts +2 -2
- package/src/transformers/google.transformer.ts +584 -584
|
@@ -1,426 +1,426 @@
|
|
|
1
|
-
import { DataSchemes } from '@bytebrand/car-schema';
|
|
2
|
-
|
|
3
|
-
import { IAtributeWrapItem } from './atributes-wrap-item.intreface';
|
|
4
|
-
import { Description } from './description.interface';
|
|
5
|
-
|
|
6
|
-
export interface FbXmlItem {
|
|
7
|
-
url: string;
|
|
8
|
-
title: string;
|
|
9
|
-
content: string;
|
|
10
|
-
price: string;
|
|
11
|
-
make: string;
|
|
12
|
-
model: string;
|
|
13
|
-
engine_size: string;
|
|
14
|
-
trim: string;
|
|
15
|
-
body_type: string;
|
|
16
|
-
color: string;
|
|
17
|
-
year: string;
|
|
18
|
-
fuel_type: string;
|
|
19
|
-
transmission: string;
|
|
20
|
-
power: string;
|
|
21
|
-
doors: string;
|
|
22
|
-
seats: string;
|
|
23
|
-
gears: string;
|
|
24
|
-
pictures: string[];
|
|
25
|
-
vin: string;
|
|
26
|
-
is_new: string;
|
|
27
|
-
date: string;
|
|
28
|
-
time: string;
|
|
29
|
-
location: {
|
|
30
|
-
city: string;
|
|
31
|
-
postcode: string;
|
|
32
|
-
region: string;
|
|
33
|
-
};
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
export interface Auto24XmlItem {
|
|
37
|
-
autodeid: string;
|
|
38
|
-
userlink: string;
|
|
39
|
-
brand: string;
|
|
40
|
-
modell: string;
|
|
41
|
-
cartype: string;
|
|
42
|
-
variant: string;
|
|
43
|
-
bodytype: string;
|
|
44
|
-
fueltype: string;
|
|
45
|
-
consumptionK: string;
|
|
46
|
-
co2: string;
|
|
47
|
-
efficiencyclass: string;
|
|
48
|
-
image: string;
|
|
49
|
-
registration: string;
|
|
50
|
-
images: string[];
|
|
51
|
-
price: string;
|
|
52
|
-
power: string;
|
|
53
|
-
zip: string;
|
|
54
|
-
city: string;
|
|
55
|
-
mileage: string;
|
|
56
|
-
companyname: string;
|
|
57
|
-
extras: string;
|
|
58
|
-
sellertype: string;
|
|
59
|
-
condition: string;
|
|
60
|
-
dealer_homepage_url: string;
|
|
61
|
-
dealer_email: string;
|
|
62
|
-
dealer_name: string;
|
|
63
|
-
dealer_phone: string;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
export interface OoyyoXmlItem extends FbXmlItem {
|
|
67
|
-
euronorm: string;
|
|
68
|
-
mileage: string;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
export interface MeinstadtJsonItem {
|
|
72
|
-
id: string;
|
|
73
|
-
make: string;
|
|
74
|
-
model: string;
|
|
75
|
-
cpc: string;
|
|
76
|
-
listingUrl: string;
|
|
77
|
-
title: string;
|
|
78
|
-
accidentFree: boolean;
|
|
79
|
-
mileage: number;
|
|
80
|
-
initialRegistration: string;
|
|
81
|
-
offerCreationDate: string;
|
|
82
|
-
numberOfDoors: number;
|
|
83
|
-
numberOfSeats: number;
|
|
84
|
-
numberOfPreviousOwners: number;
|
|
85
|
-
price: number;
|
|
86
|
-
powerPS: string;
|
|
87
|
-
powerKS: string;
|
|
88
|
-
co2Emissions: number;
|
|
89
|
-
fuelConsumptionCombined: number;
|
|
90
|
-
equipment: string;
|
|
91
|
-
color: string;
|
|
92
|
-
bodyType: string;
|
|
93
|
-
emissionClass: string;
|
|
94
|
-
emissionSticker: string;
|
|
95
|
-
fuelType: string;
|
|
96
|
-
transmissionType: string;
|
|
97
|
-
sellerType: string;
|
|
98
|
-
usageState: string;
|
|
99
|
-
imagesCount: number;
|
|
100
|
-
images: string;
|
|
101
|
-
power: number;
|
|
102
|
-
'transmissionType/transmission': string;
|
|
103
|
-
'customerType/sellerType': string;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
export interface AutouncleJsonItem {
|
|
107
|
-
back_link: string;
|
|
108
|
-
make: string;
|
|
109
|
-
model_name: string;
|
|
110
|
-
model_variant: string;
|
|
111
|
-
fuel: string;
|
|
112
|
-
body: string;
|
|
113
|
-
doors: string;
|
|
114
|
-
price: string;
|
|
115
|
-
year: string;
|
|
116
|
-
mileage: string;
|
|
117
|
-
leasing: string;
|
|
118
|
-
color: string;
|
|
119
|
-
engine_size: string;
|
|
120
|
-
power: string;
|
|
121
|
-
gear_type: string;
|
|
122
|
-
has_4wd: string;
|
|
123
|
-
seller_type: string;
|
|
124
|
-
seller_region: string;
|
|
125
|
-
seller_city: string;
|
|
126
|
-
seller_street_address: string;
|
|
127
|
-
seller_postcode: string;
|
|
128
|
-
seller_name: string;
|
|
129
|
-
seller_id: string;
|
|
130
|
-
description: string;
|
|
131
|
-
images: { url: string }[];
|
|
132
|
-
fuel_economy: string;
|
|
133
|
-
co2_emission: string;
|
|
134
|
-
co2_effiency_class: string;
|
|
135
|
-
euro_emission_class: string;
|
|
136
|
-
enviromental_sticker: string;
|
|
137
|
-
status: string;
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
export interface CriteoXmlItem {
|
|
141
|
-
id: string;
|
|
142
|
-
title: string;
|
|
143
|
-
description: string;
|
|
144
|
-
google_product_category: string;
|
|
145
|
-
product_type: string;
|
|
146
|
-
link: string;
|
|
147
|
-
image_link: string;
|
|
148
|
-
condition: string;
|
|
149
|
-
availability: string;
|
|
150
|
-
brand: any;
|
|
151
|
-
price: string;
|
|
152
|
-
sale_price: string;
|
|
153
|
-
energy_efficiency_class: string;
|
|
154
|
-
color: string;
|
|
155
|
-
installment: { paybackPeriod: any; monthlyInstallment: any };
|
|
156
|
-
custom_label_0: string;
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
export interface GoogleXmlItem {
|
|
160
|
-
id: string;
|
|
161
|
-
title: string;
|
|
162
|
-
description: string;
|
|
163
|
-
google_product_category: string;
|
|
164
|
-
product_type: string;
|
|
165
|
-
link: string;
|
|
166
|
-
image_link: string;
|
|
167
|
-
condition: string;
|
|
168
|
-
brand: any;
|
|
169
|
-
price: string;
|
|
170
|
-
color: string;
|
|
171
|
-
|
|
172
|
-
sale_price?: string;
|
|
173
|
-
availability?: string;
|
|
174
|
-
energy_efficiency_class?: string;
|
|
175
|
-
installment?: { paybackPeriod: any; monthlyInstallment: any; apr: string };
|
|
176
|
-
vehicle_msrp?: string;
|
|
177
|
-
|
|
178
|
-
vehicle_fulfillment: {
|
|
179
|
-
option: string;
|
|
180
|
-
store_code: string;
|
|
181
|
-
};
|
|
182
|
-
certification?: Array<{
|
|
183
|
-
certification_authority: string;
|
|
184
|
-
certification_name: string;
|
|
185
|
-
certification_code?: string;
|
|
186
|
-
certification_value?: string;
|
|
187
|
-
}>;
|
|
188
|
-
link_template: string;
|
|
189
|
-
additional_image_link: string[];
|
|
190
|
-
model: string;
|
|
191
|
-
VIN?: string;
|
|
192
|
-
trim: string;
|
|
193
|
-
year: number;
|
|
194
|
-
mileage: string;
|
|
195
|
-
vehicle_option: string[];
|
|
196
|
-
body_style?: string,
|
|
197
|
-
engine: string,
|
|
198
|
-
transmission?: string;
|
|
199
|
-
drive?: string;
|
|
200
|
-
doors?: number;
|
|
201
|
-
capacity?: number;
|
|
202
|
-
date_first_registered: string,
|
|
203
|
-
fuel_consumption: string,
|
|
204
|
-
energy_consumption?: string,
|
|
205
|
-
electric_range?: string,
|
|
206
|
-
fuel_consumption_discharged_battery?: string,
|
|
207
|
-
co2_emissions: string,
|
|
208
|
-
identifier_exists: string,
|
|
209
|
-
ads_redirect?: string;
|
|
210
|
-
"certified_pre-owned"?: boolean;
|
|
211
|
-
custom_label_0?: string;
|
|
212
|
-
custom_label_1?: string,
|
|
213
|
-
custom_label_2?: string,
|
|
214
|
-
custom_label_3?: string,
|
|
215
|
-
custom_label_4?: string,
|
|
216
|
-
}
|
|
217
|
-
|
|
218
|
-
export interface RubrikkXmlItem {
|
|
219
|
-
ad__all_imageurls: string[];
|
|
220
|
-
ad__condition_new_used_etc: string;
|
|
221
|
-
ad__description: string;
|
|
222
|
-
ad__headline: string;
|
|
223
|
-
ad__imageurl: string;
|
|
224
|
-
ad__price: number;
|
|
225
|
-
ad__price_currency: string;
|
|
226
|
-
product__type: string;
|
|
227
|
-
ad__url: string;
|
|
228
|
-
efficiency_class: string;
|
|
229
|
-
ad__number_ad__number_reference_id: string;
|
|
230
|
-
category_original: string;
|
|
231
|
-
maincategory_original: string;
|
|
232
|
-
advertiser__company_homepage_url: string;
|
|
233
|
-
advertiser__company_logo_url: string;
|
|
234
|
-
advertiser__email: string;
|
|
235
|
-
advertiser__name_company_name: string;
|
|
236
|
-
advertiser__phone: string;
|
|
237
|
-
location__country: string;
|
|
238
|
-
location__municipality_city: string;
|
|
239
|
-
location__zip_postal_code: string;
|
|
240
|
-
motoring__body_type: string;
|
|
241
|
-
motoring__color: string;
|
|
242
|
-
motoring__drivetrain: string;
|
|
243
|
-
motoring__emission_class: string;
|
|
244
|
-
motoring__emission_co2: number;
|
|
245
|
-
motoring__emission_co2_unit: string;
|
|
246
|
-
motoring__emission_sticker: string;
|
|
247
|
-
motoring__engine_displacement_cubic_centimeters: number;
|
|
248
|
-
motoring__fuel_consumption_combined: number;
|
|
249
|
-
motoring__fuel_consumption_extra_urban: number;
|
|
250
|
-
motoring__fuel_consumption_extra_urban_unit: string;
|
|
251
|
-
motoring__fuel_consumption_combined_unit: string;
|
|
252
|
-
motoring__fuel_consumption_urban: number;
|
|
253
|
-
motoring__fuel_consumption_urban_unit: string;
|
|
254
|
-
motoring__fuel_type: string;
|
|
255
|
-
motoring__make: string;
|
|
256
|
-
motoring__mileage_kilometers: number;
|
|
257
|
-
motoring__model: string;
|
|
258
|
-
motoring__model_year: string;
|
|
259
|
-
motoring__number_of_doors: number;
|
|
260
|
-
motoring__number_of_seats: number;
|
|
261
|
-
motoring__power_kw: number;
|
|
262
|
-
motoring__power_hp: number;
|
|
263
|
-
motoring__transmission: string;
|
|
264
|
-
}
|
|
265
|
-
|
|
266
|
-
export interface ModixXmlItem {
|
|
267
|
-
maindata: {
|
|
268
|
-
category: IAtributeWrapItem;
|
|
269
|
-
manufacturer: IAtributeWrapItem;
|
|
270
|
-
model: IAtributeWrapItem;
|
|
271
|
-
submodel: IAtributeWrapItem;
|
|
272
|
-
mileage: IAtributeWrapItem;
|
|
273
|
-
cylinderCapacity: IAtributeWrapItem;
|
|
274
|
-
enginePower: IAtributeWrapItem;
|
|
275
|
-
fuel: IAtributeWrapItem;
|
|
276
|
-
accident: IAtributeWrapItem;
|
|
277
|
-
transmission: IAtributeWrapItem;
|
|
278
|
-
usageCategory: IAtributeWrapItem;
|
|
279
|
-
bodyStyle: IAtributeWrapItem;
|
|
280
|
-
isOnline: IAtributeWrapItem;
|
|
281
|
-
};
|
|
282
|
-
bodyColors: bodyColorItem;
|
|
283
|
-
dates: mapSameTagsItem[];
|
|
284
|
-
identification: identificationItem;
|
|
285
|
-
prices: priceItem;
|
|
286
|
-
images: imageItem;
|
|
287
|
-
dealer: dealerItem;
|
|
288
|
-
options: Omit<DataSchemes.Car, 'state'>;
|
|
289
|
-
}
|
|
290
|
-
|
|
291
|
-
export interface mapSameTagsItem {
|
|
292
|
-
tag: string;
|
|
293
|
-
value: any;
|
|
294
|
-
atributes?: any;
|
|
295
|
-
}
|
|
296
|
-
|
|
297
|
-
export interface tagWrapperItem {
|
|
298
|
-
[key: string]: { value: any; atributes?: any };
|
|
299
|
-
}
|
|
300
|
-
|
|
301
|
-
export interface bodyColorItem {
|
|
302
|
-
id: number;
|
|
303
|
-
data: {
|
|
304
|
-
name: IAtributeWrapItem;
|
|
305
|
-
description: IAtributeWrapItem;
|
|
306
|
-
paint: IAtributeWrapItem;
|
|
307
|
-
};
|
|
308
|
-
}
|
|
309
|
-
|
|
310
|
-
export interface identificationItem {
|
|
311
|
-
hsnTsn: {
|
|
312
|
-
hsn: IAtributeWrapItem;
|
|
313
|
-
tsn: IAtributeWrapItem;
|
|
314
|
-
};
|
|
315
|
-
vin: IAtributeWrapItem;
|
|
316
|
-
datEuropacode: IAtributeWrapItem;
|
|
317
|
-
schwackecode: IAtributeWrapItem;
|
|
318
|
-
}
|
|
319
|
-
|
|
320
|
-
export interface imageItem {
|
|
321
|
-
url: string;
|
|
322
|
-
imageList: IAtributeWrapItem[];
|
|
323
|
-
}
|
|
324
|
-
|
|
325
|
-
export interface priceItem {
|
|
326
|
-
vatReclaimable: boolean;
|
|
327
|
-
grossPrice: IAtributeWrapItem;
|
|
328
|
-
}
|
|
329
|
-
|
|
330
|
-
export interface dealerItem {
|
|
331
|
-
address: {
|
|
332
|
-
company: IAtributeWrapItem;
|
|
333
|
-
street: IAtributeWrapItem;
|
|
334
|
-
city: IAtributeWrapItem;
|
|
335
|
-
zip: IAtributeWrapItem;
|
|
336
|
-
country: IAtributeWrapItem;
|
|
337
|
-
phone: IAtributeWrapItem;
|
|
338
|
-
fax: IAtributeWrapItem;
|
|
339
|
-
email: IAtributeWrapItem;
|
|
340
|
-
homepage: IAtributeWrapItem;
|
|
341
|
-
};
|
|
342
|
-
imprint: {
|
|
343
|
-
registerId: IAtributeWrapItem;
|
|
344
|
-
representitive: IAtributeWrapItem;
|
|
345
|
-
vatid: IAtributeWrapItem;
|
|
346
|
-
};
|
|
347
|
-
}
|
|
348
|
-
|
|
349
|
-
export interface FacebookShopItem {
|
|
350
|
-
id: FacebookShopTag;
|
|
351
|
-
title: FacebookShopTag;
|
|
352
|
-
description: { value: Description[]; isGoogle: boolean };
|
|
353
|
-
availability: FacebookShopTag;
|
|
354
|
-
condition: FacebookShopTag;
|
|
355
|
-
price: FacebookShopTag;
|
|
356
|
-
link: FacebookShopTag;
|
|
357
|
-
image_link: FacebookShopTag;
|
|
358
|
-
additional_image_link: FacebookShopTag;
|
|
359
|
-
brand: FacebookShopTag;
|
|
360
|
-
|
|
361
|
-
quantity_to_sell_on_facebook: FacebookShopTag;
|
|
362
|
-
google_product_category: FacebookShopTag;
|
|
363
|
-
sale_price: FacebookShopTag;
|
|
364
|
-
status: FacebookShopTag;
|
|
365
|
-
color: FacebookShopTag;
|
|
366
|
-
product_type: FacebookShopTag;
|
|
367
|
-
}
|
|
368
|
-
|
|
369
|
-
export interface FacebookShopTag {
|
|
370
|
-
isGoogle: boolean;
|
|
371
|
-
value: any;
|
|
372
|
-
}
|
|
373
|
-
|
|
374
|
-
export interface TrovitXmlItem {
|
|
375
|
-
id: IAtributeWrapItem;
|
|
376
|
-
url: IAtributeWrapItem;
|
|
377
|
-
title: IAtributeWrapItem;
|
|
378
|
-
content: IAtributeWrapItem;
|
|
379
|
-
price: IAtributeWrapItem;
|
|
380
|
-
car_type: IAtributeWrapItem;
|
|
381
|
-
dealer: IAtributeWrapItem;
|
|
382
|
-
postcode: IAtributeWrapItem;
|
|
383
|
-
vin_database: IAtributeWrapItem;
|
|
384
|
-
make: IAtributeWrapItem;
|
|
385
|
-
model: IAtributeWrapItem;
|
|
386
|
-
color: IAtributeWrapItem;
|
|
387
|
-
year: IAtributeWrapItem;
|
|
388
|
-
mileage: IAtributeWrapItem;
|
|
389
|
-
doors: IAtributeWrapItem;
|
|
390
|
-
seats: IAtributeWrapItem;
|
|
391
|
-
engine_size: IAtributeWrapItem;
|
|
392
|
-
cylinders: IAtributeWrapItem;
|
|
393
|
-
fuel: IAtributeWrapItem;
|
|
394
|
-
transmission: IAtributeWrapItem;
|
|
395
|
-
power: IAtributeWrapItem;
|
|
396
|
-
fuel_consumption: IAtributeWrapItem;
|
|
397
|
-
co2_emissions: IAtributeWrapItem;
|
|
398
|
-
pictures: Array<string>;
|
|
399
|
-
is_new: IAtributeWrapItem;
|
|
400
|
-
}
|
|
401
|
-
|
|
402
|
-
export interface Awin {
|
|
403
|
-
product_id: string;
|
|
404
|
-
product_name: string;
|
|
405
|
-
brand_name: string;
|
|
406
|
-
product_model: string;
|
|
407
|
-
deep_link: string;
|
|
408
|
-
image_url: string;
|
|
409
|
-
alternate_image: string;
|
|
410
|
-
alternate_image_two: string;
|
|
411
|
-
alternate_image_three: string;
|
|
412
|
-
alternate_image_four: string;
|
|
413
|
-
price: number | string;
|
|
414
|
-
currency: string;
|
|
415
|
-
rrp_price: number | string;
|
|
416
|
-
saving: number | string;
|
|
417
|
-
savings_percent: number | string;
|
|
418
|
-
colour: string;
|
|
419
|
-
condition: string;
|
|
420
|
-
delivery_time: string;
|
|
421
|
-
last_updated: string;
|
|
422
|
-
merchant_category: string;
|
|
423
|
-
warranty: string;
|
|
424
|
-
energy_label: string;
|
|
425
|
-
description: string;
|
|
1
|
+
import { DataSchemes } from '@bytebrand/car-schema';
|
|
2
|
+
|
|
3
|
+
import { IAtributeWrapItem } from './atributes-wrap-item.intreface';
|
|
4
|
+
import { Description } from './description.interface';
|
|
5
|
+
|
|
6
|
+
export interface FbXmlItem {
|
|
7
|
+
url: string;
|
|
8
|
+
title: string;
|
|
9
|
+
content: string;
|
|
10
|
+
price: string;
|
|
11
|
+
make: string;
|
|
12
|
+
model: string;
|
|
13
|
+
engine_size: string;
|
|
14
|
+
trim: string;
|
|
15
|
+
body_type: string;
|
|
16
|
+
color: string;
|
|
17
|
+
year: string;
|
|
18
|
+
fuel_type: string;
|
|
19
|
+
transmission: string;
|
|
20
|
+
power: string;
|
|
21
|
+
doors: string;
|
|
22
|
+
seats: string;
|
|
23
|
+
gears: string;
|
|
24
|
+
pictures: string[];
|
|
25
|
+
vin: string;
|
|
26
|
+
is_new: string;
|
|
27
|
+
date: string;
|
|
28
|
+
time: string;
|
|
29
|
+
location: {
|
|
30
|
+
city: string;
|
|
31
|
+
postcode: string;
|
|
32
|
+
region: string;
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
export interface Auto24XmlItem {
|
|
37
|
+
autodeid: string;
|
|
38
|
+
userlink: string;
|
|
39
|
+
brand: string;
|
|
40
|
+
modell: string;
|
|
41
|
+
cartype: string;
|
|
42
|
+
variant: string;
|
|
43
|
+
bodytype: string;
|
|
44
|
+
fueltype: string;
|
|
45
|
+
consumptionK: string;
|
|
46
|
+
co2: string;
|
|
47
|
+
efficiencyclass: string;
|
|
48
|
+
image: string;
|
|
49
|
+
registration: string;
|
|
50
|
+
images: string[];
|
|
51
|
+
price: string;
|
|
52
|
+
power: string;
|
|
53
|
+
zip: string;
|
|
54
|
+
city: string;
|
|
55
|
+
mileage: string;
|
|
56
|
+
companyname: string;
|
|
57
|
+
extras: string;
|
|
58
|
+
sellertype: string;
|
|
59
|
+
condition: string;
|
|
60
|
+
dealer_homepage_url: string;
|
|
61
|
+
dealer_email: string;
|
|
62
|
+
dealer_name: string;
|
|
63
|
+
dealer_phone: string;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
export interface OoyyoXmlItem extends FbXmlItem {
|
|
67
|
+
euronorm: string;
|
|
68
|
+
mileage: string;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
export interface MeinstadtJsonItem {
|
|
72
|
+
id: string;
|
|
73
|
+
make: string;
|
|
74
|
+
model: string;
|
|
75
|
+
cpc: string;
|
|
76
|
+
listingUrl: string;
|
|
77
|
+
title: string;
|
|
78
|
+
accidentFree: boolean;
|
|
79
|
+
mileage: number;
|
|
80
|
+
initialRegistration: string;
|
|
81
|
+
offerCreationDate: string;
|
|
82
|
+
numberOfDoors: number;
|
|
83
|
+
numberOfSeats: number;
|
|
84
|
+
numberOfPreviousOwners: number;
|
|
85
|
+
price: number;
|
|
86
|
+
powerPS: string;
|
|
87
|
+
powerKS: string;
|
|
88
|
+
co2Emissions: number;
|
|
89
|
+
fuelConsumptionCombined: number;
|
|
90
|
+
equipment: string;
|
|
91
|
+
color: string;
|
|
92
|
+
bodyType: string;
|
|
93
|
+
emissionClass: string;
|
|
94
|
+
emissionSticker: string;
|
|
95
|
+
fuelType: string;
|
|
96
|
+
transmissionType: string;
|
|
97
|
+
sellerType: string;
|
|
98
|
+
usageState: string;
|
|
99
|
+
imagesCount: number;
|
|
100
|
+
images: string;
|
|
101
|
+
power: number;
|
|
102
|
+
'transmissionType/transmission': string;
|
|
103
|
+
'customerType/sellerType': string;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
export interface AutouncleJsonItem {
|
|
107
|
+
back_link: string;
|
|
108
|
+
make: string;
|
|
109
|
+
model_name: string;
|
|
110
|
+
model_variant: string;
|
|
111
|
+
fuel: string;
|
|
112
|
+
body: string;
|
|
113
|
+
doors: string;
|
|
114
|
+
price: string;
|
|
115
|
+
year: string;
|
|
116
|
+
mileage: string;
|
|
117
|
+
leasing: string;
|
|
118
|
+
color: string;
|
|
119
|
+
engine_size: string;
|
|
120
|
+
power: string;
|
|
121
|
+
gear_type: string;
|
|
122
|
+
has_4wd: string;
|
|
123
|
+
seller_type: string;
|
|
124
|
+
seller_region: string;
|
|
125
|
+
seller_city: string;
|
|
126
|
+
seller_street_address: string;
|
|
127
|
+
seller_postcode: string;
|
|
128
|
+
seller_name: string;
|
|
129
|
+
seller_id: string;
|
|
130
|
+
description: string;
|
|
131
|
+
images: { url: string }[];
|
|
132
|
+
fuel_economy: string;
|
|
133
|
+
co2_emission: string;
|
|
134
|
+
co2_effiency_class: string;
|
|
135
|
+
euro_emission_class: string;
|
|
136
|
+
enviromental_sticker: string;
|
|
137
|
+
status: string;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
export interface CriteoXmlItem {
|
|
141
|
+
id: string;
|
|
142
|
+
title: string;
|
|
143
|
+
description: string;
|
|
144
|
+
google_product_category: string;
|
|
145
|
+
product_type: string;
|
|
146
|
+
link: string;
|
|
147
|
+
image_link: string;
|
|
148
|
+
condition: string;
|
|
149
|
+
availability: string;
|
|
150
|
+
brand: any;
|
|
151
|
+
price: string;
|
|
152
|
+
sale_price: string;
|
|
153
|
+
energy_efficiency_class: string;
|
|
154
|
+
color: string;
|
|
155
|
+
installment: { paybackPeriod: any; monthlyInstallment: any };
|
|
156
|
+
custom_label_0: string;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
export interface GoogleXmlItem {
|
|
160
|
+
id: string;
|
|
161
|
+
title: string;
|
|
162
|
+
description: string;
|
|
163
|
+
google_product_category: string;
|
|
164
|
+
product_type: string;
|
|
165
|
+
link: string;
|
|
166
|
+
image_link: string;
|
|
167
|
+
condition: string;
|
|
168
|
+
brand: any;
|
|
169
|
+
price: string;
|
|
170
|
+
color: string;
|
|
171
|
+
|
|
172
|
+
sale_price?: string;
|
|
173
|
+
availability?: string;
|
|
174
|
+
energy_efficiency_class?: string;
|
|
175
|
+
installment?: { paybackPeriod: any; monthlyInstallment: any; apr: string };
|
|
176
|
+
vehicle_msrp?: string;
|
|
177
|
+
|
|
178
|
+
vehicle_fulfillment: {
|
|
179
|
+
option: string;
|
|
180
|
+
store_code: string;
|
|
181
|
+
};
|
|
182
|
+
certification?: Array<{
|
|
183
|
+
certification_authority: string;
|
|
184
|
+
certification_name: string;
|
|
185
|
+
certification_code?: string;
|
|
186
|
+
certification_value?: string;
|
|
187
|
+
}>;
|
|
188
|
+
link_template: string;
|
|
189
|
+
additional_image_link: string[];
|
|
190
|
+
model: string;
|
|
191
|
+
VIN?: string;
|
|
192
|
+
trim: string;
|
|
193
|
+
year: number;
|
|
194
|
+
mileage: string;
|
|
195
|
+
vehicle_option: string[];
|
|
196
|
+
body_style?: string,
|
|
197
|
+
engine: string,
|
|
198
|
+
transmission?: string;
|
|
199
|
+
drive?: string;
|
|
200
|
+
doors?: number;
|
|
201
|
+
capacity?: number;
|
|
202
|
+
date_first_registered: string,
|
|
203
|
+
fuel_consumption: string,
|
|
204
|
+
energy_consumption?: string,
|
|
205
|
+
electric_range?: string,
|
|
206
|
+
fuel_consumption_discharged_battery?: string,
|
|
207
|
+
co2_emissions: string,
|
|
208
|
+
identifier_exists: string,
|
|
209
|
+
ads_redirect?: string;
|
|
210
|
+
"certified_pre-owned"?: boolean;
|
|
211
|
+
custom_label_0?: string;
|
|
212
|
+
custom_label_1?: string,
|
|
213
|
+
custom_label_2?: string,
|
|
214
|
+
custom_label_3?: string,
|
|
215
|
+
custom_label_4?: string,
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
export interface RubrikkXmlItem {
|
|
219
|
+
ad__all_imageurls: string[];
|
|
220
|
+
ad__condition_new_used_etc: string;
|
|
221
|
+
ad__description: string;
|
|
222
|
+
ad__headline: string;
|
|
223
|
+
ad__imageurl: string;
|
|
224
|
+
ad__price: number;
|
|
225
|
+
ad__price_currency: string;
|
|
226
|
+
product__type: string;
|
|
227
|
+
ad__url: string;
|
|
228
|
+
efficiency_class: string;
|
|
229
|
+
ad__number_ad__number_reference_id: string;
|
|
230
|
+
category_original: string;
|
|
231
|
+
maincategory_original: string;
|
|
232
|
+
advertiser__company_homepage_url: string;
|
|
233
|
+
advertiser__company_logo_url: string;
|
|
234
|
+
advertiser__email: string;
|
|
235
|
+
advertiser__name_company_name: string;
|
|
236
|
+
advertiser__phone: string;
|
|
237
|
+
location__country: string;
|
|
238
|
+
location__municipality_city: string;
|
|
239
|
+
location__zip_postal_code: string;
|
|
240
|
+
motoring__body_type: string;
|
|
241
|
+
motoring__color: string;
|
|
242
|
+
motoring__drivetrain: string;
|
|
243
|
+
motoring__emission_class: string;
|
|
244
|
+
motoring__emission_co2: number;
|
|
245
|
+
motoring__emission_co2_unit: string;
|
|
246
|
+
motoring__emission_sticker: string;
|
|
247
|
+
motoring__engine_displacement_cubic_centimeters: number;
|
|
248
|
+
motoring__fuel_consumption_combined: number;
|
|
249
|
+
motoring__fuel_consumption_extra_urban: number;
|
|
250
|
+
motoring__fuel_consumption_extra_urban_unit: string;
|
|
251
|
+
motoring__fuel_consumption_combined_unit: string;
|
|
252
|
+
motoring__fuel_consumption_urban: number;
|
|
253
|
+
motoring__fuel_consumption_urban_unit: string;
|
|
254
|
+
motoring__fuel_type: string;
|
|
255
|
+
motoring__make: string;
|
|
256
|
+
motoring__mileage_kilometers: number;
|
|
257
|
+
motoring__model: string;
|
|
258
|
+
motoring__model_year: string;
|
|
259
|
+
motoring__number_of_doors: number;
|
|
260
|
+
motoring__number_of_seats: number;
|
|
261
|
+
motoring__power_kw: number;
|
|
262
|
+
motoring__power_hp: number;
|
|
263
|
+
motoring__transmission: string;
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
export interface ModixXmlItem {
|
|
267
|
+
maindata: {
|
|
268
|
+
category: IAtributeWrapItem;
|
|
269
|
+
manufacturer: IAtributeWrapItem;
|
|
270
|
+
model: IAtributeWrapItem;
|
|
271
|
+
submodel: IAtributeWrapItem;
|
|
272
|
+
mileage: IAtributeWrapItem;
|
|
273
|
+
cylinderCapacity: IAtributeWrapItem;
|
|
274
|
+
enginePower: IAtributeWrapItem;
|
|
275
|
+
fuel: IAtributeWrapItem;
|
|
276
|
+
accident: IAtributeWrapItem;
|
|
277
|
+
transmission: IAtributeWrapItem;
|
|
278
|
+
usageCategory: IAtributeWrapItem;
|
|
279
|
+
bodyStyle: IAtributeWrapItem;
|
|
280
|
+
isOnline: IAtributeWrapItem;
|
|
281
|
+
};
|
|
282
|
+
bodyColors: bodyColorItem;
|
|
283
|
+
dates: mapSameTagsItem[];
|
|
284
|
+
identification: identificationItem;
|
|
285
|
+
prices: priceItem;
|
|
286
|
+
images: imageItem;
|
|
287
|
+
dealer: dealerItem;
|
|
288
|
+
options: Omit<DataSchemes.Car, 'state'>;
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
export interface mapSameTagsItem {
|
|
292
|
+
tag: string;
|
|
293
|
+
value: any;
|
|
294
|
+
atributes?: any;
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
export interface tagWrapperItem {
|
|
298
|
+
[key: string]: { value: any; atributes?: any };
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
export interface bodyColorItem {
|
|
302
|
+
id: number;
|
|
303
|
+
data: {
|
|
304
|
+
name: IAtributeWrapItem;
|
|
305
|
+
description: IAtributeWrapItem;
|
|
306
|
+
paint: IAtributeWrapItem;
|
|
307
|
+
};
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
export interface identificationItem {
|
|
311
|
+
hsnTsn: {
|
|
312
|
+
hsn: IAtributeWrapItem;
|
|
313
|
+
tsn: IAtributeWrapItem;
|
|
314
|
+
};
|
|
315
|
+
vin: IAtributeWrapItem;
|
|
316
|
+
datEuropacode: IAtributeWrapItem;
|
|
317
|
+
schwackecode: IAtributeWrapItem;
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
export interface imageItem {
|
|
321
|
+
url: string;
|
|
322
|
+
imageList: IAtributeWrapItem[];
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
export interface priceItem {
|
|
326
|
+
vatReclaimable: boolean;
|
|
327
|
+
grossPrice: IAtributeWrapItem;
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
export interface dealerItem {
|
|
331
|
+
address: {
|
|
332
|
+
company: IAtributeWrapItem;
|
|
333
|
+
street: IAtributeWrapItem;
|
|
334
|
+
city: IAtributeWrapItem;
|
|
335
|
+
zip: IAtributeWrapItem;
|
|
336
|
+
country: IAtributeWrapItem;
|
|
337
|
+
phone: IAtributeWrapItem;
|
|
338
|
+
fax: IAtributeWrapItem;
|
|
339
|
+
email: IAtributeWrapItem;
|
|
340
|
+
homepage: IAtributeWrapItem;
|
|
341
|
+
};
|
|
342
|
+
imprint: {
|
|
343
|
+
registerId: IAtributeWrapItem;
|
|
344
|
+
representitive: IAtributeWrapItem;
|
|
345
|
+
vatid: IAtributeWrapItem;
|
|
346
|
+
};
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
export interface FacebookShopItem {
|
|
350
|
+
id: FacebookShopTag;
|
|
351
|
+
title: FacebookShopTag;
|
|
352
|
+
description: { value: Description[]; isGoogle: boolean };
|
|
353
|
+
availability: FacebookShopTag;
|
|
354
|
+
condition: FacebookShopTag;
|
|
355
|
+
price: FacebookShopTag;
|
|
356
|
+
link: FacebookShopTag;
|
|
357
|
+
image_link: FacebookShopTag;
|
|
358
|
+
additional_image_link: FacebookShopTag;
|
|
359
|
+
brand: FacebookShopTag;
|
|
360
|
+
|
|
361
|
+
quantity_to_sell_on_facebook: FacebookShopTag;
|
|
362
|
+
google_product_category: FacebookShopTag;
|
|
363
|
+
sale_price: FacebookShopTag;
|
|
364
|
+
status: FacebookShopTag;
|
|
365
|
+
color: FacebookShopTag;
|
|
366
|
+
product_type: FacebookShopTag;
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
export interface FacebookShopTag {
|
|
370
|
+
isGoogle: boolean;
|
|
371
|
+
value: any;
|
|
372
|
+
}
|
|
373
|
+
|
|
374
|
+
export interface TrovitXmlItem {
|
|
375
|
+
id: IAtributeWrapItem;
|
|
376
|
+
url: IAtributeWrapItem;
|
|
377
|
+
title: IAtributeWrapItem;
|
|
378
|
+
content: IAtributeWrapItem;
|
|
379
|
+
price: IAtributeWrapItem;
|
|
380
|
+
car_type: IAtributeWrapItem;
|
|
381
|
+
dealer: IAtributeWrapItem;
|
|
382
|
+
postcode: IAtributeWrapItem;
|
|
383
|
+
vin_database: IAtributeWrapItem;
|
|
384
|
+
make: IAtributeWrapItem;
|
|
385
|
+
model: IAtributeWrapItem;
|
|
386
|
+
color: IAtributeWrapItem;
|
|
387
|
+
year: IAtributeWrapItem;
|
|
388
|
+
mileage: IAtributeWrapItem;
|
|
389
|
+
doors: IAtributeWrapItem;
|
|
390
|
+
seats: IAtributeWrapItem;
|
|
391
|
+
engine_size: IAtributeWrapItem;
|
|
392
|
+
cylinders: IAtributeWrapItem;
|
|
393
|
+
fuel: IAtributeWrapItem;
|
|
394
|
+
transmission: IAtributeWrapItem;
|
|
395
|
+
power: IAtributeWrapItem;
|
|
396
|
+
fuel_consumption: IAtributeWrapItem;
|
|
397
|
+
co2_emissions: IAtributeWrapItem;
|
|
398
|
+
pictures: Array<string>;
|
|
399
|
+
is_new: IAtributeWrapItem;
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
export interface Awin {
|
|
403
|
+
product_id: string;
|
|
404
|
+
product_name: string;
|
|
405
|
+
brand_name: string;
|
|
406
|
+
product_model: string;
|
|
407
|
+
deep_link: string;
|
|
408
|
+
image_url: string;
|
|
409
|
+
alternate_image: string;
|
|
410
|
+
alternate_image_two: string;
|
|
411
|
+
alternate_image_three: string;
|
|
412
|
+
alternate_image_four: string;
|
|
413
|
+
price: number | string;
|
|
414
|
+
currency: string;
|
|
415
|
+
rrp_price: number | string;
|
|
416
|
+
saving: number | string;
|
|
417
|
+
savings_percent: number | string;
|
|
418
|
+
colour: string;
|
|
419
|
+
condition: string;
|
|
420
|
+
delivery_time: string;
|
|
421
|
+
last_updated: string;
|
|
422
|
+
merchant_category: string;
|
|
423
|
+
warranty: string;
|
|
424
|
+
energy_label: string;
|
|
425
|
+
description: string;
|
|
426
426
|
}
|