import { IContactInfo } from '../Contacts/contacts'; export interface ISalesMoney { amount: string; currency: string; } export interface ISalesAuditedEntity { id: string; spaceId: string; createdAt: Date; createdBy: string; updatedAt?: Date; updatedBy?: string; deletedAt?: Date; deletedBy?: string; } export declare enum LeadStage { NEW = "NEW", QUALIFIED = "QUALIFIED", PROPOSAL = "PROPOSAL", NEGOTIATION = "NEGOTIATION", WON = "WON", LOST = "LOST", CANCELLED = "CANCELLED" } export declare enum LeadPriority { LOW = "LOW", MEDIUM = "MEDIUM", HIGH = "HIGH" } export declare enum LeadOrigin { MANUAL = "MANUAL", API = "API", IMPORT = "IMPORT", AUTOMATION = "AUTOMATION", WEB_FORM = "WEB_FORM", REFERRAL = "REFERRAL", CAMPAIGN = "CAMPAIGN", SOCIAL_MEDIA = "SOCIAL_MEDIA", OTHER = "OTHER" } export interface ILeadStatus extends ISalesAuditedEntity { name: string; description?: string; color?: string; order: number; stage: LeadStage; defaultProbability?: number; isInitial: boolean; isFinal: boolean; enabled: boolean; } export type LeadPropertyValue = string | number | boolean | Date | null | LeadPropertyValue[] | { [key: string]: LeadPropertyValue; }; export interface ILeadProperty { nameKey: string; value: LeadPropertyValue; } export interface ISalesDateRange { from: Date; to: Date; } export interface ISalesMetricPoint { date: Date; value: number; } export interface ISalesMetricGroup { key: string; label: string; value: number; } export type ILeadContactProjection = IContactInfo;