samsara-api 4.1.1__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.
- samsara/__init__.py +84 -15
- samsara/addresses/client.py +7 -14
- samsara/addresses/raw_client.py +7 -11
- samsara/alerts/client.py +2 -10
- samsara/alerts/raw_client.py +180 -180
- samsara/assets/__init__.py +3 -3
- samsara/assets/client.py +14 -45
- samsara/assets/raw_client.py +156 -160
- samsara/assets/types/__init__.py +3 -3
- samsara/assets/types/{assets_list_request_type.py → list_assets_request_type.py} +1 -1
- samsara/attributes/client.py +0 -4
- samsara/beta_ap_is/client.py +139 -189
- samsara/beta_ap_is/raw_client.py +2035 -1702
- samsara/carrier_proposed_assignments/client.py +2 -10
- samsara/client.py +5 -0
- samsara/coaching/client.py +2 -22
- samsara/coaching/raw_client.py +108 -108
- samsara/contacts/client.py +2 -8
- samsara/core/__init__.py +5 -0
- samsara/core/client_wrapper.py +18 -10
- samsara/core/custom_pagination.py +152 -0
- samsara/core/http_client.py +176 -90
- samsara/core/http_sse/__init__.py +42 -0
- samsara/core/http_sse/_api.py +112 -0
- samsara/core/http_sse/_decoders.py +61 -0
- samsara/core/http_sse/_exceptions.py +7 -0
- samsara/core/http_sse/_models.py +17 -0
- samsara/core/pagination.py +14 -14
- samsara/core/pydantic_utilities.py +3 -1
- samsara/documents/client.py +2 -12
- samsara/documents/raw_client.py +180 -180
- samsara/driver_qr_codes/raw_client.py +108 -108
- samsara/driver_vehicle_assignments/client.py +0 -12
- samsara/driver_vehicle_assignments/raw_client.py +144 -144
- samsara/drivers/__init__.py +3 -3
- samsara/drivers/client.py +12 -23
- samsara/drivers/raw_client.py +48 -52
- samsara/drivers/types/__init__.py +3 -3
- samsara/drivers/types/{drivers_list_request_driver_activation_status.py → list_drivers_request_driver_activation_status.py} +1 -1
- samsara/equipment/client.py +6 -22
- samsara/errors/bad_gateway_error.py +1 -1
- samsara/errors/gateway_timeout_error.py +1 -1
- samsara/errors/internal_server_error.py +1 -1
- samsara/errors/method_not_allowed_error.py +1 -1
- samsara/errors/not_found_error.py +1 -1
- samsara/errors/not_implemented_error.py +1 -1
- samsara/errors/service_unavailable_error.py +1 -1
- samsara/errors/too_many_requests_error.py +1 -1
- samsara/errors/unauthorized_error.py +1 -1
- samsara/forms/__init__.py +9 -3
- samsara/forms/client.py +17 -10
- samsara/forms/raw_client.py +265 -254
- samsara/forms/types/__init__.py +6 -2
- samsara/forms/types/form_submissions_post_form_submission_request_body_status.py +5 -0
- samsara/fuel_and_energy/client.py +0 -30
- samsara/fuel_and_energy/raw_client.py +180 -180
- samsara/gateways/client.py +2 -6
- samsara/gateways/raw_client.py +108 -108
- samsara/hours_of_service/__init__.py +6 -3
- samsara/hours_of_service/client.py +13 -52
- samsara/hours_of_service/raw_client.py +77 -76
- samsara/hours_of_service/types/__init__.py +4 -2
- samsara/hours_of_service/types/get_hos_daily_logs_request_expand.py +5 -0
- samsara/hubs/client.py +2 -94
- samsara/hubs/raw_client.py +216 -216
- samsara/idling/client.py +10 -16
- samsara/idling/raw_client.py +46 -36
- samsara/ifta/client.py +4 -34
- samsara/ifta/raw_client.py +144 -144
- samsara/industrial/client.py +12 -56
- samsara/industrial/raw_client.py +40 -48
- samsara/issues/client.py +0 -4
- samsara/issues/raw_client.py +108 -108
- samsara/legacy_ap_is/client.py +4 -56
- samsara/legacy_ap_is/raw_client.py +108 -108
- samsara/live_sharing_links/client.py +2 -10
- samsara/live_sharing_links/raw_client.py +144 -144
- samsara/location_and_speed/client.py +2 -20
- samsara/location_and_speed/raw_client.py +36 -36
- samsara/maintenance/__init__.py +3 -3
- samsara/maintenance/client.py +15 -30
- samsara/maintenance/raw_client.py +191 -182
- samsara/maintenance/types/__init__.py +6 -2
- samsara/maintenance/types/create_dvir_request_type.py +5 -0
- samsara/media/client.py +2 -16
- samsara/media/raw_client.py +108 -108
- samsara/messages/client.py +2 -8
- samsara/plans/client.py +0 -21
- samsara/plans/raw_client.py +72 -72
- samsara/preview_ap_is/client.py +0 -140
- samsara/preview_ap_is/raw_client.py +72 -430
- samsara/route_events/client.py +2 -12
- samsara/route_events/raw_client.py +36 -36
- samsara/routes/__init__.py +30 -0
- samsara/routes/client.py +7 -35
- samsara/routes/raw_client.py +257 -256
- samsara/routes/types/__init__.py +34 -0
- samsara/routes/types/get_routes_feed_request_expand.py +5 -0
- samsara/safety/client.py +2 -10
- samsara/safety/raw_client.py +36 -36
- samsara/settings/raw_client.py +180 -180
- samsara/speeding_intervals/raw_client.py +36 -36
- samsara/tachograph_eu_only/client.py +0 -6
- samsara/tags/client.py +2 -8
- samsara/trailer_assignments/client.py +2 -18
- samsara/trailers/client.py +2 -12
- samsara/trailers/raw_client.py +180 -180
- samsara/types/__init__.py +71 -6
- samsara/types/advanced_idling_get_idling_events_response_body.py +2 -2
- samsara/types/create_routes_stop_request_object_request_body.py +7 -0
- samsara/types/driver_assignment_object_response_body.py +2 -1
- samsara/types/driver_assignment_object_response_body_assignment_type.py +5 -0
- samsara/types/driver_external_ids.py +1 -1
- samsara/types/forms_approval_config_object_response_body.py +2 -1
- samsara/types/forms_approval_config_object_response_body_type.py +5 -0
- samsara/types/fuel_level_trigger_details_object_request_body.py +2 -1
- samsara/types/fuel_level_trigger_details_object_request_body_operation.py +5 -0
- samsara/types/fuel_level_trigger_details_object_response_body.py +4 -1
- samsara/types/fuel_level_trigger_details_object_response_body_operation.py +5 -0
- samsara/types/harsh_event_trigger_details_object_request_body_types_item.py +1 -0
- samsara/types/harsh_event_trigger_details_object_response_body_types_item.py +1 -0
- samsara/types/idling_event_address_object_response_body.py +46 -0
- samsara/types/{idling_event_object_response_body_address_type.py → idling_event_address_object_response_body_address_types_item.py} +1 -1
- samsara/types/idling_event_asset_object_response_body.py +35 -0
- samsara/types/{idling_event_object_response_body.py → idling_event_object_v_20251023_response_body.py} +18 -28
- samsara/types/idling_event_object_v_20251023_response_body_pto_state.py +5 -0
- samsara/types/idling_event_operator_object_response_body.py +35 -0
- samsara/types/patch_issue_request_body_assigned_to_request_body.py +2 -1
- samsara/types/patch_issue_request_body_assigned_to_request_body_type.py +5 -0
- samsara/types/reading_datapoint_request_body.py +5 -4
- samsara/types/reading_datapoint_request_body_entity_type.py +5 -0
- samsara/types/reading_history_response_body.py +1 -1
- samsara/types/reading_snapshot_response_body.py +1 -1
- samsara/types/resolved_by.py +2 -1
- samsara/types/resolved_by_type.py +5 -0
- samsara/types/route_feed_object_response_body.py +2 -1
- samsara/types/route_feed_object_response_body_type.py +5 -0
- samsara/types/route_settings_request_body.py +8 -0
- samsara/types/route_settings_request_body_sequencing_method.py +7 -0
- samsara/types/route_settings_response_body.py +8 -0
- samsara/types/route_settings_response_body_sequencing_method.py +7 -0
- samsara/types/route_stop_details_object_response_body.py +2 -1
- samsara/types/route_stop_details_object_response_body_type.py +5 -0
- samsara/types/routes_stop_response_object_response_body.py +7 -0
- samsara/types/training_learner_object_response_body.py +2 -1
- samsara/types/training_learner_object_response_body_type.py +5 -0
- samsara/types/update_routes_stop_request_object_request_body.py +7 -0
- samsara/types/vehicle_assignment_object_response_body.py +4 -3
- samsara/types/vehicle_assignment_object_response_body_assignment_type.py +5 -0
- samsara/types/vehicle_external_ids.py +1 -1
- samsara/types/work_order_money_object_request_body.py +2 -1
- samsara/types/work_order_money_object_request_body_currency.py +5 -0
- samsara/types/work_order_money_object_response_body.py +2 -1
- samsara/types/work_order_money_object_response_body_currency.py +5 -0
- samsara/users/client.py +4 -16
- samsara/vehicle_locations/client.py +4 -16
- samsara/vehicles/client.py +7 -22
- samsara/vehicles/raw_client.py +43 -47
- samsara/webhooks/client.py +2 -10
- samsara/webhooks/raw_client.py +180 -180
- samsara/work_orders/client.py +4 -18
- samsara/work_orders/raw_client.py +216 -216
- {samsara_api-4.1.1.dist-info → samsara_api-4.3.0.dist-info}/METADATA +2 -1
- {samsara_api-4.1.1.dist-info → samsara_api-4.3.0.dist-info}/RECORD +166 -136
- {samsara_api-4.1.1.dist-info → samsara_api-4.3.0.dist-info}/LICENSE +0 -0
- {samsara_api-4.1.1.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.
|
|
82
|
+
typing.Any,
|
|
83
83
|
parse_obj_as(
|
|
84
|
-
type_=typing.
|
|
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.
|
|
93
|
+
typing.Any,
|
|
94
94
|
parse_obj_as(
|
|
95
|
-
type_=typing.
|
|
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.
|
|
104
|
+
typing.Any,
|
|
105
105
|
parse_obj_as(
|
|
106
|
-
type_=typing.
|
|
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.
|
|
115
|
+
typing.Any,
|
|
116
116
|
parse_obj_as(
|
|
117
|
-
type_=typing.
|
|
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.
|
|
126
|
+
typing.Any,
|
|
127
127
|
parse_obj_as(
|
|
128
|
-
type_=typing.
|
|
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.
|
|
137
|
+
typing.Any,
|
|
138
138
|
parse_obj_as(
|
|
139
|
-
type_=typing.
|
|
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.
|
|
148
|
+
typing.Any,
|
|
149
149
|
parse_obj_as(
|
|
150
|
-
type_=typing.
|
|
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.
|
|
159
|
+
typing.Any,
|
|
160
160
|
parse_obj_as(
|
|
161
|
-
type_=typing.
|
|
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.
|
|
170
|
+
typing.Any,
|
|
171
171
|
parse_obj_as(
|
|
172
|
-
type_=typing.
|
|
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.
|
|
234
|
+
typing.Any,
|
|
235
235
|
parse_obj_as(
|
|
236
|
-
type_=typing.
|
|
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.
|
|
245
|
+
typing.Any,
|
|
246
246
|
parse_obj_as(
|
|
247
|
-
type_=typing.
|
|
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.
|
|
256
|
+
typing.Any,
|
|
257
257
|
parse_obj_as(
|
|
258
|
-
type_=typing.
|
|
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.
|
|
267
|
+
typing.Any,
|
|
268
268
|
parse_obj_as(
|
|
269
|
-
type_=typing.
|
|
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.
|
|
278
|
+
typing.Any,
|
|
279
279
|
parse_obj_as(
|
|
280
|
-
type_=typing.
|
|
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.
|
|
289
|
+
typing.Any,
|
|
290
290
|
parse_obj_as(
|
|
291
|
-
type_=typing.
|
|
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.
|
|
300
|
+
typing.Any,
|
|
301
301
|
parse_obj_as(
|
|
302
|
-
type_=typing.
|
|
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.
|
|
311
|
+
typing.Any,
|
|
312
312
|
parse_obj_as(
|
|
313
|
-
type_=typing.
|
|
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.
|
|
322
|
+
typing.Any,
|
|
323
323
|
parse_obj_as(
|
|
324
|
-
type_=typing.
|
|
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.
|
|
378
|
+
typing.Any,
|
|
379
379
|
parse_obj_as(
|
|
380
|
-
type_=typing.
|
|
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.
|
|
389
|
+
typing.Any,
|
|
390
390
|
parse_obj_as(
|
|
391
|
-
type_=typing.
|
|
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.
|
|
400
|
+
typing.Any,
|
|
401
401
|
parse_obj_as(
|
|
402
|
-
type_=typing.
|
|
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.
|
|
411
|
+
typing.Any,
|
|
412
412
|
parse_obj_as(
|
|
413
|
-
type_=typing.
|
|
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.
|
|
422
|
+
typing.Any,
|
|
423
423
|
parse_obj_as(
|
|
424
|
-
type_=typing.
|
|
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.
|
|
433
|
+
typing.Any,
|
|
434
434
|
parse_obj_as(
|
|
435
|
-
type_=typing.
|
|
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.
|
|
444
|
+
typing.Any,
|
|
445
445
|
parse_obj_as(
|
|
446
|
-
type_=typing.
|
|
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.
|
|
455
|
+
typing.Any,
|
|
456
456
|
parse_obj_as(
|
|
457
|
-
type_=typing.
|
|
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.
|
|
466
|
+
typing.Any,
|
|
467
467
|
parse_obj_as(
|
|
468
|
-
type_=typing.
|
|
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.
|
|
534
|
+
typing.Any,
|
|
535
535
|
parse_obj_as(
|
|
536
|
-
type_=typing.
|
|
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.
|
|
545
|
+
typing.Any,
|
|
546
546
|
parse_obj_as(
|
|
547
|
-
type_=typing.
|
|
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.
|
|
556
|
+
typing.Any,
|
|
557
557
|
parse_obj_as(
|
|
558
|
-
type_=typing.
|
|
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.
|
|
567
|
+
typing.Any,
|
|
568
568
|
parse_obj_as(
|
|
569
|
-
type_=typing.
|
|
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.
|
|
578
|
+
typing.Any,
|
|
579
579
|
parse_obj_as(
|
|
580
|
-
type_=typing.
|
|
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.
|
|
589
|
+
typing.Any,
|
|
590
590
|
parse_obj_as(
|
|
591
|
-
type_=typing.
|
|
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.
|
|
600
|
+
typing.Any,
|
|
601
601
|
parse_obj_as(
|
|
602
|
-
type_=typing.
|
|
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.
|
|
611
|
+
typing.Any,
|
|
612
612
|
parse_obj_as(
|
|
613
|
-
type_=typing.
|
|
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.
|
|
622
|
+
typing.Any,
|
|
623
623
|
parse_obj_as(
|
|
624
|
-
type_=typing.
|
|
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.
|
|
686
|
+
typing.Any,
|
|
687
687
|
parse_obj_as(
|
|
688
|
-
type_=typing.
|
|
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.
|
|
697
|
+
typing.Any,
|
|
698
698
|
parse_obj_as(
|
|
699
|
-
type_=typing.
|
|
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.
|
|
708
|
+
typing.Any,
|
|
709
709
|
parse_obj_as(
|
|
710
|
-
type_=typing.
|
|
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.
|
|
719
|
+
typing.Any,
|
|
720
720
|
parse_obj_as(
|
|
721
|
-
type_=typing.
|
|
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.
|
|
730
|
+
typing.Any,
|
|
731
731
|
parse_obj_as(
|
|
732
|
-
type_=typing.
|
|
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.
|
|
741
|
+
typing.Any,
|
|
742
742
|
parse_obj_as(
|
|
743
|
-
type_=typing.
|
|
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.
|
|
752
|
+
typing.Any,
|
|
753
753
|
parse_obj_as(
|
|
754
|
-
type_=typing.
|
|
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.
|
|
763
|
+
typing.Any,
|
|
764
764
|
parse_obj_as(
|
|
765
|
-
type_=typing.
|
|
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.
|
|
774
|
+
typing.Any,
|
|
775
775
|
parse_obj_as(
|
|
776
|
-
type_=typing.
|
|
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.
|
|
830
|
+
typing.Any,
|
|
831
831
|
parse_obj_as(
|
|
832
|
-
type_=typing.
|
|
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.
|
|
841
|
+
typing.Any,
|
|
842
842
|
parse_obj_as(
|
|
843
|
-
type_=typing.
|
|
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.
|
|
852
|
+
typing.Any,
|
|
853
853
|
parse_obj_as(
|
|
854
|
-
type_=typing.
|
|
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.
|
|
863
|
+
typing.Any,
|
|
864
864
|
parse_obj_as(
|
|
865
|
-
type_=typing.
|
|
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.
|
|
874
|
+
typing.Any,
|
|
875
875
|
parse_obj_as(
|
|
876
|
-
type_=typing.
|
|
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.
|
|
885
|
+
typing.Any,
|
|
886
886
|
parse_obj_as(
|
|
887
|
-
type_=typing.
|
|
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.
|
|
896
|
+
typing.Any,
|
|
897
897
|
parse_obj_as(
|
|
898
|
-
type_=typing.
|
|
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.
|
|
907
|
+
typing.Any,
|
|
908
908
|
parse_obj_as(
|
|
909
|
-
type_=typing.
|
|
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.
|
|
918
|
+
typing.Any,
|
|
919
919
|
parse_obj_as(
|
|
920
|
-
type_=typing.
|
|
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
|
|