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