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/webhooks/raw_client.py
CHANGED
|
@@ -97,9 +97,9 @@ class RawWebhooksClient:
|
|
|
97
97
|
raise UnauthorizedError(
|
|
98
98
|
headers=dict(_response.headers),
|
|
99
99
|
body=typing.cast(
|
|
100
|
-
typing.
|
|
100
|
+
typing.Any,
|
|
101
101
|
parse_obj_as(
|
|
102
|
-
type_=typing.
|
|
102
|
+
type_=typing.Any, # type: ignore
|
|
103
103
|
object_=_response.json(),
|
|
104
104
|
),
|
|
105
105
|
),
|
|
@@ -108,9 +108,9 @@ class RawWebhooksClient:
|
|
|
108
108
|
raise NotFoundError(
|
|
109
109
|
headers=dict(_response.headers),
|
|
110
110
|
body=typing.cast(
|
|
111
|
-
typing.
|
|
111
|
+
typing.Any,
|
|
112
112
|
parse_obj_as(
|
|
113
|
-
type_=typing.
|
|
113
|
+
type_=typing.Any, # type: ignore
|
|
114
114
|
object_=_response.json(),
|
|
115
115
|
),
|
|
116
116
|
),
|
|
@@ -119,9 +119,9 @@ class RawWebhooksClient:
|
|
|
119
119
|
raise MethodNotAllowedError(
|
|
120
120
|
headers=dict(_response.headers),
|
|
121
121
|
body=typing.cast(
|
|
122
|
-
typing.
|
|
122
|
+
typing.Any,
|
|
123
123
|
parse_obj_as(
|
|
124
|
-
type_=typing.
|
|
124
|
+
type_=typing.Any, # type: ignore
|
|
125
125
|
object_=_response.json(),
|
|
126
126
|
),
|
|
127
127
|
),
|
|
@@ -130,9 +130,9 @@ class RawWebhooksClient:
|
|
|
130
130
|
raise TooManyRequestsError(
|
|
131
131
|
headers=dict(_response.headers),
|
|
132
132
|
body=typing.cast(
|
|
133
|
-
typing.
|
|
133
|
+
typing.Any,
|
|
134
134
|
parse_obj_as(
|
|
135
|
-
type_=typing.
|
|
135
|
+
type_=typing.Any, # type: ignore
|
|
136
136
|
object_=_response.json(),
|
|
137
137
|
),
|
|
138
138
|
),
|
|
@@ -141,9 +141,9 @@ class RawWebhooksClient:
|
|
|
141
141
|
raise InternalServerError(
|
|
142
142
|
headers=dict(_response.headers),
|
|
143
143
|
body=typing.cast(
|
|
144
|
-
typing.
|
|
144
|
+
typing.Any,
|
|
145
145
|
parse_obj_as(
|
|
146
|
-
type_=typing.
|
|
146
|
+
type_=typing.Any, # type: ignore
|
|
147
147
|
object_=_response.json(),
|
|
148
148
|
),
|
|
149
149
|
),
|
|
@@ -152,9 +152,9 @@ class RawWebhooksClient:
|
|
|
152
152
|
raise NotImplementedError(
|
|
153
153
|
headers=dict(_response.headers),
|
|
154
154
|
body=typing.cast(
|
|
155
|
-
typing.
|
|
155
|
+
typing.Any,
|
|
156
156
|
parse_obj_as(
|
|
157
|
-
type_=typing.
|
|
157
|
+
type_=typing.Any, # type: ignore
|
|
158
158
|
object_=_response.json(),
|
|
159
159
|
),
|
|
160
160
|
),
|
|
@@ -163,9 +163,9 @@ class RawWebhooksClient:
|
|
|
163
163
|
raise BadGatewayError(
|
|
164
164
|
headers=dict(_response.headers),
|
|
165
165
|
body=typing.cast(
|
|
166
|
-
typing.
|
|
166
|
+
typing.Any,
|
|
167
167
|
parse_obj_as(
|
|
168
|
-
type_=typing.
|
|
168
|
+
type_=typing.Any, # type: ignore
|
|
169
169
|
object_=_response.json(),
|
|
170
170
|
),
|
|
171
171
|
),
|
|
@@ -174,9 +174,9 @@ class RawWebhooksClient:
|
|
|
174
174
|
raise ServiceUnavailableError(
|
|
175
175
|
headers=dict(_response.headers),
|
|
176
176
|
body=typing.cast(
|
|
177
|
-
typing.
|
|
177
|
+
typing.Any,
|
|
178
178
|
parse_obj_as(
|
|
179
|
-
type_=typing.
|
|
179
|
+
type_=typing.Any, # type: ignore
|
|
180
180
|
object_=_response.json(),
|
|
181
181
|
),
|
|
182
182
|
),
|
|
@@ -185,9 +185,9 @@ class RawWebhooksClient:
|
|
|
185
185
|
raise GatewayTimeoutError(
|
|
186
186
|
headers=dict(_response.headers),
|
|
187
187
|
body=typing.cast(
|
|
188
|
-
typing.
|
|
188
|
+
typing.Any,
|
|
189
189
|
parse_obj_as(
|
|
190
|
-
type_=typing.
|
|
190
|
+
type_=typing.Any, # type: ignore
|
|
191
191
|
object_=_response.json(),
|
|
192
192
|
),
|
|
193
193
|
),
|
|
@@ -276,9 +276,9 @@ class RawWebhooksClient:
|
|
|
276
276
|
raise UnauthorizedError(
|
|
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 RawWebhooksClient:
|
|
|
287
287
|
raise NotFoundError(
|
|
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 RawWebhooksClient:
|
|
|
298
298
|
raise MethodNotAllowedError(
|
|
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 RawWebhooksClient:
|
|
|
309
309
|
raise TooManyRequestsError(
|
|
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 RawWebhooksClient:
|
|
|
320
320
|
raise InternalServerError(
|
|
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 RawWebhooksClient:
|
|
|
331
331
|
raise NotImplementedError(
|
|
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 RawWebhooksClient:
|
|
|
342
342
|
raise BadGatewayError(
|
|
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 RawWebhooksClient:
|
|
|
353
353
|
raise ServiceUnavailableError(
|
|
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
|
),
|
|
@@ -364,9 +364,9 @@ class RawWebhooksClient:
|
|
|
364
364
|
raise GatewayTimeoutError(
|
|
365
365
|
headers=dict(_response.headers),
|
|
366
366
|
body=typing.cast(
|
|
367
|
-
typing.
|
|
367
|
+
typing.Any,
|
|
368
368
|
parse_obj_as(
|
|
369
|
-
type_=typing.
|
|
369
|
+
type_=typing.Any, # type: ignore
|
|
370
370
|
object_=_response.json(),
|
|
371
371
|
),
|
|
372
372
|
),
|
|
@@ -421,9 +421,9 @@ class RawWebhooksClient:
|
|
|
421
421
|
raise UnauthorizedError(
|
|
422
422
|
headers=dict(_response.headers),
|
|
423
423
|
body=typing.cast(
|
|
424
|
-
typing.
|
|
424
|
+
typing.Any,
|
|
425
425
|
parse_obj_as(
|
|
426
|
-
type_=typing.
|
|
426
|
+
type_=typing.Any, # type: ignore
|
|
427
427
|
object_=_response.json(),
|
|
428
428
|
),
|
|
429
429
|
),
|
|
@@ -432,9 +432,9 @@ class RawWebhooksClient:
|
|
|
432
432
|
raise NotFoundError(
|
|
433
433
|
headers=dict(_response.headers),
|
|
434
434
|
body=typing.cast(
|
|
435
|
-
typing.
|
|
435
|
+
typing.Any,
|
|
436
436
|
parse_obj_as(
|
|
437
|
-
type_=typing.
|
|
437
|
+
type_=typing.Any, # type: ignore
|
|
438
438
|
object_=_response.json(),
|
|
439
439
|
),
|
|
440
440
|
),
|
|
@@ -443,9 +443,9 @@ class RawWebhooksClient:
|
|
|
443
443
|
raise MethodNotAllowedError(
|
|
444
444
|
headers=dict(_response.headers),
|
|
445
445
|
body=typing.cast(
|
|
446
|
-
typing.
|
|
446
|
+
typing.Any,
|
|
447
447
|
parse_obj_as(
|
|
448
|
-
type_=typing.
|
|
448
|
+
type_=typing.Any, # type: ignore
|
|
449
449
|
object_=_response.json(),
|
|
450
450
|
),
|
|
451
451
|
),
|
|
@@ -454,9 +454,9 @@ class RawWebhooksClient:
|
|
|
454
454
|
raise TooManyRequestsError(
|
|
455
455
|
headers=dict(_response.headers),
|
|
456
456
|
body=typing.cast(
|
|
457
|
-
typing.
|
|
457
|
+
typing.Any,
|
|
458
458
|
parse_obj_as(
|
|
459
|
-
type_=typing.
|
|
459
|
+
type_=typing.Any, # type: ignore
|
|
460
460
|
object_=_response.json(),
|
|
461
461
|
),
|
|
462
462
|
),
|
|
@@ -465,9 +465,9 @@ class RawWebhooksClient:
|
|
|
465
465
|
raise InternalServerError(
|
|
466
466
|
headers=dict(_response.headers),
|
|
467
467
|
body=typing.cast(
|
|
468
|
-
typing.
|
|
468
|
+
typing.Any,
|
|
469
469
|
parse_obj_as(
|
|
470
|
-
type_=typing.
|
|
470
|
+
type_=typing.Any, # type: ignore
|
|
471
471
|
object_=_response.json(),
|
|
472
472
|
),
|
|
473
473
|
),
|
|
@@ -476,9 +476,9 @@ class RawWebhooksClient:
|
|
|
476
476
|
raise NotImplementedError(
|
|
477
477
|
headers=dict(_response.headers),
|
|
478
478
|
body=typing.cast(
|
|
479
|
-
typing.
|
|
479
|
+
typing.Any,
|
|
480
480
|
parse_obj_as(
|
|
481
|
-
type_=typing.
|
|
481
|
+
type_=typing.Any, # type: ignore
|
|
482
482
|
object_=_response.json(),
|
|
483
483
|
),
|
|
484
484
|
),
|
|
@@ -487,9 +487,9 @@ class RawWebhooksClient:
|
|
|
487
487
|
raise BadGatewayError(
|
|
488
488
|
headers=dict(_response.headers),
|
|
489
489
|
body=typing.cast(
|
|
490
|
-
typing.
|
|
490
|
+
typing.Any,
|
|
491
491
|
parse_obj_as(
|
|
492
|
-
type_=typing.
|
|
492
|
+
type_=typing.Any, # type: ignore
|
|
493
493
|
object_=_response.json(),
|
|
494
494
|
),
|
|
495
495
|
),
|
|
@@ -498,9 +498,9 @@ class RawWebhooksClient:
|
|
|
498
498
|
raise ServiceUnavailableError(
|
|
499
499
|
headers=dict(_response.headers),
|
|
500
500
|
body=typing.cast(
|
|
501
|
-
typing.
|
|
501
|
+
typing.Any,
|
|
502
502
|
parse_obj_as(
|
|
503
|
-
type_=typing.
|
|
503
|
+
type_=typing.Any, # type: ignore
|
|
504
504
|
object_=_response.json(),
|
|
505
505
|
),
|
|
506
506
|
),
|
|
@@ -509,9 +509,9 @@ class RawWebhooksClient:
|
|
|
509
509
|
raise GatewayTimeoutError(
|
|
510
510
|
headers=dict(_response.headers),
|
|
511
511
|
body=typing.cast(
|
|
512
|
-
typing.
|
|
512
|
+
typing.Any,
|
|
513
513
|
parse_obj_as(
|
|
514
|
-
type_=typing.
|
|
514
|
+
type_=typing.Any, # type: ignore
|
|
515
515
|
object_=_response.json(),
|
|
516
516
|
),
|
|
517
517
|
),
|
|
@@ -556,9 +556,9 @@ class RawWebhooksClient:
|
|
|
556
556
|
raise UnauthorizedError(
|
|
557
557
|
headers=dict(_response.headers),
|
|
558
558
|
body=typing.cast(
|
|
559
|
-
typing.
|
|
559
|
+
typing.Any,
|
|
560
560
|
parse_obj_as(
|
|
561
|
-
type_=typing.
|
|
561
|
+
type_=typing.Any, # type: ignore
|
|
562
562
|
object_=_response.json(),
|
|
563
563
|
),
|
|
564
564
|
),
|
|
@@ -567,9 +567,9 @@ class RawWebhooksClient:
|
|
|
567
567
|
raise NotFoundError(
|
|
568
568
|
headers=dict(_response.headers),
|
|
569
569
|
body=typing.cast(
|
|
570
|
-
typing.
|
|
570
|
+
typing.Any,
|
|
571
571
|
parse_obj_as(
|
|
572
|
-
type_=typing.
|
|
572
|
+
type_=typing.Any, # type: ignore
|
|
573
573
|
object_=_response.json(),
|
|
574
574
|
),
|
|
575
575
|
),
|
|
@@ -578,9 +578,9 @@ class RawWebhooksClient:
|
|
|
578
578
|
raise MethodNotAllowedError(
|
|
579
579
|
headers=dict(_response.headers),
|
|
580
580
|
body=typing.cast(
|
|
581
|
-
typing.
|
|
581
|
+
typing.Any,
|
|
582
582
|
parse_obj_as(
|
|
583
|
-
type_=typing.
|
|
583
|
+
type_=typing.Any, # type: ignore
|
|
584
584
|
object_=_response.json(),
|
|
585
585
|
),
|
|
586
586
|
),
|
|
@@ -589,9 +589,9 @@ class RawWebhooksClient:
|
|
|
589
589
|
raise TooManyRequestsError(
|
|
590
590
|
headers=dict(_response.headers),
|
|
591
591
|
body=typing.cast(
|
|
592
|
-
typing.
|
|
592
|
+
typing.Any,
|
|
593
593
|
parse_obj_as(
|
|
594
|
-
type_=typing.
|
|
594
|
+
type_=typing.Any, # type: ignore
|
|
595
595
|
object_=_response.json(),
|
|
596
596
|
),
|
|
597
597
|
),
|
|
@@ -600,9 +600,9 @@ class RawWebhooksClient:
|
|
|
600
600
|
raise InternalServerError(
|
|
601
601
|
headers=dict(_response.headers),
|
|
602
602
|
body=typing.cast(
|
|
603
|
-
typing.
|
|
603
|
+
typing.Any,
|
|
604
604
|
parse_obj_as(
|
|
605
|
-
type_=typing.
|
|
605
|
+
type_=typing.Any, # type: ignore
|
|
606
606
|
object_=_response.json(),
|
|
607
607
|
),
|
|
608
608
|
),
|
|
@@ -611,9 +611,9 @@ class RawWebhooksClient:
|
|
|
611
611
|
raise NotImplementedError(
|
|
612
612
|
headers=dict(_response.headers),
|
|
613
613
|
body=typing.cast(
|
|
614
|
-
typing.
|
|
614
|
+
typing.Any,
|
|
615
615
|
parse_obj_as(
|
|
616
|
-
type_=typing.
|
|
616
|
+
type_=typing.Any, # type: ignore
|
|
617
617
|
object_=_response.json(),
|
|
618
618
|
),
|
|
619
619
|
),
|
|
@@ -622,9 +622,9 @@ class RawWebhooksClient:
|
|
|
622
622
|
raise BadGatewayError(
|
|
623
623
|
headers=dict(_response.headers),
|
|
624
624
|
body=typing.cast(
|
|
625
|
-
typing.
|
|
625
|
+
typing.Any,
|
|
626
626
|
parse_obj_as(
|
|
627
|
-
type_=typing.
|
|
627
|
+
type_=typing.Any, # type: ignore
|
|
628
628
|
object_=_response.json(),
|
|
629
629
|
),
|
|
630
630
|
),
|
|
@@ -633,9 +633,9 @@ class RawWebhooksClient:
|
|
|
633
633
|
raise ServiceUnavailableError(
|
|
634
634
|
headers=dict(_response.headers),
|
|
635
635
|
body=typing.cast(
|
|
636
|
-
typing.
|
|
636
|
+
typing.Any,
|
|
637
637
|
parse_obj_as(
|
|
638
|
-
type_=typing.
|
|
638
|
+
type_=typing.Any, # type: ignore
|
|
639
639
|
object_=_response.json(),
|
|
640
640
|
),
|
|
641
641
|
),
|
|
@@ -644,9 +644,9 @@ class RawWebhooksClient:
|
|
|
644
644
|
raise GatewayTimeoutError(
|
|
645
645
|
headers=dict(_response.headers),
|
|
646
646
|
body=typing.cast(
|
|
647
|
-
typing.
|
|
647
|
+
typing.Any,
|
|
648
648
|
parse_obj_as(
|
|
649
|
-
type_=typing.
|
|
649
|
+
type_=typing.Any, # type: ignore
|
|
650
650
|
object_=_response.json(),
|
|
651
651
|
),
|
|
652
652
|
),
|
|
@@ -736,9 +736,9 @@ class RawWebhooksClient:
|
|
|
736
736
|
raise UnauthorizedError(
|
|
737
737
|
headers=dict(_response.headers),
|
|
738
738
|
body=typing.cast(
|
|
739
|
-
typing.
|
|
739
|
+
typing.Any,
|
|
740
740
|
parse_obj_as(
|
|
741
|
-
type_=typing.
|
|
741
|
+
type_=typing.Any, # type: ignore
|
|
742
742
|
object_=_response.json(),
|
|
743
743
|
),
|
|
744
744
|
),
|
|
@@ -747,9 +747,9 @@ class RawWebhooksClient:
|
|
|
747
747
|
raise NotFoundError(
|
|
748
748
|
headers=dict(_response.headers),
|
|
749
749
|
body=typing.cast(
|
|
750
|
-
typing.
|
|
750
|
+
typing.Any,
|
|
751
751
|
parse_obj_as(
|
|
752
|
-
type_=typing.
|
|
752
|
+
type_=typing.Any, # type: ignore
|
|
753
753
|
object_=_response.json(),
|
|
754
754
|
),
|
|
755
755
|
),
|
|
@@ -758,9 +758,9 @@ class RawWebhooksClient:
|
|
|
758
758
|
raise MethodNotAllowedError(
|
|
759
759
|
headers=dict(_response.headers),
|
|
760
760
|
body=typing.cast(
|
|
761
|
-
typing.
|
|
761
|
+
typing.Any,
|
|
762
762
|
parse_obj_as(
|
|
763
|
-
type_=typing.
|
|
763
|
+
type_=typing.Any, # type: ignore
|
|
764
764
|
object_=_response.json(),
|
|
765
765
|
),
|
|
766
766
|
),
|
|
@@ -769,9 +769,9 @@ class RawWebhooksClient:
|
|
|
769
769
|
raise TooManyRequestsError(
|
|
770
770
|
headers=dict(_response.headers),
|
|
771
771
|
body=typing.cast(
|
|
772
|
-
typing.
|
|
772
|
+
typing.Any,
|
|
773
773
|
parse_obj_as(
|
|
774
|
-
type_=typing.
|
|
774
|
+
type_=typing.Any, # type: ignore
|
|
775
775
|
object_=_response.json(),
|
|
776
776
|
),
|
|
777
777
|
),
|
|
@@ -780,9 +780,9 @@ class RawWebhooksClient:
|
|
|
780
780
|
raise InternalServerError(
|
|
781
781
|
headers=dict(_response.headers),
|
|
782
782
|
body=typing.cast(
|
|
783
|
-
typing.
|
|
783
|
+
typing.Any,
|
|
784
784
|
parse_obj_as(
|
|
785
|
-
type_=typing.
|
|
785
|
+
type_=typing.Any, # type: ignore
|
|
786
786
|
object_=_response.json(),
|
|
787
787
|
),
|
|
788
788
|
),
|
|
@@ -791,9 +791,9 @@ class RawWebhooksClient:
|
|
|
791
791
|
raise NotImplementedError(
|
|
792
792
|
headers=dict(_response.headers),
|
|
793
793
|
body=typing.cast(
|
|
794
|
-
typing.
|
|
794
|
+
typing.Any,
|
|
795
795
|
parse_obj_as(
|
|
796
|
-
type_=typing.
|
|
796
|
+
type_=typing.Any, # type: ignore
|
|
797
797
|
object_=_response.json(),
|
|
798
798
|
),
|
|
799
799
|
),
|
|
@@ -802,9 +802,9 @@ class RawWebhooksClient:
|
|
|
802
802
|
raise BadGatewayError(
|
|
803
803
|
headers=dict(_response.headers),
|
|
804
804
|
body=typing.cast(
|
|
805
|
-
typing.
|
|
805
|
+
typing.Any,
|
|
806
806
|
parse_obj_as(
|
|
807
|
-
type_=typing.
|
|
807
|
+
type_=typing.Any, # type: ignore
|
|
808
808
|
object_=_response.json(),
|
|
809
809
|
),
|
|
810
810
|
),
|
|
@@ -813,9 +813,9 @@ class RawWebhooksClient:
|
|
|
813
813
|
raise ServiceUnavailableError(
|
|
814
814
|
headers=dict(_response.headers),
|
|
815
815
|
body=typing.cast(
|
|
816
|
-
typing.
|
|
816
|
+
typing.Any,
|
|
817
817
|
parse_obj_as(
|
|
818
|
-
type_=typing.
|
|
818
|
+
type_=typing.Any, # type: ignore
|
|
819
819
|
object_=_response.json(),
|
|
820
820
|
),
|
|
821
821
|
),
|
|
@@ -824,9 +824,9 @@ class RawWebhooksClient:
|
|
|
824
824
|
raise GatewayTimeoutError(
|
|
825
825
|
headers=dict(_response.headers),
|
|
826
826
|
body=typing.cast(
|
|
827
|
-
typing.
|
|
827
|
+
typing.Any,
|
|
828
828
|
parse_obj_as(
|
|
829
|
-
type_=typing.
|
|
829
|
+
type_=typing.Any, # type: ignore
|
|
830
830
|
object_=_response.json(),
|
|
831
831
|
),
|
|
832
832
|
),
|
|
@@ -902,9 +902,9 @@ class AsyncRawWebhooksClient:
|
|
|
902
902
|
raise UnauthorizedError(
|
|
903
903
|
headers=dict(_response.headers),
|
|
904
904
|
body=typing.cast(
|
|
905
|
-
typing.
|
|
905
|
+
typing.Any,
|
|
906
906
|
parse_obj_as(
|
|
907
|
-
type_=typing.
|
|
907
|
+
type_=typing.Any, # type: ignore
|
|
908
908
|
object_=_response.json(),
|
|
909
909
|
),
|
|
910
910
|
),
|
|
@@ -913,9 +913,9 @@ class AsyncRawWebhooksClient:
|
|
|
913
913
|
raise NotFoundError(
|
|
914
914
|
headers=dict(_response.headers),
|
|
915
915
|
body=typing.cast(
|
|
916
|
-
typing.
|
|
916
|
+
typing.Any,
|
|
917
917
|
parse_obj_as(
|
|
918
|
-
type_=typing.
|
|
918
|
+
type_=typing.Any, # type: ignore
|
|
919
919
|
object_=_response.json(),
|
|
920
920
|
),
|
|
921
921
|
),
|
|
@@ -924,9 +924,9 @@ class AsyncRawWebhooksClient:
|
|
|
924
924
|
raise MethodNotAllowedError(
|
|
925
925
|
headers=dict(_response.headers),
|
|
926
926
|
body=typing.cast(
|
|
927
|
-
typing.
|
|
927
|
+
typing.Any,
|
|
928
928
|
parse_obj_as(
|
|
929
|
-
type_=typing.
|
|
929
|
+
type_=typing.Any, # type: ignore
|
|
930
930
|
object_=_response.json(),
|
|
931
931
|
),
|
|
932
932
|
),
|
|
@@ -935,9 +935,9 @@ class AsyncRawWebhooksClient:
|
|
|
935
935
|
raise TooManyRequestsError(
|
|
936
936
|
headers=dict(_response.headers),
|
|
937
937
|
body=typing.cast(
|
|
938
|
-
typing.
|
|
938
|
+
typing.Any,
|
|
939
939
|
parse_obj_as(
|
|
940
|
-
type_=typing.
|
|
940
|
+
type_=typing.Any, # type: ignore
|
|
941
941
|
object_=_response.json(),
|
|
942
942
|
),
|
|
943
943
|
),
|
|
@@ -946,9 +946,9 @@ class AsyncRawWebhooksClient:
|
|
|
946
946
|
raise InternalServerError(
|
|
947
947
|
headers=dict(_response.headers),
|
|
948
948
|
body=typing.cast(
|
|
949
|
-
typing.
|
|
949
|
+
typing.Any,
|
|
950
950
|
parse_obj_as(
|
|
951
|
-
type_=typing.
|
|
951
|
+
type_=typing.Any, # type: ignore
|
|
952
952
|
object_=_response.json(),
|
|
953
953
|
),
|
|
954
954
|
),
|
|
@@ -957,9 +957,9 @@ class AsyncRawWebhooksClient:
|
|
|
957
957
|
raise NotImplementedError(
|
|
958
958
|
headers=dict(_response.headers),
|
|
959
959
|
body=typing.cast(
|
|
960
|
-
typing.
|
|
960
|
+
typing.Any,
|
|
961
961
|
parse_obj_as(
|
|
962
|
-
type_=typing.
|
|
962
|
+
type_=typing.Any, # type: ignore
|
|
963
963
|
object_=_response.json(),
|
|
964
964
|
),
|
|
965
965
|
),
|
|
@@ -968,9 +968,9 @@ class AsyncRawWebhooksClient:
|
|
|
968
968
|
raise BadGatewayError(
|
|
969
969
|
headers=dict(_response.headers),
|
|
970
970
|
body=typing.cast(
|
|
971
|
-
typing.
|
|
971
|
+
typing.Any,
|
|
972
972
|
parse_obj_as(
|
|
973
|
-
type_=typing.
|
|
973
|
+
type_=typing.Any, # type: ignore
|
|
974
974
|
object_=_response.json(),
|
|
975
975
|
),
|
|
976
976
|
),
|
|
@@ -979,9 +979,9 @@ class AsyncRawWebhooksClient:
|
|
|
979
979
|
raise ServiceUnavailableError(
|
|
980
980
|
headers=dict(_response.headers),
|
|
981
981
|
body=typing.cast(
|
|
982
|
-
typing.
|
|
982
|
+
typing.Any,
|
|
983
983
|
parse_obj_as(
|
|
984
|
-
type_=typing.
|
|
984
|
+
type_=typing.Any, # type: ignore
|
|
985
985
|
object_=_response.json(),
|
|
986
986
|
),
|
|
987
987
|
),
|
|
@@ -990,9 +990,9 @@ class AsyncRawWebhooksClient:
|
|
|
990
990
|
raise GatewayTimeoutError(
|
|
991
991
|
headers=dict(_response.headers),
|
|
992
992
|
body=typing.cast(
|
|
993
|
-
typing.
|
|
993
|
+
typing.Any,
|
|
994
994
|
parse_obj_as(
|
|
995
|
-
type_=typing.
|
|
995
|
+
type_=typing.Any, # type: ignore
|
|
996
996
|
object_=_response.json(),
|
|
997
997
|
),
|
|
998
998
|
),
|
|
@@ -1081,9 +1081,9 @@ class AsyncRawWebhooksClient:
|
|
|
1081
1081
|
raise UnauthorizedError(
|
|
1082
1082
|
headers=dict(_response.headers),
|
|
1083
1083
|
body=typing.cast(
|
|
1084
|
-
typing.
|
|
1084
|
+
typing.Any,
|
|
1085
1085
|
parse_obj_as(
|
|
1086
|
-
type_=typing.
|
|
1086
|
+
type_=typing.Any, # type: ignore
|
|
1087
1087
|
object_=_response.json(),
|
|
1088
1088
|
),
|
|
1089
1089
|
),
|
|
@@ -1092,9 +1092,9 @@ class AsyncRawWebhooksClient:
|
|
|
1092
1092
|
raise NotFoundError(
|
|
1093
1093
|
headers=dict(_response.headers),
|
|
1094
1094
|
body=typing.cast(
|
|
1095
|
-
typing.
|
|
1095
|
+
typing.Any,
|
|
1096
1096
|
parse_obj_as(
|
|
1097
|
-
type_=typing.
|
|
1097
|
+
type_=typing.Any, # type: ignore
|
|
1098
1098
|
object_=_response.json(),
|
|
1099
1099
|
),
|
|
1100
1100
|
),
|
|
@@ -1103,9 +1103,9 @@ class AsyncRawWebhooksClient:
|
|
|
1103
1103
|
raise MethodNotAllowedError(
|
|
1104
1104
|
headers=dict(_response.headers),
|
|
1105
1105
|
body=typing.cast(
|
|
1106
|
-
typing.
|
|
1106
|
+
typing.Any,
|
|
1107
1107
|
parse_obj_as(
|
|
1108
|
-
type_=typing.
|
|
1108
|
+
type_=typing.Any, # type: ignore
|
|
1109
1109
|
object_=_response.json(),
|
|
1110
1110
|
),
|
|
1111
1111
|
),
|
|
@@ -1114,9 +1114,9 @@ class AsyncRawWebhooksClient:
|
|
|
1114
1114
|
raise TooManyRequestsError(
|
|
1115
1115
|
headers=dict(_response.headers),
|
|
1116
1116
|
body=typing.cast(
|
|
1117
|
-
typing.
|
|
1117
|
+
typing.Any,
|
|
1118
1118
|
parse_obj_as(
|
|
1119
|
-
type_=typing.
|
|
1119
|
+
type_=typing.Any, # type: ignore
|
|
1120
1120
|
object_=_response.json(),
|
|
1121
1121
|
),
|
|
1122
1122
|
),
|
|
@@ -1125,9 +1125,9 @@ class AsyncRawWebhooksClient:
|
|
|
1125
1125
|
raise InternalServerError(
|
|
1126
1126
|
headers=dict(_response.headers),
|
|
1127
1127
|
body=typing.cast(
|
|
1128
|
-
typing.
|
|
1128
|
+
typing.Any,
|
|
1129
1129
|
parse_obj_as(
|
|
1130
|
-
type_=typing.
|
|
1130
|
+
type_=typing.Any, # type: ignore
|
|
1131
1131
|
object_=_response.json(),
|
|
1132
1132
|
),
|
|
1133
1133
|
),
|
|
@@ -1136,9 +1136,9 @@ class AsyncRawWebhooksClient:
|
|
|
1136
1136
|
raise NotImplementedError(
|
|
1137
1137
|
headers=dict(_response.headers),
|
|
1138
1138
|
body=typing.cast(
|
|
1139
|
-
typing.
|
|
1139
|
+
typing.Any,
|
|
1140
1140
|
parse_obj_as(
|
|
1141
|
-
type_=typing.
|
|
1141
|
+
type_=typing.Any, # type: ignore
|
|
1142
1142
|
object_=_response.json(),
|
|
1143
1143
|
),
|
|
1144
1144
|
),
|
|
@@ -1147,9 +1147,9 @@ class AsyncRawWebhooksClient:
|
|
|
1147
1147
|
raise BadGatewayError(
|
|
1148
1148
|
headers=dict(_response.headers),
|
|
1149
1149
|
body=typing.cast(
|
|
1150
|
-
typing.
|
|
1150
|
+
typing.Any,
|
|
1151
1151
|
parse_obj_as(
|
|
1152
|
-
type_=typing.
|
|
1152
|
+
type_=typing.Any, # type: ignore
|
|
1153
1153
|
object_=_response.json(),
|
|
1154
1154
|
),
|
|
1155
1155
|
),
|
|
@@ -1158,9 +1158,9 @@ class AsyncRawWebhooksClient:
|
|
|
1158
1158
|
raise ServiceUnavailableError(
|
|
1159
1159
|
headers=dict(_response.headers),
|
|
1160
1160
|
body=typing.cast(
|
|
1161
|
-
typing.
|
|
1161
|
+
typing.Any,
|
|
1162
1162
|
parse_obj_as(
|
|
1163
|
-
type_=typing.
|
|
1163
|
+
type_=typing.Any, # type: ignore
|
|
1164
1164
|
object_=_response.json(),
|
|
1165
1165
|
),
|
|
1166
1166
|
),
|
|
@@ -1169,9 +1169,9 @@ class AsyncRawWebhooksClient:
|
|
|
1169
1169
|
raise GatewayTimeoutError(
|
|
1170
1170
|
headers=dict(_response.headers),
|
|
1171
1171
|
body=typing.cast(
|
|
1172
|
-
typing.
|
|
1172
|
+
typing.Any,
|
|
1173
1173
|
parse_obj_as(
|
|
1174
|
-
type_=typing.
|
|
1174
|
+
type_=typing.Any, # type: ignore
|
|
1175
1175
|
object_=_response.json(),
|
|
1176
1176
|
),
|
|
1177
1177
|
),
|
|
@@ -1226,9 +1226,9 @@ class AsyncRawWebhooksClient:
|
|
|
1226
1226
|
raise UnauthorizedError(
|
|
1227
1227
|
headers=dict(_response.headers),
|
|
1228
1228
|
body=typing.cast(
|
|
1229
|
-
typing.
|
|
1229
|
+
typing.Any,
|
|
1230
1230
|
parse_obj_as(
|
|
1231
|
-
type_=typing.
|
|
1231
|
+
type_=typing.Any, # type: ignore
|
|
1232
1232
|
object_=_response.json(),
|
|
1233
1233
|
),
|
|
1234
1234
|
),
|
|
@@ -1237,9 +1237,9 @@ class AsyncRawWebhooksClient:
|
|
|
1237
1237
|
raise NotFoundError(
|
|
1238
1238
|
headers=dict(_response.headers),
|
|
1239
1239
|
body=typing.cast(
|
|
1240
|
-
typing.
|
|
1240
|
+
typing.Any,
|
|
1241
1241
|
parse_obj_as(
|
|
1242
|
-
type_=typing.
|
|
1242
|
+
type_=typing.Any, # type: ignore
|
|
1243
1243
|
object_=_response.json(),
|
|
1244
1244
|
),
|
|
1245
1245
|
),
|
|
@@ -1248,9 +1248,9 @@ class AsyncRawWebhooksClient:
|
|
|
1248
1248
|
raise MethodNotAllowedError(
|
|
1249
1249
|
headers=dict(_response.headers),
|
|
1250
1250
|
body=typing.cast(
|
|
1251
|
-
typing.
|
|
1251
|
+
typing.Any,
|
|
1252
1252
|
parse_obj_as(
|
|
1253
|
-
type_=typing.
|
|
1253
|
+
type_=typing.Any, # type: ignore
|
|
1254
1254
|
object_=_response.json(),
|
|
1255
1255
|
),
|
|
1256
1256
|
),
|
|
@@ -1259,9 +1259,9 @@ class AsyncRawWebhooksClient:
|
|
|
1259
1259
|
raise TooManyRequestsError(
|
|
1260
1260
|
headers=dict(_response.headers),
|
|
1261
1261
|
body=typing.cast(
|
|
1262
|
-
typing.
|
|
1262
|
+
typing.Any,
|
|
1263
1263
|
parse_obj_as(
|
|
1264
|
-
type_=typing.
|
|
1264
|
+
type_=typing.Any, # type: ignore
|
|
1265
1265
|
object_=_response.json(),
|
|
1266
1266
|
),
|
|
1267
1267
|
),
|
|
@@ -1270,9 +1270,9 @@ class AsyncRawWebhooksClient:
|
|
|
1270
1270
|
raise InternalServerError(
|
|
1271
1271
|
headers=dict(_response.headers),
|
|
1272
1272
|
body=typing.cast(
|
|
1273
|
-
typing.
|
|
1273
|
+
typing.Any,
|
|
1274
1274
|
parse_obj_as(
|
|
1275
|
-
type_=typing.
|
|
1275
|
+
type_=typing.Any, # type: ignore
|
|
1276
1276
|
object_=_response.json(),
|
|
1277
1277
|
),
|
|
1278
1278
|
),
|
|
@@ -1281,9 +1281,9 @@ class AsyncRawWebhooksClient:
|
|
|
1281
1281
|
raise NotImplementedError(
|
|
1282
1282
|
headers=dict(_response.headers),
|
|
1283
1283
|
body=typing.cast(
|
|
1284
|
-
typing.
|
|
1284
|
+
typing.Any,
|
|
1285
1285
|
parse_obj_as(
|
|
1286
|
-
type_=typing.
|
|
1286
|
+
type_=typing.Any, # type: ignore
|
|
1287
1287
|
object_=_response.json(),
|
|
1288
1288
|
),
|
|
1289
1289
|
),
|
|
@@ -1292,9 +1292,9 @@ class AsyncRawWebhooksClient:
|
|
|
1292
1292
|
raise BadGatewayError(
|
|
1293
1293
|
headers=dict(_response.headers),
|
|
1294
1294
|
body=typing.cast(
|
|
1295
|
-
typing.
|
|
1295
|
+
typing.Any,
|
|
1296
1296
|
parse_obj_as(
|
|
1297
|
-
type_=typing.
|
|
1297
|
+
type_=typing.Any, # type: ignore
|
|
1298
1298
|
object_=_response.json(),
|
|
1299
1299
|
),
|
|
1300
1300
|
),
|
|
@@ -1303,9 +1303,9 @@ class AsyncRawWebhooksClient:
|
|
|
1303
1303
|
raise ServiceUnavailableError(
|
|
1304
1304
|
headers=dict(_response.headers),
|
|
1305
1305
|
body=typing.cast(
|
|
1306
|
-
typing.
|
|
1306
|
+
typing.Any,
|
|
1307
1307
|
parse_obj_as(
|
|
1308
|
-
type_=typing.
|
|
1308
|
+
type_=typing.Any, # type: ignore
|
|
1309
1309
|
object_=_response.json(),
|
|
1310
1310
|
),
|
|
1311
1311
|
),
|
|
@@ -1314,9 +1314,9 @@ class AsyncRawWebhooksClient:
|
|
|
1314
1314
|
raise GatewayTimeoutError(
|
|
1315
1315
|
headers=dict(_response.headers),
|
|
1316
1316
|
body=typing.cast(
|
|
1317
|
-
typing.
|
|
1317
|
+
typing.Any,
|
|
1318
1318
|
parse_obj_as(
|
|
1319
|
-
type_=typing.
|
|
1319
|
+
type_=typing.Any, # type: ignore
|
|
1320
1320
|
object_=_response.json(),
|
|
1321
1321
|
),
|
|
1322
1322
|
),
|
|
@@ -1363,9 +1363,9 @@ class AsyncRawWebhooksClient:
|
|
|
1363
1363
|
raise UnauthorizedError(
|
|
1364
1364
|
headers=dict(_response.headers),
|
|
1365
1365
|
body=typing.cast(
|
|
1366
|
-
typing.
|
|
1366
|
+
typing.Any,
|
|
1367
1367
|
parse_obj_as(
|
|
1368
|
-
type_=typing.
|
|
1368
|
+
type_=typing.Any, # type: ignore
|
|
1369
1369
|
object_=_response.json(),
|
|
1370
1370
|
),
|
|
1371
1371
|
),
|
|
@@ -1374,9 +1374,9 @@ class AsyncRawWebhooksClient:
|
|
|
1374
1374
|
raise NotFoundError(
|
|
1375
1375
|
headers=dict(_response.headers),
|
|
1376
1376
|
body=typing.cast(
|
|
1377
|
-
typing.
|
|
1377
|
+
typing.Any,
|
|
1378
1378
|
parse_obj_as(
|
|
1379
|
-
type_=typing.
|
|
1379
|
+
type_=typing.Any, # type: ignore
|
|
1380
1380
|
object_=_response.json(),
|
|
1381
1381
|
),
|
|
1382
1382
|
),
|
|
@@ -1385,9 +1385,9 @@ class AsyncRawWebhooksClient:
|
|
|
1385
1385
|
raise MethodNotAllowedError(
|
|
1386
1386
|
headers=dict(_response.headers),
|
|
1387
1387
|
body=typing.cast(
|
|
1388
|
-
typing.
|
|
1388
|
+
typing.Any,
|
|
1389
1389
|
parse_obj_as(
|
|
1390
|
-
type_=typing.
|
|
1390
|
+
type_=typing.Any, # type: ignore
|
|
1391
1391
|
object_=_response.json(),
|
|
1392
1392
|
),
|
|
1393
1393
|
),
|
|
@@ -1396,9 +1396,9 @@ class AsyncRawWebhooksClient:
|
|
|
1396
1396
|
raise TooManyRequestsError(
|
|
1397
1397
|
headers=dict(_response.headers),
|
|
1398
1398
|
body=typing.cast(
|
|
1399
|
-
typing.
|
|
1399
|
+
typing.Any,
|
|
1400
1400
|
parse_obj_as(
|
|
1401
|
-
type_=typing.
|
|
1401
|
+
type_=typing.Any, # type: ignore
|
|
1402
1402
|
object_=_response.json(),
|
|
1403
1403
|
),
|
|
1404
1404
|
),
|
|
@@ -1407,9 +1407,9 @@ class AsyncRawWebhooksClient:
|
|
|
1407
1407
|
raise InternalServerError(
|
|
1408
1408
|
headers=dict(_response.headers),
|
|
1409
1409
|
body=typing.cast(
|
|
1410
|
-
typing.
|
|
1410
|
+
typing.Any,
|
|
1411
1411
|
parse_obj_as(
|
|
1412
|
-
type_=typing.
|
|
1412
|
+
type_=typing.Any, # type: ignore
|
|
1413
1413
|
object_=_response.json(),
|
|
1414
1414
|
),
|
|
1415
1415
|
),
|
|
@@ -1418,9 +1418,9 @@ class AsyncRawWebhooksClient:
|
|
|
1418
1418
|
raise NotImplementedError(
|
|
1419
1419
|
headers=dict(_response.headers),
|
|
1420
1420
|
body=typing.cast(
|
|
1421
|
-
typing.
|
|
1421
|
+
typing.Any,
|
|
1422
1422
|
parse_obj_as(
|
|
1423
|
-
type_=typing.
|
|
1423
|
+
type_=typing.Any, # type: ignore
|
|
1424
1424
|
object_=_response.json(),
|
|
1425
1425
|
),
|
|
1426
1426
|
),
|
|
@@ -1429,9 +1429,9 @@ class AsyncRawWebhooksClient:
|
|
|
1429
1429
|
raise BadGatewayError(
|
|
1430
1430
|
headers=dict(_response.headers),
|
|
1431
1431
|
body=typing.cast(
|
|
1432
|
-
typing.
|
|
1432
|
+
typing.Any,
|
|
1433
1433
|
parse_obj_as(
|
|
1434
|
-
type_=typing.
|
|
1434
|
+
type_=typing.Any, # type: ignore
|
|
1435
1435
|
object_=_response.json(),
|
|
1436
1436
|
),
|
|
1437
1437
|
),
|
|
@@ -1440,9 +1440,9 @@ class AsyncRawWebhooksClient:
|
|
|
1440
1440
|
raise ServiceUnavailableError(
|
|
1441
1441
|
headers=dict(_response.headers),
|
|
1442
1442
|
body=typing.cast(
|
|
1443
|
-
typing.
|
|
1443
|
+
typing.Any,
|
|
1444
1444
|
parse_obj_as(
|
|
1445
|
-
type_=typing.
|
|
1445
|
+
type_=typing.Any, # type: ignore
|
|
1446
1446
|
object_=_response.json(),
|
|
1447
1447
|
),
|
|
1448
1448
|
),
|
|
@@ -1451,9 +1451,9 @@ class AsyncRawWebhooksClient:
|
|
|
1451
1451
|
raise GatewayTimeoutError(
|
|
1452
1452
|
headers=dict(_response.headers),
|
|
1453
1453
|
body=typing.cast(
|
|
1454
|
-
typing.
|
|
1454
|
+
typing.Any,
|
|
1455
1455
|
parse_obj_as(
|
|
1456
|
-
type_=typing.
|
|
1456
|
+
type_=typing.Any, # type: ignore
|
|
1457
1457
|
object_=_response.json(),
|
|
1458
1458
|
),
|
|
1459
1459
|
),
|
|
@@ -1543,9 +1543,9 @@ class AsyncRawWebhooksClient:
|
|
|
1543
1543
|
raise UnauthorizedError(
|
|
1544
1544
|
headers=dict(_response.headers),
|
|
1545
1545
|
body=typing.cast(
|
|
1546
|
-
typing.
|
|
1546
|
+
typing.Any,
|
|
1547
1547
|
parse_obj_as(
|
|
1548
|
-
type_=typing.
|
|
1548
|
+
type_=typing.Any, # type: ignore
|
|
1549
1549
|
object_=_response.json(),
|
|
1550
1550
|
),
|
|
1551
1551
|
),
|
|
@@ -1554,9 +1554,9 @@ class AsyncRawWebhooksClient:
|
|
|
1554
1554
|
raise NotFoundError(
|
|
1555
1555
|
headers=dict(_response.headers),
|
|
1556
1556
|
body=typing.cast(
|
|
1557
|
-
typing.
|
|
1557
|
+
typing.Any,
|
|
1558
1558
|
parse_obj_as(
|
|
1559
|
-
type_=typing.
|
|
1559
|
+
type_=typing.Any, # type: ignore
|
|
1560
1560
|
object_=_response.json(),
|
|
1561
1561
|
),
|
|
1562
1562
|
),
|
|
@@ -1565,9 +1565,9 @@ class AsyncRawWebhooksClient:
|
|
|
1565
1565
|
raise MethodNotAllowedError(
|
|
1566
1566
|
headers=dict(_response.headers),
|
|
1567
1567
|
body=typing.cast(
|
|
1568
|
-
typing.
|
|
1568
|
+
typing.Any,
|
|
1569
1569
|
parse_obj_as(
|
|
1570
|
-
type_=typing.
|
|
1570
|
+
type_=typing.Any, # type: ignore
|
|
1571
1571
|
object_=_response.json(),
|
|
1572
1572
|
),
|
|
1573
1573
|
),
|
|
@@ -1576,9 +1576,9 @@ class AsyncRawWebhooksClient:
|
|
|
1576
1576
|
raise TooManyRequestsError(
|
|
1577
1577
|
headers=dict(_response.headers),
|
|
1578
1578
|
body=typing.cast(
|
|
1579
|
-
typing.
|
|
1579
|
+
typing.Any,
|
|
1580
1580
|
parse_obj_as(
|
|
1581
|
-
type_=typing.
|
|
1581
|
+
type_=typing.Any, # type: ignore
|
|
1582
1582
|
object_=_response.json(),
|
|
1583
1583
|
),
|
|
1584
1584
|
),
|
|
@@ -1587,9 +1587,9 @@ class AsyncRawWebhooksClient:
|
|
|
1587
1587
|
raise InternalServerError(
|
|
1588
1588
|
headers=dict(_response.headers),
|
|
1589
1589
|
body=typing.cast(
|
|
1590
|
-
typing.
|
|
1590
|
+
typing.Any,
|
|
1591
1591
|
parse_obj_as(
|
|
1592
|
-
type_=typing.
|
|
1592
|
+
type_=typing.Any, # type: ignore
|
|
1593
1593
|
object_=_response.json(),
|
|
1594
1594
|
),
|
|
1595
1595
|
),
|
|
@@ -1598,9 +1598,9 @@ class AsyncRawWebhooksClient:
|
|
|
1598
1598
|
raise NotImplementedError(
|
|
1599
1599
|
headers=dict(_response.headers),
|
|
1600
1600
|
body=typing.cast(
|
|
1601
|
-
typing.
|
|
1601
|
+
typing.Any,
|
|
1602
1602
|
parse_obj_as(
|
|
1603
|
-
type_=typing.
|
|
1603
|
+
type_=typing.Any, # type: ignore
|
|
1604
1604
|
object_=_response.json(),
|
|
1605
1605
|
),
|
|
1606
1606
|
),
|
|
@@ -1609,9 +1609,9 @@ class AsyncRawWebhooksClient:
|
|
|
1609
1609
|
raise BadGatewayError(
|
|
1610
1610
|
headers=dict(_response.headers),
|
|
1611
1611
|
body=typing.cast(
|
|
1612
|
-
typing.
|
|
1612
|
+
typing.Any,
|
|
1613
1613
|
parse_obj_as(
|
|
1614
|
-
type_=typing.
|
|
1614
|
+
type_=typing.Any, # type: ignore
|
|
1615
1615
|
object_=_response.json(),
|
|
1616
1616
|
),
|
|
1617
1617
|
),
|
|
@@ -1620,9 +1620,9 @@ class AsyncRawWebhooksClient:
|
|
|
1620
1620
|
raise ServiceUnavailableError(
|
|
1621
1621
|
headers=dict(_response.headers),
|
|
1622
1622
|
body=typing.cast(
|
|
1623
|
-
typing.
|
|
1623
|
+
typing.Any,
|
|
1624
1624
|
parse_obj_as(
|
|
1625
|
-
type_=typing.
|
|
1625
|
+
type_=typing.Any, # type: ignore
|
|
1626
1626
|
object_=_response.json(),
|
|
1627
1627
|
),
|
|
1628
1628
|
),
|
|
@@ -1631,9 +1631,9 @@ class AsyncRawWebhooksClient:
|
|
|
1631
1631
|
raise GatewayTimeoutError(
|
|
1632
1632
|
headers=dict(_response.headers),
|
|
1633
1633
|
body=typing.cast(
|
|
1634
|
-
typing.
|
|
1634
|
+
typing.Any,
|
|
1635
1635
|
parse_obj_as(
|
|
1636
|
-
type_=typing.
|
|
1636
|
+
type_=typing.Any, # type: ignore
|
|
1637
1637
|
object_=_response.json(),
|
|
1638
1638
|
),
|
|
1639
1639
|
),
|