/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. * @generated-id: 0b6482527b10 */ import * as z from "zod/v4"; export type IngestionPipelineTargetIndexRef = { type?: "vespa" | undefined; name: string; }; /** @internal */ export type IngestionPipelineTargetIndexRef$Outbound = { type: "vespa"; name: string; }; /** @internal */ export const IngestionPipelineTargetIndexRef$outboundSchema: z.ZodType< IngestionPipelineTargetIndexRef$Outbound, IngestionPipelineTargetIndexRef > = z.object({ type: z.literal("vespa").default("vespa" as const), name: z.string(), }); export function ingestionPipelineTargetIndexRefToJSON( ingestionPipelineTargetIndexRef: IngestionPipelineTargetIndexRef, ): string { return JSON.stringify( IngestionPipelineTargetIndexRef$outboundSchema.parse( ingestionPipelineTargetIndexRef, ), ); }