/* eslint-disable */ // @ts-nocheck /* * This file is a generated Typescript file for GRPC Gateway, DO NOT MODIFY */ import * as InsightIoApiAlertV1alpha1Alert from "./alert.pb" export enum matchType { MATCH_TYPE_UNSPECIFIED = "MATCH_TYPE_UNSPECIFIED", EQUAL = "EQUAL", NOT_EQUAL = "NOT_EQUAL", REGEXP = "REGEXP", } export type SilenceName = { name?: string } export type CreateSilenceRequest = { name?: string clusterName?: string namespace?: string description?: string matches?: match[] activeTimeInterval?: timeInterval } export type Silence = { id?: string name?: string clusterName?: string namespace?: string description?: string matches?: match[] activeTimeInterval?: timeInterval expired?: boolean createAt?: string updateAt?: string } export type UpdateSilenceRequest = { id?: string description?: string matches?: match[] activeTimeInterval?: timeInterval } export type match = { type?: matchType key?: string value?: string } export type ListSilencesRequest = { expired?: boolean name?: string clusterName?: string namespace?: string } export type ListSilencesResponse = { items?: Silence[] } export type PreviewSilenceRequest = { clusterName?: string namespace?: string matches?: match[] size?: string } export type PreviewSilenceResponse = { items?: InsightIoApiAlertV1alpha1Alert.AlertSummary[] } export type timeIntervaltimeRange = { start?: string end?: string } export type timeInterval = { timeRanges?: timeIntervaltimeRange[] weekdayRange?: number[] }