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