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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2399) hide show
  1. samsara/__init__.py +480 -88
  2. samsara/addresses/client.py +4 -4
  3. samsara/addresses/raw_client.py +4 -4
  4. samsara/addresses/types/create_address_request_address_types_item.py +2 -0
  5. samsara/addresses/types/update_address_request_address_types_item.py +2 -0
  6. samsara/assets/client.py +2 -2
  7. samsara/assets/raw_client.py +2 -2
  8. samsara/attributes/client.py +4 -4
  9. samsara/attributes/raw_client.py +4 -4
  10. samsara/attributes/types/create_attribute_request_attribute_type.py +1 -1
  11. samsara/attributes/types/update_attribute_request_attribute_type.py +1 -1
  12. samsara/{types/vehicle_stats_time.py → auth_token_for_driver/__init__.py} +1 -2
  13. samsara/auth_token_for_driver/client.py +165 -0
  14. samsara/auth_token_for_driver/raw_client.py +373 -0
  15. samsara/beta_ap_is/__init__.py +0 -6
  16. samsara/beta_ap_is/client.py +728 -859
  17. samsara/beta_ap_is/raw_client.py +1516 -1629
  18. samsara/beta_ap_is/types/__init__.py +0 -6
  19. samsara/client.py +74 -36
  20. samsara/core/client_wrapper.py +6 -2
  21. samsara/core/http_client.py +41 -7
  22. samsara/core/jsonable_encoder.py +8 -0
  23. samsara/core/pydantic_utilities.py +102 -1
  24. samsara/{types/vehicle_location_time.py → driver_trailer_assignments/__init__.py} +1 -2
  25. samsara/driver_trailer_assignments/client.py +383 -0
  26. samsara/driver_trailer_assignments/raw_client.py +1009 -0
  27. samsara/drivers/client.py +5 -4
  28. samsara/drivers/raw_client.py +7 -6
  29. samsara/legacy_ap_is/client.py +381 -0
  30. samsara/legacy_ap_is/raw_client.py +598 -0
  31. samsara/location_and_speed/client.py +12 -2
  32. samsara/location_and_speed/raw_client.py +12 -2
  33. samsara/media/client.py +6 -6
  34. samsara/media/raw_client.py +4 -4
  35. samsara/media/types/media_retrieval_post_media_retrieval_request_body_media_type.py +3 -1
  36. samsara/messages/client.py +2 -2
  37. samsara/messages/raw_client.py +2 -2
  38. samsara/plans/client.py +24 -4
  39. samsara/plans/raw_client.py +20 -2
  40. samsara/preview_ap_is/client.py +140 -0
  41. samsara/preview_ap_is/raw_client.py +358 -0
  42. samsara/routes/client.py +38 -6
  43. samsara/routes/raw_client.py +32 -2
  44. samsara/safety/__init__.py +30 -0
  45. samsara/safety/client.py +204 -214
  46. samsara/safety/raw_client.py +398 -216
  47. samsara/safety/types/__init__.py +36 -0
  48. samsara/safety/types/get_safety_events_v_2_stream_request_query_by_time_field.py +7 -0
  49. samsara/sensors/client.py +2 -2
  50. samsara/sensors/raw_client.py +2 -2
  51. samsara/trailer_assignments/client.py +4 -4
  52. samsara/trailer_assignments/raw_client.py +4 -4
  53. samsara/trips/__init__.py +33 -0
  54. samsara/trips/client.py +163 -0
  55. samsara/trips/raw_client.py +374 -0
  56. samsara/trips/types/__init__.py +38 -0
  57. samsara/types/__init__.py +638 -78
  58. samsara/types/action_object_request_body.py +4 -2
  59. samsara/types/action_object_response_body.py +4 -2
  60. samsara/types/action_params_object_request_body.py +1 -1
  61. samsara/types/action_params_object_response_body.py +1 -1
  62. samsara/types/address.py +7 -5
  63. samsara/types/address_address_types_item.py +2 -0
  64. samsara/types/address_geofence_circle.py +3 -1
  65. samsara/types/address_geofence_settings.py +1 -1
  66. samsara/types/address_response_response_body.py +3 -3
  67. samsara/types/advanced_idling_get_idling_events_bad_gateway_error_response_body.py +1 -1
  68. samsara/types/advanced_idling_get_idling_events_gateway_timeout_error_response_body.py +1 -1
  69. samsara/types/advanced_idling_get_idling_events_internal_server_error_response_body.py +1 -1
  70. samsara/types/advanced_idling_get_idling_events_method_not_allowed_error_response_body.py +1 -1
  71. samsara/types/advanced_idling_get_idling_events_not_found_error_response_body.py +1 -1
  72. samsara/types/advanced_idling_get_idling_events_not_implemented_error_response_body.py +1 -1
  73. samsara/types/advanced_idling_get_idling_events_service_unavailable_error_response_body.py +1 -1
  74. samsara/types/advanced_idling_get_idling_events_too_many_requests_error_response_body.py +1 -1
  75. samsara/types/advanced_idling_get_idling_events_unauthorized_error_response_body.py +1 -1
  76. samsara/types/aemp_equipment_get_aemp_equipment_list_bad_gateway_error_response_body.py +1 -1
  77. samsara/types/aemp_equipment_get_aemp_equipment_list_gateway_timeout_error_response_body.py +1 -1
  78. samsara/types/aemp_equipment_get_aemp_equipment_list_internal_server_error_response_body.py +1 -1
  79. samsara/types/aemp_equipment_get_aemp_equipment_list_method_not_allowed_error_response_body.py +1 -1
  80. samsara/types/aemp_equipment_get_aemp_equipment_list_not_found_error_response_body.py +1 -1
  81. samsara/types/aemp_equipment_get_aemp_equipment_list_not_implemented_error_response_body.py +1 -1
  82. samsara/types/aemp_equipment_get_aemp_equipment_list_response_body.py +3 -1
  83. samsara/types/aemp_equipment_get_aemp_equipment_list_service_unavailable_error_response_body.py +1 -1
  84. samsara/types/aemp_equipment_get_aemp_equipment_list_too_many_requests_error_response_body.py +1 -1
  85. samsara/types/aemp_equipment_get_aemp_equipment_list_unauthorized_error_response_body.py +1 -1
  86. samsara/types/aemp_equipment_with_additional_fields_response_body.py +11 -7
  87. samsara/types/aemp_fleet_list_response_body.py +5 -3
  88. samsara/types/alert_object_asset_response_body.py +1 -1
  89. samsara/types/alert_object_driver_response_body.py +1 -1
  90. samsara/types/alert_object_onvif_camera_stream_response_body.py +1 -1
  91. samsara/types/alert_object_product_response_body.py +1 -1
  92. samsara/types/alert_object_sensor_response_body.py +1 -1
  93. samsara/types/alert_object_trailer_response_body.py +2 -2
  94. samsara/types/alert_object_vehicle_response_body.py +2 -2
  95. samsara/types/alerts_delete_configurations_bad_gateway_error_response_body.py +1 -1
  96. samsara/types/alerts_delete_configurations_gateway_timeout_error_response_body.py +1 -1
  97. samsara/types/alerts_delete_configurations_internal_server_error_response_body.py +1 -1
  98. samsara/types/alerts_delete_configurations_method_not_allowed_error_response_body.py +1 -1
  99. samsara/types/alerts_delete_configurations_not_found_error_response_body.py +1 -1
  100. samsara/types/alerts_delete_configurations_not_implemented_error_response_body.py +1 -1
  101. samsara/types/alerts_delete_configurations_service_unavailable_error_response_body.py +1 -1
  102. samsara/types/alerts_delete_configurations_too_many_requests_error_response_body.py +1 -1
  103. samsara/types/alerts_delete_configurations_unauthorized_error_response_body.py +1 -1
  104. samsara/types/alerts_get_configurations_bad_gateway_error_response_body.py +1 -1
  105. samsara/types/alerts_get_configurations_gateway_timeout_error_response_body.py +1 -1
  106. samsara/types/alerts_get_configurations_internal_server_error_response_body.py +1 -1
  107. samsara/types/alerts_get_configurations_method_not_allowed_error_response_body.py +1 -1
  108. samsara/types/alerts_get_configurations_not_found_error_response_body.py +1 -1
  109. samsara/types/alerts_get_configurations_not_implemented_error_response_body.py +1 -1
  110. samsara/types/alerts_get_configurations_service_unavailable_error_response_body.py +1 -1
  111. samsara/types/alerts_get_configurations_too_many_requests_error_response_body.py +1 -1
  112. samsara/types/alerts_get_configurations_unauthorized_error_response_body.py +1 -1
  113. samsara/types/alerts_get_incidents_bad_gateway_error_response_body.py +1 -1
  114. samsara/types/alerts_get_incidents_gateway_timeout_error_response_body.py +1 -1
  115. samsara/types/alerts_get_incidents_internal_server_error_response_body.py +1 -1
  116. samsara/types/alerts_get_incidents_method_not_allowed_error_response_body.py +1 -1
  117. samsara/types/alerts_get_incidents_not_found_error_response_body.py +1 -1
  118. samsara/types/alerts_get_incidents_not_implemented_error_response_body.py +1 -1
  119. samsara/types/alerts_get_incidents_service_unavailable_error_response_body.py +1 -1
  120. samsara/types/alerts_get_incidents_too_many_requests_error_response_body.py +1 -1
  121. samsara/types/alerts_get_incidents_unauthorized_error_response_body.py +1 -1
  122. samsara/types/alerts_patch_configurations_bad_gateway_error_response_body.py +1 -1
  123. samsara/types/alerts_patch_configurations_gateway_timeout_error_response_body.py +1 -1
  124. samsara/types/alerts_patch_configurations_internal_server_error_response_body.py +1 -1
  125. samsara/types/alerts_patch_configurations_method_not_allowed_error_response_body.py +1 -1
  126. samsara/types/alerts_patch_configurations_not_found_error_response_body.py +1 -1
  127. samsara/types/alerts_patch_configurations_not_implemented_error_response_body.py +1 -1
  128. samsara/types/alerts_patch_configurations_service_unavailable_error_response_body.py +1 -1
  129. samsara/types/alerts_patch_configurations_too_many_requests_error_response_body.py +1 -1
  130. samsara/types/alerts_patch_configurations_unauthorized_error_response_body.py +1 -1
  131. samsara/types/alerts_post_configurations_bad_gateway_error_response_body.py +1 -1
  132. samsara/types/alerts_post_configurations_gateway_timeout_error_response_body.py +1 -1
  133. samsara/types/alerts_post_configurations_internal_server_error_response_body.py +1 -1
  134. samsara/types/alerts_post_configurations_method_not_allowed_error_response_body.py +1 -1
  135. samsara/types/alerts_post_configurations_not_found_error_response_body.py +1 -1
  136. samsara/types/alerts_post_configurations_not_implemented_error_response_body.py +1 -1
  137. samsara/types/alerts_post_configurations_service_unavailable_error_response_body.py +1 -1
  138. samsara/types/alerts_post_configurations_too_many_requests_error_response_body.py +1 -1
  139. samsara/types/alerts_post_configurations_unauthorized_error_response_body.py +1 -1
  140. samsara/types/ambient_temperature_details_object_request_body.py +6 -4
  141. samsara/types/ambient_temperature_details_object_response_body.py +6 -4
  142. samsara/types/appointment_window_request_body.py +4 -2
  143. samsara/types/appointment_window_response_body.py +4 -2
  144. samsara/types/asset_data_input.py +2 -2
  145. samsara/types/asset_data_output.py +5 -3
  146. samsara/types/asset_data_outputs_patch_asset_data_outputs_bad_gateway_error_response_body.py +1 -1
  147. samsara/types/asset_data_outputs_patch_asset_data_outputs_gateway_timeout_error_response_body.py +1 -1
  148. samsara/types/asset_data_outputs_patch_asset_data_outputs_internal_server_error_response_body.py +1 -1
  149. samsara/types/asset_data_outputs_patch_asset_data_outputs_method_not_allowed_error_response_body.py +1 -1
  150. samsara/types/asset_data_outputs_patch_asset_data_outputs_not_found_error_response_body.py +1 -1
  151. samsara/types/asset_data_outputs_patch_asset_data_outputs_not_implemented_error_response_body.py +1 -1
  152. samsara/types/asset_data_outputs_patch_asset_data_outputs_service_unavailable_error_response_body.py +1 -1
  153. samsara/types/asset_data_outputs_patch_asset_data_outputs_too_many_requests_error_response_body.py +1 -1
  154. samsara/types/asset_data_outputs_patch_asset_data_outputs_unauthorized_error_response_body.py +1 -1
  155. samsara/types/asset_location.py +1 -1
  156. samsara/types/asset_response.py +7 -7
  157. samsara/types/asset_response_body.py +11 -7
  158. samsara/types/asset_response_response_body.py +1 -1
  159. samsara/types/assets_create_asset_bad_gateway_error_response_body.py +1 -1
  160. samsara/types/assets_create_asset_gateway_timeout_error_response_body.py +1 -1
  161. samsara/types/assets_create_asset_internal_server_error_response_body.py +1 -1
  162. samsara/types/assets_create_asset_method_not_allowed_error_response_body.py +1 -1
  163. samsara/types/assets_create_asset_not_found_error_response_body.py +1 -1
  164. samsara/types/assets_create_asset_not_implemented_error_response_body.py +1 -1
  165. samsara/types/assets_create_asset_service_unavailable_error_response_body.py +1 -1
  166. samsara/types/assets_create_asset_too_many_requests_error_response_body.py +1 -1
  167. samsara/types/assets_create_asset_unauthorized_error_response_body.py +1 -1
  168. samsara/types/assets_delete_asset_bad_gateway_error_response_body.py +1 -1
  169. samsara/types/assets_delete_asset_gateway_timeout_error_response_body.py +1 -1
  170. samsara/types/assets_delete_asset_internal_server_error_response_body.py +1 -1
  171. samsara/types/assets_delete_asset_method_not_allowed_error_response_body.py +1 -1
  172. samsara/types/assets_delete_asset_not_found_error_response_body.py +1 -1
  173. samsara/types/assets_delete_asset_not_implemented_error_response_body.py +1 -1
  174. samsara/types/assets_delete_asset_service_unavailable_error_response_body.py +1 -1
  175. samsara/types/assets_delete_asset_too_many_requests_error_response_body.py +1 -1
  176. samsara/types/assets_delete_asset_unauthorized_error_response_body.py +1 -1
  177. samsara/types/assets_inputs_asset_response_response_body.py +1 -1
  178. samsara/types/assets_inputs_get_assets_inputs_bad_gateway_error_response_body.py +1 -1
  179. samsara/types/assets_inputs_get_assets_inputs_gateway_timeout_error_response_body.py +1 -1
  180. samsara/types/assets_inputs_get_assets_inputs_internal_server_error_response_body.py +1 -1
  181. samsara/types/assets_inputs_get_assets_inputs_method_not_allowed_error_response_body.py +1 -1
  182. samsara/types/assets_inputs_get_assets_inputs_not_found_error_response_body.py +1 -1
  183. samsara/types/assets_inputs_get_assets_inputs_not_implemented_error_response_body.py +1 -1
  184. samsara/types/assets_inputs_get_assets_inputs_service_unavailable_error_response_body.py +1 -1
  185. samsara/types/assets_inputs_get_assets_inputs_too_many_requests_error_response_body.py +1 -1
  186. samsara/types/assets_inputs_get_assets_inputs_unauthorized_error_response_body.py +1 -1
  187. samsara/types/assets_inputs_response_response_body.py +4 -2
  188. samsara/types/assets_list_assets_bad_gateway_error_response_body.py +1 -1
  189. samsara/types/assets_list_assets_gateway_timeout_error_response_body.py +1 -1
  190. samsara/types/assets_list_assets_internal_server_error_response_body.py +1 -1
  191. samsara/types/assets_list_assets_method_not_allowed_error_response_body.py +1 -1
  192. samsara/types/assets_list_assets_not_found_error_response_body.py +1 -1
  193. samsara/types/assets_list_assets_not_implemented_error_response_body.py +1 -1
  194. samsara/types/assets_list_assets_service_unavailable_error_response_body.py +1 -1
  195. samsara/types/assets_list_assets_too_many_requests_error_response_body.py +1 -1
  196. samsara/types/assets_list_assets_unauthorized_error_response_body.py +1 -1
  197. samsara/types/assets_location_link_config_address_details_object.py +3 -1
  198. samsara/types/assets_location_link_config_address_details_object_response_body.py +3 -1
  199. samsara/types/assets_location_link_request_config_object.py +2 -2
  200. samsara/types/assets_location_link_response_config_object_response_body.py +1 -1
  201. samsara/types/assets_near_location_link_config_object.py +1 -1
  202. samsara/types/assets_near_location_link_config_object_response_body.py +1 -1
  203. samsara/types/assets_on_route_link_config_object.py +3 -1
  204. samsara/types/assets_on_route_link_config_object_response_body.py +3 -1
  205. samsara/types/assets_update_asset_bad_gateway_error_response_body.py +1 -1
  206. samsara/types/assets_update_asset_gateway_timeout_error_response_body.py +1 -1
  207. samsara/types/assets_update_asset_internal_server_error_response_body.py +1 -1
  208. samsara/types/assets_update_asset_method_not_allowed_error_response_body.py +1 -1
  209. samsara/types/assets_update_asset_not_found_error_response_body.py +1 -1
  210. samsara/types/assets_update_asset_not_implemented_error_response_body.py +1 -1
  211. samsara/types/assets_update_asset_service_unavailable_error_response_body.py +1 -1
  212. samsara/types/assets_update_asset_too_many_requests_error_response_body.py +1 -1
  213. samsara/types/assets_update_asset_unauthorized_error_response_body.py +1 -1
  214. samsara/types/attribute.py +5 -5
  215. samsara/types/attribute_attribute_type.py +1 -1
  216. samsara/types/attribute_entity.py +13 -4
  217. samsara/types/attribute_tiny.py +9 -2
  218. samsara/types/attribute_value_tiny.py +1 -1
  219. samsara/types/auth_token_auth_token_bad_gateway_error_response_body.py +33 -0
  220. samsara/types/auth_token_auth_token_gateway_timeout_error_response_body.py +33 -0
  221. samsara/types/auth_token_auth_token_internal_server_error_response_body.py +33 -0
  222. samsara/types/auth_token_auth_token_method_not_allowed_error_response_body.py +33 -0
  223. samsara/types/auth_token_auth_token_not_found_error_response_body.py +33 -0
  224. samsara/types/auth_token_auth_token_not_implemented_error_response_body.py +33 -0
  225. samsara/types/auth_token_auth_token_response_body.py +20 -0
  226. samsara/types/auth_token_auth_token_service_unavailable_error_response_body.py +33 -0
  227. samsara/types/auth_token_auth_token_too_many_requests_error_response_body.py +33 -0
  228. samsara/types/auth_token_auth_token_unauthorized_error_response_body.py +33 -0
  229. samsara/types/auth_token_for_driver_response_response_body.py +35 -0
  230. samsara/types/author_signature_object_response_body.py +6 -2
  231. samsara/types/barcode_value_object_request_body.py +2 -2
  232. samsara/types/barcode_value_object_response_body.py +2 -2
  233. samsara/types/base_route_response_object_response_body.py +8 -8
  234. samsara/types/behavior_count_details_request_body.py +41 -0
  235. samsara/types/behavior_count_details_request_body_comparison.py +8 -0
  236. samsara/types/behavior_count_details_response_body.py +41 -0
  237. samsara/types/behavior_count_details_response_body_comparison.py +8 -0
  238. samsara/types/behavior_response_body.py +6 -4
  239. samsara/types/camera_details_response_response_body.py +3 -3
  240. samsara/types/camera_stream_issue_response_body.py +1 -1
  241. samsara/types/carrier_proposed_assignment.py +7 -5
  242. samsara/types/carrier_proposed_assignment_driver_all_of.py +1 -1
  243. samsara/types/cell_connectivity_response_response_body.py +1 -1
  244. samsara/types/cell_signal_loss_details_object_request_body.py +1 -1
  245. samsara/types/cell_signal_loss_details_object_response_body.py +1 -1
  246. samsara/types/circle_request_body.py +3 -1
  247. samsara/types/circle_response_body.py +3 -1
  248. samsara/types/coach_assignment_with_driver_external_ids_response_response_body.py +7 -3
  249. samsara/types/coach_assignment_without_driver_external_ids_response_response_body.py +8 -4
  250. samsara/types/coaching_sessions_get_coaching_sessions_bad_gateway_error_response_body.py +1 -1
  251. samsara/types/coaching_sessions_get_coaching_sessions_gateway_timeout_error_response_body.py +1 -1
  252. samsara/types/coaching_sessions_get_coaching_sessions_internal_server_error_response_body.py +1 -1
  253. samsara/types/coaching_sessions_get_coaching_sessions_method_not_allowed_error_response_body.py +1 -1
  254. samsara/types/coaching_sessions_get_coaching_sessions_not_found_error_response_body.py +1 -1
  255. samsara/types/coaching_sessions_get_coaching_sessions_not_implemented_error_response_body.py +1 -1
  256. samsara/types/coaching_sessions_get_coaching_sessions_service_unavailable_error_response_body.py +1 -1
  257. samsara/types/coaching_sessions_get_coaching_sessions_too_many_requests_error_response_body.py +1 -1
  258. samsara/types/coaching_sessions_get_coaching_sessions_unauthorized_error_response_body.py +1 -1
  259. samsara/types/coaching_sessions_response_response_body.py +12 -8
  260. samsara/types/column_response_body.py +38 -0
  261. samsara/types/column_response_body_data_type.py +7 -0
  262. samsara/types/column_response_body_unit.py +88 -0
  263. samsara/types/conditional_field_section_object_response_body.py +4 -4
  264. samsara/types/connection_status_response_object_response_body.py +2 -2
  265. samsara/types/contact.py +6 -2
  266. samsara/types/contact_tiny_response.py +2 -2
  267. samsara/types/continuous_reading_alert_threshold_response_body.py +2 -2
  268. samsara/types/continuous_reading_alert_threshold_response_body_unit.py +10 -0
  269. samsara/types/create_address_request_geofence_settings.py +1 -1
  270. samsara/types/create_attribute_request_entities.py +12 -4
  271. samsara/types/create_driver_auth_token_response_response_body.py +3 -1
  272. samsara/types/create_driver_request_attributes.py +2 -2
  273. samsara/types/create_report_config_column_request_body.py +24 -0
  274. samsara/types/create_report_config_object_request_body.py +43 -0
  275. samsara/types/create_routes_stop_request_object_request_body.py +8 -8
  276. samsara/types/create_user_request_roles.py +2 -2
  277. samsara/types/cumulative_operating_hours_response_body.py +1 -1
  278. samsara/types/current_duty_status.py +1 -1
  279. samsara/types/data_input_response_all_of.py +5 -5
  280. samsara/types/data_input_snapshot_all_of.py +5 -5
  281. samsara/types/data_input_tiny_response.py +2 -2
  282. samsara/types/data_input_value_response_body.py +1 -1
  283. samsara/types/data_usage_response_object_response_body.py +2 -2
  284. samsara/types/date_time_value_object_request_body.py +1 -1
  285. samsara/types/date_time_value_object_response_body.py +1 -1
  286. samsara/types/def_level_trigger_details_object_request_body.py +4 -2
  287. samsara/types/def_level_trigger_details_object_response_body.py +4 -2
  288. samsara/types/def_remaining_response_body.py +1 -1
  289. samsara/types/defect.py +9 -7
  290. samsara/types/defect_photo_response_response_body.py +3 -1
  291. samsara/types/defect_trailer_response_response_body.py +1 -1
  292. samsara/types/defect_types_response_data_response_body.py +4 -2
  293. samsara/types/defect_vehicle_response_response_body.py +1 -1
  294. samsara/types/defects_response_data_response_body.py +11 -9
  295. samsara/types/depreciation_get_depreciation_transactions_bad_gateway_error_response_body.py +33 -0
  296. samsara/types/depreciation_get_depreciation_transactions_gateway_timeout_error_response_body.py +33 -0
  297. samsara/types/depreciation_get_depreciation_transactions_internal_server_error_response_body.py +33 -0
  298. samsara/types/depreciation_get_depreciation_transactions_method_not_allowed_error_response_body.py +33 -0
  299. samsara/types/depreciation_get_depreciation_transactions_not_found_error_response_body.py +33 -0
  300. samsara/types/depreciation_get_depreciation_transactions_not_implemented_error_response_body.py +33 -0
  301. samsara/types/depreciation_get_depreciation_transactions_response_body.py +26 -0
  302. samsara/types/depreciation_get_depreciation_transactions_service_unavailable_error_response_body.py +33 -0
  303. samsara/types/depreciation_get_depreciation_transactions_too_many_requests_error_response_body.py +33 -0
  304. samsara/types/depreciation_get_depreciation_transactions_unauthorized_error_response_body.py +33 -0
  305. samsara/types/depreciation_transaction_money_object_response_body.py +34 -0
  306. samsara/types/depreciation_transaction_money_object_response_body_currency.py +7 -0
  307. samsara/types/depreciation_transaction_object_response_body.py +79 -0
  308. samsara/types/depreciation_transaction_object_response_body_transaction_type.py +7 -0
  309. samsara/types/detection_log_detection_object_response_body.py +12 -6
  310. samsara/types/detection_log_detection_object_response_body_trigger_detection_label.py +7 -0
  311. samsara/types/detection_log_driver_object_response_body.py +1 -1
  312. samsara/types/detection_log_get_detections_bad_gateway_error_response_body.py +1 -1
  313. samsara/types/detection_log_get_detections_gateway_timeout_error_response_body.py +1 -1
  314. samsara/types/detection_log_get_detections_internal_server_error_response_body.py +1 -1
  315. samsara/types/detection_log_get_detections_method_not_allowed_error_response_body.py +1 -1
  316. samsara/types/detection_log_get_detections_not_found_error_response_body.py +1 -1
  317. samsara/types/detection_log_get_detections_not_implemented_error_response_body.py +1 -1
  318. samsara/types/detection_log_get_detections_service_unavailable_error_response_body.py +1 -1
  319. samsara/types/detection_log_get_detections_too_many_requests_error_response_body.py +1 -1
  320. samsara/types/detection_log_get_detections_unauthorized_error_response_body.py +1 -1
  321. samsara/types/detection_log_safety_event_object_response_body.py +10 -3
  322. samsara/types/detection_log_safety_event_object_response_body_inbox_filter_reason.py +1 -0
  323. samsara/types/device_movement_trigger_details_object_request_body.py +1 -1
  324. samsara/types/device_movement_trigger_details_object_response_body.py +1 -1
  325. samsara/types/device_response_response_body.py +8 -2
  326. samsara/types/devices_get_devices_bad_gateway_error_response_body.py +1 -1
  327. samsara/types/devices_get_devices_gateway_timeout_error_response_body.py +1 -1
  328. samsara/types/devices_get_devices_internal_server_error_response_body.py +1 -1
  329. samsara/types/devices_get_devices_method_not_allowed_error_response_body.py +1 -1
  330. samsara/types/devices_get_devices_not_found_error_response_body.py +1 -1
  331. samsara/types/devices_get_devices_not_implemented_error_response_body.py +1 -1
  332. samsara/types/devices_get_devices_service_unavailable_error_response_body.py +1 -1
  333. samsara/types/devices_get_devices_too_many_requests_error_response_body.py +1 -1
  334. samsara/types/devices_get_devices_unauthorized_error_response_body.py +1 -1
  335. samsara/types/distance_response_body.py +2 -2
  336. samsara/types/distance_traveled_object_response_body.py +3 -3
  337. samsara/types/distracted_driving_detection_alert_settings_object_response_body.py +3 -3
  338. samsara/types/document_pdf_generation_response_data.py +1 -1
  339. samsara/types/document_pdf_query_response_data.py +5 -5
  340. samsara/types/document_response_object_response_body.py +7 -5
  341. samsara/types/document_types_get_document_types_bad_gateway_error_response_body.py +1 -1
  342. samsara/types/document_types_get_document_types_gateway_timeout_error_response_body.py +1 -1
  343. samsara/types/document_types_get_document_types_internal_server_error_response_body.py +1 -1
  344. samsara/types/document_types_get_document_types_method_not_allowed_error_response_body.py +1 -1
  345. samsara/types/document_types_get_document_types_not_found_error_response_body.py +1 -1
  346. samsara/types/document_types_get_document_types_not_implemented_error_response_body.py +1 -1
  347. samsara/types/document_types_get_document_types_service_unavailable_error_response_body.py +1 -1
  348. samsara/types/document_types_get_document_types_too_many_requests_error_response_body.py +1 -1
  349. samsara/types/document_types_get_document_types_unauthorized_error_response_body.py +1 -1
  350. samsara/types/documents_delete_document_bad_gateway_error_response_body.py +1 -1
  351. samsara/types/documents_delete_document_gateway_timeout_error_response_body.py +1 -1
  352. samsara/types/documents_delete_document_internal_server_error_response_body.py +1 -1
  353. samsara/types/documents_delete_document_method_not_allowed_error_response_body.py +1 -1
  354. samsara/types/documents_delete_document_not_found_error_response_body.py +1 -1
  355. samsara/types/documents_delete_document_not_implemented_error_response_body.py +1 -1
  356. samsara/types/documents_delete_document_service_unavailable_error_response_body.py +1 -1
  357. samsara/types/documents_delete_document_too_many_requests_error_response_body.py +1 -1
  358. samsara/types/documents_delete_document_unauthorized_error_response_body.py +1 -1
  359. samsara/types/documents_get_document_bad_gateway_error_response_body.py +1 -1
  360. samsara/types/documents_get_document_gateway_timeout_error_response_body.py +1 -1
  361. samsara/types/documents_get_document_internal_server_error_response_body.py +1 -1
  362. samsara/types/documents_get_document_method_not_allowed_error_response_body.py +1 -1
  363. samsara/types/documents_get_document_not_found_error_response_body.py +1 -1
  364. samsara/types/documents_get_document_not_implemented_error_response_body.py +1 -1
  365. samsara/types/documents_get_document_service_unavailable_error_response_body.py +1 -1
  366. samsara/types/documents_get_document_too_many_requests_error_response_body.py +1 -1
  367. samsara/types/documents_get_document_unauthorized_error_response_body.py +1 -1
  368. samsara/types/documents_get_documents_bad_gateway_error_response_body.py +1 -1
  369. samsara/types/documents_get_documents_gateway_timeout_error_response_body.py +1 -1
  370. samsara/types/documents_get_documents_internal_server_error_response_body.py +1 -1
  371. samsara/types/documents_get_documents_method_not_allowed_error_response_body.py +1 -1
  372. samsara/types/documents_get_documents_not_found_error_response_body.py +1 -1
  373. samsara/types/documents_get_documents_not_implemented_error_response_body.py +1 -1
  374. samsara/types/documents_get_documents_service_unavailable_error_response_body.py +1 -1
  375. samsara/types/documents_get_documents_too_many_requests_error_response_body.py +1 -1
  376. samsara/types/documents_get_documents_unauthorized_error_response_body.py +1 -1
  377. samsara/types/documents_post_document_bad_gateway_error_response_body.py +1 -1
  378. samsara/types/documents_post_document_gateway_timeout_error_response_body.py +1 -1
  379. samsara/types/documents_post_document_internal_server_error_response_body.py +1 -1
  380. samsara/types/documents_post_document_method_not_allowed_error_response_body.py +1 -1
  381. samsara/types/documents_post_document_not_found_error_response_body.py +1 -1
  382. samsara/types/documents_post_document_not_implemented_error_response_body.py +1 -1
  383. samsara/types/documents_post_document_service_unavailable_error_response_body.py +1 -1
  384. samsara/types/documents_post_document_too_many_requests_error_response_body.py +1 -1
  385. samsara/types/documents_post_document_unauthorized_error_response_body.py +1 -1
  386. samsara/types/driver.py +28 -26
  387. samsara/types/driver_app_notification_object_request_body.py +2 -2
  388. samsara/types/driver_app_notification_object_response_body.py +2 -2
  389. samsara/types/driver_app_settings_gamification_config_tiny_object_request_body.py +1 -1
  390. samsara/types/driver_app_settings_gamification_config_tiny_object_response_body.py +1 -1
  391. samsara/types/driver_app_settings_response_object_response_body.py +5 -5
  392. samsara/types/driver_app_settings_trailer_selection_config_tiny_object_request_body.py +3 -3
  393. samsara/types/driver_app_settings_trailer_selection_config_tiny_object_response_body.py +3 -3
  394. samsara/types/driver_app_sign_in_response_body.py +1 -1
  395. samsara/types/driver_assignment_metadata_tiny_object_response_body.py +1 -1
  396. samsara/types/driver_assignment_object_response_body.py +4 -4
  397. samsara/types/driver_carrier_settings.py +5 -5
  398. samsara/types/driver_coach_assignments_get_driver_coach_assignment_bad_gateway_error_response_body.py +1 -1
  399. samsara/types/driver_coach_assignments_get_driver_coach_assignment_gateway_timeout_error_response_body.py +1 -1
  400. samsara/types/driver_coach_assignments_get_driver_coach_assignment_internal_server_error_response_body.py +1 -1
  401. samsara/types/driver_coach_assignments_get_driver_coach_assignment_method_not_allowed_error_response_body.py +1 -1
  402. samsara/types/driver_coach_assignments_get_driver_coach_assignment_not_found_error_response_body.py +1 -1
  403. samsara/types/driver_coach_assignments_get_driver_coach_assignment_not_implemented_error_response_body.py +1 -1
  404. samsara/types/driver_coach_assignments_get_driver_coach_assignment_service_unavailable_error_response_body.py +1 -1
  405. samsara/types/driver_coach_assignments_get_driver_coach_assignment_too_many_requests_error_response_body.py +1 -1
  406. samsara/types/driver_coach_assignments_get_driver_coach_assignment_unauthorized_error_response_body.py +1 -1
  407. samsara/types/driver_coach_assignments_put_driver_coach_assignment_bad_gateway_error_response_body.py +1 -1
  408. samsara/types/driver_coach_assignments_put_driver_coach_assignment_gateway_timeout_error_response_body.py +1 -1
  409. samsara/types/driver_coach_assignments_put_driver_coach_assignment_internal_server_error_response_body.py +1 -1
  410. samsara/types/driver_coach_assignments_put_driver_coach_assignment_method_not_allowed_error_response_body.py +1 -1
  411. samsara/types/driver_coach_assignments_put_driver_coach_assignment_not_found_error_response_body.py +1 -1
  412. samsara/types/driver_coach_assignments_put_driver_coach_assignment_not_implemented_error_response_body.py +1 -1
  413. samsara/types/driver_coach_assignments_put_driver_coach_assignment_service_unavailable_error_response_body.py +1 -1
  414. samsara/types/driver_coach_assignments_put_driver_coach_assignment_too_many_requests_error_response_body.py +1 -1
  415. samsara/types/driver_coach_assignments_put_driver_coach_assignment_unauthorized_error_response_body.py +1 -1
  416. samsara/types/driver_document_submitted_details_object_request_body.py +3 -1
  417. samsara/types/driver_document_submitted_details_object_response_body.py +3 -1
  418. samsara/types/driver_efficiencies_response_data.py +3 -3
  419. samsara/types/driver_efficiency.py +15 -13
  420. samsara/types/driver_efficiency_data_object_response_body.py +11 -9
  421. samsara/types/driver_efficiency_difficulty_score_data_object_response_body.py +3 -3
  422. samsara/types/driver_efficiency_get_driver_efficiency_by_drivers_bad_gateway_error_response_body.py +1 -1
  423. samsara/types/driver_efficiency_get_driver_efficiency_by_drivers_gateway_timeout_error_response_body.py +1 -1
  424. samsara/types/driver_efficiency_get_driver_efficiency_by_drivers_internal_server_error_response_body.py +1 -1
  425. samsara/types/driver_efficiency_get_driver_efficiency_by_drivers_method_not_allowed_error_response_body.py +1 -1
  426. samsara/types/driver_efficiency_get_driver_efficiency_by_drivers_not_found_error_response_body.py +1 -1
  427. samsara/types/driver_efficiency_get_driver_efficiency_by_drivers_not_implemented_error_response_body.py +1 -1
  428. samsara/types/driver_efficiency_get_driver_efficiency_by_drivers_service_unavailable_error_response_body.py +1 -1
  429. samsara/types/driver_efficiency_get_driver_efficiency_by_drivers_too_many_requests_error_response_body.py +1 -1
  430. samsara/types/driver_efficiency_get_driver_efficiency_by_drivers_unauthorized_error_response_body.py +1 -1
  431. samsara/types/driver_efficiency_get_driver_efficiency_by_vehicles_bad_gateway_error_response_body.py +1 -1
  432. samsara/types/driver_efficiency_get_driver_efficiency_by_vehicles_gateway_timeout_error_response_body.py +1 -1
  433. samsara/types/driver_efficiency_get_driver_efficiency_by_vehicles_internal_server_error_response_body.py +1 -1
  434. samsara/types/driver_efficiency_get_driver_efficiency_by_vehicles_method_not_allowed_error_response_body.py +1 -1
  435. samsara/types/driver_efficiency_get_driver_efficiency_by_vehicles_not_found_error_response_body.py +1 -1
  436. samsara/types/driver_efficiency_get_driver_efficiency_by_vehicles_not_implemented_error_response_body.py +1 -1
  437. samsara/types/driver_efficiency_get_driver_efficiency_by_vehicles_service_unavailable_error_response_body.py +1 -1
  438. samsara/types/driver_efficiency_get_driver_efficiency_by_vehicles_too_many_requests_error_response_body.py +1 -1
  439. samsara/types/driver_efficiency_get_driver_efficiency_by_vehicles_unauthorized_error_response_body.py +1 -1
  440. samsara/types/driver_efficiency_percentage_data_object_response_body.py +11 -9
  441. samsara/types/driver_efficiency_raw_data_object_response_body.py +17 -15
  442. samsara/types/driver_eld_ruleset.py +3 -1
  443. samsara/types/driver_hos_setting.py +1 -1
  444. samsara/types/driver_or_tag_ids_details_request_body.py +37 -0
  445. samsara/types/driver_or_tag_ids_details_response_body.py +37 -0
  446. samsara/types/driver_qr_codes_create_driver_qr_code_bad_gateway_error_response_body.py +1 -1
  447. samsara/types/driver_qr_codes_create_driver_qr_code_gateway_timeout_error_response_body.py +1 -1
  448. samsara/types/driver_qr_codes_create_driver_qr_code_internal_server_error_response_body.py +1 -1
  449. samsara/types/driver_qr_codes_create_driver_qr_code_method_not_allowed_error_response_body.py +1 -1
  450. samsara/types/driver_qr_codes_create_driver_qr_code_not_found_error_response_body.py +1 -1
  451. samsara/types/driver_qr_codes_create_driver_qr_code_not_implemented_error_response_body.py +1 -1
  452. samsara/types/driver_qr_codes_create_driver_qr_code_service_unavailable_error_response_body.py +1 -1
  453. samsara/types/driver_qr_codes_create_driver_qr_code_too_many_requests_error_response_body.py +1 -1
  454. samsara/types/driver_qr_codes_create_driver_qr_code_unauthorized_error_response_body.py +1 -1
  455. samsara/types/driver_qr_codes_delete_driver_qr_code_bad_gateway_error_response_body.py +1 -1
  456. samsara/types/driver_qr_codes_delete_driver_qr_code_gateway_timeout_error_response_body.py +1 -1
  457. samsara/types/driver_qr_codes_delete_driver_qr_code_internal_server_error_response_body.py +1 -1
  458. samsara/types/driver_qr_codes_delete_driver_qr_code_method_not_allowed_error_response_body.py +1 -1
  459. samsara/types/driver_qr_codes_delete_driver_qr_code_not_found_error_response_body.py +1 -1
  460. samsara/types/driver_qr_codes_delete_driver_qr_code_not_implemented_error_response_body.py +1 -1
  461. samsara/types/driver_qr_codes_delete_driver_qr_code_service_unavailable_error_response_body.py +1 -1
  462. samsara/types/driver_qr_codes_delete_driver_qr_code_too_many_requests_error_response_body.py +1 -1
  463. samsara/types/driver_qr_codes_delete_driver_qr_code_unauthorized_error_response_body.py +1 -1
  464. samsara/types/driver_qr_codes_get_drivers_qr_codes_bad_gateway_error_response_body.py +1 -1
  465. samsara/types/driver_qr_codes_get_drivers_qr_codes_gateway_timeout_error_response_body.py +1 -1
  466. samsara/types/driver_qr_codes_get_drivers_qr_codes_internal_server_error_response_body.py +1 -1
  467. samsara/types/driver_qr_codes_get_drivers_qr_codes_method_not_allowed_error_response_body.py +1 -1
  468. samsara/types/driver_qr_codes_get_drivers_qr_codes_not_found_error_response_body.py +1 -1
  469. samsara/types/driver_qr_codes_get_drivers_qr_codes_not_implemented_error_response_body.py +1 -1
  470. samsara/types/driver_qr_codes_get_drivers_qr_codes_service_unavailable_error_response_body.py +1 -1
  471. samsara/types/driver_qr_codes_get_drivers_qr_codes_too_many_requests_error_response_body.py +1 -1
  472. samsara/types/driver_qr_codes_get_drivers_qr_codes_unauthorized_error_response_body.py +1 -1
  473. samsara/types/driver_remote_signout_post_driver_remote_signout_bad_gateway_error_response_body.py +1 -1
  474. samsara/types/driver_remote_signout_post_driver_remote_signout_gateway_timeout_error_response_body.py +1 -1
  475. samsara/types/driver_remote_signout_post_driver_remote_signout_internal_server_error_response_body.py +1 -1
  476. samsara/types/driver_remote_signout_post_driver_remote_signout_method_not_allowed_error_response_body.py +1 -1
  477. samsara/types/driver_remote_signout_post_driver_remote_signout_not_found_error_response_body.py +1 -1
  478. samsara/types/driver_remote_signout_post_driver_remote_signout_not_implemented_error_response_body.py +1 -1
  479. samsara/types/driver_remote_signout_post_driver_remote_signout_response_body.py +1 -1
  480. samsara/types/driver_remote_signout_post_driver_remote_signout_service_unavailable_error_response_body.py +1 -1
  481. samsara/types/driver_remote_signout_post_driver_remote_signout_too_many_requests_error_response_body.py +1 -1
  482. samsara/types/driver_remote_signout_post_driver_remote_signout_unauthorized_error_response_body.py +1 -1
  483. samsara/types/driver_ruleset_object_response_body.py +1 -1
  484. samsara/types/driver_safety_score_response_body.py +6 -4
  485. samsara/types/driver_vehicle_assignment_v_2_object_response_body.py +7 -5
  486. samsara/types/driver_vehicle_assignments_v_2_create_driver_vehicle_assignment_bad_gateway_error_response_body.py +1 -1
  487. samsara/types/driver_vehicle_assignments_v_2_create_driver_vehicle_assignment_gateway_timeout_error_response_body.py +1 -1
  488. samsara/types/driver_vehicle_assignments_v_2_create_driver_vehicle_assignment_internal_server_error_response_body.py +1 -1
  489. samsara/types/driver_vehicle_assignments_v_2_create_driver_vehicle_assignment_method_not_allowed_error_response_body.py +1 -1
  490. samsara/types/driver_vehicle_assignments_v_2_create_driver_vehicle_assignment_not_found_error_response_body.py +1 -1
  491. samsara/types/driver_vehicle_assignments_v_2_create_driver_vehicle_assignment_not_implemented_error_response_body.py +1 -1
  492. samsara/types/driver_vehicle_assignments_v_2_create_driver_vehicle_assignment_service_unavailable_error_response_body.py +1 -1
  493. samsara/types/driver_vehicle_assignments_v_2_create_driver_vehicle_assignment_too_many_requests_error_response_body.py +1 -1
  494. samsara/types/driver_vehicle_assignments_v_2_create_driver_vehicle_assignment_unauthorized_error_response_body.py +1 -1
  495. samsara/types/driver_vehicle_assignments_v_2_delete_driver_vehicle_assignments_bad_gateway_error_response_body.py +1 -1
  496. samsara/types/driver_vehicle_assignments_v_2_delete_driver_vehicle_assignments_gateway_timeout_error_response_body.py +1 -1
  497. samsara/types/driver_vehicle_assignments_v_2_delete_driver_vehicle_assignments_internal_server_error_response_body.py +1 -1
  498. samsara/types/driver_vehicle_assignments_v_2_delete_driver_vehicle_assignments_method_not_allowed_error_response_body.py +1 -1
  499. samsara/types/driver_vehicle_assignments_v_2_delete_driver_vehicle_assignments_not_found_error_response_body.py +1 -1
  500. samsara/types/driver_vehicle_assignments_v_2_delete_driver_vehicle_assignments_not_implemented_error_response_body.py +1 -1
  501. samsara/types/driver_vehicle_assignments_v_2_delete_driver_vehicle_assignments_service_unavailable_error_response_body.py +1 -1
  502. samsara/types/driver_vehicle_assignments_v_2_delete_driver_vehicle_assignments_too_many_requests_error_response_body.py +1 -1
  503. samsara/types/driver_vehicle_assignments_v_2_delete_driver_vehicle_assignments_unauthorized_error_response_body.py +1 -1
  504. samsara/types/driver_vehicle_assignments_v_2_get_driver_vehicle_assignments_bad_gateway_error_response_body.py +1 -1
  505. samsara/types/driver_vehicle_assignments_v_2_get_driver_vehicle_assignments_gateway_timeout_error_response_body.py +1 -1
  506. samsara/types/driver_vehicle_assignments_v_2_get_driver_vehicle_assignments_internal_server_error_response_body.py +1 -1
  507. samsara/types/driver_vehicle_assignments_v_2_get_driver_vehicle_assignments_method_not_allowed_error_response_body.py +1 -1
  508. samsara/types/driver_vehicle_assignments_v_2_get_driver_vehicle_assignments_not_found_error_response_body.py +1 -1
  509. samsara/types/driver_vehicle_assignments_v_2_get_driver_vehicle_assignments_not_implemented_error_response_body.py +1 -1
  510. samsara/types/driver_vehicle_assignments_v_2_get_driver_vehicle_assignments_service_unavailable_error_response_body.py +1 -1
  511. samsara/types/driver_vehicle_assignments_v_2_get_driver_vehicle_assignments_too_many_requests_error_response_body.py +1 -1
  512. samsara/types/driver_vehicle_assignments_v_2_get_driver_vehicle_assignments_unauthorized_error_response_body.py +1 -1
  513. samsara/types/driver_vehicle_assignments_v_2_update_driver_vehicle_assignment_bad_gateway_error_response_body.py +1 -1
  514. samsara/types/driver_vehicle_assignments_v_2_update_driver_vehicle_assignment_gateway_timeout_error_response_body.py +1 -1
  515. samsara/types/driver_vehicle_assignments_v_2_update_driver_vehicle_assignment_internal_server_error_response_body.py +1 -1
  516. samsara/types/driver_vehicle_assignments_v_2_update_driver_vehicle_assignment_method_not_allowed_error_response_body.py +1 -1
  517. samsara/types/driver_vehicle_assignments_v_2_update_driver_vehicle_assignment_not_found_error_response_body.py +1 -1
  518. samsara/types/driver_vehicle_assignments_v_2_update_driver_vehicle_assignment_not_implemented_error_response_body.py +1 -1
  519. samsara/types/driver_vehicle_assignments_v_2_update_driver_vehicle_assignment_service_unavailable_error_response_body.py +1 -1
  520. samsara/types/driver_vehicle_assignments_v_2_update_driver_vehicle_assignment_too_many_requests_error_response_body.py +1 -1
  521. samsara/types/driver_vehicle_assignments_v_2_update_driver_vehicle_assignment_unauthorized_error_response_body.py +1 -1
  522. samsara/types/driver_vehicle_group_tag.py +1 -1
  523. samsara/types/driver_with_external_id_object_response_body.py +2 -2
  524. samsara/types/driver_with_timezone_eld_settings_object_response_body.py +2 -2
  525. samsara/types/drivers_auth_token_create_driver_auth_token_bad_gateway_error_response_body.py +1 -1
  526. samsara/types/drivers_auth_token_create_driver_auth_token_gateway_timeout_error_response_body.py +1 -1
  527. samsara/types/drivers_auth_token_create_driver_auth_token_internal_server_error_response_body.py +1 -1
  528. samsara/types/drivers_auth_token_create_driver_auth_token_method_not_allowed_error_response_body.py +1 -1
  529. samsara/types/drivers_auth_token_create_driver_auth_token_not_found_error_response_body.py +1 -1
  530. samsara/types/drivers_auth_token_create_driver_auth_token_not_implemented_error_response_body.py +1 -1
  531. samsara/types/drivers_auth_token_create_driver_auth_token_service_unavailable_error_response_body.py +1 -1
  532. samsara/types/drivers_auth_token_create_driver_auth_token_too_many_requests_error_response_body.py +1 -1
  533. samsara/types/drivers_auth_token_create_driver_auth_token_unauthorized_error_response_body.py +1 -1
  534. samsara/types/drivers_vehicle_assignments_get_drivers_vehicle_assignments_bad_gateway_error_response_body.py +1 -1
  535. samsara/types/drivers_vehicle_assignments_get_drivers_vehicle_assignments_gateway_timeout_error_response_body.py +1 -1
  536. samsara/types/drivers_vehicle_assignments_get_drivers_vehicle_assignments_internal_server_error_response_body.py +1 -1
  537. samsara/types/drivers_vehicle_assignments_get_drivers_vehicle_assignments_method_not_allowed_error_response_body.py +1 -1
  538. samsara/types/drivers_vehicle_assignments_get_drivers_vehicle_assignments_not_found_error_response_body.py +1 -1
  539. samsara/types/drivers_vehicle_assignments_get_drivers_vehicle_assignments_not_implemented_error_response_body.py +1 -1
  540. samsara/types/drivers_vehicle_assignments_get_drivers_vehicle_assignments_service_unavailable_error_response_body.py +1 -1
  541. samsara/types/drivers_vehicle_assignments_get_drivers_vehicle_assignments_too_many_requests_error_response_body.py +1 -1
  542. samsara/types/drivers_vehicle_assignments_get_drivers_vehicle_assignments_unauthorized_error_response_body.py +1 -1
  543. samsara/types/drivers_vehicle_assignments_object_response_body.py +3 -3
  544. samsara/types/duty_status_duration_object_response_body.py +8 -8
  545. samsara/types/dvir.py +12 -12
  546. samsara/types/{reading_type_response_body.py → dvir_2_assigned_to_polymorphic_user_object_response_body.py} +10 -9
  547. samsara/types/dvir_2_device_object_response_body.py +49 -0
  548. samsara/types/dvir_2_form_submission_object_response_body.py +47 -0
  549. samsara/types/dvir_2_related_device_object_response_body.py +38 -0
  550. samsara/types/dvir_2_related_device_object_response_body_asset_type.py +5 -0
  551. samsara/types/dvir_2_submission_response_object_response_body.py +50 -0
  552. samsara/types/dvir_2_submission_response_object_response_body_inspection_type.py +7 -0
  553. samsara/types/dvir_defect_get_defect_bad_gateway_error_response_body.py +1 -1
  554. samsara/types/dvir_defect_get_defect_gateway_timeout_error_response_body.py +1 -1
  555. samsara/types/dvir_defect_get_defect_internal_server_error_response_body.py +1 -1
  556. samsara/types/dvir_defect_get_defect_method_not_allowed_error_response_body.py +1 -1
  557. samsara/types/dvir_defect_get_defect_not_found_error_response_body.py +1 -1
  558. samsara/types/dvir_defect_get_defect_not_implemented_error_response_body.py +1 -1
  559. samsara/types/dvir_defect_get_defect_response_body.py +11 -9
  560. samsara/types/dvir_defect_get_defect_service_unavailable_error_response_body.py +1 -1
  561. samsara/types/dvir_defect_get_defect_too_many_requests_error_response_body.py +1 -1
  562. samsara/types/dvir_defect_get_defect_unauthorized_error_response_body.py +1 -1
  563. samsara/types/dvir_defect_stream_defects_bad_gateway_error_response_body.py +1 -1
  564. samsara/types/dvir_defect_stream_defects_gateway_timeout_error_response_body.py +1 -1
  565. samsara/types/dvir_defect_stream_defects_internal_server_error_response_body.py +1 -1
  566. samsara/types/dvir_defect_stream_defects_method_not_allowed_error_response_body.py +1 -1
  567. samsara/types/dvir_defect_stream_defects_not_found_error_response_body.py +1 -1
  568. samsara/types/dvir_defect_stream_defects_not_implemented_error_response_body.py +1 -1
  569. samsara/types/dvir_defect_stream_defects_service_unavailable_error_response_body.py +1 -1
  570. samsara/types/dvir_defect_stream_defects_too_many_requests_error_response_body.py +1 -1
  571. samsara/types/dvir_defect_stream_defects_unauthorized_error_response_body.py +1 -1
  572. samsara/types/dvir_defect_type_get_defect_types_bad_gateway_error_response_body.py +1 -1
  573. samsara/types/dvir_defect_type_get_defect_types_gateway_timeout_error_response_body.py +1 -1
  574. samsara/types/dvir_defect_type_get_defect_types_internal_server_error_response_body.py +1 -1
  575. samsara/types/dvir_defect_type_get_defect_types_method_not_allowed_error_response_body.py +1 -1
  576. samsara/types/dvir_defect_type_get_defect_types_not_found_error_response_body.py +1 -1
  577. samsara/types/dvir_defect_type_get_defect_types_not_implemented_error_response_body.py +1 -1
  578. samsara/types/dvir_defect_type_get_defect_types_service_unavailable_error_response_body.py +1 -1
  579. samsara/types/dvir_defect_type_get_defect_types_too_many_requests_error_response_body.py +1 -1
  580. samsara/types/dvir_defect_type_get_defect_types_unauthorized_error_response_body.py +1 -1
  581. samsara/types/dvir_defects_object_v_20220913_response_body.py +13 -7
  582. samsara/types/dvir_get_dvir_bad_gateway_error_response_body.py +1 -1
  583. samsara/types/dvir_get_dvir_gateway_timeout_error_response_body.py +1 -1
  584. samsara/types/dvir_get_dvir_internal_server_error_response_body.py +1 -1
  585. samsara/types/dvir_get_dvir_method_not_allowed_error_response_body.py +1 -1
  586. samsara/types/dvir_get_dvir_not_found_error_response_body.py +1 -1
  587. samsara/types/dvir_get_dvir_not_implemented_error_response_body.py +1 -1
  588. samsara/types/dvir_get_dvir_response_body.py +18 -12
  589. samsara/types/dvir_get_dvir_service_unavailable_error_response_body.py +1 -1
  590. samsara/types/dvir_get_dvir_too_many_requests_error_response_body.py +1 -1
  591. samsara/types/dvir_get_dvir_unauthorized_error_response_body.py +1 -1
  592. samsara/types/dvir_get_dvirs_bad_gateway_error_response_body.py +1 -1
  593. samsara/types/dvir_get_dvirs_gateway_timeout_error_response_body.py +1 -1
  594. samsara/types/dvir_get_dvirs_internal_server_error_response_body.py +1 -1
  595. samsara/types/dvir_get_dvirs_method_not_allowed_error_response_body.py +1 -1
  596. samsara/types/dvir_get_dvirs_not_found_error_response_body.py +1 -1
  597. samsara/types/dvir_get_dvirs_not_implemented_error_response_body.py +1 -1
  598. samsara/types/dvir_get_dvirs_service_unavailable_error_response_body.py +1 -1
  599. samsara/types/dvir_get_dvirs_too_many_requests_error_response_body.py +1 -1
  600. samsara/types/dvir_get_dvirs_unauthorized_error_response_body.py +1 -1
  601. samsara/types/dvir_signature.py +2 -2
  602. samsara/types/dvir_stream_response_data_response_body.py +18 -12
  603. samsara/types/dvir_submitted_device_trigger_details_object_request_body.py +2 -2
  604. samsara/types/dvir_submitted_device_trigger_details_object_response_body.py +2 -2
  605. samsara/types/dvir_trailer_defects_items.py +9 -7
  606. samsara/types/dvir_trailer_defects_items_vehicle.py +1 -1
  607. samsara/types/engine_idle_trigger_details_object_request_body.py +1 -1
  608. samsara/types/engine_idle_trigger_details_object_response_body.py +1 -1
  609. samsara/types/engine_immobilizer_get_engine_immobilizer_states_bad_gateway_error_response_body.py +1 -1
  610. samsara/types/engine_immobilizer_get_engine_immobilizer_states_gateway_timeout_error_response_body.py +1 -1
  611. samsara/types/engine_immobilizer_get_engine_immobilizer_states_internal_server_error_response_body.py +1 -1
  612. samsara/types/engine_immobilizer_get_engine_immobilizer_states_method_not_allowed_error_response_body.py +1 -1
  613. samsara/types/engine_immobilizer_get_engine_immobilizer_states_not_found_error_response_body.py +1 -1
  614. samsara/types/engine_immobilizer_get_engine_immobilizer_states_not_implemented_error_response_body.py +1 -1
  615. samsara/types/engine_immobilizer_get_engine_immobilizer_states_service_unavailable_error_response_body.py +1 -1
  616. samsara/types/engine_immobilizer_get_engine_immobilizer_states_too_many_requests_error_response_body.py +1 -1
  617. samsara/types/engine_immobilizer_get_engine_immobilizer_states_unauthorized_error_response_body.py +1 -1
  618. samsara/types/engine_immobilizer_relay_state_response_body.py +1 -1
  619. samsara/types/engine_immobilizer_state_response_body.py +6 -4
  620. samsara/types/engine_immobilizer_update_engine_immobilizer_state_bad_gateway_error_response_body.py +1 -1
  621. samsara/types/engine_immobilizer_update_engine_immobilizer_state_gateway_timeout_error_response_body.py +1 -1
  622. samsara/types/engine_immobilizer_update_engine_immobilizer_state_internal_server_error_response_body.py +1 -1
  623. samsara/types/engine_immobilizer_update_engine_immobilizer_state_method_not_allowed_error_response_body.py +1 -1
  624. samsara/types/engine_immobilizer_update_engine_immobilizer_state_not_found_error_response_body.py +1 -1
  625. samsara/types/engine_immobilizer_update_engine_immobilizer_state_not_implemented_error_response_body.py +1 -1
  626. samsara/types/engine_immobilizer_update_engine_immobilizer_state_service_unavailable_error_response_body.py +1 -1
  627. samsara/types/engine_immobilizer_update_engine_immobilizer_state_too_many_requests_error_response_body.py +1 -1
  628. samsara/types/engine_immobilizer_update_engine_immobilizer_state_unauthorized_error_response_body.py +1 -1
  629. samsara/types/engine_off_details_object_request_body.py +1 -1
  630. samsara/types/engine_off_details_object_response_body.py +1 -1
  631. samsara/types/engine_on_details_object_request_body.py +1 -1
  632. samsara/types/engine_on_details_object_response_body.py +1 -1
  633. samsara/types/engine_status_response_body.py +1 -1
  634. samsara/types/equipment_header_with_additional_fields_response_body.py +8 -6
  635. samsara/types/equipment_object.py +3 -3
  636. samsara/types/equipment_patch_equipment_bad_gateway_error_response_body.py +1 -1
  637. samsara/types/equipment_patch_equipment_gateway_timeout_error_response_body.py +1 -1
  638. samsara/types/equipment_patch_equipment_internal_server_error_response_body.py +1 -1
  639. samsara/types/equipment_patch_equipment_method_not_allowed_error_response_body.py +1 -1
  640. samsara/types/equipment_patch_equipment_not_found_error_response_body.py +1 -1
  641. samsara/types/equipment_patch_equipment_not_implemented_error_response_body.py +1 -1
  642. samsara/types/equipment_patch_equipment_service_unavailable_error_response_body.py +1 -1
  643. samsara/types/equipment_patch_equipment_too_many_requests_error_response_body.py +1 -1
  644. samsara/types/equipment_patch_equipment_unauthorized_error_response_body.py +1 -1
  645. samsara/types/equipment_stats_gps.py +5 -3
  646. samsara/types/equipment_stats_list_response_data.py +11 -11
  647. samsara/types/equipment_stats_response_data.py +10 -10
  648. samsara/types/equipment_with_attributes_response_object_response_body.py +3 -3
  649. samsara/types/extended_driver_tiny_response.py +1 -1
  650. samsara/types/fft_spectra_data_point.py +1 -1
  651. samsara/types/field_object_value_request_body.py +8 -8
  652. samsara/types/field_object_value_response_body.py +8 -8
  653. samsara/types/field_types_object_response_body.py +7 -5
  654. samsara/types/filters_request_body.py +28 -0
  655. samsara/types/filters_response_body.py +28 -0
  656. samsara/types/following_distance_detection_alert_settings_object_response_body.py +4 -4
  657. samsara/types/form_submission_pdf_export_response_object_response_body.py +10 -8
  658. samsara/types/form_submission_request_check_boxes_value_object_request_body.py +3 -1
  659. samsara/types/form_submission_request_field_input_object_request_body.py +9 -9
  660. samsara/types/form_submission_request_media_item_object_request_body.py +4 -2
  661. samsara/types/form_submission_request_media_value_object_request_body.py +1 -1
  662. samsara/types/form_submission_request_multiple_choice_value_object_request_body.py +1 -1
  663. samsara/types/form_submission_request_person_object_request_body.py +3 -1
  664. samsara/types/form_submission_request_table_cell_object_request_body.py +6 -6
  665. samsara/types/form_submission_response_object_response_body.py +19 -13
  666. samsara/types/form_submissions_get_form_submissions_bad_gateway_error_response_body.py +1 -1
  667. samsara/types/form_submissions_get_form_submissions_gateway_timeout_error_response_body.py +1 -1
  668. samsara/types/form_submissions_get_form_submissions_internal_server_error_response_body.py +1 -1
  669. samsara/types/form_submissions_get_form_submissions_method_not_allowed_error_response_body.py +1 -1
  670. samsara/types/form_submissions_get_form_submissions_not_found_error_response_body.py +1 -1
  671. samsara/types/form_submissions_get_form_submissions_not_implemented_error_response_body.py +1 -1
  672. samsara/types/form_submissions_get_form_submissions_pdf_exports_bad_gateway_error_response_body.py +1 -1
  673. samsara/types/form_submissions_get_form_submissions_pdf_exports_gateway_timeout_error_response_body.py +1 -1
  674. samsara/types/form_submissions_get_form_submissions_pdf_exports_internal_server_error_response_body.py +1 -1
  675. samsara/types/form_submissions_get_form_submissions_pdf_exports_method_not_allowed_error_response_body.py +1 -1
  676. samsara/types/form_submissions_get_form_submissions_pdf_exports_not_found_error_response_body.py +1 -1
  677. samsara/types/form_submissions_get_form_submissions_pdf_exports_not_implemented_error_response_body.py +1 -1
  678. samsara/types/form_submissions_get_form_submissions_pdf_exports_service_unavailable_error_response_body.py +1 -1
  679. samsara/types/form_submissions_get_form_submissions_pdf_exports_too_many_requests_error_response_body.py +1 -1
  680. samsara/types/form_submissions_get_form_submissions_pdf_exports_unauthorized_error_response_body.py +1 -1
  681. samsara/types/form_submissions_get_form_submissions_service_unavailable_error_response_body.py +1 -1
  682. samsara/types/form_submissions_get_form_submissions_stream_bad_gateway_error_response_body.py +1 -1
  683. samsara/types/form_submissions_get_form_submissions_stream_gateway_timeout_error_response_body.py +1 -1
  684. samsara/types/form_submissions_get_form_submissions_stream_internal_server_error_response_body.py +1 -1
  685. samsara/types/form_submissions_get_form_submissions_stream_method_not_allowed_error_response_body.py +1 -1
  686. samsara/types/form_submissions_get_form_submissions_stream_not_found_error_response_body.py +1 -1
  687. samsara/types/form_submissions_get_form_submissions_stream_not_implemented_error_response_body.py +1 -1
  688. samsara/types/form_submissions_get_form_submissions_stream_service_unavailable_error_response_body.py +1 -1
  689. samsara/types/form_submissions_get_form_submissions_stream_too_many_requests_error_response_body.py +1 -1
  690. samsara/types/form_submissions_get_form_submissions_stream_unauthorized_error_response_body.py +1 -1
  691. samsara/types/form_submissions_get_form_submissions_too_many_requests_error_response_body.py +1 -1
  692. samsara/types/form_submissions_get_form_submissions_unauthorized_error_response_body.py +1 -1
  693. samsara/types/form_submissions_patch_form_submission_bad_gateway_error_response_body.py +1 -1
  694. samsara/types/form_submissions_patch_form_submission_gateway_timeout_error_response_body.py +1 -1
  695. samsara/types/form_submissions_patch_form_submission_internal_server_error_response_body.py +1 -1
  696. samsara/types/form_submissions_patch_form_submission_method_not_allowed_error_response_body.py +1 -1
  697. samsara/types/form_submissions_patch_form_submission_not_found_error_response_body.py +1 -1
  698. samsara/types/form_submissions_patch_form_submission_not_implemented_error_response_body.py +1 -1
  699. samsara/types/form_submissions_patch_form_submission_service_unavailable_error_response_body.py +1 -1
  700. samsara/types/form_submissions_patch_form_submission_too_many_requests_error_response_body.py +1 -1
  701. samsara/types/form_submissions_patch_form_submission_unauthorized_error_response_body.py +1 -1
  702. samsara/types/form_submissions_post_form_submission_bad_gateway_error_response_body.py +1 -1
  703. samsara/types/form_submissions_post_form_submission_gateway_timeout_error_response_body.py +1 -1
  704. samsara/types/form_submissions_post_form_submission_internal_server_error_response_body.py +1 -1
  705. samsara/types/form_submissions_post_form_submission_method_not_allowed_error_response_body.py +1 -1
  706. samsara/types/form_submissions_post_form_submission_not_found_error_response_body.py +1 -1
  707. samsara/types/form_submissions_post_form_submission_not_implemented_error_response_body.py +1 -1
  708. samsara/types/form_submissions_post_form_submission_service_unavailable_error_response_body.py +1 -1
  709. samsara/types/form_submissions_post_form_submission_too_many_requests_error_response_body.py +1 -1
  710. samsara/types/form_submissions_post_form_submission_unauthorized_error_response_body.py +1 -1
  711. samsara/types/form_submissions_post_form_submissions_pdf_exports_bad_gateway_error_response_body.py +1 -1
  712. samsara/types/form_submissions_post_form_submissions_pdf_exports_gateway_timeout_error_response_body.py +1 -1
  713. samsara/types/form_submissions_post_form_submissions_pdf_exports_internal_server_error_response_body.py +1 -1
  714. samsara/types/form_submissions_post_form_submissions_pdf_exports_method_not_allowed_error_response_body.py +1 -1
  715. samsara/types/form_submissions_post_form_submissions_pdf_exports_not_found_error_response_body.py +1 -1
  716. samsara/types/form_submissions_post_form_submissions_pdf_exports_not_implemented_error_response_body.py +1 -1
  717. samsara/types/form_submissions_post_form_submissions_pdf_exports_service_unavailable_error_response_body.py +1 -1
  718. samsara/types/form_submissions_post_form_submissions_pdf_exports_too_many_requests_error_response_body.py +1 -1
  719. samsara/types/form_submissions_post_form_submissions_pdf_exports_unauthorized_error_response_body.py +1 -1
  720. samsara/types/form_template_reference_object_response_body.py +3 -1
  721. samsara/types/form_template_request_object_request_body.py +1 -1
  722. samsara/types/form_template_response_object_response_body.py +17 -7
  723. samsara/types/form_template_section_object_response_body.py +2 -2
  724. samsara/types/form_templates_get_form_templates_bad_gateway_error_response_body.py +1 -1
  725. samsara/types/form_templates_get_form_templates_gateway_timeout_error_response_body.py +1 -1
  726. samsara/types/form_templates_get_form_templates_internal_server_error_response_body.py +1 -1
  727. samsara/types/form_templates_get_form_templates_method_not_allowed_error_response_body.py +1 -1
  728. samsara/types/form_templates_get_form_templates_not_found_error_response_body.py +1 -1
  729. samsara/types/form_templates_get_form_templates_not_implemented_error_response_body.py +1 -1
  730. samsara/types/form_templates_get_form_templates_service_unavailable_error_response_body.py +1 -1
  731. samsara/types/form_templates_get_form_templates_too_many_requests_error_response_body.py +1 -1
  732. samsara/types/form_templates_get_form_templates_unauthorized_error_response_body.py +1 -1
  733. samsara/types/forms_action_object_response_body.py +2 -2
  734. samsara/types/forms_approval_config_object_response_body.py +1 -1
  735. samsara/types/forms_asset_object_response_body.py +2 -2
  736. samsara/types/forms_check_boxes_value_object_response_body.py +3 -1
  737. samsara/types/forms_condition_object_response_body.py +1 -1
  738. samsara/types/forms_field_definition_object_response_body.py +14 -12
  739. samsara/types/forms_field_input_object_response_body.py +12 -12
  740. samsara/types/forms_geofence_object_response_body.py +2 -2
  741. samsara/types/forms_issue_created_by_field_object_response_body.py +1 -1
  742. samsara/types/forms_media_record_object_response_body.py +2 -2
  743. samsara/types/forms_media_value_object_response_body.py +1 -1
  744. samsara/types/forms_multiple_choice_value_object_response_body.py +1 -1
  745. samsara/types/forms_person_object_response_body.py +2 -2
  746. samsara/types/forms_score_object_response_body.py +7 -3
  747. samsara/types/forms_select_option_object_response_body.py +2 -2
  748. samsara/types/forms_single_approval_config_object_response_body.py +1 -1
  749. samsara/types/forms_table_cell_object_response_body.py +8 -8
  750. samsara/types/forms_table_field_definition_object_response_body.py +6 -6
  751. samsara/types/forward_collision_detection_alert_settings_object_response_body.py +2 -2
  752. samsara/types/fuel_energy_cost_response_response_body.py +3 -1
  753. samsara/types/fuel_energy_driver_report_data_object_response_body.py +1 -1
  754. samsara/types/fuel_energy_driver_report_object_response_body.py +10 -8
  755. samsara/types/fuel_energy_get_fuel_energy_driver_reports_bad_gateway_error_response_body.py +1 -1
  756. samsara/types/fuel_energy_get_fuel_energy_driver_reports_gateway_timeout_error_response_body.py +1 -1
  757. samsara/types/fuel_energy_get_fuel_energy_driver_reports_internal_server_error_response_body.py +1 -1
  758. samsara/types/fuel_energy_get_fuel_energy_driver_reports_method_not_allowed_error_response_body.py +1 -1
  759. samsara/types/fuel_energy_get_fuel_energy_driver_reports_not_found_error_response_body.py +1 -1
  760. samsara/types/fuel_energy_get_fuel_energy_driver_reports_not_implemented_error_response_body.py +1 -1
  761. samsara/types/fuel_energy_get_fuel_energy_driver_reports_service_unavailable_error_response_body.py +1 -1
  762. samsara/types/fuel_energy_get_fuel_energy_driver_reports_too_many_requests_error_response_body.py +1 -1
  763. samsara/types/fuel_energy_get_fuel_energy_driver_reports_unauthorized_error_response_body.py +1 -1
  764. samsara/types/fuel_energy_get_fuel_energy_vehicle_reports_bad_gateway_error_response_body.py +1 -1
  765. samsara/types/fuel_energy_get_fuel_energy_vehicle_reports_gateway_timeout_error_response_body.py +1 -1
  766. samsara/types/fuel_energy_get_fuel_energy_vehicle_reports_internal_server_error_response_body.py +1 -1
  767. samsara/types/fuel_energy_get_fuel_energy_vehicle_reports_method_not_allowed_error_response_body.py +1 -1
  768. samsara/types/fuel_energy_get_fuel_energy_vehicle_reports_not_found_error_response_body.py +1 -1
  769. samsara/types/fuel_energy_get_fuel_energy_vehicle_reports_not_implemented_error_response_body.py +1 -1
  770. samsara/types/fuel_energy_get_fuel_energy_vehicle_reports_service_unavailable_error_response_body.py +1 -1
  771. samsara/types/fuel_energy_get_fuel_energy_vehicle_reports_too_many_requests_error_response_body.py +1 -1
  772. samsara/types/fuel_energy_get_fuel_energy_vehicle_reports_unauthorized_error_response_body.py +1 -1
  773. samsara/types/fuel_energy_vehicle_object_response_body.py +2 -2
  774. samsara/types/fuel_energy_vehicle_report_data_object_response_body.py +1 -1
  775. samsara/types/fuel_energy_vehicle_report_object_response_body.py +10 -8
  776. samsara/types/fuel_level_trigger_details_object_request_body.py +4 -2
  777. samsara/types/fuel_level_trigger_details_object_response_body.py +4 -2
  778. samsara/types/fuel_purchase_post_fuel_purchase_bad_gateway_error_response_body.py +1 -1
  779. samsara/types/fuel_purchase_post_fuel_purchase_gateway_timeout_error_response_body.py +1 -1
  780. samsara/types/fuel_purchase_post_fuel_purchase_internal_server_error_response_body.py +1 -1
  781. samsara/types/fuel_purchase_post_fuel_purchase_method_not_allowed_error_response_body.py +1 -1
  782. samsara/types/fuel_purchase_post_fuel_purchase_not_found_error_response_body.py +1 -1
  783. samsara/types/fuel_purchase_post_fuel_purchase_not_implemented_error_response_body.py +1 -1
  784. samsara/types/fuel_purchase_post_fuel_purchase_service_unavailable_error_response_body.py +1 -1
  785. samsara/types/fuel_purchase_post_fuel_purchase_too_many_requests_error_response_body.py +1 -1
  786. samsara/types/fuel_purchase_post_fuel_purchase_unauthorized_error_response_body.py +1 -1
  787. samsara/types/fuel_remaining_response_body.py +1 -1
  788. samsara/types/functions_start_function_run_bad_gateway_error_response_body.py +1 -1
  789. samsara/types/functions_start_function_run_gateway_timeout_error_response_body.py +1 -1
  790. samsara/types/functions_start_function_run_internal_server_error_response_body.py +1 -1
  791. samsara/types/functions_start_function_run_method_not_allowed_error_response_body.py +1 -1
  792. samsara/types/functions_start_function_run_not_found_error_response_body.py +1 -1
  793. samsara/types/functions_start_function_run_not_implemented_error_response_body.py +1 -1
  794. samsara/types/functions_start_function_run_service_unavailable_error_response_body.py +1 -1
  795. samsara/types/functions_start_function_run_too_many_requests_error_response_body.py +1 -1
  796. samsara/types/functions_start_function_run_unauthorized_error_response_body.py +1 -1
  797. samsara/types/gateway_asset_response_object_response_body.py +1 -1
  798. samsara/types/gateway_details_response_response_body.py +6 -6
  799. samsara/types/gateway_disconnected_details_object_request_body.py +1 -1
  800. samsara/types/gateway_disconnected_details_object_response_body.py +1 -1
  801. samsara/types/gateway_response_object_response_body.py +3 -3
  802. samsara/types/gateway_unplugged_trigger_details_object_request_body.py +1 -1
  803. samsara/types/gateway_unplugged_trigger_details_object_response_body.py +1 -1
  804. samsara/types/gateways_delete_gateway_bad_gateway_error_response_body.py +1 -1
  805. samsara/types/gateways_delete_gateway_gateway_timeout_error_response_body.py +1 -1
  806. samsara/types/gateways_delete_gateway_internal_server_error_response_body.py +1 -1
  807. samsara/types/gateways_delete_gateway_method_not_allowed_error_response_body.py +1 -1
  808. samsara/types/gateways_delete_gateway_not_found_error_response_body.py +1 -1
  809. samsara/types/gateways_delete_gateway_not_implemented_error_response_body.py +1 -1
  810. samsara/types/gateways_delete_gateway_service_unavailable_error_response_body.py +1 -1
  811. samsara/types/gateways_delete_gateway_too_many_requests_error_response_body.py +1 -1
  812. samsara/types/gateways_delete_gateway_unauthorized_error_response_body.py +1 -1
  813. samsara/types/gateways_get_gateways_bad_gateway_error_response_body.py +1 -1
  814. samsara/types/gateways_get_gateways_gateway_timeout_error_response_body.py +1 -1
  815. samsara/types/gateways_get_gateways_internal_server_error_response_body.py +1 -1
  816. samsara/types/gateways_get_gateways_method_not_allowed_error_response_body.py +1 -1
  817. samsara/types/gateways_get_gateways_not_found_error_response_body.py +1 -1
  818. samsara/types/gateways_get_gateways_not_implemented_error_response_body.py +1 -1
  819. samsara/types/gateways_get_gateways_service_unavailable_error_response_body.py +1 -1
  820. samsara/types/gateways_get_gateways_too_many_requests_error_response_body.py +1 -1
  821. samsara/types/gateways_get_gateways_unauthorized_error_response_body.py +1 -1
  822. samsara/types/gateways_post_gateway_bad_gateway_error_response_body.py +1 -1
  823. samsara/types/gateways_post_gateway_gateway_timeout_error_response_body.py +1 -1
  824. samsara/types/gateways_post_gateway_internal_server_error_response_body.py +1 -1
  825. samsara/types/gateways_post_gateway_method_not_allowed_error_response_body.py +1 -1
  826. samsara/types/gateways_post_gateway_not_found_error_response_body.py +1 -1
  827. samsara/types/gateways_post_gateway_not_implemented_error_response_body.py +1 -1
  828. samsara/types/gateways_post_gateway_service_unavailable_error_response_body.py +1 -1
  829. samsara/types/gateways_post_gateway_too_many_requests_error_response_body.py +1 -1
  830. samsara/types/gateways_post_gateway_unauthorized_error_response_body.py +1 -1
  831. samsara/types/geofence_response_response_body.py +1 -1
  832. samsara/types/get_document_type_response_object_response_body.py +3 -3
  833. samsara/types/get_driver_trailer_assignments_response_body_response_body.py +4 -4
  834. samsara/types/get_report_runs_data_object_response_body.py +34 -0
  835. samsara/types/get_report_runs_data_object_response_body_status.py +7 -0
  836. samsara/types/get_response_workflow_configuration_object_response_body.py +8 -6
  837. samsara/types/get_workflow_incident_response_object_response_body.py +16 -6
  838. samsara/types/goa_address_tiny_response_response_body.py +1 -1
  839. samsara/types/goa_attribute_tiny.py +9 -2
  840. samsara/types/goa_attribute_tiny_request_body.py +9 -2
  841. samsara/types/goa_attribute_tiny_response_body.py +9 -2
  842. samsara/types/goa_driver_tiny_response_response_body.py +1 -1
  843. samsara/types/goa_pagination_response_response_body.py +4 -2
  844. samsara/types/goa_pagination_with_tokens_response_response_body.py +4 -2
  845. samsara/types/goa_route_stop_tiny_response_response_body.py +1 -1
  846. samsara/types/goa_route_tiny_response_response_body.py +1 -1
  847. samsara/types/goa_tag_tiny_response_request_body.py +1 -1
  848. samsara/types/goa_tag_tiny_response_response_body.py +1 -1
  849. samsara/types/goa_trailer_tiny_response_response_body.py +1 -1
  850. samsara/types/goa_vehicle_tiny_response_response_body.py +1 -1
  851. samsara/types/gps_signal_loss_details_object_request_body.py +1 -1
  852. samsara/types/gps_signal_loss_details_object_response_body.py +1 -1
  853. samsara/types/harsh_accel_sensitivity_g_force_settings_object_response_body.py +2 -2
  854. samsara/types/harsh_accel_sensitivity_v_2_settings_object_response_body.py +2 -2
  855. samsara/types/harsh_brake_sensitivity_g_force_settings_object_response_body.py +2 -2
  856. samsara/types/harsh_brake_sensitivity_v_2_settings_object_response_body.py +2 -2
  857. samsara/types/harsh_event_sensitivity_settings_object_response_body.py +3 -3
  858. samsara/types/harsh_event_sensitivity_v_2_settings_object_response_body.py +3 -3
  859. samsara/types/harsh_event_trigger_details_object_request_body_types_item.py +2 -0
  860. samsara/types/harsh_event_trigger_details_object_response_body_types_item.py +2 -0
  861. samsara/types/harsh_turn_sensitivity_g_force_settings_object_response_body.py +2 -2
  862. samsara/types/harsh_turn_sensitivity_v_2_settings_object_response_body.py +2 -2
  863. samsara/types/health_details_response_response_body.py +2 -2
  864. samsara/types/health_reason_response_response_body.py +3 -3
  865. samsara/types/health_reason_response_response_body_health_reason_code.py +1 -0
  866. samsara/types/health_response_response_body.py +14 -10
  867. samsara/types/health_response_response_body_primary_health_reason.py +1 -0
  868. samsara/types/health_response_response_body_recommended_action.py +4 -0
  869. samsara/types/hos_break.py +1 -1
  870. samsara/types/hos_clocks.py +3 -1
  871. samsara/types/hos_clocks_for_driver.py +2 -2
  872. samsara/types/hos_cycle.py +3 -3
  873. samsara/types/hos_daily_logs_get_hos_daily_logs_bad_gateway_error_response_body.py +1 -1
  874. samsara/types/hos_daily_logs_get_hos_daily_logs_gateway_timeout_error_response_body.py +1 -1
  875. samsara/types/hos_daily_logs_get_hos_daily_logs_internal_server_error_response_body.py +1 -1
  876. samsara/types/hos_daily_logs_get_hos_daily_logs_method_not_allowed_error_response_body.py +1 -1
  877. samsara/types/hos_daily_logs_get_hos_daily_logs_not_found_error_response_body.py +1 -1
  878. samsara/types/hos_daily_logs_get_hos_daily_logs_not_implemented_error_response_body.py +1 -1
  879. samsara/types/hos_daily_logs_get_hos_daily_logs_service_unavailable_error_response_body.py +1 -1
  880. samsara/types/hos_daily_logs_get_hos_daily_logs_too_many_requests_error_response_body.py +1 -1
  881. samsara/types/hos_daily_logs_get_hos_daily_logs_unauthorized_error_response_body.py +1 -1
  882. samsara/types/hos_daily_logs_object_response_body.py +6 -6
  883. samsara/types/hos_daily_logs_update_shipping_docs_bad_gateway_error_response_body.py +1 -1
  884. samsara/types/hos_daily_logs_update_shipping_docs_gateway_timeout_error_response_body.py +1 -1
  885. samsara/types/hos_daily_logs_update_shipping_docs_internal_server_error_response_body.py +1 -1
  886. samsara/types/hos_daily_logs_update_shipping_docs_method_not_allowed_error_response_body.py +1 -1
  887. samsara/types/hos_daily_logs_update_shipping_docs_not_found_error_response_body.py +1 -1
  888. samsara/types/hos_daily_logs_update_shipping_docs_not_implemented_error_response_body.py +1 -1
  889. samsara/types/hos_daily_logs_update_shipping_docs_service_unavailable_error_response_body.py +1 -1
  890. samsara/types/hos_daily_logs_update_shipping_docs_too_many_requests_error_response_body.py +1 -1
  891. samsara/types/hos_daily_logs_update_shipping_docs_unauthorized_error_response_body.py +1 -1
  892. samsara/types/hos_drive.py +1 -1
  893. samsara/types/hos_drivers_eld_event_object_response_body.py +3 -3
  894. samsara/types/hos_eld_event_location_object_response_body.py +1 -1
  895. samsara/types/hos_eld_event_object_response_body.py +13 -9
  896. samsara/types/hos_eld_event_remark_object_response_body.py +2 -2
  897. samsara/types/hos_eld_events_get_hos_eld_events_bad_gateway_error_response_body.py +1 -1
  898. samsara/types/hos_eld_events_get_hos_eld_events_gateway_timeout_error_response_body.py +1 -1
  899. samsara/types/hos_eld_events_get_hos_eld_events_internal_server_error_response_body.py +1 -1
  900. samsara/types/hos_eld_events_get_hos_eld_events_method_not_allowed_error_response_body.py +1 -1
  901. samsara/types/hos_eld_events_get_hos_eld_events_not_found_error_response_body.py +1 -1
  902. samsara/types/hos_eld_events_get_hos_eld_events_not_implemented_error_response_body.py +1 -1
  903. samsara/types/hos_eld_events_get_hos_eld_events_service_unavailable_error_response_body.py +1 -1
  904. samsara/types/hos_eld_events_get_hos_eld_events_too_many_requests_error_response_body.py +1 -1
  905. samsara/types/hos_eld_events_get_hos_eld_events_unauthorized_error_response_body.py +1 -1
  906. samsara/types/hos_log_entry.py +8 -4
  907. samsara/types/hos_logs_for_driver.py +3 -1
  908. samsara/types/hos_shift.py +1 -1
  909. samsara/types/hos_violation_day_object_response_body.py +2 -2
  910. samsara/types/hos_violation_object_response_body.py +6 -2
  911. samsara/types/hos_violation_trigger_details_object_request_body.py +1 -1
  912. samsara/types/hos_violation_trigger_details_object_response_body.py +1 -1
  913. samsara/types/hos_violations.py +2 -2
  914. samsara/types/hos_violations_get_hos_violations_bad_gateway_error_response_body.py +1 -1
  915. samsara/types/hos_violations_get_hos_violations_gateway_timeout_error_response_body.py +1 -1
  916. samsara/types/hos_violations_get_hos_violations_internal_server_error_response_body.py +1 -1
  917. samsara/types/hos_violations_get_hos_violations_method_not_allowed_error_response_body.py +1 -1
  918. samsara/types/hos_violations_get_hos_violations_not_found_error_response_body.py +1 -1
  919. samsara/types/hos_violations_get_hos_violations_not_implemented_error_response_body.py +1 -1
  920. samsara/types/hos_violations_get_hos_violations_service_unavailable_error_response_body.py +1 -1
  921. samsara/types/hos_violations_get_hos_violations_too_many_requests_error_response_body.py +1 -1
  922. samsara/types/hos_violations_get_hos_violations_unauthorized_error_response_body.py +1 -1
  923. samsara/types/hub_capacities_list_hub_capacities_bad_gateway_error_response_body.py +1 -1
  924. samsara/types/hub_capacities_list_hub_capacities_gateway_timeout_error_response_body.py +1 -1
  925. samsara/types/hub_capacities_list_hub_capacities_internal_server_error_response_body.py +1 -1
  926. samsara/types/hub_capacities_list_hub_capacities_method_not_allowed_error_response_body.py +1 -1
  927. samsara/types/hub_capacities_list_hub_capacities_not_found_error_response_body.py +1 -1
  928. samsara/types/hub_capacities_list_hub_capacities_not_implemented_error_response_body.py +1 -1
  929. samsara/types/hub_capacities_list_hub_capacities_service_unavailable_error_response_body.py +1 -1
  930. samsara/types/hub_capacities_list_hub_capacities_too_many_requests_error_response_body.py +1 -1
  931. samsara/types/hub_capacities_list_hub_capacities_unauthorized_error_response_body.py +1 -1
  932. samsara/types/hub_capacity_object_response_body.py +7 -3
  933. samsara/types/hub_custom_properties_list_hub_custom_properties_bad_gateway_error_response_body.py +33 -0
  934. samsara/types/hub_custom_properties_list_hub_custom_properties_gateway_timeout_error_response_body.py +33 -0
  935. samsara/types/hub_custom_properties_list_hub_custom_properties_internal_server_error_response_body.py +33 -0
  936. samsara/types/hub_custom_properties_list_hub_custom_properties_method_not_allowed_error_response_body.py +33 -0
  937. samsara/types/hub_custom_properties_list_hub_custom_properties_not_found_error_response_body.py +33 -0
  938. samsara/types/hub_custom_properties_list_hub_custom_properties_not_implemented_error_response_body.py +33 -0
  939. samsara/types/hub_custom_properties_list_hub_custom_properties_response_body.py +28 -0
  940. samsara/types/hub_custom_properties_list_hub_custom_properties_service_unavailable_error_response_body.py +33 -0
  941. samsara/types/hub_custom_properties_list_hub_custom_properties_too_many_requests_error_response_body.py +33 -0
  942. samsara/types/hub_custom_properties_list_hub_custom_properties_unauthorized_error_response_body.py +33 -0
  943. samsara/types/hub_custom_property_object_response_body.py +60 -0
  944. samsara/types/hub_location_created_object_response_body.py +22 -10
  945. samsara/types/hub_location_input_object_request_body.py +14 -12
  946. samsara/types/hub_location_object_response_body.py +22 -10
  947. samsara/types/hub_location_service_window_input_request_body.py +5 -3
  948. samsara/types/hub_location_updated_object_response_body.py +22 -10
  949. samsara/types/hub_locations_create_hub_locations_bad_gateway_error_response_body.py +1 -1
  950. samsara/types/hub_locations_create_hub_locations_gateway_timeout_error_response_body.py +1 -1
  951. samsara/types/hub_locations_create_hub_locations_internal_server_error_response_body.py +1 -1
  952. samsara/types/hub_locations_create_hub_locations_method_not_allowed_error_response_body.py +1 -1
  953. samsara/types/hub_locations_create_hub_locations_not_found_error_response_body.py +1 -1
  954. samsara/types/hub_locations_create_hub_locations_not_implemented_error_response_body.py +1 -1
  955. samsara/types/hub_locations_create_hub_locations_service_unavailable_error_response_body.py +1 -1
  956. samsara/types/hub_locations_create_hub_locations_too_many_requests_error_response_body.py +1 -1
  957. samsara/types/hub_locations_create_hub_locations_unauthorized_error_response_body.py +1 -1
  958. samsara/types/hub_locations_list_hub_locations_bad_gateway_error_response_body.py +1 -1
  959. samsara/types/hub_locations_list_hub_locations_gateway_timeout_error_response_body.py +1 -1
  960. samsara/types/hub_locations_list_hub_locations_internal_server_error_response_body.py +1 -1
  961. samsara/types/hub_locations_list_hub_locations_method_not_allowed_error_response_body.py +1 -1
  962. samsara/types/hub_locations_list_hub_locations_not_found_error_response_body.py +1 -1
  963. samsara/types/hub_locations_list_hub_locations_not_implemented_error_response_body.py +1 -1
  964. samsara/types/hub_locations_list_hub_locations_service_unavailable_error_response_body.py +1 -1
  965. samsara/types/hub_locations_list_hub_locations_too_many_requests_error_response_body.py +1 -1
  966. samsara/types/hub_locations_list_hub_locations_unauthorized_error_response_body.py +1 -1
  967. samsara/types/hub_locations_update_hub_location_bad_gateway_error_response_body.py +1 -1
  968. samsara/types/hub_locations_update_hub_location_gateway_timeout_error_response_body.py +1 -1
  969. samsara/types/hub_locations_update_hub_location_internal_server_error_response_body.py +1 -1
  970. samsara/types/hub_locations_update_hub_location_method_not_allowed_error_response_body.py +1 -1
  971. samsara/types/hub_locations_update_hub_location_not_found_error_response_body.py +1 -1
  972. samsara/types/hub_locations_update_hub_location_not_implemented_error_response_body.py +1 -1
  973. samsara/types/hub_locations_update_hub_location_service_unavailable_error_response_body.py +1 -1
  974. samsara/types/hub_locations_update_hub_location_too_many_requests_error_response_body.py +1 -1
  975. samsara/types/hub_locations_update_hub_location_unauthorized_error_response_body.py +1 -1
  976. samsara/types/hub_object_response_body.py +7 -3
  977. samsara/types/hub_plan_routes_list_hub_plan_routes_bad_gateway_error_response_body.py +1 -1
  978. samsara/types/hub_plan_routes_list_hub_plan_routes_gateway_timeout_error_response_body.py +1 -1
  979. samsara/types/hub_plan_routes_list_hub_plan_routes_internal_server_error_response_body.py +1 -1
  980. samsara/types/hub_plan_routes_list_hub_plan_routes_method_not_allowed_error_response_body.py +1 -1
  981. samsara/types/hub_plan_routes_list_hub_plan_routes_not_found_error_response_body.py +1 -1
  982. samsara/types/hub_plan_routes_list_hub_plan_routes_not_implemented_error_response_body.py +1 -1
  983. samsara/types/hub_plan_routes_list_hub_plan_routes_service_unavailable_error_response_body.py +1 -1
  984. samsara/types/hub_plan_routes_list_hub_plan_routes_too_many_requests_error_response_body.py +1 -1
  985. samsara/types/hub_plan_routes_list_hub_plan_routes_unauthorized_error_response_body.py +1 -1
  986. samsara/types/hub_plans_create_hub_plan_bad_gateway_error_response_body.py +1 -1
  987. samsara/types/hub_plans_create_hub_plan_gateway_timeout_error_response_body.py +1 -1
  988. samsara/types/hub_plans_create_hub_plan_internal_server_error_response_body.py +1 -1
  989. samsara/types/hub_plans_create_hub_plan_method_not_allowed_error_response_body.py +1 -1
  990. samsara/types/hub_plans_create_hub_plan_not_found_error_response_body.py +1 -1
  991. samsara/types/hub_plans_create_hub_plan_not_implemented_error_response_body.py +1 -1
  992. samsara/types/hub_plans_create_hub_plan_service_unavailable_error_response_body.py +1 -1
  993. samsara/types/hub_plans_create_hub_plan_too_many_requests_error_response_body.py +1 -1
  994. samsara/types/hub_plans_create_hub_plan_unauthorized_error_response_body.py +1 -1
  995. samsara/types/hub_plans_list_hub_plans_bad_gateway_error_response_body.py +1 -1
  996. samsara/types/hub_plans_list_hub_plans_gateway_timeout_error_response_body.py +1 -1
  997. samsara/types/hub_plans_list_hub_plans_internal_server_error_response_body.py +1 -1
  998. samsara/types/hub_plans_list_hub_plans_method_not_allowed_error_response_body.py +1 -1
  999. samsara/types/hub_plans_list_hub_plans_not_found_error_response_body.py +1 -1
  1000. samsara/types/hub_plans_list_hub_plans_not_implemented_error_response_body.py +1 -1
  1001. samsara/types/hub_plans_list_hub_plans_service_unavailable_error_response_body.py +1 -1
  1002. samsara/types/hub_plans_list_hub_plans_too_many_requests_error_response_body.py +1 -1
  1003. samsara/types/hub_plans_list_hub_plans_unauthorized_error_response_body.py +1 -1
  1004. samsara/types/hub_skill_object_response_body.py +7 -3
  1005. samsara/types/hub_skills_list_hub_skills_bad_gateway_error_response_body.py +1 -1
  1006. samsara/types/hub_skills_list_hub_skills_gateway_timeout_error_response_body.py +1 -1
  1007. samsara/types/hub_skills_list_hub_skills_internal_server_error_response_body.py +1 -1
  1008. samsara/types/hub_skills_list_hub_skills_method_not_allowed_error_response_body.py +1 -1
  1009. samsara/types/hub_skills_list_hub_skills_not_found_error_response_body.py +1 -1
  1010. samsara/types/hub_skills_list_hub_skills_not_implemented_error_response_body.py +1 -1
  1011. samsara/types/hub_skills_list_hub_skills_service_unavailable_error_response_body.py +1 -1
  1012. samsara/types/hub_skills_list_hub_skills_too_many_requests_error_response_body.py +1 -1
  1013. samsara/types/hub_skills_list_hub_skills_unauthorized_error_response_body.py +1 -1
  1014. samsara/types/hubs_list_hubs_bad_gateway_error_response_body.py +1 -1
  1015. samsara/types/hubs_list_hubs_gateway_timeout_error_response_body.py +1 -1
  1016. samsara/types/hubs_list_hubs_internal_server_error_response_body.py +1 -1
  1017. samsara/types/hubs_list_hubs_method_not_allowed_error_response_body.py +1 -1
  1018. samsara/types/hubs_list_hubs_not_found_error_response_body.py +1 -1
  1019. samsara/types/hubs_list_hubs_not_implemented_error_response_body.py +1 -1
  1020. samsara/types/hubs_list_hubs_service_unavailable_error_response_body.py +1 -1
  1021. samsara/types/hubs_list_hubs_too_many_requests_error_response_body.py +1 -1
  1022. samsara/types/hubs_list_hubs_unauthorized_error_response_body.py +1 -1
  1023. samsara/types/idling_event_address_object_response_body.py +2 -2
  1024. samsara/types/idling_event_address_object_response_body_address_types_item.py +2 -0
  1025. samsara/types/idling_event_asset_object_response_body.py +1 -1
  1026. samsara/types/idling_event_object_v_20251023_response_body.py +11 -9
  1027. samsara/types/idling_event_operator_object_response_body.py +1 -1
  1028. samsara/types/idling_report_event_response_body.py +11 -5
  1029. samsara/types/idling_reports_get_vehicle_idling_reports_bad_gateway_error_response_body.py +1 -1
  1030. samsara/types/idling_reports_get_vehicle_idling_reports_gateway_timeout_error_response_body.py +1 -1
  1031. samsara/types/idling_reports_get_vehicle_idling_reports_internal_server_error_response_body.py +1 -1
  1032. samsara/types/idling_reports_get_vehicle_idling_reports_method_not_allowed_error_response_body.py +1 -1
  1033. samsara/types/idling_reports_get_vehicle_idling_reports_not_found_error_response_body.py +1 -1
  1034. samsara/types/idling_reports_get_vehicle_idling_reports_not_implemented_error_response_body.py +1 -1
  1035. samsara/types/idling_reports_get_vehicle_idling_reports_response_body.py +6 -2
  1036. samsara/types/idling_reports_get_vehicle_idling_reports_service_unavailable_error_response_body.py +1 -1
  1037. samsara/types/idling_reports_get_vehicle_idling_reports_too_many_requests_error_response_body.py +1 -1
  1038. samsara/types/idling_reports_get_vehicle_idling_reports_unauthorized_error_response_body.py +1 -1
  1039. samsara/types/ifta_create_ifta_detail_job_bad_gateway_error_response_body.py +1 -1
  1040. samsara/types/ifta_create_ifta_detail_job_gateway_timeout_error_response_body.py +1 -1
  1041. samsara/types/ifta_create_ifta_detail_job_internal_server_error_response_body.py +1 -1
  1042. samsara/types/ifta_create_ifta_detail_job_method_not_allowed_error_response_body.py +1 -1
  1043. samsara/types/ifta_create_ifta_detail_job_not_found_error_response_body.py +1 -1
  1044. samsara/types/ifta_create_ifta_detail_job_not_implemented_error_response_body.py +1 -1
  1045. samsara/types/ifta_create_ifta_detail_job_service_unavailable_error_response_body.py +1 -1
  1046. samsara/types/ifta_create_ifta_detail_job_too_many_requests_error_response_body.py +1 -1
  1047. samsara/types/ifta_create_ifta_detail_job_unauthorized_error_response_body.py +1 -1
  1048. samsara/types/ifta_detail_job_args_response_body.py +5 -3
  1049. samsara/types/ifta_detail_job_output_response_body.py +10 -4
  1050. samsara/types/ifta_detail_job_response_body.py +8 -6
  1051. samsara/types/ifta_get_ifta_detail_job_bad_gateway_error_response_body.py +1 -1
  1052. samsara/types/ifta_get_ifta_detail_job_gateway_timeout_error_response_body.py +1 -1
  1053. samsara/types/ifta_get_ifta_detail_job_internal_server_error_response_body.py +1 -1
  1054. samsara/types/ifta_get_ifta_detail_job_method_not_allowed_error_response_body.py +1 -1
  1055. samsara/types/ifta_get_ifta_detail_job_not_found_error_response_body.py +1 -1
  1056. samsara/types/ifta_get_ifta_detail_job_not_implemented_error_response_body.py +1 -1
  1057. samsara/types/ifta_get_ifta_detail_job_service_unavailable_error_response_body.py +1 -1
  1058. samsara/types/ifta_get_ifta_detail_job_too_many_requests_error_response_body.py +1 -1
  1059. samsara/types/ifta_get_ifta_detail_job_unauthorized_error_response_body.py +1 -1
  1060. samsara/types/ifta_get_ifta_jurisdiction_reports_bad_gateway_error_response_body.py +1 -1
  1061. samsara/types/ifta_get_ifta_jurisdiction_reports_gateway_timeout_error_response_body.py +1 -1
  1062. samsara/types/ifta_get_ifta_jurisdiction_reports_internal_server_error_response_body.py +1 -1
  1063. samsara/types/ifta_get_ifta_jurisdiction_reports_method_not_allowed_error_response_body.py +1 -1
  1064. samsara/types/ifta_get_ifta_jurisdiction_reports_not_found_error_response_body.py +1 -1
  1065. samsara/types/ifta_get_ifta_jurisdiction_reports_not_implemented_error_response_body.py +1 -1
  1066. samsara/types/ifta_get_ifta_jurisdiction_reports_service_unavailable_error_response_body.py +1 -1
  1067. samsara/types/ifta_get_ifta_jurisdiction_reports_too_many_requests_error_response_body.py +1 -1
  1068. samsara/types/ifta_get_ifta_jurisdiction_reports_unauthorized_error_response_body.py +1 -1
  1069. samsara/types/ifta_get_ifta_vehicle_reports_bad_gateway_error_response_body.py +1 -1
  1070. samsara/types/ifta_get_ifta_vehicle_reports_gateway_timeout_error_response_body.py +1 -1
  1071. samsara/types/ifta_get_ifta_vehicle_reports_internal_server_error_response_body.py +1 -1
  1072. samsara/types/ifta_get_ifta_vehicle_reports_method_not_allowed_error_response_body.py +1 -1
  1073. samsara/types/ifta_get_ifta_vehicle_reports_not_found_error_response_body.py +1 -1
  1074. samsara/types/ifta_get_ifta_vehicle_reports_not_implemented_error_response_body.py +1 -1
  1075. samsara/types/ifta_get_ifta_vehicle_reports_service_unavailable_error_response_body.py +1 -1
  1076. samsara/types/ifta_get_ifta_vehicle_reports_too_many_requests_error_response_body.py +1 -1
  1077. samsara/types/ifta_get_ifta_vehicle_reports_unauthorized_error_response_body.py +1 -1
  1078. samsara/types/ifta_jurisdiction_report_data_object_response_body.py +1 -1
  1079. samsara/types/ifta_jurisdiction_summary_object_response_body.py +7 -3
  1080. samsara/types/ifta_report_troubleshooting_object_response_body.py +6 -4
  1081. samsara/types/ifta_vehicle_report_data_object_response_body.py +1 -1
  1082. samsara/types/in_app_notification_options_object_request_body.py +4 -4
  1083. samsara/types/in_app_notification_options_object_response_body.py +4 -4
  1084. samsara/types/inactivity_response_body.py +1 -1
  1085. samsara/types/inattentive_driving_detection_alert_settings_object_response_body.py +3 -3
  1086. samsara/types/inside_geofence_trigger_details_object_request_body.py +1 -1
  1087. samsara/types/inside_geofence_trigger_details_object_response_body.py +1 -1
  1088. samsara/types/invoice_scan_file_request_body.py +37 -0
  1089. samsara/types/issue_response_object_response_body.py +15 -9
  1090. samsara/types/issues_get_issues_bad_gateway_error_response_body.py +1 -1
  1091. samsara/types/issues_get_issues_gateway_timeout_error_response_body.py +1 -1
  1092. samsara/types/issues_get_issues_internal_server_error_response_body.py +1 -1
  1093. samsara/types/issues_get_issues_method_not_allowed_error_response_body.py +1 -1
  1094. samsara/types/issues_get_issues_not_found_error_response_body.py +1 -1
  1095. samsara/types/issues_get_issues_not_implemented_error_response_body.py +1 -1
  1096. samsara/types/issues_get_issues_service_unavailable_error_response_body.py +1 -1
  1097. samsara/types/issues_get_issues_stream_bad_gateway_error_response_body.py +1 -1
  1098. samsara/types/issues_get_issues_stream_gateway_timeout_error_response_body.py +1 -1
  1099. samsara/types/issues_get_issues_stream_internal_server_error_response_body.py +1 -1
  1100. samsara/types/issues_get_issues_stream_method_not_allowed_error_response_body.py +1 -1
  1101. samsara/types/issues_get_issues_stream_not_found_error_response_body.py +1 -1
  1102. samsara/types/issues_get_issues_stream_not_implemented_error_response_body.py +1 -1
  1103. samsara/types/issues_get_issues_stream_service_unavailable_error_response_body.py +1 -1
  1104. samsara/types/issues_get_issues_stream_too_many_requests_error_response_body.py +1 -1
  1105. samsara/types/issues_get_issues_stream_unauthorized_error_response_body.py +1 -1
  1106. samsara/types/issues_get_issues_too_many_requests_error_response_body.py +1 -1
  1107. samsara/types/issues_get_issues_unauthorized_error_response_body.py +1 -1
  1108. samsara/types/issues_patch_issue_bad_gateway_error_response_body.py +1 -1
  1109. samsara/types/issues_patch_issue_gateway_timeout_error_response_body.py +1 -1
  1110. samsara/types/issues_patch_issue_internal_server_error_response_body.py +1 -1
  1111. samsara/types/issues_patch_issue_method_not_allowed_error_response_body.py +1 -1
  1112. samsara/types/issues_patch_issue_not_found_error_response_body.py +1 -1
  1113. samsara/types/issues_patch_issue_not_implemented_error_response_body.py +1 -1
  1114. samsara/types/issues_patch_issue_service_unavailable_error_response_body.py +1 -1
  1115. samsara/types/issues_patch_issue_too_many_requests_error_response_body.py +1 -1
  1116. samsara/types/issues_patch_issue_unauthorized_error_response_body.py +1 -1
  1117. samsara/types/j_1939_d_1_status_data_point_value.py +16 -6
  1118. samsara/types/job_response_object_response_body.py +14 -10
  1119. samsara/types/jobs_create_job_bad_gateway_error_response_body.py +1 -1
  1120. samsara/types/jobs_create_job_gateway_timeout_error_response_body.py +1 -1
  1121. samsara/types/jobs_create_job_internal_server_error_response_body.py +1 -1
  1122. samsara/types/jobs_create_job_method_not_allowed_error_response_body.py +1 -1
  1123. samsara/types/jobs_create_job_not_found_error_response_body.py +1 -1
  1124. samsara/types/jobs_create_job_not_implemented_error_response_body.py +1 -1
  1125. samsara/types/jobs_create_job_response_body.py +3 -1
  1126. samsara/types/jobs_create_job_service_unavailable_error_response_body.py +1 -1
  1127. samsara/types/jobs_create_job_too_many_requests_error_response_body.py +1 -1
  1128. samsara/types/jobs_create_job_unauthorized_error_response_body.py +1 -1
  1129. samsara/types/jobs_delete_job_bad_gateway_error_response_body.py +1 -1
  1130. samsara/types/jobs_delete_job_gateway_timeout_error_response_body.py +1 -1
  1131. samsara/types/jobs_delete_job_internal_server_error_response_body.py +1 -1
  1132. samsara/types/jobs_delete_job_method_not_allowed_error_response_body.py +1 -1
  1133. samsara/types/jobs_delete_job_not_found_error_response_body.py +1 -1
  1134. samsara/types/jobs_delete_job_not_implemented_error_response_body.py +1 -1
  1135. samsara/types/jobs_delete_job_response_body.py +3 -1
  1136. samsara/types/jobs_delete_job_service_unavailable_error_response_body.py +1 -1
  1137. samsara/types/jobs_delete_job_too_many_requests_error_response_body.py +1 -1
  1138. samsara/types/jobs_delete_job_unauthorized_error_response_body.py +1 -1
  1139. samsara/types/jobs_get_jobs_bad_gateway_error_response_body.py +1 -1
  1140. samsara/types/jobs_get_jobs_gateway_timeout_error_response_body.py +1 -1
  1141. samsara/types/jobs_get_jobs_internal_server_error_response_body.py +1 -1
  1142. samsara/types/jobs_get_jobs_method_not_allowed_error_response_body.py +1 -1
  1143. samsara/types/jobs_get_jobs_not_found_error_response_body.py +1 -1
  1144. samsara/types/jobs_get_jobs_not_implemented_error_response_body.py +1 -1
  1145. samsara/types/jobs_get_jobs_response_body.py +3 -1
  1146. samsara/types/jobs_get_jobs_service_unavailable_error_response_body.py +1 -1
  1147. samsara/types/jobs_get_jobs_too_many_requests_error_response_body.py +1 -1
  1148. samsara/types/jobs_get_jobs_unauthorized_error_response_body.py +1 -1
  1149. samsara/types/jobs_patch_job_bad_gateway_error_response_body.py +1 -1
  1150. samsara/types/jobs_patch_job_gateway_timeout_error_response_body.py +1 -1
  1151. samsara/types/jobs_patch_job_internal_server_error_response_body.py +1 -1
  1152. samsara/types/jobs_patch_job_method_not_allowed_error_response_body.py +1 -1
  1153. samsara/types/jobs_patch_job_not_found_error_response_body.py +1 -1
  1154. samsara/types/jobs_patch_job_not_implemented_error_response_body.py +1 -1
  1155. samsara/types/jobs_patch_job_response_body.py +3 -1
  1156. samsara/types/jobs_patch_job_service_unavailable_error_response_body.py +1 -1
  1157. samsara/types/jobs_patch_job_too_many_requests_error_response_body.py +1 -1
  1158. samsara/types/jobs_patch_job_unauthorized_error_response_body.py +1 -1
  1159. samsara/types/list_hub_capacities_response_pagination_response_body.py +4 -2
  1160. samsara/types/list_hub_custom_properties_response_pagination_response_body.py +37 -0
  1161. samsara/types/list_hub_locations_response_pagination_response_body.py +4 -2
  1162. samsara/types/list_hub_plan_routes_response_pagination_response_body.py +4 -2
  1163. samsara/types/list_hub_plans_response_pagination_response_body.py +4 -2
  1164. samsara/types/list_hub_skills_response_pagination_response_body.py +4 -2
  1165. samsara/types/list_hubs_response_pagination_response_body.py +4 -2
  1166. samsara/types/live_sharing_link_full_response_object_response_body.py +7 -5
  1167. samsara/types/live_sharing_link_response_object_response_body.py +4 -2
  1168. samsara/types/live_sharing_links_create_live_sharing_link_bad_gateway_error_response_body.py +1 -1
  1169. samsara/types/live_sharing_links_create_live_sharing_link_gateway_timeout_error_response_body.py +1 -1
  1170. samsara/types/live_sharing_links_create_live_sharing_link_internal_server_error_response_body.py +1 -1
  1171. samsara/types/live_sharing_links_create_live_sharing_link_method_not_allowed_error_response_body.py +1 -1
  1172. samsara/types/live_sharing_links_create_live_sharing_link_not_found_error_response_body.py +1 -1
  1173. samsara/types/live_sharing_links_create_live_sharing_link_not_implemented_error_response_body.py +1 -1
  1174. samsara/types/live_sharing_links_create_live_sharing_link_service_unavailable_error_response_body.py +1 -1
  1175. samsara/types/live_sharing_links_create_live_sharing_link_too_many_requests_error_response_body.py +1 -1
  1176. samsara/types/live_sharing_links_create_live_sharing_link_unauthorized_error_response_body.py +1 -1
  1177. samsara/types/live_sharing_links_delete_live_sharing_link_bad_gateway_error_response_body.py +1 -1
  1178. samsara/types/live_sharing_links_delete_live_sharing_link_gateway_timeout_error_response_body.py +1 -1
  1179. samsara/types/live_sharing_links_delete_live_sharing_link_internal_server_error_response_body.py +1 -1
  1180. samsara/types/live_sharing_links_delete_live_sharing_link_method_not_allowed_error_response_body.py +1 -1
  1181. samsara/types/live_sharing_links_delete_live_sharing_link_not_found_error_response_body.py +1 -1
  1182. samsara/types/live_sharing_links_delete_live_sharing_link_not_implemented_error_response_body.py +1 -1
  1183. samsara/types/live_sharing_links_delete_live_sharing_link_service_unavailable_error_response_body.py +1 -1
  1184. samsara/types/live_sharing_links_delete_live_sharing_link_too_many_requests_error_response_body.py +1 -1
  1185. samsara/types/live_sharing_links_delete_live_sharing_link_unauthorized_error_response_body.py +1 -1
  1186. samsara/types/live_sharing_links_get_live_sharing_links_bad_gateway_error_response_body.py +1 -1
  1187. samsara/types/live_sharing_links_get_live_sharing_links_gateway_timeout_error_response_body.py +1 -1
  1188. samsara/types/live_sharing_links_get_live_sharing_links_internal_server_error_response_body.py +1 -1
  1189. samsara/types/live_sharing_links_get_live_sharing_links_method_not_allowed_error_response_body.py +1 -1
  1190. samsara/types/live_sharing_links_get_live_sharing_links_not_found_error_response_body.py +1 -1
  1191. samsara/types/live_sharing_links_get_live_sharing_links_not_implemented_error_response_body.py +1 -1
  1192. samsara/types/live_sharing_links_get_live_sharing_links_service_unavailable_error_response_body.py +1 -1
  1193. samsara/types/live_sharing_links_get_live_sharing_links_too_many_requests_error_response_body.py +1 -1
  1194. samsara/types/live_sharing_links_get_live_sharing_links_unauthorized_error_response_body.py +1 -1
  1195. samsara/types/live_sharing_links_update_live_sharing_link_bad_gateway_error_response_body.py +1 -1
  1196. samsara/types/live_sharing_links_update_live_sharing_link_gateway_timeout_error_response_body.py +1 -1
  1197. samsara/types/live_sharing_links_update_live_sharing_link_internal_server_error_response_body.py +1 -1
  1198. samsara/types/live_sharing_links_update_live_sharing_link_method_not_allowed_error_response_body.py +1 -1
  1199. samsara/types/live_sharing_links_update_live_sharing_link_not_found_error_response_body.py +1 -1
  1200. samsara/types/live_sharing_links_update_live_sharing_link_not_implemented_error_response_body.py +1 -1
  1201. samsara/types/live_sharing_links_update_live_sharing_link_service_unavailable_error_response_body.py +1 -1
  1202. samsara/types/live_sharing_links_update_live_sharing_link_too_many_requests_error_response_body.py +1 -1
  1203. samsara/types/live_sharing_links_update_live_sharing_link_unauthorized_error_response_body.py +1 -1
  1204. samsara/types/location_and_speed_get_location_and_speed_bad_gateway_error_response_body.py +1 -1
  1205. samsara/types/location_and_speed_get_location_and_speed_gateway_timeout_error_response_body.py +1 -1
  1206. samsara/types/location_and_speed_get_location_and_speed_internal_server_error_response_body.py +1 -1
  1207. samsara/types/location_and_speed_get_location_and_speed_method_not_allowed_error_response_body.py +1 -1
  1208. samsara/types/location_and_speed_get_location_and_speed_not_found_error_response_body.py +1 -1
  1209. samsara/types/location_and_speed_get_location_and_speed_not_implemented_error_response_body.py +1 -1
  1210. samsara/types/location_and_speed_get_location_and_speed_service_unavailable_error_response_body.py +1 -1
  1211. samsara/types/location_and_speed_get_location_and_speed_too_many_requests_error_response_body.py +1 -1
  1212. samsara/types/location_and_speed_get_location_and_speed_unauthorized_error_response_body.py +1 -1
  1213. samsara/types/location_and_speed_response_response_body.py +3 -1
  1214. samsara/types/location_data_point.py +1 -1
  1215. samsara/types/location_data_point_gps_location.py +3 -3
  1216. samsara/types/location_data_point_gps_location_place.py +1 -1
  1217. samsara/types/location_object_request_body.py +3 -3
  1218. samsara/types/location_object_request_body_address_types_item.py +2 -0
  1219. samsara/types/location_object_response_body.py +3 -3
  1220. samsara/types/location_object_response_body_address_types_item.py +2 -0
  1221. samsara/types/location_response_body.py +2 -2
  1222. samsara/types/location_response_response_body.py +4 -2
  1223. samsara/types/log_meta_data_object_response_body.py +12 -12
  1224. samsara/types/media_object_response_body.py +7 -7
  1225. samsara/types/media_retrieval_get_media_retrieval_bad_gateway_error_response_body.py +1 -1
  1226. samsara/types/media_retrieval_get_media_retrieval_gateway_timeout_error_response_body.py +1 -1
  1227. samsara/types/media_retrieval_get_media_retrieval_internal_server_error_response_body.py +1 -1
  1228. samsara/types/media_retrieval_get_media_retrieval_method_not_allowed_error_response_body.py +1 -1
  1229. samsara/types/media_retrieval_get_media_retrieval_not_found_error_response_body.py +1 -1
  1230. samsara/types/media_retrieval_get_media_retrieval_not_implemented_error_response_body.py +1 -1
  1231. samsara/types/media_retrieval_get_media_retrieval_service_unavailable_error_response_body.py +1 -1
  1232. samsara/types/media_retrieval_get_media_retrieval_too_many_requests_error_response_body.py +1 -1
  1233. samsara/types/media_retrieval_get_media_retrieval_unauthorized_error_response_body.py +1 -1
  1234. samsara/types/media_retrieval_list_uploaded_media_bad_gateway_error_response_body.py +1 -1
  1235. samsara/types/media_retrieval_list_uploaded_media_gateway_timeout_error_response_body.py +1 -1
  1236. samsara/types/media_retrieval_list_uploaded_media_internal_server_error_response_body.py +1 -1
  1237. samsara/types/media_retrieval_list_uploaded_media_method_not_allowed_error_response_body.py +1 -1
  1238. samsara/types/media_retrieval_list_uploaded_media_not_found_error_response_body.py +1 -1
  1239. samsara/types/media_retrieval_list_uploaded_media_not_implemented_error_response_body.py +1 -1
  1240. samsara/types/media_retrieval_list_uploaded_media_service_unavailable_error_response_body.py +1 -1
  1241. samsara/types/media_retrieval_list_uploaded_media_too_many_requests_error_response_body.py +1 -1
  1242. samsara/types/media_retrieval_list_uploaded_media_unauthorized_error_response_body.py +1 -1
  1243. samsara/types/media_retrieval_post_media_retrieval_bad_gateway_error_response_body.py +1 -1
  1244. samsara/types/media_retrieval_post_media_retrieval_gateway_timeout_error_response_body.py +1 -1
  1245. samsara/types/media_retrieval_post_media_retrieval_internal_server_error_response_body.py +1 -1
  1246. samsara/types/media_retrieval_post_media_retrieval_method_not_allowed_error_response_body.py +1 -1
  1247. samsara/types/media_retrieval_post_media_retrieval_not_found_error_response_body.py +1 -1
  1248. samsara/types/media_retrieval_post_media_retrieval_not_implemented_error_response_body.py +1 -1
  1249. samsara/types/media_retrieval_post_media_retrieval_service_unavailable_error_response_body.py +1 -1
  1250. samsara/types/media_retrieval_post_media_retrieval_too_many_requests_error_response_body.py +1 -1
  1251. samsara/types/media_retrieval_post_media_retrieval_unauthorized_error_response_body.py +1 -1
  1252. samsara/types/minimal_route_stop_audit_logs_response_body.py +8 -8
  1253. samsara/types/minimal_route_stop_response_body.py +6 -6
  1254. samsara/types/missing_dvir_past_due_response_body.py +24 -0
  1255. samsara/types/mobile_usage_detection_alert_settings_object_response_body.py +3 -3
  1256. samsara/types/motion_detected_response_body.py +1 -1
  1257. samsara/types/number_field_type_meta_data_object_response_body.py +1 -1
  1258. samsara/types/operational_settings_object_request_body.py +2 -2
  1259. samsara/types/operational_settings_object_response_body.py +2 -2
  1260. samsara/types/order_custom_property_input_request_body.py +35 -0
  1261. samsara/types/order_custom_property_response_body.py +40 -0
  1262. samsara/types/order_input_object_request_body.py +14 -4
  1263. samsara/types/order_object_response_body.py +20 -6
  1264. samsara/types/order_quantity_input_request_body.py +3 -1
  1265. samsara/types/order_quantity_response_body.py +3 -1
  1266. samsara/types/order_task_custom_property_object_response_body.py +36 -0
  1267. samsara/types/order_task_object_response_body.py +10 -2
  1268. samsara/types/order_task_request_body.py +5 -5
  1269. samsara/types/order_task_response_body.py +5 -5
  1270. samsara/types/organization_info_carrier_settings.py +3 -3
  1271. samsara/types/organization_info_object.py +1 -1
  1272. samsara/types/out_of_route_details_object_request_body.py +4 -2
  1273. samsara/types/out_of_route_details_object_response_body.py +4 -2
  1274. samsara/types/outside_geofence_trigger_details_object_request_body.py +1 -1
  1275. samsara/types/outside_geofence_trigger_details_object_response_body.py +1 -1
  1276. samsara/types/pagination_response.py +4 -2
  1277. samsara/types/panic_button_details_object_request_body.py +1 -1
  1278. samsara/types/panic_button_details_object_response_body.py +1 -1
  1279. samsara/types/part_instance_input_object_request_body.py +2 -2
  1280. samsara/types/part_instance_object_response_body.py +2 -2
  1281. samsara/types/patch_asset_data_outputs_single_response_response_body.py +4 -2
  1282. samsara/types/patch_driver_trailer_assignments_response_body_response_body.py +6 -6
  1283. samsara/types/patch_driver_vehicle_assignments_v_2_request_body_metadata_request_body.py +1 -1
  1284. samsara/types/patch_job_object_request_body.py +7 -7
  1285. samsara/types/patch_response_workflow_configuration_object_response_body.py +8 -6
  1286. samsara/types/patch_shipping_docs_response_body_response_body.py +10 -10
  1287. samsara/types/pending_duty_status_durations_object_response_body.py +8 -8
  1288. samsara/types/person_detected_response_body.py +1 -1
  1289. samsara/types/plan_object_response_body.py +14 -3
  1290. samsara/types/plan_orders_create_plan_orders_bad_gateway_error_response_body.py +1 -1
  1291. samsara/types/plan_orders_create_plan_orders_gateway_timeout_error_response_body.py +1 -1
  1292. samsara/types/plan_orders_create_plan_orders_internal_server_error_response_body.py +1 -1
  1293. samsara/types/plan_orders_create_plan_orders_method_not_allowed_error_response_body.py +1 -1
  1294. samsara/types/plan_orders_create_plan_orders_not_found_error_response_body.py +1 -1
  1295. samsara/types/plan_orders_create_plan_orders_not_implemented_error_response_body.py +1 -1
  1296. samsara/types/plan_orders_create_plan_orders_service_unavailable_error_response_body.py +1 -1
  1297. samsara/types/plan_orders_create_plan_orders_too_many_requests_error_response_body.py +1 -1
  1298. samsara/types/plan_orders_create_plan_orders_unauthorized_error_response_body.py +1 -1
  1299. samsara/types/policy_violations_detection_alert_settings_object_response_body.py +5 -5
  1300. samsara/types/post_driver_trailer_assignments_response_body_response_body.py +9 -5
  1301. samsara/types/post_driver_vehicle_assignments_v_2_request_body_metadata_request_body.py +1 -1
  1302. samsara/types/post_fuel_purchase_response_body_response_body.py +1 -1
  1303. samsara/types/post_invoice_scan_response_data_response_body.py +30 -0
  1304. samsara/types/post_job_object_request_body.py +7 -7
  1305. samsara/types/post_media_retrieval_object_response_body.py +6 -2
  1306. samsara/types/post_response_res_workflow_configuration_object_response_body.py +8 -6
  1307. samsara/types/primary_time_range_request_body.py +36 -0
  1308. samsara/types/primary_time_range_response_body.py +36 -0
  1309. samsara/types/push_notification_options_object_request_body.py +1 -1
  1310. samsara/types/push_notification_options_object_response_body.py +1 -1
  1311. samsara/types/qr_code_response_object_response_body.py +2 -2
  1312. samsara/types/qualification_field_input_object_response_body.py +8 -8
  1313. samsara/types/qualification_owner_object_response_body.py +2 -2
  1314. samsara/types/qualification_owner_request_object_request_body.py +1 -1
  1315. samsara/types/qualification_record_request_field_input_object_request_body.py +8 -8
  1316. samsara/types/qualification_record_response_object_response_body.py +19 -9
  1317. samsara/types/qualification_type_reference_object_response_body.py +1 -1
  1318. samsara/types/qualification_type_response_object_response_body.py +16 -6
  1319. samsara/types/qualifications_archive_qualification_record_bad_gateway_error_response_body.py +1 -1
  1320. samsara/types/qualifications_archive_qualification_record_gateway_timeout_error_response_body.py +1 -1
  1321. samsara/types/qualifications_archive_qualification_record_internal_server_error_response_body.py +1 -1
  1322. samsara/types/qualifications_archive_qualification_record_method_not_allowed_error_response_body.py +1 -1
  1323. samsara/types/qualifications_archive_qualification_record_not_found_error_response_body.py +1 -1
  1324. samsara/types/qualifications_archive_qualification_record_not_implemented_error_response_body.py +1 -1
  1325. samsara/types/qualifications_archive_qualification_record_service_unavailable_error_response_body.py +1 -1
  1326. samsara/types/qualifications_archive_qualification_record_too_many_requests_error_response_body.py +1 -1
  1327. samsara/types/qualifications_archive_qualification_record_unauthorized_error_response_body.py +1 -1
  1328. samsara/types/qualifications_delete_qualification_record_bad_gateway_error_response_body.py +1 -1
  1329. samsara/types/qualifications_delete_qualification_record_gateway_timeout_error_response_body.py +1 -1
  1330. samsara/types/qualifications_delete_qualification_record_internal_server_error_response_body.py +1 -1
  1331. samsara/types/qualifications_delete_qualification_record_method_not_allowed_error_response_body.py +1 -1
  1332. samsara/types/qualifications_delete_qualification_record_not_found_error_response_body.py +1 -1
  1333. samsara/types/qualifications_delete_qualification_record_not_implemented_error_response_body.py +1 -1
  1334. samsara/types/qualifications_delete_qualification_record_service_unavailable_error_response_body.py +1 -1
  1335. samsara/types/qualifications_delete_qualification_record_too_many_requests_error_response_body.py +1 -1
  1336. samsara/types/qualifications_delete_qualification_record_unauthorized_error_response_body.py +1 -1
  1337. samsara/types/qualifications_get_qualification_records_bad_gateway_error_response_body.py +1 -1
  1338. samsara/types/qualifications_get_qualification_records_gateway_timeout_error_response_body.py +1 -1
  1339. samsara/types/qualifications_get_qualification_records_internal_server_error_response_body.py +1 -1
  1340. samsara/types/qualifications_get_qualification_records_method_not_allowed_error_response_body.py +1 -1
  1341. samsara/types/qualifications_get_qualification_records_not_found_error_response_body.py +1 -1
  1342. samsara/types/qualifications_get_qualification_records_not_implemented_error_response_body.py +1 -1
  1343. samsara/types/qualifications_get_qualification_records_service_unavailable_error_response_body.py +1 -1
  1344. samsara/types/qualifications_get_qualification_records_stream_bad_gateway_error_response_body.py +1 -1
  1345. samsara/types/qualifications_get_qualification_records_stream_gateway_timeout_error_response_body.py +1 -1
  1346. samsara/types/qualifications_get_qualification_records_stream_internal_server_error_response_body.py +1 -1
  1347. samsara/types/qualifications_get_qualification_records_stream_method_not_allowed_error_response_body.py +1 -1
  1348. samsara/types/qualifications_get_qualification_records_stream_not_found_error_response_body.py +1 -1
  1349. samsara/types/qualifications_get_qualification_records_stream_not_implemented_error_response_body.py +1 -1
  1350. samsara/types/qualifications_get_qualification_records_stream_service_unavailable_error_response_body.py +1 -1
  1351. samsara/types/qualifications_get_qualification_records_stream_too_many_requests_error_response_body.py +1 -1
  1352. samsara/types/qualifications_get_qualification_records_stream_unauthorized_error_response_body.py +1 -1
  1353. samsara/types/qualifications_get_qualification_records_too_many_requests_error_response_body.py +1 -1
  1354. samsara/types/qualifications_get_qualification_records_unauthorized_error_response_body.py +1 -1
  1355. samsara/types/qualifications_get_qualification_types_bad_gateway_error_response_body.py +1 -1
  1356. samsara/types/qualifications_get_qualification_types_gateway_timeout_error_response_body.py +1 -1
  1357. samsara/types/qualifications_get_qualification_types_internal_server_error_response_body.py +1 -1
  1358. samsara/types/qualifications_get_qualification_types_method_not_allowed_error_response_body.py +1 -1
  1359. samsara/types/qualifications_get_qualification_types_not_found_error_response_body.py +1 -1
  1360. samsara/types/qualifications_get_qualification_types_not_implemented_error_response_body.py +1 -1
  1361. samsara/types/qualifications_get_qualification_types_service_unavailable_error_response_body.py +1 -1
  1362. samsara/types/qualifications_get_qualification_types_too_many_requests_error_response_body.py +1 -1
  1363. samsara/types/qualifications_get_qualification_types_unauthorized_error_response_body.py +1 -1
  1364. samsara/types/qualifications_patch_qualification_record_bad_gateway_error_response_body.py +1 -1
  1365. samsara/types/qualifications_patch_qualification_record_gateway_timeout_error_response_body.py +1 -1
  1366. samsara/types/qualifications_patch_qualification_record_internal_server_error_response_body.py +1 -1
  1367. samsara/types/qualifications_patch_qualification_record_method_not_allowed_error_response_body.py +1 -1
  1368. samsara/types/qualifications_patch_qualification_record_not_found_error_response_body.py +1 -1
  1369. samsara/types/qualifications_patch_qualification_record_not_implemented_error_response_body.py +1 -1
  1370. samsara/types/qualifications_patch_qualification_record_service_unavailable_error_response_body.py +1 -1
  1371. samsara/types/qualifications_patch_qualification_record_too_many_requests_error_response_body.py +1 -1
  1372. samsara/types/qualifications_patch_qualification_record_unauthorized_error_response_body.py +1 -1
  1373. samsara/types/qualifications_post_qualification_record_bad_gateway_error_response_body.py +1 -1
  1374. samsara/types/qualifications_post_qualification_record_gateway_timeout_error_response_body.py +1 -1
  1375. samsara/types/qualifications_post_qualification_record_internal_server_error_response_body.py +1 -1
  1376. samsara/types/qualifications_post_qualification_record_method_not_allowed_error_response_body.py +1 -1
  1377. samsara/types/qualifications_post_qualification_record_not_found_error_response_body.py +1 -1
  1378. samsara/types/qualifications_post_qualification_record_not_implemented_error_response_body.py +1 -1
  1379. samsara/types/qualifications_post_qualification_record_service_unavailable_error_response_body.py +1 -1
  1380. samsara/types/qualifications_post_qualification_record_too_many_requests_error_response_body.py +1 -1
  1381. samsara/types/qualifications_post_qualification_record_unauthorized_error_response_body.py +1 -1
  1382. samsara/types/qualifications_unarchive_qualification_record_bad_gateway_error_response_body.py +1 -1
  1383. samsara/types/qualifications_unarchive_qualification_record_gateway_timeout_error_response_body.py +1 -1
  1384. samsara/types/qualifications_unarchive_qualification_record_internal_server_error_response_body.py +1 -1
  1385. samsara/types/qualifications_unarchive_qualification_record_method_not_allowed_error_response_body.py +1 -1
  1386. samsara/types/qualifications_unarchive_qualification_record_not_found_error_response_body.py +1 -1
  1387. samsara/types/qualifications_unarchive_qualification_record_not_implemented_error_response_body.py +1 -1
  1388. samsara/types/qualifications_unarchive_qualification_record_service_unavailable_error_response_body.py +1 -1
  1389. samsara/types/qualifications_unarchive_qualification_record_too_many_requests_error_response_body.py +1 -1
  1390. samsara/types/qualifications_unarchive_qualification_record_unauthorized_error_response_body.py +1 -1
  1391. samsara/types/quantity_object_response_body.py +3 -1
  1392. samsara/types/reading_datapoint_request_body.py +6 -4
  1393. samsara/types/reading_definition_response_body.py +12 -6
  1394. samsara/types/reading_history_response_body.py +3 -3
  1395. samsara/types/reading_snapshot_response_body.py +4 -4
  1396. samsara/types/reading_trigger_continuous_value_object_request_body.py +2 -2
  1397. samsara/types/reading_trigger_continuous_value_object_request_body_unit.py +10 -0
  1398. samsara/types/reading_trigger_continuous_value_object_response_body.py +2 -2
  1399. samsara/types/reading_trigger_continuous_value_object_response_body_unit.py +10 -0
  1400. samsara/types/reading_trigger_details_object_request_body.py +6 -4
  1401. samsara/types/reading_trigger_details_object_response_body.py +6 -4
  1402. samsara/types/reading_trigger_details_response_body.py +2 -2
  1403. samsara/types/readings_get_readings_history_bad_gateway_error_response_body.py +1 -1
  1404. samsara/types/readings_get_readings_history_gateway_timeout_error_response_body.py +1 -1
  1405. samsara/types/readings_get_readings_history_internal_server_error_response_body.py +1 -1
  1406. samsara/types/readings_get_readings_history_method_not_allowed_error_response_body.py +1 -1
  1407. samsara/types/readings_get_readings_history_not_found_error_response_body.py +1 -1
  1408. samsara/types/readings_get_readings_history_not_implemented_error_response_body.py +1 -1
  1409. samsara/types/readings_get_readings_history_service_unavailable_error_response_body.py +1 -1
  1410. samsara/types/readings_get_readings_history_too_many_requests_error_response_body.py +1 -1
  1411. samsara/types/readings_get_readings_history_unauthorized_error_response_body.py +1 -1
  1412. samsara/types/readings_get_readings_snapshot_bad_gateway_error_response_body.py +1 -1
  1413. samsara/types/readings_get_readings_snapshot_gateway_timeout_error_response_body.py +1 -1
  1414. samsara/types/readings_get_readings_snapshot_internal_server_error_response_body.py +1 -1
  1415. samsara/types/readings_get_readings_snapshot_method_not_allowed_error_response_body.py +1 -1
  1416. samsara/types/readings_get_readings_snapshot_not_found_error_response_body.py +1 -1
  1417. samsara/types/readings_get_readings_snapshot_not_implemented_error_response_body.py +1 -1
  1418. samsara/types/readings_get_readings_snapshot_service_unavailable_error_response_body.py +1 -1
  1419. samsara/types/readings_get_readings_snapshot_too_many_requests_error_response_body.py +1 -1
  1420. samsara/types/readings_get_readings_snapshot_unauthorized_error_response_body.py +1 -1
  1421. samsara/types/readings_list_readings_definitions_bad_gateway_error_response_body.py +1 -1
  1422. samsara/types/readings_list_readings_definitions_gateway_timeout_error_response_body.py +1 -1
  1423. samsara/types/readings_list_readings_definitions_internal_server_error_response_body.py +1 -1
  1424. samsara/types/readings_list_readings_definitions_method_not_allowed_error_response_body.py +1 -1
  1425. samsara/types/readings_list_readings_definitions_not_found_error_response_body.py +1 -1
  1426. samsara/types/readings_list_readings_definitions_not_implemented_error_response_body.py +1 -1
  1427. samsara/types/readings_list_readings_definitions_service_unavailable_error_response_body.py +1 -1
  1428. samsara/types/readings_list_readings_definitions_too_many_requests_error_response_body.py +1 -1
  1429. samsara/types/readings_list_readings_definitions_unauthorized_error_response_body.py +1 -1
  1430. samsara/types/readings_post_readings_bad_gateway_error_response_body.py +1 -1
  1431. samsara/types/readings_post_readings_gateway_timeout_error_response_body.py +1 -1
  1432. samsara/types/readings_post_readings_internal_server_error_response_body.py +1 -1
  1433. samsara/types/readings_post_readings_method_not_allowed_error_response_body.py +1 -1
  1434. samsara/types/readings_post_readings_not_found_error_response_body.py +1 -1
  1435. samsara/types/readings_post_readings_not_implemented_error_response_body.py +1 -1
  1436. samsara/types/readings_post_readings_service_unavailable_error_response_body.py +1 -1
  1437. samsara/types/readings_post_readings_too_many_requests_error_response_body.py +1 -1
  1438. samsara/types/readings_post_readings_unauthorized_error_response_body.py +1 -1
  1439. samsara/types/recipient_object_request_body.py +4 -4
  1440. samsara/types/recipient_object_response_body.py +4 -4
  1441. samsara/types/report_columns_object_response_body.py +38 -0
  1442. samsara/types/report_columns_object_response_body_data_type.py +7 -0
  1443. samsara/types/report_columns_object_response_body_unit.py +88 -0
  1444. samsara/types/report_config_object_response_body.py +42 -0
  1445. samsara/types/report_run_object_response_body.py +49 -0
  1446. samsara/types/report_run_object_response_body_status.py +7 -0
  1447. samsara/types/reports_create_report_run_bad_gateway_error_response_body.py +33 -0
  1448. samsara/types/reports_create_report_run_gateway_timeout_error_response_body.py +33 -0
  1449. samsara/types/reports_create_report_run_internal_server_error_response_body.py +33 -0
  1450. samsara/types/reports_create_report_run_method_not_allowed_error_response_body.py +33 -0
  1451. samsara/types/reports_create_report_run_not_found_error_response_body.py +33 -0
  1452. samsara/types/reports_create_report_run_not_implemented_error_response_body.py +33 -0
  1453. samsara/types/reports_create_report_run_response_body.py +20 -0
  1454. samsara/types/reports_create_report_run_service_unavailable_error_response_body.py +33 -0
  1455. samsara/types/reports_create_report_run_too_many_requests_error_response_body.py +33 -0
  1456. samsara/types/reports_create_report_run_unauthorized_error_response_body.py +33 -0
  1457. samsara/types/reports_dataset_field_response_body.py +49 -0
  1458. samsara/types/reports_dataset_field_response_body_data_type.py +7 -0
  1459. samsara/types/reports_dataset_field_response_body_unit.py +88 -0
  1460. samsara/types/reports_dataset_response_body.py +55 -0
  1461. samsara/types/reports_get_datasets_bad_gateway_error_response_body.py +33 -0
  1462. samsara/types/reports_get_datasets_gateway_timeout_error_response_body.py +33 -0
  1463. samsara/types/reports_get_datasets_internal_server_error_response_body.py +33 -0
  1464. samsara/types/reports_get_datasets_method_not_allowed_error_response_body.py +33 -0
  1465. samsara/types/reports_get_datasets_not_found_error_response_body.py +33 -0
  1466. samsara/types/reports_get_datasets_not_implemented_error_response_body.py +33 -0
  1467. samsara/types/reports_get_datasets_response_body.py +26 -0
  1468. samsara/types/reports_get_datasets_service_unavailable_error_response_body.py +33 -0
  1469. samsara/types/reports_get_datasets_too_many_requests_error_response_body.py +33 -0
  1470. samsara/types/reports_get_datasets_unauthorized_error_response_body.py +33 -0
  1471. samsara/types/reports_get_report_configs_bad_gateway_error_response_body.py +33 -0
  1472. samsara/types/reports_get_report_configs_gateway_timeout_error_response_body.py +33 -0
  1473. samsara/types/reports_get_report_configs_internal_server_error_response_body.py +33 -0
  1474. samsara/types/reports_get_report_configs_method_not_allowed_error_response_body.py +33 -0
  1475. samsara/types/reports_get_report_configs_not_found_error_response_body.py +33 -0
  1476. samsara/types/reports_get_report_configs_not_implemented_error_response_body.py +33 -0
  1477. samsara/types/reports_get_report_configs_response_body.py +26 -0
  1478. samsara/types/reports_get_report_configs_service_unavailable_error_response_body.py +33 -0
  1479. samsara/types/reports_get_report_configs_too_many_requests_error_response_body.py +33 -0
  1480. samsara/types/reports_get_report_configs_unauthorized_error_response_body.py +33 -0
  1481. samsara/types/reports_get_report_run_data_bad_gateway_error_response_body.py +33 -0
  1482. samsara/types/reports_get_report_run_data_gateway_timeout_error_response_body.py +33 -0
  1483. samsara/types/reports_get_report_run_data_internal_server_error_response_body.py +33 -0
  1484. samsara/types/reports_get_report_run_data_method_not_allowed_error_response_body.py +33 -0
  1485. samsara/types/reports_get_report_run_data_not_found_error_response_body.py +33 -0
  1486. samsara/types/reports_get_report_run_data_not_implemented_error_response_body.py +33 -0
  1487. samsara/types/reports_get_report_run_data_response_body.py +22 -0
  1488. samsara/types/reports_get_report_run_data_service_unavailable_error_response_body.py +33 -0
  1489. samsara/types/reports_get_report_run_data_too_many_requests_error_response_body.py +33 -0
  1490. samsara/types/reports_get_report_run_data_unauthorized_error_response_body.py +33 -0
  1491. samsara/types/reports_get_report_runs_bad_gateway_error_response_body.py +33 -0
  1492. samsara/types/reports_get_report_runs_gateway_timeout_error_response_body.py +33 -0
  1493. samsara/types/reports_get_report_runs_internal_server_error_response_body.py +33 -0
  1494. samsara/types/reports_get_report_runs_method_not_allowed_error_response_body.py +33 -0
  1495. samsara/types/reports_get_report_runs_not_found_error_response_body.py +33 -0
  1496. samsara/types/reports_get_report_runs_not_implemented_error_response_body.py +33 -0
  1497. samsara/types/reports_get_report_runs_response_body.py +26 -0
  1498. samsara/types/reports_get_report_runs_service_unavailable_error_response_body.py +33 -0
  1499. samsara/types/reports_get_report_runs_too_many_requests_error_response_body.py +33 -0
  1500. samsara/types/reports_get_report_runs_unauthorized_error_response_body.py +33 -0
  1501. samsara/types/reverse_geo.py +1 -1
  1502. samsara/types/reverse_geo_object_response_body.py +1 -1
  1503. samsara/types/rolling_stop_detection_alert_settings_object_response_body.py +2 -2
  1504. samsara/types/route_event_details_response_body.py +3 -3
  1505. samsara/types/route_event_response_response_body.py +8 -4
  1506. samsara/types/route_event_route_response_response_body.py +1 -1
  1507. samsara/types/route_event_stop_response_response_body.py +1 -1
  1508. samsara/types/route_object_response_body.py +20 -12
  1509. samsara/types/route_settings_request_body.py +3 -3
  1510. samsara/types/route_settings_response_body.py +3 -3
  1511. samsara/types/route_stop_details_object_response_body.py +1 -1
  1512. samsara/types/route_stop_estimated_arrival_details_object_request_body.py +3 -3
  1513. samsara/types/route_stop_estimated_arrival_details_object_response_body.py +3 -3
  1514. samsara/types/route_stop_object_response_body.py +4 -4
  1515. samsara/types/routes_create_route_bad_gateway_error_response_body.py +1 -1
  1516. samsara/types/routes_create_route_gateway_timeout_error_response_body.py +1 -1
  1517. samsara/types/routes_create_route_internal_server_error_response_body.py +1 -1
  1518. samsara/types/routes_create_route_method_not_allowed_error_response_body.py +1 -1
  1519. samsara/types/routes_create_route_not_found_error_response_body.py +1 -1
  1520. samsara/types/routes_create_route_not_implemented_error_response_body.py +1 -1
  1521. samsara/types/routes_create_route_service_unavailable_error_response_body.py +1 -1
  1522. samsara/types/routes_create_route_too_many_requests_error_response_body.py +1 -1
  1523. samsara/types/routes_create_route_unauthorized_error_response_body.py +1 -1
  1524. samsara/types/routes_delete_route_bad_gateway_error_response_body.py +1 -1
  1525. samsara/types/routes_delete_route_gateway_timeout_error_response_body.py +1 -1
  1526. samsara/types/routes_delete_route_internal_server_error_response_body.py +1 -1
  1527. samsara/types/routes_delete_route_method_not_allowed_error_response_body.py +1 -1
  1528. samsara/types/routes_delete_route_not_found_error_response_body.py +1 -1
  1529. samsara/types/routes_delete_route_not_implemented_error_response_body.py +1 -1
  1530. samsara/types/routes_delete_route_service_unavailable_error_response_body.py +1 -1
  1531. samsara/types/routes_delete_route_too_many_requests_error_response_body.py +1 -1
  1532. samsara/types/routes_delete_route_unauthorized_error_response_body.py +1 -1
  1533. samsara/types/routes_fetch_route_bad_gateway_error_response_body.py +1 -1
  1534. samsara/types/routes_fetch_route_gateway_timeout_error_response_body.py +1 -1
  1535. samsara/types/routes_fetch_route_internal_server_error_response_body.py +1 -1
  1536. samsara/types/routes_fetch_route_method_not_allowed_error_response_body.py +1 -1
  1537. samsara/types/routes_fetch_route_not_found_error_response_body.py +1 -1
  1538. samsara/types/routes_fetch_route_not_implemented_error_response_body.py +1 -1
  1539. samsara/types/routes_fetch_route_service_unavailable_error_response_body.py +1 -1
  1540. samsara/types/routes_fetch_route_too_many_requests_error_response_body.py +1 -1
  1541. samsara/types/routes_fetch_route_unauthorized_error_response_body.py +1 -1
  1542. samsara/types/routes_fetch_routes_bad_gateway_error_response_body.py +1 -1
  1543. samsara/types/routes_fetch_routes_gateway_timeout_error_response_body.py +1 -1
  1544. samsara/types/routes_fetch_routes_internal_server_error_response_body.py +1 -1
  1545. samsara/types/routes_fetch_routes_method_not_allowed_error_response_body.py +1 -1
  1546. samsara/types/routes_fetch_routes_not_found_error_response_body.py +1 -1
  1547. samsara/types/routes_fetch_routes_not_implemented_error_response_body.py +1 -1
  1548. samsara/types/routes_fetch_routes_service_unavailable_error_response_body.py +1 -1
  1549. samsara/types/routes_fetch_routes_too_many_requests_error_response_body.py +1 -1
  1550. samsara/types/routes_fetch_routes_unauthorized_error_response_body.py +1 -1
  1551. samsara/types/routes_get_route_events_stream_bad_gateway_error_response_body.py +1 -1
  1552. samsara/types/routes_get_route_events_stream_gateway_timeout_error_response_body.py +1 -1
  1553. samsara/types/routes_get_route_events_stream_internal_server_error_response_body.py +1 -1
  1554. samsara/types/routes_get_route_events_stream_method_not_allowed_error_response_body.py +1 -1
  1555. samsara/types/routes_get_route_events_stream_not_found_error_response_body.py +1 -1
  1556. samsara/types/routes_get_route_events_stream_not_implemented_error_response_body.py +1 -1
  1557. samsara/types/routes_get_route_events_stream_service_unavailable_error_response_body.py +1 -1
  1558. samsara/types/routes_get_route_events_stream_too_many_requests_error_response_body.py +1 -1
  1559. samsara/types/routes_get_route_events_stream_unauthorized_error_response_body.py +1 -1
  1560. samsara/types/routes_get_routes_feed_bad_gateway_error_response_body.py +1 -1
  1561. samsara/types/routes_get_routes_feed_gateway_timeout_error_response_body.py +1 -1
  1562. samsara/types/routes_get_routes_feed_internal_server_error_response_body.py +1 -1
  1563. samsara/types/routes_get_routes_feed_method_not_allowed_error_response_body.py +1 -1
  1564. samsara/types/routes_get_routes_feed_not_found_error_response_body.py +1 -1
  1565. samsara/types/routes_get_routes_feed_not_implemented_error_response_body.py +1 -1
  1566. samsara/types/routes_get_routes_feed_service_unavailable_error_response_body.py +1 -1
  1567. samsara/types/routes_get_routes_feed_too_many_requests_error_response_body.py +1 -1
  1568. samsara/types/routes_get_routes_feed_unauthorized_error_response_body.py +1 -1
  1569. samsara/types/routes_patch_route_bad_gateway_error_response_body.py +1 -1
  1570. samsara/types/routes_patch_route_gateway_timeout_error_response_body.py +1 -1
  1571. samsara/types/routes_patch_route_internal_server_error_response_body.py +1 -1
  1572. samsara/types/routes_patch_route_method_not_allowed_error_response_body.py +1 -1
  1573. samsara/types/routes_patch_route_not_found_error_response_body.py +1 -1
  1574. samsara/types/routes_patch_route_not_implemented_error_response_body.py +1 -1
  1575. samsara/types/routes_patch_route_service_unavailable_error_response_body.py +1 -1
  1576. samsara/types/routes_patch_route_too_many_requests_error_response_body.py +1 -1
  1577. samsara/types/routes_patch_route_unauthorized_error_response_body.py +1 -1
  1578. samsara/types/routes_single_use_address_object_request_body.py +1 -1
  1579. samsara/types/routes_single_use_address_object_response_body.py +1 -1
  1580. samsara/types/routes_stop_response_object_response_body.py +27 -13
  1581. samsara/types/safety_behavior_trigger_details_object_request_body.py +61 -0
  1582. samsara/types/safety_behavior_trigger_details_object_request_body_behaviors_item.py +86 -0
  1583. samsara/types/safety_behavior_trigger_details_object_request_body_severities_item.py +7 -0
  1584. samsara/types/safety_behavior_trigger_details_object_request_body_statuses_item.py +7 -0
  1585. samsara/types/safety_behavior_trigger_details_object_response_body.py +61 -0
  1586. samsara/types/safety_behavior_trigger_details_object_response_body_behaviors_item.py +86 -0
  1587. samsara/types/safety_behavior_trigger_details_object_response_body_severities_item.py +7 -0
  1588. samsara/types/safety_behavior_trigger_details_object_response_body_statuses_item.py +7 -0
  1589. samsara/types/safety_event.py +12 -12
  1590. samsara/types/safety_event_activity_feed_item_response_body.py +3 -1
  1591. samsara/types/safety_event_behavior_labels_response_body.py +1 -1
  1592. samsara/types/safety_event_behavior_labels_response_body_type.py +3 -0
  1593. samsara/types/safety_event_object_response_body.py +1 -1
  1594. samsara/types/safety_event_speeding_metadata_response_body.py +37 -0
  1595. samsara/types/safety_event_v_2_asset_object_response_body.py +1 -1
  1596. samsara/types/safety_event_v_2_behavior_labels_response_body.py +1 -1
  1597. samsara/types/safety_event_v_2_behavior_labels_response_body_label.py +3 -0
  1598. samsara/types/safety_event_v_2_context_labels_response_body.py +4 -2
  1599. samsara/types/safety_event_v_2_driver_object_response_body.py +2 -2
  1600. samsara/types/safety_event_v_2_media_response_body.py +49 -0
  1601. samsara/types/safety_event_v_2_media_response_body_camera_role.py +28 -0
  1602. samsara/types/safety_event_v_2_media_response_body_input.py +7 -0
  1603. samsara/types/safety_event_v_2_object_response_body.py +45 -27
  1604. samsara/types/safety_events_get_safety_activity_event_feed_bad_gateway_error_response_body.py +1 -1
  1605. samsara/types/safety_events_get_safety_activity_event_feed_gateway_timeout_error_response_body.py +1 -1
  1606. samsara/types/safety_events_get_safety_activity_event_feed_internal_server_error_response_body.py +1 -1
  1607. samsara/types/safety_events_get_safety_activity_event_feed_method_not_allowed_error_response_body.py +1 -1
  1608. samsara/types/safety_events_get_safety_activity_event_feed_not_found_error_response_body.py +1 -1
  1609. samsara/types/safety_events_get_safety_activity_event_feed_not_implemented_error_response_body.py +1 -1
  1610. samsara/types/safety_events_get_safety_activity_event_feed_service_unavailable_error_response_body.py +1 -1
  1611. samsara/types/safety_events_get_safety_activity_event_feed_too_many_requests_error_response_body.py +1 -1
  1612. samsara/types/safety_events_get_safety_activity_event_feed_unauthorized_error_response_body.py +1 -1
  1613. samsara/types/safety_events_v_2_get_safety_events_v_2_bad_gateway_error_response_body.py +1 -1
  1614. samsara/types/safety_events_v_2_get_safety_events_v_2_gateway_timeout_error_response_body.py +1 -1
  1615. samsara/types/safety_events_v_2_get_safety_events_v_2_internal_server_error_response_body.py +1 -1
  1616. samsara/types/safety_events_v_2_get_safety_events_v_2_method_not_allowed_error_response_body.py +1 -1
  1617. samsara/types/safety_events_v_2_get_safety_events_v_2_not_found_error_response_body.py +1 -1
  1618. samsara/types/safety_events_v_2_get_safety_events_v_2_not_implemented_error_response_body.py +1 -1
  1619. samsara/types/safety_events_v_2_get_safety_events_v_2_service_unavailable_error_response_body.py +1 -1
  1620. samsara/types/safety_events_v_2_get_safety_events_v_2_stream_bad_gateway_error_response_body.py +1 -1
  1621. samsara/types/safety_events_v_2_get_safety_events_v_2_stream_gateway_timeout_error_response_body.py +1 -1
  1622. samsara/types/safety_events_v_2_get_safety_events_v_2_stream_internal_server_error_response_body.py +1 -1
  1623. samsara/types/safety_events_v_2_get_safety_events_v_2_stream_method_not_allowed_error_response_body.py +1 -1
  1624. samsara/types/safety_events_v_2_get_safety_events_v_2_stream_not_found_error_response_body.py +1 -1
  1625. samsara/types/safety_events_v_2_get_safety_events_v_2_stream_not_implemented_error_response_body.py +1 -1
  1626. samsara/types/safety_events_v_2_get_safety_events_v_2_stream_service_unavailable_error_response_body.py +1 -1
  1627. samsara/types/safety_events_v_2_get_safety_events_v_2_stream_too_many_requests_error_response_body.py +1 -1
  1628. samsara/types/safety_events_v_2_get_safety_events_v_2_stream_unauthorized_error_response_body.py +1 -1
  1629. samsara/types/safety_events_v_2_get_safety_events_v_2_too_many_requests_error_response_body.py +1 -1
  1630. samsara/types/safety_events_v_2_get_safety_events_v_2_unauthorized_error_response_body.py +1 -1
  1631. samsara/types/safety_score_behavior_object_response_body.py +4 -2
  1632. samsara/types/safety_score_configuration_settings_object_response_body.py +30 -30
  1633. samsara/types/safety_score_details_request_body.py +32 -0
  1634. samsara/types/safety_score_details_request_body_comparison.py +8 -0
  1635. samsara/types/safety_score_details_response_body.py +32 -0
  1636. samsara/types/safety_score_details_response_body_comparison.py +8 -0
  1637. samsara/types/safety_score_speeding_object_response_body.py +5 -3
  1638. samsara/types/safety_scores_get_driver_safety_score_trips_bad_gateway_error_response_body.py +1 -1
  1639. samsara/types/safety_scores_get_driver_safety_score_trips_gateway_timeout_error_response_body.py +1 -1
  1640. samsara/types/safety_scores_get_driver_safety_score_trips_internal_server_error_response_body.py +1 -1
  1641. samsara/types/safety_scores_get_driver_safety_score_trips_method_not_allowed_error_response_body.py +1 -1
  1642. samsara/types/safety_scores_get_driver_safety_score_trips_not_found_error_response_body.py +1 -1
  1643. samsara/types/safety_scores_get_driver_safety_score_trips_not_implemented_error_response_body.py +1 -1
  1644. samsara/types/safety_scores_get_driver_safety_score_trips_service_unavailable_error_response_body.py +1 -1
  1645. samsara/types/safety_scores_get_driver_safety_score_trips_too_many_requests_error_response_body.py +1 -1
  1646. samsara/types/safety_scores_get_driver_safety_score_trips_unauthorized_error_response_body.py +1 -1
  1647. samsara/types/safety_scores_get_driver_safety_scores_bad_gateway_error_response_body.py +1 -1
  1648. samsara/types/safety_scores_get_driver_safety_scores_gateway_timeout_error_response_body.py +1 -1
  1649. samsara/types/safety_scores_get_driver_safety_scores_internal_server_error_response_body.py +1 -1
  1650. samsara/types/safety_scores_get_driver_safety_scores_method_not_allowed_error_response_body.py +1 -1
  1651. samsara/types/safety_scores_get_driver_safety_scores_not_found_error_response_body.py +1 -1
  1652. samsara/types/safety_scores_get_driver_safety_scores_not_implemented_error_response_body.py +1 -1
  1653. samsara/types/safety_scores_get_driver_safety_scores_service_unavailable_error_response_body.py +1 -1
  1654. samsara/types/safety_scores_get_driver_safety_scores_too_many_requests_error_response_body.py +1 -1
  1655. samsara/types/safety_scores_get_driver_safety_scores_unauthorized_error_response_body.py +1 -1
  1656. samsara/types/safety_scores_get_tag_group_safety_scores_bad_gateway_error_response_body.py +1 -1
  1657. samsara/types/safety_scores_get_tag_group_safety_scores_gateway_timeout_error_response_body.py +1 -1
  1658. samsara/types/safety_scores_get_tag_group_safety_scores_internal_server_error_response_body.py +1 -1
  1659. samsara/types/safety_scores_get_tag_group_safety_scores_method_not_allowed_error_response_body.py +1 -1
  1660. samsara/types/safety_scores_get_tag_group_safety_scores_not_found_error_response_body.py +1 -1
  1661. samsara/types/safety_scores_get_tag_group_safety_scores_not_implemented_error_response_body.py +1 -1
  1662. samsara/types/safety_scores_get_tag_group_safety_scores_service_unavailable_error_response_body.py +1 -1
  1663. samsara/types/safety_scores_get_tag_group_safety_scores_too_many_requests_error_response_body.py +1 -1
  1664. samsara/types/safety_scores_get_tag_group_safety_scores_unauthorized_error_response_body.py +1 -1
  1665. samsara/types/safety_scores_get_tag_safety_scores_bad_gateway_error_response_body.py +1 -1
  1666. samsara/types/safety_scores_get_tag_safety_scores_gateway_timeout_error_response_body.py +1 -1
  1667. samsara/types/safety_scores_get_tag_safety_scores_internal_server_error_response_body.py +1 -1
  1668. samsara/types/safety_scores_get_tag_safety_scores_method_not_allowed_error_response_body.py +1 -1
  1669. samsara/types/safety_scores_get_tag_safety_scores_not_found_error_response_body.py +1 -1
  1670. samsara/types/safety_scores_get_tag_safety_scores_not_implemented_error_response_body.py +1 -1
  1671. samsara/types/safety_scores_get_tag_safety_scores_service_unavailable_error_response_body.py +1 -1
  1672. samsara/types/safety_scores_get_tag_safety_scores_too_many_requests_error_response_body.py +1 -1
  1673. samsara/types/safety_scores_get_tag_safety_scores_unauthorized_error_response_body.py +1 -1
  1674. samsara/types/safety_scores_get_vehicle_safety_score_trips_bad_gateway_error_response_body.py +1 -1
  1675. samsara/types/safety_scores_get_vehicle_safety_score_trips_gateway_timeout_error_response_body.py +1 -1
  1676. samsara/types/safety_scores_get_vehicle_safety_score_trips_internal_server_error_response_body.py +1 -1
  1677. samsara/types/safety_scores_get_vehicle_safety_score_trips_method_not_allowed_error_response_body.py +1 -1
  1678. samsara/types/safety_scores_get_vehicle_safety_score_trips_not_found_error_response_body.py +1 -1
  1679. samsara/types/safety_scores_get_vehicle_safety_score_trips_not_implemented_error_response_body.py +1 -1
  1680. samsara/types/safety_scores_get_vehicle_safety_score_trips_service_unavailable_error_response_body.py +1 -1
  1681. samsara/types/safety_scores_get_vehicle_safety_score_trips_too_many_requests_error_response_body.py +1 -1
  1682. samsara/types/safety_scores_get_vehicle_safety_score_trips_unauthorized_error_response_body.py +1 -1
  1683. samsara/types/safety_scores_get_vehicle_safety_scores_bad_gateway_error_response_body.py +1 -1
  1684. samsara/types/safety_scores_get_vehicle_safety_scores_gateway_timeout_error_response_body.py +1 -1
  1685. samsara/types/safety_scores_get_vehicle_safety_scores_internal_server_error_response_body.py +1 -1
  1686. samsara/types/safety_scores_get_vehicle_safety_scores_method_not_allowed_error_response_body.py +1 -1
  1687. samsara/types/safety_scores_get_vehicle_safety_scores_not_found_error_response_body.py +1 -1
  1688. samsara/types/safety_scores_get_vehicle_safety_scores_not_implemented_error_response_body.py +1 -1
  1689. samsara/types/safety_scores_get_vehicle_safety_scores_service_unavailable_error_response_body.py +1 -1
  1690. samsara/types/safety_scores_get_vehicle_safety_scores_too_many_requests_error_response_body.py +1 -1
  1691. samsara/types/safety_scores_get_vehicle_safety_scores_unauthorized_error_response_body.py +1 -1
  1692. samsara/types/safety_settings_get_safety_settings_bad_gateway_error_response_body.py +1 -1
  1693. samsara/types/safety_settings_get_safety_settings_gateway_timeout_error_response_body.py +1 -1
  1694. samsara/types/safety_settings_get_safety_settings_internal_server_error_response_body.py +1 -1
  1695. samsara/types/safety_settings_get_safety_settings_method_not_allowed_error_response_body.py +1 -1
  1696. samsara/types/safety_settings_get_safety_settings_not_found_error_response_body.py +1 -1
  1697. samsara/types/safety_settings_get_safety_settings_not_implemented_error_response_body.py +1 -1
  1698. samsara/types/safety_settings_get_safety_settings_service_unavailable_error_response_body.py +1 -1
  1699. samsara/types/safety_settings_get_safety_settings_too_many_requests_error_response_body.py +1 -1
  1700. samsara/types/safety_settings_get_safety_settings_unauthorized_error_response_body.py +1 -1
  1701. samsara/types/safety_settings_object_response_body.py +14 -12
  1702. samsara/types/scheduled_maintenance_by_engine_hours_details_object_request_body.py +6 -2
  1703. samsara/types/scheduled_maintenance_by_engine_hours_details_object_response_body.py +6 -2
  1704. samsara/types/scheduled_maintenance_odometer_trigger_details_object_request_body.py +6 -2
  1705. samsara/types/scheduled_maintenance_odometer_trigger_details_object_response_body.py +6 -2
  1706. samsara/types/scheduled_maintenance_trigger_details_object_request_body.py +4 -2
  1707. samsara/types/scheduled_maintenance_trigger_details_object_response_body.py +4 -2
  1708. samsara/types/scope_object_request_body.py +1 -1
  1709. samsara/types/scope_object_response_body.py +1 -1
  1710. samsara/types/service_task_definition_object_response_body.py +2 -2
  1711. samsara/types/service_task_instance_input_object_request_body.py +6 -4
  1712. samsara/types/service_task_instance_object_response_body.py +6 -4
  1713. samsara/types/service_window_object_response_body.py +5 -3
  1714. samsara/types/settings_compliance_response_object_response_body.py +10 -10
  1715. samsara/types/settings_get_compliance_settings_bad_gateway_error_response_body.py +1 -1
  1716. samsara/types/settings_get_compliance_settings_gateway_timeout_error_response_body.py +1 -1
  1717. samsara/types/settings_get_compliance_settings_internal_server_error_response_body.py +1 -1
  1718. samsara/types/settings_get_compliance_settings_method_not_allowed_error_response_body.py +1 -1
  1719. samsara/types/settings_get_compliance_settings_not_found_error_response_body.py +1 -1
  1720. samsara/types/settings_get_compliance_settings_not_implemented_error_response_body.py +1 -1
  1721. samsara/types/settings_get_compliance_settings_service_unavailable_error_response_body.py +1 -1
  1722. samsara/types/settings_get_compliance_settings_too_many_requests_error_response_body.py +1 -1
  1723. samsara/types/settings_get_compliance_settings_unauthorized_error_response_body.py +1 -1
  1724. samsara/types/settings_get_driver_app_settings_bad_gateway_error_response_body.py +1 -1
  1725. samsara/types/settings_get_driver_app_settings_gateway_timeout_error_response_body.py +1 -1
  1726. samsara/types/settings_get_driver_app_settings_internal_server_error_response_body.py +1 -1
  1727. samsara/types/settings_get_driver_app_settings_method_not_allowed_error_response_body.py +1 -1
  1728. samsara/types/settings_get_driver_app_settings_not_found_error_response_body.py +1 -1
  1729. samsara/types/settings_get_driver_app_settings_not_implemented_error_response_body.py +1 -1
  1730. samsara/types/settings_get_driver_app_settings_service_unavailable_error_response_body.py +1 -1
  1731. samsara/types/settings_get_driver_app_settings_too_many_requests_error_response_body.py +1 -1
  1732. samsara/types/settings_get_driver_app_settings_unauthorized_error_response_body.py +1 -1
  1733. samsara/types/settings_patch_compliance_settings_bad_gateway_error_response_body.py +1 -1
  1734. samsara/types/settings_patch_compliance_settings_gateway_timeout_error_response_body.py +1 -1
  1735. samsara/types/settings_patch_compliance_settings_internal_server_error_response_body.py +1 -1
  1736. samsara/types/settings_patch_compliance_settings_method_not_allowed_error_response_body.py +1 -1
  1737. samsara/types/settings_patch_compliance_settings_not_found_error_response_body.py +1 -1
  1738. samsara/types/settings_patch_compliance_settings_not_implemented_error_response_body.py +1 -1
  1739. samsara/types/settings_patch_compliance_settings_service_unavailable_error_response_body.py +1 -1
  1740. samsara/types/settings_patch_compliance_settings_too_many_requests_error_response_body.py +1 -1
  1741. samsara/types/settings_patch_compliance_settings_unauthorized_error_response_body.py +1 -1
  1742. samsara/types/settings_patch_driver_app_settings_bad_gateway_error_response_body.py +1 -1
  1743. samsara/types/settings_patch_driver_app_settings_gateway_timeout_error_response_body.py +1 -1
  1744. samsara/types/settings_patch_driver_app_settings_internal_server_error_response_body.py +1 -1
  1745. samsara/types/settings_patch_driver_app_settings_method_not_allowed_error_response_body.py +1 -1
  1746. samsara/types/settings_patch_driver_app_settings_not_found_error_response_body.py +1 -1
  1747. samsara/types/settings_patch_driver_app_settings_not_implemented_error_response_body.py +1 -1
  1748. samsara/types/settings_patch_driver_app_settings_service_unavailable_error_response_body.py +1 -1
  1749. samsara/types/settings_patch_driver_app_settings_too_many_requests_error_response_body.py +1 -1
  1750. samsara/types/settings_patch_driver_app_settings_unauthorized_error_response_body.py +1 -1
  1751. samsara/types/settings_response_body.py +1 -1
  1752. samsara/types/severe_speeding_started_object_response_body.py +2 -2
  1753. samsara/types/signature_field_type_meta_data_object_response_body.py +1 -1
  1754. samsara/types/signature_value_object_request_body.py +1 -1
  1755. samsara/types/signature_value_object_response_body.py +1 -1
  1756. samsara/types/single_approval_requirements_object_response_body.py +3 -1
  1757. samsara/types/single_driver_efficiency_by_driver_data_object_response_body.py +5 -5
  1758. samsara/types/single_driver_efficiency_by_vehicle_data_object_response_body.py +5 -5
  1759. samsara/types/specific_vehicle_fault_code_object_request_body.py +1 -1
  1760. samsara/types/specific_vehicle_fault_code_object_response_body.py +1 -1
  1761. samsara/types/speed_data_response_body.py +3 -3
  1762. samsara/types/speed_response_response_body.py +2 -2
  1763. samsara/types/speed_trigger_details_object_request_body.py +2 -2
  1764. samsara/types/speed_trigger_details_object_response_body.py +2 -2
  1765. samsara/types/speeding_interval_location_response_response_body.py +4 -2
  1766. samsara/types/speeding_interval_response_body.py +8 -6
  1767. samsara/types/speeding_intervals_get_speeding_intervals_bad_gateway_error_response_body.py +1 -1
  1768. samsara/types/speeding_intervals_get_speeding_intervals_gateway_timeout_error_response_body.py +1 -1
  1769. samsara/types/speeding_intervals_get_speeding_intervals_internal_server_error_response_body.py +1 -1
  1770. samsara/types/speeding_intervals_get_speeding_intervals_method_not_allowed_error_response_body.py +1 -1
  1771. samsara/types/speeding_intervals_get_speeding_intervals_not_found_error_response_body.py +1 -1
  1772. samsara/types/speeding_intervals_get_speeding_intervals_not_implemented_error_response_body.py +1 -1
  1773. samsara/types/speeding_intervals_get_speeding_intervals_service_unavailable_error_response_body.py +1 -1
  1774. samsara/types/speeding_intervals_get_speeding_intervals_too_many_requests_error_response_body.py +1 -1
  1775. samsara/types/speeding_intervals_get_speeding_intervals_unauthorized_error_response_body.py +1 -1
  1776. samsara/types/speeding_settings_object_response_body.py +1 -1
  1777. samsara/types/speeding_severity_level_response_body.py +6 -4
  1778. samsara/types/start_function_run_response_body_response_body.py +3 -1
  1779. samsara/types/stop_eta_updated_event_details_response_body.py +4 -2
  1780. samsara/types/stop_task_completed_event_details_response_body.py +2 -2
  1781. samsara/types/stop_task_skipped_event_details_response_body.py +2 -2
  1782. samsara/types/sudden_fuel_level_drop_response_body.py +4 -4
  1783. samsara/types/sudden_fuel_level_drop_trigger_details_object_request_body.py +1 -1
  1784. samsara/types/sudden_fuel_level_drop_trigger_details_object_response_body.py +1 -1
  1785. samsara/types/sudden_fuel_level_rise_response_body.py +4 -4
  1786. samsara/types/sudden_fuel_level_rise_trigger_details_object_request_body.py +1 -1
  1787. samsara/types/sudden_fuel_level_rise_trigger_details_object_response_body.py +1 -1
  1788. samsara/types/tachograph_activity.py +3 -3
  1789. samsara/types/tachograph_driver_file.py +2 -2
  1790. samsara/types/tachograph_vehicle_file.py +2 -2
  1791. samsara/types/tag_all_of.py +4 -2
  1792. samsara/types/tag_group_safety_score_response_body.py +5 -3
  1793. samsara/types/tag_safety_score_response_body.py +4 -4
  1794. samsara/types/tag_tiny_response.py +1 -1
  1795. samsara/types/time_range_object_request_body.py +3 -3
  1796. samsara/types/time_range_object_response_body.py +3 -3
  1797. samsara/types/tiny_asset_object_request_body.py +2 -2
  1798. samsara/types/tiny_asset_object_response_body.py +2 -2
  1799. samsara/types/tiny_driver_object_request_body.py +1 -1
  1800. samsara/types/tiny_driver_object_response_body.py +1 -1
  1801. samsara/types/tiny_tag.py +3 -1
  1802. samsara/types/tiny_widget_object_request_body.py +1 -1
  1803. samsara/types/tiny_widget_object_response_body.py +1 -1
  1804. samsara/types/tire_fault_code_details_object_request_body.py +3 -3
  1805. samsara/types/tire_fault_code_details_object_response_body.py +3 -3
  1806. samsara/types/trailer_assignments_create_driver_trailer_assignment_bad_gateway_error_response_body.py +1 -1
  1807. samsara/types/trailer_assignments_create_driver_trailer_assignment_gateway_timeout_error_response_body.py +1 -1
  1808. samsara/types/trailer_assignments_create_driver_trailer_assignment_internal_server_error_response_body.py +1 -1
  1809. samsara/types/trailer_assignments_create_driver_trailer_assignment_method_not_allowed_error_response_body.py +1 -1
  1810. samsara/types/trailer_assignments_create_driver_trailer_assignment_not_found_error_response_body.py +1 -1
  1811. samsara/types/trailer_assignments_create_driver_trailer_assignment_not_implemented_error_response_body.py +1 -1
  1812. samsara/types/trailer_assignments_create_driver_trailer_assignment_service_unavailable_error_response_body.py +1 -1
  1813. samsara/types/trailer_assignments_create_driver_trailer_assignment_too_many_requests_error_response_body.py +1 -1
  1814. samsara/types/trailer_assignments_create_driver_trailer_assignment_unauthorized_error_response_body.py +1 -1
  1815. samsara/types/trailer_assignments_get_driver_trailer_assignments_bad_gateway_error_response_body.py +1 -1
  1816. samsara/types/trailer_assignments_get_driver_trailer_assignments_gateway_timeout_error_response_body.py +1 -1
  1817. samsara/types/trailer_assignments_get_driver_trailer_assignments_internal_server_error_response_body.py +1 -1
  1818. samsara/types/trailer_assignments_get_driver_trailer_assignments_method_not_allowed_error_response_body.py +1 -1
  1819. samsara/types/trailer_assignments_get_driver_trailer_assignments_not_found_error_response_body.py +1 -1
  1820. samsara/types/trailer_assignments_get_driver_trailer_assignments_not_implemented_error_response_body.py +1 -1
  1821. samsara/types/trailer_assignments_get_driver_trailer_assignments_service_unavailable_error_response_body.py +1 -1
  1822. samsara/types/trailer_assignments_get_driver_trailer_assignments_too_many_requests_error_response_body.py +1 -1
  1823. samsara/types/trailer_assignments_get_driver_trailer_assignments_unauthorized_error_response_body.py +1 -1
  1824. samsara/types/trailer_assignments_update_driver_trailer_assignment_bad_gateway_error_response_body.py +1 -1
  1825. samsara/types/trailer_assignments_update_driver_trailer_assignment_gateway_timeout_error_response_body.py +1 -1
  1826. samsara/types/trailer_assignments_update_driver_trailer_assignment_internal_server_error_response_body.py +1 -1
  1827. samsara/types/trailer_assignments_update_driver_trailer_assignment_method_not_allowed_error_response_body.py +1 -1
  1828. samsara/types/trailer_assignments_update_driver_trailer_assignment_not_found_error_response_body.py +1 -1
  1829. samsara/types/trailer_assignments_update_driver_trailer_assignment_not_implemented_error_response_body.py +1 -1
  1830. samsara/types/trailer_assignments_update_driver_trailer_assignment_service_unavailable_error_response_body.py +1 -1
  1831. samsara/types/trailer_assignments_update_driver_trailer_assignment_too_many_requests_error_response_body.py +1 -1
  1832. samsara/types/trailer_assignments_update_driver_trailer_assignment_unauthorized_error_response_body.py +1 -1
  1833. samsara/types/trailer_dvir_object_response_body.py +1 -1
  1834. samsara/types/trailer_object_response_body.py +1 -1
  1835. samsara/types/trailer_response_object_response_body.py +5 -5
  1836. samsara/types/trailer_stat_decoration_response_body.py +22 -22
  1837. samsara/types/trailer_stat_gps_type_response_body.py +3 -3
  1838. samsara/types/trailer_stat_gps_with_decorations_type_response_body.py +3 -3
  1839. samsara/types/trailer_stat_reefer_alarm_response_body.py +4 -2
  1840. samsara/types/trailer_stat_reefer_state_type_response_body.py +1 -1
  1841. samsara/types/trailer_stat_reefer_state_with_decorations_type_response_body.py +1 -1
  1842. samsara/types/trailer_stat_reefer_state_zone_1_type_response_body.py +1 -1
  1843. samsara/types/trailer_stat_reefer_state_zone_1_with_decorations_type_response_body.py +1 -1
  1844. samsara/types/trailer_stat_reefer_state_zone_2_type_response_body.py +1 -1
  1845. samsara/types/trailer_stat_reefer_state_zone_2_with_decorations_type_response_body.py +1 -1
  1846. samsara/types/trailer_stat_reefer_state_zone_3_type_response_body.py +1 -1
  1847. samsara/types/trailer_stat_reefer_state_zone_3_with_decorations_type_response_body.py +1 -1
  1848. samsara/types/trailer_stats_get_trailer_stats_feed_bad_gateway_error_response_body.py +1 -1
  1849. samsara/types/trailer_stats_get_trailer_stats_feed_gateway_timeout_error_response_body.py +1 -1
  1850. samsara/types/trailer_stats_get_trailer_stats_feed_internal_server_error_response_body.py +1 -1
  1851. samsara/types/trailer_stats_get_trailer_stats_feed_method_not_allowed_error_response_body.py +1 -1
  1852. samsara/types/trailer_stats_get_trailer_stats_feed_not_found_error_response_body.py +1 -1
  1853. samsara/types/trailer_stats_get_trailer_stats_feed_not_implemented_error_response_body.py +1 -1
  1854. samsara/types/trailer_stats_get_trailer_stats_feed_service_unavailable_error_response_body.py +1 -1
  1855. samsara/types/trailer_stats_get_trailer_stats_feed_too_many_requests_error_response_body.py +1 -1
  1856. samsara/types/trailer_stats_get_trailer_stats_feed_unauthorized_error_response_body.py +1 -1
  1857. samsara/types/trailer_stats_get_trailer_stats_history_bad_gateway_error_response_body.py +1 -1
  1858. samsara/types/trailer_stats_get_trailer_stats_history_gateway_timeout_error_response_body.py +1 -1
  1859. samsara/types/trailer_stats_get_trailer_stats_history_internal_server_error_response_body.py +1 -1
  1860. samsara/types/trailer_stats_get_trailer_stats_history_method_not_allowed_error_response_body.py +1 -1
  1861. samsara/types/trailer_stats_get_trailer_stats_history_not_found_error_response_body.py +1 -1
  1862. samsara/types/trailer_stats_get_trailer_stats_history_not_implemented_error_response_body.py +1 -1
  1863. samsara/types/trailer_stats_get_trailer_stats_history_service_unavailable_error_response_body.py +1 -1
  1864. samsara/types/trailer_stats_get_trailer_stats_history_too_many_requests_error_response_body.py +1 -1
  1865. samsara/types/trailer_stats_get_trailer_stats_history_unauthorized_error_response_body.py +1 -1
  1866. samsara/types/trailer_stats_get_trailer_stats_snapshot_bad_gateway_error_response_body.py +1 -1
  1867. samsara/types/trailer_stats_get_trailer_stats_snapshot_gateway_timeout_error_response_body.py +1 -1
  1868. samsara/types/trailer_stats_get_trailer_stats_snapshot_internal_server_error_response_body.py +1 -1
  1869. samsara/types/trailer_stats_get_trailer_stats_snapshot_method_not_allowed_error_response_body.py +1 -1
  1870. samsara/types/trailer_stats_get_trailer_stats_snapshot_not_found_error_response_body.py +1 -1
  1871. samsara/types/trailer_stats_get_trailer_stats_snapshot_not_implemented_error_response_body.py +1 -1
  1872. samsara/types/trailer_stats_get_trailer_stats_snapshot_service_unavailable_error_response_body.py +1 -1
  1873. samsara/types/trailer_stats_get_trailer_stats_snapshot_too_many_requests_error_response_body.py +1 -1
  1874. samsara/types/trailer_stats_get_trailer_stats_snapshot_unauthorized_error_response_body.py +1 -1
  1875. samsara/types/trailer_stats_object_response_body.py +22 -22
  1876. samsara/types/trailer_stats_snapshot_object_response_body.py +22 -22
  1877. samsara/types/trailer_with_attributes_response_object_response_body.py +5 -5
  1878. samsara/types/trailers_create_trailer_bad_gateway_error_response_body.py +1 -1
  1879. samsara/types/trailers_create_trailer_gateway_timeout_error_response_body.py +1 -1
  1880. samsara/types/trailers_create_trailer_internal_server_error_response_body.py +1 -1
  1881. samsara/types/trailers_create_trailer_method_not_allowed_error_response_body.py +1 -1
  1882. samsara/types/trailers_create_trailer_not_found_error_response_body.py +1 -1
  1883. samsara/types/trailers_create_trailer_not_implemented_error_response_body.py +1 -1
  1884. samsara/types/trailers_create_trailer_service_unavailable_error_response_body.py +1 -1
  1885. samsara/types/trailers_create_trailer_too_many_requests_error_response_body.py +1 -1
  1886. samsara/types/trailers_create_trailer_unauthorized_error_response_body.py +1 -1
  1887. samsara/types/trailers_delete_trailer_bad_gateway_error_response_body.py +1 -1
  1888. samsara/types/trailers_delete_trailer_gateway_timeout_error_response_body.py +1 -1
  1889. samsara/types/trailers_delete_trailer_internal_server_error_response_body.py +1 -1
  1890. samsara/types/trailers_delete_trailer_method_not_allowed_error_response_body.py +1 -1
  1891. samsara/types/trailers_delete_trailer_not_found_error_response_body.py +1 -1
  1892. samsara/types/trailers_delete_trailer_not_implemented_error_response_body.py +1 -1
  1893. samsara/types/trailers_delete_trailer_service_unavailable_error_response_body.py +1 -1
  1894. samsara/types/trailers_delete_trailer_too_many_requests_error_response_body.py +1 -1
  1895. samsara/types/trailers_delete_trailer_unauthorized_error_response_body.py +1 -1
  1896. samsara/types/trailers_get_trailer_bad_gateway_error_response_body.py +1 -1
  1897. samsara/types/trailers_get_trailer_gateway_timeout_error_response_body.py +1 -1
  1898. samsara/types/trailers_get_trailer_internal_server_error_response_body.py +1 -1
  1899. samsara/types/trailers_get_trailer_method_not_allowed_error_response_body.py +1 -1
  1900. samsara/types/trailers_get_trailer_not_found_error_response_body.py +1 -1
  1901. samsara/types/trailers_get_trailer_not_implemented_error_response_body.py +1 -1
  1902. samsara/types/trailers_get_trailer_service_unavailable_error_response_body.py +1 -1
  1903. samsara/types/trailers_get_trailer_too_many_requests_error_response_body.py +1 -1
  1904. samsara/types/trailers_get_trailer_unauthorized_error_response_body.py +1 -1
  1905. samsara/types/trailers_list_trailers_bad_gateway_error_response_body.py +1 -1
  1906. samsara/types/trailers_list_trailers_gateway_timeout_error_response_body.py +1 -1
  1907. samsara/types/trailers_list_trailers_internal_server_error_response_body.py +1 -1
  1908. samsara/types/trailers_list_trailers_method_not_allowed_error_response_body.py +1 -1
  1909. samsara/types/trailers_list_trailers_not_found_error_response_body.py +1 -1
  1910. samsara/types/trailers_list_trailers_not_implemented_error_response_body.py +1 -1
  1911. samsara/types/trailers_list_trailers_service_unavailable_error_response_body.py +1 -1
  1912. samsara/types/trailers_list_trailers_too_many_requests_error_response_body.py +1 -1
  1913. samsara/types/trailers_list_trailers_unauthorized_error_response_body.py +1 -1
  1914. samsara/types/trailers_update_trailer_bad_gateway_error_response_body.py +1 -1
  1915. samsara/types/trailers_update_trailer_gateway_timeout_error_response_body.py +1 -1
  1916. samsara/types/trailers_update_trailer_internal_server_error_response_body.py +1 -1
  1917. samsara/types/trailers_update_trailer_method_not_allowed_error_response_body.py +1 -1
  1918. samsara/types/trailers_update_trailer_not_found_error_response_body.py +1 -1
  1919. samsara/types/trailers_update_trailer_not_implemented_error_response_body.py +1 -1
  1920. samsara/types/trailers_update_trailer_service_unavailable_error_response_body.py +1 -1
  1921. samsara/types/trailers_update_trailer_too_many_requests_error_response_body.py +1 -1
  1922. samsara/types/trailers_update_trailer_unauthorized_error_response_body.py +1 -1
  1923. samsara/types/training_assignment_near_due_date_trigger_assignment_group_object_request_body.py +2 -2
  1924. samsara/types/training_assignment_near_due_date_trigger_assignment_group_object_response_body.py +2 -2
  1925. samsara/types/training_assignment_near_due_date_trigger_details_object_request_body.py +5 -3
  1926. samsara/types/training_assignment_near_due_date_trigger_details_object_response_body.py +5 -3
  1927. samsara/types/training_assignment_post_response_object_response_body.py +8 -4
  1928. samsara/types/training_assignment_response_object_response_body.py +22 -12
  1929. samsara/types/training_assignments_delete_training_assignments_bad_gateway_error_response_body.py +1 -1
  1930. samsara/types/training_assignments_delete_training_assignments_gateway_timeout_error_response_body.py +1 -1
  1931. samsara/types/training_assignments_delete_training_assignments_internal_server_error_response_body.py +1 -1
  1932. samsara/types/training_assignments_delete_training_assignments_method_not_allowed_error_response_body.py +1 -1
  1933. samsara/types/training_assignments_delete_training_assignments_not_found_error_response_body.py +1 -1
  1934. samsara/types/training_assignments_delete_training_assignments_not_implemented_error_response_body.py +1 -1
  1935. samsara/types/training_assignments_delete_training_assignments_service_unavailable_error_response_body.py +1 -1
  1936. samsara/types/training_assignments_delete_training_assignments_too_many_requests_error_response_body.py +1 -1
  1937. samsara/types/training_assignments_delete_training_assignments_unauthorized_error_response_body.py +1 -1
  1938. samsara/types/training_assignments_get_training_assignments_stream_bad_gateway_error_response_body.py +1 -1
  1939. samsara/types/training_assignments_get_training_assignments_stream_gateway_timeout_error_response_body.py +1 -1
  1940. samsara/types/training_assignments_get_training_assignments_stream_internal_server_error_response_body.py +1 -1
  1941. samsara/types/training_assignments_get_training_assignments_stream_method_not_allowed_error_response_body.py +1 -1
  1942. samsara/types/training_assignments_get_training_assignments_stream_not_found_error_response_body.py +1 -1
  1943. samsara/types/training_assignments_get_training_assignments_stream_not_implemented_error_response_body.py +1 -1
  1944. samsara/types/training_assignments_get_training_assignments_stream_service_unavailable_error_response_body.py +1 -1
  1945. samsara/types/training_assignments_get_training_assignments_stream_too_many_requests_error_response_body.py +1 -1
  1946. samsara/types/training_assignments_get_training_assignments_stream_unauthorized_error_response_body.py +1 -1
  1947. samsara/types/training_assignments_patch_training_assignments_bad_gateway_error_response_body.py +1 -1
  1948. samsara/types/training_assignments_patch_training_assignments_gateway_timeout_error_response_body.py +1 -1
  1949. samsara/types/training_assignments_patch_training_assignments_internal_server_error_response_body.py +1 -1
  1950. samsara/types/training_assignments_patch_training_assignments_method_not_allowed_error_response_body.py +1 -1
  1951. samsara/types/training_assignments_patch_training_assignments_not_found_error_response_body.py +1 -1
  1952. samsara/types/training_assignments_patch_training_assignments_not_implemented_error_response_body.py +1 -1
  1953. samsara/types/training_assignments_patch_training_assignments_service_unavailable_error_response_body.py +1 -1
  1954. samsara/types/training_assignments_patch_training_assignments_too_many_requests_error_response_body.py +1 -1
  1955. samsara/types/training_assignments_patch_training_assignments_unauthorized_error_response_body.py +1 -1
  1956. samsara/types/training_assignments_post_training_assignments_bad_gateway_error_response_body.py +1 -1
  1957. samsara/types/training_assignments_post_training_assignments_gateway_timeout_error_response_body.py +1 -1
  1958. samsara/types/training_assignments_post_training_assignments_internal_server_error_response_body.py +1 -1
  1959. samsara/types/training_assignments_post_training_assignments_method_not_allowed_error_response_body.py +1 -1
  1960. samsara/types/training_assignments_post_training_assignments_not_found_error_response_body.py +1 -1
  1961. samsara/types/training_assignments_post_training_assignments_not_implemented_error_response_body.py +1 -1
  1962. samsara/types/training_assignments_post_training_assignments_service_unavailable_error_response_body.py +1 -1
  1963. samsara/types/training_assignments_post_training_assignments_too_many_requests_error_response_body.py +1 -1
  1964. samsara/types/training_assignments_post_training_assignments_unauthorized_error_response_body.py +1 -1
  1965. samsara/types/training_course_object_response_body.py +3 -1
  1966. samsara/types/training_course_response_object_response_body.py +4 -2
  1967. samsara/types/training_courses_get_training_courses_bad_gateway_error_response_body.py +1 -1
  1968. samsara/types/training_courses_get_training_courses_gateway_timeout_error_response_body.py +1 -1
  1969. samsara/types/training_courses_get_training_courses_internal_server_error_response_body.py +1 -1
  1970. samsara/types/training_courses_get_training_courses_method_not_allowed_error_response_body.py +1 -1
  1971. samsara/types/training_courses_get_training_courses_not_found_error_response_body.py +1 -1
  1972. samsara/types/training_courses_get_training_courses_not_implemented_error_response_body.py +1 -1
  1973. samsara/types/training_courses_get_training_courses_service_unavailable_error_response_body.py +1 -1
  1974. samsara/types/training_courses_get_training_courses_too_many_requests_error_response_body.py +1 -1
  1975. samsara/types/training_courses_get_training_courses_unauthorized_error_response_body.py +1 -1
  1976. samsara/types/trigger_params_object_request_body.py +36 -32
  1977. samsara/types/trigger_params_object_response_body.py +36 -32
  1978. samsara/types/trip_response_body.py +15 -7
  1979. samsara/types/trip_speeding_intervals_response_body.py +10 -4
  1980. samsara/types/trips_breakdown_response_body.py +12 -6
  1981. samsara/types/trips_get_trips_bad_gateway_error_response_body.py +1 -1
  1982. samsara/types/trips_get_trips_gateway_timeout_error_response_body.py +1 -1
  1983. samsara/types/trips_get_trips_internal_server_error_response_body.py +1 -1
  1984. samsara/types/trips_get_trips_method_not_allowed_error_response_body.py +1 -1
  1985. samsara/types/trips_get_trips_not_found_error_response_body.py +1 -1
  1986. samsara/types/trips_get_trips_not_implemented_error_response_body.py +1 -1
  1987. samsara/types/trips_get_trips_service_unavailable_error_response_body.py +1 -1
  1988. samsara/types/trips_get_trips_too_many_requests_error_response_body.py +1 -1
  1989. samsara/types/trips_get_trips_unauthorized_error_response_body.py +1 -1
  1990. samsara/types/unassigned_driving_trigger_details_object_request_body.py +1 -1
  1991. samsara/types/unassigned_driving_trigger_details_object_response_body.py +1 -1
  1992. samsara/types/update_driver_request_attributes.py +54 -0
  1993. samsara/types/update_driver_request_hos_setting.py +1 -1
  1994. samsara/types/update_engine_immobilizer_relay_state_request_body_request_body.py +1 -1
  1995. samsara/types/update_hub_location_request_body_request_body.py +7 -7
  1996. samsara/types/update_routes_stop_request_object_request_body.py +8 -8
  1997. samsara/types/uploaded_media_object_response_body.py +10 -8
  1998. samsara/types/url_info_object_response_body.py +3 -1
  1999. samsara/types/us_driver_ruleset_override.py +1 -1
  2000. samsara/types/user.py +3 -1
  2001. samsara/types/user_role_assignment.py +3 -1
  2002. samsara/types/v_1_asset.py +3 -3
  2003. samsara/types/v_1_asset_cable.py +1 -1
  2004. samsara/types/v_1_asset_current_location.py +2 -2
  2005. samsara/types/v_1_asset_current_locations_response.py +2 -2
  2006. samsara/types/v_1_asset_location_response_item.py +1 -1
  2007. samsara/types/v_1_asset_reefer_response.py +2 -2
  2008. samsara/types/v_1_asset_reefer_response_reefer_stats.py +5 -5
  2009. samsara/types/v_1_asset_reefer_response_reefer_stats_alarms.py +2 -2
  2010. samsara/types/v_1_asset_reefer_response_reefer_stats_alarms_1.py +1 -1
  2011. samsara/types/v_1_asset_reefer_response_reefer_stats_engine_hours.py +2 -2
  2012. samsara/types/v_1_asset_reefer_response_reefer_stats_fuel_percentage.py +2 -2
  2013. samsara/types/v_1_asset_reefer_response_reefer_stats_power_status.py +1 -1
  2014. samsara/types/v_1_asset_reefer_response_reefer_stats_return_air_temp.py +2 -2
  2015. samsara/types/v_1_asset_reefer_response_reefer_stats_set_point.py +2 -2
  2016. samsara/types/v_1_assets_reefer.py +2 -2
  2017. samsara/types/v_1_assets_reefer_reefer_stats.py +8 -8
  2018. samsara/types/v_1_assets_reefer_reefer_stats_ambient_air_temperature.py +2 -2
  2019. samsara/types/v_1_assets_reefer_reefer_stats_discharge_air_temperature.py +2 -2
  2020. samsara/types/v_1_assets_reefer_reefer_stats_power_status.py +1 -1
  2021. samsara/types/v_1_cargo_response.py +1 -1
  2022. samsara/types/v_1_cargo_response_sensors.py +5 -5
  2023. samsara/types/v_1_door_response.py +1 -1
  2024. samsara/types/v_1_door_response_sensors.py +4 -4
  2025. samsara/types/v_1_driver_safety_score_response.py +12 -12
  2026. samsara/types/v_1_hos_authentication_logs_response.py +1 -1
  2027. samsara/types/v_1_hos_authentication_logs_response_authentication_logs.py +3 -3
  2028. samsara/types/v_1_humidity_response.py +1 -1
  2029. samsara/types/v_1_humidity_response_sensors.py +3 -3
  2030. samsara/types/v_1_machine_history_response_vibrations.py +9 -3
  2031. samsara/types/v_1_message.py +1 -1
  2032. samsara/types/v_1_message_response.py +3 -3
  2033. samsara/types/v_1_pagination.py +10 -4
  2034. samsara/types/v_1_programs_for_the_camera_response_item.py +6 -2
  2035. samsara/types/v_1_safety_report_harsh_event.py +3 -3
  2036. samsara/types/v_1_sensor.py +1 -1
  2037. samsara/types/v_1_sensor_history_response_results.py +1 -1
  2038. samsara/types/v_1_sensors_history_series.py +1 -1
  2039. samsara/types/v_1_temperature_response.py +1 -1
  2040. samsara/types/v_1_temperature_response_sensors.py +6 -6
  2041. samsara/types/v_1_trailer_assignment_response.py +3 -3
  2042. samsara/types/v_1_trailer_assignments_response_all_of.py +1 -1
  2043. samsara/types/v_1_trip_response_trips.py +16 -16
  2044. samsara/types/v_1_vehicle_harsh_event_response.py +10 -6
  2045. samsara/types/v_1_vehicle_maintenance.py +3 -1
  2046. samsara/types/v_1_vehicle_maintenance_j_1939.py +2 -2
  2047. samsara/types/v_1_vehicle_maintenance_j_1939_check_engine_light.py +12 -4
  2048. samsara/types/v_1_vehicle_maintenance_j_1939_diagnostic_trouble_codes.py +10 -6
  2049. samsara/types/v_1_vehicle_maintenance_passenger.py +2 -2
  2050. samsara/types/v_1_vehicle_maintenance_passenger_check_engine_light.py +3 -1
  2051. samsara/types/v_1_vehicle_maintenance_passenger_diagnostic_trouble_codes.py +7 -3
  2052. samsara/types/v_1_vehicle_safety_score_response.py +12 -12
  2053. samsara/types/v_1_vision_cameras_response_item.py +12 -4
  2054. samsara/types/v_1_vision_run_by_camera_response.py +14 -6
  2055. samsara/types/v_1_vision_run_by_camera_response_inspection_results.py +4 -2
  2056. samsara/types/v_1_vision_run_by_camera_response_run_summary.py +12 -4
  2057. samsara/types/v_1_vision_runs_by_camera_and_program_response.py +13 -5
  2058. samsara/types/v_1_vision_runs_by_camera_response_item.py +10 -4
  2059. samsara/types/v_1_vision_runs_by_camera_response_item_report_metadata.py +12 -4
  2060. samsara/types/v_1_vision_runs_response.py +1 -1
  2061. samsara/types/v_1_vision_runs_response_report_metadata.py +4 -4
  2062. samsara/types/v_1_vision_runs_response_vision_runs.py +13 -5
  2063. samsara/types/v_1_vision_step_results_item.py +9 -9
  2064. samsara/types/v_1_vision_step_results_item_angle_check.py +4 -4
  2065. samsara/types/v_1_vision_step_results_item_barcode_item.py +3 -1
  2066. samsara/types/v_1_vision_step_results_item_caliper.py +8 -8
  2067. samsara/types/v_1_vision_step_results_item_contour.py +4 -4
  2068. samsara/types/v_1_vision_step_results_item_distance.py +9 -9
  2069. samsara/types/v_1_vision_step_results_item_expiration_date.py +9 -3
  2070. samsara/types/v_1_vision_step_results_item_find_copies.py +4 -4
  2071. samsara/types/v_1_vision_step_results_item_find_edge.py +9 -9
  2072. samsara/types/v_1_vision_step_results_item_find_shapes.py +9 -3
  2073. samsara/types/v_1_vision_step_results_item_fixture.py +3 -1
  2074. samsara/types/v_1_vision_step_results_item_presence_absence.py +10 -8
  2075. samsara/types/v_1_vision_step_results_item_text_match.py +6 -2
  2076. samsara/types/vehicle.py +40 -50
  2077. samsara/types/vehicle_assignment_object_response_body.py +6 -4
  2078. samsara/types/vehicle_batter_voltage_details_object_request_body.py +4 -2
  2079. samsara/types/vehicle_batter_voltage_details_object_response_body.py +4 -2
  2080. samsara/types/vehicle_detected_response_body.py +1 -1
  2081. samsara/types/vehicle_dvir_object_response_body.py +1 -1
  2082. samsara/types/vehicle_fault_code_details_object_request_body.py +8 -8
  2083. samsara/types/vehicle_fault_code_details_object_response_body.py +8 -8
  2084. samsara/types/vehicle_location.py +6 -6
  2085. samsara/types/vehicle_response_object_response_body.py +35 -26
  2086. samsara/types/vehicle_response_response_body.py +4 -4
  2087. samsara/types/vehicle_safety_score_response_body.py +6 -4
  2088. samsara/types/vehicle_sensor_configuration_area.py +3 -3
  2089. samsara/types/vehicle_sensor_configuration_area_response_body.py +3 -3
  2090. samsara/types/vehicle_stats_ambient_air_temp_milli_c.py +2 -2
  2091. samsara/types/vehicle_stats_ambient_air_temp_milli_c_with_decoration.py +2 -2
  2092. samsara/types/vehicle_stats_barometric_pressure_pa.py +2 -2
  2093. samsara/types/vehicle_stats_barometric_pressure_pa_with_decoration.py +2 -2
  2094. samsara/types/vehicle_stats_battery_voltage.py +2 -2
  2095. samsara/types/vehicle_stats_battery_voltage_with_decoration.py +2 -2
  2096. samsara/types/vehicle_stats_decorations.py +60 -60
  2097. samsara/types/vehicle_stats_decorations_gps.py +7 -7
  2098. samsara/types/vehicle_stats_def_level_milli_percent.py +2 -2
  2099. samsara/types/vehicle_stats_def_level_milli_percent_with_decoration.py +2 -2
  2100. samsara/types/vehicle_stats_ecu_door_status.py +2 -2
  2101. samsara/types/vehicle_stats_ecu_speed_mph.py +2 -2
  2102. samsara/types/vehicle_stats_ecu_speed_mph_with_decoration.py +2 -2
  2103. samsara/types/vehicle_stats_engine_coolant_temp_milli_c.py +2 -2
  2104. samsara/types/vehicle_stats_engine_coolant_temp_milli_c_with_decoration.py +2 -2
  2105. samsara/types/vehicle_stats_engine_load_percent.py +2 -2
  2106. samsara/types/vehicle_stats_engine_load_percent_with_decoration.py +2 -2
  2107. samsara/types/vehicle_stats_engine_oil_pressure_k_pa.py +2 -2
  2108. samsara/types/vehicle_stats_engine_oil_pressure_k_pa_with_decoration.py +2 -2
  2109. samsara/types/vehicle_stats_engine_rpm.py +2 -2
  2110. samsara/types/vehicle_stats_engine_rpm_with_decoration.py +2 -2
  2111. samsara/types/vehicle_stats_engine_state.py +2 -2
  2112. samsara/types/vehicle_stats_engine_state_with_decoration.py +2 -2
  2113. samsara/types/vehicle_stats_ev_average_battery_temperature_milli_celsius.py +2 -2
  2114. samsara/types/vehicle_stats_ev_battery_current_milli_amp.py +2 -2
  2115. samsara/types/vehicle_stats_ev_battery_state_of_health_milli_percent.py +2 -2
  2116. samsara/types/vehicle_stats_ev_battery_voltage_milli_volt.py +2 -2
  2117. samsara/types/vehicle_stats_ev_charging_current_milli_amp.py +2 -2
  2118. samsara/types/vehicle_stats_ev_charging_energy_micro_wh.py +2 -2
  2119. samsara/types/vehicle_stats_ev_charging_status.py +2 -2
  2120. samsara/types/vehicle_stats_ev_charging_voltage_milli_volt.py +2 -2
  2121. samsara/types/vehicle_stats_ev_consumed_energy_micro_wh.py +2 -2
  2122. samsara/types/vehicle_stats_ev_distance_driven_meters.py +2 -2
  2123. samsara/types/vehicle_stats_ev_regenerated_energy_micro_wh.py +2 -2
  2124. samsara/types/vehicle_stats_ev_state_of_charge_milli_percent.py +2 -2
  2125. samsara/types/vehicle_stats_fault_codes.py +2 -2
  2126. samsara/types/vehicle_stats_fault_codes_j_1939.py +2 -2
  2127. samsara/types/vehicle_stats_fault_codes_j_1939_lights.py +10 -4
  2128. samsara/types/vehicle_stats_fault_codes_j_1939_trouble_code.py +13 -9
  2129. samsara/types/vehicle_stats_fault_codes_obdii.py +2 -2
  2130. samsara/types/vehicle_stats_fault_codes_obdii_trouble_code.py +9 -7
  2131. samsara/types/vehicle_stats_fault_codes_oem.py +1 -1
  2132. samsara/types/vehicle_stats_fault_codes_oem_trouble_code.py +4 -4
  2133. samsara/types/vehicle_stats_fault_codes_passenger_dtc.py +3 -3
  2134. samsara/types/vehicle_stats_fault_codes_passenger_monitor_status.py +7 -7
  2135. samsara/types/vehicle_stats_fault_codes_value.py +2 -2
  2136. samsara/types/vehicle_stats_fault_codes_value_j_1939.py +2 -2
  2137. samsara/types/vehicle_stats_fault_codes_value_j_1939_check_engine_lights.py +10 -4
  2138. samsara/types/vehicle_stats_fault_codes_value_j_1939_diagnostic_trouble_codes.py +11 -9
  2139. samsara/types/vehicle_stats_fault_codes_value_j_1939_vendor_specific_fields.py +2 -2
  2140. samsara/types/vehicle_stats_fault_codes_value_obdii.py +2 -2
  2141. samsara/types/vehicle_stats_fault_codes_value_obdii_confirmed_dtcs.py +3 -3
  2142. samsara/types/vehicle_stats_fault_codes_value_obdii_diagnostic_trouble_codes.py +7 -7
  2143. samsara/types/vehicle_stats_fault_codes_value_obdii_monitor_status.py +7 -7
  2144. samsara/types/vehicle_stats_fault_codes_value_oem.py +1 -1
  2145. samsara/types/vehicle_stats_fault_codes_value_oem_diagnostic_trouble_codes.py +4 -4
  2146. samsara/types/vehicle_stats_fault_codes_vendor_specific_fields.py +2 -2
  2147. samsara/types/vehicle_stats_fault_codes_with_decoration.py +4 -4
  2148. samsara/types/vehicle_stats_fuel_consumed_milliliters.py +2 -2
  2149. samsara/types/vehicle_stats_fuel_consumed_milliliters_with_decoration.py +2 -2
  2150. samsara/types/vehicle_stats_fuel_percent.py +2 -2
  2151. samsara/types/vehicle_stats_fuel_percent_with_decoration.py +2 -2
  2152. samsara/types/vehicle_stats_gps.py +9 -9
  2153. samsara/types/vehicle_stats_gps_distance_meters.py +2 -2
  2154. samsara/types/vehicle_stats_gps_distance_meters_with_decoration.py +2 -2
  2155. samsara/types/vehicle_stats_gps_odometer_meters.py +2 -2
  2156. samsara/types/vehicle_stats_gps_odometer_meters_with_decoration.py +2 -2
  2157. samsara/types/vehicle_stats_idling_duration_milliseconds.py +2 -2
  2158. samsara/types/vehicle_stats_idling_duration_milliseconds_with_decoration.py +2 -2
  2159. samsara/types/vehicle_stats_intake_manifold_temp_milli_c.py +2 -2
  2160. samsara/types/vehicle_stats_intake_manifold_temp_milli_c_with_decoration.py +2 -2
  2161. samsara/types/vehicle_stats_list_gps.py +9 -9
  2162. samsara/types/vehicle_stats_list_response_data.py +62 -62
  2163. samsara/types/vehicle_stats_obd_engine_seconds.py +2 -2
  2164. samsara/types/vehicle_stats_obd_engine_seconds_with_decoration.py +2 -2
  2165. samsara/types/vehicle_stats_obd_odometer_meters.py +2 -2
  2166. samsara/types/vehicle_stats_obd_odometer_meters_with_decoration.py +2 -2
  2167. samsara/types/vehicle_stats_response_data.py +62 -62
  2168. samsara/types/vehicle_stats_seatbelt_driver.py +2 -2
  2169. samsara/types/vehicle_stats_spreader_active.py +2 -2
  2170. samsara/types/vehicle_stats_spreader_air_temp.py +2 -2
  2171. samsara/types/vehicle_stats_spreader_blast_state.py +2 -2
  2172. samsara/types/vehicle_stats_spreader_granular_name.py +2 -2
  2173. samsara/types/vehicle_stats_spreader_granular_rate.py +2 -2
  2174. samsara/types/vehicle_stats_spreader_liquid_name.py +2 -2
  2175. samsara/types/vehicle_stats_spreader_liquid_rate.py +2 -2
  2176. samsara/types/vehicle_stats_spreader_on_state.py +2 -2
  2177. samsara/types/vehicle_stats_spreader_plow_status.py +2 -2
  2178. samsara/types/vehicle_stats_spreader_prewet_name.py +2 -2
  2179. samsara/types/vehicle_stats_spreader_prewet_rate.py +2 -2
  2180. samsara/types/vehicle_stats_spreader_road_temp.py +2 -2
  2181. samsara/types/vehicle_stats_tire_pressures.py +4 -4
  2182. samsara/types/vehicle_summary.py +14 -12
  2183. samsara/types/vehicle_tiny_response.py +1 -1
  2184. samsara/types/vehicle_with_gateway_tiny_response_response_body.py +3 -3
  2185. samsara/types/vehicles_driver_assignments_get_vehicles_driver_assignments_bad_gateway_error_response_body.py +1 -1
  2186. samsara/types/vehicles_driver_assignments_get_vehicles_driver_assignments_gateway_timeout_error_response_body.py +1 -1
  2187. samsara/types/vehicles_driver_assignments_get_vehicles_driver_assignments_internal_server_error_response_body.py +1 -1
  2188. samsara/types/vehicles_driver_assignments_get_vehicles_driver_assignments_method_not_allowed_error_response_body.py +1 -1
  2189. samsara/types/vehicles_driver_assignments_get_vehicles_driver_assignments_not_found_error_response_body.py +1 -1
  2190. samsara/types/vehicles_driver_assignments_get_vehicles_driver_assignments_not_implemented_error_response_body.py +1 -1
  2191. samsara/types/vehicles_driver_assignments_get_vehicles_driver_assignments_service_unavailable_error_response_body.py +1 -1
  2192. samsara/types/vehicles_driver_assignments_get_vehicles_driver_assignments_too_many_requests_error_response_body.py +1 -1
  2193. samsara/types/vehicles_driver_assignments_get_vehicles_driver_assignments_unauthorized_error_response_body.py +1 -1
  2194. samsara/types/vehicles_driver_assignments_object_response_body.py +2 -2
  2195. samsara/types/vehicles_list_vehicles_bad_gateway_error_response_body.py +1 -1
  2196. samsara/types/vehicles_list_vehicles_gateway_timeout_error_response_body.py +1 -1
  2197. samsara/types/vehicles_list_vehicles_internal_server_error_response_body.py +1 -1
  2198. samsara/types/vehicles_list_vehicles_method_not_allowed_error_response_body.py +1 -1
  2199. samsara/types/vehicles_list_vehicles_not_found_error_response_body.py +1 -1
  2200. samsara/types/vehicles_list_vehicles_not_implemented_error_response_body.py +1 -1
  2201. samsara/types/vehicles_list_vehicles_service_unavailable_error_response_body.py +1 -1
  2202. samsara/types/vehicles_list_vehicles_too_many_requests_error_response_body.py +1 -1
  2203. samsara/types/vehicles_list_vehicles_unauthorized_error_response_body.py +1 -1
  2204. samsara/types/vehicles_lock_lock_vehicle_bad_gateway_error_response_body.py +1 -1
  2205. samsara/types/vehicles_lock_lock_vehicle_gateway_timeout_error_response_body.py +1 -1
  2206. samsara/types/vehicles_lock_lock_vehicle_internal_server_error_response_body.py +1 -1
  2207. samsara/types/vehicles_lock_lock_vehicle_method_not_allowed_error_response_body.py +1 -1
  2208. samsara/types/vehicles_lock_lock_vehicle_not_found_error_response_body.py +1 -1
  2209. samsara/types/vehicles_lock_lock_vehicle_not_implemented_error_response_body.py +1 -1
  2210. samsara/types/vehicles_lock_lock_vehicle_service_unavailable_error_response_body.py +1 -1
  2211. samsara/types/vehicles_lock_lock_vehicle_too_many_requests_error_response_body.py +1 -1
  2212. samsara/types/vehicles_lock_lock_vehicle_unauthorized_error_response_body.py +1 -1
  2213. samsara/types/vehicles_lock_unlock_vehicle_bad_gateway_error_response_body.py +1 -1
  2214. samsara/types/vehicles_lock_unlock_vehicle_gateway_timeout_error_response_body.py +1 -1
  2215. samsara/types/vehicles_lock_unlock_vehicle_internal_server_error_response_body.py +1 -1
  2216. samsara/types/vehicles_lock_unlock_vehicle_method_not_allowed_error_response_body.py +1 -1
  2217. samsara/types/vehicles_lock_unlock_vehicle_not_found_error_response_body.py +1 -1
  2218. samsara/types/vehicles_lock_unlock_vehicle_not_implemented_error_response_body.py +1 -1
  2219. samsara/types/vehicles_lock_unlock_vehicle_service_unavailable_error_response_body.py +1 -1
  2220. samsara/types/vehicles_lock_unlock_vehicle_too_many_requests_error_response_body.py +1 -1
  2221. samsara/types/vehicles_lock_unlock_vehicle_unauthorized_error_response_body.py +1 -1
  2222. samsara/types/voice_coaching_settings_object_response_body.py +3 -3
  2223. samsara/types/walkaround_photo_object_response_body.py +3 -1
  2224. samsara/types/webhook_params_object_request_body.py +4 -2
  2225. samsara/types/webhook_params_object_response_body.py +4 -2
  2226. samsara/types/webhook_response_response_body.py +3 -3
  2227. samsara/types/webhook_response_response_body_event_types_item.py +2 -0
  2228. samsara/types/webhook_route_response_object_response_body.py +5 -5
  2229. samsara/types/webhooks_delete_webhook_bad_gateway_error_response_body.py +1 -1
  2230. samsara/types/webhooks_delete_webhook_gateway_timeout_error_response_body.py +1 -1
  2231. samsara/types/webhooks_delete_webhook_internal_server_error_response_body.py +1 -1
  2232. samsara/types/webhooks_delete_webhook_method_not_allowed_error_response_body.py +1 -1
  2233. samsara/types/webhooks_delete_webhook_not_found_error_response_body.py +1 -1
  2234. samsara/types/webhooks_delete_webhook_not_implemented_error_response_body.py +1 -1
  2235. samsara/types/webhooks_delete_webhook_service_unavailable_error_response_body.py +1 -1
  2236. samsara/types/webhooks_delete_webhook_too_many_requests_error_response_body.py +1 -1
  2237. samsara/types/webhooks_delete_webhook_unauthorized_error_response_body.py +1 -1
  2238. samsara/types/webhooks_get_webhook_bad_gateway_error_response_body.py +1 -1
  2239. samsara/types/webhooks_get_webhook_gateway_timeout_error_response_body.py +1 -1
  2240. samsara/types/webhooks_get_webhook_internal_server_error_response_body.py +1 -1
  2241. samsara/types/webhooks_get_webhook_method_not_allowed_error_response_body.py +1 -1
  2242. samsara/types/webhooks_get_webhook_not_found_error_response_body.py +1 -1
  2243. samsara/types/webhooks_get_webhook_not_implemented_error_response_body.py +1 -1
  2244. samsara/types/webhooks_get_webhook_response_body.py +3 -3
  2245. samsara/types/webhooks_get_webhook_response_body_event_types_item.py +2 -0
  2246. samsara/types/webhooks_get_webhook_service_unavailable_error_response_body.py +1 -1
  2247. samsara/types/webhooks_get_webhook_too_many_requests_error_response_body.py +1 -1
  2248. samsara/types/webhooks_get_webhook_unauthorized_error_response_body.py +1 -1
  2249. samsara/types/webhooks_list_webhooks_bad_gateway_error_response_body.py +1 -1
  2250. samsara/types/webhooks_list_webhooks_gateway_timeout_error_response_body.py +1 -1
  2251. samsara/types/webhooks_list_webhooks_internal_server_error_response_body.py +1 -1
  2252. samsara/types/webhooks_list_webhooks_method_not_allowed_error_response_body.py +1 -1
  2253. samsara/types/webhooks_list_webhooks_not_found_error_response_body.py +1 -1
  2254. samsara/types/webhooks_list_webhooks_not_implemented_error_response_body.py +1 -1
  2255. samsara/types/webhooks_list_webhooks_service_unavailable_error_response_body.py +1 -1
  2256. samsara/types/webhooks_list_webhooks_too_many_requests_error_response_body.py +1 -1
  2257. samsara/types/webhooks_list_webhooks_unauthorized_error_response_body.py +1 -1
  2258. samsara/types/webhooks_patch_webhook_bad_gateway_error_response_body.py +1 -1
  2259. samsara/types/webhooks_patch_webhook_gateway_timeout_error_response_body.py +1 -1
  2260. samsara/types/webhooks_patch_webhook_internal_server_error_response_body.py +1 -1
  2261. samsara/types/webhooks_patch_webhook_method_not_allowed_error_response_body.py +1 -1
  2262. samsara/types/webhooks_patch_webhook_not_found_error_response_body.py +1 -1
  2263. samsara/types/webhooks_patch_webhook_not_implemented_error_response_body.py +1 -1
  2264. samsara/types/webhooks_patch_webhook_response_body.py +3 -3
  2265. samsara/types/webhooks_patch_webhook_response_body_event_types_item.py +2 -0
  2266. samsara/types/webhooks_patch_webhook_service_unavailable_error_response_body.py +1 -1
  2267. samsara/types/webhooks_patch_webhook_too_many_requests_error_response_body.py +1 -1
  2268. samsara/types/webhooks_patch_webhook_unauthorized_error_response_body.py +1 -1
  2269. samsara/types/webhooks_post_webhooks_bad_gateway_error_response_body.py +1 -1
  2270. samsara/types/webhooks_post_webhooks_gateway_timeout_error_response_body.py +1 -1
  2271. samsara/types/webhooks_post_webhooks_internal_server_error_response_body.py +1 -1
  2272. samsara/types/webhooks_post_webhooks_method_not_allowed_error_response_body.py +1 -1
  2273. samsara/types/webhooks_post_webhooks_not_found_error_response_body.py +1 -1
  2274. samsara/types/webhooks_post_webhooks_not_implemented_error_response_body.py +1 -1
  2275. samsara/types/webhooks_post_webhooks_response_body.py +3 -3
  2276. samsara/types/webhooks_post_webhooks_response_body_event_types_item.py +2 -0
  2277. samsara/types/webhooks_post_webhooks_service_unavailable_error_response_body.py +1 -1
  2278. samsara/types/webhooks_post_webhooks_too_many_requests_error_response_body.py +1 -1
  2279. samsara/types/webhooks_post_webhooks_unauthorized_error_response_body.py +1 -1
  2280. samsara/types/work_order_attachment_object_response_body.py +2 -2
  2281. samsara/types/work_order_discount_object_request_body.py +1 -1
  2282. samsara/types/work_order_discount_object_response_body.py +1 -1
  2283. samsara/types/work_order_object_response_body.py +21 -18
  2284. samsara/types/work_order_tax_create_object_request_body.py +1 -1
  2285. samsara/types/work_order_tax_object_request_body.py +1 -1
  2286. samsara/types/work_order_tax_object_response_body.py +1 -1
  2287. samsara/types/work_orders_delete_work_orders_bad_gateway_error_response_body.py +1 -1
  2288. samsara/types/work_orders_delete_work_orders_gateway_timeout_error_response_body.py +1 -1
  2289. samsara/types/work_orders_delete_work_orders_internal_server_error_response_body.py +1 -1
  2290. samsara/types/work_orders_delete_work_orders_method_not_allowed_error_response_body.py +1 -1
  2291. samsara/types/work_orders_delete_work_orders_not_found_error_response_body.py +1 -1
  2292. samsara/types/work_orders_delete_work_orders_not_implemented_error_response_body.py +1 -1
  2293. samsara/types/work_orders_delete_work_orders_service_unavailable_error_response_body.py +1 -1
  2294. samsara/types/work_orders_delete_work_orders_too_many_requests_error_response_body.py +1 -1
  2295. samsara/types/work_orders_delete_work_orders_unauthorized_error_response_body.py +1 -1
  2296. samsara/types/work_orders_get_service_tasks_bad_gateway_error_response_body.py +1 -1
  2297. samsara/types/work_orders_get_service_tasks_gateway_timeout_error_response_body.py +1 -1
  2298. samsara/types/work_orders_get_service_tasks_internal_server_error_response_body.py +1 -1
  2299. samsara/types/work_orders_get_service_tasks_method_not_allowed_error_response_body.py +1 -1
  2300. samsara/types/work_orders_get_service_tasks_not_found_error_response_body.py +1 -1
  2301. samsara/types/work_orders_get_service_tasks_not_implemented_error_response_body.py +1 -1
  2302. samsara/types/work_orders_get_service_tasks_service_unavailable_error_response_body.py +1 -1
  2303. samsara/types/work_orders_get_service_tasks_too_many_requests_error_response_body.py +1 -1
  2304. samsara/types/work_orders_get_service_tasks_unauthorized_error_response_body.py +1 -1
  2305. samsara/types/work_orders_get_work_orders_bad_gateway_error_response_body.py +1 -1
  2306. samsara/types/work_orders_get_work_orders_gateway_timeout_error_response_body.py +1 -1
  2307. samsara/types/work_orders_get_work_orders_internal_server_error_response_body.py +1 -1
  2308. samsara/types/work_orders_get_work_orders_method_not_allowed_error_response_body.py +1 -1
  2309. samsara/types/work_orders_get_work_orders_not_found_error_response_body.py +1 -1
  2310. samsara/types/work_orders_get_work_orders_not_implemented_error_response_body.py +1 -1
  2311. samsara/types/work_orders_get_work_orders_service_unavailable_error_response_body.py +1 -1
  2312. samsara/types/work_orders_get_work_orders_too_many_requests_error_response_body.py +1 -1
  2313. samsara/types/work_orders_get_work_orders_unauthorized_error_response_body.py +1 -1
  2314. samsara/types/work_orders_patch_work_orders_bad_gateway_error_response_body.py +1 -1
  2315. samsara/types/work_orders_patch_work_orders_gateway_timeout_error_response_body.py +1 -1
  2316. samsara/types/work_orders_patch_work_orders_internal_server_error_response_body.py +1 -1
  2317. samsara/types/work_orders_patch_work_orders_method_not_allowed_error_response_body.py +1 -1
  2318. samsara/types/work_orders_patch_work_orders_not_found_error_response_body.py +1 -1
  2319. samsara/types/work_orders_patch_work_orders_not_implemented_error_response_body.py +1 -1
  2320. samsara/types/work_orders_patch_work_orders_service_unavailable_error_response_body.py +1 -1
  2321. samsara/types/work_orders_patch_work_orders_too_many_requests_error_response_body.py +1 -1
  2322. samsara/types/work_orders_patch_work_orders_unauthorized_error_response_body.py +1 -1
  2323. samsara/types/work_orders_post_invoice_scan_bad_gateway_error_response_body.py +33 -0
  2324. samsara/types/work_orders_post_invoice_scan_gateway_timeout_error_response_body.py +33 -0
  2325. samsara/types/work_orders_post_invoice_scan_internal_server_error_response_body.py +33 -0
  2326. samsara/types/work_orders_post_invoice_scan_method_not_allowed_error_response_body.py +33 -0
  2327. samsara/types/work_orders_post_invoice_scan_not_found_error_response_body.py +33 -0
  2328. samsara/types/work_orders_post_invoice_scan_not_implemented_error_response_body.py +33 -0
  2329. samsara/types/work_orders_post_invoice_scan_response_body.py +20 -0
  2330. samsara/types/work_orders_post_invoice_scan_service_unavailable_error_response_body.py +33 -0
  2331. samsara/types/work_orders_post_invoice_scan_too_many_requests_error_response_body.py +33 -0
  2332. samsara/types/work_orders_post_invoice_scan_unauthorized_error_response_body.py +33 -0
  2333. samsara/types/work_orders_post_work_orders_bad_gateway_error_response_body.py +1 -1
  2334. samsara/types/work_orders_post_work_orders_gateway_timeout_error_response_body.py +1 -1
  2335. samsara/types/work_orders_post_work_orders_internal_server_error_response_body.py +1 -1
  2336. samsara/types/work_orders_post_work_orders_method_not_allowed_error_response_body.py +1 -1
  2337. samsara/types/work_orders_post_work_orders_not_found_error_response_body.py +1 -1
  2338. samsara/types/work_orders_post_work_orders_not_implemented_error_response_body.py +1 -1
  2339. samsara/types/work_orders_post_work_orders_service_unavailable_error_response_body.py +1 -1
  2340. samsara/types/work_orders_post_work_orders_too_many_requests_error_response_body.py +1 -1
  2341. samsara/types/work_orders_post_work_orders_unauthorized_error_response_body.py +1 -1
  2342. samsara/types/work_orders_stream_work_orders_bad_gateway_error_response_body.py +1 -1
  2343. samsara/types/work_orders_stream_work_orders_gateway_timeout_error_response_body.py +1 -1
  2344. samsara/types/work_orders_stream_work_orders_internal_server_error_response_body.py +1 -1
  2345. samsara/types/work_orders_stream_work_orders_method_not_allowed_error_response_body.py +1 -1
  2346. samsara/types/work_orders_stream_work_orders_not_found_error_response_body.py +1 -1
  2347. samsara/types/work_orders_stream_work_orders_not_implemented_error_response_body.py +1 -1
  2348. samsara/types/work_orders_stream_work_orders_service_unavailable_error_response_body.py +1 -1
  2349. samsara/types/work_orders_stream_work_orders_too_many_requests_error_response_body.py +1 -1
  2350. samsara/types/work_orders_stream_work_orders_unauthorized_error_response_body.py +1 -1
  2351. samsara/types/worker_safety_sos_data_response_body.py +44 -0
  2352. samsara/types/worker_safety_sos_data_response_body_source_type.py +7 -0
  2353. samsara/types/workflow_address_event_with_geofence_object_response_body.py +4 -2
  2354. samsara/types/workflow_author_signature_object_response_body.py +4 -2
  2355. samsara/types/workflow_circle_response_body.py +3 -1
  2356. samsara/types/workflow_dvir_object_response_body.py +12 -10
  2357. samsara/types/workflow_geofence_event_response_object_response_body.py +1 -1
  2358. samsara/types/workflow_incident_condition_object_response_body.py +1 -1
  2359. samsara/types/workflow_incident_details_object_response_body.py +64 -56
  2360. samsara/types/workflow_trigger_object_request_body.py +8 -2
  2361. samsara/types/workflow_trigger_object_response_body.py +8 -2
  2362. samsara/vehicles/client.py +2 -2
  2363. samsara/vehicles/raw_client.py +2 -2
  2364. samsara/webhooks/types/webhooks_post_webhooks_request_body_event_types_item.py +2 -0
  2365. samsara/work_orders/__init__.py +0 -6
  2366. samsara/work_orders/client.py +132 -14
  2367. samsara/work_orders/raw_client.py +346 -14
  2368. samsara/work_orders/types/__init__.py +0 -6
  2369. {samsara_api-4.3.0.dist-info → samsara_api-5.3.1.dist-info}/LICENSE +1 -1
  2370. {samsara_api-4.3.0.dist-info → samsara_api-5.3.1.dist-info}/METADATA +1 -1
  2371. {samsara_api-4.3.0.dist-info → samsara_api-5.3.1.dist-info}/RECORD +2374 -2237
  2372. samsara/types/reading_type_response_body_data_type.py +0 -5
  2373. samsara/types/safety_event_driver.py +0 -5
  2374. samsara/types/safety_event_location.py +0 -5
  2375. samsara/types/safety_event_vehicle.py +0 -5
  2376. samsara/types/unit_response_body.py +0 -39
  2377. samsara/types/unit_response_body_base_unit.py +0 -77
  2378. samsara/types/unit_response_body_measurement_type.py +0 -32
  2379. samsara/types/vehicle_aux_input_type_1.py +0 -5
  2380. samsara/types/vehicle_aux_input_type_10.py +0 -5
  2381. samsara/types/vehicle_aux_input_type_11.py +0 -5
  2382. samsara/types/vehicle_aux_input_type_12.py +0 -5
  2383. samsara/types/vehicle_aux_input_type_13.py +0 -5
  2384. samsara/types/vehicle_aux_input_type_2.py +0 -5
  2385. samsara/types/vehicle_aux_input_type_3.py +0 -5
  2386. samsara/types/vehicle_aux_input_type_4.py +0 -5
  2387. samsara/types/vehicle_aux_input_type_5.py +0 -5
  2388. samsara/types/vehicle_aux_input_type_6.py +0 -5
  2389. samsara/types/vehicle_aux_input_type_7.py +0 -5
  2390. samsara/types/vehicle_aux_input_type_8.py +0 -5
  2391. samsara/types/vehicle_aux_input_type_9.py +0 -5
  2392. samsara/types/vehicle_location_reverse_geo.py +0 -5
  2393. samsara/types/vehicle_static_assigned_driver.py +0 -5
  2394. samsara/types/work_order_object_response_body_category.py +0 -7
  2395. samsara/work_orders/types/work_orders_patch_work_orders_request_body_category.py +0 -7
  2396. samsara/work_orders/types/work_orders_post_work_orders_request_body_category.py +0 -7
  2397. /samsara/{beta_ap_is → trips}/types/get_trips_request_completion_status.py +0 -0
  2398. /samsara/{beta_ap_is → trips}/types/get_trips_request_query_by.py +0 -0
  2399. {samsara_api-4.3.0.dist-info → samsara_api-5.3.1.dist-info}/WHEEL +0 -0
@@ -7,12 +7,13 @@ from ..core.client_wrapper import AsyncClientWrapper, SyncClientWrapper
7
7
  from ..core.request_options import RequestOptions
8
8
  from ..types.aemp_equipment_get_aemp_equipment_list_response_body import AempEquipmentGetAempEquipmentListResponseBody
9
9
  from ..types.assets_inputs_get_assets_inputs_response_body import AssetsInputsGetAssetsInputsResponseBody
10
+ from ..types.create_report_config_object_request_body import CreateReportConfigObjectRequestBody
11
+ from ..types.depreciation_get_depreciation_transactions_response_body import (
12
+ DepreciationGetDepreciationTransactionsResponseBody,
13
+ )
10
14
  from ..types.detection_log_get_detections_response_body import DetectionLogGetDetectionsResponseBody
11
15
  from ..types.devices_get_devices_response_body import DevicesGetDevicesResponseBody
12
16
  from ..types.driver_efficiencies_response import DriverEfficienciesResponse
13
- from ..types.drivers_auth_token_create_driver_auth_token_response_body import (
14
- DriversAuthTokenCreateDriverAuthTokenResponseBody,
15
- )
16
17
  from ..types.engine_immobilizer_get_engine_immobilizer_states_response_body import (
17
18
  EngineImmobilizerGetEngineImmobilizerStatesResponseBody,
18
19
  )
@@ -21,6 +22,9 @@ from ..types.functions_start_function_run_response_body import FunctionsStartFun
21
22
  from ..types.goa_attribute_tiny import GoaAttributeTiny
22
23
  from ..types.hos_daily_logs_update_shipping_docs_response_body import HosDailyLogsUpdateShippingDocsResponseBody
23
24
  from ..types.hos_eld_events_get_hos_eld_events_response_body import HosEldEventsGetHosEldEventsResponseBody
25
+ from ..types.hub_custom_properties_list_hub_custom_properties_response_body import (
26
+ HubCustomPropertiesListHubCustomPropertiesResponseBody,
27
+ )
24
28
  from ..types.jobs_create_job_response_body import JobsCreateJobResponseBody
25
29
  from ..types.jobs_delete_job_response_body import JobsDeleteJobResponseBody
26
30
  from ..types.jobs_get_jobs_response_body import JobsGetJobsResponseBody
@@ -51,10 +55,11 @@ from ..types.reading_datapoint_request_body import ReadingDatapointRequestBody
51
55
  from ..types.readings_get_readings_history_response_body import ReadingsGetReadingsHistoryResponseBody
52
56
  from ..types.readings_get_readings_snapshot_response_body import ReadingsGetReadingsSnapshotResponseBody
53
57
  from ..types.readings_list_readings_definitions_response_body import ReadingsListReadingsDefinitionsResponseBody
54
- from ..types.safety_events_v_2_get_safety_events_v_2_response_body import SafetyEventsV2GetSafetyEventsV2ResponseBody
55
- from ..types.safety_events_v_2_get_safety_events_v_2_stream_response_body import (
56
- SafetyEventsV2GetSafetyEventsV2StreamResponseBody,
57
- )
58
+ from ..types.reports_create_report_run_response_body import ReportsCreateReportRunResponseBody
59
+ from ..types.reports_get_datasets_response_body import ReportsGetDatasetsResponseBody
60
+ from ..types.reports_get_report_configs_response_body import ReportsGetReportConfigsResponseBody
61
+ from ..types.reports_get_report_run_data_response_body import ReportsGetReportRunDataResponseBody
62
+ from ..types.reports_get_report_runs_response_body import ReportsGetReportRunsResponseBody
58
63
  from ..types.safety_scores_get_driver_safety_score_trips_response_body import (
59
64
  SafetyScoresGetDriverSafetyScoreTripsResponseBody,
60
65
  )
@@ -67,15 +72,6 @@ from ..types.safety_scores_get_vehicle_safety_score_trips_response_body import (
67
72
  SafetyScoresGetVehicleSafetyScoreTripsResponseBody,
68
73
  )
69
74
  from ..types.safety_scores_get_vehicle_safety_scores_response_body import SafetyScoresGetVehicleSafetyScoresResponseBody
70
- from ..types.trailer_assignments_create_driver_trailer_assignment_response_body import (
71
- TrailerAssignmentsCreateDriverTrailerAssignmentResponseBody,
72
- )
73
- from ..types.trailer_assignments_get_driver_trailer_assignments_response_body import (
74
- TrailerAssignmentsGetDriverTrailerAssignmentsResponseBody,
75
- )
76
- from ..types.trailer_assignments_update_driver_trailer_assignment_response_body import (
77
- TrailerAssignmentsUpdateDriverTrailerAssignmentResponseBody,
78
- )
79
75
  from ..types.trailer_stats_get_trailer_stats_feed_response_body import TrailerStatsGetTrailerStatsFeedResponseBody
80
76
  from ..types.trailer_stats_get_trailer_stats_history_response_body import TrailerStatsGetTrailerStatsHistoryResponseBody
81
77
  from ..types.trailer_stats_get_trailer_stats_snapshot_response_body import (
@@ -91,7 +87,6 @@ from ..types.training_assignments_post_training_assignments_response_body import
91
87
  TrainingAssignmentsPostTrainingAssignmentsResponseBody,
92
88
  )
93
89
  from ..types.training_courses_get_training_courses_response_body import TrainingCoursesGetTrainingCoursesResponseBody
94
- from ..types.trips_get_trips_response_body import TripsGetTripsResponseBody
95
90
  from ..types.update_engine_immobilizer_relay_state_request_body_request_body import (
96
91
  UpdateEngineImmobilizerRelayStateRequestBodyRequestBody,
97
92
  )
@@ -109,8 +104,6 @@ from .types.get_qualification_records_stream_request_entity_type import GetQuali
109
104
  from .types.get_qualification_types_request_entity_type import GetQualificationTypesRequestEntityType
110
105
  from .types.get_tag_group_safety_scores_request_score_type import GetTagGroupSafetyScoresRequestScoreType
111
106
  from .types.get_tag_safety_scores_request_score_type import GetTagSafetyScoresRequestScoreType
112
- from .types.get_trips_request_completion_status import GetTripsRequestCompletionStatus
113
- from .types.get_trips_request_query_by import GetTripsRequestQueryBy
114
107
 
115
108
  # this is used as the default value for optional parameters
116
109
  OMIT = typing.cast(typing.Any, ...)
@@ -131,6 +124,61 @@ class BetaApIsClient:
131
124
  """
132
125
  return self._raw_client
133
126
 
127
+ def get_depreciation_transactions(
128
+ self,
129
+ *,
130
+ start_time: typing.Optional[dt.datetime] = None,
131
+ end_time: typing.Optional[dt.datetime] = None,
132
+ asset_ids: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
133
+ after: typing.Optional[str] = None,
134
+ request_options: typing.Optional[RequestOptions] = None,
135
+ ) -> DepreciationGetDepreciationTransactionsResponseBody:
136
+ """
137
+ Returns depreciation and adjustment transactions for assets. Transactions are returned ordered by updatedAt in ascending order (oldest to newest). Use startTime parameter for incremental sync.
138
+
139
+ <b>Rate limit:</b> 5 requests/sec (learn more about rate limits <a href="https://developers.samsara.com/docs/rate-limits" target="_blank">here</a>).
140
+
141
+ To use this endpoint, select **Read Assets** under the Assets category when creating or editing an API token. <a href="https://developers.samsara.com/docs/authentication#scopes-for-api-tokens" target="_blank">Learn More.</a>
142
+
143
+
144
+ **Submit Feedback**: Likes, dislikes, and API feature requests should be filed as feedback in our <a href="https://forms.gle/zkD4NCH7HjKb7mm69" target="_blank">API feedback form</a>. If you encountered an issue or noticed inaccuracies in the API documentation, please <a href="https://www.samsara.com/help" target="_blank">submit a case</a> to our support team.
145
+
146
+ Parameters
147
+ ----------
148
+ start_time : typing.Optional[dt.datetime]
149
+ RFC 3339 timestamp. Returns transactions updated after this time. Compared against updatedAt. If not provided, returns all transactions. Millisecond precision and timezones are supported. (Examples: 2019-06-13T19:08:25Z, 2019-06-13T19:08:25.455Z, OR 2015-09-15T14:00:12-04:00).
150
+
151
+ end_time : typing.Optional[dt.datetime]
152
+ RFC 3339 timestamp. Returns transactions updated before this time. Compared against updatedAt. If not provided, behaves as an unending feed of changes. Millisecond precision and timezones are supported. (Examples: 2019-06-13T19:08:25Z, 2019-06-13T19:08:25.455Z, OR 2015-09-15T14:00:12-04:00).
153
+
154
+ asset_ids : typing.Optional[typing.Union[str, typing.Sequence[str]]]
155
+ Filter by asset IDs. Up to 50 ids.
156
+
157
+ after : typing.Optional[str]
158
+ If specified, this should be the endCursor value from the previous page of results. When present, this request will return the next page of results that occur immediately after the previous page of results.
159
+
160
+ request_options : typing.Optional[RequestOptions]
161
+ Request-specific configuration.
162
+
163
+ Returns
164
+ -------
165
+ DepreciationGetDepreciationTransactionsResponseBody
166
+ OK response.
167
+
168
+ Examples
169
+ --------
170
+ from samsara import Samsara
171
+
172
+ client = Samsara(
173
+ token="YOUR_TOKEN",
174
+ )
175
+ client.beta_ap_is.get_depreciation_transactions()
176
+ """
177
+ _response = self._raw_client.get_depreciation_transactions(
178
+ start_time=start_time, end_time=end_time, asset_ids=asset_ids, after=after, request_options=request_options
179
+ )
180
+ return _response.data
181
+
134
182
  def get_assets_inputs(
135
183
  self,
136
184
  *,
@@ -914,7 +962,7 @@ class BetaApIsClient:
914
962
  relay_states=[
915
963
  UpdateEngineImmobilizerRelayStateRequestBodyRequestBody(
916
964
  id="relay1",
917
- is_open=False,
965
+ is_open=True,
918
966
  )
919
967
  ],
920
968
  )
@@ -1173,10 +1221,10 @@ class BetaApIsClient:
1173
1221
  Optional string of comma separated asset IDs. If asset ID is present, events for the specified asset(s) will be returned. Max for this value is 2000 objects. (Example: 281474982859091,281471982957527)
1174
1222
 
1175
1223
  detection_behavior_labels : typing.Optional[typing.Union[str, typing.Sequence[str]]]
1176
- Optional string of comma separated labels to filter behavior labels. Uses OR semantics for filtering. An empty list allows all values. Valid values: `acceleration`, `braking`, `crash`, `drowsy`, `eatingDrinking`, `edgeRailroadCrossingViolation`, `followingDistance`, `forwardCollisionWarning`, `genericDistraction`, `harshTurn`, `laneDeparture`, `maxSpeed`, `mobileUsage`, `noSeatbelt`, `obstructedCamera`, `passenger`, `policyViolationMask`, `rollingStop`, `rolloverProtection`, `smoking`, `speeding`, `unsafeParking`, `vulnerableRoadUserCollisionWarning`, `yawControl`. (Example: rollingStop,obstructedCamera,noSeatbelt)
1224
+ Optional string of comma separated labels to filter behavior labels. Uses OR semantics for filtering. An empty list allows all values. Valid values: `acceleration`, `braking`, `crash`, `drowsy`, `eatingDrinking`, `edgeRailroadCrossingViolation`, `followingDistance`, `forwardCollisionWarning`, `genericDistraction`, `harshTurn`, `heavySpeeding`, `laneDeparture`, `lightSpeeding`, `maxSpeed`, `mobileUsage`, `moderateSpeeding`, `noSeatbelt`, `obstructedCamera`, `passenger`, `policyViolationMask`, `ranRedLight`, `rearCollisionWarning`, `rollingStop`, `rolloverProtection`, `severeSpeeding`, `smoking`, `speeding`, `unsafeParking`, `vehicleInBlindSpotWarning`, `vulnerableRoadUserCollisionWarning`, `yawControl`. (Example: rollingStop,obstructedCamera,noSeatbelt)
1177
1225
 
1178
1226
  inbox_filter_reason : typing.Optional[typing.Union[str, typing.Sequence[str]]]
1179
- Optional string of comma separated reasons to filter detections. Uses OR semantics for filtering. An empty list allows all values. Valid values: `overDailyLimit`, `overHourlyLimit`, `overTripLimit`, `belowConfidenceThreshold`, `belowSeverityThreshold`, `overEventRateLimit`, `geofenceFilter`, `belowNudgeThreshold`, `belowSpeedThreshold`, `nighttimeFilter`, `speedingFilter`, `unknown`. (Example: overDailyLimit,overHourlyLimit,belowConfidenceThreshold)
1227
+ Optional string of comma separated reasons to filter detections. Uses OR semantics for filtering. An empty list allows all values. Valid values: `overDailyLimit`, `overHourlyLimit`, `overTripLimit`, `belowConfidenceThreshold`, `belowSeverityThreshold`, `overEventRateLimit`, `geofenceFilter`, `belowNudgeThreshold`, `belowSpeedThreshold`, `nighttimeFilter`, `speedingFilter`, `inCabAlertOnly`, `unknown`. (Example: overDailyLimit,overHourlyLimit,belowConfidenceThreshold)
1180
1228
 
1181
1229
  inbox_event : typing.Optional[bool]
1182
1230
  Indicates whether or not to return detections with an associated Safety Inbox event. An empty entry allows all values. (Example: true)
@@ -1243,6 +1291,9 @@ class BetaApIsClient:
1243
1291
  include_health: typing.Optional[bool] = None,
1244
1292
  after: typing.Optional[str] = None,
1245
1293
  limit: typing.Optional[int] = None,
1294
+ include_tags: typing.Optional[bool] = None,
1295
+ tag_ids: typing.Optional[str] = None,
1296
+ parent_tag_ids: typing.Optional[str] = None,
1246
1297
  request_options: typing.Optional[RequestOptions] = None,
1247
1298
  ) -> DevicesGetDevicesResponseBody:
1248
1299
  """
@@ -1274,6 +1325,15 @@ class BetaApIsClient:
1274
1325
  limit : typing.Optional[int]
1275
1326
  The limit for how many objects will be in the response. Default and max for this value is 100 objects.
1276
1327
 
1328
+ include_tags : typing.Optional[bool]
1329
+ Optional boolean to control whether tags are returned in the response. Defaults to false.
1330
+
1331
+ tag_ids : typing.Optional[str]
1332
+ A filter on the data based on this comma-separated list of tag IDs. Example: `tagIds=1234,5678`
1333
+
1334
+ parent_tag_ids : typing.Optional[str]
1335
+ A filter on the data based on this comma-separated list of parent tag IDs, for use by orgs with tag hierarchies. Specifying a parent tag will implicitly include all descendent tags of the parent tag. Example: `parentTagIds=345,678`
1336
+
1277
1337
  request_options : typing.Optional[RequestOptions]
1278
1338
  Request-specific configuration.
1279
1339
 
@@ -1297,221 +1357,13 @@ class BetaApIsClient:
1297
1357
  include_health=include_health,
1298
1358
  after=after,
1299
1359
  limit=limit,
1360
+ include_tags=include_tags,
1361
+ tag_ids=tag_ids,
1362
+ parent_tag_ids=parent_tag_ids,
1300
1363
  request_options=request_options,
1301
1364
  )
1302
1365
  return _response.data
1303
1366
 
1304
- def get_driver_trailer_assignments(
1305
- self,
1306
- *,
1307
- driver_ids: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
1308
- after: typing.Optional[str] = None,
1309
- include_external_ids: typing.Optional[bool] = None,
1310
- request_options: typing.Optional[RequestOptions] = None,
1311
- ) -> TrailerAssignmentsGetDriverTrailerAssignmentsResponseBody:
1312
- """
1313
- Get currently active driver-trailer assignments for driver.
1314
-
1315
- <b>Rate limit:</b> 5 requests/sec (learn more about rate limits <a href="https://developers.samsara.com/docs/rate-limits" target="_blank">here</a>).
1316
-
1317
- To use this endpoint, select **Read Assignments** under the Assignments category when creating or editing an API token. <a href="https://developers.samsara.com/docs/authentication#scopes-for-api-tokens" target="_blank">Learn More.</a>
1318
-
1319
-
1320
- **Submit Feedback**: Likes, dislikes, and API feature requests should be filed as feedback in our <a href="https://forms.gle/zkD4NCH7HjKb7mm69" target="_blank">API feedback form</a>. If you encountered an issue or noticed inaccuracies in the API documentation, please <a href="https://www.samsara.com/help" target="_blank">submit a case</a> to our support team.
1321
-
1322
- Parameters
1323
- ----------
1324
- driver_ids : typing.Optional[typing.Union[str, typing.Sequence[str]]]
1325
- A filter on the data based on this comma-separated list of driver IDs and externalIds. Example: `driverIds=1234,5678,payroll:4841`
1326
-
1327
- after : typing.Optional[str]
1328
- If specified, this should be the endCursor value from the previous page of results. When present, this request will return the next page of results that occur immediately after the previous page of results.
1329
-
1330
- include_external_ids : typing.Optional[bool]
1331
- Optional boolean indicating whether to return external IDs on supported entities
1332
-
1333
- request_options : typing.Optional[RequestOptions]
1334
- Request-specific configuration.
1335
-
1336
- Returns
1337
- -------
1338
- TrailerAssignmentsGetDriverTrailerAssignmentsResponseBody
1339
- OK response.
1340
-
1341
- Examples
1342
- --------
1343
- from samsara import Samsara
1344
-
1345
- client = Samsara(
1346
- token="YOUR_TOKEN",
1347
- )
1348
- client.beta_ap_is.get_driver_trailer_assignments()
1349
- """
1350
- _response = self._raw_client.get_driver_trailer_assignments(
1351
- driver_ids=driver_ids,
1352
- after=after,
1353
- include_external_ids=include_external_ids,
1354
- request_options=request_options,
1355
- )
1356
- return _response.data
1357
-
1358
- def create_driver_trailer_assignment(
1359
- self,
1360
- *,
1361
- driver_id: str,
1362
- trailer_id: str,
1363
- start_time: typing.Optional[str] = OMIT,
1364
- request_options: typing.Optional[RequestOptions] = None,
1365
- ) -> TrailerAssignmentsCreateDriverTrailerAssignmentResponseBody:
1366
- """
1367
- Create a new driver-trailer assignment
1368
-
1369
- <b>Rate limit:</b> 5 requests/sec (learn more about rate limits <a href="https://developers.samsara.com/docs/rate-limits" target="_blank">here</a>).
1370
-
1371
- To use this endpoint, select **Write Assignments** under the Assignments category when creating or editing an API token. <a href="https://developers.samsara.com/docs/authentication#scopes-for-api-tokens" target="_blank">Learn More.</a>
1372
-
1373
-
1374
- **Submit Feedback**: Likes, dislikes, and API feature requests should be filed as feedback in our <a href="https://forms.gle/zkD4NCH7HjKb7mm69" target="_blank">API feedback form</a>. If you encountered an issue or noticed inaccuracies in the API documentation, please <a href="https://www.samsara.com/help" target="_blank">submit a case</a> to our support team.
1375
-
1376
- Parameters
1377
- ----------
1378
- driver_id : str
1379
- ID of the driver. This can be either a unique Samsara ID or an [external ID](https://developers.samsara.com/docs/external-ids) for the driver.
1380
-
1381
- trailer_id : str
1382
- ID of the trailer. This can be either a unique Samsara ID or an [external ID](https://developers.samsara.com/docs/external-ids) for the trailer.
1383
-
1384
- start_time : typing.Optional[str]
1385
- The start time in RFC 3339 format. The time needs to be current or within the past 7 days. Defaults to now if not provided
1386
-
1387
- request_options : typing.Optional[RequestOptions]
1388
- Request-specific configuration.
1389
-
1390
- Returns
1391
- -------
1392
- TrailerAssignmentsCreateDriverTrailerAssignmentResponseBody
1393
- OK response.
1394
-
1395
- Examples
1396
- --------
1397
- from samsara import Samsara
1398
-
1399
- client = Samsara(
1400
- token="YOUR_TOKEN",
1401
- )
1402
- client.beta_ap_is.create_driver_trailer_assignment(
1403
- driver_id="494123",
1404
- trailer_id="12345",
1405
- )
1406
- """
1407
- _response = self._raw_client.create_driver_trailer_assignment(
1408
- driver_id=driver_id, trailer_id=trailer_id, start_time=start_time, request_options=request_options
1409
- )
1410
- return _response.data
1411
-
1412
- def update_driver_trailer_assignment(
1413
- self, *, id: str, end_time: str, request_options: typing.Optional[RequestOptions] = None
1414
- ) -> TrailerAssignmentsUpdateDriverTrailerAssignmentResponseBody:
1415
- """
1416
- Update an existing driver-trailer assignment.
1417
-
1418
- <b>Rate limit:</b> 5 requests/sec (learn more about rate limits <a href="https://developers.samsara.com/docs/rate-limits" target="_blank">here</a>).
1419
-
1420
- To use this endpoint, select **Write Assignments** under the Assignments category when creating or editing an API token. <a href="https://developers.samsara.com/docs/authentication#scopes-for-api-tokens" target="_blank">Learn More.</a>
1421
-
1422
-
1423
- **Submit Feedback**: Likes, dislikes, and API feature requests should be filed as feedback in our <a href="https://forms.gle/zkD4NCH7HjKb7mm69" target="_blank">API feedback form</a>. If you encountered an issue or noticed inaccuracies in the API documentation, please <a href="https://www.samsara.com/help" target="_blank">submit a case</a> to our support team.
1424
-
1425
- Parameters
1426
- ----------
1427
- id : str
1428
- Samsara ID for the assignment.
1429
-
1430
- end_time : str
1431
- The end time in RFC 3339 format. The end time should not be in the future
1432
-
1433
- request_options : typing.Optional[RequestOptions]
1434
- Request-specific configuration.
1435
-
1436
- Returns
1437
- -------
1438
- TrailerAssignmentsUpdateDriverTrailerAssignmentResponseBody
1439
- OK response.
1440
-
1441
- Examples
1442
- --------
1443
- from samsara import Samsara
1444
-
1445
- client = Samsara(
1446
- token="YOUR_TOKEN",
1447
- )
1448
- client.beta_ap_is.update_driver_trailer_assignment(
1449
- id="id",
1450
- end_time="2019-06-13T19:08:25Z",
1451
- )
1452
- """
1453
- _response = self._raw_client.update_driver_trailer_assignment(
1454
- id=id, end_time=end_time, request_options=request_options
1455
- )
1456
- return _response.data
1457
-
1458
- def create_driver_auth_token(
1459
- self,
1460
- *,
1461
- code: str,
1462
- external_id: typing.Optional[str] = OMIT,
1463
- id: typing.Optional[int] = OMIT,
1464
- username: typing.Optional[str] = OMIT,
1465
- request_options: typing.Optional[RequestOptions] = None,
1466
- ) -> DriversAuthTokenCreateDriverAuthTokenResponseBody:
1467
- """
1468
- Creates a short-lived auth token for a driver.
1469
-
1470
- <b>Rate limit:</b> 100 requests/min (learn more about rate limits <a href="https://developers.samsara.com/docs/rate-limits" target="_blank">here</a>).
1471
-
1472
- To use this endpoint, select **Write Driver Auth Token** under the Closed Beta category when creating or editing an API token. <a href="https://developers.samsara.com/docs/authentication#scopes-for-api-tokens" target="_blank">Learn More.</a>
1473
-
1474
-
1475
- **Submit Feedback**: Likes, dislikes, and API feature requests should be filed as feedback in our <a href="https://forms.gle/zkD4NCH7HjKb7mm69" target="_blank">API feedback form</a>. If you encountered an issue or noticed inaccuracies in the API documentation, please <a href="https://www.samsara.com/help" target="_blank">submit a case</a> to our support team.
1476
-
1477
- Parameters
1478
- ----------
1479
- code : str
1480
- Required. Random 12+ character string, used with the auth token to help secure the client from intercepted tokens.
1481
-
1482
- external_id : typing.Optional[str]
1483
- Optional. External ID of the driver, in the format `key:value` (e.g., `payrollId:ABFS18600`). One of `id`, `externalId`, or `username` is required.
1484
-
1485
- id : typing.Optional[int]
1486
- Optional. Samsara ID of the driver. One of `id`, `externalId`, or `username` is required.
1487
-
1488
- username : typing.Optional[str]
1489
- Optional. Username of the driver. This is the login identifier configured when the driver is created. One of `id`, `externalId`, or `username` is required.
1490
-
1491
- request_options : typing.Optional[RequestOptions]
1492
- Request-specific configuration.
1493
-
1494
- Returns
1495
- -------
1496
- DriversAuthTokenCreateDriverAuthTokenResponseBody
1497
- OK response.
1498
-
1499
- Examples
1500
- --------
1501
- from samsara import Samsara
1502
-
1503
- client = Samsara(
1504
- token="YOUR_TOKEN",
1505
- )
1506
- client.beta_ap_is.create_driver_auth_token(
1507
- code="dp[gZc1wAigz4uGa0Hh",
1508
- )
1509
- """
1510
- _response = self._raw_client.create_driver_auth_token(
1511
- code=code, external_id=external_id, id=id, username=username, request_options=request_options
1512
- )
1513
- return _response.data
1514
-
1515
1367
  def get_engine_immobilizer_states(
1516
1368
  self,
1517
1369
  *,
@@ -1682,55 +1534,133 @@ class BetaApIsClient:
1682
1534
  )
1683
1535
  return _response.data
1684
1536
 
1685
- def create_plan_orders(
1537
+ def list_hub_custom_properties(
1686
1538
  self,
1687
1539
  *,
1688
- data: typing.Sequence[OrderInputObjectRequestBody],
1689
- enable_update_existing_orders: typing.Optional[bool] = OMIT,
1540
+ hub_id: str,
1541
+ custom_property_ids: typing.Optional[str] = None,
1542
+ custom_property_names: typing.Optional[str] = None,
1543
+ start_time: typing.Optional[dt.datetime] = None,
1544
+ end_time: typing.Optional[dt.datetime] = None,
1545
+ after: typing.Optional[str] = None,
1546
+ limit: typing.Optional[int] = None,
1690
1547
  request_options: typing.Optional[RequestOptions] = None,
1691
- ) -> PlanOrdersCreatePlanOrdersResponseBody:
1548
+ ) -> HubCustomPropertiesListHubCustomPropertiesResponseBody:
1692
1549
  """
1693
- Create one or more orders (bulk upsert). Pass an array of order objects; any object whose customerOrderId already exists will be updated, otherwise a new order is created. Functions can return JSON arrays in this Order POST format. Orders are initially created at the plan level but will migrate to hub-level entities, with planId becoming optional in future versions.
1550
+ Retrieve custom properties for a specific hub.
1694
1551
 
1695
1552
  **Beta:** This endpoint is in beta and is likely to change before being broadly available. Reach out to your Samsara Representative to have RoutePlanning APIs enabled for your organization.
1696
1553
 
1697
- <b>Rate limit:</b> 5 requests/sec (learn more about rate limits <a href="https://developers.samsara.com/docs/rate-limits" target="_blank">here</a>).
1554
+ <b>Rate limit:</b> 10 requests/sec (learn more about rate limits <a href="https://developers.samsara.com/docs/rate-limits" target="_blank">here</a>).
1698
1555
 
1699
- To use this endpoint, select **Write Routes** under the Driver Workflow category when creating or editing an API token. <a href="https://developers.samsara.com/docs/authentication#scopes-for-api-tokens" target="_blank">Learn More.</a>
1556
+ To use this endpoint, select **Read Routes** under the Driver Workflow category when creating or editing an API token. <a href="https://developers.samsara.com/docs/authentication#scopes-for-api-tokens" target="_blank">Learn More.</a>
1700
1557
 
1701
1558
 
1702
1559
  **Submit Feedback**: Likes, dislikes, and API feature requests should be filed as feedback in our <a href="https://forms.gle/zkD4NCH7HjKb7mm69" target="_blank">API feedback form</a>. If you encountered an issue or noticed inaccuracies in the API documentation, please <a href="https://www.samsara.com/help" target="_blank">submit a case</a> to our support team.
1703
1560
 
1704
1561
  Parameters
1705
1562
  ----------
1706
- data : typing.Sequence[OrderInputObjectRequestBody]
1707
- An array of order objects to be created or updated
1563
+ hub_id : str
1564
+ The hub identifier
1708
1565
 
1709
- enable_update_existing_orders : typing.Optional[bool]
1710
- Enable update of existing orders if an order with the same customerOrderId exists. The input must match the same quantity dimensions as the existing order. If not provided, requests will fail if an order's customerOrderId already exists.
1566
+ custom_property_ids : typing.Optional[str]
1567
+ A comma-separated list of custom property IDs that can be used for filtering.
1568
+
1569
+ custom_property_names : typing.Optional[str]
1570
+ A comma-separated list of custom property names that can be used for filtering.
1571
+
1572
+ start_time : typing.Optional[dt.datetime]
1573
+ Time filter of when the custom property was updated, in RFC 3339 format
1574
+
1575
+ end_time : typing.Optional[dt.datetime]
1576
+ Time filter of when the custom property was updated, in RFC 3339 format
1577
+
1578
+ after : typing.Optional[str]
1579
+ If specified, should be the endCursor from the previous page of results. When present, this request will return the next page of results that occur immediately after the previous page of results.
1580
+
1581
+ limit : typing.Optional[int]
1582
+ Maximum number of objects to return. Default and maximum is 100
1711
1583
 
1712
1584
  request_options : typing.Optional[RequestOptions]
1713
1585
  Request-specific configuration.
1714
1586
 
1715
1587
  Returns
1716
1588
  -------
1717
- PlanOrdersCreatePlanOrdersResponseBody
1589
+ HubCustomPropertiesListHubCustomPropertiesResponseBody
1718
1590
  OK response.
1719
1591
 
1720
1592
  Examples
1721
1593
  --------
1722
- from samsara import OrderInputObjectRequestBody, Samsara
1594
+ from samsara import Samsara
1723
1595
 
1724
1596
  client = Samsara(
1725
1597
  token="YOUR_TOKEN",
1726
1598
  )
1727
- client.beta_ap_is.create_plan_orders(
1728
- data=[
1729
- OrderInputObjectRequestBody(
1730
- customer_order_id="ORDER-2024-001",
1731
- hub_id="550e8400-e29b-41d4-a716-446655440000",
1732
- plan_id="650e8400-e29b-41d4-a716-446655440023",
1733
- )
1599
+ client.beta_ap_is.list_hub_custom_properties(
1600
+ hub_id="hubId",
1601
+ )
1602
+ """
1603
+ _response = self._raw_client.list_hub_custom_properties(
1604
+ hub_id=hub_id,
1605
+ custom_property_ids=custom_property_ids,
1606
+ custom_property_names=custom_property_names,
1607
+ start_time=start_time,
1608
+ end_time=end_time,
1609
+ after=after,
1610
+ limit=limit,
1611
+ request_options=request_options,
1612
+ )
1613
+ return _response.data
1614
+
1615
+ def create_plan_orders(
1616
+ self,
1617
+ *,
1618
+ data: typing.Sequence[OrderInputObjectRequestBody],
1619
+ enable_update_existing_orders: typing.Optional[bool] = OMIT,
1620
+ request_options: typing.Optional[RequestOptions] = None,
1621
+ ) -> PlanOrdersCreatePlanOrdersResponseBody:
1622
+ """
1623
+ Create one or more orders (bulk upsert). Pass an array of order objects; any object whose customerOrderId already exists will be updated, otherwise a new order is created. Functions can return JSON arrays in this Order POST format. Orders are initially created at the plan level but will migrate to hub-level entities, with planId becoming optional in future versions.
1624
+
1625
+ **Beta:** This endpoint is in beta and is likely to change before being broadly available. Reach out to your Samsara Representative to have RoutePlanning APIs enabled for your organization.
1626
+
1627
+ <b>Rate limit:</b> 5 requests/sec (learn more about rate limits <a href="https://developers.samsara.com/docs/rate-limits" target="_blank">here</a>).
1628
+
1629
+ To use this endpoint, select **Write Routes** under the Driver Workflow category when creating or editing an API token. <a href="https://developers.samsara.com/docs/authentication#scopes-for-api-tokens" target="_blank">Learn More.</a>
1630
+
1631
+
1632
+ **Submit Feedback**: Likes, dislikes, and API feature requests should be filed as feedback in our <a href="https://forms.gle/zkD4NCH7HjKb7mm69" target="_blank">API feedback form</a>. If you encountered an issue or noticed inaccuracies in the API documentation, please <a href="https://www.samsara.com/help" target="_blank">submit a case</a> to our support team.
1633
+
1634
+ Parameters
1635
+ ----------
1636
+ data : typing.Sequence[OrderInputObjectRequestBody]
1637
+ An array of order objects to be created or updated
1638
+
1639
+ enable_update_existing_orders : typing.Optional[bool]
1640
+ Enable update of existing orders if an order with the same customerOrderId exists. The input must match the same quantity dimensions as the existing order. If not provided, requests will fail if an order's customerOrderId already exists.
1641
+
1642
+ request_options : typing.Optional[RequestOptions]
1643
+ Request-specific configuration.
1644
+
1645
+ Returns
1646
+ -------
1647
+ PlanOrdersCreatePlanOrdersResponseBody
1648
+ OK response.
1649
+
1650
+ Examples
1651
+ --------
1652
+ from samsara import OrderInputObjectRequestBody, Samsara
1653
+
1654
+ client = Samsara(
1655
+ token="YOUR_TOKEN",
1656
+ )
1657
+ client.beta_ap_is.create_plan_orders(
1658
+ data=[
1659
+ OrderInputObjectRequestBody(
1660
+ customer_order_id="ORDER-2024-001",
1661
+ hub_id="550e8400-e29b-41d4-a716-446655440000",
1662
+ plan_id="650e8400-e29b-41d4-a716-446655440023",
1663
+ )
1734
1664
  ],
1735
1665
  )
1736
1666
  """
@@ -2044,7 +1974,7 @@ class BetaApIsClient:
2044
1974
  request_options: typing.Optional[RequestOptions] = None,
2045
1975
  ) -> QualificationsGetQualificationRecordsStreamResponseBody:
2046
1976
  """
2047
- Returns all qualification records that have been created or modified for your organization based on the time parameters passed in. Results are paginated and sorted by last modified time. If you include an endTime, the endpoint will return data up until that point (exclusive). If you dont include an endTime, you can continue to poll the API real-time with the pagination cursor that gets returned on every call.
1977
+ Returns all qualification records that have been created or modified for your organization based on the time parameters passed in. Results are paginated and are sorted by last modified date. If you include an endTime, the endpoint will return data up until that point (exclusive). If you don't include an endTime, the API will continue to poll with the pagination cursor that gets returned on every call. The hasNextPage response value will be true if there is no endTime specified and endCursor is nonempty.
2048
1978
 
2049
1979
  <b>Rate limit:</b> 5 requests/sec (learn more about rate limits <a href="https://developers.samsara.com/docs/rate-limits" target="_blank">here</a>).
2050
1980
 
@@ -2270,10 +2200,6 @@ class BetaApIsClient:
2270
2200
  ) -> ReadingsListReadingsDefinitionsResponseBody:
2271
2201
  """
2272
2202
  An introspection endpoint for discovering the set of readings including their name, description, data type, unit, and other metadata.
2273
- Examples:
2274
- Diagnostic/Engine Readings: engineState, engineSpeed, fuelLevelPerc etc.
2275
- Level Monitoring Readings: defLevel, defLevelMilliPercent etc.
2276
- Smart Trailer Readings: reeferState etc.
2277
2203
 
2278
2204
  <b>Rate limit:</b> 10 requests/sec (learn more about rate limits <a href="https://developers.samsara.com/docs/rate-limits" target="_blank">here</a>).
2279
2205
 
@@ -2331,20 +2257,6 @@ class BetaApIsClient:
2331
2257
  ) -> ReadingsGetReadingsHistoryResponseBody:
2332
2258
  """
2333
2259
  Get the values of a reading for a set of entities within the specified time range. Returns a paginated response with data for the specified resource IDs where startTime <= happenedAtTime < endTime. End time of null implies endTime is infinite and all known readings are returned.
2334
- Example:
2335
- engineRpm Readings for entityId 212014918105584 between time 2025-01-27T19:22:30Z and 2025-01-27T19:25:00Z
2336
- "data": [
2337
- {
2338
- "entityId": "212014918105584",
2339
- "value": 807,
2340
- "happenedAtTime": "2025-01-27T19:22:30Z"
2341
- },
2342
- {
2343
- "entityId": "212014918105584",
2344
- "value": 811,
2345
- "happenedAtTime": "2025-01-27T19:24:30Z"
2346
- }
2347
- ],
2348
2260
 
2349
2261
  <b>Rate limit:</b> 10 requests/sec (learn more about rate limits <a href="https://developers.samsara.com/docs/rate-limits" target="_blank">here</a>).
2350
2262
 
@@ -2368,7 +2280,7 @@ class BetaApIsClient:
2368
2280
  A filter on the data based on this comma-separated list of entity IDs or external IDs. If not set, all entities are returned.
2369
2281
 
2370
2282
  external_ids : typing.Optional[str]
2371
- A filter on the data based on this comma-separated list of external IDs.
2283
+ A filter on the data based on this comma-separated list of external IDs. (Examples: samsara.serial:ZPXKLMN7VJ, samsara.serial:ABXKIMN4NM)
2372
2284
 
2373
2285
  start_time : typing.Optional[str]
2374
2286
  A filter on the data that returns the last known data points with timestamps greater than or equal to this value. Must be a string in RFC 3339 format. Millisecond precision and timezones are supported. (Examples: 2020-01-27T07:06:25Z)
@@ -2430,16 +2342,6 @@ class BetaApIsClient:
2430
2342
  ) -> ReadingsGetReadingsSnapshotResponseBody:
2431
2343
  """
2432
2344
  An endpoint to get the last value of a reading for a set of entities at the specified time.
2433
- Example:
2434
- engineRpm Readings for entityId 212014918105584 at time 2025-04-16T20:49:19Z
2435
- "data": [
2436
- {
2437
- "readingId": "engineRpm",
2438
- "entityId": "212014918105584",
2439
- "value": 600,
2440
- "happenedAtTime": "2025-04-16T20:49:19Z"
2441
- }
2442
- ],
2443
2345
 
2444
2346
  <b>Rate limit:</b> 10 requests/sec (learn more about rate limits <a href="https://developers.samsara.com/docs/rate-limits" target="_blank">here</a>).
2445
2347
 
@@ -2463,7 +2365,7 @@ class BetaApIsClient:
2463
2365
  A filter on the data based on this comma-separated list of entity IDs or external IDs. If not set, all entities are returned.
2464
2366
 
2465
2367
  external_ids : typing.Optional[str]
2466
- A filter on the data based on this comma-separated list of external IDs.
2368
+ A filter on the data based on this comma-separated list of external IDs. (Examples: samsara.serial:ZPXKLMN7VJ, samsara.serial:ABXKIMN4NM)
2467
2369
 
2468
2370
  as_of_time : typing.Optional[str]
2469
2371
  A filter on the data that returns the last known data points with timestamps less than or equal to this value. Defaults to now if not provided. Must be a string in RFC 3339 format. Millisecond precision and timezones are supported. (Examples: 2020-01-27T07:06:25Z)
@@ -2503,45 +2405,92 @@ class BetaApIsClient:
2503
2405
  )
2504
2406
  return _response.data
2505
2407
 
2506
- def get_safety_events_v_2(
2408
+ def get_report_configs(
2507
2409
  self,
2508
2410
  *,
2509
- safety_event_ids: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
2510
- include_asset: typing.Optional[bool] = None,
2511
- include_driver: typing.Optional[bool] = None,
2512
2411
  after: typing.Optional[str] = None,
2412
+ limit: typing.Optional[int] = None,
2413
+ ids: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
2513
2414
  request_options: typing.Optional[RequestOptions] = None,
2514
- ) -> SafetyEventsV2GetSafetyEventsV2ResponseBody:
2415
+ ) -> ReportsGetReportConfigsResponseBody:
2515
2416
  """
2516
- This endpoint will return details for the specified safety events based on the parameters passed in. Results are paginated.
2417
+ Get report configs created in the organization.
2517
2418
 
2518
2419
  <b>Rate limit:</b> 5 requests/sec (learn more about rate limits <a href="https://developers.samsara.com/docs/rate-limits" target="_blank">here</a>).
2519
2420
 
2520
- To use this endpoint, select **Read Safety Events & Scores** under the Safety & Cameras 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>
2421
+ To use this endpoint, select **Read Custom Reports** under the Custom Reports category when creating or editing an API token. <a href="https://developers.samsara.com/docs/authentication#scopes-for-api-tokens" target="_blank">Learn More.</a>
2521
2422
 
2522
2423
 
2523
2424
  **Submit Feedback**: Likes, dislikes, and API feature requests should be filed as feedback in our <a href="https://forms.gle/zkD4NCH7HjKb7mm69" target="_blank">API feedback form</a>. If you encountered an issue or noticed inaccuracies in the API documentation, please <a href="https://www.samsara.com/help" target="_blank">submit a case</a> to our support team.
2524
2425
 
2525
2426
  Parameters
2526
2427
  ----------
2527
- safety_event_ids : typing.Optional[typing.Union[str, typing.Sequence[str]]]
2528
- Required string of comma separated Safety Event IDs. Unique Samsara IDs (uuid) of the safety event.
2428
+ after : typing.Optional[str]
2429
+ If specified, this should be the endCursor value from the previous page of results. When present, this request will return the next page of results that occur immediately after the previous page of results.
2529
2430
 
2530
- include_asset : typing.Optional[bool]
2531
- Indicates whether or not to return expanded “asset” data
2431
+ limit : typing.Optional[int]
2432
+ Maximum number of configs to return
2532
2433
 
2533
- include_driver : typing.Optional[bool]
2534
- Indicates whether or not to return expanded “driver” data
2434
+ ids : typing.Optional[typing.Union[str, typing.Sequence[str]]]
2435
+ The list of report config IDs to retrieve. Include up to 10 report config IDs. If not provided, all configs will be returned.
2436
+
2437
+ request_options : typing.Optional[RequestOptions]
2438
+ Request-specific configuration.
2439
+
2440
+ Returns
2441
+ -------
2442
+ ReportsGetReportConfigsResponseBody
2443
+ OK response.
2444
+
2445
+ Examples
2446
+ --------
2447
+ from samsara import Samsara
2448
+
2449
+ client = Samsara(
2450
+ token="YOUR_TOKEN",
2451
+ )
2452
+ client.beta_ap_is.get_report_configs()
2453
+ """
2454
+ _response = self._raw_client.get_report_configs(
2455
+ after=after, limit=limit, ids=ids, request_options=request_options
2456
+ )
2457
+ return _response.data
2458
+
2459
+ def get_datasets(
2460
+ self,
2461
+ *,
2462
+ ids: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
2463
+ after: typing.Optional[str] = None,
2464
+ limit: typing.Optional[int] = None,
2465
+ request_options: typing.Optional[RequestOptions] = None,
2466
+ ) -> ReportsGetDatasetsResponseBody:
2467
+ """
2468
+ Get datasets for custom reports.
2469
+
2470
+ <b>Rate limit:</b> 5 requests/sec (learn more about rate limits <a href="https://developers.samsara.com/docs/rate-limits" target="_blank">here</a>).
2471
+
2472
+ To use this endpoint, select **Read Custom Reports** under the Custom Reports category when creating or editing an API token. <a href="https://developers.samsara.com/docs/authentication#scopes-for-api-tokens" target="_blank">Learn More.</a>
2473
+
2474
+
2475
+ **Submit Feedback**: Likes, dislikes, and API feature requests should be filed as feedback in our <a href="https://forms.gle/zkD4NCH7HjKb7mm69" target="_blank">API feedback form</a>. If you encountered an issue or noticed inaccuracies in the API documentation, please <a href="https://www.samsara.com/help" target="_blank">submit a case</a> to our support team.
2476
+
2477
+ Parameters
2478
+ ----------
2479
+ ids : typing.Optional[typing.Union[str, typing.Sequence[str]]]
2480
+ The list of dataset IDs to retrieve the datasets for. Include up to 10 dataset IDs. If not provided, all datasets will be returned.
2535
2481
 
2536
2482
  after : typing.Optional[str]
2537
2483
  If specified, this should be the endCursor value from the previous page of results. When present, this request will return the next page of results that occur immediately after the previous page of results.
2538
2484
 
2485
+ limit : typing.Optional[int]
2486
+ Maximum number of datasets to return.
2487
+
2539
2488
  request_options : typing.Optional[RequestOptions]
2540
2489
  Request-specific configuration.
2541
2490
 
2542
2491
  Returns
2543
2492
  -------
2544
- SafetyEventsV2GetSafetyEventsV2ResponseBody
2493
+ ReportsGetDatasetsResponseBody
2545
2494
  OK response.
2546
2495
 
2547
2496
  Examples
@@ -2551,84 +2500,143 @@ class BetaApIsClient:
2551
2500
  client = Samsara(
2552
2501
  token="YOUR_TOKEN",
2553
2502
  )
2554
- client.beta_ap_is.get_safety_events_v_2()
2503
+ client.beta_ap_is.get_datasets()
2555
2504
  """
2556
- _response = self._raw_client.get_safety_events_v_2(
2557
- safety_event_ids=safety_event_ids,
2558
- include_asset=include_asset,
2559
- include_driver=include_driver,
2560
- after=after,
2561
- request_options=request_options,
2562
- )
2505
+ _response = self._raw_client.get_datasets(ids=ids, after=after, limit=limit, request_options=request_options)
2563
2506
  return _response.data
2564
2507
 
2565
- def get_safety_events_v_2_stream(
2508
+ def get_report_runs(
2566
2509
  self,
2567
2510
  *,
2568
- start_time: str,
2569
- end_time: typing.Optional[str] = None,
2570
- asset_ids: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
2571
- driver_ids: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
2572
- tag_ids: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
2573
- assigned_coaches: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
2574
- behavior_labels: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
2575
- event_states: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
2576
- include_asset: typing.Optional[bool] = None,
2577
- include_driver: typing.Optional[bool] = None,
2511
+ report_config_ids: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
2512
+ ids: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
2578
2513
  after: typing.Optional[str] = None,
2514
+ limit: typing.Optional[int] = None,
2579
2515
  request_options: typing.Optional[RequestOptions] = None,
2580
- ) -> SafetyEventsV2GetSafetyEventsV2StreamResponseBody:
2516
+ ) -> ReportsGetReportRunsResponseBody:
2581
2517
  """
2582
- This endpoint will return all safety events associated with your organization based on the parameters passed in. To get core endpoint data, select Read Safety Events & Scores under the Safety & Cameras category when creating or editing an API token. Read Camera Media permissions required to get Safety Event video media via this endpoint. If you include an endTime, the endpoint will return data up until that point. If you do not include an endTime, you can continue to poll the API real-time with the pagination cursor that gets returned on every call. Results are paginated.
2518
+ Get custom report runs created by the user.
2583
2519
 
2584
2520
  <b>Rate limit:</b> 5 requests/sec (learn more about rate limits <a href="https://developers.samsara.com/docs/rate-limits" target="_blank">here</a>).
2585
2521
 
2586
- To use this endpoint, select **Read Safety Events & Scores** under the Safety & Cameras 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>
2522
+ To use this endpoint, select **Read Custom Reports** under the Custom Reports category when creating or editing an API token. <a href="https://developers.samsara.com/docs/authentication#scopes-for-api-tokens" target="_blank">Learn More.</a>
2587
2523
 
2588
2524
 
2589
2525
  **Submit Feedback**: Likes, dislikes, and API feature requests should be filed as feedback in our <a href="https://forms.gle/zkD4NCH7HjKb7mm69" target="_blank">API feedback form</a>. If you encountered an issue or noticed inaccuracies in the API documentation, please <a href="https://www.samsara.com/help" target="_blank">submit a case</a> to our support team.
2590
2526
 
2591
2527
  Parameters
2592
2528
  ----------
2593
- start_time : str
2594
- RFC 3339 timestamp that indicates when to begin receiving data. Value is compared against `updatedAtTime` of the events.
2529
+ report_config_ids : typing.Optional[typing.Union[str, typing.Sequence[str]]]
2530
+ The list of report config IDs to retrieve the report runs for. Include up to 10 report config IDs. If not provided, runs for all configs will be returned.
2595
2531
 
2596
- end_time : typing.Optional[str]
2597
- RFC 3339 timestamp which is compared against `updatedAtTime` of the events. If not provided then the endpoint behaves as an unending feed of changes.
2532
+ ids : typing.Optional[typing.Union[str, typing.Sequence[str]]]
2533
+ The list of report run IDs to retrieve the report runs for. Include up to 10 report run IDs. If not provided, all report runs will be returned.
2598
2534
 
2599
- asset_ids : typing.Optional[typing.Union[str, typing.Sequence[str]]]
2600
- Optional string of comma separated asset IDs. If asset ID is present, events for the specified asset(s) will be returned. Limit of 2000 asset IDs.
2535
+ after : typing.Optional[str]
2536
+ If specified, this should be the endCursor value from the previous page of results. When present, this request will return the next page of results that occur immediately after the previous page of results.
2601
2537
 
2602
- driver_ids : typing.Optional[typing.Union[str, typing.Sequence[str]]]
2603
- Optional string of comma separated driver IDs. If driver ID is present, events for the specified driver(s) will be returned. Limit of 2000 driver IDs.
2538
+ limit : typing.Optional[int]
2539
+ Maximum number of runs to return.
2604
2540
 
2605
- tag_ids : typing.Optional[typing.Union[str, typing.Sequence[str]]]
2606
- Optional string of comma separated tag IDs. If tag ID is present, events for the specified tag(s) will be returned. Limit of 2000 tag IDs.
2541
+ request_options : typing.Optional[RequestOptions]
2542
+ Request-specific configuration.
2543
+
2544
+ Returns
2545
+ -------
2546
+ ReportsGetReportRunsResponseBody
2547
+ OK response.
2548
+
2549
+ Examples
2550
+ --------
2551
+ from samsara import Samsara
2552
+
2553
+ client = Samsara(
2554
+ token="YOUR_TOKEN",
2555
+ )
2556
+ client.beta_ap_is.get_report_runs()
2557
+ """
2558
+ _response = self._raw_client.get_report_runs(
2559
+ report_config_ids=report_config_ids, ids=ids, after=after, limit=limit, request_options=request_options
2560
+ )
2561
+ return _response.data
2562
+
2563
+ def create_report_run(
2564
+ self,
2565
+ *,
2566
+ report_config: CreateReportConfigObjectRequestBody,
2567
+ request_options: typing.Optional[RequestOptions] = None,
2568
+ ) -> ReportsCreateReportRunResponseBody:
2569
+ """
2570
+ Triggers a new custom report run based on the provided configuration.
2607
2571
 
2608
- assigned_coaches : typing.Optional[typing.Union[str, typing.Sequence[str]]]
2609
- Optional string of comma separated coach IDs to filter events assigned to a particular coach. Limit of 2000 coach IDs.
2572
+ <b>Rate limit:</b> 50 requests/hour (learn more about rate limits <a href="https://developers.samsara.com/docs/rate-limits" target="_blank">here</a>).
2610
2573
 
2611
- behavior_labels : typing.Optional[typing.Union[str, typing.Sequence[str]]]
2612
- Optional string of comma separated labels to filter behavior labels. Valid values: `Acceleration`, `AggressiveDriving`, `BluetoothHeadset`, `Braking`, `ContextConstructionOrWorkZone`, `ContextSnowyOrIcy`, `ContextVulnerableRoadUser`, `ContextWet`, `Crash`, `DefensiveDriving`, `DidNotYield`, `Drinking`, `Drowsy`, `Eating`, `EatingDrinking`, `EdgeDistractedDriving`, `EdgeRailroadCrossingViolation`, `FollowingDistance`, `FollowingDistanceModerate`, `FollowingDistanceSevere`, `ForwardCollisionWarning`, `GenericDistraction`, `GenericTailgating`, `HarshTurn`, `HeavySpeeding`, `HosViolation`, `Idling`, `Invalid`, `LaneDeparture`, `LateResponse`, `LeftTurn`, `LightSpeeding`, `MaxSpeed`, `MobileUsage`, `ModerateSpeeding`, `NearCollison`, `NearPedestrianCollision`, `NoSeatbelt`, `ObstructedCamera`, `OtherViolation`, `Passenger`, `PolicyViolationMask`, `ProtectiveEquipment`, `RanRedLight`, `Reversing`, `RollingStop`, `RolloverProtection`, `SevereSpeeding`, `Smoking`, `Speeding`, `UTurn`, `UnsafeManeuver`, `UnsafeParking`, `VulnerableRoadUserCollisionWarning`, `YawControl`
2574
+ To use this endpoint, select **Write Custom Reports** under the Custom Reports category when creating or editing an API token. <a href="https://developers.samsara.com/docs/authentication#scopes-for-api-tokens" target="_blank">Learn More.</a>
2613
2575
 
2614
- event_states : typing.Optional[typing.Union[str, typing.Sequence[str]]]
2615
- Optional string of comma separated values to filter event states. Valid values: `needsReview`, `reviewed`, `needsCoaching`, `coached`, `dismissed`, `needsRecognition`, `recognized`
2616
2576
 
2617
- include_asset : typing.Optional[bool]
2618
- Indicates whether or not to return expanded “asset” data
2577
+ **Submit Feedback**: Likes, dislikes, and API feature requests should be filed as feedback in our <a href="https://forms.gle/zkD4NCH7HjKb7mm69" target="_blank">API feedback form</a>. If you encountered an issue or noticed inaccuracies in the API documentation, please <a href="https://www.samsara.com/help" target="_blank">submit a case</a> to our support team.
2619
2578
 
2620
- include_driver : typing.Optional[bool]
2621
- Indicates whether or not to return expanded “driver” data
2579
+ Parameters
2580
+ ----------
2581
+ report_config : CreateReportConfigObjectRequestBody
2582
+
2583
+ request_options : typing.Optional[RequestOptions]
2584
+ Request-specific configuration.
2585
+
2586
+ Returns
2587
+ -------
2588
+ ReportsCreateReportRunResponseBody
2589
+ Accepted response.
2590
+
2591
+ Examples
2592
+ --------
2593
+ from samsara import CreateReportConfigObjectRequestBody, Samsara
2594
+
2595
+ client = Samsara(
2596
+ token="YOUR_TOKEN",
2597
+ )
2598
+ client.beta_ap_is.create_report_run(
2599
+ report_config=CreateReportConfigObjectRequestBody(),
2600
+ )
2601
+ """
2602
+ _response = self._raw_client.create_report_run(report_config=report_config, request_options=request_options)
2603
+ return _response.data
2604
+
2605
+ def get_report_run_data(
2606
+ self,
2607
+ *,
2608
+ id: str,
2609
+ after: typing.Optional[str] = None,
2610
+ limit: typing.Optional[int] = None,
2611
+ request_options: typing.Optional[RequestOptions] = None,
2612
+ ) -> ReportsGetReportRunDataResponseBody:
2613
+ """
2614
+ Get data for the given custom report run.
2615
+
2616
+ <b>Rate limit:</b> 5 requests/sec (learn more about rate limits <a href="https://developers.samsara.com/docs/rate-limits" target="_blank">here</a>).
2617
+
2618
+ To use this endpoint, select **Read Custom Reports** under the Custom Reports category when creating or editing an API token. <a href="https://developers.samsara.com/docs/authentication#scopes-for-api-tokens" target="_blank">Learn More.</a>
2619
+
2620
+
2621
+ **Submit Feedback**: Likes, dislikes, and API feature requests should be filed as feedback in our <a href="https://forms.gle/zkD4NCH7HjKb7mm69" target="_blank">API feedback form</a>. If you encountered an issue or noticed inaccuracies in the API documentation, please <a href="https://www.samsara.com/help" target="_blank">submit a case</a> to our support team.
2622
+
2623
+ Parameters
2624
+ ----------
2625
+ id : str
2626
+ ID of the report run.
2622
2627
 
2623
2628
  after : typing.Optional[str]
2624
2629
  If specified, this should be the endCursor value from the previous page of results. When present, this request will return the next page of results that occur immediately after the previous page of results.
2625
2630
 
2631
+ limit : typing.Optional[int]
2632
+ Maximum number of rows to return.
2633
+
2626
2634
  request_options : typing.Optional[RequestOptions]
2627
2635
  Request-specific configuration.
2628
2636
 
2629
2637
  Returns
2630
2638
  -------
2631
- SafetyEventsV2GetSafetyEventsV2StreamResponseBody
2639
+ ReportsGetReportRunDataResponseBody
2632
2640
  OK response.
2633
2641
 
2634
2642
  Examples
@@ -2638,23 +2646,12 @@ class BetaApIsClient:
2638
2646
  client = Samsara(
2639
2647
  token="YOUR_TOKEN",
2640
2648
  )
2641
- client.beta_ap_is.get_safety_events_v_2_stream(
2642
- start_time="startTime",
2649
+ client.beta_ap_is.get_report_run_data(
2650
+ id="id",
2643
2651
  )
2644
2652
  """
2645
- _response = self._raw_client.get_safety_events_v_2_stream(
2646
- start_time=start_time,
2647
- end_time=end_time,
2648
- asset_ids=asset_ids,
2649
- driver_ids=driver_ids,
2650
- tag_ids=tag_ids,
2651
- assigned_coaches=assigned_coaches,
2652
- behavior_labels=behavior_labels,
2653
- event_states=event_states,
2654
- include_asset=include_asset,
2655
- include_driver=include_driver,
2656
- after=after,
2657
- request_options=request_options,
2653
+ _response = self._raw_client.get_report_run_data(
2654
+ id=id, after=after, limit=limit, request_options=request_options
2658
2655
  )
2659
2656
  return _response.data
2660
2657
 
@@ -3114,7 +3111,7 @@ class BetaApIsClient:
3114
3111
  Parameters
3115
3112
  ----------
3116
3113
  ids : typing.Optional[typing.Union[str, typing.Sequence[str]]]
3117
- String of comma separated assignments IDs. Max value for this value is 100 objects .Example: `ids=a4db8702-79d5-4396-a717-e301d52ecc11,c6490f6a-d84e-49b5-b0ad-b6baae304075`
3114
+ String of comma separated assignments IDs. Max value for this value is 100 objects. Example: `ids=a4db8702-79d5-4396-a717-e301d52ecc11,c6490f6a-d84e-49b5-b0ad-b6baae304075`
3118
3115
 
3119
3116
  request_options : typing.Optional[RequestOptions]
3120
3117
  Request-specific configuration.
@@ -3160,7 +3157,7 @@ class BetaApIsClient:
3160
3157
  Due date of the training assignment in RFC 3339 format. Millisecond precision and timezones are supported.
3161
3158
 
3162
3159
  ids : typing.Optional[typing.Union[str, typing.Sequence[str]]]
3163
- String of comma separated assignments IDs. Max value for this value is 100 objects .Example: `ids=a4db8702-79d5-4396-a717-e301d52ecc11,c6490f6a-d84e-49b5-b0ad-b6baae304075`
3160
+ String of comma separated assignments IDs. Max value for this value is 100 objects. Example: `ids=a4db8702-79d5-4396-a717-e301d52ecc11,c6490f6a-d84e-49b5-b0ad-b6baae304075`
3164
3161
 
3165
3162
  request_options : typing.Optional[RequestOptions]
3166
3163
  Request-specific configuration.
@@ -3195,12 +3192,12 @@ class BetaApIsClient:
3195
3192
  learner_ids: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
3196
3193
  course_ids: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
3197
3194
  status: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
3195
+ is_overdue: typing.Optional[bool] = None,
3196
+ category_ids: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
3198
3197
  request_options: typing.Optional[RequestOptions] = None,
3199
3198
  ) -> TrainingAssignmentsGetTrainingAssignmentsStreamResponseBody:
3200
3199
  """
3201
- Returns all training assignments data that has been created or modified for your organization based on the time parameters passed in. Results are paginated and are sorted by last modified date. If you include an endTime, the endpoint will return data up until that point (exclusive). If you don't include an endTime, you can continue to poll the API real-time with the pagination cursor that gets returned on every call.
3202
-
3203
- **Beta:** This endpoint is in beta and is likely to change before being broadly available. Reach out to your Samsara Representative to have Training APIs enabled for your organization.
3200
+ Returns all training assignments data that has been created or modified for your organization based on the time parameters passed in. Results are paginated and are sorted by last modified date. If you include an endTime, the endpoint will return data up until that point (exclusive). If you don't include an endTime, the API will continue to poll with the pagination cursor that gets returned on every call. The hasNextPage response value will be true if there is no endTime specified and endCursor is nonempty.
3204
3201
 
3205
3202
  <b>Rate limit:</b> 5 requests/sec (learn more about rate limits <a href="https://developers.samsara.com/docs/rate-limits" target="_blank">here</a>).
3206
3203
 
@@ -3229,6 +3226,12 @@ class BetaApIsClient:
3229
3226
  status : typing.Optional[typing.Union[str, typing.Sequence[str]]]
3230
3227
  Optional string of comma separated values. If status is present, training assignments for the specified status(s) will be returned. Valid values: "notStarted", "inProgress", "completed". Defaults to returning all courses.
3231
3228
 
3229
+ is_overdue : typing.Optional[bool]
3230
+ Optional boolean value. If present, training assignments for the specified overdue status will be returned. Valid values: true, false. Defaults to returning all assignments.
3231
+
3232
+ category_ids : typing.Optional[typing.Union[str, typing.Sequence[str]]]
3233
+ Optional string of comma separated category IDs. If category ID is present, training assignments for the specified category ID(s) will be returned. Max value for this value is 100 objects. Example: `categoryIds=a4db8702-79d5-4396-a717-e301d52ecc11,c6490f6a-d84e-49b5-b0ad-b6baae304075`
3234
+
3232
3235
  request_options : typing.Optional[RequestOptions]
3233
3236
  Request-specific configuration.
3234
3237
 
@@ -3255,6 +3258,8 @@ class BetaApIsClient:
3255
3258
  learner_ids=learner_ids,
3256
3259
  course_ids=course_ids,
3257
3260
  status=status,
3261
+ is_overdue=is_overdue,
3262
+ category_ids=category_ids,
3258
3263
  request_options=request_options,
3259
3264
  )
3260
3265
  return _response.data
@@ -3319,97 +3324,84 @@ class BetaApIsClient:
3319
3324
  )
3320
3325
  return _response.data
3321
3326
 
3322
- def get_trips(
3327
+
3328
+ class AsyncBetaApIsClient:
3329
+ def __init__(self, *, client_wrapper: AsyncClientWrapper):
3330
+ self._raw_client = AsyncRawBetaApIsClient(client_wrapper=client_wrapper)
3331
+
3332
+ @property
3333
+ def with_raw_response(self) -> AsyncRawBetaApIsClient:
3334
+ """
3335
+ Retrieves a raw implementation of this client that returns raw responses.
3336
+
3337
+ Returns
3338
+ -------
3339
+ AsyncRawBetaApIsClient
3340
+ """
3341
+ return self._raw_client
3342
+
3343
+ async def get_depreciation_transactions(
3323
3344
  self,
3324
3345
  *,
3325
- start_time: str,
3326
- include_asset: typing.Optional[bool] = None,
3327
- completion_status: typing.Optional[GetTripsRequestCompletionStatus] = None,
3328
- end_time: typing.Optional[str] = None,
3329
- query_by: typing.Optional[GetTripsRequestQueryBy] = None,
3346
+ start_time: typing.Optional[dt.datetime] = None,
3347
+ end_time: typing.Optional[dt.datetime] = None,
3348
+ asset_ids: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
3330
3349
  after: typing.Optional[str] = None,
3331
- ids: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
3332
3350
  request_options: typing.Optional[RequestOptions] = None,
3333
- ) -> TripsGetTripsResponseBody:
3351
+ ) -> DepreciationGetDepreciationTransactionsResponseBody:
3334
3352
  """
3335
- This endpoint will return trips that have been collected for your organization based on the time parameters passed in. Results are paginated. Reach out to your Samsara Representative to have this API enabled for your organization.
3353
+ Returns depreciation and adjustment transactions for assets. Transactions are returned ordered by updatedAt in ascending order (oldest to newest). Use startTime parameter for incremental sync.
3336
3354
 
3337
3355
  <b>Rate limit:</b> 5 requests/sec (learn more about rate limits <a href="https://developers.samsara.com/docs/rate-limits" target="_blank">here</a>).
3338
3356
 
3339
- To use this endpoint, select **Read Trips** under the Trips category when creating or editing an API token. <a href="https://developers.samsara.com/docs/authentication#scopes-for-api-tokens" target="_blank">Learn More.</a>
3357
+ To use this endpoint, select **Read Assets** under the Assets category when creating or editing an API token. <a href="https://developers.samsara.com/docs/authentication#scopes-for-api-tokens" target="_blank">Learn More.</a>
3340
3358
 
3341
3359
 
3342
3360
  **Submit Feedback**: Likes, dislikes, and API feature requests should be filed as feedback in our <a href="https://forms.gle/zkD4NCH7HjKb7mm69" target="_blank">API feedback form</a>. If you encountered an issue or noticed inaccuracies in the API documentation, please <a href="https://www.samsara.com/help" target="_blank">submit a case</a> to our support team.
3343
3361
 
3344
3362
  Parameters
3345
3363
  ----------
3346
- start_time : str
3347
- RFC 3339 timestamp that indicates when to begin receiving data. Value is compared against `updatedAtTime` or `tripStartTime` depending on the queryBy parameter.
3348
-
3349
- include_asset : typing.Optional[bool]
3350
- Indicates whether or not to return expanded “asset” data
3351
-
3352
- completion_status : typing.Optional[GetTripsRequestCompletionStatus]
3353
- Filters trips based on a specific completion status Valid values: `inProgress`, `completed`, `all`
3364
+ start_time : typing.Optional[dt.datetime]
3365
+ RFC 3339 timestamp. Returns transactions updated after this time. Compared against updatedAt. If not provided, returns all transactions. Millisecond precision and timezones are supported. (Examples: 2019-06-13T19:08:25Z, 2019-06-13T19:08:25.455Z, OR 2015-09-15T14:00:12-04:00).
3354
3366
 
3355
- end_time : typing.Optional[str]
3356
- RFC 3339 timestamp which is compared against `updatedAtTime` or `tripStartTime` depending on the queryBy parameter. If not provided then the endpoint behaves as an unending feed of changes.
3367
+ end_time : typing.Optional[dt.datetime]
3368
+ RFC 3339 timestamp. Returns transactions updated before this time. Compared against updatedAt. If not provided, behaves as an unending feed of changes. Millisecond precision and timezones are supported. (Examples: 2019-06-13T19:08:25Z, 2019-06-13T19:08:25.455Z, OR 2015-09-15T14:00:12-04:00).
3357
3369
 
3358
- query_by : typing.Optional[GetTripsRequestQueryBy]
3359
- Decide which timestamp the `startTime` and `endTime` are compared to. Valid values: `updatedAtTime`, `tripStartTime`
3370
+ asset_ids : typing.Optional[typing.Union[str, typing.Sequence[str]]]
3371
+ Filter by asset IDs. Up to 50 ids.
3360
3372
 
3361
3373
  after : typing.Optional[str]
3362
3374
  If specified, this should be the endCursor value from the previous page of results. When present, this request will return the next page of results that occur immediately after the previous page of results.
3363
3375
 
3364
- ids : typing.Optional[typing.Union[str, typing.Sequence[str]]]
3365
- Comma-separated list of asset IDs. Include up to 50 asset IDs.
3366
-
3367
3376
  request_options : typing.Optional[RequestOptions]
3368
3377
  Request-specific configuration.
3369
3378
 
3370
3379
  Returns
3371
3380
  -------
3372
- TripsGetTripsResponseBody
3381
+ DepreciationGetDepreciationTransactionsResponseBody
3373
3382
  OK response.
3374
3383
 
3375
3384
  Examples
3376
3385
  --------
3377
- from samsara import Samsara
3386
+ import asyncio
3378
3387
 
3379
- client = Samsara(
3388
+ from samsara import AsyncSamsara
3389
+
3390
+ client = AsyncSamsara(
3380
3391
  token="YOUR_TOKEN",
3381
3392
  )
3382
- client.beta_ap_is.get_trips(
3383
- start_time="startTime",
3384
- )
3385
- """
3386
- _response = self._raw_client.get_trips(
3387
- start_time=start_time,
3388
- include_asset=include_asset,
3389
- completion_status=completion_status,
3390
- end_time=end_time,
3391
- query_by=query_by,
3392
- after=after,
3393
- ids=ids,
3394
- request_options=request_options,
3395
- )
3396
- return _response.data
3397
3393
 
3398
3394
 
3399
- class AsyncBetaApIsClient:
3400
- def __init__(self, *, client_wrapper: AsyncClientWrapper):
3401
- self._raw_client = AsyncRawBetaApIsClient(client_wrapper=client_wrapper)
3395
+ async def main() -> None:
3396
+ await client.beta_ap_is.get_depreciation_transactions()
3402
3397
 
3403
- @property
3404
- def with_raw_response(self) -> AsyncRawBetaApIsClient:
3405
- """
3406
- Retrieves a raw implementation of this client that returns raw responses.
3407
3398
 
3408
- Returns
3409
- -------
3410
- AsyncRawBetaApIsClient
3399
+ asyncio.run(main())
3411
3400
  """
3412
- return self._raw_client
3401
+ _response = await self._raw_client.get_depreciation_transactions(
3402
+ start_time=start_time, end_time=end_time, asset_ids=asset_ids, after=after, request_options=request_options
3403
+ )
3404
+ return _response.data
3413
3405
 
3414
3406
  async def get_assets_inputs(
3415
3407
  self,
@@ -4263,7 +4255,7 @@ class AsyncBetaApIsClient:
4263
4255
  relay_states=[
4264
4256
  UpdateEngineImmobilizerRelayStateRequestBodyRequestBody(
4265
4257
  id="relay1",
4266
- is_open=False,
4258
+ is_open=True,
4267
4259
  )
4268
4260
  ],
4269
4261
  )
@@ -4557,10 +4549,10 @@ class AsyncBetaApIsClient:
4557
4549
  Optional string of comma separated asset IDs. If asset ID is present, events for the specified asset(s) will be returned. Max for this value is 2000 objects. (Example: 281474982859091,281471982957527)
4558
4550
 
4559
4551
  detection_behavior_labels : typing.Optional[typing.Union[str, typing.Sequence[str]]]
4560
- Optional string of comma separated labels to filter behavior labels. Uses OR semantics for filtering. An empty list allows all values. Valid values: `acceleration`, `braking`, `crash`, `drowsy`, `eatingDrinking`, `edgeRailroadCrossingViolation`, `followingDistance`, `forwardCollisionWarning`, `genericDistraction`, `harshTurn`, `laneDeparture`, `maxSpeed`, `mobileUsage`, `noSeatbelt`, `obstructedCamera`, `passenger`, `policyViolationMask`, `rollingStop`, `rolloverProtection`, `smoking`, `speeding`, `unsafeParking`, `vulnerableRoadUserCollisionWarning`, `yawControl`. (Example: rollingStop,obstructedCamera,noSeatbelt)
4552
+ Optional string of comma separated labels to filter behavior labels. Uses OR semantics for filtering. An empty list allows all values. Valid values: `acceleration`, `braking`, `crash`, `drowsy`, `eatingDrinking`, `edgeRailroadCrossingViolation`, `followingDistance`, `forwardCollisionWarning`, `genericDistraction`, `harshTurn`, `heavySpeeding`, `laneDeparture`, `lightSpeeding`, `maxSpeed`, `mobileUsage`, `moderateSpeeding`, `noSeatbelt`, `obstructedCamera`, `passenger`, `policyViolationMask`, `ranRedLight`, `rearCollisionWarning`, `rollingStop`, `rolloverProtection`, `severeSpeeding`, `smoking`, `speeding`, `unsafeParking`, `vehicleInBlindSpotWarning`, `vulnerableRoadUserCollisionWarning`, `yawControl`. (Example: rollingStop,obstructedCamera,noSeatbelt)
4561
4553
 
4562
4554
  inbox_filter_reason : typing.Optional[typing.Union[str, typing.Sequence[str]]]
4563
- Optional string of comma separated reasons to filter detections. Uses OR semantics for filtering. An empty list allows all values. Valid values: `overDailyLimit`, `overHourlyLimit`, `overTripLimit`, `belowConfidenceThreshold`, `belowSeverityThreshold`, `overEventRateLimit`, `geofenceFilter`, `belowNudgeThreshold`, `belowSpeedThreshold`, `nighttimeFilter`, `speedingFilter`, `unknown`. (Example: overDailyLimit,overHourlyLimit,belowConfidenceThreshold)
4555
+ Optional string of comma separated reasons to filter detections. Uses OR semantics for filtering. An empty list allows all values. Valid values: `overDailyLimit`, `overHourlyLimit`, `overTripLimit`, `belowConfidenceThreshold`, `belowSeverityThreshold`, `overEventRateLimit`, `geofenceFilter`, `belowNudgeThreshold`, `belowSpeedThreshold`, `nighttimeFilter`, `speedingFilter`, `inCabAlertOnly`, `unknown`. (Example: overDailyLimit,overHourlyLimit,belowConfidenceThreshold)
4564
4556
 
4565
4557
  inbox_event : typing.Optional[bool]
4566
4558
  Indicates whether or not to return detections with an associated Safety Inbox event. An empty entry allows all values. (Example: true)
@@ -4635,6 +4627,9 @@ class AsyncBetaApIsClient:
4635
4627
  include_health: typing.Optional[bool] = None,
4636
4628
  after: typing.Optional[str] = None,
4637
4629
  limit: typing.Optional[int] = None,
4630
+ include_tags: typing.Optional[bool] = None,
4631
+ tag_ids: typing.Optional[str] = None,
4632
+ parent_tag_ids: typing.Optional[str] = None,
4638
4633
  request_options: typing.Optional[RequestOptions] = None,
4639
4634
  ) -> DevicesGetDevicesResponseBody:
4640
4635
  """
@@ -4666,6 +4661,15 @@ class AsyncBetaApIsClient:
4666
4661
  limit : typing.Optional[int]
4667
4662
  The limit for how many objects will be in the response. Default and max for this value is 100 objects.
4668
4663
 
4664
+ include_tags : typing.Optional[bool]
4665
+ Optional boolean to control whether tags are returned in the response. Defaults to false.
4666
+
4667
+ tag_ids : typing.Optional[str]
4668
+ A filter on the data based on this comma-separated list of tag IDs. Example: `tagIds=1234,5678`
4669
+
4670
+ parent_tag_ids : typing.Optional[str]
4671
+ A filter on the data based on this comma-separated list of parent tag IDs, for use by orgs with tag hierarchies. Specifying a parent tag will implicitly include all descendent tags of the parent tag. Example: `parentTagIds=345,678`
4672
+
4669
4673
  request_options : typing.Optional[RequestOptions]
4670
4674
  Request-specific configuration.
4671
4675
 
@@ -4697,253 +4701,13 @@ class AsyncBetaApIsClient:
4697
4701
  include_health=include_health,
4698
4702
  after=after,
4699
4703
  limit=limit,
4704
+ include_tags=include_tags,
4705
+ tag_ids=tag_ids,
4706
+ parent_tag_ids=parent_tag_ids,
4700
4707
  request_options=request_options,
4701
4708
  )
4702
4709
  return _response.data
4703
4710
 
4704
- async def get_driver_trailer_assignments(
4705
- self,
4706
- *,
4707
- driver_ids: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
4708
- after: typing.Optional[str] = None,
4709
- include_external_ids: typing.Optional[bool] = None,
4710
- request_options: typing.Optional[RequestOptions] = None,
4711
- ) -> TrailerAssignmentsGetDriverTrailerAssignmentsResponseBody:
4712
- """
4713
- Get currently active driver-trailer assignments for driver.
4714
-
4715
- <b>Rate limit:</b> 5 requests/sec (learn more about rate limits <a href="https://developers.samsara.com/docs/rate-limits" target="_blank">here</a>).
4716
-
4717
- To use this endpoint, select **Read Assignments** under the Assignments category when creating or editing an API token. <a href="https://developers.samsara.com/docs/authentication#scopes-for-api-tokens" target="_blank">Learn More.</a>
4718
-
4719
-
4720
- **Submit Feedback**: Likes, dislikes, and API feature requests should be filed as feedback in our <a href="https://forms.gle/zkD4NCH7HjKb7mm69" target="_blank">API feedback form</a>. If you encountered an issue or noticed inaccuracies in the API documentation, please <a href="https://www.samsara.com/help" target="_blank">submit a case</a> to our support team.
4721
-
4722
- Parameters
4723
- ----------
4724
- driver_ids : typing.Optional[typing.Union[str, typing.Sequence[str]]]
4725
- A filter on the data based on this comma-separated list of driver IDs and externalIds. Example: `driverIds=1234,5678,payroll:4841`
4726
-
4727
- after : typing.Optional[str]
4728
- If specified, this should be the endCursor value from the previous page of results. When present, this request will return the next page of results that occur immediately after the previous page of results.
4729
-
4730
- include_external_ids : typing.Optional[bool]
4731
- Optional boolean indicating whether to return external IDs on supported entities
4732
-
4733
- request_options : typing.Optional[RequestOptions]
4734
- Request-specific configuration.
4735
-
4736
- Returns
4737
- -------
4738
- TrailerAssignmentsGetDriverTrailerAssignmentsResponseBody
4739
- OK response.
4740
-
4741
- Examples
4742
- --------
4743
- import asyncio
4744
-
4745
- from samsara import AsyncSamsara
4746
-
4747
- client = AsyncSamsara(
4748
- token="YOUR_TOKEN",
4749
- )
4750
-
4751
-
4752
- async def main() -> None:
4753
- await client.beta_ap_is.get_driver_trailer_assignments()
4754
-
4755
-
4756
- asyncio.run(main())
4757
- """
4758
- _response = await self._raw_client.get_driver_trailer_assignments(
4759
- driver_ids=driver_ids,
4760
- after=after,
4761
- include_external_ids=include_external_ids,
4762
- request_options=request_options,
4763
- )
4764
- return _response.data
4765
-
4766
- async def create_driver_trailer_assignment(
4767
- self,
4768
- *,
4769
- driver_id: str,
4770
- trailer_id: str,
4771
- start_time: typing.Optional[str] = OMIT,
4772
- request_options: typing.Optional[RequestOptions] = None,
4773
- ) -> TrailerAssignmentsCreateDriverTrailerAssignmentResponseBody:
4774
- """
4775
- Create a new driver-trailer assignment
4776
-
4777
- <b>Rate limit:</b> 5 requests/sec (learn more about rate limits <a href="https://developers.samsara.com/docs/rate-limits" target="_blank">here</a>).
4778
-
4779
- To use this endpoint, select **Write Assignments** under the Assignments category when creating or editing an API token. <a href="https://developers.samsara.com/docs/authentication#scopes-for-api-tokens" target="_blank">Learn More.</a>
4780
-
4781
-
4782
- **Submit Feedback**: Likes, dislikes, and API feature requests should be filed as feedback in our <a href="https://forms.gle/zkD4NCH7HjKb7mm69" target="_blank">API feedback form</a>. If you encountered an issue or noticed inaccuracies in the API documentation, please <a href="https://www.samsara.com/help" target="_blank">submit a case</a> to our support team.
4783
-
4784
- Parameters
4785
- ----------
4786
- driver_id : str
4787
- ID of the driver. This can be either a unique Samsara ID or an [external ID](https://developers.samsara.com/docs/external-ids) for the driver.
4788
-
4789
- trailer_id : str
4790
- ID of the trailer. This can be either a unique Samsara ID or an [external ID](https://developers.samsara.com/docs/external-ids) for the trailer.
4791
-
4792
- start_time : typing.Optional[str]
4793
- The start time in RFC 3339 format. The time needs to be current or within the past 7 days. Defaults to now if not provided
4794
-
4795
- request_options : typing.Optional[RequestOptions]
4796
- Request-specific configuration.
4797
-
4798
- Returns
4799
- -------
4800
- TrailerAssignmentsCreateDriverTrailerAssignmentResponseBody
4801
- OK response.
4802
-
4803
- Examples
4804
- --------
4805
- import asyncio
4806
-
4807
- from samsara import AsyncSamsara
4808
-
4809
- client = AsyncSamsara(
4810
- token="YOUR_TOKEN",
4811
- )
4812
-
4813
-
4814
- async def main() -> None:
4815
- await client.beta_ap_is.create_driver_trailer_assignment(
4816
- driver_id="494123",
4817
- trailer_id="12345",
4818
- )
4819
-
4820
-
4821
- asyncio.run(main())
4822
- """
4823
- _response = await self._raw_client.create_driver_trailer_assignment(
4824
- driver_id=driver_id, trailer_id=trailer_id, start_time=start_time, request_options=request_options
4825
- )
4826
- return _response.data
4827
-
4828
- async def update_driver_trailer_assignment(
4829
- self, *, id: str, end_time: str, request_options: typing.Optional[RequestOptions] = None
4830
- ) -> TrailerAssignmentsUpdateDriverTrailerAssignmentResponseBody:
4831
- """
4832
- Update an existing driver-trailer assignment.
4833
-
4834
- <b>Rate limit:</b> 5 requests/sec (learn more about rate limits <a href="https://developers.samsara.com/docs/rate-limits" target="_blank">here</a>).
4835
-
4836
- To use this endpoint, select **Write Assignments** under the Assignments category when creating or editing an API token. <a href="https://developers.samsara.com/docs/authentication#scopes-for-api-tokens" target="_blank">Learn More.</a>
4837
-
4838
-
4839
- **Submit Feedback**: Likes, dislikes, and API feature requests should be filed as feedback in our <a href="https://forms.gle/zkD4NCH7HjKb7mm69" target="_blank">API feedback form</a>. If you encountered an issue or noticed inaccuracies in the API documentation, please <a href="https://www.samsara.com/help" target="_blank">submit a case</a> to our support team.
4840
-
4841
- Parameters
4842
- ----------
4843
- id : str
4844
- Samsara ID for the assignment.
4845
-
4846
- end_time : str
4847
- The end time in RFC 3339 format. The end time should not be in the future
4848
-
4849
- request_options : typing.Optional[RequestOptions]
4850
- Request-specific configuration.
4851
-
4852
- Returns
4853
- -------
4854
- TrailerAssignmentsUpdateDriverTrailerAssignmentResponseBody
4855
- OK response.
4856
-
4857
- Examples
4858
- --------
4859
- import asyncio
4860
-
4861
- from samsara import AsyncSamsara
4862
-
4863
- client = AsyncSamsara(
4864
- token="YOUR_TOKEN",
4865
- )
4866
-
4867
-
4868
- async def main() -> None:
4869
- await client.beta_ap_is.update_driver_trailer_assignment(
4870
- id="id",
4871
- end_time="2019-06-13T19:08:25Z",
4872
- )
4873
-
4874
-
4875
- asyncio.run(main())
4876
- """
4877
- _response = await self._raw_client.update_driver_trailer_assignment(
4878
- id=id, end_time=end_time, request_options=request_options
4879
- )
4880
- return _response.data
4881
-
4882
- async def create_driver_auth_token(
4883
- self,
4884
- *,
4885
- code: str,
4886
- external_id: typing.Optional[str] = OMIT,
4887
- id: typing.Optional[int] = OMIT,
4888
- username: typing.Optional[str] = OMIT,
4889
- request_options: typing.Optional[RequestOptions] = None,
4890
- ) -> DriversAuthTokenCreateDriverAuthTokenResponseBody:
4891
- """
4892
- Creates a short-lived auth token for a driver.
4893
-
4894
- <b>Rate limit:</b> 100 requests/min (learn more about rate limits <a href="https://developers.samsara.com/docs/rate-limits" target="_blank">here</a>).
4895
-
4896
- To use this endpoint, select **Write Driver Auth Token** under the Closed Beta category when creating or editing an API token. <a href="https://developers.samsara.com/docs/authentication#scopes-for-api-tokens" target="_blank">Learn More.</a>
4897
-
4898
-
4899
- **Submit Feedback**: Likes, dislikes, and API feature requests should be filed as feedback in our <a href="https://forms.gle/zkD4NCH7HjKb7mm69" target="_blank">API feedback form</a>. If you encountered an issue or noticed inaccuracies in the API documentation, please <a href="https://www.samsara.com/help" target="_blank">submit a case</a> to our support team.
4900
-
4901
- Parameters
4902
- ----------
4903
- code : str
4904
- Required. Random 12+ character string, used with the auth token to help secure the client from intercepted tokens.
4905
-
4906
- external_id : typing.Optional[str]
4907
- Optional. External ID of the driver, in the format `key:value` (e.g., `payrollId:ABFS18600`). One of `id`, `externalId`, or `username` is required.
4908
-
4909
- id : typing.Optional[int]
4910
- Optional. Samsara ID of the driver. One of `id`, `externalId`, or `username` is required.
4911
-
4912
- username : typing.Optional[str]
4913
- Optional. Username of the driver. This is the login identifier configured when the driver is created. One of `id`, `externalId`, or `username` is required.
4914
-
4915
- request_options : typing.Optional[RequestOptions]
4916
- Request-specific configuration.
4917
-
4918
- Returns
4919
- -------
4920
- DriversAuthTokenCreateDriverAuthTokenResponseBody
4921
- OK response.
4922
-
4923
- Examples
4924
- --------
4925
- import asyncio
4926
-
4927
- from samsara import AsyncSamsara
4928
-
4929
- client = AsyncSamsara(
4930
- token="YOUR_TOKEN",
4931
- )
4932
-
4933
-
4934
- async def main() -> None:
4935
- await client.beta_ap_is.create_driver_auth_token(
4936
- code="dp[gZc1wAigz4uGa0Hh",
4937
- )
4938
-
4939
-
4940
- asyncio.run(main())
4941
- """
4942
- _response = await self._raw_client.create_driver_auth_token(
4943
- code=code, external_id=external_id, id=id, username=username, request_options=request_options
4944
- )
4945
- return _response.data
4946
-
4947
4711
  async def get_engine_immobilizer_states(
4948
4712
  self,
4949
4713
  *,
@@ -5109,7 +4873,88 @@ class AsyncBetaApIsClient:
5109
4873
 
5110
4874
  Returns
5111
4875
  -------
5112
- HosDailyLogsUpdateShippingDocsResponseBody
4876
+ HosDailyLogsUpdateShippingDocsResponseBody
4877
+ OK response.
4878
+
4879
+ Examples
4880
+ --------
4881
+ import asyncio
4882
+
4883
+ from samsara import AsyncSamsara
4884
+
4885
+ client = AsyncSamsara(
4886
+ token="YOUR_TOKEN",
4887
+ )
4888
+
4889
+
4890
+ async def main() -> None:
4891
+ await client.beta_ap_is.update_shipping_docs(
4892
+ hos_date="hosDate",
4893
+ driver_id="driverID",
4894
+ shipping_docs="ShippingID1, ShippingID2",
4895
+ )
4896
+
4897
+
4898
+ asyncio.run(main())
4899
+ """
4900
+ _response = await self._raw_client.update_shipping_docs(
4901
+ hos_date=hos_date, driver_id=driver_id, shipping_docs=shipping_docs, request_options=request_options
4902
+ )
4903
+ return _response.data
4904
+
4905
+ async def list_hub_custom_properties(
4906
+ self,
4907
+ *,
4908
+ hub_id: str,
4909
+ custom_property_ids: typing.Optional[str] = None,
4910
+ custom_property_names: typing.Optional[str] = None,
4911
+ start_time: typing.Optional[dt.datetime] = None,
4912
+ end_time: typing.Optional[dt.datetime] = None,
4913
+ after: typing.Optional[str] = None,
4914
+ limit: typing.Optional[int] = None,
4915
+ request_options: typing.Optional[RequestOptions] = None,
4916
+ ) -> HubCustomPropertiesListHubCustomPropertiesResponseBody:
4917
+ """
4918
+ Retrieve custom properties for a specific hub.
4919
+
4920
+ **Beta:** This endpoint is in beta and is likely to change before being broadly available. Reach out to your Samsara Representative to have RoutePlanning APIs enabled for your organization.
4921
+
4922
+ <b>Rate limit:</b> 10 requests/sec (learn more about rate limits <a href="https://developers.samsara.com/docs/rate-limits" target="_blank">here</a>).
4923
+
4924
+ To use this endpoint, select **Read Routes** under the Driver Workflow category when creating or editing an API token. <a href="https://developers.samsara.com/docs/authentication#scopes-for-api-tokens" target="_blank">Learn More.</a>
4925
+
4926
+
4927
+ **Submit Feedback**: Likes, dislikes, and API feature requests should be filed as feedback in our <a href="https://forms.gle/zkD4NCH7HjKb7mm69" target="_blank">API feedback form</a>. If you encountered an issue or noticed inaccuracies in the API documentation, please <a href="https://www.samsara.com/help" target="_blank">submit a case</a> to our support team.
4928
+
4929
+ Parameters
4930
+ ----------
4931
+ hub_id : str
4932
+ The hub identifier
4933
+
4934
+ custom_property_ids : typing.Optional[str]
4935
+ A comma-separated list of custom property IDs that can be used for filtering.
4936
+
4937
+ custom_property_names : typing.Optional[str]
4938
+ A comma-separated list of custom property names that can be used for filtering.
4939
+
4940
+ start_time : typing.Optional[dt.datetime]
4941
+ Time filter of when the custom property was updated, in RFC 3339 format
4942
+
4943
+ end_time : typing.Optional[dt.datetime]
4944
+ Time filter of when the custom property was updated, in RFC 3339 format
4945
+
4946
+ after : typing.Optional[str]
4947
+ If specified, should be the endCursor from the previous page of results. When present, this request will return the next page of results that occur immediately after the previous page of results.
4948
+
4949
+ limit : typing.Optional[int]
4950
+ Maximum number of objects to return. Default and maximum is 100
4951
+
4952
+ request_options : typing.Optional[RequestOptions]
4953
+ Request-specific configuration.
4954
+
4955
+ Returns
4956
+ -------
4957
+ HubCustomPropertiesListHubCustomPropertiesResponseBody
5113
4958
  OK response.
5114
4959
 
5115
4960
  Examples
@@ -5124,17 +4969,22 @@ class AsyncBetaApIsClient:
5124
4969
 
5125
4970
 
5126
4971
  async def main() -> None:
5127
- await client.beta_ap_is.update_shipping_docs(
5128
- hos_date="hosDate",
5129
- driver_id="driverID",
5130
- shipping_docs="ShippingID1, ShippingID2",
4972
+ await client.beta_ap_is.list_hub_custom_properties(
4973
+ hub_id="hubId",
5131
4974
  )
5132
4975
 
5133
4976
 
5134
4977
  asyncio.run(main())
5135
4978
  """
5136
- _response = await self._raw_client.update_shipping_docs(
5137
- hos_date=hos_date, driver_id=driver_id, shipping_docs=shipping_docs, request_options=request_options
4979
+ _response = await self._raw_client.list_hub_custom_properties(
4980
+ hub_id=hub_id,
4981
+ custom_property_ids=custom_property_ids,
4982
+ custom_property_names=custom_property_names,
4983
+ start_time=start_time,
4984
+ end_time=end_time,
4985
+ after=after,
4986
+ limit=limit,
4987
+ request_options=request_options,
5138
4988
  )
5139
4989
  return _response.data
5140
4990
 
@@ -5550,7 +5400,7 @@ class AsyncBetaApIsClient:
5550
5400
  request_options: typing.Optional[RequestOptions] = None,
5551
5401
  ) -> QualificationsGetQualificationRecordsStreamResponseBody:
5552
5402
  """
5553
- Returns all qualification records that have been created or modified for your organization based on the time parameters passed in. Results are paginated and sorted by last modified time. If you include an endTime, the endpoint will return data up until that point (exclusive). If you dont include an endTime, you can continue to poll the API real-time with the pagination cursor that gets returned on every call.
5403
+ Returns all qualification records that have been created or modified for your organization based on the time parameters passed in. Results are paginated and are sorted by last modified date. If you include an endTime, the endpoint will return data up until that point (exclusive). If you don't include an endTime, the API will continue to poll with the pagination cursor that gets returned on every call. The hasNextPage response value will be true if there is no endTime specified and endCursor is nonempty.
5554
5404
 
5555
5405
  <b>Rate limit:</b> 5 requests/sec (learn more about rate limits <a href="https://developers.samsara.com/docs/rate-limits" target="_blank">here</a>).
5556
5406
 
@@ -5807,10 +5657,6 @@ class AsyncBetaApIsClient:
5807
5657
  ) -> ReadingsListReadingsDefinitionsResponseBody:
5808
5658
  """
5809
5659
  An introspection endpoint for discovering the set of readings including their name, description, data type, unit, and other metadata.
5810
- Examples:
5811
- Diagnostic/Engine Readings: engineState, engineSpeed, fuelLevelPerc etc.
5812
- Level Monitoring Readings: defLevel, defLevelMilliPercent etc.
5813
- Smart Trailer Readings: reeferState etc.
5814
5660
 
5815
5661
  <b>Rate limit:</b> 10 requests/sec (learn more about rate limits <a href="https://developers.samsara.com/docs/rate-limits" target="_blank">here</a>).
5816
5662
 
@@ -5876,20 +5722,6 @@ class AsyncBetaApIsClient:
5876
5722
  ) -> ReadingsGetReadingsHistoryResponseBody:
5877
5723
  """
5878
5724
  Get the values of a reading for a set of entities within the specified time range. Returns a paginated response with data for the specified resource IDs where startTime <= happenedAtTime < endTime. End time of null implies endTime is infinite and all known readings are returned.
5879
- Example:
5880
- engineRpm Readings for entityId 212014918105584 between time 2025-01-27T19:22:30Z and 2025-01-27T19:25:00Z
5881
- "data": [
5882
- {
5883
- "entityId": "212014918105584",
5884
- "value": 807,
5885
- "happenedAtTime": "2025-01-27T19:22:30Z"
5886
- },
5887
- {
5888
- "entityId": "212014918105584",
5889
- "value": 811,
5890
- "happenedAtTime": "2025-01-27T19:24:30Z"
5891
- }
5892
- ],
5893
5725
 
5894
5726
  <b>Rate limit:</b> 10 requests/sec (learn more about rate limits <a href="https://developers.samsara.com/docs/rate-limits" target="_blank">here</a>).
5895
5727
 
@@ -5913,7 +5745,7 @@ class AsyncBetaApIsClient:
5913
5745
  A filter on the data based on this comma-separated list of entity IDs or external IDs. If not set, all entities are returned.
5914
5746
 
5915
5747
  external_ids : typing.Optional[str]
5916
- A filter on the data based on this comma-separated list of external IDs.
5748
+ A filter on the data based on this comma-separated list of external IDs. (Examples: samsara.serial:ZPXKLMN7VJ, samsara.serial:ABXKIMN4NM)
5917
5749
 
5918
5750
  start_time : typing.Optional[str]
5919
5751
  A filter on the data that returns the last known data points with timestamps greater than or equal to this value. Must be a string in RFC 3339 format. Millisecond precision and timezones are supported. (Examples: 2020-01-27T07:06:25Z)
@@ -5983,16 +5815,6 @@ class AsyncBetaApIsClient:
5983
5815
  ) -> ReadingsGetReadingsSnapshotResponseBody:
5984
5816
  """
5985
5817
  An endpoint to get the last value of a reading for a set of entities at the specified time.
5986
- Example:
5987
- engineRpm Readings for entityId 212014918105584 at time 2025-04-16T20:49:19Z
5988
- "data": [
5989
- {
5990
- "readingId": "engineRpm",
5991
- "entityId": "212014918105584",
5992
- "value": 600,
5993
- "happenedAtTime": "2025-04-16T20:49:19Z"
5994
- }
5995
- ],
5996
5818
 
5997
5819
  <b>Rate limit:</b> 10 requests/sec (learn more about rate limits <a href="https://developers.samsara.com/docs/rate-limits" target="_blank">here</a>).
5998
5820
 
@@ -6016,7 +5838,7 @@ class AsyncBetaApIsClient:
6016
5838
  A filter on the data based on this comma-separated list of entity IDs or external IDs. If not set, all entities are returned.
6017
5839
 
6018
5840
  external_ids : typing.Optional[str]
6019
- A filter on the data based on this comma-separated list of external IDs.
5841
+ A filter on the data based on this comma-separated list of external IDs. (Examples: samsara.serial:ZPXKLMN7VJ, samsara.serial:ABXKIMN4NM)
6020
5842
 
6021
5843
  as_of_time : typing.Optional[str]
6022
5844
  A filter on the data that returns the last known data points with timestamps less than or equal to this value. Defaults to now if not provided. Must be a string in RFC 3339 format. Millisecond precision and timezones are supported. (Examples: 2020-01-27T07:06:25Z)
@@ -6064,45 +5886,100 @@ class AsyncBetaApIsClient:
6064
5886
  )
6065
5887
  return _response.data
6066
5888
 
6067
- async def get_safety_events_v_2(
5889
+ async def get_report_configs(
6068
5890
  self,
6069
5891
  *,
6070
- safety_event_ids: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
6071
- include_asset: typing.Optional[bool] = None,
6072
- include_driver: typing.Optional[bool] = None,
6073
5892
  after: typing.Optional[str] = None,
5893
+ limit: typing.Optional[int] = None,
5894
+ ids: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
6074
5895
  request_options: typing.Optional[RequestOptions] = None,
6075
- ) -> SafetyEventsV2GetSafetyEventsV2ResponseBody:
5896
+ ) -> ReportsGetReportConfigsResponseBody:
6076
5897
  """
6077
- This endpoint will return details for the specified safety events based on the parameters passed in. Results are paginated.
5898
+ Get report configs created in the organization.
6078
5899
 
6079
5900
  <b>Rate limit:</b> 5 requests/sec (learn more about rate limits <a href="https://developers.samsara.com/docs/rate-limits" target="_blank">here</a>).
6080
5901
 
6081
- To use this endpoint, select **Read Safety Events & Scores** under the Safety & Cameras 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>
5902
+ To use this endpoint, select **Read Custom Reports** under the Custom Reports category when creating or editing an API token. <a href="https://developers.samsara.com/docs/authentication#scopes-for-api-tokens" target="_blank">Learn More.</a>
6082
5903
 
6083
5904
 
6084
5905
  **Submit Feedback**: Likes, dislikes, and API feature requests should be filed as feedback in our <a href="https://forms.gle/zkD4NCH7HjKb7mm69" target="_blank">API feedback form</a>. If you encountered an issue or noticed inaccuracies in the API documentation, please <a href="https://www.samsara.com/help" target="_blank">submit a case</a> to our support team.
6085
5906
 
6086
5907
  Parameters
6087
5908
  ----------
6088
- safety_event_ids : typing.Optional[typing.Union[str, typing.Sequence[str]]]
6089
- Required string of comma separated Safety Event IDs. Unique Samsara IDs (uuid) of the safety event.
5909
+ after : typing.Optional[str]
5910
+ If specified, this should be the endCursor value from the previous page of results. When present, this request will return the next page of results that occur immediately after the previous page of results.
6090
5911
 
6091
- include_asset : typing.Optional[bool]
6092
- Indicates whether or not to return expanded “asset” data
5912
+ limit : typing.Optional[int]
5913
+ Maximum number of configs to return
6093
5914
 
6094
- include_driver : typing.Optional[bool]
6095
- Indicates whether or not to return expanded “driver” data
5915
+ ids : typing.Optional[typing.Union[str, typing.Sequence[str]]]
5916
+ The list of report config IDs to retrieve. Include up to 10 report config IDs. If not provided, all configs will be returned.
5917
+
5918
+ request_options : typing.Optional[RequestOptions]
5919
+ Request-specific configuration.
5920
+
5921
+ Returns
5922
+ -------
5923
+ ReportsGetReportConfigsResponseBody
5924
+ OK response.
5925
+
5926
+ Examples
5927
+ --------
5928
+ import asyncio
5929
+
5930
+ from samsara import AsyncSamsara
5931
+
5932
+ client = AsyncSamsara(
5933
+ token="YOUR_TOKEN",
5934
+ )
5935
+
5936
+
5937
+ async def main() -> None:
5938
+ await client.beta_ap_is.get_report_configs()
5939
+
5940
+
5941
+ asyncio.run(main())
5942
+ """
5943
+ _response = await self._raw_client.get_report_configs(
5944
+ after=after, limit=limit, ids=ids, request_options=request_options
5945
+ )
5946
+ return _response.data
5947
+
5948
+ async def get_datasets(
5949
+ self,
5950
+ *,
5951
+ ids: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
5952
+ after: typing.Optional[str] = None,
5953
+ limit: typing.Optional[int] = None,
5954
+ request_options: typing.Optional[RequestOptions] = None,
5955
+ ) -> ReportsGetDatasetsResponseBody:
5956
+ """
5957
+ Get datasets for custom reports.
5958
+
5959
+ <b>Rate limit:</b> 5 requests/sec (learn more about rate limits <a href="https://developers.samsara.com/docs/rate-limits" target="_blank">here</a>).
5960
+
5961
+ To use this endpoint, select **Read Custom Reports** under the Custom Reports category when creating or editing an API token. <a href="https://developers.samsara.com/docs/authentication#scopes-for-api-tokens" target="_blank">Learn More.</a>
5962
+
5963
+
5964
+ **Submit Feedback**: Likes, dislikes, and API feature requests should be filed as feedback in our <a href="https://forms.gle/zkD4NCH7HjKb7mm69" target="_blank">API feedback form</a>. If you encountered an issue or noticed inaccuracies in the API documentation, please <a href="https://www.samsara.com/help" target="_blank">submit a case</a> to our support team.
5965
+
5966
+ Parameters
5967
+ ----------
5968
+ ids : typing.Optional[typing.Union[str, typing.Sequence[str]]]
5969
+ The list of dataset IDs to retrieve the datasets for. Include up to 10 dataset IDs. If not provided, all datasets will be returned.
6096
5970
 
6097
5971
  after : typing.Optional[str]
6098
5972
  If specified, this should be the endCursor value from the previous page of results. When present, this request will return the next page of results that occur immediately after the previous page of results.
6099
5973
 
5974
+ limit : typing.Optional[int]
5975
+ Maximum number of datasets to return.
5976
+
6100
5977
  request_options : typing.Optional[RequestOptions]
6101
5978
  Request-specific configuration.
6102
5979
 
6103
5980
  Returns
6104
5981
  -------
6105
- SafetyEventsV2GetSafetyEventsV2ResponseBody
5982
+ ReportsGetDatasetsResponseBody
6106
5983
  OK response.
6107
5984
 
6108
5985
  Examples
@@ -6117,87 +5994,166 @@ class AsyncBetaApIsClient:
6117
5994
 
6118
5995
 
6119
5996
  async def main() -> None:
6120
- await client.beta_ap_is.get_safety_events_v_2()
5997
+ await client.beta_ap_is.get_datasets()
6121
5998
 
6122
5999
 
6123
6000
  asyncio.run(main())
6124
6001
  """
6125
- _response = await self._raw_client.get_safety_events_v_2(
6126
- safety_event_ids=safety_event_ids,
6127
- include_asset=include_asset,
6128
- include_driver=include_driver,
6129
- after=after,
6130
- request_options=request_options,
6002
+ _response = await self._raw_client.get_datasets(
6003
+ ids=ids, after=after, limit=limit, request_options=request_options
6131
6004
  )
6132
6005
  return _response.data
6133
6006
 
6134
- async def get_safety_events_v_2_stream(
6007
+ async def get_report_runs(
6135
6008
  self,
6136
6009
  *,
6137
- start_time: str,
6138
- end_time: typing.Optional[str] = None,
6139
- asset_ids: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
6140
- driver_ids: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
6141
- tag_ids: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
6142
- assigned_coaches: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
6143
- behavior_labels: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
6144
- event_states: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
6145
- include_asset: typing.Optional[bool] = None,
6146
- include_driver: typing.Optional[bool] = None,
6010
+ report_config_ids: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
6011
+ ids: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
6147
6012
  after: typing.Optional[str] = None,
6013
+ limit: typing.Optional[int] = None,
6148
6014
  request_options: typing.Optional[RequestOptions] = None,
6149
- ) -> SafetyEventsV2GetSafetyEventsV2StreamResponseBody:
6015
+ ) -> ReportsGetReportRunsResponseBody:
6150
6016
  """
6151
- This endpoint will return all safety events associated with your organization based on the parameters passed in. To get core endpoint data, select Read Safety Events & Scores under the Safety & Cameras category when creating or editing an API token. Read Camera Media permissions required to get Safety Event video media via this endpoint. If you include an endTime, the endpoint will return data up until that point. If you do not include an endTime, you can continue to poll the API real-time with the pagination cursor that gets returned on every call. Results are paginated.
6017
+ Get custom report runs created by the user.
6152
6018
 
6153
6019
  <b>Rate limit:</b> 5 requests/sec (learn more about rate limits <a href="https://developers.samsara.com/docs/rate-limits" target="_blank">here</a>).
6154
6020
 
6155
- To use this endpoint, select **Read Safety Events & Scores** under the Safety & Cameras 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>
6021
+ To use this endpoint, select **Read Custom Reports** under the Custom Reports category when creating or editing an API token. <a href="https://developers.samsara.com/docs/authentication#scopes-for-api-tokens" target="_blank">Learn More.</a>
6156
6022
 
6157
6023
 
6158
6024
  **Submit Feedback**: Likes, dislikes, and API feature requests should be filed as feedback in our <a href="https://forms.gle/zkD4NCH7HjKb7mm69" target="_blank">API feedback form</a>. If you encountered an issue or noticed inaccuracies in the API documentation, please <a href="https://www.samsara.com/help" target="_blank">submit a case</a> to our support team.
6159
6025
 
6160
6026
  Parameters
6161
6027
  ----------
6162
- start_time : str
6163
- RFC 3339 timestamp that indicates when to begin receiving data. Value is compared against `updatedAtTime` of the events.
6028
+ report_config_ids : typing.Optional[typing.Union[str, typing.Sequence[str]]]
6029
+ The list of report config IDs to retrieve the report runs for. Include up to 10 report config IDs. If not provided, runs for all configs will be returned.
6164
6030
 
6165
- end_time : typing.Optional[str]
6166
- RFC 3339 timestamp which is compared against `updatedAtTime` of the events. If not provided then the endpoint behaves as an unending feed of changes.
6031
+ ids : typing.Optional[typing.Union[str, typing.Sequence[str]]]
6032
+ The list of report run IDs to retrieve the report runs for. Include up to 10 report run IDs. If not provided, all report runs will be returned.
6167
6033
 
6168
- asset_ids : typing.Optional[typing.Union[str, typing.Sequence[str]]]
6169
- Optional string of comma separated asset IDs. If asset ID is present, events for the specified asset(s) will be returned. Limit of 2000 asset IDs.
6034
+ after : typing.Optional[str]
6035
+ If specified, this should be the endCursor value from the previous page of results. When present, this request will return the next page of results that occur immediately after the previous page of results.
6170
6036
 
6171
- driver_ids : typing.Optional[typing.Union[str, typing.Sequence[str]]]
6172
- Optional string of comma separated driver IDs. If driver ID is present, events for the specified driver(s) will be returned. Limit of 2000 driver IDs.
6037
+ limit : typing.Optional[int]
6038
+ Maximum number of runs to return.
6173
6039
 
6174
- tag_ids : typing.Optional[typing.Union[str, typing.Sequence[str]]]
6175
- Optional string of comma separated tag IDs. If tag ID is present, events for the specified tag(s) will be returned. Limit of 2000 tag IDs.
6040
+ request_options : typing.Optional[RequestOptions]
6041
+ Request-specific configuration.
6042
+
6043
+ Returns
6044
+ -------
6045
+ ReportsGetReportRunsResponseBody
6046
+ OK response.
6047
+
6048
+ Examples
6049
+ --------
6050
+ import asyncio
6051
+
6052
+ from samsara import AsyncSamsara
6176
6053
 
6177
- assigned_coaches : typing.Optional[typing.Union[str, typing.Sequence[str]]]
6178
- Optional string of comma separated coach IDs to filter events assigned to a particular coach. Limit of 2000 coach IDs.
6054
+ client = AsyncSamsara(
6055
+ token="YOUR_TOKEN",
6056
+ )
6179
6057
 
6180
- behavior_labels : typing.Optional[typing.Union[str, typing.Sequence[str]]]
6181
- Optional string of comma separated labels to filter behavior labels. Valid values: `Acceleration`, `AggressiveDriving`, `BluetoothHeadset`, `Braking`, `ContextConstructionOrWorkZone`, `ContextSnowyOrIcy`, `ContextVulnerableRoadUser`, `ContextWet`, `Crash`, `DefensiveDriving`, `DidNotYield`, `Drinking`, `Drowsy`, `Eating`, `EatingDrinking`, `EdgeDistractedDriving`, `EdgeRailroadCrossingViolation`, `FollowingDistance`, `FollowingDistanceModerate`, `FollowingDistanceSevere`, `ForwardCollisionWarning`, `GenericDistraction`, `GenericTailgating`, `HarshTurn`, `HeavySpeeding`, `HosViolation`, `Idling`, `Invalid`, `LaneDeparture`, `LateResponse`, `LeftTurn`, `LightSpeeding`, `MaxSpeed`, `MobileUsage`, `ModerateSpeeding`, `NearCollison`, `NearPedestrianCollision`, `NoSeatbelt`, `ObstructedCamera`, `OtherViolation`, `Passenger`, `PolicyViolationMask`, `ProtectiveEquipment`, `RanRedLight`, `Reversing`, `RollingStop`, `RolloverProtection`, `SevereSpeeding`, `Smoking`, `Speeding`, `UTurn`, `UnsafeManeuver`, `UnsafeParking`, `VulnerableRoadUserCollisionWarning`, `YawControl`
6182
6058
 
6183
- event_states : typing.Optional[typing.Union[str, typing.Sequence[str]]]
6184
- Optional string of comma separated values to filter event states. Valid values: `needsReview`, `reviewed`, `needsCoaching`, `coached`, `dismissed`, `needsRecognition`, `recognized`
6059
+ async def main() -> None:
6060
+ await client.beta_ap_is.get_report_runs()
6185
6061
 
6186
- include_asset : typing.Optional[bool]
6187
- Indicates whether or not to return expanded “asset” data
6188
6062
 
6189
- include_driver : typing.Optional[bool]
6190
- Indicates whether or not to return expanded “driver” data
6063
+ asyncio.run(main())
6064
+ """
6065
+ _response = await self._raw_client.get_report_runs(
6066
+ report_config_ids=report_config_ids, ids=ids, after=after, limit=limit, request_options=request_options
6067
+ )
6068
+ return _response.data
6069
+
6070
+ async def create_report_run(
6071
+ self,
6072
+ *,
6073
+ report_config: CreateReportConfigObjectRequestBody,
6074
+ request_options: typing.Optional[RequestOptions] = None,
6075
+ ) -> ReportsCreateReportRunResponseBody:
6076
+ """
6077
+ Triggers a new custom report run based on the provided configuration.
6078
+
6079
+ <b>Rate limit:</b> 50 requests/hour (learn more about rate limits <a href="https://developers.samsara.com/docs/rate-limits" target="_blank">here</a>).
6080
+
6081
+ To use this endpoint, select **Write Custom Reports** under the Custom Reports category when creating or editing an API token. <a href="https://developers.samsara.com/docs/authentication#scopes-for-api-tokens" target="_blank">Learn More.</a>
6082
+
6083
+
6084
+ **Submit Feedback**: Likes, dislikes, and API feature requests should be filed as feedback in our <a href="https://forms.gle/zkD4NCH7HjKb7mm69" target="_blank">API feedback form</a>. If you encountered an issue or noticed inaccuracies in the API documentation, please <a href="https://www.samsara.com/help" target="_blank">submit a case</a> to our support team.
6085
+
6086
+ Parameters
6087
+ ----------
6088
+ report_config : CreateReportConfigObjectRequestBody
6089
+
6090
+ request_options : typing.Optional[RequestOptions]
6091
+ Request-specific configuration.
6092
+
6093
+ Returns
6094
+ -------
6095
+ ReportsCreateReportRunResponseBody
6096
+ Accepted response.
6097
+
6098
+ Examples
6099
+ --------
6100
+ import asyncio
6101
+
6102
+ from samsara import AsyncSamsara, CreateReportConfigObjectRequestBody
6103
+
6104
+ client = AsyncSamsara(
6105
+ token="YOUR_TOKEN",
6106
+ )
6107
+
6108
+
6109
+ async def main() -> None:
6110
+ await client.beta_ap_is.create_report_run(
6111
+ report_config=CreateReportConfigObjectRequestBody(),
6112
+ )
6113
+
6114
+
6115
+ asyncio.run(main())
6116
+ """
6117
+ _response = await self._raw_client.create_report_run(
6118
+ report_config=report_config, request_options=request_options
6119
+ )
6120
+ return _response.data
6121
+
6122
+ async def get_report_run_data(
6123
+ self,
6124
+ *,
6125
+ id: str,
6126
+ after: typing.Optional[str] = None,
6127
+ limit: typing.Optional[int] = None,
6128
+ request_options: typing.Optional[RequestOptions] = None,
6129
+ ) -> ReportsGetReportRunDataResponseBody:
6130
+ """
6131
+ Get data for the given custom report run.
6132
+
6133
+ <b>Rate limit:</b> 5 requests/sec (learn more about rate limits <a href="https://developers.samsara.com/docs/rate-limits" target="_blank">here</a>).
6134
+
6135
+ To use this endpoint, select **Read Custom Reports** under the Custom Reports category when creating or editing an API token. <a href="https://developers.samsara.com/docs/authentication#scopes-for-api-tokens" target="_blank">Learn More.</a>
6136
+
6137
+
6138
+ **Submit Feedback**: Likes, dislikes, and API feature requests should be filed as feedback in our <a href="https://forms.gle/zkD4NCH7HjKb7mm69" target="_blank">API feedback form</a>. If you encountered an issue or noticed inaccuracies in the API documentation, please <a href="https://www.samsara.com/help" target="_blank">submit a case</a> to our support team.
6139
+
6140
+ Parameters
6141
+ ----------
6142
+ id : str
6143
+ ID of the report run.
6191
6144
 
6192
6145
  after : typing.Optional[str]
6193
6146
  If specified, this should be the endCursor value from the previous page of results. When present, this request will return the next page of results that occur immediately after the previous page of results.
6194
6147
 
6148
+ limit : typing.Optional[int]
6149
+ Maximum number of rows to return.
6150
+
6195
6151
  request_options : typing.Optional[RequestOptions]
6196
6152
  Request-specific configuration.
6197
6153
 
6198
6154
  Returns
6199
6155
  -------
6200
- SafetyEventsV2GetSafetyEventsV2StreamResponseBody
6156
+ ReportsGetReportRunDataResponseBody
6201
6157
  OK response.
6202
6158
 
6203
6159
  Examples
@@ -6212,26 +6168,15 @@ class AsyncBetaApIsClient:
6212
6168
 
6213
6169
 
6214
6170
  async def main() -> None:
6215
- await client.beta_ap_is.get_safety_events_v_2_stream(
6216
- start_time="startTime",
6171
+ await client.beta_ap_is.get_report_run_data(
6172
+ id="id",
6217
6173
  )
6218
6174
 
6219
6175
 
6220
6176
  asyncio.run(main())
6221
6177
  """
6222
- _response = await self._raw_client.get_safety_events_v_2_stream(
6223
- start_time=start_time,
6224
- end_time=end_time,
6225
- asset_ids=asset_ids,
6226
- driver_ids=driver_ids,
6227
- tag_ids=tag_ids,
6228
- assigned_coaches=assigned_coaches,
6229
- behavior_labels=behavior_labels,
6230
- event_states=event_states,
6231
- include_asset=include_asset,
6232
- include_driver=include_driver,
6233
- after=after,
6234
- request_options=request_options,
6178
+ _response = await self._raw_client.get_report_run_data(
6179
+ id=id, after=after, limit=limit, request_options=request_options
6235
6180
  )
6236
6181
  return _response.data
6237
6182
 
@@ -6747,7 +6692,7 @@ class AsyncBetaApIsClient:
6747
6692
  Parameters
6748
6693
  ----------
6749
6694
  ids : typing.Optional[typing.Union[str, typing.Sequence[str]]]
6750
- String of comma separated assignments IDs. Max value for this value is 100 objects .Example: `ids=a4db8702-79d5-4396-a717-e301d52ecc11,c6490f6a-d84e-49b5-b0ad-b6baae304075`
6695
+ String of comma separated assignments IDs. Max value for this value is 100 objects. Example: `ids=a4db8702-79d5-4396-a717-e301d52ecc11,c6490f6a-d84e-49b5-b0ad-b6baae304075`
6751
6696
 
6752
6697
  request_options : typing.Optional[RequestOptions]
6753
6698
  Request-specific configuration.
@@ -6801,7 +6746,7 @@ class AsyncBetaApIsClient:
6801
6746
  Due date of the training assignment in RFC 3339 format. Millisecond precision and timezones are supported.
6802
6747
 
6803
6748
  ids : typing.Optional[typing.Union[str, typing.Sequence[str]]]
6804
- String of comma separated assignments IDs. Max value for this value is 100 objects .Example: `ids=a4db8702-79d5-4396-a717-e301d52ecc11,c6490f6a-d84e-49b5-b0ad-b6baae304075`
6749
+ String of comma separated assignments IDs. Max value for this value is 100 objects. Example: `ids=a4db8702-79d5-4396-a717-e301d52ecc11,c6490f6a-d84e-49b5-b0ad-b6baae304075`
6805
6750
 
6806
6751
  request_options : typing.Optional[RequestOptions]
6807
6752
  Request-specific configuration.
@@ -6844,12 +6789,12 @@ class AsyncBetaApIsClient:
6844
6789
  learner_ids: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
6845
6790
  course_ids: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
6846
6791
  status: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
6792
+ is_overdue: typing.Optional[bool] = None,
6793
+ category_ids: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
6847
6794
  request_options: typing.Optional[RequestOptions] = None,
6848
6795
  ) -> TrainingAssignmentsGetTrainingAssignmentsStreamResponseBody:
6849
6796
  """
6850
- Returns all training assignments data that has been created or modified for your organization based on the time parameters passed in. Results are paginated and are sorted by last modified date. If you include an endTime, the endpoint will return data up until that point (exclusive). If you don't include an endTime, you can continue to poll the API real-time with the pagination cursor that gets returned on every call.
6851
-
6852
- **Beta:** This endpoint is in beta and is likely to change before being broadly available. Reach out to your Samsara Representative to have Training APIs enabled for your organization.
6797
+ Returns all training assignments data that has been created or modified for your organization based on the time parameters passed in. Results are paginated and are sorted by last modified date. If you include an endTime, the endpoint will return data up until that point (exclusive). If you don't include an endTime, the API will continue to poll with the pagination cursor that gets returned on every call. The hasNextPage response value will be true if there is no endTime specified and endCursor is nonempty.
6853
6798
 
6854
6799
  <b>Rate limit:</b> 5 requests/sec (learn more about rate limits <a href="https://developers.samsara.com/docs/rate-limits" target="_blank">here</a>).
6855
6800
 
@@ -6878,6 +6823,12 @@ class AsyncBetaApIsClient:
6878
6823
  status : typing.Optional[typing.Union[str, typing.Sequence[str]]]
6879
6824
  Optional string of comma separated values. If status is present, training assignments for the specified status(s) will be returned. Valid values: "notStarted", "inProgress", "completed". Defaults to returning all courses.
6880
6825
 
6826
+ is_overdue : typing.Optional[bool]
6827
+ Optional boolean value. If present, training assignments for the specified overdue status will be returned. Valid values: true, false. Defaults to returning all assignments.
6828
+
6829
+ category_ids : typing.Optional[typing.Union[str, typing.Sequence[str]]]
6830
+ Optional string of comma separated category IDs. If category ID is present, training assignments for the specified category ID(s) will be returned. Max value for this value is 100 objects. Example: `categoryIds=a4db8702-79d5-4396-a717-e301d52ecc11,c6490f6a-d84e-49b5-b0ad-b6baae304075`
6831
+
6881
6832
  request_options : typing.Optional[RequestOptions]
6882
6833
  Request-specific configuration.
6883
6834
 
@@ -6912,6 +6863,8 @@ class AsyncBetaApIsClient:
6912
6863
  learner_ids=learner_ids,
6913
6864
  course_ids=course_ids,
6914
6865
  status=status,
6866
+ is_overdue=is_overdue,
6867
+ category_ids=category_ids,
6915
6868
  request_options=request_options,
6916
6869
  )
6917
6870
  return _response.data
@@ -6983,87 +6936,3 @@ class AsyncBetaApIsClient:
6983
6936
  request_options=request_options,
6984
6937
  )
6985
6938
  return _response.data
6986
-
6987
- async def get_trips(
6988
- self,
6989
- *,
6990
- start_time: str,
6991
- include_asset: typing.Optional[bool] = None,
6992
- completion_status: typing.Optional[GetTripsRequestCompletionStatus] = None,
6993
- end_time: typing.Optional[str] = None,
6994
- query_by: typing.Optional[GetTripsRequestQueryBy] = None,
6995
- after: typing.Optional[str] = None,
6996
- ids: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
6997
- request_options: typing.Optional[RequestOptions] = None,
6998
- ) -> TripsGetTripsResponseBody:
6999
- """
7000
- This endpoint will return trips that have been collected for your organization based on the time parameters passed in. Results are paginated. Reach out to your Samsara Representative to have this API enabled for your organization.
7001
-
7002
- <b>Rate limit:</b> 5 requests/sec (learn more about rate limits <a href="https://developers.samsara.com/docs/rate-limits" target="_blank">here</a>).
7003
-
7004
- To use this endpoint, select **Read Trips** under the Trips category when creating or editing an API token. <a href="https://developers.samsara.com/docs/authentication#scopes-for-api-tokens" target="_blank">Learn More.</a>
7005
-
7006
-
7007
- **Submit Feedback**: Likes, dislikes, and API feature requests should be filed as feedback in our <a href="https://forms.gle/zkD4NCH7HjKb7mm69" target="_blank">API feedback form</a>. If you encountered an issue or noticed inaccuracies in the API documentation, please <a href="https://www.samsara.com/help" target="_blank">submit a case</a> to our support team.
7008
-
7009
- Parameters
7010
- ----------
7011
- start_time : str
7012
- RFC 3339 timestamp that indicates when to begin receiving data. Value is compared against `updatedAtTime` or `tripStartTime` depending on the queryBy parameter.
7013
-
7014
- include_asset : typing.Optional[bool]
7015
- Indicates whether or not to return expanded “asset” data
7016
-
7017
- completion_status : typing.Optional[GetTripsRequestCompletionStatus]
7018
- Filters trips based on a specific completion status Valid values: `inProgress`, `completed`, `all`
7019
-
7020
- end_time : typing.Optional[str]
7021
- RFC 3339 timestamp which is compared against `updatedAtTime` or `tripStartTime` depending on the queryBy parameter. If not provided then the endpoint behaves as an unending feed of changes.
7022
-
7023
- query_by : typing.Optional[GetTripsRequestQueryBy]
7024
- Decide which timestamp the `startTime` and `endTime` are compared to. Valid values: `updatedAtTime`, `tripStartTime`
7025
-
7026
- after : typing.Optional[str]
7027
- If specified, this should be the endCursor value from the previous page of results. When present, this request will return the next page of results that occur immediately after the previous page of results.
7028
-
7029
- ids : typing.Optional[typing.Union[str, typing.Sequence[str]]]
7030
- Comma-separated list of asset IDs. Include up to 50 asset IDs.
7031
-
7032
- request_options : typing.Optional[RequestOptions]
7033
- Request-specific configuration.
7034
-
7035
- Returns
7036
- -------
7037
- TripsGetTripsResponseBody
7038
- OK response.
7039
-
7040
- Examples
7041
- --------
7042
- import asyncio
7043
-
7044
- from samsara import AsyncSamsara
7045
-
7046
- client = AsyncSamsara(
7047
- token="YOUR_TOKEN",
7048
- )
7049
-
7050
-
7051
- async def main() -> None:
7052
- await client.beta_ap_is.get_trips(
7053
- start_time="startTime",
7054
- )
7055
-
7056
-
7057
- asyncio.run(main())
7058
- """
7059
- _response = await self._raw_client.get_trips(
7060
- start_time=start_time,
7061
- include_asset=include_asset,
7062
- completion_status=completion_status,
7063
- end_time=end_time,
7064
- query_by=query_by,
7065
- after=after,
7066
- ids=ids,
7067
- request_options=request_options,
7068
- )
7069
- return _response.data