import * as z from "zod/v4"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { ScheduleCalendar } from "./schedulecalendar.js"; import { ScheduleInterval } from "./scheduleinterval.js"; import { SchedulePolicy } from "./schedulepolicy.js"; /** * Output representation of a schedule with required schedule_id. * * @remarks * * Used when returning schedules from the API where schedule_id is always present. */ export type ScheduleDefinitionOutput = { /** * Input to provide to the workflow when starting it. */ input: any; /** * Calendar-based specification of times. */ calendars?: Array | undefined; /** * Interval-based specification of times. */ intervals?: Array | undefined; /** * Cron-based specification of times. */ cronExpressions?: Array | undefined; /** * Set of calendar times to skip. */ skip?: Array | undefined; /** * Time after which the first action may be run. */ startAt?: Date | null | undefined; /** * Time after which no more actions will be run. */ endAt?: Date | null | undefined; /** * Jitter to apply each action. * * @remarks * * An action's scheduled time will be incremented by a random value between 0 * and this value if present (but not past the next schedule). */ jitter?: string | null | undefined; /** * IANA time zone name, for example ``US/Central``. */ timeZoneName?: string | null | undefined; policy?: SchedulePolicy | undefined; /** * Unique identifier for the schedule. */ scheduleId: string; }; /** @internal */ export declare const ScheduleDefinitionOutput$inboundSchema: z.ZodType; export declare function scheduleDefinitionOutputFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=scheduledefinitionoutput.d.ts.map