@cfxlabsinc/b2b-services
    Preparing search index...
    Entity: Simplify<
        { countryCode: string } & (
            | { type: "IDENTITY" } & Omit<Identity, "name" | "fullName"> & {
                name: string;
            }
            | { type: "ORGANIZATION" } & Organization
        ),
    >

    An identity or organization, discriminated on type. countryCode is the mandatory country-of-jurisdiction — derived from countryOfResidence (identity) / countryOfIncorporation (organization).