samsara-api 4.2.0__py3-none-any.whl → 4.3.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 (159) hide show
  1. samsara/__init__.py +69 -9
  2. samsara/addresses/client.py +7 -14
  3. samsara/addresses/raw_client.py +7 -11
  4. samsara/alerts/client.py +2 -10
  5. samsara/alerts/raw_client.py +180 -180
  6. samsara/assets/__init__.py +3 -3
  7. samsara/assets/client.py +14 -45
  8. samsara/assets/raw_client.py +156 -160
  9. samsara/assets/types/__init__.py +3 -3
  10. samsara/assets/types/{assets_list_request_type.py → list_assets_request_type.py} +1 -1
  11. samsara/attributes/client.py +0 -4
  12. samsara/beta_ap_is/client.py +137 -187
  13. samsara/beta_ap_is/raw_client.py +2035 -1702
  14. samsara/carrier_proposed_assignments/client.py +2 -10
  15. samsara/client.py +5 -0
  16. samsara/coaching/client.py +2 -22
  17. samsara/coaching/raw_client.py +108 -108
  18. samsara/contacts/client.py +2 -8
  19. samsara/core/__init__.py +5 -0
  20. samsara/core/client_wrapper.py +18 -10
  21. samsara/core/custom_pagination.py +152 -0
  22. samsara/core/http_client.py +176 -90
  23. samsara/core/http_sse/__init__.py +42 -0
  24. samsara/core/http_sse/_api.py +112 -0
  25. samsara/core/http_sse/_decoders.py +61 -0
  26. samsara/core/http_sse/_exceptions.py +7 -0
  27. samsara/core/http_sse/_models.py +17 -0
  28. samsara/core/pagination.py +14 -14
  29. samsara/core/pydantic_utilities.py +3 -1
  30. samsara/documents/client.py +2 -12
  31. samsara/documents/raw_client.py +180 -180
  32. samsara/driver_qr_codes/raw_client.py +108 -108
  33. samsara/driver_vehicle_assignments/client.py +0 -12
  34. samsara/driver_vehicle_assignments/raw_client.py +144 -144
  35. samsara/drivers/__init__.py +3 -3
  36. samsara/drivers/client.py +12 -23
  37. samsara/drivers/raw_client.py +48 -52
  38. samsara/drivers/types/__init__.py +3 -3
  39. samsara/drivers/types/{drivers_list_request_driver_activation_status.py → list_drivers_request_driver_activation_status.py} +1 -1
  40. samsara/equipment/client.py +6 -22
  41. samsara/errors/bad_gateway_error.py +1 -1
  42. samsara/errors/gateway_timeout_error.py +1 -1
  43. samsara/errors/internal_server_error.py +1 -1
  44. samsara/errors/method_not_allowed_error.py +1 -1
  45. samsara/errors/not_found_error.py +1 -1
  46. samsara/errors/not_implemented_error.py +1 -1
  47. samsara/errors/service_unavailable_error.py +1 -1
  48. samsara/errors/too_many_requests_error.py +1 -1
  49. samsara/errors/unauthorized_error.py +1 -1
  50. samsara/forms/__init__.py +9 -3
  51. samsara/forms/client.py +17 -10
  52. samsara/forms/raw_client.py +265 -254
  53. samsara/forms/types/__init__.py +6 -2
  54. samsara/forms/types/form_submissions_post_form_submission_request_body_status.py +5 -0
  55. samsara/fuel_and_energy/client.py +0 -30
  56. samsara/fuel_and_energy/raw_client.py +180 -180
  57. samsara/gateways/client.py +2 -6
  58. samsara/gateways/raw_client.py +108 -108
  59. samsara/hours_of_service/__init__.py +6 -3
  60. samsara/hours_of_service/client.py +13 -52
  61. samsara/hours_of_service/raw_client.py +77 -76
  62. samsara/hours_of_service/types/__init__.py +4 -2
  63. samsara/hours_of_service/types/get_hos_daily_logs_request_expand.py +5 -0
  64. samsara/hubs/client.py +2 -94
  65. samsara/hubs/raw_client.py +216 -216
  66. samsara/idling/client.py +0 -18
  67. samsara/idling/raw_client.py +36 -36
  68. samsara/ifta/client.py +4 -34
  69. samsara/ifta/raw_client.py +144 -144
  70. samsara/industrial/client.py +12 -56
  71. samsara/industrial/raw_client.py +40 -48
  72. samsara/issues/client.py +0 -4
  73. samsara/issues/raw_client.py +108 -108
  74. samsara/legacy_ap_is/client.py +4 -56
  75. samsara/legacy_ap_is/raw_client.py +108 -108
  76. samsara/live_sharing_links/client.py +2 -10
  77. samsara/live_sharing_links/raw_client.py +144 -144
  78. samsara/location_and_speed/client.py +2 -20
  79. samsara/location_and_speed/raw_client.py +36 -36
  80. samsara/maintenance/__init__.py +3 -3
  81. samsara/maintenance/client.py +15 -30
  82. samsara/maintenance/raw_client.py +191 -182
  83. samsara/maintenance/types/__init__.py +6 -2
  84. samsara/maintenance/types/create_dvir_request_type.py +5 -0
  85. samsara/media/client.py +0 -4
  86. samsara/media/raw_client.py +108 -108
  87. samsara/messages/client.py +2 -8
  88. samsara/plans/client.py +0 -21
  89. samsara/plans/raw_client.py +72 -72
  90. samsara/preview_ap_is/client.py +0 -140
  91. samsara/preview_ap_is/raw_client.py +72 -430
  92. samsara/route_events/client.py +2 -12
  93. samsara/route_events/raw_client.py +36 -36
  94. samsara/routes/__init__.py +30 -0
  95. samsara/routes/client.py +7 -35
  96. samsara/routes/raw_client.py +257 -256
  97. samsara/routes/types/__init__.py +34 -0
  98. samsara/routes/types/get_routes_feed_request_expand.py +5 -0
  99. samsara/safety/client.py +2 -10
  100. samsara/safety/raw_client.py +36 -36
  101. samsara/settings/raw_client.py +180 -180
  102. samsara/speeding_intervals/raw_client.py +36 -36
  103. samsara/tachograph_eu_only/client.py +0 -6
  104. samsara/tags/client.py +2 -8
  105. samsara/trailer_assignments/client.py +2 -18
  106. samsara/trailers/client.py +2 -12
  107. samsara/trailers/raw_client.py +180 -180
  108. samsara/types/__init__.py +54 -0
  109. samsara/types/create_routes_stop_request_object_request_body.py +7 -0
  110. samsara/types/driver_assignment_object_response_body.py +2 -1
  111. samsara/types/driver_assignment_object_response_body_assignment_type.py +5 -0
  112. samsara/types/driver_external_ids.py +1 -1
  113. samsara/types/forms_approval_config_object_response_body.py +2 -1
  114. samsara/types/forms_approval_config_object_response_body_type.py +5 -0
  115. samsara/types/fuel_level_trigger_details_object_request_body.py +2 -1
  116. samsara/types/fuel_level_trigger_details_object_request_body_operation.py +5 -0
  117. samsara/types/fuel_level_trigger_details_object_response_body.py +4 -1
  118. samsara/types/fuel_level_trigger_details_object_response_body_operation.py +5 -0
  119. samsara/types/idling_event_object_v_20251023_response_body.py +4 -3
  120. samsara/types/idling_event_object_v_20251023_response_body_pto_state.py +5 -0
  121. samsara/types/patch_issue_request_body_assigned_to_request_body.py +2 -1
  122. samsara/types/patch_issue_request_body_assigned_to_request_body_type.py +5 -0
  123. samsara/types/reading_datapoint_request_body.py +5 -4
  124. samsara/types/reading_datapoint_request_body_entity_type.py +5 -0
  125. samsara/types/reading_history_response_body.py +1 -1
  126. samsara/types/reading_snapshot_response_body.py +1 -1
  127. samsara/types/resolved_by.py +2 -1
  128. samsara/types/resolved_by_type.py +5 -0
  129. samsara/types/route_feed_object_response_body.py +2 -1
  130. samsara/types/route_feed_object_response_body_type.py +5 -0
  131. samsara/types/route_settings_request_body.py +8 -0
  132. samsara/types/route_settings_request_body_sequencing_method.py +7 -0
  133. samsara/types/route_settings_response_body.py +8 -0
  134. samsara/types/route_settings_response_body_sequencing_method.py +7 -0
  135. samsara/types/route_stop_details_object_response_body.py +2 -1
  136. samsara/types/route_stop_details_object_response_body_type.py +5 -0
  137. samsara/types/routes_stop_response_object_response_body.py +7 -0
  138. samsara/types/training_learner_object_response_body.py +2 -1
  139. samsara/types/training_learner_object_response_body_type.py +5 -0
  140. samsara/types/update_routes_stop_request_object_request_body.py +7 -0
  141. samsara/types/vehicle_assignment_object_response_body.py +4 -3
  142. samsara/types/vehicle_assignment_object_response_body_assignment_type.py +5 -0
  143. samsara/types/vehicle_external_ids.py +1 -1
  144. samsara/types/work_order_money_object_request_body.py +2 -1
  145. samsara/types/work_order_money_object_request_body_currency.py +5 -0
  146. samsara/types/work_order_money_object_response_body.py +2 -1
  147. samsara/types/work_order_money_object_response_body_currency.py +5 -0
  148. samsara/users/client.py +4 -16
  149. samsara/vehicle_locations/client.py +4 -16
  150. samsara/vehicles/client.py +7 -22
  151. samsara/vehicles/raw_client.py +43 -47
  152. samsara/webhooks/client.py +2 -10
  153. samsara/webhooks/raw_client.py +180 -180
  154. samsara/work_orders/client.py +4 -18
  155. samsara/work_orders/raw_client.py +216 -216
  156. {samsara_api-4.2.0.dist-info → samsara_api-4.3.0.dist-info}/METADATA +2 -1
  157. {samsara_api-4.2.0.dist-info → samsara_api-4.3.0.dist-info}/RECORD +159 -132
  158. {samsara_api-4.2.0.dist-info → samsara_api-4.3.0.dist-info}/LICENSE +0 -0
  159. {samsara_api-4.2.0.dist-info → samsara_api-4.3.0.dist-info}/WHEEL +0 -0
@@ -79,9 +79,9 @@ class RawDriverQrCodesClient:
79
79
  raise UnauthorizedError(
80
80
  headers=dict(_response.headers),
81
81
  body=typing.cast(
82
- typing.Optional[typing.Any],
82
+ typing.Any,
83
83
  parse_obj_as(
84
- type_=typing.Optional[typing.Any], # type: ignore
84
+ type_=typing.Any, # type: ignore
85
85
  object_=_response.json(),
86
86
  ),
87
87
  ),
@@ -90,9 +90,9 @@ class RawDriverQrCodesClient:
90
90
  raise NotFoundError(
91
91
  headers=dict(_response.headers),
92
92
  body=typing.cast(
93
- typing.Optional[typing.Any],
93
+ typing.Any,
94
94
  parse_obj_as(
95
- type_=typing.Optional[typing.Any], # type: ignore
95
+ type_=typing.Any, # type: ignore
96
96
  object_=_response.json(),
97
97
  ),
98
98
  ),
@@ -101,9 +101,9 @@ class RawDriverQrCodesClient:
101
101
  raise MethodNotAllowedError(
102
102
  headers=dict(_response.headers),
103
103
  body=typing.cast(
104
- typing.Optional[typing.Any],
104
+ typing.Any,
105
105
  parse_obj_as(
106
- type_=typing.Optional[typing.Any], # type: ignore
106
+ type_=typing.Any, # type: ignore
107
107
  object_=_response.json(),
108
108
  ),
109
109
  ),
@@ -112,9 +112,9 @@ class RawDriverQrCodesClient:
112
112
  raise TooManyRequestsError(
113
113
  headers=dict(_response.headers),
114
114
  body=typing.cast(
115
- typing.Optional[typing.Any],
115
+ typing.Any,
116
116
  parse_obj_as(
117
- type_=typing.Optional[typing.Any], # type: ignore
117
+ type_=typing.Any, # type: ignore
118
118
  object_=_response.json(),
119
119
  ),
120
120
  ),
@@ -123,9 +123,9 @@ class RawDriverQrCodesClient:
123
123
  raise InternalServerError(
124
124
  headers=dict(_response.headers),
125
125
  body=typing.cast(
126
- typing.Optional[typing.Any],
126
+ typing.Any,
127
127
  parse_obj_as(
128
- type_=typing.Optional[typing.Any], # type: ignore
128
+ type_=typing.Any, # type: ignore
129
129
  object_=_response.json(),
130
130
  ),
131
131
  ),
@@ -134,9 +134,9 @@ class RawDriverQrCodesClient:
134
134
  raise NotImplementedError(
135
135
  headers=dict(_response.headers),
136
136
  body=typing.cast(
137
- typing.Optional[typing.Any],
137
+ typing.Any,
138
138
  parse_obj_as(
139
- type_=typing.Optional[typing.Any], # type: ignore
139
+ type_=typing.Any, # type: ignore
140
140
  object_=_response.json(),
141
141
  ),
142
142
  ),
@@ -145,9 +145,9 @@ class RawDriverQrCodesClient:
145
145
  raise BadGatewayError(
146
146
  headers=dict(_response.headers),
147
147
  body=typing.cast(
148
- typing.Optional[typing.Any],
148
+ typing.Any,
149
149
  parse_obj_as(
150
- type_=typing.Optional[typing.Any], # type: ignore
150
+ type_=typing.Any, # type: ignore
151
151
  object_=_response.json(),
152
152
  ),
153
153
  ),
@@ -156,9 +156,9 @@ class RawDriverQrCodesClient:
156
156
  raise ServiceUnavailableError(
157
157
  headers=dict(_response.headers),
158
158
  body=typing.cast(
159
- typing.Optional[typing.Any],
159
+ typing.Any,
160
160
  parse_obj_as(
161
- type_=typing.Optional[typing.Any], # type: ignore
161
+ type_=typing.Any, # type: ignore
162
162
  object_=_response.json(),
163
163
  ),
164
164
  ),
@@ -167,9 +167,9 @@ class RawDriverQrCodesClient:
167
167
  raise GatewayTimeoutError(
168
168
  headers=dict(_response.headers),
169
169
  body=typing.cast(
170
- typing.Optional[typing.Any],
170
+ typing.Any,
171
171
  parse_obj_as(
172
- type_=typing.Optional[typing.Any], # type: ignore
172
+ type_=typing.Any, # type: ignore
173
173
  object_=_response.json(),
174
174
  ),
175
175
  ),
@@ -231,9 +231,9 @@ class RawDriverQrCodesClient:
231
231
  raise UnauthorizedError(
232
232
  headers=dict(_response.headers),
233
233
  body=typing.cast(
234
- typing.Optional[typing.Any],
234
+ typing.Any,
235
235
  parse_obj_as(
236
- type_=typing.Optional[typing.Any], # type: ignore
236
+ type_=typing.Any, # type: ignore
237
237
  object_=_response.json(),
238
238
  ),
239
239
  ),
@@ -242,9 +242,9 @@ class RawDriverQrCodesClient:
242
242
  raise NotFoundError(
243
243
  headers=dict(_response.headers),
244
244
  body=typing.cast(
245
- typing.Optional[typing.Any],
245
+ typing.Any,
246
246
  parse_obj_as(
247
- type_=typing.Optional[typing.Any], # type: ignore
247
+ type_=typing.Any, # type: ignore
248
248
  object_=_response.json(),
249
249
  ),
250
250
  ),
@@ -253,9 +253,9 @@ class RawDriverQrCodesClient:
253
253
  raise MethodNotAllowedError(
254
254
  headers=dict(_response.headers),
255
255
  body=typing.cast(
256
- typing.Optional[typing.Any],
256
+ typing.Any,
257
257
  parse_obj_as(
258
- type_=typing.Optional[typing.Any], # type: ignore
258
+ type_=typing.Any, # type: ignore
259
259
  object_=_response.json(),
260
260
  ),
261
261
  ),
@@ -264,9 +264,9 @@ class RawDriverQrCodesClient:
264
264
  raise TooManyRequestsError(
265
265
  headers=dict(_response.headers),
266
266
  body=typing.cast(
267
- typing.Optional[typing.Any],
267
+ typing.Any,
268
268
  parse_obj_as(
269
- type_=typing.Optional[typing.Any], # type: ignore
269
+ type_=typing.Any, # type: ignore
270
270
  object_=_response.json(),
271
271
  ),
272
272
  ),
@@ -275,9 +275,9 @@ class RawDriverQrCodesClient:
275
275
  raise InternalServerError(
276
276
  headers=dict(_response.headers),
277
277
  body=typing.cast(
278
- typing.Optional[typing.Any],
278
+ typing.Any,
279
279
  parse_obj_as(
280
- type_=typing.Optional[typing.Any], # type: ignore
280
+ type_=typing.Any, # type: ignore
281
281
  object_=_response.json(),
282
282
  ),
283
283
  ),
@@ -286,9 +286,9 @@ class RawDriverQrCodesClient:
286
286
  raise NotImplementedError(
287
287
  headers=dict(_response.headers),
288
288
  body=typing.cast(
289
- typing.Optional[typing.Any],
289
+ typing.Any,
290
290
  parse_obj_as(
291
- type_=typing.Optional[typing.Any], # type: ignore
291
+ type_=typing.Any, # type: ignore
292
292
  object_=_response.json(),
293
293
  ),
294
294
  ),
@@ -297,9 +297,9 @@ class RawDriverQrCodesClient:
297
297
  raise BadGatewayError(
298
298
  headers=dict(_response.headers),
299
299
  body=typing.cast(
300
- typing.Optional[typing.Any],
300
+ typing.Any,
301
301
  parse_obj_as(
302
- type_=typing.Optional[typing.Any], # type: ignore
302
+ type_=typing.Any, # type: ignore
303
303
  object_=_response.json(),
304
304
  ),
305
305
  ),
@@ -308,9 +308,9 @@ class RawDriverQrCodesClient:
308
308
  raise ServiceUnavailableError(
309
309
  headers=dict(_response.headers),
310
310
  body=typing.cast(
311
- typing.Optional[typing.Any],
311
+ typing.Any,
312
312
  parse_obj_as(
313
- type_=typing.Optional[typing.Any], # type: ignore
313
+ type_=typing.Any, # type: ignore
314
314
  object_=_response.json(),
315
315
  ),
316
316
  ),
@@ -319,9 +319,9 @@ class RawDriverQrCodesClient:
319
319
  raise GatewayTimeoutError(
320
320
  headers=dict(_response.headers),
321
321
  body=typing.cast(
322
- typing.Optional[typing.Any],
322
+ typing.Any,
323
323
  parse_obj_as(
324
- type_=typing.Optional[typing.Any], # type: ignore
324
+ type_=typing.Any, # type: ignore
325
325
  object_=_response.json(),
326
326
  ),
327
327
  ),
@@ -375,9 +375,9 @@ class RawDriverQrCodesClient:
375
375
  raise UnauthorizedError(
376
376
  headers=dict(_response.headers),
377
377
  body=typing.cast(
378
- typing.Optional[typing.Any],
378
+ typing.Any,
379
379
  parse_obj_as(
380
- type_=typing.Optional[typing.Any], # type: ignore
380
+ type_=typing.Any, # type: ignore
381
381
  object_=_response.json(),
382
382
  ),
383
383
  ),
@@ -386,9 +386,9 @@ class RawDriverQrCodesClient:
386
386
  raise NotFoundError(
387
387
  headers=dict(_response.headers),
388
388
  body=typing.cast(
389
- typing.Optional[typing.Any],
389
+ typing.Any,
390
390
  parse_obj_as(
391
- type_=typing.Optional[typing.Any], # type: ignore
391
+ type_=typing.Any, # type: ignore
392
392
  object_=_response.json(),
393
393
  ),
394
394
  ),
@@ -397,9 +397,9 @@ class RawDriverQrCodesClient:
397
397
  raise MethodNotAllowedError(
398
398
  headers=dict(_response.headers),
399
399
  body=typing.cast(
400
- typing.Optional[typing.Any],
400
+ typing.Any,
401
401
  parse_obj_as(
402
- type_=typing.Optional[typing.Any], # type: ignore
402
+ type_=typing.Any, # type: ignore
403
403
  object_=_response.json(),
404
404
  ),
405
405
  ),
@@ -408,9 +408,9 @@ class RawDriverQrCodesClient:
408
408
  raise TooManyRequestsError(
409
409
  headers=dict(_response.headers),
410
410
  body=typing.cast(
411
- typing.Optional[typing.Any],
411
+ typing.Any,
412
412
  parse_obj_as(
413
- type_=typing.Optional[typing.Any], # type: ignore
413
+ type_=typing.Any, # type: ignore
414
414
  object_=_response.json(),
415
415
  ),
416
416
  ),
@@ -419,9 +419,9 @@ class RawDriverQrCodesClient:
419
419
  raise InternalServerError(
420
420
  headers=dict(_response.headers),
421
421
  body=typing.cast(
422
- typing.Optional[typing.Any],
422
+ typing.Any,
423
423
  parse_obj_as(
424
- type_=typing.Optional[typing.Any], # type: ignore
424
+ type_=typing.Any, # type: ignore
425
425
  object_=_response.json(),
426
426
  ),
427
427
  ),
@@ -430,9 +430,9 @@ class RawDriverQrCodesClient:
430
430
  raise NotImplementedError(
431
431
  headers=dict(_response.headers),
432
432
  body=typing.cast(
433
- typing.Optional[typing.Any],
433
+ typing.Any,
434
434
  parse_obj_as(
435
- type_=typing.Optional[typing.Any], # type: ignore
435
+ type_=typing.Any, # type: ignore
436
436
  object_=_response.json(),
437
437
  ),
438
438
  ),
@@ -441,9 +441,9 @@ class RawDriverQrCodesClient:
441
441
  raise BadGatewayError(
442
442
  headers=dict(_response.headers),
443
443
  body=typing.cast(
444
- typing.Optional[typing.Any],
444
+ typing.Any,
445
445
  parse_obj_as(
446
- type_=typing.Optional[typing.Any], # type: ignore
446
+ type_=typing.Any, # type: ignore
447
447
  object_=_response.json(),
448
448
  ),
449
449
  ),
@@ -452,9 +452,9 @@ class RawDriverQrCodesClient:
452
452
  raise ServiceUnavailableError(
453
453
  headers=dict(_response.headers),
454
454
  body=typing.cast(
455
- typing.Optional[typing.Any],
455
+ typing.Any,
456
456
  parse_obj_as(
457
- type_=typing.Optional[typing.Any], # type: ignore
457
+ type_=typing.Any, # type: ignore
458
458
  object_=_response.json(),
459
459
  ),
460
460
  ),
@@ -463,9 +463,9 @@ class RawDriverQrCodesClient:
463
463
  raise GatewayTimeoutError(
464
464
  headers=dict(_response.headers),
465
465
  body=typing.cast(
466
- typing.Optional[typing.Any],
466
+ typing.Any,
467
467
  parse_obj_as(
468
- type_=typing.Optional[typing.Any], # type: ignore
468
+ type_=typing.Any, # type: ignore
469
469
  object_=_response.json(),
470
470
  ),
471
471
  ),
@@ -531,9 +531,9 @@ class AsyncRawDriverQrCodesClient:
531
531
  raise UnauthorizedError(
532
532
  headers=dict(_response.headers),
533
533
  body=typing.cast(
534
- typing.Optional[typing.Any],
534
+ typing.Any,
535
535
  parse_obj_as(
536
- type_=typing.Optional[typing.Any], # type: ignore
536
+ type_=typing.Any, # type: ignore
537
537
  object_=_response.json(),
538
538
  ),
539
539
  ),
@@ -542,9 +542,9 @@ class AsyncRawDriverQrCodesClient:
542
542
  raise NotFoundError(
543
543
  headers=dict(_response.headers),
544
544
  body=typing.cast(
545
- typing.Optional[typing.Any],
545
+ typing.Any,
546
546
  parse_obj_as(
547
- type_=typing.Optional[typing.Any], # type: ignore
547
+ type_=typing.Any, # type: ignore
548
548
  object_=_response.json(),
549
549
  ),
550
550
  ),
@@ -553,9 +553,9 @@ class AsyncRawDriverQrCodesClient:
553
553
  raise MethodNotAllowedError(
554
554
  headers=dict(_response.headers),
555
555
  body=typing.cast(
556
- typing.Optional[typing.Any],
556
+ typing.Any,
557
557
  parse_obj_as(
558
- type_=typing.Optional[typing.Any], # type: ignore
558
+ type_=typing.Any, # type: ignore
559
559
  object_=_response.json(),
560
560
  ),
561
561
  ),
@@ -564,9 +564,9 @@ class AsyncRawDriverQrCodesClient:
564
564
  raise TooManyRequestsError(
565
565
  headers=dict(_response.headers),
566
566
  body=typing.cast(
567
- typing.Optional[typing.Any],
567
+ typing.Any,
568
568
  parse_obj_as(
569
- type_=typing.Optional[typing.Any], # type: ignore
569
+ type_=typing.Any, # type: ignore
570
570
  object_=_response.json(),
571
571
  ),
572
572
  ),
@@ -575,9 +575,9 @@ class AsyncRawDriverQrCodesClient:
575
575
  raise InternalServerError(
576
576
  headers=dict(_response.headers),
577
577
  body=typing.cast(
578
- typing.Optional[typing.Any],
578
+ typing.Any,
579
579
  parse_obj_as(
580
- type_=typing.Optional[typing.Any], # type: ignore
580
+ type_=typing.Any, # type: ignore
581
581
  object_=_response.json(),
582
582
  ),
583
583
  ),
@@ -586,9 +586,9 @@ class AsyncRawDriverQrCodesClient:
586
586
  raise NotImplementedError(
587
587
  headers=dict(_response.headers),
588
588
  body=typing.cast(
589
- typing.Optional[typing.Any],
589
+ typing.Any,
590
590
  parse_obj_as(
591
- type_=typing.Optional[typing.Any], # type: ignore
591
+ type_=typing.Any, # type: ignore
592
592
  object_=_response.json(),
593
593
  ),
594
594
  ),
@@ -597,9 +597,9 @@ class AsyncRawDriverQrCodesClient:
597
597
  raise BadGatewayError(
598
598
  headers=dict(_response.headers),
599
599
  body=typing.cast(
600
- typing.Optional[typing.Any],
600
+ typing.Any,
601
601
  parse_obj_as(
602
- type_=typing.Optional[typing.Any], # type: ignore
602
+ type_=typing.Any, # type: ignore
603
603
  object_=_response.json(),
604
604
  ),
605
605
  ),
@@ -608,9 +608,9 @@ class AsyncRawDriverQrCodesClient:
608
608
  raise ServiceUnavailableError(
609
609
  headers=dict(_response.headers),
610
610
  body=typing.cast(
611
- typing.Optional[typing.Any],
611
+ typing.Any,
612
612
  parse_obj_as(
613
- type_=typing.Optional[typing.Any], # type: ignore
613
+ type_=typing.Any, # type: ignore
614
614
  object_=_response.json(),
615
615
  ),
616
616
  ),
@@ -619,9 +619,9 @@ class AsyncRawDriverQrCodesClient:
619
619
  raise GatewayTimeoutError(
620
620
  headers=dict(_response.headers),
621
621
  body=typing.cast(
622
- typing.Optional[typing.Any],
622
+ typing.Any,
623
623
  parse_obj_as(
624
- type_=typing.Optional[typing.Any], # type: ignore
624
+ type_=typing.Any, # type: ignore
625
625
  object_=_response.json(),
626
626
  ),
627
627
  ),
@@ -683,9 +683,9 @@ class AsyncRawDriverQrCodesClient:
683
683
  raise UnauthorizedError(
684
684
  headers=dict(_response.headers),
685
685
  body=typing.cast(
686
- typing.Optional[typing.Any],
686
+ typing.Any,
687
687
  parse_obj_as(
688
- type_=typing.Optional[typing.Any], # type: ignore
688
+ type_=typing.Any, # type: ignore
689
689
  object_=_response.json(),
690
690
  ),
691
691
  ),
@@ -694,9 +694,9 @@ class AsyncRawDriverQrCodesClient:
694
694
  raise NotFoundError(
695
695
  headers=dict(_response.headers),
696
696
  body=typing.cast(
697
- typing.Optional[typing.Any],
697
+ typing.Any,
698
698
  parse_obj_as(
699
- type_=typing.Optional[typing.Any], # type: ignore
699
+ type_=typing.Any, # type: ignore
700
700
  object_=_response.json(),
701
701
  ),
702
702
  ),
@@ -705,9 +705,9 @@ class AsyncRawDriverQrCodesClient:
705
705
  raise MethodNotAllowedError(
706
706
  headers=dict(_response.headers),
707
707
  body=typing.cast(
708
- typing.Optional[typing.Any],
708
+ typing.Any,
709
709
  parse_obj_as(
710
- type_=typing.Optional[typing.Any], # type: ignore
710
+ type_=typing.Any, # type: ignore
711
711
  object_=_response.json(),
712
712
  ),
713
713
  ),
@@ -716,9 +716,9 @@ class AsyncRawDriverQrCodesClient:
716
716
  raise TooManyRequestsError(
717
717
  headers=dict(_response.headers),
718
718
  body=typing.cast(
719
- typing.Optional[typing.Any],
719
+ typing.Any,
720
720
  parse_obj_as(
721
- type_=typing.Optional[typing.Any], # type: ignore
721
+ type_=typing.Any, # type: ignore
722
722
  object_=_response.json(),
723
723
  ),
724
724
  ),
@@ -727,9 +727,9 @@ class AsyncRawDriverQrCodesClient:
727
727
  raise InternalServerError(
728
728
  headers=dict(_response.headers),
729
729
  body=typing.cast(
730
- typing.Optional[typing.Any],
730
+ typing.Any,
731
731
  parse_obj_as(
732
- type_=typing.Optional[typing.Any], # type: ignore
732
+ type_=typing.Any, # type: ignore
733
733
  object_=_response.json(),
734
734
  ),
735
735
  ),
@@ -738,9 +738,9 @@ class AsyncRawDriverQrCodesClient:
738
738
  raise NotImplementedError(
739
739
  headers=dict(_response.headers),
740
740
  body=typing.cast(
741
- typing.Optional[typing.Any],
741
+ typing.Any,
742
742
  parse_obj_as(
743
- type_=typing.Optional[typing.Any], # type: ignore
743
+ type_=typing.Any, # type: ignore
744
744
  object_=_response.json(),
745
745
  ),
746
746
  ),
@@ -749,9 +749,9 @@ class AsyncRawDriverQrCodesClient:
749
749
  raise BadGatewayError(
750
750
  headers=dict(_response.headers),
751
751
  body=typing.cast(
752
- typing.Optional[typing.Any],
752
+ typing.Any,
753
753
  parse_obj_as(
754
- type_=typing.Optional[typing.Any], # type: ignore
754
+ type_=typing.Any, # type: ignore
755
755
  object_=_response.json(),
756
756
  ),
757
757
  ),
@@ -760,9 +760,9 @@ class AsyncRawDriverQrCodesClient:
760
760
  raise ServiceUnavailableError(
761
761
  headers=dict(_response.headers),
762
762
  body=typing.cast(
763
- typing.Optional[typing.Any],
763
+ typing.Any,
764
764
  parse_obj_as(
765
- type_=typing.Optional[typing.Any], # type: ignore
765
+ type_=typing.Any, # type: ignore
766
766
  object_=_response.json(),
767
767
  ),
768
768
  ),
@@ -771,9 +771,9 @@ class AsyncRawDriverQrCodesClient:
771
771
  raise GatewayTimeoutError(
772
772
  headers=dict(_response.headers),
773
773
  body=typing.cast(
774
- typing.Optional[typing.Any],
774
+ typing.Any,
775
775
  parse_obj_as(
776
- type_=typing.Optional[typing.Any], # type: ignore
776
+ type_=typing.Any, # type: ignore
777
777
  object_=_response.json(),
778
778
  ),
779
779
  ),
@@ -827,9 +827,9 @@ class AsyncRawDriverQrCodesClient:
827
827
  raise UnauthorizedError(
828
828
  headers=dict(_response.headers),
829
829
  body=typing.cast(
830
- typing.Optional[typing.Any],
830
+ typing.Any,
831
831
  parse_obj_as(
832
- type_=typing.Optional[typing.Any], # type: ignore
832
+ type_=typing.Any, # type: ignore
833
833
  object_=_response.json(),
834
834
  ),
835
835
  ),
@@ -838,9 +838,9 @@ class AsyncRawDriverQrCodesClient:
838
838
  raise NotFoundError(
839
839
  headers=dict(_response.headers),
840
840
  body=typing.cast(
841
- typing.Optional[typing.Any],
841
+ typing.Any,
842
842
  parse_obj_as(
843
- type_=typing.Optional[typing.Any], # type: ignore
843
+ type_=typing.Any, # type: ignore
844
844
  object_=_response.json(),
845
845
  ),
846
846
  ),
@@ -849,9 +849,9 @@ class AsyncRawDriverQrCodesClient:
849
849
  raise MethodNotAllowedError(
850
850
  headers=dict(_response.headers),
851
851
  body=typing.cast(
852
- typing.Optional[typing.Any],
852
+ typing.Any,
853
853
  parse_obj_as(
854
- type_=typing.Optional[typing.Any], # type: ignore
854
+ type_=typing.Any, # type: ignore
855
855
  object_=_response.json(),
856
856
  ),
857
857
  ),
@@ -860,9 +860,9 @@ class AsyncRawDriverQrCodesClient:
860
860
  raise TooManyRequestsError(
861
861
  headers=dict(_response.headers),
862
862
  body=typing.cast(
863
- typing.Optional[typing.Any],
863
+ typing.Any,
864
864
  parse_obj_as(
865
- type_=typing.Optional[typing.Any], # type: ignore
865
+ type_=typing.Any, # type: ignore
866
866
  object_=_response.json(),
867
867
  ),
868
868
  ),
@@ -871,9 +871,9 @@ class AsyncRawDriverQrCodesClient:
871
871
  raise InternalServerError(
872
872
  headers=dict(_response.headers),
873
873
  body=typing.cast(
874
- typing.Optional[typing.Any],
874
+ typing.Any,
875
875
  parse_obj_as(
876
- type_=typing.Optional[typing.Any], # type: ignore
876
+ type_=typing.Any, # type: ignore
877
877
  object_=_response.json(),
878
878
  ),
879
879
  ),
@@ -882,9 +882,9 @@ class AsyncRawDriverQrCodesClient:
882
882
  raise NotImplementedError(
883
883
  headers=dict(_response.headers),
884
884
  body=typing.cast(
885
- typing.Optional[typing.Any],
885
+ typing.Any,
886
886
  parse_obj_as(
887
- type_=typing.Optional[typing.Any], # type: ignore
887
+ type_=typing.Any, # type: ignore
888
888
  object_=_response.json(),
889
889
  ),
890
890
  ),
@@ -893,9 +893,9 @@ class AsyncRawDriverQrCodesClient:
893
893
  raise BadGatewayError(
894
894
  headers=dict(_response.headers),
895
895
  body=typing.cast(
896
- typing.Optional[typing.Any],
896
+ typing.Any,
897
897
  parse_obj_as(
898
- type_=typing.Optional[typing.Any], # type: ignore
898
+ type_=typing.Any, # type: ignore
899
899
  object_=_response.json(),
900
900
  ),
901
901
  ),
@@ -904,9 +904,9 @@ class AsyncRawDriverQrCodesClient:
904
904
  raise ServiceUnavailableError(
905
905
  headers=dict(_response.headers),
906
906
  body=typing.cast(
907
- typing.Optional[typing.Any],
907
+ typing.Any,
908
908
  parse_obj_as(
909
- type_=typing.Optional[typing.Any], # type: ignore
909
+ type_=typing.Any, # type: ignore
910
910
  object_=_response.json(),
911
911
  ),
912
912
  ),
@@ -915,9 +915,9 @@ class AsyncRawDriverQrCodesClient:
915
915
  raise GatewayTimeoutError(
916
916
  headers=dict(_response.headers),
917
917
  body=typing.cast(
918
- typing.Optional[typing.Any],
918
+ typing.Any,
919
919
  parse_obj_as(
920
- type_=typing.Optional[typing.Any], # type: ignore
920
+ type_=typing.Any, # type: ignore
921
921
  object_=_response.json(),
922
922
  ),
923
923
  ),
@@ -114,12 +114,6 @@ class DriverVehicleAssignmentsClient:
114
114
  )
115
115
  client.driver_vehicle_assignments.get_driver_vehicle_assignments(
116
116
  filter_by="drivers",
117
- start_time="startTime",
118
- end_time="endTime",
119
- driver_tag_ids="driverTagIds",
120
- vehicle_tag_ids="vehicleTagIds",
121
- after="after",
122
- assignment_type="HOS",
123
117
  )
124
118
  """
125
119
  _response = self._raw_client.get_driver_vehicle_assignments(
@@ -445,12 +439,6 @@ class AsyncDriverVehicleAssignmentsClient:
445
439
  async def main() -> None:
446
440
  await client.driver_vehicle_assignments.get_driver_vehicle_assignments(
447
441
  filter_by="drivers",
448
- start_time="startTime",
449
- end_time="endTime",
450
- driver_tag_ids="driverTagIds",
451
- vehicle_tag_ids="vehicleTagIds",
452
- after="after",
453
- assignment_type="HOS",
454
442
  )
455
443
 
456
444