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
@@ -43,6 +43,9 @@ from ..types.form_templates_get_form_templates_response_body import FormTemplate
43
43
  from .types.form_submissions_patch_form_submission_request_body_status import (
44
44
  FormSubmissionsPatchFormSubmissionRequestBodyStatus,
45
45
  )
46
+ from .types.form_submissions_post_form_submission_request_body_status import (
47
+ FormSubmissionsPostFormSubmissionRequestBodyStatus,
48
+ )
46
49
 
47
50
  # this is used as the default value for optional parameters
48
51
  OMIT = typing.cast(typing.Any, ...)
@@ -108,9 +111,9 @@ class RawFormsClient:
108
111
  raise UnauthorizedError(
109
112
  headers=dict(_response.headers),
110
113
  body=typing.cast(
111
- typing.Optional[typing.Any],
114
+ typing.Any,
112
115
  parse_obj_as(
113
- type_=typing.Optional[typing.Any], # type: ignore
116
+ type_=typing.Any, # type: ignore
114
117
  object_=_response.json(),
115
118
  ),
116
119
  ),
@@ -119,9 +122,9 @@ class RawFormsClient:
119
122
  raise NotFoundError(
120
123
  headers=dict(_response.headers),
121
124
  body=typing.cast(
122
- typing.Optional[typing.Any],
125
+ typing.Any,
123
126
  parse_obj_as(
124
- type_=typing.Optional[typing.Any], # type: ignore
127
+ type_=typing.Any, # type: ignore
125
128
  object_=_response.json(),
126
129
  ),
127
130
  ),
@@ -130,9 +133,9 @@ class RawFormsClient:
130
133
  raise MethodNotAllowedError(
131
134
  headers=dict(_response.headers),
132
135
  body=typing.cast(
133
- typing.Optional[typing.Any],
136
+ typing.Any,
134
137
  parse_obj_as(
135
- type_=typing.Optional[typing.Any], # type: ignore
138
+ type_=typing.Any, # type: ignore
136
139
  object_=_response.json(),
137
140
  ),
138
141
  ),
@@ -141,9 +144,9 @@ class RawFormsClient:
141
144
  raise TooManyRequestsError(
142
145
  headers=dict(_response.headers),
143
146
  body=typing.cast(
144
- typing.Optional[typing.Any],
147
+ typing.Any,
145
148
  parse_obj_as(
146
- type_=typing.Optional[typing.Any], # type: ignore
149
+ type_=typing.Any, # type: ignore
147
150
  object_=_response.json(),
148
151
  ),
149
152
  ),
@@ -152,9 +155,9 @@ class RawFormsClient:
152
155
  raise InternalServerError(
153
156
  headers=dict(_response.headers),
154
157
  body=typing.cast(
155
- typing.Optional[typing.Any],
158
+ typing.Any,
156
159
  parse_obj_as(
157
- type_=typing.Optional[typing.Any], # type: ignore
160
+ type_=typing.Any, # type: ignore
158
161
  object_=_response.json(),
159
162
  ),
160
163
  ),
@@ -163,9 +166,9 @@ class RawFormsClient:
163
166
  raise NotImplementedError(
164
167
  headers=dict(_response.headers),
165
168
  body=typing.cast(
166
- typing.Optional[typing.Any],
169
+ typing.Any,
167
170
  parse_obj_as(
168
- type_=typing.Optional[typing.Any], # type: ignore
171
+ type_=typing.Any, # type: ignore
169
172
  object_=_response.json(),
170
173
  ),
171
174
  ),
@@ -174,9 +177,9 @@ class RawFormsClient:
174
177
  raise BadGatewayError(
175
178
  headers=dict(_response.headers),
176
179
  body=typing.cast(
177
- typing.Optional[typing.Any],
180
+ typing.Any,
178
181
  parse_obj_as(
179
- type_=typing.Optional[typing.Any], # type: ignore
182
+ type_=typing.Any, # type: ignore
180
183
  object_=_response.json(),
181
184
  ),
182
185
  ),
@@ -185,9 +188,9 @@ class RawFormsClient:
185
188
  raise ServiceUnavailableError(
186
189
  headers=dict(_response.headers),
187
190
  body=typing.cast(
188
- typing.Optional[typing.Any],
191
+ typing.Any,
189
192
  parse_obj_as(
190
- type_=typing.Optional[typing.Any], # type: ignore
193
+ type_=typing.Any, # type: ignore
191
194
  object_=_response.json(),
192
195
  ),
193
196
  ),
@@ -196,9 +199,9 @@ class RawFormsClient:
196
199
  raise GatewayTimeoutError(
197
200
  headers=dict(_response.headers),
198
201
  body=typing.cast(
199
- typing.Optional[typing.Any],
202
+ typing.Any,
200
203
  parse_obj_as(
201
- type_=typing.Optional[typing.Any], # type: ignore
204
+ type_=typing.Any, # type: ignore
202
205
  object_=_response.json(),
203
206
  ),
204
207
  ),
@@ -212,6 +215,7 @@ class RawFormsClient:
212
215
  self,
213
216
  *,
214
217
  form_template: FormTemplateRequestObjectRequestBody,
218
+ status: FormSubmissionsPostFormSubmissionRequestBodyStatus,
215
219
  assigned_to: typing.Optional[FormSubmissionRequestAssignedToRequestBody] = OMIT,
216
220
  due_at_time: typing.Optional[dt.datetime] = OMIT,
217
221
  fields: typing.Optional[typing.Sequence[FormSubmissionRequestFieldInputObjectRequestBody]] = OMIT,
@@ -234,6 +238,9 @@ class RawFormsClient:
234
238
  ----------
235
239
  form_template : FormTemplateRequestObjectRequestBody
236
240
 
241
+ status : FormSubmissionsPostFormSubmissionRequestBodyStatus
242
+ Status of the form submission. Valid values: `notStarted`
243
+
237
244
  assigned_to : typing.Optional[FormSubmissionRequestAssignedToRequestBody]
238
245
 
239
246
  due_at_time : typing.Optional[dt.datetime]
@@ -277,8 +284,8 @@ class RawFormsClient:
277
284
  ),
278
285
  "isRequired": is_required,
279
286
  "routeStopId": route_stop_id,
287
+ "status": status,
280
288
  "title": title,
281
- "status": "notStarted",
282
289
  },
283
290
  headers={
284
291
  "content-type": "application/json",
@@ -300,9 +307,9 @@ class RawFormsClient:
300
307
  raise UnauthorizedError(
301
308
  headers=dict(_response.headers),
302
309
  body=typing.cast(
303
- typing.Optional[typing.Any],
310
+ typing.Any,
304
311
  parse_obj_as(
305
- type_=typing.Optional[typing.Any], # type: ignore
312
+ type_=typing.Any, # type: ignore
306
313
  object_=_response.json(),
307
314
  ),
308
315
  ),
@@ -311,9 +318,9 @@ class RawFormsClient:
311
318
  raise NotFoundError(
312
319
  headers=dict(_response.headers),
313
320
  body=typing.cast(
314
- typing.Optional[typing.Any],
321
+ typing.Any,
315
322
  parse_obj_as(
316
- type_=typing.Optional[typing.Any], # type: ignore
323
+ type_=typing.Any, # type: ignore
317
324
  object_=_response.json(),
318
325
  ),
319
326
  ),
@@ -322,9 +329,9 @@ class RawFormsClient:
322
329
  raise MethodNotAllowedError(
323
330
  headers=dict(_response.headers),
324
331
  body=typing.cast(
325
- typing.Optional[typing.Any],
332
+ typing.Any,
326
333
  parse_obj_as(
327
- type_=typing.Optional[typing.Any], # type: ignore
334
+ type_=typing.Any, # type: ignore
328
335
  object_=_response.json(),
329
336
  ),
330
337
  ),
@@ -333,9 +340,9 @@ class RawFormsClient:
333
340
  raise TooManyRequestsError(
334
341
  headers=dict(_response.headers),
335
342
  body=typing.cast(
336
- typing.Optional[typing.Any],
343
+ typing.Any,
337
344
  parse_obj_as(
338
- type_=typing.Optional[typing.Any], # type: ignore
345
+ type_=typing.Any, # type: ignore
339
346
  object_=_response.json(),
340
347
  ),
341
348
  ),
@@ -344,9 +351,9 @@ class RawFormsClient:
344
351
  raise InternalServerError(
345
352
  headers=dict(_response.headers),
346
353
  body=typing.cast(
347
- typing.Optional[typing.Any],
354
+ typing.Any,
348
355
  parse_obj_as(
349
- type_=typing.Optional[typing.Any], # type: ignore
356
+ type_=typing.Any, # type: ignore
350
357
  object_=_response.json(),
351
358
  ),
352
359
  ),
@@ -355,9 +362,9 @@ class RawFormsClient:
355
362
  raise NotImplementedError(
356
363
  headers=dict(_response.headers),
357
364
  body=typing.cast(
358
- typing.Optional[typing.Any],
365
+ typing.Any,
359
366
  parse_obj_as(
360
- type_=typing.Optional[typing.Any], # type: ignore
367
+ type_=typing.Any, # type: ignore
361
368
  object_=_response.json(),
362
369
  ),
363
370
  ),
@@ -366,9 +373,9 @@ class RawFormsClient:
366
373
  raise BadGatewayError(
367
374
  headers=dict(_response.headers),
368
375
  body=typing.cast(
369
- typing.Optional[typing.Any],
376
+ typing.Any,
370
377
  parse_obj_as(
371
- type_=typing.Optional[typing.Any], # type: ignore
378
+ type_=typing.Any, # type: ignore
372
379
  object_=_response.json(),
373
380
  ),
374
381
  ),
@@ -377,9 +384,9 @@ class RawFormsClient:
377
384
  raise ServiceUnavailableError(
378
385
  headers=dict(_response.headers),
379
386
  body=typing.cast(
380
- typing.Optional[typing.Any],
387
+ typing.Any,
381
388
  parse_obj_as(
382
- type_=typing.Optional[typing.Any], # type: ignore
389
+ type_=typing.Any, # type: ignore
383
390
  object_=_response.json(),
384
391
  ),
385
392
  ),
@@ -388,9 +395,9 @@ class RawFormsClient:
388
395
  raise GatewayTimeoutError(
389
396
  headers=dict(_response.headers),
390
397
  body=typing.cast(
391
- typing.Optional[typing.Any],
398
+ typing.Any,
392
399
  parse_obj_as(
393
- type_=typing.Optional[typing.Any], # type: ignore
400
+ type_=typing.Any, # type: ignore
394
401
  object_=_response.json(),
395
402
  ),
396
403
  ),
@@ -494,9 +501,9 @@ class RawFormsClient:
494
501
  raise UnauthorizedError(
495
502
  headers=dict(_response.headers),
496
503
  body=typing.cast(
497
- typing.Optional[typing.Any],
504
+ typing.Any,
498
505
  parse_obj_as(
499
- type_=typing.Optional[typing.Any], # type: ignore
506
+ type_=typing.Any, # type: ignore
500
507
  object_=_response.json(),
501
508
  ),
502
509
  ),
@@ -505,9 +512,9 @@ class RawFormsClient:
505
512
  raise NotFoundError(
506
513
  headers=dict(_response.headers),
507
514
  body=typing.cast(
508
- typing.Optional[typing.Any],
515
+ typing.Any,
509
516
  parse_obj_as(
510
- type_=typing.Optional[typing.Any], # type: ignore
517
+ type_=typing.Any, # type: ignore
511
518
  object_=_response.json(),
512
519
  ),
513
520
  ),
@@ -516,9 +523,9 @@ class RawFormsClient:
516
523
  raise MethodNotAllowedError(
517
524
  headers=dict(_response.headers),
518
525
  body=typing.cast(
519
- typing.Optional[typing.Any],
526
+ typing.Any,
520
527
  parse_obj_as(
521
- type_=typing.Optional[typing.Any], # type: ignore
528
+ type_=typing.Any, # type: ignore
522
529
  object_=_response.json(),
523
530
  ),
524
531
  ),
@@ -527,9 +534,9 @@ class RawFormsClient:
527
534
  raise TooManyRequestsError(
528
535
  headers=dict(_response.headers),
529
536
  body=typing.cast(
530
- typing.Optional[typing.Any],
537
+ typing.Any,
531
538
  parse_obj_as(
532
- type_=typing.Optional[typing.Any], # type: ignore
539
+ type_=typing.Any, # type: ignore
533
540
  object_=_response.json(),
534
541
  ),
535
542
  ),
@@ -538,9 +545,9 @@ class RawFormsClient:
538
545
  raise InternalServerError(
539
546
  headers=dict(_response.headers),
540
547
  body=typing.cast(
541
- typing.Optional[typing.Any],
548
+ typing.Any,
542
549
  parse_obj_as(
543
- type_=typing.Optional[typing.Any], # type: ignore
550
+ type_=typing.Any, # type: ignore
544
551
  object_=_response.json(),
545
552
  ),
546
553
  ),
@@ -549,9 +556,9 @@ class RawFormsClient:
549
556
  raise NotImplementedError(
550
557
  headers=dict(_response.headers),
551
558
  body=typing.cast(
552
- typing.Optional[typing.Any],
559
+ typing.Any,
553
560
  parse_obj_as(
554
- type_=typing.Optional[typing.Any], # type: ignore
561
+ type_=typing.Any, # type: ignore
555
562
  object_=_response.json(),
556
563
  ),
557
564
  ),
@@ -560,9 +567,9 @@ class RawFormsClient:
560
567
  raise BadGatewayError(
561
568
  headers=dict(_response.headers),
562
569
  body=typing.cast(
563
- typing.Optional[typing.Any],
570
+ typing.Any,
564
571
  parse_obj_as(
565
- type_=typing.Optional[typing.Any], # type: ignore
572
+ type_=typing.Any, # type: ignore
566
573
  object_=_response.json(),
567
574
  ),
568
575
  ),
@@ -571,9 +578,9 @@ class RawFormsClient:
571
578
  raise ServiceUnavailableError(
572
579
  headers=dict(_response.headers),
573
580
  body=typing.cast(
574
- typing.Optional[typing.Any],
581
+ typing.Any,
575
582
  parse_obj_as(
576
- type_=typing.Optional[typing.Any], # type: ignore
583
+ type_=typing.Any, # type: ignore
577
584
  object_=_response.json(),
578
585
  ),
579
586
  ),
@@ -582,9 +589,9 @@ class RawFormsClient:
582
589
  raise GatewayTimeoutError(
583
590
  headers=dict(_response.headers),
584
591
  body=typing.cast(
585
- typing.Optional[typing.Any],
592
+ typing.Any,
586
593
  parse_obj_as(
587
- type_=typing.Optional[typing.Any], # type: ignore
594
+ type_=typing.Any, # type: ignore
588
595
  object_=_response.json(),
589
596
  ),
590
597
  ),
@@ -642,9 +649,9 @@ class RawFormsClient:
642
649
  raise UnauthorizedError(
643
650
  headers=dict(_response.headers),
644
651
  body=typing.cast(
645
- typing.Optional[typing.Any],
652
+ typing.Any,
646
653
  parse_obj_as(
647
- type_=typing.Optional[typing.Any], # type: ignore
654
+ type_=typing.Any, # type: ignore
648
655
  object_=_response.json(),
649
656
  ),
650
657
  ),
@@ -653,9 +660,9 @@ class RawFormsClient:
653
660
  raise NotFoundError(
654
661
  headers=dict(_response.headers),
655
662
  body=typing.cast(
656
- typing.Optional[typing.Any],
663
+ typing.Any,
657
664
  parse_obj_as(
658
- type_=typing.Optional[typing.Any], # type: ignore
665
+ type_=typing.Any, # type: ignore
659
666
  object_=_response.json(),
660
667
  ),
661
668
  ),
@@ -664,9 +671,9 @@ class RawFormsClient:
664
671
  raise MethodNotAllowedError(
665
672
  headers=dict(_response.headers),
666
673
  body=typing.cast(
667
- typing.Optional[typing.Any],
674
+ typing.Any,
668
675
  parse_obj_as(
669
- type_=typing.Optional[typing.Any], # type: ignore
676
+ type_=typing.Any, # type: ignore
670
677
  object_=_response.json(),
671
678
  ),
672
679
  ),
@@ -675,9 +682,9 @@ class RawFormsClient:
675
682
  raise TooManyRequestsError(
676
683
  headers=dict(_response.headers),
677
684
  body=typing.cast(
678
- typing.Optional[typing.Any],
685
+ typing.Any,
679
686
  parse_obj_as(
680
- type_=typing.Optional[typing.Any], # type: ignore
687
+ type_=typing.Any, # type: ignore
681
688
  object_=_response.json(),
682
689
  ),
683
690
  ),
@@ -686,9 +693,9 @@ class RawFormsClient:
686
693
  raise InternalServerError(
687
694
  headers=dict(_response.headers),
688
695
  body=typing.cast(
689
- typing.Optional[typing.Any],
696
+ typing.Any,
690
697
  parse_obj_as(
691
- type_=typing.Optional[typing.Any], # type: ignore
698
+ type_=typing.Any, # type: ignore
692
699
  object_=_response.json(),
693
700
  ),
694
701
  ),
@@ -697,9 +704,9 @@ class RawFormsClient:
697
704
  raise NotImplementedError(
698
705
  headers=dict(_response.headers),
699
706
  body=typing.cast(
700
- typing.Optional[typing.Any],
707
+ typing.Any,
701
708
  parse_obj_as(
702
- type_=typing.Optional[typing.Any], # type: ignore
709
+ type_=typing.Any, # type: ignore
703
710
  object_=_response.json(),
704
711
  ),
705
712
  ),
@@ -708,9 +715,9 @@ class RawFormsClient:
708
715
  raise BadGatewayError(
709
716
  headers=dict(_response.headers),
710
717
  body=typing.cast(
711
- typing.Optional[typing.Any],
718
+ typing.Any,
712
719
  parse_obj_as(
713
- type_=typing.Optional[typing.Any], # type: ignore
720
+ type_=typing.Any, # type: ignore
714
721
  object_=_response.json(),
715
722
  ),
716
723
  ),
@@ -719,9 +726,9 @@ class RawFormsClient:
719
726
  raise ServiceUnavailableError(
720
727
  headers=dict(_response.headers),
721
728
  body=typing.cast(
722
- typing.Optional[typing.Any],
729
+ typing.Any,
723
730
  parse_obj_as(
724
- type_=typing.Optional[typing.Any], # type: ignore
731
+ type_=typing.Any, # type: ignore
725
732
  object_=_response.json(),
726
733
  ),
727
734
  ),
@@ -730,9 +737,9 @@ class RawFormsClient:
730
737
  raise GatewayTimeoutError(
731
738
  headers=dict(_response.headers),
732
739
  body=typing.cast(
733
- typing.Optional[typing.Any],
740
+ typing.Any,
734
741
  parse_obj_as(
735
- type_=typing.Optional[typing.Any], # type: ignore
742
+ type_=typing.Any, # type: ignore
736
743
  object_=_response.json(),
737
744
  ),
738
745
  ),
@@ -790,9 +797,9 @@ class RawFormsClient:
790
797
  raise UnauthorizedError(
791
798
  headers=dict(_response.headers),
792
799
  body=typing.cast(
793
- typing.Optional[typing.Any],
800
+ typing.Any,
794
801
  parse_obj_as(
795
- type_=typing.Optional[typing.Any], # type: ignore
802
+ type_=typing.Any, # type: ignore
796
803
  object_=_response.json(),
797
804
  ),
798
805
  ),
@@ -801,9 +808,9 @@ class RawFormsClient:
801
808
  raise NotFoundError(
802
809
  headers=dict(_response.headers),
803
810
  body=typing.cast(
804
- typing.Optional[typing.Any],
811
+ typing.Any,
805
812
  parse_obj_as(
806
- type_=typing.Optional[typing.Any], # type: ignore
813
+ type_=typing.Any, # type: ignore
807
814
  object_=_response.json(),
808
815
  ),
809
816
  ),
@@ -812,9 +819,9 @@ class RawFormsClient:
812
819
  raise MethodNotAllowedError(
813
820
  headers=dict(_response.headers),
814
821
  body=typing.cast(
815
- typing.Optional[typing.Any],
822
+ typing.Any,
816
823
  parse_obj_as(
817
- type_=typing.Optional[typing.Any], # type: ignore
824
+ type_=typing.Any, # type: ignore
818
825
  object_=_response.json(),
819
826
  ),
820
827
  ),
@@ -823,9 +830,9 @@ class RawFormsClient:
823
830
  raise TooManyRequestsError(
824
831
  headers=dict(_response.headers),
825
832
  body=typing.cast(
826
- typing.Optional[typing.Any],
833
+ typing.Any,
827
834
  parse_obj_as(
828
- type_=typing.Optional[typing.Any], # type: ignore
835
+ type_=typing.Any, # type: ignore
829
836
  object_=_response.json(),
830
837
  ),
831
838
  ),
@@ -834,9 +841,9 @@ class RawFormsClient:
834
841
  raise InternalServerError(
835
842
  headers=dict(_response.headers),
836
843
  body=typing.cast(
837
- typing.Optional[typing.Any],
844
+ typing.Any,
838
845
  parse_obj_as(
839
- type_=typing.Optional[typing.Any], # type: ignore
846
+ type_=typing.Any, # type: ignore
840
847
  object_=_response.json(),
841
848
  ),
842
849
  ),
@@ -845,9 +852,9 @@ class RawFormsClient:
845
852
  raise NotImplementedError(
846
853
  headers=dict(_response.headers),
847
854
  body=typing.cast(
848
- typing.Optional[typing.Any],
855
+ typing.Any,
849
856
  parse_obj_as(
850
- type_=typing.Optional[typing.Any], # type: ignore
857
+ type_=typing.Any, # type: ignore
851
858
  object_=_response.json(),
852
859
  ),
853
860
  ),
@@ -856,9 +863,9 @@ class RawFormsClient:
856
863
  raise BadGatewayError(
857
864
  headers=dict(_response.headers),
858
865
  body=typing.cast(
859
- typing.Optional[typing.Any],
866
+ typing.Any,
860
867
  parse_obj_as(
861
- type_=typing.Optional[typing.Any], # type: ignore
868
+ type_=typing.Any, # type: ignore
862
869
  object_=_response.json(),
863
870
  ),
864
871
  ),
@@ -867,9 +874,9 @@ class RawFormsClient:
867
874
  raise ServiceUnavailableError(
868
875
  headers=dict(_response.headers),
869
876
  body=typing.cast(
870
- typing.Optional[typing.Any],
877
+ typing.Any,
871
878
  parse_obj_as(
872
- type_=typing.Optional[typing.Any], # type: ignore
879
+ type_=typing.Any, # type: ignore
873
880
  object_=_response.json(),
874
881
  ),
875
882
  ),
@@ -878,9 +885,9 @@ class RawFormsClient:
878
885
  raise GatewayTimeoutError(
879
886
  headers=dict(_response.headers),
880
887
  body=typing.cast(
881
- typing.Optional[typing.Any],
888
+ typing.Any,
882
889
  parse_obj_as(
883
- type_=typing.Optional[typing.Any], # type: ignore
890
+ type_=typing.Any, # type: ignore
884
891
  object_=_response.json(),
885
892
  ),
886
893
  ),
@@ -976,9 +983,9 @@ class RawFormsClient:
976
983
  raise UnauthorizedError(
977
984
  headers=dict(_response.headers),
978
985
  body=typing.cast(
979
- typing.Optional[typing.Any],
986
+ typing.Any,
980
987
  parse_obj_as(
981
- type_=typing.Optional[typing.Any], # type: ignore
988
+ type_=typing.Any, # type: ignore
982
989
  object_=_response.json(),
983
990
  ),
984
991
  ),
@@ -987,9 +994,9 @@ class RawFormsClient:
987
994
  raise NotFoundError(
988
995
  headers=dict(_response.headers),
989
996
  body=typing.cast(
990
- typing.Optional[typing.Any],
997
+ typing.Any,
991
998
  parse_obj_as(
992
- type_=typing.Optional[typing.Any], # type: ignore
999
+ type_=typing.Any, # type: ignore
993
1000
  object_=_response.json(),
994
1001
  ),
995
1002
  ),
@@ -998,9 +1005,9 @@ class RawFormsClient:
998
1005
  raise MethodNotAllowedError(
999
1006
  headers=dict(_response.headers),
1000
1007
  body=typing.cast(
1001
- typing.Optional[typing.Any],
1008
+ typing.Any,
1002
1009
  parse_obj_as(
1003
- type_=typing.Optional[typing.Any], # type: ignore
1010
+ type_=typing.Any, # type: ignore
1004
1011
  object_=_response.json(),
1005
1012
  ),
1006
1013
  ),
@@ -1009,9 +1016,9 @@ class RawFormsClient:
1009
1016
  raise TooManyRequestsError(
1010
1017
  headers=dict(_response.headers),
1011
1018
  body=typing.cast(
1012
- typing.Optional[typing.Any],
1019
+ typing.Any,
1013
1020
  parse_obj_as(
1014
- type_=typing.Optional[typing.Any], # type: ignore
1021
+ type_=typing.Any, # type: ignore
1015
1022
  object_=_response.json(),
1016
1023
  ),
1017
1024
  ),
@@ -1020,9 +1027,9 @@ class RawFormsClient:
1020
1027
  raise InternalServerError(
1021
1028
  headers=dict(_response.headers),
1022
1029
  body=typing.cast(
1023
- typing.Optional[typing.Any],
1030
+ typing.Any,
1024
1031
  parse_obj_as(
1025
- type_=typing.Optional[typing.Any], # type: ignore
1032
+ type_=typing.Any, # type: ignore
1026
1033
  object_=_response.json(),
1027
1034
  ),
1028
1035
  ),
@@ -1031,9 +1038,9 @@ class RawFormsClient:
1031
1038
  raise NotImplementedError(
1032
1039
  headers=dict(_response.headers),
1033
1040
  body=typing.cast(
1034
- typing.Optional[typing.Any],
1041
+ typing.Any,
1035
1042
  parse_obj_as(
1036
- type_=typing.Optional[typing.Any], # type: ignore
1043
+ type_=typing.Any, # type: ignore
1037
1044
  object_=_response.json(),
1038
1045
  ),
1039
1046
  ),
@@ -1042,9 +1049,9 @@ class RawFormsClient:
1042
1049
  raise BadGatewayError(
1043
1050
  headers=dict(_response.headers),
1044
1051
  body=typing.cast(
1045
- typing.Optional[typing.Any],
1052
+ typing.Any,
1046
1053
  parse_obj_as(
1047
- type_=typing.Optional[typing.Any], # type: ignore
1054
+ type_=typing.Any, # type: ignore
1048
1055
  object_=_response.json(),
1049
1056
  ),
1050
1057
  ),
@@ -1053,9 +1060,9 @@ class RawFormsClient:
1053
1060
  raise ServiceUnavailableError(
1054
1061
  headers=dict(_response.headers),
1055
1062
  body=typing.cast(
1056
- typing.Optional[typing.Any],
1063
+ typing.Any,
1057
1064
  parse_obj_as(
1058
- type_=typing.Optional[typing.Any], # type: ignore
1065
+ type_=typing.Any, # type: ignore
1059
1066
  object_=_response.json(),
1060
1067
  ),
1061
1068
  ),
@@ -1064,9 +1071,9 @@ class RawFormsClient:
1064
1071
  raise GatewayTimeoutError(
1065
1072
  headers=dict(_response.headers),
1066
1073
  body=typing.cast(
1067
- typing.Optional[typing.Any],
1074
+ typing.Any,
1068
1075
  parse_obj_as(
1069
- type_=typing.Optional[typing.Any], # type: ignore
1076
+ type_=typing.Any, # type: ignore
1070
1077
  object_=_response.json(),
1071
1078
  ),
1072
1079
  ),
@@ -1132,9 +1139,9 @@ class RawFormsClient:
1132
1139
  raise UnauthorizedError(
1133
1140
  headers=dict(_response.headers),
1134
1141
  body=typing.cast(
1135
- typing.Optional[typing.Any],
1142
+ typing.Any,
1136
1143
  parse_obj_as(
1137
- type_=typing.Optional[typing.Any], # type: ignore
1144
+ type_=typing.Any, # type: ignore
1138
1145
  object_=_response.json(),
1139
1146
  ),
1140
1147
  ),
@@ -1143,9 +1150,9 @@ class RawFormsClient:
1143
1150
  raise NotFoundError(
1144
1151
  headers=dict(_response.headers),
1145
1152
  body=typing.cast(
1146
- typing.Optional[typing.Any],
1153
+ typing.Any,
1147
1154
  parse_obj_as(
1148
- type_=typing.Optional[typing.Any], # type: ignore
1155
+ type_=typing.Any, # type: ignore
1149
1156
  object_=_response.json(),
1150
1157
  ),
1151
1158
  ),
@@ -1154,9 +1161,9 @@ class RawFormsClient:
1154
1161
  raise MethodNotAllowedError(
1155
1162
  headers=dict(_response.headers),
1156
1163
  body=typing.cast(
1157
- typing.Optional[typing.Any],
1164
+ typing.Any,
1158
1165
  parse_obj_as(
1159
- type_=typing.Optional[typing.Any], # type: ignore
1166
+ type_=typing.Any, # type: ignore
1160
1167
  object_=_response.json(),
1161
1168
  ),
1162
1169
  ),
@@ -1165,9 +1172,9 @@ class RawFormsClient:
1165
1172
  raise TooManyRequestsError(
1166
1173
  headers=dict(_response.headers),
1167
1174
  body=typing.cast(
1168
- typing.Optional[typing.Any],
1175
+ typing.Any,
1169
1176
  parse_obj_as(
1170
- type_=typing.Optional[typing.Any], # type: ignore
1177
+ type_=typing.Any, # type: ignore
1171
1178
  object_=_response.json(),
1172
1179
  ),
1173
1180
  ),
@@ -1176,9 +1183,9 @@ class RawFormsClient:
1176
1183
  raise InternalServerError(
1177
1184
  headers=dict(_response.headers),
1178
1185
  body=typing.cast(
1179
- typing.Optional[typing.Any],
1186
+ typing.Any,
1180
1187
  parse_obj_as(
1181
- type_=typing.Optional[typing.Any], # type: ignore
1188
+ type_=typing.Any, # type: ignore
1182
1189
  object_=_response.json(),
1183
1190
  ),
1184
1191
  ),
@@ -1187,9 +1194,9 @@ class RawFormsClient:
1187
1194
  raise NotImplementedError(
1188
1195
  headers=dict(_response.headers),
1189
1196
  body=typing.cast(
1190
- typing.Optional[typing.Any],
1197
+ typing.Any,
1191
1198
  parse_obj_as(
1192
- type_=typing.Optional[typing.Any], # type: ignore
1199
+ type_=typing.Any, # type: ignore
1193
1200
  object_=_response.json(),
1194
1201
  ),
1195
1202
  ),
@@ -1198,9 +1205,9 @@ class RawFormsClient:
1198
1205
  raise BadGatewayError(
1199
1206
  headers=dict(_response.headers),
1200
1207
  body=typing.cast(
1201
- typing.Optional[typing.Any],
1208
+ typing.Any,
1202
1209
  parse_obj_as(
1203
- type_=typing.Optional[typing.Any], # type: ignore
1210
+ type_=typing.Any, # type: ignore
1204
1211
  object_=_response.json(),
1205
1212
  ),
1206
1213
  ),
@@ -1209,9 +1216,9 @@ class RawFormsClient:
1209
1216
  raise ServiceUnavailableError(
1210
1217
  headers=dict(_response.headers),
1211
1218
  body=typing.cast(
1212
- typing.Optional[typing.Any],
1219
+ typing.Any,
1213
1220
  parse_obj_as(
1214
- type_=typing.Optional[typing.Any], # type: ignore
1221
+ type_=typing.Any, # type: ignore
1215
1222
  object_=_response.json(),
1216
1223
  ),
1217
1224
  ),
@@ -1220,9 +1227,9 @@ class RawFormsClient:
1220
1227
  raise GatewayTimeoutError(
1221
1228
  headers=dict(_response.headers),
1222
1229
  body=typing.cast(
1223
- typing.Optional[typing.Any],
1230
+ typing.Any,
1224
1231
  parse_obj_as(
1225
- type_=typing.Optional[typing.Any], # type: ignore
1232
+ type_=typing.Any, # type: ignore
1226
1233
  object_=_response.json(),
1227
1234
  ),
1228
1235
  ),
@@ -1293,9 +1300,9 @@ class AsyncRawFormsClient:
1293
1300
  raise UnauthorizedError(
1294
1301
  headers=dict(_response.headers),
1295
1302
  body=typing.cast(
1296
- typing.Optional[typing.Any],
1303
+ typing.Any,
1297
1304
  parse_obj_as(
1298
- type_=typing.Optional[typing.Any], # type: ignore
1305
+ type_=typing.Any, # type: ignore
1299
1306
  object_=_response.json(),
1300
1307
  ),
1301
1308
  ),
@@ -1304,9 +1311,9 @@ class AsyncRawFormsClient:
1304
1311
  raise NotFoundError(
1305
1312
  headers=dict(_response.headers),
1306
1313
  body=typing.cast(
1307
- typing.Optional[typing.Any],
1314
+ typing.Any,
1308
1315
  parse_obj_as(
1309
- type_=typing.Optional[typing.Any], # type: ignore
1316
+ type_=typing.Any, # type: ignore
1310
1317
  object_=_response.json(),
1311
1318
  ),
1312
1319
  ),
@@ -1315,9 +1322,9 @@ class AsyncRawFormsClient:
1315
1322
  raise MethodNotAllowedError(
1316
1323
  headers=dict(_response.headers),
1317
1324
  body=typing.cast(
1318
- typing.Optional[typing.Any],
1325
+ typing.Any,
1319
1326
  parse_obj_as(
1320
- type_=typing.Optional[typing.Any], # type: ignore
1327
+ type_=typing.Any, # type: ignore
1321
1328
  object_=_response.json(),
1322
1329
  ),
1323
1330
  ),
@@ -1326,9 +1333,9 @@ class AsyncRawFormsClient:
1326
1333
  raise TooManyRequestsError(
1327
1334
  headers=dict(_response.headers),
1328
1335
  body=typing.cast(
1329
- typing.Optional[typing.Any],
1336
+ typing.Any,
1330
1337
  parse_obj_as(
1331
- type_=typing.Optional[typing.Any], # type: ignore
1338
+ type_=typing.Any, # type: ignore
1332
1339
  object_=_response.json(),
1333
1340
  ),
1334
1341
  ),
@@ -1337,9 +1344,9 @@ class AsyncRawFormsClient:
1337
1344
  raise InternalServerError(
1338
1345
  headers=dict(_response.headers),
1339
1346
  body=typing.cast(
1340
- typing.Optional[typing.Any],
1347
+ typing.Any,
1341
1348
  parse_obj_as(
1342
- type_=typing.Optional[typing.Any], # type: ignore
1349
+ type_=typing.Any, # type: ignore
1343
1350
  object_=_response.json(),
1344
1351
  ),
1345
1352
  ),
@@ -1348,9 +1355,9 @@ class AsyncRawFormsClient:
1348
1355
  raise NotImplementedError(
1349
1356
  headers=dict(_response.headers),
1350
1357
  body=typing.cast(
1351
- typing.Optional[typing.Any],
1358
+ typing.Any,
1352
1359
  parse_obj_as(
1353
- type_=typing.Optional[typing.Any], # type: ignore
1360
+ type_=typing.Any, # type: ignore
1354
1361
  object_=_response.json(),
1355
1362
  ),
1356
1363
  ),
@@ -1359,9 +1366,9 @@ class AsyncRawFormsClient:
1359
1366
  raise BadGatewayError(
1360
1367
  headers=dict(_response.headers),
1361
1368
  body=typing.cast(
1362
- typing.Optional[typing.Any],
1369
+ typing.Any,
1363
1370
  parse_obj_as(
1364
- type_=typing.Optional[typing.Any], # type: ignore
1371
+ type_=typing.Any, # type: ignore
1365
1372
  object_=_response.json(),
1366
1373
  ),
1367
1374
  ),
@@ -1370,9 +1377,9 @@ class AsyncRawFormsClient:
1370
1377
  raise ServiceUnavailableError(
1371
1378
  headers=dict(_response.headers),
1372
1379
  body=typing.cast(
1373
- typing.Optional[typing.Any],
1380
+ typing.Any,
1374
1381
  parse_obj_as(
1375
- type_=typing.Optional[typing.Any], # type: ignore
1382
+ type_=typing.Any, # type: ignore
1376
1383
  object_=_response.json(),
1377
1384
  ),
1378
1385
  ),
@@ -1381,9 +1388,9 @@ class AsyncRawFormsClient:
1381
1388
  raise GatewayTimeoutError(
1382
1389
  headers=dict(_response.headers),
1383
1390
  body=typing.cast(
1384
- typing.Optional[typing.Any],
1391
+ typing.Any,
1385
1392
  parse_obj_as(
1386
- type_=typing.Optional[typing.Any], # type: ignore
1393
+ type_=typing.Any, # type: ignore
1387
1394
  object_=_response.json(),
1388
1395
  ),
1389
1396
  ),
@@ -1397,6 +1404,7 @@ class AsyncRawFormsClient:
1397
1404
  self,
1398
1405
  *,
1399
1406
  form_template: FormTemplateRequestObjectRequestBody,
1407
+ status: FormSubmissionsPostFormSubmissionRequestBodyStatus,
1400
1408
  assigned_to: typing.Optional[FormSubmissionRequestAssignedToRequestBody] = OMIT,
1401
1409
  due_at_time: typing.Optional[dt.datetime] = OMIT,
1402
1410
  fields: typing.Optional[typing.Sequence[FormSubmissionRequestFieldInputObjectRequestBody]] = OMIT,
@@ -1419,6 +1427,9 @@ class AsyncRawFormsClient:
1419
1427
  ----------
1420
1428
  form_template : FormTemplateRequestObjectRequestBody
1421
1429
 
1430
+ status : FormSubmissionsPostFormSubmissionRequestBodyStatus
1431
+ Status of the form submission. Valid values: `notStarted`
1432
+
1422
1433
  assigned_to : typing.Optional[FormSubmissionRequestAssignedToRequestBody]
1423
1434
 
1424
1435
  due_at_time : typing.Optional[dt.datetime]
@@ -1462,8 +1473,8 @@ class AsyncRawFormsClient:
1462
1473
  ),
1463
1474
  "isRequired": is_required,
1464
1475
  "routeStopId": route_stop_id,
1476
+ "status": status,
1465
1477
  "title": title,
1466
- "status": "notStarted",
1467
1478
  },
1468
1479
  headers={
1469
1480
  "content-type": "application/json",
@@ -1485,9 +1496,9 @@ class AsyncRawFormsClient:
1485
1496
  raise UnauthorizedError(
1486
1497
  headers=dict(_response.headers),
1487
1498
  body=typing.cast(
1488
- typing.Optional[typing.Any],
1499
+ typing.Any,
1489
1500
  parse_obj_as(
1490
- type_=typing.Optional[typing.Any], # type: ignore
1501
+ type_=typing.Any, # type: ignore
1491
1502
  object_=_response.json(),
1492
1503
  ),
1493
1504
  ),
@@ -1496,9 +1507,9 @@ class AsyncRawFormsClient:
1496
1507
  raise NotFoundError(
1497
1508
  headers=dict(_response.headers),
1498
1509
  body=typing.cast(
1499
- typing.Optional[typing.Any],
1510
+ typing.Any,
1500
1511
  parse_obj_as(
1501
- type_=typing.Optional[typing.Any], # type: ignore
1512
+ type_=typing.Any, # type: ignore
1502
1513
  object_=_response.json(),
1503
1514
  ),
1504
1515
  ),
@@ -1507,9 +1518,9 @@ class AsyncRawFormsClient:
1507
1518
  raise MethodNotAllowedError(
1508
1519
  headers=dict(_response.headers),
1509
1520
  body=typing.cast(
1510
- typing.Optional[typing.Any],
1521
+ typing.Any,
1511
1522
  parse_obj_as(
1512
- type_=typing.Optional[typing.Any], # type: ignore
1523
+ type_=typing.Any, # type: ignore
1513
1524
  object_=_response.json(),
1514
1525
  ),
1515
1526
  ),
@@ -1518,9 +1529,9 @@ class AsyncRawFormsClient:
1518
1529
  raise TooManyRequestsError(
1519
1530
  headers=dict(_response.headers),
1520
1531
  body=typing.cast(
1521
- typing.Optional[typing.Any],
1532
+ typing.Any,
1522
1533
  parse_obj_as(
1523
- type_=typing.Optional[typing.Any], # type: ignore
1534
+ type_=typing.Any, # type: ignore
1524
1535
  object_=_response.json(),
1525
1536
  ),
1526
1537
  ),
@@ -1529,9 +1540,9 @@ class AsyncRawFormsClient:
1529
1540
  raise InternalServerError(
1530
1541
  headers=dict(_response.headers),
1531
1542
  body=typing.cast(
1532
- typing.Optional[typing.Any],
1543
+ typing.Any,
1533
1544
  parse_obj_as(
1534
- type_=typing.Optional[typing.Any], # type: ignore
1545
+ type_=typing.Any, # type: ignore
1535
1546
  object_=_response.json(),
1536
1547
  ),
1537
1548
  ),
@@ -1540,9 +1551,9 @@ class AsyncRawFormsClient:
1540
1551
  raise NotImplementedError(
1541
1552
  headers=dict(_response.headers),
1542
1553
  body=typing.cast(
1543
- typing.Optional[typing.Any],
1554
+ typing.Any,
1544
1555
  parse_obj_as(
1545
- type_=typing.Optional[typing.Any], # type: ignore
1556
+ type_=typing.Any, # type: ignore
1546
1557
  object_=_response.json(),
1547
1558
  ),
1548
1559
  ),
@@ -1551,9 +1562,9 @@ class AsyncRawFormsClient:
1551
1562
  raise BadGatewayError(
1552
1563
  headers=dict(_response.headers),
1553
1564
  body=typing.cast(
1554
- typing.Optional[typing.Any],
1565
+ typing.Any,
1555
1566
  parse_obj_as(
1556
- type_=typing.Optional[typing.Any], # type: ignore
1567
+ type_=typing.Any, # type: ignore
1557
1568
  object_=_response.json(),
1558
1569
  ),
1559
1570
  ),
@@ -1562,9 +1573,9 @@ class AsyncRawFormsClient:
1562
1573
  raise ServiceUnavailableError(
1563
1574
  headers=dict(_response.headers),
1564
1575
  body=typing.cast(
1565
- typing.Optional[typing.Any],
1576
+ typing.Any,
1566
1577
  parse_obj_as(
1567
- type_=typing.Optional[typing.Any], # type: ignore
1578
+ type_=typing.Any, # type: ignore
1568
1579
  object_=_response.json(),
1569
1580
  ),
1570
1581
  ),
@@ -1573,9 +1584,9 @@ class AsyncRawFormsClient:
1573
1584
  raise GatewayTimeoutError(
1574
1585
  headers=dict(_response.headers),
1575
1586
  body=typing.cast(
1576
- typing.Optional[typing.Any],
1587
+ typing.Any,
1577
1588
  parse_obj_as(
1578
- type_=typing.Optional[typing.Any], # type: ignore
1589
+ type_=typing.Any, # type: ignore
1579
1590
  object_=_response.json(),
1580
1591
  ),
1581
1592
  ),
@@ -1679,9 +1690,9 @@ class AsyncRawFormsClient:
1679
1690
  raise UnauthorizedError(
1680
1691
  headers=dict(_response.headers),
1681
1692
  body=typing.cast(
1682
- typing.Optional[typing.Any],
1693
+ typing.Any,
1683
1694
  parse_obj_as(
1684
- type_=typing.Optional[typing.Any], # type: ignore
1695
+ type_=typing.Any, # type: ignore
1685
1696
  object_=_response.json(),
1686
1697
  ),
1687
1698
  ),
@@ -1690,9 +1701,9 @@ class AsyncRawFormsClient:
1690
1701
  raise NotFoundError(
1691
1702
  headers=dict(_response.headers),
1692
1703
  body=typing.cast(
1693
- typing.Optional[typing.Any],
1704
+ typing.Any,
1694
1705
  parse_obj_as(
1695
- type_=typing.Optional[typing.Any], # type: ignore
1706
+ type_=typing.Any, # type: ignore
1696
1707
  object_=_response.json(),
1697
1708
  ),
1698
1709
  ),
@@ -1701,9 +1712,9 @@ class AsyncRawFormsClient:
1701
1712
  raise MethodNotAllowedError(
1702
1713
  headers=dict(_response.headers),
1703
1714
  body=typing.cast(
1704
- typing.Optional[typing.Any],
1715
+ typing.Any,
1705
1716
  parse_obj_as(
1706
- type_=typing.Optional[typing.Any], # type: ignore
1717
+ type_=typing.Any, # type: ignore
1707
1718
  object_=_response.json(),
1708
1719
  ),
1709
1720
  ),
@@ -1712,9 +1723,9 @@ class AsyncRawFormsClient:
1712
1723
  raise TooManyRequestsError(
1713
1724
  headers=dict(_response.headers),
1714
1725
  body=typing.cast(
1715
- typing.Optional[typing.Any],
1726
+ typing.Any,
1716
1727
  parse_obj_as(
1717
- type_=typing.Optional[typing.Any], # type: ignore
1728
+ type_=typing.Any, # type: ignore
1718
1729
  object_=_response.json(),
1719
1730
  ),
1720
1731
  ),
@@ -1723,9 +1734,9 @@ class AsyncRawFormsClient:
1723
1734
  raise InternalServerError(
1724
1735
  headers=dict(_response.headers),
1725
1736
  body=typing.cast(
1726
- typing.Optional[typing.Any],
1737
+ typing.Any,
1727
1738
  parse_obj_as(
1728
- type_=typing.Optional[typing.Any], # type: ignore
1739
+ type_=typing.Any, # type: ignore
1729
1740
  object_=_response.json(),
1730
1741
  ),
1731
1742
  ),
@@ -1734,9 +1745,9 @@ class AsyncRawFormsClient:
1734
1745
  raise NotImplementedError(
1735
1746
  headers=dict(_response.headers),
1736
1747
  body=typing.cast(
1737
- typing.Optional[typing.Any],
1748
+ typing.Any,
1738
1749
  parse_obj_as(
1739
- type_=typing.Optional[typing.Any], # type: ignore
1750
+ type_=typing.Any, # type: ignore
1740
1751
  object_=_response.json(),
1741
1752
  ),
1742
1753
  ),
@@ -1745,9 +1756,9 @@ class AsyncRawFormsClient:
1745
1756
  raise BadGatewayError(
1746
1757
  headers=dict(_response.headers),
1747
1758
  body=typing.cast(
1748
- typing.Optional[typing.Any],
1759
+ typing.Any,
1749
1760
  parse_obj_as(
1750
- type_=typing.Optional[typing.Any], # type: ignore
1761
+ type_=typing.Any, # type: ignore
1751
1762
  object_=_response.json(),
1752
1763
  ),
1753
1764
  ),
@@ -1756,9 +1767,9 @@ class AsyncRawFormsClient:
1756
1767
  raise ServiceUnavailableError(
1757
1768
  headers=dict(_response.headers),
1758
1769
  body=typing.cast(
1759
- typing.Optional[typing.Any],
1770
+ typing.Any,
1760
1771
  parse_obj_as(
1761
- type_=typing.Optional[typing.Any], # type: ignore
1772
+ type_=typing.Any, # type: ignore
1762
1773
  object_=_response.json(),
1763
1774
  ),
1764
1775
  ),
@@ -1767,9 +1778,9 @@ class AsyncRawFormsClient:
1767
1778
  raise GatewayTimeoutError(
1768
1779
  headers=dict(_response.headers),
1769
1780
  body=typing.cast(
1770
- typing.Optional[typing.Any],
1781
+ typing.Any,
1771
1782
  parse_obj_as(
1772
- type_=typing.Optional[typing.Any], # type: ignore
1783
+ type_=typing.Any, # type: ignore
1773
1784
  object_=_response.json(),
1774
1785
  ),
1775
1786
  ),
@@ -1827,9 +1838,9 @@ class AsyncRawFormsClient:
1827
1838
  raise UnauthorizedError(
1828
1839
  headers=dict(_response.headers),
1829
1840
  body=typing.cast(
1830
- typing.Optional[typing.Any],
1841
+ typing.Any,
1831
1842
  parse_obj_as(
1832
- type_=typing.Optional[typing.Any], # type: ignore
1843
+ type_=typing.Any, # type: ignore
1833
1844
  object_=_response.json(),
1834
1845
  ),
1835
1846
  ),
@@ -1838,9 +1849,9 @@ class AsyncRawFormsClient:
1838
1849
  raise NotFoundError(
1839
1850
  headers=dict(_response.headers),
1840
1851
  body=typing.cast(
1841
- typing.Optional[typing.Any],
1852
+ typing.Any,
1842
1853
  parse_obj_as(
1843
- type_=typing.Optional[typing.Any], # type: ignore
1854
+ type_=typing.Any, # type: ignore
1844
1855
  object_=_response.json(),
1845
1856
  ),
1846
1857
  ),
@@ -1849,9 +1860,9 @@ class AsyncRawFormsClient:
1849
1860
  raise MethodNotAllowedError(
1850
1861
  headers=dict(_response.headers),
1851
1862
  body=typing.cast(
1852
- typing.Optional[typing.Any],
1863
+ typing.Any,
1853
1864
  parse_obj_as(
1854
- type_=typing.Optional[typing.Any], # type: ignore
1865
+ type_=typing.Any, # type: ignore
1855
1866
  object_=_response.json(),
1856
1867
  ),
1857
1868
  ),
@@ -1860,9 +1871,9 @@ class AsyncRawFormsClient:
1860
1871
  raise TooManyRequestsError(
1861
1872
  headers=dict(_response.headers),
1862
1873
  body=typing.cast(
1863
- typing.Optional[typing.Any],
1874
+ typing.Any,
1864
1875
  parse_obj_as(
1865
- type_=typing.Optional[typing.Any], # type: ignore
1876
+ type_=typing.Any, # type: ignore
1866
1877
  object_=_response.json(),
1867
1878
  ),
1868
1879
  ),
@@ -1871,9 +1882,9 @@ class AsyncRawFormsClient:
1871
1882
  raise InternalServerError(
1872
1883
  headers=dict(_response.headers),
1873
1884
  body=typing.cast(
1874
- typing.Optional[typing.Any],
1885
+ typing.Any,
1875
1886
  parse_obj_as(
1876
- type_=typing.Optional[typing.Any], # type: ignore
1887
+ type_=typing.Any, # type: ignore
1877
1888
  object_=_response.json(),
1878
1889
  ),
1879
1890
  ),
@@ -1882,9 +1893,9 @@ class AsyncRawFormsClient:
1882
1893
  raise NotImplementedError(
1883
1894
  headers=dict(_response.headers),
1884
1895
  body=typing.cast(
1885
- typing.Optional[typing.Any],
1896
+ typing.Any,
1886
1897
  parse_obj_as(
1887
- type_=typing.Optional[typing.Any], # type: ignore
1898
+ type_=typing.Any, # type: ignore
1888
1899
  object_=_response.json(),
1889
1900
  ),
1890
1901
  ),
@@ -1893,9 +1904,9 @@ class AsyncRawFormsClient:
1893
1904
  raise BadGatewayError(
1894
1905
  headers=dict(_response.headers),
1895
1906
  body=typing.cast(
1896
- typing.Optional[typing.Any],
1907
+ typing.Any,
1897
1908
  parse_obj_as(
1898
- type_=typing.Optional[typing.Any], # type: ignore
1909
+ type_=typing.Any, # type: ignore
1899
1910
  object_=_response.json(),
1900
1911
  ),
1901
1912
  ),
@@ -1904,9 +1915,9 @@ class AsyncRawFormsClient:
1904
1915
  raise ServiceUnavailableError(
1905
1916
  headers=dict(_response.headers),
1906
1917
  body=typing.cast(
1907
- typing.Optional[typing.Any],
1918
+ typing.Any,
1908
1919
  parse_obj_as(
1909
- type_=typing.Optional[typing.Any], # type: ignore
1920
+ type_=typing.Any, # type: ignore
1910
1921
  object_=_response.json(),
1911
1922
  ),
1912
1923
  ),
@@ -1915,9 +1926,9 @@ class AsyncRawFormsClient:
1915
1926
  raise GatewayTimeoutError(
1916
1927
  headers=dict(_response.headers),
1917
1928
  body=typing.cast(
1918
- typing.Optional[typing.Any],
1929
+ typing.Any,
1919
1930
  parse_obj_as(
1920
- type_=typing.Optional[typing.Any], # type: ignore
1931
+ type_=typing.Any, # type: ignore
1921
1932
  object_=_response.json(),
1922
1933
  ),
1923
1934
  ),
@@ -1975,9 +1986,9 @@ class AsyncRawFormsClient:
1975
1986
  raise UnauthorizedError(
1976
1987
  headers=dict(_response.headers),
1977
1988
  body=typing.cast(
1978
- typing.Optional[typing.Any],
1989
+ typing.Any,
1979
1990
  parse_obj_as(
1980
- type_=typing.Optional[typing.Any], # type: ignore
1991
+ type_=typing.Any, # type: ignore
1981
1992
  object_=_response.json(),
1982
1993
  ),
1983
1994
  ),
@@ -1986,9 +1997,9 @@ class AsyncRawFormsClient:
1986
1997
  raise NotFoundError(
1987
1998
  headers=dict(_response.headers),
1988
1999
  body=typing.cast(
1989
- typing.Optional[typing.Any],
2000
+ typing.Any,
1990
2001
  parse_obj_as(
1991
- type_=typing.Optional[typing.Any], # type: ignore
2002
+ type_=typing.Any, # type: ignore
1992
2003
  object_=_response.json(),
1993
2004
  ),
1994
2005
  ),
@@ -1997,9 +2008,9 @@ class AsyncRawFormsClient:
1997
2008
  raise MethodNotAllowedError(
1998
2009
  headers=dict(_response.headers),
1999
2010
  body=typing.cast(
2000
- typing.Optional[typing.Any],
2011
+ typing.Any,
2001
2012
  parse_obj_as(
2002
- type_=typing.Optional[typing.Any], # type: ignore
2013
+ type_=typing.Any, # type: ignore
2003
2014
  object_=_response.json(),
2004
2015
  ),
2005
2016
  ),
@@ -2008,9 +2019,9 @@ class AsyncRawFormsClient:
2008
2019
  raise TooManyRequestsError(
2009
2020
  headers=dict(_response.headers),
2010
2021
  body=typing.cast(
2011
- typing.Optional[typing.Any],
2022
+ typing.Any,
2012
2023
  parse_obj_as(
2013
- type_=typing.Optional[typing.Any], # type: ignore
2024
+ type_=typing.Any, # type: ignore
2014
2025
  object_=_response.json(),
2015
2026
  ),
2016
2027
  ),
@@ -2019,9 +2030,9 @@ class AsyncRawFormsClient:
2019
2030
  raise InternalServerError(
2020
2031
  headers=dict(_response.headers),
2021
2032
  body=typing.cast(
2022
- typing.Optional[typing.Any],
2033
+ typing.Any,
2023
2034
  parse_obj_as(
2024
- type_=typing.Optional[typing.Any], # type: ignore
2035
+ type_=typing.Any, # type: ignore
2025
2036
  object_=_response.json(),
2026
2037
  ),
2027
2038
  ),
@@ -2030,9 +2041,9 @@ class AsyncRawFormsClient:
2030
2041
  raise NotImplementedError(
2031
2042
  headers=dict(_response.headers),
2032
2043
  body=typing.cast(
2033
- typing.Optional[typing.Any],
2044
+ typing.Any,
2034
2045
  parse_obj_as(
2035
- type_=typing.Optional[typing.Any], # type: ignore
2046
+ type_=typing.Any, # type: ignore
2036
2047
  object_=_response.json(),
2037
2048
  ),
2038
2049
  ),
@@ -2041,9 +2052,9 @@ class AsyncRawFormsClient:
2041
2052
  raise BadGatewayError(
2042
2053
  headers=dict(_response.headers),
2043
2054
  body=typing.cast(
2044
- typing.Optional[typing.Any],
2055
+ typing.Any,
2045
2056
  parse_obj_as(
2046
- type_=typing.Optional[typing.Any], # type: ignore
2057
+ type_=typing.Any, # type: ignore
2047
2058
  object_=_response.json(),
2048
2059
  ),
2049
2060
  ),
@@ -2052,9 +2063,9 @@ class AsyncRawFormsClient:
2052
2063
  raise ServiceUnavailableError(
2053
2064
  headers=dict(_response.headers),
2054
2065
  body=typing.cast(
2055
- typing.Optional[typing.Any],
2066
+ typing.Any,
2056
2067
  parse_obj_as(
2057
- type_=typing.Optional[typing.Any], # type: ignore
2068
+ type_=typing.Any, # type: ignore
2058
2069
  object_=_response.json(),
2059
2070
  ),
2060
2071
  ),
@@ -2063,9 +2074,9 @@ class AsyncRawFormsClient:
2063
2074
  raise GatewayTimeoutError(
2064
2075
  headers=dict(_response.headers),
2065
2076
  body=typing.cast(
2066
- typing.Optional[typing.Any],
2077
+ typing.Any,
2067
2078
  parse_obj_as(
2068
- type_=typing.Optional[typing.Any], # type: ignore
2079
+ type_=typing.Any, # type: ignore
2069
2080
  object_=_response.json(),
2070
2081
  ),
2071
2082
  ),
@@ -2161,9 +2172,9 @@ class AsyncRawFormsClient:
2161
2172
  raise UnauthorizedError(
2162
2173
  headers=dict(_response.headers),
2163
2174
  body=typing.cast(
2164
- typing.Optional[typing.Any],
2175
+ typing.Any,
2165
2176
  parse_obj_as(
2166
- type_=typing.Optional[typing.Any], # type: ignore
2177
+ type_=typing.Any, # type: ignore
2167
2178
  object_=_response.json(),
2168
2179
  ),
2169
2180
  ),
@@ -2172,9 +2183,9 @@ class AsyncRawFormsClient:
2172
2183
  raise NotFoundError(
2173
2184
  headers=dict(_response.headers),
2174
2185
  body=typing.cast(
2175
- typing.Optional[typing.Any],
2186
+ typing.Any,
2176
2187
  parse_obj_as(
2177
- type_=typing.Optional[typing.Any], # type: ignore
2188
+ type_=typing.Any, # type: ignore
2178
2189
  object_=_response.json(),
2179
2190
  ),
2180
2191
  ),
@@ -2183,9 +2194,9 @@ class AsyncRawFormsClient:
2183
2194
  raise MethodNotAllowedError(
2184
2195
  headers=dict(_response.headers),
2185
2196
  body=typing.cast(
2186
- typing.Optional[typing.Any],
2197
+ typing.Any,
2187
2198
  parse_obj_as(
2188
- type_=typing.Optional[typing.Any], # type: ignore
2199
+ type_=typing.Any, # type: ignore
2189
2200
  object_=_response.json(),
2190
2201
  ),
2191
2202
  ),
@@ -2194,9 +2205,9 @@ class AsyncRawFormsClient:
2194
2205
  raise TooManyRequestsError(
2195
2206
  headers=dict(_response.headers),
2196
2207
  body=typing.cast(
2197
- typing.Optional[typing.Any],
2208
+ typing.Any,
2198
2209
  parse_obj_as(
2199
- type_=typing.Optional[typing.Any], # type: ignore
2210
+ type_=typing.Any, # type: ignore
2200
2211
  object_=_response.json(),
2201
2212
  ),
2202
2213
  ),
@@ -2205,9 +2216,9 @@ class AsyncRawFormsClient:
2205
2216
  raise InternalServerError(
2206
2217
  headers=dict(_response.headers),
2207
2218
  body=typing.cast(
2208
- typing.Optional[typing.Any],
2219
+ typing.Any,
2209
2220
  parse_obj_as(
2210
- type_=typing.Optional[typing.Any], # type: ignore
2221
+ type_=typing.Any, # type: ignore
2211
2222
  object_=_response.json(),
2212
2223
  ),
2213
2224
  ),
@@ -2216,9 +2227,9 @@ class AsyncRawFormsClient:
2216
2227
  raise NotImplementedError(
2217
2228
  headers=dict(_response.headers),
2218
2229
  body=typing.cast(
2219
- typing.Optional[typing.Any],
2230
+ typing.Any,
2220
2231
  parse_obj_as(
2221
- type_=typing.Optional[typing.Any], # type: ignore
2232
+ type_=typing.Any, # type: ignore
2222
2233
  object_=_response.json(),
2223
2234
  ),
2224
2235
  ),
@@ -2227,9 +2238,9 @@ class AsyncRawFormsClient:
2227
2238
  raise BadGatewayError(
2228
2239
  headers=dict(_response.headers),
2229
2240
  body=typing.cast(
2230
- typing.Optional[typing.Any],
2241
+ typing.Any,
2231
2242
  parse_obj_as(
2232
- type_=typing.Optional[typing.Any], # type: ignore
2243
+ type_=typing.Any, # type: ignore
2233
2244
  object_=_response.json(),
2234
2245
  ),
2235
2246
  ),
@@ -2238,9 +2249,9 @@ class AsyncRawFormsClient:
2238
2249
  raise ServiceUnavailableError(
2239
2250
  headers=dict(_response.headers),
2240
2251
  body=typing.cast(
2241
- typing.Optional[typing.Any],
2252
+ typing.Any,
2242
2253
  parse_obj_as(
2243
- type_=typing.Optional[typing.Any], # type: ignore
2254
+ type_=typing.Any, # type: ignore
2244
2255
  object_=_response.json(),
2245
2256
  ),
2246
2257
  ),
@@ -2249,9 +2260,9 @@ class AsyncRawFormsClient:
2249
2260
  raise GatewayTimeoutError(
2250
2261
  headers=dict(_response.headers),
2251
2262
  body=typing.cast(
2252
- typing.Optional[typing.Any],
2263
+ typing.Any,
2253
2264
  parse_obj_as(
2254
- type_=typing.Optional[typing.Any], # type: ignore
2265
+ type_=typing.Any, # type: ignore
2255
2266
  object_=_response.json(),
2256
2267
  ),
2257
2268
  ),
@@ -2317,9 +2328,9 @@ class AsyncRawFormsClient:
2317
2328
  raise UnauthorizedError(
2318
2329
  headers=dict(_response.headers),
2319
2330
  body=typing.cast(
2320
- typing.Optional[typing.Any],
2331
+ typing.Any,
2321
2332
  parse_obj_as(
2322
- type_=typing.Optional[typing.Any], # type: ignore
2333
+ type_=typing.Any, # type: ignore
2323
2334
  object_=_response.json(),
2324
2335
  ),
2325
2336
  ),
@@ -2328,9 +2339,9 @@ class AsyncRawFormsClient:
2328
2339
  raise NotFoundError(
2329
2340
  headers=dict(_response.headers),
2330
2341
  body=typing.cast(
2331
- typing.Optional[typing.Any],
2342
+ typing.Any,
2332
2343
  parse_obj_as(
2333
- type_=typing.Optional[typing.Any], # type: ignore
2344
+ type_=typing.Any, # type: ignore
2334
2345
  object_=_response.json(),
2335
2346
  ),
2336
2347
  ),
@@ -2339,9 +2350,9 @@ class AsyncRawFormsClient:
2339
2350
  raise MethodNotAllowedError(
2340
2351
  headers=dict(_response.headers),
2341
2352
  body=typing.cast(
2342
- typing.Optional[typing.Any],
2353
+ typing.Any,
2343
2354
  parse_obj_as(
2344
- type_=typing.Optional[typing.Any], # type: ignore
2355
+ type_=typing.Any, # type: ignore
2345
2356
  object_=_response.json(),
2346
2357
  ),
2347
2358
  ),
@@ -2350,9 +2361,9 @@ class AsyncRawFormsClient:
2350
2361
  raise TooManyRequestsError(
2351
2362
  headers=dict(_response.headers),
2352
2363
  body=typing.cast(
2353
- typing.Optional[typing.Any],
2364
+ typing.Any,
2354
2365
  parse_obj_as(
2355
- type_=typing.Optional[typing.Any], # type: ignore
2366
+ type_=typing.Any, # type: ignore
2356
2367
  object_=_response.json(),
2357
2368
  ),
2358
2369
  ),
@@ -2361,9 +2372,9 @@ class AsyncRawFormsClient:
2361
2372
  raise InternalServerError(
2362
2373
  headers=dict(_response.headers),
2363
2374
  body=typing.cast(
2364
- typing.Optional[typing.Any],
2375
+ typing.Any,
2365
2376
  parse_obj_as(
2366
- type_=typing.Optional[typing.Any], # type: ignore
2377
+ type_=typing.Any, # type: ignore
2367
2378
  object_=_response.json(),
2368
2379
  ),
2369
2380
  ),
@@ -2372,9 +2383,9 @@ class AsyncRawFormsClient:
2372
2383
  raise NotImplementedError(
2373
2384
  headers=dict(_response.headers),
2374
2385
  body=typing.cast(
2375
- typing.Optional[typing.Any],
2386
+ typing.Any,
2376
2387
  parse_obj_as(
2377
- type_=typing.Optional[typing.Any], # type: ignore
2388
+ type_=typing.Any, # type: ignore
2378
2389
  object_=_response.json(),
2379
2390
  ),
2380
2391
  ),
@@ -2383,9 +2394,9 @@ class AsyncRawFormsClient:
2383
2394
  raise BadGatewayError(
2384
2395
  headers=dict(_response.headers),
2385
2396
  body=typing.cast(
2386
- typing.Optional[typing.Any],
2397
+ typing.Any,
2387
2398
  parse_obj_as(
2388
- type_=typing.Optional[typing.Any], # type: ignore
2399
+ type_=typing.Any, # type: ignore
2389
2400
  object_=_response.json(),
2390
2401
  ),
2391
2402
  ),
@@ -2394,9 +2405,9 @@ class AsyncRawFormsClient:
2394
2405
  raise ServiceUnavailableError(
2395
2406
  headers=dict(_response.headers),
2396
2407
  body=typing.cast(
2397
- typing.Optional[typing.Any],
2408
+ typing.Any,
2398
2409
  parse_obj_as(
2399
- type_=typing.Optional[typing.Any], # type: ignore
2410
+ type_=typing.Any, # type: ignore
2400
2411
  object_=_response.json(),
2401
2412
  ),
2402
2413
  ),
@@ -2405,9 +2416,9 @@ class AsyncRawFormsClient:
2405
2416
  raise GatewayTimeoutError(
2406
2417
  headers=dict(_response.headers),
2407
2418
  body=typing.cast(
2408
- typing.Optional[typing.Any],
2419
+ typing.Any,
2409
2420
  parse_obj_as(
2410
- type_=typing.Optional[typing.Any], # type: ignore
2421
+ type_=typing.Any, # type: ignore
2411
2422
  object_=_response.json(),
2412
2423
  ),
2413
2424
  ),