samsara-api 2.0.2__py3-none-any.whl → 4.0.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2273) hide show
  1. samsara/__init__.py +8320 -1597
  2. samsara/addresses/__init__.py +31 -1
  3. samsara/addresses/client.py +19 -12
  4. samsara/addresses/raw_client.py +13 -16
  5. samsara/addresses/types/__init__.py +32 -2
  6. samsara/addresses/types/create_address_request_address_types_item.py +9 -1
  7. samsara/addresses/types/update_address_request_address_types_item.py +9 -1
  8. samsara/alerts/__init__.py +29 -3
  9. samsara/alerts/client.py +811 -8
  10. samsara/alerts/raw_client.py +1837 -0
  11. samsara/alerts/types/__init__.py +34 -0
  12. samsara/alerts/types/get_configurations_request_status.py +5 -0
  13. samsara/assets/__init__.py +40 -9
  14. samsara/assets/client.py +710 -23
  15. samsara/assets/raw_client.py +673 -6
  16. samsara/assets/types/__init__.py +38 -5
  17. samsara/attributes/__init__.py +50 -16
  18. samsara/attributes/client.py +82 -96
  19. samsara/attributes/raw_client.py +57 -104
  20. samsara/attributes/types/__init__.py +48 -14
  21. samsara/attributes/types/create_attribute_request_attribute_type.py +3 -1
  22. samsara/attributes/types/create_attribute_request_unit.py +42 -0
  23. samsara/attributes/types/delete_attribute_request_entity_type.py +5 -0
  24. samsara/attributes/types/get_attribute_request_entity_type.py +5 -0
  25. samsara/attributes/types/get_attributes_by_entity_type_request_entity_type.py +5 -0
  26. samsara/attributes/types/update_attribute_request_attribute_type.py +3 -1
  27. samsara/beta_ap_is/__init__.py +70 -0
  28. samsara/beta_ap_is/client.py +7119 -0
  29. samsara/beta_ap_is/raw_client.py +16518 -0
  30. samsara/beta_ap_is/types/__init__.py +70 -0
  31. samsara/beta_ap_is/types/functions_start_function_run_request_body_params_override.py +21 -0
  32. samsara/beta_ap_is/types/get_assets_inputs_request_type.py +27 -0
  33. samsara/beta_ap_is/types/get_driver_efficiency_request_driver_activation_status.py +5 -0
  34. samsara/beta_ap_is/types/get_hos_eld_events_request_driver_activation_status.py +5 -0
  35. samsara/beta_ap_is/types/get_jobs_request_status.py +5 -0
  36. samsara/beta_ap_is/types/get_qualification_records_stream_request_entity_type.py +5 -0
  37. samsara/beta_ap_is/types/get_qualification_types_request_entity_type.py +5 -0
  38. samsara/beta_ap_is/types/get_tag_group_safety_scores_request_score_type.py +5 -0
  39. samsara/beta_ap_is/types/get_tag_safety_scores_request_score_type.py +5 -0
  40. samsara/beta_ap_is/types/get_trips_request_completion_status.py +5 -0
  41. samsara/beta_ap_is/types/get_trips_request_query_by.py +5 -0
  42. samsara/carrier_proposed_assignments/client.py +38 -39
  43. samsara/carrier_proposed_assignments/raw_client.py +23 -61
  44. samsara/client.py +950 -152
  45. samsara/coaching/__init__.py +0 -3
  46. samsara/coaching/client.py +442 -8
  47. samsara/coaching/raw_client.py +1043 -0
  48. samsara/contacts/client.py +48 -51
  49. samsara/contacts/raw_client.py +29 -61
  50. samsara/core/__init__.py +76 -21
  51. samsara/core/client_wrapper.py +20 -10
  52. samsara/core/force_multipart.py +4 -2
  53. samsara/core/http_response.py +1 -1
  54. samsara/core/pagination.py +1 -1
  55. samsara/core/pydantic_utilities.py +7 -4
  56. samsara/documents/__init__.py +29 -3
  57. samsara/documents/client.py +294 -44
  58. samsara/documents/raw_client.py +503 -53
  59. samsara/documents/types/__init__.py +30 -1
  60. samsara/driver_qr_codes/client.py +306 -0
  61. samsara/driver_qr_codes/raw_client.py +928 -0
  62. samsara/driver_vehicle_assignments/__init__.py +32 -2
  63. samsara/driver_vehicle_assignments/client.py +47 -35
  64. samsara/driver_vehicle_assignments/raw_client.py +19 -19
  65. samsara/driver_vehicle_assignments/types/__init__.py +33 -3
  66. samsara/driver_vehicle_assignments/types/get_driver_vehicle_assignments_request_assignment_type.py +10 -0
  67. samsara/driver_vehicle_assignments/types/get_driver_vehicle_assignments_request_filter_by.py +5 -0
  68. samsara/drivers/__init__.py +38 -11
  69. samsara/drivers/client.py +139 -20
  70. samsara/drivers/raw_client.py +111 -6
  71. samsara/drivers/types/__init__.py +36 -4
  72. samsara/equipment/__init__.py +39 -7
  73. samsara/equipment/client.py +1001 -62
  74. samsara/equipment/raw_client.py +1010 -70
  75. samsara/equipment/types/__init__.py +44 -0
  76. samsara/equipment/types/get_equipment_stats_feed_request_types_item.py +19 -0
  77. samsara/equipment/types/get_equipment_stats_history_request_types_item.py +19 -0
  78. samsara/equipment/types/get_equipment_stats_request_types_item.py +19 -0
  79. samsara/errors/__init__.py +46 -9
  80. samsara/fleet/__init__.py +34 -0
  81. samsara/fleet/attributes/client.py +101 -0
  82. samsara/fleet/attributes/raw_client.py +74 -0
  83. samsara/fleet/client.py +63 -0
  84. samsara/fleet/raw_client.py +13 -0
  85. samsara/forms/__init__.py +30 -0
  86. samsara/forms/client.py +815 -2
  87. samsara/forms/raw_client.py +2091 -15
  88. samsara/forms/types/__init__.py +38 -0
  89. samsara/fuel_and_energy/__init__.py +46 -0
  90. samsara/fuel_and_energy/client.py +960 -0
  91. samsara/fuel_and_energy/raw_client.py +1925 -0
  92. samsara/fuel_and_energy/types/__init__.py +48 -0
  93. samsara/fuel_and_energy/types/fuel_purchase_post_fuel_purchase_request_body_fuel_grade.py +7 -0
  94. samsara/fuel_and_energy/types/get_fuel_energy_vehicle_reports_request_energy_type.py +5 -0
  95. samsara/gateways/client.py +29 -35
  96. samsara/gateways/raw_client.py +14 -45
  97. samsara/hours_of_service/__init__.py +34 -0
  98. samsara/hours_of_service/client.py +1002 -0
  99. samsara/hours_of_service/raw_client.py +1381 -0
  100. samsara/hours_of_service/types/__init__.py +36 -0
  101. samsara/hours_of_service/types/get_hos_daily_logs_request_driver_activation_status.py +5 -0
  102. samsara/hubs/client.py +1073 -0
  103. samsara/hubs/raw_client.py +2106 -0
  104. samsara/idling/__init__.py +29 -2
  105. samsara/idling/client.py +36 -30
  106. samsara/idling/raw_client.py +18 -72
  107. samsara/idling/types/__init__.py +29 -2
  108. samsara/idling/types/get_idling_events_request_pto_state.py +5 -0
  109. samsara/ifta/__init__.py +50 -2
  110. samsara/ifta/client.py +634 -3
  111. samsara/ifta/raw_client.py +1432 -0
  112. samsara/ifta/types/__init__.py +53 -0
  113. samsara/ifta/types/get_ifta_jurisdiction_reports_request_fuel_type.py +25 -0
  114. samsara/ifta/types/get_ifta_jurisdiction_reports_request_month.py +21 -0
  115. samsara/ifta/types/get_ifta_jurisdiction_reports_request_quarter.py +5 -0
  116. samsara/ifta/types/get_ifta_vehicle_reports_request_fuel_type.py +25 -0
  117. samsara/ifta/types/get_ifta_vehicle_reports_request_month.py +21 -0
  118. samsara/ifta/types/get_ifta_vehicle_reports_request_quarter.py +5 -0
  119. samsara/industrial/client.py +2167 -0
  120. samsara/industrial/raw_client.py +2463 -0
  121. samsara/issues/__init__.py +28 -1
  122. samsara/issues/client.py +39 -35
  123. samsara/issues/raw_client.py +24 -53
  124. samsara/issues/types/__init__.py +30 -1
  125. samsara/legacy/client.py +21 -93
  126. samsara/legacy/raw_client.py +25 -302
  127. samsara/legacy_ap_is/__init__.py +34 -0
  128. samsara/legacy_ap_is/client.py +879 -0
  129. samsara/legacy_ap_is/raw_client.py +1433 -0
  130. samsara/legacy_ap_is/types/__init__.py +38 -0
  131. samsara/legacy_ap_is/types/get_drivers_vehicle_assignments_request_driver_activation_status.py +7 -0
  132. samsara/live_sharing_links/__init__.py +37 -0
  133. samsara/live_sharing_links/client.py +548 -0
  134. samsara/live_sharing_links/raw_client.py +1389 -0
  135. samsara/live_sharing_links/types/__init__.py +40 -0
  136. samsara/live_sharing_links/types/get_live_sharing_links_request_type.py +7 -0
  137. samsara/location_and_speed/client.py +236 -0
  138. samsara/location_and_speed/raw_client.py +414 -0
  139. samsara/maintenance/__init__.py +30 -20
  140. samsara/maintenance/client.py +1198 -8
  141. samsara/maintenance/raw_client.py +2249 -0
  142. samsara/maintenance/types/__init__.py +34 -0
  143. samsara/media/__init__.py +52 -0
  144. samsara/media/client.py +500 -0
  145. samsara/media/raw_client.py +1082 -0
  146. samsara/media/types/__init__.py +54 -0
  147. samsara/media/types/list_uploaded_media_request_inputs_item.py +7 -0
  148. samsara/media/types/list_uploaded_media_request_media_types_item.py +5 -0
  149. samsara/media/types/list_uploaded_media_request_trigger_reasons_item.py +17 -0
  150. samsara/media/types/media_retrieval_post_media_retrieval_request_body_inputs_item.py +7 -0
  151. samsara/messages/client.py +272 -0
  152. samsara/messages/raw_client.py +273 -0
  153. samsara/organization_info/client.py +112 -0
  154. samsara/organization_info/raw_client.py +101 -0
  155. samsara/plans/client.py +312 -0
  156. samsara/plans/raw_client.py +700 -0
  157. samsara/preview_ap_is/client.py +367 -0
  158. samsara/preview_ap_is/raw_client.py +956 -0
  159. samsara/routes/__init__.py +0 -3
  160. samsara/routes/client.py +459 -50
  161. samsara/routes/raw_client.py +913 -140
  162. samsara/safety/client.py +662 -0
  163. samsara/safety/raw_client.py +869 -0
  164. samsara/sensors/__init__.py +34 -0
  165. samsara/sensors/client.py +680 -0
  166. samsara/sensors/raw_client.py +746 -0
  167. samsara/sensors/types/__init__.py +34 -0
  168. samsara/sensors/types/inline_object_6_fill_missing.py +5 -0
  169. samsara/settings/__init__.py +0 -3
  170. samsara/settings/client.py +579 -13
  171. samsara/settings/raw_client.py +1655 -0
  172. samsara/speeding_intervals/__init__.py +29 -2
  173. samsara/speeding_intervals/client.py +20 -28
  174. samsara/speeding_intervals/raw_client.py +16 -58
  175. samsara/speeding_intervals/types/__init__.py +31 -2
  176. samsara/speeding_intervals/types/get_speeding_intervals_request_query_by.py +5 -0
  177. samsara/tachograph_eu_only/client.py +494 -0
  178. samsara/tachograph_eu_only/raw_client.py +475 -0
  179. samsara/tags/client.py +53 -58
  180. samsara/tags/raw_client.py +29 -63
  181. samsara/trailer_assignments/client.py +331 -0
  182. samsara/trailer_assignments/raw_client.py +313 -0
  183. samsara/trailers/client.py +47 -47
  184. samsara/trailers/raw_client.py +18 -53
  185. samsara/trips/__init__.py +0 -3
  186. samsara/trips/client.py +55 -111
  187. samsara/trips/raw_client.py +58 -349
  188. samsara/types/__init__.py +10931 -1834
  189. samsara/types/address.py +5 -5
  190. samsara/types/address_address_types_item.py +9 -1
  191. samsara/types/address_external_ids.py +21 -0
  192. samsara/types/advanced_idling_get_idling_events_bad_gateway_error_response_body.py +33 -0
  193. samsara/types/advanced_idling_get_idling_events_gateway_timeout_error_response_body.py +33 -0
  194. samsara/types/advanced_idling_get_idling_events_internal_server_error_response_body.py +33 -0
  195. samsara/types/advanced_idling_get_idling_events_method_not_allowed_error_response_body.py +33 -0
  196. samsara/types/advanced_idling_get_idling_events_not_found_error_response_body.py +33 -0
  197. samsara/types/advanced_idling_get_idling_events_not_implemented_error_response_body.py +33 -0
  198. samsara/types/advanced_idling_get_idling_events_service_unavailable_error_response_body.py +33 -0
  199. samsara/types/advanced_idling_get_idling_events_too_many_requests_error_response_body.py +33 -0
  200. samsara/types/advanced_idling_get_idling_events_unauthorized_error_response_body.py +33 -0
  201. samsara/types/aemp_equipment_get_aemp_equipment_list_bad_gateway_error_response_body.py +33 -0
  202. samsara/types/aemp_equipment_get_aemp_equipment_list_gateway_timeout_error_response_body.py +33 -0
  203. samsara/types/aemp_equipment_get_aemp_equipment_list_internal_server_error_response_body.py +33 -0
  204. samsara/types/aemp_equipment_get_aemp_equipment_list_method_not_allowed_error_response_body.py +33 -0
  205. samsara/types/aemp_equipment_get_aemp_equipment_list_not_found_error_response_body.py +33 -0
  206. samsara/types/aemp_equipment_get_aemp_equipment_list_not_implemented_error_response_body.py +33 -0
  207. samsara/types/aemp_equipment_get_aemp_equipment_list_response_body.py +22 -0
  208. samsara/types/aemp_equipment_get_aemp_equipment_list_service_unavailable_error_response_body.py +33 -0
  209. samsara/types/aemp_equipment_get_aemp_equipment_list_too_many_requests_error_response_body.py +33 -0
  210. samsara/types/aemp_equipment_get_aemp_equipment_list_unauthorized_error_response_body.py +33 -0
  211. samsara/types/aemp_equipment_with_additional_fields_response_body.py +48 -0
  212. samsara/types/aemp_fleet_list_response_body.py +49 -0
  213. samsara/types/aemp_link_response_body.py +31 -0
  214. samsara/types/alerts_delete_configurations_bad_gateway_error_response_body.py +33 -0
  215. samsara/types/alerts_delete_configurations_gateway_timeout_error_response_body.py +33 -0
  216. samsara/types/alerts_delete_configurations_internal_server_error_response_body.py +33 -0
  217. samsara/types/alerts_delete_configurations_method_not_allowed_error_response_body.py +33 -0
  218. samsara/types/alerts_delete_configurations_not_found_error_response_body.py +33 -0
  219. samsara/types/alerts_delete_configurations_not_implemented_error_response_body.py +33 -0
  220. samsara/types/alerts_delete_configurations_service_unavailable_error_response_body.py +33 -0
  221. samsara/types/alerts_delete_configurations_too_many_requests_error_response_body.py +33 -0
  222. samsara/types/alerts_delete_configurations_unauthorized_error_response_body.py +33 -0
  223. samsara/types/alerts_get_configurations_bad_gateway_error_response_body.py +33 -0
  224. samsara/types/alerts_get_configurations_gateway_timeout_error_response_body.py +33 -0
  225. samsara/types/alerts_get_configurations_internal_server_error_response_body.py +33 -0
  226. samsara/types/alerts_get_configurations_method_not_allowed_error_response_body.py +33 -0
  227. samsara/types/alerts_get_configurations_not_found_error_response_body.py +33 -0
  228. samsara/types/alerts_get_configurations_not_implemented_error_response_body.py +33 -0
  229. samsara/types/alerts_get_configurations_service_unavailable_error_response_body.py +33 -0
  230. samsara/types/alerts_get_configurations_too_many_requests_error_response_body.py +33 -0
  231. samsara/types/alerts_get_configurations_unauthorized_error_response_body.py +33 -0
  232. samsara/types/alerts_get_incidents_bad_gateway_error_response_body.py +33 -0
  233. samsara/types/alerts_get_incidents_gateway_timeout_error_response_body.py +33 -0
  234. samsara/types/alerts_get_incidents_internal_server_error_response_body.py +33 -0
  235. samsara/types/alerts_get_incidents_method_not_allowed_error_response_body.py +33 -0
  236. samsara/types/alerts_get_incidents_not_found_error_response_body.py +33 -0
  237. samsara/types/alerts_get_incidents_not_implemented_error_response_body.py +33 -0
  238. samsara/types/alerts_get_incidents_service_unavailable_error_response_body.py +33 -0
  239. samsara/types/alerts_get_incidents_too_many_requests_error_response_body.py +33 -0
  240. samsara/types/alerts_get_incidents_unauthorized_error_response_body.py +33 -0
  241. samsara/types/alerts_patch_configurations_bad_gateway_error_response_body.py +33 -0
  242. samsara/types/alerts_patch_configurations_gateway_timeout_error_response_body.py +33 -0
  243. samsara/types/alerts_patch_configurations_internal_server_error_response_body.py +33 -0
  244. samsara/types/alerts_patch_configurations_method_not_allowed_error_response_body.py +33 -0
  245. samsara/types/alerts_patch_configurations_not_found_error_response_body.py +33 -0
  246. samsara/types/alerts_patch_configurations_not_implemented_error_response_body.py +33 -0
  247. samsara/types/alerts_patch_configurations_service_unavailable_error_response_body.py +33 -0
  248. samsara/types/alerts_patch_configurations_too_many_requests_error_response_body.py +33 -0
  249. samsara/types/alerts_patch_configurations_unauthorized_error_response_body.py +33 -0
  250. samsara/types/alerts_post_configurations_bad_gateway_error_response_body.py +33 -0
  251. samsara/types/alerts_post_configurations_gateway_timeout_error_response_body.py +33 -0
  252. samsara/types/alerts_post_configurations_internal_server_error_response_body.py +33 -0
  253. samsara/types/alerts_post_configurations_method_not_allowed_error_response_body.py +33 -0
  254. samsara/types/alerts_post_configurations_not_found_error_response_body.py +33 -0
  255. samsara/types/alerts_post_configurations_not_implemented_error_response_body.py +33 -0
  256. samsara/types/alerts_post_configurations_service_unavailable_error_response_body.py +33 -0
  257. samsara/types/alerts_post_configurations_too_many_requests_error_response_body.py +33 -0
  258. samsara/types/alerts_post_configurations_unauthorized_error_response_body.py +33 -0
  259. samsara/types/anticipation_brake_event_count.py +3 -0
  260. samsara/types/appointment_window_request_body.py +34 -0
  261. samsara/types/appointment_window_response_body.py +34 -0
  262. samsara/types/asset_data_input.py +45 -0
  263. samsara/types/asset_data_input_last_point.py +28 -0
  264. samsara/types/asset_data_output.py +45 -0
  265. samsara/types/asset_data_outputs_patch_asset_data_outputs_bad_gateway_error_response_body.py +33 -0
  266. samsara/types/asset_data_outputs_patch_asset_data_outputs_gateway_timeout_error_response_body.py +33 -0
  267. samsara/types/asset_data_outputs_patch_asset_data_outputs_internal_server_error_response_body.py +33 -0
  268. samsara/types/asset_data_outputs_patch_asset_data_outputs_method_not_allowed_error_response_body.py +33 -0
  269. samsara/types/asset_data_outputs_patch_asset_data_outputs_not_found_error_response_body.py +33 -0
  270. samsara/types/asset_data_outputs_patch_asset_data_outputs_not_implemented_error_response_body.py +33 -0
  271. samsara/types/asset_data_outputs_patch_asset_data_outputs_response_body.py +23 -0
  272. samsara/types/asset_data_outputs_patch_asset_data_outputs_service_unavailable_error_response_body.py +33 -0
  273. samsara/types/asset_data_outputs_patch_asset_data_outputs_too_many_requests_error_response_body.py +33 -0
  274. samsara/types/asset_data_outputs_patch_asset_data_outputs_unauthorized_error_response_body.py +33 -0
  275. samsara/types/asset_location.py +35 -0
  276. samsara/types/asset_name.py +3 -0
  277. samsara/types/asset_response.py +71 -0
  278. samsara/types/asset_response_body.py +7 -0
  279. samsara/types/asset_response_location_data_input.py +26 -0
  280. samsara/types/asset_response_parent_asset.py +26 -0
  281. samsara/types/asset_response_running_status_data_input.py +26 -0
  282. samsara/types/assets_create_asset_bad_gateway_error_response_body.py +33 -0
  283. samsara/types/assets_create_asset_gateway_timeout_error_response_body.py +33 -0
  284. samsara/types/assets_create_asset_internal_server_error_response_body.py +33 -0
  285. samsara/types/assets_create_asset_method_not_allowed_error_response_body.py +33 -0
  286. samsara/types/assets_create_asset_not_found_error_response_body.py +33 -0
  287. samsara/types/assets_create_asset_not_implemented_error_response_body.py +33 -0
  288. samsara/types/assets_create_asset_service_unavailable_error_response_body.py +33 -0
  289. samsara/types/assets_create_asset_too_many_requests_error_response_body.py +33 -0
  290. samsara/types/assets_create_asset_unauthorized_error_response_body.py +33 -0
  291. samsara/types/assets_delete_asset_bad_gateway_error_response_body.py +33 -0
  292. samsara/types/assets_delete_asset_gateway_timeout_error_response_body.py +33 -0
  293. samsara/types/assets_delete_asset_internal_server_error_response_body.py +33 -0
  294. samsara/types/assets_delete_asset_method_not_allowed_error_response_body.py +33 -0
  295. samsara/types/assets_delete_asset_not_found_error_response_body.py +33 -0
  296. samsara/types/assets_delete_asset_not_implemented_error_response_body.py +33 -0
  297. samsara/types/assets_delete_asset_service_unavailable_error_response_body.py +33 -0
  298. samsara/types/assets_delete_asset_too_many_requests_error_response_body.py +33 -0
  299. samsara/types/assets_delete_asset_unauthorized_error_response_body.py +33 -0
  300. samsara/types/assets_inputs_get_assets_inputs_bad_gateway_error_response_body.py +33 -0
  301. samsara/types/assets_inputs_get_assets_inputs_gateway_timeout_error_response_body.py +33 -0
  302. samsara/types/assets_inputs_get_assets_inputs_internal_server_error_response_body.py +33 -0
  303. samsara/types/assets_inputs_get_assets_inputs_method_not_allowed_error_response_body.py +33 -0
  304. samsara/types/assets_inputs_get_assets_inputs_not_found_error_response_body.py +33 -0
  305. samsara/types/assets_inputs_get_assets_inputs_not_implemented_error_response_body.py +33 -0
  306. samsara/types/assets_inputs_get_assets_inputs_service_unavailable_error_response_body.py +33 -0
  307. samsara/types/assets_inputs_get_assets_inputs_too_many_requests_error_response_body.py +33 -0
  308. samsara/types/assets_inputs_get_assets_inputs_unauthorized_error_response_body.py +33 -0
  309. samsara/types/assets_list_assets_bad_gateway_error_response_body.py +33 -0
  310. samsara/types/assets_list_assets_gateway_timeout_error_response_body.py +33 -0
  311. samsara/types/assets_list_assets_internal_server_error_response_body.py +33 -0
  312. samsara/types/assets_list_assets_method_not_allowed_error_response_body.py +33 -0
  313. samsara/types/assets_list_assets_not_found_error_response_body.py +33 -0
  314. samsara/types/assets_list_assets_not_implemented_error_response_body.py +33 -0
  315. samsara/types/assets_list_assets_service_unavailable_error_response_body.py +33 -0
  316. samsara/types/assets_list_assets_too_many_requests_error_response_body.py +33 -0
  317. samsara/types/assets_list_assets_unauthorized_error_response_body.py +33 -0
  318. samsara/types/assets_location_link_request_config_object.py +39 -0
  319. samsara/types/assets_location_link_response_config_object_response_body.py +40 -0
  320. samsara/types/assets_update_asset_bad_gateway_error_response_body.py +33 -0
  321. samsara/types/assets_update_asset_gateway_timeout_error_response_body.py +33 -0
  322. samsara/types/assets_update_asset_internal_server_error_response_body.py +33 -0
  323. samsara/types/assets_update_asset_method_not_allowed_error_response_body.py +33 -0
  324. samsara/types/assets_update_asset_not_found_error_response_body.py +33 -0
  325. samsara/types/assets_update_asset_not_implemented_error_response_body.py +33 -0
  326. samsara/types/assets_update_asset_service_unavailable_error_response_body.py +33 -0
  327. samsara/types/assets_update_asset_too_many_requests_error_response_body.py +33 -0
  328. samsara/types/assets_update_asset_unauthorized_error_response_body.py +33 -0
  329. samsara/types/attribute.py +10 -12
  330. samsara/types/attribute_attribute_type.py +3 -1
  331. samsara/types/attribute_entity.py +3 -3
  332. samsara/types/attribute_unit.py +42 -0
  333. samsara/types/base_route_response_object_response_body.py +7 -0
  334. samsara/types/coaching_sessions_get_coaching_sessions_bad_gateway_error_response_body.py +33 -0
  335. samsara/types/coaching_sessions_get_coaching_sessions_gateway_timeout_error_response_body.py +33 -0
  336. samsara/types/coaching_sessions_get_coaching_sessions_internal_server_error_response_body.py +33 -0
  337. samsara/types/coaching_sessions_get_coaching_sessions_method_not_allowed_error_response_body.py +33 -0
  338. samsara/types/coaching_sessions_get_coaching_sessions_not_found_error_response_body.py +33 -0
  339. samsara/types/coaching_sessions_get_coaching_sessions_not_implemented_error_response_body.py +33 -0
  340. samsara/types/coaching_sessions_get_coaching_sessions_service_unavailable_error_response_body.py +33 -0
  341. samsara/types/coaching_sessions_get_coaching_sessions_too_many_requests_error_response_body.py +33 -0
  342. samsara/types/coaching_sessions_get_coaching_sessions_unauthorized_error_response_body.py +33 -0
  343. samsara/types/coasting_duration_ms.py +3 -0
  344. samsara/types/continuous_reading_alert_threshold_response_body.py +1 -1
  345. samsara/types/continuous_reading_alert_threshold_response_body_unit.py +15 -0
  346. samsara/types/create_driver_auth_token_response_response_body.py +33 -0
  347. samsara/types/cruise_control_duration_ms.py +3 -0
  348. samsara/types/cumulative_operating_hours_response_body.py +35 -0
  349. samsara/types/custom_metadata.py +5 -0
  350. samsara/types/data_input_list_response.py +26 -0
  351. samsara/types/data_input_response.py +19 -0
  352. samsara/types/data_input_response_all_of.py +59 -0
  353. samsara/types/data_input_snapshot.py +19 -0
  354. samsara/types/data_input_snapshot_all_of.py +40 -0
  355. samsara/types/data_input_snapshot_response.py +26 -0
  356. samsara/types/data_input_tiny_response.py +52 -0
  357. samsara/types/data_inputs_tiny_response.py +26 -0
  358. samsara/types/def_remaining_response_body.py +35 -0
  359. samsara/types/detection_log_asset_object_response_body.py +43 -0
  360. samsara/types/detection_log_detection_object_response_body.py +65 -0
  361. samsara/types/detection_log_detection_object_response_body_trigger_detection_label.py +33 -0
  362. samsara/types/detection_log_driver_object_response_body.py +52 -0
  363. samsara/types/detection_log_get_detections_bad_gateway_error_response_body.py +33 -0
  364. samsara/types/detection_log_get_detections_gateway_timeout_error_response_body.py +33 -0
  365. samsara/types/detection_log_get_detections_internal_server_error_response_body.py +33 -0
  366. samsara/types/detection_log_get_detections_method_not_allowed_error_response_body.py +33 -0
  367. samsara/types/detection_log_get_detections_not_found_error_response_body.py +33 -0
  368. samsara/types/detection_log_get_detections_not_implemented_error_response_body.py +33 -0
  369. samsara/types/detection_log_get_detections_response_body.py +26 -0
  370. samsara/types/detection_log_get_detections_service_unavailable_error_response_body.py +33 -0
  371. samsara/types/detection_log_get_detections_too_many_requests_error_response_body.py +33 -0
  372. samsara/types/detection_log_get_detections_unauthorized_error_response_body.py +33 -0
  373. samsara/types/detection_log_safety_event_object_response_body.py +39 -0
  374. samsara/types/detection_log_safety_event_object_response_body_inbox_filter_reason.py +21 -0
  375. samsara/types/device_response_response_body.py +1 -1
  376. samsara/types/device_response_response_body_model.py +5 -0
  377. samsara/types/devices_get_devices_bad_gateway_error_response_body.py +33 -0
  378. samsara/types/devices_get_devices_gateway_timeout_error_response_body.py +33 -0
  379. samsara/types/devices_get_devices_internal_server_error_response_body.py +33 -0
  380. samsara/types/devices_get_devices_method_not_allowed_error_response_body.py +33 -0
  381. samsara/types/devices_get_devices_not_found_error_response_body.py +33 -0
  382. samsara/types/devices_get_devices_not_implemented_error_response_body.py +33 -0
  383. samsara/types/devices_get_devices_service_unavailable_error_response_body.py +33 -0
  384. samsara/types/devices_get_devices_too_many_requests_error_response_body.py +33 -0
  385. samsara/types/devices_get_devices_unauthorized_error_response_body.py +33 -0
  386. samsara/types/distance_driven_meters.py +3 -0
  387. samsara/types/distance_response_body.py +42 -0
  388. samsara/types/document_types_get_document_types_bad_gateway_error_response_body.py +33 -0
  389. samsara/types/document_types_get_document_types_gateway_timeout_error_response_body.py +33 -0
  390. samsara/types/document_types_get_document_types_internal_server_error_response_body.py +33 -0
  391. samsara/types/document_types_get_document_types_method_not_allowed_error_response_body.py +33 -0
  392. samsara/types/document_types_get_document_types_not_found_error_response_body.py +33 -0
  393. samsara/types/document_types_get_document_types_not_implemented_error_response_body.py +33 -0
  394. samsara/types/document_types_get_document_types_service_unavailable_error_response_body.py +33 -0
  395. samsara/types/document_types_get_document_types_too_many_requests_error_response_body.py +33 -0
  396. samsara/types/document_types_get_document_types_unauthorized_error_response_body.py +33 -0
  397. samsara/types/documents_delete_document_bad_gateway_error_response_body.py +33 -0
  398. samsara/types/documents_delete_document_gateway_timeout_error_response_body.py +33 -0
  399. samsara/types/documents_delete_document_internal_server_error_response_body.py +33 -0
  400. samsara/types/documents_delete_document_method_not_allowed_error_response_body.py +33 -0
  401. samsara/types/documents_delete_document_not_found_error_response_body.py +33 -0
  402. samsara/types/documents_delete_document_not_implemented_error_response_body.py +33 -0
  403. samsara/types/documents_delete_document_service_unavailable_error_response_body.py +33 -0
  404. samsara/types/documents_delete_document_too_many_requests_error_response_body.py +33 -0
  405. samsara/types/documents_delete_document_unauthorized_error_response_body.py +33 -0
  406. samsara/types/documents_get_document_bad_gateway_error_response_body.py +33 -0
  407. samsara/types/documents_get_document_gateway_timeout_error_response_body.py +33 -0
  408. samsara/types/documents_get_document_internal_server_error_response_body.py +33 -0
  409. samsara/types/documents_get_document_method_not_allowed_error_response_body.py +33 -0
  410. samsara/types/documents_get_document_not_found_error_response_body.py +33 -0
  411. samsara/types/documents_get_document_not_implemented_error_response_body.py +33 -0
  412. samsara/types/documents_get_document_service_unavailable_error_response_body.py +33 -0
  413. samsara/types/documents_get_document_too_many_requests_error_response_body.py +33 -0
  414. samsara/types/documents_get_document_unauthorized_error_response_body.py +33 -0
  415. samsara/types/documents_get_documents_bad_gateway_error_response_body.py +33 -0
  416. samsara/types/documents_get_documents_gateway_timeout_error_response_body.py +33 -0
  417. samsara/types/documents_get_documents_internal_server_error_response_body.py +33 -0
  418. samsara/types/documents_get_documents_method_not_allowed_error_response_body.py +33 -0
  419. samsara/types/documents_get_documents_not_found_error_response_body.py +33 -0
  420. samsara/types/documents_get_documents_not_implemented_error_response_body.py +33 -0
  421. samsara/types/documents_get_documents_service_unavailable_error_response_body.py +33 -0
  422. samsara/types/documents_get_documents_too_many_requests_error_response_body.py +33 -0
  423. samsara/types/documents_get_documents_unauthorized_error_response_body.py +33 -0
  424. samsara/types/documents_post_document_bad_gateway_error_response_body.py +33 -0
  425. samsara/types/documents_post_document_gateway_timeout_error_response_body.py +33 -0
  426. samsara/types/documents_post_document_internal_server_error_response_body.py +33 -0
  427. samsara/types/documents_post_document_method_not_allowed_error_response_body.py +33 -0
  428. samsara/types/documents_post_document_not_found_error_response_body.py +33 -0
  429. samsara/types/documents_post_document_not_implemented_error_response_body.py +33 -0
  430. samsara/types/documents_post_document_service_unavailable_error_response_body.py +33 -0
  431. samsara/types/documents_post_document_too_many_requests_error_response_body.py +33 -0
  432. samsara/types/documents_post_document_unauthorized_error_response_body.py +33 -0
  433. samsara/types/drive_time_duration_ms.py +3 -0
  434. samsara/types/driver.py +8 -0
  435. samsara/types/driver_app_sign_in_response_body.py +6 -0
  436. samsara/types/driver_coach_assignments_get_driver_coach_assignment_bad_gateway_error_response_body.py +33 -0
  437. samsara/types/driver_coach_assignments_get_driver_coach_assignment_gateway_timeout_error_response_body.py +33 -0
  438. samsara/types/driver_coach_assignments_get_driver_coach_assignment_internal_server_error_response_body.py +33 -0
  439. samsara/types/driver_coach_assignments_get_driver_coach_assignment_method_not_allowed_error_response_body.py +33 -0
  440. samsara/types/driver_coach_assignments_get_driver_coach_assignment_not_found_error_response_body.py +33 -0
  441. samsara/types/driver_coach_assignments_get_driver_coach_assignment_not_implemented_error_response_body.py +33 -0
  442. samsara/types/driver_coach_assignments_get_driver_coach_assignment_service_unavailable_error_response_body.py +33 -0
  443. samsara/types/driver_coach_assignments_get_driver_coach_assignment_too_many_requests_error_response_body.py +33 -0
  444. samsara/types/driver_coach_assignments_get_driver_coach_assignment_unauthorized_error_response_body.py +33 -0
  445. samsara/types/driver_coach_assignments_put_driver_coach_assignment_bad_gateway_error_response_body.py +33 -0
  446. samsara/types/driver_coach_assignments_put_driver_coach_assignment_gateway_timeout_error_response_body.py +33 -0
  447. samsara/types/driver_coach_assignments_put_driver_coach_assignment_internal_server_error_response_body.py +33 -0
  448. samsara/types/driver_coach_assignments_put_driver_coach_assignment_method_not_allowed_error_response_body.py +33 -0
  449. samsara/types/driver_coach_assignments_put_driver_coach_assignment_not_found_error_response_body.py +33 -0
  450. samsara/types/driver_coach_assignments_put_driver_coach_assignment_not_implemented_error_response_body.py +33 -0
  451. samsara/types/driver_coach_assignments_put_driver_coach_assignment_service_unavailable_error_response_body.py +33 -0
  452. samsara/types/driver_coach_assignments_put_driver_coach_assignment_too_many_requests_error_response_body.py +33 -0
  453. samsara/types/driver_coach_assignments_put_driver_coach_assignment_unauthorized_error_response_body.py +33 -0
  454. samsara/types/driver_efficiencies_response.py +26 -0
  455. samsara/types/driver_efficiencies_response_data.py +42 -0
  456. samsara/types/driver_efficiency.py +79 -0
  457. samsara/types/driver_efficiency_data_object_response_body.py +84 -0
  458. samsara/types/driver_efficiency_difficulty_score_data_object_response_body.py +44 -0
  459. samsara/types/driver_efficiency_get_driver_efficiency_by_drivers_bad_gateway_error_response_body.py +33 -0
  460. samsara/types/driver_efficiency_get_driver_efficiency_by_drivers_gateway_timeout_error_response_body.py +33 -0
  461. samsara/types/driver_efficiency_get_driver_efficiency_by_drivers_internal_server_error_response_body.py +33 -0
  462. samsara/types/driver_efficiency_get_driver_efficiency_by_drivers_method_not_allowed_error_response_body.py +33 -0
  463. samsara/types/driver_efficiency_get_driver_efficiency_by_drivers_not_found_error_response_body.py +33 -0
  464. samsara/types/driver_efficiency_get_driver_efficiency_by_drivers_not_implemented_error_response_body.py +33 -0
  465. samsara/types/driver_efficiency_get_driver_efficiency_by_drivers_response_body.py +28 -0
  466. samsara/types/driver_efficiency_get_driver_efficiency_by_drivers_service_unavailable_error_response_body.py +33 -0
  467. samsara/types/driver_efficiency_get_driver_efficiency_by_drivers_too_many_requests_error_response_body.py +33 -0
  468. samsara/types/driver_efficiency_get_driver_efficiency_by_drivers_unauthorized_error_response_body.py +33 -0
  469. samsara/types/driver_efficiency_get_driver_efficiency_by_vehicles_bad_gateway_error_response_body.py +33 -0
  470. samsara/types/driver_efficiency_get_driver_efficiency_by_vehicles_gateway_timeout_error_response_body.py +33 -0
  471. samsara/types/driver_efficiency_get_driver_efficiency_by_vehicles_internal_server_error_response_body.py +33 -0
  472. samsara/types/driver_efficiency_get_driver_efficiency_by_vehicles_method_not_allowed_error_response_body.py +33 -0
  473. samsara/types/driver_efficiency_get_driver_efficiency_by_vehicles_not_found_error_response_body.py +33 -0
  474. samsara/types/driver_efficiency_get_driver_efficiency_by_vehicles_not_implemented_error_response_body.py +33 -0
  475. samsara/types/driver_efficiency_get_driver_efficiency_by_vehicles_response_body.py +28 -0
  476. samsara/types/driver_efficiency_get_driver_efficiency_by_vehicles_service_unavailable_error_response_body.py +33 -0
  477. samsara/types/driver_efficiency_get_driver_efficiency_by_vehicles_too_many_requests_error_response_body.py +33 -0
  478. samsara/types/driver_efficiency_get_driver_efficiency_by_vehicles_unauthorized_error_response_body.py +33 -0
  479. samsara/types/driver_efficiency_percentage_data_object_response_body.py +84 -0
  480. samsara/types/driver_efficiency_raw_data_object_response_body.py +119 -0
  481. samsara/types/driver_has_vehicle_unpinning_enabled.py +3 -0
  482. samsara/types/driver_profile_image_base_64.py +3 -0
  483. samsara/types/driver_profile_image_url.py +3 -0
  484. samsara/types/driver_qr_codes_create_driver_qr_code_bad_gateway_error_response_body.py +33 -0
  485. samsara/types/driver_qr_codes_create_driver_qr_code_gateway_timeout_error_response_body.py +33 -0
  486. samsara/types/driver_qr_codes_create_driver_qr_code_internal_server_error_response_body.py +33 -0
  487. samsara/types/driver_qr_codes_create_driver_qr_code_method_not_allowed_error_response_body.py +33 -0
  488. samsara/types/driver_qr_codes_create_driver_qr_code_not_found_error_response_body.py +33 -0
  489. samsara/types/driver_qr_codes_create_driver_qr_code_not_implemented_error_response_body.py +33 -0
  490. samsara/types/driver_qr_codes_create_driver_qr_code_service_unavailable_error_response_body.py +33 -0
  491. samsara/types/driver_qr_codes_create_driver_qr_code_too_many_requests_error_response_body.py +33 -0
  492. samsara/types/driver_qr_codes_create_driver_qr_code_unauthorized_error_response_body.py +33 -0
  493. samsara/types/driver_qr_codes_delete_driver_qr_code_bad_gateway_error_response_body.py +33 -0
  494. samsara/types/driver_qr_codes_delete_driver_qr_code_gateway_timeout_error_response_body.py +33 -0
  495. samsara/types/driver_qr_codes_delete_driver_qr_code_internal_server_error_response_body.py +33 -0
  496. samsara/types/driver_qr_codes_delete_driver_qr_code_method_not_allowed_error_response_body.py +33 -0
  497. samsara/types/driver_qr_codes_delete_driver_qr_code_not_found_error_response_body.py +33 -0
  498. samsara/types/driver_qr_codes_delete_driver_qr_code_not_implemented_error_response_body.py +33 -0
  499. samsara/types/driver_qr_codes_delete_driver_qr_code_service_unavailable_error_response_body.py +33 -0
  500. samsara/types/driver_qr_codes_delete_driver_qr_code_too_many_requests_error_response_body.py +33 -0
  501. samsara/types/driver_qr_codes_delete_driver_qr_code_unauthorized_error_response_body.py +33 -0
  502. samsara/types/driver_qr_codes_get_drivers_qr_codes_bad_gateway_error_response_body.py +33 -0
  503. samsara/types/driver_qr_codes_get_drivers_qr_codes_gateway_timeout_error_response_body.py +33 -0
  504. samsara/types/driver_qr_codes_get_drivers_qr_codes_internal_server_error_response_body.py +33 -0
  505. samsara/types/driver_qr_codes_get_drivers_qr_codes_method_not_allowed_error_response_body.py +33 -0
  506. samsara/types/driver_qr_codes_get_drivers_qr_codes_not_found_error_response_body.py +33 -0
  507. samsara/types/driver_qr_codes_get_drivers_qr_codes_not_implemented_error_response_body.py +33 -0
  508. samsara/types/driver_qr_codes_get_drivers_qr_codes_service_unavailable_error_response_body.py +33 -0
  509. samsara/types/driver_qr_codes_get_drivers_qr_codes_too_many_requests_error_response_body.py +33 -0
  510. samsara/types/driver_qr_codes_get_drivers_qr_codes_unauthorized_error_response_body.py +33 -0
  511. samsara/types/driver_remote_signout_post_driver_remote_signout_bad_gateway_error_response_body.py +33 -0
  512. samsara/types/driver_remote_signout_post_driver_remote_signout_gateway_timeout_error_response_body.py +33 -0
  513. samsara/types/driver_remote_signout_post_driver_remote_signout_internal_server_error_response_body.py +33 -0
  514. samsara/types/driver_remote_signout_post_driver_remote_signout_method_not_allowed_error_response_body.py +33 -0
  515. samsara/types/driver_remote_signout_post_driver_remote_signout_not_found_error_response_body.py +33 -0
  516. samsara/types/driver_remote_signout_post_driver_remote_signout_not_implemented_error_response_body.py +33 -0
  517. samsara/types/driver_remote_signout_post_driver_remote_signout_service_unavailable_error_response_body.py +33 -0
  518. samsara/types/driver_remote_signout_post_driver_remote_signout_too_many_requests_error_response_body.py +33 -0
  519. samsara/types/driver_remote_signout_post_driver_remote_signout_unauthorized_error_response_body.py +33 -0
  520. samsara/types/driver_safety_score_response_body.py +59 -0
  521. samsara/types/driver_vehicle_assignments_v_2_create_driver_vehicle_assignment_bad_gateway_error_response_body.py +33 -0
  522. samsara/types/driver_vehicle_assignments_v_2_create_driver_vehicle_assignment_gateway_timeout_error_response_body.py +33 -0
  523. samsara/types/driver_vehicle_assignments_v_2_create_driver_vehicle_assignment_internal_server_error_response_body.py +33 -0
  524. samsara/types/driver_vehicle_assignments_v_2_create_driver_vehicle_assignment_method_not_allowed_error_response_body.py +33 -0
  525. samsara/types/driver_vehicle_assignments_v_2_create_driver_vehicle_assignment_not_found_error_response_body.py +33 -0
  526. samsara/types/driver_vehicle_assignments_v_2_create_driver_vehicle_assignment_not_implemented_error_response_body.py +33 -0
  527. samsara/types/driver_vehicle_assignments_v_2_create_driver_vehicle_assignment_service_unavailable_error_response_body.py +33 -0
  528. samsara/types/driver_vehicle_assignments_v_2_create_driver_vehicle_assignment_too_many_requests_error_response_body.py +33 -0
  529. samsara/types/driver_vehicle_assignments_v_2_create_driver_vehicle_assignment_unauthorized_error_response_body.py +33 -0
  530. samsara/types/driver_vehicle_assignments_v_2_delete_driver_vehicle_assignments_bad_gateway_error_response_body.py +33 -0
  531. samsara/types/driver_vehicle_assignments_v_2_delete_driver_vehicle_assignments_gateway_timeout_error_response_body.py +33 -0
  532. samsara/types/driver_vehicle_assignments_v_2_delete_driver_vehicle_assignments_internal_server_error_response_body.py +33 -0
  533. samsara/types/driver_vehicle_assignments_v_2_delete_driver_vehicle_assignments_method_not_allowed_error_response_body.py +33 -0
  534. samsara/types/driver_vehicle_assignments_v_2_delete_driver_vehicle_assignments_not_found_error_response_body.py +33 -0
  535. samsara/types/driver_vehicle_assignments_v_2_delete_driver_vehicle_assignments_not_implemented_error_response_body.py +33 -0
  536. samsara/types/driver_vehicle_assignments_v_2_delete_driver_vehicle_assignments_service_unavailable_error_response_body.py +33 -0
  537. samsara/types/driver_vehicle_assignments_v_2_delete_driver_vehicle_assignments_too_many_requests_error_response_body.py +33 -0
  538. samsara/types/driver_vehicle_assignments_v_2_delete_driver_vehicle_assignments_unauthorized_error_response_body.py +33 -0
  539. samsara/types/driver_vehicle_assignments_v_2_get_driver_vehicle_assignments_bad_gateway_error_response_body.py +33 -0
  540. samsara/types/driver_vehicle_assignments_v_2_get_driver_vehicle_assignments_gateway_timeout_error_response_body.py +33 -0
  541. samsara/types/driver_vehicle_assignments_v_2_get_driver_vehicle_assignments_internal_server_error_response_body.py +33 -0
  542. samsara/types/driver_vehicle_assignments_v_2_get_driver_vehicle_assignments_method_not_allowed_error_response_body.py +33 -0
  543. samsara/types/driver_vehicle_assignments_v_2_get_driver_vehicle_assignments_not_found_error_response_body.py +33 -0
  544. samsara/types/driver_vehicle_assignments_v_2_get_driver_vehicle_assignments_not_implemented_error_response_body.py +33 -0
  545. samsara/types/driver_vehicle_assignments_v_2_get_driver_vehicle_assignments_service_unavailable_error_response_body.py +33 -0
  546. samsara/types/driver_vehicle_assignments_v_2_get_driver_vehicle_assignments_too_many_requests_error_response_body.py +33 -0
  547. samsara/types/driver_vehicle_assignments_v_2_get_driver_vehicle_assignments_unauthorized_error_response_body.py +33 -0
  548. samsara/types/driver_vehicle_assignments_v_2_update_driver_vehicle_assignment_bad_gateway_error_response_body.py +33 -0
  549. samsara/types/driver_vehicle_assignments_v_2_update_driver_vehicle_assignment_gateway_timeout_error_response_body.py +33 -0
  550. samsara/types/driver_vehicle_assignments_v_2_update_driver_vehicle_assignment_internal_server_error_response_body.py +33 -0
  551. samsara/types/driver_vehicle_assignments_v_2_update_driver_vehicle_assignment_method_not_allowed_error_response_body.py +33 -0
  552. samsara/types/driver_vehicle_assignments_v_2_update_driver_vehicle_assignment_not_found_error_response_body.py +33 -0
  553. samsara/types/driver_vehicle_assignments_v_2_update_driver_vehicle_assignment_not_implemented_error_response_body.py +33 -0
  554. samsara/types/driver_vehicle_assignments_v_2_update_driver_vehicle_assignment_service_unavailable_error_response_body.py +33 -0
  555. samsara/types/driver_vehicle_assignments_v_2_update_driver_vehicle_assignment_too_many_requests_error_response_body.py +33 -0
  556. samsara/types/driver_vehicle_assignments_v_2_update_driver_vehicle_assignment_unauthorized_error_response_body.py +33 -0
  557. samsara/types/drivers_auth_token_create_driver_auth_token_bad_gateway_error_response_body.py +33 -0
  558. samsara/types/drivers_auth_token_create_driver_auth_token_gateway_timeout_error_response_body.py +33 -0
  559. samsara/types/drivers_auth_token_create_driver_auth_token_internal_server_error_response_body.py +33 -0
  560. samsara/types/drivers_auth_token_create_driver_auth_token_method_not_allowed_error_response_body.py +33 -0
  561. samsara/types/drivers_auth_token_create_driver_auth_token_not_found_error_response_body.py +33 -0
  562. samsara/types/drivers_auth_token_create_driver_auth_token_not_implemented_error_response_body.py +33 -0
  563. samsara/types/drivers_auth_token_create_driver_auth_token_response_body.py +20 -0
  564. samsara/types/drivers_auth_token_create_driver_auth_token_service_unavailable_error_response_body.py +33 -0
  565. samsara/types/drivers_auth_token_create_driver_auth_token_too_many_requests_error_response_body.py +33 -0
  566. samsara/types/drivers_auth_token_create_driver_auth_token_unauthorized_error_response_body.py +33 -0
  567. samsara/types/drivers_vehicle_assignments_get_drivers_vehicle_assignments_bad_gateway_error_response_body.py +33 -0
  568. samsara/types/drivers_vehicle_assignments_get_drivers_vehicle_assignments_gateway_timeout_error_response_body.py +33 -0
  569. samsara/types/drivers_vehicle_assignments_get_drivers_vehicle_assignments_internal_server_error_response_body.py +33 -0
  570. samsara/types/drivers_vehicle_assignments_get_drivers_vehicle_assignments_method_not_allowed_error_response_body.py +33 -0
  571. samsara/types/drivers_vehicle_assignments_get_drivers_vehicle_assignments_not_found_error_response_body.py +33 -0
  572. samsara/types/drivers_vehicle_assignments_get_drivers_vehicle_assignments_not_implemented_error_response_body.py +33 -0
  573. samsara/types/drivers_vehicle_assignments_get_drivers_vehicle_assignments_service_unavailable_error_response_body.py +33 -0
  574. samsara/types/drivers_vehicle_assignments_get_drivers_vehicle_assignments_too_many_requests_error_response_body.py +33 -0
  575. samsara/types/drivers_vehicle_assignments_get_drivers_vehicle_assignments_unauthorized_error_response_body.py +33 -0
  576. samsara/types/dvir_defect_get_defect_bad_gateway_error_response_body.py +33 -0
  577. samsara/types/dvir_defect_get_defect_gateway_timeout_error_response_body.py +33 -0
  578. samsara/types/dvir_defect_get_defect_internal_server_error_response_body.py +33 -0
  579. samsara/types/dvir_defect_get_defect_method_not_allowed_error_response_body.py +33 -0
  580. samsara/types/dvir_defect_get_defect_not_found_error_response_body.py +33 -0
  581. samsara/types/dvir_defect_get_defect_not_implemented_error_response_body.py +33 -0
  582. samsara/types/dvir_defect_get_defect_service_unavailable_error_response_body.py +33 -0
  583. samsara/types/dvir_defect_get_defect_too_many_requests_error_response_body.py +33 -0
  584. samsara/types/dvir_defect_get_defect_unauthorized_error_response_body.py +33 -0
  585. samsara/types/dvir_defect_stream_defects_bad_gateway_error_response_body.py +33 -0
  586. samsara/types/dvir_defect_stream_defects_gateway_timeout_error_response_body.py +33 -0
  587. samsara/types/dvir_defect_stream_defects_internal_server_error_response_body.py +33 -0
  588. samsara/types/dvir_defect_stream_defects_method_not_allowed_error_response_body.py +33 -0
  589. samsara/types/dvir_defect_stream_defects_not_found_error_response_body.py +33 -0
  590. samsara/types/dvir_defect_stream_defects_not_implemented_error_response_body.py +33 -0
  591. samsara/types/dvir_defect_stream_defects_service_unavailable_error_response_body.py +33 -0
  592. samsara/types/dvir_defect_stream_defects_too_many_requests_error_response_body.py +33 -0
  593. samsara/types/dvir_defect_stream_defects_unauthorized_error_response_body.py +33 -0
  594. samsara/types/dvir_defect_type_get_defect_types_bad_gateway_error_response_body.py +33 -0
  595. samsara/types/dvir_defect_type_get_defect_types_gateway_timeout_error_response_body.py +33 -0
  596. samsara/types/dvir_defect_type_get_defect_types_internal_server_error_response_body.py +33 -0
  597. samsara/types/dvir_defect_type_get_defect_types_method_not_allowed_error_response_body.py +33 -0
  598. samsara/types/dvir_defect_type_get_defect_types_not_found_error_response_body.py +33 -0
  599. samsara/types/dvir_defect_type_get_defect_types_not_implemented_error_response_body.py +33 -0
  600. samsara/types/dvir_defect_type_get_defect_types_service_unavailable_error_response_body.py +33 -0
  601. samsara/types/dvir_defect_type_get_defect_types_too_many_requests_error_response_body.py +33 -0
  602. samsara/types/dvir_defect_type_get_defect_types_unauthorized_error_response_body.py +33 -0
  603. samsara/types/dvir_get_dvir_bad_gateway_error_response_body.py +33 -0
  604. samsara/types/dvir_get_dvir_gateway_timeout_error_response_body.py +33 -0
  605. samsara/types/dvir_get_dvir_internal_server_error_response_body.py +33 -0
  606. samsara/types/dvir_get_dvir_method_not_allowed_error_response_body.py +33 -0
  607. samsara/types/dvir_get_dvir_not_found_error_response_body.py +33 -0
  608. samsara/types/dvir_get_dvir_not_implemented_error_response_body.py +33 -0
  609. samsara/types/dvir_get_dvir_service_unavailable_error_response_body.py +33 -0
  610. samsara/types/dvir_get_dvir_too_many_requests_error_response_body.py +33 -0
  611. samsara/types/dvir_get_dvir_unauthorized_error_response_body.py +33 -0
  612. samsara/types/dvir_get_dvirs_bad_gateway_error_response_body.py +33 -0
  613. samsara/types/dvir_get_dvirs_gateway_timeout_error_response_body.py +33 -0
  614. samsara/types/dvir_get_dvirs_internal_server_error_response_body.py +33 -0
  615. samsara/types/dvir_get_dvirs_method_not_allowed_error_response_body.py +33 -0
  616. samsara/types/dvir_get_dvirs_not_found_error_response_body.py +33 -0
  617. samsara/types/dvir_get_dvirs_not_implemented_error_response_body.py +33 -0
  618. samsara/types/dvir_get_dvirs_service_unavailable_error_response_body.py +33 -0
  619. samsara/types/dvir_get_dvirs_too_many_requests_error_response_body.py +33 -0
  620. samsara/types/dvir_get_dvirs_unauthorized_error_response_body.py +33 -0
  621. samsara/types/engine_immobilizer_get_engine_immobilizer_states_bad_gateway_error_response_body.py +33 -0
  622. samsara/types/engine_immobilizer_get_engine_immobilizer_states_gateway_timeout_error_response_body.py +33 -0
  623. samsara/types/engine_immobilizer_get_engine_immobilizer_states_internal_server_error_response_body.py +33 -0
  624. samsara/types/engine_immobilizer_get_engine_immobilizer_states_method_not_allowed_error_response_body.py +33 -0
  625. samsara/types/engine_immobilizer_get_engine_immobilizer_states_not_found_error_response_body.py +33 -0
  626. samsara/types/engine_immobilizer_get_engine_immobilizer_states_not_implemented_error_response_body.py +33 -0
  627. samsara/types/engine_immobilizer_get_engine_immobilizer_states_service_unavailable_error_response_body.py +33 -0
  628. samsara/types/engine_immobilizer_get_engine_immobilizer_states_too_many_requests_error_response_body.py +33 -0
  629. samsara/types/engine_immobilizer_get_engine_immobilizer_states_unauthorized_error_response_body.py +33 -0
  630. samsara/types/engine_immobilizer_update_engine_immobilizer_state_bad_gateway_error_response_body.py +33 -0
  631. samsara/types/engine_immobilizer_update_engine_immobilizer_state_gateway_timeout_error_response_body.py +33 -0
  632. samsara/types/engine_immobilizer_update_engine_immobilizer_state_internal_server_error_response_body.py +33 -0
  633. samsara/types/engine_immobilizer_update_engine_immobilizer_state_method_not_allowed_error_response_body.py +33 -0
  634. samsara/types/engine_immobilizer_update_engine_immobilizer_state_not_found_error_response_body.py +33 -0
  635. samsara/types/engine_immobilizer_update_engine_immobilizer_state_not_implemented_error_response_body.py +33 -0
  636. samsara/types/engine_immobilizer_update_engine_immobilizer_state_service_unavailable_error_response_body.py +33 -0
  637. samsara/types/engine_immobilizer_update_engine_immobilizer_state_too_many_requests_error_response_body.py +33 -0
  638. samsara/types/engine_immobilizer_update_engine_immobilizer_state_unauthorized_error_response_body.py +33 -0
  639. samsara/types/engine_status_response_body.py +35 -0
  640. samsara/types/equipment_header_with_additional_fields_response_body.py +63 -0
  641. samsara/types/equipment_patch_equipment_bad_gateway_error_response_body.py +33 -0
  642. samsara/types/equipment_patch_equipment_gateway_timeout_error_response_body.py +33 -0
  643. samsara/types/equipment_patch_equipment_internal_server_error_response_body.py +33 -0
  644. samsara/types/equipment_patch_equipment_method_not_allowed_error_response_body.py +33 -0
  645. samsara/types/equipment_patch_equipment_not_found_error_response_body.py +33 -0
  646. samsara/types/equipment_patch_equipment_not_implemented_error_response_body.py +33 -0
  647. samsara/types/equipment_patch_equipment_response_body.py +20 -0
  648. samsara/types/equipment_patch_equipment_service_unavailable_error_response_body.py +33 -0
  649. samsara/types/equipment_patch_equipment_too_many_requests_error_response_body.py +33 -0
  650. samsara/types/equipment_patch_equipment_unauthorized_error_response_body.py +33 -0
  651. samsara/types/equipment_with_attributes_response_object_response_body.py +68 -0
  652. samsara/types/extended_driver_tiny_response.py +46 -0
  653. samsara/types/extended_driver_tiny_response_external_ids.py +21 -0
  654. samsara/types/fft_spectra_data_point.py +30 -0
  655. samsara/types/fft_spectra_data_point_fft_spectra.py +41 -0
  656. samsara/types/fleet_device_object_response_body.py +31 -0
  657. samsara/types/form_submission_request_media_item_object_request_body.py +33 -0
  658. samsara/types/form_submission_request_media_value_object_request_body.py +31 -0
  659. samsara/types/form_submission_request_signature_value_object_request_body.py +24 -0
  660. samsara/types/form_submissions_get_form_submissions_bad_gateway_error_response_body.py +33 -0
  661. samsara/types/form_submissions_get_form_submissions_gateway_timeout_error_response_body.py +33 -0
  662. samsara/types/form_submissions_get_form_submissions_internal_server_error_response_body.py +33 -0
  663. samsara/types/form_submissions_get_form_submissions_method_not_allowed_error_response_body.py +33 -0
  664. samsara/types/form_submissions_get_form_submissions_not_found_error_response_body.py +33 -0
  665. samsara/types/form_submissions_get_form_submissions_not_implemented_error_response_body.py +33 -0
  666. samsara/types/form_submissions_get_form_submissions_pdf_exports_bad_gateway_error_response_body.py +33 -0
  667. samsara/types/form_submissions_get_form_submissions_pdf_exports_gateway_timeout_error_response_body.py +33 -0
  668. samsara/types/form_submissions_get_form_submissions_pdf_exports_internal_server_error_response_body.py +33 -0
  669. samsara/types/form_submissions_get_form_submissions_pdf_exports_method_not_allowed_error_response_body.py +33 -0
  670. samsara/types/form_submissions_get_form_submissions_pdf_exports_not_found_error_response_body.py +33 -0
  671. samsara/types/form_submissions_get_form_submissions_pdf_exports_not_implemented_error_response_body.py +33 -0
  672. samsara/types/form_submissions_get_form_submissions_pdf_exports_service_unavailable_error_response_body.py +33 -0
  673. samsara/types/form_submissions_get_form_submissions_pdf_exports_too_many_requests_error_response_body.py +33 -0
  674. samsara/types/form_submissions_get_form_submissions_pdf_exports_unauthorized_error_response_body.py +33 -0
  675. samsara/types/form_submissions_get_form_submissions_service_unavailable_error_response_body.py +33 -0
  676. samsara/types/form_submissions_get_form_submissions_stream_bad_gateway_error_response_body.py +33 -0
  677. samsara/types/form_submissions_get_form_submissions_stream_gateway_timeout_error_response_body.py +33 -0
  678. samsara/types/form_submissions_get_form_submissions_stream_internal_server_error_response_body.py +33 -0
  679. samsara/types/form_submissions_get_form_submissions_stream_method_not_allowed_error_response_body.py +33 -0
  680. samsara/types/form_submissions_get_form_submissions_stream_not_found_error_response_body.py +33 -0
  681. samsara/types/form_submissions_get_form_submissions_stream_not_implemented_error_response_body.py +33 -0
  682. samsara/types/form_submissions_get_form_submissions_stream_service_unavailable_error_response_body.py +33 -0
  683. samsara/types/form_submissions_get_form_submissions_stream_too_many_requests_error_response_body.py +33 -0
  684. samsara/types/form_submissions_get_form_submissions_stream_unauthorized_error_response_body.py +33 -0
  685. samsara/types/form_submissions_get_form_submissions_too_many_requests_error_response_body.py +33 -0
  686. samsara/types/form_submissions_get_form_submissions_unauthorized_error_response_body.py +33 -0
  687. samsara/types/form_submissions_patch_form_submission_bad_gateway_error_response_body.py +33 -0
  688. samsara/types/form_submissions_patch_form_submission_gateway_timeout_error_response_body.py +33 -0
  689. samsara/types/form_submissions_patch_form_submission_internal_server_error_response_body.py +33 -0
  690. samsara/types/form_submissions_patch_form_submission_method_not_allowed_error_response_body.py +33 -0
  691. samsara/types/form_submissions_patch_form_submission_not_found_error_response_body.py +33 -0
  692. samsara/types/form_submissions_patch_form_submission_not_implemented_error_response_body.py +33 -0
  693. samsara/types/form_submissions_patch_form_submission_service_unavailable_error_response_body.py +33 -0
  694. samsara/types/form_submissions_patch_form_submission_too_many_requests_error_response_body.py +33 -0
  695. samsara/types/form_submissions_patch_form_submission_unauthorized_error_response_body.py +33 -0
  696. samsara/types/form_submissions_post_form_submission_bad_gateway_error_response_body.py +33 -0
  697. samsara/types/form_submissions_post_form_submission_gateway_timeout_error_response_body.py +33 -0
  698. samsara/types/form_submissions_post_form_submission_internal_server_error_response_body.py +33 -0
  699. samsara/types/form_submissions_post_form_submission_method_not_allowed_error_response_body.py +33 -0
  700. samsara/types/form_submissions_post_form_submission_not_found_error_response_body.py +33 -0
  701. samsara/types/form_submissions_post_form_submission_not_implemented_error_response_body.py +33 -0
  702. samsara/types/form_submissions_post_form_submission_service_unavailable_error_response_body.py +33 -0
  703. samsara/types/form_submissions_post_form_submission_too_many_requests_error_response_body.py +33 -0
  704. samsara/types/form_submissions_post_form_submission_unauthorized_error_response_body.py +33 -0
  705. samsara/types/form_submissions_post_form_submissions_pdf_exports_bad_gateway_error_response_body.py +33 -0
  706. samsara/types/form_submissions_post_form_submissions_pdf_exports_gateway_timeout_error_response_body.py +33 -0
  707. samsara/types/form_submissions_post_form_submissions_pdf_exports_internal_server_error_response_body.py +33 -0
  708. samsara/types/form_submissions_post_form_submissions_pdf_exports_method_not_allowed_error_response_body.py +33 -0
  709. samsara/types/form_submissions_post_form_submissions_pdf_exports_not_found_error_response_body.py +33 -0
  710. samsara/types/form_submissions_post_form_submissions_pdf_exports_not_implemented_error_response_body.py +33 -0
  711. samsara/types/form_submissions_post_form_submissions_pdf_exports_service_unavailable_error_response_body.py +33 -0
  712. samsara/types/form_submissions_post_form_submissions_pdf_exports_too_many_requests_error_response_body.py +33 -0
  713. samsara/types/form_submissions_post_form_submissions_pdf_exports_unauthorized_error_response_body.py +33 -0
  714. samsara/types/form_template_response_object_response_body.py +10 -0
  715. samsara/types/form_template_response_object_response_body_form_category.py +7 -0
  716. samsara/types/form_templates_get_form_templates_bad_gateway_error_response_body.py +33 -0
  717. samsara/types/form_templates_get_form_templates_gateway_timeout_error_response_body.py +33 -0
  718. samsara/types/form_templates_get_form_templates_internal_server_error_response_body.py +33 -0
  719. samsara/types/form_templates_get_form_templates_method_not_allowed_error_response_body.py +33 -0
  720. samsara/types/form_templates_get_form_templates_not_found_error_response_body.py +33 -0
  721. samsara/types/form_templates_get_form_templates_not_implemented_error_response_body.py +33 -0
  722. samsara/types/form_templates_get_form_templates_service_unavailable_error_response_body.py +33 -0
  723. samsara/types/form_templates_get_form_templates_too_many_requests_error_response_body.py +33 -0
  724. samsara/types/form_templates_get_form_templates_unauthorized_error_response_body.py +33 -0
  725. samsara/types/form_updated_response_body.py +24 -0
  726. samsara/types/fuel_consumed_ml.py +3 -0
  727. samsara/types/fuel_energy_get_fuel_energy_driver_reports_bad_gateway_error_response_body.py +33 -0
  728. samsara/types/fuel_energy_get_fuel_energy_driver_reports_gateway_timeout_error_response_body.py +33 -0
  729. samsara/types/fuel_energy_get_fuel_energy_driver_reports_internal_server_error_response_body.py +33 -0
  730. samsara/types/fuel_energy_get_fuel_energy_driver_reports_method_not_allowed_error_response_body.py +33 -0
  731. samsara/types/fuel_energy_get_fuel_energy_driver_reports_not_found_error_response_body.py +33 -0
  732. samsara/types/fuel_energy_get_fuel_energy_driver_reports_not_implemented_error_response_body.py +33 -0
  733. samsara/types/fuel_energy_get_fuel_energy_driver_reports_service_unavailable_error_response_body.py +33 -0
  734. samsara/types/fuel_energy_get_fuel_energy_driver_reports_too_many_requests_error_response_body.py +33 -0
  735. samsara/types/fuel_energy_get_fuel_energy_driver_reports_unauthorized_error_response_body.py +33 -0
  736. samsara/types/fuel_energy_get_fuel_energy_vehicle_reports_bad_gateway_error_response_body.py +33 -0
  737. samsara/types/fuel_energy_get_fuel_energy_vehicle_reports_gateway_timeout_error_response_body.py +33 -0
  738. samsara/types/fuel_energy_get_fuel_energy_vehicle_reports_internal_server_error_response_body.py +33 -0
  739. samsara/types/fuel_energy_get_fuel_energy_vehicle_reports_method_not_allowed_error_response_body.py +33 -0
  740. samsara/types/fuel_energy_get_fuel_energy_vehicle_reports_not_found_error_response_body.py +33 -0
  741. samsara/types/fuel_energy_get_fuel_energy_vehicle_reports_not_implemented_error_response_body.py +33 -0
  742. samsara/types/fuel_energy_get_fuel_energy_vehicle_reports_service_unavailable_error_response_body.py +33 -0
  743. samsara/types/fuel_energy_get_fuel_energy_vehicle_reports_too_many_requests_error_response_body.py +33 -0
  744. samsara/types/fuel_energy_get_fuel_energy_vehicle_reports_unauthorized_error_response_body.py +33 -0
  745. samsara/types/fuel_purchase_post_fuel_purchase_bad_gateway_error_response_body.py +33 -0
  746. samsara/types/fuel_purchase_post_fuel_purchase_gateway_timeout_error_response_body.py +33 -0
  747. samsara/types/fuel_purchase_post_fuel_purchase_internal_server_error_response_body.py +33 -0
  748. samsara/types/fuel_purchase_post_fuel_purchase_method_not_allowed_error_response_body.py +33 -0
  749. samsara/types/fuel_purchase_post_fuel_purchase_not_found_error_response_body.py +33 -0
  750. samsara/types/fuel_purchase_post_fuel_purchase_not_implemented_error_response_body.py +33 -0
  751. samsara/types/fuel_purchase_post_fuel_purchase_service_unavailable_error_response_body.py +33 -0
  752. samsara/types/fuel_purchase_post_fuel_purchase_too_many_requests_error_response_body.py +33 -0
  753. samsara/types/fuel_purchase_post_fuel_purchase_unauthorized_error_response_body.py +33 -0
  754. samsara/types/fuel_remaining_response_body.py +35 -0
  755. samsara/types/functions_start_function_run_bad_gateway_error_response_body.py +33 -0
  756. samsara/types/functions_start_function_run_gateway_timeout_error_response_body.py +33 -0
  757. samsara/types/functions_start_function_run_internal_server_error_response_body.py +33 -0
  758. samsara/types/functions_start_function_run_method_not_allowed_error_response_body.py +33 -0
  759. samsara/types/functions_start_function_run_not_found_error_response_body.py +33 -0
  760. samsara/types/functions_start_function_run_not_implemented_error_response_body.py +33 -0
  761. samsara/types/functions_start_function_run_response_body.py +20 -0
  762. samsara/types/functions_start_function_run_service_unavailable_error_response_body.py +33 -0
  763. samsara/types/functions_start_function_run_too_many_requests_error_response_body.py +33 -0
  764. samsara/types/functions_start_function_run_unauthorized_error_response_body.py +33 -0
  765. samsara/types/gateway_details_response_response_body.py +1 -1
  766. samsara/types/gateway_details_response_response_body_gateway_battery_state.py +3 -1
  767. samsara/types/gateways_delete_gateway_bad_gateway_error_response_body.py +33 -0
  768. samsara/types/gateways_delete_gateway_gateway_timeout_error_response_body.py +33 -0
  769. samsara/types/gateways_delete_gateway_internal_server_error_response_body.py +33 -0
  770. samsara/types/gateways_delete_gateway_method_not_allowed_error_response_body.py +33 -0
  771. samsara/types/gateways_delete_gateway_not_found_error_response_body.py +33 -0
  772. samsara/types/gateways_delete_gateway_not_implemented_error_response_body.py +33 -0
  773. samsara/types/gateways_delete_gateway_service_unavailable_error_response_body.py +33 -0
  774. samsara/types/gateways_delete_gateway_too_many_requests_error_response_body.py +33 -0
  775. samsara/types/gateways_delete_gateway_unauthorized_error_response_body.py +33 -0
  776. samsara/types/gateways_get_gateways_bad_gateway_error_response_body.py +33 -0
  777. samsara/types/gateways_get_gateways_gateway_timeout_error_response_body.py +33 -0
  778. samsara/types/gateways_get_gateways_internal_server_error_response_body.py +33 -0
  779. samsara/types/gateways_get_gateways_method_not_allowed_error_response_body.py +33 -0
  780. samsara/types/gateways_get_gateways_not_found_error_response_body.py +33 -0
  781. samsara/types/gateways_get_gateways_not_implemented_error_response_body.py +33 -0
  782. samsara/types/gateways_get_gateways_service_unavailable_error_response_body.py +33 -0
  783. samsara/types/gateways_get_gateways_too_many_requests_error_response_body.py +33 -0
  784. samsara/types/gateways_get_gateways_unauthorized_error_response_body.py +33 -0
  785. samsara/types/gateways_post_gateway_bad_gateway_error_response_body.py +33 -0
  786. samsara/types/gateways_post_gateway_gateway_timeout_error_response_body.py +33 -0
  787. samsara/types/gateways_post_gateway_internal_server_error_response_body.py +33 -0
  788. samsara/types/gateways_post_gateway_method_not_allowed_error_response_body.py +33 -0
  789. samsara/types/gateways_post_gateway_not_found_error_response_body.py +33 -0
  790. samsara/types/gateways_post_gateway_not_implemented_error_response_body.py +33 -0
  791. samsara/types/gateways_post_gateway_service_unavailable_error_response_body.py +33 -0
  792. samsara/types/gateways_post_gateway_too_many_requests_error_response_body.py +33 -0
  793. samsara/types/gateways_post_gateway_unauthorized_error_response_body.py +33 -0
  794. samsara/types/goa_attribute_tiny.py +47 -0
  795. samsara/types/goa_form_tiny_response_response_body.py +26 -0
  796. samsara/types/goa_issue_tiny_response_response_body.py +26 -0
  797. samsara/types/green_band_driving_duration_ms.py +3 -0
  798. samsara/types/harsh_event_trigger_details_object_request_body_types_item.py +2 -0
  799. samsara/types/harsh_event_trigger_details_object_response_body_types_item.py +2 -0
  800. samsara/types/health_response_response_body.py +11 -1
  801. samsara/types/health_response_response_body_recommended_action.py +10 -0
  802. samsara/types/high_torque_ms.py +3 -0
  803. samsara/types/hos_daily_logs_get_hos_daily_logs_bad_gateway_error_response_body.py +33 -0
  804. samsara/types/hos_daily_logs_get_hos_daily_logs_gateway_timeout_error_response_body.py +33 -0
  805. samsara/types/hos_daily_logs_get_hos_daily_logs_internal_server_error_response_body.py +33 -0
  806. samsara/types/hos_daily_logs_get_hos_daily_logs_method_not_allowed_error_response_body.py +33 -0
  807. samsara/types/hos_daily_logs_get_hos_daily_logs_not_found_error_response_body.py +33 -0
  808. samsara/types/hos_daily_logs_get_hos_daily_logs_not_implemented_error_response_body.py +33 -0
  809. samsara/types/hos_daily_logs_get_hos_daily_logs_service_unavailable_error_response_body.py +33 -0
  810. samsara/types/hos_daily_logs_get_hos_daily_logs_too_many_requests_error_response_body.py +33 -0
  811. samsara/types/hos_daily_logs_get_hos_daily_logs_unauthorized_error_response_body.py +33 -0
  812. samsara/types/hos_daily_logs_update_shipping_docs_bad_gateway_error_response_body.py +33 -0
  813. samsara/types/hos_daily_logs_update_shipping_docs_gateway_timeout_error_response_body.py +33 -0
  814. samsara/types/hos_daily_logs_update_shipping_docs_internal_server_error_response_body.py +33 -0
  815. samsara/types/hos_daily_logs_update_shipping_docs_method_not_allowed_error_response_body.py +33 -0
  816. samsara/types/hos_daily_logs_update_shipping_docs_not_found_error_response_body.py +33 -0
  817. samsara/types/hos_daily_logs_update_shipping_docs_not_implemented_error_response_body.py +33 -0
  818. samsara/types/hos_daily_logs_update_shipping_docs_response_body.py +20 -0
  819. samsara/types/hos_daily_logs_update_shipping_docs_service_unavailable_error_response_body.py +33 -0
  820. samsara/types/hos_daily_logs_update_shipping_docs_too_many_requests_error_response_body.py +33 -0
  821. samsara/types/hos_daily_logs_update_shipping_docs_unauthorized_error_response_body.py +33 -0
  822. samsara/types/hos_drivers_eld_event_object_response_body.py +54 -0
  823. samsara/types/hos_drivers_eld_event_object_response_body_driver_activation_status.py +7 -0
  824. samsara/types/hos_eld_event_location_object_response_body.py +46 -0
  825. samsara/types/hos_eld_event_object_response_body.py +98 -0
  826. samsara/types/hos_eld_event_object_response_body_malfunction_diagnostic_code.py +7 -0
  827. samsara/types/hos_eld_event_remark_object_response_body.py +36 -0
  828. samsara/types/hos_eld_events_get_hos_eld_events_bad_gateway_error_response_body.py +33 -0
  829. samsara/types/hos_eld_events_get_hos_eld_events_gateway_timeout_error_response_body.py +33 -0
  830. samsara/types/hos_eld_events_get_hos_eld_events_internal_server_error_response_body.py +33 -0
  831. samsara/types/hos_eld_events_get_hos_eld_events_method_not_allowed_error_response_body.py +33 -0
  832. samsara/types/hos_eld_events_get_hos_eld_events_not_found_error_response_body.py +33 -0
  833. samsara/types/hos_eld_events_get_hos_eld_events_not_implemented_error_response_body.py +33 -0
  834. samsara/types/hos_eld_events_get_hos_eld_events_response_body.py +26 -0
  835. samsara/types/hos_eld_events_get_hos_eld_events_service_unavailable_error_response_body.py +33 -0
  836. samsara/types/hos_eld_events_get_hos_eld_events_too_many_requests_error_response_body.py +33 -0
  837. samsara/types/hos_eld_events_get_hos_eld_events_unauthorized_error_response_body.py +33 -0
  838. samsara/types/hos_violations_get_hos_violations_bad_gateway_error_response_body.py +33 -0
  839. samsara/types/hos_violations_get_hos_violations_gateway_timeout_error_response_body.py +33 -0
  840. samsara/types/hos_violations_get_hos_violations_internal_server_error_response_body.py +33 -0
  841. samsara/types/hos_violations_get_hos_violations_method_not_allowed_error_response_body.py +33 -0
  842. samsara/types/hos_violations_get_hos_violations_not_found_error_response_body.py +33 -0
  843. samsara/types/hos_violations_get_hos_violations_not_implemented_error_response_body.py +33 -0
  844. samsara/types/hos_violations_get_hos_violations_service_unavailable_error_response_body.py +33 -0
  845. samsara/types/hos_violations_get_hos_violations_too_many_requests_error_response_body.py +33 -0
  846. samsara/types/hos_violations_get_hos_violations_unauthorized_error_response_body.py +33 -0
  847. samsara/types/hub_capacities_list_hub_capacities_bad_gateway_error_response_body.py +33 -0
  848. samsara/types/hub_capacities_list_hub_capacities_gateway_timeout_error_response_body.py +33 -0
  849. samsara/types/hub_capacities_list_hub_capacities_internal_server_error_response_body.py +33 -0
  850. samsara/types/hub_capacities_list_hub_capacities_method_not_allowed_error_response_body.py +33 -0
  851. samsara/types/hub_capacities_list_hub_capacities_not_found_error_response_body.py +33 -0
  852. samsara/types/hub_capacities_list_hub_capacities_not_implemented_error_response_body.py +33 -0
  853. samsara/types/hub_capacities_list_hub_capacities_response_body.py +26 -0
  854. samsara/types/hub_capacities_list_hub_capacities_service_unavailable_error_response_body.py +33 -0
  855. samsara/types/hub_capacities_list_hub_capacities_too_many_requests_error_response_body.py +33 -0
  856. samsara/types/hub_capacities_list_hub_capacities_unauthorized_error_response_body.py +33 -0
  857. samsara/types/hub_capacity_object_response_body.py +54 -0
  858. samsara/types/hub_location_created_object_response_body.py +105 -0
  859. samsara/types/hub_location_input_object_request_body.py +94 -0
  860. samsara/types/hub_location_object_response_body.py +105 -0
  861. samsara/types/hub_location_service_window_input_request_body.py +38 -0
  862. samsara/types/hub_location_updated_object_response_body.py +105 -0
  863. samsara/types/hub_locations_create_hub_locations_bad_gateway_error_response_body.py +33 -0
  864. samsara/types/hub_locations_create_hub_locations_gateway_timeout_error_response_body.py +33 -0
  865. samsara/types/hub_locations_create_hub_locations_internal_server_error_response_body.py +33 -0
  866. samsara/types/hub_locations_create_hub_locations_method_not_allowed_error_response_body.py +33 -0
  867. samsara/types/hub_locations_create_hub_locations_not_found_error_response_body.py +33 -0
  868. samsara/types/hub_locations_create_hub_locations_not_implemented_error_response_body.py +33 -0
  869. samsara/types/hub_locations_create_hub_locations_response_body.py +23 -0
  870. samsara/types/hub_locations_create_hub_locations_service_unavailable_error_response_body.py +33 -0
  871. samsara/types/hub_locations_create_hub_locations_too_many_requests_error_response_body.py +33 -0
  872. samsara/types/hub_locations_create_hub_locations_unauthorized_error_response_body.py +33 -0
  873. samsara/types/hub_locations_list_hub_locations_bad_gateway_error_response_body.py +33 -0
  874. samsara/types/hub_locations_list_hub_locations_gateway_timeout_error_response_body.py +33 -0
  875. samsara/types/hub_locations_list_hub_locations_internal_server_error_response_body.py +33 -0
  876. samsara/types/hub_locations_list_hub_locations_method_not_allowed_error_response_body.py +33 -0
  877. samsara/types/hub_locations_list_hub_locations_not_found_error_response_body.py +33 -0
  878. samsara/types/hub_locations_list_hub_locations_not_implemented_error_response_body.py +33 -0
  879. samsara/types/hub_locations_list_hub_locations_response_body.py +26 -0
  880. samsara/types/hub_locations_list_hub_locations_service_unavailable_error_response_body.py +33 -0
  881. samsara/types/hub_locations_list_hub_locations_too_many_requests_error_response_body.py +33 -0
  882. samsara/types/hub_locations_list_hub_locations_unauthorized_error_response_body.py +33 -0
  883. samsara/types/hub_locations_update_hub_location_bad_gateway_error_response_body.py +33 -0
  884. samsara/types/hub_locations_update_hub_location_gateway_timeout_error_response_body.py +33 -0
  885. samsara/types/hub_locations_update_hub_location_internal_server_error_response_body.py +33 -0
  886. samsara/types/hub_locations_update_hub_location_method_not_allowed_error_response_body.py +33 -0
  887. samsara/types/hub_locations_update_hub_location_not_found_error_response_body.py +33 -0
  888. samsara/types/hub_locations_update_hub_location_not_implemented_error_response_body.py +33 -0
  889. samsara/types/hub_locations_update_hub_location_response_body.py +20 -0
  890. samsara/types/hub_locations_update_hub_location_service_unavailable_error_response_body.py +33 -0
  891. samsara/types/hub_locations_update_hub_location_too_many_requests_error_response_body.py +33 -0
  892. samsara/types/hub_locations_update_hub_location_unauthorized_error_response_body.py +33 -0
  893. samsara/types/hub_object_response_body.py +49 -0
  894. samsara/types/hub_plan_routes_list_hub_plan_routes_bad_gateway_error_response_body.py +33 -0
  895. samsara/types/hub_plan_routes_list_hub_plan_routes_gateway_timeout_error_response_body.py +33 -0
  896. samsara/types/hub_plan_routes_list_hub_plan_routes_internal_server_error_response_body.py +33 -0
  897. samsara/types/hub_plan_routes_list_hub_plan_routes_method_not_allowed_error_response_body.py +33 -0
  898. samsara/types/hub_plan_routes_list_hub_plan_routes_not_found_error_response_body.py +33 -0
  899. samsara/types/hub_plan_routes_list_hub_plan_routes_not_implemented_error_response_body.py +33 -0
  900. samsara/types/hub_plan_routes_list_hub_plan_routes_response_body.py +26 -0
  901. samsara/types/hub_plan_routes_list_hub_plan_routes_service_unavailable_error_response_body.py +33 -0
  902. samsara/types/hub_plan_routes_list_hub_plan_routes_too_many_requests_error_response_body.py +33 -0
  903. samsara/types/hub_plan_routes_list_hub_plan_routes_unauthorized_error_response_body.py +33 -0
  904. samsara/types/hub_plans_create_hub_plan_bad_gateway_error_response_body.py +33 -0
  905. samsara/types/hub_plans_create_hub_plan_gateway_timeout_error_response_body.py +33 -0
  906. samsara/types/hub_plans_create_hub_plan_internal_server_error_response_body.py +33 -0
  907. samsara/types/hub_plans_create_hub_plan_method_not_allowed_error_response_body.py +33 -0
  908. samsara/types/hub_plans_create_hub_plan_not_found_error_response_body.py +33 -0
  909. samsara/types/hub_plans_create_hub_plan_not_implemented_error_response_body.py +33 -0
  910. samsara/types/hub_plans_create_hub_plan_response_body.py +20 -0
  911. samsara/types/hub_plans_create_hub_plan_service_unavailable_error_response_body.py +33 -0
  912. samsara/types/hub_plans_create_hub_plan_too_many_requests_error_response_body.py +33 -0
  913. samsara/types/hub_plans_create_hub_plan_unauthorized_error_response_body.py +33 -0
  914. samsara/types/hub_plans_list_hub_plans_bad_gateway_error_response_body.py +33 -0
  915. samsara/types/hub_plans_list_hub_plans_gateway_timeout_error_response_body.py +33 -0
  916. samsara/types/hub_plans_list_hub_plans_internal_server_error_response_body.py +33 -0
  917. samsara/types/hub_plans_list_hub_plans_method_not_allowed_error_response_body.py +33 -0
  918. samsara/types/hub_plans_list_hub_plans_not_found_error_response_body.py +33 -0
  919. samsara/types/hub_plans_list_hub_plans_not_implemented_error_response_body.py +33 -0
  920. samsara/types/hub_plans_list_hub_plans_response_body.py +26 -0
  921. samsara/types/hub_plans_list_hub_plans_service_unavailable_error_response_body.py +33 -0
  922. samsara/types/hub_plans_list_hub_plans_too_many_requests_error_response_body.py +33 -0
  923. samsara/types/hub_plans_list_hub_plans_unauthorized_error_response_body.py +33 -0
  924. samsara/types/hub_skill_object_response_body.py +49 -0
  925. samsara/types/hub_skills_list_hub_skills_bad_gateway_error_response_body.py +33 -0
  926. samsara/types/hub_skills_list_hub_skills_gateway_timeout_error_response_body.py +33 -0
  927. samsara/types/hub_skills_list_hub_skills_internal_server_error_response_body.py +33 -0
  928. samsara/types/hub_skills_list_hub_skills_method_not_allowed_error_response_body.py +33 -0
  929. samsara/types/hub_skills_list_hub_skills_not_found_error_response_body.py +33 -0
  930. samsara/types/hub_skills_list_hub_skills_not_implemented_error_response_body.py +33 -0
  931. samsara/types/hub_skills_list_hub_skills_response_body.py +26 -0
  932. samsara/types/hub_skills_list_hub_skills_service_unavailable_error_response_body.py +33 -0
  933. samsara/types/hub_skills_list_hub_skills_too_many_requests_error_response_body.py +33 -0
  934. samsara/types/hub_skills_list_hub_skills_unauthorized_error_response_body.py +33 -0
  935. samsara/types/hubs_list_hubs_bad_gateway_error_response_body.py +33 -0
  936. samsara/types/hubs_list_hubs_gateway_timeout_error_response_body.py +33 -0
  937. samsara/types/hubs_list_hubs_internal_server_error_response_body.py +33 -0
  938. samsara/types/hubs_list_hubs_method_not_allowed_error_response_body.py +33 -0
  939. samsara/types/hubs_list_hubs_not_found_error_response_body.py +33 -0
  940. samsara/types/hubs_list_hubs_not_implemented_error_response_body.py +33 -0
  941. samsara/types/hubs_list_hubs_response_body.py +26 -0
  942. samsara/types/hubs_list_hubs_service_unavailable_error_response_body.py +33 -0
  943. samsara/types/hubs_list_hubs_too_many_requests_error_response_body.py +33 -0
  944. samsara/types/hubs_list_hubs_unauthorized_error_response_body.py +33 -0
  945. samsara/types/idle_time_duration_ms.py +3 -0
  946. samsara/types/idling_event_object_response_body.py +1 -1
  947. samsara/types/idling_event_object_response_body_address_type.py +2 -0
  948. samsara/types/idling_reports_get_vehicle_idling_reports_bad_gateway_error_response_body.py +33 -0
  949. samsara/types/idling_reports_get_vehicle_idling_reports_gateway_timeout_error_response_body.py +33 -0
  950. samsara/types/idling_reports_get_vehicle_idling_reports_internal_server_error_response_body.py +33 -0
  951. samsara/types/idling_reports_get_vehicle_idling_reports_method_not_allowed_error_response_body.py +33 -0
  952. samsara/types/idling_reports_get_vehicle_idling_reports_not_found_error_response_body.py +33 -0
  953. samsara/types/idling_reports_get_vehicle_idling_reports_not_implemented_error_response_body.py +33 -0
  954. samsara/types/idling_reports_get_vehicle_idling_reports_service_unavailable_error_response_body.py +33 -0
  955. samsara/types/idling_reports_get_vehicle_idling_reports_too_many_requests_error_response_body.py +33 -0
  956. samsara/types/idling_reports_get_vehicle_idling_reports_unauthorized_error_response_body.py +33 -0
  957. samsara/types/ifta_create_ifta_detail_job_bad_gateway_error_response_body.py +33 -0
  958. samsara/types/ifta_create_ifta_detail_job_gateway_timeout_error_response_body.py +33 -0
  959. samsara/types/ifta_create_ifta_detail_job_internal_server_error_response_body.py +33 -0
  960. samsara/types/ifta_create_ifta_detail_job_method_not_allowed_error_response_body.py +33 -0
  961. samsara/types/ifta_create_ifta_detail_job_not_found_error_response_body.py +33 -0
  962. samsara/types/ifta_create_ifta_detail_job_not_implemented_error_response_body.py +33 -0
  963. samsara/types/ifta_create_ifta_detail_job_service_unavailable_error_response_body.py +33 -0
  964. samsara/types/ifta_create_ifta_detail_job_too_many_requests_error_response_body.py +33 -0
  965. samsara/types/ifta_create_ifta_detail_job_unauthorized_error_response_body.py +33 -0
  966. samsara/types/ifta_get_ifta_detail_job_bad_gateway_error_response_body.py +33 -0
  967. samsara/types/ifta_get_ifta_detail_job_gateway_timeout_error_response_body.py +33 -0
  968. samsara/types/ifta_get_ifta_detail_job_internal_server_error_response_body.py +33 -0
  969. samsara/types/ifta_get_ifta_detail_job_method_not_allowed_error_response_body.py +33 -0
  970. samsara/types/ifta_get_ifta_detail_job_not_found_error_response_body.py +33 -0
  971. samsara/types/ifta_get_ifta_detail_job_not_implemented_error_response_body.py +33 -0
  972. samsara/types/ifta_get_ifta_detail_job_service_unavailable_error_response_body.py +33 -0
  973. samsara/types/ifta_get_ifta_detail_job_too_many_requests_error_response_body.py +33 -0
  974. samsara/types/ifta_get_ifta_detail_job_unauthorized_error_response_body.py +33 -0
  975. samsara/types/ifta_get_ifta_jurisdiction_reports_bad_gateway_error_response_body.py +33 -0
  976. samsara/types/ifta_get_ifta_jurisdiction_reports_gateway_timeout_error_response_body.py +33 -0
  977. samsara/types/ifta_get_ifta_jurisdiction_reports_internal_server_error_response_body.py +33 -0
  978. samsara/types/ifta_get_ifta_jurisdiction_reports_method_not_allowed_error_response_body.py +33 -0
  979. samsara/types/ifta_get_ifta_jurisdiction_reports_not_found_error_response_body.py +33 -0
  980. samsara/types/ifta_get_ifta_jurisdiction_reports_not_implemented_error_response_body.py +33 -0
  981. samsara/types/ifta_get_ifta_jurisdiction_reports_service_unavailable_error_response_body.py +33 -0
  982. samsara/types/ifta_get_ifta_jurisdiction_reports_too_many_requests_error_response_body.py +33 -0
  983. samsara/types/ifta_get_ifta_jurisdiction_reports_unauthorized_error_response_body.py +33 -0
  984. samsara/types/ifta_get_ifta_vehicle_reports_bad_gateway_error_response_body.py +33 -0
  985. samsara/types/ifta_get_ifta_vehicle_reports_gateway_timeout_error_response_body.py +33 -0
  986. samsara/types/ifta_get_ifta_vehicle_reports_internal_server_error_response_body.py +33 -0
  987. samsara/types/ifta_get_ifta_vehicle_reports_method_not_allowed_error_response_body.py +33 -0
  988. samsara/types/ifta_get_ifta_vehicle_reports_not_found_error_response_body.py +33 -0
  989. samsara/types/ifta_get_ifta_vehicle_reports_not_implemented_error_response_body.py +33 -0
  990. samsara/types/ifta_get_ifta_vehicle_reports_service_unavailable_error_response_body.py +33 -0
  991. samsara/types/ifta_get_ifta_vehicle_reports_too_many_requests_error_response_body.py +33 -0
  992. samsara/types/ifta_get_ifta_vehicle_reports_unauthorized_error_response_body.py +33 -0
  993. samsara/types/industrial_asset_object_response_body.py +31 -0
  994. samsara/types/inline_response_200.py +20 -0
  995. samsara/types/inline_response_2001.py +20 -0
  996. samsara/types/inline_response_2002.py +22 -0
  997. samsara/types/inline_response_2003.py +22 -0
  998. samsara/types/inline_response_2004.py +20 -0
  999. samsara/types/inline_response_2007.py +22 -0
  1000. samsara/types/inline_response_2008.py +20 -0
  1001. samsara/types/inline_response_2009.py +20 -0
  1002. samsara/types/issues_get_issues_bad_gateway_error_response_body.py +33 -0
  1003. samsara/types/issues_get_issues_gateway_timeout_error_response_body.py +33 -0
  1004. samsara/types/issues_get_issues_internal_server_error_response_body.py +33 -0
  1005. samsara/types/issues_get_issues_method_not_allowed_error_response_body.py +33 -0
  1006. samsara/types/issues_get_issues_not_found_error_response_body.py +33 -0
  1007. samsara/types/issues_get_issues_not_implemented_error_response_body.py +33 -0
  1008. samsara/types/issues_get_issues_service_unavailable_error_response_body.py +33 -0
  1009. samsara/types/issues_get_issues_stream_bad_gateway_error_response_body.py +33 -0
  1010. samsara/types/issues_get_issues_stream_gateway_timeout_error_response_body.py +33 -0
  1011. samsara/types/issues_get_issues_stream_internal_server_error_response_body.py +33 -0
  1012. samsara/types/issues_get_issues_stream_method_not_allowed_error_response_body.py +33 -0
  1013. samsara/types/issues_get_issues_stream_not_found_error_response_body.py +33 -0
  1014. samsara/types/issues_get_issues_stream_not_implemented_error_response_body.py +33 -0
  1015. samsara/types/issues_get_issues_stream_service_unavailable_error_response_body.py +33 -0
  1016. samsara/types/issues_get_issues_stream_too_many_requests_error_response_body.py +33 -0
  1017. samsara/types/issues_get_issues_stream_unauthorized_error_response_body.py +33 -0
  1018. samsara/types/issues_get_issues_too_many_requests_error_response_body.py +33 -0
  1019. samsara/types/issues_get_issues_unauthorized_error_response_body.py +33 -0
  1020. samsara/types/issues_patch_issue_bad_gateway_error_response_body.py +33 -0
  1021. samsara/types/issues_patch_issue_gateway_timeout_error_response_body.py +33 -0
  1022. samsara/types/issues_patch_issue_internal_server_error_response_body.py +33 -0
  1023. samsara/types/issues_patch_issue_method_not_allowed_error_response_body.py +33 -0
  1024. samsara/types/issues_patch_issue_not_found_error_response_body.py +33 -0
  1025. samsara/types/issues_patch_issue_not_implemented_error_response_body.py +33 -0
  1026. samsara/types/issues_patch_issue_service_unavailable_error_response_body.py +33 -0
  1027. samsara/types/issues_patch_issue_too_many_requests_error_response_body.py +33 -0
  1028. samsara/types/issues_patch_issue_unauthorized_error_response_body.py +33 -0
  1029. samsara/types/j_1939_d_1_status_data_point.py +29 -0
  1030. samsara/types/j_1939_d_1_status_data_point_value.py +34 -0
  1031. samsara/types/job_location_response_object_response_body.py +41 -0
  1032. samsara/types/job_response_object_response_body.py +106 -0
  1033. samsara/types/job_response_object_response_body_status.py +5 -0
  1034. samsara/types/jobs_create_job_bad_gateway_error_response_body.py +33 -0
  1035. samsara/types/jobs_create_job_gateway_timeout_error_response_body.py +33 -0
  1036. samsara/types/jobs_create_job_internal_server_error_response_body.py +33 -0
  1037. samsara/types/jobs_create_job_method_not_allowed_error_response_body.py +33 -0
  1038. samsara/types/jobs_create_job_not_found_error_response_body.py +33 -0
  1039. samsara/types/jobs_create_job_not_implemented_error_response_body.py +33 -0
  1040. samsara/types/jobs_create_job_response_body.py +31 -0
  1041. samsara/types/jobs_create_job_service_unavailable_error_response_body.py +33 -0
  1042. samsara/types/jobs_create_job_too_many_requests_error_response_body.py +33 -0
  1043. samsara/types/jobs_create_job_unauthorized_error_response_body.py +33 -0
  1044. samsara/types/jobs_delete_job_bad_gateway_error_response_body.py +33 -0
  1045. samsara/types/jobs_delete_job_gateway_timeout_error_response_body.py +33 -0
  1046. samsara/types/jobs_delete_job_internal_server_error_response_body.py +33 -0
  1047. samsara/types/jobs_delete_job_method_not_allowed_error_response_body.py +33 -0
  1048. samsara/types/jobs_delete_job_not_found_error_response_body.py +33 -0
  1049. samsara/types/jobs_delete_job_not_implemented_error_response_body.py +33 -0
  1050. samsara/types/jobs_delete_job_response_body.py +29 -0
  1051. samsara/types/jobs_delete_job_service_unavailable_error_response_body.py +33 -0
  1052. samsara/types/jobs_delete_job_too_many_requests_error_response_body.py +33 -0
  1053. samsara/types/jobs_delete_job_unauthorized_error_response_body.py +33 -0
  1054. samsara/types/jobs_get_jobs_bad_gateway_error_response_body.py +33 -0
  1055. samsara/types/jobs_get_jobs_gateway_timeout_error_response_body.py +33 -0
  1056. samsara/types/jobs_get_jobs_internal_server_error_response_body.py +33 -0
  1057. samsara/types/jobs_get_jobs_method_not_allowed_error_response_body.py +33 -0
  1058. samsara/types/jobs_get_jobs_not_found_error_response_body.py +33 -0
  1059. samsara/types/jobs_get_jobs_not_implemented_error_response_body.py +33 -0
  1060. samsara/types/jobs_get_jobs_response_body.py +37 -0
  1061. samsara/types/jobs_get_jobs_service_unavailable_error_response_body.py +33 -0
  1062. samsara/types/jobs_get_jobs_too_many_requests_error_response_body.py +33 -0
  1063. samsara/types/jobs_get_jobs_unauthorized_error_response_body.py +33 -0
  1064. samsara/types/jobs_patch_job_bad_gateway_error_response_body.py +33 -0
  1065. samsara/types/jobs_patch_job_gateway_timeout_error_response_body.py +33 -0
  1066. samsara/types/jobs_patch_job_internal_server_error_response_body.py +33 -0
  1067. samsara/types/jobs_patch_job_method_not_allowed_error_response_body.py +33 -0
  1068. samsara/types/jobs_patch_job_not_found_error_response_body.py +33 -0
  1069. samsara/types/jobs_patch_job_not_implemented_error_response_body.py +33 -0
  1070. samsara/types/jobs_patch_job_response_body.py +31 -0
  1071. samsara/types/jobs_patch_job_service_unavailable_error_response_body.py +33 -0
  1072. samsara/types/jobs_patch_job_too_many_requests_error_response_body.py +33 -0
  1073. samsara/types/jobs_patch_job_unauthorized_error_response_body.py +33 -0
  1074. samsara/types/latitude.py +3 -0
  1075. samsara/types/list_hub_capacities_response_pagination_response_body.py +35 -0
  1076. samsara/types/list_hub_locations_response_pagination_response_body.py +35 -0
  1077. samsara/types/list_hub_plan_routes_response_pagination_response_body.py +35 -0
  1078. samsara/types/list_hub_plans_response_pagination_response_body.py +35 -0
  1079. samsara/types/list_hub_skills_response_pagination_response_body.py +35 -0
  1080. samsara/types/list_hubs_response_pagination_response_body.py +35 -0
  1081. samsara/types/list_industrial_assets_response.py +22 -0
  1082. samsara/types/live_sharing_link_full_response_object_response_body.py +5 -2
  1083. samsara/types/live_sharing_links_create_live_sharing_link_bad_gateway_error_response_body.py +33 -0
  1084. samsara/types/live_sharing_links_create_live_sharing_link_gateway_timeout_error_response_body.py +33 -0
  1085. samsara/types/live_sharing_links_create_live_sharing_link_internal_server_error_response_body.py +33 -0
  1086. samsara/types/live_sharing_links_create_live_sharing_link_method_not_allowed_error_response_body.py +33 -0
  1087. samsara/types/live_sharing_links_create_live_sharing_link_not_found_error_response_body.py +33 -0
  1088. samsara/types/live_sharing_links_create_live_sharing_link_not_implemented_error_response_body.py +33 -0
  1089. samsara/types/live_sharing_links_create_live_sharing_link_service_unavailable_error_response_body.py +33 -0
  1090. samsara/types/live_sharing_links_create_live_sharing_link_too_many_requests_error_response_body.py +33 -0
  1091. samsara/types/live_sharing_links_create_live_sharing_link_unauthorized_error_response_body.py +33 -0
  1092. samsara/types/live_sharing_links_delete_live_sharing_link_bad_gateway_error_response_body.py +33 -0
  1093. samsara/types/live_sharing_links_delete_live_sharing_link_gateway_timeout_error_response_body.py +33 -0
  1094. samsara/types/live_sharing_links_delete_live_sharing_link_internal_server_error_response_body.py +33 -0
  1095. samsara/types/live_sharing_links_delete_live_sharing_link_method_not_allowed_error_response_body.py +33 -0
  1096. samsara/types/live_sharing_links_delete_live_sharing_link_not_found_error_response_body.py +33 -0
  1097. samsara/types/live_sharing_links_delete_live_sharing_link_not_implemented_error_response_body.py +33 -0
  1098. samsara/types/live_sharing_links_delete_live_sharing_link_service_unavailable_error_response_body.py +33 -0
  1099. samsara/types/live_sharing_links_delete_live_sharing_link_too_many_requests_error_response_body.py +33 -0
  1100. samsara/types/live_sharing_links_delete_live_sharing_link_unauthorized_error_response_body.py +33 -0
  1101. samsara/types/live_sharing_links_get_live_sharing_links_bad_gateway_error_response_body.py +33 -0
  1102. samsara/types/live_sharing_links_get_live_sharing_links_gateway_timeout_error_response_body.py +33 -0
  1103. samsara/types/live_sharing_links_get_live_sharing_links_internal_server_error_response_body.py +33 -0
  1104. samsara/types/live_sharing_links_get_live_sharing_links_method_not_allowed_error_response_body.py +33 -0
  1105. samsara/types/live_sharing_links_get_live_sharing_links_not_found_error_response_body.py +33 -0
  1106. samsara/types/live_sharing_links_get_live_sharing_links_not_implemented_error_response_body.py +33 -0
  1107. samsara/types/live_sharing_links_get_live_sharing_links_service_unavailable_error_response_body.py +33 -0
  1108. samsara/types/live_sharing_links_get_live_sharing_links_too_many_requests_error_response_body.py +33 -0
  1109. samsara/types/live_sharing_links_get_live_sharing_links_unauthorized_error_response_body.py +33 -0
  1110. samsara/types/live_sharing_links_update_live_sharing_link_bad_gateway_error_response_body.py +33 -0
  1111. samsara/types/live_sharing_links_update_live_sharing_link_gateway_timeout_error_response_body.py +33 -0
  1112. samsara/types/live_sharing_links_update_live_sharing_link_internal_server_error_response_body.py +33 -0
  1113. samsara/types/live_sharing_links_update_live_sharing_link_method_not_allowed_error_response_body.py +33 -0
  1114. samsara/types/live_sharing_links_update_live_sharing_link_not_found_error_response_body.py +33 -0
  1115. samsara/types/live_sharing_links_update_live_sharing_link_not_implemented_error_response_body.py +33 -0
  1116. samsara/types/live_sharing_links_update_live_sharing_link_service_unavailable_error_response_body.py +33 -0
  1117. samsara/types/live_sharing_links_update_live_sharing_link_too_many_requests_error_response_body.py +33 -0
  1118. samsara/types/live_sharing_links_update_live_sharing_link_unauthorized_error_response_body.py +33 -0
  1119. samsara/types/location_and_speed_get_location_and_speed_bad_gateway_error_response_body.py +33 -0
  1120. samsara/types/location_and_speed_get_location_and_speed_gateway_timeout_error_response_body.py +33 -0
  1121. samsara/types/location_and_speed_get_location_and_speed_internal_server_error_response_body.py +33 -0
  1122. samsara/types/location_and_speed_get_location_and_speed_method_not_allowed_error_response_body.py +33 -0
  1123. samsara/types/location_and_speed_get_location_and_speed_not_found_error_response_body.py +33 -0
  1124. samsara/types/location_and_speed_get_location_and_speed_not_implemented_error_response_body.py +33 -0
  1125. samsara/types/location_and_speed_get_location_and_speed_service_unavailable_error_response_body.py +33 -0
  1126. samsara/types/location_and_speed_get_location_and_speed_too_many_requests_error_response_body.py +33 -0
  1127. samsara/types/location_and_speed_get_location_and_speed_unauthorized_error_response_body.py +33 -0
  1128. samsara/types/location_data_point.py +30 -0
  1129. samsara/types/location_data_point_gps_location.py +57 -0
  1130. samsara/types/location_data_point_gps_location_place.py +60 -0
  1131. samsara/types/location_object_request_body_address_types_item.py +2 -0
  1132. samsara/types/location_object_response_body_address_types_item.py +2 -0
  1133. samsara/types/location_response_body.py +42 -0
  1134. samsara/types/location_type.py +5 -0
  1135. samsara/types/longitude.py +3 -0
  1136. samsara/types/media_object_response_body.py +10 -2
  1137. samsara/types/media_object_response_body_camera_role.py +28 -0
  1138. samsara/types/media_object_response_body_input.py +3 -1
  1139. samsara/types/media_object_response_body_status.py +3 -1
  1140. samsara/types/media_retrieval_get_media_retrieval_bad_gateway_error_response_body.py +33 -0
  1141. samsara/types/media_retrieval_get_media_retrieval_gateway_timeout_error_response_body.py +33 -0
  1142. samsara/types/media_retrieval_get_media_retrieval_internal_server_error_response_body.py +33 -0
  1143. samsara/types/media_retrieval_get_media_retrieval_method_not_allowed_error_response_body.py +33 -0
  1144. samsara/types/media_retrieval_get_media_retrieval_not_found_error_response_body.py +33 -0
  1145. samsara/types/media_retrieval_get_media_retrieval_not_implemented_error_response_body.py +33 -0
  1146. samsara/types/media_retrieval_get_media_retrieval_service_unavailable_error_response_body.py +33 -0
  1147. samsara/types/media_retrieval_get_media_retrieval_too_many_requests_error_response_body.py +33 -0
  1148. samsara/types/media_retrieval_get_media_retrieval_unauthorized_error_response_body.py +33 -0
  1149. samsara/types/media_retrieval_list_uploaded_media_bad_gateway_error_response_body.py +33 -0
  1150. samsara/types/media_retrieval_list_uploaded_media_gateway_timeout_error_response_body.py +33 -0
  1151. samsara/types/media_retrieval_list_uploaded_media_internal_server_error_response_body.py +33 -0
  1152. samsara/types/media_retrieval_list_uploaded_media_method_not_allowed_error_response_body.py +33 -0
  1153. samsara/types/media_retrieval_list_uploaded_media_not_found_error_response_body.py +33 -0
  1154. samsara/types/media_retrieval_list_uploaded_media_not_implemented_error_response_body.py +33 -0
  1155. samsara/types/media_retrieval_list_uploaded_media_service_unavailable_error_response_body.py +33 -0
  1156. samsara/types/media_retrieval_list_uploaded_media_too_many_requests_error_response_body.py +33 -0
  1157. samsara/types/media_retrieval_list_uploaded_media_unauthorized_error_response_body.py +33 -0
  1158. samsara/types/media_retrieval_post_media_retrieval_bad_gateway_error_response_body.py +33 -0
  1159. samsara/types/media_retrieval_post_media_retrieval_gateway_timeout_error_response_body.py +33 -0
  1160. samsara/types/media_retrieval_post_media_retrieval_internal_server_error_response_body.py +33 -0
  1161. samsara/types/media_retrieval_post_media_retrieval_method_not_allowed_error_response_body.py +33 -0
  1162. samsara/types/media_retrieval_post_media_retrieval_not_found_error_response_body.py +33 -0
  1163. samsara/types/media_retrieval_post_media_retrieval_not_implemented_error_response_body.py +33 -0
  1164. samsara/types/media_retrieval_post_media_retrieval_service_unavailable_error_response_body.py +33 -0
  1165. samsara/types/media_retrieval_post_media_retrieval_too_many_requests_error_response_body.py +33 -0
  1166. samsara/types/media_retrieval_post_media_retrieval_unauthorized_error_response_body.py +33 -0
  1167. samsara/types/number_data_point.py +28 -0
  1168. samsara/types/order_input_object_request_body.py +59 -0
  1169. samsara/types/order_object_response_body.py +75 -0
  1170. samsara/types/order_quantity_input_request_body.py +33 -0
  1171. samsara/types/order_quantity_response_body.py +33 -0
  1172. samsara/types/order_task_object_response_body.py +54 -0
  1173. samsara/types/order_task_request_body.py +67 -0
  1174. samsara/types/order_task_request_body_position.py +5 -0
  1175. samsara/types/order_task_response_body.py +67 -0
  1176. samsara/types/order_task_response_body_position.py +5 -0
  1177. samsara/types/order_task_skill_object_response_body.py +31 -0
  1178. samsara/types/over_speed_ms.py +3 -0
  1179. samsara/types/parent_id.py +3 -0
  1180. samsara/types/part_instance_input_object_request_body.py +45 -0
  1181. samsara/types/part_instance_object_response_body.py +45 -0
  1182. samsara/types/patch_asset_data_outputs_single_response_response_body.py +40 -0
  1183. samsara/types/patch_job_object_request_body.py +89 -0
  1184. samsara/types/patch_job_objectjob_location_request_object_request_body.py +41 -0
  1185. samsara/types/patch_shipping_docs_response_body_response_body.py +93 -0
  1186. samsara/types/plan_object_response_body.py +49 -0
  1187. samsara/types/plan_orders_create_plan_orders_bad_gateway_error_response_body.py +33 -0
  1188. samsara/types/plan_orders_create_plan_orders_gateway_timeout_error_response_body.py +33 -0
  1189. samsara/types/plan_orders_create_plan_orders_internal_server_error_response_body.py +33 -0
  1190. samsara/types/plan_orders_create_plan_orders_method_not_allowed_error_response_body.py +33 -0
  1191. samsara/types/plan_orders_create_plan_orders_not_found_error_response_body.py +33 -0
  1192. samsara/types/plan_orders_create_plan_orders_not_implemented_error_response_body.py +33 -0
  1193. samsara/types/plan_orders_create_plan_orders_response_body.py +23 -0
  1194. samsara/types/plan_orders_create_plan_orders_service_unavailable_error_response_body.py +33 -0
  1195. samsara/types/plan_orders_create_plan_orders_too_many_requests_error_response_body.py +33 -0
  1196. samsara/types/plan_orders_create_plan_orders_unauthorized_error_response_body.py +33 -0
  1197. samsara/types/post_fuel_purchase_request_body_discount_request_body.py +34 -0
  1198. samsara/types/post_fuel_purchase_request_body_discount_request_body_currency.py +7 -0
  1199. samsara/types/post_job_object_request_body.py +85 -0
  1200. samsara/types/post_job_objectjob_location_request_object_request_body.py +41 -0
  1201. samsara/types/power_take_off_duration_ms.py +3 -0
  1202. samsara/types/qualification_field_input_object_response_body.py +75 -0
  1203. samsara/types/qualification_field_input_object_response_body_type.py +8 -0
  1204. samsara/types/qualification_owner_object_response_body.py +43 -0
  1205. samsara/types/qualification_owner_object_response_body_entity_type.py +5 -0
  1206. samsara/types/qualification_owner_request_object_request_body.py +38 -0
  1207. samsara/types/qualification_owner_request_object_request_body_entity_type.py +5 -0
  1208. samsara/types/qualification_record_request_field_input_object_request_body.py +77 -0
  1209. samsara/types/qualification_record_request_field_input_object_request_body_type.py +8 -0
  1210. samsara/types/qualification_record_response_object_response_body.py +84 -0
  1211. samsara/types/qualification_record_response_object_response_body_record_status.py +7 -0
  1212. samsara/types/qualification_type_reference_object_response_body.py +40 -0
  1213. samsara/types/qualification_type_request_object_request_body.py +26 -0
  1214. samsara/types/qualification_type_response_object_response_body.py +69 -0
  1215. samsara/types/qualification_type_response_object_response_body_entity_type.py +5 -0
  1216. samsara/types/qualifications_archive_qualification_record_bad_gateway_error_response_body.py +33 -0
  1217. samsara/types/qualifications_archive_qualification_record_gateway_timeout_error_response_body.py +33 -0
  1218. samsara/types/qualifications_archive_qualification_record_internal_server_error_response_body.py +33 -0
  1219. samsara/types/qualifications_archive_qualification_record_method_not_allowed_error_response_body.py +33 -0
  1220. samsara/types/qualifications_archive_qualification_record_not_found_error_response_body.py +33 -0
  1221. samsara/types/qualifications_archive_qualification_record_not_implemented_error_response_body.py +33 -0
  1222. samsara/types/qualifications_archive_qualification_record_service_unavailable_error_response_body.py +33 -0
  1223. samsara/types/qualifications_archive_qualification_record_too_many_requests_error_response_body.py +33 -0
  1224. samsara/types/qualifications_archive_qualification_record_unauthorized_error_response_body.py +33 -0
  1225. samsara/types/qualifications_delete_qualification_record_bad_gateway_error_response_body.py +33 -0
  1226. samsara/types/qualifications_delete_qualification_record_gateway_timeout_error_response_body.py +33 -0
  1227. samsara/types/qualifications_delete_qualification_record_internal_server_error_response_body.py +33 -0
  1228. samsara/types/qualifications_delete_qualification_record_method_not_allowed_error_response_body.py +33 -0
  1229. samsara/types/qualifications_delete_qualification_record_not_found_error_response_body.py +33 -0
  1230. samsara/types/qualifications_delete_qualification_record_not_implemented_error_response_body.py +33 -0
  1231. samsara/types/qualifications_delete_qualification_record_service_unavailable_error_response_body.py +33 -0
  1232. samsara/types/qualifications_delete_qualification_record_too_many_requests_error_response_body.py +33 -0
  1233. samsara/types/qualifications_delete_qualification_record_unauthorized_error_response_body.py +33 -0
  1234. samsara/types/qualifications_get_qualification_records_bad_gateway_error_response_body.py +33 -0
  1235. samsara/types/qualifications_get_qualification_records_gateway_timeout_error_response_body.py +33 -0
  1236. samsara/types/qualifications_get_qualification_records_internal_server_error_response_body.py +33 -0
  1237. samsara/types/qualifications_get_qualification_records_method_not_allowed_error_response_body.py +33 -0
  1238. samsara/types/qualifications_get_qualification_records_not_found_error_response_body.py +33 -0
  1239. samsara/types/qualifications_get_qualification_records_not_implemented_error_response_body.py +33 -0
  1240. samsara/types/qualifications_get_qualification_records_response_body.py +23 -0
  1241. samsara/types/qualifications_get_qualification_records_service_unavailable_error_response_body.py +33 -0
  1242. samsara/types/qualifications_get_qualification_records_stream_bad_gateway_error_response_body.py +33 -0
  1243. samsara/types/qualifications_get_qualification_records_stream_gateway_timeout_error_response_body.py +33 -0
  1244. samsara/types/qualifications_get_qualification_records_stream_internal_server_error_response_body.py +33 -0
  1245. samsara/types/qualifications_get_qualification_records_stream_method_not_allowed_error_response_body.py +33 -0
  1246. samsara/types/qualifications_get_qualification_records_stream_not_found_error_response_body.py +33 -0
  1247. samsara/types/qualifications_get_qualification_records_stream_not_implemented_error_response_body.py +33 -0
  1248. samsara/types/qualifications_get_qualification_records_stream_response_body.py +26 -0
  1249. samsara/types/qualifications_get_qualification_records_stream_service_unavailable_error_response_body.py +33 -0
  1250. samsara/types/qualifications_get_qualification_records_stream_too_many_requests_error_response_body.py +33 -0
  1251. samsara/types/qualifications_get_qualification_records_stream_unauthorized_error_response_body.py +33 -0
  1252. samsara/types/qualifications_get_qualification_records_too_many_requests_error_response_body.py +33 -0
  1253. samsara/types/qualifications_get_qualification_records_unauthorized_error_response_body.py +33 -0
  1254. samsara/types/qualifications_get_qualification_types_bad_gateway_error_response_body.py +33 -0
  1255. samsara/types/qualifications_get_qualification_types_gateway_timeout_error_response_body.py +33 -0
  1256. samsara/types/qualifications_get_qualification_types_internal_server_error_response_body.py +33 -0
  1257. samsara/types/qualifications_get_qualification_types_method_not_allowed_error_response_body.py +33 -0
  1258. samsara/types/qualifications_get_qualification_types_not_found_error_response_body.py +33 -0
  1259. samsara/types/qualifications_get_qualification_types_not_implemented_error_response_body.py +33 -0
  1260. samsara/types/qualifications_get_qualification_types_response_body.py +26 -0
  1261. samsara/types/qualifications_get_qualification_types_service_unavailable_error_response_body.py +33 -0
  1262. samsara/types/qualifications_get_qualification_types_too_many_requests_error_response_body.py +33 -0
  1263. samsara/types/qualifications_get_qualification_types_unauthorized_error_response_body.py +33 -0
  1264. samsara/types/qualifications_patch_qualification_record_bad_gateway_error_response_body.py +33 -0
  1265. samsara/types/qualifications_patch_qualification_record_gateway_timeout_error_response_body.py +33 -0
  1266. samsara/types/qualifications_patch_qualification_record_internal_server_error_response_body.py +33 -0
  1267. samsara/types/qualifications_patch_qualification_record_method_not_allowed_error_response_body.py +33 -0
  1268. samsara/types/qualifications_patch_qualification_record_not_found_error_response_body.py +33 -0
  1269. samsara/types/qualifications_patch_qualification_record_not_implemented_error_response_body.py +33 -0
  1270. samsara/types/qualifications_patch_qualification_record_response_body.py +20 -0
  1271. samsara/types/qualifications_patch_qualification_record_service_unavailable_error_response_body.py +33 -0
  1272. samsara/types/qualifications_patch_qualification_record_too_many_requests_error_response_body.py +33 -0
  1273. samsara/types/qualifications_patch_qualification_record_unauthorized_error_response_body.py +33 -0
  1274. samsara/types/qualifications_post_qualification_record_bad_gateway_error_response_body.py +33 -0
  1275. samsara/types/qualifications_post_qualification_record_gateway_timeout_error_response_body.py +33 -0
  1276. samsara/types/qualifications_post_qualification_record_internal_server_error_response_body.py +33 -0
  1277. samsara/types/qualifications_post_qualification_record_method_not_allowed_error_response_body.py +33 -0
  1278. samsara/types/qualifications_post_qualification_record_not_found_error_response_body.py +33 -0
  1279. samsara/types/qualifications_post_qualification_record_not_implemented_error_response_body.py +33 -0
  1280. samsara/types/qualifications_post_qualification_record_response_body.py +20 -0
  1281. samsara/types/qualifications_post_qualification_record_service_unavailable_error_response_body.py +33 -0
  1282. samsara/types/qualifications_post_qualification_record_too_many_requests_error_response_body.py +33 -0
  1283. samsara/types/qualifications_post_qualification_record_unauthorized_error_response_body.py +33 -0
  1284. samsara/types/qualifications_unarchive_qualification_record_bad_gateway_error_response_body.py +33 -0
  1285. samsara/types/qualifications_unarchive_qualification_record_gateway_timeout_error_response_body.py +33 -0
  1286. samsara/types/qualifications_unarchive_qualification_record_internal_server_error_response_body.py +33 -0
  1287. samsara/types/qualifications_unarchive_qualification_record_method_not_allowed_error_response_body.py +33 -0
  1288. samsara/types/qualifications_unarchive_qualification_record_not_found_error_response_body.py +33 -0
  1289. samsara/types/qualifications_unarchive_qualification_record_not_implemented_error_response_body.py +33 -0
  1290. samsara/types/qualifications_unarchive_qualification_record_service_unavailable_error_response_body.py +33 -0
  1291. samsara/types/qualifications_unarchive_qualification_record_too_many_requests_error_response_body.py +33 -0
  1292. samsara/types/qualifications_unarchive_qualification_record_unauthorized_error_response_body.py +33 -0
  1293. samsara/types/quantity_object_response_body.py +33 -0
  1294. samsara/types/reading_datapoint_request_body.py +50 -0
  1295. samsara/types/reading_definition_response_body.py +5 -0
  1296. samsara/types/reading_trigger_continuous_value_object_request_body.py +1 -1
  1297. samsara/types/reading_trigger_continuous_value_object_request_body_unit.py +15 -0
  1298. samsara/types/reading_trigger_continuous_value_object_response_body.py +1 -1
  1299. samsara/types/reading_trigger_continuous_value_object_response_body_unit.py +15 -0
  1300. samsara/types/readings_get_readings_history_bad_gateway_error_response_body.py +33 -0
  1301. samsara/types/readings_get_readings_history_gateway_timeout_error_response_body.py +33 -0
  1302. samsara/types/readings_get_readings_history_internal_server_error_response_body.py +33 -0
  1303. samsara/types/readings_get_readings_history_method_not_allowed_error_response_body.py +33 -0
  1304. samsara/types/readings_get_readings_history_not_found_error_response_body.py +33 -0
  1305. samsara/types/readings_get_readings_history_not_implemented_error_response_body.py +33 -0
  1306. samsara/types/readings_get_readings_history_service_unavailable_error_response_body.py +33 -0
  1307. samsara/types/readings_get_readings_history_too_many_requests_error_response_body.py +33 -0
  1308. samsara/types/readings_get_readings_history_unauthorized_error_response_body.py +33 -0
  1309. samsara/types/readings_get_readings_snapshot_bad_gateway_error_response_body.py +33 -0
  1310. samsara/types/readings_get_readings_snapshot_gateway_timeout_error_response_body.py +33 -0
  1311. samsara/types/readings_get_readings_snapshot_internal_server_error_response_body.py +33 -0
  1312. samsara/types/readings_get_readings_snapshot_method_not_allowed_error_response_body.py +33 -0
  1313. samsara/types/readings_get_readings_snapshot_not_found_error_response_body.py +33 -0
  1314. samsara/types/readings_get_readings_snapshot_not_implemented_error_response_body.py +33 -0
  1315. samsara/types/readings_get_readings_snapshot_service_unavailable_error_response_body.py +33 -0
  1316. samsara/types/readings_get_readings_snapshot_too_many_requests_error_response_body.py +33 -0
  1317. samsara/types/readings_get_readings_snapshot_unauthorized_error_response_body.py +33 -0
  1318. samsara/types/readings_list_readings_definitions_bad_gateway_error_response_body.py +33 -0
  1319. samsara/types/readings_list_readings_definitions_gateway_timeout_error_response_body.py +33 -0
  1320. samsara/types/readings_list_readings_definitions_internal_server_error_response_body.py +33 -0
  1321. samsara/types/readings_list_readings_definitions_method_not_allowed_error_response_body.py +33 -0
  1322. samsara/types/readings_list_readings_definitions_not_found_error_response_body.py +33 -0
  1323. samsara/types/readings_list_readings_definitions_not_implemented_error_response_body.py +33 -0
  1324. samsara/types/readings_list_readings_definitions_service_unavailable_error_response_body.py +33 -0
  1325. samsara/types/readings_list_readings_definitions_too_many_requests_error_response_body.py +33 -0
  1326. samsara/types/readings_list_readings_definitions_unauthorized_error_response_body.py +33 -0
  1327. samsara/types/readings_post_readings_bad_gateway_error_response_body.py +33 -0
  1328. samsara/types/readings_post_readings_gateway_timeout_error_response_body.py +33 -0
  1329. samsara/types/readings_post_readings_internal_server_error_response_body.py +33 -0
  1330. samsara/types/readings_post_readings_method_not_allowed_error_response_body.py +33 -0
  1331. samsara/types/readings_post_readings_not_found_error_response_body.py +33 -0
  1332. samsara/types/readings_post_readings_not_implemented_error_response_body.py +33 -0
  1333. samsara/types/readings_post_readings_service_unavailable_error_response_body.py +33 -0
  1334. samsara/types/readings_post_readings_too_many_requests_error_response_body.py +33 -0
  1335. samsara/types/readings_post_readings_unauthorized_error_response_body.py +33 -0
  1336. samsara/types/reverse_geo_object_response_body.py +30 -0
  1337. samsara/types/route_object_response_body.py +124 -0
  1338. samsara/types/route_stop_object_response_body.py +71 -0
  1339. samsara/types/routes_create_route_bad_gateway_error_response_body.py +33 -0
  1340. samsara/types/routes_create_route_gateway_timeout_error_response_body.py +33 -0
  1341. samsara/types/routes_create_route_internal_server_error_response_body.py +33 -0
  1342. samsara/types/routes_create_route_method_not_allowed_error_response_body.py +33 -0
  1343. samsara/types/routes_create_route_not_found_error_response_body.py +33 -0
  1344. samsara/types/routes_create_route_not_implemented_error_response_body.py +33 -0
  1345. samsara/types/routes_create_route_service_unavailable_error_response_body.py +33 -0
  1346. samsara/types/routes_create_route_too_many_requests_error_response_body.py +33 -0
  1347. samsara/types/routes_create_route_unauthorized_error_response_body.py +33 -0
  1348. samsara/types/routes_delete_route_bad_gateway_error_response_body.py +33 -0
  1349. samsara/types/routes_delete_route_gateway_timeout_error_response_body.py +33 -0
  1350. samsara/types/routes_delete_route_internal_server_error_response_body.py +33 -0
  1351. samsara/types/routes_delete_route_method_not_allowed_error_response_body.py +33 -0
  1352. samsara/types/routes_delete_route_not_found_error_response_body.py +33 -0
  1353. samsara/types/routes_delete_route_not_implemented_error_response_body.py +33 -0
  1354. samsara/types/routes_delete_route_service_unavailable_error_response_body.py +33 -0
  1355. samsara/types/routes_delete_route_too_many_requests_error_response_body.py +33 -0
  1356. samsara/types/routes_delete_route_unauthorized_error_response_body.py +33 -0
  1357. samsara/types/routes_fetch_route_bad_gateway_error_response_body.py +33 -0
  1358. samsara/types/routes_fetch_route_gateway_timeout_error_response_body.py +33 -0
  1359. samsara/types/routes_fetch_route_internal_server_error_response_body.py +33 -0
  1360. samsara/types/routes_fetch_route_method_not_allowed_error_response_body.py +33 -0
  1361. samsara/types/routes_fetch_route_not_found_error_response_body.py +33 -0
  1362. samsara/types/routes_fetch_route_not_implemented_error_response_body.py +33 -0
  1363. samsara/types/routes_fetch_route_service_unavailable_error_response_body.py +33 -0
  1364. samsara/types/routes_fetch_route_too_many_requests_error_response_body.py +33 -0
  1365. samsara/types/routes_fetch_route_unauthorized_error_response_body.py +33 -0
  1366. samsara/types/routes_fetch_routes_bad_gateway_error_response_body.py +33 -0
  1367. samsara/types/routes_fetch_routes_gateway_timeout_error_response_body.py +33 -0
  1368. samsara/types/routes_fetch_routes_internal_server_error_response_body.py +33 -0
  1369. samsara/types/routes_fetch_routes_method_not_allowed_error_response_body.py +33 -0
  1370. samsara/types/routes_fetch_routes_not_found_error_response_body.py +33 -0
  1371. samsara/types/routes_fetch_routes_not_implemented_error_response_body.py +33 -0
  1372. samsara/types/routes_fetch_routes_service_unavailable_error_response_body.py +33 -0
  1373. samsara/types/routes_fetch_routes_too_many_requests_error_response_body.py +33 -0
  1374. samsara/types/routes_fetch_routes_unauthorized_error_response_body.py +33 -0
  1375. samsara/types/routes_get_routes_feed_bad_gateway_error_response_body.py +33 -0
  1376. samsara/types/routes_get_routes_feed_gateway_timeout_error_response_body.py +33 -0
  1377. samsara/types/routes_get_routes_feed_internal_server_error_response_body.py +33 -0
  1378. samsara/types/routes_get_routes_feed_method_not_allowed_error_response_body.py +33 -0
  1379. samsara/types/routes_get_routes_feed_not_found_error_response_body.py +33 -0
  1380. samsara/types/routes_get_routes_feed_not_implemented_error_response_body.py +33 -0
  1381. samsara/types/routes_get_routes_feed_service_unavailable_error_response_body.py +33 -0
  1382. samsara/types/routes_get_routes_feed_too_many_requests_error_response_body.py +33 -0
  1383. samsara/types/routes_get_routes_feed_unauthorized_error_response_body.py +33 -0
  1384. samsara/types/routes_patch_route_bad_gateway_error_response_body.py +33 -0
  1385. samsara/types/routes_patch_route_gateway_timeout_error_response_body.py +33 -0
  1386. samsara/types/routes_patch_route_internal_server_error_response_body.py +33 -0
  1387. samsara/types/routes_patch_route_method_not_allowed_error_response_body.py +33 -0
  1388. samsara/types/routes_patch_route_not_found_error_response_body.py +33 -0
  1389. samsara/types/routes_patch_route_not_implemented_error_response_body.py +33 -0
  1390. samsara/types/routes_patch_route_service_unavailable_error_response_body.py +33 -0
  1391. samsara/types/routes_patch_route_too_many_requests_error_response_body.py +33 -0
  1392. samsara/types/routes_patch_route_unauthorized_error_response_body.py +33 -0
  1393. samsara/types/routes_single_use_address_object_request_body.py +9 -0
  1394. samsara/types/routes_single_use_address_object_response_body.py +9 -0
  1395. samsara/types/routes_stop_response_object_response_body.py +12 -0
  1396. samsara/types/safety_event_behavior_labels_response_body.py +1 -1
  1397. samsara/types/safety_event_behavior_labels_response_body_type.py +1 -0
  1398. samsara/types/safety_event_dismissal_reason_response_body.py +32 -0
  1399. samsara/types/safety_event_dismissal_reason_response_body_code.py +7 -0
  1400. samsara/types/safety_event_v_2_asset_object_response_body.py +63 -0
  1401. samsara/types/safety_event_v_2_asset_object_response_body_type.py +7 -0
  1402. samsara/types/safety_event_v_2_behavior_labels_response_body.py +33 -0
  1403. samsara/types/safety_event_v_2_behavior_labels_response_body_label.py +64 -0
  1404. samsara/types/safety_event_v_2_behavior_labels_response_body_source.py +5 -0
  1405. samsara/types/safety_event_v_2_context_labels_response_body.py +38 -0
  1406. samsara/types/safety_event_v_2_driver_object_response_body.py +52 -0
  1407. samsara/types/safety_event_v_2_object_response_body.py +134 -0
  1408. samsara/types/safety_event_v_2_object_response_body_event_state.py +10 -0
  1409. samsara/types/safety_events_get_safety_activity_event_feed_bad_gateway_error_response_body.py +33 -0
  1410. samsara/types/safety_events_get_safety_activity_event_feed_gateway_timeout_error_response_body.py +33 -0
  1411. samsara/types/safety_events_get_safety_activity_event_feed_internal_server_error_response_body.py +33 -0
  1412. samsara/types/safety_events_get_safety_activity_event_feed_method_not_allowed_error_response_body.py +33 -0
  1413. samsara/types/safety_events_get_safety_activity_event_feed_not_found_error_response_body.py +33 -0
  1414. samsara/types/safety_events_get_safety_activity_event_feed_not_implemented_error_response_body.py +33 -0
  1415. samsara/types/safety_events_get_safety_activity_event_feed_service_unavailable_error_response_body.py +33 -0
  1416. samsara/types/safety_events_get_safety_activity_event_feed_too_many_requests_error_response_body.py +33 -0
  1417. samsara/types/safety_events_get_safety_activity_event_feed_unauthorized_error_response_body.py +33 -0
  1418. samsara/types/safety_events_v_2_get_safety_events_v_2_bad_gateway_error_response_body.py +33 -0
  1419. samsara/types/safety_events_v_2_get_safety_events_v_2_gateway_timeout_error_response_body.py +33 -0
  1420. samsara/types/safety_events_v_2_get_safety_events_v_2_internal_server_error_response_body.py +33 -0
  1421. samsara/types/safety_events_v_2_get_safety_events_v_2_method_not_allowed_error_response_body.py +33 -0
  1422. samsara/types/safety_events_v_2_get_safety_events_v_2_not_found_error_response_body.py +33 -0
  1423. samsara/types/safety_events_v_2_get_safety_events_v_2_not_implemented_error_response_body.py +33 -0
  1424. samsara/types/safety_events_v_2_get_safety_events_v_2_response_body.py +26 -0
  1425. samsara/types/safety_events_v_2_get_safety_events_v_2_service_unavailable_error_response_body.py +33 -0
  1426. samsara/types/safety_events_v_2_get_safety_events_v_2_stream_bad_gateway_error_response_body.py +33 -0
  1427. samsara/types/safety_events_v_2_get_safety_events_v_2_stream_gateway_timeout_error_response_body.py +33 -0
  1428. samsara/types/safety_events_v_2_get_safety_events_v_2_stream_internal_server_error_response_body.py +33 -0
  1429. samsara/types/safety_events_v_2_get_safety_events_v_2_stream_method_not_allowed_error_response_body.py +33 -0
  1430. samsara/types/safety_events_v_2_get_safety_events_v_2_stream_not_found_error_response_body.py +33 -0
  1431. samsara/types/safety_events_v_2_get_safety_events_v_2_stream_not_implemented_error_response_body.py +33 -0
  1432. samsara/types/safety_events_v_2_get_safety_events_v_2_stream_response_body.py +26 -0
  1433. samsara/types/safety_events_v_2_get_safety_events_v_2_stream_service_unavailable_error_response_body.py +33 -0
  1434. samsara/types/safety_events_v_2_get_safety_events_v_2_stream_too_many_requests_error_response_body.py +33 -0
  1435. samsara/types/safety_events_v_2_get_safety_events_v_2_stream_unauthorized_error_response_body.py +33 -0
  1436. samsara/types/safety_events_v_2_get_safety_events_v_2_too_many_requests_error_response_body.py +33 -0
  1437. samsara/types/safety_events_v_2_get_safety_events_v_2_unauthorized_error_response_body.py +33 -0
  1438. samsara/types/safety_score_behavior_object_response_body.py +41 -0
  1439. samsara/types/safety_score_behavior_object_response_body_behavior_type.py +34 -0
  1440. samsara/types/safety_score_speeding_object_response_body.py +43 -0
  1441. samsara/types/safety_score_speeding_object_response_body_speeding_type.py +7 -0
  1442. samsara/types/safety_scores_get_driver_safety_score_trips_bad_gateway_error_response_body.py +33 -0
  1443. samsara/types/safety_scores_get_driver_safety_score_trips_gateway_timeout_error_response_body.py +33 -0
  1444. samsara/types/safety_scores_get_driver_safety_score_trips_internal_server_error_response_body.py +33 -0
  1445. samsara/types/safety_scores_get_driver_safety_score_trips_method_not_allowed_error_response_body.py +33 -0
  1446. samsara/types/safety_scores_get_driver_safety_score_trips_not_found_error_response_body.py +33 -0
  1447. samsara/types/safety_scores_get_driver_safety_score_trips_not_implemented_error_response_body.py +33 -0
  1448. samsara/types/safety_scores_get_driver_safety_score_trips_response_body.py +26 -0
  1449. samsara/types/safety_scores_get_driver_safety_score_trips_service_unavailable_error_response_body.py +33 -0
  1450. samsara/types/safety_scores_get_driver_safety_score_trips_too_many_requests_error_response_body.py +33 -0
  1451. samsara/types/safety_scores_get_driver_safety_score_trips_unauthorized_error_response_body.py +33 -0
  1452. samsara/types/safety_scores_get_driver_safety_scores_bad_gateway_error_response_body.py +33 -0
  1453. samsara/types/safety_scores_get_driver_safety_scores_gateway_timeout_error_response_body.py +33 -0
  1454. samsara/types/safety_scores_get_driver_safety_scores_internal_server_error_response_body.py +33 -0
  1455. samsara/types/safety_scores_get_driver_safety_scores_method_not_allowed_error_response_body.py +33 -0
  1456. samsara/types/safety_scores_get_driver_safety_scores_not_found_error_response_body.py +33 -0
  1457. samsara/types/safety_scores_get_driver_safety_scores_not_implemented_error_response_body.py +33 -0
  1458. samsara/types/safety_scores_get_driver_safety_scores_response_body.py +26 -0
  1459. samsara/types/safety_scores_get_driver_safety_scores_service_unavailable_error_response_body.py +33 -0
  1460. samsara/types/safety_scores_get_driver_safety_scores_too_many_requests_error_response_body.py +33 -0
  1461. samsara/types/safety_scores_get_driver_safety_scores_unauthorized_error_response_body.py +33 -0
  1462. samsara/types/safety_scores_get_tag_group_safety_scores_bad_gateway_error_response_body.py +33 -0
  1463. samsara/types/safety_scores_get_tag_group_safety_scores_gateway_timeout_error_response_body.py +33 -0
  1464. samsara/types/safety_scores_get_tag_group_safety_scores_internal_server_error_response_body.py +33 -0
  1465. samsara/types/safety_scores_get_tag_group_safety_scores_method_not_allowed_error_response_body.py +33 -0
  1466. samsara/types/safety_scores_get_tag_group_safety_scores_not_found_error_response_body.py +33 -0
  1467. samsara/types/safety_scores_get_tag_group_safety_scores_not_implemented_error_response_body.py +33 -0
  1468. samsara/types/safety_scores_get_tag_group_safety_scores_response_body.py +20 -0
  1469. samsara/types/safety_scores_get_tag_group_safety_scores_service_unavailable_error_response_body.py +33 -0
  1470. samsara/types/safety_scores_get_tag_group_safety_scores_too_many_requests_error_response_body.py +33 -0
  1471. samsara/types/safety_scores_get_tag_group_safety_scores_unauthorized_error_response_body.py +33 -0
  1472. samsara/types/safety_scores_get_tag_safety_scores_bad_gateway_error_response_body.py +33 -0
  1473. samsara/types/safety_scores_get_tag_safety_scores_gateway_timeout_error_response_body.py +33 -0
  1474. samsara/types/safety_scores_get_tag_safety_scores_internal_server_error_response_body.py +33 -0
  1475. samsara/types/safety_scores_get_tag_safety_scores_method_not_allowed_error_response_body.py +33 -0
  1476. samsara/types/safety_scores_get_tag_safety_scores_not_found_error_response_body.py +33 -0
  1477. samsara/types/safety_scores_get_tag_safety_scores_not_implemented_error_response_body.py +33 -0
  1478. samsara/types/safety_scores_get_tag_safety_scores_response_body.py +26 -0
  1479. samsara/types/safety_scores_get_tag_safety_scores_service_unavailable_error_response_body.py +33 -0
  1480. samsara/types/safety_scores_get_tag_safety_scores_too_many_requests_error_response_body.py +33 -0
  1481. samsara/types/safety_scores_get_tag_safety_scores_unauthorized_error_response_body.py +33 -0
  1482. samsara/types/safety_scores_get_vehicle_safety_score_trips_bad_gateway_error_response_body.py +33 -0
  1483. samsara/types/safety_scores_get_vehicle_safety_score_trips_gateway_timeout_error_response_body.py +33 -0
  1484. samsara/types/safety_scores_get_vehicle_safety_score_trips_internal_server_error_response_body.py +33 -0
  1485. samsara/types/safety_scores_get_vehicle_safety_score_trips_method_not_allowed_error_response_body.py +33 -0
  1486. samsara/types/safety_scores_get_vehicle_safety_score_trips_not_found_error_response_body.py +33 -0
  1487. samsara/types/safety_scores_get_vehicle_safety_score_trips_not_implemented_error_response_body.py +33 -0
  1488. samsara/types/safety_scores_get_vehicle_safety_score_trips_response_body.py +26 -0
  1489. samsara/types/safety_scores_get_vehicle_safety_score_trips_service_unavailable_error_response_body.py +33 -0
  1490. samsara/types/safety_scores_get_vehicle_safety_score_trips_too_many_requests_error_response_body.py +33 -0
  1491. samsara/types/safety_scores_get_vehicle_safety_score_trips_unauthorized_error_response_body.py +33 -0
  1492. samsara/types/safety_scores_get_vehicle_safety_scores_bad_gateway_error_response_body.py +33 -0
  1493. samsara/types/safety_scores_get_vehicle_safety_scores_gateway_timeout_error_response_body.py +33 -0
  1494. samsara/types/safety_scores_get_vehicle_safety_scores_internal_server_error_response_body.py +33 -0
  1495. samsara/types/safety_scores_get_vehicle_safety_scores_method_not_allowed_error_response_body.py +33 -0
  1496. samsara/types/safety_scores_get_vehicle_safety_scores_not_found_error_response_body.py +33 -0
  1497. samsara/types/safety_scores_get_vehicle_safety_scores_not_implemented_error_response_body.py +33 -0
  1498. samsara/types/safety_scores_get_vehicle_safety_scores_response_body.py +26 -0
  1499. samsara/types/safety_scores_get_vehicle_safety_scores_service_unavailable_error_response_body.py +33 -0
  1500. samsara/types/safety_scores_get_vehicle_safety_scores_too_many_requests_error_response_body.py +33 -0
  1501. samsara/types/safety_scores_get_vehicle_safety_scores_unauthorized_error_response_body.py +33 -0
  1502. samsara/types/safety_settings_get_safety_settings_bad_gateway_error_response_body.py +33 -0
  1503. samsara/types/safety_settings_get_safety_settings_gateway_timeout_error_response_body.py +33 -0
  1504. samsara/types/safety_settings_get_safety_settings_internal_server_error_response_body.py +33 -0
  1505. samsara/types/safety_settings_get_safety_settings_method_not_allowed_error_response_body.py +33 -0
  1506. samsara/types/safety_settings_get_safety_settings_not_found_error_response_body.py +33 -0
  1507. samsara/types/safety_settings_get_safety_settings_not_implemented_error_response_body.py +33 -0
  1508. samsara/types/safety_settings_get_safety_settings_service_unavailable_error_response_body.py +33 -0
  1509. samsara/types/safety_settings_get_safety_settings_too_many_requests_error_response_body.py +33 -0
  1510. samsara/types/safety_settings_get_safety_settings_unauthorized_error_response_body.py +33 -0
  1511. samsara/types/service_task_instance_input_object_request_body.py +6 -0
  1512. samsara/types/service_task_instance_object_response_body.py +6 -0
  1513. samsara/types/service_window_object_response_body.py +38 -0
  1514. samsara/types/settings_get_compliance_settings_bad_gateway_error_response_body.py +33 -0
  1515. samsara/types/settings_get_compliance_settings_gateway_timeout_error_response_body.py +33 -0
  1516. samsara/types/settings_get_compliance_settings_internal_server_error_response_body.py +33 -0
  1517. samsara/types/settings_get_compliance_settings_method_not_allowed_error_response_body.py +33 -0
  1518. samsara/types/settings_get_compliance_settings_not_found_error_response_body.py +33 -0
  1519. samsara/types/settings_get_compliance_settings_not_implemented_error_response_body.py +33 -0
  1520. samsara/types/settings_get_compliance_settings_service_unavailable_error_response_body.py +33 -0
  1521. samsara/types/settings_get_compliance_settings_too_many_requests_error_response_body.py +33 -0
  1522. samsara/types/settings_get_compliance_settings_unauthorized_error_response_body.py +33 -0
  1523. samsara/types/settings_get_driver_app_settings_bad_gateway_error_response_body.py +33 -0
  1524. samsara/types/settings_get_driver_app_settings_gateway_timeout_error_response_body.py +33 -0
  1525. samsara/types/settings_get_driver_app_settings_internal_server_error_response_body.py +33 -0
  1526. samsara/types/settings_get_driver_app_settings_method_not_allowed_error_response_body.py +33 -0
  1527. samsara/types/settings_get_driver_app_settings_not_found_error_response_body.py +33 -0
  1528. samsara/types/settings_get_driver_app_settings_not_implemented_error_response_body.py +33 -0
  1529. samsara/types/settings_get_driver_app_settings_service_unavailable_error_response_body.py +33 -0
  1530. samsara/types/settings_get_driver_app_settings_too_many_requests_error_response_body.py +33 -0
  1531. samsara/types/settings_get_driver_app_settings_unauthorized_error_response_body.py +33 -0
  1532. samsara/types/settings_patch_compliance_settings_bad_gateway_error_response_body.py +33 -0
  1533. samsara/types/settings_patch_compliance_settings_gateway_timeout_error_response_body.py +33 -0
  1534. samsara/types/settings_patch_compliance_settings_internal_server_error_response_body.py +33 -0
  1535. samsara/types/settings_patch_compliance_settings_method_not_allowed_error_response_body.py +33 -0
  1536. samsara/types/settings_patch_compliance_settings_not_found_error_response_body.py +33 -0
  1537. samsara/types/settings_patch_compliance_settings_not_implemented_error_response_body.py +33 -0
  1538. samsara/types/settings_patch_compliance_settings_service_unavailable_error_response_body.py +33 -0
  1539. samsara/types/settings_patch_compliance_settings_too_many_requests_error_response_body.py +33 -0
  1540. samsara/types/settings_patch_compliance_settings_unauthorized_error_response_body.py +33 -0
  1541. samsara/types/settings_patch_driver_app_settings_bad_gateway_error_response_body.py +33 -0
  1542. samsara/types/settings_patch_driver_app_settings_gateway_timeout_error_response_body.py +33 -0
  1543. samsara/types/settings_patch_driver_app_settings_internal_server_error_response_body.py +33 -0
  1544. samsara/types/settings_patch_driver_app_settings_method_not_allowed_error_response_body.py +33 -0
  1545. samsara/types/settings_patch_driver_app_settings_not_found_error_response_body.py +33 -0
  1546. samsara/types/settings_patch_driver_app_settings_not_implemented_error_response_body.py +33 -0
  1547. samsara/types/settings_patch_driver_app_settings_service_unavailable_error_response_body.py +33 -0
  1548. samsara/types/settings_patch_driver_app_settings_too_many_requests_error_response_body.py +33 -0
  1549. samsara/types/settings_patch_driver_app_settings_unauthorized_error_response_body.py +33 -0
  1550. samsara/types/single_driver_efficiency_by_driver_data_object_response_body.py +47 -0
  1551. samsara/types/single_driver_efficiency_by_vehicle_data_object_response_body.py +46 -0
  1552. samsara/types/single_use_location_object_response_body.py +36 -0
  1553. samsara/types/skill_object_response_body.py +31 -0
  1554. samsara/types/speeding_intervals_get_speeding_intervals_bad_gateway_error_response_body.py +33 -0
  1555. samsara/types/speeding_intervals_get_speeding_intervals_gateway_timeout_error_response_body.py +33 -0
  1556. samsara/types/speeding_intervals_get_speeding_intervals_internal_server_error_response_body.py +33 -0
  1557. samsara/types/speeding_intervals_get_speeding_intervals_method_not_allowed_error_response_body.py +33 -0
  1558. samsara/types/speeding_intervals_get_speeding_intervals_not_found_error_response_body.py +33 -0
  1559. samsara/types/speeding_intervals_get_speeding_intervals_not_implemented_error_response_body.py +33 -0
  1560. samsara/types/speeding_intervals_get_speeding_intervals_service_unavailable_error_response_body.py +33 -0
  1561. samsara/types/speeding_intervals_get_speeding_intervals_too_many_requests_error_response_body.py +33 -0
  1562. samsara/types/speeding_intervals_get_speeding_intervals_unauthorized_error_response_body.py +33 -0
  1563. samsara/types/standard_delete_response.py +3 -0
  1564. samsara/types/start_function_run_response_body_response_body.py +28 -0
  1565. samsara/types/string_data_point.py +28 -0
  1566. samsara/types/tag_group_safety_score_response_body.py +54 -0
  1567. samsara/types/tag_ids.py +5 -0
  1568. samsara/types/tag_safety_score_response_body.py +59 -0
  1569. samsara/types/tire_fault_code_details_object_request_body_specific_tire_fault_codes_item.py +2 -0
  1570. samsara/types/tire_fault_code_details_object_response_body_specific_tire_fault_codes_item.py +2 -0
  1571. samsara/types/total_brake_event_count.py +3 -0
  1572. samsara/types/trailer_assignments_create_driver_trailer_assignment_bad_gateway_error_response_body.py +33 -0
  1573. samsara/types/trailer_assignments_create_driver_trailer_assignment_gateway_timeout_error_response_body.py +33 -0
  1574. samsara/types/trailer_assignments_create_driver_trailer_assignment_internal_server_error_response_body.py +33 -0
  1575. samsara/types/trailer_assignments_create_driver_trailer_assignment_method_not_allowed_error_response_body.py +33 -0
  1576. samsara/types/trailer_assignments_create_driver_trailer_assignment_not_found_error_response_body.py +33 -0
  1577. samsara/types/trailer_assignments_create_driver_trailer_assignment_not_implemented_error_response_body.py +33 -0
  1578. samsara/types/trailer_assignments_create_driver_trailer_assignment_service_unavailable_error_response_body.py +33 -0
  1579. samsara/types/trailer_assignments_create_driver_trailer_assignment_too_many_requests_error_response_body.py +33 -0
  1580. samsara/types/trailer_assignments_create_driver_trailer_assignment_unauthorized_error_response_body.py +33 -0
  1581. samsara/types/trailer_assignments_get_driver_trailer_assignments_bad_gateway_error_response_body.py +33 -0
  1582. samsara/types/trailer_assignments_get_driver_trailer_assignments_gateway_timeout_error_response_body.py +33 -0
  1583. samsara/types/trailer_assignments_get_driver_trailer_assignments_internal_server_error_response_body.py +33 -0
  1584. samsara/types/trailer_assignments_get_driver_trailer_assignments_method_not_allowed_error_response_body.py +33 -0
  1585. samsara/types/trailer_assignments_get_driver_trailer_assignments_not_found_error_response_body.py +33 -0
  1586. samsara/types/trailer_assignments_get_driver_trailer_assignments_not_implemented_error_response_body.py +33 -0
  1587. samsara/types/trailer_assignments_get_driver_trailer_assignments_service_unavailable_error_response_body.py +33 -0
  1588. samsara/types/trailer_assignments_get_driver_trailer_assignments_too_many_requests_error_response_body.py +33 -0
  1589. samsara/types/trailer_assignments_get_driver_trailer_assignments_unauthorized_error_response_body.py +33 -0
  1590. samsara/types/trailer_assignments_update_driver_trailer_assignment_bad_gateway_error_response_body.py +33 -0
  1591. samsara/types/trailer_assignments_update_driver_trailer_assignment_gateway_timeout_error_response_body.py +33 -0
  1592. samsara/types/trailer_assignments_update_driver_trailer_assignment_internal_server_error_response_body.py +33 -0
  1593. samsara/types/trailer_assignments_update_driver_trailer_assignment_method_not_allowed_error_response_body.py +33 -0
  1594. samsara/types/trailer_assignments_update_driver_trailer_assignment_not_found_error_response_body.py +33 -0
  1595. samsara/types/trailer_assignments_update_driver_trailer_assignment_not_implemented_error_response_body.py +33 -0
  1596. samsara/types/trailer_assignments_update_driver_trailer_assignment_service_unavailable_error_response_body.py +33 -0
  1597. samsara/types/trailer_assignments_update_driver_trailer_assignment_too_many_requests_error_response_body.py +33 -0
  1598. samsara/types/trailer_assignments_update_driver_trailer_assignment_unauthorized_error_response_body.py +33 -0
  1599. samsara/types/trailer_stat_decoration_response_body.py +145 -0
  1600. samsara/types/trailer_stat_gps_odometer_meters_type_response_body.py +31 -0
  1601. samsara/types/trailer_stat_gps_odometer_meters_with_decorations_type_response_body.py +33 -0
  1602. samsara/types/trailer_stat_gps_type_response_body.py +56 -0
  1603. samsara/types/trailer_stat_gps_with_decorations_type_response_body.py +58 -0
  1604. samsara/types/trailer_stat_reefer_alarm_response_body.py +39 -0
  1605. samsara/types/trailer_stat_reefer_alarm_type_response_body.py +32 -0
  1606. samsara/types/trailer_stat_reefer_alarm_with_decorations_type_response_body.py +34 -0
  1607. samsara/types/trailer_stat_reefer_ambient_air_temperature_milli_c_type_response_body.py +31 -0
  1608. samsara/types/trailer_stat_reefer_ambient_air_temperature_with_decorations_type_response_body.py +33 -0
  1609. samsara/types/trailer_stat_reefer_door_state_zone_1_type_response_body.py +34 -0
  1610. samsara/types/trailer_stat_reefer_door_state_zone_1_type_response_body_value.py +5 -0
  1611. samsara/types/trailer_stat_reefer_door_state_zone_1_with_decorations_type_response_body.py +36 -0
  1612. samsara/types/trailer_stat_reefer_door_state_zone_1_with_decorations_type_response_body_value.py +7 -0
  1613. samsara/types/trailer_stat_reefer_door_state_zone_2_type_response_body.py +34 -0
  1614. samsara/types/trailer_stat_reefer_door_state_zone_2_type_response_body_value.py +5 -0
  1615. samsara/types/trailer_stat_reefer_door_state_zone_2_with_decorations_type_response_body.py +36 -0
  1616. samsara/types/trailer_stat_reefer_door_state_zone_2_with_decorations_type_response_body_value.py +7 -0
  1617. samsara/types/trailer_stat_reefer_door_state_zone_3_type_response_body.py +34 -0
  1618. samsara/types/trailer_stat_reefer_door_state_zone_3_type_response_body_value.py +5 -0
  1619. samsara/types/trailer_stat_reefer_door_state_zone_3_with_decorations_type_response_body.py +36 -0
  1620. samsara/types/trailer_stat_reefer_door_state_zone_3_with_decorations_type_response_body_value.py +7 -0
  1621. samsara/types/trailer_stat_reefer_fuel_percent_type_response_body.py +31 -0
  1622. samsara/types/trailer_stat_reefer_fuel_percent_with_decorations_type_response_body.py +33 -0
  1623. samsara/types/trailer_stat_reefer_obd_engine_seconds_type_response_body.py +31 -0
  1624. samsara/types/trailer_stat_reefer_obd_engine_seconds_with_decorations_type_response_body.py +33 -0
  1625. samsara/types/trailer_stat_reefer_return_air_temperature_milli_c_zone_1_type_response_body.py +31 -0
  1626. samsara/types/trailer_stat_reefer_return_air_temperature_milli_c_zone_1_with_decorations_type_response_body.py +33 -0
  1627. samsara/types/trailer_stat_reefer_return_air_temperature_milli_c_zone_2_type_response_body.py +31 -0
  1628. samsara/types/trailer_stat_reefer_return_air_temperature_milli_c_zone_2_with_decorations_type_response_body.py +33 -0
  1629. samsara/types/trailer_stat_reefer_return_air_temperature_milli_c_zone_3_type_response_body.py +31 -0
  1630. samsara/types/trailer_stat_reefer_return_air_temperature_milli_c_zone_3_with_decorations_type_response_body.py +33 -0
  1631. samsara/types/trailer_stat_reefer_run_mode_type_response_body.py +31 -0
  1632. samsara/types/trailer_stat_reefer_run_mode_with_decorations_type_response_body.py +33 -0
  1633. samsara/types/trailer_stat_reefer_set_point_temperature_milli_c_zone_1_type_response_body.py +31 -0
  1634. samsara/types/trailer_stat_reefer_set_point_temperature_milli_c_zone_1_with_decorations_type_response_body.py +33 -0
  1635. samsara/types/trailer_stat_reefer_set_point_temperature_milli_c_zone_2_type_response_body.py +31 -0
  1636. samsara/types/trailer_stat_reefer_set_point_temperature_milli_c_zone_2_with_decorations_type_response_body.py +33 -0
  1637. samsara/types/trailer_stat_reefer_set_point_temperature_milli_c_zone_3_type_response_body.py +31 -0
  1638. samsara/types/trailer_stat_reefer_set_point_temperature_milli_c_zone_3_with_decorations_type_response_body.py +33 -0
  1639. samsara/types/trailer_stat_reefer_state_type_response_body.py +40 -0
  1640. samsara/types/trailer_stat_reefer_state_with_decorations_type_response_body.py +42 -0
  1641. samsara/types/trailer_stat_reefer_state_zone_1_type_response_body.py +40 -0
  1642. samsara/types/trailer_stat_reefer_state_zone_1_with_decorations_type_response_body.py +42 -0
  1643. samsara/types/trailer_stat_reefer_state_zone_2_type_response_body.py +40 -0
  1644. samsara/types/trailer_stat_reefer_state_zone_2_with_decorations_type_response_body.py +42 -0
  1645. samsara/types/trailer_stat_reefer_state_zone_3_type_response_body.py +40 -0
  1646. samsara/types/trailer_stat_reefer_state_zone_3_with_decorations_type_response_body.py +42 -0
  1647. samsara/types/trailer_stat_reefer_supply_air_temperature_milli_c_zone_1_type_response_body.py +31 -0
  1648. samsara/types/trailer_stat_reefer_supply_air_temperature_milli_c_zone_1_with_decorations_type_response_body.py +33 -0
  1649. samsara/types/trailer_stat_reefer_supply_air_temperature_milli_c_zone_2_type_response_body.py +31 -0
  1650. samsara/types/trailer_stat_reefer_supply_air_temperature_milli_c_zone_2_with_decorations_type_response_body.py +33 -0
  1651. samsara/types/trailer_stat_reefer_supply_air_temperature_milli_c_zone_3_type_response_body.py +31 -0
  1652. samsara/types/trailer_stat_reefer_supply_air_temperature_milli_c_zone_3_with_decorations_type_response_body.py +33 -0
  1653. samsara/types/trailer_stats_get_trailer_stats_feed_bad_gateway_error_response_body.py +33 -0
  1654. samsara/types/trailer_stats_get_trailer_stats_feed_gateway_timeout_error_response_body.py +33 -0
  1655. samsara/types/trailer_stats_get_trailer_stats_feed_internal_server_error_response_body.py +33 -0
  1656. samsara/types/trailer_stats_get_trailer_stats_feed_method_not_allowed_error_response_body.py +33 -0
  1657. samsara/types/trailer_stats_get_trailer_stats_feed_not_found_error_response_body.py +33 -0
  1658. samsara/types/trailer_stats_get_trailer_stats_feed_not_implemented_error_response_body.py +33 -0
  1659. samsara/types/trailer_stats_get_trailer_stats_feed_response_body.py +26 -0
  1660. samsara/types/trailer_stats_get_trailer_stats_feed_service_unavailable_error_response_body.py +33 -0
  1661. samsara/types/trailer_stats_get_trailer_stats_feed_too_many_requests_error_response_body.py +33 -0
  1662. samsara/types/trailer_stats_get_trailer_stats_feed_unauthorized_error_response_body.py +33 -0
  1663. samsara/types/trailer_stats_get_trailer_stats_history_bad_gateway_error_response_body.py +33 -0
  1664. samsara/types/trailer_stats_get_trailer_stats_history_gateway_timeout_error_response_body.py +33 -0
  1665. samsara/types/trailer_stats_get_trailer_stats_history_internal_server_error_response_body.py +33 -0
  1666. samsara/types/trailer_stats_get_trailer_stats_history_method_not_allowed_error_response_body.py +33 -0
  1667. samsara/types/trailer_stats_get_trailer_stats_history_not_found_error_response_body.py +33 -0
  1668. samsara/types/trailer_stats_get_trailer_stats_history_not_implemented_error_response_body.py +33 -0
  1669. samsara/types/trailer_stats_get_trailer_stats_history_response_body.py +26 -0
  1670. samsara/types/trailer_stats_get_trailer_stats_history_service_unavailable_error_response_body.py +33 -0
  1671. samsara/types/trailer_stats_get_trailer_stats_history_too_many_requests_error_response_body.py +33 -0
  1672. samsara/types/trailer_stats_get_trailer_stats_history_unauthorized_error_response_body.py +33 -0
  1673. samsara/types/trailer_stats_get_trailer_stats_snapshot_bad_gateway_error_response_body.py +33 -0
  1674. samsara/types/trailer_stats_get_trailer_stats_snapshot_gateway_timeout_error_response_body.py +33 -0
  1675. samsara/types/trailer_stats_get_trailer_stats_snapshot_internal_server_error_response_body.py +33 -0
  1676. samsara/types/trailer_stats_get_trailer_stats_snapshot_method_not_allowed_error_response_body.py +33 -0
  1677. samsara/types/trailer_stats_get_trailer_stats_snapshot_not_found_error_response_body.py +33 -0
  1678. samsara/types/trailer_stats_get_trailer_stats_snapshot_not_implemented_error_response_body.py +33 -0
  1679. samsara/types/trailer_stats_get_trailer_stats_snapshot_response_body.py +26 -0
  1680. samsara/types/trailer_stats_get_trailer_stats_snapshot_service_unavailable_error_response_body.py +33 -0
  1681. samsara/types/trailer_stats_get_trailer_stats_snapshot_too_many_requests_error_response_body.py +33 -0
  1682. samsara/types/trailer_stats_get_trailer_stats_snapshot_unauthorized_error_response_body.py +33 -0
  1683. samsara/types/trailer_stats_object_response_body.py +281 -0
  1684. samsara/types/trailer_stats_snapshot_object_response_body.py +155 -0
  1685. samsara/types/training_assignment_near_due_date_trigger_assignment_group_object_request_body.py +41 -0
  1686. samsara/types/training_assignment_near_due_date_trigger_assignment_group_object_request_body_assignment_group_type.py +7 -0
  1687. samsara/types/training_assignment_near_due_date_trigger_assignment_group_object_response_body.py +41 -0
  1688. samsara/types/training_assignment_near_due_date_trigger_assignment_group_object_response_body_assignment_group_type.py +7 -0
  1689. samsara/types/training_assignment_near_due_date_trigger_details_object_request_body.py +55 -0
  1690. samsara/types/training_assignment_near_due_date_trigger_details_object_request_body_condition_units.py +7 -0
  1691. samsara/types/training_assignment_near_due_date_trigger_details_object_response_body.py +55 -0
  1692. samsara/types/training_assignment_near_due_date_trigger_details_object_response_body_condition_units.py +7 -0
  1693. samsara/types/training_assignment_post_response_object_response_body.py +58 -0
  1694. samsara/types/training_assignments_delete_training_assignments_bad_gateway_error_response_body.py +33 -0
  1695. samsara/types/training_assignments_delete_training_assignments_gateway_timeout_error_response_body.py +33 -0
  1696. samsara/types/training_assignments_delete_training_assignments_internal_server_error_response_body.py +33 -0
  1697. samsara/types/training_assignments_delete_training_assignments_method_not_allowed_error_response_body.py +33 -0
  1698. samsara/types/training_assignments_delete_training_assignments_not_found_error_response_body.py +33 -0
  1699. samsara/types/training_assignments_delete_training_assignments_not_implemented_error_response_body.py +33 -0
  1700. samsara/types/training_assignments_delete_training_assignments_service_unavailable_error_response_body.py +33 -0
  1701. samsara/types/training_assignments_delete_training_assignments_too_many_requests_error_response_body.py +33 -0
  1702. samsara/types/training_assignments_delete_training_assignments_unauthorized_error_response_body.py +33 -0
  1703. samsara/types/training_assignments_patch_training_assignments_bad_gateway_error_response_body.py +33 -0
  1704. samsara/types/training_assignments_patch_training_assignments_gateway_timeout_error_response_body.py +33 -0
  1705. samsara/types/training_assignments_patch_training_assignments_internal_server_error_response_body.py +33 -0
  1706. samsara/types/training_assignments_patch_training_assignments_method_not_allowed_error_response_body.py +33 -0
  1707. samsara/types/training_assignments_patch_training_assignments_not_found_error_response_body.py +33 -0
  1708. samsara/types/training_assignments_patch_training_assignments_not_implemented_error_response_body.py +33 -0
  1709. samsara/types/training_assignments_patch_training_assignments_response_body.py +23 -0
  1710. samsara/types/training_assignments_patch_training_assignments_service_unavailable_error_response_body.py +33 -0
  1711. samsara/types/training_assignments_patch_training_assignments_too_many_requests_error_response_body.py +33 -0
  1712. samsara/types/training_assignments_patch_training_assignments_unauthorized_error_response_body.py +33 -0
  1713. samsara/types/training_assignments_post_training_assignments_bad_gateway_error_response_body.py +33 -0
  1714. samsara/types/training_assignments_post_training_assignments_gateway_timeout_error_response_body.py +33 -0
  1715. samsara/types/training_assignments_post_training_assignments_internal_server_error_response_body.py +33 -0
  1716. samsara/types/training_assignments_post_training_assignments_method_not_allowed_error_response_body.py +33 -0
  1717. samsara/types/training_assignments_post_training_assignments_not_found_error_response_body.py +33 -0
  1718. samsara/types/training_assignments_post_training_assignments_not_implemented_error_response_body.py +33 -0
  1719. samsara/types/training_assignments_post_training_assignments_response_body.py +23 -0
  1720. samsara/types/training_assignments_post_training_assignments_service_unavailable_error_response_body.py +33 -0
  1721. samsara/types/training_assignments_post_training_assignments_too_many_requests_error_response_body.py +33 -0
  1722. samsara/types/training_assignments_post_training_assignments_unauthorized_error_response_body.py +33 -0
  1723. samsara/types/training_courses_get_training_courses_bad_gateway_error_response_body.py +33 -0
  1724. samsara/types/training_courses_get_training_courses_gateway_timeout_error_response_body.py +33 -0
  1725. samsara/types/training_courses_get_training_courses_internal_server_error_response_body.py +33 -0
  1726. samsara/types/training_courses_get_training_courses_method_not_allowed_error_response_body.py +33 -0
  1727. samsara/types/training_courses_get_training_courses_not_found_error_response_body.py +33 -0
  1728. samsara/types/training_courses_get_training_courses_not_implemented_error_response_body.py +33 -0
  1729. samsara/types/training_courses_get_training_courses_response_body.py +26 -0
  1730. samsara/types/training_courses_get_training_courses_service_unavailable_error_response_body.py +33 -0
  1731. samsara/types/training_courses_get_training_courses_too_many_requests_error_response_body.py +33 -0
  1732. samsara/types/training_courses_get_training_courses_unauthorized_error_response_body.py +33 -0
  1733. samsara/types/trigger_params_object_request_body.py +5 -1
  1734. samsara/types/trigger_params_object_response_body.py +5 -1
  1735. samsara/types/trips_breakdown_response_body.py +67 -0
  1736. samsara/types/unit_response_body.py +2 -2
  1737. samsara/types/unit_response_body_base_unit.py +15 -0
  1738. samsara/types/unit_response_body_measurement_type.py +4 -0
  1739. samsara/types/update_engine_immobilizer_relay_state_request_body_request_body.py +36 -0
  1740. samsara/types/update_engine_immobilizer_relay_state_request_body_request_body_id.py +5 -0
  1741. samsara/types/update_hub_location_request_body_request_body.py +93 -0
  1742. samsara/types/uploaded_media_object_response_body.py +9 -1
  1743. samsara/types/uploaded_media_object_response_body_camera_role.py +28 -0
  1744. samsara/types/uploaded_media_object_response_body_input.py +2 -1
  1745. samsara/types/v_1_asset.py +56 -0
  1746. samsara/types/v_1_asset_cable.py +30 -0
  1747. samsara/types/v_1_asset_current_location.py +52 -0
  1748. samsara/types/v_1_asset_current_locations_response.py +55 -0
  1749. samsara/types/v_1_asset_location_response.py +7 -0
  1750. samsara/types/v_1_asset_location_response_item.py +50 -0
  1751. samsara/types/v_1_asset_reefer_response.py +45 -0
  1752. samsara/types/v_1_asset_reefer_response_reefer_stats.py +67 -0
  1753. samsara/types/v_1_asset_reefer_response_reefer_stats_alarms.py +43 -0
  1754. samsara/types/v_1_asset_reefer_response_reefer_stats_alarms_1.py +28 -0
  1755. samsara/types/v_1_asset_reefer_response_reefer_stats_engine_hours.py +33 -0
  1756. samsara/types/v_1_asset_reefer_response_reefer_stats_fuel_percentage.py +33 -0
  1757. samsara/types/v_1_asset_reefer_response_reefer_stats_power_status.py +31 -0
  1758. samsara/types/v_1_asset_reefer_response_reefer_stats_return_air_temp.py +33 -0
  1759. samsara/types/v_1_asset_reefer_response_reefer_stats_set_point.py +33 -0
  1760. samsara/types/v_1_assets_reefer.py +45 -0
  1761. samsara/types/v_1_assets_reefer_reefer_stats.py +91 -0
  1762. samsara/types/v_1_assets_reefer_reefer_stats_ambient_air_temperature.py +33 -0
  1763. samsara/types/v_1_assets_reefer_reefer_stats_discharge_air_temperature.py +33 -0
  1764. samsara/types/v_1_assets_reefer_reefer_stats_power_status.py +32 -0
  1765. samsara/types/v_1_assets_reefer_reefer_stats_power_status_status.py +7 -0
  1766. samsara/types/v_1_cargo_response.py +33 -0
  1767. samsara/types/v_1_cargo_response_sensors.py +64 -0
  1768. samsara/types/v_1_door_response.py +33 -0
  1769. samsara/types/v_1_door_response_sensors.py +57 -0
  1770. samsara/types/v_1_driver_safety_score_response.py +104 -0
  1771. samsara/types/v_1_hos_authentication_logs_response.py +25 -0
  1772. samsara/types/v_1_hos_authentication_logs_response_authentication_logs.py +55 -0
  1773. samsara/types/v_1_humidity_response.py +33 -0
  1774. samsara/types/v_1_humidity_response_sensors.py +55 -0
  1775. samsara/types/v_1_machine.py +36 -0
  1776. samsara/types/v_1_machine_history_response.py +24 -0
  1777. samsara/types/v_1_machine_history_response_machines.py +33 -0
  1778. samsara/types/v_1_machine_history_response_vibrations.py +24 -0
  1779. samsara/types/v_1_pagination.py +39 -0
  1780. samsara/types/v_1_programs_for_the_camera_response.py +7 -0
  1781. samsara/types/v_1_programs_for_the_camera_response_item.py +22 -0
  1782. samsara/types/v_1_safety_report_harsh_event.py +44 -0
  1783. samsara/types/v_1_sensor.py +40 -0
  1784. samsara/types/v_1_sensor_history_response.py +24 -0
  1785. samsara/types/v_1_sensor_history_response_results.py +31 -0
  1786. samsara/types/v_1_sensors_history_series.py +34 -0
  1787. samsara/types/v_1_sensors_history_series_field.py +25 -0
  1788. samsara/types/v_1_temperature_response.py +33 -0
  1789. samsara/types/v_1_temperature_response_sensors.py +71 -0
  1790. samsara/types/v_1_trailer_assignment_response.py +40 -0
  1791. samsara/types/v_1_trailer_assignments_response.py +19 -0
  1792. samsara/types/v_1_trailer_assignments_response_all_of.py +24 -0
  1793. samsara/types/v_1_trailer_base.py +27 -0
  1794. samsara/types/v_1_trip_response.py +24 -0
  1795. samsara/types/v_1_trip_response_end_address.py +36 -0
  1796. samsara/types/v_1_trip_response_end_coordinates.py +24 -0
  1797. samsara/types/v_1_trip_response_start_address.py +36 -0
  1798. samsara/types/v_1_trip_response_start_coordinates.py +24 -0
  1799. samsara/types/v_1_trip_response_trips.py +119 -0
  1800. samsara/types/v_1_vehicle_harsh_event_response.py +64 -0
  1801. samsara/types/v_1_vehicle_harsh_event_response_location.py +32 -0
  1802. samsara/types/v_1_vehicle_maintenance.py +33 -0
  1803. samsara/types/v_1_vehicle_maintenance_j_1939.py +36 -0
  1804. samsara/types/v_1_vehicle_maintenance_j_1939_check_engine_light.py +28 -0
  1805. samsara/types/v_1_vehicle_maintenance_j_1939_diagnostic_trouble_codes.py +26 -0
  1806. samsara/types/v_1_vehicle_maintenance_passenger.py +38 -0
  1807. samsara/types/v_1_vehicle_maintenance_passenger_check_engine_light.py +25 -0
  1808. samsara/types/v_1_vehicle_maintenance_passenger_diagnostic_trouble_codes.py +23 -0
  1809. samsara/types/v_1_vehicle_safety_score_response.py +104 -0
  1810. samsara/types/v_1_vision_cameras_response.py +7 -0
  1811. samsara/types/v_1_vision_cameras_response_item.py +24 -0
  1812. samsara/types/v_1_vision_run_by_camera_response.py +35 -0
  1813. samsara/types/v_1_vision_run_by_camera_response_inspection_results.py +26 -0
  1814. samsara/types/v_1_vision_run_by_camera_response_program.py +20 -0
  1815. samsara/types/v_1_vision_run_by_camera_response_run_summary.py +24 -0
  1816. samsara/types/v_1_vision_runs_by_camera_and_program_response.py +30 -0
  1817. samsara/types/v_1_vision_runs_by_camera_response.py +7 -0
  1818. samsara/types/v_1_vision_runs_by_camera_response_item.py +29 -0
  1819. samsara/types/v_1_vision_runs_by_camera_response_item_program.py +20 -0
  1820. samsara/types/v_1_vision_runs_by_camera_response_item_report_metadata.py +24 -0
  1821. samsara/types/v_1_vision_runs_response.py +24 -0
  1822. samsara/types/v_1_vision_runs_response_report_metadata.py +51 -0
  1823. samsara/types/v_1_vision_runs_response_vision_runs.py +28 -0
  1824. samsara/types/v_1_vision_step_results.py +7 -0
  1825. samsara/types/v_1_vision_step_results_item.py +68 -0
  1826. samsara/types/v_1_vision_step_results_item_angle_check.py +48 -0
  1827. samsara/types/v_1_vision_step_results_item_angle_check_angle_configured.py +24 -0
  1828. samsara/types/v_1_vision_step_results_item_barcode_item.py +23 -0
  1829. samsara/types/v_1_vision_step_results_item_boolean_logic.py +21 -0
  1830. samsara/types/v_1_vision_step_results_item_boolean_logic_steps_item.py +20 -0
  1831. samsara/types/v_1_vision_step_results_item_caliper.py +85 -0
  1832. samsara/types/v_1_vision_step_results_item_caliper_angle_range.py +24 -0
  1833. samsara/types/v_1_vision_step_results_item_caliper_contrast_range.py +24 -0
  1834. samsara/types/v_1_vision_step_results_item_caliper_filter_polarity.py +7 -0
  1835. samsara/types/v_1_vision_step_results_item_caliper_sharpness_range.py +24 -0
  1836. samsara/types/v_1_vision_step_results_item_caliper_straightness_range.py +24 -0
  1837. samsara/types/v_1_vision_step_results_item_contour.py +47 -0
  1838. samsara/types/v_1_vision_step_results_item_distance.py +87 -0
  1839. samsara/types/v_1_vision_step_results_item_expiration_date.py +23 -0
  1840. samsara/types/v_1_vision_step_results_item_find_copies.py +52 -0
  1841. samsara/types/v_1_vision_step_results_item_find_edge.py +86 -0
  1842. samsara/types/v_1_vision_step_results_item_find_edge_angle_range.py +24 -0
  1843. samsara/types/v_1_vision_step_results_item_find_edge_contrast_range.py +24 -0
  1844. samsara/types/v_1_vision_step_results_item_find_edge_sharpness_range.py +24 -0
  1845. samsara/types/v_1_vision_step_results_item_find_edge_straightness_range.py +24 -0
  1846. samsara/types/v_1_vision_step_results_item_find_shapes.py +23 -0
  1847. samsara/types/v_1_vision_step_results_item_fixture.py +24 -0
  1848. samsara/types/v_1_vision_step_results_item_fixture_coordinates.py +20 -0
  1849. samsara/types/v_1_vision_step_results_item_label_match.py +20 -0
  1850. samsara/types/v_1_vision_step_results_item_presence_absence.py +55 -0
  1851. samsara/types/v_1_vision_step_results_item_presence_absence_blue_range.py +20 -0
  1852. samsara/types/v_1_vision_step_results_item_presence_absence_grayscale_range.py +20 -0
  1853. samsara/types/v_1_vision_step_results_item_presence_absence_green_range.py +20 -0
  1854. samsara/types/v_1_vision_step_results_item_presence_absence_hue_range.py +20 -0
  1855. samsara/types/v_1_vision_step_results_item_presence_absence_red_range.py +20 -0
  1856. samsara/types/v_1_vision_step_results_item_presence_absence_saturation_range.py +20 -0
  1857. samsara/types/v_1_vision_step_results_item_presence_absence_value_range.py +20 -0
  1858. samsara/types/v_1_vision_step_results_item_text_match.py +22 -0
  1859. samsara/types/vehicle_fault_code_details_object_request_body.py +7 -0
  1860. samsara/types/vehicle_fault_code_details_object_response_body.py +7 -0
  1861. samsara/types/vehicle_safety_score_response_body.py +59 -0
  1862. samsara/types/vehicle_stats_decorations.py +9 -0
  1863. samsara/types/vehicle_stats_decorations_fuel_consumed_milliliters.py +20 -0
  1864. samsara/types/vehicle_stats_decorations_idling_duration_milliseconds.py +20 -0
  1865. samsara/types/vehicle_stats_fuel_consumed_milliliters.py +28 -0
  1866. samsara/types/vehicle_stats_fuel_consumed_milliliters_value.py +3 -0
  1867. samsara/types/vehicle_stats_fuel_consumed_milliliters_with_decoration.py +30 -0
  1868. samsara/types/vehicle_stats_idling_duration_milliseconds.py +28 -0
  1869. samsara/types/vehicle_stats_idling_duration_milliseconds_value.py +3 -0
  1870. samsara/types/vehicle_stats_idling_duration_milliseconds_with_decoration.py +30 -0
  1871. samsara/types/vehicle_stats_list_response_data.py +20 -0
  1872. samsara/types/vehicle_stats_response_data.py +8 -0
  1873. samsara/types/vehicle_stats_synthetic_engine_seconds.py +1 -1
  1874. samsara/types/vehicle_summary.py +68 -0
  1875. samsara/types/vehicles_driver_assignments_get_vehicles_driver_assignments_bad_gateway_error_response_body.py +33 -0
  1876. samsara/types/vehicles_driver_assignments_get_vehicles_driver_assignments_gateway_timeout_error_response_body.py +33 -0
  1877. samsara/types/vehicles_driver_assignments_get_vehicles_driver_assignments_internal_server_error_response_body.py +33 -0
  1878. samsara/types/vehicles_driver_assignments_get_vehicles_driver_assignments_method_not_allowed_error_response_body.py +33 -0
  1879. samsara/types/vehicles_driver_assignments_get_vehicles_driver_assignments_not_found_error_response_body.py +33 -0
  1880. samsara/types/vehicles_driver_assignments_get_vehicles_driver_assignments_not_implemented_error_response_body.py +33 -0
  1881. samsara/types/vehicles_driver_assignments_get_vehicles_driver_assignments_response_body.py +26 -0
  1882. samsara/types/vehicles_driver_assignments_get_vehicles_driver_assignments_service_unavailable_error_response_body.py +33 -0
  1883. samsara/types/vehicles_driver_assignments_get_vehicles_driver_assignments_too_many_requests_error_response_body.py +33 -0
  1884. samsara/types/vehicles_driver_assignments_get_vehicles_driver_assignments_unauthorized_error_response_body.py +33 -0
  1885. samsara/types/vehicles_lock_lock_vehicle_bad_gateway_error_response_body.py +33 -0
  1886. samsara/types/vehicles_lock_lock_vehicle_gateway_timeout_error_response_body.py +33 -0
  1887. samsara/types/vehicles_lock_lock_vehicle_internal_server_error_response_body.py +33 -0
  1888. samsara/types/vehicles_lock_lock_vehicle_method_not_allowed_error_response_body.py +33 -0
  1889. samsara/types/vehicles_lock_lock_vehicle_not_found_error_response_body.py +33 -0
  1890. samsara/types/vehicles_lock_lock_vehicle_not_implemented_error_response_body.py +33 -0
  1891. samsara/types/vehicles_lock_lock_vehicle_service_unavailable_error_response_body.py +33 -0
  1892. samsara/types/vehicles_lock_lock_vehicle_too_many_requests_error_response_body.py +33 -0
  1893. samsara/types/vehicles_lock_lock_vehicle_unauthorized_error_response_body.py +33 -0
  1894. samsara/types/vehicles_lock_unlock_vehicle_bad_gateway_error_response_body.py +33 -0
  1895. samsara/types/vehicles_lock_unlock_vehicle_gateway_timeout_error_response_body.py +33 -0
  1896. samsara/types/vehicles_lock_unlock_vehicle_internal_server_error_response_body.py +33 -0
  1897. samsara/types/vehicles_lock_unlock_vehicle_method_not_allowed_error_response_body.py +33 -0
  1898. samsara/types/vehicles_lock_unlock_vehicle_not_found_error_response_body.py +33 -0
  1899. samsara/types/vehicles_lock_unlock_vehicle_not_implemented_error_response_body.py +33 -0
  1900. samsara/types/vehicles_lock_unlock_vehicle_service_unavailable_error_response_body.py +33 -0
  1901. samsara/types/vehicles_lock_unlock_vehicle_too_many_requests_error_response_body.py +33 -0
  1902. samsara/types/vehicles_lock_unlock_vehicle_unauthorized_error_response_body.py +33 -0
  1903. samsara/types/webhook_response_response_body_event_types_item.py +2 -0
  1904. samsara/types/webhooks_get_webhook_response_body_event_types_item.py +2 -0
  1905. samsara/types/webhooks_patch_webhook_response_body_event_types_item.py +2 -0
  1906. samsara/types/webhooks_post_webhooks_response_body_event_types_item.py +2 -0
  1907. samsara/types/work_order_object_response_body.py +21 -0
  1908. samsara/types/work_order_tax_create_object_request_body.py +33 -0
  1909. samsara/types/work_orders_delete_work_orders_bad_gateway_error_response_body.py +33 -0
  1910. samsara/types/work_orders_delete_work_orders_gateway_timeout_error_response_body.py +33 -0
  1911. samsara/types/work_orders_delete_work_orders_internal_server_error_response_body.py +33 -0
  1912. samsara/types/work_orders_delete_work_orders_method_not_allowed_error_response_body.py +33 -0
  1913. samsara/types/work_orders_delete_work_orders_not_found_error_response_body.py +33 -0
  1914. samsara/types/work_orders_delete_work_orders_not_implemented_error_response_body.py +33 -0
  1915. samsara/types/work_orders_delete_work_orders_service_unavailable_error_response_body.py +33 -0
  1916. samsara/types/work_orders_delete_work_orders_too_many_requests_error_response_body.py +33 -0
  1917. samsara/types/work_orders_delete_work_orders_unauthorized_error_response_body.py +33 -0
  1918. samsara/types/work_orders_get_service_tasks_bad_gateway_error_response_body.py +33 -0
  1919. samsara/types/work_orders_get_service_tasks_gateway_timeout_error_response_body.py +33 -0
  1920. samsara/types/work_orders_get_service_tasks_internal_server_error_response_body.py +33 -0
  1921. samsara/types/work_orders_get_service_tasks_method_not_allowed_error_response_body.py +33 -0
  1922. samsara/types/work_orders_get_service_tasks_not_found_error_response_body.py +33 -0
  1923. samsara/types/work_orders_get_service_tasks_not_implemented_error_response_body.py +33 -0
  1924. samsara/types/work_orders_get_service_tasks_response_body.py +26 -0
  1925. samsara/types/work_orders_get_service_tasks_service_unavailable_error_response_body.py +33 -0
  1926. samsara/types/work_orders_get_service_tasks_too_many_requests_error_response_body.py +33 -0
  1927. samsara/types/work_orders_get_service_tasks_unauthorized_error_response_body.py +33 -0
  1928. samsara/types/work_orders_get_work_orders_bad_gateway_error_response_body.py +33 -0
  1929. samsara/types/work_orders_get_work_orders_gateway_timeout_error_response_body.py +33 -0
  1930. samsara/types/work_orders_get_work_orders_internal_server_error_response_body.py +33 -0
  1931. samsara/types/work_orders_get_work_orders_method_not_allowed_error_response_body.py +33 -0
  1932. samsara/types/work_orders_get_work_orders_not_found_error_response_body.py +33 -0
  1933. samsara/types/work_orders_get_work_orders_not_implemented_error_response_body.py +33 -0
  1934. samsara/types/work_orders_get_work_orders_response_body.py +26 -0
  1935. samsara/types/work_orders_get_work_orders_service_unavailable_error_response_body.py +33 -0
  1936. samsara/types/work_orders_get_work_orders_too_many_requests_error_response_body.py +33 -0
  1937. samsara/types/work_orders_get_work_orders_unauthorized_error_response_body.py +33 -0
  1938. samsara/types/work_orders_patch_work_orders_bad_gateway_error_response_body.py +33 -0
  1939. samsara/types/work_orders_patch_work_orders_gateway_timeout_error_response_body.py +33 -0
  1940. samsara/types/work_orders_patch_work_orders_internal_server_error_response_body.py +33 -0
  1941. samsara/types/work_orders_patch_work_orders_method_not_allowed_error_response_body.py +33 -0
  1942. samsara/types/work_orders_patch_work_orders_not_found_error_response_body.py +33 -0
  1943. samsara/types/work_orders_patch_work_orders_not_implemented_error_response_body.py +33 -0
  1944. samsara/types/work_orders_patch_work_orders_response_body.py +20 -0
  1945. samsara/types/work_orders_patch_work_orders_service_unavailable_error_response_body.py +33 -0
  1946. samsara/types/work_orders_patch_work_orders_too_many_requests_error_response_body.py +33 -0
  1947. samsara/types/work_orders_patch_work_orders_unauthorized_error_response_body.py +33 -0
  1948. samsara/types/work_orders_post_work_orders_bad_gateway_error_response_body.py +33 -0
  1949. samsara/types/work_orders_post_work_orders_gateway_timeout_error_response_body.py +33 -0
  1950. samsara/types/work_orders_post_work_orders_internal_server_error_response_body.py +33 -0
  1951. samsara/types/work_orders_post_work_orders_method_not_allowed_error_response_body.py +33 -0
  1952. samsara/types/work_orders_post_work_orders_not_found_error_response_body.py +33 -0
  1953. samsara/types/work_orders_post_work_orders_not_implemented_error_response_body.py +33 -0
  1954. samsara/types/work_orders_post_work_orders_response_body.py +20 -0
  1955. samsara/types/work_orders_post_work_orders_service_unavailable_error_response_body.py +33 -0
  1956. samsara/types/work_orders_post_work_orders_too_many_requests_error_response_body.py +33 -0
  1957. samsara/types/work_orders_post_work_orders_unauthorized_error_response_body.py +33 -0
  1958. samsara/types/work_orders_stream_work_orders_bad_gateway_error_response_body.py +33 -0
  1959. samsara/types/work_orders_stream_work_orders_gateway_timeout_error_response_body.py +33 -0
  1960. samsara/types/work_orders_stream_work_orders_internal_server_error_response_body.py +33 -0
  1961. samsara/types/work_orders_stream_work_orders_method_not_allowed_error_response_body.py +33 -0
  1962. samsara/types/work_orders_stream_work_orders_not_found_error_response_body.py +33 -0
  1963. samsara/types/work_orders_stream_work_orders_not_implemented_error_response_body.py +33 -0
  1964. samsara/types/work_orders_stream_work_orders_response_body.py +26 -0
  1965. samsara/types/work_orders_stream_work_orders_service_unavailable_error_response_body.py +33 -0
  1966. samsara/types/work_orders_stream_work_orders_too_many_requests_error_response_body.py +33 -0
  1967. samsara/types/work_orders_stream_work_orders_unauthorized_error_response_body.py +33 -0
  1968. samsara/types/workflow_incident_details_object_response_body.py +4 -0
  1969. samsara/users/__init__.py +28 -1
  1970. samsara/users/client.py +147 -51
  1971. samsara/users/raw_client.py +138 -61
  1972. samsara/users/types/__init__.py +32 -2
  1973. samsara/vehicle_locations/client.py +485 -0
  1974. samsara/vehicle_locations/raw_client.py +472 -0
  1975. samsara/vehicle_stats/__init__.py +52 -0
  1976. samsara/vehicle_stats/client.py +1092 -0
  1977. samsara/vehicle_stats/raw_client.py +1091 -0
  1978. samsara/vehicle_stats/types/__init__.py +50 -0
  1979. samsara/vehicle_stats/types/get_vehicle_stats_feed_request_decorations_item.py +57 -0
  1980. samsara/vehicle_stats/types/get_vehicle_stats_feed_request_types_item.py +71 -0
  1981. samsara/vehicle_stats/types/get_vehicle_stats_history_request_decorations_item.py +57 -0
  1982. samsara/vehicle_stats/types/get_vehicle_stats_history_request_types_item.py +71 -0
  1983. samsara/vehicle_stats/types/get_vehicle_stats_request_types_item.py +71 -0
  1984. samsara/vehicles/__init__.py +58 -32
  1985. samsara/vehicles/client.py +20 -17
  1986. samsara/vehicles/raw_client.py +2 -2
  1987. samsara/vehicles/types/__init__.py +56 -14
  1988. samsara/webhooks/__init__.py +36 -5
  1989. samsara/webhooks/client.py +47 -47
  1990. samsara/webhooks/raw_client.py +18 -51
  1991. samsara/webhooks/types/__init__.py +34 -3
  1992. samsara/webhooks/types/webhooks_post_webhooks_request_body_event_types_item.py +2 -0
  1993. samsara/work_orders/__init__.py +55 -0
  1994. samsara/work_orders/client.py +995 -0
  1995. samsara/work_orders/raw_client.py +2258 -0
  1996. samsara/work_orders/types/__init__.py +53 -0
  1997. samsara/work_orders/types/stream_work_orders_request_work_order_statuses_item.py +18 -0
  1998. samsara_api-4.0.0.dist-info/METADATA +238 -0
  1999. samsara_api-4.0.0.dist-info/RECORD +3387 -0
  2000. samsara/alerts/configurations/__init__.py +0 -7
  2001. samsara/alerts/configurations/client.py +0 -720
  2002. samsara/alerts/configurations/raw_client.py +0 -1552
  2003. samsara/alerts/configurations/types/__init__.py +0 -7
  2004. samsara/alerts/configurations/types/configurations_list_request_status.py +0 -5
  2005. samsara/alerts/incidents/client.py +0 -180
  2006. samsara/alerts/incidents/raw_client.py +0 -396
  2007. samsara/assets/location_and_speed/client.py +0 -226
  2008. samsara/assets/location_and_speed/raw_client.py +0 -458
  2009. samsara/attributes/types/attributes_delete_request_entity_type.py +0 -5
  2010. samsara/attributes/types/attributes_get_request_entity_type.py +0 -5
  2011. samsara/attributes/types/attributes_list_request_entity_type.py +0 -5
  2012. samsara/attributes/types/create_attribute_request_attribute_value_quantity.py +0 -5
  2013. samsara/attributes/types/update_attribute_request_attribute_value_quantity.py +0 -5
  2014. samsara/auth/__init__.py +0 -8
  2015. samsara/auth/client.py +0 -39
  2016. samsara/auth/raw_client.py +0 -13
  2017. samsara/auth/tokens/__init__.py +0 -7
  2018. samsara/auth/tokens/client.py +0 -185
  2019. samsara/auth/tokens/raw_client.py +0 -210
  2020. samsara/auth/tokens/types/__init__.py +0 -7
  2021. samsara/auth/tokens/types/create_tokens_response.py +0 -23
  2022. samsara/cameras/__init__.py +0 -13
  2023. samsara/cameras/client.py +0 -39
  2024. samsara/cameras/media/__init__.py +0 -19
  2025. samsara/cameras/media/client.py +0 -232
  2026. samsara/cameras/media/raw_client.py +0 -417
  2027. samsara/cameras/media/retrieval/__init__.py +0 -13
  2028. samsara/cameras/media/retrieval/client.py +0 -286
  2029. samsara/cameras/media/retrieval/raw_client.py +0 -686
  2030. samsara/cameras/media/retrieval/types/__init__.py +0 -15
  2031. samsara/cameras/media/retrieval/types/media_retrieval_post_media_retrieval_request_body_inputs_item.py +0 -7
  2032. samsara/cameras/media/types/__init__.py +0 -9
  2033. samsara/cameras/media/types/media_list_request_inputs_item.py +0 -7
  2034. samsara/cameras/media/types/media_list_request_media_types_item.py +0 -5
  2035. samsara/cameras/media/types/media_list_request_trigger_reasons_item.py +0 -17
  2036. samsara/cameras/raw_client.py +0 -13
  2037. samsara/coaching/driver_coach_assignments/client.py +0 -285
  2038. samsara/coaching/driver_coach_assignments/raw_client.py +0 -716
  2039. samsara/coaching/sessions/client.py +0 -228
  2040. samsara/coaching/sessions/raw_client.py +0 -448
  2041. samsara/defect_types/client.py +0 -156
  2042. samsara/defect_types/raw_client.py +0 -384
  2043. samsara/defects/client.py +0 -583
  2044. samsara/defects/raw_client.py +0 -1028
  2045. samsara/devices/client.py +0 -190
  2046. samsara/devices/raw_client.py +0 -412
  2047. samsara/document_types/client.py +0 -134
  2048. samsara/document_types/raw_client.py +0 -354
  2049. samsara/documents/pdfs/client.py +0 -206
  2050. samsara/documents/pdfs/raw_client.py +0 -212
  2051. samsara/driver_trailer_assignments/client.py +0 -389
  2052. samsara/driver_trailer_assignments/raw_client.py +0 -1044
  2053. samsara/driver_vehicle_assignments/types/driver_vehicle_assignments_get_request_assignment_type.py +0 -10
  2054. samsara/driver_vehicle_assignments/types/driver_vehicle_assignments_get_request_filter_by.py +0 -5
  2055. samsara/drivers/qr_codes/client.py +0 -304
  2056. samsara/drivers/qr_codes/raw_client.py +0 -926
  2057. samsara/drivers/vehicle_assignments/__init__.py +0 -7
  2058. samsara/drivers/vehicle_assignments/client.py +0 -201
  2059. samsara/drivers/vehicle_assignments/raw_client.py +0 -397
  2060. samsara/drivers/vehicle_assignments/types/__init__.py +0 -9
  2061. samsara/drivers/vehicle_assignments/types/vehicle_assignments_list_request_driver_activation_status.py +0 -5
  2062. samsara/dvirs/__init__.py +0 -7
  2063. samsara/dvirs/client.py +0 -775
  2064. samsara/dvirs/raw_client.py +0 -1223
  2065. samsara/dvirs/types/__init__.py +0 -7
  2066. samsara/equipment/locations/client.py +0 -467
  2067. samsara/equipment/locations/raw_client.py +0 -543
  2068. samsara/equipment/stats/__init__.py +0 -7
  2069. samsara/equipment/stats/client.py +0 -602
  2070. samsara/equipment/stats/raw_client.py +0 -684
  2071. samsara/equipment/stats/types/__init__.py +0 -9
  2072. samsara/equipment/stats/types/stats_feed_request_types_item.py +0 -19
  2073. samsara/equipment/stats/types/stats_history_request_types_item.py +0 -19
  2074. samsara/equipment/stats/types/stats_list_request_types_item.py +0 -19
  2075. samsara/form_submissions/__init__.py +0 -8
  2076. samsara/form_submissions/client.py +0 -669
  2077. samsara/form_submissions/pdf_exports/client.py +0 -221
  2078. samsara/form_submissions/pdf_exports/raw_client.py +0 -627
  2079. samsara/form_submissions/raw_client.py +0 -1550
  2080. samsara/form_submissions/types/__init__.py +0 -9
  2081. samsara/fuel_purchases/__init__.py +0 -7
  2082. samsara/fuel_purchases/client.py +0 -219
  2083. samsara/fuel_purchases/raw_client.py +0 -410
  2084. samsara/fuel_purchases/types/__init__.py +0 -9
  2085. samsara/hos/__init__.py +0 -7
  2086. samsara/hos/client.py +0 -695
  2087. samsara/hos/raw_client.py +0 -1177
  2088. samsara/hos/types/__init__.py +0 -7
  2089. samsara/hos/types/hos_daily_logs_request_driver_activation_status.py +0 -5
  2090. samsara/idling/types/idling_list_request_pto_state.py +0 -5
  2091. samsara/ifta/csv/__init__.py +0 -4
  2092. samsara/ifta/csv/client.py +0 -274
  2093. samsara/ifta/csv/raw_client.py +0 -675
  2094. samsara/inputs/__init__.py +0 -7
  2095. samsara/inputs/client.py +0 -223
  2096. samsara/inputs/raw_client.py +0 -445
  2097. samsara/inputs/types/__init__.py +0 -7
  2098. samsara/inputs/types/inputs_stream_request_type.py +0 -27
  2099. samsara/live_shares/__init__.py +0 -7
  2100. samsara/live_shares/client.py +0 -544
  2101. samsara/live_shares/raw_client.py +0 -1418
  2102. samsara/live_shares/types/__init__.py +0 -10
  2103. samsara/live_shares/types/live_shares_list_request_type.py +0 -7
  2104. samsara/maintenance/service_tasks/__init__.py +0 -4
  2105. samsara/maintenance/service_tasks/client.py +0 -322
  2106. samsara/maintenance/service_tasks/raw_client.py +0 -529
  2107. samsara/maintenance/work_orders/__init__.py +0 -21
  2108. samsara/maintenance/work_orders/client.py +0 -867
  2109. samsara/maintenance/work_orders/raw_client.py +0 -1980
  2110. samsara/maintenance/work_orders/types/__init__.py +0 -19
  2111. samsara/maintenance/work_orders/types/work_orders_stream_request_work_order_statuses_item.py +0 -18
  2112. samsara/me/__init__.py +0 -4
  2113. samsara/me/client.py +0 -108
  2114. samsara/me/raw_client.py +0 -99
  2115. samsara/readings/__init__.py +0 -4
  2116. samsara/readings/client.py +0 -524
  2117. samsara/readings/raw_client.py +0 -1214
  2118. samsara/reports/__init__.py +0 -7
  2119. samsara/reports/client.py +0 -49
  2120. samsara/reports/drivers/__init__.py +0 -7
  2121. samsara/reports/drivers/client.py +0 -39
  2122. samsara/reports/drivers/fuel_energy/__init__.py +0 -4
  2123. samsara/reports/drivers/fuel_energy/client.py +0 -194
  2124. samsara/reports/drivers/fuel_energy/raw_client.py +0 -384
  2125. samsara/reports/drivers/raw_client.py +0 -13
  2126. samsara/reports/ifta/__init__.py +0 -18
  2127. samsara/reports/ifta/client.py +0 -44
  2128. samsara/reports/ifta/jurisdiction/__init__.py +0 -7
  2129. samsara/reports/ifta/jurisdiction/client.py +0 -217
  2130. samsara/reports/ifta/jurisdiction/raw_client.py +0 -409
  2131. samsara/reports/ifta/jurisdiction/types/__init__.py +0 -9
  2132. samsara/reports/ifta/jurisdiction/types/jurisdiction_get_request_fuel_type.py +0 -25
  2133. samsara/reports/ifta/jurisdiction/types/jurisdiction_get_request_month.py +0 -21
  2134. samsara/reports/ifta/jurisdiction/types/jurisdiction_get_request_quarter.py +0 -5
  2135. samsara/reports/ifta/raw_client.py +0 -13
  2136. samsara/reports/ifta/vehicle/__init__.py +0 -7
  2137. samsara/reports/ifta/vehicle/client.py +0 -227
  2138. samsara/reports/ifta/vehicle/raw_client.py +0 -419
  2139. samsara/reports/ifta/vehicle/types/__init__.py +0 -9
  2140. samsara/reports/ifta/vehicle/types/vehicle_list_request_fuel_type.py +0 -25
  2141. samsara/reports/ifta/vehicle/types/vehicle_list_request_month.py +0 -21
  2142. samsara/reports/ifta/vehicle/types/vehicle_list_request_quarter.py +0 -5
  2143. samsara/reports/raw_client.py +0 -13
  2144. samsara/reports/vehicles/__init__.py +0 -8
  2145. samsara/reports/vehicles/client.py +0 -44
  2146. samsara/reports/vehicles/fuel_energy/__init__.py +0 -7
  2147. samsara/reports/vehicles/fuel_energy/client.py +0 -205
  2148. samsara/reports/vehicles/fuel_energy/raw_client.py +0 -395
  2149. samsara/reports/vehicles/fuel_energy/types/__init__.py +0 -7
  2150. samsara/reports/vehicles/fuel_energy/types/fuel_energy_list_request_energy_type.py +0 -5
  2151. samsara/reports/vehicles/idling/__init__.py +0 -4
  2152. samsara/reports/vehicles/idling/client.py +0 -236
  2153. samsara/reports/vehicles/idling/raw_client.py +0 -462
  2154. samsara/reports/vehicles/raw_client.py +0 -13
  2155. samsara/routes/audit_logs/__init__.py +0 -4
  2156. samsara/routes/audit_logs/client.py +0 -146
  2157. samsara/routes/audit_logs/raw_client.py +0 -350
  2158. samsara/safety_events/__init__.py +0 -7
  2159. samsara/safety_events/audit_logs/__init__.py +0 -4
  2160. samsara/safety_events/audit_logs/client.py +0 -160
  2161. samsara/safety_events/audit_logs/raw_client.py +0 -386
  2162. samsara/safety_events/client.py +0 -199
  2163. samsara/safety_events/raw_client.py +0 -207
  2164. samsara/settings/compliance/__init__.py +0 -4
  2165. samsara/settings/compliance/client.py +0 -308
  2166. samsara/settings/compliance/raw_client.py +0 -718
  2167. samsara/settings/driver_app/__init__.py +0 -4
  2168. samsara/settings/driver_app/client.py +0 -270
  2169. samsara/settings/driver_app/raw_client.py +0 -697
  2170. samsara/settings/safety/__init__.py +0 -4
  2171. samsara/settings/safety/client.py +0 -118
  2172. samsara/settings/safety/raw_client.py +0 -314
  2173. samsara/speeding_intervals/types/speeding_intervals_stream_request_query_by.py +0 -5
  2174. samsara/tachograph/__init__.py +0 -7
  2175. samsara/tachograph/client.py +0 -44
  2176. samsara/tachograph/driver/__init__.py +0 -4
  2177. samsara/tachograph/driver/client.py +0 -337
  2178. samsara/tachograph/driver/raw_client.py +0 -322
  2179. samsara/tachograph/raw_client.py +0 -13
  2180. samsara/tachograph/vehicles/__init__.py +0 -4
  2181. samsara/tachograph/vehicles/client.py +0 -190
  2182. samsara/tachograph/vehicles/raw_client.py +0 -173
  2183. samsara/training_assignments/__init__.py +0 -4
  2184. samsara/training_assignments/client.py +0 -196
  2185. samsara/training_assignments/raw_client.py +0 -388
  2186. samsara/training_courses/__init__.py +0 -4
  2187. samsara/training_courses/client.py +0 -178
  2188. samsara/training_courses/raw_client.py +0 -398
  2189. samsara/trips/types/__init__.py +0 -8
  2190. samsara/trips/types/trips_stream_request_completion_status.py +0 -5
  2191. samsara/trips/types/trips_stream_request_query_by.py +0 -5
  2192. samsara/types/alert_event.py +0 -74
  2193. samsara/types/alert_event_alert_condition_id.py +0 -40
  2194. samsara/types/alert_event_device.py +0 -37
  2195. samsara/types/alert_event_driver.py +0 -27
  2196. samsara/types/alert_event_dvir.py +0 -52
  2197. samsara/types/alert_event_dvir_defects_item.py +0 -44
  2198. samsara/types/alert_event_dvir_driver.py +0 -27
  2199. samsara/types/alert_event_dvir_inspection_type.py +0 -7
  2200. samsara/types/alert_event_dvir_safety_status.py +0 -5
  2201. samsara/types/alert_event_dvir_trailer.py +0 -27
  2202. samsara/types/alert_event_dvir_vehicle.py +0 -27
  2203. samsara/types/assets_location_link_config_object.py +0 -31
  2204. samsara/types/assets_location_link_config_object_response_body.py +0 -33
  2205. samsara/types/attribute_attribute_value_quantity.py +0 -5
  2206. samsara/types/bad_gateway_error_response_body.py +0 -33
  2207. samsara/types/external_ids.py +0 -5
  2208. samsara/types/gateway_timeout_error_response_body.py +0 -33
  2209. samsara/types/get_service_tasks_response_body.py +0 -26
  2210. samsara/types/get_training_courses_response_body.py +0 -26
  2211. samsara/types/get_vehicles_driver_assignments_response_body.py +0 -26
  2212. samsara/types/get_work_orders_response_body.py +0 -26
  2213. samsara/types/internal_server_error_response_body.py +0 -33
  2214. samsara/types/method_not_allowed_error_response_body.py +0 -33
  2215. samsara/types/not_found_error_response_body.py +0 -33
  2216. samsara/types/not_implemented_error_response_body.py +0 -33
  2217. samsara/types/patch_work_orders_response_body.py +0 -20
  2218. samsara/types/post_work_orders_response_body.py +0 -20
  2219. samsara/types/service_unavailable_error_response_body.py +0 -33
  2220. samsara/types/stream_work_orders_response_body.py +0 -26
  2221. samsara/types/timeout_error_response_body.py +0 -33
  2222. samsara/types/too_many_requests_error_response_body.py +0 -33
  2223. samsara/types/unauthorized_error_response_body.py +0 -33
  2224. samsara/types/unavailable_error_response_body.py +0 -33
  2225. samsara/types/webhook_event.py +0 -37
  2226. samsara/user_roles/__init__.py +0 -4
  2227. samsara/user_roles/client.py +0 -142
  2228. samsara/user_roles/raw_client.py +0 -159
  2229. samsara/v_1_messages/__init__.py +0 -4
  2230. samsara/v_1_messages/client.py +0 -258
  2231. samsara/v_1_messages/raw_client.py +0 -273
  2232. samsara/vehicles/immobilizer/__init__.py +0 -4
  2233. samsara/vehicles/immobilizer/client.py +0 -182
  2234. samsara/vehicles/immobilizer/raw_client.py +0 -398
  2235. samsara/vehicles/locations/__init__.py +0 -4
  2236. samsara/vehicles/locations/client.py +0 -501
  2237. samsara/vehicles/locations/raw_client.py +0 -579
  2238. samsara/vehicles/stats/__init__.py +0 -19
  2239. samsara/vehicles/stats/client.py +0 -1076
  2240. samsara/vehicles/stats/raw_client.py +0 -1164
  2241. samsara/vehicles/stats/types/__init__.py +0 -17
  2242. samsara/vehicles/stats/types/stats_feed_request_decorations_item.py +0 -54
  2243. samsara/vehicles/stats/types/stats_feed_request_types_item.py +0 -68
  2244. samsara/vehicles/stats/types/stats_history_request_decorations_item.py +0 -54
  2245. samsara/vehicles/stats/types/stats_history_request_types_item.py +0 -68
  2246. samsara/vehicles/stats/types/stats_list_request_types_item.py +0 -68
  2247. samsara_api-2.0.2.dist-info/METADATA +0 -238
  2248. samsara_api-2.0.2.dist-info/RECORD +0 -1800
  2249. /samsara/{alerts/incidents → driver_qr_codes}/__init__.py +0 -0
  2250. /samsara/{assets/location_and_speed → fleet/attributes}/__init__.py +0 -0
  2251. /samsara/{form_submissions → forms}/types/form_submissions_patch_form_submission_request_body_status.py +0 -0
  2252. /samsara/{fuel_purchases → fuel_and_energy}/types/fuel_purchase_post_fuel_purchase_request_body_ifta_fuel_type.py +0 -0
  2253. /samsara/{coaching/driver_coach_assignments → hubs}/__init__.py +0 -0
  2254. /samsara/{coaching/sessions → industrial}/__init__.py +0 -0
  2255. /samsara/{live_shares → live_sharing_links}/types/live_sharing_links_create_live_sharing_link_request_body_type.py +0 -0
  2256. /samsara/{defect_types → location_and_speed}/__init__.py +0 -0
  2257. /samsara/{dvirs → maintenance}/types/create_dvir_request_safety_status.py +0 -0
  2258. /samsara/{cameras/media/retrieval → media}/types/media_retrieval_post_media_retrieval_request_body_media_type.py +0 -0
  2259. /samsara/{defects → messages}/__init__.py +0 -0
  2260. /samsara/{devices → organization_info}/__init__.py +0 -0
  2261. /samsara/{document_types → plans}/__init__.py +0 -0
  2262. /samsara/{documents/pdfs → preview_ap_is}/__init__.py +0 -0
  2263. /samsara/{driver_trailer_assignments → safety}/__init__.py +0 -0
  2264. /samsara/{drivers/qr_codes → tachograph_eu_only}/__init__.py +0 -0
  2265. /samsara/{equipment/locations → trailer_assignments}/__init__.py +0 -0
  2266. /samsara/{form_submissions/pdf_exports → vehicle_locations}/__init__.py +0 -0
  2267. /samsara/{maintenance/work_orders → work_orders}/types/work_orders_patch_work_orders_request_body_category.py +0 -0
  2268. /samsara/{maintenance/work_orders → work_orders}/types/work_orders_patch_work_orders_request_body_priority.py +0 -0
  2269. /samsara/{maintenance/work_orders → work_orders}/types/work_orders_patch_work_orders_request_body_status.py +0 -0
  2270. /samsara/{maintenance/work_orders → work_orders}/types/work_orders_post_work_orders_request_body_category.py +0 -0
  2271. /samsara/{maintenance/work_orders → work_orders}/types/work_orders_post_work_orders_request_body_priority.py +0 -0
  2272. {samsara_api-2.0.2.dist-info → samsara_api-4.0.0.dist-info}/LICENSE +0 -0
  2273. {samsara_api-2.0.2.dist-info → samsara_api-4.0.0.dist-info}/WHEEL +0 -0
@@ -0,0 +1,1091 @@
1
+ # This file was auto-generated by Fern from our API Definition.
2
+
3
+ import typing
4
+ from json.decoder import JSONDecodeError
5
+
6
+ from ..core.api_error import ApiError
7
+ from ..core.client_wrapper import AsyncClientWrapper, SyncClientWrapper
8
+ from ..core.http_response import AsyncHttpResponse, HttpResponse
9
+ from ..core.pydantic_utilities import parse_obj_as
10
+ from ..core.request_options import RequestOptions
11
+ from ..types.vehicle_stats_list_response import VehicleStatsListResponse
12
+ from ..types.vehicle_stats_response import VehicleStatsResponse
13
+ from .types.get_vehicle_stats_feed_request_decorations_item import GetVehicleStatsFeedRequestDecorationsItem
14
+ from .types.get_vehicle_stats_feed_request_types_item import GetVehicleStatsFeedRequestTypesItem
15
+ from .types.get_vehicle_stats_history_request_decorations_item import GetVehicleStatsHistoryRequestDecorationsItem
16
+ from .types.get_vehicle_stats_history_request_types_item import GetVehicleStatsHistoryRequestTypesItem
17
+ from .types.get_vehicle_stats_request_types_item import GetVehicleStatsRequestTypesItem
18
+
19
+
20
+ class RawVehicleStatsClient:
21
+ def __init__(self, *, client_wrapper: SyncClientWrapper):
22
+ self._client_wrapper = client_wrapper
23
+
24
+ def get_vehicle_stats(
25
+ self,
26
+ *,
27
+ after: typing.Optional[str] = None,
28
+ time: typing.Optional[str] = None,
29
+ parent_tag_ids: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
30
+ tag_ids: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
31
+ vehicle_ids: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
32
+ types: typing.Optional[
33
+ typing.Union[GetVehicleStatsRequestTypesItem, typing.Sequence[GetVehicleStatsRequestTypesItem]]
34
+ ] = None,
35
+ request_options: typing.Optional[RequestOptions] = None,
36
+ ) -> HttpResponse[VehicleStatsResponse]:
37
+ """
38
+ Returns the last known stats of all vehicles at the given `time`. If no `time` is specified, the current time is used.
39
+
40
+ Related guide: <a href="/docs/telematics" target="_blank">Telematics</a>.
41
+
42
+ **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.
43
+
44
+ To use this endpoint, select **Read Vehicle Statistics** under the Vehicles 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>
45
+
46
+ Parameters
47
+ ----------
48
+ after : typing.Optional[str]
49
+ 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.
50
+
51
+ time : typing.Optional[str]
52
+ 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. (Example: `2020-01-27T07:06:25Z`).
53
+
54
+ parent_tag_ids : typing.Optional[typing.Union[str, typing.Sequence[str]]]
55
+ 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`
56
+
57
+ tag_ids : typing.Optional[typing.Union[str, typing.Sequence[str]]]
58
+ A filter on the data based on this comma-separated list of tag IDs. Example: `tagIds=1234,5678`
59
+
60
+ vehicle_ids : typing.Optional[typing.Union[str, typing.Sequence[str]]]
61
+ A filter on the data based on this comma-separated list of vehicle IDs. Example: `vehicleIds=1234,5678`
62
+
63
+ types : typing.Optional[typing.Union[GetVehicleStatsRequestTypesItem, typing.Sequence[GetVehicleStatsRequestTypesItem]]]
64
+ The stat types you want this endpoint to return information on. See also the <a href="/docs/telematics#query-parameters" target="_blank">Telematics</a> guide for more details.
65
+
66
+ You may list ***up to 3*** types using comma-separated format. For example: `types=gps,engineStates,obdOdometerMeters`.
67
+
68
+ *Note:* `auxInput3`-`auxInput10` count as a single type against the limit of 3. For example, you could list `types=engineStates,obdOdometerMeters,auxInput3,auxInput4` because `auxInput3` and `auxInput4` count as a single stat type. `auxInput1` and `auxInput2` still count as their own individual types.
69
+
70
+ - `ambientAirTemperatureMilliC`: The ambient air temperature reading in millidegree Celsius.
71
+ - `auxInput1`-`auxInput13`: Stat events from the <a href="https://kb.samsara.com/hc/en-us/articles/360043040512-Auxiliary-Inputs" target="_blank">auxiliary inputs</a> for the vehicle.
72
+ - `barometricPressurePa`: The barometric pressure reading in pascals.
73
+ - `batteryMilliVolts`: The vehicle battery voltage reading.
74
+ - `defLevelMilliPercent`: The Diesel Exhaust Fluid (DEF) level in milli percentage points (e.g. `99001`, `49999`, etc).
75
+ - `ecuSpeedMph`: The speed of the engine in miles per hour according to the ECU.
76
+ - `engineCoolantTemperatureMilliC`: The engine coolant temperature reading in millidegree Celsius.
77
+ - `engineImmobilizer`: The state of the engine immobilizer - Valid values: `ignition_disabled`, `ignition_enabled`. This stat type will only return states of our first Engine Immobilizer Hardware (ACC-EI). Please use <a href="https://developers.samsara.com/reference/getengineimmobilizerstates" target="_blank">Get engine immobilizer states</a> to get states for both Engine Immobilizer Hardware versions (incl. HW-EI21).
78
+ - `engineLoadPercent`: The engine load in percentage points (e.g. `99`, `50`, etc).
79
+ - `engineOilPressureKPa`: The engine oil pressure reading in kilopascals.
80
+ - `engineRpm`: The revolutions per minute of the engine.
81
+ - `engineStates`: The state of the engine (`Off`, `On`, `Idle`).
82
+ - `faultCodes`: The diagnostic fault codes for the vehicle.
83
+ - `fuelPercents`: The engine fuel level in percentage points (e.g. `99`, `50`, etc).
84
+ - `fuelConsumedMilliliters`: The cumulative fuel consumption in milliliters for vehicles. Cumulative values always increase. This includes all fuel consumption reported by vehicles without filtering of invalid data points. For filtered fuel consumption that matches the Fuel & Energy Report, please use <a href="https://developers.samsara.com/reference/getfuelenergyvehiclereports" target="_blank">the Fuel and Energy API</a>.
85
+ - `gps`: GPS data including lat/long, heading, speed, address book entry (if exists), and a reverse geocoded address.
86
+ - `gpsDistanceMeters`: The distance the vehicle has traveled since the gateway was installed based on GPS calculations.
87
+ - `gpsOdometerMeters`: Odometer reading provided by GPS calculations when OBD odometer cannot be pulled automatically. You must provide a manual odometer reading before this value is updated. Manual odometer readings can be provided via the [PATCH /fleet/vehicles/{id}](ref:updatevehicle) endpoint or through the <a href="https://kb.samsara.com/hc/en-us/articles/115005273667-Editing-Odometer-Reading" target="_blank">cloud dasbhoard</a>. Odometer readings that are manually set will update as GPS trip data is gathered. Try combining with `obdOdometerMeters`.
88
+ - `idlingDurationMilliseconds`: The cumulative idling duration in milliseconds. Cumulative values always increase. For filtering of idling duration please use [the Idling Events API](https://developers.samsara.com/reference/getvehicleidlingreports).
89
+ - `intakeManifoldTemperatureMilliC`: The intake manifold temperature reading in millidegree Celsius.
90
+ - `nfcCardScans`: ID card scans.
91
+ - `obdEngineSeconds`: The cumulative number of seconds the engine has run according to onboard diagnostics. When onboard diagnostic data is unavailable, ignition-based engine data (for ELD vehicles) will be used as a proxy to accumulate engine hours.
92
+ - `obdOdometerMeters`: The odometer reading according to onboard diagnostics. If Samsara does not have diagnostic coverage for a particular vehicle, the value for this stat type will be omitted.
93
+ - `syntheticEngineSeconds`: The cumulative number of seconds the engine has run estimated based on when the engine is running. Please note that this method <a href="https://kb.samsara.com/hc/en-us/articles/360043552511-Synthetic-Engine-Hours" target="_blank">requires the addition of a baseline</a> to trigger accumulation.
94
+ - `evStateOfChargeMilliPercent`: Milli percent State of Charge for electric and hybrid vehicles. Not all EV and HEVs may report this field.
95
+ - `evChargingStatus`: Charging status for electric and hybrid vehicles. Not all EV and HEVs may report this field. Statuses: unknown - 0, not charging - 1, charging - 2.
96
+ - `evChargingEnergyMicroWh`: Charging energy for electric and hybrid vehicles in microwatt hours. Not all EV and HEVs may report this field.
97
+ - `evChargingVoltageMilliVolt`: Charging voltage for electric and hybrid vehicles in milli volts. Not all EV and HEVs may report this field.
98
+ - `evChargingCurrentMilliAmp`: Charging current for electric and hybrid vehicles in milli amps. Not all EV and HEVs may report this field.
99
+ - `evConsumedEnergyMicroWh`: Consumed energy (including regenerated) for electric and hybrid vehicles in microwatt hours. Not all EV and HEVs may report this field.
100
+ - `evRegeneratedEnergyMicroWh`: Regenerated energy for electric and hybrid vehicles in microwatt hours. Not all EV and HEVs may report this field.
101
+ - `evBatteryVoltageMilliVolt`: Battery voltage for electric and hybrid vehicles in milli volts. Not all EV and HEVs may report this field.
102
+ - `evBatteryCurrentMilliAmp`: Battery current for electric and hybrid vehicles in milli amps. Not all EV and HEVs may report this field.
103
+ - `evBatteryStateOfHealthMilliPercent`: Milli percent battery state of health for electric and hybrid vehicles. Not all EV and HEVs may report this field.
104
+ - `evAverageBatteryTemperatureMilliCelsius`: Battery temperature for electric and hybrid vehicles in milli celsius. Not all EV and HEVs may report this field.
105
+ - `evDistanceDrivenMeters`: Electric distance driven for electric and hybrid vehicles in meters. Not all EV and HEVs may report this field.
106
+ - `spreaderLiquidRate`: Liquid spread rate reading in milliliters per meter, read from the material spreader. Unfiltered live stats are supplied as-read from the Material Spreader unit. Readings do not consider total spread rate(s) over time or distance.
107
+ - `spreaderGranularRate`: Granular spread rate reading in milliliters per meter, read from the material spreader. Unfiltered live stats are supplied as-read from the Material Spreader unit. Readings do not consider total spread rate(s) over time or distance.
108
+ - `spreaderPrewetRate`: Prewet spread rate reading in milliliters per meter, read from the material spreader. Unfiltered live stats are supplied as-read from the Material Spreader unit. Readings do not consider total spread rate(s) over time or distance.
109
+ - `spreaderAirTemp`: Air (ambient) temperature in milli celsius reading from material spreader.
110
+ - `spreaderRoadTemp`: Road temperature reading in milli celsius from material spreader.
111
+ - `spreaderOnState`: Whether vehicle spreader is enabled.
112
+ - `spreaderActive`: Whether vehicle is actively spreading any material.
113
+ - `spreaderBlastState`: Whether vehicle is actively spreading material in ‘blast mode’.
114
+ - `spreaderGranularName`: Name of most recent type of granular material spread, read from the material spreader.
115
+ - `spreaderPrewetName`: Name of most recent type of prewet material spread, read from the material spreader.
116
+ - `spreaderLiquidName`: Name of most recent type of liquid material spread, read from the material spreader.
117
+ - `spreaderPlowStatus`: Snow plow status (`Up` or `Down`), as read from the material spreader. Note: this is separate from plow status defined via auxInput.
118
+ - `seatbeltDriver`: Seatbelt Driver Status as read from the vehicle. `Buckled` or `Unbuckled`. (Beta only)
119
+ - `tellTales`: Tell tales status as read from the vehicle.
120
+
121
+ request_options : typing.Optional[RequestOptions]
122
+ Request-specific configuration.
123
+
124
+ Returns
125
+ -------
126
+ HttpResponse[VehicleStatsResponse]
127
+ Vehicle stats snapshot
128
+ """
129
+ _response = self._client_wrapper.httpx_client.request(
130
+ "fleet/vehicles/stats",
131
+ method="GET",
132
+ params={
133
+ "after": after,
134
+ "time": time,
135
+ "parentTagIds": parent_tag_ids,
136
+ "tagIds": tag_ids,
137
+ "vehicleIds": vehicle_ids,
138
+ "types": types,
139
+ },
140
+ request_options=request_options,
141
+ )
142
+ try:
143
+ if 200 <= _response.status_code < 300:
144
+ _data = typing.cast(
145
+ VehicleStatsResponse,
146
+ parse_obj_as(
147
+ type_=VehicleStatsResponse, # type: ignore
148
+ object_=_response.json(),
149
+ ),
150
+ )
151
+ return HttpResponse(response=_response, data=_data)
152
+ _response_json = _response.json()
153
+ except JSONDecodeError:
154
+ raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text)
155
+ raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json)
156
+
157
+ def get_vehicle_stats_feed(
158
+ self,
159
+ *,
160
+ after: typing.Optional[str] = None,
161
+ parent_tag_ids: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
162
+ tag_ids: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
163
+ vehicle_ids: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
164
+ types: typing.Optional[
165
+ typing.Union[GetVehicleStatsFeedRequestTypesItem, typing.Sequence[GetVehicleStatsFeedRequestTypesItem]]
166
+ ] = None,
167
+ decorations: typing.Optional[
168
+ typing.Union[
169
+ GetVehicleStatsFeedRequestDecorationsItem, typing.Sequence[GetVehicleStatsFeedRequestDecorationsItem]
170
+ ]
171
+ ] = None,
172
+ request_options: typing.Optional[RequestOptions] = None,
173
+ ) -> HttpResponse[VehicleStatsListResponse]:
174
+ """
175
+ Follow a feed of vehicle stats.
176
+
177
+ Your first call to this endpoint will provide you with the most recent stats for each vehicle and an `endCursor`.
178
+
179
+ You can the provide the `endCursor` value to the `after` query parameter to get all updates since the last call you made.
180
+
181
+ If `hasNextPage` is `false`, no new data is immediately available. You should wait a minimum of 5 seconds making a subsequent request.
182
+
183
+ Related guide: <a href="/docs/telematics" target="_blank">Telematics</a>.
184
+
185
+ **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.
186
+
187
+ To use this endpoint, select **Read Vehicle Statistics** under the Vehicles 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>
188
+
189
+ Parameters
190
+ ----------
191
+ after : typing.Optional[str]
192
+ 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.
193
+
194
+ parent_tag_ids : typing.Optional[typing.Union[str, typing.Sequence[str]]]
195
+ 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`
196
+
197
+ tag_ids : typing.Optional[typing.Union[str, typing.Sequence[str]]]
198
+ A filter on the data based on this comma-separated list of tag IDs. Example: `tagIds=1234,5678`
199
+
200
+ vehicle_ids : typing.Optional[typing.Union[str, typing.Sequence[str]]]
201
+ A filter on the data based on this comma-separated list of vehicle IDs. Example: `vehicleIds=1234,5678`
202
+
203
+ types : typing.Optional[typing.Union[GetVehicleStatsFeedRequestTypesItem, typing.Sequence[GetVehicleStatsFeedRequestTypesItem]]]
204
+ The stat types you want this endpoint to return information on. See also the <a href="/docs/telematics#query-parameters" target="_blank">Telematics</a> guide for more details.
205
+
206
+ You may list ***up to 3*** types using comma-separated format. For example: `types=gps,engineStates,obdOdometerMeters`.
207
+
208
+ *Note:* `auxInput3`-`auxInput10` count as a single type against the limit of 3. For example, you could list `types=engineStates,obdOdometerMeters,auxInput3,auxInput4` because `auxInput3` and `auxInput4` count as a single stat type. `auxInput1` and `auxInput2` still count as their own individual types.
209
+
210
+ - `ambientAirTemperatureMilliC`: The ambient air temperature reading in millidegree Celsius.
211
+ - `auxInput1`-`auxInput13`: Stat events from the <a href="https://kb.samsara.com/hc/en-us/articles/360043040512-Auxiliary-Inputs" target="_blank">auxiliary inputs</a> for the vehicle.
212
+ - `barometricPressurePa`: The barometric pressure reading in pascals.
213
+ - `batteryMilliVolts`: The vehicle battery voltage reading.
214
+ - `defLevelMilliPercent`: The Diesel Exhaust Fluid (DEF) level in milli percentage points (e.g. `99001`, `49999`, etc).
215
+ - `ecuSpeedMph`: The speed of the engine in miles per hour according to the ECU.
216
+ - `engineCoolantTemperatureMilliC`: The engine coolant temperature reading in millidegree Celsius.
217
+ - `engineImmobilizer`: The state of the engine immobilizer - Valid values: `ignition_disabled`, `ignition_enabled`. This stat type will only return states of our first Engine Immobilizer Hardware (ACC-EI). Please use <a href="https://developers.samsara.com/reference/getengineimmobilizerstates" target="_blank">Get engine immobilizer states</a> to get states for both Engine Immobilizer Hardware versions (incl. HW-EI21).
218
+ - `engineLoadPercent`: The engine load in percentage points (e.g. `99`, `50`, etc).
219
+ - `engineOilPressureKPa`: The engine oil pressure reading in kilopascals.
220
+ - `engineRpm`: The revolutions per minute of the engine.
221
+ - `engineStates`: The state of the engine (`Off`, `On`, `Idle`).
222
+ - `faultCodes`: The diagnostic fault codes for the vehicle.
223
+ - `fuelPercents`: The engine fuel level in percentage points (e.g. `99`, `50`, etc).
224
+ - `fuelConsumedMilliliters`: The cumulative fuel consumption in milliliters for vehicles. Cumulative values always increase. This includes all fuel consumption reported by vehicles without filtering of invalid data points. For filtered fuel consumption that matches the Fuel & Energy Report, please use <a href="https://developers.samsara.com/reference/getfuelenergyvehiclereports" target="_blank">the Fuel and Energy API</a>.
225
+ - `gps`: GPS data including lat/long, heading, speed, address book entry (if exists), and a reverse geocoded address.
226
+ - `gpsDistanceMeters`: The distance the vehicle has traveled since the gateway was installed based on GPS calculations.
227
+ - `gpsOdometerMeters`: Odometer reading provided by GPS calculations when OBD odometer cannot be pulled automatically. You must provide a manual odometer reading before this value is updated. Manual odometer readings can be provided via the [PATCH /fleet/vehicles/{id}](ref:updatevehicle) endpoint or through the <a href="https://kb.samsara.com/hc/en-us/articles/115005273667-Editing-Odometer-Reading" target="_blank">cloud dasbhoard</a>. Odometer readings that are manually set will update as GPS trip data is gathered. Try combining with `obdOdometerMeters`.
228
+ - `idlingDurationMilliseconds`: The cumulative idling duration in milliseconds. Cumulative values always increase. For filtering of idling duration please use [the Idling Events API](https://developers.samsara.com/reference/getvehicleidlingreports).
229
+ - `intakeManifoldTemperatureMilliC`: The intake manifold temperature reading in millidegree Celsius.
230
+ - `nfcCardScans`: ID card scans.
231
+ - `obdEngineSeconds`: The cumulative number of seconds the engine has run according to onboard diagnostics. When onboard diagnostic data is unavailable, ignition-based engine data (for ELD vehicles) will be used as a proxy to accumulate engine hours.
232
+ - `obdOdometerMeters`: The odometer reading according to onboard diagnostics. If Samsara does not have diagnostic coverage for a particular vehicle, the value for this stat type will be omitted.
233
+ - `syntheticEngineSeconds`: The cumulative number of seconds the engine has run estimated based on when the engine is running. Please note that this method <a href="https://kb.samsara.com/hc/en-us/articles/360043552511-Synthetic-Engine-Hours" target="_blank">requires the addition of a baseline</a> to trigger accumulation.
234
+ - `evStateOfChargeMilliPercent`: Milli percent State of Charge for electric and hybrid vehicles. Not all EV and HEVs may report this field.
235
+ - `evChargingStatus`: Charging status for electric and hybrid vehicles. Not all EV and HEVs may report this field. Statuses: unknown - 0, not charging - 1, charging - 2.
236
+ - `evChargingEnergyMicroWh`: Charging energy for electric and hybrid vehicles in microwatt hours. Not all EV and HEVs may report this field.
237
+ - `evChargingVoltageMilliVolt`: Charging voltage for electric and hybrid vehicles in milli volts. Not all EV and HEVs may report this field.
238
+ - `evChargingCurrentMilliAmp`: Charging current for electric and hybrid vehicles in milli amps. Not all EV and HEVs may report this field.
239
+ - `evConsumedEnergyMicroWh`: Consumed energy (including regenerated) for electric and hybrid vehicles in microwatt hours. Not all EV and HEVs may report this field.
240
+ - `evRegeneratedEnergyMicroWh`: Regenerated energy for electric and hybrid vehicles in microwatt hours. Not all EV and HEVs may report this field.
241
+ - `evBatteryVoltageMilliVolt`: Battery voltage for electric and hybrid vehicles in milli volts. Not all EV and HEVs may report this field.
242
+ - `evBatteryCurrentMilliAmp`: Battery current for electric and hybrid vehicles in milli amps. Not all EV and HEVs may report this field.
243
+ - `evBatteryStateOfHealthMilliPercent`: Milli percent battery state of health for electric and hybrid vehicles. Not all EV and HEVs may report this field.
244
+ - `evAverageBatteryTemperatureMilliCelsius`: Battery temperature for electric and hybrid vehicles in milli celsius. Not all EV and HEVs may report this field.
245
+ - `evDistanceDrivenMeters`: Electric distance driven for electric and hybrid vehicles in meters. Not all EV and HEVs may report this field.
246
+ - `spreaderLiquidRate`: Liquid spread rate reading in milliliters per meter, read from the material spreader. Unfiltered live stats are supplied as-read from the Material Spreader unit. Readings do not consider total spread rate(s) over time or distance.
247
+ - `spreaderGranularRate`: Granular spread rate reading in milliliters per meter, read from the material spreader. Unfiltered live stats are supplied as-read from the Material Spreader unit. Readings do not consider total spread rate(s) over time or distance.
248
+ - `spreaderPrewetRate`: Prewet spread rate reading in milliliters per meter, read from the material spreader. Unfiltered live stats are supplied as-read from the Material Spreader unit. Readings do not consider total spread rate(s) over time or distance.
249
+ - `spreaderAirTemp`: Air (ambient) temperature in milli celsius reading from material spreader.
250
+ - `spreaderRoadTemp`: Road temperature reading in milli celsius from material spreader.
251
+ - `spreaderOnState`: Whether vehicle spreader is enabled.
252
+ - `spreaderActive`: Whether vehicle is actively spreading any material.
253
+ - `spreaderBlastState`: Whether vehicle is actively spreading material in ‘blast mode’.
254
+ - `spreaderGranularName`: Name of most recent type of granular material spread, read from the material spreader.
255
+ - `spreaderPrewetName`: Name of most recent type of prewet material spread, read from the material spreader.
256
+ - `spreaderLiquidName`: Name of most recent type of liquid material spread, read from the material spreader.
257
+ - `spreaderPlowStatus`: Snow plow status (`Up` or `Down`), as read from the material spreader. Note: this is separate from plow status defined via auxInput.
258
+ - `seatbeltDriver`: Seatbelt Driver Status as read from the vehicle. `Buckled` or `Unbuckled`. (Beta only)
259
+ - `tellTales`: Tell tales status as read from the vehicle.
260
+
261
+ decorations : typing.Optional[typing.Union[GetVehicleStatsFeedRequestDecorationsItem, typing.Sequence[GetVehicleStatsFeedRequestDecorationsItem]]]
262
+ Decorations to add to the primary stats listed in the `types` parameter. For example, if you wish to know the vehicle's location whenever the engine changes state, you may set `types=engineStates&decorations=gps`.
263
+
264
+ You may list ***up to 2*** decorations using comma-separated format. If multiple stats are listed in the `types` parameter, the decorations will be added to each one. For example: `types=engineStates,obdOdometerMeters,faultCodes&decorations=gps,fuelPercents` will list GPS and fuel decorations for each engine state change, each odometer reading, and each fault code. See the <a href="/docs/telematics#query-parameters" target="_blank">Telematics</a> guide for more details.
265
+
266
+ Note that decorations may significantly increase the response payload size.
267
+
268
+ - `ambientAirTemperatureMilliC`: The ambient air temperature reading in millidegree Celsius.
269
+ - `auxInput1`-`auxInput13`: Stat events from the <a href="https://kb.samsara.com/hc/en-us/articles/360043040512-Auxiliary-Inputs" target="_blank">auxiliary inputs</a> for the vehicle.
270
+ - `batteryMilliVolts`: The vehicle battery voltage reading.
271
+ - `barometricPressurePa`: The barometric pressure reading in pascals.
272
+ - `ecuSpeedMph`: The speed of the engine in miles per hour according to the ECU.
273
+ - `engineCoolantTemperatureMilliC`: The engine coolant temperature reading in millidegree Celsius.
274
+ - `engineImmobilizer`: The state of the engine immobilizer - Valid values: `ignition_disabled`, `ignition_enabled`. This stat type will only return states of our first Engine Immobilizer Hardware (ACC-EI). Please use <a href="https://developers.samsara.com/reference/getengineimmobilizerstates" target="_blank">Get engine immobilizer states</a> to get states for both Engine Immobilizer Hardware versions (incl. HW-EI21).
275
+ - `engineOilPressureKPa`: The engine oil pressure reading in kilopascals.
276
+ - `engineLoadPercent`: The engine load in percentage points (e.g. `99`, `50`, etc).
277
+ - `engineRpm`: The revolutions per minute of the engine.
278
+ - `engineStates`: The state of the engine (`Off`, `On`, `Idle`).
279
+ - `faultCodes`: The diagnostic fault codes for the vehicle.
280
+ - `fuelPercents`: The engine fuel level in percentage points (e.g. `99`, `50`, etc).
281
+ - `fuelConsumedMilliliters`: The cumulative fuel consumption in milliliters for vehicles. Cumulative values always increase. This includes all fuel consumption reported by vehicles without filtering of invalid data points. For filtered fuel consumption that matches the Fuel & Energy Report, please use <a href="https://developers.samsara.com/reference/getfuelenergyvehiclereports" target="_blank">the Fuel and Energy API</a>.
282
+ - `gps`: GPS data including lat/long, heading, speed, address book entry (if exists), and a reverse geocoded address.
283
+ - `gpsDistanceMeters`: The distance the vehicle has traveled since the gateway was installed based on GPS calculations.
284
+ - `idlingDurationMilliseconds`: The cumulative idling duration in milliseconds. Cumulative values always increase. For filtering of idling duration please use <a href="https://developers.samsara.com/reference/getvehicleidlingreports" target="_blank">the Idling Events API</a>.
285
+ - `intakeManifoldTemperatureMilliC`: The intake manifold temperature reading in millidegree Celsius.
286
+ - `nfcCardScans`: ID card scans.
287
+ - `obdEngineSeconds`: The cumulative number of seconds the engine has run according to onboard diagnostics. When onboard diagnostic data is unavailable, ignition-based engine data (for ELD vehicles) will be used as a proxy to accumulate engine hours.
288
+ - `obdOdometerMeters`: The odometer reading according to onboard diagnostics. If Samsara does not have diagnostic coverage for a particular vehicle, the value for this stat type will be omitted.
289
+ - `syntheticEngineSeconds`: The cumulative number of seconds the engine has run estimated based on when the engine is running. Please note that this method <a href="https://kb.samsara.com/hc/en-us/articles/360043552511-Synthetic-Engine-Hours" target="_blank">requires the addition of a baseline</a> to trigger accumulation.
290
+ - `evStateOfChargeMilliPercent`: Milli percent State of Charge for electric and hybrid vehicles. Not all EV and HEVs may report this field.
291
+ - `evChargingStatus`: Charging status for electric and hybrid vehicles. Not all EV and HEVs may report this field. Statuses: unknown - 0, not charging - 1, charging - 2.
292
+ - `evChargingEnergyMicroWh`: Charging energy for electric and hybrid vehicles in microwatt hours. Not all EV and HEVs may report this field.
293
+ - `evChargingVoltageMilliVolt`: Charging voltage for electric and hybrid vehicles in milli volts. Not all EV and HEVs may report this field.
294
+ - `evChargingCurrentMilliAmp`: Charging current for electric and hybrid vehicles in milli amps. Not all EV and HEVs may report this field.
295
+ - `evConsumedEnergyMicroWh`: Consumed energy (including regenerated) for electric and hybrid vehicles in microwatt hours. Not all EV and HEVs may report this field.
296
+ - `evRegeneratedEnergyMicroWh`: Regenerated energy for electric and hybrid vehicles in microwatt hours. Not all EV and HEVs may report this field.
297
+ - `evBatteryVoltageMilliVolt`: Battery voltage for electric and hybrid vehicles in milli volts. Not all EV and HEVs may report this field.
298
+ - `evBatteryCurrentMilliAmp`: Battery current for electric and hybrid vehicles in milli amps. Not all EV and HEVs may report this field.
299
+ - `evBatteryStateOfHealthMilliPercent`: Milli percent battery state of health for electric and hybrid vehicles. Not all EV and HEVs may report this field.
300
+ - `evAverageBatteryTemperatureMilliCelsius`: Battery temperature for electric and hybrid vehicles in milli celsius. Not all EV and HEVs may report this field.
301
+ - `evDistanceDrivenMeters`: Electric distance driven for electric and hybrid vehicles in meters. Not all EV and HEVs may report this field.
302
+ - `spreaderLiquidRate`: Liquid spread rate reading in milliliters per meter, read from the material spreader. Unfiltered live stats are supplied as-read from the Material Spreader unit. Readings do not consider total spread rate(s) over time or distance.
303
+ - `spreaderGranularRate`: Granular spread rate reading in milliliters per meter, read from the material spreader. Unfiltered live stats are supplied as-read from the Material Spreader unit. Readings do not consider total spread rate(s) over time or distance.
304
+ - `spreaderPrewetRate`: Prewet spread rate reading in milliliters per meter, read from the material spreader. Unfiltered live stats are supplied as-read from the Material Spreader unit. Readings do not consider total spread rate(s) over time or distance.
305
+ - `spreaderAirTemp`: Air (ambient) temperature in milli celsius reading from material spreader.
306
+ - `spreaderRoadTemp`: Road temperature reading in milli celsius from material spreader.
307
+ - `spreaderOnState`: Whether vehicle spreader is enabled.
308
+ - `spreaderActive`: Whether vehicle is actively spreading any material.
309
+ - `spreaderBlastState`: Whether vehicle is actively spreading material in 'blast mode'.
310
+ - `spreaderGranularName`: Name of most recent type of granular material spread, read from the material spreader.
311
+ - `spreaderPrewetName`: Name of most recent type of prewet material spread, read from the material spreader.
312
+ - `spreaderLiquidName`: Name of most recent type of liquid material spread, read from the material spreader.
313
+ - `spreaderPlowStatus`: Snow plow status (`Up` or `Down`), as read from the material spreader. Note: this is separate from plow status defined via auxInput.
314
+ - `seatbeltDriver`: Seatbelt Driver Status as read from the vehicle. `Buckled` or `Unbuckled`. (Beta only)
315
+ - `tellTales`: Tell tales status as read from the vehicle.
316
+
317
+ request_options : typing.Optional[RequestOptions]
318
+ Request-specific configuration.
319
+
320
+ Returns
321
+ -------
322
+ HttpResponse[VehicleStatsListResponse]
323
+ List of stat events for the specified vehicles and stat types.
324
+ """
325
+ _response = self._client_wrapper.httpx_client.request(
326
+ "fleet/vehicles/stats/feed",
327
+ method="GET",
328
+ params={
329
+ "after": after,
330
+ "parentTagIds": parent_tag_ids,
331
+ "tagIds": tag_ids,
332
+ "vehicleIds": vehicle_ids,
333
+ "types": types,
334
+ "decorations": decorations,
335
+ },
336
+ request_options=request_options,
337
+ )
338
+ try:
339
+ if 200 <= _response.status_code < 300:
340
+ _data = typing.cast(
341
+ VehicleStatsListResponse,
342
+ parse_obj_as(
343
+ type_=VehicleStatsListResponse, # type: ignore
344
+ object_=_response.json(),
345
+ ),
346
+ )
347
+ return HttpResponse(response=_response, data=_data)
348
+ _response_json = _response.json()
349
+ except JSONDecodeError:
350
+ raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text)
351
+ raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json)
352
+
353
+ def get_vehicle_stats_history(
354
+ self,
355
+ *,
356
+ start_time: str,
357
+ end_time: str,
358
+ after: typing.Optional[str] = None,
359
+ parent_tag_ids: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
360
+ tag_ids: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
361
+ vehicle_ids: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
362
+ types: typing.Optional[
363
+ typing.Union[
364
+ GetVehicleStatsHistoryRequestTypesItem, typing.Sequence[GetVehicleStatsHistoryRequestTypesItem]
365
+ ]
366
+ ] = None,
367
+ decorations: typing.Optional[
368
+ typing.Union[
369
+ GetVehicleStatsHistoryRequestDecorationsItem,
370
+ typing.Sequence[GetVehicleStatsHistoryRequestDecorationsItem],
371
+ ]
372
+ ] = None,
373
+ request_options: typing.Optional[RequestOptions] = None,
374
+ ) -> HttpResponse[VehicleStatsListResponse]:
375
+ """
376
+ Returns vehicle stats during the given time range for all vehicles. This can be optionally filtered by tags or specific vehicle IDs.
377
+
378
+ Related guide: <a href="/docs/telematics" target="_blank">Telematics</a>.
379
+
380
+ **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.
381
+
382
+ To use this endpoint, select **Read Vehicle Statistics** under the Vehicles 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>
383
+
384
+ Parameters
385
+ ----------
386
+ start_time : str
387
+ A start time in RFC 3339 format. Millisecond precision and timezones are supported. (Examples: 2019-06-13T19:08:25Z, 2019-06-13T19:08:25.455Z, OR 2015-09-15T14:00:12-04:00).
388
+
389
+ end_time : str
390
+ An end time in RFC 3339 format. Millisecond precision and timezones are supported. (Examples: 2019-06-13T19:08:25Z, 2019-06-13T19:08:25.455Z, OR 2015-09-15T14:00:12-04:00).
391
+
392
+ after : typing.Optional[str]
393
+ 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.
394
+
395
+ parent_tag_ids : typing.Optional[typing.Union[str, typing.Sequence[str]]]
396
+ 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`
397
+
398
+ tag_ids : typing.Optional[typing.Union[str, typing.Sequence[str]]]
399
+ A filter on the data based on this comma-separated list of tag IDs. Example: `tagIds=1234,5678`
400
+
401
+ vehicle_ids : typing.Optional[typing.Union[str, typing.Sequence[str]]]
402
+ A filter on the data based on this comma-separated list of vehicle IDs. Example: `vehicleIds=1234,5678`
403
+
404
+ types : typing.Optional[typing.Union[GetVehicleStatsHistoryRequestTypesItem, typing.Sequence[GetVehicleStatsHistoryRequestTypesItem]]]
405
+ The stat types you want this endpoint to return information on. See also the <a href="/docs/telematics#query-parameters" target="_blank">Telematics</a> guide for more details.
406
+
407
+ You may list ***up to 3*** types using comma-separated format. For example: `types=gps,engineStates,obdOdometerMeters`.
408
+
409
+ *Note:* `auxInput3`-`auxInput10` count as a single type against the limit of 3. For example, you could list `types=engineStates,obdOdometerMeters,auxInput3,auxInput4` because `auxInput3` and `auxInput4` count as a single stat type. `auxInput1` and `auxInput2` still count as their own individual types.
410
+
411
+ - `ambientAirTemperatureMilliC`: The ambient air temperature reading in millidegree Celsius.
412
+ - `auxInput1`-`auxInput13`: Stat events from the <a href="https://kb.samsara.com/hc/en-us/articles/360043040512-Auxiliary-Inputs" target="_blank">auxiliary inputs</a> for the vehicle.
413
+ - `barometricPressurePa`: The barometric pressure reading in pascals.
414
+ - `batteryMilliVolts`: The vehicle battery voltage reading.
415
+ - `defLevelMilliPercent`: The Diesel Exhaust Fluid (DEF) level in milli percentage points (e.g. `99001`, `49999`, etc).
416
+ - `ecuSpeedMph`: The speed of the engine in miles per hour according to the ECU.
417
+ - `engineCoolantTemperatureMilliC`: The engine coolant temperature reading in millidegree Celsius.
418
+ - `engineImmobilizer`: The state of the engine immobilizer - Valid values: `ignition_disabled`, `ignition_enabled`. This stat type will only return states of our first Engine Immobilizer Hardware (ACC-EI). Please use <a href="https://developers.samsara.com/reference/getengineimmobilizerstates" target="_blank">Get engine immobilizer states</a> to get states for both Engine Immobilizer Hardware versions (incl. HW-EI21).
419
+ - `engineLoadPercent`: The engine load in percentage points (e.g. `99`, `50`, etc).
420
+ - `engineOilPressureKPa`: The engine oil pressure reading in kilopascals.
421
+ - `engineRpm`: The revolutions per minute of the engine.
422
+ - `engineStates`: The state of the engine (`Off`, `On`, `Idle`).
423
+ - `faultCodes`: The diagnostic fault codes for the vehicle.
424
+ - `fuelPercents`: The engine fuel level in percentage points (e.g. `99`, `50`, etc).
425
+ - `fuelConsumedMilliliters`: The cumulative fuel consumption in milliliters for vehicles. Cumulative values always increase. This includes all fuel consumption reported by vehicles without filtering of invalid data points. For filtered fuel consumption that matches the Fuel & Energy Report, please use <a href="https://developers.samsara.com/reference/getfuelenergyvehiclereports" target="_blank">the Fuel and Energy API</a>.
426
+ - `gps`: GPS data including lat/long, heading, speed, address book entry (if exists), and a reverse geocoded address.
427
+ - `gpsDistanceMeters`: The distance the vehicle has traveled since the gateway was installed based on GPS calculations.
428
+ - `gpsOdometerMeters`: Odometer reading provided by GPS calculations when OBD odometer cannot be pulled automatically. You must provide a manual odometer reading before this value is updated. Manual odometer readings can be provided via the [PATCH /fleet/vehicles/{id}](ref:updatevehicle) endpoint or through the <a href="https://kb.samsara.com/hc/en-us/articles/115005273667-Editing-Odometer-Reading" target="_blank">cloud dasbhoard</a>. Odometer readings that are manually set will update as GPS trip data is gathered. Try combining with `obdOdometerMeters`.
429
+ - `idlingDurationMilliseconds`: The cumulative idling duration in milliseconds. Cumulative values always increase. For filtering of idling duration please use [the Idling Events API](https://developers.samsara.com/reference/getvehicleidlingreports).
430
+ - `intakeManifoldTemperatureMilliC`: The intake manifold temperature reading in millidegree Celsius.
431
+ - `nfcCardScans`: ID card scans.
432
+ - `obdEngineSeconds`: The cumulative number of seconds the engine has run according to onboard diagnostics. When onboard diagnostic data is unavailable, ignition-based engine data (for ELD vehicles) will be used as a proxy to accumulate engine hours.
433
+ - `obdOdometerMeters`: The odometer reading according to onboard diagnostics. If Samsara does not have diagnostic coverage for a particular vehicle, the value for this stat type will be omitted.
434
+ - `syntheticEngineSeconds`: The cumulative number of seconds the engine has run estimated based on when the engine is running. Please note that this method <a href="https://kb.samsara.com/hc/en-us/articles/360043552511-Synthetic-Engine-Hours" target="_blank">requires the addition of a baseline</a> to trigger accumulation.
435
+ - `evStateOfChargeMilliPercent`: Milli percent State of Charge for electric and hybrid vehicles. Not all EV and HEVs may report this field.
436
+ - `evChargingStatus`: Charging status for electric and hybrid vehicles. Not all EV and HEVs may report this field. Statuses: unknown - 0, not charging - 1, charging - 2.
437
+ - `evChargingEnergyMicroWh`: Charging energy for electric and hybrid vehicles in microwatt hours. Not all EV and HEVs may report this field.
438
+ - `evChargingVoltageMilliVolt`: Charging voltage for electric and hybrid vehicles in milli volts. Not all EV and HEVs may report this field.
439
+ - `evChargingCurrentMilliAmp`: Charging current for electric and hybrid vehicles in milli amps. Not all EV and HEVs may report this field.
440
+ - `evConsumedEnergyMicroWh`: Consumed energy (including regenerated) for electric and hybrid vehicles in microwatt hours. Not all EV and HEVs may report this field.
441
+ - `evRegeneratedEnergyMicroWh`: Regenerated energy for electric and hybrid vehicles in microwatt hours. Not all EV and HEVs may report this field.
442
+ - `evBatteryVoltageMilliVolt`: Battery voltage for electric and hybrid vehicles in milli volts. Not all EV and HEVs may report this field.
443
+ - `evBatteryCurrentMilliAmp`: Battery current for electric and hybrid vehicles in milli amps. Not all EV and HEVs may report this field.
444
+ - `evBatteryStateOfHealthMilliPercent`: Milli percent battery state of health for electric and hybrid vehicles. Not all EV and HEVs may report this field.
445
+ - `evAverageBatteryTemperatureMilliCelsius`: Battery temperature for electric and hybrid vehicles in milli celsius. Not all EV and HEVs may report this field.
446
+ - `evDistanceDrivenMeters`: Electric distance driven for electric and hybrid vehicles in meters. Not all EV and HEVs may report this field.
447
+ - `spreaderLiquidRate`: Liquid spread rate reading in milliliters per meter, read from the material spreader. Unfiltered live stats are supplied as-read from the Material Spreader unit. Readings do not consider total spread rate(s) over time or distance.
448
+ - `spreaderGranularRate`: Granular spread rate reading in milliliters per meter, read from the material spreader. Unfiltered live stats are supplied as-read from the Material Spreader unit. Readings do not consider total spread rate(s) over time or distance.
449
+ - `spreaderPrewetRate`: Prewet spread rate reading in milliliters per meter, read from the material spreader. Unfiltered live stats are supplied as-read from the Material Spreader unit. Readings do not consider total spread rate(s) over time or distance.
450
+ - `spreaderAirTemp`: Air (ambient) temperature in milli celsius reading from material spreader.
451
+ - `spreaderRoadTemp`: Road temperature reading in milli celsius from material spreader.
452
+ - `spreaderOnState`: Whether vehicle spreader is enabled.
453
+ - `spreaderActive`: Whether vehicle is actively spreading any material.
454
+ - `spreaderBlastState`: Whether vehicle is actively spreading material in ‘blast mode’.
455
+ - `spreaderGranularName`: Name of most recent type of granular material spread, read from the material spreader.
456
+ - `spreaderPrewetName`: Name of most recent type of prewet material spread, read from the material spreader.
457
+ - `spreaderLiquidName`: Name of most recent type of liquid material spread, read from the material spreader.
458
+ - `spreaderPlowStatus`: Snow plow status (`Up` or `Down`), as read from the material spreader. Note: this is separate from plow status defined via auxInput.
459
+ - `seatbeltDriver`: Seatbelt Driver Status as read from the vehicle. `Buckled` or `Unbuckled`. (Beta only)
460
+ - `tellTales`: Tell tales status as read from the vehicle.
461
+
462
+ decorations : typing.Optional[typing.Union[GetVehicleStatsHistoryRequestDecorationsItem, typing.Sequence[GetVehicleStatsHistoryRequestDecorationsItem]]]
463
+ Decorations to add to the primary stats listed in the `types` parameter. For example, if you wish to know the vehicle's location whenever the engine changes state, you may set `types=engineStates&decorations=gps`.
464
+
465
+ You may list ***up to 2*** decorations using comma-separated format. If multiple stats are listed in the `types` parameter, the decorations will be added to each one. For example: `types=engineStates,obdOdometerMeters,faultCodes&decorations=gps,fuelPercents` will list GPS and fuel decorations for each engine state change, each odometer reading, and each fault code. See the <a href="/docs/telematics#query-parameters" target="_blank">Telematics</a> guide for more details.
466
+
467
+ Note that decorations may significantly increase the response payload size.
468
+
469
+ - `ambientAirTemperatureMilliC`: The ambient air temperature reading in millidegree Celsius.
470
+ - `auxInput1`-`auxInput13`: Stat events from the <a href="https://kb.samsara.com/hc/en-us/articles/360043040512-Auxiliary-Inputs" target="_blank">auxiliary inputs</a> for the vehicle.
471
+ - `batteryMilliVolts`: The vehicle battery voltage reading.
472
+ - `barometricPressurePa`: The barometric pressure reading in pascals.
473
+ - `ecuSpeedMph`: The speed of the engine in miles per hour according to the ECU.
474
+ - `engineCoolantTemperatureMilliC`: The engine coolant temperature reading in millidegree Celsius.
475
+ - `engineImmobilizer`: The state of the engine immobilizer - Valid values: `ignition_disabled`, `ignition_enabled`. This stat type will only return states of our first Engine Immobilizer Hardware (ACC-EI). Please use <a href="https://developers.samsara.com/reference/getengineimmobilizerstates" target="_blank">Get engine immobilizer states</a> to get states for both Engine Immobilizer Hardware versions (incl. HW-EI21).
476
+ - `engineOilPressureKPa`: The engine oil pressure reading in kilopascals.
477
+ - `engineLoadPercent`: The engine load in percentage points (e.g. `99`, `50`, etc).
478
+ - `engineRpm`: The revolutions per minute of the engine.
479
+ - `engineStates`: The state of the engine (`Off`, `On`, `Idle`).
480
+ - `faultCodes`: The diagnostic fault codes for the vehicle.
481
+ - `fuelPercents`: The engine fuel level in percentage points (e.g. `99`, `50`, etc).
482
+ - `fuelConsumedMilliliters`: The cumulative fuel consumption in milliliters for vehicles. Cumulative values always increase. This includes all fuel consumption reported by vehicles without filtering of invalid data points. For filtered fuel consumption that matches the Fuel & Energy Report, please use <a href="https://developers.samsara.com/reference/getfuelenergyvehiclereports" target="_blank">the Fuel and Energy API</a>.
483
+ - `gps`: GPS data including lat/long, heading, speed, address book entry (if exists), and a reverse geocoded address.
484
+ - `gpsDistanceMeters`: The distance the vehicle has traveled since the gateway was installed based on GPS calculations.
485
+ - `idlingDurationMilliseconds`: The cumulative idling duration in milliseconds. Cumulative values always increase. For filtering of idling duration please use <a href="https://developers.samsara.com/reference/getvehicleidlingreports" target="_blank">the Idling Events API</a>.
486
+ - `intakeManifoldTemperatureMilliC`: The intake manifold temperature reading in millidegree Celsius.
487
+ - `nfcCardScans`: ID card scans.
488
+ - `obdEngineSeconds`: The cumulative number of seconds the engine has run according to onboard diagnostics. When onboard diagnostic data is unavailable, ignition-based engine data (for ELD vehicles) will be used as a proxy to accumulate engine hours.
489
+ - `obdOdometerMeters`: The odometer reading according to onboard diagnostics. If Samsara does not have diagnostic coverage for a particular vehicle, the value for this stat type will be omitted.
490
+ - `syntheticEngineSeconds`: The cumulative number of seconds the engine has run estimated based on when the engine is running. Please note that this method <a href="https://kb.samsara.com/hc/en-us/articles/360043552511-Synthetic-Engine-Hours" target="_blank">requires the addition of a baseline</a> to trigger accumulation.
491
+ - `evStateOfChargeMilliPercent`: Milli percent State of Charge for electric and hybrid vehicles. Not all EV and HEVs may report this field.
492
+ - `evChargingStatus`: Charging status for electric and hybrid vehicles. Not all EV and HEVs may report this field. Statuses: unknown - 0, not charging - 1, charging - 2.
493
+ - `evChargingEnergyMicroWh`: Charging energy for electric and hybrid vehicles in microwatt hours. Not all EV and HEVs may report this field.
494
+ - `evChargingVoltageMilliVolt`: Charging voltage for electric and hybrid vehicles in milli volts. Not all EV and HEVs may report this field.
495
+ - `evChargingCurrentMilliAmp`: Charging current for electric and hybrid vehicles in milli amps. Not all EV and HEVs may report this field.
496
+ - `evConsumedEnergyMicroWh`: Consumed energy (including regenerated) for electric and hybrid vehicles in microwatt hours. Not all EV and HEVs may report this field.
497
+ - `evRegeneratedEnergyMicroWh`: Regenerated energy for electric and hybrid vehicles in microwatt hours. Not all EV and HEVs may report this field.
498
+ - `evBatteryVoltageMilliVolt`: Battery voltage for electric and hybrid vehicles in milli volts. Not all EV and HEVs may report this field.
499
+ - `evBatteryCurrentMilliAmp`: Battery current for electric and hybrid vehicles in milli amps. Not all EV and HEVs may report this field.
500
+ - `evBatteryStateOfHealthMilliPercent`: Milli percent battery state of health for electric and hybrid vehicles. Not all EV and HEVs may report this field.
501
+ - `evAverageBatteryTemperatureMilliCelsius`: Battery temperature for electric and hybrid vehicles in milli celsius. Not all EV and HEVs may report this field.
502
+ - `evDistanceDrivenMeters`: Electric distance driven for electric and hybrid vehicles in meters. Not all EV and HEVs may report this field.
503
+ - `spreaderLiquidRate`: Liquid spread rate reading in milliliters per meter, read from the material spreader. Unfiltered live stats are supplied as-read from the Material Spreader unit. Readings do not consider total spread rate(s) over time or distance.
504
+ - `spreaderGranularRate`: Granular spread rate reading in milliliters per meter, read from the material spreader. Unfiltered live stats are supplied as-read from the Material Spreader unit. Readings do not consider total spread rate(s) over time or distance.
505
+ - `spreaderPrewetRate`: Prewet spread rate reading in milliliters per meter, read from the material spreader. Unfiltered live stats are supplied as-read from the Material Spreader unit. Readings do not consider total spread rate(s) over time or distance.
506
+ - `spreaderAirTemp`: Air (ambient) temperature in milli celsius reading from material spreader.
507
+ - `spreaderRoadTemp`: Road temperature reading in milli celsius from material spreader.
508
+ - `spreaderOnState`: Whether vehicle spreader is enabled.
509
+ - `spreaderActive`: Whether vehicle is actively spreading any material.
510
+ - `spreaderBlastState`: Whether vehicle is actively spreading material in 'blast mode'.
511
+ - `spreaderGranularName`: Name of most recent type of granular material spread, read from the material spreader.
512
+ - `spreaderPrewetName`: Name of most recent type of prewet material spread, read from the material spreader.
513
+ - `spreaderLiquidName`: Name of most recent type of liquid material spread, read from the material spreader.
514
+ - `spreaderPlowStatus`: Snow plow status (`Up` or `Down`), as read from the material spreader. Note: this is separate from plow status defined via auxInput.
515
+ - `seatbeltDriver`: Seatbelt Driver Status as read from the vehicle. `Buckled` or `Unbuckled`. (Beta only)
516
+ - `tellTales`: Tell tales status as read from the vehicle.
517
+
518
+ request_options : typing.Optional[RequestOptions]
519
+ Request-specific configuration.
520
+
521
+ Returns
522
+ -------
523
+ HttpResponse[VehicleStatsListResponse]
524
+ List of vehicle stats for the specified vehicles, stat type, and time range.
525
+ """
526
+ _response = self._client_wrapper.httpx_client.request(
527
+ "fleet/vehicles/stats/history",
528
+ method="GET",
529
+ params={
530
+ "after": after,
531
+ "startTime": start_time,
532
+ "endTime": end_time,
533
+ "parentTagIds": parent_tag_ids,
534
+ "tagIds": tag_ids,
535
+ "vehicleIds": vehicle_ids,
536
+ "types": types,
537
+ "decorations": decorations,
538
+ },
539
+ request_options=request_options,
540
+ )
541
+ try:
542
+ if 200 <= _response.status_code < 300:
543
+ _data = typing.cast(
544
+ VehicleStatsListResponse,
545
+ parse_obj_as(
546
+ type_=VehicleStatsListResponse, # type: ignore
547
+ object_=_response.json(),
548
+ ),
549
+ )
550
+ return HttpResponse(response=_response, data=_data)
551
+ _response_json = _response.json()
552
+ except JSONDecodeError:
553
+ raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text)
554
+ raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json)
555
+
556
+
557
+ class AsyncRawVehicleStatsClient:
558
+ def __init__(self, *, client_wrapper: AsyncClientWrapper):
559
+ self._client_wrapper = client_wrapper
560
+
561
+ async def get_vehicle_stats(
562
+ self,
563
+ *,
564
+ after: typing.Optional[str] = None,
565
+ time: typing.Optional[str] = None,
566
+ parent_tag_ids: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
567
+ tag_ids: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
568
+ vehicle_ids: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
569
+ types: typing.Optional[
570
+ typing.Union[GetVehicleStatsRequestTypesItem, typing.Sequence[GetVehicleStatsRequestTypesItem]]
571
+ ] = None,
572
+ request_options: typing.Optional[RequestOptions] = None,
573
+ ) -> AsyncHttpResponse[VehicleStatsResponse]:
574
+ """
575
+ Returns the last known stats of all vehicles at the given `time`. If no `time` is specified, the current time is used.
576
+
577
+ Related guide: <a href="/docs/telematics" target="_blank">Telematics</a>.
578
+
579
+ **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.
580
+
581
+ To use this endpoint, select **Read Vehicle Statistics** under the Vehicles 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>
582
+
583
+ Parameters
584
+ ----------
585
+ after : typing.Optional[str]
586
+ 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.
587
+
588
+ time : typing.Optional[str]
589
+ 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. (Example: `2020-01-27T07:06:25Z`).
590
+
591
+ parent_tag_ids : typing.Optional[typing.Union[str, typing.Sequence[str]]]
592
+ 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`
593
+
594
+ tag_ids : typing.Optional[typing.Union[str, typing.Sequence[str]]]
595
+ A filter on the data based on this comma-separated list of tag IDs. Example: `tagIds=1234,5678`
596
+
597
+ vehicle_ids : typing.Optional[typing.Union[str, typing.Sequence[str]]]
598
+ A filter on the data based on this comma-separated list of vehicle IDs. Example: `vehicleIds=1234,5678`
599
+
600
+ types : typing.Optional[typing.Union[GetVehicleStatsRequestTypesItem, typing.Sequence[GetVehicleStatsRequestTypesItem]]]
601
+ The stat types you want this endpoint to return information on. See also the <a href="/docs/telematics#query-parameters" target="_blank">Telematics</a> guide for more details.
602
+
603
+ You may list ***up to 3*** types using comma-separated format. For example: `types=gps,engineStates,obdOdometerMeters`.
604
+
605
+ *Note:* `auxInput3`-`auxInput10` count as a single type against the limit of 3. For example, you could list `types=engineStates,obdOdometerMeters,auxInput3,auxInput4` because `auxInput3` and `auxInput4` count as a single stat type. `auxInput1` and `auxInput2` still count as their own individual types.
606
+
607
+ - `ambientAirTemperatureMilliC`: The ambient air temperature reading in millidegree Celsius.
608
+ - `auxInput1`-`auxInput13`: Stat events from the <a href="https://kb.samsara.com/hc/en-us/articles/360043040512-Auxiliary-Inputs" target="_blank">auxiliary inputs</a> for the vehicle.
609
+ - `barometricPressurePa`: The barometric pressure reading in pascals.
610
+ - `batteryMilliVolts`: The vehicle battery voltage reading.
611
+ - `defLevelMilliPercent`: The Diesel Exhaust Fluid (DEF) level in milli percentage points (e.g. `99001`, `49999`, etc).
612
+ - `ecuSpeedMph`: The speed of the engine in miles per hour according to the ECU.
613
+ - `engineCoolantTemperatureMilliC`: The engine coolant temperature reading in millidegree Celsius.
614
+ - `engineImmobilizer`: The state of the engine immobilizer - Valid values: `ignition_disabled`, `ignition_enabled`. This stat type will only return states of our first Engine Immobilizer Hardware (ACC-EI). Please use <a href="https://developers.samsara.com/reference/getengineimmobilizerstates" target="_blank">Get engine immobilizer states</a> to get states for both Engine Immobilizer Hardware versions (incl. HW-EI21).
615
+ - `engineLoadPercent`: The engine load in percentage points (e.g. `99`, `50`, etc).
616
+ - `engineOilPressureKPa`: The engine oil pressure reading in kilopascals.
617
+ - `engineRpm`: The revolutions per minute of the engine.
618
+ - `engineStates`: The state of the engine (`Off`, `On`, `Idle`).
619
+ - `faultCodes`: The diagnostic fault codes for the vehicle.
620
+ - `fuelPercents`: The engine fuel level in percentage points (e.g. `99`, `50`, etc).
621
+ - `fuelConsumedMilliliters`: The cumulative fuel consumption in milliliters for vehicles. Cumulative values always increase. This includes all fuel consumption reported by vehicles without filtering of invalid data points. For filtered fuel consumption that matches the Fuel & Energy Report, please use <a href="https://developers.samsara.com/reference/getfuelenergyvehiclereports" target="_blank">the Fuel and Energy API</a>.
622
+ - `gps`: GPS data including lat/long, heading, speed, address book entry (if exists), and a reverse geocoded address.
623
+ - `gpsDistanceMeters`: The distance the vehicle has traveled since the gateway was installed based on GPS calculations.
624
+ - `gpsOdometerMeters`: Odometer reading provided by GPS calculations when OBD odometer cannot be pulled automatically. You must provide a manual odometer reading before this value is updated. Manual odometer readings can be provided via the [PATCH /fleet/vehicles/{id}](ref:updatevehicle) endpoint or through the <a href="https://kb.samsara.com/hc/en-us/articles/115005273667-Editing-Odometer-Reading" target="_blank">cloud dasbhoard</a>. Odometer readings that are manually set will update as GPS trip data is gathered. Try combining with `obdOdometerMeters`.
625
+ - `idlingDurationMilliseconds`: The cumulative idling duration in milliseconds. Cumulative values always increase. For filtering of idling duration please use [the Idling Events API](https://developers.samsara.com/reference/getvehicleidlingreports).
626
+ - `intakeManifoldTemperatureMilliC`: The intake manifold temperature reading in millidegree Celsius.
627
+ - `nfcCardScans`: ID card scans.
628
+ - `obdEngineSeconds`: The cumulative number of seconds the engine has run according to onboard diagnostics. When onboard diagnostic data is unavailable, ignition-based engine data (for ELD vehicles) will be used as a proxy to accumulate engine hours.
629
+ - `obdOdometerMeters`: The odometer reading according to onboard diagnostics. If Samsara does not have diagnostic coverage for a particular vehicle, the value for this stat type will be omitted.
630
+ - `syntheticEngineSeconds`: The cumulative number of seconds the engine has run estimated based on when the engine is running. Please note that this method <a href="https://kb.samsara.com/hc/en-us/articles/360043552511-Synthetic-Engine-Hours" target="_blank">requires the addition of a baseline</a> to trigger accumulation.
631
+ - `evStateOfChargeMilliPercent`: Milli percent State of Charge for electric and hybrid vehicles. Not all EV and HEVs may report this field.
632
+ - `evChargingStatus`: Charging status for electric and hybrid vehicles. Not all EV and HEVs may report this field. Statuses: unknown - 0, not charging - 1, charging - 2.
633
+ - `evChargingEnergyMicroWh`: Charging energy for electric and hybrid vehicles in microwatt hours. Not all EV and HEVs may report this field.
634
+ - `evChargingVoltageMilliVolt`: Charging voltage for electric and hybrid vehicles in milli volts. Not all EV and HEVs may report this field.
635
+ - `evChargingCurrentMilliAmp`: Charging current for electric and hybrid vehicles in milli amps. Not all EV and HEVs may report this field.
636
+ - `evConsumedEnergyMicroWh`: Consumed energy (including regenerated) for electric and hybrid vehicles in microwatt hours. Not all EV and HEVs may report this field.
637
+ - `evRegeneratedEnergyMicroWh`: Regenerated energy for electric and hybrid vehicles in microwatt hours. Not all EV and HEVs may report this field.
638
+ - `evBatteryVoltageMilliVolt`: Battery voltage for electric and hybrid vehicles in milli volts. Not all EV and HEVs may report this field.
639
+ - `evBatteryCurrentMilliAmp`: Battery current for electric and hybrid vehicles in milli amps. Not all EV and HEVs may report this field.
640
+ - `evBatteryStateOfHealthMilliPercent`: Milli percent battery state of health for electric and hybrid vehicles. Not all EV and HEVs may report this field.
641
+ - `evAverageBatteryTemperatureMilliCelsius`: Battery temperature for electric and hybrid vehicles in milli celsius. Not all EV and HEVs may report this field.
642
+ - `evDistanceDrivenMeters`: Electric distance driven for electric and hybrid vehicles in meters. Not all EV and HEVs may report this field.
643
+ - `spreaderLiquidRate`: Liquid spread rate reading in milliliters per meter, read from the material spreader. Unfiltered live stats are supplied as-read from the Material Spreader unit. Readings do not consider total spread rate(s) over time or distance.
644
+ - `spreaderGranularRate`: Granular spread rate reading in milliliters per meter, read from the material spreader. Unfiltered live stats are supplied as-read from the Material Spreader unit. Readings do not consider total spread rate(s) over time or distance.
645
+ - `spreaderPrewetRate`: Prewet spread rate reading in milliliters per meter, read from the material spreader. Unfiltered live stats are supplied as-read from the Material Spreader unit. Readings do not consider total spread rate(s) over time or distance.
646
+ - `spreaderAirTemp`: Air (ambient) temperature in milli celsius reading from material spreader.
647
+ - `spreaderRoadTemp`: Road temperature reading in milli celsius from material spreader.
648
+ - `spreaderOnState`: Whether vehicle spreader is enabled.
649
+ - `spreaderActive`: Whether vehicle is actively spreading any material.
650
+ - `spreaderBlastState`: Whether vehicle is actively spreading material in ‘blast mode’.
651
+ - `spreaderGranularName`: Name of most recent type of granular material spread, read from the material spreader.
652
+ - `spreaderPrewetName`: Name of most recent type of prewet material spread, read from the material spreader.
653
+ - `spreaderLiquidName`: Name of most recent type of liquid material spread, read from the material spreader.
654
+ - `spreaderPlowStatus`: Snow plow status (`Up` or `Down`), as read from the material spreader. Note: this is separate from plow status defined via auxInput.
655
+ - `seatbeltDriver`: Seatbelt Driver Status as read from the vehicle. `Buckled` or `Unbuckled`. (Beta only)
656
+ - `tellTales`: Tell tales status as read from the vehicle.
657
+
658
+ request_options : typing.Optional[RequestOptions]
659
+ Request-specific configuration.
660
+
661
+ Returns
662
+ -------
663
+ AsyncHttpResponse[VehicleStatsResponse]
664
+ Vehicle stats snapshot
665
+ """
666
+ _response = await self._client_wrapper.httpx_client.request(
667
+ "fleet/vehicles/stats",
668
+ method="GET",
669
+ params={
670
+ "after": after,
671
+ "time": time,
672
+ "parentTagIds": parent_tag_ids,
673
+ "tagIds": tag_ids,
674
+ "vehicleIds": vehicle_ids,
675
+ "types": types,
676
+ },
677
+ request_options=request_options,
678
+ )
679
+ try:
680
+ if 200 <= _response.status_code < 300:
681
+ _data = typing.cast(
682
+ VehicleStatsResponse,
683
+ parse_obj_as(
684
+ type_=VehicleStatsResponse, # type: ignore
685
+ object_=_response.json(),
686
+ ),
687
+ )
688
+ return AsyncHttpResponse(response=_response, data=_data)
689
+ _response_json = _response.json()
690
+ except JSONDecodeError:
691
+ raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text)
692
+ raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json)
693
+
694
+ async def get_vehicle_stats_feed(
695
+ self,
696
+ *,
697
+ after: typing.Optional[str] = None,
698
+ parent_tag_ids: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
699
+ tag_ids: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
700
+ vehicle_ids: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
701
+ types: typing.Optional[
702
+ typing.Union[GetVehicleStatsFeedRequestTypesItem, typing.Sequence[GetVehicleStatsFeedRequestTypesItem]]
703
+ ] = None,
704
+ decorations: typing.Optional[
705
+ typing.Union[
706
+ GetVehicleStatsFeedRequestDecorationsItem, typing.Sequence[GetVehicleStatsFeedRequestDecorationsItem]
707
+ ]
708
+ ] = None,
709
+ request_options: typing.Optional[RequestOptions] = None,
710
+ ) -> AsyncHttpResponse[VehicleStatsListResponse]:
711
+ """
712
+ Follow a feed of vehicle stats.
713
+
714
+ Your first call to this endpoint will provide you with the most recent stats for each vehicle and an `endCursor`.
715
+
716
+ You can the provide the `endCursor` value to the `after` query parameter to get all updates since the last call you made.
717
+
718
+ If `hasNextPage` is `false`, no new data is immediately available. You should wait a minimum of 5 seconds making a subsequent request.
719
+
720
+ Related guide: <a href="/docs/telematics" target="_blank">Telematics</a>.
721
+
722
+ **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.
723
+
724
+ To use this endpoint, select **Read Vehicle Statistics** under the Vehicles 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>
725
+
726
+ Parameters
727
+ ----------
728
+ after : typing.Optional[str]
729
+ 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.
730
+
731
+ parent_tag_ids : typing.Optional[typing.Union[str, typing.Sequence[str]]]
732
+ 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`
733
+
734
+ tag_ids : typing.Optional[typing.Union[str, typing.Sequence[str]]]
735
+ A filter on the data based on this comma-separated list of tag IDs. Example: `tagIds=1234,5678`
736
+
737
+ vehicle_ids : typing.Optional[typing.Union[str, typing.Sequence[str]]]
738
+ A filter on the data based on this comma-separated list of vehicle IDs. Example: `vehicleIds=1234,5678`
739
+
740
+ types : typing.Optional[typing.Union[GetVehicleStatsFeedRequestTypesItem, typing.Sequence[GetVehicleStatsFeedRequestTypesItem]]]
741
+ The stat types you want this endpoint to return information on. See also the <a href="/docs/telematics#query-parameters" target="_blank">Telematics</a> guide for more details.
742
+
743
+ You may list ***up to 3*** types using comma-separated format. For example: `types=gps,engineStates,obdOdometerMeters`.
744
+
745
+ *Note:* `auxInput3`-`auxInput10` count as a single type against the limit of 3. For example, you could list `types=engineStates,obdOdometerMeters,auxInput3,auxInput4` because `auxInput3` and `auxInput4` count as a single stat type. `auxInput1` and `auxInput2` still count as their own individual types.
746
+
747
+ - `ambientAirTemperatureMilliC`: The ambient air temperature reading in millidegree Celsius.
748
+ - `auxInput1`-`auxInput13`: Stat events from the <a href="https://kb.samsara.com/hc/en-us/articles/360043040512-Auxiliary-Inputs" target="_blank">auxiliary inputs</a> for the vehicle.
749
+ - `barometricPressurePa`: The barometric pressure reading in pascals.
750
+ - `batteryMilliVolts`: The vehicle battery voltage reading.
751
+ - `defLevelMilliPercent`: The Diesel Exhaust Fluid (DEF) level in milli percentage points (e.g. `99001`, `49999`, etc).
752
+ - `ecuSpeedMph`: The speed of the engine in miles per hour according to the ECU.
753
+ - `engineCoolantTemperatureMilliC`: The engine coolant temperature reading in millidegree Celsius.
754
+ - `engineImmobilizer`: The state of the engine immobilizer - Valid values: `ignition_disabled`, `ignition_enabled`. This stat type will only return states of our first Engine Immobilizer Hardware (ACC-EI). Please use <a href="https://developers.samsara.com/reference/getengineimmobilizerstates" target="_blank">Get engine immobilizer states</a> to get states for both Engine Immobilizer Hardware versions (incl. HW-EI21).
755
+ - `engineLoadPercent`: The engine load in percentage points (e.g. `99`, `50`, etc).
756
+ - `engineOilPressureKPa`: The engine oil pressure reading in kilopascals.
757
+ - `engineRpm`: The revolutions per minute of the engine.
758
+ - `engineStates`: The state of the engine (`Off`, `On`, `Idle`).
759
+ - `faultCodes`: The diagnostic fault codes for the vehicle.
760
+ - `fuelPercents`: The engine fuel level in percentage points (e.g. `99`, `50`, etc).
761
+ - `fuelConsumedMilliliters`: The cumulative fuel consumption in milliliters for vehicles. Cumulative values always increase. This includes all fuel consumption reported by vehicles without filtering of invalid data points. For filtered fuel consumption that matches the Fuel & Energy Report, please use <a href="https://developers.samsara.com/reference/getfuelenergyvehiclereports" target="_blank">the Fuel and Energy API</a>.
762
+ - `gps`: GPS data including lat/long, heading, speed, address book entry (if exists), and a reverse geocoded address.
763
+ - `gpsDistanceMeters`: The distance the vehicle has traveled since the gateway was installed based on GPS calculations.
764
+ - `gpsOdometerMeters`: Odometer reading provided by GPS calculations when OBD odometer cannot be pulled automatically. You must provide a manual odometer reading before this value is updated. Manual odometer readings can be provided via the [PATCH /fleet/vehicles/{id}](ref:updatevehicle) endpoint or through the <a href="https://kb.samsara.com/hc/en-us/articles/115005273667-Editing-Odometer-Reading" target="_blank">cloud dasbhoard</a>. Odometer readings that are manually set will update as GPS trip data is gathered. Try combining with `obdOdometerMeters`.
765
+ - `idlingDurationMilliseconds`: The cumulative idling duration in milliseconds. Cumulative values always increase. For filtering of idling duration please use [the Idling Events API](https://developers.samsara.com/reference/getvehicleidlingreports).
766
+ - `intakeManifoldTemperatureMilliC`: The intake manifold temperature reading in millidegree Celsius.
767
+ - `nfcCardScans`: ID card scans.
768
+ - `obdEngineSeconds`: The cumulative number of seconds the engine has run according to onboard diagnostics. When onboard diagnostic data is unavailable, ignition-based engine data (for ELD vehicles) will be used as a proxy to accumulate engine hours.
769
+ - `obdOdometerMeters`: The odometer reading according to onboard diagnostics. If Samsara does not have diagnostic coverage for a particular vehicle, the value for this stat type will be omitted.
770
+ - `syntheticEngineSeconds`: The cumulative number of seconds the engine has run estimated based on when the engine is running. Please note that this method <a href="https://kb.samsara.com/hc/en-us/articles/360043552511-Synthetic-Engine-Hours" target="_blank">requires the addition of a baseline</a> to trigger accumulation.
771
+ - `evStateOfChargeMilliPercent`: Milli percent State of Charge for electric and hybrid vehicles. Not all EV and HEVs may report this field.
772
+ - `evChargingStatus`: Charging status for electric and hybrid vehicles. Not all EV and HEVs may report this field. Statuses: unknown - 0, not charging - 1, charging - 2.
773
+ - `evChargingEnergyMicroWh`: Charging energy for electric and hybrid vehicles in microwatt hours. Not all EV and HEVs may report this field.
774
+ - `evChargingVoltageMilliVolt`: Charging voltage for electric and hybrid vehicles in milli volts. Not all EV and HEVs may report this field.
775
+ - `evChargingCurrentMilliAmp`: Charging current for electric and hybrid vehicles in milli amps. Not all EV and HEVs may report this field.
776
+ - `evConsumedEnergyMicroWh`: Consumed energy (including regenerated) for electric and hybrid vehicles in microwatt hours. Not all EV and HEVs may report this field.
777
+ - `evRegeneratedEnergyMicroWh`: Regenerated energy for electric and hybrid vehicles in microwatt hours. Not all EV and HEVs may report this field.
778
+ - `evBatteryVoltageMilliVolt`: Battery voltage for electric and hybrid vehicles in milli volts. Not all EV and HEVs may report this field.
779
+ - `evBatteryCurrentMilliAmp`: Battery current for electric and hybrid vehicles in milli amps. Not all EV and HEVs may report this field.
780
+ - `evBatteryStateOfHealthMilliPercent`: Milli percent battery state of health for electric and hybrid vehicles. Not all EV and HEVs may report this field.
781
+ - `evAverageBatteryTemperatureMilliCelsius`: Battery temperature for electric and hybrid vehicles in milli celsius. Not all EV and HEVs may report this field.
782
+ - `evDistanceDrivenMeters`: Electric distance driven for electric and hybrid vehicles in meters. Not all EV and HEVs may report this field.
783
+ - `spreaderLiquidRate`: Liquid spread rate reading in milliliters per meter, read from the material spreader. Unfiltered live stats are supplied as-read from the Material Spreader unit. Readings do not consider total spread rate(s) over time or distance.
784
+ - `spreaderGranularRate`: Granular spread rate reading in milliliters per meter, read from the material spreader. Unfiltered live stats are supplied as-read from the Material Spreader unit. Readings do not consider total spread rate(s) over time or distance.
785
+ - `spreaderPrewetRate`: Prewet spread rate reading in milliliters per meter, read from the material spreader. Unfiltered live stats are supplied as-read from the Material Spreader unit. Readings do not consider total spread rate(s) over time or distance.
786
+ - `spreaderAirTemp`: Air (ambient) temperature in milli celsius reading from material spreader.
787
+ - `spreaderRoadTemp`: Road temperature reading in milli celsius from material spreader.
788
+ - `spreaderOnState`: Whether vehicle spreader is enabled.
789
+ - `spreaderActive`: Whether vehicle is actively spreading any material.
790
+ - `spreaderBlastState`: Whether vehicle is actively spreading material in ‘blast mode’.
791
+ - `spreaderGranularName`: Name of most recent type of granular material spread, read from the material spreader.
792
+ - `spreaderPrewetName`: Name of most recent type of prewet material spread, read from the material spreader.
793
+ - `spreaderLiquidName`: Name of most recent type of liquid material spread, read from the material spreader.
794
+ - `spreaderPlowStatus`: Snow plow status (`Up` or `Down`), as read from the material spreader. Note: this is separate from plow status defined via auxInput.
795
+ - `seatbeltDriver`: Seatbelt Driver Status as read from the vehicle. `Buckled` or `Unbuckled`. (Beta only)
796
+ - `tellTales`: Tell tales status as read from the vehicle.
797
+
798
+ decorations : typing.Optional[typing.Union[GetVehicleStatsFeedRequestDecorationsItem, typing.Sequence[GetVehicleStatsFeedRequestDecorationsItem]]]
799
+ Decorations to add to the primary stats listed in the `types` parameter. For example, if you wish to know the vehicle's location whenever the engine changes state, you may set `types=engineStates&decorations=gps`.
800
+
801
+ You may list ***up to 2*** decorations using comma-separated format. If multiple stats are listed in the `types` parameter, the decorations will be added to each one. For example: `types=engineStates,obdOdometerMeters,faultCodes&decorations=gps,fuelPercents` will list GPS and fuel decorations for each engine state change, each odometer reading, and each fault code. See the <a href="/docs/telematics#query-parameters" target="_blank">Telematics</a> guide for more details.
802
+
803
+ Note that decorations may significantly increase the response payload size.
804
+
805
+ - `ambientAirTemperatureMilliC`: The ambient air temperature reading in millidegree Celsius.
806
+ - `auxInput1`-`auxInput13`: Stat events from the <a href="https://kb.samsara.com/hc/en-us/articles/360043040512-Auxiliary-Inputs" target="_blank">auxiliary inputs</a> for the vehicle.
807
+ - `batteryMilliVolts`: The vehicle battery voltage reading.
808
+ - `barometricPressurePa`: The barometric pressure reading in pascals.
809
+ - `ecuSpeedMph`: The speed of the engine in miles per hour according to the ECU.
810
+ - `engineCoolantTemperatureMilliC`: The engine coolant temperature reading in millidegree Celsius.
811
+ - `engineImmobilizer`: The state of the engine immobilizer - Valid values: `ignition_disabled`, `ignition_enabled`. This stat type will only return states of our first Engine Immobilizer Hardware (ACC-EI). Please use <a href="https://developers.samsara.com/reference/getengineimmobilizerstates" target="_blank">Get engine immobilizer states</a> to get states for both Engine Immobilizer Hardware versions (incl. HW-EI21).
812
+ - `engineOilPressureKPa`: The engine oil pressure reading in kilopascals.
813
+ - `engineLoadPercent`: The engine load in percentage points (e.g. `99`, `50`, etc).
814
+ - `engineRpm`: The revolutions per minute of the engine.
815
+ - `engineStates`: The state of the engine (`Off`, `On`, `Idle`).
816
+ - `faultCodes`: The diagnostic fault codes for the vehicle.
817
+ - `fuelPercents`: The engine fuel level in percentage points (e.g. `99`, `50`, etc).
818
+ - `fuelConsumedMilliliters`: The cumulative fuel consumption in milliliters for vehicles. Cumulative values always increase. This includes all fuel consumption reported by vehicles without filtering of invalid data points. For filtered fuel consumption that matches the Fuel & Energy Report, please use <a href="https://developers.samsara.com/reference/getfuelenergyvehiclereports" target="_blank">the Fuel and Energy API</a>.
819
+ - `gps`: GPS data including lat/long, heading, speed, address book entry (if exists), and a reverse geocoded address.
820
+ - `gpsDistanceMeters`: The distance the vehicle has traveled since the gateway was installed based on GPS calculations.
821
+ - `idlingDurationMilliseconds`: The cumulative idling duration in milliseconds. Cumulative values always increase. For filtering of idling duration please use <a href="https://developers.samsara.com/reference/getvehicleidlingreports" target="_blank">the Idling Events API</a>.
822
+ - `intakeManifoldTemperatureMilliC`: The intake manifold temperature reading in millidegree Celsius.
823
+ - `nfcCardScans`: ID card scans.
824
+ - `obdEngineSeconds`: The cumulative number of seconds the engine has run according to onboard diagnostics. When onboard diagnostic data is unavailable, ignition-based engine data (for ELD vehicles) will be used as a proxy to accumulate engine hours.
825
+ - `obdOdometerMeters`: The odometer reading according to onboard diagnostics. If Samsara does not have diagnostic coverage for a particular vehicle, the value for this stat type will be omitted.
826
+ - `syntheticEngineSeconds`: The cumulative number of seconds the engine has run estimated based on when the engine is running. Please note that this method <a href="https://kb.samsara.com/hc/en-us/articles/360043552511-Synthetic-Engine-Hours" target="_blank">requires the addition of a baseline</a> to trigger accumulation.
827
+ - `evStateOfChargeMilliPercent`: Milli percent State of Charge for electric and hybrid vehicles. Not all EV and HEVs may report this field.
828
+ - `evChargingStatus`: Charging status for electric and hybrid vehicles. Not all EV and HEVs may report this field. Statuses: unknown - 0, not charging - 1, charging - 2.
829
+ - `evChargingEnergyMicroWh`: Charging energy for electric and hybrid vehicles in microwatt hours. Not all EV and HEVs may report this field.
830
+ - `evChargingVoltageMilliVolt`: Charging voltage for electric and hybrid vehicles in milli volts. Not all EV and HEVs may report this field.
831
+ - `evChargingCurrentMilliAmp`: Charging current for electric and hybrid vehicles in milli amps. Not all EV and HEVs may report this field.
832
+ - `evConsumedEnergyMicroWh`: Consumed energy (including regenerated) for electric and hybrid vehicles in microwatt hours. Not all EV and HEVs may report this field.
833
+ - `evRegeneratedEnergyMicroWh`: Regenerated energy for electric and hybrid vehicles in microwatt hours. Not all EV and HEVs may report this field.
834
+ - `evBatteryVoltageMilliVolt`: Battery voltage for electric and hybrid vehicles in milli volts. Not all EV and HEVs may report this field.
835
+ - `evBatteryCurrentMilliAmp`: Battery current for electric and hybrid vehicles in milli amps. Not all EV and HEVs may report this field.
836
+ - `evBatteryStateOfHealthMilliPercent`: Milli percent battery state of health for electric and hybrid vehicles. Not all EV and HEVs may report this field.
837
+ - `evAverageBatteryTemperatureMilliCelsius`: Battery temperature for electric and hybrid vehicles in milli celsius. Not all EV and HEVs may report this field.
838
+ - `evDistanceDrivenMeters`: Electric distance driven for electric and hybrid vehicles in meters. Not all EV and HEVs may report this field.
839
+ - `spreaderLiquidRate`: Liquid spread rate reading in milliliters per meter, read from the material spreader. Unfiltered live stats are supplied as-read from the Material Spreader unit. Readings do not consider total spread rate(s) over time or distance.
840
+ - `spreaderGranularRate`: Granular spread rate reading in milliliters per meter, read from the material spreader. Unfiltered live stats are supplied as-read from the Material Spreader unit. Readings do not consider total spread rate(s) over time or distance.
841
+ - `spreaderPrewetRate`: Prewet spread rate reading in milliliters per meter, read from the material spreader. Unfiltered live stats are supplied as-read from the Material Spreader unit. Readings do not consider total spread rate(s) over time or distance.
842
+ - `spreaderAirTemp`: Air (ambient) temperature in milli celsius reading from material spreader.
843
+ - `spreaderRoadTemp`: Road temperature reading in milli celsius from material spreader.
844
+ - `spreaderOnState`: Whether vehicle spreader is enabled.
845
+ - `spreaderActive`: Whether vehicle is actively spreading any material.
846
+ - `spreaderBlastState`: Whether vehicle is actively spreading material in 'blast mode'.
847
+ - `spreaderGranularName`: Name of most recent type of granular material spread, read from the material spreader.
848
+ - `spreaderPrewetName`: Name of most recent type of prewet material spread, read from the material spreader.
849
+ - `spreaderLiquidName`: Name of most recent type of liquid material spread, read from the material spreader.
850
+ - `spreaderPlowStatus`: Snow plow status (`Up` or `Down`), as read from the material spreader. Note: this is separate from plow status defined via auxInput.
851
+ - `seatbeltDriver`: Seatbelt Driver Status as read from the vehicle. `Buckled` or `Unbuckled`. (Beta only)
852
+ - `tellTales`: Tell tales status as read from the vehicle.
853
+
854
+ request_options : typing.Optional[RequestOptions]
855
+ Request-specific configuration.
856
+
857
+ Returns
858
+ -------
859
+ AsyncHttpResponse[VehicleStatsListResponse]
860
+ List of stat events for the specified vehicles and stat types.
861
+ """
862
+ _response = await self._client_wrapper.httpx_client.request(
863
+ "fleet/vehicles/stats/feed",
864
+ method="GET",
865
+ params={
866
+ "after": after,
867
+ "parentTagIds": parent_tag_ids,
868
+ "tagIds": tag_ids,
869
+ "vehicleIds": vehicle_ids,
870
+ "types": types,
871
+ "decorations": decorations,
872
+ },
873
+ request_options=request_options,
874
+ )
875
+ try:
876
+ if 200 <= _response.status_code < 300:
877
+ _data = typing.cast(
878
+ VehicleStatsListResponse,
879
+ parse_obj_as(
880
+ type_=VehicleStatsListResponse, # type: ignore
881
+ object_=_response.json(),
882
+ ),
883
+ )
884
+ return AsyncHttpResponse(response=_response, data=_data)
885
+ _response_json = _response.json()
886
+ except JSONDecodeError:
887
+ raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text)
888
+ raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json)
889
+
890
+ async def get_vehicle_stats_history(
891
+ self,
892
+ *,
893
+ start_time: str,
894
+ end_time: str,
895
+ after: typing.Optional[str] = None,
896
+ parent_tag_ids: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
897
+ tag_ids: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
898
+ vehicle_ids: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
899
+ types: typing.Optional[
900
+ typing.Union[
901
+ GetVehicleStatsHistoryRequestTypesItem, typing.Sequence[GetVehicleStatsHistoryRequestTypesItem]
902
+ ]
903
+ ] = None,
904
+ decorations: typing.Optional[
905
+ typing.Union[
906
+ GetVehicleStatsHistoryRequestDecorationsItem,
907
+ typing.Sequence[GetVehicleStatsHistoryRequestDecorationsItem],
908
+ ]
909
+ ] = None,
910
+ request_options: typing.Optional[RequestOptions] = None,
911
+ ) -> AsyncHttpResponse[VehicleStatsListResponse]:
912
+ """
913
+ Returns vehicle stats during the given time range for all vehicles. This can be optionally filtered by tags or specific vehicle IDs.
914
+
915
+ Related guide: <a href="/docs/telematics" target="_blank">Telematics</a>.
916
+
917
+ **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.
918
+
919
+ To use this endpoint, select **Read Vehicle Statistics** under the Vehicles 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>
920
+
921
+ Parameters
922
+ ----------
923
+ start_time : str
924
+ A start time in RFC 3339 format. Millisecond precision and timezones are supported. (Examples: 2019-06-13T19:08:25Z, 2019-06-13T19:08:25.455Z, OR 2015-09-15T14:00:12-04:00).
925
+
926
+ end_time : str
927
+ An end time in RFC 3339 format. Millisecond precision and timezones are supported. (Examples: 2019-06-13T19:08:25Z, 2019-06-13T19:08:25.455Z, OR 2015-09-15T14:00:12-04:00).
928
+
929
+ after : typing.Optional[str]
930
+ 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.
931
+
932
+ parent_tag_ids : typing.Optional[typing.Union[str, typing.Sequence[str]]]
933
+ 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`
934
+
935
+ tag_ids : typing.Optional[typing.Union[str, typing.Sequence[str]]]
936
+ A filter on the data based on this comma-separated list of tag IDs. Example: `tagIds=1234,5678`
937
+
938
+ vehicle_ids : typing.Optional[typing.Union[str, typing.Sequence[str]]]
939
+ A filter on the data based on this comma-separated list of vehicle IDs. Example: `vehicleIds=1234,5678`
940
+
941
+ types : typing.Optional[typing.Union[GetVehicleStatsHistoryRequestTypesItem, typing.Sequence[GetVehicleStatsHistoryRequestTypesItem]]]
942
+ The stat types you want this endpoint to return information on. See also the <a href="/docs/telematics#query-parameters" target="_blank">Telematics</a> guide for more details.
943
+
944
+ You may list ***up to 3*** types using comma-separated format. For example: `types=gps,engineStates,obdOdometerMeters`.
945
+
946
+ *Note:* `auxInput3`-`auxInput10` count as a single type against the limit of 3. For example, you could list `types=engineStates,obdOdometerMeters,auxInput3,auxInput4` because `auxInput3` and `auxInput4` count as a single stat type. `auxInput1` and `auxInput2` still count as their own individual types.
947
+
948
+ - `ambientAirTemperatureMilliC`: The ambient air temperature reading in millidegree Celsius.
949
+ - `auxInput1`-`auxInput13`: Stat events from the <a href="https://kb.samsara.com/hc/en-us/articles/360043040512-Auxiliary-Inputs" target="_blank">auxiliary inputs</a> for the vehicle.
950
+ - `barometricPressurePa`: The barometric pressure reading in pascals.
951
+ - `batteryMilliVolts`: The vehicle battery voltage reading.
952
+ - `defLevelMilliPercent`: The Diesel Exhaust Fluid (DEF) level in milli percentage points (e.g. `99001`, `49999`, etc).
953
+ - `ecuSpeedMph`: The speed of the engine in miles per hour according to the ECU.
954
+ - `engineCoolantTemperatureMilliC`: The engine coolant temperature reading in millidegree Celsius.
955
+ - `engineImmobilizer`: The state of the engine immobilizer - Valid values: `ignition_disabled`, `ignition_enabled`. This stat type will only return states of our first Engine Immobilizer Hardware (ACC-EI). Please use <a href="https://developers.samsara.com/reference/getengineimmobilizerstates" target="_blank">Get engine immobilizer states</a> to get states for both Engine Immobilizer Hardware versions (incl. HW-EI21).
956
+ - `engineLoadPercent`: The engine load in percentage points (e.g. `99`, `50`, etc).
957
+ - `engineOilPressureKPa`: The engine oil pressure reading in kilopascals.
958
+ - `engineRpm`: The revolutions per minute of the engine.
959
+ - `engineStates`: The state of the engine (`Off`, `On`, `Idle`).
960
+ - `faultCodes`: The diagnostic fault codes for the vehicle.
961
+ - `fuelPercents`: The engine fuel level in percentage points (e.g. `99`, `50`, etc).
962
+ - `fuelConsumedMilliliters`: The cumulative fuel consumption in milliliters for vehicles. Cumulative values always increase. This includes all fuel consumption reported by vehicles without filtering of invalid data points. For filtered fuel consumption that matches the Fuel & Energy Report, please use <a href="https://developers.samsara.com/reference/getfuelenergyvehiclereports" target="_blank">the Fuel and Energy API</a>.
963
+ - `gps`: GPS data including lat/long, heading, speed, address book entry (if exists), and a reverse geocoded address.
964
+ - `gpsDistanceMeters`: The distance the vehicle has traveled since the gateway was installed based on GPS calculations.
965
+ - `gpsOdometerMeters`: Odometer reading provided by GPS calculations when OBD odometer cannot be pulled automatically. You must provide a manual odometer reading before this value is updated. Manual odometer readings can be provided via the [PATCH /fleet/vehicles/{id}](ref:updatevehicle) endpoint or through the <a href="https://kb.samsara.com/hc/en-us/articles/115005273667-Editing-Odometer-Reading" target="_blank">cloud dasbhoard</a>. Odometer readings that are manually set will update as GPS trip data is gathered. Try combining with `obdOdometerMeters`.
966
+ - `idlingDurationMilliseconds`: The cumulative idling duration in milliseconds. Cumulative values always increase. For filtering of idling duration please use [the Idling Events API](https://developers.samsara.com/reference/getvehicleidlingreports).
967
+ - `intakeManifoldTemperatureMilliC`: The intake manifold temperature reading in millidegree Celsius.
968
+ - `nfcCardScans`: ID card scans.
969
+ - `obdEngineSeconds`: The cumulative number of seconds the engine has run according to onboard diagnostics. When onboard diagnostic data is unavailable, ignition-based engine data (for ELD vehicles) will be used as a proxy to accumulate engine hours.
970
+ - `obdOdometerMeters`: The odometer reading according to onboard diagnostics. If Samsara does not have diagnostic coverage for a particular vehicle, the value for this stat type will be omitted.
971
+ - `syntheticEngineSeconds`: The cumulative number of seconds the engine has run estimated based on when the engine is running. Please note that this method <a href="https://kb.samsara.com/hc/en-us/articles/360043552511-Synthetic-Engine-Hours" target="_blank">requires the addition of a baseline</a> to trigger accumulation.
972
+ - `evStateOfChargeMilliPercent`: Milli percent State of Charge for electric and hybrid vehicles. Not all EV and HEVs may report this field.
973
+ - `evChargingStatus`: Charging status for electric and hybrid vehicles. Not all EV and HEVs may report this field. Statuses: unknown - 0, not charging - 1, charging - 2.
974
+ - `evChargingEnergyMicroWh`: Charging energy for electric and hybrid vehicles in microwatt hours. Not all EV and HEVs may report this field.
975
+ - `evChargingVoltageMilliVolt`: Charging voltage for electric and hybrid vehicles in milli volts. Not all EV and HEVs may report this field.
976
+ - `evChargingCurrentMilliAmp`: Charging current for electric and hybrid vehicles in milli amps. Not all EV and HEVs may report this field.
977
+ - `evConsumedEnergyMicroWh`: Consumed energy (including regenerated) for electric and hybrid vehicles in microwatt hours. Not all EV and HEVs may report this field.
978
+ - `evRegeneratedEnergyMicroWh`: Regenerated energy for electric and hybrid vehicles in microwatt hours. Not all EV and HEVs may report this field.
979
+ - `evBatteryVoltageMilliVolt`: Battery voltage for electric and hybrid vehicles in milli volts. Not all EV and HEVs may report this field.
980
+ - `evBatteryCurrentMilliAmp`: Battery current for electric and hybrid vehicles in milli amps. Not all EV and HEVs may report this field.
981
+ - `evBatteryStateOfHealthMilliPercent`: Milli percent battery state of health for electric and hybrid vehicles. Not all EV and HEVs may report this field.
982
+ - `evAverageBatteryTemperatureMilliCelsius`: Battery temperature for electric and hybrid vehicles in milli celsius. Not all EV and HEVs may report this field.
983
+ - `evDistanceDrivenMeters`: Electric distance driven for electric and hybrid vehicles in meters. Not all EV and HEVs may report this field.
984
+ - `spreaderLiquidRate`: Liquid spread rate reading in milliliters per meter, read from the material spreader. Unfiltered live stats are supplied as-read from the Material Spreader unit. Readings do not consider total spread rate(s) over time or distance.
985
+ - `spreaderGranularRate`: Granular spread rate reading in milliliters per meter, read from the material spreader. Unfiltered live stats are supplied as-read from the Material Spreader unit. Readings do not consider total spread rate(s) over time or distance.
986
+ - `spreaderPrewetRate`: Prewet spread rate reading in milliliters per meter, read from the material spreader. Unfiltered live stats are supplied as-read from the Material Spreader unit. Readings do not consider total spread rate(s) over time or distance.
987
+ - `spreaderAirTemp`: Air (ambient) temperature in milli celsius reading from material spreader.
988
+ - `spreaderRoadTemp`: Road temperature reading in milli celsius from material spreader.
989
+ - `spreaderOnState`: Whether vehicle spreader is enabled.
990
+ - `spreaderActive`: Whether vehicle is actively spreading any material.
991
+ - `spreaderBlastState`: Whether vehicle is actively spreading material in ‘blast mode’.
992
+ - `spreaderGranularName`: Name of most recent type of granular material spread, read from the material spreader.
993
+ - `spreaderPrewetName`: Name of most recent type of prewet material spread, read from the material spreader.
994
+ - `spreaderLiquidName`: Name of most recent type of liquid material spread, read from the material spreader.
995
+ - `spreaderPlowStatus`: Snow plow status (`Up` or `Down`), as read from the material spreader. Note: this is separate from plow status defined via auxInput.
996
+ - `seatbeltDriver`: Seatbelt Driver Status as read from the vehicle. `Buckled` or `Unbuckled`. (Beta only)
997
+ - `tellTales`: Tell tales status as read from the vehicle.
998
+
999
+ decorations : typing.Optional[typing.Union[GetVehicleStatsHistoryRequestDecorationsItem, typing.Sequence[GetVehicleStatsHistoryRequestDecorationsItem]]]
1000
+ Decorations to add to the primary stats listed in the `types` parameter. For example, if you wish to know the vehicle's location whenever the engine changes state, you may set `types=engineStates&decorations=gps`.
1001
+
1002
+ You may list ***up to 2*** decorations using comma-separated format. If multiple stats are listed in the `types` parameter, the decorations will be added to each one. For example: `types=engineStates,obdOdometerMeters,faultCodes&decorations=gps,fuelPercents` will list GPS and fuel decorations for each engine state change, each odometer reading, and each fault code. See the <a href="/docs/telematics#query-parameters" target="_blank">Telematics</a> guide for more details.
1003
+
1004
+ Note that decorations may significantly increase the response payload size.
1005
+
1006
+ - `ambientAirTemperatureMilliC`: The ambient air temperature reading in millidegree Celsius.
1007
+ - `auxInput1`-`auxInput13`: Stat events from the <a href="https://kb.samsara.com/hc/en-us/articles/360043040512-Auxiliary-Inputs" target="_blank">auxiliary inputs</a> for the vehicle.
1008
+ - `batteryMilliVolts`: The vehicle battery voltage reading.
1009
+ - `barometricPressurePa`: The barometric pressure reading in pascals.
1010
+ - `ecuSpeedMph`: The speed of the engine in miles per hour according to the ECU.
1011
+ - `engineCoolantTemperatureMilliC`: The engine coolant temperature reading in millidegree Celsius.
1012
+ - `engineImmobilizer`: The state of the engine immobilizer - Valid values: `ignition_disabled`, `ignition_enabled`. This stat type will only return states of our first Engine Immobilizer Hardware (ACC-EI). Please use <a href="https://developers.samsara.com/reference/getengineimmobilizerstates" target="_blank">Get engine immobilizer states</a> to get states for both Engine Immobilizer Hardware versions (incl. HW-EI21).
1013
+ - `engineOilPressureKPa`: The engine oil pressure reading in kilopascals.
1014
+ - `engineLoadPercent`: The engine load in percentage points (e.g. `99`, `50`, etc).
1015
+ - `engineRpm`: The revolutions per minute of the engine.
1016
+ - `engineStates`: The state of the engine (`Off`, `On`, `Idle`).
1017
+ - `faultCodes`: The diagnostic fault codes for the vehicle.
1018
+ - `fuelPercents`: The engine fuel level in percentage points (e.g. `99`, `50`, etc).
1019
+ - `fuelConsumedMilliliters`: The cumulative fuel consumption in milliliters for vehicles. Cumulative values always increase. This includes all fuel consumption reported by vehicles without filtering of invalid data points. For filtered fuel consumption that matches the Fuel & Energy Report, please use <a href="https://developers.samsara.com/reference/getfuelenergyvehiclereports" target="_blank">the Fuel and Energy API</a>.
1020
+ - `gps`: GPS data including lat/long, heading, speed, address book entry (if exists), and a reverse geocoded address.
1021
+ - `gpsDistanceMeters`: The distance the vehicle has traveled since the gateway was installed based on GPS calculations.
1022
+ - `idlingDurationMilliseconds`: The cumulative idling duration in milliseconds. Cumulative values always increase. For filtering of idling duration please use <a href="https://developers.samsara.com/reference/getvehicleidlingreports" target="_blank">the Idling Events API</a>.
1023
+ - `intakeManifoldTemperatureMilliC`: The intake manifold temperature reading in millidegree Celsius.
1024
+ - `nfcCardScans`: ID card scans.
1025
+ - `obdEngineSeconds`: The cumulative number of seconds the engine has run according to onboard diagnostics. When onboard diagnostic data is unavailable, ignition-based engine data (for ELD vehicles) will be used as a proxy to accumulate engine hours.
1026
+ - `obdOdometerMeters`: The odometer reading according to onboard diagnostics. If Samsara does not have diagnostic coverage for a particular vehicle, the value for this stat type will be omitted.
1027
+ - `syntheticEngineSeconds`: The cumulative number of seconds the engine has run estimated based on when the engine is running. Please note that this method <a href="https://kb.samsara.com/hc/en-us/articles/360043552511-Synthetic-Engine-Hours" target="_blank">requires the addition of a baseline</a> to trigger accumulation.
1028
+ - `evStateOfChargeMilliPercent`: Milli percent State of Charge for electric and hybrid vehicles. Not all EV and HEVs may report this field.
1029
+ - `evChargingStatus`: Charging status for electric and hybrid vehicles. Not all EV and HEVs may report this field. Statuses: unknown - 0, not charging - 1, charging - 2.
1030
+ - `evChargingEnergyMicroWh`: Charging energy for electric and hybrid vehicles in microwatt hours. Not all EV and HEVs may report this field.
1031
+ - `evChargingVoltageMilliVolt`: Charging voltage for electric and hybrid vehicles in milli volts. Not all EV and HEVs may report this field.
1032
+ - `evChargingCurrentMilliAmp`: Charging current for electric and hybrid vehicles in milli amps. Not all EV and HEVs may report this field.
1033
+ - `evConsumedEnergyMicroWh`: Consumed energy (including regenerated) for electric and hybrid vehicles in microwatt hours. Not all EV and HEVs may report this field.
1034
+ - `evRegeneratedEnergyMicroWh`: Regenerated energy for electric and hybrid vehicles in microwatt hours. Not all EV and HEVs may report this field.
1035
+ - `evBatteryVoltageMilliVolt`: Battery voltage for electric and hybrid vehicles in milli volts. Not all EV and HEVs may report this field.
1036
+ - `evBatteryCurrentMilliAmp`: Battery current for electric and hybrid vehicles in milli amps. Not all EV and HEVs may report this field.
1037
+ - `evBatteryStateOfHealthMilliPercent`: Milli percent battery state of health for electric and hybrid vehicles. Not all EV and HEVs may report this field.
1038
+ - `evAverageBatteryTemperatureMilliCelsius`: Battery temperature for electric and hybrid vehicles in milli celsius. Not all EV and HEVs may report this field.
1039
+ - `evDistanceDrivenMeters`: Electric distance driven for electric and hybrid vehicles in meters. Not all EV and HEVs may report this field.
1040
+ - `spreaderLiquidRate`: Liquid spread rate reading in milliliters per meter, read from the material spreader. Unfiltered live stats are supplied as-read from the Material Spreader unit. Readings do not consider total spread rate(s) over time or distance.
1041
+ - `spreaderGranularRate`: Granular spread rate reading in milliliters per meter, read from the material spreader. Unfiltered live stats are supplied as-read from the Material Spreader unit. Readings do not consider total spread rate(s) over time or distance.
1042
+ - `spreaderPrewetRate`: Prewet spread rate reading in milliliters per meter, read from the material spreader. Unfiltered live stats are supplied as-read from the Material Spreader unit. Readings do not consider total spread rate(s) over time or distance.
1043
+ - `spreaderAirTemp`: Air (ambient) temperature in milli celsius reading from material spreader.
1044
+ - `spreaderRoadTemp`: Road temperature reading in milli celsius from material spreader.
1045
+ - `spreaderOnState`: Whether vehicle spreader is enabled.
1046
+ - `spreaderActive`: Whether vehicle is actively spreading any material.
1047
+ - `spreaderBlastState`: Whether vehicle is actively spreading material in 'blast mode'.
1048
+ - `spreaderGranularName`: Name of most recent type of granular material spread, read from the material spreader.
1049
+ - `spreaderPrewetName`: Name of most recent type of prewet material spread, read from the material spreader.
1050
+ - `spreaderLiquidName`: Name of most recent type of liquid material spread, read from the material spreader.
1051
+ - `spreaderPlowStatus`: Snow plow status (`Up` or `Down`), as read from the material spreader. Note: this is separate from plow status defined via auxInput.
1052
+ - `seatbeltDriver`: Seatbelt Driver Status as read from the vehicle. `Buckled` or `Unbuckled`. (Beta only)
1053
+ - `tellTales`: Tell tales status as read from the vehicle.
1054
+
1055
+ request_options : typing.Optional[RequestOptions]
1056
+ Request-specific configuration.
1057
+
1058
+ Returns
1059
+ -------
1060
+ AsyncHttpResponse[VehicleStatsListResponse]
1061
+ List of vehicle stats for the specified vehicles, stat type, and time range.
1062
+ """
1063
+ _response = await self._client_wrapper.httpx_client.request(
1064
+ "fleet/vehicles/stats/history",
1065
+ method="GET",
1066
+ params={
1067
+ "after": after,
1068
+ "startTime": start_time,
1069
+ "endTime": end_time,
1070
+ "parentTagIds": parent_tag_ids,
1071
+ "tagIds": tag_ids,
1072
+ "vehicleIds": vehicle_ids,
1073
+ "types": types,
1074
+ "decorations": decorations,
1075
+ },
1076
+ request_options=request_options,
1077
+ )
1078
+ try:
1079
+ if 200 <= _response.status_code < 300:
1080
+ _data = typing.cast(
1081
+ VehicleStatsListResponse,
1082
+ parse_obj_as(
1083
+ type_=VehicleStatsListResponse, # type: ignore
1084
+ object_=_response.json(),
1085
+ ),
1086
+ )
1087
+ return AsyncHttpResponse(response=_response, data=_data)
1088
+ _response_json = _response.json()
1089
+ except JSONDecodeError:
1090
+ raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text)
1091
+ raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json)