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.
- samsara/__init__.py +69 -9
- 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 +137 -187
- 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 +0 -18
- samsara/idling/raw_client.py +36 -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 +0 -4
- 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 +54 -0
- 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/idling_event_object_v_20251023_response_body.py +4 -3
- samsara/types/idling_event_object_v_20251023_response_body_pto_state.py +5 -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.2.0.dist-info → samsara_api-4.3.0.dist-info}/METADATA +2 -1
- {samsara_api-4.2.0.dist-info → samsara_api-4.3.0.dist-info}/RECORD +159 -132
- {samsara_api-4.2.0.dist-info → samsara_api-4.3.0.dist-info}/LICENSE +0 -0
- {samsara_api-4.2.0.dist-info → samsara_api-4.3.0.dist-info}/WHEEL +0 -0
samsara/issues/raw_client.py
CHANGED
|
@@ -89,9 +89,9 @@ class RawIssuesClient:
|
|
|
89
89
|
raise UnauthorizedError(
|
|
90
90
|
headers=dict(_response.headers),
|
|
91
91
|
body=typing.cast(
|
|
92
|
-
typing.
|
|
92
|
+
typing.Any,
|
|
93
93
|
parse_obj_as(
|
|
94
|
-
type_=typing.
|
|
94
|
+
type_=typing.Any, # type: ignore
|
|
95
95
|
object_=_response.json(),
|
|
96
96
|
),
|
|
97
97
|
),
|
|
@@ -100,9 +100,9 @@ class RawIssuesClient:
|
|
|
100
100
|
raise NotFoundError(
|
|
101
101
|
headers=dict(_response.headers),
|
|
102
102
|
body=typing.cast(
|
|
103
|
-
typing.
|
|
103
|
+
typing.Any,
|
|
104
104
|
parse_obj_as(
|
|
105
|
-
type_=typing.
|
|
105
|
+
type_=typing.Any, # type: ignore
|
|
106
106
|
object_=_response.json(),
|
|
107
107
|
),
|
|
108
108
|
),
|
|
@@ -111,9 +111,9 @@ class RawIssuesClient:
|
|
|
111
111
|
raise MethodNotAllowedError(
|
|
112
112
|
headers=dict(_response.headers),
|
|
113
113
|
body=typing.cast(
|
|
114
|
-
typing.
|
|
114
|
+
typing.Any,
|
|
115
115
|
parse_obj_as(
|
|
116
|
-
type_=typing.
|
|
116
|
+
type_=typing.Any, # type: ignore
|
|
117
117
|
object_=_response.json(),
|
|
118
118
|
),
|
|
119
119
|
),
|
|
@@ -122,9 +122,9 @@ class RawIssuesClient:
|
|
|
122
122
|
raise TooManyRequestsError(
|
|
123
123
|
headers=dict(_response.headers),
|
|
124
124
|
body=typing.cast(
|
|
125
|
-
typing.
|
|
125
|
+
typing.Any,
|
|
126
126
|
parse_obj_as(
|
|
127
|
-
type_=typing.
|
|
127
|
+
type_=typing.Any, # type: ignore
|
|
128
128
|
object_=_response.json(),
|
|
129
129
|
),
|
|
130
130
|
),
|
|
@@ -133,9 +133,9 @@ class RawIssuesClient:
|
|
|
133
133
|
raise InternalServerError(
|
|
134
134
|
headers=dict(_response.headers),
|
|
135
135
|
body=typing.cast(
|
|
136
|
-
typing.
|
|
136
|
+
typing.Any,
|
|
137
137
|
parse_obj_as(
|
|
138
|
-
type_=typing.
|
|
138
|
+
type_=typing.Any, # type: ignore
|
|
139
139
|
object_=_response.json(),
|
|
140
140
|
),
|
|
141
141
|
),
|
|
@@ -144,9 +144,9 @@ class RawIssuesClient:
|
|
|
144
144
|
raise NotImplementedError(
|
|
145
145
|
headers=dict(_response.headers),
|
|
146
146
|
body=typing.cast(
|
|
147
|
-
typing.
|
|
147
|
+
typing.Any,
|
|
148
148
|
parse_obj_as(
|
|
149
|
-
type_=typing.
|
|
149
|
+
type_=typing.Any, # type: ignore
|
|
150
150
|
object_=_response.json(),
|
|
151
151
|
),
|
|
152
152
|
),
|
|
@@ -155,9 +155,9 @@ class RawIssuesClient:
|
|
|
155
155
|
raise BadGatewayError(
|
|
156
156
|
headers=dict(_response.headers),
|
|
157
157
|
body=typing.cast(
|
|
158
|
-
typing.
|
|
158
|
+
typing.Any,
|
|
159
159
|
parse_obj_as(
|
|
160
|
-
type_=typing.
|
|
160
|
+
type_=typing.Any, # type: ignore
|
|
161
161
|
object_=_response.json(),
|
|
162
162
|
),
|
|
163
163
|
),
|
|
@@ -166,9 +166,9 @@ class RawIssuesClient:
|
|
|
166
166
|
raise ServiceUnavailableError(
|
|
167
167
|
headers=dict(_response.headers),
|
|
168
168
|
body=typing.cast(
|
|
169
|
-
typing.
|
|
169
|
+
typing.Any,
|
|
170
170
|
parse_obj_as(
|
|
171
|
-
type_=typing.
|
|
171
|
+
type_=typing.Any, # type: ignore
|
|
172
172
|
object_=_response.json(),
|
|
173
173
|
),
|
|
174
174
|
),
|
|
@@ -177,9 +177,9 @@ class RawIssuesClient:
|
|
|
177
177
|
raise GatewayTimeoutError(
|
|
178
178
|
headers=dict(_response.headers),
|
|
179
179
|
body=typing.cast(
|
|
180
|
-
typing.
|
|
180
|
+
typing.Any,
|
|
181
181
|
parse_obj_as(
|
|
182
|
-
type_=typing.
|
|
182
|
+
type_=typing.Any, # type: ignore
|
|
183
183
|
object_=_response.json(),
|
|
184
184
|
),
|
|
185
185
|
),
|
|
@@ -265,9 +265,9 @@ class RawIssuesClient:
|
|
|
265
265
|
raise UnauthorizedError(
|
|
266
266
|
headers=dict(_response.headers),
|
|
267
267
|
body=typing.cast(
|
|
268
|
-
typing.
|
|
268
|
+
typing.Any,
|
|
269
269
|
parse_obj_as(
|
|
270
|
-
type_=typing.
|
|
270
|
+
type_=typing.Any, # type: ignore
|
|
271
271
|
object_=_response.json(),
|
|
272
272
|
),
|
|
273
273
|
),
|
|
@@ -276,9 +276,9 @@ class RawIssuesClient:
|
|
|
276
276
|
raise NotFoundError(
|
|
277
277
|
headers=dict(_response.headers),
|
|
278
278
|
body=typing.cast(
|
|
279
|
-
typing.
|
|
279
|
+
typing.Any,
|
|
280
280
|
parse_obj_as(
|
|
281
|
-
type_=typing.
|
|
281
|
+
type_=typing.Any, # type: ignore
|
|
282
282
|
object_=_response.json(),
|
|
283
283
|
),
|
|
284
284
|
),
|
|
@@ -287,9 +287,9 @@ class RawIssuesClient:
|
|
|
287
287
|
raise MethodNotAllowedError(
|
|
288
288
|
headers=dict(_response.headers),
|
|
289
289
|
body=typing.cast(
|
|
290
|
-
typing.
|
|
290
|
+
typing.Any,
|
|
291
291
|
parse_obj_as(
|
|
292
|
-
type_=typing.
|
|
292
|
+
type_=typing.Any, # type: ignore
|
|
293
293
|
object_=_response.json(),
|
|
294
294
|
),
|
|
295
295
|
),
|
|
@@ -298,9 +298,9 @@ class RawIssuesClient:
|
|
|
298
298
|
raise TooManyRequestsError(
|
|
299
299
|
headers=dict(_response.headers),
|
|
300
300
|
body=typing.cast(
|
|
301
|
-
typing.
|
|
301
|
+
typing.Any,
|
|
302
302
|
parse_obj_as(
|
|
303
|
-
type_=typing.
|
|
303
|
+
type_=typing.Any, # type: ignore
|
|
304
304
|
object_=_response.json(),
|
|
305
305
|
),
|
|
306
306
|
),
|
|
@@ -309,9 +309,9 @@ class RawIssuesClient:
|
|
|
309
309
|
raise InternalServerError(
|
|
310
310
|
headers=dict(_response.headers),
|
|
311
311
|
body=typing.cast(
|
|
312
|
-
typing.
|
|
312
|
+
typing.Any,
|
|
313
313
|
parse_obj_as(
|
|
314
|
-
type_=typing.
|
|
314
|
+
type_=typing.Any, # type: ignore
|
|
315
315
|
object_=_response.json(),
|
|
316
316
|
),
|
|
317
317
|
),
|
|
@@ -320,9 +320,9 @@ class RawIssuesClient:
|
|
|
320
320
|
raise NotImplementedError(
|
|
321
321
|
headers=dict(_response.headers),
|
|
322
322
|
body=typing.cast(
|
|
323
|
-
typing.
|
|
323
|
+
typing.Any,
|
|
324
324
|
parse_obj_as(
|
|
325
|
-
type_=typing.
|
|
325
|
+
type_=typing.Any, # type: ignore
|
|
326
326
|
object_=_response.json(),
|
|
327
327
|
),
|
|
328
328
|
),
|
|
@@ -331,9 +331,9 @@ class RawIssuesClient:
|
|
|
331
331
|
raise BadGatewayError(
|
|
332
332
|
headers=dict(_response.headers),
|
|
333
333
|
body=typing.cast(
|
|
334
|
-
typing.
|
|
334
|
+
typing.Any,
|
|
335
335
|
parse_obj_as(
|
|
336
|
-
type_=typing.
|
|
336
|
+
type_=typing.Any, # type: ignore
|
|
337
337
|
object_=_response.json(),
|
|
338
338
|
),
|
|
339
339
|
),
|
|
@@ -342,9 +342,9 @@ class RawIssuesClient:
|
|
|
342
342
|
raise ServiceUnavailableError(
|
|
343
343
|
headers=dict(_response.headers),
|
|
344
344
|
body=typing.cast(
|
|
345
|
-
typing.
|
|
345
|
+
typing.Any,
|
|
346
346
|
parse_obj_as(
|
|
347
|
-
type_=typing.
|
|
347
|
+
type_=typing.Any, # type: ignore
|
|
348
348
|
object_=_response.json(),
|
|
349
349
|
),
|
|
350
350
|
),
|
|
@@ -353,9 +353,9 @@ class RawIssuesClient:
|
|
|
353
353
|
raise GatewayTimeoutError(
|
|
354
354
|
headers=dict(_response.headers),
|
|
355
355
|
body=typing.cast(
|
|
356
|
-
typing.
|
|
356
|
+
typing.Any,
|
|
357
357
|
parse_obj_as(
|
|
358
|
-
type_=typing.
|
|
358
|
+
type_=typing.Any, # type: ignore
|
|
359
359
|
object_=_response.json(),
|
|
360
360
|
),
|
|
361
361
|
),
|
|
@@ -446,9 +446,9 @@ class RawIssuesClient:
|
|
|
446
446
|
raise UnauthorizedError(
|
|
447
447
|
headers=dict(_response.headers),
|
|
448
448
|
body=typing.cast(
|
|
449
|
-
typing.
|
|
449
|
+
typing.Any,
|
|
450
450
|
parse_obj_as(
|
|
451
|
-
type_=typing.
|
|
451
|
+
type_=typing.Any, # type: ignore
|
|
452
452
|
object_=_response.json(),
|
|
453
453
|
),
|
|
454
454
|
),
|
|
@@ -457,9 +457,9 @@ class RawIssuesClient:
|
|
|
457
457
|
raise NotFoundError(
|
|
458
458
|
headers=dict(_response.headers),
|
|
459
459
|
body=typing.cast(
|
|
460
|
-
typing.
|
|
460
|
+
typing.Any,
|
|
461
461
|
parse_obj_as(
|
|
462
|
-
type_=typing.
|
|
462
|
+
type_=typing.Any, # type: ignore
|
|
463
463
|
object_=_response.json(),
|
|
464
464
|
),
|
|
465
465
|
),
|
|
@@ -468,9 +468,9 @@ class RawIssuesClient:
|
|
|
468
468
|
raise MethodNotAllowedError(
|
|
469
469
|
headers=dict(_response.headers),
|
|
470
470
|
body=typing.cast(
|
|
471
|
-
typing.
|
|
471
|
+
typing.Any,
|
|
472
472
|
parse_obj_as(
|
|
473
|
-
type_=typing.
|
|
473
|
+
type_=typing.Any, # type: ignore
|
|
474
474
|
object_=_response.json(),
|
|
475
475
|
),
|
|
476
476
|
),
|
|
@@ -479,9 +479,9 @@ class RawIssuesClient:
|
|
|
479
479
|
raise TooManyRequestsError(
|
|
480
480
|
headers=dict(_response.headers),
|
|
481
481
|
body=typing.cast(
|
|
482
|
-
typing.
|
|
482
|
+
typing.Any,
|
|
483
483
|
parse_obj_as(
|
|
484
|
-
type_=typing.
|
|
484
|
+
type_=typing.Any, # type: ignore
|
|
485
485
|
object_=_response.json(),
|
|
486
486
|
),
|
|
487
487
|
),
|
|
@@ -490,9 +490,9 @@ class RawIssuesClient:
|
|
|
490
490
|
raise InternalServerError(
|
|
491
491
|
headers=dict(_response.headers),
|
|
492
492
|
body=typing.cast(
|
|
493
|
-
typing.
|
|
493
|
+
typing.Any,
|
|
494
494
|
parse_obj_as(
|
|
495
|
-
type_=typing.
|
|
495
|
+
type_=typing.Any, # type: ignore
|
|
496
496
|
object_=_response.json(),
|
|
497
497
|
),
|
|
498
498
|
),
|
|
@@ -501,9 +501,9 @@ class RawIssuesClient:
|
|
|
501
501
|
raise NotImplementedError(
|
|
502
502
|
headers=dict(_response.headers),
|
|
503
503
|
body=typing.cast(
|
|
504
|
-
typing.
|
|
504
|
+
typing.Any,
|
|
505
505
|
parse_obj_as(
|
|
506
|
-
type_=typing.
|
|
506
|
+
type_=typing.Any, # type: ignore
|
|
507
507
|
object_=_response.json(),
|
|
508
508
|
),
|
|
509
509
|
),
|
|
@@ -512,9 +512,9 @@ class RawIssuesClient:
|
|
|
512
512
|
raise BadGatewayError(
|
|
513
513
|
headers=dict(_response.headers),
|
|
514
514
|
body=typing.cast(
|
|
515
|
-
typing.
|
|
515
|
+
typing.Any,
|
|
516
516
|
parse_obj_as(
|
|
517
|
-
type_=typing.
|
|
517
|
+
type_=typing.Any, # type: ignore
|
|
518
518
|
object_=_response.json(),
|
|
519
519
|
),
|
|
520
520
|
),
|
|
@@ -523,9 +523,9 @@ class RawIssuesClient:
|
|
|
523
523
|
raise ServiceUnavailableError(
|
|
524
524
|
headers=dict(_response.headers),
|
|
525
525
|
body=typing.cast(
|
|
526
|
-
typing.
|
|
526
|
+
typing.Any,
|
|
527
527
|
parse_obj_as(
|
|
528
|
-
type_=typing.
|
|
528
|
+
type_=typing.Any, # type: ignore
|
|
529
529
|
object_=_response.json(),
|
|
530
530
|
),
|
|
531
531
|
),
|
|
@@ -534,9 +534,9 @@ class RawIssuesClient:
|
|
|
534
534
|
raise GatewayTimeoutError(
|
|
535
535
|
headers=dict(_response.headers),
|
|
536
536
|
body=typing.cast(
|
|
537
|
-
typing.
|
|
537
|
+
typing.Any,
|
|
538
538
|
parse_obj_as(
|
|
539
|
-
type_=typing.
|
|
539
|
+
type_=typing.Any, # type: ignore
|
|
540
540
|
object_=_response.json(),
|
|
541
541
|
),
|
|
542
542
|
),
|
|
@@ -607,9 +607,9 @@ class AsyncRawIssuesClient:
|
|
|
607
607
|
raise UnauthorizedError(
|
|
608
608
|
headers=dict(_response.headers),
|
|
609
609
|
body=typing.cast(
|
|
610
|
-
typing.
|
|
610
|
+
typing.Any,
|
|
611
611
|
parse_obj_as(
|
|
612
|
-
type_=typing.
|
|
612
|
+
type_=typing.Any, # type: ignore
|
|
613
613
|
object_=_response.json(),
|
|
614
614
|
),
|
|
615
615
|
),
|
|
@@ -618,9 +618,9 @@ class AsyncRawIssuesClient:
|
|
|
618
618
|
raise NotFoundError(
|
|
619
619
|
headers=dict(_response.headers),
|
|
620
620
|
body=typing.cast(
|
|
621
|
-
typing.
|
|
621
|
+
typing.Any,
|
|
622
622
|
parse_obj_as(
|
|
623
|
-
type_=typing.
|
|
623
|
+
type_=typing.Any, # type: ignore
|
|
624
624
|
object_=_response.json(),
|
|
625
625
|
),
|
|
626
626
|
),
|
|
@@ -629,9 +629,9 @@ class AsyncRawIssuesClient:
|
|
|
629
629
|
raise MethodNotAllowedError(
|
|
630
630
|
headers=dict(_response.headers),
|
|
631
631
|
body=typing.cast(
|
|
632
|
-
typing.
|
|
632
|
+
typing.Any,
|
|
633
633
|
parse_obj_as(
|
|
634
|
-
type_=typing.
|
|
634
|
+
type_=typing.Any, # type: ignore
|
|
635
635
|
object_=_response.json(),
|
|
636
636
|
),
|
|
637
637
|
),
|
|
@@ -640,9 +640,9 @@ class AsyncRawIssuesClient:
|
|
|
640
640
|
raise TooManyRequestsError(
|
|
641
641
|
headers=dict(_response.headers),
|
|
642
642
|
body=typing.cast(
|
|
643
|
-
typing.
|
|
643
|
+
typing.Any,
|
|
644
644
|
parse_obj_as(
|
|
645
|
-
type_=typing.
|
|
645
|
+
type_=typing.Any, # type: ignore
|
|
646
646
|
object_=_response.json(),
|
|
647
647
|
),
|
|
648
648
|
),
|
|
@@ -651,9 +651,9 @@ class AsyncRawIssuesClient:
|
|
|
651
651
|
raise InternalServerError(
|
|
652
652
|
headers=dict(_response.headers),
|
|
653
653
|
body=typing.cast(
|
|
654
|
-
typing.
|
|
654
|
+
typing.Any,
|
|
655
655
|
parse_obj_as(
|
|
656
|
-
type_=typing.
|
|
656
|
+
type_=typing.Any, # type: ignore
|
|
657
657
|
object_=_response.json(),
|
|
658
658
|
),
|
|
659
659
|
),
|
|
@@ -662,9 +662,9 @@ class AsyncRawIssuesClient:
|
|
|
662
662
|
raise NotImplementedError(
|
|
663
663
|
headers=dict(_response.headers),
|
|
664
664
|
body=typing.cast(
|
|
665
|
-
typing.
|
|
665
|
+
typing.Any,
|
|
666
666
|
parse_obj_as(
|
|
667
|
-
type_=typing.
|
|
667
|
+
type_=typing.Any, # type: ignore
|
|
668
668
|
object_=_response.json(),
|
|
669
669
|
),
|
|
670
670
|
),
|
|
@@ -673,9 +673,9 @@ class AsyncRawIssuesClient:
|
|
|
673
673
|
raise BadGatewayError(
|
|
674
674
|
headers=dict(_response.headers),
|
|
675
675
|
body=typing.cast(
|
|
676
|
-
typing.
|
|
676
|
+
typing.Any,
|
|
677
677
|
parse_obj_as(
|
|
678
|
-
type_=typing.
|
|
678
|
+
type_=typing.Any, # type: ignore
|
|
679
679
|
object_=_response.json(),
|
|
680
680
|
),
|
|
681
681
|
),
|
|
@@ -684,9 +684,9 @@ class AsyncRawIssuesClient:
|
|
|
684
684
|
raise ServiceUnavailableError(
|
|
685
685
|
headers=dict(_response.headers),
|
|
686
686
|
body=typing.cast(
|
|
687
|
-
typing.
|
|
687
|
+
typing.Any,
|
|
688
688
|
parse_obj_as(
|
|
689
|
-
type_=typing.
|
|
689
|
+
type_=typing.Any, # type: ignore
|
|
690
690
|
object_=_response.json(),
|
|
691
691
|
),
|
|
692
692
|
),
|
|
@@ -695,9 +695,9 @@ class AsyncRawIssuesClient:
|
|
|
695
695
|
raise GatewayTimeoutError(
|
|
696
696
|
headers=dict(_response.headers),
|
|
697
697
|
body=typing.cast(
|
|
698
|
-
typing.
|
|
698
|
+
typing.Any,
|
|
699
699
|
parse_obj_as(
|
|
700
|
-
type_=typing.
|
|
700
|
+
type_=typing.Any, # type: ignore
|
|
701
701
|
object_=_response.json(),
|
|
702
702
|
),
|
|
703
703
|
),
|
|
@@ -783,9 +783,9 @@ class AsyncRawIssuesClient:
|
|
|
783
783
|
raise UnauthorizedError(
|
|
784
784
|
headers=dict(_response.headers),
|
|
785
785
|
body=typing.cast(
|
|
786
|
-
typing.
|
|
786
|
+
typing.Any,
|
|
787
787
|
parse_obj_as(
|
|
788
|
-
type_=typing.
|
|
788
|
+
type_=typing.Any, # type: ignore
|
|
789
789
|
object_=_response.json(),
|
|
790
790
|
),
|
|
791
791
|
),
|
|
@@ -794,9 +794,9 @@ class AsyncRawIssuesClient:
|
|
|
794
794
|
raise NotFoundError(
|
|
795
795
|
headers=dict(_response.headers),
|
|
796
796
|
body=typing.cast(
|
|
797
|
-
typing.
|
|
797
|
+
typing.Any,
|
|
798
798
|
parse_obj_as(
|
|
799
|
-
type_=typing.
|
|
799
|
+
type_=typing.Any, # type: ignore
|
|
800
800
|
object_=_response.json(),
|
|
801
801
|
),
|
|
802
802
|
),
|
|
@@ -805,9 +805,9 @@ class AsyncRawIssuesClient:
|
|
|
805
805
|
raise MethodNotAllowedError(
|
|
806
806
|
headers=dict(_response.headers),
|
|
807
807
|
body=typing.cast(
|
|
808
|
-
typing.
|
|
808
|
+
typing.Any,
|
|
809
809
|
parse_obj_as(
|
|
810
|
-
type_=typing.
|
|
810
|
+
type_=typing.Any, # type: ignore
|
|
811
811
|
object_=_response.json(),
|
|
812
812
|
),
|
|
813
813
|
),
|
|
@@ -816,9 +816,9 @@ class AsyncRawIssuesClient:
|
|
|
816
816
|
raise TooManyRequestsError(
|
|
817
817
|
headers=dict(_response.headers),
|
|
818
818
|
body=typing.cast(
|
|
819
|
-
typing.
|
|
819
|
+
typing.Any,
|
|
820
820
|
parse_obj_as(
|
|
821
|
-
type_=typing.
|
|
821
|
+
type_=typing.Any, # type: ignore
|
|
822
822
|
object_=_response.json(),
|
|
823
823
|
),
|
|
824
824
|
),
|
|
@@ -827,9 +827,9 @@ class AsyncRawIssuesClient:
|
|
|
827
827
|
raise InternalServerError(
|
|
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 AsyncRawIssuesClient:
|
|
|
838
838
|
raise NotImplementedError(
|
|
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 AsyncRawIssuesClient:
|
|
|
849
849
|
raise BadGatewayError(
|
|
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 AsyncRawIssuesClient:
|
|
|
860
860
|
raise ServiceUnavailableError(
|
|
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 AsyncRawIssuesClient:
|
|
|
871
871
|
raise GatewayTimeoutError(
|
|
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
|
),
|
|
@@ -964,9 +964,9 @@ class AsyncRawIssuesClient:
|
|
|
964
964
|
raise UnauthorizedError(
|
|
965
965
|
headers=dict(_response.headers),
|
|
966
966
|
body=typing.cast(
|
|
967
|
-
typing.
|
|
967
|
+
typing.Any,
|
|
968
968
|
parse_obj_as(
|
|
969
|
-
type_=typing.
|
|
969
|
+
type_=typing.Any, # type: ignore
|
|
970
970
|
object_=_response.json(),
|
|
971
971
|
),
|
|
972
972
|
),
|
|
@@ -975,9 +975,9 @@ class AsyncRawIssuesClient:
|
|
|
975
975
|
raise NotFoundError(
|
|
976
976
|
headers=dict(_response.headers),
|
|
977
977
|
body=typing.cast(
|
|
978
|
-
typing.
|
|
978
|
+
typing.Any,
|
|
979
979
|
parse_obj_as(
|
|
980
|
-
type_=typing.
|
|
980
|
+
type_=typing.Any, # type: ignore
|
|
981
981
|
object_=_response.json(),
|
|
982
982
|
),
|
|
983
983
|
),
|
|
@@ -986,9 +986,9 @@ class AsyncRawIssuesClient:
|
|
|
986
986
|
raise MethodNotAllowedError(
|
|
987
987
|
headers=dict(_response.headers),
|
|
988
988
|
body=typing.cast(
|
|
989
|
-
typing.
|
|
989
|
+
typing.Any,
|
|
990
990
|
parse_obj_as(
|
|
991
|
-
type_=typing.
|
|
991
|
+
type_=typing.Any, # type: ignore
|
|
992
992
|
object_=_response.json(),
|
|
993
993
|
),
|
|
994
994
|
),
|
|
@@ -997,9 +997,9 @@ class AsyncRawIssuesClient:
|
|
|
997
997
|
raise TooManyRequestsError(
|
|
998
998
|
headers=dict(_response.headers),
|
|
999
999
|
body=typing.cast(
|
|
1000
|
-
typing.
|
|
1000
|
+
typing.Any,
|
|
1001
1001
|
parse_obj_as(
|
|
1002
|
-
type_=typing.
|
|
1002
|
+
type_=typing.Any, # type: ignore
|
|
1003
1003
|
object_=_response.json(),
|
|
1004
1004
|
),
|
|
1005
1005
|
),
|
|
@@ -1008,9 +1008,9 @@ class AsyncRawIssuesClient:
|
|
|
1008
1008
|
raise InternalServerError(
|
|
1009
1009
|
headers=dict(_response.headers),
|
|
1010
1010
|
body=typing.cast(
|
|
1011
|
-
typing.
|
|
1011
|
+
typing.Any,
|
|
1012
1012
|
parse_obj_as(
|
|
1013
|
-
type_=typing.
|
|
1013
|
+
type_=typing.Any, # type: ignore
|
|
1014
1014
|
object_=_response.json(),
|
|
1015
1015
|
),
|
|
1016
1016
|
),
|
|
@@ -1019,9 +1019,9 @@ class AsyncRawIssuesClient:
|
|
|
1019
1019
|
raise NotImplementedError(
|
|
1020
1020
|
headers=dict(_response.headers),
|
|
1021
1021
|
body=typing.cast(
|
|
1022
|
-
typing.
|
|
1022
|
+
typing.Any,
|
|
1023
1023
|
parse_obj_as(
|
|
1024
|
-
type_=typing.
|
|
1024
|
+
type_=typing.Any, # type: ignore
|
|
1025
1025
|
object_=_response.json(),
|
|
1026
1026
|
),
|
|
1027
1027
|
),
|
|
@@ -1030,9 +1030,9 @@ class AsyncRawIssuesClient:
|
|
|
1030
1030
|
raise BadGatewayError(
|
|
1031
1031
|
headers=dict(_response.headers),
|
|
1032
1032
|
body=typing.cast(
|
|
1033
|
-
typing.
|
|
1033
|
+
typing.Any,
|
|
1034
1034
|
parse_obj_as(
|
|
1035
|
-
type_=typing.
|
|
1035
|
+
type_=typing.Any, # type: ignore
|
|
1036
1036
|
object_=_response.json(),
|
|
1037
1037
|
),
|
|
1038
1038
|
),
|
|
@@ -1041,9 +1041,9 @@ class AsyncRawIssuesClient:
|
|
|
1041
1041
|
raise ServiceUnavailableError(
|
|
1042
1042
|
headers=dict(_response.headers),
|
|
1043
1043
|
body=typing.cast(
|
|
1044
|
-
typing.
|
|
1044
|
+
typing.Any,
|
|
1045
1045
|
parse_obj_as(
|
|
1046
|
-
type_=typing.
|
|
1046
|
+
type_=typing.Any, # type: ignore
|
|
1047
1047
|
object_=_response.json(),
|
|
1048
1048
|
),
|
|
1049
1049
|
),
|
|
@@ -1052,9 +1052,9 @@ class AsyncRawIssuesClient:
|
|
|
1052
1052
|
raise GatewayTimeoutError(
|
|
1053
1053
|
headers=dict(_response.headers),
|
|
1054
1054
|
body=typing.cast(
|
|
1055
|
-
typing.
|
|
1055
|
+
typing.Any,
|
|
1056
1056
|
parse_obj_as(
|
|
1057
|
-
type_=typing.
|
|
1057
|
+
type_=typing.Any, # type: ignore
|
|
1058
1058
|
object_=_response.json(),
|
|
1059
1059
|
),
|
|
1060
1060
|
),
|