import * as z from "zod"; import { AlertRouteEscalationBindingPayloadV2, AlertRouteEscalationBindingPayloadV2$Outbound } from "./alertrouteescalationbindingpayloadv2.js"; import { AlertRouteIncidentTemplatePayloadV2, AlertRouteIncidentTemplatePayloadV2$Outbound } from "./alertrouteincidenttemplatepayloadv2.js"; import { ConditionGroupPayloadV2, ConditionGroupPayloadV2$Outbound } from "./conditiongrouppayloadv2.js"; import { ExpressionPayloadV2, ExpressionPayloadV2$Outbound } from "./expressionpayloadv2.js"; import { GroupingKeyV2, GroupingKeyV2$Outbound } from "./groupingkeyv2.js"; export type UpdateRequestBody = { /** * Legacy field - the alert sources that will match this alert route */ alertSourceIds: Array; /** * Should triage incidents be declined when alerts are resolved? */ autoDeclineEnabled: boolean; /** * What condition groups must be true for this alert route to fire? */ conditionGroups: Array; /** * How long should the escalation defer time be? */ deferTimeSeconds: number; /** * Whether this alert route is enabled or not */ enabled: boolean; /** * 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; /** * What condition groups must be true for this alert route to create an incident? */ incidentConditionGroups: Array; /** * Whether this alert route will create incidents or not */ incidentEnabled: boolean; /** * The name of this alert route config, for the user's reference */ name: string; template?: AlertRouteIncidentTemplatePayloadV2 | undefined; }; /** @internal */ export declare const UpdateRequestBody$inboundSchema: z.ZodType; /** @internal */ export type UpdateRequestBody$Outbound = { alert_source_ids: Array; auto_decline_enabled: boolean; condition_groups: Array; defer_time_seconds: number; enabled: boolean; escalation_bindings: Array; expressions?: Array | undefined; grouping_keys: Array; grouping_window_seconds: number; incident_condition_groups: Array; incident_enabled: boolean; name: string; template?: AlertRouteIncidentTemplatePayloadV2$Outbound | undefined; }; /** @internal */ export declare const UpdateRequestBody$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 UpdateRequestBody$ { /** @deprecated use `UpdateRequestBody$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `UpdateRequestBody$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `UpdateRequestBody$Outbound` instead. */ type Outbound = UpdateRequestBody$Outbound; } //# sourceMappingURL=updaterequestbody.d.ts.map