@bytebrand/export-cars 1.21.43 → 1.21.44
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/interfaces/export-item.interface.d.ts +3 -0
- package/dist/transformers/google.transformer.js +3 -0
- package/dist/transformers/google.transformer.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/interfaces/export-item.interface.ts +3 -0
- package/src/transformers/google.transformer.ts +3 -0
package/package.json
CHANGED
|
@@ -174,6 +174,9 @@ export interface GoogleXmlItem {
|
|
|
174
174
|
energy_efficiency_class?: string;
|
|
175
175
|
installment?: { paybackPeriod: any; monthlyInstallment: any };
|
|
176
176
|
|
|
177
|
+
vehicle_fulfillment: string;
|
|
178
|
+
store_code: string;
|
|
179
|
+
link_template: string;
|
|
177
180
|
additional_image_link: string[];
|
|
178
181
|
model: string;
|
|
179
182
|
VIN: string;
|
|
@@ -40,6 +40,8 @@ export class GoogleTransformer {
|
|
|
40
40
|
|
|
41
41
|
return {
|
|
42
42
|
google_product_category: '916',
|
|
43
|
+
vehicle_fulfillment: 'online',
|
|
44
|
+
store_code: 'Online_shop',
|
|
43
45
|
title: this.getTitle(car),
|
|
44
46
|
product_type: this.getCategory(car),
|
|
45
47
|
VIN: this.transformService.vinCode(car),
|
|
@@ -48,6 +50,7 @@ export class GoogleTransformer {
|
|
|
48
50
|
additional_image_link: transformedImages.slice(1, 10),
|
|
49
51
|
ads_redirect: this.getLink(car),
|
|
50
52
|
link: this.getLink(car),
|
|
53
|
+
link_template: `${this.getLink(car)}?store=Online_shop`,
|
|
51
54
|
condition: this.mapState(car),
|
|
52
55
|
price: this.getPrice(car),
|
|
53
56
|
// certified_pre-owned: '',
|