/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import * as z from "zod"; export type AIActionDynamic = { /** * global index within a test (in-order traversal) */ index?: number | undefined; id: string; skipped?: boolean | undefined; /** * key in the environment to save the result of this step to */ envKey?: string | undefined; type?: "AI_ACTION_DYNAMIC" | undefined; text: string; }; /** @internal */ export const AIActionDynamic$inboundSchema: z.ZodType< AIActionDynamic, z.ZodTypeDef, unknown > = z.object({ index: z.number().optional(), id: z.string(), skipped: z.boolean().optional(), envKey: z.string().optional(), type: z.literal("AI_ACTION_DYNAMIC").optional(), text: z.string(), }); /** @internal */ export type AIActionDynamic$Outbound = { index?: number | undefined; id: string; skipped?: boolean | undefined; envKey?: string | undefined; type: "AI_ACTION_DYNAMIC"; text: string; }; /** @internal */ export const AIActionDynamic$outboundSchema: z.ZodType< AIActionDynamic$Outbound, z.ZodTypeDef, AIActionDynamic > = z.object({ index: z.number().optional(), id: z.string(), skipped: z.boolean().optional(), envKey: z.string().optional(), type: z.literal("AI_ACTION_DYNAMIC").default("AI_ACTION_DYNAMIC" as const), text: 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 AIActionDynamic$ { /** @deprecated use `AIActionDynamic$inboundSchema` instead. */ export const inboundSchema = AIActionDynamic$inboundSchema; /** @deprecated use `AIActionDynamic$outboundSchema` instead. */ export const outboundSchema = AIActionDynamic$outboundSchema; /** @deprecated use `AIActionDynamic$Outbound` instead. */ export type Outbound = AIActionDynamic$Outbound; }