/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import * as z from "zod/v3"; import { lazySchema as lazySchema$ } from "../../lib/schemas.js"; export type Security = { apiKey?: string | undefined; }; /** @internal */ export type Security$Outbound = { apiKey?: string | undefined; }; /** @internal */ export const Security$outboundSchema: z.ZodType< Security$Outbound, z.ZodTypeDef, Security > = /* @__PURE__ */ lazySchema$(() => z.object({ apiKey: z.string().optional(), }) ); export function securityToJSON(security: Security): string { return JSON.stringify(Security$outboundSchema.parse(security)); }