@cfxlabsinc/b2b-services
    Preparing search index...

    Variable BUSINESS_TYPE_ALIASESConst

    BUSINESS_TYPE_ALIASES: Readonly<Record<string, RouteFusionBusinessType>> = ...

    Free-form legal-entity-type strings → RouteFusion's BusinessType enum.

    Our legalEntityType comes from AiPrise KYB / manual entry as an uncontrolled string (e.g. "LLC", "C-Corp", "S-Corp"), so match on a punctuation- and case-insensitive key. A bare "corporation"/"inc" defaults to c_corporation (the US default absent an S-election); "LLP" folds into limited_partnership (RouteFusion has no distinct LLP member).

    Mirrors LEGAL_ENTITY_TYPE_ALIASES in @cfxlabsinc/entity-services/legal-entity-type (same keys, plus the RouteFusion-only nonus sentinel); exported read-only so the drift test in virtual-account-services (legalEntityTypeToRouteFusion.test.ts) can prove the two stay in sync.