namespace SicboSub.Web.Constants
{
    /// <summary>
    /// API URL Constants cho Web gọi API
    /// </summary>
    public static class UrlConstant
    {
        // Auth
        public const string AuthLogin = "/apis/auth/login";
        public const string AuthGetMsisdn = "/apis/auth/get-msisdn";

        // User
        public const string UserInfo = "/apis/user/info";

        // Package
        public const string PackageLoad = "/apis/package/load";
        public const string ExchangeConfigLoad = "/apis/package/exchange";
        public const string PackageRegister = "/apis/package/register";
        public const string PackageBuyMore = "/apis/package/buymore";

        // Game
        public const string PlayHistory = "/apis/game/play_history";
        public const string RankingHistory = "/apis/game/ranking_history";

        // Exchange OTP
        public const string ExchangeRequestOtp = "/apis/exchange/request-otp";
        public const string ExchangeVerifyOtp = "/apis/exchange/verify-otp";
        public const string ExchangeResendOtp = "/apis/exchange/resend-otp";
    }

    /// <summary>
    /// Session Keys
    /// </summary>
    public static class SessionKey
    {
        public const string Token = "token";
        public const string Msisdn = "msisdn";
        public const string UserInfo = "userInfo";
        public const string Culture = "culture";
        public const string WinCoin = "winCoin";
        public const string Point = "point";
        public const string FreeSpin = "freeSpin";
    }

    /// <summary>
    /// Error Codes
    /// </summary>
    public static class ErrorCode
    {
        public const string Success = "0";
        public const string Failed = "-1";
        public const string Unauthorized = "-100";
        public const string InvalidToken = "-107";
        public const string SystemError = "-999";
    }
}
