/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import * as z from "zod"; export type CaptchaCommand = { thoughts?: string | undefined; /** * unique identifier to this step, used for step cache */ id: string; useSelector?: boolean | undefined; force?: boolean | undefined; /** * disable element caching for this step */ disableCache?: boolean | undefined; /** * url or url regex for the iframe */ iframeUrl?: string | undefined; type?: "CAPTCHA" | undefined; }; /** @internal */ export const CaptchaCommand$inboundSchema: z.ZodType< CaptchaCommand, z.ZodTypeDef, unknown > = z.object({ thoughts: z.string().optional(), id: z.string(), useSelector: z.boolean().optional(), force: z.boolean().optional(), disableCache: z.boolean().optional(), iframeUrl: z.string().optional(), type: z.literal("CAPTCHA").optional(), }); /** @internal */ export type CaptchaCommand$Outbound = { thoughts?: string | undefined; id: string; useSelector?: boolean | undefined; force?: boolean | undefined; disableCache?: boolean | undefined; iframeUrl?: string | undefined; type: "CAPTCHA"; }; /** @internal */ export const CaptchaCommand$outboundSchema: z.ZodType< CaptchaCommand$Outbound, z.ZodTypeDef, CaptchaCommand > = z.object({ thoughts: z.string().optional(), id: z.string(), useSelector: z.boolean().optional(), force: z.boolean().optional(), disableCache: z.boolean().optional(), iframeUrl: z.string().optional(), type: z.literal("CAPTCHA").default("CAPTCHA" 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 CaptchaCommand$ { /** @deprecated use `CaptchaCommand$inboundSchema` instead. */ export const inboundSchema = CaptchaCommand$inboundSchema; /** @deprecated use `CaptchaCommand$outboundSchema` instead. */ export const outboundSchema = CaptchaCommand$outboundSchema; /** @deprecated use `CaptchaCommand$Outbound` instead. */ export type Outbound = CaptchaCommand$Outbound; }