2026-04-14-8 auth and commercial

This commit is contained in:
Hamza-Ayed
2026-04-14 20:14:48 +03:00
parent be7dcc2652
commit f5b3f9f790
430 changed files with 6074 additions and 751 deletions
+20 -25
View File
@@ -4,42 +4,37 @@ export declare class MapRefinementController {
constructor(analyzerService: TelemetryAnalyzerService);
getSummary(): Promise<{
telemetry: {
totalPoints: number;
last24h: number;
activeDrivers24h: number;
total: any;
};
roadSegments: {
analyzed: number;
roads: {
analyzed: any;
closed: any;
};
candidateRoads: {
total: number;
pending: number;
approved: number;
rejected: number;
candidates: {
total: any;
pending: any;
};
}>;
syncExternal(): Promise<{
imported: number;
}>;
syncExternal(): Promise<void>;
refreshCache(): Promise<{
cachedCount: number;
cachedCount: any;
}>;
analyzeRoadSpeeds(hours?: number): Promise<{
segmentsUpdated: number;
totalPointsProcessed: number;
topAdjustments: 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;
}>;
discoverNewRoads(hours?: number): Promise<{
candidatesFound: number;
candidates: any[];
}>;
getCongestionData(north: number, south: number, east: number, west: number): Promise<any[]>;
getClosures(): Promise<import("../maps/road-stat.entity").RoadSegmentStat[]>;
getCongestionData(north: number, south: number, east: number, west: number): Promise<any>;
approveCandidate(id: string): Promise<{
message: string;
success: boolean;
id: string;
status: string;
}>;
rejectCandidate(id: string): Promise<{
message: string;
success: boolean;
id: string;
status: string;
}>;
}