@samsarahq/samsara 13.13.0 → 13.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/BaseClient.js +2 -2
- package/dist/cjs/api/resources/betaApIs/client/requests/GetDetectionsRequest.d.ts +1 -1
- package/dist/cjs/api/resources/betaApIs/client/requests/SafetyEventsV2PatchSafetyEventsV2BatchRequestBody.d.ts +4 -2
- package/dist/cjs/api/resources/betaApIs/client/requests/SafetyEventsV2PatchSafetyEventsV2BatchRequestBody.js +4 -2
- package/dist/cjs/api/resources/drivers/client/requests/CreateDriverRequest.d.ts +1 -0
- package/dist/cjs/api/resources/drivers/client/requests/UpdateDriverRequest.d.ts +1 -0
- package/dist/cjs/api/types/DetectionLogDetectionObjectResponseBody.d.ts +3 -2
- package/dist/cjs/api/types/DetectionLogDetectionObjectResponseBody.js +2 -1
- package/dist/cjs/api/types/Driver.d.ts +1 -0
- package/dist/cjs/api/types/DriverEmail.d.ts +4 -0
- package/dist/cjs/api/types/DriverEmail.js +3 -0
- package/dist/cjs/api/types/HarshEventTriggerDetailsObjectRequestBody.d.ts +2 -1
- package/dist/cjs/api/types/HarshEventTriggerDetailsObjectRequestBody.js +2 -1
- package/dist/cjs/api/types/HarshEventTriggerDetailsObjectResponseBody.d.ts +2 -1
- package/dist/cjs/api/types/HarshEventTriggerDetailsObjectResponseBody.js +2 -1
- package/dist/cjs/api/types/SafetyBehaviorTriggerDetailsObjectRequestBody.d.ts +2 -1
- package/dist/cjs/api/types/SafetyBehaviorTriggerDetailsObjectRequestBody.js +2 -1
- package/dist/cjs/api/types/SafetyBehaviorTriggerDetailsObjectResponseBody.d.ts +2 -1
- package/dist/cjs/api/types/SafetyBehaviorTriggerDetailsObjectResponseBody.js +2 -1
- package/dist/cjs/api/types/SafetyEventBehaviorLabelsResponseBody.d.ts +3 -2
- package/dist/cjs/api/types/SafetyEventBehaviorLabelsResponseBody.js +2 -1
- package/dist/cjs/api/types/SafetyEventV2BehaviorLabelsResponseBody.d.ts +3 -2
- package/dist/cjs/api/types/SafetyEventV2BehaviorLabelsResponseBody.js +2 -1
- package/dist/cjs/api/types/index.d.ts +1 -0
- package/dist/cjs/api/types/index.js +1 -0
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/BaseClient.mjs +2 -2
- package/dist/esm/api/resources/betaApIs/client/requests/GetDetectionsRequest.d.mts +1 -1
- package/dist/esm/api/resources/betaApIs/client/requests/SafetyEventsV2PatchSafetyEventsV2BatchRequestBody.d.mts +4 -2
- package/dist/esm/api/resources/betaApIs/client/requests/SafetyEventsV2PatchSafetyEventsV2BatchRequestBody.mjs +4 -2
- package/dist/esm/api/resources/drivers/client/requests/CreateDriverRequest.d.mts +1 -0
- package/dist/esm/api/resources/drivers/client/requests/UpdateDriverRequest.d.mts +1 -0
- package/dist/esm/api/types/DetectionLogDetectionObjectResponseBody.d.mts +3 -2
- package/dist/esm/api/types/DetectionLogDetectionObjectResponseBody.mjs +2 -1
- package/dist/esm/api/types/Driver.d.mts +1 -0
- package/dist/esm/api/types/DriverEmail.d.mts +4 -0
- package/dist/esm/api/types/DriverEmail.mjs +2 -0
- package/dist/esm/api/types/HarshEventTriggerDetailsObjectRequestBody.d.mts +2 -1
- package/dist/esm/api/types/HarshEventTriggerDetailsObjectRequestBody.mjs +2 -1
- package/dist/esm/api/types/HarshEventTriggerDetailsObjectResponseBody.d.mts +2 -1
- package/dist/esm/api/types/HarshEventTriggerDetailsObjectResponseBody.mjs +2 -1
- package/dist/esm/api/types/SafetyBehaviorTriggerDetailsObjectRequestBody.d.mts +2 -1
- package/dist/esm/api/types/SafetyBehaviorTriggerDetailsObjectRequestBody.mjs +2 -1
- package/dist/esm/api/types/SafetyBehaviorTriggerDetailsObjectResponseBody.d.mts +2 -1
- package/dist/esm/api/types/SafetyBehaviorTriggerDetailsObjectResponseBody.mjs +2 -1
- package/dist/esm/api/types/SafetyEventBehaviorLabelsResponseBody.d.mts +3 -2
- package/dist/esm/api/types/SafetyEventBehaviorLabelsResponseBody.mjs +2 -1
- package/dist/esm/api/types/SafetyEventV2BehaviorLabelsResponseBody.d.mts +3 -2
- package/dist/esm/api/types/SafetyEventV2BehaviorLabelsResponseBody.mjs +2 -1
- package/dist/esm/api/types/index.d.mts +1 -0
- package/dist/esm/api/types/index.mjs +1 -0
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
package/dist/cjs/BaseClient.js
CHANGED
|
@@ -44,8 +44,8 @@ function normalizeClientOptions(options) {
|
|
|
44
44
|
const headers = (0, headers_js_1.mergeHeaders)({
|
|
45
45
|
"X-Fern-Language": "JavaScript",
|
|
46
46
|
"X-Fern-SDK-Name": "@samsarahq/samsara",
|
|
47
|
-
"X-Fern-SDK-Version": "13.
|
|
48
|
-
"User-Agent": "@samsarahq/samsara/13.
|
|
47
|
+
"X-Fern-SDK-Version": "13.15.0",
|
|
48
|
+
"User-Agent": "@samsarahq/samsara/13.15.0",
|
|
49
49
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
50
50
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
51
51
|
"X-Samsara-Version": (_a = options === null || options === void 0 ? void 0 : options.version) !== null && _a !== void 0 ? _a : "2025-06-11",
|
|
@@ -9,7 +9,7 @@ export interface GetDetectionsRequest {
|
|
|
9
9
|
driverIds?: string | string[];
|
|
10
10
|
/** Optional string of comma separated asset IDs. If asset ID is present, events for the specified asset(s) will be returned. Max for this value is 2000 objects. (Example: 281474982859091,281471982957527) */
|
|
11
11
|
assetIds?: string | string[];
|
|
12
|
-
/** Optional string of comma separated labels to filter behavior labels. Uses OR semantics for filtering. An empty list allows all values. Valid values: `acceleration`, `braking`, `crash`, `drowsy`, `eatingDrinking`, `edgeRailroadCrossingViolation`, `followingDistance`, `forwardCollisionWarning`, `genericDistraction`, `harshTurn`, `heavySpeeding`, `laneDeparture`, `lightSpeeding`, `maxSpeed`, `mobileUsage`, `moderateSpeeding`, `noSeatbelt`, `obstructedCamera`, `passenger`, `policyViolationMask`, `ranRedLight`, `rearCollisionWarning`, `reversing`, `rollingStop`, `rolloverProtection`, `severeSpeeding`, `smoking`, `speeding`, `unsafeParking`, `vehicleInBlindSpotWarning`, `vulnerableRoadUserCollisionWarning`, `yawControl`. (Example: rollingStop,obstructedCamera,noSeatbelt) */
|
|
12
|
+
/** Optional string of comma separated labels to filter behavior labels. Uses OR semantics for filtering. An empty list allows all values. Valid values: `acceleration`, `braking`, `crash`, `drowsy`, `eatingDrinking`, `edgeRailroadCrossingViolation`, `followingDistance`, `forwardCollisionWarning`, `genericDistraction`, `harshImpact`, `harshTurn`, `heavySpeeding`, `laneDeparture`, `lightSpeeding`, `maxSpeed`, `mobileUsage`, `moderateSpeeding`, `noSeatbelt`, `obstructedCamera`, `passenger`, `policyViolationMask`, `ranRedLight`, `rearCollisionWarning`, `reversing`, `rollingStop`, `rolloverProtection`, `severeSpeeding`, `smoking`, `speeding`, `unsafeParking`, `vehicleInBlindSpotWarning`, `vulnerableRoadUserCollisionWarning`, `yawControl`. (Example: rollingStop,obstructedCamera,noSeatbelt) */
|
|
13
13
|
detectionBehaviorLabels?: string | string[];
|
|
14
14
|
/** Optional string of comma separated reasons to filter detections. Uses OR semantics for filtering. An empty list allows all values. Valid values: `overDailyLimit`, `overHourlyLimit`, `overTripLimit`, `belowConfidenceThreshold`, `belowSeverityThreshold`, `overEventRateLimit`, `geofenceFilter`, `belowNudgeThreshold`, `belowSpeedThreshold`, `nighttimeFilter`, `speedingFilter`, `inCabAlertOnly`, `unknown`. (Example: overDailyLimit,overHourlyLimit,belowConfidenceThreshold) */
|
|
15
15
|
inboxFilterReason?: string | string[];
|
|
@@ -23,7 +23,7 @@ export interface SafetyEventsV2PatchSafetyEventsV2BatchRequestBody {
|
|
|
23
23
|
export declare namespace SafetyEventsV2PatchSafetyEventsV2BatchRequestBody {
|
|
24
24
|
type BehaviorLabelsToAdd = BehaviorLabelsToAdd.Item[];
|
|
25
25
|
namespace BehaviorLabelsToAdd {
|
|
26
|
-
/** 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`, `HarshTurn`, `HeavySpeeding`, `HighSpeedSuddenDisconnect`, `HosViolation`, `Idling`, `Invalid`, `LaneDeparture`, `LateResponse`, `LeftTurn`, `LightSpeeding`, `MaxSpeed`, `MobileUsage`, `ModerateSpeeding`, `NearCollison`, `NearPedestrianCollision`, `NoSeatbelt`, `ObstructedCamera`, `OperationalEvent`, `OtherViolation`, `Passenger`, `PolicyViolationMask`, `ProtectiveEquipment`, `RanRedLight`, `RearCollisionWarning`, `Reversing`, `RollingStop`, `RolloverProtection`, `SevereSpeeding`, `Smoking`, `Speeding`, `UTurn`, `UnsafeManeuver`, `UnsafeParking`, `VehicleInBlindSpotWarning`, `VulnerableRoadUserCollisionWarning`, `YawControl` */
|
|
26
|
+
/** 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`, `RanRedLight`, `RearCollisionWarning`, `Reversing`, `RollingStop`, `RolloverProtection`, `SevereSpeeding`, `Smoking`, `Speeding`, `UTurn`, `UnsafeManeuver`, `UnsafeParking`, `VehicleInBlindSpotWarning`, `VulnerableRoadUserCollisionWarning`, `YawControl` */
|
|
27
27
|
const Item: {
|
|
28
28
|
readonly Acceleration: "Acceleration";
|
|
29
29
|
readonly AggressiveDriving: "AggressiveDriving";
|
|
@@ -48,6 +48,7 @@ export declare namespace SafetyEventsV2PatchSafetyEventsV2BatchRequestBody {
|
|
|
48
48
|
readonly ForwardCollisionWarning: "ForwardCollisionWarning";
|
|
49
49
|
readonly GenericDistraction: "GenericDistraction";
|
|
50
50
|
readonly GenericTailgating: "GenericTailgating";
|
|
51
|
+
readonly HarshImpact: "HarshImpact";
|
|
51
52
|
readonly HarshTurn: "HarshTurn";
|
|
52
53
|
readonly HeavySpeeding: "HeavySpeeding";
|
|
53
54
|
readonly HighSpeedSuddenDisconnect: "HighSpeedSuddenDisconnect";
|
|
@@ -89,7 +90,7 @@ export declare namespace SafetyEventsV2PatchSafetyEventsV2BatchRequestBody {
|
|
|
89
90
|
}
|
|
90
91
|
type BehaviorLabelsToRemove = BehaviorLabelsToRemove.Item[];
|
|
91
92
|
namespace BehaviorLabelsToRemove {
|
|
92
|
-
/** 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`, `HarshTurn`, `HeavySpeeding`, `HighSpeedSuddenDisconnect`, `HosViolation`, `Idling`, `Invalid`, `LaneDeparture`, `LateResponse`, `LeftTurn`, `LightSpeeding`, `MaxSpeed`, `MobileUsage`, `ModerateSpeeding`, `NearCollison`, `NearPedestrianCollision`, `NoSeatbelt`, `ObstructedCamera`, `OperationalEvent`, `OtherViolation`, `Passenger`, `PolicyViolationMask`, `ProtectiveEquipment`, `RanRedLight`, `RearCollisionWarning`, `Reversing`, `RollingStop`, `RolloverProtection`, `SevereSpeeding`, `Smoking`, `Speeding`, `UTurn`, `UnsafeManeuver`, `UnsafeParking`, `VehicleInBlindSpotWarning`, `VulnerableRoadUserCollisionWarning`, `YawControl` */
|
|
93
|
+
/** 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`, `RanRedLight`, `RearCollisionWarning`, `Reversing`, `RollingStop`, `RolloverProtection`, `SevereSpeeding`, `Smoking`, `Speeding`, `UTurn`, `UnsafeManeuver`, `UnsafeParking`, `VehicleInBlindSpotWarning`, `VulnerableRoadUserCollisionWarning`, `YawControl` */
|
|
93
94
|
const Item: {
|
|
94
95
|
readonly Acceleration: "Acceleration";
|
|
95
96
|
readonly AggressiveDriving: "AggressiveDriving";
|
|
@@ -114,6 +115,7 @@ export declare namespace SafetyEventsV2PatchSafetyEventsV2BatchRequestBody {
|
|
|
114
115
|
readonly ForwardCollisionWarning: "ForwardCollisionWarning";
|
|
115
116
|
readonly GenericDistraction: "GenericDistraction";
|
|
116
117
|
readonly GenericTailgating: "GenericTailgating";
|
|
118
|
+
readonly HarshImpact: "HarshImpact";
|
|
117
119
|
readonly HarshTurn: "HarshTurn";
|
|
118
120
|
readonly HeavySpeeding: "HeavySpeeding";
|
|
119
121
|
readonly HighSpeedSuddenDisconnect: "HighSpeedSuddenDisconnect";
|
|
@@ -6,7 +6,7 @@ var SafetyEventsV2PatchSafetyEventsV2BatchRequestBody;
|
|
|
6
6
|
(function (SafetyEventsV2PatchSafetyEventsV2BatchRequestBody) {
|
|
7
7
|
let BehaviorLabelsToAdd;
|
|
8
8
|
(function (BehaviorLabelsToAdd) {
|
|
9
|
-
/** 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`, `HarshTurn`, `HeavySpeeding`, `HighSpeedSuddenDisconnect`, `HosViolation`, `Idling`, `Invalid`, `LaneDeparture`, `LateResponse`, `LeftTurn`, `LightSpeeding`, `MaxSpeed`, `MobileUsage`, `ModerateSpeeding`, `NearCollison`, `NearPedestrianCollision`, `NoSeatbelt`, `ObstructedCamera`, `OperationalEvent`, `OtherViolation`, `Passenger`, `PolicyViolationMask`, `ProtectiveEquipment`, `RanRedLight`, `RearCollisionWarning`, `Reversing`, `RollingStop`, `RolloverProtection`, `SevereSpeeding`, `Smoking`, `Speeding`, `UTurn`, `UnsafeManeuver`, `UnsafeParking`, `VehicleInBlindSpotWarning`, `VulnerableRoadUserCollisionWarning`, `YawControl` */
|
|
9
|
+
/** 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`, `RanRedLight`, `RearCollisionWarning`, `Reversing`, `RollingStop`, `RolloverProtection`, `SevereSpeeding`, `Smoking`, `Speeding`, `UTurn`, `UnsafeManeuver`, `UnsafeParking`, `VehicleInBlindSpotWarning`, `VulnerableRoadUserCollisionWarning`, `YawControl` */
|
|
10
10
|
BehaviorLabelsToAdd.Item = {
|
|
11
11
|
Acceleration: "Acceleration",
|
|
12
12
|
AggressiveDriving: "AggressiveDriving",
|
|
@@ -31,6 +31,7 @@ var SafetyEventsV2PatchSafetyEventsV2BatchRequestBody;
|
|
|
31
31
|
ForwardCollisionWarning: "ForwardCollisionWarning",
|
|
32
32
|
GenericDistraction: "GenericDistraction",
|
|
33
33
|
GenericTailgating: "GenericTailgating",
|
|
34
|
+
HarshImpact: "HarshImpact",
|
|
34
35
|
HarshTurn: "HarshTurn",
|
|
35
36
|
HeavySpeeding: "HeavySpeeding",
|
|
36
37
|
HighSpeedSuddenDisconnect: "HighSpeedSuddenDisconnect",
|
|
@@ -71,7 +72,7 @@ var SafetyEventsV2PatchSafetyEventsV2BatchRequestBody;
|
|
|
71
72
|
})(BehaviorLabelsToAdd = SafetyEventsV2PatchSafetyEventsV2BatchRequestBody.BehaviorLabelsToAdd || (SafetyEventsV2PatchSafetyEventsV2BatchRequestBody.BehaviorLabelsToAdd = {}));
|
|
72
73
|
let BehaviorLabelsToRemove;
|
|
73
74
|
(function (BehaviorLabelsToRemove) {
|
|
74
|
-
/** 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`, `HarshTurn`, `HeavySpeeding`, `HighSpeedSuddenDisconnect`, `HosViolation`, `Idling`, `Invalid`, `LaneDeparture`, `LateResponse`, `LeftTurn`, `LightSpeeding`, `MaxSpeed`, `MobileUsage`, `ModerateSpeeding`, `NearCollison`, `NearPedestrianCollision`, `NoSeatbelt`, `ObstructedCamera`, `OperationalEvent`, `OtherViolation`, `Passenger`, `PolicyViolationMask`, `ProtectiveEquipment`, `RanRedLight`, `RearCollisionWarning`, `Reversing`, `RollingStop`, `RolloverProtection`, `SevereSpeeding`, `Smoking`, `Speeding`, `UTurn`, `UnsafeManeuver`, `UnsafeParking`, `VehicleInBlindSpotWarning`, `VulnerableRoadUserCollisionWarning`, `YawControl` */
|
|
75
|
+
/** 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`, `RanRedLight`, `RearCollisionWarning`, `Reversing`, `RollingStop`, `RolloverProtection`, `SevereSpeeding`, `Smoking`, `Speeding`, `UTurn`, `UnsafeManeuver`, `UnsafeParking`, `VehicleInBlindSpotWarning`, `VulnerableRoadUserCollisionWarning`, `YawControl` */
|
|
75
76
|
BehaviorLabelsToRemove.Item = {
|
|
76
77
|
Acceleration: "Acceleration",
|
|
77
78
|
AggressiveDriving: "AggressiveDriving",
|
|
@@ -96,6 +97,7 @@ var SafetyEventsV2PatchSafetyEventsV2BatchRequestBody;
|
|
|
96
97
|
ForwardCollisionWarning: "ForwardCollisionWarning",
|
|
97
98
|
GenericDistraction: "GenericDistraction",
|
|
98
99
|
GenericTailgating: "GenericTailgating",
|
|
100
|
+
HarshImpact: "HarshImpact",
|
|
99
101
|
HarshTurn: "HarshTurn",
|
|
100
102
|
HeavySpeeding: "HeavySpeeding",
|
|
101
103
|
HighSpeedSuddenDisconnect: "HighSpeedSuddenDisconnect",
|
|
@@ -27,6 +27,7 @@ export interface CreateDriverRequest {
|
|
|
27
27
|
eldPcEnabled?: boolean;
|
|
28
28
|
/** Flag indicating this driver may select the Yard Move duty status in ELD logs. */
|
|
29
29
|
eldYmEnabled?: boolean;
|
|
30
|
+
email?: Samsara.DriverEmail;
|
|
30
31
|
/** The [external IDs](https://developers.samsara.com/docs/external-ids) for the given object. */
|
|
31
32
|
externalIds?: Record<string, string>;
|
|
32
33
|
hasDrivingFeaturesHidden?: Samsara.DriverHasDrivingFeaturesHidden;
|
|
@@ -31,6 +31,7 @@ export interface UpdateDriverRequest {
|
|
|
31
31
|
eldPcEnabled?: boolean;
|
|
32
32
|
/** Flag indicating this driver may select the Yard Move duty status in ELD logs. */
|
|
33
33
|
eldYmEnabled?: boolean;
|
|
34
|
+
email?: Samsara.DriverEmail;
|
|
34
35
|
/** The [external IDs](https://developers.samsara.com/docs/external-ids) for the given object. */
|
|
35
36
|
externalIds?: Record<string, string>;
|
|
36
37
|
hasDrivingFeaturesHidden?: Samsara.DriverHasDrivingFeaturesHidden;
|
|
@@ -13,13 +13,13 @@ export interface DetectionLogDetectionObjectResponseBody {
|
|
|
13
13
|
inCabAlertPlayed: boolean;
|
|
14
14
|
/** Details on the associated safety event generated. Always returned. */
|
|
15
15
|
safetyEvent: Samsara.DetectionLogSafetyEventObjectResponseBody[];
|
|
16
|
-
/** The label associated with the detection. Always returned. Valid values: `acceleration`, `braking`, `crash`, `drowsy`, `eatingDrinking`, `edgeRailroadCrossingViolation`, `followingDistance`, `forwardCollisionWarning`, `genericDistraction`, `harshTurn`, `heavySpeeding`, `laneDeparture`, `lightSpeeding`, `maxSpeed`, `mobileUsage`, `moderateSpeeding`, `noSeatbelt`, `obstructedCamera`, `passenger`, `policyViolationMask`, `ranRedLight`, `rearCollisionWarning`, `reversing`, `rollingStop`, `rolloverProtection`, `severeSpeeding`, `smoking`, `speeding`, `unsafeParking`, `vehicleInBlindSpotWarning`, `vulnerableRoadUserCollisionWarning`, `yawControl` */
|
|
16
|
+
/** 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`, `ranRedLight`, `rearCollisionWarning`, `reversing`, `rollingStop`, `rolloverProtection`, `severeSpeeding`, `smoking`, `speeding`, `unsafeParking`, `vehicleInBlindSpotWarning`, `vulnerableRoadUserCollisionWarning`, `yawControl` */
|
|
17
17
|
triggerDetectionLabel: DetectionLogDetectionObjectResponseBody.TriggerDetectionLabel;
|
|
18
18
|
/** Time the detection was updated in Samsara in UTC. RFC 3339 format. Always returned. */
|
|
19
19
|
updatedAtTime: string;
|
|
20
20
|
}
|
|
21
21
|
export declare namespace DetectionLogDetectionObjectResponseBody {
|
|
22
|
-
/** The label associated with the detection. Always returned. Valid values: `acceleration`, `braking`, `crash`, `drowsy`, `eatingDrinking`, `edgeRailroadCrossingViolation`, `followingDistance`, `forwardCollisionWarning`, `genericDistraction`, `harshTurn`, `heavySpeeding`, `laneDeparture`, `lightSpeeding`, `maxSpeed`, `mobileUsage`, `moderateSpeeding`, `noSeatbelt`, `obstructedCamera`, `passenger`, `policyViolationMask`, `ranRedLight`, `rearCollisionWarning`, `reversing`, `rollingStop`, `rolloverProtection`, `severeSpeeding`, `smoking`, `speeding`, `unsafeParking`, `vehicleInBlindSpotWarning`, `vulnerableRoadUserCollisionWarning`, `yawControl` */
|
|
22
|
+
/** 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`, `ranRedLight`, `rearCollisionWarning`, `reversing`, `rollingStop`, `rolloverProtection`, `severeSpeeding`, `smoking`, `speeding`, `unsafeParking`, `vehicleInBlindSpotWarning`, `vulnerableRoadUserCollisionWarning`, `yawControl` */
|
|
23
23
|
const TriggerDetectionLabel: {
|
|
24
24
|
readonly Acceleration: "acceleration";
|
|
25
25
|
readonly Braking: "braking";
|
|
@@ -30,6 +30,7 @@ export declare namespace DetectionLogDetectionObjectResponseBody {
|
|
|
30
30
|
readonly FollowingDistance: "followingDistance";
|
|
31
31
|
readonly ForwardCollisionWarning: "forwardCollisionWarning";
|
|
32
32
|
readonly GenericDistraction: "genericDistraction";
|
|
33
|
+
readonly HarshImpact: "harshImpact";
|
|
33
34
|
readonly HarshTurn: "harshTurn";
|
|
34
35
|
readonly HeavySpeeding: "heavySpeeding";
|
|
35
36
|
readonly LaneDeparture: "laneDeparture";
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
4
4
|
exports.DetectionLogDetectionObjectResponseBody = void 0;
|
|
5
5
|
var DetectionLogDetectionObjectResponseBody;
|
|
6
6
|
(function (DetectionLogDetectionObjectResponseBody) {
|
|
7
|
-
/** The label associated with the detection. Always returned. Valid values: `acceleration`, `braking`, `crash`, `drowsy`, `eatingDrinking`, `edgeRailroadCrossingViolation`, `followingDistance`, `forwardCollisionWarning`, `genericDistraction`, `harshTurn`, `heavySpeeding`, `laneDeparture`, `lightSpeeding`, `maxSpeed`, `mobileUsage`, `moderateSpeeding`, `noSeatbelt`, `obstructedCamera`, `passenger`, `policyViolationMask`, `ranRedLight`, `rearCollisionWarning`, `reversing`, `rollingStop`, `rolloverProtection`, `severeSpeeding`, `smoking`, `speeding`, `unsafeParking`, `vehicleInBlindSpotWarning`, `vulnerableRoadUserCollisionWarning`, `yawControl` */
|
|
7
|
+
/** 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`, `ranRedLight`, `rearCollisionWarning`, `reversing`, `rollingStop`, `rolloverProtection`, `severeSpeeding`, `smoking`, `speeding`, `unsafeParking`, `vehicleInBlindSpotWarning`, `vulnerableRoadUserCollisionWarning`, `yawControl` */
|
|
8
8
|
DetectionLogDetectionObjectResponseBody.TriggerDetectionLabel = {
|
|
9
9
|
Acceleration: "acceleration",
|
|
10
10
|
Braking: "braking",
|
|
@@ -15,6 +15,7 @@ var DetectionLogDetectionObjectResponseBody;
|
|
|
15
15
|
FollowingDistance: "followingDistance",
|
|
16
16
|
ForwardCollisionWarning: "forwardCollisionWarning",
|
|
17
17
|
GenericDistraction: "genericDistraction",
|
|
18
|
+
HarshImpact: "harshImpact",
|
|
18
19
|
HarshTurn: "harshTurn",
|
|
19
20
|
HeavySpeeding: "heavySpeeding",
|
|
20
21
|
LaneDeparture: "laneDeparture",
|
|
@@ -18,6 +18,7 @@ export interface Driver {
|
|
|
18
18
|
eldPcEnabled?: Samsara.DriverEldPcEnabled | undefined;
|
|
19
19
|
eldSettings?: Samsara.DriverEldSettings | undefined;
|
|
20
20
|
eldYmEnabled?: Samsara.DriverEldYmEnabled | undefined;
|
|
21
|
+
email?: Samsara.DriverEmail | undefined;
|
|
21
22
|
externalIds?: Samsara.DriverExternalIds | undefined;
|
|
22
23
|
hasDrivingFeaturesHidden?: Samsara.DriverHasDrivingFeaturesHidden | undefined;
|
|
23
24
|
hasVehicleUnpinningEnabled?: Samsara.DriverHasVehicleUnpinningEnabled | undefined;
|
|
@@ -8,7 +8,7 @@ export interface HarshEventTriggerDetailsObjectRequestBody {
|
|
|
8
8
|
export declare namespace HarshEventTriggerDetailsObjectRequestBody {
|
|
9
9
|
type Types = Types.Item[];
|
|
10
10
|
namespace Types {
|
|
11
|
-
/** The type of harsh event. Valid values: `haAccel`, `haBraking`, `haCameraMisaligned`, `haCrash`, `haDistractedDriving`, `haDistractedDrivingCalibration`, `haDrinkPolicy`, `haDriverObstructionPolicy`, `haDrowsinessDetection`, `haEvent`, `haFalsePositive`, `haFoodPolicy`, `haHighSpeedSuddenDisconnect`, `haInvalid`, `haLaneDeparture`, `haMaskPolicy`, `haNearCollision`, `haOutwardObstructionPolicy`, `haPassengerPolicy`, `haPersonalProtectiveEquipment`, `haPhonePolicy`, `haPolicyDetector`, `haRearCollisionWarning`, `haRedLightViolation`, `haReversing`, `haRolledStopSign`, `haRollover`, `haRolloverProtectionBrakeControlActivated`, `haRolloverProtectionEngineControlActivated`, `haSeatbeltPolicy`, `haSharpTurn`, `haSignDetection`, `haSmokingPolicy`, `haSpeeding`, `haTailgating`, `haTileRollingRailroadCrossing`, `haTileRollingStopSign`, `haTrafficLightDetection`, `haUnsafeParking`, `haVehicleInBlindSpotWarning`, `haVulnerableRoadUserCollisionWarning`, `haYawControlBrakeControlActivated`, `haYawControlEngineControlActivated` */
|
|
11
|
+
/** The type of harsh event. Valid values: `haAccel`, `haBraking`, `haCameraMisaligned`, `haCrash`, `haDistractedDriving`, `haDistractedDrivingCalibration`, `haDrinkPolicy`, `haDriverObstructionPolicy`, `haDrowsinessDetection`, `haEvent`, `haFalsePositive`, `haFoodPolicy`, `haHighSpeedSuddenDisconnect`, `haImpact`, `haInvalid`, `haLaneDeparture`, `haMaskPolicy`, `haNearCollision`, `haOutwardObstructionPolicy`, `haPassengerPolicy`, `haPersonalProtectiveEquipment`, `haPhonePolicy`, `haPolicyDetector`, `haRearCollisionWarning`, `haRedLightViolation`, `haReversing`, `haRolledStopSign`, `haRollover`, `haRolloverProtectionBrakeControlActivated`, `haRolloverProtectionEngineControlActivated`, `haSeatbeltPolicy`, `haSharpTurn`, `haSignDetection`, `haSmokingPolicy`, `haSpeeding`, `haTailgating`, `haTileRollingRailroadCrossing`, `haTileRollingStopSign`, `haTrafficLightDetection`, `haUnsafeParking`, `haVehicleInBlindSpotWarning`, `haVulnerableRoadUserCollisionWarning`, `haYawControlBrakeControlActivated`, `haYawControlEngineControlActivated` */
|
|
12
12
|
const Item: {
|
|
13
13
|
readonly HaAccel: "haAccel";
|
|
14
14
|
readonly HaBraking: "haBraking";
|
|
@@ -23,6 +23,7 @@ export declare namespace HarshEventTriggerDetailsObjectRequestBody {
|
|
|
23
23
|
readonly HaFalsePositive: "haFalsePositive";
|
|
24
24
|
readonly HaFoodPolicy: "haFoodPolicy";
|
|
25
25
|
readonly HaHighSpeedSuddenDisconnect: "haHighSpeedSuddenDisconnect";
|
|
26
|
+
readonly HaImpact: "haImpact";
|
|
26
27
|
readonly HaInvalid: "haInvalid";
|
|
27
28
|
readonly HaLaneDeparture: "haLaneDeparture";
|
|
28
29
|
readonly HaMaskPolicy: "haMaskPolicy";
|
|
@@ -6,7 +6,7 @@ var HarshEventTriggerDetailsObjectRequestBody;
|
|
|
6
6
|
(function (HarshEventTriggerDetailsObjectRequestBody) {
|
|
7
7
|
let Types;
|
|
8
8
|
(function (Types) {
|
|
9
|
-
/** The type of harsh event. Valid values: `haAccel`, `haBraking`, `haCameraMisaligned`, `haCrash`, `haDistractedDriving`, `haDistractedDrivingCalibration`, `haDrinkPolicy`, `haDriverObstructionPolicy`, `haDrowsinessDetection`, `haEvent`, `haFalsePositive`, `haFoodPolicy`, `haHighSpeedSuddenDisconnect`, `haInvalid`, `haLaneDeparture`, `haMaskPolicy`, `haNearCollision`, `haOutwardObstructionPolicy`, `haPassengerPolicy`, `haPersonalProtectiveEquipment`, `haPhonePolicy`, `haPolicyDetector`, `haRearCollisionWarning`, `haRedLightViolation`, `haReversing`, `haRolledStopSign`, `haRollover`, `haRolloverProtectionBrakeControlActivated`, `haRolloverProtectionEngineControlActivated`, `haSeatbeltPolicy`, `haSharpTurn`, `haSignDetection`, `haSmokingPolicy`, `haSpeeding`, `haTailgating`, `haTileRollingRailroadCrossing`, `haTileRollingStopSign`, `haTrafficLightDetection`, `haUnsafeParking`, `haVehicleInBlindSpotWarning`, `haVulnerableRoadUserCollisionWarning`, `haYawControlBrakeControlActivated`, `haYawControlEngineControlActivated` */
|
|
9
|
+
/** The type of harsh event. Valid values: `haAccel`, `haBraking`, `haCameraMisaligned`, `haCrash`, `haDistractedDriving`, `haDistractedDrivingCalibration`, `haDrinkPolicy`, `haDriverObstructionPolicy`, `haDrowsinessDetection`, `haEvent`, `haFalsePositive`, `haFoodPolicy`, `haHighSpeedSuddenDisconnect`, `haImpact`, `haInvalid`, `haLaneDeparture`, `haMaskPolicy`, `haNearCollision`, `haOutwardObstructionPolicy`, `haPassengerPolicy`, `haPersonalProtectiveEquipment`, `haPhonePolicy`, `haPolicyDetector`, `haRearCollisionWarning`, `haRedLightViolation`, `haReversing`, `haRolledStopSign`, `haRollover`, `haRolloverProtectionBrakeControlActivated`, `haRolloverProtectionEngineControlActivated`, `haSeatbeltPolicy`, `haSharpTurn`, `haSignDetection`, `haSmokingPolicy`, `haSpeeding`, `haTailgating`, `haTileRollingRailroadCrossing`, `haTileRollingStopSign`, `haTrafficLightDetection`, `haUnsafeParking`, `haVehicleInBlindSpotWarning`, `haVulnerableRoadUserCollisionWarning`, `haYawControlBrakeControlActivated`, `haYawControlEngineControlActivated` */
|
|
10
10
|
Types.Item = {
|
|
11
11
|
HaAccel: "haAccel",
|
|
12
12
|
HaBraking: "haBraking",
|
|
@@ -21,6 +21,7 @@ var HarshEventTriggerDetailsObjectRequestBody;
|
|
|
21
21
|
HaFalsePositive: "haFalsePositive",
|
|
22
22
|
HaFoodPolicy: "haFoodPolicy",
|
|
23
23
|
HaHighSpeedSuddenDisconnect: "haHighSpeedSuddenDisconnect",
|
|
24
|
+
HaImpact: "haImpact",
|
|
24
25
|
HaInvalid: "haInvalid",
|
|
25
26
|
HaLaneDeparture: "haLaneDeparture",
|
|
26
27
|
HaMaskPolicy: "haMaskPolicy",
|
|
@@ -8,7 +8,7 @@ export interface HarshEventTriggerDetailsObjectResponseBody {
|
|
|
8
8
|
export declare namespace HarshEventTriggerDetailsObjectResponseBody {
|
|
9
9
|
type Types = Types.Item[];
|
|
10
10
|
namespace Types {
|
|
11
|
-
/** The type of harsh event. Valid values: `haAccel`, `haBraking`, `haCameraMisaligned`, `haCrash`, `haDistractedDriving`, `haDistractedDrivingCalibration`, `haDrinkPolicy`, `haDriverObstructionPolicy`, `haDrowsinessDetection`, `haEvent`, `haFalsePositive`, `haFoodPolicy`, `haHighSpeedSuddenDisconnect`, `haInvalid`, `haLaneDeparture`, `haMaskPolicy`, `haNearCollision`, `haOutwardObstructionPolicy`, `haPassengerPolicy`, `haPersonalProtectiveEquipment`, `haPhonePolicy`, `haPolicyDetector`, `haRearCollisionWarning`, `haRedLightViolation`, `haReversing`, `haRolledStopSign`, `haRollover`, `haRolloverProtectionBrakeControlActivated`, `haRolloverProtectionEngineControlActivated`, `haSeatbeltPolicy`, `haSharpTurn`, `haSignDetection`, `haSmokingPolicy`, `haSpeeding`, `haTailgating`, `haTileRollingRailroadCrossing`, `haTileRollingStopSign`, `haTrafficLightDetection`, `haUnsafeParking`, `haVehicleInBlindSpotWarning`, `haVulnerableRoadUserCollisionWarning`, `haYawControlBrakeControlActivated`, `haYawControlEngineControlActivated` */
|
|
11
|
+
/** The type of harsh event. Valid values: `haAccel`, `haBraking`, `haCameraMisaligned`, `haCrash`, `haDistractedDriving`, `haDistractedDrivingCalibration`, `haDrinkPolicy`, `haDriverObstructionPolicy`, `haDrowsinessDetection`, `haEvent`, `haFalsePositive`, `haFoodPolicy`, `haHighSpeedSuddenDisconnect`, `haImpact`, `haInvalid`, `haLaneDeparture`, `haMaskPolicy`, `haNearCollision`, `haOutwardObstructionPolicy`, `haPassengerPolicy`, `haPersonalProtectiveEquipment`, `haPhonePolicy`, `haPolicyDetector`, `haRearCollisionWarning`, `haRedLightViolation`, `haReversing`, `haRolledStopSign`, `haRollover`, `haRolloverProtectionBrakeControlActivated`, `haRolloverProtectionEngineControlActivated`, `haSeatbeltPolicy`, `haSharpTurn`, `haSignDetection`, `haSmokingPolicy`, `haSpeeding`, `haTailgating`, `haTileRollingRailroadCrossing`, `haTileRollingStopSign`, `haTrafficLightDetection`, `haUnsafeParking`, `haVehicleInBlindSpotWarning`, `haVulnerableRoadUserCollisionWarning`, `haYawControlBrakeControlActivated`, `haYawControlEngineControlActivated` */
|
|
12
12
|
const Item: {
|
|
13
13
|
readonly HaAccel: "haAccel";
|
|
14
14
|
readonly HaBraking: "haBraking";
|
|
@@ -23,6 +23,7 @@ export declare namespace HarshEventTriggerDetailsObjectResponseBody {
|
|
|
23
23
|
readonly HaFalsePositive: "haFalsePositive";
|
|
24
24
|
readonly HaFoodPolicy: "haFoodPolicy";
|
|
25
25
|
readonly HaHighSpeedSuddenDisconnect: "haHighSpeedSuddenDisconnect";
|
|
26
|
+
readonly HaImpact: "haImpact";
|
|
26
27
|
readonly HaInvalid: "haInvalid";
|
|
27
28
|
readonly HaLaneDeparture: "haLaneDeparture";
|
|
28
29
|
readonly HaMaskPolicy: "haMaskPolicy";
|
|
@@ -6,7 +6,7 @@ var HarshEventTriggerDetailsObjectResponseBody;
|
|
|
6
6
|
(function (HarshEventTriggerDetailsObjectResponseBody) {
|
|
7
7
|
let Types;
|
|
8
8
|
(function (Types) {
|
|
9
|
-
/** The type of harsh event. Valid values: `haAccel`, `haBraking`, `haCameraMisaligned`, `haCrash`, `haDistractedDriving`, `haDistractedDrivingCalibration`, `haDrinkPolicy`, `haDriverObstructionPolicy`, `haDrowsinessDetection`, `haEvent`, `haFalsePositive`, `haFoodPolicy`, `haHighSpeedSuddenDisconnect`, `haInvalid`, `haLaneDeparture`, `haMaskPolicy`, `haNearCollision`, `haOutwardObstructionPolicy`, `haPassengerPolicy`, `haPersonalProtectiveEquipment`, `haPhonePolicy`, `haPolicyDetector`, `haRearCollisionWarning`, `haRedLightViolation`, `haReversing`, `haRolledStopSign`, `haRollover`, `haRolloverProtectionBrakeControlActivated`, `haRolloverProtectionEngineControlActivated`, `haSeatbeltPolicy`, `haSharpTurn`, `haSignDetection`, `haSmokingPolicy`, `haSpeeding`, `haTailgating`, `haTileRollingRailroadCrossing`, `haTileRollingStopSign`, `haTrafficLightDetection`, `haUnsafeParking`, `haVehicleInBlindSpotWarning`, `haVulnerableRoadUserCollisionWarning`, `haYawControlBrakeControlActivated`, `haYawControlEngineControlActivated` */
|
|
9
|
+
/** The type of harsh event. Valid values: `haAccel`, `haBraking`, `haCameraMisaligned`, `haCrash`, `haDistractedDriving`, `haDistractedDrivingCalibration`, `haDrinkPolicy`, `haDriverObstructionPolicy`, `haDrowsinessDetection`, `haEvent`, `haFalsePositive`, `haFoodPolicy`, `haHighSpeedSuddenDisconnect`, `haImpact`, `haInvalid`, `haLaneDeparture`, `haMaskPolicy`, `haNearCollision`, `haOutwardObstructionPolicy`, `haPassengerPolicy`, `haPersonalProtectiveEquipment`, `haPhonePolicy`, `haPolicyDetector`, `haRearCollisionWarning`, `haRedLightViolation`, `haReversing`, `haRolledStopSign`, `haRollover`, `haRolloverProtectionBrakeControlActivated`, `haRolloverProtectionEngineControlActivated`, `haSeatbeltPolicy`, `haSharpTurn`, `haSignDetection`, `haSmokingPolicy`, `haSpeeding`, `haTailgating`, `haTileRollingRailroadCrossing`, `haTileRollingStopSign`, `haTrafficLightDetection`, `haUnsafeParking`, `haVehicleInBlindSpotWarning`, `haVulnerableRoadUserCollisionWarning`, `haYawControlBrakeControlActivated`, `haYawControlEngineControlActivated` */
|
|
10
10
|
Types.Item = {
|
|
11
11
|
HaAccel: "haAccel",
|
|
12
12
|
HaBraking: "haBraking",
|
|
@@ -21,6 +21,7 @@ var HarshEventTriggerDetailsObjectResponseBody;
|
|
|
21
21
|
HaFalsePositive: "haFalsePositive",
|
|
22
22
|
HaFoodPolicy: "haFoodPolicy",
|
|
23
23
|
HaHighSpeedSuddenDisconnect: "haHighSpeedSuddenDisconnect",
|
|
24
|
+
HaImpact: "haImpact",
|
|
24
25
|
HaInvalid: "haInvalid",
|
|
25
26
|
HaLaneDeparture: "haLaneDeparture",
|
|
26
27
|
HaMaskPolicy: "haMaskPolicy",
|
|
@@ -16,7 +16,7 @@ export interface SafetyBehaviorTriggerDetailsObjectRequestBody {
|
|
|
16
16
|
export declare namespace SafetyBehaviorTriggerDetailsObjectRequestBody {
|
|
17
17
|
type Behaviors = Behaviors.Item[];
|
|
18
18
|
namespace Behaviors {
|
|
19
|
-
/** The type of safety behavior. Valid values: `Acceleration`, `AggressiveDriving`, `BluetoothHeadset`, `Braking`, `ContextConstructionOrWorkZone`, `ContextSnowyOrIcy`, `ContextVulnerableRoadUser`, `ContextWet`, `Crash`, `CustomerCustomEvent1`, `CustomerCustomEvent10`, `CustomerCustomEvent2`, `CustomerCustomEvent3`, `CustomerCustomEvent4`, `CustomerCustomEvent5`, `CustomerCustomEvent6`, `CustomerCustomEvent7`, `CustomerCustomEvent8`, `CustomerCustomEvent9`, `DefensiveDriving`, `DidNotYield`, `Drinking`, `Drowsy`, `Eating`, `EatingDrinking`, `EdgeDistractedDriving`, `EdgeRailroadCrossingViolation`, `FollowingDistance`, `FollowingDistanceModerate`, `FollowingDistanceSevere`, `ForwardCollisionWarning`, `GenericDistraction`, `GenericTailgating`, `HarshTurn`, `HeavySpeeding`, `HighSpeedSuddenDisconnect`, `HosViolation`, `Idling`, `Invalid`, `LaneDeparture`, `LateResponse`, `LeftTurn`, `LightSpeeding`, `MaxSpeed`, `MobileUsage`, `ModerateSpeeding`, `NearCollison`, `NearPedestrianCollision`, `NoSeatbelt`, `ObstructedCamera`, `OtherViolation`, `Passenger`, `PolicyViolationMask`, `ProtectiveEquipment`, `RanRedLight`, `Reversing`, `RollingStop`, `RolloverProtection`, `SamsaraCustomEvent1`, `SamsaraCustomEvent10`, `SamsaraCustomEvent2`, `SamsaraCustomEvent3`, `SamsaraCustomEvent4`, `SamsaraCustomEvent5`, `SamsaraCustomEvent6`, `SamsaraCustomEvent7`, `SamsaraCustomEvent8`, `SamsaraCustomEvent9`, `SevereSpeeding`, `Smoking`, `Speeding`, `UTurn`, `UnsafeManeuver`, `UnsafeParking`, `VehicleInBlindSpotWarning`, `VulnerableRoadUserCollisionWarning`, `YawControl` */
|
|
19
|
+
/** The type of safety behavior. Valid values: `Acceleration`, `AggressiveDriving`, `BluetoothHeadset`, `Braking`, `ContextConstructionOrWorkZone`, `ContextSnowyOrIcy`, `ContextVulnerableRoadUser`, `ContextWet`, `Crash`, `CustomerCustomEvent1`, `CustomerCustomEvent10`, `CustomerCustomEvent2`, `CustomerCustomEvent3`, `CustomerCustomEvent4`, `CustomerCustomEvent5`, `CustomerCustomEvent6`, `CustomerCustomEvent7`, `CustomerCustomEvent8`, `CustomerCustomEvent9`, `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`, `OtherViolation`, `Passenger`, `PolicyViolationMask`, `ProtectiveEquipment`, `RanRedLight`, `Reversing`, `RollingStop`, `RolloverProtection`, `SamsaraCustomEvent1`, `SamsaraCustomEvent10`, `SamsaraCustomEvent2`, `SamsaraCustomEvent3`, `SamsaraCustomEvent4`, `SamsaraCustomEvent5`, `SamsaraCustomEvent6`, `SamsaraCustomEvent7`, `SamsaraCustomEvent8`, `SamsaraCustomEvent9`, `SevereSpeeding`, `Smoking`, `Speeding`, `UTurn`, `UnsafeManeuver`, `UnsafeParking`, `VehicleInBlindSpotWarning`, `VulnerableRoadUserCollisionWarning`, `YawControl` */
|
|
20
20
|
const Item: {
|
|
21
21
|
readonly Acceleration: "Acceleration";
|
|
22
22
|
readonly AggressiveDriving: "AggressiveDriving";
|
|
@@ -51,6 +51,7 @@ export declare namespace SafetyBehaviorTriggerDetailsObjectRequestBody {
|
|
|
51
51
|
readonly ForwardCollisionWarning: "ForwardCollisionWarning";
|
|
52
52
|
readonly GenericDistraction: "GenericDistraction";
|
|
53
53
|
readonly GenericTailgating: "GenericTailgating";
|
|
54
|
+
readonly HarshImpact: "HarshImpact";
|
|
54
55
|
readonly HarshTurn: "HarshTurn";
|
|
55
56
|
readonly HeavySpeeding: "HeavySpeeding";
|
|
56
57
|
readonly HighSpeedSuddenDisconnect: "HighSpeedSuddenDisconnect";
|
|
@@ -6,7 +6,7 @@ var SafetyBehaviorTriggerDetailsObjectRequestBody;
|
|
|
6
6
|
(function (SafetyBehaviorTriggerDetailsObjectRequestBody) {
|
|
7
7
|
let Behaviors;
|
|
8
8
|
(function (Behaviors) {
|
|
9
|
-
/** The type of safety behavior. Valid values: `Acceleration`, `AggressiveDriving`, `BluetoothHeadset`, `Braking`, `ContextConstructionOrWorkZone`, `ContextSnowyOrIcy`, `ContextVulnerableRoadUser`, `ContextWet`, `Crash`, `CustomerCustomEvent1`, `CustomerCustomEvent10`, `CustomerCustomEvent2`, `CustomerCustomEvent3`, `CustomerCustomEvent4`, `CustomerCustomEvent5`, `CustomerCustomEvent6`, `CustomerCustomEvent7`, `CustomerCustomEvent8`, `CustomerCustomEvent9`, `DefensiveDriving`, `DidNotYield`, `Drinking`, `Drowsy`, `Eating`, `EatingDrinking`, `EdgeDistractedDriving`, `EdgeRailroadCrossingViolation`, `FollowingDistance`, `FollowingDistanceModerate`, `FollowingDistanceSevere`, `ForwardCollisionWarning`, `GenericDistraction`, `GenericTailgating`, `HarshTurn`, `HeavySpeeding`, `HighSpeedSuddenDisconnect`, `HosViolation`, `Idling`, `Invalid`, `LaneDeparture`, `LateResponse`, `LeftTurn`, `LightSpeeding`, `MaxSpeed`, `MobileUsage`, `ModerateSpeeding`, `NearCollison`, `NearPedestrianCollision`, `NoSeatbelt`, `ObstructedCamera`, `OtherViolation`, `Passenger`, `PolicyViolationMask`, `ProtectiveEquipment`, `RanRedLight`, `Reversing`, `RollingStop`, `RolloverProtection`, `SamsaraCustomEvent1`, `SamsaraCustomEvent10`, `SamsaraCustomEvent2`, `SamsaraCustomEvent3`, `SamsaraCustomEvent4`, `SamsaraCustomEvent5`, `SamsaraCustomEvent6`, `SamsaraCustomEvent7`, `SamsaraCustomEvent8`, `SamsaraCustomEvent9`, `SevereSpeeding`, `Smoking`, `Speeding`, `UTurn`, `UnsafeManeuver`, `UnsafeParking`, `VehicleInBlindSpotWarning`, `VulnerableRoadUserCollisionWarning`, `YawControl` */
|
|
9
|
+
/** The type of safety behavior. Valid values: `Acceleration`, `AggressiveDriving`, `BluetoothHeadset`, `Braking`, `ContextConstructionOrWorkZone`, `ContextSnowyOrIcy`, `ContextVulnerableRoadUser`, `ContextWet`, `Crash`, `CustomerCustomEvent1`, `CustomerCustomEvent10`, `CustomerCustomEvent2`, `CustomerCustomEvent3`, `CustomerCustomEvent4`, `CustomerCustomEvent5`, `CustomerCustomEvent6`, `CustomerCustomEvent7`, `CustomerCustomEvent8`, `CustomerCustomEvent9`, `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`, `OtherViolation`, `Passenger`, `PolicyViolationMask`, `ProtectiveEquipment`, `RanRedLight`, `Reversing`, `RollingStop`, `RolloverProtection`, `SamsaraCustomEvent1`, `SamsaraCustomEvent10`, `SamsaraCustomEvent2`, `SamsaraCustomEvent3`, `SamsaraCustomEvent4`, `SamsaraCustomEvent5`, `SamsaraCustomEvent6`, `SamsaraCustomEvent7`, `SamsaraCustomEvent8`, `SamsaraCustomEvent9`, `SevereSpeeding`, `Smoking`, `Speeding`, `UTurn`, `UnsafeManeuver`, `UnsafeParking`, `VehicleInBlindSpotWarning`, `VulnerableRoadUserCollisionWarning`, `YawControl` */
|
|
10
10
|
Behaviors.Item = {
|
|
11
11
|
Acceleration: "Acceleration",
|
|
12
12
|
AggressiveDriving: "AggressiveDriving",
|
|
@@ -41,6 +41,7 @@ var SafetyBehaviorTriggerDetailsObjectRequestBody;
|
|
|
41
41
|
ForwardCollisionWarning: "ForwardCollisionWarning",
|
|
42
42
|
GenericDistraction: "GenericDistraction",
|
|
43
43
|
GenericTailgating: "GenericTailgating",
|
|
44
|
+
HarshImpact: "HarshImpact",
|
|
44
45
|
HarshTurn: "HarshTurn",
|
|
45
46
|
HeavySpeeding: "HeavySpeeding",
|
|
46
47
|
HighSpeedSuddenDisconnect: "HighSpeedSuddenDisconnect",
|
|
@@ -16,7 +16,7 @@ export interface SafetyBehaviorTriggerDetailsObjectResponseBody {
|
|
|
16
16
|
export declare namespace SafetyBehaviorTriggerDetailsObjectResponseBody {
|
|
17
17
|
type Behaviors = Behaviors.Item[];
|
|
18
18
|
namespace Behaviors {
|
|
19
|
-
/** The type of safety behavior. Valid values: `Acceleration`, `AggressiveDriving`, `BluetoothHeadset`, `Braking`, `ContextConstructionOrWorkZone`, `ContextSnowyOrIcy`, `ContextVulnerableRoadUser`, `ContextWet`, `Crash`, `CustomerCustomEvent1`, `CustomerCustomEvent10`, `CustomerCustomEvent2`, `CustomerCustomEvent3`, `CustomerCustomEvent4`, `CustomerCustomEvent5`, `CustomerCustomEvent6`, `CustomerCustomEvent7`, `CustomerCustomEvent8`, `CustomerCustomEvent9`, `DefensiveDriving`, `DidNotYield`, `Drinking`, `Drowsy`, `Eating`, `EatingDrinking`, `EdgeDistractedDriving`, `EdgeRailroadCrossingViolation`, `FollowingDistance`, `FollowingDistanceModerate`, `FollowingDistanceSevere`, `ForwardCollisionWarning`, `GenericDistraction`, `GenericTailgating`, `HarshTurn`, `HeavySpeeding`, `HighSpeedSuddenDisconnect`, `HosViolation`, `Idling`, `Invalid`, `LaneDeparture`, `LateResponse`, `LeftTurn`, `LightSpeeding`, `MaxSpeed`, `MobileUsage`, `ModerateSpeeding`, `NearCollison`, `NearPedestrianCollision`, `NoSeatbelt`, `ObstructedCamera`, `OtherViolation`, `Passenger`, `PolicyViolationMask`, `ProtectiveEquipment`, `RanRedLight`, `Reversing`, `RollingStop`, `RolloverProtection`, `SamsaraCustomEvent1`, `SamsaraCustomEvent10`, `SamsaraCustomEvent2`, `SamsaraCustomEvent3`, `SamsaraCustomEvent4`, `SamsaraCustomEvent5`, `SamsaraCustomEvent6`, `SamsaraCustomEvent7`, `SamsaraCustomEvent8`, `SamsaraCustomEvent9`, `SevereSpeeding`, `Smoking`, `Speeding`, `UTurn`, `UnsafeManeuver`, `UnsafeParking`, `VehicleInBlindSpotWarning`, `VulnerableRoadUserCollisionWarning`, `YawControl` */
|
|
19
|
+
/** The type of safety behavior. Valid values: `Acceleration`, `AggressiveDriving`, `BluetoothHeadset`, `Braking`, `ContextConstructionOrWorkZone`, `ContextSnowyOrIcy`, `ContextVulnerableRoadUser`, `ContextWet`, `Crash`, `CustomerCustomEvent1`, `CustomerCustomEvent10`, `CustomerCustomEvent2`, `CustomerCustomEvent3`, `CustomerCustomEvent4`, `CustomerCustomEvent5`, `CustomerCustomEvent6`, `CustomerCustomEvent7`, `CustomerCustomEvent8`, `CustomerCustomEvent9`, `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`, `OtherViolation`, `Passenger`, `PolicyViolationMask`, `ProtectiveEquipment`, `RanRedLight`, `Reversing`, `RollingStop`, `RolloverProtection`, `SamsaraCustomEvent1`, `SamsaraCustomEvent10`, `SamsaraCustomEvent2`, `SamsaraCustomEvent3`, `SamsaraCustomEvent4`, `SamsaraCustomEvent5`, `SamsaraCustomEvent6`, `SamsaraCustomEvent7`, `SamsaraCustomEvent8`, `SamsaraCustomEvent9`, `SevereSpeeding`, `Smoking`, `Speeding`, `UTurn`, `UnsafeManeuver`, `UnsafeParking`, `VehicleInBlindSpotWarning`, `VulnerableRoadUserCollisionWarning`, `YawControl` */
|
|
20
20
|
const Item: {
|
|
21
21
|
readonly Acceleration: "Acceleration";
|
|
22
22
|
readonly AggressiveDriving: "AggressiveDriving";
|
|
@@ -51,6 +51,7 @@ export declare namespace SafetyBehaviorTriggerDetailsObjectResponseBody {
|
|
|
51
51
|
readonly ForwardCollisionWarning: "ForwardCollisionWarning";
|
|
52
52
|
readonly GenericDistraction: "GenericDistraction";
|
|
53
53
|
readonly GenericTailgating: "GenericTailgating";
|
|
54
|
+
readonly HarshImpact: "HarshImpact";
|
|
54
55
|
readonly HarshTurn: "HarshTurn";
|
|
55
56
|
readonly HeavySpeeding: "HeavySpeeding";
|
|
56
57
|
readonly HighSpeedSuddenDisconnect: "HighSpeedSuddenDisconnect";
|
|
@@ -6,7 +6,7 @@ var SafetyBehaviorTriggerDetailsObjectResponseBody;
|
|
|
6
6
|
(function (SafetyBehaviorTriggerDetailsObjectResponseBody) {
|
|
7
7
|
let Behaviors;
|
|
8
8
|
(function (Behaviors) {
|
|
9
|
-
/** The type of safety behavior. Valid values: `Acceleration`, `AggressiveDriving`, `BluetoothHeadset`, `Braking`, `ContextConstructionOrWorkZone`, `ContextSnowyOrIcy`, `ContextVulnerableRoadUser`, `ContextWet`, `Crash`, `CustomerCustomEvent1`, `CustomerCustomEvent10`, `CustomerCustomEvent2`, `CustomerCustomEvent3`, `CustomerCustomEvent4`, `CustomerCustomEvent5`, `CustomerCustomEvent6`, `CustomerCustomEvent7`, `CustomerCustomEvent8`, `CustomerCustomEvent9`, `DefensiveDriving`, `DidNotYield`, `Drinking`, `Drowsy`, `Eating`, `EatingDrinking`, `EdgeDistractedDriving`, `EdgeRailroadCrossingViolation`, `FollowingDistance`, `FollowingDistanceModerate`, `FollowingDistanceSevere`, `ForwardCollisionWarning`, `GenericDistraction`, `GenericTailgating`, `HarshTurn`, `HeavySpeeding`, `HighSpeedSuddenDisconnect`, `HosViolation`, `Idling`, `Invalid`, `LaneDeparture`, `LateResponse`, `LeftTurn`, `LightSpeeding`, `MaxSpeed`, `MobileUsage`, `ModerateSpeeding`, `NearCollison`, `NearPedestrianCollision`, `NoSeatbelt`, `ObstructedCamera`, `OtherViolation`, `Passenger`, `PolicyViolationMask`, `ProtectiveEquipment`, `RanRedLight`, `Reversing`, `RollingStop`, `RolloverProtection`, `SamsaraCustomEvent1`, `SamsaraCustomEvent10`, `SamsaraCustomEvent2`, `SamsaraCustomEvent3`, `SamsaraCustomEvent4`, `SamsaraCustomEvent5`, `SamsaraCustomEvent6`, `SamsaraCustomEvent7`, `SamsaraCustomEvent8`, `SamsaraCustomEvent9`, `SevereSpeeding`, `Smoking`, `Speeding`, `UTurn`, `UnsafeManeuver`, `UnsafeParking`, `VehicleInBlindSpotWarning`, `VulnerableRoadUserCollisionWarning`, `YawControl` */
|
|
9
|
+
/** The type of safety behavior. Valid values: `Acceleration`, `AggressiveDriving`, `BluetoothHeadset`, `Braking`, `ContextConstructionOrWorkZone`, `ContextSnowyOrIcy`, `ContextVulnerableRoadUser`, `ContextWet`, `Crash`, `CustomerCustomEvent1`, `CustomerCustomEvent10`, `CustomerCustomEvent2`, `CustomerCustomEvent3`, `CustomerCustomEvent4`, `CustomerCustomEvent5`, `CustomerCustomEvent6`, `CustomerCustomEvent7`, `CustomerCustomEvent8`, `CustomerCustomEvent9`, `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`, `OtherViolation`, `Passenger`, `PolicyViolationMask`, `ProtectiveEquipment`, `RanRedLight`, `Reversing`, `RollingStop`, `RolloverProtection`, `SamsaraCustomEvent1`, `SamsaraCustomEvent10`, `SamsaraCustomEvent2`, `SamsaraCustomEvent3`, `SamsaraCustomEvent4`, `SamsaraCustomEvent5`, `SamsaraCustomEvent6`, `SamsaraCustomEvent7`, `SamsaraCustomEvent8`, `SamsaraCustomEvent9`, `SevereSpeeding`, `Smoking`, `Speeding`, `UTurn`, `UnsafeManeuver`, `UnsafeParking`, `VehicleInBlindSpotWarning`, `VulnerableRoadUserCollisionWarning`, `YawControl` */
|
|
10
10
|
Behaviors.Item = {
|
|
11
11
|
Acceleration: "Acceleration",
|
|
12
12
|
AggressiveDriving: "AggressiveDriving",
|
|
@@ -41,6 +41,7 @@ var SafetyBehaviorTriggerDetailsObjectResponseBody;
|
|
|
41
41
|
ForwardCollisionWarning: "ForwardCollisionWarning",
|
|
42
42
|
GenericDistraction: "GenericDistraction",
|
|
43
43
|
GenericTailgating: "GenericTailgating",
|
|
44
|
+
HarshImpact: "HarshImpact",
|
|
44
45
|
HarshTurn: "HarshTurn",
|
|
45
46
|
HeavySpeeding: "HeavySpeeding",
|
|
46
47
|
HighSpeedSuddenDisconnect: "HighSpeedSuddenDisconnect",
|
|
@@ -4,11 +4,11 @@
|
|
|
4
4
|
export interface SafetyEventBehaviorLabelsResponseBody {
|
|
5
5
|
/** Name of the behavior label. */
|
|
6
6
|
name?: string | undefined;
|
|
7
|
-
/** Type of the BehaviorLabel. Valid values: `Acceleration`, `Braking`, `Crash`, `DefensiveDriving`, `DidNotYield`, `Drinking`, `Drowsy`, `Eating`, `EatingDrinking`, `EdgeDistractedDriving`, `EdgeRailroadCrossingViolation`, `FollowingDistance`, `FollowingDistanceModerate`, `FollowingDistanceSevere`, `ForwardCollisionWarning`, `GenericDistraction`, `GenericTailgating`, `HarshTurn`, `HighSpeedSuddenDisconnect`, `Invalid`, `LaneDeparture`, `LateResponse`, `MobileUsage`, `NearCollison`, `NoSeatbelt`, `ObstructedCamera`, `OperationalEvent`, `Passenger`, `PolicyViolationMask`, `ProtectiveEquipment`, `RanRedLight`, `RearCollisionWarning`, `RollingStop`, `RolloverProtection`, `Smoking`, `Speeding`, `VehicleInBlindSpotWarning`, `VulnerableRoadUserCollisionWarning`, `YawControl` */
|
|
7
|
+
/** Type of the BehaviorLabel. Valid values: `Acceleration`, `Braking`, `Crash`, `DefensiveDriving`, `DidNotYield`, `Drinking`, `Drowsy`, `Eating`, `EatingDrinking`, `EdgeDistractedDriving`, `EdgeRailroadCrossingViolation`, `FollowingDistance`, `FollowingDistanceModerate`, `FollowingDistanceSevere`, `ForwardCollisionWarning`, `GenericDistraction`, `GenericTailgating`, `HarshImpact`, `HarshTurn`, `HighSpeedSuddenDisconnect`, `Invalid`, `LaneDeparture`, `LateResponse`, `MobileUsage`, `NearCollison`, `NoSeatbelt`, `ObstructedCamera`, `OperationalEvent`, `Passenger`, `PolicyViolationMask`, `ProtectiveEquipment`, `RanRedLight`, `RearCollisionWarning`, `RollingStop`, `RolloverProtection`, `Smoking`, `Speeding`, `VehicleInBlindSpotWarning`, `VulnerableRoadUserCollisionWarning`, `YawControl` */
|
|
8
8
|
type?: SafetyEventBehaviorLabelsResponseBody.Type | undefined;
|
|
9
9
|
}
|
|
10
10
|
export declare namespace SafetyEventBehaviorLabelsResponseBody {
|
|
11
|
-
/** Type of the BehaviorLabel. Valid values: `Acceleration`, `Braking`, `Crash`, `DefensiveDriving`, `DidNotYield`, `Drinking`, `Drowsy`, `Eating`, `EatingDrinking`, `EdgeDistractedDriving`, `EdgeRailroadCrossingViolation`, `FollowingDistance`, `FollowingDistanceModerate`, `FollowingDistanceSevere`, `ForwardCollisionWarning`, `GenericDistraction`, `GenericTailgating`, `HarshTurn`, `HighSpeedSuddenDisconnect`, `Invalid`, `LaneDeparture`, `LateResponse`, `MobileUsage`, `NearCollison`, `NoSeatbelt`, `ObstructedCamera`, `OperationalEvent`, `Passenger`, `PolicyViolationMask`, `ProtectiveEquipment`, `RanRedLight`, `RearCollisionWarning`, `RollingStop`, `RolloverProtection`, `Smoking`, `Speeding`, `VehicleInBlindSpotWarning`, `VulnerableRoadUserCollisionWarning`, `YawControl` */
|
|
11
|
+
/** Type of the BehaviorLabel. Valid values: `Acceleration`, `Braking`, `Crash`, `DefensiveDriving`, `DidNotYield`, `Drinking`, `Drowsy`, `Eating`, `EatingDrinking`, `EdgeDistractedDriving`, `EdgeRailroadCrossingViolation`, `FollowingDistance`, `FollowingDistanceModerate`, `FollowingDistanceSevere`, `ForwardCollisionWarning`, `GenericDistraction`, `GenericTailgating`, `HarshImpact`, `HarshTurn`, `HighSpeedSuddenDisconnect`, `Invalid`, `LaneDeparture`, `LateResponse`, `MobileUsage`, `NearCollison`, `NoSeatbelt`, `ObstructedCamera`, `OperationalEvent`, `Passenger`, `PolicyViolationMask`, `ProtectiveEquipment`, `RanRedLight`, `RearCollisionWarning`, `RollingStop`, `RolloverProtection`, `Smoking`, `Speeding`, `VehicleInBlindSpotWarning`, `VulnerableRoadUserCollisionWarning`, `YawControl` */
|
|
12
12
|
const Type: {
|
|
13
13
|
readonly Acceleration: "Acceleration";
|
|
14
14
|
readonly Braking: "Braking";
|
|
@@ -27,6 +27,7 @@ export declare namespace SafetyEventBehaviorLabelsResponseBody {
|
|
|
27
27
|
readonly ForwardCollisionWarning: "ForwardCollisionWarning";
|
|
28
28
|
readonly GenericDistraction: "GenericDistraction";
|
|
29
29
|
readonly GenericTailgating: "GenericTailgating";
|
|
30
|
+
readonly HarshImpact: "HarshImpact";
|
|
30
31
|
readonly HarshTurn: "HarshTurn";
|
|
31
32
|
readonly HighSpeedSuddenDisconnect: "HighSpeedSuddenDisconnect";
|
|
32
33
|
readonly Invalid: "Invalid";
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
4
4
|
exports.SafetyEventBehaviorLabelsResponseBody = void 0;
|
|
5
5
|
var SafetyEventBehaviorLabelsResponseBody;
|
|
6
6
|
(function (SafetyEventBehaviorLabelsResponseBody) {
|
|
7
|
-
/** Type of the BehaviorLabel. Valid values: `Acceleration`, `Braking`, `Crash`, `DefensiveDriving`, `DidNotYield`, `Drinking`, `Drowsy`, `Eating`, `EatingDrinking`, `EdgeDistractedDriving`, `EdgeRailroadCrossingViolation`, `FollowingDistance`, `FollowingDistanceModerate`, `FollowingDistanceSevere`, `ForwardCollisionWarning`, `GenericDistraction`, `GenericTailgating`, `HarshTurn`, `HighSpeedSuddenDisconnect`, `Invalid`, `LaneDeparture`, `LateResponse`, `MobileUsage`, `NearCollison`, `NoSeatbelt`, `ObstructedCamera`, `OperationalEvent`, `Passenger`, `PolicyViolationMask`, `ProtectiveEquipment`, `RanRedLight`, `RearCollisionWarning`, `RollingStop`, `RolloverProtection`, `Smoking`, `Speeding`, `VehicleInBlindSpotWarning`, `VulnerableRoadUserCollisionWarning`, `YawControl` */
|
|
7
|
+
/** Type of the BehaviorLabel. Valid values: `Acceleration`, `Braking`, `Crash`, `DefensiveDriving`, `DidNotYield`, `Drinking`, `Drowsy`, `Eating`, `EatingDrinking`, `EdgeDistractedDriving`, `EdgeRailroadCrossingViolation`, `FollowingDistance`, `FollowingDistanceModerate`, `FollowingDistanceSevere`, `ForwardCollisionWarning`, `GenericDistraction`, `GenericTailgating`, `HarshImpact`, `HarshTurn`, `HighSpeedSuddenDisconnect`, `Invalid`, `LaneDeparture`, `LateResponse`, `MobileUsage`, `NearCollison`, `NoSeatbelt`, `ObstructedCamera`, `OperationalEvent`, `Passenger`, `PolicyViolationMask`, `ProtectiveEquipment`, `RanRedLight`, `RearCollisionWarning`, `RollingStop`, `RolloverProtection`, `Smoking`, `Speeding`, `VehicleInBlindSpotWarning`, `VulnerableRoadUserCollisionWarning`, `YawControl` */
|
|
8
8
|
SafetyEventBehaviorLabelsResponseBody.Type = {
|
|
9
9
|
Acceleration: "Acceleration",
|
|
10
10
|
Braking: "Braking",
|
|
@@ -23,6 +23,7 @@ var SafetyEventBehaviorLabelsResponseBody;
|
|
|
23
23
|
ForwardCollisionWarning: "ForwardCollisionWarning",
|
|
24
24
|
GenericDistraction: "GenericDistraction",
|
|
25
25
|
GenericTailgating: "GenericTailgating",
|
|
26
|
+
HarshImpact: "HarshImpact",
|
|
26
27
|
HarshTurn: "HarshTurn",
|
|
27
28
|
HighSpeedSuddenDisconnect: "HighSpeedSuddenDisconnect",
|
|
28
29
|
Invalid: "Invalid",
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
* The most up-to-date behavior labels associated with the safety event. These labels can be updated by Safety Admins.
|
|
3
3
|
*/
|
|
4
4
|
export interface SafetyEventV2BehaviorLabelsResponseBody {
|
|
5
|
-
/** The label associated with the safety event. Labels can be updated by Safety Admins, if a label is removed from a safety event it will be removed from this list. 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`, `HarshTurn`, `HeavySpeeding`, `HighSpeedSuddenDisconnect`, `HosViolation`, `Idling`, `Invalid`, `LaneDeparture`, `LateResponse`, `LeftTurn`, `LightSpeeding`, `MaxSpeed`, `MobileUsage`, `ModerateSpeeding`, `NearCollison`, `NearPedestrianCollision`, `NoSeatbelt`, `ObstructedCamera`, `OperationalEvent`, `OtherViolation`, `Passenger`, `PolicyViolationMask`, `ProtectiveEquipment`, `RanRedLight`, `RearCollisionWarning`, `Reversing`, `RollingStop`, `RolloverProtection`, `SevereSpeeding`, `Smoking`, `Speeding`, `UTurn`, `UnsafeManeuver`, `UnsafeParking`, `VehicleInBlindSpotWarning`, `VulnerableRoadUserCollisionWarning`, `YawControl` */
|
|
5
|
+
/** The label associated with the safety event. Labels can be updated by Safety Admins, if a label is removed from a safety event it will be removed from this list. 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`, `RanRedLight`, `RearCollisionWarning`, `Reversing`, `RollingStop`, `RolloverProtection`, `SevereSpeeding`, `Smoking`, `Speeding`, `UTurn`, `UnsafeManeuver`, `UnsafeParking`, `VehicleInBlindSpotWarning`, `VulnerableRoadUserCollisionWarning`, `YawControl` */
|
|
6
6
|
label?: SafetyEventV2BehaviorLabelsResponseBody.Label | undefined;
|
|
7
7
|
/** The source of the label associated with the safety event. Valid values: `automated`, `userGenerated` */
|
|
8
8
|
source?: SafetyEventV2BehaviorLabelsResponseBody.Source | undefined;
|
|
9
9
|
}
|
|
10
10
|
export declare namespace SafetyEventV2BehaviorLabelsResponseBody {
|
|
11
|
-
/** The label associated with the safety event. Labels can be updated by Safety Admins, if a label is removed from a safety event it will be removed from this list. 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`, `HarshTurn`, `HeavySpeeding`, `HighSpeedSuddenDisconnect`, `HosViolation`, `Idling`, `Invalid`, `LaneDeparture`, `LateResponse`, `LeftTurn`, `LightSpeeding`, `MaxSpeed`, `MobileUsage`, `ModerateSpeeding`, `NearCollison`, `NearPedestrianCollision`, `NoSeatbelt`, `ObstructedCamera`, `OperationalEvent`, `OtherViolation`, `Passenger`, `PolicyViolationMask`, `ProtectiveEquipment`, `RanRedLight`, `RearCollisionWarning`, `Reversing`, `RollingStop`, `RolloverProtection`, `SevereSpeeding`, `Smoking`, `Speeding`, `UTurn`, `UnsafeManeuver`, `UnsafeParking`, `VehicleInBlindSpotWarning`, `VulnerableRoadUserCollisionWarning`, `YawControl` */
|
|
11
|
+
/** The label associated with the safety event. Labels can be updated by Safety Admins, if a label is removed from a safety event it will be removed from this list. 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`, `RanRedLight`, `RearCollisionWarning`, `Reversing`, `RollingStop`, `RolloverProtection`, `SevereSpeeding`, `Smoking`, `Speeding`, `UTurn`, `UnsafeManeuver`, `UnsafeParking`, `VehicleInBlindSpotWarning`, `VulnerableRoadUserCollisionWarning`, `YawControl` */
|
|
12
12
|
const Label: {
|
|
13
13
|
readonly Acceleration: "Acceleration";
|
|
14
14
|
readonly AggressiveDriving: "AggressiveDriving";
|
|
@@ -33,6 +33,7 @@ export declare namespace SafetyEventV2BehaviorLabelsResponseBody {
|
|
|
33
33
|
readonly ForwardCollisionWarning: "ForwardCollisionWarning";
|
|
34
34
|
readonly GenericDistraction: "GenericDistraction";
|
|
35
35
|
readonly GenericTailgating: "GenericTailgating";
|
|
36
|
+
readonly HarshImpact: "HarshImpact";
|
|
36
37
|
readonly HarshTurn: "HarshTurn";
|
|
37
38
|
readonly HeavySpeeding: "HeavySpeeding";
|
|
38
39
|
readonly HighSpeedSuddenDisconnect: "HighSpeedSuddenDisconnect";
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
4
4
|
exports.SafetyEventV2BehaviorLabelsResponseBody = void 0;
|
|
5
5
|
var SafetyEventV2BehaviorLabelsResponseBody;
|
|
6
6
|
(function (SafetyEventV2BehaviorLabelsResponseBody) {
|
|
7
|
-
/** The label associated with the safety event. Labels can be updated by Safety Admins, if a label is removed from a safety event it will be removed from this list. 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`, `HarshTurn`, `HeavySpeeding`, `HighSpeedSuddenDisconnect`, `HosViolation`, `Idling`, `Invalid`, `LaneDeparture`, `LateResponse`, `LeftTurn`, `LightSpeeding`, `MaxSpeed`, `MobileUsage`, `ModerateSpeeding`, `NearCollison`, `NearPedestrianCollision`, `NoSeatbelt`, `ObstructedCamera`, `OperationalEvent`, `OtherViolation`, `Passenger`, `PolicyViolationMask`, `ProtectiveEquipment`, `RanRedLight`, `RearCollisionWarning`, `Reversing`, `RollingStop`, `RolloverProtection`, `SevereSpeeding`, `Smoking`, `Speeding`, `UTurn`, `UnsafeManeuver`, `UnsafeParking`, `VehicleInBlindSpotWarning`, `VulnerableRoadUserCollisionWarning`, `YawControl` */
|
|
7
|
+
/** The label associated with the safety event. Labels can be updated by Safety Admins, if a label is removed from a safety event it will be removed from this list. 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`, `RanRedLight`, `RearCollisionWarning`, `Reversing`, `RollingStop`, `RolloverProtection`, `SevereSpeeding`, `Smoking`, `Speeding`, `UTurn`, `UnsafeManeuver`, `UnsafeParking`, `VehicleInBlindSpotWarning`, `VulnerableRoadUserCollisionWarning`, `YawControl` */
|
|
8
8
|
SafetyEventV2BehaviorLabelsResponseBody.Label = {
|
|
9
9
|
Acceleration: "Acceleration",
|
|
10
10
|
AggressiveDriving: "AggressiveDriving",
|
|
@@ -29,6 +29,7 @@ var SafetyEventV2BehaviorLabelsResponseBody;
|
|
|
29
29
|
ForwardCollisionWarning: "ForwardCollisionWarning",
|
|
30
30
|
GenericDistraction: "GenericDistraction",
|
|
31
31
|
GenericTailgating: "GenericTailgating",
|
|
32
|
+
HarshImpact: "HarshImpact",
|
|
32
33
|
HarshTurn: "HarshTurn",
|
|
33
34
|
HeavySpeeding: "HeavySpeeding",
|
|
34
35
|
HighSpeedSuddenDisconnect: "HighSpeedSuddenDisconnect",
|
|
@@ -563,6 +563,7 @@ export * from "./DriverEldRulesetShift.js";
|
|
|
563
563
|
export * from "./DriverEldRulesets.js";
|
|
564
564
|
export * from "./DriverEldSettings.js";
|
|
565
565
|
export * from "./DriverEldYmEnabled.js";
|
|
566
|
+
export * from "./DriverEmail.js";
|
|
566
567
|
export * from "./DriverExternalIds.js";
|
|
567
568
|
export * from "./DriverHasDrivingFeaturesHidden.js";
|
|
568
569
|
export * from "./DriverHasVehicleUnpinningEnabled.js";
|
|
@@ -579,6 +579,7 @@ __exportStar(require("./DriverEldRulesetShift.js"), exports);
|
|
|
579
579
|
__exportStar(require("./DriverEldRulesets.js"), exports);
|
|
580
580
|
__exportStar(require("./DriverEldSettings.js"), exports);
|
|
581
581
|
__exportStar(require("./DriverEldYmEnabled.js"), exports);
|
|
582
|
+
__exportStar(require("./DriverEmail.js"), exports);
|
|
582
583
|
__exportStar(require("./DriverExternalIds.js"), exports);
|
|
583
584
|
__exportStar(require("./DriverHasDrivingFeaturesHidden.js"), exports);
|
|
584
585
|
__exportStar(require("./DriverHasVehicleUnpinningEnabled.js"), exports);
|
package/dist/cjs/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "13.
|
|
1
|
+
export declare const SDK_VERSION = "13.15.0";
|
package/dist/cjs/version.js
CHANGED
package/dist/esm/BaseClient.mjs
CHANGED
|
@@ -7,8 +7,8 @@ export function normalizeClientOptions(options) {
|
|
|
7
7
|
const headers = mergeHeaders({
|
|
8
8
|
"X-Fern-Language": "JavaScript",
|
|
9
9
|
"X-Fern-SDK-Name": "@samsarahq/samsara",
|
|
10
|
-
"X-Fern-SDK-Version": "13.
|
|
11
|
-
"User-Agent": "@samsarahq/samsara/13.
|
|
10
|
+
"X-Fern-SDK-Version": "13.15.0",
|
|
11
|
+
"User-Agent": "@samsarahq/samsara/13.15.0",
|
|
12
12
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
13
13
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
14
14
|
"X-Samsara-Version": (_a = options === null || options === void 0 ? void 0 : options.version) !== null && _a !== void 0 ? _a : "2025-06-11",
|
|
@@ -9,7 +9,7 @@ export interface GetDetectionsRequest {
|
|
|
9
9
|
driverIds?: string | string[];
|
|
10
10
|
/** Optional string of comma separated asset IDs. If asset ID is present, events for the specified asset(s) will be returned. Max for this value is 2000 objects. (Example: 281474982859091,281471982957527) */
|
|
11
11
|
assetIds?: string | string[];
|
|
12
|
-
/** Optional string of comma separated labels to filter behavior labels. Uses OR semantics for filtering. An empty list allows all values. Valid values: `acceleration`, `braking`, `crash`, `drowsy`, `eatingDrinking`, `edgeRailroadCrossingViolation`, `followingDistance`, `forwardCollisionWarning`, `genericDistraction`, `harshTurn`, `heavySpeeding`, `laneDeparture`, `lightSpeeding`, `maxSpeed`, `mobileUsage`, `moderateSpeeding`, `noSeatbelt`, `obstructedCamera`, `passenger`, `policyViolationMask`, `ranRedLight`, `rearCollisionWarning`, `reversing`, `rollingStop`, `rolloverProtection`, `severeSpeeding`, `smoking`, `speeding`, `unsafeParking`, `vehicleInBlindSpotWarning`, `vulnerableRoadUserCollisionWarning`, `yawControl`. (Example: rollingStop,obstructedCamera,noSeatbelt) */
|
|
12
|
+
/** Optional string of comma separated labels to filter behavior labels. Uses OR semantics for filtering. An empty list allows all values. Valid values: `acceleration`, `braking`, `crash`, `drowsy`, `eatingDrinking`, `edgeRailroadCrossingViolation`, `followingDistance`, `forwardCollisionWarning`, `genericDistraction`, `harshImpact`, `harshTurn`, `heavySpeeding`, `laneDeparture`, `lightSpeeding`, `maxSpeed`, `mobileUsage`, `moderateSpeeding`, `noSeatbelt`, `obstructedCamera`, `passenger`, `policyViolationMask`, `ranRedLight`, `rearCollisionWarning`, `reversing`, `rollingStop`, `rolloverProtection`, `severeSpeeding`, `smoking`, `speeding`, `unsafeParking`, `vehicleInBlindSpotWarning`, `vulnerableRoadUserCollisionWarning`, `yawControl`. (Example: rollingStop,obstructedCamera,noSeatbelt) */
|
|
13
13
|
detectionBehaviorLabels?: string | string[];
|
|
14
14
|
/** Optional string of comma separated reasons to filter detections. Uses OR semantics for filtering. An empty list allows all values. Valid values: `overDailyLimit`, `overHourlyLimit`, `overTripLimit`, `belowConfidenceThreshold`, `belowSeverityThreshold`, `overEventRateLimit`, `geofenceFilter`, `belowNudgeThreshold`, `belowSpeedThreshold`, `nighttimeFilter`, `speedingFilter`, `inCabAlertOnly`, `unknown`. (Example: overDailyLimit,overHourlyLimit,belowConfidenceThreshold) */
|
|
15
15
|
inboxFilterReason?: string | string[];
|
|
@@ -23,7 +23,7 @@ export interface SafetyEventsV2PatchSafetyEventsV2BatchRequestBody {
|
|
|
23
23
|
export declare namespace SafetyEventsV2PatchSafetyEventsV2BatchRequestBody {
|
|
24
24
|
type BehaviorLabelsToAdd = BehaviorLabelsToAdd.Item[];
|
|
25
25
|
namespace BehaviorLabelsToAdd {
|
|
26
|
-
/** 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`, `HarshTurn`, `HeavySpeeding`, `HighSpeedSuddenDisconnect`, `HosViolation`, `Idling`, `Invalid`, `LaneDeparture`, `LateResponse`, `LeftTurn`, `LightSpeeding`, `MaxSpeed`, `MobileUsage`, `ModerateSpeeding`, `NearCollison`, `NearPedestrianCollision`, `NoSeatbelt`, `ObstructedCamera`, `OperationalEvent`, `OtherViolation`, `Passenger`, `PolicyViolationMask`, `ProtectiveEquipment`, `RanRedLight`, `RearCollisionWarning`, `Reversing`, `RollingStop`, `RolloverProtection`, `SevereSpeeding`, `Smoking`, `Speeding`, `UTurn`, `UnsafeManeuver`, `UnsafeParking`, `VehicleInBlindSpotWarning`, `VulnerableRoadUserCollisionWarning`, `YawControl` */
|
|
26
|
+
/** 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`, `RanRedLight`, `RearCollisionWarning`, `Reversing`, `RollingStop`, `RolloverProtection`, `SevereSpeeding`, `Smoking`, `Speeding`, `UTurn`, `UnsafeManeuver`, `UnsafeParking`, `VehicleInBlindSpotWarning`, `VulnerableRoadUserCollisionWarning`, `YawControl` */
|
|
27
27
|
const Item: {
|
|
28
28
|
readonly Acceleration: "Acceleration";
|
|
29
29
|
readonly AggressiveDriving: "AggressiveDriving";
|
|
@@ -48,6 +48,7 @@ export declare namespace SafetyEventsV2PatchSafetyEventsV2BatchRequestBody {
|
|
|
48
48
|
readonly ForwardCollisionWarning: "ForwardCollisionWarning";
|
|
49
49
|
readonly GenericDistraction: "GenericDistraction";
|
|
50
50
|
readonly GenericTailgating: "GenericTailgating";
|
|
51
|
+
readonly HarshImpact: "HarshImpact";
|
|
51
52
|
readonly HarshTurn: "HarshTurn";
|
|
52
53
|
readonly HeavySpeeding: "HeavySpeeding";
|
|
53
54
|
readonly HighSpeedSuddenDisconnect: "HighSpeedSuddenDisconnect";
|
|
@@ -89,7 +90,7 @@ export declare namespace SafetyEventsV2PatchSafetyEventsV2BatchRequestBody {
|
|
|
89
90
|
}
|
|
90
91
|
type BehaviorLabelsToRemove = BehaviorLabelsToRemove.Item[];
|
|
91
92
|
namespace BehaviorLabelsToRemove {
|
|
92
|
-
/** 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`, `HarshTurn`, `HeavySpeeding`, `HighSpeedSuddenDisconnect`, `HosViolation`, `Idling`, `Invalid`, `LaneDeparture`, `LateResponse`, `LeftTurn`, `LightSpeeding`, `MaxSpeed`, `MobileUsage`, `ModerateSpeeding`, `NearCollison`, `NearPedestrianCollision`, `NoSeatbelt`, `ObstructedCamera`, `OperationalEvent`, `OtherViolation`, `Passenger`, `PolicyViolationMask`, `ProtectiveEquipment`, `RanRedLight`, `RearCollisionWarning`, `Reversing`, `RollingStop`, `RolloverProtection`, `SevereSpeeding`, `Smoking`, `Speeding`, `UTurn`, `UnsafeManeuver`, `UnsafeParking`, `VehicleInBlindSpotWarning`, `VulnerableRoadUserCollisionWarning`, `YawControl` */
|
|
93
|
+
/** 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`, `RanRedLight`, `RearCollisionWarning`, `Reversing`, `RollingStop`, `RolloverProtection`, `SevereSpeeding`, `Smoking`, `Speeding`, `UTurn`, `UnsafeManeuver`, `UnsafeParking`, `VehicleInBlindSpotWarning`, `VulnerableRoadUserCollisionWarning`, `YawControl` */
|
|
93
94
|
const Item: {
|
|
94
95
|
readonly Acceleration: "Acceleration";
|
|
95
96
|
readonly AggressiveDriving: "AggressiveDriving";
|
|
@@ -114,6 +115,7 @@ export declare namespace SafetyEventsV2PatchSafetyEventsV2BatchRequestBody {
|
|
|
114
115
|
readonly ForwardCollisionWarning: "ForwardCollisionWarning";
|
|
115
116
|
readonly GenericDistraction: "GenericDistraction";
|
|
116
117
|
readonly GenericTailgating: "GenericTailgating";
|
|
118
|
+
readonly HarshImpact: "HarshImpact";
|
|
117
119
|
readonly HarshTurn: "HarshTurn";
|
|
118
120
|
readonly HeavySpeeding: "HeavySpeeding";
|
|
119
121
|
readonly HighSpeedSuddenDisconnect: "HighSpeedSuddenDisconnect";
|
|
@@ -3,7 +3,7 @@ export var SafetyEventsV2PatchSafetyEventsV2BatchRequestBody;
|
|
|
3
3
|
(function (SafetyEventsV2PatchSafetyEventsV2BatchRequestBody) {
|
|
4
4
|
let BehaviorLabelsToAdd;
|
|
5
5
|
(function (BehaviorLabelsToAdd) {
|
|
6
|
-
/** 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`, `HarshTurn`, `HeavySpeeding`, `HighSpeedSuddenDisconnect`, `HosViolation`, `Idling`, `Invalid`, `LaneDeparture`, `LateResponse`, `LeftTurn`, `LightSpeeding`, `MaxSpeed`, `MobileUsage`, `ModerateSpeeding`, `NearCollison`, `NearPedestrianCollision`, `NoSeatbelt`, `ObstructedCamera`, `OperationalEvent`, `OtherViolation`, `Passenger`, `PolicyViolationMask`, `ProtectiveEquipment`, `RanRedLight`, `RearCollisionWarning`, `Reversing`, `RollingStop`, `RolloverProtection`, `SevereSpeeding`, `Smoking`, `Speeding`, `UTurn`, `UnsafeManeuver`, `UnsafeParking`, `VehicleInBlindSpotWarning`, `VulnerableRoadUserCollisionWarning`, `YawControl` */
|
|
6
|
+
/** 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`, `RanRedLight`, `RearCollisionWarning`, `Reversing`, `RollingStop`, `RolloverProtection`, `SevereSpeeding`, `Smoking`, `Speeding`, `UTurn`, `UnsafeManeuver`, `UnsafeParking`, `VehicleInBlindSpotWarning`, `VulnerableRoadUserCollisionWarning`, `YawControl` */
|
|
7
7
|
BehaviorLabelsToAdd.Item = {
|
|
8
8
|
Acceleration: "Acceleration",
|
|
9
9
|
AggressiveDriving: "AggressiveDriving",
|
|
@@ -28,6 +28,7 @@ export var SafetyEventsV2PatchSafetyEventsV2BatchRequestBody;
|
|
|
28
28
|
ForwardCollisionWarning: "ForwardCollisionWarning",
|
|
29
29
|
GenericDistraction: "GenericDistraction",
|
|
30
30
|
GenericTailgating: "GenericTailgating",
|
|
31
|
+
HarshImpact: "HarshImpact",
|
|
31
32
|
HarshTurn: "HarshTurn",
|
|
32
33
|
HeavySpeeding: "HeavySpeeding",
|
|
33
34
|
HighSpeedSuddenDisconnect: "HighSpeedSuddenDisconnect",
|
|
@@ -68,7 +69,7 @@ export var SafetyEventsV2PatchSafetyEventsV2BatchRequestBody;
|
|
|
68
69
|
})(BehaviorLabelsToAdd = SafetyEventsV2PatchSafetyEventsV2BatchRequestBody.BehaviorLabelsToAdd || (SafetyEventsV2PatchSafetyEventsV2BatchRequestBody.BehaviorLabelsToAdd = {}));
|
|
69
70
|
let BehaviorLabelsToRemove;
|
|
70
71
|
(function (BehaviorLabelsToRemove) {
|
|
71
|
-
/** 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`, `HarshTurn`, `HeavySpeeding`, `HighSpeedSuddenDisconnect`, `HosViolation`, `Idling`, `Invalid`, `LaneDeparture`, `LateResponse`, `LeftTurn`, `LightSpeeding`, `MaxSpeed`, `MobileUsage`, `ModerateSpeeding`, `NearCollison`, `NearPedestrianCollision`, `NoSeatbelt`, `ObstructedCamera`, `OperationalEvent`, `OtherViolation`, `Passenger`, `PolicyViolationMask`, `ProtectiveEquipment`, `RanRedLight`, `RearCollisionWarning`, `Reversing`, `RollingStop`, `RolloverProtection`, `SevereSpeeding`, `Smoking`, `Speeding`, `UTurn`, `UnsafeManeuver`, `UnsafeParking`, `VehicleInBlindSpotWarning`, `VulnerableRoadUserCollisionWarning`, `YawControl` */
|
|
72
|
+
/** 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`, `RanRedLight`, `RearCollisionWarning`, `Reversing`, `RollingStop`, `RolloverProtection`, `SevereSpeeding`, `Smoking`, `Speeding`, `UTurn`, `UnsafeManeuver`, `UnsafeParking`, `VehicleInBlindSpotWarning`, `VulnerableRoadUserCollisionWarning`, `YawControl` */
|
|
72
73
|
BehaviorLabelsToRemove.Item = {
|
|
73
74
|
Acceleration: "Acceleration",
|
|
74
75
|
AggressiveDriving: "AggressiveDriving",
|
|
@@ -93,6 +94,7 @@ export var SafetyEventsV2PatchSafetyEventsV2BatchRequestBody;
|
|
|
93
94
|
ForwardCollisionWarning: "ForwardCollisionWarning",
|
|
94
95
|
GenericDistraction: "GenericDistraction",
|
|
95
96
|
GenericTailgating: "GenericTailgating",
|
|
97
|
+
HarshImpact: "HarshImpact",
|
|
96
98
|
HarshTurn: "HarshTurn",
|
|
97
99
|
HeavySpeeding: "HeavySpeeding",
|
|
98
100
|
HighSpeedSuddenDisconnect: "HighSpeedSuddenDisconnect",
|
|
@@ -27,6 +27,7 @@ export interface CreateDriverRequest {
|
|
|
27
27
|
eldPcEnabled?: boolean;
|
|
28
28
|
/** Flag indicating this driver may select the Yard Move duty status in ELD logs. */
|
|
29
29
|
eldYmEnabled?: boolean;
|
|
30
|
+
email?: Samsara.DriverEmail;
|
|
30
31
|
/** The [external IDs](https://developers.samsara.com/docs/external-ids) for the given object. */
|
|
31
32
|
externalIds?: Record<string, string>;
|
|
32
33
|
hasDrivingFeaturesHidden?: Samsara.DriverHasDrivingFeaturesHidden;
|
|
@@ -31,6 +31,7 @@ export interface UpdateDriverRequest {
|
|
|
31
31
|
eldPcEnabled?: boolean;
|
|
32
32
|
/** Flag indicating this driver may select the Yard Move duty status in ELD logs. */
|
|
33
33
|
eldYmEnabled?: boolean;
|
|
34
|
+
email?: Samsara.DriverEmail;
|
|
34
35
|
/** The [external IDs](https://developers.samsara.com/docs/external-ids) for the given object. */
|
|
35
36
|
externalIds?: Record<string, string>;
|
|
36
37
|
hasDrivingFeaturesHidden?: Samsara.DriverHasDrivingFeaturesHidden;
|
|
@@ -13,13 +13,13 @@ export interface DetectionLogDetectionObjectResponseBody {
|
|
|
13
13
|
inCabAlertPlayed: boolean;
|
|
14
14
|
/** Details on the associated safety event generated. Always returned. */
|
|
15
15
|
safetyEvent: Samsara.DetectionLogSafetyEventObjectResponseBody[];
|
|
16
|
-
/** The label associated with the detection. Always returned. Valid values: `acceleration`, `braking`, `crash`, `drowsy`, `eatingDrinking`, `edgeRailroadCrossingViolation`, `followingDistance`, `forwardCollisionWarning`, `genericDistraction`, `harshTurn`, `heavySpeeding`, `laneDeparture`, `lightSpeeding`, `maxSpeed`, `mobileUsage`, `moderateSpeeding`, `noSeatbelt`, `obstructedCamera`, `passenger`, `policyViolationMask`, `ranRedLight`, `rearCollisionWarning`, `reversing`, `rollingStop`, `rolloverProtection`, `severeSpeeding`, `smoking`, `speeding`, `unsafeParking`, `vehicleInBlindSpotWarning`, `vulnerableRoadUserCollisionWarning`, `yawControl` */
|
|
16
|
+
/** 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`, `ranRedLight`, `rearCollisionWarning`, `reversing`, `rollingStop`, `rolloverProtection`, `severeSpeeding`, `smoking`, `speeding`, `unsafeParking`, `vehicleInBlindSpotWarning`, `vulnerableRoadUserCollisionWarning`, `yawControl` */
|
|
17
17
|
triggerDetectionLabel: DetectionLogDetectionObjectResponseBody.TriggerDetectionLabel;
|
|
18
18
|
/** Time the detection was updated in Samsara in UTC. RFC 3339 format. Always returned. */
|
|
19
19
|
updatedAtTime: string;
|
|
20
20
|
}
|
|
21
21
|
export declare namespace DetectionLogDetectionObjectResponseBody {
|
|
22
|
-
/** The label associated with the detection. Always returned. Valid values: `acceleration`, `braking`, `crash`, `drowsy`, `eatingDrinking`, `edgeRailroadCrossingViolation`, `followingDistance`, `forwardCollisionWarning`, `genericDistraction`, `harshTurn`, `heavySpeeding`, `laneDeparture`, `lightSpeeding`, `maxSpeed`, `mobileUsage`, `moderateSpeeding`, `noSeatbelt`, `obstructedCamera`, `passenger`, `policyViolationMask`, `ranRedLight`, `rearCollisionWarning`, `reversing`, `rollingStop`, `rolloverProtection`, `severeSpeeding`, `smoking`, `speeding`, `unsafeParking`, `vehicleInBlindSpotWarning`, `vulnerableRoadUserCollisionWarning`, `yawControl` */
|
|
22
|
+
/** 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`, `ranRedLight`, `rearCollisionWarning`, `reversing`, `rollingStop`, `rolloverProtection`, `severeSpeeding`, `smoking`, `speeding`, `unsafeParking`, `vehicleInBlindSpotWarning`, `vulnerableRoadUserCollisionWarning`, `yawControl` */
|
|
23
23
|
const TriggerDetectionLabel: {
|
|
24
24
|
readonly Acceleration: "acceleration";
|
|
25
25
|
readonly Braking: "braking";
|
|
@@ -30,6 +30,7 @@ export declare namespace DetectionLogDetectionObjectResponseBody {
|
|
|
30
30
|
readonly FollowingDistance: "followingDistance";
|
|
31
31
|
readonly ForwardCollisionWarning: "forwardCollisionWarning";
|
|
32
32
|
readonly GenericDistraction: "genericDistraction";
|
|
33
|
+
readonly HarshImpact: "harshImpact";
|
|
33
34
|
readonly HarshTurn: "harshTurn";
|
|
34
35
|
readonly HeavySpeeding: "heavySpeeding";
|
|
35
36
|
readonly LaneDeparture: "laneDeparture";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// This file was auto-generated by Fern from our API Definition.
|
|
2
2
|
export var DetectionLogDetectionObjectResponseBody;
|
|
3
3
|
(function (DetectionLogDetectionObjectResponseBody) {
|
|
4
|
-
/** The label associated with the detection. Always returned. Valid values: `acceleration`, `braking`, `crash`, `drowsy`, `eatingDrinking`, `edgeRailroadCrossingViolation`, `followingDistance`, `forwardCollisionWarning`, `genericDistraction`, `harshTurn`, `heavySpeeding`, `laneDeparture`, `lightSpeeding`, `maxSpeed`, `mobileUsage`, `moderateSpeeding`, `noSeatbelt`, `obstructedCamera`, `passenger`, `policyViolationMask`, `ranRedLight`, `rearCollisionWarning`, `reversing`, `rollingStop`, `rolloverProtection`, `severeSpeeding`, `smoking`, `speeding`, `unsafeParking`, `vehicleInBlindSpotWarning`, `vulnerableRoadUserCollisionWarning`, `yawControl` */
|
|
4
|
+
/** 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`, `ranRedLight`, `rearCollisionWarning`, `reversing`, `rollingStop`, `rolloverProtection`, `severeSpeeding`, `smoking`, `speeding`, `unsafeParking`, `vehicleInBlindSpotWarning`, `vulnerableRoadUserCollisionWarning`, `yawControl` */
|
|
5
5
|
DetectionLogDetectionObjectResponseBody.TriggerDetectionLabel = {
|
|
6
6
|
Acceleration: "acceleration",
|
|
7
7
|
Braking: "braking",
|
|
@@ -12,6 +12,7 @@ export var DetectionLogDetectionObjectResponseBody;
|
|
|
12
12
|
FollowingDistance: "followingDistance",
|
|
13
13
|
ForwardCollisionWarning: "forwardCollisionWarning",
|
|
14
14
|
GenericDistraction: "genericDistraction",
|
|
15
|
+
HarshImpact: "harshImpact",
|
|
15
16
|
HarshTurn: "harshTurn",
|
|
16
17
|
HeavySpeeding: "heavySpeeding",
|
|
17
18
|
LaneDeparture: "laneDeparture",
|
|
@@ -18,6 +18,7 @@ export interface Driver {
|
|
|
18
18
|
eldPcEnabled?: Samsara.DriverEldPcEnabled | undefined;
|
|
19
19
|
eldSettings?: Samsara.DriverEldSettings | undefined;
|
|
20
20
|
eldYmEnabled?: Samsara.DriverEldYmEnabled | undefined;
|
|
21
|
+
email?: Samsara.DriverEmail | undefined;
|
|
21
22
|
externalIds?: Samsara.DriverExternalIds | undefined;
|
|
22
23
|
hasDrivingFeaturesHidden?: Samsara.DriverHasDrivingFeaturesHidden | undefined;
|
|
23
24
|
hasVehicleUnpinningEnabled?: Samsara.DriverHasVehicleUnpinningEnabled | undefined;
|
|
@@ -8,7 +8,7 @@ export interface HarshEventTriggerDetailsObjectRequestBody {
|
|
|
8
8
|
export declare namespace HarshEventTriggerDetailsObjectRequestBody {
|
|
9
9
|
type Types = Types.Item[];
|
|
10
10
|
namespace Types {
|
|
11
|
-
/** The type of harsh event. Valid values: `haAccel`, `haBraking`, `haCameraMisaligned`, `haCrash`, `haDistractedDriving`, `haDistractedDrivingCalibration`, `haDrinkPolicy`, `haDriverObstructionPolicy`, `haDrowsinessDetection`, `haEvent`, `haFalsePositive`, `haFoodPolicy`, `haHighSpeedSuddenDisconnect`, `haInvalid`, `haLaneDeparture`, `haMaskPolicy`, `haNearCollision`, `haOutwardObstructionPolicy`, `haPassengerPolicy`, `haPersonalProtectiveEquipment`, `haPhonePolicy`, `haPolicyDetector`, `haRearCollisionWarning`, `haRedLightViolation`, `haReversing`, `haRolledStopSign`, `haRollover`, `haRolloverProtectionBrakeControlActivated`, `haRolloverProtectionEngineControlActivated`, `haSeatbeltPolicy`, `haSharpTurn`, `haSignDetection`, `haSmokingPolicy`, `haSpeeding`, `haTailgating`, `haTileRollingRailroadCrossing`, `haTileRollingStopSign`, `haTrafficLightDetection`, `haUnsafeParking`, `haVehicleInBlindSpotWarning`, `haVulnerableRoadUserCollisionWarning`, `haYawControlBrakeControlActivated`, `haYawControlEngineControlActivated` */
|
|
11
|
+
/** The type of harsh event. Valid values: `haAccel`, `haBraking`, `haCameraMisaligned`, `haCrash`, `haDistractedDriving`, `haDistractedDrivingCalibration`, `haDrinkPolicy`, `haDriverObstructionPolicy`, `haDrowsinessDetection`, `haEvent`, `haFalsePositive`, `haFoodPolicy`, `haHighSpeedSuddenDisconnect`, `haImpact`, `haInvalid`, `haLaneDeparture`, `haMaskPolicy`, `haNearCollision`, `haOutwardObstructionPolicy`, `haPassengerPolicy`, `haPersonalProtectiveEquipment`, `haPhonePolicy`, `haPolicyDetector`, `haRearCollisionWarning`, `haRedLightViolation`, `haReversing`, `haRolledStopSign`, `haRollover`, `haRolloverProtectionBrakeControlActivated`, `haRolloverProtectionEngineControlActivated`, `haSeatbeltPolicy`, `haSharpTurn`, `haSignDetection`, `haSmokingPolicy`, `haSpeeding`, `haTailgating`, `haTileRollingRailroadCrossing`, `haTileRollingStopSign`, `haTrafficLightDetection`, `haUnsafeParking`, `haVehicleInBlindSpotWarning`, `haVulnerableRoadUserCollisionWarning`, `haYawControlBrakeControlActivated`, `haYawControlEngineControlActivated` */
|
|
12
12
|
const Item: {
|
|
13
13
|
readonly HaAccel: "haAccel";
|
|
14
14
|
readonly HaBraking: "haBraking";
|
|
@@ -23,6 +23,7 @@ export declare namespace HarshEventTriggerDetailsObjectRequestBody {
|
|
|
23
23
|
readonly HaFalsePositive: "haFalsePositive";
|
|
24
24
|
readonly HaFoodPolicy: "haFoodPolicy";
|
|
25
25
|
readonly HaHighSpeedSuddenDisconnect: "haHighSpeedSuddenDisconnect";
|
|
26
|
+
readonly HaImpact: "haImpact";
|
|
26
27
|
readonly HaInvalid: "haInvalid";
|
|
27
28
|
readonly HaLaneDeparture: "haLaneDeparture";
|
|
28
29
|
readonly HaMaskPolicy: "haMaskPolicy";
|
|
@@ -3,7 +3,7 @@ export var HarshEventTriggerDetailsObjectRequestBody;
|
|
|
3
3
|
(function (HarshEventTriggerDetailsObjectRequestBody) {
|
|
4
4
|
let Types;
|
|
5
5
|
(function (Types) {
|
|
6
|
-
/** The type of harsh event. Valid values: `haAccel`, `haBraking`, `haCameraMisaligned`, `haCrash`, `haDistractedDriving`, `haDistractedDrivingCalibration`, `haDrinkPolicy`, `haDriverObstructionPolicy`, `haDrowsinessDetection`, `haEvent`, `haFalsePositive`, `haFoodPolicy`, `haHighSpeedSuddenDisconnect`, `haInvalid`, `haLaneDeparture`, `haMaskPolicy`, `haNearCollision`, `haOutwardObstructionPolicy`, `haPassengerPolicy`, `haPersonalProtectiveEquipment`, `haPhonePolicy`, `haPolicyDetector`, `haRearCollisionWarning`, `haRedLightViolation`, `haReversing`, `haRolledStopSign`, `haRollover`, `haRolloverProtectionBrakeControlActivated`, `haRolloverProtectionEngineControlActivated`, `haSeatbeltPolicy`, `haSharpTurn`, `haSignDetection`, `haSmokingPolicy`, `haSpeeding`, `haTailgating`, `haTileRollingRailroadCrossing`, `haTileRollingStopSign`, `haTrafficLightDetection`, `haUnsafeParking`, `haVehicleInBlindSpotWarning`, `haVulnerableRoadUserCollisionWarning`, `haYawControlBrakeControlActivated`, `haYawControlEngineControlActivated` */
|
|
6
|
+
/** The type of harsh event. Valid values: `haAccel`, `haBraking`, `haCameraMisaligned`, `haCrash`, `haDistractedDriving`, `haDistractedDrivingCalibration`, `haDrinkPolicy`, `haDriverObstructionPolicy`, `haDrowsinessDetection`, `haEvent`, `haFalsePositive`, `haFoodPolicy`, `haHighSpeedSuddenDisconnect`, `haImpact`, `haInvalid`, `haLaneDeparture`, `haMaskPolicy`, `haNearCollision`, `haOutwardObstructionPolicy`, `haPassengerPolicy`, `haPersonalProtectiveEquipment`, `haPhonePolicy`, `haPolicyDetector`, `haRearCollisionWarning`, `haRedLightViolation`, `haReversing`, `haRolledStopSign`, `haRollover`, `haRolloverProtectionBrakeControlActivated`, `haRolloverProtectionEngineControlActivated`, `haSeatbeltPolicy`, `haSharpTurn`, `haSignDetection`, `haSmokingPolicy`, `haSpeeding`, `haTailgating`, `haTileRollingRailroadCrossing`, `haTileRollingStopSign`, `haTrafficLightDetection`, `haUnsafeParking`, `haVehicleInBlindSpotWarning`, `haVulnerableRoadUserCollisionWarning`, `haYawControlBrakeControlActivated`, `haYawControlEngineControlActivated` */
|
|
7
7
|
Types.Item = {
|
|
8
8
|
HaAccel: "haAccel",
|
|
9
9
|
HaBraking: "haBraking",
|
|
@@ -18,6 +18,7 @@ export var HarshEventTriggerDetailsObjectRequestBody;
|
|
|
18
18
|
HaFalsePositive: "haFalsePositive",
|
|
19
19
|
HaFoodPolicy: "haFoodPolicy",
|
|
20
20
|
HaHighSpeedSuddenDisconnect: "haHighSpeedSuddenDisconnect",
|
|
21
|
+
HaImpact: "haImpact",
|
|
21
22
|
HaInvalid: "haInvalid",
|
|
22
23
|
HaLaneDeparture: "haLaneDeparture",
|
|
23
24
|
HaMaskPolicy: "haMaskPolicy",
|
|
@@ -8,7 +8,7 @@ export interface HarshEventTriggerDetailsObjectResponseBody {
|
|
|
8
8
|
export declare namespace HarshEventTriggerDetailsObjectResponseBody {
|
|
9
9
|
type Types = Types.Item[];
|
|
10
10
|
namespace Types {
|
|
11
|
-
/** The type of harsh event. Valid values: `haAccel`, `haBraking`, `haCameraMisaligned`, `haCrash`, `haDistractedDriving`, `haDistractedDrivingCalibration`, `haDrinkPolicy`, `haDriverObstructionPolicy`, `haDrowsinessDetection`, `haEvent`, `haFalsePositive`, `haFoodPolicy`, `haHighSpeedSuddenDisconnect`, `haInvalid`, `haLaneDeparture`, `haMaskPolicy`, `haNearCollision`, `haOutwardObstructionPolicy`, `haPassengerPolicy`, `haPersonalProtectiveEquipment`, `haPhonePolicy`, `haPolicyDetector`, `haRearCollisionWarning`, `haRedLightViolation`, `haReversing`, `haRolledStopSign`, `haRollover`, `haRolloverProtectionBrakeControlActivated`, `haRolloverProtectionEngineControlActivated`, `haSeatbeltPolicy`, `haSharpTurn`, `haSignDetection`, `haSmokingPolicy`, `haSpeeding`, `haTailgating`, `haTileRollingRailroadCrossing`, `haTileRollingStopSign`, `haTrafficLightDetection`, `haUnsafeParking`, `haVehicleInBlindSpotWarning`, `haVulnerableRoadUserCollisionWarning`, `haYawControlBrakeControlActivated`, `haYawControlEngineControlActivated` */
|
|
11
|
+
/** The type of harsh event. Valid values: `haAccel`, `haBraking`, `haCameraMisaligned`, `haCrash`, `haDistractedDriving`, `haDistractedDrivingCalibration`, `haDrinkPolicy`, `haDriverObstructionPolicy`, `haDrowsinessDetection`, `haEvent`, `haFalsePositive`, `haFoodPolicy`, `haHighSpeedSuddenDisconnect`, `haImpact`, `haInvalid`, `haLaneDeparture`, `haMaskPolicy`, `haNearCollision`, `haOutwardObstructionPolicy`, `haPassengerPolicy`, `haPersonalProtectiveEquipment`, `haPhonePolicy`, `haPolicyDetector`, `haRearCollisionWarning`, `haRedLightViolation`, `haReversing`, `haRolledStopSign`, `haRollover`, `haRolloverProtectionBrakeControlActivated`, `haRolloverProtectionEngineControlActivated`, `haSeatbeltPolicy`, `haSharpTurn`, `haSignDetection`, `haSmokingPolicy`, `haSpeeding`, `haTailgating`, `haTileRollingRailroadCrossing`, `haTileRollingStopSign`, `haTrafficLightDetection`, `haUnsafeParking`, `haVehicleInBlindSpotWarning`, `haVulnerableRoadUserCollisionWarning`, `haYawControlBrakeControlActivated`, `haYawControlEngineControlActivated` */
|
|
12
12
|
const Item: {
|
|
13
13
|
readonly HaAccel: "haAccel";
|
|
14
14
|
readonly HaBraking: "haBraking";
|
|
@@ -23,6 +23,7 @@ export declare namespace HarshEventTriggerDetailsObjectResponseBody {
|
|
|
23
23
|
readonly HaFalsePositive: "haFalsePositive";
|
|
24
24
|
readonly HaFoodPolicy: "haFoodPolicy";
|
|
25
25
|
readonly HaHighSpeedSuddenDisconnect: "haHighSpeedSuddenDisconnect";
|
|
26
|
+
readonly HaImpact: "haImpact";
|
|
26
27
|
readonly HaInvalid: "haInvalid";
|
|
27
28
|
readonly HaLaneDeparture: "haLaneDeparture";
|
|
28
29
|
readonly HaMaskPolicy: "haMaskPolicy";
|
|
@@ -3,7 +3,7 @@ export var HarshEventTriggerDetailsObjectResponseBody;
|
|
|
3
3
|
(function (HarshEventTriggerDetailsObjectResponseBody) {
|
|
4
4
|
let Types;
|
|
5
5
|
(function (Types) {
|
|
6
|
-
/** The type of harsh event. Valid values: `haAccel`, `haBraking`, `haCameraMisaligned`, `haCrash`, `haDistractedDriving`, `haDistractedDrivingCalibration`, `haDrinkPolicy`, `haDriverObstructionPolicy`, `haDrowsinessDetection`, `haEvent`, `haFalsePositive`, `haFoodPolicy`, `haHighSpeedSuddenDisconnect`, `haInvalid`, `haLaneDeparture`, `haMaskPolicy`, `haNearCollision`, `haOutwardObstructionPolicy`, `haPassengerPolicy`, `haPersonalProtectiveEquipment`, `haPhonePolicy`, `haPolicyDetector`, `haRearCollisionWarning`, `haRedLightViolation`, `haReversing`, `haRolledStopSign`, `haRollover`, `haRolloverProtectionBrakeControlActivated`, `haRolloverProtectionEngineControlActivated`, `haSeatbeltPolicy`, `haSharpTurn`, `haSignDetection`, `haSmokingPolicy`, `haSpeeding`, `haTailgating`, `haTileRollingRailroadCrossing`, `haTileRollingStopSign`, `haTrafficLightDetection`, `haUnsafeParking`, `haVehicleInBlindSpotWarning`, `haVulnerableRoadUserCollisionWarning`, `haYawControlBrakeControlActivated`, `haYawControlEngineControlActivated` */
|
|
6
|
+
/** The type of harsh event. Valid values: `haAccel`, `haBraking`, `haCameraMisaligned`, `haCrash`, `haDistractedDriving`, `haDistractedDrivingCalibration`, `haDrinkPolicy`, `haDriverObstructionPolicy`, `haDrowsinessDetection`, `haEvent`, `haFalsePositive`, `haFoodPolicy`, `haHighSpeedSuddenDisconnect`, `haImpact`, `haInvalid`, `haLaneDeparture`, `haMaskPolicy`, `haNearCollision`, `haOutwardObstructionPolicy`, `haPassengerPolicy`, `haPersonalProtectiveEquipment`, `haPhonePolicy`, `haPolicyDetector`, `haRearCollisionWarning`, `haRedLightViolation`, `haReversing`, `haRolledStopSign`, `haRollover`, `haRolloverProtectionBrakeControlActivated`, `haRolloverProtectionEngineControlActivated`, `haSeatbeltPolicy`, `haSharpTurn`, `haSignDetection`, `haSmokingPolicy`, `haSpeeding`, `haTailgating`, `haTileRollingRailroadCrossing`, `haTileRollingStopSign`, `haTrafficLightDetection`, `haUnsafeParking`, `haVehicleInBlindSpotWarning`, `haVulnerableRoadUserCollisionWarning`, `haYawControlBrakeControlActivated`, `haYawControlEngineControlActivated` */
|
|
7
7
|
Types.Item = {
|
|
8
8
|
HaAccel: "haAccel",
|
|
9
9
|
HaBraking: "haBraking",
|
|
@@ -18,6 +18,7 @@ export var HarshEventTriggerDetailsObjectResponseBody;
|
|
|
18
18
|
HaFalsePositive: "haFalsePositive",
|
|
19
19
|
HaFoodPolicy: "haFoodPolicy",
|
|
20
20
|
HaHighSpeedSuddenDisconnect: "haHighSpeedSuddenDisconnect",
|
|
21
|
+
HaImpact: "haImpact",
|
|
21
22
|
HaInvalid: "haInvalid",
|
|
22
23
|
HaLaneDeparture: "haLaneDeparture",
|
|
23
24
|
HaMaskPolicy: "haMaskPolicy",
|
|
@@ -16,7 +16,7 @@ export interface SafetyBehaviorTriggerDetailsObjectRequestBody {
|
|
|
16
16
|
export declare namespace SafetyBehaviorTriggerDetailsObjectRequestBody {
|
|
17
17
|
type Behaviors = Behaviors.Item[];
|
|
18
18
|
namespace Behaviors {
|
|
19
|
-
/** The type of safety behavior. Valid values: `Acceleration`, `AggressiveDriving`, `BluetoothHeadset`, `Braking`, `ContextConstructionOrWorkZone`, `ContextSnowyOrIcy`, `ContextVulnerableRoadUser`, `ContextWet`, `Crash`, `CustomerCustomEvent1`, `CustomerCustomEvent10`, `CustomerCustomEvent2`, `CustomerCustomEvent3`, `CustomerCustomEvent4`, `CustomerCustomEvent5`, `CustomerCustomEvent6`, `CustomerCustomEvent7`, `CustomerCustomEvent8`, `CustomerCustomEvent9`, `DefensiveDriving`, `DidNotYield`, `Drinking`, `Drowsy`, `Eating`, `EatingDrinking`, `EdgeDistractedDriving`, `EdgeRailroadCrossingViolation`, `FollowingDistance`, `FollowingDistanceModerate`, `FollowingDistanceSevere`, `ForwardCollisionWarning`, `GenericDistraction`, `GenericTailgating`, `HarshTurn`, `HeavySpeeding`, `HighSpeedSuddenDisconnect`, `HosViolation`, `Idling`, `Invalid`, `LaneDeparture`, `LateResponse`, `LeftTurn`, `LightSpeeding`, `MaxSpeed`, `MobileUsage`, `ModerateSpeeding`, `NearCollison`, `NearPedestrianCollision`, `NoSeatbelt`, `ObstructedCamera`, `OtherViolation`, `Passenger`, `PolicyViolationMask`, `ProtectiveEquipment`, `RanRedLight`, `Reversing`, `RollingStop`, `RolloverProtection`, `SamsaraCustomEvent1`, `SamsaraCustomEvent10`, `SamsaraCustomEvent2`, `SamsaraCustomEvent3`, `SamsaraCustomEvent4`, `SamsaraCustomEvent5`, `SamsaraCustomEvent6`, `SamsaraCustomEvent7`, `SamsaraCustomEvent8`, `SamsaraCustomEvent9`, `SevereSpeeding`, `Smoking`, `Speeding`, `UTurn`, `UnsafeManeuver`, `UnsafeParking`, `VehicleInBlindSpotWarning`, `VulnerableRoadUserCollisionWarning`, `YawControl` */
|
|
19
|
+
/** The type of safety behavior. Valid values: `Acceleration`, `AggressiveDriving`, `BluetoothHeadset`, `Braking`, `ContextConstructionOrWorkZone`, `ContextSnowyOrIcy`, `ContextVulnerableRoadUser`, `ContextWet`, `Crash`, `CustomerCustomEvent1`, `CustomerCustomEvent10`, `CustomerCustomEvent2`, `CustomerCustomEvent3`, `CustomerCustomEvent4`, `CustomerCustomEvent5`, `CustomerCustomEvent6`, `CustomerCustomEvent7`, `CustomerCustomEvent8`, `CustomerCustomEvent9`, `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`, `OtherViolation`, `Passenger`, `PolicyViolationMask`, `ProtectiveEquipment`, `RanRedLight`, `Reversing`, `RollingStop`, `RolloverProtection`, `SamsaraCustomEvent1`, `SamsaraCustomEvent10`, `SamsaraCustomEvent2`, `SamsaraCustomEvent3`, `SamsaraCustomEvent4`, `SamsaraCustomEvent5`, `SamsaraCustomEvent6`, `SamsaraCustomEvent7`, `SamsaraCustomEvent8`, `SamsaraCustomEvent9`, `SevereSpeeding`, `Smoking`, `Speeding`, `UTurn`, `UnsafeManeuver`, `UnsafeParking`, `VehicleInBlindSpotWarning`, `VulnerableRoadUserCollisionWarning`, `YawControl` */
|
|
20
20
|
const Item: {
|
|
21
21
|
readonly Acceleration: "Acceleration";
|
|
22
22
|
readonly AggressiveDriving: "AggressiveDriving";
|
|
@@ -51,6 +51,7 @@ export declare namespace SafetyBehaviorTriggerDetailsObjectRequestBody {
|
|
|
51
51
|
readonly ForwardCollisionWarning: "ForwardCollisionWarning";
|
|
52
52
|
readonly GenericDistraction: "GenericDistraction";
|
|
53
53
|
readonly GenericTailgating: "GenericTailgating";
|
|
54
|
+
readonly HarshImpact: "HarshImpact";
|
|
54
55
|
readonly HarshTurn: "HarshTurn";
|
|
55
56
|
readonly HeavySpeeding: "HeavySpeeding";
|
|
56
57
|
readonly HighSpeedSuddenDisconnect: "HighSpeedSuddenDisconnect";
|
|
@@ -3,7 +3,7 @@ export var SafetyBehaviorTriggerDetailsObjectRequestBody;
|
|
|
3
3
|
(function (SafetyBehaviorTriggerDetailsObjectRequestBody) {
|
|
4
4
|
let Behaviors;
|
|
5
5
|
(function (Behaviors) {
|
|
6
|
-
/** The type of safety behavior. Valid values: `Acceleration`, `AggressiveDriving`, `BluetoothHeadset`, `Braking`, `ContextConstructionOrWorkZone`, `ContextSnowyOrIcy`, `ContextVulnerableRoadUser`, `ContextWet`, `Crash`, `CustomerCustomEvent1`, `CustomerCustomEvent10`, `CustomerCustomEvent2`, `CustomerCustomEvent3`, `CustomerCustomEvent4`, `CustomerCustomEvent5`, `CustomerCustomEvent6`, `CustomerCustomEvent7`, `CustomerCustomEvent8`, `CustomerCustomEvent9`, `DefensiveDriving`, `DidNotYield`, `Drinking`, `Drowsy`, `Eating`, `EatingDrinking`, `EdgeDistractedDriving`, `EdgeRailroadCrossingViolation`, `FollowingDistance`, `FollowingDistanceModerate`, `FollowingDistanceSevere`, `ForwardCollisionWarning`, `GenericDistraction`, `GenericTailgating`, `HarshTurn`, `HeavySpeeding`, `HighSpeedSuddenDisconnect`, `HosViolation`, `Idling`, `Invalid`, `LaneDeparture`, `LateResponse`, `LeftTurn`, `LightSpeeding`, `MaxSpeed`, `MobileUsage`, `ModerateSpeeding`, `NearCollison`, `NearPedestrianCollision`, `NoSeatbelt`, `ObstructedCamera`, `OtherViolation`, `Passenger`, `PolicyViolationMask`, `ProtectiveEquipment`, `RanRedLight`, `Reversing`, `RollingStop`, `RolloverProtection`, `SamsaraCustomEvent1`, `SamsaraCustomEvent10`, `SamsaraCustomEvent2`, `SamsaraCustomEvent3`, `SamsaraCustomEvent4`, `SamsaraCustomEvent5`, `SamsaraCustomEvent6`, `SamsaraCustomEvent7`, `SamsaraCustomEvent8`, `SamsaraCustomEvent9`, `SevereSpeeding`, `Smoking`, `Speeding`, `UTurn`, `UnsafeManeuver`, `UnsafeParking`, `VehicleInBlindSpotWarning`, `VulnerableRoadUserCollisionWarning`, `YawControl` */
|
|
6
|
+
/** The type of safety behavior. Valid values: `Acceleration`, `AggressiveDriving`, `BluetoothHeadset`, `Braking`, `ContextConstructionOrWorkZone`, `ContextSnowyOrIcy`, `ContextVulnerableRoadUser`, `ContextWet`, `Crash`, `CustomerCustomEvent1`, `CustomerCustomEvent10`, `CustomerCustomEvent2`, `CustomerCustomEvent3`, `CustomerCustomEvent4`, `CustomerCustomEvent5`, `CustomerCustomEvent6`, `CustomerCustomEvent7`, `CustomerCustomEvent8`, `CustomerCustomEvent9`, `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`, `OtherViolation`, `Passenger`, `PolicyViolationMask`, `ProtectiveEquipment`, `RanRedLight`, `Reversing`, `RollingStop`, `RolloverProtection`, `SamsaraCustomEvent1`, `SamsaraCustomEvent10`, `SamsaraCustomEvent2`, `SamsaraCustomEvent3`, `SamsaraCustomEvent4`, `SamsaraCustomEvent5`, `SamsaraCustomEvent6`, `SamsaraCustomEvent7`, `SamsaraCustomEvent8`, `SamsaraCustomEvent9`, `SevereSpeeding`, `Smoking`, `Speeding`, `UTurn`, `UnsafeManeuver`, `UnsafeParking`, `VehicleInBlindSpotWarning`, `VulnerableRoadUserCollisionWarning`, `YawControl` */
|
|
7
7
|
Behaviors.Item = {
|
|
8
8
|
Acceleration: "Acceleration",
|
|
9
9
|
AggressiveDriving: "AggressiveDriving",
|
|
@@ -38,6 +38,7 @@ export var SafetyBehaviorTriggerDetailsObjectRequestBody;
|
|
|
38
38
|
ForwardCollisionWarning: "ForwardCollisionWarning",
|
|
39
39
|
GenericDistraction: "GenericDistraction",
|
|
40
40
|
GenericTailgating: "GenericTailgating",
|
|
41
|
+
HarshImpact: "HarshImpact",
|
|
41
42
|
HarshTurn: "HarshTurn",
|
|
42
43
|
HeavySpeeding: "HeavySpeeding",
|
|
43
44
|
HighSpeedSuddenDisconnect: "HighSpeedSuddenDisconnect",
|
|
@@ -16,7 +16,7 @@ export interface SafetyBehaviorTriggerDetailsObjectResponseBody {
|
|
|
16
16
|
export declare namespace SafetyBehaviorTriggerDetailsObjectResponseBody {
|
|
17
17
|
type Behaviors = Behaviors.Item[];
|
|
18
18
|
namespace Behaviors {
|
|
19
|
-
/** The type of safety behavior. Valid values: `Acceleration`, `AggressiveDriving`, `BluetoothHeadset`, `Braking`, `ContextConstructionOrWorkZone`, `ContextSnowyOrIcy`, `ContextVulnerableRoadUser`, `ContextWet`, `Crash`, `CustomerCustomEvent1`, `CustomerCustomEvent10`, `CustomerCustomEvent2`, `CustomerCustomEvent3`, `CustomerCustomEvent4`, `CustomerCustomEvent5`, `CustomerCustomEvent6`, `CustomerCustomEvent7`, `CustomerCustomEvent8`, `CustomerCustomEvent9`, `DefensiveDriving`, `DidNotYield`, `Drinking`, `Drowsy`, `Eating`, `EatingDrinking`, `EdgeDistractedDriving`, `EdgeRailroadCrossingViolation`, `FollowingDistance`, `FollowingDistanceModerate`, `FollowingDistanceSevere`, `ForwardCollisionWarning`, `GenericDistraction`, `GenericTailgating`, `HarshTurn`, `HeavySpeeding`, `HighSpeedSuddenDisconnect`, `HosViolation`, `Idling`, `Invalid`, `LaneDeparture`, `LateResponse`, `LeftTurn`, `LightSpeeding`, `MaxSpeed`, `MobileUsage`, `ModerateSpeeding`, `NearCollison`, `NearPedestrianCollision`, `NoSeatbelt`, `ObstructedCamera`, `OtherViolation`, `Passenger`, `PolicyViolationMask`, `ProtectiveEquipment`, `RanRedLight`, `Reversing`, `RollingStop`, `RolloverProtection`, `SamsaraCustomEvent1`, `SamsaraCustomEvent10`, `SamsaraCustomEvent2`, `SamsaraCustomEvent3`, `SamsaraCustomEvent4`, `SamsaraCustomEvent5`, `SamsaraCustomEvent6`, `SamsaraCustomEvent7`, `SamsaraCustomEvent8`, `SamsaraCustomEvent9`, `SevereSpeeding`, `Smoking`, `Speeding`, `UTurn`, `UnsafeManeuver`, `UnsafeParking`, `VehicleInBlindSpotWarning`, `VulnerableRoadUserCollisionWarning`, `YawControl` */
|
|
19
|
+
/** The type of safety behavior. Valid values: `Acceleration`, `AggressiveDriving`, `BluetoothHeadset`, `Braking`, `ContextConstructionOrWorkZone`, `ContextSnowyOrIcy`, `ContextVulnerableRoadUser`, `ContextWet`, `Crash`, `CustomerCustomEvent1`, `CustomerCustomEvent10`, `CustomerCustomEvent2`, `CustomerCustomEvent3`, `CustomerCustomEvent4`, `CustomerCustomEvent5`, `CustomerCustomEvent6`, `CustomerCustomEvent7`, `CustomerCustomEvent8`, `CustomerCustomEvent9`, `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`, `OtherViolation`, `Passenger`, `PolicyViolationMask`, `ProtectiveEquipment`, `RanRedLight`, `Reversing`, `RollingStop`, `RolloverProtection`, `SamsaraCustomEvent1`, `SamsaraCustomEvent10`, `SamsaraCustomEvent2`, `SamsaraCustomEvent3`, `SamsaraCustomEvent4`, `SamsaraCustomEvent5`, `SamsaraCustomEvent6`, `SamsaraCustomEvent7`, `SamsaraCustomEvent8`, `SamsaraCustomEvent9`, `SevereSpeeding`, `Smoking`, `Speeding`, `UTurn`, `UnsafeManeuver`, `UnsafeParking`, `VehicleInBlindSpotWarning`, `VulnerableRoadUserCollisionWarning`, `YawControl` */
|
|
20
20
|
const Item: {
|
|
21
21
|
readonly Acceleration: "Acceleration";
|
|
22
22
|
readonly AggressiveDriving: "AggressiveDriving";
|
|
@@ -51,6 +51,7 @@ export declare namespace SafetyBehaviorTriggerDetailsObjectResponseBody {
|
|
|
51
51
|
readonly ForwardCollisionWarning: "ForwardCollisionWarning";
|
|
52
52
|
readonly GenericDistraction: "GenericDistraction";
|
|
53
53
|
readonly GenericTailgating: "GenericTailgating";
|
|
54
|
+
readonly HarshImpact: "HarshImpact";
|
|
54
55
|
readonly HarshTurn: "HarshTurn";
|
|
55
56
|
readonly HeavySpeeding: "HeavySpeeding";
|
|
56
57
|
readonly HighSpeedSuddenDisconnect: "HighSpeedSuddenDisconnect";
|
|
@@ -3,7 +3,7 @@ export var SafetyBehaviorTriggerDetailsObjectResponseBody;
|
|
|
3
3
|
(function (SafetyBehaviorTriggerDetailsObjectResponseBody) {
|
|
4
4
|
let Behaviors;
|
|
5
5
|
(function (Behaviors) {
|
|
6
|
-
/** The type of safety behavior. Valid values: `Acceleration`, `AggressiveDriving`, `BluetoothHeadset`, `Braking`, `ContextConstructionOrWorkZone`, `ContextSnowyOrIcy`, `ContextVulnerableRoadUser`, `ContextWet`, `Crash`, `CustomerCustomEvent1`, `CustomerCustomEvent10`, `CustomerCustomEvent2`, `CustomerCustomEvent3`, `CustomerCustomEvent4`, `CustomerCustomEvent5`, `CustomerCustomEvent6`, `CustomerCustomEvent7`, `CustomerCustomEvent8`, `CustomerCustomEvent9`, `DefensiveDriving`, `DidNotYield`, `Drinking`, `Drowsy`, `Eating`, `EatingDrinking`, `EdgeDistractedDriving`, `EdgeRailroadCrossingViolation`, `FollowingDistance`, `FollowingDistanceModerate`, `FollowingDistanceSevere`, `ForwardCollisionWarning`, `GenericDistraction`, `GenericTailgating`, `HarshTurn`, `HeavySpeeding`, `HighSpeedSuddenDisconnect`, `HosViolation`, `Idling`, `Invalid`, `LaneDeparture`, `LateResponse`, `LeftTurn`, `LightSpeeding`, `MaxSpeed`, `MobileUsage`, `ModerateSpeeding`, `NearCollison`, `NearPedestrianCollision`, `NoSeatbelt`, `ObstructedCamera`, `OtherViolation`, `Passenger`, `PolicyViolationMask`, `ProtectiveEquipment`, `RanRedLight`, `Reversing`, `RollingStop`, `RolloverProtection`, `SamsaraCustomEvent1`, `SamsaraCustomEvent10`, `SamsaraCustomEvent2`, `SamsaraCustomEvent3`, `SamsaraCustomEvent4`, `SamsaraCustomEvent5`, `SamsaraCustomEvent6`, `SamsaraCustomEvent7`, `SamsaraCustomEvent8`, `SamsaraCustomEvent9`, `SevereSpeeding`, `Smoking`, `Speeding`, `UTurn`, `UnsafeManeuver`, `UnsafeParking`, `VehicleInBlindSpotWarning`, `VulnerableRoadUserCollisionWarning`, `YawControl` */
|
|
6
|
+
/** The type of safety behavior. Valid values: `Acceleration`, `AggressiveDriving`, `BluetoothHeadset`, `Braking`, `ContextConstructionOrWorkZone`, `ContextSnowyOrIcy`, `ContextVulnerableRoadUser`, `ContextWet`, `Crash`, `CustomerCustomEvent1`, `CustomerCustomEvent10`, `CustomerCustomEvent2`, `CustomerCustomEvent3`, `CustomerCustomEvent4`, `CustomerCustomEvent5`, `CustomerCustomEvent6`, `CustomerCustomEvent7`, `CustomerCustomEvent8`, `CustomerCustomEvent9`, `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`, `OtherViolation`, `Passenger`, `PolicyViolationMask`, `ProtectiveEquipment`, `RanRedLight`, `Reversing`, `RollingStop`, `RolloverProtection`, `SamsaraCustomEvent1`, `SamsaraCustomEvent10`, `SamsaraCustomEvent2`, `SamsaraCustomEvent3`, `SamsaraCustomEvent4`, `SamsaraCustomEvent5`, `SamsaraCustomEvent6`, `SamsaraCustomEvent7`, `SamsaraCustomEvent8`, `SamsaraCustomEvent9`, `SevereSpeeding`, `Smoking`, `Speeding`, `UTurn`, `UnsafeManeuver`, `UnsafeParking`, `VehicleInBlindSpotWarning`, `VulnerableRoadUserCollisionWarning`, `YawControl` */
|
|
7
7
|
Behaviors.Item = {
|
|
8
8
|
Acceleration: "Acceleration",
|
|
9
9
|
AggressiveDriving: "AggressiveDriving",
|
|
@@ -38,6 +38,7 @@ export var SafetyBehaviorTriggerDetailsObjectResponseBody;
|
|
|
38
38
|
ForwardCollisionWarning: "ForwardCollisionWarning",
|
|
39
39
|
GenericDistraction: "GenericDistraction",
|
|
40
40
|
GenericTailgating: "GenericTailgating",
|
|
41
|
+
HarshImpact: "HarshImpact",
|
|
41
42
|
HarshTurn: "HarshTurn",
|
|
42
43
|
HeavySpeeding: "HeavySpeeding",
|
|
43
44
|
HighSpeedSuddenDisconnect: "HighSpeedSuddenDisconnect",
|
|
@@ -4,11 +4,11 @@
|
|
|
4
4
|
export interface SafetyEventBehaviorLabelsResponseBody {
|
|
5
5
|
/** Name of the behavior label. */
|
|
6
6
|
name?: string | undefined;
|
|
7
|
-
/** Type of the BehaviorLabel. Valid values: `Acceleration`, `Braking`, `Crash`, `DefensiveDriving`, `DidNotYield`, `Drinking`, `Drowsy`, `Eating`, `EatingDrinking`, `EdgeDistractedDriving`, `EdgeRailroadCrossingViolation`, `FollowingDistance`, `FollowingDistanceModerate`, `FollowingDistanceSevere`, `ForwardCollisionWarning`, `GenericDistraction`, `GenericTailgating`, `HarshTurn`, `HighSpeedSuddenDisconnect`, `Invalid`, `LaneDeparture`, `LateResponse`, `MobileUsage`, `NearCollison`, `NoSeatbelt`, `ObstructedCamera`, `OperationalEvent`, `Passenger`, `PolicyViolationMask`, `ProtectiveEquipment`, `RanRedLight`, `RearCollisionWarning`, `RollingStop`, `RolloverProtection`, `Smoking`, `Speeding`, `VehicleInBlindSpotWarning`, `VulnerableRoadUserCollisionWarning`, `YawControl` */
|
|
7
|
+
/** Type of the BehaviorLabel. Valid values: `Acceleration`, `Braking`, `Crash`, `DefensiveDriving`, `DidNotYield`, `Drinking`, `Drowsy`, `Eating`, `EatingDrinking`, `EdgeDistractedDriving`, `EdgeRailroadCrossingViolation`, `FollowingDistance`, `FollowingDistanceModerate`, `FollowingDistanceSevere`, `ForwardCollisionWarning`, `GenericDistraction`, `GenericTailgating`, `HarshImpact`, `HarshTurn`, `HighSpeedSuddenDisconnect`, `Invalid`, `LaneDeparture`, `LateResponse`, `MobileUsage`, `NearCollison`, `NoSeatbelt`, `ObstructedCamera`, `OperationalEvent`, `Passenger`, `PolicyViolationMask`, `ProtectiveEquipment`, `RanRedLight`, `RearCollisionWarning`, `RollingStop`, `RolloverProtection`, `Smoking`, `Speeding`, `VehicleInBlindSpotWarning`, `VulnerableRoadUserCollisionWarning`, `YawControl` */
|
|
8
8
|
type?: SafetyEventBehaviorLabelsResponseBody.Type | undefined;
|
|
9
9
|
}
|
|
10
10
|
export declare namespace SafetyEventBehaviorLabelsResponseBody {
|
|
11
|
-
/** Type of the BehaviorLabel. Valid values: `Acceleration`, `Braking`, `Crash`, `DefensiveDriving`, `DidNotYield`, `Drinking`, `Drowsy`, `Eating`, `EatingDrinking`, `EdgeDistractedDriving`, `EdgeRailroadCrossingViolation`, `FollowingDistance`, `FollowingDistanceModerate`, `FollowingDistanceSevere`, `ForwardCollisionWarning`, `GenericDistraction`, `GenericTailgating`, `HarshTurn`, `HighSpeedSuddenDisconnect`, `Invalid`, `LaneDeparture`, `LateResponse`, `MobileUsage`, `NearCollison`, `NoSeatbelt`, `ObstructedCamera`, `OperationalEvent`, `Passenger`, `PolicyViolationMask`, `ProtectiveEquipment`, `RanRedLight`, `RearCollisionWarning`, `RollingStop`, `RolloverProtection`, `Smoking`, `Speeding`, `VehicleInBlindSpotWarning`, `VulnerableRoadUserCollisionWarning`, `YawControl` */
|
|
11
|
+
/** Type of the BehaviorLabel. Valid values: `Acceleration`, `Braking`, `Crash`, `DefensiveDriving`, `DidNotYield`, `Drinking`, `Drowsy`, `Eating`, `EatingDrinking`, `EdgeDistractedDriving`, `EdgeRailroadCrossingViolation`, `FollowingDistance`, `FollowingDistanceModerate`, `FollowingDistanceSevere`, `ForwardCollisionWarning`, `GenericDistraction`, `GenericTailgating`, `HarshImpact`, `HarshTurn`, `HighSpeedSuddenDisconnect`, `Invalid`, `LaneDeparture`, `LateResponse`, `MobileUsage`, `NearCollison`, `NoSeatbelt`, `ObstructedCamera`, `OperationalEvent`, `Passenger`, `PolicyViolationMask`, `ProtectiveEquipment`, `RanRedLight`, `RearCollisionWarning`, `RollingStop`, `RolloverProtection`, `Smoking`, `Speeding`, `VehicleInBlindSpotWarning`, `VulnerableRoadUserCollisionWarning`, `YawControl` */
|
|
12
12
|
const Type: {
|
|
13
13
|
readonly Acceleration: "Acceleration";
|
|
14
14
|
readonly Braking: "Braking";
|
|
@@ -27,6 +27,7 @@ export declare namespace SafetyEventBehaviorLabelsResponseBody {
|
|
|
27
27
|
readonly ForwardCollisionWarning: "ForwardCollisionWarning";
|
|
28
28
|
readonly GenericDistraction: "GenericDistraction";
|
|
29
29
|
readonly GenericTailgating: "GenericTailgating";
|
|
30
|
+
readonly HarshImpact: "HarshImpact";
|
|
30
31
|
readonly HarshTurn: "HarshTurn";
|
|
31
32
|
readonly HighSpeedSuddenDisconnect: "HighSpeedSuddenDisconnect";
|
|
32
33
|
readonly Invalid: "Invalid";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// This file was auto-generated by Fern from our API Definition.
|
|
2
2
|
export var SafetyEventBehaviorLabelsResponseBody;
|
|
3
3
|
(function (SafetyEventBehaviorLabelsResponseBody) {
|
|
4
|
-
/** Type of the BehaviorLabel. Valid values: `Acceleration`, `Braking`, `Crash`, `DefensiveDriving`, `DidNotYield`, `Drinking`, `Drowsy`, `Eating`, `EatingDrinking`, `EdgeDistractedDriving`, `EdgeRailroadCrossingViolation`, `FollowingDistance`, `FollowingDistanceModerate`, `FollowingDistanceSevere`, `ForwardCollisionWarning`, `GenericDistraction`, `GenericTailgating`, `HarshTurn`, `HighSpeedSuddenDisconnect`, `Invalid`, `LaneDeparture`, `LateResponse`, `MobileUsage`, `NearCollison`, `NoSeatbelt`, `ObstructedCamera`, `OperationalEvent`, `Passenger`, `PolicyViolationMask`, `ProtectiveEquipment`, `RanRedLight`, `RearCollisionWarning`, `RollingStop`, `RolloverProtection`, `Smoking`, `Speeding`, `VehicleInBlindSpotWarning`, `VulnerableRoadUserCollisionWarning`, `YawControl` */
|
|
4
|
+
/** Type of the BehaviorLabel. Valid values: `Acceleration`, `Braking`, `Crash`, `DefensiveDriving`, `DidNotYield`, `Drinking`, `Drowsy`, `Eating`, `EatingDrinking`, `EdgeDistractedDriving`, `EdgeRailroadCrossingViolation`, `FollowingDistance`, `FollowingDistanceModerate`, `FollowingDistanceSevere`, `ForwardCollisionWarning`, `GenericDistraction`, `GenericTailgating`, `HarshImpact`, `HarshTurn`, `HighSpeedSuddenDisconnect`, `Invalid`, `LaneDeparture`, `LateResponse`, `MobileUsage`, `NearCollison`, `NoSeatbelt`, `ObstructedCamera`, `OperationalEvent`, `Passenger`, `PolicyViolationMask`, `ProtectiveEquipment`, `RanRedLight`, `RearCollisionWarning`, `RollingStop`, `RolloverProtection`, `Smoking`, `Speeding`, `VehicleInBlindSpotWarning`, `VulnerableRoadUserCollisionWarning`, `YawControl` */
|
|
5
5
|
SafetyEventBehaviorLabelsResponseBody.Type = {
|
|
6
6
|
Acceleration: "Acceleration",
|
|
7
7
|
Braking: "Braking",
|
|
@@ -20,6 +20,7 @@ export var SafetyEventBehaviorLabelsResponseBody;
|
|
|
20
20
|
ForwardCollisionWarning: "ForwardCollisionWarning",
|
|
21
21
|
GenericDistraction: "GenericDistraction",
|
|
22
22
|
GenericTailgating: "GenericTailgating",
|
|
23
|
+
HarshImpact: "HarshImpact",
|
|
23
24
|
HarshTurn: "HarshTurn",
|
|
24
25
|
HighSpeedSuddenDisconnect: "HighSpeedSuddenDisconnect",
|
|
25
26
|
Invalid: "Invalid",
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
* The most up-to-date behavior labels associated with the safety event. These labels can be updated by Safety Admins.
|
|
3
3
|
*/
|
|
4
4
|
export interface SafetyEventV2BehaviorLabelsResponseBody {
|
|
5
|
-
/** The label associated with the safety event. Labels can be updated by Safety Admins, if a label is removed from a safety event it will be removed from this list. 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`, `HarshTurn`, `HeavySpeeding`, `HighSpeedSuddenDisconnect`, `HosViolation`, `Idling`, `Invalid`, `LaneDeparture`, `LateResponse`, `LeftTurn`, `LightSpeeding`, `MaxSpeed`, `MobileUsage`, `ModerateSpeeding`, `NearCollison`, `NearPedestrianCollision`, `NoSeatbelt`, `ObstructedCamera`, `OperationalEvent`, `OtherViolation`, `Passenger`, `PolicyViolationMask`, `ProtectiveEquipment`, `RanRedLight`, `RearCollisionWarning`, `Reversing`, `RollingStop`, `RolloverProtection`, `SevereSpeeding`, `Smoking`, `Speeding`, `UTurn`, `UnsafeManeuver`, `UnsafeParking`, `VehicleInBlindSpotWarning`, `VulnerableRoadUserCollisionWarning`, `YawControl` */
|
|
5
|
+
/** The label associated with the safety event. Labels can be updated by Safety Admins, if a label is removed from a safety event it will be removed from this list. 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`, `RanRedLight`, `RearCollisionWarning`, `Reversing`, `RollingStop`, `RolloverProtection`, `SevereSpeeding`, `Smoking`, `Speeding`, `UTurn`, `UnsafeManeuver`, `UnsafeParking`, `VehicleInBlindSpotWarning`, `VulnerableRoadUserCollisionWarning`, `YawControl` */
|
|
6
6
|
label?: SafetyEventV2BehaviorLabelsResponseBody.Label | undefined;
|
|
7
7
|
/** The source of the label associated with the safety event. Valid values: `automated`, `userGenerated` */
|
|
8
8
|
source?: SafetyEventV2BehaviorLabelsResponseBody.Source | undefined;
|
|
9
9
|
}
|
|
10
10
|
export declare namespace SafetyEventV2BehaviorLabelsResponseBody {
|
|
11
|
-
/** The label associated with the safety event. Labels can be updated by Safety Admins, if a label is removed from a safety event it will be removed from this list. 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`, `HarshTurn`, `HeavySpeeding`, `HighSpeedSuddenDisconnect`, `HosViolation`, `Idling`, `Invalid`, `LaneDeparture`, `LateResponse`, `LeftTurn`, `LightSpeeding`, `MaxSpeed`, `MobileUsage`, `ModerateSpeeding`, `NearCollison`, `NearPedestrianCollision`, `NoSeatbelt`, `ObstructedCamera`, `OperationalEvent`, `OtherViolation`, `Passenger`, `PolicyViolationMask`, `ProtectiveEquipment`, `RanRedLight`, `RearCollisionWarning`, `Reversing`, `RollingStop`, `RolloverProtection`, `SevereSpeeding`, `Smoking`, `Speeding`, `UTurn`, `UnsafeManeuver`, `UnsafeParking`, `VehicleInBlindSpotWarning`, `VulnerableRoadUserCollisionWarning`, `YawControl` */
|
|
11
|
+
/** The label associated with the safety event. Labels can be updated by Safety Admins, if a label is removed from a safety event it will be removed from this list. 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`, `RanRedLight`, `RearCollisionWarning`, `Reversing`, `RollingStop`, `RolloverProtection`, `SevereSpeeding`, `Smoking`, `Speeding`, `UTurn`, `UnsafeManeuver`, `UnsafeParking`, `VehicleInBlindSpotWarning`, `VulnerableRoadUserCollisionWarning`, `YawControl` */
|
|
12
12
|
const Label: {
|
|
13
13
|
readonly Acceleration: "Acceleration";
|
|
14
14
|
readonly AggressiveDriving: "AggressiveDriving";
|
|
@@ -33,6 +33,7 @@ export declare namespace SafetyEventV2BehaviorLabelsResponseBody {
|
|
|
33
33
|
readonly ForwardCollisionWarning: "ForwardCollisionWarning";
|
|
34
34
|
readonly GenericDistraction: "GenericDistraction";
|
|
35
35
|
readonly GenericTailgating: "GenericTailgating";
|
|
36
|
+
readonly HarshImpact: "HarshImpact";
|
|
36
37
|
readonly HarshTurn: "HarshTurn";
|
|
37
38
|
readonly HeavySpeeding: "HeavySpeeding";
|
|
38
39
|
readonly HighSpeedSuddenDisconnect: "HighSpeedSuddenDisconnect";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// This file was auto-generated by Fern from our API Definition.
|
|
2
2
|
export var SafetyEventV2BehaviorLabelsResponseBody;
|
|
3
3
|
(function (SafetyEventV2BehaviorLabelsResponseBody) {
|
|
4
|
-
/** The label associated with the safety event. Labels can be updated by Safety Admins, if a label is removed from a safety event it will be removed from this list. 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`, `HarshTurn`, `HeavySpeeding`, `HighSpeedSuddenDisconnect`, `HosViolation`, `Idling`, `Invalid`, `LaneDeparture`, `LateResponse`, `LeftTurn`, `LightSpeeding`, `MaxSpeed`, `MobileUsage`, `ModerateSpeeding`, `NearCollison`, `NearPedestrianCollision`, `NoSeatbelt`, `ObstructedCamera`, `OperationalEvent`, `OtherViolation`, `Passenger`, `PolicyViolationMask`, `ProtectiveEquipment`, `RanRedLight`, `RearCollisionWarning`, `Reversing`, `RollingStop`, `RolloverProtection`, `SevereSpeeding`, `Smoking`, `Speeding`, `UTurn`, `UnsafeManeuver`, `UnsafeParking`, `VehicleInBlindSpotWarning`, `VulnerableRoadUserCollisionWarning`, `YawControl` */
|
|
4
|
+
/** The label associated with the safety event. Labels can be updated by Safety Admins, if a label is removed from a safety event it will be removed from this list. 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`, `RanRedLight`, `RearCollisionWarning`, `Reversing`, `RollingStop`, `RolloverProtection`, `SevereSpeeding`, `Smoking`, `Speeding`, `UTurn`, `UnsafeManeuver`, `UnsafeParking`, `VehicleInBlindSpotWarning`, `VulnerableRoadUserCollisionWarning`, `YawControl` */
|
|
5
5
|
SafetyEventV2BehaviorLabelsResponseBody.Label = {
|
|
6
6
|
Acceleration: "Acceleration",
|
|
7
7
|
AggressiveDriving: "AggressiveDriving",
|
|
@@ -26,6 +26,7 @@ export var SafetyEventV2BehaviorLabelsResponseBody;
|
|
|
26
26
|
ForwardCollisionWarning: "ForwardCollisionWarning",
|
|
27
27
|
GenericDistraction: "GenericDistraction",
|
|
28
28
|
GenericTailgating: "GenericTailgating",
|
|
29
|
+
HarshImpact: "HarshImpact",
|
|
29
30
|
HarshTurn: "HarshTurn",
|
|
30
31
|
HeavySpeeding: "HeavySpeeding",
|
|
31
32
|
HighSpeedSuddenDisconnect: "HighSpeedSuddenDisconnect",
|
|
@@ -563,6 +563,7 @@ export * from "./DriverEldRulesetShift.mjs";
|
|
|
563
563
|
export * from "./DriverEldRulesets.mjs";
|
|
564
564
|
export * from "./DriverEldSettings.mjs";
|
|
565
565
|
export * from "./DriverEldYmEnabled.mjs";
|
|
566
|
+
export * from "./DriverEmail.mjs";
|
|
566
567
|
export * from "./DriverExternalIds.mjs";
|
|
567
568
|
export * from "./DriverHasDrivingFeaturesHidden.mjs";
|
|
568
569
|
export * from "./DriverHasVehicleUnpinningEnabled.mjs";
|
|
@@ -563,6 +563,7 @@ export * from "./DriverEldRulesetShift.mjs";
|
|
|
563
563
|
export * from "./DriverEldRulesets.mjs";
|
|
564
564
|
export * from "./DriverEldSettings.mjs";
|
|
565
565
|
export * from "./DriverEldYmEnabled.mjs";
|
|
566
|
+
export * from "./DriverEmail.mjs";
|
|
566
567
|
export * from "./DriverExternalIds.mjs";
|
|
567
568
|
export * from "./DriverHasDrivingFeaturesHidden.mjs";
|
|
568
569
|
export * from "./DriverHasVehicleUnpinningEnabled.mjs";
|
package/dist/esm/version.d.mts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "13.
|
|
1
|
+
export declare const SDK_VERSION = "13.15.0";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "13.
|
|
1
|
+
export const SDK_VERSION = "13.15.0";
|