chore: auto-generate protobuf files [skip ci]
This commit is contained in:
@@ -215,6 +215,8 @@ export interface ModifyPermissionAdminResponse {
|
||||
|
||||
export interface GrafanaAlertRequest {
|
||||
payload: string;
|
||||
userId: string;
|
||||
sessionId: string;
|
||||
}
|
||||
|
||||
/** Успешно ли обработан алерт */
|
||||
|
||||
@@ -2040,6 +2040,8 @@ func (x *ModifyPermissionAdminResponse) GetMessage() string {
|
||||
type GrafanaAlertRequest struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Payload string `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"`
|
||||
UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
|
||||
SessionId string `protobuf:"bytes,3,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
@@ -2081,6 +2083,20 @@ func (x *GrafanaAlertRequest) GetPayload() string {
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *GrafanaAlertRequest) GetUserId() string {
|
||||
if x != nil {
|
||||
return x.UserId
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *GrafanaAlertRequest) GetSessionId() string {
|
||||
if x != nil {
|
||||
return x.SessionId
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
// Успешно ли обработан алерт
|
||||
type GrafanaAlertResponse struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
@@ -2280,9 +2296,12 @@ const file_admin_admin_account_proto_rawDesc = "" +
|
||||
"\brole_ids\x18\x02 \x03(\tR\aroleIds\"S\n" +
|
||||
"\x1dModifyPermissionAdminResponse\x12\x18\n" +
|
||||
"\asuccess\x18\x01 \x01(\bR\asuccess\x12\x18\n" +
|
||||
"\amessage\x18\x02 \x01(\tR\amessage\"/\n" +
|
||||
"\amessage\x18\x02 \x01(\tR\amessage\"g\n" +
|
||||
"\x13GrafanaAlertRequest\x12\x18\n" +
|
||||
"\apayload\x18\x01 \x01(\tR\apayload\"0\n" +
|
||||
"\apayload\x18\x01 \x01(\tR\apayload\x12\x17\n" +
|
||||
"\auser_id\x18\x02 \x01(\tR\x06userId\x12\x1d\n" +
|
||||
"\n" +
|
||||
"session_id\x18\x03 \x01(\tR\tsessionId\"0\n" +
|
||||
"\x14GrafanaAlertResponse\x12\x18\n" +
|
||||
"\asuccess\x18\x01 \x01(\bR\asuccess2\xa8\f\n" +
|
||||
"\fAdminService\x12G\n" +
|
||||
|
||||
Reference in New Issue
Block a user