import * as z from "zod"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { WorkflowRunOutputModel, WorkflowRunOutputModel$Outbound } from "./workflowrunoutputmodel.js"; export type WorkflowRunModel = { id: string; workflowVersionId: string | null; workflowInputs?: any | null | undefined; workflowId: string; workflowApi?: any | null | undefined; machineId: string | null; origin: string; status: string; endedAt?: Date | null | undefined; createdAt: Date; updatedAt: Date; queuedAt?: Date | null | undefined; startedAt?: Date | null | undefined; gpuEventId: string | null; gpu: string | null; machineVersion: string | null; machineType: string | null; modalFunctionCallId: string | null; userId: string | null; orgId: string | null; liveStatus: string | null; progress?: number | undefined; isRealtime?: boolean | undefined; webhook: string | null; webhookStatus: string | null; webhookIntermediateStatus?: boolean | undefined; outputs?: Array | undefined; number: number; duration: number | null; coldStartDuration: number | null; coldStartDurationTotal: number | null; runDuration: number | null; }; /** @internal */ export declare const WorkflowRunModel$inboundSchema: z.ZodType; /** @internal */ export type WorkflowRunModel$Outbound = { id: string; workflow_version_id: string | null; workflow_inputs?: any | null | undefined; workflow_id: string; workflow_api?: any | null | undefined; machine_id: string | null; origin: string; status: string; ended_at?: string | null | undefined; created_at: string; updated_at: string; queued_at?: string | null | undefined; started_at?: string | null | undefined; gpu_event_id: string | null; gpu: string | null; machine_version: string | null; machine_type: string | null; modal_function_call_id: string | null; user_id: string | null; org_id: string | null; live_status: string | null; progress: number; is_realtime: boolean; webhook: string | null; webhook_status: string | null; webhook_intermediate_status: boolean; outputs?: Array | undefined; number: number; duration: number | null; cold_start_duration: number | null; cold_start_duration_total: number | null; run_duration: number | null; }; /** @internal */ export declare const WorkflowRunModel$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 WorkflowRunModel$ { /** @deprecated use `WorkflowRunModel$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `WorkflowRunModel$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `WorkflowRunModel$Outbound` instead. */ type Outbound = WorkflowRunModel$Outbound; } export declare function workflowRunModelToJSON(workflowRunModel: WorkflowRunModel): string; export declare function workflowRunModelFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=workflowrunmodel.d.ts.map