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

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