import * as z from "zod"; import { ClosedEnum } from "../../types/enums.js"; import { EscalationPathRoundRobinConfigV2, EscalationPathRoundRobinConfigV2$Outbound } from "./escalationpathroundrobinconfigv2.js"; import { EscalationPathTargetV2, EscalationPathTargetV2$Outbound } from "./escalationpathtargetv2.js"; /** * If the time to ack is relative to a time window, this defines whether we move when the window is active or inactive */ export declare const TimeToAckIntervalCondition: { readonly Active: "active"; readonly Inactive: "inactive"; }; /** * If the time to ack is relative to a time window, this defines whether we move when the window is active or inactive */ export type TimeToAckIntervalCondition = ClosedEnum; export type EscalationPathNodeLevelV2 = { roundRobinConfig?: EscalationPathRoundRobinConfigV2 | undefined; /** * The targets for this level */ targets: Array; /** * If the time to ack is relative to a time window, this defines whether we move when the window is active or inactive */ timeToAckIntervalCondition?: TimeToAckIntervalCondition | undefined; /** * How long should we wait for this level to acknowledge before escalating? */ timeToAckSeconds?: number | undefined; /** * If the time to ack is relative to a time window, this identifies which window it is relative to */ timeToAckWeekdayIntervalConfigId?: string | undefined; }; /** @internal */ export declare const TimeToAckIntervalCondition$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const TimeToAckIntervalCondition$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 TimeToAckIntervalCondition$ { /** @deprecated use `TimeToAckIntervalCondition$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly Active: "active"; readonly Inactive: "inactive"; }>; /** @deprecated use `TimeToAckIntervalCondition$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly Active: "active"; readonly Inactive: "inactive"; }>; } /** @internal */ export declare const EscalationPathNodeLevelV2$inboundSchema: z.ZodType; /** @internal */ export type EscalationPathNodeLevelV2$Outbound = { round_robin_config?: EscalationPathRoundRobinConfigV2$Outbound | undefined; targets: Array; time_to_ack_interval_condition?: string | undefined; time_to_ack_seconds?: number | undefined; time_to_ack_weekday_interval_config_id?: string | undefined; }; /** @internal */ export declare const EscalationPathNodeLevelV2$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 EscalationPathNodeLevelV2$ { /** @deprecated use `EscalationPathNodeLevelV2$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `EscalationPathNodeLevelV2$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `EscalationPathNodeLevelV2$Outbound` instead. */ type Outbound = EscalationPathNodeLevelV2$Outbound; } //# sourceMappingURL=escalationpathnodelevelv2.d.ts.map