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