feat(api.ts): add BriefingData type with full briefing response fields
This commit is contained in:
parent
0eaccfcf4e
commit
973c758474
1 changed files with 18 additions and 0 deletions
|
|
@ -298,3 +298,21 @@ export interface FinancialSignal {
|
||||||
expiresAt: string | null;
|
expiresAt: string | null;
|
||||||
createdAt: string;
|
createdAt: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export interface BriefingData {
|
||||||
|
generatedAt: string;
|
||||||
|
score: number;
|
||||||
|
overdueTasks: Task[];
|
||||||
|
upcomingTasks: Task[];
|
||||||
|
todayTasks: Task[];
|
||||||
|
atRiskGoals: Goal[];
|
||||||
|
pendingDecisions: Decision[];
|
||||||
|
criticalSignals: FinancialSignal[];
|
||||||
|
expiringOpportunities: Array<{ id: string; source: string; nextAction?: string | null }>;
|
||||||
|
weekInReview: {
|
||||||
|
newOrganizations: number;
|
||||||
|
newSegments: number;
|
||||||
|
newResearchBriefs: number;
|
||||||
|
};
|
||||||
|
aiExplanation: string | null;
|
||||||
|
}
|
||||||
Loading…
Reference in a new issue