samsara-api 4.0.1__py3-none-any.whl → 4.1.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (135) hide show
  1. samsara/__init__.py +138 -0
  2. samsara/client.py +19 -0
  3. samsara/core/client_wrapper.py +2 -2
  4. samsara/route_events/__init__.py +4 -0
  5. samsara/route_events/client.py +176 -0
  6. samsara/route_events/raw_client.py +362 -0
  7. samsara/types/__init__.py +155 -0
  8. samsara/types/door_open_response_body.py +28 -0
  9. samsara/types/route_event_details_response_body.py +36 -0
  10. samsara/types/route_event_response_response_body.py +56 -0
  11. samsara/types/route_event_response_response_body_event_type.py +17 -0
  12. samsara/types/route_event_route_response_response_body.py +35 -0
  13. samsara/types/route_event_stop_response_response_body.py +35 -0
  14. samsara/types/routes_get_route_events_stream_bad_gateway_error_response_body.py +33 -0
  15. samsara/types/routes_get_route_events_stream_gateway_timeout_error_response_body.py +33 -0
  16. samsara/types/routes_get_route_events_stream_internal_server_error_response_body.py +33 -0
  17. samsara/types/routes_get_route_events_stream_method_not_allowed_error_response_body.py +33 -0
  18. samsara/types/routes_get_route_events_stream_not_found_error_response_body.py +33 -0
  19. samsara/types/routes_get_route_events_stream_not_implemented_error_response_body.py +33 -0
  20. samsara/types/routes_get_route_events_stream_response_body.py +26 -0
  21. samsara/types/routes_get_route_events_stream_service_unavailable_error_response_body.py +33 -0
  22. samsara/types/routes_get_route_events_stream_too_many_requests_error_response_body.py +33 -0
  23. samsara/types/routes_get_route_events_stream_unauthorized_error_response_body.py +33 -0
  24. samsara/types/safety_event.py +6 -6
  25. samsara/types/safety_event_driver.py +5 -0
  26. samsara/types/safety_event_location.py +5 -0
  27. samsara/types/safety_event_vehicle.py +5 -0
  28. samsara/types/stop_eta_updated_event_details_response_body.py +33 -0
  29. samsara/types/stop_task_completed_event_details_response_body.py +36 -0
  30. samsara/types/stop_task_completed_event_details_response_body_task_type.py +5 -0
  31. samsara/types/stop_task_skipped_event_details_response_body.py +36 -0
  32. samsara/types/stop_task_skipped_event_details_response_body_task_type.py +5 -0
  33. samsara/types/vehicle.py +28 -16
  34. samsara/types/vehicle_aux_input_type_1.py +5 -0
  35. samsara/types/vehicle_aux_input_type_10.py +5 -0
  36. samsara/types/vehicle_aux_input_type_11.py +5 -0
  37. samsara/types/vehicle_aux_input_type_12.py +5 -0
  38. samsara/types/vehicle_aux_input_type_13.py +5 -0
  39. samsara/types/vehicle_aux_input_type_2.py +5 -0
  40. samsara/types/vehicle_aux_input_type_3.py +5 -0
  41. samsara/types/vehicle_aux_input_type_4.py +5 -0
  42. samsara/types/vehicle_aux_input_type_5.py +5 -0
  43. samsara/types/vehicle_aux_input_type_6.py +5 -0
  44. samsara/types/vehicle_aux_input_type_7.py +5 -0
  45. samsara/types/vehicle_aux_input_type_8.py +5 -0
  46. samsara/types/vehicle_aux_input_type_9.py +5 -0
  47. samsara/types/vehicle_location.py +6 -4
  48. samsara/types/vehicle_location_reverse_geo.py +5 -0
  49. samsara/types/vehicle_location_time.py +5 -0
  50. samsara/types/vehicle_static_assigned_driver.py +5 -0
  51. samsara/types/vehicle_stats_ambient_air_temp_milli_c.py +2 -2
  52. samsara/types/vehicle_stats_ambient_air_temp_milli_c_with_decoration.py +2 -2
  53. samsara/types/vehicle_stats_barometric_pressure_pa.py +2 -2
  54. samsara/types/vehicle_stats_barometric_pressure_pa_with_decoration.py +2 -2
  55. samsara/types/vehicle_stats_battery_voltage.py +2 -2
  56. samsara/types/vehicle_stats_battery_voltage_with_decoration.py +2 -2
  57. samsara/types/vehicle_stats_decorations.py +4 -0
  58. samsara/types/vehicle_stats_decorations_gps.py +4 -2
  59. samsara/types/vehicle_stats_def_level_milli_percent.py +2 -2
  60. samsara/types/vehicle_stats_def_level_milli_percent_with_decoration.py +2 -2
  61. samsara/types/vehicle_stats_ecu_door_status.py +29 -0
  62. samsara/types/vehicle_stats_ecu_door_status_value.py +5 -0
  63. samsara/types/vehicle_stats_ecu_speed_mph.py +2 -2
  64. samsara/types/vehicle_stats_ecu_speed_mph_with_decoration.py +2 -2
  65. samsara/types/vehicle_stats_engine_coolant_temp_milli_c.py +2 -2
  66. samsara/types/vehicle_stats_engine_coolant_temp_milli_c_with_decoration.py +2 -2
  67. samsara/types/vehicle_stats_engine_load_percent.py +2 -2
  68. samsara/types/vehicle_stats_engine_load_percent_with_decoration.py +2 -2
  69. samsara/types/vehicle_stats_engine_oil_pressure_k_pa.py +2 -2
  70. samsara/types/vehicle_stats_engine_oil_pressure_k_pa_with_decoration.py +2 -2
  71. samsara/types/vehicle_stats_engine_rpm.py +2 -2
  72. samsara/types/vehicle_stats_engine_rpm_with_decoration.py +2 -2
  73. samsara/types/vehicle_stats_engine_state.py +2 -2
  74. samsara/types/vehicle_stats_engine_state_with_decoration.py +2 -2
  75. samsara/types/vehicle_stats_ev_average_battery_temperature_milli_celsius.py +2 -2
  76. samsara/types/vehicle_stats_ev_battery_current_milli_amp.py +2 -2
  77. samsara/types/vehicle_stats_ev_battery_state_of_health_milli_percent.py +2 -2
  78. samsara/types/vehicle_stats_ev_battery_voltage_milli_volt.py +2 -2
  79. samsara/types/vehicle_stats_ev_charging_current_milli_amp.py +2 -2
  80. samsara/types/vehicle_stats_ev_charging_energy_micro_wh.py +2 -2
  81. samsara/types/vehicle_stats_ev_charging_status.py +2 -2
  82. samsara/types/vehicle_stats_ev_charging_voltage_milli_volt.py +2 -2
  83. samsara/types/vehicle_stats_ev_consumed_energy_micro_wh.py +2 -2
  84. samsara/types/vehicle_stats_ev_distance_driven_meters.py +2 -2
  85. samsara/types/vehicle_stats_ev_regenerated_energy_micro_wh.py +2 -2
  86. samsara/types/vehicle_stats_ev_state_of_charge_milli_percent.py +2 -2
  87. samsara/types/vehicle_stats_fault_codes_with_decoration.py +2 -2
  88. samsara/types/vehicle_stats_fuel_consumed_milliliters.py +2 -2
  89. samsara/types/vehicle_stats_fuel_consumed_milliliters_with_decoration.py +2 -2
  90. samsara/types/vehicle_stats_fuel_percent.py +2 -2
  91. samsara/types/vehicle_stats_fuel_percent_with_decoration.py +2 -2
  92. samsara/types/vehicle_stats_gps.py +6 -4
  93. samsara/types/vehicle_stats_gps_distance_meters.py +2 -2
  94. samsara/types/vehicle_stats_gps_distance_meters_with_decoration.py +2 -2
  95. samsara/types/vehicle_stats_gps_odometer_meters.py +2 -2
  96. samsara/types/vehicle_stats_gps_odometer_meters_with_decoration.py +2 -2
  97. samsara/types/vehicle_stats_idling_duration_milliseconds.py +2 -2
  98. samsara/types/vehicle_stats_idling_duration_milliseconds_with_decoration.py +2 -2
  99. samsara/types/vehicle_stats_intake_manifold_temp_milli_c.py +2 -2
  100. samsara/types/vehicle_stats_intake_manifold_temp_milli_c_with_decoration.py +2 -2
  101. samsara/types/vehicle_stats_list_gps.py +6 -4
  102. samsara/types/vehicle_stats_list_response_data.py +8 -0
  103. samsara/types/vehicle_stats_obd_engine_seconds.py +2 -2
  104. samsara/types/vehicle_stats_obd_engine_seconds_with_decoration.py +2 -2
  105. samsara/types/vehicle_stats_obd_odometer_meters.py +2 -2
  106. samsara/types/vehicle_stats_obd_odometer_meters_with_decoration.py +2 -2
  107. samsara/types/vehicle_stats_response_data.py +4 -0
  108. samsara/types/vehicle_stats_response_ecu_door_status.py +32 -0
  109. samsara/types/vehicle_stats_response_ecu_door_status_value.py +5 -0
  110. samsara/types/vehicle_stats_seatbelt_driver.py +2 -2
  111. samsara/types/vehicle_stats_spreader_active.py +2 -2
  112. samsara/types/vehicle_stats_spreader_air_temp.py +2 -2
  113. samsara/types/vehicle_stats_spreader_blast_state.py +2 -2
  114. samsara/types/vehicle_stats_spreader_granular_name.py +2 -2
  115. samsara/types/vehicle_stats_spreader_granular_rate.py +2 -2
  116. samsara/types/vehicle_stats_spreader_liquid_name.py +2 -2
  117. samsara/types/vehicle_stats_spreader_liquid_rate.py +2 -2
  118. samsara/types/vehicle_stats_spreader_on_state.py +2 -2
  119. samsara/types/vehicle_stats_spreader_plow_status.py +2 -2
  120. samsara/types/vehicle_stats_spreader_prewet_name.py +2 -2
  121. samsara/types/vehicle_stats_spreader_prewet_rate.py +2 -2
  122. samsara/types/vehicle_stats_spreader_road_temp.py +2 -2
  123. samsara/types/vehicle_stats_time.py +5 -0
  124. samsara/types/workflow_incident_details_object_response_body.py +4 -0
  125. samsara/vehicle_stats/client.py +10 -0
  126. samsara/vehicle_stats/raw_client.py +10 -0
  127. samsara/vehicle_stats/types/get_vehicle_stats_feed_request_decorations_item.py +1 -0
  128. samsara/vehicle_stats/types/get_vehicle_stats_feed_request_types_item.py +1 -0
  129. samsara/vehicle_stats/types/get_vehicle_stats_history_request_decorations_item.py +1 -0
  130. samsara/vehicle_stats/types/get_vehicle_stats_history_request_types_item.py +1 -0
  131. samsara/vehicle_stats/types/get_vehicle_stats_request_types_item.py +1 -0
  132. {samsara_api-4.0.1.dist-info → samsara_api-4.1.0.dist-info}/METADATA +1 -1
  133. {samsara_api-4.0.1.dist-info → samsara_api-4.1.0.dist-info}/RECORD +135 -87
  134. {samsara_api-4.0.1.dist-info → samsara_api-4.1.0.dist-info}/LICENSE +0 -0
  135. {samsara_api-4.0.1.dist-info → samsara_api-4.1.0.dist-info}/WHEEL +0 -0
@@ -4,8 +4,8 @@ import typing
4
4
 
5
5
  import pydantic
6
6
  from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
7
- from .time import Time
8
7
  from .vehicle_stats_spreader_blast_state_value import VehicleStatsSpreaderBlastStateValue
8
+ from .vehicle_stats_time import VehicleStatsTime
9
9
 
10
10
 
11
11
  class VehicleStatsSpreaderBlastState(UniversalBaseModel):
@@ -13,7 +13,7 @@ class VehicleStatsSpreaderBlastState(UniversalBaseModel):
13
13
  Whether vehicle is actively spreading material in ‘blast mode’.
14
14
  """
15
15
 
16
- time: Time
16
+ time: VehicleStatsTime
17
17
  value: VehicleStatsSpreaderBlastStateValue = pydantic.Field()
18
18
  """
19
19
  Whether vehicle is actively spreading material in ‘blast mode’.
@@ -4,7 +4,7 @@ import typing
4
4
 
5
5
  import pydantic
6
6
  from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
7
- from .time import Time
7
+ from .vehicle_stats_time import VehicleStatsTime
8
8
 
9
9
 
10
10
  class VehicleStatsSpreaderGranularName(UniversalBaseModel):
@@ -12,7 +12,7 @@ class VehicleStatsSpreaderGranularName(UniversalBaseModel):
12
12
  Name of most recent type of granular material spread, read from the material spreader.
13
13
  """
14
14
 
15
- time: Time
15
+ time: VehicleStatsTime
16
16
  value: str = pydantic.Field()
17
17
  """
18
18
  Name of most recent type of granular material spread, read from the material spreader.
@@ -4,7 +4,7 @@ import typing
4
4
 
5
5
  import pydantic
6
6
  from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
7
- from .time import Time
7
+ from .vehicle_stats_time import VehicleStatsTime
8
8
 
9
9
 
10
10
  class VehicleStatsSpreaderGranularRate(UniversalBaseModel):
@@ -12,7 +12,7 @@ class VehicleStatsSpreaderGranularRate(UniversalBaseModel):
12
12
  Granular spread rate reading in milliliters per meter, read from the material spreader. Unfiltered live stats are supplied as-read from the Material Spreader unit. Readings do not consider total spread rate(s) over time or distance. Unfiltered live stats are supplied as-read from the Material Spreader unit. Readings do not consider total spread rate(s) over time or distance.
13
13
  """
14
14
 
15
- time: Time
15
+ time: VehicleStatsTime
16
16
  value: int = pydantic.Field()
17
17
  """
18
18
  Granular spread rate reading in milliliters per meter, read from the material spreader. Unfiltered live stats are supplied as-read from the Material Spreader unit. Readings do not consider total spread rate(s) over time or distance. Unfiltered live stats are supplied as-read from the Material Spreader unit. Readings do not consider total spread rate(s) over time or distance.
@@ -4,7 +4,7 @@ import typing
4
4
 
5
5
  import pydantic
6
6
  from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
7
- from .time import Time
7
+ from .vehicle_stats_time import VehicleStatsTime
8
8
 
9
9
 
10
10
  class VehicleStatsSpreaderLiquidName(UniversalBaseModel):
@@ -12,7 +12,7 @@ class VehicleStatsSpreaderLiquidName(UniversalBaseModel):
12
12
  Name of most recent type of liquid material spread, read from the material spreader.
13
13
  """
14
14
 
15
- time: Time
15
+ time: VehicleStatsTime
16
16
  value: str = pydantic.Field()
17
17
  """
18
18
  Name of most recent type of liquid material spread, read from the material spreader.
@@ -4,7 +4,7 @@ import typing
4
4
 
5
5
  import pydantic
6
6
  from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
7
- from .time import Time
7
+ from .vehicle_stats_time import VehicleStatsTime
8
8
 
9
9
 
10
10
  class VehicleStatsSpreaderLiquidRate(UniversalBaseModel):
@@ -12,7 +12,7 @@ class VehicleStatsSpreaderLiquidRate(UniversalBaseModel):
12
12
  Liquid spread rate reading in milliliters per meter, read from the material spreader. Unfiltered live stats are supplied as-read from the Material Spreader unit. Readings do not consider total spread rate(s) over time or distance. Unfiltered live stats are supplied as-read from the Material Spreader unit. Readings do not consider total spread rate(s) over time or distance.
13
13
  """
14
14
 
15
- time: Time
15
+ time: VehicleStatsTime
16
16
  value: int = pydantic.Field()
17
17
  """
18
18
  Liquid spread rate reading in milliliters per meter, read from the material spreader. Unfiltered live stats are supplied as-read from the Material Spreader unit. Readings do not consider total spread rate(s) over time or distance. Unfiltered live stats are supplied as-read from the Material Spreader unit. Readings do not consider total spread rate(s) over time or distance.
@@ -4,8 +4,8 @@ import typing
4
4
 
5
5
  import pydantic
6
6
  from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
7
- from .time import Time
8
7
  from .vehicle_stats_spreader_on_state_value import VehicleStatsSpreaderOnStateValue
8
+ from .vehicle_stats_time import VehicleStatsTime
9
9
 
10
10
 
11
11
  class VehicleStatsSpreaderOnState(UniversalBaseModel):
@@ -13,7 +13,7 @@ class VehicleStatsSpreaderOnState(UniversalBaseModel):
13
13
  Whether vehicle spreader is enabled.
14
14
  """
15
15
 
16
- time: Time
16
+ time: VehicleStatsTime
17
17
  value: VehicleStatsSpreaderOnStateValue = pydantic.Field()
18
18
  """
19
19
  Whether vehicle spreader is enabled.
@@ -4,8 +4,8 @@ import typing
4
4
 
5
5
  import pydantic
6
6
  from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
7
- from .time import Time
8
7
  from .vehicle_stats_spreader_plow_status_value import VehicleStatsSpreaderPlowStatusValue
8
+ from .vehicle_stats_time import VehicleStatsTime
9
9
 
10
10
 
11
11
  class VehicleStatsSpreaderPlowStatus(UniversalBaseModel):
@@ -13,7 +13,7 @@ class VehicleStatsSpreaderPlowStatus(UniversalBaseModel):
13
13
  Snow plow status (`Up` or `Down`), as read from the material spreader. Note: this is separate from plow status defined via auxInput.
14
14
  """
15
15
 
16
- time: Time
16
+ time: VehicleStatsTime
17
17
  value: VehicleStatsSpreaderPlowStatusValue = pydantic.Field()
18
18
  """
19
19
  Snow plow status, as read from the material spreader
@@ -4,7 +4,7 @@ import typing
4
4
 
5
5
  import pydantic
6
6
  from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
7
- from .time import Time
7
+ from .vehicle_stats_time import VehicleStatsTime
8
8
 
9
9
 
10
10
  class VehicleStatsSpreaderPrewetName(UniversalBaseModel):
@@ -12,7 +12,7 @@ class VehicleStatsSpreaderPrewetName(UniversalBaseModel):
12
12
  Name of most recent type of prewet material spread, read from the material spreader.
13
13
  """
14
14
 
15
- time: Time
15
+ time: VehicleStatsTime
16
16
  value: str = pydantic.Field()
17
17
  """
18
18
  Name of most recent type of prewet material spread, read from the material spreader.
@@ -4,7 +4,7 @@ import typing
4
4
 
5
5
  import pydantic
6
6
  from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
7
- from .time import Time
7
+ from .vehicle_stats_time import VehicleStatsTime
8
8
 
9
9
 
10
10
  class VehicleStatsSpreaderPrewetRate(UniversalBaseModel):
@@ -12,7 +12,7 @@ class VehicleStatsSpreaderPrewetRate(UniversalBaseModel):
12
12
  Prewet spread rate reading in milliliters per meter, read from the material spreader. Unfiltered live stats are supplied as-read from the Material Spreader unit. Readings do not consider total spread rate(s) over time or distance. Unfiltered live stats are supplied as-read from the Material Spreader unit. Readings do not consider total spread rate(s) over time or distance.
13
13
  """
14
14
 
15
- time: Time
15
+ time: VehicleStatsTime
16
16
  value: int = pydantic.Field()
17
17
  """
18
18
  Prewet spread rate reading in milliliters per meter, read from the material spreader. Unfiltered live stats are supplied as-read from the Material Spreader unit. Readings do not consider total spread rate(s) over time or distance. Unfiltered live stats are supplied as-read from the Material Spreader unit. Readings do not consider total spread rate(s) over time or distance.
@@ -4,7 +4,7 @@ import typing
4
4
 
5
5
  import pydantic
6
6
  from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
7
- from .time import Time
7
+ from .vehicle_stats_time import VehicleStatsTime
8
8
 
9
9
 
10
10
  class VehicleStatsSpreaderRoadTemp(UniversalBaseModel):
@@ -12,7 +12,7 @@ class VehicleStatsSpreaderRoadTemp(UniversalBaseModel):
12
12
  Road temperature reading in milli celsius from material spreader.
13
13
  """
14
14
 
15
- time: Time
15
+ time: VehicleStatsTime
16
16
  value: int = pydantic.Field()
17
17
  """
18
18
  Road temperature reading in milli celsius from material spreader.
@@ -0,0 +1,5 @@
1
+ # This file was auto-generated by Fern from our API Definition.
2
+
3
+ from .time import Time
4
+
5
+ VehicleStatsTime = Time
@@ -15,6 +15,7 @@ from .dashcam_disconnected_response_body import DashcamDisconnectedResponseBody
15
15
  from .data_input_value_response_body import DataInputValueResponseBody
16
16
  from .device_movement_data_response_body import DeviceMovementDataResponseBody
17
17
  from .device_movement_stopped_data_response_body import DeviceMovementStoppedDataResponseBody
18
+ from .door_open_response_body import DoorOpenResponseBody
18
19
  from .driver_app_sign_in_response_body import DriverAppSignInResponseBody
19
20
  from .driver_app_sign_out_response_body import DriverAppSignOutResponseBody
20
21
  from .driver_document_submitted_response_body import DriverDocumentSubmittedResponseBody
@@ -96,6 +97,9 @@ class WorkflowIncidentDetailsObjectResponseBody(UniversalBaseModel):
96
97
  device_movement_stopped: typing_extensions.Annotated[
97
98
  typing.Optional[DeviceMovementStoppedDataResponseBody], FieldMetadata(alias="deviceMovementStopped")
98
99
  ] = None
100
+ door_open: typing_extensions.Annotated[typing.Optional[DoorOpenResponseBody], FieldMetadata(alias="doorOpen")] = (
101
+ None
102
+ )
99
103
  driver_app_sign_in: typing_extensions.Annotated[
100
104
  typing.Optional[DriverAppSignInResponseBody], FieldMetadata(alias="driverAppSignIn")
101
105
  ] = None
@@ -125,6 +125,7 @@ class VehicleStatsClient:
125
125
  - `spreaderPlowStatus`: Snow plow status (`Up` or `Down`), as read from the material spreader. Note: this is separate from plow status defined via auxInput.
126
126
  - `seatbeltDriver`: Seatbelt Driver Status as read from the vehicle. `Buckled` or `Unbuckled`. (Beta only)
127
127
  - `tellTales`: Tell tales status as read from the vehicle.
128
+ - `ecuDoorStatus`: Status of doors, sourced from ECU or from AUX port assigned to a Door label if diagnostic from ECU is not available. Either `Closed`, `Open` or `Unknown`.
128
129
 
129
130
  request_options : typing.Optional[RequestOptions]
130
131
  Request-specific configuration.
@@ -257,6 +258,7 @@ class VehicleStatsClient:
257
258
  - `spreaderPlowStatus`: Snow plow status (`Up` or `Down`), as read from the material spreader. Note: this is separate from plow status defined via auxInput.
258
259
  - `seatbeltDriver`: Seatbelt Driver Status as read from the vehicle. `Buckled` or `Unbuckled`. (Beta only)
259
260
  - `tellTales`: Tell tales status as read from the vehicle.
261
+ - `ecuDoorStatus`: Status of doors, sourced from ECU or from AUX port assigned to a Door label if diagnostic from ECU is not available. Either `Closed`, `Open` or `Unknown`.
260
262
 
261
263
  decorations : typing.Optional[typing.Union[GetVehicleStatsFeedRequestDecorationsItem, typing.Sequence[GetVehicleStatsFeedRequestDecorationsItem]]]
262
264
  Decorations to add to the primary stats listed in the `types` parameter. For example, if you wish to know the vehicle's location whenever the engine changes state, you may set `types=engineStates&decorations=gps`.
@@ -313,6 +315,7 @@ class VehicleStatsClient:
313
315
  - `spreaderPlowStatus`: Snow plow status (`Up` or `Down`), as read from the material spreader. Note: this is separate from plow status defined via auxInput.
314
316
  - `seatbeltDriver`: Seatbelt Driver Status as read from the vehicle. `Buckled` or `Unbuckled`. (Beta only)
315
317
  - `tellTales`: Tell tales status as read from the vehicle.
318
+ - `ecuDoorStatus`: Status of doors, sourced from ECU or from AUX port assigned to a Door label if diagnostic from ECU is not available. Either `Closed`, `Open` or `Unknown`.
316
319
 
317
320
  request_options : typing.Optional[RequestOptions]
318
321
  Request-specific configuration.
@@ -450,6 +453,7 @@ class VehicleStatsClient:
450
453
  - `spreaderPlowStatus`: Snow plow status (`Up` or `Down`), as read from the material spreader. Note: this is separate from plow status defined via auxInput.
451
454
  - `seatbeltDriver`: Seatbelt Driver Status as read from the vehicle. `Buckled` or `Unbuckled`. (Beta only)
452
455
  - `tellTales`: Tell tales status as read from the vehicle.
456
+ - `ecuDoorStatus`: Status of doors, sourced from ECU or from AUX port assigned to a Door label if diagnostic from ECU is not available. Either `Closed`, `Open` or `Unknown`.
453
457
 
454
458
  decorations : typing.Optional[typing.Union[GetVehicleStatsHistoryRequestDecorationsItem, typing.Sequence[GetVehicleStatsHistoryRequestDecorationsItem]]]
455
459
  Decorations to add to the primary stats listed in the `types` parameter. For example, if you wish to know the vehicle's location whenever the engine changes state, you may set `types=engineStates&decorations=gps`.
@@ -506,6 +510,7 @@ class VehicleStatsClient:
506
510
  - `spreaderPlowStatus`: Snow plow status (`Up` or `Down`), as read from the material spreader. Note: this is separate from plow status defined via auxInput.
507
511
  - `seatbeltDriver`: Seatbelt Driver Status as read from the vehicle. `Buckled` or `Unbuckled`. (Beta only)
508
512
  - `tellTales`: Tell tales status as read from the vehicle.
513
+ - `ecuDoorStatus`: Status of doors, sourced from ECU or from AUX port assigned to a Door label if diagnostic from ECU is not available. Either `Closed`, `Open` or `Unknown`.
509
514
 
510
515
  request_options : typing.Optional[RequestOptions]
511
516
  Request-specific configuration.
@@ -652,6 +657,7 @@ class AsyncVehicleStatsClient:
652
657
  - `spreaderPlowStatus`: Snow plow status (`Up` or `Down`), as read from the material spreader. Note: this is separate from plow status defined via auxInput.
653
658
  - `seatbeltDriver`: Seatbelt Driver Status as read from the vehicle. `Buckled` or `Unbuckled`. (Beta only)
654
659
  - `tellTales`: Tell tales status as read from the vehicle.
660
+ - `ecuDoorStatus`: Status of doors, sourced from ECU or from AUX port assigned to a Door label if diagnostic from ECU is not available. Either `Closed`, `Open` or `Unknown`.
655
661
 
656
662
  request_options : typing.Optional[RequestOptions]
657
663
  Request-specific configuration.
@@ -792,6 +798,7 @@ class AsyncVehicleStatsClient:
792
798
  - `spreaderPlowStatus`: Snow plow status (`Up` or `Down`), as read from the material spreader. Note: this is separate from plow status defined via auxInput.
793
799
  - `seatbeltDriver`: Seatbelt Driver Status as read from the vehicle. `Buckled` or `Unbuckled`. (Beta only)
794
800
  - `tellTales`: Tell tales status as read from the vehicle.
801
+ - `ecuDoorStatus`: Status of doors, sourced from ECU or from AUX port assigned to a Door label if diagnostic from ECU is not available. Either `Closed`, `Open` or `Unknown`.
795
802
 
796
803
  decorations : typing.Optional[typing.Union[GetVehicleStatsFeedRequestDecorationsItem, typing.Sequence[GetVehicleStatsFeedRequestDecorationsItem]]]
797
804
  Decorations to add to the primary stats listed in the `types` parameter. For example, if you wish to know the vehicle's location whenever the engine changes state, you may set `types=engineStates&decorations=gps`.
@@ -848,6 +855,7 @@ class AsyncVehicleStatsClient:
848
855
  - `spreaderPlowStatus`: Snow plow status (`Up` or `Down`), as read from the material spreader. Note: this is separate from plow status defined via auxInput.
849
856
  - `seatbeltDriver`: Seatbelt Driver Status as read from the vehicle. `Buckled` or `Unbuckled`. (Beta only)
850
857
  - `tellTales`: Tell tales status as read from the vehicle.
858
+ - `ecuDoorStatus`: Status of doors, sourced from ECU or from AUX port assigned to a Door label if diagnostic from ECU is not available. Either `Closed`, `Open` or `Unknown`.
851
859
 
852
860
  request_options : typing.Optional[RequestOptions]
853
861
  Request-specific configuration.
@@ -993,6 +1001,7 @@ class AsyncVehicleStatsClient:
993
1001
  - `spreaderPlowStatus`: Snow plow status (`Up` or `Down`), as read from the material spreader. Note: this is separate from plow status defined via auxInput.
994
1002
  - `seatbeltDriver`: Seatbelt Driver Status as read from the vehicle. `Buckled` or `Unbuckled`. (Beta only)
995
1003
  - `tellTales`: Tell tales status as read from the vehicle.
1004
+ - `ecuDoorStatus`: Status of doors, sourced from ECU or from AUX port assigned to a Door label if diagnostic from ECU is not available. Either `Closed`, `Open` or `Unknown`.
996
1005
 
997
1006
  decorations : typing.Optional[typing.Union[GetVehicleStatsHistoryRequestDecorationsItem, typing.Sequence[GetVehicleStatsHistoryRequestDecorationsItem]]]
998
1007
  Decorations to add to the primary stats listed in the `types` parameter. For example, if you wish to know the vehicle's location whenever the engine changes state, you may set `types=engineStates&decorations=gps`.
@@ -1049,6 +1058,7 @@ class AsyncVehicleStatsClient:
1049
1058
  - `spreaderPlowStatus`: Snow plow status (`Up` or `Down`), as read from the material spreader. Note: this is separate from plow status defined via auxInput.
1050
1059
  - `seatbeltDriver`: Seatbelt Driver Status as read from the vehicle. `Buckled` or `Unbuckled`. (Beta only)
1051
1060
  - `tellTales`: Tell tales status as read from the vehicle.
1061
+ - `ecuDoorStatus`: Status of doors, sourced from ECU or from AUX port assigned to a Door label if diagnostic from ECU is not available. Either `Closed`, `Open` or `Unknown`.
1052
1062
 
1053
1063
  request_options : typing.Optional[RequestOptions]
1054
1064
  Request-specific configuration.
@@ -117,6 +117,7 @@ class RawVehicleStatsClient:
117
117
  - `spreaderPlowStatus`: Snow plow status (`Up` or `Down`), as read from the material spreader. Note: this is separate from plow status defined via auxInput.
118
118
  - `seatbeltDriver`: Seatbelt Driver Status as read from the vehicle. `Buckled` or `Unbuckled`. (Beta only)
119
119
  - `tellTales`: Tell tales status as read from the vehicle.
120
+ - `ecuDoorStatus`: Status of doors, sourced from ECU or from AUX port assigned to a Door label if diagnostic from ECU is not available. Either `Closed`, `Open` or `Unknown`.
120
121
 
121
122
  request_options : typing.Optional[RequestOptions]
122
123
  Request-specific configuration.
@@ -257,6 +258,7 @@ class RawVehicleStatsClient:
257
258
  - `spreaderPlowStatus`: Snow plow status (`Up` or `Down`), as read from the material spreader. Note: this is separate from plow status defined via auxInput.
258
259
  - `seatbeltDriver`: Seatbelt Driver Status as read from the vehicle. `Buckled` or `Unbuckled`. (Beta only)
259
260
  - `tellTales`: Tell tales status as read from the vehicle.
261
+ - `ecuDoorStatus`: Status of doors, sourced from ECU or from AUX port assigned to a Door label if diagnostic from ECU is not available. Either `Closed`, `Open` or `Unknown`.
260
262
 
261
263
  decorations : typing.Optional[typing.Union[GetVehicleStatsFeedRequestDecorationsItem, typing.Sequence[GetVehicleStatsFeedRequestDecorationsItem]]]
262
264
  Decorations to add to the primary stats listed in the `types` parameter. For example, if you wish to know the vehicle's location whenever the engine changes state, you may set `types=engineStates&decorations=gps`.
@@ -313,6 +315,7 @@ class RawVehicleStatsClient:
313
315
  - `spreaderPlowStatus`: Snow plow status (`Up` or `Down`), as read from the material spreader. Note: this is separate from plow status defined via auxInput.
314
316
  - `seatbeltDriver`: Seatbelt Driver Status as read from the vehicle. `Buckled` or `Unbuckled`. (Beta only)
315
317
  - `tellTales`: Tell tales status as read from the vehicle.
318
+ - `ecuDoorStatus`: Status of doors, sourced from ECU or from AUX port assigned to a Door label if diagnostic from ECU is not available. Either `Closed`, `Open` or `Unknown`.
316
319
 
317
320
  request_options : typing.Optional[RequestOptions]
318
321
  Request-specific configuration.
@@ -458,6 +461,7 @@ class RawVehicleStatsClient:
458
461
  - `spreaderPlowStatus`: Snow plow status (`Up` or `Down`), as read from the material spreader. Note: this is separate from plow status defined via auxInput.
459
462
  - `seatbeltDriver`: Seatbelt Driver Status as read from the vehicle. `Buckled` or `Unbuckled`. (Beta only)
460
463
  - `tellTales`: Tell tales status as read from the vehicle.
464
+ - `ecuDoorStatus`: Status of doors, sourced from ECU or from AUX port assigned to a Door label if diagnostic from ECU is not available. Either `Closed`, `Open` or `Unknown`.
461
465
 
462
466
  decorations : typing.Optional[typing.Union[GetVehicleStatsHistoryRequestDecorationsItem, typing.Sequence[GetVehicleStatsHistoryRequestDecorationsItem]]]
463
467
  Decorations to add to the primary stats listed in the `types` parameter. For example, if you wish to know the vehicle's location whenever the engine changes state, you may set `types=engineStates&decorations=gps`.
@@ -514,6 +518,7 @@ class RawVehicleStatsClient:
514
518
  - `spreaderPlowStatus`: Snow plow status (`Up` or `Down`), as read from the material spreader. Note: this is separate from plow status defined via auxInput.
515
519
  - `seatbeltDriver`: Seatbelt Driver Status as read from the vehicle. `Buckled` or `Unbuckled`. (Beta only)
516
520
  - `tellTales`: Tell tales status as read from the vehicle.
521
+ - `ecuDoorStatus`: Status of doors, sourced from ECU or from AUX port assigned to a Door label if diagnostic from ECU is not available. Either `Closed`, `Open` or `Unknown`.
517
522
 
518
523
  request_options : typing.Optional[RequestOptions]
519
524
  Request-specific configuration.
@@ -654,6 +659,7 @@ class AsyncRawVehicleStatsClient:
654
659
  - `spreaderPlowStatus`: Snow plow status (`Up` or `Down`), as read from the material spreader. Note: this is separate from plow status defined via auxInput.
655
660
  - `seatbeltDriver`: Seatbelt Driver Status as read from the vehicle. `Buckled` or `Unbuckled`. (Beta only)
656
661
  - `tellTales`: Tell tales status as read from the vehicle.
662
+ - `ecuDoorStatus`: Status of doors, sourced from ECU or from AUX port assigned to a Door label if diagnostic from ECU is not available. Either `Closed`, `Open` or `Unknown`.
657
663
 
658
664
  request_options : typing.Optional[RequestOptions]
659
665
  Request-specific configuration.
@@ -794,6 +800,7 @@ class AsyncRawVehicleStatsClient:
794
800
  - `spreaderPlowStatus`: Snow plow status (`Up` or `Down`), as read from the material spreader. Note: this is separate from plow status defined via auxInput.
795
801
  - `seatbeltDriver`: Seatbelt Driver Status as read from the vehicle. `Buckled` or `Unbuckled`. (Beta only)
796
802
  - `tellTales`: Tell tales status as read from the vehicle.
803
+ - `ecuDoorStatus`: Status of doors, sourced from ECU or from AUX port assigned to a Door label if diagnostic from ECU is not available. Either `Closed`, `Open` or `Unknown`.
797
804
 
798
805
  decorations : typing.Optional[typing.Union[GetVehicleStatsFeedRequestDecorationsItem, typing.Sequence[GetVehicleStatsFeedRequestDecorationsItem]]]
799
806
  Decorations to add to the primary stats listed in the `types` parameter. For example, if you wish to know the vehicle's location whenever the engine changes state, you may set `types=engineStates&decorations=gps`.
@@ -850,6 +857,7 @@ class AsyncRawVehicleStatsClient:
850
857
  - `spreaderPlowStatus`: Snow plow status (`Up` or `Down`), as read from the material spreader. Note: this is separate from plow status defined via auxInput.
851
858
  - `seatbeltDriver`: Seatbelt Driver Status as read from the vehicle. `Buckled` or `Unbuckled`. (Beta only)
852
859
  - `tellTales`: Tell tales status as read from the vehicle.
860
+ - `ecuDoorStatus`: Status of doors, sourced from ECU or from AUX port assigned to a Door label if diagnostic from ECU is not available. Either `Closed`, `Open` or `Unknown`.
853
861
 
854
862
  request_options : typing.Optional[RequestOptions]
855
863
  Request-specific configuration.
@@ -995,6 +1003,7 @@ class AsyncRawVehicleStatsClient:
995
1003
  - `spreaderPlowStatus`: Snow plow status (`Up` or `Down`), as read from the material spreader. Note: this is separate from plow status defined via auxInput.
996
1004
  - `seatbeltDriver`: Seatbelt Driver Status as read from the vehicle. `Buckled` or `Unbuckled`. (Beta only)
997
1005
  - `tellTales`: Tell tales status as read from the vehicle.
1006
+ - `ecuDoorStatus`: Status of doors, sourced from ECU or from AUX port assigned to a Door label if diagnostic from ECU is not available. Either `Closed`, `Open` or `Unknown`.
998
1007
 
999
1008
  decorations : typing.Optional[typing.Union[GetVehicleStatsHistoryRequestDecorationsItem, typing.Sequence[GetVehicleStatsHistoryRequestDecorationsItem]]]
1000
1009
  Decorations to add to the primary stats listed in the `types` parameter. For example, if you wish to know the vehicle's location whenever the engine changes state, you may set `types=engineStates&decorations=gps`.
@@ -1051,6 +1060,7 @@ class AsyncRawVehicleStatsClient:
1051
1060
  - `spreaderPlowStatus`: Snow plow status (`Up` or `Down`), as read from the material spreader. Note: this is separate from plow status defined via auxInput.
1052
1061
  - `seatbeltDriver`: Seatbelt Driver Status as read from the vehicle. `Buckled` or `Unbuckled`. (Beta only)
1053
1062
  - `tellTales`: Tell tales status as read from the vehicle.
1063
+ - `ecuDoorStatus`: Status of doors, sourced from ECU or from AUX port assigned to a Door label if diagnostic from ECU is not available. Either `Closed`, `Open` or `Unknown`.
1054
1064
 
1055
1065
  request_options : typing.Optional[RequestOptions]
1056
1066
  Request-specific configuration.
@@ -52,6 +52,7 @@ GetVehicleStatsFeedRequestDecorationsItem = typing.Union[
52
52
  "spreaderPlowStatus",
53
53
  "seatbeltDriver",
54
54
  "tellTales",
55
+ "ecuDoorStatus",
55
56
  ],
56
57
  typing.Any,
57
58
  ]
@@ -66,6 +66,7 @@ GetVehicleStatsFeedRequestTypesItem = typing.Union[
66
66
  "spreaderPlowStatus",
67
67
  "seatbeltDriver",
68
68
  "tellTales",
69
+ "ecuDoorStatus",
69
70
  ],
70
71
  typing.Any,
71
72
  ]
@@ -52,6 +52,7 @@ GetVehicleStatsHistoryRequestDecorationsItem = typing.Union[
52
52
  "spreaderPlowStatus",
53
53
  "seatbeltDriver",
54
54
  "tellTales",
55
+ "ecuDoorStatus",
55
56
  ],
56
57
  typing.Any,
57
58
  ]
@@ -66,6 +66,7 @@ GetVehicleStatsHistoryRequestTypesItem = typing.Union[
66
66
  "spreaderPlowStatus",
67
67
  "seatbeltDriver",
68
68
  "tellTales",
69
+ "ecuDoorStatus",
69
70
  ],
70
71
  typing.Any,
71
72
  ]
@@ -66,6 +66,7 @@ GetVehicleStatsRequestTypesItem = typing.Union[
66
66
  "spreaderPlowStatus",
67
67
  "seatbeltDriver",
68
68
  "tellTales",
69
+ "ecuDoorStatus",
69
70
  ],
70
71
  typing.Any,
71
72
  ]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: samsara-api
3
- Version: 4.0.1
3
+ Version: 4.1.0
4
4
  Summary:
5
5
  License: MIT
6
6
  Requires-Python: >=3.8,<4.0