/* * 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 SubsidiaryReferenceInput = { /** * The name of the company. */ name?: string | null | undefined; }; /** @internal */ export type SubsidiaryReferenceInput$Outbound = { name?: string | null | undefined; }; /** @internal */ export const SubsidiaryReferenceInput$outboundSchema: z.ZodType< SubsidiaryReferenceInput$Outbound, z.ZodTypeDef, SubsidiaryReferenceInput > = /* @__PURE__ */ lazySchema$(() => z.object({ name: z.nullable(z.string()).optional(), }) ); export function subsidiaryReferenceInputToJSON( subsidiaryReferenceInput: SubsidiaryReferenceInput, ): string { return JSON.stringify( SubsidiaryReferenceInput$outboundSchema.parse(subsidiaryReferenceInput), ); }