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