v1.0.190
pan-proto-first
atom/member/first.proto
AddressBook
| Field | Type | Label | Description |
|---|---|---|---|
| id | int64 | ||
| full_name | string | ||
| zip_code | string | ||
| address | string | ||
| phone | string | ||
| platform | string | ||
| default_buyer | bool | ||
| type | AddressBook.Type |
AddressBookAll
| Field | Type | Label | Description |
|---|---|---|---|
| value | AddressBook | repeated |
Education
| Field | Type | Label | Description |
|---|---|---|---|
| edu_level | string | ||
| graduate_school | string |
History
| Field | Type | Label | Description |
|---|---|---|---|
| job | Job | ||
| edu | Education | ||
| social | Social | ||
| salary | History.Salary | ||
| summary | string |
Identity
| Field | Type | Label | Description |
|---|---|---|---|
| uid | int64 | ||
| object_id | string | ||
| huid | string | ||
| string | |||
| username | string |
Individual
| Field | Type | Label | Description |
|---|---|---|---|
| full_name | string | ||
| birthday | google.protobuf.Timestamp |
Job
| Field | Type | Label | Description |
|---|---|---|---|
| company_name | string | ||
| position | string | ||
| professional | string |
Object
| Field | Type | Label | Description |
|---|---|---|---|
| object_id | string | ||
| uid | int64 | ||
| username | string | ||
| avatar | string | ||
| group_id | int64 | Deprecated. group_id deprecated | |
| group_name | string | Deprecated. group_name deprecated | |
| string | |||
| activate_ip | string | ||
| activate_date | google.protobuf.Timestamp | ||
| phone | string | 僅會員自身可見 | |
| activate | bool | ||
| display_name | string | ||
| gender | Gender | ||
| vip_expire_date | google.protobuf.Timestamp | ||
| hash_uid | string | ||
| phone_id | string | 僅會員自身可見 | |
| email_status | int64 | ||
| is_owner | bool | ||
| created | google.protobuf.Timestamp | ||
| modified | google.protobuf.Timestamp | ||
| can_new_child | bool | ||
| email_verified | bool |
Secure
| Field | Type | Label | Description |
|---|---|---|---|
| password | string | ||
| salt | string | ||
| expires | google.protobuf.Timestamp |
Social
| Field | Type | Label | Description |
|---|---|---|---|
| line | string | ||
| fb | string | ||
| ig | string | ||
| jvid | string |
Status
| Field | Type | Label | Description |
|---|---|---|---|
| group_name | string |
TokenInfo
| Field | Type | Label | Description |
|---|---|---|---|
| object_id | string | ||
| uid | int64 | ||
| username | string | ||
| group_id | int64 | ||
| group_name | string | ||
| display_name | string | ||
| phone_id | string |
VirtualAddress
| Field | Type | Label | Description |
|---|---|---|---|
| area | string | ||
| city | string | ||
| detail | string | ||
| country | string | ||
| zip | string |
AddressBook.Type
| Name | Number | Description |
|---|---|---|
| TypeNone | 0 | |
| TypeMainLive | 1 | |
| TypeMainShipping | 2 |
Gender
| Name | Number | Description |
|---|---|---|
| GENDER_NOTSET | 0 | |
| Male | 1 | |
| Female | 2 |
History.Salary
| Name | Number | Description |
|---|---|---|
| SalaryNone | 0 | |
| SalaryLevel1 | 1 | |
| SalaryLevel2 | 2 | |
| SalaryLevel3 | 3 | |
| SalaryLevel4 | 4 | |
| SalaryLevel5 | 5 | |
| SalaryLevel6 | 6 |
general/admin/admin.proto
ChangeMemberEmailRequest
| Field | Type | Label | Description |
|---|---|---|---|
| admin_token | string | ||
| uid | int64 | ||
| string |
ChangeMemberEmailResponse
ChangeMemberEmailResponse.Error
ChangeMemberPasswordRequest
| Field | Type | Label | Description |
|---|---|---|---|
| admin_token | string | ||
| uid | int64 | ||
| password | string |
ChangeMemberPasswordResponse
ChangeMemberPasswordResponse.Error
GoogleLoginRequest
| Field | Type | Label | Description |
|---|---|---|---|
| access_token | string |
GoogleLoginResponse
| Field | Type | Label | Description |
|---|---|---|---|
| admin_token | string |
RemoveMemberAvatarRequest
| Field | Type | Label | Description |
|---|---|---|---|
| admin_token | string | ||
| uid | int64 |
RemoveMemberAvatarResponse
RemoveMemberAvatarResponse.Error
ValidateAdminTokenRequest
| Field | Type | Label | Description |
|---|---|---|---|
| admin_token | string |
ValidateAdminTokenResponse
| Field | Type | Label | Description |
|---|---|---|---|
| is_valid | bool | ||
| string | |||
| roles | string | repeated |
ChangeMemberEmailResponse.Error.Value
| Name | Number | Description |
|---|---|---|
| None | 0 | |
| NotAuthorized | 1001 | |
| UserNotFound | 1002 | |
| EmailInUseInJKF | 1003 | |
| EmailNotUsableInJKF | 1004 | |
| EmailInUseInPan | 1005 | |
| UpdateEmailFailed | 1006 | |
| InternalError | 1007 |
ChangeMemberPasswordResponse.Error.Value
| Name | Number | Description |
|---|---|---|
| None | 0 | |
| NotAuthorized | 1001 | |
| ParsePasswordFailed | 1002 | |
| PasswordFormatIncorrect | 1003 | |
| UserNotFound | 1004 | |
| UpdatePasswordFailed | 1005 |
RemoveMemberAvatarResponse.Error.Value
| Name | Number | Description |
|---|---|---|
| None | 0 | |
| NotAuthorized | 1001 | |
| UserNotFound | 1002 | |
| RemoveAvatarFailed | 1003 | |
| RemoveAvatarInJKFFailed | 1004 | |
| InternalError | 1005 |
AdminService
| Method Name | Request Type | Response Type | Description |
|---|---|---|---|
| GoogleLogin | GoogleLoginRequest | GoogleLoginResponse | |
| ValidateAdminToken | ValidateAdminTokenRequest | ValidateAdminTokenResponse | |
| ChangeMemberPassword | ChangeMemberPasswordRequest | ChangeMemberPasswordResponse | member api |
| ChangeMemberEmail | ChangeMemberEmailRequest | ChangeMemberEmailResponse | |
| RemoveMemberAvatar | RemoveMemberAvatarRequest | RemoveMemberAvatarResponse |
general/application/app.proto
AppId
AppId.Value
| Name | Number | Description |
|---|---|---|
| None | 0 | |
| jkforum | 1 | |
| jkfpost | 2 | |
| jkfstar | 3 | |
| jkface | 4 | |
| jr24h | 5 | |
| jktalk | 6 | |
| jcontrol | 7 | |
| shop24h | 8 | |
| sugar | 9 | |
| jktank | 10 | |
| avplus | 11 |
general/member/dangerous/dangerous.proto
CmdDeleteAccountRequest
| Field | Type | Label | Description |
|---|---|---|---|
| app_id | string | ||
| pan_access_token | string | ||
| del_token | string |
CmdDeleteAccountResponse
CmdDeleteMemberRequest
| Field | Type | Label | Description |
|---|---|---|---|
| app_id | string | ||
| pan_access_token | string | ||
| del_token | string |
CmdDeleteMemberResponse
CmdDeleteAccountResponse.Error
| Name | Number | Description |
|---|---|---|
| Error__None | 0 | |
| Error__Failed | 1001 |
CmdDeleteMemberResponse.Error
| Name | Number | Description |
|---|---|---|
| Error__None | 0 | |
| Error__Failed | 1001 |
Command
| Method Name | Request Type | Response Type | Description |
|---|---|---|---|
| DeleteMember | CmdDeleteMemberRequest | CmdDeleteMemberResponse | |
| DeleteAccount | CmdDeleteAccountRequest | CmdDeleteAccountResponse |
general/member/error.proto
ErrAccessToken
ErrDisplayName
ErrInitGender
ErrLogin
ErrMakeLoginToken
ErrMe
ErrMemberMigrationStatus
ErrNewMember
ErrObject
ErrOtherMember
ErrReadObject
ErrRegister
ErrSetMemberEmail
ErrSetMemberPassword
ErrSys
ErrUnlockSessionToken
ErrValidateAccessToken
ErrValidateLoginToken
ErrValidateNewMember
ErrValidatePhone
ErrValidatePhoneV2
ErrAccessToken.General
| Name | Number | Description |
|---|---|---|
| GENERAL_DEFAULT | 0 | |
| FAILED | 1001 | |
| EXPIRED | 1002 | |
| INVALID | 1003 |
ErrDisplayName.General
| Name | Number | Description |
|---|---|---|
| GENERAL_DEFAULT | 0 | |
| DISPLAY_NAME_ALREADY_EXISTS | 1001 |
ErrInitGender.General
| Name | Number | Description |
|---|---|---|
| GENERAL_NOTSET | 0 | |
| GENERAL_TOKEN_INVALID | 1001 | |
| GENERAL_FAILED | 1002 |
ErrLogin.General
| Name | Number | Description |
|---|---|---|
| GENERAL_DEFAULT | 0 | |
| FAILED | 1001 | |
| SESSION_INVALID | 1002 | |
| CODE_INVALID | 1003 | |
| CODE_PENDING_10 | 1004 | |
| CODE_PENDING | 1005 | |
| NOT_FOUND | 1006 | |
| GENERAL_RECAPTCHA_FAILED | 1100 | |
| USERNAME_NOT_FOUND | 1007 | |
| PHONE_HAS_NO_MEMBER | 1008 | |
| MAIN_MEMBER_NOT_SET | 1009 | |
| DISPLAY_NAME_CORRUPTED | 1010 | |
| USERNAME_DENORMALIZED | 1011 |
ErrMakeLoginToken.General
| Name | Number | Description |
|---|---|---|
| GENERAL_NOTSET | 0 | |
| GENERAL_FAILED | 1001 | |
| GENERAL_APPID_APPSECRET_REQUIRED | 1002 |
ErrMe.General
| Name | Number | Description |
|---|---|---|
| GENERAL_DEFAULT | 0 | |
| TOKEN_INVALID | 1001 | |
| FAILED | 1002 |
ErrMemberMigrationStatus.General
| Name | Number | Description |
|---|---|---|
| GENERAL_DEFAULT | 0 | |
| GENERAL_FAILED | 1001 |
ErrNewMember.General
| Name | Number | Description |
|---|---|---|
| GENERAL_DEFAULT | 0 | |
| TOKEN_INVALID | 1001 | |
| DISPLAY_NAME_INVALID | 1002 | |
| MAXIMUM_MEMBER | 1003 | 手機下的用戶已達上限 |
| FAILED | 1004 |
ErrObject.General
| Name | Number | Description |
|---|---|---|
| GENERAL_DEFAULT | 0 | |
| NOT_FOUND | 1000 |
ErrOtherMember.General
| Name | Number | Description |
|---|---|---|
| GENERAL_DEFAULT | 0 | |
| TOKEN_INVALID | 1001 | |
| FAILED | 1002 |
ErrReadObject.General
| Name | Number | Description |
|---|---|---|
| GENERAL_NOTSET | 0 | |
| GENERAL_FAILED | 1001 | |
| GENERAL_UIDS_OR_UUIDS_REQUIRED | 1002 | |
| GENERAL_NOT_FOUND_ANY | 1003 |
ErrRegister.General
| Name | Number | Description |
|---|---|---|
| GENERAL_DEFAULT | 0 | |
| FAILED | 1001 | |
| EXISTING_MEMBER | 1002 | |
| SESSION_INVALID | 1003 | |
| CODE_INVALID | 1004 | |
| NAME_INVALID | 1005 | |
| NAME_EXISTING | 1006 | |
| CODE_PENDING_10 | 1007 | |
| CODE_PENDING | 1008 | |
| RETRY_REQUIRED | 1009 | |
| GENERAL_RECAPTCHA_FAILED | 1100 |
ErrSetMemberEmail.General
| Name | Number | Description |
|---|---|---|
| GENERAL_DEFAULT | 0 | |
| FAILED | 1001 | |
| EMAIL_EXISTS | 1002 |
ErrSetMemberPassword.General
| Name | Number | Description |
|---|---|---|
| GENERAL_DEFAULT | 0 | |
| FAILED | 1001 | |
| PWD_ISSUE | 1002 |
ErrSys.General
| Name | Number | Description |
|---|---|---|
| GENERAL_DEFAULT | 0 | |
| READONLY | 1001 | |
| NOT_ONLINE | 1002 |
ErrUnlockSessionToken.General
| Name | Number | Description |
|---|---|---|
| GENERAL_DEFAULT | 0 | |
| GENERAL_FAILED | 1001 | |
| GENERAL_RECAPTCHA_FAILED | 1100 |
ErrValidateAccessToken.General
| Name | Number | Description |
|---|---|---|
| GENERAL_DEFAULT | 0 | |
| TOKEN_INVALID | 1001 | |
| FAILED | 1002 |
ErrValidateLoginToken.General
| Name | Number | Description |
|---|---|---|
| GENERAL_NOTSET | 0 | |
| GENERAL_FAILED | 1001 | |
| GENERAL_INVALID | 1002 | |
| GENERAL_APPID_APPSECRET_REQUIRED | 1003 |
ErrValidateNewMember.General
| Name | Number | Description |
|---|---|---|
| GENERAL_DEFAULT | 0 | |
| FAILED | 1001 | |
| EXISTING_PHONE | 1002 | |
| NAME_INVALID | 1005 | |
| TOKEN_INVALID | 1006 | |
| MAXIMUM_MEMBER | 1010 | 手機下的用戶已達上限 |
ErrValidatePhone.General
| Name | Number | Description |
|---|---|---|
| GENERAL_DEFAULT | 0 | |
| FAILED | 1001 | |
| EXISTING_PHONE | 1002 | |
| SESSION_INVALID | 1003 | |
| CODE_INVALID | 1004 | |
| NAME_INVALID | 1005 | |
| TOKEN_INVALID | 1006 | |
| NAME_EXISTING | 1007 | |
| CODE_PENDING_10 | 1008 | |
| CODE_PENDING | 1009 | |
| MAXIMUM_MEMBER | 1010 | 手機下的用戶已達上限 |
| GENERAL_RECAPTCHA_FAILED | 1100 |
ErrValidatePhoneV2.General
| Name | Number | Description |
|---|---|---|
| GENERAL_DEFAULT | 0 | |
| FAILED | 1001 | |
| EXISTING_PHONE | 1002 | |
| SESSION_INVALID | 1003 | |
| CODE_INVALID | 1004 | |
| TOKEN_INVALID | 1006 | |
| CODE_PENDING_10 | 1008 | |
| CODE_PENDING | 1009 | |
| MAXIMUM_MEMBER | 1010 | 手機下的用戶已達上限 |
| GENERAL_RECAPTCHA_FAILED | 1100 |
general/member/first.proto
AccessTokenRequest
| Field | Type | Label | Description |
|---|---|---|---|
| auth_token | string | ||
| object_id | string | optional, 不填則自動選為預設用戶 | |
| app_id | string |
AccessTokenResponse
| Field | Type | Label | Description |
|---|---|---|---|
| access_token | string |
AuthResetUpdateRequest
| Field | Type | Label | Description |
|---|---|---|---|
| auth_reset_token | string | ||
| password | string | ||
| confirm_password | string | ||
| security_question | SecurityQuestion |
AuthResetUpdateResponse
AuthResetVerifyEmailCodeRequest
| Field | Type | Label | Description |
|---|---|---|---|
| code | string |
AuthResetVerifyEmailCodeResponse
| Field | Type | Label | Description |
|---|---|---|---|
| auth_reset_token | string |
AuthResetVerifyEmailRequest
| Field | Type | Label | Description |
|---|---|---|---|
| recaptcha_token | string | ||
| redirect_email | string | redirect link in email template | |
| display_name | string | ||
| string | |||
| redirect_success | string |
AuthResetVerifyEmailResponse
AuthResetVerifyPhoneCodeRequest
| Field | Type | Label | Description |
|---|---|---|---|
| code | string | ||
| phone | string | ||
| displayName | string |
AuthResetVerifyPhoneCodeResponse
| Field | Type | Label | Description |
|---|---|---|---|
| auth_reset_token | string |
AuthResetVerifyPhoneRequest
| Field | Type | Label | Description |
|---|---|---|---|
| recaptcha_token | string | ||
| display_name | string | ||
| phone | string |
AuthResetVerifyPhoneResponse
AvPlusRequest
| Field | Type | Label | Description |
|---|---|---|---|
| pan_access_token | string |
AvPlusResponse
| Field | Type | Label | Description |
|---|---|---|---|
| is_vip | bool |
DeleteAddressBookRequest
| Field | Type | Label | Description |
|---|---|---|---|
| access_token | string | ||
| address_book_id | int64 |
DeleteAddressBookResponse
GetAddressBooksRequest
| Field | Type | Label | Description |
|---|---|---|---|
| access_token | string |
GetAddressBooksResponse
| Field | Type | Label | Description |
|---|---|---|---|
| address_books | pan.atom.member.AddressBook | repeated |
GetPassportTokenRequest
| Field | Type | Label | Description |
|---|---|---|---|
| access_token | string |
GetPassportTokenResponse
| Field | Type | Label | Description |
|---|---|---|---|
| passport_token | string | ||
| qrcode_base64 | string | ||
| barcode_base64 | string |
GetQRCodeRequest
| Field | Type | Label | Description |
|---|---|---|---|
| pan_access_token | string |
GetQRCodeResponse
| Field | Type | Label | Description |
|---|---|---|---|
| image_content | string | ||
| display_name | string | ||
| uid | int64 | ||
| avatar | string | ||
| uuid | string | ||
| verify_code | string | ||
| phone_id | string |
InitGenderRequest
| Field | Type | Label | Description |
|---|---|---|---|
| access_token | string | ||
| gender | pan.atom.member.Gender |
InitGenderResponse
LoginRequest
| Field | Type | Label | Description |
|---|---|---|---|
| phase | LoginRequest.Phase | ||
| phase_session_valid | string | ||
| phase_session_token | string | ||
| phase_check_existence_value | string | ||
| phase_input_code_value | string | ||
| phase_input_code_ques_index | int32 | ||
| phase_input_code_ques_value | string | ||
| phase_check_existence_country_code | string | ||
| app_id | string | ||
| login_type | LoginRequest.LoginType | ||
| link_to_input | string |
LoginResponse
| Field | Type | Label | Description |
|---|---|---|---|
| phase | LoginRequest.Phase | ||
| next_phase | LoginRequest.Phase | ||
| phase_check_existence_login_type | LoginResponse.LoginType | ||
| phase_check_existence_question | bool | ||
| phase_input_code_result | LoginResponse.CodeResult | ||
| phase_input_code_time_remaining | int64 | ||
| phase_input_ques_result | LoginResponse.CodeResult | ||
| phase_done_auth_token | string | ||
| phase_session_token | string |
LogoutRequest
| Field | Type | Label | Description |
|---|---|---|---|
| pan_access_token | string | ||
| token2 | string |
LogoutResponse
LogoutResponse.Error
MakeLoginTokenRequest
| Field | Type | Label | Description |
|---|---|---|---|
| app_id | string | ||
| app_secret | string | ||
| auth_url | string |
MakeLoginTokenResponse
| Field | Type | Label | Description |
|---|---|---|---|
| login_token | string |
MeRequest
| Field | Type | Label | Description |
|---|---|---|---|
| access_token | string | ||
| app_id | string |
MeResponse
| Field | Type | Label | Description |
|---|---|---|---|
| user | pan.atom.member.Object |
MemberMigrationStatusRequest
| Field | Type | Label | Description |
|---|---|---|---|
| access_token | string |
MemberMigrationStatusResponse
| Field | Type | Label | Description |
|---|---|---|---|
| status | MemberMigrationStatusResponse.MigrationStatus |
NewMemberRequest
| Field | Type | Label | Description |
|---|---|---|---|
| auth_token | string | ||
| display_name | string | ||
| password | string | ||
| confirm_password | string | ||
| security_question | SecurityQuestion | ||
| session_token | string | ||
| app_id | string |
NewMemberResponse
| Field | Type | Label | Description |
|---|---|---|---|
| object | pan.atom.member.Object |
OtherMemberRequest
| Field | Type | Label | Description |
|---|---|---|---|
| access_token | string |
OtherMemberResponse
| Field | Type | Label | Description |
|---|---|---|---|
| objects | pan.atom.member.Object | repeated |
QueryMemberCredentialStatusRequest
| Field | Type | Label | Description |
|---|---|---|---|
| pan_access_token | string | ||
| object_id | string |
QueryMemberCredentialStatusResponse
| Field | Type | Label | Description |
|---|---|---|---|
| has_password | bool | ||
| has_email | bool | ||
| has_security_question | bool | ||
| email_verified | bool |
ReadObjectRequest
| Field | Type | Label | Description |
|---|---|---|---|
| uids | int64 | repeated | |
| uuids | string | repeated | |
| ignore_dz | bool | ||
| keyword | string |
ReadObjectResponse
| Field | Type | Label | Description |
|---|---|---|---|
| objects | pan.atom.member.Object | repeated |
RegisterRequest
| Field | Type | Label | Description |
|---|---|---|---|
| phase | RegisterRequest.Phase | ||
| phase_session_valid | string | ||
| phase_session_token | string | ||
| phase_check_existence_value | string | ||
| phase_input_code_value | string | ||
| phase_input_name_value | string | ||
| phase_check_existence_country_code | string | ||
| app_id | string |
RegisterResponse
| Field | Type | Label | Description |
|---|---|---|---|
| phase | RegisterRequest.Phase | ||
| next_phase | RegisterRequest.Phase | ||
| phase_input_code_result | RegisterResponse.CodeResult | ||
| phase_input_code_time_remaining | int64 | ||
| phase_done_auth_token | string | ||
| phase_session_token | string |
SaveAddressBookRequest
| Field | Type | Label | Description |
|---|---|---|---|
| access_token | string | ||
| address_book | pan.atom.member.AddressBook | id <= 0 為新增 |
SaveAddressBookResponse
| Field | Type | Label | Description |
|---|---|---|---|
| address_book | pan.atom.member.AddressBook |
SecurityQuestion
| Field | Type | Label | Description |
|---|---|---|---|
| question | string | ||
| answer | string |
SendEmailVerificationRequest
| Field | Type | Label | Description |
|---|---|---|---|
| redirect | string | only jkf hosts | |
| pan_access_token | string | ||
| session_token | string | ||
| uid | int32 |
SendEmailVerificationResponse
SendPhoneVerificationRequest
| Field | Type | Label | Description |
|---|---|---|---|
| pan_access_token | string | ||
| session_token | string | ||
| target_phone_order | int64 |
SendPhoneVerificationResponse
SetMemberEmailRequest
| Field | Type | Label | Description |
|---|---|---|---|
| access_token | string | ||
| string | |||
| redirect | string |
SetMemberEmailResponse
SetMemberPasswordRequest
| Field | Type | Label | Description |
|---|---|---|---|
| access_token | string | ||
| password | string | ||
| confirm_password | string | ||
| reset_code | string |
SetMemberPasswordResponse
SwitchMemberRequest
| Field | Type | Label | Description |
|---|---|---|---|
| verify_token | string | ||
| pan_access_token | string | ||
| switch_to_object_id | string | ||
| app_id | string |
SwitchMemberResponse
| Field | Type | Label | Description |
|---|---|---|---|
| auth_token | string | ||
| object_id | string |
UniversalReadObjectRequest
| Field | Type | Label | Description |
|---|---|---|---|
| uids | int64 | repeated | |
| uuids | string | repeated | |
| hash_ids | string | repeated | |
| ignore_dz | bool | ||
| keyword | string | 只支援 hashids and uids |
UniversalReadObjectResponse
| Field | Type | Label | Description |
|---|---|---|---|
| objects | pan.atom.member.Object | repeated |
UnlockSessionTokenRequest
| Field | Type | Label | Description |
|---|---|---|---|
| phase_session_token | string | ||
| phase_session_valid | string | ||
| platform | UnlockSessionTokenRequest.Platform |
UnlockSessionTokenResponse
UpdateAvatarRequest
| Field | Type | Label | Description |
|---|---|---|---|
| access_token | string | ||
| avatar | bytes |
UpdateCredentialRequest
| Field | Type | Label | Description |
|---|---|---|---|
| pan_auth_token | string | ||
| object_id | string | ||
| original_password | string | ||
| new_password | string | ||
| confirm_new_password | string | ||
| string | |||
| security_question | SecurityQuestion | ||
| email_verification_redirect | string | ||
| verify_token | string |
UpdateCredentialResponse
UpdateSecurityQuestionRequest
| Field | Type | Label | Description |
|---|---|---|---|
| pan_access_token | string | ||
| update_token | string | ||
| security_question | SecurityQuestion |
UpdateSecurityQuestionResponse
UpdateSecurityQuestionResponse.Error
ValidateAccessTokenRequest
| Field | Type | Label | Description |
|---|---|---|---|
| access_token | string |
ValidateAccessTokenResponse
| Field | Type | Label | Description |
|---|---|---|---|
| info | pan.atom.member.TokenInfo |
ValidateDisplayNameRequest
| Field | Type | Label | Description |
|---|---|---|---|
| display_name | string |
ValidateDisplayNameResponse
ValidateDisplayNameV2Request
| Field | Type | Label | Description |
|---|---|---|---|
| display_name | string |
ValidateDisplayNameV2Response
ValidateLoginTokenRequest
| Field | Type | Label | Description |
|---|---|---|---|
| login_token | string | ||
| app_id | string | ||
| app_secret | string |
ValidateLoginTokenResponse
| Field | Type | Label | Description |
|---|---|---|---|
| auth_url | string |
ValidateNewMemberRequest
| Field | Type | Label | Description |
|---|---|---|---|
| current_phone_auth_token | string | ||
| new_member_access_token | string | ||
| display_name | string | ||
| session_token | string |
ValidateNewMemberResponse
| Field | Type | Label | Description |
|---|---|---|---|
| object | pan.atom.member.Object |
ValidatePassportTokenRequest
| Field | Type | Label | Description |
|---|---|---|---|
| passport_token | string |
ValidatePassportTokenResponse
| Field | Type | Label | Description |
|---|---|---|---|
| uuid | string | ||
| uid | int64 | ||
| phone | string | ||
| display_name | string |
ValidatePhoneRequest
| Field | Type | Label | Description |
|---|---|---|---|
| phase | ValidatePhoneRequest.Phase | ||
| phase_session_valid | string | ||
| phase_session_token | string | ||
| phase_check_existence_value | string | ||
| phase_input_code_value | string | ||
| phase_input_name_value | string | ||
| phase_check_existence_country_code | string | ||
| access_token | string | ||
| app_id | string |
ValidatePhoneResponse
| Field | Type | Label | Description |
|---|---|---|---|
| phase | ValidatePhoneRequest.Phase | ||
| next_phase | ValidatePhoneRequest.Phase | ||
| phase_input_code_result | ValidatePhoneResponse.CodeResult | ||
| phase_input_code_time_remaining | int64 | ||
| phase_session_token | string | ||
| new_auth_token | string |
ValidatePhoneV2Request
| Field | Type | Label | Description |
|---|---|---|---|
| phase | ValidatePhoneV2Request.Phase | ||
| phase_session_valid | string | ||
| phase_session_token | string | ||
| phase_check_existence_value | string | ||
| phase_input_code_value | string | ||
| phase_check_existence_country_code | string | ||
| access_token | string | ||
| app_id | string |
ValidatePhoneV2Response
| Field | Type | Label | Description |
|---|---|---|---|
| phase | ValidatePhoneV2Request.Phase | ||
| next_phase | ValidatePhoneV2Request.Phase | ||
| phase_input_code_result | ValidatePhoneV2Response.CodeResult | ||
| phase_input_code_time_remaining | int64 | ||
| phase_session_token | string | ||
| new_auth_token | string |
ValidateQRCodeRequest
| Field | Type | Label | Description |
|---|---|---|---|
| uuid | string | ||
| uid | int64 | ||
| verify_code | string |
ValidateQRCodeResponse
VerifyEmailCodeRequest
| Field | Type | Label | Description |
|---|---|---|---|
| code | string |
VerifyEmailCodeResponse
| Field | Type | Label | Description |
|---|---|---|---|
| verify_token | string |
VerifyMemberByPasswordRequest
| Field | Type | Label | Description |
|---|---|---|---|
| recaptcha_token | string | ||
| display_name | string | ||
| string | |||
| password | string | ||
| security_question | SecurityQuestion | ||
| session_token | string |
VerifyMemberByPasswordResponse
| Field | Type | Label | Description |
|---|---|---|---|
| verify_token | string |
VerifyPhoneCodeRequest
| Field | Type | Label | Description |
|---|---|---|---|
| code | string | ||
| pan_access_token | string | ||
| session_token | string |
VerifyPhoneCodeResponse
| Field | Type | Label | Description |
|---|---|---|---|
| verify_token | string |
AuthResetUpdateResponse.Err
| Name | Number | Description |
|---|---|---|
| ErrNone | 0 | |
| ErrNewPasswordConfirmingFailed | 1001 | |
| ErrSecurityQuestionAnswerRequired | 1002 | |
| ErrFailed | 1003 | |
| ErrNewPasswordRule | 1004 | |
| ErrPasswordRequired | 1005 |
AuthResetVerifyEmailCodeResponse.Err
| Name | Number | Description |
|---|---|---|
| ErrNone | 0 | |
| ErrCodeInvalid | 1001 | |
| ErrFailed | 1002 |
AuthResetVerifyEmailResponse.Err
| Name | Number | Description |
|---|---|---|
| ErrNone | 0 | |
| ErrSessionInvalid | 1001 | |
| ErrEmailRequired | 1002 | |
| ErrFailed | 1003 | |
| ErrReachSendLimit | 1004 | |
| ErrDisplayNameRequired | 1005 |
AuthResetVerifyPhoneCodeResponse.Err
| Name | Number | Description |
|---|---|---|
| ErrNone | 0 | |
| ErrCodeInvalid | 1001 | |
| ErrFailed | 1002 |
AuthResetVerifyPhoneResponse.Err
| Name | Number | Description |
|---|---|---|
| ErrNone | 0 | |
| ErrReachSendLimit | 1001 | |
| ErrFailed | 1002 | |
| ErrSessionInvalid | 1003 | |
| ErrPhoneRequired | 1004 | |
| ErrDisplayNameRequired | 1005 |
GetQRCodeResponse.Error
| Name | Number | Description |
|---|---|---|
| Error__None | 0 | |
| Error__Failed | 1001 |
LoginRequest.LoginType
| Name | Number | Description |
|---|---|---|
| LOGIN_TYPE_DEFAULT | 0 | |
| LOGIN_TYPE_PHONE | 1 | |
| LOGIN_TYPE_EMAIL | 2 | |
| LOGIN_TYPE_EMAIL_OTC | 3 |
LoginRequest.Phase
| Name | Number | Description |
|---|---|---|
| PHASE_DEFAULT | 0 | |
| PHASE_CHECK_EXISTENCE | 1 | |
| PHASE_INPUT_CODE | 2 | |
| PHASE_DONE | 3 | |
| PHASE_ANDROID_DEFAULT | 4 | |
| PHASE_IOS_DEFAULT | 5 | |
| PHASE_ANDROID_ENTERPISE | 6 | For Android Enterprise reCaptcha |
| PHASE_IOS_ENTERPISE | 7 | For iOS Enterprise reCaptcha |
LoginResponse.CodeResult
| Name | Number | Description |
|---|---|---|
| CODE_RESULT_DEFAULT | 0 | |
| CODE_RESULT_OK | 1 | |
| CODE_RESULT_RESENT | 3 |
LoginResponse.LoginType
| Name | Number | Description |
|---|---|---|
| LOGIN_TYPE_DEFAULT | 0 | |
| LOGIN_TYPE_PHONE | 1 | |
| LOGIN_TYPE_EMAIL | 2 | |
| LOGIN_TYPE_EMAIL_OTC | 3 |
LogoutResponse.Error.Code
| Name | Number | Description |
|---|---|---|
| None | 0 | |
| Failed | 1001 |
MeResponse.Error
| Name | Number | Description |
|---|---|---|
| Error__None | 0 | |
| Error__NotExists | 1001 | |
| Error__Failed | 1002 |
MemberMigrationStatusResponse.MigrationStatus
| Name | Number | Description |
|---|---|---|
| STATUS_DEFAULT | 0 | |
| STATUS_NEW_PAN | 1 | |
| STATUS_OLD_JKF | 2 | |
| STATUS_OLD_1128 | 3 | |
| STATUS_RETURNED_USER | 4 | |
| STATUS_VALID_PAN | 5 | |
| STATUS_VERIFY_PHONE | 6 |
NewMemberResponse.Err
| Name | Number | Description |
|---|---|---|
| ErrNone | 0 | |
| ErrPasswordIsEmpty | 2001 | |
| ErrPasswordConfirmingFailed | 2002 |
QueryMemberCredentialStatusResponse.Err
| Name | Number | Description |
|---|---|---|
| ErrNone | 0 | |
| ErrFailed | 1002 |
RegisterRequest.Phase
| Name | Number | Description |
|---|---|---|
| PHASE_DEFAULT | 0 | |
| PHASE_CHECK_EXISTENCE | 1 | |
| PHASE_INPUT_CODE | 2 | |
| PHASE_INPUT_NAME | 3 | |
| PHASE_DONE | 4 |
RegisterResponse.CodeResult
| Name | Number | Description |
|---|---|---|
| CODE_RESULT_DEFAULT | 0 | |
| CODE_RESULT_OK | 1 | |
| CODE_RESULT_RESENT | 3 |
SendEmailVerificationResponse.Err
| Name | Number | Description |
|---|---|---|
| ErrNone | 0 | |
| ErrReachSendLimit | 1001 | |
| ErrFailed | 1002 |
SendPhoneVerificationResponse.Err
| Name | Number | Description |
|---|---|---|
| ErrNone | 0 | |
| ErrReachSendLimit | 1001 | |
| ErrFailed | 1002 |
SwitchMemberResponse.Err
| Name | Number | Description |
|---|---|---|
| ErrNone | 0 | |
| ErrVerifyTokenInvalid | 1001 | |
| ErrFailed | 1002 | |
| ErrObjectIDRequired | 1003 |
UnlockSessionTokenRequest.Platform
| Name | Number | Description |
|---|---|---|
| WEB | 0 | |
| IOS | 1 | |
| ANDROID | 2 | |
| IOS_ENTERPRISE | 3 | |
| ANDROID_ENTERPRISE | 4 |
UpdateCredentialResponse.Err
| Name | Number | Description |
|---|---|---|
| ErrNone | 0 | |
| ErrOriginalPasswordInvalid | 1001 | |
| ErrNewPasswordConfirmingFailed | 1002 | |
| ErrEmailDuplicated | 1003 | |
| ErrFailed | 1004 | |
| ErrNewPasswordRule | 1005 |
UpdateSecurityQuestionResponse.Error.Code
| Name | Number | Description |
|---|---|---|
| None | 0 | |
| Failed | 1001 |
ValidateDisplayNameV2Response.Err
| Name | Number | Description |
|---|---|---|
| ErrNone | 0 | |
| ErrSpecialChar | 1001 | |
| ErrDuplicated | 1002 | |
| ErrLength | 1003 | |
| ErrFailed | 1004 |
ValidatePhoneRequest.Phase
| Name | Number | Description |
|---|---|---|
| PHASE_DEFAULT | 0 | |
| PHASE_CHECK_EXISTENCE | 1 | |
| PHASE_INPUT_CODE | 2 | |
| PHASE_INPUT_NAME | 3 | |
| PHASE_DONE | 4 | |
| PHASE_ANDROID_DEFAULT | 5 | |
| PHASE_IOS_DEFAULT | 6 | |
| PHASE_ANDROID_ENTERPISE | 7 | For Android Enterprise reCaptcha |
| PHASE_IOS_ENTERPISE | 8 | For iOS Enterprise reCaptcha |
ValidatePhoneResponse.CodeResult
| Name | Number | Description |
|---|---|---|
| CODE_RESULT_DEFAULT | 0 | |
| CODE_RESULT_OK | 1 | |
| CODE_RESULT_RESENT | 3 |
ValidatePhoneV2Request.Phase
| Name | Number | Description |
|---|---|---|
| PHASE_DEFAULT | 0 | |
| PHASE_CHECK_EXISTENCE | 1 | |
| PHASE_INPUT_CODE | 2 | |
| PHASE_DONE | 4 | |
| PHASE_ANDROID_DEFAULT | 5 | |
| PHASE_IOS_DEFAULT | 6 | |
| PHASE_ANDROID_ENTERPISE | 7 | For Android Enterprise reCaptcha |
| PHASE_IOS_ENTERPISE | 8 | For iOS Enterprise reCaptcha |
ValidatePhoneV2Response.CodeResult
| Name | Number | Description |
|---|---|---|
| CODE_RESULT_DEFAULT | 0 | |
| CODE_RESULT_OK | 1 | |
| CODE_RESULT_RESENT | 3 |
ValidateQRCodeResponse.Error
| Name | Number | Description |
|---|---|---|
| Error__None | 0 | |
| Error__Failed | 1001 |
VerifyEmailCodeResponse.Err
| Name | Number | Description |
|---|---|---|
| ErrNone | 0 | |
| ErrCodeInvalid | 1001 | |
| ErrFailed | 1002 |
VerifyMemberByPasswordResponse.Err
| Name | Number | Description |
|---|---|---|
| ErrNone | 0 | |
| ErrPasswordRequired | 1001 | |
| ErrIdentityRequired | 1002 | |
| ErrFailed | 1003 | |
| ErrAuthFailed | 1004 | |
| ErrSecurityQuestionRequired | 1005 |
VerifyPhoneCodeResponse.Err
| Name | Number | Description |
|---|---|---|
| ErrNone | 0 | |
| ErrCodeInvalid | 1001 | |
| ErrFailed | 1002 |
MemberServiceV2
lever/member/error.proto
ErrAuthToken
ErrDeactivateMember
ErrObject
ErrReadObject
ErrRevokeAuth
ErrAuthToken.General
| Name | Number | Description |
|---|---|---|
| GENERAL_DEFAULT | 0 | |
| FAILED | 1001 | |
| LOGIN_TOKEN_INVALID | 1002 |
ErrDeactivateMember.General
| Name | Number | Description |
|---|---|---|
| GENERAL_DEFAULT | 0 | |
| FAILED | 1001 |
ErrObject.General
| Name | Number | Description |
|---|---|---|
| GENERAL_DEFAULT | 0 | |
| NOT_FOUND | 1001 |
ErrReadObject.General
| Name | Number | Description |
|---|---|---|
| GENERAL_DEFAULT | 0 | |
| FAILED | 1001 |
ErrRevokeAuth.General
| Name | Number | Description |
|---|---|---|
| GENERAL_DEFAULT | 0 | |
| FAILED | 1001 |
lever/member/first.proto
AuthTokenRequest
| Field | Type | Label | Description |
|---|---|---|---|
| uid | int64 | ||
| login_token | string |
AuthTokenResponse
| Field | Type | Label | Description |
|---|---|---|---|
| auth_token | string |
SendSMSRequest
| Field | Type | Label | Description |
|---|---|---|---|
| object_id | string | ||
| text | string |
SendSMSResponse
MemberService
| Method Name | Request Type | Response Type | Description |
|---|---|---|---|
| AuthToken | AuthTokenRequest | AuthTokenResponse | |
| SendSMS | SendSMSRequest | SendSMSResponse |
oauth/app.proto
GetAccessTokenRequest
GetAccessTokenResponse
GetDetailRequest
| Field | Type | Label | Description |
|---|---|---|---|
| scope | string | ||
| redirect_uri | string | ||
| client_id | string | ||
| state | string | ||
| response_type | string | ||
| nonce | string |
GetDetailResponse
| Field | Type | Label | Description |
|---|---|---|---|
| app_display_name | string | ||
| app_privacy_policy_url | string | ||
| app_terms_of_service_url | string | ||
| permission_all | string | repeated | |
| app_logo_url | string | ||
| user | pan.atom.member.Identity | ||
| app_summary | string |
GetRefreshTokenRequest
GetRefreshTokenResponse
GetDetailResponse.Error
| Name | Number | Description |
|---|---|---|
| Error__none | 0 |
App
| Method Name | Request Type | Response Type | Description |
|---|---|---|---|
| GetDetail | GetDetailRequest | GetDetailResponse | |
| GetAccessToken | GetAccessTokenRequest | GetAccessTokenResponse | |
| GetRefreshToken | GetRefreshTokenRequest | GetRefreshTokenResponse |
oauth/consent.proto
ApproveRequest
ApproveResponse
DoRequest
DoResponse
RejectRequest
RejectResponse
ConsentProcess
| Method Name | Request Type | Response Type | Description |
|---|---|---|---|
| Do | DoRequest | DoResponse | |
| Approve | ApproveRequest | ApproveResponse | |
| Reject | RejectRequest | RejectResponse |