import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { AddressUpdate, AddressUpdate$Outbound } from "./addressupdate.js"; import { BusinessType } from "./businesstype.js"; import { IndustryCodes, IndustryCodes$Outbound } from "./industrycodes.js"; import { PhoneNumber, PhoneNumber$Outbound } from "./phonenumber.js"; import { PrimaryRegulator } from "./primaryregulator.js"; import { TaxIDUpdate, TaxIDUpdate$Outbound } from "./taxidupdate.js"; export type PatchBusiness = { legalBusinessName?: string | undefined; doingBusinessAs?: string | undefined; /** * The type of entity represented by this business. */ businessType?: BusinessType | undefined; address?: AddressUpdate | undefined; phone?: PhoneNumber | undefined; email?: string | undefined; website?: string | undefined; description?: string | undefined; /** * An EIN (employer identification number) for the business. For sole proprietors, an SSN can be used as the EIN. */ taxID?: TaxIDUpdate | undefined; ownersProvided?: boolean | undefined; industryCodes?: IndustryCodes | undefined; /** * Classification identifier for the industry. Use the [GET industries](https://docs.moov.io/api/enrichment/form-shortening/industries/get/) endpoint to retrieve an array of valid industry details for a merchant, inducing all industry field values. */ industry?: string | undefined; /** * If the business is a financial institution, this field describes its primary regulator. */ primaryRegulator?: PrimaryRegulator | undefined; }; /** @internal */ export declare const PatchBusiness$inboundSchema: z.ZodType; /** @internal */ export type PatchBusiness$Outbound = { legalBusinessName?: string | undefined; doingBusinessAs?: string | undefined; businessType?: string | undefined; address?: AddressUpdate$Outbound | undefined; phone?: PhoneNumber$Outbound | undefined; email?: string | undefined; website?: string | undefined; description?: string | undefined; taxID?: TaxIDUpdate$Outbound | undefined; ownersProvided?: boolean | undefined; industryCodes?: IndustryCodes$Outbound | undefined; industry?: string | undefined; primaryRegulator?: string | undefined; }; /** @internal */ export declare const PatchBusiness$outboundSchema: z.ZodType; export declare function patchBusinessToJSON(patchBusiness: PatchBusiness): string; export declare function patchBusinessFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=patchbusiness.d.ts.map