samsara-api 4.2.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 +549 -97
- samsara/addresses/client.py +11 -18
- samsara/addresses/raw_client.py +11 -15
- 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/alerts/client.py +2 -10
- samsara/alerts/raw_client.py +180 -180
- samsara/assets/__init__.py +3 -3
- samsara/assets/client.py +16 -47
- samsara/assets/raw_client.py +158 -162
- samsara/assets/types/__init__.py +3 -3
- samsara/assets/types/{assets_list_request_type.py → list_assets_request_type.py} +1 -1
- samsara/attributes/client.py +4 -8
- 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 +714 -895
- samsara/beta_ap_is/raw_client.py +3257 -3037
- samsara/beta_ap_is/types/__init__.py +0 -6
- samsara/carrier_proposed_assignments/client.py +2 -10
- samsara/client.py +79 -36
- samsara/coaching/client.py +2 -22
- samsara/coaching/raw_client.py +108 -108
- samsara/contacts/client.py +2 -8
- samsara/core/__init__.py +5 -0
- samsara/core/client_wrapper.py +22 -10
- samsara/core/custom_pagination.py +152 -0
- samsara/core/http_client.py +217 -97
- samsara/core/http_sse/__init__.py +42 -0
- samsara/core/http_sse/_api.py +112 -0
- samsara/core/http_sse/_decoders.py +61 -0
- samsara/{types/safety_event_location.py → core/http_sse/_exceptions.py} +4 -2
- samsara/core/http_sse/_models.py +17 -0
- samsara/core/jsonable_encoder.py +8 -0
- samsara/core/pagination.py +14 -14
- samsara/core/pydantic_utilities.py +105 -2
- samsara/documents/client.py +2 -12
- samsara/documents/raw_client.py +180 -180
- samsara/driver_qr_codes/raw_client.py +108 -108
- 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/driver_vehicle_assignments/client.py +0 -12
- samsara/driver_vehicle_assignments/raw_client.py +144 -144
- samsara/drivers/__init__.py +3 -3
- samsara/drivers/client.py +17 -27
- samsara/drivers/raw_client.py +55 -58
- samsara/drivers/types/__init__.py +3 -3
- samsara/drivers/types/{drivers_list_request_driver_activation_status.py → list_drivers_request_driver_activation_status.py} +1 -1
- samsara/equipment/client.py +6 -22
- samsara/errors/bad_gateway_error.py +1 -1
- samsara/errors/gateway_timeout_error.py +1 -1
- samsara/errors/internal_server_error.py +1 -1
- samsara/errors/method_not_allowed_error.py +1 -1
- samsara/errors/not_found_error.py +1 -1
- samsara/errors/not_implemented_error.py +1 -1
- samsara/errors/service_unavailable_error.py +1 -1
- samsara/errors/too_many_requests_error.py +1 -1
- samsara/errors/unauthorized_error.py +1 -1
- samsara/forms/__init__.py +9 -3
- samsara/forms/client.py +17 -10
- samsara/forms/raw_client.py +265 -254
- samsara/forms/types/__init__.py +6 -2
- samsara/forms/types/form_submissions_post_form_submission_request_body_status.py +5 -0
- samsara/fuel_and_energy/client.py +0 -30
- samsara/fuel_and_energy/raw_client.py +180 -180
- samsara/gateways/client.py +2 -6
- samsara/gateways/raw_client.py +108 -108
- samsara/hours_of_service/__init__.py +6 -3
- samsara/hours_of_service/client.py +13 -52
- samsara/hours_of_service/raw_client.py +77 -76
- samsara/hours_of_service/types/__init__.py +4 -2
- samsara/hours_of_service/types/get_hos_daily_logs_request_expand.py +5 -0
- samsara/hubs/client.py +2 -94
- samsara/hubs/raw_client.py +216 -216
- samsara/idling/client.py +0 -18
- samsara/idling/raw_client.py +36 -36
- samsara/ifta/client.py +4 -34
- samsara/ifta/raw_client.py +144 -144
- samsara/industrial/client.py +12 -56
- samsara/industrial/raw_client.py +40 -48
- samsara/issues/client.py +0 -4
- samsara/issues/raw_client.py +108 -108
- samsara/legacy_ap_is/client.py +385 -56
- samsara/legacy_ap_is/raw_client.py +706 -108
- samsara/live_sharing_links/client.py +2 -10
- samsara/live_sharing_links/raw_client.py +144 -144
- samsara/location_and_speed/client.py +14 -22
- samsara/location_and_speed/raw_client.py +48 -38
- samsara/maintenance/__init__.py +3 -3
- samsara/maintenance/client.py +15 -30
- samsara/maintenance/raw_client.py +191 -182
- samsara/maintenance/types/__init__.py +6 -2
- samsara/maintenance/types/create_dvir_request_type.py +5 -0
- samsara/media/client.py +6 -10
- samsara/media/raw_client.py +112 -112
- samsara/media/types/media_retrieval_post_media_retrieval_request_body_media_type.py +3 -1
- samsara/messages/client.py +4 -10
- samsara/messages/raw_client.py +2 -2
- samsara/plans/client.py +24 -25
- samsara/plans/raw_client.py +92 -74
- samsara/preview_ap_is/client.py +2 -2
- samsara/preview_ap_is/raw_client.py +110 -110
- samsara/route_events/client.py +2 -12
- samsara/route_events/raw_client.py +36 -36
- samsara/routes/__init__.py +30 -0
- samsara/routes/client.py +45 -41
- samsara/routes/raw_client.py +289 -258
- samsara/routes/types/__init__.py +34 -0
- samsara/routes/types/get_routes_feed_request_expand.py +5 -0
- samsara/safety/__init__.py +30 -0
- samsara/safety/client.py +200 -218
- samsara/safety/raw_client.py +434 -252
- 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/settings/raw_client.py +180 -180
- samsara/speeding_intervals/raw_client.py +36 -36
- samsara/tachograph_eu_only/client.py +0 -6
- samsara/tags/client.py +2 -8
- samsara/trailer_assignments/client.py +6 -22
- samsara/trailer_assignments/raw_client.py +4 -4
- samsara/trailers/client.py +2 -12
- samsara/trailers/raw_client.py +180 -180
- 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 +692 -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 +14 -7
- 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 +6 -5
- samsara/types/driver_assignment_object_response_body_assignment_type.py +5 -0
- 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_external_ids.py +1 -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 +3 -2
- samsara/types/forms_approval_config_object_response_body_type.py +5 -0
- 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 +6 -3
- samsara/types/fuel_level_trigger_details_object_request_body_operation.py +5 -0
- samsara/types/fuel_level_trigger_details_object_response_body.py +8 -3
- samsara/types/fuel_level_trigger_details_object_response_body_operation.py +5 -0
- 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 +14 -11
- samsara/types/idling_event_object_v_20251023_response_body_pto_state.py +5 -0
- 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_issue_request_body_assigned_to_request_body.py +2 -1
- samsara/types/patch_issue_request_body_assigned_to_request_body_type.py +5 -0
- 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 +10 -7
- samsara/types/reading_datapoint_request_body_entity_type.py +5 -0
- samsara/types/reading_definition_response_body.py +12 -6
- samsara/types/reading_history_response_body.py +4 -4
- samsara/types/reading_snapshot_response_body.py +5 -5
- 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/resolved_by.py +2 -1
- samsara/types/resolved_by_type.py +5 -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_feed_object_response_body.py +2 -1
- samsara/types/route_feed_object_response_body_type.py +5 -0
- samsara/types/route_object_response_body.py +20 -12
- samsara/types/route_settings_request_body.py +10 -2
- samsara/types/route_settings_request_body_sequencing_method.py +7 -0
- samsara/types/route_settings_response_body.py +10 -2
- samsara/types/route_settings_response_body_sequencing_method.py +7 -0
- samsara/types/route_stop_details_object_response_body.py +3 -2
- samsara/types/route_stop_details_object_response_body_type.py +5 -0
- 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 +33 -12
- 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/training_learner_object_response_body.py +2 -1
- samsara/types/training_learner_object_response_body_type.py +5 -0
- 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 +14 -7
- 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 +9 -6
- samsara/types/vehicle_assignment_object_response_body_assignment_type.py +5 -0
- 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_external_ids.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_money_object_request_body.py +2 -1
- samsara/types/work_order_money_object_request_body_currency.py +5 -0
- samsara/types/work_order_money_object_response_body.py +2 -1
- samsara/types/work_order_money_object_response_body_currency.py +5 -0
- 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/users/client.py +4 -16
- samsara/vehicle_locations/client.py +4 -16
- samsara/vehicles/client.py +9 -24
- samsara/vehicles/raw_client.py +45 -49
- samsara/webhooks/client.py +2 -10
- samsara/webhooks/raw_client.py +180 -180
- 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 +136 -32
- samsara/work_orders/raw_client.py +562 -230
- samsara/work_orders/types/__init__.py +0 -6
- {samsara_api-4.2.0.dist-info → samsara_api-5.3.1.dist-info}/LICENSE +1 -1
- {samsara_api-4.2.0.dist-info → samsara_api-5.3.1.dist-info}/METADATA +2 -1
- {samsara_api-4.2.0.dist-info → samsara_api-5.3.1.dist-info}/RECORD +2479 -2315
- samsara/types/reading_type_response_body_data_type.py +0 -5
- samsara/types/safety_event_driver.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.2.0.dist-info → samsara_api-5.3.1.dist-info}/WHEEL +0 -0
samsara/beta_ap_is/client.py
CHANGED
|
@@ -7,6 +7,10 @@ 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
|
|
@@ -18,6 +22,9 @@ from ..types.functions_start_function_run_response_body import FunctionsStartFun
|
|
|
18
22
|
from ..types.goa_attribute_tiny import GoaAttributeTiny
|
|
19
23
|
from ..types.hos_daily_logs_update_shipping_docs_response_body import HosDailyLogsUpdateShippingDocsResponseBody
|
|
20
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
|
+
)
|
|
21
28
|
from ..types.jobs_create_job_response_body import JobsCreateJobResponseBody
|
|
22
29
|
from ..types.jobs_delete_job_response_body import JobsDeleteJobResponseBody
|
|
23
30
|
from ..types.jobs_get_jobs_response_body import JobsGetJobsResponseBody
|
|
@@ -48,10 +55,11 @@ from ..types.reading_datapoint_request_body import ReadingDatapointRequestBody
|
|
|
48
55
|
from ..types.readings_get_readings_history_response_body import ReadingsGetReadingsHistoryResponseBody
|
|
49
56
|
from ..types.readings_get_readings_snapshot_response_body import ReadingsGetReadingsSnapshotResponseBody
|
|
50
57
|
from ..types.readings_list_readings_definitions_response_body import ReadingsListReadingsDefinitionsResponseBody
|
|
51
|
-
from ..types.
|
|
52
|
-
from ..types.
|
|
53
|
-
|
|
54
|
-
|
|
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
|
|
55
63
|
from ..types.safety_scores_get_driver_safety_score_trips_response_body import (
|
|
56
64
|
SafetyScoresGetDriverSafetyScoreTripsResponseBody,
|
|
57
65
|
)
|
|
@@ -64,15 +72,6 @@ from ..types.safety_scores_get_vehicle_safety_score_trips_response_body import (
|
|
|
64
72
|
SafetyScoresGetVehicleSafetyScoreTripsResponseBody,
|
|
65
73
|
)
|
|
66
74
|
from ..types.safety_scores_get_vehicle_safety_scores_response_body import SafetyScoresGetVehicleSafetyScoresResponseBody
|
|
67
|
-
from ..types.trailer_assignments_create_driver_trailer_assignment_response_body import (
|
|
68
|
-
TrailerAssignmentsCreateDriverTrailerAssignmentResponseBody,
|
|
69
|
-
)
|
|
70
|
-
from ..types.trailer_assignments_get_driver_trailer_assignments_response_body import (
|
|
71
|
-
TrailerAssignmentsGetDriverTrailerAssignmentsResponseBody,
|
|
72
|
-
)
|
|
73
|
-
from ..types.trailer_assignments_update_driver_trailer_assignment_response_body import (
|
|
74
|
-
TrailerAssignmentsUpdateDriverTrailerAssignmentResponseBody,
|
|
75
|
-
)
|
|
76
75
|
from ..types.trailer_stats_get_trailer_stats_feed_response_body import TrailerStatsGetTrailerStatsFeedResponseBody
|
|
77
76
|
from ..types.trailer_stats_get_trailer_stats_history_response_body import TrailerStatsGetTrailerStatsHistoryResponseBody
|
|
78
77
|
from ..types.trailer_stats_get_trailer_stats_snapshot_response_body import (
|
|
@@ -88,7 +87,6 @@ from ..types.training_assignments_post_training_assignments_response_body import
|
|
|
88
87
|
TrainingAssignmentsPostTrainingAssignmentsResponseBody,
|
|
89
88
|
)
|
|
90
89
|
from ..types.training_courses_get_training_courses_response_body import TrainingCoursesGetTrainingCoursesResponseBody
|
|
91
|
-
from ..types.trips_get_trips_response_body import TripsGetTripsResponseBody
|
|
92
90
|
from ..types.update_engine_immobilizer_relay_state_request_body_request_body import (
|
|
93
91
|
UpdateEngineImmobilizerRelayStateRequestBodyRequestBody,
|
|
94
92
|
)
|
|
@@ -106,8 +104,6 @@ from .types.get_qualification_records_stream_request_entity_type import GetQuali
|
|
|
106
104
|
from .types.get_qualification_types_request_entity_type import GetQualificationTypesRequestEntityType
|
|
107
105
|
from .types.get_tag_group_safety_scores_request_score_type import GetTagGroupSafetyScoresRequestScoreType
|
|
108
106
|
from .types.get_tag_safety_scores_request_score_type import GetTagSafetyScoresRequestScoreType
|
|
109
|
-
from .types.get_trips_request_completion_status import GetTripsRequestCompletionStatus
|
|
110
|
-
from .types.get_trips_request_query_by import GetTripsRequestQueryBy
|
|
111
107
|
|
|
112
108
|
# this is used as the default value for optional parameters
|
|
113
109
|
OMIT = typing.cast(typing.Any, ...)
|
|
@@ -128,6 +124,61 @@ class BetaApIsClient:
|
|
|
128
124
|
"""
|
|
129
125
|
return self._raw_client
|
|
130
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
|
+
|
|
131
182
|
def get_assets_inputs(
|
|
132
183
|
self,
|
|
133
184
|
*,
|
|
@@ -310,23 +361,12 @@ class BetaApIsClient:
|
|
|
310
361
|
|
|
311
362
|
Examples
|
|
312
363
|
--------
|
|
313
|
-
import datetime
|
|
314
|
-
|
|
315
364
|
from samsara import Samsara
|
|
316
365
|
|
|
317
366
|
client = Samsara(
|
|
318
367
|
token="YOUR_TOKEN",
|
|
319
368
|
)
|
|
320
|
-
client.beta_ap_is.get_driver_efficiency(
|
|
321
|
-
driver_activation_status="active",
|
|
322
|
-
after="after",
|
|
323
|
-
start_time=datetime.datetime.fromisoformat(
|
|
324
|
-
"2024-01-15 09:30:00+00:00",
|
|
325
|
-
),
|
|
326
|
-
end_time=datetime.datetime.fromisoformat(
|
|
327
|
-
"2024-01-15 09:30:00+00:00",
|
|
328
|
-
),
|
|
329
|
-
)
|
|
369
|
+
client.beta_ap_is.get_driver_efficiency()
|
|
330
370
|
"""
|
|
331
371
|
_response = self._raw_client.get_driver_efficiency(
|
|
332
372
|
driver_activation_status=driver_activation_status,
|
|
@@ -348,7 +388,6 @@ class BetaApIsClient:
|
|
|
348
388
|
engine_hours: typing.Optional[int] = OMIT,
|
|
349
389
|
equipment_serial_number: typing.Optional[str] = OMIT,
|
|
350
390
|
external_ids: typing.Optional[typing.Dict[str, str]] = OMIT,
|
|
351
|
-
equipment_patch_equipment_request_body_id: typing.Optional[str] = OMIT,
|
|
352
391
|
name: typing.Optional[str] = OMIT,
|
|
353
392
|
notes: typing.Optional[str] = OMIT,
|
|
354
393
|
odometer_meters: typing.Optional[int] = OMIT,
|
|
@@ -384,9 +423,6 @@ class BetaApIsClient:
|
|
|
384
423
|
external_ids : typing.Optional[typing.Dict[str, str]]
|
|
385
424
|
A map of external ids
|
|
386
425
|
|
|
387
|
-
equipment_patch_equipment_request_body_id : typing.Optional[str]
|
|
388
|
-
The unique Samsara ID of the Equipment. This is automatically generated when the Equipment object is created. It cannot be changed.
|
|
389
|
-
|
|
390
426
|
name : typing.Optional[str]
|
|
391
427
|
The human-readable name of the Equipment. This is set by a fleet administrator and will appear in both Samsara’s cloud dashboard as well as the Samsara Driver mobile app. By default, this name is the serial number of the Samsara Asset Gateway. It can be set or updated through the Samsara Dashboard or through the API at any time.
|
|
392
428
|
|
|
@@ -424,7 +460,6 @@ class BetaApIsClient:
|
|
|
424
460
|
engine_hours=engine_hours,
|
|
425
461
|
equipment_serial_number=equipment_serial_number,
|
|
426
462
|
external_ids=external_ids,
|
|
427
|
-
equipment_patch_equipment_request_body_id=equipment_patch_equipment_request_body_id,
|
|
428
463
|
name=name,
|
|
429
464
|
notes=notes,
|
|
430
465
|
odometer_meters=odometer_meters,
|
|
@@ -500,11 +535,6 @@ class BetaApIsClient:
|
|
|
500
535
|
client.beta_ap_is.get_hos_eld_events(
|
|
501
536
|
start_time="startTime",
|
|
502
537
|
end_time="endTime",
|
|
503
|
-
tag_ids="tagIds",
|
|
504
|
-
parent_tag_ids="parentTagIds",
|
|
505
|
-
driver_activation_status="active",
|
|
506
|
-
after="after",
|
|
507
|
-
limit=1,
|
|
508
538
|
)
|
|
509
539
|
"""
|
|
510
540
|
_response = self._raw_client.get_hos_eld_events(
|
|
@@ -604,11 +634,6 @@ class BetaApIsClient:
|
|
|
604
634
|
)
|
|
605
635
|
client.beta_ap_is.get_trailer_stats_snapshot(
|
|
606
636
|
types="types",
|
|
607
|
-
tag_ids="tagIds",
|
|
608
|
-
parent_tag_ids="parentTagIds",
|
|
609
|
-
after="after",
|
|
610
|
-
trailer_ids="trailerIds",
|
|
611
|
-
time="time",
|
|
612
637
|
)
|
|
613
638
|
"""
|
|
614
639
|
_response = self._raw_client.get_trailer_stats_snapshot(
|
|
@@ -740,11 +765,6 @@ class BetaApIsClient:
|
|
|
740
765
|
)
|
|
741
766
|
client.beta_ap_is.get_trailer_stats_feed(
|
|
742
767
|
types="types",
|
|
743
|
-
tag_ids="tagIds",
|
|
744
|
-
parent_tag_ids="parentTagIds",
|
|
745
|
-
after="after",
|
|
746
|
-
trailer_ids="trailerIds",
|
|
747
|
-
decorations="decorations",
|
|
748
768
|
)
|
|
749
769
|
"""
|
|
750
770
|
_response = self._raw_client.get_trailer_stats_feed(
|
|
@@ -880,11 +900,6 @@ class BetaApIsClient:
|
|
|
880
900
|
start_time="startTime",
|
|
881
901
|
end_time="endTime",
|
|
882
902
|
types="types",
|
|
883
|
-
tag_ids="tagIds",
|
|
884
|
-
parent_tag_ids="parentTagIds",
|
|
885
|
-
after="after",
|
|
886
|
-
trailer_ids="trailerIds",
|
|
887
|
-
decorations="decorations",
|
|
888
903
|
)
|
|
889
904
|
"""
|
|
890
905
|
_response = self._raw_client.get_trailer_stats_history(
|
|
@@ -947,7 +962,7 @@ class BetaApIsClient:
|
|
|
947
962
|
relay_states=[
|
|
948
963
|
UpdateEngineImmobilizerRelayStateRequestBodyRequestBody(
|
|
949
964
|
id="relay1",
|
|
950
|
-
is_open=
|
|
965
|
+
is_open=True,
|
|
951
966
|
)
|
|
952
967
|
],
|
|
953
968
|
)
|
|
@@ -1019,14 +1034,7 @@ class BetaApIsClient:
|
|
|
1019
1034
|
client = Samsara(
|
|
1020
1035
|
token="YOUR_TOKEN",
|
|
1021
1036
|
)
|
|
1022
|
-
client.beta_ap_is.get_jobs(
|
|
1023
|
-
id="id",
|
|
1024
|
-
start_date="startDate",
|
|
1025
|
-
end_date="endDate",
|
|
1026
|
-
status="active",
|
|
1027
|
-
customer_name="customerName",
|
|
1028
|
-
after="after",
|
|
1029
|
-
)
|
|
1037
|
+
client.beta_ap_is.get_jobs()
|
|
1030
1038
|
"""
|
|
1031
1039
|
_response = self._raw_client.get_jobs(
|
|
1032
1040
|
id=id,
|
|
@@ -1213,10 +1221,10 @@ class BetaApIsClient:
|
|
|
1213
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)
|
|
1214
1222
|
|
|
1215
1223
|
detection_behavior_labels : typing.Optional[typing.Union[str, typing.Sequence[str]]]
|
|
1216
|
-
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)
|
|
1217
1225
|
|
|
1218
1226
|
inbox_filter_reason : typing.Optional[typing.Union[str, typing.Sequence[str]]]
|
|
1219
|
-
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)
|
|
1220
1228
|
|
|
1221
1229
|
inbox_event : typing.Optional[bool]
|
|
1222
1230
|
Indicates whether or not to return detections with an associated Safety Inbox event. An empty entry allows all values. (Example: true)
|
|
@@ -1255,13 +1263,7 @@ class BetaApIsClient:
|
|
|
1255
1263
|
token="YOUR_TOKEN",
|
|
1256
1264
|
)
|
|
1257
1265
|
client.beta_ap_is.get_detections(
|
|
1258
|
-
inbox_event=True,
|
|
1259
|
-
in_cab_alert_played=True,
|
|
1260
|
-
include_asset=True,
|
|
1261
|
-
include_driver=True,
|
|
1262
1266
|
start_time="startTime",
|
|
1263
|
-
end_time="endTime",
|
|
1264
|
-
after="after",
|
|
1265
1267
|
)
|
|
1266
1268
|
"""
|
|
1267
1269
|
_response = self._raw_client.get_detections(
|
|
@@ -1289,6 +1291,9 @@ class BetaApIsClient:
|
|
|
1289
1291
|
include_health: typing.Optional[bool] = None,
|
|
1290
1292
|
after: typing.Optional[str] = None,
|
|
1291
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,
|
|
1292
1297
|
request_options: typing.Optional[RequestOptions] = None,
|
|
1293
1298
|
) -> DevicesGetDevicesResponseBody:
|
|
1294
1299
|
"""
|
|
@@ -1320,6 +1325,15 @@ class BetaApIsClient:
|
|
|
1320
1325
|
limit : typing.Optional[int]
|
|
1321
1326
|
The limit for how many objects will be in the response. Default and max for this value is 100 objects.
|
|
1322
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
|
+
|
|
1323
1337
|
request_options : typing.Optional[RequestOptions]
|
|
1324
1338
|
Request-specific configuration.
|
|
1325
1339
|
|
|
@@ -1335,11 +1349,7 @@ class BetaApIsClient:
|
|
|
1335
1349
|
client = Samsara(
|
|
1336
1350
|
token="YOUR_TOKEN",
|
|
1337
1351
|
)
|
|
1338
|
-
client.beta_ap_is.get_devices(
|
|
1339
|
-
include_health=True,
|
|
1340
|
-
after="after",
|
|
1341
|
-
limit=1,
|
|
1342
|
-
)
|
|
1352
|
+
client.beta_ap_is.get_devices()
|
|
1343
1353
|
"""
|
|
1344
1354
|
_response = self._raw_client.get_devices(
|
|
1345
1355
|
models=models,
|
|
@@ -1347,164 +1357,13 @@ class BetaApIsClient:
|
|
|
1347
1357
|
include_health=include_health,
|
|
1348
1358
|
after=after,
|
|
1349
1359
|
limit=limit,
|
|
1360
|
+
include_tags=include_tags,
|
|
1361
|
+
tag_ids=tag_ids,
|
|
1362
|
+
parent_tag_ids=parent_tag_ids,
|
|
1350
1363
|
request_options=request_options,
|
|
1351
1364
|
)
|
|
1352
1365
|
return _response.data
|
|
1353
1366
|
|
|
1354
|
-
def get_driver_trailer_assignments(
|
|
1355
|
-
self,
|
|
1356
|
-
*,
|
|
1357
|
-
driver_ids: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
|
|
1358
|
-
after: typing.Optional[str] = None,
|
|
1359
|
-
include_external_ids: typing.Optional[bool] = None,
|
|
1360
|
-
request_options: typing.Optional[RequestOptions] = None,
|
|
1361
|
-
) -> TrailerAssignmentsGetDriverTrailerAssignmentsResponseBody:
|
|
1362
|
-
"""
|
|
1363
|
-
Get currently active driver-trailer assignments for driver.
|
|
1364
|
-
|
|
1365
|
-
<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>).
|
|
1366
|
-
|
|
1367
|
-
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>
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
**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.
|
|
1371
|
-
|
|
1372
|
-
Parameters
|
|
1373
|
-
----------
|
|
1374
|
-
driver_ids : typing.Optional[typing.Union[str, typing.Sequence[str]]]
|
|
1375
|
-
A filter on the data based on this comma-separated list of driver IDs and externalIds. Example: `driverIds=1234,5678,payroll:4841`
|
|
1376
|
-
|
|
1377
|
-
after : typing.Optional[str]
|
|
1378
|
-
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.
|
|
1379
|
-
|
|
1380
|
-
include_external_ids : typing.Optional[bool]
|
|
1381
|
-
Optional boolean indicating whether to return external IDs on supported entities
|
|
1382
|
-
|
|
1383
|
-
request_options : typing.Optional[RequestOptions]
|
|
1384
|
-
Request-specific configuration.
|
|
1385
|
-
|
|
1386
|
-
Returns
|
|
1387
|
-
-------
|
|
1388
|
-
TrailerAssignmentsGetDriverTrailerAssignmentsResponseBody
|
|
1389
|
-
OK response.
|
|
1390
|
-
|
|
1391
|
-
Examples
|
|
1392
|
-
--------
|
|
1393
|
-
from samsara import Samsara
|
|
1394
|
-
|
|
1395
|
-
client = Samsara(
|
|
1396
|
-
token="YOUR_TOKEN",
|
|
1397
|
-
)
|
|
1398
|
-
client.beta_ap_is.get_driver_trailer_assignments()
|
|
1399
|
-
"""
|
|
1400
|
-
_response = self._raw_client.get_driver_trailer_assignments(
|
|
1401
|
-
driver_ids=driver_ids,
|
|
1402
|
-
after=after,
|
|
1403
|
-
include_external_ids=include_external_ids,
|
|
1404
|
-
request_options=request_options,
|
|
1405
|
-
)
|
|
1406
|
-
return _response.data
|
|
1407
|
-
|
|
1408
|
-
def create_driver_trailer_assignment(
|
|
1409
|
-
self,
|
|
1410
|
-
*,
|
|
1411
|
-
driver_id: str,
|
|
1412
|
-
trailer_id: str,
|
|
1413
|
-
start_time: typing.Optional[str] = OMIT,
|
|
1414
|
-
request_options: typing.Optional[RequestOptions] = None,
|
|
1415
|
-
) -> TrailerAssignmentsCreateDriverTrailerAssignmentResponseBody:
|
|
1416
|
-
"""
|
|
1417
|
-
Create a new driver-trailer assignment
|
|
1418
|
-
|
|
1419
|
-
<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>).
|
|
1420
|
-
|
|
1421
|
-
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>
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
**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.
|
|
1425
|
-
|
|
1426
|
-
Parameters
|
|
1427
|
-
----------
|
|
1428
|
-
driver_id : str
|
|
1429
|
-
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.
|
|
1430
|
-
|
|
1431
|
-
trailer_id : str
|
|
1432
|
-
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.
|
|
1433
|
-
|
|
1434
|
-
start_time : typing.Optional[str]
|
|
1435
|
-
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
|
|
1436
|
-
|
|
1437
|
-
request_options : typing.Optional[RequestOptions]
|
|
1438
|
-
Request-specific configuration.
|
|
1439
|
-
|
|
1440
|
-
Returns
|
|
1441
|
-
-------
|
|
1442
|
-
TrailerAssignmentsCreateDriverTrailerAssignmentResponseBody
|
|
1443
|
-
OK response.
|
|
1444
|
-
|
|
1445
|
-
Examples
|
|
1446
|
-
--------
|
|
1447
|
-
from samsara import Samsara
|
|
1448
|
-
|
|
1449
|
-
client = Samsara(
|
|
1450
|
-
token="YOUR_TOKEN",
|
|
1451
|
-
)
|
|
1452
|
-
client.beta_ap_is.create_driver_trailer_assignment(
|
|
1453
|
-
driver_id="494123",
|
|
1454
|
-
trailer_id="12345",
|
|
1455
|
-
)
|
|
1456
|
-
"""
|
|
1457
|
-
_response = self._raw_client.create_driver_trailer_assignment(
|
|
1458
|
-
driver_id=driver_id, trailer_id=trailer_id, start_time=start_time, request_options=request_options
|
|
1459
|
-
)
|
|
1460
|
-
return _response.data
|
|
1461
|
-
|
|
1462
|
-
def update_driver_trailer_assignment(
|
|
1463
|
-
self, *, id: str, end_time: str, request_options: typing.Optional[RequestOptions] = None
|
|
1464
|
-
) -> TrailerAssignmentsUpdateDriverTrailerAssignmentResponseBody:
|
|
1465
|
-
"""
|
|
1466
|
-
Update an existing driver-trailer assignment.
|
|
1467
|
-
|
|
1468
|
-
<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>).
|
|
1469
|
-
|
|
1470
|
-
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>
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
**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.
|
|
1474
|
-
|
|
1475
|
-
Parameters
|
|
1476
|
-
----------
|
|
1477
|
-
id : str
|
|
1478
|
-
Samsara ID for the assignment.
|
|
1479
|
-
|
|
1480
|
-
end_time : str
|
|
1481
|
-
The end time in RFC 3339 format. The end time should not be in the future
|
|
1482
|
-
|
|
1483
|
-
request_options : typing.Optional[RequestOptions]
|
|
1484
|
-
Request-specific configuration.
|
|
1485
|
-
|
|
1486
|
-
Returns
|
|
1487
|
-
-------
|
|
1488
|
-
TrailerAssignmentsUpdateDriverTrailerAssignmentResponseBody
|
|
1489
|
-
OK response.
|
|
1490
|
-
|
|
1491
|
-
Examples
|
|
1492
|
-
--------
|
|
1493
|
-
from samsara import Samsara
|
|
1494
|
-
|
|
1495
|
-
client = Samsara(
|
|
1496
|
-
token="YOUR_TOKEN",
|
|
1497
|
-
)
|
|
1498
|
-
client.beta_ap_is.update_driver_trailer_assignment(
|
|
1499
|
-
id="id",
|
|
1500
|
-
end_time="2019-06-13T19:08:25Z",
|
|
1501
|
-
)
|
|
1502
|
-
"""
|
|
1503
|
-
_response = self._raw_client.update_driver_trailer_assignment(
|
|
1504
|
-
id=id, end_time=end_time, request_options=request_options
|
|
1505
|
-
)
|
|
1506
|
-
return _response.data
|
|
1507
|
-
|
|
1508
1367
|
def get_engine_immobilizer_states(
|
|
1509
1368
|
self,
|
|
1510
1369
|
*,
|
|
@@ -1556,8 +1415,6 @@ class BetaApIsClient:
|
|
|
1556
1415
|
client.beta_ap_is.get_engine_immobilizer_states(
|
|
1557
1416
|
vehicle_ids="vehicleIds",
|
|
1558
1417
|
start_time="startTime",
|
|
1559
|
-
end_time="endTime",
|
|
1560
|
-
after="after",
|
|
1561
1418
|
)
|
|
1562
1419
|
"""
|
|
1563
1420
|
_response = self._raw_client.get_engine_immobilizer_states(
|
|
@@ -1677,6 +1534,84 @@ class BetaApIsClient:
|
|
|
1677
1534
|
)
|
|
1678
1535
|
return _response.data
|
|
1679
1536
|
|
|
1537
|
+
def list_hub_custom_properties(
|
|
1538
|
+
self,
|
|
1539
|
+
*,
|
|
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,
|
|
1547
|
+
request_options: typing.Optional[RequestOptions] = None,
|
|
1548
|
+
) -> HubCustomPropertiesListHubCustomPropertiesResponseBody:
|
|
1549
|
+
"""
|
|
1550
|
+
Retrieve custom properties for a specific hub.
|
|
1551
|
+
|
|
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.
|
|
1553
|
+
|
|
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>).
|
|
1555
|
+
|
|
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>
|
|
1557
|
+
|
|
1558
|
+
|
|
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.
|
|
1560
|
+
|
|
1561
|
+
Parameters
|
|
1562
|
+
----------
|
|
1563
|
+
hub_id : str
|
|
1564
|
+
The hub identifier
|
|
1565
|
+
|
|
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
|
|
1583
|
+
|
|
1584
|
+
request_options : typing.Optional[RequestOptions]
|
|
1585
|
+
Request-specific configuration.
|
|
1586
|
+
|
|
1587
|
+
Returns
|
|
1588
|
+
-------
|
|
1589
|
+
HubCustomPropertiesListHubCustomPropertiesResponseBody
|
|
1590
|
+
OK response.
|
|
1591
|
+
|
|
1592
|
+
Examples
|
|
1593
|
+
--------
|
|
1594
|
+
from samsara import Samsara
|
|
1595
|
+
|
|
1596
|
+
client = Samsara(
|
|
1597
|
+
token="YOUR_TOKEN",
|
|
1598
|
+
)
|
|
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
|
+
|
|
1680
1615
|
def create_plan_orders(
|
|
1681
1616
|
self,
|
|
1682
1617
|
*,
|
|
@@ -2039,7 +1974,7 @@ class BetaApIsClient:
|
|
|
2039
1974
|
request_options: typing.Optional[RequestOptions] = None,
|
|
2040
1975
|
) -> QualificationsGetQualificationRecordsStreamResponseBody:
|
|
2041
1976
|
"""
|
|
2042
|
-
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.
|
|
2043
1978
|
|
|
2044
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>).
|
|
2045
1980
|
|
|
@@ -2096,12 +2031,6 @@ class BetaApIsClient:
|
|
|
2096
2031
|
start_time=datetime.datetime.fromisoformat(
|
|
2097
2032
|
"2024-01-15 09:30:00+00:00",
|
|
2098
2033
|
),
|
|
2099
|
-
end_time=datetime.datetime.fromisoformat(
|
|
2100
|
-
"2024-01-15 09:30:00+00:00",
|
|
2101
|
-
),
|
|
2102
|
-
after="after",
|
|
2103
|
-
include_deleted=True,
|
|
2104
|
-
include_external_ids=True,
|
|
2105
2034
|
)
|
|
2106
2035
|
"""
|
|
2107
2036
|
_response = self._raw_client.get_qualification_records_stream(
|
|
@@ -2202,7 +2131,6 @@ class BetaApIsClient:
|
|
|
2202
2131
|
)
|
|
2203
2132
|
client.beta_ap_is.get_qualification_types(
|
|
2204
2133
|
entity_type="worker",
|
|
2205
|
-
after="after",
|
|
2206
2134
|
)
|
|
2207
2135
|
"""
|
|
2208
2136
|
_response = self._raw_client.get_qualification_types(
|
|
@@ -2251,6 +2179,7 @@ class BetaApIsClient:
|
|
|
2251
2179
|
data=[
|
|
2252
2180
|
ReadingDatapointRequestBody(
|
|
2253
2181
|
entity_id="123451234512345",
|
|
2182
|
+
entity_type="asset",
|
|
2254
2183
|
happened_at_time="2023-10-27T10:00:00Z",
|
|
2255
2184
|
reading_id="airInletPressure",
|
|
2256
2185
|
value={"key": "value"},
|
|
@@ -2271,10 +2200,6 @@ class BetaApIsClient:
|
|
|
2271
2200
|
) -> ReadingsListReadingsDefinitionsResponseBody:
|
|
2272
2201
|
"""
|
|
2273
2202
|
An introspection endpoint for discovering the set of readings including their name, description, data type, unit, and other metadata.
|
|
2274
|
-
Examples:
|
|
2275
|
-
Diagnostic/Engine Readings: engineState, engineSpeed, fuelLevelPerc etc.
|
|
2276
|
-
Level Monitoring Readings: defLevel, defLevelMilliPercent etc.
|
|
2277
|
-
Smart Trailer Readings: reeferState etc.
|
|
2278
2203
|
|
|
2279
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>).
|
|
2280
2205
|
|
|
@@ -2309,11 +2234,7 @@ class BetaApIsClient:
|
|
|
2309
2234
|
client = Samsara(
|
|
2310
2235
|
token="YOUR_TOKEN",
|
|
2311
2236
|
)
|
|
2312
|
-
client.beta_ap_is.list_readings_definitions(
|
|
2313
|
-
after="after",
|
|
2314
|
-
ids="ids",
|
|
2315
|
-
entity_types="entityTypes",
|
|
2316
|
-
)
|
|
2237
|
+
client.beta_ap_is.list_readings_definitions()
|
|
2317
2238
|
"""
|
|
2318
2239
|
_response = self._raw_client.list_readings_definitions(
|
|
2319
2240
|
after=after, ids=ids, entity_types=entity_types, request_options=request_options
|
|
@@ -2336,20 +2257,6 @@ class BetaApIsClient:
|
|
|
2336
2257
|
) -> ReadingsGetReadingsHistoryResponseBody:
|
|
2337
2258
|
"""
|
|
2338
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.
|
|
2339
|
-
Example:
|
|
2340
|
-
engineRpm Readings for entityId 212014918105584 between time 2025-01-27T19:22:30Z and 2025-01-27T19:25:00Z
|
|
2341
|
-
"data": [
|
|
2342
|
-
{
|
|
2343
|
-
"entityId": "212014918105584",
|
|
2344
|
-
"value": 807,
|
|
2345
|
-
"happenedAtTime": "2025-01-27T19:22:30Z"
|
|
2346
|
-
},
|
|
2347
|
-
{
|
|
2348
|
-
"entityId": "212014918105584",
|
|
2349
|
-
"value": 811,
|
|
2350
|
-
"happenedAtTime": "2025-01-27T19:24:30Z"
|
|
2351
|
-
}
|
|
2352
|
-
],
|
|
2353
2260
|
|
|
2354
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>).
|
|
2355
2262
|
|
|
@@ -2373,7 +2280,7 @@ class BetaApIsClient:
|
|
|
2373
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.
|
|
2374
2281
|
|
|
2375
2282
|
external_ids : typing.Optional[str]
|
|
2376
|
-
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)
|
|
2377
2284
|
|
|
2378
2285
|
start_time : typing.Optional[str]
|
|
2379
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)
|
|
@@ -2403,15 +2310,8 @@ class BetaApIsClient:
|
|
|
2403
2310
|
token="YOUR_TOKEN",
|
|
2404
2311
|
)
|
|
2405
2312
|
client.beta_ap_is.get_readings_history(
|
|
2406
|
-
after="after",
|
|
2407
2313
|
reading_id="readingId",
|
|
2408
|
-
entity_ids="entityIds",
|
|
2409
2314
|
entity_type="entityType",
|
|
2410
|
-
external_ids="externalIds",
|
|
2411
|
-
start_time="startTime",
|
|
2412
|
-
end_time="endTime",
|
|
2413
|
-
feed=True,
|
|
2414
|
-
include_external_ids=True,
|
|
2415
2315
|
)
|
|
2416
2316
|
"""
|
|
2417
2317
|
_response = self._raw_client.get_readings_history(
|
|
@@ -2442,16 +2342,6 @@ class BetaApIsClient:
|
|
|
2442
2342
|
) -> ReadingsGetReadingsSnapshotResponseBody:
|
|
2443
2343
|
"""
|
|
2444
2344
|
An endpoint to get the last value of a reading for a set of entities at the specified time.
|
|
2445
|
-
Example:
|
|
2446
|
-
engineRpm Readings for entityId 212014918105584 at time 2025-04-16T20:49:19Z
|
|
2447
|
-
"data": [
|
|
2448
|
-
{
|
|
2449
|
-
"readingId": "engineRpm",
|
|
2450
|
-
"entityId": "212014918105584",
|
|
2451
|
-
"value": 600,
|
|
2452
|
-
"happenedAtTime": "2025-04-16T20:49:19Z"
|
|
2453
|
-
}
|
|
2454
|
-
],
|
|
2455
2345
|
|
|
2456
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>).
|
|
2457
2347
|
|
|
@@ -2475,7 +2365,7 @@ class BetaApIsClient:
|
|
|
2475
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.
|
|
2476
2366
|
|
|
2477
2367
|
external_ids : typing.Optional[str]
|
|
2478
|
-
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)
|
|
2479
2369
|
|
|
2480
2370
|
as_of_time : typing.Optional[str]
|
|
2481
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)
|
|
@@ -2499,13 +2389,8 @@ class BetaApIsClient:
|
|
|
2499
2389
|
token="YOUR_TOKEN",
|
|
2500
2390
|
)
|
|
2501
2391
|
client.beta_ap_is.get_readings_snapshot(
|
|
2502
|
-
after="after",
|
|
2503
2392
|
reading_ids="readingIds",
|
|
2504
|
-
entity_ids="entityIds",
|
|
2505
|
-
external_ids="externalIds",
|
|
2506
|
-
as_of_time="asOfTime",
|
|
2507
2393
|
entity_type="entityType",
|
|
2508
|
-
include_external_ids=True,
|
|
2509
2394
|
)
|
|
2510
2395
|
"""
|
|
2511
2396
|
_response = self._raw_client.get_readings_snapshot(
|
|
@@ -2520,45 +2405,92 @@ class BetaApIsClient:
|
|
|
2520
2405
|
)
|
|
2521
2406
|
return _response.data
|
|
2522
2407
|
|
|
2523
|
-
def
|
|
2408
|
+
def get_report_configs(
|
|
2524
2409
|
self,
|
|
2525
2410
|
*,
|
|
2526
|
-
safety_event_ids: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
|
|
2527
|
-
include_asset: typing.Optional[bool] = None,
|
|
2528
|
-
include_driver: typing.Optional[bool] = None,
|
|
2529
2411
|
after: typing.Optional[str] = None,
|
|
2412
|
+
limit: typing.Optional[int] = None,
|
|
2413
|
+
ids: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
|
|
2530
2414
|
request_options: typing.Optional[RequestOptions] = None,
|
|
2531
|
-
) ->
|
|
2415
|
+
) -> ReportsGetReportConfigsResponseBody:
|
|
2532
2416
|
"""
|
|
2533
|
-
|
|
2417
|
+
Get report configs created in the organization.
|
|
2534
2418
|
|
|
2535
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>).
|
|
2536
2420
|
|
|
2537
|
-
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>
|
|
2538
2422
|
|
|
2539
2423
|
|
|
2540
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.
|
|
2541
2425
|
|
|
2542
2426
|
Parameters
|
|
2543
2427
|
----------
|
|
2544
|
-
|
|
2545
|
-
|
|
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.
|
|
2546
2430
|
|
|
2547
|
-
|
|
2548
|
-
|
|
2431
|
+
limit : typing.Optional[int]
|
|
2432
|
+
Maximum number of configs to return
|
|
2549
2433
|
|
|
2550
|
-
|
|
2551
|
-
|
|
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.
|
|
2552
2481
|
|
|
2553
2482
|
after : typing.Optional[str]
|
|
2554
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.
|
|
2555
2484
|
|
|
2485
|
+
limit : typing.Optional[int]
|
|
2486
|
+
Maximum number of datasets to return.
|
|
2487
|
+
|
|
2556
2488
|
request_options : typing.Optional[RequestOptions]
|
|
2557
2489
|
Request-specific configuration.
|
|
2558
2490
|
|
|
2559
2491
|
Returns
|
|
2560
2492
|
-------
|
|
2561
|
-
|
|
2493
|
+
ReportsGetDatasetsResponseBody
|
|
2562
2494
|
OK response.
|
|
2563
2495
|
|
|
2564
2496
|
Examples
|
|
@@ -2568,84 +2500,143 @@ class BetaApIsClient:
|
|
|
2568
2500
|
client = Samsara(
|
|
2569
2501
|
token="YOUR_TOKEN",
|
|
2570
2502
|
)
|
|
2571
|
-
client.beta_ap_is.
|
|
2503
|
+
client.beta_ap_is.get_datasets()
|
|
2572
2504
|
"""
|
|
2573
|
-
_response = self._raw_client.
|
|
2574
|
-
safety_event_ids=safety_event_ids,
|
|
2575
|
-
include_asset=include_asset,
|
|
2576
|
-
include_driver=include_driver,
|
|
2577
|
-
after=after,
|
|
2578
|
-
request_options=request_options,
|
|
2579
|
-
)
|
|
2505
|
+
_response = self._raw_client.get_datasets(ids=ids, after=after, limit=limit, request_options=request_options)
|
|
2580
2506
|
return _response.data
|
|
2581
2507
|
|
|
2582
|
-
def
|
|
2508
|
+
def get_report_runs(
|
|
2583
2509
|
self,
|
|
2584
2510
|
*,
|
|
2585
|
-
|
|
2586
|
-
|
|
2587
|
-
asset_ids: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
|
|
2588
|
-
driver_ids: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
|
|
2589
|
-
tag_ids: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
|
|
2590
|
-
assigned_coaches: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
|
|
2591
|
-
behavior_labels: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
|
|
2592
|
-
event_states: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
|
|
2593
|
-
include_asset: typing.Optional[bool] = None,
|
|
2594
|
-
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,
|
|
2595
2513
|
after: typing.Optional[str] = None,
|
|
2514
|
+
limit: typing.Optional[int] = None,
|
|
2596
2515
|
request_options: typing.Optional[RequestOptions] = None,
|
|
2597
|
-
) ->
|
|
2516
|
+
) -> ReportsGetReportRunsResponseBody:
|
|
2598
2517
|
"""
|
|
2599
|
-
|
|
2518
|
+
Get custom report runs created by the user.
|
|
2600
2519
|
|
|
2601
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>).
|
|
2602
2521
|
|
|
2603
|
-
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>
|
|
2604
2523
|
|
|
2605
2524
|
|
|
2606
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.
|
|
2607
2526
|
|
|
2608
2527
|
Parameters
|
|
2609
2528
|
----------
|
|
2610
|
-
|
|
2611
|
-
|
|
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.
|
|
2612
2531
|
|
|
2613
|
-
|
|
2614
|
-
|
|
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.
|
|
2615
2534
|
|
|
2616
|
-
|
|
2617
|
-
|
|
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.
|
|
2618
2537
|
|
|
2619
|
-
|
|
2620
|
-
|
|
2538
|
+
limit : typing.Optional[int]
|
|
2539
|
+
Maximum number of runs to return.
|
|
2621
2540
|
|
|
2622
|
-
|
|
2623
|
-
|
|
2541
|
+
request_options : typing.Optional[RequestOptions]
|
|
2542
|
+
Request-specific configuration.
|
|
2543
|
+
|
|
2544
|
+
Returns
|
|
2545
|
+
-------
|
|
2546
|
+
ReportsGetReportRunsResponseBody
|
|
2547
|
+
OK response.
|
|
2624
2548
|
|
|
2625
|
-
|
|
2626
|
-
|
|
2549
|
+
Examples
|
|
2550
|
+
--------
|
|
2551
|
+
from samsara import Samsara
|
|
2627
2552
|
|
|
2628
|
-
|
|
2629
|
-
|
|
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
|
|
2630
2562
|
|
|
2631
|
-
|
|
2632
|
-
|
|
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.
|
|
2633
2571
|
|
|
2634
|
-
|
|
2635
|
-
Indicates whether or not to return expanded “asset” data
|
|
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>).
|
|
2636
2573
|
|
|
2637
|
-
|
|
2638
|
-
|
|
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>
|
|
2575
|
+
|
|
2576
|
+
|
|
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.
|
|
2578
|
+
|
|
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.
|
|
2639
2627
|
|
|
2640
2628
|
after : typing.Optional[str]
|
|
2641
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.
|
|
2642
2630
|
|
|
2631
|
+
limit : typing.Optional[int]
|
|
2632
|
+
Maximum number of rows to return.
|
|
2633
|
+
|
|
2643
2634
|
request_options : typing.Optional[RequestOptions]
|
|
2644
2635
|
Request-specific configuration.
|
|
2645
2636
|
|
|
2646
2637
|
Returns
|
|
2647
2638
|
-------
|
|
2648
|
-
|
|
2639
|
+
ReportsGetReportRunDataResponseBody
|
|
2649
2640
|
OK response.
|
|
2650
2641
|
|
|
2651
2642
|
Examples
|
|
@@ -2655,27 +2646,12 @@ class BetaApIsClient:
|
|
|
2655
2646
|
client = Samsara(
|
|
2656
2647
|
token="YOUR_TOKEN",
|
|
2657
2648
|
)
|
|
2658
|
-
client.beta_ap_is.
|
|
2659
|
-
|
|
2660
|
-
end_time="endTime",
|
|
2661
|
-
include_asset=True,
|
|
2662
|
-
include_driver=True,
|
|
2663
|
-
after="after",
|
|
2649
|
+
client.beta_ap_is.get_report_run_data(
|
|
2650
|
+
id="id",
|
|
2664
2651
|
)
|
|
2665
2652
|
"""
|
|
2666
|
-
_response = self._raw_client.
|
|
2667
|
-
|
|
2668
|
-
end_time=end_time,
|
|
2669
|
-
asset_ids=asset_ids,
|
|
2670
|
-
driver_ids=driver_ids,
|
|
2671
|
-
tag_ids=tag_ids,
|
|
2672
|
-
assigned_coaches=assigned_coaches,
|
|
2673
|
-
behavior_labels=behavior_labels,
|
|
2674
|
-
event_states=event_states,
|
|
2675
|
-
include_asset=include_asset,
|
|
2676
|
-
include_driver=include_driver,
|
|
2677
|
-
after=after,
|
|
2678
|
-
request_options=request_options,
|
|
2653
|
+
_response = self._raw_client.get_report_run_data(
|
|
2654
|
+
id=id, after=after, limit=limit, request_options=request_options
|
|
2679
2655
|
)
|
|
2680
2656
|
return _response.data
|
|
2681
2657
|
|
|
@@ -2730,7 +2706,6 @@ class BetaApIsClient:
|
|
|
2730
2706
|
client.beta_ap_is.get_driver_safety_scores(
|
|
2731
2707
|
end_time="endTime",
|
|
2732
2708
|
start_time="startTime",
|
|
2733
|
-
after="after",
|
|
2734
2709
|
)
|
|
2735
2710
|
"""
|
|
2736
2711
|
_response = self._raw_client.get_driver_safety_scores(
|
|
@@ -2923,7 +2898,6 @@ class BetaApIsClient:
|
|
|
2923
2898
|
end_time="endTime",
|
|
2924
2899
|
start_time="startTime",
|
|
2925
2900
|
score_type="driver",
|
|
2926
|
-
after="after",
|
|
2927
2901
|
)
|
|
2928
2902
|
"""
|
|
2929
2903
|
_response = self._raw_client.get_tag_safety_scores(
|
|
@@ -2987,7 +2961,6 @@ class BetaApIsClient:
|
|
|
2987
2961
|
client.beta_ap_is.get_vehicle_safety_scores(
|
|
2988
2962
|
end_time="endTime",
|
|
2989
2963
|
start_time="startTime",
|
|
2990
|
-
after="after",
|
|
2991
2964
|
)
|
|
2992
2965
|
"""
|
|
2993
2966
|
_response = self._raw_client.get_vehicle_safety_scores(
|
|
@@ -3138,7 +3111,7 @@ class BetaApIsClient:
|
|
|
3138
3111
|
Parameters
|
|
3139
3112
|
----------
|
|
3140
3113
|
ids : typing.Optional[typing.Union[str, typing.Sequence[str]]]
|
|
3141
|
-
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`
|
|
3142
3115
|
|
|
3143
3116
|
request_options : typing.Optional[RequestOptions]
|
|
3144
3117
|
Request-specific configuration.
|
|
@@ -3184,7 +3157,7 @@ class BetaApIsClient:
|
|
|
3184
3157
|
Due date of the training assignment in RFC 3339 format. Millisecond precision and timezones are supported.
|
|
3185
3158
|
|
|
3186
3159
|
ids : typing.Optional[typing.Union[str, typing.Sequence[str]]]
|
|
3187
|
-
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`
|
|
3188
3161
|
|
|
3189
3162
|
request_options : typing.Optional[RequestOptions]
|
|
3190
3163
|
Request-specific configuration.
|
|
@@ -3219,12 +3192,12 @@ class BetaApIsClient:
|
|
|
3219
3192
|
learner_ids: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
|
|
3220
3193
|
course_ids: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
|
|
3221
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,
|
|
3222
3197
|
request_options: typing.Optional[RequestOptions] = None,
|
|
3223
3198
|
) -> TrainingAssignmentsGetTrainingAssignmentsStreamResponseBody:
|
|
3224
3199
|
"""
|
|
3225
|
-
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,
|
|
3226
|
-
|
|
3227
|
-
**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.
|
|
3228
3201
|
|
|
3229
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>).
|
|
3230
3203
|
|
|
@@ -3253,6 +3226,12 @@ class BetaApIsClient:
|
|
|
3253
3226
|
status : typing.Optional[typing.Union[str, typing.Sequence[str]]]
|
|
3254
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.
|
|
3255
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
|
+
|
|
3256
3235
|
request_options : typing.Optional[RequestOptions]
|
|
3257
3236
|
Request-specific configuration.
|
|
3258
3237
|
|
|
@@ -3269,9 +3248,7 @@ class BetaApIsClient:
|
|
|
3269
3248
|
token="YOUR_TOKEN",
|
|
3270
3249
|
)
|
|
3271
3250
|
client.beta_ap_is.get_training_assignments_stream(
|
|
3272
|
-
after="after",
|
|
3273
3251
|
start_time="startTime",
|
|
3274
|
-
end_time="endTime",
|
|
3275
3252
|
)
|
|
3276
3253
|
"""
|
|
3277
3254
|
_response = self._raw_client.get_training_assignments_stream(
|
|
@@ -3281,6 +3258,8 @@ class BetaApIsClient:
|
|
|
3281
3258
|
learner_ids=learner_ids,
|
|
3282
3259
|
course_ids=course_ids,
|
|
3283
3260
|
status=status,
|
|
3261
|
+
is_overdue=is_overdue,
|
|
3262
|
+
category_ids=category_ids,
|
|
3284
3263
|
request_options=request_options,
|
|
3285
3264
|
)
|
|
3286
3265
|
return _response.data
|
|
@@ -3334,9 +3313,7 @@ class BetaApIsClient:
|
|
|
3334
3313
|
client = Samsara(
|
|
3335
3314
|
token="YOUR_TOKEN",
|
|
3336
3315
|
)
|
|
3337
|
-
client.beta_ap_is.get_training_courses(
|
|
3338
|
-
after="after",
|
|
3339
|
-
)
|
|
3316
|
+
client.beta_ap_is.get_training_courses()
|
|
3340
3317
|
"""
|
|
3341
3318
|
_response = self._raw_client.get_training_courses(
|
|
3342
3319
|
after=after,
|
|
@@ -3347,97 +3324,84 @@ class BetaApIsClient:
|
|
|
3347
3324
|
)
|
|
3348
3325
|
return _response.data
|
|
3349
3326
|
|
|
3350
|
-
|
|
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(
|
|
3351
3344
|
self,
|
|
3352
3345
|
*,
|
|
3353
|
-
start_time:
|
|
3354
|
-
|
|
3355
|
-
|
|
3356
|
-
end_time: typing.Optional[str] = None,
|
|
3357
|
-
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,
|
|
3358
3349
|
after: typing.Optional[str] = None,
|
|
3359
|
-
ids: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
|
|
3360
3350
|
request_options: typing.Optional[RequestOptions] = None,
|
|
3361
|
-
) ->
|
|
3351
|
+
) -> DepreciationGetDepreciationTransactionsResponseBody:
|
|
3362
3352
|
"""
|
|
3363
|
-
|
|
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.
|
|
3364
3354
|
|
|
3365
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>).
|
|
3366
3356
|
|
|
3367
|
-
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>
|
|
3368
3358
|
|
|
3369
3359
|
|
|
3370
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.
|
|
3371
3361
|
|
|
3372
3362
|
Parameters
|
|
3373
3363
|
----------
|
|
3374
|
-
start_time :
|
|
3375
|
-
RFC 3339 timestamp
|
|
3376
|
-
|
|
3377
|
-
include_asset : typing.Optional[bool]
|
|
3378
|
-
Indicates whether or not to return expanded “asset” data
|
|
3379
|
-
|
|
3380
|
-
completion_status : typing.Optional[GetTripsRequestCompletionStatus]
|
|
3381
|
-
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).
|
|
3382
3366
|
|
|
3383
|
-
end_time : typing.Optional[
|
|
3384
|
-
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).
|
|
3385
3369
|
|
|
3386
|
-
|
|
3387
|
-
|
|
3370
|
+
asset_ids : typing.Optional[typing.Union[str, typing.Sequence[str]]]
|
|
3371
|
+
Filter by asset IDs. Up to 50 ids.
|
|
3388
3372
|
|
|
3389
3373
|
after : typing.Optional[str]
|
|
3390
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.
|
|
3391
3375
|
|
|
3392
|
-
ids : typing.Optional[typing.Union[str, typing.Sequence[str]]]
|
|
3393
|
-
Comma-separated list of asset IDs. Include up to 50 asset IDs.
|
|
3394
|
-
|
|
3395
3376
|
request_options : typing.Optional[RequestOptions]
|
|
3396
3377
|
Request-specific configuration.
|
|
3397
3378
|
|
|
3398
3379
|
Returns
|
|
3399
3380
|
-------
|
|
3400
|
-
|
|
3381
|
+
DepreciationGetDepreciationTransactionsResponseBody
|
|
3401
3382
|
OK response.
|
|
3402
3383
|
|
|
3403
3384
|
Examples
|
|
3404
3385
|
--------
|
|
3405
|
-
|
|
3386
|
+
import asyncio
|
|
3406
3387
|
|
|
3407
|
-
|
|
3388
|
+
from samsara import AsyncSamsara
|
|
3389
|
+
|
|
3390
|
+
client = AsyncSamsara(
|
|
3408
3391
|
token="YOUR_TOKEN",
|
|
3409
3392
|
)
|
|
3410
|
-
client.beta_ap_is.get_trips(
|
|
3411
|
-
start_time="startTime",
|
|
3412
|
-
)
|
|
3413
|
-
"""
|
|
3414
|
-
_response = self._raw_client.get_trips(
|
|
3415
|
-
start_time=start_time,
|
|
3416
|
-
include_asset=include_asset,
|
|
3417
|
-
completion_status=completion_status,
|
|
3418
|
-
end_time=end_time,
|
|
3419
|
-
query_by=query_by,
|
|
3420
|
-
after=after,
|
|
3421
|
-
ids=ids,
|
|
3422
|
-
request_options=request_options,
|
|
3423
|
-
)
|
|
3424
|
-
return _response.data
|
|
3425
3393
|
|
|
3426
3394
|
|
|
3427
|
-
|
|
3428
|
-
|
|
3429
|
-
self._raw_client = AsyncRawBetaApIsClient(client_wrapper=client_wrapper)
|
|
3395
|
+
async def main() -> None:
|
|
3396
|
+
await client.beta_ap_is.get_depreciation_transactions()
|
|
3430
3397
|
|
|
3431
|
-
@property
|
|
3432
|
-
def with_raw_response(self) -> AsyncRawBetaApIsClient:
|
|
3433
|
-
"""
|
|
3434
|
-
Retrieves a raw implementation of this client that returns raw responses.
|
|
3435
3398
|
|
|
3436
|
-
|
|
3437
|
-
-------
|
|
3438
|
-
AsyncRawBetaApIsClient
|
|
3399
|
+
asyncio.run(main())
|
|
3439
3400
|
"""
|
|
3440
|
-
|
|
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
|
|
3441
3405
|
|
|
3442
3406
|
async def get_assets_inputs(
|
|
3443
3407
|
self,
|
|
@@ -3638,7 +3602,6 @@ class AsyncBetaApIsClient:
|
|
|
3638
3602
|
Examples
|
|
3639
3603
|
--------
|
|
3640
3604
|
import asyncio
|
|
3641
|
-
import datetime
|
|
3642
3605
|
|
|
3643
3606
|
from samsara import AsyncSamsara
|
|
3644
3607
|
|
|
@@ -3648,16 +3611,7 @@ class AsyncBetaApIsClient:
|
|
|
3648
3611
|
|
|
3649
3612
|
|
|
3650
3613
|
async def main() -> None:
|
|
3651
|
-
await client.beta_ap_is.get_driver_efficiency(
|
|
3652
|
-
driver_activation_status="active",
|
|
3653
|
-
after="after",
|
|
3654
|
-
start_time=datetime.datetime.fromisoformat(
|
|
3655
|
-
"2024-01-15 09:30:00+00:00",
|
|
3656
|
-
),
|
|
3657
|
-
end_time=datetime.datetime.fromisoformat(
|
|
3658
|
-
"2024-01-15 09:30:00+00:00",
|
|
3659
|
-
),
|
|
3660
|
-
)
|
|
3614
|
+
await client.beta_ap_is.get_driver_efficiency()
|
|
3661
3615
|
|
|
3662
3616
|
|
|
3663
3617
|
asyncio.run(main())
|
|
@@ -3682,7 +3636,6 @@ class AsyncBetaApIsClient:
|
|
|
3682
3636
|
engine_hours: typing.Optional[int] = OMIT,
|
|
3683
3637
|
equipment_serial_number: typing.Optional[str] = OMIT,
|
|
3684
3638
|
external_ids: typing.Optional[typing.Dict[str, str]] = OMIT,
|
|
3685
|
-
equipment_patch_equipment_request_body_id: typing.Optional[str] = OMIT,
|
|
3686
3639
|
name: typing.Optional[str] = OMIT,
|
|
3687
3640
|
notes: typing.Optional[str] = OMIT,
|
|
3688
3641
|
odometer_meters: typing.Optional[int] = OMIT,
|
|
@@ -3718,9 +3671,6 @@ class AsyncBetaApIsClient:
|
|
|
3718
3671
|
external_ids : typing.Optional[typing.Dict[str, str]]
|
|
3719
3672
|
A map of external ids
|
|
3720
3673
|
|
|
3721
|
-
equipment_patch_equipment_request_body_id : typing.Optional[str]
|
|
3722
|
-
The unique Samsara ID of the Equipment. This is automatically generated when the Equipment object is created. It cannot be changed.
|
|
3723
|
-
|
|
3724
3674
|
name : typing.Optional[str]
|
|
3725
3675
|
The human-readable name of the Equipment. This is set by a fleet administrator and will appear in both Samsara’s cloud dashboard as well as the Samsara Driver mobile app. By default, this name is the serial number of the Samsara Asset Gateway. It can be set or updated through the Samsara Dashboard or through the API at any time.
|
|
3726
3676
|
|
|
@@ -3766,7 +3716,6 @@ class AsyncBetaApIsClient:
|
|
|
3766
3716
|
engine_hours=engine_hours,
|
|
3767
3717
|
equipment_serial_number=equipment_serial_number,
|
|
3768
3718
|
external_ids=external_ids,
|
|
3769
|
-
equipment_patch_equipment_request_body_id=equipment_patch_equipment_request_body_id,
|
|
3770
3719
|
name=name,
|
|
3771
3720
|
notes=notes,
|
|
3772
3721
|
odometer_meters=odometer_meters,
|
|
@@ -3847,11 +3796,6 @@ class AsyncBetaApIsClient:
|
|
|
3847
3796
|
await client.beta_ap_is.get_hos_eld_events(
|
|
3848
3797
|
start_time="startTime",
|
|
3849
3798
|
end_time="endTime",
|
|
3850
|
-
tag_ids="tagIds",
|
|
3851
|
-
parent_tag_ids="parentTagIds",
|
|
3852
|
-
driver_activation_status="active",
|
|
3853
|
-
after="after",
|
|
3854
|
-
limit=1,
|
|
3855
3799
|
)
|
|
3856
3800
|
|
|
3857
3801
|
|
|
@@ -3959,11 +3903,6 @@ class AsyncBetaApIsClient:
|
|
|
3959
3903
|
async def main() -> None:
|
|
3960
3904
|
await client.beta_ap_is.get_trailer_stats_snapshot(
|
|
3961
3905
|
types="types",
|
|
3962
|
-
tag_ids="tagIds",
|
|
3963
|
-
parent_tag_ids="parentTagIds",
|
|
3964
|
-
after="after",
|
|
3965
|
-
trailer_ids="trailerIds",
|
|
3966
|
-
time="time",
|
|
3967
3906
|
)
|
|
3968
3907
|
|
|
3969
3908
|
|
|
@@ -4103,11 +4042,6 @@ class AsyncBetaApIsClient:
|
|
|
4103
4042
|
async def main() -> None:
|
|
4104
4043
|
await client.beta_ap_is.get_trailer_stats_feed(
|
|
4105
4044
|
types="types",
|
|
4106
|
-
tag_ids="tagIds",
|
|
4107
|
-
parent_tag_ids="parentTagIds",
|
|
4108
|
-
after="after",
|
|
4109
|
-
trailer_ids="trailerIds",
|
|
4110
|
-
decorations="decorations",
|
|
4111
4045
|
)
|
|
4112
4046
|
|
|
4113
4047
|
|
|
@@ -4251,11 +4185,6 @@ class AsyncBetaApIsClient:
|
|
|
4251
4185
|
start_time="startTime",
|
|
4252
4186
|
end_time="endTime",
|
|
4253
4187
|
types="types",
|
|
4254
|
-
tag_ids="tagIds",
|
|
4255
|
-
parent_tag_ids="parentTagIds",
|
|
4256
|
-
after="after",
|
|
4257
|
-
trailer_ids="trailerIds",
|
|
4258
|
-
decorations="decorations",
|
|
4259
4188
|
)
|
|
4260
4189
|
|
|
4261
4190
|
|
|
@@ -4326,7 +4255,7 @@ class AsyncBetaApIsClient:
|
|
|
4326
4255
|
relay_states=[
|
|
4327
4256
|
UpdateEngineImmobilizerRelayStateRequestBodyRequestBody(
|
|
4328
4257
|
id="relay1",
|
|
4329
|
-
is_open=
|
|
4258
|
+
is_open=True,
|
|
4330
4259
|
)
|
|
4331
4260
|
],
|
|
4332
4261
|
)
|
|
@@ -4406,14 +4335,7 @@ class AsyncBetaApIsClient:
|
|
|
4406
4335
|
|
|
4407
4336
|
|
|
4408
4337
|
async def main() -> None:
|
|
4409
|
-
await client.beta_ap_is.get_jobs(
|
|
4410
|
-
id="id",
|
|
4411
|
-
start_date="startDate",
|
|
4412
|
-
end_date="endDate",
|
|
4413
|
-
status="active",
|
|
4414
|
-
customer_name="customerName",
|
|
4415
|
-
after="after",
|
|
4416
|
-
)
|
|
4338
|
+
await client.beta_ap_is.get_jobs()
|
|
4417
4339
|
|
|
4418
4340
|
|
|
4419
4341
|
asyncio.run(main())
|
|
@@ -4627,10 +4549,10 @@ class AsyncBetaApIsClient:
|
|
|
4627
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)
|
|
4628
4550
|
|
|
4629
4551
|
detection_behavior_labels : typing.Optional[typing.Union[str, typing.Sequence[str]]]
|
|
4630
|
-
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)
|
|
4631
4553
|
|
|
4632
4554
|
inbox_filter_reason : typing.Optional[typing.Union[str, typing.Sequence[str]]]
|
|
4633
|
-
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)
|
|
4634
4556
|
|
|
4635
4557
|
inbox_event : typing.Optional[bool]
|
|
4636
4558
|
Indicates whether or not to return detections with an associated Safety Inbox event. An empty entry allows all values. (Example: true)
|
|
@@ -4674,13 +4596,7 @@ class AsyncBetaApIsClient:
|
|
|
4674
4596
|
|
|
4675
4597
|
async def main() -> None:
|
|
4676
4598
|
await client.beta_ap_is.get_detections(
|
|
4677
|
-
inbox_event=True,
|
|
4678
|
-
in_cab_alert_played=True,
|
|
4679
|
-
include_asset=True,
|
|
4680
|
-
include_driver=True,
|
|
4681
4599
|
start_time="startTime",
|
|
4682
|
-
end_time="endTime",
|
|
4683
|
-
after="after",
|
|
4684
4600
|
)
|
|
4685
4601
|
|
|
4686
4602
|
|
|
@@ -4711,6 +4627,9 @@ class AsyncBetaApIsClient:
|
|
|
4711
4627
|
include_health: typing.Optional[bool] = None,
|
|
4712
4628
|
after: typing.Optional[str] = None,
|
|
4713
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,
|
|
4714
4633
|
request_options: typing.Optional[RequestOptions] = None,
|
|
4715
4634
|
) -> DevicesGetDevicesResponseBody:
|
|
4716
4635
|
"""
|
|
@@ -4742,6 +4661,15 @@ class AsyncBetaApIsClient:
|
|
|
4742
4661
|
limit : typing.Optional[int]
|
|
4743
4662
|
The limit for how many objects will be in the response. Default and max for this value is 100 objects.
|
|
4744
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
|
+
|
|
4745
4673
|
request_options : typing.Optional[RequestOptions]
|
|
4746
4674
|
Request-specific configuration.
|
|
4747
4675
|
|
|
@@ -4762,11 +4690,7 @@ class AsyncBetaApIsClient:
|
|
|
4762
4690
|
|
|
4763
4691
|
|
|
4764
4692
|
async def main() -> None:
|
|
4765
|
-
await client.beta_ap_is.get_devices(
|
|
4766
|
-
include_health=True,
|
|
4767
|
-
after="after",
|
|
4768
|
-
limit=1,
|
|
4769
|
-
)
|
|
4693
|
+
await client.beta_ap_is.get_devices()
|
|
4770
4694
|
|
|
4771
4695
|
|
|
4772
4696
|
asyncio.run(main())
|
|
@@ -4777,189 +4701,14 @@ class AsyncBetaApIsClient:
|
|
|
4777
4701
|
include_health=include_health,
|
|
4778
4702
|
after=after,
|
|
4779
4703
|
limit=limit,
|
|
4704
|
+
include_tags=include_tags,
|
|
4705
|
+
tag_ids=tag_ids,
|
|
4706
|
+
parent_tag_ids=parent_tag_ids,
|
|
4780
4707
|
request_options=request_options,
|
|
4781
4708
|
)
|
|
4782
4709
|
return _response.data
|
|
4783
4710
|
|
|
4784
|
-
async def
|
|
4785
|
-
self,
|
|
4786
|
-
*,
|
|
4787
|
-
driver_ids: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
|
|
4788
|
-
after: typing.Optional[str] = None,
|
|
4789
|
-
include_external_ids: typing.Optional[bool] = None,
|
|
4790
|
-
request_options: typing.Optional[RequestOptions] = None,
|
|
4791
|
-
) -> TrailerAssignmentsGetDriverTrailerAssignmentsResponseBody:
|
|
4792
|
-
"""
|
|
4793
|
-
Get currently active driver-trailer assignments for driver.
|
|
4794
|
-
|
|
4795
|
-
<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>).
|
|
4796
|
-
|
|
4797
|
-
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>
|
|
4798
|
-
|
|
4799
|
-
|
|
4800
|
-
**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.
|
|
4801
|
-
|
|
4802
|
-
Parameters
|
|
4803
|
-
----------
|
|
4804
|
-
driver_ids : typing.Optional[typing.Union[str, typing.Sequence[str]]]
|
|
4805
|
-
A filter on the data based on this comma-separated list of driver IDs and externalIds. Example: `driverIds=1234,5678,payroll:4841`
|
|
4806
|
-
|
|
4807
|
-
after : typing.Optional[str]
|
|
4808
|
-
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.
|
|
4809
|
-
|
|
4810
|
-
include_external_ids : typing.Optional[bool]
|
|
4811
|
-
Optional boolean indicating whether to return external IDs on supported entities
|
|
4812
|
-
|
|
4813
|
-
request_options : typing.Optional[RequestOptions]
|
|
4814
|
-
Request-specific configuration.
|
|
4815
|
-
|
|
4816
|
-
Returns
|
|
4817
|
-
-------
|
|
4818
|
-
TrailerAssignmentsGetDriverTrailerAssignmentsResponseBody
|
|
4819
|
-
OK response.
|
|
4820
|
-
|
|
4821
|
-
Examples
|
|
4822
|
-
--------
|
|
4823
|
-
import asyncio
|
|
4824
|
-
|
|
4825
|
-
from samsara import AsyncSamsara
|
|
4826
|
-
|
|
4827
|
-
client = AsyncSamsara(
|
|
4828
|
-
token="YOUR_TOKEN",
|
|
4829
|
-
)
|
|
4830
|
-
|
|
4831
|
-
|
|
4832
|
-
async def main() -> None:
|
|
4833
|
-
await client.beta_ap_is.get_driver_trailer_assignments()
|
|
4834
|
-
|
|
4835
|
-
|
|
4836
|
-
asyncio.run(main())
|
|
4837
|
-
"""
|
|
4838
|
-
_response = await self._raw_client.get_driver_trailer_assignments(
|
|
4839
|
-
driver_ids=driver_ids,
|
|
4840
|
-
after=after,
|
|
4841
|
-
include_external_ids=include_external_ids,
|
|
4842
|
-
request_options=request_options,
|
|
4843
|
-
)
|
|
4844
|
-
return _response.data
|
|
4845
|
-
|
|
4846
|
-
async def create_driver_trailer_assignment(
|
|
4847
|
-
self,
|
|
4848
|
-
*,
|
|
4849
|
-
driver_id: str,
|
|
4850
|
-
trailer_id: str,
|
|
4851
|
-
start_time: typing.Optional[str] = OMIT,
|
|
4852
|
-
request_options: typing.Optional[RequestOptions] = None,
|
|
4853
|
-
) -> TrailerAssignmentsCreateDriverTrailerAssignmentResponseBody:
|
|
4854
|
-
"""
|
|
4855
|
-
Create a new driver-trailer assignment
|
|
4856
|
-
|
|
4857
|
-
<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>).
|
|
4858
|
-
|
|
4859
|
-
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>
|
|
4860
|
-
|
|
4861
|
-
|
|
4862
|
-
**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.
|
|
4863
|
-
|
|
4864
|
-
Parameters
|
|
4865
|
-
----------
|
|
4866
|
-
driver_id : str
|
|
4867
|
-
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.
|
|
4868
|
-
|
|
4869
|
-
trailer_id : str
|
|
4870
|
-
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.
|
|
4871
|
-
|
|
4872
|
-
start_time : typing.Optional[str]
|
|
4873
|
-
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
|
|
4874
|
-
|
|
4875
|
-
request_options : typing.Optional[RequestOptions]
|
|
4876
|
-
Request-specific configuration.
|
|
4877
|
-
|
|
4878
|
-
Returns
|
|
4879
|
-
-------
|
|
4880
|
-
TrailerAssignmentsCreateDriverTrailerAssignmentResponseBody
|
|
4881
|
-
OK response.
|
|
4882
|
-
|
|
4883
|
-
Examples
|
|
4884
|
-
--------
|
|
4885
|
-
import asyncio
|
|
4886
|
-
|
|
4887
|
-
from samsara import AsyncSamsara
|
|
4888
|
-
|
|
4889
|
-
client = AsyncSamsara(
|
|
4890
|
-
token="YOUR_TOKEN",
|
|
4891
|
-
)
|
|
4892
|
-
|
|
4893
|
-
|
|
4894
|
-
async def main() -> None:
|
|
4895
|
-
await client.beta_ap_is.create_driver_trailer_assignment(
|
|
4896
|
-
driver_id="494123",
|
|
4897
|
-
trailer_id="12345",
|
|
4898
|
-
)
|
|
4899
|
-
|
|
4900
|
-
|
|
4901
|
-
asyncio.run(main())
|
|
4902
|
-
"""
|
|
4903
|
-
_response = await self._raw_client.create_driver_trailer_assignment(
|
|
4904
|
-
driver_id=driver_id, trailer_id=trailer_id, start_time=start_time, request_options=request_options
|
|
4905
|
-
)
|
|
4906
|
-
return _response.data
|
|
4907
|
-
|
|
4908
|
-
async def update_driver_trailer_assignment(
|
|
4909
|
-
self, *, id: str, end_time: str, request_options: typing.Optional[RequestOptions] = None
|
|
4910
|
-
) -> TrailerAssignmentsUpdateDriverTrailerAssignmentResponseBody:
|
|
4911
|
-
"""
|
|
4912
|
-
Update an existing driver-trailer assignment.
|
|
4913
|
-
|
|
4914
|
-
<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>).
|
|
4915
|
-
|
|
4916
|
-
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>
|
|
4917
|
-
|
|
4918
|
-
|
|
4919
|
-
**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.
|
|
4920
|
-
|
|
4921
|
-
Parameters
|
|
4922
|
-
----------
|
|
4923
|
-
id : str
|
|
4924
|
-
Samsara ID for the assignment.
|
|
4925
|
-
|
|
4926
|
-
end_time : str
|
|
4927
|
-
The end time in RFC 3339 format. The end time should not be in the future
|
|
4928
|
-
|
|
4929
|
-
request_options : typing.Optional[RequestOptions]
|
|
4930
|
-
Request-specific configuration.
|
|
4931
|
-
|
|
4932
|
-
Returns
|
|
4933
|
-
-------
|
|
4934
|
-
TrailerAssignmentsUpdateDriverTrailerAssignmentResponseBody
|
|
4935
|
-
OK response.
|
|
4936
|
-
|
|
4937
|
-
Examples
|
|
4938
|
-
--------
|
|
4939
|
-
import asyncio
|
|
4940
|
-
|
|
4941
|
-
from samsara import AsyncSamsara
|
|
4942
|
-
|
|
4943
|
-
client = AsyncSamsara(
|
|
4944
|
-
token="YOUR_TOKEN",
|
|
4945
|
-
)
|
|
4946
|
-
|
|
4947
|
-
|
|
4948
|
-
async def main() -> None:
|
|
4949
|
-
await client.beta_ap_is.update_driver_trailer_assignment(
|
|
4950
|
-
id="id",
|
|
4951
|
-
end_time="2019-06-13T19:08:25Z",
|
|
4952
|
-
)
|
|
4953
|
-
|
|
4954
|
-
|
|
4955
|
-
asyncio.run(main())
|
|
4956
|
-
"""
|
|
4957
|
-
_response = await self._raw_client.update_driver_trailer_assignment(
|
|
4958
|
-
id=id, end_time=end_time, request_options=request_options
|
|
4959
|
-
)
|
|
4960
|
-
return _response.data
|
|
4961
|
-
|
|
4962
|
-
async def get_engine_immobilizer_states(
|
|
4711
|
+
async def get_engine_immobilizer_states(
|
|
4963
4712
|
self,
|
|
4964
4713
|
*,
|
|
4965
4714
|
vehicle_ids: str,
|
|
@@ -5015,8 +4764,6 @@ class AsyncBetaApIsClient:
|
|
|
5015
4764
|
await client.beta_ap_is.get_engine_immobilizer_states(
|
|
5016
4765
|
vehicle_ids="vehicleIds",
|
|
5017
4766
|
start_time="startTime",
|
|
5018
|
-
end_time="endTime",
|
|
5019
|
-
after="after",
|
|
5020
4767
|
)
|
|
5021
4768
|
|
|
5022
4769
|
|
|
@@ -5155,6 +4902,92 @@ class AsyncBetaApIsClient:
|
|
|
5155
4902
|
)
|
|
5156
4903
|
return _response.data
|
|
5157
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
|
|
4958
|
+
OK response.
|
|
4959
|
+
|
|
4960
|
+
Examples
|
|
4961
|
+
--------
|
|
4962
|
+
import asyncio
|
|
4963
|
+
|
|
4964
|
+
from samsara import AsyncSamsara
|
|
4965
|
+
|
|
4966
|
+
client = AsyncSamsara(
|
|
4967
|
+
token="YOUR_TOKEN",
|
|
4968
|
+
)
|
|
4969
|
+
|
|
4970
|
+
|
|
4971
|
+
async def main() -> None:
|
|
4972
|
+
await client.beta_ap_is.list_hub_custom_properties(
|
|
4973
|
+
hub_id="hubId",
|
|
4974
|
+
)
|
|
4975
|
+
|
|
4976
|
+
|
|
4977
|
+
asyncio.run(main())
|
|
4978
|
+
"""
|
|
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,
|
|
4988
|
+
)
|
|
4989
|
+
return _response.data
|
|
4990
|
+
|
|
5158
4991
|
async def create_plan_orders(
|
|
5159
4992
|
self,
|
|
5160
4993
|
*,
|
|
@@ -5567,7 +5400,7 @@ class AsyncBetaApIsClient:
|
|
|
5567
5400
|
request_options: typing.Optional[RequestOptions] = None,
|
|
5568
5401
|
) -> QualificationsGetQualificationRecordsStreamResponseBody:
|
|
5569
5402
|
"""
|
|
5570
|
-
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.
|
|
5571
5404
|
|
|
5572
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>).
|
|
5573
5406
|
|
|
@@ -5628,12 +5461,6 @@ class AsyncBetaApIsClient:
|
|
|
5628
5461
|
start_time=datetime.datetime.fromisoformat(
|
|
5629
5462
|
"2024-01-15 09:30:00+00:00",
|
|
5630
5463
|
),
|
|
5631
|
-
end_time=datetime.datetime.fromisoformat(
|
|
5632
|
-
"2024-01-15 09:30:00+00:00",
|
|
5633
|
-
),
|
|
5634
|
-
after="after",
|
|
5635
|
-
include_deleted=True,
|
|
5636
|
-
include_external_ids=True,
|
|
5637
5464
|
)
|
|
5638
5465
|
|
|
5639
5466
|
|
|
@@ -5750,7 +5577,6 @@ class AsyncBetaApIsClient:
|
|
|
5750
5577
|
async def main() -> None:
|
|
5751
5578
|
await client.beta_ap_is.get_qualification_types(
|
|
5752
5579
|
entity_type="worker",
|
|
5753
|
-
after="after",
|
|
5754
5580
|
)
|
|
5755
5581
|
|
|
5756
5582
|
|
|
@@ -5807,6 +5633,7 @@ class AsyncBetaApIsClient:
|
|
|
5807
5633
|
data=[
|
|
5808
5634
|
ReadingDatapointRequestBody(
|
|
5809
5635
|
entity_id="123451234512345",
|
|
5636
|
+
entity_type="asset",
|
|
5810
5637
|
happened_at_time="2023-10-27T10:00:00Z",
|
|
5811
5638
|
reading_id="airInletPressure",
|
|
5812
5639
|
value={"key": "value"},
|
|
@@ -5830,10 +5657,6 @@ class AsyncBetaApIsClient:
|
|
|
5830
5657
|
) -> ReadingsListReadingsDefinitionsResponseBody:
|
|
5831
5658
|
"""
|
|
5832
5659
|
An introspection endpoint for discovering the set of readings including their name, description, data type, unit, and other metadata.
|
|
5833
|
-
Examples:
|
|
5834
|
-
Diagnostic/Engine Readings: engineState, engineSpeed, fuelLevelPerc etc.
|
|
5835
|
-
Level Monitoring Readings: defLevel, defLevelMilliPercent etc.
|
|
5836
|
-
Smart Trailer Readings: reeferState etc.
|
|
5837
5660
|
|
|
5838
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>).
|
|
5839
5662
|
|
|
@@ -5873,11 +5696,7 @@ class AsyncBetaApIsClient:
|
|
|
5873
5696
|
|
|
5874
5697
|
|
|
5875
5698
|
async def main() -> None:
|
|
5876
|
-
await client.beta_ap_is.list_readings_definitions(
|
|
5877
|
-
after="after",
|
|
5878
|
-
ids="ids",
|
|
5879
|
-
entity_types="entityTypes",
|
|
5880
|
-
)
|
|
5699
|
+
await client.beta_ap_is.list_readings_definitions()
|
|
5881
5700
|
|
|
5882
5701
|
|
|
5883
5702
|
asyncio.run(main())
|
|
@@ -5903,20 +5722,6 @@ class AsyncBetaApIsClient:
|
|
|
5903
5722
|
) -> ReadingsGetReadingsHistoryResponseBody:
|
|
5904
5723
|
"""
|
|
5905
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.
|
|
5906
|
-
Example:
|
|
5907
|
-
engineRpm Readings for entityId 212014918105584 between time 2025-01-27T19:22:30Z and 2025-01-27T19:25:00Z
|
|
5908
|
-
"data": [
|
|
5909
|
-
{
|
|
5910
|
-
"entityId": "212014918105584",
|
|
5911
|
-
"value": 807,
|
|
5912
|
-
"happenedAtTime": "2025-01-27T19:22:30Z"
|
|
5913
|
-
},
|
|
5914
|
-
{
|
|
5915
|
-
"entityId": "212014918105584",
|
|
5916
|
-
"value": 811,
|
|
5917
|
-
"happenedAtTime": "2025-01-27T19:24:30Z"
|
|
5918
|
-
}
|
|
5919
|
-
],
|
|
5920
5725
|
|
|
5921
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>).
|
|
5922
5727
|
|
|
@@ -5940,7 +5745,7 @@ class AsyncBetaApIsClient:
|
|
|
5940
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.
|
|
5941
5746
|
|
|
5942
5747
|
external_ids : typing.Optional[str]
|
|
5943
|
-
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)
|
|
5944
5749
|
|
|
5945
5750
|
start_time : typing.Optional[str]
|
|
5946
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)
|
|
@@ -5975,15 +5780,8 @@ class AsyncBetaApIsClient:
|
|
|
5975
5780
|
|
|
5976
5781
|
async def main() -> None:
|
|
5977
5782
|
await client.beta_ap_is.get_readings_history(
|
|
5978
|
-
after="after",
|
|
5979
5783
|
reading_id="readingId",
|
|
5980
|
-
entity_ids="entityIds",
|
|
5981
5784
|
entity_type="entityType",
|
|
5982
|
-
external_ids="externalIds",
|
|
5983
|
-
start_time="startTime",
|
|
5984
|
-
end_time="endTime",
|
|
5985
|
-
feed=True,
|
|
5986
|
-
include_external_ids=True,
|
|
5987
5785
|
)
|
|
5988
5786
|
|
|
5989
5787
|
|
|
@@ -6017,16 +5815,6 @@ class AsyncBetaApIsClient:
|
|
|
6017
5815
|
) -> ReadingsGetReadingsSnapshotResponseBody:
|
|
6018
5816
|
"""
|
|
6019
5817
|
An endpoint to get the last value of a reading for a set of entities at the specified time.
|
|
6020
|
-
Example:
|
|
6021
|
-
engineRpm Readings for entityId 212014918105584 at time 2025-04-16T20:49:19Z
|
|
6022
|
-
"data": [
|
|
6023
|
-
{
|
|
6024
|
-
"readingId": "engineRpm",
|
|
6025
|
-
"entityId": "212014918105584",
|
|
6026
|
-
"value": 600,
|
|
6027
|
-
"happenedAtTime": "2025-04-16T20:49:19Z"
|
|
6028
|
-
}
|
|
6029
|
-
],
|
|
6030
5818
|
|
|
6031
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>).
|
|
6032
5820
|
|
|
@@ -6050,7 +5838,7 @@ class AsyncBetaApIsClient:
|
|
|
6050
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.
|
|
6051
5839
|
|
|
6052
5840
|
external_ids : typing.Optional[str]
|
|
6053
|
-
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)
|
|
6054
5842
|
|
|
6055
5843
|
as_of_time : typing.Optional[str]
|
|
6056
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)
|
|
@@ -6079,13 +5867,8 @@ class AsyncBetaApIsClient:
|
|
|
6079
5867
|
|
|
6080
5868
|
async def main() -> None:
|
|
6081
5869
|
await client.beta_ap_is.get_readings_snapshot(
|
|
6082
|
-
after="after",
|
|
6083
5870
|
reading_ids="readingIds",
|
|
6084
|
-
entity_ids="entityIds",
|
|
6085
|
-
external_ids="externalIds",
|
|
6086
|
-
as_of_time="asOfTime",
|
|
6087
5871
|
entity_type="entityType",
|
|
6088
|
-
include_external_ids=True,
|
|
6089
5872
|
)
|
|
6090
5873
|
|
|
6091
5874
|
|
|
@@ -6103,45 +5886,100 @@ class AsyncBetaApIsClient:
|
|
|
6103
5886
|
)
|
|
6104
5887
|
return _response.data
|
|
6105
5888
|
|
|
6106
|
-
async def
|
|
5889
|
+
async def get_report_configs(
|
|
6107
5890
|
self,
|
|
6108
5891
|
*,
|
|
6109
|
-
safety_event_ids: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
|
|
6110
|
-
include_asset: typing.Optional[bool] = None,
|
|
6111
|
-
include_driver: typing.Optional[bool] = None,
|
|
6112
5892
|
after: typing.Optional[str] = None,
|
|
5893
|
+
limit: typing.Optional[int] = None,
|
|
5894
|
+
ids: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
|
|
6113
5895
|
request_options: typing.Optional[RequestOptions] = None,
|
|
6114
|
-
) ->
|
|
5896
|
+
) -> ReportsGetReportConfigsResponseBody:
|
|
6115
5897
|
"""
|
|
6116
|
-
|
|
5898
|
+
Get report configs created in the organization.
|
|
6117
5899
|
|
|
6118
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>).
|
|
6119
5901
|
|
|
6120
|
-
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>
|
|
6121
5903
|
|
|
6122
5904
|
|
|
6123
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.
|
|
6124
5906
|
|
|
6125
5907
|
Parameters
|
|
6126
5908
|
----------
|
|
6127
|
-
|
|
6128
|
-
|
|
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.
|
|
6129
5911
|
|
|
6130
|
-
|
|
6131
|
-
|
|
5912
|
+
limit : typing.Optional[int]
|
|
5913
|
+
Maximum number of configs to return
|
|
6132
5914
|
|
|
6133
|
-
|
|
6134
|
-
|
|
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.
|
|
6135
5970
|
|
|
6136
5971
|
after : typing.Optional[str]
|
|
6137
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.
|
|
6138
5973
|
|
|
5974
|
+
limit : typing.Optional[int]
|
|
5975
|
+
Maximum number of datasets to return.
|
|
5976
|
+
|
|
6139
5977
|
request_options : typing.Optional[RequestOptions]
|
|
6140
5978
|
Request-specific configuration.
|
|
6141
5979
|
|
|
6142
5980
|
Returns
|
|
6143
5981
|
-------
|
|
6144
|
-
|
|
5982
|
+
ReportsGetDatasetsResponseBody
|
|
6145
5983
|
OK response.
|
|
6146
5984
|
|
|
6147
5985
|
Examples
|
|
@@ -6156,87 +5994,166 @@ class AsyncBetaApIsClient:
|
|
|
6156
5994
|
|
|
6157
5995
|
|
|
6158
5996
|
async def main() -> None:
|
|
6159
|
-
await client.beta_ap_is.
|
|
5997
|
+
await client.beta_ap_is.get_datasets()
|
|
6160
5998
|
|
|
6161
5999
|
|
|
6162
6000
|
asyncio.run(main())
|
|
6163
6001
|
"""
|
|
6164
|
-
_response = await self._raw_client.
|
|
6165
|
-
|
|
6166
|
-
include_asset=include_asset,
|
|
6167
|
-
include_driver=include_driver,
|
|
6168
|
-
after=after,
|
|
6169
|
-
request_options=request_options,
|
|
6002
|
+
_response = await self._raw_client.get_datasets(
|
|
6003
|
+
ids=ids, after=after, limit=limit, request_options=request_options
|
|
6170
6004
|
)
|
|
6171
6005
|
return _response.data
|
|
6172
6006
|
|
|
6173
|
-
async def
|
|
6007
|
+
async def get_report_runs(
|
|
6174
6008
|
self,
|
|
6175
6009
|
*,
|
|
6176
|
-
|
|
6177
|
-
|
|
6178
|
-
asset_ids: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
|
|
6179
|
-
driver_ids: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
|
|
6180
|
-
tag_ids: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
|
|
6181
|
-
assigned_coaches: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
|
|
6182
|
-
behavior_labels: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
|
|
6183
|
-
event_states: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
|
|
6184
|
-
include_asset: typing.Optional[bool] = None,
|
|
6185
|
-
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,
|
|
6186
6012
|
after: typing.Optional[str] = None,
|
|
6013
|
+
limit: typing.Optional[int] = None,
|
|
6187
6014
|
request_options: typing.Optional[RequestOptions] = None,
|
|
6188
|
-
) ->
|
|
6015
|
+
) -> ReportsGetReportRunsResponseBody:
|
|
6189
6016
|
"""
|
|
6190
|
-
|
|
6017
|
+
Get custom report runs created by the user.
|
|
6191
6018
|
|
|
6192
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>).
|
|
6193
6020
|
|
|
6194
|
-
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>
|
|
6195
6022
|
|
|
6196
6023
|
|
|
6197
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.
|
|
6198
6025
|
|
|
6199
6026
|
Parameters
|
|
6200
6027
|
----------
|
|
6201
|
-
|
|
6202
|
-
|
|
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.
|
|
6203
6030
|
|
|
6204
|
-
|
|
6205
|
-
|
|
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.
|
|
6206
6033
|
|
|
6207
|
-
|
|
6208
|
-
|
|
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.
|
|
6209
6036
|
|
|
6210
|
-
|
|
6211
|
-
|
|
6037
|
+
limit : typing.Optional[int]
|
|
6038
|
+
Maximum number of runs to return.
|
|
6212
6039
|
|
|
6213
|
-
|
|
6214
|
-
|
|
6040
|
+
request_options : typing.Optional[RequestOptions]
|
|
6041
|
+
Request-specific configuration.
|
|
6215
6042
|
|
|
6216
|
-
|
|
6217
|
-
|
|
6043
|
+
Returns
|
|
6044
|
+
-------
|
|
6045
|
+
ReportsGetReportRunsResponseBody
|
|
6046
|
+
OK response.
|
|
6218
6047
|
|
|
6219
|
-
|
|
6220
|
-
|
|
6048
|
+
Examples
|
|
6049
|
+
--------
|
|
6050
|
+
import asyncio
|
|
6221
6051
|
|
|
6222
|
-
|
|
6223
|
-
Optional string of comma separated values to filter event states. Valid values: `needsReview`, `reviewed`, `needsCoaching`, `coached`, `dismissed`, `needsRecognition`, `recognized`
|
|
6052
|
+
from samsara import AsyncSamsara
|
|
6224
6053
|
|
|
6225
|
-
|
|
6226
|
-
|
|
6054
|
+
client = AsyncSamsara(
|
|
6055
|
+
token="YOUR_TOKEN",
|
|
6056
|
+
)
|
|
6227
6057
|
|
|
6228
|
-
|
|
6229
|
-
|
|
6058
|
+
|
|
6059
|
+
async def main() -> None:
|
|
6060
|
+
await client.beta_ap_is.get_report_runs()
|
|
6061
|
+
|
|
6062
|
+
|
|
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.
|
|
6230
6144
|
|
|
6231
6145
|
after : typing.Optional[str]
|
|
6232
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.
|
|
6233
6147
|
|
|
6148
|
+
limit : typing.Optional[int]
|
|
6149
|
+
Maximum number of rows to return.
|
|
6150
|
+
|
|
6234
6151
|
request_options : typing.Optional[RequestOptions]
|
|
6235
6152
|
Request-specific configuration.
|
|
6236
6153
|
|
|
6237
6154
|
Returns
|
|
6238
6155
|
-------
|
|
6239
|
-
|
|
6156
|
+
ReportsGetReportRunDataResponseBody
|
|
6240
6157
|
OK response.
|
|
6241
6158
|
|
|
6242
6159
|
Examples
|
|
@@ -6251,30 +6168,15 @@ class AsyncBetaApIsClient:
|
|
|
6251
6168
|
|
|
6252
6169
|
|
|
6253
6170
|
async def main() -> None:
|
|
6254
|
-
await client.beta_ap_is.
|
|
6255
|
-
|
|
6256
|
-
end_time="endTime",
|
|
6257
|
-
include_asset=True,
|
|
6258
|
-
include_driver=True,
|
|
6259
|
-
after="after",
|
|
6171
|
+
await client.beta_ap_is.get_report_run_data(
|
|
6172
|
+
id="id",
|
|
6260
6173
|
)
|
|
6261
6174
|
|
|
6262
6175
|
|
|
6263
6176
|
asyncio.run(main())
|
|
6264
6177
|
"""
|
|
6265
|
-
_response = await self._raw_client.
|
|
6266
|
-
|
|
6267
|
-
end_time=end_time,
|
|
6268
|
-
asset_ids=asset_ids,
|
|
6269
|
-
driver_ids=driver_ids,
|
|
6270
|
-
tag_ids=tag_ids,
|
|
6271
|
-
assigned_coaches=assigned_coaches,
|
|
6272
|
-
behavior_labels=behavior_labels,
|
|
6273
|
-
event_states=event_states,
|
|
6274
|
-
include_asset=include_asset,
|
|
6275
|
-
include_driver=include_driver,
|
|
6276
|
-
after=after,
|
|
6277
|
-
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
|
|
6278
6180
|
)
|
|
6279
6181
|
return _response.data
|
|
6280
6182
|
|
|
@@ -6334,7 +6236,6 @@ class AsyncBetaApIsClient:
|
|
|
6334
6236
|
await client.beta_ap_is.get_driver_safety_scores(
|
|
6335
6237
|
end_time="endTime",
|
|
6336
6238
|
start_time="startTime",
|
|
6337
|
-
after="after",
|
|
6338
6239
|
)
|
|
6339
6240
|
|
|
6340
6241
|
|
|
@@ -6551,7 +6452,6 @@ class AsyncBetaApIsClient:
|
|
|
6551
6452
|
end_time="endTime",
|
|
6552
6453
|
start_time="startTime",
|
|
6553
6454
|
score_type="driver",
|
|
6554
|
-
after="after",
|
|
6555
6455
|
)
|
|
6556
6456
|
|
|
6557
6457
|
|
|
@@ -6623,7 +6523,6 @@ class AsyncBetaApIsClient:
|
|
|
6623
6523
|
await client.beta_ap_is.get_vehicle_safety_scores(
|
|
6624
6524
|
end_time="endTime",
|
|
6625
6525
|
start_time="startTime",
|
|
6626
|
-
after="after",
|
|
6627
6526
|
)
|
|
6628
6527
|
|
|
6629
6528
|
|
|
@@ -6793,7 +6692,7 @@ class AsyncBetaApIsClient:
|
|
|
6793
6692
|
Parameters
|
|
6794
6693
|
----------
|
|
6795
6694
|
ids : typing.Optional[typing.Union[str, typing.Sequence[str]]]
|
|
6796
|
-
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`
|
|
6797
6696
|
|
|
6798
6697
|
request_options : typing.Optional[RequestOptions]
|
|
6799
6698
|
Request-specific configuration.
|
|
@@ -6847,7 +6746,7 @@ class AsyncBetaApIsClient:
|
|
|
6847
6746
|
Due date of the training assignment in RFC 3339 format. Millisecond precision and timezones are supported.
|
|
6848
6747
|
|
|
6849
6748
|
ids : typing.Optional[typing.Union[str, typing.Sequence[str]]]
|
|
6850
|
-
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`
|
|
6851
6750
|
|
|
6852
6751
|
request_options : typing.Optional[RequestOptions]
|
|
6853
6752
|
Request-specific configuration.
|
|
@@ -6890,12 +6789,12 @@ class AsyncBetaApIsClient:
|
|
|
6890
6789
|
learner_ids: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
|
|
6891
6790
|
course_ids: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
|
|
6892
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,
|
|
6893
6794
|
request_options: typing.Optional[RequestOptions] = None,
|
|
6894
6795
|
) -> TrainingAssignmentsGetTrainingAssignmentsStreamResponseBody:
|
|
6895
6796
|
"""
|
|
6896
|
-
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,
|
|
6897
|
-
|
|
6898
|
-
**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.
|
|
6899
6798
|
|
|
6900
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>).
|
|
6901
6800
|
|
|
@@ -6924,6 +6823,12 @@ class AsyncBetaApIsClient:
|
|
|
6924
6823
|
status : typing.Optional[typing.Union[str, typing.Sequence[str]]]
|
|
6925
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.
|
|
6926
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
|
+
|
|
6927
6832
|
request_options : typing.Optional[RequestOptions]
|
|
6928
6833
|
Request-specific configuration.
|
|
6929
6834
|
|
|
@@ -6945,9 +6850,7 @@ class AsyncBetaApIsClient:
|
|
|
6945
6850
|
|
|
6946
6851
|
async def main() -> None:
|
|
6947
6852
|
await client.beta_ap_is.get_training_assignments_stream(
|
|
6948
|
-
after="after",
|
|
6949
6853
|
start_time="startTime",
|
|
6950
|
-
end_time="endTime",
|
|
6951
6854
|
)
|
|
6952
6855
|
|
|
6953
6856
|
|
|
@@ -6960,6 +6863,8 @@ class AsyncBetaApIsClient:
|
|
|
6960
6863
|
learner_ids=learner_ids,
|
|
6961
6864
|
course_ids=course_ids,
|
|
6962
6865
|
status=status,
|
|
6866
|
+
is_overdue=is_overdue,
|
|
6867
|
+
category_ids=category_ids,
|
|
6963
6868
|
request_options=request_options,
|
|
6964
6869
|
)
|
|
6965
6870
|
return _response.data
|
|
@@ -7018,9 +6923,7 @@ class AsyncBetaApIsClient:
|
|
|
7018
6923
|
|
|
7019
6924
|
|
|
7020
6925
|
async def main() -> None:
|
|
7021
|
-
await client.beta_ap_is.get_training_courses(
|
|
7022
|
-
after="after",
|
|
7023
|
-
)
|
|
6926
|
+
await client.beta_ap_is.get_training_courses()
|
|
7024
6927
|
|
|
7025
6928
|
|
|
7026
6929
|
asyncio.run(main())
|
|
@@ -7033,87 +6936,3 @@ class AsyncBetaApIsClient:
|
|
|
7033
6936
|
request_options=request_options,
|
|
7034
6937
|
)
|
|
7035
6938
|
return _response.data
|
|
7036
|
-
|
|
7037
|
-
async def get_trips(
|
|
7038
|
-
self,
|
|
7039
|
-
*,
|
|
7040
|
-
start_time: str,
|
|
7041
|
-
include_asset: typing.Optional[bool] = None,
|
|
7042
|
-
completion_status: typing.Optional[GetTripsRequestCompletionStatus] = None,
|
|
7043
|
-
end_time: typing.Optional[str] = None,
|
|
7044
|
-
query_by: typing.Optional[GetTripsRequestQueryBy] = None,
|
|
7045
|
-
after: typing.Optional[str] = None,
|
|
7046
|
-
ids: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
|
|
7047
|
-
request_options: typing.Optional[RequestOptions] = None,
|
|
7048
|
-
) -> TripsGetTripsResponseBody:
|
|
7049
|
-
"""
|
|
7050
|
-
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.
|
|
7051
|
-
|
|
7052
|
-
<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>).
|
|
7053
|
-
|
|
7054
|
-
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>
|
|
7055
|
-
|
|
7056
|
-
|
|
7057
|
-
**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.
|
|
7058
|
-
|
|
7059
|
-
Parameters
|
|
7060
|
-
----------
|
|
7061
|
-
start_time : str
|
|
7062
|
-
RFC 3339 timestamp that indicates when to begin receiving data. Value is compared against `updatedAtTime` or `tripStartTime` depending on the queryBy parameter.
|
|
7063
|
-
|
|
7064
|
-
include_asset : typing.Optional[bool]
|
|
7065
|
-
Indicates whether or not to return expanded “asset” data
|
|
7066
|
-
|
|
7067
|
-
completion_status : typing.Optional[GetTripsRequestCompletionStatus]
|
|
7068
|
-
Filters trips based on a specific completion status Valid values: `inProgress`, `completed`, `all`
|
|
7069
|
-
|
|
7070
|
-
end_time : typing.Optional[str]
|
|
7071
|
-
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.
|
|
7072
|
-
|
|
7073
|
-
query_by : typing.Optional[GetTripsRequestQueryBy]
|
|
7074
|
-
Decide which timestamp the `startTime` and `endTime` are compared to. Valid values: `updatedAtTime`, `tripStartTime`
|
|
7075
|
-
|
|
7076
|
-
after : typing.Optional[str]
|
|
7077
|
-
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.
|
|
7078
|
-
|
|
7079
|
-
ids : typing.Optional[typing.Union[str, typing.Sequence[str]]]
|
|
7080
|
-
Comma-separated list of asset IDs. Include up to 50 asset IDs.
|
|
7081
|
-
|
|
7082
|
-
request_options : typing.Optional[RequestOptions]
|
|
7083
|
-
Request-specific configuration.
|
|
7084
|
-
|
|
7085
|
-
Returns
|
|
7086
|
-
-------
|
|
7087
|
-
TripsGetTripsResponseBody
|
|
7088
|
-
OK response.
|
|
7089
|
-
|
|
7090
|
-
Examples
|
|
7091
|
-
--------
|
|
7092
|
-
import asyncio
|
|
7093
|
-
|
|
7094
|
-
from samsara import AsyncSamsara
|
|
7095
|
-
|
|
7096
|
-
client = AsyncSamsara(
|
|
7097
|
-
token="YOUR_TOKEN",
|
|
7098
|
-
)
|
|
7099
|
-
|
|
7100
|
-
|
|
7101
|
-
async def main() -> None:
|
|
7102
|
-
await client.beta_ap_is.get_trips(
|
|
7103
|
-
start_time="startTime",
|
|
7104
|
-
)
|
|
7105
|
-
|
|
7106
|
-
|
|
7107
|
-
asyncio.run(main())
|
|
7108
|
-
"""
|
|
7109
|
-
_response = await self._raw_client.get_trips(
|
|
7110
|
-
start_time=start_time,
|
|
7111
|
-
include_asset=include_asset,
|
|
7112
|
-
completion_status=completion_status,
|
|
7113
|
-
end_time=end_time,
|
|
7114
|
-
query_by=query_by,
|
|
7115
|
-
after=after,
|
|
7116
|
-
ids=ids,
|
|
7117
|
-
request_options=request_options,
|
|
7118
|
-
)
|
|
7119
|
-
return _response.data
|