/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import * as z from "zod"; export type DialogCommand = { thoughts?: string | undefined; /** * unique identifier to this step, used for step cache */ id: string; type?: "DIALOG" | undefined; action?: "ACCEPT" | undefined; }; /** @internal */ export const DialogCommand$inboundSchema: z.ZodType< DialogCommand, z.ZodTypeDef, unknown > = z.object({ thoughts: z.string().optional(), id: z.string(), type: z.literal("DIALOG").optional(), action: z.literal("ACCEPT").optional(), }); /** @internal */ export type DialogCommand$Outbound = { thoughts?: string | undefined; id: string; type: "DIALOG"; action: "ACCEPT"; }; /** @internal */ export const DialogCommand$outboundSchema: z.ZodType< DialogCommand$Outbound, z.ZodTypeDef, DialogCommand > = z.object({ thoughts: z.string().optional(), id: z.string(), type: z.literal("DIALOG").default("DIALOG" as const), action: z.literal("ACCEPT").default("ACCEPT" 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 DialogCommand$ { /** @deprecated use `DialogCommand$inboundSchema` instead. */ export const inboundSchema = DialogCommand$inboundSchema; /** @deprecated use `DialogCommand$outboundSchema` instead. */ export const outboundSchema = DialogCommand$outboundSchema; /** @deprecated use `DialogCommand$Outbound` instead. */ export type Outbound = DialogCommand$Outbound; }