package com.jachdev.consumerprotection;

/**
 * Created by Prabuddha on 05/03/2022.
 */
public class AppConstant {
    public static final String BASE_URL = "http://192.168.1.101:5000/";
    public static final String BASE_URL_BOT = "http://api.brainshop.ai/";
    public static final String BASE_URL_CAL = "https://api.calorieninjas.com/";
    public static final String BRAIN_ID = "165844";
    public static final String API_KEY = "yn9Tx2rC7nzUrgO0";
    public static final String CAL_API_KEY = "3Fxc3hoyPcu61zxSTkNuhg==0gOJIPDorFANJeph";

    public static final String PATH_SIGN_UP = "register";
    public static final String PATH_LOGIN = "login";
    public static final String PATH_GET_CATEGORIES = "getCategories";
    public static final String PATH_GET_ORGANIZATION = "getOrganization";
    public static final String PATH_ADD_ORGANIZATION = "addOrganization";
    public static final String PATH_ADD_SHOP = "addShop";
    public static final String PATH_GET_SHOP = "getShops";
    public static final String PATH_GET_ESSENTIALS = "getEssentials";
    public static final String PATH_COMPLAINTS = "complaints";
    public static final String PATH_GET_ALL_SHOPS = "getAllShops";
    public static final String PATH_GET_NOTIFICATIONS = "getNotifications";
    public static final String PATH_ADD_LIPID_PROFILE = "addLipidProfile";
    public static final String PATH_GET_LIPID_PROFILE = "getLipidProfile";
    public static final String PATH_GET_DIET_PLAN = "getDietPlan";
    public static final String PATH_ADD_HEALTH = "addHealth";
    public static final String PATH_GET_HEALTH = "getHealth";
    public static final String PATH_GET_EXER = "getExercisePlan";

    //Bot
    public static final String PATH_GET_MESSAGE = "get";
    //Cal
    public static final String PATH_GET_NUTRITION = "v1/nutrition";

    public static final String ORG_LOGO_KEY = "logo";
    public static final int IMAGE_LIMIT = 1;
    public static final String IMAGE_PATH = "img/";

    public class ImageExtractor {
        public static final String KEY_GLUCOSE = "FASTING PLASMA GLUCOSE";
        public static final String REG_GLUCOSE = "(\\d+) (mg\\/dl)";
        public static final String KEY_CHOLESTEROL = "TOTAL CHOLESTEROL";
        public static final String REG_CHOLESTEROL = "(\\d+) (mg\\/dl)";
        public static final String KEY_HDL = "H.D.L.";
        public static final String REG_HDL = "(\\d+) (mg\\/dl)";
        public static final String KEY_LDL = "L.D.L.";
        public static final String REG_LDL = "(\\d+) (mg\\/dl)";

        public static final int MAX_GLU = 110;
        public static final int MIN_GLU = 65;

        public static final int MAX_CHOL = 240;
        public static final int MIN_CHOL = 140;

        public static final int MAX_HDL = 85;
        public static final int MIN_HDL = 35;

        public static final int MAX_LDL = 160;
        public static final int MIN_LDL = 75;
    }
}
