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