/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import * as z from "zod"; import { ExpressionBranchV3, ExpressionBranchV3$inboundSchema, ExpressionBranchV3$Outbound, ExpressionBranchV3$outboundSchema, } from "./expressionbranchv3.js"; import { ReturnsMetaV2, ReturnsMetaV2$inboundSchema, ReturnsMetaV2$Outbound, ReturnsMetaV2$outboundSchema, } from "./returnsmetav2.js"; export type ExpressionBranchesOptsV3 = { /** * The branches to apply for this operation */ branches: Array; returns: ReturnsMetaV2; }; /** @internal */ export const ExpressionBranchesOptsV3$inboundSchema: z.ZodType< ExpressionBranchesOptsV3, z.ZodTypeDef, unknown > = z.object({ branches: z.array(ExpressionBranchV3$inboundSchema), returns: ReturnsMetaV2$inboundSchema, }); /** @internal */ export type ExpressionBranchesOptsV3$Outbound = { branches: Array; returns: ReturnsMetaV2$Outbound; }; /** @internal */ export const ExpressionBranchesOptsV3$outboundSchema: z.ZodType< ExpressionBranchesOptsV3$Outbound, z.ZodTypeDef, ExpressionBranchesOptsV3 > = z.object({ branches: z.array(ExpressionBranchV3$outboundSchema), returns: ReturnsMetaV2$outboundSchema, }); /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export namespace ExpressionBranchesOptsV3$ { /** @deprecated use `ExpressionBranchesOptsV3$inboundSchema` instead. */ export const inboundSchema = ExpressionBranchesOptsV3$inboundSchema; /** @deprecated use `ExpressionBranchesOptsV3$outboundSchema` instead. */ export const outboundSchema = ExpressionBranchesOptsV3$outboundSchema; /** @deprecated use `ExpressionBranchesOptsV3$Outbound` instead. */ export type Outbound = ExpressionBranchesOptsV3$Outbound; }