From 92f96c1ba2470f99a6bb4fade0db2cc664d01bf6 Mon Sep 17 00:00:00 2001 From: FDKevin Date: Sat, 21 Sep 2024 06:20:44 +0000 Subject: [PATCH] ci(gen): buf generate up to date --- consultingapis/dingtalk/v1/dingtalk.pb.go | 382 +++++++++++++----- consultingapis/dingtalk/v1/dingtalk.pb.gw.go | 87 ++++ .../dingtalk/v1/dingtalk_grpc.pb.go | 51 ++- .../dingtalk/v1/dingtalk.swagger.json | 45 +++ 4 files changed, 448 insertions(+), 117 deletions(-) diff --git a/consultingapis/dingtalk/v1/dingtalk.pb.go b/consultingapis/dingtalk/v1/dingtalk.pb.go index bd6e605..ec7956f 100644 --- a/consultingapis/dingtalk/v1/dingtalk.pb.go +++ b/consultingapis/dingtalk/v1/dingtalk.pb.go @@ -742,6 +742,116 @@ func (x *SyncGradeChatGroupResponse) GetMessage() string { return "" } +type CreateRecruitChatGroupRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + MemberId []string `protobuf:"bytes,1,rep,name=member_id,json=memberId,proto3" json:"member_id,omitempty"` +} + +func (x *CreateRecruitChatGroupRequest) Reset() { + *x = CreateRecruitChatGroupRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_consultingapis_dingtalk_v1_dingtalk_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CreateRecruitChatGroupRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CreateRecruitChatGroupRequest) ProtoMessage() {} + +func (x *CreateRecruitChatGroupRequest) ProtoReflect() protoreflect.Message { + mi := &file_consultingapis_dingtalk_v1_dingtalk_proto_msgTypes[14] + 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 CreateRecruitChatGroupRequest.ProtoReflect.Descriptor instead. +func (*CreateRecruitChatGroupRequest) Descriptor() ([]byte, []int) { + return file_consultingapis_dingtalk_v1_dingtalk_proto_rawDescGZIP(), []int{14} +} + +func (x *CreateRecruitChatGroupRequest) GetMemberId() []string { + if x != nil { + return x.MemberId + } + return nil +} + +type CreateRecruitChatGroupResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ChatId string `protobuf:"bytes,1,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"` + OpenConversationId string `protobuf:"bytes,2,opt,name=openConversationId,proto3" json:"openConversationId,omitempty"` + InviteUrl string `protobuf:"bytes,3,opt,name=invite_url,json=inviteUrl,proto3" json:"invite_url,omitempty"` +} + +func (x *CreateRecruitChatGroupResponse) Reset() { + *x = CreateRecruitChatGroupResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_consultingapis_dingtalk_v1_dingtalk_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CreateRecruitChatGroupResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CreateRecruitChatGroupResponse) ProtoMessage() {} + +func (x *CreateRecruitChatGroupResponse) ProtoReflect() protoreflect.Message { + mi := &file_consultingapis_dingtalk_v1_dingtalk_proto_msgTypes[15] + 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 CreateRecruitChatGroupResponse.ProtoReflect.Descriptor instead. +func (*CreateRecruitChatGroupResponse) Descriptor() ([]byte, []int) { + return file_consultingapis_dingtalk_v1_dingtalk_proto_rawDescGZIP(), []int{15} +} + +func (x *CreateRecruitChatGroupResponse) GetChatId() string { + if x != nil { + return x.ChatId + } + return "" +} + +func (x *CreateRecruitChatGroupResponse) GetOpenConversationId() string { + if x != nil { + return x.OpenConversationId + } + return "" +} + +func (x *CreateRecruitChatGroupResponse) GetInviteUrl() string { + if x != nil { + return x.InviteUrl + } + return "" +} + type CreateClassChatGroupRequest_Body struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -753,7 +863,7 @@ type CreateClassChatGroupRequest_Body struct { func (x *CreateClassChatGroupRequest_Body) Reset() { *x = CreateClassChatGroupRequest_Body{} if protoimpl.UnsafeEnabled { - mi := &file_consultingapis_dingtalk_v1_dingtalk_proto_msgTypes[14] + mi := &file_consultingapis_dingtalk_v1_dingtalk_proto_msgTypes[16] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -766,7 +876,7 @@ func (x *CreateClassChatGroupRequest_Body) String() string { func (*CreateClassChatGroupRequest_Body) ProtoMessage() {} func (x *CreateClassChatGroupRequest_Body) ProtoReflect() protoreflect.Message { - mi := &file_consultingapis_dingtalk_v1_dingtalk_proto_msgTypes[14] + mi := &file_consultingapis_dingtalk_v1_dingtalk_proto_msgTypes[16] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -803,7 +913,7 @@ type GetClassChatGroupResponse_Chat struct { func (x *GetClassChatGroupResponse_Chat) Reset() { *x = GetClassChatGroupResponse_Chat{} if protoimpl.UnsafeEnabled { - mi := &file_consultingapis_dingtalk_v1_dingtalk_proto_msgTypes[15] + mi := &file_consultingapis_dingtalk_v1_dingtalk_proto_msgTypes[17] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -816,7 +926,7 @@ func (x *GetClassChatGroupResponse_Chat) String() string { func (*GetClassChatGroupResponse_Chat) ProtoMessage() {} func (x *GetClassChatGroupResponse_Chat) ProtoReflect() protoreflect.Message { - mi := &file_consultingapis_dingtalk_v1_dingtalk_proto_msgTypes[15] + mi := &file_consultingapis_dingtalk_v1_dingtalk_proto_msgTypes[17] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -874,7 +984,7 @@ type GetGradeChatGroupResponse_Chat struct { func (x *GetGradeChatGroupResponse_Chat) Reset() { *x = GetGradeChatGroupResponse_Chat{} if protoimpl.UnsafeEnabled { - mi := &file_consultingapis_dingtalk_v1_dingtalk_proto_msgTypes[16] + mi := &file_consultingapis_dingtalk_v1_dingtalk_proto_msgTypes[18] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -887,7 +997,7 @@ func (x *GetGradeChatGroupResponse_Chat) String() string { func (*GetGradeChatGroupResponse_Chat) ProtoMessage() {} func (x *GetGradeChatGroupResponse_Chat) ProtoReflect() protoreflect.Message { - mi := &file_consultingapis_dingtalk_v1_dingtalk_proto_msgTypes[16] + mi := &file_consultingapis_dingtalk_v1_dingtalk_proto_msgTypes[18] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1036,100 +1146,124 @@ var file_consultingapis_dingtalk_v1_dingtalk_proto_rawDesc = []byte{ 0x65, 0x22, 0x36, 0x0a, 0x1a, 0x53, 0x79, 0x6e, 0x63, 0x47, 0x72, 0x61, 0x64, 0x65, 0x43, 0x68, 0x61, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x32, 0xbc, 0x09, 0x0a, 0x0f, 0x44, 0x69, - 0x6e, 0x67, 0x54, 0x61, 0x6c, 0x6b, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0xb1, 0x01, - 0x0a, 0x14, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x43, 0x68, 0x61, - 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x37, 0x2e, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6c, 0x74, - 0x69, 0x6e, 0x67, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x69, 0x6e, 0x67, 0x74, 0x61, 0x6c, 0x6b, - 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x43, - 0x68, 0x61, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x38, 0x2e, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6c, 0x74, 0x69, 0x6e, 0x67, 0x61, 0x70, 0x69, 0x73, + 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x3c, 0x0a, 0x1d, 0x43, 0x72, 0x65, + 0x61, 0x74, 0x65, 0x52, 0x65, 0x63, 0x72, 0x75, 0x69, 0x74, 0x43, 0x68, 0x61, 0x74, 0x47, 0x72, + 0x6f, 0x75, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x65, + 0x6d, 0x62, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x08, 0x6d, + 0x65, 0x6d, 0x62, 0x65, 0x72, 0x49, 0x64, 0x22, 0x88, 0x01, 0x0a, 0x1e, 0x43, 0x72, 0x65, 0x61, + 0x74, 0x65, 0x52, 0x65, 0x63, 0x72, 0x75, 0x69, 0x74, 0x43, 0x68, 0x61, 0x74, 0x47, 0x72, 0x6f, + 0x75, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x63, 0x68, + 0x61, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x63, 0x68, 0x61, + 0x74, 0x49, 0x64, 0x12, 0x2e, 0x0a, 0x12, 0x6f, 0x70, 0x65, 0x6e, 0x43, 0x6f, 0x6e, 0x76, 0x65, + 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x12, 0x6f, 0x70, 0x65, 0x6e, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x5f, 0x75, 0x72, + 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x69, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x55, + 0x72, 0x6c, 0x32, 0xf7, 0x0a, 0x0a, 0x0f, 0x44, 0x69, 0x6e, 0x67, 0x54, 0x61, 0x6c, 0x6b, 0x53, + 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0xb1, 0x01, 0x0a, 0x14, 0x43, 0x72, 0x65, 0x61, 0x74, + 0x65, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x43, 0x68, 0x61, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, + 0x37, 0x2e, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6c, 0x74, 0x69, 0x6e, 0x67, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x69, 0x6e, 0x67, 0x74, 0x61, 0x6c, 0x6b, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x43, 0x68, 0x61, 0x74, 0x47, 0x72, 0x6f, 0x75, - 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x26, 0x82, 0xd3, 0xe4, 0x93, 0x02, - 0x20, 0x3a, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x22, 0x18, 0x2f, 0x64, 0x69, 0x6e, 0x67, 0x74, 0x61, - 0x6c, 0x6b, 0x2f, 0x63, 0x68, 0x61, 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x72, 0x65, 0x61, 0x74, - 0x65, 0x12, 0x9f, 0x01, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x43, 0x68, - 0x61, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x34, 0x2e, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6c, - 0x74, 0x69, 0x6e, 0x67, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x69, 0x6e, 0x67, 0x74, 0x61, 0x6c, - 0x6b, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x43, 0x68, 0x61, - 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x35, 0x2e, + 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x38, 0x2e, 0x63, 0x6f, 0x6e, 0x73, 0x75, + 0x6c, 0x74, 0x69, 0x6e, 0x67, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x69, 0x6e, 0x67, 0x74, 0x61, + 0x6c, 0x6b, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x6c, 0x61, 0x73, + 0x73, 0x43, 0x68, 0x61, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x26, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x20, 0x3a, 0x04, 0x62, 0x6f, 0x64, 0x79, + 0x22, 0x18, 0x2f, 0x64, 0x69, 0x6e, 0x67, 0x74, 0x61, 0x6c, 0x6b, 0x2f, 0x63, 0x68, 0x61, 0x74, + 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x12, 0x9f, 0x01, 0x0a, 0x11, 0x47, + 0x65, 0x74, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x43, 0x68, 0x61, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, + 0x12, 0x34, 0x2e, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6c, 0x74, 0x69, 0x6e, 0x67, 0x61, 0x70, 0x69, + 0x73, 0x2e, 0x64, 0x69, 0x6e, 0x67, 0x74, 0x61, 0x6c, 0x6b, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, + 0x74, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x43, 0x68, 0x61, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x35, 0x2e, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6c, 0x74, + 0x69, 0x6e, 0x67, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x69, 0x6e, 0x67, 0x74, 0x61, 0x6c, 0x6b, + 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x43, 0x68, 0x61, 0x74, + 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1d, 0x82, + 0xd3, 0xe4, 0x93, 0x02, 0x17, 0x12, 0x15, 0x2f, 0x64, 0x69, 0x6e, 0x67, 0x74, 0x61, 0x6c, 0x6b, + 0x2f, 0x63, 0x68, 0x61, 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x67, 0x65, 0x74, 0x12, 0xa7, 0x01, 0x0a, + 0x13, 0x4d, 0x65, 0x72, 0x67, 0x65, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x43, 0x68, 0x61, 0x74, 0x47, + 0x72, 0x6f, 0x75, 0x70, 0x12, 0x36, 0x2e, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6c, 0x74, 0x69, 0x6e, + 0x67, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x69, 0x6e, 0x67, 0x74, 0x61, 0x6c, 0x6b, 0x2e, 0x76, + 0x31, 0x2e, 0x4d, 0x65, 0x72, 0x67, 0x65, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x43, 0x68, 0x61, 0x74, + 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x37, 0x2e, 0x63, + 0x6f, 0x6e, 0x73, 0x75, 0x6c, 0x74, 0x69, 0x6e, 0x67, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x69, + 0x6e, 0x67, 0x74, 0x61, 0x6c, 0x6b, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x65, 0x72, 0x67, 0x65, 0x43, + 0x6c, 0x61, 0x73, 0x73, 0x43, 0x68, 0x61, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1f, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x19, 0x12, 0x17, 0x2f, + 0x64, 0x69, 0x6e, 0x67, 0x74, 0x61, 0x6c, 0x6b, 0x2f, 0x63, 0x68, 0x61, 0x74, 0x2f, 0x76, 0x31, + 0x2f, 0x6d, 0x65, 0x72, 0x67, 0x65, 0x12, 0xa3, 0x01, 0x0a, 0x12, 0x53, 0x79, 0x6e, 0x63, 0x43, + 0x6c, 0x61, 0x73, 0x73, 0x43, 0x68, 0x61, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x35, 0x2e, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6c, 0x74, 0x69, 0x6e, 0x67, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, - 0x69, 0x6e, 0x67, 0x74, 0x61, 0x6c, 0x6b, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x6c, - 0x61, 0x73, 0x73, 0x43, 0x68, 0x61, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1d, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x17, 0x12, 0x15, 0x2f, 0x64, - 0x69, 0x6e, 0x67, 0x74, 0x61, 0x6c, 0x6b, 0x2f, 0x63, 0x68, 0x61, 0x74, 0x2f, 0x76, 0x31, 0x2f, - 0x67, 0x65, 0x74, 0x12, 0xa7, 0x01, 0x0a, 0x13, 0x4d, 0x65, 0x72, 0x67, 0x65, 0x43, 0x6c, 0x61, - 0x73, 0x73, 0x43, 0x68, 0x61, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x36, 0x2e, 0x63, 0x6f, - 0x6e, 0x73, 0x75, 0x6c, 0x74, 0x69, 0x6e, 0x67, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x69, 0x6e, - 0x67, 0x74, 0x61, 0x6c, 0x6b, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x65, 0x72, 0x67, 0x65, 0x43, 0x6c, - 0x61, 0x73, 0x73, 0x43, 0x68, 0x61, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x37, 0x2e, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6c, 0x74, 0x69, 0x6e, 0x67, - 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x69, 0x6e, 0x67, 0x74, 0x61, 0x6c, 0x6b, 0x2e, 0x76, 0x31, - 0x2e, 0x4d, 0x65, 0x72, 0x67, 0x65, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x43, 0x68, 0x61, 0x74, 0x47, - 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1f, 0x82, 0xd3, - 0xe4, 0x93, 0x02, 0x19, 0x12, 0x17, 0x2f, 0x64, 0x69, 0x6e, 0x67, 0x74, 0x61, 0x6c, 0x6b, 0x2f, - 0x63, 0x68, 0x61, 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x6d, 0x65, 0x72, 0x67, 0x65, 0x12, 0xa3, 0x01, - 0x0a, 0x12, 0x53, 0x79, 0x6e, 0x63, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x43, 0x68, 0x61, 0x74, 0x47, - 0x72, 0x6f, 0x75, 0x70, 0x12, 0x35, 0x2e, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6c, 0x74, 0x69, 0x6e, + 0x69, 0x6e, 0x67, 0x74, 0x61, 0x6c, 0x6b, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x79, 0x6e, 0x63, 0x43, + 0x6c, 0x61, 0x73, 0x73, 0x43, 0x68, 0x61, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x36, 0x2e, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6c, 0x74, 0x69, 0x6e, 0x67, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x69, 0x6e, 0x67, 0x74, 0x61, 0x6c, 0x6b, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x79, 0x6e, 0x63, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x43, 0x68, 0x61, 0x74, 0x47, - 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x36, 0x2e, 0x63, 0x6f, - 0x6e, 0x73, 0x75, 0x6c, 0x74, 0x69, 0x6e, 0x67, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x69, 0x6e, - 0x67, 0x74, 0x61, 0x6c, 0x6b, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x79, 0x6e, 0x63, 0x43, 0x6c, 0x61, - 0x73, 0x73, 0x43, 0x68, 0x61, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x22, 0x1e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x18, 0x12, 0x16, 0x2f, 0x64, 0x69, - 0x6e, 0x67, 0x74, 0x61, 0x6c, 0x6b, 0x2f, 0x63, 0x68, 0x61, 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x73, - 0x79, 0x6e, 0x63, 0x12, 0xb0, 0x01, 0x0a, 0x14, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x47, 0x72, - 0x61, 0x64, 0x65, 0x43, 0x68, 0x61, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x37, 0x2e, 0x63, - 0x6f, 0x6e, 0x73, 0x75, 0x6c, 0x74, 0x69, 0x6e, 0x67, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x69, - 0x6e, 0x67, 0x74, 0x61, 0x6c, 0x6b, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, - 0x47, 0x72, 0x61, 0x64, 0x65, 0x43, 0x68, 0x61, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x38, 0x2e, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6c, 0x74, 0x69, + 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1e, 0x82, 0xd3, + 0xe4, 0x93, 0x02, 0x18, 0x12, 0x16, 0x2f, 0x64, 0x69, 0x6e, 0x67, 0x74, 0x61, 0x6c, 0x6b, 0x2f, + 0x63, 0x68, 0x61, 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x79, 0x6e, 0x63, 0x12, 0xb0, 0x01, 0x0a, + 0x14, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x47, 0x72, 0x61, 0x64, 0x65, 0x43, 0x68, 0x61, 0x74, + 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x37, 0x2e, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6c, 0x74, 0x69, 0x6e, 0x67, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x69, 0x6e, 0x67, 0x74, 0x61, 0x6c, 0x6b, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x47, 0x72, 0x61, 0x64, 0x65, 0x43, 0x68, - 0x61, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0x25, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1f, 0x22, 0x1d, 0x2f, 0x64, 0x69, 0x6e, 0x67, 0x74, 0x61, - 0x6c, 0x6b, 0x2f, 0x63, 0x68, 0x61, 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x75, 0x6e, 0x69, 0x74, 0x2f, - 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x12, 0xa4, 0x01, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x47, 0x72, - 0x61, 0x64, 0x65, 0x43, 0x68, 0x61, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x34, 0x2e, 0x63, - 0x6f, 0x6e, 0x73, 0x75, 0x6c, 0x74, 0x69, 0x6e, 0x67, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x69, - 0x6e, 0x67, 0x74, 0x61, 0x6c, 0x6b, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x47, 0x72, 0x61, - 0x64, 0x65, 0x43, 0x68, 0x61, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x35, 0x2e, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6c, 0x74, 0x69, 0x6e, 0x67, 0x61, - 0x70, 0x69, 0x73, 0x2e, 0x64, 0x69, 0x6e, 0x67, 0x74, 0x61, 0x6c, 0x6b, 0x2e, 0x76, 0x31, 0x2e, - 0x47, 0x65, 0x74, 0x47, 0x72, 0x61, 0x64, 0x65, 0x43, 0x68, 0x61, 0x74, 0x47, 0x72, 0x6f, 0x75, - 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x22, 0x82, 0xd3, 0xe4, 0x93, 0x02, - 0x1c, 0x12, 0x1a, 0x2f, 0x64, 0x69, 0x6e, 0x67, 0x74, 0x61, 0x6c, 0x6b, 0x2f, 0x63, 0x68, 0x61, - 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x75, 0x6e, 0x69, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x12, 0xa8, 0x01, - 0x0a, 0x12, 0x53, 0x79, 0x6e, 0x63, 0x47, 0x72, 0x61, 0x64, 0x65, 0x43, 0x68, 0x61, 0x74, 0x47, - 0x72, 0x6f, 0x75, 0x70, 0x12, 0x35, 0x2e, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6c, 0x74, 0x69, 0x6e, + 0x61, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x38, + 0x2e, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6c, 0x74, 0x69, 0x6e, 0x67, 0x61, 0x70, 0x69, 0x73, 0x2e, + 0x64, 0x69, 0x6e, 0x67, 0x74, 0x61, 0x6c, 0x6b, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, + 0x74, 0x65, 0x47, 0x72, 0x61, 0x64, 0x65, 0x43, 0x68, 0x61, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x25, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1f, + 0x22, 0x1d, 0x2f, 0x64, 0x69, 0x6e, 0x67, 0x74, 0x61, 0x6c, 0x6b, 0x2f, 0x63, 0x68, 0x61, 0x74, + 0x2f, 0x76, 0x31, 0x2f, 0x75, 0x6e, 0x69, 0x74, 0x2f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x12, + 0xa4, 0x01, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x47, 0x72, 0x61, 0x64, 0x65, 0x43, 0x68, 0x61, 0x74, + 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x34, 0x2e, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6c, 0x74, 0x69, + 0x6e, 0x67, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x69, 0x6e, 0x67, 0x74, 0x61, 0x6c, 0x6b, 0x2e, + 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x47, 0x72, 0x61, 0x64, 0x65, 0x43, 0x68, 0x61, 0x74, 0x47, + 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x35, 0x2e, 0x63, 0x6f, + 0x6e, 0x73, 0x75, 0x6c, 0x74, 0x69, 0x6e, 0x67, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x69, 0x6e, + 0x67, 0x74, 0x61, 0x6c, 0x6b, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x47, 0x72, 0x61, 0x64, + 0x65, 0x43, 0x68, 0x61, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x22, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1c, 0x12, 0x1a, 0x2f, 0x64, 0x69, 0x6e, + 0x67, 0x74, 0x61, 0x6c, 0x6b, 0x2f, 0x63, 0x68, 0x61, 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x75, 0x6e, + 0x69, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x12, 0xa8, 0x01, 0x0a, 0x12, 0x53, 0x79, 0x6e, 0x63, 0x47, + 0x72, 0x61, 0x64, 0x65, 0x43, 0x68, 0x61, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x35, 0x2e, + 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6c, 0x74, 0x69, 0x6e, 0x67, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, + 0x69, 0x6e, 0x67, 0x74, 0x61, 0x6c, 0x6b, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x79, 0x6e, 0x63, 0x47, + 0x72, 0x61, 0x64, 0x65, 0x43, 0x68, 0x61, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x36, 0x2e, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6c, 0x74, 0x69, 0x6e, 0x67, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x69, 0x6e, 0x67, 0x74, 0x61, 0x6c, 0x6b, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x79, 0x6e, 0x63, 0x47, 0x72, 0x61, 0x64, 0x65, 0x43, 0x68, 0x61, 0x74, 0x47, - 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x36, 0x2e, 0x63, 0x6f, - 0x6e, 0x73, 0x75, 0x6c, 0x74, 0x69, 0x6e, 0x67, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x69, 0x6e, - 0x67, 0x74, 0x61, 0x6c, 0x6b, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x79, 0x6e, 0x63, 0x47, 0x72, 0x61, - 0x64, 0x65, 0x43, 0x68, 0x61, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x22, 0x23, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1d, 0x12, 0x1b, 0x2f, 0x64, 0x69, - 0x6e, 0x67, 0x74, 0x61, 0x6c, 0x6b, 0x2f, 0x63, 0x68, 0x61, 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x75, - 0x6e, 0x69, 0x74, 0x2f, 0x73, 0x79, 0x6e, 0x63, 0x42, 0x80, 0x02, 0x0a, 0x1e, 0x63, 0x6f, 0x6d, - 0x2e, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6c, 0x74, 0x69, 0x6e, 0x67, 0x61, 0x70, 0x69, 0x73, 0x2e, - 0x64, 0x69, 0x6e, 0x67, 0x74, 0x61, 0x6c, 0x6b, 0x2e, 0x76, 0x31, 0x42, 0x0d, 0x44, 0x69, 0x6e, - 0x67, 0x74, 0x61, 0x6c, 0x6b, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x45, 0x67, 0x69, - 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x68, 0x64, 0x75, 0x68, 0x65, 0x6c, 0x70, - 0x2f, 0x61, 0x70, 0x69, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x5f, 0x73, 0x64, 0x6b, 0x2f, 0x63, 0x6f, - 0x6e, 0x73, 0x75, 0x6c, 0x74, 0x69, 0x6e, 0x67, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x64, 0x69, 0x6e, - 0x67, 0x74, 0x61, 0x6c, 0x6b, 0x2f, 0x76, 0x31, 0x3b, 0x64, 0x69, 0x6e, 0x67, 0x74, 0x61, 0x6c, - 0x6b, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x43, 0x44, 0x58, 0xaa, 0x02, 0x1a, 0x43, 0x6f, 0x6e, 0x73, - 0x75, 0x6c, 0x74, 0x69, 0x6e, 0x67, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x44, 0x69, 0x6e, 0x67, 0x74, - 0x61, 0x6c, 0x6b, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x1a, 0x43, 0x6f, 0x6e, 0x73, 0x75, 0x6c, 0x74, - 0x69, 0x6e, 0x67, 0x61, 0x70, 0x69, 0x73, 0x5c, 0x44, 0x69, 0x6e, 0x67, 0x74, 0x61, 0x6c, 0x6b, - 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x26, 0x43, 0x6f, 0x6e, 0x73, 0x75, 0x6c, 0x74, 0x69, 0x6e, 0x67, - 0x61, 0x70, 0x69, 0x73, 0x5c, 0x44, 0x69, 0x6e, 0x67, 0x74, 0x61, 0x6c, 0x6b, 0x5c, 0x56, 0x31, - 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x1c, 0x43, - 0x6f, 0x6e, 0x73, 0x75, 0x6c, 0x74, 0x69, 0x6e, 0x67, 0x61, 0x70, 0x69, 0x73, 0x3a, 0x3a, 0x44, - 0x69, 0x6e, 0x67, 0x74, 0x61, 0x6c, 0x6b, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x33, + 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x23, 0x82, 0xd3, + 0xe4, 0x93, 0x02, 0x1d, 0x12, 0x1b, 0x2f, 0x64, 0x69, 0x6e, 0x67, 0x74, 0x61, 0x6c, 0x6b, 0x2f, + 0x63, 0x68, 0x61, 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x75, 0x6e, 0x69, 0x74, 0x2f, 0x73, 0x79, 0x6e, + 0x63, 0x12, 0xb8, 0x01, 0x0a, 0x16, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x63, 0x72, + 0x75, 0x69, 0x74, 0x43, 0x68, 0x61, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x39, 0x2e, 0x63, + 0x6f, 0x6e, 0x73, 0x75, 0x6c, 0x74, 0x69, 0x6e, 0x67, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x69, + 0x6e, 0x67, 0x74, 0x61, 0x6c, 0x6b, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, + 0x52, 0x65, 0x63, 0x72, 0x75, 0x69, 0x74, 0x43, 0x68, 0x61, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x39, 0x2e, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6c, + 0x74, 0x69, 0x6e, 0x67, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x64, 0x69, 0x6e, 0x67, 0x74, 0x61, 0x6c, + 0x6b, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x63, 0x72, 0x75, + 0x69, 0x74, 0x43, 0x68, 0x61, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x22, 0x28, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x22, 0x22, 0x20, 0x2f, 0x64, 0x69, 0x6e, + 0x67, 0x74, 0x61, 0x6c, 0x6b, 0x2f, 0x63, 0x68, 0x61, 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x52, 0x65, + 0x63, 0x72, 0x75, 0x69, 0x74, 0x2f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x42, 0x80, 0x02, 0x0a, + 0x1e, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6c, 0x74, 0x69, 0x6e, 0x67, 0x61, + 0x70, 0x69, 0x73, 0x2e, 0x64, 0x69, 0x6e, 0x67, 0x74, 0x61, 0x6c, 0x6b, 0x2e, 0x76, 0x31, 0x42, + 0x0d, 0x44, 0x69, 0x6e, 0x67, 0x74, 0x61, 0x6c, 0x6b, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, + 0x5a, 0x45, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x68, 0x64, 0x75, + 0x68, 0x65, 0x6c, 0x70, 0x2f, 0x61, 0x70, 0x69, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x5f, 0x73, 0x64, + 0x6b, 0x2f, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6c, 0x74, 0x69, 0x6e, 0x67, 0x61, 0x70, 0x69, 0x73, + 0x2f, 0x64, 0x69, 0x6e, 0x67, 0x74, 0x61, 0x6c, 0x6b, 0x2f, 0x76, 0x31, 0x3b, 0x64, 0x69, 0x6e, + 0x67, 0x74, 0x61, 0x6c, 0x6b, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x43, 0x44, 0x58, 0xaa, 0x02, 0x1a, + 0x43, 0x6f, 0x6e, 0x73, 0x75, 0x6c, 0x74, 0x69, 0x6e, 0x67, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x44, + 0x69, 0x6e, 0x67, 0x74, 0x61, 0x6c, 0x6b, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x1a, 0x43, 0x6f, 0x6e, + 0x73, 0x75, 0x6c, 0x74, 0x69, 0x6e, 0x67, 0x61, 0x70, 0x69, 0x73, 0x5c, 0x44, 0x69, 0x6e, 0x67, + 0x74, 0x61, 0x6c, 0x6b, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x26, 0x43, 0x6f, 0x6e, 0x73, 0x75, 0x6c, + 0x74, 0x69, 0x6e, 0x67, 0x61, 0x70, 0x69, 0x73, 0x5c, 0x44, 0x69, 0x6e, 0x67, 0x74, 0x61, 0x6c, + 0x6b, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, + 0xea, 0x02, 0x1c, 0x43, 0x6f, 0x6e, 0x73, 0x75, 0x6c, 0x74, 0x69, 0x6e, 0x67, 0x61, 0x70, 0x69, + 0x73, 0x3a, 0x3a, 0x44, 0x69, 0x6e, 0x67, 0x74, 0x61, 0x6c, 0x6b, 0x3a, 0x3a, 0x56, 0x31, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -1144,7 +1278,7 @@ func file_consultingapis_dingtalk_v1_dingtalk_proto_rawDescGZIP() []byte { return file_consultingapis_dingtalk_v1_dingtalk_proto_rawDescData } -var file_consultingapis_dingtalk_v1_dingtalk_proto_msgTypes = make([]protoimpl.MessageInfo, 17) +var file_consultingapis_dingtalk_v1_dingtalk_proto_msgTypes = make([]protoimpl.MessageInfo, 19) var file_consultingapis_dingtalk_v1_dingtalk_proto_goTypes = []interface{}{ (*CreateClassChatGroupRequest)(nil), // 0: consultingapis.dingtalk.v1.CreateClassChatGroupRequest (*CreateClassChatGroupResponse)(nil), // 1: consultingapis.dingtalk.v1.CreateClassChatGroupResponse @@ -1160,14 +1294,16 @@ var file_consultingapis_dingtalk_v1_dingtalk_proto_goTypes = []interface{}{ (*GetGradeChatGroupResponse)(nil), // 11: consultingapis.dingtalk.v1.GetGradeChatGroupResponse (*SyncGradeChatGroupRequest)(nil), // 12: consultingapis.dingtalk.v1.SyncGradeChatGroupRequest (*SyncGradeChatGroupResponse)(nil), // 13: consultingapis.dingtalk.v1.SyncGradeChatGroupResponse - (*CreateClassChatGroupRequest_Body)(nil), // 14: consultingapis.dingtalk.v1.CreateClassChatGroupRequest.Body - (*GetClassChatGroupResponse_Chat)(nil), // 15: consultingapis.dingtalk.v1.GetClassChatGroupResponse.Chat - (*GetGradeChatGroupResponse_Chat)(nil), // 16: consultingapis.dingtalk.v1.GetGradeChatGroupResponse.Chat + (*CreateRecruitChatGroupRequest)(nil), // 14: consultingapis.dingtalk.v1.CreateRecruitChatGroupRequest + (*CreateRecruitChatGroupResponse)(nil), // 15: consultingapis.dingtalk.v1.CreateRecruitChatGroupResponse + (*CreateClassChatGroupRequest_Body)(nil), // 16: consultingapis.dingtalk.v1.CreateClassChatGroupRequest.Body + (*GetClassChatGroupResponse_Chat)(nil), // 17: consultingapis.dingtalk.v1.GetClassChatGroupResponse.Chat + (*GetGradeChatGroupResponse_Chat)(nil), // 18: consultingapis.dingtalk.v1.GetGradeChatGroupResponse.Chat } var file_consultingapis_dingtalk_v1_dingtalk_proto_depIdxs = []int32{ - 14, // 0: consultingapis.dingtalk.v1.CreateClassChatGroupRequest.body:type_name -> consultingapis.dingtalk.v1.CreateClassChatGroupRequest.Body - 15, // 1: consultingapis.dingtalk.v1.GetClassChatGroupResponse.chats:type_name -> consultingapis.dingtalk.v1.GetClassChatGroupResponse.Chat - 16, // 2: consultingapis.dingtalk.v1.GetGradeChatGroupResponse.chats:type_name -> consultingapis.dingtalk.v1.GetGradeChatGroupResponse.Chat + 16, // 0: consultingapis.dingtalk.v1.CreateClassChatGroupRequest.body:type_name -> consultingapis.dingtalk.v1.CreateClassChatGroupRequest.Body + 17, // 1: consultingapis.dingtalk.v1.GetClassChatGroupResponse.chats:type_name -> consultingapis.dingtalk.v1.GetClassChatGroupResponse.Chat + 18, // 2: consultingapis.dingtalk.v1.GetGradeChatGroupResponse.chats:type_name -> consultingapis.dingtalk.v1.GetGradeChatGroupResponse.Chat 0, // 3: consultingapis.dingtalk.v1.DingTalkService.CreateClassChatGroup:input_type -> consultingapis.dingtalk.v1.CreateClassChatGroupRequest 4, // 4: consultingapis.dingtalk.v1.DingTalkService.GetClassChatGroup:input_type -> consultingapis.dingtalk.v1.GetClassChatGroupRequest 2, // 5: consultingapis.dingtalk.v1.DingTalkService.MergeClassChatGroup:input_type -> consultingapis.dingtalk.v1.MergeClassChatGroupRequest @@ -1175,15 +1311,17 @@ var file_consultingapis_dingtalk_v1_dingtalk_proto_depIdxs = []int32{ 8, // 7: consultingapis.dingtalk.v1.DingTalkService.CreateGradeChatGroup:input_type -> consultingapis.dingtalk.v1.CreateGradeChatGroupRequest 10, // 8: consultingapis.dingtalk.v1.DingTalkService.GetGradeChatGroup:input_type -> consultingapis.dingtalk.v1.GetGradeChatGroupRequest 12, // 9: consultingapis.dingtalk.v1.DingTalkService.SyncGradeChatGroup:input_type -> consultingapis.dingtalk.v1.SyncGradeChatGroupRequest - 1, // 10: consultingapis.dingtalk.v1.DingTalkService.CreateClassChatGroup:output_type -> consultingapis.dingtalk.v1.CreateClassChatGroupResponse - 5, // 11: consultingapis.dingtalk.v1.DingTalkService.GetClassChatGroup:output_type -> consultingapis.dingtalk.v1.GetClassChatGroupResponse - 3, // 12: consultingapis.dingtalk.v1.DingTalkService.MergeClassChatGroup:output_type -> consultingapis.dingtalk.v1.MergeClassChatGroupResponse - 7, // 13: consultingapis.dingtalk.v1.DingTalkService.SyncClassChatGroup:output_type -> consultingapis.dingtalk.v1.SyncClassChatGroupResponse - 9, // 14: consultingapis.dingtalk.v1.DingTalkService.CreateGradeChatGroup:output_type -> consultingapis.dingtalk.v1.CreateGradeChatGroupResponse - 11, // 15: consultingapis.dingtalk.v1.DingTalkService.GetGradeChatGroup:output_type -> consultingapis.dingtalk.v1.GetGradeChatGroupResponse - 13, // 16: consultingapis.dingtalk.v1.DingTalkService.SyncGradeChatGroup:output_type -> consultingapis.dingtalk.v1.SyncGradeChatGroupResponse - 10, // [10:17] is the sub-list for method output_type - 3, // [3:10] is the sub-list for method input_type + 14, // 10: consultingapis.dingtalk.v1.DingTalkService.CreateRecruitChatGroup:input_type -> consultingapis.dingtalk.v1.CreateRecruitChatGroupRequest + 1, // 11: consultingapis.dingtalk.v1.DingTalkService.CreateClassChatGroup:output_type -> consultingapis.dingtalk.v1.CreateClassChatGroupResponse + 5, // 12: consultingapis.dingtalk.v1.DingTalkService.GetClassChatGroup:output_type -> consultingapis.dingtalk.v1.GetClassChatGroupResponse + 3, // 13: consultingapis.dingtalk.v1.DingTalkService.MergeClassChatGroup:output_type -> consultingapis.dingtalk.v1.MergeClassChatGroupResponse + 7, // 14: consultingapis.dingtalk.v1.DingTalkService.SyncClassChatGroup:output_type -> consultingapis.dingtalk.v1.SyncClassChatGroupResponse + 9, // 15: consultingapis.dingtalk.v1.DingTalkService.CreateGradeChatGroup:output_type -> consultingapis.dingtalk.v1.CreateGradeChatGroupResponse + 11, // 16: consultingapis.dingtalk.v1.DingTalkService.GetGradeChatGroup:output_type -> consultingapis.dingtalk.v1.GetGradeChatGroupResponse + 13, // 17: consultingapis.dingtalk.v1.DingTalkService.SyncGradeChatGroup:output_type -> consultingapis.dingtalk.v1.SyncGradeChatGroupResponse + 14, // 18: consultingapis.dingtalk.v1.DingTalkService.CreateRecruitChatGroup:output_type -> consultingapis.dingtalk.v1.CreateRecruitChatGroupRequest + 11, // [11:19] is the sub-list for method output_type + 3, // [3:11] is the sub-list for method input_type 3, // [3:3] is the sub-list for extension type_name 3, // [3:3] is the sub-list for extension extendee 0, // [0:3] is the sub-list for field type_name @@ -1364,7 +1502,7 @@ func file_consultingapis_dingtalk_v1_dingtalk_proto_init() { } } file_consultingapis_dingtalk_v1_dingtalk_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateClassChatGroupRequest_Body); i { + switch v := v.(*CreateRecruitChatGroupRequest); i { case 0: return &v.state case 1: @@ -1376,7 +1514,7 @@ func file_consultingapis_dingtalk_v1_dingtalk_proto_init() { } } file_consultingapis_dingtalk_v1_dingtalk_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetClassChatGroupResponse_Chat); i { + switch v := v.(*CreateRecruitChatGroupResponse); i { case 0: return &v.state case 1: @@ -1388,6 +1526,30 @@ func file_consultingapis_dingtalk_v1_dingtalk_proto_init() { } } file_consultingapis_dingtalk_v1_dingtalk_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateClassChatGroupRequest_Body); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_consultingapis_dingtalk_v1_dingtalk_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetClassChatGroupResponse_Chat); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_consultingapis_dingtalk_v1_dingtalk_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetGradeChatGroupResponse_Chat); i { case 0: return &v.state @@ -1406,7 +1568,7 @@ func file_consultingapis_dingtalk_v1_dingtalk_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_consultingapis_dingtalk_v1_dingtalk_proto_rawDesc, NumEnums: 0, - NumMessages: 17, + NumMessages: 19, NumExtensions: 0, NumServices: 1, }, diff --git a/consultingapis/dingtalk/v1/dingtalk.pb.gw.go b/consultingapis/dingtalk/v1/dingtalk.pb.gw.go index 20f6947..132d816 100644 --- a/consultingapis/dingtalk/v1/dingtalk.pb.gw.go +++ b/consultingapis/dingtalk/v1/dingtalk.pb.gw.go @@ -299,6 +299,42 @@ func local_request_DingTalkService_SyncGradeChatGroup_0(ctx context.Context, mar } +var ( + filter_DingTalkService_CreateRecruitChatGroup_0 = &utilities.DoubleArray{Encoding: map[string]int{}, Base: []int(nil), Check: []int(nil)} +) + +func request_DingTalkService_CreateRecruitChatGroup_0(ctx context.Context, marshaler runtime.Marshaler, client DingTalkServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq CreateRecruitChatGroupRequest + var metadata runtime.ServerMetadata + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_DingTalkService_CreateRecruitChatGroup_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.CreateRecruitChatGroup(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_DingTalkService_CreateRecruitChatGroup_0(ctx context.Context, marshaler runtime.Marshaler, server DingTalkServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq CreateRecruitChatGroupRequest + var metadata runtime.ServerMetadata + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_DingTalkService_CreateRecruitChatGroup_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.CreateRecruitChatGroup(ctx, &protoReq) + return msg, metadata, err + +} + // RegisterDingTalkServiceHandlerServer registers the http handlers for service DingTalkService to "mux". // UnaryRPC :call DingTalkServiceServer directly. // StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. @@ -480,6 +516,31 @@ func RegisterDingTalkServiceHandlerServer(ctx context.Context, mux *runtime.Serv }) + mux.Handle("POST", pattern_DingTalkService_CreateRecruitChatGroup_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/consultingapis.dingtalk.v1.DingTalkService/CreateRecruitChatGroup", runtime.WithHTTPPathPattern("/dingtalk/chat/v1/Recruit/create")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_DingTalkService_CreateRecruitChatGroup_0(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_DingTalkService_CreateRecruitChatGroup_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + return nil } @@ -675,6 +736,28 @@ func RegisterDingTalkServiceHandlerClient(ctx context.Context, mux *runtime.Serv }) + mux.Handle("POST", pattern_DingTalkService_CreateRecruitChatGroup_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/consultingapis.dingtalk.v1.DingTalkService/CreateRecruitChatGroup", runtime.WithHTTPPathPattern("/dingtalk/chat/v1/Recruit/create")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_DingTalkService_CreateRecruitChatGroup_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_DingTalkService_CreateRecruitChatGroup_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + return nil } @@ -692,6 +775,8 @@ var ( pattern_DingTalkService_GetGradeChatGroup_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 2, 4}, []string{"dingtalk", "chat", "v1", "unit", "get"}, "")) pattern_DingTalkService_SyncGradeChatGroup_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 2, 4}, []string{"dingtalk", "chat", "v1", "unit", "sync"}, "")) + + pattern_DingTalkService_CreateRecruitChatGroup_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 2, 4}, []string{"dingtalk", "chat", "v1", "Recruit", "create"}, "")) ) var ( @@ -708,4 +793,6 @@ var ( forward_DingTalkService_GetGradeChatGroup_0 = runtime.ForwardResponseMessage forward_DingTalkService_SyncGradeChatGroup_0 = runtime.ForwardResponseMessage + + forward_DingTalkService_CreateRecruitChatGroup_0 = runtime.ForwardResponseMessage ) diff --git a/consultingapis/dingtalk/v1/dingtalk_grpc.pb.go b/consultingapis/dingtalk/v1/dingtalk_grpc.pb.go index 6ab3947..6bae962 100644 --- a/consultingapis/dingtalk/v1/dingtalk_grpc.pb.go +++ b/consultingapis/dingtalk/v1/dingtalk_grpc.pb.go @@ -19,13 +19,14 @@ import ( const _ = grpc.SupportPackageIsVersion7 const ( - DingTalkService_CreateClassChatGroup_FullMethodName = "/consultingapis.dingtalk.v1.DingTalkService/CreateClassChatGroup" - DingTalkService_GetClassChatGroup_FullMethodName = "/consultingapis.dingtalk.v1.DingTalkService/GetClassChatGroup" - DingTalkService_MergeClassChatGroup_FullMethodName = "/consultingapis.dingtalk.v1.DingTalkService/MergeClassChatGroup" - DingTalkService_SyncClassChatGroup_FullMethodName = "/consultingapis.dingtalk.v1.DingTalkService/SyncClassChatGroup" - DingTalkService_CreateGradeChatGroup_FullMethodName = "/consultingapis.dingtalk.v1.DingTalkService/CreateGradeChatGroup" - DingTalkService_GetGradeChatGroup_FullMethodName = "/consultingapis.dingtalk.v1.DingTalkService/GetGradeChatGroup" - DingTalkService_SyncGradeChatGroup_FullMethodName = "/consultingapis.dingtalk.v1.DingTalkService/SyncGradeChatGroup" + DingTalkService_CreateClassChatGroup_FullMethodName = "/consultingapis.dingtalk.v1.DingTalkService/CreateClassChatGroup" + DingTalkService_GetClassChatGroup_FullMethodName = "/consultingapis.dingtalk.v1.DingTalkService/GetClassChatGroup" + DingTalkService_MergeClassChatGroup_FullMethodName = "/consultingapis.dingtalk.v1.DingTalkService/MergeClassChatGroup" + DingTalkService_SyncClassChatGroup_FullMethodName = "/consultingapis.dingtalk.v1.DingTalkService/SyncClassChatGroup" + DingTalkService_CreateGradeChatGroup_FullMethodName = "/consultingapis.dingtalk.v1.DingTalkService/CreateGradeChatGroup" + DingTalkService_GetGradeChatGroup_FullMethodName = "/consultingapis.dingtalk.v1.DingTalkService/GetGradeChatGroup" + DingTalkService_SyncGradeChatGroup_FullMethodName = "/consultingapis.dingtalk.v1.DingTalkService/SyncGradeChatGroup" + DingTalkService_CreateRecruitChatGroup_FullMethodName = "/consultingapis.dingtalk.v1.DingTalkService/CreateRecruitChatGroup" ) // DingTalkServiceClient is the client API for DingTalkService service. @@ -39,6 +40,7 @@ type DingTalkServiceClient interface { CreateGradeChatGroup(ctx context.Context, in *CreateGradeChatGroupRequest, opts ...grpc.CallOption) (*CreateGradeChatGroupResponse, error) GetGradeChatGroup(ctx context.Context, in *GetGradeChatGroupRequest, opts ...grpc.CallOption) (*GetGradeChatGroupResponse, error) SyncGradeChatGroup(ctx context.Context, in *SyncGradeChatGroupRequest, opts ...grpc.CallOption) (*SyncGradeChatGroupResponse, error) + CreateRecruitChatGroup(ctx context.Context, in *CreateRecruitChatGroupRequest, opts ...grpc.CallOption) (*CreateRecruitChatGroupRequest, error) } type dingTalkServiceClient struct { @@ -112,6 +114,15 @@ func (c *dingTalkServiceClient) SyncGradeChatGroup(ctx context.Context, in *Sync return out, nil } +func (c *dingTalkServiceClient) CreateRecruitChatGroup(ctx context.Context, in *CreateRecruitChatGroupRequest, opts ...grpc.CallOption) (*CreateRecruitChatGroupRequest, error) { + out := new(CreateRecruitChatGroupRequest) + err := c.cc.Invoke(ctx, DingTalkService_CreateRecruitChatGroup_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + // DingTalkServiceServer is the server API for DingTalkService service. // All implementations must embed UnimplementedDingTalkServiceServer // for forward compatibility @@ -123,6 +134,7 @@ type DingTalkServiceServer interface { CreateGradeChatGroup(context.Context, *CreateGradeChatGroupRequest) (*CreateGradeChatGroupResponse, error) GetGradeChatGroup(context.Context, *GetGradeChatGroupRequest) (*GetGradeChatGroupResponse, error) SyncGradeChatGroup(context.Context, *SyncGradeChatGroupRequest) (*SyncGradeChatGroupResponse, error) + CreateRecruitChatGroup(context.Context, *CreateRecruitChatGroupRequest) (*CreateRecruitChatGroupRequest, error) mustEmbedUnimplementedDingTalkServiceServer() } @@ -151,6 +163,9 @@ func (UnimplementedDingTalkServiceServer) GetGradeChatGroup(context.Context, *Ge func (UnimplementedDingTalkServiceServer) SyncGradeChatGroup(context.Context, *SyncGradeChatGroupRequest) (*SyncGradeChatGroupResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method SyncGradeChatGroup not implemented") } +func (UnimplementedDingTalkServiceServer) CreateRecruitChatGroup(context.Context, *CreateRecruitChatGroupRequest) (*CreateRecruitChatGroupRequest, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateRecruitChatGroup not implemented") +} func (UnimplementedDingTalkServiceServer) mustEmbedUnimplementedDingTalkServiceServer() {} // UnsafeDingTalkServiceServer may be embedded to opt out of forward compatibility for this service. @@ -290,6 +305,24 @@ func _DingTalkService_SyncGradeChatGroup_Handler(srv interface{}, ctx context.Co return interceptor(ctx, in, info, handler) } +func _DingTalkService_CreateRecruitChatGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CreateRecruitChatGroupRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(DingTalkServiceServer).CreateRecruitChatGroup(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: DingTalkService_CreateRecruitChatGroup_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(DingTalkServiceServer).CreateRecruitChatGroup(ctx, req.(*CreateRecruitChatGroupRequest)) + } + return interceptor(ctx, in, info, handler) +} + // DingTalkService_ServiceDesc is the grpc.ServiceDesc for DingTalkService service. // It's only intended for direct use with grpc.RegisterService, // and not to be introspected or modified (even as a copy) @@ -325,6 +358,10 @@ var DingTalkService_ServiceDesc = grpc.ServiceDesc{ MethodName: "SyncGradeChatGroup", Handler: _DingTalkService_SyncGradeChatGroup_Handler, }, + { + MethodName: "CreateRecruitChatGroup", + Handler: _DingTalkService_CreateRecruitChatGroup_Handler, + }, }, Streams: []grpc.StreamDesc{}, Metadata: "consultingapis/dingtalk/v1/dingtalk.proto", diff --git a/docs/swagger/consultingapis/dingtalk/v1/dingtalk.swagger.json b/docs/swagger/consultingapis/dingtalk/v1/dingtalk.swagger.json index 43cc31e..0157f31 100644 --- a/docs/swagger/consultingapis/dingtalk/v1/dingtalk.swagger.json +++ b/docs/swagger/consultingapis/dingtalk/v1/dingtalk.swagger.json @@ -16,6 +16,40 @@ "application/json" ], "paths": { + "/dingtalk/chat/v1/Recruit/create": { + "post": { + "operationId": "DingTalkService_CreateRecruitChatGroup", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/v1CreateRecruitChatGroupRequest" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/rpcStatus" + } + } + }, + "parameters": [ + { + "name": "memberId", + "in": "query", + "required": false, + "type": "array", + "items": { + "type": "string" + }, + "collectionFormat": "multi" + } + ], + "tags": [ + "DingTalkService" + ] + } + }, "/dingtalk/chat/v1/create": { "post": { "operationId": "DingTalkService_CreateClassChatGroup", @@ -326,6 +360,17 @@ } } }, + "v1CreateRecruitChatGroupRequest": { + "type": "object", + "properties": { + "memberId": { + "type": "array", + "items": { + "type": "string" + } + } + } + }, "v1GetClassChatGroupResponse": { "type": "object", "properties": {