chore: auto-generate protobuf files [skip ci]
This commit is contained in:
@@ -1509,6 +1509,438 @@ func (x *RemovePinResponse) GetMessage() string {
|
||||
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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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 ""
|
||||
}
|
||||
|
||||
var File_account_proto protoreflect.FileDescriptor
|
||||
|
||||
const file_account_proto_rawDesc = "" +
|
||||
@@ -1640,7 +2072,37 @@ const file_account_proto_rawDesc = "" +
|
||||
"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\amessage2\xc4\a\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\amessage2\xec\t\n" +
|
||||
"\x0eAccountService\x12K\n" +
|
||||
"\n" +
|
||||
"GetAccount\x12\x1d.account.v1.GetAccountRequest\x1a\x1e.account.v1.GetAccountResponse\x12W\n" +
|
||||
@@ -1659,7 +2121,11 @@ const file_account_proto_rawDesc = "" +
|
||||
"\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.RemovePinResponseB*Z(git.lendry.ru/lendry-erp/proto.git/go;pbb\x06proto3"
|
||||
"\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.UnblockIpResponseB*Z(git.lendry.ru/lendry-erp/proto.git/go;pbb\x06proto3"
|
||||
|
||||
var (
|
||||
file_account_proto_rawDescOnce sync.Once
|
||||
@@ -1673,7 +2139,7 @@ func file_account_proto_rawDescGZIP() []byte {
|
||||
return file_account_proto_rawDescData
|
||||
}
|
||||
|
||||
var file_account_proto_msgTypes = make([]protoimpl.MessageInfo, 24)
|
||||
var file_account_proto_msgTypes = make([]protoimpl.MessageInfo, 32)
|
||||
var file_account_proto_goTypes = []any{
|
||||
(*GetAccountRequest)(nil), // 0: account.v1.GetAccountRequest
|
||||
(*GetAccountResponse)(nil), // 1: account.v1.GetAccountResponse
|
||||
@@ -1699,6 +2165,14 @@ var file_account_proto_goTypes = []any{
|
||||
(*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
|
||||
}
|
||||
var file_account_proto_depIdxs = []int32{
|
||||
0, // 0: account.v1.AccountService.GetAccount:input_type -> account.v1.GetAccountRequest
|
||||
@@ -1713,20 +2187,28 @@ var file_account_proto_depIdxs = []int32{
|
||||
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
|
||||
1, // 12: account.v1.AccountService.GetAccount:output_type -> account.v1.GetAccountResponse
|
||||
3, // 13: account.v1.AccountService.ChangePassword:output_type -> account.v1.ChangePasswordResponse
|
||||
15, // 14: account.v1.AccountService.AdminResetPassword:output_type -> account.v1.AdminResetPasswordResponse
|
||||
5, // 15: account.v1.AccountService.CreateUser:output_type -> account.v1.CreateUserResponse
|
||||
7, // 16: account.v1.AccountService.DeleteUser:output_type -> account.v1.DeleteUserResponse
|
||||
9, // 17: account.v1.AccountService.ChangeData:output_type -> account.v1.ChangeDataResponse
|
||||
11, // 18: account.v1.AccountService.AssignRole:output_type -> account.v1.AssignRoleResponse
|
||||
13, // 19: account.v1.AccountService.RevokeRole:output_type -> account.v1.RevokeRoleResponse
|
||||
17, // 20: account.v1.AccountService.SetPin:output_type -> account.v1.SetPinResponse
|
||||
19, // 21: account.v1.AccountService.UnlockPin:output_type -> account.v1.UnlockPinResponse
|
||||
21, // 22: account.v1.AccountService.GetPinStatus:output_type -> account.v1.GetPinStatusResponse
|
||||
23, // 23: account.v1.AccountService.RemovePin:output_type -> account.v1.RemovePinResponse
|
||||
12, // [12:24] is the sub-list for method output_type
|
||||
0, // [0:12] is the sub-list for method input_type
|
||||
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
|
||||
1, // 16: account.v1.AccountService.GetAccount:output_type -> account.v1.GetAccountResponse
|
||||
3, // 17: account.v1.AccountService.ChangePassword:output_type -> account.v1.ChangePasswordResponse
|
||||
15, // 18: account.v1.AccountService.AdminResetPassword:output_type -> account.v1.AdminResetPasswordResponse
|
||||
5, // 19: account.v1.AccountService.CreateUser:output_type -> account.v1.CreateUserResponse
|
||||
7, // 20: account.v1.AccountService.DeleteUser:output_type -> account.v1.DeleteUserResponse
|
||||
9, // 21: account.v1.AccountService.ChangeData:output_type -> account.v1.ChangeDataResponse
|
||||
11, // 22: account.v1.AccountService.AssignRole:output_type -> account.v1.AssignRoleResponse
|
||||
13, // 23: account.v1.AccountService.RevokeRole:output_type -> account.v1.RevokeRoleResponse
|
||||
17, // 24: account.v1.AccountService.SetPin:output_type -> account.v1.SetPinResponse
|
||||
19, // 25: account.v1.AccountService.UnlockPin:output_type -> account.v1.UnlockPinResponse
|
||||
21, // 26: account.v1.AccountService.GetPinStatus:output_type -> account.v1.GetPinStatusResponse
|
||||
23, // 27: account.v1.AccountService.RemovePin:output_type -> account.v1.RemovePinResponse
|
||||
25, // 28: account.v1.AccountService.BlockUser:output_type -> account.v1.BlockUserResponse
|
||||
27, // 29: account.v1.AccountService.UnblockUser:output_type -> account.v1.UnblockUserResponse
|
||||
29, // 30: account.v1.AccountService.BlockIp:output_type -> account.v1.BlockIpResponse
|
||||
31, // 31: account.v1.AccountService.UnblockIp:output_type -> account.v1.UnblockIpResponse
|
||||
16, // [16:32] is the sub-list for method output_type
|
||||
0, // [0:16] 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
|
||||
@@ -1740,13 +2222,15 @@ func file_account_proto_init() {
|
||||
file_account_proto_msgTypes[1].OneofWrappers = []any{}
|
||||
file_account_proto_msgTypes[2].OneofWrappers = []any{}
|
||||
file_account_proto_msgTypes[8].OneofWrappers = []any{}
|
||||
file_account_proto_msgTypes[24].OneofWrappers = []any{}
|
||||
file_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_account_proto_rawDesc), len(file_account_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 24,
|
||||
NumMessages: 32,
|
||||
NumExtensions: 0,
|
||||
NumServices: 1,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user