apiv2

package
v0.0.0-...-5fb484b Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2025 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ApiService_Register_FullMethodName                 = "/api.v2.ApiService/Register"
	ApiService_Login_FullMethodName                    = "/api.v2.ApiService/Login"
	ApiService_GetUserData_FullMethodName              = "/api.v2.ApiService/GetUserData"
	ApiService_UpdateUserData_FullMethodName           = "/api.v2.ApiService/UpdateUserData"
	ApiService_ForgotPassword_FullMethodName           = "/api.v2.ApiService/ForgotPassword"
	ApiService_ResetPassword_FullMethodName            = "/api.v2.ApiService/ResetPassword"
	ApiService_SetDiscordConnectionData_FullMethodName = "/api.v2.ApiService/SetDiscordConnectionData"
	ApiService_SetStripeConnectionData_FullMethodName  = "/api.v2.ApiService/SetStripeConnectionData"
)

Variables

View Source
var ApiService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "api.v2.ApiService",
	HandlerType: (*ApiServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Register",
			Handler:    _ApiService_Register_Handler,
		},
		{
			MethodName: "Login",
			Handler:    _ApiService_Login_Handler,
		},
		{
			MethodName: "GetUserData",
			Handler:    _ApiService_GetUserData_Handler,
		},
		{
			MethodName: "UpdateUserData",
			Handler:    _ApiService_UpdateUserData_Handler,
		},
		{
			MethodName: "ForgotPassword",
			Handler:    _ApiService_ForgotPassword_Handler,
		},
		{
			MethodName: "ResetPassword",
			Handler:    _ApiService_ResetPassword_Handler,
		},
		{
			MethodName: "SetDiscordConnectionData",
			Handler:    _ApiService_SetDiscordConnectionData_Handler,
		},
		{
			MethodName: "SetStripeConnectionData",
			Handler:    _ApiService_SetStripeConnectionData_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "api/v2/api_service.proto",
}

ApiService_ServiceDesc is the grpc.ServiceDesc for ApiService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var File_api_v2_api_service_proto protoreflect.FileDescriptor
View Source
var File_api_v2_forgot_password_rpc_proto protoreflect.FileDescriptor
View Source
var File_api_v2_get_user_data_rpc_proto protoreflect.FileDescriptor
View Source
var File_api_v2_login_rpc_proto protoreflect.FileDescriptor
View Source
var File_api_v2_mii_proto protoreflect.FileDescriptor
View Source
var File_api_v2_register_rpc_proto protoreflect.FileDescriptor
View Source
var File_api_v2_reset_password_rpc_proto protoreflect.FileDescriptor
View Source
var File_api_v2_set_discord_connection_data_rpc_proto protoreflect.FileDescriptor
View Source
var File_api_v2_set_stripe_connection_data_rpc_proto protoreflect.FileDescriptor
View Source
var File_api_v2_update_user_data_rpc_proto protoreflect.FileDescriptor
View Source
var File_api_v2_user_connections_proto protoreflect.FileDescriptor

Functions

func RegisterApiServiceServer

func RegisterApiServiceServer(s grpc.ServiceRegistrar, srv ApiServiceServer)

Types

type ApiServiceClient

ApiServiceClient is the client API for ApiService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewApiServiceClient

func NewApiServiceClient(cc grpc.ClientConnInterface) ApiServiceClient

type ApiServiceServer

ApiServiceServer is the server API for ApiService service. All implementations must embed UnimplementedApiServiceServer for forward compatibility.

type DiscordConnection

type DiscordConnection struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*DiscordConnection) Descriptor deprecated

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

Deprecated: Use DiscordConnection.ProtoReflect.Descriptor instead.

func (*DiscordConnection) GetId

func (x *DiscordConnection) GetId() string

func (*DiscordConnection) ProtoMessage

func (*DiscordConnection) ProtoMessage()

func (*DiscordConnection) ProtoReflect

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

func (*DiscordConnection) Reset

func (x *DiscordConnection) Reset()

func (*DiscordConnection) String

func (x *DiscordConnection) String() string

type ForgotPasswordRequest

type ForgotPasswordRequest struct {
	EmailAddressOrUsername string `` /* 131-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ForgotPasswordRequest) Descriptor deprecated

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

Deprecated: Use ForgotPasswordRequest.ProtoReflect.Descriptor instead.

func (*ForgotPasswordRequest) GetEmailAddressOrUsername

func (x *ForgotPasswordRequest) GetEmailAddressOrUsername() string

func (*ForgotPasswordRequest) ProtoMessage

func (*ForgotPasswordRequest) ProtoMessage()

func (*ForgotPasswordRequest) ProtoReflect

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

func (*ForgotPasswordRequest) Reset

func (x *ForgotPasswordRequest) Reset()

func (*ForgotPasswordRequest) String

func (x *ForgotPasswordRequest) String() string

type ForgotPasswordResponse

type ForgotPasswordResponse struct {
	// contains filtered or unexported fields
}

func (*ForgotPasswordResponse) Descriptor deprecated

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

Deprecated: Use ForgotPasswordResponse.ProtoReflect.Descriptor instead.

func (*ForgotPasswordResponse) ProtoMessage

func (*ForgotPasswordResponse) ProtoMessage()

func (*ForgotPasswordResponse) ProtoReflect

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

func (*ForgotPasswordResponse) Reset

func (x *ForgotPasswordResponse) Reset()

func (*ForgotPasswordResponse) String

func (x *ForgotPasswordResponse) String() string

type GetUserDataRequest

type GetUserDataRequest struct {
	// contains filtered or unexported fields
}

func (*GetUserDataRequest) Descriptor deprecated

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

Deprecated: Use GetUserDataRequest.ProtoReflect.Descriptor instead.

func (*GetUserDataRequest) ProtoMessage

func (*GetUserDataRequest) ProtoMessage()

func (*GetUserDataRequest) ProtoReflect

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

func (*GetUserDataRequest) Reset

func (x *GetUserDataRequest) Reset()

func (*GetUserDataRequest) String

func (x *GetUserDataRequest) String() string

type GetUserDataResponse

type GetUserDataResponse struct {
	Deleted           bool             `protobuf:"varint,1,opt,name=deleted,proto3" json:"deleted,omitempty"`
	CreationDate      string           `protobuf:"bytes,2,opt,name=creation_date,json=creationDate,proto3" json:"creation_date,omitempty"`
	UpdatedDate       string           `protobuf:"bytes,3,opt,name=updated_date,json=updatedDate,proto3" json:"updated_date,omitempty"`
	Pid               uint32           `protobuf:"varint,4,opt,name=pid,proto3" json:"pid,omitempty"`
	Username          string           `protobuf:"bytes,5,opt,name=username,proto3" json:"username,omitempty"`
	AccessLevel       int32            `protobuf:"varint,6,opt,name=access_level,json=accessLevel,proto3" json:"access_level,omitempty"`
	ServerAccessLevel string           `protobuf:"bytes,7,opt,name=server_access_level,json=serverAccessLevel,proto3" json:"server_access_level,omitempty"`
	Mii               *Mii             `protobuf:"bytes,8,opt,name=mii,proto3" json:"mii,omitempty"`
	Birthday          string           `protobuf:"bytes,9,opt,name=birthday,proto3" json:"birthday,omitempty"`
	Gender            string           `protobuf:"bytes,10,opt,name=gender,proto3" json:"gender,omitempty"`
	Country           string           `protobuf:"bytes,11,opt,name=country,proto3" json:"country,omitempty"`
	Timezone          string           `protobuf:"bytes,12,opt,name=timezone,proto3" json:"timezone,omitempty"`
	Language          string           `protobuf:"bytes,13,opt,name=language,proto3" json:"language,omitempty"`
	EmailAddress      string           `protobuf:"bytes,14,opt,name=email_address,json=emailAddress,proto3" json:"email_address,omitempty"`
	Connections       *UserConnections `protobuf:"bytes,15,opt,name=connections,proto3" json:"connections,omitempty"`
	MarketingFlag     bool             `protobuf:"varint,16,opt,name=marketing_flag,json=marketingFlag,proto3" json:"marketing_flag,omitempty"`
	// contains filtered or unexported fields
}

func (*GetUserDataResponse) Descriptor deprecated

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

Deprecated: Use GetUserDataResponse.ProtoReflect.Descriptor instead.

func (*GetUserDataResponse) GetAccessLevel

func (x *GetUserDataResponse) GetAccessLevel() int32

func (*GetUserDataResponse) GetBirthday

func (x *GetUserDataResponse) GetBirthday() string

func (*GetUserDataResponse) GetConnections

func (x *GetUserDataResponse) GetConnections() *UserConnections

func (*GetUserDataResponse) GetCountry

func (x *GetUserDataResponse) GetCountry() string

func (*GetUserDataResponse) GetCreationDate

func (x *GetUserDataResponse) GetCreationDate() string

func (*GetUserDataResponse) GetDeleted

func (x *GetUserDataResponse) GetDeleted() bool

func (*GetUserDataResponse) GetEmailAddress

func (x *GetUserDataResponse) GetEmailAddress() string

func (*GetUserDataResponse) GetGender

func (x *GetUserDataResponse) GetGender() string

func (*GetUserDataResponse) GetLanguage

func (x *GetUserDataResponse) GetLanguage() string

func (*GetUserDataResponse) GetMarketingFlag

func (x *GetUserDataResponse) GetMarketingFlag() bool

func (*GetUserDataResponse) GetMii

func (x *GetUserDataResponse) GetMii() *Mii

func (*GetUserDataResponse) GetPid

func (x *GetUserDataResponse) GetPid() uint32

func (*GetUserDataResponse) GetServerAccessLevel

func (x *GetUserDataResponse) GetServerAccessLevel() string

func (*GetUserDataResponse) GetTimezone

func (x *GetUserDataResponse) GetTimezone() string

func (*GetUserDataResponse) GetUpdatedDate

func (x *GetUserDataResponse) GetUpdatedDate() string

func (*GetUserDataResponse) GetUsername

func (x *GetUserDataResponse) GetUsername() string

func (*GetUserDataResponse) ProtoMessage

func (*GetUserDataResponse) ProtoMessage()

func (*GetUserDataResponse) ProtoReflect

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

func (*GetUserDataResponse) Reset

func (x *GetUserDataResponse) Reset()

func (*GetUserDataResponse) String

func (x *GetUserDataResponse) String() string

type LoginRequest

type LoginRequest struct {
	GrantType    string  `protobuf:"bytes,1,opt,name=grant_type,json=grantType,proto3" json:"grant_type,omitempty"`
	Username     *string `protobuf:"bytes,2,opt,name=username,proto3,oneof" json:"username,omitempty"`
	Password     *string `protobuf:"bytes,3,opt,name=password,proto3,oneof" json:"password,omitempty"`
	RefreshToken *string `protobuf:"bytes,4,opt,name=refresh_token,json=refreshToken,proto3,oneof" json:"refresh_token,omitempty"`
	// contains filtered or unexported fields
}

func (*LoginRequest) Descriptor deprecated

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

Deprecated: Use LoginRequest.ProtoReflect.Descriptor instead.

func (*LoginRequest) GetGrantType

func (x *LoginRequest) GetGrantType() string

func (*LoginRequest) GetPassword

func (x *LoginRequest) GetPassword() string

func (*LoginRequest) GetRefreshToken

func (x *LoginRequest) GetRefreshToken() string

func (*LoginRequest) GetUsername

func (x *LoginRequest) GetUsername() string

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 {
	ExpiresIn    uint32 `protobuf:"varint,1,opt,name=expires_in,json=expiresIn,proto3" json:"expires_in,omitempty"`
	TokenType    string `protobuf:"bytes,2,opt,name=token_type,json=tokenType,proto3" json:"token_type,omitempty"`
	AccessToken  string `protobuf:"bytes,3,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"`
	RefreshToken string `protobuf:"bytes,4,opt,name=refresh_token,json=refreshToken,proto3" json:"refresh_token,omitempty"`
	// contains filtered or unexported fields
}

func (*LoginResponse) Descriptor deprecated

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

Deprecated: Use LoginResponse.ProtoReflect.Descriptor instead.

func (*LoginResponse) GetAccessToken

func (x *LoginResponse) GetAccessToken() string

func (*LoginResponse) GetExpiresIn

func (x *LoginResponse) GetExpiresIn() uint32

func (*LoginResponse) GetRefreshToken

func (x *LoginResponse) GetRefreshToken() string

func (*LoginResponse) GetTokenType

func (x *LoginResponse) GetTokenType() 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 Mii

type Mii struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Data string `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
	Url  string `protobuf:"bytes,3,opt,name=url,proto3" json:"url,omitempty"`
	// contains filtered or unexported fields
}

func (*Mii) Descriptor deprecated

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

Deprecated: Use Mii.ProtoReflect.Descriptor instead.

func (*Mii) GetData

func (x *Mii) GetData() string

func (*Mii) GetName

func (x *Mii) GetName() string

func (*Mii) GetUrl

func (x *Mii) GetUrl() string

func (*Mii) ProtoMessage

func (*Mii) ProtoMessage()

func (*Mii) ProtoReflect

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

func (*Mii) Reset

func (x *Mii) Reset()

func (*Mii) String

func (x *Mii) String() string

type RegisterRequest

type RegisterRequest struct {
	Email           string  `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
	Username        string  `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
	MiiName         string  `protobuf:"bytes,3,opt,name=mii_name,json=miiName,proto3" json:"mii_name,omitempty"`
	Password        string  `protobuf:"bytes,4,opt,name=password,proto3" json:"password,omitempty"`
	PasswordConfirm string  `protobuf:"bytes,5,opt,name=password_confirm,json=passwordConfirm,proto3" json:"password_confirm,omitempty"`
	CaptchaResponse *string `protobuf:"bytes,6,opt,name=captcha_response,json=captchaResponse,proto3,oneof" json:"captcha_response,omitempty"`
	// contains filtered or unexported fields
}

func (*RegisterRequest) Descriptor deprecated

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

Deprecated: Use RegisterRequest.ProtoReflect.Descriptor instead.

func (*RegisterRequest) GetCaptchaResponse

func (x *RegisterRequest) GetCaptchaResponse() string

func (*RegisterRequest) GetEmail

func (x *RegisterRequest) GetEmail() string

func (*RegisterRequest) GetMiiName

func (x *RegisterRequest) GetMiiName() string

func (*RegisterRequest) GetPassword

func (x *RegisterRequest) GetPassword() string

func (*RegisterRequest) GetPasswordConfirm

func (x *RegisterRequest) GetPasswordConfirm() string

func (*RegisterRequest) GetUsername

func (x *RegisterRequest) GetUsername() string

func (*RegisterRequest) ProtoMessage

func (*RegisterRequest) ProtoMessage()

func (*RegisterRequest) ProtoReflect

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

func (*RegisterRequest) Reset

func (x *RegisterRequest) Reset()

func (*RegisterRequest) String

func (x *RegisterRequest) String() string

type RegisterResponse

type RegisterResponse struct {
	ExpiresIn    uint32 `protobuf:"varint,1,opt,name=expires_in,json=expiresIn,proto3" json:"expires_in,omitempty"`
	TokenType    string `protobuf:"bytes,2,opt,name=token_type,json=tokenType,proto3" json:"token_type,omitempty"`
	AccessToken  string `protobuf:"bytes,3,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"`
	RefreshToken string `protobuf:"bytes,4,opt,name=refresh_token,json=refreshToken,proto3" json:"refresh_token,omitempty"`
	// contains filtered or unexported fields
}

func (*RegisterResponse) Descriptor deprecated

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

Deprecated: Use RegisterResponse.ProtoReflect.Descriptor instead.

func (*RegisterResponse) GetAccessToken

func (x *RegisterResponse) GetAccessToken() string

func (*RegisterResponse) GetExpiresIn

func (x *RegisterResponse) GetExpiresIn() uint32

func (*RegisterResponse) GetRefreshToken

func (x *RegisterResponse) GetRefreshToken() string

func (*RegisterResponse) GetTokenType

func (x *RegisterResponse) GetTokenType() string

func (*RegisterResponse) ProtoMessage

func (*RegisterResponse) ProtoMessage()

func (*RegisterResponse) ProtoReflect

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

func (*RegisterResponse) Reset

func (x *RegisterResponse) Reset()

func (*RegisterResponse) String

func (x *RegisterResponse) String() string

type ResetPasswordRequest

type ResetPasswordRequest struct {
	Password        string `protobuf:"bytes,1,opt,name=password,proto3" json:"password,omitempty"`
	PasswordConfirm string `protobuf:"bytes,2,opt,name=password_confirm,json=passwordConfirm,proto3" json:"password_confirm,omitempty"`
	Token           string `protobuf:"bytes,3,opt,name=token,proto3" json:"token,omitempty"`
	// contains filtered or unexported fields
}

func (*ResetPasswordRequest) Descriptor deprecated

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

Deprecated: Use ResetPasswordRequest.ProtoReflect.Descriptor instead.

func (*ResetPasswordRequest) GetPassword

func (x *ResetPasswordRequest) GetPassword() string

func (*ResetPasswordRequest) GetPasswordConfirm

func (x *ResetPasswordRequest) GetPasswordConfirm() string

func (*ResetPasswordRequest) GetToken

func (x *ResetPasswordRequest) GetToken() string

func (*ResetPasswordRequest) ProtoMessage

func (*ResetPasswordRequest) ProtoMessage()

func (*ResetPasswordRequest) ProtoReflect

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

func (*ResetPasswordRequest) Reset

func (x *ResetPasswordRequest) Reset()

func (*ResetPasswordRequest) String

func (x *ResetPasswordRequest) String() string

type ResetPasswordResponse

type ResetPasswordResponse struct {
	// contains filtered or unexported fields
}

func (*ResetPasswordResponse) Descriptor deprecated

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

Deprecated: Use ResetPasswordResponse.ProtoReflect.Descriptor instead.

func (*ResetPasswordResponse) ProtoMessage

func (*ResetPasswordResponse) ProtoMessage()

func (*ResetPasswordResponse) ProtoReflect

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

func (*ResetPasswordResponse) Reset

func (x *ResetPasswordResponse) Reset()

func (*ResetPasswordResponse) String

func (x *ResetPasswordResponse) String() string

type SetDiscordConnectionDataRequest

type SetDiscordConnectionDataRequest struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*SetDiscordConnectionDataRequest) Descriptor deprecated

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

Deprecated: Use SetDiscordConnectionDataRequest.ProtoReflect.Descriptor instead.

func (*SetDiscordConnectionDataRequest) GetId

func (*SetDiscordConnectionDataRequest) ProtoMessage

func (*SetDiscordConnectionDataRequest) ProtoMessage()

func (*SetDiscordConnectionDataRequest) ProtoReflect

func (*SetDiscordConnectionDataRequest) Reset

func (*SetDiscordConnectionDataRequest) String

type SetDiscordConnectionDataResponse

type SetDiscordConnectionDataResponse struct {
	// contains filtered or unexported fields
}

func (*SetDiscordConnectionDataResponse) Descriptor deprecated

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

Deprecated: Use SetDiscordConnectionDataResponse.ProtoReflect.Descriptor instead.

func (*SetDiscordConnectionDataResponse) ProtoMessage

func (*SetDiscordConnectionDataResponse) ProtoMessage()

func (*SetDiscordConnectionDataResponse) ProtoReflect

func (*SetDiscordConnectionDataResponse) Reset

func (*SetDiscordConnectionDataResponse) String

type SetStripeConnectionDataRequest

type SetStripeConnectionDataRequest struct {
	CustomerId     *string `protobuf:"bytes,1,opt,name=customer_id,json=customerId,proto3,oneof" json:"customer_id,omitempty"`
	SubscriptionId *string `protobuf:"bytes,2,opt,name=subscription_id,json=subscriptionId,proto3,oneof" json:"subscription_id,omitempty"`
	PriceId        *string `protobuf:"bytes,3,opt,name=price_id,json=priceId,proto3,oneof" json:"price_id,omitempty"`
	TierLevel      *uint32 `protobuf:"varint,4,opt,name=tier_level,json=tierLevel,proto3,oneof" json:"tier_level,omitempty"`
	TierName       *string `protobuf:"bytes,5,opt,name=tier_name,json=tierName,proto3,oneof" json:"tier_name,omitempty"`
	Timestamp      uint64  `protobuf:"varint,6,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// contains filtered or unexported fields
}

func (*SetStripeConnectionDataRequest) Descriptor deprecated

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

Deprecated: Use SetStripeConnectionDataRequest.ProtoReflect.Descriptor instead.

func (*SetStripeConnectionDataRequest) GetCustomerId

func (x *SetStripeConnectionDataRequest) GetCustomerId() string

func (*SetStripeConnectionDataRequest) GetPriceId

func (x *SetStripeConnectionDataRequest) GetPriceId() string

func (*SetStripeConnectionDataRequest) GetSubscriptionId

func (x *SetStripeConnectionDataRequest) GetSubscriptionId() string

func (*SetStripeConnectionDataRequest) GetTierLevel

func (x *SetStripeConnectionDataRequest) GetTierLevel() uint32

func (*SetStripeConnectionDataRequest) GetTierName

func (x *SetStripeConnectionDataRequest) GetTierName() string

func (*SetStripeConnectionDataRequest) GetTimestamp

func (x *SetStripeConnectionDataRequest) GetTimestamp() uint64

func (*SetStripeConnectionDataRequest) ProtoMessage

func (*SetStripeConnectionDataRequest) ProtoMessage()

func (*SetStripeConnectionDataRequest) ProtoReflect

func (*SetStripeConnectionDataRequest) Reset

func (x *SetStripeConnectionDataRequest) Reset()

func (*SetStripeConnectionDataRequest) String

type SetStripeConnectionDataResponse

type SetStripeConnectionDataResponse struct {
	// contains filtered or unexported fields
}

func (*SetStripeConnectionDataResponse) Descriptor deprecated

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

Deprecated: Use SetStripeConnectionDataResponse.ProtoReflect.Descriptor instead.

func (*SetStripeConnectionDataResponse) ProtoMessage

func (*SetStripeConnectionDataResponse) ProtoMessage()

func (*SetStripeConnectionDataResponse) ProtoReflect

func (*SetStripeConnectionDataResponse) Reset

func (*SetStripeConnectionDataResponse) String

type StripeConnection

type StripeConnection struct {
	CustomerId             *string `protobuf:"bytes,1,opt,name=customer_id,json=customerId,proto3,oneof" json:"customer_id,omitempty"`
	SubscriptionId         *string `protobuf:"bytes,2,opt,name=subscription_id,json=subscriptionId,proto3,oneof" json:"subscription_id,omitempty"`
	PriceId                *string `protobuf:"bytes,3,opt,name=price_id,json=priceId,proto3,oneof" json:"price_id,omitempty"`
	TierLevel              *uint32 `protobuf:"varint,4,opt,name=tier_level,json=tierLevel,proto3,oneof" json:"tier_level,omitempty"`
	TierName               *string `protobuf:"bytes,5,opt,name=tier_name,json=tierName,proto3,oneof" json:"tier_name,omitempty"`
	LatestWebhookTimestamp uint64  `` /* 130-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*StripeConnection) Descriptor deprecated

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

Deprecated: Use StripeConnection.ProtoReflect.Descriptor instead.

func (*StripeConnection) GetCustomerId

func (x *StripeConnection) GetCustomerId() string

func (*StripeConnection) GetLatestWebhookTimestamp

func (x *StripeConnection) GetLatestWebhookTimestamp() uint64

func (*StripeConnection) GetPriceId

func (x *StripeConnection) GetPriceId() string

func (*StripeConnection) GetSubscriptionId

func (x *StripeConnection) GetSubscriptionId() string

func (*StripeConnection) GetTierLevel

func (x *StripeConnection) GetTierLevel() uint32

func (*StripeConnection) GetTierName

func (x *StripeConnection) GetTierName() string

func (*StripeConnection) ProtoMessage

func (*StripeConnection) ProtoMessage()

func (*StripeConnection) ProtoReflect

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

func (*StripeConnection) Reset

func (x *StripeConnection) Reset()

func (*StripeConnection) String

func (x *StripeConnection) String() string

type UnimplementedApiServiceServer

type UnimplementedApiServiceServer struct{}

UnimplementedApiServiceServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedApiServiceServer) ForgotPassword

func (UnimplementedApiServiceServer) GetUserData

func (UnimplementedApiServiceServer) Login

func (UnimplementedApiServiceServer) Register

func (UnimplementedApiServiceServer) ResetPassword

func (UnimplementedApiServiceServer) UpdateUserData

type UnsafeApiServiceServer

type UnsafeApiServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeApiServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ApiServiceServer will result in compilation errors.

type UpdateUserDataRequest

type UpdateUserDataRequest struct {
	// contains filtered or unexported fields
}

TODO - Not implemented yet, stubbed

func (*UpdateUserDataRequest) Descriptor deprecated

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

Deprecated: Use UpdateUserDataRequest.ProtoReflect.Descriptor instead.

func (*UpdateUserDataRequest) ProtoMessage

func (*UpdateUserDataRequest) ProtoMessage()

func (*UpdateUserDataRequest) ProtoReflect

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

func (*UpdateUserDataRequest) Reset

func (x *UpdateUserDataRequest) Reset()

func (*UpdateUserDataRequest) String

func (x *UpdateUserDataRequest) String() string

type UpdateUserDataResponse

type UpdateUserDataResponse struct {
	Deleted           bool             `protobuf:"varint,1,opt,name=deleted,proto3" json:"deleted,omitempty"`
	CreationDate      string           `protobuf:"bytes,2,opt,name=creation_date,json=creationDate,proto3" json:"creation_date,omitempty"`
	UpdatedDate       string           `protobuf:"bytes,3,opt,name=updated_date,json=updatedDate,proto3" json:"updated_date,omitempty"`
	Pid               uint32           `protobuf:"varint,4,opt,name=pid,proto3" json:"pid,omitempty"`
	Username          string           `protobuf:"bytes,5,opt,name=username,proto3" json:"username,omitempty"`
	AccessLevel       int32            `protobuf:"varint,6,opt,name=access_level,json=accessLevel,proto3" json:"access_level,omitempty"`
	ServerAccessLevel string           `protobuf:"bytes,7,opt,name=server_access_level,json=serverAccessLevel,proto3" json:"server_access_level,omitempty"`
	Mii               *Mii             `protobuf:"bytes,8,opt,name=mii,proto3" json:"mii,omitempty"`
	Birthday          string           `protobuf:"bytes,9,opt,name=birthday,proto3" json:"birthday,omitempty"`
	Gender            string           `protobuf:"bytes,10,opt,name=gender,proto3" json:"gender,omitempty"`
	Country           string           `protobuf:"bytes,11,opt,name=country,proto3" json:"country,omitempty"`
	Timezone          string           `protobuf:"bytes,12,opt,name=timezone,proto3" json:"timezone,omitempty"`
	Language          string           `protobuf:"bytes,13,opt,name=language,proto3" json:"language,omitempty"`
	EmailAddress      string           `protobuf:"bytes,14,opt,name=email_address,json=emailAddress,proto3" json:"email_address,omitempty"`
	Connections       *UserConnections `protobuf:"bytes,15,opt,name=connections,proto3" json:"connections,omitempty"`
	MarketingFlag     bool             `protobuf:"varint,16,opt,name=marketing_flag,json=marketingFlag,proto3" json:"marketing_flag,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateUserDataResponse) Descriptor deprecated

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

Deprecated: Use UpdateUserDataResponse.ProtoReflect.Descriptor instead.

func (*UpdateUserDataResponse) GetAccessLevel

func (x *UpdateUserDataResponse) GetAccessLevel() int32

func (*UpdateUserDataResponse) GetBirthday

func (x *UpdateUserDataResponse) GetBirthday() string

func (*UpdateUserDataResponse) GetConnections

func (x *UpdateUserDataResponse) GetConnections() *UserConnections

func (*UpdateUserDataResponse) GetCountry

func (x *UpdateUserDataResponse) GetCountry() string

func (*UpdateUserDataResponse) GetCreationDate

func (x *UpdateUserDataResponse) GetCreationDate() string

func (*UpdateUserDataResponse) GetDeleted

func (x *UpdateUserDataResponse) GetDeleted() bool

func (*UpdateUserDataResponse) GetEmailAddress

func (x *UpdateUserDataResponse) GetEmailAddress() string

func (*UpdateUserDataResponse) GetGender

func (x *UpdateUserDataResponse) GetGender() string

func (*UpdateUserDataResponse) GetLanguage

func (x *UpdateUserDataResponse) GetLanguage() string

func (*UpdateUserDataResponse) GetMarketingFlag

func (x *UpdateUserDataResponse) GetMarketingFlag() bool

func (*UpdateUserDataResponse) GetMii

func (x *UpdateUserDataResponse) GetMii() *Mii

func (*UpdateUserDataResponse) GetPid

func (x *UpdateUserDataResponse) GetPid() uint32

func (*UpdateUserDataResponse) GetServerAccessLevel

func (x *UpdateUserDataResponse) GetServerAccessLevel() string

func (*UpdateUserDataResponse) GetTimezone

func (x *UpdateUserDataResponse) GetTimezone() string

func (*UpdateUserDataResponse) GetUpdatedDate

func (x *UpdateUserDataResponse) GetUpdatedDate() string

func (*UpdateUserDataResponse) GetUsername

func (x *UpdateUserDataResponse) GetUsername() string

func (*UpdateUserDataResponse) ProtoMessage

func (*UpdateUserDataResponse) ProtoMessage()

func (*UpdateUserDataResponse) ProtoReflect

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

func (*UpdateUserDataResponse) Reset

func (x *UpdateUserDataResponse) Reset()

func (*UpdateUserDataResponse) String

func (x *UpdateUserDataResponse) String() string

type UserConnections

type UserConnections struct {
	Discord *DiscordConnection `protobuf:"bytes,1,opt,name=discord,proto3" json:"discord,omitempty"`
	Stripe  *StripeConnection  `protobuf:"bytes,2,opt,name=stripe,proto3" json:"stripe,omitempty"`
	// contains filtered or unexported fields
}

func (*UserConnections) Descriptor deprecated

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

Deprecated: Use UserConnections.ProtoReflect.Descriptor instead.

func (*UserConnections) GetDiscord

func (x *UserConnections) GetDiscord() *DiscordConnection

func (*UserConnections) GetStripe

func (x *UserConnections) GetStripe() *StripeConnection

func (*UserConnections) ProtoMessage

func (*UserConnections) ProtoMessage()

func (*UserConnections) ProtoReflect

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

func (*UserConnections) Reset

func (x *UserConnections) Reset()

func (*UserConnections) String

func (x *UserConnections) String() string

Jump to

Keyboard shortcuts

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