samsara-api 0.0.1__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.
- samsara/__init__.py +4518 -0
- samsara/addresses/__init__.py +7 -0
- samsara/addresses/client.py +726 -0
- samsara/addresses/raw_client.py +784 -0
- samsara/addresses/types/__init__.py +8 -0
- samsara/addresses/types/create_address_request_address_types_item.py +10 -0
- samsara/addresses/types/update_address_request_address_types_item.py +10 -0
- samsara/alerts/__init__.py +8 -0
- samsara/alerts/client.py +44 -0
- samsara/alerts/configurations/__init__.py +7 -0
- samsara/alerts/configurations/client.py +706 -0
- samsara/alerts/configurations/raw_client.py +1513 -0
- samsara/alerts/configurations/types/__init__.py +7 -0
- samsara/alerts/configurations/types/configurations_list_request_status.py +5 -0
- samsara/alerts/incidents/__init__.py +4 -0
- samsara/alerts/incidents/client.py +170 -0
- samsara/alerts/incidents/raw_client.py +362 -0
- samsara/alerts/raw_client.py +13 -0
- samsara/assets/__init__.py +21 -0
- samsara/assets/client.py +717 -0
- samsara/assets/location_and_speed/__init__.py +4 -0
- samsara/assets/location_and_speed/client.py +218 -0
- samsara/assets/location_and_speed/raw_client.py +414 -0
- samsara/assets/raw_client.py +1534 -0
- samsara/assets/types/__init__.py +17 -0
- samsara/assets/types/assets_create_asset_request_body_regulation_mode.py +7 -0
- samsara/assets/types/assets_create_asset_request_body_type.py +7 -0
- samsara/assets/types/assets_list_request_type.py +7 -0
- samsara/assets/types/assets_update_asset_request_body_regulation_mode.py +7 -0
- samsara/assets/types/assets_update_asset_request_body_type.py +7 -0
- samsara/attributes/__init__.py +27 -0
- samsara/attributes/client.py +684 -0
- samsara/attributes/raw_client.py +719 -0
- samsara/attributes/types/__init__.py +25 -0
- samsara/attributes/types/attributes_delete_request_entity_type.py +5 -0
- samsara/attributes/types/attributes_get_request_entity_type.py +5 -0
- samsara/attributes/types/attributes_list_request_entity_type.py +5 -0
- samsara/attributes/types/create_attribute_request_attribute_type.py +5 -0
- samsara/attributes/types/create_attribute_request_attribute_value_quantity.py +5 -0
- samsara/attributes/types/create_attribute_request_entity_type.py +5 -0
- samsara/attributes/types/update_attribute_request_attribute_type.py +5 -0
- samsara/attributes/types/update_attribute_request_attribute_value_quantity.py +5 -0
- samsara/attributes/types/update_attribute_request_entity_type.py +5 -0
- samsara/auth/__init__.py +7 -0
- samsara/auth/client.py +129 -0
- samsara/auth/raw_client.py +128 -0
- samsara/auth/types/__init__.py +7 -0
- samsara/auth/types/get_token_response.py +21 -0
- samsara/beta/__init__.py +4 -0
- samsara/beta/client.py +161 -0
- samsara/beta/raw_client.py +367 -0
- samsara/cameras/__init__.py +13 -0
- samsara/cameras/client.py +39 -0
- samsara/cameras/media/__init__.py +19 -0
- samsara/cameras/media/client.py +232 -0
- samsara/cameras/media/raw_client.py +417 -0
- samsara/cameras/media/retrieval/__init__.py +13 -0
- samsara/cameras/media/retrieval/client.py +296 -0
- samsara/cameras/media/retrieval/raw_client.py +686 -0
- samsara/cameras/media/retrieval/types/__init__.py +15 -0
- samsara/cameras/media/retrieval/types/media_retrieval_post_media_retrieval_request_body_inputs_item.py +7 -0
- samsara/cameras/media/retrieval/types/media_retrieval_post_media_retrieval_request_body_media_type.py +5 -0
- samsara/cameras/media/types/__init__.py +9 -0
- samsara/cameras/media/types/media_list_request_inputs_item.py +7 -0
- samsara/cameras/media/types/media_list_request_media_types_item.py +5 -0
- samsara/cameras/media/types/media_list_request_trigger_reasons_item.py +10 -0
- samsara/cameras/raw_client.py +13 -0
- samsara/carrier_proposed_assignments/__init__.py +4 -0
- samsara/carrier_proposed_assignments/client.py +384 -0
- samsara/carrier_proposed_assignments/raw_client.py +400 -0
- samsara/client.py +284 -0
- samsara/coaching/__init__.py +7 -0
- samsara/coaching/client.py +44 -0
- samsara/coaching/driver_coach_assignments/__init__.py +4 -0
- samsara/coaching/driver_coach_assignments/client.py +275 -0
- samsara/coaching/driver_coach_assignments/raw_client.py +679 -0
- samsara/coaching/raw_client.py +13 -0
- samsara/coaching/sessions/__init__.py +4 -0
- samsara/coaching/sessions/client.py +220 -0
- samsara/coaching/sessions/raw_client.py +406 -0
- samsara/contacts/__init__.py +4 -0
- samsara/contacts/client.py +532 -0
- samsara/contacts/raw_client.py +588 -0
- samsara/core/__init__.py +55 -0
- samsara/core/api_error.py +23 -0
- samsara/core/client_wrapper.py +77 -0
- samsara/core/datetime_utils.py +28 -0
- samsara/core/file.py +67 -0
- samsara/core/force_multipart.py +16 -0
- samsara/core/http_client.py +543 -0
- samsara/core/http_response.py +55 -0
- samsara/core/jsonable_encoder.py +100 -0
- samsara/core/pagination.py +82 -0
- samsara/core/pydantic_utilities.py +255 -0
- samsara/core/query_encoder.py +58 -0
- samsara/core/remove_none_from_dict.py +11 -0
- samsara/core/request_options.py +35 -0
- samsara/core/serialization.py +276 -0
- samsara/defect_types/__init__.py +4 -0
- samsara/defect_types/client.py +146 -0
- samsara/defect_types/raw_client.py +352 -0
- samsara/defects/__init__.py +4 -0
- samsara/defects/client.py +468 -0
- samsara/defects/raw_client.py +678 -0
- samsara/devices/__init__.py +4 -0
- samsara/devices/client.py +180 -0
- samsara/devices/raw_client.py +376 -0
- samsara/document_types/__init__.py +4 -0
- samsara/document_types/client.py +124 -0
- samsara/document_types/raw_client.py +326 -0
- samsara/documents/__init__.py +8 -0
- samsara/documents/client.py +534 -0
- samsara/documents/pdfs/__init__.py +4 -0
- samsara/documents/pdfs/client.py +206 -0
- samsara/documents/pdfs/raw_client.py +212 -0
- samsara/documents/raw_client.py +1327 -0
- samsara/documents/types/__init__.py +7 -0
- samsara/documents/types/documents_post_document_request_body_state.py +5 -0
- samsara/driver_trailer_assignments/__init__.py +4 -0
- samsara/driver_trailer_assignments/client.py +379 -0
- samsara/driver_trailer_assignments/raw_client.py +1009 -0
- samsara/driver_vehicle_assignments/__init__.py +7 -0
- samsara/driver_vehicle_assignments/client.py +701 -0
- samsara/driver_vehicle_assignments/raw_client.py +1520 -0
- samsara/driver_vehicle_assignments/types/__init__.py +8 -0
- samsara/driver_vehicle_assignments/types/driver_vehicle_assignments_get_request_assignment_type.py +10 -0
- samsara/driver_vehicle_assignments/types/driver_vehicle_assignments_get_request_filter_by.py +5 -0
- samsara/drivers/__init__.py +24 -0
- samsara/drivers/client.py +1171 -0
- samsara/drivers/qr_codes/__init__.py +4 -0
- samsara/drivers/qr_codes/client.py +304 -0
- samsara/drivers/qr_codes/raw_client.py +926 -0
- samsara/drivers/raw_client.py +1425 -0
- samsara/drivers/tachograph_activity/__init__.py +4 -0
- samsara/drivers/tachograph_activity/client.py +186 -0
- samsara/drivers/tachograph_activity/raw_client.py +169 -0
- samsara/drivers/tachograph_files/__init__.py +4 -0
- samsara/drivers/tachograph_files/client.py +190 -0
- samsara/drivers/tachograph_files/raw_client.py +173 -0
- samsara/drivers/types/__init__.py +15 -0
- samsara/drivers/types/create_driver_request_locale.py +7 -0
- samsara/drivers/types/drivers_list_request_driver_activation_status.py +5 -0
- samsara/drivers/types/update_driver_request_driver_activation_status.py +5 -0
- samsara/drivers/types/update_driver_request_locale.py +7 -0
- samsara/drivers/vehicle_assignments/__init__.py +7 -0
- samsara/drivers/vehicle_assignments/client.py +201 -0
- samsara/drivers/vehicle_assignments/raw_client.py +397 -0
- samsara/drivers/vehicle_assignments/types/__init__.py +9 -0
- samsara/drivers/vehicle_assignments/types/vehicle_assignments_list_request_driver_activation_status.py +5 -0
- samsara/dvirs/__init__.py +7 -0
- samsara/dvirs/client.py +660 -0
- samsara/dvirs/raw_client.py +873 -0
- samsara/dvirs/types/__init__.py +7 -0
- samsara/dvirs/types/create_dvir_request_safety_status.py +5 -0
- samsara/environment.py +8 -0
- samsara/equipment/__init__.py +14 -0
- samsara/equipment/client.py +239 -0
- samsara/equipment/locations/__init__.py +4 -0
- samsara/equipment/locations/client.py +439 -0
- samsara/equipment/locations/raw_client.py +438 -0
- samsara/equipment/raw_client.py +237 -0
- samsara/equipment/stats/__init__.py +7 -0
- samsara/equipment/stats/client.py +574 -0
- samsara/equipment/stats/raw_client.py +573 -0
- samsara/equipment/stats/types/__init__.py +9 -0
- samsara/equipment/stats/types/stats_feed_request_types_item.py +19 -0
- samsara/equipment/stats/types/stats_get_request_types_item.py +19 -0
- samsara/equipment/stats/types/stats_history_request_types_item.py +19 -0
- samsara/errors/__init__.py +25 -0
- samsara/errors/bad_gateway_error.py +10 -0
- samsara/errors/gateway_timeout_error.py +10 -0
- samsara/errors/internal_server_error.py +10 -0
- samsara/errors/method_not_allowed_error.py +10 -0
- samsara/errors/not_found_error.py +10 -0
- samsara/errors/not_implemented_error.py +10 -0
- samsara/errors/service_unavailable_error.py +10 -0
- samsara/errors/too_many_requests_error.py +10 -0
- samsara/errors/unauthorized_error.py +10 -0
- samsara/form_submissions/__init__.py +8 -0
- samsara/form_submissions/client.py +677 -0
- samsara/form_submissions/pdf_exports/__init__.py +4 -0
- samsara/form_submissions/pdf_exports/client.py +229 -0
- samsara/form_submissions/pdf_exports/raw_client.py +635 -0
- samsara/form_submissions/raw_client.py +1523 -0
- samsara/form_submissions/types/__init__.py +9 -0
- samsara/form_submissions/types/form_submissions_patch_form_submission_request_body_status.py +7 -0
- samsara/fuel_purchases/__init__.py +7 -0
- samsara/fuel_purchases/client.py +219 -0
- samsara/fuel_purchases/raw_client.py +410 -0
- samsara/fuel_purchases/types/__init__.py +9 -0
- samsara/fuel_purchases/types/fuel_purchase_post_fuel_purchase_request_body_ifta_fuel_type.py +25 -0
- samsara/gateways/__init__.py +4 -0
- samsara/gateways/client.py +312 -0
- samsara/gateways/raw_client.py +923 -0
- samsara/hos/__init__.py +4 -0
- samsara/hos/client.py +488 -0
- samsara/hos/raw_client.py +700 -0
- samsara/hours_of_service/__init__.py +7 -0
- samsara/hours_of_service/client.py +229 -0
- samsara/hours_of_service/raw_client.py +425 -0
- samsara/hours_of_service/types/__init__.py +9 -0
- samsara/hours_of_service/types/hours_of_service_get_daily_logs_request_driver_activation_status.py +7 -0
- samsara/ifta/__init__.py +7 -0
- samsara/ifta/client.py +39 -0
- samsara/ifta/csv/__init__.py +4 -0
- samsara/ifta/csv/client.py +274 -0
- samsara/ifta/csv/raw_client.py +675 -0
- samsara/ifta/raw_client.py +13 -0
- samsara/inputs/__init__.py +7 -0
- samsara/inputs/client.py +213 -0
- samsara/inputs/raw_client.py +403 -0
- samsara/inputs/types/__init__.py +7 -0
- samsara/inputs/types/inputs_stream_request_type.py +27 -0
- samsara/issues/__init__.py +7 -0
- samsara/issues/client.py +446 -0
- samsara/issues/raw_client.py +1067 -0
- samsara/issues/types/__init__.py +7 -0
- samsara/issues/types/issues_patch_issue_request_body_status.py +7 -0
- samsara/legacy/__init__.py +4 -0
- samsara/legacy/client.py +188 -0
- samsara/legacy/raw_client.py +384 -0
- samsara/live_shares/__init__.py +7 -0
- samsara/live_shares/client.py +536 -0
- samsara/live_shares/raw_client.py +1383 -0
- samsara/live_shares/types/__init__.py +10 -0
- samsara/live_shares/types/live_shares_list_request_type.py +7 -0
- samsara/live_shares/types/live_sharing_links_create_live_sharing_link_request_body_type.py +7 -0
- samsara/maintenance/__init__.py +24 -0
- samsara/maintenance/client.py +44 -0
- samsara/maintenance/raw_client.py +13 -0
- samsara/maintenance/service_tasks/__init__.py +4 -0
- samsara/maintenance/service_tasks/client.py +312 -0
- samsara/maintenance/service_tasks/raw_client.py +496 -0
- samsara/maintenance/work_orders/__init__.py +21 -0
- samsara/maintenance/work_orders/client.py +849 -0
- samsara/maintenance/work_orders/raw_client.py +1912 -0
- samsara/maintenance/work_orders/types/__init__.py +19 -0
- samsara/maintenance/work_orders/types/work_orders_patch_work_orders_request_body_category.py +7 -0
- samsara/maintenance/work_orders/types/work_orders_patch_work_orders_request_body_priority.py +7 -0
- samsara/maintenance/work_orders/types/work_orders_patch_work_orders_request_body_status.py +18 -0
- samsara/maintenance/work_orders/types/work_orders_post_work_orders_request_body_category.py +7 -0
- samsara/maintenance/work_orders/types/work_orders_post_work_orders_request_body_priority.py +7 -0
- samsara/maintenance/work_orders/types/work_orders_stream_request_work_order_statuses_item.py +18 -0
- samsara/me/__init__.py +4 -0
- samsara/me/client.py +108 -0
- samsara/me/raw_client.py +99 -0
- samsara/py.typed +0 -0
- samsara/reports/__init__.py +7 -0
- samsara/reports/client.py +49 -0
- samsara/reports/drivers/__init__.py +7 -0
- samsara/reports/drivers/client.py +39 -0
- samsara/reports/drivers/fuel_energy/__init__.py +4 -0
- samsara/reports/drivers/fuel_energy/client.py +194 -0
- samsara/reports/drivers/fuel_energy/raw_client.py +384 -0
- samsara/reports/drivers/raw_client.py +13 -0
- samsara/reports/ifta/__init__.py +18 -0
- samsara/reports/ifta/client.py +44 -0
- samsara/reports/ifta/jurisdiction/__init__.py +7 -0
- samsara/reports/ifta/jurisdiction/client.py +217 -0
- samsara/reports/ifta/jurisdiction/raw_client.py +409 -0
- samsara/reports/ifta/jurisdiction/types/__init__.py +9 -0
- samsara/reports/ifta/jurisdiction/types/jurisdiction_get_request_fuel_type.py +25 -0
- samsara/reports/ifta/jurisdiction/types/jurisdiction_get_request_month.py +21 -0
- samsara/reports/ifta/jurisdiction/types/jurisdiction_get_request_quarter.py +5 -0
- samsara/reports/ifta/raw_client.py +13 -0
- samsara/reports/ifta/vehicle/__init__.py +7 -0
- samsara/reports/ifta/vehicle/client.py +227 -0
- samsara/reports/ifta/vehicle/raw_client.py +419 -0
- samsara/reports/ifta/vehicle/types/__init__.py +9 -0
- samsara/reports/ifta/vehicle/types/vehicle_get_request_fuel_type.py +25 -0
- samsara/reports/ifta/vehicle/types/vehicle_get_request_month.py +21 -0
- samsara/reports/ifta/vehicle/types/vehicle_get_request_quarter.py +5 -0
- samsara/reports/raw_client.py +13 -0
- samsara/reports/vehicles/__init__.py +8 -0
- samsara/reports/vehicles/client.py +44 -0
- samsara/reports/vehicles/fuel_energy/__init__.py +7 -0
- samsara/reports/vehicles/fuel_energy/client.py +205 -0
- samsara/reports/vehicles/fuel_energy/raw_client.py +395 -0
- samsara/reports/vehicles/fuel_energy/types/__init__.py +7 -0
- samsara/reports/vehicles/fuel_energy/types/fuel_energy_get_request_energy_type.py +5 -0
- samsara/reports/vehicles/idling/__init__.py +4 -0
- samsara/reports/vehicles/idling/client.py +224 -0
- samsara/reports/vehicles/idling/raw_client.py +414 -0
- samsara/reports/vehicles/raw_client.py +13 -0
- samsara/routes/__init__.py +7 -0
- samsara/routes/audit_logs/__init__.py +4 -0
- samsara/routes/audit_logs/client.py +146 -0
- samsara/routes/audit_logs/raw_client.py +350 -0
- samsara/routes/client.py +700 -0
- samsara/routes/raw_client.py +1731 -0
- samsara/safety_events/__init__.py +7 -0
- samsara/safety_events/audit_logs/__init__.py +4 -0
- samsara/safety_events/audit_logs/client.py +152 -0
- samsara/safety_events/audit_logs/raw_client.py +356 -0
- samsara/safety_events/client.py +189 -0
- samsara/safety_events/raw_client.py +169 -0
- samsara/settings/__init__.py +7 -0
- samsara/settings/client.py +49 -0
- samsara/settings/compliance/__init__.py +4 -0
- samsara/settings/compliance/client.py +308 -0
- samsara/settings/compliance/raw_client.py +718 -0
- samsara/settings/driver_app/__init__.py +4 -0
- samsara/settings/driver_app/client.py +270 -0
- samsara/settings/driver_app/raw_client.py +697 -0
- samsara/settings/raw_client.py +13 -0
- samsara/settings/safety/__init__.py +4 -0
- samsara/settings/safety/client.py +118 -0
- samsara/settings/safety/raw_client.py +314 -0
- samsara/speeding_intervals/__init__.py +7 -0
- samsara/speeding_intervals/client.py +213 -0
- samsara/speeding_intervals/raw_client.py +405 -0
- samsara/speeding_intervals/types/__init__.py +7 -0
- samsara/speeding_intervals/types/speeding_intervals_stream_request_query_by.py +5 -0
- samsara/tags/__init__.py +4 -0
- samsara/tags/client.py +837 -0
- samsara/tags/raw_client.py +881 -0
- samsara/trailers/__init__.py +4 -0
- samsara/trailers/client.py +699 -0
- samsara/trailers/raw_client.py +1723 -0
- samsara/training_assignments/__init__.py +4 -0
- samsara/training_assignments/client.py +520 -0
- samsara/training_assignments/raw_client.py +1326 -0
- samsara/training_courses/__init__.py +4 -0
- samsara/training_courses/client.py +168 -0
- samsara/training_courses/raw_client.py +364 -0
- samsara/trips/__init__.py +7 -0
- samsara/trips/client.py +202 -0
- samsara/trips/raw_client.py +394 -0
- samsara/trips/types/__init__.py +8 -0
- samsara/trips/types/trips_stream_request_completion_status.py +5 -0
- samsara/trips/types/trips_stream_request_query_by.py +5 -0
- samsara/types/__init__.py +6031 -0
- samsara/types/accessory_response_object_response_body.py +31 -0
- samsara/types/action_object_request_body.py +39 -0
- samsara/types/action_object_response_body.py +39 -0
- samsara/types/action_params_object_request_body.py +36 -0
- samsara/types/action_params_object_response_body.py +36 -0
- samsara/types/address.py +91 -0
- samsara/types/address_address_types_item.py +10 -0
- samsara/types/address_geofence.py +28 -0
- samsara/types/address_geofence_circle.py +38 -0
- samsara/types/address_geofence_polygon.py +27 -0
- samsara/types/address_geofence_polygon_vertices.py +27 -0
- samsara/types/address_geofence_settings.py +30 -0
- samsara/types/address_response.py +24 -0
- samsara/types/address_response_response_body.py +69 -0
- samsara/types/address_tiny_response.py +31 -0
- samsara/types/alert_event.py +74 -0
- samsara/types/alert_event_alert_condition_id.py +40 -0
- samsara/types/alert_event_device.py +37 -0
- samsara/types/alert_event_driver.py +27 -0
- samsara/types/alert_event_dvir.py +52 -0
- samsara/types/alert_event_dvir_defects_item.py +44 -0
- samsara/types/alert_event_dvir_driver.py +27 -0
- samsara/types/alert_event_dvir_inspection_type.py +7 -0
- samsara/types/alert_event_dvir_safety_status.py +5 -0
- samsara/types/alert_event_dvir_trailer.py +27 -0
- samsara/types/alert_event_dvir_vehicle.py +27 -0
- samsara/types/alert_object_driver_response_body.py +52 -0
- samsara/types/alert_object_machine_input_response_body.py +31 -0
- samsara/types/alert_object_onvif_camera_stream_response_body.py +43 -0
- samsara/types/alert_object_product_response_body.py +30 -0
- samsara/types/alert_object_sensor_response_body.py +48 -0
- samsara/types/alert_object_sites_response_body.py +37 -0
- samsara/types/alert_object_trailer_response_body.py +59 -0
- samsara/types/alert_object_vehicle_response_body.py +61 -0
- samsara/types/alert_object_workforce_camera_device_response_body.py +43 -0
- samsara/types/alerts_delete_configurations_bad_gateway_error_response_body.py +33 -0
- samsara/types/alerts_delete_configurations_gateway_timeout_error_response_body.py +33 -0
- samsara/types/alerts_delete_configurations_internal_server_error_response_body.py +33 -0
- samsara/types/alerts_delete_configurations_method_not_allowed_error_response_body.py +33 -0
- samsara/types/alerts_delete_configurations_not_found_error_response_body.py +33 -0
- samsara/types/alerts_delete_configurations_not_implemented_error_response_body.py +33 -0
- samsara/types/alerts_delete_configurations_service_unavailable_error_response_body.py +33 -0
- samsara/types/alerts_delete_configurations_too_many_requests_error_response_body.py +33 -0
- samsara/types/alerts_delete_configurations_unauthorized_error_response_body.py +33 -0
- samsara/types/alerts_get_configurations_bad_gateway_error_response_body.py +33 -0
- samsara/types/alerts_get_configurations_gateway_timeout_error_response_body.py +33 -0
- samsara/types/alerts_get_configurations_internal_server_error_response_body.py +33 -0
- samsara/types/alerts_get_configurations_method_not_allowed_error_response_body.py +33 -0
- samsara/types/alerts_get_configurations_not_found_error_response_body.py +33 -0
- samsara/types/alerts_get_configurations_not_implemented_error_response_body.py +33 -0
- samsara/types/alerts_get_configurations_response_body.py +26 -0
- samsara/types/alerts_get_configurations_service_unavailable_error_response_body.py +33 -0
- samsara/types/alerts_get_configurations_too_many_requests_error_response_body.py +33 -0
- samsara/types/alerts_get_configurations_unauthorized_error_response_body.py +33 -0
- samsara/types/alerts_get_incidents_bad_gateway_error_response_body.py +33 -0
- samsara/types/alerts_get_incidents_gateway_timeout_error_response_body.py +33 -0
- samsara/types/alerts_get_incidents_internal_server_error_response_body.py +33 -0
- samsara/types/alerts_get_incidents_method_not_allowed_error_response_body.py +33 -0
- samsara/types/alerts_get_incidents_not_found_error_response_body.py +33 -0
- samsara/types/alerts_get_incidents_not_implemented_error_response_body.py +33 -0
- samsara/types/alerts_get_incidents_response_body.py +26 -0
- samsara/types/alerts_get_incidents_service_unavailable_error_response_body.py +33 -0
- samsara/types/alerts_get_incidents_too_many_requests_error_response_body.py +33 -0
- samsara/types/alerts_get_incidents_unauthorized_error_response_body.py +33 -0
- samsara/types/alerts_patch_configurations_bad_gateway_error_response_body.py +33 -0
- samsara/types/alerts_patch_configurations_gateway_timeout_error_response_body.py +33 -0
- samsara/types/alerts_patch_configurations_internal_server_error_response_body.py +33 -0
- samsara/types/alerts_patch_configurations_method_not_allowed_error_response_body.py +33 -0
- samsara/types/alerts_patch_configurations_not_found_error_response_body.py +33 -0
- samsara/types/alerts_patch_configurations_not_implemented_error_response_body.py +33 -0
- samsara/types/alerts_patch_configurations_response_body.py +22 -0
- samsara/types/alerts_patch_configurations_service_unavailable_error_response_body.py +33 -0
- samsara/types/alerts_patch_configurations_too_many_requests_error_response_body.py +33 -0
- samsara/types/alerts_patch_configurations_unauthorized_error_response_body.py +33 -0
- samsara/types/alerts_post_configurations_bad_gateway_error_response_body.py +33 -0
- samsara/types/alerts_post_configurations_gateway_timeout_error_response_body.py +33 -0
- samsara/types/alerts_post_configurations_internal_server_error_response_body.py +33 -0
- samsara/types/alerts_post_configurations_method_not_allowed_error_response_body.py +33 -0
- samsara/types/alerts_post_configurations_not_found_error_response_body.py +33 -0
- samsara/types/alerts_post_configurations_not_implemented_error_response_body.py +33 -0
- samsara/types/alerts_post_configurations_response_body.py +22 -0
- samsara/types/alerts_post_configurations_service_unavailable_error_response_body.py +33 -0
- samsara/types/alerts_post_configurations_too_many_requests_error_response_body.py +33 -0
- samsara/types/alerts_post_configurations_unauthorized_error_response_body.py +33 -0
- samsara/types/ambient_temperature_details_object_request_body.py +57 -0
- samsara/types/ambient_temperature_details_object_request_body_operation.py +7 -0
- samsara/types/ambient_temperature_details_object_response_body.py +57 -0
- samsara/types/ambient_temperature_details_object_response_body_operation.py +7 -0
- samsara/types/ambient_temperature_response_body.py +24 -0
- samsara/types/asset_location_heading.py +3 -0
- samsara/types/asset_location_speed.py +3 -0
- samsara/types/asset_response_body.py +109 -0
- samsara/types/asset_response_body_regulation_mode.py +5 -0
- samsara/types/asset_response_body_type.py +7 -0
- samsara/types/asset_response_response_body.py +35 -0
- samsara/types/assets_create_asset_bad_gateway_error_response_body.py +33 -0
- samsara/types/assets_create_asset_gateway_timeout_error_response_body.py +33 -0
- samsara/types/assets_create_asset_internal_server_error_response_body.py +33 -0
- samsara/types/assets_create_asset_method_not_allowed_error_response_body.py +33 -0
- samsara/types/assets_create_asset_not_found_error_response_body.py +33 -0
- samsara/types/assets_create_asset_not_implemented_error_response_body.py +33 -0
- samsara/types/assets_create_asset_response_body.py +105 -0
- samsara/types/assets_create_asset_response_body_regulation_mode.py +7 -0
- samsara/types/assets_create_asset_response_body_type.py +7 -0
- samsara/types/assets_create_asset_service_unavailable_error_response_body.py +33 -0
- samsara/types/assets_create_asset_too_many_requests_error_response_body.py +33 -0
- samsara/types/assets_create_asset_unauthorized_error_response_body.py +33 -0
- samsara/types/assets_delete_asset_bad_gateway_error_response_body.py +33 -0
- samsara/types/assets_delete_asset_gateway_timeout_error_response_body.py +33 -0
- samsara/types/assets_delete_asset_internal_server_error_response_body.py +33 -0
- samsara/types/assets_delete_asset_method_not_allowed_error_response_body.py +33 -0
- samsara/types/assets_delete_asset_not_found_error_response_body.py +33 -0
- samsara/types/assets_delete_asset_not_implemented_error_response_body.py +33 -0
- samsara/types/assets_delete_asset_service_unavailable_error_response_body.py +33 -0
- samsara/types/assets_delete_asset_too_many_requests_error_response_body.py +33 -0
- samsara/types/assets_delete_asset_unauthorized_error_response_body.py +33 -0
- samsara/types/assets_inputs_asset_response_response_body.py +47 -0
- samsara/types/assets_inputs_aux_input_response_body.py +26 -0
- samsara/types/assets_inputs_get_assets_inputs_bad_gateway_error_response_body.py +33 -0
- samsara/types/assets_inputs_get_assets_inputs_gateway_timeout_error_response_body.py +33 -0
- samsara/types/assets_inputs_get_assets_inputs_internal_server_error_response_body.py +33 -0
- samsara/types/assets_inputs_get_assets_inputs_method_not_allowed_error_response_body.py +33 -0
- samsara/types/assets_inputs_get_assets_inputs_not_found_error_response_body.py +33 -0
- samsara/types/assets_inputs_get_assets_inputs_not_implemented_error_response_body.py +33 -0
- samsara/types/assets_inputs_get_assets_inputs_response_body.py +26 -0
- samsara/types/assets_inputs_get_assets_inputs_service_unavailable_error_response_body.py +33 -0
- samsara/types/assets_inputs_get_assets_inputs_too_many_requests_error_response_body.py +33 -0
- samsara/types/assets_inputs_get_assets_inputs_unauthorized_error_response_body.py +33 -0
- samsara/types/assets_inputs_response_response_body.py +45 -0
- samsara/types/assets_inputs_response_response_body_units.py +5 -0
- samsara/types/assets_list_assets_bad_gateway_error_response_body.py +33 -0
- samsara/types/assets_list_assets_gateway_timeout_error_response_body.py +33 -0
- samsara/types/assets_list_assets_internal_server_error_response_body.py +33 -0
- samsara/types/assets_list_assets_method_not_allowed_error_response_body.py +33 -0
- samsara/types/assets_list_assets_not_found_error_response_body.py +33 -0
- samsara/types/assets_list_assets_not_implemented_error_response_body.py +33 -0
- samsara/types/assets_list_assets_response_body.py +26 -0
- samsara/types/assets_list_assets_service_unavailable_error_response_body.py +33 -0
- samsara/types/assets_list_assets_too_many_requests_error_response_body.py +33 -0
- samsara/types/assets_list_assets_unauthorized_error_response_body.py +33 -0
- samsara/types/assets_location_link_config_address_details_object.py +43 -0
- samsara/types/assets_location_link_config_address_details_object_response_body.py +43 -0
- samsara/types/assets_location_link_config_object.py +31 -0
- samsara/types/assets_location_link_config_object_response_body.py +33 -0
- samsara/types/assets_near_location_link_config_object.py +28 -0
- samsara/types/assets_near_location_link_config_object_response_body.py +28 -0
- samsara/types/assets_on_route_link_config_object.py +28 -0
- samsara/types/assets_on_route_link_config_object_response_body.py +28 -0
- samsara/types/assets_update_asset_bad_gateway_error_response_body.py +33 -0
- samsara/types/assets_update_asset_gateway_timeout_error_response_body.py +33 -0
- samsara/types/assets_update_asset_internal_server_error_response_body.py +33 -0
- samsara/types/assets_update_asset_method_not_allowed_error_response_body.py +33 -0
- samsara/types/assets_update_asset_not_found_error_response_body.py +33 -0
- samsara/types/assets_update_asset_not_implemented_error_response_body.py +33 -0
- samsara/types/assets_update_asset_response_body.py +105 -0
- samsara/types/assets_update_asset_response_body_regulation_mode.py +7 -0
- samsara/types/assets_update_asset_response_body_type.py +7 -0
- samsara/types/assets_update_asset_service_unavailable_error_response_body.py +33 -0
- samsara/types/assets_update_asset_too_many_requests_error_response_body.py +33 -0
- samsara/types/assets_update_asset_unauthorized_error_response_body.py +33 -0
- samsara/types/attribute.py +73 -0
- samsara/types/attribute_attribute_type.py +5 -0
- samsara/types/attribute_attribute_value_quantity.py +5 -0
- samsara/types/attribute_entity.py +49 -0
- samsara/types/attribute_entity_external_ids.py +21 -0
- samsara/types/attribute_entity_type.py +5 -0
- samsara/types/attribute_expanded.py +19 -0
- samsara/types/attribute_expanded_all_of.py +23 -0
- samsara/types/attribute_expanded_response.py +20 -0
- samsara/types/attribute_tiny.py +47 -0
- samsara/types/attribute_value_tiny.py +35 -0
- samsara/types/author_signature_object_response_body.py +36 -0
- samsara/types/author_signature_object_response_body_type.py +5 -0
- samsara/types/barcode_value_object_request_body.py +33 -0
- samsara/types/barcode_value_object_response_body.py +33 -0
- samsara/types/base_route_response_object_response_body.py +99 -0
- samsara/types/behavior_response_body.py +62 -0
- samsara/types/behavior_response_body_coachable_behavior_type.py +51 -0
- samsara/types/camera_connector_disconected_response_body.py +28 -0
- samsara/types/camera_details_response_response_body.py +45 -0
- samsara/types/camera_serial.py +3 -0
- samsara/types/camera_stream_issue_response_body.py +28 -0
- samsara/types/carrier_proposed_assignment.py +50 -0
- samsara/types/carrier_proposed_assignment_accepted_time.py +3 -0
- samsara/types/carrier_proposed_assignment_active_time.py +3 -0
- samsara/types/carrier_proposed_assignment_driver.py +19 -0
- samsara/types/carrier_proposed_assignment_driver_all_of.py +24 -0
- samsara/types/carrier_proposed_assignment_driver_all_of_2_external_ids.py +5 -0
- samsara/types/carrier_proposed_assignment_first_seen_time.py +3 -0
- samsara/types/carrier_proposed_assignment_id.py +3 -0
- samsara/types/carrier_proposed_assignment_rejected_time.py +3 -0
- samsara/types/carrier_proposed_assignment_response.py +24 -0
- samsara/types/carrier_proposed_assignment_shipping_docs.py +3 -0
- samsara/types/carrier_proposed_assignment_trailer.py +19 -0
- samsara/types/carrier_proposed_assignment_trailers.py +7 -0
- samsara/types/carrier_proposed_assignment_vehicle.py +18 -0
- samsara/types/cell_connectivity_response_response_body.py +36 -0
- samsara/types/cell_connectivity_response_response_body_signal_bar.py +7 -0
- samsara/types/cell_signal_loss_details_object_request_body.py +30 -0
- samsara/types/cell_signal_loss_details_object_response_body.py +30 -0
- samsara/types/cell_signal_loss_response_body.py +28 -0
- samsara/types/circle_request_body.py +43 -0
- samsara/types/circle_response_body.py +43 -0
- samsara/types/cloud_backup_upload_issue_response_body.py +28 -0
- samsara/types/coach_assignment_with_driver_external_ids_response_response_body.py +41 -0
- samsara/types/coach_assignment_without_driver_external_ids_response_response_body.py +46 -0
- samsara/types/coachable_event_response_body.py +26 -0
- samsara/types/coaching_sessions_get_coaching_sessions_bad_gateway_error_response_body.py +33 -0
- samsara/types/coaching_sessions_get_coaching_sessions_gateway_timeout_error_response_body.py +33 -0
- samsara/types/coaching_sessions_get_coaching_sessions_internal_server_error_response_body.py +33 -0
- samsara/types/coaching_sessions_get_coaching_sessions_method_not_allowed_error_response_body.py +33 -0
- samsara/types/coaching_sessions_get_coaching_sessions_not_found_error_response_body.py +33 -0
- samsara/types/coaching_sessions_get_coaching_sessions_not_implemented_error_response_body.py +33 -0
- samsara/types/coaching_sessions_get_coaching_sessions_response_body.py +26 -0
- samsara/types/coaching_sessions_get_coaching_sessions_service_unavailable_error_response_body.py +33 -0
- samsara/types/coaching_sessions_get_coaching_sessions_too_many_requests_error_response_body.py +33 -0
- samsara/types/coaching_sessions_get_coaching_sessions_unauthorized_error_response_body.py +33 -0
- samsara/types/coaching_sessions_response_response_body.py +91 -0
- samsara/types/coaching_sessions_response_response_body_coaching_type.py +7 -0
- samsara/types/coaching_sessions_response_response_body_session_status.py +7 -0
- samsara/types/conditional_field_section_object_response_body.py +47 -0
- samsara/types/connection_status_response_object_response_body.py +40 -0
- samsara/types/connection_status_response_object_response_body_health_status.py +35 -0
- samsara/types/contact.py +34 -0
- samsara/types/contact_email.py +3 -0
- samsara/types/contact_first_name.py +3 -0
- samsara/types/contact_id.py +3 -0
- samsara/types/contact_last_name.py +3 -0
- samsara/types/contact_phone.py +3 -0
- samsara/types/contact_response.py +24 -0
- samsara/types/contact_tiny_response.py +42 -0
- samsara/types/create_address_request_geofence.py +28 -0
- samsara/types/create_address_request_geofence_settings.py +30 -0
- samsara/types/create_attribute_request_entities.py +47 -0
- samsara/types/create_driver_request_attributes.py +47 -0
- samsara/types/create_routes_stop_request_object_request_body.py +77 -0
- samsara/types/create_user_request_roles.py +35 -0
- samsara/types/current_duty_status.py +31 -0
- samsara/types/current_duty_status_hos_status_type.py +7 -0
- samsara/types/custom_headers_object_request_body.py +31 -0
- samsara/types/custom_headers_object_response_body.py +31 -0
- samsara/types/dashcam_disconnected_response_body.py +28 -0
- samsara/types/data_input_value_response_body.py +28 -0
- samsara/types/data_usage_response_object_response_body.py +37 -0
- samsara/types/date_time_value_object_request_body.py +31 -0
- samsara/types/date_time_value_object_response_body.py +31 -0
- samsara/types/def_level_trigger_details_object_request_body.py +41 -0
- samsara/types/def_level_trigger_details_object_request_body_operation.py +5 -0
- samsara/types/def_level_trigger_details_object_response_body.py +41 -0
- samsara/types/def_level_trigger_details_object_response_body_operation.py +5 -0
- samsara/types/defect.py +78 -0
- samsara/types/defect_photo_response_response_body.py +33 -0
- samsara/types/defect_resolved_by.py +37 -0
- samsara/types/defect_resolved_by_type.py +5 -0
- samsara/types/defect_response.py +24 -0
- samsara/types/defect_trailer.py +18 -0
- samsara/types/defect_trailer_response_response_body.py +35 -0
- samsara/types/defect_types_response_data_response_body.py +46 -0
- samsara/types/defect_types_response_data_response_body_section_type.py +16 -0
- samsara/types/defect_vehicle.py +18 -0
- samsara/types/defect_vehicle_response_response_body.py +35 -0
- samsara/types/defects_response.py +26 -0
- samsara/types/defects_response_data_response_body.py +95 -0
- samsara/types/device_asset_response_response_body.py +31 -0
- samsara/types/device_movement_data_response_body.py +28 -0
- samsara/types/device_movement_stopped_data_response_body.py +28 -0
- samsara/types/device_movement_trigger_details_object_request_body.py +30 -0
- samsara/types/device_movement_trigger_details_object_response_body.py +30 -0
- samsara/types/device_response_response_body.py +50 -0
- samsara/types/device_response_response_body_model.py +37 -0
- samsara/types/devices_get_devices_bad_gateway_error_response_body.py +33 -0
- samsara/types/devices_get_devices_gateway_timeout_error_response_body.py +33 -0
- samsara/types/devices_get_devices_internal_server_error_response_body.py +33 -0
- samsara/types/devices_get_devices_method_not_allowed_error_response_body.py +33 -0
- samsara/types/devices_get_devices_not_found_error_response_body.py +33 -0
- samsara/types/devices_get_devices_not_implemented_error_response_body.py +33 -0
- samsara/types/devices_get_devices_response_body.py +26 -0
- samsara/types/devices_get_devices_service_unavailable_error_response_body.py +33 -0
- samsara/types/devices_get_devices_too_many_requests_error_response_body.py +33 -0
- samsara/types/devices_get_devices_unauthorized_error_response_body.py +33 -0
- samsara/types/distance_traveled_object_response_body.py +44 -0
- samsara/types/distracted_driving_detection_alert_settings_object_response_body.py +45 -0
- samsara/types/document_pdf_generation_response.py +24 -0
- samsara/types/document_pdf_generation_response_data.py +31 -0
- samsara/types/document_pdf_query_response.py +24 -0
- samsara/types/document_pdf_query_response_data.py +60 -0
- samsara/types/document_pdf_query_response_data_job_status.py +5 -0
- samsara/types/document_response_object_response_body.py +87 -0
- samsara/types/document_response_object_response_body_state.py +5 -0
- samsara/types/document_types_get_document_types_bad_gateway_error_response_body.py +33 -0
- samsara/types/document_types_get_document_types_gateway_timeout_error_response_body.py +33 -0
- samsara/types/document_types_get_document_types_internal_server_error_response_body.py +33 -0
- samsara/types/document_types_get_document_types_method_not_allowed_error_response_body.py +33 -0
- samsara/types/document_types_get_document_types_not_found_error_response_body.py +33 -0
- samsara/types/document_types_get_document_types_not_implemented_error_response_body.py +33 -0
- samsara/types/document_types_get_document_types_response_body.py +26 -0
- samsara/types/document_types_get_document_types_service_unavailable_error_response_body.py +33 -0
- samsara/types/document_types_get_document_types_too_many_requests_error_response_body.py +33 -0
- samsara/types/document_types_get_document_types_unauthorized_error_response_body.py +33 -0
- samsara/types/documents_delete_document_bad_gateway_error_response_body.py +33 -0
- samsara/types/documents_delete_document_gateway_timeout_error_response_body.py +33 -0
- samsara/types/documents_delete_document_internal_server_error_response_body.py +33 -0
- samsara/types/documents_delete_document_method_not_allowed_error_response_body.py +33 -0
- samsara/types/documents_delete_document_not_found_error_response_body.py +33 -0
- samsara/types/documents_delete_document_not_implemented_error_response_body.py +33 -0
- samsara/types/documents_delete_document_service_unavailable_error_response_body.py +33 -0
- samsara/types/documents_delete_document_too_many_requests_error_response_body.py +33 -0
- samsara/types/documents_delete_document_unauthorized_error_response_body.py +33 -0
- samsara/types/documents_get_document_bad_gateway_error_response_body.py +33 -0
- samsara/types/documents_get_document_gateway_timeout_error_response_body.py +33 -0
- samsara/types/documents_get_document_internal_server_error_response_body.py +33 -0
- samsara/types/documents_get_document_method_not_allowed_error_response_body.py +33 -0
- samsara/types/documents_get_document_not_found_error_response_body.py +33 -0
- samsara/types/documents_get_document_not_implemented_error_response_body.py +33 -0
- samsara/types/documents_get_document_response_body.py +20 -0
- samsara/types/documents_get_document_service_unavailable_error_response_body.py +33 -0
- samsara/types/documents_get_document_too_many_requests_error_response_body.py +33 -0
- samsara/types/documents_get_document_unauthorized_error_response_body.py +33 -0
- samsara/types/documents_get_documents_bad_gateway_error_response_body.py +33 -0
- samsara/types/documents_get_documents_gateway_timeout_error_response_body.py +33 -0
- samsara/types/documents_get_documents_internal_server_error_response_body.py +33 -0
- samsara/types/documents_get_documents_method_not_allowed_error_response_body.py +33 -0
- samsara/types/documents_get_documents_not_found_error_response_body.py +33 -0
- samsara/types/documents_get_documents_not_implemented_error_response_body.py +33 -0
- samsara/types/documents_get_documents_response_body.py +26 -0
- samsara/types/documents_get_documents_service_unavailable_error_response_body.py +33 -0
- samsara/types/documents_get_documents_too_many_requests_error_response_body.py +33 -0
- samsara/types/documents_get_documents_unauthorized_error_response_body.py +33 -0
- samsara/types/documents_post_document_bad_gateway_error_response_body.py +33 -0
- samsara/types/documents_post_document_gateway_timeout_error_response_body.py +33 -0
- samsara/types/documents_post_document_internal_server_error_response_body.py +33 -0
- samsara/types/documents_post_document_method_not_allowed_error_response_body.py +33 -0
- samsara/types/documents_post_document_not_found_error_response_body.py +33 -0
- samsara/types/documents_post_document_not_implemented_error_response_body.py +33 -0
- samsara/types/documents_post_document_response_body.py +20 -0
- samsara/types/documents_post_document_service_unavailable_error_response_body.py +33 -0
- samsara/types/documents_post_document_too_many_requests_error_response_body.py +33 -0
- samsara/types/documents_post_document_unauthorized_error_response_body.py +33 -0
- samsara/types/driver.py +141 -0
- samsara/types/driver_activation_status.py +5 -0
- samsara/types/driver_app_notification_object_request_body.py +32 -0
- samsara/types/driver_app_notification_object_response_body.py +32 -0
- samsara/types/driver_app_settings_gamification_config_tiny_object_request_body.py +30 -0
- samsara/types/driver_app_settings_gamification_config_tiny_object_response_body.py +30 -0
- samsara/types/driver_app_settings_response_object_response_body.py +64 -0
- samsara/types/driver_app_settings_trailer_selection_config_tiny_object_request_body.py +44 -0
- samsara/types/driver_app_settings_trailer_selection_config_tiny_object_response_body.py +44 -0
- samsara/types/driver_app_sign_in_response_body.py +24 -0
- samsara/types/driver_app_sign_out_response_body.py +24 -0
- samsara/types/driver_assignment_metadata_tiny_object_response_body.py +30 -0
- samsara/types/driver_assignment_object_response_body.py +49 -0
- samsara/types/driver_carrier_settings.py +52 -0
- samsara/types/driver_coach_assignments_get_driver_coach_assignment_bad_gateway_error_response_body.py +33 -0
- samsara/types/driver_coach_assignments_get_driver_coach_assignment_gateway_timeout_error_response_body.py +33 -0
- samsara/types/driver_coach_assignments_get_driver_coach_assignment_internal_server_error_response_body.py +33 -0
- samsara/types/driver_coach_assignments_get_driver_coach_assignment_method_not_allowed_error_response_body.py +33 -0
- samsara/types/driver_coach_assignments_get_driver_coach_assignment_not_found_error_response_body.py +33 -0
- samsara/types/driver_coach_assignments_get_driver_coach_assignment_not_implemented_error_response_body.py +33 -0
- samsara/types/driver_coach_assignments_get_driver_coach_assignment_response_body.py +28 -0
- samsara/types/driver_coach_assignments_get_driver_coach_assignment_service_unavailable_error_response_body.py +33 -0
- samsara/types/driver_coach_assignments_get_driver_coach_assignment_too_many_requests_error_response_body.py +33 -0
- samsara/types/driver_coach_assignments_get_driver_coach_assignment_unauthorized_error_response_body.py +33 -0
- samsara/types/driver_coach_assignments_put_driver_coach_assignment_bad_gateway_error_response_body.py +33 -0
- samsara/types/driver_coach_assignments_put_driver_coach_assignment_gateway_timeout_error_response_body.py +33 -0
- samsara/types/driver_coach_assignments_put_driver_coach_assignment_internal_server_error_response_body.py +33 -0
- samsara/types/driver_coach_assignments_put_driver_coach_assignment_method_not_allowed_error_response_body.py +33 -0
- samsara/types/driver_coach_assignments_put_driver_coach_assignment_not_found_error_response_body.py +33 -0
- samsara/types/driver_coach_assignments_put_driver_coach_assignment_not_implemented_error_response_body.py +33 -0
- samsara/types/driver_coach_assignments_put_driver_coach_assignment_response_body.py +22 -0
- samsara/types/driver_coach_assignments_put_driver_coach_assignment_service_unavailable_error_response_body.py +33 -0
- samsara/types/driver_coach_assignments_put_driver_coach_assignment_too_many_requests_error_response_body.py +33 -0
- samsara/types/driver_coach_assignments_put_driver_coach_assignment_unauthorized_error_response_body.py +33 -0
- samsara/types/driver_created_at_time.py +3 -0
- samsara/types/driver_document_submitted_details_object_request_body.py +28 -0
- samsara/types/driver_document_submitted_details_object_response_body.py +28 -0
- samsara/types/driver_document_submitted_response_body.py +24 -0
- samsara/types/driver_eld_adverse_weather_exemption_enabled.py +3 -0
- samsara/types/driver_eld_big_day_exemption_enabled.py +3 -0
- samsara/types/driver_eld_day_start_hour.py +3 -0
- samsara/types/driver_eld_exempt.py +3 -0
- samsara/types/driver_eld_exempt_reason.py +3 -0
- samsara/types/driver_eld_pc_enabled.py +3 -0
- samsara/types/driver_eld_ruleset.py +34 -0
- samsara/types/driver_eld_ruleset_cycle.py +34 -0
- samsara/types/driver_eld_ruleset_jurisdiction.py +3 -0
- samsara/types/driver_eld_ruleset_rest_break.py +7 -0
- samsara/types/driver_eld_ruleset_restart.py +7 -0
- samsara/types/driver_eld_ruleset_shift.py +7 -0
- samsara/types/driver_eld_rulesets.py +7 -0
- samsara/types/driver_eld_settings.py +24 -0
- samsara/types/driver_eld_ym_enabled.py +3 -0
- samsara/types/driver_external_ids.py +5 -0
- samsara/types/driver_has_driving_features_hidden.py +3 -0
- samsara/types/driver_heavy_haul_exemption_toggle_enabled.py +3 -0
- samsara/types/driver_home_terminal_address.py +3 -0
- samsara/types/driver_home_terminal_name.py +3 -0
- samsara/types/driver_hos_setting.py +28 -0
- samsara/types/driver_id.py +3 -0
- samsara/types/driver_id_card_code.py +3 -0
- samsara/types/driver_is_deactivated.py +3 -0
- samsara/types/driver_license_number.py +3 -0
- samsara/types/driver_license_state.py +3 -0
- samsara/types/driver_locale.py +7 -0
- samsara/types/driver_message_received_response_body.py +24 -0
- samsara/types/driver_message_sent_response_body.py +24 -0
- samsara/types/driver_name.py +3 -0
- samsara/types/driver_notes.py +3 -0
- samsara/types/driver_object_response_body.py +31 -0
- samsara/types/driver_phone.py +3 -0
- samsara/types/driver_qr_codes_create_driver_qr_code_bad_gateway_error_response_body.py +33 -0
- samsara/types/driver_qr_codes_create_driver_qr_code_gateway_timeout_error_response_body.py +33 -0
- samsara/types/driver_qr_codes_create_driver_qr_code_internal_server_error_response_body.py +33 -0
- samsara/types/driver_qr_codes_create_driver_qr_code_method_not_allowed_error_response_body.py +33 -0
- samsara/types/driver_qr_codes_create_driver_qr_code_not_found_error_response_body.py +33 -0
- samsara/types/driver_qr_codes_create_driver_qr_code_not_implemented_error_response_body.py +33 -0
- samsara/types/driver_qr_codes_create_driver_qr_code_response_body.py +20 -0
- samsara/types/driver_qr_codes_create_driver_qr_code_service_unavailable_error_response_body.py +33 -0
- samsara/types/driver_qr_codes_create_driver_qr_code_too_many_requests_error_response_body.py +33 -0
- samsara/types/driver_qr_codes_create_driver_qr_code_unauthorized_error_response_body.py +33 -0
- samsara/types/driver_qr_codes_delete_driver_qr_code_bad_gateway_error_response_body.py +33 -0
- samsara/types/driver_qr_codes_delete_driver_qr_code_gateway_timeout_error_response_body.py +33 -0
- samsara/types/driver_qr_codes_delete_driver_qr_code_internal_server_error_response_body.py +33 -0
- samsara/types/driver_qr_codes_delete_driver_qr_code_method_not_allowed_error_response_body.py +33 -0
- samsara/types/driver_qr_codes_delete_driver_qr_code_not_found_error_response_body.py +33 -0
- samsara/types/driver_qr_codes_delete_driver_qr_code_not_implemented_error_response_body.py +33 -0
- samsara/types/driver_qr_codes_delete_driver_qr_code_service_unavailable_error_response_body.py +33 -0
- samsara/types/driver_qr_codes_delete_driver_qr_code_too_many_requests_error_response_body.py +33 -0
- samsara/types/driver_qr_codes_delete_driver_qr_code_unauthorized_error_response_body.py +33 -0
- samsara/types/driver_qr_codes_get_drivers_qr_codes_bad_gateway_error_response_body.py +33 -0
- samsara/types/driver_qr_codes_get_drivers_qr_codes_gateway_timeout_error_response_body.py +33 -0
- samsara/types/driver_qr_codes_get_drivers_qr_codes_internal_server_error_response_body.py +33 -0
- samsara/types/driver_qr_codes_get_drivers_qr_codes_method_not_allowed_error_response_body.py +33 -0
- samsara/types/driver_qr_codes_get_drivers_qr_codes_not_found_error_response_body.py +33 -0
- samsara/types/driver_qr_codes_get_drivers_qr_codes_not_implemented_error_response_body.py +33 -0
- samsara/types/driver_qr_codes_get_drivers_qr_codes_response_body.py +23 -0
- samsara/types/driver_qr_codes_get_drivers_qr_codes_service_unavailable_error_response_body.py +33 -0
- samsara/types/driver_qr_codes_get_drivers_qr_codes_too_many_requests_error_response_body.py +33 -0
- samsara/types/driver_qr_codes_get_drivers_qr_codes_unauthorized_error_response_body.py +33 -0
- samsara/types/driver_recorded_response_body.py +26 -0
- samsara/types/driver_remote_signout_post_driver_remote_signout_bad_gateway_error_response_body.py +33 -0
- samsara/types/driver_remote_signout_post_driver_remote_signout_gateway_timeout_error_response_body.py +33 -0
- samsara/types/driver_remote_signout_post_driver_remote_signout_internal_server_error_response_body.py +33 -0
- samsara/types/driver_remote_signout_post_driver_remote_signout_method_not_allowed_error_response_body.py +33 -0
- samsara/types/driver_remote_signout_post_driver_remote_signout_not_found_error_response_body.py +33 -0
- samsara/types/driver_remote_signout_post_driver_remote_signout_not_implemented_error_response_body.py +33 -0
- samsara/types/driver_remote_signout_post_driver_remote_signout_response_body.py +26 -0
- samsara/types/driver_remote_signout_post_driver_remote_signout_service_unavailable_error_response_body.py +33 -0
- samsara/types/driver_remote_signout_post_driver_remote_signout_too_many_requests_error_response_body.py +33 -0
- samsara/types/driver_remote_signout_post_driver_remote_signout_unauthorized_error_response_body.py +33 -0
- samsara/types/driver_response.py +24 -0
- samsara/types/driver_ruleset_object_response_body.py +50 -0
- samsara/types/driver_ruleset_object_response_body_break.py +7 -0
- samsara/types/driver_ruleset_object_response_body_cycle.py +34 -0
- samsara/types/driver_ruleset_object_response_body_restart.py +7 -0
- samsara/types/driver_ruleset_object_response_body_shift.py +7 -0
- samsara/types/driver_static_assigned_vehicle.py +31 -0
- samsara/types/driver_tachograph_activity_data.py +7 -0
- samsara/types/driver_tachograph_activity_response.py +26 -0
- samsara/types/driver_tachograph_card_number.py +3 -0
- samsara/types/driver_tags.py +7 -0
- samsara/types/driver_timezone.py +3 -0
- samsara/types/driver_tiny_response.py +31 -0
- samsara/types/driver_updated_at_time.py +3 -0
- samsara/types/driver_username.py +3 -0
- samsara/types/driver_vehicle_assignment_v_2_object_response_body.py +65 -0
- samsara/types/driver_vehicle_assignment_v_2_object_response_body_assignment_type.py +21 -0
- samsara/types/driver_vehicle_assignments_v_2_create_driver_vehicle_assignment_bad_gateway_error_response_body.py +33 -0
- samsara/types/driver_vehicle_assignments_v_2_create_driver_vehicle_assignment_gateway_timeout_error_response_body.py +33 -0
- samsara/types/driver_vehicle_assignments_v_2_create_driver_vehicle_assignment_internal_server_error_response_body.py +33 -0
- samsara/types/driver_vehicle_assignments_v_2_create_driver_vehicle_assignment_method_not_allowed_error_response_body.py +33 -0
- samsara/types/driver_vehicle_assignments_v_2_create_driver_vehicle_assignment_not_found_error_response_body.py +33 -0
- samsara/types/driver_vehicle_assignments_v_2_create_driver_vehicle_assignment_not_implemented_error_response_body.py +33 -0
- samsara/types/driver_vehicle_assignments_v_2_create_driver_vehicle_assignment_response_body.py +22 -0
- samsara/types/driver_vehicle_assignments_v_2_create_driver_vehicle_assignment_service_unavailable_error_response_body.py +33 -0
- samsara/types/driver_vehicle_assignments_v_2_create_driver_vehicle_assignment_too_many_requests_error_response_body.py +33 -0
- samsara/types/driver_vehicle_assignments_v_2_create_driver_vehicle_assignment_unauthorized_error_response_body.py +33 -0
- samsara/types/driver_vehicle_assignments_v_2_delete_driver_vehicle_assignments_bad_gateway_error_response_body.py +33 -0
- samsara/types/driver_vehicle_assignments_v_2_delete_driver_vehicle_assignments_gateway_timeout_error_response_body.py +33 -0
- samsara/types/driver_vehicle_assignments_v_2_delete_driver_vehicle_assignments_internal_server_error_response_body.py +33 -0
- samsara/types/driver_vehicle_assignments_v_2_delete_driver_vehicle_assignments_method_not_allowed_error_response_body.py +33 -0
- samsara/types/driver_vehicle_assignments_v_2_delete_driver_vehicle_assignments_not_found_error_response_body.py +33 -0
- samsara/types/driver_vehicle_assignments_v_2_delete_driver_vehicle_assignments_not_implemented_error_response_body.py +33 -0
- samsara/types/driver_vehicle_assignments_v_2_delete_driver_vehicle_assignments_service_unavailable_error_response_body.py +33 -0
- samsara/types/driver_vehicle_assignments_v_2_delete_driver_vehicle_assignments_too_many_requests_error_response_body.py +33 -0
- samsara/types/driver_vehicle_assignments_v_2_delete_driver_vehicle_assignments_unauthorized_error_response_body.py +33 -0
- samsara/types/driver_vehicle_assignments_v_2_get_driver_vehicle_assignments_bad_gateway_error_response_body.py +33 -0
- samsara/types/driver_vehicle_assignments_v_2_get_driver_vehicle_assignments_gateway_timeout_error_response_body.py +33 -0
- samsara/types/driver_vehicle_assignments_v_2_get_driver_vehicle_assignments_internal_server_error_response_body.py +33 -0
- samsara/types/driver_vehicle_assignments_v_2_get_driver_vehicle_assignments_method_not_allowed_error_response_body.py +33 -0
- samsara/types/driver_vehicle_assignments_v_2_get_driver_vehicle_assignments_not_found_error_response_body.py +33 -0
- samsara/types/driver_vehicle_assignments_v_2_get_driver_vehicle_assignments_not_implemented_error_response_body.py +33 -0
- samsara/types/driver_vehicle_assignments_v_2_get_driver_vehicle_assignments_response_body.py +26 -0
- samsara/types/driver_vehicle_assignments_v_2_get_driver_vehicle_assignments_service_unavailable_error_response_body.py +33 -0
- samsara/types/driver_vehicle_assignments_v_2_get_driver_vehicle_assignments_too_many_requests_error_response_body.py +33 -0
- samsara/types/driver_vehicle_assignments_v_2_get_driver_vehicle_assignments_unauthorized_error_response_body.py +33 -0
- samsara/types/driver_vehicle_assignments_v_2_update_driver_vehicle_assignment_bad_gateway_error_response_body.py +33 -0
- samsara/types/driver_vehicle_assignments_v_2_update_driver_vehicle_assignment_gateway_timeout_error_response_body.py +33 -0
- samsara/types/driver_vehicle_assignments_v_2_update_driver_vehicle_assignment_internal_server_error_response_body.py +33 -0
- samsara/types/driver_vehicle_assignments_v_2_update_driver_vehicle_assignment_method_not_allowed_error_response_body.py +33 -0
- samsara/types/driver_vehicle_assignments_v_2_update_driver_vehicle_assignment_not_found_error_response_body.py +33 -0
- samsara/types/driver_vehicle_assignments_v_2_update_driver_vehicle_assignment_not_implemented_error_response_body.py +33 -0
- samsara/types/driver_vehicle_assignments_v_2_update_driver_vehicle_assignment_response_body.py +22 -0
- samsara/types/driver_vehicle_assignments_v_2_update_driver_vehicle_assignment_service_unavailable_error_response_body.py +33 -0
- samsara/types/driver_vehicle_assignments_v_2_update_driver_vehicle_assignment_too_many_requests_error_response_body.py +33 -0
- samsara/types/driver_vehicle_assignments_v_2_update_driver_vehicle_assignment_unauthorized_error_response_body.py +33 -0
- samsara/types/driver_vehicle_group_tag.py +40 -0
- samsara/types/driver_waiting_time_duty_status_enabled.py +3 -0
- samsara/types/driver_with_external_id_object_response_body.py +35 -0
- samsara/types/driver_with_timezone_eld_settings_object_response_body.py +49 -0
- samsara/types/drivers_vehicle_assignments_get_drivers_vehicle_assignments_bad_gateway_error_response_body.py +33 -0
- samsara/types/drivers_vehicle_assignments_get_drivers_vehicle_assignments_gateway_timeout_error_response_body.py +33 -0
- samsara/types/drivers_vehicle_assignments_get_drivers_vehicle_assignments_internal_server_error_response_body.py +33 -0
- samsara/types/drivers_vehicle_assignments_get_drivers_vehicle_assignments_method_not_allowed_error_response_body.py +33 -0
- samsara/types/drivers_vehicle_assignments_get_drivers_vehicle_assignments_not_found_error_response_body.py +33 -0
- samsara/types/drivers_vehicle_assignments_get_drivers_vehicle_assignments_not_implemented_error_response_body.py +33 -0
- samsara/types/drivers_vehicle_assignments_get_drivers_vehicle_assignments_response_body.py +26 -0
- samsara/types/drivers_vehicle_assignments_get_drivers_vehicle_assignments_service_unavailable_error_response_body.py +33 -0
- samsara/types/drivers_vehicle_assignments_get_drivers_vehicle_assignments_too_many_requests_error_response_body.py +33 -0
- samsara/types/drivers_vehicle_assignments_get_drivers_vehicle_assignments_unauthorized_error_response_body.py +33 -0
- samsara/types/drivers_vehicle_assignments_object_response_body.py +54 -0
- samsara/types/drivers_vehicle_assignments_object_response_body_driver_activation_status.py +7 -0
- samsara/types/duty_status_duration_object_response_body.py +79 -0
- samsara/types/dvir.py +102 -0
- samsara/types/dvir_author_signature.py +18 -0
- samsara/types/dvir_defect_stream_defects_bad_gateway_error_response_body.py +33 -0
- samsara/types/dvir_defect_stream_defects_gateway_timeout_error_response_body.py +33 -0
- samsara/types/dvir_defect_stream_defects_internal_server_error_response_body.py +33 -0
- samsara/types/dvir_defect_stream_defects_method_not_allowed_error_response_body.py +33 -0
- samsara/types/dvir_defect_stream_defects_not_found_error_response_body.py +33 -0
- samsara/types/dvir_defect_stream_defects_not_implemented_error_response_body.py +33 -0
- samsara/types/dvir_defect_stream_defects_response_body.py +26 -0
- samsara/types/dvir_defect_stream_defects_service_unavailable_error_response_body.py +33 -0
- samsara/types/dvir_defect_stream_defects_too_many_requests_error_response_body.py +33 -0
- samsara/types/dvir_defect_stream_defects_unauthorized_error_response_body.py +33 -0
- samsara/types/dvir_defect_type_get_defect_types_bad_gateway_error_response_body.py +33 -0
- samsara/types/dvir_defect_type_get_defect_types_gateway_timeout_error_response_body.py +33 -0
- samsara/types/dvir_defect_type_get_defect_types_internal_server_error_response_body.py +33 -0
- samsara/types/dvir_defect_type_get_defect_types_method_not_allowed_error_response_body.py +33 -0
- samsara/types/dvir_defect_type_get_defect_types_not_found_error_response_body.py +33 -0
- samsara/types/dvir_defect_type_get_defect_types_not_implemented_error_response_body.py +33 -0
- samsara/types/dvir_defect_type_get_defect_types_response_body.py +26 -0
- samsara/types/dvir_defect_type_get_defect_types_service_unavailable_error_response_body.py +33 -0
- samsara/types/dvir_defect_type_get_defect_types_too_many_requests_error_response_body.py +33 -0
- samsara/types/dvir_defect_type_get_defect_types_unauthorized_error_response_body.py +33 -0
- samsara/types/dvir_defects_object_v_20220913_response_body.py +78 -0
- samsara/types/dvir_get_dvirs_bad_gateway_error_response_body.py +33 -0
- samsara/types/dvir_get_dvirs_gateway_timeout_error_response_body.py +33 -0
- samsara/types/dvir_get_dvirs_internal_server_error_response_body.py +33 -0
- samsara/types/dvir_get_dvirs_method_not_allowed_error_response_body.py +33 -0
- samsara/types/dvir_get_dvirs_not_found_error_response_body.py +33 -0
- samsara/types/dvir_get_dvirs_not_implemented_error_response_body.py +33 -0
- samsara/types/dvir_get_dvirs_response_body.py +22 -0
- samsara/types/dvir_get_dvirs_service_unavailable_error_response_body.py +33 -0
- samsara/types/dvir_get_dvirs_too_many_requests_error_response_body.py +33 -0
- samsara/types/dvir_get_dvirs_unauthorized_error_response_body.py +33 -0
- samsara/types/dvir_license_plate.py +3 -0
- samsara/types/dvir_location.py +3 -0
- samsara/types/dvir_mechanic_notes.py +3 -0
- samsara/types/dvir_odometer_meters.py +3 -0
- samsara/types/dvir_resolved_by_object_response_body.py +37 -0
- samsara/types/dvir_resolved_by_object_response_body_type.py +5 -0
- samsara/types/dvir_response.py +24 -0
- samsara/types/dvir_safety_status.py +5 -0
- samsara/types/dvir_second_signature.py +18 -0
- samsara/types/dvir_signature.py +40 -0
- samsara/types/dvir_signature_signatory_user.py +18 -0
- samsara/types/dvir_signature_type.py +5 -0
- samsara/types/dvir_stream_response_data_response_body.py +99 -0
- samsara/types/dvir_stream_response_data_response_body_safety_status.py +7 -0
- samsara/types/dvir_stream_response_data_response_body_type.py +7 -0
- samsara/types/dvir_submitted_device_trigger_details_object_request_body.py +41 -0
- samsara/types/dvir_submitted_device_trigger_details_object_request_body_dvir_submission_types_item.py +7 -0
- samsara/types/dvir_submitted_device_trigger_details_object_response_body.py +41 -0
- samsara/types/dvir_submitted_device_trigger_details_object_response_body_dvir_submission_types_item.py +7 -0
- samsara/types/dvir_third_signature.py +18 -0
- samsara/types/dvir_trailer.py +18 -0
- samsara/types/dvir_trailer_defects.py +7 -0
- samsara/types/dvir_trailer_defects_items.py +78 -0
- samsara/types/dvir_trailer_defects_items_trailer.py +27 -0
- samsara/types/dvir_trailer_defects_items_vehicle.py +36 -0
- samsara/types/dvir_type.py +5 -0
- samsara/types/dvir_vehicle.py +18 -0
- samsara/types/dvir_vehicle_defects.py +7 -0
- samsara/types/dvirs_list_response.py +30 -0
- samsara/types/eld_settings_object_response_body.py +27 -0
- samsara/types/engine_idle_data_response_body.py +26 -0
- samsara/types/engine_idle_trigger_details_object_request_body.py +30 -0
- samsara/types/engine_idle_trigger_details_object_response_body.py +30 -0
- samsara/types/engine_immobilizer_get_engine_immobilizer_states_bad_gateway_error_response_body.py +33 -0
- samsara/types/engine_immobilizer_get_engine_immobilizer_states_gateway_timeout_error_response_body.py +33 -0
- samsara/types/engine_immobilizer_get_engine_immobilizer_states_internal_server_error_response_body.py +33 -0
- samsara/types/engine_immobilizer_get_engine_immobilizer_states_method_not_allowed_error_response_body.py +33 -0
- samsara/types/engine_immobilizer_get_engine_immobilizer_states_not_found_error_response_body.py +33 -0
- samsara/types/engine_immobilizer_get_engine_immobilizer_states_not_implemented_error_response_body.py +33 -0
- samsara/types/engine_immobilizer_get_engine_immobilizer_states_response_body.py +26 -0
- samsara/types/engine_immobilizer_get_engine_immobilizer_states_service_unavailable_error_response_body.py +33 -0
- samsara/types/engine_immobilizer_get_engine_immobilizer_states_too_many_requests_error_response_body.py +33 -0
- samsara/types/engine_immobilizer_get_engine_immobilizer_states_unauthorized_error_response_body.py +33 -0
- samsara/types/engine_immobilizer_relay_state_response_body.py +34 -0
- samsara/types/engine_immobilizer_relay_state_response_body_id.py +5 -0
- samsara/types/engine_immobilizer_state_response_body.py +48 -0
- samsara/types/engine_off_details_object_request_body.py +30 -0
- samsara/types/engine_off_details_object_response_body.py +30 -0
- samsara/types/engine_off_response_body.py +28 -0
- samsara/types/engine_on_details_object_request_body.py +30 -0
- samsara/types/engine_on_details_object_response_body.py +30 -0
- samsara/types/engine_on_response_body.py +28 -0
- samsara/types/equipment_engine_rpm.py +28 -0
- samsara/types/equipment_engine_seconds.py +28 -0
- samsara/types/equipment_engine_state.py +29 -0
- samsara/types/equipment_engine_state_value.py +5 -0
- samsara/types/equipment_engine_total_idle_time_minutes.py +28 -0
- samsara/types/equipment_fuel_percent.py +28 -0
- samsara/types/equipment_gateway_engine_seconds.py +28 -0
- samsara/types/equipment_gateway_engine_state.py +29 -0
- samsara/types/equipment_gateway_engine_state_value.py +5 -0
- samsara/types/equipment_gateway_j_1939_engine_seconds.py +28 -0
- samsara/types/equipment_gps_odometer_meters.py +28 -0
- samsara/types/equipment_id.py +3 -0
- samsara/types/equipment_installed_gateway.py +27 -0
- samsara/types/equipment_list_response.py +30 -0
- samsara/types/equipment_location.py +44 -0
- samsara/types/equipment_locations_list_response.py +30 -0
- samsara/types/equipment_locations_list_response_data.py +32 -0
- samsara/types/equipment_locations_response.py +30 -0
- samsara/types/equipment_locations_response_data.py +28 -0
- samsara/types/equipment_name.py +3 -0
- samsara/types/equipment_obd_engine_seconds.py +28 -0
- samsara/types/equipment_obd_engine_state.py +29 -0
- samsara/types/equipment_obd_engine_state_value.py +5 -0
- samsara/types/equipment_object.py +53 -0
- samsara/types/equipment_response.py +24 -0
- samsara/types/equipment_stats_gps.py +48 -0
- samsara/types/equipment_stats_list_response.py +30 -0
- samsara/types/equipment_stats_list_response_data.py +123 -0
- samsara/types/equipment_stats_response.py +30 -0
- samsara/types/equipment_stats_response_data.py +70 -0
- samsara/types/equipment_time.py +3 -0
- samsara/types/external_ids.py +5 -0
- samsara/types/field_object_post_request_body.py +31 -0
- samsara/types/field_object_post_request_body_type.py +10 -0
- samsara/types/field_object_response_body.py +31 -0
- samsara/types/field_object_response_body_type.py +10 -0
- samsara/types/field_object_value_request_body.py +77 -0
- samsara/types/field_object_value_response_body.py +78 -0
- samsara/types/field_types_object_response_body.py +55 -0
- samsara/types/field_types_object_response_body_field_type.py +10 -0
- samsara/types/following_distance_detection_alert_settings_object_response_body.py +51 -0
- samsara/types/form_submission_pdf_export_response_object_response_body.py +84 -0
- samsara/types/form_submission_pdf_export_response_object_response_body_job_status.py +7 -0
- samsara/types/form_submission_request_approval_details_request_body.py +26 -0
- samsara/types/form_submission_request_asset_object_request_body.py +26 -0
- samsara/types/form_submission_request_asset_value_object_request_body.py +24 -0
- samsara/types/form_submission_request_assigned_to_request_body.py +32 -0
- samsara/types/form_submission_request_assigned_to_request_body_type.py +5 -0
- samsara/types/form_submission_request_check_boxes_value_object_request_body.py +25 -0
- samsara/types/form_submission_request_date_time_value_object_request_body.py +27 -0
- samsara/types/form_submission_request_field_input_object_request_body.py +75 -0
- samsara/types/form_submission_request_field_input_object_request_body_type.py +8 -0
- samsara/types/form_submission_request_multiple_choice_value_object_request_body.py +25 -0
- samsara/types/form_submission_request_number_value_object_request_body.py +23 -0
- samsara/types/form_submission_request_person_object_request_body.py +28 -0
- samsara/types/form_submission_request_person_value_object_request_body.py +24 -0
- samsara/types/form_submission_request_table_cell_object_request_body.py +67 -0
- samsara/types/form_submission_request_table_cell_object_request_body_type.py +7 -0
- samsara/types/form_submission_request_table_row_object_request_body.py +32 -0
- samsara/types/form_submission_request_table_value_object_request_body.py +27 -0
- samsara/types/form_submission_request_text_value_object_request_body.py +23 -0
- samsara/types/form_submission_response_object_response_body.py +120 -0
- samsara/types/form_submission_response_object_response_body_status.py +8 -0
- samsara/types/form_submissions_get_form_submissions_bad_gateway_error_response_body.py +33 -0
- samsara/types/form_submissions_get_form_submissions_gateway_timeout_error_response_body.py +33 -0
- samsara/types/form_submissions_get_form_submissions_internal_server_error_response_body.py +33 -0
- samsara/types/form_submissions_get_form_submissions_method_not_allowed_error_response_body.py +33 -0
- samsara/types/form_submissions_get_form_submissions_not_found_error_response_body.py +33 -0
- samsara/types/form_submissions_get_form_submissions_not_implemented_error_response_body.py +33 -0
- samsara/types/form_submissions_get_form_submissions_pdf_exports_bad_gateway_error_response_body.py +33 -0
- samsara/types/form_submissions_get_form_submissions_pdf_exports_gateway_timeout_error_response_body.py +33 -0
- samsara/types/form_submissions_get_form_submissions_pdf_exports_internal_server_error_response_body.py +33 -0
- samsara/types/form_submissions_get_form_submissions_pdf_exports_method_not_allowed_error_response_body.py +33 -0
- samsara/types/form_submissions_get_form_submissions_pdf_exports_not_found_error_response_body.py +33 -0
- samsara/types/form_submissions_get_form_submissions_pdf_exports_not_implemented_error_response_body.py +33 -0
- samsara/types/form_submissions_get_form_submissions_pdf_exports_response_body.py +20 -0
- samsara/types/form_submissions_get_form_submissions_pdf_exports_service_unavailable_error_response_body.py +33 -0
- samsara/types/form_submissions_get_form_submissions_pdf_exports_too_many_requests_error_response_body.py +33 -0
- samsara/types/form_submissions_get_form_submissions_pdf_exports_unauthorized_error_response_body.py +33 -0
- samsara/types/form_submissions_get_form_submissions_response_body.py +23 -0
- samsara/types/form_submissions_get_form_submissions_service_unavailable_error_response_body.py +33 -0
- samsara/types/form_submissions_get_form_submissions_stream_bad_gateway_error_response_body.py +33 -0
- samsara/types/form_submissions_get_form_submissions_stream_gateway_timeout_error_response_body.py +33 -0
- samsara/types/form_submissions_get_form_submissions_stream_internal_server_error_response_body.py +33 -0
- samsara/types/form_submissions_get_form_submissions_stream_method_not_allowed_error_response_body.py +33 -0
- samsara/types/form_submissions_get_form_submissions_stream_not_found_error_response_body.py +33 -0
- samsara/types/form_submissions_get_form_submissions_stream_not_implemented_error_response_body.py +33 -0
- samsara/types/form_submissions_get_form_submissions_stream_response_body.py +26 -0
- samsara/types/form_submissions_get_form_submissions_stream_service_unavailable_error_response_body.py +33 -0
- samsara/types/form_submissions_get_form_submissions_stream_too_many_requests_error_response_body.py +33 -0
- samsara/types/form_submissions_get_form_submissions_stream_unauthorized_error_response_body.py +33 -0
- samsara/types/form_submissions_get_form_submissions_too_many_requests_error_response_body.py +33 -0
- samsara/types/form_submissions_get_form_submissions_unauthorized_error_response_body.py +33 -0
- samsara/types/form_submissions_patch_form_submission_bad_gateway_error_response_body.py +33 -0
- samsara/types/form_submissions_patch_form_submission_gateway_timeout_error_response_body.py +33 -0
- samsara/types/form_submissions_patch_form_submission_internal_server_error_response_body.py +33 -0
- samsara/types/form_submissions_patch_form_submission_method_not_allowed_error_response_body.py +33 -0
- samsara/types/form_submissions_patch_form_submission_not_found_error_response_body.py +33 -0
- samsara/types/form_submissions_patch_form_submission_not_implemented_error_response_body.py +33 -0
- samsara/types/form_submissions_patch_form_submission_response_body.py +20 -0
- samsara/types/form_submissions_patch_form_submission_service_unavailable_error_response_body.py +33 -0
- samsara/types/form_submissions_patch_form_submission_too_many_requests_error_response_body.py +33 -0
- samsara/types/form_submissions_patch_form_submission_unauthorized_error_response_body.py +33 -0
- samsara/types/form_submissions_post_form_submission_bad_gateway_error_response_body.py +33 -0
- samsara/types/form_submissions_post_form_submission_gateway_timeout_error_response_body.py +33 -0
- samsara/types/form_submissions_post_form_submission_internal_server_error_response_body.py +33 -0
- samsara/types/form_submissions_post_form_submission_method_not_allowed_error_response_body.py +33 -0
- samsara/types/form_submissions_post_form_submission_not_found_error_response_body.py +33 -0
- samsara/types/form_submissions_post_form_submission_not_implemented_error_response_body.py +33 -0
- samsara/types/form_submissions_post_form_submission_response_body.py +20 -0
- samsara/types/form_submissions_post_form_submission_service_unavailable_error_response_body.py +33 -0
- samsara/types/form_submissions_post_form_submission_too_many_requests_error_response_body.py +33 -0
- samsara/types/form_submissions_post_form_submission_unauthorized_error_response_body.py +33 -0
- samsara/types/form_submissions_post_form_submissions_pdf_exports_bad_gateway_error_response_body.py +33 -0
- samsara/types/form_submissions_post_form_submissions_pdf_exports_gateway_timeout_error_response_body.py +33 -0
- samsara/types/form_submissions_post_form_submissions_pdf_exports_internal_server_error_response_body.py +33 -0
- samsara/types/form_submissions_post_form_submissions_pdf_exports_method_not_allowed_error_response_body.py +33 -0
- samsara/types/form_submissions_post_form_submissions_pdf_exports_not_found_error_response_body.py +33 -0
- samsara/types/form_submissions_post_form_submissions_pdf_exports_not_implemented_error_response_body.py +33 -0
- samsara/types/form_submissions_post_form_submissions_pdf_exports_response_body.py +20 -0
- samsara/types/form_submissions_post_form_submissions_pdf_exports_service_unavailable_error_response_body.py +33 -0
- samsara/types/form_submissions_post_form_submissions_pdf_exports_too_many_requests_error_response_body.py +33 -0
- samsara/types/form_submissions_post_form_submissions_pdf_exports_unauthorized_error_response_body.py +33 -0
- samsara/types/form_submitted_response_body.py +24 -0
- samsara/types/form_template_reference_object_request_body.py +33 -0
- samsara/types/form_template_reference_object_response_body.py +33 -0
- samsara/types/forms_asset_object_response_body.py +41 -0
- samsara/types/forms_asset_object_response_body_entry_type.py +5 -0
- samsara/types/forms_asset_value_object_response_body.py +24 -0
- samsara/types/forms_check_boxes_value_object_response_body.py +26 -0
- samsara/types/forms_date_time_value_object_response_body.py +33 -0
- samsara/types/forms_date_time_value_object_response_body_type.py +5 -0
- samsara/types/forms_field_input_object_response_body.py +95 -0
- samsara/types/forms_issue_created_by_field_object_response_body.py +35 -0
- samsara/types/forms_location_object_response_body.py +31 -0
- samsara/types/forms_media_record_object_response_body.py +51 -0
- samsara/types/forms_media_record_object_response_body_processing_status.py +7 -0
- samsara/types/forms_media_value_object_response_body.py +31 -0
- samsara/types/forms_multiple_choice_value_object_response_body.py +26 -0
- samsara/types/forms_number_value_object_response_body.py +26 -0
- samsara/types/forms_person_object_response_body.py +41 -0
- samsara/types/forms_person_object_response_body_entry_type.py +5 -0
- samsara/types/forms_person_value_object_response_body.py +24 -0
- samsara/types/forms_polymorphic_user_object_response_body.py +32 -0
- samsara/types/forms_polymorphic_user_object_response_body_type.py +5 -0
- samsara/types/forms_score_object_response_body.py +38 -0
- samsara/types/forms_signature_value_object_response_body.py +24 -0
- samsara/types/forms_table_cell_object_response_body.py +67 -0
- samsara/types/forms_table_column_object_response_body.py +38 -0
- samsara/types/forms_table_row_object_response_body.py +32 -0
- samsara/types/forms_table_value_object_response_body.py +33 -0
- samsara/types/forms_text_value_object_response_body.py +26 -0
- samsara/types/forward_collision_detection_alert_settings_object_response_body.py +47 -0
- samsara/types/forward_collision_detection_alert_settings_object_response_body_sensitivity.py +7 -0
- samsara/types/fuel_energy_cost_response_response_body.py +33 -0
- samsara/types/fuel_energy_driver_report_data_object_response_body.py +31 -0
- samsara/types/fuel_energy_driver_report_object_response_body.py +76 -0
- samsara/types/fuel_energy_get_fuel_energy_driver_reports_bad_gateway_error_response_body.py +33 -0
- samsara/types/fuel_energy_get_fuel_energy_driver_reports_gateway_timeout_error_response_body.py +33 -0
- samsara/types/fuel_energy_get_fuel_energy_driver_reports_internal_server_error_response_body.py +33 -0
- samsara/types/fuel_energy_get_fuel_energy_driver_reports_method_not_allowed_error_response_body.py +33 -0
- samsara/types/fuel_energy_get_fuel_energy_driver_reports_not_found_error_response_body.py +33 -0
- samsara/types/fuel_energy_get_fuel_energy_driver_reports_not_implemented_error_response_body.py +33 -0
- samsara/types/fuel_energy_get_fuel_energy_driver_reports_response_body.py +22 -0
- samsara/types/fuel_energy_get_fuel_energy_driver_reports_service_unavailable_error_response_body.py +33 -0
- samsara/types/fuel_energy_get_fuel_energy_driver_reports_too_many_requests_error_response_body.py +33 -0
- samsara/types/fuel_energy_get_fuel_energy_driver_reports_unauthorized_error_response_body.py +33 -0
- samsara/types/fuel_energy_get_fuel_energy_vehicle_reports_bad_gateway_error_response_body.py +33 -0
- samsara/types/fuel_energy_get_fuel_energy_vehicle_reports_gateway_timeout_error_response_body.py +33 -0
- samsara/types/fuel_energy_get_fuel_energy_vehicle_reports_internal_server_error_response_body.py +33 -0
- samsara/types/fuel_energy_get_fuel_energy_vehicle_reports_method_not_allowed_error_response_body.py +33 -0
- samsara/types/fuel_energy_get_fuel_energy_vehicle_reports_not_found_error_response_body.py +33 -0
- samsara/types/fuel_energy_get_fuel_energy_vehicle_reports_not_implemented_error_response_body.py +33 -0
- samsara/types/fuel_energy_get_fuel_energy_vehicle_reports_response_body.py +22 -0
- samsara/types/fuel_energy_get_fuel_energy_vehicle_reports_service_unavailable_error_response_body.py +33 -0
- samsara/types/fuel_energy_get_fuel_energy_vehicle_reports_too_many_requests_error_response_body.py +33 -0
- samsara/types/fuel_energy_get_fuel_energy_vehicle_reports_unauthorized_error_response_body.py +33 -0
- samsara/types/fuel_energy_vehicle_object_response_body.py +48 -0
- samsara/types/fuel_energy_vehicle_object_response_body_energy_type.py +5 -0
- samsara/types/fuel_energy_vehicle_report_data_object_response_body.py +31 -0
- samsara/types/fuel_energy_vehicle_report_object_response_body.py +77 -0
- samsara/types/fuel_level_percentage_response_body.py +28 -0
- samsara/types/fuel_level_trigger_details_object_request_body.py +40 -0
- samsara/types/fuel_level_trigger_details_object_response_body.py +40 -0
- samsara/types/fuel_purchase_post_fuel_purchase_bad_gateway_error_response_body.py +33 -0
- samsara/types/fuel_purchase_post_fuel_purchase_gateway_timeout_error_response_body.py +33 -0
- samsara/types/fuel_purchase_post_fuel_purchase_internal_server_error_response_body.py +33 -0
- samsara/types/fuel_purchase_post_fuel_purchase_method_not_allowed_error_response_body.py +33 -0
- samsara/types/fuel_purchase_post_fuel_purchase_not_found_error_response_body.py +33 -0
- samsara/types/fuel_purchase_post_fuel_purchase_not_implemented_error_response_body.py +33 -0
- samsara/types/fuel_purchase_post_fuel_purchase_response_body.py +20 -0
- samsara/types/fuel_purchase_post_fuel_purchase_service_unavailable_error_response_body.py +33 -0
- samsara/types/fuel_purchase_post_fuel_purchase_too_many_requests_error_response_body.py +33 -0
- samsara/types/fuel_purchase_post_fuel_purchase_unauthorized_error_response_body.py +33 -0
- samsara/types/gateway_asset_response_object_response_body.py +35 -0
- samsara/types/gateway_details_response_response_body.py +53 -0
- samsara/types/gateway_details_response_response_body_gateway_battery_state.py +5 -0
- samsara/types/gateway_disconnected_details_object_request_body.py +30 -0
- samsara/types/gateway_disconnected_details_object_response_body.py +30 -0
- samsara/types/gateway_disconnected_response_body.py +28 -0
- samsara/types/gateway_response_object_response_body.py +48 -0
- samsara/types/gateway_response_object_response_body_model.py +52 -0
- samsara/types/gateway_tiny.py +31 -0
- samsara/types/gateway_unplugged_trigger_details_object_request_body.py +30 -0
- samsara/types/gateway_unplugged_trigger_details_object_response_body.py +30 -0
- samsara/types/gateway_with_vehicle_tiny_response_response_body.py +31 -0
- samsara/types/gateway_with_vehicle_tiny_response_response_body_model.py +52 -0
- samsara/types/gateways_delete_gateway_bad_gateway_error_response_body.py +33 -0
- samsara/types/gateways_delete_gateway_gateway_timeout_error_response_body.py +33 -0
- samsara/types/gateways_delete_gateway_internal_server_error_response_body.py +33 -0
- samsara/types/gateways_delete_gateway_method_not_allowed_error_response_body.py +33 -0
- samsara/types/gateways_delete_gateway_not_found_error_response_body.py +33 -0
- samsara/types/gateways_delete_gateway_not_implemented_error_response_body.py +33 -0
- samsara/types/gateways_delete_gateway_service_unavailable_error_response_body.py +33 -0
- samsara/types/gateways_delete_gateway_too_many_requests_error_response_body.py +33 -0
- samsara/types/gateways_delete_gateway_unauthorized_error_response_body.py +33 -0
- samsara/types/gateways_get_gateways_bad_gateway_error_response_body.py +33 -0
- samsara/types/gateways_get_gateways_gateway_timeout_error_response_body.py +33 -0
- samsara/types/gateways_get_gateways_internal_server_error_response_body.py +33 -0
- samsara/types/gateways_get_gateways_method_not_allowed_error_response_body.py +33 -0
- samsara/types/gateways_get_gateways_not_found_error_response_body.py +33 -0
- samsara/types/gateways_get_gateways_not_implemented_error_response_body.py +33 -0
- samsara/types/gateways_get_gateways_response_body.py +26 -0
- samsara/types/gateways_get_gateways_service_unavailable_error_response_body.py +33 -0
- samsara/types/gateways_get_gateways_too_many_requests_error_response_body.py +33 -0
- samsara/types/gateways_get_gateways_unauthorized_error_response_body.py +33 -0
- samsara/types/gateways_post_gateway_bad_gateway_error_response_body.py +33 -0
- samsara/types/gateways_post_gateway_gateway_timeout_error_response_body.py +33 -0
- samsara/types/gateways_post_gateway_internal_server_error_response_body.py +33 -0
- samsara/types/gateways_post_gateway_method_not_allowed_error_response_body.py +33 -0
- samsara/types/gateways_post_gateway_not_found_error_response_body.py +33 -0
- samsara/types/gateways_post_gateway_not_implemented_error_response_body.py +33 -0
- samsara/types/gateways_post_gateway_response_body.py +20 -0
- samsara/types/gateways_post_gateway_service_unavailable_error_response_body.py +33 -0
- samsara/types/gateways_post_gateway_too_many_requests_error_response_body.py +33 -0
- samsara/types/gateways_post_gateway_unauthorized_error_response_body.py +33 -0
- samsara/types/geofence_entry_trigger_details_object_request_body.py +24 -0
- samsara/types/geofence_entry_trigger_details_object_response_body.py +24 -0
- samsara/types/geofence_exit_trigger_details_object_request_body.py +24 -0
- samsara/types/geofence_exit_trigger_details_object_response_body.py +24 -0
- samsara/types/geofence_response_response_body.py +35 -0
- samsara/types/get_attributes_by_entity_type_response.py +22 -0
- samsara/types/get_document_type_response_object_response_body.py +53 -0
- samsara/types/get_driver_trailer_assignments_response_body_response_body.py +58 -0
- samsara/types/get_media_retrieval_object_response_body.py +23 -0
- samsara/types/get_response_workflow_configuration_object_response_body.py +75 -0
- samsara/types/get_workflow_incident_response_object_response_body.py +57 -0
- samsara/types/goa_address_tiny_response_response_body.py +40 -0
- samsara/types/goa_attribute_tiny_request_body.py +47 -0
- samsara/types/goa_attribute_tiny_response_body.py +47 -0
- samsara/types/goa_document_tiny_response_response_body.py +31 -0
- samsara/types/goa_document_type_tiny_response_response_body.py +31 -0
- samsara/types/goa_driver_tiny_response_response_body.py +40 -0
- samsara/types/goa_gateway_tiny_response_response_body.py +32 -0
- samsara/types/goa_gateway_tiny_response_response_body_model.py +52 -0
- samsara/types/goa_pagination_response_response_body.py +33 -0
- samsara/types/goa_pagination_with_tokens_response_response_body.py +35 -0
- samsara/types/goa_route_stop_tiny_response_response_body.py +40 -0
- samsara/types/goa_route_tiny_response_response_body.py +40 -0
- samsara/types/goa_tag_tiny_response_request_body.py +40 -0
- samsara/types/goa_tag_tiny_response_response_body.py +40 -0
- samsara/types/goa_trailer_tiny_response_response_body.py +40 -0
- samsara/types/goa_vehicle_tiny_response_response_body.py +40 -0
- samsara/types/gps_signal_loss_details_object_request_body.py +30 -0
- samsara/types/gps_signal_loss_details_object_response_body.py +30 -0
- samsara/types/gps_signal_loss_response_body.py +28 -0
- samsara/types/gross_vehicle_weight.py +32 -0
- samsara/types/gross_vehicle_weight_unit.py +5 -0
- samsara/types/harsh_accel_sensitivity_g_force_settings_object_response_body.py +42 -0
- samsara/types/harsh_accel_sensitivity_v_2_settings_object_response_body.py +53 -0
- samsara/types/harsh_accel_sensitivity_v_2_settings_object_response_body_heavy_duty.py +7 -0
- samsara/types/harsh_accel_sensitivity_v_2_settings_object_response_body_light_duty.py +7 -0
- samsara/types/harsh_accel_sensitivity_v_2_settings_object_response_body_passenger.py +7 -0
- samsara/types/harsh_brake_sensitivity_g_force_settings_object_response_body.py +42 -0
- samsara/types/harsh_brake_sensitivity_v_2_settings_object_response_body.py +53 -0
- samsara/types/harsh_brake_sensitivity_v_2_settings_object_response_body_heavy_duty.py +7 -0
- samsara/types/harsh_brake_sensitivity_v_2_settings_object_response_body_light_duty.py +7 -0
- samsara/types/harsh_brake_sensitivity_v_2_settings_object_response_body_passenger.py +7 -0
- samsara/types/harsh_event_data_response_body.py +26 -0
- samsara/types/harsh_event_sensitivity_settings_object_response_body.py +45 -0
- samsara/types/harsh_event_sensitivity_v_2_settings_object_response_body.py +36 -0
- samsara/types/harsh_event_trigger_details_object_request_body.py +29 -0
- samsara/types/harsh_event_trigger_details_object_request_body_types_item.py +45 -0
- samsara/types/harsh_event_trigger_details_object_response_body.py +29 -0
- samsara/types/harsh_event_trigger_details_object_response_body_types_item.py +45 -0
- samsara/types/harsh_turn_sensitivity_g_force_settings_object_response_body.py +42 -0
- samsara/types/harsh_turn_sensitivity_v_2_settings_object_response_body.py +51 -0
- samsara/types/harsh_turn_sensitivity_v_2_settings_object_response_body_heavy_duty.py +7 -0
- samsara/types/harsh_turn_sensitivity_v_2_settings_object_response_body_light_duty.py +7 -0
- samsara/types/harsh_turn_sensitivity_v_2_settings_object_response_body_passenger.py +7 -0
- samsara/types/health_details_response_response_body.py +32 -0
- samsara/types/health_reason_response_response_body.py +39 -0
- samsara/types/health_reason_response_response_body_health_reason_code.py +25 -0
- samsara/types/health_response_response_body.py +99 -0
- samsara/types/health_response_response_body_health_status.py +7 -0
- samsara/types/health_response_response_body_primary_health_reason.py +25 -0
- samsara/types/health_response_response_body_recommended_action.py +37 -0
- samsara/types/hos_break.py +30 -0
- samsara/types/hos_clocks.py +32 -0
- samsara/types/hos_clocks_for_driver.py +38 -0
- samsara/types/hos_clocks_for_drivers.py +7 -0
- samsara/types/hos_clocks_response.py +26 -0
- samsara/types/hos_cycle.py +41 -0
- samsara/types/hos_daily_logs_get_hos_daily_logs_bad_gateway_error_response_body.py +33 -0
- samsara/types/hos_daily_logs_get_hos_daily_logs_gateway_timeout_error_response_body.py +33 -0
- samsara/types/hos_daily_logs_get_hos_daily_logs_internal_server_error_response_body.py +33 -0
- samsara/types/hos_daily_logs_get_hos_daily_logs_method_not_allowed_error_response_body.py +33 -0
- samsara/types/hos_daily_logs_get_hos_daily_logs_not_found_error_response_body.py +33 -0
- samsara/types/hos_daily_logs_get_hos_daily_logs_not_implemented_error_response_body.py +33 -0
- samsara/types/hos_daily_logs_get_hos_daily_logs_response_body.py +26 -0
- samsara/types/hos_daily_logs_get_hos_daily_logs_service_unavailable_error_response_body.py +33 -0
- samsara/types/hos_daily_logs_get_hos_daily_logs_too_many_requests_error_response_body.py +33 -0
- samsara/types/hos_daily_logs_get_hos_daily_logs_unauthorized_error_response_body.py +33 -0
- samsara/types/hos_daily_logs_object_response_body.py +47 -0
- samsara/types/hos_daily_logs_update_shipping_docs_bad_gateway_error_response_body.py +33 -0
- samsara/types/hos_daily_logs_update_shipping_docs_gateway_timeout_error_response_body.py +33 -0
- samsara/types/hos_daily_logs_update_shipping_docs_internal_server_error_response_body.py +33 -0
- samsara/types/hos_daily_logs_update_shipping_docs_method_not_allowed_error_response_body.py +33 -0
- samsara/types/hos_daily_logs_update_shipping_docs_not_found_error_response_body.py +33 -0
- samsara/types/hos_daily_logs_update_shipping_docs_not_implemented_error_response_body.py +33 -0
- samsara/types/hos_daily_logs_update_shipping_docs_response_body.py +20 -0
- samsara/types/hos_daily_logs_update_shipping_docs_service_unavailable_error_response_body.py +33 -0
- samsara/types/hos_daily_logs_update_shipping_docs_too_many_requests_error_response_body.py +33 -0
- samsara/types/hos_daily_logs_update_shipping_docs_unauthorized_error_response_body.py +33 -0
- samsara/types/hos_drive.py +30 -0
- samsara/types/hos_log_entry.py +52 -0
- samsara/types/hos_log_entry_hos_status_type.py +7 -0
- samsara/types/hos_log_location.py +31 -0
- samsara/types/hos_logs_for_driver.py +28 -0
- samsara/types/hos_logs_for_drivers.py +7 -0
- samsara/types/hos_logs_list.py +7 -0
- samsara/types/hos_logs_response.py +26 -0
- samsara/types/hos_shift.py +30 -0
- samsara/types/hos_violation_data_response_body.py +24 -0
- samsara/types/hos_violation_day_object_response_body.py +29 -0
- samsara/types/hos_violation_object_response_body.py +49 -0
- samsara/types/hos_violation_object_response_body_type.py +27 -0
- samsara/types/hos_violation_trigger_details_object_request_body.py +38 -0
- samsara/types/hos_violation_trigger_details_object_request_body_violation.py +19 -0
- samsara/types/hos_violation_trigger_details_object_response_body.py +38 -0
- samsara/types/hos_violation_trigger_details_object_response_body_violation.py +19 -0
- samsara/types/hos_violations.py +37 -0
- samsara/types/hos_violations_get_hos_violations_bad_gateway_error_response_body.py +33 -0
- samsara/types/hos_violations_get_hos_violations_gateway_timeout_error_response_body.py +33 -0
- samsara/types/hos_violations_get_hos_violations_internal_server_error_response_body.py +33 -0
- samsara/types/hos_violations_get_hos_violations_method_not_allowed_error_response_body.py +33 -0
- samsara/types/hos_violations_get_hos_violations_not_found_error_response_body.py +33 -0
- samsara/types/hos_violations_get_hos_violations_not_implemented_error_response_body.py +33 -0
- samsara/types/hos_violations_get_hos_violations_response_body.py +26 -0
- samsara/types/hos_violations_get_hos_violations_service_unavailable_error_response_body.py +33 -0
- samsara/types/hos_violations_get_hos_violations_too_many_requests_error_response_body.py +33 -0
- samsara/types/hos_violations_get_hos_violations_unauthorized_error_response_body.py +33 -0
- samsara/types/hos_violations_object_response_body.py +23 -0
- samsara/types/idling_report_event_address_response_body.py +36 -0
- samsara/types/idling_report_event_response_body.py +53 -0
- samsara/types/idling_reports_get_vehicle_idling_reports_bad_gateway_error_response_body.py +33 -0
- samsara/types/idling_reports_get_vehicle_idling_reports_gateway_timeout_error_response_body.py +33 -0
- samsara/types/idling_reports_get_vehicle_idling_reports_internal_server_error_response_body.py +33 -0
- samsara/types/idling_reports_get_vehicle_idling_reports_method_not_allowed_error_response_body.py +33 -0
- samsara/types/idling_reports_get_vehicle_idling_reports_not_found_error_response_body.py +33 -0
- samsara/types/idling_reports_get_vehicle_idling_reports_not_implemented_error_response_body.py +33 -0
- samsara/types/idling_reports_get_vehicle_idling_reports_response_body.py +37 -0
- samsara/types/idling_reports_get_vehicle_idling_reports_service_unavailable_error_response_body.py +33 -0
- samsara/types/idling_reports_get_vehicle_idling_reports_too_many_requests_error_response_body.py +33 -0
- samsara/types/idling_reports_get_vehicle_idling_reports_unauthorized_error_response_body.py +33 -0
- samsara/types/ifta_create_ifta_detail_job_bad_gateway_error_response_body.py +33 -0
- samsara/types/ifta_create_ifta_detail_job_gateway_timeout_error_response_body.py +33 -0
- samsara/types/ifta_create_ifta_detail_job_internal_server_error_response_body.py +33 -0
- samsara/types/ifta_create_ifta_detail_job_method_not_allowed_error_response_body.py +33 -0
- samsara/types/ifta_create_ifta_detail_job_not_found_error_response_body.py +33 -0
- samsara/types/ifta_create_ifta_detail_job_not_implemented_error_response_body.py +33 -0
- samsara/types/ifta_create_ifta_detail_job_response_body.py +20 -0
- samsara/types/ifta_create_ifta_detail_job_service_unavailable_error_response_body.py +33 -0
- samsara/types/ifta_create_ifta_detail_job_too_many_requests_error_response_body.py +33 -0
- samsara/types/ifta_create_ifta_detail_job_unauthorized_error_response_body.py +33 -0
- samsara/types/ifta_detail_job_args_response_body.py +38 -0
- samsara/types/ifta_detail_job_output_response_body.py +50 -0
- samsara/types/ifta_detail_job_response_body.py +75 -0
- samsara/types/ifta_detail_job_response_body_job_status.py +7 -0
- samsara/types/ifta_get_ifta_detail_job_bad_gateway_error_response_body.py +33 -0
- samsara/types/ifta_get_ifta_detail_job_gateway_timeout_error_response_body.py +33 -0
- samsara/types/ifta_get_ifta_detail_job_internal_server_error_response_body.py +33 -0
- samsara/types/ifta_get_ifta_detail_job_method_not_allowed_error_response_body.py +33 -0
- samsara/types/ifta_get_ifta_detail_job_not_found_error_response_body.py +33 -0
- samsara/types/ifta_get_ifta_detail_job_not_implemented_error_response_body.py +33 -0
- samsara/types/ifta_get_ifta_detail_job_response_body.py +20 -0
- samsara/types/ifta_get_ifta_detail_job_service_unavailable_error_response_body.py +33 -0
- samsara/types/ifta_get_ifta_detail_job_too_many_requests_error_response_body.py +33 -0
- samsara/types/ifta_get_ifta_detail_job_unauthorized_error_response_body.py +33 -0
- samsara/types/ifta_get_ifta_jurisdiction_reports_bad_gateway_error_response_body.py +33 -0
- samsara/types/ifta_get_ifta_jurisdiction_reports_gateway_timeout_error_response_body.py +33 -0
- samsara/types/ifta_get_ifta_jurisdiction_reports_internal_server_error_response_body.py +33 -0
- samsara/types/ifta_get_ifta_jurisdiction_reports_method_not_allowed_error_response_body.py +33 -0
- samsara/types/ifta_get_ifta_jurisdiction_reports_not_found_error_response_body.py +33 -0
- samsara/types/ifta_get_ifta_jurisdiction_reports_not_implemented_error_response_body.py +33 -0
- samsara/types/ifta_get_ifta_jurisdiction_reports_response_body.py +20 -0
- samsara/types/ifta_get_ifta_jurisdiction_reports_service_unavailable_error_response_body.py +33 -0
- samsara/types/ifta_get_ifta_jurisdiction_reports_too_many_requests_error_response_body.py +33 -0
- samsara/types/ifta_get_ifta_jurisdiction_reports_unauthorized_error_response_body.py +33 -0
- samsara/types/ifta_get_ifta_vehicle_reports_bad_gateway_error_response_body.py +33 -0
- samsara/types/ifta_get_ifta_vehicle_reports_gateway_timeout_error_response_body.py +33 -0
- samsara/types/ifta_get_ifta_vehicle_reports_internal_server_error_response_body.py +33 -0
- samsara/types/ifta_get_ifta_vehicle_reports_method_not_allowed_error_response_body.py +33 -0
- samsara/types/ifta_get_ifta_vehicle_reports_not_found_error_response_body.py +33 -0
- samsara/types/ifta_get_ifta_vehicle_reports_not_implemented_error_response_body.py +33 -0
- samsara/types/ifta_get_ifta_vehicle_reports_response_body.py +22 -0
- samsara/types/ifta_get_ifta_vehicle_reports_service_unavailable_error_response_body.py +33 -0
- samsara/types/ifta_get_ifta_vehicle_reports_too_many_requests_error_response_body.py +33 -0
- samsara/types/ifta_get_ifta_vehicle_reports_unauthorized_error_response_body.py +33 -0
- samsara/types/ifta_jurisdiction_report_data_object_response_body.py +48 -0
- samsara/types/ifta_jurisdiction_summary_object_response_body.py +45 -0
- samsara/types/ifta_report_troubleshooting_object_response_body.py +49 -0
- samsara/types/ifta_vehicle_report_data_object_response_body.py +48 -0
- samsara/types/ifta_vehicle_report_object_response_body.py +30 -0
- samsara/types/in_app_notification_options_object_request_body.py +49 -0
- samsara/types/in_app_notification_options_object_response_body.py +49 -0
- samsara/types/inactivity_response_body.py +28 -0
- samsara/types/inattentive_driving_detection_alert_settings_object_response_body.py +54 -0
- samsara/types/inattentive_driving_detection_alert_settings_object_response_body_severity.py +7 -0
- samsara/types/inside_geofence_data_response_body.py +28 -0
- samsara/types/inside_geofence_trigger_details_object_request_body.py +32 -0
- samsara/types/inside_geofence_trigger_details_object_response_body.py +32 -0
- samsara/types/issue_created_response_body.py +24 -0
- samsara/types/issue_response_object_response_body.py +101 -0
- samsara/types/issue_response_object_response_body_priority.py +5 -0
- samsara/types/issue_response_object_response_body_status.py +7 -0
- samsara/types/issue_source_object_response_body.py +32 -0
- samsara/types/issue_source_object_response_body_type.py +5 -0
- samsara/types/issues_get_issues_bad_gateway_error_response_body.py +33 -0
- samsara/types/issues_get_issues_gateway_timeout_error_response_body.py +33 -0
- samsara/types/issues_get_issues_internal_server_error_response_body.py +33 -0
- samsara/types/issues_get_issues_method_not_allowed_error_response_body.py +33 -0
- samsara/types/issues_get_issues_not_found_error_response_body.py +33 -0
- samsara/types/issues_get_issues_not_implemented_error_response_body.py +33 -0
- samsara/types/issues_get_issues_response_body.py +23 -0
- samsara/types/issues_get_issues_service_unavailable_error_response_body.py +33 -0
- samsara/types/issues_get_issues_stream_bad_gateway_error_response_body.py +33 -0
- samsara/types/issues_get_issues_stream_gateway_timeout_error_response_body.py +33 -0
- samsara/types/issues_get_issues_stream_internal_server_error_response_body.py +33 -0
- samsara/types/issues_get_issues_stream_method_not_allowed_error_response_body.py +33 -0
- samsara/types/issues_get_issues_stream_not_found_error_response_body.py +33 -0
- samsara/types/issues_get_issues_stream_not_implemented_error_response_body.py +33 -0
- samsara/types/issues_get_issues_stream_response_body.py +26 -0
- samsara/types/issues_get_issues_stream_service_unavailable_error_response_body.py +33 -0
- samsara/types/issues_get_issues_stream_too_many_requests_error_response_body.py +33 -0
- samsara/types/issues_get_issues_stream_unauthorized_error_response_body.py +33 -0
- samsara/types/issues_get_issues_too_many_requests_error_response_body.py +33 -0
- samsara/types/issues_get_issues_unauthorized_error_response_body.py +33 -0
- samsara/types/issues_patch_issue_bad_gateway_error_response_body.py +33 -0
- samsara/types/issues_patch_issue_gateway_timeout_error_response_body.py +33 -0
- samsara/types/issues_patch_issue_internal_server_error_response_body.py +33 -0
- samsara/types/issues_patch_issue_method_not_allowed_error_response_body.py +33 -0
- samsara/types/issues_patch_issue_not_found_error_response_body.py +33 -0
- samsara/types/issues_patch_issue_not_implemented_error_response_body.py +33 -0
- samsara/types/issues_patch_issue_response_body.py +20 -0
- samsara/types/issues_patch_issue_service_unavailable_error_response_body.py +33 -0
- samsara/types/issues_patch_issue_too_many_requests_error_response_body.py +33 -0
- samsara/types/issues_patch_issue_unauthorized_error_response_body.py +33 -0
- samsara/types/jamming_detected_response_body.py +28 -0
- samsara/types/last_known_location_response_response_body.py +36 -0
- samsara/types/list_addresses_response.py +30 -0
- samsara/types/list_carrier_proposed_assignment_response.py +30 -0
- samsara/types/list_contacts_response.py +26 -0
- samsara/types/list_drivers_response.py +26 -0
- samsara/types/list_tags_response.py +26 -0
- samsara/types/list_uploaded_media_object_response_body.py +23 -0
- samsara/types/list_user_roles_response.py +30 -0
- samsara/types/list_users_response.py +30 -0
- samsara/types/live_sharing_link_full_response_object_response_body.py +69 -0
- samsara/types/live_sharing_link_full_response_object_response_body_type.py +7 -0
- samsara/types/live_sharing_link_response_object_response_body.py +40 -0
- samsara/types/live_sharing_links_create_live_sharing_link_bad_gateway_error_response_body.py +33 -0
- samsara/types/live_sharing_links_create_live_sharing_link_gateway_timeout_error_response_body.py +33 -0
- samsara/types/live_sharing_links_create_live_sharing_link_internal_server_error_response_body.py +33 -0
- samsara/types/live_sharing_links_create_live_sharing_link_method_not_allowed_error_response_body.py +33 -0
- samsara/types/live_sharing_links_create_live_sharing_link_not_found_error_response_body.py +33 -0
- samsara/types/live_sharing_links_create_live_sharing_link_not_implemented_error_response_body.py +33 -0
- samsara/types/live_sharing_links_create_live_sharing_link_response_body.py +20 -0
- samsara/types/live_sharing_links_create_live_sharing_link_service_unavailable_error_response_body.py +33 -0
- samsara/types/live_sharing_links_create_live_sharing_link_too_many_requests_error_response_body.py +33 -0
- samsara/types/live_sharing_links_create_live_sharing_link_unauthorized_error_response_body.py +33 -0
- samsara/types/live_sharing_links_delete_live_sharing_link_bad_gateway_error_response_body.py +33 -0
- samsara/types/live_sharing_links_delete_live_sharing_link_gateway_timeout_error_response_body.py +33 -0
- samsara/types/live_sharing_links_delete_live_sharing_link_internal_server_error_response_body.py +33 -0
- samsara/types/live_sharing_links_delete_live_sharing_link_method_not_allowed_error_response_body.py +33 -0
- samsara/types/live_sharing_links_delete_live_sharing_link_not_found_error_response_body.py +33 -0
- samsara/types/live_sharing_links_delete_live_sharing_link_not_implemented_error_response_body.py +33 -0
- samsara/types/live_sharing_links_delete_live_sharing_link_service_unavailable_error_response_body.py +33 -0
- samsara/types/live_sharing_links_delete_live_sharing_link_too_many_requests_error_response_body.py +33 -0
- samsara/types/live_sharing_links_delete_live_sharing_link_unauthorized_error_response_body.py +33 -0
- samsara/types/live_sharing_links_get_live_sharing_links_bad_gateway_error_response_body.py +33 -0
- samsara/types/live_sharing_links_get_live_sharing_links_gateway_timeout_error_response_body.py +33 -0
- samsara/types/live_sharing_links_get_live_sharing_links_internal_server_error_response_body.py +33 -0
- samsara/types/live_sharing_links_get_live_sharing_links_method_not_allowed_error_response_body.py +33 -0
- samsara/types/live_sharing_links_get_live_sharing_links_not_found_error_response_body.py +33 -0
- samsara/types/live_sharing_links_get_live_sharing_links_not_implemented_error_response_body.py +33 -0
- samsara/types/live_sharing_links_get_live_sharing_links_response_body.py +22 -0
- samsara/types/live_sharing_links_get_live_sharing_links_service_unavailable_error_response_body.py +33 -0
- samsara/types/live_sharing_links_get_live_sharing_links_too_many_requests_error_response_body.py +33 -0
- samsara/types/live_sharing_links_get_live_sharing_links_unauthorized_error_response_body.py +33 -0
- samsara/types/live_sharing_links_update_live_sharing_link_bad_gateway_error_response_body.py +33 -0
- samsara/types/live_sharing_links_update_live_sharing_link_gateway_timeout_error_response_body.py +33 -0
- samsara/types/live_sharing_links_update_live_sharing_link_internal_server_error_response_body.py +33 -0
- samsara/types/live_sharing_links_update_live_sharing_link_method_not_allowed_error_response_body.py +33 -0
- samsara/types/live_sharing_links_update_live_sharing_link_not_found_error_response_body.py +33 -0
- samsara/types/live_sharing_links_update_live_sharing_link_not_implemented_error_response_body.py +33 -0
- samsara/types/live_sharing_links_update_live_sharing_link_response_body.py +20 -0
- samsara/types/live_sharing_links_update_live_sharing_link_service_unavailable_error_response_body.py +33 -0
- samsara/types/live_sharing_links_update_live_sharing_link_too_many_requests_error_response_body.py +33 -0
- samsara/types/live_sharing_links_update_live_sharing_link_unauthorized_error_response_body.py +33 -0
- samsara/types/location.py +31 -0
- samsara/types/location_and_speed_get_location_and_speed_bad_gateway_error_response_body.py +33 -0
- samsara/types/location_and_speed_get_location_and_speed_gateway_timeout_error_response_body.py +33 -0
- samsara/types/location_and_speed_get_location_and_speed_internal_server_error_response_body.py +33 -0
- samsara/types/location_and_speed_get_location_and_speed_method_not_allowed_error_response_body.py +33 -0
- samsara/types/location_and_speed_get_location_and_speed_not_found_error_response_body.py +33 -0
- samsara/types/location_and_speed_get_location_and_speed_not_implemented_error_response_body.py +33 -0
- samsara/types/location_and_speed_get_location_and_speed_response_body.py +26 -0
- samsara/types/location_and_speed_get_location_and_speed_service_unavailable_error_response_body.py +33 -0
- samsara/types/location_and_speed_get_location_and_speed_too_many_requests_error_response_body.py +33 -0
- samsara/types/location_and_speed_get_location_and_speed_unauthorized_error_response_body.py +33 -0
- samsara/types/location_and_speed_response_response_body.py +35 -0
- samsara/types/location_object_request_body.py +49 -0
- samsara/types/location_object_request_body_address_types_item.py +17 -0
- samsara/types/location_object_response_body.py +49 -0
- samsara/types/location_object_response_body_address_types_item.py +17 -0
- samsara/types/location_response_response_body.py +49 -0
- samsara/types/log_meta_data_object_response_body.py +113 -0
- samsara/types/media_object_response_body.py +65 -0
- samsara/types/media_object_response_body_input.py +5 -0
- samsara/types/media_object_response_body_media_type.py +5 -0
- samsara/types/media_object_response_body_status.py +5 -0
- samsara/types/media_retrieval_get_media_retrieval_bad_gateway_error_response_body.py +33 -0
- samsara/types/media_retrieval_get_media_retrieval_gateway_timeout_error_response_body.py +33 -0
- samsara/types/media_retrieval_get_media_retrieval_internal_server_error_response_body.py +33 -0
- samsara/types/media_retrieval_get_media_retrieval_method_not_allowed_error_response_body.py +33 -0
- samsara/types/media_retrieval_get_media_retrieval_not_found_error_response_body.py +33 -0
- samsara/types/media_retrieval_get_media_retrieval_not_implemented_error_response_body.py +33 -0
- samsara/types/media_retrieval_get_media_retrieval_response_body.py +20 -0
- samsara/types/media_retrieval_get_media_retrieval_service_unavailable_error_response_body.py +33 -0
- samsara/types/media_retrieval_get_media_retrieval_too_many_requests_error_response_body.py +33 -0
- samsara/types/media_retrieval_get_media_retrieval_unauthorized_error_response_body.py +33 -0
- samsara/types/media_retrieval_list_uploaded_media_bad_gateway_error_response_body.py +33 -0
- samsara/types/media_retrieval_list_uploaded_media_gateway_timeout_error_response_body.py +33 -0
- samsara/types/media_retrieval_list_uploaded_media_internal_server_error_response_body.py +33 -0
- samsara/types/media_retrieval_list_uploaded_media_method_not_allowed_error_response_body.py +33 -0
- samsara/types/media_retrieval_list_uploaded_media_not_found_error_response_body.py +33 -0
- samsara/types/media_retrieval_list_uploaded_media_not_implemented_error_response_body.py +33 -0
- samsara/types/media_retrieval_list_uploaded_media_response_body.py +22 -0
- samsara/types/media_retrieval_list_uploaded_media_service_unavailable_error_response_body.py +33 -0
- samsara/types/media_retrieval_list_uploaded_media_too_many_requests_error_response_body.py +33 -0
- samsara/types/media_retrieval_list_uploaded_media_unauthorized_error_response_body.py +33 -0
- samsara/types/media_retrieval_post_media_retrieval_bad_gateway_error_response_body.py +33 -0
- samsara/types/media_retrieval_post_media_retrieval_gateway_timeout_error_response_body.py +33 -0
- samsara/types/media_retrieval_post_media_retrieval_internal_server_error_response_body.py +33 -0
- samsara/types/media_retrieval_post_media_retrieval_method_not_allowed_error_response_body.py +33 -0
- samsara/types/media_retrieval_post_media_retrieval_not_found_error_response_body.py +33 -0
- samsara/types/media_retrieval_post_media_retrieval_not_implemented_error_response_body.py +33 -0
- samsara/types/media_retrieval_post_media_retrieval_response_body.py +20 -0
- samsara/types/media_retrieval_post_media_retrieval_service_unavailable_error_response_body.py +33 -0
- samsara/types/media_retrieval_post_media_retrieval_too_many_requests_error_response_body.py +33 -0
- samsara/types/media_retrieval_post_media_retrieval_unauthorized_error_response_body.py +33 -0
- samsara/types/minimal_route_audit_logs_response_body.py +27 -0
- samsara/types/minimal_route_stop_audit_logs_response_body.py +96 -0
- samsara/types/minimal_route_stop_audit_logs_response_body_state.py +7 -0
- samsara/types/minimal_route_stop_response_body.py +82 -0
- samsara/types/minimal_route_stop_response_body_state.py +7 -0
- samsara/types/mobile_usage_detection_alert_settings_object_response_body.py +44 -0
- samsara/types/motion_detected_response_body.py +28 -0
- samsara/types/multiple_choice_field_type_meta_data_object_response_body.py +22 -0
- samsara/types/multiple_choice_value_object_request_body.py +27 -0
- samsara/types/multiple_choice_value_object_response_body.py +27 -0
- samsara/types/number_field_type_meta_data_object_response_body.py +30 -0
- samsara/types/operational_settings_object_request_body.py +39 -0
- samsara/types/operational_settings_object_request_body_time_range_type.py +7 -0
- samsara/types/operational_settings_object_response_body.py +41 -0
- samsara/types/operational_settings_object_response_body_time_range_type.py +7 -0
- samsara/types/organization_info_carrier_settings.py +44 -0
- samsara/types/organization_info_object.py +37 -0
- samsara/types/organization_info_response.py +24 -0
- samsara/types/out_of_route_details_object_request_body.py +35 -0
- samsara/types/out_of_route_details_object_response_body.py +35 -0
- samsara/types/out_of_route_response_body.py +28 -0
- samsara/types/outside_geofence_data_response_body.py +28 -0
- samsara/types/outside_geofence_trigger_details_object_request_body.py +32 -0
- samsara/types/outside_geofence_trigger_details_object_response_body.py +32 -0
- samsara/types/pagination_response.py +33 -0
- samsara/types/panic_button_details_object_request_body.py +30 -0
- samsara/types/panic_button_details_object_response_body.py +30 -0
- samsara/types/panic_button_response_body.py +28 -0
- samsara/types/parent_tag.py +26 -0
- samsara/types/parent_tag_id.py +3 -0
- samsara/types/parent_tag_name.py +3 -0
- samsara/types/patch_driver_trailer_assignments_response_body_response_body.py +62 -0
- samsara/types/patch_driver_vehicle_assignments_v_2_request_body_metadata_request_body.py +30 -0
- samsara/types/patch_driver_vehicle_assignments_v_2_response_body_response_body.py +26 -0
- samsara/types/patch_issue_request_body_assigned_to_request_body.py +31 -0
- samsara/types/patch_response_workflow_configuration_object_response_body.py +75 -0
- samsara/types/patch_shipping_docs_response_body_response_body.py +93 -0
- samsara/types/pending_duty_status_durations_object_response_body.py +79 -0
- samsara/types/person_detected_response_body.py +28 -0
- samsara/types/photo_value_object_request_body.py +27 -0
- samsara/types/photo_value_object_response_body.py +27 -0
- samsara/types/policy_violations_detection_alert_settings_object_response_body.py +68 -0
- samsara/types/policy_violations_detection_alert_settings_object_response_body_events_available_for_testing_item.py +8 -0
- samsara/types/policy_violations_detection_alert_settings_object_response_body_events_to_coach_item.py +16 -0
- samsara/types/polygon_request_body.py +32 -0
- samsara/types/polygon_response_body.py +32 -0
- samsara/types/post_driver_trailer_assignments_response_body_response_body.py +53 -0
- samsara/types/post_driver_vehicle_assignments_v_2_request_body_metadata_request_body.py +30 -0
- samsara/types/post_driver_vehicle_assignments_v_2_response_body_response_body.py +26 -0
- samsara/types/post_fuel_purchase_request_body_price_request_body.py +34 -0
- samsara/types/post_fuel_purchase_request_body_price_request_body_currency.py +7 -0
- samsara/types/post_fuel_purchase_response_body_response_body.py +28 -0
- samsara/types/post_media_retrieval_object_response_body.py +29 -0
- samsara/types/post_response_res_workflow_configuration_object_response_body.py +75 -0
- samsara/types/push_notification_options_object_request_body.py +28 -0
- samsara/types/push_notification_options_object_response_body.py +28 -0
- samsara/types/qr_code_response_object_response_body.py +35 -0
- samsara/types/recipient_object_request_body.py +59 -0
- samsara/types/recipient_object_request_body_notification_types_item.py +5 -0
- samsara/types/recipient_object_request_body_type.py +5 -0
- samsara/types/recipient_object_response_body.py +59 -0
- samsara/types/recipient_object_response_body_notification_types_item.py +5 -0
- samsara/types/recipient_object_response_body_type.py +5 -0
- samsara/types/reefer_temperature_response_body.py +28 -0
- samsara/types/resolved_by.py +31 -0
- samsara/types/reverse_geo.py +30 -0
- samsara/types/rolling_stop_detection_alert_settings_object_response_body.py +37 -0
- samsara/types/route_changes_response_body.py +25 -0
- samsara/types/route_feed_object_response_body.py +48 -0
- samsara/types/route_feed_object_response_body_operation.py +19 -0
- samsara/types/route_feed_object_response_body_source.py +5 -0
- samsara/types/route_settings_request_body.py +43 -0
- samsara/types/route_settings_request_body_route_completion_condition.py +7 -0
- samsara/types/route_settings_request_body_route_starting_condition.py +7 -0
- samsara/types/route_settings_response_body.py +43 -0
- samsara/types/route_settings_response_body_route_completion_condition.py +7 -0
- samsara/types/route_settings_response_body_route_starting_condition.py +7 -0
- samsara/types/route_stop_details_object_response_body.py +47 -0
- samsara/types/route_stop_details_object_response_body_operation.py +5 -0
- samsara/types/route_stop_estimated_arrival_details_object_request_body.py +47 -0
- samsara/types/route_stop_estimated_arrival_details_object_response_body.py +47 -0
- samsara/types/route_stop_eta_response_body.py +28 -0
- samsara/types/routes_create_route_bad_gateway_error_response_body.py +33 -0
- samsara/types/routes_create_route_gateway_timeout_error_response_body.py +33 -0
- samsara/types/routes_create_route_internal_server_error_response_body.py +33 -0
- samsara/types/routes_create_route_method_not_allowed_error_response_body.py +33 -0
- samsara/types/routes_create_route_not_found_error_response_body.py +33 -0
- samsara/types/routes_create_route_not_implemented_error_response_body.py +33 -0
- samsara/types/routes_create_route_response_body.py +20 -0
- samsara/types/routes_create_route_service_unavailable_error_response_body.py +33 -0
- samsara/types/routes_create_route_too_many_requests_error_response_body.py +33 -0
- samsara/types/routes_create_route_unauthorized_error_response_body.py +33 -0
- samsara/types/routes_delete_route_bad_gateway_error_response_body.py +33 -0
- samsara/types/routes_delete_route_gateway_timeout_error_response_body.py +33 -0
- samsara/types/routes_delete_route_internal_server_error_response_body.py +33 -0
- samsara/types/routes_delete_route_method_not_allowed_error_response_body.py +33 -0
- samsara/types/routes_delete_route_not_found_error_response_body.py +33 -0
- samsara/types/routes_delete_route_not_implemented_error_response_body.py +33 -0
- samsara/types/routes_delete_route_service_unavailable_error_response_body.py +33 -0
- samsara/types/routes_delete_route_too_many_requests_error_response_body.py +33 -0
- samsara/types/routes_delete_route_unauthorized_error_response_body.py +33 -0
- samsara/types/routes_fetch_route_bad_gateway_error_response_body.py +33 -0
- samsara/types/routes_fetch_route_gateway_timeout_error_response_body.py +33 -0
- samsara/types/routes_fetch_route_internal_server_error_response_body.py +33 -0
- samsara/types/routes_fetch_route_method_not_allowed_error_response_body.py +33 -0
- samsara/types/routes_fetch_route_not_found_error_response_body.py +33 -0
- samsara/types/routes_fetch_route_not_implemented_error_response_body.py +33 -0
- samsara/types/routes_fetch_route_response_body.py +20 -0
- samsara/types/routes_fetch_route_service_unavailable_error_response_body.py +33 -0
- samsara/types/routes_fetch_route_too_many_requests_error_response_body.py +33 -0
- samsara/types/routes_fetch_route_unauthorized_error_response_body.py +33 -0
- samsara/types/routes_fetch_routes_bad_gateway_error_response_body.py +33 -0
- samsara/types/routes_fetch_routes_gateway_timeout_error_response_body.py +33 -0
- samsara/types/routes_fetch_routes_internal_server_error_response_body.py +33 -0
- samsara/types/routes_fetch_routes_method_not_allowed_error_response_body.py +33 -0
- samsara/types/routes_fetch_routes_not_found_error_response_body.py +33 -0
- samsara/types/routes_fetch_routes_not_implemented_error_response_body.py +33 -0
- samsara/types/routes_fetch_routes_response_body.py +26 -0
- samsara/types/routes_fetch_routes_service_unavailable_error_response_body.py +33 -0
- samsara/types/routes_fetch_routes_too_many_requests_error_response_body.py +33 -0
- samsara/types/routes_fetch_routes_unauthorized_error_response_body.py +33 -0
- samsara/types/routes_get_routes_feed_bad_gateway_error_response_body.py +33 -0
- samsara/types/routes_get_routes_feed_gateway_timeout_error_response_body.py +33 -0
- samsara/types/routes_get_routes_feed_internal_server_error_response_body.py +33 -0
- samsara/types/routes_get_routes_feed_method_not_allowed_error_response_body.py +33 -0
- samsara/types/routes_get_routes_feed_not_found_error_response_body.py +33 -0
- samsara/types/routes_get_routes_feed_not_implemented_error_response_body.py +33 -0
- samsara/types/routes_get_routes_feed_response_body.py +26 -0
- samsara/types/routes_get_routes_feed_service_unavailable_error_response_body.py +33 -0
- samsara/types/routes_get_routes_feed_too_many_requests_error_response_body.py +33 -0
- samsara/types/routes_get_routes_feed_unauthorized_error_response_body.py +33 -0
- samsara/types/routes_patch_route_bad_gateway_error_response_body.py +33 -0
- samsara/types/routes_patch_route_gateway_timeout_error_response_body.py +33 -0
- samsara/types/routes_patch_route_internal_server_error_response_body.py +33 -0
- samsara/types/routes_patch_route_method_not_allowed_error_response_body.py +33 -0
- samsara/types/routes_patch_route_not_found_error_response_body.py +33 -0
- samsara/types/routes_patch_route_not_implemented_error_response_body.py +33 -0
- samsara/types/routes_patch_route_response_body.py +20 -0
- samsara/types/routes_patch_route_service_unavailable_error_response_body.py +33 -0
- samsara/types/routes_patch_route_too_many_requests_error_response_body.py +33 -0
- samsara/types/routes_patch_route_unauthorized_error_response_body.py +33 -0
- samsara/types/routes_single_use_address_object_request_body.py +36 -0
- samsara/types/routes_single_use_address_object_response_body.py +36 -0
- samsara/types/routes_stop_response_object_response_body.py +137 -0
- samsara/types/routes_stop_response_object_response_body_state.py +7 -0
- samsara/types/safety_event.py +58 -0
- samsara/types/safety_event_activity_feed_item_response_body.py +41 -0
- samsara/types/safety_event_activity_feed_item_response_body_type.py +8 -0
- samsara/types/safety_event_behavior_label.py +28 -0
- samsara/types/safety_event_behavior_label_name.py +3 -0
- samsara/types/safety_event_behavior_label_source.py +5 -0
- samsara/types/safety_event_behavior_label_type.py +36 -0
- samsara/types/safety_event_behavior_labels.py +7 -0
- samsara/types/safety_event_behavior_labels_response_body.py +32 -0
- samsara/types/safety_event_behavior_labels_response_body_type.py +43 -0
- samsara/types/safety_event_coaching_state.py +20 -0
- samsara/types/safety_event_download_forward_video_url.py +3 -0
- samsara/types/safety_event_download_inward_video_url.py +3 -0
- samsara/types/safety_event_download_tracked_inward_video_url.py +3 -0
- samsara/types/safety_event_driver_object_response_body.py +26 -0
- samsara/types/safety_event_id.py +3 -0
- samsara/types/safety_event_max_acceleration_g_force.py +3 -0
- samsara/types/safety_event_object_response_body.py +46 -0
- samsara/types/safety_event_time.py +3 -0
- samsara/types/safety_event_vehicle_object_response_body.py +26 -0
- samsara/types/safety_events_get_safety_activity_event_feed_bad_gateway_error_response_body.py +33 -0
- samsara/types/safety_events_get_safety_activity_event_feed_gateway_timeout_error_response_body.py +33 -0
- samsara/types/safety_events_get_safety_activity_event_feed_internal_server_error_response_body.py +33 -0
- samsara/types/safety_events_get_safety_activity_event_feed_method_not_allowed_error_response_body.py +33 -0
- samsara/types/safety_events_get_safety_activity_event_feed_not_found_error_response_body.py +33 -0
- samsara/types/safety_events_get_safety_activity_event_feed_not_implemented_error_response_body.py +33 -0
- samsara/types/safety_events_get_safety_activity_event_feed_response_body.py +26 -0
- samsara/types/safety_events_get_safety_activity_event_feed_service_unavailable_error_response_body.py +33 -0
- samsara/types/safety_events_get_safety_activity_event_feed_too_many_requests_error_response_body.py +33 -0
- samsara/types/safety_events_get_safety_activity_event_feed_unauthorized_error_response_body.py +33 -0
- samsara/types/safety_events_list_response.py +26 -0
- samsara/types/safety_score_configuration_settings_object_response_body.py +226 -0
- samsara/types/safety_settings_get_safety_settings_bad_gateway_error_response_body.py +33 -0
- samsara/types/safety_settings_get_safety_settings_gateway_timeout_error_response_body.py +33 -0
- samsara/types/safety_settings_get_safety_settings_internal_server_error_response_body.py +33 -0
- samsara/types/safety_settings_get_safety_settings_method_not_allowed_error_response_body.py +33 -0
- samsara/types/safety_settings_get_safety_settings_not_found_error_response_body.py +33 -0
- samsara/types/safety_settings_get_safety_settings_not_implemented_error_response_body.py +33 -0
- samsara/types/safety_settings_get_safety_settings_response_body.py +23 -0
- samsara/types/safety_settings_get_safety_settings_service_unavailable_error_response_body.py +33 -0
- samsara/types/safety_settings_get_safety_settings_too_many_requests_error_response_body.py +33 -0
- samsara/types/safety_settings_get_safety_settings_unauthorized_error_response_body.py +33 -0
- samsara/types/safety_settings_object_response_body.py +91 -0
- samsara/types/safety_settings_object_response_body_default_vehicle_type.py +7 -0
- samsara/types/scanned_document_value_object_request_body.py +27 -0
- samsara/types/scanned_document_value_object_response_body.py +27 -0
- samsara/types/scheduled_maintenance_by_engine_hours_details_object_request_body.py +33 -0
- samsara/types/scheduled_maintenance_by_engine_hours_details_object_response_body.py +33 -0
- samsara/types/scheduled_maintenance_by_engine_hours_response_body.py +28 -0
- samsara/types/scheduled_maintenance_data_response_body.py +28 -0
- samsara/types/scheduled_maintenance_odometer_data_response_body.py +28 -0
- samsara/types/scheduled_maintenance_odometer_trigger_details_object_request_body.py +33 -0
- samsara/types/scheduled_maintenance_odometer_trigger_details_object_response_body.py +33 -0
- samsara/types/scheduled_maintenance_trigger_details_object_request_body.py +33 -0
- samsara/types/scheduled_maintenance_trigger_details_object_response_body.py +33 -0
- samsara/types/scope_object_request_body.py +52 -0
- samsara/types/scope_object_response_body.py +52 -0
- samsara/types/sensor.py +32 -0
- samsara/types/sensor_response_body.py +36 -0
- samsara/types/serial.py +3 -0
- samsara/types/service_task_definition_object_response_body.py +59 -0
- samsara/types/service_task_instance_input_object_request_body.py +53 -0
- samsara/types/service_task_instance_input_object_request_body_status.py +7 -0
- samsara/types/service_task_instance_object_response_body.py +53 -0
- samsara/types/service_task_instance_object_response_body_status.py +7 -0
- samsara/types/settings_compliance_response_object_response_body.py +93 -0
- samsara/types/settings_get_compliance_settings_bad_gateway_error_response_body.py +33 -0
- samsara/types/settings_get_compliance_settings_gateway_timeout_error_response_body.py +33 -0
- samsara/types/settings_get_compliance_settings_internal_server_error_response_body.py +33 -0
- samsara/types/settings_get_compliance_settings_method_not_allowed_error_response_body.py +33 -0
- samsara/types/settings_get_compliance_settings_not_found_error_response_body.py +33 -0
- samsara/types/settings_get_compliance_settings_not_implemented_error_response_body.py +33 -0
- samsara/types/settings_get_compliance_settings_response_body.py +20 -0
- samsara/types/settings_get_compliance_settings_service_unavailable_error_response_body.py +33 -0
- samsara/types/settings_get_compliance_settings_too_many_requests_error_response_body.py +33 -0
- samsara/types/settings_get_compliance_settings_unauthorized_error_response_body.py +33 -0
- samsara/types/settings_get_driver_app_settings_bad_gateway_error_response_body.py +33 -0
- samsara/types/settings_get_driver_app_settings_gateway_timeout_error_response_body.py +33 -0
- samsara/types/settings_get_driver_app_settings_internal_server_error_response_body.py +33 -0
- samsara/types/settings_get_driver_app_settings_method_not_allowed_error_response_body.py +33 -0
- samsara/types/settings_get_driver_app_settings_not_found_error_response_body.py +33 -0
- samsara/types/settings_get_driver_app_settings_not_implemented_error_response_body.py +33 -0
- samsara/types/settings_get_driver_app_settings_response_body.py +20 -0
- samsara/types/settings_get_driver_app_settings_service_unavailable_error_response_body.py +33 -0
- samsara/types/settings_get_driver_app_settings_too_many_requests_error_response_body.py +33 -0
- samsara/types/settings_get_driver_app_settings_unauthorized_error_response_body.py +33 -0
- samsara/types/settings_patch_compliance_settings_bad_gateway_error_response_body.py +33 -0
- samsara/types/settings_patch_compliance_settings_gateway_timeout_error_response_body.py +33 -0
- samsara/types/settings_patch_compliance_settings_internal_server_error_response_body.py +33 -0
- samsara/types/settings_patch_compliance_settings_method_not_allowed_error_response_body.py +33 -0
- samsara/types/settings_patch_compliance_settings_not_found_error_response_body.py +33 -0
- samsara/types/settings_patch_compliance_settings_not_implemented_error_response_body.py +33 -0
- samsara/types/settings_patch_compliance_settings_response_body.py +20 -0
- samsara/types/settings_patch_compliance_settings_service_unavailable_error_response_body.py +33 -0
- samsara/types/settings_patch_compliance_settings_too_many_requests_error_response_body.py +33 -0
- samsara/types/settings_patch_compliance_settings_unauthorized_error_response_body.py +33 -0
- samsara/types/settings_patch_driver_app_settings_bad_gateway_error_response_body.py +33 -0
- samsara/types/settings_patch_driver_app_settings_gateway_timeout_error_response_body.py +33 -0
- samsara/types/settings_patch_driver_app_settings_internal_server_error_response_body.py +33 -0
- samsara/types/settings_patch_driver_app_settings_method_not_allowed_error_response_body.py +33 -0
- samsara/types/settings_patch_driver_app_settings_not_found_error_response_body.py +33 -0
- samsara/types/settings_patch_driver_app_settings_not_implemented_error_response_body.py +33 -0
- samsara/types/settings_patch_driver_app_settings_response_body.py +20 -0
- samsara/types/settings_patch_driver_app_settings_service_unavailable_error_response_body.py +33 -0
- samsara/types/settings_patch_driver_app_settings_too_many_requests_error_response_body.py +33 -0
- samsara/types/settings_patch_driver_app_settings_unauthorized_error_response_body.py +33 -0
- samsara/types/settings_response_body.py +31 -0
- samsara/types/severe_speeding_started_object_response_body.py +38 -0
- samsara/types/severe_speeding_started_response_object_response_body.py +24 -0
- samsara/types/signatory_user_object_response_body.py +26 -0
- samsara/types/signature_field_type_meta_data_object_response_body.py +30 -0
- samsara/types/signature_value_object_request_body.py +46 -0
- samsara/types/signature_value_object_response_body.py +46 -0
- samsara/types/site_gateway_disconnected_response_body.py +28 -0
- samsara/types/specific_vehicle_fault_code_object_request_body.py +34 -0
- samsara/types/specific_vehicle_fault_code_object_request_body_type.py +7 -0
- samsara/types/specific_vehicle_fault_code_object_response_body.py +34 -0
- samsara/types/specific_vehicle_fault_code_object_response_body_type.py +7 -0
- samsara/types/speed_data_response_body.py +57 -0
- samsara/types/speed_data_response_body_operation.py +7 -0
- samsara/types/speed_response_response_body.py +37 -0
- samsara/types/speed_trigger_details_object_request_body.py +43 -0
- samsara/types/speed_trigger_details_object_request_body_operation.py +5 -0
- samsara/types/speed_trigger_details_object_response_body.py +43 -0
- samsara/types/speed_trigger_details_object_response_body_operation.py +5 -0
- samsara/types/speeding_interval_location_response_response_body.py +47 -0
- samsara/types/speeding_interval_response_body.py +62 -0
- samsara/types/speeding_interval_response_body_severity_level.py +7 -0
- samsara/types/speeding_intervals_get_speeding_intervals_bad_gateway_error_response_body.py +33 -0
- samsara/types/speeding_intervals_get_speeding_intervals_gateway_timeout_error_response_body.py +33 -0
- samsara/types/speeding_intervals_get_speeding_intervals_internal_server_error_response_body.py +33 -0
- samsara/types/speeding_intervals_get_speeding_intervals_method_not_allowed_error_response_body.py +33 -0
- samsara/types/speeding_intervals_get_speeding_intervals_not_found_error_response_body.py +33 -0
- samsara/types/speeding_intervals_get_speeding_intervals_not_implemented_error_response_body.py +33 -0
- samsara/types/speeding_intervals_get_speeding_intervals_response_body.py +26 -0
- samsara/types/speeding_intervals_get_speeding_intervals_service_unavailable_error_response_body.py +33 -0
- samsara/types/speeding_intervals_get_speeding_intervals_too_many_requests_error_response_body.py +33 -0
- samsara/types/speeding_intervals_get_speeding_intervals_unauthorized_error_response_body.py +33 -0
- samsara/types/speeding_settings_object_response_body.py +37 -0
- samsara/types/speeding_settings_object_response_body_unit.py +7 -0
- samsara/types/speeding_severity_level_response_body.py +48 -0
- samsara/types/speeding_severity_level_response_body_severity_level.py +7 -0
- samsara/types/sudden_fuel_level_drop_response_body.py +26 -0
- samsara/types/sudden_fuel_level_drop_trigger_details_object_request_body.py +30 -0
- samsara/types/sudden_fuel_level_drop_trigger_details_object_response_body.py +30 -0
- samsara/types/sudden_fuel_level_rise_response_body.py +26 -0
- samsara/types/sudden_fuel_level_rise_trigger_details_object_request_body.py +30 -0
- samsara/types/sudden_fuel_level_rise_trigger_details_object_response_body.py +30 -0
- samsara/types/tachograph_activity.py +50 -0
- samsara/types/tachograph_activity_list.py +7 -0
- samsara/types/tachograph_activity_list_wrapper.py +22 -0
- samsara/types/tachograph_activity_state.py +7 -0
- samsara/types/tachograph_driver_file.py +47 -0
- samsara/types/tachograph_driver_file_data.py +7 -0
- samsara/types/tachograph_driver_file_list.py +7 -0
- samsara/types/tachograph_driver_file_list_wrapper.py +22 -0
- samsara/types/tachograph_driver_files_response.py +26 -0
- samsara/types/tachograph_vehicle_file.py +47 -0
- samsara/types/tachograph_vehicle_file_data.py +7 -0
- samsara/types/tachograph_vehicle_file_list.py +7 -0
- samsara/types/tachograph_vehicle_file_list_wrapper.py +22 -0
- samsara/types/tachograph_vehicle_files_response.py +26 -0
- samsara/types/tag.py +19 -0
- samsara/types/tag_all_of.py +60 -0
- samsara/types/tag_all_of_external_ids.py +21 -0
- samsara/types/tag_id.py +3 -0
- samsara/types/tag_name.py +3 -0
- samsara/types/tag_response.py +24 -0
- samsara/types/tag_tiny_response.py +40 -0
- samsara/types/tagged_object.py +22 -0
- samsara/types/tagged_object_id.py +3 -0
- samsara/types/tagged_object_name.py +3 -0
- samsara/types/tampering_detected_response_body.py +28 -0
- samsara/types/time.py +3 -0
- samsara/types/time_range_object_request_body.py +46 -0
- samsara/types/time_range_object_request_body_days_of_week_item.py +7 -0
- samsara/types/time_range_object_response_body.py +46 -0
- samsara/types/time_range_object_response_body_days_of_week_item.py +7 -0
- samsara/types/tiny_asset_object_request_body.py +36 -0
- samsara/types/tiny_asset_object_request_body_asset_type.py +7 -0
- samsara/types/tiny_asset_object_response_body.py +36 -0
- samsara/types/tiny_asset_object_response_body_asset_type.py +7 -0
- samsara/types/tiny_driver_object_request_body.py +28 -0
- samsara/types/tiny_driver_object_response_body.py +28 -0
- samsara/types/tiny_tag.py +26 -0
- samsara/types/tiny_widget_object_request_body.py +28 -0
- samsara/types/tiny_widget_object_response_body.py +28 -0
- samsara/types/tire_fault_code_details_object_request_body.py +54 -0
- samsara/types/tire_fault_code_details_object_request_body_manufacturer.py +17 -0
- samsara/types/tire_fault_code_details_object_request_body_specific_tire_fault_codes_item.py +21 -0
- samsara/types/tire_fault_code_details_object_response_body.py +56 -0
- samsara/types/tire_fault_code_details_object_response_body_manufacturer.py +17 -0
- samsara/types/tire_fault_code_details_object_response_body_specific_tire_fault_codes_item.py +21 -0
- samsara/types/tire_faults_response_body.py +28 -0
- samsara/types/trailer_assignments_create_driver_trailer_assignment_bad_gateway_error_response_body.py +33 -0
- samsara/types/trailer_assignments_create_driver_trailer_assignment_gateway_timeout_error_response_body.py +33 -0
- samsara/types/trailer_assignments_create_driver_trailer_assignment_internal_server_error_response_body.py +33 -0
- samsara/types/trailer_assignments_create_driver_trailer_assignment_method_not_allowed_error_response_body.py +33 -0
- samsara/types/trailer_assignments_create_driver_trailer_assignment_not_found_error_response_body.py +33 -0
- samsara/types/trailer_assignments_create_driver_trailer_assignment_not_implemented_error_response_body.py +33 -0
- samsara/types/trailer_assignments_create_driver_trailer_assignment_response_body.py +22 -0
- samsara/types/trailer_assignments_create_driver_trailer_assignment_service_unavailable_error_response_body.py +33 -0
- samsara/types/trailer_assignments_create_driver_trailer_assignment_too_many_requests_error_response_body.py +33 -0
- samsara/types/trailer_assignments_create_driver_trailer_assignment_unauthorized_error_response_body.py +33 -0
- samsara/types/trailer_assignments_get_driver_trailer_assignments_bad_gateway_error_response_body.py +33 -0
- samsara/types/trailer_assignments_get_driver_trailer_assignments_gateway_timeout_error_response_body.py +33 -0
- samsara/types/trailer_assignments_get_driver_trailer_assignments_internal_server_error_response_body.py +33 -0
- samsara/types/trailer_assignments_get_driver_trailer_assignments_method_not_allowed_error_response_body.py +33 -0
- samsara/types/trailer_assignments_get_driver_trailer_assignments_not_found_error_response_body.py +33 -0
- samsara/types/trailer_assignments_get_driver_trailer_assignments_not_implemented_error_response_body.py +33 -0
- samsara/types/trailer_assignments_get_driver_trailer_assignments_response_body.py +28 -0
- samsara/types/trailer_assignments_get_driver_trailer_assignments_service_unavailable_error_response_body.py +33 -0
- samsara/types/trailer_assignments_get_driver_trailer_assignments_too_many_requests_error_response_body.py +33 -0
- samsara/types/trailer_assignments_get_driver_trailer_assignments_unauthorized_error_response_body.py +33 -0
- samsara/types/trailer_assignments_update_driver_trailer_assignment_bad_gateway_error_response_body.py +33 -0
- samsara/types/trailer_assignments_update_driver_trailer_assignment_gateway_timeout_error_response_body.py +33 -0
- samsara/types/trailer_assignments_update_driver_trailer_assignment_internal_server_error_response_body.py +33 -0
- samsara/types/trailer_assignments_update_driver_trailer_assignment_method_not_allowed_error_response_body.py +33 -0
- samsara/types/trailer_assignments_update_driver_trailer_assignment_not_found_error_response_body.py +33 -0
- samsara/types/trailer_assignments_update_driver_trailer_assignment_not_implemented_error_response_body.py +33 -0
- samsara/types/trailer_assignments_update_driver_trailer_assignment_response_body.py +22 -0
- samsara/types/trailer_assignments_update_driver_trailer_assignment_service_unavailable_error_response_body.py +33 -0
- samsara/types/trailer_assignments_update_driver_trailer_assignment_too_many_requests_error_response_body.py +33 -0
- samsara/types/trailer_assignments_update_driver_trailer_assignment_unauthorized_error_response_body.py +33 -0
- samsara/types/trailer_dvir_object_response_body.py +35 -0
- samsara/types/trailer_goa_gateway_tiny_response_response_body.py +32 -0
- samsara/types/trailer_goa_gateway_tiny_response_response_body_model.py +52 -0
- samsara/types/trailer_object_response_body.py +28 -0
- samsara/types/trailer_response_object_response_body.py +72 -0
- samsara/types/trailer_tiny_response.py +31 -0
- samsara/types/trailer_with_attributes_response_object_response_body.py +78 -0
- samsara/types/trailers_create_trailer_bad_gateway_error_response_body.py +33 -0
- samsara/types/trailers_create_trailer_gateway_timeout_error_response_body.py +33 -0
- samsara/types/trailers_create_trailer_internal_server_error_response_body.py +33 -0
- samsara/types/trailers_create_trailer_method_not_allowed_error_response_body.py +33 -0
- samsara/types/trailers_create_trailer_not_found_error_response_body.py +33 -0
- samsara/types/trailers_create_trailer_not_implemented_error_response_body.py +33 -0
- samsara/types/trailers_create_trailer_response_body.py +20 -0
- samsara/types/trailers_create_trailer_service_unavailable_error_response_body.py +33 -0
- samsara/types/trailers_create_trailer_too_many_requests_error_response_body.py +33 -0
- samsara/types/trailers_create_trailer_unauthorized_error_response_body.py +33 -0
- samsara/types/trailers_delete_trailer_bad_gateway_error_response_body.py +33 -0
- samsara/types/trailers_delete_trailer_gateway_timeout_error_response_body.py +33 -0
- samsara/types/trailers_delete_trailer_internal_server_error_response_body.py +33 -0
- samsara/types/trailers_delete_trailer_method_not_allowed_error_response_body.py +33 -0
- samsara/types/trailers_delete_trailer_not_found_error_response_body.py +33 -0
- samsara/types/trailers_delete_trailer_not_implemented_error_response_body.py +33 -0
- samsara/types/trailers_delete_trailer_service_unavailable_error_response_body.py +33 -0
- samsara/types/trailers_delete_trailer_too_many_requests_error_response_body.py +33 -0
- samsara/types/trailers_delete_trailer_unauthorized_error_response_body.py +33 -0
- samsara/types/trailers_get_trailer_bad_gateway_error_response_body.py +33 -0
- samsara/types/trailers_get_trailer_gateway_timeout_error_response_body.py +33 -0
- samsara/types/trailers_get_trailer_internal_server_error_response_body.py +33 -0
- samsara/types/trailers_get_trailer_method_not_allowed_error_response_body.py +33 -0
- samsara/types/trailers_get_trailer_not_found_error_response_body.py +33 -0
- samsara/types/trailers_get_trailer_not_implemented_error_response_body.py +33 -0
- samsara/types/trailers_get_trailer_response_body.py +20 -0
- samsara/types/trailers_get_trailer_service_unavailable_error_response_body.py +33 -0
- samsara/types/trailers_get_trailer_too_many_requests_error_response_body.py +33 -0
- samsara/types/trailers_get_trailer_unauthorized_error_response_body.py +33 -0
- samsara/types/trailers_list_trailers_bad_gateway_error_response_body.py +33 -0
- samsara/types/trailers_list_trailers_gateway_timeout_error_response_body.py +33 -0
- samsara/types/trailers_list_trailers_internal_server_error_response_body.py +33 -0
- samsara/types/trailers_list_trailers_method_not_allowed_error_response_body.py +33 -0
- samsara/types/trailers_list_trailers_not_found_error_response_body.py +33 -0
- samsara/types/trailers_list_trailers_not_implemented_error_response_body.py +33 -0
- samsara/types/trailers_list_trailers_response_body.py +26 -0
- samsara/types/trailers_list_trailers_service_unavailable_error_response_body.py +33 -0
- samsara/types/trailers_list_trailers_too_many_requests_error_response_body.py +33 -0
- samsara/types/trailers_list_trailers_unauthorized_error_response_body.py +33 -0
- samsara/types/trailers_update_trailer_bad_gateway_error_response_body.py +33 -0
- samsara/types/trailers_update_trailer_gateway_timeout_error_response_body.py +33 -0
- samsara/types/trailers_update_trailer_internal_server_error_response_body.py +33 -0
- samsara/types/trailers_update_trailer_method_not_allowed_error_response_body.py +33 -0
- samsara/types/trailers_update_trailer_not_found_error_response_body.py +33 -0
- samsara/types/trailers_update_trailer_not_implemented_error_response_body.py +33 -0
- samsara/types/trailers_update_trailer_response_body.py +20 -0
- samsara/types/trailers_update_trailer_service_unavailable_error_response_body.py +33 -0
- samsara/types/trailers_update_trailer_too_many_requests_error_response_body.py +33 -0
- samsara/types/trailers_update_trailer_unauthorized_error_response_body.py +33 -0
- samsara/types/training_assignment_near_due_date_trigger_assignment_group_object_request_body.py +41 -0
- samsara/types/training_assignment_near_due_date_trigger_assignment_group_object_request_body_assignment_group_type.py +7 -0
- samsara/types/training_assignment_near_due_date_trigger_assignment_group_object_response_body.py +41 -0
- samsara/types/training_assignment_near_due_date_trigger_assignment_group_object_response_body_assignment_group_type.py +7 -0
- samsara/types/training_assignment_near_due_date_trigger_details_object_request_body.py +55 -0
- samsara/types/training_assignment_near_due_date_trigger_details_object_request_body_condition_units.py +7 -0
- samsara/types/training_assignment_near_due_date_trigger_details_object_response_body.py +55 -0
- samsara/types/training_assignment_near_due_date_trigger_details_object_response_body_condition_units.py +7 -0
- samsara/types/training_assignment_post_response_object_response_body.py +58 -0
- samsara/types/training_assignment_response_object_response_body.py +113 -0
- samsara/types/training_assignment_response_object_response_body_status.py +7 -0
- samsara/types/training_assignments_delete_training_assignments_bad_gateway_error_response_body.py +33 -0
- samsara/types/training_assignments_delete_training_assignments_gateway_timeout_error_response_body.py +33 -0
- samsara/types/training_assignments_delete_training_assignments_internal_server_error_response_body.py +33 -0
- samsara/types/training_assignments_delete_training_assignments_method_not_allowed_error_response_body.py +33 -0
- samsara/types/training_assignments_delete_training_assignments_not_found_error_response_body.py +33 -0
- samsara/types/training_assignments_delete_training_assignments_not_implemented_error_response_body.py +33 -0
- samsara/types/training_assignments_delete_training_assignments_service_unavailable_error_response_body.py +33 -0
- samsara/types/training_assignments_delete_training_assignments_too_many_requests_error_response_body.py +33 -0
- samsara/types/training_assignments_delete_training_assignments_unauthorized_error_response_body.py +33 -0
- samsara/types/training_assignments_get_training_assignments_stream_bad_gateway_error_response_body.py +33 -0
- samsara/types/training_assignments_get_training_assignments_stream_gateway_timeout_error_response_body.py +33 -0
- samsara/types/training_assignments_get_training_assignments_stream_internal_server_error_response_body.py +33 -0
- samsara/types/training_assignments_get_training_assignments_stream_method_not_allowed_error_response_body.py +33 -0
- samsara/types/training_assignments_get_training_assignments_stream_not_found_error_response_body.py +33 -0
- samsara/types/training_assignments_get_training_assignments_stream_not_implemented_error_response_body.py +33 -0
- samsara/types/training_assignments_get_training_assignments_stream_response_body.py +26 -0
- samsara/types/training_assignments_get_training_assignments_stream_service_unavailable_error_response_body.py +33 -0
- samsara/types/training_assignments_get_training_assignments_stream_too_many_requests_error_response_body.py +33 -0
- samsara/types/training_assignments_get_training_assignments_stream_unauthorized_error_response_body.py +33 -0
- samsara/types/training_assignments_patch_training_assignments_bad_gateway_error_response_body.py +33 -0
- samsara/types/training_assignments_patch_training_assignments_gateway_timeout_error_response_body.py +33 -0
- samsara/types/training_assignments_patch_training_assignments_internal_server_error_response_body.py +33 -0
- samsara/types/training_assignments_patch_training_assignments_method_not_allowed_error_response_body.py +33 -0
- samsara/types/training_assignments_patch_training_assignments_not_found_error_response_body.py +33 -0
- samsara/types/training_assignments_patch_training_assignments_not_implemented_error_response_body.py +33 -0
- samsara/types/training_assignments_patch_training_assignments_response_body.py +23 -0
- samsara/types/training_assignments_patch_training_assignments_service_unavailable_error_response_body.py +33 -0
- samsara/types/training_assignments_patch_training_assignments_too_many_requests_error_response_body.py +33 -0
- samsara/types/training_assignments_patch_training_assignments_unauthorized_error_response_body.py +33 -0
- samsara/types/training_assignments_post_training_assignments_bad_gateway_error_response_body.py +33 -0
- samsara/types/training_assignments_post_training_assignments_gateway_timeout_error_response_body.py +33 -0
- samsara/types/training_assignments_post_training_assignments_internal_server_error_response_body.py +33 -0
- samsara/types/training_assignments_post_training_assignments_method_not_allowed_error_response_body.py +33 -0
- samsara/types/training_assignments_post_training_assignments_not_found_error_response_body.py +33 -0
- samsara/types/training_assignments_post_training_assignments_not_implemented_error_response_body.py +33 -0
- samsara/types/training_assignments_post_training_assignments_response_body.py +23 -0
- samsara/types/training_assignments_post_training_assignments_service_unavailable_error_response_body.py +33 -0
- samsara/types/training_assignments_post_training_assignments_too_many_requests_error_response_body.py +33 -0
- samsara/types/training_assignments_post_training_assignments_unauthorized_error_response_body.py +33 -0
- samsara/types/training_category_object_response_body.py +31 -0
- samsara/types/training_course_label_object_response_body.py +31 -0
- samsara/types/training_course_object_response_body.py +33 -0
- samsara/types/training_course_response_object_response_body.py +65 -0
- samsara/types/training_course_response_object_response_body_status.py +7 -0
- samsara/types/training_courses_get_training_courses_bad_gateway_error_response_body.py +33 -0
- samsara/types/training_courses_get_training_courses_gateway_timeout_error_response_body.py +33 -0
- samsara/types/training_courses_get_training_courses_internal_server_error_response_body.py +33 -0
- samsara/types/training_courses_get_training_courses_method_not_allowed_error_response_body.py +33 -0
- samsara/types/training_courses_get_training_courses_not_found_error_response_body.py +33 -0
- samsara/types/training_courses_get_training_courses_not_implemented_error_response_body.py +33 -0
- samsara/types/training_courses_get_training_courses_response_body.py +26 -0
- samsara/types/training_courses_get_training_courses_service_unavailable_error_response_body.py +33 -0
- samsara/types/training_courses_get_training_courses_too_many_requests_error_response_body.py +33 -0
- samsara/types/training_courses_get_training_courses_unauthorized_error_response_body.py +33 -0
- samsara/types/training_learner_object_response_body.py +31 -0
- samsara/types/trigger_params_object_request_body.py +173 -0
- samsara/types/trigger_params_object_response_body.py +175 -0
- samsara/types/trip_asset_response_body.py +42 -0
- samsara/types/trip_asset_response_body_type.py +7 -0
- samsara/types/trip_response_body.py +60 -0
- samsara/types/trip_response_body_completion_status.py +5 -0
- samsara/types/trip_speeding_intervals_response_body.py +53 -0
- samsara/types/trips_get_trips_bad_gateway_error_response_body.py +33 -0
- samsara/types/trips_get_trips_gateway_timeout_error_response_body.py +33 -0
- samsara/types/trips_get_trips_internal_server_error_response_body.py +33 -0
- samsara/types/trips_get_trips_method_not_allowed_error_response_body.py +33 -0
- samsara/types/trips_get_trips_not_found_error_response_body.py +33 -0
- samsara/types/trips_get_trips_not_implemented_error_response_body.py +33 -0
- samsara/types/trips_get_trips_response_body.py +26 -0
- samsara/types/trips_get_trips_service_unavailable_error_response_body.py +33 -0
- samsara/types/trips_get_trips_too_many_requests_error_response_body.py +33 -0
- samsara/types/trips_get_trips_unauthorized_error_response_body.py +33 -0
- samsara/types/unassigned_driving_data_response_body.py +26 -0
- samsara/types/unassigned_driving_trigger_details_object_request_body.py +30 -0
- samsara/types/unassigned_driving_trigger_details_object_response_body.py +30 -0
- samsara/types/update_address_request_geofence.py +28 -0
- samsara/types/update_driver_request_hos_setting.py +28 -0
- samsara/types/update_routes_stop_request_object_request_body.py +82 -0
- samsara/types/uploaded_media_object_response_body.py +65 -0
- samsara/types/uploaded_media_object_response_body_input.py +7 -0
- samsara/types/uploaded_media_object_response_body_media_type.py +5 -0
- samsara/types/uploaded_media_object_response_body_trigger_reason.py +10 -0
- samsara/types/url_info_object_response_body.py +33 -0
- samsara/types/us_driver_ruleset_override.py +49 -0
- samsara/types/us_driver_ruleset_override_cycle.py +38 -0
- samsara/types/us_driver_ruleset_override_restart.py +7 -0
- samsara/types/us_driver_ruleset_override_restbreak.py +7 -0
- samsara/types/us_driver_ruleset_override_us_state_to_override.py +7 -0
- samsara/types/user.py +34 -0
- samsara/types/user_auth_type.py +5 -0
- samsara/types/user_email.py +3 -0
- samsara/types/user_expire_at.py +3 -0
- samsara/types/user_id.py +3 -0
- samsara/types/user_identifier_serial.py +3 -0
- samsara/types/user_name.py +3 -0
- samsara/types/user_response.py +24 -0
- samsara/types/user_role.py +31 -0
- samsara/types/user_role_assignment.py +30 -0
- samsara/types/user_roles.py +7 -0
- samsara/types/user_tiny_response.py +31 -0
- samsara/types/vehicle.py +126 -0
- samsara/types/vehicle_assignment_object_response_body.py +46 -0
- samsara/types/vehicle_aux_input_name.py +3 -0
- samsara/types/vehicle_aux_input_type.py +3 -0
- samsara/types/vehicle_batter_voltage_details_object_request_body.py +43 -0
- samsara/types/vehicle_batter_voltage_details_object_request_body_operation.py +5 -0
- samsara/types/vehicle_batter_voltage_details_object_response_body.py +43 -0
- samsara/types/vehicle_batter_voltage_details_object_response_body_operation.py +5 -0
- samsara/types/vehicle_battery_voltage_response_body.py +28 -0
- samsara/types/vehicle_def_level_percentage_response_body.py +28 -0
- samsara/types/vehicle_detected_response_body.py +28 -0
- samsara/types/vehicle_dvir_object_response_body.py +35 -0
- samsara/types/vehicle_esn.py +3 -0
- samsara/types/vehicle_external_ids.py +5 -0
- samsara/types/vehicle_fault_code_details_object_request_body.py +74 -0
- samsara/types/vehicle_fault_code_details_object_response_body.py +74 -0
- samsara/types/vehicle_faults_response_body.py +28 -0
- samsara/types/vehicle_harsh_acceleration_setting_type.py +7 -0
- samsara/types/vehicle_id.py +3 -0
- samsara/types/vehicle_license_plate.py +3 -0
- samsara/types/vehicle_location.py +36 -0
- samsara/types/vehicle_location_address.py +31 -0
- samsara/types/vehicle_location_heading.py +3 -0
- samsara/types/vehicle_location_is_ecu_speed.py +3 -0
- samsara/types/vehicle_location_latitude.py +3 -0
- samsara/types/vehicle_location_longitude.py +3 -0
- samsara/types/vehicle_location_speed.py +3 -0
- samsara/types/vehicle_locations_list_response.py +30 -0
- samsara/types/vehicle_locations_list_response_data.py +32 -0
- samsara/types/vehicle_locations_response.py +30 -0
- samsara/types/vehicle_locations_response_data.py +28 -0
- samsara/types/vehicle_make.py +3 -0
- samsara/types/vehicle_model.py +3 -0
- samsara/types/vehicle_name.py +3 -0
- samsara/types/vehicle_notes.py +3 -0
- samsara/types/vehicle_regulation_mode.py +5 -0
- samsara/types/vehicle_response.py +24 -0
- samsara/types/vehicle_response_object_response_body.py +259 -0
- samsara/types/vehicle_response_object_response_body_vehicle_regulation_mode.py +7 -0
- samsara/types/vehicle_response_object_response_body_vehicle_type.py +7 -0
- samsara/types/vehicle_response_response_body.py +62 -0
- samsara/types/vehicle_response_response_body_asset_type.py +7 -0
- samsara/types/vehicle_sensor_configuration.py +26 -0
- samsara/types/vehicle_sensor_configuration_area.py +51 -0
- samsara/types/vehicle_sensor_configuration_area_position.py +7 -0
- samsara/types/vehicle_sensor_configuration_area_response_body.py +40 -0
- samsara/types/vehicle_sensor_configuration_area_response_body_position.py +5 -0
- samsara/types/vehicle_sensor_configuration_door.py +30 -0
- samsara/types/vehicle_sensor_configuration_door_position.py +5 -0
- samsara/types/vehicle_sensor_configuration_door_response_body.py +30 -0
- samsara/types/vehicle_sensor_configuration_door_response_body_position.py +5 -0
- samsara/types/vehicle_sensor_configuration_response_body.py +33 -0
- samsara/types/vehicle_stats_ambient_air_temp_milli_c.py +28 -0
- samsara/types/vehicle_stats_ambient_air_temp_milli_c_value.py +3 -0
- samsara/types/vehicle_stats_ambient_air_temp_milli_c_with_decoration.py +30 -0
- samsara/types/vehicle_stats_aux_input.py +30 -0
- samsara/types/vehicle_stats_aux_input_decoration.py +25 -0
- samsara/types/vehicle_stats_aux_input_time.py +3 -0
- samsara/types/vehicle_stats_aux_input_value.py +3 -0
- samsara/types/vehicle_stats_aux_input_with_decoration.py +32 -0
- samsara/types/vehicle_stats_barometric_pressure_pa.py +28 -0
- samsara/types/vehicle_stats_barometric_pressure_pa_value.py +3 -0
- samsara/types/vehicle_stats_barometric_pressure_pa_with_decoration.py +30 -0
- samsara/types/vehicle_stats_battery_milli_volts_value.py +3 -0
- samsara/types/vehicle_stats_battery_voltage.py +28 -0
- samsara/types/vehicle_stats_battery_voltage_with_decoration.py +30 -0
- samsara/types/vehicle_stats_decorations.py +266 -0
- samsara/types/vehicle_stats_decorations_ambient_air_temperature_milli_c.py +20 -0
- samsara/types/vehicle_stats_decorations_barometric_pressure_pa.py +20 -0
- samsara/types/vehicle_stats_decorations_battery_milli_volts.py +20 -0
- samsara/types/vehicle_stats_decorations_def_level_milli_percent.py +20 -0
- samsara/types/vehicle_stats_decorations_ecu_speed_mph.py +20 -0
- samsara/types/vehicle_stats_decorations_engine_coolant_temperature_milli_c.py +20 -0
- samsara/types/vehicle_stats_decorations_engine_load_percent.py +20 -0
- samsara/types/vehicle_stats_decorations_engine_oil_pressure_k_pa.py +20 -0
- samsara/types/vehicle_stats_decorations_engine_rpm.py +20 -0
- samsara/types/vehicle_stats_decorations_engine_states.py +23 -0
- samsara/types/vehicle_stats_decorations_engine_states_value.py +5 -0
- samsara/types/vehicle_stats_decorations_fuel_percents.py +20 -0
- samsara/types/vehicle_stats_decorations_gps.py +40 -0
- samsara/types/vehicle_stats_decorations_gps_distance_meters.py +20 -0
- samsara/types/vehicle_stats_decorations_gps_odometer_meters.py +20 -0
- samsara/types/vehicle_stats_decorations_intake_manifold_temperature_milli_c.py +20 -0
- samsara/types/vehicle_stats_decorations_obd_engine_seconds.py +20 -0
- samsara/types/vehicle_stats_decorations_obd_odometer_meters.py +20 -0
- samsara/types/vehicle_stats_def_level_milli_percent.py +28 -0
- samsara/types/vehicle_stats_def_level_milli_percent_value.py +3 -0
- samsara/types/vehicle_stats_def_level_milli_percent_with_decoration.py +30 -0
- samsara/types/vehicle_stats_ecu_speed_mph.py +28 -0
- samsara/types/vehicle_stats_ecu_speed_mph_value.py +3 -0
- samsara/types/vehicle_stats_ecu_speed_mph_with_decoration.py +30 -0
- samsara/types/vehicle_stats_engine_coolant_temp_milli_c.py +28 -0
- samsara/types/vehicle_stats_engine_coolant_temp_milli_c_value.py +3 -0
- samsara/types/vehicle_stats_engine_coolant_temp_milli_c_with_decoration.py +30 -0
- samsara/types/vehicle_stats_engine_immobilizer.py +35 -0
- samsara/types/vehicle_stats_engine_immobilizer_state.py +5 -0
- samsara/types/vehicle_stats_engine_immobilizer_with_decoration.py +37 -0
- samsara/types/vehicle_stats_engine_immobilizer_with_decoration_state.py +7 -0
- samsara/types/vehicle_stats_engine_load_percent.py +28 -0
- samsara/types/vehicle_stats_engine_load_percent_value.py +3 -0
- samsara/types/vehicle_stats_engine_load_percent_with_decoration.py +30 -0
- samsara/types/vehicle_stats_engine_oil_pressure_k_pa.py +28 -0
- samsara/types/vehicle_stats_engine_oil_pressure_k_pa_value.py +3 -0
- samsara/types/vehicle_stats_engine_oil_pressure_k_pa_with_decoration.py +30 -0
- samsara/types/vehicle_stats_engine_rpm.py +28 -0
- samsara/types/vehicle_stats_engine_rpm_value.py +3 -0
- samsara/types/vehicle_stats_engine_rpm_with_decoration.py +30 -0
- samsara/types/vehicle_stats_engine_state.py +26 -0
- samsara/types/vehicle_stats_engine_state_setting.py +5 -0
- samsara/types/vehicle_stats_engine_state_with_decoration.py +28 -0
- samsara/types/vehicle_stats_ev_average_battery_temperature_milli_celsius.py +28 -0
- samsara/types/vehicle_stats_ev_battery_current_milli_amp.py +28 -0
- samsara/types/vehicle_stats_ev_battery_state_of_health_milli_percent.py +28 -0
- samsara/types/vehicle_stats_ev_battery_voltage_milli_volt.py +28 -0
- samsara/types/vehicle_stats_ev_charging_current_milli_amp.py +28 -0
- samsara/types/vehicle_stats_ev_charging_energy_micro_wh.py +28 -0
- samsara/types/vehicle_stats_ev_charging_status.py +31 -0
- samsara/types/vehicle_stats_ev_charging_voltage_milli_volt.py +28 -0
- samsara/types/vehicle_stats_ev_consumed_energy_micro_wh.py +28 -0
- samsara/types/vehicle_stats_ev_distance_driven_meters.py +28 -0
- samsara/types/vehicle_stats_ev_regenerated_energy_micro_wh.py +28 -0
- samsara/types/vehicle_stats_ev_state_of_charge_milli_percent.py +28 -0
- samsara/types/vehicle_stats_fault_codes.py +38 -0
- samsara/types/vehicle_stats_fault_codes_can_bus_type.py +3 -0
- samsara/types/vehicle_stats_fault_codes_ignition_type.py +5 -0
- samsara/types/vehicle_stats_fault_codes_j_1939.py +32 -0
- samsara/types/vehicle_stats_fault_codes_j_1939_lights.py +43 -0
- samsara/types/vehicle_stats_fault_codes_j_1939_trouble_code.py +71 -0
- samsara/types/vehicle_stats_fault_codes_j_1939_trouble_codes.py +7 -0
- samsara/types/vehicle_stats_fault_codes_obdii.py +39 -0
- samsara/types/vehicle_stats_fault_codes_obdii_trouble_code.py +63 -0
- samsara/types/vehicle_stats_fault_codes_oem.py +28 -0
- samsara/types/vehicle_stats_fault_codes_oem_trouble_code.py +51 -0
- samsara/types/vehicle_stats_fault_codes_oem_trouble_codes.py +7 -0
- samsara/types/vehicle_stats_fault_codes_passenger_dtc.py +42 -0
- samsara/types/vehicle_stats_fault_codes_passenger_monitor_status.py +55 -0
- samsara/types/vehicle_stats_fault_codes_passenger_monitor_status_value.py +5 -0
- samsara/types/vehicle_stats_fault_codes_tx_id.py +3 -0
- samsara/types/vehicle_stats_fault_codes_value.py +39 -0
- samsara/types/vehicle_stats_fault_codes_value_j_1939.py +40 -0
- samsara/types/vehicle_stats_fault_codes_value_j_1939_check_engine_lights.py +43 -0
- samsara/types/vehicle_stats_fault_codes_value_j_1939_diagnostic_trouble_codes.py +77 -0
- samsara/types/vehicle_stats_fault_codes_value_j_1939_vendor_specific_fields.py +37 -0
- samsara/types/vehicle_stats_fault_codes_value_obdii.py +41 -0
- samsara/types/vehicle_stats_fault_codes_value_obdii_confirmed_dtcs.py +42 -0
- samsara/types/vehicle_stats_fault_codes_value_obdii_diagnostic_trouble_codes.py +74 -0
- samsara/types/vehicle_stats_fault_codes_value_obdii_diagnostic_trouble_codes_ignition_type.py +7 -0
- samsara/types/vehicle_stats_fault_codes_value_obdii_monitor_status.py +164 -0
- samsara/types/vehicle_stats_fault_codes_value_obdii_monitor_status_catalyst.py +5 -0
- samsara/types/vehicle_stats_fault_codes_value_obdii_monitor_status_comprehensive.py +5 -0
- samsara/types/vehicle_stats_fault_codes_value_obdii_monitor_status_egr.py +5 -0
- samsara/types/vehicle_stats_fault_codes_value_obdii_monitor_status_evap_system.py +5 -0
- samsara/types/vehicle_stats_fault_codes_value_obdii_monitor_status_fuel.py +5 -0
- samsara/types/vehicle_stats_fault_codes_value_obdii_monitor_status_heated_catalyst.py +5 -0
- samsara/types/vehicle_stats_fault_codes_value_obdii_monitor_status_heated_o_2_sensor.py +5 -0
- samsara/types/vehicle_stats_fault_codes_value_obdii_monitor_status_iso_sae_reserved.py +5 -0
- samsara/types/vehicle_stats_fault_codes_value_obdii_monitor_status_misfire.py +5 -0
- samsara/types/vehicle_stats_fault_codes_value_obdii_monitor_status_o_2_sensor.py +5 -0
- samsara/types/vehicle_stats_fault_codes_value_obdii_monitor_status_secondary_air.py +5 -0
- samsara/types/vehicle_stats_fault_codes_value_oem.py +34 -0
- samsara/types/vehicle_stats_fault_codes_value_oem_diagnostic_trouble_codes.py +51 -0
- samsara/types/vehicle_stats_fault_codes_vendor_specific_fields.py +37 -0
- samsara/types/vehicle_stats_fault_codes_with_decoration.py +40 -0
- samsara/types/vehicle_stats_fuel_percent.py +28 -0
- samsara/types/vehicle_stats_fuel_percent_value.py +3 -0
- samsara/types/vehicle_stats_fuel_percent_with_decoration.py +30 -0
- samsara/types/vehicle_stats_gps.py +46 -0
- samsara/types/vehicle_stats_gps_distance_meters.py +28 -0
- samsara/types/vehicle_stats_gps_distance_meters_value.py +3 -0
- samsara/types/vehicle_stats_gps_distance_meters_with_decoration.py +30 -0
- samsara/types/vehicle_stats_gps_odometer_meters.py +28 -0
- samsara/types/vehicle_stats_gps_odometer_meters_value.py +3 -0
- samsara/types/vehicle_stats_gps_odometer_meters_with_decoration.py +30 -0
- samsara/types/vehicle_stats_intake_manifold_temp_milli_c.py +28 -0
- samsara/types/vehicle_stats_intake_manifold_temp_milli_c_value.py +3 -0
- samsara/types/vehicle_stats_intake_manifold_temp_milli_c_with_decoration.py +30 -0
- samsara/types/vehicle_stats_list_gps.py +48 -0
- samsara/types/vehicle_stats_list_response.py +30 -0
- samsara/types/vehicle_stats_list_response_data.py +516 -0
- samsara/types/vehicle_stats_list_synthetic_engine_seconds.py +28 -0
- samsara/types/vehicle_stats_nfc_card_scan.py +26 -0
- samsara/types/vehicle_stats_nfc_card_scan_card.py +26 -0
- samsara/types/vehicle_stats_nfc_card_scan_with_decoration.py +28 -0
- samsara/types/vehicle_stats_obd_engine_seconds.py +28 -0
- samsara/types/vehicle_stats_obd_engine_seconds_value.py +3 -0
- samsara/types/vehicle_stats_obd_engine_seconds_with_decoration.py +30 -0
- samsara/types/vehicle_stats_obd_odometer_meters.py +28 -0
- samsara/types/vehicle_stats_obd_odometer_meters_value.py +3 -0
- samsara/types/vehicle_stats_obd_odometer_meters_with_decoration.py +30 -0
- samsara/types/vehicle_stats_response.py +30 -0
- samsara/types/vehicle_stats_response_data.py +263 -0
- samsara/types/vehicle_stats_response_ev_average_battery_temperature_milli_celsius.py +31 -0
- samsara/types/vehicle_stats_response_ev_battery_current_milli_amp.py +31 -0
- samsara/types/vehicle_stats_response_ev_battery_state_of_health_milli_percent.py +31 -0
- samsara/types/vehicle_stats_response_ev_battery_voltage_milli_volt.py +31 -0
- samsara/types/vehicle_stats_response_ev_charging_current_milli_amp.py +31 -0
- samsara/types/vehicle_stats_response_ev_charging_energy_micro_wh.py +31 -0
- samsara/types/vehicle_stats_response_ev_charging_status.py +34 -0
- samsara/types/vehicle_stats_response_ev_charging_voltage_milli_volt.py +31 -0
- samsara/types/vehicle_stats_response_ev_consumed_energy_micro_wh.py +31 -0
- samsara/types/vehicle_stats_response_ev_distance_driven_meters.py +31 -0
- samsara/types/vehicle_stats_response_ev_regenerated_energy_micro_wh.py +31 -0
- samsara/types/vehicle_stats_response_ev_state_of_charge_milli_percent.py +31 -0
- samsara/types/vehicle_stats_response_seatbelt_driver.py +32 -0
- samsara/types/vehicle_stats_response_seatbelt_driver_value.py +5 -0
- samsara/types/vehicle_stats_response_spreader_active.py +32 -0
- samsara/types/vehicle_stats_response_spreader_active_value.py +5 -0
- samsara/types/vehicle_stats_response_spreader_air_temp.py +31 -0
- samsara/types/vehicle_stats_response_spreader_blast_state.py +32 -0
- samsara/types/vehicle_stats_response_spreader_blast_state_value.py +5 -0
- samsara/types/vehicle_stats_response_spreader_granular_name.py +31 -0
- samsara/types/vehicle_stats_response_spreader_granular_rate.py +31 -0
- samsara/types/vehicle_stats_response_spreader_liquid_name.py +31 -0
- samsara/types/vehicle_stats_response_spreader_liquid_rate.py +31 -0
- samsara/types/vehicle_stats_response_spreader_on_state.py +32 -0
- samsara/types/vehicle_stats_response_spreader_on_state_value.py +5 -0
- samsara/types/vehicle_stats_response_spreader_plow_status.py +32 -0
- samsara/types/vehicle_stats_response_spreader_plow_status_value.py +5 -0
- samsara/types/vehicle_stats_response_spreader_prewet_name.py +31 -0
- samsara/types/vehicle_stats_response_spreader_prewet_rate.py +31 -0
- samsara/types/vehicle_stats_response_spreader_road_temp.py +31 -0
- samsara/types/vehicle_stats_seatbelt_driver.py +29 -0
- samsara/types/vehicle_stats_seatbelt_driver_value.py +5 -0
- samsara/types/vehicle_stats_spreader_active.py +29 -0
- samsara/types/vehicle_stats_spreader_active_value.py +5 -0
- samsara/types/vehicle_stats_spreader_air_temp.py +28 -0
- samsara/types/vehicle_stats_spreader_blast_state.py +29 -0
- samsara/types/vehicle_stats_spreader_blast_state_value.py +5 -0
- samsara/types/vehicle_stats_spreader_granular_name.py +28 -0
- samsara/types/vehicle_stats_spreader_granular_rate.py +28 -0
- samsara/types/vehicle_stats_spreader_liquid_name.py +28 -0
- samsara/types/vehicle_stats_spreader_liquid_rate.py +28 -0
- samsara/types/vehicle_stats_spreader_on_state.py +29 -0
- samsara/types/vehicle_stats_spreader_on_state_value.py +5 -0
- samsara/types/vehicle_stats_spreader_plow_status.py +29 -0
- samsara/types/vehicle_stats_spreader_plow_status_value.py +5 -0
- samsara/types/vehicle_stats_spreader_prewet_name.py +28 -0
- samsara/types/vehicle_stats_spreader_prewet_rate.py +28 -0
- samsara/types/vehicle_stats_spreader_road_temp.py +28 -0
- samsara/types/vehicle_stats_synthetic_engine_seconds.py +28 -0
- samsara/types/vehicle_stats_synthetic_engine_seconds_value.py +3 -0
- samsara/types/vehicle_stats_tire_pressures.py +51 -0
- samsara/types/vehicle_tags.py +7 -0
- samsara/types/vehicle_tiny_response.py +40 -0
- samsara/types/vehicle_type.py +3 -0
- samsara/types/vehicle_vin.py +3 -0
- samsara/types/vehicle_with_gateway_tiny_response_response_body.py +64 -0
- samsara/types/vehicle_with_gateway_tiny_response_response_body_asset_type.py +7 -0
- samsara/types/vehicle_year.py +3 -0
- samsara/types/vehicles_driver_assignments_get_vehicles_driver_assignments_bad_gateway_error_response_body.py +33 -0
- samsara/types/vehicles_driver_assignments_get_vehicles_driver_assignments_gateway_timeout_error_response_body.py +33 -0
- samsara/types/vehicles_driver_assignments_get_vehicles_driver_assignments_internal_server_error_response_body.py +33 -0
- samsara/types/vehicles_driver_assignments_get_vehicles_driver_assignments_method_not_allowed_error_response_body.py +33 -0
- samsara/types/vehicles_driver_assignments_get_vehicles_driver_assignments_not_found_error_response_body.py +33 -0
- samsara/types/vehicles_driver_assignments_get_vehicles_driver_assignments_not_implemented_error_response_body.py +33 -0
- samsara/types/vehicles_driver_assignments_get_vehicles_driver_assignments_response_body.py +26 -0
- samsara/types/vehicles_driver_assignments_get_vehicles_driver_assignments_service_unavailable_error_response_body.py +33 -0
- samsara/types/vehicles_driver_assignments_get_vehicles_driver_assignments_too_many_requests_error_response_body.py +33 -0
- samsara/types/vehicles_driver_assignments_get_vehicles_driver_assignments_unauthorized_error_response_body.py +33 -0
- samsara/types/vehicles_driver_assignments_object_response_body.py +44 -0
- samsara/types/vehicles_list_vehicles_bad_gateway_error_response_body.py +33 -0
- samsara/types/vehicles_list_vehicles_gateway_timeout_error_response_body.py +33 -0
- samsara/types/vehicles_list_vehicles_internal_server_error_response_body.py +33 -0
- samsara/types/vehicles_list_vehicles_method_not_allowed_error_response_body.py +33 -0
- samsara/types/vehicles_list_vehicles_not_found_error_response_body.py +33 -0
- samsara/types/vehicles_list_vehicles_not_implemented_error_response_body.py +33 -0
- samsara/types/vehicles_list_vehicles_response_body.py +26 -0
- samsara/types/vehicles_list_vehicles_service_unavailable_error_response_body.py +33 -0
- samsara/types/vehicles_list_vehicles_too_many_requests_error_response_body.py +33 -0
- samsara/types/vehicles_list_vehicles_unauthorized_error_response_body.py +33 -0
- samsara/types/vertex_request_body.py +31 -0
- samsara/types/vertex_response_body.py +31 -0
- samsara/types/voice_coaching_settings_object_response_body.py +54 -0
- samsara/types/voice_coaching_settings_object_response_body_events_to_coach_item.py +7 -0
- samsara/types/voice_coaching_settings_object_response_body_language.py +7 -0
- samsara/types/walkaround_photo_object_response_body.py +38 -0
- samsara/types/webhook_event.py +37 -0
- samsara/types/webhook_params_object_request_body.py +36 -0
- samsara/types/webhook_params_object_request_body_payload_type.py +5 -0
- samsara/types/webhook_params_object_response_body.py +36 -0
- samsara/types/webhook_params_object_response_body_payload_type.py +5 -0
- samsara/types/webhook_response_response_body.py +65 -0
- samsara/types/webhook_response_response_body_event_types_item.py +35 -0
- samsara/types/webhook_response_response_body_version.py +5 -0
- samsara/types/webhook_route_response_object_response_body.py +78 -0
- samsara/types/webhooks_delete_webhook_bad_gateway_error_response_body.py +33 -0
- samsara/types/webhooks_delete_webhook_gateway_timeout_error_response_body.py +33 -0
- samsara/types/webhooks_delete_webhook_internal_server_error_response_body.py +33 -0
- samsara/types/webhooks_delete_webhook_method_not_allowed_error_response_body.py +33 -0
- samsara/types/webhooks_delete_webhook_not_found_error_response_body.py +33 -0
- samsara/types/webhooks_delete_webhook_not_implemented_error_response_body.py +33 -0
- samsara/types/webhooks_delete_webhook_service_unavailable_error_response_body.py +33 -0
- samsara/types/webhooks_delete_webhook_too_many_requests_error_response_body.py +33 -0
- samsara/types/webhooks_delete_webhook_unauthorized_error_response_body.py +33 -0
- samsara/types/webhooks_get_webhook_bad_gateway_error_response_body.py +33 -0
- samsara/types/webhooks_get_webhook_gateway_timeout_error_response_body.py +33 -0
- samsara/types/webhooks_get_webhook_internal_server_error_response_body.py +33 -0
- samsara/types/webhooks_get_webhook_method_not_allowed_error_response_body.py +33 -0
- samsara/types/webhooks_get_webhook_not_found_error_response_body.py +33 -0
- samsara/types/webhooks_get_webhook_not_implemented_error_response_body.py +33 -0
- samsara/types/webhooks_get_webhook_response_body.py +61 -0
- samsara/types/webhooks_get_webhook_response_body_event_types_item.py +35 -0
- samsara/types/webhooks_get_webhook_response_body_version.py +5 -0
- samsara/types/webhooks_get_webhook_service_unavailable_error_response_body.py +33 -0
- samsara/types/webhooks_get_webhook_too_many_requests_error_response_body.py +33 -0
- samsara/types/webhooks_get_webhook_unauthorized_error_response_body.py +33 -0
- samsara/types/webhooks_list_webhooks_bad_gateway_error_response_body.py +33 -0
- samsara/types/webhooks_list_webhooks_gateway_timeout_error_response_body.py +33 -0
- samsara/types/webhooks_list_webhooks_internal_server_error_response_body.py +33 -0
- samsara/types/webhooks_list_webhooks_method_not_allowed_error_response_body.py +33 -0
- samsara/types/webhooks_list_webhooks_not_found_error_response_body.py +33 -0
- samsara/types/webhooks_list_webhooks_not_implemented_error_response_body.py +33 -0
- samsara/types/webhooks_list_webhooks_response_body.py +26 -0
- samsara/types/webhooks_list_webhooks_service_unavailable_error_response_body.py +33 -0
- samsara/types/webhooks_list_webhooks_too_many_requests_error_response_body.py +33 -0
- samsara/types/webhooks_list_webhooks_unauthorized_error_response_body.py +33 -0
- samsara/types/webhooks_patch_webhook_bad_gateway_error_response_body.py +33 -0
- samsara/types/webhooks_patch_webhook_gateway_timeout_error_response_body.py +33 -0
- samsara/types/webhooks_patch_webhook_internal_server_error_response_body.py +33 -0
- samsara/types/webhooks_patch_webhook_method_not_allowed_error_response_body.py +33 -0
- samsara/types/webhooks_patch_webhook_not_found_error_response_body.py +33 -0
- samsara/types/webhooks_patch_webhook_not_implemented_error_response_body.py +33 -0
- samsara/types/webhooks_patch_webhook_response_body.py +61 -0
- samsara/types/webhooks_patch_webhook_response_body_event_types_item.py +35 -0
- samsara/types/webhooks_patch_webhook_response_body_version.py +5 -0
- samsara/types/webhooks_patch_webhook_service_unavailable_error_response_body.py +33 -0
- samsara/types/webhooks_patch_webhook_too_many_requests_error_response_body.py +33 -0
- samsara/types/webhooks_patch_webhook_unauthorized_error_response_body.py +33 -0
- samsara/types/webhooks_post_webhooks_bad_gateway_error_response_body.py +33 -0
- samsara/types/webhooks_post_webhooks_gateway_timeout_error_response_body.py +33 -0
- samsara/types/webhooks_post_webhooks_internal_server_error_response_body.py +33 -0
- samsara/types/webhooks_post_webhooks_method_not_allowed_error_response_body.py +33 -0
- samsara/types/webhooks_post_webhooks_not_found_error_response_body.py +33 -0
- samsara/types/webhooks_post_webhooks_not_implemented_error_response_body.py +33 -0
- samsara/types/webhooks_post_webhooks_response_body.py +61 -0
- samsara/types/webhooks_post_webhooks_response_body_event_types_item.py +35 -0
- samsara/types/webhooks_post_webhooks_response_body_version.py +5 -0
- samsara/types/webhooks_post_webhooks_service_unavailable_error_response_body.py +33 -0
- samsara/types/webhooks_post_webhooks_too_many_requests_error_response_body.py +33 -0
- samsara/types/webhooks_post_webhooks_unauthorized_error_response_body.py +33 -0
- samsara/types/work_order_attachment_object_response_body.py +51 -0
- samsara/types/work_order_attachment_object_response_body_processing_status.py +7 -0
- samsara/types/work_order_discount_object_request_body.py +33 -0
- samsara/types/work_order_discount_object_response_body.py +33 -0
- samsara/types/work_order_item_object_request_body.py +32 -0
- samsara/types/work_order_item_object_request_body_type.py +7 -0
- samsara/types/work_order_item_object_response_body.py +32 -0
- samsara/types/work_order_item_object_response_body_type.py +7 -0
- samsara/types/work_order_money_object_request_body.py +31 -0
- samsara/types/work_order_money_object_response_body.py +31 -0
- samsara/types/work_order_object_response_body.py +147 -0
- samsara/types/work_order_object_response_body_category.py +7 -0
- samsara/types/work_order_object_response_body_priority.py +5 -0
- samsara/types/work_order_object_response_body_status.py +18 -0
- samsara/types/work_order_tax_object_request_body.py +33 -0
- samsara/types/work_order_tax_object_response_body.py +33 -0
- samsara/types/work_orders_delete_work_orders_bad_gateway_error_response_body.py +33 -0
- samsara/types/work_orders_delete_work_orders_gateway_timeout_error_response_body.py +33 -0
- samsara/types/work_orders_delete_work_orders_internal_server_error_response_body.py +33 -0
- samsara/types/work_orders_delete_work_orders_method_not_allowed_error_response_body.py +33 -0
- samsara/types/work_orders_delete_work_orders_not_found_error_response_body.py +33 -0
- samsara/types/work_orders_delete_work_orders_not_implemented_error_response_body.py +33 -0
- samsara/types/work_orders_delete_work_orders_service_unavailable_error_response_body.py +33 -0
- samsara/types/work_orders_delete_work_orders_too_many_requests_error_response_body.py +33 -0
- samsara/types/work_orders_delete_work_orders_unauthorized_error_response_body.py +33 -0
- samsara/types/work_orders_get_service_tasks_bad_gateway_error_response_body.py +33 -0
- samsara/types/work_orders_get_service_tasks_gateway_timeout_error_response_body.py +33 -0
- samsara/types/work_orders_get_service_tasks_internal_server_error_response_body.py +33 -0
- samsara/types/work_orders_get_service_tasks_method_not_allowed_error_response_body.py +33 -0
- samsara/types/work_orders_get_service_tasks_not_found_error_response_body.py +33 -0
- samsara/types/work_orders_get_service_tasks_not_implemented_error_response_body.py +33 -0
- samsara/types/work_orders_get_service_tasks_response_body.py +26 -0
- samsara/types/work_orders_get_service_tasks_service_unavailable_error_response_body.py +33 -0
- samsara/types/work_orders_get_service_tasks_too_many_requests_error_response_body.py +33 -0
- samsara/types/work_orders_get_service_tasks_unauthorized_error_response_body.py +33 -0
- samsara/types/work_orders_get_work_orders_bad_gateway_error_response_body.py +33 -0
- samsara/types/work_orders_get_work_orders_gateway_timeout_error_response_body.py +33 -0
- samsara/types/work_orders_get_work_orders_internal_server_error_response_body.py +33 -0
- samsara/types/work_orders_get_work_orders_method_not_allowed_error_response_body.py +33 -0
- samsara/types/work_orders_get_work_orders_not_found_error_response_body.py +33 -0
- samsara/types/work_orders_get_work_orders_not_implemented_error_response_body.py +33 -0
- samsara/types/work_orders_get_work_orders_response_body.py +26 -0
- samsara/types/work_orders_get_work_orders_service_unavailable_error_response_body.py +33 -0
- samsara/types/work_orders_get_work_orders_too_many_requests_error_response_body.py +33 -0
- samsara/types/work_orders_get_work_orders_unauthorized_error_response_body.py +33 -0
- samsara/types/work_orders_patch_work_orders_bad_gateway_error_response_body.py +33 -0
- samsara/types/work_orders_patch_work_orders_gateway_timeout_error_response_body.py +33 -0
- samsara/types/work_orders_patch_work_orders_internal_server_error_response_body.py +33 -0
- samsara/types/work_orders_patch_work_orders_method_not_allowed_error_response_body.py +33 -0
- samsara/types/work_orders_patch_work_orders_not_found_error_response_body.py +33 -0
- samsara/types/work_orders_patch_work_orders_not_implemented_error_response_body.py +33 -0
- samsara/types/work_orders_patch_work_orders_response_body.py +20 -0
- samsara/types/work_orders_patch_work_orders_service_unavailable_error_response_body.py +33 -0
- samsara/types/work_orders_patch_work_orders_too_many_requests_error_response_body.py +33 -0
- samsara/types/work_orders_patch_work_orders_unauthorized_error_response_body.py +33 -0
- samsara/types/work_orders_post_work_orders_bad_gateway_error_response_body.py +33 -0
- samsara/types/work_orders_post_work_orders_gateway_timeout_error_response_body.py +33 -0
- samsara/types/work_orders_post_work_orders_internal_server_error_response_body.py +33 -0
- samsara/types/work_orders_post_work_orders_method_not_allowed_error_response_body.py +33 -0
- samsara/types/work_orders_post_work_orders_not_found_error_response_body.py +33 -0
- samsara/types/work_orders_post_work_orders_not_implemented_error_response_body.py +33 -0
- samsara/types/work_orders_post_work_orders_response_body.py +20 -0
- samsara/types/work_orders_post_work_orders_service_unavailable_error_response_body.py +33 -0
- samsara/types/work_orders_post_work_orders_too_many_requests_error_response_body.py +33 -0
- samsara/types/work_orders_post_work_orders_unauthorized_error_response_body.py +33 -0
- samsara/types/work_orders_stream_work_orders_bad_gateway_error_response_body.py +33 -0
- samsara/types/work_orders_stream_work_orders_gateway_timeout_error_response_body.py +33 -0
- samsara/types/work_orders_stream_work_orders_internal_server_error_response_body.py +33 -0
- samsara/types/work_orders_stream_work_orders_method_not_allowed_error_response_body.py +33 -0
- samsara/types/work_orders_stream_work_orders_not_found_error_response_body.py +33 -0
- samsara/types/work_orders_stream_work_orders_not_implemented_error_response_body.py +33 -0
- samsara/types/work_orders_stream_work_orders_response_body.py +26 -0
- samsara/types/work_orders_stream_work_orders_service_unavailable_error_response_body.py +33 -0
- samsara/types/work_orders_stream_work_orders_too_many_requests_error_response_body.py +33 -0
- samsara/types/work_orders_stream_work_orders_unauthorized_error_response_body.py +33 -0
- samsara/types/workflow_address_event_with_geofence_object_response_body.py +47 -0
- samsara/types/workflow_author_signature_object_response_body.py +38 -0
- samsara/types/workflow_author_signature_object_response_body_type.py +5 -0
- samsara/types/workflow_circle_response_body.py +38 -0
- samsara/types/workflow_dvir_object_response_body.py +96 -0
- samsara/types/workflow_dvir_object_response_body_safety_status.py +5 -0
- samsara/types/workflow_dvir_object_response_body_type.py +7 -0
- samsara/types/workflow_dvir_submitted_response_object_response_body.py +28 -0
- samsara/types/workflow_geofence_event_response_object_response_body.py +24 -0
- samsara/types/workflow_geofence_response_body.py +28 -0
- samsara/types/workflow_incident_condition_object_response_body.py +35 -0
- samsara/types/workflow_incident_details_object_response_body.py +244 -0
- samsara/types/workflow_polygon_response_body.py +27 -0
- samsara/types/workflow_signatory_user_object_response_body.py +31 -0
- samsara/types/workflow_trigger_object_request_body.py +75 -0
- samsara/types/workflow_trigger_object_response_body.py +75 -0
- samsara/user_roles/__init__.py +4 -0
- samsara/user_roles/client.py +132 -0
- samsara/user_roles/raw_client.py +129 -0
- samsara/users/__init__.py +7 -0
- samsara/users/client.py +571 -0
- samsara/users/raw_client.py +610 -0
- samsara/users/types/__init__.py +8 -0
- samsara/users/types/create_user_request_auth_type.py +5 -0
- samsara/users/types/update_user_request_auth_type.py +5 -0
- samsara/vehicles/__init__.py +54 -0
- samsara/vehicles/client.py +693 -0
- samsara/vehicles/immobilizer/__init__.py +4 -0
- samsara/vehicles/immobilizer/client.py +174 -0
- samsara/vehicles/immobilizer/raw_client.py +364 -0
- samsara/vehicles/locations/__init__.py +4 -0
- samsara/vehicles/locations/client.py +473 -0
- samsara/vehicles/locations/raw_client.py +472 -0
- samsara/vehicles/raw_client.py +897 -0
- samsara/vehicles/stats/__init__.py +19 -0
- samsara/vehicles/stats/client.py +1048 -0
- samsara/vehicles/stats/raw_client.py +1047 -0
- samsara/vehicles/stats/types/__init__.py +17 -0
- samsara/vehicles/stats/types/stats_feed_request_decorations_item.py +54 -0
- samsara/vehicles/stats/types/stats_feed_request_types_item.py +68 -0
- samsara/vehicles/stats/types/stats_history_request_decorations_item.py +54 -0
- samsara/vehicles/stats/types/stats_history_request_types_item.py +68 -0
- samsara/vehicles/stats/types/stats_list_request_types_item.py +68 -0
- samsara/vehicles/tachograph_files/__init__.py +4 -0
- samsara/vehicles/tachograph_files/client.py +190 -0
- samsara/vehicles/tachograph_files/raw_client.py +173 -0
- samsara/vehicles/types/__init__.py +35 -0
- samsara/vehicles/types/update_vehicle_request_aux_input_type_1.py +30 -0
- samsara/vehicles/types/update_vehicle_request_aux_input_type_10.py +30 -0
- samsara/vehicles/types/update_vehicle_request_aux_input_type_11.py +30 -0
- samsara/vehicles/types/update_vehicle_request_aux_input_type_12.py +30 -0
- samsara/vehicles/types/update_vehicle_request_aux_input_type_13.py +30 -0
- samsara/vehicles/types/update_vehicle_request_aux_input_type_2.py +30 -0
- samsara/vehicles/types/update_vehicle_request_aux_input_type_3.py +30 -0
- samsara/vehicles/types/update_vehicle_request_aux_input_type_4.py +30 -0
- samsara/vehicles/types/update_vehicle_request_aux_input_type_5.py +30 -0
- samsara/vehicles/types/update_vehicle_request_aux_input_type_6.py +30 -0
- samsara/vehicles/types/update_vehicle_request_aux_input_type_7.py +30 -0
- samsara/vehicles/types/update_vehicle_request_aux_input_type_8.py +30 -0
- samsara/vehicles/types/update_vehicle_request_aux_input_type_9.py +30 -0
- samsara/vehicles/types/update_vehicle_request_harsh_acceleration_setting_type.py +7 -0
- samsara/version.py +3 -0
- samsara/webhooks/__init__.py +15 -0
- samsara/webhooks/client.py +602 -0
- samsara/webhooks/raw_client.py +1644 -0
- samsara/webhooks/types/__init__.py +13 -0
- samsara/webhooks/types/webhooks_patch_webhook_request_body_version.py +7 -0
- samsara/webhooks/types/webhooks_post_webhooks_request_body_event_types_item.py +35 -0
- samsara/webhooks/types/webhooks_post_webhooks_request_body_version.py +7 -0
- samsara_api-0.0.1.dist-info/LICENSE +21 -0
- samsara_api-0.0.1.dist-info/METADATA +214 -0
- samsara_api-0.0.1.dist-info/RECORD +2525 -0
- samsara_api-0.0.1.dist-info/WHEEL +4 -0
|
@@ -0,0 +1,1171 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import typing
|
|
4
|
+
|
|
5
|
+
from ..core.client_wrapper import AsyncClientWrapper, SyncClientWrapper
|
|
6
|
+
from ..core.request_options import RequestOptions
|
|
7
|
+
from ..types.create_driver_request_attributes import CreateDriverRequestAttributes
|
|
8
|
+
from ..types.driver_carrier_settings import DriverCarrierSettings
|
|
9
|
+
from ..types.driver_has_driving_features_hidden import DriverHasDrivingFeaturesHidden
|
|
10
|
+
from ..types.driver_hos_setting import DriverHosSetting
|
|
11
|
+
from ..types.driver_remote_signout_post_driver_remote_signout_response_body import (
|
|
12
|
+
DriverRemoteSignoutPostDriverRemoteSignoutResponseBody,
|
|
13
|
+
)
|
|
14
|
+
from ..types.driver_response import DriverResponse
|
|
15
|
+
from ..types.list_drivers_response import ListDriversResponse
|
|
16
|
+
from ..types.update_driver_request_hos_setting import UpdateDriverRequestHosSetting
|
|
17
|
+
from ..types.us_driver_ruleset_override import UsDriverRulesetOverride
|
|
18
|
+
from .qr_codes.client import AsyncQrCodesClient, QrCodesClient
|
|
19
|
+
from .raw_client import AsyncRawDriversClient, RawDriversClient
|
|
20
|
+
from .tachograph_activity.client import AsyncTachographActivityClient, TachographActivityClient
|
|
21
|
+
from .tachograph_files.client import AsyncTachographFilesClient, TachographFilesClient
|
|
22
|
+
from .types.create_driver_request_locale import CreateDriverRequestLocale
|
|
23
|
+
from .types.drivers_list_request_driver_activation_status import DriversListRequestDriverActivationStatus
|
|
24
|
+
from .types.update_driver_request_driver_activation_status import UpdateDriverRequestDriverActivationStatus
|
|
25
|
+
from .types.update_driver_request_locale import UpdateDriverRequestLocale
|
|
26
|
+
from .vehicle_assignments.client import AsyncVehicleAssignmentsClient, VehicleAssignmentsClient
|
|
27
|
+
|
|
28
|
+
# this is used as the default value for optional parameters
|
|
29
|
+
OMIT = typing.cast(typing.Any, ...)
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
class DriversClient:
|
|
33
|
+
def __init__(self, *, client_wrapper: SyncClientWrapper):
|
|
34
|
+
self._raw_client = RawDriversClient(client_wrapper=client_wrapper)
|
|
35
|
+
self.qr_codes = QrCodesClient(client_wrapper=client_wrapper)
|
|
36
|
+
|
|
37
|
+
self.tachograph_activity = TachographActivityClient(client_wrapper=client_wrapper)
|
|
38
|
+
|
|
39
|
+
self.tachograph_files = TachographFilesClient(client_wrapper=client_wrapper)
|
|
40
|
+
|
|
41
|
+
self.vehicle_assignments = VehicleAssignmentsClient(client_wrapper=client_wrapper)
|
|
42
|
+
|
|
43
|
+
@property
|
|
44
|
+
def with_raw_response(self) -> RawDriversClient:
|
|
45
|
+
"""
|
|
46
|
+
Retrieves a raw implementation of this client that returns raw responses.
|
|
47
|
+
|
|
48
|
+
Returns
|
|
49
|
+
-------
|
|
50
|
+
RawDriversClient
|
|
51
|
+
"""
|
|
52
|
+
return self._raw_client
|
|
53
|
+
|
|
54
|
+
def list(
|
|
55
|
+
self,
|
|
56
|
+
*,
|
|
57
|
+
driver_activation_status: typing.Optional[DriversListRequestDriverActivationStatus] = None,
|
|
58
|
+
limit: typing.Optional[int] = None,
|
|
59
|
+
after: typing.Optional[str] = None,
|
|
60
|
+
parent_tag_ids: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
|
|
61
|
+
tag_ids: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
|
|
62
|
+
attribute_value_ids: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
|
|
63
|
+
updated_after_time: typing.Optional[str] = None,
|
|
64
|
+
created_after_time: typing.Optional[str] = None,
|
|
65
|
+
request_options: typing.Optional[RequestOptions] = None,
|
|
66
|
+
) -> ListDriversResponse:
|
|
67
|
+
"""
|
|
68
|
+
Get all drivers in organization.
|
|
69
|
+
|
|
70
|
+
**Submit Feedback**: Likes, dislikes, and API feature requests should be filed as feedback in our <a href="https://forms.gle/zkD4NCH7HjKb7mm69" target="_blank">API feedback form</a>. If you encountered an issue or noticed inaccuracies in the API documentation, please <a href="https://www.samsara.com/help" target="_blank">submit a case</a> to our support team.
|
|
71
|
+
|
|
72
|
+
To use this endpoint, select **Read Drivers** under the Drivers category when creating or editing an API token. <a href="https://developers.samsara.com/docs/authentication#scopes-for-api-tokens" target="_blank">Learn More.</a>
|
|
73
|
+
|
|
74
|
+
Parameters
|
|
75
|
+
----------
|
|
76
|
+
driver_activation_status : typing.Optional[DriversListRequestDriverActivationStatus]
|
|
77
|
+
If value is `deactivated`, only drivers that are deactivated will appear in the response. This parameter will default to `active` if not provided (fetching only active drivers).
|
|
78
|
+
|
|
79
|
+
limit : typing.Optional[int]
|
|
80
|
+
The limit for how many objects will be in the response. Default and max for this value is 512 objects.
|
|
81
|
+
|
|
82
|
+
after : typing.Optional[str]
|
|
83
|
+
If specified, this should be the endCursor value from the previous page of results. When present, this request will return the next page of results that occur immediately after the previous page of results.
|
|
84
|
+
|
|
85
|
+
parent_tag_ids : typing.Optional[typing.Union[str, typing.Sequence[str]]]
|
|
86
|
+
A filter on the data based on this comma-separated list of parent tag IDs, for use by orgs with tag hierarchies. Specifying a parent tag will implicitly include all descendent tags of the parent tag. Example: `parentTagIds=345,678`
|
|
87
|
+
|
|
88
|
+
tag_ids : typing.Optional[typing.Union[str, typing.Sequence[str]]]
|
|
89
|
+
A filter on the data based on this comma-separated list of tag IDs. Example: `tagIds=1234,5678`
|
|
90
|
+
|
|
91
|
+
attribute_value_ids : typing.Optional[typing.Union[str, typing.Sequence[str]]]
|
|
92
|
+
A filter on the data based on this comma-separated list of attribute value IDs. Only entities associated with ALL of the referenced values will be returned (i.e. the intersection of the sets of entities with each value). Example: `attributeValueIds=076efac2-83b5-47aa-ba36-18428436dcac,6707b3f0-23b9-4fe3-b7be-11be34aea544`
|
|
93
|
+
|
|
94
|
+
updated_after_time : typing.Optional[str]
|
|
95
|
+
A filter on data to have an updated at time after or equal to this specified time in RFC 3339 format. Millisecond precision and timezones are supported. (Examples: 2019-06-13T19:08:25Z, 2019-06-13T19:08:25.455Z, OR 2015-09-15T14:00:12-04:00).
|
|
96
|
+
|
|
97
|
+
created_after_time : typing.Optional[str]
|
|
98
|
+
A filter on data to have a created at time after or equal to this specified time in RFC 3339 format. Millisecond precision and timezones are supported. (Examples: 2019-06-13T19:08:25Z, 2019-06-13T19:08:25.455Z, OR 2015-09-15T14:00:12-04:00).
|
|
99
|
+
|
|
100
|
+
request_options : typing.Optional[RequestOptions]
|
|
101
|
+
Request-specific configuration.
|
|
102
|
+
|
|
103
|
+
Returns
|
|
104
|
+
-------
|
|
105
|
+
ListDriversResponse
|
|
106
|
+
List of all driver objects.
|
|
107
|
+
|
|
108
|
+
Examples
|
|
109
|
+
--------
|
|
110
|
+
from samsara import Samsara
|
|
111
|
+
|
|
112
|
+
client = Samsara(
|
|
113
|
+
token="YOUR_TOKEN",
|
|
114
|
+
)
|
|
115
|
+
client.drivers.list()
|
|
116
|
+
"""
|
|
117
|
+
_response = self._raw_client.list(
|
|
118
|
+
driver_activation_status=driver_activation_status,
|
|
119
|
+
limit=limit,
|
|
120
|
+
after=after,
|
|
121
|
+
parent_tag_ids=parent_tag_ids,
|
|
122
|
+
tag_ids=tag_ids,
|
|
123
|
+
attribute_value_ids=attribute_value_ids,
|
|
124
|
+
updated_after_time=updated_after_time,
|
|
125
|
+
created_after_time=created_after_time,
|
|
126
|
+
request_options=request_options,
|
|
127
|
+
)
|
|
128
|
+
return _response.data
|
|
129
|
+
|
|
130
|
+
def create(
|
|
131
|
+
self,
|
|
132
|
+
*,
|
|
133
|
+
name: str,
|
|
134
|
+
password: str,
|
|
135
|
+
username: str,
|
|
136
|
+
attributes: typing.Optional[typing.Sequence[CreateDriverRequestAttributes]] = OMIT,
|
|
137
|
+
carrier_settings: typing.Optional[DriverCarrierSettings] = OMIT,
|
|
138
|
+
current_id_card_code: typing.Optional[str] = OMIT,
|
|
139
|
+
eld_adverse_weather_exemption_enabled: typing.Optional[bool] = OMIT,
|
|
140
|
+
eld_big_day_exemption_enabled: typing.Optional[bool] = OMIT,
|
|
141
|
+
eld_day_start_hour: typing.Optional[int] = OMIT,
|
|
142
|
+
eld_exempt: typing.Optional[bool] = OMIT,
|
|
143
|
+
eld_exempt_reason: typing.Optional[str] = OMIT,
|
|
144
|
+
eld_pc_enabled: typing.Optional[bool] = OMIT,
|
|
145
|
+
eld_ym_enabled: typing.Optional[bool] = OMIT,
|
|
146
|
+
external_ids: typing.Optional[typing.Dict[str, str]] = OMIT,
|
|
147
|
+
has_driving_features_hidden: typing.Optional[DriverHasDrivingFeaturesHidden] = OMIT,
|
|
148
|
+
hos_setting: typing.Optional[DriverHosSetting] = OMIT,
|
|
149
|
+
license_number: typing.Optional[str] = OMIT,
|
|
150
|
+
license_state: typing.Optional[str] = OMIT,
|
|
151
|
+
locale: typing.Optional[CreateDriverRequestLocale] = OMIT,
|
|
152
|
+
notes: typing.Optional[str] = OMIT,
|
|
153
|
+
peer_group_tag_id: typing.Optional[str] = OMIT,
|
|
154
|
+
phone: typing.Optional[str] = OMIT,
|
|
155
|
+
static_assigned_vehicle_id: typing.Optional[str] = OMIT,
|
|
156
|
+
tachograph_card_number: typing.Optional[str] = OMIT,
|
|
157
|
+
tag_ids: typing.Optional[typing.Sequence[str]] = OMIT,
|
|
158
|
+
timezone: typing.Optional[str] = OMIT,
|
|
159
|
+
us_driver_ruleset_override: typing.Optional[UsDriverRulesetOverride] = OMIT,
|
|
160
|
+
vehicle_group_tag_id: typing.Optional[str] = OMIT,
|
|
161
|
+
waiting_time_duty_status_enabled: typing.Optional[bool] = OMIT,
|
|
162
|
+
request_options: typing.Optional[RequestOptions] = None,
|
|
163
|
+
) -> DriverResponse:
|
|
164
|
+
"""
|
|
165
|
+
Add a driver to the organization.
|
|
166
|
+
|
|
167
|
+
**Submit Feedback**: Likes, dislikes, and API feature requests should be filed as feedback in our <a href="https://forms.gle/zkD4NCH7HjKb7mm69" target="_blank">API feedback form</a>. If you encountered an issue or noticed inaccuracies in the API documentation, please <a href="https://www.samsara.com/help" target="_blank">submit a case</a> to our support team.
|
|
168
|
+
|
|
169
|
+
To use this endpoint, select **Write Drivers** under the Drivers category when creating or editing an API token. <a href="https://developers.samsara.com/docs/authentication#scopes-for-api-tokens" target="_blank">Learn More.</a>
|
|
170
|
+
|
|
171
|
+
Parameters
|
|
172
|
+
----------
|
|
173
|
+
name : str
|
|
174
|
+
Driver's name.
|
|
175
|
+
|
|
176
|
+
password : str
|
|
177
|
+
Password that the driver can use to login to the Samsara driver app.
|
|
178
|
+
|
|
179
|
+
username : str
|
|
180
|
+
Driver's login username into the driver app. The username may not contain spaces or the '@' symbol. The username must be unique.
|
|
181
|
+
|
|
182
|
+
attributes : typing.Optional[typing.Sequence[CreateDriverRequestAttributes]]
|
|
183
|
+
|
|
184
|
+
carrier_settings : typing.Optional[DriverCarrierSettings]
|
|
185
|
+
|
|
186
|
+
current_id_card_code : typing.Optional[str]
|
|
187
|
+
The ID Card Code on the back of the physical card assigned to the driver. Contact Samsara if you would like to enable this feature.
|
|
188
|
+
|
|
189
|
+
eld_adverse_weather_exemption_enabled : typing.Optional[bool]
|
|
190
|
+
Flag indicating this driver may use Adverse Weather exemptions in ELD logs.
|
|
191
|
+
|
|
192
|
+
eld_big_day_exemption_enabled : typing.Optional[bool]
|
|
193
|
+
Flag indicating this driver may use Big Day exemption in ELD logs.
|
|
194
|
+
|
|
195
|
+
eld_day_start_hour : typing.Optional[int]
|
|
196
|
+
`0` indicating midnight-to-midnight ELD driving hours, `12` to indicate noon-to-noon driving hours.
|
|
197
|
+
|
|
198
|
+
eld_exempt : typing.Optional[bool]
|
|
199
|
+
Flag indicating this driver is exempt from the Electronic Logging Mandate.
|
|
200
|
+
|
|
201
|
+
eld_exempt_reason : typing.Optional[str]
|
|
202
|
+
Reason that this driver is exempt from the Electronic Logging Mandate (see eldExempt).
|
|
203
|
+
|
|
204
|
+
eld_pc_enabled : typing.Optional[bool]
|
|
205
|
+
Flag indicating this driver may select the Personal Conveyance duty status in ELD logs.
|
|
206
|
+
|
|
207
|
+
eld_ym_enabled : typing.Optional[bool]
|
|
208
|
+
Flag indicating this driver may select the Yard Move duty status in ELD logs.
|
|
209
|
+
|
|
210
|
+
external_ids : typing.Optional[typing.Dict[str, str]]
|
|
211
|
+
The [external IDs](https://developers.samsara.com/docs/external-ids) for the given object.
|
|
212
|
+
|
|
213
|
+
has_driving_features_hidden : typing.Optional[DriverHasDrivingFeaturesHidden]
|
|
214
|
+
|
|
215
|
+
hos_setting : typing.Optional[DriverHosSetting]
|
|
216
|
+
|
|
217
|
+
license_number : typing.Optional[str]
|
|
218
|
+
Driver's state issued license number. The combination of this number and `licenseState` must be unique.
|
|
219
|
+
|
|
220
|
+
license_state : typing.Optional[str]
|
|
221
|
+
Abbreviation of US state, Canadian province, or US territory that issued driver's license.
|
|
222
|
+
|
|
223
|
+
locale : typing.Optional[CreateDriverRequestLocale]
|
|
224
|
+
Locale override (uncommon). These are specified by ISO 3166-2 country codes for supported locales. Valid values: `us`, `at`, `be`, `ca`, `gb`, `fr`, `de`, `ie`, `it`, `lu`, `mx`, `nl`, `es`, `ch`, `pr`.
|
|
225
|
+
|
|
226
|
+
notes : typing.Optional[str]
|
|
227
|
+
Notes about the driver.
|
|
228
|
+
|
|
229
|
+
peer_group_tag_id : typing.Optional[str]
|
|
230
|
+
The peer group tag id this driver belong to, used for gamification.
|
|
231
|
+
|
|
232
|
+
phone : typing.Optional[str]
|
|
233
|
+
Phone number of the driver.
|
|
234
|
+
|
|
235
|
+
static_assigned_vehicle_id : typing.Optional[str]
|
|
236
|
+
ID of vehicle that the driver is permanently assigned to. (uncommon).
|
|
237
|
+
|
|
238
|
+
tachograph_card_number : typing.Optional[str]
|
|
239
|
+
Driver's assigned tachograph card number (Europe specific)
|
|
240
|
+
|
|
241
|
+
tag_ids : typing.Optional[typing.Sequence[str]]
|
|
242
|
+
IDs of tags the driver is associated with. If your access to the API is scoped by one or more tags, this field is required to pass in.
|
|
243
|
+
|
|
244
|
+
timezone : typing.Optional[str]
|
|
245
|
+
Home terminal timezone, in order to indicate what time zone should be used to calculate the ELD logs. Driver timezones use [IANA timezone database](https://www.iana.org/time-zones) keys (e.g. `America/Los_Angeles`, `America/New_York`, `Europe/London`, etc.). You can find a mapping of common timezone formats to IANA timezone keys [here](https://unicode.org/cldr/charts/latest/supplemental/zone_tzid.html).
|
|
246
|
+
|
|
247
|
+
us_driver_ruleset_override : typing.Optional[UsDriverRulesetOverride]
|
|
248
|
+
|
|
249
|
+
vehicle_group_tag_id : typing.Optional[str]
|
|
250
|
+
Tag ID which determines which vehicles a driver will see when selecting vehicles.
|
|
251
|
+
|
|
252
|
+
waiting_time_duty_status_enabled : typing.Optional[bool]
|
|
253
|
+
Flag indicating this driver may select waiting time duty status in ELD logs
|
|
254
|
+
|
|
255
|
+
request_options : typing.Optional[RequestOptions]
|
|
256
|
+
Request-specific configuration.
|
|
257
|
+
|
|
258
|
+
Returns
|
|
259
|
+
-------
|
|
260
|
+
DriverResponse
|
|
261
|
+
Newly created driver object, with Samsara-generated ID.
|
|
262
|
+
|
|
263
|
+
Examples
|
|
264
|
+
--------
|
|
265
|
+
from samsara import Samsara
|
|
266
|
+
|
|
267
|
+
client = Samsara(
|
|
268
|
+
token="YOUR_TOKEN",
|
|
269
|
+
)
|
|
270
|
+
client.drivers.create(
|
|
271
|
+
name="Susan Jones",
|
|
272
|
+
password="aSecurePassword1234",
|
|
273
|
+
username="SusanJones",
|
|
274
|
+
)
|
|
275
|
+
"""
|
|
276
|
+
_response = self._raw_client.create(
|
|
277
|
+
name=name,
|
|
278
|
+
password=password,
|
|
279
|
+
username=username,
|
|
280
|
+
attributes=attributes,
|
|
281
|
+
carrier_settings=carrier_settings,
|
|
282
|
+
current_id_card_code=current_id_card_code,
|
|
283
|
+
eld_adverse_weather_exemption_enabled=eld_adverse_weather_exemption_enabled,
|
|
284
|
+
eld_big_day_exemption_enabled=eld_big_day_exemption_enabled,
|
|
285
|
+
eld_day_start_hour=eld_day_start_hour,
|
|
286
|
+
eld_exempt=eld_exempt,
|
|
287
|
+
eld_exempt_reason=eld_exempt_reason,
|
|
288
|
+
eld_pc_enabled=eld_pc_enabled,
|
|
289
|
+
eld_ym_enabled=eld_ym_enabled,
|
|
290
|
+
external_ids=external_ids,
|
|
291
|
+
has_driving_features_hidden=has_driving_features_hidden,
|
|
292
|
+
hos_setting=hos_setting,
|
|
293
|
+
license_number=license_number,
|
|
294
|
+
license_state=license_state,
|
|
295
|
+
locale=locale,
|
|
296
|
+
notes=notes,
|
|
297
|
+
peer_group_tag_id=peer_group_tag_id,
|
|
298
|
+
phone=phone,
|
|
299
|
+
static_assigned_vehicle_id=static_assigned_vehicle_id,
|
|
300
|
+
tachograph_card_number=tachograph_card_number,
|
|
301
|
+
tag_ids=tag_ids,
|
|
302
|
+
timezone=timezone,
|
|
303
|
+
us_driver_ruleset_override=us_driver_ruleset_override,
|
|
304
|
+
vehicle_group_tag_id=vehicle_group_tag_id,
|
|
305
|
+
waiting_time_duty_status_enabled=waiting_time_duty_status_enabled,
|
|
306
|
+
request_options=request_options,
|
|
307
|
+
)
|
|
308
|
+
return _response.data
|
|
309
|
+
|
|
310
|
+
def sign_out(
|
|
311
|
+
self, *, driver_id: str, request_options: typing.Optional[RequestOptions] = None
|
|
312
|
+
) -> DriverRemoteSignoutPostDriverRemoteSignoutResponseBody:
|
|
313
|
+
"""
|
|
314
|
+
Sign out a driver from the Samsara Driver App
|
|
315
|
+
|
|
316
|
+
To access this endpoint, your organization must have the Samsara Platform Premier license.
|
|
317
|
+
|
|
318
|
+
Note: Sign out requests made while a logged-in driver does not have internet connection will not log the driver out. A success response will still be provided and the driver will be logged out once they have internet connection.
|
|
319
|
+
|
|
320
|
+
<b>Rate limit:</b> 100 requests/min (learn more about rate limits <a href="https://developers.samsara.com/docs/rate-limits" target="_blank">here</a>).
|
|
321
|
+
|
|
322
|
+
To use this endpoint, select **Write Driver Remote Signout** under the Closed Beta category when creating or editing an API token. <a href="https://developers.samsara.com/docs/authentication#scopes-for-api-tokens" target="_blank">Learn More.</a>
|
|
323
|
+
|
|
324
|
+
|
|
325
|
+
**Submit Feedback**: Likes, dislikes, and API feature requests should be filed as feedback in our <a href="https://forms.gle/zkD4NCH7HjKb7mm69" target="_blank">API feedback form</a>. If you encountered an issue or noticed inaccuracies in the API documentation, please <a href="https://www.samsara.com/help" target="_blank">submit a case</a> to our support team.
|
|
326
|
+
|
|
327
|
+
Parameters
|
|
328
|
+
----------
|
|
329
|
+
driver_id : str
|
|
330
|
+
ID of the driver.
|
|
331
|
+
|
|
332
|
+
request_options : typing.Optional[RequestOptions]
|
|
333
|
+
Request-specific configuration.
|
|
334
|
+
|
|
335
|
+
Returns
|
|
336
|
+
-------
|
|
337
|
+
DriverRemoteSignoutPostDriverRemoteSignoutResponseBody
|
|
338
|
+
OK response.
|
|
339
|
+
|
|
340
|
+
Examples
|
|
341
|
+
--------
|
|
342
|
+
from samsara import Samsara
|
|
343
|
+
|
|
344
|
+
client = Samsara(
|
|
345
|
+
token="YOUR_TOKEN",
|
|
346
|
+
)
|
|
347
|
+
client.drivers.sign_out(
|
|
348
|
+
driver_id="12434",
|
|
349
|
+
)
|
|
350
|
+
"""
|
|
351
|
+
_response = self._raw_client.sign_out(driver_id=driver_id, request_options=request_options)
|
|
352
|
+
return _response.data
|
|
353
|
+
|
|
354
|
+
def get(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> DriverResponse:
|
|
355
|
+
"""
|
|
356
|
+
Get information about a driver.
|
|
357
|
+
|
|
358
|
+
**Submit Feedback**: Likes, dislikes, and API feature requests should be filed as feedback in our <a href="https://forms.gle/zkD4NCH7HjKb7mm69" target="_blank">API feedback form</a>. If you encountered an issue or noticed inaccuracies in the API documentation, please <a href="https://www.samsara.com/help" target="_blank">submit a case</a> to our support team.
|
|
359
|
+
|
|
360
|
+
To use this endpoint, select **Read Drivers** under the Drivers category when creating or editing an API token. <a href="https://developers.samsara.com/docs/authentication#scopes-for-api-tokens" target="_blank">Learn More.</a>
|
|
361
|
+
|
|
362
|
+
Parameters
|
|
363
|
+
----------
|
|
364
|
+
id : str
|
|
365
|
+
ID of the driver. This can either be the Samsara-specified ID, or an external ID. External IDs are customer specified key-value pairs created in the POST or PATCH requests of this resource. To specify an external ID as part of a path parameter, use the following format: `key:value`. For example, `payrollId:ABFS18600`
|
|
366
|
+
|
|
367
|
+
request_options : typing.Optional[RequestOptions]
|
|
368
|
+
Request-specific configuration.
|
|
369
|
+
|
|
370
|
+
Returns
|
|
371
|
+
-------
|
|
372
|
+
DriverResponse
|
|
373
|
+
Returns the specified driver.
|
|
374
|
+
|
|
375
|
+
Examples
|
|
376
|
+
--------
|
|
377
|
+
from samsara import Samsara
|
|
378
|
+
|
|
379
|
+
client = Samsara(
|
|
380
|
+
token="YOUR_TOKEN",
|
|
381
|
+
)
|
|
382
|
+
client.drivers.get(
|
|
383
|
+
id="id",
|
|
384
|
+
)
|
|
385
|
+
"""
|
|
386
|
+
_response = self._raw_client.get(id, request_options=request_options)
|
|
387
|
+
return _response.data
|
|
388
|
+
|
|
389
|
+
def update(
|
|
390
|
+
self,
|
|
391
|
+
id: str,
|
|
392
|
+
*,
|
|
393
|
+
attributes: typing.Optional[typing.Sequence[CreateDriverRequestAttributes]] = OMIT,
|
|
394
|
+
carrier_settings: typing.Optional[DriverCarrierSettings] = OMIT,
|
|
395
|
+
current_id_card_code: typing.Optional[str] = OMIT,
|
|
396
|
+
deactivated_at_time: typing.Optional[str] = OMIT,
|
|
397
|
+
driver_activation_status: typing.Optional[UpdateDriverRequestDriverActivationStatus] = OMIT,
|
|
398
|
+
eld_adverse_weather_exemption_enabled: typing.Optional[bool] = OMIT,
|
|
399
|
+
eld_big_day_exemption_enabled: typing.Optional[bool] = OMIT,
|
|
400
|
+
eld_day_start_hour: typing.Optional[int] = OMIT,
|
|
401
|
+
eld_exempt: typing.Optional[bool] = OMIT,
|
|
402
|
+
eld_exempt_reason: typing.Optional[str] = OMIT,
|
|
403
|
+
eld_pc_enabled: typing.Optional[bool] = OMIT,
|
|
404
|
+
eld_ym_enabled: typing.Optional[bool] = OMIT,
|
|
405
|
+
external_ids: typing.Optional[typing.Dict[str, str]] = OMIT,
|
|
406
|
+
has_driving_features_hidden: typing.Optional[DriverHasDrivingFeaturesHidden] = OMIT,
|
|
407
|
+
hos_setting: typing.Optional[UpdateDriverRequestHosSetting] = OMIT,
|
|
408
|
+
license_number: typing.Optional[str] = OMIT,
|
|
409
|
+
license_state: typing.Optional[str] = OMIT,
|
|
410
|
+
locale: typing.Optional[UpdateDriverRequestLocale] = OMIT,
|
|
411
|
+
name: typing.Optional[str] = OMIT,
|
|
412
|
+
notes: typing.Optional[str] = OMIT,
|
|
413
|
+
password: typing.Optional[str] = OMIT,
|
|
414
|
+
peer_group_tag_id: typing.Optional[str] = OMIT,
|
|
415
|
+
phone: typing.Optional[str] = OMIT,
|
|
416
|
+
static_assigned_vehicle_id: typing.Optional[str] = OMIT,
|
|
417
|
+
tachograph_card_number: typing.Optional[str] = OMIT,
|
|
418
|
+
tag_ids: typing.Optional[typing.Sequence[str]] = OMIT,
|
|
419
|
+
timezone: typing.Optional[str] = OMIT,
|
|
420
|
+
us_driver_ruleset_override: typing.Optional[UsDriverRulesetOverride] = OMIT,
|
|
421
|
+
username: typing.Optional[str] = OMIT,
|
|
422
|
+
vehicle_group_tag_id: typing.Optional[str] = OMIT,
|
|
423
|
+
waiting_time_duty_status_enabled: typing.Optional[bool] = OMIT,
|
|
424
|
+
request_options: typing.Optional[RequestOptions] = None,
|
|
425
|
+
) -> DriverResponse:
|
|
426
|
+
"""
|
|
427
|
+
Update a specific driver's information. This can also be used to activate or de-activate a given driver by setting the driverActivationStatus field. If the driverActivationStatus field is 'deactivated' then the user can also specify the deactivatedAtTime. The deactivatedAtTime cannot be more than 6 months in the past and must not come before the dirver's latest active HOS log. It will be considered an error if deactivatedAtTime is provided with a driverActivationStatus of active.
|
|
428
|
+
|
|
429
|
+
**Submit Feedback**: Likes, dislikes, and API feature requests should be filed as feedback in our <a href="https://forms.gle/zkD4NCH7HjKb7mm69" target="_blank">API feedback form</a>. If you encountered an issue or noticed inaccuracies in the API documentation, please <a href="https://www.samsara.com/help" target="_blank">submit a case</a> to our support team.
|
|
430
|
+
|
|
431
|
+
To use this endpoint, select **Write Drivers** under the Drivers category when creating or editing an API token. <a href="https://developers.samsara.com/docs/authentication#scopes-for-api-tokens" target="_blank">Learn More.</a>
|
|
432
|
+
|
|
433
|
+
Parameters
|
|
434
|
+
----------
|
|
435
|
+
id : str
|
|
436
|
+
ID of the driver. This can either be the Samsara-specified ID, or an external ID. External IDs are customer specified key-value pairs created in the POST or PATCH requests of this resource. To specify an external ID as part of a path parameter, use the following format: `key:value`. For example, `payrollId:ABFS18600`
|
|
437
|
+
|
|
438
|
+
attributes : typing.Optional[typing.Sequence[CreateDriverRequestAttributes]]
|
|
439
|
+
|
|
440
|
+
carrier_settings : typing.Optional[DriverCarrierSettings]
|
|
441
|
+
|
|
442
|
+
current_id_card_code : typing.Optional[str]
|
|
443
|
+
The ID Card Code on the back of the physical card assigned to the driver. Contact Samsara if you would like to enable this feature.
|
|
444
|
+
|
|
445
|
+
deactivated_at_time : typing.Optional[str]
|
|
446
|
+
The date and time this driver is considered to be deactivated in RFC 3339 format.
|
|
447
|
+
|
|
448
|
+
driver_activation_status : typing.Optional[UpdateDriverRequestDriverActivationStatus]
|
|
449
|
+
A value indicating whether the driver is active or deactivated. Valid values: `active`, `deactivated`.
|
|
450
|
+
|
|
451
|
+
eld_adverse_weather_exemption_enabled : typing.Optional[bool]
|
|
452
|
+
Flag indicating this driver may use Adverse Weather exemptions in ELD logs.
|
|
453
|
+
|
|
454
|
+
eld_big_day_exemption_enabled : typing.Optional[bool]
|
|
455
|
+
Flag indicating this driver may use Big Day exemption in ELD logs.
|
|
456
|
+
|
|
457
|
+
eld_day_start_hour : typing.Optional[int]
|
|
458
|
+
`0` indicating midnight-to-midnight ELD driving hours, `12` to indicate noon-to-noon driving hours.
|
|
459
|
+
|
|
460
|
+
eld_exempt : typing.Optional[bool]
|
|
461
|
+
Flag indicating this driver is exempt from the Electronic Logging Mandate.
|
|
462
|
+
|
|
463
|
+
eld_exempt_reason : typing.Optional[str]
|
|
464
|
+
Reason that this driver is exempt from the Electronic Logging Mandate (see eldExempt).
|
|
465
|
+
|
|
466
|
+
eld_pc_enabled : typing.Optional[bool]
|
|
467
|
+
Flag indicating this driver may select the Personal Conveyance duty status in ELD logs.
|
|
468
|
+
|
|
469
|
+
eld_ym_enabled : typing.Optional[bool]
|
|
470
|
+
Flag indicating this driver may select the Yard Move duty status in ELD logs.
|
|
471
|
+
|
|
472
|
+
external_ids : typing.Optional[typing.Dict[str, str]]
|
|
473
|
+
The [external IDs](https://developers.samsara.com/docs/external-ids) for the given object.
|
|
474
|
+
|
|
475
|
+
has_driving_features_hidden : typing.Optional[DriverHasDrivingFeaturesHidden]
|
|
476
|
+
|
|
477
|
+
hos_setting : typing.Optional[UpdateDriverRequestHosSetting]
|
|
478
|
+
|
|
479
|
+
license_number : typing.Optional[str]
|
|
480
|
+
Driver's state issued license number. The combination of this number and `licenseState` must be unique.
|
|
481
|
+
|
|
482
|
+
license_state : typing.Optional[str]
|
|
483
|
+
Abbreviation of US state, Canadian province, or US territory that issued driver's license.
|
|
484
|
+
|
|
485
|
+
locale : typing.Optional[UpdateDriverRequestLocale]
|
|
486
|
+
Locale override (uncommon). These are specified by ISO 3166-2 country codes for supported locales. Valid values: `us`, `at`, `be`, `ca`, `gb`, `fr`, `de`, `ie`, `it`, `lu`, `mx`, `nl`, `es`, `ch`, `pr`.
|
|
487
|
+
|
|
488
|
+
name : typing.Optional[str]
|
|
489
|
+
Driver's name.
|
|
490
|
+
|
|
491
|
+
notes : typing.Optional[str]
|
|
492
|
+
Notes about the driver.
|
|
493
|
+
|
|
494
|
+
password : typing.Optional[str]
|
|
495
|
+
Password that the driver can use to login to the Samsara driver app.
|
|
496
|
+
|
|
497
|
+
peer_group_tag_id : typing.Optional[str]
|
|
498
|
+
The peer group tag id this driver belong to, leave blank to be in group with everyone, used for gamification.
|
|
499
|
+
|
|
500
|
+
phone : typing.Optional[str]
|
|
501
|
+
Phone number of the driver.
|
|
502
|
+
|
|
503
|
+
static_assigned_vehicle_id : typing.Optional[str]
|
|
504
|
+
ID of vehicle that the driver is permanently assigned to. (uncommon).
|
|
505
|
+
|
|
506
|
+
tachograph_card_number : typing.Optional[str]
|
|
507
|
+
Driver's assigned tachograph card number (Europe specific)
|
|
508
|
+
|
|
509
|
+
tag_ids : typing.Optional[typing.Sequence[str]]
|
|
510
|
+
IDs of tags the driver is associated with. If your access to the API is scoped by one or more tags, this field is required to pass in.
|
|
511
|
+
|
|
512
|
+
timezone : typing.Optional[str]
|
|
513
|
+
Home terminal timezone, in order to indicate what time zone should be used to calculate the ELD logs. Driver timezones use [IANA timezone database](https://www.iana.org/time-zones) keys (e.g. `America/Los_Angeles`, `America/New_York`, `Europe/London`, etc.). You can find a mapping of common timezone formats to IANA timezone keys [here](https://unicode.org/cldr/charts/latest/supplemental/zone_tzid.html).
|
|
514
|
+
|
|
515
|
+
us_driver_ruleset_override : typing.Optional[UsDriverRulesetOverride]
|
|
516
|
+
|
|
517
|
+
username : typing.Optional[str]
|
|
518
|
+
Driver's login username into the driver app. The username may not contain spaces or the '@' symbol. The username must be unique.
|
|
519
|
+
|
|
520
|
+
vehicle_group_tag_id : typing.Optional[str]
|
|
521
|
+
Tag ID which determines which vehicles a driver will see when selecting vehicles.
|
|
522
|
+
|
|
523
|
+
waiting_time_duty_status_enabled : typing.Optional[bool]
|
|
524
|
+
Flag indicating this driver may select waiting time duty status in ELD logs
|
|
525
|
+
|
|
526
|
+
request_options : typing.Optional[RequestOptions]
|
|
527
|
+
Request-specific configuration.
|
|
528
|
+
|
|
529
|
+
Returns
|
|
530
|
+
-------
|
|
531
|
+
DriverResponse
|
|
532
|
+
Updated driver object, with ID.
|
|
533
|
+
|
|
534
|
+
Examples
|
|
535
|
+
--------
|
|
536
|
+
from samsara import Samsara
|
|
537
|
+
|
|
538
|
+
client = Samsara(
|
|
539
|
+
token="YOUR_TOKEN",
|
|
540
|
+
)
|
|
541
|
+
client.drivers.update(
|
|
542
|
+
id="id",
|
|
543
|
+
)
|
|
544
|
+
"""
|
|
545
|
+
_response = self._raw_client.update(
|
|
546
|
+
id,
|
|
547
|
+
attributes=attributes,
|
|
548
|
+
carrier_settings=carrier_settings,
|
|
549
|
+
current_id_card_code=current_id_card_code,
|
|
550
|
+
deactivated_at_time=deactivated_at_time,
|
|
551
|
+
driver_activation_status=driver_activation_status,
|
|
552
|
+
eld_adverse_weather_exemption_enabled=eld_adverse_weather_exemption_enabled,
|
|
553
|
+
eld_big_day_exemption_enabled=eld_big_day_exemption_enabled,
|
|
554
|
+
eld_day_start_hour=eld_day_start_hour,
|
|
555
|
+
eld_exempt=eld_exempt,
|
|
556
|
+
eld_exempt_reason=eld_exempt_reason,
|
|
557
|
+
eld_pc_enabled=eld_pc_enabled,
|
|
558
|
+
eld_ym_enabled=eld_ym_enabled,
|
|
559
|
+
external_ids=external_ids,
|
|
560
|
+
has_driving_features_hidden=has_driving_features_hidden,
|
|
561
|
+
hos_setting=hos_setting,
|
|
562
|
+
license_number=license_number,
|
|
563
|
+
license_state=license_state,
|
|
564
|
+
locale=locale,
|
|
565
|
+
name=name,
|
|
566
|
+
notes=notes,
|
|
567
|
+
password=password,
|
|
568
|
+
peer_group_tag_id=peer_group_tag_id,
|
|
569
|
+
phone=phone,
|
|
570
|
+
static_assigned_vehicle_id=static_assigned_vehicle_id,
|
|
571
|
+
tachograph_card_number=tachograph_card_number,
|
|
572
|
+
tag_ids=tag_ids,
|
|
573
|
+
timezone=timezone,
|
|
574
|
+
us_driver_ruleset_override=us_driver_ruleset_override,
|
|
575
|
+
username=username,
|
|
576
|
+
vehicle_group_tag_id=vehicle_group_tag_id,
|
|
577
|
+
waiting_time_duty_status_enabled=waiting_time_duty_status_enabled,
|
|
578
|
+
request_options=request_options,
|
|
579
|
+
)
|
|
580
|
+
return _response.data
|
|
581
|
+
|
|
582
|
+
|
|
583
|
+
class AsyncDriversClient:
|
|
584
|
+
def __init__(self, *, client_wrapper: AsyncClientWrapper):
|
|
585
|
+
self._raw_client = AsyncRawDriversClient(client_wrapper=client_wrapper)
|
|
586
|
+
self.qr_codes = AsyncQrCodesClient(client_wrapper=client_wrapper)
|
|
587
|
+
|
|
588
|
+
self.tachograph_activity = AsyncTachographActivityClient(client_wrapper=client_wrapper)
|
|
589
|
+
|
|
590
|
+
self.tachograph_files = AsyncTachographFilesClient(client_wrapper=client_wrapper)
|
|
591
|
+
|
|
592
|
+
self.vehicle_assignments = AsyncVehicleAssignmentsClient(client_wrapper=client_wrapper)
|
|
593
|
+
|
|
594
|
+
@property
|
|
595
|
+
def with_raw_response(self) -> AsyncRawDriversClient:
|
|
596
|
+
"""
|
|
597
|
+
Retrieves a raw implementation of this client that returns raw responses.
|
|
598
|
+
|
|
599
|
+
Returns
|
|
600
|
+
-------
|
|
601
|
+
AsyncRawDriversClient
|
|
602
|
+
"""
|
|
603
|
+
return self._raw_client
|
|
604
|
+
|
|
605
|
+
async def list(
|
|
606
|
+
self,
|
|
607
|
+
*,
|
|
608
|
+
driver_activation_status: typing.Optional[DriversListRequestDriverActivationStatus] = None,
|
|
609
|
+
limit: typing.Optional[int] = None,
|
|
610
|
+
after: typing.Optional[str] = None,
|
|
611
|
+
parent_tag_ids: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
|
|
612
|
+
tag_ids: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
|
|
613
|
+
attribute_value_ids: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
|
|
614
|
+
updated_after_time: typing.Optional[str] = None,
|
|
615
|
+
created_after_time: typing.Optional[str] = None,
|
|
616
|
+
request_options: typing.Optional[RequestOptions] = None,
|
|
617
|
+
) -> ListDriversResponse:
|
|
618
|
+
"""
|
|
619
|
+
Get all drivers in organization.
|
|
620
|
+
|
|
621
|
+
**Submit Feedback**: Likes, dislikes, and API feature requests should be filed as feedback in our <a href="https://forms.gle/zkD4NCH7HjKb7mm69" target="_blank">API feedback form</a>. If you encountered an issue or noticed inaccuracies in the API documentation, please <a href="https://www.samsara.com/help" target="_blank">submit a case</a> to our support team.
|
|
622
|
+
|
|
623
|
+
To use this endpoint, select **Read Drivers** under the Drivers category when creating or editing an API token. <a href="https://developers.samsara.com/docs/authentication#scopes-for-api-tokens" target="_blank">Learn More.</a>
|
|
624
|
+
|
|
625
|
+
Parameters
|
|
626
|
+
----------
|
|
627
|
+
driver_activation_status : typing.Optional[DriversListRequestDriverActivationStatus]
|
|
628
|
+
If value is `deactivated`, only drivers that are deactivated will appear in the response. This parameter will default to `active` if not provided (fetching only active drivers).
|
|
629
|
+
|
|
630
|
+
limit : typing.Optional[int]
|
|
631
|
+
The limit for how many objects will be in the response. Default and max for this value is 512 objects.
|
|
632
|
+
|
|
633
|
+
after : typing.Optional[str]
|
|
634
|
+
If specified, this should be the endCursor value from the previous page of results. When present, this request will return the next page of results that occur immediately after the previous page of results.
|
|
635
|
+
|
|
636
|
+
parent_tag_ids : typing.Optional[typing.Union[str, typing.Sequence[str]]]
|
|
637
|
+
A filter on the data based on this comma-separated list of parent tag IDs, for use by orgs with tag hierarchies. Specifying a parent tag will implicitly include all descendent tags of the parent tag. Example: `parentTagIds=345,678`
|
|
638
|
+
|
|
639
|
+
tag_ids : typing.Optional[typing.Union[str, typing.Sequence[str]]]
|
|
640
|
+
A filter on the data based on this comma-separated list of tag IDs. Example: `tagIds=1234,5678`
|
|
641
|
+
|
|
642
|
+
attribute_value_ids : typing.Optional[typing.Union[str, typing.Sequence[str]]]
|
|
643
|
+
A filter on the data based on this comma-separated list of attribute value IDs. Only entities associated with ALL of the referenced values will be returned (i.e. the intersection of the sets of entities with each value). Example: `attributeValueIds=076efac2-83b5-47aa-ba36-18428436dcac,6707b3f0-23b9-4fe3-b7be-11be34aea544`
|
|
644
|
+
|
|
645
|
+
updated_after_time : typing.Optional[str]
|
|
646
|
+
A filter on data to have an updated at time after or equal to this specified time in RFC 3339 format. Millisecond precision and timezones are supported. (Examples: 2019-06-13T19:08:25Z, 2019-06-13T19:08:25.455Z, OR 2015-09-15T14:00:12-04:00).
|
|
647
|
+
|
|
648
|
+
created_after_time : typing.Optional[str]
|
|
649
|
+
A filter on data to have a created at time after or equal to this specified time in RFC 3339 format. Millisecond precision and timezones are supported. (Examples: 2019-06-13T19:08:25Z, 2019-06-13T19:08:25.455Z, OR 2015-09-15T14:00:12-04:00).
|
|
650
|
+
|
|
651
|
+
request_options : typing.Optional[RequestOptions]
|
|
652
|
+
Request-specific configuration.
|
|
653
|
+
|
|
654
|
+
Returns
|
|
655
|
+
-------
|
|
656
|
+
ListDriversResponse
|
|
657
|
+
List of all driver objects.
|
|
658
|
+
|
|
659
|
+
Examples
|
|
660
|
+
--------
|
|
661
|
+
import asyncio
|
|
662
|
+
|
|
663
|
+
from samsara import AsyncSamsara
|
|
664
|
+
|
|
665
|
+
client = AsyncSamsara(
|
|
666
|
+
token="YOUR_TOKEN",
|
|
667
|
+
)
|
|
668
|
+
|
|
669
|
+
|
|
670
|
+
async def main() -> None:
|
|
671
|
+
await client.drivers.list()
|
|
672
|
+
|
|
673
|
+
|
|
674
|
+
asyncio.run(main())
|
|
675
|
+
"""
|
|
676
|
+
_response = await self._raw_client.list(
|
|
677
|
+
driver_activation_status=driver_activation_status,
|
|
678
|
+
limit=limit,
|
|
679
|
+
after=after,
|
|
680
|
+
parent_tag_ids=parent_tag_ids,
|
|
681
|
+
tag_ids=tag_ids,
|
|
682
|
+
attribute_value_ids=attribute_value_ids,
|
|
683
|
+
updated_after_time=updated_after_time,
|
|
684
|
+
created_after_time=created_after_time,
|
|
685
|
+
request_options=request_options,
|
|
686
|
+
)
|
|
687
|
+
return _response.data
|
|
688
|
+
|
|
689
|
+
async def create(
|
|
690
|
+
self,
|
|
691
|
+
*,
|
|
692
|
+
name: str,
|
|
693
|
+
password: str,
|
|
694
|
+
username: str,
|
|
695
|
+
attributes: typing.Optional[typing.Sequence[CreateDriverRequestAttributes]] = OMIT,
|
|
696
|
+
carrier_settings: typing.Optional[DriverCarrierSettings] = OMIT,
|
|
697
|
+
current_id_card_code: typing.Optional[str] = OMIT,
|
|
698
|
+
eld_adverse_weather_exemption_enabled: typing.Optional[bool] = OMIT,
|
|
699
|
+
eld_big_day_exemption_enabled: typing.Optional[bool] = OMIT,
|
|
700
|
+
eld_day_start_hour: typing.Optional[int] = OMIT,
|
|
701
|
+
eld_exempt: typing.Optional[bool] = OMIT,
|
|
702
|
+
eld_exempt_reason: typing.Optional[str] = OMIT,
|
|
703
|
+
eld_pc_enabled: typing.Optional[bool] = OMIT,
|
|
704
|
+
eld_ym_enabled: typing.Optional[bool] = OMIT,
|
|
705
|
+
external_ids: typing.Optional[typing.Dict[str, str]] = OMIT,
|
|
706
|
+
has_driving_features_hidden: typing.Optional[DriverHasDrivingFeaturesHidden] = OMIT,
|
|
707
|
+
hos_setting: typing.Optional[DriverHosSetting] = OMIT,
|
|
708
|
+
license_number: typing.Optional[str] = OMIT,
|
|
709
|
+
license_state: typing.Optional[str] = OMIT,
|
|
710
|
+
locale: typing.Optional[CreateDriverRequestLocale] = OMIT,
|
|
711
|
+
notes: typing.Optional[str] = OMIT,
|
|
712
|
+
peer_group_tag_id: typing.Optional[str] = OMIT,
|
|
713
|
+
phone: typing.Optional[str] = OMIT,
|
|
714
|
+
static_assigned_vehicle_id: typing.Optional[str] = OMIT,
|
|
715
|
+
tachograph_card_number: typing.Optional[str] = OMIT,
|
|
716
|
+
tag_ids: typing.Optional[typing.Sequence[str]] = OMIT,
|
|
717
|
+
timezone: typing.Optional[str] = OMIT,
|
|
718
|
+
us_driver_ruleset_override: typing.Optional[UsDriverRulesetOverride] = OMIT,
|
|
719
|
+
vehicle_group_tag_id: typing.Optional[str] = OMIT,
|
|
720
|
+
waiting_time_duty_status_enabled: typing.Optional[bool] = OMIT,
|
|
721
|
+
request_options: typing.Optional[RequestOptions] = None,
|
|
722
|
+
) -> DriverResponse:
|
|
723
|
+
"""
|
|
724
|
+
Add a driver to the organization.
|
|
725
|
+
|
|
726
|
+
**Submit Feedback**: Likes, dislikes, and API feature requests should be filed as feedback in our <a href="https://forms.gle/zkD4NCH7HjKb7mm69" target="_blank">API feedback form</a>. If you encountered an issue or noticed inaccuracies in the API documentation, please <a href="https://www.samsara.com/help" target="_blank">submit a case</a> to our support team.
|
|
727
|
+
|
|
728
|
+
To use this endpoint, select **Write Drivers** under the Drivers category when creating or editing an API token. <a href="https://developers.samsara.com/docs/authentication#scopes-for-api-tokens" target="_blank">Learn More.</a>
|
|
729
|
+
|
|
730
|
+
Parameters
|
|
731
|
+
----------
|
|
732
|
+
name : str
|
|
733
|
+
Driver's name.
|
|
734
|
+
|
|
735
|
+
password : str
|
|
736
|
+
Password that the driver can use to login to the Samsara driver app.
|
|
737
|
+
|
|
738
|
+
username : str
|
|
739
|
+
Driver's login username into the driver app. The username may not contain spaces or the '@' symbol. The username must be unique.
|
|
740
|
+
|
|
741
|
+
attributes : typing.Optional[typing.Sequence[CreateDriverRequestAttributes]]
|
|
742
|
+
|
|
743
|
+
carrier_settings : typing.Optional[DriverCarrierSettings]
|
|
744
|
+
|
|
745
|
+
current_id_card_code : typing.Optional[str]
|
|
746
|
+
The ID Card Code on the back of the physical card assigned to the driver. Contact Samsara if you would like to enable this feature.
|
|
747
|
+
|
|
748
|
+
eld_adverse_weather_exemption_enabled : typing.Optional[bool]
|
|
749
|
+
Flag indicating this driver may use Adverse Weather exemptions in ELD logs.
|
|
750
|
+
|
|
751
|
+
eld_big_day_exemption_enabled : typing.Optional[bool]
|
|
752
|
+
Flag indicating this driver may use Big Day exemption in ELD logs.
|
|
753
|
+
|
|
754
|
+
eld_day_start_hour : typing.Optional[int]
|
|
755
|
+
`0` indicating midnight-to-midnight ELD driving hours, `12` to indicate noon-to-noon driving hours.
|
|
756
|
+
|
|
757
|
+
eld_exempt : typing.Optional[bool]
|
|
758
|
+
Flag indicating this driver is exempt from the Electronic Logging Mandate.
|
|
759
|
+
|
|
760
|
+
eld_exempt_reason : typing.Optional[str]
|
|
761
|
+
Reason that this driver is exempt from the Electronic Logging Mandate (see eldExempt).
|
|
762
|
+
|
|
763
|
+
eld_pc_enabled : typing.Optional[bool]
|
|
764
|
+
Flag indicating this driver may select the Personal Conveyance duty status in ELD logs.
|
|
765
|
+
|
|
766
|
+
eld_ym_enabled : typing.Optional[bool]
|
|
767
|
+
Flag indicating this driver may select the Yard Move duty status in ELD logs.
|
|
768
|
+
|
|
769
|
+
external_ids : typing.Optional[typing.Dict[str, str]]
|
|
770
|
+
The [external IDs](https://developers.samsara.com/docs/external-ids) for the given object.
|
|
771
|
+
|
|
772
|
+
has_driving_features_hidden : typing.Optional[DriverHasDrivingFeaturesHidden]
|
|
773
|
+
|
|
774
|
+
hos_setting : typing.Optional[DriverHosSetting]
|
|
775
|
+
|
|
776
|
+
license_number : typing.Optional[str]
|
|
777
|
+
Driver's state issued license number. The combination of this number and `licenseState` must be unique.
|
|
778
|
+
|
|
779
|
+
license_state : typing.Optional[str]
|
|
780
|
+
Abbreviation of US state, Canadian province, or US territory that issued driver's license.
|
|
781
|
+
|
|
782
|
+
locale : typing.Optional[CreateDriverRequestLocale]
|
|
783
|
+
Locale override (uncommon). These are specified by ISO 3166-2 country codes for supported locales. Valid values: `us`, `at`, `be`, `ca`, `gb`, `fr`, `de`, `ie`, `it`, `lu`, `mx`, `nl`, `es`, `ch`, `pr`.
|
|
784
|
+
|
|
785
|
+
notes : typing.Optional[str]
|
|
786
|
+
Notes about the driver.
|
|
787
|
+
|
|
788
|
+
peer_group_tag_id : typing.Optional[str]
|
|
789
|
+
The peer group tag id this driver belong to, used for gamification.
|
|
790
|
+
|
|
791
|
+
phone : typing.Optional[str]
|
|
792
|
+
Phone number of the driver.
|
|
793
|
+
|
|
794
|
+
static_assigned_vehicle_id : typing.Optional[str]
|
|
795
|
+
ID of vehicle that the driver is permanently assigned to. (uncommon).
|
|
796
|
+
|
|
797
|
+
tachograph_card_number : typing.Optional[str]
|
|
798
|
+
Driver's assigned tachograph card number (Europe specific)
|
|
799
|
+
|
|
800
|
+
tag_ids : typing.Optional[typing.Sequence[str]]
|
|
801
|
+
IDs of tags the driver is associated with. If your access to the API is scoped by one or more tags, this field is required to pass in.
|
|
802
|
+
|
|
803
|
+
timezone : typing.Optional[str]
|
|
804
|
+
Home terminal timezone, in order to indicate what time zone should be used to calculate the ELD logs. Driver timezones use [IANA timezone database](https://www.iana.org/time-zones) keys (e.g. `America/Los_Angeles`, `America/New_York`, `Europe/London`, etc.). You can find a mapping of common timezone formats to IANA timezone keys [here](https://unicode.org/cldr/charts/latest/supplemental/zone_tzid.html).
|
|
805
|
+
|
|
806
|
+
us_driver_ruleset_override : typing.Optional[UsDriverRulesetOverride]
|
|
807
|
+
|
|
808
|
+
vehicle_group_tag_id : typing.Optional[str]
|
|
809
|
+
Tag ID which determines which vehicles a driver will see when selecting vehicles.
|
|
810
|
+
|
|
811
|
+
waiting_time_duty_status_enabled : typing.Optional[bool]
|
|
812
|
+
Flag indicating this driver may select waiting time duty status in ELD logs
|
|
813
|
+
|
|
814
|
+
request_options : typing.Optional[RequestOptions]
|
|
815
|
+
Request-specific configuration.
|
|
816
|
+
|
|
817
|
+
Returns
|
|
818
|
+
-------
|
|
819
|
+
DriverResponse
|
|
820
|
+
Newly created driver object, with Samsara-generated ID.
|
|
821
|
+
|
|
822
|
+
Examples
|
|
823
|
+
--------
|
|
824
|
+
import asyncio
|
|
825
|
+
|
|
826
|
+
from samsara import AsyncSamsara
|
|
827
|
+
|
|
828
|
+
client = AsyncSamsara(
|
|
829
|
+
token="YOUR_TOKEN",
|
|
830
|
+
)
|
|
831
|
+
|
|
832
|
+
|
|
833
|
+
async def main() -> None:
|
|
834
|
+
await client.drivers.create(
|
|
835
|
+
name="Susan Jones",
|
|
836
|
+
password="aSecurePassword1234",
|
|
837
|
+
username="SusanJones",
|
|
838
|
+
)
|
|
839
|
+
|
|
840
|
+
|
|
841
|
+
asyncio.run(main())
|
|
842
|
+
"""
|
|
843
|
+
_response = await self._raw_client.create(
|
|
844
|
+
name=name,
|
|
845
|
+
password=password,
|
|
846
|
+
username=username,
|
|
847
|
+
attributes=attributes,
|
|
848
|
+
carrier_settings=carrier_settings,
|
|
849
|
+
current_id_card_code=current_id_card_code,
|
|
850
|
+
eld_adverse_weather_exemption_enabled=eld_adverse_weather_exemption_enabled,
|
|
851
|
+
eld_big_day_exemption_enabled=eld_big_day_exemption_enabled,
|
|
852
|
+
eld_day_start_hour=eld_day_start_hour,
|
|
853
|
+
eld_exempt=eld_exempt,
|
|
854
|
+
eld_exempt_reason=eld_exempt_reason,
|
|
855
|
+
eld_pc_enabled=eld_pc_enabled,
|
|
856
|
+
eld_ym_enabled=eld_ym_enabled,
|
|
857
|
+
external_ids=external_ids,
|
|
858
|
+
has_driving_features_hidden=has_driving_features_hidden,
|
|
859
|
+
hos_setting=hos_setting,
|
|
860
|
+
license_number=license_number,
|
|
861
|
+
license_state=license_state,
|
|
862
|
+
locale=locale,
|
|
863
|
+
notes=notes,
|
|
864
|
+
peer_group_tag_id=peer_group_tag_id,
|
|
865
|
+
phone=phone,
|
|
866
|
+
static_assigned_vehicle_id=static_assigned_vehicle_id,
|
|
867
|
+
tachograph_card_number=tachograph_card_number,
|
|
868
|
+
tag_ids=tag_ids,
|
|
869
|
+
timezone=timezone,
|
|
870
|
+
us_driver_ruleset_override=us_driver_ruleset_override,
|
|
871
|
+
vehicle_group_tag_id=vehicle_group_tag_id,
|
|
872
|
+
waiting_time_duty_status_enabled=waiting_time_duty_status_enabled,
|
|
873
|
+
request_options=request_options,
|
|
874
|
+
)
|
|
875
|
+
return _response.data
|
|
876
|
+
|
|
877
|
+
async def sign_out(
|
|
878
|
+
self, *, driver_id: str, request_options: typing.Optional[RequestOptions] = None
|
|
879
|
+
) -> DriverRemoteSignoutPostDriverRemoteSignoutResponseBody:
|
|
880
|
+
"""
|
|
881
|
+
Sign out a driver from the Samsara Driver App
|
|
882
|
+
|
|
883
|
+
To access this endpoint, your organization must have the Samsara Platform Premier license.
|
|
884
|
+
|
|
885
|
+
Note: Sign out requests made while a logged-in driver does not have internet connection will not log the driver out. A success response will still be provided and the driver will be logged out once they have internet connection.
|
|
886
|
+
|
|
887
|
+
<b>Rate limit:</b> 100 requests/min (learn more about rate limits <a href="https://developers.samsara.com/docs/rate-limits" target="_blank">here</a>).
|
|
888
|
+
|
|
889
|
+
To use this endpoint, select **Write Driver Remote Signout** under the Closed Beta category when creating or editing an API token. <a href="https://developers.samsara.com/docs/authentication#scopes-for-api-tokens" target="_blank">Learn More.</a>
|
|
890
|
+
|
|
891
|
+
|
|
892
|
+
**Submit Feedback**: Likes, dislikes, and API feature requests should be filed as feedback in our <a href="https://forms.gle/zkD4NCH7HjKb7mm69" target="_blank">API feedback form</a>. If you encountered an issue or noticed inaccuracies in the API documentation, please <a href="https://www.samsara.com/help" target="_blank">submit a case</a> to our support team.
|
|
893
|
+
|
|
894
|
+
Parameters
|
|
895
|
+
----------
|
|
896
|
+
driver_id : str
|
|
897
|
+
ID of the driver.
|
|
898
|
+
|
|
899
|
+
request_options : typing.Optional[RequestOptions]
|
|
900
|
+
Request-specific configuration.
|
|
901
|
+
|
|
902
|
+
Returns
|
|
903
|
+
-------
|
|
904
|
+
DriverRemoteSignoutPostDriverRemoteSignoutResponseBody
|
|
905
|
+
OK response.
|
|
906
|
+
|
|
907
|
+
Examples
|
|
908
|
+
--------
|
|
909
|
+
import asyncio
|
|
910
|
+
|
|
911
|
+
from samsara import AsyncSamsara
|
|
912
|
+
|
|
913
|
+
client = AsyncSamsara(
|
|
914
|
+
token="YOUR_TOKEN",
|
|
915
|
+
)
|
|
916
|
+
|
|
917
|
+
|
|
918
|
+
async def main() -> None:
|
|
919
|
+
await client.drivers.sign_out(
|
|
920
|
+
driver_id="12434",
|
|
921
|
+
)
|
|
922
|
+
|
|
923
|
+
|
|
924
|
+
asyncio.run(main())
|
|
925
|
+
"""
|
|
926
|
+
_response = await self._raw_client.sign_out(driver_id=driver_id, request_options=request_options)
|
|
927
|
+
return _response.data
|
|
928
|
+
|
|
929
|
+
async def get(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> DriverResponse:
|
|
930
|
+
"""
|
|
931
|
+
Get information about a driver.
|
|
932
|
+
|
|
933
|
+
**Submit Feedback**: Likes, dislikes, and API feature requests should be filed as feedback in our <a href="https://forms.gle/zkD4NCH7HjKb7mm69" target="_blank">API feedback form</a>. If you encountered an issue or noticed inaccuracies in the API documentation, please <a href="https://www.samsara.com/help" target="_blank">submit a case</a> to our support team.
|
|
934
|
+
|
|
935
|
+
To use this endpoint, select **Read Drivers** under the Drivers category when creating or editing an API token. <a href="https://developers.samsara.com/docs/authentication#scopes-for-api-tokens" target="_blank">Learn More.</a>
|
|
936
|
+
|
|
937
|
+
Parameters
|
|
938
|
+
----------
|
|
939
|
+
id : str
|
|
940
|
+
ID of the driver. This can either be the Samsara-specified ID, or an external ID. External IDs are customer specified key-value pairs created in the POST or PATCH requests of this resource. To specify an external ID as part of a path parameter, use the following format: `key:value`. For example, `payrollId:ABFS18600`
|
|
941
|
+
|
|
942
|
+
request_options : typing.Optional[RequestOptions]
|
|
943
|
+
Request-specific configuration.
|
|
944
|
+
|
|
945
|
+
Returns
|
|
946
|
+
-------
|
|
947
|
+
DriverResponse
|
|
948
|
+
Returns the specified driver.
|
|
949
|
+
|
|
950
|
+
Examples
|
|
951
|
+
--------
|
|
952
|
+
import asyncio
|
|
953
|
+
|
|
954
|
+
from samsara import AsyncSamsara
|
|
955
|
+
|
|
956
|
+
client = AsyncSamsara(
|
|
957
|
+
token="YOUR_TOKEN",
|
|
958
|
+
)
|
|
959
|
+
|
|
960
|
+
|
|
961
|
+
async def main() -> None:
|
|
962
|
+
await client.drivers.get(
|
|
963
|
+
id="id",
|
|
964
|
+
)
|
|
965
|
+
|
|
966
|
+
|
|
967
|
+
asyncio.run(main())
|
|
968
|
+
"""
|
|
969
|
+
_response = await self._raw_client.get(id, request_options=request_options)
|
|
970
|
+
return _response.data
|
|
971
|
+
|
|
972
|
+
async def update(
|
|
973
|
+
self,
|
|
974
|
+
id: str,
|
|
975
|
+
*,
|
|
976
|
+
attributes: typing.Optional[typing.Sequence[CreateDriverRequestAttributes]] = OMIT,
|
|
977
|
+
carrier_settings: typing.Optional[DriverCarrierSettings] = OMIT,
|
|
978
|
+
current_id_card_code: typing.Optional[str] = OMIT,
|
|
979
|
+
deactivated_at_time: typing.Optional[str] = OMIT,
|
|
980
|
+
driver_activation_status: typing.Optional[UpdateDriverRequestDriverActivationStatus] = OMIT,
|
|
981
|
+
eld_adverse_weather_exemption_enabled: typing.Optional[bool] = OMIT,
|
|
982
|
+
eld_big_day_exemption_enabled: typing.Optional[bool] = OMIT,
|
|
983
|
+
eld_day_start_hour: typing.Optional[int] = OMIT,
|
|
984
|
+
eld_exempt: typing.Optional[bool] = OMIT,
|
|
985
|
+
eld_exempt_reason: typing.Optional[str] = OMIT,
|
|
986
|
+
eld_pc_enabled: typing.Optional[bool] = OMIT,
|
|
987
|
+
eld_ym_enabled: typing.Optional[bool] = OMIT,
|
|
988
|
+
external_ids: typing.Optional[typing.Dict[str, str]] = OMIT,
|
|
989
|
+
has_driving_features_hidden: typing.Optional[DriverHasDrivingFeaturesHidden] = OMIT,
|
|
990
|
+
hos_setting: typing.Optional[UpdateDriverRequestHosSetting] = OMIT,
|
|
991
|
+
license_number: typing.Optional[str] = OMIT,
|
|
992
|
+
license_state: typing.Optional[str] = OMIT,
|
|
993
|
+
locale: typing.Optional[UpdateDriverRequestLocale] = OMIT,
|
|
994
|
+
name: typing.Optional[str] = OMIT,
|
|
995
|
+
notes: typing.Optional[str] = OMIT,
|
|
996
|
+
password: typing.Optional[str] = OMIT,
|
|
997
|
+
peer_group_tag_id: typing.Optional[str] = OMIT,
|
|
998
|
+
phone: typing.Optional[str] = OMIT,
|
|
999
|
+
static_assigned_vehicle_id: typing.Optional[str] = OMIT,
|
|
1000
|
+
tachograph_card_number: typing.Optional[str] = OMIT,
|
|
1001
|
+
tag_ids: typing.Optional[typing.Sequence[str]] = OMIT,
|
|
1002
|
+
timezone: typing.Optional[str] = OMIT,
|
|
1003
|
+
us_driver_ruleset_override: typing.Optional[UsDriverRulesetOverride] = OMIT,
|
|
1004
|
+
username: typing.Optional[str] = OMIT,
|
|
1005
|
+
vehicle_group_tag_id: typing.Optional[str] = OMIT,
|
|
1006
|
+
waiting_time_duty_status_enabled: typing.Optional[bool] = OMIT,
|
|
1007
|
+
request_options: typing.Optional[RequestOptions] = None,
|
|
1008
|
+
) -> DriverResponse:
|
|
1009
|
+
"""
|
|
1010
|
+
Update a specific driver's information. This can also be used to activate or de-activate a given driver by setting the driverActivationStatus field. If the driverActivationStatus field is 'deactivated' then the user can also specify the deactivatedAtTime. The deactivatedAtTime cannot be more than 6 months in the past and must not come before the dirver's latest active HOS log. It will be considered an error if deactivatedAtTime is provided with a driverActivationStatus of active.
|
|
1011
|
+
|
|
1012
|
+
**Submit Feedback**: Likes, dislikes, and API feature requests should be filed as feedback in our <a href="https://forms.gle/zkD4NCH7HjKb7mm69" target="_blank">API feedback form</a>. If you encountered an issue or noticed inaccuracies in the API documentation, please <a href="https://www.samsara.com/help" target="_blank">submit a case</a> to our support team.
|
|
1013
|
+
|
|
1014
|
+
To use this endpoint, select **Write Drivers** under the Drivers category when creating or editing an API token. <a href="https://developers.samsara.com/docs/authentication#scopes-for-api-tokens" target="_blank">Learn More.</a>
|
|
1015
|
+
|
|
1016
|
+
Parameters
|
|
1017
|
+
----------
|
|
1018
|
+
id : str
|
|
1019
|
+
ID of the driver. This can either be the Samsara-specified ID, or an external ID. External IDs are customer specified key-value pairs created in the POST or PATCH requests of this resource. To specify an external ID as part of a path parameter, use the following format: `key:value`. For example, `payrollId:ABFS18600`
|
|
1020
|
+
|
|
1021
|
+
attributes : typing.Optional[typing.Sequence[CreateDriverRequestAttributes]]
|
|
1022
|
+
|
|
1023
|
+
carrier_settings : typing.Optional[DriverCarrierSettings]
|
|
1024
|
+
|
|
1025
|
+
current_id_card_code : typing.Optional[str]
|
|
1026
|
+
The ID Card Code on the back of the physical card assigned to the driver. Contact Samsara if you would like to enable this feature.
|
|
1027
|
+
|
|
1028
|
+
deactivated_at_time : typing.Optional[str]
|
|
1029
|
+
The date and time this driver is considered to be deactivated in RFC 3339 format.
|
|
1030
|
+
|
|
1031
|
+
driver_activation_status : typing.Optional[UpdateDriverRequestDriverActivationStatus]
|
|
1032
|
+
A value indicating whether the driver is active or deactivated. Valid values: `active`, `deactivated`.
|
|
1033
|
+
|
|
1034
|
+
eld_adverse_weather_exemption_enabled : typing.Optional[bool]
|
|
1035
|
+
Flag indicating this driver may use Adverse Weather exemptions in ELD logs.
|
|
1036
|
+
|
|
1037
|
+
eld_big_day_exemption_enabled : typing.Optional[bool]
|
|
1038
|
+
Flag indicating this driver may use Big Day exemption in ELD logs.
|
|
1039
|
+
|
|
1040
|
+
eld_day_start_hour : typing.Optional[int]
|
|
1041
|
+
`0` indicating midnight-to-midnight ELD driving hours, `12` to indicate noon-to-noon driving hours.
|
|
1042
|
+
|
|
1043
|
+
eld_exempt : typing.Optional[bool]
|
|
1044
|
+
Flag indicating this driver is exempt from the Electronic Logging Mandate.
|
|
1045
|
+
|
|
1046
|
+
eld_exempt_reason : typing.Optional[str]
|
|
1047
|
+
Reason that this driver is exempt from the Electronic Logging Mandate (see eldExempt).
|
|
1048
|
+
|
|
1049
|
+
eld_pc_enabled : typing.Optional[bool]
|
|
1050
|
+
Flag indicating this driver may select the Personal Conveyance duty status in ELD logs.
|
|
1051
|
+
|
|
1052
|
+
eld_ym_enabled : typing.Optional[bool]
|
|
1053
|
+
Flag indicating this driver may select the Yard Move duty status in ELD logs.
|
|
1054
|
+
|
|
1055
|
+
external_ids : typing.Optional[typing.Dict[str, str]]
|
|
1056
|
+
The [external IDs](https://developers.samsara.com/docs/external-ids) for the given object.
|
|
1057
|
+
|
|
1058
|
+
has_driving_features_hidden : typing.Optional[DriverHasDrivingFeaturesHidden]
|
|
1059
|
+
|
|
1060
|
+
hos_setting : typing.Optional[UpdateDriverRequestHosSetting]
|
|
1061
|
+
|
|
1062
|
+
license_number : typing.Optional[str]
|
|
1063
|
+
Driver's state issued license number. The combination of this number and `licenseState` must be unique.
|
|
1064
|
+
|
|
1065
|
+
license_state : typing.Optional[str]
|
|
1066
|
+
Abbreviation of US state, Canadian province, or US territory that issued driver's license.
|
|
1067
|
+
|
|
1068
|
+
locale : typing.Optional[UpdateDriverRequestLocale]
|
|
1069
|
+
Locale override (uncommon). These are specified by ISO 3166-2 country codes for supported locales. Valid values: `us`, `at`, `be`, `ca`, `gb`, `fr`, `de`, `ie`, `it`, `lu`, `mx`, `nl`, `es`, `ch`, `pr`.
|
|
1070
|
+
|
|
1071
|
+
name : typing.Optional[str]
|
|
1072
|
+
Driver's name.
|
|
1073
|
+
|
|
1074
|
+
notes : typing.Optional[str]
|
|
1075
|
+
Notes about the driver.
|
|
1076
|
+
|
|
1077
|
+
password : typing.Optional[str]
|
|
1078
|
+
Password that the driver can use to login to the Samsara driver app.
|
|
1079
|
+
|
|
1080
|
+
peer_group_tag_id : typing.Optional[str]
|
|
1081
|
+
The peer group tag id this driver belong to, leave blank to be in group with everyone, used for gamification.
|
|
1082
|
+
|
|
1083
|
+
phone : typing.Optional[str]
|
|
1084
|
+
Phone number of the driver.
|
|
1085
|
+
|
|
1086
|
+
static_assigned_vehicle_id : typing.Optional[str]
|
|
1087
|
+
ID of vehicle that the driver is permanently assigned to. (uncommon).
|
|
1088
|
+
|
|
1089
|
+
tachograph_card_number : typing.Optional[str]
|
|
1090
|
+
Driver's assigned tachograph card number (Europe specific)
|
|
1091
|
+
|
|
1092
|
+
tag_ids : typing.Optional[typing.Sequence[str]]
|
|
1093
|
+
IDs of tags the driver is associated with. If your access to the API is scoped by one or more tags, this field is required to pass in.
|
|
1094
|
+
|
|
1095
|
+
timezone : typing.Optional[str]
|
|
1096
|
+
Home terminal timezone, in order to indicate what time zone should be used to calculate the ELD logs. Driver timezones use [IANA timezone database](https://www.iana.org/time-zones) keys (e.g. `America/Los_Angeles`, `America/New_York`, `Europe/London`, etc.). You can find a mapping of common timezone formats to IANA timezone keys [here](https://unicode.org/cldr/charts/latest/supplemental/zone_tzid.html).
|
|
1097
|
+
|
|
1098
|
+
us_driver_ruleset_override : typing.Optional[UsDriverRulesetOverride]
|
|
1099
|
+
|
|
1100
|
+
username : typing.Optional[str]
|
|
1101
|
+
Driver's login username into the driver app. The username may not contain spaces or the '@' symbol. The username must be unique.
|
|
1102
|
+
|
|
1103
|
+
vehicle_group_tag_id : typing.Optional[str]
|
|
1104
|
+
Tag ID which determines which vehicles a driver will see when selecting vehicles.
|
|
1105
|
+
|
|
1106
|
+
waiting_time_duty_status_enabled : typing.Optional[bool]
|
|
1107
|
+
Flag indicating this driver may select waiting time duty status in ELD logs
|
|
1108
|
+
|
|
1109
|
+
request_options : typing.Optional[RequestOptions]
|
|
1110
|
+
Request-specific configuration.
|
|
1111
|
+
|
|
1112
|
+
Returns
|
|
1113
|
+
-------
|
|
1114
|
+
DriverResponse
|
|
1115
|
+
Updated driver object, with ID.
|
|
1116
|
+
|
|
1117
|
+
Examples
|
|
1118
|
+
--------
|
|
1119
|
+
import asyncio
|
|
1120
|
+
|
|
1121
|
+
from samsara import AsyncSamsara
|
|
1122
|
+
|
|
1123
|
+
client = AsyncSamsara(
|
|
1124
|
+
token="YOUR_TOKEN",
|
|
1125
|
+
)
|
|
1126
|
+
|
|
1127
|
+
|
|
1128
|
+
async def main() -> None:
|
|
1129
|
+
await client.drivers.update(
|
|
1130
|
+
id="id",
|
|
1131
|
+
)
|
|
1132
|
+
|
|
1133
|
+
|
|
1134
|
+
asyncio.run(main())
|
|
1135
|
+
"""
|
|
1136
|
+
_response = await self._raw_client.update(
|
|
1137
|
+
id,
|
|
1138
|
+
attributes=attributes,
|
|
1139
|
+
carrier_settings=carrier_settings,
|
|
1140
|
+
current_id_card_code=current_id_card_code,
|
|
1141
|
+
deactivated_at_time=deactivated_at_time,
|
|
1142
|
+
driver_activation_status=driver_activation_status,
|
|
1143
|
+
eld_adverse_weather_exemption_enabled=eld_adverse_weather_exemption_enabled,
|
|
1144
|
+
eld_big_day_exemption_enabled=eld_big_day_exemption_enabled,
|
|
1145
|
+
eld_day_start_hour=eld_day_start_hour,
|
|
1146
|
+
eld_exempt=eld_exempt,
|
|
1147
|
+
eld_exempt_reason=eld_exempt_reason,
|
|
1148
|
+
eld_pc_enabled=eld_pc_enabled,
|
|
1149
|
+
eld_ym_enabled=eld_ym_enabled,
|
|
1150
|
+
external_ids=external_ids,
|
|
1151
|
+
has_driving_features_hidden=has_driving_features_hidden,
|
|
1152
|
+
hos_setting=hos_setting,
|
|
1153
|
+
license_number=license_number,
|
|
1154
|
+
license_state=license_state,
|
|
1155
|
+
locale=locale,
|
|
1156
|
+
name=name,
|
|
1157
|
+
notes=notes,
|
|
1158
|
+
password=password,
|
|
1159
|
+
peer_group_tag_id=peer_group_tag_id,
|
|
1160
|
+
phone=phone,
|
|
1161
|
+
static_assigned_vehicle_id=static_assigned_vehicle_id,
|
|
1162
|
+
tachograph_card_number=tachograph_card_number,
|
|
1163
|
+
tag_ids=tag_ids,
|
|
1164
|
+
timezone=timezone,
|
|
1165
|
+
us_driver_ruleset_override=us_driver_ruleset_override,
|
|
1166
|
+
username=username,
|
|
1167
|
+
vehicle_group_tag_id=vehicle_group_tag_id,
|
|
1168
|
+
waiting_time_duty_status_enabled=waiting_time_duty_status_enabled,
|
|
1169
|
+
request_options=request_options,
|
|
1170
|
+
)
|
|
1171
|
+
return _response.data
|