v1.0.189
pan-proto-first
atom/ladies/first.proto
Category
| Field | Type | Label | Description |
|---|---|---|---|
| id | int64 | ||
| name | string | ||
| sort | int64 |
Lady
| Field | Type | Label | Description |
|---|---|---|---|
| uid | int64 | ||
| name | string | ||
| summary | string | ||
| cover | string | ||
| style_tag | string | repeated |
LadyRank
| Field | Type | Label | Description |
|---|---|---|---|
| uid | int64 | ||
| name | string | ||
| cover | string | ||
| vote_count | int64 | ||
| rank | int64 |
atom/ladyapp/first.proto
FileContent
| Field | Type | Label | Description |
|---|---|---|---|
| index | int64 | ||
| file_url | string |
LadyImage
| Field | Type | Label | Description |
|---|---|---|---|
| logo_url | string | ||
| model_card_url | FileContent | repeated | |
| identity_card_url | FileContent | repeated | |
| bank_account_url | string |
LadyIntro
| Field | Type | Label | Description |
|---|---|---|---|
| girl_type | string | ||
| hash_tag | string | ||
| skill | string | repeated | |
| like | string | repeated | |
| afraid | string | repeated | |
| sexy_part | string | repeated |
LadyProfileData
| Field | Type | Label | Description |
|---|---|---|---|
| id | int64 | ||
| member_uuid | string | ||
| lady_text | LadyText | ||
| lady_image | LadyImage | ||
| lady_record | LadyRecord | ||
| profile_verify | int64 | ||
| general_data | int64 | ||
| reject_columns | string | repeated | |
| created_at | google.protobuf.Timestamp | ||
| updated_at | google.protobuf.Timestamp |
LadyRecord
| Field | Type | Label | Description |
|---|---|---|---|
| be_jkf_lady_url | string | ||
| join_jkf_url | string | ||
| work_url | string | ||
| dreamboat_url | string | ||
| choose_url | string | ||
| interest_url | string | ||
| future_url | string |
LadyText
| Field | Type | Label | Description |
|---|---|---|---|
| phone | string | ||
| stage_name | string | ||
| real_name | string | ||
| address | string | ||
| birthday | google.protobuf.Timestamp | ||
| blood_type | LadyText.BloodType | ||
| bust | string | ||
| waist | int64 | ||
| hips | int64 | ||
| height | int64 | ||
| weight | int64 | ||
| line | string | ||
| string | |||
| string | |||
| string | |||
| lady_intro | LadyIntro |
LadyText.BloodType
| Name | Number | Description |
|---|---|---|
| BLOOD_TYPE_EMPTY | 0 | |
| BLOOD_TYPE_A | 1 | |
| BLOOD_TYPE_B | 2 | |
| BLOOD_TYPE_AB | 3 | |
| BLOOD_TYPE_O | 4 | |
| BLOOD_TYPE_UNKNOWN | 5 |
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
AddLadyCategoryRequest
| Field | Type | Label | Description |
|---|---|---|---|
| name | string | ||
| sort | int64 |
AddLadyCategoryResponse
| Field | Type | Label | Description |
|---|---|---|---|
| category | pan.atom.ladies.Category |
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
DeleteLadyCategoryRequest
| Field | Type | Label | Description |
|---|---|---|---|
| id | int64 |
DeleteLadyCategoryResponse
GoogleLoginRequest
| Field | Type | Label | Description |
|---|---|---|---|
| access_token | string |
GoogleLoginResponse
| Field | Type | Label | Description |
|---|---|---|---|
| admin_token | string |
LadyCategoriesRequest
LadyCategoriesResponse
| Field | Type | Label | Description |
|---|---|---|---|
| categories | pan.atom.ladies.Category | repeated |
LadyData
| Field | Type | Label | Description |
|---|---|---|---|
| uid | int64 | ||
| jkf_username | string | ||
| display_name | string | ||
| style_tag | string | repeated | |
| phone_number | string | ||
| category_id | int64 | ||
| category_sort | int64 |
LadyListRequest
| Field | Type | Label | Description |
|---|---|---|---|
| uid | int64 | optional, fuzzy search | |
| name | string | optional, fuzzy search | |
| style_tag | string | optional | |
| category_id | int64 | optional |
LadyListResponse
| Field | Type | Label | Description |
|---|---|---|---|
| Lady | LadyData | repeated |
LadySetCategoryRequest
| Field | Type | Label | Description |
|---|---|---|---|
| target_uid | int64 | ||
| category_id | int64 | ||
| sort | int64 |
LadySetCategoryResponse
LadySetStyleTagsRequest
| Field | Type | Label | Description |
|---|---|---|---|
| target_uid | int64 | ||
| style_tag | string | repeated |
LadySetStyleTagsResponse
LadyUpdateRequest
| Field | Type | Label | Description |
|---|---|---|---|
| target_uid | int64 | ||
| display_name | string | ||
| phone_number | string |
LadyUpdateResponse
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 | |
| LadyList | LadyListRequest | LadyListResponse | lady api |
| LadyUpdate | LadyUpdateRequest | LadyUpdateResponse | |
| LadySetStyleTags | LadySetStyleTagsRequest | LadySetStyleTagsResponse | |
| LadySetCategory | LadySetCategoryRequest | LadySetCategoryResponse | |
| LadyCategories | LadyCategoriesRequest | LadyCategoriesResponse | lady category |
| AddLadyCategory | AddLadyCategoryRequest | AddLadyCategoryResponse | |
| DeleteLadyCategory | DeleteLadyCategoryRequest | DeleteLadyCategoryResponse |
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/ladies/error.proto
ErrVote
ErrVote.General
| Name | Number | Description |
|---|---|---|
| DEFAULT | 0 | |
| PHONE_REQUIRED | 1001 | |
| OUT_OF_QUOTA_FOR_TIME | 1002 | |
| OUT_OF_QUOTA_FOR_LADY | 1003 | |
| LOGIN_OR_REGISTER_REQUIRED | 1004 |
general/ladies/first.proto
CanIVoteRequest
| Field | Type | Label | Description |
|---|---|---|---|
| access_token | string | ||
| lady_uid | int64 |
CanIVoteResponse
CategoriesRequest
CategoriesResponse
| Field | Type | Label | Description |
|---|---|---|---|
| categories | pan.atom.ladies.Category | repeated |
GetMyRankRequest
| Field | Type | Label | Description |
|---|---|---|---|
| access_token | string | 這個 string 可以直接當作 uid 查詢 |
LadiesListRequest
| Field | Type | Label | Description |
|---|---|---|---|
| name | string | ||
| tag | string | ||
| category_id | int64 |
LadiesListResponse
| Field | Type | Label | Description |
|---|---|---|---|
| Lady | pan.atom.ladies.Lady | repeated |
LadyVoteType
RankListRequest
| Field | Type | Label | Description |
|---|---|---|---|
| page | int64 | ||
| limit | int64 | ||
| period | RankListRequest.Period |
RankListResponse
| Field | Type | Label | Description |
|---|---|---|---|
| lady | pan.atom.ladies.LadyRank | repeated |
VoteRequest
| Field | Type | Label | Description |
|---|---|---|---|
| access_token | string | ||
| lady_uid | int64 |
VoteResponse
LadyVoteType.General
| Name | Number | Description |
|---|---|---|
| LadyVoteTypeNormal | 0 | |
| LadyVoteTypeUserVoteReward | 1 | |
| LadyVoteTypeDayReward | 2 | |
| LadyVoteTypeRankReward | 3 |
RankListRequest.Period
| Name | Number | Description |
|---|---|---|
| all | 0 | |
| week | 1 | |
| month | 2 |
LadiesService
| Method Name | Request Type | Response Type | Description |
|---|---|---|---|
| LadiesList | LadiesListRequest | LadiesListResponse | |
| RankList | RankListRequest | RankListResponse | |
| Vote | VoteRequest | VoteResponse | |
| GetMyRank | GetMyRankRequest | .pan.atom.ladies.LadyRank | |
| CanIVote | CanIVoteRequest | CanIVoteResponse | |
| Categories | CategoriesRequest | CategoriesResponse |
general/ladyadmin/ladyadmin.proto
GeneralLadyDataReq
| Field | Type | Label | Description |
|---|---|---|---|
| lady_register_profile_id | int64 |
GeneralLadyDataRes
LadyProfileAttachmentReq
| Field | Type | Label | Description |
|---|---|---|---|
| lady_register_profile_id | int64 | ||
| attachment_type | LadyProfileAttachmentReq.AttachmentType |
LadyProfileAttachmentRes
| Field | Type | Label | Description |
|---|---|---|---|
| lady_profile_attachment | pan.atom.ladyapp.LadyProfileData |
LadyProfileDataVerifyReq
| Field | Type | Label | Description |
|---|---|---|---|
| lady_register_profile_id | int64 | ||
| data_verify | LadyProfileDataVerifyReq.DataVerify | ||
| column_name | string |
LadyProfileDataVerifyRes
LadyProfileListReq
| Field | Type | Label | Description |
|---|---|---|---|
| page | int64 | ||
| limit | int64 | ||
| phone_number | string | optional, fuzzy search | |
| stage_name | string | optional, fuzzy search | |
| profile_verify | int64 | optional |
LadyProfileListRes
| Field | Type | Label | Description |
|---|---|---|---|
| lady_profile_data | pan.atom.ladyapp.LadyProfileData | repeated | |
| total | int64 |
SendMessageToLadyReq
| Field | Type | Label | Description |
|---|---|---|---|
| phone | string |
SendMessageToLadyRes
LadyProfileAttachmentReq.AttachmentType
| Name | Number | Description |
|---|---|---|
| IMAGE | 0 | |
| RECORD | 1 | |
| ALL | 2 |
LadyProfileDataVerifyReq.DataVerify
| Name | Number | Description |
|---|---|---|
| DATA_ONE_DENY | 0 | |
| DATA_ALL_CONFIRM | 1 |
LadyAdminService
| Method Name | Request Type | Response Type | Description |
|---|---|---|---|
| SendMessageToLady | SendMessageToLadyReq | SendMessageToLadyRes | 傳送手機簡訊給女郎 |
| LadyProfileList | LadyProfileListReq | LadyProfileListRes | 取得女郎註冊資料列表 + 查詢 |
| LadyProfileAttachment | LadyProfileAttachmentReq | LadyProfileAttachmentRes | 取得女郎圖片或錄音檔案 |
| LadyProfileDataVerify | LadyProfileDataVerifyReq | LadyProfileDataVerifyRes | 審核女郎註冊資料 |
| GeneralLadyData | GeneralLadyDataReq | GeneralLadyDataRes | 建立女郎相關資料給Pan |
general/ladyapp/error.proto
ErrBase
ErrSaveLady
ErrSendSmsCode
ErrBase.General
| Name | Number | Description |
|---|---|---|
| NOTSET | 0 | |
| INVALID_PARAMETER | 1001 | |
| SERVER_ERROR | 1002 | |
| TOKEN_INVALID | 1003 |
ErrSaveLady.General
| Name | Number | Description |
|---|---|---|
| NOTSET | 0 | |
| LADY_DATA_EMPTY | 3001 |
ErrSendSmsCode.General
| Name | Number | Description |
|---|---|---|
| NOTSET | 0 | |
| PLEASE_GO_PAN_LOGIN | 2001 | |
| SMS_RESEND_DENIED | 2002 | |
| SMS_RESEND_LIMIT | 2003 |
general/ladyapp/first.proto
CheckLadyRegisterProfileReq
| Field | Type | Label | Description |
|---|---|---|---|
| access_token | string |
CheckLadyRegisterProfileRes
| Field | Type | Label | Description |
|---|---|---|---|
| profile_status | CheckLadyRegisterProfileRes.ProfileStatus | ||
| check_column | string | repeated |
CheckPhoneReq
| Field | Type | Label | Description |
|---|---|---|---|
| phone_number | string | ||
| country_code | string |
CheckPhoneRes
| Field | Type | Label | Description |
|---|---|---|---|
| phone_status | CheckPhoneRes.PhoneStatus |
GenerateAuthTokenReq
| Field | Type | Label | Description |
|---|---|---|---|
| access_token | string | ||
| app_id | string |
GenerateAuthTokenRes
| Field | Type | Label | Description |
|---|---|---|---|
| auth_token | string |
LadyAppLoginReq
| Field | Type | Label | Description |
|---|---|---|---|
| phone_number | string | ||
| country_code | string | ||
| verify_code | string |
LadyAppLoginRes
| Field | Type | Label | Description |
|---|---|---|---|
| access_token | string |
LadyProfileReq
| Field | Type | Label | Description |
|---|---|---|---|
| access_token | string |
LadyProfileRes
| Field | Type | Label | Description |
|---|---|---|---|
| profile | pan.atom.ladyapp.LadyProfileData |
SaveLadyReq
| Field | Type | Label | Description |
|---|---|---|---|
| access_token | string | ||
| profile | pan.atom.ladyapp.LadyText |
SaveLadyRes
SendSmsCodeReq
| Field | Type | Label | Description |
|---|---|---|---|
| phone_number | string | ||
| country_code | string | ||
| session_valid | string | ||
| platform | SendSmsCodeReq.Platform |
SendSmsCodeRes
UploadFileReq
| Field | Type | Label | Description |
|---|---|---|---|
| access_token | string | ||
| content_type | ContentType | ||
| file | bytes | 檔案本身 | |
| content_index | int64 |
UploadFileRes
ValidateStageNameReq
| Field | Type | Label | Description |
|---|---|---|---|
| access_token | string | ||
| stage_name | string |
ValidateStageNameRes
CheckLadyRegisterProfileRes.ProfileStatus
| Name | Number | Description |
|---|---|---|
| CREATED | 0 | |
| CONFIRMED | 1 | |
| REJECTED | 2 | |
| EDITED | 3 | |
| REGISTERED_TO_JKF | 4 |
CheckPhoneRes.PhoneStatus
| Name | Number | Description |
|---|---|---|
| EXIST | 0 | |
| IS_BE_LADY | 1 | |
| EMPTY | 2 |
ContentType
| Name | Number | Description |
|---|---|---|
| LOGO | 0 | |
| MODEL_CARD | 1 | |
| IDENTITY_CARD | 2 | |
| BANK_ACCOUNT | 3 | |
| RECORD_BE_JKF_LADY | 4 | |
| RECORD_JOIN_JKF | 5 | |
| RECORD_WORK | 6 | |
| RECORD_DREAMBOAT | 7 | |
| RECORD_CHOOSE | 8 | |
| RECORD_INTEREST | 9 | |
| RECORD_FUTURE | 10 |
SendSmsCodeReq.Platform
| Name | Number | Description |
|---|---|---|
| ANDROID | 0 | |
| IOS | 1 |
LadyAppService
| Method Name | Request Type | Response Type | Description |
|---|---|---|---|
| CheckPhone | CheckPhoneReq | CheckPhoneRes | |
| SendSmsCode | SendSmsCodeReq | SendSmsCodeRes | |
| LadyAppLogin | LadyAppLoginReq | LadyAppLoginRes | |
| CheckLadyRegisterProfile | CheckLadyRegisterProfileReq | CheckLadyRegisterProfileRes | 確認女郎資料是否已驗證,未驗證需回傳未認可 |
| ValidateStageName | ValidateStageNameReq | ValidateStageNameRes | |
| SaveLady | SaveLadyReq | SaveLadyRes | 儲存女郎資料 |
| UploadLadyAttachment | UploadFileReq | UploadFileRes | 上傳檔案 |
| LadyProfile | LadyProfileReq | LadyProfileRes | 取得女郎Profile資料 |
| GenerateAuthToken | GenerateAuthTokenReq | GenerateAuthTokenRes | 產生Forum用AuthToken |
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 |
MemberService
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 |