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