/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import * as z from "zod"; export type NavigateCommand = { 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?: "NAVIGATE" | undefined; url: string; }; /** @internal */ export const NavigateCommand$inboundSchema: z.ZodType< NavigateCommand, z.ZodTypeDef, unknown > = z.object({ thoughts: z.string().optional(), id: z.string(), loadTimeout: z.number().int().optional(), type: z.literal("NAVIGATE").optional(), url: z.string(), }); /** @internal */ export type NavigateCommand$Outbound = { thoughts?: string | undefined; id: string; loadTimeout?: number | undefined; type: "NAVIGATE"; url: string; }; /** @internal */ export const NavigateCommand$outboundSchema: z.ZodType< NavigateCommand$Outbound, z.ZodTypeDef, NavigateCommand > = z.object({ thoughts: z.string().optional(), id: z.string(), loadTimeout: z.number().int().optional(), type: z.literal("NAVIGATE").default("NAVIGATE" as const), url: 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 NavigateCommand$ { /** @deprecated use `NavigateCommand$inboundSchema` instead. */ export const inboundSchema = NavigateCommand$inboundSchema; /** @deprecated use `NavigateCommand$outboundSchema` instead. */ export const outboundSchema = NavigateCommand$outboundSchema; /** @deprecated use `NavigateCommand$Outbound` instead. */ export type Outbound = NavigateCommand$Outbound; }