import type * as Samsara from "../../../../index.mjs"; /** * @example * { * safetyEventIds: ["bb2ff5ab-30ad-49ec-9d2d-55ec30bbf590", "bb2ff5ab-30ad-49ec-9d2d-55ec30bbf590", "bb2ff5ab-30ad-49ec-9d2d-55ec30bbf590"] * } */ export interface SafetyEventsV2PatchSafetyEventsV2BatchRequestBody { /** Behavior labels to add to the Safety Events. */ behaviorLabelsToAdd?: SafetyEventsV2PatchSafetyEventsV2BatchRequestBody.BehaviorLabelsToAdd.Item[]; /** Behavior labels to remove from the Safety Events. */ behaviorLabelsToRemove?: SafetyEventsV2PatchSafetyEventsV2BatchRequestBody.BehaviorLabelsToRemove.Item[]; /** Context labels to add to the Safety Events. */ contextLabelsToAdd?: SafetyEventsV2PatchSafetyEventsV2BatchRequestBody.ContextLabelsToAdd.Item[]; /** Context labels to remove from the Safety Events. */ contextLabelsToRemove?: SafetyEventsV2PatchSafetyEventsV2BatchRequestBody.ContextLabelsToRemove.Item[]; dismissalReason?: Samsara.PatchSafetyEventsDismissalReasonBodyRequestBody; /** The new state to apply to all specified Safety Events. Valid values: `needsReview`, `reviewed`, `needsCoaching`, `coached`, `dismissed`, `needsRecognition`, `recognized` */ eventState?: SafetyEventsV2PatchSafetyEventsV2BatchRequestBody.EventState; /** IDs of the Safety Events to update. Maximum 200. */ safetyEventIds: string[]; } export declare namespace SafetyEventsV2PatchSafetyEventsV2BatchRequestBody { type BehaviorLabelsToAdd = BehaviorLabelsToAdd.Item[]; namespace BehaviorLabelsToAdd { /** A behavior label name to add. Valid values: `Acceleration`, `AggressiveDriving`, `BluetoothHeadset`, `Braking`, `ContextConstructionOrWorkZone`, `ContextSnowyOrIcy`, `ContextVulnerableRoadUser`, `ContextWet`, `Crash`, `DefensiveDriving`, `DidNotYield`, `Drinking`, `Drowsy`, `Eating`, `EatingDrinking`, `EdgeDistractedDriving`, `EdgeRailroadCrossingViolation`, `FollowingDistance`, `FollowingDistanceModerate`, `FollowingDistanceSevere`, `ForwardCollisionWarning`, `GenericDistraction`, `GenericTailgating`, `HarshImpact`, `HarshTurn`, `HeavySpeeding`, `HighSpeedSuddenDisconnect`, `HosViolation`, `Idling`, `Invalid`, `LaneDeparture`, `LateResponse`, `LeftTurn`, `LightSpeeding`, `MaxSpeed`, `MobileUsage`, `ModerateSpeeding`, `NearCollison`, `NearPedestrianCollision`, `NoSeatbelt`, `ObstructedCamera`, `OperationalEvent`, `OtherViolation`, `Passenger`, `PolicyViolationMask`, `ProtectiveEquipment`, `ProximityWarning`, `RanRedLight`, `RearCollisionWarning`, `Reversing`, `RollingStop`, `RolloverProtection`, `SevereSpeeding`, `Smoking`, `Speeding`, `UTurn`, `UnsafeManeuver`, `UnsafeParking`, `VehicleInBlindSpotWarning`, `VulnerableRoadUserCollisionWarning`, `YawControl` */ const Item: { readonly Acceleration: "Acceleration"; readonly AggressiveDriving: "AggressiveDriving"; readonly BluetoothHeadset: "BluetoothHeadset"; readonly Braking: "Braking"; readonly ContextConstructionOrWorkZone: "ContextConstructionOrWorkZone"; readonly ContextSnowyOrIcy: "ContextSnowyOrIcy"; readonly ContextVulnerableRoadUser: "ContextVulnerableRoadUser"; readonly ContextWet: "ContextWet"; readonly Crash: "Crash"; readonly DefensiveDriving: "DefensiveDriving"; readonly DidNotYield: "DidNotYield"; readonly Drinking: "Drinking"; readonly Drowsy: "Drowsy"; readonly Eating: "Eating"; readonly EatingDrinking: "EatingDrinking"; readonly EdgeDistractedDriving: "EdgeDistractedDriving"; readonly EdgeRailroadCrossingViolation: "EdgeRailroadCrossingViolation"; readonly FollowingDistance: "FollowingDistance"; readonly FollowingDistanceModerate: "FollowingDistanceModerate"; readonly FollowingDistanceSevere: "FollowingDistanceSevere"; readonly ForwardCollisionWarning: "ForwardCollisionWarning"; readonly GenericDistraction: "GenericDistraction"; readonly GenericTailgating: "GenericTailgating"; readonly HarshImpact: "HarshImpact"; readonly HarshTurn: "HarshTurn"; readonly HeavySpeeding: "HeavySpeeding"; readonly HighSpeedSuddenDisconnect: "HighSpeedSuddenDisconnect"; readonly HosViolation: "HosViolation"; readonly Idling: "Idling"; readonly Invalid: "Invalid"; readonly LaneDeparture: "LaneDeparture"; readonly LateResponse: "LateResponse"; readonly LeftTurn: "LeftTurn"; readonly LightSpeeding: "LightSpeeding"; readonly MaxSpeed: "MaxSpeed"; readonly MobileUsage: "MobileUsage"; readonly ModerateSpeeding: "ModerateSpeeding"; readonly NearCollison: "NearCollison"; readonly NearPedestrianCollision: "NearPedestrianCollision"; readonly NoSeatbelt: "NoSeatbelt"; readonly ObstructedCamera: "ObstructedCamera"; readonly OperationalEvent: "OperationalEvent"; readonly OtherViolation: "OtherViolation"; readonly Passenger: "Passenger"; readonly PolicyViolationMask: "PolicyViolationMask"; readonly ProtectiveEquipment: "ProtectiveEquipment"; 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 UTurn: "UTurn"; readonly UnsafeManeuver: "UnsafeManeuver"; readonly UnsafeParking: "UnsafeParking"; readonly VehicleInBlindSpotWarning: "VehicleInBlindSpotWarning"; readonly VulnerableRoadUserCollisionWarning: "VulnerableRoadUserCollisionWarning"; readonly YawControl: "YawControl"; }; type Item = (typeof Item)[keyof typeof Item]; } type BehaviorLabelsToRemove = BehaviorLabelsToRemove.Item[]; namespace BehaviorLabelsToRemove { /** A behavior label name to remove. Valid values: `Acceleration`, `AggressiveDriving`, `BluetoothHeadset`, `Braking`, `ContextConstructionOrWorkZone`, `ContextSnowyOrIcy`, `ContextVulnerableRoadUser`, `ContextWet`, `Crash`, `DefensiveDriving`, `DidNotYield`, `Drinking`, `Drowsy`, `Eating`, `EatingDrinking`, `EdgeDistractedDriving`, `EdgeRailroadCrossingViolation`, `FollowingDistance`, `FollowingDistanceModerate`, `FollowingDistanceSevere`, `ForwardCollisionWarning`, `GenericDistraction`, `GenericTailgating`, `HarshImpact`, `HarshTurn`, `HeavySpeeding`, `HighSpeedSuddenDisconnect`, `HosViolation`, `Idling`, `Invalid`, `LaneDeparture`, `LateResponse`, `LeftTurn`, `LightSpeeding`, `MaxSpeed`, `MobileUsage`, `ModerateSpeeding`, `NearCollison`, `NearPedestrianCollision`, `NoSeatbelt`, `ObstructedCamera`, `OperationalEvent`, `OtherViolation`, `Passenger`, `PolicyViolationMask`, `ProtectiveEquipment`, `ProximityWarning`, `RanRedLight`, `RearCollisionWarning`, `Reversing`, `RollingStop`, `RolloverProtection`, `SevereSpeeding`, `Smoking`, `Speeding`, `UTurn`, `UnsafeManeuver`, `UnsafeParking`, `VehicleInBlindSpotWarning`, `VulnerableRoadUserCollisionWarning`, `YawControl` */ const Item: { readonly Acceleration: "Acceleration"; readonly AggressiveDriving: "AggressiveDriving"; readonly BluetoothHeadset: "BluetoothHeadset"; readonly Braking: "Braking"; readonly ContextConstructionOrWorkZone: "ContextConstructionOrWorkZone"; readonly ContextSnowyOrIcy: "ContextSnowyOrIcy"; readonly ContextVulnerableRoadUser: "ContextVulnerableRoadUser"; readonly ContextWet: "ContextWet"; readonly Crash: "Crash"; readonly DefensiveDriving: "DefensiveDriving"; readonly DidNotYield: "DidNotYield"; readonly Drinking: "Drinking"; readonly Drowsy: "Drowsy"; readonly Eating: "Eating"; readonly EatingDrinking: "EatingDrinking"; readonly EdgeDistractedDriving: "EdgeDistractedDriving"; readonly EdgeRailroadCrossingViolation: "EdgeRailroadCrossingViolation"; readonly FollowingDistance: "FollowingDistance"; readonly FollowingDistanceModerate: "FollowingDistanceModerate"; readonly FollowingDistanceSevere: "FollowingDistanceSevere"; readonly ForwardCollisionWarning: "ForwardCollisionWarning"; readonly GenericDistraction: "GenericDistraction"; readonly GenericTailgating: "GenericTailgating"; readonly HarshImpact: "HarshImpact"; readonly HarshTurn: "HarshTurn"; readonly HeavySpeeding: "HeavySpeeding"; readonly HighSpeedSuddenDisconnect: "HighSpeedSuddenDisconnect"; readonly HosViolation: "HosViolation"; readonly Idling: "Idling"; readonly Invalid: "Invalid"; readonly LaneDeparture: "LaneDeparture"; readonly LateResponse: "LateResponse"; readonly LeftTurn: "LeftTurn"; readonly LightSpeeding: "LightSpeeding"; readonly MaxSpeed: "MaxSpeed"; readonly MobileUsage: "MobileUsage"; readonly ModerateSpeeding: "ModerateSpeeding"; readonly NearCollison: "NearCollison"; readonly NearPedestrianCollision: "NearPedestrianCollision"; readonly NoSeatbelt: "NoSeatbelt"; readonly ObstructedCamera: "ObstructedCamera"; readonly OperationalEvent: "OperationalEvent"; readonly OtherViolation: "OtherViolation"; readonly Passenger: "Passenger"; readonly PolicyViolationMask: "PolicyViolationMask"; readonly ProtectiveEquipment: "ProtectiveEquipment"; 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 UTurn: "UTurn"; readonly UnsafeManeuver: "UnsafeManeuver"; readonly UnsafeParking: "UnsafeParking"; readonly VehicleInBlindSpotWarning: "VehicleInBlindSpotWarning"; readonly VulnerableRoadUserCollisionWarning: "VulnerableRoadUserCollisionWarning"; readonly YawControl: "YawControl"; }; type Item = (typeof Item)[keyof typeof Item]; } type ContextLabelsToAdd = ContextLabelsToAdd.Item[]; namespace ContextLabelsToAdd { /** A context label name to add. Valid values: `Congested`, `Construction`, `Coupling/Uncoupling`, `Cyclist/Motorcyclist`, `Defensive`, `Fog`, `Improper Seat Belt`, `Lead Car`, `Light Traffic`, `Moderate Traffic`, `Moderately Drowsy`, `Mounted Phone`, `Night`, `No Boots`, `No Coveralls`, `No Face Shield`, `No Gloves`, `No Hard Hat`, `No Hi-Vis Vest`, `No Safety Glasses`, `Parking Lot`, `Passenger Mobile Usage`, `Passenger Sleeping`, `Passengers`, `Pedestrians`, `Person Actively Directing Traffic`, `Raining`, `Sensitive Media`, `Slightly Drowsy`, `Snowing`, `Snowy Road`, `Speed Sign Verified`, `Traffic Control Person Present`, `Trailer Car`, `Very Drowsy`, `Wet Road`, `Wildlife` */ const Item: { readonly Congested: "Congested"; readonly Construction: "Construction"; readonly CouplingUncoupling: "Coupling/Uncoupling"; readonly CyclistMotorcyclist: "Cyclist/Motorcyclist"; readonly Defensive: "Defensive"; readonly Fog: "Fog"; readonly ImproperSeatBelt: "Improper Seat Belt"; readonly LeadCar: "Lead Car"; readonly LightTraffic: "Light Traffic"; readonly ModerateTraffic: "Moderate Traffic"; readonly ModeratelyDrowsy: "Moderately Drowsy"; readonly MountedPhone: "Mounted Phone"; readonly Night: "Night"; readonly NoBoots: "No Boots"; readonly NoCoveralls: "No Coveralls"; readonly NoFaceShield: "No Face Shield"; readonly NoGloves: "No Gloves"; readonly NoHardHat: "No Hard Hat"; readonly NoHiVisVest: "No Hi-Vis Vest"; readonly NoSafetyGlasses: "No Safety Glasses"; readonly ParkingLot: "Parking Lot"; readonly PassengerMobileUsage: "Passenger Mobile Usage"; readonly PassengerSleeping: "Passenger Sleeping"; readonly Passengers: "Passengers"; readonly Pedestrians: "Pedestrians"; readonly PersonActivelyDirectingTraffic: "Person Actively Directing Traffic"; readonly Raining: "Raining"; readonly SensitiveMedia: "Sensitive Media"; readonly SlightlyDrowsy: "Slightly Drowsy"; readonly Snowing: "Snowing"; readonly SnowyRoad: "Snowy Road"; readonly SpeedSignVerified: "Speed Sign Verified"; readonly TrafficControlPersonPresent: "Traffic Control Person Present"; readonly TrailerCar: "Trailer Car"; readonly VeryDrowsy: "Very Drowsy"; readonly WetRoad: "Wet Road"; readonly Wildlife: "Wildlife"; }; type Item = (typeof Item)[keyof typeof Item]; } type ContextLabelsToRemove = ContextLabelsToRemove.Item[]; namespace ContextLabelsToRemove { /** A context label name to remove. Valid values: `Congested`, `Construction`, `Coupling/Uncoupling`, `Cyclist/Motorcyclist`, `Defensive`, `Fog`, `Improper Seat Belt`, `Lead Car`, `Light Traffic`, `Moderate Traffic`, `Moderately Drowsy`, `Mounted Phone`, `Night`, `No Boots`, `No Coveralls`, `No Face Shield`, `No Gloves`, `No Hard Hat`, `No Hi-Vis Vest`, `No Safety Glasses`, `Parking Lot`, `Passenger Mobile Usage`, `Passenger Sleeping`, `Passengers`, `Pedestrians`, `Person Actively Directing Traffic`, `Raining`, `Sensitive Media`, `Slightly Drowsy`, `Snowing`, `Snowy Road`, `Speed Sign Verified`, `Traffic Control Person Present`, `Trailer Car`, `Very Drowsy`, `Wet Road`, `Wildlife` */ const Item: { readonly Congested: "Congested"; readonly Construction: "Construction"; readonly CouplingUncoupling: "Coupling/Uncoupling"; readonly CyclistMotorcyclist: "Cyclist/Motorcyclist"; readonly Defensive: "Defensive"; readonly Fog: "Fog"; readonly ImproperSeatBelt: "Improper Seat Belt"; readonly LeadCar: "Lead Car"; readonly LightTraffic: "Light Traffic"; readonly ModerateTraffic: "Moderate Traffic"; readonly ModeratelyDrowsy: "Moderately Drowsy"; readonly MountedPhone: "Mounted Phone"; readonly Night: "Night"; readonly NoBoots: "No Boots"; readonly NoCoveralls: "No Coveralls"; readonly NoFaceShield: "No Face Shield"; readonly NoGloves: "No Gloves"; readonly NoHardHat: "No Hard Hat"; readonly NoHiVisVest: "No Hi-Vis Vest"; readonly NoSafetyGlasses: "No Safety Glasses"; readonly ParkingLot: "Parking Lot"; readonly PassengerMobileUsage: "Passenger Mobile Usage"; readonly PassengerSleeping: "Passenger Sleeping"; readonly Passengers: "Passengers"; readonly Pedestrians: "Pedestrians"; readonly PersonActivelyDirectingTraffic: "Person Actively Directing Traffic"; readonly Raining: "Raining"; readonly SensitiveMedia: "Sensitive Media"; readonly SlightlyDrowsy: "Slightly Drowsy"; readonly Snowing: "Snowing"; readonly SnowyRoad: "Snowy Road"; readonly SpeedSignVerified: "Speed Sign Verified"; readonly TrafficControlPersonPresent: "Traffic Control Person Present"; readonly TrailerCar: "Trailer Car"; readonly VeryDrowsy: "Very Drowsy"; readonly WetRoad: "Wet Road"; readonly Wildlife: "Wildlife"; }; type Item = (typeof Item)[keyof typeof Item]; } /** The new state to apply to all specified Safety Events. Valid values: `needsReview`, `reviewed`, `needsCoaching`, `coached`, `dismissed`, `needsRecognition`, `recognized` */ const EventState: { readonly NeedsReview: "needsReview"; readonly Reviewed: "reviewed"; readonly NeedsCoaching: "needsCoaching"; readonly Coached: "coached"; readonly Dismissed: "dismissed"; readonly NeedsRecognition: "needsRecognition"; readonly Recognized: "recognized"; }; type EventState = (typeof EventState)[keyof typeof EventState]; }