/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import * as z from "zod"; export type AIExtractCommand = { thoughts?: string | undefined; /** * unique identifier to this step, used for step cache */ id: string; type?: "AI_EXTRACT" | undefined; goal: string; schema?: string | undefined; envKey?: string | undefined; disableCache?: boolean | undefined; iframeUrl?: string | undefined; }; /** @internal */ export const AIExtractCommand$inboundSchema: z.ZodType< AIExtractCommand, z.ZodTypeDef, unknown > = z.object({ thoughts: z.string().optional(), id: z.string(), type: z.literal("AI_EXTRACT").optional(), goal: z.string(), schema: z.string().optional(), envKey: z.string().optional(), disableCache: z.boolean().optional(), iframeUrl: z.string().optional(), }); /** @internal */ export type AIExtractCommand$Outbound = { thoughts?: string | undefined; id: string; type: "AI_EXTRACT"; goal: string; schema?: string | undefined; envKey?: string | undefined; disableCache?: boolean | undefined; iframeUrl?: string | undefined; }; /** @internal */ export const AIExtractCommand$outboundSchema: z.ZodType< AIExtractCommand$Outbound, z.ZodTypeDef, AIExtractCommand > = z.object({ thoughts: z.string().optional(), id: z.string(), type: z.literal("AI_EXTRACT").default("AI_EXTRACT" as const), goal: z.string(), schema: z.string().optional(), envKey: z.string().optional(), disableCache: z.boolean().optional(), iframeUrl: z.string().optional(), }); /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export namespace AIExtractCommand$ { /** @deprecated use `AIExtractCommand$inboundSchema` instead. */ export const inboundSchema = AIExtractCommand$inboundSchema; /** @deprecated use `AIExtractCommand$outboundSchema` instead. */ export const outboundSchema = AIExtractCommand$outboundSchema; /** @deprecated use `AIExtractCommand$Outbound` instead. */ export type Outbound = AIExtractCommand$Outbound; }