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