samsara-api 4.3.0__py3-none-any.whl → 5.3.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 +480 -88
- samsara/addresses/client.py +4 -4
- samsara/addresses/raw_client.py +4 -4
- samsara/addresses/types/create_address_request_address_types_item.py +2 -0
- samsara/addresses/types/update_address_request_address_types_item.py +2 -0
- samsara/assets/client.py +2 -2
- samsara/assets/raw_client.py +2 -2
- samsara/attributes/client.py +4 -4
- samsara/attributes/raw_client.py +4 -4
- samsara/attributes/types/create_attribute_request_attribute_type.py +1 -1
- samsara/attributes/types/update_attribute_request_attribute_type.py +1 -1
- samsara/{types/vehicle_stats_time.py → auth_token_for_driver/__init__.py} +1 -2
- samsara/auth_token_for_driver/client.py +165 -0
- samsara/auth_token_for_driver/raw_client.py +373 -0
- samsara/beta_ap_is/__init__.py +0 -6
- samsara/beta_ap_is/client.py +728 -859
- samsara/beta_ap_is/raw_client.py +1516 -1629
- samsara/beta_ap_is/types/__init__.py +0 -6
- samsara/client.py +74 -36
- samsara/core/client_wrapper.py +6 -2
- samsara/core/http_client.py +41 -7
- samsara/core/jsonable_encoder.py +8 -0
- samsara/core/pydantic_utilities.py +102 -1
- samsara/{types/vehicle_location_time.py → driver_trailer_assignments/__init__.py} +1 -2
- samsara/driver_trailer_assignments/client.py +383 -0
- samsara/driver_trailer_assignments/raw_client.py +1009 -0
- samsara/drivers/client.py +5 -4
- samsara/drivers/raw_client.py +7 -6
- samsara/legacy_ap_is/client.py +381 -0
- samsara/legacy_ap_is/raw_client.py +598 -0
- samsara/location_and_speed/client.py +12 -2
- samsara/location_and_speed/raw_client.py +12 -2
- samsara/media/client.py +6 -6
- samsara/media/raw_client.py +4 -4
- samsara/media/types/media_retrieval_post_media_retrieval_request_body_media_type.py +3 -1
- samsara/messages/client.py +2 -2
- samsara/messages/raw_client.py +2 -2
- samsara/plans/client.py +24 -4
- samsara/plans/raw_client.py +20 -2
- samsara/preview_ap_is/client.py +140 -0
- samsara/preview_ap_is/raw_client.py +358 -0
- samsara/routes/client.py +38 -6
- samsara/routes/raw_client.py +32 -2
- samsara/safety/__init__.py +30 -0
- samsara/safety/client.py +204 -214
- samsara/safety/raw_client.py +398 -216
- samsara/safety/types/__init__.py +36 -0
- samsara/safety/types/get_safety_events_v_2_stream_request_query_by_time_field.py +7 -0
- samsara/sensors/client.py +2 -2
- samsara/sensors/raw_client.py +2 -2
- samsara/trailer_assignments/client.py +4 -4
- samsara/trailer_assignments/raw_client.py +4 -4
- samsara/trips/__init__.py +33 -0
- samsara/trips/client.py +163 -0
- samsara/trips/raw_client.py +374 -0
- samsara/trips/types/__init__.py +38 -0
- samsara/types/__init__.py +638 -78
- samsara/types/action_object_request_body.py +4 -2
- samsara/types/action_object_response_body.py +4 -2
- samsara/types/action_params_object_request_body.py +1 -1
- samsara/types/action_params_object_response_body.py +1 -1
- samsara/types/address.py +7 -5
- samsara/types/address_address_types_item.py +2 -0
- samsara/types/address_geofence_circle.py +3 -1
- samsara/types/address_geofence_settings.py +1 -1
- samsara/types/address_response_response_body.py +3 -3
- samsara/types/advanced_idling_get_idling_events_bad_gateway_error_response_body.py +1 -1
- samsara/types/advanced_idling_get_idling_events_gateway_timeout_error_response_body.py +1 -1
- samsara/types/advanced_idling_get_idling_events_internal_server_error_response_body.py +1 -1
- samsara/types/advanced_idling_get_idling_events_method_not_allowed_error_response_body.py +1 -1
- samsara/types/advanced_idling_get_idling_events_not_found_error_response_body.py +1 -1
- samsara/types/advanced_idling_get_idling_events_not_implemented_error_response_body.py +1 -1
- samsara/types/advanced_idling_get_idling_events_service_unavailable_error_response_body.py +1 -1
- samsara/types/advanced_idling_get_idling_events_too_many_requests_error_response_body.py +1 -1
- samsara/types/advanced_idling_get_idling_events_unauthorized_error_response_body.py +1 -1
- samsara/types/aemp_equipment_get_aemp_equipment_list_bad_gateway_error_response_body.py +1 -1
- samsara/types/aemp_equipment_get_aemp_equipment_list_gateway_timeout_error_response_body.py +1 -1
- samsara/types/aemp_equipment_get_aemp_equipment_list_internal_server_error_response_body.py +1 -1
- samsara/types/aemp_equipment_get_aemp_equipment_list_method_not_allowed_error_response_body.py +1 -1
- samsara/types/aemp_equipment_get_aemp_equipment_list_not_found_error_response_body.py +1 -1
- samsara/types/aemp_equipment_get_aemp_equipment_list_not_implemented_error_response_body.py +1 -1
- samsara/types/aemp_equipment_get_aemp_equipment_list_response_body.py +3 -1
- samsara/types/aemp_equipment_get_aemp_equipment_list_service_unavailable_error_response_body.py +1 -1
- samsara/types/aemp_equipment_get_aemp_equipment_list_too_many_requests_error_response_body.py +1 -1
- samsara/types/aemp_equipment_get_aemp_equipment_list_unauthorized_error_response_body.py +1 -1
- samsara/types/aemp_equipment_with_additional_fields_response_body.py +11 -7
- samsara/types/aemp_fleet_list_response_body.py +5 -3
- samsara/types/alert_object_asset_response_body.py +1 -1
- samsara/types/alert_object_driver_response_body.py +1 -1
- samsara/types/alert_object_onvif_camera_stream_response_body.py +1 -1
- samsara/types/alert_object_product_response_body.py +1 -1
- samsara/types/alert_object_sensor_response_body.py +1 -1
- samsara/types/alert_object_trailer_response_body.py +2 -2
- samsara/types/alert_object_vehicle_response_body.py +2 -2
- samsara/types/alerts_delete_configurations_bad_gateway_error_response_body.py +1 -1
- samsara/types/alerts_delete_configurations_gateway_timeout_error_response_body.py +1 -1
- samsara/types/alerts_delete_configurations_internal_server_error_response_body.py +1 -1
- samsara/types/alerts_delete_configurations_method_not_allowed_error_response_body.py +1 -1
- samsara/types/alerts_delete_configurations_not_found_error_response_body.py +1 -1
- samsara/types/alerts_delete_configurations_not_implemented_error_response_body.py +1 -1
- samsara/types/alerts_delete_configurations_service_unavailable_error_response_body.py +1 -1
- samsara/types/alerts_delete_configurations_too_many_requests_error_response_body.py +1 -1
- samsara/types/alerts_delete_configurations_unauthorized_error_response_body.py +1 -1
- samsara/types/alerts_get_configurations_bad_gateway_error_response_body.py +1 -1
- samsara/types/alerts_get_configurations_gateway_timeout_error_response_body.py +1 -1
- samsara/types/alerts_get_configurations_internal_server_error_response_body.py +1 -1
- samsara/types/alerts_get_configurations_method_not_allowed_error_response_body.py +1 -1
- samsara/types/alerts_get_configurations_not_found_error_response_body.py +1 -1
- samsara/types/alerts_get_configurations_not_implemented_error_response_body.py +1 -1
- samsara/types/alerts_get_configurations_service_unavailable_error_response_body.py +1 -1
- samsara/types/alerts_get_configurations_too_many_requests_error_response_body.py +1 -1
- samsara/types/alerts_get_configurations_unauthorized_error_response_body.py +1 -1
- samsara/types/alerts_get_incidents_bad_gateway_error_response_body.py +1 -1
- samsara/types/alerts_get_incidents_gateway_timeout_error_response_body.py +1 -1
- samsara/types/alerts_get_incidents_internal_server_error_response_body.py +1 -1
- samsara/types/alerts_get_incidents_method_not_allowed_error_response_body.py +1 -1
- samsara/types/alerts_get_incidents_not_found_error_response_body.py +1 -1
- samsara/types/alerts_get_incidents_not_implemented_error_response_body.py +1 -1
- samsara/types/alerts_get_incidents_service_unavailable_error_response_body.py +1 -1
- samsara/types/alerts_get_incidents_too_many_requests_error_response_body.py +1 -1
- samsara/types/alerts_get_incidents_unauthorized_error_response_body.py +1 -1
- samsara/types/alerts_patch_configurations_bad_gateway_error_response_body.py +1 -1
- samsara/types/alerts_patch_configurations_gateway_timeout_error_response_body.py +1 -1
- samsara/types/alerts_patch_configurations_internal_server_error_response_body.py +1 -1
- samsara/types/alerts_patch_configurations_method_not_allowed_error_response_body.py +1 -1
- samsara/types/alerts_patch_configurations_not_found_error_response_body.py +1 -1
- samsara/types/alerts_patch_configurations_not_implemented_error_response_body.py +1 -1
- samsara/types/alerts_patch_configurations_service_unavailable_error_response_body.py +1 -1
- samsara/types/alerts_patch_configurations_too_many_requests_error_response_body.py +1 -1
- samsara/types/alerts_patch_configurations_unauthorized_error_response_body.py +1 -1
- samsara/types/alerts_post_configurations_bad_gateway_error_response_body.py +1 -1
- samsara/types/alerts_post_configurations_gateway_timeout_error_response_body.py +1 -1
- samsara/types/alerts_post_configurations_internal_server_error_response_body.py +1 -1
- samsara/types/alerts_post_configurations_method_not_allowed_error_response_body.py +1 -1
- samsara/types/alerts_post_configurations_not_found_error_response_body.py +1 -1
- samsara/types/alerts_post_configurations_not_implemented_error_response_body.py +1 -1
- samsara/types/alerts_post_configurations_service_unavailable_error_response_body.py +1 -1
- samsara/types/alerts_post_configurations_too_many_requests_error_response_body.py +1 -1
- samsara/types/alerts_post_configurations_unauthorized_error_response_body.py +1 -1
- samsara/types/ambient_temperature_details_object_request_body.py +6 -4
- samsara/types/ambient_temperature_details_object_response_body.py +6 -4
- samsara/types/appointment_window_request_body.py +4 -2
- samsara/types/appointment_window_response_body.py +4 -2
- samsara/types/asset_data_input.py +2 -2
- samsara/types/asset_data_output.py +5 -3
- samsara/types/asset_data_outputs_patch_asset_data_outputs_bad_gateway_error_response_body.py +1 -1
- samsara/types/asset_data_outputs_patch_asset_data_outputs_gateway_timeout_error_response_body.py +1 -1
- samsara/types/asset_data_outputs_patch_asset_data_outputs_internal_server_error_response_body.py +1 -1
- samsara/types/asset_data_outputs_patch_asset_data_outputs_method_not_allowed_error_response_body.py +1 -1
- samsara/types/asset_data_outputs_patch_asset_data_outputs_not_found_error_response_body.py +1 -1
- samsara/types/asset_data_outputs_patch_asset_data_outputs_not_implemented_error_response_body.py +1 -1
- samsara/types/asset_data_outputs_patch_asset_data_outputs_service_unavailable_error_response_body.py +1 -1
- samsara/types/asset_data_outputs_patch_asset_data_outputs_too_many_requests_error_response_body.py +1 -1
- samsara/types/asset_data_outputs_patch_asset_data_outputs_unauthorized_error_response_body.py +1 -1
- samsara/types/asset_location.py +1 -1
- samsara/types/asset_response.py +7 -7
- samsara/types/asset_response_body.py +11 -7
- samsara/types/asset_response_response_body.py +1 -1
- samsara/types/assets_create_asset_bad_gateway_error_response_body.py +1 -1
- samsara/types/assets_create_asset_gateway_timeout_error_response_body.py +1 -1
- samsara/types/assets_create_asset_internal_server_error_response_body.py +1 -1
- samsara/types/assets_create_asset_method_not_allowed_error_response_body.py +1 -1
- samsara/types/assets_create_asset_not_found_error_response_body.py +1 -1
- samsara/types/assets_create_asset_not_implemented_error_response_body.py +1 -1
- samsara/types/assets_create_asset_service_unavailable_error_response_body.py +1 -1
- samsara/types/assets_create_asset_too_many_requests_error_response_body.py +1 -1
- samsara/types/assets_create_asset_unauthorized_error_response_body.py +1 -1
- samsara/types/assets_delete_asset_bad_gateway_error_response_body.py +1 -1
- samsara/types/assets_delete_asset_gateway_timeout_error_response_body.py +1 -1
- samsara/types/assets_delete_asset_internal_server_error_response_body.py +1 -1
- samsara/types/assets_delete_asset_method_not_allowed_error_response_body.py +1 -1
- samsara/types/assets_delete_asset_not_found_error_response_body.py +1 -1
- samsara/types/assets_delete_asset_not_implemented_error_response_body.py +1 -1
- samsara/types/assets_delete_asset_service_unavailable_error_response_body.py +1 -1
- samsara/types/assets_delete_asset_too_many_requests_error_response_body.py +1 -1
- samsara/types/assets_delete_asset_unauthorized_error_response_body.py +1 -1
- samsara/types/assets_inputs_asset_response_response_body.py +1 -1
- samsara/types/assets_inputs_get_assets_inputs_bad_gateway_error_response_body.py +1 -1
- samsara/types/assets_inputs_get_assets_inputs_gateway_timeout_error_response_body.py +1 -1
- samsara/types/assets_inputs_get_assets_inputs_internal_server_error_response_body.py +1 -1
- samsara/types/assets_inputs_get_assets_inputs_method_not_allowed_error_response_body.py +1 -1
- samsara/types/assets_inputs_get_assets_inputs_not_found_error_response_body.py +1 -1
- samsara/types/assets_inputs_get_assets_inputs_not_implemented_error_response_body.py +1 -1
- samsara/types/assets_inputs_get_assets_inputs_service_unavailable_error_response_body.py +1 -1
- samsara/types/assets_inputs_get_assets_inputs_too_many_requests_error_response_body.py +1 -1
- samsara/types/assets_inputs_get_assets_inputs_unauthorized_error_response_body.py +1 -1
- samsara/types/assets_inputs_response_response_body.py +4 -2
- samsara/types/assets_list_assets_bad_gateway_error_response_body.py +1 -1
- samsara/types/assets_list_assets_gateway_timeout_error_response_body.py +1 -1
- samsara/types/assets_list_assets_internal_server_error_response_body.py +1 -1
- samsara/types/assets_list_assets_method_not_allowed_error_response_body.py +1 -1
- samsara/types/assets_list_assets_not_found_error_response_body.py +1 -1
- samsara/types/assets_list_assets_not_implemented_error_response_body.py +1 -1
- samsara/types/assets_list_assets_service_unavailable_error_response_body.py +1 -1
- samsara/types/assets_list_assets_too_many_requests_error_response_body.py +1 -1
- samsara/types/assets_list_assets_unauthorized_error_response_body.py +1 -1
- samsara/types/assets_location_link_config_address_details_object.py +3 -1
- samsara/types/assets_location_link_config_address_details_object_response_body.py +3 -1
- samsara/types/assets_location_link_request_config_object.py +2 -2
- samsara/types/assets_location_link_response_config_object_response_body.py +1 -1
- samsara/types/assets_near_location_link_config_object.py +1 -1
- samsara/types/assets_near_location_link_config_object_response_body.py +1 -1
- samsara/types/assets_on_route_link_config_object.py +3 -1
- samsara/types/assets_on_route_link_config_object_response_body.py +3 -1
- samsara/types/assets_update_asset_bad_gateway_error_response_body.py +1 -1
- samsara/types/assets_update_asset_gateway_timeout_error_response_body.py +1 -1
- samsara/types/assets_update_asset_internal_server_error_response_body.py +1 -1
- samsara/types/assets_update_asset_method_not_allowed_error_response_body.py +1 -1
- samsara/types/assets_update_asset_not_found_error_response_body.py +1 -1
- samsara/types/assets_update_asset_not_implemented_error_response_body.py +1 -1
- samsara/types/assets_update_asset_service_unavailable_error_response_body.py +1 -1
- samsara/types/assets_update_asset_too_many_requests_error_response_body.py +1 -1
- samsara/types/assets_update_asset_unauthorized_error_response_body.py +1 -1
- samsara/types/attribute.py +5 -5
- samsara/types/attribute_attribute_type.py +1 -1
- samsara/types/attribute_entity.py +13 -4
- samsara/types/attribute_tiny.py +9 -2
- samsara/types/attribute_value_tiny.py +1 -1
- samsara/types/auth_token_auth_token_bad_gateway_error_response_body.py +33 -0
- samsara/types/auth_token_auth_token_gateway_timeout_error_response_body.py +33 -0
- samsara/types/auth_token_auth_token_internal_server_error_response_body.py +33 -0
- samsara/types/auth_token_auth_token_method_not_allowed_error_response_body.py +33 -0
- samsara/types/auth_token_auth_token_not_found_error_response_body.py +33 -0
- samsara/types/auth_token_auth_token_not_implemented_error_response_body.py +33 -0
- samsara/types/auth_token_auth_token_response_body.py +20 -0
- samsara/types/auth_token_auth_token_service_unavailable_error_response_body.py +33 -0
- samsara/types/auth_token_auth_token_too_many_requests_error_response_body.py +33 -0
- samsara/types/auth_token_auth_token_unauthorized_error_response_body.py +33 -0
- samsara/types/auth_token_for_driver_response_response_body.py +35 -0
- samsara/types/author_signature_object_response_body.py +6 -2
- samsara/types/barcode_value_object_request_body.py +2 -2
- samsara/types/barcode_value_object_response_body.py +2 -2
- samsara/types/base_route_response_object_response_body.py +8 -8
- samsara/types/behavior_count_details_request_body.py +41 -0
- samsara/types/behavior_count_details_request_body_comparison.py +8 -0
- samsara/types/behavior_count_details_response_body.py +41 -0
- samsara/types/behavior_count_details_response_body_comparison.py +8 -0
- samsara/types/behavior_response_body.py +6 -4
- samsara/types/camera_details_response_response_body.py +3 -3
- samsara/types/camera_stream_issue_response_body.py +1 -1
- samsara/types/carrier_proposed_assignment.py +7 -5
- samsara/types/carrier_proposed_assignment_driver_all_of.py +1 -1
- samsara/types/cell_connectivity_response_response_body.py +1 -1
- samsara/types/cell_signal_loss_details_object_request_body.py +1 -1
- samsara/types/cell_signal_loss_details_object_response_body.py +1 -1
- samsara/types/circle_request_body.py +3 -1
- samsara/types/circle_response_body.py +3 -1
- samsara/types/coach_assignment_with_driver_external_ids_response_response_body.py +7 -3
- samsara/types/coach_assignment_without_driver_external_ids_response_response_body.py +8 -4
- samsara/types/coaching_sessions_get_coaching_sessions_bad_gateway_error_response_body.py +1 -1
- samsara/types/coaching_sessions_get_coaching_sessions_gateway_timeout_error_response_body.py +1 -1
- samsara/types/coaching_sessions_get_coaching_sessions_internal_server_error_response_body.py +1 -1
- samsara/types/coaching_sessions_get_coaching_sessions_method_not_allowed_error_response_body.py +1 -1
- samsara/types/coaching_sessions_get_coaching_sessions_not_found_error_response_body.py +1 -1
- samsara/types/coaching_sessions_get_coaching_sessions_not_implemented_error_response_body.py +1 -1
- samsara/types/coaching_sessions_get_coaching_sessions_service_unavailable_error_response_body.py +1 -1
- samsara/types/coaching_sessions_get_coaching_sessions_too_many_requests_error_response_body.py +1 -1
- samsara/types/coaching_sessions_get_coaching_sessions_unauthorized_error_response_body.py +1 -1
- samsara/types/coaching_sessions_response_response_body.py +12 -8
- samsara/types/column_response_body.py +38 -0
- samsara/types/column_response_body_data_type.py +7 -0
- samsara/types/column_response_body_unit.py +88 -0
- samsara/types/conditional_field_section_object_response_body.py +4 -4
- samsara/types/connection_status_response_object_response_body.py +2 -2
- samsara/types/contact.py +6 -2
- samsara/types/contact_tiny_response.py +2 -2
- samsara/types/continuous_reading_alert_threshold_response_body.py +2 -2
- samsara/types/continuous_reading_alert_threshold_response_body_unit.py +10 -0
- samsara/types/create_address_request_geofence_settings.py +1 -1
- samsara/types/create_attribute_request_entities.py +12 -4
- samsara/types/create_driver_auth_token_response_response_body.py +3 -1
- samsara/types/create_driver_request_attributes.py +2 -2
- samsara/types/create_report_config_column_request_body.py +24 -0
- samsara/types/create_report_config_object_request_body.py +43 -0
- samsara/types/create_routes_stop_request_object_request_body.py +8 -8
- samsara/types/create_user_request_roles.py +2 -2
- samsara/types/cumulative_operating_hours_response_body.py +1 -1
- samsara/types/current_duty_status.py +1 -1
- samsara/types/data_input_response_all_of.py +5 -5
- samsara/types/data_input_snapshot_all_of.py +5 -5
- samsara/types/data_input_tiny_response.py +2 -2
- samsara/types/data_input_value_response_body.py +1 -1
- samsara/types/data_usage_response_object_response_body.py +2 -2
- samsara/types/date_time_value_object_request_body.py +1 -1
- samsara/types/date_time_value_object_response_body.py +1 -1
- samsara/types/def_level_trigger_details_object_request_body.py +4 -2
- samsara/types/def_level_trigger_details_object_response_body.py +4 -2
- samsara/types/def_remaining_response_body.py +1 -1
- samsara/types/defect.py +9 -7
- samsara/types/defect_photo_response_response_body.py +3 -1
- samsara/types/defect_trailer_response_response_body.py +1 -1
- samsara/types/defect_types_response_data_response_body.py +4 -2
- samsara/types/defect_vehicle_response_response_body.py +1 -1
- samsara/types/defects_response_data_response_body.py +11 -9
- samsara/types/depreciation_get_depreciation_transactions_bad_gateway_error_response_body.py +33 -0
- samsara/types/depreciation_get_depreciation_transactions_gateway_timeout_error_response_body.py +33 -0
- samsara/types/depreciation_get_depreciation_transactions_internal_server_error_response_body.py +33 -0
- samsara/types/depreciation_get_depreciation_transactions_method_not_allowed_error_response_body.py +33 -0
- samsara/types/depreciation_get_depreciation_transactions_not_found_error_response_body.py +33 -0
- samsara/types/depreciation_get_depreciation_transactions_not_implemented_error_response_body.py +33 -0
- samsara/types/depreciation_get_depreciation_transactions_response_body.py +26 -0
- samsara/types/depreciation_get_depreciation_transactions_service_unavailable_error_response_body.py +33 -0
- samsara/types/depreciation_get_depreciation_transactions_too_many_requests_error_response_body.py +33 -0
- samsara/types/depreciation_get_depreciation_transactions_unauthorized_error_response_body.py +33 -0
- samsara/types/depreciation_transaction_money_object_response_body.py +34 -0
- samsara/types/depreciation_transaction_money_object_response_body_currency.py +7 -0
- samsara/types/depreciation_transaction_object_response_body.py +79 -0
- samsara/types/depreciation_transaction_object_response_body_transaction_type.py +7 -0
- samsara/types/detection_log_detection_object_response_body.py +12 -6
- samsara/types/detection_log_detection_object_response_body_trigger_detection_label.py +7 -0
- samsara/types/detection_log_driver_object_response_body.py +1 -1
- samsara/types/detection_log_get_detections_bad_gateway_error_response_body.py +1 -1
- samsara/types/detection_log_get_detections_gateway_timeout_error_response_body.py +1 -1
- samsara/types/detection_log_get_detections_internal_server_error_response_body.py +1 -1
- samsara/types/detection_log_get_detections_method_not_allowed_error_response_body.py +1 -1
- samsara/types/detection_log_get_detections_not_found_error_response_body.py +1 -1
- samsara/types/detection_log_get_detections_not_implemented_error_response_body.py +1 -1
- samsara/types/detection_log_get_detections_service_unavailable_error_response_body.py +1 -1
- samsara/types/detection_log_get_detections_too_many_requests_error_response_body.py +1 -1
- samsara/types/detection_log_get_detections_unauthorized_error_response_body.py +1 -1
- samsara/types/detection_log_safety_event_object_response_body.py +10 -3
- samsara/types/detection_log_safety_event_object_response_body_inbox_filter_reason.py +1 -0
- samsara/types/device_movement_trigger_details_object_request_body.py +1 -1
- samsara/types/device_movement_trigger_details_object_response_body.py +1 -1
- samsara/types/device_response_response_body.py +8 -2
- samsara/types/devices_get_devices_bad_gateway_error_response_body.py +1 -1
- samsara/types/devices_get_devices_gateway_timeout_error_response_body.py +1 -1
- samsara/types/devices_get_devices_internal_server_error_response_body.py +1 -1
- samsara/types/devices_get_devices_method_not_allowed_error_response_body.py +1 -1
- samsara/types/devices_get_devices_not_found_error_response_body.py +1 -1
- samsara/types/devices_get_devices_not_implemented_error_response_body.py +1 -1
- samsara/types/devices_get_devices_service_unavailable_error_response_body.py +1 -1
- samsara/types/devices_get_devices_too_many_requests_error_response_body.py +1 -1
- samsara/types/devices_get_devices_unauthorized_error_response_body.py +1 -1
- samsara/types/distance_response_body.py +2 -2
- samsara/types/distance_traveled_object_response_body.py +3 -3
- samsara/types/distracted_driving_detection_alert_settings_object_response_body.py +3 -3
- samsara/types/document_pdf_generation_response_data.py +1 -1
- samsara/types/document_pdf_query_response_data.py +5 -5
- samsara/types/document_response_object_response_body.py +7 -5
- samsara/types/document_types_get_document_types_bad_gateway_error_response_body.py +1 -1
- samsara/types/document_types_get_document_types_gateway_timeout_error_response_body.py +1 -1
- samsara/types/document_types_get_document_types_internal_server_error_response_body.py +1 -1
- samsara/types/document_types_get_document_types_method_not_allowed_error_response_body.py +1 -1
- samsara/types/document_types_get_document_types_not_found_error_response_body.py +1 -1
- samsara/types/document_types_get_document_types_not_implemented_error_response_body.py +1 -1
- samsara/types/document_types_get_document_types_service_unavailable_error_response_body.py +1 -1
- samsara/types/document_types_get_document_types_too_many_requests_error_response_body.py +1 -1
- samsara/types/document_types_get_document_types_unauthorized_error_response_body.py +1 -1
- samsara/types/documents_delete_document_bad_gateway_error_response_body.py +1 -1
- samsara/types/documents_delete_document_gateway_timeout_error_response_body.py +1 -1
- samsara/types/documents_delete_document_internal_server_error_response_body.py +1 -1
- samsara/types/documents_delete_document_method_not_allowed_error_response_body.py +1 -1
- samsara/types/documents_delete_document_not_found_error_response_body.py +1 -1
- samsara/types/documents_delete_document_not_implemented_error_response_body.py +1 -1
- samsara/types/documents_delete_document_service_unavailable_error_response_body.py +1 -1
- samsara/types/documents_delete_document_too_many_requests_error_response_body.py +1 -1
- samsara/types/documents_delete_document_unauthorized_error_response_body.py +1 -1
- samsara/types/documents_get_document_bad_gateway_error_response_body.py +1 -1
- samsara/types/documents_get_document_gateway_timeout_error_response_body.py +1 -1
- samsara/types/documents_get_document_internal_server_error_response_body.py +1 -1
- samsara/types/documents_get_document_method_not_allowed_error_response_body.py +1 -1
- samsara/types/documents_get_document_not_found_error_response_body.py +1 -1
- samsara/types/documents_get_document_not_implemented_error_response_body.py +1 -1
- samsara/types/documents_get_document_service_unavailable_error_response_body.py +1 -1
- samsara/types/documents_get_document_too_many_requests_error_response_body.py +1 -1
- samsara/types/documents_get_document_unauthorized_error_response_body.py +1 -1
- samsara/types/documents_get_documents_bad_gateway_error_response_body.py +1 -1
- samsara/types/documents_get_documents_gateway_timeout_error_response_body.py +1 -1
- samsara/types/documents_get_documents_internal_server_error_response_body.py +1 -1
- samsara/types/documents_get_documents_method_not_allowed_error_response_body.py +1 -1
- samsara/types/documents_get_documents_not_found_error_response_body.py +1 -1
- samsara/types/documents_get_documents_not_implemented_error_response_body.py +1 -1
- samsara/types/documents_get_documents_service_unavailable_error_response_body.py +1 -1
- samsara/types/documents_get_documents_too_many_requests_error_response_body.py +1 -1
- samsara/types/documents_get_documents_unauthorized_error_response_body.py +1 -1
- samsara/types/documents_post_document_bad_gateway_error_response_body.py +1 -1
- samsara/types/documents_post_document_gateway_timeout_error_response_body.py +1 -1
- samsara/types/documents_post_document_internal_server_error_response_body.py +1 -1
- samsara/types/documents_post_document_method_not_allowed_error_response_body.py +1 -1
- samsara/types/documents_post_document_not_found_error_response_body.py +1 -1
- samsara/types/documents_post_document_not_implemented_error_response_body.py +1 -1
- samsara/types/documents_post_document_service_unavailable_error_response_body.py +1 -1
- samsara/types/documents_post_document_too_many_requests_error_response_body.py +1 -1
- samsara/types/documents_post_document_unauthorized_error_response_body.py +1 -1
- samsara/types/driver.py +28 -26
- samsara/types/driver_app_notification_object_request_body.py +2 -2
- samsara/types/driver_app_notification_object_response_body.py +2 -2
- samsara/types/driver_app_settings_gamification_config_tiny_object_request_body.py +1 -1
- samsara/types/driver_app_settings_gamification_config_tiny_object_response_body.py +1 -1
- samsara/types/driver_app_settings_response_object_response_body.py +5 -5
- samsara/types/driver_app_settings_trailer_selection_config_tiny_object_request_body.py +3 -3
- samsara/types/driver_app_settings_trailer_selection_config_tiny_object_response_body.py +3 -3
- samsara/types/driver_app_sign_in_response_body.py +1 -1
- samsara/types/driver_assignment_metadata_tiny_object_response_body.py +1 -1
- samsara/types/driver_assignment_object_response_body.py +4 -4
- samsara/types/driver_carrier_settings.py +5 -5
- samsara/types/driver_coach_assignments_get_driver_coach_assignment_bad_gateway_error_response_body.py +1 -1
- samsara/types/driver_coach_assignments_get_driver_coach_assignment_gateway_timeout_error_response_body.py +1 -1
- samsara/types/driver_coach_assignments_get_driver_coach_assignment_internal_server_error_response_body.py +1 -1
- samsara/types/driver_coach_assignments_get_driver_coach_assignment_method_not_allowed_error_response_body.py +1 -1
- samsara/types/driver_coach_assignments_get_driver_coach_assignment_not_found_error_response_body.py +1 -1
- samsara/types/driver_coach_assignments_get_driver_coach_assignment_not_implemented_error_response_body.py +1 -1
- samsara/types/driver_coach_assignments_get_driver_coach_assignment_service_unavailable_error_response_body.py +1 -1
- samsara/types/driver_coach_assignments_get_driver_coach_assignment_too_many_requests_error_response_body.py +1 -1
- samsara/types/driver_coach_assignments_get_driver_coach_assignment_unauthorized_error_response_body.py +1 -1
- samsara/types/driver_coach_assignments_put_driver_coach_assignment_bad_gateway_error_response_body.py +1 -1
- samsara/types/driver_coach_assignments_put_driver_coach_assignment_gateway_timeout_error_response_body.py +1 -1
- samsara/types/driver_coach_assignments_put_driver_coach_assignment_internal_server_error_response_body.py +1 -1
- samsara/types/driver_coach_assignments_put_driver_coach_assignment_method_not_allowed_error_response_body.py +1 -1
- samsara/types/driver_coach_assignments_put_driver_coach_assignment_not_found_error_response_body.py +1 -1
- samsara/types/driver_coach_assignments_put_driver_coach_assignment_not_implemented_error_response_body.py +1 -1
- samsara/types/driver_coach_assignments_put_driver_coach_assignment_service_unavailable_error_response_body.py +1 -1
- samsara/types/driver_coach_assignments_put_driver_coach_assignment_too_many_requests_error_response_body.py +1 -1
- samsara/types/driver_coach_assignments_put_driver_coach_assignment_unauthorized_error_response_body.py +1 -1
- samsara/types/driver_document_submitted_details_object_request_body.py +3 -1
- samsara/types/driver_document_submitted_details_object_response_body.py +3 -1
- samsara/types/driver_efficiencies_response_data.py +3 -3
- samsara/types/driver_efficiency.py +15 -13
- samsara/types/driver_efficiency_data_object_response_body.py +11 -9
- samsara/types/driver_efficiency_difficulty_score_data_object_response_body.py +3 -3
- samsara/types/driver_efficiency_get_driver_efficiency_by_drivers_bad_gateway_error_response_body.py +1 -1
- samsara/types/driver_efficiency_get_driver_efficiency_by_drivers_gateway_timeout_error_response_body.py +1 -1
- samsara/types/driver_efficiency_get_driver_efficiency_by_drivers_internal_server_error_response_body.py +1 -1
- samsara/types/driver_efficiency_get_driver_efficiency_by_drivers_method_not_allowed_error_response_body.py +1 -1
- samsara/types/driver_efficiency_get_driver_efficiency_by_drivers_not_found_error_response_body.py +1 -1
- samsara/types/driver_efficiency_get_driver_efficiency_by_drivers_not_implemented_error_response_body.py +1 -1
- samsara/types/driver_efficiency_get_driver_efficiency_by_drivers_service_unavailable_error_response_body.py +1 -1
- samsara/types/driver_efficiency_get_driver_efficiency_by_drivers_too_many_requests_error_response_body.py +1 -1
- samsara/types/driver_efficiency_get_driver_efficiency_by_drivers_unauthorized_error_response_body.py +1 -1
- samsara/types/driver_efficiency_get_driver_efficiency_by_vehicles_bad_gateway_error_response_body.py +1 -1
- samsara/types/driver_efficiency_get_driver_efficiency_by_vehicles_gateway_timeout_error_response_body.py +1 -1
- samsara/types/driver_efficiency_get_driver_efficiency_by_vehicles_internal_server_error_response_body.py +1 -1
- samsara/types/driver_efficiency_get_driver_efficiency_by_vehicles_method_not_allowed_error_response_body.py +1 -1
- samsara/types/driver_efficiency_get_driver_efficiency_by_vehicles_not_found_error_response_body.py +1 -1
- samsara/types/driver_efficiency_get_driver_efficiency_by_vehicles_not_implemented_error_response_body.py +1 -1
- samsara/types/driver_efficiency_get_driver_efficiency_by_vehicles_service_unavailable_error_response_body.py +1 -1
- samsara/types/driver_efficiency_get_driver_efficiency_by_vehicles_too_many_requests_error_response_body.py +1 -1
- samsara/types/driver_efficiency_get_driver_efficiency_by_vehicles_unauthorized_error_response_body.py +1 -1
- samsara/types/driver_efficiency_percentage_data_object_response_body.py +11 -9
- samsara/types/driver_efficiency_raw_data_object_response_body.py +17 -15
- samsara/types/driver_eld_ruleset.py +3 -1
- samsara/types/driver_hos_setting.py +1 -1
- samsara/types/driver_or_tag_ids_details_request_body.py +37 -0
- samsara/types/driver_or_tag_ids_details_response_body.py +37 -0
- samsara/types/driver_qr_codes_create_driver_qr_code_bad_gateway_error_response_body.py +1 -1
- samsara/types/driver_qr_codes_create_driver_qr_code_gateway_timeout_error_response_body.py +1 -1
- samsara/types/driver_qr_codes_create_driver_qr_code_internal_server_error_response_body.py +1 -1
- samsara/types/driver_qr_codes_create_driver_qr_code_method_not_allowed_error_response_body.py +1 -1
- samsara/types/driver_qr_codes_create_driver_qr_code_not_found_error_response_body.py +1 -1
- samsara/types/driver_qr_codes_create_driver_qr_code_not_implemented_error_response_body.py +1 -1
- samsara/types/driver_qr_codes_create_driver_qr_code_service_unavailable_error_response_body.py +1 -1
- samsara/types/driver_qr_codes_create_driver_qr_code_too_many_requests_error_response_body.py +1 -1
- samsara/types/driver_qr_codes_create_driver_qr_code_unauthorized_error_response_body.py +1 -1
- samsara/types/driver_qr_codes_delete_driver_qr_code_bad_gateway_error_response_body.py +1 -1
- samsara/types/driver_qr_codes_delete_driver_qr_code_gateway_timeout_error_response_body.py +1 -1
- samsara/types/driver_qr_codes_delete_driver_qr_code_internal_server_error_response_body.py +1 -1
- samsara/types/driver_qr_codes_delete_driver_qr_code_method_not_allowed_error_response_body.py +1 -1
- samsara/types/driver_qr_codes_delete_driver_qr_code_not_found_error_response_body.py +1 -1
- samsara/types/driver_qr_codes_delete_driver_qr_code_not_implemented_error_response_body.py +1 -1
- samsara/types/driver_qr_codes_delete_driver_qr_code_service_unavailable_error_response_body.py +1 -1
- samsara/types/driver_qr_codes_delete_driver_qr_code_too_many_requests_error_response_body.py +1 -1
- samsara/types/driver_qr_codes_delete_driver_qr_code_unauthorized_error_response_body.py +1 -1
- samsara/types/driver_qr_codes_get_drivers_qr_codes_bad_gateway_error_response_body.py +1 -1
- samsara/types/driver_qr_codes_get_drivers_qr_codes_gateway_timeout_error_response_body.py +1 -1
- samsara/types/driver_qr_codes_get_drivers_qr_codes_internal_server_error_response_body.py +1 -1
- samsara/types/driver_qr_codes_get_drivers_qr_codes_method_not_allowed_error_response_body.py +1 -1
- samsara/types/driver_qr_codes_get_drivers_qr_codes_not_found_error_response_body.py +1 -1
- samsara/types/driver_qr_codes_get_drivers_qr_codes_not_implemented_error_response_body.py +1 -1
- samsara/types/driver_qr_codes_get_drivers_qr_codes_service_unavailable_error_response_body.py +1 -1
- samsara/types/driver_qr_codes_get_drivers_qr_codes_too_many_requests_error_response_body.py +1 -1
- samsara/types/driver_qr_codes_get_drivers_qr_codes_unauthorized_error_response_body.py +1 -1
- samsara/types/driver_remote_signout_post_driver_remote_signout_bad_gateway_error_response_body.py +1 -1
- samsara/types/driver_remote_signout_post_driver_remote_signout_gateway_timeout_error_response_body.py +1 -1
- samsara/types/driver_remote_signout_post_driver_remote_signout_internal_server_error_response_body.py +1 -1
- samsara/types/driver_remote_signout_post_driver_remote_signout_method_not_allowed_error_response_body.py +1 -1
- samsara/types/driver_remote_signout_post_driver_remote_signout_not_found_error_response_body.py +1 -1
- samsara/types/driver_remote_signout_post_driver_remote_signout_not_implemented_error_response_body.py +1 -1
- samsara/types/driver_remote_signout_post_driver_remote_signout_response_body.py +1 -1
- samsara/types/driver_remote_signout_post_driver_remote_signout_service_unavailable_error_response_body.py +1 -1
- samsara/types/driver_remote_signout_post_driver_remote_signout_too_many_requests_error_response_body.py +1 -1
- samsara/types/driver_remote_signout_post_driver_remote_signout_unauthorized_error_response_body.py +1 -1
- samsara/types/driver_ruleset_object_response_body.py +1 -1
- samsara/types/driver_safety_score_response_body.py +6 -4
- samsara/types/driver_vehicle_assignment_v_2_object_response_body.py +7 -5
- samsara/types/driver_vehicle_assignments_v_2_create_driver_vehicle_assignment_bad_gateway_error_response_body.py +1 -1
- samsara/types/driver_vehicle_assignments_v_2_create_driver_vehicle_assignment_gateway_timeout_error_response_body.py +1 -1
- samsara/types/driver_vehicle_assignments_v_2_create_driver_vehicle_assignment_internal_server_error_response_body.py +1 -1
- samsara/types/driver_vehicle_assignments_v_2_create_driver_vehicle_assignment_method_not_allowed_error_response_body.py +1 -1
- samsara/types/driver_vehicle_assignments_v_2_create_driver_vehicle_assignment_not_found_error_response_body.py +1 -1
- samsara/types/driver_vehicle_assignments_v_2_create_driver_vehicle_assignment_not_implemented_error_response_body.py +1 -1
- samsara/types/driver_vehicle_assignments_v_2_create_driver_vehicle_assignment_service_unavailable_error_response_body.py +1 -1
- samsara/types/driver_vehicle_assignments_v_2_create_driver_vehicle_assignment_too_many_requests_error_response_body.py +1 -1
- samsara/types/driver_vehicle_assignments_v_2_create_driver_vehicle_assignment_unauthorized_error_response_body.py +1 -1
- samsara/types/driver_vehicle_assignments_v_2_delete_driver_vehicle_assignments_bad_gateway_error_response_body.py +1 -1
- samsara/types/driver_vehicle_assignments_v_2_delete_driver_vehicle_assignments_gateway_timeout_error_response_body.py +1 -1
- samsara/types/driver_vehicle_assignments_v_2_delete_driver_vehicle_assignments_internal_server_error_response_body.py +1 -1
- samsara/types/driver_vehicle_assignments_v_2_delete_driver_vehicle_assignments_method_not_allowed_error_response_body.py +1 -1
- samsara/types/driver_vehicle_assignments_v_2_delete_driver_vehicle_assignments_not_found_error_response_body.py +1 -1
- samsara/types/driver_vehicle_assignments_v_2_delete_driver_vehicle_assignments_not_implemented_error_response_body.py +1 -1
- samsara/types/driver_vehicle_assignments_v_2_delete_driver_vehicle_assignments_service_unavailable_error_response_body.py +1 -1
- samsara/types/driver_vehicle_assignments_v_2_delete_driver_vehicle_assignments_too_many_requests_error_response_body.py +1 -1
- samsara/types/driver_vehicle_assignments_v_2_delete_driver_vehicle_assignments_unauthorized_error_response_body.py +1 -1
- samsara/types/driver_vehicle_assignments_v_2_get_driver_vehicle_assignments_bad_gateway_error_response_body.py +1 -1
- samsara/types/driver_vehicle_assignments_v_2_get_driver_vehicle_assignments_gateway_timeout_error_response_body.py +1 -1
- samsara/types/driver_vehicle_assignments_v_2_get_driver_vehicle_assignments_internal_server_error_response_body.py +1 -1
- samsara/types/driver_vehicle_assignments_v_2_get_driver_vehicle_assignments_method_not_allowed_error_response_body.py +1 -1
- samsara/types/driver_vehicle_assignments_v_2_get_driver_vehicle_assignments_not_found_error_response_body.py +1 -1
- samsara/types/driver_vehicle_assignments_v_2_get_driver_vehicle_assignments_not_implemented_error_response_body.py +1 -1
- samsara/types/driver_vehicle_assignments_v_2_get_driver_vehicle_assignments_service_unavailable_error_response_body.py +1 -1
- samsara/types/driver_vehicle_assignments_v_2_get_driver_vehicle_assignments_too_many_requests_error_response_body.py +1 -1
- samsara/types/driver_vehicle_assignments_v_2_get_driver_vehicle_assignments_unauthorized_error_response_body.py +1 -1
- samsara/types/driver_vehicle_assignments_v_2_update_driver_vehicle_assignment_bad_gateway_error_response_body.py +1 -1
- samsara/types/driver_vehicle_assignments_v_2_update_driver_vehicle_assignment_gateway_timeout_error_response_body.py +1 -1
- samsara/types/driver_vehicle_assignments_v_2_update_driver_vehicle_assignment_internal_server_error_response_body.py +1 -1
- samsara/types/driver_vehicle_assignments_v_2_update_driver_vehicle_assignment_method_not_allowed_error_response_body.py +1 -1
- samsara/types/driver_vehicle_assignments_v_2_update_driver_vehicle_assignment_not_found_error_response_body.py +1 -1
- samsara/types/driver_vehicle_assignments_v_2_update_driver_vehicle_assignment_not_implemented_error_response_body.py +1 -1
- samsara/types/driver_vehicle_assignments_v_2_update_driver_vehicle_assignment_service_unavailable_error_response_body.py +1 -1
- samsara/types/driver_vehicle_assignments_v_2_update_driver_vehicle_assignment_too_many_requests_error_response_body.py +1 -1
- samsara/types/driver_vehicle_assignments_v_2_update_driver_vehicle_assignment_unauthorized_error_response_body.py +1 -1
- samsara/types/driver_vehicle_group_tag.py +1 -1
- samsara/types/driver_with_external_id_object_response_body.py +2 -2
- samsara/types/driver_with_timezone_eld_settings_object_response_body.py +2 -2
- samsara/types/drivers_auth_token_create_driver_auth_token_bad_gateway_error_response_body.py +1 -1
- samsara/types/drivers_auth_token_create_driver_auth_token_gateway_timeout_error_response_body.py +1 -1
- samsara/types/drivers_auth_token_create_driver_auth_token_internal_server_error_response_body.py +1 -1
- samsara/types/drivers_auth_token_create_driver_auth_token_method_not_allowed_error_response_body.py +1 -1
- samsara/types/drivers_auth_token_create_driver_auth_token_not_found_error_response_body.py +1 -1
- samsara/types/drivers_auth_token_create_driver_auth_token_not_implemented_error_response_body.py +1 -1
- samsara/types/drivers_auth_token_create_driver_auth_token_service_unavailable_error_response_body.py +1 -1
- samsara/types/drivers_auth_token_create_driver_auth_token_too_many_requests_error_response_body.py +1 -1
- samsara/types/drivers_auth_token_create_driver_auth_token_unauthorized_error_response_body.py +1 -1
- samsara/types/drivers_vehicle_assignments_get_drivers_vehicle_assignments_bad_gateway_error_response_body.py +1 -1
- samsara/types/drivers_vehicle_assignments_get_drivers_vehicle_assignments_gateway_timeout_error_response_body.py +1 -1
- samsara/types/drivers_vehicle_assignments_get_drivers_vehicle_assignments_internal_server_error_response_body.py +1 -1
- samsara/types/drivers_vehicle_assignments_get_drivers_vehicle_assignments_method_not_allowed_error_response_body.py +1 -1
- samsara/types/drivers_vehicle_assignments_get_drivers_vehicle_assignments_not_found_error_response_body.py +1 -1
- samsara/types/drivers_vehicle_assignments_get_drivers_vehicle_assignments_not_implemented_error_response_body.py +1 -1
- samsara/types/drivers_vehicle_assignments_get_drivers_vehicle_assignments_service_unavailable_error_response_body.py +1 -1
- samsara/types/drivers_vehicle_assignments_get_drivers_vehicle_assignments_too_many_requests_error_response_body.py +1 -1
- samsara/types/drivers_vehicle_assignments_get_drivers_vehicle_assignments_unauthorized_error_response_body.py +1 -1
- samsara/types/drivers_vehicle_assignments_object_response_body.py +3 -3
- samsara/types/duty_status_duration_object_response_body.py +8 -8
- samsara/types/dvir.py +12 -12
- samsara/types/{reading_type_response_body.py → dvir_2_assigned_to_polymorphic_user_object_response_body.py} +10 -9
- samsara/types/dvir_2_device_object_response_body.py +49 -0
- samsara/types/dvir_2_form_submission_object_response_body.py +47 -0
- samsara/types/dvir_2_related_device_object_response_body.py +38 -0
- samsara/types/dvir_2_related_device_object_response_body_asset_type.py +5 -0
- samsara/types/dvir_2_submission_response_object_response_body.py +50 -0
- samsara/types/dvir_2_submission_response_object_response_body_inspection_type.py +7 -0
- samsara/types/dvir_defect_get_defect_bad_gateway_error_response_body.py +1 -1
- samsara/types/dvir_defect_get_defect_gateway_timeout_error_response_body.py +1 -1
- samsara/types/dvir_defect_get_defect_internal_server_error_response_body.py +1 -1
- samsara/types/dvir_defect_get_defect_method_not_allowed_error_response_body.py +1 -1
- samsara/types/dvir_defect_get_defect_not_found_error_response_body.py +1 -1
- samsara/types/dvir_defect_get_defect_not_implemented_error_response_body.py +1 -1
- samsara/types/dvir_defect_get_defect_response_body.py +11 -9
- samsara/types/dvir_defect_get_defect_service_unavailable_error_response_body.py +1 -1
- samsara/types/dvir_defect_get_defect_too_many_requests_error_response_body.py +1 -1
- samsara/types/dvir_defect_get_defect_unauthorized_error_response_body.py +1 -1
- samsara/types/dvir_defect_stream_defects_bad_gateway_error_response_body.py +1 -1
- samsara/types/dvir_defect_stream_defects_gateway_timeout_error_response_body.py +1 -1
- samsara/types/dvir_defect_stream_defects_internal_server_error_response_body.py +1 -1
- samsara/types/dvir_defect_stream_defects_method_not_allowed_error_response_body.py +1 -1
- samsara/types/dvir_defect_stream_defects_not_found_error_response_body.py +1 -1
- samsara/types/dvir_defect_stream_defects_not_implemented_error_response_body.py +1 -1
- samsara/types/dvir_defect_stream_defects_service_unavailable_error_response_body.py +1 -1
- samsara/types/dvir_defect_stream_defects_too_many_requests_error_response_body.py +1 -1
- samsara/types/dvir_defect_stream_defects_unauthorized_error_response_body.py +1 -1
- samsara/types/dvir_defect_type_get_defect_types_bad_gateway_error_response_body.py +1 -1
- samsara/types/dvir_defect_type_get_defect_types_gateway_timeout_error_response_body.py +1 -1
- samsara/types/dvir_defect_type_get_defect_types_internal_server_error_response_body.py +1 -1
- samsara/types/dvir_defect_type_get_defect_types_method_not_allowed_error_response_body.py +1 -1
- samsara/types/dvir_defect_type_get_defect_types_not_found_error_response_body.py +1 -1
- samsara/types/dvir_defect_type_get_defect_types_not_implemented_error_response_body.py +1 -1
- samsara/types/dvir_defect_type_get_defect_types_service_unavailable_error_response_body.py +1 -1
- samsara/types/dvir_defect_type_get_defect_types_too_many_requests_error_response_body.py +1 -1
- samsara/types/dvir_defect_type_get_defect_types_unauthorized_error_response_body.py +1 -1
- samsara/types/dvir_defects_object_v_20220913_response_body.py +13 -7
- samsara/types/dvir_get_dvir_bad_gateway_error_response_body.py +1 -1
- samsara/types/dvir_get_dvir_gateway_timeout_error_response_body.py +1 -1
- samsara/types/dvir_get_dvir_internal_server_error_response_body.py +1 -1
- samsara/types/dvir_get_dvir_method_not_allowed_error_response_body.py +1 -1
- samsara/types/dvir_get_dvir_not_found_error_response_body.py +1 -1
- samsara/types/dvir_get_dvir_not_implemented_error_response_body.py +1 -1
- samsara/types/dvir_get_dvir_response_body.py +18 -12
- samsara/types/dvir_get_dvir_service_unavailable_error_response_body.py +1 -1
- samsara/types/dvir_get_dvir_too_many_requests_error_response_body.py +1 -1
- samsara/types/dvir_get_dvir_unauthorized_error_response_body.py +1 -1
- samsara/types/dvir_get_dvirs_bad_gateway_error_response_body.py +1 -1
- samsara/types/dvir_get_dvirs_gateway_timeout_error_response_body.py +1 -1
- samsara/types/dvir_get_dvirs_internal_server_error_response_body.py +1 -1
- samsara/types/dvir_get_dvirs_method_not_allowed_error_response_body.py +1 -1
- samsara/types/dvir_get_dvirs_not_found_error_response_body.py +1 -1
- samsara/types/dvir_get_dvirs_not_implemented_error_response_body.py +1 -1
- samsara/types/dvir_get_dvirs_service_unavailable_error_response_body.py +1 -1
- samsara/types/dvir_get_dvirs_too_many_requests_error_response_body.py +1 -1
- samsara/types/dvir_get_dvirs_unauthorized_error_response_body.py +1 -1
- samsara/types/dvir_signature.py +2 -2
- samsara/types/dvir_stream_response_data_response_body.py +18 -12
- samsara/types/dvir_submitted_device_trigger_details_object_request_body.py +2 -2
- samsara/types/dvir_submitted_device_trigger_details_object_response_body.py +2 -2
- samsara/types/dvir_trailer_defects_items.py +9 -7
- samsara/types/dvir_trailer_defects_items_vehicle.py +1 -1
- samsara/types/engine_idle_trigger_details_object_request_body.py +1 -1
- samsara/types/engine_idle_trigger_details_object_response_body.py +1 -1
- samsara/types/engine_immobilizer_get_engine_immobilizer_states_bad_gateway_error_response_body.py +1 -1
- samsara/types/engine_immobilizer_get_engine_immobilizer_states_gateway_timeout_error_response_body.py +1 -1
- samsara/types/engine_immobilizer_get_engine_immobilizer_states_internal_server_error_response_body.py +1 -1
- samsara/types/engine_immobilizer_get_engine_immobilizer_states_method_not_allowed_error_response_body.py +1 -1
- samsara/types/engine_immobilizer_get_engine_immobilizer_states_not_found_error_response_body.py +1 -1
- samsara/types/engine_immobilizer_get_engine_immobilizer_states_not_implemented_error_response_body.py +1 -1
- samsara/types/engine_immobilizer_get_engine_immobilizer_states_service_unavailable_error_response_body.py +1 -1
- samsara/types/engine_immobilizer_get_engine_immobilizer_states_too_many_requests_error_response_body.py +1 -1
- samsara/types/engine_immobilizer_get_engine_immobilizer_states_unauthorized_error_response_body.py +1 -1
- samsara/types/engine_immobilizer_relay_state_response_body.py +1 -1
- samsara/types/engine_immobilizer_state_response_body.py +6 -4
- samsara/types/engine_immobilizer_update_engine_immobilizer_state_bad_gateway_error_response_body.py +1 -1
- samsara/types/engine_immobilizer_update_engine_immobilizer_state_gateway_timeout_error_response_body.py +1 -1
- samsara/types/engine_immobilizer_update_engine_immobilizer_state_internal_server_error_response_body.py +1 -1
- samsara/types/engine_immobilizer_update_engine_immobilizer_state_method_not_allowed_error_response_body.py +1 -1
- samsara/types/engine_immobilizer_update_engine_immobilizer_state_not_found_error_response_body.py +1 -1
- samsara/types/engine_immobilizer_update_engine_immobilizer_state_not_implemented_error_response_body.py +1 -1
- samsara/types/engine_immobilizer_update_engine_immobilizer_state_service_unavailable_error_response_body.py +1 -1
- samsara/types/engine_immobilizer_update_engine_immobilizer_state_too_many_requests_error_response_body.py +1 -1
- samsara/types/engine_immobilizer_update_engine_immobilizer_state_unauthorized_error_response_body.py +1 -1
- samsara/types/engine_off_details_object_request_body.py +1 -1
- samsara/types/engine_off_details_object_response_body.py +1 -1
- samsara/types/engine_on_details_object_request_body.py +1 -1
- samsara/types/engine_on_details_object_response_body.py +1 -1
- samsara/types/engine_status_response_body.py +1 -1
- samsara/types/equipment_header_with_additional_fields_response_body.py +8 -6
- samsara/types/equipment_object.py +3 -3
- samsara/types/equipment_patch_equipment_bad_gateway_error_response_body.py +1 -1
- samsara/types/equipment_patch_equipment_gateway_timeout_error_response_body.py +1 -1
- samsara/types/equipment_patch_equipment_internal_server_error_response_body.py +1 -1
- samsara/types/equipment_patch_equipment_method_not_allowed_error_response_body.py +1 -1
- samsara/types/equipment_patch_equipment_not_found_error_response_body.py +1 -1
- samsara/types/equipment_patch_equipment_not_implemented_error_response_body.py +1 -1
- samsara/types/equipment_patch_equipment_service_unavailable_error_response_body.py +1 -1
- samsara/types/equipment_patch_equipment_too_many_requests_error_response_body.py +1 -1
- samsara/types/equipment_patch_equipment_unauthorized_error_response_body.py +1 -1
- samsara/types/equipment_stats_gps.py +5 -3
- samsara/types/equipment_stats_list_response_data.py +11 -11
- samsara/types/equipment_stats_response_data.py +10 -10
- samsara/types/equipment_with_attributes_response_object_response_body.py +3 -3
- samsara/types/extended_driver_tiny_response.py +1 -1
- samsara/types/fft_spectra_data_point.py +1 -1
- samsara/types/field_object_value_request_body.py +8 -8
- samsara/types/field_object_value_response_body.py +8 -8
- samsara/types/field_types_object_response_body.py +7 -5
- samsara/types/filters_request_body.py +28 -0
- samsara/types/filters_response_body.py +28 -0
- samsara/types/following_distance_detection_alert_settings_object_response_body.py +4 -4
- samsara/types/form_submission_pdf_export_response_object_response_body.py +10 -8
- samsara/types/form_submission_request_check_boxes_value_object_request_body.py +3 -1
- samsara/types/form_submission_request_field_input_object_request_body.py +9 -9
- samsara/types/form_submission_request_media_item_object_request_body.py +4 -2
- samsara/types/form_submission_request_media_value_object_request_body.py +1 -1
- samsara/types/form_submission_request_multiple_choice_value_object_request_body.py +1 -1
- samsara/types/form_submission_request_person_object_request_body.py +3 -1
- samsara/types/form_submission_request_table_cell_object_request_body.py +6 -6
- samsara/types/form_submission_response_object_response_body.py +19 -13
- samsara/types/form_submissions_get_form_submissions_bad_gateway_error_response_body.py +1 -1
- samsara/types/form_submissions_get_form_submissions_gateway_timeout_error_response_body.py +1 -1
- samsara/types/form_submissions_get_form_submissions_internal_server_error_response_body.py +1 -1
- samsara/types/form_submissions_get_form_submissions_method_not_allowed_error_response_body.py +1 -1
- samsara/types/form_submissions_get_form_submissions_not_found_error_response_body.py +1 -1
- samsara/types/form_submissions_get_form_submissions_not_implemented_error_response_body.py +1 -1
- samsara/types/form_submissions_get_form_submissions_pdf_exports_bad_gateway_error_response_body.py +1 -1
- samsara/types/form_submissions_get_form_submissions_pdf_exports_gateway_timeout_error_response_body.py +1 -1
- samsara/types/form_submissions_get_form_submissions_pdf_exports_internal_server_error_response_body.py +1 -1
- samsara/types/form_submissions_get_form_submissions_pdf_exports_method_not_allowed_error_response_body.py +1 -1
- samsara/types/form_submissions_get_form_submissions_pdf_exports_not_found_error_response_body.py +1 -1
- samsara/types/form_submissions_get_form_submissions_pdf_exports_not_implemented_error_response_body.py +1 -1
- samsara/types/form_submissions_get_form_submissions_pdf_exports_service_unavailable_error_response_body.py +1 -1
- samsara/types/form_submissions_get_form_submissions_pdf_exports_too_many_requests_error_response_body.py +1 -1
- samsara/types/form_submissions_get_form_submissions_pdf_exports_unauthorized_error_response_body.py +1 -1
- samsara/types/form_submissions_get_form_submissions_service_unavailable_error_response_body.py +1 -1
- samsara/types/form_submissions_get_form_submissions_stream_bad_gateway_error_response_body.py +1 -1
- samsara/types/form_submissions_get_form_submissions_stream_gateway_timeout_error_response_body.py +1 -1
- samsara/types/form_submissions_get_form_submissions_stream_internal_server_error_response_body.py +1 -1
- samsara/types/form_submissions_get_form_submissions_stream_method_not_allowed_error_response_body.py +1 -1
- samsara/types/form_submissions_get_form_submissions_stream_not_found_error_response_body.py +1 -1
- samsara/types/form_submissions_get_form_submissions_stream_not_implemented_error_response_body.py +1 -1
- samsara/types/form_submissions_get_form_submissions_stream_service_unavailable_error_response_body.py +1 -1
- samsara/types/form_submissions_get_form_submissions_stream_too_many_requests_error_response_body.py +1 -1
- samsara/types/form_submissions_get_form_submissions_stream_unauthorized_error_response_body.py +1 -1
- samsara/types/form_submissions_get_form_submissions_too_many_requests_error_response_body.py +1 -1
- samsara/types/form_submissions_get_form_submissions_unauthorized_error_response_body.py +1 -1
- samsara/types/form_submissions_patch_form_submission_bad_gateway_error_response_body.py +1 -1
- samsara/types/form_submissions_patch_form_submission_gateway_timeout_error_response_body.py +1 -1
- samsara/types/form_submissions_patch_form_submission_internal_server_error_response_body.py +1 -1
- samsara/types/form_submissions_patch_form_submission_method_not_allowed_error_response_body.py +1 -1
- samsara/types/form_submissions_patch_form_submission_not_found_error_response_body.py +1 -1
- samsara/types/form_submissions_patch_form_submission_not_implemented_error_response_body.py +1 -1
- samsara/types/form_submissions_patch_form_submission_service_unavailable_error_response_body.py +1 -1
- samsara/types/form_submissions_patch_form_submission_too_many_requests_error_response_body.py +1 -1
- samsara/types/form_submissions_patch_form_submission_unauthorized_error_response_body.py +1 -1
- samsara/types/form_submissions_post_form_submission_bad_gateway_error_response_body.py +1 -1
- samsara/types/form_submissions_post_form_submission_gateway_timeout_error_response_body.py +1 -1
- samsara/types/form_submissions_post_form_submission_internal_server_error_response_body.py +1 -1
- samsara/types/form_submissions_post_form_submission_method_not_allowed_error_response_body.py +1 -1
- samsara/types/form_submissions_post_form_submission_not_found_error_response_body.py +1 -1
- samsara/types/form_submissions_post_form_submission_not_implemented_error_response_body.py +1 -1
- samsara/types/form_submissions_post_form_submission_service_unavailable_error_response_body.py +1 -1
- samsara/types/form_submissions_post_form_submission_too_many_requests_error_response_body.py +1 -1
- samsara/types/form_submissions_post_form_submission_unauthorized_error_response_body.py +1 -1
- samsara/types/form_submissions_post_form_submissions_pdf_exports_bad_gateway_error_response_body.py +1 -1
- samsara/types/form_submissions_post_form_submissions_pdf_exports_gateway_timeout_error_response_body.py +1 -1
- samsara/types/form_submissions_post_form_submissions_pdf_exports_internal_server_error_response_body.py +1 -1
- samsara/types/form_submissions_post_form_submissions_pdf_exports_method_not_allowed_error_response_body.py +1 -1
- samsara/types/form_submissions_post_form_submissions_pdf_exports_not_found_error_response_body.py +1 -1
- samsara/types/form_submissions_post_form_submissions_pdf_exports_not_implemented_error_response_body.py +1 -1
- samsara/types/form_submissions_post_form_submissions_pdf_exports_service_unavailable_error_response_body.py +1 -1
- samsara/types/form_submissions_post_form_submissions_pdf_exports_too_many_requests_error_response_body.py +1 -1
- samsara/types/form_submissions_post_form_submissions_pdf_exports_unauthorized_error_response_body.py +1 -1
- samsara/types/form_template_reference_object_response_body.py +3 -1
- samsara/types/form_template_request_object_request_body.py +1 -1
- samsara/types/form_template_response_object_response_body.py +17 -7
- samsara/types/form_template_section_object_response_body.py +2 -2
- samsara/types/form_templates_get_form_templates_bad_gateway_error_response_body.py +1 -1
- samsara/types/form_templates_get_form_templates_gateway_timeout_error_response_body.py +1 -1
- samsara/types/form_templates_get_form_templates_internal_server_error_response_body.py +1 -1
- samsara/types/form_templates_get_form_templates_method_not_allowed_error_response_body.py +1 -1
- samsara/types/form_templates_get_form_templates_not_found_error_response_body.py +1 -1
- samsara/types/form_templates_get_form_templates_not_implemented_error_response_body.py +1 -1
- samsara/types/form_templates_get_form_templates_service_unavailable_error_response_body.py +1 -1
- samsara/types/form_templates_get_form_templates_too_many_requests_error_response_body.py +1 -1
- samsara/types/form_templates_get_form_templates_unauthorized_error_response_body.py +1 -1
- samsara/types/forms_action_object_response_body.py +2 -2
- samsara/types/forms_approval_config_object_response_body.py +1 -1
- samsara/types/forms_asset_object_response_body.py +2 -2
- samsara/types/forms_check_boxes_value_object_response_body.py +3 -1
- samsara/types/forms_condition_object_response_body.py +1 -1
- samsara/types/forms_field_definition_object_response_body.py +14 -12
- samsara/types/forms_field_input_object_response_body.py +12 -12
- samsara/types/forms_geofence_object_response_body.py +2 -2
- samsara/types/forms_issue_created_by_field_object_response_body.py +1 -1
- samsara/types/forms_media_record_object_response_body.py +2 -2
- samsara/types/forms_media_value_object_response_body.py +1 -1
- samsara/types/forms_multiple_choice_value_object_response_body.py +1 -1
- samsara/types/forms_person_object_response_body.py +2 -2
- samsara/types/forms_score_object_response_body.py +7 -3
- samsara/types/forms_select_option_object_response_body.py +2 -2
- samsara/types/forms_single_approval_config_object_response_body.py +1 -1
- samsara/types/forms_table_cell_object_response_body.py +8 -8
- samsara/types/forms_table_field_definition_object_response_body.py +6 -6
- samsara/types/forward_collision_detection_alert_settings_object_response_body.py +2 -2
- samsara/types/fuel_energy_cost_response_response_body.py +3 -1
- samsara/types/fuel_energy_driver_report_data_object_response_body.py +1 -1
- samsara/types/fuel_energy_driver_report_object_response_body.py +10 -8
- samsara/types/fuel_energy_get_fuel_energy_driver_reports_bad_gateway_error_response_body.py +1 -1
- samsara/types/fuel_energy_get_fuel_energy_driver_reports_gateway_timeout_error_response_body.py +1 -1
- samsara/types/fuel_energy_get_fuel_energy_driver_reports_internal_server_error_response_body.py +1 -1
- samsara/types/fuel_energy_get_fuel_energy_driver_reports_method_not_allowed_error_response_body.py +1 -1
- samsara/types/fuel_energy_get_fuel_energy_driver_reports_not_found_error_response_body.py +1 -1
- samsara/types/fuel_energy_get_fuel_energy_driver_reports_not_implemented_error_response_body.py +1 -1
- samsara/types/fuel_energy_get_fuel_energy_driver_reports_service_unavailable_error_response_body.py +1 -1
- samsara/types/fuel_energy_get_fuel_energy_driver_reports_too_many_requests_error_response_body.py +1 -1
- samsara/types/fuel_energy_get_fuel_energy_driver_reports_unauthorized_error_response_body.py +1 -1
- samsara/types/fuel_energy_get_fuel_energy_vehicle_reports_bad_gateway_error_response_body.py +1 -1
- samsara/types/fuel_energy_get_fuel_energy_vehicle_reports_gateway_timeout_error_response_body.py +1 -1
- samsara/types/fuel_energy_get_fuel_energy_vehicle_reports_internal_server_error_response_body.py +1 -1
- samsara/types/fuel_energy_get_fuel_energy_vehicle_reports_method_not_allowed_error_response_body.py +1 -1
- samsara/types/fuel_energy_get_fuel_energy_vehicle_reports_not_found_error_response_body.py +1 -1
- samsara/types/fuel_energy_get_fuel_energy_vehicle_reports_not_implemented_error_response_body.py +1 -1
- samsara/types/fuel_energy_get_fuel_energy_vehicle_reports_service_unavailable_error_response_body.py +1 -1
- samsara/types/fuel_energy_get_fuel_energy_vehicle_reports_too_many_requests_error_response_body.py +1 -1
- samsara/types/fuel_energy_get_fuel_energy_vehicle_reports_unauthorized_error_response_body.py +1 -1
- samsara/types/fuel_energy_vehicle_object_response_body.py +2 -2
- samsara/types/fuel_energy_vehicle_report_data_object_response_body.py +1 -1
- samsara/types/fuel_energy_vehicle_report_object_response_body.py +10 -8
- samsara/types/fuel_level_trigger_details_object_request_body.py +4 -2
- samsara/types/fuel_level_trigger_details_object_response_body.py +4 -2
- samsara/types/fuel_purchase_post_fuel_purchase_bad_gateway_error_response_body.py +1 -1
- samsara/types/fuel_purchase_post_fuel_purchase_gateway_timeout_error_response_body.py +1 -1
- samsara/types/fuel_purchase_post_fuel_purchase_internal_server_error_response_body.py +1 -1
- samsara/types/fuel_purchase_post_fuel_purchase_method_not_allowed_error_response_body.py +1 -1
- samsara/types/fuel_purchase_post_fuel_purchase_not_found_error_response_body.py +1 -1
- samsara/types/fuel_purchase_post_fuel_purchase_not_implemented_error_response_body.py +1 -1
- samsara/types/fuel_purchase_post_fuel_purchase_service_unavailable_error_response_body.py +1 -1
- samsara/types/fuel_purchase_post_fuel_purchase_too_many_requests_error_response_body.py +1 -1
- samsara/types/fuel_purchase_post_fuel_purchase_unauthorized_error_response_body.py +1 -1
- samsara/types/fuel_remaining_response_body.py +1 -1
- samsara/types/functions_start_function_run_bad_gateway_error_response_body.py +1 -1
- samsara/types/functions_start_function_run_gateway_timeout_error_response_body.py +1 -1
- samsara/types/functions_start_function_run_internal_server_error_response_body.py +1 -1
- samsara/types/functions_start_function_run_method_not_allowed_error_response_body.py +1 -1
- samsara/types/functions_start_function_run_not_found_error_response_body.py +1 -1
- samsara/types/functions_start_function_run_not_implemented_error_response_body.py +1 -1
- samsara/types/functions_start_function_run_service_unavailable_error_response_body.py +1 -1
- samsara/types/functions_start_function_run_too_many_requests_error_response_body.py +1 -1
- samsara/types/functions_start_function_run_unauthorized_error_response_body.py +1 -1
- samsara/types/gateway_asset_response_object_response_body.py +1 -1
- samsara/types/gateway_details_response_response_body.py +6 -6
- samsara/types/gateway_disconnected_details_object_request_body.py +1 -1
- samsara/types/gateway_disconnected_details_object_response_body.py +1 -1
- samsara/types/gateway_response_object_response_body.py +3 -3
- samsara/types/gateway_unplugged_trigger_details_object_request_body.py +1 -1
- samsara/types/gateway_unplugged_trigger_details_object_response_body.py +1 -1
- samsara/types/gateways_delete_gateway_bad_gateway_error_response_body.py +1 -1
- samsara/types/gateways_delete_gateway_gateway_timeout_error_response_body.py +1 -1
- samsara/types/gateways_delete_gateway_internal_server_error_response_body.py +1 -1
- samsara/types/gateways_delete_gateway_method_not_allowed_error_response_body.py +1 -1
- samsara/types/gateways_delete_gateway_not_found_error_response_body.py +1 -1
- samsara/types/gateways_delete_gateway_not_implemented_error_response_body.py +1 -1
- samsara/types/gateways_delete_gateway_service_unavailable_error_response_body.py +1 -1
- samsara/types/gateways_delete_gateway_too_many_requests_error_response_body.py +1 -1
- samsara/types/gateways_delete_gateway_unauthorized_error_response_body.py +1 -1
- samsara/types/gateways_get_gateways_bad_gateway_error_response_body.py +1 -1
- samsara/types/gateways_get_gateways_gateway_timeout_error_response_body.py +1 -1
- samsara/types/gateways_get_gateways_internal_server_error_response_body.py +1 -1
- samsara/types/gateways_get_gateways_method_not_allowed_error_response_body.py +1 -1
- samsara/types/gateways_get_gateways_not_found_error_response_body.py +1 -1
- samsara/types/gateways_get_gateways_not_implemented_error_response_body.py +1 -1
- samsara/types/gateways_get_gateways_service_unavailable_error_response_body.py +1 -1
- samsara/types/gateways_get_gateways_too_many_requests_error_response_body.py +1 -1
- samsara/types/gateways_get_gateways_unauthorized_error_response_body.py +1 -1
- samsara/types/gateways_post_gateway_bad_gateway_error_response_body.py +1 -1
- samsara/types/gateways_post_gateway_gateway_timeout_error_response_body.py +1 -1
- samsara/types/gateways_post_gateway_internal_server_error_response_body.py +1 -1
- samsara/types/gateways_post_gateway_method_not_allowed_error_response_body.py +1 -1
- samsara/types/gateways_post_gateway_not_found_error_response_body.py +1 -1
- samsara/types/gateways_post_gateway_not_implemented_error_response_body.py +1 -1
- samsara/types/gateways_post_gateway_service_unavailable_error_response_body.py +1 -1
- samsara/types/gateways_post_gateway_too_many_requests_error_response_body.py +1 -1
- samsara/types/gateways_post_gateway_unauthorized_error_response_body.py +1 -1
- samsara/types/geofence_response_response_body.py +1 -1
- samsara/types/get_document_type_response_object_response_body.py +3 -3
- samsara/types/get_driver_trailer_assignments_response_body_response_body.py +4 -4
- samsara/types/get_report_runs_data_object_response_body.py +34 -0
- samsara/types/get_report_runs_data_object_response_body_status.py +7 -0
- samsara/types/get_response_workflow_configuration_object_response_body.py +8 -6
- samsara/types/get_workflow_incident_response_object_response_body.py +16 -6
- samsara/types/goa_address_tiny_response_response_body.py +1 -1
- samsara/types/goa_attribute_tiny.py +9 -2
- samsara/types/goa_attribute_tiny_request_body.py +9 -2
- samsara/types/goa_attribute_tiny_response_body.py +9 -2
- samsara/types/goa_driver_tiny_response_response_body.py +1 -1
- samsara/types/goa_pagination_response_response_body.py +4 -2
- samsara/types/goa_pagination_with_tokens_response_response_body.py +4 -2
- samsara/types/goa_route_stop_tiny_response_response_body.py +1 -1
- samsara/types/goa_route_tiny_response_response_body.py +1 -1
- samsara/types/goa_tag_tiny_response_request_body.py +1 -1
- samsara/types/goa_tag_tiny_response_response_body.py +1 -1
- samsara/types/goa_trailer_tiny_response_response_body.py +1 -1
- samsara/types/goa_vehicle_tiny_response_response_body.py +1 -1
- samsara/types/gps_signal_loss_details_object_request_body.py +1 -1
- samsara/types/gps_signal_loss_details_object_response_body.py +1 -1
- samsara/types/harsh_accel_sensitivity_g_force_settings_object_response_body.py +2 -2
- samsara/types/harsh_accel_sensitivity_v_2_settings_object_response_body.py +2 -2
- samsara/types/harsh_brake_sensitivity_g_force_settings_object_response_body.py +2 -2
- samsara/types/harsh_brake_sensitivity_v_2_settings_object_response_body.py +2 -2
- samsara/types/harsh_event_sensitivity_settings_object_response_body.py +3 -3
- samsara/types/harsh_event_sensitivity_v_2_settings_object_response_body.py +3 -3
- samsara/types/harsh_event_trigger_details_object_request_body_types_item.py +2 -0
- samsara/types/harsh_event_trigger_details_object_response_body_types_item.py +2 -0
- samsara/types/harsh_turn_sensitivity_g_force_settings_object_response_body.py +2 -2
- samsara/types/harsh_turn_sensitivity_v_2_settings_object_response_body.py +2 -2
- samsara/types/health_details_response_response_body.py +2 -2
- samsara/types/health_reason_response_response_body.py +3 -3
- samsara/types/health_reason_response_response_body_health_reason_code.py +1 -0
- samsara/types/health_response_response_body.py +14 -10
- samsara/types/health_response_response_body_primary_health_reason.py +1 -0
- samsara/types/health_response_response_body_recommended_action.py +4 -0
- samsara/types/hos_break.py +1 -1
- samsara/types/hos_clocks.py +3 -1
- samsara/types/hos_clocks_for_driver.py +2 -2
- samsara/types/hos_cycle.py +3 -3
- samsara/types/hos_daily_logs_get_hos_daily_logs_bad_gateway_error_response_body.py +1 -1
- samsara/types/hos_daily_logs_get_hos_daily_logs_gateway_timeout_error_response_body.py +1 -1
- samsara/types/hos_daily_logs_get_hos_daily_logs_internal_server_error_response_body.py +1 -1
- samsara/types/hos_daily_logs_get_hos_daily_logs_method_not_allowed_error_response_body.py +1 -1
- samsara/types/hos_daily_logs_get_hos_daily_logs_not_found_error_response_body.py +1 -1
- samsara/types/hos_daily_logs_get_hos_daily_logs_not_implemented_error_response_body.py +1 -1
- samsara/types/hos_daily_logs_get_hos_daily_logs_service_unavailable_error_response_body.py +1 -1
- samsara/types/hos_daily_logs_get_hos_daily_logs_too_many_requests_error_response_body.py +1 -1
- samsara/types/hos_daily_logs_get_hos_daily_logs_unauthorized_error_response_body.py +1 -1
- samsara/types/hos_daily_logs_object_response_body.py +6 -6
- samsara/types/hos_daily_logs_update_shipping_docs_bad_gateway_error_response_body.py +1 -1
- samsara/types/hos_daily_logs_update_shipping_docs_gateway_timeout_error_response_body.py +1 -1
- samsara/types/hos_daily_logs_update_shipping_docs_internal_server_error_response_body.py +1 -1
- samsara/types/hos_daily_logs_update_shipping_docs_method_not_allowed_error_response_body.py +1 -1
- samsara/types/hos_daily_logs_update_shipping_docs_not_found_error_response_body.py +1 -1
- samsara/types/hos_daily_logs_update_shipping_docs_not_implemented_error_response_body.py +1 -1
- samsara/types/hos_daily_logs_update_shipping_docs_service_unavailable_error_response_body.py +1 -1
- samsara/types/hos_daily_logs_update_shipping_docs_too_many_requests_error_response_body.py +1 -1
- samsara/types/hos_daily_logs_update_shipping_docs_unauthorized_error_response_body.py +1 -1
- samsara/types/hos_drive.py +1 -1
- samsara/types/hos_drivers_eld_event_object_response_body.py +3 -3
- samsara/types/hos_eld_event_location_object_response_body.py +1 -1
- samsara/types/hos_eld_event_object_response_body.py +13 -9
- samsara/types/hos_eld_event_remark_object_response_body.py +2 -2
- samsara/types/hos_eld_events_get_hos_eld_events_bad_gateway_error_response_body.py +1 -1
- samsara/types/hos_eld_events_get_hos_eld_events_gateway_timeout_error_response_body.py +1 -1
- samsara/types/hos_eld_events_get_hos_eld_events_internal_server_error_response_body.py +1 -1
- samsara/types/hos_eld_events_get_hos_eld_events_method_not_allowed_error_response_body.py +1 -1
- samsara/types/hos_eld_events_get_hos_eld_events_not_found_error_response_body.py +1 -1
- samsara/types/hos_eld_events_get_hos_eld_events_not_implemented_error_response_body.py +1 -1
- samsara/types/hos_eld_events_get_hos_eld_events_service_unavailable_error_response_body.py +1 -1
- samsara/types/hos_eld_events_get_hos_eld_events_too_many_requests_error_response_body.py +1 -1
- samsara/types/hos_eld_events_get_hos_eld_events_unauthorized_error_response_body.py +1 -1
- samsara/types/hos_log_entry.py +8 -4
- samsara/types/hos_logs_for_driver.py +3 -1
- samsara/types/hos_shift.py +1 -1
- samsara/types/hos_violation_day_object_response_body.py +2 -2
- samsara/types/hos_violation_object_response_body.py +6 -2
- samsara/types/hos_violation_trigger_details_object_request_body.py +1 -1
- samsara/types/hos_violation_trigger_details_object_response_body.py +1 -1
- samsara/types/hos_violations.py +2 -2
- samsara/types/hos_violations_get_hos_violations_bad_gateway_error_response_body.py +1 -1
- samsara/types/hos_violations_get_hos_violations_gateway_timeout_error_response_body.py +1 -1
- samsara/types/hos_violations_get_hos_violations_internal_server_error_response_body.py +1 -1
- samsara/types/hos_violations_get_hos_violations_method_not_allowed_error_response_body.py +1 -1
- samsara/types/hos_violations_get_hos_violations_not_found_error_response_body.py +1 -1
- samsara/types/hos_violations_get_hos_violations_not_implemented_error_response_body.py +1 -1
- samsara/types/hos_violations_get_hos_violations_service_unavailable_error_response_body.py +1 -1
- samsara/types/hos_violations_get_hos_violations_too_many_requests_error_response_body.py +1 -1
- samsara/types/hos_violations_get_hos_violations_unauthorized_error_response_body.py +1 -1
- samsara/types/hub_capacities_list_hub_capacities_bad_gateway_error_response_body.py +1 -1
- samsara/types/hub_capacities_list_hub_capacities_gateway_timeout_error_response_body.py +1 -1
- samsara/types/hub_capacities_list_hub_capacities_internal_server_error_response_body.py +1 -1
- samsara/types/hub_capacities_list_hub_capacities_method_not_allowed_error_response_body.py +1 -1
- samsara/types/hub_capacities_list_hub_capacities_not_found_error_response_body.py +1 -1
- samsara/types/hub_capacities_list_hub_capacities_not_implemented_error_response_body.py +1 -1
- samsara/types/hub_capacities_list_hub_capacities_service_unavailable_error_response_body.py +1 -1
- samsara/types/hub_capacities_list_hub_capacities_too_many_requests_error_response_body.py +1 -1
- samsara/types/hub_capacities_list_hub_capacities_unauthorized_error_response_body.py +1 -1
- samsara/types/hub_capacity_object_response_body.py +7 -3
- samsara/types/hub_custom_properties_list_hub_custom_properties_bad_gateway_error_response_body.py +33 -0
- samsara/types/hub_custom_properties_list_hub_custom_properties_gateway_timeout_error_response_body.py +33 -0
- samsara/types/hub_custom_properties_list_hub_custom_properties_internal_server_error_response_body.py +33 -0
- samsara/types/hub_custom_properties_list_hub_custom_properties_method_not_allowed_error_response_body.py +33 -0
- samsara/types/hub_custom_properties_list_hub_custom_properties_not_found_error_response_body.py +33 -0
- samsara/types/hub_custom_properties_list_hub_custom_properties_not_implemented_error_response_body.py +33 -0
- samsara/types/hub_custom_properties_list_hub_custom_properties_response_body.py +28 -0
- samsara/types/hub_custom_properties_list_hub_custom_properties_service_unavailable_error_response_body.py +33 -0
- samsara/types/hub_custom_properties_list_hub_custom_properties_too_many_requests_error_response_body.py +33 -0
- samsara/types/hub_custom_properties_list_hub_custom_properties_unauthorized_error_response_body.py +33 -0
- samsara/types/hub_custom_property_object_response_body.py +60 -0
- samsara/types/hub_location_created_object_response_body.py +22 -10
- samsara/types/hub_location_input_object_request_body.py +14 -12
- samsara/types/hub_location_object_response_body.py +22 -10
- samsara/types/hub_location_service_window_input_request_body.py +5 -3
- samsara/types/hub_location_updated_object_response_body.py +22 -10
- samsara/types/hub_locations_create_hub_locations_bad_gateway_error_response_body.py +1 -1
- samsara/types/hub_locations_create_hub_locations_gateway_timeout_error_response_body.py +1 -1
- samsara/types/hub_locations_create_hub_locations_internal_server_error_response_body.py +1 -1
- samsara/types/hub_locations_create_hub_locations_method_not_allowed_error_response_body.py +1 -1
- samsara/types/hub_locations_create_hub_locations_not_found_error_response_body.py +1 -1
- samsara/types/hub_locations_create_hub_locations_not_implemented_error_response_body.py +1 -1
- samsara/types/hub_locations_create_hub_locations_service_unavailable_error_response_body.py +1 -1
- samsara/types/hub_locations_create_hub_locations_too_many_requests_error_response_body.py +1 -1
- samsara/types/hub_locations_create_hub_locations_unauthorized_error_response_body.py +1 -1
- samsara/types/hub_locations_list_hub_locations_bad_gateway_error_response_body.py +1 -1
- samsara/types/hub_locations_list_hub_locations_gateway_timeout_error_response_body.py +1 -1
- samsara/types/hub_locations_list_hub_locations_internal_server_error_response_body.py +1 -1
- samsara/types/hub_locations_list_hub_locations_method_not_allowed_error_response_body.py +1 -1
- samsara/types/hub_locations_list_hub_locations_not_found_error_response_body.py +1 -1
- samsara/types/hub_locations_list_hub_locations_not_implemented_error_response_body.py +1 -1
- samsara/types/hub_locations_list_hub_locations_service_unavailable_error_response_body.py +1 -1
- samsara/types/hub_locations_list_hub_locations_too_many_requests_error_response_body.py +1 -1
- samsara/types/hub_locations_list_hub_locations_unauthorized_error_response_body.py +1 -1
- samsara/types/hub_locations_update_hub_location_bad_gateway_error_response_body.py +1 -1
- samsara/types/hub_locations_update_hub_location_gateway_timeout_error_response_body.py +1 -1
- samsara/types/hub_locations_update_hub_location_internal_server_error_response_body.py +1 -1
- samsara/types/hub_locations_update_hub_location_method_not_allowed_error_response_body.py +1 -1
- samsara/types/hub_locations_update_hub_location_not_found_error_response_body.py +1 -1
- samsara/types/hub_locations_update_hub_location_not_implemented_error_response_body.py +1 -1
- samsara/types/hub_locations_update_hub_location_service_unavailable_error_response_body.py +1 -1
- samsara/types/hub_locations_update_hub_location_too_many_requests_error_response_body.py +1 -1
- samsara/types/hub_locations_update_hub_location_unauthorized_error_response_body.py +1 -1
- samsara/types/hub_object_response_body.py +7 -3
- samsara/types/hub_plan_routes_list_hub_plan_routes_bad_gateway_error_response_body.py +1 -1
- samsara/types/hub_plan_routes_list_hub_plan_routes_gateway_timeout_error_response_body.py +1 -1
- samsara/types/hub_plan_routes_list_hub_plan_routes_internal_server_error_response_body.py +1 -1
- samsara/types/hub_plan_routes_list_hub_plan_routes_method_not_allowed_error_response_body.py +1 -1
- samsara/types/hub_plan_routes_list_hub_plan_routes_not_found_error_response_body.py +1 -1
- samsara/types/hub_plan_routes_list_hub_plan_routes_not_implemented_error_response_body.py +1 -1
- samsara/types/hub_plan_routes_list_hub_plan_routes_service_unavailable_error_response_body.py +1 -1
- samsara/types/hub_plan_routes_list_hub_plan_routes_too_many_requests_error_response_body.py +1 -1
- samsara/types/hub_plan_routes_list_hub_plan_routes_unauthorized_error_response_body.py +1 -1
- samsara/types/hub_plans_create_hub_plan_bad_gateway_error_response_body.py +1 -1
- samsara/types/hub_plans_create_hub_plan_gateway_timeout_error_response_body.py +1 -1
- samsara/types/hub_plans_create_hub_plan_internal_server_error_response_body.py +1 -1
- samsara/types/hub_plans_create_hub_plan_method_not_allowed_error_response_body.py +1 -1
- samsara/types/hub_plans_create_hub_plan_not_found_error_response_body.py +1 -1
- samsara/types/hub_plans_create_hub_plan_not_implemented_error_response_body.py +1 -1
- samsara/types/hub_plans_create_hub_plan_service_unavailable_error_response_body.py +1 -1
- samsara/types/hub_plans_create_hub_plan_too_many_requests_error_response_body.py +1 -1
- samsara/types/hub_plans_create_hub_plan_unauthorized_error_response_body.py +1 -1
- samsara/types/hub_plans_list_hub_plans_bad_gateway_error_response_body.py +1 -1
- samsara/types/hub_plans_list_hub_plans_gateway_timeout_error_response_body.py +1 -1
- samsara/types/hub_plans_list_hub_plans_internal_server_error_response_body.py +1 -1
- samsara/types/hub_plans_list_hub_plans_method_not_allowed_error_response_body.py +1 -1
- samsara/types/hub_plans_list_hub_plans_not_found_error_response_body.py +1 -1
- samsara/types/hub_plans_list_hub_plans_not_implemented_error_response_body.py +1 -1
- samsara/types/hub_plans_list_hub_plans_service_unavailable_error_response_body.py +1 -1
- samsara/types/hub_plans_list_hub_plans_too_many_requests_error_response_body.py +1 -1
- samsara/types/hub_plans_list_hub_plans_unauthorized_error_response_body.py +1 -1
- samsara/types/hub_skill_object_response_body.py +7 -3
- samsara/types/hub_skills_list_hub_skills_bad_gateway_error_response_body.py +1 -1
- samsara/types/hub_skills_list_hub_skills_gateway_timeout_error_response_body.py +1 -1
- samsara/types/hub_skills_list_hub_skills_internal_server_error_response_body.py +1 -1
- samsara/types/hub_skills_list_hub_skills_method_not_allowed_error_response_body.py +1 -1
- samsara/types/hub_skills_list_hub_skills_not_found_error_response_body.py +1 -1
- samsara/types/hub_skills_list_hub_skills_not_implemented_error_response_body.py +1 -1
- samsara/types/hub_skills_list_hub_skills_service_unavailable_error_response_body.py +1 -1
- samsara/types/hub_skills_list_hub_skills_too_many_requests_error_response_body.py +1 -1
- samsara/types/hub_skills_list_hub_skills_unauthorized_error_response_body.py +1 -1
- samsara/types/hubs_list_hubs_bad_gateway_error_response_body.py +1 -1
- samsara/types/hubs_list_hubs_gateway_timeout_error_response_body.py +1 -1
- samsara/types/hubs_list_hubs_internal_server_error_response_body.py +1 -1
- samsara/types/hubs_list_hubs_method_not_allowed_error_response_body.py +1 -1
- samsara/types/hubs_list_hubs_not_found_error_response_body.py +1 -1
- samsara/types/hubs_list_hubs_not_implemented_error_response_body.py +1 -1
- samsara/types/hubs_list_hubs_service_unavailable_error_response_body.py +1 -1
- samsara/types/hubs_list_hubs_too_many_requests_error_response_body.py +1 -1
- samsara/types/hubs_list_hubs_unauthorized_error_response_body.py +1 -1
- samsara/types/idling_event_address_object_response_body.py +2 -2
- samsara/types/idling_event_address_object_response_body_address_types_item.py +2 -0
- samsara/types/idling_event_asset_object_response_body.py +1 -1
- samsara/types/idling_event_object_v_20251023_response_body.py +11 -9
- samsara/types/idling_event_operator_object_response_body.py +1 -1
- samsara/types/idling_report_event_response_body.py +11 -5
- samsara/types/idling_reports_get_vehicle_idling_reports_bad_gateway_error_response_body.py +1 -1
- samsara/types/idling_reports_get_vehicle_idling_reports_gateway_timeout_error_response_body.py +1 -1
- samsara/types/idling_reports_get_vehicle_idling_reports_internal_server_error_response_body.py +1 -1
- samsara/types/idling_reports_get_vehicle_idling_reports_method_not_allowed_error_response_body.py +1 -1
- samsara/types/idling_reports_get_vehicle_idling_reports_not_found_error_response_body.py +1 -1
- samsara/types/idling_reports_get_vehicle_idling_reports_not_implemented_error_response_body.py +1 -1
- samsara/types/idling_reports_get_vehicle_idling_reports_response_body.py +6 -2
- samsara/types/idling_reports_get_vehicle_idling_reports_service_unavailable_error_response_body.py +1 -1
- samsara/types/idling_reports_get_vehicle_idling_reports_too_many_requests_error_response_body.py +1 -1
- samsara/types/idling_reports_get_vehicle_idling_reports_unauthorized_error_response_body.py +1 -1
- samsara/types/ifta_create_ifta_detail_job_bad_gateway_error_response_body.py +1 -1
- samsara/types/ifta_create_ifta_detail_job_gateway_timeout_error_response_body.py +1 -1
- samsara/types/ifta_create_ifta_detail_job_internal_server_error_response_body.py +1 -1
- samsara/types/ifta_create_ifta_detail_job_method_not_allowed_error_response_body.py +1 -1
- samsara/types/ifta_create_ifta_detail_job_not_found_error_response_body.py +1 -1
- samsara/types/ifta_create_ifta_detail_job_not_implemented_error_response_body.py +1 -1
- samsara/types/ifta_create_ifta_detail_job_service_unavailable_error_response_body.py +1 -1
- samsara/types/ifta_create_ifta_detail_job_too_many_requests_error_response_body.py +1 -1
- samsara/types/ifta_create_ifta_detail_job_unauthorized_error_response_body.py +1 -1
- samsara/types/ifta_detail_job_args_response_body.py +5 -3
- samsara/types/ifta_detail_job_output_response_body.py +10 -4
- samsara/types/ifta_detail_job_response_body.py +8 -6
- samsara/types/ifta_get_ifta_detail_job_bad_gateway_error_response_body.py +1 -1
- samsara/types/ifta_get_ifta_detail_job_gateway_timeout_error_response_body.py +1 -1
- samsara/types/ifta_get_ifta_detail_job_internal_server_error_response_body.py +1 -1
- samsara/types/ifta_get_ifta_detail_job_method_not_allowed_error_response_body.py +1 -1
- samsara/types/ifta_get_ifta_detail_job_not_found_error_response_body.py +1 -1
- samsara/types/ifta_get_ifta_detail_job_not_implemented_error_response_body.py +1 -1
- samsara/types/ifta_get_ifta_detail_job_service_unavailable_error_response_body.py +1 -1
- samsara/types/ifta_get_ifta_detail_job_too_many_requests_error_response_body.py +1 -1
- samsara/types/ifta_get_ifta_detail_job_unauthorized_error_response_body.py +1 -1
- samsara/types/ifta_get_ifta_jurisdiction_reports_bad_gateway_error_response_body.py +1 -1
- samsara/types/ifta_get_ifta_jurisdiction_reports_gateway_timeout_error_response_body.py +1 -1
- samsara/types/ifta_get_ifta_jurisdiction_reports_internal_server_error_response_body.py +1 -1
- samsara/types/ifta_get_ifta_jurisdiction_reports_method_not_allowed_error_response_body.py +1 -1
- samsara/types/ifta_get_ifta_jurisdiction_reports_not_found_error_response_body.py +1 -1
- samsara/types/ifta_get_ifta_jurisdiction_reports_not_implemented_error_response_body.py +1 -1
- samsara/types/ifta_get_ifta_jurisdiction_reports_service_unavailable_error_response_body.py +1 -1
- samsara/types/ifta_get_ifta_jurisdiction_reports_too_many_requests_error_response_body.py +1 -1
- samsara/types/ifta_get_ifta_jurisdiction_reports_unauthorized_error_response_body.py +1 -1
- samsara/types/ifta_get_ifta_vehicle_reports_bad_gateway_error_response_body.py +1 -1
- samsara/types/ifta_get_ifta_vehicle_reports_gateway_timeout_error_response_body.py +1 -1
- samsara/types/ifta_get_ifta_vehicle_reports_internal_server_error_response_body.py +1 -1
- samsara/types/ifta_get_ifta_vehicle_reports_method_not_allowed_error_response_body.py +1 -1
- samsara/types/ifta_get_ifta_vehicle_reports_not_found_error_response_body.py +1 -1
- samsara/types/ifta_get_ifta_vehicle_reports_not_implemented_error_response_body.py +1 -1
- samsara/types/ifta_get_ifta_vehicle_reports_service_unavailable_error_response_body.py +1 -1
- samsara/types/ifta_get_ifta_vehicle_reports_too_many_requests_error_response_body.py +1 -1
- samsara/types/ifta_get_ifta_vehicle_reports_unauthorized_error_response_body.py +1 -1
- samsara/types/ifta_jurisdiction_report_data_object_response_body.py +1 -1
- samsara/types/ifta_jurisdiction_summary_object_response_body.py +7 -3
- samsara/types/ifta_report_troubleshooting_object_response_body.py +6 -4
- samsara/types/ifta_vehicle_report_data_object_response_body.py +1 -1
- samsara/types/in_app_notification_options_object_request_body.py +4 -4
- samsara/types/in_app_notification_options_object_response_body.py +4 -4
- samsara/types/inactivity_response_body.py +1 -1
- samsara/types/inattentive_driving_detection_alert_settings_object_response_body.py +3 -3
- samsara/types/inside_geofence_trigger_details_object_request_body.py +1 -1
- samsara/types/inside_geofence_trigger_details_object_response_body.py +1 -1
- samsara/types/invoice_scan_file_request_body.py +37 -0
- samsara/types/issue_response_object_response_body.py +15 -9
- samsara/types/issues_get_issues_bad_gateway_error_response_body.py +1 -1
- samsara/types/issues_get_issues_gateway_timeout_error_response_body.py +1 -1
- samsara/types/issues_get_issues_internal_server_error_response_body.py +1 -1
- samsara/types/issues_get_issues_method_not_allowed_error_response_body.py +1 -1
- samsara/types/issues_get_issues_not_found_error_response_body.py +1 -1
- samsara/types/issues_get_issues_not_implemented_error_response_body.py +1 -1
- samsara/types/issues_get_issues_service_unavailable_error_response_body.py +1 -1
- samsara/types/issues_get_issues_stream_bad_gateway_error_response_body.py +1 -1
- samsara/types/issues_get_issues_stream_gateway_timeout_error_response_body.py +1 -1
- samsara/types/issues_get_issues_stream_internal_server_error_response_body.py +1 -1
- samsara/types/issues_get_issues_stream_method_not_allowed_error_response_body.py +1 -1
- samsara/types/issues_get_issues_stream_not_found_error_response_body.py +1 -1
- samsara/types/issues_get_issues_stream_not_implemented_error_response_body.py +1 -1
- samsara/types/issues_get_issues_stream_service_unavailable_error_response_body.py +1 -1
- samsara/types/issues_get_issues_stream_too_many_requests_error_response_body.py +1 -1
- samsara/types/issues_get_issues_stream_unauthorized_error_response_body.py +1 -1
- samsara/types/issues_get_issues_too_many_requests_error_response_body.py +1 -1
- samsara/types/issues_get_issues_unauthorized_error_response_body.py +1 -1
- samsara/types/issues_patch_issue_bad_gateway_error_response_body.py +1 -1
- samsara/types/issues_patch_issue_gateway_timeout_error_response_body.py +1 -1
- samsara/types/issues_patch_issue_internal_server_error_response_body.py +1 -1
- samsara/types/issues_patch_issue_method_not_allowed_error_response_body.py +1 -1
- samsara/types/issues_patch_issue_not_found_error_response_body.py +1 -1
- samsara/types/issues_patch_issue_not_implemented_error_response_body.py +1 -1
- samsara/types/issues_patch_issue_service_unavailable_error_response_body.py +1 -1
- samsara/types/issues_patch_issue_too_many_requests_error_response_body.py +1 -1
- samsara/types/issues_patch_issue_unauthorized_error_response_body.py +1 -1
- samsara/types/j_1939_d_1_status_data_point_value.py +16 -6
- samsara/types/job_response_object_response_body.py +14 -10
- samsara/types/jobs_create_job_bad_gateway_error_response_body.py +1 -1
- samsara/types/jobs_create_job_gateway_timeout_error_response_body.py +1 -1
- samsara/types/jobs_create_job_internal_server_error_response_body.py +1 -1
- samsara/types/jobs_create_job_method_not_allowed_error_response_body.py +1 -1
- samsara/types/jobs_create_job_not_found_error_response_body.py +1 -1
- samsara/types/jobs_create_job_not_implemented_error_response_body.py +1 -1
- samsara/types/jobs_create_job_response_body.py +3 -1
- samsara/types/jobs_create_job_service_unavailable_error_response_body.py +1 -1
- samsara/types/jobs_create_job_too_many_requests_error_response_body.py +1 -1
- samsara/types/jobs_create_job_unauthorized_error_response_body.py +1 -1
- samsara/types/jobs_delete_job_bad_gateway_error_response_body.py +1 -1
- samsara/types/jobs_delete_job_gateway_timeout_error_response_body.py +1 -1
- samsara/types/jobs_delete_job_internal_server_error_response_body.py +1 -1
- samsara/types/jobs_delete_job_method_not_allowed_error_response_body.py +1 -1
- samsara/types/jobs_delete_job_not_found_error_response_body.py +1 -1
- samsara/types/jobs_delete_job_not_implemented_error_response_body.py +1 -1
- samsara/types/jobs_delete_job_response_body.py +3 -1
- samsara/types/jobs_delete_job_service_unavailable_error_response_body.py +1 -1
- samsara/types/jobs_delete_job_too_many_requests_error_response_body.py +1 -1
- samsara/types/jobs_delete_job_unauthorized_error_response_body.py +1 -1
- samsara/types/jobs_get_jobs_bad_gateway_error_response_body.py +1 -1
- samsara/types/jobs_get_jobs_gateway_timeout_error_response_body.py +1 -1
- samsara/types/jobs_get_jobs_internal_server_error_response_body.py +1 -1
- samsara/types/jobs_get_jobs_method_not_allowed_error_response_body.py +1 -1
- samsara/types/jobs_get_jobs_not_found_error_response_body.py +1 -1
- samsara/types/jobs_get_jobs_not_implemented_error_response_body.py +1 -1
- samsara/types/jobs_get_jobs_response_body.py +3 -1
- samsara/types/jobs_get_jobs_service_unavailable_error_response_body.py +1 -1
- samsara/types/jobs_get_jobs_too_many_requests_error_response_body.py +1 -1
- samsara/types/jobs_get_jobs_unauthorized_error_response_body.py +1 -1
- samsara/types/jobs_patch_job_bad_gateway_error_response_body.py +1 -1
- samsara/types/jobs_patch_job_gateway_timeout_error_response_body.py +1 -1
- samsara/types/jobs_patch_job_internal_server_error_response_body.py +1 -1
- samsara/types/jobs_patch_job_method_not_allowed_error_response_body.py +1 -1
- samsara/types/jobs_patch_job_not_found_error_response_body.py +1 -1
- samsara/types/jobs_patch_job_not_implemented_error_response_body.py +1 -1
- samsara/types/jobs_patch_job_response_body.py +3 -1
- samsara/types/jobs_patch_job_service_unavailable_error_response_body.py +1 -1
- samsara/types/jobs_patch_job_too_many_requests_error_response_body.py +1 -1
- samsara/types/jobs_patch_job_unauthorized_error_response_body.py +1 -1
- samsara/types/list_hub_capacities_response_pagination_response_body.py +4 -2
- samsara/types/list_hub_custom_properties_response_pagination_response_body.py +37 -0
- samsara/types/list_hub_locations_response_pagination_response_body.py +4 -2
- samsara/types/list_hub_plan_routes_response_pagination_response_body.py +4 -2
- samsara/types/list_hub_plans_response_pagination_response_body.py +4 -2
- samsara/types/list_hub_skills_response_pagination_response_body.py +4 -2
- samsara/types/list_hubs_response_pagination_response_body.py +4 -2
- samsara/types/live_sharing_link_full_response_object_response_body.py +7 -5
- samsara/types/live_sharing_link_response_object_response_body.py +4 -2
- samsara/types/live_sharing_links_create_live_sharing_link_bad_gateway_error_response_body.py +1 -1
- samsara/types/live_sharing_links_create_live_sharing_link_gateway_timeout_error_response_body.py +1 -1
- samsara/types/live_sharing_links_create_live_sharing_link_internal_server_error_response_body.py +1 -1
- samsara/types/live_sharing_links_create_live_sharing_link_method_not_allowed_error_response_body.py +1 -1
- samsara/types/live_sharing_links_create_live_sharing_link_not_found_error_response_body.py +1 -1
- samsara/types/live_sharing_links_create_live_sharing_link_not_implemented_error_response_body.py +1 -1
- samsara/types/live_sharing_links_create_live_sharing_link_service_unavailable_error_response_body.py +1 -1
- samsara/types/live_sharing_links_create_live_sharing_link_too_many_requests_error_response_body.py +1 -1
- samsara/types/live_sharing_links_create_live_sharing_link_unauthorized_error_response_body.py +1 -1
- samsara/types/live_sharing_links_delete_live_sharing_link_bad_gateway_error_response_body.py +1 -1
- samsara/types/live_sharing_links_delete_live_sharing_link_gateway_timeout_error_response_body.py +1 -1
- samsara/types/live_sharing_links_delete_live_sharing_link_internal_server_error_response_body.py +1 -1
- samsara/types/live_sharing_links_delete_live_sharing_link_method_not_allowed_error_response_body.py +1 -1
- samsara/types/live_sharing_links_delete_live_sharing_link_not_found_error_response_body.py +1 -1
- samsara/types/live_sharing_links_delete_live_sharing_link_not_implemented_error_response_body.py +1 -1
- samsara/types/live_sharing_links_delete_live_sharing_link_service_unavailable_error_response_body.py +1 -1
- samsara/types/live_sharing_links_delete_live_sharing_link_too_many_requests_error_response_body.py +1 -1
- samsara/types/live_sharing_links_delete_live_sharing_link_unauthorized_error_response_body.py +1 -1
- samsara/types/live_sharing_links_get_live_sharing_links_bad_gateway_error_response_body.py +1 -1
- samsara/types/live_sharing_links_get_live_sharing_links_gateway_timeout_error_response_body.py +1 -1
- samsara/types/live_sharing_links_get_live_sharing_links_internal_server_error_response_body.py +1 -1
- samsara/types/live_sharing_links_get_live_sharing_links_method_not_allowed_error_response_body.py +1 -1
- samsara/types/live_sharing_links_get_live_sharing_links_not_found_error_response_body.py +1 -1
- samsara/types/live_sharing_links_get_live_sharing_links_not_implemented_error_response_body.py +1 -1
- samsara/types/live_sharing_links_get_live_sharing_links_service_unavailable_error_response_body.py +1 -1
- samsara/types/live_sharing_links_get_live_sharing_links_too_many_requests_error_response_body.py +1 -1
- samsara/types/live_sharing_links_get_live_sharing_links_unauthorized_error_response_body.py +1 -1
- samsara/types/live_sharing_links_update_live_sharing_link_bad_gateway_error_response_body.py +1 -1
- samsara/types/live_sharing_links_update_live_sharing_link_gateway_timeout_error_response_body.py +1 -1
- samsara/types/live_sharing_links_update_live_sharing_link_internal_server_error_response_body.py +1 -1
- samsara/types/live_sharing_links_update_live_sharing_link_method_not_allowed_error_response_body.py +1 -1
- samsara/types/live_sharing_links_update_live_sharing_link_not_found_error_response_body.py +1 -1
- samsara/types/live_sharing_links_update_live_sharing_link_not_implemented_error_response_body.py +1 -1
- samsara/types/live_sharing_links_update_live_sharing_link_service_unavailable_error_response_body.py +1 -1
- samsara/types/live_sharing_links_update_live_sharing_link_too_many_requests_error_response_body.py +1 -1
- samsara/types/live_sharing_links_update_live_sharing_link_unauthorized_error_response_body.py +1 -1
- samsara/types/location_and_speed_get_location_and_speed_bad_gateway_error_response_body.py +1 -1
- samsara/types/location_and_speed_get_location_and_speed_gateway_timeout_error_response_body.py +1 -1
- samsara/types/location_and_speed_get_location_and_speed_internal_server_error_response_body.py +1 -1
- samsara/types/location_and_speed_get_location_and_speed_method_not_allowed_error_response_body.py +1 -1
- samsara/types/location_and_speed_get_location_and_speed_not_found_error_response_body.py +1 -1
- samsara/types/location_and_speed_get_location_and_speed_not_implemented_error_response_body.py +1 -1
- samsara/types/location_and_speed_get_location_and_speed_service_unavailable_error_response_body.py +1 -1
- samsara/types/location_and_speed_get_location_and_speed_too_many_requests_error_response_body.py +1 -1
- samsara/types/location_and_speed_get_location_and_speed_unauthorized_error_response_body.py +1 -1
- samsara/types/location_and_speed_response_response_body.py +3 -1
- samsara/types/location_data_point.py +1 -1
- samsara/types/location_data_point_gps_location.py +3 -3
- samsara/types/location_data_point_gps_location_place.py +1 -1
- samsara/types/location_object_request_body.py +3 -3
- samsara/types/location_object_request_body_address_types_item.py +2 -0
- samsara/types/location_object_response_body.py +3 -3
- samsara/types/location_object_response_body_address_types_item.py +2 -0
- samsara/types/location_response_body.py +2 -2
- samsara/types/location_response_response_body.py +4 -2
- samsara/types/log_meta_data_object_response_body.py +12 -12
- samsara/types/media_object_response_body.py +7 -7
- samsara/types/media_retrieval_get_media_retrieval_bad_gateway_error_response_body.py +1 -1
- samsara/types/media_retrieval_get_media_retrieval_gateway_timeout_error_response_body.py +1 -1
- samsara/types/media_retrieval_get_media_retrieval_internal_server_error_response_body.py +1 -1
- samsara/types/media_retrieval_get_media_retrieval_method_not_allowed_error_response_body.py +1 -1
- samsara/types/media_retrieval_get_media_retrieval_not_found_error_response_body.py +1 -1
- samsara/types/media_retrieval_get_media_retrieval_not_implemented_error_response_body.py +1 -1
- samsara/types/media_retrieval_get_media_retrieval_service_unavailable_error_response_body.py +1 -1
- samsara/types/media_retrieval_get_media_retrieval_too_many_requests_error_response_body.py +1 -1
- samsara/types/media_retrieval_get_media_retrieval_unauthorized_error_response_body.py +1 -1
- samsara/types/media_retrieval_list_uploaded_media_bad_gateway_error_response_body.py +1 -1
- samsara/types/media_retrieval_list_uploaded_media_gateway_timeout_error_response_body.py +1 -1
- samsara/types/media_retrieval_list_uploaded_media_internal_server_error_response_body.py +1 -1
- samsara/types/media_retrieval_list_uploaded_media_method_not_allowed_error_response_body.py +1 -1
- samsara/types/media_retrieval_list_uploaded_media_not_found_error_response_body.py +1 -1
- samsara/types/media_retrieval_list_uploaded_media_not_implemented_error_response_body.py +1 -1
- samsara/types/media_retrieval_list_uploaded_media_service_unavailable_error_response_body.py +1 -1
- samsara/types/media_retrieval_list_uploaded_media_too_many_requests_error_response_body.py +1 -1
- samsara/types/media_retrieval_list_uploaded_media_unauthorized_error_response_body.py +1 -1
- samsara/types/media_retrieval_post_media_retrieval_bad_gateway_error_response_body.py +1 -1
- samsara/types/media_retrieval_post_media_retrieval_gateway_timeout_error_response_body.py +1 -1
- samsara/types/media_retrieval_post_media_retrieval_internal_server_error_response_body.py +1 -1
- samsara/types/media_retrieval_post_media_retrieval_method_not_allowed_error_response_body.py +1 -1
- samsara/types/media_retrieval_post_media_retrieval_not_found_error_response_body.py +1 -1
- samsara/types/media_retrieval_post_media_retrieval_not_implemented_error_response_body.py +1 -1
- samsara/types/media_retrieval_post_media_retrieval_service_unavailable_error_response_body.py +1 -1
- samsara/types/media_retrieval_post_media_retrieval_too_many_requests_error_response_body.py +1 -1
- samsara/types/media_retrieval_post_media_retrieval_unauthorized_error_response_body.py +1 -1
- samsara/types/minimal_route_stop_audit_logs_response_body.py +8 -8
- samsara/types/minimal_route_stop_response_body.py +6 -6
- samsara/types/missing_dvir_past_due_response_body.py +24 -0
- samsara/types/mobile_usage_detection_alert_settings_object_response_body.py +3 -3
- samsara/types/motion_detected_response_body.py +1 -1
- samsara/types/number_field_type_meta_data_object_response_body.py +1 -1
- samsara/types/operational_settings_object_request_body.py +2 -2
- samsara/types/operational_settings_object_response_body.py +2 -2
- samsara/types/order_custom_property_input_request_body.py +35 -0
- samsara/types/order_custom_property_response_body.py +40 -0
- samsara/types/order_input_object_request_body.py +14 -4
- samsara/types/order_object_response_body.py +20 -6
- samsara/types/order_quantity_input_request_body.py +3 -1
- samsara/types/order_quantity_response_body.py +3 -1
- samsara/types/order_task_custom_property_object_response_body.py +36 -0
- samsara/types/order_task_object_response_body.py +10 -2
- samsara/types/order_task_request_body.py +5 -5
- samsara/types/order_task_response_body.py +5 -5
- samsara/types/organization_info_carrier_settings.py +3 -3
- samsara/types/organization_info_object.py +1 -1
- samsara/types/out_of_route_details_object_request_body.py +4 -2
- samsara/types/out_of_route_details_object_response_body.py +4 -2
- samsara/types/outside_geofence_trigger_details_object_request_body.py +1 -1
- samsara/types/outside_geofence_trigger_details_object_response_body.py +1 -1
- samsara/types/pagination_response.py +4 -2
- samsara/types/panic_button_details_object_request_body.py +1 -1
- samsara/types/panic_button_details_object_response_body.py +1 -1
- samsara/types/part_instance_input_object_request_body.py +2 -2
- samsara/types/part_instance_object_response_body.py +2 -2
- samsara/types/patch_asset_data_outputs_single_response_response_body.py +4 -2
- samsara/types/patch_driver_trailer_assignments_response_body_response_body.py +6 -6
- samsara/types/patch_driver_vehicle_assignments_v_2_request_body_metadata_request_body.py +1 -1
- samsara/types/patch_job_object_request_body.py +7 -7
- samsara/types/patch_response_workflow_configuration_object_response_body.py +8 -6
- samsara/types/patch_shipping_docs_response_body_response_body.py +10 -10
- samsara/types/pending_duty_status_durations_object_response_body.py +8 -8
- samsara/types/person_detected_response_body.py +1 -1
- samsara/types/plan_object_response_body.py +14 -3
- samsara/types/plan_orders_create_plan_orders_bad_gateway_error_response_body.py +1 -1
- samsara/types/plan_orders_create_plan_orders_gateway_timeout_error_response_body.py +1 -1
- samsara/types/plan_orders_create_plan_orders_internal_server_error_response_body.py +1 -1
- samsara/types/plan_orders_create_plan_orders_method_not_allowed_error_response_body.py +1 -1
- samsara/types/plan_orders_create_plan_orders_not_found_error_response_body.py +1 -1
- samsara/types/plan_orders_create_plan_orders_not_implemented_error_response_body.py +1 -1
- samsara/types/plan_orders_create_plan_orders_service_unavailable_error_response_body.py +1 -1
- samsara/types/plan_orders_create_plan_orders_too_many_requests_error_response_body.py +1 -1
- samsara/types/plan_orders_create_plan_orders_unauthorized_error_response_body.py +1 -1
- samsara/types/policy_violations_detection_alert_settings_object_response_body.py +5 -5
- samsara/types/post_driver_trailer_assignments_response_body_response_body.py +9 -5
- samsara/types/post_driver_vehicle_assignments_v_2_request_body_metadata_request_body.py +1 -1
- samsara/types/post_fuel_purchase_response_body_response_body.py +1 -1
- samsara/types/post_invoice_scan_response_data_response_body.py +30 -0
- samsara/types/post_job_object_request_body.py +7 -7
- samsara/types/post_media_retrieval_object_response_body.py +6 -2
- samsara/types/post_response_res_workflow_configuration_object_response_body.py +8 -6
- samsara/types/primary_time_range_request_body.py +36 -0
- samsara/types/primary_time_range_response_body.py +36 -0
- samsara/types/push_notification_options_object_request_body.py +1 -1
- samsara/types/push_notification_options_object_response_body.py +1 -1
- samsara/types/qr_code_response_object_response_body.py +2 -2
- samsara/types/qualification_field_input_object_response_body.py +8 -8
- samsara/types/qualification_owner_object_response_body.py +2 -2
- samsara/types/qualification_owner_request_object_request_body.py +1 -1
- samsara/types/qualification_record_request_field_input_object_request_body.py +8 -8
- samsara/types/qualification_record_response_object_response_body.py +19 -9
- samsara/types/qualification_type_reference_object_response_body.py +1 -1
- samsara/types/qualification_type_response_object_response_body.py +16 -6
- samsara/types/qualifications_archive_qualification_record_bad_gateway_error_response_body.py +1 -1
- samsara/types/qualifications_archive_qualification_record_gateway_timeout_error_response_body.py +1 -1
- samsara/types/qualifications_archive_qualification_record_internal_server_error_response_body.py +1 -1
- samsara/types/qualifications_archive_qualification_record_method_not_allowed_error_response_body.py +1 -1
- samsara/types/qualifications_archive_qualification_record_not_found_error_response_body.py +1 -1
- samsara/types/qualifications_archive_qualification_record_not_implemented_error_response_body.py +1 -1
- samsara/types/qualifications_archive_qualification_record_service_unavailable_error_response_body.py +1 -1
- samsara/types/qualifications_archive_qualification_record_too_many_requests_error_response_body.py +1 -1
- samsara/types/qualifications_archive_qualification_record_unauthorized_error_response_body.py +1 -1
- samsara/types/qualifications_delete_qualification_record_bad_gateway_error_response_body.py +1 -1
- samsara/types/qualifications_delete_qualification_record_gateway_timeout_error_response_body.py +1 -1
- samsara/types/qualifications_delete_qualification_record_internal_server_error_response_body.py +1 -1
- samsara/types/qualifications_delete_qualification_record_method_not_allowed_error_response_body.py +1 -1
- samsara/types/qualifications_delete_qualification_record_not_found_error_response_body.py +1 -1
- samsara/types/qualifications_delete_qualification_record_not_implemented_error_response_body.py +1 -1
- samsara/types/qualifications_delete_qualification_record_service_unavailable_error_response_body.py +1 -1
- samsara/types/qualifications_delete_qualification_record_too_many_requests_error_response_body.py +1 -1
- samsara/types/qualifications_delete_qualification_record_unauthorized_error_response_body.py +1 -1
- samsara/types/qualifications_get_qualification_records_bad_gateway_error_response_body.py +1 -1
- samsara/types/qualifications_get_qualification_records_gateway_timeout_error_response_body.py +1 -1
- samsara/types/qualifications_get_qualification_records_internal_server_error_response_body.py +1 -1
- samsara/types/qualifications_get_qualification_records_method_not_allowed_error_response_body.py +1 -1
- samsara/types/qualifications_get_qualification_records_not_found_error_response_body.py +1 -1
- samsara/types/qualifications_get_qualification_records_not_implemented_error_response_body.py +1 -1
- samsara/types/qualifications_get_qualification_records_service_unavailable_error_response_body.py +1 -1
- samsara/types/qualifications_get_qualification_records_stream_bad_gateway_error_response_body.py +1 -1
- samsara/types/qualifications_get_qualification_records_stream_gateway_timeout_error_response_body.py +1 -1
- samsara/types/qualifications_get_qualification_records_stream_internal_server_error_response_body.py +1 -1
- samsara/types/qualifications_get_qualification_records_stream_method_not_allowed_error_response_body.py +1 -1
- samsara/types/qualifications_get_qualification_records_stream_not_found_error_response_body.py +1 -1
- samsara/types/qualifications_get_qualification_records_stream_not_implemented_error_response_body.py +1 -1
- samsara/types/qualifications_get_qualification_records_stream_service_unavailable_error_response_body.py +1 -1
- samsara/types/qualifications_get_qualification_records_stream_too_many_requests_error_response_body.py +1 -1
- samsara/types/qualifications_get_qualification_records_stream_unauthorized_error_response_body.py +1 -1
- samsara/types/qualifications_get_qualification_records_too_many_requests_error_response_body.py +1 -1
- samsara/types/qualifications_get_qualification_records_unauthorized_error_response_body.py +1 -1
- samsara/types/qualifications_get_qualification_types_bad_gateway_error_response_body.py +1 -1
- samsara/types/qualifications_get_qualification_types_gateway_timeout_error_response_body.py +1 -1
- samsara/types/qualifications_get_qualification_types_internal_server_error_response_body.py +1 -1
- samsara/types/qualifications_get_qualification_types_method_not_allowed_error_response_body.py +1 -1
- samsara/types/qualifications_get_qualification_types_not_found_error_response_body.py +1 -1
- samsara/types/qualifications_get_qualification_types_not_implemented_error_response_body.py +1 -1
- samsara/types/qualifications_get_qualification_types_service_unavailable_error_response_body.py +1 -1
- samsara/types/qualifications_get_qualification_types_too_many_requests_error_response_body.py +1 -1
- samsara/types/qualifications_get_qualification_types_unauthorized_error_response_body.py +1 -1
- samsara/types/qualifications_patch_qualification_record_bad_gateway_error_response_body.py +1 -1
- samsara/types/qualifications_patch_qualification_record_gateway_timeout_error_response_body.py +1 -1
- samsara/types/qualifications_patch_qualification_record_internal_server_error_response_body.py +1 -1
- samsara/types/qualifications_patch_qualification_record_method_not_allowed_error_response_body.py +1 -1
- samsara/types/qualifications_patch_qualification_record_not_found_error_response_body.py +1 -1
- samsara/types/qualifications_patch_qualification_record_not_implemented_error_response_body.py +1 -1
- samsara/types/qualifications_patch_qualification_record_service_unavailable_error_response_body.py +1 -1
- samsara/types/qualifications_patch_qualification_record_too_many_requests_error_response_body.py +1 -1
- samsara/types/qualifications_patch_qualification_record_unauthorized_error_response_body.py +1 -1
- samsara/types/qualifications_post_qualification_record_bad_gateway_error_response_body.py +1 -1
- samsara/types/qualifications_post_qualification_record_gateway_timeout_error_response_body.py +1 -1
- samsara/types/qualifications_post_qualification_record_internal_server_error_response_body.py +1 -1
- samsara/types/qualifications_post_qualification_record_method_not_allowed_error_response_body.py +1 -1
- samsara/types/qualifications_post_qualification_record_not_found_error_response_body.py +1 -1
- samsara/types/qualifications_post_qualification_record_not_implemented_error_response_body.py +1 -1
- samsara/types/qualifications_post_qualification_record_service_unavailable_error_response_body.py +1 -1
- samsara/types/qualifications_post_qualification_record_too_many_requests_error_response_body.py +1 -1
- samsara/types/qualifications_post_qualification_record_unauthorized_error_response_body.py +1 -1
- samsara/types/qualifications_unarchive_qualification_record_bad_gateway_error_response_body.py +1 -1
- samsara/types/qualifications_unarchive_qualification_record_gateway_timeout_error_response_body.py +1 -1
- samsara/types/qualifications_unarchive_qualification_record_internal_server_error_response_body.py +1 -1
- samsara/types/qualifications_unarchive_qualification_record_method_not_allowed_error_response_body.py +1 -1
- samsara/types/qualifications_unarchive_qualification_record_not_found_error_response_body.py +1 -1
- samsara/types/qualifications_unarchive_qualification_record_not_implemented_error_response_body.py +1 -1
- samsara/types/qualifications_unarchive_qualification_record_service_unavailable_error_response_body.py +1 -1
- samsara/types/qualifications_unarchive_qualification_record_too_many_requests_error_response_body.py +1 -1
- samsara/types/qualifications_unarchive_qualification_record_unauthorized_error_response_body.py +1 -1
- samsara/types/quantity_object_response_body.py +3 -1
- samsara/types/reading_datapoint_request_body.py +6 -4
- samsara/types/reading_definition_response_body.py +12 -6
- samsara/types/reading_history_response_body.py +3 -3
- samsara/types/reading_snapshot_response_body.py +4 -4
- samsara/types/reading_trigger_continuous_value_object_request_body.py +2 -2
- samsara/types/reading_trigger_continuous_value_object_request_body_unit.py +10 -0
- samsara/types/reading_trigger_continuous_value_object_response_body.py +2 -2
- samsara/types/reading_trigger_continuous_value_object_response_body_unit.py +10 -0
- samsara/types/reading_trigger_details_object_request_body.py +6 -4
- samsara/types/reading_trigger_details_object_response_body.py +6 -4
- samsara/types/reading_trigger_details_response_body.py +2 -2
- samsara/types/readings_get_readings_history_bad_gateway_error_response_body.py +1 -1
- samsara/types/readings_get_readings_history_gateway_timeout_error_response_body.py +1 -1
- samsara/types/readings_get_readings_history_internal_server_error_response_body.py +1 -1
- samsara/types/readings_get_readings_history_method_not_allowed_error_response_body.py +1 -1
- samsara/types/readings_get_readings_history_not_found_error_response_body.py +1 -1
- samsara/types/readings_get_readings_history_not_implemented_error_response_body.py +1 -1
- samsara/types/readings_get_readings_history_service_unavailable_error_response_body.py +1 -1
- samsara/types/readings_get_readings_history_too_many_requests_error_response_body.py +1 -1
- samsara/types/readings_get_readings_history_unauthorized_error_response_body.py +1 -1
- samsara/types/readings_get_readings_snapshot_bad_gateway_error_response_body.py +1 -1
- samsara/types/readings_get_readings_snapshot_gateway_timeout_error_response_body.py +1 -1
- samsara/types/readings_get_readings_snapshot_internal_server_error_response_body.py +1 -1
- samsara/types/readings_get_readings_snapshot_method_not_allowed_error_response_body.py +1 -1
- samsara/types/readings_get_readings_snapshot_not_found_error_response_body.py +1 -1
- samsara/types/readings_get_readings_snapshot_not_implemented_error_response_body.py +1 -1
- samsara/types/readings_get_readings_snapshot_service_unavailable_error_response_body.py +1 -1
- samsara/types/readings_get_readings_snapshot_too_many_requests_error_response_body.py +1 -1
- samsara/types/readings_get_readings_snapshot_unauthorized_error_response_body.py +1 -1
- samsara/types/readings_list_readings_definitions_bad_gateway_error_response_body.py +1 -1
- samsara/types/readings_list_readings_definitions_gateway_timeout_error_response_body.py +1 -1
- samsara/types/readings_list_readings_definitions_internal_server_error_response_body.py +1 -1
- samsara/types/readings_list_readings_definitions_method_not_allowed_error_response_body.py +1 -1
- samsara/types/readings_list_readings_definitions_not_found_error_response_body.py +1 -1
- samsara/types/readings_list_readings_definitions_not_implemented_error_response_body.py +1 -1
- samsara/types/readings_list_readings_definitions_service_unavailable_error_response_body.py +1 -1
- samsara/types/readings_list_readings_definitions_too_many_requests_error_response_body.py +1 -1
- samsara/types/readings_list_readings_definitions_unauthorized_error_response_body.py +1 -1
- samsara/types/readings_post_readings_bad_gateway_error_response_body.py +1 -1
- samsara/types/readings_post_readings_gateway_timeout_error_response_body.py +1 -1
- samsara/types/readings_post_readings_internal_server_error_response_body.py +1 -1
- samsara/types/readings_post_readings_method_not_allowed_error_response_body.py +1 -1
- samsara/types/readings_post_readings_not_found_error_response_body.py +1 -1
- samsara/types/readings_post_readings_not_implemented_error_response_body.py +1 -1
- samsara/types/readings_post_readings_service_unavailable_error_response_body.py +1 -1
- samsara/types/readings_post_readings_too_many_requests_error_response_body.py +1 -1
- samsara/types/readings_post_readings_unauthorized_error_response_body.py +1 -1
- samsara/types/recipient_object_request_body.py +4 -4
- samsara/types/recipient_object_response_body.py +4 -4
- samsara/types/report_columns_object_response_body.py +38 -0
- samsara/types/report_columns_object_response_body_data_type.py +7 -0
- samsara/types/report_columns_object_response_body_unit.py +88 -0
- samsara/types/report_config_object_response_body.py +42 -0
- samsara/types/report_run_object_response_body.py +49 -0
- samsara/types/report_run_object_response_body_status.py +7 -0
- samsara/types/reports_create_report_run_bad_gateway_error_response_body.py +33 -0
- samsara/types/reports_create_report_run_gateway_timeout_error_response_body.py +33 -0
- samsara/types/reports_create_report_run_internal_server_error_response_body.py +33 -0
- samsara/types/reports_create_report_run_method_not_allowed_error_response_body.py +33 -0
- samsara/types/reports_create_report_run_not_found_error_response_body.py +33 -0
- samsara/types/reports_create_report_run_not_implemented_error_response_body.py +33 -0
- samsara/types/reports_create_report_run_response_body.py +20 -0
- samsara/types/reports_create_report_run_service_unavailable_error_response_body.py +33 -0
- samsara/types/reports_create_report_run_too_many_requests_error_response_body.py +33 -0
- samsara/types/reports_create_report_run_unauthorized_error_response_body.py +33 -0
- samsara/types/reports_dataset_field_response_body.py +49 -0
- samsara/types/reports_dataset_field_response_body_data_type.py +7 -0
- samsara/types/reports_dataset_field_response_body_unit.py +88 -0
- samsara/types/reports_dataset_response_body.py +55 -0
- samsara/types/reports_get_datasets_bad_gateway_error_response_body.py +33 -0
- samsara/types/reports_get_datasets_gateway_timeout_error_response_body.py +33 -0
- samsara/types/reports_get_datasets_internal_server_error_response_body.py +33 -0
- samsara/types/reports_get_datasets_method_not_allowed_error_response_body.py +33 -0
- samsara/types/reports_get_datasets_not_found_error_response_body.py +33 -0
- samsara/types/reports_get_datasets_not_implemented_error_response_body.py +33 -0
- samsara/types/reports_get_datasets_response_body.py +26 -0
- samsara/types/reports_get_datasets_service_unavailable_error_response_body.py +33 -0
- samsara/types/reports_get_datasets_too_many_requests_error_response_body.py +33 -0
- samsara/types/reports_get_datasets_unauthorized_error_response_body.py +33 -0
- samsara/types/reports_get_report_configs_bad_gateway_error_response_body.py +33 -0
- samsara/types/reports_get_report_configs_gateway_timeout_error_response_body.py +33 -0
- samsara/types/reports_get_report_configs_internal_server_error_response_body.py +33 -0
- samsara/types/reports_get_report_configs_method_not_allowed_error_response_body.py +33 -0
- samsara/types/reports_get_report_configs_not_found_error_response_body.py +33 -0
- samsara/types/reports_get_report_configs_not_implemented_error_response_body.py +33 -0
- samsara/types/reports_get_report_configs_response_body.py +26 -0
- samsara/types/reports_get_report_configs_service_unavailable_error_response_body.py +33 -0
- samsara/types/reports_get_report_configs_too_many_requests_error_response_body.py +33 -0
- samsara/types/reports_get_report_configs_unauthorized_error_response_body.py +33 -0
- samsara/types/reports_get_report_run_data_bad_gateway_error_response_body.py +33 -0
- samsara/types/reports_get_report_run_data_gateway_timeout_error_response_body.py +33 -0
- samsara/types/reports_get_report_run_data_internal_server_error_response_body.py +33 -0
- samsara/types/reports_get_report_run_data_method_not_allowed_error_response_body.py +33 -0
- samsara/types/reports_get_report_run_data_not_found_error_response_body.py +33 -0
- samsara/types/reports_get_report_run_data_not_implemented_error_response_body.py +33 -0
- samsara/types/reports_get_report_run_data_response_body.py +22 -0
- samsara/types/reports_get_report_run_data_service_unavailable_error_response_body.py +33 -0
- samsara/types/reports_get_report_run_data_too_many_requests_error_response_body.py +33 -0
- samsara/types/reports_get_report_run_data_unauthorized_error_response_body.py +33 -0
- samsara/types/reports_get_report_runs_bad_gateway_error_response_body.py +33 -0
- samsara/types/reports_get_report_runs_gateway_timeout_error_response_body.py +33 -0
- samsara/types/reports_get_report_runs_internal_server_error_response_body.py +33 -0
- samsara/types/reports_get_report_runs_method_not_allowed_error_response_body.py +33 -0
- samsara/types/reports_get_report_runs_not_found_error_response_body.py +33 -0
- samsara/types/reports_get_report_runs_not_implemented_error_response_body.py +33 -0
- samsara/types/reports_get_report_runs_response_body.py +26 -0
- samsara/types/reports_get_report_runs_service_unavailable_error_response_body.py +33 -0
- samsara/types/reports_get_report_runs_too_many_requests_error_response_body.py +33 -0
- samsara/types/reports_get_report_runs_unauthorized_error_response_body.py +33 -0
- samsara/types/reverse_geo.py +1 -1
- samsara/types/reverse_geo_object_response_body.py +1 -1
- samsara/types/rolling_stop_detection_alert_settings_object_response_body.py +2 -2
- samsara/types/route_event_details_response_body.py +3 -3
- samsara/types/route_event_response_response_body.py +8 -4
- samsara/types/route_event_route_response_response_body.py +1 -1
- samsara/types/route_event_stop_response_response_body.py +1 -1
- samsara/types/route_object_response_body.py +20 -12
- samsara/types/route_settings_request_body.py +3 -3
- samsara/types/route_settings_response_body.py +3 -3
- samsara/types/route_stop_details_object_response_body.py +1 -1
- samsara/types/route_stop_estimated_arrival_details_object_request_body.py +3 -3
- samsara/types/route_stop_estimated_arrival_details_object_response_body.py +3 -3
- samsara/types/route_stop_object_response_body.py +4 -4
- samsara/types/routes_create_route_bad_gateway_error_response_body.py +1 -1
- samsara/types/routes_create_route_gateway_timeout_error_response_body.py +1 -1
- samsara/types/routes_create_route_internal_server_error_response_body.py +1 -1
- samsara/types/routes_create_route_method_not_allowed_error_response_body.py +1 -1
- samsara/types/routes_create_route_not_found_error_response_body.py +1 -1
- samsara/types/routes_create_route_not_implemented_error_response_body.py +1 -1
- samsara/types/routes_create_route_service_unavailable_error_response_body.py +1 -1
- samsara/types/routes_create_route_too_many_requests_error_response_body.py +1 -1
- samsara/types/routes_create_route_unauthorized_error_response_body.py +1 -1
- samsara/types/routes_delete_route_bad_gateway_error_response_body.py +1 -1
- samsara/types/routes_delete_route_gateway_timeout_error_response_body.py +1 -1
- samsara/types/routes_delete_route_internal_server_error_response_body.py +1 -1
- samsara/types/routes_delete_route_method_not_allowed_error_response_body.py +1 -1
- samsara/types/routes_delete_route_not_found_error_response_body.py +1 -1
- samsara/types/routes_delete_route_not_implemented_error_response_body.py +1 -1
- samsara/types/routes_delete_route_service_unavailable_error_response_body.py +1 -1
- samsara/types/routes_delete_route_too_many_requests_error_response_body.py +1 -1
- samsara/types/routes_delete_route_unauthorized_error_response_body.py +1 -1
- samsara/types/routes_fetch_route_bad_gateway_error_response_body.py +1 -1
- samsara/types/routes_fetch_route_gateway_timeout_error_response_body.py +1 -1
- samsara/types/routes_fetch_route_internal_server_error_response_body.py +1 -1
- samsara/types/routes_fetch_route_method_not_allowed_error_response_body.py +1 -1
- samsara/types/routes_fetch_route_not_found_error_response_body.py +1 -1
- samsara/types/routes_fetch_route_not_implemented_error_response_body.py +1 -1
- samsara/types/routes_fetch_route_service_unavailable_error_response_body.py +1 -1
- samsara/types/routes_fetch_route_too_many_requests_error_response_body.py +1 -1
- samsara/types/routes_fetch_route_unauthorized_error_response_body.py +1 -1
- samsara/types/routes_fetch_routes_bad_gateway_error_response_body.py +1 -1
- samsara/types/routes_fetch_routes_gateway_timeout_error_response_body.py +1 -1
- samsara/types/routes_fetch_routes_internal_server_error_response_body.py +1 -1
- samsara/types/routes_fetch_routes_method_not_allowed_error_response_body.py +1 -1
- samsara/types/routes_fetch_routes_not_found_error_response_body.py +1 -1
- samsara/types/routes_fetch_routes_not_implemented_error_response_body.py +1 -1
- samsara/types/routes_fetch_routes_service_unavailable_error_response_body.py +1 -1
- samsara/types/routes_fetch_routes_too_many_requests_error_response_body.py +1 -1
- samsara/types/routes_fetch_routes_unauthorized_error_response_body.py +1 -1
- samsara/types/routes_get_route_events_stream_bad_gateway_error_response_body.py +1 -1
- samsara/types/routes_get_route_events_stream_gateway_timeout_error_response_body.py +1 -1
- samsara/types/routes_get_route_events_stream_internal_server_error_response_body.py +1 -1
- samsara/types/routes_get_route_events_stream_method_not_allowed_error_response_body.py +1 -1
- samsara/types/routes_get_route_events_stream_not_found_error_response_body.py +1 -1
- samsara/types/routes_get_route_events_stream_not_implemented_error_response_body.py +1 -1
- samsara/types/routes_get_route_events_stream_service_unavailable_error_response_body.py +1 -1
- samsara/types/routes_get_route_events_stream_too_many_requests_error_response_body.py +1 -1
- samsara/types/routes_get_route_events_stream_unauthorized_error_response_body.py +1 -1
- samsara/types/routes_get_routes_feed_bad_gateway_error_response_body.py +1 -1
- samsara/types/routes_get_routes_feed_gateway_timeout_error_response_body.py +1 -1
- samsara/types/routes_get_routes_feed_internal_server_error_response_body.py +1 -1
- samsara/types/routes_get_routes_feed_method_not_allowed_error_response_body.py +1 -1
- samsara/types/routes_get_routes_feed_not_found_error_response_body.py +1 -1
- samsara/types/routes_get_routes_feed_not_implemented_error_response_body.py +1 -1
- samsara/types/routes_get_routes_feed_service_unavailable_error_response_body.py +1 -1
- samsara/types/routes_get_routes_feed_too_many_requests_error_response_body.py +1 -1
- samsara/types/routes_get_routes_feed_unauthorized_error_response_body.py +1 -1
- samsara/types/routes_patch_route_bad_gateway_error_response_body.py +1 -1
- samsara/types/routes_patch_route_gateway_timeout_error_response_body.py +1 -1
- samsara/types/routes_patch_route_internal_server_error_response_body.py +1 -1
- samsara/types/routes_patch_route_method_not_allowed_error_response_body.py +1 -1
- samsara/types/routes_patch_route_not_found_error_response_body.py +1 -1
- samsara/types/routes_patch_route_not_implemented_error_response_body.py +1 -1
- samsara/types/routes_patch_route_service_unavailable_error_response_body.py +1 -1
- samsara/types/routes_patch_route_too_many_requests_error_response_body.py +1 -1
- samsara/types/routes_patch_route_unauthorized_error_response_body.py +1 -1
- samsara/types/routes_single_use_address_object_request_body.py +1 -1
- samsara/types/routes_single_use_address_object_response_body.py +1 -1
- samsara/types/routes_stop_response_object_response_body.py +27 -13
- samsara/types/safety_behavior_trigger_details_object_request_body.py +61 -0
- samsara/types/safety_behavior_trigger_details_object_request_body_behaviors_item.py +86 -0
- samsara/types/safety_behavior_trigger_details_object_request_body_severities_item.py +7 -0
- samsara/types/safety_behavior_trigger_details_object_request_body_statuses_item.py +7 -0
- samsara/types/safety_behavior_trigger_details_object_response_body.py +61 -0
- samsara/types/safety_behavior_trigger_details_object_response_body_behaviors_item.py +86 -0
- samsara/types/safety_behavior_trigger_details_object_response_body_severities_item.py +7 -0
- samsara/types/safety_behavior_trigger_details_object_response_body_statuses_item.py +7 -0
- samsara/types/safety_event.py +12 -12
- samsara/types/safety_event_activity_feed_item_response_body.py +3 -1
- samsara/types/safety_event_behavior_labels_response_body.py +1 -1
- samsara/types/safety_event_behavior_labels_response_body_type.py +3 -0
- samsara/types/safety_event_object_response_body.py +1 -1
- samsara/types/safety_event_speeding_metadata_response_body.py +37 -0
- samsara/types/safety_event_v_2_asset_object_response_body.py +1 -1
- samsara/types/safety_event_v_2_behavior_labels_response_body.py +1 -1
- samsara/types/safety_event_v_2_behavior_labels_response_body_label.py +3 -0
- samsara/types/safety_event_v_2_context_labels_response_body.py +4 -2
- samsara/types/safety_event_v_2_driver_object_response_body.py +2 -2
- samsara/types/safety_event_v_2_media_response_body.py +49 -0
- samsara/types/safety_event_v_2_media_response_body_camera_role.py +28 -0
- samsara/types/safety_event_v_2_media_response_body_input.py +7 -0
- samsara/types/safety_event_v_2_object_response_body.py +45 -27
- samsara/types/safety_events_get_safety_activity_event_feed_bad_gateway_error_response_body.py +1 -1
- samsara/types/safety_events_get_safety_activity_event_feed_gateway_timeout_error_response_body.py +1 -1
- samsara/types/safety_events_get_safety_activity_event_feed_internal_server_error_response_body.py +1 -1
- samsara/types/safety_events_get_safety_activity_event_feed_method_not_allowed_error_response_body.py +1 -1
- samsara/types/safety_events_get_safety_activity_event_feed_not_found_error_response_body.py +1 -1
- samsara/types/safety_events_get_safety_activity_event_feed_not_implemented_error_response_body.py +1 -1
- samsara/types/safety_events_get_safety_activity_event_feed_service_unavailable_error_response_body.py +1 -1
- samsara/types/safety_events_get_safety_activity_event_feed_too_many_requests_error_response_body.py +1 -1
- samsara/types/safety_events_get_safety_activity_event_feed_unauthorized_error_response_body.py +1 -1
- samsara/types/safety_events_v_2_get_safety_events_v_2_bad_gateway_error_response_body.py +1 -1
- samsara/types/safety_events_v_2_get_safety_events_v_2_gateway_timeout_error_response_body.py +1 -1
- samsara/types/safety_events_v_2_get_safety_events_v_2_internal_server_error_response_body.py +1 -1
- samsara/types/safety_events_v_2_get_safety_events_v_2_method_not_allowed_error_response_body.py +1 -1
- samsara/types/safety_events_v_2_get_safety_events_v_2_not_found_error_response_body.py +1 -1
- samsara/types/safety_events_v_2_get_safety_events_v_2_not_implemented_error_response_body.py +1 -1
- samsara/types/safety_events_v_2_get_safety_events_v_2_service_unavailable_error_response_body.py +1 -1
- samsara/types/safety_events_v_2_get_safety_events_v_2_stream_bad_gateway_error_response_body.py +1 -1
- samsara/types/safety_events_v_2_get_safety_events_v_2_stream_gateway_timeout_error_response_body.py +1 -1
- samsara/types/safety_events_v_2_get_safety_events_v_2_stream_internal_server_error_response_body.py +1 -1
- samsara/types/safety_events_v_2_get_safety_events_v_2_stream_method_not_allowed_error_response_body.py +1 -1
- samsara/types/safety_events_v_2_get_safety_events_v_2_stream_not_found_error_response_body.py +1 -1
- samsara/types/safety_events_v_2_get_safety_events_v_2_stream_not_implemented_error_response_body.py +1 -1
- samsara/types/safety_events_v_2_get_safety_events_v_2_stream_service_unavailable_error_response_body.py +1 -1
- samsara/types/safety_events_v_2_get_safety_events_v_2_stream_too_many_requests_error_response_body.py +1 -1
- samsara/types/safety_events_v_2_get_safety_events_v_2_stream_unauthorized_error_response_body.py +1 -1
- samsara/types/safety_events_v_2_get_safety_events_v_2_too_many_requests_error_response_body.py +1 -1
- samsara/types/safety_events_v_2_get_safety_events_v_2_unauthorized_error_response_body.py +1 -1
- samsara/types/safety_score_behavior_object_response_body.py +4 -2
- samsara/types/safety_score_configuration_settings_object_response_body.py +30 -30
- samsara/types/safety_score_details_request_body.py +32 -0
- samsara/types/safety_score_details_request_body_comparison.py +8 -0
- samsara/types/safety_score_details_response_body.py +32 -0
- samsara/types/safety_score_details_response_body_comparison.py +8 -0
- samsara/types/safety_score_speeding_object_response_body.py +5 -3
- samsara/types/safety_scores_get_driver_safety_score_trips_bad_gateway_error_response_body.py +1 -1
- samsara/types/safety_scores_get_driver_safety_score_trips_gateway_timeout_error_response_body.py +1 -1
- samsara/types/safety_scores_get_driver_safety_score_trips_internal_server_error_response_body.py +1 -1
- samsara/types/safety_scores_get_driver_safety_score_trips_method_not_allowed_error_response_body.py +1 -1
- samsara/types/safety_scores_get_driver_safety_score_trips_not_found_error_response_body.py +1 -1
- samsara/types/safety_scores_get_driver_safety_score_trips_not_implemented_error_response_body.py +1 -1
- samsara/types/safety_scores_get_driver_safety_score_trips_service_unavailable_error_response_body.py +1 -1
- samsara/types/safety_scores_get_driver_safety_score_trips_too_many_requests_error_response_body.py +1 -1
- samsara/types/safety_scores_get_driver_safety_score_trips_unauthorized_error_response_body.py +1 -1
- samsara/types/safety_scores_get_driver_safety_scores_bad_gateway_error_response_body.py +1 -1
- samsara/types/safety_scores_get_driver_safety_scores_gateway_timeout_error_response_body.py +1 -1
- samsara/types/safety_scores_get_driver_safety_scores_internal_server_error_response_body.py +1 -1
- samsara/types/safety_scores_get_driver_safety_scores_method_not_allowed_error_response_body.py +1 -1
- samsara/types/safety_scores_get_driver_safety_scores_not_found_error_response_body.py +1 -1
- samsara/types/safety_scores_get_driver_safety_scores_not_implemented_error_response_body.py +1 -1
- samsara/types/safety_scores_get_driver_safety_scores_service_unavailable_error_response_body.py +1 -1
- samsara/types/safety_scores_get_driver_safety_scores_too_many_requests_error_response_body.py +1 -1
- samsara/types/safety_scores_get_driver_safety_scores_unauthorized_error_response_body.py +1 -1
- samsara/types/safety_scores_get_tag_group_safety_scores_bad_gateway_error_response_body.py +1 -1
- samsara/types/safety_scores_get_tag_group_safety_scores_gateway_timeout_error_response_body.py +1 -1
- samsara/types/safety_scores_get_tag_group_safety_scores_internal_server_error_response_body.py +1 -1
- samsara/types/safety_scores_get_tag_group_safety_scores_method_not_allowed_error_response_body.py +1 -1
- samsara/types/safety_scores_get_tag_group_safety_scores_not_found_error_response_body.py +1 -1
- samsara/types/safety_scores_get_tag_group_safety_scores_not_implemented_error_response_body.py +1 -1
- samsara/types/safety_scores_get_tag_group_safety_scores_service_unavailable_error_response_body.py +1 -1
- samsara/types/safety_scores_get_tag_group_safety_scores_too_many_requests_error_response_body.py +1 -1
- samsara/types/safety_scores_get_tag_group_safety_scores_unauthorized_error_response_body.py +1 -1
- samsara/types/safety_scores_get_tag_safety_scores_bad_gateway_error_response_body.py +1 -1
- samsara/types/safety_scores_get_tag_safety_scores_gateway_timeout_error_response_body.py +1 -1
- samsara/types/safety_scores_get_tag_safety_scores_internal_server_error_response_body.py +1 -1
- samsara/types/safety_scores_get_tag_safety_scores_method_not_allowed_error_response_body.py +1 -1
- samsara/types/safety_scores_get_tag_safety_scores_not_found_error_response_body.py +1 -1
- samsara/types/safety_scores_get_tag_safety_scores_not_implemented_error_response_body.py +1 -1
- samsara/types/safety_scores_get_tag_safety_scores_service_unavailable_error_response_body.py +1 -1
- samsara/types/safety_scores_get_tag_safety_scores_too_many_requests_error_response_body.py +1 -1
- samsara/types/safety_scores_get_tag_safety_scores_unauthorized_error_response_body.py +1 -1
- samsara/types/safety_scores_get_vehicle_safety_score_trips_bad_gateway_error_response_body.py +1 -1
- samsara/types/safety_scores_get_vehicle_safety_score_trips_gateway_timeout_error_response_body.py +1 -1
- samsara/types/safety_scores_get_vehicle_safety_score_trips_internal_server_error_response_body.py +1 -1
- samsara/types/safety_scores_get_vehicle_safety_score_trips_method_not_allowed_error_response_body.py +1 -1
- samsara/types/safety_scores_get_vehicle_safety_score_trips_not_found_error_response_body.py +1 -1
- samsara/types/safety_scores_get_vehicle_safety_score_trips_not_implemented_error_response_body.py +1 -1
- samsara/types/safety_scores_get_vehicle_safety_score_trips_service_unavailable_error_response_body.py +1 -1
- samsara/types/safety_scores_get_vehicle_safety_score_trips_too_many_requests_error_response_body.py +1 -1
- samsara/types/safety_scores_get_vehicle_safety_score_trips_unauthorized_error_response_body.py +1 -1
- samsara/types/safety_scores_get_vehicle_safety_scores_bad_gateway_error_response_body.py +1 -1
- samsara/types/safety_scores_get_vehicle_safety_scores_gateway_timeout_error_response_body.py +1 -1
- samsara/types/safety_scores_get_vehicle_safety_scores_internal_server_error_response_body.py +1 -1
- samsara/types/safety_scores_get_vehicle_safety_scores_method_not_allowed_error_response_body.py +1 -1
- samsara/types/safety_scores_get_vehicle_safety_scores_not_found_error_response_body.py +1 -1
- samsara/types/safety_scores_get_vehicle_safety_scores_not_implemented_error_response_body.py +1 -1
- samsara/types/safety_scores_get_vehicle_safety_scores_service_unavailable_error_response_body.py +1 -1
- samsara/types/safety_scores_get_vehicle_safety_scores_too_many_requests_error_response_body.py +1 -1
- samsara/types/safety_scores_get_vehicle_safety_scores_unauthorized_error_response_body.py +1 -1
- samsara/types/safety_settings_get_safety_settings_bad_gateway_error_response_body.py +1 -1
- samsara/types/safety_settings_get_safety_settings_gateway_timeout_error_response_body.py +1 -1
- samsara/types/safety_settings_get_safety_settings_internal_server_error_response_body.py +1 -1
- samsara/types/safety_settings_get_safety_settings_method_not_allowed_error_response_body.py +1 -1
- samsara/types/safety_settings_get_safety_settings_not_found_error_response_body.py +1 -1
- samsara/types/safety_settings_get_safety_settings_not_implemented_error_response_body.py +1 -1
- samsara/types/safety_settings_get_safety_settings_service_unavailable_error_response_body.py +1 -1
- samsara/types/safety_settings_get_safety_settings_too_many_requests_error_response_body.py +1 -1
- samsara/types/safety_settings_get_safety_settings_unauthorized_error_response_body.py +1 -1
- samsara/types/safety_settings_object_response_body.py +14 -12
- samsara/types/scheduled_maintenance_by_engine_hours_details_object_request_body.py +6 -2
- samsara/types/scheduled_maintenance_by_engine_hours_details_object_response_body.py +6 -2
- samsara/types/scheduled_maintenance_odometer_trigger_details_object_request_body.py +6 -2
- samsara/types/scheduled_maintenance_odometer_trigger_details_object_response_body.py +6 -2
- samsara/types/scheduled_maintenance_trigger_details_object_request_body.py +4 -2
- samsara/types/scheduled_maintenance_trigger_details_object_response_body.py +4 -2
- samsara/types/scope_object_request_body.py +1 -1
- samsara/types/scope_object_response_body.py +1 -1
- samsara/types/service_task_definition_object_response_body.py +2 -2
- samsara/types/service_task_instance_input_object_request_body.py +6 -4
- samsara/types/service_task_instance_object_response_body.py +6 -4
- samsara/types/service_window_object_response_body.py +5 -3
- samsara/types/settings_compliance_response_object_response_body.py +10 -10
- samsara/types/settings_get_compliance_settings_bad_gateway_error_response_body.py +1 -1
- samsara/types/settings_get_compliance_settings_gateway_timeout_error_response_body.py +1 -1
- samsara/types/settings_get_compliance_settings_internal_server_error_response_body.py +1 -1
- samsara/types/settings_get_compliance_settings_method_not_allowed_error_response_body.py +1 -1
- samsara/types/settings_get_compliance_settings_not_found_error_response_body.py +1 -1
- samsara/types/settings_get_compliance_settings_not_implemented_error_response_body.py +1 -1
- samsara/types/settings_get_compliance_settings_service_unavailable_error_response_body.py +1 -1
- samsara/types/settings_get_compliance_settings_too_many_requests_error_response_body.py +1 -1
- samsara/types/settings_get_compliance_settings_unauthorized_error_response_body.py +1 -1
- samsara/types/settings_get_driver_app_settings_bad_gateway_error_response_body.py +1 -1
- samsara/types/settings_get_driver_app_settings_gateway_timeout_error_response_body.py +1 -1
- samsara/types/settings_get_driver_app_settings_internal_server_error_response_body.py +1 -1
- samsara/types/settings_get_driver_app_settings_method_not_allowed_error_response_body.py +1 -1
- samsara/types/settings_get_driver_app_settings_not_found_error_response_body.py +1 -1
- samsara/types/settings_get_driver_app_settings_not_implemented_error_response_body.py +1 -1
- samsara/types/settings_get_driver_app_settings_service_unavailable_error_response_body.py +1 -1
- samsara/types/settings_get_driver_app_settings_too_many_requests_error_response_body.py +1 -1
- samsara/types/settings_get_driver_app_settings_unauthorized_error_response_body.py +1 -1
- samsara/types/settings_patch_compliance_settings_bad_gateway_error_response_body.py +1 -1
- samsara/types/settings_patch_compliance_settings_gateway_timeout_error_response_body.py +1 -1
- samsara/types/settings_patch_compliance_settings_internal_server_error_response_body.py +1 -1
- samsara/types/settings_patch_compliance_settings_method_not_allowed_error_response_body.py +1 -1
- samsara/types/settings_patch_compliance_settings_not_found_error_response_body.py +1 -1
- samsara/types/settings_patch_compliance_settings_not_implemented_error_response_body.py +1 -1
- samsara/types/settings_patch_compliance_settings_service_unavailable_error_response_body.py +1 -1
- samsara/types/settings_patch_compliance_settings_too_many_requests_error_response_body.py +1 -1
- samsara/types/settings_patch_compliance_settings_unauthorized_error_response_body.py +1 -1
- samsara/types/settings_patch_driver_app_settings_bad_gateway_error_response_body.py +1 -1
- samsara/types/settings_patch_driver_app_settings_gateway_timeout_error_response_body.py +1 -1
- samsara/types/settings_patch_driver_app_settings_internal_server_error_response_body.py +1 -1
- samsara/types/settings_patch_driver_app_settings_method_not_allowed_error_response_body.py +1 -1
- samsara/types/settings_patch_driver_app_settings_not_found_error_response_body.py +1 -1
- samsara/types/settings_patch_driver_app_settings_not_implemented_error_response_body.py +1 -1
- samsara/types/settings_patch_driver_app_settings_service_unavailable_error_response_body.py +1 -1
- samsara/types/settings_patch_driver_app_settings_too_many_requests_error_response_body.py +1 -1
- samsara/types/settings_patch_driver_app_settings_unauthorized_error_response_body.py +1 -1
- samsara/types/settings_response_body.py +1 -1
- samsara/types/severe_speeding_started_object_response_body.py +2 -2
- samsara/types/signature_field_type_meta_data_object_response_body.py +1 -1
- samsara/types/signature_value_object_request_body.py +1 -1
- samsara/types/signature_value_object_response_body.py +1 -1
- samsara/types/single_approval_requirements_object_response_body.py +3 -1
- samsara/types/single_driver_efficiency_by_driver_data_object_response_body.py +5 -5
- samsara/types/single_driver_efficiency_by_vehicle_data_object_response_body.py +5 -5
- samsara/types/specific_vehicle_fault_code_object_request_body.py +1 -1
- samsara/types/specific_vehicle_fault_code_object_response_body.py +1 -1
- samsara/types/speed_data_response_body.py +3 -3
- samsara/types/speed_response_response_body.py +2 -2
- samsara/types/speed_trigger_details_object_request_body.py +2 -2
- samsara/types/speed_trigger_details_object_response_body.py +2 -2
- samsara/types/speeding_interval_location_response_response_body.py +4 -2
- samsara/types/speeding_interval_response_body.py +8 -6
- samsara/types/speeding_intervals_get_speeding_intervals_bad_gateway_error_response_body.py +1 -1
- samsara/types/speeding_intervals_get_speeding_intervals_gateway_timeout_error_response_body.py +1 -1
- samsara/types/speeding_intervals_get_speeding_intervals_internal_server_error_response_body.py +1 -1
- samsara/types/speeding_intervals_get_speeding_intervals_method_not_allowed_error_response_body.py +1 -1
- samsara/types/speeding_intervals_get_speeding_intervals_not_found_error_response_body.py +1 -1
- samsara/types/speeding_intervals_get_speeding_intervals_not_implemented_error_response_body.py +1 -1
- samsara/types/speeding_intervals_get_speeding_intervals_service_unavailable_error_response_body.py +1 -1
- samsara/types/speeding_intervals_get_speeding_intervals_too_many_requests_error_response_body.py +1 -1
- samsara/types/speeding_intervals_get_speeding_intervals_unauthorized_error_response_body.py +1 -1
- samsara/types/speeding_settings_object_response_body.py +1 -1
- samsara/types/speeding_severity_level_response_body.py +6 -4
- samsara/types/start_function_run_response_body_response_body.py +3 -1
- samsara/types/stop_eta_updated_event_details_response_body.py +4 -2
- samsara/types/stop_task_completed_event_details_response_body.py +2 -2
- samsara/types/stop_task_skipped_event_details_response_body.py +2 -2
- samsara/types/sudden_fuel_level_drop_response_body.py +4 -4
- samsara/types/sudden_fuel_level_drop_trigger_details_object_request_body.py +1 -1
- samsara/types/sudden_fuel_level_drop_trigger_details_object_response_body.py +1 -1
- samsara/types/sudden_fuel_level_rise_response_body.py +4 -4
- samsara/types/sudden_fuel_level_rise_trigger_details_object_request_body.py +1 -1
- samsara/types/sudden_fuel_level_rise_trigger_details_object_response_body.py +1 -1
- samsara/types/tachograph_activity.py +3 -3
- samsara/types/tachograph_driver_file.py +2 -2
- samsara/types/tachograph_vehicle_file.py +2 -2
- samsara/types/tag_all_of.py +4 -2
- samsara/types/tag_group_safety_score_response_body.py +5 -3
- samsara/types/tag_safety_score_response_body.py +4 -4
- samsara/types/tag_tiny_response.py +1 -1
- samsara/types/time_range_object_request_body.py +3 -3
- samsara/types/time_range_object_response_body.py +3 -3
- samsara/types/tiny_asset_object_request_body.py +2 -2
- samsara/types/tiny_asset_object_response_body.py +2 -2
- samsara/types/tiny_driver_object_request_body.py +1 -1
- samsara/types/tiny_driver_object_response_body.py +1 -1
- samsara/types/tiny_tag.py +3 -1
- samsara/types/tiny_widget_object_request_body.py +1 -1
- samsara/types/tiny_widget_object_response_body.py +1 -1
- samsara/types/tire_fault_code_details_object_request_body.py +3 -3
- samsara/types/tire_fault_code_details_object_response_body.py +3 -3
- samsara/types/trailer_assignments_create_driver_trailer_assignment_bad_gateway_error_response_body.py +1 -1
- samsara/types/trailer_assignments_create_driver_trailer_assignment_gateway_timeout_error_response_body.py +1 -1
- samsara/types/trailer_assignments_create_driver_trailer_assignment_internal_server_error_response_body.py +1 -1
- samsara/types/trailer_assignments_create_driver_trailer_assignment_method_not_allowed_error_response_body.py +1 -1
- samsara/types/trailer_assignments_create_driver_trailer_assignment_not_found_error_response_body.py +1 -1
- samsara/types/trailer_assignments_create_driver_trailer_assignment_not_implemented_error_response_body.py +1 -1
- samsara/types/trailer_assignments_create_driver_trailer_assignment_service_unavailable_error_response_body.py +1 -1
- samsara/types/trailer_assignments_create_driver_trailer_assignment_too_many_requests_error_response_body.py +1 -1
- samsara/types/trailer_assignments_create_driver_trailer_assignment_unauthorized_error_response_body.py +1 -1
- samsara/types/trailer_assignments_get_driver_trailer_assignments_bad_gateway_error_response_body.py +1 -1
- samsara/types/trailer_assignments_get_driver_trailer_assignments_gateway_timeout_error_response_body.py +1 -1
- samsara/types/trailer_assignments_get_driver_trailer_assignments_internal_server_error_response_body.py +1 -1
- samsara/types/trailer_assignments_get_driver_trailer_assignments_method_not_allowed_error_response_body.py +1 -1
- samsara/types/trailer_assignments_get_driver_trailer_assignments_not_found_error_response_body.py +1 -1
- samsara/types/trailer_assignments_get_driver_trailer_assignments_not_implemented_error_response_body.py +1 -1
- samsara/types/trailer_assignments_get_driver_trailer_assignments_service_unavailable_error_response_body.py +1 -1
- samsara/types/trailer_assignments_get_driver_trailer_assignments_too_many_requests_error_response_body.py +1 -1
- samsara/types/trailer_assignments_get_driver_trailer_assignments_unauthorized_error_response_body.py +1 -1
- samsara/types/trailer_assignments_update_driver_trailer_assignment_bad_gateway_error_response_body.py +1 -1
- samsara/types/trailer_assignments_update_driver_trailer_assignment_gateway_timeout_error_response_body.py +1 -1
- samsara/types/trailer_assignments_update_driver_trailer_assignment_internal_server_error_response_body.py +1 -1
- samsara/types/trailer_assignments_update_driver_trailer_assignment_method_not_allowed_error_response_body.py +1 -1
- samsara/types/trailer_assignments_update_driver_trailer_assignment_not_found_error_response_body.py +1 -1
- samsara/types/trailer_assignments_update_driver_trailer_assignment_not_implemented_error_response_body.py +1 -1
- samsara/types/trailer_assignments_update_driver_trailer_assignment_service_unavailable_error_response_body.py +1 -1
- samsara/types/trailer_assignments_update_driver_trailer_assignment_too_many_requests_error_response_body.py +1 -1
- samsara/types/trailer_assignments_update_driver_trailer_assignment_unauthorized_error_response_body.py +1 -1
- samsara/types/trailer_dvir_object_response_body.py +1 -1
- samsara/types/trailer_object_response_body.py +1 -1
- samsara/types/trailer_response_object_response_body.py +5 -5
- samsara/types/trailer_stat_decoration_response_body.py +22 -22
- samsara/types/trailer_stat_gps_type_response_body.py +3 -3
- samsara/types/trailer_stat_gps_with_decorations_type_response_body.py +3 -3
- samsara/types/trailer_stat_reefer_alarm_response_body.py +4 -2
- samsara/types/trailer_stat_reefer_state_type_response_body.py +1 -1
- samsara/types/trailer_stat_reefer_state_with_decorations_type_response_body.py +1 -1
- samsara/types/trailer_stat_reefer_state_zone_1_type_response_body.py +1 -1
- samsara/types/trailer_stat_reefer_state_zone_1_with_decorations_type_response_body.py +1 -1
- samsara/types/trailer_stat_reefer_state_zone_2_type_response_body.py +1 -1
- samsara/types/trailer_stat_reefer_state_zone_2_with_decorations_type_response_body.py +1 -1
- samsara/types/trailer_stat_reefer_state_zone_3_type_response_body.py +1 -1
- samsara/types/trailer_stat_reefer_state_zone_3_with_decorations_type_response_body.py +1 -1
- samsara/types/trailer_stats_get_trailer_stats_feed_bad_gateway_error_response_body.py +1 -1
- samsara/types/trailer_stats_get_trailer_stats_feed_gateway_timeout_error_response_body.py +1 -1
- samsara/types/trailer_stats_get_trailer_stats_feed_internal_server_error_response_body.py +1 -1
- samsara/types/trailer_stats_get_trailer_stats_feed_method_not_allowed_error_response_body.py +1 -1
- samsara/types/trailer_stats_get_trailer_stats_feed_not_found_error_response_body.py +1 -1
- samsara/types/trailer_stats_get_trailer_stats_feed_not_implemented_error_response_body.py +1 -1
- samsara/types/trailer_stats_get_trailer_stats_feed_service_unavailable_error_response_body.py +1 -1
- samsara/types/trailer_stats_get_trailer_stats_feed_too_many_requests_error_response_body.py +1 -1
- samsara/types/trailer_stats_get_trailer_stats_feed_unauthorized_error_response_body.py +1 -1
- samsara/types/trailer_stats_get_trailer_stats_history_bad_gateway_error_response_body.py +1 -1
- samsara/types/trailer_stats_get_trailer_stats_history_gateway_timeout_error_response_body.py +1 -1
- samsara/types/trailer_stats_get_trailer_stats_history_internal_server_error_response_body.py +1 -1
- samsara/types/trailer_stats_get_trailer_stats_history_method_not_allowed_error_response_body.py +1 -1
- samsara/types/trailer_stats_get_trailer_stats_history_not_found_error_response_body.py +1 -1
- samsara/types/trailer_stats_get_trailer_stats_history_not_implemented_error_response_body.py +1 -1
- samsara/types/trailer_stats_get_trailer_stats_history_service_unavailable_error_response_body.py +1 -1
- samsara/types/trailer_stats_get_trailer_stats_history_too_many_requests_error_response_body.py +1 -1
- samsara/types/trailer_stats_get_trailer_stats_history_unauthorized_error_response_body.py +1 -1
- samsara/types/trailer_stats_get_trailer_stats_snapshot_bad_gateway_error_response_body.py +1 -1
- samsara/types/trailer_stats_get_trailer_stats_snapshot_gateway_timeout_error_response_body.py +1 -1
- samsara/types/trailer_stats_get_trailer_stats_snapshot_internal_server_error_response_body.py +1 -1
- samsara/types/trailer_stats_get_trailer_stats_snapshot_method_not_allowed_error_response_body.py +1 -1
- samsara/types/trailer_stats_get_trailer_stats_snapshot_not_found_error_response_body.py +1 -1
- samsara/types/trailer_stats_get_trailer_stats_snapshot_not_implemented_error_response_body.py +1 -1
- samsara/types/trailer_stats_get_trailer_stats_snapshot_service_unavailable_error_response_body.py +1 -1
- samsara/types/trailer_stats_get_trailer_stats_snapshot_too_many_requests_error_response_body.py +1 -1
- samsara/types/trailer_stats_get_trailer_stats_snapshot_unauthorized_error_response_body.py +1 -1
- samsara/types/trailer_stats_object_response_body.py +22 -22
- samsara/types/trailer_stats_snapshot_object_response_body.py +22 -22
- samsara/types/trailer_with_attributes_response_object_response_body.py +5 -5
- samsara/types/trailers_create_trailer_bad_gateway_error_response_body.py +1 -1
- samsara/types/trailers_create_trailer_gateway_timeout_error_response_body.py +1 -1
- samsara/types/trailers_create_trailer_internal_server_error_response_body.py +1 -1
- samsara/types/trailers_create_trailer_method_not_allowed_error_response_body.py +1 -1
- samsara/types/trailers_create_trailer_not_found_error_response_body.py +1 -1
- samsara/types/trailers_create_trailer_not_implemented_error_response_body.py +1 -1
- samsara/types/trailers_create_trailer_service_unavailable_error_response_body.py +1 -1
- samsara/types/trailers_create_trailer_too_many_requests_error_response_body.py +1 -1
- samsara/types/trailers_create_trailer_unauthorized_error_response_body.py +1 -1
- samsara/types/trailers_delete_trailer_bad_gateway_error_response_body.py +1 -1
- samsara/types/trailers_delete_trailer_gateway_timeout_error_response_body.py +1 -1
- samsara/types/trailers_delete_trailer_internal_server_error_response_body.py +1 -1
- samsara/types/trailers_delete_trailer_method_not_allowed_error_response_body.py +1 -1
- samsara/types/trailers_delete_trailer_not_found_error_response_body.py +1 -1
- samsara/types/trailers_delete_trailer_not_implemented_error_response_body.py +1 -1
- samsara/types/trailers_delete_trailer_service_unavailable_error_response_body.py +1 -1
- samsara/types/trailers_delete_trailer_too_many_requests_error_response_body.py +1 -1
- samsara/types/trailers_delete_trailer_unauthorized_error_response_body.py +1 -1
- samsara/types/trailers_get_trailer_bad_gateway_error_response_body.py +1 -1
- samsara/types/trailers_get_trailer_gateway_timeout_error_response_body.py +1 -1
- samsara/types/trailers_get_trailer_internal_server_error_response_body.py +1 -1
- samsara/types/trailers_get_trailer_method_not_allowed_error_response_body.py +1 -1
- samsara/types/trailers_get_trailer_not_found_error_response_body.py +1 -1
- samsara/types/trailers_get_trailer_not_implemented_error_response_body.py +1 -1
- samsara/types/trailers_get_trailer_service_unavailable_error_response_body.py +1 -1
- samsara/types/trailers_get_trailer_too_many_requests_error_response_body.py +1 -1
- samsara/types/trailers_get_trailer_unauthorized_error_response_body.py +1 -1
- samsara/types/trailers_list_trailers_bad_gateway_error_response_body.py +1 -1
- samsara/types/trailers_list_trailers_gateway_timeout_error_response_body.py +1 -1
- samsara/types/trailers_list_trailers_internal_server_error_response_body.py +1 -1
- samsara/types/trailers_list_trailers_method_not_allowed_error_response_body.py +1 -1
- samsara/types/trailers_list_trailers_not_found_error_response_body.py +1 -1
- samsara/types/trailers_list_trailers_not_implemented_error_response_body.py +1 -1
- samsara/types/trailers_list_trailers_service_unavailable_error_response_body.py +1 -1
- samsara/types/trailers_list_trailers_too_many_requests_error_response_body.py +1 -1
- samsara/types/trailers_list_trailers_unauthorized_error_response_body.py +1 -1
- samsara/types/trailers_update_trailer_bad_gateway_error_response_body.py +1 -1
- samsara/types/trailers_update_trailer_gateway_timeout_error_response_body.py +1 -1
- samsara/types/trailers_update_trailer_internal_server_error_response_body.py +1 -1
- samsara/types/trailers_update_trailer_method_not_allowed_error_response_body.py +1 -1
- samsara/types/trailers_update_trailer_not_found_error_response_body.py +1 -1
- samsara/types/trailers_update_trailer_not_implemented_error_response_body.py +1 -1
- samsara/types/trailers_update_trailer_service_unavailable_error_response_body.py +1 -1
- samsara/types/trailers_update_trailer_too_many_requests_error_response_body.py +1 -1
- samsara/types/trailers_update_trailer_unauthorized_error_response_body.py +1 -1
- samsara/types/training_assignment_near_due_date_trigger_assignment_group_object_request_body.py +2 -2
- samsara/types/training_assignment_near_due_date_trigger_assignment_group_object_response_body.py +2 -2
- samsara/types/training_assignment_near_due_date_trigger_details_object_request_body.py +5 -3
- samsara/types/training_assignment_near_due_date_trigger_details_object_response_body.py +5 -3
- samsara/types/training_assignment_post_response_object_response_body.py +8 -4
- samsara/types/training_assignment_response_object_response_body.py +22 -12
- samsara/types/training_assignments_delete_training_assignments_bad_gateway_error_response_body.py +1 -1
- samsara/types/training_assignments_delete_training_assignments_gateway_timeout_error_response_body.py +1 -1
- samsara/types/training_assignments_delete_training_assignments_internal_server_error_response_body.py +1 -1
- samsara/types/training_assignments_delete_training_assignments_method_not_allowed_error_response_body.py +1 -1
- samsara/types/training_assignments_delete_training_assignments_not_found_error_response_body.py +1 -1
- samsara/types/training_assignments_delete_training_assignments_not_implemented_error_response_body.py +1 -1
- samsara/types/training_assignments_delete_training_assignments_service_unavailable_error_response_body.py +1 -1
- samsara/types/training_assignments_delete_training_assignments_too_many_requests_error_response_body.py +1 -1
- samsara/types/training_assignments_delete_training_assignments_unauthorized_error_response_body.py +1 -1
- samsara/types/training_assignments_get_training_assignments_stream_bad_gateway_error_response_body.py +1 -1
- samsara/types/training_assignments_get_training_assignments_stream_gateway_timeout_error_response_body.py +1 -1
- samsara/types/training_assignments_get_training_assignments_stream_internal_server_error_response_body.py +1 -1
- samsara/types/training_assignments_get_training_assignments_stream_method_not_allowed_error_response_body.py +1 -1
- samsara/types/training_assignments_get_training_assignments_stream_not_found_error_response_body.py +1 -1
- samsara/types/training_assignments_get_training_assignments_stream_not_implemented_error_response_body.py +1 -1
- samsara/types/training_assignments_get_training_assignments_stream_service_unavailable_error_response_body.py +1 -1
- samsara/types/training_assignments_get_training_assignments_stream_too_many_requests_error_response_body.py +1 -1
- samsara/types/training_assignments_get_training_assignments_stream_unauthorized_error_response_body.py +1 -1
- samsara/types/training_assignments_patch_training_assignments_bad_gateway_error_response_body.py +1 -1
- samsara/types/training_assignments_patch_training_assignments_gateway_timeout_error_response_body.py +1 -1
- samsara/types/training_assignments_patch_training_assignments_internal_server_error_response_body.py +1 -1
- samsara/types/training_assignments_patch_training_assignments_method_not_allowed_error_response_body.py +1 -1
- samsara/types/training_assignments_patch_training_assignments_not_found_error_response_body.py +1 -1
- samsara/types/training_assignments_patch_training_assignments_not_implemented_error_response_body.py +1 -1
- samsara/types/training_assignments_patch_training_assignments_service_unavailable_error_response_body.py +1 -1
- samsara/types/training_assignments_patch_training_assignments_too_many_requests_error_response_body.py +1 -1
- samsara/types/training_assignments_patch_training_assignments_unauthorized_error_response_body.py +1 -1
- samsara/types/training_assignments_post_training_assignments_bad_gateway_error_response_body.py +1 -1
- samsara/types/training_assignments_post_training_assignments_gateway_timeout_error_response_body.py +1 -1
- samsara/types/training_assignments_post_training_assignments_internal_server_error_response_body.py +1 -1
- samsara/types/training_assignments_post_training_assignments_method_not_allowed_error_response_body.py +1 -1
- samsara/types/training_assignments_post_training_assignments_not_found_error_response_body.py +1 -1
- samsara/types/training_assignments_post_training_assignments_not_implemented_error_response_body.py +1 -1
- samsara/types/training_assignments_post_training_assignments_service_unavailable_error_response_body.py +1 -1
- samsara/types/training_assignments_post_training_assignments_too_many_requests_error_response_body.py +1 -1
- samsara/types/training_assignments_post_training_assignments_unauthorized_error_response_body.py +1 -1
- samsara/types/training_course_object_response_body.py +3 -1
- samsara/types/training_course_response_object_response_body.py +4 -2
- samsara/types/training_courses_get_training_courses_bad_gateway_error_response_body.py +1 -1
- samsara/types/training_courses_get_training_courses_gateway_timeout_error_response_body.py +1 -1
- samsara/types/training_courses_get_training_courses_internal_server_error_response_body.py +1 -1
- samsara/types/training_courses_get_training_courses_method_not_allowed_error_response_body.py +1 -1
- samsara/types/training_courses_get_training_courses_not_found_error_response_body.py +1 -1
- samsara/types/training_courses_get_training_courses_not_implemented_error_response_body.py +1 -1
- samsara/types/training_courses_get_training_courses_service_unavailable_error_response_body.py +1 -1
- samsara/types/training_courses_get_training_courses_too_many_requests_error_response_body.py +1 -1
- samsara/types/training_courses_get_training_courses_unauthorized_error_response_body.py +1 -1
- samsara/types/trigger_params_object_request_body.py +36 -32
- samsara/types/trigger_params_object_response_body.py +36 -32
- samsara/types/trip_response_body.py +15 -7
- samsara/types/trip_speeding_intervals_response_body.py +10 -4
- samsara/types/trips_breakdown_response_body.py +12 -6
- samsara/types/trips_get_trips_bad_gateway_error_response_body.py +1 -1
- samsara/types/trips_get_trips_gateway_timeout_error_response_body.py +1 -1
- samsara/types/trips_get_trips_internal_server_error_response_body.py +1 -1
- samsara/types/trips_get_trips_method_not_allowed_error_response_body.py +1 -1
- samsara/types/trips_get_trips_not_found_error_response_body.py +1 -1
- samsara/types/trips_get_trips_not_implemented_error_response_body.py +1 -1
- samsara/types/trips_get_trips_service_unavailable_error_response_body.py +1 -1
- samsara/types/trips_get_trips_too_many_requests_error_response_body.py +1 -1
- samsara/types/trips_get_trips_unauthorized_error_response_body.py +1 -1
- samsara/types/unassigned_driving_trigger_details_object_request_body.py +1 -1
- samsara/types/unassigned_driving_trigger_details_object_response_body.py +1 -1
- samsara/types/update_driver_request_attributes.py +54 -0
- samsara/types/update_driver_request_hos_setting.py +1 -1
- samsara/types/update_engine_immobilizer_relay_state_request_body_request_body.py +1 -1
- samsara/types/update_hub_location_request_body_request_body.py +7 -7
- samsara/types/update_routes_stop_request_object_request_body.py +8 -8
- samsara/types/uploaded_media_object_response_body.py +10 -8
- samsara/types/url_info_object_response_body.py +3 -1
- samsara/types/us_driver_ruleset_override.py +1 -1
- samsara/types/user.py +3 -1
- samsara/types/user_role_assignment.py +3 -1
- samsara/types/v_1_asset.py +3 -3
- samsara/types/v_1_asset_cable.py +1 -1
- samsara/types/v_1_asset_current_location.py +2 -2
- samsara/types/v_1_asset_current_locations_response.py +2 -2
- samsara/types/v_1_asset_location_response_item.py +1 -1
- samsara/types/v_1_asset_reefer_response.py +2 -2
- samsara/types/v_1_asset_reefer_response_reefer_stats.py +5 -5
- samsara/types/v_1_asset_reefer_response_reefer_stats_alarms.py +2 -2
- samsara/types/v_1_asset_reefer_response_reefer_stats_alarms_1.py +1 -1
- samsara/types/v_1_asset_reefer_response_reefer_stats_engine_hours.py +2 -2
- samsara/types/v_1_asset_reefer_response_reefer_stats_fuel_percentage.py +2 -2
- samsara/types/v_1_asset_reefer_response_reefer_stats_power_status.py +1 -1
- samsara/types/v_1_asset_reefer_response_reefer_stats_return_air_temp.py +2 -2
- samsara/types/v_1_asset_reefer_response_reefer_stats_set_point.py +2 -2
- samsara/types/v_1_assets_reefer.py +2 -2
- samsara/types/v_1_assets_reefer_reefer_stats.py +8 -8
- samsara/types/v_1_assets_reefer_reefer_stats_ambient_air_temperature.py +2 -2
- samsara/types/v_1_assets_reefer_reefer_stats_discharge_air_temperature.py +2 -2
- samsara/types/v_1_assets_reefer_reefer_stats_power_status.py +1 -1
- samsara/types/v_1_cargo_response.py +1 -1
- samsara/types/v_1_cargo_response_sensors.py +5 -5
- samsara/types/v_1_door_response.py +1 -1
- samsara/types/v_1_door_response_sensors.py +4 -4
- samsara/types/v_1_driver_safety_score_response.py +12 -12
- samsara/types/v_1_hos_authentication_logs_response.py +1 -1
- samsara/types/v_1_hos_authentication_logs_response_authentication_logs.py +3 -3
- samsara/types/v_1_humidity_response.py +1 -1
- samsara/types/v_1_humidity_response_sensors.py +3 -3
- samsara/types/v_1_machine_history_response_vibrations.py +9 -3
- samsara/types/v_1_message.py +1 -1
- samsara/types/v_1_message_response.py +3 -3
- samsara/types/v_1_pagination.py +10 -4
- samsara/types/v_1_programs_for_the_camera_response_item.py +6 -2
- samsara/types/v_1_safety_report_harsh_event.py +3 -3
- samsara/types/v_1_sensor.py +1 -1
- samsara/types/v_1_sensor_history_response_results.py +1 -1
- samsara/types/v_1_sensors_history_series.py +1 -1
- samsara/types/v_1_temperature_response.py +1 -1
- samsara/types/v_1_temperature_response_sensors.py +6 -6
- samsara/types/v_1_trailer_assignment_response.py +3 -3
- samsara/types/v_1_trailer_assignments_response_all_of.py +1 -1
- samsara/types/v_1_trip_response_trips.py +16 -16
- samsara/types/v_1_vehicle_harsh_event_response.py +10 -6
- samsara/types/v_1_vehicle_maintenance.py +3 -1
- samsara/types/v_1_vehicle_maintenance_j_1939.py +2 -2
- samsara/types/v_1_vehicle_maintenance_j_1939_check_engine_light.py +12 -4
- samsara/types/v_1_vehicle_maintenance_j_1939_diagnostic_trouble_codes.py +10 -6
- samsara/types/v_1_vehicle_maintenance_passenger.py +2 -2
- samsara/types/v_1_vehicle_maintenance_passenger_check_engine_light.py +3 -1
- samsara/types/v_1_vehicle_maintenance_passenger_diagnostic_trouble_codes.py +7 -3
- samsara/types/v_1_vehicle_safety_score_response.py +12 -12
- samsara/types/v_1_vision_cameras_response_item.py +12 -4
- samsara/types/v_1_vision_run_by_camera_response.py +14 -6
- samsara/types/v_1_vision_run_by_camera_response_inspection_results.py +4 -2
- samsara/types/v_1_vision_run_by_camera_response_run_summary.py +12 -4
- samsara/types/v_1_vision_runs_by_camera_and_program_response.py +13 -5
- samsara/types/v_1_vision_runs_by_camera_response_item.py +10 -4
- samsara/types/v_1_vision_runs_by_camera_response_item_report_metadata.py +12 -4
- samsara/types/v_1_vision_runs_response.py +1 -1
- samsara/types/v_1_vision_runs_response_report_metadata.py +4 -4
- samsara/types/v_1_vision_runs_response_vision_runs.py +13 -5
- samsara/types/v_1_vision_step_results_item.py +9 -9
- samsara/types/v_1_vision_step_results_item_angle_check.py +4 -4
- samsara/types/v_1_vision_step_results_item_barcode_item.py +3 -1
- samsara/types/v_1_vision_step_results_item_caliper.py +8 -8
- samsara/types/v_1_vision_step_results_item_contour.py +4 -4
- samsara/types/v_1_vision_step_results_item_distance.py +9 -9
- samsara/types/v_1_vision_step_results_item_expiration_date.py +9 -3
- samsara/types/v_1_vision_step_results_item_find_copies.py +4 -4
- samsara/types/v_1_vision_step_results_item_find_edge.py +9 -9
- samsara/types/v_1_vision_step_results_item_find_shapes.py +9 -3
- samsara/types/v_1_vision_step_results_item_fixture.py +3 -1
- samsara/types/v_1_vision_step_results_item_presence_absence.py +10 -8
- samsara/types/v_1_vision_step_results_item_text_match.py +6 -2
- samsara/types/vehicle.py +40 -50
- samsara/types/vehicle_assignment_object_response_body.py +6 -4
- samsara/types/vehicle_batter_voltage_details_object_request_body.py +4 -2
- samsara/types/vehicle_batter_voltage_details_object_response_body.py +4 -2
- samsara/types/vehicle_detected_response_body.py +1 -1
- samsara/types/vehicle_dvir_object_response_body.py +1 -1
- samsara/types/vehicle_fault_code_details_object_request_body.py +8 -8
- samsara/types/vehicle_fault_code_details_object_response_body.py +8 -8
- samsara/types/vehicle_location.py +6 -6
- samsara/types/vehicle_response_object_response_body.py +35 -26
- samsara/types/vehicle_response_response_body.py +4 -4
- samsara/types/vehicle_safety_score_response_body.py +6 -4
- samsara/types/vehicle_sensor_configuration_area.py +3 -3
- samsara/types/vehicle_sensor_configuration_area_response_body.py +3 -3
- samsara/types/vehicle_stats_ambient_air_temp_milli_c.py +2 -2
- samsara/types/vehicle_stats_ambient_air_temp_milli_c_with_decoration.py +2 -2
- samsara/types/vehicle_stats_barometric_pressure_pa.py +2 -2
- samsara/types/vehicle_stats_barometric_pressure_pa_with_decoration.py +2 -2
- samsara/types/vehicle_stats_battery_voltage.py +2 -2
- samsara/types/vehicle_stats_battery_voltage_with_decoration.py +2 -2
- samsara/types/vehicle_stats_decorations.py +60 -60
- samsara/types/vehicle_stats_decorations_gps.py +7 -7
- samsara/types/vehicle_stats_def_level_milli_percent.py +2 -2
- samsara/types/vehicle_stats_def_level_milli_percent_with_decoration.py +2 -2
- samsara/types/vehicle_stats_ecu_door_status.py +2 -2
- samsara/types/vehicle_stats_ecu_speed_mph.py +2 -2
- samsara/types/vehicle_stats_ecu_speed_mph_with_decoration.py +2 -2
- samsara/types/vehicle_stats_engine_coolant_temp_milli_c.py +2 -2
- samsara/types/vehicle_stats_engine_coolant_temp_milli_c_with_decoration.py +2 -2
- samsara/types/vehicle_stats_engine_load_percent.py +2 -2
- samsara/types/vehicle_stats_engine_load_percent_with_decoration.py +2 -2
- samsara/types/vehicle_stats_engine_oil_pressure_k_pa.py +2 -2
- samsara/types/vehicle_stats_engine_oil_pressure_k_pa_with_decoration.py +2 -2
- samsara/types/vehicle_stats_engine_rpm.py +2 -2
- samsara/types/vehicle_stats_engine_rpm_with_decoration.py +2 -2
- samsara/types/vehicle_stats_engine_state.py +2 -2
- samsara/types/vehicle_stats_engine_state_with_decoration.py +2 -2
- samsara/types/vehicle_stats_ev_average_battery_temperature_milli_celsius.py +2 -2
- samsara/types/vehicle_stats_ev_battery_current_milli_amp.py +2 -2
- samsara/types/vehicle_stats_ev_battery_state_of_health_milli_percent.py +2 -2
- samsara/types/vehicle_stats_ev_battery_voltage_milli_volt.py +2 -2
- samsara/types/vehicle_stats_ev_charging_current_milli_amp.py +2 -2
- samsara/types/vehicle_stats_ev_charging_energy_micro_wh.py +2 -2
- samsara/types/vehicle_stats_ev_charging_status.py +2 -2
- samsara/types/vehicle_stats_ev_charging_voltage_milli_volt.py +2 -2
- samsara/types/vehicle_stats_ev_consumed_energy_micro_wh.py +2 -2
- samsara/types/vehicle_stats_ev_distance_driven_meters.py +2 -2
- samsara/types/vehicle_stats_ev_regenerated_energy_micro_wh.py +2 -2
- samsara/types/vehicle_stats_ev_state_of_charge_milli_percent.py +2 -2
- samsara/types/vehicle_stats_fault_codes.py +2 -2
- samsara/types/vehicle_stats_fault_codes_j_1939.py +2 -2
- samsara/types/vehicle_stats_fault_codes_j_1939_lights.py +10 -4
- samsara/types/vehicle_stats_fault_codes_j_1939_trouble_code.py +13 -9
- samsara/types/vehicle_stats_fault_codes_obdii.py +2 -2
- samsara/types/vehicle_stats_fault_codes_obdii_trouble_code.py +9 -7
- samsara/types/vehicle_stats_fault_codes_oem.py +1 -1
- samsara/types/vehicle_stats_fault_codes_oem_trouble_code.py +4 -4
- samsara/types/vehicle_stats_fault_codes_passenger_dtc.py +3 -3
- samsara/types/vehicle_stats_fault_codes_passenger_monitor_status.py +7 -7
- samsara/types/vehicle_stats_fault_codes_value.py +2 -2
- samsara/types/vehicle_stats_fault_codes_value_j_1939.py +2 -2
- samsara/types/vehicle_stats_fault_codes_value_j_1939_check_engine_lights.py +10 -4
- samsara/types/vehicle_stats_fault_codes_value_j_1939_diagnostic_trouble_codes.py +11 -9
- samsara/types/vehicle_stats_fault_codes_value_j_1939_vendor_specific_fields.py +2 -2
- samsara/types/vehicle_stats_fault_codes_value_obdii.py +2 -2
- samsara/types/vehicle_stats_fault_codes_value_obdii_confirmed_dtcs.py +3 -3
- samsara/types/vehicle_stats_fault_codes_value_obdii_diagnostic_trouble_codes.py +7 -7
- samsara/types/vehicle_stats_fault_codes_value_obdii_monitor_status.py +7 -7
- samsara/types/vehicle_stats_fault_codes_value_oem.py +1 -1
- samsara/types/vehicle_stats_fault_codes_value_oem_diagnostic_trouble_codes.py +4 -4
- samsara/types/vehicle_stats_fault_codes_vendor_specific_fields.py +2 -2
- samsara/types/vehicle_stats_fault_codes_with_decoration.py +4 -4
- samsara/types/vehicle_stats_fuel_consumed_milliliters.py +2 -2
- samsara/types/vehicle_stats_fuel_consumed_milliliters_with_decoration.py +2 -2
- samsara/types/vehicle_stats_fuel_percent.py +2 -2
- samsara/types/vehicle_stats_fuel_percent_with_decoration.py +2 -2
- samsara/types/vehicle_stats_gps.py +9 -9
- samsara/types/vehicle_stats_gps_distance_meters.py +2 -2
- samsara/types/vehicle_stats_gps_distance_meters_with_decoration.py +2 -2
- samsara/types/vehicle_stats_gps_odometer_meters.py +2 -2
- samsara/types/vehicle_stats_gps_odometer_meters_with_decoration.py +2 -2
- samsara/types/vehicle_stats_idling_duration_milliseconds.py +2 -2
- samsara/types/vehicle_stats_idling_duration_milliseconds_with_decoration.py +2 -2
- samsara/types/vehicle_stats_intake_manifold_temp_milli_c.py +2 -2
- samsara/types/vehicle_stats_intake_manifold_temp_milli_c_with_decoration.py +2 -2
- samsara/types/vehicle_stats_list_gps.py +9 -9
- samsara/types/vehicle_stats_list_response_data.py +62 -62
- samsara/types/vehicle_stats_obd_engine_seconds.py +2 -2
- samsara/types/vehicle_stats_obd_engine_seconds_with_decoration.py +2 -2
- samsara/types/vehicle_stats_obd_odometer_meters.py +2 -2
- samsara/types/vehicle_stats_obd_odometer_meters_with_decoration.py +2 -2
- samsara/types/vehicle_stats_response_data.py +62 -62
- samsara/types/vehicle_stats_seatbelt_driver.py +2 -2
- samsara/types/vehicle_stats_spreader_active.py +2 -2
- samsara/types/vehicle_stats_spreader_air_temp.py +2 -2
- samsara/types/vehicle_stats_spreader_blast_state.py +2 -2
- samsara/types/vehicle_stats_spreader_granular_name.py +2 -2
- samsara/types/vehicle_stats_spreader_granular_rate.py +2 -2
- samsara/types/vehicle_stats_spreader_liquid_name.py +2 -2
- samsara/types/vehicle_stats_spreader_liquid_rate.py +2 -2
- samsara/types/vehicle_stats_spreader_on_state.py +2 -2
- samsara/types/vehicle_stats_spreader_plow_status.py +2 -2
- samsara/types/vehicle_stats_spreader_prewet_name.py +2 -2
- samsara/types/vehicle_stats_spreader_prewet_rate.py +2 -2
- samsara/types/vehicle_stats_spreader_road_temp.py +2 -2
- samsara/types/vehicle_stats_tire_pressures.py +4 -4
- samsara/types/vehicle_summary.py +14 -12
- samsara/types/vehicle_tiny_response.py +1 -1
- samsara/types/vehicle_with_gateway_tiny_response_response_body.py +3 -3
- samsara/types/vehicles_driver_assignments_get_vehicles_driver_assignments_bad_gateway_error_response_body.py +1 -1
- samsara/types/vehicles_driver_assignments_get_vehicles_driver_assignments_gateway_timeout_error_response_body.py +1 -1
- samsara/types/vehicles_driver_assignments_get_vehicles_driver_assignments_internal_server_error_response_body.py +1 -1
- samsara/types/vehicles_driver_assignments_get_vehicles_driver_assignments_method_not_allowed_error_response_body.py +1 -1
- samsara/types/vehicles_driver_assignments_get_vehicles_driver_assignments_not_found_error_response_body.py +1 -1
- samsara/types/vehicles_driver_assignments_get_vehicles_driver_assignments_not_implemented_error_response_body.py +1 -1
- samsara/types/vehicles_driver_assignments_get_vehicles_driver_assignments_service_unavailable_error_response_body.py +1 -1
- samsara/types/vehicles_driver_assignments_get_vehicles_driver_assignments_too_many_requests_error_response_body.py +1 -1
- samsara/types/vehicles_driver_assignments_get_vehicles_driver_assignments_unauthorized_error_response_body.py +1 -1
- samsara/types/vehicles_driver_assignments_object_response_body.py +2 -2
- samsara/types/vehicles_list_vehicles_bad_gateway_error_response_body.py +1 -1
- samsara/types/vehicles_list_vehicles_gateway_timeout_error_response_body.py +1 -1
- samsara/types/vehicles_list_vehicles_internal_server_error_response_body.py +1 -1
- samsara/types/vehicles_list_vehicles_method_not_allowed_error_response_body.py +1 -1
- samsara/types/vehicles_list_vehicles_not_found_error_response_body.py +1 -1
- samsara/types/vehicles_list_vehicles_not_implemented_error_response_body.py +1 -1
- samsara/types/vehicles_list_vehicles_service_unavailable_error_response_body.py +1 -1
- samsara/types/vehicles_list_vehicles_too_many_requests_error_response_body.py +1 -1
- samsara/types/vehicles_list_vehicles_unauthorized_error_response_body.py +1 -1
- samsara/types/vehicles_lock_lock_vehicle_bad_gateway_error_response_body.py +1 -1
- samsara/types/vehicles_lock_lock_vehicle_gateway_timeout_error_response_body.py +1 -1
- samsara/types/vehicles_lock_lock_vehicle_internal_server_error_response_body.py +1 -1
- samsara/types/vehicles_lock_lock_vehicle_method_not_allowed_error_response_body.py +1 -1
- samsara/types/vehicles_lock_lock_vehicle_not_found_error_response_body.py +1 -1
- samsara/types/vehicles_lock_lock_vehicle_not_implemented_error_response_body.py +1 -1
- samsara/types/vehicles_lock_lock_vehicle_service_unavailable_error_response_body.py +1 -1
- samsara/types/vehicles_lock_lock_vehicle_too_many_requests_error_response_body.py +1 -1
- samsara/types/vehicles_lock_lock_vehicle_unauthorized_error_response_body.py +1 -1
- samsara/types/vehicles_lock_unlock_vehicle_bad_gateway_error_response_body.py +1 -1
- samsara/types/vehicles_lock_unlock_vehicle_gateway_timeout_error_response_body.py +1 -1
- samsara/types/vehicles_lock_unlock_vehicle_internal_server_error_response_body.py +1 -1
- samsara/types/vehicles_lock_unlock_vehicle_method_not_allowed_error_response_body.py +1 -1
- samsara/types/vehicles_lock_unlock_vehicle_not_found_error_response_body.py +1 -1
- samsara/types/vehicles_lock_unlock_vehicle_not_implemented_error_response_body.py +1 -1
- samsara/types/vehicles_lock_unlock_vehicle_service_unavailable_error_response_body.py +1 -1
- samsara/types/vehicles_lock_unlock_vehicle_too_many_requests_error_response_body.py +1 -1
- samsara/types/vehicles_lock_unlock_vehicle_unauthorized_error_response_body.py +1 -1
- samsara/types/voice_coaching_settings_object_response_body.py +3 -3
- samsara/types/walkaround_photo_object_response_body.py +3 -1
- samsara/types/webhook_params_object_request_body.py +4 -2
- samsara/types/webhook_params_object_response_body.py +4 -2
- samsara/types/webhook_response_response_body.py +3 -3
- samsara/types/webhook_response_response_body_event_types_item.py +2 -0
- samsara/types/webhook_route_response_object_response_body.py +5 -5
- samsara/types/webhooks_delete_webhook_bad_gateway_error_response_body.py +1 -1
- samsara/types/webhooks_delete_webhook_gateway_timeout_error_response_body.py +1 -1
- samsara/types/webhooks_delete_webhook_internal_server_error_response_body.py +1 -1
- samsara/types/webhooks_delete_webhook_method_not_allowed_error_response_body.py +1 -1
- samsara/types/webhooks_delete_webhook_not_found_error_response_body.py +1 -1
- samsara/types/webhooks_delete_webhook_not_implemented_error_response_body.py +1 -1
- samsara/types/webhooks_delete_webhook_service_unavailable_error_response_body.py +1 -1
- samsara/types/webhooks_delete_webhook_too_many_requests_error_response_body.py +1 -1
- samsara/types/webhooks_delete_webhook_unauthorized_error_response_body.py +1 -1
- samsara/types/webhooks_get_webhook_bad_gateway_error_response_body.py +1 -1
- samsara/types/webhooks_get_webhook_gateway_timeout_error_response_body.py +1 -1
- samsara/types/webhooks_get_webhook_internal_server_error_response_body.py +1 -1
- samsara/types/webhooks_get_webhook_method_not_allowed_error_response_body.py +1 -1
- samsara/types/webhooks_get_webhook_not_found_error_response_body.py +1 -1
- samsara/types/webhooks_get_webhook_not_implemented_error_response_body.py +1 -1
- samsara/types/webhooks_get_webhook_response_body.py +3 -3
- samsara/types/webhooks_get_webhook_response_body_event_types_item.py +2 -0
- samsara/types/webhooks_get_webhook_service_unavailable_error_response_body.py +1 -1
- samsara/types/webhooks_get_webhook_too_many_requests_error_response_body.py +1 -1
- samsara/types/webhooks_get_webhook_unauthorized_error_response_body.py +1 -1
- samsara/types/webhooks_list_webhooks_bad_gateway_error_response_body.py +1 -1
- samsara/types/webhooks_list_webhooks_gateway_timeout_error_response_body.py +1 -1
- samsara/types/webhooks_list_webhooks_internal_server_error_response_body.py +1 -1
- samsara/types/webhooks_list_webhooks_method_not_allowed_error_response_body.py +1 -1
- samsara/types/webhooks_list_webhooks_not_found_error_response_body.py +1 -1
- samsara/types/webhooks_list_webhooks_not_implemented_error_response_body.py +1 -1
- samsara/types/webhooks_list_webhooks_service_unavailable_error_response_body.py +1 -1
- samsara/types/webhooks_list_webhooks_too_many_requests_error_response_body.py +1 -1
- samsara/types/webhooks_list_webhooks_unauthorized_error_response_body.py +1 -1
- samsara/types/webhooks_patch_webhook_bad_gateway_error_response_body.py +1 -1
- samsara/types/webhooks_patch_webhook_gateway_timeout_error_response_body.py +1 -1
- samsara/types/webhooks_patch_webhook_internal_server_error_response_body.py +1 -1
- samsara/types/webhooks_patch_webhook_method_not_allowed_error_response_body.py +1 -1
- samsara/types/webhooks_patch_webhook_not_found_error_response_body.py +1 -1
- samsara/types/webhooks_patch_webhook_not_implemented_error_response_body.py +1 -1
- samsara/types/webhooks_patch_webhook_response_body.py +3 -3
- samsara/types/webhooks_patch_webhook_response_body_event_types_item.py +2 -0
- samsara/types/webhooks_patch_webhook_service_unavailable_error_response_body.py +1 -1
- samsara/types/webhooks_patch_webhook_too_many_requests_error_response_body.py +1 -1
- samsara/types/webhooks_patch_webhook_unauthorized_error_response_body.py +1 -1
- samsara/types/webhooks_post_webhooks_bad_gateway_error_response_body.py +1 -1
- samsara/types/webhooks_post_webhooks_gateway_timeout_error_response_body.py +1 -1
- samsara/types/webhooks_post_webhooks_internal_server_error_response_body.py +1 -1
- samsara/types/webhooks_post_webhooks_method_not_allowed_error_response_body.py +1 -1
- samsara/types/webhooks_post_webhooks_not_found_error_response_body.py +1 -1
- samsara/types/webhooks_post_webhooks_not_implemented_error_response_body.py +1 -1
- samsara/types/webhooks_post_webhooks_response_body.py +3 -3
- samsara/types/webhooks_post_webhooks_response_body_event_types_item.py +2 -0
- samsara/types/webhooks_post_webhooks_service_unavailable_error_response_body.py +1 -1
- samsara/types/webhooks_post_webhooks_too_many_requests_error_response_body.py +1 -1
- samsara/types/webhooks_post_webhooks_unauthorized_error_response_body.py +1 -1
- samsara/types/work_order_attachment_object_response_body.py +2 -2
- samsara/types/work_order_discount_object_request_body.py +1 -1
- samsara/types/work_order_discount_object_response_body.py +1 -1
- samsara/types/work_order_object_response_body.py +21 -18
- samsara/types/work_order_tax_create_object_request_body.py +1 -1
- samsara/types/work_order_tax_object_request_body.py +1 -1
- samsara/types/work_order_tax_object_response_body.py +1 -1
- samsara/types/work_orders_delete_work_orders_bad_gateway_error_response_body.py +1 -1
- samsara/types/work_orders_delete_work_orders_gateway_timeout_error_response_body.py +1 -1
- samsara/types/work_orders_delete_work_orders_internal_server_error_response_body.py +1 -1
- samsara/types/work_orders_delete_work_orders_method_not_allowed_error_response_body.py +1 -1
- samsara/types/work_orders_delete_work_orders_not_found_error_response_body.py +1 -1
- samsara/types/work_orders_delete_work_orders_not_implemented_error_response_body.py +1 -1
- samsara/types/work_orders_delete_work_orders_service_unavailable_error_response_body.py +1 -1
- samsara/types/work_orders_delete_work_orders_too_many_requests_error_response_body.py +1 -1
- samsara/types/work_orders_delete_work_orders_unauthorized_error_response_body.py +1 -1
- samsara/types/work_orders_get_service_tasks_bad_gateway_error_response_body.py +1 -1
- samsara/types/work_orders_get_service_tasks_gateway_timeout_error_response_body.py +1 -1
- samsara/types/work_orders_get_service_tasks_internal_server_error_response_body.py +1 -1
- samsara/types/work_orders_get_service_tasks_method_not_allowed_error_response_body.py +1 -1
- samsara/types/work_orders_get_service_tasks_not_found_error_response_body.py +1 -1
- samsara/types/work_orders_get_service_tasks_not_implemented_error_response_body.py +1 -1
- samsara/types/work_orders_get_service_tasks_service_unavailable_error_response_body.py +1 -1
- samsara/types/work_orders_get_service_tasks_too_many_requests_error_response_body.py +1 -1
- samsara/types/work_orders_get_service_tasks_unauthorized_error_response_body.py +1 -1
- samsara/types/work_orders_get_work_orders_bad_gateway_error_response_body.py +1 -1
- samsara/types/work_orders_get_work_orders_gateway_timeout_error_response_body.py +1 -1
- samsara/types/work_orders_get_work_orders_internal_server_error_response_body.py +1 -1
- samsara/types/work_orders_get_work_orders_method_not_allowed_error_response_body.py +1 -1
- samsara/types/work_orders_get_work_orders_not_found_error_response_body.py +1 -1
- samsara/types/work_orders_get_work_orders_not_implemented_error_response_body.py +1 -1
- samsara/types/work_orders_get_work_orders_service_unavailable_error_response_body.py +1 -1
- samsara/types/work_orders_get_work_orders_too_many_requests_error_response_body.py +1 -1
- samsara/types/work_orders_get_work_orders_unauthorized_error_response_body.py +1 -1
- samsara/types/work_orders_patch_work_orders_bad_gateway_error_response_body.py +1 -1
- samsara/types/work_orders_patch_work_orders_gateway_timeout_error_response_body.py +1 -1
- samsara/types/work_orders_patch_work_orders_internal_server_error_response_body.py +1 -1
- samsara/types/work_orders_patch_work_orders_method_not_allowed_error_response_body.py +1 -1
- samsara/types/work_orders_patch_work_orders_not_found_error_response_body.py +1 -1
- samsara/types/work_orders_patch_work_orders_not_implemented_error_response_body.py +1 -1
- samsara/types/work_orders_patch_work_orders_service_unavailable_error_response_body.py +1 -1
- samsara/types/work_orders_patch_work_orders_too_many_requests_error_response_body.py +1 -1
- samsara/types/work_orders_patch_work_orders_unauthorized_error_response_body.py +1 -1
- samsara/types/work_orders_post_invoice_scan_bad_gateway_error_response_body.py +33 -0
- samsara/types/work_orders_post_invoice_scan_gateway_timeout_error_response_body.py +33 -0
- samsara/types/work_orders_post_invoice_scan_internal_server_error_response_body.py +33 -0
- samsara/types/work_orders_post_invoice_scan_method_not_allowed_error_response_body.py +33 -0
- samsara/types/work_orders_post_invoice_scan_not_found_error_response_body.py +33 -0
- samsara/types/work_orders_post_invoice_scan_not_implemented_error_response_body.py +33 -0
- samsara/types/work_orders_post_invoice_scan_response_body.py +20 -0
- samsara/types/work_orders_post_invoice_scan_service_unavailable_error_response_body.py +33 -0
- samsara/types/work_orders_post_invoice_scan_too_many_requests_error_response_body.py +33 -0
- samsara/types/work_orders_post_invoice_scan_unauthorized_error_response_body.py +33 -0
- samsara/types/work_orders_post_work_orders_bad_gateway_error_response_body.py +1 -1
- samsara/types/work_orders_post_work_orders_gateway_timeout_error_response_body.py +1 -1
- samsara/types/work_orders_post_work_orders_internal_server_error_response_body.py +1 -1
- samsara/types/work_orders_post_work_orders_method_not_allowed_error_response_body.py +1 -1
- samsara/types/work_orders_post_work_orders_not_found_error_response_body.py +1 -1
- samsara/types/work_orders_post_work_orders_not_implemented_error_response_body.py +1 -1
- samsara/types/work_orders_post_work_orders_service_unavailable_error_response_body.py +1 -1
- samsara/types/work_orders_post_work_orders_too_many_requests_error_response_body.py +1 -1
- samsara/types/work_orders_post_work_orders_unauthorized_error_response_body.py +1 -1
- samsara/types/work_orders_stream_work_orders_bad_gateway_error_response_body.py +1 -1
- samsara/types/work_orders_stream_work_orders_gateway_timeout_error_response_body.py +1 -1
- samsara/types/work_orders_stream_work_orders_internal_server_error_response_body.py +1 -1
- samsara/types/work_orders_stream_work_orders_method_not_allowed_error_response_body.py +1 -1
- samsara/types/work_orders_stream_work_orders_not_found_error_response_body.py +1 -1
- samsara/types/work_orders_stream_work_orders_not_implemented_error_response_body.py +1 -1
- samsara/types/work_orders_stream_work_orders_service_unavailable_error_response_body.py +1 -1
- samsara/types/work_orders_stream_work_orders_too_many_requests_error_response_body.py +1 -1
- samsara/types/work_orders_stream_work_orders_unauthorized_error_response_body.py +1 -1
- samsara/types/worker_safety_sos_data_response_body.py +44 -0
- samsara/types/worker_safety_sos_data_response_body_source_type.py +7 -0
- samsara/types/workflow_address_event_with_geofence_object_response_body.py +4 -2
- samsara/types/workflow_author_signature_object_response_body.py +4 -2
- samsara/types/workflow_circle_response_body.py +3 -1
- samsara/types/workflow_dvir_object_response_body.py +12 -10
- samsara/types/workflow_geofence_event_response_object_response_body.py +1 -1
- samsara/types/workflow_incident_condition_object_response_body.py +1 -1
- samsara/types/workflow_incident_details_object_response_body.py +64 -56
- samsara/types/workflow_trigger_object_request_body.py +8 -2
- samsara/types/workflow_trigger_object_response_body.py +8 -2
- samsara/vehicles/client.py +2 -2
- samsara/vehicles/raw_client.py +2 -2
- samsara/webhooks/types/webhooks_post_webhooks_request_body_event_types_item.py +2 -0
- samsara/work_orders/__init__.py +0 -6
- samsara/work_orders/client.py +132 -14
- samsara/work_orders/raw_client.py +346 -14
- samsara/work_orders/types/__init__.py +0 -6
- {samsara_api-4.3.0.dist-info → samsara_api-5.3.1.dist-info}/LICENSE +1 -1
- {samsara_api-4.3.0.dist-info → samsara_api-5.3.1.dist-info}/METADATA +1 -1
- {samsara_api-4.3.0.dist-info → samsara_api-5.3.1.dist-info}/RECORD +2374 -2237
- samsara/types/reading_type_response_body_data_type.py +0 -5
- samsara/types/safety_event_driver.py +0 -5
- samsara/types/safety_event_location.py +0 -5
- samsara/types/safety_event_vehicle.py +0 -5
- samsara/types/unit_response_body.py +0 -39
- samsara/types/unit_response_body_base_unit.py +0 -77
- samsara/types/unit_response_body_measurement_type.py +0 -32
- samsara/types/vehicle_aux_input_type_1.py +0 -5
- samsara/types/vehicle_aux_input_type_10.py +0 -5
- samsara/types/vehicle_aux_input_type_11.py +0 -5
- samsara/types/vehicle_aux_input_type_12.py +0 -5
- samsara/types/vehicle_aux_input_type_13.py +0 -5
- samsara/types/vehicle_aux_input_type_2.py +0 -5
- samsara/types/vehicle_aux_input_type_3.py +0 -5
- samsara/types/vehicle_aux_input_type_4.py +0 -5
- samsara/types/vehicle_aux_input_type_5.py +0 -5
- samsara/types/vehicle_aux_input_type_6.py +0 -5
- samsara/types/vehicle_aux_input_type_7.py +0 -5
- samsara/types/vehicle_aux_input_type_8.py +0 -5
- samsara/types/vehicle_aux_input_type_9.py +0 -5
- samsara/types/vehicle_location_reverse_geo.py +0 -5
- samsara/types/vehicle_static_assigned_driver.py +0 -5
- samsara/types/work_order_object_response_body_category.py +0 -7
- samsara/work_orders/types/work_orders_patch_work_orders_request_body_category.py +0 -7
- samsara/work_orders/types/work_orders_post_work_orders_request_body_category.py +0 -7
- /samsara/{beta_ap_is → trips}/types/get_trips_request_completion_status.py +0 -0
- /samsara/{beta_ap_is → trips}/types/get_trips_request_query_by.py +0 -0
- {samsara_api-4.3.0.dist-info → samsara_api-5.3.1.dist-info}/WHEEL +0 -0
samsara/beta_ap_is/client.py
CHANGED
|
@@ -7,12 +7,13 @@ from ..core.client_wrapper import AsyncClientWrapper, SyncClientWrapper
|
|
|
7
7
|
from ..core.request_options import RequestOptions
|
|
8
8
|
from ..types.aemp_equipment_get_aemp_equipment_list_response_body import AempEquipmentGetAempEquipmentListResponseBody
|
|
9
9
|
from ..types.assets_inputs_get_assets_inputs_response_body import AssetsInputsGetAssetsInputsResponseBody
|
|
10
|
+
from ..types.create_report_config_object_request_body import CreateReportConfigObjectRequestBody
|
|
11
|
+
from ..types.depreciation_get_depreciation_transactions_response_body import (
|
|
12
|
+
DepreciationGetDepreciationTransactionsResponseBody,
|
|
13
|
+
)
|
|
10
14
|
from ..types.detection_log_get_detections_response_body import DetectionLogGetDetectionsResponseBody
|
|
11
15
|
from ..types.devices_get_devices_response_body import DevicesGetDevicesResponseBody
|
|
12
16
|
from ..types.driver_efficiencies_response import DriverEfficienciesResponse
|
|
13
|
-
from ..types.drivers_auth_token_create_driver_auth_token_response_body import (
|
|
14
|
-
DriversAuthTokenCreateDriverAuthTokenResponseBody,
|
|
15
|
-
)
|
|
16
17
|
from ..types.engine_immobilizer_get_engine_immobilizer_states_response_body import (
|
|
17
18
|
EngineImmobilizerGetEngineImmobilizerStatesResponseBody,
|
|
18
19
|
)
|
|
@@ -21,6 +22,9 @@ from ..types.functions_start_function_run_response_body import FunctionsStartFun
|
|
|
21
22
|
from ..types.goa_attribute_tiny import GoaAttributeTiny
|
|
22
23
|
from ..types.hos_daily_logs_update_shipping_docs_response_body import HosDailyLogsUpdateShippingDocsResponseBody
|
|
23
24
|
from ..types.hos_eld_events_get_hos_eld_events_response_body import HosEldEventsGetHosEldEventsResponseBody
|
|
25
|
+
from ..types.hub_custom_properties_list_hub_custom_properties_response_body import (
|
|
26
|
+
HubCustomPropertiesListHubCustomPropertiesResponseBody,
|
|
27
|
+
)
|
|
24
28
|
from ..types.jobs_create_job_response_body import JobsCreateJobResponseBody
|
|
25
29
|
from ..types.jobs_delete_job_response_body import JobsDeleteJobResponseBody
|
|
26
30
|
from ..types.jobs_get_jobs_response_body import JobsGetJobsResponseBody
|
|
@@ -51,10 +55,11 @@ from ..types.reading_datapoint_request_body import ReadingDatapointRequestBody
|
|
|
51
55
|
from ..types.readings_get_readings_history_response_body import ReadingsGetReadingsHistoryResponseBody
|
|
52
56
|
from ..types.readings_get_readings_snapshot_response_body import ReadingsGetReadingsSnapshotResponseBody
|
|
53
57
|
from ..types.readings_list_readings_definitions_response_body import ReadingsListReadingsDefinitionsResponseBody
|
|
54
|
-
from ..types.
|
|
55
|
-
from ..types.
|
|
56
|
-
|
|
57
|
-
|
|
58
|
+
from ..types.reports_create_report_run_response_body import ReportsCreateReportRunResponseBody
|
|
59
|
+
from ..types.reports_get_datasets_response_body import ReportsGetDatasetsResponseBody
|
|
60
|
+
from ..types.reports_get_report_configs_response_body import ReportsGetReportConfigsResponseBody
|
|
61
|
+
from ..types.reports_get_report_run_data_response_body import ReportsGetReportRunDataResponseBody
|
|
62
|
+
from ..types.reports_get_report_runs_response_body import ReportsGetReportRunsResponseBody
|
|
58
63
|
from ..types.safety_scores_get_driver_safety_score_trips_response_body import (
|
|
59
64
|
SafetyScoresGetDriverSafetyScoreTripsResponseBody,
|
|
60
65
|
)
|
|
@@ -67,15 +72,6 @@ from ..types.safety_scores_get_vehicle_safety_score_trips_response_body import (
|
|
|
67
72
|
SafetyScoresGetVehicleSafetyScoreTripsResponseBody,
|
|
68
73
|
)
|
|
69
74
|
from ..types.safety_scores_get_vehicle_safety_scores_response_body import SafetyScoresGetVehicleSafetyScoresResponseBody
|
|
70
|
-
from ..types.trailer_assignments_create_driver_trailer_assignment_response_body import (
|
|
71
|
-
TrailerAssignmentsCreateDriverTrailerAssignmentResponseBody,
|
|
72
|
-
)
|
|
73
|
-
from ..types.trailer_assignments_get_driver_trailer_assignments_response_body import (
|
|
74
|
-
TrailerAssignmentsGetDriverTrailerAssignmentsResponseBody,
|
|
75
|
-
)
|
|
76
|
-
from ..types.trailer_assignments_update_driver_trailer_assignment_response_body import (
|
|
77
|
-
TrailerAssignmentsUpdateDriverTrailerAssignmentResponseBody,
|
|
78
|
-
)
|
|
79
75
|
from ..types.trailer_stats_get_trailer_stats_feed_response_body import TrailerStatsGetTrailerStatsFeedResponseBody
|
|
80
76
|
from ..types.trailer_stats_get_trailer_stats_history_response_body import TrailerStatsGetTrailerStatsHistoryResponseBody
|
|
81
77
|
from ..types.trailer_stats_get_trailer_stats_snapshot_response_body import (
|
|
@@ -91,7 +87,6 @@ from ..types.training_assignments_post_training_assignments_response_body import
|
|
|
91
87
|
TrainingAssignmentsPostTrainingAssignmentsResponseBody,
|
|
92
88
|
)
|
|
93
89
|
from ..types.training_courses_get_training_courses_response_body import TrainingCoursesGetTrainingCoursesResponseBody
|
|
94
|
-
from ..types.trips_get_trips_response_body import TripsGetTripsResponseBody
|
|
95
90
|
from ..types.update_engine_immobilizer_relay_state_request_body_request_body import (
|
|
96
91
|
UpdateEngineImmobilizerRelayStateRequestBodyRequestBody,
|
|
97
92
|
)
|
|
@@ -109,8 +104,6 @@ from .types.get_qualification_records_stream_request_entity_type import GetQuali
|
|
|
109
104
|
from .types.get_qualification_types_request_entity_type import GetQualificationTypesRequestEntityType
|
|
110
105
|
from .types.get_tag_group_safety_scores_request_score_type import GetTagGroupSafetyScoresRequestScoreType
|
|
111
106
|
from .types.get_tag_safety_scores_request_score_type import GetTagSafetyScoresRequestScoreType
|
|
112
|
-
from .types.get_trips_request_completion_status import GetTripsRequestCompletionStatus
|
|
113
|
-
from .types.get_trips_request_query_by import GetTripsRequestQueryBy
|
|
114
107
|
|
|
115
108
|
# this is used as the default value for optional parameters
|
|
116
109
|
OMIT = typing.cast(typing.Any, ...)
|
|
@@ -131,6 +124,61 @@ class BetaApIsClient:
|
|
|
131
124
|
"""
|
|
132
125
|
return self._raw_client
|
|
133
126
|
|
|
127
|
+
def get_depreciation_transactions(
|
|
128
|
+
self,
|
|
129
|
+
*,
|
|
130
|
+
start_time: typing.Optional[dt.datetime] = None,
|
|
131
|
+
end_time: typing.Optional[dt.datetime] = None,
|
|
132
|
+
asset_ids: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
|
|
133
|
+
after: typing.Optional[str] = None,
|
|
134
|
+
request_options: typing.Optional[RequestOptions] = None,
|
|
135
|
+
) -> DepreciationGetDepreciationTransactionsResponseBody:
|
|
136
|
+
"""
|
|
137
|
+
Returns depreciation and adjustment transactions for assets. Transactions are returned ordered by updatedAt in ascending order (oldest to newest). Use startTime parameter for incremental sync.
|
|
138
|
+
|
|
139
|
+
<b>Rate limit:</b> 5 requests/sec (learn more about rate limits <a href="https://developers.samsara.com/docs/rate-limits" target="_blank">here</a>).
|
|
140
|
+
|
|
141
|
+
To use this endpoint, select **Read Assets** under the Assets 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>
|
|
142
|
+
|
|
143
|
+
|
|
144
|
+
**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.
|
|
145
|
+
|
|
146
|
+
Parameters
|
|
147
|
+
----------
|
|
148
|
+
start_time : typing.Optional[dt.datetime]
|
|
149
|
+
RFC 3339 timestamp. Returns transactions updated after this time. Compared against updatedAt. If not provided, returns all transactions. 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).
|
|
150
|
+
|
|
151
|
+
end_time : typing.Optional[dt.datetime]
|
|
152
|
+
RFC 3339 timestamp. Returns transactions updated before this time. Compared against updatedAt. If not provided, behaves as an unending feed of changes. 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).
|
|
153
|
+
|
|
154
|
+
asset_ids : typing.Optional[typing.Union[str, typing.Sequence[str]]]
|
|
155
|
+
Filter by asset IDs. Up to 50 ids.
|
|
156
|
+
|
|
157
|
+
after : typing.Optional[str]
|
|
158
|
+
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.
|
|
159
|
+
|
|
160
|
+
request_options : typing.Optional[RequestOptions]
|
|
161
|
+
Request-specific configuration.
|
|
162
|
+
|
|
163
|
+
Returns
|
|
164
|
+
-------
|
|
165
|
+
DepreciationGetDepreciationTransactionsResponseBody
|
|
166
|
+
OK response.
|
|
167
|
+
|
|
168
|
+
Examples
|
|
169
|
+
--------
|
|
170
|
+
from samsara import Samsara
|
|
171
|
+
|
|
172
|
+
client = Samsara(
|
|
173
|
+
token="YOUR_TOKEN",
|
|
174
|
+
)
|
|
175
|
+
client.beta_ap_is.get_depreciation_transactions()
|
|
176
|
+
"""
|
|
177
|
+
_response = self._raw_client.get_depreciation_transactions(
|
|
178
|
+
start_time=start_time, end_time=end_time, asset_ids=asset_ids, after=after, request_options=request_options
|
|
179
|
+
)
|
|
180
|
+
return _response.data
|
|
181
|
+
|
|
134
182
|
def get_assets_inputs(
|
|
135
183
|
self,
|
|
136
184
|
*,
|
|
@@ -914,7 +962,7 @@ class BetaApIsClient:
|
|
|
914
962
|
relay_states=[
|
|
915
963
|
UpdateEngineImmobilizerRelayStateRequestBodyRequestBody(
|
|
916
964
|
id="relay1",
|
|
917
|
-
is_open=
|
|
965
|
+
is_open=True,
|
|
918
966
|
)
|
|
919
967
|
],
|
|
920
968
|
)
|
|
@@ -1173,10 +1221,10 @@ class BetaApIsClient:
|
|
|
1173
1221
|
Optional string of comma separated asset IDs. If asset ID is present, events for the specified asset(s) will be returned. Max for this value is 2000 objects. (Example: 281474982859091,281471982957527)
|
|
1174
1222
|
|
|
1175
1223
|
detection_behavior_labels : typing.Optional[typing.Union[str, typing.Sequence[str]]]
|
|
1176
|
-
Optional string of comma separated labels to filter behavior labels. Uses OR semantics for filtering. An empty list allows all values. Valid values: `acceleration`, `braking`, `crash`, `drowsy`, `eatingDrinking`, `edgeRailroadCrossingViolation`, `followingDistance`, `forwardCollisionWarning`, `genericDistraction`, `harshTurn`, `laneDeparture`, `maxSpeed`, `mobileUsage`, `noSeatbelt`, `obstructedCamera`, `passenger`, `policyViolationMask`, `rollingStop`, `rolloverProtection`, `smoking`, `speeding`, `unsafeParking`, `vulnerableRoadUserCollisionWarning`, `yawControl`. (Example: rollingStop,obstructedCamera,noSeatbelt)
|
|
1224
|
+
Optional string of comma separated labels to filter behavior labels. Uses OR semantics for filtering. An empty list allows all values. Valid values: `acceleration`, `braking`, `crash`, `drowsy`, `eatingDrinking`, `edgeRailroadCrossingViolation`, `followingDistance`, `forwardCollisionWarning`, `genericDistraction`, `harshTurn`, `heavySpeeding`, `laneDeparture`, `lightSpeeding`, `maxSpeed`, `mobileUsage`, `moderateSpeeding`, `noSeatbelt`, `obstructedCamera`, `passenger`, `policyViolationMask`, `ranRedLight`, `rearCollisionWarning`, `rollingStop`, `rolloverProtection`, `severeSpeeding`, `smoking`, `speeding`, `unsafeParking`, `vehicleInBlindSpotWarning`, `vulnerableRoadUserCollisionWarning`, `yawControl`. (Example: rollingStop,obstructedCamera,noSeatbelt)
|
|
1177
1225
|
|
|
1178
1226
|
inbox_filter_reason : typing.Optional[typing.Union[str, typing.Sequence[str]]]
|
|
1179
|
-
Optional string of comma separated reasons to filter detections. Uses OR semantics for filtering. An empty list allows all values. Valid values: `overDailyLimit`, `overHourlyLimit`, `overTripLimit`, `belowConfidenceThreshold`, `belowSeverityThreshold`, `overEventRateLimit`, `geofenceFilter`, `belowNudgeThreshold`, `belowSpeedThreshold`, `nighttimeFilter`, `speedingFilter`, `unknown`. (Example: overDailyLimit,overHourlyLimit,belowConfidenceThreshold)
|
|
1227
|
+
Optional string of comma separated reasons to filter detections. Uses OR semantics for filtering. An empty list allows all values. Valid values: `overDailyLimit`, `overHourlyLimit`, `overTripLimit`, `belowConfidenceThreshold`, `belowSeverityThreshold`, `overEventRateLimit`, `geofenceFilter`, `belowNudgeThreshold`, `belowSpeedThreshold`, `nighttimeFilter`, `speedingFilter`, `inCabAlertOnly`, `unknown`. (Example: overDailyLimit,overHourlyLimit,belowConfidenceThreshold)
|
|
1180
1228
|
|
|
1181
1229
|
inbox_event : typing.Optional[bool]
|
|
1182
1230
|
Indicates whether or not to return detections with an associated Safety Inbox event. An empty entry allows all values. (Example: true)
|
|
@@ -1243,6 +1291,9 @@ class BetaApIsClient:
|
|
|
1243
1291
|
include_health: typing.Optional[bool] = None,
|
|
1244
1292
|
after: typing.Optional[str] = None,
|
|
1245
1293
|
limit: typing.Optional[int] = None,
|
|
1294
|
+
include_tags: typing.Optional[bool] = None,
|
|
1295
|
+
tag_ids: typing.Optional[str] = None,
|
|
1296
|
+
parent_tag_ids: typing.Optional[str] = None,
|
|
1246
1297
|
request_options: typing.Optional[RequestOptions] = None,
|
|
1247
1298
|
) -> DevicesGetDevicesResponseBody:
|
|
1248
1299
|
"""
|
|
@@ -1274,6 +1325,15 @@ class BetaApIsClient:
|
|
|
1274
1325
|
limit : typing.Optional[int]
|
|
1275
1326
|
The limit for how many objects will be in the response. Default and max for this value is 100 objects.
|
|
1276
1327
|
|
|
1328
|
+
include_tags : typing.Optional[bool]
|
|
1329
|
+
Optional boolean to control whether tags are returned in the response. Defaults to false.
|
|
1330
|
+
|
|
1331
|
+
tag_ids : typing.Optional[str]
|
|
1332
|
+
A filter on the data based on this comma-separated list of tag IDs. Example: `tagIds=1234,5678`
|
|
1333
|
+
|
|
1334
|
+
parent_tag_ids : typing.Optional[str]
|
|
1335
|
+
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`
|
|
1336
|
+
|
|
1277
1337
|
request_options : typing.Optional[RequestOptions]
|
|
1278
1338
|
Request-specific configuration.
|
|
1279
1339
|
|
|
@@ -1297,221 +1357,13 @@ class BetaApIsClient:
|
|
|
1297
1357
|
include_health=include_health,
|
|
1298
1358
|
after=after,
|
|
1299
1359
|
limit=limit,
|
|
1360
|
+
include_tags=include_tags,
|
|
1361
|
+
tag_ids=tag_ids,
|
|
1362
|
+
parent_tag_ids=parent_tag_ids,
|
|
1300
1363
|
request_options=request_options,
|
|
1301
1364
|
)
|
|
1302
1365
|
return _response.data
|
|
1303
1366
|
|
|
1304
|
-
def get_driver_trailer_assignments(
|
|
1305
|
-
self,
|
|
1306
|
-
*,
|
|
1307
|
-
driver_ids: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
|
|
1308
|
-
after: typing.Optional[str] = None,
|
|
1309
|
-
include_external_ids: typing.Optional[bool] = None,
|
|
1310
|
-
request_options: typing.Optional[RequestOptions] = None,
|
|
1311
|
-
) -> TrailerAssignmentsGetDriverTrailerAssignmentsResponseBody:
|
|
1312
|
-
"""
|
|
1313
|
-
Get currently active driver-trailer assignments for driver.
|
|
1314
|
-
|
|
1315
|
-
<b>Rate limit:</b> 5 requests/sec (learn more about rate limits <a href="https://developers.samsara.com/docs/rate-limits" target="_blank">here</a>).
|
|
1316
|
-
|
|
1317
|
-
To use this endpoint, select **Read Assignments** under the Assignments 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>
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
**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.
|
|
1321
|
-
|
|
1322
|
-
Parameters
|
|
1323
|
-
----------
|
|
1324
|
-
driver_ids : typing.Optional[typing.Union[str, typing.Sequence[str]]]
|
|
1325
|
-
A filter on the data based on this comma-separated list of driver IDs and externalIds. Example: `driverIds=1234,5678,payroll:4841`
|
|
1326
|
-
|
|
1327
|
-
after : typing.Optional[str]
|
|
1328
|
-
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.
|
|
1329
|
-
|
|
1330
|
-
include_external_ids : typing.Optional[bool]
|
|
1331
|
-
Optional boolean indicating whether to return external IDs on supported entities
|
|
1332
|
-
|
|
1333
|
-
request_options : typing.Optional[RequestOptions]
|
|
1334
|
-
Request-specific configuration.
|
|
1335
|
-
|
|
1336
|
-
Returns
|
|
1337
|
-
-------
|
|
1338
|
-
TrailerAssignmentsGetDriverTrailerAssignmentsResponseBody
|
|
1339
|
-
OK response.
|
|
1340
|
-
|
|
1341
|
-
Examples
|
|
1342
|
-
--------
|
|
1343
|
-
from samsara import Samsara
|
|
1344
|
-
|
|
1345
|
-
client = Samsara(
|
|
1346
|
-
token="YOUR_TOKEN",
|
|
1347
|
-
)
|
|
1348
|
-
client.beta_ap_is.get_driver_trailer_assignments()
|
|
1349
|
-
"""
|
|
1350
|
-
_response = self._raw_client.get_driver_trailer_assignments(
|
|
1351
|
-
driver_ids=driver_ids,
|
|
1352
|
-
after=after,
|
|
1353
|
-
include_external_ids=include_external_ids,
|
|
1354
|
-
request_options=request_options,
|
|
1355
|
-
)
|
|
1356
|
-
return _response.data
|
|
1357
|
-
|
|
1358
|
-
def create_driver_trailer_assignment(
|
|
1359
|
-
self,
|
|
1360
|
-
*,
|
|
1361
|
-
driver_id: str,
|
|
1362
|
-
trailer_id: str,
|
|
1363
|
-
start_time: typing.Optional[str] = OMIT,
|
|
1364
|
-
request_options: typing.Optional[RequestOptions] = None,
|
|
1365
|
-
) -> TrailerAssignmentsCreateDriverTrailerAssignmentResponseBody:
|
|
1366
|
-
"""
|
|
1367
|
-
Create a new driver-trailer assignment
|
|
1368
|
-
|
|
1369
|
-
<b>Rate limit:</b> 5 requests/sec (learn more about rate limits <a href="https://developers.samsara.com/docs/rate-limits" target="_blank">here</a>).
|
|
1370
|
-
|
|
1371
|
-
To use this endpoint, select **Write Assignments** under the Assignments 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>
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
**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.
|
|
1375
|
-
|
|
1376
|
-
Parameters
|
|
1377
|
-
----------
|
|
1378
|
-
driver_id : str
|
|
1379
|
-
ID of the driver. This can be either a unique Samsara ID or an [external ID](https://developers.samsara.com/docs/external-ids) for the driver.
|
|
1380
|
-
|
|
1381
|
-
trailer_id : str
|
|
1382
|
-
ID of the trailer. This can be either a unique Samsara ID or an [external ID](https://developers.samsara.com/docs/external-ids) for the trailer.
|
|
1383
|
-
|
|
1384
|
-
start_time : typing.Optional[str]
|
|
1385
|
-
The start time in RFC 3339 format. The time needs to be current or within the past 7 days. Defaults to now if not provided
|
|
1386
|
-
|
|
1387
|
-
request_options : typing.Optional[RequestOptions]
|
|
1388
|
-
Request-specific configuration.
|
|
1389
|
-
|
|
1390
|
-
Returns
|
|
1391
|
-
-------
|
|
1392
|
-
TrailerAssignmentsCreateDriverTrailerAssignmentResponseBody
|
|
1393
|
-
OK response.
|
|
1394
|
-
|
|
1395
|
-
Examples
|
|
1396
|
-
--------
|
|
1397
|
-
from samsara import Samsara
|
|
1398
|
-
|
|
1399
|
-
client = Samsara(
|
|
1400
|
-
token="YOUR_TOKEN",
|
|
1401
|
-
)
|
|
1402
|
-
client.beta_ap_is.create_driver_trailer_assignment(
|
|
1403
|
-
driver_id="494123",
|
|
1404
|
-
trailer_id="12345",
|
|
1405
|
-
)
|
|
1406
|
-
"""
|
|
1407
|
-
_response = self._raw_client.create_driver_trailer_assignment(
|
|
1408
|
-
driver_id=driver_id, trailer_id=trailer_id, start_time=start_time, request_options=request_options
|
|
1409
|
-
)
|
|
1410
|
-
return _response.data
|
|
1411
|
-
|
|
1412
|
-
def update_driver_trailer_assignment(
|
|
1413
|
-
self, *, id: str, end_time: str, request_options: typing.Optional[RequestOptions] = None
|
|
1414
|
-
) -> TrailerAssignmentsUpdateDriverTrailerAssignmentResponseBody:
|
|
1415
|
-
"""
|
|
1416
|
-
Update an existing driver-trailer assignment.
|
|
1417
|
-
|
|
1418
|
-
<b>Rate limit:</b> 5 requests/sec (learn more about rate limits <a href="https://developers.samsara.com/docs/rate-limits" target="_blank">here</a>).
|
|
1419
|
-
|
|
1420
|
-
To use this endpoint, select **Write Assignments** under the Assignments 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>
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
**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.
|
|
1424
|
-
|
|
1425
|
-
Parameters
|
|
1426
|
-
----------
|
|
1427
|
-
id : str
|
|
1428
|
-
Samsara ID for the assignment.
|
|
1429
|
-
|
|
1430
|
-
end_time : str
|
|
1431
|
-
The end time in RFC 3339 format. The end time should not be in the future
|
|
1432
|
-
|
|
1433
|
-
request_options : typing.Optional[RequestOptions]
|
|
1434
|
-
Request-specific configuration.
|
|
1435
|
-
|
|
1436
|
-
Returns
|
|
1437
|
-
-------
|
|
1438
|
-
TrailerAssignmentsUpdateDriverTrailerAssignmentResponseBody
|
|
1439
|
-
OK response.
|
|
1440
|
-
|
|
1441
|
-
Examples
|
|
1442
|
-
--------
|
|
1443
|
-
from samsara import Samsara
|
|
1444
|
-
|
|
1445
|
-
client = Samsara(
|
|
1446
|
-
token="YOUR_TOKEN",
|
|
1447
|
-
)
|
|
1448
|
-
client.beta_ap_is.update_driver_trailer_assignment(
|
|
1449
|
-
id="id",
|
|
1450
|
-
end_time="2019-06-13T19:08:25Z",
|
|
1451
|
-
)
|
|
1452
|
-
"""
|
|
1453
|
-
_response = self._raw_client.update_driver_trailer_assignment(
|
|
1454
|
-
id=id, end_time=end_time, request_options=request_options
|
|
1455
|
-
)
|
|
1456
|
-
return _response.data
|
|
1457
|
-
|
|
1458
|
-
def create_driver_auth_token(
|
|
1459
|
-
self,
|
|
1460
|
-
*,
|
|
1461
|
-
code: str,
|
|
1462
|
-
external_id: typing.Optional[str] = OMIT,
|
|
1463
|
-
id: typing.Optional[int] = OMIT,
|
|
1464
|
-
username: typing.Optional[str] = OMIT,
|
|
1465
|
-
request_options: typing.Optional[RequestOptions] = None,
|
|
1466
|
-
) -> DriversAuthTokenCreateDriverAuthTokenResponseBody:
|
|
1467
|
-
"""
|
|
1468
|
-
Creates a short-lived auth token for a driver.
|
|
1469
|
-
|
|
1470
|
-
<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>).
|
|
1471
|
-
|
|
1472
|
-
To use this endpoint, select **Write Driver Auth Token** 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>
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
**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.
|
|
1476
|
-
|
|
1477
|
-
Parameters
|
|
1478
|
-
----------
|
|
1479
|
-
code : str
|
|
1480
|
-
Required. Random 12+ character string, used with the auth token to help secure the client from intercepted tokens.
|
|
1481
|
-
|
|
1482
|
-
external_id : typing.Optional[str]
|
|
1483
|
-
Optional. External ID of the driver, in the format `key:value` (e.g., `payrollId:ABFS18600`). One of `id`, `externalId`, or `username` is required.
|
|
1484
|
-
|
|
1485
|
-
id : typing.Optional[int]
|
|
1486
|
-
Optional. Samsara ID of the driver. One of `id`, `externalId`, or `username` is required.
|
|
1487
|
-
|
|
1488
|
-
username : typing.Optional[str]
|
|
1489
|
-
Optional. Username of the driver. This is the login identifier configured when the driver is created. One of `id`, `externalId`, or `username` is required.
|
|
1490
|
-
|
|
1491
|
-
request_options : typing.Optional[RequestOptions]
|
|
1492
|
-
Request-specific configuration.
|
|
1493
|
-
|
|
1494
|
-
Returns
|
|
1495
|
-
-------
|
|
1496
|
-
DriversAuthTokenCreateDriverAuthTokenResponseBody
|
|
1497
|
-
OK response.
|
|
1498
|
-
|
|
1499
|
-
Examples
|
|
1500
|
-
--------
|
|
1501
|
-
from samsara import Samsara
|
|
1502
|
-
|
|
1503
|
-
client = Samsara(
|
|
1504
|
-
token="YOUR_TOKEN",
|
|
1505
|
-
)
|
|
1506
|
-
client.beta_ap_is.create_driver_auth_token(
|
|
1507
|
-
code="dp[gZc1wAigz4uGa0Hh",
|
|
1508
|
-
)
|
|
1509
|
-
"""
|
|
1510
|
-
_response = self._raw_client.create_driver_auth_token(
|
|
1511
|
-
code=code, external_id=external_id, id=id, username=username, request_options=request_options
|
|
1512
|
-
)
|
|
1513
|
-
return _response.data
|
|
1514
|
-
|
|
1515
1367
|
def get_engine_immobilizer_states(
|
|
1516
1368
|
self,
|
|
1517
1369
|
*,
|
|
@@ -1682,55 +1534,133 @@ class BetaApIsClient:
|
|
|
1682
1534
|
)
|
|
1683
1535
|
return _response.data
|
|
1684
1536
|
|
|
1685
|
-
def
|
|
1537
|
+
def list_hub_custom_properties(
|
|
1686
1538
|
self,
|
|
1687
1539
|
*,
|
|
1688
|
-
|
|
1689
|
-
|
|
1540
|
+
hub_id: str,
|
|
1541
|
+
custom_property_ids: typing.Optional[str] = None,
|
|
1542
|
+
custom_property_names: typing.Optional[str] = None,
|
|
1543
|
+
start_time: typing.Optional[dt.datetime] = None,
|
|
1544
|
+
end_time: typing.Optional[dt.datetime] = None,
|
|
1545
|
+
after: typing.Optional[str] = None,
|
|
1546
|
+
limit: typing.Optional[int] = None,
|
|
1690
1547
|
request_options: typing.Optional[RequestOptions] = None,
|
|
1691
|
-
) ->
|
|
1548
|
+
) -> HubCustomPropertiesListHubCustomPropertiesResponseBody:
|
|
1692
1549
|
"""
|
|
1693
|
-
|
|
1550
|
+
Retrieve custom properties for a specific hub.
|
|
1694
1551
|
|
|
1695
1552
|
**Beta:** This endpoint is in beta and is likely to change before being broadly available. Reach out to your Samsara Representative to have RoutePlanning APIs enabled for your organization.
|
|
1696
1553
|
|
|
1697
|
-
<b>Rate limit:</b>
|
|
1554
|
+
<b>Rate limit:</b> 10 requests/sec (learn more about rate limits <a href="https://developers.samsara.com/docs/rate-limits" target="_blank">here</a>).
|
|
1698
1555
|
|
|
1699
|
-
To use this endpoint, select **
|
|
1556
|
+
To use this endpoint, select **Read Routes** under the Driver Workflow 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>
|
|
1700
1557
|
|
|
1701
1558
|
|
|
1702
1559
|
**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.
|
|
1703
1560
|
|
|
1704
1561
|
Parameters
|
|
1705
1562
|
----------
|
|
1706
|
-
|
|
1707
|
-
|
|
1563
|
+
hub_id : str
|
|
1564
|
+
The hub identifier
|
|
1708
1565
|
|
|
1709
|
-
|
|
1710
|
-
|
|
1566
|
+
custom_property_ids : typing.Optional[str]
|
|
1567
|
+
A comma-separated list of custom property IDs that can be used for filtering.
|
|
1568
|
+
|
|
1569
|
+
custom_property_names : typing.Optional[str]
|
|
1570
|
+
A comma-separated list of custom property names that can be used for filtering.
|
|
1571
|
+
|
|
1572
|
+
start_time : typing.Optional[dt.datetime]
|
|
1573
|
+
Time filter of when the custom property was updated, in RFC 3339 format
|
|
1574
|
+
|
|
1575
|
+
end_time : typing.Optional[dt.datetime]
|
|
1576
|
+
Time filter of when the custom property was updated, in RFC 3339 format
|
|
1577
|
+
|
|
1578
|
+
after : typing.Optional[str]
|
|
1579
|
+
If specified, should be the endCursor 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.
|
|
1580
|
+
|
|
1581
|
+
limit : typing.Optional[int]
|
|
1582
|
+
Maximum number of objects to return. Default and maximum is 100
|
|
1711
1583
|
|
|
1712
1584
|
request_options : typing.Optional[RequestOptions]
|
|
1713
1585
|
Request-specific configuration.
|
|
1714
1586
|
|
|
1715
1587
|
Returns
|
|
1716
1588
|
-------
|
|
1717
|
-
|
|
1589
|
+
HubCustomPropertiesListHubCustomPropertiesResponseBody
|
|
1718
1590
|
OK response.
|
|
1719
1591
|
|
|
1720
1592
|
Examples
|
|
1721
1593
|
--------
|
|
1722
|
-
from samsara import
|
|
1594
|
+
from samsara import Samsara
|
|
1723
1595
|
|
|
1724
1596
|
client = Samsara(
|
|
1725
1597
|
token="YOUR_TOKEN",
|
|
1726
1598
|
)
|
|
1727
|
-
client.beta_ap_is.
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
|
-
|
|
1731
|
-
|
|
1732
|
-
|
|
1733
|
-
|
|
1599
|
+
client.beta_ap_is.list_hub_custom_properties(
|
|
1600
|
+
hub_id="hubId",
|
|
1601
|
+
)
|
|
1602
|
+
"""
|
|
1603
|
+
_response = self._raw_client.list_hub_custom_properties(
|
|
1604
|
+
hub_id=hub_id,
|
|
1605
|
+
custom_property_ids=custom_property_ids,
|
|
1606
|
+
custom_property_names=custom_property_names,
|
|
1607
|
+
start_time=start_time,
|
|
1608
|
+
end_time=end_time,
|
|
1609
|
+
after=after,
|
|
1610
|
+
limit=limit,
|
|
1611
|
+
request_options=request_options,
|
|
1612
|
+
)
|
|
1613
|
+
return _response.data
|
|
1614
|
+
|
|
1615
|
+
def create_plan_orders(
|
|
1616
|
+
self,
|
|
1617
|
+
*,
|
|
1618
|
+
data: typing.Sequence[OrderInputObjectRequestBody],
|
|
1619
|
+
enable_update_existing_orders: typing.Optional[bool] = OMIT,
|
|
1620
|
+
request_options: typing.Optional[RequestOptions] = None,
|
|
1621
|
+
) -> PlanOrdersCreatePlanOrdersResponseBody:
|
|
1622
|
+
"""
|
|
1623
|
+
Create one or more orders (bulk upsert). Pass an array of order objects; any object whose customerOrderId already exists will be updated, otherwise a new order is created. Functions can return JSON arrays in this Order POST format. Orders are initially created at the plan level but will migrate to hub-level entities, with planId becoming optional in future versions.
|
|
1624
|
+
|
|
1625
|
+
**Beta:** This endpoint is in beta and is likely to change before being broadly available. Reach out to your Samsara Representative to have RoutePlanning APIs enabled for your organization.
|
|
1626
|
+
|
|
1627
|
+
<b>Rate limit:</b> 5 requests/sec (learn more about rate limits <a href="https://developers.samsara.com/docs/rate-limits" target="_blank">here</a>).
|
|
1628
|
+
|
|
1629
|
+
To use this endpoint, select **Write Routes** under the Driver Workflow 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>
|
|
1630
|
+
|
|
1631
|
+
|
|
1632
|
+
**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.
|
|
1633
|
+
|
|
1634
|
+
Parameters
|
|
1635
|
+
----------
|
|
1636
|
+
data : typing.Sequence[OrderInputObjectRequestBody]
|
|
1637
|
+
An array of order objects to be created or updated
|
|
1638
|
+
|
|
1639
|
+
enable_update_existing_orders : typing.Optional[bool]
|
|
1640
|
+
Enable update of existing orders if an order with the same customerOrderId exists. The input must match the same quantity dimensions as the existing order. If not provided, requests will fail if an order's customerOrderId already exists.
|
|
1641
|
+
|
|
1642
|
+
request_options : typing.Optional[RequestOptions]
|
|
1643
|
+
Request-specific configuration.
|
|
1644
|
+
|
|
1645
|
+
Returns
|
|
1646
|
+
-------
|
|
1647
|
+
PlanOrdersCreatePlanOrdersResponseBody
|
|
1648
|
+
OK response.
|
|
1649
|
+
|
|
1650
|
+
Examples
|
|
1651
|
+
--------
|
|
1652
|
+
from samsara import OrderInputObjectRequestBody, Samsara
|
|
1653
|
+
|
|
1654
|
+
client = Samsara(
|
|
1655
|
+
token="YOUR_TOKEN",
|
|
1656
|
+
)
|
|
1657
|
+
client.beta_ap_is.create_plan_orders(
|
|
1658
|
+
data=[
|
|
1659
|
+
OrderInputObjectRequestBody(
|
|
1660
|
+
customer_order_id="ORDER-2024-001",
|
|
1661
|
+
hub_id="550e8400-e29b-41d4-a716-446655440000",
|
|
1662
|
+
plan_id="650e8400-e29b-41d4-a716-446655440023",
|
|
1663
|
+
)
|
|
1734
1664
|
],
|
|
1735
1665
|
)
|
|
1736
1666
|
"""
|
|
@@ -2044,7 +1974,7 @@ class BetaApIsClient:
|
|
|
2044
1974
|
request_options: typing.Optional[RequestOptions] = None,
|
|
2045
1975
|
) -> QualificationsGetQualificationRecordsStreamResponseBody:
|
|
2046
1976
|
"""
|
|
2047
|
-
Returns all qualification records that have been created or modified for your organization based on the time parameters passed in. Results are paginated and sorted by last modified
|
|
1977
|
+
Returns all qualification records that have been created or modified for your organization based on the time parameters passed in. Results are paginated and are sorted by last modified date. If you include an endTime, the endpoint will return data up until that point (exclusive). If you don't include an endTime, the API will continue to poll with the pagination cursor that gets returned on every call. The hasNextPage response value will be true if there is no endTime specified and endCursor is nonempty.
|
|
2048
1978
|
|
|
2049
1979
|
<b>Rate limit:</b> 5 requests/sec (learn more about rate limits <a href="https://developers.samsara.com/docs/rate-limits" target="_blank">here</a>).
|
|
2050
1980
|
|
|
@@ -2270,10 +2200,6 @@ class BetaApIsClient:
|
|
|
2270
2200
|
) -> ReadingsListReadingsDefinitionsResponseBody:
|
|
2271
2201
|
"""
|
|
2272
2202
|
An introspection endpoint for discovering the set of readings including their name, description, data type, unit, and other metadata.
|
|
2273
|
-
Examples:
|
|
2274
|
-
Diagnostic/Engine Readings: engineState, engineSpeed, fuelLevelPerc etc.
|
|
2275
|
-
Level Monitoring Readings: defLevel, defLevelMilliPercent etc.
|
|
2276
|
-
Smart Trailer Readings: reeferState etc.
|
|
2277
2203
|
|
|
2278
2204
|
<b>Rate limit:</b> 10 requests/sec (learn more about rate limits <a href="https://developers.samsara.com/docs/rate-limits" target="_blank">here</a>).
|
|
2279
2205
|
|
|
@@ -2331,20 +2257,6 @@ class BetaApIsClient:
|
|
|
2331
2257
|
) -> ReadingsGetReadingsHistoryResponseBody:
|
|
2332
2258
|
"""
|
|
2333
2259
|
Get the values of a reading for a set of entities within the specified time range. Returns a paginated response with data for the specified resource IDs where startTime <= happenedAtTime < endTime. End time of null implies endTime is infinite and all known readings are returned.
|
|
2334
|
-
Example:
|
|
2335
|
-
engineRpm Readings for entityId 212014918105584 between time 2025-01-27T19:22:30Z and 2025-01-27T19:25:00Z
|
|
2336
|
-
"data": [
|
|
2337
|
-
{
|
|
2338
|
-
"entityId": "212014918105584",
|
|
2339
|
-
"value": 807,
|
|
2340
|
-
"happenedAtTime": "2025-01-27T19:22:30Z"
|
|
2341
|
-
},
|
|
2342
|
-
{
|
|
2343
|
-
"entityId": "212014918105584",
|
|
2344
|
-
"value": 811,
|
|
2345
|
-
"happenedAtTime": "2025-01-27T19:24:30Z"
|
|
2346
|
-
}
|
|
2347
|
-
],
|
|
2348
2260
|
|
|
2349
2261
|
<b>Rate limit:</b> 10 requests/sec (learn more about rate limits <a href="https://developers.samsara.com/docs/rate-limits" target="_blank">here</a>).
|
|
2350
2262
|
|
|
@@ -2368,7 +2280,7 @@ class BetaApIsClient:
|
|
|
2368
2280
|
A filter on the data based on this comma-separated list of entity IDs or external IDs. If not set, all entities are returned.
|
|
2369
2281
|
|
|
2370
2282
|
external_ids : typing.Optional[str]
|
|
2371
|
-
A filter on the data based on this comma-separated list of external IDs.
|
|
2283
|
+
A filter on the data based on this comma-separated list of external IDs. (Examples: samsara.serial:ZPXKLMN7VJ, samsara.serial:ABXKIMN4NM)
|
|
2372
2284
|
|
|
2373
2285
|
start_time : typing.Optional[str]
|
|
2374
2286
|
A filter on the data that returns the last known data points with timestamps greater than or equal to this value. Must be a string in RFC 3339 format. Millisecond precision and timezones are supported. (Examples: 2020-01-27T07:06:25Z)
|
|
@@ -2430,16 +2342,6 @@ class BetaApIsClient:
|
|
|
2430
2342
|
) -> ReadingsGetReadingsSnapshotResponseBody:
|
|
2431
2343
|
"""
|
|
2432
2344
|
An endpoint to get the last value of a reading for a set of entities at the specified time.
|
|
2433
|
-
Example:
|
|
2434
|
-
engineRpm Readings for entityId 212014918105584 at time 2025-04-16T20:49:19Z
|
|
2435
|
-
"data": [
|
|
2436
|
-
{
|
|
2437
|
-
"readingId": "engineRpm",
|
|
2438
|
-
"entityId": "212014918105584",
|
|
2439
|
-
"value": 600,
|
|
2440
|
-
"happenedAtTime": "2025-04-16T20:49:19Z"
|
|
2441
|
-
}
|
|
2442
|
-
],
|
|
2443
2345
|
|
|
2444
2346
|
<b>Rate limit:</b> 10 requests/sec (learn more about rate limits <a href="https://developers.samsara.com/docs/rate-limits" target="_blank">here</a>).
|
|
2445
2347
|
|
|
@@ -2463,7 +2365,7 @@ class BetaApIsClient:
|
|
|
2463
2365
|
A filter on the data based on this comma-separated list of entity IDs or external IDs. If not set, all entities are returned.
|
|
2464
2366
|
|
|
2465
2367
|
external_ids : typing.Optional[str]
|
|
2466
|
-
A filter on the data based on this comma-separated list of external IDs.
|
|
2368
|
+
A filter on the data based on this comma-separated list of external IDs. (Examples: samsara.serial:ZPXKLMN7VJ, samsara.serial:ABXKIMN4NM)
|
|
2467
2369
|
|
|
2468
2370
|
as_of_time : typing.Optional[str]
|
|
2469
2371
|
A filter on the data that returns the last known data points with timestamps less than or equal to this value. Defaults to now if not provided. Must be a string in RFC 3339 format. Millisecond precision and timezones are supported. (Examples: 2020-01-27T07:06:25Z)
|
|
@@ -2503,45 +2405,92 @@ class BetaApIsClient:
|
|
|
2503
2405
|
)
|
|
2504
2406
|
return _response.data
|
|
2505
2407
|
|
|
2506
|
-
def
|
|
2408
|
+
def get_report_configs(
|
|
2507
2409
|
self,
|
|
2508
2410
|
*,
|
|
2509
|
-
safety_event_ids: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
|
|
2510
|
-
include_asset: typing.Optional[bool] = None,
|
|
2511
|
-
include_driver: typing.Optional[bool] = None,
|
|
2512
2411
|
after: typing.Optional[str] = None,
|
|
2412
|
+
limit: typing.Optional[int] = None,
|
|
2413
|
+
ids: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
|
|
2513
2414
|
request_options: typing.Optional[RequestOptions] = None,
|
|
2514
|
-
) ->
|
|
2415
|
+
) -> ReportsGetReportConfigsResponseBody:
|
|
2515
2416
|
"""
|
|
2516
|
-
|
|
2417
|
+
Get report configs created in the organization.
|
|
2517
2418
|
|
|
2518
2419
|
<b>Rate limit:</b> 5 requests/sec (learn more about rate limits <a href="https://developers.samsara.com/docs/rate-limits" target="_blank">here</a>).
|
|
2519
2420
|
|
|
2520
|
-
To use this endpoint, select **Read
|
|
2421
|
+
To use this endpoint, select **Read Custom Reports** under the Custom Reports 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>
|
|
2521
2422
|
|
|
2522
2423
|
|
|
2523
2424
|
**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.
|
|
2524
2425
|
|
|
2525
2426
|
Parameters
|
|
2526
2427
|
----------
|
|
2527
|
-
|
|
2528
|
-
|
|
2428
|
+
after : typing.Optional[str]
|
|
2429
|
+
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.
|
|
2529
2430
|
|
|
2530
|
-
|
|
2531
|
-
|
|
2431
|
+
limit : typing.Optional[int]
|
|
2432
|
+
Maximum number of configs to return
|
|
2532
2433
|
|
|
2533
|
-
|
|
2534
|
-
|
|
2434
|
+
ids : typing.Optional[typing.Union[str, typing.Sequence[str]]]
|
|
2435
|
+
The list of report config IDs to retrieve. Include up to 10 report config IDs. If not provided, all configs will be returned.
|
|
2436
|
+
|
|
2437
|
+
request_options : typing.Optional[RequestOptions]
|
|
2438
|
+
Request-specific configuration.
|
|
2439
|
+
|
|
2440
|
+
Returns
|
|
2441
|
+
-------
|
|
2442
|
+
ReportsGetReportConfigsResponseBody
|
|
2443
|
+
OK response.
|
|
2444
|
+
|
|
2445
|
+
Examples
|
|
2446
|
+
--------
|
|
2447
|
+
from samsara import Samsara
|
|
2448
|
+
|
|
2449
|
+
client = Samsara(
|
|
2450
|
+
token="YOUR_TOKEN",
|
|
2451
|
+
)
|
|
2452
|
+
client.beta_ap_is.get_report_configs()
|
|
2453
|
+
"""
|
|
2454
|
+
_response = self._raw_client.get_report_configs(
|
|
2455
|
+
after=after, limit=limit, ids=ids, request_options=request_options
|
|
2456
|
+
)
|
|
2457
|
+
return _response.data
|
|
2458
|
+
|
|
2459
|
+
def get_datasets(
|
|
2460
|
+
self,
|
|
2461
|
+
*,
|
|
2462
|
+
ids: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
|
|
2463
|
+
after: typing.Optional[str] = None,
|
|
2464
|
+
limit: typing.Optional[int] = None,
|
|
2465
|
+
request_options: typing.Optional[RequestOptions] = None,
|
|
2466
|
+
) -> ReportsGetDatasetsResponseBody:
|
|
2467
|
+
"""
|
|
2468
|
+
Get datasets for custom reports.
|
|
2469
|
+
|
|
2470
|
+
<b>Rate limit:</b> 5 requests/sec (learn more about rate limits <a href="https://developers.samsara.com/docs/rate-limits" target="_blank">here</a>).
|
|
2471
|
+
|
|
2472
|
+
To use this endpoint, select **Read Custom Reports** under the Custom Reports 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>
|
|
2473
|
+
|
|
2474
|
+
|
|
2475
|
+
**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.
|
|
2476
|
+
|
|
2477
|
+
Parameters
|
|
2478
|
+
----------
|
|
2479
|
+
ids : typing.Optional[typing.Union[str, typing.Sequence[str]]]
|
|
2480
|
+
The list of dataset IDs to retrieve the datasets for. Include up to 10 dataset IDs. If not provided, all datasets will be returned.
|
|
2535
2481
|
|
|
2536
2482
|
after : typing.Optional[str]
|
|
2537
2483
|
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.
|
|
2538
2484
|
|
|
2485
|
+
limit : typing.Optional[int]
|
|
2486
|
+
Maximum number of datasets to return.
|
|
2487
|
+
|
|
2539
2488
|
request_options : typing.Optional[RequestOptions]
|
|
2540
2489
|
Request-specific configuration.
|
|
2541
2490
|
|
|
2542
2491
|
Returns
|
|
2543
2492
|
-------
|
|
2544
|
-
|
|
2493
|
+
ReportsGetDatasetsResponseBody
|
|
2545
2494
|
OK response.
|
|
2546
2495
|
|
|
2547
2496
|
Examples
|
|
@@ -2551,84 +2500,143 @@ class BetaApIsClient:
|
|
|
2551
2500
|
client = Samsara(
|
|
2552
2501
|
token="YOUR_TOKEN",
|
|
2553
2502
|
)
|
|
2554
|
-
client.beta_ap_is.
|
|
2503
|
+
client.beta_ap_is.get_datasets()
|
|
2555
2504
|
"""
|
|
2556
|
-
_response = self._raw_client.
|
|
2557
|
-
safety_event_ids=safety_event_ids,
|
|
2558
|
-
include_asset=include_asset,
|
|
2559
|
-
include_driver=include_driver,
|
|
2560
|
-
after=after,
|
|
2561
|
-
request_options=request_options,
|
|
2562
|
-
)
|
|
2505
|
+
_response = self._raw_client.get_datasets(ids=ids, after=after, limit=limit, request_options=request_options)
|
|
2563
2506
|
return _response.data
|
|
2564
2507
|
|
|
2565
|
-
def
|
|
2508
|
+
def get_report_runs(
|
|
2566
2509
|
self,
|
|
2567
2510
|
*,
|
|
2568
|
-
|
|
2569
|
-
|
|
2570
|
-
asset_ids: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
|
|
2571
|
-
driver_ids: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
|
|
2572
|
-
tag_ids: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
|
|
2573
|
-
assigned_coaches: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
|
|
2574
|
-
behavior_labels: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
|
|
2575
|
-
event_states: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
|
|
2576
|
-
include_asset: typing.Optional[bool] = None,
|
|
2577
|
-
include_driver: typing.Optional[bool] = None,
|
|
2511
|
+
report_config_ids: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
|
|
2512
|
+
ids: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
|
|
2578
2513
|
after: typing.Optional[str] = None,
|
|
2514
|
+
limit: typing.Optional[int] = None,
|
|
2579
2515
|
request_options: typing.Optional[RequestOptions] = None,
|
|
2580
|
-
) ->
|
|
2516
|
+
) -> ReportsGetReportRunsResponseBody:
|
|
2581
2517
|
"""
|
|
2582
|
-
|
|
2518
|
+
Get custom report runs created by the user.
|
|
2583
2519
|
|
|
2584
2520
|
<b>Rate limit:</b> 5 requests/sec (learn more about rate limits <a href="https://developers.samsara.com/docs/rate-limits" target="_blank">here</a>).
|
|
2585
2521
|
|
|
2586
|
-
To use this endpoint, select **Read
|
|
2522
|
+
To use this endpoint, select **Read Custom Reports** under the Custom Reports 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>
|
|
2587
2523
|
|
|
2588
2524
|
|
|
2589
2525
|
**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.
|
|
2590
2526
|
|
|
2591
2527
|
Parameters
|
|
2592
2528
|
----------
|
|
2593
|
-
|
|
2594
|
-
|
|
2529
|
+
report_config_ids : typing.Optional[typing.Union[str, typing.Sequence[str]]]
|
|
2530
|
+
The list of report config IDs to retrieve the report runs for. Include up to 10 report config IDs. If not provided, runs for all configs will be returned.
|
|
2595
2531
|
|
|
2596
|
-
|
|
2597
|
-
|
|
2532
|
+
ids : typing.Optional[typing.Union[str, typing.Sequence[str]]]
|
|
2533
|
+
The list of report run IDs to retrieve the report runs for. Include up to 10 report run IDs. If not provided, all report runs will be returned.
|
|
2598
2534
|
|
|
2599
|
-
|
|
2600
|
-
|
|
2535
|
+
after : typing.Optional[str]
|
|
2536
|
+
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.
|
|
2601
2537
|
|
|
2602
|
-
|
|
2603
|
-
|
|
2538
|
+
limit : typing.Optional[int]
|
|
2539
|
+
Maximum number of runs to return.
|
|
2604
2540
|
|
|
2605
|
-
|
|
2606
|
-
|
|
2541
|
+
request_options : typing.Optional[RequestOptions]
|
|
2542
|
+
Request-specific configuration.
|
|
2543
|
+
|
|
2544
|
+
Returns
|
|
2545
|
+
-------
|
|
2546
|
+
ReportsGetReportRunsResponseBody
|
|
2547
|
+
OK response.
|
|
2548
|
+
|
|
2549
|
+
Examples
|
|
2550
|
+
--------
|
|
2551
|
+
from samsara import Samsara
|
|
2552
|
+
|
|
2553
|
+
client = Samsara(
|
|
2554
|
+
token="YOUR_TOKEN",
|
|
2555
|
+
)
|
|
2556
|
+
client.beta_ap_is.get_report_runs()
|
|
2557
|
+
"""
|
|
2558
|
+
_response = self._raw_client.get_report_runs(
|
|
2559
|
+
report_config_ids=report_config_ids, ids=ids, after=after, limit=limit, request_options=request_options
|
|
2560
|
+
)
|
|
2561
|
+
return _response.data
|
|
2562
|
+
|
|
2563
|
+
def create_report_run(
|
|
2564
|
+
self,
|
|
2565
|
+
*,
|
|
2566
|
+
report_config: CreateReportConfigObjectRequestBody,
|
|
2567
|
+
request_options: typing.Optional[RequestOptions] = None,
|
|
2568
|
+
) -> ReportsCreateReportRunResponseBody:
|
|
2569
|
+
"""
|
|
2570
|
+
Triggers a new custom report run based on the provided configuration.
|
|
2607
2571
|
|
|
2608
|
-
|
|
2609
|
-
Optional string of comma separated coach IDs to filter events assigned to a particular coach. Limit of 2000 coach IDs.
|
|
2572
|
+
<b>Rate limit:</b> 50 requests/hour (learn more about rate limits <a href="https://developers.samsara.com/docs/rate-limits" target="_blank">here</a>).
|
|
2610
2573
|
|
|
2611
|
-
|
|
2612
|
-
Optional string of comma separated labels to filter behavior labels. Valid values: `Acceleration`, `AggressiveDriving`, `BluetoothHeadset`, `Braking`, `ContextConstructionOrWorkZone`, `ContextSnowyOrIcy`, `ContextVulnerableRoadUser`, `ContextWet`, `Crash`, `DefensiveDriving`, `DidNotYield`, `Drinking`, `Drowsy`, `Eating`, `EatingDrinking`, `EdgeDistractedDriving`, `EdgeRailroadCrossingViolation`, `FollowingDistance`, `FollowingDistanceModerate`, `FollowingDistanceSevere`, `ForwardCollisionWarning`, `GenericDistraction`, `GenericTailgating`, `HarshTurn`, `HeavySpeeding`, `HosViolation`, `Idling`, `Invalid`, `LaneDeparture`, `LateResponse`, `LeftTurn`, `LightSpeeding`, `MaxSpeed`, `MobileUsage`, `ModerateSpeeding`, `NearCollison`, `NearPedestrianCollision`, `NoSeatbelt`, `ObstructedCamera`, `OtherViolation`, `Passenger`, `PolicyViolationMask`, `ProtectiveEquipment`, `RanRedLight`, `Reversing`, `RollingStop`, `RolloverProtection`, `SevereSpeeding`, `Smoking`, `Speeding`, `UTurn`, `UnsafeManeuver`, `UnsafeParking`, `VulnerableRoadUserCollisionWarning`, `YawControl`
|
|
2574
|
+
To use this endpoint, select **Write Custom Reports** under the Custom Reports 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>
|
|
2613
2575
|
|
|
2614
|
-
event_states : typing.Optional[typing.Union[str, typing.Sequence[str]]]
|
|
2615
|
-
Optional string of comma separated values to filter event states. Valid values: `needsReview`, `reviewed`, `needsCoaching`, `coached`, `dismissed`, `needsRecognition`, `recognized`
|
|
2616
2576
|
|
|
2617
|
-
|
|
2618
|
-
Indicates whether or not to return expanded “asset” data
|
|
2577
|
+
**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.
|
|
2619
2578
|
|
|
2620
|
-
|
|
2621
|
-
|
|
2579
|
+
Parameters
|
|
2580
|
+
----------
|
|
2581
|
+
report_config : CreateReportConfigObjectRequestBody
|
|
2582
|
+
|
|
2583
|
+
request_options : typing.Optional[RequestOptions]
|
|
2584
|
+
Request-specific configuration.
|
|
2585
|
+
|
|
2586
|
+
Returns
|
|
2587
|
+
-------
|
|
2588
|
+
ReportsCreateReportRunResponseBody
|
|
2589
|
+
Accepted response.
|
|
2590
|
+
|
|
2591
|
+
Examples
|
|
2592
|
+
--------
|
|
2593
|
+
from samsara import CreateReportConfigObjectRequestBody, Samsara
|
|
2594
|
+
|
|
2595
|
+
client = Samsara(
|
|
2596
|
+
token="YOUR_TOKEN",
|
|
2597
|
+
)
|
|
2598
|
+
client.beta_ap_is.create_report_run(
|
|
2599
|
+
report_config=CreateReportConfigObjectRequestBody(),
|
|
2600
|
+
)
|
|
2601
|
+
"""
|
|
2602
|
+
_response = self._raw_client.create_report_run(report_config=report_config, request_options=request_options)
|
|
2603
|
+
return _response.data
|
|
2604
|
+
|
|
2605
|
+
def get_report_run_data(
|
|
2606
|
+
self,
|
|
2607
|
+
*,
|
|
2608
|
+
id: str,
|
|
2609
|
+
after: typing.Optional[str] = None,
|
|
2610
|
+
limit: typing.Optional[int] = None,
|
|
2611
|
+
request_options: typing.Optional[RequestOptions] = None,
|
|
2612
|
+
) -> ReportsGetReportRunDataResponseBody:
|
|
2613
|
+
"""
|
|
2614
|
+
Get data for the given custom report run.
|
|
2615
|
+
|
|
2616
|
+
<b>Rate limit:</b> 5 requests/sec (learn more about rate limits <a href="https://developers.samsara.com/docs/rate-limits" target="_blank">here</a>).
|
|
2617
|
+
|
|
2618
|
+
To use this endpoint, select **Read Custom Reports** under the Custom Reports 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>
|
|
2619
|
+
|
|
2620
|
+
|
|
2621
|
+
**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.
|
|
2622
|
+
|
|
2623
|
+
Parameters
|
|
2624
|
+
----------
|
|
2625
|
+
id : str
|
|
2626
|
+
ID of the report run.
|
|
2622
2627
|
|
|
2623
2628
|
after : typing.Optional[str]
|
|
2624
2629
|
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.
|
|
2625
2630
|
|
|
2631
|
+
limit : typing.Optional[int]
|
|
2632
|
+
Maximum number of rows to return.
|
|
2633
|
+
|
|
2626
2634
|
request_options : typing.Optional[RequestOptions]
|
|
2627
2635
|
Request-specific configuration.
|
|
2628
2636
|
|
|
2629
2637
|
Returns
|
|
2630
2638
|
-------
|
|
2631
|
-
|
|
2639
|
+
ReportsGetReportRunDataResponseBody
|
|
2632
2640
|
OK response.
|
|
2633
2641
|
|
|
2634
2642
|
Examples
|
|
@@ -2638,23 +2646,12 @@ class BetaApIsClient:
|
|
|
2638
2646
|
client = Samsara(
|
|
2639
2647
|
token="YOUR_TOKEN",
|
|
2640
2648
|
)
|
|
2641
|
-
client.beta_ap_is.
|
|
2642
|
-
|
|
2649
|
+
client.beta_ap_is.get_report_run_data(
|
|
2650
|
+
id="id",
|
|
2643
2651
|
)
|
|
2644
2652
|
"""
|
|
2645
|
-
_response = self._raw_client.
|
|
2646
|
-
|
|
2647
|
-
end_time=end_time,
|
|
2648
|
-
asset_ids=asset_ids,
|
|
2649
|
-
driver_ids=driver_ids,
|
|
2650
|
-
tag_ids=tag_ids,
|
|
2651
|
-
assigned_coaches=assigned_coaches,
|
|
2652
|
-
behavior_labels=behavior_labels,
|
|
2653
|
-
event_states=event_states,
|
|
2654
|
-
include_asset=include_asset,
|
|
2655
|
-
include_driver=include_driver,
|
|
2656
|
-
after=after,
|
|
2657
|
-
request_options=request_options,
|
|
2653
|
+
_response = self._raw_client.get_report_run_data(
|
|
2654
|
+
id=id, after=after, limit=limit, request_options=request_options
|
|
2658
2655
|
)
|
|
2659
2656
|
return _response.data
|
|
2660
2657
|
|
|
@@ -3114,7 +3111,7 @@ class BetaApIsClient:
|
|
|
3114
3111
|
Parameters
|
|
3115
3112
|
----------
|
|
3116
3113
|
ids : typing.Optional[typing.Union[str, typing.Sequence[str]]]
|
|
3117
|
-
String of comma separated assignments IDs. Max value for this value is 100 objects
|
|
3114
|
+
String of comma separated assignments IDs. Max value for this value is 100 objects. Example: `ids=a4db8702-79d5-4396-a717-e301d52ecc11,c6490f6a-d84e-49b5-b0ad-b6baae304075`
|
|
3118
3115
|
|
|
3119
3116
|
request_options : typing.Optional[RequestOptions]
|
|
3120
3117
|
Request-specific configuration.
|
|
@@ -3160,7 +3157,7 @@ class BetaApIsClient:
|
|
|
3160
3157
|
Due date of the training assignment in RFC 3339 format. Millisecond precision and timezones are supported.
|
|
3161
3158
|
|
|
3162
3159
|
ids : typing.Optional[typing.Union[str, typing.Sequence[str]]]
|
|
3163
|
-
String of comma separated assignments IDs. Max value for this value is 100 objects
|
|
3160
|
+
String of comma separated assignments IDs. Max value for this value is 100 objects. Example: `ids=a4db8702-79d5-4396-a717-e301d52ecc11,c6490f6a-d84e-49b5-b0ad-b6baae304075`
|
|
3164
3161
|
|
|
3165
3162
|
request_options : typing.Optional[RequestOptions]
|
|
3166
3163
|
Request-specific configuration.
|
|
@@ -3195,12 +3192,12 @@ class BetaApIsClient:
|
|
|
3195
3192
|
learner_ids: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
|
|
3196
3193
|
course_ids: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
|
|
3197
3194
|
status: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
|
|
3195
|
+
is_overdue: typing.Optional[bool] = None,
|
|
3196
|
+
category_ids: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
|
|
3198
3197
|
request_options: typing.Optional[RequestOptions] = None,
|
|
3199
3198
|
) -> TrainingAssignmentsGetTrainingAssignmentsStreamResponseBody:
|
|
3200
3199
|
"""
|
|
3201
|
-
Returns all training assignments data that has been created or modified for your organization based on the time parameters passed in. Results are paginated and are sorted by last modified date. If you include an endTime, the endpoint will return data up until that point (exclusive). If you don't include an endTime,
|
|
3202
|
-
|
|
3203
|
-
**Beta:** This endpoint is in beta and is likely to change before being broadly available. Reach out to your Samsara Representative to have Training APIs enabled for your organization.
|
|
3200
|
+
Returns all training assignments data that has been created or modified for your organization based on the time parameters passed in. Results are paginated and are sorted by last modified date. If you include an endTime, the endpoint will return data up until that point (exclusive). If you don't include an endTime, the API will continue to poll with the pagination cursor that gets returned on every call. The hasNextPage response value will be true if there is no endTime specified and endCursor is nonempty.
|
|
3204
3201
|
|
|
3205
3202
|
<b>Rate limit:</b> 5 requests/sec (learn more about rate limits <a href="https://developers.samsara.com/docs/rate-limits" target="_blank">here</a>).
|
|
3206
3203
|
|
|
@@ -3229,6 +3226,12 @@ class BetaApIsClient:
|
|
|
3229
3226
|
status : typing.Optional[typing.Union[str, typing.Sequence[str]]]
|
|
3230
3227
|
Optional string of comma separated values. If status is present, training assignments for the specified status(s) will be returned. Valid values: "notStarted", "inProgress", "completed". Defaults to returning all courses.
|
|
3231
3228
|
|
|
3229
|
+
is_overdue : typing.Optional[bool]
|
|
3230
|
+
Optional boolean value. If present, training assignments for the specified overdue status will be returned. Valid values: true, false. Defaults to returning all assignments.
|
|
3231
|
+
|
|
3232
|
+
category_ids : typing.Optional[typing.Union[str, typing.Sequence[str]]]
|
|
3233
|
+
Optional string of comma separated category IDs. If category ID is present, training assignments for the specified category ID(s) will be returned. Max value for this value is 100 objects. Example: `categoryIds=a4db8702-79d5-4396-a717-e301d52ecc11,c6490f6a-d84e-49b5-b0ad-b6baae304075`
|
|
3234
|
+
|
|
3232
3235
|
request_options : typing.Optional[RequestOptions]
|
|
3233
3236
|
Request-specific configuration.
|
|
3234
3237
|
|
|
@@ -3255,6 +3258,8 @@ class BetaApIsClient:
|
|
|
3255
3258
|
learner_ids=learner_ids,
|
|
3256
3259
|
course_ids=course_ids,
|
|
3257
3260
|
status=status,
|
|
3261
|
+
is_overdue=is_overdue,
|
|
3262
|
+
category_ids=category_ids,
|
|
3258
3263
|
request_options=request_options,
|
|
3259
3264
|
)
|
|
3260
3265
|
return _response.data
|
|
@@ -3319,97 +3324,84 @@ class BetaApIsClient:
|
|
|
3319
3324
|
)
|
|
3320
3325
|
return _response.data
|
|
3321
3326
|
|
|
3322
|
-
|
|
3327
|
+
|
|
3328
|
+
class AsyncBetaApIsClient:
|
|
3329
|
+
def __init__(self, *, client_wrapper: AsyncClientWrapper):
|
|
3330
|
+
self._raw_client = AsyncRawBetaApIsClient(client_wrapper=client_wrapper)
|
|
3331
|
+
|
|
3332
|
+
@property
|
|
3333
|
+
def with_raw_response(self) -> AsyncRawBetaApIsClient:
|
|
3334
|
+
"""
|
|
3335
|
+
Retrieves a raw implementation of this client that returns raw responses.
|
|
3336
|
+
|
|
3337
|
+
Returns
|
|
3338
|
+
-------
|
|
3339
|
+
AsyncRawBetaApIsClient
|
|
3340
|
+
"""
|
|
3341
|
+
return self._raw_client
|
|
3342
|
+
|
|
3343
|
+
async def get_depreciation_transactions(
|
|
3323
3344
|
self,
|
|
3324
3345
|
*,
|
|
3325
|
-
start_time:
|
|
3326
|
-
|
|
3327
|
-
|
|
3328
|
-
end_time: typing.Optional[str] = None,
|
|
3329
|
-
query_by: typing.Optional[GetTripsRequestQueryBy] = None,
|
|
3346
|
+
start_time: typing.Optional[dt.datetime] = None,
|
|
3347
|
+
end_time: typing.Optional[dt.datetime] = None,
|
|
3348
|
+
asset_ids: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
|
|
3330
3349
|
after: typing.Optional[str] = None,
|
|
3331
|
-
ids: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
|
|
3332
3350
|
request_options: typing.Optional[RequestOptions] = None,
|
|
3333
|
-
) ->
|
|
3351
|
+
) -> DepreciationGetDepreciationTransactionsResponseBody:
|
|
3334
3352
|
"""
|
|
3335
|
-
|
|
3353
|
+
Returns depreciation and adjustment transactions for assets. Transactions are returned ordered by updatedAt in ascending order (oldest to newest). Use startTime parameter for incremental sync.
|
|
3336
3354
|
|
|
3337
3355
|
<b>Rate limit:</b> 5 requests/sec (learn more about rate limits <a href="https://developers.samsara.com/docs/rate-limits" target="_blank">here</a>).
|
|
3338
3356
|
|
|
3339
|
-
To use this endpoint, select **Read
|
|
3357
|
+
To use this endpoint, select **Read Assets** under the Assets 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>
|
|
3340
3358
|
|
|
3341
3359
|
|
|
3342
3360
|
**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.
|
|
3343
3361
|
|
|
3344
3362
|
Parameters
|
|
3345
3363
|
----------
|
|
3346
|
-
start_time :
|
|
3347
|
-
RFC 3339 timestamp
|
|
3348
|
-
|
|
3349
|
-
include_asset : typing.Optional[bool]
|
|
3350
|
-
Indicates whether or not to return expanded “asset” data
|
|
3351
|
-
|
|
3352
|
-
completion_status : typing.Optional[GetTripsRequestCompletionStatus]
|
|
3353
|
-
Filters trips based on a specific completion status Valid values: `inProgress`, `completed`, `all`
|
|
3364
|
+
start_time : typing.Optional[dt.datetime]
|
|
3365
|
+
RFC 3339 timestamp. Returns transactions updated after this time. Compared against updatedAt. If not provided, returns all transactions. 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).
|
|
3354
3366
|
|
|
3355
|
-
end_time : typing.Optional[
|
|
3356
|
-
RFC 3339 timestamp
|
|
3367
|
+
end_time : typing.Optional[dt.datetime]
|
|
3368
|
+
RFC 3339 timestamp. Returns transactions updated before this time. Compared against updatedAt. If not provided, behaves as an unending feed of changes. 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).
|
|
3357
3369
|
|
|
3358
|
-
|
|
3359
|
-
|
|
3370
|
+
asset_ids : typing.Optional[typing.Union[str, typing.Sequence[str]]]
|
|
3371
|
+
Filter by asset IDs. Up to 50 ids.
|
|
3360
3372
|
|
|
3361
3373
|
after : typing.Optional[str]
|
|
3362
3374
|
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.
|
|
3363
3375
|
|
|
3364
|
-
ids : typing.Optional[typing.Union[str, typing.Sequence[str]]]
|
|
3365
|
-
Comma-separated list of asset IDs. Include up to 50 asset IDs.
|
|
3366
|
-
|
|
3367
3376
|
request_options : typing.Optional[RequestOptions]
|
|
3368
3377
|
Request-specific configuration.
|
|
3369
3378
|
|
|
3370
3379
|
Returns
|
|
3371
3380
|
-------
|
|
3372
|
-
|
|
3381
|
+
DepreciationGetDepreciationTransactionsResponseBody
|
|
3373
3382
|
OK response.
|
|
3374
3383
|
|
|
3375
3384
|
Examples
|
|
3376
3385
|
--------
|
|
3377
|
-
|
|
3386
|
+
import asyncio
|
|
3378
3387
|
|
|
3379
|
-
|
|
3388
|
+
from samsara import AsyncSamsara
|
|
3389
|
+
|
|
3390
|
+
client = AsyncSamsara(
|
|
3380
3391
|
token="YOUR_TOKEN",
|
|
3381
3392
|
)
|
|
3382
|
-
client.beta_ap_is.get_trips(
|
|
3383
|
-
start_time="startTime",
|
|
3384
|
-
)
|
|
3385
|
-
"""
|
|
3386
|
-
_response = self._raw_client.get_trips(
|
|
3387
|
-
start_time=start_time,
|
|
3388
|
-
include_asset=include_asset,
|
|
3389
|
-
completion_status=completion_status,
|
|
3390
|
-
end_time=end_time,
|
|
3391
|
-
query_by=query_by,
|
|
3392
|
-
after=after,
|
|
3393
|
-
ids=ids,
|
|
3394
|
-
request_options=request_options,
|
|
3395
|
-
)
|
|
3396
|
-
return _response.data
|
|
3397
3393
|
|
|
3398
3394
|
|
|
3399
|
-
|
|
3400
|
-
|
|
3401
|
-
self._raw_client = AsyncRawBetaApIsClient(client_wrapper=client_wrapper)
|
|
3395
|
+
async def main() -> None:
|
|
3396
|
+
await client.beta_ap_is.get_depreciation_transactions()
|
|
3402
3397
|
|
|
3403
|
-
@property
|
|
3404
|
-
def with_raw_response(self) -> AsyncRawBetaApIsClient:
|
|
3405
|
-
"""
|
|
3406
|
-
Retrieves a raw implementation of this client that returns raw responses.
|
|
3407
3398
|
|
|
3408
|
-
|
|
3409
|
-
-------
|
|
3410
|
-
AsyncRawBetaApIsClient
|
|
3399
|
+
asyncio.run(main())
|
|
3411
3400
|
"""
|
|
3412
|
-
|
|
3401
|
+
_response = await self._raw_client.get_depreciation_transactions(
|
|
3402
|
+
start_time=start_time, end_time=end_time, asset_ids=asset_ids, after=after, request_options=request_options
|
|
3403
|
+
)
|
|
3404
|
+
return _response.data
|
|
3413
3405
|
|
|
3414
3406
|
async def get_assets_inputs(
|
|
3415
3407
|
self,
|
|
@@ -4263,7 +4255,7 @@ class AsyncBetaApIsClient:
|
|
|
4263
4255
|
relay_states=[
|
|
4264
4256
|
UpdateEngineImmobilizerRelayStateRequestBodyRequestBody(
|
|
4265
4257
|
id="relay1",
|
|
4266
|
-
is_open=
|
|
4258
|
+
is_open=True,
|
|
4267
4259
|
)
|
|
4268
4260
|
],
|
|
4269
4261
|
)
|
|
@@ -4557,10 +4549,10 @@ class AsyncBetaApIsClient:
|
|
|
4557
4549
|
Optional string of comma separated asset IDs. If asset ID is present, events for the specified asset(s) will be returned. Max for this value is 2000 objects. (Example: 281474982859091,281471982957527)
|
|
4558
4550
|
|
|
4559
4551
|
detection_behavior_labels : typing.Optional[typing.Union[str, typing.Sequence[str]]]
|
|
4560
|
-
Optional string of comma separated labels to filter behavior labels. Uses OR semantics for filtering. An empty list allows all values. Valid values: `acceleration`, `braking`, `crash`, `drowsy`, `eatingDrinking`, `edgeRailroadCrossingViolation`, `followingDistance`, `forwardCollisionWarning`, `genericDistraction`, `harshTurn`, `laneDeparture`, `maxSpeed`, `mobileUsage`, `noSeatbelt`, `obstructedCamera`, `passenger`, `policyViolationMask`, `rollingStop`, `rolloverProtection`, `smoking`, `speeding`, `unsafeParking`, `vulnerableRoadUserCollisionWarning`, `yawControl`. (Example: rollingStop,obstructedCamera,noSeatbelt)
|
|
4552
|
+
Optional string of comma separated labels to filter behavior labels. Uses OR semantics for filtering. An empty list allows all values. Valid values: `acceleration`, `braking`, `crash`, `drowsy`, `eatingDrinking`, `edgeRailroadCrossingViolation`, `followingDistance`, `forwardCollisionWarning`, `genericDistraction`, `harshTurn`, `heavySpeeding`, `laneDeparture`, `lightSpeeding`, `maxSpeed`, `mobileUsage`, `moderateSpeeding`, `noSeatbelt`, `obstructedCamera`, `passenger`, `policyViolationMask`, `ranRedLight`, `rearCollisionWarning`, `rollingStop`, `rolloverProtection`, `severeSpeeding`, `smoking`, `speeding`, `unsafeParking`, `vehicleInBlindSpotWarning`, `vulnerableRoadUserCollisionWarning`, `yawControl`. (Example: rollingStop,obstructedCamera,noSeatbelt)
|
|
4561
4553
|
|
|
4562
4554
|
inbox_filter_reason : typing.Optional[typing.Union[str, typing.Sequence[str]]]
|
|
4563
|
-
Optional string of comma separated reasons to filter detections. Uses OR semantics for filtering. An empty list allows all values. Valid values: `overDailyLimit`, `overHourlyLimit`, `overTripLimit`, `belowConfidenceThreshold`, `belowSeverityThreshold`, `overEventRateLimit`, `geofenceFilter`, `belowNudgeThreshold`, `belowSpeedThreshold`, `nighttimeFilter`, `speedingFilter`, `unknown`. (Example: overDailyLimit,overHourlyLimit,belowConfidenceThreshold)
|
|
4555
|
+
Optional string of comma separated reasons to filter detections. Uses OR semantics for filtering. An empty list allows all values. Valid values: `overDailyLimit`, `overHourlyLimit`, `overTripLimit`, `belowConfidenceThreshold`, `belowSeverityThreshold`, `overEventRateLimit`, `geofenceFilter`, `belowNudgeThreshold`, `belowSpeedThreshold`, `nighttimeFilter`, `speedingFilter`, `inCabAlertOnly`, `unknown`. (Example: overDailyLimit,overHourlyLimit,belowConfidenceThreshold)
|
|
4564
4556
|
|
|
4565
4557
|
inbox_event : typing.Optional[bool]
|
|
4566
4558
|
Indicates whether or not to return detections with an associated Safety Inbox event. An empty entry allows all values. (Example: true)
|
|
@@ -4635,6 +4627,9 @@ class AsyncBetaApIsClient:
|
|
|
4635
4627
|
include_health: typing.Optional[bool] = None,
|
|
4636
4628
|
after: typing.Optional[str] = None,
|
|
4637
4629
|
limit: typing.Optional[int] = None,
|
|
4630
|
+
include_tags: typing.Optional[bool] = None,
|
|
4631
|
+
tag_ids: typing.Optional[str] = None,
|
|
4632
|
+
parent_tag_ids: typing.Optional[str] = None,
|
|
4638
4633
|
request_options: typing.Optional[RequestOptions] = None,
|
|
4639
4634
|
) -> DevicesGetDevicesResponseBody:
|
|
4640
4635
|
"""
|
|
@@ -4666,6 +4661,15 @@ class AsyncBetaApIsClient:
|
|
|
4666
4661
|
limit : typing.Optional[int]
|
|
4667
4662
|
The limit for how many objects will be in the response. Default and max for this value is 100 objects.
|
|
4668
4663
|
|
|
4664
|
+
include_tags : typing.Optional[bool]
|
|
4665
|
+
Optional boolean to control whether tags are returned in the response. Defaults to false.
|
|
4666
|
+
|
|
4667
|
+
tag_ids : typing.Optional[str]
|
|
4668
|
+
A filter on the data based on this comma-separated list of tag IDs. Example: `tagIds=1234,5678`
|
|
4669
|
+
|
|
4670
|
+
parent_tag_ids : typing.Optional[str]
|
|
4671
|
+
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`
|
|
4672
|
+
|
|
4669
4673
|
request_options : typing.Optional[RequestOptions]
|
|
4670
4674
|
Request-specific configuration.
|
|
4671
4675
|
|
|
@@ -4697,253 +4701,13 @@ class AsyncBetaApIsClient:
|
|
|
4697
4701
|
include_health=include_health,
|
|
4698
4702
|
after=after,
|
|
4699
4703
|
limit=limit,
|
|
4704
|
+
include_tags=include_tags,
|
|
4705
|
+
tag_ids=tag_ids,
|
|
4706
|
+
parent_tag_ids=parent_tag_ids,
|
|
4700
4707
|
request_options=request_options,
|
|
4701
4708
|
)
|
|
4702
4709
|
return _response.data
|
|
4703
4710
|
|
|
4704
|
-
async def get_driver_trailer_assignments(
|
|
4705
|
-
self,
|
|
4706
|
-
*,
|
|
4707
|
-
driver_ids: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
|
|
4708
|
-
after: typing.Optional[str] = None,
|
|
4709
|
-
include_external_ids: typing.Optional[bool] = None,
|
|
4710
|
-
request_options: typing.Optional[RequestOptions] = None,
|
|
4711
|
-
) -> TrailerAssignmentsGetDriverTrailerAssignmentsResponseBody:
|
|
4712
|
-
"""
|
|
4713
|
-
Get currently active driver-trailer assignments for driver.
|
|
4714
|
-
|
|
4715
|
-
<b>Rate limit:</b> 5 requests/sec (learn more about rate limits <a href="https://developers.samsara.com/docs/rate-limits" target="_blank">here</a>).
|
|
4716
|
-
|
|
4717
|
-
To use this endpoint, select **Read Assignments** under the Assignments 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>
|
|
4718
|
-
|
|
4719
|
-
|
|
4720
|
-
**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.
|
|
4721
|
-
|
|
4722
|
-
Parameters
|
|
4723
|
-
----------
|
|
4724
|
-
driver_ids : typing.Optional[typing.Union[str, typing.Sequence[str]]]
|
|
4725
|
-
A filter on the data based on this comma-separated list of driver IDs and externalIds. Example: `driverIds=1234,5678,payroll:4841`
|
|
4726
|
-
|
|
4727
|
-
after : typing.Optional[str]
|
|
4728
|
-
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.
|
|
4729
|
-
|
|
4730
|
-
include_external_ids : typing.Optional[bool]
|
|
4731
|
-
Optional boolean indicating whether to return external IDs on supported entities
|
|
4732
|
-
|
|
4733
|
-
request_options : typing.Optional[RequestOptions]
|
|
4734
|
-
Request-specific configuration.
|
|
4735
|
-
|
|
4736
|
-
Returns
|
|
4737
|
-
-------
|
|
4738
|
-
TrailerAssignmentsGetDriverTrailerAssignmentsResponseBody
|
|
4739
|
-
OK response.
|
|
4740
|
-
|
|
4741
|
-
Examples
|
|
4742
|
-
--------
|
|
4743
|
-
import asyncio
|
|
4744
|
-
|
|
4745
|
-
from samsara import AsyncSamsara
|
|
4746
|
-
|
|
4747
|
-
client = AsyncSamsara(
|
|
4748
|
-
token="YOUR_TOKEN",
|
|
4749
|
-
)
|
|
4750
|
-
|
|
4751
|
-
|
|
4752
|
-
async def main() -> None:
|
|
4753
|
-
await client.beta_ap_is.get_driver_trailer_assignments()
|
|
4754
|
-
|
|
4755
|
-
|
|
4756
|
-
asyncio.run(main())
|
|
4757
|
-
"""
|
|
4758
|
-
_response = await self._raw_client.get_driver_trailer_assignments(
|
|
4759
|
-
driver_ids=driver_ids,
|
|
4760
|
-
after=after,
|
|
4761
|
-
include_external_ids=include_external_ids,
|
|
4762
|
-
request_options=request_options,
|
|
4763
|
-
)
|
|
4764
|
-
return _response.data
|
|
4765
|
-
|
|
4766
|
-
async def create_driver_trailer_assignment(
|
|
4767
|
-
self,
|
|
4768
|
-
*,
|
|
4769
|
-
driver_id: str,
|
|
4770
|
-
trailer_id: str,
|
|
4771
|
-
start_time: typing.Optional[str] = OMIT,
|
|
4772
|
-
request_options: typing.Optional[RequestOptions] = None,
|
|
4773
|
-
) -> TrailerAssignmentsCreateDriverTrailerAssignmentResponseBody:
|
|
4774
|
-
"""
|
|
4775
|
-
Create a new driver-trailer assignment
|
|
4776
|
-
|
|
4777
|
-
<b>Rate limit:</b> 5 requests/sec (learn more about rate limits <a href="https://developers.samsara.com/docs/rate-limits" target="_blank">here</a>).
|
|
4778
|
-
|
|
4779
|
-
To use this endpoint, select **Write Assignments** under the Assignments 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>
|
|
4780
|
-
|
|
4781
|
-
|
|
4782
|
-
**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.
|
|
4783
|
-
|
|
4784
|
-
Parameters
|
|
4785
|
-
----------
|
|
4786
|
-
driver_id : str
|
|
4787
|
-
ID of the driver. This can be either a unique Samsara ID or an [external ID](https://developers.samsara.com/docs/external-ids) for the driver.
|
|
4788
|
-
|
|
4789
|
-
trailer_id : str
|
|
4790
|
-
ID of the trailer. This can be either a unique Samsara ID or an [external ID](https://developers.samsara.com/docs/external-ids) for the trailer.
|
|
4791
|
-
|
|
4792
|
-
start_time : typing.Optional[str]
|
|
4793
|
-
The start time in RFC 3339 format. The time needs to be current or within the past 7 days. Defaults to now if not provided
|
|
4794
|
-
|
|
4795
|
-
request_options : typing.Optional[RequestOptions]
|
|
4796
|
-
Request-specific configuration.
|
|
4797
|
-
|
|
4798
|
-
Returns
|
|
4799
|
-
-------
|
|
4800
|
-
TrailerAssignmentsCreateDriverTrailerAssignmentResponseBody
|
|
4801
|
-
OK response.
|
|
4802
|
-
|
|
4803
|
-
Examples
|
|
4804
|
-
--------
|
|
4805
|
-
import asyncio
|
|
4806
|
-
|
|
4807
|
-
from samsara import AsyncSamsara
|
|
4808
|
-
|
|
4809
|
-
client = AsyncSamsara(
|
|
4810
|
-
token="YOUR_TOKEN",
|
|
4811
|
-
)
|
|
4812
|
-
|
|
4813
|
-
|
|
4814
|
-
async def main() -> None:
|
|
4815
|
-
await client.beta_ap_is.create_driver_trailer_assignment(
|
|
4816
|
-
driver_id="494123",
|
|
4817
|
-
trailer_id="12345",
|
|
4818
|
-
)
|
|
4819
|
-
|
|
4820
|
-
|
|
4821
|
-
asyncio.run(main())
|
|
4822
|
-
"""
|
|
4823
|
-
_response = await self._raw_client.create_driver_trailer_assignment(
|
|
4824
|
-
driver_id=driver_id, trailer_id=trailer_id, start_time=start_time, request_options=request_options
|
|
4825
|
-
)
|
|
4826
|
-
return _response.data
|
|
4827
|
-
|
|
4828
|
-
async def update_driver_trailer_assignment(
|
|
4829
|
-
self, *, id: str, end_time: str, request_options: typing.Optional[RequestOptions] = None
|
|
4830
|
-
) -> TrailerAssignmentsUpdateDriverTrailerAssignmentResponseBody:
|
|
4831
|
-
"""
|
|
4832
|
-
Update an existing driver-trailer assignment.
|
|
4833
|
-
|
|
4834
|
-
<b>Rate limit:</b> 5 requests/sec (learn more about rate limits <a href="https://developers.samsara.com/docs/rate-limits" target="_blank">here</a>).
|
|
4835
|
-
|
|
4836
|
-
To use this endpoint, select **Write Assignments** under the Assignments 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>
|
|
4837
|
-
|
|
4838
|
-
|
|
4839
|
-
**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.
|
|
4840
|
-
|
|
4841
|
-
Parameters
|
|
4842
|
-
----------
|
|
4843
|
-
id : str
|
|
4844
|
-
Samsara ID for the assignment.
|
|
4845
|
-
|
|
4846
|
-
end_time : str
|
|
4847
|
-
The end time in RFC 3339 format. The end time should not be in the future
|
|
4848
|
-
|
|
4849
|
-
request_options : typing.Optional[RequestOptions]
|
|
4850
|
-
Request-specific configuration.
|
|
4851
|
-
|
|
4852
|
-
Returns
|
|
4853
|
-
-------
|
|
4854
|
-
TrailerAssignmentsUpdateDriverTrailerAssignmentResponseBody
|
|
4855
|
-
OK response.
|
|
4856
|
-
|
|
4857
|
-
Examples
|
|
4858
|
-
--------
|
|
4859
|
-
import asyncio
|
|
4860
|
-
|
|
4861
|
-
from samsara import AsyncSamsara
|
|
4862
|
-
|
|
4863
|
-
client = AsyncSamsara(
|
|
4864
|
-
token="YOUR_TOKEN",
|
|
4865
|
-
)
|
|
4866
|
-
|
|
4867
|
-
|
|
4868
|
-
async def main() -> None:
|
|
4869
|
-
await client.beta_ap_is.update_driver_trailer_assignment(
|
|
4870
|
-
id="id",
|
|
4871
|
-
end_time="2019-06-13T19:08:25Z",
|
|
4872
|
-
)
|
|
4873
|
-
|
|
4874
|
-
|
|
4875
|
-
asyncio.run(main())
|
|
4876
|
-
"""
|
|
4877
|
-
_response = await self._raw_client.update_driver_trailer_assignment(
|
|
4878
|
-
id=id, end_time=end_time, request_options=request_options
|
|
4879
|
-
)
|
|
4880
|
-
return _response.data
|
|
4881
|
-
|
|
4882
|
-
async def create_driver_auth_token(
|
|
4883
|
-
self,
|
|
4884
|
-
*,
|
|
4885
|
-
code: str,
|
|
4886
|
-
external_id: typing.Optional[str] = OMIT,
|
|
4887
|
-
id: typing.Optional[int] = OMIT,
|
|
4888
|
-
username: typing.Optional[str] = OMIT,
|
|
4889
|
-
request_options: typing.Optional[RequestOptions] = None,
|
|
4890
|
-
) -> DriversAuthTokenCreateDriverAuthTokenResponseBody:
|
|
4891
|
-
"""
|
|
4892
|
-
Creates a short-lived auth token for a driver.
|
|
4893
|
-
|
|
4894
|
-
<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>).
|
|
4895
|
-
|
|
4896
|
-
To use this endpoint, select **Write Driver Auth Token** 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>
|
|
4897
|
-
|
|
4898
|
-
|
|
4899
|
-
**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.
|
|
4900
|
-
|
|
4901
|
-
Parameters
|
|
4902
|
-
----------
|
|
4903
|
-
code : str
|
|
4904
|
-
Required. Random 12+ character string, used with the auth token to help secure the client from intercepted tokens.
|
|
4905
|
-
|
|
4906
|
-
external_id : typing.Optional[str]
|
|
4907
|
-
Optional. External ID of the driver, in the format `key:value` (e.g., `payrollId:ABFS18600`). One of `id`, `externalId`, or `username` is required.
|
|
4908
|
-
|
|
4909
|
-
id : typing.Optional[int]
|
|
4910
|
-
Optional. Samsara ID of the driver. One of `id`, `externalId`, or `username` is required.
|
|
4911
|
-
|
|
4912
|
-
username : typing.Optional[str]
|
|
4913
|
-
Optional. Username of the driver. This is the login identifier configured when the driver is created. One of `id`, `externalId`, or `username` is required.
|
|
4914
|
-
|
|
4915
|
-
request_options : typing.Optional[RequestOptions]
|
|
4916
|
-
Request-specific configuration.
|
|
4917
|
-
|
|
4918
|
-
Returns
|
|
4919
|
-
-------
|
|
4920
|
-
DriversAuthTokenCreateDriverAuthTokenResponseBody
|
|
4921
|
-
OK response.
|
|
4922
|
-
|
|
4923
|
-
Examples
|
|
4924
|
-
--------
|
|
4925
|
-
import asyncio
|
|
4926
|
-
|
|
4927
|
-
from samsara import AsyncSamsara
|
|
4928
|
-
|
|
4929
|
-
client = AsyncSamsara(
|
|
4930
|
-
token="YOUR_TOKEN",
|
|
4931
|
-
)
|
|
4932
|
-
|
|
4933
|
-
|
|
4934
|
-
async def main() -> None:
|
|
4935
|
-
await client.beta_ap_is.create_driver_auth_token(
|
|
4936
|
-
code="dp[gZc1wAigz4uGa0Hh",
|
|
4937
|
-
)
|
|
4938
|
-
|
|
4939
|
-
|
|
4940
|
-
asyncio.run(main())
|
|
4941
|
-
"""
|
|
4942
|
-
_response = await self._raw_client.create_driver_auth_token(
|
|
4943
|
-
code=code, external_id=external_id, id=id, username=username, request_options=request_options
|
|
4944
|
-
)
|
|
4945
|
-
return _response.data
|
|
4946
|
-
|
|
4947
4711
|
async def get_engine_immobilizer_states(
|
|
4948
4712
|
self,
|
|
4949
4713
|
*,
|
|
@@ -5109,7 +4873,88 @@ class AsyncBetaApIsClient:
|
|
|
5109
4873
|
|
|
5110
4874
|
Returns
|
|
5111
4875
|
-------
|
|
5112
|
-
HosDailyLogsUpdateShippingDocsResponseBody
|
|
4876
|
+
HosDailyLogsUpdateShippingDocsResponseBody
|
|
4877
|
+
OK response.
|
|
4878
|
+
|
|
4879
|
+
Examples
|
|
4880
|
+
--------
|
|
4881
|
+
import asyncio
|
|
4882
|
+
|
|
4883
|
+
from samsara import AsyncSamsara
|
|
4884
|
+
|
|
4885
|
+
client = AsyncSamsara(
|
|
4886
|
+
token="YOUR_TOKEN",
|
|
4887
|
+
)
|
|
4888
|
+
|
|
4889
|
+
|
|
4890
|
+
async def main() -> None:
|
|
4891
|
+
await client.beta_ap_is.update_shipping_docs(
|
|
4892
|
+
hos_date="hosDate",
|
|
4893
|
+
driver_id="driverID",
|
|
4894
|
+
shipping_docs="ShippingID1, ShippingID2",
|
|
4895
|
+
)
|
|
4896
|
+
|
|
4897
|
+
|
|
4898
|
+
asyncio.run(main())
|
|
4899
|
+
"""
|
|
4900
|
+
_response = await self._raw_client.update_shipping_docs(
|
|
4901
|
+
hos_date=hos_date, driver_id=driver_id, shipping_docs=shipping_docs, request_options=request_options
|
|
4902
|
+
)
|
|
4903
|
+
return _response.data
|
|
4904
|
+
|
|
4905
|
+
async def list_hub_custom_properties(
|
|
4906
|
+
self,
|
|
4907
|
+
*,
|
|
4908
|
+
hub_id: str,
|
|
4909
|
+
custom_property_ids: typing.Optional[str] = None,
|
|
4910
|
+
custom_property_names: typing.Optional[str] = None,
|
|
4911
|
+
start_time: typing.Optional[dt.datetime] = None,
|
|
4912
|
+
end_time: typing.Optional[dt.datetime] = None,
|
|
4913
|
+
after: typing.Optional[str] = None,
|
|
4914
|
+
limit: typing.Optional[int] = None,
|
|
4915
|
+
request_options: typing.Optional[RequestOptions] = None,
|
|
4916
|
+
) -> HubCustomPropertiesListHubCustomPropertiesResponseBody:
|
|
4917
|
+
"""
|
|
4918
|
+
Retrieve custom properties for a specific hub.
|
|
4919
|
+
|
|
4920
|
+
**Beta:** This endpoint is in beta and is likely to change before being broadly available. Reach out to your Samsara Representative to have RoutePlanning APIs enabled for your organization.
|
|
4921
|
+
|
|
4922
|
+
<b>Rate limit:</b> 10 requests/sec (learn more about rate limits <a href="https://developers.samsara.com/docs/rate-limits" target="_blank">here</a>).
|
|
4923
|
+
|
|
4924
|
+
To use this endpoint, select **Read Routes** under the Driver Workflow 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>
|
|
4925
|
+
|
|
4926
|
+
|
|
4927
|
+
**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.
|
|
4928
|
+
|
|
4929
|
+
Parameters
|
|
4930
|
+
----------
|
|
4931
|
+
hub_id : str
|
|
4932
|
+
The hub identifier
|
|
4933
|
+
|
|
4934
|
+
custom_property_ids : typing.Optional[str]
|
|
4935
|
+
A comma-separated list of custom property IDs that can be used for filtering.
|
|
4936
|
+
|
|
4937
|
+
custom_property_names : typing.Optional[str]
|
|
4938
|
+
A comma-separated list of custom property names that can be used for filtering.
|
|
4939
|
+
|
|
4940
|
+
start_time : typing.Optional[dt.datetime]
|
|
4941
|
+
Time filter of when the custom property was updated, in RFC 3339 format
|
|
4942
|
+
|
|
4943
|
+
end_time : typing.Optional[dt.datetime]
|
|
4944
|
+
Time filter of when the custom property was updated, in RFC 3339 format
|
|
4945
|
+
|
|
4946
|
+
after : typing.Optional[str]
|
|
4947
|
+
If specified, should be the endCursor 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.
|
|
4948
|
+
|
|
4949
|
+
limit : typing.Optional[int]
|
|
4950
|
+
Maximum number of objects to return. Default and maximum is 100
|
|
4951
|
+
|
|
4952
|
+
request_options : typing.Optional[RequestOptions]
|
|
4953
|
+
Request-specific configuration.
|
|
4954
|
+
|
|
4955
|
+
Returns
|
|
4956
|
+
-------
|
|
4957
|
+
HubCustomPropertiesListHubCustomPropertiesResponseBody
|
|
5113
4958
|
OK response.
|
|
5114
4959
|
|
|
5115
4960
|
Examples
|
|
@@ -5124,17 +4969,22 @@ class AsyncBetaApIsClient:
|
|
|
5124
4969
|
|
|
5125
4970
|
|
|
5126
4971
|
async def main() -> None:
|
|
5127
|
-
await client.beta_ap_is.
|
|
5128
|
-
|
|
5129
|
-
driver_id="driverID",
|
|
5130
|
-
shipping_docs="ShippingID1, ShippingID2",
|
|
4972
|
+
await client.beta_ap_is.list_hub_custom_properties(
|
|
4973
|
+
hub_id="hubId",
|
|
5131
4974
|
)
|
|
5132
4975
|
|
|
5133
4976
|
|
|
5134
4977
|
asyncio.run(main())
|
|
5135
4978
|
"""
|
|
5136
|
-
_response = await self._raw_client.
|
|
5137
|
-
|
|
4979
|
+
_response = await self._raw_client.list_hub_custom_properties(
|
|
4980
|
+
hub_id=hub_id,
|
|
4981
|
+
custom_property_ids=custom_property_ids,
|
|
4982
|
+
custom_property_names=custom_property_names,
|
|
4983
|
+
start_time=start_time,
|
|
4984
|
+
end_time=end_time,
|
|
4985
|
+
after=after,
|
|
4986
|
+
limit=limit,
|
|
4987
|
+
request_options=request_options,
|
|
5138
4988
|
)
|
|
5139
4989
|
return _response.data
|
|
5140
4990
|
|
|
@@ -5550,7 +5400,7 @@ class AsyncBetaApIsClient:
|
|
|
5550
5400
|
request_options: typing.Optional[RequestOptions] = None,
|
|
5551
5401
|
) -> QualificationsGetQualificationRecordsStreamResponseBody:
|
|
5552
5402
|
"""
|
|
5553
|
-
Returns all qualification records that have been created or modified for your organization based on the time parameters passed in. Results are paginated and sorted by last modified
|
|
5403
|
+
Returns all qualification records that have been created or modified for your organization based on the time parameters passed in. Results are paginated and are sorted by last modified date. If you include an endTime, the endpoint will return data up until that point (exclusive). If you don't include an endTime, the API will continue to poll with the pagination cursor that gets returned on every call. The hasNextPage response value will be true if there is no endTime specified and endCursor is nonempty.
|
|
5554
5404
|
|
|
5555
5405
|
<b>Rate limit:</b> 5 requests/sec (learn more about rate limits <a href="https://developers.samsara.com/docs/rate-limits" target="_blank">here</a>).
|
|
5556
5406
|
|
|
@@ -5807,10 +5657,6 @@ class AsyncBetaApIsClient:
|
|
|
5807
5657
|
) -> ReadingsListReadingsDefinitionsResponseBody:
|
|
5808
5658
|
"""
|
|
5809
5659
|
An introspection endpoint for discovering the set of readings including their name, description, data type, unit, and other metadata.
|
|
5810
|
-
Examples:
|
|
5811
|
-
Diagnostic/Engine Readings: engineState, engineSpeed, fuelLevelPerc etc.
|
|
5812
|
-
Level Monitoring Readings: defLevel, defLevelMilliPercent etc.
|
|
5813
|
-
Smart Trailer Readings: reeferState etc.
|
|
5814
5660
|
|
|
5815
5661
|
<b>Rate limit:</b> 10 requests/sec (learn more about rate limits <a href="https://developers.samsara.com/docs/rate-limits" target="_blank">here</a>).
|
|
5816
5662
|
|
|
@@ -5876,20 +5722,6 @@ class AsyncBetaApIsClient:
|
|
|
5876
5722
|
) -> ReadingsGetReadingsHistoryResponseBody:
|
|
5877
5723
|
"""
|
|
5878
5724
|
Get the values of a reading for a set of entities within the specified time range. Returns a paginated response with data for the specified resource IDs where startTime <= happenedAtTime < endTime. End time of null implies endTime is infinite and all known readings are returned.
|
|
5879
|
-
Example:
|
|
5880
|
-
engineRpm Readings for entityId 212014918105584 between time 2025-01-27T19:22:30Z and 2025-01-27T19:25:00Z
|
|
5881
|
-
"data": [
|
|
5882
|
-
{
|
|
5883
|
-
"entityId": "212014918105584",
|
|
5884
|
-
"value": 807,
|
|
5885
|
-
"happenedAtTime": "2025-01-27T19:22:30Z"
|
|
5886
|
-
},
|
|
5887
|
-
{
|
|
5888
|
-
"entityId": "212014918105584",
|
|
5889
|
-
"value": 811,
|
|
5890
|
-
"happenedAtTime": "2025-01-27T19:24:30Z"
|
|
5891
|
-
}
|
|
5892
|
-
],
|
|
5893
5725
|
|
|
5894
5726
|
<b>Rate limit:</b> 10 requests/sec (learn more about rate limits <a href="https://developers.samsara.com/docs/rate-limits" target="_blank">here</a>).
|
|
5895
5727
|
|
|
@@ -5913,7 +5745,7 @@ class AsyncBetaApIsClient:
|
|
|
5913
5745
|
A filter on the data based on this comma-separated list of entity IDs or external IDs. If not set, all entities are returned.
|
|
5914
5746
|
|
|
5915
5747
|
external_ids : typing.Optional[str]
|
|
5916
|
-
A filter on the data based on this comma-separated list of external IDs.
|
|
5748
|
+
A filter on the data based on this comma-separated list of external IDs. (Examples: samsara.serial:ZPXKLMN7VJ, samsara.serial:ABXKIMN4NM)
|
|
5917
5749
|
|
|
5918
5750
|
start_time : typing.Optional[str]
|
|
5919
5751
|
A filter on the data that returns the last known data points with timestamps greater than or equal to this value. Must be a string in RFC 3339 format. Millisecond precision and timezones are supported. (Examples: 2020-01-27T07:06:25Z)
|
|
@@ -5983,16 +5815,6 @@ class AsyncBetaApIsClient:
|
|
|
5983
5815
|
) -> ReadingsGetReadingsSnapshotResponseBody:
|
|
5984
5816
|
"""
|
|
5985
5817
|
An endpoint to get the last value of a reading for a set of entities at the specified time.
|
|
5986
|
-
Example:
|
|
5987
|
-
engineRpm Readings for entityId 212014918105584 at time 2025-04-16T20:49:19Z
|
|
5988
|
-
"data": [
|
|
5989
|
-
{
|
|
5990
|
-
"readingId": "engineRpm",
|
|
5991
|
-
"entityId": "212014918105584",
|
|
5992
|
-
"value": 600,
|
|
5993
|
-
"happenedAtTime": "2025-04-16T20:49:19Z"
|
|
5994
|
-
}
|
|
5995
|
-
],
|
|
5996
5818
|
|
|
5997
5819
|
<b>Rate limit:</b> 10 requests/sec (learn more about rate limits <a href="https://developers.samsara.com/docs/rate-limits" target="_blank">here</a>).
|
|
5998
5820
|
|
|
@@ -6016,7 +5838,7 @@ class AsyncBetaApIsClient:
|
|
|
6016
5838
|
A filter on the data based on this comma-separated list of entity IDs or external IDs. If not set, all entities are returned.
|
|
6017
5839
|
|
|
6018
5840
|
external_ids : typing.Optional[str]
|
|
6019
|
-
A filter on the data based on this comma-separated list of external IDs.
|
|
5841
|
+
A filter on the data based on this comma-separated list of external IDs. (Examples: samsara.serial:ZPXKLMN7VJ, samsara.serial:ABXKIMN4NM)
|
|
6020
5842
|
|
|
6021
5843
|
as_of_time : typing.Optional[str]
|
|
6022
5844
|
A filter on the data that returns the last known data points with timestamps less than or equal to this value. Defaults to now if not provided. Must be a string in RFC 3339 format. Millisecond precision and timezones are supported. (Examples: 2020-01-27T07:06:25Z)
|
|
@@ -6064,45 +5886,100 @@ class AsyncBetaApIsClient:
|
|
|
6064
5886
|
)
|
|
6065
5887
|
return _response.data
|
|
6066
5888
|
|
|
6067
|
-
async def
|
|
5889
|
+
async def get_report_configs(
|
|
6068
5890
|
self,
|
|
6069
5891
|
*,
|
|
6070
|
-
safety_event_ids: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
|
|
6071
|
-
include_asset: typing.Optional[bool] = None,
|
|
6072
|
-
include_driver: typing.Optional[bool] = None,
|
|
6073
5892
|
after: typing.Optional[str] = None,
|
|
5893
|
+
limit: typing.Optional[int] = None,
|
|
5894
|
+
ids: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
|
|
6074
5895
|
request_options: typing.Optional[RequestOptions] = None,
|
|
6075
|
-
) ->
|
|
5896
|
+
) -> ReportsGetReportConfigsResponseBody:
|
|
6076
5897
|
"""
|
|
6077
|
-
|
|
5898
|
+
Get report configs created in the organization.
|
|
6078
5899
|
|
|
6079
5900
|
<b>Rate limit:</b> 5 requests/sec (learn more about rate limits <a href="https://developers.samsara.com/docs/rate-limits" target="_blank">here</a>).
|
|
6080
5901
|
|
|
6081
|
-
To use this endpoint, select **Read
|
|
5902
|
+
To use this endpoint, select **Read Custom Reports** under the Custom Reports 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>
|
|
6082
5903
|
|
|
6083
5904
|
|
|
6084
5905
|
**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.
|
|
6085
5906
|
|
|
6086
5907
|
Parameters
|
|
6087
5908
|
----------
|
|
6088
|
-
|
|
6089
|
-
|
|
5909
|
+
after : typing.Optional[str]
|
|
5910
|
+
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.
|
|
6090
5911
|
|
|
6091
|
-
|
|
6092
|
-
|
|
5912
|
+
limit : typing.Optional[int]
|
|
5913
|
+
Maximum number of configs to return
|
|
6093
5914
|
|
|
6094
|
-
|
|
6095
|
-
|
|
5915
|
+
ids : typing.Optional[typing.Union[str, typing.Sequence[str]]]
|
|
5916
|
+
The list of report config IDs to retrieve. Include up to 10 report config IDs. If not provided, all configs will be returned.
|
|
5917
|
+
|
|
5918
|
+
request_options : typing.Optional[RequestOptions]
|
|
5919
|
+
Request-specific configuration.
|
|
5920
|
+
|
|
5921
|
+
Returns
|
|
5922
|
+
-------
|
|
5923
|
+
ReportsGetReportConfigsResponseBody
|
|
5924
|
+
OK response.
|
|
5925
|
+
|
|
5926
|
+
Examples
|
|
5927
|
+
--------
|
|
5928
|
+
import asyncio
|
|
5929
|
+
|
|
5930
|
+
from samsara import AsyncSamsara
|
|
5931
|
+
|
|
5932
|
+
client = AsyncSamsara(
|
|
5933
|
+
token="YOUR_TOKEN",
|
|
5934
|
+
)
|
|
5935
|
+
|
|
5936
|
+
|
|
5937
|
+
async def main() -> None:
|
|
5938
|
+
await client.beta_ap_is.get_report_configs()
|
|
5939
|
+
|
|
5940
|
+
|
|
5941
|
+
asyncio.run(main())
|
|
5942
|
+
"""
|
|
5943
|
+
_response = await self._raw_client.get_report_configs(
|
|
5944
|
+
after=after, limit=limit, ids=ids, request_options=request_options
|
|
5945
|
+
)
|
|
5946
|
+
return _response.data
|
|
5947
|
+
|
|
5948
|
+
async def get_datasets(
|
|
5949
|
+
self,
|
|
5950
|
+
*,
|
|
5951
|
+
ids: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
|
|
5952
|
+
after: typing.Optional[str] = None,
|
|
5953
|
+
limit: typing.Optional[int] = None,
|
|
5954
|
+
request_options: typing.Optional[RequestOptions] = None,
|
|
5955
|
+
) -> ReportsGetDatasetsResponseBody:
|
|
5956
|
+
"""
|
|
5957
|
+
Get datasets for custom reports.
|
|
5958
|
+
|
|
5959
|
+
<b>Rate limit:</b> 5 requests/sec (learn more about rate limits <a href="https://developers.samsara.com/docs/rate-limits" target="_blank">here</a>).
|
|
5960
|
+
|
|
5961
|
+
To use this endpoint, select **Read Custom Reports** under the Custom Reports 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>
|
|
5962
|
+
|
|
5963
|
+
|
|
5964
|
+
**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.
|
|
5965
|
+
|
|
5966
|
+
Parameters
|
|
5967
|
+
----------
|
|
5968
|
+
ids : typing.Optional[typing.Union[str, typing.Sequence[str]]]
|
|
5969
|
+
The list of dataset IDs to retrieve the datasets for. Include up to 10 dataset IDs. If not provided, all datasets will be returned.
|
|
6096
5970
|
|
|
6097
5971
|
after : typing.Optional[str]
|
|
6098
5972
|
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.
|
|
6099
5973
|
|
|
5974
|
+
limit : typing.Optional[int]
|
|
5975
|
+
Maximum number of datasets to return.
|
|
5976
|
+
|
|
6100
5977
|
request_options : typing.Optional[RequestOptions]
|
|
6101
5978
|
Request-specific configuration.
|
|
6102
5979
|
|
|
6103
5980
|
Returns
|
|
6104
5981
|
-------
|
|
6105
|
-
|
|
5982
|
+
ReportsGetDatasetsResponseBody
|
|
6106
5983
|
OK response.
|
|
6107
5984
|
|
|
6108
5985
|
Examples
|
|
@@ -6117,87 +5994,166 @@ class AsyncBetaApIsClient:
|
|
|
6117
5994
|
|
|
6118
5995
|
|
|
6119
5996
|
async def main() -> None:
|
|
6120
|
-
await client.beta_ap_is.
|
|
5997
|
+
await client.beta_ap_is.get_datasets()
|
|
6121
5998
|
|
|
6122
5999
|
|
|
6123
6000
|
asyncio.run(main())
|
|
6124
6001
|
"""
|
|
6125
|
-
_response = await self._raw_client.
|
|
6126
|
-
|
|
6127
|
-
include_asset=include_asset,
|
|
6128
|
-
include_driver=include_driver,
|
|
6129
|
-
after=after,
|
|
6130
|
-
request_options=request_options,
|
|
6002
|
+
_response = await self._raw_client.get_datasets(
|
|
6003
|
+
ids=ids, after=after, limit=limit, request_options=request_options
|
|
6131
6004
|
)
|
|
6132
6005
|
return _response.data
|
|
6133
6006
|
|
|
6134
|
-
async def
|
|
6007
|
+
async def get_report_runs(
|
|
6135
6008
|
self,
|
|
6136
6009
|
*,
|
|
6137
|
-
|
|
6138
|
-
|
|
6139
|
-
asset_ids: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
|
|
6140
|
-
driver_ids: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
|
|
6141
|
-
tag_ids: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
|
|
6142
|
-
assigned_coaches: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
|
|
6143
|
-
behavior_labels: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
|
|
6144
|
-
event_states: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
|
|
6145
|
-
include_asset: typing.Optional[bool] = None,
|
|
6146
|
-
include_driver: typing.Optional[bool] = None,
|
|
6010
|
+
report_config_ids: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
|
|
6011
|
+
ids: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
|
|
6147
6012
|
after: typing.Optional[str] = None,
|
|
6013
|
+
limit: typing.Optional[int] = None,
|
|
6148
6014
|
request_options: typing.Optional[RequestOptions] = None,
|
|
6149
|
-
) ->
|
|
6015
|
+
) -> ReportsGetReportRunsResponseBody:
|
|
6150
6016
|
"""
|
|
6151
|
-
|
|
6017
|
+
Get custom report runs created by the user.
|
|
6152
6018
|
|
|
6153
6019
|
<b>Rate limit:</b> 5 requests/sec (learn more about rate limits <a href="https://developers.samsara.com/docs/rate-limits" target="_blank">here</a>).
|
|
6154
6020
|
|
|
6155
|
-
To use this endpoint, select **Read
|
|
6021
|
+
To use this endpoint, select **Read Custom Reports** under the Custom Reports 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>
|
|
6156
6022
|
|
|
6157
6023
|
|
|
6158
6024
|
**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.
|
|
6159
6025
|
|
|
6160
6026
|
Parameters
|
|
6161
6027
|
----------
|
|
6162
|
-
|
|
6163
|
-
|
|
6028
|
+
report_config_ids : typing.Optional[typing.Union[str, typing.Sequence[str]]]
|
|
6029
|
+
The list of report config IDs to retrieve the report runs for. Include up to 10 report config IDs. If not provided, runs for all configs will be returned.
|
|
6164
6030
|
|
|
6165
|
-
|
|
6166
|
-
|
|
6031
|
+
ids : typing.Optional[typing.Union[str, typing.Sequence[str]]]
|
|
6032
|
+
The list of report run IDs to retrieve the report runs for. Include up to 10 report run IDs. If not provided, all report runs will be returned.
|
|
6167
6033
|
|
|
6168
|
-
|
|
6169
|
-
|
|
6034
|
+
after : typing.Optional[str]
|
|
6035
|
+
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.
|
|
6170
6036
|
|
|
6171
|
-
|
|
6172
|
-
|
|
6037
|
+
limit : typing.Optional[int]
|
|
6038
|
+
Maximum number of runs to return.
|
|
6173
6039
|
|
|
6174
|
-
|
|
6175
|
-
|
|
6040
|
+
request_options : typing.Optional[RequestOptions]
|
|
6041
|
+
Request-specific configuration.
|
|
6042
|
+
|
|
6043
|
+
Returns
|
|
6044
|
+
-------
|
|
6045
|
+
ReportsGetReportRunsResponseBody
|
|
6046
|
+
OK response.
|
|
6047
|
+
|
|
6048
|
+
Examples
|
|
6049
|
+
--------
|
|
6050
|
+
import asyncio
|
|
6051
|
+
|
|
6052
|
+
from samsara import AsyncSamsara
|
|
6176
6053
|
|
|
6177
|
-
|
|
6178
|
-
|
|
6054
|
+
client = AsyncSamsara(
|
|
6055
|
+
token="YOUR_TOKEN",
|
|
6056
|
+
)
|
|
6179
6057
|
|
|
6180
|
-
behavior_labels : typing.Optional[typing.Union[str, typing.Sequence[str]]]
|
|
6181
|
-
Optional string of comma separated labels to filter behavior labels. Valid values: `Acceleration`, `AggressiveDriving`, `BluetoothHeadset`, `Braking`, `ContextConstructionOrWorkZone`, `ContextSnowyOrIcy`, `ContextVulnerableRoadUser`, `ContextWet`, `Crash`, `DefensiveDriving`, `DidNotYield`, `Drinking`, `Drowsy`, `Eating`, `EatingDrinking`, `EdgeDistractedDriving`, `EdgeRailroadCrossingViolation`, `FollowingDistance`, `FollowingDistanceModerate`, `FollowingDistanceSevere`, `ForwardCollisionWarning`, `GenericDistraction`, `GenericTailgating`, `HarshTurn`, `HeavySpeeding`, `HosViolation`, `Idling`, `Invalid`, `LaneDeparture`, `LateResponse`, `LeftTurn`, `LightSpeeding`, `MaxSpeed`, `MobileUsage`, `ModerateSpeeding`, `NearCollison`, `NearPedestrianCollision`, `NoSeatbelt`, `ObstructedCamera`, `OtherViolation`, `Passenger`, `PolicyViolationMask`, `ProtectiveEquipment`, `RanRedLight`, `Reversing`, `RollingStop`, `RolloverProtection`, `SevereSpeeding`, `Smoking`, `Speeding`, `UTurn`, `UnsafeManeuver`, `UnsafeParking`, `VulnerableRoadUserCollisionWarning`, `YawControl`
|
|
6182
6058
|
|
|
6183
|
-
|
|
6184
|
-
|
|
6059
|
+
async def main() -> None:
|
|
6060
|
+
await client.beta_ap_is.get_report_runs()
|
|
6185
6061
|
|
|
6186
|
-
include_asset : typing.Optional[bool]
|
|
6187
|
-
Indicates whether or not to return expanded “asset” data
|
|
6188
6062
|
|
|
6189
|
-
|
|
6190
|
-
|
|
6063
|
+
asyncio.run(main())
|
|
6064
|
+
"""
|
|
6065
|
+
_response = await self._raw_client.get_report_runs(
|
|
6066
|
+
report_config_ids=report_config_ids, ids=ids, after=after, limit=limit, request_options=request_options
|
|
6067
|
+
)
|
|
6068
|
+
return _response.data
|
|
6069
|
+
|
|
6070
|
+
async def create_report_run(
|
|
6071
|
+
self,
|
|
6072
|
+
*,
|
|
6073
|
+
report_config: CreateReportConfigObjectRequestBody,
|
|
6074
|
+
request_options: typing.Optional[RequestOptions] = None,
|
|
6075
|
+
) -> ReportsCreateReportRunResponseBody:
|
|
6076
|
+
"""
|
|
6077
|
+
Triggers a new custom report run based on the provided configuration.
|
|
6078
|
+
|
|
6079
|
+
<b>Rate limit:</b> 50 requests/hour (learn more about rate limits <a href="https://developers.samsara.com/docs/rate-limits" target="_blank">here</a>).
|
|
6080
|
+
|
|
6081
|
+
To use this endpoint, select **Write Custom Reports** under the Custom Reports 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>
|
|
6082
|
+
|
|
6083
|
+
|
|
6084
|
+
**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.
|
|
6085
|
+
|
|
6086
|
+
Parameters
|
|
6087
|
+
----------
|
|
6088
|
+
report_config : CreateReportConfigObjectRequestBody
|
|
6089
|
+
|
|
6090
|
+
request_options : typing.Optional[RequestOptions]
|
|
6091
|
+
Request-specific configuration.
|
|
6092
|
+
|
|
6093
|
+
Returns
|
|
6094
|
+
-------
|
|
6095
|
+
ReportsCreateReportRunResponseBody
|
|
6096
|
+
Accepted response.
|
|
6097
|
+
|
|
6098
|
+
Examples
|
|
6099
|
+
--------
|
|
6100
|
+
import asyncio
|
|
6101
|
+
|
|
6102
|
+
from samsara import AsyncSamsara, CreateReportConfigObjectRequestBody
|
|
6103
|
+
|
|
6104
|
+
client = AsyncSamsara(
|
|
6105
|
+
token="YOUR_TOKEN",
|
|
6106
|
+
)
|
|
6107
|
+
|
|
6108
|
+
|
|
6109
|
+
async def main() -> None:
|
|
6110
|
+
await client.beta_ap_is.create_report_run(
|
|
6111
|
+
report_config=CreateReportConfigObjectRequestBody(),
|
|
6112
|
+
)
|
|
6113
|
+
|
|
6114
|
+
|
|
6115
|
+
asyncio.run(main())
|
|
6116
|
+
"""
|
|
6117
|
+
_response = await self._raw_client.create_report_run(
|
|
6118
|
+
report_config=report_config, request_options=request_options
|
|
6119
|
+
)
|
|
6120
|
+
return _response.data
|
|
6121
|
+
|
|
6122
|
+
async def get_report_run_data(
|
|
6123
|
+
self,
|
|
6124
|
+
*,
|
|
6125
|
+
id: str,
|
|
6126
|
+
after: typing.Optional[str] = None,
|
|
6127
|
+
limit: typing.Optional[int] = None,
|
|
6128
|
+
request_options: typing.Optional[RequestOptions] = None,
|
|
6129
|
+
) -> ReportsGetReportRunDataResponseBody:
|
|
6130
|
+
"""
|
|
6131
|
+
Get data for the given custom report run.
|
|
6132
|
+
|
|
6133
|
+
<b>Rate limit:</b> 5 requests/sec (learn more about rate limits <a href="https://developers.samsara.com/docs/rate-limits" target="_blank">here</a>).
|
|
6134
|
+
|
|
6135
|
+
To use this endpoint, select **Read Custom Reports** under the Custom Reports 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>
|
|
6136
|
+
|
|
6137
|
+
|
|
6138
|
+
**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.
|
|
6139
|
+
|
|
6140
|
+
Parameters
|
|
6141
|
+
----------
|
|
6142
|
+
id : str
|
|
6143
|
+
ID of the report run.
|
|
6191
6144
|
|
|
6192
6145
|
after : typing.Optional[str]
|
|
6193
6146
|
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.
|
|
6194
6147
|
|
|
6148
|
+
limit : typing.Optional[int]
|
|
6149
|
+
Maximum number of rows to return.
|
|
6150
|
+
|
|
6195
6151
|
request_options : typing.Optional[RequestOptions]
|
|
6196
6152
|
Request-specific configuration.
|
|
6197
6153
|
|
|
6198
6154
|
Returns
|
|
6199
6155
|
-------
|
|
6200
|
-
|
|
6156
|
+
ReportsGetReportRunDataResponseBody
|
|
6201
6157
|
OK response.
|
|
6202
6158
|
|
|
6203
6159
|
Examples
|
|
@@ -6212,26 +6168,15 @@ class AsyncBetaApIsClient:
|
|
|
6212
6168
|
|
|
6213
6169
|
|
|
6214
6170
|
async def main() -> None:
|
|
6215
|
-
await client.beta_ap_is.
|
|
6216
|
-
|
|
6171
|
+
await client.beta_ap_is.get_report_run_data(
|
|
6172
|
+
id="id",
|
|
6217
6173
|
)
|
|
6218
6174
|
|
|
6219
6175
|
|
|
6220
6176
|
asyncio.run(main())
|
|
6221
6177
|
"""
|
|
6222
|
-
_response = await self._raw_client.
|
|
6223
|
-
|
|
6224
|
-
end_time=end_time,
|
|
6225
|
-
asset_ids=asset_ids,
|
|
6226
|
-
driver_ids=driver_ids,
|
|
6227
|
-
tag_ids=tag_ids,
|
|
6228
|
-
assigned_coaches=assigned_coaches,
|
|
6229
|
-
behavior_labels=behavior_labels,
|
|
6230
|
-
event_states=event_states,
|
|
6231
|
-
include_asset=include_asset,
|
|
6232
|
-
include_driver=include_driver,
|
|
6233
|
-
after=after,
|
|
6234
|
-
request_options=request_options,
|
|
6178
|
+
_response = await self._raw_client.get_report_run_data(
|
|
6179
|
+
id=id, after=after, limit=limit, request_options=request_options
|
|
6235
6180
|
)
|
|
6236
6181
|
return _response.data
|
|
6237
6182
|
|
|
@@ -6747,7 +6692,7 @@ class AsyncBetaApIsClient:
|
|
|
6747
6692
|
Parameters
|
|
6748
6693
|
----------
|
|
6749
6694
|
ids : typing.Optional[typing.Union[str, typing.Sequence[str]]]
|
|
6750
|
-
String of comma separated assignments IDs. Max value for this value is 100 objects
|
|
6695
|
+
String of comma separated assignments IDs. Max value for this value is 100 objects. Example: `ids=a4db8702-79d5-4396-a717-e301d52ecc11,c6490f6a-d84e-49b5-b0ad-b6baae304075`
|
|
6751
6696
|
|
|
6752
6697
|
request_options : typing.Optional[RequestOptions]
|
|
6753
6698
|
Request-specific configuration.
|
|
@@ -6801,7 +6746,7 @@ class AsyncBetaApIsClient:
|
|
|
6801
6746
|
Due date of the training assignment in RFC 3339 format. Millisecond precision and timezones are supported.
|
|
6802
6747
|
|
|
6803
6748
|
ids : typing.Optional[typing.Union[str, typing.Sequence[str]]]
|
|
6804
|
-
String of comma separated assignments IDs. Max value for this value is 100 objects
|
|
6749
|
+
String of comma separated assignments IDs. Max value for this value is 100 objects. Example: `ids=a4db8702-79d5-4396-a717-e301d52ecc11,c6490f6a-d84e-49b5-b0ad-b6baae304075`
|
|
6805
6750
|
|
|
6806
6751
|
request_options : typing.Optional[RequestOptions]
|
|
6807
6752
|
Request-specific configuration.
|
|
@@ -6844,12 +6789,12 @@ class AsyncBetaApIsClient:
|
|
|
6844
6789
|
learner_ids: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
|
|
6845
6790
|
course_ids: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
|
|
6846
6791
|
status: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
|
|
6792
|
+
is_overdue: typing.Optional[bool] = None,
|
|
6793
|
+
category_ids: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
|
|
6847
6794
|
request_options: typing.Optional[RequestOptions] = None,
|
|
6848
6795
|
) -> TrainingAssignmentsGetTrainingAssignmentsStreamResponseBody:
|
|
6849
6796
|
"""
|
|
6850
|
-
Returns all training assignments data that has been created or modified for your organization based on the time parameters passed in. Results are paginated and are sorted by last modified date. If you include an endTime, the endpoint will return data up until that point (exclusive). If you don't include an endTime,
|
|
6851
|
-
|
|
6852
|
-
**Beta:** This endpoint is in beta and is likely to change before being broadly available. Reach out to your Samsara Representative to have Training APIs enabled for your organization.
|
|
6797
|
+
Returns all training assignments data that has been created or modified for your organization based on the time parameters passed in. Results are paginated and are sorted by last modified date. If you include an endTime, the endpoint will return data up until that point (exclusive). If you don't include an endTime, the API will continue to poll with the pagination cursor that gets returned on every call. The hasNextPage response value will be true if there is no endTime specified and endCursor is nonempty.
|
|
6853
6798
|
|
|
6854
6799
|
<b>Rate limit:</b> 5 requests/sec (learn more about rate limits <a href="https://developers.samsara.com/docs/rate-limits" target="_blank">here</a>).
|
|
6855
6800
|
|
|
@@ -6878,6 +6823,12 @@ class AsyncBetaApIsClient:
|
|
|
6878
6823
|
status : typing.Optional[typing.Union[str, typing.Sequence[str]]]
|
|
6879
6824
|
Optional string of comma separated values. If status is present, training assignments for the specified status(s) will be returned. Valid values: "notStarted", "inProgress", "completed". Defaults to returning all courses.
|
|
6880
6825
|
|
|
6826
|
+
is_overdue : typing.Optional[bool]
|
|
6827
|
+
Optional boolean value. If present, training assignments for the specified overdue status will be returned. Valid values: true, false. Defaults to returning all assignments.
|
|
6828
|
+
|
|
6829
|
+
category_ids : typing.Optional[typing.Union[str, typing.Sequence[str]]]
|
|
6830
|
+
Optional string of comma separated category IDs. If category ID is present, training assignments for the specified category ID(s) will be returned. Max value for this value is 100 objects. Example: `categoryIds=a4db8702-79d5-4396-a717-e301d52ecc11,c6490f6a-d84e-49b5-b0ad-b6baae304075`
|
|
6831
|
+
|
|
6881
6832
|
request_options : typing.Optional[RequestOptions]
|
|
6882
6833
|
Request-specific configuration.
|
|
6883
6834
|
|
|
@@ -6912,6 +6863,8 @@ class AsyncBetaApIsClient:
|
|
|
6912
6863
|
learner_ids=learner_ids,
|
|
6913
6864
|
course_ids=course_ids,
|
|
6914
6865
|
status=status,
|
|
6866
|
+
is_overdue=is_overdue,
|
|
6867
|
+
category_ids=category_ids,
|
|
6915
6868
|
request_options=request_options,
|
|
6916
6869
|
)
|
|
6917
6870
|
return _response.data
|
|
@@ -6983,87 +6936,3 @@ class AsyncBetaApIsClient:
|
|
|
6983
6936
|
request_options=request_options,
|
|
6984
6937
|
)
|
|
6985
6938
|
return _response.data
|
|
6986
|
-
|
|
6987
|
-
async def get_trips(
|
|
6988
|
-
self,
|
|
6989
|
-
*,
|
|
6990
|
-
start_time: str,
|
|
6991
|
-
include_asset: typing.Optional[bool] = None,
|
|
6992
|
-
completion_status: typing.Optional[GetTripsRequestCompletionStatus] = None,
|
|
6993
|
-
end_time: typing.Optional[str] = None,
|
|
6994
|
-
query_by: typing.Optional[GetTripsRequestQueryBy] = None,
|
|
6995
|
-
after: typing.Optional[str] = None,
|
|
6996
|
-
ids: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
|
|
6997
|
-
request_options: typing.Optional[RequestOptions] = None,
|
|
6998
|
-
) -> TripsGetTripsResponseBody:
|
|
6999
|
-
"""
|
|
7000
|
-
This endpoint will return trips that have been collected for your organization based on the time parameters passed in. Results are paginated. Reach out to your Samsara Representative to have this API enabled for your organization.
|
|
7001
|
-
|
|
7002
|
-
<b>Rate limit:</b> 5 requests/sec (learn more about rate limits <a href="https://developers.samsara.com/docs/rate-limits" target="_blank">here</a>).
|
|
7003
|
-
|
|
7004
|
-
To use this endpoint, select **Read Trips** under the Trips 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>
|
|
7005
|
-
|
|
7006
|
-
|
|
7007
|
-
**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.
|
|
7008
|
-
|
|
7009
|
-
Parameters
|
|
7010
|
-
----------
|
|
7011
|
-
start_time : str
|
|
7012
|
-
RFC 3339 timestamp that indicates when to begin receiving data. Value is compared against `updatedAtTime` or `tripStartTime` depending on the queryBy parameter.
|
|
7013
|
-
|
|
7014
|
-
include_asset : typing.Optional[bool]
|
|
7015
|
-
Indicates whether or not to return expanded “asset” data
|
|
7016
|
-
|
|
7017
|
-
completion_status : typing.Optional[GetTripsRequestCompletionStatus]
|
|
7018
|
-
Filters trips based on a specific completion status Valid values: `inProgress`, `completed`, `all`
|
|
7019
|
-
|
|
7020
|
-
end_time : typing.Optional[str]
|
|
7021
|
-
RFC 3339 timestamp which is compared against `updatedAtTime` or `tripStartTime` depending on the queryBy parameter. If not provided then the endpoint behaves as an unending feed of changes.
|
|
7022
|
-
|
|
7023
|
-
query_by : typing.Optional[GetTripsRequestQueryBy]
|
|
7024
|
-
Decide which timestamp the `startTime` and `endTime` are compared to. Valid values: `updatedAtTime`, `tripStartTime`
|
|
7025
|
-
|
|
7026
|
-
after : typing.Optional[str]
|
|
7027
|
-
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.
|
|
7028
|
-
|
|
7029
|
-
ids : typing.Optional[typing.Union[str, typing.Sequence[str]]]
|
|
7030
|
-
Comma-separated list of asset IDs. Include up to 50 asset IDs.
|
|
7031
|
-
|
|
7032
|
-
request_options : typing.Optional[RequestOptions]
|
|
7033
|
-
Request-specific configuration.
|
|
7034
|
-
|
|
7035
|
-
Returns
|
|
7036
|
-
-------
|
|
7037
|
-
TripsGetTripsResponseBody
|
|
7038
|
-
OK response.
|
|
7039
|
-
|
|
7040
|
-
Examples
|
|
7041
|
-
--------
|
|
7042
|
-
import asyncio
|
|
7043
|
-
|
|
7044
|
-
from samsara import AsyncSamsara
|
|
7045
|
-
|
|
7046
|
-
client = AsyncSamsara(
|
|
7047
|
-
token="YOUR_TOKEN",
|
|
7048
|
-
)
|
|
7049
|
-
|
|
7050
|
-
|
|
7051
|
-
async def main() -> None:
|
|
7052
|
-
await client.beta_ap_is.get_trips(
|
|
7053
|
-
start_time="startTime",
|
|
7054
|
-
)
|
|
7055
|
-
|
|
7056
|
-
|
|
7057
|
-
asyncio.run(main())
|
|
7058
|
-
"""
|
|
7059
|
-
_response = await self._raw_client.get_trips(
|
|
7060
|
-
start_time=start_time,
|
|
7061
|
-
include_asset=include_asset,
|
|
7062
|
-
completion_status=completion_status,
|
|
7063
|
-
end_time=end_time,
|
|
7064
|
-
query_by=query_by,
|
|
7065
|
-
after=after,
|
|
7066
|
-
ids=ids,
|
|
7067
|
-
request_options=request_options,
|
|
7068
|
-
)
|
|
7069
|
-
return _response.data
|