import * as z from "zod"; import { AlertRouteEscalationBindingV2, AlertRouteEscalationBindingV2$Outbound } from "./alertrouteescalationbindingv2.js"; import { AlertRouteIncidentTemplateV2, AlertRouteIncidentTemplateV2$Outbound } from "./alertrouteincidenttemplatev2.js"; import { ConditionGroupV2, ConditionGroupV2$Outbound } from "./conditiongroupv2.js"; import { ExpressionV2, ExpressionV2$Outbound } from "./expressionv2.js"; import { GroupingKeyV2, GroupingKeyV2$Outbound } from "./groupingkeyv2.js"; export type AlertRouteV2 = { /** * What condition groups must be true for this alert route to fire? */ conditionGroups: Array; /** * How long should the escalation defer time be? */ deferTimeSeconds: number; /** * Which escalation paths should this alert route escalate to? */ escalationBindings: Array; /** * The expressions used in this template */ expressions?: Array | undefined; /** * Which attributes should this alert route use to group alerts? */ groupingKeys: Array; /** * How large should the grouping window be? */ groupingWindowSeconds: number; /** * Unique identifier for this alert route config */ id: string; /** * The name of this alert route config, for the user's reference */ name: string; template?: AlertRouteIncidentTemplateV2 | undefined; }; /** @internal */ export declare const AlertRouteV2$inboundSchema: z.ZodType; /** @internal */ export type AlertRouteV2$Outbound = { condition_groups: Array; defer_time_seconds: number; escalation_bindings: Array; expressions?: Array | undefined; grouping_keys: Array; grouping_window_seconds: number; id: string; name: string; template?: AlertRouteIncidentTemplateV2$Outbound | undefined; }; /** @internal */ export declare const AlertRouteV2$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace AlertRouteV2$ { /** @deprecated use `AlertRouteV2$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AlertRouteV2$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AlertRouteV2$Outbound` instead. */ type Outbound = AlertRouteV2$Outbound; } //# sourceMappingURL=alertroutev2.d.ts.map