/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import * as z from "zod/v3"; import { remap as remap$ } from "../../../lib/primitives.js"; export type Security = { authHeader: string; }; /** @internal */ export type Security$Outbound = { auth_header: string; }; /** @internal */ export const Security$outboundSchema: z.ZodType< Security$Outbound, z.ZodTypeDef, Security > = z.object({ authHeader: z.string(), }).transform((v) => { return remap$(v, { authHeader: "auth_header", }); }); export function securityToJSON(security: Security): string { return JSON.stringify(Security$outboundSchema.parse(security)); }