fix: tasks endpoint→manual-tasks, add Leads page, add Leads to sidebar, fix field names

This commit is contained in:
Forge
2026-03-25 16:19:04 +08:00
parent 380a83283b
commit 05ed524e47
4 changed files with 139 additions and 3 deletions

View File

@@ -207,3 +207,17 @@ export interface LegacyPaginatedResponse<T> {
page: number;
limit: number;
}
export interface Lead {
id: string;
firstName: string;
lastName: string;
phone: string;
email?: string;
address?: string;
status: 'NEW' | 'CONTACTED' | 'INTERESTED' | 'CONVERTED' | 'LOST';
source?: string;
notes?: string;
assignedTo?: { firstName: string; lastName: string };
createdAt: string;
}