@bytebrand/export-cars 1.21.7 → 1.21.9
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/.editorconfig +8 -8
- package/.eslintignore +1 -1
- package/.eslintrc.js +24 -24
- package/.prettierrc.js +7 -7
- package/README.md +65 -65
- package/dist/configs/index.d.ts +1 -0
- package/dist/configs/index.js +1 -0
- package/dist/configs/index.js.map +1 -1
- package/dist/configs/santander.config.d.ts +5 -0
- package/dist/configs/santander.config.js +20 -0
- package/dist/configs/santander.config.js.map +1 -0
- package/dist/enums/export-type.enum.d.ts +1 -0
- package/dist/enums/export-type.enum.js +1 -0
- package/dist/enums/export-type.enum.js.map +1 -1
- package/dist/export.command.js +1 -1
- package/dist/export.command.js.map +1 -1
- package/dist/export.schema.d.ts +6 -2
- package/dist/export.schema.js +4 -0
- package/dist/export.schema.js.map +1 -1
- package/dist/exporters/index.d.ts +1 -0
- package/dist/exporters/index.js +1 -0
- package/dist/exporters/index.js.map +1 -1
- package/dist/exporters/santander.exporter.d.ts +12 -0
- package/dist/exporters/santander.exporter.js +63 -0
- package/dist/exporters/santander.exporter.js.map +1 -0
- package/dist/formats/auto24-xml.builder.js +2 -2
- package/dist/formats/google-xml.builder.js +3 -3
- package/dist/formats/modix-xml.builder.js +2 -2
- package/dist/formats/ooyyo-xml.builder.js +1 -1
- package/dist/formats/santander-csv.builder.d.ts +6 -0
- package/dist/formats/santander-csv.builder.js +17 -0
- package/dist/formats/santander-csv.builder.js.map +1 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/nest-cli.json +5 -5
- package/package.json +61 -61
- package/src/app.module.ts +38 -38
- package/src/configs/alleskralle.config.ts +15 -15
- package/src/configs/as24.config.ts +13 -13
- package/src/configs/auto24.config.ts +15 -15
- package/src/configs/autoboerse.config.ts +16 -16
- package/src/configs/autouncle.config.ts +14 -14
- package/src/configs/awin.config.ts +15 -15
- package/src/configs/by-owner.config.ts +14 -14
- package/src/configs/config.ts +83 -83
- package/src/configs/criteo.config.ts +17 -17
- package/src/configs/dasparking.config.ts +15 -15
- package/src/configs/eauto.config.ts +15 -15
- package/src/configs/evium.config.ts +18 -18
- package/src/configs/facebook-shop.config.ts +16 -16
- package/src/configs/fb.config.ts +16 -16
- package/src/configs/google.config.ts +14 -14
- package/src/configs/index.ts +22 -21
- package/src/configs/kleinanzeigeFocus.config.ts +14 -14
- package/src/configs/marktde.config.ts +18 -18
- package/src/configs/meinstadt.config.ts +15 -15
- package/src/configs/mitula.config.ts +14 -14
- package/src/configs/ooyyo.config.ts +15 -15
- package/src/configs/santander.config.ts +17 -0
- package/src/configs/trovit.config.ts +14 -14
- package/src/configs/yescar.config.ts +17 -17
- package/src/constants/autouncle.contants.ts +4 -4
- package/src/constants/fb.constants.ts +7 -7
- package/src/constants/index.ts +1 -1
- package/src/constants/modix/body-color-name.constant.ts +20 -20
- package/src/constants/modix/category.constant.ts +14 -14
- package/src/constants/modix/fuel.constant.ts +14 -14
- package/src/constants/modix/index.ts +7 -7
- package/src/constants/modix/manufacturers.constant.ts +7498 -7498
- package/src/constants/modix/transmission.constant.ts +8 -8
- package/src/constants/modix/usage-type.constant.ts +13 -13
- package/src/constants/modix/vehicle-class.constant.ts +17 -17
- package/src/enums/environment.enum.ts +5 -5
- package/src/enums/export-type.enum.ts +33 -32
- package/src/enums/file-types.enum.ts +8 -8
- package/src/enums/image-type.enum.ts +4 -4
- package/src/enums/index.ts +4 -4
- package/src/export.command.ts +37 -37
- package/src/export.schema.ts +134 -128
- package/src/exporters/as24.exporter.ts +69 -69
- package/src/exporters/auto24.exporter.ts +48 -48
- package/src/exporters/autouncle.exporter.ts +60 -60
- package/src/exporters/awin.exporter.ts +47 -47
- package/src/exporters/by-owner.exporter.ts +44 -44
- package/src/exporters/facebook-shop.exporter.ts +51 -51
- package/src/exporters/fb.exporter.ts +52 -52
- package/src/exporters/google.exporter.ts +45 -45
- package/src/exporters/index.ts +15 -14
- package/src/exporters/meinstadt.exporter.ts +55 -55
- package/src/exporters/mobile.exporter.ts +64 -64
- package/src/exporters/modix.exporter.ts +56 -56
- package/src/exporters/ooyyo.exporter.ts +48 -48
- package/src/exporters/rubrikk.exporter.ts +53 -53
- package/src/exporters/santander.exporter.ts +50 -0
- package/src/exporters/trovit.exporter.ts +51 -51
- package/src/formats/auto24-xml.builder.ts +54 -54
- package/src/formats/autouncle-json.builder.ts +20 -20
- package/src/formats/awin-csv.builder.ts +16 -16
- package/src/formats/facebook-shop.builder.ts +69 -69
- package/src/formats/fb-xml.builder.ts +71 -71
- package/src/formats/google-xml.builder.ts +35 -35
- package/src/formats/index.ts +5 -5
- package/src/formats/meinstadt-json.builder.ts +19 -19
- package/src/formats/modix-xml.builder.ts +180 -180
- package/src/formats/ooyyo-xml.builder.ts +48 -48
- package/src/formats/rubrikk-xml.builder.ts +27 -27
- package/src/formats/santander-csv.builder.ts +15 -0
- package/src/formats/trovit-xml.builder.ts +44 -44
- package/src/interfaces/atributes-wrap-item.intreface.ts +6 -6
- package/src/interfaces/dealers-mapping.interface.ts +7 -7
- package/src/interfaces/description.interface.ts +24 -24
- package/src/interfaces/export-item.interface.ts +366 -366
- package/src/interfaces/exporter.interface.ts +3 -3
- package/src/interfaces/index.ts +3 -3
- package/src/interfaces/input.interface.ts +6 -6
- package/src/interfaces/mapping-rules.interface.ts +11 -11
- package/src/interfaces/modix/index.ts +1 -1
- package/src/interfaces/modix/modix-item-list.interface.ts +5 -5
- package/src/interfaces/params.interface.ts +13 -13
- package/src/interfaces/rule-parser.interface.ts +3 -3
- package/src/main.ts +14 -14
- package/src/rules/abstract.rule.ts +37 -37
- package/src/rules/date.rule.ts +19 -19
- package/src/rules/number.rule.ts +15 -15
- package/src/rules/string.rule.ts +8 -8
- package/src/services/car.service.ts +49 -49
- package/src/services/config.service.ts +15 -15
- package/src/services/images.service.ts +207 -207
- package/src/services/index.ts +9 -9
- package/src/services/loader.service.ts +29 -29
- package/src/services/mapping.service.ts +91 -91
- package/src/services/request.service.ts +44 -44
- package/src/services/rules.service.ts +61 -61
- package/src/services/transformer.service.ts +129 -129
- package/src/services/user.service.ts +57 -57
- package/src/transformers/as24.transformer.ts +253 -253
- package/src/transformers/auto24.transfomer.ts +155 -155
- package/src/transformers/autouncle.transformer.ts +236 -236
- package/src/transformers/awin.transformer.ts +193 -193
- package/src/transformers/by-owner.transformer.ts +354 -354
- package/src/transformers/facebook-shop.transformer.ts +93 -93
- package/src/transformers/fb-description.transformer.ts +316 -316
- package/src/transformers/fb-equipment.transformer.ts +161 -161
- package/src/transformers/fb.transformer.ts +655 -655
- package/src/transformers/google.transformer.ts +169 -169
- package/src/transformers/index.ts +5 -5
- package/src/transformers/meinstadt.transformer.ts +92 -92
- package/src/transformers/mobile.transformer.ts +482 -482
- package/src/transformers/modix.transformer.ts +227 -227
- package/src/transformers/ooyyo.transformer.ts +109 -109
- package/src/transformers/rubrikk.transformer.ts +200 -200
- package/src/transformers/trovit.transformer.ts +63 -63
- package/src/utils/converter.utils.ts +15 -15
- package/src/utils/index.ts +2 -2
- package/src/utils/validator.utils.ts +7 -7
- package/tsconfig.build.json +4 -4
- package/tsconfig.json +29 -29
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { Params } from '../interfaces/params.interface';
|
|
2
|
-
import { Config } from './config';
|
|
3
|
-
import { ExportType, FileType, ImageType } from '../enums';
|
|
4
|
-
|
|
5
|
-
export class DasparkingConfig extends Config {
|
|
6
|
-
constructor(params: Params) {
|
|
7
|
-
super(params);
|
|
8
|
-
this.pathesConfig.localConvertedDirectory = `resources/${ExportType.DASPARKING}-export`;
|
|
9
|
-
this.campaign = ExportType.DASPARKING;
|
|
10
|
-
this.imageType = ImageType.default;
|
|
11
|
-
this.outputFiles = [
|
|
12
|
-
`${this.pathesConfig.localConvertedDirectory}/api_export_cars_${ExportType.DASPARKING}.${FileType.XML}`,
|
|
13
|
-
];
|
|
14
|
-
}
|
|
15
|
-
}
|
|
1
|
+
import { Params } from '../interfaces/params.interface';
|
|
2
|
+
import { Config } from './config';
|
|
3
|
+
import { ExportType, FileType, ImageType } from '../enums';
|
|
4
|
+
|
|
5
|
+
export class DasparkingConfig extends Config {
|
|
6
|
+
constructor(params: Params) {
|
|
7
|
+
super(params);
|
|
8
|
+
this.pathesConfig.localConvertedDirectory = `resources/${ExportType.DASPARKING}-export`;
|
|
9
|
+
this.campaign = ExportType.DASPARKING;
|
|
10
|
+
this.imageType = ImageType.default;
|
|
11
|
+
this.outputFiles = [
|
|
12
|
+
`${this.pathesConfig.localConvertedDirectory}/api_export_cars_${ExportType.DASPARKING}.${FileType.XML}`,
|
|
13
|
+
];
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { ExportType, FileType, ImageType } from 'src/enums';
|
|
2
|
-
import { Params } from '../interfaces/params.interface';
|
|
3
|
-
import { Config } from './config';
|
|
4
|
-
|
|
5
|
-
export class EautoConfig extends Config {
|
|
6
|
-
constructor(params: Params) {
|
|
7
|
-
super(params);
|
|
8
|
-
this.campaign = ExportType.EAUTO;
|
|
9
|
-
this.pathesConfig.localConvertedDirectory = `resources/${ExportType.EAUTO}-export`;
|
|
10
|
-
this.imageUrl = `https://images.${this.domain}/carimage`;
|
|
11
|
-
this.mappingSpreadsheetTitle = 'mobile_yescar';
|
|
12
|
-
this.imageType = ImageType.default;
|
|
13
|
-
this.outputFiles = [`${this.pathesConfig.localConvertedDirectory}/416.${FileType.CSV}`];
|
|
14
|
-
}
|
|
15
|
-
}
|
|
1
|
+
import { ExportType, FileType, ImageType } from 'src/enums';
|
|
2
|
+
import { Params } from '../interfaces/params.interface';
|
|
3
|
+
import { Config } from './config';
|
|
4
|
+
|
|
5
|
+
export class EautoConfig extends Config {
|
|
6
|
+
constructor(params: Params) {
|
|
7
|
+
super(params);
|
|
8
|
+
this.campaign = ExportType.EAUTO;
|
|
9
|
+
this.pathesConfig.localConvertedDirectory = `resources/${ExportType.EAUTO}-export`;
|
|
10
|
+
this.imageUrl = `https://images.${this.domain}/carimage`;
|
|
11
|
+
this.mappingSpreadsheetTitle = 'mobile_yescar';
|
|
12
|
+
this.imageType = ImageType.default;
|
|
13
|
+
this.outputFiles = [`${this.pathesConfig.localConvertedDirectory}/416.${FileType.CSV}`];
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { ExportType, FileType, ImageType } from 'src/enums';
|
|
2
|
-
import { Params } from '../interfaces/params.interface';
|
|
3
|
-
import { Config } from './config';
|
|
4
|
-
|
|
5
|
-
export class EviumConfig extends Config {
|
|
6
|
-
constructor(params: Params) {
|
|
7
|
-
super(params);
|
|
8
|
-
this.campaign = ExportType.EVIUM;
|
|
9
|
-
this.pathesConfig.localConvertedDirectory = `resources/${ExportType.EVIUM}-export`;
|
|
10
|
-
this.imageUrl = `https://images.${this.domain}/carimage`;
|
|
11
|
-
this.mappingSpreadsheetTitle = 'mobile_yescar';
|
|
12
|
-
this.imageType = ImageType.default;
|
|
13
|
-
this.downloadImage = true;
|
|
14
|
-
this.outputFiles = [
|
|
15
|
-
`${this.pathesConfig.localConvertedDirectory}/api_export_cars__${ExportType.EVIUM}.${FileType.CSV}`
|
|
16
|
-
];
|
|
17
|
-
}
|
|
18
|
-
}
|
|
1
|
+
import { ExportType, FileType, ImageType } from 'src/enums';
|
|
2
|
+
import { Params } from '../interfaces/params.interface';
|
|
3
|
+
import { Config } from './config';
|
|
4
|
+
|
|
5
|
+
export class EviumConfig extends Config {
|
|
6
|
+
constructor(params: Params) {
|
|
7
|
+
super(params);
|
|
8
|
+
this.campaign = ExportType.EVIUM;
|
|
9
|
+
this.pathesConfig.localConvertedDirectory = `resources/${ExportType.EVIUM}-export`;
|
|
10
|
+
this.imageUrl = `https://images.${this.domain}/carimage`;
|
|
11
|
+
this.mappingSpreadsheetTitle = 'mobile_yescar';
|
|
12
|
+
this.imageType = ImageType.default;
|
|
13
|
+
this.downloadImage = true;
|
|
14
|
+
this.outputFiles = [
|
|
15
|
+
`${this.pathesConfig.localConvertedDirectory}/api_export_cars__${ExportType.EVIUM}.${FileType.CSV}`
|
|
16
|
+
];
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { Params } from '../interfaces/params.interface';
|
|
2
|
-
import { Config } from './config';
|
|
3
|
-
import { ExportType, FileType, ImageType } from '../enums';
|
|
4
|
-
|
|
5
|
-
export class FacebookShopConfig extends Config {
|
|
6
|
-
constructor(params: Params) {
|
|
7
|
-
super(params);
|
|
8
|
-
this.pathesConfig.localConvertedDirectory = `resources/${ExportType.FACEBOOK_SHOP}-export`;
|
|
9
|
-
this.imageUrl = this.environmentConfig[params.environment].baseImageUrl;
|
|
10
|
-
this.imageType = ImageType.marketing;
|
|
11
|
-
this.marketingImageConfigId = this.environmentConfig[params.environment].fbMarketingImageId;
|
|
12
|
-
this.outputFiles = [
|
|
13
|
-
`${this.pathesConfig.localConvertedDirectory}/api_export_cars_${ExportType.FACEBOOK_SHOP}.${FileType.XML}`,
|
|
14
|
-
];
|
|
15
|
-
}
|
|
16
|
-
}
|
|
1
|
+
import { Params } from '../interfaces/params.interface';
|
|
2
|
+
import { Config } from './config';
|
|
3
|
+
import { ExportType, FileType, ImageType } from '../enums';
|
|
4
|
+
|
|
5
|
+
export class FacebookShopConfig extends Config {
|
|
6
|
+
constructor(params: Params) {
|
|
7
|
+
super(params);
|
|
8
|
+
this.pathesConfig.localConvertedDirectory = `resources/${ExportType.FACEBOOK_SHOP}-export`;
|
|
9
|
+
this.imageUrl = this.environmentConfig[params.environment].baseImageUrl;
|
|
10
|
+
this.imageType = ImageType.marketing;
|
|
11
|
+
this.marketingImageConfigId = this.environmentConfig[params.environment].fbMarketingImageId;
|
|
12
|
+
this.outputFiles = [
|
|
13
|
+
`${this.pathesConfig.localConvertedDirectory}/api_export_cars_${ExportType.FACEBOOK_SHOP}.${FileType.XML}`,
|
|
14
|
+
];
|
|
15
|
+
}
|
|
16
|
+
}
|
package/src/configs/fb.config.ts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { ExportType, FileType, ImageType } from 'src/enums';
|
|
2
|
-
import { Params } from '../interfaces/params.interface';
|
|
3
|
-
import { Config } from './config';
|
|
4
|
-
|
|
5
|
-
export class FbConfig extends Config {
|
|
6
|
-
constructor(params: Params) {
|
|
7
|
-
super(params);
|
|
8
|
-
this.pathesConfig.localConvertedDirectory = `resources/${ExportType.FB}-export`;
|
|
9
|
-
this.imageUrl = this.environmentConfig[params.environment].imageUrl;
|
|
10
|
-
this.imageType = ImageType.marketing;
|
|
11
|
-
this.marketingImageConfigId = this.environmentConfig[params.environment].fbMarketingImageId;
|
|
12
|
-
this.outputFiles = [
|
|
13
|
-
`${this.pathesConfig.localConvertedDirectory}/api_export_cars_${ExportType.FB}.${FileType.XML}`,
|
|
14
|
-
];
|
|
15
|
-
}
|
|
16
|
-
}
|
|
1
|
+
import { ExportType, FileType, ImageType } from 'src/enums';
|
|
2
|
+
import { Params } from '../interfaces/params.interface';
|
|
3
|
+
import { Config } from './config';
|
|
4
|
+
|
|
5
|
+
export class FbConfig extends Config {
|
|
6
|
+
constructor(params: Params) {
|
|
7
|
+
super(params);
|
|
8
|
+
this.pathesConfig.localConvertedDirectory = `resources/${ExportType.FB}-export`;
|
|
9
|
+
this.imageUrl = this.environmentConfig[params.environment].imageUrl;
|
|
10
|
+
this.imageType = ImageType.marketing;
|
|
11
|
+
this.marketingImageConfigId = this.environmentConfig[params.environment].fbMarketingImageId;
|
|
12
|
+
this.outputFiles = [
|
|
13
|
+
`${this.pathesConfig.localConvertedDirectory}/api_export_cars_${ExportType.FB}.${FileType.XML}`,
|
|
14
|
+
];
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { ExportType, FileType, ImageType } from 'src/enums';
|
|
2
|
-
import { Params } from '../interfaces/params.interface';
|
|
3
|
-
import { Config } from './config';
|
|
4
|
-
|
|
5
|
-
export class GoogleConfig extends Config {
|
|
6
|
-
constructor(params: Params) {
|
|
7
|
-
super(params);
|
|
8
|
-
this.pathesConfig.localConvertedDirectory = `resources/${ExportType.GOOGLE}-export`;
|
|
9
|
-
this.imageType = ImageType.default;
|
|
10
|
-
this.outputFiles = [
|
|
11
|
-
`${this.pathesConfig.localConvertedDirectory}/api_export_cars_${ExportType.GOOGLE}.${FileType.XML}`,
|
|
12
|
-
];
|
|
13
|
-
}
|
|
14
|
-
}
|
|
1
|
+
import { ExportType, FileType, ImageType } from 'src/enums';
|
|
2
|
+
import { Params } from '../interfaces/params.interface';
|
|
3
|
+
import { Config } from './config';
|
|
4
|
+
|
|
5
|
+
export class GoogleConfig extends Config {
|
|
6
|
+
constructor(params: Params) {
|
|
7
|
+
super(params);
|
|
8
|
+
this.pathesConfig.localConvertedDirectory = `resources/${ExportType.GOOGLE}-export`;
|
|
9
|
+
this.imageType = ImageType.default;
|
|
10
|
+
this.outputFiles = [
|
|
11
|
+
`${this.pathesConfig.localConvertedDirectory}/api_export_cars_${ExportType.GOOGLE}.${FileType.XML}`,
|
|
12
|
+
];
|
|
13
|
+
}
|
|
14
|
+
}
|
package/src/configs/index.ts
CHANGED
|
@@ -1,21 +1,22 @@
|
|
|
1
|
-
export * from './alleskralle.config';
|
|
2
|
-
export * from './as24.config';
|
|
3
|
-
export * from './auto24.config';
|
|
4
|
-
export * from './autouncle.config';
|
|
5
|
-
export * from './by-owner.config';
|
|
6
|
-
export * from './criteo.config';
|
|
7
|
-
export * from './dasparking.config';
|
|
8
|
-
export * from './eauto.config';
|
|
9
|
-
export * from './fb.config';
|
|
10
|
-
export * from './google.config';
|
|
11
|
-
export * from './kleinanzeigeFocus.config';
|
|
12
|
-
export * from './marktde.config';
|
|
13
|
-
export * from './meinstadt.config';
|
|
14
|
-
export * from './ooyyo.config';
|
|
15
|
-
export * from './yescar.config';
|
|
16
|
-
export * from './autoboerse.config';
|
|
17
|
-
export * from './facebook-shop.config';
|
|
18
|
-
export * from './trovit.config';
|
|
19
|
-
export * from './mitula.config';
|
|
20
|
-
export * from './awin.config';
|
|
21
|
-
export * from './evium.config';
|
|
1
|
+
export * from './alleskralle.config';
|
|
2
|
+
export * from './as24.config';
|
|
3
|
+
export * from './auto24.config';
|
|
4
|
+
export * from './autouncle.config';
|
|
5
|
+
export * from './by-owner.config';
|
|
6
|
+
export * from './criteo.config';
|
|
7
|
+
export * from './dasparking.config';
|
|
8
|
+
export * from './eauto.config';
|
|
9
|
+
export * from './fb.config';
|
|
10
|
+
export * from './google.config';
|
|
11
|
+
export * from './kleinanzeigeFocus.config';
|
|
12
|
+
export * from './marktde.config';
|
|
13
|
+
export * from './meinstadt.config';
|
|
14
|
+
export * from './ooyyo.config';
|
|
15
|
+
export * from './yescar.config';
|
|
16
|
+
export * from './autoboerse.config';
|
|
17
|
+
export * from './facebook-shop.config';
|
|
18
|
+
export * from './trovit.config';
|
|
19
|
+
export * from './mitula.config';
|
|
20
|
+
export * from './awin.config';
|
|
21
|
+
export * from './evium.config';
|
|
22
|
+
export * from './santander.config';
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { Params } from '../interfaces/params.interface';
|
|
2
|
-
import { Config } from './config';
|
|
3
|
-
import { ExportType, FileType, ImageType } from '../enums';
|
|
4
|
-
|
|
5
|
-
export class KleinanzeigeFocusConfig extends Config {
|
|
6
|
-
constructor(params: Params) {
|
|
7
|
-
super(params);
|
|
8
|
-
this.pathesConfig.localConvertedDirectory = `resources/${ExportType.KLEINANZEIGE_FOCUS}-export`;
|
|
9
|
-
this.imageType = ImageType.default;
|
|
10
|
-
this.outputFiles = [
|
|
11
|
-
`${this.pathesConfig.localConvertedDirectory}/api_export_cars_${ExportType.KLEINANZEIGE_FOCUS}.${FileType.XML}`,
|
|
12
|
-
];
|
|
13
|
-
}
|
|
14
|
-
}
|
|
1
|
+
import { Params } from '../interfaces/params.interface';
|
|
2
|
+
import { Config } from './config';
|
|
3
|
+
import { ExportType, FileType, ImageType } from '../enums';
|
|
4
|
+
|
|
5
|
+
export class KleinanzeigeFocusConfig extends Config {
|
|
6
|
+
constructor(params: Params) {
|
|
7
|
+
super(params);
|
|
8
|
+
this.pathesConfig.localConvertedDirectory = `resources/${ExportType.KLEINANZEIGE_FOCUS}-export`;
|
|
9
|
+
this.imageType = ImageType.default;
|
|
10
|
+
this.outputFiles = [
|
|
11
|
+
`${this.pathesConfig.localConvertedDirectory}/api_export_cars_${ExportType.KLEINANZEIGE_FOCUS}.${FileType.XML}`,
|
|
12
|
+
];
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { ExportType, FileType, ImageType } from 'src/enums';
|
|
2
|
-
import { Params } from '../interfaces/params.interface';
|
|
3
|
-
import { Config } from './config';
|
|
4
|
-
|
|
5
|
-
export class MarktdeConfig extends Config {
|
|
6
|
-
constructor(params: Params) {
|
|
7
|
-
super(params);
|
|
8
|
-
this.campaign = ExportType.MARKTDE;
|
|
9
|
-
this.pathesConfig.localConvertedDirectory = `resources/${ExportType.MARKTDE}-export`;
|
|
10
|
-
this.imageUrl = `https://images.${this.domain}/carimage`;
|
|
11
|
-
this.mappingSpreadsheetTitle = 'mobile_yescar';
|
|
12
|
-
this.imageType = ImageType.default;
|
|
13
|
-
this.outputFiles = [
|
|
14
|
-
`${this.pathesConfig.localConvertedDirectory}/api_export_cars_${ExportType.MARKTDE}.${FileType.CSV}`,
|
|
15
|
-
`${this.pathesConfig.localConvertedDirectory}/api_export_cars_${ExportType.MARKTDE}.${FileType.ZIP}`,
|
|
16
|
-
];
|
|
17
|
-
}
|
|
18
|
-
}
|
|
1
|
+
import { ExportType, FileType, ImageType } from 'src/enums';
|
|
2
|
+
import { Params } from '../interfaces/params.interface';
|
|
3
|
+
import { Config } from './config';
|
|
4
|
+
|
|
5
|
+
export class MarktdeConfig extends Config {
|
|
6
|
+
constructor(params: Params) {
|
|
7
|
+
super(params);
|
|
8
|
+
this.campaign = ExportType.MARKTDE;
|
|
9
|
+
this.pathesConfig.localConvertedDirectory = `resources/${ExportType.MARKTDE}-export`;
|
|
10
|
+
this.imageUrl = `https://images.${this.domain}/carimage`;
|
|
11
|
+
this.mappingSpreadsheetTitle = 'mobile_yescar';
|
|
12
|
+
this.imageType = ImageType.default;
|
|
13
|
+
this.outputFiles = [
|
|
14
|
+
`${this.pathesConfig.localConvertedDirectory}/api_export_cars_${ExportType.MARKTDE}.${FileType.CSV}`,
|
|
15
|
+
`${this.pathesConfig.localConvertedDirectory}/api_export_cars_${ExportType.MARKTDE}.${FileType.ZIP}`,
|
|
16
|
+
];
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { Params } from '../interfaces/params.interface';
|
|
2
|
-
import { Config } from './config';
|
|
3
|
-
import { ExportType, FileType, ImageType } from '../enums';
|
|
4
|
-
|
|
5
|
-
export class MeinstadtConfig extends Config {
|
|
6
|
-
constructor(params: Params) {
|
|
7
|
-
super(params);
|
|
8
|
-
this.pathesConfig.localConvertedDirectory = `resources/${ExportType.MEINSTADT}-export`;
|
|
9
|
-
this.imageType = ImageType.default;
|
|
10
|
-
this.outputFiles = [
|
|
11
|
-
`${this.pathesConfig.localConvertedDirectory}/api_export_cars_${ExportType.MEINSTADT}.${FileType.JSON}`,
|
|
12
|
-
`${this.pathesConfig.localConvertedDirectory}/api_export_cars_${ExportType.MEINSTADT}.${FileType.ZIP}`,
|
|
13
|
-
];
|
|
14
|
-
}
|
|
15
|
-
}
|
|
1
|
+
import { Params } from '../interfaces/params.interface';
|
|
2
|
+
import { Config } from './config';
|
|
3
|
+
import { ExportType, FileType, ImageType } from '../enums';
|
|
4
|
+
|
|
5
|
+
export class MeinstadtConfig extends Config {
|
|
6
|
+
constructor(params: Params) {
|
|
7
|
+
super(params);
|
|
8
|
+
this.pathesConfig.localConvertedDirectory = `resources/${ExportType.MEINSTADT}-export`;
|
|
9
|
+
this.imageType = ImageType.default;
|
|
10
|
+
this.outputFiles = [
|
|
11
|
+
`${this.pathesConfig.localConvertedDirectory}/api_export_cars_${ExportType.MEINSTADT}.${FileType.JSON}`,
|
|
12
|
+
`${this.pathesConfig.localConvertedDirectory}/api_export_cars_${ExportType.MEINSTADT}.${FileType.ZIP}`,
|
|
13
|
+
];
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { ExportType, FileType, ImageType } from 'src/enums';
|
|
2
|
-
import { Params } from '../interfaces/params.interface';
|
|
3
|
-
import { Config } from './config';
|
|
4
|
-
|
|
5
|
-
export class MitulaConfig extends Config {
|
|
6
|
-
constructor(params: Params) {
|
|
7
|
-
super(params);
|
|
8
|
-
this.pathesConfig.localConvertedDirectory = `resources/${ExportType.MITULA}-export`;
|
|
9
|
-
this.imageType = ImageType.default;
|
|
10
|
-
this.outputFiles = [
|
|
11
|
-
`${this.pathesConfig.localConvertedDirectory}/api_export_cars_${ExportType.MITULA}.${FileType.XML}`,
|
|
12
|
-
];
|
|
13
|
-
}
|
|
14
|
-
}
|
|
1
|
+
import { ExportType, FileType, ImageType } from 'src/enums';
|
|
2
|
+
import { Params } from '../interfaces/params.interface';
|
|
3
|
+
import { Config } from './config';
|
|
4
|
+
|
|
5
|
+
export class MitulaConfig extends Config {
|
|
6
|
+
constructor(params: Params) {
|
|
7
|
+
super(params);
|
|
8
|
+
this.pathesConfig.localConvertedDirectory = `resources/${ExportType.MITULA}-export`;
|
|
9
|
+
this.imageType = ImageType.default;
|
|
10
|
+
this.outputFiles = [
|
|
11
|
+
`${this.pathesConfig.localConvertedDirectory}/api_export_cars_${ExportType.MITULA}.${FileType.XML}`,
|
|
12
|
+
];
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { Params } from '../interfaces/params.interface';
|
|
2
|
-
import { Config } from './config';
|
|
3
|
-
import { ExportType, FileType, ImageType } from '../enums';
|
|
4
|
-
|
|
5
|
-
export class OoyyoConfig extends Config {
|
|
6
|
-
constructor(params: Params) {
|
|
7
|
-
super(params);
|
|
8
|
-
this.pathesConfig.localConvertedDirectory = `resources/${ExportType.OOYYO}-export`;
|
|
9
|
-
this.imageType = ImageType.default;
|
|
10
|
-
this.outputFiles = [
|
|
11
|
-
`${this.pathesConfig.localConvertedDirectory}/api_export_cars_${ExportType.OOYYO}.${FileType.XML}`,
|
|
12
|
-
`${this.pathesConfig.localConvertedDirectory}/autode-${ExportType.OOYYO}.${FileType.TAR_GZ}`,
|
|
13
|
-
];
|
|
14
|
-
}
|
|
15
|
-
}
|
|
1
|
+
import { Params } from '../interfaces/params.interface';
|
|
2
|
+
import { Config } from './config';
|
|
3
|
+
import { ExportType, FileType, ImageType } from '../enums';
|
|
4
|
+
|
|
5
|
+
export class OoyyoConfig extends Config {
|
|
6
|
+
constructor(params: Params) {
|
|
7
|
+
super(params);
|
|
8
|
+
this.pathesConfig.localConvertedDirectory = `resources/${ExportType.OOYYO}-export`;
|
|
9
|
+
this.imageType = ImageType.default;
|
|
10
|
+
this.outputFiles = [
|
|
11
|
+
`${this.pathesConfig.localConvertedDirectory}/api_export_cars_${ExportType.OOYYO}.${FileType.XML}`,
|
|
12
|
+
`${this.pathesConfig.localConvertedDirectory}/autode-${ExportType.OOYYO}.${FileType.TAR_GZ}`,
|
|
13
|
+
];
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Params } from '../interfaces/params.interface';
|
|
2
|
+
import { Config } from './config';
|
|
3
|
+
import { ExportType, FileType, ImageType } from '../enums';
|
|
4
|
+
|
|
5
|
+
export class SantanderConfig extends Config {
|
|
6
|
+
constructor(params: Params) {
|
|
7
|
+
super(params);
|
|
8
|
+
this.campaign = ExportType.SANTANDER;
|
|
9
|
+
this.pathesConfig.localConvertedDirectory = `resources/${ExportType.SANTANDER}-export`;
|
|
10
|
+
this.imageUrl = this.environmentConfig[params.environment].baseImageUrl;
|
|
11
|
+
this.mappingSpreadsheetTitle = 'mobile_yescar';
|
|
12
|
+
this.imageType = ImageType.default;
|
|
13
|
+
this.outputFiles = [
|
|
14
|
+
`${this.pathesConfig.localConvertedDirectory}/api_export_cars_${ExportType.SANTANDER}.${FileType.CSV}`,
|
|
15
|
+
];
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { ExportType, FileType, ImageType } from 'src/enums';
|
|
2
|
-
import { Params } from '../interfaces/params.interface';
|
|
3
|
-
import { Config } from './config';
|
|
4
|
-
|
|
5
|
-
export class TrovitConfig extends Config {
|
|
6
|
-
constructor(params: Params) {
|
|
7
|
-
super(params);
|
|
8
|
-
this.pathesConfig.localConvertedDirectory = `resources/${ExportType.TROVIT}-export`;
|
|
9
|
-
this.imageType = ImageType.default;
|
|
10
|
-
this.outputFiles = [
|
|
11
|
-
`${this.pathesConfig.localConvertedDirectory}/api_export_cars_${ExportType.TROVIT}.${FileType.XML}`,
|
|
12
|
-
];
|
|
13
|
-
}
|
|
14
|
-
}
|
|
1
|
+
import { ExportType, FileType, ImageType } from 'src/enums';
|
|
2
|
+
import { Params } from '../interfaces/params.interface';
|
|
3
|
+
import { Config } from './config';
|
|
4
|
+
|
|
5
|
+
export class TrovitConfig extends Config {
|
|
6
|
+
constructor(params: Params) {
|
|
7
|
+
super(params);
|
|
8
|
+
this.pathesConfig.localConvertedDirectory = `resources/${ExportType.TROVIT}-export`;
|
|
9
|
+
this.imageType = ImageType.default;
|
|
10
|
+
this.outputFiles = [
|
|
11
|
+
`${this.pathesConfig.localConvertedDirectory}/api_export_cars_${ExportType.TROVIT}.${FileType.XML}`,
|
|
12
|
+
];
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { ExportType, ImageType } from 'src/enums';
|
|
2
|
-
import { Params } from '../interfaces/params.interface';
|
|
3
|
-
import { Config } from './config';
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* @deprecated
|
|
7
|
-
*/
|
|
8
|
-
export class YescarConfig extends Config {
|
|
9
|
-
constructor(params: Params) {
|
|
10
|
-
super(params);
|
|
11
|
-
this.campaign = ExportType.YESCAR;
|
|
12
|
-
this.pathesConfig.localConvertedDirectory = `resources/${ExportType.YESCAR}-export`;
|
|
13
|
-
this.imageUrl = `https://images.${this.domain}/carimage`;
|
|
14
|
-
this.mappingSpreadsheetTitle = 'mobile_yescar';
|
|
15
|
-
this.imageType = ImageType.default;
|
|
16
|
-
}
|
|
17
|
-
}
|
|
1
|
+
import { ExportType, ImageType } from 'src/enums';
|
|
2
|
+
import { Params } from '../interfaces/params.interface';
|
|
3
|
+
import { Config } from './config';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* @deprecated
|
|
7
|
+
*/
|
|
8
|
+
export class YescarConfig extends Config {
|
|
9
|
+
constructor(params: Params) {
|
|
10
|
+
super(params);
|
|
11
|
+
this.campaign = ExportType.YESCAR;
|
|
12
|
+
this.pathesConfig.localConvertedDirectory = `resources/${ExportType.YESCAR}-export`;
|
|
13
|
+
this.imageUrl = `https://images.${this.domain}/carimage`;
|
|
14
|
+
this.mappingSpreadsheetTitle = 'mobile_yescar';
|
|
15
|
+
this.imageType = ImageType.default;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export const MIN_MILEAGES = 0;
|
|
2
|
-
export const DEFAULT_ZIP = '';
|
|
3
|
-
export const DEFAULT_CITY = '';
|
|
4
|
-
export const DEFAULT_ADDR1 = '';
|
|
1
|
+
export const MIN_MILEAGES = 0;
|
|
2
|
+
export const DEFAULT_ZIP = '';
|
|
3
|
+
export const DEFAULT_CITY = '';
|
|
4
|
+
export const DEFAULT_ADDR1 = '';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export const FB_MAX_TRIM_LENGTH = 50;
|
|
2
|
-
export const FB_MAX_IMAGE_COUNT_FOR_DEAFULT = 47;
|
|
3
|
-
export const FB_MIN_MILEAGES = 900;
|
|
4
|
-
export const DEFAULT_ZIP = '04109';
|
|
5
|
-
export const DEFAULT_CITY = 'Leipzig';
|
|
6
|
-
export const DEFAULT_ADDR1 = 'Thomaskirchhof 20';
|
|
7
|
-
export const TIMESTAMP_FIRST_YEAR = 1970;
|
|
1
|
+
export const FB_MAX_TRIM_LENGTH = 50;
|
|
2
|
+
export const FB_MAX_IMAGE_COUNT_FOR_DEAFULT = 47;
|
|
3
|
+
export const FB_MIN_MILEAGES = 900;
|
|
4
|
+
export const DEFAULT_ZIP = '04109';
|
|
5
|
+
export const DEFAULT_CITY = 'Leipzig';
|
|
6
|
+
export const DEFAULT_ADDR1 = 'Thomaskirchhof 20';
|
|
7
|
+
export const TIMESTAMP_FIRST_YEAR = 1970;
|
package/src/constants/index.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './modix';
|
|
1
|
+
export * from './modix';
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { IModixItemsList } from '../../interfaces';
|
|
2
|
-
|
|
3
|
-
export const BodyColorList: IModixItemsList = {
|
|
4
|
-
selector_exteriorColor_black: { value: 'Schwarz', atributes: { id: 11 } },
|
|
5
|
-
selector_exteriorColor_grey: { value: 'Grau', atributes: { id: 7 } },
|
|
6
|
-
selector_exteriorColor_silver: { value: 'Silber', atributes: { id: 12 } },
|
|
7
|
-
selector_exteriorColor_white: { value: 'Weiß', atributes: { id: 14 } },
|
|
8
|
-
selector_exteriorColor_blue: { value: 'Blau', atributes: { id: 3 } },
|
|
9
|
-
selector_exteriorColor_orange: { value: 'Orange', atributes: { id: 9 } },
|
|
10
|
-
selector_exteriorColor_red: { value: 'Rot', atributes: { id: 10 } },
|
|
11
|
-
selector_exteriorColor_brown: { value: 'Braun', atributes: { id: 4 } },
|
|
12
|
-
selector_exteriorColor_beige: { value: 'Beige', atributes: { id: 2 } },
|
|
13
|
-
selector_exteriorColor_yellow: { value: 'Gelb', atributes: { id: 5 } },
|
|
14
|
-
selector_exteriorColor_purple: { value: 'Lila', atributes: { id: 13 } },
|
|
15
|
-
selector_exteriorColor_green: { value: 'Grün', atributes: { id: 8 } },
|
|
16
|
-
selector_exteriorColor_bronze: { value: 'Bronze', atributes: { id: 4 } },
|
|
17
|
-
selector_exteriorColor_gold: { value: 'Gold', atributes: { id: 6 } },
|
|
18
|
-
selector_exteriorColor_rainbow: { value: 'Andere', atributes: { id: 1 } },
|
|
19
|
-
selector_unknown: { value: 'Unbekannt', atributes: { id: 1 } },
|
|
20
|
-
};
|
|
1
|
+
import { IModixItemsList } from '../../interfaces';
|
|
2
|
+
|
|
3
|
+
export const BodyColorList: IModixItemsList = {
|
|
4
|
+
selector_exteriorColor_black: { value: 'Schwarz', atributes: { id: 11 } },
|
|
5
|
+
selector_exteriorColor_grey: { value: 'Grau', atributes: { id: 7 } },
|
|
6
|
+
selector_exteriorColor_silver: { value: 'Silber', atributes: { id: 12 } },
|
|
7
|
+
selector_exteriorColor_white: { value: 'Weiß', atributes: { id: 14 } },
|
|
8
|
+
selector_exteriorColor_blue: { value: 'Blau', atributes: { id: 3 } },
|
|
9
|
+
selector_exteriorColor_orange: { value: 'Orange', atributes: { id: 9 } },
|
|
10
|
+
selector_exteriorColor_red: { value: 'Rot', atributes: { id: 10 } },
|
|
11
|
+
selector_exteriorColor_brown: { value: 'Braun', atributes: { id: 4 } },
|
|
12
|
+
selector_exteriorColor_beige: { value: 'Beige', atributes: { id: 2 } },
|
|
13
|
+
selector_exteriorColor_yellow: { value: 'Gelb', atributes: { id: 5 } },
|
|
14
|
+
selector_exteriorColor_purple: { value: 'Lila', atributes: { id: 13 } },
|
|
15
|
+
selector_exteriorColor_green: { value: 'Grün', atributes: { id: 8 } },
|
|
16
|
+
selector_exteriorColor_bronze: { value: 'Bronze', atributes: { id: 4 } },
|
|
17
|
+
selector_exteriorColor_gold: { value: 'Gold', atributes: { id: 6 } },
|
|
18
|
+
selector_exteriorColor_rainbow: { value: 'Andere', atributes: { id: 1 } },
|
|
19
|
+
selector_unknown: { value: 'Unbekannt', atributes: { id: 1 } },
|
|
20
|
+
};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { IModixItemsList } from '../../interfaces';
|
|
2
|
-
|
|
3
|
-
export const CategoryList: IModixItemsList = {
|
|
4
|
-
selector_category_combi: { value: 'Estate', atributes: { id: 4 } },
|
|
5
|
-
selector_category_sedan: { value: 'Saloon', atributes: { id: 6 } },
|
|
6
|
-
selector_category_compact: { value: 'Compact car', atributes: { id: 113 } },
|
|
7
|
-
selector_category_coupe: { value: 'Coupe', atributes: { id: 13 } },
|
|
8
|
-
selector_category_convertible: { value: 'Convertible', atributes: { id: 1 } },
|
|
9
|
-
selector_category_suv: { value: 'Off - Road', atributes: { id: 11 } },
|
|
10
|
-
selector_category_van: { value: 'Van', atributes: { id: 388 } },
|
|
11
|
-
selector_category_minibus: { value: 'Minibusses', atributes: { id: 251 } },
|
|
12
|
-
selector_category_transporter: { value: 'Transporter', atributes: { id: 432 } },
|
|
13
|
-
selector_unknown: { value: null },
|
|
14
|
-
};
|
|
1
|
+
import { IModixItemsList } from '../../interfaces';
|
|
2
|
+
|
|
3
|
+
export const CategoryList: IModixItemsList = {
|
|
4
|
+
selector_category_combi: { value: 'Estate', atributes: { id: 4 } },
|
|
5
|
+
selector_category_sedan: { value: 'Saloon', atributes: { id: 6 } },
|
|
6
|
+
selector_category_compact: { value: 'Compact car', atributes: { id: 113 } },
|
|
7
|
+
selector_category_coupe: { value: 'Coupe', atributes: { id: 13 } },
|
|
8
|
+
selector_category_convertible: { value: 'Convertible', atributes: { id: 1 } },
|
|
9
|
+
selector_category_suv: { value: 'Off - Road', atributes: { id: 11 } },
|
|
10
|
+
selector_category_van: { value: 'Van', atributes: { id: 388 } },
|
|
11
|
+
selector_category_minibus: { value: 'Minibusses', atributes: { id: 251 } },
|
|
12
|
+
selector_category_transporter: { value: 'Transporter', atributes: { id: 432 } },
|
|
13
|
+
selector_unknown: { value: null },
|
|
14
|
+
};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { IModixItemsList } from '../../interfaces';
|
|
2
|
-
|
|
3
|
-
export const FuelList: IModixItemsList = {
|
|
4
|
-
selector_fuel_naturalGas: { value: 'CNG (Compressed natural gas)', atributes: { id: 10 } },
|
|
5
|
-
selector_fuel_carGas: { value: 'LPG (Liquified petroleum gas)', atributes: { id: 4 } },
|
|
6
|
-
selector_fuel_hybridElectricalPetrol: { value: 'Hybrid', atributes: { id: 9 } },
|
|
7
|
-
selector_fuel_hybridElectricalDiesel: { value: 'Hybrid', atributes: { id: 9 } },
|
|
8
|
-
selector_fuel_petrol: { value: 'Gas/Petrol (normal)', atributes: { id: 1 } },
|
|
9
|
-
selector_fuel_electrical: { value: 'Electric', atributes: { id: 3 } },
|
|
10
|
-
selector_fuel_ethanol: { value: 'Ethanol', atributes: { id: 12 } },
|
|
11
|
-
selector_fuel_hydrogen: { value: 'Hybrid', atributes: { id: 9 } },
|
|
12
|
-
selector_fuel_diesel: { value: 'Diesel', atributes: { id: 2 } },
|
|
13
|
-
selector_unknown: { value: 'N/A' },
|
|
14
|
-
};
|
|
1
|
+
import { IModixItemsList } from '../../interfaces';
|
|
2
|
+
|
|
3
|
+
export const FuelList: IModixItemsList = {
|
|
4
|
+
selector_fuel_naturalGas: { value: 'CNG (Compressed natural gas)', atributes: { id: 10 } },
|
|
5
|
+
selector_fuel_carGas: { value: 'LPG (Liquified petroleum gas)', atributes: { id: 4 } },
|
|
6
|
+
selector_fuel_hybridElectricalPetrol: { value: 'Hybrid', atributes: { id: 9 } },
|
|
7
|
+
selector_fuel_hybridElectricalDiesel: { value: 'Hybrid', atributes: { id: 9 } },
|
|
8
|
+
selector_fuel_petrol: { value: 'Gas/Petrol (normal)', atributes: { id: 1 } },
|
|
9
|
+
selector_fuel_electrical: { value: 'Electric', atributes: { id: 3 } },
|
|
10
|
+
selector_fuel_ethanol: { value: 'Ethanol', atributes: { id: 12 } },
|
|
11
|
+
selector_fuel_hydrogen: { value: 'Hybrid', atributes: { id: 9 } },
|
|
12
|
+
selector_fuel_diesel: { value: 'Diesel', atributes: { id: 2 } },
|
|
13
|
+
selector_unknown: { value: 'N/A' },
|
|
14
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export * from './body-color-name.constant';
|
|
2
|
-
export * from './manufacturers.constant';
|
|
3
|
-
export * from './transmission.constant';
|
|
4
|
-
export * from './vehicle-class.constant';
|
|
5
|
-
export * from './usage-type.constant';
|
|
6
|
-
export * from './category.constant';
|
|
7
|
-
export * from './fuel.constant';
|
|
1
|
+
export * from './body-color-name.constant';
|
|
2
|
+
export * from './manufacturers.constant';
|
|
3
|
+
export * from './transmission.constant';
|
|
4
|
+
export * from './vehicle-class.constant';
|
|
5
|
+
export * from './usage-type.constant';
|
|
6
|
+
export * from './category.constant';
|
|
7
|
+
export * from './fuel.constant';
|