Help us shape the future of Go! Take the 2026 Go Developer Survey

protos

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 10, 2025 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_api_protos_auth_proto protoreflect.FileDescriptor
View Source
var File_api_protos_subscription_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

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 (*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 (*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 (*CompleteRecoveryByEmailRequest) Reset

func (x *CompleteRecoveryByEmailRequest) Reset()

func (*CompleteRecoveryByEmailRequest) 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"`
	Token     string `protobuf:"bytes,5,opt,name=token,proto3" json:"token,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) GetToken

func (x *DeleteUserRequest) GetToken() string

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 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 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"`
	// the new jwt token for the user
	Token string `protobuf:"bytes,8,opt,name=token,proto3" json:"token,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) GetToken

func (x *LoginResponse) GetToken() string

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"`
	// Deprecated: Marked as deprecated in api/protos/auth.proto.
	Phone        string   `protobuf:"bytes,5,opt,name=phone,proto3" json:"phone,omitempty"` // not used anymore
	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"`
	// repeated string purchases = 13;
	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"`
	SubscriptionData *LoginResponse_UserData_SubscriptionData `protobuf:"bytes,20,opt,name=subscriptionData,proto3" json:"subscriptionData,omitempty"`
	DeviceID         string                                   `protobuf:"bytes,21,opt,name=deviceID,proto3" json:"deviceID,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) GetDeviceID

func (x *LoginResponse_UserData) GetDeviceID() 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 deprecated

func (x *LoginResponse_UserData) GetPhone() string

Deprecated: Marked as deprecated in api/protos/auth.proto.

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) GetSubscriptionData

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 LoginResponse_UserData_SubscriptionData

type LoginResponse_UserData_SubscriptionData struct {
	SubscriptionID     string `protobuf:"bytes,1,opt,name=subscriptionID,proto3" json:"subscriptionID,omitempty"`
	PlanID             string `protobuf:"bytes,2,opt,name=planID,proto3" json:"planID,omitempty"`
	StripeCustomerID   string `protobuf:"bytes,3,opt,name=stripeCustomerID,proto3" json:"stripeCustomerID,omitempty"`
	Status             string `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"`
	CancellationReason string `protobuf:"bytes,5,opt,name=cancellationReason,proto3" json:"cancellationReason,omitempty"`
	CreatedAt          int64  `protobuf:"varint,6,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
	StartAt            int64  `protobuf:"varint,7,opt,name=startAt,proto3" json:"startAt,omitempty"`
	EndAt              int64  `protobuf:"varint,8,opt,name=endAt,proto3" json:"endAt,omitempty"`
	CancelledAt        int64  `protobuf:"varint,9,opt,name=cancelledAt,proto3" json:"cancelledAt,omitempty"`
	AutoRenew          bool   `protobuf:"varint,10,opt,name=autoRenew,proto3" json:"autoRenew,omitempty"`
	Provider           string `protobuf:"bytes,11,opt,name=provider,proto3" json:"provider,omitempty"`
	// contains filtered or unexported fields
}

func (*LoginResponse_UserData_SubscriptionData) Descriptor deprecated

func (*LoginResponse_UserData_SubscriptionData) Descriptor() ([]byte, []int)

Deprecated: Use LoginResponse_UserData_SubscriptionData.ProtoReflect.Descriptor instead.

func (*LoginResponse_UserData_SubscriptionData) GetAutoRenew

func (*LoginResponse_UserData_SubscriptionData) GetCancellationReason

func (x *LoginResponse_UserData_SubscriptionData) GetCancellationReason() string

func (*LoginResponse_UserData_SubscriptionData) GetCancelledAt

func (x *LoginResponse_UserData_SubscriptionData) GetCancelledAt() int64

func (*LoginResponse_UserData_SubscriptionData) GetCreatedAt

func (*LoginResponse_UserData_SubscriptionData) GetEndAt

func (*LoginResponse_UserData_SubscriptionData) GetPlanID

func (*LoginResponse_UserData_SubscriptionData) GetProvider

func (*LoginResponse_UserData_SubscriptionData) GetStartAt

func (*LoginResponse_UserData_SubscriptionData) GetStatus

func (*LoginResponse_UserData_SubscriptionData) GetStripeCustomerID

func (x *LoginResponse_UserData_SubscriptionData) GetStripeCustomerID() string

func (*LoginResponse_UserData_SubscriptionData) GetSubscriptionID

func (x *LoginResponse_UserData_SubscriptionData) GetSubscriptionID() string

func (*LoginResponse_UserData_SubscriptionData) ProtoMessage

func (*LoginResponse_UserData_SubscriptionData) ProtoReflect

func (*LoginResponse_UserData_SubscriptionData) Reset

func (*LoginResponse_UserData_SubscriptionData) 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"`
	Token        string `protobuf:"bytes,5,opt,name=token,proto3" json:"token,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) GetToken

func (x *LogoutRequest) GetToken() string

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"`
	Provider *PaymentProviders `protobuf:"bytes,2,opt,name=provider,proto3" json:"provider,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) GetProvider

func (x *PaymentMethod) GetProvider() *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"`
	Icons                []string          `protobuf:"bytes,3,rep,name=icons,proto3" json:"icons,omitempty"`
	Data                 map[string]string `` /* 135-byte string literal not displayed */
	SupportsSubscription bool              `protobuf:"varint,2,opt,name=supportsSubscription,proto3" json:"supportsSubscription,omitempty"`
	// 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) GetIcons

func (x *PaymentProviders) GetIcons() []string

func (*PaymentProviders) GetName

func (x *PaymentProviders) GetName() string

func (*PaymentProviders) GetSupportsSubscription

func (x *PaymentProviders) GetSupportsSubscription() bool

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 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 `` /* 138-byte string literal not displayed */
	ExpectedMonthlyPrice   map[string]int64 `` /* 168-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 `` /* 169-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Plan) Descriptor deprecated

func (*Plan) Descriptor() ([]byte, []int)

Deprecated: Use Plan.ProtoReflect.Descriptor instead.

func (*Plan) GetBestValue

func (x *Plan) GetBestValue() bool

func (*Plan) GetDescription

func (x *Plan) GetDescription() string

func (*Plan) GetExpectedMonthlyPrice

func (x *Plan) GetExpectedMonthlyPrice() map[string]int64

func (*Plan) GetFormattedBonus

func (x *Plan) GetFormattedBonus() string

func (*Plan) GetId

func (x *Plan) GetId() string

func (*Plan) GetOneMonthCost

func (x *Plan) GetOneMonthCost() string

func (*Plan) GetPrice

func (x *Plan) GetPrice() map[string]int64

func (*Plan) GetRenewalBonusExpected

func (x *Plan) GetRenewalBonusExpected() map[string]int64

func (*Plan) GetRenewalText

func (x *Plan) GetRenewalText() string

func (*Plan) GetTotalCost

func (x *Plan) GetTotalCost() string

func (*Plan) GetTotalCostBilledOneTime

func (x *Plan) GetTotalCostBilledOneTime() string

func (*Plan) GetUsdPrice

func (x *Plan) GetUsdPrice() int64

func (*Plan) ProtoMessage

func (*Plan) ProtoMessage()

func (*Plan) ProtoReflect

func (x *Plan) ProtoReflect() protoreflect.Message

func (*Plan) Reset

func (x *Plan) Reset()

func (*Plan) String

func (x *Plan) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Purchase.ProtoReflect.Descriptor instead.

func (*Purchase) GetPlan

func (x *Purchase) GetPlan() string

func (*Purchase) ProtoMessage

func (*Purchase) ProtoMessage()

func (*Purchase) ProtoReflect

func (x *Purchase) ProtoReflect() protoreflect.Message

func (*Purchase) Reset

func (x *Purchase) Reset()

func (*Purchase) String

func (x *Purchase) 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 */
	// If true, creates a temporary user account that has not yet been confirmed.
	// A subsequent signup request for the same email will replace this temporary user.
	// The user becomes permanent upon actions like email confirmation or password recovery.
	Temp bool `protobuf:"varint,5,opt,name=temp,proto3" json:"temp,omitempty"`
	// 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) GetTemp

func (x *SignupRequest) GetTemp() 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 (*StartRecoveryByEmailRequest) Reset

func (x *StartRecoveryByEmailRequest) Reset()

func (*StartRecoveryByEmailRequest) String

func (x *StartRecoveryByEmailRequest) String() string

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 (*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 (*ValidateRecoveryCodeResponse) Reset

func (x *ValidateRecoveryCodeResponse) Reset()

func (*ValidateRecoveryCodeResponse) String

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL