package com.seatel.mobilehall.util

import com.seatel.mobilehall.BuildConfig

object Constant {
    var CATEGORY = "app-category"
    var RESET_PASSWORD = "reset-password"
    var LINK_PHONE_NUMBER = "link-phone-number"
    var VERRIFY_PHONE_NUMBER = "verify-phone-number"
    var WECHAT = "wechat"
    var SENDER_NUMBER = "1800"
    var SENDER_NUMBER_OFFNET = "yes"
    var REGISTER = "register"
    var SOCIAL_REGISTER = "social-register"
    var ANY = "any"


    /**
     * IntentKeys
     */

    const val MRZ_FIRST_NAME = "mrz_first_name"
    const val MRZ_LAST_NAME = "mrz_last_name"
    const val MRZ_ID = "mrz_id"
    const val MRZ_DOB = "mrz_dob"
    const val MRZ_GENDER = "mrz_gender"
    const val MRZ_DOCUMENT_TYPE = "mrz_type"
    const val MRZ_DATE_OF_EXPIRY_TYPE = "mrz_date_of_expiry"
    const val MRZ_COUNTRY_CODE = "mrz_country_code"
    const val LANGUAGE_CHOOSEN_DATA = "language_choosen_data"
    const val MPAY_AMOUNT = "mpay_amount"
    const val MPAY_ACCOUNT_TRANFER = "mpay_account_transfer"
    const val DURATION_PLAN_DATE_SELECT = "duration_plan_date_select"
    const val TITLE_HEADER = "title_header"
    const val IS_ORDER_TERM = "is_order_term"
    const val IS_FROM_ORDER = "is_from_order"
    const val LAUNCH_FROM = "launch_from"
    const val PRICE_VALUE = "price_value"
    const val SUCCESS_VALUE_TOP = "success_value_top"
    const val SUCCESS_VALUE_BOTTOM = "success_value_bottom"
    const val MERCHANT_ID = "merchant_id"
    const val SHOP_LOCATION_DATA = "shop_location_data"
    const val PHONE_NUMBER = "phone_number"
    const val PIN_NUMBER = "pin_number"
    const val IS_NEW_PHONE = "add_new_phone"
    const val IS_MODIFY_PROFILE = "modify_profile"
    const val DEVICE_DETAIL = "device_detail"
    const val DEVICE_URL = "device_url"
    const val COLOR_DEVICE = "color_device"
    const val COLOR_CODE_DEVICE = "color_code_device"
    const val STORAGE_DEVICE = "storage_device"
    const val ORDER_DEVICE = "order_device"
    const val ORDER_DEVICE_ABLEUPDATE = "order_device_ableupdate"
    const val CART_ID = "cart_id"
    const val NO_BUY_ADDCART = "no_buy_addcart"
    const val AMOUNT_ORDER_DEVICE = "amount_order_device"
    const val PRICE_DEVICE_BASE = "price_device_base"
    const val IS_UPDATE_DEVICE = "is_update_device"
    const val ORDER_ID = "order_id"
    const val ORDER_INFO_UPDATE = "order_info_update"
    const val ORDER_ID_LIST = "order_id_list"
    const val LOCATION_DATA = "location_data"
    const val DATA_DEVICE_DETAIL = "data_device_detail"
    const val INTERNET_PACK_PRICE_SELECT = "internet_plan_price"
    const val ADD_ON_POSITION = "add_on_position"
    const val ADD_ON_DURACTION = "add_on_duration"
    const val FINGERPRINT_RESULT = "fingerprint_result"
    const val SUPPORT_IDENTIFY = "support_identify"
    const val SEARCH_DEVICE = "search_device"
    const val SUPPORTED_DEVICE_DETAIL = "supported_device_detail"
    const val PROMOTION_CODE = "promotion_code"

    /**
     * RequestCode
     */

    const val REQUEST_CAMERA_PERMISSION_CODE: Int = 100
    const val REQUEST_CHANGE_LANGUAGE_CODE = 101
    const val REQUEST_LOCATION_PERMISSION_CODE = 102
    const val REQUEST_PHONE_PERMISSION_CODE = 106
    const val REQUEST_TAKE_PHOTO = 103
    const val REQUEST_LOAD_PHOTO = 104
    const val REQUEST_PHONE_CALL = 105
    const val REQUEST_CROP_PHOTO = 107
    const val SMS_PERMISSION_CODE = 108
    const val PHONE_PERMISSION = 109
    const val REQUEST_WING = 99
    const val REQUEST_ACLEDA = 200
    const val PICK_UP_YES_HUB_LOCATION = 98
    const val DEVICE_OPTION = 96
    const val CART_DEVICE_DETAIL = 95
    const val PLAN_SUBSCRIPTION = 94
    const val SCAN_MRZ = 93


    const val REQUEST_FINGERPRINT_CODE = 110
    const val REQUEST_CAMERA = 201
    const val REQUEST_GELLARY = 202
    const val SCAN_FACE = 175


    /**
     * OrderType
     */

    const val SIM_CARD: String = "sim-card"
    const val DEVICE = "device"
    const val SRATCH_CARD = "scratch-card"

    /**
     * PaymentMethodList
     */

    var WING: String? = "wing"
    var M_PAY = "mpay"
    var ALI_PAY = "alipay"
    var ABA = "aba"
    var ABA_CARD = "aba-card"
    var ACLEDA = "acleda"
    var ACLEDA_KHQR: String = "acleda-khqr"

    /**
     * Request
     */


    const val BASE_CONTROLLER: String = ""
    const val ALL_LANGUAGE = "keywords"
    const val NOTIFICATION_LIST = "notification"
    const val MAIN_SCREEN_DATA = "seatel/main?phoneNumber="
    const val SHOP_LOCATION = "shops"
    const val CHANGE_PASSWORD = "seatel/change-password"
    const val USER_REQUEST_CODE = "seatel/request-code"
    const val PROMOTION = "app-promotions/promotions"
    const val BUY_DATA = "seatel/buy-data"
    const val USER_CONFIRM_CODE = "seatel/confirm-code"
    const val VERIFY_CODE = "seatel/verify-code"
    const val LOGIN = "v2/seatel/login"
    const val UNIONPAY_TRANSACTION_NUMBER = "seatel/unionpay-transaction-number"
    const val TOP_UP = "seatel/top-up"
    const val VERIFY_PIN = "seatel/verify-pin"
    const val REGISTER_PUSH_TOKEN = "auth/register-push-token"
    const val UNREGISTER_PUSH_TOKEN = "auth/unregister-push-token"
    const val LEAVE_MESSAGE = "Feedback"
    const val INTERNET_PACK_2 = "v2/products/internet-pack"
    const val SEATELAIRLINE_PACK = "v2/products/seatel-airline-pack"
    const val LANMEIAIRLINE_PACK = "v2/products/lanmei-airline-pack"
    const val UNLIMITED_YOUTUBE = "products/unlimited-youtube"
    const val ONE_PLAN = "products/oneplan"
    const val FREE_INTERNET = "products/freedata"
    const val CHANGE_LANGUAGE = "seatel/change-language"
    const val SLIDE_PROFILE = "v2/seatel/profiles"
    const val INTERNET_PLAN = "seatel/internet-plans"
    const val APP_PRODUCTS = "app-products"
    const val PAYMENT_METHODS = "v2/payment-methods"
    const val BILING = "billings"
    const val BILLING = "billings/pdf"
    const val ORDERS = "orders"
    const val ORDERS_HISTORY = "orders/history"
    const val SUBSCRIPTION_PLANS = "seatel/subscription-plans"
    const val SEARCH_PHONE_NUMBERS = "seatel/phone-numbers"
    const val CARTS = "carts"
    const val ORDER = "orders"
    const val ORDER_VERIFY = "orders/verify"
    const val UPLOAD_IMAGE = "uploads/images"
    const val UPDATE_CART_ITEMS = "carts/items/"
    const val DELIVERY_INFO = "order-service-info"
    const val SCAN_MZR = "mrz-scan/api-key"
    const val SUPPORTED_DEVICE = "supported-devices"
    const val FAQs = "faqs/questions"
    const val APPUSAGES = "app-usages/track"
    const val ANSWER = "faqs/answer/"
    const val PROSERVICEDETAIL = "admin/products/"

    /**
     * LangCode
     */

    const val KHMER = "km"
    const val ENGLISH = "en"
    const val CHINESE = "zh"

    /**
     * TypeSuccess
     */

    const val TOPUP_SUCCESS: String = "topup_success"
    const val TRANSFER_SUCCESS = "transfer_success"
    const val PAY_CONFIRM = "pay_confirm"

    const val APP_ID_FRESHCHAT = "a3b9b1a9-96a0-48fa-a874-f40d19401d3c"
    const val APP_KEY_FRESHCHAT = "b6b52833-aa5b-45bb-8c15-a85dbc64b69b"
    const val SEA_REGULAR_PLAN = "Sea_Regular(Prepaid)_Subsplan"
    const val SEA_REGULAR_POSTPAID = "SEA_Regular_Postpaid"
    const val DATE_FORMAT_DISPLAY = "dd/MM/yyyy"
    const val DATE_FORMAT_DISPLAY_ORDER = "MMM dd, yyyy"
    val URL_WING_PAYMENT =
        if (BuildConfig.DEBUG) "http://dev.yes.com.kh/wing?" else "http://yes.com.kh/wing/v2?"
    val URL_ABA_PAYMENT =
        if (BuildConfig.DEBUG) "http://dev.yes.com.kh/aba?" else "http://yes.com.kh/aba?"
    val URL_LINK_SHARE =
        if (BuildConfig.DEBUG) "https://dev.yes.com.kh/luckyangpao" else "https://yes.com.kh/luckyangpao"
    const val URL_LIVE_CHAT = "https://tawk.to/chat/5bda9b1522b2be1613fe54ec/default"
    const val ABA_HOST = "ababank.com"
    const val ABA_SCHEME = "abamobilebank"
    const val urlTerm = "yes-e-hub-Terms-and-Conditions-with-payment-policy-V3.pdf"
    const val urlTermConditionAngPoa = "https://api.yes.com.kh/terms-and-conditions-cyn-en/"
    const val PROMOTION_CODE_VALENTINE_DAY = "yes-vd"
    const val OFF_APP_GUIDE = true
    const val SHOW_TEST_APP_GUIDE = false

    /**
     * PromotionType
     */

    const val PRODUCT = "products"
    const val LINK = "link"
    const val YES_PROMOTION = "promotion"

    /**
     * Extra
     */

    const val EXTRA_PHONE_NUMBER = "phone"
    const val EXTRA_PHONE_PRICE = "price"
    const val EXTRA_SIM_PRICE = "card_price"
    const val EXTRA_CLAIM_FREE_SIM = "claim_free_sim"
    const val EXTRA_WIN_PROMOTION = "win_promotion_cny"
    const val EXTRA_WIN_PROMOTION_SIMCARTPRICE = "sim_cart_price_filter"
    const val EXTRA_AMOUNT = "amount"
    const val EXTRA_PLAN_LIST = "plan_list"
    const val EXTRA_PREFIX = "extra_prefix"
    const val EXTRA_IS_CART = "EXTRA_IS_CART"
    const val EXTRA_FAQ = "Extra_faq"
    const val EXTRA_SUPPORTED_DEVICE = "Extra_supported_device"
    const val EXTRA_SKIP_TOPUP = "skip_topup"
    const val EXTRA_FAQ_ID = "Extra_faq_id"
    const val EXTRA_QUESTION = "Extra_question"

    /**
     * QUERY
     */

    const val SEARCH = "search"
    const val POSTFIX = "postfix"
    const val START_PRICE = "startPrice"
    const val END_PRICE = "endPrice"
    const val LIMIT = "limit"
    const val OFFSET = "offset"

    /**
     * TypeForBuyData
     */

    var INTERNET_PACK = "internet-pack"
    var FREEDOM_INTERNET = "freedom-internet"
    var VALUE_PACK = "value-pack"
    var FORTUNE_PACK = "fortune-pack"
    var VIP_FORTUNE_PACK = "vip-fortune-pack"
    var IS_LOY_KOB = "loy-kob"
    var INTERNET_MONTHLY = "internet-monthly"
    var ANYTYPE = "any"

    /**
     * TypeBiling
     */

    const val VOICE = "voice"
    const val INTERNET = "internet"
    const val SMS = "sms"

    /**
     *  Plans & packages
     */

    const val LoyKob = "loy-kobs"
    const val RikReay = "rik-reay"
    const val OnePlan = "one-plan"
    const val InternationalCall = "international-call"

    /**
     * MySubscription
     */

    const val ONE_SUB_PLAN_CODE = "One_Plan_Subsplan"
    const val SEA_REGULAR = "Sea_Regular"
    const val AIRLINE_PLAN = "Airline_Plan_Subsplan"
    const val ONE_PLAN_IFA = "OnePlan_TryBuy_Subsplan"
    const val TOURIST_PASS = "SEA_Free_Journey_Subsplan"
    const val INTERNET_BENEFIT = "internet-benefit"

    /**
     * Value
     */

    const val PAY_WING = "Tap_Payment_Wing"
    const val UNION_PAY = "Tap_Payment_UnionPay"
    const val ABA_PAY = "Tap_Payment_ABA"
    const val TRUE_MONEY_PAY = "Tap_Payment_TrueMoney"
    const val CHOOSE_LANGUAGE_KHMER = "Choose_Language_Khmer"
    const val CHOOSE_LANGUAGE_ENGLISH = "Choose_Language_English"
    const val CHOOSE_LANGUAGE_CHINA = "Choose_Language_Chinese"
    const val TAB_TOP_UP_PIN = "Tap_Topup_Pin"
    const val TAB_TOP_UP_PINLESS = "Tap_Topup_Pinless"
    const val TAB_SUBSCRIPTION = "Tap_Subscriptions"
    const val TAB_SERVICES = "Tap_Services"
    const val TOP_UP_PIN_SUCCESS = "Topup_Pin_Success"
    const val GET_FREEDOM_DATA = "Tap_GetData_FreedomData"
    const val GET_INTERNET_PACK = "Tab_GetData_InternetPack"
    const val GET_PROMOTION_DEVICE = "Tap_Promotion_Devices"
    const val GET_PROMOTION_PRODUCT = "Tap_Device_Detail"

    /**
     * EventName
     */
    const val BUTTON = "model"


}