import * as z from "zod/v3"; import { ClosedEnum } from "../../types/enums.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import * as components from "../components/index.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type UpdateEvalScheduleRequest = { scheduleId: string; /** * Optional external end-user identifier forwarded by the API gateway. */ xOnBehalfOf?: string | undefined; updateEvalScheduleRequest: components.UpdateEvalScheduleRequest; }; export type UpdateEvalScheduleStop = string | Array; export declare const UpdateEvalScheduleTruncation: { readonly Auto: "auto"; readonly Disabled: "disabled"; }; export type UpdateEvalScheduleTruncation = ClosedEnum; export declare const UpdateEvalScheduleServiceTier: { readonly Auto: "auto"; readonly Default: "default"; readonly Flex: "flex"; readonly Priority: "priority"; }; export type UpdateEvalScheduleServiceTier = ClosedEnum; export type UpdateEvalSchedulePrefillThink = boolean | string; export type UpdateEvalScheduleGeneration = { instructions?: string | undefined; temperature?: number | undefined; topP?: number | undefined; maxOutputTokens?: number | undefined; /** * lm-eval alias for max_output_tokens. */ maxGenToks?: number | undefined; stop?: string | Array | undefined; /** * lm-eval generate_until stop sequences. */ until?: Array | undefined; maxToolCalls?: number | undefined; reasoning?: any | undefined; text?: any | undefined; tools?: Array | undefined; toolChoice?: any | undefined; parallelToolCalls?: boolean | undefined; truncation?: UpdateEvalScheduleTruncation | undefined; serviceTier?: UpdateEvalScheduleServiceTier | undefined; presencePenalty?: number | undefined; frequencyPenalty?: number | undefined; topK?: number | undefined; minP?: number | undefined; repetitionPenalty?: number | undefined; doSample?: boolean | undefined; extraBody?: { [k: string]: any; } | undefined; chatTemplateKwargs?: { [k: string]: any; } | undefined; prefillThink?: boolean | string | undefined; useCache?: boolean | undefined; timeoutSeconds?: number | undefined; maxRetries?: number | undefined; maxEmptyRetries?: number | undefined; additionalProperties?: { [k: string]: any; } | undefined; }; export type UpdateEvalScheduleRun = { models: Array; taskIds?: Array | undefined; judgeModel?: string | undefined; embeddingModel?: string | undefined; generation?: UpdateEvalScheduleGeneration | undefined; generationConcurrency?: number | undefined; concurrency?: number | undefined; graderConcurrency?: number | undefined; maxSamplesPerTask?: number | undefined; maxWorkflowSampleActivities?: number | undefined; }; /** * OK */ export type UpdateEvalScheduleResponseBody = { id: string; object: "eval.schedule"; name: string; description: string | null; suiteId: string; suiteVersion: number | null; cron: string | null; intervalSeconds: number | null; timezone: string; overlapPolicy: components.EvalScheduleOverlapPolicy; enabled: boolean; webhookUrl: string | null; /** * True when a signing secret is stored. The secret itself is never returned. */ webhookConfigured: boolean; run: UpdateEvalScheduleRun; metadata: { [k: string]: string; }; lastRunId: string | null; lastRunAt: number | null; lastRunStatus: string | null; /** * Next scheduled fire time from Temporal, when resolvable. */ nextRunAt: number | null; createdAt: number; updatedAt: number; }; /** @internal */ export declare const UpdateEvalScheduleRequest$inboundSchema: z.ZodType; /** @internal */ export type UpdateEvalScheduleRequest$Outbound = { schedule_id: string; "X-On-Behalf-Of"?: string | undefined; UpdateEvalScheduleRequest: components.UpdateEvalScheduleRequest$Outbound; }; /** @internal */ export declare const UpdateEvalScheduleRequest$outboundSchema: z.ZodType; export declare function updateEvalScheduleRequestToJSON(updateEvalScheduleRequest: UpdateEvalScheduleRequest): string; export declare function updateEvalScheduleRequestFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const UpdateEvalScheduleStop$inboundSchema: z.ZodType; /** @internal */ export type UpdateEvalScheduleStop$Outbound = string | Array; /** @internal */ export declare const UpdateEvalScheduleStop$outboundSchema: z.ZodType; export declare function updateEvalScheduleStopToJSON(updateEvalScheduleStop: UpdateEvalScheduleStop): string; export declare function updateEvalScheduleStopFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const UpdateEvalScheduleTruncation$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const UpdateEvalScheduleTruncation$outboundSchema: z.ZodNativeEnum; /** @internal */ export declare const UpdateEvalScheduleServiceTier$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const UpdateEvalScheduleServiceTier$outboundSchema: z.ZodNativeEnum; /** @internal */ export declare const UpdateEvalSchedulePrefillThink$inboundSchema: z.ZodType; /** @internal */ export type UpdateEvalSchedulePrefillThink$Outbound = boolean | string; /** @internal */ export declare const UpdateEvalSchedulePrefillThink$outboundSchema: z.ZodType; export declare function updateEvalSchedulePrefillThinkToJSON(updateEvalSchedulePrefillThink: UpdateEvalSchedulePrefillThink): string; export declare function updateEvalSchedulePrefillThinkFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const UpdateEvalScheduleGeneration$inboundSchema: z.ZodType; /** @internal */ export type UpdateEvalScheduleGeneration$Outbound = { instructions?: string | undefined; temperature?: number | undefined; top_p?: number | undefined; max_output_tokens?: number | undefined; max_gen_toks?: number | undefined; stop?: string | Array | undefined; until?: Array | undefined; max_tool_calls?: number | undefined; reasoning?: any | undefined; text?: any | undefined; tools?: Array | undefined; tool_choice?: any | undefined; parallel_tool_calls?: boolean | undefined; truncation?: string | undefined; service_tier?: string | undefined; presence_penalty?: number | undefined; frequency_penalty?: number | undefined; top_k?: number | undefined; min_p?: number | undefined; repetition_penalty?: number | undefined; do_sample?: boolean | undefined; extra_body?: { [k: string]: any; } | undefined; chat_template_kwargs?: { [k: string]: any; } | undefined; prefill_think?: boolean | string | undefined; use_cache?: boolean | undefined; timeout_seconds?: number | undefined; max_retries?: number | undefined; max_empty_retries?: number | undefined; [additionalProperties: string]: unknown; }; /** @internal */ export declare const UpdateEvalScheduleGeneration$outboundSchema: z.ZodType; export declare function updateEvalScheduleGenerationToJSON(updateEvalScheduleGeneration: UpdateEvalScheduleGeneration): string; export declare function updateEvalScheduleGenerationFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const UpdateEvalScheduleRun$inboundSchema: z.ZodType; /** @internal */ export type UpdateEvalScheduleRun$Outbound = { models: Array; task_ids?: Array | undefined; judge_model?: string | undefined; embedding_model?: string | undefined; generation?: UpdateEvalScheduleGeneration$Outbound | undefined; generation_concurrency?: number | undefined; concurrency?: number | undefined; grader_concurrency?: number | undefined; max_samples_per_task?: number | undefined; max_workflow_sample_activities?: number | undefined; }; /** @internal */ export declare const UpdateEvalScheduleRun$outboundSchema: z.ZodType; export declare function updateEvalScheduleRunToJSON(updateEvalScheduleRun: UpdateEvalScheduleRun): string; export declare function updateEvalScheduleRunFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const UpdateEvalScheduleResponseBody$inboundSchema: z.ZodType; /** @internal */ export type UpdateEvalScheduleResponseBody$Outbound = { id: string; object: "eval.schedule"; name: string; description: string | null; suite_id: string; suite_version: number | null; cron: string | null; interval_seconds: number | null; timezone: string; overlap_policy: string; enabled: boolean; webhook_url: string | null; webhook_configured: boolean; run: UpdateEvalScheduleRun$Outbound; metadata: { [k: string]: string; }; last_run_id: string | null; last_run_at: number | null; last_run_status: string | null; next_run_at: number | null; created_at: number; updated_at: number; }; /** @internal */ export declare const UpdateEvalScheduleResponseBody$outboundSchema: z.ZodType; export declare function updateEvalScheduleResponseBodyToJSON(updateEvalScheduleResponseBody: UpdateEvalScheduleResponseBody): string; export declare function updateEvalScheduleResponseBodyFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=updateevalschedule.d.ts.map