samsara-api 4.1.0__py3-none-any.whl → 4.2.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.
samsara/__init__.py CHANGED
@@ -1308,8 +1308,11 @@ if typing.TYPE_CHECKING:
1308
1308
  HubsListHubsTooManyRequestsErrorResponseBody,
1309
1309
  HubsListHubsUnauthorizedErrorResponseBody,
1310
1310
  IdleTimeDurationMs,
1311
- IdlingEventObjectResponseBody,
1312
- IdlingEventObjectResponseBodyAddressType,
1311
+ IdlingEventAddressObjectResponseBody,
1312
+ IdlingEventAddressObjectResponseBodyAddressTypesItem,
1313
+ IdlingEventAssetObjectResponseBody,
1314
+ IdlingEventObjectV20251023ResponseBody,
1315
+ IdlingEventOperatorObjectResponseBody,
1313
1316
  IdlingReportEventAddressResponseBody,
1314
1317
  IdlingReportEventResponseBody,
1315
1318
  IdlingReportsGetVehicleIdlingReportsBadGatewayErrorResponseBody,
@@ -4675,8 +4678,11 @@ _dynamic_imports: typing.Dict[str, str] = {
4675
4678
  "HubsListHubsTooManyRequestsErrorResponseBody": ".types",
4676
4679
  "HubsListHubsUnauthorizedErrorResponseBody": ".types",
4677
4680
  "IdleTimeDurationMs": ".types",
4678
- "IdlingEventObjectResponseBody": ".types",
4679
- "IdlingEventObjectResponseBodyAddressType": ".types",
4681
+ "IdlingEventAddressObjectResponseBody": ".types",
4682
+ "IdlingEventAddressObjectResponseBodyAddressTypesItem": ".types",
4683
+ "IdlingEventAssetObjectResponseBody": ".types",
4684
+ "IdlingEventObjectV20251023ResponseBody": ".types",
4685
+ "IdlingEventOperatorObjectResponseBody": ".types",
4680
4686
  "IdlingReportEventAddressResponseBody": ".types",
4681
4687
  "IdlingReportEventResponseBody": ".types",
4682
4688
  "IdlingReportsGetVehicleIdlingReportsBadGatewayErrorResponseBody": ".types",
@@ -7982,8 +7988,11 @@ __all__ = [
7982
7988
  "HubsListHubsTooManyRequestsErrorResponseBody",
7983
7989
  "HubsListHubsUnauthorizedErrorResponseBody",
7984
7990
  "IdleTimeDurationMs",
7985
- "IdlingEventObjectResponseBody",
7986
- "IdlingEventObjectResponseBodyAddressType",
7991
+ "IdlingEventAddressObjectResponseBody",
7992
+ "IdlingEventAddressObjectResponseBodyAddressTypesItem",
7993
+ "IdlingEventAssetObjectResponseBody",
7994
+ "IdlingEventObjectV20251023ResponseBody",
7995
+ "IdlingEventOperatorObjectResponseBody",
7987
7996
  "IdlingReportEventAddressResponseBody",
7988
7997
  "IdlingReportEventResponseBody",
7989
7998
  "IdlingReportsGetVehicleIdlingReportsBadGatewayErrorResponseBody",
@@ -947,7 +947,7 @@ class BetaApIsClient:
947
947
  relay_states=[
948
948
  UpdateEngineImmobilizerRelayStateRequestBodyRequestBody(
949
949
  id="relay1",
950
- is_open=True,
950
+ is_open=False,
951
951
  )
952
952
  ],
953
953
  )
@@ -4326,7 +4326,7 @@ class AsyncBetaApIsClient:
4326
4326
  relay_states=[
4327
4327
  UpdateEngineImmobilizerRelayStateRequestBodyRequestBody(
4328
4328
  id="relay1",
4329
- is_open=True,
4329
+ is_open=False,
4330
4330
  )
4331
4331
  ],
4332
4332
  )
@@ -22,10 +22,10 @@ class BaseClientWrapper:
22
22
 
23
23
  def get_headers(self) -> typing.Dict[str, str]:
24
24
  headers: typing.Dict[str, str] = {
25
- "User-Agent": "samsara-api/4.1.0",
25
+ "User-Agent": "samsara-api/4.2.0",
26
26
  "X-Fern-Language": "Python",
27
27
  "X-Fern-SDK-Name": "samsara-api",
28
- "X-Fern-SDK-Version": "4.1.0",
28
+ "X-Fern-SDK-Version": "4.2.0",
29
29
  **(self.get_custom_headers() or {}),
30
30
  }
31
31
  token = self._get_token()
samsara/idling/client.py CHANGED
@@ -39,6 +39,7 @@ class IdlingClient:
39
39
  max_duration_milliseconds: typing.Optional[int] = None,
40
40
  tag_ids: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
41
41
  parent_tag_ids: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
42
+ include_external_ids: typing.Optional[bool] = None,
42
43
  after: typing.Optional[str] = None,
43
44
  limit: typing.Optional[int] = None,
44
45
  request_options: typing.Optional[RequestOptions] = None,
@@ -93,6 +94,9 @@ class IdlingClient:
93
94
  parent_tag_ids : typing.Optional[typing.Union[str, typing.Sequence[str]]]
94
95
  A filter on the data based on this comma-separated list of parent tag IDs. Parent tag IDs only include vehicle IDs at this time.
95
96
 
97
+ include_external_ids : typing.Optional[bool]
98
+ Optional boolean indicating whether to return external IDs on supported entities
99
+
96
100
  after : typing.Optional[str]
97
101
  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.
98
102
 
@@ -123,6 +127,7 @@ class IdlingClient:
123
127
  exclude_events_with_unknown_air_temperature=True,
124
128
  min_duration_milliseconds=1,
125
129
  max_duration_milliseconds=1,
130
+ include_external_ids=True,
126
131
  after="after",
127
132
  limit=1,
128
133
  )
@@ -140,6 +145,7 @@ class IdlingClient:
140
145
  max_duration_milliseconds=max_duration_milliseconds,
141
146
  tag_ids=tag_ids,
142
147
  parent_tag_ids=parent_tag_ids,
148
+ include_external_ids=include_external_ids,
143
149
  after=after,
144
150
  limit=limit,
145
151
  request_options=request_options,
@@ -177,6 +183,7 @@ class AsyncIdlingClient:
177
183
  max_duration_milliseconds: typing.Optional[int] = None,
178
184
  tag_ids: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
179
185
  parent_tag_ids: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
186
+ include_external_ids: typing.Optional[bool] = None,
180
187
  after: typing.Optional[str] = None,
181
188
  limit: typing.Optional[int] = None,
182
189
  request_options: typing.Optional[RequestOptions] = None,
@@ -231,6 +238,9 @@ class AsyncIdlingClient:
231
238
  parent_tag_ids : typing.Optional[typing.Union[str, typing.Sequence[str]]]
232
239
  A filter on the data based on this comma-separated list of parent tag IDs. Parent tag IDs only include vehicle IDs at this time.
233
240
 
241
+ include_external_ids : typing.Optional[bool]
242
+ Optional boolean indicating whether to return external IDs on supported entities
243
+
234
244
  after : typing.Optional[str]
235
245
  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.
236
246
 
@@ -266,6 +276,7 @@ class AsyncIdlingClient:
266
276
  exclude_events_with_unknown_air_temperature=True,
267
277
  min_duration_milliseconds=1,
268
278
  max_duration_milliseconds=1,
279
+ include_external_ids=True,
269
280
  after="after",
270
281
  limit=1,
271
282
  )
@@ -286,6 +297,7 @@ class AsyncIdlingClient:
286
297
  max_duration_milliseconds=max_duration_milliseconds,
287
298
  tag_ids=tag_ids,
288
299
  parent_tag_ids=parent_tag_ids,
300
+ include_external_ids=include_external_ids,
289
301
  after=after,
290
302
  limit=limit,
291
303
  request_options=request_options,
@@ -40,6 +40,7 @@ class RawIdlingClient:
40
40
  max_duration_milliseconds: typing.Optional[int] = None,
41
41
  tag_ids: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
42
42
  parent_tag_ids: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
43
+ include_external_ids: typing.Optional[bool] = None,
43
44
  after: typing.Optional[str] = None,
44
45
  limit: typing.Optional[int] = None,
45
46
  request_options: typing.Optional[RequestOptions] = None,
@@ -94,6 +95,9 @@ class RawIdlingClient:
94
95
  parent_tag_ids : typing.Optional[typing.Union[str, typing.Sequence[str]]]
95
96
  A filter on the data based on this comma-separated list of parent tag IDs. Parent tag IDs only include vehicle IDs at this time.
96
97
 
98
+ include_external_ids : typing.Optional[bool]
99
+ Optional boolean indicating whether to return external IDs on supported entities
100
+
97
101
  after : typing.Optional[str]
98
102
  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.
99
103
 
@@ -124,6 +128,7 @@ class RawIdlingClient:
124
128
  "maxDurationMilliseconds": max_duration_milliseconds,
125
129
  "tagIds": tag_ids,
126
130
  "parentTagIds": parent_tag_ids,
131
+ "includeExternalIds": include_external_ids,
127
132
  "after": after,
128
133
  "limit": limit,
129
134
  },
@@ -263,6 +268,7 @@ class AsyncRawIdlingClient:
263
268
  max_duration_milliseconds: typing.Optional[int] = None,
264
269
  tag_ids: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
265
270
  parent_tag_ids: typing.Optional[typing.Union[str, typing.Sequence[str]]] = None,
271
+ include_external_ids: typing.Optional[bool] = None,
266
272
  after: typing.Optional[str] = None,
267
273
  limit: typing.Optional[int] = None,
268
274
  request_options: typing.Optional[RequestOptions] = None,
@@ -317,6 +323,9 @@ class AsyncRawIdlingClient:
317
323
  parent_tag_ids : typing.Optional[typing.Union[str, typing.Sequence[str]]]
318
324
  A filter on the data based on this comma-separated list of parent tag IDs. Parent tag IDs only include vehicle IDs at this time.
319
325
 
326
+ include_external_ids : typing.Optional[bool]
327
+ Optional boolean indicating whether to return external IDs on supported entities
328
+
320
329
  after : typing.Optional[str]
321
330
  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.
322
331
 
@@ -347,6 +356,7 @@ class AsyncRawIdlingClient:
347
356
  "maxDurationMilliseconds": max_duration_milliseconds,
348
357
  "tagIds": tag_ids,
349
358
  "parentTagIds": parent_tag_ids,
359
+ "includeExternalIds": include_external_ids,
350
360
  "after": after,
351
361
  "limit": limit,
352
362
  },
samsara/media/client.py CHANGED
@@ -226,12 +226,7 @@ class MediaClient:
226
226
  )
227
227
  client.media.post_media_retrieval(
228
228
  end_time="2019-06-13T19:08:55Z",
229
- inputs=[
230
- "dashcamRoadFacing",
231
- "dashcamRoadFacing",
232
- "dashcamRoadFacing",
233
- "dashcamRoadFacing",
234
- ],
229
+ inputs=["dashcamRoadFacing", "dashcamRoadFacing"],
235
230
  media_type="image",
236
231
  start_time="2019-06-13T19:08:25Z",
237
232
  vehicle_id="1234",
@@ -475,12 +470,7 @@ class AsyncMediaClient:
475
470
  async def main() -> None:
476
471
  await client.media.post_media_retrieval(
477
472
  end_time="2019-06-13T19:08:55Z",
478
- inputs=[
479
- "dashcamRoadFacing",
480
- "dashcamRoadFacing",
481
- "dashcamRoadFacing",
482
- "dashcamRoadFacing",
483
- ],
473
+ inputs=["dashcamRoadFacing", "dashcamRoadFacing"],
484
474
  media_type="image",
485
475
  start_time="2019-06-13T19:08:25Z",
486
476
  vehicle_id="1234",
samsara/types/__init__.py CHANGED
@@ -2629,8 +2629,13 @@ if typing.TYPE_CHECKING:
2629
2629
  from .hubs_list_hubs_too_many_requests_error_response_body import HubsListHubsTooManyRequestsErrorResponseBody
2630
2630
  from .hubs_list_hubs_unauthorized_error_response_body import HubsListHubsUnauthorizedErrorResponseBody
2631
2631
  from .idle_time_duration_ms import IdleTimeDurationMs
2632
- from .idling_event_object_response_body import IdlingEventObjectResponseBody
2633
- from .idling_event_object_response_body_address_type import IdlingEventObjectResponseBodyAddressType
2632
+ from .idling_event_address_object_response_body import IdlingEventAddressObjectResponseBody
2633
+ from .idling_event_address_object_response_body_address_types_item import (
2634
+ IdlingEventAddressObjectResponseBodyAddressTypesItem,
2635
+ )
2636
+ from .idling_event_asset_object_response_body import IdlingEventAssetObjectResponseBody
2637
+ from .idling_event_object_v_20251023_response_body import IdlingEventObjectV20251023ResponseBody
2638
+ from .idling_event_operator_object_response_body import IdlingEventOperatorObjectResponseBody
2634
2639
  from .idling_report_event_address_response_body import IdlingReportEventAddressResponseBody
2635
2640
  from .idling_report_event_response_body import IdlingReportEventResponseBody
2636
2641
  from .idling_reports_get_vehicle_idling_reports_bad_gateway_error_response_body import (
@@ -7474,8 +7479,11 @@ _dynamic_imports: typing.Dict[str, str] = {
7474
7479
  "HubsListHubsTooManyRequestsErrorResponseBody": ".hubs_list_hubs_too_many_requests_error_response_body",
7475
7480
  "HubsListHubsUnauthorizedErrorResponseBody": ".hubs_list_hubs_unauthorized_error_response_body",
7476
7481
  "IdleTimeDurationMs": ".idle_time_duration_ms",
7477
- "IdlingEventObjectResponseBody": ".idling_event_object_response_body",
7478
- "IdlingEventObjectResponseBodyAddressType": ".idling_event_object_response_body_address_type",
7482
+ "IdlingEventAddressObjectResponseBody": ".idling_event_address_object_response_body",
7483
+ "IdlingEventAddressObjectResponseBodyAddressTypesItem": ".idling_event_address_object_response_body_address_types_item",
7484
+ "IdlingEventAssetObjectResponseBody": ".idling_event_asset_object_response_body",
7485
+ "IdlingEventObjectV20251023ResponseBody": ".idling_event_object_v_20251023_response_body",
7486
+ "IdlingEventOperatorObjectResponseBody": ".idling_event_operator_object_response_body",
7479
7487
  "IdlingReportEventAddressResponseBody": ".idling_report_event_address_response_body",
7480
7488
  "IdlingReportEventResponseBody": ".idling_report_event_response_body",
7481
7489
  "IdlingReportsGetVehicleIdlingReportsBadGatewayErrorResponseBody": ".idling_reports_get_vehicle_idling_reports_bad_gateway_error_response_body",
@@ -10627,8 +10635,11 @@ __all__ = [
10627
10635
  "HubsListHubsTooManyRequestsErrorResponseBody",
10628
10636
  "HubsListHubsUnauthorizedErrorResponseBody",
10629
10637
  "IdleTimeDurationMs",
10630
- "IdlingEventObjectResponseBody",
10631
- "IdlingEventObjectResponseBodyAddressType",
10638
+ "IdlingEventAddressObjectResponseBody",
10639
+ "IdlingEventAddressObjectResponseBodyAddressTypesItem",
10640
+ "IdlingEventAssetObjectResponseBody",
10641
+ "IdlingEventObjectV20251023ResponseBody",
10642
+ "IdlingEventOperatorObjectResponseBody",
10632
10643
  "IdlingReportEventAddressResponseBody",
10633
10644
  "IdlingReportEventResponseBody",
10634
10645
  "IdlingReportsGetVehicleIdlingReportsBadGatewayErrorResponseBody",
@@ -5,11 +5,11 @@ import typing
5
5
  import pydantic
6
6
  from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
7
7
  from .goa_pagination_response_response_body import GoaPaginationResponseResponseBody
8
- from .idling_event_object_response_body import IdlingEventObjectResponseBody
8
+ from .idling_event_object_v_20251023_response_body import IdlingEventObjectV20251023ResponseBody
9
9
 
10
10
 
11
11
  class AdvancedIdlingGetIdlingEventsResponseBody(UniversalBaseModel):
12
- data: typing.List[IdlingEventObjectResponseBody] = pydantic.Field()
12
+ data: typing.List[IdlingEventObjectV20251023ResponseBody] = pydantic.Field()
13
13
  """
14
14
  List of idling event objects.
15
15
  """
@@ -39,6 +39,7 @@ HarshEventTriggerDetailsObjectRequestBodyTypesItem = typing.Union[
39
39
  "haTailgating",
40
40
  "haTileRollingRailroadCrossing",
41
41
  "haTileRollingStopSign",
42
+ "haTrafficLightDetection",
42
43
  "haUnsafeParking",
43
44
  "haVulnerableRoadUserCollisionWarning",
44
45
  "haYawControlBrakeControlActivated",
@@ -39,6 +39,7 @@ HarshEventTriggerDetailsObjectResponseBodyTypesItem = typing.Union[
39
39
  "haTailgating",
40
40
  "haTileRollingRailroadCrossing",
41
41
  "haTileRollingStopSign",
42
+ "haTrafficLightDetection",
42
43
  "haUnsafeParking",
43
44
  "haVulnerableRoadUserCollisionWarning",
44
45
  "haYawControlBrakeControlActivated",
@@ -0,0 +1,46 @@
1
+ # This file was auto-generated by Fern from our API Definition.
2
+
3
+ import typing
4
+
5
+ import pydantic
6
+ import typing_extensions
7
+ from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
8
+ from ..core.serialization import FieldMetadata
9
+ from .idling_event_address_object_response_body_address_types_item import (
10
+ IdlingEventAddressObjectResponseBodyAddressTypesItem,
11
+ )
12
+
13
+
14
+ class IdlingEventAddressObjectResponseBody(UniversalBaseModel):
15
+ """
16
+ The geofence address associated with the idling event, if applicable.
17
+ """
18
+
19
+ address_types: typing_extensions.Annotated[
20
+ typing.Optional[typing.List[IdlingEventAddressObjectResponseBodyAddressTypesItem]],
21
+ FieldMetadata(alias="addressTypes"),
22
+ ] = pydantic.Field(default=None)
23
+ """
24
+ The types of the geofence address of the idling location. An address can have multiple types.
25
+ """
26
+
27
+ external_ids: typing_extensions.Annotated[
28
+ typing.Optional[typing.Dict[str, str]], FieldMetadata(alias="externalIds")
29
+ ] = pydantic.Field(default=None)
30
+ """
31
+ A map of external ids for the address.
32
+ """
33
+
34
+ id: str = pydantic.Field()
35
+ """
36
+ The ID of the geofence address of the idling location. It will be the address at the time of idling.
37
+ """
38
+
39
+ if IS_PYDANTIC_V2:
40
+ model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
41
+ else:
42
+
43
+ class Config:
44
+ frozen = True
45
+ smart_union = True
46
+ extra = pydantic.Extra.allow
@@ -2,7 +2,7 @@
2
2
 
3
3
  import typing
4
4
 
5
- IdlingEventObjectResponseBodyAddressType = typing.Union[
5
+ IdlingEventAddressObjectResponseBodyAddressTypesItem = typing.Union[
6
6
  typing.Literal[
7
7
  "agricultureSource",
8
8
  "alertsOnly",
@@ -0,0 +1,35 @@
1
+ # This file was auto-generated by Fern from our API Definition.
2
+
3
+ import typing
4
+
5
+ import pydantic
6
+ import typing_extensions
7
+ from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
8
+ from ..core.serialization import FieldMetadata
9
+
10
+
11
+ class IdlingEventAssetObjectResponseBody(UniversalBaseModel):
12
+ """
13
+ The asset associated with the idling event. Returns vehicle details at this time.
14
+ """
15
+
16
+ external_ids: typing_extensions.Annotated[
17
+ typing.Optional[typing.Dict[str, str]], FieldMetadata(alias="externalIds")
18
+ ] = pydantic.Field(default=None)
19
+ """
20
+ A map of external ids for the asset.
21
+ """
22
+
23
+ id: int = pydantic.Field()
24
+ """
25
+ Samsara ID of the asset assigned to the event. Returns vehicle ID at this time.
26
+ """
27
+
28
+ if IS_PYDANTIC_V2:
29
+ model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
30
+ else:
31
+
32
+ class Config:
33
+ frozen = True
34
+ smart_union = True
35
+ extra = pydantic.Extra.allow
@@ -8,28 +8,17 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
8
8
  from ..core.serialization import FieldMetadata
9
9
  from .fuel_cost_object_response_body import FuelCostObjectResponseBody
10
10
  from .gaseous_fuel_cost_object_response_body import GaseousFuelCostObjectResponseBody
11
- from .idling_event_object_response_body_address_type import IdlingEventObjectResponseBodyAddressType
11
+ from .idling_event_address_object_response_body import IdlingEventAddressObjectResponseBody
12
+ from .idling_event_asset_object_response_body import IdlingEventAssetObjectResponseBody
13
+ from .idling_event_operator_object_response_body import IdlingEventOperatorObjectResponseBody
12
14
 
13
15
 
14
- class IdlingEventObjectResponseBody(UniversalBaseModel):
16
+ class IdlingEventObjectV20251023ResponseBody(UniversalBaseModel):
15
17
  """
16
18
  An idling event object.
17
19
  """
18
20
 
19
- address_id: typing_extensions.Annotated[typing.Optional[str], FieldMetadata(alias="addressId")] = pydantic.Field(
20
- default=None
21
- )
22
- """
23
- The ID of the geofence address of the idling location, if applicable. It will be the address at the time of idling.
24
- """
25
-
26
- address_type: typing_extensions.Annotated[
27
- typing.Optional[IdlingEventObjectResponseBodyAddressType], FieldMetadata(alias="addressType")
28
- ] = pydantic.Field(default=None)
29
- """
30
- The type of the geofence address of the idling location, if applicable. Valid values: `agricultureSource`, `alertsOnly`, `avoidanceZone`, `industrialSite`, `knownGPSJammingZone`, `riskZone`, `shortHaul`, `undefined`, `workforceSite`, `yard`
31
- """
32
-
21
+ address: typing.Optional[IdlingEventAddressObjectResponseBody] = None
33
22
  air_temperature_millicelsius: typing_extensions.Annotated[
34
23
  typing.Optional[int], FieldMetadata(alias="airTemperatureMillicelsius")
35
24
  ] = pydantic.Field(default=None)
@@ -37,11 +26,7 @@ class IdlingEventObjectResponseBody(UniversalBaseModel):
37
26
  The air temperature in millicelsius during the idling event. Value is returned only when it is known.
38
27
  """
39
28
 
40
- asset_id: typing_extensions.Annotated[int, FieldMetadata(alias="assetId")] = pydantic.Field()
41
- """
42
- Samsara ID of the asset assigned to the event. Returns vehicle ID at this time.
43
- """
44
-
29
+ asset: IdlingEventAssetObjectResponseBody
45
30
  duration_milliseconds: typing_extensions.Annotated[int, FieldMetadata(alias="durationMilliseconds")] = (
46
31
  pydantic.Field()
47
32
  )
@@ -72,13 +57,17 @@ class IdlingEventObjectResponseBody(UniversalBaseModel):
72
57
  gaseous_fuel_cost: typing_extensions.Annotated[
73
58
  GaseousFuelCostObjectResponseBody, FieldMetadata(alias="gaseousFuelCost")
74
59
  ]
75
- operator_id: typing_extensions.Annotated[typing.Optional[int], FieldMetadata(alias="operatorId")] = pydantic.Field(
76
- default=None
77
- )
60
+ latitude: typing.Optional[float] = pydantic.Field(default=None)
61
+ """
62
+ The latitude of the location where the idling event occurred.
63
+ """
64
+
65
+ longitude: typing.Optional[float] = pydantic.Field(default=None)
78
66
  """
79
- Samsara ID of the operator assigned the event. Returns driver ID at this time. Value is returned when the driver is assigned to the vehicle.
67
+ The longitude of the location where the idling event occurred.
80
68
  """
81
69
 
70
+ operator: typing.Optional[IdlingEventOperatorObjectResponseBody] = None
82
71
  pto_state: typing_extensions.Annotated[typing.Literal["active, inactive"], FieldMetadata(alias="ptoState")] = (
83
72
  pydantic.Field(default="active, inactive")
84
73
  )
@@ -0,0 +1,35 @@
1
+ # This file was auto-generated by Fern from our API Definition.
2
+
3
+ import typing
4
+
5
+ import pydantic
6
+ import typing_extensions
7
+ from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
8
+ from ..core.serialization import FieldMetadata
9
+
10
+
11
+ class IdlingEventOperatorObjectResponseBody(UniversalBaseModel):
12
+ """
13
+ The operator associated with the idling event. Returns driver details at this time. Value is returned when a driver is assigned to the vehicle
14
+ """
15
+
16
+ external_ids: typing_extensions.Annotated[
17
+ typing.Optional[typing.Dict[str, str]], FieldMetadata(alias="externalIds")
18
+ ] = pydantic.Field(default=None)
19
+ """
20
+ A map of external ids for the operator.
21
+ """
22
+
23
+ id: int = pydantic.Field()
24
+ """
25
+ Samsara ID of the operator assigned to the event. Returns driver ID at this time.
26
+ """
27
+
28
+ if IS_PYDANTIC_V2:
29
+ model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
30
+ else:
31
+
32
+ class Config:
33
+ frozen = True
34
+ smart_union = True
35
+ extra = pydantic.Extra.allow
@@ -153,11 +153,14 @@ class WorkOrdersClient:
153
153
  discount: typing.Optional[WorkOrderDiscountObjectRequestBody] = OMIT,
154
154
  due_at_time: typing.Optional[dt.datetime] = OMIT,
155
155
  engine_hours: typing.Optional[int] = OMIT,
156
+ invoice_number: typing.Optional[str] = OMIT,
156
157
  items: typing.Optional[typing.Sequence[WorkOrderItemObjectRequestBody]] = OMIT,
157
158
  odometer_meters: typing.Optional[int] = OMIT,
159
+ po_number: typing.Optional[str] = OMIT,
158
160
  priority: typing.Optional[WorkOrdersPostWorkOrdersRequestBodyPriority] = OMIT,
159
161
  service_task_instances: typing.Optional[typing.Sequence[ServiceTaskInstanceInputObjectRequestBody]] = OMIT,
160
162
  tax: typing.Optional[WorkOrderTaxCreateObjectRequestBody] = OMIT,
163
+ vendor_uuid: typing.Optional[str] = OMIT,
161
164
  request_options: typing.Optional[RequestOptions] = None,
162
165
  ) -> WorkOrdersPostWorkOrdersResponseBody:
163
166
  """
@@ -192,12 +195,18 @@ class WorkOrdersClient:
192
195
  engine_hours : typing.Optional[int]
193
196
  The engine hours at the time of the work order. Will default to current asset reading if unset.
194
197
 
198
+ invoice_number : typing.Optional[str]
199
+ The invoice number for the work order.
200
+
195
201
  items : typing.Optional[typing.Sequence[WorkOrderItemObjectRequestBody]]
196
202
  Items related to the work order.
197
203
 
198
204
  odometer_meters : typing.Optional[int]
199
205
  The odometer reading at the time of the work order. Will default to current asset reading if unset.
200
206
 
207
+ po_number : typing.Optional[str]
208
+ The purchase order number for the work order.
209
+
201
210
  priority : typing.Optional[WorkOrdersPostWorkOrdersRequestBodyPriority]
202
211
  The priority of the work order Valid values: `High`, `Low`, `Medium`, `Urgent`
203
212
 
@@ -206,6 +215,9 @@ class WorkOrdersClient:
206
215
 
207
216
  tax : typing.Optional[WorkOrderTaxCreateObjectRequestBody]
208
217
 
218
+ vendor_uuid : typing.Optional[str]
219
+ The vendor UUID for the work order.
220
+
209
221
  request_options : typing.Optional[RequestOptions]
210
222
  Request-specific configuration.
211
223
 
@@ -233,11 +245,14 @@ class WorkOrdersClient:
233
245
  discount=discount,
234
246
  due_at_time=due_at_time,
235
247
  engine_hours=engine_hours,
248
+ invoice_number=invoice_number,
236
249
  items=items,
237
250
  odometer_meters=odometer_meters,
251
+ po_number=po_number,
238
252
  priority=priority,
239
253
  service_task_instances=service_task_instances,
240
254
  tax=tax,
255
+ vendor_uuid=vendor_uuid,
241
256
  request_options=request_options,
242
257
  )
243
258
  return _response.data
@@ -629,11 +644,14 @@ class AsyncWorkOrdersClient:
629
644
  discount: typing.Optional[WorkOrderDiscountObjectRequestBody] = OMIT,
630
645
  due_at_time: typing.Optional[dt.datetime] = OMIT,
631
646
  engine_hours: typing.Optional[int] = OMIT,
647
+ invoice_number: typing.Optional[str] = OMIT,
632
648
  items: typing.Optional[typing.Sequence[WorkOrderItemObjectRequestBody]] = OMIT,
633
649
  odometer_meters: typing.Optional[int] = OMIT,
650
+ po_number: typing.Optional[str] = OMIT,
634
651
  priority: typing.Optional[WorkOrdersPostWorkOrdersRequestBodyPriority] = OMIT,
635
652
  service_task_instances: typing.Optional[typing.Sequence[ServiceTaskInstanceInputObjectRequestBody]] = OMIT,
636
653
  tax: typing.Optional[WorkOrderTaxCreateObjectRequestBody] = OMIT,
654
+ vendor_uuid: typing.Optional[str] = OMIT,
637
655
  request_options: typing.Optional[RequestOptions] = None,
638
656
  ) -> WorkOrdersPostWorkOrdersResponseBody:
639
657
  """
@@ -668,12 +686,18 @@ class AsyncWorkOrdersClient:
668
686
  engine_hours : typing.Optional[int]
669
687
  The engine hours at the time of the work order. Will default to current asset reading if unset.
670
688
 
689
+ invoice_number : typing.Optional[str]
690
+ The invoice number for the work order.
691
+
671
692
  items : typing.Optional[typing.Sequence[WorkOrderItemObjectRequestBody]]
672
693
  Items related to the work order.
673
694
 
674
695
  odometer_meters : typing.Optional[int]
675
696
  The odometer reading at the time of the work order. Will default to current asset reading if unset.
676
697
 
698
+ po_number : typing.Optional[str]
699
+ The purchase order number for the work order.
700
+
677
701
  priority : typing.Optional[WorkOrdersPostWorkOrdersRequestBodyPriority]
678
702
  The priority of the work order Valid values: `High`, `Low`, `Medium`, `Urgent`
679
703
 
@@ -682,6 +706,9 @@ class AsyncWorkOrdersClient:
682
706
 
683
707
  tax : typing.Optional[WorkOrderTaxCreateObjectRequestBody]
684
708
 
709
+ vendor_uuid : typing.Optional[str]
710
+ The vendor UUID for the work order.
711
+
685
712
  request_options : typing.Optional[RequestOptions]
686
713
  Request-specific configuration.
687
714
 
@@ -717,11 +744,14 @@ class AsyncWorkOrdersClient:
717
744
  discount=discount,
718
745
  due_at_time=due_at_time,
719
746
  engine_hours=engine_hours,
747
+ invoice_number=invoice_number,
720
748
  items=items,
721
749
  odometer_meters=odometer_meters,
750
+ po_number=po_number,
722
751
  priority=priority,
723
752
  service_task_instances=service_task_instances,
724
753
  tax=tax,
754
+ vendor_uuid=vendor_uuid,
725
755
  request_options=request_options,
726
756
  )
727
757
  return _response.data
@@ -371,11 +371,14 @@ class RawWorkOrdersClient:
371
371
  discount: typing.Optional[WorkOrderDiscountObjectRequestBody] = OMIT,
372
372
  due_at_time: typing.Optional[dt.datetime] = OMIT,
373
373
  engine_hours: typing.Optional[int] = OMIT,
374
+ invoice_number: typing.Optional[str] = OMIT,
374
375
  items: typing.Optional[typing.Sequence[WorkOrderItemObjectRequestBody]] = OMIT,
375
376
  odometer_meters: typing.Optional[int] = OMIT,
377
+ po_number: typing.Optional[str] = OMIT,
376
378
  priority: typing.Optional[WorkOrdersPostWorkOrdersRequestBodyPriority] = OMIT,
377
379
  service_task_instances: typing.Optional[typing.Sequence[ServiceTaskInstanceInputObjectRequestBody]] = OMIT,
378
380
  tax: typing.Optional[WorkOrderTaxCreateObjectRequestBody] = OMIT,
381
+ vendor_uuid: typing.Optional[str] = OMIT,
379
382
  request_options: typing.Optional[RequestOptions] = None,
380
383
  ) -> HttpResponse[WorkOrdersPostWorkOrdersResponseBody]:
381
384
  """
@@ -410,12 +413,18 @@ class RawWorkOrdersClient:
410
413
  engine_hours : typing.Optional[int]
411
414
  The engine hours at the time of the work order. Will default to current asset reading if unset.
412
415
 
416
+ invoice_number : typing.Optional[str]
417
+ The invoice number for the work order.
418
+
413
419
  items : typing.Optional[typing.Sequence[WorkOrderItemObjectRequestBody]]
414
420
  Items related to the work order.
415
421
 
416
422
  odometer_meters : typing.Optional[int]
417
423
  The odometer reading at the time of the work order. Will default to current asset reading if unset.
418
424
 
425
+ po_number : typing.Optional[str]
426
+ The purchase order number for the work order.
427
+
419
428
  priority : typing.Optional[WorkOrdersPostWorkOrdersRequestBodyPriority]
420
429
  The priority of the work order Valid values: `High`, `Low`, `Medium`, `Urgent`
421
430
 
@@ -424,6 +433,9 @@ class RawWorkOrdersClient:
424
433
 
425
434
  tax : typing.Optional[WorkOrderTaxCreateObjectRequestBody]
426
435
 
436
+ vendor_uuid : typing.Optional[str]
437
+ The vendor UUID for the work order.
438
+
427
439
  request_options : typing.Optional[RequestOptions]
428
440
  Request-specific configuration.
429
441
 
@@ -445,10 +457,12 @@ class RawWorkOrdersClient:
445
457
  ),
446
458
  "dueAtTime": due_at_time,
447
459
  "engineHours": engine_hours,
460
+ "invoiceNumber": invoice_number,
448
461
  "items": convert_and_respect_annotation_metadata(
449
462
  object_=items, annotation=typing.Sequence[WorkOrderItemObjectRequestBody], direction="write"
450
463
  ),
451
464
  "odometerMeters": odometer_meters,
465
+ "poNumber": po_number,
452
466
  "priority": priority,
453
467
  "serviceTaskInstances": convert_and_respect_annotation_metadata(
454
468
  object_=service_task_instances,
@@ -458,6 +472,7 @@ class RawWorkOrdersClient:
458
472
  "tax": convert_and_respect_annotation_metadata(
459
473
  object_=tax, annotation=WorkOrderTaxCreateObjectRequestBody, direction="write"
460
474
  ),
475
+ "vendorUuid": vendor_uuid,
461
476
  },
462
477
  headers={
463
478
  "content-type": "application/json",
@@ -1480,11 +1495,14 @@ class AsyncRawWorkOrdersClient:
1480
1495
  discount: typing.Optional[WorkOrderDiscountObjectRequestBody] = OMIT,
1481
1496
  due_at_time: typing.Optional[dt.datetime] = OMIT,
1482
1497
  engine_hours: typing.Optional[int] = OMIT,
1498
+ invoice_number: typing.Optional[str] = OMIT,
1483
1499
  items: typing.Optional[typing.Sequence[WorkOrderItemObjectRequestBody]] = OMIT,
1484
1500
  odometer_meters: typing.Optional[int] = OMIT,
1501
+ po_number: typing.Optional[str] = OMIT,
1485
1502
  priority: typing.Optional[WorkOrdersPostWorkOrdersRequestBodyPriority] = OMIT,
1486
1503
  service_task_instances: typing.Optional[typing.Sequence[ServiceTaskInstanceInputObjectRequestBody]] = OMIT,
1487
1504
  tax: typing.Optional[WorkOrderTaxCreateObjectRequestBody] = OMIT,
1505
+ vendor_uuid: typing.Optional[str] = OMIT,
1488
1506
  request_options: typing.Optional[RequestOptions] = None,
1489
1507
  ) -> AsyncHttpResponse[WorkOrdersPostWorkOrdersResponseBody]:
1490
1508
  """
@@ -1519,12 +1537,18 @@ class AsyncRawWorkOrdersClient:
1519
1537
  engine_hours : typing.Optional[int]
1520
1538
  The engine hours at the time of the work order. Will default to current asset reading if unset.
1521
1539
 
1540
+ invoice_number : typing.Optional[str]
1541
+ The invoice number for the work order.
1542
+
1522
1543
  items : typing.Optional[typing.Sequence[WorkOrderItemObjectRequestBody]]
1523
1544
  Items related to the work order.
1524
1545
 
1525
1546
  odometer_meters : typing.Optional[int]
1526
1547
  The odometer reading at the time of the work order. Will default to current asset reading if unset.
1527
1548
 
1549
+ po_number : typing.Optional[str]
1550
+ The purchase order number for the work order.
1551
+
1528
1552
  priority : typing.Optional[WorkOrdersPostWorkOrdersRequestBodyPriority]
1529
1553
  The priority of the work order Valid values: `High`, `Low`, `Medium`, `Urgent`
1530
1554
 
@@ -1533,6 +1557,9 @@ class AsyncRawWorkOrdersClient:
1533
1557
 
1534
1558
  tax : typing.Optional[WorkOrderTaxCreateObjectRequestBody]
1535
1559
 
1560
+ vendor_uuid : typing.Optional[str]
1561
+ The vendor UUID for the work order.
1562
+
1536
1563
  request_options : typing.Optional[RequestOptions]
1537
1564
  Request-specific configuration.
1538
1565
 
@@ -1554,10 +1581,12 @@ class AsyncRawWorkOrdersClient:
1554
1581
  ),
1555
1582
  "dueAtTime": due_at_time,
1556
1583
  "engineHours": engine_hours,
1584
+ "invoiceNumber": invoice_number,
1557
1585
  "items": convert_and_respect_annotation_metadata(
1558
1586
  object_=items, annotation=typing.Sequence[WorkOrderItemObjectRequestBody], direction="write"
1559
1587
  ),
1560
1588
  "odometerMeters": odometer_meters,
1589
+ "poNumber": po_number,
1561
1590
  "priority": priority,
1562
1591
  "serviceTaskInstances": convert_and_respect_annotation_metadata(
1563
1592
  object_=service_task_instances,
@@ -1567,6 +1596,7 @@ class AsyncRawWorkOrdersClient:
1567
1596
  "tax": convert_and_respect_annotation_metadata(
1568
1597
  object_=tax, annotation=WorkOrderTaxCreateObjectRequestBody, direction="write"
1569
1598
  ),
1599
+ "vendorUuid": vendor_uuid,
1570
1600
  },
1571
1601
  headers={
1572
1602
  "content-type": "application/json",
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: samsara-api
3
- Version: 4.1.0
3
+ Version: 4.2.0
4
4
  Summary:
5
5
  License: MIT
6
6
  Requires-Python: >=3.8,<4.0
@@ -1,4 +1,4 @@
1
- samsara/__init__.py,sha256=VOaPlUqPk5cxq4yVVbx_uEh4gETy-s_jBkMpsP_hZYw,565111
1
+ samsara/__init__.py,sha256=4u58NRupX7KcKOl4WTZgRU_1Fv45Il80tGKD1iljwhk,565603
2
2
  samsara/addresses/__init__.py,sha256=0Sfk_rgBfCc6_SDVYEMe5OeHkugAgPjwnzpoM2jaZYA,1267
3
3
  samsara/addresses/client.py,sha256=z0H0dBd5CfOsmRdb8sVWdTVDeEfxd9lunAtzRzVgCtE,31870
4
4
  samsara/addresses/raw_client.py,sha256=8Gx3lFiPXLZdGiUzg_Q1lDkuP7A_ubCkgSkSP2CMoVY,39358
@@ -32,7 +32,7 @@ samsara/attributes/types/get_attributes_by_entity_type_request_entity_type.py,sh
32
32
  samsara/attributes/types/update_attribute_request_attribute_type.py,sha256=YLikkRFu59J2KaY2lmTaFK1CKaOwfR5WPDfT0BGXbHE,241
33
33
  samsara/attributes/types/update_attribute_request_entity_type.py,sha256=O3P4cbLmICVFdTzcEUWq4HSpheSpWE-TZfz4HElX9bM,175
34
34
  samsara/beta_ap_is/__init__.py,sha256=eoiFlAUK7ts_jgHir0OaG1OW7M1KLylRJ6z0uzzG4GE,2605
35
- samsara/beta_ap_is/client.py,sha256=LLMyfaq1c8AVA5f3-gojPfviW1BMoACjePUZXakZGgI,372017
35
+ samsara/beta_ap_is/client.py,sha256=eqRYZMFfUyFEJo6juvUAenEPW75G5zjBxggJvG1J_lM,372019
36
36
  samsara/beta_ap_is/raw_client.py,sha256=IZIbWIFHIL5SfbfSxiM6RJIvKrBsww1DIlFU-OGe4HU,821428
37
37
  samsara/beta_ap_is/types/__init__.py,sha256=hwXIgrQ9rf1ngo8v47IqfctNem-EwN3v-57KuuIHyjo,3549
38
38
  samsara/beta_ap_is/types/functions_start_function_run_request_body_params_override.py,sha256=l0YgpsgqIQBgPadRFIuoUCTpF0sOgHcdzgtUkourqeA,657
@@ -58,7 +58,7 @@ samsara/contacts/client.py,sha256=cjWeQqB4KnyZ1kP8wJKIsVIP6y8v3c5aUl0tRwt-XHY,20
58
58
  samsara/contacts/raw_client.py,sha256=fYgYXyCONzUxCB95APJ5KtoR8pmoPtPXz1DuXXhybpI,25991
59
59
  samsara/core/__init__.py,sha256=LS5PHdFxqIeDNAKS0etuTxkpIkpm7Xi6gnJhhaUK49Q,3774
60
60
  samsara/core/api_error.py,sha256=44vPoTyWN59gonCIZMdzw7M1uspygiLnr3GNFOoVL2Q,614
61
- samsara/core/client_wrapper.py,sha256=c--fPkp14BK2RwUeDJC2P04tw7AWYXCCWRYId3c7OzM,2817
61
+ samsara/core/client_wrapper.py,sha256=WQQ8r7ynBvBbH1owlJgyC9pDlEEcOVv8vLiIrjl8FYY,2817
62
62
  samsara/core/datetime_utils.py,sha256=nBys2IsYrhPdszxGKCNRPSOCwa-5DWOHG95FB8G9PKo,1047
63
63
  samsara/core/file.py,sha256=d4NNbX8XvXP32z8KpK2Xovv33nFfruIrpz0QWxlgpZk,2663
64
64
  samsara/core/force_multipart.py,sha256=cH981xLy0kZVKiZZkFoeUjgJ2Zuq7KXB2aRAnmHzRDc,477
@@ -142,8 +142,8 @@ samsara/hubs/__init__.py,sha256=_VhToAyIt_5axN6CLJwtxg3-CO7THa_23pbUzqhXJa4,85
142
142
  samsara/hubs/client.py,sha256=ZJw0IpChdf2SRRGXdDxi9ASd3FaYYLmOZWkBucJNWrA,42453
143
143
  samsara/hubs/raw_client.py,sha256=BOdBvoNVlRLfDlf7aCl0Tyq6Ch6eJ_HhM9mdARictWY,94576
144
144
  samsara/idling/__init__.py,sha256=ZcbRQgehvu5N-YilYXIlVbbvsX9AZAvAydIL5reo-Po,1110
145
- samsara/idling/client.py,sha256=UqQZfuyUijdTF8-yCBV4M3wNAQSqKHRrOpPSvwjohKI,15815
146
- samsara/idling/raw_client.py,sha256=N2a2kaYk5gWxDWWMdy9tPZuvFrnKI7SyD0pSv3ceXPM,24934
145
+ samsara/idling/client.py,sha256=YCFLP_yvKizVWkRRo1NVU98CxV2jHzsVAMY7WVtRkZ8,16421
146
+ samsara/idling/raw_client.py,sha256=lLi5I-SmBCf3JhG-ATQ_9JQ7ZXSqq5CUqtDqKY6W3Z0,25468
147
147
  samsara/idling/types/__init__.py,sha256=IeApnw_qPQv5hTl-GmsdOFyRf-8vMpTOL-f_N9XUw9A,1170
148
148
  samsara/idling/types/get_idling_events_request_pto_state.py,sha256=gRgijhjbAOlOga-MWa0CMwm45S4fsDaQl4lp3n5lSDI,176
149
149
  samsara/ifta/__init__.py,sha256=Ya-2rJkyXQdGh732v8zVkaZkqIqzSLrX8XGX__TldI8,1900
@@ -187,7 +187,7 @@ samsara/maintenance/raw_client.py,sha256=AFdCRQXloWZFbIup_zhaPKl60sXTFPdFj6STMpE
187
187
  samsara/maintenance/types/__init__.py,sha256=uXeSyWDQLjzwGRZtsHfxBcIiEZda-Q-MDC2nTBandx4,1163
188
188
  samsara/maintenance/types/create_dvir_request_safety_status.py,sha256=6R4OoYgCeo3sIbZM4BhyawDOx5B3M3mRuzhZYIVNLow,171
189
189
  samsara/media/__init__.py,sha256=lKh-xNHYG4JwB3OYFtSpj2k8GjtEiS6n1fba7o42ams,1852
190
- samsara/media/client.py,sha256=0o0ghew7nqMj-v24n0mRF1lxPJdVOZX8n_Avj1GUzuc,26958
190
+ samsara/media/client.py,sha256=n1wWLSV_zZGbPB6xxGhjgOG18ZglTBeDyOXNrgzMx0c,26696
191
191
  samsara/media/raw_client.py,sha256=_3oAW8dVO89JeJW4VKukl5vbVT7RIIgGmB_w_LKXOvg,55407
192
192
  samsara/media/types/__init__.py,sha256=eCN_pq4Wo9vvD6W2-3ZYCPhAILvgaNL7udS86myqYfA,2379
193
193
  samsara/media/types/list_uploaded_media_request_inputs_item.py,sha256=rnokTorqlsVIH6XdBi6mb5z0W5IGE-TrQVVnEDOjq48,252
@@ -245,7 +245,7 @@ samsara/trailers/raw_client.py,sha256=MknsE-nf-1s4qVb-UVbod6_JoUCSLk3E3VTDBW69Ba
245
245
  samsara/trips/__init__.py,sha256=_VhToAyIt_5axN6CLJwtxg3-CO7THa_23pbUzqhXJa4,85
246
246
  samsara/trips/client.py,sha256=gUeJClQIXNQ5JDNeFVnTPC1y0WTrUNdKlQSRLjJXBXo,5902
247
247
  samsara/trips/raw_client.py,sha256=ju2B1z1Vm08JFkHyQjPQz7mvTmnZwQqQua95ZFq6h4A,6475
248
- samsara/types/__init__.py,sha256=d4EtAFybs5G_LGPnMDjRk-x-lnog7JQ-pgYqaUO5RiU,914885
248
+ samsara/types/__init__.py,sha256=HBde91Wj9TuobQBDZiuLaLSQ0fH1337vEcQfpsl26RI,915700
249
249
  samsara/types/accessory_response_object_response_body.py,sha256=fN2GdC556jnp74Vj5KrKujRp494Yo-YOzxB-ApkdTnY,866
250
250
  samsara/types/action_object_request_body.py,sha256=6_rAXQXI6zmjwTkNRj3AT7eyMQdoD3Q6ZXdI968yOKI,1287
251
251
  samsara/types/action_object_response_body.py,sha256=VqhIvRMFqlW1AWWngTx-bbf2EzQ6GuYfKJ9y_D3E2c8,1291
@@ -268,7 +268,7 @@ samsara/types/advanced_idling_get_idling_events_internal_server_error_response_b
268
268
  samsara/types/advanced_idling_get_idling_events_method_not_allowed_error_response_body.py,sha256=LWJbeq1RsVbhK_Aizi3kXr1HuYkuOL05RK9agcUuaW8,939
269
269
  samsara/types/advanced_idling_get_idling_events_not_found_error_response_body.py,sha256=qpaiSQ0BU5dq2kJLXB50iMcRpFjeHMvWY1vbTKKABAg,931
270
270
  samsara/types/advanced_idling_get_idling_events_not_implemented_error_response_body.py,sha256=8DkiKh8uhk6oyw2o8VSRZpKBp7Uz0V5n58eYNh_UFwI,960
271
- samsara/types/advanced_idling_get_idling_events_response_body.py,sha256=Z3xvnKODzn_GSKSlL8GuIqFZIMSVvT8-BCjRDG_qS3I,869
271
+ samsara/types/advanced_idling_get_idling_events_response_body.py,sha256=sQYrTq0jvvdI8-eot2DJYeJQ1_x-2PQjmMQh-hPnZ98,898
272
272
  samsara/types/advanced_idling_get_idling_events_service_unavailable_error_response_body.py,sha256=TrbUOXBFOu1EjJ7w47M7irZbtiOd7IgKL55uD5O2s8o,942
273
273
  samsara/types/advanced_idling_get_idling_events_too_many_requests_error_response_body.py,sha256=WcPgyQ2kOlGPP4iD-pOoklULnGXLFAfQW9wTx_Thnjw,937
274
274
  samsara/types/advanced_idling_get_idling_events_unauthorized_error_response_body.py,sha256=5DVy1BopQvX2KHhZnhTlGG8XglHMqb7q7CUMOtNUUeE,929
@@ -1360,9 +1360,9 @@ samsara/types/harsh_event_data_response_body.py,sha256=J9d0qSiB7bpVgYOXIfzhQOGKA
1360
1360
  samsara/types/harsh_event_sensitivity_settings_object_response_body.py,sha256=v4XRb9Vdi0XLziomxOH5tjtfOUx1AyeAR2n8WoHeUf0,1907
1361
1361
  samsara/types/harsh_event_sensitivity_v_2_settings_object_response_body.py,sha256=nG-YjNWmNNbZwgAHrWgTLGWjhbkucDiL0TWfEniMMf4,1663
1362
1362
  samsara/types/harsh_event_trigger_details_object_request_body.py,sha256=yIuKbC1S2U8uQ9AXHJwdQdPvuoCPIcWz6UYaznEFbpY,871
1363
- samsara/types/harsh_event_trigger_details_object_request_body_types_item.py,sha256=wCfukZZmkQZ5ac1dqiXDo9Ib1OFlpMpykZ-ZNzvfod4,1392
1363
+ samsara/types/harsh_event_trigger_details_object_request_body_types_item.py,sha256=S_Vnpyl8FO-FJvswj4JzuAoODVZ1-BIZdW3wSHVN-fU,1427
1364
1364
  samsara/types/harsh_event_trigger_details_object_response_body.py,sha256=DxLXNkJbxZtXqTU8hDMcUsDmYFBaoXAgyxnObCKZQ6Q,875
1365
- samsara/types/harsh_event_trigger_details_object_response_body_types_item.py,sha256=HCfPgusQAg4R2T6L1aSV8gVEmtqv44IrPRKVbsa6x8o,1393
1365
+ samsara/types/harsh_event_trigger_details_object_response_body_types_item.py,sha256=uGBq7Ockru67SDIpD0ogHzrK4Rwip5Y2exa3wjdIncE,1428
1366
1366
  samsara/types/harsh_turn_sensitivity_g_force_settings_object_response_body.py,sha256=DglgU2grNTSKJQCwaniwdKYrs0wh4uhMBsmgx1MCpmQ,1257
1367
1367
  samsara/types/harsh_turn_sensitivity_v_2_settings_object_response_body.py,sha256=iqyUwb4pwBzx2yXzLx4PuBfm2A-EFOyCr44V81XVx5Y,2095
1368
1368
  samsara/types/harsh_turn_sensitivity_v_2_settings_object_response_body_heavy_duty.py,sha256=8SAwo43ioLDSb36Rwah2MKdfIqwEqGiR6vCqhMigZZ0,252
@@ -1547,8 +1547,11 @@ samsara/types/hubs_list_hubs_service_unavailable_error_response_body.py,sha256=6
1547
1547
  samsara/types/hubs_list_hubs_too_many_requests_error_response_body.py,sha256=GKx55mdwxMuvVWfbr1d-yW49gXypK_CszZCUy2saxs4,920
1548
1548
  samsara/types/hubs_list_hubs_unauthorized_error_response_body.py,sha256=PMOaXdzriqVaQ_QHV8FWtWpdr2EP_CcdFsDErZ-Dx4M,912
1549
1549
  samsara/types/idle_time_duration_ms.py,sha256=98RlycnQlpaFi-BIgj8IuSfL5fKeTZasy4EtW9SoD4Y,92
1550
- samsara/types/idling_event_object_response_body.py,sha256=aokFmmgqUdtJEwkoS-vGM1eCnkGU3hVxnOFUl5StKVE,4010
1551
- samsara/types/idling_event_object_response_body_address_type.py,sha256=4evbjsYY2bWGczknSIAhFymLErXln0Q_0Q2FlNZ6uoo,418
1550
+ samsara/types/idling_event_address_object_response_body.py,sha256=AEZrFj2NDSfQeDCz-Z4Bx8ZDh9FbTLjhvJjgIlcxtbY,1544
1551
+ samsara/types/idling_event_address_object_response_body_address_types_item.py,sha256=_CDCCgbawt1sIhOCx_IA9-dOpCaMzsLjgtnvDhuhCvw,430
1552
+ samsara/types/idling_event_asset_object_response_body.py,sha256=V-3oq_YOikulB7TQ764EBU6MEuFoEe5IKMX3QxgTIRs,1058
1553
+ samsara/types/idling_event_object_v_20251023_response_body.py,sha256=xFlctqCdTAXZtMic4hEQ4zHztEHK-z9gthRk3LhQn_E,3453
1554
+ samsara/types/idling_event_operator_object_response_body.py,sha256=nIfvbfW6KlLAPqt8GJz1YQvenY3JKRDg-NtWrTjqBFc,1127
1552
1555
  samsara/types/idling_report_event_address_response_body.py,sha256=8-O0K0JFEY2xNiCzUjRzjTdtOYpVAuohgCK8L5tfrQQ,893
1553
1556
  samsara/types/idling_report_event_response_body.py,sha256=pNVM712LO1EqcuZ9eSx6lhTP0PtM051F--d1S5mN72Y,1859
1554
1557
  samsara/types/idling_reports_get_vehicle_idling_reports_bad_gateway_error_response_body.py,sha256=dWsSB9966cL85R9fhIwAAkD9mDtdakSj4hW23Cu-uiU,933
@@ -3420,8 +3423,8 @@ samsara/webhooks/types/webhooks_patch_webhook_request_body_version.py,sha256=WaQ
3420
3423
  samsara/webhooks/types/webhooks_post_webhooks_request_body_event_types_item.py,sha256=v7_qY5x4VzDTzf683x2-VUCDwSr2ZK_9EPZ9fXGShq4,995
3421
3424
  samsara/webhooks/types/webhooks_post_webhooks_request_body_version.py,sha256=1HR1l6_Qc_jS_mf_UkguxgMiiIeAiwaX7jjOTQfG1bw,224
3422
3425
  samsara/work_orders/__init__.py,sha256=hBumunkSPD3sPI2oDCb1mI_BqyRO--F7gXjFSbLtwdY,2011
3423
- samsara/work_orders/client.py,sha256=tzSlZ7PINien6_9oZE9ohrp328PTH_No6oMNeufybuM,43311
3424
- samsara/work_orders/raw_client.py,sha256=vvP9s55C2ULSZivp85t9FDalOqNqtOxqFsotx8HnZzw,104366
3426
+ samsara/work_orders/client.py,sha256=hByqn-xRfkZF-W5px9ylVXMXo5wW1hL9y7wCZboVPvk,44419
3427
+ samsara/work_orders/raw_client.py,sha256=4w3zGI3lqMOMQVJN2jI0yDpcezIKoDS63Nzzv717TNc,105510
3425
3428
  samsara/work_orders/types/__init__.py,sha256=9N3SMYZWbaJYpc_QeqSYR9PbxWeQS7B0bu7aPuR2mv8,2608
3426
3429
  samsara/work_orders/types/stream_work_orders_request_work_order_statuses_item.py,sha256=aRxVZpRcgso3-807FMcVRrtxCUuzAxh-jvmO9m336i4,377
3427
3430
  samsara/work_orders/types/work_orders_patch_work_orders_request_body_category.py,sha256=N_fipIxqD6g8OFEmUXOpHy4tILtR94Z13eOPWlhiwXA,254
@@ -3429,7 +3432,7 @@ samsara/work_orders/types/work_orders_patch_work_orders_request_body_priority.py
3429
3432
  samsara/work_orders/types/work_orders_patch_work_orders_request_body_status.py,sha256=HCbiTTKvZhHCnsfipa-7_u4ZXx1uToFt4cEljXUd9l8,375
3430
3433
  samsara/work_orders/types/work_orders_post_work_orders_request_body_category.py,sha256=f4ymEFlM2n2Rl4RTq8HCmJLfjiiFV25meugT2WscLys,253
3431
3434
  samsara/work_orders/types/work_orders_post_work_orders_request_body_priority.py,sha256=5XQBG4kltC3s19wLXysQlPTK_h82LG5RszQSxk1hd14,208
3432
- samsara_api-4.1.0.dist-info/LICENSE,sha256=uX-nl5hOEHp4uvQPCcpde-doNbQhV5uRQNwkB474IoQ,1064
3433
- samsara_api-4.1.0.dist-info/METADATA,sha256=zS8jV4DFtDMkw1sOkNls3Ibywj0ScNLKZrxBaddgeKk,18974
3434
- samsara_api-4.1.0.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
3435
- samsara_api-4.1.0.dist-info/RECORD,,
3435
+ samsara_api-4.2.0.dist-info/LICENSE,sha256=uX-nl5hOEHp4uvQPCcpde-doNbQhV5uRQNwkB474IoQ,1064
3436
+ samsara_api-4.2.0.dist-info/METADATA,sha256=f24BJFlIv5f-mEVElDu32cRqEXtRUaCt4oMiUi7x0Ro,18974
3437
+ samsara_api-4.2.0.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
3438
+ samsara_api-4.2.0.dist-info/RECORD,,