import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { EvalScheduleOverlapPolicy } from "./evalscheduleoverlappolicy.js"; import { EvalScheduleRunConfig, EvalScheduleRunConfig$Outbound } from "./evalschedulerunconfig.js"; export type CreateEvalScheduleRequest = { name: string; description?: string | undefined; suiteId: string; /** * Pin a suite version. Omit to resolve the active version on each fire. */ suiteVersion?: number | undefined; /** * 5-field cron expression. Provide exactly one of cron or interval_seconds. */ cron?: string | undefined; /** * Fixed interval between fires, in seconds. Provide exactly one of cron or interval_seconds. */ intervalSeconds?: number | undefined; /** * IANA timezone applied to cron expressions, for example US/Pacific. */ timezone?: string | undefined; overlapPolicy?: EvalScheduleOverlapPolicy | undefined; /** * When false, the schedule is created paused. */ enabled?: boolean | undefined; /** * HTTPS endpoint notified of run status transitions. */ webhookUrl?: string | undefined; /** * Secret used to HMAC-SHA256 sign webhook payloads. */ webhookSecret?: string | undefined; run: EvalScheduleRunConfig; metadata?: { [k: string]: string; } | undefined; }; /** @internal */ export declare const CreateEvalScheduleRequest$inboundSchema: z.ZodType; /** @internal */ export type CreateEvalScheduleRequest$Outbound = { name: string; description?: string | undefined; suite_id: string; suite_version?: number | undefined; cron?: string | undefined; interval_seconds?: number | undefined; timezone: string; overlap_policy?: string | undefined; enabled: boolean; webhook_url?: string | undefined; webhook_secret?: string | undefined; run: EvalScheduleRunConfig$Outbound; metadata?: { [k: string]: string; } | undefined; }; /** @internal */ export declare const CreateEvalScheduleRequest$outboundSchema: z.ZodType; export declare function createEvalScheduleRequestToJSON(createEvalScheduleRequest: CreateEvalScheduleRequest): string; export declare function createEvalScheduleRequestFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=createevalschedulerequest.d.ts.map