import * as z from "zod"; import { ClosedEnum } from "../../types/enums.js"; /** * Only set for schedule targets, and either currently_on_call, all_users or all_users_for_rota and specifies which users to fetch from the schedule */ export declare const ScheduleMode: { readonly CurrentlyOnCall: "currently_on_call"; readonly AllUsersForRota: "all_users_for_rota"; readonly AllUsers: "all_users"; readonly Unknown: ""; }; /** * Only set for schedule targets, and either currently_on_call, all_users or all_users_for_rota and specifies which users to fetch from the schedule */ export type ScheduleMode = ClosedEnum; /** * Controls what type of entity this target identifies, such as EscalationPolicy or User */ export declare const Type: { readonly Schedule: "schedule"; readonly User: "user"; readonly SlackChannel: "slack_channel"; }; /** * Controls what type of entity this target identifies, such as EscalationPolicy or User */ export type Type = ClosedEnum; /** * The urgency of this escalation path target */ export declare const Urgency: { readonly High: "high"; readonly Low: "low"; }; /** * The urgency of this escalation path target */ export type Urgency = ClosedEnum; export type EscalationPathTargetV2 = { /** * Uniquely identifies an entity of this type */ id: string; /** * Only set for schedule targets, and either currently_on_call, all_users or all_users_for_rota and specifies which users to fetch from the schedule */ scheduleMode?: ScheduleMode | undefined; /** * Controls what type of entity this target identifies, such as EscalationPolicy or User */ type: Type; /** * The urgency of this escalation path target */ urgency: Urgency; }; /** @internal */ export declare const ScheduleMode$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const ScheduleMode$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 ScheduleMode$ { /** @deprecated use `ScheduleMode$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly CurrentlyOnCall: "currently_on_call"; readonly AllUsersForRota: "all_users_for_rota"; readonly AllUsers: "all_users"; readonly Unknown: ""; }>; /** @deprecated use `ScheduleMode$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly CurrentlyOnCall: "currently_on_call"; readonly AllUsersForRota: "all_users_for_rota"; readonly AllUsers: "all_users"; readonly Unknown: ""; }>; } /** @internal */ export declare const Type$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const Type$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 Type$ { /** @deprecated use `Type$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly Schedule: "schedule"; readonly User: "user"; readonly SlackChannel: "slack_channel"; }>; /** @deprecated use `Type$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly Schedule: "schedule"; readonly User: "user"; readonly SlackChannel: "slack_channel"; }>; } /** @internal */ export declare const Urgency$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const Urgency$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 Urgency$ { /** @deprecated use `Urgency$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly High: "high"; readonly Low: "low"; }>; /** @deprecated use `Urgency$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly High: "high"; readonly Low: "low"; }>; } /** @internal */ export declare const EscalationPathTargetV2$inboundSchema: z.ZodType; /** @internal */ export type EscalationPathTargetV2$Outbound = { id: string; schedule_mode?: string | undefined; type: string; urgency: string; }; /** @internal */ export declare const EscalationPathTargetV2$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 EscalationPathTargetV2$ { /** @deprecated use `EscalationPathTargetV2$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `EscalationPathTargetV2$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `EscalationPathTargetV2$Outbound` instead. */ type Outbound = EscalationPathTargetV2$Outbound; } //# sourceMappingURL=escalationpathtargetv2.d.ts.map