feat(platform): add vehicle service overview
This commit is contained in:
@@ -81,6 +81,7 @@ export interface VehicleDetail {
|
||||
identity?: VehicleRow;
|
||||
realtimeSummary?: VehicleRealtimeRow;
|
||||
serviceStatus?: VehicleServiceStatus;
|
||||
serviceOverview?: VehicleServiceOverview;
|
||||
sources: string[];
|
||||
sourceStatus: VehicleSourceStatus[];
|
||||
realtime: RealtimeLocationRow[];
|
||||
@@ -90,6 +91,24 @@ export interface VehicleDetail {
|
||||
quality: Page<QualityIssueRow>;
|
||||
}
|
||||
|
||||
export interface VehicleServiceOverview {
|
||||
vin: string;
|
||||
plate: string;
|
||||
phone: string;
|
||||
oem: string;
|
||||
protocols: string[];
|
||||
primaryProtocol: string;
|
||||
coverageStatus: string;
|
||||
sourceCount: number;
|
||||
onlineSourceCount: number;
|
||||
lastSeen: string;
|
||||
realtimeCount: number;
|
||||
historyCount: number;
|
||||
rawCount: number;
|
||||
mileageCount: number;
|
||||
qualityIssueCount: number;
|
||||
}
|
||||
|
||||
export interface VehicleServiceStatus {
|
||||
status: string;
|
||||
severity: string;
|
||||
|
||||
Reference in New Issue
Block a user