import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; /** * A collection of links for the company. */ export type CompanyReferenceLinks = { /** * Link to the company page in the portal. */ portal?: string | undefined; }; export type CompanyReference = { /** * Unique identifier for your SMB in Codat. */ id?: string | undefined; /** * The name of the company */ name?: string | undefined; /** * Additional information about the company. This can be used to store foreign IDs, references, etc. */ description?: string | undefined; /** * A collection of links for the company. */ links?: CompanyReferenceLinks | undefined; /** * A collection of user-defined key-value pairs that store custom metadata against the company. */ tags?: { [k: string]: string; } | undefined; }; /** @internal */ export declare const CompanyReferenceLinks$inboundSchema: z.ZodType; /** @internal */ export type CompanyReferenceLinks$Outbound = { portal?: string | undefined; }; /** @internal */ export declare const CompanyReferenceLinks$outboundSchema: z.ZodType; export declare function companyReferenceLinksToJSON(companyReferenceLinks: CompanyReferenceLinks): string; export declare function companyReferenceLinksFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const CompanyReference$inboundSchema: z.ZodType; /** @internal */ export type CompanyReference$Outbound = { id?: string | undefined; name?: string | undefined; description?: string | undefined; links?: CompanyReferenceLinks$Outbound | undefined; tags?: { [k: string]: string; } | undefined; }; /** @internal */ export declare const CompanyReference$outboundSchema: z.ZodType; export declare function companyReferenceToJSON(companyReference: CompanyReference): string; export declare function companyReferenceFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=companyreference.d.ts.map