import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { Address, Address$Outbound } from "./address.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 { Representative, Representative$Outbound } from "./representative.js"; /** * Describes a business. */ export type BusinessProfile = { /** * The legal name under which the entity is registered. */ legalBusinessName: string; /** * A registered trade name under which the business operates, if different from its legal name. */ doingBusinessAs?: string | undefined; /** * The type of entity represented by this business. */ businessType?: BusinessType | undefined; address?: Address | undefined; phone?: PhoneNumber | undefined; email?: string | undefined; website?: string | undefined; description?: string | undefined; /** * Indicates whether a tax ID has been provided for this business. */ taxIDProvided?: boolean | undefined; representatives?: Array | undefined; ownersProvided: boolean; 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 BusinessProfile$inboundSchema: z.ZodType; /** @internal */ export type BusinessProfile$Outbound = { legalBusinessName: string; doingBusinessAs?: string | undefined; businessType?: string | undefined; address?: Address$Outbound | undefined; phone?: PhoneNumber$Outbound | undefined; email?: string | undefined; website?: string | undefined; description?: string | undefined; taxIDProvided?: boolean | undefined; representatives?: Array | undefined; ownersProvided: boolean; industryCodes?: IndustryCodes$Outbound | undefined; industry?: string | undefined; primaryRegulator?: string | undefined; }; /** @internal */ export declare const BusinessProfile$outboundSchema: z.ZodType; export declare function businessProfileToJSON(businessProfile: BusinessProfile): string; export declare function businessProfileFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=businessprofile.d.ts.map