import type * as Samsara from "../index.js"; /** * Health information for the device. */ export interface HealthResponseResponseBody { healthDetails?: Samsara.HealthDetailsResponseResponseBody | undefined; /** The list of active health reasons affecting this device. */ healthReasons?: Samsara.HealthReasonResponseResponseBody[] | undefined; /** Current overall health status of the device. Valid values: `dataPending`, `healthy`, `needsAttention`, `needsReplacement` */ healthStatus?: HealthResponseResponseBody.HealthStatus | undefined; /** Primary health reason affecting the device's current health status. Valid values: `assetUnplugged`, `cameraMisaligned`, `dataPending`, `healthy`, `inwardCameraObstruction`, `irregularRecording`, `lowDeviceBattery`, `missingEldDiagnostics`, `missingVin`, `needsReplacement`, `newlyInstalledDevice`, `noGpsSignal`, `notDetected`, `outwardCameraObstruction`, `recordingTimeRequired`, `unknown`, `vgUnplugged` */ primaryHealthReason?: HealthResponseResponseBody.PrimaryHealthReason | undefined; /** The timestamp when the primary health reason began, in RFC3339 format. */ primaryHealthReasonStartTime?: string | undefined; /** * Recommended steps to resolve the current health reason. * * * `recommendedActionAgHealthy`: Gateway is healthy. No action required. * * `recommendedActionAgLowDeviceBatteryAG45`: The gateway battery is low. Please contact support * * `recommendedActionAgLowDeviceBatteryAG46`: The gateway battery is low. Gateway batteries require replacement. * * `recommendedActionAgLowDeviceBatteryAG51`: Gateway batteries require replacement. * * `recommendedActionAgLowDeviceBatteryPoweredAG`: The gateway battery is low. Power on the asset to charge the gateway. * * `recommendedActionAgNoGpsSignal`: Gateway has no GPS signal. Verify that the gateway is securely attached to the exterior of the asset. Ensure that the device is outside and avoid obstructions such as underground structures, heavily insulated buildings, bridges, and trees. * * `recommendedActionAgNotDetected`: The gateway has not been detected for at least 24 hours. See troubleshooting steps to reboot the gateway. * * `recommendedActionAgUnplugged`: The asset gateway is unplugged or cut. Check the gateway connection to ensure it is plugged in and has been installed correctly * * `recommendedActionBLEDataPending`: This device has recently been installed and more data is required to calculate health. No action required. * * `recommendedActionBLEHealthy`: Device is healthy. No action required. * * `recommendedActionBLELowBattery`: The device battery is low. Please contact support. * * `recommendedActionBLENotDetected`: The device has not been detected by a gateway in the Samsara Network for at least 30 days. Verify that the device is securely attached to the asset, not in a remote area, and minimize obstructions that may disrupt detection by nearby gateways. * * `recommendedActionCcHealthy`: Device is healthy. No action required. * * `recommendedActionCcLowUptime`: Please ensure all cameras are physically connected to the device. * * `recommendedActionCcMediaInputUptime`: Please ensure the camera is properly connected to the device. * * `recommendedActionCcNotDetected`: None * * `recommendedActionCmCameraMisaligned`: The position of the road-facing dash cam is not aligned with the horizon. Video quality and AI detection may be impacted. Reposition dash cam and Test Dash Cam Positioning. * * `recommendedActionCmHealthy`: Dash cam recording is healthy. No action required. * * `recommendedActionCmInactive`: None * * `recommendedActionCmInwardCameraObstruction`: The inward-facing dash cam does not have a clear view of the vehicle cab. Video quality and AI detection may be impacted. Remove obstruction and Test Dash Cam Positioning. * * `recommendedActionCmIrregularRecording`: The dash cam shows no evidence of recording during the expected recording time over the last 30 days. Please contact Support. * * `recommendedActionCmLowUptime`: The dash cam is either experiencing low recording uptime, low connectivity, or both. Please follow the troubleshooting steps and contact Support if issues persist. * * `recommendedActionCmNewlyInstalledDevice`: This dash cam has recently been installed and at least 30 hours of recording time is required to calculate health. No action required. * * `recommendedActionCmNotDetected`: The dash cam has not been detected within the last 30 days. Check the dash cam's connection and verify your dash cam has been installed correctly. * * `recommendedActionCmOutwardCameraObstruction`: The outward-facing dash cam does not have a clear view of the road. Video quality and AI detection may be impacted Remove obstruction and Test Dash Cam Positioning. * * `recommendedActionCmRecordingTimeRequired`: At least 30 hours of recording time is required to determine device health. No action required. * * `recommendedActionCmVgUnplugged`: The vehicle gateway is unplugged and the dash cam health cannot be determined. Check the vehicle gateway connection and ensure it is plugged in and has been installed correctly. * * `recommendedActionGatewayNewlyInstalledDevice`: This gateway has recently been installed and more data is required to calculate health. No action required. * * `recommendedActionHealthy`: Asset is healthy. No action required. * * `recommendedActionLowBatteryVoltage`: Asset has reported low battery voltage. Please contact support. * * `recommendedActionOemNotReporting`: Data for this asset has not been received as expected. Please contact support. * * `recommendedActionVehicleOff`: Asset has reported an expected power-off event, and is healthy. No action required. * * `recommendedActionVgHealthy`: Gateway is healthy. No action required. * * `recommendedActionVgMissingEldDiagnostics`: To ensure full compliance, request exchange. * * `recommendedActionVgMissingEldDiagnosticsExchangeSubmitted`: Exchange submitted. Please allow 12-24 hours for exchange to appear in the orders and exchanges page. * * `recommendedActionVgMissingEldDiagnosticsHardwareExchanged`: Install exchanged hardware. * * `recommendedActionVgMissingEldDiagnosticsNoExchangeSubmitted`: To ensure full compliance, request exchange. * * `recommendedActionVgMissingVin`: Add the VIN to your vehicle. * * `recommendedActionVgNeedsReplacement`: To ensure full compliance, request exchange. * * `recommendedActionVgNotDetected`: The vehicle gateway has not been detected for at least 24 hours. Check the vehicle gateway connection to ensure it is plugged in and view additional troubleshooting steps. * * `recommendedActionVgVgUnplugged`: The vehicle gateway is unplugged. Check the vehicle gateway connection to ensure it is plugged in and has been installed correctly. * * `unknown`: None * * * Valid values: `recommendedActionAgHealthy`, `recommendedActionAgLowDeviceBatteryAG45`, `recommendedActionAgLowDeviceBatteryAG46`, `recommendedActionAgLowDeviceBatteryAG51`, `recommendedActionAgLowDeviceBatteryPoweredAG`, `recommendedActionAgNoGpsSignal`, `recommendedActionAgNotDetected`, `recommendedActionAgUnplugged`, `recommendedActionBLEDataPending`, `recommendedActionBLEHealthy`, `recommendedActionBLELowBattery`, `recommendedActionBLENotDetected`, `recommendedActionCcHealthy`, `recommendedActionCcLowUptime`, `recommendedActionCcMediaInputUptime`, `recommendedActionCcNotDetected`, `recommendedActionCmCameraMisaligned`, `recommendedActionCmHealthy`, `recommendedActionCmInactive`, `recommendedActionCmInwardCameraObstruction`, `recommendedActionCmIrregularRecording`, `recommendedActionCmLowUptime`, `recommendedActionCmNewlyInstalledDevice`, `recommendedActionCmNotDetected`, `recommendedActionCmOutwardCameraObstruction`, `recommendedActionCmRecordingTimeRequired`, `recommendedActionCmVgUnplugged`, `recommendedActionGatewayNewlyInstalledDevice`, `recommendedActionHealthy`, `recommendedActionLowBatteryVoltage`, `recommendedActionOemNotReporting`, `recommendedActionVehicleOff`, `recommendedActionVgHealthy`, `recommendedActionVgMissingEldDiagnostics`, `recommendedActionVgMissingEldDiagnosticsExchangeSubmitted`, `recommendedActionVgMissingEldDiagnosticsHardwareExchanged`, `recommendedActionVgMissingEldDiagnosticsNoExchangeSubmitted`, `recommendedActionVgMissingVin`, `recommendedActionVgNeedsReplacement`, `recommendedActionVgNotDetected`, `recommendedActionVgVgUnplugged`, `unknown` */ recommendedAction?: HealthResponseResponseBody.RecommendedAction | undefined; } export declare namespace HealthResponseResponseBody { /** Current overall health status of the device. Valid values: `dataPending`, `healthy`, `needsAttention`, `needsReplacement` */ const HealthStatus: { readonly DataPending: "dataPending"; readonly Healthy: "healthy"; readonly NeedsAttention: "needsAttention"; readonly NeedsReplacement: "needsReplacement"; }; type HealthStatus = (typeof HealthStatus)[keyof typeof HealthStatus]; /** Primary health reason affecting the device's current health status. Valid values: `assetUnplugged`, `cameraMisaligned`, `dataPending`, `healthy`, `inwardCameraObstruction`, `irregularRecording`, `lowDeviceBattery`, `missingEldDiagnostics`, `missingVin`, `needsReplacement`, `newlyInstalledDevice`, `noGpsSignal`, `notDetected`, `outwardCameraObstruction`, `recordingTimeRequired`, `unknown`, `vgUnplugged` */ const PrimaryHealthReason: { readonly AssetUnplugged: "assetUnplugged"; readonly CameraMisaligned: "cameraMisaligned"; readonly DataPending: "dataPending"; readonly Healthy: "healthy"; readonly InwardCameraObstruction: "inwardCameraObstruction"; readonly IrregularRecording: "irregularRecording"; readonly LowDeviceBattery: "lowDeviceBattery"; readonly MissingEldDiagnostics: "missingEldDiagnostics"; readonly MissingVin: "missingVin"; readonly NeedsReplacement: "needsReplacement"; readonly NewlyInstalledDevice: "newlyInstalledDevice"; readonly NoGpsSignal: "noGpsSignal"; readonly NotDetected: "notDetected"; readonly OutwardCameraObstruction: "outwardCameraObstruction"; readonly RecordingTimeRequired: "recordingTimeRequired"; readonly Unknown: "unknown"; readonly VgUnplugged: "vgUnplugged"; }; type PrimaryHealthReason = (typeof PrimaryHealthReason)[keyof typeof PrimaryHealthReason]; /** * Recommended steps to resolve the current health reason. * * * `recommendedActionAgHealthy`: Gateway is healthy. No action required. * * `recommendedActionAgLowDeviceBatteryAG45`: The gateway battery is low. Please contact support * * `recommendedActionAgLowDeviceBatteryAG46`: The gateway battery is low. Gateway batteries require replacement. * * `recommendedActionAgLowDeviceBatteryAG51`: Gateway batteries require replacement. * * `recommendedActionAgLowDeviceBatteryPoweredAG`: The gateway battery is low. Power on the asset to charge the gateway. * * `recommendedActionAgNoGpsSignal`: Gateway has no GPS signal. Verify that the gateway is securely attached to the exterior of the asset. Ensure that the device is outside and avoid obstructions such as underground structures, heavily insulated buildings, bridges, and trees. * * `recommendedActionAgNotDetected`: The gateway has not been detected for at least 24 hours. See troubleshooting steps to reboot the gateway. * * `recommendedActionAgUnplugged`: The asset gateway is unplugged or cut. Check the gateway connection to ensure it is plugged in and has been installed correctly * * `recommendedActionBLEDataPending`: This device has recently been installed and more data is required to calculate health. No action required. * * `recommendedActionBLEHealthy`: Device is healthy. No action required. * * `recommendedActionBLELowBattery`: The device battery is low. Please contact support. * * `recommendedActionBLENotDetected`: The device has not been detected by a gateway in the Samsara Network for at least 30 days. Verify that the device is securely attached to the asset, not in a remote area, and minimize obstructions that may disrupt detection by nearby gateways. * * `recommendedActionCcHealthy`: Device is healthy. No action required. * * `recommendedActionCcLowUptime`: Please ensure all cameras are physically connected to the device. * * `recommendedActionCcMediaInputUptime`: Please ensure the camera is properly connected to the device. * * `recommendedActionCcNotDetected`: None * * `recommendedActionCmCameraMisaligned`: The position of the road-facing dash cam is not aligned with the horizon. Video quality and AI detection may be impacted. Reposition dash cam and Test Dash Cam Positioning. * * `recommendedActionCmHealthy`: Dash cam recording is healthy. No action required. * * `recommendedActionCmInactive`: None * * `recommendedActionCmInwardCameraObstruction`: The inward-facing dash cam does not have a clear view of the vehicle cab. Video quality and AI detection may be impacted. Remove obstruction and Test Dash Cam Positioning. * * `recommendedActionCmIrregularRecording`: The dash cam shows no evidence of recording during the expected recording time over the last 30 days. Please contact Support. * * `recommendedActionCmLowUptime`: The dash cam is either experiencing low recording uptime, low connectivity, or both. Please follow the troubleshooting steps and contact Support if issues persist. * * `recommendedActionCmNewlyInstalledDevice`: This dash cam has recently been installed and at least 30 hours of recording time is required to calculate health. No action required. * * `recommendedActionCmNotDetected`: The dash cam has not been detected within the last 30 days. Check the dash cam's connection and verify your dash cam has been installed correctly. * * `recommendedActionCmOutwardCameraObstruction`: The outward-facing dash cam does not have a clear view of the road. Video quality and AI detection may be impacted Remove obstruction and Test Dash Cam Positioning. * * `recommendedActionCmRecordingTimeRequired`: At least 30 hours of recording time is required to determine device health. No action required. * * `recommendedActionCmVgUnplugged`: The vehicle gateway is unplugged and the dash cam health cannot be determined. Check the vehicle gateway connection and ensure it is plugged in and has been installed correctly. * * `recommendedActionGatewayNewlyInstalledDevice`: This gateway has recently been installed and more data is required to calculate health. No action required. * * `recommendedActionHealthy`: Asset is healthy. No action required. * * `recommendedActionLowBatteryVoltage`: Asset has reported low battery voltage. Please contact support. * * `recommendedActionOemNotReporting`: Data for this asset has not been received as expected. Please contact support. * * `recommendedActionVehicleOff`: Asset has reported an expected power-off event, and is healthy. No action required. * * `recommendedActionVgHealthy`: Gateway is healthy. No action required. * * `recommendedActionVgMissingEldDiagnostics`: To ensure full compliance, request exchange. * * `recommendedActionVgMissingEldDiagnosticsExchangeSubmitted`: Exchange submitted. Please allow 12-24 hours for exchange to appear in the orders and exchanges page. * * `recommendedActionVgMissingEldDiagnosticsHardwareExchanged`: Install exchanged hardware. * * `recommendedActionVgMissingEldDiagnosticsNoExchangeSubmitted`: To ensure full compliance, request exchange. * * `recommendedActionVgMissingVin`: Add the VIN to your vehicle. * * `recommendedActionVgNeedsReplacement`: To ensure full compliance, request exchange. * * `recommendedActionVgNotDetected`: The vehicle gateway has not been detected for at least 24 hours. Check the vehicle gateway connection to ensure it is plugged in and view additional troubleshooting steps. * * `recommendedActionVgVgUnplugged`: The vehicle gateway is unplugged. Check the vehicle gateway connection to ensure it is plugged in and has been installed correctly. * * `unknown`: None * * * Valid values: `recommendedActionAgHealthy`, `recommendedActionAgLowDeviceBatteryAG45`, `recommendedActionAgLowDeviceBatteryAG46`, `recommendedActionAgLowDeviceBatteryAG51`, `recommendedActionAgLowDeviceBatteryPoweredAG`, `recommendedActionAgNoGpsSignal`, `recommendedActionAgNotDetected`, `recommendedActionAgUnplugged`, `recommendedActionBLEDataPending`, `recommendedActionBLEHealthy`, `recommendedActionBLELowBattery`, `recommendedActionBLENotDetected`, `recommendedActionCcHealthy`, `recommendedActionCcLowUptime`, `recommendedActionCcMediaInputUptime`, `recommendedActionCcNotDetected`, `recommendedActionCmCameraMisaligned`, `recommendedActionCmHealthy`, `recommendedActionCmInactive`, `recommendedActionCmInwardCameraObstruction`, `recommendedActionCmIrregularRecording`, `recommendedActionCmLowUptime`, `recommendedActionCmNewlyInstalledDevice`, `recommendedActionCmNotDetected`, `recommendedActionCmOutwardCameraObstruction`, `recommendedActionCmRecordingTimeRequired`, `recommendedActionCmVgUnplugged`, `recommendedActionGatewayNewlyInstalledDevice`, `recommendedActionHealthy`, `recommendedActionLowBatteryVoltage`, `recommendedActionOemNotReporting`, `recommendedActionVehicleOff`, `recommendedActionVgHealthy`, `recommendedActionVgMissingEldDiagnostics`, `recommendedActionVgMissingEldDiagnosticsExchangeSubmitted`, `recommendedActionVgMissingEldDiagnosticsHardwareExchanged`, `recommendedActionVgMissingEldDiagnosticsNoExchangeSubmitted`, `recommendedActionVgMissingVin`, `recommendedActionVgNeedsReplacement`, `recommendedActionVgNotDetected`, `recommendedActionVgVgUnplugged`, `unknown` */ const RecommendedAction: { readonly RecommendedActionAgHealthy: "recommendedActionAgHealthy"; readonly RecommendedActionAgLowDeviceBatteryAg45: "recommendedActionAgLowDeviceBatteryAG45"; readonly RecommendedActionAgLowDeviceBatteryAg46: "recommendedActionAgLowDeviceBatteryAG46"; readonly RecommendedActionAgLowDeviceBatteryAg51: "recommendedActionAgLowDeviceBatteryAG51"; readonly RecommendedActionAgLowDeviceBatteryPoweredAg: "recommendedActionAgLowDeviceBatteryPoweredAG"; readonly RecommendedActionAgNoGpsSignal: "recommendedActionAgNoGpsSignal"; readonly RecommendedActionAgNotDetected: "recommendedActionAgNotDetected"; readonly RecommendedActionAgUnplugged: "recommendedActionAgUnplugged"; readonly RecommendedActionBleDataPending: "recommendedActionBLEDataPending"; readonly RecommendedActionBleHealthy: "recommendedActionBLEHealthy"; readonly RecommendedActionBleLowBattery: "recommendedActionBLELowBattery"; readonly RecommendedActionBleNotDetected: "recommendedActionBLENotDetected"; readonly RecommendedActionCcHealthy: "recommendedActionCcHealthy"; readonly RecommendedActionCcLowUptime: "recommendedActionCcLowUptime"; readonly RecommendedActionCcMediaInputUptime: "recommendedActionCcMediaInputUptime"; readonly RecommendedActionCcNotDetected: "recommendedActionCcNotDetected"; readonly RecommendedActionCmCameraMisaligned: "recommendedActionCmCameraMisaligned"; readonly RecommendedActionCmHealthy: "recommendedActionCmHealthy"; readonly RecommendedActionCmInactive: "recommendedActionCmInactive"; readonly RecommendedActionCmInwardCameraObstruction: "recommendedActionCmInwardCameraObstruction"; readonly RecommendedActionCmIrregularRecording: "recommendedActionCmIrregularRecording"; readonly RecommendedActionCmLowUptime: "recommendedActionCmLowUptime"; readonly RecommendedActionCmNewlyInstalledDevice: "recommendedActionCmNewlyInstalledDevice"; readonly RecommendedActionCmNotDetected: "recommendedActionCmNotDetected"; readonly RecommendedActionCmOutwardCameraObstruction: "recommendedActionCmOutwardCameraObstruction"; readonly RecommendedActionCmRecordingTimeRequired: "recommendedActionCmRecordingTimeRequired"; readonly RecommendedActionCmVgUnplugged: "recommendedActionCmVgUnplugged"; readonly RecommendedActionGatewayNewlyInstalledDevice: "recommendedActionGatewayNewlyInstalledDevice"; readonly RecommendedActionHealthy: "recommendedActionHealthy"; readonly RecommendedActionLowBatteryVoltage: "recommendedActionLowBatteryVoltage"; readonly RecommendedActionOemNotReporting: "recommendedActionOemNotReporting"; readonly RecommendedActionVehicleOff: "recommendedActionVehicleOff"; readonly RecommendedActionVgHealthy: "recommendedActionVgHealthy"; readonly RecommendedActionVgMissingEldDiagnostics: "recommendedActionVgMissingEldDiagnostics"; readonly RecommendedActionVgMissingEldDiagnosticsExchangeSubmitted: "recommendedActionVgMissingEldDiagnosticsExchangeSubmitted"; readonly RecommendedActionVgMissingEldDiagnosticsHardwareExchanged: "recommendedActionVgMissingEldDiagnosticsHardwareExchanged"; readonly RecommendedActionVgMissingEldDiagnosticsNoExchangeSubmitted: "recommendedActionVgMissingEldDiagnosticsNoExchangeSubmitted"; readonly RecommendedActionVgMissingVin: "recommendedActionVgMissingVin"; readonly RecommendedActionVgNeedsReplacement: "recommendedActionVgNeedsReplacement"; readonly RecommendedActionVgNotDetected: "recommendedActionVgNotDetected"; readonly RecommendedActionVgVgUnplugged: "recommendedActionVgVgUnplugged"; readonly Unknown: "unknown"; }; type RecommendedAction = (typeof RecommendedAction)[keyof typeof RecommendedAction]; }