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