用户列表中显示实名审核状态

This commit is contained in:
GoEdgeLab
2022-07-24 11:57:38 +08:00
parent 143398c10b
commit 2e67948e79
5 changed files with 3409 additions and 3204 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -30,19 +30,19 @@ type UserIdentity struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
OrgType string `protobuf:"bytes,2,opt,name=orgType,proto3" json:"orgType,omitempty"`
Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
RealName string `protobuf:"bytes,4,opt,name=realName,proto3" json:"realName,omitempty"`
Number string `protobuf:"bytes,5,opt,name=number,proto3" json:"number,omitempty"`
FileIds []int64 `protobuf:"varint,6,rep,packed,name=fileIds,proto3" json:"fileIds,omitempty"`
Status string `protobuf:"bytes,7,opt,name=status,proto3" json:"status,omitempty"`
CreatedAt int64 `protobuf:"varint,8,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
UpdatedAt int64 `protobuf:"varint,9,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"`
SubmittedAt int64 `protobuf:"varint,10,opt,name=submittedAt,proto3" json:"submittedAt,omitempty"`
RejectedAt int64 `protobuf:"varint,11,opt,name=rejectedAt,proto3" json:"rejectedAt,omitempty"`
VerifiedAt int64 `protobuf:"varint,12,opt,name=verifiedAt,proto3" json:"verifiedAt,omitempty"`
RejectedReason string `protobuf:"bytes,13,opt,name=rejectedReason,proto3" json:"rejectedReason,omitempty"`
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
OrgType string `protobuf:"bytes,2,opt,name=orgType,proto3" json:"orgType,omitempty"`
Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
RealName string `protobuf:"bytes,4,opt,name=realName,proto3" json:"realName,omitempty"`
Number string `protobuf:"bytes,5,opt,name=number,proto3" json:"number,omitempty"`
FileIds []int64 `protobuf:"varint,6,rep,packed,name=fileIds,proto3" json:"fileIds,omitempty"`
Status string `protobuf:"bytes,7,opt,name=status,proto3" json:"status,omitempty"`
CreatedAt int64 `protobuf:"varint,8,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
UpdatedAt int64 `protobuf:"varint,9,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"`
SubmittedAt int64 `protobuf:"varint,10,opt,name=submittedAt,proto3" json:"submittedAt,omitempty"`
RejectedAt int64 `protobuf:"varint,11,opt,name=rejectedAt,proto3" json:"rejectedAt,omitempty"`
VerifiedAt int64 `protobuf:"varint,12,opt,name=verifiedAt,proto3" json:"verifiedAt,omitempty"`
RejectReason string `protobuf:"bytes,13,opt,name=rejectReason,proto3" json:"rejectReason,omitempty"`
}
func (x *UserIdentity) Reset() {
@@ -161,9 +161,9 @@ func (x *UserIdentity) GetVerifiedAt() int64 {
return 0
}
func (x *UserIdentity) GetRejectedReason() string {
func (x *UserIdentity) GetRejectReason() string {
if x != nil {
return x.RejectedReason
return x.RejectReason
}
return ""
}
@@ -173,7 +173,7 @@ var File_models_model_user_identity_proto protoreflect.FileDescriptor
var file_models_model_user_identity_proto_rawDesc = []byte{
0x0a, 0x20, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x75,
0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f,
0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x22, 0xf8, 0x02, 0x0a, 0x0c, 0x55, 0x73, 0x65, 0x72, 0x49,
0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x22, 0xf4, 0x02, 0x0a, 0x0c, 0x55, 0x73, 0x65, 0x72, 0x49,
0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20,
0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x6f, 0x72, 0x67, 0x54, 0x79,
0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6f, 0x72, 0x67, 0x54, 0x79, 0x70,
@@ -194,11 +194,10 @@ var file_models_model_user_identity_proto_rawDesc = []byte{
0x65, 0x63, 0x74, 0x65, 0x64, 0x41, 0x74, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x72,
0x65, 0x6a, 0x65, 0x63, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x76, 0x65, 0x72,
0x69, 0x66, 0x69, 0x65, 0x64, 0x41, 0x74, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x76,
0x65, 0x72, 0x69, 0x66, 0x69, 0x65, 0x64, 0x41, 0x74, 0x12, 0x26, 0x0a, 0x0e, 0x72, 0x65, 0x6a,
0x65, 0x63, 0x74, 0x65, 0x64, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x0d, 0x20, 0x01, 0x28,
0x09, 0x52, 0x0e, 0x72, 0x65, 0x6a, 0x65, 0x63, 0x74, 0x65, 0x64, 0x52, 0x65, 0x61, 0x73, 0x6f,
0x6e, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
0x33,
0x65, 0x72, 0x69, 0x66, 0x69, 0x65, 0x64, 0x41, 0x74, 0x12, 0x22, 0x0a, 0x0c, 0x72, 0x65, 0x6a,
0x65, 0x63, 0x74, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52,
0x0c, 0x72, 0x65, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x42, 0x06, 0x5a,
0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (

View File

@@ -354,6 +354,101 @@ func (x *FindEnabledUserIdentityWithOrgTypeResponse) GetUserIdentity() *UserIden
return nil
}
// 检查是否正在审核中
type CheckUserIdentityIsSubmittedRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
UserId int64 `protobuf:"varint,1,opt,name=userId,proto3" json:"userId,omitempty"`
}
func (x *CheckUserIdentityIsSubmittedRequest) Reset() {
*x = CheckUserIdentityIsSubmittedRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_service_user_identity_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *CheckUserIdentityIsSubmittedRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CheckUserIdentityIsSubmittedRequest) ProtoMessage() {}
func (x *CheckUserIdentityIsSubmittedRequest) ProtoReflect() protoreflect.Message {
mi := &file_service_user_identity_proto_msgTypes[6]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CheckUserIdentityIsSubmittedRequest.ProtoReflect.Descriptor instead.
func (*CheckUserIdentityIsSubmittedRequest) Descriptor() ([]byte, []int) {
return file_service_user_identity_proto_rawDescGZIP(), []int{6}
}
func (x *CheckUserIdentityIsSubmittedRequest) GetUserId() int64 {
if x != nil {
return x.UserId
}
return 0
}
type CheckUserIdentityIsSubmittedResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
IsSubmitted bool `protobuf:"varint,1,opt,name=isSubmitted,proto3" json:"isSubmitted,omitempty"`
}
func (x *CheckUserIdentityIsSubmittedResponse) Reset() {
*x = CheckUserIdentityIsSubmittedResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_service_user_identity_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *CheckUserIdentityIsSubmittedResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CheckUserIdentityIsSubmittedResponse) ProtoMessage() {}
func (x *CheckUserIdentityIsSubmittedResponse) ProtoReflect() protoreflect.Message {
mi := &file_service_user_identity_proto_msgTypes[7]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CheckUserIdentityIsSubmittedResponse.ProtoReflect.Descriptor instead.
func (*CheckUserIdentityIsSubmittedResponse) Descriptor() ([]byte, []int) {
return file_service_user_identity_proto_rawDescGZIP(), []int{7}
}
func (x *CheckUserIdentityIsSubmittedResponse) GetIsSubmitted() bool {
if x != nil {
return x.IsSubmitted
}
return false
}
// 修改实名认证信息
type UpdateUserIdentityRequest struct {
state protoimpl.MessageState
@@ -370,7 +465,7 @@ type UpdateUserIdentityRequest struct {
func (x *UpdateUserIdentityRequest) Reset() {
*x = UpdateUserIdentityRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_service_user_identity_proto_msgTypes[6]
mi := &file_service_user_identity_proto_msgTypes[8]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -383,7 +478,7 @@ func (x *UpdateUserIdentityRequest) String() string {
func (*UpdateUserIdentityRequest) ProtoMessage() {}
func (x *UpdateUserIdentityRequest) ProtoReflect() protoreflect.Message {
mi := &file_service_user_identity_proto_msgTypes[6]
mi := &file_service_user_identity_proto_msgTypes[8]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -396,7 +491,7 @@ func (x *UpdateUserIdentityRequest) ProtoReflect() protoreflect.Message {
// Deprecated: Use UpdateUserIdentityRequest.ProtoReflect.Descriptor instead.
func (*UpdateUserIdentityRequest) Descriptor() ([]byte, []int) {
return file_service_user_identity_proto_rawDescGZIP(), []int{6}
return file_service_user_identity_proto_rawDescGZIP(), []int{8}
}
func (x *UpdateUserIdentityRequest) GetUserIdentityId() int64 {
@@ -446,7 +541,7 @@ type SubmitUserIdentityRequest struct {
func (x *SubmitUserIdentityRequest) Reset() {
*x = SubmitUserIdentityRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_service_user_identity_proto_msgTypes[7]
mi := &file_service_user_identity_proto_msgTypes[9]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -459,7 +554,7 @@ func (x *SubmitUserIdentityRequest) String() string {
func (*SubmitUserIdentityRequest) ProtoMessage() {}
func (x *SubmitUserIdentityRequest) ProtoReflect() protoreflect.Message {
mi := &file_service_user_identity_proto_msgTypes[7]
mi := &file_service_user_identity_proto_msgTypes[9]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -472,7 +567,7 @@ func (x *SubmitUserIdentityRequest) ProtoReflect() protoreflect.Message {
// Deprecated: Use SubmitUserIdentityRequest.ProtoReflect.Descriptor instead.
func (*SubmitUserIdentityRequest) Descriptor() ([]byte, []int) {
return file_service_user_identity_proto_rawDescGZIP(), []int{7}
return file_service_user_identity_proto_rawDescGZIP(), []int{9}
}
func (x *SubmitUserIdentityRequest) GetUserIdentityId() int64 {
@@ -494,7 +589,7 @@ type CancelUserIdentityRequest struct {
func (x *CancelUserIdentityRequest) Reset() {
*x = CancelUserIdentityRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_service_user_identity_proto_msgTypes[8]
mi := &file_service_user_identity_proto_msgTypes[10]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -507,7 +602,7 @@ func (x *CancelUserIdentityRequest) String() string {
func (*CancelUserIdentityRequest) ProtoMessage() {}
func (x *CancelUserIdentityRequest) ProtoReflect() protoreflect.Message {
mi := &file_service_user_identity_proto_msgTypes[8]
mi := &file_service_user_identity_proto_msgTypes[10]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -520,7 +615,7 @@ func (x *CancelUserIdentityRequest) ProtoReflect() protoreflect.Message {
// Deprecated: Use CancelUserIdentityRequest.ProtoReflect.Descriptor instead.
func (*CancelUserIdentityRequest) Descriptor() ([]byte, []int) {
return file_service_user_identity_proto_rawDescGZIP(), []int{8}
return file_service_user_identity_proto_rawDescGZIP(), []int{10}
}
func (x *CancelUserIdentityRequest) GetUserIdentityId() int64 {
@@ -542,7 +637,7 @@ type ResetUserIdentityRequest struct {
func (x *ResetUserIdentityRequest) Reset() {
*x = ResetUserIdentityRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_service_user_identity_proto_msgTypes[9]
mi := &file_service_user_identity_proto_msgTypes[11]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -555,7 +650,7 @@ func (x *ResetUserIdentityRequest) String() string {
func (*ResetUserIdentityRequest) ProtoMessage() {}
func (x *ResetUserIdentityRequest) ProtoReflect() protoreflect.Message {
mi := &file_service_user_identity_proto_msgTypes[9]
mi := &file_service_user_identity_proto_msgTypes[11]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -568,7 +663,7 @@ func (x *ResetUserIdentityRequest) ProtoReflect() protoreflect.Message {
// Deprecated: Use ResetUserIdentityRequest.ProtoReflect.Descriptor instead.
func (*ResetUserIdentityRequest) Descriptor() ([]byte, []int) {
return file_service_user_identity_proto_rawDescGZIP(), []int{9}
return file_service_user_identity_proto_rawDescGZIP(), []int{11}
}
func (x *ResetUserIdentityRequest) GetUserIdentityId() int64 {
@@ -591,7 +686,7 @@ type RejectUserIdentityRequest struct {
func (x *RejectUserIdentityRequest) Reset() {
*x = RejectUserIdentityRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_service_user_identity_proto_msgTypes[10]
mi := &file_service_user_identity_proto_msgTypes[12]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -604,7 +699,7 @@ func (x *RejectUserIdentityRequest) String() string {
func (*RejectUserIdentityRequest) ProtoMessage() {}
func (x *RejectUserIdentityRequest) ProtoReflect() protoreflect.Message {
mi := &file_service_user_identity_proto_msgTypes[10]
mi := &file_service_user_identity_proto_msgTypes[12]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -617,7 +712,7 @@ func (x *RejectUserIdentityRequest) ProtoReflect() protoreflect.Message {
// Deprecated: Use RejectUserIdentityRequest.ProtoReflect.Descriptor instead.
func (*RejectUserIdentityRequest) Descriptor() ([]byte, []int) {
return file_service_user_identity_proto_rawDescGZIP(), []int{10}
return file_service_user_identity_proto_rawDescGZIP(), []int{12}
}
func (x *RejectUserIdentityRequest) GetUserIdentityId() int64 {
@@ -646,7 +741,7 @@ type VerifyUserIdentityRequest struct {
func (x *VerifyUserIdentityRequest) Reset() {
*x = VerifyUserIdentityRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_service_user_identity_proto_msgTypes[11]
mi := &file_service_user_identity_proto_msgTypes[13]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -659,7 +754,7 @@ func (x *VerifyUserIdentityRequest) String() string {
func (*VerifyUserIdentityRequest) ProtoMessage() {}
func (x *VerifyUserIdentityRequest) ProtoReflect() protoreflect.Message {
mi := &file_service_user_identity_proto_msgTypes[11]
mi := &file_service_user_identity_proto_msgTypes[13]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -672,7 +767,7 @@ func (x *VerifyUserIdentityRequest) ProtoReflect() protoreflect.Message {
// Deprecated: Use VerifyUserIdentityRequest.ProtoReflect.Descriptor instead.
func (*VerifyUserIdentityRequest) Descriptor() ([]byte, []int) {
return file_service_user_identity_proto_rawDescGZIP(), []int{11}
return file_service_user_identity_proto_rawDescGZIP(), []int{13}
}
func (x *VerifyUserIdentityRequest) GetUserIdentityId() int64 {
@@ -727,88 +822,104 @@ var file_service_user_identity_proto_rawDesc = []byte{
0x0a, 0x0c, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x18, 0x01,
0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64,
0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x0c, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x65, 0x6e,
0x74, 0x69, 0x74, 0x79, 0x22, 0xa5, 0x01, 0x0a, 0x19, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55,
0x74, 0x69, 0x74, 0x79, 0x22, 0x3d, 0x0a, 0x23, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x55, 0x73, 0x65,
0x72, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x73, 0x53, 0x75, 0x62, 0x6d, 0x69,
0x74, 0x74, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x75,
0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x75, 0x73, 0x65,
0x72, 0x49, 0x64, 0x22, 0x48, 0x0a, 0x24, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x55, 0x73, 0x65, 0x72,
0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x73, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74,
0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x69,
0x73, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08,
0x52, 0x0b, 0x69, 0x73, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x64, 0x22, 0xa5, 0x01,
0x0a, 0x19, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x65, 0x6e,
0x74, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x26, 0x0a, 0x0e, 0x75,
0x73, 0x65, 0x72, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x18, 0x01, 0x20,
0x01, 0x28, 0x03, 0x52, 0x0e, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74,
0x79, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x61, 0x6c, 0x4e,
0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x65, 0x61, 0x6c, 0x4e,
0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x04, 0x20,
0x01, 0x28, 0x09, 0x52, 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x66,
0x69, 0x6c, 0x65, 0x49, 0x64, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x03, 0x52, 0x07, 0x66, 0x69,
0x6c, 0x65, 0x49, 0x64, 0x73, 0x22, 0x43, 0x0a, 0x19, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x55,
0x73, 0x65, 0x72, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65,
0x73, 0x74, 0x12, 0x26, 0x0a, 0x0e, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69,
0x74, 0x79, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x75, 0x73, 0x65, 0x72,
0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79,
0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x1a,
0x0a, 0x08, 0x72, 0x65, 0x61, 0x6c, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
0x52, 0x08, 0x72, 0x65, 0x61, 0x6c, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x75,
0x6d, 0x62, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6e, 0x75, 0x6d, 0x62,
0x65, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x66, 0x69, 0x6c, 0x65, 0x49, 0x64, 0x73, 0x18, 0x05, 0x20,
0x03, 0x28, 0x03, 0x52, 0x07, 0x66, 0x69, 0x6c, 0x65, 0x49, 0x64, 0x73, 0x22, 0x43, 0x0a, 0x19,
0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69,
0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x26, 0x0a, 0x0e, 0x75, 0x73, 0x65,
0x72, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
0x03, 0x52, 0x0e, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49,
0x64, 0x22, 0x43, 0x0a, 0x19, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x55, 0x73, 0x65, 0x72, 0x49,
0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x26,
0x0a, 0x0e, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64,
0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x65, 0x6e,
0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x22, 0x42, 0x0a, 0x18, 0x52, 0x65, 0x73, 0x65, 0x74, 0x55,
0x73, 0x65, 0x72, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65,
0x73, 0x74, 0x12, 0x26, 0x0a, 0x0e, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69,
0x74, 0x79, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x75, 0x73, 0x65, 0x72,
0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x22, 0x5b, 0x0a, 0x19, 0x52, 0x65,
0x6a, 0x65, 0x63, 0x74, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79,
0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x22, 0x43, 0x0a, 0x19, 0x43, 0x61,
0x6e, 0x63, 0x65, 0x6c, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79,
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x26, 0x0a, 0x0e, 0x75, 0x73, 0x65, 0x72, 0x49,
0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52,
0x0e, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12,
0x16, 0x0a, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x22, 0x43, 0x0a, 0x19, 0x56, 0x65, 0x72, 0x69, 0x66,
0x79, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71,
0x75, 0x65, 0x73, 0x74, 0x12, 0x26, 0x0a, 0x0e, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x65, 0x6e,
0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x75, 0x73,
0x65, 0x72, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x32, 0xf0, 0x05, 0x0a,
0x13, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x65, 0x72,
0x76, 0x69, 0x63, 0x65, 0x12, 0x53, 0x0a, 0x12, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x55, 0x73,
0x65, 0x72, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x1d, 0x2e, 0x70, 0x62, 0x2e,
0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69,
0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x62, 0x2e, 0x43,
0x72, 0x65, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74,
0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x62, 0x0a, 0x17, 0x66, 0x69, 0x6e,
0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x65, 0x6e,
0x74, 0x69, 0x74, 0x79, 0x12, 0x22, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e,
0x61, 0x62, 0x6c, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74,
0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69,
0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x65,
0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x83, 0x01,
0x0a, 0x22, 0x66, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x55, 0x73, 0x65,
0x72, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x57, 0x69, 0x74, 0x68, 0x4f, 0x72, 0x67,
0x54, 0x79, 0x70, 0x65, 0x12, 0x2d, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e,
0x61, 0x62, 0x6c, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74,
0x79, 0x57, 0x69, 0x74, 0x68, 0x4f, 0x72, 0x67, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x71, 0x75,
0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61,
0x62, 0x6c, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79,
0x57, 0x69, 0x74, 0x68, 0x4f, 0x72, 0x67, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f,
0x6e, 0x73, 0x65, 0x12, 0x43, 0x0a, 0x12, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65,
0x72, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x1d, 0x2e, 0x70, 0x62, 0x2e, 0x55,
0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74,
0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50,
0x43, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x43, 0x0a, 0x12, 0x73, 0x75, 0x62, 0x6d,
0x69, 0x74, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x1d,
0x2e, 0x70, 0x62, 0x2e, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64,
0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e, 0x2e,
0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x43, 0x0a,
0x12, 0x63, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x65, 0x6e, 0x74,
0x69, 0x74, 0x79, 0x12, 0x1d, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x55,
0x0e, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x22,
0x42, 0x0a, 0x18, 0x52, 0x65, 0x73, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x65, 0x6e,
0x74, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x26, 0x0a, 0x0e, 0x75,
0x73, 0x65, 0x72, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x18, 0x01, 0x20,
0x01, 0x28, 0x03, 0x52, 0x0e, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74,
0x79, 0x49, 0x64, 0x22, 0x5b, 0x0a, 0x19, 0x52, 0x65, 0x6a, 0x65, 0x63, 0x74, 0x55, 0x73, 0x65,
0x72, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
0x12, 0x26, 0x0a, 0x0e, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79,
0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64,
0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x61, 0x73,
0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e,
0x22, 0x43, 0x0a, 0x19, 0x56, 0x65, 0x72, 0x69, 0x66, 0x79, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64,
0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x26, 0x0a,
0x0e, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x18,
0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x65, 0x6e, 0x74,
0x69, 0x74, 0x79, 0x49, 0x64, 0x32, 0xe3, 0x06, 0x0a, 0x13, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64,
0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x53, 0x0a,
0x12, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x65, 0x6e, 0x74,
0x69, 0x74, 0x79, 0x12, 0x1d, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x55,
0x73, 0x65, 0x72, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65,
0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x53, 0x75, 0x63, 0x63, 0x65,
0x73, 0x73, 0x12, 0x41, 0x0a, 0x11, 0x72, 0x65, 0x73, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x49,
0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x1c, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x65, 0x73,
0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x65,
0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x53, 0x75,
0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x43, 0x0a, 0x12, 0x72, 0x65, 0x6a, 0x65, 0x63, 0x74, 0x55,
0x73, 0x65, 0x72, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x1d, 0x2e, 0x70, 0x62,
0x2e, 0x52, 0x65, 0x6a, 0x65, 0x63, 0x74, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x65, 0x6e, 0x74,
0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x70, 0x62, 0x2e,
0x52, 0x50, 0x43, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x43, 0x0a, 0x12, 0x76, 0x65,
0x72, 0x69, 0x66, 0x79, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79,
0x12, 0x1d, 0x2e, 0x70, 0x62, 0x2e, 0x56, 0x65, 0x72, 0x69, 0x66, 0x79, 0x55, 0x73, 0x65, 0x72,
0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x42,
0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x55, 0x73,
0x65, 0x72, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
0x73, 0x65, 0x12, 0x62, 0x0a, 0x17, 0x66, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65,
0x64, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x22, 0x2e,
0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x55, 0x73,
0x65, 0x72, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
0x74, 0x1a, 0x23, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c,
0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x65,
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x83, 0x01, 0x0a, 0x22, 0x66, 0x69, 0x6e, 0x64, 0x45,
0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69,
0x74, 0x79, 0x57, 0x69, 0x74, 0x68, 0x4f, 0x72, 0x67, 0x54, 0x79, 0x70, 0x65, 0x12, 0x2d, 0x2e,
0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x55, 0x73,
0x65, 0x72, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x57, 0x69, 0x74, 0x68, 0x4f, 0x72,
0x67, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x70,
0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x55, 0x73, 0x65,
0x72, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x57, 0x69, 0x74, 0x68, 0x4f, 0x72, 0x67,
0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x71, 0x0a, 0x1c,
0x63, 0x68, 0x65, 0x63, 0x6b, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74,
0x79, 0x49, 0x73, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x64, 0x12, 0x27, 0x2e, 0x70,
0x62, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x65, 0x6e, 0x74,
0x69, 0x74, 0x79, 0x49, 0x73, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x64, 0x52, 0x65,
0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b,
0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x73, 0x53, 0x75,
0x62, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
0x43, 0x0a, 0x12, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x65,
0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x1d, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74,
0x65, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71,
0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x53, 0x75, 0x63,
0x63, 0x65, 0x73, 0x73, 0x12, 0x43, 0x0a, 0x12, 0x73, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x55, 0x73,
0x65, 0x72, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x1d, 0x2e, 0x70, 0x62, 0x2e,
0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69,
0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x52,
0x50, 0x43, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x43, 0x0a, 0x12, 0x63, 0x61, 0x6e,
0x63, 0x65, 0x6c, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12,
0x1d, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x55, 0x73, 0x65, 0x72, 0x49,
0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e,
0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x41,
0x0a, 0x11, 0x72, 0x65, 0x73, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x65, 0x6e, 0x74,
0x69, 0x74, 0x79, 0x12, 0x1c, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x65, 0x73, 0x65, 0x74, 0x55, 0x73,
0x65, 0x72, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
0x74, 0x1a, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73,
0x73, 0x12, 0x43, 0x0a, 0x12, 0x72, 0x65, 0x6a, 0x65, 0x63, 0x74, 0x55, 0x73, 0x65, 0x72, 0x49,
0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x1d, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x65, 0x6a,
0x65, 0x63, 0x74, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52,
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43, 0x53,
0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x43, 0x0a, 0x12, 0x76, 0x65, 0x72, 0x69, 0x66, 0x79,
0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x1d, 0x2e, 0x70,
0x62, 0x2e, 0x56, 0x65, 0x72, 0x69, 0x66, 0x79, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x65, 0x6e,
0x74, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x70, 0x62,
0x2e, 0x52, 0x50, 0x43, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x42, 0x06, 0x5a, 0x04, 0x2e,
0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
@@ -823,7 +934,7 @@ func file_service_user_identity_proto_rawDescGZIP() []byte {
return file_service_user_identity_proto_rawDescData
}
var file_service_user_identity_proto_msgTypes = make([]protoimpl.MessageInfo, 12)
var file_service_user_identity_proto_msgTypes = make([]protoimpl.MessageInfo, 14)
var file_service_user_identity_proto_goTypes = []interface{}{
(*CreateUserIdentityRequest)(nil), // 0: pb.CreateUserIdentityRequest
(*CreateUserIdentityResponse)(nil), // 1: pb.CreateUserIdentityResponse
@@ -831,38 +942,42 @@ var file_service_user_identity_proto_goTypes = []interface{}{
(*FindEnabledUserIdentityResponse)(nil), // 3: pb.FindEnabledUserIdentityResponse
(*FindEnabledUserIdentityWithOrgTypeRequest)(nil), // 4: pb.FindEnabledUserIdentityWithOrgTypeRequest
(*FindEnabledUserIdentityWithOrgTypeResponse)(nil), // 5: pb.FindEnabledUserIdentityWithOrgTypeResponse
(*UpdateUserIdentityRequest)(nil), // 6: pb.UpdateUserIdentityRequest
(*SubmitUserIdentityRequest)(nil), // 7: pb.SubmitUserIdentityRequest
(*CancelUserIdentityRequest)(nil), // 8: pb.CancelUserIdentityRequest
(*ResetUserIdentityRequest)(nil), // 9: pb.ResetUserIdentityRequest
(*RejectUserIdentityRequest)(nil), // 10: pb.RejectUserIdentityRequest
(*VerifyUserIdentityRequest)(nil), // 11: pb.VerifyUserIdentityRequest
(*UserIdentity)(nil), // 12: pb.UserIdentity
(*RPCSuccess)(nil), // 13: pb.RPCSuccess
(*CheckUserIdentityIsSubmittedRequest)(nil), // 6: pb.CheckUserIdentityIsSubmittedRequest
(*CheckUserIdentityIsSubmittedResponse)(nil), // 7: pb.CheckUserIdentityIsSubmittedResponse
(*UpdateUserIdentityRequest)(nil), // 8: pb.UpdateUserIdentityRequest
(*SubmitUserIdentityRequest)(nil), // 9: pb.SubmitUserIdentityRequest
(*CancelUserIdentityRequest)(nil), // 10: pb.CancelUserIdentityRequest
(*ResetUserIdentityRequest)(nil), // 11: pb.ResetUserIdentityRequest
(*RejectUserIdentityRequest)(nil), // 12: pb.RejectUserIdentityRequest
(*VerifyUserIdentityRequest)(nil), // 13: pb.VerifyUserIdentityRequest
(*UserIdentity)(nil), // 14: pb.UserIdentity
(*RPCSuccess)(nil), // 15: pb.RPCSuccess
}
var file_service_user_identity_proto_depIdxs = []int32{
12, // 0: pb.FindEnabledUserIdentityResponse.userIdentity:type_name -> pb.UserIdentity
12, // 1: pb.FindEnabledUserIdentityWithOrgTypeResponse.userIdentity:type_name -> pb.UserIdentity
14, // 0: pb.FindEnabledUserIdentityResponse.userIdentity:type_name -> pb.UserIdentity
14, // 1: pb.FindEnabledUserIdentityWithOrgTypeResponse.userIdentity:type_name -> pb.UserIdentity
0, // 2: pb.UserIdentityService.createUserIdentity:input_type -> pb.CreateUserIdentityRequest
2, // 3: pb.UserIdentityService.findEnabledUserIdentity:input_type -> pb.FindEnabledUserIdentityRequest
4, // 4: pb.UserIdentityService.findEnabledUserIdentityWithOrgType:input_type -> pb.FindEnabledUserIdentityWithOrgTypeRequest
6, // 5: pb.UserIdentityService.updateUserIdentity:input_type -> pb.UpdateUserIdentityRequest
7, // 6: pb.UserIdentityService.submitUserIdentity:input_type -> pb.SubmitUserIdentityRequest
8, // 7: pb.UserIdentityService.cancelUserIdentity:input_type -> pb.CancelUserIdentityRequest
9, // 8: pb.UserIdentityService.resetUserIdentity:input_type -> pb.ResetUserIdentityRequest
10, // 9: pb.UserIdentityService.rejectUserIdentity:input_type -> pb.RejectUserIdentityRequest
11, // 10: pb.UserIdentityService.verifyUserIdentity:input_type -> pb.VerifyUserIdentityRequest
1, // 11: pb.UserIdentityService.createUserIdentity:output_type -> pb.CreateUserIdentityResponse
3, // 12: pb.UserIdentityService.findEnabledUserIdentity:output_type -> pb.FindEnabledUserIdentityResponse
5, // 13: pb.UserIdentityService.findEnabledUserIdentityWithOrgType:output_type -> pb.FindEnabledUserIdentityWithOrgTypeResponse
13, // 14: pb.UserIdentityService.updateUserIdentity:output_type -> pb.RPCSuccess
13, // 15: pb.UserIdentityService.submitUserIdentity:output_type -> pb.RPCSuccess
13, // 16: pb.UserIdentityService.cancelUserIdentity:output_type -> pb.RPCSuccess
13, // 17: pb.UserIdentityService.resetUserIdentity:output_type -> pb.RPCSuccess
13, // 18: pb.UserIdentityService.rejectUserIdentity:output_type -> pb.RPCSuccess
13, // 19: pb.UserIdentityService.verifyUserIdentity:output_type -> pb.RPCSuccess
11, // [11:20] is the sub-list for method output_type
2, // [2:11] is the sub-list for method input_type
6, // 5: pb.UserIdentityService.checkUserIdentityIsSubmitted:input_type -> pb.CheckUserIdentityIsSubmittedRequest
8, // 6: pb.UserIdentityService.updateUserIdentity:input_type -> pb.UpdateUserIdentityRequest
9, // 7: pb.UserIdentityService.submitUserIdentity:input_type -> pb.SubmitUserIdentityRequest
10, // 8: pb.UserIdentityService.cancelUserIdentity:input_type -> pb.CancelUserIdentityRequest
11, // 9: pb.UserIdentityService.resetUserIdentity:input_type -> pb.ResetUserIdentityRequest
12, // 10: pb.UserIdentityService.rejectUserIdentity:input_type -> pb.RejectUserIdentityRequest
13, // 11: pb.UserIdentityService.verifyUserIdentity:input_type -> pb.VerifyUserIdentityRequest
1, // 12: pb.UserIdentityService.createUserIdentity:output_type -> pb.CreateUserIdentityResponse
3, // 13: pb.UserIdentityService.findEnabledUserIdentity:output_type -> pb.FindEnabledUserIdentityResponse
5, // 14: pb.UserIdentityService.findEnabledUserIdentityWithOrgType:output_type -> pb.FindEnabledUserIdentityWithOrgTypeResponse
7, // 15: pb.UserIdentityService.checkUserIdentityIsSubmitted:output_type -> pb.CheckUserIdentityIsSubmittedResponse
15, // 16: pb.UserIdentityService.updateUserIdentity:output_type -> pb.RPCSuccess
15, // 17: pb.UserIdentityService.submitUserIdentity:output_type -> pb.RPCSuccess
15, // 18: pb.UserIdentityService.cancelUserIdentity:output_type -> pb.RPCSuccess
15, // 19: pb.UserIdentityService.resetUserIdentity:output_type -> pb.RPCSuccess
15, // 20: pb.UserIdentityService.rejectUserIdentity:output_type -> pb.RPCSuccess
15, // 21: pb.UserIdentityService.verifyUserIdentity:output_type -> pb.RPCSuccess
12, // [12:22] is the sub-list for method output_type
2, // [2:12] is the sub-list for method input_type
2, // [2:2] is the sub-list for extension type_name
2, // [2:2] is the sub-list for extension extendee
0, // [0:2] is the sub-list for field type_name
@@ -949,7 +1064,7 @@ func file_service_user_identity_proto_init() {
}
}
file_service_user_identity_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*UpdateUserIdentityRequest); i {
switch v := v.(*CheckUserIdentityIsSubmittedRequest); i {
case 0:
return &v.state
case 1:
@@ -961,7 +1076,7 @@ func file_service_user_identity_proto_init() {
}
}
file_service_user_identity_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*SubmitUserIdentityRequest); i {
switch v := v.(*CheckUserIdentityIsSubmittedResponse); i {
case 0:
return &v.state
case 1:
@@ -973,7 +1088,7 @@ func file_service_user_identity_proto_init() {
}
}
file_service_user_identity_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CancelUserIdentityRequest); i {
switch v := v.(*UpdateUserIdentityRequest); i {
case 0:
return &v.state
case 1:
@@ -985,7 +1100,7 @@ func file_service_user_identity_proto_init() {
}
}
file_service_user_identity_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ResetUserIdentityRequest); i {
switch v := v.(*SubmitUserIdentityRequest); i {
case 0:
return &v.state
case 1:
@@ -997,7 +1112,7 @@ func file_service_user_identity_proto_init() {
}
}
file_service_user_identity_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*RejectUserIdentityRequest); i {
switch v := v.(*CancelUserIdentityRequest); i {
case 0:
return &v.state
case 1:
@@ -1009,6 +1124,30 @@ func file_service_user_identity_proto_init() {
}
}
file_service_user_identity_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ResetUserIdentityRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_service_user_identity_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*RejectUserIdentityRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_service_user_identity_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*VerifyUserIdentityRequest); i {
case 0:
return &v.state
@@ -1027,7 +1166,7 @@ func file_service_user_identity_proto_init() {
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_service_user_identity_proto_rawDesc,
NumEnums: 0,
NumMessages: 12,
NumMessages: 14,
NumExtensions: 0,
NumServices: 1,
},
@@ -1059,6 +1198,8 @@ type UserIdentityServiceClient interface {
FindEnabledUserIdentity(ctx context.Context, in *FindEnabledUserIdentityRequest, opts ...grpc.CallOption) (*FindEnabledUserIdentityResponse, error)
// 查看某个类型的实名认证信息
FindEnabledUserIdentityWithOrgType(ctx context.Context, in *FindEnabledUserIdentityWithOrgTypeRequest, opts ...grpc.CallOption) (*FindEnabledUserIdentityWithOrgTypeResponse, error)
// 检查是否正在审核中
CheckUserIdentityIsSubmitted(ctx context.Context, in *CheckUserIdentityIsSubmittedRequest, opts ...grpc.CallOption) (*CheckUserIdentityIsSubmittedResponse, error)
// 修改实名认证信息
UpdateUserIdentity(ctx context.Context, in *UpdateUserIdentityRequest, opts ...grpc.CallOption) (*RPCSuccess, error)
// 提交审核实名认证信息
@@ -1108,6 +1249,15 @@ func (c *userIdentityServiceClient) FindEnabledUserIdentityWithOrgType(ctx conte
return out, nil
}
func (c *userIdentityServiceClient) CheckUserIdentityIsSubmitted(ctx context.Context, in *CheckUserIdentityIsSubmittedRequest, opts ...grpc.CallOption) (*CheckUserIdentityIsSubmittedResponse, error) {
out := new(CheckUserIdentityIsSubmittedResponse)
err := c.cc.Invoke(ctx, "/pb.UserIdentityService/checkUserIdentityIsSubmitted", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *userIdentityServiceClient) UpdateUserIdentity(ctx context.Context, in *UpdateUserIdentityRequest, opts ...grpc.CallOption) (*RPCSuccess, error) {
out := new(RPCSuccess)
err := c.cc.Invoke(ctx, "/pb.UserIdentityService/updateUserIdentity", in, out, opts...)
@@ -1170,6 +1320,8 @@ type UserIdentityServiceServer interface {
FindEnabledUserIdentity(context.Context, *FindEnabledUserIdentityRequest) (*FindEnabledUserIdentityResponse, error)
// 查看某个类型的实名认证信息
FindEnabledUserIdentityWithOrgType(context.Context, *FindEnabledUserIdentityWithOrgTypeRequest) (*FindEnabledUserIdentityWithOrgTypeResponse, error)
// 检查是否正在审核中
CheckUserIdentityIsSubmitted(context.Context, *CheckUserIdentityIsSubmittedRequest) (*CheckUserIdentityIsSubmittedResponse, error)
// 修改实名认证信息
UpdateUserIdentity(context.Context, *UpdateUserIdentityRequest) (*RPCSuccess, error)
// 提交审核实名认证信息
@@ -1197,6 +1349,9 @@ func (*UnimplementedUserIdentityServiceServer) FindEnabledUserIdentity(context.C
func (*UnimplementedUserIdentityServiceServer) FindEnabledUserIdentityWithOrgType(context.Context, *FindEnabledUserIdentityWithOrgTypeRequest) (*FindEnabledUserIdentityWithOrgTypeResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method FindEnabledUserIdentityWithOrgType not implemented")
}
func (*UnimplementedUserIdentityServiceServer) CheckUserIdentityIsSubmitted(context.Context, *CheckUserIdentityIsSubmittedRequest) (*CheckUserIdentityIsSubmittedResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method CheckUserIdentityIsSubmitted not implemented")
}
func (*UnimplementedUserIdentityServiceServer) UpdateUserIdentity(context.Context, *UpdateUserIdentityRequest) (*RPCSuccess, error) {
return nil, status.Errorf(codes.Unimplemented, "method UpdateUserIdentity not implemented")
}
@@ -1274,6 +1429,24 @@ func _UserIdentityService_FindEnabledUserIdentityWithOrgType_Handler(srv interfa
return interceptor(ctx, in, info, handler)
}
func _UserIdentityService_CheckUserIdentityIsSubmitted_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(CheckUserIdentityIsSubmittedRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(UserIdentityServiceServer).CheckUserIdentityIsSubmitted(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/pb.UserIdentityService/CheckUserIdentityIsSubmitted",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(UserIdentityServiceServer).CheckUserIdentityIsSubmitted(ctx, req.(*CheckUserIdentityIsSubmittedRequest))
}
return interceptor(ctx, in, info, handler)
}
func _UserIdentityService_UpdateUserIdentity_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(UpdateUserIdentityRequest)
if err := dec(in); err != nil {
@@ -1398,6 +1571,10 @@ var _UserIdentityService_serviceDesc = grpc.ServiceDesc{
MethodName: "findEnabledUserIdentityWithOrgType",
Handler: _UserIdentityService_FindEnabledUserIdentityWithOrgType_Handler,
},
{
MethodName: "checkUserIdentityIsSubmitted",
Handler: _UserIdentityService_CheckUserIdentityIsSubmitted_Handler,
},
{
MethodName: "updateUserIdentity",
Handler: _UserIdentityService_UpdateUserIdentity_Handler,

View File

@@ -16,5 +16,5 @@ message UserIdentity {
int64 submittedAt = 10;
int64 rejectedAt = 11;
int64 verifiedAt = 12;
string rejectedReason = 13;
string rejectReason = 13;
}

View File

@@ -17,6 +17,9 @@ service UserIdentityService {
// 查看某个类型的实名认证信息
rpc findEnabledUserIdentityWithOrgType(FindEnabledUserIdentityWithOrgTypeRequest) returns (FindEnabledUserIdentityWithOrgTypeResponse);
// 检查是否正在审核中
rpc checkUserIdentityIsSubmitted(CheckUserIdentityIsSubmittedRequest) returns (CheckUserIdentityIsSubmittedResponse);
// 修改实名认证信息
rpc updateUserIdentity(UpdateUserIdentityRequest) returns (RPCSuccess);
@@ -68,6 +71,15 @@ message FindEnabledUserIdentityWithOrgTypeResponse {
UserIdentity userIdentity = 1;
}
// 检查是否正在审核中
message CheckUserIdentityIsSubmittedRequest {
int64 userId = 1;
}
message CheckUserIdentityIsSubmittedResponse {
bool isSubmitted = 1;
}
// 修改实名认证信息
message UpdateUserIdentityRequest {
int64 userIdentityId = 1;