store-scrapper-js-common 1.0.111 → 1.0.114

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.
@@ -7,5 +7,7 @@ export declare class StoreConfig {
7
7
  [key: string]: any;
8
8
  };
9
9
  includeProductsWithoutStock?: boolean;
10
+ queue?: string;
11
+ persistQueue?: string;
10
12
  [key: string]: any;
11
13
  }
@@ -1 +1 @@
1
- {"version":3,"file":"store-config.dto.js","sourceRoot":"/","sources":["dto/store-config.dto.ts"],"names":[],"mappings":";;;AAAA,MAAa,WAAW;CAcvB;AAdD,kCAcC","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 [key: string]: any\n}\n"]}
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"]}
@@ -4,6 +4,7 @@ import { AlertConditions } from './alert-conditions';
4
4
  export declare enum USER_ROLES {
5
5
  ADMIN = "admin",
6
6
  VIP = "vip",
7
+ RESELLER_GROUP = "reseller_group",
7
8
  NORMAL = "normal"
8
9
  }
9
10
  export declare class User extends AbstractBase {
@@ -17,6 +17,7 @@ var USER_ROLES;
17
17
  (function (USER_ROLES) {
18
18
  USER_ROLES["ADMIN"] = "admin";
19
19
  USER_ROLES["VIP"] = "vip";
20
+ USER_ROLES["RESELLER_GROUP"] = "reseller_group";
20
21
  USER_ROLES["NORMAL"] = "normal";
21
22
  })(USER_ROLES = exports.USER_ROLES || (exports.USER_ROLES = {}));
22
23
  let User = class User extends abstract_base_1.AbstractBase {
@@ -1 +1 @@
1
- {"version":3,"file":"user.js","sourceRoot":"/","sources":["entities/user.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAEiB;AACjB,qDAA6C;AAC7C,mDAA+C;AAI/C,IAAY,UAIX;AAJD,WAAY,UAAU;IAClB,6BAAe,CAAA;IACf,yBAAW,CAAA;IACX,+BAAiB,CAAA;AACrB,CAAC,EAJW,UAAU,GAAV,kBAAU,KAAV,kBAAU,QAIrB;AAID,IAAa,IAAI,GAAjB,MAAa,IAAK,SAAQ,4BAAY;IAAtC;;QA0BI,YAAO,GAAG,IAAI,CAAC;IAOnB,CAAC;CAAA,CAAA;AA/BG;IADC,gBAAM,CAAC,EAAE,OAAO,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC,EAAE,CAAC;;mCACrB;AAIpB;IAFC,gBAAM,EAAE;IACR,4BAAU,EAAE;;sCACI;AAIjB;IAFC,gBAAM,EAAE;IACR,4BAAU,EAAE;;mCACC;AAGd;IADC,gBAAM,EAAE;;mCACM;AAGf;IADC,gBAAM,EAAE;;mCACM;AAIf;IAFC,gBAAM,EAAE;IACR,eAAK,EAAE;;4CACgB;AAGxB;IADC,gBAAM,EAAE;;sCACS;AAGlB;IADC,gBAAM,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;;qCACX;AAGf;IADC,gBAAM,EAAE;;0CACwB;AAGjC;IADC,gBAAM,EAAE;;8CACoB;AAhCpB,IAAI;IAFhB,gBAAM,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;IACzB,gBAAM,CAAC,CAAC,UAAU,CAAC,CAAC;GACR,IAAI,CAiChB;AAjCY,oBAAI","sourcesContent":["import {\n Column, Entity, Index, Unique,\n} from 'typeorm';\nimport { IsNotEmpty } from 'class-validator';\nimport { AbstractBase } from './abstract-base';\nimport { Product } from './product';\nimport { AlertConditions } from './alert-conditions';\n\nexport enum USER_ROLES {\n ADMIN = 'admin',\n VIP = 'vip',\n NORMAL = 'normal'\n}\n\n@Entity({ name: 'users' })\n@Unique(['username'])\nexport class User extends AbstractBase {\n @Column({ default: [USER_ROLES.NORMAL] })\n roles: USER_ROLES[];\n\n @Column()\n @IsNotEmpty()\n username: string;\n\n @Column()\n @IsNotEmpty()\n email: string;\n\n @Column()\n phone?: number;\n\n @Column()\n alias?: string;\n\n @Column()\n @Index()\n telegramChatId?: number;\n\n @Column()\n cloudRef?: string;\n\n @Column({ default: true })\n enabled = true;\n\n @Column()\n productAlert?: AlertConditions[];\n\n @Column()\n productWatchList?: Product[];\n}\n"]}
1
+ {"version":3,"file":"user.js","sourceRoot":"/","sources":["entities/user.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAEiB;AACjB,qDAA6C;AAC7C,mDAA+C;AAI/C,IAAY,UAKX;AALD,WAAY,UAAU;IAClB,6BAAe,CAAA;IACf,yBAAW,CAAA;IACX,+CAAiC,CAAA;IACjC,+BAAiB,CAAA;AACrB,CAAC,EALW,UAAU,GAAV,kBAAU,KAAV,kBAAU,QAKrB;AAID,IAAa,IAAI,GAAjB,MAAa,IAAK,SAAQ,4BAAY;IAAtC;;QA0BI,YAAO,GAAG,IAAI,CAAC;IAOnB,CAAC;CAAA,CAAA;AA/BG;IADC,gBAAM,CAAC,EAAE,OAAO,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC,EAAE,CAAC;;mCACrB;AAIpB;IAFC,gBAAM,EAAE;IACR,4BAAU,EAAE;;sCACI;AAIjB;IAFC,gBAAM,EAAE;IACR,4BAAU,EAAE;;mCACC;AAGd;IADC,gBAAM,EAAE;;mCACM;AAGf;IADC,gBAAM,EAAE;;mCACM;AAIf;IAFC,gBAAM,EAAE;IACR,eAAK,EAAE;;4CACgB;AAGxB;IADC,gBAAM,EAAE;;sCACS;AAGlB;IADC,gBAAM,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;;qCACX;AAGf;IADC,gBAAM,EAAE;;0CACwB;AAGjC;IADC,gBAAM,EAAE;;8CACoB;AAhCpB,IAAI;IAFhB,gBAAM,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;IACzB,gBAAM,CAAC,CAAC,UAAU,CAAC,CAAC;GACR,IAAI,CAiChB;AAjCY,oBAAI","sourcesContent":["import {\n Column, Entity, Index, Unique,\n} from 'typeorm';\nimport { IsNotEmpty } from 'class-validator';\nimport { AbstractBase } from './abstract-base';\nimport { Product } from './product';\nimport { AlertConditions } from './alert-conditions';\n\nexport enum USER_ROLES {\n ADMIN = 'admin',\n VIP = 'vip',\n RESELLER_GROUP = 'reseller_group',\n NORMAL = 'normal'\n}\n\n@Entity({ name: 'users' })\n@Unique(['username'])\nexport class User extends AbstractBase {\n @Column({ default: [USER_ROLES.NORMAL] })\n roles: USER_ROLES[];\n\n @Column()\n @IsNotEmpty()\n username: string;\n\n @Column()\n @IsNotEmpty()\n email: string;\n\n @Column()\n phone?: number;\n\n @Column()\n alias?: string;\n\n @Column()\n @Index()\n telegramChatId?: number;\n\n @Column()\n cloudRef?: string;\n\n @Column({ default: true })\n enabled = true;\n\n @Column()\n productAlert?: AlertConditions[];\n\n @Column()\n productWatchList?: Product[];\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,iBAqCX;AArCD,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,gEAA2C,CAAA;IAC3C,gEAA2C,CAAA;IAC3C,gEAA2C,CAAA;IAC3C,gEAA2C,CAAA;IAC3C,gEAA2C,CAAA;IAC3C,gEAA2C,CAAA;IAC3C,gEAA2C,CAAA;IAC3C,gEAA2C,CAAA;IAC3C,gEAA2C,CAAA;IAC3C,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;AAC/C,CAAC,EArCW,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAqC5B","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_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}\n"]}
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,gEAA2C,CAAA;IAC3C,gEAA2C,CAAA;IAC3C,gEAA2C,CAAA;IAC3C,gEAA2C,CAAA;IAC3C,gEAA2C,CAAA;IAC3C,gEAA2C,CAAA;IAC3C,gEAA2C,CAAA;IAC3C,gEAA2C,CAAA;IAC3C,gEAA2C,CAAA;IAC3C,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;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;AAC3E,CAAC,EApEW,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAoE5B","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_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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "store-scrapper-js-common",
3
- "version": "1.0.111",
3
+ "version": "1.0.114",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -11,5 +11,9 @@ export class StoreConfig {
11
11
 
12
12
  includeProductsWithoutStock?: boolean;
13
13
 
14
+ queue?: string;
15
+
16
+ persistQueue?: string;
17
+
14
18
  [key: string]: any
15
19
  }
@@ -9,6 +9,7 @@ import { AlertConditions } from './alert-conditions';
9
9
  export enum USER_ROLES {
10
10
  ADMIN = 'admin',
11
11
  VIP = 'vip',
12
+ RESELLER_GROUP = 'reseller_group',
12
13
  NORMAL = 'normal'
13
14
  }
14
15
 
@@ -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
  }