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.
Files changed (166) hide show
  1. samsara/__init__.py +84 -15
  2. samsara/addresses/client.py +7 -14
  3. samsara/addresses/raw_client.py +7 -11
  4. samsara/alerts/client.py +2 -10
  5. samsara/alerts/raw_client.py +180 -180
  6. samsara/assets/__init__.py +3 -3
  7. samsara/assets/client.py +14 -45
  8. samsara/assets/raw_client.py +156 -160
  9. samsara/assets/types/__init__.py +3 -3
  10. samsara/assets/types/{assets_list_request_type.py → list_assets_request_type.py} +1 -1
  11. samsara/attributes/client.py +0 -4
  12. samsara/beta_ap_is/client.py +139 -189
  13. samsara/beta_ap_is/raw_client.py +2035 -1702
  14. samsara/carrier_proposed_assignments/client.py +2 -10
  15. samsara/client.py +5 -0
  16. samsara/coaching/client.py +2 -22
  17. samsara/coaching/raw_client.py +108 -108
  18. samsara/contacts/client.py +2 -8
  19. samsara/core/__init__.py +5 -0
  20. samsara/core/client_wrapper.py +18 -10
  21. samsara/core/custom_pagination.py +152 -0
  22. samsara/core/http_client.py +176 -90
  23. samsara/core/http_sse/__init__.py +42 -0
  24. samsara/core/http_sse/_api.py +112 -0
  25. samsara/core/http_sse/_decoders.py +61 -0
  26. samsara/core/http_sse/_exceptions.py +7 -0
  27. samsara/core/http_sse/_models.py +17 -0
  28. samsara/core/pagination.py +14 -14
  29. samsara/core/pydantic_utilities.py +3 -1
  30. samsara/documents/client.py +2 -12
  31. samsara/documents/raw_client.py +180 -180
  32. samsara/driver_qr_codes/raw_client.py +108 -108
  33. samsara/driver_vehicle_assignments/client.py +0 -12
  34. samsara/driver_vehicle_assignments/raw_client.py +144 -144
  35. samsara/drivers/__init__.py +3 -3
  36. samsara/drivers/client.py +12 -23
  37. samsara/drivers/raw_client.py +48 -52
  38. samsara/drivers/types/__init__.py +3 -3
  39. samsara/drivers/types/{drivers_list_request_driver_activation_status.py → list_drivers_request_driver_activation_status.py} +1 -1
  40. samsara/equipment/client.py +6 -22
  41. samsara/errors/bad_gateway_error.py +1 -1
  42. samsara/errors/gateway_timeout_error.py +1 -1
  43. samsara/errors/internal_server_error.py +1 -1
  44. samsara/errors/method_not_allowed_error.py +1 -1
  45. samsara/errors/not_found_error.py +1 -1
  46. samsara/errors/not_implemented_error.py +1 -1
  47. samsara/errors/service_unavailable_error.py +1 -1
  48. samsara/errors/too_many_requests_error.py +1 -1
  49. samsara/errors/unauthorized_error.py +1 -1
  50. samsara/forms/__init__.py +9 -3
  51. samsara/forms/client.py +17 -10
  52. samsara/forms/raw_client.py +265 -254
  53. samsara/forms/types/__init__.py +6 -2
  54. samsara/forms/types/form_submissions_post_form_submission_request_body_status.py +5 -0
  55. samsara/fuel_and_energy/client.py +0 -30
  56. samsara/fuel_and_energy/raw_client.py +180 -180
  57. samsara/gateways/client.py +2 -6
  58. samsara/gateways/raw_client.py +108 -108
  59. samsara/hours_of_service/__init__.py +6 -3
  60. samsara/hours_of_service/client.py +13 -52
  61. samsara/hours_of_service/raw_client.py +77 -76
  62. samsara/hours_of_service/types/__init__.py +4 -2
  63. samsara/hours_of_service/types/get_hos_daily_logs_request_expand.py +5 -0
  64. samsara/hubs/client.py +2 -94
  65. samsara/hubs/raw_client.py +216 -216
  66. samsara/idling/client.py +10 -16
  67. samsara/idling/raw_client.py +46 -36
  68. samsara/ifta/client.py +4 -34
  69. samsara/ifta/raw_client.py +144 -144
  70. samsara/industrial/client.py +12 -56
  71. samsara/industrial/raw_client.py +40 -48
  72. samsara/issues/client.py +0 -4
  73. samsara/issues/raw_client.py +108 -108
  74. samsara/legacy_ap_is/client.py +4 -56
  75. samsara/legacy_ap_is/raw_client.py +108 -108
  76. samsara/live_sharing_links/client.py +2 -10
  77. samsara/live_sharing_links/raw_client.py +144 -144
  78. samsara/location_and_speed/client.py +2 -20
  79. samsara/location_and_speed/raw_client.py +36 -36
  80. samsara/maintenance/__init__.py +3 -3
  81. samsara/maintenance/client.py +15 -30
  82. samsara/maintenance/raw_client.py +191 -182
  83. samsara/maintenance/types/__init__.py +6 -2
  84. samsara/maintenance/types/create_dvir_request_type.py +5 -0
  85. samsara/media/client.py +2 -16
  86. samsara/media/raw_client.py +108 -108
  87. samsara/messages/client.py +2 -8
  88. samsara/plans/client.py +0 -21
  89. samsara/plans/raw_client.py +72 -72
  90. samsara/preview_ap_is/client.py +0 -140
  91. samsara/preview_ap_is/raw_client.py +72 -430
  92. samsara/route_events/client.py +2 -12
  93. samsara/route_events/raw_client.py +36 -36
  94. samsara/routes/__init__.py +30 -0
  95. samsara/routes/client.py +7 -35
  96. samsara/routes/raw_client.py +257 -256
  97. samsara/routes/types/__init__.py +34 -0
  98. samsara/routes/types/get_routes_feed_request_expand.py +5 -0
  99. samsara/safety/client.py +2 -10
  100. samsara/safety/raw_client.py +36 -36
  101. samsara/settings/raw_client.py +180 -180
  102. samsara/speeding_intervals/raw_client.py +36 -36
  103. samsara/tachograph_eu_only/client.py +0 -6
  104. samsara/tags/client.py +2 -8
  105. samsara/trailer_assignments/client.py +2 -18
  106. samsara/trailers/client.py +2 -12
  107. samsara/trailers/raw_client.py +180 -180
  108. samsara/types/__init__.py +71 -6
  109. samsara/types/advanced_idling_get_idling_events_response_body.py +2 -2
  110. samsara/types/create_routes_stop_request_object_request_body.py +7 -0
  111. samsara/types/driver_assignment_object_response_body.py +2 -1
  112. samsara/types/driver_assignment_object_response_body_assignment_type.py +5 -0
  113. samsara/types/driver_external_ids.py +1 -1
  114. samsara/types/forms_approval_config_object_response_body.py +2 -1
  115. samsara/types/forms_approval_config_object_response_body_type.py +5 -0
  116. samsara/types/fuel_level_trigger_details_object_request_body.py +2 -1
  117. samsara/types/fuel_level_trigger_details_object_request_body_operation.py +5 -0
  118. samsara/types/fuel_level_trigger_details_object_response_body.py +4 -1
  119. samsara/types/fuel_level_trigger_details_object_response_body_operation.py +5 -0
  120. samsara/types/harsh_event_trigger_details_object_request_body_types_item.py +1 -0
  121. samsara/types/harsh_event_trigger_details_object_response_body_types_item.py +1 -0
  122. samsara/types/idling_event_address_object_response_body.py +46 -0
  123. samsara/types/{idling_event_object_response_body_address_type.py → idling_event_address_object_response_body_address_types_item.py} +1 -1
  124. samsara/types/idling_event_asset_object_response_body.py +35 -0
  125. samsara/types/{idling_event_object_response_body.py → idling_event_object_v_20251023_response_body.py} +18 -28
  126. samsara/types/idling_event_object_v_20251023_response_body_pto_state.py +5 -0
  127. samsara/types/idling_event_operator_object_response_body.py +35 -0
  128. samsara/types/patch_issue_request_body_assigned_to_request_body.py +2 -1
  129. samsara/types/patch_issue_request_body_assigned_to_request_body_type.py +5 -0
  130. samsara/types/reading_datapoint_request_body.py +5 -4
  131. samsara/types/reading_datapoint_request_body_entity_type.py +5 -0
  132. samsara/types/reading_history_response_body.py +1 -1
  133. samsara/types/reading_snapshot_response_body.py +1 -1
  134. samsara/types/resolved_by.py +2 -1
  135. samsara/types/resolved_by_type.py +5 -0
  136. samsara/types/route_feed_object_response_body.py +2 -1
  137. samsara/types/route_feed_object_response_body_type.py +5 -0
  138. samsara/types/route_settings_request_body.py +8 -0
  139. samsara/types/route_settings_request_body_sequencing_method.py +7 -0
  140. samsara/types/route_settings_response_body.py +8 -0
  141. samsara/types/route_settings_response_body_sequencing_method.py +7 -0
  142. samsara/types/route_stop_details_object_response_body.py +2 -1
  143. samsara/types/route_stop_details_object_response_body_type.py +5 -0
  144. samsara/types/routes_stop_response_object_response_body.py +7 -0
  145. samsara/types/training_learner_object_response_body.py +2 -1
  146. samsara/types/training_learner_object_response_body_type.py +5 -0
  147. samsara/types/update_routes_stop_request_object_request_body.py +7 -0
  148. samsara/types/vehicle_assignment_object_response_body.py +4 -3
  149. samsara/types/vehicle_assignment_object_response_body_assignment_type.py +5 -0
  150. samsara/types/vehicle_external_ids.py +1 -1
  151. samsara/types/work_order_money_object_request_body.py +2 -1
  152. samsara/types/work_order_money_object_request_body_currency.py +5 -0
  153. samsara/types/work_order_money_object_response_body.py +2 -1
  154. samsara/types/work_order_money_object_response_body_currency.py +5 -0
  155. samsara/users/client.py +4 -16
  156. samsara/vehicle_locations/client.py +4 -16
  157. samsara/vehicles/client.py +7 -22
  158. samsara/vehicles/raw_client.py +43 -47
  159. samsara/webhooks/client.py +2 -10
  160. samsara/webhooks/raw_client.py +180 -180
  161. samsara/work_orders/client.py +4 -18
  162. samsara/work_orders/raw_client.py +216 -216
  163. {samsara_api-4.1.1.dist-info → samsara_api-4.3.0.dist-info}/METADATA +2 -1
  164. {samsara_api-4.1.1.dist-info → samsara_api-4.3.0.dist-info}/RECORD +166 -136
  165. {samsara_api-4.1.1.dist-info → samsara_api-4.3.0.dist-info}/LICENSE +0 -0
  166. {samsara_api-4.1.1.dist-info → samsara_api-4.3.0.dist-info}/WHEEL +0 -0
@@ -30,6 +30,7 @@ from ..types.routes_fetch_routes_response_body import RoutesFetchRoutesResponseB
30
30
  from ..types.routes_get_routes_feed_response_body import RoutesGetRoutesFeedResponseBody
31
31
  from ..types.routes_patch_route_response_body import RoutesPatchRouteResponseBody
32
32
  from ..types.update_routes_stop_request_object_request_body import UpdateRoutesStopRequestObjectRequestBody
33
+ from .types.get_routes_feed_request_expand import GetRoutesFeedRequestExpand
33
34
 
34
35
  # this is used as the default value for optional parameters
35
36
  OMIT = typing.cast(typing.Any, ...)
@@ -105,9 +106,9 @@ class RawRoutesClient:
105
106
  raise UnauthorizedError(
106
107
  headers=dict(_response.headers),
107
108
  body=typing.cast(
108
- typing.Optional[typing.Any],
109
+ typing.Any,
109
110
  parse_obj_as(
110
- type_=typing.Optional[typing.Any], # type: ignore
111
+ type_=typing.Any, # type: ignore
111
112
  object_=_response.json(),
112
113
  ),
113
114
  ),
@@ -116,9 +117,9 @@ class RawRoutesClient:
116
117
  raise NotFoundError(
117
118
  headers=dict(_response.headers),
118
119
  body=typing.cast(
119
- typing.Optional[typing.Any],
120
+ typing.Any,
120
121
  parse_obj_as(
121
- type_=typing.Optional[typing.Any], # type: ignore
122
+ type_=typing.Any, # type: ignore
122
123
  object_=_response.json(),
123
124
  ),
124
125
  ),
@@ -127,9 +128,9 @@ class RawRoutesClient:
127
128
  raise MethodNotAllowedError(
128
129
  headers=dict(_response.headers),
129
130
  body=typing.cast(
130
- typing.Optional[typing.Any],
131
+ typing.Any,
131
132
  parse_obj_as(
132
- type_=typing.Optional[typing.Any], # type: ignore
133
+ type_=typing.Any, # type: ignore
133
134
  object_=_response.json(),
134
135
  ),
135
136
  ),
@@ -138,9 +139,9 @@ class RawRoutesClient:
138
139
  raise TooManyRequestsError(
139
140
  headers=dict(_response.headers),
140
141
  body=typing.cast(
141
- typing.Optional[typing.Any],
142
+ typing.Any,
142
143
  parse_obj_as(
143
- type_=typing.Optional[typing.Any], # type: ignore
144
+ type_=typing.Any, # type: ignore
144
145
  object_=_response.json(),
145
146
  ),
146
147
  ),
@@ -149,9 +150,9 @@ class RawRoutesClient:
149
150
  raise InternalServerError(
150
151
  headers=dict(_response.headers),
151
152
  body=typing.cast(
152
- typing.Optional[typing.Any],
153
+ typing.Any,
153
154
  parse_obj_as(
154
- type_=typing.Optional[typing.Any], # type: ignore
155
+ type_=typing.Any, # type: ignore
155
156
  object_=_response.json(),
156
157
  ),
157
158
  ),
@@ -160,9 +161,9 @@ class RawRoutesClient:
160
161
  raise NotImplementedError(
161
162
  headers=dict(_response.headers),
162
163
  body=typing.cast(
163
- typing.Optional[typing.Any],
164
+ typing.Any,
164
165
  parse_obj_as(
165
- type_=typing.Optional[typing.Any], # type: ignore
166
+ type_=typing.Any, # type: ignore
166
167
  object_=_response.json(),
167
168
  ),
168
169
  ),
@@ -171,9 +172,9 @@ class RawRoutesClient:
171
172
  raise BadGatewayError(
172
173
  headers=dict(_response.headers),
173
174
  body=typing.cast(
174
- typing.Optional[typing.Any],
175
+ typing.Any,
175
176
  parse_obj_as(
176
- type_=typing.Optional[typing.Any], # type: ignore
177
+ type_=typing.Any, # type: ignore
177
178
  object_=_response.json(),
178
179
  ),
179
180
  ),
@@ -182,9 +183,9 @@ class RawRoutesClient:
182
183
  raise ServiceUnavailableError(
183
184
  headers=dict(_response.headers),
184
185
  body=typing.cast(
185
- typing.Optional[typing.Any],
186
+ typing.Any,
186
187
  parse_obj_as(
187
- type_=typing.Optional[typing.Any], # type: ignore
188
+ type_=typing.Any, # type: ignore
188
189
  object_=_response.json(),
189
190
  ),
190
191
  ),
@@ -193,9 +194,9 @@ class RawRoutesClient:
193
194
  raise GatewayTimeoutError(
194
195
  headers=dict(_response.headers),
195
196
  body=typing.cast(
196
- typing.Optional[typing.Any],
197
+ typing.Any,
197
198
  parse_obj_as(
198
- type_=typing.Optional[typing.Any], # type: ignore
199
+ type_=typing.Any, # type: ignore
199
200
  object_=_response.json(),
200
201
  ),
201
202
  ),
@@ -305,9 +306,9 @@ class RawRoutesClient:
305
306
  raise UnauthorizedError(
306
307
  headers=dict(_response.headers),
307
308
  body=typing.cast(
308
- typing.Optional[typing.Any],
309
+ typing.Any,
309
310
  parse_obj_as(
310
- type_=typing.Optional[typing.Any], # type: ignore
311
+ type_=typing.Any, # type: ignore
311
312
  object_=_response.json(),
312
313
  ),
313
314
  ),
@@ -316,9 +317,9 @@ class RawRoutesClient:
316
317
  raise NotFoundError(
317
318
  headers=dict(_response.headers),
318
319
  body=typing.cast(
319
- typing.Optional[typing.Any],
320
+ typing.Any,
320
321
  parse_obj_as(
321
- type_=typing.Optional[typing.Any], # type: ignore
322
+ type_=typing.Any, # type: ignore
322
323
  object_=_response.json(),
323
324
  ),
324
325
  ),
@@ -327,9 +328,9 @@ class RawRoutesClient:
327
328
  raise MethodNotAllowedError(
328
329
  headers=dict(_response.headers),
329
330
  body=typing.cast(
330
- typing.Optional[typing.Any],
331
+ typing.Any,
331
332
  parse_obj_as(
332
- type_=typing.Optional[typing.Any], # type: ignore
333
+ type_=typing.Any, # type: ignore
333
334
  object_=_response.json(),
334
335
  ),
335
336
  ),
@@ -338,9 +339,9 @@ class RawRoutesClient:
338
339
  raise TooManyRequestsError(
339
340
  headers=dict(_response.headers),
340
341
  body=typing.cast(
341
- typing.Optional[typing.Any],
342
+ typing.Any,
342
343
  parse_obj_as(
343
- type_=typing.Optional[typing.Any], # type: ignore
344
+ type_=typing.Any, # type: ignore
344
345
  object_=_response.json(),
345
346
  ),
346
347
  ),
@@ -349,9 +350,9 @@ class RawRoutesClient:
349
350
  raise InternalServerError(
350
351
  headers=dict(_response.headers),
351
352
  body=typing.cast(
352
- typing.Optional[typing.Any],
353
+ typing.Any,
353
354
  parse_obj_as(
354
- type_=typing.Optional[typing.Any], # type: ignore
355
+ type_=typing.Any, # type: ignore
355
356
  object_=_response.json(),
356
357
  ),
357
358
  ),
@@ -360,9 +361,9 @@ class RawRoutesClient:
360
361
  raise NotImplementedError(
361
362
  headers=dict(_response.headers),
362
363
  body=typing.cast(
363
- typing.Optional[typing.Any],
364
+ typing.Any,
364
365
  parse_obj_as(
365
- type_=typing.Optional[typing.Any], # type: ignore
366
+ type_=typing.Any, # type: ignore
366
367
  object_=_response.json(),
367
368
  ),
368
369
  ),
@@ -371,9 +372,9 @@ class RawRoutesClient:
371
372
  raise BadGatewayError(
372
373
  headers=dict(_response.headers),
373
374
  body=typing.cast(
374
- typing.Optional[typing.Any],
375
+ typing.Any,
375
376
  parse_obj_as(
376
- type_=typing.Optional[typing.Any], # type: ignore
377
+ type_=typing.Any, # type: ignore
377
378
  object_=_response.json(),
378
379
  ),
379
380
  ),
@@ -382,9 +383,9 @@ class RawRoutesClient:
382
383
  raise ServiceUnavailableError(
383
384
  headers=dict(_response.headers),
384
385
  body=typing.cast(
385
- typing.Optional[typing.Any],
386
+ typing.Any,
386
387
  parse_obj_as(
387
- type_=typing.Optional[typing.Any], # type: ignore
388
+ type_=typing.Any, # type: ignore
388
389
  object_=_response.json(),
389
390
  ),
390
391
  ),
@@ -393,9 +394,9 @@ class RawRoutesClient:
393
394
  raise GatewayTimeoutError(
394
395
  headers=dict(_response.headers),
395
396
  body=typing.cast(
396
- typing.Optional[typing.Any],
397
+ typing.Any,
397
398
  parse_obj_as(
398
- type_=typing.Optional[typing.Any], # type: ignore
399
+ type_=typing.Any, # type: ignore
399
400
  object_=_response.json(),
400
401
  ),
401
402
  ),
@@ -409,7 +410,7 @@ class RawRoutesClient:
409
410
  self,
410
411
  *,
411
412
  after: typing.Optional[str] = None,
412
- expand: typing.Optional[typing.Literal["route"]] = None,
413
+ expand: typing.Optional[GetRoutesFeedRequestExpand] = None,
413
414
  request_options: typing.Optional[RequestOptions] = None,
414
415
  ) -> HttpResponse[RoutesGetRoutesFeedResponseBody]:
415
416
  """
@@ -429,7 +430,7 @@ class RawRoutesClient:
429
430
  after : typing.Optional[str]
430
431
  If specified, this should be the endCursor value from the previous page of results. When present, this request will return the next page of results that occur immediately after the previous page of results.
431
432
 
432
- expand : typing.Optional[typing.Literal["route"]]
433
+ expand : typing.Optional[GetRoutesFeedRequestExpand]
433
434
  Expands the specified value(s) in the response object. Expansion populates additional fields in an object, if supported. Unsupported fields are ignored. To expand multiple fields, input a comma-separated list.
434
435
 
435
436
  Valid value: `route` Valid values: `route`
@@ -465,9 +466,9 @@ class RawRoutesClient:
465
466
  raise UnauthorizedError(
466
467
  headers=dict(_response.headers),
467
468
  body=typing.cast(
468
- typing.Optional[typing.Any],
469
+ typing.Any,
469
470
  parse_obj_as(
470
- type_=typing.Optional[typing.Any], # type: ignore
471
+ type_=typing.Any, # type: ignore
471
472
  object_=_response.json(),
472
473
  ),
473
474
  ),
@@ -476,9 +477,9 @@ class RawRoutesClient:
476
477
  raise NotFoundError(
477
478
  headers=dict(_response.headers),
478
479
  body=typing.cast(
479
- typing.Optional[typing.Any],
480
+ typing.Any,
480
481
  parse_obj_as(
481
- type_=typing.Optional[typing.Any], # type: ignore
482
+ type_=typing.Any, # type: ignore
482
483
  object_=_response.json(),
483
484
  ),
484
485
  ),
@@ -487,9 +488,9 @@ class RawRoutesClient:
487
488
  raise MethodNotAllowedError(
488
489
  headers=dict(_response.headers),
489
490
  body=typing.cast(
490
- typing.Optional[typing.Any],
491
+ typing.Any,
491
492
  parse_obj_as(
492
- type_=typing.Optional[typing.Any], # type: ignore
493
+ type_=typing.Any, # type: ignore
493
494
  object_=_response.json(),
494
495
  ),
495
496
  ),
@@ -498,9 +499,9 @@ class RawRoutesClient:
498
499
  raise TooManyRequestsError(
499
500
  headers=dict(_response.headers),
500
501
  body=typing.cast(
501
- typing.Optional[typing.Any],
502
+ typing.Any,
502
503
  parse_obj_as(
503
- type_=typing.Optional[typing.Any], # type: ignore
504
+ type_=typing.Any, # type: ignore
504
505
  object_=_response.json(),
505
506
  ),
506
507
  ),
@@ -509,9 +510,9 @@ class RawRoutesClient:
509
510
  raise InternalServerError(
510
511
  headers=dict(_response.headers),
511
512
  body=typing.cast(
512
- typing.Optional[typing.Any],
513
+ typing.Any,
513
514
  parse_obj_as(
514
- type_=typing.Optional[typing.Any], # type: ignore
515
+ type_=typing.Any, # type: ignore
515
516
  object_=_response.json(),
516
517
  ),
517
518
  ),
@@ -520,9 +521,9 @@ class RawRoutesClient:
520
521
  raise NotImplementedError(
521
522
  headers=dict(_response.headers),
522
523
  body=typing.cast(
523
- typing.Optional[typing.Any],
524
+ typing.Any,
524
525
  parse_obj_as(
525
- type_=typing.Optional[typing.Any], # type: ignore
526
+ type_=typing.Any, # type: ignore
526
527
  object_=_response.json(),
527
528
  ),
528
529
  ),
@@ -531,9 +532,9 @@ class RawRoutesClient:
531
532
  raise BadGatewayError(
532
533
  headers=dict(_response.headers),
533
534
  body=typing.cast(
534
- typing.Optional[typing.Any],
535
+ typing.Any,
535
536
  parse_obj_as(
536
- type_=typing.Optional[typing.Any], # type: ignore
537
+ type_=typing.Any, # type: ignore
537
538
  object_=_response.json(),
538
539
  ),
539
540
  ),
@@ -542,9 +543,9 @@ class RawRoutesClient:
542
543
  raise ServiceUnavailableError(
543
544
  headers=dict(_response.headers),
544
545
  body=typing.cast(
545
- typing.Optional[typing.Any],
546
+ typing.Any,
546
547
  parse_obj_as(
547
- type_=typing.Optional[typing.Any], # type: ignore
548
+ type_=typing.Any, # type: ignore
548
549
  object_=_response.json(),
549
550
  ),
550
551
  ),
@@ -553,9 +554,9 @@ class RawRoutesClient:
553
554
  raise GatewayTimeoutError(
554
555
  headers=dict(_response.headers),
555
556
  body=typing.cast(
556
- typing.Optional[typing.Any],
557
+ typing.Any,
557
558
  parse_obj_as(
558
- type_=typing.Optional[typing.Any], # type: ignore
559
+ type_=typing.Any, # type: ignore
559
560
  object_=_response.json(),
560
561
  ),
561
562
  ),
@@ -610,9 +611,9 @@ class RawRoutesClient:
610
611
  raise UnauthorizedError(
611
612
  headers=dict(_response.headers),
612
613
  body=typing.cast(
613
- typing.Optional[typing.Any],
614
+ typing.Any,
614
615
  parse_obj_as(
615
- type_=typing.Optional[typing.Any], # type: ignore
616
+ type_=typing.Any, # type: ignore
616
617
  object_=_response.json(),
617
618
  ),
618
619
  ),
@@ -621,9 +622,9 @@ class RawRoutesClient:
621
622
  raise NotFoundError(
622
623
  headers=dict(_response.headers),
623
624
  body=typing.cast(
624
- typing.Optional[typing.Any],
625
+ typing.Any,
625
626
  parse_obj_as(
626
- type_=typing.Optional[typing.Any], # type: ignore
627
+ type_=typing.Any, # type: ignore
627
628
  object_=_response.json(),
628
629
  ),
629
630
  ),
@@ -632,9 +633,9 @@ class RawRoutesClient:
632
633
  raise MethodNotAllowedError(
633
634
  headers=dict(_response.headers),
634
635
  body=typing.cast(
635
- typing.Optional[typing.Any],
636
+ typing.Any,
636
637
  parse_obj_as(
637
- type_=typing.Optional[typing.Any], # type: ignore
638
+ type_=typing.Any, # type: ignore
638
639
  object_=_response.json(),
639
640
  ),
640
641
  ),
@@ -643,9 +644,9 @@ class RawRoutesClient:
643
644
  raise TooManyRequestsError(
644
645
  headers=dict(_response.headers),
645
646
  body=typing.cast(
646
- typing.Optional[typing.Any],
647
+ typing.Any,
647
648
  parse_obj_as(
648
- type_=typing.Optional[typing.Any], # type: ignore
649
+ type_=typing.Any, # type: ignore
649
650
  object_=_response.json(),
650
651
  ),
651
652
  ),
@@ -654,9 +655,9 @@ class RawRoutesClient:
654
655
  raise InternalServerError(
655
656
  headers=dict(_response.headers),
656
657
  body=typing.cast(
657
- typing.Optional[typing.Any],
658
+ typing.Any,
658
659
  parse_obj_as(
659
- type_=typing.Optional[typing.Any], # type: ignore
660
+ type_=typing.Any, # type: ignore
660
661
  object_=_response.json(),
661
662
  ),
662
663
  ),
@@ -665,9 +666,9 @@ class RawRoutesClient:
665
666
  raise NotImplementedError(
666
667
  headers=dict(_response.headers),
667
668
  body=typing.cast(
668
- typing.Optional[typing.Any],
669
+ typing.Any,
669
670
  parse_obj_as(
670
- type_=typing.Optional[typing.Any], # type: ignore
671
+ type_=typing.Any, # type: ignore
671
672
  object_=_response.json(),
672
673
  ),
673
674
  ),
@@ -676,9 +677,9 @@ class RawRoutesClient:
676
677
  raise BadGatewayError(
677
678
  headers=dict(_response.headers),
678
679
  body=typing.cast(
679
- typing.Optional[typing.Any],
680
+ typing.Any,
680
681
  parse_obj_as(
681
- type_=typing.Optional[typing.Any], # type: ignore
682
+ type_=typing.Any, # type: ignore
682
683
  object_=_response.json(),
683
684
  ),
684
685
  ),
@@ -687,9 +688,9 @@ class RawRoutesClient:
687
688
  raise ServiceUnavailableError(
688
689
  headers=dict(_response.headers),
689
690
  body=typing.cast(
690
- typing.Optional[typing.Any],
691
+ typing.Any,
691
692
  parse_obj_as(
692
- type_=typing.Optional[typing.Any], # type: ignore
693
+ type_=typing.Any, # type: ignore
693
694
  object_=_response.json(),
694
695
  ),
695
696
  ),
@@ -698,9 +699,9 @@ class RawRoutesClient:
698
699
  raise GatewayTimeoutError(
699
700
  headers=dict(_response.headers),
700
701
  body=typing.cast(
701
- typing.Optional[typing.Any],
702
+ typing.Any,
702
703
  parse_obj_as(
703
- type_=typing.Optional[typing.Any], # type: ignore
704
+ type_=typing.Any, # type: ignore
704
705
  object_=_response.json(),
705
706
  ),
706
707
  ),
@@ -745,9 +746,9 @@ class RawRoutesClient:
745
746
  raise UnauthorizedError(
746
747
  headers=dict(_response.headers),
747
748
  body=typing.cast(
748
- typing.Optional[typing.Any],
749
+ typing.Any,
749
750
  parse_obj_as(
750
- type_=typing.Optional[typing.Any], # type: ignore
751
+ type_=typing.Any, # type: ignore
751
752
  object_=_response.json(),
752
753
  ),
753
754
  ),
@@ -756,9 +757,9 @@ class RawRoutesClient:
756
757
  raise NotFoundError(
757
758
  headers=dict(_response.headers),
758
759
  body=typing.cast(
759
- typing.Optional[typing.Any],
760
+ typing.Any,
760
761
  parse_obj_as(
761
- type_=typing.Optional[typing.Any], # type: ignore
762
+ type_=typing.Any, # type: ignore
762
763
  object_=_response.json(),
763
764
  ),
764
765
  ),
@@ -767,9 +768,9 @@ class RawRoutesClient:
767
768
  raise MethodNotAllowedError(
768
769
  headers=dict(_response.headers),
769
770
  body=typing.cast(
770
- typing.Optional[typing.Any],
771
+ typing.Any,
771
772
  parse_obj_as(
772
- type_=typing.Optional[typing.Any], # type: ignore
773
+ type_=typing.Any, # type: ignore
773
774
  object_=_response.json(),
774
775
  ),
775
776
  ),
@@ -778,9 +779,9 @@ class RawRoutesClient:
778
779
  raise TooManyRequestsError(
779
780
  headers=dict(_response.headers),
780
781
  body=typing.cast(
781
- typing.Optional[typing.Any],
782
+ typing.Any,
782
783
  parse_obj_as(
783
- type_=typing.Optional[typing.Any], # type: ignore
784
+ type_=typing.Any, # type: ignore
784
785
  object_=_response.json(),
785
786
  ),
786
787
  ),
@@ -789,9 +790,9 @@ class RawRoutesClient:
789
790
  raise InternalServerError(
790
791
  headers=dict(_response.headers),
791
792
  body=typing.cast(
792
- typing.Optional[typing.Any],
793
+ typing.Any,
793
794
  parse_obj_as(
794
- type_=typing.Optional[typing.Any], # type: ignore
795
+ type_=typing.Any, # type: ignore
795
796
  object_=_response.json(),
796
797
  ),
797
798
  ),
@@ -800,9 +801,9 @@ class RawRoutesClient:
800
801
  raise NotImplementedError(
801
802
  headers=dict(_response.headers),
802
803
  body=typing.cast(
803
- typing.Optional[typing.Any],
804
+ typing.Any,
804
805
  parse_obj_as(
805
- type_=typing.Optional[typing.Any], # type: ignore
806
+ type_=typing.Any, # type: ignore
806
807
  object_=_response.json(),
807
808
  ),
808
809
  ),
@@ -811,9 +812,9 @@ class RawRoutesClient:
811
812
  raise BadGatewayError(
812
813
  headers=dict(_response.headers),
813
814
  body=typing.cast(
814
- typing.Optional[typing.Any],
815
+ typing.Any,
815
816
  parse_obj_as(
816
- type_=typing.Optional[typing.Any], # type: ignore
817
+ type_=typing.Any, # type: ignore
817
818
  object_=_response.json(),
818
819
  ),
819
820
  ),
@@ -822,9 +823,9 @@ class RawRoutesClient:
822
823
  raise ServiceUnavailableError(
823
824
  headers=dict(_response.headers),
824
825
  body=typing.cast(
825
- typing.Optional[typing.Any],
826
+ typing.Any,
826
827
  parse_obj_as(
827
- type_=typing.Optional[typing.Any], # type: ignore
828
+ type_=typing.Any, # type: ignore
828
829
  object_=_response.json(),
829
830
  ),
830
831
  ),
@@ -833,9 +834,9 @@ class RawRoutesClient:
833
834
  raise GatewayTimeoutError(
834
835
  headers=dict(_response.headers),
835
836
  body=typing.cast(
836
- typing.Optional[typing.Any],
837
+ typing.Any,
837
838
  parse_obj_as(
838
- type_=typing.Optional[typing.Any], # type: ignore
839
+ type_=typing.Any, # type: ignore
839
840
  object_=_response.json(),
840
841
  ),
841
842
  ),
@@ -953,9 +954,9 @@ class RawRoutesClient:
953
954
  raise UnauthorizedError(
954
955
  headers=dict(_response.headers),
955
956
  body=typing.cast(
956
- typing.Optional[typing.Any],
957
+ typing.Any,
957
958
  parse_obj_as(
958
- type_=typing.Optional[typing.Any], # type: ignore
959
+ type_=typing.Any, # type: ignore
959
960
  object_=_response.json(),
960
961
  ),
961
962
  ),
@@ -964,9 +965,9 @@ class RawRoutesClient:
964
965
  raise NotFoundError(
965
966
  headers=dict(_response.headers),
966
967
  body=typing.cast(
967
- typing.Optional[typing.Any],
968
+ typing.Any,
968
969
  parse_obj_as(
969
- type_=typing.Optional[typing.Any], # type: ignore
970
+ type_=typing.Any, # type: ignore
970
971
  object_=_response.json(),
971
972
  ),
972
973
  ),
@@ -975,9 +976,9 @@ class RawRoutesClient:
975
976
  raise MethodNotAllowedError(
976
977
  headers=dict(_response.headers),
977
978
  body=typing.cast(
978
- typing.Optional[typing.Any],
979
+ typing.Any,
979
980
  parse_obj_as(
980
- type_=typing.Optional[typing.Any], # type: ignore
981
+ type_=typing.Any, # type: ignore
981
982
  object_=_response.json(),
982
983
  ),
983
984
  ),
@@ -986,9 +987,9 @@ class RawRoutesClient:
986
987
  raise TooManyRequestsError(
987
988
  headers=dict(_response.headers),
988
989
  body=typing.cast(
989
- typing.Optional[typing.Any],
990
+ typing.Any,
990
991
  parse_obj_as(
991
- type_=typing.Optional[typing.Any], # type: ignore
992
+ type_=typing.Any, # type: ignore
992
993
  object_=_response.json(),
993
994
  ),
994
995
  ),
@@ -997,9 +998,9 @@ class RawRoutesClient:
997
998
  raise InternalServerError(
998
999
  headers=dict(_response.headers),
999
1000
  body=typing.cast(
1000
- typing.Optional[typing.Any],
1001
+ typing.Any,
1001
1002
  parse_obj_as(
1002
- type_=typing.Optional[typing.Any], # type: ignore
1003
+ type_=typing.Any, # type: ignore
1003
1004
  object_=_response.json(),
1004
1005
  ),
1005
1006
  ),
@@ -1008,9 +1009,9 @@ class RawRoutesClient:
1008
1009
  raise NotImplementedError(
1009
1010
  headers=dict(_response.headers),
1010
1011
  body=typing.cast(
1011
- typing.Optional[typing.Any],
1012
+ typing.Any,
1012
1013
  parse_obj_as(
1013
- type_=typing.Optional[typing.Any], # type: ignore
1014
+ type_=typing.Any, # type: ignore
1014
1015
  object_=_response.json(),
1015
1016
  ),
1016
1017
  ),
@@ -1019,9 +1020,9 @@ class RawRoutesClient:
1019
1020
  raise BadGatewayError(
1020
1021
  headers=dict(_response.headers),
1021
1022
  body=typing.cast(
1022
- typing.Optional[typing.Any],
1023
+ typing.Any,
1023
1024
  parse_obj_as(
1024
- type_=typing.Optional[typing.Any], # type: ignore
1025
+ type_=typing.Any, # type: ignore
1025
1026
  object_=_response.json(),
1026
1027
  ),
1027
1028
  ),
@@ -1030,9 +1031,9 @@ class RawRoutesClient:
1030
1031
  raise ServiceUnavailableError(
1031
1032
  headers=dict(_response.headers),
1032
1033
  body=typing.cast(
1033
- typing.Optional[typing.Any],
1034
+ typing.Any,
1034
1035
  parse_obj_as(
1035
- type_=typing.Optional[typing.Any], # type: ignore
1036
+ type_=typing.Any, # type: ignore
1036
1037
  object_=_response.json(),
1037
1038
  ),
1038
1039
  ),
@@ -1041,9 +1042,9 @@ class RawRoutesClient:
1041
1042
  raise GatewayTimeoutError(
1042
1043
  headers=dict(_response.headers),
1043
1044
  body=typing.cast(
1044
- typing.Optional[typing.Any],
1045
+ typing.Any,
1045
1046
  parse_obj_as(
1046
- type_=typing.Optional[typing.Any], # type: ignore
1047
+ type_=typing.Any, # type: ignore
1047
1048
  object_=_response.json(),
1048
1049
  ),
1049
1050
  ),
@@ -1129,9 +1130,9 @@ class RawRoutesClient:
1129
1130
  raise UnauthorizedError(
1130
1131
  headers=dict(_response.headers),
1131
1132
  body=typing.cast(
1132
- typing.Optional[typing.Any],
1133
+ typing.Any,
1133
1134
  parse_obj_as(
1134
- type_=typing.Optional[typing.Any], # type: ignore
1135
+ type_=typing.Any, # type: ignore
1135
1136
  object_=_response.json(),
1136
1137
  ),
1137
1138
  ),
@@ -1140,9 +1141,9 @@ class RawRoutesClient:
1140
1141
  raise NotFoundError(
1141
1142
  headers=dict(_response.headers),
1142
1143
  body=typing.cast(
1143
- typing.Optional[typing.Any],
1144
+ typing.Any,
1144
1145
  parse_obj_as(
1145
- type_=typing.Optional[typing.Any], # type: ignore
1146
+ type_=typing.Any, # type: ignore
1146
1147
  object_=_response.json(),
1147
1148
  ),
1148
1149
  ),
@@ -1151,9 +1152,9 @@ class RawRoutesClient:
1151
1152
  raise MethodNotAllowedError(
1152
1153
  headers=dict(_response.headers),
1153
1154
  body=typing.cast(
1154
- typing.Optional[typing.Any],
1155
+ typing.Any,
1155
1156
  parse_obj_as(
1156
- type_=typing.Optional[typing.Any], # type: ignore
1157
+ type_=typing.Any, # type: ignore
1157
1158
  object_=_response.json(),
1158
1159
  ),
1159
1160
  ),
@@ -1162,9 +1163,9 @@ class RawRoutesClient:
1162
1163
  raise TooManyRequestsError(
1163
1164
  headers=dict(_response.headers),
1164
1165
  body=typing.cast(
1165
- typing.Optional[typing.Any],
1166
+ typing.Any,
1166
1167
  parse_obj_as(
1167
- type_=typing.Optional[typing.Any], # type: ignore
1168
+ type_=typing.Any, # type: ignore
1168
1169
  object_=_response.json(),
1169
1170
  ),
1170
1171
  ),
@@ -1173,9 +1174,9 @@ class RawRoutesClient:
1173
1174
  raise InternalServerError(
1174
1175
  headers=dict(_response.headers),
1175
1176
  body=typing.cast(
1176
- typing.Optional[typing.Any],
1177
+ typing.Any,
1177
1178
  parse_obj_as(
1178
- type_=typing.Optional[typing.Any], # type: ignore
1179
+ type_=typing.Any, # type: ignore
1179
1180
  object_=_response.json(),
1180
1181
  ),
1181
1182
  ),
@@ -1184,9 +1185,9 @@ class RawRoutesClient:
1184
1185
  raise NotImplementedError(
1185
1186
  headers=dict(_response.headers),
1186
1187
  body=typing.cast(
1187
- typing.Optional[typing.Any],
1188
+ typing.Any,
1188
1189
  parse_obj_as(
1189
- type_=typing.Optional[typing.Any], # type: ignore
1190
+ type_=typing.Any, # type: ignore
1190
1191
  object_=_response.json(),
1191
1192
  ),
1192
1193
  ),
@@ -1195,9 +1196,9 @@ class RawRoutesClient:
1195
1196
  raise BadGatewayError(
1196
1197
  headers=dict(_response.headers),
1197
1198
  body=typing.cast(
1198
- typing.Optional[typing.Any],
1199
+ typing.Any,
1199
1200
  parse_obj_as(
1200
- type_=typing.Optional[typing.Any], # type: ignore
1201
+ type_=typing.Any, # type: ignore
1201
1202
  object_=_response.json(),
1202
1203
  ),
1203
1204
  ),
@@ -1206,9 +1207,9 @@ class RawRoutesClient:
1206
1207
  raise ServiceUnavailableError(
1207
1208
  headers=dict(_response.headers),
1208
1209
  body=typing.cast(
1209
- typing.Optional[typing.Any],
1210
+ typing.Any,
1210
1211
  parse_obj_as(
1211
- type_=typing.Optional[typing.Any], # type: ignore
1212
+ type_=typing.Any, # type: ignore
1212
1213
  object_=_response.json(),
1213
1214
  ),
1214
1215
  ),
@@ -1217,9 +1218,9 @@ class RawRoutesClient:
1217
1218
  raise GatewayTimeoutError(
1218
1219
  headers=dict(_response.headers),
1219
1220
  body=typing.cast(
1220
- typing.Optional[typing.Any],
1221
+ typing.Any,
1221
1222
  parse_obj_as(
1222
- type_=typing.Optional[typing.Any], # type: ignore
1223
+ type_=typing.Any, # type: ignore
1223
1224
  object_=_response.json(),
1224
1225
  ),
1225
1226
  ),
@@ -1356,9 +1357,9 @@ class AsyncRawRoutesClient:
1356
1357
  raise UnauthorizedError(
1357
1358
  headers=dict(_response.headers),
1358
1359
  body=typing.cast(
1359
- typing.Optional[typing.Any],
1360
+ typing.Any,
1360
1361
  parse_obj_as(
1361
- type_=typing.Optional[typing.Any], # type: ignore
1362
+ type_=typing.Any, # type: ignore
1362
1363
  object_=_response.json(),
1363
1364
  ),
1364
1365
  ),
@@ -1367,9 +1368,9 @@ class AsyncRawRoutesClient:
1367
1368
  raise NotFoundError(
1368
1369
  headers=dict(_response.headers),
1369
1370
  body=typing.cast(
1370
- typing.Optional[typing.Any],
1371
+ typing.Any,
1371
1372
  parse_obj_as(
1372
- type_=typing.Optional[typing.Any], # type: ignore
1373
+ type_=typing.Any, # type: ignore
1373
1374
  object_=_response.json(),
1374
1375
  ),
1375
1376
  ),
@@ -1378,9 +1379,9 @@ class AsyncRawRoutesClient:
1378
1379
  raise MethodNotAllowedError(
1379
1380
  headers=dict(_response.headers),
1380
1381
  body=typing.cast(
1381
- typing.Optional[typing.Any],
1382
+ typing.Any,
1382
1383
  parse_obj_as(
1383
- type_=typing.Optional[typing.Any], # type: ignore
1384
+ type_=typing.Any, # type: ignore
1384
1385
  object_=_response.json(),
1385
1386
  ),
1386
1387
  ),
@@ -1389,9 +1390,9 @@ class AsyncRawRoutesClient:
1389
1390
  raise TooManyRequestsError(
1390
1391
  headers=dict(_response.headers),
1391
1392
  body=typing.cast(
1392
- typing.Optional[typing.Any],
1393
+ typing.Any,
1393
1394
  parse_obj_as(
1394
- type_=typing.Optional[typing.Any], # type: ignore
1395
+ type_=typing.Any, # type: ignore
1395
1396
  object_=_response.json(),
1396
1397
  ),
1397
1398
  ),
@@ -1400,9 +1401,9 @@ class AsyncRawRoutesClient:
1400
1401
  raise InternalServerError(
1401
1402
  headers=dict(_response.headers),
1402
1403
  body=typing.cast(
1403
- typing.Optional[typing.Any],
1404
+ typing.Any,
1404
1405
  parse_obj_as(
1405
- type_=typing.Optional[typing.Any], # type: ignore
1406
+ type_=typing.Any, # type: ignore
1406
1407
  object_=_response.json(),
1407
1408
  ),
1408
1409
  ),
@@ -1411,9 +1412,9 @@ class AsyncRawRoutesClient:
1411
1412
  raise NotImplementedError(
1412
1413
  headers=dict(_response.headers),
1413
1414
  body=typing.cast(
1414
- typing.Optional[typing.Any],
1415
+ typing.Any,
1415
1416
  parse_obj_as(
1416
- type_=typing.Optional[typing.Any], # type: ignore
1417
+ type_=typing.Any, # type: ignore
1417
1418
  object_=_response.json(),
1418
1419
  ),
1419
1420
  ),
@@ -1422,9 +1423,9 @@ class AsyncRawRoutesClient:
1422
1423
  raise BadGatewayError(
1423
1424
  headers=dict(_response.headers),
1424
1425
  body=typing.cast(
1425
- typing.Optional[typing.Any],
1426
+ typing.Any,
1426
1427
  parse_obj_as(
1427
- type_=typing.Optional[typing.Any], # type: ignore
1428
+ type_=typing.Any, # type: ignore
1428
1429
  object_=_response.json(),
1429
1430
  ),
1430
1431
  ),
@@ -1433,9 +1434,9 @@ class AsyncRawRoutesClient:
1433
1434
  raise ServiceUnavailableError(
1434
1435
  headers=dict(_response.headers),
1435
1436
  body=typing.cast(
1436
- typing.Optional[typing.Any],
1437
+ typing.Any,
1437
1438
  parse_obj_as(
1438
- type_=typing.Optional[typing.Any], # type: ignore
1439
+ type_=typing.Any, # type: ignore
1439
1440
  object_=_response.json(),
1440
1441
  ),
1441
1442
  ),
@@ -1444,9 +1445,9 @@ class AsyncRawRoutesClient:
1444
1445
  raise GatewayTimeoutError(
1445
1446
  headers=dict(_response.headers),
1446
1447
  body=typing.cast(
1447
- typing.Optional[typing.Any],
1448
+ typing.Any,
1448
1449
  parse_obj_as(
1449
- type_=typing.Optional[typing.Any], # type: ignore
1450
+ type_=typing.Any, # type: ignore
1450
1451
  object_=_response.json(),
1451
1452
  ),
1452
1453
  ),
@@ -1556,9 +1557,9 @@ class AsyncRawRoutesClient:
1556
1557
  raise UnauthorizedError(
1557
1558
  headers=dict(_response.headers),
1558
1559
  body=typing.cast(
1559
- typing.Optional[typing.Any],
1560
+ typing.Any,
1560
1561
  parse_obj_as(
1561
- type_=typing.Optional[typing.Any], # type: ignore
1562
+ type_=typing.Any, # type: ignore
1562
1563
  object_=_response.json(),
1563
1564
  ),
1564
1565
  ),
@@ -1567,9 +1568,9 @@ class AsyncRawRoutesClient:
1567
1568
  raise NotFoundError(
1568
1569
  headers=dict(_response.headers),
1569
1570
  body=typing.cast(
1570
- typing.Optional[typing.Any],
1571
+ typing.Any,
1571
1572
  parse_obj_as(
1572
- type_=typing.Optional[typing.Any], # type: ignore
1573
+ type_=typing.Any, # type: ignore
1573
1574
  object_=_response.json(),
1574
1575
  ),
1575
1576
  ),
@@ -1578,9 +1579,9 @@ class AsyncRawRoutesClient:
1578
1579
  raise MethodNotAllowedError(
1579
1580
  headers=dict(_response.headers),
1580
1581
  body=typing.cast(
1581
- typing.Optional[typing.Any],
1582
+ typing.Any,
1582
1583
  parse_obj_as(
1583
- type_=typing.Optional[typing.Any], # type: ignore
1584
+ type_=typing.Any, # type: ignore
1584
1585
  object_=_response.json(),
1585
1586
  ),
1586
1587
  ),
@@ -1589,9 +1590,9 @@ class AsyncRawRoutesClient:
1589
1590
  raise TooManyRequestsError(
1590
1591
  headers=dict(_response.headers),
1591
1592
  body=typing.cast(
1592
- typing.Optional[typing.Any],
1593
+ typing.Any,
1593
1594
  parse_obj_as(
1594
- type_=typing.Optional[typing.Any], # type: ignore
1595
+ type_=typing.Any, # type: ignore
1595
1596
  object_=_response.json(),
1596
1597
  ),
1597
1598
  ),
@@ -1600,9 +1601,9 @@ class AsyncRawRoutesClient:
1600
1601
  raise InternalServerError(
1601
1602
  headers=dict(_response.headers),
1602
1603
  body=typing.cast(
1603
- typing.Optional[typing.Any],
1604
+ typing.Any,
1604
1605
  parse_obj_as(
1605
- type_=typing.Optional[typing.Any], # type: ignore
1606
+ type_=typing.Any, # type: ignore
1606
1607
  object_=_response.json(),
1607
1608
  ),
1608
1609
  ),
@@ -1611,9 +1612,9 @@ class AsyncRawRoutesClient:
1611
1612
  raise NotImplementedError(
1612
1613
  headers=dict(_response.headers),
1613
1614
  body=typing.cast(
1614
- typing.Optional[typing.Any],
1615
+ typing.Any,
1615
1616
  parse_obj_as(
1616
- type_=typing.Optional[typing.Any], # type: ignore
1617
+ type_=typing.Any, # type: ignore
1617
1618
  object_=_response.json(),
1618
1619
  ),
1619
1620
  ),
@@ -1622,9 +1623,9 @@ class AsyncRawRoutesClient:
1622
1623
  raise BadGatewayError(
1623
1624
  headers=dict(_response.headers),
1624
1625
  body=typing.cast(
1625
- typing.Optional[typing.Any],
1626
+ typing.Any,
1626
1627
  parse_obj_as(
1627
- type_=typing.Optional[typing.Any], # type: ignore
1628
+ type_=typing.Any, # type: ignore
1628
1629
  object_=_response.json(),
1629
1630
  ),
1630
1631
  ),
@@ -1633,9 +1634,9 @@ class AsyncRawRoutesClient:
1633
1634
  raise ServiceUnavailableError(
1634
1635
  headers=dict(_response.headers),
1635
1636
  body=typing.cast(
1636
- typing.Optional[typing.Any],
1637
+ typing.Any,
1637
1638
  parse_obj_as(
1638
- type_=typing.Optional[typing.Any], # type: ignore
1639
+ type_=typing.Any, # type: ignore
1639
1640
  object_=_response.json(),
1640
1641
  ),
1641
1642
  ),
@@ -1644,9 +1645,9 @@ class AsyncRawRoutesClient:
1644
1645
  raise GatewayTimeoutError(
1645
1646
  headers=dict(_response.headers),
1646
1647
  body=typing.cast(
1647
- typing.Optional[typing.Any],
1648
+ typing.Any,
1648
1649
  parse_obj_as(
1649
- type_=typing.Optional[typing.Any], # type: ignore
1650
+ type_=typing.Any, # type: ignore
1650
1651
  object_=_response.json(),
1651
1652
  ),
1652
1653
  ),
@@ -1660,7 +1661,7 @@ class AsyncRawRoutesClient:
1660
1661
  self,
1661
1662
  *,
1662
1663
  after: typing.Optional[str] = None,
1663
- expand: typing.Optional[typing.Literal["route"]] = None,
1664
+ expand: typing.Optional[GetRoutesFeedRequestExpand] = None,
1664
1665
  request_options: typing.Optional[RequestOptions] = None,
1665
1666
  ) -> AsyncHttpResponse[RoutesGetRoutesFeedResponseBody]:
1666
1667
  """
@@ -1680,7 +1681,7 @@ class AsyncRawRoutesClient:
1680
1681
  after : typing.Optional[str]
1681
1682
  If specified, this should be the endCursor value from the previous page of results. When present, this request will return the next page of results that occur immediately after the previous page of results.
1682
1683
 
1683
- expand : typing.Optional[typing.Literal["route"]]
1684
+ expand : typing.Optional[GetRoutesFeedRequestExpand]
1684
1685
  Expands the specified value(s) in the response object. Expansion populates additional fields in an object, if supported. Unsupported fields are ignored. To expand multiple fields, input a comma-separated list.
1685
1686
 
1686
1687
  Valid value: `route` Valid values: `route`
@@ -1716,9 +1717,9 @@ class AsyncRawRoutesClient:
1716
1717
  raise UnauthorizedError(
1717
1718
  headers=dict(_response.headers),
1718
1719
  body=typing.cast(
1719
- typing.Optional[typing.Any],
1720
+ typing.Any,
1720
1721
  parse_obj_as(
1721
- type_=typing.Optional[typing.Any], # type: ignore
1722
+ type_=typing.Any, # type: ignore
1722
1723
  object_=_response.json(),
1723
1724
  ),
1724
1725
  ),
@@ -1727,9 +1728,9 @@ class AsyncRawRoutesClient:
1727
1728
  raise NotFoundError(
1728
1729
  headers=dict(_response.headers),
1729
1730
  body=typing.cast(
1730
- typing.Optional[typing.Any],
1731
+ typing.Any,
1731
1732
  parse_obj_as(
1732
- type_=typing.Optional[typing.Any], # type: ignore
1733
+ type_=typing.Any, # type: ignore
1733
1734
  object_=_response.json(),
1734
1735
  ),
1735
1736
  ),
@@ -1738,9 +1739,9 @@ class AsyncRawRoutesClient:
1738
1739
  raise MethodNotAllowedError(
1739
1740
  headers=dict(_response.headers),
1740
1741
  body=typing.cast(
1741
- typing.Optional[typing.Any],
1742
+ typing.Any,
1742
1743
  parse_obj_as(
1743
- type_=typing.Optional[typing.Any], # type: ignore
1744
+ type_=typing.Any, # type: ignore
1744
1745
  object_=_response.json(),
1745
1746
  ),
1746
1747
  ),
@@ -1749,9 +1750,9 @@ class AsyncRawRoutesClient:
1749
1750
  raise TooManyRequestsError(
1750
1751
  headers=dict(_response.headers),
1751
1752
  body=typing.cast(
1752
- typing.Optional[typing.Any],
1753
+ typing.Any,
1753
1754
  parse_obj_as(
1754
- type_=typing.Optional[typing.Any], # type: ignore
1755
+ type_=typing.Any, # type: ignore
1755
1756
  object_=_response.json(),
1756
1757
  ),
1757
1758
  ),
@@ -1760,9 +1761,9 @@ class AsyncRawRoutesClient:
1760
1761
  raise InternalServerError(
1761
1762
  headers=dict(_response.headers),
1762
1763
  body=typing.cast(
1763
- typing.Optional[typing.Any],
1764
+ typing.Any,
1764
1765
  parse_obj_as(
1765
- type_=typing.Optional[typing.Any], # type: ignore
1766
+ type_=typing.Any, # type: ignore
1766
1767
  object_=_response.json(),
1767
1768
  ),
1768
1769
  ),
@@ -1771,9 +1772,9 @@ class AsyncRawRoutesClient:
1771
1772
  raise NotImplementedError(
1772
1773
  headers=dict(_response.headers),
1773
1774
  body=typing.cast(
1774
- typing.Optional[typing.Any],
1775
+ typing.Any,
1775
1776
  parse_obj_as(
1776
- type_=typing.Optional[typing.Any], # type: ignore
1777
+ type_=typing.Any, # type: ignore
1777
1778
  object_=_response.json(),
1778
1779
  ),
1779
1780
  ),
@@ -1782,9 +1783,9 @@ class AsyncRawRoutesClient:
1782
1783
  raise BadGatewayError(
1783
1784
  headers=dict(_response.headers),
1784
1785
  body=typing.cast(
1785
- typing.Optional[typing.Any],
1786
+ typing.Any,
1786
1787
  parse_obj_as(
1787
- type_=typing.Optional[typing.Any], # type: ignore
1788
+ type_=typing.Any, # type: ignore
1788
1789
  object_=_response.json(),
1789
1790
  ),
1790
1791
  ),
@@ -1793,9 +1794,9 @@ class AsyncRawRoutesClient:
1793
1794
  raise ServiceUnavailableError(
1794
1795
  headers=dict(_response.headers),
1795
1796
  body=typing.cast(
1796
- typing.Optional[typing.Any],
1797
+ typing.Any,
1797
1798
  parse_obj_as(
1798
- type_=typing.Optional[typing.Any], # type: ignore
1799
+ type_=typing.Any, # type: ignore
1799
1800
  object_=_response.json(),
1800
1801
  ),
1801
1802
  ),
@@ -1804,9 +1805,9 @@ class AsyncRawRoutesClient:
1804
1805
  raise GatewayTimeoutError(
1805
1806
  headers=dict(_response.headers),
1806
1807
  body=typing.cast(
1807
- typing.Optional[typing.Any],
1808
+ typing.Any,
1808
1809
  parse_obj_as(
1809
- type_=typing.Optional[typing.Any], # type: ignore
1810
+ type_=typing.Any, # type: ignore
1810
1811
  object_=_response.json(),
1811
1812
  ),
1812
1813
  ),
@@ -1861,9 +1862,9 @@ class AsyncRawRoutesClient:
1861
1862
  raise UnauthorizedError(
1862
1863
  headers=dict(_response.headers),
1863
1864
  body=typing.cast(
1864
- typing.Optional[typing.Any],
1865
+ typing.Any,
1865
1866
  parse_obj_as(
1866
- type_=typing.Optional[typing.Any], # type: ignore
1867
+ type_=typing.Any, # type: ignore
1867
1868
  object_=_response.json(),
1868
1869
  ),
1869
1870
  ),
@@ -1872,9 +1873,9 @@ class AsyncRawRoutesClient:
1872
1873
  raise NotFoundError(
1873
1874
  headers=dict(_response.headers),
1874
1875
  body=typing.cast(
1875
- typing.Optional[typing.Any],
1876
+ typing.Any,
1876
1877
  parse_obj_as(
1877
- type_=typing.Optional[typing.Any], # type: ignore
1878
+ type_=typing.Any, # type: ignore
1878
1879
  object_=_response.json(),
1879
1880
  ),
1880
1881
  ),
@@ -1883,9 +1884,9 @@ class AsyncRawRoutesClient:
1883
1884
  raise MethodNotAllowedError(
1884
1885
  headers=dict(_response.headers),
1885
1886
  body=typing.cast(
1886
- typing.Optional[typing.Any],
1887
+ typing.Any,
1887
1888
  parse_obj_as(
1888
- type_=typing.Optional[typing.Any], # type: ignore
1889
+ type_=typing.Any, # type: ignore
1889
1890
  object_=_response.json(),
1890
1891
  ),
1891
1892
  ),
@@ -1894,9 +1895,9 @@ class AsyncRawRoutesClient:
1894
1895
  raise TooManyRequestsError(
1895
1896
  headers=dict(_response.headers),
1896
1897
  body=typing.cast(
1897
- typing.Optional[typing.Any],
1898
+ typing.Any,
1898
1899
  parse_obj_as(
1899
- type_=typing.Optional[typing.Any], # type: ignore
1900
+ type_=typing.Any, # type: ignore
1900
1901
  object_=_response.json(),
1901
1902
  ),
1902
1903
  ),
@@ -1905,9 +1906,9 @@ class AsyncRawRoutesClient:
1905
1906
  raise InternalServerError(
1906
1907
  headers=dict(_response.headers),
1907
1908
  body=typing.cast(
1908
- typing.Optional[typing.Any],
1909
+ typing.Any,
1909
1910
  parse_obj_as(
1910
- type_=typing.Optional[typing.Any], # type: ignore
1911
+ type_=typing.Any, # type: ignore
1911
1912
  object_=_response.json(),
1912
1913
  ),
1913
1914
  ),
@@ -1916,9 +1917,9 @@ class AsyncRawRoutesClient:
1916
1917
  raise NotImplementedError(
1917
1918
  headers=dict(_response.headers),
1918
1919
  body=typing.cast(
1919
- typing.Optional[typing.Any],
1920
+ typing.Any,
1920
1921
  parse_obj_as(
1921
- type_=typing.Optional[typing.Any], # type: ignore
1922
+ type_=typing.Any, # type: ignore
1922
1923
  object_=_response.json(),
1923
1924
  ),
1924
1925
  ),
@@ -1927,9 +1928,9 @@ class AsyncRawRoutesClient:
1927
1928
  raise BadGatewayError(
1928
1929
  headers=dict(_response.headers),
1929
1930
  body=typing.cast(
1930
- typing.Optional[typing.Any],
1931
+ typing.Any,
1931
1932
  parse_obj_as(
1932
- type_=typing.Optional[typing.Any], # type: ignore
1933
+ type_=typing.Any, # type: ignore
1933
1934
  object_=_response.json(),
1934
1935
  ),
1935
1936
  ),
@@ -1938,9 +1939,9 @@ class AsyncRawRoutesClient:
1938
1939
  raise ServiceUnavailableError(
1939
1940
  headers=dict(_response.headers),
1940
1941
  body=typing.cast(
1941
- typing.Optional[typing.Any],
1942
+ typing.Any,
1942
1943
  parse_obj_as(
1943
- type_=typing.Optional[typing.Any], # type: ignore
1944
+ type_=typing.Any, # type: ignore
1944
1945
  object_=_response.json(),
1945
1946
  ),
1946
1947
  ),
@@ -1949,9 +1950,9 @@ class AsyncRawRoutesClient:
1949
1950
  raise GatewayTimeoutError(
1950
1951
  headers=dict(_response.headers),
1951
1952
  body=typing.cast(
1952
- typing.Optional[typing.Any],
1953
+ typing.Any,
1953
1954
  parse_obj_as(
1954
- type_=typing.Optional[typing.Any], # type: ignore
1955
+ type_=typing.Any, # type: ignore
1955
1956
  object_=_response.json(),
1956
1957
  ),
1957
1958
  ),
@@ -1998,9 +1999,9 @@ class AsyncRawRoutesClient:
1998
1999
  raise UnauthorizedError(
1999
2000
  headers=dict(_response.headers),
2000
2001
  body=typing.cast(
2001
- typing.Optional[typing.Any],
2002
+ typing.Any,
2002
2003
  parse_obj_as(
2003
- type_=typing.Optional[typing.Any], # type: ignore
2004
+ type_=typing.Any, # type: ignore
2004
2005
  object_=_response.json(),
2005
2006
  ),
2006
2007
  ),
@@ -2009,9 +2010,9 @@ class AsyncRawRoutesClient:
2009
2010
  raise NotFoundError(
2010
2011
  headers=dict(_response.headers),
2011
2012
  body=typing.cast(
2012
- typing.Optional[typing.Any],
2013
+ typing.Any,
2013
2014
  parse_obj_as(
2014
- type_=typing.Optional[typing.Any], # type: ignore
2015
+ type_=typing.Any, # type: ignore
2015
2016
  object_=_response.json(),
2016
2017
  ),
2017
2018
  ),
@@ -2020,9 +2021,9 @@ class AsyncRawRoutesClient:
2020
2021
  raise MethodNotAllowedError(
2021
2022
  headers=dict(_response.headers),
2022
2023
  body=typing.cast(
2023
- typing.Optional[typing.Any],
2024
+ typing.Any,
2024
2025
  parse_obj_as(
2025
- type_=typing.Optional[typing.Any], # type: ignore
2026
+ type_=typing.Any, # type: ignore
2026
2027
  object_=_response.json(),
2027
2028
  ),
2028
2029
  ),
@@ -2031,9 +2032,9 @@ class AsyncRawRoutesClient:
2031
2032
  raise TooManyRequestsError(
2032
2033
  headers=dict(_response.headers),
2033
2034
  body=typing.cast(
2034
- typing.Optional[typing.Any],
2035
+ typing.Any,
2035
2036
  parse_obj_as(
2036
- type_=typing.Optional[typing.Any], # type: ignore
2037
+ type_=typing.Any, # type: ignore
2037
2038
  object_=_response.json(),
2038
2039
  ),
2039
2040
  ),
@@ -2042,9 +2043,9 @@ class AsyncRawRoutesClient:
2042
2043
  raise InternalServerError(
2043
2044
  headers=dict(_response.headers),
2044
2045
  body=typing.cast(
2045
- typing.Optional[typing.Any],
2046
+ typing.Any,
2046
2047
  parse_obj_as(
2047
- type_=typing.Optional[typing.Any], # type: ignore
2048
+ type_=typing.Any, # type: ignore
2048
2049
  object_=_response.json(),
2049
2050
  ),
2050
2051
  ),
@@ -2053,9 +2054,9 @@ class AsyncRawRoutesClient:
2053
2054
  raise NotImplementedError(
2054
2055
  headers=dict(_response.headers),
2055
2056
  body=typing.cast(
2056
- typing.Optional[typing.Any],
2057
+ typing.Any,
2057
2058
  parse_obj_as(
2058
- type_=typing.Optional[typing.Any], # type: ignore
2059
+ type_=typing.Any, # type: ignore
2059
2060
  object_=_response.json(),
2060
2061
  ),
2061
2062
  ),
@@ -2064,9 +2065,9 @@ class AsyncRawRoutesClient:
2064
2065
  raise BadGatewayError(
2065
2066
  headers=dict(_response.headers),
2066
2067
  body=typing.cast(
2067
- typing.Optional[typing.Any],
2068
+ typing.Any,
2068
2069
  parse_obj_as(
2069
- type_=typing.Optional[typing.Any], # type: ignore
2070
+ type_=typing.Any, # type: ignore
2070
2071
  object_=_response.json(),
2071
2072
  ),
2072
2073
  ),
@@ -2075,9 +2076,9 @@ class AsyncRawRoutesClient:
2075
2076
  raise ServiceUnavailableError(
2076
2077
  headers=dict(_response.headers),
2077
2078
  body=typing.cast(
2078
- typing.Optional[typing.Any],
2079
+ typing.Any,
2079
2080
  parse_obj_as(
2080
- type_=typing.Optional[typing.Any], # type: ignore
2081
+ type_=typing.Any, # type: ignore
2081
2082
  object_=_response.json(),
2082
2083
  ),
2083
2084
  ),
@@ -2086,9 +2087,9 @@ class AsyncRawRoutesClient:
2086
2087
  raise GatewayTimeoutError(
2087
2088
  headers=dict(_response.headers),
2088
2089
  body=typing.cast(
2089
- typing.Optional[typing.Any],
2090
+ typing.Any,
2090
2091
  parse_obj_as(
2091
- type_=typing.Optional[typing.Any], # type: ignore
2092
+ type_=typing.Any, # type: ignore
2092
2093
  object_=_response.json(),
2093
2094
  ),
2094
2095
  ),
@@ -2206,9 +2207,9 @@ class AsyncRawRoutesClient:
2206
2207
  raise UnauthorizedError(
2207
2208
  headers=dict(_response.headers),
2208
2209
  body=typing.cast(
2209
- typing.Optional[typing.Any],
2210
+ typing.Any,
2210
2211
  parse_obj_as(
2211
- type_=typing.Optional[typing.Any], # type: ignore
2212
+ type_=typing.Any, # type: ignore
2212
2213
  object_=_response.json(),
2213
2214
  ),
2214
2215
  ),
@@ -2217,9 +2218,9 @@ class AsyncRawRoutesClient:
2217
2218
  raise NotFoundError(
2218
2219
  headers=dict(_response.headers),
2219
2220
  body=typing.cast(
2220
- typing.Optional[typing.Any],
2221
+ typing.Any,
2221
2222
  parse_obj_as(
2222
- type_=typing.Optional[typing.Any], # type: ignore
2223
+ type_=typing.Any, # type: ignore
2223
2224
  object_=_response.json(),
2224
2225
  ),
2225
2226
  ),
@@ -2228,9 +2229,9 @@ class AsyncRawRoutesClient:
2228
2229
  raise MethodNotAllowedError(
2229
2230
  headers=dict(_response.headers),
2230
2231
  body=typing.cast(
2231
- typing.Optional[typing.Any],
2232
+ typing.Any,
2232
2233
  parse_obj_as(
2233
- type_=typing.Optional[typing.Any], # type: ignore
2234
+ type_=typing.Any, # type: ignore
2234
2235
  object_=_response.json(),
2235
2236
  ),
2236
2237
  ),
@@ -2239,9 +2240,9 @@ class AsyncRawRoutesClient:
2239
2240
  raise TooManyRequestsError(
2240
2241
  headers=dict(_response.headers),
2241
2242
  body=typing.cast(
2242
- typing.Optional[typing.Any],
2243
+ typing.Any,
2243
2244
  parse_obj_as(
2244
- type_=typing.Optional[typing.Any], # type: ignore
2245
+ type_=typing.Any, # type: ignore
2245
2246
  object_=_response.json(),
2246
2247
  ),
2247
2248
  ),
@@ -2250,9 +2251,9 @@ class AsyncRawRoutesClient:
2250
2251
  raise InternalServerError(
2251
2252
  headers=dict(_response.headers),
2252
2253
  body=typing.cast(
2253
- typing.Optional[typing.Any],
2254
+ typing.Any,
2254
2255
  parse_obj_as(
2255
- type_=typing.Optional[typing.Any], # type: ignore
2256
+ type_=typing.Any, # type: ignore
2256
2257
  object_=_response.json(),
2257
2258
  ),
2258
2259
  ),
@@ -2261,9 +2262,9 @@ class AsyncRawRoutesClient:
2261
2262
  raise NotImplementedError(
2262
2263
  headers=dict(_response.headers),
2263
2264
  body=typing.cast(
2264
- typing.Optional[typing.Any],
2265
+ typing.Any,
2265
2266
  parse_obj_as(
2266
- type_=typing.Optional[typing.Any], # type: ignore
2267
+ type_=typing.Any, # type: ignore
2267
2268
  object_=_response.json(),
2268
2269
  ),
2269
2270
  ),
@@ -2272,9 +2273,9 @@ class AsyncRawRoutesClient:
2272
2273
  raise BadGatewayError(
2273
2274
  headers=dict(_response.headers),
2274
2275
  body=typing.cast(
2275
- typing.Optional[typing.Any],
2276
+ typing.Any,
2276
2277
  parse_obj_as(
2277
- type_=typing.Optional[typing.Any], # type: ignore
2278
+ type_=typing.Any, # type: ignore
2278
2279
  object_=_response.json(),
2279
2280
  ),
2280
2281
  ),
@@ -2283,9 +2284,9 @@ class AsyncRawRoutesClient:
2283
2284
  raise ServiceUnavailableError(
2284
2285
  headers=dict(_response.headers),
2285
2286
  body=typing.cast(
2286
- typing.Optional[typing.Any],
2287
+ typing.Any,
2287
2288
  parse_obj_as(
2288
- type_=typing.Optional[typing.Any], # type: ignore
2289
+ type_=typing.Any, # type: ignore
2289
2290
  object_=_response.json(),
2290
2291
  ),
2291
2292
  ),
@@ -2294,9 +2295,9 @@ class AsyncRawRoutesClient:
2294
2295
  raise GatewayTimeoutError(
2295
2296
  headers=dict(_response.headers),
2296
2297
  body=typing.cast(
2297
- typing.Optional[typing.Any],
2298
+ typing.Any,
2298
2299
  parse_obj_as(
2299
- type_=typing.Optional[typing.Any], # type: ignore
2300
+ type_=typing.Any, # type: ignore
2300
2301
  object_=_response.json(),
2301
2302
  ),
2302
2303
  ),
@@ -2382,9 +2383,9 @@ class AsyncRawRoutesClient:
2382
2383
  raise UnauthorizedError(
2383
2384
  headers=dict(_response.headers),
2384
2385
  body=typing.cast(
2385
- typing.Optional[typing.Any],
2386
+ typing.Any,
2386
2387
  parse_obj_as(
2387
- type_=typing.Optional[typing.Any], # type: ignore
2388
+ type_=typing.Any, # type: ignore
2388
2389
  object_=_response.json(),
2389
2390
  ),
2390
2391
  ),
@@ -2393,9 +2394,9 @@ class AsyncRawRoutesClient:
2393
2394
  raise NotFoundError(
2394
2395
  headers=dict(_response.headers),
2395
2396
  body=typing.cast(
2396
- typing.Optional[typing.Any],
2397
+ typing.Any,
2397
2398
  parse_obj_as(
2398
- type_=typing.Optional[typing.Any], # type: ignore
2399
+ type_=typing.Any, # type: ignore
2399
2400
  object_=_response.json(),
2400
2401
  ),
2401
2402
  ),
@@ -2404,9 +2405,9 @@ class AsyncRawRoutesClient:
2404
2405
  raise MethodNotAllowedError(
2405
2406
  headers=dict(_response.headers),
2406
2407
  body=typing.cast(
2407
- typing.Optional[typing.Any],
2408
+ typing.Any,
2408
2409
  parse_obj_as(
2409
- type_=typing.Optional[typing.Any], # type: ignore
2410
+ type_=typing.Any, # type: ignore
2410
2411
  object_=_response.json(),
2411
2412
  ),
2412
2413
  ),
@@ -2415,9 +2416,9 @@ class AsyncRawRoutesClient:
2415
2416
  raise TooManyRequestsError(
2416
2417
  headers=dict(_response.headers),
2417
2418
  body=typing.cast(
2418
- typing.Optional[typing.Any],
2419
+ typing.Any,
2419
2420
  parse_obj_as(
2420
- type_=typing.Optional[typing.Any], # type: ignore
2421
+ type_=typing.Any, # type: ignore
2421
2422
  object_=_response.json(),
2422
2423
  ),
2423
2424
  ),
@@ -2426,9 +2427,9 @@ class AsyncRawRoutesClient:
2426
2427
  raise InternalServerError(
2427
2428
  headers=dict(_response.headers),
2428
2429
  body=typing.cast(
2429
- typing.Optional[typing.Any],
2430
+ typing.Any,
2430
2431
  parse_obj_as(
2431
- type_=typing.Optional[typing.Any], # type: ignore
2432
+ type_=typing.Any, # type: ignore
2432
2433
  object_=_response.json(),
2433
2434
  ),
2434
2435
  ),
@@ -2437,9 +2438,9 @@ class AsyncRawRoutesClient:
2437
2438
  raise NotImplementedError(
2438
2439
  headers=dict(_response.headers),
2439
2440
  body=typing.cast(
2440
- typing.Optional[typing.Any],
2441
+ typing.Any,
2441
2442
  parse_obj_as(
2442
- type_=typing.Optional[typing.Any], # type: ignore
2443
+ type_=typing.Any, # type: ignore
2443
2444
  object_=_response.json(),
2444
2445
  ),
2445
2446
  ),
@@ -2448,9 +2449,9 @@ class AsyncRawRoutesClient:
2448
2449
  raise BadGatewayError(
2449
2450
  headers=dict(_response.headers),
2450
2451
  body=typing.cast(
2451
- typing.Optional[typing.Any],
2452
+ typing.Any,
2452
2453
  parse_obj_as(
2453
- type_=typing.Optional[typing.Any], # type: ignore
2454
+ type_=typing.Any, # type: ignore
2454
2455
  object_=_response.json(),
2455
2456
  ),
2456
2457
  ),
@@ -2459,9 +2460,9 @@ class AsyncRawRoutesClient:
2459
2460
  raise ServiceUnavailableError(
2460
2461
  headers=dict(_response.headers),
2461
2462
  body=typing.cast(
2462
- typing.Optional[typing.Any],
2463
+ typing.Any,
2463
2464
  parse_obj_as(
2464
- type_=typing.Optional[typing.Any], # type: ignore
2465
+ type_=typing.Any, # type: ignore
2465
2466
  object_=_response.json(),
2466
2467
  ),
2467
2468
  ),
@@ -2470,9 +2471,9 @@ class AsyncRawRoutesClient:
2470
2471
  raise GatewayTimeoutError(
2471
2472
  headers=dict(_response.headers),
2472
2473
  body=typing.cast(
2473
- typing.Optional[typing.Any],
2474
+ typing.Any,
2474
2475
  parse_obj_as(
2475
- type_=typing.Optional[typing.Any], # type: ignore
2476
+ type_=typing.Any, # type: ignore
2476
2477
  object_=_response.json(),
2477
2478
  ),
2478
2479
  ),