import * as z from "zod"; import { ClosedEnum } from "../../types/enums.js"; import { EscalationPathNodeIfElsePayloadV2, EscalationPathNodeIfElsePayloadV2$Outbound } from "./escalationpathnodeifelsepayloadv2.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 EscalationPathNodePayloadV2Type: { readonly IfElse: "if_else"; readonly Repeat: "repeat"; readonly Level: "level"; readonly NotifyChannel: "notify_channel"; }; /** * The type of this node: level or branch */ export type EscalationPathNodePayloadV2Type = ClosedEnum; export type EscalationPathNodePayloadV2 = { /** * Unique internal ID of the escalation path node */ id: string; ifElse?: EscalationPathNodeIfElsePayloadV2 | undefined; level?: EscalationPathNodeLevelV2 | undefined; repeat?: EscalationPathNodeRepeatV2 | undefined; /** * The type of this node: level or branch */ type: EscalationPathNodePayloadV2Type; }; /** @internal */ export declare const EscalationPathNodePayloadV2Type$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const EscalationPathNodePayloadV2Type$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 EscalationPathNodePayloadV2Type$ { /** @deprecated use `EscalationPathNodePayloadV2Type$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly IfElse: "if_else"; readonly Repeat: "repeat"; readonly Level: "level"; readonly NotifyChannel: "notify_channel"; }>; /** @deprecated use `EscalationPathNodePayloadV2Type$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly IfElse: "if_else"; readonly Repeat: "repeat"; readonly Level: "level"; readonly NotifyChannel: "notify_channel"; }>; } /** @internal */ export declare const EscalationPathNodePayloadV2$inboundSchema: z.ZodType; /** @internal */ export type EscalationPathNodePayloadV2$Outbound = { id: string; if_else?: EscalationPathNodeIfElsePayloadV2$Outbound | undefined; level?: EscalationPathNodeLevelV2$Outbound | undefined; repeat?: EscalationPathNodeRepeatV2$Outbound | undefined; type: string; }; /** @internal */ export declare const EscalationPathNodePayloadV2$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 EscalationPathNodePayloadV2$ { /** @deprecated use `EscalationPathNodePayloadV2$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `EscalationPathNodePayloadV2$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `EscalationPathNodePayloadV2$Outbound` instead. */ type Outbound = EscalationPathNodePayloadV2$Outbound; } //# sourceMappingURL=escalationpathnodepayloadv2.d.ts.map