/** * Details on the associated safety event generated */ export interface DetectionLogSafetyEventObjectResponseBody { /** Unique Samsara ID (uuid) of the safety event. Only returned when safetyEvent.inboxEvent is true. */ id?: string | undefined; /** Whether a corresponding safety event was published to the Safety Inbox. Always returned. */ inboxEvent: boolean; /** The reason the detection was filtered out of the inbox. Only returned when safetyEvent.inboxEvent is false Valid values: `overDailyLimit`, `overHourlyLimit`, `overTripLimit`, `belowConfidenceThreshold`, `belowSeverityThreshold`, `overEventRateLimit`, `geofenceFilter`, `belowNudgeThreshold`, `belowSpeedThreshold`, `nighttimeFilter`, `speedingFilter`, `inCabAlertOnly`, `unknown` */ inboxFilterReason?: DetectionLogSafetyEventObjectResponseBody.InboxFilterReason | undefined; } export declare namespace DetectionLogSafetyEventObjectResponseBody { /** The reason the detection was filtered out of the inbox. Only returned when safetyEvent.inboxEvent is false Valid values: `overDailyLimit`, `overHourlyLimit`, `overTripLimit`, `belowConfidenceThreshold`, `belowSeverityThreshold`, `overEventRateLimit`, `geofenceFilter`, `belowNudgeThreshold`, `belowSpeedThreshold`, `nighttimeFilter`, `speedingFilter`, `inCabAlertOnly`, `unknown` */ const InboxFilterReason: { readonly OverDailyLimit: "overDailyLimit"; readonly OverHourlyLimit: "overHourlyLimit"; readonly OverTripLimit: "overTripLimit"; readonly BelowConfidenceThreshold: "belowConfidenceThreshold"; readonly BelowSeverityThreshold: "belowSeverityThreshold"; readonly OverEventRateLimit: "overEventRateLimit"; readonly GeofenceFilter: "geofenceFilter"; readonly BelowNudgeThreshold: "belowNudgeThreshold"; readonly BelowSpeedThreshold: "belowSpeedThreshold"; readonly NighttimeFilter: "nighttimeFilter"; readonly SpeedingFilter: "speedingFilter"; readonly InCabAlertOnly: "inCabAlertOnly"; readonly Unknown: "unknown"; }; type InboxFilterReason = (typeof InboxFilterReason)[keyof typeof InboxFilterReason]; }