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