/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import * as z from "zod"; export type EngineReferenceV2 = { /** * If true, the reference can refer to 0 to many items */ array: boolean; /** * The key of the field this is a reference to */ key: string; /** * Human readable label for the field (with context) */ label: string; /** * The type of this resource in the engine */ type: string; }; /** @internal */ export const EngineReferenceV2$inboundSchema: z.ZodType< EngineReferenceV2, z.ZodTypeDef, unknown > = z.object({ array: z.boolean(), key: z.string(), label: z.string(), type: z.string(), }); /** @internal */ export type EngineReferenceV2$Outbound = { array: boolean; key: string; label: string; type: string; }; /** @internal */ export const EngineReferenceV2$outboundSchema: z.ZodType< EngineReferenceV2$Outbound, z.ZodTypeDef, EngineReferenceV2 > = z.object({ array: z.boolean(), key: z.string(), label: z.string(), 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 EngineReferenceV2$ { /** @deprecated use `EngineReferenceV2$inboundSchema` instead. */ export const inboundSchema = EngineReferenceV2$inboundSchema; /** @deprecated use `EngineReferenceV2$outboundSchema` instead. */ export const outboundSchema = EngineReferenceV2$outboundSchema; /** @deprecated use `EngineReferenceV2$Outbound` instead. */ export type Outbound = EngineReferenceV2$Outbound; }