Documentation ¶
Index ¶
- Variables
- type ConsistencyToken
- type Contact
- func (*Contact) Descriptor() ([]byte, []int)deprecated
- func (x *Contact) GetAccepted() bool
- func (x *Contact) GetAcceptedAt() *timestamppb.Timestamp
- func (x *Contact) GetFrom() *User
- func (x *Contact) GetFromUserId() string
- func (x *Contact) GetId() string
- func (x *Contact) GetSentAt() *timestamppb.Timestamp
- func (x *Contact) GetTo() *User
- func (x *Contact) GetToUserId() string
- func (*Contact) ProtoMessage()
- func (x *Contact) ProtoReflect() protoreflect.Message
- func (x *Contact) Reset()
- func (x *Contact) String() string
- type DeviceInfo
- type Entry
- type File
- func (*File) Descriptor() ([]byte, []int)deprecated
- func (x *File) GetContentType() string
- func (x *File) GetCreatedAt() *timestamppb.Timestamp
- func (x *File) GetData() []byte
- func (x *File) GetDuration() *durationpb.Duration
- func (x *File) GetName() string
- func (x *File) GetPath() string
- func (x *File) GetSize() int64
- func (x *File) GetUrl() string
- func (*File) ProtoMessage()
- func (x *File) ProtoReflect() protoreflect.Message
- func (x *File) Reset()
- func (x *File) String() string
- type Filter
- type Filter_Order
- func (Filter_Order) Descriptor() protoreflect.EnumDescriptor
- func (x Filter_Order) Enum() *Filter_Order
- func (Filter_Order) EnumDescriptor() ([]byte, []int)deprecated
- func (x Filter_Order) Number() protoreflect.EnumNumber
- func (x Filter_Order) String() string
- func (Filter_Order) Type() protoreflect.EnumType
- type Folder
- func (*Folder) Descriptor() ([]byte, []int)deprecated
- func (x *Folder) GetFiles() []*File
- func (x *Folder) GetFolders() []*Folder
- func (x *Folder) GetName() string
- func (x *Folder) GetPath() string
- func (*Folder) ProtoMessage()
- func (x *Folder) ProtoReflect() protoreflect.Message
- func (x *Folder) Reset()
- func (x *Folder) String() string
- type Object
- type ObjectReference
- func (*ObjectReference) Descriptor() ([]byte, []int)deprecated
- func (x *ObjectReference) GetObjectId() string
- func (x *ObjectReference) GetObjectType() string
- func (*ObjectReference) ProtoMessage()
- func (x *ObjectReference) ProtoReflect() protoreflect.Message
- func (x *ObjectReference) Reset()
- func (x *ObjectReference) String() string
- type ObjectRetrieved
- func (*ObjectRetrieved) Descriptor() ([]byte, []int)deprecated
- func (x *ObjectRetrieved) GetPermissionship() Permissionship
- func (x *ObjectRetrieved) GetResourceId() string
- func (*ObjectRetrieved) ProtoMessage()
- func (x *ObjectRetrieved) ProtoReflect() protoreflect.Message
- func (x *ObjectRetrieved) Reset()
- func (x *ObjectRetrieved) String() string
- type Password
- func (*Password) Descriptor() ([]byte, []int)deprecated
- func (x *Password) GetData() []byte
- func (x *Password) GetHashing() *common.PasswordHashingInstance
- func (*Password) ProtoMessage()
- func (x *Password) ProtoReflect() protoreflect.Message
- func (x *Password) Reset()
- func (x *Password) String() string
- type Permissionship
- func (Permissionship) Descriptor() protoreflect.EnumDescriptor
- func (x Permissionship) Enum() *Permissionship
- func (Permissionship) EnumDescriptor() ([]byte, []int)deprecated
- func (x Permissionship) Number() protoreflect.EnumNumber
- func (x Permissionship) String() string
- func (Permissionship) Type() protoreflect.EnumType
- type Profile
- func (*Profile) Descriptor() ([]byte, []int)deprecated
- func (x *Profile) GetCountry() string
- func (x *Profile) GetFirstName() string
- func (x *Profile) GetLastName() string
- func (x *Profile) GetPreferredLanguage() string
- func (x *Profile) GetProfileImage() *common.Image
- func (*Profile) ProtoMessage()
- func (x *Profile) ProtoReflect() protoreflect.Message
- func (x *Profile) Reset()
- func (x *Profile) String() string
- type RelationTuple
- type Relationship
- func (*Relationship) Descriptor() ([]byte, []int)deprecated
- func (x *Relationship) GetRelation() string
- func (x *Relationship) GetResource() *ObjectReference
- func (x *Relationship) GetSubject() *SubjectReference
- func (*Relationship) ProtoMessage()
- func (x *Relationship) ProtoReflect() protoreflect.Message
- func (x *Relationship) Reset()
- func (x *Relationship) String() string
- type RelationshipFilter
- func (*RelationshipFilter) Descriptor() ([]byte, []int)deprecated
- func (x *RelationshipFilter) GetRelation() string
- func (x *RelationshipFilter) GetResourceId() string
- func (x *RelationshipFilter) GetResourceType() string
- func (x *RelationshipFilter) GetSubjectFilter() *SubjectFilter
- func (*RelationshipFilter) ProtoMessage()
- func (x *RelationshipFilter) ProtoReflect() protoreflect.Message
- func (x *RelationshipFilter) Reset()
- func (x *RelationshipFilter) String() string
- type Releation
- type SubjectFilter
- func (*SubjectFilter) Descriptor() ([]byte, []int)deprecated
- func (x *SubjectFilter) GetSubjectId() string
- func (x *SubjectFilter) GetSubjectRelation() string
- func (x *SubjectFilter) GetSubjectType() string
- func (*SubjectFilter) ProtoMessage()
- func (x *SubjectFilter) ProtoReflect() protoreflect.Message
- func (x *SubjectFilter) Reset()
- func (x *SubjectFilter) String() string
- type SubjectReference
- func (*SubjectReference) Descriptor() ([]byte, []int)deprecated
- func (x *SubjectReference) GetObject() *ObjectReference
- func (x *SubjectReference) GetRelation() string
- func (*SubjectReference) ProtoMessage()
- func (x *SubjectReference) ProtoReflect() protoreflect.Message
- func (x *SubjectReference) Reset()
- func (x *SubjectReference) String() string
- type TokenMeta
- func (*TokenMeta) Descriptor() ([]byte, []int)deprecated
- func (x *TokenMeta) GetBlocked() bool
- func (x *TokenMeta) GetBlockedAt() *timestamppb.Timestamp
- func (x *TokenMeta) GetCountry() string
- func (x *TokenMeta) GetCreatedAt() *timestamppb.Timestamp
- func (x *TokenMeta) GetDevice() DeviceInfo
- func (x *TokenMeta) GetExpiresAt() *timestamppb.Timestamp
- func (x *TokenMeta) GetId() string
- func (x *TokenMeta) GetLoginType() auth.LoginType
- func (x *TokenMeta) GetOauthProvider() project.OauthProviderType
- func (x *TokenMeta) GetPostalCode() int32
- func (x *TokenMeta) GetUsedAt() *timestamppb.Timestamp
- func (x *TokenMeta) GetUserId() string
- func (*TokenMeta) ProtoMessage()
- func (x *TokenMeta) ProtoReflect() protoreflect.Message
- func (x *TokenMeta) Reset()
- func (x *TokenMeta) String() string
- type Update
- func (*Update) Descriptor() ([]byte, []int)deprecated
- func (x *Update) GetEmail() string
- func (m *Update) GetField() isUpdate_Field
- func (x *Update) GetIsEmailVerified() bool
- func (x *Update) GetIsPhoneVerified() bool
- func (x *Update) GetPassword() string
- func (x *Update) GetPhoneNumber() string
- func (x *Update) GetProfile() *Profile
- func (x *Update) GetResetRessions() *Update_ResetRessions
- func (x *Update) GetUsername() string
- func (*Update) ProtoMessage()
- func (x *Update) ProtoReflect() protoreflect.Message
- func (x *Update) Reset()
- func (x *Update) String() string
- type Update_Email
- type Update_IsEmailVerified
- type Update_IsPhoneVerified
- type Update_Password
- type Update_PhoneNumber
- type Update_Profile
- type Update_ResetRessions
- type Update_ResetRessions_
- type Update_Username
- type User
- func (*User) Descriptor() ([]byte, []int)deprecated
- func (x *User) GetIsEmailVerified() bool
- func (x *User) GetIsPhoneVerified() bool
- func (x *User) GetNewSessionsSince() *timestamppb.Timestamp
- func (x *User) GetProfile() *Profile
- func (x *User) GetRegistrationType() auth.LoginType
- func (x *User) GetUpdatedAt() *timestamppb.Timestamp
- func (x *User) GetUserInfo() *auth.UserInfo
- func (*User) ProtoMessage()
- func (x *User) ProtoReflect() protoreflect.Message
- func (x *User) Reset()
- func (x *User) String() string
- type VerificationCode
- func (*VerificationCode) Descriptor() ([]byte, []int)deprecated
- func (x *VerificationCode) GetAttempts() int32
- func (x *VerificationCode) GetCode() *Password
- func (x *VerificationCode) GetExpiresAt() *timestamppb.Timestamp
- func (x *VerificationCode) GetLastAttempt() *timestamppb.Timestamp
- func (x *VerificationCode) GetSentAt() *timestamppb.Timestamp
- func (x *VerificationCode) GetType() VerificationType
- func (x *VerificationCode) GetUserId() *model.UUID
- func (*VerificationCode) ProtoMessage()
- func (x *VerificationCode) ProtoReflect() protoreflect.Message
- func (x *VerificationCode) Reset()
- func (x *VerificationCode) String() string
- type VerificationType
- func (VerificationType) Descriptor() protoreflect.EnumDescriptor
- func (x VerificationType) Enum() *VerificationType
- func (VerificationType) EnumDescriptor() ([]byte, []int)deprecated
- func (x VerificationType) Number() protoreflect.EnumNumber
- func (x VerificationType) String() string
- func (VerificationType) Type() protoreflect.EnumType
Constants ¶
This section is empty.
Variables ¶
var ( VerificationType_name = map[int32]string{ 0: "VERIFICATION_TYPE_UNSPECIFIED", 1: "VERIFICATION_TYPE_EMAIL", 2: "VERIFICATION_TYPE_TEXT", 3: "VERIFICATION_TYPE_RESET_PASSWORD", 4: "VERIFICATION_TYPE_MAGIC_CODE", } VerificationType_value = map[string]int32{ "VERIFICATION_TYPE_UNSPECIFIED": 0, "VERIFICATION_TYPE_EMAIL": 1, "VERIFICATION_TYPE_TEXT": 2, "VERIFICATION_TYPE_RESET_PASSWORD": 3, "VERIFICATION_TYPE_MAGIC_CODE": 4, } )
Enum value maps for VerificationType.
var ( DeviceInfo_name = map[int32]string{ 0: "DEVICE_INFO_UNSPECIFIED", 1: "DEVICE_INFO_IOS", 2: "DEVICE_INFO_MACOS", 3: "DEVICE_INFO_WINDOWS", 4: "DEVICE_INFO_WEB", 5: "DEVICE_INFO_LINUX", 6: "DEVICE_INFO_ANDROID", } DeviceInfo_value = map[string]int32{ "DEVICE_INFO_UNSPECIFIED": 0, "DEVICE_INFO_IOS": 1, "DEVICE_INFO_MACOS": 2, "DEVICE_INFO_WINDOWS": 3, "DEVICE_INFO_WEB": 4, "DEVICE_INFO_LINUX": 5, "DEVICE_INFO_ANDROID": 6, } )
Enum value maps for DeviceInfo.
var ( Permissionship_name = map[int32]string{ 0: "PERMISSIONSHIP_UNSPECIFIED", 1: "PERMISSIONSHIP_NO_PERMISSION", 2: "PERMISSIONSHIP_HAS_PERMISSION", 3: "PERMISSIONSHIP_CONDITIONAL_PERMISSION", } Permissionship_value = map[string]int32{ "PERMISSIONSHIP_UNSPECIFIED": 0, "PERMISSIONSHIP_NO_PERMISSION": 1, "PERMISSIONSHIP_HAS_PERMISSION": 2, "PERMISSIONSHIP_CONDITIONAL_PERMISSION": 3, } )
Enum value maps for Permissionship.
var ( Filter_Order_name = map[int32]string{ 0: "ORDER_UNSPECIFIED", 1: "ORDER_INC", 2: "ORDER_DEC", } Filter_Order_value = map[string]int32{ "ORDER_UNSPECIFIED": 0, "ORDER_INC": 1, "ORDER_DEC": 2, } )
Enum value maps for Filter_Order.
var File_nuntio_management_model_user_user_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ConsistencyToken ¶
type ConsistencyToken struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` // contains filtered or unexported fields }
By default, we want to provide a token that specifies a timestamp of a snapshot of the data, so we can say that the data must be atleast as fresh as this snapshot.
func (*ConsistencyToken) Descriptor
deprecated
func (*ConsistencyToken) Descriptor() ([]byte, []int)
Deprecated: Use ConsistencyToken.ProtoReflect.Descriptor instead.
func (*ConsistencyToken) GetToken ¶
func (x *ConsistencyToken) GetToken() string
func (*ConsistencyToken) ProtoMessage ¶
func (*ConsistencyToken) ProtoMessage()
func (*ConsistencyToken) ProtoReflect ¶
func (x *ConsistencyToken) ProtoReflect() protoreflect.Message
func (*ConsistencyToken) Reset ¶
func (x *ConsistencyToken) Reset()
func (*ConsistencyToken) String ¶
func (x *ConsistencyToken) String() string
type Contact ¶
type Contact struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` FromUserId string `protobuf:"bytes,2,opt,name=from_user_id,json=fromUserId,proto3" json:"from_user_id,omitempty"` ToUserId string `protobuf:"bytes,3,opt,name=to_user_id,json=toUserId,proto3" json:"to_user_id,omitempty"` From *User `protobuf:"bytes,4,opt,name=from,proto3" json:"from,omitempty"` To *User `protobuf:"bytes,5,opt,name=to,proto3" json:"to,omitempty"` Accepted bool `protobuf:"varint,6,opt,name=accepted,proto3" json:"accepted,omitempty"` AcceptedAt *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=accepted_at,json=acceptedAt,proto3" json:"accepted_at,omitempty"` SentAt *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=sent_at,json=sentAt,proto3" json:"sent_at,omitempty"` // contains filtered or unexported fields }
func (*Contact) GetAcceptedAt ¶
func (x *Contact) GetAcceptedAt() *timestamppb.Timestamp
func (*Contact) GetSentAt ¶
func (x *Contact) GetSentAt() *timestamppb.Timestamp
func (*Contact) ProtoReflect ¶
func (x *Contact) ProtoReflect() protoreflect.Message
type DeviceInfo ¶
type DeviceInfo int32
const ( DeviceInfo_DEVICE_INFO_UNSPECIFIED DeviceInfo = 0 DeviceInfo_DEVICE_INFO_IOS DeviceInfo = 1 DeviceInfo_DEVICE_INFO_MACOS DeviceInfo = 2 DeviceInfo_DEVICE_INFO_WINDOWS DeviceInfo = 3 DeviceInfo_DEVICE_INFO_WEB DeviceInfo = 4 DeviceInfo_DEVICE_INFO_LINUX DeviceInfo = 5 DeviceInfo_DEVICE_INFO_ANDROID DeviceInfo = 6 )
func (DeviceInfo) Descriptor ¶
func (DeviceInfo) Descriptor() protoreflect.EnumDescriptor
func (DeviceInfo) Enum ¶
func (x DeviceInfo) Enum() *DeviceInfo
func (DeviceInfo) EnumDescriptor
deprecated
func (DeviceInfo) EnumDescriptor() ([]byte, []int)
Deprecated: Use DeviceInfo.Descriptor instead.
func (DeviceInfo) Number ¶
func (x DeviceInfo) Number() protoreflect.EnumNumber
func (DeviceInfo) String ¶
func (x DeviceInfo) String() string
func (DeviceInfo) Type ¶
func (DeviceInfo) Type() protoreflect.EnumType
type Entry ¶
type Entry struct { UserId *model.UUID `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` User *User `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
Wrapper entry for returning a collection of users.
func (*Entry) ProtoReflect ¶
func (x *Entry) ProtoReflect() protoreflect.Message
type File ¶
type File struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` Url string `protobuf:"bytes,3,opt,name=url,proto3" json:"url,omitempty"` ContentType string `protobuf:"bytes,5,opt,name=content_type,json=contentType,proto3" json:"content_type,omitempty"` Path string `protobuf:"bytes,6,opt,name=path,proto3" json:"path,omitempty"` Duration *durationpb.Duration `protobuf:"bytes,7,opt,name=duration,proto3" json:"duration,omitempty"` Size int64 `protobuf:"varint,8,opt,name=size,proto3" json:"size,omitempty"` Data []byte `protobuf:"bytes,9,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*File) GetCreatedAt ¶
func (x *File) GetCreatedAt() *timestamppb.Timestamp
func (*File) GetDuration ¶
func (x *File) GetDuration() *durationpb.Duration
func (*File) ProtoReflect ¶
func (x *File) ProtoReflect() protoreflect.Message
type Filter ¶
type Filter struct { From int32 `protobuf:"varint,1,opt,name=from,proto3" json:"from,omitempty"` To int32 `protobuf:"varint,2,opt,name=to,proto3" json:"to,omitempty"` Order Filter_Order `protobuf:"varint,3,opt,name=order,proto3,enum=nuntio.management.model.user.Filter_Order" json:"order,omitempty"` // contains filtered or unexported fields }
func (*Filter) GetOrder ¶
func (x *Filter) GetOrder() Filter_Order
func (*Filter) ProtoReflect ¶
func (x *Filter) ProtoReflect() protoreflect.Message
type Filter_Order ¶
type Filter_Order int32
const ( Filter_ORDER_UNSPECIFIED Filter_Order = 0 Filter_ORDER_INC Filter_Order = 1 Filter_ORDER_DEC Filter_Order = 2 )
func (Filter_Order) Descriptor ¶
func (Filter_Order) Descriptor() protoreflect.EnumDescriptor
func (Filter_Order) Enum ¶
func (x Filter_Order) Enum() *Filter_Order
func (Filter_Order) EnumDescriptor
deprecated
func (Filter_Order) EnumDescriptor() ([]byte, []int)
Deprecated: Use Filter_Order.Descriptor instead.
func (Filter_Order) Number ¶
func (x Filter_Order) Number() protoreflect.EnumNumber
func (Filter_Order) String ¶
func (x Filter_Order) String() string
func (Filter_Order) Type ¶
func (Filter_Order) Type() protoreflect.EnumType
type Folder ¶
type Folder struct { Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` Files []*File `protobuf:"bytes,2,rep,name=files,proto3" json:"files,omitempty"` Folders []*Folder `protobuf:"bytes,3,rep,name=folders,proto3" json:"folders,omitempty"` Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*Folder) ProtoReflect ¶
func (x *Folder) ProtoReflect() protoreflect.Message
type Object ¶
type Object struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` // contains filtered or unexported fields }
func (*Object) ProtoReflect ¶
func (x *Object) ProtoReflect() protoreflect.Message
type ObjectReference ¶
type ObjectReference struct { ObjectType string `protobuf:"bytes,1,opt,name=object_type,json=objectType,proto3" json:"object_type,omitempty"` ObjectId string `protobuf:"bytes,2,opt,name=object_id,json=objectId,proto3" json:"object_id,omitempty"` // contains filtered or unexported fields }
func (*ObjectReference) Descriptor
deprecated
func (*ObjectReference) Descriptor() ([]byte, []int)
Deprecated: Use ObjectReference.ProtoReflect.Descriptor instead.
func (*ObjectReference) GetObjectId ¶
func (x *ObjectReference) GetObjectId() string
func (*ObjectReference) GetObjectType ¶
func (x *ObjectReference) GetObjectType() string
func (*ObjectReference) ProtoMessage ¶
func (*ObjectReference) ProtoMessage()
func (*ObjectReference) ProtoReflect ¶
func (x *ObjectReference) ProtoReflect() protoreflect.Message
func (*ObjectReference) Reset ¶
func (x *ObjectReference) Reset()
func (*ObjectReference) String ¶
func (x *ObjectReference) String() string
type ObjectRetrieved ¶
type ObjectRetrieved struct { ResourceId string `protobuf:"bytes,1,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"` Permissionship Permissionship `` /* 131-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ObjectRetrieved) Descriptor
deprecated
func (*ObjectRetrieved) Descriptor() ([]byte, []int)
Deprecated: Use ObjectRetrieved.ProtoReflect.Descriptor instead.
func (*ObjectRetrieved) GetPermissionship ¶
func (x *ObjectRetrieved) GetPermissionship() Permissionship
func (*ObjectRetrieved) GetResourceId ¶
func (x *ObjectRetrieved) GetResourceId() string
func (*ObjectRetrieved) ProtoMessage ¶
func (*ObjectRetrieved) ProtoMessage()
func (*ObjectRetrieved) ProtoReflect ¶
func (x *ObjectRetrieved) ProtoReflect() protoreflect.Message
func (*ObjectRetrieved) Reset ¶
func (x *ObjectRetrieved) Reset()
func (*ObjectRetrieved) String ¶
func (x *ObjectRetrieved) String() string
type Password ¶
type Password struct { Hashing *common.PasswordHashingInstance `protobuf:"bytes,1,opt,name=hashing,proto3" json:"hashing,omitempty"` Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*Password) GetHashing ¶
func (x *Password) GetHashing() *common.PasswordHashingInstance
func (*Password) ProtoReflect ¶
func (x *Password) ProtoReflect() protoreflect.Message
type Permissionship ¶
type Permissionship int32
const ( Permissionship_PERMISSIONSHIP_UNSPECIFIED Permissionship = 0 Permissionship_PERMISSIONSHIP_NO_PERMISSION Permissionship = 1 Permissionship_PERMISSIONSHIP_HAS_PERMISSION Permissionship = 2 Permissionship_PERMISSIONSHIP_CONDITIONAL_PERMISSION Permissionship = 3 )
func (Permissionship) Descriptor ¶
func (Permissionship) Descriptor() protoreflect.EnumDescriptor
func (Permissionship) Enum ¶
func (x Permissionship) Enum() *Permissionship
func (Permissionship) EnumDescriptor
deprecated
func (Permissionship) EnumDescriptor() ([]byte, []int)
Deprecated: Use Permissionship.Descriptor instead.
func (Permissionship) Number ¶
func (x Permissionship) Number() protoreflect.EnumNumber
func (Permissionship) String ¶
func (x Permissionship) String() string
func (Permissionship) Type ¶
func (Permissionship) Type() protoreflect.EnumType
type Profile ¶
type Profile struct { ProfileImage *common.Image `protobuf:"bytes,1,opt,name=profile_image,json=profileImage,proto3" json:"profile_image,omitempty"` FirstName string `protobuf:"bytes,2,opt,name=first_name,json=firstName,proto3" json:"first_name,omitempty"` LastName string `protobuf:"bytes,3,opt,name=last_name,json=lastName,proto3" json:"last_name,omitempty"` PreferredLanguage string `protobuf:"bytes,4,opt,name=preferred_language,json=preferredLanguage,proto3" json:"preferred_language,omitempty"` Country string `protobuf:"bytes,5,opt,name=country,proto3" json:"country,omitempty"` // contains filtered or unexported fields }
func (*Profile) ProtoReflect ¶
func (x *Profile) ProtoReflect() protoreflect.Message
type RelationTuple ¶
type RelationTuple struct {
// contains filtered or unexported fields
}
func (*RelationTuple) Descriptor
deprecated
func (*RelationTuple) Descriptor() ([]byte, []int)
Deprecated: Use RelationTuple.ProtoReflect.Descriptor instead.
func (*RelationTuple) ProtoMessage ¶
func (*RelationTuple) ProtoMessage()
func (*RelationTuple) ProtoReflect ¶
func (x *RelationTuple) ProtoReflect() protoreflect.Message
func (*RelationTuple) Reset ¶
func (x *RelationTuple) Reset()
func (*RelationTuple) String ¶
func (x *RelationTuple) String() string
type Relationship ¶
type Relationship struct { Resource *ObjectReference `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"` Relation string `protobuf:"bytes,2,opt,name=relation,proto3" json:"relation,omitempty"` Subject *SubjectReference `protobuf:"bytes,3,opt,name=subject,proto3" json:"subject,omitempty"` // contains filtered or unexported fields }
func (*Relationship) Descriptor
deprecated
func (*Relationship) Descriptor() ([]byte, []int)
Deprecated: Use Relationship.ProtoReflect.Descriptor instead.
func (*Relationship) GetRelation ¶
func (x *Relationship) GetRelation() string
func (*Relationship) GetResource ¶
func (x *Relationship) GetResource() *ObjectReference
func (*Relationship) GetSubject ¶
func (x *Relationship) GetSubject() *SubjectReference
func (*Relationship) ProtoMessage ¶
func (*Relationship) ProtoMessage()
func (*Relationship) ProtoReflect ¶
func (x *Relationship) ProtoReflect() protoreflect.Message
func (*Relationship) Reset ¶
func (x *Relationship) Reset()
func (*Relationship) String ¶
func (x *Relationship) String() string
type RelationshipFilter ¶
type RelationshipFilter struct { ResourceType string `protobuf:"bytes,1,opt,name=resource_type,json=resourceType,proto3" json:"resource_type,omitempty"` ResourceId *string `protobuf:"bytes,2,opt,name=resource_id,json=resourceId,proto3,oneof" json:"resource_id,omitempty"` Relation *string `protobuf:"bytes,3,opt,name=relation,proto3,oneof" json:"relation,omitempty"` SubjectFilter *SubjectFilter `protobuf:"bytes,4,opt,name=subject_filter,json=subjectFilter,proto3,oneof" json:"subject_filter,omitempty"` // contains filtered or unexported fields }
func (*RelationshipFilter) Descriptor
deprecated
func (*RelationshipFilter) Descriptor() ([]byte, []int)
Deprecated: Use RelationshipFilter.ProtoReflect.Descriptor instead.
func (*RelationshipFilter) GetRelation ¶
func (x *RelationshipFilter) GetRelation() string
func (*RelationshipFilter) GetResourceId ¶
func (x *RelationshipFilter) GetResourceId() string
func (*RelationshipFilter) GetResourceType ¶
func (x *RelationshipFilter) GetResourceType() string
func (*RelationshipFilter) GetSubjectFilter ¶
func (x *RelationshipFilter) GetSubjectFilter() *SubjectFilter
func (*RelationshipFilter) ProtoMessage ¶
func (*RelationshipFilter) ProtoMessage()
func (*RelationshipFilter) ProtoReflect ¶
func (x *RelationshipFilter) ProtoReflect() protoreflect.Message
func (*RelationshipFilter) Reset ¶
func (x *RelationshipFilter) Reset()
func (*RelationshipFilter) String ¶
func (x *RelationshipFilter) String() string
type Releation ¶
type Releation struct {
// contains filtered or unexported fields
}
func (*Releation) ProtoReflect ¶
func (x *Releation) ProtoReflect() protoreflect.Message
type SubjectFilter ¶
type SubjectFilter struct { SubjectType string `protobuf:"bytes,1,opt,name=subject_type,json=subjectType,proto3" json:"subject_type,omitempty"` SubjectId *string `protobuf:"bytes,2,opt,name=subject_id,json=subjectId,proto3,oneof" json:"subject_id,omitempty"` SubjectRelation *string `protobuf:"bytes,3,opt,name=subject_relation,json=subjectRelation,proto3,oneof" json:"subject_relation,omitempty"` // contains filtered or unexported fields }
func (*SubjectFilter) Descriptor
deprecated
func (*SubjectFilter) Descriptor() ([]byte, []int)
Deprecated: Use SubjectFilter.ProtoReflect.Descriptor instead.
func (*SubjectFilter) GetSubjectId ¶
func (x *SubjectFilter) GetSubjectId() string
func (*SubjectFilter) GetSubjectRelation ¶
func (x *SubjectFilter) GetSubjectRelation() string
func (*SubjectFilter) GetSubjectType ¶
func (x *SubjectFilter) GetSubjectType() string
func (*SubjectFilter) ProtoMessage ¶
func (*SubjectFilter) ProtoMessage()
func (*SubjectFilter) ProtoReflect ¶
func (x *SubjectFilter) ProtoReflect() protoreflect.Message
func (*SubjectFilter) Reset ¶
func (x *SubjectFilter) Reset()
func (*SubjectFilter) String ¶
func (x *SubjectFilter) String() string
type SubjectReference ¶
type SubjectReference struct { Object *ObjectReference `protobuf:"bytes,1,opt,name=object,proto3" json:"object,omitempty"` Relation *string `protobuf:"bytes,2,opt,name=relation,proto3,oneof" json:"relation,omitempty"` // contains filtered or unexported fields }
func (*SubjectReference) Descriptor
deprecated
func (*SubjectReference) Descriptor() ([]byte, []int)
Deprecated: Use SubjectReference.ProtoReflect.Descriptor instead.
func (*SubjectReference) GetObject ¶
func (x *SubjectReference) GetObject() *ObjectReference
func (*SubjectReference) GetRelation ¶
func (x *SubjectReference) GetRelation() string
func (*SubjectReference) ProtoMessage ¶
func (*SubjectReference) ProtoMessage()
func (*SubjectReference) ProtoReflect ¶
func (x *SubjectReference) ProtoReflect() protoreflect.Message
func (*SubjectReference) Reset ¶
func (x *SubjectReference) Reset()
func (*SubjectReference) String ¶
func (x *SubjectReference) String() string
type TokenMeta ¶
type TokenMeta struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Country string `protobuf:"bytes,2,opt,name=country,proto3" json:"country,omitempty"` PostalCode int32 `protobuf:"varint,3,opt,name=postal_code,json=postalCode,proto3" json:"postal_code,omitempty"` LoginType auth.LoginType `` /* 126-byte string literal not displayed */ UserId string `protobuf:"bytes,5,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` BlockedAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=blocked_at,json=blockedAt,proto3" json:"blocked_at,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` OauthProvider project.OauthProviderType `` /* 156-byte string literal not displayed */ Blocked bool `protobuf:"varint,9,opt,name=blocked,proto3" json:"blocked,omitempty"` ExpiresAt *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"` UsedAt *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=used_at,json=usedAt,proto3" json:"used_at,omitempty"` Device DeviceInfo `protobuf:"varint,12,opt,name=device,proto3,enum=nuntio.management.model.user.DeviceInfo" json:"device,omitempty"` // contains filtered or unexported fields }
func (*TokenMeta) GetBlockedAt ¶
func (x *TokenMeta) GetBlockedAt() *timestamppb.Timestamp
func (*TokenMeta) GetCreatedAt ¶
func (x *TokenMeta) GetCreatedAt() *timestamppb.Timestamp
func (*TokenMeta) GetDevice ¶
func (x *TokenMeta) GetDevice() DeviceInfo
func (*TokenMeta) GetExpiresAt ¶
func (x *TokenMeta) GetExpiresAt() *timestamppb.Timestamp
func (*TokenMeta) GetOauthProvider ¶
func (x *TokenMeta) GetOauthProvider() project.OauthProviderType
func (*TokenMeta) GetUsedAt ¶
func (x *TokenMeta) GetUsedAt() *timestamppb.Timestamp
func (*TokenMeta) ProtoReflect ¶
func (x *TokenMeta) ProtoReflect() protoreflect.Message
type Update ¶
type Update struct { // Types that are assignable to Field: // // *Update_Email // *Update_Username // *Update_PhoneNumber // *Update_Password // *Update_Profile // *Update_IsEmailVerified // *Update_IsPhoneVerified // *Update_ResetRessions_ Field isUpdate_Field `protobuf_oneof:"field"` // contains filtered or unexported fields }
func (*Update) GetResetRessions ¶
func (x *Update) GetResetRessions() *Update_ResetRessions
func (*Update) ProtoReflect ¶
func (x *Update) ProtoReflect() protoreflect.Message
type Update_Email ¶
type Update_Email struct {
Email string `protobuf:"bytes,1,opt,name=email,proto3,oneof"`
}
type Update_IsEmailVerified ¶
type Update_IsEmailVerified struct {
IsEmailVerified bool `protobuf:"varint,6,opt,name=is_email_verified,json=isEmailVerified,proto3,oneof"`
}
type Update_IsPhoneVerified ¶
type Update_IsPhoneVerified struct {
IsPhoneVerified bool `protobuf:"varint,7,opt,name=is_phone_verified,json=isPhoneVerified,proto3,oneof"`
}
type Update_Password ¶
type Update_Password struct {
Password string `protobuf:"bytes,4,opt,name=password,proto3,oneof"`
}
type Update_PhoneNumber ¶
type Update_PhoneNumber struct {
PhoneNumber string `protobuf:"bytes,3,opt,name=phone_number,json=phoneNumber,proto3,oneof"`
}
type Update_Profile ¶
type Update_Profile struct {
Profile *Profile `protobuf:"bytes,5,opt,name=profile,proto3,oneof"`
}
type Update_ResetRessions ¶
type Update_ResetRessions struct {
// contains filtered or unexported fields
}
func (*Update_ResetRessions) Descriptor
deprecated
func (*Update_ResetRessions) Descriptor() ([]byte, []int)
Deprecated: Use Update_ResetRessions.ProtoReflect.Descriptor instead.
func (*Update_ResetRessions) ProtoMessage ¶
func (*Update_ResetRessions) ProtoMessage()
func (*Update_ResetRessions) ProtoReflect ¶
func (x *Update_ResetRessions) ProtoReflect() protoreflect.Message
func (*Update_ResetRessions) Reset ¶
func (x *Update_ResetRessions) Reset()
func (*Update_ResetRessions) String ¶
func (x *Update_ResetRessions) String() string
type Update_ResetRessions_ ¶
type Update_ResetRessions_ struct {
ResetRessions *Update_ResetRessions `protobuf:"bytes,8,opt,name=reset_ressions,json=resetRessions,proto3,oneof"`
}
type Update_Username ¶
type Update_Username struct {
Username string `protobuf:"bytes,2,opt,name=username,proto3,oneof"`
}
type User ¶
type User struct { UserInfo *auth.UserInfo `protobuf:"bytes,1,opt,name=user_info,json=userInfo,proto3" json:"user_info,omitempty"` Profile *Profile `protobuf:"bytes,2,opt,name=profile,proto3" json:"profile,omitempty"` UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` RegistrationType auth.LoginType `` /* 147-byte string literal not displayed */ IsPhoneVerified bool `protobuf:"varint,5,opt,name=is_phone_verified,json=isPhoneVerified,proto3" json:"is_phone_verified,omitempty"` IsEmailVerified bool `protobuf:"varint,6,opt,name=is_email_verified,json=isEmailVerified,proto3" json:"is_email_verified,omitempty"` NewSessionsSince *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=new_sessions_since,json=newSessionsSince,proto3" json:"new_sessions_since,omitempty"` // contains filtered or unexported fields }
func (*User) GetNewSessionsSince ¶
func (x *User) GetNewSessionsSince() *timestamppb.Timestamp
func (*User) GetUpdatedAt ¶
func (x *User) GetUpdatedAt() *timestamppb.Timestamp
func (*User) ProtoReflect ¶
func (x *User) ProtoReflect() protoreflect.Message
type VerificationCode ¶
type VerificationCode struct { Code *Password `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"` SentAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=sent_at,json=sentAt,proto3" json:"sent_at,omitempty"` ExpiresAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"` Attempts int32 `protobuf:"varint,4,opt,name=attempts,proto3" json:"attempts,omitempty"` LastAttempt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=last_attempt,json=lastAttempt,proto3" json:"last_attempt,omitempty"` Type VerificationType `protobuf:"varint,6,opt,name=type,proto3,enum=nuntio.management.model.user.VerificationType" json:"type,omitempty"` UserId *model.UUID `protobuf:"bytes,7,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // contains filtered or unexported fields }
func (*VerificationCode) Descriptor
deprecated
func (*VerificationCode) Descriptor() ([]byte, []int)
Deprecated: Use VerificationCode.ProtoReflect.Descriptor instead.
func (*VerificationCode) GetAttempts ¶
func (x *VerificationCode) GetAttempts() int32
func (*VerificationCode) GetCode ¶
func (x *VerificationCode) GetCode() *Password
func (*VerificationCode) GetExpiresAt ¶
func (x *VerificationCode) GetExpiresAt() *timestamppb.Timestamp
func (*VerificationCode) GetLastAttempt ¶
func (x *VerificationCode) GetLastAttempt() *timestamppb.Timestamp
func (*VerificationCode) GetSentAt ¶
func (x *VerificationCode) GetSentAt() *timestamppb.Timestamp
func (*VerificationCode) GetType ¶
func (x *VerificationCode) GetType() VerificationType
func (*VerificationCode) GetUserId ¶
func (x *VerificationCode) GetUserId() *model.UUID
func (*VerificationCode) ProtoMessage ¶
func (*VerificationCode) ProtoMessage()
func (*VerificationCode) ProtoReflect ¶
func (x *VerificationCode) ProtoReflect() protoreflect.Message
func (*VerificationCode) Reset ¶
func (x *VerificationCode) Reset()
func (*VerificationCode) String ¶
func (x *VerificationCode) String() string
type VerificationType ¶
type VerificationType int32
const ( VerificationType_VERIFICATION_TYPE_UNSPECIFIED VerificationType = 0 VerificationType_VERIFICATION_TYPE_EMAIL VerificationType = 1 VerificationType_VERIFICATION_TYPE_TEXT VerificationType = 2 VerificationType_VERIFICATION_TYPE_RESET_PASSWORD VerificationType = 3 VerificationType_VERIFICATION_TYPE_MAGIC_CODE VerificationType = 4 )
func (VerificationType) Descriptor ¶
func (VerificationType) Descriptor() protoreflect.EnumDescriptor
func (VerificationType) Enum ¶
func (x VerificationType) Enum() *VerificationType
func (VerificationType) EnumDescriptor
deprecated
func (VerificationType) EnumDescriptor() ([]byte, []int)
Deprecated: Use VerificationType.Descriptor instead.
func (VerificationType) Number ¶
func (x VerificationType) Number() protoreflect.EnumNumber
func (VerificationType) String ¶
func (x VerificationType) String() string
func (VerificationType) Type ¶
func (VerificationType) Type() protoreflect.EnumType