import * as z from "zod"; import { ClosedEnum } from "../../types/enums.js"; import { EscalationPathNodeIfElseV2, EscalationPathNodeIfElseV2$Outbound } from "./escalationpathnodeifelsev2.js"; import { EscalationPathNodeLevelV2, EscalationPathNodeLevelV2$Outbound } from "./escalationpathnodelevelv2.js"; import { EscalationPathNodeRepeatV2, EscalationPathNodeRepeatV2$Outbound } from "./escalationpathnoderepeatv2.js"; /** * The type of this node: level or branch */ export declare const EscalationPathNodeV2Type: { readonly IfElse: "if_else"; readonly Repeat: "repeat"; readonly Level: "level"; readonly NotifyChannel: "notify_channel"; }; /** * The type of this node: level or branch */ export type EscalationPathNodeV2Type = ClosedEnum; export type EscalationPathNodeV2 = { /** * Unique internal ID of the escalation path node */ id: string; ifElse?: EscalationPathNodeIfElseV2 | undefined; level?: EscalationPathNodeLevelV2 | undefined; repeat?: EscalationPathNodeRepeatV2 | undefined; /** * The type of this node: level or branch */ type: EscalationPathNodeV2Type; }; /** @internal */ export declare const EscalationPathNodeV2Type$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const EscalationPathNodeV2Type$outboundSchema: z.ZodNativeEnum; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace EscalationPathNodeV2Type$ { /** @deprecated use `EscalationPathNodeV2Type$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly IfElse: "if_else"; readonly Repeat: "repeat"; readonly Level: "level"; readonly NotifyChannel: "notify_channel"; }>; /** @deprecated use `EscalationPathNodeV2Type$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly IfElse: "if_else"; readonly Repeat: "repeat"; readonly Level: "level"; readonly NotifyChannel: "notify_channel"; }>; } /** @internal */ export declare const EscalationPathNodeV2$inboundSchema: z.ZodType; /** @internal */ export type EscalationPathNodeV2$Outbound = { id: string; if_else?: EscalationPathNodeIfElseV2$Outbound | undefined; level?: EscalationPathNodeLevelV2$Outbound | undefined; repeat?: EscalationPathNodeRepeatV2$Outbound | undefined; type: string; }; /** @internal */ export declare const EscalationPathNodeV2$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 EscalationPathNodeV2$ { /** @deprecated use `EscalationPathNodeV2$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `EscalationPathNodeV2$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `EscalationPathNodeV2$Outbound` instead. */ type Outbound = EscalationPathNodeV2$Outbound; } //# sourceMappingURL=escalationpathnodev2.d.ts.map