samsara-api 5.3.1__py3-none-any.whl → 5.4.0__py3-none-any.whl

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.
Files changed (28) hide show
  1. samsara/__init__.py +6 -0
  2. samsara/alerts/client.py +4 -0
  3. samsara/alerts/raw_client.py +4 -0
  4. samsara/beta_ap_is/client.py +0 -630
  5. samsara/beta_ap_is/raw_client.py +1496 -3144
  6. samsara/client.py +38 -0
  7. samsara/core/client_wrapper.py +2 -2
  8. samsara/media/client.py +4 -4
  9. samsara/media/raw_client.py +4 -4
  10. samsara/training_assignments/__init__.py +4 -0
  11. samsara/training_assignments/client.py +528 -0
  12. samsara/training_assignments/raw_client.py +1330 -0
  13. samsara/training_courses/__init__.py +4 -0
  14. samsara/training_courses/client.py +168 -0
  15. samsara/training_courses/raw_client.py +364 -0
  16. samsara/types/harsh_event_trigger_details_object_request_body_types_item.py +1 -0
  17. samsara/types/harsh_event_trigger_details_object_response_body_types_item.py +1 -0
  18. samsara/types/webhook_response_response_body_event_types_item.py +1 -0
  19. samsara/types/webhooks_get_webhook_response_body_event_types_item.py +1 -0
  20. samsara/types/webhooks_patch_webhook_response_body_event_types_item.py +1 -0
  21. samsara/types/webhooks_post_webhooks_response_body_event_types_item.py +1 -0
  22. samsara/types/workflow_trigger_object_request_body.py +2 -4
  23. samsara/types/workflow_trigger_object_response_body.py +2 -4
  24. samsara/webhooks/types/webhooks_post_webhooks_request_body_event_types_item.py +1 -0
  25. {samsara_api-5.3.1.dist-info → samsara_api-5.4.0.dist-info}/METADATA +1 -1
  26. {samsara_api-5.3.1.dist-info → samsara_api-5.4.0.dist-info}/RECORD +28 -22
  27. {samsara_api-5.3.1.dist-info → samsara_api-5.4.0.dist-info}/LICENSE +0 -0
  28. {samsara_api-5.3.1.dist-info → samsara_api-5.4.0.dist-info}/WHEEL +0 -0
samsara/__init__.py CHANGED
@@ -3342,6 +3342,8 @@ if typing.TYPE_CHECKING:
3342
3342
  tags,
3343
3343
  trailer_assignments,
3344
3344
  trailers,
3345
+ training_assignments,
3346
+ training_courses,
3345
3347
  trips,
3346
3348
  users,
3347
3349
  vehicle_locations,
@@ -6899,6 +6901,8 @@ _dynamic_imports: typing.Dict[str, str] = {
6899
6901
  "tags": ".tags",
6900
6902
  "trailer_assignments": ".trailer_assignments",
6901
6903
  "trailers": ".trailers",
6904
+ "training_assignments": ".training_assignments",
6905
+ "training_courses": ".training_courses",
6902
6906
  "trips": ".trips",
6903
6907
  "users": ".users",
6904
6908
  "vehicle_locations": ".vehicle_locations",
@@ -10360,6 +10364,8 @@ __all__ = [
10360
10364
  "tags",
10361
10365
  "trailer_assignments",
10362
10366
  "trailers",
10367
+ "training_assignments",
10368
+ "training_courses",
10363
10369
  "trips",
10364
10370
  "users",
10365
10371
  "vehicle_locations",
samsara/alerts/client.py CHANGED
@@ -85,6 +85,8 @@ class AlertsClient:
85
85
  Geofence Exit
86
86
  Route Stop ETA Alert
87
87
  Driver Recorded
88
+ A safety event occurred with a driver assigned
89
+ A safety event occurred
88
90
  Sudden Fuel Level Rise
89
91
  Sudden Fuel Level Drop
90
92
  Scheduled Date And Time
@@ -475,6 +477,8 @@ class AsyncAlertsClient:
475
477
  Geofence Exit
476
478
  Route Stop ETA Alert
477
479
  Driver Recorded
480
+ A safety event occurred with a driver assigned
481
+ A safety event occurred
478
482
  Sudden Fuel Level Rise
479
483
  Sudden Fuel Level Drop
480
484
  Scheduled Date And Time
@@ -87,6 +87,8 @@ class RawAlertsClient:
87
87
  Geofence Exit
88
88
  Route Stop ETA Alert
89
89
  Driver Recorded
90
+ A safety event occurred with a driver assigned
91
+ A safety event occurred
90
92
  Sudden Fuel Level Rise
91
93
  Sudden Fuel Level Drop
92
94
  Scheduled Date And Time
@@ -996,6 +998,8 @@ class AsyncRawAlertsClient:
996
998
  Geofence Exit
997
999
  Route Stop ETA Alert
998
1000
  Driver Recorded
1001
+ A safety event occurred with a driver assigned
1002
+ A safety event occurred
999
1003
  Sudden Fuel Level Rise
1000
1004
  Sudden Fuel Level Drop
1001
1005
  Scheduled Date And Time