import { ApiClientFactory } from '../core/api.client.factory'; import { AiTaskReq, AiTaskListReq, AiTaskList, AiTaskHistoryReq } from '../model/AiAnalyze.model'; import { Day7Event, Project7DayScoreData } from '../model/HighSpot.model'; import { AiHistoryList } from '../model/surveillance.model'; export class AiEventNewService { constructor(private factory: ApiClientFactory) {} hasHighPointConfig(projectId: string) { return this.factory.surveillance.get('/ai/content/project/day7/highpointconfig', { projectId }); } day7score(projectId: string, fromDay?: number, toDay?: number) { return this.factory.surveillance.get('/ai/content/project/day7/score', { projectId, fromDay, toDay, }); } day7TrendData(projectId: string, fromDay?: number, toDay?: number) { return this.factory.surveillance.get('/ai/content/project/day7/list', { projectId, fromDay, toDay, }); } day7EventData(projectId: string, fromDay?: number, toDay?: number) { return this.factory.surveillance.get('/ai/content/project/day7/events', { projectId, fromDay, toDay, }); } }