@custouch/jssdk
    Preparing search index...

    Type Alias LeadInfo<T, P, K>

    type LeadInfo<T extends boolean, P = true, K = false> = {
        activity: string;
        convertTime: string;
        createTime: string;
        kvLead: { id: string; properties: Record<string, string> };
        leadSource: { sourceDescribe: string; sourceType: string };
        mql: T extends true
            ? {
                activeScores: string;
                becomingMQLTime: string;
                isMQL: boolean;
                leadId: string;
                teamId: string;
                tenantId: string;
                updateTime: string;
            }
            : undefined;
        scoreDimensions: P extends true
            ? [
                {
                    id: string;
                    name: string;
                    scores: number;
                    scoreUpdateTime: string;
                    tagIds: string[];
                },
            ]
            : undefined;
        source: { sourceDescribe: string; sourceType: string };
        tags: K extends true
            ? { id: string; name: string; path: string[] }[]
            : undefined;
        updateTime: string;
    }

    Type Parameters

    • T extends boolean
    • P = true
    • K = false
    Index

    Properties

    activity: string
    convertTime: string
    createTime: string
    kvLead: { id: string; properties: Record<string, string> }
    leadSource: { sourceDescribe: string; sourceType: string }
    mql: T extends true
        ? {
            activeScores: string;
            becomingMQLTime: string;
            isMQL: boolean;
            leadId: string;
            teamId: string;
            tenantId: string;
            updateTime: string;
        }
        : undefined
    scoreDimensions: P extends true
        ? [
            {
                id: string;
                name: string;
                scores: number;
                scoreUpdateTime: string;
                tagIds: string[];
            },
        ]
        : undefined
    source: { sourceDescribe: string; sourceType: string }
    tags: K extends true
        ? { id: string; name: string; path: string[] }[]
        : undefined
    updateTime: string