Documentation ¶
Index ¶
- Variables
- type AppData
- func (*AppData) Descriptor() ([]byte, []int)deprecated
- func (x *AppData) GetAllowedAccess() bool
- func (x *AppData) GetIcon() []byte
- func (x *AppData) GetName() string
- func (x *AppData) GetPackageName() string
- func (*AppData) ProtoMessage()
- func (x *AppData) ProtoReflect() protoreflect.Message
- func (x *AppData) Reset()
- func (x *AppData) String() string
- type AppsData
- type Bandwidth
- func (*Bandwidth) Descriptor() ([]byte, []int)deprecated
- func (x *Bandwidth) GetAllowed() int64
- func (x *Bandwidth) GetPercent() int64
- func (x *Bandwidth) GetRemaining() int64
- func (x *Bandwidth) GetTtlSeconds() int64
- func (*Bandwidth) ProtoMessage()
- func (x *Bandwidth) ProtoReflect() protoreflect.Message
- func (x *Bandwidth) Reset()
- func (x *Bandwidth) String() string
- type BaseResponse
- func (*BaseResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BaseResponse) GetError() string
- func (x *BaseResponse) GetErrorId() string
- func (x *BaseResponse) GetStatus() string
- func (*BaseResponse) ProtoMessage()
- func (x *BaseResponse) ProtoReflect() protoreflect.Message
- func (x *BaseResponse) Reset()
- func (x *BaseResponse) String() string
- type ChangeEmailRequest
- func (*ChangeEmailRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ChangeEmailRequest) GetNewEmail() string
- func (x *ChangeEmailRequest) GetOldEmail() string
- func (x *ChangeEmailRequest) GetProof() []byte
- func (*ChangeEmailRequest) ProtoMessage()
- func (x *ChangeEmailRequest) ProtoReflect() protoreflect.Message
- func (x *ChangeEmailRequest) Reset()
- func (x *ChangeEmailRequest) String() string
- type CompleteChangeEmailRequest
- func (*CompleteChangeEmailRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CompleteChangeEmailRequest) GetCode() string
- func (x *CompleteChangeEmailRequest) GetNewEmail() string
- func (x *CompleteChangeEmailRequest) GetNewSalt() []byte
- func (x *CompleteChangeEmailRequest) GetNewVerifier() []byte
- func (x *CompleteChangeEmailRequest) GetOldEmail() string
- func (*CompleteChangeEmailRequest) ProtoMessage()
- func (x *CompleteChangeEmailRequest) ProtoReflect() protoreflect.Message
- func (x *CompleteChangeEmailRequest) Reset()
- func (x *CompleteChangeEmailRequest) String() string
- type CompleteRecoveryByEmailRequest
- func (*CompleteRecoveryByEmailRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CompleteRecoveryByEmailRequest) GetCode() string
- func (x *CompleteRecoveryByEmailRequest) GetEmail() string
- func (x *CompleteRecoveryByEmailRequest) GetNewSalt() []byte
- func (x *CompleteRecoveryByEmailRequest) GetNewVerifier() []byte
- func (*CompleteRecoveryByEmailRequest) ProtoMessage()
- func (x *CompleteRecoveryByEmailRequest) ProtoReflect() protoreflect.Message
- func (x *CompleteRecoveryByEmailRequest) Reset()
- func (x *CompleteRecoveryByEmailRequest) String() string
- type ConfirmSignupRequest
- func (*ConfirmSignupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ConfirmSignupRequest) GetCode() string
- func (x *ConfirmSignupRequest) GetEmail() string
- func (*ConfirmSignupRequest) ProtoMessage()
- func (x *ConfirmSignupRequest) ProtoReflect() protoreflect.Message
- func (x *ConfirmSignupRequest) Reset()
- func (x *ConfirmSignupRequest) String() string
- type DeleteUserRequest
- func (*DeleteUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteUserRequest) GetDeviceId() string
- func (x *DeleteUserRequest) GetEmail() string
- func (x *DeleteUserRequest) GetPermanent() bool
- func (x *DeleteUserRequest) GetProof() []byte
- func (*DeleteUserRequest) ProtoMessage()
- func (x *DeleteUserRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteUserRequest) Reset()
- func (x *DeleteUserRequest) String() string
- type Device
- type Devices
- type EmptyResponse
- type GetSaltResponse
- type LinkResponse
- func (*LinkResponse) Descriptor() ([]byte, []int)deprecated
- func (x *LinkResponse) GetError() string
- func (x *LinkResponse) GetErrorId() string
- func (x *LinkResponse) GetStatus() string
- func (x *LinkResponse) GetToken() string
- func (x *LinkResponse) GetUserID() int64
- func (*LinkResponse) ProtoMessage()
- func (x *LinkResponse) ProtoReflect() protoreflect.Message
- func (x *LinkResponse) Reset()
- func (x *LinkResponse) String() string
- type LoginRequest
- func (*LoginRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LoginRequest) GetDeviceId() string
- func (x *LoginRequest) GetEmail() string
- func (x *LoginRequest) GetProof() []byte
- func (*LoginRequest) ProtoMessage()
- func (x *LoginRequest) ProtoReflect() protoreflect.Message
- func (x *LoginRequest) Reset()
- func (x *LoginRequest) String() string
- type LoginResponse
- func (*LoginResponse) Descriptor() ([]byte, []int)deprecated
- func (x *LoginResponse) GetDevices() []*LoginResponse_Device
- func (x *LoginResponse) GetEmailConfirmed() bool
- func (x *LoginResponse) GetId() string
- func (x *LoginResponse) GetLegacyID() int64
- func (x *LoginResponse) GetLegacyToken() string
- func (x *LoginResponse) GetLegacyUserData() *LoginResponse_UserData
- func (x *LoginResponse) GetSuccess() bool
- func (*LoginResponse) ProtoMessage()
- func (x *LoginResponse) ProtoReflect() protoreflect.Message
- func (x *LoginResponse) Reset()
- func (x *LoginResponse) String() string
- type LoginResponse_Device
- func (*LoginResponse_Device) Descriptor() ([]byte, []int)deprecated
- func (x *LoginResponse_Device) GetCreated() int64
- func (x *LoginResponse_Device) GetId() string
- func (x *LoginResponse_Device) GetName() string
- func (*LoginResponse_Device) ProtoMessage()
- func (x *LoginResponse_Device) ProtoReflect() protoreflect.Message
- func (x *LoginResponse_Device) Reset()
- func (x *LoginResponse_Device) String() string
- type LoginResponse_UserData
- func (*LoginResponse_UserData) Descriptor() ([]byte, []int)deprecated
- func (x *LoginResponse_UserData) GetBonusDays() string
- func (x *LoginResponse_UserData) GetBonusMonths() string
- func (x *LoginResponse_UserData) GetCode() string
- func (x *LoginResponse_UserData) GetDevices() []*LoginResponse_Device
- func (x *LoginResponse_UserData) GetEmail() string
- func (x *LoginResponse_UserData) GetExpiration() int64
- func (x *LoginResponse_UserData) GetInvitees() []string
- func (x *LoginResponse_UserData) GetInviters() []string
- func (x *LoginResponse_UserData) GetLocale() string
- func (x *LoginResponse_UserData) GetPhone() string
- func (x *LoginResponse_UserData) GetPurchases() []string
- func (x *LoginResponse_UserData) GetReferral() string
- func (x *LoginResponse_UserData) GetServers() []string
- func (x *LoginResponse_UserData) GetSubscription() string
- func (x *LoginResponse_UserData) GetToken() string
- func (x *LoginResponse_UserData) GetUserId() int64
- func (x *LoginResponse_UserData) GetUserLevel() string
- func (x *LoginResponse_UserData) GetUserStatus() string
- func (x *LoginResponse_UserData) GetYinbiEnabled() bool
- func (*LoginResponse_UserData) ProtoMessage()
- func (x *LoginResponse_UserData) ProtoReflect() protoreflect.Message
- func (x *LoginResponse_UserData) Reset()
- func (x *LoginResponse_UserData) String() string
- type LogoutRequest
- func (*LogoutRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LogoutRequest) GetDeviceId() string
- func (x *LogoutRequest) GetEmail() string
- func (x *LogoutRequest) GetLegacyToken() string
- func (x *LogoutRequest) GetLegacyUserID() int64
- func (*LogoutRequest) ProtoMessage()
- func (x *LogoutRequest) ProtoReflect() protoreflect.Message
- func (x *LogoutRequest) Reset()
- func (x *LogoutRequest) String() string
- type PaymentMethod
- func (*PaymentMethod) Descriptor() ([]byte, []int)deprecated
- func (x *PaymentMethod) GetMethod() string
- func (x *PaymentMethod) GetProviders() []*PaymentProviders
- func (*PaymentMethod) ProtoMessage()
- func (x *PaymentMethod) ProtoReflect() protoreflect.Message
- func (x *PaymentMethod) Reset()
- func (x *PaymentMethod) String() string
- type PaymentProviders
- func (*PaymentProviders) Descriptor() ([]byte, []int)deprecated
- func (x *PaymentProviders) GetData() map[string]string
- func (x *PaymentProviders) GetLogoUrls() []string
- func (x *PaymentProviders) GetName() string
- func (*PaymentProviders) ProtoMessage()
- func (x *PaymentProviders) ProtoReflect() protoreflect.Message
- func (x *PaymentProviders) Reset()
- func (x *PaymentProviders) String() string
- type PaymentRedirectRequest
- func (*PaymentRedirectRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PaymentRedirectRequest) GetCountryCode() string
- func (x *PaymentRedirectRequest) GetCurrency() string
- func (x *PaymentRedirectRequest) GetDeviceName() string
- func (x *PaymentRedirectRequest) GetEmail() string
- func (x *PaymentRedirectRequest) GetLocale() string
- func (x *PaymentRedirectRequest) GetPlan() string
- func (x *PaymentRedirectRequest) GetProvider() string
- func (*PaymentRedirectRequest) ProtoMessage()
- func (x *PaymentRedirectRequest) ProtoReflect() protoreflect.Message
- func (x *PaymentRedirectRequest) Reset()
- func (x *PaymentRedirectRequest) String() string
- type PaymentRedirectResponse
- func (*PaymentRedirectResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PaymentRedirectResponse) GetError() string
- func (x *PaymentRedirectResponse) GetErrorId() string
- func (x *PaymentRedirectResponse) GetRedirect() string
- func (x *PaymentRedirectResponse) GetStatus() string
- func (*PaymentRedirectResponse) ProtoMessage()
- func (x *PaymentRedirectResponse) ProtoReflect() protoreflect.Message
- func (x *PaymentRedirectResponse) Reset()
- func (x *PaymentRedirectResponse) String() string
- type Plan
- func (*Plan) Descriptor() ([]byte, []int)deprecated
- func (x *Plan) GetBestValue() bool
- func (x *Plan) GetDescription() string
- func (x *Plan) GetExpectedMonthlyPrice() map[string]int64
- func (x *Plan) GetFormattedBonus() string
- func (x *Plan) GetId() string
- func (x *Plan) GetOneMonthCost() string
- func (x *Plan) GetPrice() map[string]int64
- func (x *Plan) GetRenewalBonusExpected() map[string]int64
- func (x *Plan) GetRenewalText() string
- func (x *Plan) GetTotalCost() string
- func (x *Plan) GetTotalCostBilledOneTime() string
- func (x *Plan) GetUsdPrice() int64
- func (*Plan) ProtoMessage()
- func (x *Plan) ProtoReflect() protoreflect.Message
- func (x *Plan) Reset()
- func (x *Plan) String() string
- type Plans
- type PrepareRequest
- func (*PrepareRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PrepareRequest) GetA() []byte
- func (x *PrepareRequest) GetEmail() string
- func (*PrepareRequest) ProtoMessage()
- func (x *PrepareRequest) ProtoReflect() protoreflect.Message
- func (x *PrepareRequest) Reset()
- func (x *PrepareRequest) String() string
- type PrepareResponse
- func (*PrepareResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PrepareResponse) GetB() []byte
- func (x *PrepareResponse) GetProof() []byte
- func (*PrepareResponse) ProtoMessage()
- func (x *PrepareResponse) ProtoReflect() protoreflect.Message
- func (x *PrepareResponse) Reset()
- func (x *PrepareResponse) String() string
- type Purchase
- type RedeemResellerCodeRequest
- func (*RedeemResellerCodeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RedeemResellerCodeRequest) GetCurrency() string
- func (x *RedeemResellerCodeRequest) GetDeviceName() string
- func (x *RedeemResellerCodeRequest) GetEmail() string
- func (x *RedeemResellerCodeRequest) GetIdempotencyKey() string
- func (x *RedeemResellerCodeRequest) GetProvider() string
- func (x *RedeemResellerCodeRequest) GetResellerCode() string
- func (*RedeemResellerCodeRequest) ProtoMessage()
- func (x *RedeemResellerCodeRequest) ProtoReflect() protoreflect.Message
- func (x *RedeemResellerCodeRequest) Reset()
- func (x *RedeemResellerCodeRequest) String() string
- type ServerInfo
- func (*ServerInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ServerInfo) GetCity() string
- func (x *ServerInfo) GetCountry() string
- func (x *ServerInfo) GetCountryCode() string
- func (*ServerInfo) ProtoMessage()
- func (x *ServerInfo) ProtoReflect() protoreflect.Message
- func (x *ServerInfo) Reset()
- func (x *ServerInfo) String() string
- type SignupEmailResendRequest
- func (*SignupEmailResendRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SignupEmailResendRequest) GetEmail() string
- func (x *SignupEmailResendRequest) GetSalt() []byte
- func (*SignupEmailResendRequest) ProtoMessage()
- func (x *SignupEmailResendRequest) ProtoReflect() protoreflect.Message
- func (x *SignupEmailResendRequest) Reset()
- func (x *SignupEmailResendRequest) String() string
- type SignupRequest
- func (*SignupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SignupRequest) GetEmail() string
- func (x *SignupRequest) GetSalt() []byte
- func (x *SignupRequest) GetSkipEmailConfirmation() bool
- func (x *SignupRequest) GetVerifier() []byte
- func (*SignupRequest) ProtoMessage()
- func (x *SignupRequest) ProtoReflect() protoreflect.Message
- func (x *SignupRequest) Reset()
- func (x *SignupRequest) String() string
- type StartRecoveryByEmailRequest
- func (*StartRecoveryByEmailRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StartRecoveryByEmailRequest) GetEmail() string
- func (*StartRecoveryByEmailRequest) ProtoMessage()
- func (x *StartRecoveryByEmailRequest) ProtoReflect() protoreflect.Message
- func (x *StartRecoveryByEmailRequest) Reset()
- func (x *StartRecoveryByEmailRequest) String() string
- type User
- func (*User) Descriptor() ([]byte, []int)deprecated
- func (x *User) GetCode() string
- func (x *User) GetDevices() []*Device
- func (x *User) GetEmail() string
- func (x *User) GetExpiration() int64
- func (x *User) GetExpireAt() int64
- func (x *User) GetInvitees() []string
- func (x *User) GetInviters() []string
- func (x *User) GetLocale() string
- func (x *User) GetPurchases() []*Purchase
- func (x *User) GetReferral() string
- func (x *User) GetTelephone() string
- func (x *User) GetToken() string
- func (x *User) GetUserId() int64
- func (x *User) GetUserLevel() string
- func (x *User) GetUserStatus() string
- func (x *User) GetYinbiEnabled() bool
- func (*User) ProtoMessage()
- func (x *User) ProtoReflect() protoreflect.Message
- func (x *User) Reset()
- func (x *User) String() string
- type ValidateRecoveryCodeRequest
- func (*ValidateRecoveryCodeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ValidateRecoveryCodeRequest) GetCode() string
- func (x *ValidateRecoveryCodeRequest) GetEmail() string
- func (*ValidateRecoveryCodeRequest) ProtoMessage()
- func (x *ValidateRecoveryCodeRequest) ProtoReflect() protoreflect.Message
- func (x *ValidateRecoveryCodeRequest) Reset()
- func (x *ValidateRecoveryCodeRequest) String() string
- type ValidateRecoveryCodeResponse
- func (*ValidateRecoveryCodeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ValidateRecoveryCodeResponse) GetValid() bool
- func (*ValidateRecoveryCodeResponse) ProtoMessage()
- func (x *ValidateRecoveryCodeResponse) ProtoReflect() protoreflect.Message
- func (x *ValidateRecoveryCodeResponse) Reset()
- func (x *ValidateRecoveryCodeResponse) String() string
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type AppData ¶
type AppData struct { PackageName string `protobuf:"bytes,1,opt,name=packageName,proto3" json:"packageName,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Icon []byte `protobuf:"bytes,3,opt,name=icon,proto3" json:"icon,omitempty"` AllowedAccess bool `protobuf:"varint,4,opt,name=allowedAccess,proto3" json:"allowedAccess,omitempty"` // contains filtered or unexported fields }
func (*AppData) Descriptor
deprecated
func (*AppData) GetAllowedAccess ¶
func (*AppData) GetPackageName ¶
func (*AppData) ProtoMessage ¶
func (*AppData) ProtoMessage()
func (*AppData) ProtoReflect ¶
func (x *AppData) ProtoReflect() protoreflect.Message
type AppsData ¶
type AppsData struct { AppsList []*AppData `protobuf:"bytes,1,rep,name=appsList,proto3" json:"appsList,omitempty"` // contains filtered or unexported fields }
func (*AppsData) Descriptor
deprecated
func (*AppsData) GetAppsList ¶
func (*AppsData) ProtoMessage ¶
func (*AppsData) ProtoMessage()
func (*AppsData) ProtoReflect ¶
func (x *AppsData) ProtoReflect() protoreflect.Message
type Bandwidth ¶
type Bandwidth struct { Percent int64 `protobuf:"varint,1,opt,name=percent,proto3" json:"percent,omitempty"` // [0, 100] Remaining int64 `protobuf:"varint,2,opt,name=remaining,proto3" json:"remaining,omitempty"` // in MB Allowed int64 `protobuf:"varint,3,opt,name=allowed,proto3" json:"allowed,omitempty"` // in MB TtlSeconds int64 `protobuf:"varint,4,opt,name=ttlSeconds,proto3" json:"ttlSeconds,omitempty"` // number of seconds left before data reset // contains filtered or unexported fields }
func (*Bandwidth) Descriptor
deprecated
func (*Bandwidth) GetAllowed ¶
func (*Bandwidth) GetPercent ¶
func (*Bandwidth) GetRemaining ¶
func (*Bandwidth) GetTtlSeconds ¶
func (*Bandwidth) ProtoMessage ¶
func (*Bandwidth) ProtoMessage()
func (*Bandwidth) ProtoReflect ¶
func (x *Bandwidth) ProtoReflect() protoreflect.Message
type BaseResponse ¶
type BaseResponse struct { Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` ErrorId string `protobuf:"bytes,3,opt,name=errorId,proto3" json:"errorId,omitempty"` // contains filtered or unexported fields }
API
func (*BaseResponse) Descriptor
deprecated
func (*BaseResponse) Descriptor() ([]byte, []int)
Deprecated: Use BaseResponse.ProtoReflect.Descriptor instead.
func (*BaseResponse) GetError ¶
func (x *BaseResponse) GetError() string
func (*BaseResponse) GetErrorId ¶
func (x *BaseResponse) GetErrorId() string
func (*BaseResponse) GetStatus ¶
func (x *BaseResponse) GetStatus() string
func (*BaseResponse) ProtoMessage ¶
func (*BaseResponse) ProtoMessage()
func (*BaseResponse) ProtoReflect ¶
func (x *BaseResponse) ProtoReflect() protoreflect.Message
func (*BaseResponse) Reset ¶
func (x *BaseResponse) Reset()
func (*BaseResponse) String ¶
func (x *BaseResponse) String() string
type ChangeEmailRequest ¶
type ChangeEmailRequest struct { OldEmail string `protobuf:"bytes,1,opt,name=old_email,json=oldEmail,proto3" json:"old_email,omitempty"` NewEmail string `protobuf:"bytes,2,opt,name=new_email,json=newEmail,proto3" json:"new_email,omitempty"` Proof []byte `protobuf:"bytes,3,opt,name=proof,proto3" json:"proof,omitempty"` // contains filtered or unexported fields }
POST /users/change_email
func (*ChangeEmailRequest) Descriptor
deprecated
func (*ChangeEmailRequest) Descriptor() ([]byte, []int)
Deprecated: Use ChangeEmailRequest.ProtoReflect.Descriptor instead.
func (*ChangeEmailRequest) GetNewEmail ¶
func (x *ChangeEmailRequest) GetNewEmail() string
func (*ChangeEmailRequest) GetOldEmail ¶
func (x *ChangeEmailRequest) GetOldEmail() string
func (*ChangeEmailRequest) GetProof ¶
func (x *ChangeEmailRequest) GetProof() []byte
func (*ChangeEmailRequest) ProtoMessage ¶
func (*ChangeEmailRequest) ProtoMessage()
func (*ChangeEmailRequest) ProtoReflect ¶
func (x *ChangeEmailRequest) ProtoReflect() protoreflect.Message
func (*ChangeEmailRequest) Reset ¶
func (x *ChangeEmailRequest) Reset()
func (*ChangeEmailRequest) String ¶
func (x *ChangeEmailRequest) String() string
type CompleteChangeEmailRequest ¶
type CompleteChangeEmailRequest struct { OldEmail string `protobuf:"bytes,1,opt,name=old_email,json=oldEmail,proto3" json:"old_email,omitempty"` NewEmail string `protobuf:"bytes,2,opt,name=new_email,json=newEmail,proto3" json:"new_email,omitempty"` Code string `protobuf:"bytes,3,opt,name=code,proto3" json:"code,omitempty"` NewSalt []byte `protobuf:"bytes,4,opt,name=new_salt,json=newSalt,proto3" json:"new_salt,omitempty"` NewVerifier []byte `protobuf:"bytes,5,opt,name=new_verifier,json=newVerifier,proto3" json:"new_verifier,omitempty"` // contains filtered or unexported fields }
POST /users/change_email/complete/email
func (*CompleteChangeEmailRequest) Descriptor
deprecated
func (*CompleteChangeEmailRequest) Descriptor() ([]byte, []int)
Deprecated: Use CompleteChangeEmailRequest.ProtoReflect.Descriptor instead.
func (*CompleteChangeEmailRequest) GetCode ¶
func (x *CompleteChangeEmailRequest) GetCode() string
func (*CompleteChangeEmailRequest) GetNewEmail ¶
func (x *CompleteChangeEmailRequest) GetNewEmail() string
func (*CompleteChangeEmailRequest) GetNewSalt ¶
func (x *CompleteChangeEmailRequest) GetNewSalt() []byte
func (*CompleteChangeEmailRequest) GetNewVerifier ¶
func (x *CompleteChangeEmailRequest) GetNewVerifier() []byte
func (*CompleteChangeEmailRequest) GetOldEmail ¶
func (x *CompleteChangeEmailRequest) GetOldEmail() string
func (*CompleteChangeEmailRequest) ProtoMessage ¶
func (*CompleteChangeEmailRequest) ProtoMessage()
func (*CompleteChangeEmailRequest) ProtoReflect ¶
func (x *CompleteChangeEmailRequest) ProtoReflect() protoreflect.Message
func (*CompleteChangeEmailRequest) Reset ¶
func (x *CompleteChangeEmailRequest) Reset()
func (*CompleteChangeEmailRequest) String ¶
func (x *CompleteChangeEmailRequest) String() string
type CompleteRecoveryByEmailRequest ¶
type CompleteRecoveryByEmailRequest struct { Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"` Code string `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"` NewSalt []byte `protobuf:"bytes,3,opt,name=new_salt,json=newSalt,proto3" json:"new_salt,omitempty"` NewVerifier []byte `protobuf:"bytes,4,opt,name=new_verifier,json=newVerifier,proto3" json:"new_verifier,omitempty"` // contains filtered or unexported fields }
POST /users/recovery/complete/email
func (*CompleteRecoveryByEmailRequest) Descriptor
deprecated
func (*CompleteRecoveryByEmailRequest) Descriptor() ([]byte, []int)
Deprecated: Use CompleteRecoveryByEmailRequest.ProtoReflect.Descriptor instead.
func (*CompleteRecoveryByEmailRequest) GetCode ¶
func (x *CompleteRecoveryByEmailRequest) GetCode() string
func (*CompleteRecoveryByEmailRequest) GetEmail ¶
func (x *CompleteRecoveryByEmailRequest) GetEmail() string
func (*CompleteRecoveryByEmailRequest) GetNewSalt ¶
func (x *CompleteRecoveryByEmailRequest) GetNewSalt() []byte
func (*CompleteRecoveryByEmailRequest) GetNewVerifier ¶
func (x *CompleteRecoveryByEmailRequest) GetNewVerifier() []byte
func (*CompleteRecoveryByEmailRequest) ProtoMessage ¶
func (*CompleteRecoveryByEmailRequest) ProtoMessage()
func (*CompleteRecoveryByEmailRequest) ProtoReflect ¶
func (x *CompleteRecoveryByEmailRequest) ProtoReflect() protoreflect.Message
func (*CompleteRecoveryByEmailRequest) Reset ¶
func (x *CompleteRecoveryByEmailRequest) Reset()
func (*CompleteRecoveryByEmailRequest) String ¶
func (x *CompleteRecoveryByEmailRequest) String() string
type ConfirmSignupRequest ¶
type ConfirmSignupRequest struct { Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"` Code string `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"` // contains filtered or unexported fields }
POST /users/signup/complete/email
func (*ConfirmSignupRequest) Descriptor
deprecated
func (*ConfirmSignupRequest) Descriptor() ([]byte, []int)
Deprecated: Use ConfirmSignupRequest.ProtoReflect.Descriptor instead.
func (*ConfirmSignupRequest) GetCode ¶
func (x *ConfirmSignupRequest) GetCode() string
func (*ConfirmSignupRequest) GetEmail ¶
func (x *ConfirmSignupRequest) GetEmail() string
func (*ConfirmSignupRequest) ProtoMessage ¶
func (*ConfirmSignupRequest) ProtoMessage()
func (*ConfirmSignupRequest) ProtoReflect ¶
func (x *ConfirmSignupRequest) ProtoReflect() protoreflect.Message
func (*ConfirmSignupRequest) Reset ¶
func (x *ConfirmSignupRequest) Reset()
func (*ConfirmSignupRequest) String ¶
func (x *ConfirmSignupRequest) String() string
type DeleteUserRequest ¶
type DeleteUserRequest struct { Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"` Permanent bool `protobuf:"varint,2,opt,name=permanent,proto3" json:"permanent,omitempty"` Proof []byte `protobuf:"bytes,3,opt,name=proof,proto3" json:"proof,omitempty"` DeviceId string `protobuf:"bytes,4,opt,name=deviceId,proto3" json:"deviceId,omitempty"` // contains filtered or unexported fields }
POST /users/delete
func (*DeleteUserRequest) Descriptor
deprecated
func (*DeleteUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteUserRequest.ProtoReflect.Descriptor instead.
func (*DeleteUserRequest) GetDeviceId ¶
func (x *DeleteUserRequest) GetDeviceId() string
func (*DeleteUserRequest) GetEmail ¶
func (x *DeleteUserRequest) GetEmail() string
func (*DeleteUserRequest) GetPermanent ¶
func (x *DeleteUserRequest) GetPermanent() bool
func (*DeleteUserRequest) GetProof ¶
func (x *DeleteUserRequest) GetProof() []byte
func (*DeleteUserRequest) ProtoMessage ¶
func (*DeleteUserRequest) ProtoMessage()
func (*DeleteUserRequest) ProtoReflect ¶
func (x *DeleteUserRequest) ProtoReflect() protoreflect.Message
func (*DeleteUserRequest) Reset ¶
func (x *DeleteUserRequest) Reset()
func (*DeleteUserRequest) String ¶
func (x *DeleteUserRequest) String() string
type Device ¶
type Device struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Created int64 `protobuf:"varint,3,opt,name=created,proto3" json:"created,omitempty"` // contains filtered or unexported fields }
func (*Device) Descriptor
deprecated
func (*Device) GetCreated ¶
func (*Device) ProtoMessage ¶
func (*Device) ProtoMessage()
func (*Device) ProtoReflect ¶
func (x *Device) ProtoReflect() protoreflect.Message
type Devices ¶
type Devices struct { Devices []*Device `protobuf:"bytes,1,rep,name=devices,proto3" json:"devices,omitempty"` // contains filtered or unexported fields }
func (*Devices) Descriptor
deprecated
func (*Devices) GetDevices ¶
func (*Devices) ProtoMessage ¶
func (*Devices) ProtoMessage()
func (*Devices) ProtoReflect ¶
func (x *Devices) ProtoReflect() protoreflect.Message
type EmptyResponse ¶
type EmptyResponse struct {
// contains filtered or unexported fields
}
func (*EmptyResponse) Descriptor
deprecated
func (*EmptyResponse) Descriptor() ([]byte, []int)
Deprecated: Use EmptyResponse.ProtoReflect.Descriptor instead.
func (*EmptyResponse) ProtoMessage ¶
func (*EmptyResponse) ProtoMessage()
func (*EmptyResponse) ProtoReflect ¶
func (x *EmptyResponse) ProtoReflect() protoreflect.Message
func (*EmptyResponse) Reset ¶
func (x *EmptyResponse) Reset()
func (*EmptyResponse) String ¶
func (x *EmptyResponse) String() string
type GetSaltResponse ¶
type GetSaltResponse struct { Salt []byte `protobuf:"bytes,1,opt,name=salt,proto3" json:"salt,omitempty"` // contains filtered or unexported fields }
GET /users/salt
func (*GetSaltResponse) Descriptor
deprecated
func (*GetSaltResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetSaltResponse.ProtoReflect.Descriptor instead.
func (*GetSaltResponse) GetSalt ¶
func (x *GetSaltResponse) GetSalt() []byte
func (*GetSaltResponse) ProtoMessage ¶
func (*GetSaltResponse) ProtoMessage()
func (*GetSaltResponse) ProtoReflect ¶
func (x *GetSaltResponse) ProtoReflect() protoreflect.Message
func (*GetSaltResponse) Reset ¶
func (x *GetSaltResponse) Reset()
func (*GetSaltResponse) String ¶
func (x *GetSaltResponse) String() string
type LinkResponse ¶
type LinkResponse struct { UserID int64 `protobuf:"varint,1,opt,name=userID,proto3" json:"userID,omitempty"` Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"` Status string `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"` Error string `protobuf:"bytes,4,opt,name=error,proto3" json:"error,omitempty"` ErrorId string `protobuf:"bytes,5,opt,name=errorId,proto3" json:"errorId,omitempty"` // contains filtered or unexported fields }
func (*LinkResponse) Descriptor
deprecated
func (*LinkResponse) Descriptor() ([]byte, []int)
Deprecated: Use LinkResponse.ProtoReflect.Descriptor instead.
func (*LinkResponse) GetError ¶
func (x *LinkResponse) GetError() string
func (*LinkResponse) GetErrorId ¶
func (x *LinkResponse) GetErrorId() string
func (*LinkResponse) GetStatus ¶
func (x *LinkResponse) GetStatus() string
func (*LinkResponse) GetToken ¶
func (x *LinkResponse) GetToken() string
func (*LinkResponse) GetUserID ¶
func (x *LinkResponse) GetUserID() int64
func (*LinkResponse) ProtoMessage ¶
func (*LinkResponse) ProtoMessage()
func (*LinkResponse) ProtoReflect ¶
func (x *LinkResponse) ProtoReflect() protoreflect.Message
func (*LinkResponse) Reset ¶
func (x *LinkResponse) Reset()
func (*LinkResponse) String ¶
func (x *LinkResponse) String() string
type LoginRequest ¶
type LoginRequest struct { Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"` Proof []byte `protobuf:"bytes,2,opt,name=proof,proto3" json:"proof,omitempty"` DeviceId string `protobuf:"bytes,3,opt,name=deviceId,proto3" json:"deviceId,omitempty"` // contains filtered or unexported fields }
POST /users/login
func (*LoginRequest) Descriptor
deprecated
func (*LoginRequest) Descriptor() ([]byte, []int)
Deprecated: Use LoginRequest.ProtoReflect.Descriptor instead.
func (*LoginRequest) GetDeviceId ¶
func (x *LoginRequest) GetDeviceId() string
func (*LoginRequest) GetEmail ¶
func (x *LoginRequest) GetEmail() string
func (*LoginRequest) GetProof ¶
func (x *LoginRequest) GetProof() []byte
func (*LoginRequest) ProtoMessage ¶
func (*LoginRequest) ProtoMessage()
func (*LoginRequest) ProtoReflect ¶
func (x *LoginRequest) ProtoReflect() protoreflect.Message
func (*LoginRequest) Reset ¶
func (x *LoginRequest) Reset()
func (*LoginRequest) String ¶
func (x *LoginRequest) String() string
type LoginResponse ¶
type LoginResponse struct { LegacyID int64 `protobuf:"varint,1,opt,name=legacyID,proto3" json:"legacyID,omitempty"` LegacyToken string `protobuf:"bytes,2,opt,name=legacyToken,proto3" json:"legacyToken,omitempty"` Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"` EmailConfirmed bool `protobuf:"varint,4,opt,name=emailConfirmed,proto3" json:"emailConfirmed,omitempty"` Success bool `protobuf:"varint,5,opt,name=Success,proto3" json:"Success,omitempty"` // this maps to /user-data call in pro-server and is returned only on successful login LegacyUserData *LoginResponse_UserData `protobuf:"bytes,6,opt,name=legacyUserData,proto3" json:"legacyUserData,omitempty"` // list of current user devices. returned only on successful login that is blocked by 'too many devices' Devices []*LoginResponse_Device `protobuf:"bytes,7,rep,name=devices,proto3" json:"devices,omitempty"` // contains filtered or unexported fields }
func (*LoginResponse) Descriptor
deprecated
func (*LoginResponse) Descriptor() ([]byte, []int)
Deprecated: Use LoginResponse.ProtoReflect.Descriptor instead.
func (*LoginResponse) GetDevices ¶
func (x *LoginResponse) GetDevices() []*LoginResponse_Device
func (*LoginResponse) GetEmailConfirmed ¶
func (x *LoginResponse) GetEmailConfirmed() bool
func (*LoginResponse) GetId ¶
func (x *LoginResponse) GetId() string
func (*LoginResponse) GetLegacyID ¶
func (x *LoginResponse) GetLegacyID() int64
func (*LoginResponse) GetLegacyToken ¶
func (x *LoginResponse) GetLegacyToken() string
func (*LoginResponse) GetLegacyUserData ¶
func (x *LoginResponse) GetLegacyUserData() *LoginResponse_UserData
func (*LoginResponse) GetSuccess ¶
func (x *LoginResponse) GetSuccess() bool
func (*LoginResponse) ProtoMessage ¶
func (*LoginResponse) ProtoMessage()
func (*LoginResponse) ProtoReflect ¶
func (x *LoginResponse) ProtoReflect() protoreflect.Message
func (*LoginResponse) Reset ¶
func (x *LoginResponse) Reset()
func (*LoginResponse) String ¶
func (x *LoginResponse) String() string
type LoginResponse_Device ¶
type LoginResponse_Device struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Created int64 `protobuf:"varint,3,opt,name=created,proto3" json:"created,omitempty"` // contains filtered or unexported fields }
func (*LoginResponse_Device) Descriptor
deprecated
func (*LoginResponse_Device) Descriptor() ([]byte, []int)
Deprecated: Use LoginResponse_Device.ProtoReflect.Descriptor instead.
func (*LoginResponse_Device) GetCreated ¶
func (x *LoginResponse_Device) GetCreated() int64
func (*LoginResponse_Device) GetId ¶
func (x *LoginResponse_Device) GetId() string
func (*LoginResponse_Device) GetName ¶
func (x *LoginResponse_Device) GetName() string
func (*LoginResponse_Device) ProtoMessage ¶
func (*LoginResponse_Device) ProtoMessage()
func (*LoginResponse_Device) ProtoReflect ¶
func (x *LoginResponse_Device) ProtoReflect() protoreflect.Message
func (*LoginResponse_Device) Reset ¶
func (x *LoginResponse_Device) Reset()
func (*LoginResponse_Device) String ¶
func (x *LoginResponse_Device) String() string
type LoginResponse_UserData ¶
type LoginResponse_UserData struct { UserId int64 `protobuf:"varint,1,opt,name=userId,proto3" json:"userId,omitempty"` Code string `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"` Token string `protobuf:"bytes,3,opt,name=token,proto3" json:"token,omitempty"` Referral string `protobuf:"bytes,4,opt,name=referral,proto3" json:"referral,omitempty"` Phone string `protobuf:"bytes,5,opt,name=phone,proto3" json:"phone,omitempty"` Email string `protobuf:"bytes,6,opt,name=email,proto3" json:"email,omitempty"` UserStatus string `protobuf:"bytes,7,opt,name=userStatus,proto3" json:"userStatus,omitempty"` UserLevel string `protobuf:"bytes,8,opt,name=userLevel,proto3" json:"userLevel,omitempty"` Locale string `protobuf:"bytes,9,opt,name=locale,proto3" json:"locale,omitempty"` Expiration int64 `protobuf:"varint,10,opt,name=expiration,proto3" json:"expiration,omitempty"` Servers []string `protobuf:"bytes,11,rep,name=servers,proto3" json:"servers,omitempty"` Subscription string `protobuf:"bytes,12,opt,name=subscription,proto3" json:"subscription,omitempty"` Purchases []string `protobuf:"bytes,13,rep,name=purchases,proto3" json:"purchases,omitempty"` BonusDays string `protobuf:"bytes,14,opt,name=bonusDays,proto3" json:"bonusDays,omitempty"` BonusMonths string `protobuf:"bytes,15,opt,name=bonusMonths,proto3" json:"bonusMonths,omitempty"` Inviters []string `protobuf:"bytes,16,rep,name=inviters,proto3" json:"inviters,omitempty"` Invitees []string `protobuf:"bytes,17,rep,name=invitees,proto3" json:"invitees,omitempty"` Devices []*LoginResponse_Device `protobuf:"bytes,18,rep,name=devices,proto3" json:"devices,omitempty"` YinbiEnabled bool `protobuf:"varint,19,opt,name=yinbiEnabled,proto3" json:"yinbiEnabled,omitempty"` // contains filtered or unexported fields }
func (*LoginResponse_UserData) Descriptor
deprecated
func (*LoginResponse_UserData) Descriptor() ([]byte, []int)
Deprecated: Use LoginResponse_UserData.ProtoReflect.Descriptor instead.
func (*LoginResponse_UserData) GetBonusDays ¶
func (x *LoginResponse_UserData) GetBonusDays() string
func (*LoginResponse_UserData) GetBonusMonths ¶
func (x *LoginResponse_UserData) GetBonusMonths() string
func (*LoginResponse_UserData) GetCode ¶
func (x *LoginResponse_UserData) GetCode() string
func (*LoginResponse_UserData) GetDevices ¶
func (x *LoginResponse_UserData) GetDevices() []*LoginResponse_Device
func (*LoginResponse_UserData) GetEmail ¶
func (x *LoginResponse_UserData) GetEmail() string
func (*LoginResponse_UserData) GetExpiration ¶
func (x *LoginResponse_UserData) GetExpiration() int64
func (*LoginResponse_UserData) GetInvitees ¶
func (x *LoginResponse_UserData) GetInvitees() []string
func (*LoginResponse_UserData) GetInviters ¶
func (x *LoginResponse_UserData) GetInviters() []string
func (*LoginResponse_UserData) GetLocale ¶
func (x *LoginResponse_UserData) GetLocale() string
func (*LoginResponse_UserData) GetPhone ¶
func (x *LoginResponse_UserData) GetPhone() string
func (*LoginResponse_UserData) GetPurchases ¶
func (x *LoginResponse_UserData) GetPurchases() []string
func (*LoginResponse_UserData) GetReferral ¶
func (x *LoginResponse_UserData) GetReferral() string
func (*LoginResponse_UserData) GetServers ¶
func (x *LoginResponse_UserData) GetServers() []string
func (*LoginResponse_UserData) GetSubscription ¶
func (x *LoginResponse_UserData) GetSubscription() string
func (*LoginResponse_UserData) GetToken ¶
func (x *LoginResponse_UserData) GetToken() string
func (*LoginResponse_UserData) GetUserId ¶
func (x *LoginResponse_UserData) GetUserId() int64
func (*LoginResponse_UserData) GetUserLevel ¶
func (x *LoginResponse_UserData) GetUserLevel() string
func (*LoginResponse_UserData) GetUserStatus ¶
func (x *LoginResponse_UserData) GetUserStatus() string
func (*LoginResponse_UserData) GetYinbiEnabled ¶
func (x *LoginResponse_UserData) GetYinbiEnabled() bool
func (*LoginResponse_UserData) ProtoMessage ¶
func (*LoginResponse_UserData) ProtoMessage()
func (*LoginResponse_UserData) ProtoReflect ¶
func (x *LoginResponse_UserData) ProtoReflect() protoreflect.Message
func (*LoginResponse_UserData) Reset ¶
func (x *LoginResponse_UserData) Reset()
func (*LoginResponse_UserData) String ¶
func (x *LoginResponse_UserData) String() string
type LogoutRequest ¶
type LogoutRequest struct { Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"` DeviceId string `protobuf:"bytes,2,opt,name=deviceId,proto3" json:"deviceId,omitempty"` LegacyUserID int64 `protobuf:"varint,3,opt,name=legacyUserID,proto3" json:"legacyUserID,omitempty"` LegacyToken string `protobuf:"bytes,4,opt,name=legacyToken,proto3" json:"legacyToken,omitempty"` // contains filtered or unexported fields }
POST /users/logout
func (*LogoutRequest) Descriptor
deprecated
func (*LogoutRequest) Descriptor() ([]byte, []int)
Deprecated: Use LogoutRequest.ProtoReflect.Descriptor instead.
func (*LogoutRequest) GetDeviceId ¶
func (x *LogoutRequest) GetDeviceId() string
func (*LogoutRequest) GetEmail ¶
func (x *LogoutRequest) GetEmail() string
func (*LogoutRequest) GetLegacyToken ¶
func (x *LogoutRequest) GetLegacyToken() string
func (*LogoutRequest) GetLegacyUserID ¶
func (x *LogoutRequest) GetLegacyUserID() int64
func (*LogoutRequest) ProtoMessage ¶
func (*LogoutRequest) ProtoMessage()
func (*LogoutRequest) ProtoReflect ¶
func (x *LogoutRequest) ProtoReflect() protoreflect.Message
func (*LogoutRequest) Reset ¶
func (x *LogoutRequest) Reset()
func (*LogoutRequest) String ¶
func (x *LogoutRequest) String() string
type PaymentMethod ¶
type PaymentMethod struct { Method string `protobuf:"bytes,1,opt,name=method,proto3" json:"method,omitempty"` Providers []*PaymentProviders `protobuf:"bytes,2,rep,name=providers,proto3" json:"providers,omitempty"` // contains filtered or unexported fields }
func (*PaymentMethod) Descriptor
deprecated
func (*PaymentMethod) Descriptor() ([]byte, []int)
Deprecated: Use PaymentMethod.ProtoReflect.Descriptor instead.
func (*PaymentMethod) GetMethod ¶
func (x *PaymentMethod) GetMethod() string
func (*PaymentMethod) GetProviders ¶
func (x *PaymentMethod) GetProviders() []*PaymentProviders
func (*PaymentMethod) ProtoMessage ¶
func (*PaymentMethod) ProtoMessage()
func (*PaymentMethod) ProtoReflect ¶
func (x *PaymentMethod) ProtoReflect() protoreflect.Message
func (*PaymentMethod) Reset ¶
func (x *PaymentMethod) Reset()
func (*PaymentMethod) String ¶
func (x *PaymentMethod) String() string
type PaymentProviders ¶
type PaymentProviders struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` LogoUrls []string `protobuf:"bytes,3,rep,name=logoUrls,proto3" json:"logoUrls,omitempty"` Data map[string]string `` /* 149-byte string literal not displayed */ // contains filtered or unexported fields }
func (*PaymentProviders) Descriptor
deprecated
func (*PaymentProviders) Descriptor() ([]byte, []int)
Deprecated: Use PaymentProviders.ProtoReflect.Descriptor instead.
func (*PaymentProviders) GetData ¶
func (x *PaymentProviders) GetData() map[string]string
func (*PaymentProviders) GetLogoUrls ¶
func (x *PaymentProviders) GetLogoUrls() []string
func (*PaymentProviders) GetName ¶
func (x *PaymentProviders) GetName() string
func (*PaymentProviders) ProtoMessage ¶
func (*PaymentProviders) ProtoMessage()
func (*PaymentProviders) ProtoReflect ¶
func (x *PaymentProviders) ProtoReflect() protoreflect.Message
func (*PaymentProviders) Reset ¶
func (x *PaymentProviders) Reset()
func (*PaymentProviders) String ¶
func (x *PaymentProviders) String() string
type PaymentRedirectRequest ¶
type PaymentRedirectRequest struct { Plan string `protobuf:"bytes,1,opt,name=plan,proto3" json:"plan,omitempty"` Provider string `protobuf:"bytes,2,opt,name=provider,proto3" json:"provider,omitempty"` Currency string `protobuf:"bytes,3,opt,name=currency,proto3" json:"currency,omitempty"` Email string `protobuf:"bytes,4,opt,name=email,proto3" json:"email,omitempty"` DeviceName string `protobuf:"bytes,5,opt,name=deviceName,proto3" json:"deviceName,omitempty"` CountryCode string `protobuf:"bytes,6,opt,name=countryCode,proto3" json:"countryCode,omitempty"` Locale string `protobuf:"bytes,7,opt,name=locale,proto3" json:"locale,omitempty"` // contains filtered or unexported fields }
func (*PaymentRedirectRequest) Descriptor
deprecated
func (*PaymentRedirectRequest) Descriptor() ([]byte, []int)
Deprecated: Use PaymentRedirectRequest.ProtoReflect.Descriptor instead.
func (*PaymentRedirectRequest) GetCountryCode ¶
func (x *PaymentRedirectRequest) GetCountryCode() string
func (*PaymentRedirectRequest) GetCurrency ¶
func (x *PaymentRedirectRequest) GetCurrency() string
func (*PaymentRedirectRequest) GetDeviceName ¶
func (x *PaymentRedirectRequest) GetDeviceName() string
func (*PaymentRedirectRequest) GetEmail ¶
func (x *PaymentRedirectRequest) GetEmail() string
func (*PaymentRedirectRequest) GetLocale ¶
func (x *PaymentRedirectRequest) GetLocale() string
func (*PaymentRedirectRequest) GetPlan ¶
func (x *PaymentRedirectRequest) GetPlan() string
func (*PaymentRedirectRequest) GetProvider ¶
func (x *PaymentRedirectRequest) GetProvider() string
func (*PaymentRedirectRequest) ProtoMessage ¶
func (*PaymentRedirectRequest) ProtoMessage()
func (*PaymentRedirectRequest) ProtoReflect ¶
func (x *PaymentRedirectRequest) ProtoReflect() protoreflect.Message
func (*PaymentRedirectRequest) Reset ¶
func (x *PaymentRedirectRequest) Reset()
func (*PaymentRedirectRequest) String ¶
func (x *PaymentRedirectRequest) String() string
type PaymentRedirectResponse ¶
type PaymentRedirectResponse struct { Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` ErrorId string `protobuf:"bytes,3,opt,name=errorId,proto3" json:"errorId,omitempty"` Redirect string `protobuf:"bytes,4,opt,name=redirect,proto3" json:"redirect,omitempty"` // contains filtered or unexported fields }
func (*PaymentRedirectResponse) Descriptor
deprecated
func (*PaymentRedirectResponse) Descriptor() ([]byte, []int)
Deprecated: Use PaymentRedirectResponse.ProtoReflect.Descriptor instead.
func (*PaymentRedirectResponse) GetError ¶
func (x *PaymentRedirectResponse) GetError() string
func (*PaymentRedirectResponse) GetErrorId ¶
func (x *PaymentRedirectResponse) GetErrorId() string
func (*PaymentRedirectResponse) GetRedirect ¶
func (x *PaymentRedirectResponse) GetRedirect() string
func (*PaymentRedirectResponse) GetStatus ¶
func (x *PaymentRedirectResponse) GetStatus() string
func (*PaymentRedirectResponse) ProtoMessage ¶
func (*PaymentRedirectResponse) ProtoMessage()
func (*PaymentRedirectResponse) ProtoReflect ¶
func (x *PaymentRedirectResponse) ProtoReflect() protoreflect.Message
func (*PaymentRedirectResponse) Reset ¶
func (x *PaymentRedirectResponse) Reset()
func (*PaymentRedirectResponse) String ¶
func (x *PaymentRedirectResponse) String() string
type Plan ¶
type Plan struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` BestValue bool `protobuf:"varint,3,opt,name=bestValue,proto3" json:"bestValue,omitempty"` UsdPrice int64 `protobuf:"varint,4,opt,name=usdPrice,proto3" json:"usdPrice,omitempty"` Price map[string]int64 `` /* 152-byte string literal not displayed */ ExpectedMonthlyPrice map[string]int64 `` /* 182-byte string literal not displayed */ TotalCostBilledOneTime string `protobuf:"bytes,7,opt,name=totalCostBilledOneTime,proto3" json:"totalCostBilledOneTime,omitempty"` OneMonthCost string `protobuf:"bytes,8,opt,name=oneMonthCost,proto3" json:"oneMonthCost,omitempty"` TotalCost string `protobuf:"bytes,9,opt,name=totalCost,proto3" json:"totalCost,omitempty"` FormattedBonus string `protobuf:"bytes,10,opt,name=formattedBonus,proto3" json:"formattedBonus,omitempty"` RenewalText string `protobuf:"bytes,11,opt,name=renewalText,proto3" json:"renewalText,omitempty"` RenewalBonusExpected map[string]int64 `` /* 183-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Plan) Descriptor
deprecated
func (*Plan) GetBestValue ¶
func (*Plan) GetDescription ¶
func (*Plan) GetExpectedMonthlyPrice ¶
func (*Plan) GetFormattedBonus ¶
func (*Plan) GetOneMonthCost ¶
func (*Plan) GetRenewalBonusExpected ¶
func (*Plan) GetRenewalText ¶
func (*Plan) GetTotalCost ¶
func (*Plan) GetTotalCostBilledOneTime ¶
func (*Plan) GetUsdPrice ¶
func (*Plan) ProtoMessage ¶
func (*Plan) ProtoMessage()
func (*Plan) ProtoReflect ¶
func (x *Plan) ProtoReflect() protoreflect.Message
type Plans ¶
type Plans struct { Plan []*Plan `protobuf:"bytes,1,rep,name=plan,proto3" json:"plan,omitempty"` // contains filtered or unexported fields }
func (*Plans) Descriptor
deprecated
func (*Plans) ProtoMessage ¶
func (*Plans) ProtoMessage()
func (*Plans) ProtoReflect ¶
func (x *Plans) ProtoReflect() protoreflect.Message
type PrepareRequest ¶
type PrepareRequest struct { Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"` A []byte `protobuf:"bytes,2,opt,name=a,proto3" json:"a,omitempty"` // contains filtered or unexported fields }
POST /users/prepare
func (*PrepareRequest) Descriptor
deprecated
func (*PrepareRequest) Descriptor() ([]byte, []int)
Deprecated: Use PrepareRequest.ProtoReflect.Descriptor instead.
func (*PrepareRequest) GetA ¶
func (x *PrepareRequest) GetA() []byte
func (*PrepareRequest) GetEmail ¶
func (x *PrepareRequest) GetEmail() string
func (*PrepareRequest) ProtoMessage ¶
func (*PrepareRequest) ProtoMessage()
func (*PrepareRequest) ProtoReflect ¶
func (x *PrepareRequest) ProtoReflect() protoreflect.Message
func (*PrepareRequest) Reset ¶
func (x *PrepareRequest) Reset()
func (*PrepareRequest) String ¶
func (x *PrepareRequest) String() string
type PrepareResponse ¶
type PrepareResponse struct { B []byte `protobuf:"bytes,1,opt,name=b,proto3" json:"b,omitempty"` Proof []byte `protobuf:"bytes,2,opt,name=proof,proto3" json:"proof,omitempty"` // contains filtered or unexported fields }
func (*PrepareResponse) Descriptor
deprecated
func (*PrepareResponse) Descriptor() ([]byte, []int)
Deprecated: Use PrepareResponse.ProtoReflect.Descriptor instead.
func (*PrepareResponse) GetB ¶
func (x *PrepareResponse) GetB() []byte
func (*PrepareResponse) GetProof ¶
func (x *PrepareResponse) GetProof() []byte
func (*PrepareResponse) ProtoMessage ¶
func (*PrepareResponse) ProtoMessage()
func (*PrepareResponse) ProtoReflect ¶
func (x *PrepareResponse) ProtoReflect() protoreflect.Message
func (*PrepareResponse) Reset ¶
func (x *PrepareResponse) Reset()
func (*PrepareResponse) String ¶
func (x *PrepareResponse) String() string
type Purchase ¶
type Purchase struct { Plan string `protobuf:"bytes,1,opt,name=plan,proto3" json:"plan,omitempty"` // contains filtered or unexported fields }
func (*Purchase) Descriptor
deprecated
func (*Purchase) ProtoMessage ¶
func (*Purchase) ProtoMessage()
func (*Purchase) ProtoReflect ¶
func (x *Purchase) ProtoReflect() protoreflect.Message
type RedeemResellerCodeRequest ¶
type RedeemResellerCodeRequest struct { Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"` ResellerCode string `protobuf:"bytes,2,opt,name=resellerCode,proto3" json:"resellerCode,omitempty"` DeviceName string `protobuf:"bytes,3,opt,name=deviceName,proto3" json:"deviceName,omitempty"` Currency string `protobuf:"bytes,4,opt,name=currency,proto3" json:"currency,omitempty"` IdempotencyKey string `protobuf:"bytes,5,opt,name=idempotencyKey,proto3" json:"idempotencyKey,omitempty"` Provider string `protobuf:"bytes,6,opt,name=provider,proto3" json:"provider,omitempty"` // contains filtered or unexported fields }
func (*RedeemResellerCodeRequest) Descriptor
deprecated
func (*RedeemResellerCodeRequest) Descriptor() ([]byte, []int)
Deprecated: Use RedeemResellerCodeRequest.ProtoReflect.Descriptor instead.
func (*RedeemResellerCodeRequest) GetCurrency ¶
func (x *RedeemResellerCodeRequest) GetCurrency() string
func (*RedeemResellerCodeRequest) GetDeviceName ¶
func (x *RedeemResellerCodeRequest) GetDeviceName() string
func (*RedeemResellerCodeRequest) GetEmail ¶
func (x *RedeemResellerCodeRequest) GetEmail() string
func (*RedeemResellerCodeRequest) GetIdempotencyKey ¶
func (x *RedeemResellerCodeRequest) GetIdempotencyKey() string
func (*RedeemResellerCodeRequest) GetProvider ¶
func (x *RedeemResellerCodeRequest) GetProvider() string
func (*RedeemResellerCodeRequest) GetResellerCode ¶
func (x *RedeemResellerCodeRequest) GetResellerCode() string
func (*RedeemResellerCodeRequest) ProtoMessage ¶
func (*RedeemResellerCodeRequest) ProtoMessage()
func (*RedeemResellerCodeRequest) ProtoReflect ¶
func (x *RedeemResellerCodeRequest) ProtoReflect() protoreflect.Message
func (*RedeemResellerCodeRequest) Reset ¶
func (x *RedeemResellerCodeRequest) Reset()
func (*RedeemResellerCodeRequest) String ¶
func (x *RedeemResellerCodeRequest) String() string
type ServerInfo ¶
type ServerInfo struct { City string `protobuf:"bytes,1,opt,name=city,proto3" json:"city,omitempty"` Country string `protobuf:"bytes,2,opt,name=country,proto3" json:"country,omitempty"` CountryCode string `protobuf:"bytes,3,opt,name=countryCode,proto3" json:"countryCode,omitempty"` // contains filtered or unexported fields }
func (*ServerInfo) Descriptor
deprecated
func (*ServerInfo) Descriptor() ([]byte, []int)
Deprecated: Use ServerInfo.ProtoReflect.Descriptor instead.
func (*ServerInfo) GetCity ¶
func (x *ServerInfo) GetCity() string
func (*ServerInfo) GetCountry ¶
func (x *ServerInfo) GetCountry() string
func (*ServerInfo) GetCountryCode ¶
func (x *ServerInfo) GetCountryCode() string
func (*ServerInfo) ProtoMessage ¶
func (*ServerInfo) ProtoMessage()
func (*ServerInfo) ProtoReflect ¶
func (x *ServerInfo) ProtoReflect() protoreflect.Message
func (*ServerInfo) Reset ¶
func (x *ServerInfo) Reset()
func (*ServerInfo) String ¶
func (x *ServerInfo) String() string
type SignupEmailResendRequest ¶
type SignupEmailResendRequest struct { Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"` Salt []byte `protobuf:"bytes,2,opt,name=salt,proto3" json:"salt,omitempty"` // contains filtered or unexported fields }
POST /users/signup/resend/email
func (*SignupEmailResendRequest) Descriptor
deprecated
func (*SignupEmailResendRequest) Descriptor() ([]byte, []int)
Deprecated: Use SignupEmailResendRequest.ProtoReflect.Descriptor instead.
func (*SignupEmailResendRequest) GetEmail ¶
func (x *SignupEmailResendRequest) GetEmail() string
func (*SignupEmailResendRequest) GetSalt ¶
func (x *SignupEmailResendRequest) GetSalt() []byte
func (*SignupEmailResendRequest) ProtoMessage ¶
func (*SignupEmailResendRequest) ProtoMessage()
func (*SignupEmailResendRequest) ProtoReflect ¶
func (x *SignupEmailResendRequest) ProtoReflect() protoreflect.Message
func (*SignupEmailResendRequest) Reset ¶
func (x *SignupEmailResendRequest) Reset()
func (*SignupEmailResendRequest) String ¶
func (x *SignupEmailResendRequest) String() string
type SignupRequest ¶
type SignupRequest struct { Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"` Salt []byte `protobuf:"bytes,2,opt,name=salt,proto3" json:"salt,omitempty"` Verifier []byte `protobuf:"bytes,3,opt,name=verifier,proto3" json:"verifier,omitempty"` SkipEmailConfirmation bool `` /* 127-byte string literal not displayed */ // contains filtered or unexported fields }
POST /users/signup
func (*SignupRequest) Descriptor
deprecated
func (*SignupRequest) Descriptor() ([]byte, []int)
Deprecated: Use SignupRequest.ProtoReflect.Descriptor instead.
func (*SignupRequest) GetEmail ¶
func (x *SignupRequest) GetEmail() string
func (*SignupRequest) GetSalt ¶
func (x *SignupRequest) GetSalt() []byte
func (*SignupRequest) GetSkipEmailConfirmation ¶
func (x *SignupRequest) GetSkipEmailConfirmation() bool
func (*SignupRequest) GetVerifier ¶
func (x *SignupRequest) GetVerifier() []byte
func (*SignupRequest) ProtoMessage ¶
func (*SignupRequest) ProtoMessage()
func (*SignupRequest) ProtoReflect ¶
func (x *SignupRequest) ProtoReflect() protoreflect.Message
func (*SignupRequest) Reset ¶
func (x *SignupRequest) Reset()
func (*SignupRequest) String ¶
func (x *SignupRequest) String() string
type StartRecoveryByEmailRequest ¶
type StartRecoveryByEmailRequest struct { Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"` // contains filtered or unexported fields }
POST /users/recovery/start/email
func (*StartRecoveryByEmailRequest) Descriptor
deprecated
func (*StartRecoveryByEmailRequest) Descriptor() ([]byte, []int)
Deprecated: Use StartRecoveryByEmailRequest.ProtoReflect.Descriptor instead.
func (*StartRecoveryByEmailRequest) GetEmail ¶
func (x *StartRecoveryByEmailRequest) GetEmail() string
func (*StartRecoveryByEmailRequest) ProtoMessage ¶
func (*StartRecoveryByEmailRequest) ProtoMessage()
func (*StartRecoveryByEmailRequest) ProtoReflect ¶
func (x *StartRecoveryByEmailRequest) ProtoReflect() protoreflect.Message
func (*StartRecoveryByEmailRequest) Reset ¶
func (x *StartRecoveryByEmailRequest) Reset()
func (*StartRecoveryByEmailRequest) String ¶
func (x *StartRecoveryByEmailRequest) String() string
type User ¶
type User struct { UserId int64 `protobuf:"varint,1,opt,name=userId,proto3" json:"userId,omitempty"` Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"` Telephone string `protobuf:"bytes,3,opt,name=telephone,proto3" json:"telephone,omitempty"` UserStatus string `protobuf:"bytes,4,opt,name=userStatus,proto3" json:"userStatus,omitempty"` UserLevel string `protobuf:"bytes,5,opt,name=userLevel,proto3" json:"userLevel,omitempty"` Locale string `protobuf:"bytes,6,opt,name=locale,proto3" json:"locale,omitempty"` Expiration int64 `protobuf:"varint,7,opt,name=expiration,proto3" json:"expiration,omitempty"` Devices []*Device `protobuf:"bytes,8,rep,name=devices,proto3" json:"devices,omitempty"` Code string `protobuf:"bytes,9,opt,name=code,proto3" json:"code,omitempty"` ExpireAt int64 `protobuf:"varint,10,opt,name=expireAt,proto3" json:"expireAt,omitempty"` Referral string `protobuf:"bytes,11,opt,name=referral,proto3" json:"referral,omitempty"` Token string `protobuf:"bytes,12,opt,name=token,proto3" json:"token,omitempty"` YinbiEnabled bool `protobuf:"varint,13,opt,name=yinbiEnabled,proto3" json:"yinbiEnabled,omitempty"` Inviters []string `protobuf:"bytes,14,rep,name=inviters,proto3" json:"inviters,omitempty"` Invitees []string `protobuf:"bytes,15,rep,name=invitees,proto3" json:"invitees,omitempty"` Purchases []*Purchase `protobuf:"bytes,16,rep,name=purchases,proto3" json:"purchases,omitempty"` // contains filtered or unexported fields }
func (*User) Descriptor
deprecated
func (*User) GetDevices ¶
func (*User) GetExpiration ¶
func (*User) GetExpireAt ¶
func (*User) GetInvitees ¶
func (*User) GetInviters ¶
func (*User) GetPurchases ¶
func (*User) GetReferral ¶
func (*User) GetTelephone ¶
func (*User) GetUserLevel ¶
func (*User) GetUserStatus ¶
func (*User) GetYinbiEnabled ¶
func (*User) ProtoMessage ¶
func (*User) ProtoMessage()
func (*User) ProtoReflect ¶
func (x *User) ProtoReflect() protoreflect.Message
type ValidateRecoveryCodeRequest ¶
type ValidateRecoveryCodeRequest struct { Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"` Code string `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"` // contains filtered or unexported fields }
POST /users/recovery/validate/email
func (*ValidateRecoveryCodeRequest) Descriptor
deprecated
func (*ValidateRecoveryCodeRequest) Descriptor() ([]byte, []int)
Deprecated: Use ValidateRecoveryCodeRequest.ProtoReflect.Descriptor instead.
func (*ValidateRecoveryCodeRequest) GetCode ¶
func (x *ValidateRecoveryCodeRequest) GetCode() string
func (*ValidateRecoveryCodeRequest) GetEmail ¶
func (x *ValidateRecoveryCodeRequest) GetEmail() string
func (*ValidateRecoveryCodeRequest) ProtoMessage ¶
func (*ValidateRecoveryCodeRequest) ProtoMessage()
func (*ValidateRecoveryCodeRequest) ProtoReflect ¶
func (x *ValidateRecoveryCodeRequest) ProtoReflect() protoreflect.Message
func (*ValidateRecoveryCodeRequest) Reset ¶
func (x *ValidateRecoveryCodeRequest) Reset()
func (*ValidateRecoveryCodeRequest) String ¶
func (x *ValidateRecoveryCodeRequest) String() string
type ValidateRecoveryCodeResponse ¶
type ValidateRecoveryCodeResponse struct { Valid bool `protobuf:"varint,1,opt,name=valid,proto3" json:"valid,omitempty"` // contains filtered or unexported fields }
func (*ValidateRecoveryCodeResponse) Descriptor
deprecated
func (*ValidateRecoveryCodeResponse) Descriptor() ([]byte, []int)
Deprecated: Use ValidateRecoveryCodeResponse.ProtoReflect.Descriptor instead.
func (*ValidateRecoveryCodeResponse) GetValid ¶
func (x *ValidateRecoveryCodeResponse) GetValid() bool
func (*ValidateRecoveryCodeResponse) ProtoMessage ¶
func (*ValidateRecoveryCodeResponse) ProtoMessage()
func (*ValidateRecoveryCodeResponse) ProtoReflect ¶
func (x *ValidateRecoveryCodeResponse) ProtoReflect() protoreflect.Message
func (*ValidateRecoveryCodeResponse) Reset ¶
func (x *ValidateRecoveryCodeResponse) Reset()
func (*ValidateRecoveryCodeResponse) String ¶
func (x *ValidateRecoveryCodeResponse) String() string