feat: add gmail review queue surface
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user