LeadInfo
LeadInfo<T, P, K>: { 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; scoreUpdateTime: string; scores: number; 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
Type declaration
activity: string
convertTime: string
createTime: string
kvLead: { id: string; properties: Record<string, string> }
id: string
properties: Record<string, string>
leadSource: { sourceDescribe: string; sourceType: string }
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; scoreUpdateTime: string; scores: number; tagIds: string[] }] : undefined
source: { sourceDescribe: string; sourceType: string }
sourceDescribe: string
sourceType: string
tags: K extends true ? { id: string; name: string; path: string[] }[] : undefined
updateTime: string
推荐人类型