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

    Type Alias AiPriseBusinessProfileShadow

    AiPriseBusinessProfileShadow: Omit<
        SelectAiPriseBusinessProfile,
        | "id"
        | "externalId"
        | "data"
        | "deletedAt"
        | "emailAddresses"
        | "phoneNumbers",
    > & {
        data: AiPriseBusinessProfile;
        id: string;
        lifecycleStatusDescription: string
        | null;
        resultDescription: string | null;
    }

    Local shadow of an AiPrise business profile: the integer PK and externalId collapse to a single string id (abp_…); data is the full raw GET /verify/get_business_profile payload.

    Type Declaration

    • data: AiPriseBusinessProfile
    • id: string
    • lifecycleStatusDescription: string | null

      Null exactly when lifecycleStatus is.

    • resultDescription: string | null

      Null exactly when result is.