// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.36.11 // protoc v3.21.12 // source: sso/account.proto package pb import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" 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) ) type GetAccountRequest struct { state protoimpl.MessageState `protogen:"open.v1"` Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *GetAccountRequest) Reset() { *x = GetAccountRequest{} mi := &file_sso_account_proto_msgTypes[0] 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_sso_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 GetAccountRequest.ProtoReflect.Descriptor instead. func (*GetAccountRequest) Descriptor() ([]byte, []int) { return file_sso_account_proto_rawDescGZIP(), []int{0} } func (x *GetAccountRequest) GetId() string { if x != nil { return x.Id } return "" } type GetAccountResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"` Email string `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"` Phone string `protobuf:"bytes,4,opt,name=phone,proto3" json:"phone,omitempty"` FullName string `protobuf:"bytes,5,opt,name=full_name,json=fullName,proto3" json:"full_name,omitempty"` IsLdap bool `protobuf:"varint,6,opt,name=is_ldap,json=isLdap,proto3" json:"is_ldap,omitempty"` Status string `protobuf:"bytes,7,opt,name=status,proto3" json:"status,omitempty"` Roles []string `protobuf:"bytes,8,rep,name=roles,proto3" json:"roles,omitempty"` AvatarUrl string `protobuf:"bytes,9,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"` EmployeeId *string `protobuf:"bytes,10,opt,name=employee_id,json=employeeId,proto3,oneof" json:"employee_id,omitempty"` Presence string `protobuf:"bytes,11,opt,name=presence,proto3" json:"presence,omitempty"` LastActive string `protobuf:"bytes,12,opt,name=last_active,json=lastActive,proto3" json:"last_active,omitempty"` CustomStatusText string `protobuf:"bytes,13,opt,name=custom_status_text,json=customStatusText,proto3" json:"custom_status_text,omitempty"` CustomStatusEmoji string `protobuf:"bytes,14,opt,name=custom_status_emoji,json=customStatusEmoji,proto3" json:"custom_status_emoji,omitempty"` Timezone string `protobuf:"bytes,15,opt,name=timezone,proto3" json:"timezone,omitempty"` Language string `protobuf:"bytes,16,opt,name=language,proto3" json:"language,omitempty"` TwoFaEnabled bool `protobuf:"varint,17,opt,name=two_fa_enabled,json=twoFaEnabled,proto3" json:"two_fa_enabled,omitempty"` HasPin bool `protobuf:"varint,18,opt,name=has_pin,json=hasPin,proto3" json:"has_pin,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *GetAccountResponse) Reset() { *x = GetAccountResponse{} mi := &file_sso_account_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *GetAccountResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetAccountResponse) ProtoMessage() {} func (x *GetAccountResponse) ProtoReflect() protoreflect.Message { mi := &file_sso_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 GetAccountResponse.ProtoReflect.Descriptor instead. func (*GetAccountResponse) Descriptor() ([]byte, []int) { return file_sso_account_proto_rawDescGZIP(), []int{1} } func (x *GetAccountResponse) GetId() string { if x != nil { return x.Id } return "" } func (x *GetAccountResponse) GetUsername() string { if x != nil { return x.Username } return "" } func (x *GetAccountResponse) GetEmail() string { if x != nil { return x.Email } return "" } func (x *GetAccountResponse) GetPhone() string { if x != nil { return x.Phone } return "" } func (x *GetAccountResponse) GetFullName() string { if x != nil { return x.FullName } return "" } func (x *GetAccountResponse) GetIsLdap() bool { if x != nil { return x.IsLdap } return false } func (x *GetAccountResponse) GetStatus() string { if x != nil { return x.Status } return "" } func (x *GetAccountResponse) GetRoles() []string { if x != nil { return x.Roles } return nil } func (x *GetAccountResponse) GetAvatarUrl() string { if x != nil { return x.AvatarUrl } return "" } func (x *GetAccountResponse) GetEmployeeId() string { if x != nil && x.EmployeeId != nil { return *x.EmployeeId } return "" } func (x *GetAccountResponse) GetPresence() string { if x != nil { return x.Presence } return "" } func (x *GetAccountResponse) GetLastActive() string { if x != nil { return x.LastActive } return "" } func (x *GetAccountResponse) GetCustomStatusText() string { if x != nil { return x.CustomStatusText } return "" } func (x *GetAccountResponse) GetCustomStatusEmoji() string { if x != nil { return x.CustomStatusEmoji } return "" } func (x *GetAccountResponse) GetTimezone() string { if x != nil { return x.Timezone } return "" } func (x *GetAccountResponse) GetLanguage() string { if x != nil { return x.Language } return "" } func (x *GetAccountResponse) GetTwoFaEnabled() bool { if x != nil { return x.TwoFaEnabled } return false } func (x *GetAccountResponse) GetHasPin() bool { if x != nil { return x.HasPin } return false } type ChangePasswordRequest struct { state protoimpl.MessageState `protogen:"open.v1"` UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` OldPassword string `protobuf:"bytes,3,opt,name=old_password,json=oldPassword,proto3" json:"old_password,omitempty"` NewPassword string `protobuf:"bytes,4,opt,name=new_password,json=newPassword,proto3" json:"new_password,omitempty"` Code *string `protobuf:"bytes,5,opt,name=code,proto3,oneof" json:"code,omitempty"` SessionId string `protobuf:"bytes,6,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ChangePasswordRequest) Reset() { *x = ChangePasswordRequest{} mi := &file_sso_account_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ChangePasswordRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*ChangePasswordRequest) ProtoMessage() {} func (x *ChangePasswordRequest) ProtoReflect() protoreflect.Message { mi := &file_sso_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 ChangePasswordRequest.ProtoReflect.Descriptor instead. func (*ChangePasswordRequest) Descriptor() ([]byte, []int) { return file_sso_account_proto_rawDescGZIP(), []int{2} } func (x *ChangePasswordRequest) GetUserId() string { if x != nil { return x.UserId } return "" } func (x *ChangePasswordRequest) GetOldPassword() string { if x != nil { return x.OldPassword } return "" } func (x *ChangePasswordRequest) GetNewPassword() string { if x != nil { return x.NewPassword } return "" } func (x *ChangePasswordRequest) GetCode() string { if x != nil && x.Code != nil { return *x.Code } return "" } func (x *ChangePasswordRequest) GetSessionId() string { if x != nil { return x.SessionId } return "" } type ChangePasswordResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ChangePasswordResponse) Reset() { *x = ChangePasswordResponse{} mi := &file_sso_account_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ChangePasswordResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*ChangePasswordResponse) ProtoMessage() {} func (x *ChangePasswordResponse) ProtoReflect() protoreflect.Message { mi := &file_sso_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 ChangePasswordResponse.ProtoReflect.Descriptor instead. func (*ChangePasswordResponse) Descriptor() ([]byte, []int) { return file_sso_account_proto_rawDescGZIP(), []int{3} } func (x *ChangePasswordResponse) GetSuccess() bool { if x != nil { return x.Success } return false } func (x *ChangePasswordResponse) GetMessage() string { if x != nil { return x.Message } return "" } type CreateUserRequest struct { state protoimpl.MessageState `protogen:"open.v1"` Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` Roles []string `protobuf:"bytes,3,rep,name=roles,proto3" json:"roles,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *CreateUserRequest) Reset() { *x = CreateUserRequest{} mi := &file_sso_account_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *CreateUserRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*CreateUserRequest) ProtoMessage() {} func (x *CreateUserRequest) ProtoReflect() protoreflect.Message { mi := &file_sso_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 CreateUserRequest.ProtoReflect.Descriptor instead. func (*CreateUserRequest) Descriptor() ([]byte, []int) { return file_sso_account_proto_rawDescGZIP(), []int{4} } func (x *CreateUserRequest) GetUsername() string { if x != nil { return x.Username } return "" } func (x *CreateUserRequest) GetPassword() string { if x != nil { return x.Password } return "" } func (x *CreateUserRequest) GetRoles() []string { if x != nil { return x.Roles } return nil } type CreateUserResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *CreateUserResponse) Reset() { *x = CreateUserResponse{} mi := &file_sso_account_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *CreateUserResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*CreateUserResponse) ProtoMessage() {} func (x *CreateUserResponse) ProtoReflect() protoreflect.Message { mi := &file_sso_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 CreateUserResponse.ProtoReflect.Descriptor instead. func (*CreateUserResponse) Descriptor() ([]byte, []int) { return file_sso_account_proto_rawDescGZIP(), []int{5} } func (x *CreateUserResponse) GetSuccess() bool { if x != nil { return x.Success } return false } func (x *CreateUserResponse) GetMessage() string { if x != nil { return x.Message } return "" } type DeleteUserRequest struct { state protoimpl.MessageState `protogen:"open.v1"` UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *DeleteUserRequest) Reset() { *x = DeleteUserRequest{} mi := &file_sso_account_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *DeleteUserRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*DeleteUserRequest) ProtoMessage() {} func (x *DeleteUserRequest) ProtoReflect() protoreflect.Message { mi := &file_sso_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 DeleteUserRequest.ProtoReflect.Descriptor instead. func (*DeleteUserRequest) Descriptor() ([]byte, []int) { return file_sso_account_proto_rawDescGZIP(), []int{6} } func (x *DeleteUserRequest) GetUserId() string { if x != nil { return x.UserId } return "" } type DeleteUserResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *DeleteUserResponse) Reset() { *x = DeleteUserResponse{} mi := &file_sso_account_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *DeleteUserResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*DeleteUserResponse) ProtoMessage() {} func (x *DeleteUserResponse) ProtoReflect() protoreflect.Message { mi := &file_sso_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 DeleteUserResponse.ProtoReflect.Descriptor instead. func (*DeleteUserResponse) Descriptor() ([]byte, []int) { return file_sso_account_proto_rawDescGZIP(), []int{7} } func (x *DeleteUserResponse) GetSuccess() bool { if x != nil { return x.Success } return false } func (x *DeleteUserResponse) GetMessage() string { if x != nil { return x.Message } return "" } type ChangeDataRequest struct { state protoimpl.MessageState `protogen:"open.v1"` UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` SessionId string `protobuf:"bytes,2,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"` Email *string `protobuf:"bytes,3,opt,name=email,proto3,oneof" json:"email,omitempty"` Phone *string `protobuf:"bytes,4,opt,name=phone,proto3,oneof" json:"phone,omitempty"` FullName *string `protobuf:"bytes,5,opt,name=full_name,json=fullName,proto3,oneof" json:"full_name,omitempty"` AvatarUrl *string `protobuf:"bytes,6,opt,name=avatar_url,json=avatarUrl,proto3,oneof" json:"avatar_url,omitempty"` CustomStatusText *string `protobuf:"bytes,7,opt,name=custom_status_text,json=customStatusText,proto3,oneof" json:"custom_status_text,omitempty"` CustomStatusEmoji *string `protobuf:"bytes,8,opt,name=custom_status_emoji,json=customStatusEmoji,proto3,oneof" json:"custom_status_emoji,omitempty"` Timezone *string `protobuf:"bytes,9,opt,name=timezone,proto3,oneof" json:"timezone,omitempty"` Language *string `protobuf:"bytes,10,opt,name=language,proto3,oneof" json:"language,omitempty"` IsPublic *bool `protobuf:"varint,11,opt,name=is_public,json=isPublic,proto3,oneof" json:"is_public,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ChangeDataRequest) Reset() { *x = ChangeDataRequest{} mi := &file_sso_account_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ChangeDataRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*ChangeDataRequest) ProtoMessage() {} func (x *ChangeDataRequest) ProtoReflect() protoreflect.Message { mi := &file_sso_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 ChangeDataRequest.ProtoReflect.Descriptor instead. func (*ChangeDataRequest) Descriptor() ([]byte, []int) { return file_sso_account_proto_rawDescGZIP(), []int{8} } func (x *ChangeDataRequest) GetUserId() string { if x != nil { return x.UserId } return "" } func (x *ChangeDataRequest) GetSessionId() string { if x != nil { return x.SessionId } return "" } func (x *ChangeDataRequest) GetEmail() string { if x != nil && x.Email != nil { return *x.Email } return "" } func (x *ChangeDataRequest) GetPhone() string { if x != nil && x.Phone != nil { return *x.Phone } return "" } func (x *ChangeDataRequest) GetFullName() string { if x != nil && x.FullName != nil { return *x.FullName } return "" } func (x *ChangeDataRequest) GetAvatarUrl() string { if x != nil && x.AvatarUrl != nil { return *x.AvatarUrl } return "" } func (x *ChangeDataRequest) GetCustomStatusText() string { if x != nil && x.CustomStatusText != nil { return *x.CustomStatusText } return "" } func (x *ChangeDataRequest) GetCustomStatusEmoji() string { if x != nil && x.CustomStatusEmoji != nil { return *x.CustomStatusEmoji } return "" } func (x *ChangeDataRequest) GetTimezone() string { if x != nil && x.Timezone != nil { return *x.Timezone } return "" } func (x *ChangeDataRequest) GetLanguage() string { if x != nil && x.Language != nil { return *x.Language } return "" } func (x *ChangeDataRequest) GetIsPublic() bool { if x != nil && x.IsPublic != nil { return *x.IsPublic } return false } type ChangeDataResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ChangeDataResponse) Reset() { *x = ChangeDataResponse{} mi := &file_sso_account_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ChangeDataResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*ChangeDataResponse) ProtoMessage() {} func (x *ChangeDataResponse) ProtoReflect() protoreflect.Message { mi := &file_sso_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 ChangeDataResponse.ProtoReflect.Descriptor instead. func (*ChangeDataResponse) Descriptor() ([]byte, []int) { return file_sso_account_proto_rawDescGZIP(), []int{9} } func (x *ChangeDataResponse) GetSuccess() bool { if x != nil { return x.Success } return false } func (x *ChangeDataResponse) GetMessage() string { if x != nil { return x.Message } return "" } type AssignRoleRequest struct { state protoimpl.MessageState `protogen:"open.v1"` UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` RoleId string `protobuf:"bytes,2,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"` // В gRPC передаем как string, внутри преобразуем в Int unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *AssignRoleRequest) Reset() { *x = AssignRoleRequest{} mi := &file_sso_account_proto_msgTypes[10] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *AssignRoleRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*AssignRoleRequest) ProtoMessage() {} func (x *AssignRoleRequest) ProtoReflect() protoreflect.Message { mi := &file_sso_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 AssignRoleRequest.ProtoReflect.Descriptor instead. func (*AssignRoleRequest) Descriptor() ([]byte, []int) { return file_sso_account_proto_rawDescGZIP(), []int{10} } func (x *AssignRoleRequest) GetUserId() string { if x != nil { return x.UserId } return "" } func (x *AssignRoleRequest) GetRoleId() string { if x != nil { return x.RoleId } return "" } type AssignRoleResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *AssignRoleResponse) Reset() { *x = AssignRoleResponse{} mi := &file_sso_account_proto_msgTypes[11] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *AssignRoleResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*AssignRoleResponse) ProtoMessage() {} func (x *AssignRoleResponse) ProtoReflect() protoreflect.Message { mi := &file_sso_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 AssignRoleResponse.ProtoReflect.Descriptor instead. func (*AssignRoleResponse) Descriptor() ([]byte, []int) { return file_sso_account_proto_rawDescGZIP(), []int{11} } func (x *AssignRoleResponse) GetSuccess() bool { if x != nil { return x.Success } return false } func (x *AssignRoleResponse) GetMessage() string { if x != nil { return x.Message } return "" } type RevokeRoleRequest struct { state protoimpl.MessageState `protogen:"open.v1"` UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` RoleId string `protobuf:"bytes,2,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *RevokeRoleRequest) Reset() { *x = RevokeRoleRequest{} mi := &file_sso_account_proto_msgTypes[12] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *RevokeRoleRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*RevokeRoleRequest) ProtoMessage() {} func (x *RevokeRoleRequest) ProtoReflect() protoreflect.Message { mi := &file_sso_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 RevokeRoleRequest.ProtoReflect.Descriptor instead. func (*RevokeRoleRequest) Descriptor() ([]byte, []int) { return file_sso_account_proto_rawDescGZIP(), []int{12} } func (x *RevokeRoleRequest) GetUserId() string { if x != nil { return x.UserId } return "" } func (x *RevokeRoleRequest) GetRoleId() string { if x != nil { return x.RoleId } return "" } type RevokeRoleResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *RevokeRoleResponse) Reset() { *x = RevokeRoleResponse{} mi := &file_sso_account_proto_msgTypes[13] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *RevokeRoleResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*RevokeRoleResponse) ProtoMessage() {} func (x *RevokeRoleResponse) ProtoReflect() protoreflect.Message { mi := &file_sso_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 RevokeRoleResponse.ProtoReflect.Descriptor instead. func (*RevokeRoleResponse) Descriptor() ([]byte, []int) { return file_sso_account_proto_rawDescGZIP(), []int{13} } func (x *RevokeRoleResponse) GetSuccess() bool { if x != nil { return x.Success } return false } func (x *RevokeRoleResponse) GetMessage() string { if x != nil { return x.Message } return "" } type AdminResetPasswordRequest struct { state protoimpl.MessageState `protogen:"open.v1"` UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` NewPassword string `protobuf:"bytes,2,opt,name=new_password,json=newPassword,proto3" json:"new_password,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *AdminResetPasswordRequest) Reset() { *x = AdminResetPasswordRequest{} mi := &file_sso_account_proto_msgTypes[14] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *AdminResetPasswordRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*AdminResetPasswordRequest) ProtoMessage() {} func (x *AdminResetPasswordRequest) ProtoReflect() protoreflect.Message { mi := &file_sso_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 AdminResetPasswordRequest.ProtoReflect.Descriptor instead. func (*AdminResetPasswordRequest) Descriptor() ([]byte, []int) { return file_sso_account_proto_rawDescGZIP(), []int{14} } func (x *AdminResetPasswordRequest) GetUserId() string { if x != nil { return x.UserId } return "" } func (x *AdminResetPasswordRequest) GetNewPassword() string { if x != nil { return x.NewPassword } return "" } type AdminResetPasswordResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *AdminResetPasswordResponse) Reset() { *x = AdminResetPasswordResponse{} mi := &file_sso_account_proto_msgTypes[15] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *AdminResetPasswordResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*AdminResetPasswordResponse) ProtoMessage() {} func (x *AdminResetPasswordResponse) ProtoReflect() protoreflect.Message { mi := &file_sso_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 AdminResetPasswordResponse.ProtoReflect.Descriptor instead. func (*AdminResetPasswordResponse) Descriptor() ([]byte, []int) { return file_sso_account_proto_rawDescGZIP(), []int{15} } func (x *AdminResetPasswordResponse) GetSuccess() bool { if x != nil { return x.Success } return false } func (x *AdminResetPasswordResponse) GetMessage() string { if x != nil { return x.Message } return "" } type SetPinRequest struct { state protoimpl.MessageState `protogen:"open.v1"` UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` SessionId string `protobuf:"bytes,2,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"` Pin string `protobuf:"bytes,3,opt,name=pin,proto3" json:"pin,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *SetPinRequest) Reset() { *x = SetPinRequest{} mi := &file_sso_account_proto_msgTypes[16] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *SetPinRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*SetPinRequest) ProtoMessage() {} func (x *SetPinRequest) ProtoReflect() protoreflect.Message { mi := &file_sso_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 SetPinRequest.ProtoReflect.Descriptor instead. func (*SetPinRequest) Descriptor() ([]byte, []int) { return file_sso_account_proto_rawDescGZIP(), []int{16} } func (x *SetPinRequest) GetUserId() string { if x != nil { return x.UserId } return "" } func (x *SetPinRequest) GetSessionId() string { if x != nil { return x.SessionId } return "" } func (x *SetPinRequest) GetPin() string { if x != nil { return x.Pin } return "" } type SetPinResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *SetPinResponse) Reset() { *x = SetPinResponse{} mi := &file_sso_account_proto_msgTypes[17] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *SetPinResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*SetPinResponse) ProtoMessage() {} func (x *SetPinResponse) ProtoReflect() protoreflect.Message { mi := &file_sso_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 SetPinResponse.ProtoReflect.Descriptor instead. func (*SetPinResponse) Descriptor() ([]byte, []int) { return file_sso_account_proto_rawDescGZIP(), []int{17} } func (x *SetPinResponse) GetSuccess() bool { if x != nil { return x.Success } return false } func (x *SetPinResponse) GetMessage() string { if x != nil { return x.Message } return "" } type UnlockPinRequest struct { state protoimpl.MessageState `protogen:"open.v1"` UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` SessionId string `protobuf:"bytes,2,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"` Pin string `protobuf:"bytes,3,opt,name=pin,proto3" json:"pin,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *UnlockPinRequest) Reset() { *x = UnlockPinRequest{} mi := &file_sso_account_proto_msgTypes[18] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *UnlockPinRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*UnlockPinRequest) ProtoMessage() {} func (x *UnlockPinRequest) ProtoReflect() protoreflect.Message { mi := &file_sso_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 UnlockPinRequest.ProtoReflect.Descriptor instead. func (*UnlockPinRequest) Descriptor() ([]byte, []int) { return file_sso_account_proto_rawDescGZIP(), []int{18} } func (x *UnlockPinRequest) GetUserId() string { if x != nil { return x.UserId } return "" } func (x *UnlockPinRequest) GetSessionId() string { if x != nil { return x.SessionId } return "" } func (x *UnlockPinRequest) GetPin() string { if x != nil { return x.Pin } return "" } type UnlockPinResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *UnlockPinResponse) Reset() { *x = UnlockPinResponse{} mi := &file_sso_account_proto_msgTypes[19] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *UnlockPinResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*UnlockPinResponse) ProtoMessage() {} func (x *UnlockPinResponse) ProtoReflect() protoreflect.Message { mi := &file_sso_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 UnlockPinResponse.ProtoReflect.Descriptor instead. func (*UnlockPinResponse) Descriptor() ([]byte, []int) { return file_sso_account_proto_rawDescGZIP(), []int{19} } func (x *UnlockPinResponse) GetSuccess() bool { if x != nil { return x.Success } return false } func (x *UnlockPinResponse) GetMessage() string { if x != nil { return x.Message } return "" } type GetPinStatusRequest struct { state protoimpl.MessageState `protogen:"open.v1"` UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` SessionId string `protobuf:"bytes,2,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *GetPinStatusRequest) Reset() { *x = GetPinStatusRequest{} mi := &file_sso_account_proto_msgTypes[20] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *GetPinStatusRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetPinStatusRequest) ProtoMessage() {} func (x *GetPinStatusRequest) ProtoReflect() protoreflect.Message { mi := &file_sso_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 GetPinStatusRequest.ProtoReflect.Descriptor instead. func (*GetPinStatusRequest) Descriptor() ([]byte, []int) { return file_sso_account_proto_rawDescGZIP(), []int{20} } func (x *GetPinStatusRequest) GetUserId() string { if x != nil { return x.UserId } return "" } func (x *GetPinStatusRequest) GetSessionId() string { if x != nil { return x.SessionId } return "" } type GetPinStatusResponse struct { state protoimpl.MessageState `protogen:"open.v1"` HasPin bool `protobuf:"varint,1,opt,name=has_pin,json=hasPin,proto3" json:"has_pin,omitempty"` IsLocked bool `protobuf:"varint,2,opt,name=is_locked,json=isLocked,proto3" json:"is_locked,omitempty"` LockUntil string `protobuf:"bytes,3,opt,name=lock_until,json=lockUntil,proto3" json:"lock_until,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *GetPinStatusResponse) Reset() { *x = GetPinStatusResponse{} mi := &file_sso_account_proto_msgTypes[21] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *GetPinStatusResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetPinStatusResponse) ProtoMessage() {} func (x *GetPinStatusResponse) ProtoReflect() protoreflect.Message { mi := &file_sso_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 GetPinStatusResponse.ProtoReflect.Descriptor instead. func (*GetPinStatusResponse) Descriptor() ([]byte, []int) { return file_sso_account_proto_rawDescGZIP(), []int{21} } func (x *GetPinStatusResponse) GetHasPin() bool { if x != nil { return x.HasPin } return false } func (x *GetPinStatusResponse) GetIsLocked() bool { if x != nil { return x.IsLocked } return false } func (x *GetPinStatusResponse) GetLockUntil() string { if x != nil { return x.LockUntil } return "" } type RemovePinRequest struct { state protoimpl.MessageState `protogen:"open.v1"` Pin string `protobuf:"bytes,1,opt,name=pin,proto3" json:"pin,omitempty"` UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` SessionId string `protobuf:"bytes,3,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *RemovePinRequest) Reset() { *x = RemovePinRequest{} mi := &file_sso_account_proto_msgTypes[22] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *RemovePinRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*RemovePinRequest) ProtoMessage() {} func (x *RemovePinRequest) ProtoReflect() protoreflect.Message { mi := &file_sso_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 RemovePinRequest.ProtoReflect.Descriptor instead. func (*RemovePinRequest) Descriptor() ([]byte, []int) { return file_sso_account_proto_rawDescGZIP(), []int{22} } func (x *RemovePinRequest) GetPin() string { if x != nil { return x.Pin } return "" } func (x *RemovePinRequest) GetUserId() string { if x != nil { return x.UserId } return "" } func (x *RemovePinRequest) GetSessionId() string { if x != nil { return x.SessionId } return "" } type RemovePinResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *RemovePinResponse) Reset() { *x = RemovePinResponse{} mi := &file_sso_account_proto_msgTypes[23] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *RemovePinResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*RemovePinResponse) ProtoMessage() {} func (x *RemovePinResponse) ProtoReflect() protoreflect.Message { mi := &file_sso_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 RemovePinResponse.ProtoReflect.Descriptor instead. func (*RemovePinResponse) Descriptor() ([]byte, []int) { return file_sso_account_proto_rawDescGZIP(), []int{23} } func (x *RemovePinResponse) GetSuccess() bool { if x != nil { return x.Success } return false } func (x *RemovePinResponse) GetMessage() string { if x != nil { return x.Message } return "" } type BlockUserRequest struct { state protoimpl.MessageState `protogen:"open.v1"` UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // Кого блокируем AdminId string `protobuf:"bytes,2,opt,name=admin_id,json=adminId,proto3" json:"admin_id,omitempty"` // Кто блокирует Reason *string `protobuf:"bytes,3,opt,name=reason,proto3,oneof" json:"reason,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *BlockUserRequest) Reset() { *x = BlockUserRequest{} mi := &file_sso_account_proto_msgTypes[24] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *BlockUserRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*BlockUserRequest) ProtoMessage() {} func (x *BlockUserRequest) ProtoReflect() protoreflect.Message { mi := &file_sso_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 BlockUserRequest.ProtoReflect.Descriptor instead. func (*BlockUserRequest) Descriptor() ([]byte, []int) { return file_sso_account_proto_rawDescGZIP(), []int{24} } func (x *BlockUserRequest) GetUserId() string { if x != nil { return x.UserId } return "" } func (x *BlockUserRequest) GetAdminId() string { if x != nil { return x.AdminId } return "" } func (x *BlockUserRequest) GetReason() string { if x != nil && x.Reason != nil { return *x.Reason } return "" } type BlockUserResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *BlockUserResponse) Reset() { *x = BlockUserResponse{} mi := &file_sso_account_proto_msgTypes[25] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *BlockUserResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*BlockUserResponse) ProtoMessage() {} func (x *BlockUserResponse) ProtoReflect() protoreflect.Message { mi := &file_sso_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 BlockUserResponse.ProtoReflect.Descriptor instead. func (*BlockUserResponse) Descriptor() ([]byte, []int) { return file_sso_account_proto_rawDescGZIP(), []int{25} } func (x *BlockUserResponse) GetSuccess() bool { if x != nil { return x.Success } return false } func (x *BlockUserResponse) GetMessage() string { if x != nil { return x.Message } return "" } type UnblockUserRequest struct { state protoimpl.MessageState `protogen:"open.v1"` UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` AdminId string `protobuf:"bytes,2,opt,name=admin_id,json=adminId,proto3" json:"admin_id,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *UnblockUserRequest) Reset() { *x = UnblockUserRequest{} mi := &file_sso_account_proto_msgTypes[26] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *UnblockUserRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*UnblockUserRequest) ProtoMessage() {} func (x *UnblockUserRequest) ProtoReflect() protoreflect.Message { mi := &file_sso_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 UnblockUserRequest.ProtoReflect.Descriptor instead. func (*UnblockUserRequest) Descriptor() ([]byte, []int) { return file_sso_account_proto_rawDescGZIP(), []int{26} } func (x *UnblockUserRequest) GetUserId() string { if x != nil { return x.UserId } return "" } func (x *UnblockUserRequest) GetAdminId() string { if x != nil { return x.AdminId } return "" } type UnblockUserResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *UnblockUserResponse) Reset() { *x = UnblockUserResponse{} mi := &file_sso_account_proto_msgTypes[27] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *UnblockUserResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*UnblockUserResponse) ProtoMessage() {} func (x *UnblockUserResponse) ProtoReflect() protoreflect.Message { mi := &file_sso_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 UnblockUserResponse.ProtoReflect.Descriptor instead. func (*UnblockUserResponse) Descriptor() ([]byte, []int) { return file_sso_account_proto_rawDescGZIP(), []int{27} } func (x *UnblockUserResponse) GetSuccess() bool { if x != nil { return x.Success } return false } func (x *UnblockUserResponse) GetMessage() string { if x != nil { return x.Message } return "" } type BlockIpRequest struct { state protoimpl.MessageState `protogen:"open.v1"` IpAddress string `protobuf:"bytes,1,opt,name=ip_address,json=ipAddress,proto3" json:"ip_address,omitempty"` AdminId string `protobuf:"bytes,2,opt,name=admin_id,json=adminId,proto3" json:"admin_id,omitempty"` Reason *string `protobuf:"bytes,3,opt,name=reason,proto3,oneof" json:"reason,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *BlockIpRequest) Reset() { *x = BlockIpRequest{} mi := &file_sso_account_proto_msgTypes[28] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *BlockIpRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*BlockIpRequest) ProtoMessage() {} func (x *BlockIpRequest) ProtoReflect() protoreflect.Message { mi := &file_sso_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 BlockIpRequest.ProtoReflect.Descriptor instead. func (*BlockIpRequest) Descriptor() ([]byte, []int) { return file_sso_account_proto_rawDescGZIP(), []int{28} } func (x *BlockIpRequest) GetIpAddress() string { if x != nil { return x.IpAddress } return "" } func (x *BlockIpRequest) GetAdminId() string { if x != nil { return x.AdminId } return "" } func (x *BlockIpRequest) GetReason() string { if x != nil && x.Reason != nil { return *x.Reason } return "" } type BlockIpResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *BlockIpResponse) Reset() { *x = BlockIpResponse{} mi := &file_sso_account_proto_msgTypes[29] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *BlockIpResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*BlockIpResponse) ProtoMessage() {} func (x *BlockIpResponse) ProtoReflect() protoreflect.Message { mi := &file_sso_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 BlockIpResponse.ProtoReflect.Descriptor instead. func (*BlockIpResponse) Descriptor() ([]byte, []int) { return file_sso_account_proto_rawDescGZIP(), []int{29} } func (x *BlockIpResponse) GetSuccess() bool { if x != nil { return x.Success } return false } func (x *BlockIpResponse) GetMessage() string { if x != nil { return x.Message } return "" } type UnblockIpRequest struct { state protoimpl.MessageState `protogen:"open.v1"` IpAddress string `protobuf:"bytes,1,opt,name=ip_address,json=ipAddress,proto3" json:"ip_address,omitempty"` AdminId string `protobuf:"bytes,2,opt,name=admin_id,json=adminId,proto3" json:"admin_id,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *UnblockIpRequest) Reset() { *x = UnblockIpRequest{} mi := &file_sso_account_proto_msgTypes[30] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *UnblockIpRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*UnblockIpRequest) ProtoMessage() {} func (x *UnblockIpRequest) ProtoReflect() protoreflect.Message { mi := &file_sso_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 UnblockIpRequest.ProtoReflect.Descriptor instead. func (*UnblockIpRequest) Descriptor() ([]byte, []int) { return file_sso_account_proto_rawDescGZIP(), []int{30} } func (x *UnblockIpRequest) GetIpAddress() string { if x != nil { return x.IpAddress } return "" } func (x *UnblockIpRequest) GetAdminId() string { if x != nil { return x.AdminId } return "" } type UnblockIpResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *UnblockIpResponse) Reset() { *x = UnblockIpResponse{} mi := &file_sso_account_proto_msgTypes[31] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *UnblockIpResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*UnblockIpResponse) ProtoMessage() {} func (x *UnblockIpResponse) ProtoReflect() protoreflect.Message { mi := &file_sso_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 UnblockIpResponse.ProtoReflect.Descriptor instead. func (*UnblockIpResponse) Descriptor() ([]byte, []int) { return file_sso_account_proto_rawDescGZIP(), []int{31} } func (x *UnblockIpResponse) GetSuccess() bool { if x != nil { return x.Success } return false } func (x *UnblockIpResponse) GetMessage() string { if x != nil { return x.Message } return "" } type SyncUsersToSearchRequest struct { state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *SyncUsersToSearchRequest) Reset() { *x = SyncUsersToSearchRequest{} mi := &file_sso_account_proto_msgTypes[32] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *SyncUsersToSearchRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*SyncUsersToSearchRequest) ProtoMessage() {} func (x *SyncUsersToSearchRequest) ProtoReflect() protoreflect.Message { mi := &file_sso_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 SyncUsersToSearchRequest.ProtoReflect.Descriptor instead. func (*SyncUsersToSearchRequest) Descriptor() ([]byte, []int) { return file_sso_account_proto_rawDescGZIP(), []int{32} } type SyncUsersToSearchResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *SyncUsersToSearchResponse) Reset() { *x = SyncUsersToSearchResponse{} mi := &file_sso_account_proto_msgTypes[33] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *SyncUsersToSearchResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*SyncUsersToSearchResponse) ProtoMessage() {} func (x *SyncUsersToSearchResponse) ProtoReflect() protoreflect.Message { mi := &file_sso_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 SyncUsersToSearchResponse.ProtoReflect.Descriptor instead. func (*SyncUsersToSearchResponse) Descriptor() ([]byte, []int) { return file_sso_account_proto_rawDescGZIP(), []int{33} } func (x *SyncUsersToSearchResponse) GetSuccess() bool { if x != nil { return x.Success } return false } func (x *SyncUsersToSearchResponse) GetMessage() string { if x != nil { return x.Message } return "" } var File_sso_account_proto protoreflect.FileDescriptor const file_sso_account_proto_rawDesc = "" + "\n" + "\x11sso/account.proto\x12\n" + "account.v1\"#\n" + "\x11GetAccountRequest\x12\x0e\n" + "\x02id\x18\x01 \x01(\tR\x02id\"\xb7\x04\n" + "\x12GetAccountResponse\x12\x0e\n" + "\x02id\x18\x01 \x01(\tR\x02id\x12\x1a\n" + "\busername\x18\x02 \x01(\tR\busername\x12\x14\n" + "\x05email\x18\x03 \x01(\tR\x05email\x12\x14\n" + "\x05phone\x18\x04 \x01(\tR\x05phone\x12\x1b\n" + "\tfull_name\x18\x05 \x01(\tR\bfullName\x12\x17\n" + "\ais_ldap\x18\x06 \x01(\bR\x06isLdap\x12\x16\n" + "\x06status\x18\a \x01(\tR\x06status\x12\x14\n" + "\x05roles\x18\b \x03(\tR\x05roles\x12\x1d\n" + "\n" + "avatar_url\x18\t \x01(\tR\tavatarUrl\x12$\n" + "\vemployee_id\x18\n" + " \x01(\tH\x00R\n" + "employeeId\x88\x01\x01\x12\x1a\n" + "\bpresence\x18\v \x01(\tR\bpresence\x12\x1f\n" + "\vlast_active\x18\f \x01(\tR\n" + "lastActive\x12,\n" + "\x12custom_status_text\x18\r \x01(\tR\x10customStatusText\x12.\n" + "\x13custom_status_emoji\x18\x0e \x01(\tR\x11customStatusEmoji\x12\x1a\n" + "\btimezone\x18\x0f \x01(\tR\btimezone\x12\x1a\n" + "\blanguage\x18\x10 \x01(\tR\blanguage\x12$\n" + "\x0etwo_fa_enabled\x18\x11 \x01(\bR\ftwoFaEnabled\x12\x17\n" + "\ahas_pin\x18\x12 \x01(\bR\x06hasPinB\x0e\n" + "\f_employee_id\"\xb7\x01\n" + "\x15ChangePasswordRequest\x12\x17\n" + "\auser_id\x18\x01 \x01(\tR\x06userId\x12!\n" + "\fold_password\x18\x03 \x01(\tR\voldPassword\x12!\n" + "\fnew_password\x18\x04 \x01(\tR\vnewPassword\x12\x17\n" + "\x04code\x18\x05 \x01(\tH\x00R\x04code\x88\x01\x01\x12\x1d\n" + "\n" + "session_id\x18\x06 \x01(\tR\tsessionIdB\a\n" + "\x05_code\"L\n" + "\x16ChangePasswordResponse\x12\x18\n" + "\asuccess\x18\x01 \x01(\bR\asuccess\x12\x18\n" + "\amessage\x18\x02 \x01(\tR\amessage\"a\n" + "\x11CreateUserRequest\x12\x1a\n" + "\busername\x18\x01 \x01(\tR\busername\x12\x1a\n" + "\bpassword\x18\x02 \x01(\tR\bpassword\x12\x14\n" + "\x05roles\x18\x03 \x03(\tR\x05roles\"H\n" + "\x12CreateUserResponse\x12\x18\n" + "\asuccess\x18\x01 \x01(\bR\asuccess\x12\x18\n" + "\amessage\x18\x02 \x01(\tR\amessage\",\n" + "\x11DeleteUserRequest\x12\x17\n" + "\auser_id\x18\x01 \x01(\tR\x06userId\"H\n" + "\x12DeleteUserResponse\x12\x18\n" + "\asuccess\x18\x01 \x01(\bR\asuccess\x12\x18\n" + "\amessage\x18\x02 \x01(\tR\amessage\"\x9b\x04\n" + "\x11ChangeDataRequest\x12\x17\n" + "\auser_id\x18\x01 \x01(\tR\x06userId\x12\x1d\n" + "\n" + "session_id\x18\x02 \x01(\tR\tsessionId\x12\x19\n" + "\x05email\x18\x03 \x01(\tH\x00R\x05email\x88\x01\x01\x12\x19\n" + "\x05phone\x18\x04 \x01(\tH\x01R\x05phone\x88\x01\x01\x12 \n" + "\tfull_name\x18\x05 \x01(\tH\x02R\bfullName\x88\x01\x01\x12\"\n" + "\n" + "avatar_url\x18\x06 \x01(\tH\x03R\tavatarUrl\x88\x01\x01\x121\n" + "\x12custom_status_text\x18\a \x01(\tH\x04R\x10customStatusText\x88\x01\x01\x123\n" + "\x13custom_status_emoji\x18\b \x01(\tH\x05R\x11customStatusEmoji\x88\x01\x01\x12\x1f\n" + "\btimezone\x18\t \x01(\tH\x06R\btimezone\x88\x01\x01\x12\x1f\n" + "\blanguage\x18\n" + " \x01(\tH\aR\blanguage\x88\x01\x01\x12 \n" + "\tis_public\x18\v \x01(\bH\bR\bisPublic\x88\x01\x01B\b\n" + "\x06_emailB\b\n" + "\x06_phoneB\f\n" + "\n" + "_full_nameB\r\n" + "\v_avatar_urlB\x15\n" + "\x13_custom_status_textB\x16\n" + "\x14_custom_status_emojiB\v\n" + "\t_timezoneB\v\n" + "\t_languageB\f\n" + "\n" + "_is_public\"H\n" + "\x12ChangeDataResponse\x12\x18\n" + "\asuccess\x18\x01 \x01(\bR\asuccess\x12\x18\n" + "\amessage\x18\x02 \x01(\tR\amessage\"E\n" + "\x11AssignRoleRequest\x12\x17\n" + "\auser_id\x18\x01 \x01(\tR\x06userId\x12\x17\n" + "\arole_id\x18\x02 \x01(\tR\x06roleId\"H\n" + "\x12AssignRoleResponse\x12\x18\n" + "\asuccess\x18\x01 \x01(\bR\asuccess\x12\x18\n" + "\amessage\x18\x02 \x01(\tR\amessage\"E\n" + "\x11RevokeRoleRequest\x12\x17\n" + "\auser_id\x18\x01 \x01(\tR\x06userId\x12\x17\n" + "\arole_id\x18\x02 \x01(\tR\x06roleId\"H\n" + "\x12RevokeRoleResponse\x12\x18\n" + "\asuccess\x18\x01 \x01(\bR\asuccess\x12\x18\n" + "\amessage\x18\x02 \x01(\tR\amessage\"W\n" + "\x19AdminResetPasswordRequest\x12\x17\n" + "\auser_id\x18\x01 \x01(\tR\x06userId\x12!\n" + "\fnew_password\x18\x02 \x01(\tR\vnewPassword\"P\n" + "\x1aAdminResetPasswordResponse\x12\x18\n" + "\asuccess\x18\x01 \x01(\bR\asuccess\x12\x18\n" + "\amessage\x18\x02 \x01(\tR\amessage\"Y\n" + "\rSetPinRequest\x12\x17\n" + "\auser_id\x18\x01 \x01(\tR\x06userId\x12\x1d\n" + "\n" + "session_id\x18\x02 \x01(\tR\tsessionId\x12\x10\n" + "\x03pin\x18\x03 \x01(\tR\x03pin\"D\n" + "\x0eSetPinResponse\x12\x18\n" + "\asuccess\x18\x01 \x01(\bR\asuccess\x12\x18\n" + "\amessage\x18\x02 \x01(\tR\amessage\"\\\n" + "\x10UnlockPinRequest\x12\x17\n" + "\auser_id\x18\x01 \x01(\tR\x06userId\x12\x1d\n" + "\n" + "session_id\x18\x02 \x01(\tR\tsessionId\x12\x10\n" + "\x03pin\x18\x03 \x01(\tR\x03pin\"G\n" + "\x11UnlockPinResponse\x12\x18\n" + "\asuccess\x18\x01 \x01(\bR\asuccess\x12\x18\n" + "\amessage\x18\x02 \x01(\tR\amessage\"M\n" + "\x13GetPinStatusRequest\x12\x17\n" + "\auser_id\x18\x01 \x01(\tR\x06userId\x12\x1d\n" + "\n" + "session_id\x18\x02 \x01(\tR\tsessionId\"k\n" + "\x14GetPinStatusResponse\x12\x17\n" + "\ahas_pin\x18\x01 \x01(\bR\x06hasPin\x12\x1b\n" + "\tis_locked\x18\x02 \x01(\bR\bisLocked\x12\x1d\n" + "\n" + "lock_until\x18\x03 \x01(\tR\tlockUntil\"\\\n" + "\x10RemovePinRequest\x12\x10\n" + "\x03pin\x18\x01 \x01(\tR\x03pin\x12\x17\n" + "\auser_id\x18\x02 \x01(\tR\x06userId\x12\x1d\n" + "\n" + "session_id\x18\x03 \x01(\tR\tsessionId\"G\n" + "\x11RemovePinResponse\x12\x18\n" + "\asuccess\x18\x01 \x01(\bR\asuccess\x12\x18\n" + "\amessage\x18\x02 \x01(\tR\amessage\"n\n" + "\x10BlockUserRequest\x12\x17\n" + "\auser_id\x18\x01 \x01(\tR\x06userId\x12\x19\n" + "\badmin_id\x18\x02 \x01(\tR\aadminId\x12\x1b\n" + "\x06reason\x18\x03 \x01(\tH\x00R\x06reason\x88\x01\x01B\t\n" + "\a_reason\"G\n" + "\x11BlockUserResponse\x12\x18\n" + "\asuccess\x18\x01 \x01(\bR\asuccess\x12\x18\n" + "\amessage\x18\x02 \x01(\tR\amessage\"H\n" + "\x12UnblockUserRequest\x12\x17\n" + "\auser_id\x18\x01 \x01(\tR\x06userId\x12\x19\n" + "\badmin_id\x18\x02 \x01(\tR\aadminId\"I\n" + "\x13UnblockUserResponse\x12\x18\n" + "\asuccess\x18\x01 \x01(\bR\asuccess\x12\x18\n" + "\amessage\x18\x02 \x01(\tR\amessage\"r\n" + "\x0eBlockIpRequest\x12\x1d\n" + "\n" + "ip_address\x18\x01 \x01(\tR\tipAddress\x12\x19\n" + "\badmin_id\x18\x02 \x01(\tR\aadminId\x12\x1b\n" + "\x06reason\x18\x03 \x01(\tH\x00R\x06reason\x88\x01\x01B\t\n" + "\a_reason\"E\n" + "\x0fBlockIpResponse\x12\x18\n" + "\asuccess\x18\x01 \x01(\bR\asuccess\x12\x18\n" + "\amessage\x18\x02 \x01(\tR\amessage\"L\n" + "\x10UnblockIpRequest\x12\x1d\n" + "\n" + "ip_address\x18\x01 \x01(\tR\tipAddress\x12\x19\n" + "\badmin_id\x18\x02 \x01(\tR\aadminId\"G\n" + "\x11UnblockIpResponse\x12\x18\n" + "\asuccess\x18\x01 \x01(\bR\asuccess\x12\x18\n" + "\amessage\x18\x02 \x01(\tR\amessage\"\x1a\n" + "\x18SyncUsersToSearchRequest\"O\n" + "\x19SyncUsersToSearchResponse\x12\x18\n" + "\asuccess\x18\x01 \x01(\bR\asuccess\x12\x18\n" + "\amessage\x18\x02 \x01(\tR\amessage2\xce\n" + "\n" + "\x0eAccountService\x12K\n" + "\n" + "GetAccount\x12\x1d.account.v1.GetAccountRequest\x1a\x1e.account.v1.GetAccountResponse\x12W\n" + "\x0eChangePassword\x12!.account.v1.ChangePasswordRequest\x1a\".account.v1.ChangePasswordResponse\x12c\n" + "\x12AdminResetPassword\x12%.account.v1.AdminResetPasswordRequest\x1a&.account.v1.AdminResetPasswordResponse\x12K\n" + "\n" + "CreateUser\x12\x1d.account.v1.CreateUserRequest\x1a\x1e.account.v1.CreateUserResponse\x12K\n" + "\n" + "DeleteUser\x12\x1d.account.v1.DeleteUserRequest\x1a\x1e.account.v1.DeleteUserResponse\x12K\n" + "\n" + "ChangeData\x12\x1d.account.v1.ChangeDataRequest\x1a\x1e.account.v1.ChangeDataResponse\x12K\n" + "\n" + "AssignRole\x12\x1d.account.v1.AssignRoleRequest\x1a\x1e.account.v1.AssignRoleResponse\x12K\n" + "\n" + "RevokeRole\x12\x1d.account.v1.RevokeRoleRequest\x1a\x1e.account.v1.RevokeRoleResponse\x12?\n" + "\x06SetPin\x12\x19.account.v1.SetPinRequest\x1a\x1a.account.v1.SetPinResponse\x12H\n" + "\tUnlockPin\x12\x1c.account.v1.UnlockPinRequest\x1a\x1d.account.v1.UnlockPinResponse\x12Q\n" + "\fGetPinStatus\x12\x1f.account.v1.GetPinStatusRequest\x1a .account.v1.GetPinStatusResponse\x12H\n" + "\tRemovePin\x12\x1c.account.v1.RemovePinRequest\x1a\x1d.account.v1.RemovePinResponse\x12H\n" + "\tBlockUser\x12\x1c.account.v1.BlockUserRequest\x1a\x1d.account.v1.BlockUserResponse\x12N\n" + "\vUnblockUser\x12\x1e.account.v1.UnblockUserRequest\x1a\x1f.account.v1.UnblockUserResponse\x12B\n" + "\aBlockIp\x12\x1a.account.v1.BlockIpRequest\x1a\x1b.account.v1.BlockIpResponse\x12H\n" + "\tUnblockIp\x12\x1c.account.v1.UnblockIpRequest\x1a\x1d.account.v1.UnblockIpResponse\x12`\n" + "\x11SyncUsersToSearch\x12$.account.v1.SyncUsersToSearchRequest\x1a%.account.v1.SyncUsersToSearchResponseB*Z(git.lendry.ru/lendry-erp/proto.git/go;pbb\x06proto3" var ( file_sso_account_proto_rawDescOnce sync.Once file_sso_account_proto_rawDescData []byte ) func file_sso_account_proto_rawDescGZIP() []byte { file_sso_account_proto_rawDescOnce.Do(func() { file_sso_account_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_sso_account_proto_rawDesc), len(file_sso_account_proto_rawDesc))) }) return file_sso_account_proto_rawDescData } var file_sso_account_proto_msgTypes = make([]protoimpl.MessageInfo, 34) var file_sso_account_proto_goTypes = []any{ (*GetAccountRequest)(nil), // 0: account.v1.GetAccountRequest (*GetAccountResponse)(nil), // 1: account.v1.GetAccountResponse (*ChangePasswordRequest)(nil), // 2: account.v1.ChangePasswordRequest (*ChangePasswordResponse)(nil), // 3: account.v1.ChangePasswordResponse (*CreateUserRequest)(nil), // 4: account.v1.CreateUserRequest (*CreateUserResponse)(nil), // 5: account.v1.CreateUserResponse (*DeleteUserRequest)(nil), // 6: account.v1.DeleteUserRequest (*DeleteUserResponse)(nil), // 7: account.v1.DeleteUserResponse (*ChangeDataRequest)(nil), // 8: account.v1.ChangeDataRequest (*ChangeDataResponse)(nil), // 9: account.v1.ChangeDataResponse (*AssignRoleRequest)(nil), // 10: account.v1.AssignRoleRequest (*AssignRoleResponse)(nil), // 11: account.v1.AssignRoleResponse (*RevokeRoleRequest)(nil), // 12: account.v1.RevokeRoleRequest (*RevokeRoleResponse)(nil), // 13: account.v1.RevokeRoleResponse (*AdminResetPasswordRequest)(nil), // 14: account.v1.AdminResetPasswordRequest (*AdminResetPasswordResponse)(nil), // 15: account.v1.AdminResetPasswordResponse (*SetPinRequest)(nil), // 16: account.v1.SetPinRequest (*SetPinResponse)(nil), // 17: account.v1.SetPinResponse (*UnlockPinRequest)(nil), // 18: account.v1.UnlockPinRequest (*UnlockPinResponse)(nil), // 19: account.v1.UnlockPinResponse (*GetPinStatusRequest)(nil), // 20: account.v1.GetPinStatusRequest (*GetPinStatusResponse)(nil), // 21: account.v1.GetPinStatusResponse (*RemovePinRequest)(nil), // 22: account.v1.RemovePinRequest (*RemovePinResponse)(nil), // 23: account.v1.RemovePinResponse (*BlockUserRequest)(nil), // 24: account.v1.BlockUserRequest (*BlockUserResponse)(nil), // 25: account.v1.BlockUserResponse (*UnblockUserRequest)(nil), // 26: account.v1.UnblockUserRequest (*UnblockUserResponse)(nil), // 27: account.v1.UnblockUserResponse (*BlockIpRequest)(nil), // 28: account.v1.BlockIpRequest (*BlockIpResponse)(nil), // 29: account.v1.BlockIpResponse (*UnblockIpRequest)(nil), // 30: account.v1.UnblockIpRequest (*UnblockIpResponse)(nil), // 31: account.v1.UnblockIpResponse (*SyncUsersToSearchRequest)(nil), // 32: account.v1.SyncUsersToSearchRequest (*SyncUsersToSearchResponse)(nil), // 33: account.v1.SyncUsersToSearchResponse } var file_sso_account_proto_depIdxs = []int32{ 0, // 0: account.v1.AccountService.GetAccount:input_type -> account.v1.GetAccountRequest 2, // 1: account.v1.AccountService.ChangePassword:input_type -> account.v1.ChangePasswordRequest 14, // 2: account.v1.AccountService.AdminResetPassword:input_type -> account.v1.AdminResetPasswordRequest 4, // 3: account.v1.AccountService.CreateUser:input_type -> account.v1.CreateUserRequest 6, // 4: account.v1.AccountService.DeleteUser:input_type -> account.v1.DeleteUserRequest 8, // 5: account.v1.AccountService.ChangeData:input_type -> account.v1.ChangeDataRequest 10, // 6: account.v1.AccountService.AssignRole:input_type -> account.v1.AssignRoleRequest 12, // 7: account.v1.AccountService.RevokeRole:input_type -> account.v1.RevokeRoleRequest 16, // 8: account.v1.AccountService.SetPin:input_type -> account.v1.SetPinRequest 18, // 9: account.v1.AccountService.UnlockPin:input_type -> account.v1.UnlockPinRequest 20, // 10: account.v1.AccountService.GetPinStatus:input_type -> account.v1.GetPinStatusRequest 22, // 11: account.v1.AccountService.RemovePin:input_type -> account.v1.RemovePinRequest 24, // 12: account.v1.AccountService.BlockUser:input_type -> account.v1.BlockUserRequest 26, // 13: account.v1.AccountService.UnblockUser:input_type -> account.v1.UnblockUserRequest 28, // 14: account.v1.AccountService.BlockIp:input_type -> account.v1.BlockIpRequest 30, // 15: account.v1.AccountService.UnblockIp:input_type -> account.v1.UnblockIpRequest 32, // 16: account.v1.AccountService.SyncUsersToSearch:input_type -> account.v1.SyncUsersToSearchRequest 1, // 17: account.v1.AccountService.GetAccount:output_type -> account.v1.GetAccountResponse 3, // 18: account.v1.AccountService.ChangePassword:output_type -> account.v1.ChangePasswordResponse 15, // 19: account.v1.AccountService.AdminResetPassword:output_type -> account.v1.AdminResetPasswordResponse 5, // 20: account.v1.AccountService.CreateUser:output_type -> account.v1.CreateUserResponse 7, // 21: account.v1.AccountService.DeleteUser:output_type -> account.v1.DeleteUserResponse 9, // 22: account.v1.AccountService.ChangeData:output_type -> account.v1.ChangeDataResponse 11, // 23: account.v1.AccountService.AssignRole:output_type -> account.v1.AssignRoleResponse 13, // 24: account.v1.AccountService.RevokeRole:output_type -> account.v1.RevokeRoleResponse 17, // 25: account.v1.AccountService.SetPin:output_type -> account.v1.SetPinResponse 19, // 26: account.v1.AccountService.UnlockPin:output_type -> account.v1.UnlockPinResponse 21, // 27: account.v1.AccountService.GetPinStatus:output_type -> account.v1.GetPinStatusResponse 23, // 28: account.v1.AccountService.RemovePin:output_type -> account.v1.RemovePinResponse 25, // 29: account.v1.AccountService.BlockUser:output_type -> account.v1.BlockUserResponse 27, // 30: account.v1.AccountService.UnblockUser:output_type -> account.v1.UnblockUserResponse 29, // 31: account.v1.AccountService.BlockIp:output_type -> account.v1.BlockIpResponse 31, // 32: account.v1.AccountService.UnblockIp:output_type -> account.v1.UnblockIpResponse 33, // 33: account.v1.AccountService.SyncUsersToSearch:output_type -> account.v1.SyncUsersToSearchResponse 17, // [17:34] is the sub-list for method output_type 0, // [0:17] is the sub-list for method input_type 0, // [0:0] is the sub-list for extension type_name 0, // [0:0] is the sub-list for extension extendee 0, // [0:0] is the sub-list for field type_name } func init() { file_sso_account_proto_init() } func file_sso_account_proto_init() { if File_sso_account_proto != nil { return } file_sso_account_proto_msgTypes[1].OneofWrappers = []any{} file_sso_account_proto_msgTypes[2].OneofWrappers = []any{} file_sso_account_proto_msgTypes[8].OneofWrappers = []any{} file_sso_account_proto_msgTypes[24].OneofWrappers = []any{} file_sso_account_proto_msgTypes[28].OneofWrappers = []any{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: unsafe.Slice(unsafe.StringData(file_sso_account_proto_rawDesc), len(file_sso_account_proto_rawDesc)), NumEnums: 0, NumMessages: 34, NumExtensions: 0, NumServices: 1, }, GoTypes: file_sso_account_proto_goTypes, DependencyIndexes: file_sso_account_proto_depIdxs, MessageInfos: file_sso_account_proto_msgTypes, }.Build() File_sso_account_proto = out.File file_sso_account_proto_goTypes = nil file_sso_account_proto_depIdxs = nil }