/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import * as z from "zod"; export type ReturnsMetaV2 = { /** * Whether the return value should be single or multi-value */ array: boolean; /** * Expected return type of this expression (what to try casting the result to) */ type: string; }; /** @internal */ export const ReturnsMetaV2$inboundSchema: z.ZodType< ReturnsMetaV2, z.ZodTypeDef, unknown > = z.object({ array: z.boolean(), type: z.string(), }); /** @internal */ export type ReturnsMetaV2$Outbound = { array: boolean; type: string; }; /** @internal */ export const ReturnsMetaV2$outboundSchema: z.ZodType< ReturnsMetaV2$Outbound, z.ZodTypeDef, ReturnsMetaV2 > = z.object({ array: z.boolean(), type: 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 ReturnsMetaV2$ { /** @deprecated use `ReturnsMetaV2$inboundSchema` instead. */ export const inboundSchema = ReturnsMetaV2$inboundSchema; /** @deprecated use `ReturnsMetaV2$outboundSchema` instead. */ export const outboundSchema = ReturnsMetaV2$outboundSchema; /** @deprecated use `ReturnsMetaV2$Outbound` instead. */ export type Outbound = ReturnsMetaV2$Outbound; }