package message

import "github.com/tidbcloud/observability/pkg/common/structs"

type RegionalHandleAlertReq struct {
	structs.CommonReqInfo
	Alert structs.Alert
}

type RegionalHandleAlertResp struct {
}

type GlobalHandleAlertReq struct {
	Version           string            `json:"version"`
	GroupKey          string            `json:"groupKey"`
	Status            string            `json:"status"`
	Receiver          string            `json:"receiver"`
	GroupLabels       map[string]string `json:"groupLabels"`
	CommonLabels      map[string]string `json:"commonLabels"`
	CommonAnnotations map[string]string `json:"commonAnnotations"`
	ExternalURL       string            `json:"externalURL"`
	Alerts            []structs.Alert   `json:"alerts"`
}

type GlobalHandleAlertResp struct {
}
