/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import * as z from "zod"; import { ExpressionBranchV2, ExpressionBranchV2$inboundSchema, ExpressionBranchV2$Outbound, ExpressionBranchV2$outboundSchema, } from "./expressionbranchv2.js"; import { ReturnsMetaV2, ReturnsMetaV2$inboundSchema, ReturnsMetaV2$Outbound, ReturnsMetaV2$outboundSchema, } from "./returnsmetav2.js"; export type ExpressionBranchesOptsV2 = { /** * The branches to apply for this operation */ branches: Array; returns: ReturnsMetaV2; }; /** @internal */ export const ExpressionBranchesOptsV2$inboundSchema: z.ZodType< ExpressionBranchesOptsV2, z.ZodTypeDef, unknown > = z.object({ branches: z.array(ExpressionBranchV2$inboundSchema), returns: ReturnsMetaV2$inboundSchema, }); /** @internal */ export type ExpressionBranchesOptsV2$Outbound = { branches: Array; returns: ReturnsMetaV2$Outbound; }; /** @internal */ export const ExpressionBranchesOptsV2$outboundSchema: z.ZodType< ExpressionBranchesOptsV2$Outbound, z.ZodTypeDef, ExpressionBranchesOptsV2 > = z.object({ branches: z.array(ExpressionBranchV2$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 ExpressionBranchesOptsV2$ { /** @deprecated use `ExpressionBranchesOptsV2$inboundSchema` instead. */ export const inboundSchema = ExpressionBranchesOptsV2$inboundSchema; /** @deprecated use `ExpressionBranchesOptsV2$outboundSchema` instead. */ export const outboundSchema = ExpressionBranchesOptsV2$outboundSchema; /** @deprecated use `ExpressionBranchesOptsV2$Outbound` instead. */ export type Outbound = ExpressionBranchesOptsV2$Outbound; }