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
@@ -80,9 +80,9 @@ class RawSettingsClient:
80
80
  raise UnauthorizedError(
81
81
  headers=dict(_response.headers),
82
82
  body=typing.cast(
83
- typing.Optional[typing.Any],
83
+ typing.Any,
84
84
  parse_obj_as(
85
- type_=typing.Optional[typing.Any], # type: ignore
85
+ type_=typing.Any, # type: ignore
86
86
  object_=_response.json(),
87
87
  ),
88
88
  ),
@@ -91,9 +91,9 @@ class RawSettingsClient:
91
91
  raise NotFoundError(
92
92
  headers=dict(_response.headers),
93
93
  body=typing.cast(
94
- typing.Optional[typing.Any],
94
+ typing.Any,
95
95
  parse_obj_as(
96
- type_=typing.Optional[typing.Any], # type: ignore
96
+ type_=typing.Any, # type: ignore
97
97
  object_=_response.json(),
98
98
  ),
99
99
  ),
@@ -102,9 +102,9 @@ class RawSettingsClient:
102
102
  raise MethodNotAllowedError(
103
103
  headers=dict(_response.headers),
104
104
  body=typing.cast(
105
- typing.Optional[typing.Any],
105
+ typing.Any,
106
106
  parse_obj_as(
107
- type_=typing.Optional[typing.Any], # type: ignore
107
+ type_=typing.Any, # type: ignore
108
108
  object_=_response.json(),
109
109
  ),
110
110
  ),
@@ -113,9 +113,9 @@ class RawSettingsClient:
113
113
  raise TooManyRequestsError(
114
114
  headers=dict(_response.headers),
115
115
  body=typing.cast(
116
- typing.Optional[typing.Any],
116
+ typing.Any,
117
117
  parse_obj_as(
118
- type_=typing.Optional[typing.Any], # type: ignore
118
+ type_=typing.Any, # type: ignore
119
119
  object_=_response.json(),
120
120
  ),
121
121
  ),
@@ -124,9 +124,9 @@ class RawSettingsClient:
124
124
  raise InternalServerError(
125
125
  headers=dict(_response.headers),
126
126
  body=typing.cast(
127
- typing.Optional[typing.Any],
127
+ typing.Any,
128
128
  parse_obj_as(
129
- type_=typing.Optional[typing.Any], # type: ignore
129
+ type_=typing.Any, # type: ignore
130
130
  object_=_response.json(),
131
131
  ),
132
132
  ),
@@ -135,9 +135,9 @@ class RawSettingsClient:
135
135
  raise NotImplementedError(
136
136
  headers=dict(_response.headers),
137
137
  body=typing.cast(
138
- typing.Optional[typing.Any],
138
+ typing.Any,
139
139
  parse_obj_as(
140
- type_=typing.Optional[typing.Any], # type: ignore
140
+ type_=typing.Any, # type: ignore
141
141
  object_=_response.json(),
142
142
  ),
143
143
  ),
@@ -146,9 +146,9 @@ class RawSettingsClient:
146
146
  raise BadGatewayError(
147
147
  headers=dict(_response.headers),
148
148
  body=typing.cast(
149
- typing.Optional[typing.Any],
149
+ typing.Any,
150
150
  parse_obj_as(
151
- type_=typing.Optional[typing.Any], # type: ignore
151
+ type_=typing.Any, # type: ignore
152
152
  object_=_response.json(),
153
153
  ),
154
154
  ),
@@ -157,9 +157,9 @@ class RawSettingsClient:
157
157
  raise ServiceUnavailableError(
158
158
  headers=dict(_response.headers),
159
159
  body=typing.cast(
160
- typing.Optional[typing.Any],
160
+ typing.Any,
161
161
  parse_obj_as(
162
- type_=typing.Optional[typing.Any], # type: ignore
162
+ type_=typing.Any, # type: ignore
163
163
  object_=_response.json(),
164
164
  ),
165
165
  ),
@@ -168,9 +168,9 @@ class RawSettingsClient:
168
168
  raise GatewayTimeoutError(
169
169
  headers=dict(_response.headers),
170
170
  body=typing.cast(
171
- typing.Optional[typing.Any],
171
+ typing.Any,
172
172
  parse_obj_as(
173
- type_=typing.Optional[typing.Any], # type: ignore
173
+ type_=typing.Any, # type: ignore
174
174
  object_=_response.json(),
175
175
  ),
176
176
  ),
@@ -280,9 +280,9 @@ class RawSettingsClient:
280
280
  raise UnauthorizedError(
281
281
  headers=dict(_response.headers),
282
282
  body=typing.cast(
283
- typing.Optional[typing.Any],
283
+ typing.Any,
284
284
  parse_obj_as(
285
- type_=typing.Optional[typing.Any], # type: ignore
285
+ type_=typing.Any, # type: ignore
286
286
  object_=_response.json(),
287
287
  ),
288
288
  ),
@@ -291,9 +291,9 @@ class RawSettingsClient:
291
291
  raise NotFoundError(
292
292
  headers=dict(_response.headers),
293
293
  body=typing.cast(
294
- typing.Optional[typing.Any],
294
+ typing.Any,
295
295
  parse_obj_as(
296
- type_=typing.Optional[typing.Any], # type: ignore
296
+ type_=typing.Any, # type: ignore
297
297
  object_=_response.json(),
298
298
  ),
299
299
  ),
@@ -302,9 +302,9 @@ class RawSettingsClient:
302
302
  raise MethodNotAllowedError(
303
303
  headers=dict(_response.headers),
304
304
  body=typing.cast(
305
- typing.Optional[typing.Any],
305
+ typing.Any,
306
306
  parse_obj_as(
307
- type_=typing.Optional[typing.Any], # type: ignore
307
+ type_=typing.Any, # type: ignore
308
308
  object_=_response.json(),
309
309
  ),
310
310
  ),
@@ -313,9 +313,9 @@ class RawSettingsClient:
313
313
  raise TooManyRequestsError(
314
314
  headers=dict(_response.headers),
315
315
  body=typing.cast(
316
- typing.Optional[typing.Any],
316
+ typing.Any,
317
317
  parse_obj_as(
318
- type_=typing.Optional[typing.Any], # type: ignore
318
+ type_=typing.Any, # type: ignore
319
319
  object_=_response.json(),
320
320
  ),
321
321
  ),
@@ -324,9 +324,9 @@ class RawSettingsClient:
324
324
  raise InternalServerError(
325
325
  headers=dict(_response.headers),
326
326
  body=typing.cast(
327
- typing.Optional[typing.Any],
327
+ typing.Any,
328
328
  parse_obj_as(
329
- type_=typing.Optional[typing.Any], # type: ignore
329
+ type_=typing.Any, # type: ignore
330
330
  object_=_response.json(),
331
331
  ),
332
332
  ),
@@ -335,9 +335,9 @@ class RawSettingsClient:
335
335
  raise NotImplementedError(
336
336
  headers=dict(_response.headers),
337
337
  body=typing.cast(
338
- typing.Optional[typing.Any],
338
+ typing.Any,
339
339
  parse_obj_as(
340
- type_=typing.Optional[typing.Any], # type: ignore
340
+ type_=typing.Any, # type: ignore
341
341
  object_=_response.json(),
342
342
  ),
343
343
  ),
@@ -346,9 +346,9 @@ class RawSettingsClient:
346
346
  raise BadGatewayError(
347
347
  headers=dict(_response.headers),
348
348
  body=typing.cast(
349
- typing.Optional[typing.Any],
349
+ typing.Any,
350
350
  parse_obj_as(
351
- type_=typing.Optional[typing.Any], # type: ignore
351
+ type_=typing.Any, # type: ignore
352
352
  object_=_response.json(),
353
353
  ),
354
354
  ),
@@ -357,9 +357,9 @@ class RawSettingsClient:
357
357
  raise ServiceUnavailableError(
358
358
  headers=dict(_response.headers),
359
359
  body=typing.cast(
360
- typing.Optional[typing.Any],
360
+ typing.Any,
361
361
  parse_obj_as(
362
- type_=typing.Optional[typing.Any], # type: ignore
362
+ type_=typing.Any, # type: ignore
363
363
  object_=_response.json(),
364
364
  ),
365
365
  ),
@@ -368,9 +368,9 @@ class RawSettingsClient:
368
368
  raise GatewayTimeoutError(
369
369
  headers=dict(_response.headers),
370
370
  body=typing.cast(
371
- typing.Optional[typing.Any],
371
+ typing.Any,
372
372
  parse_obj_as(
373
- type_=typing.Optional[typing.Any], # type: ignore
373
+ type_=typing.Any, # type: ignore
374
374
  object_=_response.json(),
375
375
  ),
376
376
  ),
@@ -422,9 +422,9 @@ class RawSettingsClient:
422
422
  raise UnauthorizedError(
423
423
  headers=dict(_response.headers),
424
424
  body=typing.cast(
425
- typing.Optional[typing.Any],
425
+ typing.Any,
426
426
  parse_obj_as(
427
- type_=typing.Optional[typing.Any], # type: ignore
427
+ type_=typing.Any, # type: ignore
428
428
  object_=_response.json(),
429
429
  ),
430
430
  ),
@@ -433,9 +433,9 @@ class RawSettingsClient:
433
433
  raise NotFoundError(
434
434
  headers=dict(_response.headers),
435
435
  body=typing.cast(
436
- typing.Optional[typing.Any],
436
+ typing.Any,
437
437
  parse_obj_as(
438
- type_=typing.Optional[typing.Any], # type: ignore
438
+ type_=typing.Any, # type: ignore
439
439
  object_=_response.json(),
440
440
  ),
441
441
  ),
@@ -444,9 +444,9 @@ class RawSettingsClient:
444
444
  raise MethodNotAllowedError(
445
445
  headers=dict(_response.headers),
446
446
  body=typing.cast(
447
- typing.Optional[typing.Any],
447
+ typing.Any,
448
448
  parse_obj_as(
449
- type_=typing.Optional[typing.Any], # type: ignore
449
+ type_=typing.Any, # type: ignore
450
450
  object_=_response.json(),
451
451
  ),
452
452
  ),
@@ -455,9 +455,9 @@ class RawSettingsClient:
455
455
  raise TooManyRequestsError(
456
456
  headers=dict(_response.headers),
457
457
  body=typing.cast(
458
- typing.Optional[typing.Any],
458
+ typing.Any,
459
459
  parse_obj_as(
460
- type_=typing.Optional[typing.Any], # type: ignore
460
+ type_=typing.Any, # type: ignore
461
461
  object_=_response.json(),
462
462
  ),
463
463
  ),
@@ -466,9 +466,9 @@ class RawSettingsClient:
466
466
  raise InternalServerError(
467
467
  headers=dict(_response.headers),
468
468
  body=typing.cast(
469
- typing.Optional[typing.Any],
469
+ typing.Any,
470
470
  parse_obj_as(
471
- type_=typing.Optional[typing.Any], # type: ignore
471
+ type_=typing.Any, # type: ignore
472
472
  object_=_response.json(),
473
473
  ),
474
474
  ),
@@ -477,9 +477,9 @@ class RawSettingsClient:
477
477
  raise NotImplementedError(
478
478
  headers=dict(_response.headers),
479
479
  body=typing.cast(
480
- typing.Optional[typing.Any],
480
+ typing.Any,
481
481
  parse_obj_as(
482
- type_=typing.Optional[typing.Any], # type: ignore
482
+ type_=typing.Any, # type: ignore
483
483
  object_=_response.json(),
484
484
  ),
485
485
  ),
@@ -488,9 +488,9 @@ class RawSettingsClient:
488
488
  raise BadGatewayError(
489
489
  headers=dict(_response.headers),
490
490
  body=typing.cast(
491
- typing.Optional[typing.Any],
491
+ typing.Any,
492
492
  parse_obj_as(
493
- type_=typing.Optional[typing.Any], # type: ignore
493
+ type_=typing.Any, # type: ignore
494
494
  object_=_response.json(),
495
495
  ),
496
496
  ),
@@ -499,9 +499,9 @@ class RawSettingsClient:
499
499
  raise ServiceUnavailableError(
500
500
  headers=dict(_response.headers),
501
501
  body=typing.cast(
502
- typing.Optional[typing.Any],
502
+ typing.Any,
503
503
  parse_obj_as(
504
- type_=typing.Optional[typing.Any], # type: ignore
504
+ type_=typing.Any, # type: ignore
505
505
  object_=_response.json(),
506
506
  ),
507
507
  ),
@@ -510,9 +510,9 @@ class RawSettingsClient:
510
510
  raise GatewayTimeoutError(
511
511
  headers=dict(_response.headers),
512
512
  body=typing.cast(
513
- typing.Optional[typing.Any],
513
+ typing.Any,
514
514
  parse_obj_as(
515
- type_=typing.Optional[typing.Any], # type: ignore
515
+ type_=typing.Any, # type: ignore
516
516
  object_=_response.json(),
517
517
  ),
518
518
  ),
@@ -608,9 +608,9 @@ class RawSettingsClient:
608
608
  raise UnauthorizedError(
609
609
  headers=dict(_response.headers),
610
610
  body=typing.cast(
611
- typing.Optional[typing.Any],
611
+ typing.Any,
612
612
  parse_obj_as(
613
- type_=typing.Optional[typing.Any], # type: ignore
613
+ type_=typing.Any, # type: ignore
614
614
  object_=_response.json(),
615
615
  ),
616
616
  ),
@@ -619,9 +619,9 @@ class RawSettingsClient:
619
619
  raise NotFoundError(
620
620
  headers=dict(_response.headers),
621
621
  body=typing.cast(
622
- typing.Optional[typing.Any],
622
+ typing.Any,
623
623
  parse_obj_as(
624
- type_=typing.Optional[typing.Any], # type: ignore
624
+ type_=typing.Any, # type: ignore
625
625
  object_=_response.json(),
626
626
  ),
627
627
  ),
@@ -630,9 +630,9 @@ class RawSettingsClient:
630
630
  raise MethodNotAllowedError(
631
631
  headers=dict(_response.headers),
632
632
  body=typing.cast(
633
- typing.Optional[typing.Any],
633
+ typing.Any,
634
634
  parse_obj_as(
635
- type_=typing.Optional[typing.Any], # type: ignore
635
+ type_=typing.Any, # type: ignore
636
636
  object_=_response.json(),
637
637
  ),
638
638
  ),
@@ -641,9 +641,9 @@ class RawSettingsClient:
641
641
  raise TooManyRequestsError(
642
642
  headers=dict(_response.headers),
643
643
  body=typing.cast(
644
- typing.Optional[typing.Any],
644
+ typing.Any,
645
645
  parse_obj_as(
646
- type_=typing.Optional[typing.Any], # type: ignore
646
+ type_=typing.Any, # type: ignore
647
647
  object_=_response.json(),
648
648
  ),
649
649
  ),
@@ -652,9 +652,9 @@ class RawSettingsClient:
652
652
  raise InternalServerError(
653
653
  headers=dict(_response.headers),
654
654
  body=typing.cast(
655
- typing.Optional[typing.Any],
655
+ typing.Any,
656
656
  parse_obj_as(
657
- type_=typing.Optional[typing.Any], # type: ignore
657
+ type_=typing.Any, # type: ignore
658
658
  object_=_response.json(),
659
659
  ),
660
660
  ),
@@ -663,9 +663,9 @@ class RawSettingsClient:
663
663
  raise NotImplementedError(
664
664
  headers=dict(_response.headers),
665
665
  body=typing.cast(
666
- typing.Optional[typing.Any],
666
+ typing.Any,
667
667
  parse_obj_as(
668
- type_=typing.Optional[typing.Any], # type: ignore
668
+ type_=typing.Any, # type: ignore
669
669
  object_=_response.json(),
670
670
  ),
671
671
  ),
@@ -674,9 +674,9 @@ class RawSettingsClient:
674
674
  raise BadGatewayError(
675
675
  headers=dict(_response.headers),
676
676
  body=typing.cast(
677
- typing.Optional[typing.Any],
677
+ typing.Any,
678
678
  parse_obj_as(
679
- type_=typing.Optional[typing.Any], # type: ignore
679
+ type_=typing.Any, # type: ignore
680
680
  object_=_response.json(),
681
681
  ),
682
682
  ),
@@ -685,9 +685,9 @@ class RawSettingsClient:
685
685
  raise ServiceUnavailableError(
686
686
  headers=dict(_response.headers),
687
687
  body=typing.cast(
688
- typing.Optional[typing.Any],
688
+ typing.Any,
689
689
  parse_obj_as(
690
- type_=typing.Optional[typing.Any], # type: ignore
690
+ type_=typing.Any, # type: ignore
691
691
  object_=_response.json(),
692
692
  ),
693
693
  ),
@@ -696,9 +696,9 @@ class RawSettingsClient:
696
696
  raise GatewayTimeoutError(
697
697
  headers=dict(_response.headers),
698
698
  body=typing.cast(
699
- typing.Optional[typing.Any],
699
+ typing.Any,
700
700
  parse_obj_as(
701
- type_=typing.Optional[typing.Any], # type: ignore
701
+ type_=typing.Any, # type: ignore
702
702
  object_=_response.json(),
703
703
  ),
704
704
  ),
@@ -750,9 +750,9 @@ class RawSettingsClient:
750
750
  raise UnauthorizedError(
751
751
  headers=dict(_response.headers),
752
752
  body=typing.cast(
753
- typing.Optional[typing.Any],
753
+ typing.Any,
754
754
  parse_obj_as(
755
- type_=typing.Optional[typing.Any], # type: ignore
755
+ type_=typing.Any, # type: ignore
756
756
  object_=_response.json(),
757
757
  ),
758
758
  ),
@@ -761,9 +761,9 @@ class RawSettingsClient:
761
761
  raise NotFoundError(
762
762
  headers=dict(_response.headers),
763
763
  body=typing.cast(
764
- typing.Optional[typing.Any],
764
+ typing.Any,
765
765
  parse_obj_as(
766
- type_=typing.Optional[typing.Any], # type: ignore
766
+ type_=typing.Any, # type: ignore
767
767
  object_=_response.json(),
768
768
  ),
769
769
  ),
@@ -772,9 +772,9 @@ class RawSettingsClient:
772
772
  raise MethodNotAllowedError(
773
773
  headers=dict(_response.headers),
774
774
  body=typing.cast(
775
- typing.Optional[typing.Any],
775
+ typing.Any,
776
776
  parse_obj_as(
777
- type_=typing.Optional[typing.Any], # type: ignore
777
+ type_=typing.Any, # type: ignore
778
778
  object_=_response.json(),
779
779
  ),
780
780
  ),
@@ -783,9 +783,9 @@ class RawSettingsClient:
783
783
  raise TooManyRequestsError(
784
784
  headers=dict(_response.headers),
785
785
  body=typing.cast(
786
- typing.Optional[typing.Any],
786
+ typing.Any,
787
787
  parse_obj_as(
788
- type_=typing.Optional[typing.Any], # type: ignore
788
+ type_=typing.Any, # type: ignore
789
789
  object_=_response.json(),
790
790
  ),
791
791
  ),
@@ -794,9 +794,9 @@ class RawSettingsClient:
794
794
  raise InternalServerError(
795
795
  headers=dict(_response.headers),
796
796
  body=typing.cast(
797
- typing.Optional[typing.Any],
797
+ typing.Any,
798
798
  parse_obj_as(
799
- type_=typing.Optional[typing.Any], # type: ignore
799
+ type_=typing.Any, # type: ignore
800
800
  object_=_response.json(),
801
801
  ),
802
802
  ),
@@ -805,9 +805,9 @@ class RawSettingsClient:
805
805
  raise NotImplementedError(
806
806
  headers=dict(_response.headers),
807
807
  body=typing.cast(
808
- typing.Optional[typing.Any],
808
+ typing.Any,
809
809
  parse_obj_as(
810
- type_=typing.Optional[typing.Any], # type: ignore
810
+ type_=typing.Any, # type: ignore
811
811
  object_=_response.json(),
812
812
  ),
813
813
  ),
@@ -816,9 +816,9 @@ class RawSettingsClient:
816
816
  raise BadGatewayError(
817
817
  headers=dict(_response.headers),
818
818
  body=typing.cast(
819
- typing.Optional[typing.Any],
819
+ typing.Any,
820
820
  parse_obj_as(
821
- type_=typing.Optional[typing.Any], # type: ignore
821
+ type_=typing.Any, # type: ignore
822
822
  object_=_response.json(),
823
823
  ),
824
824
  ),
@@ -827,9 +827,9 @@ class RawSettingsClient:
827
827
  raise ServiceUnavailableError(
828
828
  headers=dict(_response.headers),
829
829
  body=typing.cast(
830
- typing.Optional[typing.Any],
830
+ typing.Any,
831
831
  parse_obj_as(
832
- type_=typing.Optional[typing.Any], # type: ignore
832
+ type_=typing.Any, # type: ignore
833
833
  object_=_response.json(),
834
834
  ),
835
835
  ),
@@ -838,9 +838,9 @@ class RawSettingsClient:
838
838
  raise GatewayTimeoutError(
839
839
  headers=dict(_response.headers),
840
840
  body=typing.cast(
841
- typing.Optional[typing.Any],
841
+ typing.Any,
842
842
  parse_obj_as(
843
- type_=typing.Optional[typing.Any], # type: ignore
843
+ type_=typing.Any, # type: ignore
844
844
  object_=_response.json(),
845
845
  ),
846
846
  ),
@@ -897,9 +897,9 @@ class AsyncRawSettingsClient:
897
897
  raise UnauthorizedError(
898
898
  headers=dict(_response.headers),
899
899
  body=typing.cast(
900
- typing.Optional[typing.Any],
900
+ typing.Any,
901
901
  parse_obj_as(
902
- type_=typing.Optional[typing.Any], # type: ignore
902
+ type_=typing.Any, # type: ignore
903
903
  object_=_response.json(),
904
904
  ),
905
905
  ),
@@ -908,9 +908,9 @@ class AsyncRawSettingsClient:
908
908
  raise NotFoundError(
909
909
  headers=dict(_response.headers),
910
910
  body=typing.cast(
911
- typing.Optional[typing.Any],
911
+ typing.Any,
912
912
  parse_obj_as(
913
- type_=typing.Optional[typing.Any], # type: ignore
913
+ type_=typing.Any, # type: ignore
914
914
  object_=_response.json(),
915
915
  ),
916
916
  ),
@@ -919,9 +919,9 @@ class AsyncRawSettingsClient:
919
919
  raise MethodNotAllowedError(
920
920
  headers=dict(_response.headers),
921
921
  body=typing.cast(
922
- typing.Optional[typing.Any],
922
+ typing.Any,
923
923
  parse_obj_as(
924
- type_=typing.Optional[typing.Any], # type: ignore
924
+ type_=typing.Any, # type: ignore
925
925
  object_=_response.json(),
926
926
  ),
927
927
  ),
@@ -930,9 +930,9 @@ class AsyncRawSettingsClient:
930
930
  raise TooManyRequestsError(
931
931
  headers=dict(_response.headers),
932
932
  body=typing.cast(
933
- typing.Optional[typing.Any],
933
+ typing.Any,
934
934
  parse_obj_as(
935
- type_=typing.Optional[typing.Any], # type: ignore
935
+ type_=typing.Any, # type: ignore
936
936
  object_=_response.json(),
937
937
  ),
938
938
  ),
@@ -941,9 +941,9 @@ class AsyncRawSettingsClient:
941
941
  raise InternalServerError(
942
942
  headers=dict(_response.headers),
943
943
  body=typing.cast(
944
- typing.Optional[typing.Any],
944
+ typing.Any,
945
945
  parse_obj_as(
946
- type_=typing.Optional[typing.Any], # type: ignore
946
+ type_=typing.Any, # type: ignore
947
947
  object_=_response.json(),
948
948
  ),
949
949
  ),
@@ -952,9 +952,9 @@ class AsyncRawSettingsClient:
952
952
  raise NotImplementedError(
953
953
  headers=dict(_response.headers),
954
954
  body=typing.cast(
955
- typing.Optional[typing.Any],
955
+ typing.Any,
956
956
  parse_obj_as(
957
- type_=typing.Optional[typing.Any], # type: ignore
957
+ type_=typing.Any, # type: ignore
958
958
  object_=_response.json(),
959
959
  ),
960
960
  ),
@@ -963,9 +963,9 @@ class AsyncRawSettingsClient:
963
963
  raise BadGatewayError(
964
964
  headers=dict(_response.headers),
965
965
  body=typing.cast(
966
- typing.Optional[typing.Any],
966
+ typing.Any,
967
967
  parse_obj_as(
968
- type_=typing.Optional[typing.Any], # type: ignore
968
+ type_=typing.Any, # type: ignore
969
969
  object_=_response.json(),
970
970
  ),
971
971
  ),
@@ -974,9 +974,9 @@ class AsyncRawSettingsClient:
974
974
  raise ServiceUnavailableError(
975
975
  headers=dict(_response.headers),
976
976
  body=typing.cast(
977
- typing.Optional[typing.Any],
977
+ typing.Any,
978
978
  parse_obj_as(
979
- type_=typing.Optional[typing.Any], # type: ignore
979
+ type_=typing.Any, # type: ignore
980
980
  object_=_response.json(),
981
981
  ),
982
982
  ),
@@ -985,9 +985,9 @@ class AsyncRawSettingsClient:
985
985
  raise GatewayTimeoutError(
986
986
  headers=dict(_response.headers),
987
987
  body=typing.cast(
988
- typing.Optional[typing.Any],
988
+ typing.Any,
989
989
  parse_obj_as(
990
- type_=typing.Optional[typing.Any], # type: ignore
990
+ type_=typing.Any, # type: ignore
991
991
  object_=_response.json(),
992
992
  ),
993
993
  ),
@@ -1097,9 +1097,9 @@ class AsyncRawSettingsClient:
1097
1097
  raise UnauthorizedError(
1098
1098
  headers=dict(_response.headers),
1099
1099
  body=typing.cast(
1100
- typing.Optional[typing.Any],
1100
+ typing.Any,
1101
1101
  parse_obj_as(
1102
- type_=typing.Optional[typing.Any], # type: ignore
1102
+ type_=typing.Any, # type: ignore
1103
1103
  object_=_response.json(),
1104
1104
  ),
1105
1105
  ),
@@ -1108,9 +1108,9 @@ class AsyncRawSettingsClient:
1108
1108
  raise NotFoundError(
1109
1109
  headers=dict(_response.headers),
1110
1110
  body=typing.cast(
1111
- typing.Optional[typing.Any],
1111
+ typing.Any,
1112
1112
  parse_obj_as(
1113
- type_=typing.Optional[typing.Any], # type: ignore
1113
+ type_=typing.Any, # type: ignore
1114
1114
  object_=_response.json(),
1115
1115
  ),
1116
1116
  ),
@@ -1119,9 +1119,9 @@ class AsyncRawSettingsClient:
1119
1119
  raise MethodNotAllowedError(
1120
1120
  headers=dict(_response.headers),
1121
1121
  body=typing.cast(
1122
- typing.Optional[typing.Any],
1122
+ typing.Any,
1123
1123
  parse_obj_as(
1124
- type_=typing.Optional[typing.Any], # type: ignore
1124
+ type_=typing.Any, # type: ignore
1125
1125
  object_=_response.json(),
1126
1126
  ),
1127
1127
  ),
@@ -1130,9 +1130,9 @@ class AsyncRawSettingsClient:
1130
1130
  raise TooManyRequestsError(
1131
1131
  headers=dict(_response.headers),
1132
1132
  body=typing.cast(
1133
- typing.Optional[typing.Any],
1133
+ typing.Any,
1134
1134
  parse_obj_as(
1135
- type_=typing.Optional[typing.Any], # type: ignore
1135
+ type_=typing.Any, # type: ignore
1136
1136
  object_=_response.json(),
1137
1137
  ),
1138
1138
  ),
@@ -1141,9 +1141,9 @@ class AsyncRawSettingsClient:
1141
1141
  raise InternalServerError(
1142
1142
  headers=dict(_response.headers),
1143
1143
  body=typing.cast(
1144
- typing.Optional[typing.Any],
1144
+ typing.Any,
1145
1145
  parse_obj_as(
1146
- type_=typing.Optional[typing.Any], # type: ignore
1146
+ type_=typing.Any, # type: ignore
1147
1147
  object_=_response.json(),
1148
1148
  ),
1149
1149
  ),
@@ -1152,9 +1152,9 @@ class AsyncRawSettingsClient:
1152
1152
  raise NotImplementedError(
1153
1153
  headers=dict(_response.headers),
1154
1154
  body=typing.cast(
1155
- typing.Optional[typing.Any],
1155
+ typing.Any,
1156
1156
  parse_obj_as(
1157
- type_=typing.Optional[typing.Any], # type: ignore
1157
+ type_=typing.Any, # type: ignore
1158
1158
  object_=_response.json(),
1159
1159
  ),
1160
1160
  ),
@@ -1163,9 +1163,9 @@ class AsyncRawSettingsClient:
1163
1163
  raise BadGatewayError(
1164
1164
  headers=dict(_response.headers),
1165
1165
  body=typing.cast(
1166
- typing.Optional[typing.Any],
1166
+ typing.Any,
1167
1167
  parse_obj_as(
1168
- type_=typing.Optional[typing.Any], # type: ignore
1168
+ type_=typing.Any, # type: ignore
1169
1169
  object_=_response.json(),
1170
1170
  ),
1171
1171
  ),
@@ -1174,9 +1174,9 @@ class AsyncRawSettingsClient:
1174
1174
  raise ServiceUnavailableError(
1175
1175
  headers=dict(_response.headers),
1176
1176
  body=typing.cast(
1177
- typing.Optional[typing.Any],
1177
+ typing.Any,
1178
1178
  parse_obj_as(
1179
- type_=typing.Optional[typing.Any], # type: ignore
1179
+ type_=typing.Any, # type: ignore
1180
1180
  object_=_response.json(),
1181
1181
  ),
1182
1182
  ),
@@ -1185,9 +1185,9 @@ class AsyncRawSettingsClient:
1185
1185
  raise GatewayTimeoutError(
1186
1186
  headers=dict(_response.headers),
1187
1187
  body=typing.cast(
1188
- typing.Optional[typing.Any],
1188
+ typing.Any,
1189
1189
  parse_obj_as(
1190
- type_=typing.Optional[typing.Any], # type: ignore
1190
+ type_=typing.Any, # type: ignore
1191
1191
  object_=_response.json(),
1192
1192
  ),
1193
1193
  ),
@@ -1239,9 +1239,9 @@ class AsyncRawSettingsClient:
1239
1239
  raise UnauthorizedError(
1240
1240
  headers=dict(_response.headers),
1241
1241
  body=typing.cast(
1242
- typing.Optional[typing.Any],
1242
+ typing.Any,
1243
1243
  parse_obj_as(
1244
- type_=typing.Optional[typing.Any], # type: ignore
1244
+ type_=typing.Any, # type: ignore
1245
1245
  object_=_response.json(),
1246
1246
  ),
1247
1247
  ),
@@ -1250,9 +1250,9 @@ class AsyncRawSettingsClient:
1250
1250
  raise NotFoundError(
1251
1251
  headers=dict(_response.headers),
1252
1252
  body=typing.cast(
1253
- typing.Optional[typing.Any],
1253
+ typing.Any,
1254
1254
  parse_obj_as(
1255
- type_=typing.Optional[typing.Any], # type: ignore
1255
+ type_=typing.Any, # type: ignore
1256
1256
  object_=_response.json(),
1257
1257
  ),
1258
1258
  ),
@@ -1261,9 +1261,9 @@ class AsyncRawSettingsClient:
1261
1261
  raise MethodNotAllowedError(
1262
1262
  headers=dict(_response.headers),
1263
1263
  body=typing.cast(
1264
- typing.Optional[typing.Any],
1264
+ typing.Any,
1265
1265
  parse_obj_as(
1266
- type_=typing.Optional[typing.Any], # type: ignore
1266
+ type_=typing.Any, # type: ignore
1267
1267
  object_=_response.json(),
1268
1268
  ),
1269
1269
  ),
@@ -1272,9 +1272,9 @@ class AsyncRawSettingsClient:
1272
1272
  raise TooManyRequestsError(
1273
1273
  headers=dict(_response.headers),
1274
1274
  body=typing.cast(
1275
- typing.Optional[typing.Any],
1275
+ typing.Any,
1276
1276
  parse_obj_as(
1277
- type_=typing.Optional[typing.Any], # type: ignore
1277
+ type_=typing.Any, # type: ignore
1278
1278
  object_=_response.json(),
1279
1279
  ),
1280
1280
  ),
@@ -1283,9 +1283,9 @@ class AsyncRawSettingsClient:
1283
1283
  raise InternalServerError(
1284
1284
  headers=dict(_response.headers),
1285
1285
  body=typing.cast(
1286
- typing.Optional[typing.Any],
1286
+ typing.Any,
1287
1287
  parse_obj_as(
1288
- type_=typing.Optional[typing.Any], # type: ignore
1288
+ type_=typing.Any, # type: ignore
1289
1289
  object_=_response.json(),
1290
1290
  ),
1291
1291
  ),
@@ -1294,9 +1294,9 @@ class AsyncRawSettingsClient:
1294
1294
  raise NotImplementedError(
1295
1295
  headers=dict(_response.headers),
1296
1296
  body=typing.cast(
1297
- typing.Optional[typing.Any],
1297
+ typing.Any,
1298
1298
  parse_obj_as(
1299
- type_=typing.Optional[typing.Any], # type: ignore
1299
+ type_=typing.Any, # type: ignore
1300
1300
  object_=_response.json(),
1301
1301
  ),
1302
1302
  ),
@@ -1305,9 +1305,9 @@ class AsyncRawSettingsClient:
1305
1305
  raise BadGatewayError(
1306
1306
  headers=dict(_response.headers),
1307
1307
  body=typing.cast(
1308
- typing.Optional[typing.Any],
1308
+ typing.Any,
1309
1309
  parse_obj_as(
1310
- type_=typing.Optional[typing.Any], # type: ignore
1310
+ type_=typing.Any, # type: ignore
1311
1311
  object_=_response.json(),
1312
1312
  ),
1313
1313
  ),
@@ -1316,9 +1316,9 @@ class AsyncRawSettingsClient:
1316
1316
  raise ServiceUnavailableError(
1317
1317
  headers=dict(_response.headers),
1318
1318
  body=typing.cast(
1319
- typing.Optional[typing.Any],
1319
+ typing.Any,
1320
1320
  parse_obj_as(
1321
- type_=typing.Optional[typing.Any], # type: ignore
1321
+ type_=typing.Any, # type: ignore
1322
1322
  object_=_response.json(),
1323
1323
  ),
1324
1324
  ),
@@ -1327,9 +1327,9 @@ class AsyncRawSettingsClient:
1327
1327
  raise GatewayTimeoutError(
1328
1328
  headers=dict(_response.headers),
1329
1329
  body=typing.cast(
1330
- typing.Optional[typing.Any],
1330
+ typing.Any,
1331
1331
  parse_obj_as(
1332
- type_=typing.Optional[typing.Any], # type: ignore
1332
+ type_=typing.Any, # type: ignore
1333
1333
  object_=_response.json(),
1334
1334
  ),
1335
1335
  ),
@@ -1425,9 +1425,9 @@ class AsyncRawSettingsClient:
1425
1425
  raise UnauthorizedError(
1426
1426
  headers=dict(_response.headers),
1427
1427
  body=typing.cast(
1428
- typing.Optional[typing.Any],
1428
+ typing.Any,
1429
1429
  parse_obj_as(
1430
- type_=typing.Optional[typing.Any], # type: ignore
1430
+ type_=typing.Any, # type: ignore
1431
1431
  object_=_response.json(),
1432
1432
  ),
1433
1433
  ),
@@ -1436,9 +1436,9 @@ class AsyncRawSettingsClient:
1436
1436
  raise NotFoundError(
1437
1437
  headers=dict(_response.headers),
1438
1438
  body=typing.cast(
1439
- typing.Optional[typing.Any],
1439
+ typing.Any,
1440
1440
  parse_obj_as(
1441
- type_=typing.Optional[typing.Any], # type: ignore
1441
+ type_=typing.Any, # type: ignore
1442
1442
  object_=_response.json(),
1443
1443
  ),
1444
1444
  ),
@@ -1447,9 +1447,9 @@ class AsyncRawSettingsClient:
1447
1447
  raise MethodNotAllowedError(
1448
1448
  headers=dict(_response.headers),
1449
1449
  body=typing.cast(
1450
- typing.Optional[typing.Any],
1450
+ typing.Any,
1451
1451
  parse_obj_as(
1452
- type_=typing.Optional[typing.Any], # type: ignore
1452
+ type_=typing.Any, # type: ignore
1453
1453
  object_=_response.json(),
1454
1454
  ),
1455
1455
  ),
@@ -1458,9 +1458,9 @@ class AsyncRawSettingsClient:
1458
1458
  raise TooManyRequestsError(
1459
1459
  headers=dict(_response.headers),
1460
1460
  body=typing.cast(
1461
- typing.Optional[typing.Any],
1461
+ typing.Any,
1462
1462
  parse_obj_as(
1463
- type_=typing.Optional[typing.Any], # type: ignore
1463
+ type_=typing.Any, # type: ignore
1464
1464
  object_=_response.json(),
1465
1465
  ),
1466
1466
  ),
@@ -1469,9 +1469,9 @@ class AsyncRawSettingsClient:
1469
1469
  raise InternalServerError(
1470
1470
  headers=dict(_response.headers),
1471
1471
  body=typing.cast(
1472
- typing.Optional[typing.Any],
1472
+ typing.Any,
1473
1473
  parse_obj_as(
1474
- type_=typing.Optional[typing.Any], # type: ignore
1474
+ type_=typing.Any, # type: ignore
1475
1475
  object_=_response.json(),
1476
1476
  ),
1477
1477
  ),
@@ -1480,9 +1480,9 @@ class AsyncRawSettingsClient:
1480
1480
  raise NotImplementedError(
1481
1481
  headers=dict(_response.headers),
1482
1482
  body=typing.cast(
1483
- typing.Optional[typing.Any],
1483
+ typing.Any,
1484
1484
  parse_obj_as(
1485
- type_=typing.Optional[typing.Any], # type: ignore
1485
+ type_=typing.Any, # type: ignore
1486
1486
  object_=_response.json(),
1487
1487
  ),
1488
1488
  ),
@@ -1491,9 +1491,9 @@ class AsyncRawSettingsClient:
1491
1491
  raise BadGatewayError(
1492
1492
  headers=dict(_response.headers),
1493
1493
  body=typing.cast(
1494
- typing.Optional[typing.Any],
1494
+ typing.Any,
1495
1495
  parse_obj_as(
1496
- type_=typing.Optional[typing.Any], # type: ignore
1496
+ type_=typing.Any, # type: ignore
1497
1497
  object_=_response.json(),
1498
1498
  ),
1499
1499
  ),
@@ -1502,9 +1502,9 @@ class AsyncRawSettingsClient:
1502
1502
  raise ServiceUnavailableError(
1503
1503
  headers=dict(_response.headers),
1504
1504
  body=typing.cast(
1505
- typing.Optional[typing.Any],
1505
+ typing.Any,
1506
1506
  parse_obj_as(
1507
- type_=typing.Optional[typing.Any], # type: ignore
1507
+ type_=typing.Any, # type: ignore
1508
1508
  object_=_response.json(),
1509
1509
  ),
1510
1510
  ),
@@ -1513,9 +1513,9 @@ class AsyncRawSettingsClient:
1513
1513
  raise GatewayTimeoutError(
1514
1514
  headers=dict(_response.headers),
1515
1515
  body=typing.cast(
1516
- typing.Optional[typing.Any],
1516
+ typing.Any,
1517
1517
  parse_obj_as(
1518
- type_=typing.Optional[typing.Any], # type: ignore
1518
+ type_=typing.Any, # type: ignore
1519
1519
  object_=_response.json(),
1520
1520
  ),
1521
1521
  ),
@@ -1567,9 +1567,9 @@ class AsyncRawSettingsClient:
1567
1567
  raise UnauthorizedError(
1568
1568
  headers=dict(_response.headers),
1569
1569
  body=typing.cast(
1570
- typing.Optional[typing.Any],
1570
+ typing.Any,
1571
1571
  parse_obj_as(
1572
- type_=typing.Optional[typing.Any], # type: ignore
1572
+ type_=typing.Any, # type: ignore
1573
1573
  object_=_response.json(),
1574
1574
  ),
1575
1575
  ),
@@ -1578,9 +1578,9 @@ class AsyncRawSettingsClient:
1578
1578
  raise NotFoundError(
1579
1579
  headers=dict(_response.headers),
1580
1580
  body=typing.cast(
1581
- typing.Optional[typing.Any],
1581
+ typing.Any,
1582
1582
  parse_obj_as(
1583
- type_=typing.Optional[typing.Any], # type: ignore
1583
+ type_=typing.Any, # type: ignore
1584
1584
  object_=_response.json(),
1585
1585
  ),
1586
1586
  ),
@@ -1589,9 +1589,9 @@ class AsyncRawSettingsClient:
1589
1589
  raise MethodNotAllowedError(
1590
1590
  headers=dict(_response.headers),
1591
1591
  body=typing.cast(
1592
- typing.Optional[typing.Any],
1592
+ typing.Any,
1593
1593
  parse_obj_as(
1594
- type_=typing.Optional[typing.Any], # type: ignore
1594
+ type_=typing.Any, # type: ignore
1595
1595
  object_=_response.json(),
1596
1596
  ),
1597
1597
  ),
@@ -1600,9 +1600,9 @@ class AsyncRawSettingsClient:
1600
1600
  raise TooManyRequestsError(
1601
1601
  headers=dict(_response.headers),
1602
1602
  body=typing.cast(
1603
- typing.Optional[typing.Any],
1603
+ typing.Any,
1604
1604
  parse_obj_as(
1605
- type_=typing.Optional[typing.Any], # type: ignore
1605
+ type_=typing.Any, # type: ignore
1606
1606
  object_=_response.json(),
1607
1607
  ),
1608
1608
  ),
@@ -1611,9 +1611,9 @@ class AsyncRawSettingsClient:
1611
1611
  raise InternalServerError(
1612
1612
  headers=dict(_response.headers),
1613
1613
  body=typing.cast(
1614
- typing.Optional[typing.Any],
1614
+ typing.Any,
1615
1615
  parse_obj_as(
1616
- type_=typing.Optional[typing.Any], # type: ignore
1616
+ type_=typing.Any, # type: ignore
1617
1617
  object_=_response.json(),
1618
1618
  ),
1619
1619
  ),
@@ -1622,9 +1622,9 @@ class AsyncRawSettingsClient:
1622
1622
  raise NotImplementedError(
1623
1623
  headers=dict(_response.headers),
1624
1624
  body=typing.cast(
1625
- typing.Optional[typing.Any],
1625
+ typing.Any,
1626
1626
  parse_obj_as(
1627
- type_=typing.Optional[typing.Any], # type: ignore
1627
+ type_=typing.Any, # type: ignore
1628
1628
  object_=_response.json(),
1629
1629
  ),
1630
1630
  ),
@@ -1633,9 +1633,9 @@ class AsyncRawSettingsClient:
1633
1633
  raise BadGatewayError(
1634
1634
  headers=dict(_response.headers),
1635
1635
  body=typing.cast(
1636
- typing.Optional[typing.Any],
1636
+ typing.Any,
1637
1637
  parse_obj_as(
1638
- type_=typing.Optional[typing.Any], # type: ignore
1638
+ type_=typing.Any, # type: ignore
1639
1639
  object_=_response.json(),
1640
1640
  ),
1641
1641
  ),
@@ -1644,9 +1644,9 @@ class AsyncRawSettingsClient:
1644
1644
  raise ServiceUnavailableError(
1645
1645
  headers=dict(_response.headers),
1646
1646
  body=typing.cast(
1647
- typing.Optional[typing.Any],
1647
+ typing.Any,
1648
1648
  parse_obj_as(
1649
- type_=typing.Optional[typing.Any], # type: ignore
1649
+ type_=typing.Any, # type: ignore
1650
1650
  object_=_response.json(),
1651
1651
  ),
1652
1652
  ),
@@ -1655,9 +1655,9 @@ class AsyncRawSettingsClient:
1655
1655
  raise GatewayTimeoutError(
1656
1656
  headers=dict(_response.headers),
1657
1657
  body=typing.cast(
1658
- typing.Optional[typing.Any],
1658
+ typing.Any,
1659
1659
  parse_obj_as(
1660
- type_=typing.Optional[typing.Any], # type: ignore
1660
+ type_=typing.Any, # type: ignore
1661
1661
  object_=_response.json(),
1662
1662
  ),
1663
1663
  ),