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

    What an AiPrise user-profile event writes onto an identity: its status and the verification sessions AiPrise owns, nothing else.

    type AiPriseIdentityUpdate = {
        amlVerification?: Omit<
            NonNullable<Identity["amlVerification"]>,
            "statusDescription",
        >;
        identityDocumentVerification?: Omit<
            NonNullable<Identity["identityDocumentVerification"]>,
            "statusDescription",
        >;
        status?: Exclude<Identity["status"], "DELETED">;
        verificationReasons?: VerificationReasons | null;
    }
    Index
    amlVerification?: Omit<
        NonNullable<Identity["amlVerification"]>,
        "statusDescription",
    >
    identityDocumentVerification?: Omit<
        NonNullable<Identity["identityDocumentVerification"]>,
        "statusDescription",
    >
    status?: Exclude<Identity["status"], "DELETED">

    Undefined keeps the stored status; a deleted identity's is never written.

    verificationReasons?: VerificationReasons | null

    Why the verification landed where it did; null clears it.