feat: add gmail review queue surface

This commit is contained in:
2026-04-01 17:16:00 +02:00
parent 69e78d8951
commit 5af2c66616
6 changed files with 308 additions and 2 deletions
+30
View File
@@ -299,6 +299,36 @@ export interface GmailThreadRefreshResult {
threads: GmailThreadRefreshThreadResult[];
}
export interface GmailReviewJobCandidate {
jobApplicationId: number;
jobTitle: string;
companyName: string;
score: number;
confidence: string;
reasons: GmailJobMatchReason[];
}
export interface GmailReviewThread {
threadId: string;
subject: string;
latestDate?: string;
messageCount: number;
routing: string;
hasImportedMessages: boolean;
matchedQueries: string[];
jobCandidates: GmailReviewJobCandidate[];
messages: GmailJobMatchedMessage[];
}
export interface GmailReviewQueueResponse {
queries: string[];
candidateThreadCount: number;
autoLinkThreadCount: number;
reviewThreadCount: number;
unmatchedThreadCount: number;
threads: GmailReviewThread[];
}
export interface GmailStatus {
connected: boolean;
gmailAddress?: string;