/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import * as z from "zod/v3"; export type CompanyUpdateRequest = { /** * Name of company being connected. */ name?: string | undefined; /** * Additional information about the company. This can be used to store foreign IDs, references, etc. */ description?: string | undefined; /** * A collection of user-defined key-value pairs that store custom metadata against the company. */ tags?: { [k: string]: string } | undefined; }; /** @internal */ export type CompanyUpdateRequest$Outbound = { name?: string | undefined; description?: string | undefined; tags?: { [k: string]: string } | undefined; }; /** @internal */ export const CompanyUpdateRequest$outboundSchema: z.ZodType< CompanyUpdateRequest$Outbound, z.ZodTypeDef, CompanyUpdateRequest > = z.object({ name: z.string().optional(), description: z.string().optional(), tags: z.record(z.string()).optional(), }); export function companyUpdateRequestToJSON( companyUpdateRequest: CompanyUpdateRequest, ): string { return JSON.stringify( CompanyUpdateRequest$outboundSchema.parse(companyUpdateRequest), ); }