import type * as Samsara from "../index.js"; /** * Detection log entry */ export interface DetectionLogDetectionObjectResponseBody { asset: Samsara.DetectionLogAssetObjectResponseBody; /** Time the detection was detected or in-cab alert played in UTC. RFC 3339 format. Always returned. */ createdAtTime: string; driver?: Samsara.DetectionLogDriverObjectResponseBody | undefined; /** Unique Samsara ID (uuid) of the detection. */ id: string; /** Whether an in cab alert played aloud in the cab. Always returned. */ inCabAlertPlayed: boolean; /** Details on the associated safety event generated. Always returned. */ safetyEvent: Samsara.DetectionLogSafetyEventObjectResponseBody[]; /** The label associated with the detection. Always returned. Valid values: `acceleration`, `braking`, `crash`, `drowsy`, `eatingDrinking`, `edgeRailroadCrossingViolation`, `followingDistance`, `forwardCollisionWarning`, `genericDistraction`, `harshImpact`, `harshTurn`, `heavySpeeding`, `laneDeparture`, `lightSpeeding`, `maxSpeed`, `mobileUsage`, `moderateSpeeding`, `noSeatbelt`, `obstructedCamera`, `passenger`, `policyViolationMask`, `proximityWarning`, `ranRedLight`, `rearCollisionWarning`, `reversing`, `rollingStop`, `rolloverProtection`, `severeSpeeding`, `smoking`, `speeding`, `unsafeParking`, `vehicleInBlindSpotWarning`, `vulnerableRoadUserCollisionWarning`, `yawControl` */ triggerDetectionLabel: DetectionLogDetectionObjectResponseBody.TriggerDetectionLabel; /** Time the detection was updated in Samsara in UTC. RFC 3339 format. Always returned. */ updatedAtTime: string; } export declare namespace DetectionLogDetectionObjectResponseBody { /** The label associated with the detection. Always returned. Valid values: `acceleration`, `braking`, `crash`, `drowsy`, `eatingDrinking`, `edgeRailroadCrossingViolation`, `followingDistance`, `forwardCollisionWarning`, `genericDistraction`, `harshImpact`, `harshTurn`, `heavySpeeding`, `laneDeparture`, `lightSpeeding`, `maxSpeed`, `mobileUsage`, `moderateSpeeding`, `noSeatbelt`, `obstructedCamera`, `passenger`, `policyViolationMask`, `proximityWarning`, `ranRedLight`, `rearCollisionWarning`, `reversing`, `rollingStop`, `rolloverProtection`, `severeSpeeding`, `smoking`, `speeding`, `unsafeParking`, `vehicleInBlindSpotWarning`, `vulnerableRoadUserCollisionWarning`, `yawControl` */ const TriggerDetectionLabel: { readonly Acceleration: "acceleration"; readonly Braking: "braking"; readonly Crash: "crash"; readonly Drowsy: "drowsy"; readonly EatingDrinking: "eatingDrinking"; readonly EdgeRailroadCrossingViolation: "edgeRailroadCrossingViolation"; readonly FollowingDistance: "followingDistance"; readonly ForwardCollisionWarning: "forwardCollisionWarning"; readonly GenericDistraction: "genericDistraction"; readonly HarshImpact: "harshImpact"; readonly HarshTurn: "harshTurn"; readonly HeavySpeeding: "heavySpeeding"; readonly LaneDeparture: "laneDeparture"; readonly LightSpeeding: "lightSpeeding"; readonly MaxSpeed: "maxSpeed"; readonly MobileUsage: "mobileUsage"; readonly ModerateSpeeding: "moderateSpeeding"; readonly NoSeatbelt: "noSeatbelt"; readonly ObstructedCamera: "obstructedCamera"; readonly Passenger: "passenger"; readonly PolicyViolationMask: "policyViolationMask"; readonly ProximityWarning: "proximityWarning"; readonly RanRedLight: "ranRedLight"; readonly RearCollisionWarning: "rearCollisionWarning"; readonly Reversing: "reversing"; readonly RollingStop: "rollingStop"; readonly RolloverProtection: "rolloverProtection"; readonly SevereSpeeding: "severeSpeeding"; readonly Smoking: "smoking"; readonly Speeding: "speeding"; readonly UnsafeParking: "unsafeParking"; readonly VehicleInBlindSpotWarning: "vehicleInBlindSpotWarning"; readonly VulnerableRoadUserCollisionWarning: "vulnerableRoadUserCollisionWarning"; readonly YawControl: "yawControl"; }; type TriggerDetectionLabel = (typeof TriggerDetectionLabel)[keyof typeof TriggerDetectionLabel]; }