4475 lines
151 KiB
Go
4475 lines
151 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.36.10
|
|
// protoc v6.33.1
|
|
// source: account.proto
|
|
|
|
package gen
|
|
|
|
import (
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb"
|
|
structpb "google.golang.org/protobuf/types/known/structpb"
|
|
timestamppb "google.golang.org/protobuf/types/known/timestamppb"
|
|
wrapperspb "google.golang.org/protobuf/types/known/wrapperspb"
|
|
reflect "reflect"
|
|
sync "sync"
|
|
unsafe "unsafe"
|
|
)
|
|
|
|
const (
|
|
// Verify that this generated code is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
|
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
)
|
|
|
|
// Enum for status attitude
|
|
type StatusAttitude int32
|
|
|
|
const (
|
|
StatusAttitude_STATUS_ATTITUDE_UNSPECIFIED StatusAttitude = 0
|
|
StatusAttitude_POSITIVE StatusAttitude = 1
|
|
StatusAttitude_NEGATIVE StatusAttitude = 2
|
|
StatusAttitude_NEUTRAL StatusAttitude = 3
|
|
)
|
|
|
|
// Enum value maps for StatusAttitude.
|
|
var (
|
|
StatusAttitude_name = map[int32]string{
|
|
0: "STATUS_ATTITUDE_UNSPECIFIED",
|
|
1: "POSITIVE",
|
|
2: "NEGATIVE",
|
|
3: "NEUTRAL",
|
|
}
|
|
StatusAttitude_value = map[string]int32{
|
|
"STATUS_ATTITUDE_UNSPECIFIED": 0,
|
|
"POSITIVE": 1,
|
|
"NEGATIVE": 2,
|
|
"NEUTRAL": 3,
|
|
}
|
|
)
|
|
|
|
func (x StatusAttitude) Enum() *StatusAttitude {
|
|
p := new(StatusAttitude)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x StatusAttitude) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (StatusAttitude) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_account_proto_enumTypes[0].Descriptor()
|
|
}
|
|
|
|
func (StatusAttitude) Type() protoreflect.EnumType {
|
|
return &file_account_proto_enumTypes[0]
|
|
}
|
|
|
|
func (x StatusAttitude) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use StatusAttitude.Descriptor instead.
|
|
func (StatusAttitude) EnumDescriptor() ([]byte, []int) {
|
|
return file_account_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
// Enum for contact types
|
|
type AccountContactType int32
|
|
|
|
const (
|
|
AccountContactType_ACCOUNT_CONTACT_TYPE_UNSPECIFIED AccountContactType = 0
|
|
AccountContactType_EMAIL AccountContactType = 1
|
|
AccountContactType_PHONE_NUMBER AccountContactType = 2
|
|
AccountContactType_ADDRESS AccountContactType = 3
|
|
)
|
|
|
|
// Enum value maps for AccountContactType.
|
|
var (
|
|
AccountContactType_name = map[int32]string{
|
|
0: "ACCOUNT_CONTACT_TYPE_UNSPECIFIED",
|
|
1: "EMAIL",
|
|
2: "PHONE_NUMBER",
|
|
3: "ADDRESS",
|
|
}
|
|
AccountContactType_value = map[string]int32{
|
|
"ACCOUNT_CONTACT_TYPE_UNSPECIFIED": 0,
|
|
"EMAIL": 1,
|
|
"PHONE_NUMBER": 2,
|
|
"ADDRESS": 3,
|
|
}
|
|
)
|
|
|
|
func (x AccountContactType) Enum() *AccountContactType {
|
|
p := new(AccountContactType)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x AccountContactType) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (AccountContactType) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_account_proto_enumTypes[1].Descriptor()
|
|
}
|
|
|
|
func (AccountContactType) Type() protoreflect.EnumType {
|
|
return &file_account_proto_enumTypes[1]
|
|
}
|
|
|
|
func (x AccountContactType) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use AccountContactType.Descriptor instead.
|
|
func (AccountContactType) EnumDescriptor() ([]byte, []int) {
|
|
return file_account_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
// Enum for authentication factor types
|
|
type AccountAuthFactorType int32
|
|
|
|
const (
|
|
AccountAuthFactorType_AUTH_FACTOR_TYPE_UNSPECIFIED AccountAuthFactorType = 0
|
|
AccountAuthFactorType_PASSWORD AccountAuthFactorType = 1
|
|
AccountAuthFactorType_EMAIL_CODE AccountAuthFactorType = 2
|
|
AccountAuthFactorType_IN_APP_CODE AccountAuthFactorType = 3
|
|
AccountAuthFactorType_TIMED_CODE AccountAuthFactorType = 4
|
|
AccountAuthFactorType_PIN_CODE AccountAuthFactorType = 5
|
|
)
|
|
|
|
// Enum value maps for AccountAuthFactorType.
|
|
var (
|
|
AccountAuthFactorType_name = map[int32]string{
|
|
0: "AUTH_FACTOR_TYPE_UNSPECIFIED",
|
|
1: "PASSWORD",
|
|
2: "EMAIL_CODE",
|
|
3: "IN_APP_CODE",
|
|
4: "TIMED_CODE",
|
|
5: "PIN_CODE",
|
|
}
|
|
AccountAuthFactorType_value = map[string]int32{
|
|
"AUTH_FACTOR_TYPE_UNSPECIFIED": 0,
|
|
"PASSWORD": 1,
|
|
"EMAIL_CODE": 2,
|
|
"IN_APP_CODE": 3,
|
|
"TIMED_CODE": 4,
|
|
"PIN_CODE": 5,
|
|
}
|
|
)
|
|
|
|
func (x AccountAuthFactorType) Enum() *AccountAuthFactorType {
|
|
p := new(AccountAuthFactorType)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x AccountAuthFactorType) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (AccountAuthFactorType) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_account_proto_enumTypes[2].Descriptor()
|
|
}
|
|
|
|
func (AccountAuthFactorType) Type() protoreflect.EnumType {
|
|
return &file_account_proto_enumTypes[2]
|
|
}
|
|
|
|
func (x AccountAuthFactorType) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use AccountAuthFactorType.Descriptor instead.
|
|
func (AccountAuthFactorType) EnumDescriptor() ([]byte, []int) {
|
|
return file_account_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
type VerificationMarkType int32
|
|
|
|
const (
|
|
VerificationMarkType_VERIFICATION_MARK_TYPE_UNSPECIFIED VerificationMarkType = 0
|
|
VerificationMarkType_OFFICIAL VerificationMarkType = 1
|
|
VerificationMarkType_INDIVIDUAL VerificationMarkType = 2
|
|
VerificationMarkType_ORGANIZATION VerificationMarkType = 3
|
|
VerificationMarkType_GOVERNMENT VerificationMarkType = 4
|
|
VerificationMarkType_CREATOR VerificationMarkType = 5
|
|
VerificationMarkType_DEVELOPER VerificationMarkType = 6
|
|
VerificationMarkType_PARODY VerificationMarkType = 7
|
|
)
|
|
|
|
// Enum value maps for VerificationMarkType.
|
|
var (
|
|
VerificationMarkType_name = map[int32]string{
|
|
0: "VERIFICATION_MARK_TYPE_UNSPECIFIED",
|
|
1: "OFFICIAL",
|
|
2: "INDIVIDUAL",
|
|
3: "ORGANIZATION",
|
|
4: "GOVERNMENT",
|
|
5: "CREATOR",
|
|
6: "DEVELOPER",
|
|
7: "PARODY",
|
|
}
|
|
VerificationMarkType_value = map[string]int32{
|
|
"VERIFICATION_MARK_TYPE_UNSPECIFIED": 0,
|
|
"OFFICIAL": 1,
|
|
"INDIVIDUAL": 2,
|
|
"ORGANIZATION": 3,
|
|
"GOVERNMENT": 4,
|
|
"CREATOR": 5,
|
|
"DEVELOPER": 6,
|
|
"PARODY": 7,
|
|
}
|
|
)
|
|
|
|
func (x VerificationMarkType) Enum() *VerificationMarkType {
|
|
p := new(VerificationMarkType)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x VerificationMarkType) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (VerificationMarkType) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_account_proto_enumTypes[3].Descriptor()
|
|
}
|
|
|
|
func (VerificationMarkType) Type() protoreflect.EnumType {
|
|
return &file_account_proto_enumTypes[3]
|
|
}
|
|
|
|
func (x VerificationMarkType) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use VerificationMarkType.Descriptor instead.
|
|
func (VerificationMarkType) EnumDescriptor() ([]byte, []int) {
|
|
return file_account_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
// Account represents a user account in the system
|
|
type Account struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
|
Nick string `protobuf:"bytes,3,opt,name=nick,proto3" json:"nick,omitempty"`
|
|
Language string `protobuf:"bytes,4,opt,name=language,proto3" json:"language,omitempty"`
|
|
Region string `protobuf:"bytes,18,opt,name=region,proto3" json:"region,omitempty"`
|
|
ActivatedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=activated_at,json=activatedAt,proto3" json:"activated_at,omitempty"`
|
|
IsSuperuser bool `protobuf:"varint,6,opt,name=is_superuser,json=isSuperuser,proto3" json:"is_superuser,omitempty"`
|
|
Profile *AccountProfile `protobuf:"bytes,7,opt,name=profile,proto3" json:"profile,omitempty"`
|
|
PerkSubscription *SubscriptionReferenceObject `protobuf:"bytes,16,opt,name=perk_subscription,json=perkSubscription,proto3,oneof" json:"perk_subscription,omitempty"`
|
|
Contacts []*AccountContact `protobuf:"bytes,8,rep,name=contacts,proto3" json:"contacts,omitempty"`
|
|
Badges []*AccountBadge `protobuf:"bytes,9,rep,name=badges,proto3" json:"badges,omitempty"`
|
|
AuthFactors []*AccountAuthFactor `protobuf:"bytes,10,rep,name=auth_factors,json=authFactors,proto3" json:"auth_factors,omitempty"`
|
|
Connections []*AccountConnection `protobuf:"bytes,11,rep,name=connections,proto3" json:"connections,omitempty"`
|
|
OutgoingRelationships []*Relationship `protobuf:"bytes,12,rep,name=outgoing_relationships,json=outgoingRelationships,proto3" json:"outgoing_relationships,omitempty"`
|
|
IncomingRelationships []*Relationship `protobuf:"bytes,13,rep,name=incoming_relationships,json=incomingRelationships,proto3" json:"incoming_relationships,omitempty"`
|
|
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,14,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
|
|
UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,15,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
|
|
AutomatedId *wrapperspb.StringValue `protobuf:"bytes,17,opt,name=automated_id,json=automatedId,proto3" json:"automated_id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *Account) Reset() {
|
|
*x = Account{}
|
|
mi := &file_account_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *Account) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Account) ProtoMessage() {}
|
|
|
|
func (x *Account) ProtoReflect() protoreflect.Message {
|
|
mi := &file_account_proto_msgTypes[0]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Account.ProtoReflect.Descriptor instead.
|
|
func (*Account) Descriptor() ([]byte, []int) {
|
|
return file_account_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *Account) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Account) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Account) GetNick() string {
|
|
if x != nil {
|
|
return x.Nick
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Account) GetLanguage() string {
|
|
if x != nil {
|
|
return x.Language
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Account) GetRegion() string {
|
|
if x != nil {
|
|
return x.Region
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Account) GetActivatedAt() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.ActivatedAt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Account) GetIsSuperuser() bool {
|
|
if x != nil {
|
|
return x.IsSuperuser
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *Account) GetProfile() *AccountProfile {
|
|
if x != nil {
|
|
return x.Profile
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Account) GetPerkSubscription() *SubscriptionReferenceObject {
|
|
if x != nil {
|
|
return x.PerkSubscription
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Account) GetContacts() []*AccountContact {
|
|
if x != nil {
|
|
return x.Contacts
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Account) GetBadges() []*AccountBadge {
|
|
if x != nil {
|
|
return x.Badges
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Account) GetAuthFactors() []*AccountAuthFactor {
|
|
if x != nil {
|
|
return x.AuthFactors
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Account) GetConnections() []*AccountConnection {
|
|
if x != nil {
|
|
return x.Connections
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Account) GetOutgoingRelationships() []*Relationship {
|
|
if x != nil {
|
|
return x.OutgoingRelationships
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Account) GetIncomingRelationships() []*Relationship {
|
|
if x != nil {
|
|
return x.IncomingRelationships
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Account) GetCreatedAt() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.CreatedAt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Account) GetUpdatedAt() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.UpdatedAt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Account) GetAutomatedId() *wrapperspb.StringValue {
|
|
if x != nil {
|
|
return x.AutomatedId
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// AccountStatus represents the status of an account
|
|
type AccountStatus struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
Attitude StatusAttitude `protobuf:"varint,2,opt,name=attitude,proto3,enum=proto.StatusAttitude" json:"attitude,omitempty"`
|
|
IsOnline bool `protobuf:"varint,3,opt,name=is_online,json=isOnline,proto3" json:"is_online,omitempty"`
|
|
IsCustomized bool `protobuf:"varint,4,opt,name=is_customized,json=isCustomized,proto3" json:"is_customized,omitempty"`
|
|
IsInvisible bool `protobuf:"varint,5,opt,name=is_invisible,json=isInvisible,proto3" json:"is_invisible,omitempty"`
|
|
IsNotDisturb bool `protobuf:"varint,6,opt,name=is_not_disturb,json=isNotDisturb,proto3" json:"is_not_disturb,omitempty"`
|
|
Label *wrapperspb.StringValue `protobuf:"bytes,7,opt,name=label,proto3" json:"label,omitempty"`
|
|
ClearedAt *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=cleared_at,json=clearedAt,proto3" json:"cleared_at,omitempty"`
|
|
AccountId string `protobuf:"bytes,9,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
|
|
Meta []byte `protobuf:"bytes,10,opt,name=meta,proto3" json:"meta,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *AccountStatus) Reset() {
|
|
*x = AccountStatus{}
|
|
mi := &file_account_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *AccountStatus) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AccountStatus) ProtoMessage() {}
|
|
|
|
func (x *AccountStatus) ProtoReflect() protoreflect.Message {
|
|
mi := &file_account_proto_msgTypes[1]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use AccountStatus.ProtoReflect.Descriptor instead.
|
|
func (*AccountStatus) Descriptor() ([]byte, []int) {
|
|
return file_account_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *AccountStatus) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AccountStatus) GetAttitude() StatusAttitude {
|
|
if x != nil {
|
|
return x.Attitude
|
|
}
|
|
return StatusAttitude_STATUS_ATTITUDE_UNSPECIFIED
|
|
}
|
|
|
|
func (x *AccountStatus) GetIsOnline() bool {
|
|
if x != nil {
|
|
return x.IsOnline
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *AccountStatus) GetIsCustomized() bool {
|
|
if x != nil {
|
|
return x.IsCustomized
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *AccountStatus) GetIsInvisible() bool {
|
|
if x != nil {
|
|
return x.IsInvisible
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *AccountStatus) GetIsNotDisturb() bool {
|
|
if x != nil {
|
|
return x.IsNotDisturb
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *AccountStatus) GetLabel() *wrapperspb.StringValue {
|
|
if x != nil {
|
|
return x.Label
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *AccountStatus) GetClearedAt() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.ClearedAt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *AccountStatus) GetAccountId() string {
|
|
if x != nil {
|
|
return x.AccountId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AccountStatus) GetMeta() []byte {
|
|
if x != nil {
|
|
return x.Meta
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type UsernameColor struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
|
|
Value *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
|
|
Direction *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=direction,proto3" json:"direction,omitempty"`
|
|
Colors []string `protobuf:"bytes,4,rep,name=colors,proto3" json:"colors,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UsernameColor) Reset() {
|
|
*x = UsernameColor{}
|
|
mi := &file_account_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UsernameColor) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UsernameColor) ProtoMessage() {}
|
|
|
|
func (x *UsernameColor) ProtoReflect() protoreflect.Message {
|
|
mi := &file_account_proto_msgTypes[2]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UsernameColor.ProtoReflect.Descriptor instead.
|
|
func (*UsernameColor) Descriptor() ([]byte, []int) {
|
|
return file_account_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *UsernameColor) GetType() string {
|
|
if x != nil {
|
|
return x.Type
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UsernameColor) GetValue() *wrapperspb.StringValue {
|
|
if x != nil {
|
|
return x.Value
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *UsernameColor) GetDirection() *wrapperspb.StringValue {
|
|
if x != nil {
|
|
return x.Direction
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *UsernameColor) GetColors() []string {
|
|
if x != nil {
|
|
return x.Colors
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ProfileLink struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
|
Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ProfileLink) Reset() {
|
|
*x = ProfileLink{}
|
|
mi := &file_account_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ProfileLink) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ProfileLink) ProtoMessage() {}
|
|
|
|
func (x *ProfileLink) ProtoReflect() protoreflect.Message {
|
|
mi := &file_account_proto_msgTypes[3]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ProfileLink.ProtoReflect.Descriptor instead.
|
|
func (*ProfileLink) Descriptor() ([]byte, []int) {
|
|
return file_account_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *ProfileLink) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ProfileLink) GetUrl() string {
|
|
if x != nil {
|
|
return x.Url
|
|
}
|
|
return ""
|
|
}
|
|
|
|
// Profile contains detailed information about a user
|
|
type AccountProfile struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
FirstName *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=first_name,json=firstName,proto3" json:"first_name,omitempty"`
|
|
MiddleName *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=middle_name,json=middleName,proto3" json:"middle_name,omitempty"`
|
|
LastName *wrapperspb.StringValue `protobuf:"bytes,4,opt,name=last_name,json=lastName,proto3" json:"last_name,omitempty"`
|
|
Bio *wrapperspb.StringValue `protobuf:"bytes,5,opt,name=bio,proto3" json:"bio,omitempty"`
|
|
Gender *wrapperspb.StringValue `protobuf:"bytes,6,opt,name=gender,proto3" json:"gender,omitempty"`
|
|
Pronouns *wrapperspb.StringValue `protobuf:"bytes,7,opt,name=pronouns,proto3" json:"pronouns,omitempty"`
|
|
TimeZone *wrapperspb.StringValue `protobuf:"bytes,8,opt,name=time_zone,json=timeZone,proto3" json:"time_zone,omitempty"`
|
|
Location *wrapperspb.StringValue `protobuf:"bytes,9,opt,name=location,proto3" json:"location,omitempty"`
|
|
Birthday *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=birthday,proto3" json:"birthday,omitempty"`
|
|
LastSeenAt *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=last_seen_at,json=lastSeenAt,proto3" json:"last_seen_at,omitempty"`
|
|
Verification *VerificationMark `protobuf:"bytes,12,opt,name=verification,proto3" json:"verification,omitempty"`
|
|
ActiveBadge *BadgeReferenceObject `protobuf:"bytes,13,opt,name=active_badge,json=activeBadge,proto3" json:"active_badge,omitempty"`
|
|
Experience int32 `protobuf:"varint,14,opt,name=experience,proto3" json:"experience,omitempty"`
|
|
Level int32 `protobuf:"varint,15,opt,name=level,proto3" json:"level,omitempty"`
|
|
LevelingProgress float64 `protobuf:"fixed64,16,opt,name=leveling_progress,json=levelingProgress,proto3" json:"leveling_progress,omitempty"`
|
|
SocialCredits float64 `protobuf:"fixed64,17,opt,name=social_credits,json=socialCredits,proto3" json:"social_credits,omitempty"`
|
|
SocialCreditsLevel int32 `protobuf:"varint,18,opt,name=social_credits_level,json=socialCreditsLevel,proto3" json:"social_credits_level,omitempty"`
|
|
Picture *CloudFile `protobuf:"bytes,19,opt,name=picture,proto3" json:"picture,omitempty"`
|
|
Background *CloudFile `protobuf:"bytes,20,opt,name=background,proto3" json:"background,omitempty"`
|
|
AccountId string `protobuf:"bytes,21,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
|
|
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,22,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
|
|
UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,23,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
|
|
UsernameColor *UsernameColor `protobuf:"bytes,24,opt,name=username_color,json=usernameColor,proto3,oneof" json:"username_color,omitempty"`
|
|
Links []*ProfileLink `protobuf:"bytes,25,rep,name=links,proto3" json:"links,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *AccountProfile) Reset() {
|
|
*x = AccountProfile{}
|
|
mi := &file_account_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *AccountProfile) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AccountProfile) ProtoMessage() {}
|
|
|
|
func (x *AccountProfile) ProtoReflect() protoreflect.Message {
|
|
mi := &file_account_proto_msgTypes[4]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use AccountProfile.ProtoReflect.Descriptor instead.
|
|
func (*AccountProfile) Descriptor() ([]byte, []int) {
|
|
return file_account_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *AccountProfile) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AccountProfile) GetFirstName() *wrapperspb.StringValue {
|
|
if x != nil {
|
|
return x.FirstName
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *AccountProfile) GetMiddleName() *wrapperspb.StringValue {
|
|
if x != nil {
|
|
return x.MiddleName
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *AccountProfile) GetLastName() *wrapperspb.StringValue {
|
|
if x != nil {
|
|
return x.LastName
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *AccountProfile) GetBio() *wrapperspb.StringValue {
|
|
if x != nil {
|
|
return x.Bio
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *AccountProfile) GetGender() *wrapperspb.StringValue {
|
|
if x != nil {
|
|
return x.Gender
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *AccountProfile) GetPronouns() *wrapperspb.StringValue {
|
|
if x != nil {
|
|
return x.Pronouns
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *AccountProfile) GetTimeZone() *wrapperspb.StringValue {
|
|
if x != nil {
|
|
return x.TimeZone
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *AccountProfile) GetLocation() *wrapperspb.StringValue {
|
|
if x != nil {
|
|
return x.Location
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *AccountProfile) GetBirthday() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.Birthday
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *AccountProfile) GetLastSeenAt() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.LastSeenAt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *AccountProfile) GetVerification() *VerificationMark {
|
|
if x != nil {
|
|
return x.Verification
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *AccountProfile) GetActiveBadge() *BadgeReferenceObject {
|
|
if x != nil {
|
|
return x.ActiveBadge
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *AccountProfile) GetExperience() int32 {
|
|
if x != nil {
|
|
return x.Experience
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *AccountProfile) GetLevel() int32 {
|
|
if x != nil {
|
|
return x.Level
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *AccountProfile) GetLevelingProgress() float64 {
|
|
if x != nil {
|
|
return x.LevelingProgress
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *AccountProfile) GetSocialCredits() float64 {
|
|
if x != nil {
|
|
return x.SocialCredits
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *AccountProfile) GetSocialCreditsLevel() int32 {
|
|
if x != nil {
|
|
return x.SocialCreditsLevel
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *AccountProfile) GetPicture() *CloudFile {
|
|
if x != nil {
|
|
return x.Picture
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *AccountProfile) GetBackground() *CloudFile {
|
|
if x != nil {
|
|
return x.Background
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *AccountProfile) GetAccountId() string {
|
|
if x != nil {
|
|
return x.AccountId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AccountProfile) GetCreatedAt() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.CreatedAt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *AccountProfile) GetUpdatedAt() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.UpdatedAt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *AccountProfile) GetUsernameColor() *UsernameColor {
|
|
if x != nil {
|
|
return x.UsernameColor
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *AccountProfile) GetLinks() []*ProfileLink {
|
|
if x != nil {
|
|
return x.Links
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// AccountContact represents a contact method for an account
|
|
type AccountContact struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
Type AccountContactType `protobuf:"varint,2,opt,name=type,proto3,enum=proto.AccountContactType" json:"type,omitempty"`
|
|
VerifiedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=verified_at,json=verifiedAt,proto3" json:"verified_at,omitempty"`
|
|
IsPrimary bool `protobuf:"varint,4,opt,name=is_primary,json=isPrimary,proto3" json:"is_primary,omitempty"`
|
|
Content string `protobuf:"bytes,5,opt,name=content,proto3" json:"content,omitempty"`
|
|
AccountId string `protobuf:"bytes,6,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
|
|
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
|
|
UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *AccountContact) Reset() {
|
|
*x = AccountContact{}
|
|
mi := &file_account_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *AccountContact) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AccountContact) ProtoMessage() {}
|
|
|
|
func (x *AccountContact) ProtoReflect() protoreflect.Message {
|
|
mi := &file_account_proto_msgTypes[5]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use AccountContact.ProtoReflect.Descriptor instead.
|
|
func (*AccountContact) Descriptor() ([]byte, []int) {
|
|
return file_account_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *AccountContact) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AccountContact) GetType() AccountContactType {
|
|
if x != nil {
|
|
return x.Type
|
|
}
|
|
return AccountContactType_ACCOUNT_CONTACT_TYPE_UNSPECIFIED
|
|
}
|
|
|
|
func (x *AccountContact) GetVerifiedAt() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.VerifiedAt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *AccountContact) GetIsPrimary() bool {
|
|
if x != nil {
|
|
return x.IsPrimary
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *AccountContact) GetContent() string {
|
|
if x != nil {
|
|
return x.Content
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AccountContact) GetAccountId() string {
|
|
if x != nil {
|
|
return x.AccountId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AccountContact) GetCreatedAt() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.CreatedAt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *AccountContact) GetUpdatedAt() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.UpdatedAt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// AccountAuthFactor represents an authentication factor for an account
|
|
type AccountAuthFactor struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
Type AccountAuthFactorType `protobuf:"varint,2,opt,name=type,proto3,enum=proto.AccountAuthFactorType" json:"type,omitempty"`
|
|
Secret *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=secret,proto3" json:"secret,omitempty"` // Omitted from JSON serialization in original
|
|
Config map[string]*structpb.Value `protobuf:"bytes,4,rep,name=config,proto3" json:"config,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // Omitted from JSON serialization in original
|
|
Trustworthy int32 `protobuf:"varint,5,opt,name=trustworthy,proto3" json:"trustworthy,omitempty"`
|
|
EnabledAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=enabled_at,json=enabledAt,proto3" json:"enabled_at,omitempty"`
|
|
ExpiredAt *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=expired_at,json=expiredAt,proto3" json:"expired_at,omitempty"`
|
|
AccountId string `protobuf:"bytes,8,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
|
|
CreatedResponse map[string]*structpb.Value `protobuf:"bytes,9,rep,name=created_response,json=createdResponse,proto3" json:"created_response,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // For initial setup
|
|
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
|
|
UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *AccountAuthFactor) Reset() {
|
|
*x = AccountAuthFactor{}
|
|
mi := &file_account_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *AccountAuthFactor) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AccountAuthFactor) ProtoMessage() {}
|
|
|
|
func (x *AccountAuthFactor) ProtoReflect() protoreflect.Message {
|
|
mi := &file_account_proto_msgTypes[6]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use AccountAuthFactor.ProtoReflect.Descriptor instead.
|
|
func (*AccountAuthFactor) Descriptor() ([]byte, []int) {
|
|
return file_account_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
func (x *AccountAuthFactor) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AccountAuthFactor) GetType() AccountAuthFactorType {
|
|
if x != nil {
|
|
return x.Type
|
|
}
|
|
return AccountAuthFactorType_AUTH_FACTOR_TYPE_UNSPECIFIED
|
|
}
|
|
|
|
func (x *AccountAuthFactor) GetSecret() *wrapperspb.StringValue {
|
|
if x != nil {
|
|
return x.Secret
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *AccountAuthFactor) GetConfig() map[string]*structpb.Value {
|
|
if x != nil {
|
|
return x.Config
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *AccountAuthFactor) GetTrustworthy() int32 {
|
|
if x != nil {
|
|
return x.Trustworthy
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *AccountAuthFactor) GetEnabledAt() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.EnabledAt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *AccountAuthFactor) GetExpiredAt() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.ExpiredAt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *AccountAuthFactor) GetAccountId() string {
|
|
if x != nil {
|
|
return x.AccountId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AccountAuthFactor) GetCreatedResponse() map[string]*structpb.Value {
|
|
if x != nil {
|
|
return x.CreatedResponse
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *AccountAuthFactor) GetCreatedAt() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.CreatedAt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *AccountAuthFactor) GetUpdatedAt() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.UpdatedAt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// AccountBadge represents a badge associated with an account
|
|
type AccountBadge struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Unique identifier for the badge
|
|
Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` // Type/category of the badge
|
|
Label *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=label,proto3" json:"label,omitempty"` // Display name of the badge
|
|
Caption *wrapperspb.StringValue `protobuf:"bytes,4,opt,name=caption,proto3" json:"caption,omitempty"` // Optional description of the badge
|
|
Meta map[string]*structpb.Value `protobuf:"bytes,5,rep,name=meta,proto3" json:"meta,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // Additional metadata for the badge
|
|
ActivatedAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=activated_at,json=activatedAt,proto3" json:"activated_at,omitempty"` // When the badge was activated
|
|
ExpiredAt *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=expired_at,json=expiredAt,proto3" json:"expired_at,omitempty"` // Optional expiration time
|
|
AccountId string `protobuf:"bytes,8,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` // ID of the account this badge belongs to
|
|
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
|
|
UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *AccountBadge) Reset() {
|
|
*x = AccountBadge{}
|
|
mi := &file_account_proto_msgTypes[7]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *AccountBadge) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AccountBadge) ProtoMessage() {}
|
|
|
|
func (x *AccountBadge) ProtoReflect() protoreflect.Message {
|
|
mi := &file_account_proto_msgTypes[7]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use AccountBadge.ProtoReflect.Descriptor instead.
|
|
func (*AccountBadge) Descriptor() ([]byte, []int) {
|
|
return file_account_proto_rawDescGZIP(), []int{7}
|
|
}
|
|
|
|
func (x *AccountBadge) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AccountBadge) GetType() string {
|
|
if x != nil {
|
|
return x.Type
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AccountBadge) GetLabel() *wrapperspb.StringValue {
|
|
if x != nil {
|
|
return x.Label
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *AccountBadge) GetCaption() *wrapperspb.StringValue {
|
|
if x != nil {
|
|
return x.Caption
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *AccountBadge) GetMeta() map[string]*structpb.Value {
|
|
if x != nil {
|
|
return x.Meta
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *AccountBadge) GetActivatedAt() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.ActivatedAt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *AccountBadge) GetExpiredAt() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.ExpiredAt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *AccountBadge) GetAccountId() string {
|
|
if x != nil {
|
|
return x.AccountId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AccountBadge) GetCreatedAt() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.CreatedAt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *AccountBadge) GetUpdatedAt() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.UpdatedAt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// AccountConnection represents a third-party connection for an account
|
|
type AccountConnection struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
Provider string `protobuf:"bytes,2,opt,name=provider,proto3" json:"provider,omitempty"`
|
|
ProvidedIdentifier string `protobuf:"bytes,3,opt,name=provided_identifier,json=providedIdentifier,proto3" json:"provided_identifier,omitempty"`
|
|
Meta map[string]*structpb.Value `protobuf:"bytes,4,rep,name=meta,proto3" json:"meta,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
|
AccessToken *wrapperspb.StringValue `protobuf:"bytes,5,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"` // Omitted from JSON serialization
|
|
RefreshToken *wrapperspb.StringValue `protobuf:"bytes,6,opt,name=refresh_token,json=refreshToken,proto3" json:"refresh_token,omitempty"` // Omitted from JSON serialization
|
|
LastUsedAt *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=last_used_at,json=lastUsedAt,proto3" json:"last_used_at,omitempty"`
|
|
AccountId string `protobuf:"bytes,8,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
|
|
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
|
|
UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *AccountConnection) Reset() {
|
|
*x = AccountConnection{}
|
|
mi := &file_account_proto_msgTypes[8]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *AccountConnection) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AccountConnection) ProtoMessage() {}
|
|
|
|
func (x *AccountConnection) ProtoReflect() protoreflect.Message {
|
|
mi := &file_account_proto_msgTypes[8]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use AccountConnection.ProtoReflect.Descriptor instead.
|
|
func (*AccountConnection) Descriptor() ([]byte, []int) {
|
|
return file_account_proto_rawDescGZIP(), []int{8}
|
|
}
|
|
|
|
func (x *AccountConnection) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AccountConnection) GetProvider() string {
|
|
if x != nil {
|
|
return x.Provider
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AccountConnection) GetProvidedIdentifier() string {
|
|
if x != nil {
|
|
return x.ProvidedIdentifier
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AccountConnection) GetMeta() map[string]*structpb.Value {
|
|
if x != nil {
|
|
return x.Meta
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *AccountConnection) GetAccessToken() *wrapperspb.StringValue {
|
|
if x != nil {
|
|
return x.AccessToken
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *AccountConnection) GetRefreshToken() *wrapperspb.StringValue {
|
|
if x != nil {
|
|
return x.RefreshToken
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *AccountConnection) GetLastUsedAt() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.LastUsedAt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *AccountConnection) GetAccountId() string {
|
|
if x != nil {
|
|
return x.AccountId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AccountConnection) GetCreatedAt() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.CreatedAt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *AccountConnection) GetUpdatedAt() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.UpdatedAt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// VerificationMark represents verification status
|
|
type VerificationMark struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Type VerificationMarkType `protobuf:"varint,1,opt,name=type,proto3,enum=proto.VerificationMarkType" json:"type,omitempty"`
|
|
Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
|
|
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
|
|
VerifiedBy string `protobuf:"bytes,4,opt,name=verified_by,json=verifiedBy,proto3" json:"verified_by,omitempty"`
|
|
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
|
|
UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *VerificationMark) Reset() {
|
|
*x = VerificationMark{}
|
|
mi := &file_account_proto_msgTypes[9]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *VerificationMark) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*VerificationMark) ProtoMessage() {}
|
|
|
|
func (x *VerificationMark) ProtoReflect() protoreflect.Message {
|
|
mi := &file_account_proto_msgTypes[9]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use VerificationMark.ProtoReflect.Descriptor instead.
|
|
func (*VerificationMark) Descriptor() ([]byte, []int) {
|
|
return file_account_proto_rawDescGZIP(), []int{9}
|
|
}
|
|
|
|
func (x *VerificationMark) GetType() VerificationMarkType {
|
|
if x != nil {
|
|
return x.Type
|
|
}
|
|
return VerificationMarkType_VERIFICATION_MARK_TYPE_UNSPECIFIED
|
|
}
|
|
|
|
func (x *VerificationMark) GetTitle() string {
|
|
if x != nil {
|
|
return x.Title
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *VerificationMark) GetDescription() string {
|
|
if x != nil {
|
|
return x.Description
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *VerificationMark) GetVerifiedBy() string {
|
|
if x != nil {
|
|
return x.VerifiedBy
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *VerificationMark) GetCreatedAt() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.CreatedAt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *VerificationMark) GetUpdatedAt() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.UpdatedAt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// BadgeReferenceObject represents a reference to a badge with minimal information
|
|
type BadgeReferenceObject struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Unique identifier for the badge
|
|
Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` // Type/category of the badge
|
|
Label *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=label,proto3" json:"label,omitempty"` // Display name of the badge
|
|
Caption *wrapperspb.StringValue `protobuf:"bytes,4,opt,name=caption,proto3" json:"caption,omitempty"` // Optional description of the badge
|
|
Meta map[string]*structpb.Value `protobuf:"bytes,5,rep,name=meta,proto3" json:"meta,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // Additional metadata for the badge
|
|
ActivatedAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=activated_at,json=activatedAt,proto3" json:"activated_at,omitempty"` // When the badge was activated
|
|
ExpiredAt *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=expired_at,json=expiredAt,proto3" json:"expired_at,omitempty"` // Optional expiration time
|
|
AccountId string `protobuf:"bytes,8,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` // ID of the account this badge belongs to
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *BadgeReferenceObject) Reset() {
|
|
*x = BadgeReferenceObject{}
|
|
mi := &file_account_proto_msgTypes[10]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *BadgeReferenceObject) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*BadgeReferenceObject) ProtoMessage() {}
|
|
|
|
func (x *BadgeReferenceObject) ProtoReflect() protoreflect.Message {
|
|
mi := &file_account_proto_msgTypes[10]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use BadgeReferenceObject.ProtoReflect.Descriptor instead.
|
|
func (*BadgeReferenceObject) Descriptor() ([]byte, []int) {
|
|
return file_account_proto_rawDescGZIP(), []int{10}
|
|
}
|
|
|
|
func (x *BadgeReferenceObject) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *BadgeReferenceObject) GetType() string {
|
|
if x != nil {
|
|
return x.Type
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *BadgeReferenceObject) GetLabel() *wrapperspb.StringValue {
|
|
if x != nil {
|
|
return x.Label
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *BadgeReferenceObject) GetCaption() *wrapperspb.StringValue {
|
|
if x != nil {
|
|
return x.Caption
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *BadgeReferenceObject) GetMeta() map[string]*structpb.Value {
|
|
if x != nil {
|
|
return x.Meta
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *BadgeReferenceObject) GetActivatedAt() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.ActivatedAt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *BadgeReferenceObject) GetExpiredAt() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.ExpiredAt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *BadgeReferenceObject) GetAccountId() string {
|
|
if x != nil {
|
|
return x.AccountId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
// Relationship represents a connection between two accounts
|
|
type Relationship struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
AccountId string `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
|
|
RelatedId string `protobuf:"bytes,2,opt,name=related_id,json=relatedId,proto3" json:"related_id,omitempty"`
|
|
Account *Account `protobuf:"bytes,3,opt,name=account,proto3,oneof" json:"account,omitempty"`
|
|
Related *Account `protobuf:"bytes,4,opt,name=related,proto3,oneof" json:"related,omitempty"`
|
|
Status int32 `protobuf:"varint,5,opt,name=status,proto3" json:"status,omitempty"`
|
|
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
|
|
UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *Relationship) Reset() {
|
|
*x = Relationship{}
|
|
mi := &file_account_proto_msgTypes[11]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *Relationship) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Relationship) ProtoMessage() {}
|
|
|
|
func (x *Relationship) ProtoReflect() protoreflect.Message {
|
|
mi := &file_account_proto_msgTypes[11]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Relationship.ProtoReflect.Descriptor instead.
|
|
func (*Relationship) Descriptor() ([]byte, []int) {
|
|
return file_account_proto_rawDescGZIP(), []int{11}
|
|
}
|
|
|
|
func (x *Relationship) GetAccountId() string {
|
|
if x != nil {
|
|
return x.AccountId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Relationship) GetRelatedId() string {
|
|
if x != nil {
|
|
return x.RelatedId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Relationship) GetAccount() *Account {
|
|
if x != nil {
|
|
return x.Account
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Relationship) GetRelated() *Account {
|
|
if x != nil {
|
|
return x.Related
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Relationship) GetStatus() int32 {
|
|
if x != nil {
|
|
return x.Status
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Relationship) GetCreatedAt() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.CreatedAt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Relationship) GetUpdatedAt() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.UpdatedAt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// Leveling information
|
|
type LevelingInfo struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
CurrentLevel int32 `protobuf:"varint,1,opt,name=current_level,json=currentLevel,proto3" json:"current_level,omitempty"`
|
|
CurrentExperience int32 `protobuf:"varint,2,opt,name=current_experience,json=currentExperience,proto3" json:"current_experience,omitempty"`
|
|
NextLevelExperience int32 `protobuf:"varint,3,opt,name=next_level_experience,json=nextLevelExperience,proto3" json:"next_level_experience,omitempty"`
|
|
PreviousLevelExperience int32 `protobuf:"varint,4,opt,name=previous_level_experience,json=previousLevelExperience,proto3" json:"previous_level_experience,omitempty"`
|
|
LevelProgress float64 `protobuf:"fixed64,5,opt,name=level_progress,json=levelProgress,proto3" json:"level_progress,omitempty"`
|
|
ExperiencePerLevel []int32 `protobuf:"varint,6,rep,packed,name=experience_per_level,json=experiencePerLevel,proto3" json:"experience_per_level,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *LevelingInfo) Reset() {
|
|
*x = LevelingInfo{}
|
|
mi := &file_account_proto_msgTypes[12]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *LevelingInfo) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*LevelingInfo) ProtoMessage() {}
|
|
|
|
func (x *LevelingInfo) ProtoReflect() protoreflect.Message {
|
|
mi := &file_account_proto_msgTypes[12]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use LevelingInfo.ProtoReflect.Descriptor instead.
|
|
func (*LevelingInfo) Descriptor() ([]byte, []int) {
|
|
return file_account_proto_rawDescGZIP(), []int{12}
|
|
}
|
|
|
|
func (x *LevelingInfo) GetCurrentLevel() int32 {
|
|
if x != nil {
|
|
return x.CurrentLevel
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *LevelingInfo) GetCurrentExperience() int32 {
|
|
if x != nil {
|
|
return x.CurrentExperience
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *LevelingInfo) GetNextLevelExperience() int32 {
|
|
if x != nil {
|
|
return x.NextLevelExperience
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *LevelingInfo) GetPreviousLevelExperience() int32 {
|
|
if x != nil {
|
|
return x.PreviousLevelExperience
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *LevelingInfo) GetLevelProgress() float64 {
|
|
if x != nil {
|
|
return x.LevelProgress
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *LevelingInfo) GetExperiencePerLevel() []int32 {
|
|
if x != nil {
|
|
return x.ExperiencePerLevel
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// ActionLog represents a record of an action taken by a user
|
|
type ActionLog struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Unique identifier for the log entry
|
|
Action string `protobuf:"bytes,2,opt,name=action,proto3" json:"action,omitempty"` // The action that was performed, e.g., "user.login"
|
|
Meta map[string]*structpb.Value `protobuf:"bytes,3,rep,name=meta,proto3" json:"meta,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // Metadata associated with the action
|
|
UserAgent *wrapperspb.StringValue `protobuf:"bytes,4,opt,name=user_agent,json=userAgent,proto3" json:"user_agent,omitempty"` // User agent of the client
|
|
IpAddress *wrapperspb.StringValue `protobuf:"bytes,5,opt,name=ip_address,json=ipAddress,proto3" json:"ip_address,omitempty"` // IP address of the client
|
|
Location *wrapperspb.StringValue `protobuf:"bytes,6,opt,name=location,proto3" json:"location,omitempty"` // Geographic location of the client, derived from IP
|
|
AccountId string `protobuf:"bytes,7,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` // The account that performed the action
|
|
SessionId *wrapperspb.StringValue `protobuf:"bytes,8,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"` // The session in which the action was performed
|
|
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // When the action log was created
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ActionLog) Reset() {
|
|
*x = ActionLog{}
|
|
mi := &file_account_proto_msgTypes[13]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ActionLog) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ActionLog) ProtoMessage() {}
|
|
|
|
func (x *ActionLog) ProtoReflect() protoreflect.Message {
|
|
mi := &file_account_proto_msgTypes[13]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ActionLog.ProtoReflect.Descriptor instead.
|
|
func (*ActionLog) Descriptor() ([]byte, []int) {
|
|
return file_account_proto_rawDescGZIP(), []int{13}
|
|
}
|
|
|
|
func (x *ActionLog) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ActionLog) GetAction() string {
|
|
if x != nil {
|
|
return x.Action
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ActionLog) GetMeta() map[string]*structpb.Value {
|
|
if x != nil {
|
|
return x.Meta
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ActionLog) GetUserAgent() *wrapperspb.StringValue {
|
|
if x != nil {
|
|
return x.UserAgent
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ActionLog) GetIpAddress() *wrapperspb.StringValue {
|
|
if x != nil {
|
|
return x.IpAddress
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ActionLog) GetLocation() *wrapperspb.StringValue {
|
|
if x != nil {
|
|
return x.Location
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ActionLog) GetAccountId() string {
|
|
if x != nil {
|
|
return x.AccountId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ActionLog) GetSessionId() *wrapperspb.StringValue {
|
|
if x != nil {
|
|
return x.SessionId
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ActionLog) GetCreatedAt() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.CreatedAt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetAccountStatusBatchResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Statuses []*AccountStatus `protobuf:"bytes,1,rep,name=statuses,proto3" json:"statuses,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetAccountStatusBatchResponse) Reset() {
|
|
*x = GetAccountStatusBatchResponse{}
|
|
mi := &file_account_proto_msgTypes[14]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetAccountStatusBatchResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetAccountStatusBatchResponse) ProtoMessage() {}
|
|
|
|
func (x *GetAccountStatusBatchResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_account_proto_msgTypes[14]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetAccountStatusBatchResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetAccountStatusBatchResponse) Descriptor() ([]byte, []int) {
|
|
return file_account_proto_rawDescGZIP(), []int{14}
|
|
}
|
|
|
|
func (x *GetAccountStatusBatchResponse) GetStatuses() []*AccountStatus {
|
|
if x != nil {
|
|
return x.Statuses
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// ActionLog Requests/Responses
|
|
type CreateActionLogRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Action string `protobuf:"bytes,1,opt,name=action,proto3" json:"action,omitempty"`
|
|
Meta map[string]*structpb.Value `protobuf:"bytes,2,rep,name=meta,proto3" json:"meta,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
|
UserAgent *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=user_agent,json=userAgent,proto3" json:"user_agent,omitempty"`
|
|
IpAddress *wrapperspb.StringValue `protobuf:"bytes,4,opt,name=ip_address,json=ipAddress,proto3" json:"ip_address,omitempty"`
|
|
Location *wrapperspb.StringValue `protobuf:"bytes,5,opt,name=location,proto3" json:"location,omitempty"`
|
|
AccountId string `protobuf:"bytes,6,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
|
|
SessionId *wrapperspb.StringValue `protobuf:"bytes,7,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CreateActionLogRequest) Reset() {
|
|
*x = CreateActionLogRequest{}
|
|
mi := &file_account_proto_msgTypes[15]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CreateActionLogRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CreateActionLogRequest) ProtoMessage() {}
|
|
|
|
func (x *CreateActionLogRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_account_proto_msgTypes[15]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CreateActionLogRequest.ProtoReflect.Descriptor instead.
|
|
func (*CreateActionLogRequest) Descriptor() ([]byte, []int) {
|
|
return file_account_proto_rawDescGZIP(), []int{15}
|
|
}
|
|
|
|
func (x *CreateActionLogRequest) GetAction() string {
|
|
if x != nil {
|
|
return x.Action
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreateActionLogRequest) GetMeta() map[string]*structpb.Value {
|
|
if x != nil {
|
|
return x.Meta
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *CreateActionLogRequest) GetUserAgent() *wrapperspb.StringValue {
|
|
if x != nil {
|
|
return x.UserAgent
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *CreateActionLogRequest) GetIpAddress() *wrapperspb.StringValue {
|
|
if x != nil {
|
|
return x.IpAddress
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *CreateActionLogRequest) GetLocation() *wrapperspb.StringValue {
|
|
if x != nil {
|
|
return x.Location
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *CreateActionLogRequest) GetAccountId() string {
|
|
if x != nil {
|
|
return x.AccountId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreateActionLogRequest) GetSessionId() *wrapperspb.StringValue {
|
|
if x != nil {
|
|
return x.SessionId
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type CreateActionLogResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ActionLog *ActionLog `protobuf:"bytes,1,opt,name=action_log,json=actionLog,proto3" json:"action_log,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CreateActionLogResponse) Reset() {
|
|
*x = CreateActionLogResponse{}
|
|
mi := &file_account_proto_msgTypes[16]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CreateActionLogResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CreateActionLogResponse) ProtoMessage() {}
|
|
|
|
func (x *CreateActionLogResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_account_proto_msgTypes[16]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CreateActionLogResponse.ProtoReflect.Descriptor instead.
|
|
func (*CreateActionLogResponse) Descriptor() ([]byte, []int) {
|
|
return file_account_proto_rawDescGZIP(), []int{16}
|
|
}
|
|
|
|
func (x *CreateActionLogResponse) GetActionLog() *ActionLog {
|
|
if x != nil {
|
|
return x.ActionLog
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ListActionLogsRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
AccountId string `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
|
|
Action string `protobuf:"bytes,2,opt,name=action,proto3" json:"action,omitempty"`
|
|
PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
|
|
PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
|
|
OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListActionLogsRequest) Reset() {
|
|
*x = ListActionLogsRequest{}
|
|
mi := &file_account_proto_msgTypes[17]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListActionLogsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListActionLogsRequest) ProtoMessage() {}
|
|
|
|
func (x *ListActionLogsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_account_proto_msgTypes[17]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListActionLogsRequest.ProtoReflect.Descriptor instead.
|
|
func (*ListActionLogsRequest) Descriptor() ([]byte, []int) {
|
|
return file_account_proto_rawDescGZIP(), []int{17}
|
|
}
|
|
|
|
func (x *ListActionLogsRequest) GetAccountId() string {
|
|
if x != nil {
|
|
return x.AccountId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ListActionLogsRequest) GetAction() string {
|
|
if x != nil {
|
|
return x.Action
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ListActionLogsRequest) GetPageSize() int32 {
|
|
if x != nil {
|
|
return x.PageSize
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ListActionLogsRequest) GetPageToken() string {
|
|
if x != nil {
|
|
return x.PageToken
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ListActionLogsRequest) GetOrderBy() string {
|
|
if x != nil {
|
|
return x.OrderBy
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ListActionLogsResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ActionLogs []*ActionLog `protobuf:"bytes,1,rep,name=action_logs,json=actionLogs,proto3" json:"action_logs,omitempty"`
|
|
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
|
|
TotalSize int32 `protobuf:"varint,3,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListActionLogsResponse) Reset() {
|
|
*x = ListActionLogsResponse{}
|
|
mi := &file_account_proto_msgTypes[18]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListActionLogsResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListActionLogsResponse) ProtoMessage() {}
|
|
|
|
func (x *ListActionLogsResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_account_proto_msgTypes[18]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListActionLogsResponse.ProtoReflect.Descriptor instead.
|
|
func (*ListActionLogsResponse) Descriptor() ([]byte, []int) {
|
|
return file_account_proto_rawDescGZIP(), []int{18}
|
|
}
|
|
|
|
func (x *ListActionLogsResponse) GetActionLogs() []*ActionLog {
|
|
if x != nil {
|
|
return x.ActionLogs
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ListActionLogsResponse) GetNextPageToken() string {
|
|
if x != nil {
|
|
return x.NextPageToken
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ListActionLogsResponse) GetTotalSize() int32 {
|
|
if x != nil {
|
|
return x.TotalSize
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// Account Requests/Responses
|
|
type GetAccountRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Account ID to retrieve
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetAccountRequest) Reset() {
|
|
*x = GetAccountRequest{}
|
|
mi := &file_account_proto_msgTypes[19]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetAccountRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetAccountRequest) ProtoMessage() {}
|
|
|
|
func (x *GetAccountRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_account_proto_msgTypes[19]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetAccountRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetAccountRequest) Descriptor() ([]byte, []int) {
|
|
return file_account_proto_rawDescGZIP(), []int{19}
|
|
}
|
|
|
|
func (x *GetAccountRequest) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetBotAccountRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
AutomatedId string `protobuf:"bytes,1,opt,name=automated_id,json=automatedId,proto3" json:"automated_id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetBotAccountRequest) Reset() {
|
|
*x = GetBotAccountRequest{}
|
|
mi := &file_account_proto_msgTypes[20]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetBotAccountRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetBotAccountRequest) ProtoMessage() {}
|
|
|
|
func (x *GetBotAccountRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_account_proto_msgTypes[20]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetBotAccountRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetBotAccountRequest) Descriptor() ([]byte, []int) {
|
|
return file_account_proto_rawDescGZIP(), []int{20}
|
|
}
|
|
|
|
func (x *GetBotAccountRequest) GetAutomatedId() string {
|
|
if x != nil {
|
|
return x.AutomatedId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetAccountBatchRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id []string `protobuf:"bytes,1,rep,name=id,proto3" json:"id,omitempty"` // Account ID to retrieve
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetAccountBatchRequest) Reset() {
|
|
*x = GetAccountBatchRequest{}
|
|
mi := &file_account_proto_msgTypes[21]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetAccountBatchRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetAccountBatchRequest) ProtoMessage() {}
|
|
|
|
func (x *GetAccountBatchRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_account_proto_msgTypes[21]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetAccountBatchRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetAccountBatchRequest) Descriptor() ([]byte, []int) {
|
|
return file_account_proto_rawDescGZIP(), []int{21}
|
|
}
|
|
|
|
func (x *GetAccountBatchRequest) GetId() []string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetBotAccountBatchRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
AutomatedId []string `protobuf:"bytes,1,rep,name=automated_id,json=automatedId,proto3" json:"automated_id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetBotAccountBatchRequest) Reset() {
|
|
*x = GetBotAccountBatchRequest{}
|
|
mi := &file_account_proto_msgTypes[22]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetBotAccountBatchRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetBotAccountBatchRequest) ProtoMessage() {}
|
|
|
|
func (x *GetBotAccountBatchRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_account_proto_msgTypes[22]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetBotAccountBatchRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetBotAccountBatchRequest) Descriptor() ([]byte, []int) {
|
|
return file_account_proto_rawDescGZIP(), []int{22}
|
|
}
|
|
|
|
func (x *GetBotAccountBatchRequest) GetAutomatedId() []string {
|
|
if x != nil {
|
|
return x.AutomatedId
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type LookupAccountBatchRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Names []string `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *LookupAccountBatchRequest) Reset() {
|
|
*x = LookupAccountBatchRequest{}
|
|
mi := &file_account_proto_msgTypes[23]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *LookupAccountBatchRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*LookupAccountBatchRequest) ProtoMessage() {}
|
|
|
|
func (x *LookupAccountBatchRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_account_proto_msgTypes[23]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use LookupAccountBatchRequest.ProtoReflect.Descriptor instead.
|
|
func (*LookupAccountBatchRequest) Descriptor() ([]byte, []int) {
|
|
return file_account_proto_rawDescGZIP(), []int{23}
|
|
}
|
|
|
|
func (x *LookupAccountBatchRequest) GetNames() []string {
|
|
if x != nil {
|
|
return x.Names
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type SearchAccountRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Query string `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SearchAccountRequest) Reset() {
|
|
*x = SearchAccountRequest{}
|
|
mi := &file_account_proto_msgTypes[24]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SearchAccountRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SearchAccountRequest) ProtoMessage() {}
|
|
|
|
func (x *SearchAccountRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_account_proto_msgTypes[24]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SearchAccountRequest.ProtoReflect.Descriptor instead.
|
|
func (*SearchAccountRequest) Descriptor() ([]byte, []int) {
|
|
return file_account_proto_rawDescGZIP(), []int{24}
|
|
}
|
|
|
|
func (x *SearchAccountRequest) GetQuery() string {
|
|
if x != nil {
|
|
return x.Query
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetAccountBatchResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Accounts []*Account `protobuf:"bytes,1,rep,name=accounts,proto3" json:"accounts,omitempty"` // List of accounts
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetAccountBatchResponse) Reset() {
|
|
*x = GetAccountBatchResponse{}
|
|
mi := &file_account_proto_msgTypes[25]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetAccountBatchResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetAccountBatchResponse) ProtoMessage() {}
|
|
|
|
func (x *GetAccountBatchResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_account_proto_msgTypes[25]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetAccountBatchResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetAccountBatchResponse) Descriptor() ([]byte, []int) {
|
|
return file_account_proto_rawDescGZIP(), []int{25}
|
|
}
|
|
|
|
func (x *GetAccountBatchResponse) GetAccounts() []*Account {
|
|
if x != nil {
|
|
return x.Accounts
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type CreateAccountRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Required: Unique username
|
|
Nick string `protobuf:"bytes,2,opt,name=nick,proto3" json:"nick,omitempty"` // Optional: Display name
|
|
Language string `protobuf:"bytes,3,opt,name=language,proto3" json:"language,omitempty"` // Default language
|
|
IsSuperuser bool `protobuf:"varint,4,opt,name=is_superuser,json=isSuperuser,proto3" json:"is_superuser,omitempty"` // Admin flag
|
|
Profile *AccountProfile `protobuf:"bytes,5,opt,name=profile,proto3" json:"profile,omitempty"` // Initial profile data
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CreateAccountRequest) Reset() {
|
|
*x = CreateAccountRequest{}
|
|
mi := &file_account_proto_msgTypes[26]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CreateAccountRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CreateAccountRequest) ProtoMessage() {}
|
|
|
|
func (x *CreateAccountRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_account_proto_msgTypes[26]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CreateAccountRequest.ProtoReflect.Descriptor instead.
|
|
func (*CreateAccountRequest) Descriptor() ([]byte, []int) {
|
|
return file_account_proto_rawDescGZIP(), []int{26}
|
|
}
|
|
|
|
func (x *CreateAccountRequest) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreateAccountRequest) GetNick() string {
|
|
if x != nil {
|
|
return x.Nick
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreateAccountRequest) GetLanguage() string {
|
|
if x != nil {
|
|
return x.Language
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreateAccountRequest) GetIsSuperuser() bool {
|
|
if x != nil {
|
|
return x.IsSuperuser
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *CreateAccountRequest) GetProfile() *AccountProfile {
|
|
if x != nil {
|
|
return x.Profile
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type UpdateAccountRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Account ID to update
|
|
Name *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // New username if changing
|
|
Nick *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=nick,proto3" json:"nick,omitempty"` // New display name
|
|
Language *wrapperspb.StringValue `protobuf:"bytes,4,opt,name=language,proto3" json:"language,omitempty"` // New language
|
|
IsSuperuser *wrapperspb.BoolValue `protobuf:"bytes,5,opt,name=is_superuser,json=isSuperuser,proto3" json:"is_superuser,omitempty"` // Admin status
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UpdateAccountRequest) Reset() {
|
|
*x = UpdateAccountRequest{}
|
|
mi := &file_account_proto_msgTypes[27]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UpdateAccountRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UpdateAccountRequest) ProtoMessage() {}
|
|
|
|
func (x *UpdateAccountRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_account_proto_msgTypes[27]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UpdateAccountRequest.ProtoReflect.Descriptor instead.
|
|
func (*UpdateAccountRequest) Descriptor() ([]byte, []int) {
|
|
return file_account_proto_rawDescGZIP(), []int{27}
|
|
}
|
|
|
|
func (x *UpdateAccountRequest) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UpdateAccountRequest) GetName() *wrapperspb.StringValue {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *UpdateAccountRequest) GetNick() *wrapperspb.StringValue {
|
|
if x != nil {
|
|
return x.Nick
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *UpdateAccountRequest) GetLanguage() *wrapperspb.StringValue {
|
|
if x != nil {
|
|
return x.Language
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *UpdateAccountRequest) GetIsSuperuser() *wrapperspb.BoolValue {
|
|
if x != nil {
|
|
return x.IsSuperuser
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type DeleteAccountRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Account ID to delete
|
|
Purge bool `protobuf:"varint,2,opt,name=purge,proto3" json:"purge,omitempty"` // If true, permanently delete instead of soft delete
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DeleteAccountRequest) Reset() {
|
|
*x = DeleteAccountRequest{}
|
|
mi := &file_account_proto_msgTypes[28]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DeleteAccountRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeleteAccountRequest) ProtoMessage() {}
|
|
|
|
func (x *DeleteAccountRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_account_proto_msgTypes[28]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DeleteAccountRequest.ProtoReflect.Descriptor instead.
|
|
func (*DeleteAccountRequest) Descriptor() ([]byte, []int) {
|
|
return file_account_proto_rawDescGZIP(), []int{28}
|
|
}
|
|
|
|
func (x *DeleteAccountRequest) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DeleteAccountRequest) GetPurge() bool {
|
|
if x != nil {
|
|
return x.Purge
|
|
}
|
|
return false
|
|
}
|
|
|
|
type ListAccountsRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
PageSize int32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Number of results per page
|
|
PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // Token for pagination
|
|
Filter string `protobuf:"bytes,3,opt,name=filter,proto3" json:"filter,omitempty"` // Filter expression
|
|
OrderBy string `protobuf:"bytes,4,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"` // Sort order
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListAccountsRequest) Reset() {
|
|
*x = ListAccountsRequest{}
|
|
mi := &file_account_proto_msgTypes[29]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListAccountsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListAccountsRequest) ProtoMessage() {}
|
|
|
|
func (x *ListAccountsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_account_proto_msgTypes[29]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListAccountsRequest.ProtoReflect.Descriptor instead.
|
|
func (*ListAccountsRequest) Descriptor() ([]byte, []int) {
|
|
return file_account_proto_rawDescGZIP(), []int{29}
|
|
}
|
|
|
|
func (x *ListAccountsRequest) GetPageSize() int32 {
|
|
if x != nil {
|
|
return x.PageSize
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ListAccountsRequest) GetPageToken() string {
|
|
if x != nil {
|
|
return x.PageToken
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ListAccountsRequest) GetFilter() string {
|
|
if x != nil {
|
|
return x.Filter
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ListAccountsRequest) GetOrderBy() string {
|
|
if x != nil {
|
|
return x.OrderBy
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ListAccountsResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Accounts []*Account `protobuf:"bytes,1,rep,name=accounts,proto3" json:"accounts,omitempty"` // List of accounts
|
|
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // Token for next page
|
|
TotalSize int32 `protobuf:"varint,3,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"` // Total number of accounts
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListAccountsResponse) Reset() {
|
|
*x = ListAccountsResponse{}
|
|
mi := &file_account_proto_msgTypes[30]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListAccountsResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListAccountsResponse) ProtoMessage() {}
|
|
|
|
func (x *ListAccountsResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_account_proto_msgTypes[30]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListAccountsResponse.ProtoReflect.Descriptor instead.
|
|
func (*ListAccountsResponse) Descriptor() ([]byte, []int) {
|
|
return file_account_proto_rawDescGZIP(), []int{30}
|
|
}
|
|
|
|
func (x *ListAccountsResponse) GetAccounts() []*Account {
|
|
if x != nil {
|
|
return x.Accounts
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ListAccountsResponse) GetNextPageToken() string {
|
|
if x != nil {
|
|
return x.NextPageToken
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ListAccountsResponse) GetTotalSize() int32 {
|
|
if x != nil {
|
|
return x.TotalSize
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// Profile Requests/Responses
|
|
type GetProfileRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
AccountId string `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` // Account ID to get profile for
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetProfileRequest) Reset() {
|
|
*x = GetProfileRequest{}
|
|
mi := &file_account_proto_msgTypes[31]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetProfileRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetProfileRequest) ProtoMessage() {}
|
|
|
|
func (x *GetProfileRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_account_proto_msgTypes[31]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetProfileRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetProfileRequest) Descriptor() ([]byte, []int) {
|
|
return file_account_proto_rawDescGZIP(), []int{31}
|
|
}
|
|
|
|
func (x *GetProfileRequest) GetAccountId() string {
|
|
if x != nil {
|
|
return x.AccountId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type UpdateProfileRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
AccountId string `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` // Account ID to update profile for
|
|
Profile *AccountProfile `protobuf:"bytes,2,opt,name=profile,proto3" json:"profile,omitempty"` // Profile data to update
|
|
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // Fields to update
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UpdateProfileRequest) Reset() {
|
|
*x = UpdateProfileRequest{}
|
|
mi := &file_account_proto_msgTypes[32]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UpdateProfileRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UpdateProfileRequest) ProtoMessage() {}
|
|
|
|
func (x *UpdateProfileRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_account_proto_msgTypes[32]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UpdateProfileRequest.ProtoReflect.Descriptor instead.
|
|
func (*UpdateProfileRequest) Descriptor() ([]byte, []int) {
|
|
return file_account_proto_rawDescGZIP(), []int{32}
|
|
}
|
|
|
|
func (x *UpdateProfileRequest) GetAccountId() string {
|
|
if x != nil {
|
|
return x.AccountId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UpdateProfileRequest) GetProfile() *AccountProfile {
|
|
if x != nil {
|
|
return x.Profile
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *UpdateProfileRequest) GetUpdateMask() *fieldmaskpb.FieldMask {
|
|
if x != nil {
|
|
return x.UpdateMask
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// Contact Requests/Responses
|
|
type AddContactRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
AccountId string `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` // Account to add contact to
|
|
Type AccountContactType `protobuf:"varint,2,opt,name=type,proto3,enum=proto.AccountContactType" json:"type,omitempty"` // Type of contact
|
|
Content string `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"` // Contact content (email, phone, etc.)
|
|
IsPrimary bool `protobuf:"varint,4,opt,name=is_primary,json=isPrimary,proto3" json:"is_primary,omitempty"` // If this should be the primary contact
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *AddContactRequest) Reset() {
|
|
*x = AddContactRequest{}
|
|
mi := &file_account_proto_msgTypes[33]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *AddContactRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AddContactRequest) ProtoMessage() {}
|
|
|
|
func (x *AddContactRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_account_proto_msgTypes[33]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use AddContactRequest.ProtoReflect.Descriptor instead.
|
|
func (*AddContactRequest) Descriptor() ([]byte, []int) {
|
|
return file_account_proto_rawDescGZIP(), []int{33}
|
|
}
|
|
|
|
func (x *AddContactRequest) GetAccountId() string {
|
|
if x != nil {
|
|
return x.AccountId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AddContactRequest) GetType() AccountContactType {
|
|
if x != nil {
|
|
return x.Type
|
|
}
|
|
return AccountContactType_ACCOUNT_CONTACT_TYPE_UNSPECIFIED
|
|
}
|
|
|
|
func (x *AddContactRequest) GetContent() string {
|
|
if x != nil {
|
|
return x.Content
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AddContactRequest) GetIsPrimary() bool {
|
|
if x != nil {
|
|
return x.IsPrimary
|
|
}
|
|
return false
|
|
}
|
|
|
|
type ListContactsRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
AccountId string `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` // Account ID to list contacts for
|
|
Type AccountContactType `protobuf:"varint,2,opt,name=type,proto3,enum=proto.AccountContactType" json:"type,omitempty"` // Optional: filter by type
|
|
VerifiedOnly bool `protobuf:"varint,3,opt,name=verified_only,json=verifiedOnly,proto3" json:"verified_only,omitempty"` // Only return verified contacts
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListContactsRequest) Reset() {
|
|
*x = ListContactsRequest{}
|
|
mi := &file_account_proto_msgTypes[34]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListContactsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListContactsRequest) ProtoMessage() {}
|
|
|
|
func (x *ListContactsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_account_proto_msgTypes[34]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListContactsRequest.ProtoReflect.Descriptor instead.
|
|
func (*ListContactsRequest) Descriptor() ([]byte, []int) {
|
|
return file_account_proto_rawDescGZIP(), []int{34}
|
|
}
|
|
|
|
func (x *ListContactsRequest) GetAccountId() string {
|
|
if x != nil {
|
|
return x.AccountId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ListContactsRequest) GetType() AccountContactType {
|
|
if x != nil {
|
|
return x.Type
|
|
}
|
|
return AccountContactType_ACCOUNT_CONTACT_TYPE_UNSPECIFIED
|
|
}
|
|
|
|
func (x *ListContactsRequest) GetVerifiedOnly() bool {
|
|
if x != nil {
|
|
return x.VerifiedOnly
|
|
}
|
|
return false
|
|
}
|
|
|
|
type ListContactsResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Contacts []*AccountContact `protobuf:"bytes,1,rep,name=contacts,proto3" json:"contacts,omitempty"` // List of contacts
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListContactsResponse) Reset() {
|
|
*x = ListContactsResponse{}
|
|
mi := &file_account_proto_msgTypes[35]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListContactsResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListContactsResponse) ProtoMessage() {}
|
|
|
|
func (x *ListContactsResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_account_proto_msgTypes[35]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListContactsResponse.ProtoReflect.Descriptor instead.
|
|
func (*ListContactsResponse) Descriptor() ([]byte, []int) {
|
|
return file_account_proto_rawDescGZIP(), []int{35}
|
|
}
|
|
|
|
func (x *ListContactsResponse) GetContacts() []*AccountContact {
|
|
if x != nil {
|
|
return x.Contacts
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type VerifyContactRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Contact ID to verify
|
|
AccountId string `protobuf:"bytes,2,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` // Account ID (for validation)
|
|
Code string `protobuf:"bytes,3,opt,name=code,proto3" json:"code,omitempty"` // Verification code
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *VerifyContactRequest) Reset() {
|
|
*x = VerifyContactRequest{}
|
|
mi := &file_account_proto_msgTypes[36]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *VerifyContactRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*VerifyContactRequest) ProtoMessage() {}
|
|
|
|
func (x *VerifyContactRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_account_proto_msgTypes[36]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use VerifyContactRequest.ProtoReflect.Descriptor instead.
|
|
func (*VerifyContactRequest) Descriptor() ([]byte, []int) {
|
|
return file_account_proto_rawDescGZIP(), []int{36}
|
|
}
|
|
|
|
func (x *VerifyContactRequest) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *VerifyContactRequest) GetAccountId() string {
|
|
if x != nil {
|
|
return x.AccountId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *VerifyContactRequest) GetCode() string {
|
|
if x != nil {
|
|
return x.Code
|
|
}
|
|
return ""
|
|
}
|
|
|
|
// Badge Requests/Responses
|
|
type ListBadgesRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
AccountId string `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` // Account to list badges for
|
|
Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` // Optional: filter by type
|
|
ActiveOnly bool `protobuf:"varint,3,opt,name=active_only,json=activeOnly,proto3" json:"active_only,omitempty"` // Only return active (non-expired) badges
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListBadgesRequest) Reset() {
|
|
*x = ListBadgesRequest{}
|
|
mi := &file_account_proto_msgTypes[37]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListBadgesRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListBadgesRequest) ProtoMessage() {}
|
|
|
|
func (x *ListBadgesRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_account_proto_msgTypes[37]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListBadgesRequest.ProtoReflect.Descriptor instead.
|
|
func (*ListBadgesRequest) Descriptor() ([]byte, []int) {
|
|
return file_account_proto_rawDescGZIP(), []int{37}
|
|
}
|
|
|
|
func (x *ListBadgesRequest) GetAccountId() string {
|
|
if x != nil {
|
|
return x.AccountId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ListBadgesRequest) GetType() string {
|
|
if x != nil {
|
|
return x.Type
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ListBadgesRequest) GetActiveOnly() bool {
|
|
if x != nil {
|
|
return x.ActiveOnly
|
|
}
|
|
return false
|
|
}
|
|
|
|
type ListBadgesResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Badges []*AccountBadge `protobuf:"bytes,1,rep,name=badges,proto3" json:"badges,omitempty"` // List of badges
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListBadgesResponse) Reset() {
|
|
*x = ListBadgesResponse{}
|
|
mi := &file_account_proto_msgTypes[38]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListBadgesResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListBadgesResponse) ProtoMessage() {}
|
|
|
|
func (x *ListBadgesResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_account_proto_msgTypes[38]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListBadgesResponse.ProtoReflect.Descriptor instead.
|
|
func (*ListBadgesResponse) Descriptor() ([]byte, []int) {
|
|
return file_account_proto_rawDescGZIP(), []int{38}
|
|
}
|
|
|
|
func (x *ListBadgesResponse) GetBadges() []*AccountBadge {
|
|
if x != nil {
|
|
return x.Badges
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ListAuthFactorsRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
AccountId string `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` // Account to list factors for
|
|
ActiveOnly bool `protobuf:"varint,2,opt,name=active_only,json=activeOnly,proto3" json:"active_only,omitempty"` // Only return active (non-expired) factors
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListAuthFactorsRequest) Reset() {
|
|
*x = ListAuthFactorsRequest{}
|
|
mi := &file_account_proto_msgTypes[39]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListAuthFactorsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListAuthFactorsRequest) ProtoMessage() {}
|
|
|
|
func (x *ListAuthFactorsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_account_proto_msgTypes[39]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListAuthFactorsRequest.ProtoReflect.Descriptor instead.
|
|
func (*ListAuthFactorsRequest) Descriptor() ([]byte, []int) {
|
|
return file_account_proto_rawDescGZIP(), []int{39}
|
|
}
|
|
|
|
func (x *ListAuthFactorsRequest) GetAccountId() string {
|
|
if x != nil {
|
|
return x.AccountId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ListAuthFactorsRequest) GetActiveOnly() bool {
|
|
if x != nil {
|
|
return x.ActiveOnly
|
|
}
|
|
return false
|
|
}
|
|
|
|
type ListAuthFactorsResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Factors []*AccountAuthFactor `protobuf:"bytes,1,rep,name=factors,proto3" json:"factors,omitempty"` // List of auth factors
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListAuthFactorsResponse) Reset() {
|
|
*x = ListAuthFactorsResponse{}
|
|
mi := &file_account_proto_msgTypes[40]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListAuthFactorsResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListAuthFactorsResponse) ProtoMessage() {}
|
|
|
|
func (x *ListAuthFactorsResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_account_proto_msgTypes[40]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListAuthFactorsResponse.ProtoReflect.Descriptor instead.
|
|
func (*ListAuthFactorsResponse) Descriptor() ([]byte, []int) {
|
|
return file_account_proto_rawDescGZIP(), []int{40}
|
|
}
|
|
|
|
func (x *ListAuthFactorsResponse) GetFactors() []*AccountAuthFactor {
|
|
if x != nil {
|
|
return x.Factors
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ListConnectionsRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
AccountId string `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` // Account to list connections for
|
|
Provider string `protobuf:"bytes,2,opt,name=provider,proto3" json:"provider,omitempty"` // Optional: filter by provider
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListConnectionsRequest) Reset() {
|
|
*x = ListConnectionsRequest{}
|
|
mi := &file_account_proto_msgTypes[41]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListConnectionsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListConnectionsRequest) ProtoMessage() {}
|
|
|
|
func (x *ListConnectionsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_account_proto_msgTypes[41]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListConnectionsRequest.ProtoReflect.Descriptor instead.
|
|
func (*ListConnectionsRequest) Descriptor() ([]byte, []int) {
|
|
return file_account_proto_rawDescGZIP(), []int{41}
|
|
}
|
|
|
|
func (x *ListConnectionsRequest) GetAccountId() string {
|
|
if x != nil {
|
|
return x.AccountId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ListConnectionsRequest) GetProvider() string {
|
|
if x != nil {
|
|
return x.Provider
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ListConnectionsResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Connections []*AccountConnection `protobuf:"bytes,1,rep,name=connections,proto3" json:"connections,omitempty"` // List of connections
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListConnectionsResponse) Reset() {
|
|
*x = ListConnectionsResponse{}
|
|
mi := &file_account_proto_msgTypes[42]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListConnectionsResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListConnectionsResponse) ProtoMessage() {}
|
|
|
|
func (x *ListConnectionsResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_account_proto_msgTypes[42]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListConnectionsResponse.ProtoReflect.Descriptor instead.
|
|
func (*ListConnectionsResponse) Descriptor() ([]byte, []int) {
|
|
return file_account_proto_rawDescGZIP(), []int{42}
|
|
}
|
|
|
|
func (x *ListConnectionsResponse) GetConnections() []*AccountConnection {
|
|
if x != nil {
|
|
return x.Connections
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// Relationship Requests/Responses
|
|
type ListRelationshipsRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
AccountId string `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` // Account to list relationships for
|
|
Status *int32 `protobuf:"varint,2,opt,name=status,proto3,oneof" json:"status,omitempty"` // Filter by status
|
|
PageSize int32 `protobuf:"varint,5,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Number of results per page
|
|
PageToken string `protobuf:"bytes,6,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // Token for pagination
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListRelationshipsRequest) Reset() {
|
|
*x = ListRelationshipsRequest{}
|
|
mi := &file_account_proto_msgTypes[43]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListRelationshipsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListRelationshipsRequest) ProtoMessage() {}
|
|
|
|
func (x *ListRelationshipsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_account_proto_msgTypes[43]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListRelationshipsRequest.ProtoReflect.Descriptor instead.
|
|
func (*ListRelationshipsRequest) Descriptor() ([]byte, []int) {
|
|
return file_account_proto_rawDescGZIP(), []int{43}
|
|
}
|
|
|
|
func (x *ListRelationshipsRequest) GetAccountId() string {
|
|
if x != nil {
|
|
return x.AccountId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ListRelationshipsRequest) GetStatus() int32 {
|
|
if x != nil && x.Status != nil {
|
|
return *x.Status
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ListRelationshipsRequest) GetPageSize() int32 {
|
|
if x != nil {
|
|
return x.PageSize
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ListRelationshipsRequest) GetPageToken() string {
|
|
if x != nil {
|
|
return x.PageToken
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ListRelationshipsResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Relationships []*Relationship `protobuf:"bytes,1,rep,name=relationships,proto3" json:"relationships,omitempty"` // List of relationships
|
|
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // Token for next page
|
|
TotalSize int32 `protobuf:"varint,3,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"` // Total number of relationships
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListRelationshipsResponse) Reset() {
|
|
*x = ListRelationshipsResponse{}
|
|
mi := &file_account_proto_msgTypes[44]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListRelationshipsResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListRelationshipsResponse) ProtoMessage() {}
|
|
|
|
func (x *ListRelationshipsResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_account_proto_msgTypes[44]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListRelationshipsResponse.ProtoReflect.Descriptor instead.
|
|
func (*ListRelationshipsResponse) Descriptor() ([]byte, []int) {
|
|
return file_account_proto_rawDescGZIP(), []int{44}
|
|
}
|
|
|
|
func (x *ListRelationshipsResponse) GetRelationships() []*Relationship {
|
|
if x != nil {
|
|
return x.Relationships
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ListRelationshipsResponse) GetNextPageToken() string {
|
|
if x != nil {
|
|
return x.NextPageToken
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ListRelationshipsResponse) GetTotalSize() int32 {
|
|
if x != nil {
|
|
return x.TotalSize
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type GetRelationshipRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
AccountId string `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
|
|
RelatedId string `protobuf:"bytes,2,opt,name=related_id,json=relatedId,proto3" json:"related_id,omitempty"`
|
|
Status *int32 `protobuf:"varint,3,opt,name=status,proto3,oneof" json:"status,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetRelationshipRequest) Reset() {
|
|
*x = GetRelationshipRequest{}
|
|
mi := &file_account_proto_msgTypes[45]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetRelationshipRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetRelationshipRequest) ProtoMessage() {}
|
|
|
|
func (x *GetRelationshipRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_account_proto_msgTypes[45]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetRelationshipRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetRelationshipRequest) Descriptor() ([]byte, []int) {
|
|
return file_account_proto_rawDescGZIP(), []int{45}
|
|
}
|
|
|
|
func (x *GetRelationshipRequest) GetAccountId() string {
|
|
if x != nil {
|
|
return x.AccountId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetRelationshipRequest) GetRelatedId() string {
|
|
if x != nil {
|
|
return x.RelatedId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetRelationshipRequest) GetStatus() int32 {
|
|
if x != nil && x.Status != nil {
|
|
return *x.Status
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type GetRelationshipResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Relationship *Relationship `protobuf:"bytes,1,opt,name=relationship,proto3,oneof" json:"relationship,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetRelationshipResponse) Reset() {
|
|
*x = GetRelationshipResponse{}
|
|
mi := &file_account_proto_msgTypes[46]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetRelationshipResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetRelationshipResponse) ProtoMessage() {}
|
|
|
|
func (x *GetRelationshipResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_account_proto_msgTypes[46]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetRelationshipResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetRelationshipResponse) Descriptor() ([]byte, []int) {
|
|
return file_account_proto_rawDescGZIP(), []int{46}
|
|
}
|
|
|
|
func (x *GetRelationshipResponse) GetRelationship() *Relationship {
|
|
if x != nil {
|
|
return x.Relationship
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ListRelationshipSimpleRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
AccountId string `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListRelationshipSimpleRequest) Reset() {
|
|
*x = ListRelationshipSimpleRequest{}
|
|
mi := &file_account_proto_msgTypes[47]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListRelationshipSimpleRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListRelationshipSimpleRequest) ProtoMessage() {}
|
|
|
|
func (x *ListRelationshipSimpleRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_account_proto_msgTypes[47]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListRelationshipSimpleRequest.ProtoReflect.Descriptor instead.
|
|
func (*ListRelationshipSimpleRequest) Descriptor() ([]byte, []int) {
|
|
return file_account_proto_rawDescGZIP(), []int{47}
|
|
}
|
|
|
|
func (x *ListRelationshipSimpleRequest) GetAccountId() string {
|
|
if x != nil {
|
|
return x.AccountId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ListRelationshipSimpleResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
AccountsId []string `protobuf:"bytes,1,rep,name=accounts_id,json=accountsId,proto3" json:"accounts_id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListRelationshipSimpleResponse) Reset() {
|
|
*x = ListRelationshipSimpleResponse{}
|
|
mi := &file_account_proto_msgTypes[48]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListRelationshipSimpleResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListRelationshipSimpleResponse) ProtoMessage() {}
|
|
|
|
func (x *ListRelationshipSimpleResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_account_proto_msgTypes[48]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListRelationshipSimpleResponse.ProtoReflect.Descriptor instead.
|
|
func (*ListRelationshipSimpleResponse) Descriptor() ([]byte, []int) {
|
|
return file_account_proto_rawDescGZIP(), []int{48}
|
|
}
|
|
|
|
func (x *ListRelationshipSimpleResponse) GetAccountsId() []string {
|
|
if x != nil {
|
|
return x.AccountsId
|
|
}
|
|
return nil
|
|
}
|
|
|
|
var File_account_proto protoreflect.FileDescriptor
|
|
|
|
const file_account_proto_rawDesc = "" +
|
|
"\n" +
|
|
"\raccount.proto\x12\x05proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a google/protobuf/field_mask.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\n" +
|
|
"file.proto\x1a\fwallet.proto\"\x9c\a\n" +
|
|
"\aAccount\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n" +
|
|
"\x04name\x18\x02 \x01(\tR\x04name\x12\x12\n" +
|
|
"\x04nick\x18\x03 \x01(\tR\x04nick\x12\x1a\n" +
|
|
"\blanguage\x18\x04 \x01(\tR\blanguage\x12\x16\n" +
|
|
"\x06region\x18\x12 \x01(\tR\x06region\x12=\n" +
|
|
"\factivated_at\x18\x05 \x01(\v2\x1a.google.protobuf.TimestampR\vactivatedAt\x12!\n" +
|
|
"\fis_superuser\x18\x06 \x01(\bR\visSuperuser\x12/\n" +
|
|
"\aprofile\x18\a \x01(\v2\x15.proto.AccountProfileR\aprofile\x12T\n" +
|
|
"\x11perk_subscription\x18\x10 \x01(\v2\".proto.SubscriptionReferenceObjectH\x00R\x10perkSubscription\x88\x01\x01\x121\n" +
|
|
"\bcontacts\x18\b \x03(\v2\x15.proto.AccountContactR\bcontacts\x12+\n" +
|
|
"\x06badges\x18\t \x03(\v2\x13.proto.AccountBadgeR\x06badges\x12;\n" +
|
|
"\fauth_factors\x18\n" +
|
|
" \x03(\v2\x18.proto.AccountAuthFactorR\vauthFactors\x12:\n" +
|
|
"\vconnections\x18\v \x03(\v2\x18.proto.AccountConnectionR\vconnections\x12J\n" +
|
|
"\x16outgoing_relationships\x18\f \x03(\v2\x13.proto.RelationshipR\x15outgoingRelationships\x12J\n" +
|
|
"\x16incoming_relationships\x18\r \x03(\v2\x13.proto.RelationshipR\x15incomingRelationships\x129\n" +
|
|
"\n" +
|
|
"created_at\x18\x0e \x01(\v2\x1a.google.protobuf.TimestampR\tcreatedAt\x129\n" +
|
|
"\n" +
|
|
"updated_at\x18\x0f \x01(\v2\x1a.google.protobuf.TimestampR\tupdatedAt\x12?\n" +
|
|
"\fautomated_id\x18\x11 \x01(\v2\x1c.google.protobuf.StringValueR\vautomatedIdB\x14\n" +
|
|
"\x12_perk_subscription\"\xff\x02\n" +
|
|
"\rAccountStatus\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\tR\x02id\x121\n" +
|
|
"\battitude\x18\x02 \x01(\x0e2\x15.proto.StatusAttitudeR\battitude\x12\x1b\n" +
|
|
"\tis_online\x18\x03 \x01(\bR\bisOnline\x12#\n" +
|
|
"\ris_customized\x18\x04 \x01(\bR\fisCustomized\x12!\n" +
|
|
"\fis_invisible\x18\x05 \x01(\bR\visInvisible\x12$\n" +
|
|
"\x0eis_not_disturb\x18\x06 \x01(\bR\fisNotDisturb\x122\n" +
|
|
"\x05label\x18\a \x01(\v2\x1c.google.protobuf.StringValueR\x05label\x129\n" +
|
|
"\n" +
|
|
"cleared_at\x18\b \x01(\v2\x1a.google.protobuf.TimestampR\tclearedAt\x12\x1d\n" +
|
|
"\n" +
|
|
"account_id\x18\t \x01(\tR\taccountId\x12\x12\n" +
|
|
"\x04meta\x18\n" +
|
|
" \x01(\fR\x04meta\"\xab\x01\n" +
|
|
"\rUsernameColor\x12\x12\n" +
|
|
"\x04type\x18\x01 \x01(\tR\x04type\x122\n" +
|
|
"\x05value\x18\x02 \x01(\v2\x1c.google.protobuf.StringValueR\x05value\x12:\n" +
|
|
"\tdirection\x18\x03 \x01(\v2\x1c.google.protobuf.StringValueR\tdirection\x12\x16\n" +
|
|
"\x06colors\x18\x04 \x03(\tR\x06colors\"3\n" +
|
|
"\vProfileLink\x12\x12\n" +
|
|
"\x04name\x18\x01 \x01(\tR\x04name\x12\x10\n" +
|
|
"\x03url\x18\x02 \x01(\tR\x03url\"\x8d\n" +
|
|
"\n" +
|
|
"\x0eAccountProfile\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\tR\x02id\x12;\n" +
|
|
"\n" +
|
|
"first_name\x18\x02 \x01(\v2\x1c.google.protobuf.StringValueR\tfirstName\x12=\n" +
|
|
"\vmiddle_name\x18\x03 \x01(\v2\x1c.google.protobuf.StringValueR\n" +
|
|
"middleName\x129\n" +
|
|
"\tlast_name\x18\x04 \x01(\v2\x1c.google.protobuf.StringValueR\blastName\x12.\n" +
|
|
"\x03bio\x18\x05 \x01(\v2\x1c.google.protobuf.StringValueR\x03bio\x124\n" +
|
|
"\x06gender\x18\x06 \x01(\v2\x1c.google.protobuf.StringValueR\x06gender\x128\n" +
|
|
"\bpronouns\x18\a \x01(\v2\x1c.google.protobuf.StringValueR\bpronouns\x129\n" +
|
|
"\ttime_zone\x18\b \x01(\v2\x1c.google.protobuf.StringValueR\btimeZone\x128\n" +
|
|
"\blocation\x18\t \x01(\v2\x1c.google.protobuf.StringValueR\blocation\x126\n" +
|
|
"\bbirthday\x18\n" +
|
|
" \x01(\v2\x1a.google.protobuf.TimestampR\bbirthday\x12<\n" +
|
|
"\flast_seen_at\x18\v \x01(\v2\x1a.google.protobuf.TimestampR\n" +
|
|
"lastSeenAt\x12;\n" +
|
|
"\fverification\x18\f \x01(\v2\x17.proto.VerificationMarkR\fverification\x12>\n" +
|
|
"\factive_badge\x18\r \x01(\v2\x1b.proto.BadgeReferenceObjectR\vactiveBadge\x12\x1e\n" +
|
|
"\n" +
|
|
"experience\x18\x0e \x01(\x05R\n" +
|
|
"experience\x12\x14\n" +
|
|
"\x05level\x18\x0f \x01(\x05R\x05level\x12+\n" +
|
|
"\x11leveling_progress\x18\x10 \x01(\x01R\x10levelingProgress\x12%\n" +
|
|
"\x0esocial_credits\x18\x11 \x01(\x01R\rsocialCredits\x120\n" +
|
|
"\x14social_credits_level\x18\x12 \x01(\x05R\x12socialCreditsLevel\x12*\n" +
|
|
"\apicture\x18\x13 \x01(\v2\x10.proto.CloudFileR\apicture\x120\n" +
|
|
"\n" +
|
|
"background\x18\x14 \x01(\v2\x10.proto.CloudFileR\n" +
|
|
"background\x12\x1d\n" +
|
|
"\n" +
|
|
"account_id\x18\x15 \x01(\tR\taccountId\x129\n" +
|
|
"\n" +
|
|
"created_at\x18\x16 \x01(\v2\x1a.google.protobuf.TimestampR\tcreatedAt\x129\n" +
|
|
"\n" +
|
|
"updated_at\x18\x17 \x01(\v2\x1a.google.protobuf.TimestampR\tupdatedAt\x12@\n" +
|
|
"\x0eusername_color\x18\x18 \x01(\v2\x14.proto.UsernameColorH\x00R\rusernameColor\x88\x01\x01\x12(\n" +
|
|
"\x05links\x18\x19 \x03(\v2\x12.proto.ProfileLinkR\x05linksB\x11\n" +
|
|
"\x0f_username_color\"\xda\x02\n" +
|
|
"\x0eAccountContact\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\tR\x02id\x12-\n" +
|
|
"\x04type\x18\x02 \x01(\x0e2\x19.proto.AccountContactTypeR\x04type\x12;\n" +
|
|
"\vverified_at\x18\x03 \x01(\v2\x1a.google.protobuf.TimestampR\n" +
|
|
"verifiedAt\x12\x1d\n" +
|
|
"\n" +
|
|
"is_primary\x18\x04 \x01(\bR\tisPrimary\x12\x18\n" +
|
|
"\acontent\x18\x05 \x01(\tR\acontent\x12\x1d\n" +
|
|
"\n" +
|
|
"account_id\x18\x06 \x01(\tR\taccountId\x129\n" +
|
|
"\n" +
|
|
"created_at\x18\a \x01(\v2\x1a.google.protobuf.TimestampR\tcreatedAt\x129\n" +
|
|
"\n" +
|
|
"updated_at\x18\b \x01(\v2\x1a.google.protobuf.TimestampR\tupdatedAt\"\xff\x05\n" +
|
|
"\x11AccountAuthFactor\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\tR\x02id\x120\n" +
|
|
"\x04type\x18\x02 \x01(\x0e2\x1c.proto.AccountAuthFactorTypeR\x04type\x124\n" +
|
|
"\x06secret\x18\x03 \x01(\v2\x1c.google.protobuf.StringValueR\x06secret\x12<\n" +
|
|
"\x06config\x18\x04 \x03(\v2$.proto.AccountAuthFactor.ConfigEntryR\x06config\x12 \n" +
|
|
"\vtrustworthy\x18\x05 \x01(\x05R\vtrustworthy\x129\n" +
|
|
"\n" +
|
|
"enabled_at\x18\x06 \x01(\v2\x1a.google.protobuf.TimestampR\tenabledAt\x129\n" +
|
|
"\n" +
|
|
"expired_at\x18\a \x01(\v2\x1a.google.protobuf.TimestampR\texpiredAt\x12\x1d\n" +
|
|
"\n" +
|
|
"account_id\x18\b \x01(\tR\taccountId\x12X\n" +
|
|
"\x10created_response\x18\t \x03(\v2-.proto.AccountAuthFactor.CreatedResponseEntryR\x0fcreatedResponse\x129\n" +
|
|
"\n" +
|
|
"created_at\x18\n" +
|
|
" \x01(\v2\x1a.google.protobuf.TimestampR\tcreatedAt\x129\n" +
|
|
"\n" +
|
|
"updated_at\x18\v \x01(\v2\x1a.google.protobuf.TimestampR\tupdatedAt\x1aQ\n" +
|
|
"\vConfigEntry\x12\x10\n" +
|
|
"\x03key\x18\x01 \x01(\tR\x03key\x12,\n" +
|
|
"\x05value\x18\x02 \x01(\v2\x16.google.protobuf.ValueR\x05value:\x028\x01\x1aZ\n" +
|
|
"\x14CreatedResponseEntry\x12\x10\n" +
|
|
"\x03key\x18\x01 \x01(\tR\x03key\x12,\n" +
|
|
"\x05value\x18\x02 \x01(\v2\x16.google.protobuf.ValueR\x05value:\x028\x01\"\xb1\x04\n" +
|
|
"\fAccountBadge\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n" +
|
|
"\x04type\x18\x02 \x01(\tR\x04type\x122\n" +
|
|
"\x05label\x18\x03 \x01(\v2\x1c.google.protobuf.StringValueR\x05label\x126\n" +
|
|
"\acaption\x18\x04 \x01(\v2\x1c.google.protobuf.StringValueR\acaption\x121\n" +
|
|
"\x04meta\x18\x05 \x03(\v2\x1d.proto.AccountBadge.MetaEntryR\x04meta\x12=\n" +
|
|
"\factivated_at\x18\x06 \x01(\v2\x1a.google.protobuf.TimestampR\vactivatedAt\x129\n" +
|
|
"\n" +
|
|
"expired_at\x18\a \x01(\v2\x1a.google.protobuf.TimestampR\texpiredAt\x12\x1d\n" +
|
|
"\n" +
|
|
"account_id\x18\b \x01(\tR\taccountId\x129\n" +
|
|
"\n" +
|
|
"created_at\x18\t \x01(\v2\x1a.google.protobuf.TimestampR\tcreatedAt\x129\n" +
|
|
"\n" +
|
|
"updated_at\x18\n" +
|
|
" \x01(\v2\x1a.google.protobuf.TimestampR\tupdatedAt\x1aO\n" +
|
|
"\tMetaEntry\x12\x10\n" +
|
|
"\x03key\x18\x01 \x01(\tR\x03key\x12,\n" +
|
|
"\x05value\x18\x02 \x01(\v2\x16.google.protobuf.ValueR\x05value:\x028\x01\"\xd0\x04\n" +
|
|
"\x11AccountConnection\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\tR\x02id\x12\x1a\n" +
|
|
"\bprovider\x18\x02 \x01(\tR\bprovider\x12/\n" +
|
|
"\x13provided_identifier\x18\x03 \x01(\tR\x12providedIdentifier\x126\n" +
|
|
"\x04meta\x18\x04 \x03(\v2\".proto.AccountConnection.MetaEntryR\x04meta\x12?\n" +
|
|
"\faccess_token\x18\x05 \x01(\v2\x1c.google.protobuf.StringValueR\vaccessToken\x12A\n" +
|
|
"\rrefresh_token\x18\x06 \x01(\v2\x1c.google.protobuf.StringValueR\frefreshToken\x12<\n" +
|
|
"\flast_used_at\x18\a \x01(\v2\x1a.google.protobuf.TimestampR\n" +
|
|
"lastUsedAt\x12\x1d\n" +
|
|
"\n" +
|
|
"account_id\x18\b \x01(\tR\taccountId\x129\n" +
|
|
"\n" +
|
|
"created_at\x18\t \x01(\v2\x1a.google.protobuf.TimestampR\tcreatedAt\x129\n" +
|
|
"\n" +
|
|
"updated_at\x18\n" +
|
|
" \x01(\v2\x1a.google.protobuf.TimestampR\tupdatedAt\x1aO\n" +
|
|
"\tMetaEntry\x12\x10\n" +
|
|
"\x03key\x18\x01 \x01(\tR\x03key\x12,\n" +
|
|
"\x05value\x18\x02 \x01(\v2\x16.google.protobuf.ValueR\x05value:\x028\x01\"\x92\x02\n" +
|
|
"\x10VerificationMark\x12/\n" +
|
|
"\x04type\x18\x01 \x01(\x0e2\x1b.proto.VerificationMarkTypeR\x04type\x12\x14\n" +
|
|
"\x05title\x18\x02 \x01(\tR\x05title\x12 \n" +
|
|
"\vdescription\x18\x03 \x01(\tR\vdescription\x12\x1f\n" +
|
|
"\vverified_by\x18\x04 \x01(\tR\n" +
|
|
"verifiedBy\x129\n" +
|
|
"\n" +
|
|
"created_at\x18\x05 \x01(\v2\x1a.google.protobuf.TimestampR\tcreatedAt\x129\n" +
|
|
"\n" +
|
|
"updated_at\x18\x06 \x01(\v2\x1a.google.protobuf.TimestampR\tupdatedAt\"\xcb\x03\n" +
|
|
"\x14BadgeReferenceObject\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n" +
|
|
"\x04type\x18\x02 \x01(\tR\x04type\x122\n" +
|
|
"\x05label\x18\x03 \x01(\v2\x1c.google.protobuf.StringValueR\x05label\x126\n" +
|
|
"\acaption\x18\x04 \x01(\v2\x1c.google.protobuf.StringValueR\acaption\x129\n" +
|
|
"\x04meta\x18\x05 \x03(\v2%.proto.BadgeReferenceObject.MetaEntryR\x04meta\x12=\n" +
|
|
"\factivated_at\x18\x06 \x01(\v2\x1a.google.protobuf.TimestampR\vactivatedAt\x129\n" +
|
|
"\n" +
|
|
"expired_at\x18\a \x01(\v2\x1a.google.protobuf.TimestampR\texpiredAt\x12\x1d\n" +
|
|
"\n" +
|
|
"account_id\x18\b \x01(\tR\taccountId\x1aO\n" +
|
|
"\tMetaEntry\x12\x10\n" +
|
|
"\x03key\x18\x01 \x01(\tR\x03key\x12,\n" +
|
|
"\x05value\x18\x02 \x01(\v2\x16.google.protobuf.ValueR\x05value:\x028\x01\"\xd0\x02\n" +
|
|
"\fRelationship\x12\x1d\n" +
|
|
"\n" +
|
|
"account_id\x18\x01 \x01(\tR\taccountId\x12\x1d\n" +
|
|
"\n" +
|
|
"related_id\x18\x02 \x01(\tR\trelatedId\x12-\n" +
|
|
"\aaccount\x18\x03 \x01(\v2\x0e.proto.AccountH\x00R\aaccount\x88\x01\x01\x12-\n" +
|
|
"\arelated\x18\x04 \x01(\v2\x0e.proto.AccountH\x01R\arelated\x88\x01\x01\x12\x16\n" +
|
|
"\x06status\x18\x05 \x01(\x05R\x06status\x129\n" +
|
|
"\n" +
|
|
"created_at\x18\x06 \x01(\v2\x1a.google.protobuf.TimestampR\tcreatedAt\x129\n" +
|
|
"\n" +
|
|
"updated_at\x18\a \x01(\v2\x1a.google.protobuf.TimestampR\tupdatedAtB\n" +
|
|
"\n" +
|
|
"\b_accountB\n" +
|
|
"\n" +
|
|
"\b_related\"\xab\x02\n" +
|
|
"\fLevelingInfo\x12#\n" +
|
|
"\rcurrent_level\x18\x01 \x01(\x05R\fcurrentLevel\x12-\n" +
|
|
"\x12current_experience\x18\x02 \x01(\x05R\x11currentExperience\x122\n" +
|
|
"\x15next_level_experience\x18\x03 \x01(\x05R\x13nextLevelExperience\x12:\n" +
|
|
"\x19previous_level_experience\x18\x04 \x01(\x05R\x17previousLevelExperience\x12%\n" +
|
|
"\x0elevel_progress\x18\x05 \x01(\x01R\rlevelProgress\x120\n" +
|
|
"\x14experience_per_level\x18\x06 \x03(\x05R\x12experiencePerLevel\"\xff\x03\n" +
|
|
"\tActionLog\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\tR\x02id\x12\x16\n" +
|
|
"\x06action\x18\x02 \x01(\tR\x06action\x12.\n" +
|
|
"\x04meta\x18\x03 \x03(\v2\x1a.proto.ActionLog.MetaEntryR\x04meta\x12;\n" +
|
|
"\n" +
|
|
"user_agent\x18\x04 \x01(\v2\x1c.google.protobuf.StringValueR\tuserAgent\x12;\n" +
|
|
"\n" +
|
|
"ip_address\x18\x05 \x01(\v2\x1c.google.protobuf.StringValueR\tipAddress\x128\n" +
|
|
"\blocation\x18\x06 \x01(\v2\x1c.google.protobuf.StringValueR\blocation\x12\x1d\n" +
|
|
"\n" +
|
|
"account_id\x18\a \x01(\tR\taccountId\x12;\n" +
|
|
"\n" +
|
|
"session_id\x18\b \x01(\v2\x1c.google.protobuf.StringValueR\tsessionId\x129\n" +
|
|
"\n" +
|
|
"created_at\x18\t \x01(\v2\x1a.google.protobuf.TimestampR\tcreatedAt\x1aO\n" +
|
|
"\tMetaEntry\x12\x10\n" +
|
|
"\x03key\x18\x01 \x01(\tR\x03key\x12,\n" +
|
|
"\x05value\x18\x02 \x01(\v2\x16.google.protobuf.ValueR\x05value:\x028\x01\"Q\n" +
|
|
"\x1dGetAccountStatusBatchResponse\x120\n" +
|
|
"\bstatuses\x18\x01 \x03(\v2\x14.proto.AccountStatusR\bstatuses\"\xce\x03\n" +
|
|
"\x16CreateActionLogRequest\x12\x16\n" +
|
|
"\x06action\x18\x01 \x01(\tR\x06action\x12;\n" +
|
|
"\x04meta\x18\x02 \x03(\v2'.proto.CreateActionLogRequest.MetaEntryR\x04meta\x12;\n" +
|
|
"\n" +
|
|
"user_agent\x18\x03 \x01(\v2\x1c.google.protobuf.StringValueR\tuserAgent\x12;\n" +
|
|
"\n" +
|
|
"ip_address\x18\x04 \x01(\v2\x1c.google.protobuf.StringValueR\tipAddress\x128\n" +
|
|
"\blocation\x18\x05 \x01(\v2\x1c.google.protobuf.StringValueR\blocation\x12\x1d\n" +
|
|
"\n" +
|
|
"account_id\x18\x06 \x01(\tR\taccountId\x12;\n" +
|
|
"\n" +
|
|
"session_id\x18\a \x01(\v2\x1c.google.protobuf.StringValueR\tsessionId\x1aO\n" +
|
|
"\tMetaEntry\x12\x10\n" +
|
|
"\x03key\x18\x01 \x01(\tR\x03key\x12,\n" +
|
|
"\x05value\x18\x02 \x01(\v2\x16.google.protobuf.ValueR\x05value:\x028\x01\"J\n" +
|
|
"\x17CreateActionLogResponse\x12/\n" +
|
|
"\n" +
|
|
"action_log\x18\x01 \x01(\v2\x10.proto.ActionLogR\tactionLog\"\xa5\x01\n" +
|
|
"\x15ListActionLogsRequest\x12\x1d\n" +
|
|
"\n" +
|
|
"account_id\x18\x01 \x01(\tR\taccountId\x12\x16\n" +
|
|
"\x06action\x18\x02 \x01(\tR\x06action\x12\x1b\n" +
|
|
"\tpage_size\x18\x03 \x01(\x05R\bpageSize\x12\x1d\n" +
|
|
"\n" +
|
|
"page_token\x18\x04 \x01(\tR\tpageToken\x12\x19\n" +
|
|
"\border_by\x18\x05 \x01(\tR\aorderBy\"\x92\x01\n" +
|
|
"\x16ListActionLogsResponse\x121\n" +
|
|
"\vaction_logs\x18\x01 \x03(\v2\x10.proto.ActionLogR\n" +
|
|
"actionLogs\x12&\n" +
|
|
"\x0fnext_page_token\x18\x02 \x01(\tR\rnextPageToken\x12\x1d\n" +
|
|
"\n" +
|
|
"total_size\x18\x03 \x01(\x05R\ttotalSize\"#\n" +
|
|
"\x11GetAccountRequest\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\tR\x02id\"9\n" +
|
|
"\x14GetBotAccountRequest\x12!\n" +
|
|
"\fautomated_id\x18\x01 \x01(\tR\vautomatedId\"(\n" +
|
|
"\x16GetAccountBatchRequest\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x03(\tR\x02id\">\n" +
|
|
"\x19GetBotAccountBatchRequest\x12!\n" +
|
|
"\fautomated_id\x18\x01 \x03(\tR\vautomatedId\"1\n" +
|
|
"\x19LookupAccountBatchRequest\x12\x14\n" +
|
|
"\x05names\x18\x01 \x03(\tR\x05names\",\n" +
|
|
"\x14SearchAccountRequest\x12\x14\n" +
|
|
"\x05query\x18\x01 \x01(\tR\x05query\"E\n" +
|
|
"\x17GetAccountBatchResponse\x12*\n" +
|
|
"\baccounts\x18\x01 \x03(\v2\x0e.proto.AccountR\baccounts\"\xae\x01\n" +
|
|
"\x14CreateAccountRequest\x12\x12\n" +
|
|
"\x04name\x18\x01 \x01(\tR\x04name\x12\x12\n" +
|
|
"\x04nick\x18\x02 \x01(\tR\x04nick\x12\x1a\n" +
|
|
"\blanguage\x18\x03 \x01(\tR\blanguage\x12!\n" +
|
|
"\fis_superuser\x18\x04 \x01(\bR\visSuperuser\x12/\n" +
|
|
"\aprofile\x18\x05 \x01(\v2\x15.proto.AccountProfileR\aprofile\"\x83\x02\n" +
|
|
"\x14UpdateAccountRequest\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\tR\x02id\x120\n" +
|
|
"\x04name\x18\x02 \x01(\v2\x1c.google.protobuf.StringValueR\x04name\x120\n" +
|
|
"\x04nick\x18\x03 \x01(\v2\x1c.google.protobuf.StringValueR\x04nick\x128\n" +
|
|
"\blanguage\x18\x04 \x01(\v2\x1c.google.protobuf.StringValueR\blanguage\x12=\n" +
|
|
"\fis_superuser\x18\x05 \x01(\v2\x1a.google.protobuf.BoolValueR\visSuperuser\"<\n" +
|
|
"\x14DeleteAccountRequest\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\tR\x02id\x12\x14\n" +
|
|
"\x05purge\x18\x02 \x01(\bR\x05purge\"\x84\x01\n" +
|
|
"\x13ListAccountsRequest\x12\x1b\n" +
|
|
"\tpage_size\x18\x01 \x01(\x05R\bpageSize\x12\x1d\n" +
|
|
"\n" +
|
|
"page_token\x18\x02 \x01(\tR\tpageToken\x12\x16\n" +
|
|
"\x06filter\x18\x03 \x01(\tR\x06filter\x12\x19\n" +
|
|
"\border_by\x18\x04 \x01(\tR\aorderBy\"\x89\x01\n" +
|
|
"\x14ListAccountsResponse\x12*\n" +
|
|
"\baccounts\x18\x01 \x03(\v2\x0e.proto.AccountR\baccounts\x12&\n" +
|
|
"\x0fnext_page_token\x18\x02 \x01(\tR\rnextPageToken\x12\x1d\n" +
|
|
"\n" +
|
|
"total_size\x18\x03 \x01(\x05R\ttotalSize\"2\n" +
|
|
"\x11GetProfileRequest\x12\x1d\n" +
|
|
"\n" +
|
|
"account_id\x18\x01 \x01(\tR\taccountId\"\xa3\x01\n" +
|
|
"\x14UpdateProfileRequest\x12\x1d\n" +
|
|
"\n" +
|
|
"account_id\x18\x01 \x01(\tR\taccountId\x12/\n" +
|
|
"\aprofile\x18\x02 \x01(\v2\x15.proto.AccountProfileR\aprofile\x12;\n" +
|
|
"\vupdate_mask\x18\x03 \x01(\v2\x1a.google.protobuf.FieldMaskR\n" +
|
|
"updateMask\"\x9a\x01\n" +
|
|
"\x11AddContactRequest\x12\x1d\n" +
|
|
"\n" +
|
|
"account_id\x18\x01 \x01(\tR\taccountId\x12-\n" +
|
|
"\x04type\x18\x02 \x01(\x0e2\x19.proto.AccountContactTypeR\x04type\x12\x18\n" +
|
|
"\acontent\x18\x03 \x01(\tR\acontent\x12\x1d\n" +
|
|
"\n" +
|
|
"is_primary\x18\x04 \x01(\bR\tisPrimary\"\x88\x01\n" +
|
|
"\x13ListContactsRequest\x12\x1d\n" +
|
|
"\n" +
|
|
"account_id\x18\x01 \x01(\tR\taccountId\x12-\n" +
|
|
"\x04type\x18\x02 \x01(\x0e2\x19.proto.AccountContactTypeR\x04type\x12#\n" +
|
|
"\rverified_only\x18\x03 \x01(\bR\fverifiedOnly\"I\n" +
|
|
"\x14ListContactsResponse\x121\n" +
|
|
"\bcontacts\x18\x01 \x03(\v2\x15.proto.AccountContactR\bcontacts\"Y\n" +
|
|
"\x14VerifyContactRequest\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\tR\x02id\x12\x1d\n" +
|
|
"\n" +
|
|
"account_id\x18\x02 \x01(\tR\taccountId\x12\x12\n" +
|
|
"\x04code\x18\x03 \x01(\tR\x04code\"g\n" +
|
|
"\x11ListBadgesRequest\x12\x1d\n" +
|
|
"\n" +
|
|
"account_id\x18\x01 \x01(\tR\taccountId\x12\x12\n" +
|
|
"\x04type\x18\x02 \x01(\tR\x04type\x12\x1f\n" +
|
|
"\vactive_only\x18\x03 \x01(\bR\n" +
|
|
"activeOnly\"A\n" +
|
|
"\x12ListBadgesResponse\x12+\n" +
|
|
"\x06badges\x18\x01 \x03(\v2\x13.proto.AccountBadgeR\x06badges\"X\n" +
|
|
"\x16ListAuthFactorsRequest\x12\x1d\n" +
|
|
"\n" +
|
|
"account_id\x18\x01 \x01(\tR\taccountId\x12\x1f\n" +
|
|
"\vactive_only\x18\x02 \x01(\bR\n" +
|
|
"activeOnly\"M\n" +
|
|
"\x17ListAuthFactorsResponse\x122\n" +
|
|
"\afactors\x18\x01 \x03(\v2\x18.proto.AccountAuthFactorR\afactors\"S\n" +
|
|
"\x16ListConnectionsRequest\x12\x1d\n" +
|
|
"\n" +
|
|
"account_id\x18\x01 \x01(\tR\taccountId\x12\x1a\n" +
|
|
"\bprovider\x18\x02 \x01(\tR\bprovider\"U\n" +
|
|
"\x17ListConnectionsResponse\x12:\n" +
|
|
"\vconnections\x18\x01 \x03(\v2\x18.proto.AccountConnectionR\vconnections\"\x9d\x01\n" +
|
|
"\x18ListRelationshipsRequest\x12\x1d\n" +
|
|
"\n" +
|
|
"account_id\x18\x01 \x01(\tR\taccountId\x12\x1b\n" +
|
|
"\x06status\x18\x02 \x01(\x05H\x00R\x06status\x88\x01\x01\x12\x1b\n" +
|
|
"\tpage_size\x18\x05 \x01(\x05R\bpageSize\x12\x1d\n" +
|
|
"\n" +
|
|
"page_token\x18\x06 \x01(\tR\tpageTokenB\t\n" +
|
|
"\a_status\"\x9d\x01\n" +
|
|
"\x19ListRelationshipsResponse\x129\n" +
|
|
"\rrelationships\x18\x01 \x03(\v2\x13.proto.RelationshipR\rrelationships\x12&\n" +
|
|
"\x0fnext_page_token\x18\x02 \x01(\tR\rnextPageToken\x12\x1d\n" +
|
|
"\n" +
|
|
"total_size\x18\x03 \x01(\x05R\ttotalSize\"~\n" +
|
|
"\x16GetRelationshipRequest\x12\x1d\n" +
|
|
"\n" +
|
|
"account_id\x18\x01 \x01(\tR\taccountId\x12\x1d\n" +
|
|
"\n" +
|
|
"related_id\x18\x02 \x01(\tR\trelatedId\x12\x1b\n" +
|
|
"\x06status\x18\x03 \x01(\x05H\x00R\x06status\x88\x01\x01B\t\n" +
|
|
"\a_status\"h\n" +
|
|
"\x17GetRelationshipResponse\x12<\n" +
|
|
"\frelationship\x18\x01 \x01(\v2\x13.proto.RelationshipH\x00R\frelationship\x88\x01\x01B\x0f\n" +
|
|
"\r_relationship\">\n" +
|
|
"\x1dListRelationshipSimpleRequest\x12\x1d\n" +
|
|
"\n" +
|
|
"account_id\x18\x01 \x01(\tR\taccountId\"A\n" +
|
|
"\x1eListRelationshipSimpleResponse\x12\x1f\n" +
|
|
"\vaccounts_id\x18\x01 \x03(\tR\n" +
|
|
"accountsId*Z\n" +
|
|
"\x0eStatusAttitude\x12\x1f\n" +
|
|
"\x1bSTATUS_ATTITUDE_UNSPECIFIED\x10\x00\x12\f\n" +
|
|
"\bPOSITIVE\x10\x01\x12\f\n" +
|
|
"\bNEGATIVE\x10\x02\x12\v\n" +
|
|
"\aNEUTRAL\x10\x03*d\n" +
|
|
"\x12AccountContactType\x12$\n" +
|
|
" ACCOUNT_CONTACT_TYPE_UNSPECIFIED\x10\x00\x12\t\n" +
|
|
"\x05EMAIL\x10\x01\x12\x10\n" +
|
|
"\fPHONE_NUMBER\x10\x02\x12\v\n" +
|
|
"\aADDRESS\x10\x03*\x86\x01\n" +
|
|
"\x15AccountAuthFactorType\x12 \n" +
|
|
"\x1cAUTH_FACTOR_TYPE_UNSPECIFIED\x10\x00\x12\f\n" +
|
|
"\bPASSWORD\x10\x01\x12\x0e\n" +
|
|
"\n" +
|
|
"EMAIL_CODE\x10\x02\x12\x0f\n" +
|
|
"\vIN_APP_CODE\x10\x03\x12\x0e\n" +
|
|
"\n" +
|
|
"TIMED_CODE\x10\x04\x12\f\n" +
|
|
"\bPIN_CODE\x10\x05*\xa6\x01\n" +
|
|
"\x14VerificationMarkType\x12&\n" +
|
|
"\"VERIFICATION_MARK_TYPE_UNSPECIFIED\x10\x00\x12\f\n" +
|
|
"\bOFFICIAL\x10\x01\x12\x0e\n" +
|
|
"\n" +
|
|
"INDIVIDUAL\x10\x02\x12\x10\n" +
|
|
"\fORGANIZATION\x10\x03\x12\x0e\n" +
|
|
"\n" +
|
|
"GOVERNMENT\x10\x04\x12\v\n" +
|
|
"\aCREATOR\x10\x05\x12\r\n" +
|
|
"\tDEVELOPER\x10\x06\x12\n" +
|
|
"\n" +
|
|
"\x06PARODY\x10\a2\x86\f\n" +
|
|
"\x0eAccountService\x128\n" +
|
|
"\n" +
|
|
"GetAccount\x12\x18.proto.GetAccountRequest\x1a\x0e.proto.Account\"\x00\x12>\n" +
|
|
"\rGetBotAccount\x12\x1b.proto.GetBotAccountRequest\x1a\x0e.proto.Account\"\x00\x12R\n" +
|
|
"\x0fGetAccountBatch\x12\x1d.proto.GetAccountBatchRequest\x1a\x1e.proto.GetAccountBatchResponse\"\x00\x12X\n" +
|
|
"\x12GetBotAccountBatch\x12 .proto.GetBotAccountBatchRequest\x1a\x1e.proto.GetAccountBatchResponse\"\x00\x12X\n" +
|
|
"\x12LookupAccountBatch\x12 .proto.LookupAccountBatchRequest\x1a\x1e.proto.GetAccountBatchResponse\"\x00\x12N\n" +
|
|
"\rSearchAccount\x12\x1b.proto.SearchAccountRequest\x1a\x1e.proto.GetAccountBatchResponse\"\x00\x12I\n" +
|
|
"\fListAccounts\x12\x1a.proto.ListAccountsRequest\x1a\x1b.proto.ListAccountsResponse\"\x00\x12D\n" +
|
|
"\x10GetAccountStatus\x12\x18.proto.GetAccountRequest\x1a\x14.proto.AccountStatus\"\x00\x12^\n" +
|
|
"\x15GetAccountStatusBatch\x12\x1d.proto.GetAccountBatchRequest\x1a$.proto.GetAccountStatusBatchResponse\"\x00\x12?\n" +
|
|
"\n" +
|
|
"GetProfile\x12\x18.proto.GetProfileRequest\x1a\x15.proto.AccountProfile\"\x00\x12I\n" +
|
|
"\fListContacts\x12\x1a.proto.ListContactsRequest\x1a\x1b.proto.ListContactsResponse\"\x00\x12C\n" +
|
|
"\n" +
|
|
"ListBadges\x12\x18.proto.ListBadgesRequest\x1a\x19.proto.ListBadgesResponse\"\x00\x12R\n" +
|
|
"\x0fListAuthFactors\x12\x1d.proto.ListAuthFactorsRequest\x1a\x1e.proto.ListAuthFactorsResponse\"\x00\x12R\n" +
|
|
"\x0fListConnections\x12\x1d.proto.ListConnectionsRequest\x1a\x1e.proto.ListConnectionsResponse\"\x00\x12X\n" +
|
|
"\x11ListRelationships\x12\x1f.proto.ListRelationshipsRequest\x1a .proto.ListRelationshipsResponse\"\x00\x12R\n" +
|
|
"\x0fGetRelationship\x12\x1d.proto.GetRelationshipRequest\x1a\x1e.proto.GetRelationshipResponse\"\x00\x12N\n" +
|
|
"\x0fHasRelationship\x12\x1d.proto.GetRelationshipRequest\x1a\x1a.google.protobuf.BoolValue\"\x00\x12\\\n" +
|
|
"\vListFriends\x12$.proto.ListRelationshipSimpleRequest\x1a%.proto.ListRelationshipSimpleResponse\"\x00\x12\\\n" +
|
|
"\vListBlocked\x12$.proto.ListRelationshipSimpleRequest\x1a%.proto.ListRelationshipSimpleResponse\"\x002\xb7\x01\n" +
|
|
"\x10ActionLogService\x12R\n" +
|
|
"\x0fCreateActionLog\x12\x1d.proto.CreateActionLogRequest\x1a\x1e.proto.CreateActionLogResponse\"\x00\x12O\n" +
|
|
"\x0eListActionLogs\x12\x1c.proto.ListActionLogsRequest\x1a\x1d.proto.ListActionLogsResponse\"\x00BUZ7git.solsynth.dev/goatworks/turbine/pkg/shared/proto/gen\xaa\x02\x19DysonNetwork.Shared.Protob\x06proto3"
|
|
|
|
var (
|
|
file_account_proto_rawDescOnce sync.Once
|
|
file_account_proto_rawDescData []byte
|
|
)
|
|
|
|
func file_account_proto_rawDescGZIP() []byte {
|
|
file_account_proto_rawDescOnce.Do(func() {
|
|
file_account_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_account_proto_rawDesc), len(file_account_proto_rawDesc)))
|
|
})
|
|
return file_account_proto_rawDescData
|
|
}
|
|
|
|
var file_account_proto_enumTypes = make([]protoimpl.EnumInfo, 4)
|
|
var file_account_proto_msgTypes = make([]protoimpl.MessageInfo, 56)
|
|
var file_account_proto_goTypes = []any{
|
|
(StatusAttitude)(0), // 0: proto.StatusAttitude
|
|
(AccountContactType)(0), // 1: proto.AccountContactType
|
|
(AccountAuthFactorType)(0), // 2: proto.AccountAuthFactorType
|
|
(VerificationMarkType)(0), // 3: proto.VerificationMarkType
|
|
(*Account)(nil), // 4: proto.Account
|
|
(*AccountStatus)(nil), // 5: proto.AccountStatus
|
|
(*UsernameColor)(nil), // 6: proto.UsernameColor
|
|
(*ProfileLink)(nil), // 7: proto.ProfileLink
|
|
(*AccountProfile)(nil), // 8: proto.AccountProfile
|
|
(*AccountContact)(nil), // 9: proto.AccountContact
|
|
(*AccountAuthFactor)(nil), // 10: proto.AccountAuthFactor
|
|
(*AccountBadge)(nil), // 11: proto.AccountBadge
|
|
(*AccountConnection)(nil), // 12: proto.AccountConnection
|
|
(*VerificationMark)(nil), // 13: proto.VerificationMark
|
|
(*BadgeReferenceObject)(nil), // 14: proto.BadgeReferenceObject
|
|
(*Relationship)(nil), // 15: proto.Relationship
|
|
(*LevelingInfo)(nil), // 16: proto.LevelingInfo
|
|
(*ActionLog)(nil), // 17: proto.ActionLog
|
|
(*GetAccountStatusBatchResponse)(nil), // 18: proto.GetAccountStatusBatchResponse
|
|
(*CreateActionLogRequest)(nil), // 19: proto.CreateActionLogRequest
|
|
(*CreateActionLogResponse)(nil), // 20: proto.CreateActionLogResponse
|
|
(*ListActionLogsRequest)(nil), // 21: proto.ListActionLogsRequest
|
|
(*ListActionLogsResponse)(nil), // 22: proto.ListActionLogsResponse
|
|
(*GetAccountRequest)(nil), // 23: proto.GetAccountRequest
|
|
(*GetBotAccountRequest)(nil), // 24: proto.GetBotAccountRequest
|
|
(*GetAccountBatchRequest)(nil), // 25: proto.GetAccountBatchRequest
|
|
(*GetBotAccountBatchRequest)(nil), // 26: proto.GetBotAccountBatchRequest
|
|
(*LookupAccountBatchRequest)(nil), // 27: proto.LookupAccountBatchRequest
|
|
(*SearchAccountRequest)(nil), // 28: proto.SearchAccountRequest
|
|
(*GetAccountBatchResponse)(nil), // 29: proto.GetAccountBatchResponse
|
|
(*CreateAccountRequest)(nil), // 30: proto.CreateAccountRequest
|
|
(*UpdateAccountRequest)(nil), // 31: proto.UpdateAccountRequest
|
|
(*DeleteAccountRequest)(nil), // 32: proto.DeleteAccountRequest
|
|
(*ListAccountsRequest)(nil), // 33: proto.ListAccountsRequest
|
|
(*ListAccountsResponse)(nil), // 34: proto.ListAccountsResponse
|
|
(*GetProfileRequest)(nil), // 35: proto.GetProfileRequest
|
|
(*UpdateProfileRequest)(nil), // 36: proto.UpdateProfileRequest
|
|
(*AddContactRequest)(nil), // 37: proto.AddContactRequest
|
|
(*ListContactsRequest)(nil), // 38: proto.ListContactsRequest
|
|
(*ListContactsResponse)(nil), // 39: proto.ListContactsResponse
|
|
(*VerifyContactRequest)(nil), // 40: proto.VerifyContactRequest
|
|
(*ListBadgesRequest)(nil), // 41: proto.ListBadgesRequest
|
|
(*ListBadgesResponse)(nil), // 42: proto.ListBadgesResponse
|
|
(*ListAuthFactorsRequest)(nil), // 43: proto.ListAuthFactorsRequest
|
|
(*ListAuthFactorsResponse)(nil), // 44: proto.ListAuthFactorsResponse
|
|
(*ListConnectionsRequest)(nil), // 45: proto.ListConnectionsRequest
|
|
(*ListConnectionsResponse)(nil), // 46: proto.ListConnectionsResponse
|
|
(*ListRelationshipsRequest)(nil), // 47: proto.ListRelationshipsRequest
|
|
(*ListRelationshipsResponse)(nil), // 48: proto.ListRelationshipsResponse
|
|
(*GetRelationshipRequest)(nil), // 49: proto.GetRelationshipRequest
|
|
(*GetRelationshipResponse)(nil), // 50: proto.GetRelationshipResponse
|
|
(*ListRelationshipSimpleRequest)(nil), // 51: proto.ListRelationshipSimpleRequest
|
|
(*ListRelationshipSimpleResponse)(nil), // 52: proto.ListRelationshipSimpleResponse
|
|
nil, // 53: proto.AccountAuthFactor.ConfigEntry
|
|
nil, // 54: proto.AccountAuthFactor.CreatedResponseEntry
|
|
nil, // 55: proto.AccountBadge.MetaEntry
|
|
nil, // 56: proto.AccountConnection.MetaEntry
|
|
nil, // 57: proto.BadgeReferenceObject.MetaEntry
|
|
nil, // 58: proto.ActionLog.MetaEntry
|
|
nil, // 59: proto.CreateActionLogRequest.MetaEntry
|
|
(*timestamppb.Timestamp)(nil), // 60: google.protobuf.Timestamp
|
|
(*SubscriptionReferenceObject)(nil), // 61: proto.SubscriptionReferenceObject
|
|
(*wrapperspb.StringValue)(nil), // 62: google.protobuf.StringValue
|
|
(*CloudFile)(nil), // 63: proto.CloudFile
|
|
(*wrapperspb.BoolValue)(nil), // 64: google.protobuf.BoolValue
|
|
(*fieldmaskpb.FieldMask)(nil), // 65: google.protobuf.FieldMask
|
|
(*structpb.Value)(nil), // 66: google.protobuf.Value
|
|
}
|
|
var file_account_proto_depIdxs = []int32{
|
|
60, // 0: proto.Account.activated_at:type_name -> google.protobuf.Timestamp
|
|
8, // 1: proto.Account.profile:type_name -> proto.AccountProfile
|
|
61, // 2: proto.Account.perk_subscription:type_name -> proto.SubscriptionReferenceObject
|
|
9, // 3: proto.Account.contacts:type_name -> proto.AccountContact
|
|
11, // 4: proto.Account.badges:type_name -> proto.AccountBadge
|
|
10, // 5: proto.Account.auth_factors:type_name -> proto.AccountAuthFactor
|
|
12, // 6: proto.Account.connections:type_name -> proto.AccountConnection
|
|
15, // 7: proto.Account.outgoing_relationships:type_name -> proto.Relationship
|
|
15, // 8: proto.Account.incoming_relationships:type_name -> proto.Relationship
|
|
60, // 9: proto.Account.created_at:type_name -> google.protobuf.Timestamp
|
|
60, // 10: proto.Account.updated_at:type_name -> google.protobuf.Timestamp
|
|
62, // 11: proto.Account.automated_id:type_name -> google.protobuf.StringValue
|
|
0, // 12: proto.AccountStatus.attitude:type_name -> proto.StatusAttitude
|
|
62, // 13: proto.AccountStatus.label:type_name -> google.protobuf.StringValue
|
|
60, // 14: proto.AccountStatus.cleared_at:type_name -> google.protobuf.Timestamp
|
|
62, // 15: proto.UsernameColor.value:type_name -> google.protobuf.StringValue
|
|
62, // 16: proto.UsernameColor.direction:type_name -> google.protobuf.StringValue
|
|
62, // 17: proto.AccountProfile.first_name:type_name -> google.protobuf.StringValue
|
|
62, // 18: proto.AccountProfile.middle_name:type_name -> google.protobuf.StringValue
|
|
62, // 19: proto.AccountProfile.last_name:type_name -> google.protobuf.StringValue
|
|
62, // 20: proto.AccountProfile.bio:type_name -> google.protobuf.StringValue
|
|
62, // 21: proto.AccountProfile.gender:type_name -> google.protobuf.StringValue
|
|
62, // 22: proto.AccountProfile.pronouns:type_name -> google.protobuf.StringValue
|
|
62, // 23: proto.AccountProfile.time_zone:type_name -> google.protobuf.StringValue
|
|
62, // 24: proto.AccountProfile.location:type_name -> google.protobuf.StringValue
|
|
60, // 25: proto.AccountProfile.birthday:type_name -> google.protobuf.Timestamp
|
|
60, // 26: proto.AccountProfile.last_seen_at:type_name -> google.protobuf.Timestamp
|
|
13, // 27: proto.AccountProfile.verification:type_name -> proto.VerificationMark
|
|
14, // 28: proto.AccountProfile.active_badge:type_name -> proto.BadgeReferenceObject
|
|
63, // 29: proto.AccountProfile.picture:type_name -> proto.CloudFile
|
|
63, // 30: proto.AccountProfile.background:type_name -> proto.CloudFile
|
|
60, // 31: proto.AccountProfile.created_at:type_name -> google.protobuf.Timestamp
|
|
60, // 32: proto.AccountProfile.updated_at:type_name -> google.protobuf.Timestamp
|
|
6, // 33: proto.AccountProfile.username_color:type_name -> proto.UsernameColor
|
|
7, // 34: proto.AccountProfile.links:type_name -> proto.ProfileLink
|
|
1, // 35: proto.AccountContact.type:type_name -> proto.AccountContactType
|
|
60, // 36: proto.AccountContact.verified_at:type_name -> google.protobuf.Timestamp
|
|
60, // 37: proto.AccountContact.created_at:type_name -> google.protobuf.Timestamp
|
|
60, // 38: proto.AccountContact.updated_at:type_name -> google.protobuf.Timestamp
|
|
2, // 39: proto.AccountAuthFactor.type:type_name -> proto.AccountAuthFactorType
|
|
62, // 40: proto.AccountAuthFactor.secret:type_name -> google.protobuf.StringValue
|
|
53, // 41: proto.AccountAuthFactor.config:type_name -> proto.AccountAuthFactor.ConfigEntry
|
|
60, // 42: proto.AccountAuthFactor.enabled_at:type_name -> google.protobuf.Timestamp
|
|
60, // 43: proto.AccountAuthFactor.expired_at:type_name -> google.protobuf.Timestamp
|
|
54, // 44: proto.AccountAuthFactor.created_response:type_name -> proto.AccountAuthFactor.CreatedResponseEntry
|
|
60, // 45: proto.AccountAuthFactor.created_at:type_name -> google.protobuf.Timestamp
|
|
60, // 46: proto.AccountAuthFactor.updated_at:type_name -> google.protobuf.Timestamp
|
|
62, // 47: proto.AccountBadge.label:type_name -> google.protobuf.StringValue
|
|
62, // 48: proto.AccountBadge.caption:type_name -> google.protobuf.StringValue
|
|
55, // 49: proto.AccountBadge.meta:type_name -> proto.AccountBadge.MetaEntry
|
|
60, // 50: proto.AccountBadge.activated_at:type_name -> google.protobuf.Timestamp
|
|
60, // 51: proto.AccountBadge.expired_at:type_name -> google.protobuf.Timestamp
|
|
60, // 52: proto.AccountBadge.created_at:type_name -> google.protobuf.Timestamp
|
|
60, // 53: proto.AccountBadge.updated_at:type_name -> google.protobuf.Timestamp
|
|
56, // 54: proto.AccountConnection.meta:type_name -> proto.AccountConnection.MetaEntry
|
|
62, // 55: proto.AccountConnection.access_token:type_name -> google.protobuf.StringValue
|
|
62, // 56: proto.AccountConnection.refresh_token:type_name -> google.protobuf.StringValue
|
|
60, // 57: proto.AccountConnection.last_used_at:type_name -> google.protobuf.Timestamp
|
|
60, // 58: proto.AccountConnection.created_at:type_name -> google.protobuf.Timestamp
|
|
60, // 59: proto.AccountConnection.updated_at:type_name -> google.protobuf.Timestamp
|
|
3, // 60: proto.VerificationMark.type:type_name -> proto.VerificationMarkType
|
|
60, // 61: proto.VerificationMark.created_at:type_name -> google.protobuf.Timestamp
|
|
60, // 62: proto.VerificationMark.updated_at:type_name -> google.protobuf.Timestamp
|
|
62, // 63: proto.BadgeReferenceObject.label:type_name -> google.protobuf.StringValue
|
|
62, // 64: proto.BadgeReferenceObject.caption:type_name -> google.protobuf.StringValue
|
|
57, // 65: proto.BadgeReferenceObject.meta:type_name -> proto.BadgeReferenceObject.MetaEntry
|
|
60, // 66: proto.BadgeReferenceObject.activated_at:type_name -> google.protobuf.Timestamp
|
|
60, // 67: proto.BadgeReferenceObject.expired_at:type_name -> google.protobuf.Timestamp
|
|
4, // 68: proto.Relationship.account:type_name -> proto.Account
|
|
4, // 69: proto.Relationship.related:type_name -> proto.Account
|
|
60, // 70: proto.Relationship.created_at:type_name -> google.protobuf.Timestamp
|
|
60, // 71: proto.Relationship.updated_at:type_name -> google.protobuf.Timestamp
|
|
58, // 72: proto.ActionLog.meta:type_name -> proto.ActionLog.MetaEntry
|
|
62, // 73: proto.ActionLog.user_agent:type_name -> google.protobuf.StringValue
|
|
62, // 74: proto.ActionLog.ip_address:type_name -> google.protobuf.StringValue
|
|
62, // 75: proto.ActionLog.location:type_name -> google.protobuf.StringValue
|
|
62, // 76: proto.ActionLog.session_id:type_name -> google.protobuf.StringValue
|
|
60, // 77: proto.ActionLog.created_at:type_name -> google.protobuf.Timestamp
|
|
5, // 78: proto.GetAccountStatusBatchResponse.statuses:type_name -> proto.AccountStatus
|
|
59, // 79: proto.CreateActionLogRequest.meta:type_name -> proto.CreateActionLogRequest.MetaEntry
|
|
62, // 80: proto.CreateActionLogRequest.user_agent:type_name -> google.protobuf.StringValue
|
|
62, // 81: proto.CreateActionLogRequest.ip_address:type_name -> google.protobuf.StringValue
|
|
62, // 82: proto.CreateActionLogRequest.location:type_name -> google.protobuf.StringValue
|
|
62, // 83: proto.CreateActionLogRequest.session_id:type_name -> google.protobuf.StringValue
|
|
17, // 84: proto.CreateActionLogResponse.action_log:type_name -> proto.ActionLog
|
|
17, // 85: proto.ListActionLogsResponse.action_logs:type_name -> proto.ActionLog
|
|
4, // 86: proto.GetAccountBatchResponse.accounts:type_name -> proto.Account
|
|
8, // 87: proto.CreateAccountRequest.profile:type_name -> proto.AccountProfile
|
|
62, // 88: proto.UpdateAccountRequest.name:type_name -> google.protobuf.StringValue
|
|
62, // 89: proto.UpdateAccountRequest.nick:type_name -> google.protobuf.StringValue
|
|
62, // 90: proto.UpdateAccountRequest.language:type_name -> google.protobuf.StringValue
|
|
64, // 91: proto.UpdateAccountRequest.is_superuser:type_name -> google.protobuf.BoolValue
|
|
4, // 92: proto.ListAccountsResponse.accounts:type_name -> proto.Account
|
|
8, // 93: proto.UpdateProfileRequest.profile:type_name -> proto.AccountProfile
|
|
65, // 94: proto.UpdateProfileRequest.update_mask:type_name -> google.protobuf.FieldMask
|
|
1, // 95: proto.AddContactRequest.type:type_name -> proto.AccountContactType
|
|
1, // 96: proto.ListContactsRequest.type:type_name -> proto.AccountContactType
|
|
9, // 97: proto.ListContactsResponse.contacts:type_name -> proto.AccountContact
|
|
11, // 98: proto.ListBadgesResponse.badges:type_name -> proto.AccountBadge
|
|
10, // 99: proto.ListAuthFactorsResponse.factors:type_name -> proto.AccountAuthFactor
|
|
12, // 100: proto.ListConnectionsResponse.connections:type_name -> proto.AccountConnection
|
|
15, // 101: proto.ListRelationshipsResponse.relationships:type_name -> proto.Relationship
|
|
15, // 102: proto.GetRelationshipResponse.relationship:type_name -> proto.Relationship
|
|
66, // 103: proto.AccountAuthFactor.ConfigEntry.value:type_name -> google.protobuf.Value
|
|
66, // 104: proto.AccountAuthFactor.CreatedResponseEntry.value:type_name -> google.protobuf.Value
|
|
66, // 105: proto.AccountBadge.MetaEntry.value:type_name -> google.protobuf.Value
|
|
66, // 106: proto.AccountConnection.MetaEntry.value:type_name -> google.protobuf.Value
|
|
66, // 107: proto.BadgeReferenceObject.MetaEntry.value:type_name -> google.protobuf.Value
|
|
66, // 108: proto.ActionLog.MetaEntry.value:type_name -> google.protobuf.Value
|
|
66, // 109: proto.CreateActionLogRequest.MetaEntry.value:type_name -> google.protobuf.Value
|
|
23, // 110: proto.AccountService.GetAccount:input_type -> proto.GetAccountRequest
|
|
24, // 111: proto.AccountService.GetBotAccount:input_type -> proto.GetBotAccountRequest
|
|
25, // 112: proto.AccountService.GetAccountBatch:input_type -> proto.GetAccountBatchRequest
|
|
26, // 113: proto.AccountService.GetBotAccountBatch:input_type -> proto.GetBotAccountBatchRequest
|
|
27, // 114: proto.AccountService.LookupAccountBatch:input_type -> proto.LookupAccountBatchRequest
|
|
28, // 115: proto.AccountService.SearchAccount:input_type -> proto.SearchAccountRequest
|
|
33, // 116: proto.AccountService.ListAccounts:input_type -> proto.ListAccountsRequest
|
|
23, // 117: proto.AccountService.GetAccountStatus:input_type -> proto.GetAccountRequest
|
|
25, // 118: proto.AccountService.GetAccountStatusBatch:input_type -> proto.GetAccountBatchRequest
|
|
35, // 119: proto.AccountService.GetProfile:input_type -> proto.GetProfileRequest
|
|
38, // 120: proto.AccountService.ListContacts:input_type -> proto.ListContactsRequest
|
|
41, // 121: proto.AccountService.ListBadges:input_type -> proto.ListBadgesRequest
|
|
43, // 122: proto.AccountService.ListAuthFactors:input_type -> proto.ListAuthFactorsRequest
|
|
45, // 123: proto.AccountService.ListConnections:input_type -> proto.ListConnectionsRequest
|
|
47, // 124: proto.AccountService.ListRelationships:input_type -> proto.ListRelationshipsRequest
|
|
49, // 125: proto.AccountService.GetRelationship:input_type -> proto.GetRelationshipRequest
|
|
49, // 126: proto.AccountService.HasRelationship:input_type -> proto.GetRelationshipRequest
|
|
51, // 127: proto.AccountService.ListFriends:input_type -> proto.ListRelationshipSimpleRequest
|
|
51, // 128: proto.AccountService.ListBlocked:input_type -> proto.ListRelationshipSimpleRequest
|
|
19, // 129: proto.ActionLogService.CreateActionLog:input_type -> proto.CreateActionLogRequest
|
|
21, // 130: proto.ActionLogService.ListActionLogs:input_type -> proto.ListActionLogsRequest
|
|
4, // 131: proto.AccountService.GetAccount:output_type -> proto.Account
|
|
4, // 132: proto.AccountService.GetBotAccount:output_type -> proto.Account
|
|
29, // 133: proto.AccountService.GetAccountBatch:output_type -> proto.GetAccountBatchResponse
|
|
29, // 134: proto.AccountService.GetBotAccountBatch:output_type -> proto.GetAccountBatchResponse
|
|
29, // 135: proto.AccountService.LookupAccountBatch:output_type -> proto.GetAccountBatchResponse
|
|
29, // 136: proto.AccountService.SearchAccount:output_type -> proto.GetAccountBatchResponse
|
|
34, // 137: proto.AccountService.ListAccounts:output_type -> proto.ListAccountsResponse
|
|
5, // 138: proto.AccountService.GetAccountStatus:output_type -> proto.AccountStatus
|
|
18, // 139: proto.AccountService.GetAccountStatusBatch:output_type -> proto.GetAccountStatusBatchResponse
|
|
8, // 140: proto.AccountService.GetProfile:output_type -> proto.AccountProfile
|
|
39, // 141: proto.AccountService.ListContacts:output_type -> proto.ListContactsResponse
|
|
42, // 142: proto.AccountService.ListBadges:output_type -> proto.ListBadgesResponse
|
|
44, // 143: proto.AccountService.ListAuthFactors:output_type -> proto.ListAuthFactorsResponse
|
|
46, // 144: proto.AccountService.ListConnections:output_type -> proto.ListConnectionsResponse
|
|
48, // 145: proto.AccountService.ListRelationships:output_type -> proto.ListRelationshipsResponse
|
|
50, // 146: proto.AccountService.GetRelationship:output_type -> proto.GetRelationshipResponse
|
|
64, // 147: proto.AccountService.HasRelationship:output_type -> google.protobuf.BoolValue
|
|
52, // 148: proto.AccountService.ListFriends:output_type -> proto.ListRelationshipSimpleResponse
|
|
52, // 149: proto.AccountService.ListBlocked:output_type -> proto.ListRelationshipSimpleResponse
|
|
20, // 150: proto.ActionLogService.CreateActionLog:output_type -> proto.CreateActionLogResponse
|
|
22, // 151: proto.ActionLogService.ListActionLogs:output_type -> proto.ListActionLogsResponse
|
|
131, // [131:152] is the sub-list for method output_type
|
|
110, // [110:131] is the sub-list for method input_type
|
|
110, // [110:110] is the sub-list for extension type_name
|
|
110, // [110:110] is the sub-list for extension extendee
|
|
0, // [0:110] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_account_proto_init() }
|
|
func file_account_proto_init() {
|
|
if File_account_proto != nil {
|
|
return
|
|
}
|
|
file_file_proto_init()
|
|
file_wallet_proto_init()
|
|
file_account_proto_msgTypes[0].OneofWrappers = []any{}
|
|
file_account_proto_msgTypes[4].OneofWrappers = []any{}
|
|
file_account_proto_msgTypes[11].OneofWrappers = []any{}
|
|
file_account_proto_msgTypes[43].OneofWrappers = []any{}
|
|
file_account_proto_msgTypes[45].OneofWrappers = []any{}
|
|
file_account_proto_msgTypes[46].OneofWrappers = []any{}
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: unsafe.Slice(unsafe.StringData(file_account_proto_rawDesc), len(file_account_proto_rawDesc)),
|
|
NumEnums: 4,
|
|
NumMessages: 56,
|
|
NumExtensions: 0,
|
|
NumServices: 2,
|
|
},
|
|
GoTypes: file_account_proto_goTypes,
|
|
DependencyIndexes: file_account_proto_depIdxs,
|
|
EnumInfos: file_account_proto_enumTypes,
|
|
MessageInfos: file_account_proto_msgTypes,
|
|
}.Build()
|
|
File_account_proto = out.File
|
|
file_account_proto_goTypes = nil
|
|
file_account_proto_depIdxs = nil
|
|
}
|