package com.adealink.weparty.module.account

interface Account {

    interface Common {
        companion object {
            const val EXTRA_INDEX = "extra_index"
            const val INDEX_GENDER = 0
            const val INDEX_RECOMMEND = 1
            const val EXTRA_KICK_OUT_REASON = "key_kick_out_reason"
            const val EXTRA_KICK_OUT_LOGIN_TYPE = "key_kick_out_login_type"
            const val EXTRA_KICK_OUT_CONTENT = "key_kick_out_content"
            const val EXTRA_KEY_RECOMMEND_USER_INFO_LIST = "key_recommend_user_info_list"
            const val EXTRA_FROM = "extra_from"
        }
    }

    interface Login {
        companion object {
            const val PATH = "/login"
        }
    }

    interface LoginDialog {
        companion object {
            const val PATH = "/login_dialog"
        }
    }

    interface Phone {
        companion object {
            const val INPUT = "/account/phone/input"
            const val LOGIN = "/account/phone/login"
            const val VERIFY_CODE = "/account/phone/verify_code"
            const val SET_PASSWORD = "/account/phone/set_password"
            const val EXTRA_PHONE = "key_phone"
            const val EXTRA_AREA_CODE = "key_area_code"
            const val EXTRA_COUNTRY_CODE = "key_country_code"
            const val EXTRA_VERIFY_CODE = "key_verify_code"
            const val EXTRA_GET_VERIFY_CODE_REASON = "key_get_verify_code_reason"
            const val EXTRA_LOGIN_RESULT = "key_login_result"
            const val EXTRA_STAT_SOURCE = "key_stat_source"

            const val EXTRA_HAS_PASSWORD = "key_has_password"
            const val EXTRA_FORMAT_PHONE = "key_format_phone" //带区号的手机号
        }

    }

    interface Register {
        companion object {
            const val PATH = "/register"
        }
    }

    interface Email {
        companion object {
            const val PATH_LOGIN = "/account/email/login"
            const val PATH_EMAIL_TYPE = "/account/email/type"
            const val PATH_UNBINDING = "/account/email/unbind"
            const val PATH_EMAIL_GOOGLE_LOGIN = "/account/email/google/login"
            const val PATH_BINDING = "/account/email/binding"
            const val EXTRA_SET_PASSWORD = "account_email_set_password"
            const val EXTRA_BINDING_TEMP_TOKEN = "account_email_bind_temp_token"
            const val EXTRA_EMAIL_BINDING_STATE = "email_bind_state"
            const val EXTRA_EMAIL_BINDING_EMAIL = "email_bind_email"
            const val EXTRA_BINDING_TYPE = "email_fragment_type"
        }

    }

}