skailan-crm
Version:
Servicio de CRM y gestión de ventas para Skailan
26 lines • 1.09 kB
TypeScript
export declare class Lead {
readonly id: string;
organizationId: string;
name: string;
email: string | null;
phone: string | null;
status: string;
source: string | null;
notes: string | null;
score: number | null;
company: string | null;
title: string | null;
industry: string | null;
createdAt: Date;
updatedAt: Date;
constructor(id: string, organizationId: string, name: string, email: string | null, phone: string | null, status: string, source: string | null, notes: string | null, score: number | null, // New field for Lead Scoring
company: string | null, // New field for Data Enrichment
title: string | null, // New field for Data Enrichment
industry: string | null, // New field for Data Enrichment
createdAt: Date, updatedAt: Date);
updateStatus(newStatus: string): void;
updateContactInfo(email: string | null, phone: string | null): void;
calculateScore(): void;
enrichData(company: string | null, title: string | null, industry: string | null): void;
}
//# sourceMappingURL=Lead.d.ts.map