/** 协议 */
export enum Agreement {
    /** 用户须知及使用协议- */
    USER_AGREEMENT = "chef_user_agreement",
    /** 隐私政策 */
    PRIVACY_POLICY = "chef_mer_privacy_policy",
    /** 关于我们 */
    ABOUT_US = "ABOUT_US",
    /** 收益说明 */
    CHEF_BENEFIT_DESCRIPTION = "chef_benefit_description",
    /** 会员说明 */
    CHEF_WITHDRAWAL_AGREEMENT = "chef_withdrawal_agreement",
    /** 兑换码发布协议 */
    CHEF_M_CODE_AGREEMENT = "chef_m_code_agreement",
    /** 支付说明 */
    DEPOSIT_EXPLANATION = "DEPOSIT_EXPLANATION",
    /** GST说明 */
    GST_EXPLANATION = "GST_EXPLANATION",
}

/** 短信验证码类型 */
export enum SmsType {
    /** 绑定手机号 */
    USER_BIND_PHONE_NUMBER = 1,
    /** 邮箱注册 */
    USER_EMAIL_REGISTER = 2,
    /** 忘记密码 */
    USER_FORGET_PASSWORD = 3,
    /** 忘记支付密码 */
    USER_FORGET_PAYMENT_PASSWORD = 4,
    /** 设置支付密码 */
    USER_SET_PAYMENT_PASSWORD = 5
}


/** 登录类型 */
export enum LoginType {
    /** 邮箱登录 */
    EMAIL = 1,
    /** 苹果登录 */
    APPLE = 2,
    /** 脸书登录 */
    FACEBOOK = 3,
    /** 谷歌登录 */
    GOOGLE = 4,
    /** 账号密码登录 */
    ACCOUNT = 5,
}


/** 字典 */
export enum DictType {
    /** 订单相关 */
    ABOUT_ORDER = "about_order",
    /** 平台相关 */
    ABOUT_PLATFORM = "about_platform",
    /** 价格范围 */
    PRICE_RANGE = "price_range",
    /** 购买须知 */
    PURCHASE_NOTES = "purchase_notes",
    /** 活动说明 */
    ACTIVITY_DESCRIPTION = "activity_description",
    /** 预约提示 */
    APPOINTMENT_REMINDER = "appointment_reminder",
}

/** 字典 */
export enum DictValue {
    /** 待付款订单取消时间 */
    PENDING_PAYMENT_ORDER_CANCEL_TIME = "pending_payment_order_cancel_time",
    /** 退款订单自动审核时间 */
    REFUND_ORDER_AUTO_AUDIT_TIME = "refund_order_auto_audit_time",
    /** 平台联系方式 */
    CONTACT_METHOD = "contact_method",

    /** 多人预约折扣提示 */
    GROUP_DISCOUNT_EN = "group_discount_en",
    /** 多人预约折扣提示 */
    GROUP_DISCOUNT_ZH = "group_discount_zh",
    /**
     卸甲预约、补甲预约免费时长提示 */
    FREE_REMOVAL_SERVICE_AVAILABLE_EN = "free_removal_service_available_en",
    /**
     卸甲预约、补甲预约免费时长提示 */
    FREE_REMOVAL_SERVICE_AVAILABLE_ZH = "free_removal_service_available_zh"
}


/** 自定义事件 */
export enum EventEnum {
    /** 裁剪头像 */
    CROPPER_AVATAR = "CROPPER_AVATAR",
    /** 更新提现账号 */
    UPDATE_WITHDRAWAL_ACCOUNT = "update-withdrawal-account",
    /** 选择提现账号 */
    CHOOSE_WITHDRAWAL_ACCOUNT = "choose-withdrawal-account",
    /** 更新地址信息 */
    UPDATE_ADDRESS = "UPDATE_ADDRESS",
    /** 获取平台默认门店信息 */
    PLATFORM_DEFAULT_STORE_INFO = "PLATFORM_DEFAULT_STORE_INFO",
    /** 选择门店 */
    CHOOSE_ADDRESS = "CHOOSE_ADDRESS",
    /** 选择店铺类型 */
    CHOOSE_STORE_TYPE = "CHOOSE_STORE_TYPE",
    /** 选择菜单时间 */
    CHOOSE_MENU_TIME = "CHOOSE_MENU_TIME",
    /** 选择支付方式 */
    CHOOSE_PAYMENT_METHOD = "CHOOSE_PAYMENT_METHOD",
}

// 订单状态
export enum OrderStatus {
    /** 已退款 */
    REFUNDED = -2,
    /** 已取消 */
    CANCELLED = -1,
    /** 待付款 */
    PENDING_PAYMENT = 1,
    /** 已付款 */
    HAS_PENDING_PAYMENT = 2,
    /** 商家已接单 */
    MERCHANT_ACCEPTED = 3,
    /** 配送中 */
    DELIVERING = 4,
    /** 已核销(已送达) */
    COMPLETED = 5,
    /** 商家拒绝接单 */
    MERCHANT_REJECTED = 6,
}

// 订单取消状态
export enum OrderCancelStatus {
    /**
     * 申请退款
     */
    APPLIED = 1,
    /**
     * 商家同意
     */
    APPROVED = 2,
    /**
     * 商家拒绝
     */
    REJECTED = 3,
}

/** 消息类型 */
export enum MessageTypeEnum {
    /** 有人评论了你 */
    COMMENTED = 1,
    /** 有人回复了你 */
    REPLIED = 2,
    /** 用户下单 */
    ORDER_CREATED = 3,
    /** 商家接单 */
    MERCHANT_ACCEPTED = 4,
    /** 商家同意退款 */
    REFUND_AGREED = 5,
    /** 商家拒绝退款 */
    REFUND_REJECTED = 6,
    /** 商家开始配送 */
    DELIVERY_STARTED = 7,
    /** 商家已送达 */
    DELIVERY_ARRIVED = 8,
    /** 订单已核销 */
    ORDER_WRITTEN_OFF = 9,
    /** 商家入驻审核通过 */
    SETTLEMENT_APPROVED = 10,
    /** 商家入驻审核未通过 */
    SETTLEMENT_REJECTED = 11,
    /** 评论审核通过 */
    COMMENT_APPROVED = 13,
    /** 评论审核未通过 */
    COMMENT_REJECTED = 14,
}