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
samsara/alerts/raw_client.py
CHANGED
|
@@ -147,9 +147,9 @@ class RawAlertsClient:
|
|
|
147
147
|
raise UnauthorizedError(
|
|
148
148
|
headers=dict(_response.headers),
|
|
149
149
|
body=typing.cast(
|
|
150
|
-
typing.
|
|
150
|
+
typing.Any,
|
|
151
151
|
parse_obj_as(
|
|
152
|
-
type_=typing.
|
|
152
|
+
type_=typing.Any, # type: ignore
|
|
153
153
|
object_=_response.json(),
|
|
154
154
|
),
|
|
155
155
|
),
|
|
@@ -158,9 +158,9 @@ class RawAlertsClient:
|
|
|
158
158
|
raise NotFoundError(
|
|
159
159
|
headers=dict(_response.headers),
|
|
160
160
|
body=typing.cast(
|
|
161
|
-
typing.
|
|
161
|
+
typing.Any,
|
|
162
162
|
parse_obj_as(
|
|
163
|
-
type_=typing.
|
|
163
|
+
type_=typing.Any, # type: ignore
|
|
164
164
|
object_=_response.json(),
|
|
165
165
|
),
|
|
166
166
|
),
|
|
@@ -169,9 +169,9 @@ class RawAlertsClient:
|
|
|
169
169
|
raise MethodNotAllowedError(
|
|
170
170
|
headers=dict(_response.headers),
|
|
171
171
|
body=typing.cast(
|
|
172
|
-
typing.
|
|
172
|
+
typing.Any,
|
|
173
173
|
parse_obj_as(
|
|
174
|
-
type_=typing.
|
|
174
|
+
type_=typing.Any, # type: ignore
|
|
175
175
|
object_=_response.json(),
|
|
176
176
|
),
|
|
177
177
|
),
|
|
@@ -180,9 +180,9 @@ class RawAlertsClient:
|
|
|
180
180
|
raise TooManyRequestsError(
|
|
181
181
|
headers=dict(_response.headers),
|
|
182
182
|
body=typing.cast(
|
|
183
|
-
typing.
|
|
183
|
+
typing.Any,
|
|
184
184
|
parse_obj_as(
|
|
185
|
-
type_=typing.
|
|
185
|
+
type_=typing.Any, # type: ignore
|
|
186
186
|
object_=_response.json(),
|
|
187
187
|
),
|
|
188
188
|
),
|
|
@@ -191,9 +191,9 @@ class RawAlertsClient:
|
|
|
191
191
|
raise InternalServerError(
|
|
192
192
|
headers=dict(_response.headers),
|
|
193
193
|
body=typing.cast(
|
|
194
|
-
typing.
|
|
194
|
+
typing.Any,
|
|
195
195
|
parse_obj_as(
|
|
196
|
-
type_=typing.
|
|
196
|
+
type_=typing.Any, # type: ignore
|
|
197
197
|
object_=_response.json(),
|
|
198
198
|
),
|
|
199
199
|
),
|
|
@@ -202,9 +202,9 @@ class RawAlertsClient:
|
|
|
202
202
|
raise NotImplementedError(
|
|
203
203
|
headers=dict(_response.headers),
|
|
204
204
|
body=typing.cast(
|
|
205
|
-
typing.
|
|
205
|
+
typing.Any,
|
|
206
206
|
parse_obj_as(
|
|
207
|
-
type_=typing.
|
|
207
|
+
type_=typing.Any, # type: ignore
|
|
208
208
|
object_=_response.json(),
|
|
209
209
|
),
|
|
210
210
|
),
|
|
@@ -213,9 +213,9 @@ class RawAlertsClient:
|
|
|
213
213
|
raise BadGatewayError(
|
|
214
214
|
headers=dict(_response.headers),
|
|
215
215
|
body=typing.cast(
|
|
216
|
-
typing.
|
|
216
|
+
typing.Any,
|
|
217
217
|
parse_obj_as(
|
|
218
|
-
type_=typing.
|
|
218
|
+
type_=typing.Any, # type: ignore
|
|
219
219
|
object_=_response.json(),
|
|
220
220
|
),
|
|
221
221
|
),
|
|
@@ -224,9 +224,9 @@ class RawAlertsClient:
|
|
|
224
224
|
raise ServiceUnavailableError(
|
|
225
225
|
headers=dict(_response.headers),
|
|
226
226
|
body=typing.cast(
|
|
227
|
-
typing.
|
|
227
|
+
typing.Any,
|
|
228
228
|
parse_obj_as(
|
|
229
|
-
type_=typing.
|
|
229
|
+
type_=typing.Any, # type: ignore
|
|
230
230
|
object_=_response.json(),
|
|
231
231
|
),
|
|
232
232
|
),
|
|
@@ -235,9 +235,9 @@ class RawAlertsClient:
|
|
|
235
235
|
raise GatewayTimeoutError(
|
|
236
236
|
headers=dict(_response.headers),
|
|
237
237
|
body=typing.cast(
|
|
238
|
-
typing.
|
|
238
|
+
typing.Any,
|
|
239
239
|
parse_obj_as(
|
|
240
|
-
type_=typing.
|
|
240
|
+
type_=typing.Any, # type: ignore
|
|
241
241
|
object_=_response.json(),
|
|
242
242
|
),
|
|
243
243
|
),
|
|
@@ -338,9 +338,9 @@ class RawAlertsClient:
|
|
|
338
338
|
raise UnauthorizedError(
|
|
339
339
|
headers=dict(_response.headers),
|
|
340
340
|
body=typing.cast(
|
|
341
|
-
typing.
|
|
341
|
+
typing.Any,
|
|
342
342
|
parse_obj_as(
|
|
343
|
-
type_=typing.
|
|
343
|
+
type_=typing.Any, # type: ignore
|
|
344
344
|
object_=_response.json(),
|
|
345
345
|
),
|
|
346
346
|
),
|
|
@@ -349,9 +349,9 @@ class RawAlertsClient:
|
|
|
349
349
|
raise NotFoundError(
|
|
350
350
|
headers=dict(_response.headers),
|
|
351
351
|
body=typing.cast(
|
|
352
|
-
typing.
|
|
352
|
+
typing.Any,
|
|
353
353
|
parse_obj_as(
|
|
354
|
-
type_=typing.
|
|
354
|
+
type_=typing.Any, # type: ignore
|
|
355
355
|
object_=_response.json(),
|
|
356
356
|
),
|
|
357
357
|
),
|
|
@@ -360,9 +360,9 @@ class RawAlertsClient:
|
|
|
360
360
|
raise MethodNotAllowedError(
|
|
361
361
|
headers=dict(_response.headers),
|
|
362
362
|
body=typing.cast(
|
|
363
|
-
typing.
|
|
363
|
+
typing.Any,
|
|
364
364
|
parse_obj_as(
|
|
365
|
-
type_=typing.
|
|
365
|
+
type_=typing.Any, # type: ignore
|
|
366
366
|
object_=_response.json(),
|
|
367
367
|
),
|
|
368
368
|
),
|
|
@@ -371,9 +371,9 @@ class RawAlertsClient:
|
|
|
371
371
|
raise TooManyRequestsError(
|
|
372
372
|
headers=dict(_response.headers),
|
|
373
373
|
body=typing.cast(
|
|
374
|
-
typing.
|
|
374
|
+
typing.Any,
|
|
375
375
|
parse_obj_as(
|
|
376
|
-
type_=typing.
|
|
376
|
+
type_=typing.Any, # type: ignore
|
|
377
377
|
object_=_response.json(),
|
|
378
378
|
),
|
|
379
379
|
),
|
|
@@ -382,9 +382,9 @@ class RawAlertsClient:
|
|
|
382
382
|
raise InternalServerError(
|
|
383
383
|
headers=dict(_response.headers),
|
|
384
384
|
body=typing.cast(
|
|
385
|
-
typing.
|
|
385
|
+
typing.Any,
|
|
386
386
|
parse_obj_as(
|
|
387
|
-
type_=typing.
|
|
387
|
+
type_=typing.Any, # type: ignore
|
|
388
388
|
object_=_response.json(),
|
|
389
389
|
),
|
|
390
390
|
),
|
|
@@ -393,9 +393,9 @@ class RawAlertsClient:
|
|
|
393
393
|
raise NotImplementedError(
|
|
394
394
|
headers=dict(_response.headers),
|
|
395
395
|
body=typing.cast(
|
|
396
|
-
typing.
|
|
396
|
+
typing.Any,
|
|
397
397
|
parse_obj_as(
|
|
398
|
-
type_=typing.
|
|
398
|
+
type_=typing.Any, # type: ignore
|
|
399
399
|
object_=_response.json(),
|
|
400
400
|
),
|
|
401
401
|
),
|
|
@@ -404,9 +404,9 @@ class RawAlertsClient:
|
|
|
404
404
|
raise BadGatewayError(
|
|
405
405
|
headers=dict(_response.headers),
|
|
406
406
|
body=typing.cast(
|
|
407
|
-
typing.
|
|
407
|
+
typing.Any,
|
|
408
408
|
parse_obj_as(
|
|
409
|
-
type_=typing.
|
|
409
|
+
type_=typing.Any, # type: ignore
|
|
410
410
|
object_=_response.json(),
|
|
411
411
|
),
|
|
412
412
|
),
|
|
@@ -415,9 +415,9 @@ class RawAlertsClient:
|
|
|
415
415
|
raise ServiceUnavailableError(
|
|
416
416
|
headers=dict(_response.headers),
|
|
417
417
|
body=typing.cast(
|
|
418
|
-
typing.
|
|
418
|
+
typing.Any,
|
|
419
419
|
parse_obj_as(
|
|
420
|
-
type_=typing.
|
|
420
|
+
type_=typing.Any, # type: ignore
|
|
421
421
|
object_=_response.json(),
|
|
422
422
|
),
|
|
423
423
|
),
|
|
@@ -426,9 +426,9 @@ class RawAlertsClient:
|
|
|
426
426
|
raise GatewayTimeoutError(
|
|
427
427
|
headers=dict(_response.headers),
|
|
428
428
|
body=typing.cast(
|
|
429
|
-
typing.
|
|
429
|
+
typing.Any,
|
|
430
430
|
parse_obj_as(
|
|
431
|
-
type_=typing.
|
|
431
|
+
type_=typing.Any, # type: ignore
|
|
432
432
|
object_=_response.json(),
|
|
433
433
|
),
|
|
434
434
|
),
|
|
@@ -478,9 +478,9 @@ class RawAlertsClient:
|
|
|
478
478
|
raise UnauthorizedError(
|
|
479
479
|
headers=dict(_response.headers),
|
|
480
480
|
body=typing.cast(
|
|
481
|
-
typing.
|
|
481
|
+
typing.Any,
|
|
482
482
|
parse_obj_as(
|
|
483
|
-
type_=typing.
|
|
483
|
+
type_=typing.Any, # type: ignore
|
|
484
484
|
object_=_response.json(),
|
|
485
485
|
),
|
|
486
486
|
),
|
|
@@ -489,9 +489,9 @@ class RawAlertsClient:
|
|
|
489
489
|
raise NotFoundError(
|
|
490
490
|
headers=dict(_response.headers),
|
|
491
491
|
body=typing.cast(
|
|
492
|
-
typing.
|
|
492
|
+
typing.Any,
|
|
493
493
|
parse_obj_as(
|
|
494
|
-
type_=typing.
|
|
494
|
+
type_=typing.Any, # type: ignore
|
|
495
495
|
object_=_response.json(),
|
|
496
496
|
),
|
|
497
497
|
),
|
|
@@ -500,9 +500,9 @@ class RawAlertsClient:
|
|
|
500
500
|
raise MethodNotAllowedError(
|
|
501
501
|
headers=dict(_response.headers),
|
|
502
502
|
body=typing.cast(
|
|
503
|
-
typing.
|
|
503
|
+
typing.Any,
|
|
504
504
|
parse_obj_as(
|
|
505
|
-
type_=typing.
|
|
505
|
+
type_=typing.Any, # type: ignore
|
|
506
506
|
object_=_response.json(),
|
|
507
507
|
),
|
|
508
508
|
),
|
|
@@ -511,9 +511,9 @@ class RawAlertsClient:
|
|
|
511
511
|
raise TooManyRequestsError(
|
|
512
512
|
headers=dict(_response.headers),
|
|
513
513
|
body=typing.cast(
|
|
514
|
-
typing.
|
|
514
|
+
typing.Any,
|
|
515
515
|
parse_obj_as(
|
|
516
|
-
type_=typing.
|
|
516
|
+
type_=typing.Any, # type: ignore
|
|
517
517
|
object_=_response.json(),
|
|
518
518
|
),
|
|
519
519
|
),
|
|
@@ -522,9 +522,9 @@ class RawAlertsClient:
|
|
|
522
522
|
raise InternalServerError(
|
|
523
523
|
headers=dict(_response.headers),
|
|
524
524
|
body=typing.cast(
|
|
525
|
-
typing.
|
|
525
|
+
typing.Any,
|
|
526
526
|
parse_obj_as(
|
|
527
|
-
type_=typing.
|
|
527
|
+
type_=typing.Any, # type: ignore
|
|
528
528
|
object_=_response.json(),
|
|
529
529
|
),
|
|
530
530
|
),
|
|
@@ -533,9 +533,9 @@ class RawAlertsClient:
|
|
|
533
533
|
raise NotImplementedError(
|
|
534
534
|
headers=dict(_response.headers),
|
|
535
535
|
body=typing.cast(
|
|
536
|
-
typing.
|
|
536
|
+
typing.Any,
|
|
537
537
|
parse_obj_as(
|
|
538
|
-
type_=typing.
|
|
538
|
+
type_=typing.Any, # type: ignore
|
|
539
539
|
object_=_response.json(),
|
|
540
540
|
),
|
|
541
541
|
),
|
|
@@ -544,9 +544,9 @@ class RawAlertsClient:
|
|
|
544
544
|
raise BadGatewayError(
|
|
545
545
|
headers=dict(_response.headers),
|
|
546
546
|
body=typing.cast(
|
|
547
|
-
typing.
|
|
547
|
+
typing.Any,
|
|
548
548
|
parse_obj_as(
|
|
549
|
-
type_=typing.
|
|
549
|
+
type_=typing.Any, # type: ignore
|
|
550
550
|
object_=_response.json(),
|
|
551
551
|
),
|
|
552
552
|
),
|
|
@@ -555,9 +555,9 @@ class RawAlertsClient:
|
|
|
555
555
|
raise ServiceUnavailableError(
|
|
556
556
|
headers=dict(_response.headers),
|
|
557
557
|
body=typing.cast(
|
|
558
|
-
typing.
|
|
558
|
+
typing.Any,
|
|
559
559
|
parse_obj_as(
|
|
560
|
-
type_=typing.
|
|
560
|
+
type_=typing.Any, # type: ignore
|
|
561
561
|
object_=_response.json(),
|
|
562
562
|
),
|
|
563
563
|
),
|
|
@@ -566,9 +566,9 @@ class RawAlertsClient:
|
|
|
566
566
|
raise GatewayTimeoutError(
|
|
567
567
|
headers=dict(_response.headers),
|
|
568
568
|
body=typing.cast(
|
|
569
|
-
typing.
|
|
569
|
+
typing.Any,
|
|
570
570
|
parse_obj_as(
|
|
571
|
-
type_=typing.
|
|
571
|
+
type_=typing.Any, # type: ignore
|
|
572
572
|
object_=_response.json(),
|
|
573
573
|
),
|
|
574
574
|
),
|
|
@@ -674,9 +674,9 @@ class RawAlertsClient:
|
|
|
674
674
|
raise UnauthorizedError(
|
|
675
675
|
headers=dict(_response.headers),
|
|
676
676
|
body=typing.cast(
|
|
677
|
-
typing.
|
|
677
|
+
typing.Any,
|
|
678
678
|
parse_obj_as(
|
|
679
|
-
type_=typing.
|
|
679
|
+
type_=typing.Any, # type: ignore
|
|
680
680
|
object_=_response.json(),
|
|
681
681
|
),
|
|
682
682
|
),
|
|
@@ -685,9 +685,9 @@ class RawAlertsClient:
|
|
|
685
685
|
raise NotFoundError(
|
|
686
686
|
headers=dict(_response.headers),
|
|
687
687
|
body=typing.cast(
|
|
688
|
-
typing.
|
|
688
|
+
typing.Any,
|
|
689
689
|
parse_obj_as(
|
|
690
|
-
type_=typing.
|
|
690
|
+
type_=typing.Any, # type: ignore
|
|
691
691
|
object_=_response.json(),
|
|
692
692
|
),
|
|
693
693
|
),
|
|
@@ -696,9 +696,9 @@ class RawAlertsClient:
|
|
|
696
696
|
raise MethodNotAllowedError(
|
|
697
697
|
headers=dict(_response.headers),
|
|
698
698
|
body=typing.cast(
|
|
699
|
-
typing.
|
|
699
|
+
typing.Any,
|
|
700
700
|
parse_obj_as(
|
|
701
|
-
type_=typing.
|
|
701
|
+
type_=typing.Any, # type: ignore
|
|
702
702
|
object_=_response.json(),
|
|
703
703
|
),
|
|
704
704
|
),
|
|
@@ -707,9 +707,9 @@ class RawAlertsClient:
|
|
|
707
707
|
raise TooManyRequestsError(
|
|
708
708
|
headers=dict(_response.headers),
|
|
709
709
|
body=typing.cast(
|
|
710
|
-
typing.
|
|
710
|
+
typing.Any,
|
|
711
711
|
parse_obj_as(
|
|
712
|
-
type_=typing.
|
|
712
|
+
type_=typing.Any, # type: ignore
|
|
713
713
|
object_=_response.json(),
|
|
714
714
|
),
|
|
715
715
|
),
|
|
@@ -718,9 +718,9 @@ class RawAlertsClient:
|
|
|
718
718
|
raise InternalServerError(
|
|
719
719
|
headers=dict(_response.headers),
|
|
720
720
|
body=typing.cast(
|
|
721
|
-
typing.
|
|
721
|
+
typing.Any,
|
|
722
722
|
parse_obj_as(
|
|
723
|
-
type_=typing.
|
|
723
|
+
type_=typing.Any, # type: ignore
|
|
724
724
|
object_=_response.json(),
|
|
725
725
|
),
|
|
726
726
|
),
|
|
@@ -729,9 +729,9 @@ class RawAlertsClient:
|
|
|
729
729
|
raise NotImplementedError(
|
|
730
730
|
headers=dict(_response.headers),
|
|
731
731
|
body=typing.cast(
|
|
732
|
-
typing.
|
|
732
|
+
typing.Any,
|
|
733
733
|
parse_obj_as(
|
|
734
|
-
type_=typing.
|
|
734
|
+
type_=typing.Any, # type: ignore
|
|
735
735
|
object_=_response.json(),
|
|
736
736
|
),
|
|
737
737
|
),
|
|
@@ -740,9 +740,9 @@ class RawAlertsClient:
|
|
|
740
740
|
raise BadGatewayError(
|
|
741
741
|
headers=dict(_response.headers),
|
|
742
742
|
body=typing.cast(
|
|
743
|
-
typing.
|
|
743
|
+
typing.Any,
|
|
744
744
|
parse_obj_as(
|
|
745
|
-
type_=typing.
|
|
745
|
+
type_=typing.Any, # type: ignore
|
|
746
746
|
object_=_response.json(),
|
|
747
747
|
),
|
|
748
748
|
),
|
|
@@ -751,9 +751,9 @@ class RawAlertsClient:
|
|
|
751
751
|
raise ServiceUnavailableError(
|
|
752
752
|
headers=dict(_response.headers),
|
|
753
753
|
body=typing.cast(
|
|
754
|
-
typing.
|
|
754
|
+
typing.Any,
|
|
755
755
|
parse_obj_as(
|
|
756
|
-
type_=typing.
|
|
756
|
+
type_=typing.Any, # type: ignore
|
|
757
757
|
object_=_response.json(),
|
|
758
758
|
),
|
|
759
759
|
),
|
|
@@ -762,9 +762,9 @@ class RawAlertsClient:
|
|
|
762
762
|
raise GatewayTimeoutError(
|
|
763
763
|
headers=dict(_response.headers),
|
|
764
764
|
body=typing.cast(
|
|
765
|
-
typing.
|
|
765
|
+
typing.Any,
|
|
766
766
|
parse_obj_as(
|
|
767
|
-
type_=typing.
|
|
767
|
+
type_=typing.Any, # type: ignore
|
|
768
768
|
object_=_response.json(),
|
|
769
769
|
),
|
|
770
770
|
),
|
|
@@ -840,9 +840,9 @@ class RawAlertsClient:
|
|
|
840
840
|
raise UnauthorizedError(
|
|
841
841
|
headers=dict(_response.headers),
|
|
842
842
|
body=typing.cast(
|
|
843
|
-
typing.
|
|
843
|
+
typing.Any,
|
|
844
844
|
parse_obj_as(
|
|
845
|
-
type_=typing.
|
|
845
|
+
type_=typing.Any, # type: ignore
|
|
846
846
|
object_=_response.json(),
|
|
847
847
|
),
|
|
848
848
|
),
|
|
@@ -851,9 +851,9 @@ class RawAlertsClient:
|
|
|
851
851
|
raise NotFoundError(
|
|
852
852
|
headers=dict(_response.headers),
|
|
853
853
|
body=typing.cast(
|
|
854
|
-
typing.
|
|
854
|
+
typing.Any,
|
|
855
855
|
parse_obj_as(
|
|
856
|
-
type_=typing.
|
|
856
|
+
type_=typing.Any, # type: ignore
|
|
857
857
|
object_=_response.json(),
|
|
858
858
|
),
|
|
859
859
|
),
|
|
@@ -862,9 +862,9 @@ class RawAlertsClient:
|
|
|
862
862
|
raise MethodNotAllowedError(
|
|
863
863
|
headers=dict(_response.headers),
|
|
864
864
|
body=typing.cast(
|
|
865
|
-
typing.
|
|
865
|
+
typing.Any,
|
|
866
866
|
parse_obj_as(
|
|
867
|
-
type_=typing.
|
|
867
|
+
type_=typing.Any, # type: ignore
|
|
868
868
|
object_=_response.json(),
|
|
869
869
|
),
|
|
870
870
|
),
|
|
@@ -873,9 +873,9 @@ class RawAlertsClient:
|
|
|
873
873
|
raise TooManyRequestsError(
|
|
874
874
|
headers=dict(_response.headers),
|
|
875
875
|
body=typing.cast(
|
|
876
|
-
typing.
|
|
876
|
+
typing.Any,
|
|
877
877
|
parse_obj_as(
|
|
878
|
-
type_=typing.
|
|
878
|
+
type_=typing.Any, # type: ignore
|
|
879
879
|
object_=_response.json(),
|
|
880
880
|
),
|
|
881
881
|
),
|
|
@@ -884,9 +884,9 @@ class RawAlertsClient:
|
|
|
884
884
|
raise InternalServerError(
|
|
885
885
|
headers=dict(_response.headers),
|
|
886
886
|
body=typing.cast(
|
|
887
|
-
typing.
|
|
887
|
+
typing.Any,
|
|
888
888
|
parse_obj_as(
|
|
889
|
-
type_=typing.
|
|
889
|
+
type_=typing.Any, # type: ignore
|
|
890
890
|
object_=_response.json(),
|
|
891
891
|
),
|
|
892
892
|
),
|
|
@@ -895,9 +895,9 @@ class RawAlertsClient:
|
|
|
895
895
|
raise NotImplementedError(
|
|
896
896
|
headers=dict(_response.headers),
|
|
897
897
|
body=typing.cast(
|
|
898
|
-
typing.
|
|
898
|
+
typing.Any,
|
|
899
899
|
parse_obj_as(
|
|
900
|
-
type_=typing.
|
|
900
|
+
type_=typing.Any, # type: ignore
|
|
901
901
|
object_=_response.json(),
|
|
902
902
|
),
|
|
903
903
|
),
|
|
@@ -906,9 +906,9 @@ class RawAlertsClient:
|
|
|
906
906
|
raise BadGatewayError(
|
|
907
907
|
headers=dict(_response.headers),
|
|
908
908
|
body=typing.cast(
|
|
909
|
-
typing.
|
|
909
|
+
typing.Any,
|
|
910
910
|
parse_obj_as(
|
|
911
|
-
type_=typing.
|
|
911
|
+
type_=typing.Any, # type: ignore
|
|
912
912
|
object_=_response.json(),
|
|
913
913
|
),
|
|
914
914
|
),
|
|
@@ -917,9 +917,9 @@ class RawAlertsClient:
|
|
|
917
917
|
raise ServiceUnavailableError(
|
|
918
918
|
headers=dict(_response.headers),
|
|
919
919
|
body=typing.cast(
|
|
920
|
-
typing.
|
|
920
|
+
typing.Any,
|
|
921
921
|
parse_obj_as(
|
|
922
|
-
type_=typing.
|
|
922
|
+
type_=typing.Any, # type: ignore
|
|
923
923
|
object_=_response.json(),
|
|
924
924
|
),
|
|
925
925
|
),
|
|
@@ -928,9 +928,9 @@ class RawAlertsClient:
|
|
|
928
928
|
raise GatewayTimeoutError(
|
|
929
929
|
headers=dict(_response.headers),
|
|
930
930
|
body=typing.cast(
|
|
931
|
-
typing.
|
|
931
|
+
typing.Any,
|
|
932
932
|
parse_obj_as(
|
|
933
|
-
type_=typing.
|
|
933
|
+
type_=typing.Any, # type: ignore
|
|
934
934
|
object_=_response.json(),
|
|
935
935
|
),
|
|
936
936
|
),
|
|
@@ -1056,9 +1056,9 @@ class AsyncRawAlertsClient:
|
|
|
1056
1056
|
raise UnauthorizedError(
|
|
1057
1057
|
headers=dict(_response.headers),
|
|
1058
1058
|
body=typing.cast(
|
|
1059
|
-
typing.
|
|
1059
|
+
typing.Any,
|
|
1060
1060
|
parse_obj_as(
|
|
1061
|
-
type_=typing.
|
|
1061
|
+
type_=typing.Any, # type: ignore
|
|
1062
1062
|
object_=_response.json(),
|
|
1063
1063
|
),
|
|
1064
1064
|
),
|
|
@@ -1067,9 +1067,9 @@ class AsyncRawAlertsClient:
|
|
|
1067
1067
|
raise NotFoundError(
|
|
1068
1068
|
headers=dict(_response.headers),
|
|
1069
1069
|
body=typing.cast(
|
|
1070
|
-
typing.
|
|
1070
|
+
typing.Any,
|
|
1071
1071
|
parse_obj_as(
|
|
1072
|
-
type_=typing.
|
|
1072
|
+
type_=typing.Any, # type: ignore
|
|
1073
1073
|
object_=_response.json(),
|
|
1074
1074
|
),
|
|
1075
1075
|
),
|
|
@@ -1078,9 +1078,9 @@ class AsyncRawAlertsClient:
|
|
|
1078
1078
|
raise MethodNotAllowedError(
|
|
1079
1079
|
headers=dict(_response.headers),
|
|
1080
1080
|
body=typing.cast(
|
|
1081
|
-
typing.
|
|
1081
|
+
typing.Any,
|
|
1082
1082
|
parse_obj_as(
|
|
1083
|
-
type_=typing.
|
|
1083
|
+
type_=typing.Any, # type: ignore
|
|
1084
1084
|
object_=_response.json(),
|
|
1085
1085
|
),
|
|
1086
1086
|
),
|
|
@@ -1089,9 +1089,9 @@ class AsyncRawAlertsClient:
|
|
|
1089
1089
|
raise TooManyRequestsError(
|
|
1090
1090
|
headers=dict(_response.headers),
|
|
1091
1091
|
body=typing.cast(
|
|
1092
|
-
typing.
|
|
1092
|
+
typing.Any,
|
|
1093
1093
|
parse_obj_as(
|
|
1094
|
-
type_=typing.
|
|
1094
|
+
type_=typing.Any, # type: ignore
|
|
1095
1095
|
object_=_response.json(),
|
|
1096
1096
|
),
|
|
1097
1097
|
),
|
|
@@ -1100,9 +1100,9 @@ class AsyncRawAlertsClient:
|
|
|
1100
1100
|
raise InternalServerError(
|
|
1101
1101
|
headers=dict(_response.headers),
|
|
1102
1102
|
body=typing.cast(
|
|
1103
|
-
typing.
|
|
1103
|
+
typing.Any,
|
|
1104
1104
|
parse_obj_as(
|
|
1105
|
-
type_=typing.
|
|
1105
|
+
type_=typing.Any, # type: ignore
|
|
1106
1106
|
object_=_response.json(),
|
|
1107
1107
|
),
|
|
1108
1108
|
),
|
|
@@ -1111,9 +1111,9 @@ class AsyncRawAlertsClient:
|
|
|
1111
1111
|
raise NotImplementedError(
|
|
1112
1112
|
headers=dict(_response.headers),
|
|
1113
1113
|
body=typing.cast(
|
|
1114
|
-
typing.
|
|
1114
|
+
typing.Any,
|
|
1115
1115
|
parse_obj_as(
|
|
1116
|
-
type_=typing.
|
|
1116
|
+
type_=typing.Any, # type: ignore
|
|
1117
1117
|
object_=_response.json(),
|
|
1118
1118
|
),
|
|
1119
1119
|
),
|
|
@@ -1122,9 +1122,9 @@ class AsyncRawAlertsClient:
|
|
|
1122
1122
|
raise BadGatewayError(
|
|
1123
1123
|
headers=dict(_response.headers),
|
|
1124
1124
|
body=typing.cast(
|
|
1125
|
-
typing.
|
|
1125
|
+
typing.Any,
|
|
1126
1126
|
parse_obj_as(
|
|
1127
|
-
type_=typing.
|
|
1127
|
+
type_=typing.Any, # type: ignore
|
|
1128
1128
|
object_=_response.json(),
|
|
1129
1129
|
),
|
|
1130
1130
|
),
|
|
@@ -1133,9 +1133,9 @@ class AsyncRawAlertsClient:
|
|
|
1133
1133
|
raise ServiceUnavailableError(
|
|
1134
1134
|
headers=dict(_response.headers),
|
|
1135
1135
|
body=typing.cast(
|
|
1136
|
-
typing.
|
|
1136
|
+
typing.Any,
|
|
1137
1137
|
parse_obj_as(
|
|
1138
|
-
type_=typing.
|
|
1138
|
+
type_=typing.Any, # type: ignore
|
|
1139
1139
|
object_=_response.json(),
|
|
1140
1140
|
),
|
|
1141
1141
|
),
|
|
@@ -1144,9 +1144,9 @@ class AsyncRawAlertsClient:
|
|
|
1144
1144
|
raise GatewayTimeoutError(
|
|
1145
1145
|
headers=dict(_response.headers),
|
|
1146
1146
|
body=typing.cast(
|
|
1147
|
-
typing.
|
|
1147
|
+
typing.Any,
|
|
1148
1148
|
parse_obj_as(
|
|
1149
|
-
type_=typing.
|
|
1149
|
+
type_=typing.Any, # type: ignore
|
|
1150
1150
|
object_=_response.json(),
|
|
1151
1151
|
),
|
|
1152
1152
|
),
|
|
@@ -1247,9 +1247,9 @@ class AsyncRawAlertsClient:
|
|
|
1247
1247
|
raise UnauthorizedError(
|
|
1248
1248
|
headers=dict(_response.headers),
|
|
1249
1249
|
body=typing.cast(
|
|
1250
|
-
typing.
|
|
1250
|
+
typing.Any,
|
|
1251
1251
|
parse_obj_as(
|
|
1252
|
-
type_=typing.
|
|
1252
|
+
type_=typing.Any, # type: ignore
|
|
1253
1253
|
object_=_response.json(),
|
|
1254
1254
|
),
|
|
1255
1255
|
),
|
|
@@ -1258,9 +1258,9 @@ class AsyncRawAlertsClient:
|
|
|
1258
1258
|
raise NotFoundError(
|
|
1259
1259
|
headers=dict(_response.headers),
|
|
1260
1260
|
body=typing.cast(
|
|
1261
|
-
typing.
|
|
1261
|
+
typing.Any,
|
|
1262
1262
|
parse_obj_as(
|
|
1263
|
-
type_=typing.
|
|
1263
|
+
type_=typing.Any, # type: ignore
|
|
1264
1264
|
object_=_response.json(),
|
|
1265
1265
|
),
|
|
1266
1266
|
),
|
|
@@ -1269,9 +1269,9 @@ class AsyncRawAlertsClient:
|
|
|
1269
1269
|
raise MethodNotAllowedError(
|
|
1270
1270
|
headers=dict(_response.headers),
|
|
1271
1271
|
body=typing.cast(
|
|
1272
|
-
typing.
|
|
1272
|
+
typing.Any,
|
|
1273
1273
|
parse_obj_as(
|
|
1274
|
-
type_=typing.
|
|
1274
|
+
type_=typing.Any, # type: ignore
|
|
1275
1275
|
object_=_response.json(),
|
|
1276
1276
|
),
|
|
1277
1277
|
),
|
|
@@ -1280,9 +1280,9 @@ class AsyncRawAlertsClient:
|
|
|
1280
1280
|
raise TooManyRequestsError(
|
|
1281
1281
|
headers=dict(_response.headers),
|
|
1282
1282
|
body=typing.cast(
|
|
1283
|
-
typing.
|
|
1283
|
+
typing.Any,
|
|
1284
1284
|
parse_obj_as(
|
|
1285
|
-
type_=typing.
|
|
1285
|
+
type_=typing.Any, # type: ignore
|
|
1286
1286
|
object_=_response.json(),
|
|
1287
1287
|
),
|
|
1288
1288
|
),
|
|
@@ -1291,9 +1291,9 @@ class AsyncRawAlertsClient:
|
|
|
1291
1291
|
raise InternalServerError(
|
|
1292
1292
|
headers=dict(_response.headers),
|
|
1293
1293
|
body=typing.cast(
|
|
1294
|
-
typing.
|
|
1294
|
+
typing.Any,
|
|
1295
1295
|
parse_obj_as(
|
|
1296
|
-
type_=typing.
|
|
1296
|
+
type_=typing.Any, # type: ignore
|
|
1297
1297
|
object_=_response.json(),
|
|
1298
1298
|
),
|
|
1299
1299
|
),
|
|
@@ -1302,9 +1302,9 @@ class AsyncRawAlertsClient:
|
|
|
1302
1302
|
raise NotImplementedError(
|
|
1303
1303
|
headers=dict(_response.headers),
|
|
1304
1304
|
body=typing.cast(
|
|
1305
|
-
typing.
|
|
1305
|
+
typing.Any,
|
|
1306
1306
|
parse_obj_as(
|
|
1307
|
-
type_=typing.
|
|
1307
|
+
type_=typing.Any, # type: ignore
|
|
1308
1308
|
object_=_response.json(),
|
|
1309
1309
|
),
|
|
1310
1310
|
),
|
|
@@ -1313,9 +1313,9 @@ class AsyncRawAlertsClient:
|
|
|
1313
1313
|
raise BadGatewayError(
|
|
1314
1314
|
headers=dict(_response.headers),
|
|
1315
1315
|
body=typing.cast(
|
|
1316
|
-
typing.
|
|
1316
|
+
typing.Any,
|
|
1317
1317
|
parse_obj_as(
|
|
1318
|
-
type_=typing.
|
|
1318
|
+
type_=typing.Any, # type: ignore
|
|
1319
1319
|
object_=_response.json(),
|
|
1320
1320
|
),
|
|
1321
1321
|
),
|
|
@@ -1324,9 +1324,9 @@ class AsyncRawAlertsClient:
|
|
|
1324
1324
|
raise ServiceUnavailableError(
|
|
1325
1325
|
headers=dict(_response.headers),
|
|
1326
1326
|
body=typing.cast(
|
|
1327
|
-
typing.
|
|
1327
|
+
typing.Any,
|
|
1328
1328
|
parse_obj_as(
|
|
1329
|
-
type_=typing.
|
|
1329
|
+
type_=typing.Any, # type: ignore
|
|
1330
1330
|
object_=_response.json(),
|
|
1331
1331
|
),
|
|
1332
1332
|
),
|
|
@@ -1335,9 +1335,9 @@ class AsyncRawAlertsClient:
|
|
|
1335
1335
|
raise GatewayTimeoutError(
|
|
1336
1336
|
headers=dict(_response.headers),
|
|
1337
1337
|
body=typing.cast(
|
|
1338
|
-
typing.
|
|
1338
|
+
typing.Any,
|
|
1339
1339
|
parse_obj_as(
|
|
1340
|
-
type_=typing.
|
|
1340
|
+
type_=typing.Any, # type: ignore
|
|
1341
1341
|
object_=_response.json(),
|
|
1342
1342
|
),
|
|
1343
1343
|
),
|
|
@@ -1387,9 +1387,9 @@ class AsyncRawAlertsClient:
|
|
|
1387
1387
|
raise UnauthorizedError(
|
|
1388
1388
|
headers=dict(_response.headers),
|
|
1389
1389
|
body=typing.cast(
|
|
1390
|
-
typing.
|
|
1390
|
+
typing.Any,
|
|
1391
1391
|
parse_obj_as(
|
|
1392
|
-
type_=typing.
|
|
1392
|
+
type_=typing.Any, # type: ignore
|
|
1393
1393
|
object_=_response.json(),
|
|
1394
1394
|
),
|
|
1395
1395
|
),
|
|
@@ -1398,9 +1398,9 @@ class AsyncRawAlertsClient:
|
|
|
1398
1398
|
raise NotFoundError(
|
|
1399
1399
|
headers=dict(_response.headers),
|
|
1400
1400
|
body=typing.cast(
|
|
1401
|
-
typing.
|
|
1401
|
+
typing.Any,
|
|
1402
1402
|
parse_obj_as(
|
|
1403
|
-
type_=typing.
|
|
1403
|
+
type_=typing.Any, # type: ignore
|
|
1404
1404
|
object_=_response.json(),
|
|
1405
1405
|
),
|
|
1406
1406
|
),
|
|
@@ -1409,9 +1409,9 @@ class AsyncRawAlertsClient:
|
|
|
1409
1409
|
raise MethodNotAllowedError(
|
|
1410
1410
|
headers=dict(_response.headers),
|
|
1411
1411
|
body=typing.cast(
|
|
1412
|
-
typing.
|
|
1412
|
+
typing.Any,
|
|
1413
1413
|
parse_obj_as(
|
|
1414
|
-
type_=typing.
|
|
1414
|
+
type_=typing.Any, # type: ignore
|
|
1415
1415
|
object_=_response.json(),
|
|
1416
1416
|
),
|
|
1417
1417
|
),
|
|
@@ -1420,9 +1420,9 @@ class AsyncRawAlertsClient:
|
|
|
1420
1420
|
raise TooManyRequestsError(
|
|
1421
1421
|
headers=dict(_response.headers),
|
|
1422
1422
|
body=typing.cast(
|
|
1423
|
-
typing.
|
|
1423
|
+
typing.Any,
|
|
1424
1424
|
parse_obj_as(
|
|
1425
|
-
type_=typing.
|
|
1425
|
+
type_=typing.Any, # type: ignore
|
|
1426
1426
|
object_=_response.json(),
|
|
1427
1427
|
),
|
|
1428
1428
|
),
|
|
@@ -1431,9 +1431,9 @@ class AsyncRawAlertsClient:
|
|
|
1431
1431
|
raise InternalServerError(
|
|
1432
1432
|
headers=dict(_response.headers),
|
|
1433
1433
|
body=typing.cast(
|
|
1434
|
-
typing.
|
|
1434
|
+
typing.Any,
|
|
1435
1435
|
parse_obj_as(
|
|
1436
|
-
type_=typing.
|
|
1436
|
+
type_=typing.Any, # type: ignore
|
|
1437
1437
|
object_=_response.json(),
|
|
1438
1438
|
),
|
|
1439
1439
|
),
|
|
@@ -1442,9 +1442,9 @@ class AsyncRawAlertsClient:
|
|
|
1442
1442
|
raise NotImplementedError(
|
|
1443
1443
|
headers=dict(_response.headers),
|
|
1444
1444
|
body=typing.cast(
|
|
1445
|
-
typing.
|
|
1445
|
+
typing.Any,
|
|
1446
1446
|
parse_obj_as(
|
|
1447
|
-
type_=typing.
|
|
1447
|
+
type_=typing.Any, # type: ignore
|
|
1448
1448
|
object_=_response.json(),
|
|
1449
1449
|
),
|
|
1450
1450
|
),
|
|
@@ -1453,9 +1453,9 @@ class AsyncRawAlertsClient:
|
|
|
1453
1453
|
raise BadGatewayError(
|
|
1454
1454
|
headers=dict(_response.headers),
|
|
1455
1455
|
body=typing.cast(
|
|
1456
|
-
typing.
|
|
1456
|
+
typing.Any,
|
|
1457
1457
|
parse_obj_as(
|
|
1458
|
-
type_=typing.
|
|
1458
|
+
type_=typing.Any, # type: ignore
|
|
1459
1459
|
object_=_response.json(),
|
|
1460
1460
|
),
|
|
1461
1461
|
),
|
|
@@ -1464,9 +1464,9 @@ class AsyncRawAlertsClient:
|
|
|
1464
1464
|
raise ServiceUnavailableError(
|
|
1465
1465
|
headers=dict(_response.headers),
|
|
1466
1466
|
body=typing.cast(
|
|
1467
|
-
typing.
|
|
1467
|
+
typing.Any,
|
|
1468
1468
|
parse_obj_as(
|
|
1469
|
-
type_=typing.
|
|
1469
|
+
type_=typing.Any, # type: ignore
|
|
1470
1470
|
object_=_response.json(),
|
|
1471
1471
|
),
|
|
1472
1472
|
),
|
|
@@ -1475,9 +1475,9 @@ class AsyncRawAlertsClient:
|
|
|
1475
1475
|
raise GatewayTimeoutError(
|
|
1476
1476
|
headers=dict(_response.headers),
|
|
1477
1477
|
body=typing.cast(
|
|
1478
|
-
typing.
|
|
1478
|
+
typing.Any,
|
|
1479
1479
|
parse_obj_as(
|
|
1480
|
-
type_=typing.
|
|
1480
|
+
type_=typing.Any, # type: ignore
|
|
1481
1481
|
object_=_response.json(),
|
|
1482
1482
|
),
|
|
1483
1483
|
),
|
|
@@ -1583,9 +1583,9 @@ class AsyncRawAlertsClient:
|
|
|
1583
1583
|
raise UnauthorizedError(
|
|
1584
1584
|
headers=dict(_response.headers),
|
|
1585
1585
|
body=typing.cast(
|
|
1586
|
-
typing.
|
|
1586
|
+
typing.Any,
|
|
1587
1587
|
parse_obj_as(
|
|
1588
|
-
type_=typing.
|
|
1588
|
+
type_=typing.Any, # type: ignore
|
|
1589
1589
|
object_=_response.json(),
|
|
1590
1590
|
),
|
|
1591
1591
|
),
|
|
@@ -1594,9 +1594,9 @@ class AsyncRawAlertsClient:
|
|
|
1594
1594
|
raise NotFoundError(
|
|
1595
1595
|
headers=dict(_response.headers),
|
|
1596
1596
|
body=typing.cast(
|
|
1597
|
-
typing.
|
|
1597
|
+
typing.Any,
|
|
1598
1598
|
parse_obj_as(
|
|
1599
|
-
type_=typing.
|
|
1599
|
+
type_=typing.Any, # type: ignore
|
|
1600
1600
|
object_=_response.json(),
|
|
1601
1601
|
),
|
|
1602
1602
|
),
|
|
@@ -1605,9 +1605,9 @@ class AsyncRawAlertsClient:
|
|
|
1605
1605
|
raise MethodNotAllowedError(
|
|
1606
1606
|
headers=dict(_response.headers),
|
|
1607
1607
|
body=typing.cast(
|
|
1608
|
-
typing.
|
|
1608
|
+
typing.Any,
|
|
1609
1609
|
parse_obj_as(
|
|
1610
|
-
type_=typing.
|
|
1610
|
+
type_=typing.Any, # type: ignore
|
|
1611
1611
|
object_=_response.json(),
|
|
1612
1612
|
),
|
|
1613
1613
|
),
|
|
@@ -1616,9 +1616,9 @@ class AsyncRawAlertsClient:
|
|
|
1616
1616
|
raise TooManyRequestsError(
|
|
1617
1617
|
headers=dict(_response.headers),
|
|
1618
1618
|
body=typing.cast(
|
|
1619
|
-
typing.
|
|
1619
|
+
typing.Any,
|
|
1620
1620
|
parse_obj_as(
|
|
1621
|
-
type_=typing.
|
|
1621
|
+
type_=typing.Any, # type: ignore
|
|
1622
1622
|
object_=_response.json(),
|
|
1623
1623
|
),
|
|
1624
1624
|
),
|
|
@@ -1627,9 +1627,9 @@ class AsyncRawAlertsClient:
|
|
|
1627
1627
|
raise InternalServerError(
|
|
1628
1628
|
headers=dict(_response.headers),
|
|
1629
1629
|
body=typing.cast(
|
|
1630
|
-
typing.
|
|
1630
|
+
typing.Any,
|
|
1631
1631
|
parse_obj_as(
|
|
1632
|
-
type_=typing.
|
|
1632
|
+
type_=typing.Any, # type: ignore
|
|
1633
1633
|
object_=_response.json(),
|
|
1634
1634
|
),
|
|
1635
1635
|
),
|
|
@@ -1638,9 +1638,9 @@ class AsyncRawAlertsClient:
|
|
|
1638
1638
|
raise NotImplementedError(
|
|
1639
1639
|
headers=dict(_response.headers),
|
|
1640
1640
|
body=typing.cast(
|
|
1641
|
-
typing.
|
|
1641
|
+
typing.Any,
|
|
1642
1642
|
parse_obj_as(
|
|
1643
|
-
type_=typing.
|
|
1643
|
+
type_=typing.Any, # type: ignore
|
|
1644
1644
|
object_=_response.json(),
|
|
1645
1645
|
),
|
|
1646
1646
|
),
|
|
@@ -1649,9 +1649,9 @@ class AsyncRawAlertsClient:
|
|
|
1649
1649
|
raise BadGatewayError(
|
|
1650
1650
|
headers=dict(_response.headers),
|
|
1651
1651
|
body=typing.cast(
|
|
1652
|
-
typing.
|
|
1652
|
+
typing.Any,
|
|
1653
1653
|
parse_obj_as(
|
|
1654
|
-
type_=typing.
|
|
1654
|
+
type_=typing.Any, # type: ignore
|
|
1655
1655
|
object_=_response.json(),
|
|
1656
1656
|
),
|
|
1657
1657
|
),
|
|
@@ -1660,9 +1660,9 @@ class AsyncRawAlertsClient:
|
|
|
1660
1660
|
raise ServiceUnavailableError(
|
|
1661
1661
|
headers=dict(_response.headers),
|
|
1662
1662
|
body=typing.cast(
|
|
1663
|
-
typing.
|
|
1663
|
+
typing.Any,
|
|
1664
1664
|
parse_obj_as(
|
|
1665
|
-
type_=typing.
|
|
1665
|
+
type_=typing.Any, # type: ignore
|
|
1666
1666
|
object_=_response.json(),
|
|
1667
1667
|
),
|
|
1668
1668
|
),
|
|
@@ -1671,9 +1671,9 @@ class AsyncRawAlertsClient:
|
|
|
1671
1671
|
raise GatewayTimeoutError(
|
|
1672
1672
|
headers=dict(_response.headers),
|
|
1673
1673
|
body=typing.cast(
|
|
1674
|
-
typing.
|
|
1674
|
+
typing.Any,
|
|
1675
1675
|
parse_obj_as(
|
|
1676
|
-
type_=typing.
|
|
1676
|
+
type_=typing.Any, # type: ignore
|
|
1677
1677
|
object_=_response.json(),
|
|
1678
1678
|
),
|
|
1679
1679
|
),
|
|
@@ -1749,9 +1749,9 @@ class AsyncRawAlertsClient:
|
|
|
1749
1749
|
raise UnauthorizedError(
|
|
1750
1750
|
headers=dict(_response.headers),
|
|
1751
1751
|
body=typing.cast(
|
|
1752
|
-
typing.
|
|
1752
|
+
typing.Any,
|
|
1753
1753
|
parse_obj_as(
|
|
1754
|
-
type_=typing.
|
|
1754
|
+
type_=typing.Any, # type: ignore
|
|
1755
1755
|
object_=_response.json(),
|
|
1756
1756
|
),
|
|
1757
1757
|
),
|
|
@@ -1760,9 +1760,9 @@ class AsyncRawAlertsClient:
|
|
|
1760
1760
|
raise NotFoundError(
|
|
1761
1761
|
headers=dict(_response.headers),
|
|
1762
1762
|
body=typing.cast(
|
|
1763
|
-
typing.
|
|
1763
|
+
typing.Any,
|
|
1764
1764
|
parse_obj_as(
|
|
1765
|
-
type_=typing.
|
|
1765
|
+
type_=typing.Any, # type: ignore
|
|
1766
1766
|
object_=_response.json(),
|
|
1767
1767
|
),
|
|
1768
1768
|
),
|
|
@@ -1771,9 +1771,9 @@ class AsyncRawAlertsClient:
|
|
|
1771
1771
|
raise MethodNotAllowedError(
|
|
1772
1772
|
headers=dict(_response.headers),
|
|
1773
1773
|
body=typing.cast(
|
|
1774
|
-
typing.
|
|
1774
|
+
typing.Any,
|
|
1775
1775
|
parse_obj_as(
|
|
1776
|
-
type_=typing.
|
|
1776
|
+
type_=typing.Any, # type: ignore
|
|
1777
1777
|
object_=_response.json(),
|
|
1778
1778
|
),
|
|
1779
1779
|
),
|
|
@@ -1782,9 +1782,9 @@ class AsyncRawAlertsClient:
|
|
|
1782
1782
|
raise TooManyRequestsError(
|
|
1783
1783
|
headers=dict(_response.headers),
|
|
1784
1784
|
body=typing.cast(
|
|
1785
|
-
typing.
|
|
1785
|
+
typing.Any,
|
|
1786
1786
|
parse_obj_as(
|
|
1787
|
-
type_=typing.
|
|
1787
|
+
type_=typing.Any, # type: ignore
|
|
1788
1788
|
object_=_response.json(),
|
|
1789
1789
|
),
|
|
1790
1790
|
),
|
|
@@ -1793,9 +1793,9 @@ class AsyncRawAlertsClient:
|
|
|
1793
1793
|
raise InternalServerError(
|
|
1794
1794
|
headers=dict(_response.headers),
|
|
1795
1795
|
body=typing.cast(
|
|
1796
|
-
typing.
|
|
1796
|
+
typing.Any,
|
|
1797
1797
|
parse_obj_as(
|
|
1798
|
-
type_=typing.
|
|
1798
|
+
type_=typing.Any, # type: ignore
|
|
1799
1799
|
object_=_response.json(),
|
|
1800
1800
|
),
|
|
1801
1801
|
),
|
|
@@ -1804,9 +1804,9 @@ class AsyncRawAlertsClient:
|
|
|
1804
1804
|
raise NotImplementedError(
|
|
1805
1805
|
headers=dict(_response.headers),
|
|
1806
1806
|
body=typing.cast(
|
|
1807
|
-
typing.
|
|
1807
|
+
typing.Any,
|
|
1808
1808
|
parse_obj_as(
|
|
1809
|
-
type_=typing.
|
|
1809
|
+
type_=typing.Any, # type: ignore
|
|
1810
1810
|
object_=_response.json(),
|
|
1811
1811
|
),
|
|
1812
1812
|
),
|
|
@@ -1815,9 +1815,9 @@ class AsyncRawAlertsClient:
|
|
|
1815
1815
|
raise BadGatewayError(
|
|
1816
1816
|
headers=dict(_response.headers),
|
|
1817
1817
|
body=typing.cast(
|
|
1818
|
-
typing.
|
|
1818
|
+
typing.Any,
|
|
1819
1819
|
parse_obj_as(
|
|
1820
|
-
type_=typing.
|
|
1820
|
+
type_=typing.Any, # type: ignore
|
|
1821
1821
|
object_=_response.json(),
|
|
1822
1822
|
),
|
|
1823
1823
|
),
|
|
@@ -1826,9 +1826,9 @@ class AsyncRawAlertsClient:
|
|
|
1826
1826
|
raise ServiceUnavailableError(
|
|
1827
1827
|
headers=dict(_response.headers),
|
|
1828
1828
|
body=typing.cast(
|
|
1829
|
-
typing.
|
|
1829
|
+
typing.Any,
|
|
1830
1830
|
parse_obj_as(
|
|
1831
|
-
type_=typing.
|
|
1831
|
+
type_=typing.Any, # type: ignore
|
|
1832
1832
|
object_=_response.json(),
|
|
1833
1833
|
),
|
|
1834
1834
|
),
|
|
@@ -1837,9 +1837,9 @@ class AsyncRawAlertsClient:
|
|
|
1837
1837
|
raise GatewayTimeoutError(
|
|
1838
1838
|
headers=dict(_response.headers),
|
|
1839
1839
|
body=typing.cast(
|
|
1840
|
-
typing.
|
|
1840
|
+
typing.Any,
|
|
1841
1841
|
parse_obj_as(
|
|
1842
|
-
type_=typing.
|
|
1842
|
+
type_=typing.Any, # type: ignore
|
|
1843
1843
|
object_=_response.json(),
|
|
1844
1844
|
),
|
|
1845
1845
|
),
|