Files
maps-saas/apps/api/dist/telemetry/map-refinement.controller.d.ts

41 lines
1.3 KiB
TypeScript

import { TelemetryAnalyzerService } from './telemetry-analyzer.service';
export declare class MapRefinementController {
private readonly analyzerService;
constructor(analyzerService: TelemetryAnalyzerService);
getSummary(): Promise<{
telemetry: {
total: any;
};
roads: {
analyzed: any;
closed: any;
};
candidates: {
total: any;
pending: any;
};
}>;
syncExternal(): Promise<void>;
refreshCache(): Promise<{
cachedCount: any;
}>;
analyzeRoadSpeeds(hours?: number): Promise<any>;
discoverNewRoads(hours?: number): Promise<any>;
getCandidates(status?: string): Promise<import("../maps/candidate-road.entity").CandidateRoad[]>;
discoverClosures(hours?: number): Promise<{
roadsClosed: any;
}>;
getClosures(): Promise<import("../maps/road-stat.entity").RoadSegmentStat[]>;
getCongestionData(north: number, south: number, east: number, west: number): Promise<any>;
approveCandidate(id: string): Promise<{
success: boolean;
id: string;
status: string;
}>;
rejectCandidate(id: string): Promise<{
success: boolean;
id: string;
status: string;
}>;
}