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

    Type Alias AiPriseUserProfileData

    Structural subset of the AiPrise GET /verify/get_user_profile response (ExternalUserProfile). The data column stores the ENTIRE raw payload; this type names only the fields we extract or sync-guard on.

    The full OpenAPI-generated type lives in @cfxlabsinc/clients (packages/clients/src/aiprise/aiprise.d.ts) and is refined in aiprise-services — db cannot depend on clients (clients depends on db). All fields are optional so the generated ExternalUserProfile type is assignable to this one.

    type AiPriseUserProfileData = {
        client_reference_id?: string | null;
        created_at?: number;
        date_of_birth?: string;
        first_name?: string | null;
        full_name?: string | null;
        last_name?: string | null;
        updated_at?: number;
        user_profile_id?: string;
        user_profile_result?:
            | "APPROVED"
            | "DECLINED"
            | "REVIEW"
            | "UNKNOWN"
            | "DEACTIVATED";
    }
    Index
    client_reference_id?: string | null
    created_at?: number
    date_of_birth?: string
    first_name?: string | null
    full_name?: string | null
    last_name?: string | null
    updated_at?: number
    user_profile_id?: string
    user_profile_result?:
        | "APPROVED"
        | "DECLINED"
        | "REVIEW"
        | "UNKNOWN"
        | "DEACTIVATED"