store-scrapper-js-common 1.0.120 → 1.0.123

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.
@@ -19,10 +19,14 @@ export declare enum CurrencyEnum {
19
19
  export declare enum UpdateReasonEnum {
20
20
  TIME = "time",
21
21
  NEW_PRICE = "new_price",
22
+ PRICE_DOWN = "price_down",
23
+ PRICE_UP = "price_up",
22
24
  NEW_CONDITIONAL_PRICE = "new_conditional_price",
23
25
  NEW_NAME = "new_name",
24
26
  NEW_LISTING = "new_listing",
25
27
  NEW_STOCK = "new_stock",
28
+ STOCK_UP = "stock_up",
29
+ STOCK_DOWN = "stock_down",
26
30
  MISSING_DATA = "missing_data",
27
31
  FIX_DATA = "fix_data",
28
32
  RE_LISTING = "re_listing",
@@ -33,10 +33,14 @@ var UpdateReasonEnum;
33
33
  (function (UpdateReasonEnum) {
34
34
  UpdateReasonEnum["TIME"] = "time";
35
35
  UpdateReasonEnum["NEW_PRICE"] = "new_price";
36
+ UpdateReasonEnum["PRICE_DOWN"] = "price_down";
37
+ UpdateReasonEnum["PRICE_UP"] = "price_up";
36
38
  UpdateReasonEnum["NEW_CONDITIONAL_PRICE"] = "new_conditional_price";
37
39
  UpdateReasonEnum["NEW_NAME"] = "new_name";
38
40
  UpdateReasonEnum["NEW_LISTING"] = "new_listing";
39
41
  UpdateReasonEnum["NEW_STOCK"] = "new_stock";
42
+ UpdateReasonEnum["STOCK_UP"] = "stock_up";
43
+ UpdateReasonEnum["STOCK_DOWN"] = "stock_down";
40
44
  UpdateReasonEnum["MISSING_DATA"] = "missing_data";
41
45
  UpdateReasonEnum["FIX_DATA"] = "fix_data";
42
46
  UpdateReasonEnum["RE_LISTING"] = "re_listing";
@@ -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;AA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M,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;AAGpB;IADC,gBAAM,EAAE;8BACK,IAAI;4CAAA;AAjKT,OAAO;IAFnB,gBAAM,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE,CAAC;IAC5B,gBAAM,CAAC,eAAe,EAAE,CAAC,UAAU,EAAE,KAAK,CAAC,CAAC;GAChC,OAAO,CAkKnB;AAlKY,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 OUT_OF_STOCK = 'out_of_stock',\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 CHILDREN_OUT_OF_STOCK = 'children_out_of_stock'\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 updatedAt?: 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 conditionalPriceHistory?: 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 enabledHistory?: {enabled: boolean, updatedAt?:Date, createdAt?: Date}[];\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 @Column()\n extractedAt?: Date\n}\n"]}
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,gBAyBX;AAzBD,WAAY,gBAAgB;IACxB,iCAAa,CAAA;IACb,2CAAuB,CAAA;IACvB,6CAAyB,CAAA;IACzB,yCAAqB,CAAA;IACrB,mEAA+C,CAAA;IAC/C,yCAAqB,CAAA;IACrB,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UAAU,EAAE,KAAK,CAAC,CAAC;GAChC,OAAO,CAkKnB;AAlKY,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 PRICE_DOWN = 'price_down',\n PRICE_UP = 'price_up',\n NEW_CONDITIONAL_PRICE = 'new_conditional_price',\n NEW_NAME = 'new_name',\n NEW_LISTING = 'new_listing',\n NEW_STOCK = 'new_stock',\n STOCK_UP = 'stock_up',\n STOCK_DOWN = 'stock_down',\n MISSING_DATA = 'missing_data',\n FIX_DATA = 'fix_data',\n RE_LISTING = 're_listing',\n OUT_OF_STOCK = 'out_of_stock',\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 CHILDREN_OUT_OF_STOCK = 'children_out_of_stock'\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 updatedAt?: 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 conditionalPriceHistory?: 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 enabledHistory?: {enabled: boolean, updatedAt?:Date, createdAt?: Date}[];\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 @Column()\n extractedAt?: Date\n}\n"]}
@@ -19,6 +19,7 @@ export declare enum TelegramQueueEnum {
19
19
  TELEGRAM_STOCKS_AIR_FORCE = "telegram_stocks_air_force",
20
20
  TELEGRAM_STOCKS_AIR_MAX = "telegram_stocks_air_max",
21
21
  TELEGRAM_STOCKS_DUNK = "telegram_stocks_dunk",
22
+ TELEGRAM_STOCKS_YEEZY = "telegram_stocks_yeezy",
22
23
  TELEGRAM_RESELLER_PUBLIC_1 = "telegram_reseller_public_1",
23
24
  TELEGRAM_RESELLER_PUBLIC_2 = "telegram_reseller_public_2",
24
25
  TELEGRAM_RESELLER_PUBLIC_3 = "telegram_reseller_public_3",
@@ -64,6 +65,16 @@ export declare enum TelegramQueueEnum {
64
65
  TELEGRAM_RESELLER_33 = "telegram_reseller_33",
65
66
  TELEGRAM_RESELLER_34 = "telegram_reseller_34",
66
67
  TELEGRAM_RESELLER_35 = "telegram_reseller_35",
68
+ TELEGRAM_RESELLER_36 = "telegram_reseller_36",
69
+ TELEGRAM_RESELLER_37 = "telegram_reseller_37",
70
+ TELEGRAM_RESELLER_38 = "telegram_reseller_38",
71
+ TELEGRAM_RESELLER_39 = "telegram_reseller_39",
72
+ TELEGRAM_RESELLER_40 = "telegram_reseller_40",
73
+ TELEGRAM_RESELLER_41 = "telegram_reseller_41",
74
+ TELEGRAM_RESELLER_42 = "telegram_reseller_42",
75
+ TELEGRAM_RESELLER_43 = "telegram_reseller_43",
76
+ TELEGRAM_RESELLER_44 = "telegram_reseller_44",
77
+ TELEGRAM_RESELLER_45 = "telegram_reseller_45",
67
78
  TELEGRAM_RESELLER_CURRENT_PRICE_1 = "telegram_reseller_current_price_1",
68
79
  TELEGRAM_RESELLER_CURRENT_PRICE_2 = "telegram_reseller_current_price_2",
69
80
  TELEGRAM_RESELLER_CURRENT_PRICE_3 = "telegram_reseller_current_price_3",
@@ -78,5 +89,10 @@ export declare enum TelegramQueueEnum {
78
89
  TELEGRAM_RESELLER_CURRENT_PRICE_12 = "telegram_reseller_current_price_12",
79
90
  TELEGRAM_RESELLER_CURRENT_PRICE_13 = "telegram_reseller_current_price_13",
80
91
  TELEGRAM_RESELLER_CURRENT_PRICE_14 = "telegram_reseller_current_price_14",
81
- TELEGRAM_RESELLER_CURRENT_PRICE_15 = "telegram_reseller_current_price_15"
92
+ TELEGRAM_RESELLER_CURRENT_PRICE_15 = "telegram_reseller_current_price_15",
93
+ TELEGRAM_RESELLER_CURRENT_PRICE_16 = "telegram_reseller_current_price_16",
94
+ TELEGRAM_RESELLER_CURRENT_PRICE_17 = "telegram_reseller_current_price_17",
95
+ TELEGRAM_RESELLER_CURRENT_PRICE_18 = "telegram_reseller_current_price_18",
96
+ TELEGRAM_RESELLER_CURRENT_PRICE_19 = "telegram_reseller_current_price_19",
97
+ TELEGRAM_RESELLER_CURRENT_PRICE_20 = "telegram_reseller_current_price_20"
82
98
  }
@@ -23,6 +23,7 @@ var TelegramQueueEnum;
23
23
  TelegramQueueEnum["TELEGRAM_STOCKS_AIR_FORCE"] = "telegram_stocks_air_force";
24
24
  TelegramQueueEnum["TELEGRAM_STOCKS_AIR_MAX"] = "telegram_stocks_air_max";
25
25
  TelegramQueueEnum["TELEGRAM_STOCKS_DUNK"] = "telegram_stocks_dunk";
26
+ TelegramQueueEnum["TELEGRAM_STOCKS_YEEZY"] = "telegram_stocks_yeezy";
26
27
  TelegramQueueEnum["TELEGRAM_RESELLER_PUBLIC_1"] = "telegram_reseller_public_1";
27
28
  TelegramQueueEnum["TELEGRAM_RESELLER_PUBLIC_2"] = "telegram_reseller_public_2";
28
29
  TelegramQueueEnum["TELEGRAM_RESELLER_PUBLIC_3"] = "telegram_reseller_public_3";
@@ -68,6 +69,16 @@ var TelegramQueueEnum;
68
69
  TelegramQueueEnum["TELEGRAM_RESELLER_33"] = "telegram_reseller_33";
69
70
  TelegramQueueEnum["TELEGRAM_RESELLER_34"] = "telegram_reseller_34";
70
71
  TelegramQueueEnum["TELEGRAM_RESELLER_35"] = "telegram_reseller_35";
72
+ TelegramQueueEnum["TELEGRAM_RESELLER_36"] = "telegram_reseller_36";
73
+ TelegramQueueEnum["TELEGRAM_RESELLER_37"] = "telegram_reseller_37";
74
+ TelegramQueueEnum["TELEGRAM_RESELLER_38"] = "telegram_reseller_38";
75
+ TelegramQueueEnum["TELEGRAM_RESELLER_39"] = "telegram_reseller_39";
76
+ TelegramQueueEnum["TELEGRAM_RESELLER_40"] = "telegram_reseller_40";
77
+ TelegramQueueEnum["TELEGRAM_RESELLER_41"] = "telegram_reseller_41";
78
+ TelegramQueueEnum["TELEGRAM_RESELLER_42"] = "telegram_reseller_42";
79
+ TelegramQueueEnum["TELEGRAM_RESELLER_43"] = "telegram_reseller_43";
80
+ TelegramQueueEnum["TELEGRAM_RESELLER_44"] = "telegram_reseller_44";
81
+ TelegramQueueEnum["TELEGRAM_RESELLER_45"] = "telegram_reseller_45";
71
82
  TelegramQueueEnum["TELEGRAM_RESELLER_CURRENT_PRICE_1"] = "telegram_reseller_current_price_1";
72
83
  TelegramQueueEnum["TELEGRAM_RESELLER_CURRENT_PRICE_2"] = "telegram_reseller_current_price_2";
73
84
  TelegramQueueEnum["TELEGRAM_RESELLER_CURRENT_PRICE_3"] = "telegram_reseller_current_price_3";
@@ -83,5 +94,10 @@ var TelegramQueueEnum;
83
94
  TelegramQueueEnum["TELEGRAM_RESELLER_CURRENT_PRICE_13"] = "telegram_reseller_current_price_13";
84
95
  TelegramQueueEnum["TELEGRAM_RESELLER_CURRENT_PRICE_14"] = "telegram_reseller_current_price_14";
85
96
  TelegramQueueEnum["TELEGRAM_RESELLER_CURRENT_PRICE_15"] = "telegram_reseller_current_price_15";
97
+ TelegramQueueEnum["TELEGRAM_RESELLER_CURRENT_PRICE_16"] = "telegram_reseller_current_price_16";
98
+ TelegramQueueEnum["TELEGRAM_RESELLER_CURRENT_PRICE_17"] = "telegram_reseller_current_price_17";
99
+ TelegramQueueEnum["TELEGRAM_RESELLER_CURRENT_PRICE_18"] = "telegram_reseller_current_price_18";
100
+ TelegramQueueEnum["TELEGRAM_RESELLER_CURRENT_PRICE_19"] = "telegram_reseller_current_price_19";
101
+ TelegramQueueEnum["TELEGRAM_RESELLER_CURRENT_PRICE_20"] = "telegram_reseller_current_price_20";
86
102
  })(TelegramQueueEnum = exports.TelegramQueueEnum || (exports.TelegramQueueEnum = {}));
87
103
  //# 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,iBAqFX;AArFD,WAAY,iBAAiB;IAC3B,sDAAiC,CAAA;IACjC,sEAAiD,CAAA;IACjD,8EAAyD,CAAA;IACzD,iFAA4D,CAAA;IAC5D,yEAAoD,CAAA;IACpD,4EAAuD,CAAA;IACvD,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,sEAAiD,CAAA;IACjD,4EAAuD,CAAA;IACvD,wEAAmD,CAAA;IACnD,kEAA6C,CAAA;IAE7C,8EAAyD,CAAA;IACzD,8EAAyD,CAAA;IACzD,8EAAyD,CAAA;IACzD,8EAAyD,CAAA;IACzD,8EAAyD,CAAA;IACzD,8EAAyD,CAAA;IACzD,8EAAyD,CAAA;IACzD,8EAAyD,CA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',\n TELEGRAM_ALERT_PUBLIC_1 = 'telegram_alert_public',\n TELEGRAM_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_CART_STOCK_ALERT = 'telegram_cart_stock_alert',\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_STOCKS_JORDAN = 'telegram_stocks_jordan',\n TELEGRAM_STOCKS_AIR_FORCE = 'telegram_stocks_air_force',\n TELEGRAM_STOCKS_AIR_MAX = 'telegram_stocks_air_max',\n TELEGRAM_STOCKS_DUNK = 'telegram_stocks_dunk',\n\n TELEGRAM_RESELLER_PUBLIC_1 = 'telegram_reseller_public_1',\n TELEGRAM_RESELLER_PUBLIC_2 = 'telegram_reseller_public_2',\n TELEGRAM_RESELLER_PUBLIC_3 = 'telegram_reseller_public_3',\n TELEGRAM_RESELLER_PUBLIC_4 = 'telegram_reseller_public_4',\n TELEGRAM_RESELLER_PUBLIC_5 = 'telegram_reseller_public_5',\n TELEGRAM_RESELLER_PUBLIC_6 = 'telegram_reseller_public_6',\n TELEGRAM_RESELLER_PUBLIC_7 = 'telegram_reseller_public_7',\n TELEGRAM_RESELLER_PUBLIC_8 = 'telegram_reseller_public_8',\n TELEGRAM_RESELLER_PUBLIC_9 = 'telegram_reseller_public_9',\n TELEGRAM_RESELLER_PUBLIC_10 = 'telegram_reseller_public_10',\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"]}
1
+ {"version":3,"file":"telegram-queue.enum.js","sourceRoot":"/","sources":["enums/telegram-queue.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,iBAqGX;AArGD,WAAY,iBAAiB;IAC3B,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kEAA6C,CAAA;IAC7C,kEAA6C,CAAA;IAC7C,kEAA6C,CAAA;IAC7C,kEAA6C,CAAA;IAC7C,kEAA6C,CAAA;IAC7C,kEAA6C,CAAA;IAC7C,kEAA6C,CAAA;IAC7C,kEAA6C,CAAA;IAC7C,kEAA6C,CAAA;IAC7C,kEAA6C,CAAA;IAC7C,kEAA6C,CAAA;IAC7C,kEAA6C,CAAA;IAC7C,kEAA6C,CAAA;IAC7C,kEAA6C,CAAA;IAC7C,kEAA6C,CAAA;IAC7C,kEAA6C,CAAA;IAC7C,kEAA6C,CAAA;IAC7C,kEAA6C,CAAA;IAE7C,4FAAuE,CAAA;IACvE,4FAAuE,CAAA;IACvE,4FAAuE,CAAA;IACvE,4FAAuE,CAAA;IACvE,4FAAuE,CAAA;IACvE,4FAAuE,CAAA;IACvE,4FAAuE,CAAA;IACvE,4FAAuE,CAAA;IACvE,4FAAuE,CAAA;IACvE,8FAAyE,CAAA;IACzE,8FAAyE,CAAA;IACzE,8FAAyE,CAAA;IACzE,8FAAyE,CAAA;IACzE,8FAAyE,CAAA;IACzE,8FAAyE,CAAA;IACzE,8FAAyE,CAAA;IACzE,8FAAyE,CAAA;IACzE,8FAAyE,CAAA;IACzE,8FAAyE,CAAA;IACzE,8FAAyE,CAAA;AAC3E,CAAC,EArGW,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAqG5B","sourcesContent":["export enum TelegramQueueEnum {\n TELEGRAM_ALERT = 'telegram_alert',\n TELEGRAM_ALERT_PUBLIC_1 = 'telegram_alert_public',\n TELEGRAM_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_CART_STOCK_ALERT = 'telegram_cart_stock_alert',\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_STOCKS_JORDAN = 'telegram_stocks_jordan',\n TELEGRAM_STOCKS_AIR_FORCE = 'telegram_stocks_air_force',\n TELEGRAM_STOCKS_AIR_MAX = 'telegram_stocks_air_max',\n TELEGRAM_STOCKS_DUNK = 'telegram_stocks_dunk',\n TELEGRAM_STOCKS_YEEZY = 'telegram_stocks_yeezy',\n\n TELEGRAM_RESELLER_PUBLIC_1 = 'telegram_reseller_public_1',\n TELEGRAM_RESELLER_PUBLIC_2 = 'telegram_reseller_public_2',\n TELEGRAM_RESELLER_PUBLIC_3 = 'telegram_reseller_public_3',\n TELEGRAM_RESELLER_PUBLIC_4 = 'telegram_reseller_public_4',\n TELEGRAM_RESELLER_PUBLIC_5 = 'telegram_reseller_public_5',\n TELEGRAM_RESELLER_PUBLIC_6 = 'telegram_reseller_public_6',\n TELEGRAM_RESELLER_PUBLIC_7 = 'telegram_reseller_public_7',\n TELEGRAM_RESELLER_PUBLIC_8 = 'telegram_reseller_public_8',\n TELEGRAM_RESELLER_PUBLIC_9 = 'telegram_reseller_public_9',\n TELEGRAM_RESELLER_PUBLIC_10 = 'telegram_reseller_public_10',\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 TELEGRAM_RESELLER_36 = 'telegram_reseller_36',\n TELEGRAM_RESELLER_37 = 'telegram_reseller_37',\n TELEGRAM_RESELLER_38 = 'telegram_reseller_38',\n TELEGRAM_RESELLER_39 = 'telegram_reseller_39',\n TELEGRAM_RESELLER_40 = 'telegram_reseller_40',\n TELEGRAM_RESELLER_41 = 'telegram_reseller_41',\n TELEGRAM_RESELLER_42 = 'telegram_reseller_42',\n TELEGRAM_RESELLER_43 = 'telegram_reseller_43',\n TELEGRAM_RESELLER_44 = 'telegram_reseller_44',\n TELEGRAM_RESELLER_45 = 'telegram_reseller_45',\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 TELEGRAM_RESELLER_CURRENT_PRICE_16 = 'telegram_reseller_current_price_16',\n TELEGRAM_RESELLER_CURRENT_PRICE_17 = 'telegram_reseller_current_price_17',\n TELEGRAM_RESELLER_CURRENT_PRICE_18 = 'telegram_reseller_current_price_18',\n TELEGRAM_RESELLER_CURRENT_PRICE_19 = 'telegram_reseller_current_price_19',\n TELEGRAM_RESELLER_CURRENT_PRICE_20 = 'telegram_reseller_current_price_20',\n}\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "store-scrapper-js-common",
3
- "version": "1.0.120",
3
+ "version": "1.0.123",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -26,10 +26,14 @@ export enum CurrencyEnum {
26
26
  export enum UpdateReasonEnum {
27
27
  TIME = 'time',
28
28
  NEW_PRICE = 'new_price',
29
+ PRICE_DOWN = 'price_down',
30
+ PRICE_UP = 'price_up',
29
31
  NEW_CONDITIONAL_PRICE = 'new_conditional_price',
30
32
  NEW_NAME = 'new_name',
31
33
  NEW_LISTING = 'new_listing',
32
34
  NEW_STOCK = 'new_stock',
35
+ STOCK_UP = 'stock_up',
36
+ STOCK_DOWN = 'stock_down',
33
37
  MISSING_DATA = 'missing_data',
34
38
  FIX_DATA = 'fix_data',
35
39
  RE_LISTING = 're_listing',
@@ -20,6 +20,7 @@ export enum TelegramQueueEnum {
20
20
  TELEGRAM_STOCKS_AIR_FORCE = 'telegram_stocks_air_force',
21
21
  TELEGRAM_STOCKS_AIR_MAX = 'telegram_stocks_air_max',
22
22
  TELEGRAM_STOCKS_DUNK = 'telegram_stocks_dunk',
23
+ TELEGRAM_STOCKS_YEEZY = 'telegram_stocks_yeezy',
23
24
 
24
25
  TELEGRAM_RESELLER_PUBLIC_1 = 'telegram_reseller_public_1',
25
26
  TELEGRAM_RESELLER_PUBLIC_2 = 'telegram_reseller_public_2',
@@ -67,6 +68,16 @@ export enum TelegramQueueEnum {
67
68
  TELEGRAM_RESELLER_33 = 'telegram_reseller_33',
68
69
  TELEGRAM_RESELLER_34 = 'telegram_reseller_34',
69
70
  TELEGRAM_RESELLER_35 = 'telegram_reseller_35',
71
+ TELEGRAM_RESELLER_36 = 'telegram_reseller_36',
72
+ TELEGRAM_RESELLER_37 = 'telegram_reseller_37',
73
+ TELEGRAM_RESELLER_38 = 'telegram_reseller_38',
74
+ TELEGRAM_RESELLER_39 = 'telegram_reseller_39',
75
+ TELEGRAM_RESELLER_40 = 'telegram_reseller_40',
76
+ TELEGRAM_RESELLER_41 = 'telegram_reseller_41',
77
+ TELEGRAM_RESELLER_42 = 'telegram_reseller_42',
78
+ TELEGRAM_RESELLER_43 = 'telegram_reseller_43',
79
+ TELEGRAM_RESELLER_44 = 'telegram_reseller_44',
80
+ TELEGRAM_RESELLER_45 = 'telegram_reseller_45',
70
81
 
71
82
  TELEGRAM_RESELLER_CURRENT_PRICE_1 = 'telegram_reseller_current_price_1',
72
83
  TELEGRAM_RESELLER_CURRENT_PRICE_2 = 'telegram_reseller_current_price_2',
@@ -83,4 +94,9 @@ export enum TelegramQueueEnum {
83
94
  TELEGRAM_RESELLER_CURRENT_PRICE_13 = 'telegram_reseller_current_price_13',
84
95
  TELEGRAM_RESELLER_CURRENT_PRICE_14 = 'telegram_reseller_current_price_14',
85
96
  TELEGRAM_RESELLER_CURRENT_PRICE_15 = 'telegram_reseller_current_price_15',
97
+ TELEGRAM_RESELLER_CURRENT_PRICE_16 = 'telegram_reseller_current_price_16',
98
+ TELEGRAM_RESELLER_CURRENT_PRICE_17 = 'telegram_reseller_current_price_17',
99
+ TELEGRAM_RESELLER_CURRENT_PRICE_18 = 'telegram_reseller_current_price_18',
100
+ TELEGRAM_RESELLER_CURRENT_PRICE_19 = 'telegram_reseller_current_price_19',
101
+ TELEGRAM_RESELLER_CURRENT_PRICE_20 = 'telegram_reseller_current_price_20',
86
102
  }