store-scrapper-js-common 1.0.110 → 1.0.113
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/dto/store-config.dto.d.ts +2 -0
- package/dist/dto/store-config.dto.js.map +1 -1
- package/dist/entities/product.d.ts +1 -1
- package/dist/entities/product.js +1 -1
- package/dist/entities/product.js.map +1 -1
- package/dist/entities/store.d.ts +5 -8
- package/dist/entities/store.js +5 -7
- package/dist/entities/store.js.map +1 -1
- package/dist/enums/telegram-queue.enum.d.ts +31 -1
- package/dist/enums/telegram-queue.enum.js +30 -0
- package/dist/enums/telegram-queue.enum.js.map +1 -1
- package/package.json +1 -1
- package/src/dto/store-config.dto.ts +4 -0
- package/src/entities/product.ts +1 -1
- package/src/entities/store.ts +5 -10
- package/src/enums/telegram-queue.enum.ts +31 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"store-config.dto.js","sourceRoot":"/","sources":["dto/store-config.dto.ts"],"names":[],"mappings":";;;AAAA,MAAa,WAAW;
|
|
1
|
+
{"version":3,"file":"store-config.dto.js","sourceRoot":"/","sources":["dto/store-config.dto.ts"],"names":[],"mappings":";;;AAAA,MAAa,WAAW;CAkBvB;AAlBD,kCAkBC","sourcesContent":["export class StoreConfig {\n name: string;\n\n filterCategories?: string[];\n\n skipCategories?: string[];\n\n cacheMenu?: boolean;\n\n headers?: {[key: string]: any};\n\n includeProductsWithoutStock?: boolean;\n\n queue?: string;\n\n persistQueue?: string;\n\n [key: string]: any\n}\n"]}
|
package/dist/entities/product.js
CHANGED
|
@@ -24,7 +24,7 @@ var CurrencyEnum;
|
|
|
24
24
|
CurrencyEnum["RIPLEY_PTS"] = "ripley_pts";
|
|
25
25
|
CurrencyEnum["GENERAL_POINTS"] = "general_pts";
|
|
26
26
|
CurrencyEnum["BRL"] = "brl";
|
|
27
|
-
CurrencyEnum["PEN"] = "
|
|
27
|
+
CurrencyEnum["PEN"] = "pen";
|
|
28
28
|
CurrencyEnum["ARS"] = "ars";
|
|
29
29
|
CurrencyEnum["EUR"] = "eur";
|
|
30
30
|
CurrencyEnum["USD"] = "usd";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"product.js","sourceRoot":"/","sources":["entities/product.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAGiB;AACjB,qDAA6C;AAC7C,mDAA+C;AAC/C,mCAAgC;AAChC,iDAA6C;AAE7C,0DAAsD;AAGtD,IAAY,YAWX;AAXD,WAAY,YAAY;IACpB,2BAAW,CAAA;IACX,mCAAmB,CAAA;IACnB,uCAAuB,CAAA;IACvB,yCAAyB,CAAA;IACzB,8CAA8B,CAAA;IAC9B,2BAAW,CAAA;IACX,2BAAW,CAAA;IACX,2BAAW,CAAA;IACX,2BAAW,CAAA;IACX,2BAAW,CAAA;AACf,CAAC,EAXW,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAWvB;AAED,IAAY,gBAmBX;AAnBD,WAAY,gBAAgB;IACxB,iCAAa,CAAA;IACb,2CAAuB,CAAA;IACvB,mEAA+C,CAAA;IAC/C,yCAAqB,CAAA;IACrB,+CAA2B,CAAA;IAC3B,2CAAuB,CAAA;IACvB,iDAA6B,CAAA;IAC7B,yCAAqB,CAAA;IACrB,6CAAyB,CAAA;IAEzB,6DAAyC,CAAA;IACzC,qFAAiE,CAAA;IACjE,2DAAuC,CAAA;IACvC,iEAA6C,CAAA;IAC7C,6DAAyC,CAAA;IACzC,mEAA+C,CAAA;IAC/C,2DAAuC,CAAA;IACvC,+DAA2C,CAAA;AAC/C,CAAC,EAnBW,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAmB3B;AAuBD,IAAa,OAAO,GAApB,MAAa,OAAQ,SAAQ,4BAAY;CAyJxC,CAAA;AAvJG;IADC,gBAAM,EAAE;;qCACI;AAGb;IADC,gBAAM,EAAE;;0CACU;AAGnB;IADC,gBAAM,EAAE;;oDACoB;AAG7B;IADC,gBAAM,EAAE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;IAFC,gBAAM,EAAE;IACR,eAAK,EAAE;;qDACwB;AAGhC;IADC,gBAAM,EAAE;;iDACoB;AAI7B;IAFC,gBAAM,EAAE;IACR,eAAK,EAAE;8BACY,IAAI;kDAAC;AAGzB;IADC,gBAAM,EAAE;;8CACe;AAGxB;IADC,gBAAM,EAAE;;8CACc;AAGvB;IADC,gBAAM,EAAE;;yCACe;AAGxB;IADC,gBAAM,EAAE;;6CACyB;AAGlC;IADC,gBAAM,EAAE;;4CAIL;AAGJ;IADC,gBAAM,EAAE;;mDACmB;AAG5B;IADC,gBAAM,EAAE;;oDACoB;AAG7B;IADC,gBAAM,EAAE;;yCACW;AAxJX,OAAO;IAFnB,gBAAM,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE,CAAC;IAC5B,gBAAM,CAAC,eAAe,EAAE,CAAC,UAAU,EAAE,KAAK,CAAC,CAAC;GAChC,OAAO,CAyJnB;AAzJY,0BAAO","sourcesContent":["import {\n Column,\n Entity, Index, Unique,\n} from 'typeorm';\nimport { IsNotEmpty } from 'class-validator';\nimport { AbstractBase } from './abstract-base';\nimport { Price } from './price';\nimport { PricesStats } from './prices-stats';\nimport { Keyword } from './keyword';\nimport { HttpRequest } from '../classes/http-request';\nimport { ImageTypeEnum } from '../enums/image-type.enum';\n\nexport enum CurrencyEnum {\n CLP = 'clp',\n CMR_PTS = 'cmr_pts',\n PARIS_PTS = 'paris_pts',\n RIPLEY_PTS = 'ripley_pts',\n GENERAL_POINTS = 'general_pts',\n BRL = 'brl',\n PEN = '
|
|
1
|
+
{"version":3,"file":"product.js","sourceRoot":"/","sources":["entities/product.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAGiB;AACjB,qDAA6C;AAC7C,mDAA+C;AAC/C,mCAAgC;AAChC,iDAA6C;AAE7C,0DAAsD;AAGtD,IAAY,YAWX;AAXD,WAAY,YAAY;IACpB,2BAAW,CAAA;IACX,mCAAmB,CAAA;IACnB,uCAAuB,CAAA;IACvB,yCAAyB,C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W;AAxJX,OAAO;IAFnB,gBAAM,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE,CAAC;IAC5B,gBAAM,CAAC,eAAe,EAAE,CAAC,UAAU,EAAE,KAAK,CAAC,CAAC;GAChC,OAAO,CAyJnB;AAzJY,0BAAO","sourcesContent":["import {\n Column,\n Entity, Index, Unique,\n} from 'typeorm';\nimport { IsNotEmpty } from 'class-validator';\nimport { AbstractBase } from './abstract-base';\nimport { Price } from './price';\nimport { PricesStats } from './prices-stats';\nimport { Keyword } from './keyword';\nimport { HttpRequest } from '../classes/http-request';\nimport { ImageTypeEnum } from '../enums/image-type.enum';\n\nexport enum CurrencyEnum {\n CLP = 'clp',\n CMR_PTS = 'cmr_pts',\n PARIS_PTS = 'paris_pts',\n RIPLEY_PTS = 'ripley_pts',\n GENERAL_POINTS = 'general_pts',\n BRL = 'brl',\n PEN = 'pen',\n ARS = 'ars',\n EUR = 'eur',\n USD = 'usd',\n}\n\nexport enum UpdateReasonEnum {\n TIME = 'time',\n NEW_PRICE = 'new_price',\n NEW_CONDITIONAL_PRICE = 'new_conditional_price',\n NEW_NAME = 'new_name',\n NEW_LISTING = 'new_listing',\n NEW_STOCK = 'new_stock',\n MISSING_DATA = 'missing_data',\n FIX_DATA = 'fix_data',\n RE_LISTING = 're_listing',\n\n CHILDREN_NEW_PRICE = 'children_new_price',\n CHILDREN_NEW_CONDITIONAL_PRICE = 'children_conditional_new_price',\n CHILDREN_NEW_NAME = 'children_new_name',\n CHILDREN_NEW_LISTING = 'children_new_listing',\n CHILDREN_NEW_STOCK = 'children_new_stock',\n CHILDREN_MISSING_DATA = 'children_missing_data',\n CHILDREN_FIX_DATA = 'children_fix_data',\n CHILDREN_RE_LISTING = 'children_re_listing',\n}\n\nexport interface ProductAttributes {\n stock?: number;\n\n // TODO: Add enum\n color?: string;\n\n // TODO: Add enum\n size?: string;\n\n [key: string]: any;\n}\n\nexport interface ConditionalPrice {\n minAmount?: number;\n price?:number;\n cardRequired?: boolean;\n createdAt?: Date;\n}\n\n@Entity({ name: 'products' })\n@Unique('store_ref_sku', ['storeRef', 'sku'])\nexport class Product extends AbstractBase {\n @Column()\n name: string;\n\n @Column()\n brandName?: string;\n\n @Column()\n normalizedBrandName?: string;\n\n @Column()\n modelName?: string;\n\n @Column()\n @IsNotEmpty()\n @Index()\n sku: string;\n\n @Column()\n internalId?: string;\n\n @Column()\n ean?: string;\n\n @Column()\n @IsNotEmpty()\n url: string;\n\n @Column()\n @IsNotEmpty()\n @Index()\n storeRef: string;\n\n @Column()\n storeName?: string;\n\n @Column()\n branchStoreName?: string;\n\n @Column()\n sellerName?: string;\n\n @Column()\n normalizedSellerName?: string;\n\n @Column()\n @IsNotEmpty()\n price?: Price;\n\n @Column()\n conditionalPrice?: ConditionalPrice;\n\n @Column()\n previousPrice?: Price;\n\n @Column()\n bestPrice?: Price;\n\n @Column()\n priceStats?: PricesStats;\n\n @Column()\n priceHistory?: Price[];\n\n @Column()\n rank?: number;\n\n @Column()\n image?: string;\n\n @Column()\n images?: { type: ImageTypeEnum, url: string }[]\n\n @Column()\n category?: string;\n\n @Column()\n categoryPath?: string;\n\n @Column()\n page?: number;\n\n @Column()\n userRank?: number;\n\n @Column()\n attributes?: ProductAttributes;\n\n @Column()\n stockHistory?: {\n stock: number,\n updatedAt: string,\n }[];\n\n @Column()\n homeDeliveryShipping?: boolean;\n\n @Column()\n pickUpFromStoreShipping?: boolean;\n\n @Column()\n fastDelivery?: boolean;\n\n @Column()\n enabled?: boolean;\n\n @Column()\n sourceUrl?: string;\n\n @Column()\n request? : HttpRequest;\n\n @Column()\n @Index()\n updatedAt?: Date;\n\n @Column()\n @Index()\n categoryKeywordNames?: string[];\n\n @Column()\n categoryKeywords?: Keyword[];\n\n @Column()\n @Index()\n processedPricesAt?: Date;\n\n @Column()\n isMarketplace?: boolean;\n\n @Column()\n addToCartLink?: string;\n\n @Column()\n currency?: CurrencyEnum;\n\n @Column()\n updateReason?: UpdateReasonEnum[];\n\n @Column()\n nameHistory?: {\n name: string,\n updatedAt: string,\n }[];\n\n @Column()\n parentProductIdRef?: string;\n\n @Column()\n parentProductSkuRef?: string;\n\n @Column()\n children?: Product[]\n}\n"]}
|
package/dist/entities/store.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { AbstractBase } from './abstract-base';
|
|
2
2
|
import { CATEGORY_ENUM } from './keyword';
|
|
3
3
|
import { CurrencyEnum } from './product';
|
|
4
|
-
import { ObjectLiteral } from '../classes';
|
|
5
4
|
import { StoreConfig } from '../dto/store-config.dto';
|
|
6
5
|
export interface StoreQueueConfig {
|
|
7
6
|
name?: string;
|
|
@@ -14,8 +13,11 @@ export interface StoreQueueConfig {
|
|
|
14
13
|
export declare enum CountryEnum {
|
|
15
14
|
CHILE = "chile",
|
|
16
15
|
ARGENTINA = "argentina",
|
|
16
|
+
URUGUAY = "uruguay",
|
|
17
17
|
PERU = "peru",
|
|
18
|
-
BRAZIL = "brazil"
|
|
18
|
+
BRAZIL = "brazil",
|
|
19
|
+
USA = "usa",
|
|
20
|
+
SPAIN = "spain"
|
|
19
21
|
}
|
|
20
22
|
export declare enum PriorityEnum {
|
|
21
23
|
VERY_HIGH = "very_high",
|
|
@@ -40,10 +42,5 @@ export declare class Store extends AbstractBase {
|
|
|
40
42
|
storeQueueConfig?: StoreQueueConfig[];
|
|
41
43
|
country?: CountryEnum | string;
|
|
42
44
|
defaultCurrency?: CurrencyEnum | string;
|
|
43
|
-
|
|
44
|
-
scraperConfig?: {
|
|
45
|
-
filterCategories?: string[];
|
|
46
|
-
skipCategories?: string[];
|
|
47
|
-
headers?: ObjectLiteral;
|
|
48
|
-
};
|
|
45
|
+
configs?: StoreConfig[];
|
|
49
46
|
}
|
package/dist/entities/store.js
CHANGED
|
@@ -13,13 +13,15 @@ exports.Store = exports.PriorityEnum = exports.CountryEnum = void 0;
|
|
|
13
13
|
const typeorm_1 = require("typeorm");
|
|
14
14
|
const class_validator_1 = require("class-validator");
|
|
15
15
|
const abstract_base_1 = require("./abstract-base");
|
|
16
|
-
const store_config_dto_1 = require("../dto/store-config.dto");
|
|
17
16
|
var CountryEnum;
|
|
18
17
|
(function (CountryEnum) {
|
|
19
18
|
CountryEnum["CHILE"] = "chile";
|
|
20
19
|
CountryEnum["ARGENTINA"] = "argentina";
|
|
20
|
+
CountryEnum["URUGUAY"] = "uruguay";
|
|
21
21
|
CountryEnum["PERU"] = "peru";
|
|
22
22
|
CountryEnum["BRAZIL"] = "brazil";
|
|
23
|
+
CountryEnum["USA"] = "usa";
|
|
24
|
+
CountryEnum["SPAIN"] = "spain";
|
|
23
25
|
})(CountryEnum = exports.CountryEnum || (exports.CountryEnum = {}));
|
|
24
26
|
var PriorityEnum;
|
|
25
27
|
(function (PriorityEnum) {
|
|
@@ -94,12 +96,8 @@ __decorate([
|
|
|
94
96
|
], Store.prototype, "defaultCurrency", void 0);
|
|
95
97
|
__decorate([
|
|
96
98
|
typeorm_1.Column(),
|
|
97
|
-
__metadata("design:type",
|
|
98
|
-
], Store.prototype, "
|
|
99
|
-
__decorate([
|
|
100
|
-
typeorm_1.Column(),
|
|
101
|
-
__metadata("design:type", Object)
|
|
102
|
-
], Store.prototype, "scraperConfig", void 0);
|
|
99
|
+
__metadata("design:type", Array)
|
|
100
|
+
], Store.prototype, "configs", void 0);
|
|
103
101
|
Store = __decorate([
|
|
104
102
|
typeorm_1.Entity({ name: 'stores' }),
|
|
105
103
|
typeorm_1.Unique(['url'])
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"store.js","sourceRoot":"/","sources":["entities/store.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAEiB;AACjB,qDAA6C;AAC7C,mDAA+C;
|
|
1
|
+
{"version":3,"file":"store.js","sourceRoot":"/","sources":["entities/store.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAEiB;AACjB,qDAA6C;AAC7C,mDAA+C;AAgB/C,IAAY,WAQX;AARD,WAAY,WAAW;IACnB,8BAAe,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E,QAAQ,EAAE,CAAC;IAC1B,gBAAM,CAAC,CAAC,KAAK,CAAC,CAAC;GACH,KAAK,CA6CjB;AA7CY,sBAAK","sourcesContent":["import {\n Column, Entity, Index, Unique,\n} from 'typeorm';\nimport { IsNotEmpty } from 'class-validator';\nimport { AbstractBase } from './abstract-base';\nimport { CATEGORY_ENUM } from './keyword';\nimport { CurrencyEnum } from './product';\nimport { StoreConfig } from '../dto/store-config.dto';\n\nexport interface StoreQueueConfig {\n name?: string;\n concurrency?: number;\n rateLimiter?: {\n /** Max numbers of jobs processed */\n max: number,\n /** Per duration in milliseconds */\n duration: number\n }\n}\n\nexport enum CountryEnum {\n CHILE = 'chile',\n ARGENTINA = 'argentina',\n URUGUAY = 'uruguay',\n PERU = 'peru',\n BRAZIL = 'brazil',\n USA = 'usa',\n SPAIN = 'spain',\n}\n\nexport enum PriorityEnum {\n VERY_HIGH = 'very_high',\n HIGH = 'high',\n MEDIUM = 'medium',\n LOW = 'low',\n\n SHOES_HIGH = 'shoes_high',\n SHOES_MEDIUM = 'shoes_medium',\n SHOES_LOW = 'shoes_low',\n}\n\n@Entity({ name: 'stores' })\n@Unique(['url'])\nexport class Store extends AbstractBase {\n @Column({ nullable: false })\n @Index()\n @IsNotEmpty()\n name: string;\n\n @Column()\n displayName?: string;\n\n @Column({ nullable: false })\n @IsNotEmpty()\n url: string;\n\n @Column()\n categories?: CATEGORY_ENUM[];\n\n @Column()\n priority?: PriorityEnum;\n\n @Column()\n type: string;\n\n @Column()\n parentStoreRef?: string;\n\n @Column({ default: true, type: 'boolean' })\n enabled = true;\n\n @Column()\n queue: string;\n\n @Column()\n persistQueue: string;\n\n @Column()\n storeQueueConfig?: StoreQueueConfig[];\n\n @Column()\n country?: CountryEnum | string;\n\n @Column()\n defaultCurrency?: CurrencyEnum | string;\n\n @Column()\n configs?: StoreConfig[];\n}\n"]}
|
|
@@ -33,5 +33,35 @@ export declare enum TelegramQueueEnum {
|
|
|
33
33
|
TELEGRAM_RESELLER_17 = "telegram_reseller_17",
|
|
34
34
|
TELEGRAM_RESELLER_18 = "telegram_reseller_18",
|
|
35
35
|
TELEGRAM_RESELLER_19 = "telegram_reseller_19",
|
|
36
|
-
TELEGRAM_RESELLER_20 = "telegram_reseller_20"
|
|
36
|
+
TELEGRAM_RESELLER_20 = "telegram_reseller_20",
|
|
37
|
+
TELEGRAM_RESELLER_21 = "telegram_reseller_21",
|
|
38
|
+
TELEGRAM_RESELLER_22 = "telegram_reseller_22",
|
|
39
|
+
TELEGRAM_RESELLER_23 = "telegram_reseller_23",
|
|
40
|
+
TELEGRAM_RESELLER_24 = "telegram_reseller_24",
|
|
41
|
+
TELEGRAM_RESELLER_25 = "telegram_reseller_25",
|
|
42
|
+
TELEGRAM_RESELLER_26 = "telegram_reseller_26",
|
|
43
|
+
TELEGRAM_RESELLER_27 = "telegram_reseller_27",
|
|
44
|
+
TELEGRAM_RESELLER_28 = "telegram_reseller_28",
|
|
45
|
+
TELEGRAM_RESELLER_29 = "telegram_reseller_29",
|
|
46
|
+
TELEGRAM_RESELLER_30 = "telegram_reseller_30",
|
|
47
|
+
TELEGRAM_RESELLER_31 = "telegram_reseller_31",
|
|
48
|
+
TELEGRAM_RESELLER_32 = "telegram_reseller_32",
|
|
49
|
+
TELEGRAM_RESELLER_33 = "telegram_reseller_33",
|
|
50
|
+
TELEGRAM_RESELLER_34 = "telegram_reseller_34",
|
|
51
|
+
TELEGRAM_RESELLER_35 = "telegram_reseller_35",
|
|
52
|
+
TELEGRAM_RESELLER_CURRENT_PRICE_1 = "telegram_reseller_current_price_1",
|
|
53
|
+
TELEGRAM_RESELLER_CURRENT_PRICE_2 = "telegram_reseller_current_price_2",
|
|
54
|
+
TELEGRAM_RESELLER_CURRENT_PRICE_3 = "telegram_reseller_current_price_3",
|
|
55
|
+
TELEGRAM_RESELLER_CURRENT_PRICE_4 = "telegram_reseller_current_price_4",
|
|
56
|
+
TELEGRAM_RESELLER_CURRENT_PRICE_5 = "telegram_reseller_current_price_5",
|
|
57
|
+
TELEGRAM_RESELLER_CURRENT_PRICE_6 = "telegram_reseller_current_price_6",
|
|
58
|
+
TELEGRAM_RESELLER_CURRENT_PRICE_7 = "telegram_reseller_current_price_7",
|
|
59
|
+
TELEGRAM_RESELLER_CURRENT_PRICE_8 = "telegram_reseller_current_price_8",
|
|
60
|
+
TELEGRAM_RESELLER_CURRENT_PRICE_9 = "telegram_reseller_current_price_9",
|
|
61
|
+
TELEGRAM_RESELLER_CURRENT_PRICE_10 = "telegram_reseller_current_price_10",
|
|
62
|
+
TELEGRAM_RESELLER_CURRENT_PRICE_11 = "telegram_reseller_current_price_11",
|
|
63
|
+
TELEGRAM_RESELLER_CURRENT_PRICE_12 = "telegram_reseller_current_price_12",
|
|
64
|
+
TELEGRAM_RESELLER_CURRENT_PRICE_13 = "telegram_reseller_current_price_13",
|
|
65
|
+
TELEGRAM_RESELLER_CURRENT_PRICE_14 = "telegram_reseller_current_price_14",
|
|
66
|
+
TELEGRAM_RESELLER_CURRENT_PRICE_15 = "telegram_reseller_current_price_15"
|
|
37
67
|
}
|
|
@@ -38,5 +38,35 @@ var TelegramQueueEnum;
|
|
|
38
38
|
TelegramQueueEnum["TELEGRAM_RESELLER_18"] = "telegram_reseller_18";
|
|
39
39
|
TelegramQueueEnum["TELEGRAM_RESELLER_19"] = "telegram_reseller_19";
|
|
40
40
|
TelegramQueueEnum["TELEGRAM_RESELLER_20"] = "telegram_reseller_20";
|
|
41
|
+
TelegramQueueEnum["TELEGRAM_RESELLER_21"] = "telegram_reseller_21";
|
|
42
|
+
TelegramQueueEnum["TELEGRAM_RESELLER_22"] = "telegram_reseller_22";
|
|
43
|
+
TelegramQueueEnum["TELEGRAM_RESELLER_23"] = "telegram_reseller_23";
|
|
44
|
+
TelegramQueueEnum["TELEGRAM_RESELLER_24"] = "telegram_reseller_24";
|
|
45
|
+
TelegramQueueEnum["TELEGRAM_RESELLER_25"] = "telegram_reseller_25";
|
|
46
|
+
TelegramQueueEnum["TELEGRAM_RESELLER_26"] = "telegram_reseller_26";
|
|
47
|
+
TelegramQueueEnum["TELEGRAM_RESELLER_27"] = "telegram_reseller_27";
|
|
48
|
+
TelegramQueueEnum["TELEGRAM_RESELLER_28"] = "telegram_reseller_28";
|
|
49
|
+
TelegramQueueEnum["TELEGRAM_RESELLER_29"] = "telegram_reseller_29";
|
|
50
|
+
TelegramQueueEnum["TELEGRAM_RESELLER_30"] = "telegram_reseller_30";
|
|
51
|
+
TelegramQueueEnum["TELEGRAM_RESELLER_31"] = "telegram_reseller_31";
|
|
52
|
+
TelegramQueueEnum["TELEGRAM_RESELLER_32"] = "telegram_reseller_32";
|
|
53
|
+
TelegramQueueEnum["TELEGRAM_RESELLER_33"] = "telegram_reseller_33";
|
|
54
|
+
TelegramQueueEnum["TELEGRAM_RESELLER_34"] = "telegram_reseller_34";
|
|
55
|
+
TelegramQueueEnum["TELEGRAM_RESELLER_35"] = "telegram_reseller_35";
|
|
56
|
+
TelegramQueueEnum["TELEGRAM_RESELLER_CURRENT_PRICE_1"] = "telegram_reseller_current_price_1";
|
|
57
|
+
TelegramQueueEnum["TELEGRAM_RESELLER_CURRENT_PRICE_2"] = "telegram_reseller_current_price_2";
|
|
58
|
+
TelegramQueueEnum["TELEGRAM_RESELLER_CURRENT_PRICE_3"] = "telegram_reseller_current_price_3";
|
|
59
|
+
TelegramQueueEnum["TELEGRAM_RESELLER_CURRENT_PRICE_4"] = "telegram_reseller_current_price_4";
|
|
60
|
+
TelegramQueueEnum["TELEGRAM_RESELLER_CURRENT_PRICE_5"] = "telegram_reseller_current_price_5";
|
|
61
|
+
TelegramQueueEnum["TELEGRAM_RESELLER_CURRENT_PRICE_6"] = "telegram_reseller_current_price_6";
|
|
62
|
+
TelegramQueueEnum["TELEGRAM_RESELLER_CURRENT_PRICE_7"] = "telegram_reseller_current_price_7";
|
|
63
|
+
TelegramQueueEnum["TELEGRAM_RESELLER_CURRENT_PRICE_8"] = "telegram_reseller_current_price_8";
|
|
64
|
+
TelegramQueueEnum["TELEGRAM_RESELLER_CURRENT_PRICE_9"] = "telegram_reseller_current_price_9";
|
|
65
|
+
TelegramQueueEnum["TELEGRAM_RESELLER_CURRENT_PRICE_10"] = "telegram_reseller_current_price_10";
|
|
66
|
+
TelegramQueueEnum["TELEGRAM_RESELLER_CURRENT_PRICE_11"] = "telegram_reseller_current_price_11";
|
|
67
|
+
TelegramQueueEnum["TELEGRAM_RESELLER_CURRENT_PRICE_12"] = "telegram_reseller_current_price_12";
|
|
68
|
+
TelegramQueueEnum["TELEGRAM_RESELLER_CURRENT_PRICE_13"] = "telegram_reseller_current_price_13";
|
|
69
|
+
TelegramQueueEnum["TELEGRAM_RESELLER_CURRENT_PRICE_14"] = "telegram_reseller_current_price_14";
|
|
70
|
+
TelegramQueueEnum["TELEGRAM_RESELLER_CURRENT_PRICE_15"] = "telegram_reseller_current_price_15";
|
|
41
71
|
})(TelegramQueueEnum = exports.TelegramQueueEnum || (exports.TelegramQueueEnum = {}));
|
|
42
72
|
//# sourceMappingURL=telegram-queue.enum.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"telegram-queue.enum.js","sourceRoot":"/","sources":["enums/telegram-queue.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,
|
|
1
|
+
{"version":3,"file":"telegram-queue.enum.js","sourceRoot":"/","sources":["enums/telegram-queue.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,iBAoEX;AApED,WAAY,iBAAiB;IAC3B,sDAAiC,CAAA;IACjC,sEAAiD,CAAA;IACjD,8EAAyD,CAAA;IACzD,iFAA4D,CAAA;IAC5D,yEAAoD,CAAA;IACpD,kEAA6C,CAAA;IAC7C,gFAA2D,CAAA;IAC3D,4EAAuD,CAAA;IACvD,0FAAqE,CAAA;IACrE,kFAA6D,CAAA;IAC7D,gGAA2E,CAAA;IAC3E,kFAA6D,CAAA;IAC7D,gGAA2E,CAAA;IAC3E,0EAAqD,CAAA;IACrD,wFAAmE,CAAA;IAEnE,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RAM_ALERT_PUBLIC_2 = 'telegram_alert_public_non_vip',\n TELEGRAM_ALERT_PUBLIC_3 = 'telegram_alert_public_non_vip_60',\n TELEGRAM_ALERT_PUBLIC_4 = 'telegram_alert_public_60',\n TELEGRAM_STOCK_ALERT = 'telegram_stock_alert',\n TELEGRAM_STOCK_ALERT_PUBLIC = 'telegram_stock_alert_public',\n TELEGRAM_STOCK_DOWN_ALERT = 'telegram_stock_down_alert',\n TELEGRAM_STOCK_DOWN_ALERT_PUBLIC = 'telegram_stock_down_alert_public',\n TELEGRAM_CURRENT_PRICE_ALERT = 'telegram_current_price_alert',\n TELEGRAM_CURRENT_PRICE_ALERT_PUBLIC = 'telegram_current_price_alert_public',\n TELEGRAM_RETAIL_CUSTOM_ALERT = 'telegram_retail_custom_alert',\n TELEGRAM_RETAIL_CUSTOM_ALERT_PUBLIC = 'telegram_retail_custom_alert_public',\n TELEGRAM_LOW_RANGE_ALERT = 'telegram_low_range_alert',\n TELEGRAM_LOW_RANGE_ALERT_PUBLIC = 'telegram_low_range_alert_public',\n\n TELEGRAM_RESELLER_1 = 'telegram_reseller_1',\n TELEGRAM_RESELLER_2 = 'telegram_reseller_2',\n TELEGRAM_RESELLER_3 = 'telegram_reseller_3',\n TELEGRAM_RESELLER_4 = 'telegram_reseller_4',\n TELEGRAM_RESELLER_5 = 'telegram_reseller_5',\n TELEGRAM_RESELLER_6 = 'telegram_reseller_6',\n TELEGRAM_RESELLER_7 = 'telegram_reseller_7',\n TELEGRAM_RESELLER_8 = 'telegram_reseller_8',\n TELEGRAM_RESELLER_9 = 'telegram_reseller_9',\n TELEGRAM_RESELLER_10 = 'telegram_reseller_10',\n TELEGRAM_RESELLER_11 = 'telegram_reseller_11',\n TELEGRAM_RESELLER_12 = 'telegram_reseller_12',\n TELEGRAM_RESELLER_13 = 'telegram_reseller_13',\n TELEGRAM_RESELLER_14 = 'telegram_reseller_14',\n TELEGRAM_RESELLER_15 = 'telegram_reseller_15',\n TELEGRAM_RESELLER_16 = 'telegram_reseller_16',\n TELEGRAM_RESELLER_17 = 'telegram_reseller_17',\n TELEGRAM_RESELLER_18 = 'telegram_reseller_18',\n TELEGRAM_RESELLER_19 = 'telegram_reseller_19',\n TELEGRAM_RESELLER_20 = 'telegram_reseller_20',\n TELEGRAM_RESELLER_21 = 'telegram_reseller_21',\n TELEGRAM_RESELLER_22 = 'telegram_reseller_22',\n TELEGRAM_RESELLER_23 = 'telegram_reseller_23',\n TELEGRAM_RESELLER_24 = 'telegram_reseller_24',\n TELEGRAM_RESELLER_25 = 'telegram_reseller_25',\n TELEGRAM_RESELLER_26 = 'telegram_reseller_26',\n TELEGRAM_RESELLER_27 = 'telegram_reseller_27',\n TELEGRAM_RESELLER_28 = 'telegram_reseller_28',\n TELEGRAM_RESELLER_29 = 'telegram_reseller_29',\n TELEGRAM_RESELLER_30 = 'telegram_reseller_30',\n TELEGRAM_RESELLER_31 = 'telegram_reseller_31',\n TELEGRAM_RESELLER_32 = 'telegram_reseller_32',\n TELEGRAM_RESELLER_33 = 'telegram_reseller_33',\n TELEGRAM_RESELLER_34 = 'telegram_reseller_34',\n TELEGRAM_RESELLER_35 = 'telegram_reseller_35',\n\n TELEGRAM_RESELLER_CURRENT_PRICE_1 = 'telegram_reseller_current_price_1',\n TELEGRAM_RESELLER_CURRENT_PRICE_2 = 'telegram_reseller_current_price_2',\n TELEGRAM_RESELLER_CURRENT_PRICE_3 = 'telegram_reseller_current_price_3',\n TELEGRAM_RESELLER_CURRENT_PRICE_4 = 'telegram_reseller_current_price_4',\n TELEGRAM_RESELLER_CURRENT_PRICE_5 = 'telegram_reseller_current_price_5',\n TELEGRAM_RESELLER_CURRENT_PRICE_6 = 'telegram_reseller_current_price_6',\n TELEGRAM_RESELLER_CURRENT_PRICE_7 = 'telegram_reseller_current_price_7',\n TELEGRAM_RESELLER_CURRENT_PRICE_8 = 'telegram_reseller_current_price_8',\n TELEGRAM_RESELLER_CURRENT_PRICE_9 = 'telegram_reseller_current_price_9',\n TELEGRAM_RESELLER_CURRENT_PRICE_10 = 'telegram_reseller_current_price_10',\n TELEGRAM_RESELLER_CURRENT_PRICE_11 = 'telegram_reseller_current_price_11',\n TELEGRAM_RESELLER_CURRENT_PRICE_12 = 'telegram_reseller_current_price_12',\n TELEGRAM_RESELLER_CURRENT_PRICE_13 = 'telegram_reseller_current_price_13',\n TELEGRAM_RESELLER_CURRENT_PRICE_14 = 'telegram_reseller_current_price_14',\n TELEGRAM_RESELLER_CURRENT_PRICE_15 = 'telegram_reseller_current_price_15',\n}\n"]}
|
package/package.json
CHANGED
package/src/entities/product.ts
CHANGED
package/src/entities/store.ts
CHANGED
|
@@ -5,7 +5,6 @@ import { IsNotEmpty } from 'class-validator';
|
|
|
5
5
|
import { AbstractBase } from './abstract-base';
|
|
6
6
|
import { CATEGORY_ENUM } from './keyword';
|
|
7
7
|
import { CurrencyEnum } from './product';
|
|
8
|
-
import { ObjectLiteral } from '../classes';
|
|
9
8
|
import { StoreConfig } from '../dto/store-config.dto';
|
|
10
9
|
|
|
11
10
|
export interface StoreQueueConfig {
|
|
@@ -22,8 +21,11 @@ export interface StoreQueueConfig {
|
|
|
22
21
|
export enum CountryEnum {
|
|
23
22
|
CHILE = 'chile',
|
|
24
23
|
ARGENTINA = 'argentina',
|
|
24
|
+
URUGUAY = 'uruguay',
|
|
25
25
|
PERU = 'peru',
|
|
26
|
-
BRAZIL = 'brazil'
|
|
26
|
+
BRAZIL = 'brazil',
|
|
27
|
+
USA = 'usa',
|
|
28
|
+
SPAIN = 'spain',
|
|
27
29
|
}
|
|
28
30
|
|
|
29
31
|
export enum PriorityEnum {
|
|
@@ -83,12 +85,5 @@ export class Store extends AbstractBase {
|
|
|
83
85
|
defaultCurrency?: CurrencyEnum | string;
|
|
84
86
|
|
|
85
87
|
@Column()
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
@Column()
|
|
89
|
-
scraperConfig?: {
|
|
90
|
-
filterCategories?: string[];
|
|
91
|
-
skipCategories?: string[];
|
|
92
|
-
headers?: ObjectLiteral;
|
|
93
|
-
}
|
|
88
|
+
configs?: StoreConfig[];
|
|
94
89
|
}
|
|
@@ -35,4 +35,35 @@ export enum TelegramQueueEnum {
|
|
|
35
35
|
TELEGRAM_RESELLER_18 = 'telegram_reseller_18',
|
|
36
36
|
TELEGRAM_RESELLER_19 = 'telegram_reseller_19',
|
|
37
37
|
TELEGRAM_RESELLER_20 = 'telegram_reseller_20',
|
|
38
|
+
TELEGRAM_RESELLER_21 = 'telegram_reseller_21',
|
|
39
|
+
TELEGRAM_RESELLER_22 = 'telegram_reseller_22',
|
|
40
|
+
TELEGRAM_RESELLER_23 = 'telegram_reseller_23',
|
|
41
|
+
TELEGRAM_RESELLER_24 = 'telegram_reseller_24',
|
|
42
|
+
TELEGRAM_RESELLER_25 = 'telegram_reseller_25',
|
|
43
|
+
TELEGRAM_RESELLER_26 = 'telegram_reseller_26',
|
|
44
|
+
TELEGRAM_RESELLER_27 = 'telegram_reseller_27',
|
|
45
|
+
TELEGRAM_RESELLER_28 = 'telegram_reseller_28',
|
|
46
|
+
TELEGRAM_RESELLER_29 = 'telegram_reseller_29',
|
|
47
|
+
TELEGRAM_RESELLER_30 = 'telegram_reseller_30',
|
|
48
|
+
TELEGRAM_RESELLER_31 = 'telegram_reseller_31',
|
|
49
|
+
TELEGRAM_RESELLER_32 = 'telegram_reseller_32',
|
|
50
|
+
TELEGRAM_RESELLER_33 = 'telegram_reseller_33',
|
|
51
|
+
TELEGRAM_RESELLER_34 = 'telegram_reseller_34',
|
|
52
|
+
TELEGRAM_RESELLER_35 = 'telegram_reseller_35',
|
|
53
|
+
|
|
54
|
+
TELEGRAM_RESELLER_CURRENT_PRICE_1 = 'telegram_reseller_current_price_1',
|
|
55
|
+
TELEGRAM_RESELLER_CURRENT_PRICE_2 = 'telegram_reseller_current_price_2',
|
|
56
|
+
TELEGRAM_RESELLER_CURRENT_PRICE_3 = 'telegram_reseller_current_price_3',
|
|
57
|
+
TELEGRAM_RESELLER_CURRENT_PRICE_4 = 'telegram_reseller_current_price_4',
|
|
58
|
+
TELEGRAM_RESELLER_CURRENT_PRICE_5 = 'telegram_reseller_current_price_5',
|
|
59
|
+
TELEGRAM_RESELLER_CURRENT_PRICE_6 = 'telegram_reseller_current_price_6',
|
|
60
|
+
TELEGRAM_RESELLER_CURRENT_PRICE_7 = 'telegram_reseller_current_price_7',
|
|
61
|
+
TELEGRAM_RESELLER_CURRENT_PRICE_8 = 'telegram_reseller_current_price_8',
|
|
62
|
+
TELEGRAM_RESELLER_CURRENT_PRICE_9 = 'telegram_reseller_current_price_9',
|
|
63
|
+
TELEGRAM_RESELLER_CURRENT_PRICE_10 = 'telegram_reseller_current_price_10',
|
|
64
|
+
TELEGRAM_RESELLER_CURRENT_PRICE_11 = 'telegram_reseller_current_price_11',
|
|
65
|
+
TELEGRAM_RESELLER_CURRENT_PRICE_12 = 'telegram_reseller_current_price_12',
|
|
66
|
+
TELEGRAM_RESELLER_CURRENT_PRICE_13 = 'telegram_reseller_current_price_13',
|
|
67
|
+
TELEGRAM_RESELLER_CURRENT_PRICE_14 = 'telegram_reseller_current_price_14',
|
|
68
|
+
TELEGRAM_RESELLER_CURRENT_PRICE_15 = 'telegram_reseller_current_price_15',
|
|
38
69
|
}
|