@wrcb/cb-common 1.0.812 → 1.0.814

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/build/index.d.ts CHANGED
@@ -38,6 +38,7 @@ export * from './types/addressType';
38
38
  export * from './types/imageProcessingStatus';
39
39
  export * from './types/whatsapp';
40
40
  export * from './types/leadAutomator';
41
+ export * from './types/calNutri';
41
42
  export * from './types/politicaBetCategory';
42
43
  export * from './types/predictionStatus';
43
44
  export * from './types/disputeStatus';
package/build/index.js CHANGED
@@ -55,6 +55,8 @@ __exportStar(require("./types/imageProcessingStatus"), exports);
55
55
  __exportStar(require("./types/whatsapp"), exports);
56
56
  // leadautomator
57
57
  __exportStar(require("./types/leadAutomator"), exports);
58
+ // cal-nutri
59
+ __exportStar(require("./types/calNutri"), exports);
58
60
  // politicabet
59
61
  __exportStar(require("./types/politicaBetCategory"), exports);
60
62
  __exportStar(require("./types/predictionStatus"), exports);
@@ -826,5 +826,93 @@ TenantDataService.tenantDataMap = {
826
826
  }
827
827
  },
828
828
  RATING_CRITERIA: undefined
829
+ },
830
+ [tenant_1.Tenant.CaloriesNutri]: {
831
+ TENANT: tenant_1.Tenant.CaloriesNutri,
832
+ BACKEND_API_VERSION: '1',
833
+ SITE_NAME: 'CaloriesNutri',
834
+ SITE_URL: 'https://wrsolucoesdigitais.com.br',
835
+ SITE_WHATSAPP_SUPPORT: '37988083717',
836
+ SITE_WHATSAPP_BOT: '',
837
+ WHATSAPP_BOT_NUMBER_ID: '',
838
+ WHATSAPP_TOKEN: '',
839
+ WHATSAPP_API_URL: '',
840
+ WHATSAPP_API_VERSION: '',
841
+ IOS_APP_DOWNLOAD_LINK: '',
842
+ ANDROID_APP_DOWNLOAD_LINK: '',
843
+ SITE_DESCRIPTION: 'CaloriesNutri is an app that helps you track your calorie intake and nutritional information, making it easier to maintain a healthy lifestyle.',
844
+ KEYWORDS: ['calories', 'nutrition', 'health', 'diet', 'fitness'],
845
+ SOCIAL_X: '',
846
+ SOCIAL_YOUTUBE: '',
847
+ SOCIAL_INSTAGRAM: '',
848
+ SOCIAL_FACEBOOK: '',
849
+ USER_CATEGORIES_CONFIG: {},
850
+ COUPONS_TYPE_ALLOWED_TO_BE_CREATED_BY_SELLER: [],
851
+ COUPONS_TYPE_ALLOWED_TO_BE_CREATED_BY_ADMIN: [],
852
+ EMAIL_HOST: 'smtp.gmail.com',
853
+ EMAIL_PORT: '587',
854
+ EMAIL_USER: 'wrsolucoesdig@gmail.com',
855
+ EMAIL_PASS: 'lwegguaqrzauawsg', // CORRETO lwegguaqrzauawsg
856
+ AUTH_FACEBOOK_APP_ID: '',
857
+ AUTH_GOOGLE_ID: '',
858
+ AUTH_GOOGLE_SECRET: '',
859
+ GOOGLE_ANALYTICS_MEASUREMENT_ID: '',
860
+ GOOGLE_VERIFICATION: '',
861
+ MEDIA_CONFIG: {
862
+ maxPhotoSizeMB: 5,
863
+ maxVideoSizeMB: 20,
864
+ allowedImageFormats: ['jpg', 'jpeg', 'png', 'webp'],
865
+ allowedVideoFormats: ['mp4', 'webm'],
866
+ imageQualities: {
867
+ thumbnail: { width: 150, height: 150, quality: 80 },
868
+ medium: { width: 800, height: 800, quality: 85 },
869
+ large: { width: 1200, height: 1200, quality: 90 }
870
+ }
871
+ },
872
+ RATING_CRITERIA: undefined
873
+ },
874
+ [tenant_1.Tenant.YoutubeDark]: {
875
+ TENANT: tenant_1.Tenant.YoutubeDark,
876
+ BACKEND_API_VERSION: '1',
877
+ SITE_NAME: 'YoutubeDark',
878
+ SITE_URL: 'https://wrsolucoesdigitais.com.br',
879
+ SITE_WHATSAPP_SUPPORT: '37988083717',
880
+ SITE_WHATSAPP_BOT: '',
881
+ WHATSAPP_BOT_NUMBER_ID: '',
882
+ WHATSAPP_TOKEN: '',
883
+ WHATSAPP_API_URL: '',
884
+ WHATSAPP_API_VERSION: '',
885
+ IOS_APP_DOWNLOAD_LINK: '',
886
+ ANDROID_APP_DOWNLOAD_LINK: '',
887
+ SITE_DESCRIPTION: 'Youtube Dark Creator',
888
+ KEYWORDS: ['Youtube'],
889
+ SOCIAL_X: '',
890
+ SOCIAL_YOUTUBE: '',
891
+ SOCIAL_INSTAGRAM: '',
892
+ SOCIAL_FACEBOOK: '',
893
+ USER_CATEGORIES_CONFIG: {},
894
+ COUPONS_TYPE_ALLOWED_TO_BE_CREATED_BY_SELLER: [],
895
+ COUPONS_TYPE_ALLOWED_TO_BE_CREATED_BY_ADMIN: [],
896
+ EMAIL_HOST: 'smtp.gmail.com',
897
+ EMAIL_PORT: '587',
898
+ EMAIL_USER: 'wrsolucoesdig@gmail.com',
899
+ EMAIL_PASS: 'lwegguaqrzauawsg', // CORRETO lwegguaqrzauawsg
900
+ AUTH_FACEBOOK_APP_ID: '',
901
+ AUTH_GOOGLE_ID: '',
902
+ AUTH_GOOGLE_SECRET: '',
903
+ GOOGLE_ANALYTICS_MEASUREMENT_ID: '',
904
+ GOOGLE_VERIFICATION: '',
905
+ MEDIA_CONFIG: {
906
+ maxPhotoSizeMB: 5,
907
+ maxVideoSizeMB: 20,
908
+ allowedImageFormats: ['jpg', 'jpeg', 'png', 'webp'],
909
+ allowedVideoFormats: ['mp4', 'webm'],
910
+ imageQualities: {
911
+ thumbnail: { width: 150, height: 150, quality: 80 },
912
+ medium: { width: 800, height: 800, quality: 85 },
913
+ large: { width: 1200, height: 1200, quality: 90 }
914
+ }
915
+ },
916
+ RATING_CRITERIA: undefined
829
917
  }
830
918
  };
@@ -0,0 +1,53 @@
1
+ export declare enum GoalType {
2
+ WeightLoss = "WeightLoss",
3
+ MuscleGain = "MuscleGain",
4
+ MuscleDefinition = "MuscleDefinition",
5
+ MaintainWeight = "MaintainWeight"
6
+ }
7
+ export declare enum GenderType {
8
+ Male = "Male",
9
+ Female = "Female",
10
+ Other = "Other"
11
+ }
12
+ export declare enum ActivityLevel {
13
+ Light = "Light",// 0-2 workouts/week
14
+ Moderate = "Moderate",// 3-5 workouts/week
15
+ Intense = "Intense"
16
+ }
17
+ export declare enum DietType {
18
+ Classic = "Classic",
19
+ Pescatarian = "Pescatarian",
20
+ Vegetarian = "Vegetarian",
21
+ Vegan = "Vegan",
22
+ GlutenFree = "GlutenFree",
23
+ LactoseFree = "LactoseFree",
24
+ LowCarb = "LowCarb",
25
+ HighProtein = "HighProtein",
26
+ Mediterranean = "Mediterranean"
27
+ }
28
+ export declare enum AppLanguage {
29
+ Portuguese = "Portuguese",
30
+ English = "English",
31
+ Spanish = "Spanish",
32
+ French = "French",
33
+ German = "German",
34
+ Italian = "Italian",
35
+ Japanese = "Japanese",
36
+ Korean = "Korean",
37
+ Chinese = "Chinese",
38
+ Arabic = "Arabic",
39
+ Hindi = "Hindi",
40
+ Dutch = "Dutch"
41
+ }
42
+ export declare enum MealType {
43
+ Breakfast = "breakfast",
44
+ MorningSnack = "morning_snack",
45
+ Lunch = "lunch",
46
+ AfternoonSnack = "afternoon_snack",
47
+ Dinner = "dinner",
48
+ Other = "other"
49
+ }
50
+ export declare enum FoodOrigin {
51
+ Photo = "photo",
52
+ Text = "text"
53
+ }
@@ -0,0 +1,63 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.FoodOrigin = exports.MealType = exports.AppLanguage = exports.DietType = exports.ActivityLevel = exports.GenderType = exports.GoalType = void 0;
4
+ var GoalType;
5
+ (function (GoalType) {
6
+ GoalType["WeightLoss"] = "WeightLoss";
7
+ GoalType["MuscleGain"] = "MuscleGain";
8
+ GoalType["MuscleDefinition"] = "MuscleDefinition";
9
+ GoalType["MaintainWeight"] = "MaintainWeight";
10
+ })(GoalType || (exports.GoalType = GoalType = {}));
11
+ var GenderType;
12
+ (function (GenderType) {
13
+ GenderType["Male"] = "Male";
14
+ GenderType["Female"] = "Female";
15
+ GenderType["Other"] = "Other";
16
+ })(GenderType || (exports.GenderType = GenderType = {}));
17
+ var ActivityLevel;
18
+ (function (ActivityLevel) {
19
+ ActivityLevel["Light"] = "Light";
20
+ ActivityLevel["Moderate"] = "Moderate";
21
+ ActivityLevel["Intense"] = "Intense"; // 6+ workouts/week
22
+ })(ActivityLevel || (exports.ActivityLevel = ActivityLevel = {}));
23
+ var DietType;
24
+ (function (DietType) {
25
+ DietType["Classic"] = "Classic";
26
+ DietType["Pescatarian"] = "Pescatarian";
27
+ DietType["Vegetarian"] = "Vegetarian";
28
+ DietType["Vegan"] = "Vegan";
29
+ DietType["GlutenFree"] = "GlutenFree";
30
+ DietType["LactoseFree"] = "LactoseFree";
31
+ DietType["LowCarb"] = "LowCarb";
32
+ DietType["HighProtein"] = "HighProtein";
33
+ DietType["Mediterranean"] = "Mediterranean";
34
+ })(DietType || (exports.DietType = DietType = {}));
35
+ var AppLanguage;
36
+ (function (AppLanguage) {
37
+ AppLanguage["Portuguese"] = "Portuguese";
38
+ AppLanguage["English"] = "English";
39
+ AppLanguage["Spanish"] = "Spanish";
40
+ AppLanguage["French"] = "French";
41
+ AppLanguage["German"] = "German";
42
+ AppLanguage["Italian"] = "Italian";
43
+ AppLanguage["Japanese"] = "Japanese";
44
+ AppLanguage["Korean"] = "Korean";
45
+ AppLanguage["Chinese"] = "Chinese";
46
+ AppLanguage["Arabic"] = "Arabic";
47
+ AppLanguage["Hindi"] = "Hindi";
48
+ AppLanguage["Dutch"] = "Dutch";
49
+ })(AppLanguage || (exports.AppLanguage = AppLanguage = {}));
50
+ var MealType;
51
+ (function (MealType) {
52
+ MealType["Breakfast"] = "breakfast";
53
+ MealType["MorningSnack"] = "morning_snack";
54
+ MealType["Lunch"] = "lunch";
55
+ MealType["AfternoonSnack"] = "afternoon_snack";
56
+ MealType["Dinner"] = "dinner";
57
+ MealType["Other"] = "other";
58
+ })(MealType || (exports.MealType = MealType = {}));
59
+ var FoodOrigin;
60
+ (function (FoodOrigin) {
61
+ FoodOrigin["Photo"] = "photo";
62
+ FoodOrigin["Text"] = "text";
63
+ })(FoodOrigin || (exports.FoodOrigin = FoodOrigin = {}));
@@ -6,5 +6,7 @@ export declare enum Tenant {
6
6
  BrainrotColoring = "BrainrotColoring",
7
7
  PrivateShow = "PrivateShow",
8
8
  RealStateVideos = "RealStateVideos",
9
+ CaloriesNutri = "CaloriesNutri",
10
+ YoutubeDark = "YoutubeDark",
9
11
  LeadAutomator = "LeadAutomator"
10
12
  }
@@ -10,5 +10,7 @@ var Tenant;
10
10
  Tenant["BrainrotColoring"] = "BrainrotColoring";
11
11
  Tenant["PrivateShow"] = "PrivateShow";
12
12
  Tenant["RealStateVideos"] = "RealStateVideos";
13
+ Tenant["CaloriesNutri"] = "CaloriesNutri";
14
+ Tenant["YoutubeDark"] = "YoutubeDark";
13
15
  Tenant["LeadAutomator"] = "LeadAutomator";
14
16
  })(Tenant || (exports.Tenant = Tenant = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wrcb/cb-common",
3
- "version": "1.0.812",
3
+ "version": "1.0.814",
4
4
  "description": "Common resources between services",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",