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
@@ -132,9 +132,9 @@ class RawFuelAndEnergyClient:
132
132
  raise UnauthorizedError(
133
133
  headers=dict(_response.headers),
134
134
  body=typing.cast(
135
- typing.Optional[typing.Any],
135
+ typing.Any,
136
136
  parse_obj_as(
137
- type_=typing.Optional[typing.Any], # type: ignore
137
+ type_=typing.Any, # type: ignore
138
138
  object_=_response.json(),
139
139
  ),
140
140
  ),
@@ -143,9 +143,9 @@ class RawFuelAndEnergyClient:
143
143
  raise NotFoundError(
144
144
  headers=dict(_response.headers),
145
145
  body=typing.cast(
146
- typing.Optional[typing.Any],
146
+ typing.Any,
147
147
  parse_obj_as(
148
- type_=typing.Optional[typing.Any], # type: ignore
148
+ type_=typing.Any, # type: ignore
149
149
  object_=_response.json(),
150
150
  ),
151
151
  ),
@@ -154,9 +154,9 @@ class RawFuelAndEnergyClient:
154
154
  raise MethodNotAllowedError(
155
155
  headers=dict(_response.headers),
156
156
  body=typing.cast(
157
- typing.Optional[typing.Any],
157
+ typing.Any,
158
158
  parse_obj_as(
159
- type_=typing.Optional[typing.Any], # type: ignore
159
+ type_=typing.Any, # type: ignore
160
160
  object_=_response.json(),
161
161
  ),
162
162
  ),
@@ -165,9 +165,9 @@ class RawFuelAndEnergyClient:
165
165
  raise TooManyRequestsError(
166
166
  headers=dict(_response.headers),
167
167
  body=typing.cast(
168
- typing.Optional[typing.Any],
168
+ typing.Any,
169
169
  parse_obj_as(
170
- type_=typing.Optional[typing.Any], # type: ignore
170
+ type_=typing.Any, # type: ignore
171
171
  object_=_response.json(),
172
172
  ),
173
173
  ),
@@ -176,9 +176,9 @@ class RawFuelAndEnergyClient:
176
176
  raise InternalServerError(
177
177
  headers=dict(_response.headers),
178
178
  body=typing.cast(
179
- typing.Optional[typing.Any],
179
+ typing.Any,
180
180
  parse_obj_as(
181
- type_=typing.Optional[typing.Any], # type: ignore
181
+ type_=typing.Any, # type: ignore
182
182
  object_=_response.json(),
183
183
  ),
184
184
  ),
@@ -187,9 +187,9 @@ class RawFuelAndEnergyClient:
187
187
  raise NotImplementedError(
188
188
  headers=dict(_response.headers),
189
189
  body=typing.cast(
190
- typing.Optional[typing.Any],
190
+ typing.Any,
191
191
  parse_obj_as(
192
- type_=typing.Optional[typing.Any], # type: ignore
192
+ type_=typing.Any, # type: ignore
193
193
  object_=_response.json(),
194
194
  ),
195
195
  ),
@@ -198,9 +198,9 @@ class RawFuelAndEnergyClient:
198
198
  raise BadGatewayError(
199
199
  headers=dict(_response.headers),
200
200
  body=typing.cast(
201
- typing.Optional[typing.Any],
201
+ typing.Any,
202
202
  parse_obj_as(
203
- type_=typing.Optional[typing.Any], # type: ignore
203
+ type_=typing.Any, # type: ignore
204
204
  object_=_response.json(),
205
205
  ),
206
206
  ),
@@ -209,9 +209,9 @@ class RawFuelAndEnergyClient:
209
209
  raise ServiceUnavailableError(
210
210
  headers=dict(_response.headers),
211
211
  body=typing.cast(
212
- typing.Optional[typing.Any],
212
+ typing.Any,
213
213
  parse_obj_as(
214
- type_=typing.Optional[typing.Any], # type: ignore
214
+ type_=typing.Any, # type: ignore
215
215
  object_=_response.json(),
216
216
  ),
217
217
  ),
@@ -220,9 +220,9 @@ class RawFuelAndEnergyClient:
220
220
  raise GatewayTimeoutError(
221
221
  headers=dict(_response.headers),
222
222
  body=typing.cast(
223
- typing.Optional[typing.Any],
223
+ typing.Any,
224
224
  parse_obj_as(
225
- type_=typing.Optional[typing.Any], # type: ignore
225
+ type_=typing.Any, # type: ignore
226
226
  object_=_response.json(),
227
227
  ),
228
228
  ),
@@ -315,9 +315,9 @@ class RawFuelAndEnergyClient:
315
315
  raise UnauthorizedError(
316
316
  headers=dict(_response.headers),
317
317
  body=typing.cast(
318
- typing.Optional[typing.Any],
318
+ typing.Any,
319
319
  parse_obj_as(
320
- type_=typing.Optional[typing.Any], # type: ignore
320
+ type_=typing.Any, # type: ignore
321
321
  object_=_response.json(),
322
322
  ),
323
323
  ),
@@ -326,9 +326,9 @@ class RawFuelAndEnergyClient:
326
326
  raise NotFoundError(
327
327
  headers=dict(_response.headers),
328
328
  body=typing.cast(
329
- typing.Optional[typing.Any],
329
+ typing.Any,
330
330
  parse_obj_as(
331
- type_=typing.Optional[typing.Any], # type: ignore
331
+ type_=typing.Any, # type: ignore
332
332
  object_=_response.json(),
333
333
  ),
334
334
  ),
@@ -337,9 +337,9 @@ class RawFuelAndEnergyClient:
337
337
  raise MethodNotAllowedError(
338
338
  headers=dict(_response.headers),
339
339
  body=typing.cast(
340
- typing.Optional[typing.Any],
340
+ typing.Any,
341
341
  parse_obj_as(
342
- type_=typing.Optional[typing.Any], # type: ignore
342
+ type_=typing.Any, # type: ignore
343
343
  object_=_response.json(),
344
344
  ),
345
345
  ),
@@ -348,9 +348,9 @@ class RawFuelAndEnergyClient:
348
348
  raise TooManyRequestsError(
349
349
  headers=dict(_response.headers),
350
350
  body=typing.cast(
351
- typing.Optional[typing.Any],
351
+ typing.Any,
352
352
  parse_obj_as(
353
- type_=typing.Optional[typing.Any], # type: ignore
353
+ type_=typing.Any, # type: ignore
354
354
  object_=_response.json(),
355
355
  ),
356
356
  ),
@@ -359,9 +359,9 @@ class RawFuelAndEnergyClient:
359
359
  raise InternalServerError(
360
360
  headers=dict(_response.headers),
361
361
  body=typing.cast(
362
- typing.Optional[typing.Any],
362
+ typing.Any,
363
363
  parse_obj_as(
364
- type_=typing.Optional[typing.Any], # type: ignore
364
+ type_=typing.Any, # type: ignore
365
365
  object_=_response.json(),
366
366
  ),
367
367
  ),
@@ -370,9 +370,9 @@ class RawFuelAndEnergyClient:
370
370
  raise NotImplementedError(
371
371
  headers=dict(_response.headers),
372
372
  body=typing.cast(
373
- typing.Optional[typing.Any],
373
+ typing.Any,
374
374
  parse_obj_as(
375
- type_=typing.Optional[typing.Any], # type: ignore
375
+ type_=typing.Any, # type: ignore
376
376
  object_=_response.json(),
377
377
  ),
378
378
  ),
@@ -381,9 +381,9 @@ class RawFuelAndEnergyClient:
381
381
  raise BadGatewayError(
382
382
  headers=dict(_response.headers),
383
383
  body=typing.cast(
384
- typing.Optional[typing.Any],
384
+ typing.Any,
385
385
  parse_obj_as(
386
- type_=typing.Optional[typing.Any], # type: ignore
386
+ type_=typing.Any, # type: ignore
387
387
  object_=_response.json(),
388
388
  ),
389
389
  ),
@@ -392,9 +392,9 @@ class RawFuelAndEnergyClient:
392
392
  raise ServiceUnavailableError(
393
393
  headers=dict(_response.headers),
394
394
  body=typing.cast(
395
- typing.Optional[typing.Any],
395
+ typing.Any,
396
396
  parse_obj_as(
397
- type_=typing.Optional[typing.Any], # type: ignore
397
+ type_=typing.Any, # type: ignore
398
398
  object_=_response.json(),
399
399
  ),
400
400
  ),
@@ -403,9 +403,9 @@ class RawFuelAndEnergyClient:
403
403
  raise GatewayTimeoutError(
404
404
  headers=dict(_response.headers),
405
405
  body=typing.cast(
406
- typing.Optional[typing.Any],
406
+ typing.Any,
407
407
  parse_obj_as(
408
- type_=typing.Optional[typing.Any], # type: ignore
408
+ type_=typing.Any, # type: ignore
409
409
  object_=_response.json(),
410
410
  ),
411
411
  ),
@@ -491,9 +491,9 @@ class RawFuelAndEnergyClient:
491
491
  raise UnauthorizedError(
492
492
  headers=dict(_response.headers),
493
493
  body=typing.cast(
494
- typing.Optional[typing.Any],
494
+ typing.Any,
495
495
  parse_obj_as(
496
- type_=typing.Optional[typing.Any], # type: ignore
496
+ type_=typing.Any, # type: ignore
497
497
  object_=_response.json(),
498
498
  ),
499
499
  ),
@@ -502,9 +502,9 @@ class RawFuelAndEnergyClient:
502
502
  raise NotFoundError(
503
503
  headers=dict(_response.headers),
504
504
  body=typing.cast(
505
- typing.Optional[typing.Any],
505
+ typing.Any,
506
506
  parse_obj_as(
507
- type_=typing.Optional[typing.Any], # type: ignore
507
+ type_=typing.Any, # type: ignore
508
508
  object_=_response.json(),
509
509
  ),
510
510
  ),
@@ -513,9 +513,9 @@ class RawFuelAndEnergyClient:
513
513
  raise MethodNotAllowedError(
514
514
  headers=dict(_response.headers),
515
515
  body=typing.cast(
516
- typing.Optional[typing.Any],
516
+ typing.Any,
517
517
  parse_obj_as(
518
- type_=typing.Optional[typing.Any], # type: ignore
518
+ type_=typing.Any, # type: ignore
519
519
  object_=_response.json(),
520
520
  ),
521
521
  ),
@@ -524,9 +524,9 @@ class RawFuelAndEnergyClient:
524
524
  raise TooManyRequestsError(
525
525
  headers=dict(_response.headers),
526
526
  body=typing.cast(
527
- typing.Optional[typing.Any],
527
+ typing.Any,
528
528
  parse_obj_as(
529
- type_=typing.Optional[typing.Any], # type: ignore
529
+ type_=typing.Any, # type: ignore
530
530
  object_=_response.json(),
531
531
  ),
532
532
  ),
@@ -535,9 +535,9 @@ class RawFuelAndEnergyClient:
535
535
  raise InternalServerError(
536
536
  headers=dict(_response.headers),
537
537
  body=typing.cast(
538
- typing.Optional[typing.Any],
538
+ typing.Any,
539
539
  parse_obj_as(
540
- type_=typing.Optional[typing.Any], # type: ignore
540
+ type_=typing.Any, # type: ignore
541
541
  object_=_response.json(),
542
542
  ),
543
543
  ),
@@ -546,9 +546,9 @@ class RawFuelAndEnergyClient:
546
546
  raise NotImplementedError(
547
547
  headers=dict(_response.headers),
548
548
  body=typing.cast(
549
- typing.Optional[typing.Any],
549
+ typing.Any,
550
550
  parse_obj_as(
551
- type_=typing.Optional[typing.Any], # type: ignore
551
+ type_=typing.Any, # type: ignore
552
552
  object_=_response.json(),
553
553
  ),
554
554
  ),
@@ -557,9 +557,9 @@ class RawFuelAndEnergyClient:
557
557
  raise BadGatewayError(
558
558
  headers=dict(_response.headers),
559
559
  body=typing.cast(
560
- typing.Optional[typing.Any],
560
+ typing.Any,
561
561
  parse_obj_as(
562
- type_=typing.Optional[typing.Any], # type: ignore
562
+ type_=typing.Any, # type: ignore
563
563
  object_=_response.json(),
564
564
  ),
565
565
  ),
@@ -568,9 +568,9 @@ class RawFuelAndEnergyClient:
568
568
  raise ServiceUnavailableError(
569
569
  headers=dict(_response.headers),
570
570
  body=typing.cast(
571
- typing.Optional[typing.Any],
571
+ typing.Any,
572
572
  parse_obj_as(
573
- type_=typing.Optional[typing.Any], # type: ignore
573
+ type_=typing.Any, # type: ignore
574
574
  object_=_response.json(),
575
575
  ),
576
576
  ),
@@ -579,9 +579,9 @@ class RawFuelAndEnergyClient:
579
579
  raise GatewayTimeoutError(
580
580
  headers=dict(_response.headers),
581
581
  body=typing.cast(
582
- typing.Optional[typing.Any],
582
+ typing.Any,
583
583
  parse_obj_as(
584
- type_=typing.Optional[typing.Any], # type: ignore
584
+ type_=typing.Any, # type: ignore
585
585
  object_=_response.json(),
586
586
  ),
587
587
  ),
@@ -672,9 +672,9 @@ class RawFuelAndEnergyClient:
672
672
  raise UnauthorizedError(
673
673
  headers=dict(_response.headers),
674
674
  body=typing.cast(
675
- typing.Optional[typing.Any],
675
+ typing.Any,
676
676
  parse_obj_as(
677
- type_=typing.Optional[typing.Any], # type: ignore
677
+ type_=typing.Any, # type: ignore
678
678
  object_=_response.json(),
679
679
  ),
680
680
  ),
@@ -683,9 +683,9 @@ class RawFuelAndEnergyClient:
683
683
  raise NotFoundError(
684
684
  headers=dict(_response.headers),
685
685
  body=typing.cast(
686
- typing.Optional[typing.Any],
686
+ typing.Any,
687
687
  parse_obj_as(
688
- type_=typing.Optional[typing.Any], # type: ignore
688
+ type_=typing.Any, # type: ignore
689
689
  object_=_response.json(),
690
690
  ),
691
691
  ),
@@ -694,9 +694,9 @@ class RawFuelAndEnergyClient:
694
694
  raise MethodNotAllowedError(
695
695
  headers=dict(_response.headers),
696
696
  body=typing.cast(
697
- typing.Optional[typing.Any],
697
+ typing.Any,
698
698
  parse_obj_as(
699
- type_=typing.Optional[typing.Any], # type: ignore
699
+ type_=typing.Any, # type: ignore
700
700
  object_=_response.json(),
701
701
  ),
702
702
  ),
@@ -705,9 +705,9 @@ class RawFuelAndEnergyClient:
705
705
  raise TooManyRequestsError(
706
706
  headers=dict(_response.headers),
707
707
  body=typing.cast(
708
- typing.Optional[typing.Any],
708
+ typing.Any,
709
709
  parse_obj_as(
710
- type_=typing.Optional[typing.Any], # type: ignore
710
+ type_=typing.Any, # type: ignore
711
711
  object_=_response.json(),
712
712
  ),
713
713
  ),
@@ -716,9 +716,9 @@ class RawFuelAndEnergyClient:
716
716
  raise InternalServerError(
717
717
  headers=dict(_response.headers),
718
718
  body=typing.cast(
719
- typing.Optional[typing.Any],
719
+ typing.Any,
720
720
  parse_obj_as(
721
- type_=typing.Optional[typing.Any], # type: ignore
721
+ type_=typing.Any, # type: ignore
722
722
  object_=_response.json(),
723
723
  ),
724
724
  ),
@@ -727,9 +727,9 @@ class RawFuelAndEnergyClient:
727
727
  raise NotImplementedError(
728
728
  headers=dict(_response.headers),
729
729
  body=typing.cast(
730
- typing.Optional[typing.Any],
730
+ typing.Any,
731
731
  parse_obj_as(
732
- type_=typing.Optional[typing.Any], # type: ignore
732
+ type_=typing.Any, # type: ignore
733
733
  object_=_response.json(),
734
734
  ),
735
735
  ),
@@ -738,9 +738,9 @@ class RawFuelAndEnergyClient:
738
738
  raise BadGatewayError(
739
739
  headers=dict(_response.headers),
740
740
  body=typing.cast(
741
- typing.Optional[typing.Any],
741
+ typing.Any,
742
742
  parse_obj_as(
743
- type_=typing.Optional[typing.Any], # type: ignore
743
+ type_=typing.Any, # type: ignore
744
744
  object_=_response.json(),
745
745
  ),
746
746
  ),
@@ -749,9 +749,9 @@ class RawFuelAndEnergyClient:
749
749
  raise ServiceUnavailableError(
750
750
  headers=dict(_response.headers),
751
751
  body=typing.cast(
752
- typing.Optional[typing.Any],
752
+ typing.Any,
753
753
  parse_obj_as(
754
- type_=typing.Optional[typing.Any], # type: ignore
754
+ type_=typing.Any, # type: ignore
755
755
  object_=_response.json(),
756
756
  ),
757
757
  ),
@@ -760,9 +760,9 @@ class RawFuelAndEnergyClient:
760
760
  raise GatewayTimeoutError(
761
761
  headers=dict(_response.headers),
762
762
  body=typing.cast(
763
- typing.Optional[typing.Any],
763
+ typing.Any,
764
764
  parse_obj_as(
765
- type_=typing.Optional[typing.Any], # type: ignore
765
+ type_=typing.Any, # type: ignore
766
766
  object_=_response.json(),
767
767
  ),
768
768
  ),
@@ -884,9 +884,9 @@ class RawFuelAndEnergyClient:
884
884
  raise UnauthorizedError(
885
885
  headers=dict(_response.headers),
886
886
  body=typing.cast(
887
- typing.Optional[typing.Any],
887
+ typing.Any,
888
888
  parse_obj_as(
889
- type_=typing.Optional[typing.Any], # type: ignore
889
+ type_=typing.Any, # type: ignore
890
890
  object_=_response.json(),
891
891
  ),
892
892
  ),
@@ -895,9 +895,9 @@ class RawFuelAndEnergyClient:
895
895
  raise NotFoundError(
896
896
  headers=dict(_response.headers),
897
897
  body=typing.cast(
898
- typing.Optional[typing.Any],
898
+ typing.Any,
899
899
  parse_obj_as(
900
- type_=typing.Optional[typing.Any], # type: ignore
900
+ type_=typing.Any, # type: ignore
901
901
  object_=_response.json(),
902
902
  ),
903
903
  ),
@@ -906,9 +906,9 @@ class RawFuelAndEnergyClient:
906
906
  raise MethodNotAllowedError(
907
907
  headers=dict(_response.headers),
908
908
  body=typing.cast(
909
- typing.Optional[typing.Any],
909
+ typing.Any,
910
910
  parse_obj_as(
911
- type_=typing.Optional[typing.Any], # type: ignore
911
+ type_=typing.Any, # type: ignore
912
912
  object_=_response.json(),
913
913
  ),
914
914
  ),
@@ -917,9 +917,9 @@ class RawFuelAndEnergyClient:
917
917
  raise TooManyRequestsError(
918
918
  headers=dict(_response.headers),
919
919
  body=typing.cast(
920
- typing.Optional[typing.Any],
920
+ typing.Any,
921
921
  parse_obj_as(
922
- type_=typing.Optional[typing.Any], # type: ignore
922
+ type_=typing.Any, # type: ignore
923
923
  object_=_response.json(),
924
924
  ),
925
925
  ),
@@ -928,9 +928,9 @@ class RawFuelAndEnergyClient:
928
928
  raise InternalServerError(
929
929
  headers=dict(_response.headers),
930
930
  body=typing.cast(
931
- typing.Optional[typing.Any],
931
+ typing.Any,
932
932
  parse_obj_as(
933
- type_=typing.Optional[typing.Any], # type: ignore
933
+ type_=typing.Any, # type: ignore
934
934
  object_=_response.json(),
935
935
  ),
936
936
  ),
@@ -939,9 +939,9 @@ class RawFuelAndEnergyClient:
939
939
  raise NotImplementedError(
940
940
  headers=dict(_response.headers),
941
941
  body=typing.cast(
942
- typing.Optional[typing.Any],
942
+ typing.Any,
943
943
  parse_obj_as(
944
- type_=typing.Optional[typing.Any], # type: ignore
944
+ type_=typing.Any, # type: ignore
945
945
  object_=_response.json(),
946
946
  ),
947
947
  ),
@@ -950,9 +950,9 @@ class RawFuelAndEnergyClient:
950
950
  raise BadGatewayError(
951
951
  headers=dict(_response.headers),
952
952
  body=typing.cast(
953
- typing.Optional[typing.Any],
953
+ typing.Any,
954
954
  parse_obj_as(
955
- type_=typing.Optional[typing.Any], # type: ignore
955
+ type_=typing.Any, # type: ignore
956
956
  object_=_response.json(),
957
957
  ),
958
958
  ),
@@ -961,9 +961,9 @@ class RawFuelAndEnergyClient:
961
961
  raise ServiceUnavailableError(
962
962
  headers=dict(_response.headers),
963
963
  body=typing.cast(
964
- typing.Optional[typing.Any],
964
+ typing.Any,
965
965
  parse_obj_as(
966
- type_=typing.Optional[typing.Any], # type: ignore
966
+ type_=typing.Any, # type: ignore
967
967
  object_=_response.json(),
968
968
  ),
969
969
  ),
@@ -972,9 +972,9 @@ class RawFuelAndEnergyClient:
972
972
  raise GatewayTimeoutError(
973
973
  headers=dict(_response.headers),
974
974
  body=typing.cast(
975
- typing.Optional[typing.Any],
975
+ typing.Any,
976
976
  parse_obj_as(
977
- type_=typing.Optional[typing.Any], # type: ignore
977
+ type_=typing.Any, # type: ignore
978
978
  object_=_response.json(),
979
979
  ),
980
980
  ),
@@ -1072,9 +1072,9 @@ class AsyncRawFuelAndEnergyClient:
1072
1072
  raise UnauthorizedError(
1073
1073
  headers=dict(_response.headers),
1074
1074
  body=typing.cast(
1075
- typing.Optional[typing.Any],
1075
+ typing.Any,
1076
1076
  parse_obj_as(
1077
- type_=typing.Optional[typing.Any], # type: ignore
1077
+ type_=typing.Any, # type: ignore
1078
1078
  object_=_response.json(),
1079
1079
  ),
1080
1080
  ),
@@ -1083,9 +1083,9 @@ class AsyncRawFuelAndEnergyClient:
1083
1083
  raise NotFoundError(
1084
1084
  headers=dict(_response.headers),
1085
1085
  body=typing.cast(
1086
- typing.Optional[typing.Any],
1086
+ typing.Any,
1087
1087
  parse_obj_as(
1088
- type_=typing.Optional[typing.Any], # type: ignore
1088
+ type_=typing.Any, # type: ignore
1089
1089
  object_=_response.json(),
1090
1090
  ),
1091
1091
  ),
@@ -1094,9 +1094,9 @@ class AsyncRawFuelAndEnergyClient:
1094
1094
  raise MethodNotAllowedError(
1095
1095
  headers=dict(_response.headers),
1096
1096
  body=typing.cast(
1097
- typing.Optional[typing.Any],
1097
+ typing.Any,
1098
1098
  parse_obj_as(
1099
- type_=typing.Optional[typing.Any], # type: ignore
1099
+ type_=typing.Any, # type: ignore
1100
1100
  object_=_response.json(),
1101
1101
  ),
1102
1102
  ),
@@ -1105,9 +1105,9 @@ class AsyncRawFuelAndEnergyClient:
1105
1105
  raise TooManyRequestsError(
1106
1106
  headers=dict(_response.headers),
1107
1107
  body=typing.cast(
1108
- typing.Optional[typing.Any],
1108
+ typing.Any,
1109
1109
  parse_obj_as(
1110
- type_=typing.Optional[typing.Any], # type: ignore
1110
+ type_=typing.Any, # type: ignore
1111
1111
  object_=_response.json(),
1112
1112
  ),
1113
1113
  ),
@@ -1116,9 +1116,9 @@ class AsyncRawFuelAndEnergyClient:
1116
1116
  raise InternalServerError(
1117
1117
  headers=dict(_response.headers),
1118
1118
  body=typing.cast(
1119
- typing.Optional[typing.Any],
1119
+ typing.Any,
1120
1120
  parse_obj_as(
1121
- type_=typing.Optional[typing.Any], # type: ignore
1121
+ type_=typing.Any, # type: ignore
1122
1122
  object_=_response.json(),
1123
1123
  ),
1124
1124
  ),
@@ -1127,9 +1127,9 @@ class AsyncRawFuelAndEnergyClient:
1127
1127
  raise NotImplementedError(
1128
1128
  headers=dict(_response.headers),
1129
1129
  body=typing.cast(
1130
- typing.Optional[typing.Any],
1130
+ typing.Any,
1131
1131
  parse_obj_as(
1132
- type_=typing.Optional[typing.Any], # type: ignore
1132
+ type_=typing.Any, # type: ignore
1133
1133
  object_=_response.json(),
1134
1134
  ),
1135
1135
  ),
@@ -1138,9 +1138,9 @@ class AsyncRawFuelAndEnergyClient:
1138
1138
  raise BadGatewayError(
1139
1139
  headers=dict(_response.headers),
1140
1140
  body=typing.cast(
1141
- typing.Optional[typing.Any],
1141
+ typing.Any,
1142
1142
  parse_obj_as(
1143
- type_=typing.Optional[typing.Any], # type: ignore
1143
+ type_=typing.Any, # type: ignore
1144
1144
  object_=_response.json(),
1145
1145
  ),
1146
1146
  ),
@@ -1149,9 +1149,9 @@ class AsyncRawFuelAndEnergyClient:
1149
1149
  raise ServiceUnavailableError(
1150
1150
  headers=dict(_response.headers),
1151
1151
  body=typing.cast(
1152
- typing.Optional[typing.Any],
1152
+ typing.Any,
1153
1153
  parse_obj_as(
1154
- type_=typing.Optional[typing.Any], # type: ignore
1154
+ type_=typing.Any, # type: ignore
1155
1155
  object_=_response.json(),
1156
1156
  ),
1157
1157
  ),
@@ -1160,9 +1160,9 @@ class AsyncRawFuelAndEnergyClient:
1160
1160
  raise GatewayTimeoutError(
1161
1161
  headers=dict(_response.headers),
1162
1162
  body=typing.cast(
1163
- typing.Optional[typing.Any],
1163
+ typing.Any,
1164
1164
  parse_obj_as(
1165
- type_=typing.Optional[typing.Any], # type: ignore
1165
+ type_=typing.Any, # type: ignore
1166
1166
  object_=_response.json(),
1167
1167
  ),
1168
1168
  ),
@@ -1255,9 +1255,9 @@ class AsyncRawFuelAndEnergyClient:
1255
1255
  raise UnauthorizedError(
1256
1256
  headers=dict(_response.headers),
1257
1257
  body=typing.cast(
1258
- typing.Optional[typing.Any],
1258
+ typing.Any,
1259
1259
  parse_obj_as(
1260
- type_=typing.Optional[typing.Any], # type: ignore
1260
+ type_=typing.Any, # type: ignore
1261
1261
  object_=_response.json(),
1262
1262
  ),
1263
1263
  ),
@@ -1266,9 +1266,9 @@ class AsyncRawFuelAndEnergyClient:
1266
1266
  raise NotFoundError(
1267
1267
  headers=dict(_response.headers),
1268
1268
  body=typing.cast(
1269
- typing.Optional[typing.Any],
1269
+ typing.Any,
1270
1270
  parse_obj_as(
1271
- type_=typing.Optional[typing.Any], # type: ignore
1271
+ type_=typing.Any, # type: ignore
1272
1272
  object_=_response.json(),
1273
1273
  ),
1274
1274
  ),
@@ -1277,9 +1277,9 @@ class AsyncRawFuelAndEnergyClient:
1277
1277
  raise MethodNotAllowedError(
1278
1278
  headers=dict(_response.headers),
1279
1279
  body=typing.cast(
1280
- typing.Optional[typing.Any],
1280
+ typing.Any,
1281
1281
  parse_obj_as(
1282
- type_=typing.Optional[typing.Any], # type: ignore
1282
+ type_=typing.Any, # type: ignore
1283
1283
  object_=_response.json(),
1284
1284
  ),
1285
1285
  ),
@@ -1288,9 +1288,9 @@ class AsyncRawFuelAndEnergyClient:
1288
1288
  raise TooManyRequestsError(
1289
1289
  headers=dict(_response.headers),
1290
1290
  body=typing.cast(
1291
- typing.Optional[typing.Any],
1291
+ typing.Any,
1292
1292
  parse_obj_as(
1293
- type_=typing.Optional[typing.Any], # type: ignore
1293
+ type_=typing.Any, # type: ignore
1294
1294
  object_=_response.json(),
1295
1295
  ),
1296
1296
  ),
@@ -1299,9 +1299,9 @@ class AsyncRawFuelAndEnergyClient:
1299
1299
  raise InternalServerError(
1300
1300
  headers=dict(_response.headers),
1301
1301
  body=typing.cast(
1302
- typing.Optional[typing.Any],
1302
+ typing.Any,
1303
1303
  parse_obj_as(
1304
- type_=typing.Optional[typing.Any], # type: ignore
1304
+ type_=typing.Any, # type: ignore
1305
1305
  object_=_response.json(),
1306
1306
  ),
1307
1307
  ),
@@ -1310,9 +1310,9 @@ class AsyncRawFuelAndEnergyClient:
1310
1310
  raise NotImplementedError(
1311
1311
  headers=dict(_response.headers),
1312
1312
  body=typing.cast(
1313
- typing.Optional[typing.Any],
1313
+ typing.Any,
1314
1314
  parse_obj_as(
1315
- type_=typing.Optional[typing.Any], # type: ignore
1315
+ type_=typing.Any, # type: ignore
1316
1316
  object_=_response.json(),
1317
1317
  ),
1318
1318
  ),
@@ -1321,9 +1321,9 @@ class AsyncRawFuelAndEnergyClient:
1321
1321
  raise BadGatewayError(
1322
1322
  headers=dict(_response.headers),
1323
1323
  body=typing.cast(
1324
- typing.Optional[typing.Any],
1324
+ typing.Any,
1325
1325
  parse_obj_as(
1326
- type_=typing.Optional[typing.Any], # type: ignore
1326
+ type_=typing.Any, # type: ignore
1327
1327
  object_=_response.json(),
1328
1328
  ),
1329
1329
  ),
@@ -1332,9 +1332,9 @@ class AsyncRawFuelAndEnergyClient:
1332
1332
  raise ServiceUnavailableError(
1333
1333
  headers=dict(_response.headers),
1334
1334
  body=typing.cast(
1335
- typing.Optional[typing.Any],
1335
+ typing.Any,
1336
1336
  parse_obj_as(
1337
- type_=typing.Optional[typing.Any], # type: ignore
1337
+ type_=typing.Any, # type: ignore
1338
1338
  object_=_response.json(),
1339
1339
  ),
1340
1340
  ),
@@ -1343,9 +1343,9 @@ class AsyncRawFuelAndEnergyClient:
1343
1343
  raise GatewayTimeoutError(
1344
1344
  headers=dict(_response.headers),
1345
1345
  body=typing.cast(
1346
- typing.Optional[typing.Any],
1346
+ typing.Any,
1347
1347
  parse_obj_as(
1348
- type_=typing.Optional[typing.Any], # type: ignore
1348
+ type_=typing.Any, # type: ignore
1349
1349
  object_=_response.json(),
1350
1350
  ),
1351
1351
  ),
@@ -1431,9 +1431,9 @@ class AsyncRawFuelAndEnergyClient:
1431
1431
  raise UnauthorizedError(
1432
1432
  headers=dict(_response.headers),
1433
1433
  body=typing.cast(
1434
- typing.Optional[typing.Any],
1434
+ typing.Any,
1435
1435
  parse_obj_as(
1436
- type_=typing.Optional[typing.Any], # type: ignore
1436
+ type_=typing.Any, # type: ignore
1437
1437
  object_=_response.json(),
1438
1438
  ),
1439
1439
  ),
@@ -1442,9 +1442,9 @@ class AsyncRawFuelAndEnergyClient:
1442
1442
  raise NotFoundError(
1443
1443
  headers=dict(_response.headers),
1444
1444
  body=typing.cast(
1445
- typing.Optional[typing.Any],
1445
+ typing.Any,
1446
1446
  parse_obj_as(
1447
- type_=typing.Optional[typing.Any], # type: ignore
1447
+ type_=typing.Any, # type: ignore
1448
1448
  object_=_response.json(),
1449
1449
  ),
1450
1450
  ),
@@ -1453,9 +1453,9 @@ class AsyncRawFuelAndEnergyClient:
1453
1453
  raise MethodNotAllowedError(
1454
1454
  headers=dict(_response.headers),
1455
1455
  body=typing.cast(
1456
- typing.Optional[typing.Any],
1456
+ typing.Any,
1457
1457
  parse_obj_as(
1458
- type_=typing.Optional[typing.Any], # type: ignore
1458
+ type_=typing.Any, # type: ignore
1459
1459
  object_=_response.json(),
1460
1460
  ),
1461
1461
  ),
@@ -1464,9 +1464,9 @@ class AsyncRawFuelAndEnergyClient:
1464
1464
  raise TooManyRequestsError(
1465
1465
  headers=dict(_response.headers),
1466
1466
  body=typing.cast(
1467
- typing.Optional[typing.Any],
1467
+ typing.Any,
1468
1468
  parse_obj_as(
1469
- type_=typing.Optional[typing.Any], # type: ignore
1469
+ type_=typing.Any, # type: ignore
1470
1470
  object_=_response.json(),
1471
1471
  ),
1472
1472
  ),
@@ -1475,9 +1475,9 @@ class AsyncRawFuelAndEnergyClient:
1475
1475
  raise InternalServerError(
1476
1476
  headers=dict(_response.headers),
1477
1477
  body=typing.cast(
1478
- typing.Optional[typing.Any],
1478
+ typing.Any,
1479
1479
  parse_obj_as(
1480
- type_=typing.Optional[typing.Any], # type: ignore
1480
+ type_=typing.Any, # type: ignore
1481
1481
  object_=_response.json(),
1482
1482
  ),
1483
1483
  ),
@@ -1486,9 +1486,9 @@ class AsyncRawFuelAndEnergyClient:
1486
1486
  raise NotImplementedError(
1487
1487
  headers=dict(_response.headers),
1488
1488
  body=typing.cast(
1489
- typing.Optional[typing.Any],
1489
+ typing.Any,
1490
1490
  parse_obj_as(
1491
- type_=typing.Optional[typing.Any], # type: ignore
1491
+ type_=typing.Any, # type: ignore
1492
1492
  object_=_response.json(),
1493
1493
  ),
1494
1494
  ),
@@ -1497,9 +1497,9 @@ class AsyncRawFuelAndEnergyClient:
1497
1497
  raise BadGatewayError(
1498
1498
  headers=dict(_response.headers),
1499
1499
  body=typing.cast(
1500
- typing.Optional[typing.Any],
1500
+ typing.Any,
1501
1501
  parse_obj_as(
1502
- type_=typing.Optional[typing.Any], # type: ignore
1502
+ type_=typing.Any, # type: ignore
1503
1503
  object_=_response.json(),
1504
1504
  ),
1505
1505
  ),
@@ -1508,9 +1508,9 @@ class AsyncRawFuelAndEnergyClient:
1508
1508
  raise ServiceUnavailableError(
1509
1509
  headers=dict(_response.headers),
1510
1510
  body=typing.cast(
1511
- typing.Optional[typing.Any],
1511
+ typing.Any,
1512
1512
  parse_obj_as(
1513
- type_=typing.Optional[typing.Any], # type: ignore
1513
+ type_=typing.Any, # type: ignore
1514
1514
  object_=_response.json(),
1515
1515
  ),
1516
1516
  ),
@@ -1519,9 +1519,9 @@ class AsyncRawFuelAndEnergyClient:
1519
1519
  raise GatewayTimeoutError(
1520
1520
  headers=dict(_response.headers),
1521
1521
  body=typing.cast(
1522
- typing.Optional[typing.Any],
1522
+ typing.Any,
1523
1523
  parse_obj_as(
1524
- type_=typing.Optional[typing.Any], # type: ignore
1524
+ type_=typing.Any, # type: ignore
1525
1525
  object_=_response.json(),
1526
1526
  ),
1527
1527
  ),
@@ -1612,9 +1612,9 @@ class AsyncRawFuelAndEnergyClient:
1612
1612
  raise UnauthorizedError(
1613
1613
  headers=dict(_response.headers),
1614
1614
  body=typing.cast(
1615
- typing.Optional[typing.Any],
1615
+ typing.Any,
1616
1616
  parse_obj_as(
1617
- type_=typing.Optional[typing.Any], # type: ignore
1617
+ type_=typing.Any, # type: ignore
1618
1618
  object_=_response.json(),
1619
1619
  ),
1620
1620
  ),
@@ -1623,9 +1623,9 @@ class AsyncRawFuelAndEnergyClient:
1623
1623
  raise NotFoundError(
1624
1624
  headers=dict(_response.headers),
1625
1625
  body=typing.cast(
1626
- typing.Optional[typing.Any],
1626
+ typing.Any,
1627
1627
  parse_obj_as(
1628
- type_=typing.Optional[typing.Any], # type: ignore
1628
+ type_=typing.Any, # type: ignore
1629
1629
  object_=_response.json(),
1630
1630
  ),
1631
1631
  ),
@@ -1634,9 +1634,9 @@ class AsyncRawFuelAndEnergyClient:
1634
1634
  raise MethodNotAllowedError(
1635
1635
  headers=dict(_response.headers),
1636
1636
  body=typing.cast(
1637
- typing.Optional[typing.Any],
1637
+ typing.Any,
1638
1638
  parse_obj_as(
1639
- type_=typing.Optional[typing.Any], # type: ignore
1639
+ type_=typing.Any, # type: ignore
1640
1640
  object_=_response.json(),
1641
1641
  ),
1642
1642
  ),
@@ -1645,9 +1645,9 @@ class AsyncRawFuelAndEnergyClient:
1645
1645
  raise TooManyRequestsError(
1646
1646
  headers=dict(_response.headers),
1647
1647
  body=typing.cast(
1648
- typing.Optional[typing.Any],
1648
+ typing.Any,
1649
1649
  parse_obj_as(
1650
- type_=typing.Optional[typing.Any], # type: ignore
1650
+ type_=typing.Any, # type: ignore
1651
1651
  object_=_response.json(),
1652
1652
  ),
1653
1653
  ),
@@ -1656,9 +1656,9 @@ class AsyncRawFuelAndEnergyClient:
1656
1656
  raise InternalServerError(
1657
1657
  headers=dict(_response.headers),
1658
1658
  body=typing.cast(
1659
- typing.Optional[typing.Any],
1659
+ typing.Any,
1660
1660
  parse_obj_as(
1661
- type_=typing.Optional[typing.Any], # type: ignore
1661
+ type_=typing.Any, # type: ignore
1662
1662
  object_=_response.json(),
1663
1663
  ),
1664
1664
  ),
@@ -1667,9 +1667,9 @@ class AsyncRawFuelAndEnergyClient:
1667
1667
  raise NotImplementedError(
1668
1668
  headers=dict(_response.headers),
1669
1669
  body=typing.cast(
1670
- typing.Optional[typing.Any],
1670
+ typing.Any,
1671
1671
  parse_obj_as(
1672
- type_=typing.Optional[typing.Any], # type: ignore
1672
+ type_=typing.Any, # type: ignore
1673
1673
  object_=_response.json(),
1674
1674
  ),
1675
1675
  ),
@@ -1678,9 +1678,9 @@ class AsyncRawFuelAndEnergyClient:
1678
1678
  raise BadGatewayError(
1679
1679
  headers=dict(_response.headers),
1680
1680
  body=typing.cast(
1681
- typing.Optional[typing.Any],
1681
+ typing.Any,
1682
1682
  parse_obj_as(
1683
- type_=typing.Optional[typing.Any], # type: ignore
1683
+ type_=typing.Any, # type: ignore
1684
1684
  object_=_response.json(),
1685
1685
  ),
1686
1686
  ),
@@ -1689,9 +1689,9 @@ class AsyncRawFuelAndEnergyClient:
1689
1689
  raise ServiceUnavailableError(
1690
1690
  headers=dict(_response.headers),
1691
1691
  body=typing.cast(
1692
- typing.Optional[typing.Any],
1692
+ typing.Any,
1693
1693
  parse_obj_as(
1694
- type_=typing.Optional[typing.Any], # type: ignore
1694
+ type_=typing.Any, # type: ignore
1695
1695
  object_=_response.json(),
1696
1696
  ),
1697
1697
  ),
@@ -1700,9 +1700,9 @@ class AsyncRawFuelAndEnergyClient:
1700
1700
  raise GatewayTimeoutError(
1701
1701
  headers=dict(_response.headers),
1702
1702
  body=typing.cast(
1703
- typing.Optional[typing.Any],
1703
+ typing.Any,
1704
1704
  parse_obj_as(
1705
- type_=typing.Optional[typing.Any], # type: ignore
1705
+ type_=typing.Any, # type: ignore
1706
1706
  object_=_response.json(),
1707
1707
  ),
1708
1708
  ),
@@ -1824,9 +1824,9 @@ class AsyncRawFuelAndEnergyClient:
1824
1824
  raise UnauthorizedError(
1825
1825
  headers=dict(_response.headers),
1826
1826
  body=typing.cast(
1827
- typing.Optional[typing.Any],
1827
+ typing.Any,
1828
1828
  parse_obj_as(
1829
- type_=typing.Optional[typing.Any], # type: ignore
1829
+ type_=typing.Any, # type: ignore
1830
1830
  object_=_response.json(),
1831
1831
  ),
1832
1832
  ),
@@ -1835,9 +1835,9 @@ class AsyncRawFuelAndEnergyClient:
1835
1835
  raise NotFoundError(
1836
1836
  headers=dict(_response.headers),
1837
1837
  body=typing.cast(
1838
- typing.Optional[typing.Any],
1838
+ typing.Any,
1839
1839
  parse_obj_as(
1840
- type_=typing.Optional[typing.Any], # type: ignore
1840
+ type_=typing.Any, # type: ignore
1841
1841
  object_=_response.json(),
1842
1842
  ),
1843
1843
  ),
@@ -1846,9 +1846,9 @@ class AsyncRawFuelAndEnergyClient:
1846
1846
  raise MethodNotAllowedError(
1847
1847
  headers=dict(_response.headers),
1848
1848
  body=typing.cast(
1849
- typing.Optional[typing.Any],
1849
+ typing.Any,
1850
1850
  parse_obj_as(
1851
- type_=typing.Optional[typing.Any], # type: ignore
1851
+ type_=typing.Any, # type: ignore
1852
1852
  object_=_response.json(),
1853
1853
  ),
1854
1854
  ),
@@ -1857,9 +1857,9 @@ class AsyncRawFuelAndEnergyClient:
1857
1857
  raise TooManyRequestsError(
1858
1858
  headers=dict(_response.headers),
1859
1859
  body=typing.cast(
1860
- typing.Optional[typing.Any],
1860
+ typing.Any,
1861
1861
  parse_obj_as(
1862
- type_=typing.Optional[typing.Any], # type: ignore
1862
+ type_=typing.Any, # type: ignore
1863
1863
  object_=_response.json(),
1864
1864
  ),
1865
1865
  ),
@@ -1868,9 +1868,9 @@ class AsyncRawFuelAndEnergyClient:
1868
1868
  raise InternalServerError(
1869
1869
  headers=dict(_response.headers),
1870
1870
  body=typing.cast(
1871
- typing.Optional[typing.Any],
1871
+ typing.Any,
1872
1872
  parse_obj_as(
1873
- type_=typing.Optional[typing.Any], # type: ignore
1873
+ type_=typing.Any, # type: ignore
1874
1874
  object_=_response.json(),
1875
1875
  ),
1876
1876
  ),
@@ -1879,9 +1879,9 @@ class AsyncRawFuelAndEnergyClient:
1879
1879
  raise NotImplementedError(
1880
1880
  headers=dict(_response.headers),
1881
1881
  body=typing.cast(
1882
- typing.Optional[typing.Any],
1882
+ typing.Any,
1883
1883
  parse_obj_as(
1884
- type_=typing.Optional[typing.Any], # type: ignore
1884
+ type_=typing.Any, # type: ignore
1885
1885
  object_=_response.json(),
1886
1886
  ),
1887
1887
  ),
@@ -1890,9 +1890,9 @@ class AsyncRawFuelAndEnergyClient:
1890
1890
  raise BadGatewayError(
1891
1891
  headers=dict(_response.headers),
1892
1892
  body=typing.cast(
1893
- typing.Optional[typing.Any],
1893
+ typing.Any,
1894
1894
  parse_obj_as(
1895
- type_=typing.Optional[typing.Any], # type: ignore
1895
+ type_=typing.Any, # type: ignore
1896
1896
  object_=_response.json(),
1897
1897
  ),
1898
1898
  ),
@@ -1901,9 +1901,9 @@ class AsyncRawFuelAndEnergyClient:
1901
1901
  raise ServiceUnavailableError(
1902
1902
  headers=dict(_response.headers),
1903
1903
  body=typing.cast(
1904
- typing.Optional[typing.Any],
1904
+ typing.Any,
1905
1905
  parse_obj_as(
1906
- type_=typing.Optional[typing.Any], # type: ignore
1906
+ type_=typing.Any, # type: ignore
1907
1907
  object_=_response.json(),
1908
1908
  ),
1909
1909
  ),
@@ -1912,9 +1912,9 @@ class AsyncRawFuelAndEnergyClient:
1912
1912
  raise GatewayTimeoutError(
1913
1913
  headers=dict(_response.headers),
1914
1914
  body=typing.cast(
1915
- typing.Optional[typing.Any],
1915
+ typing.Any,
1916
1916
  parse_obj_as(
1917
- type_=typing.Optional[typing.Any], # type: ignore
1917
+ type_=typing.Any, # type: ignore
1918
1918
  object_=_response.json(),
1919
1919
  ),
1920
1920
  ),