/** * Enables detection of policy violations, surfaces events in Safety Inbox, and enables configurable alerts. While the feature is in beta, in-cab alerts are recommended for testing use only. */ export interface PolicyViolationsDetectionAlertSettingsObjectResponseBody { /** List of selectable beta policy violation events to be tested. */ eventsAvailableForTesting?: PolicyViolationsDetectionAlertSettingsObjectResponseBody.EventsAvailableForTesting.Item[] | undefined; /** List of selectable policy violation events to enable coaching for. */ eventsToCoach?: PolicyViolationsDetectionAlertSettingsObjectResponseBody.EventsToCoach.Item[] | undefined; /** Indicates whether in-cab audio alerts for rolling stops are turned on. */ hasInCabAudioAlertsEnabled?: boolean | undefined; /** Indicates whether AI event detection for rolling stops is turned on. */ isEnabled?: boolean | undefined; /** Alert when speed is over this many miles per hour. */ speedingThresholdMph?: number | undefined; } export declare namespace PolicyViolationsDetectionAlertSettingsObjectResponseBody { type EventsAvailableForTesting = EventsAvailableForTesting.Item[]; namespace EventsAvailableForTesting { /** Enables testing for selected policy violation beta events. Valid values: `mobileUsage`, `smoking`, `eatingDrinking`, `inwardCameraObstruction`, `outwardCameraObstruction` */ const Item: { readonly MobileUsage: "mobileUsage"; readonly Smoking: "smoking"; readonly EatingDrinking: "eatingDrinking"; readonly InwardCameraObstruction: "inwardCameraObstruction"; readonly OutwardCameraObstruction: "outwardCameraObstruction"; }; type Item = (typeof Item)[keyof typeof Item]; } type EventsToCoach = EventsToCoach.Item[]; namespace EventsToCoach { /** Enables coaching for selected policy violation events. Valid values: `noSeatbelt`, `noMask`, `mobileUsage`, `smoking`, `eatingDrinking`, `inwardCameraObstruction`, `outwardCameraObstruction` */ const Item: { readonly NoSeatbelt: "noSeatbelt"; readonly NoMask: "noMask"; readonly MobileUsage: "mobileUsage"; readonly Smoking: "smoking"; readonly EatingDrinking: "eatingDrinking"; readonly InwardCameraObstruction: "inwardCameraObstruction"; readonly OutwardCameraObstruction: "outwardCameraObstruction"; }; type Item = (typeof Item)[keyof typeof Item]; } }