onfido-python 3.4.0__py3-none-any.whl → 4.0.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 (90) hide show
  1. onfido/__init__.py +18 -5
  2. onfido/api/default_api.py +611 -416
  3. onfido/api_client.py +38 -11
  4. onfido/configuration.py +14 -3
  5. onfido/models/__init__.py +17 -4
  6. onfido/models/addresses_list.py +3 -3
  7. onfido/models/applicant.py +3 -3
  8. onfido/models/applicant_builder.py +12 -8
  9. onfido/models/{consents_builder.py → applicant_consent_builder.py} +11 -6
  10. onfido/models/applicant_consent_name.py +38 -0
  11. onfido/models/applicant_request.py +10 -6
  12. onfido/models/applicant_shared.py +3 -3
  13. onfido/models/applicant_updater.py +12 -8
  14. onfido/models/applicants_list.py +3 -3
  15. onfido/models/check.py +10 -13
  16. onfido/models/check_builder.py +3 -1
  17. onfido/models/check_response.py +7 -13
  18. onfido/models/check_shared.py +4 -2
  19. onfido/models/check_status.py +41 -0
  20. onfido/models/checks_list.py +3 -3
  21. onfido/models/device_intelligence_breakdown_properties_device.py +1 -9
  22. onfido/models/device_intelligence_breakdown_properties_ip.py +2 -8
  23. onfido/models/device_intelligence_report.py +3 -3
  24. onfido/models/document.py +2 -1
  25. onfido/models/document_properties.py +6 -6
  26. onfido/models/document_report.py +3 -3
  27. onfido/models/document_shared.py +2 -1
  28. onfido/models/document_types.py +5 -0
  29. onfido/models/document_video_report.py +3 -3
  30. onfido/models/document_video_with_address_information_report.py +3 -3
  31. onfido/models/document_with_address_information_report.py +3 -3
  32. onfido/models/document_with_driver_verification_report.py +3 -3
  33. onfido/models/document_with_driver_verification_report_all_of_properties.py +9 -9
  34. onfido/models/document_with_driving_licence_information_report.py +3 -3
  35. onfido/models/documents_list.py +3 -3
  36. onfido/models/facial_similarity_motion_report.py +3 -3
  37. onfido/models/facial_similarity_photo_fully_auto_report.py +3 -3
  38. onfido/models/facial_similarity_photo_report.py +3 -3
  39. onfido/models/facial_similarity_video_report.py +3 -3
  40. onfido/models/id_photos_list.py +3 -3
  41. onfido/models/identity_enhanced_properties.py +3 -3
  42. onfido/models/identity_enhanced_report.py +3 -3
  43. onfido/models/india_pan_report.py +3 -3
  44. onfido/models/known_faces_properties.py +3 -3
  45. onfido/models/known_faces_report.py +3 -3
  46. onfido/models/live_photos_list.py +3 -3
  47. onfido/models/live_videos_list.py +3 -3
  48. onfido/models/motion_captures_list.py +3 -3
  49. onfido/models/proof_of_address_report.py +3 -3
  50. onfido/models/repeat_attempts_list.py +3 -3
  51. onfido/models/report_shared.py +3 -3
  52. onfido/models/reports_list.py +3 -3
  53. onfido/models/task_item.py +11 -2
  54. onfido/models/us_driving_licence_report.py +3 -3
  55. onfido/models/watchlist_aml_report.py +3 -3
  56. onfido/models/watchlist_enhanced_properties.py +11 -3
  57. onfido/models/watchlist_enhanced_properties_records_inner.py +164 -0
  58. onfido/models/watchlist_enhanced_properties_records_inner_address_inner.py +111 -0
  59. onfido/models/{consent_item.py → watchlist_enhanced_properties_records_inner_alias_inner.py} +11 -18
  60. onfido/models/watchlist_enhanced_properties_records_inner_associate_inner.py +104 -0
  61. onfido/models/watchlist_enhanced_properties_records_inner_attribute_inner.py +102 -0
  62. onfido/models/watchlist_enhanced_properties_records_inner_event_inner.py +113 -0
  63. onfido/models/watchlist_enhanced_properties_records_inner_event_inner_source.py +107 -0
  64. onfido/models/watchlist_enhanced_properties_records_inner_source_inner.py +106 -0
  65. onfido/models/watchlist_enhanced_report.py +3 -3
  66. onfido/models/watchlist_monitor_matches_list.py +3 -3
  67. onfido/models/watchlist_monitors_list.py +3 -3
  68. onfido/models/watchlist_peps_only_report.py +3 -3
  69. onfido/models/watchlist_sanctions_only_report.py +3 -3
  70. onfido/models/watchlist_standard_report.py +3 -3
  71. onfido/models/webhook_event_object_status.py +54 -0
  72. onfido/models/webhook_event_payload.py +9 -4
  73. onfido/models/webhook_event_payload_object.py +2 -1
  74. onfido/models/webhook_event_payload_resource.py +158 -0
  75. onfido/models/webhook_event_resource_type.py +41 -0
  76. onfido/models/webhook_resend.py +3 -3
  77. onfido/models/webhooks_list.py +3 -3
  78. onfido/models/workflow_run.py +9 -18
  79. onfido/models/workflow_run_builder.py +3 -3
  80. onfido/models/{workflow_run_response_error.py → workflow_run_error.py} +4 -4
  81. onfido/models/{workflow_run_shared_link.py → workflow_run_link.py} +24 -4
  82. onfido/models/workflow_run_response.py +6 -15
  83. onfido/models/workflow_run_shared.py +3 -3
  84. onfido/models/workflow_run_status.py +43 -0
  85. onfido/rest.py +1 -1
  86. {onfido_python-3.4.0.dist-info → onfido_python-4.0.0.dist-info}/METADATA +3 -3
  87. {onfido_python-3.4.0.dist-info → onfido_python-4.0.0.dist-info}/RECORD +90 -77
  88. {onfido_python-3.4.0.dist-info → onfido_python-4.0.0.dist-info}/WHEEL +1 -1
  89. {onfido_python-3.4.0.dist-info → onfido_python-4.0.0.dist-info}/LICENSE +0 -0
  90. {onfido_python-3.4.0.dist-info → onfido_python-4.0.0.dist-info}/top_level.txt +0 -0
onfido/api/default_api.py CHANGED
@@ -18,7 +18,7 @@ from typing_extensions import Annotated
18
18
 
19
19
  from datetime import datetime
20
20
  from pydantic import Field, StrictBool, StrictBytes, StrictInt, StrictStr, field_validator
21
- from typing import List, Optional, Union
21
+ from typing import List, Optional, Tuple, Union
22
22
  from typing_extensions import Annotated
23
23
  from onfido.models.addresses_list import AddressesList
24
24
  from onfido.models.applicant import Applicant
@@ -297,7 +297,9 @@ class DefaultApi:
297
297
  _query_params: List[Tuple[str, str]] = []
298
298
  _header_params: Dict[str, Optional[str]] = _headers or {}
299
299
  _form_params: List[Tuple[str, str]] = []
300
- _files: Dict[str, Union[str, bytes]] = {}
300
+ _files: Dict[
301
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
302
+ ] = {}
301
303
  _body_params: Optional[bytes] = None
302
304
 
303
305
  # process the path parameters
@@ -310,11 +312,12 @@ class DefaultApi:
310
312
 
311
313
 
312
314
  # set the HTTP header `Accept`
313
- _header_params['Accept'] = self.api_client.select_header_accept(
314
- [
315
- 'application/json'
316
- ]
317
- )
315
+ if 'Accept' not in _header_params:
316
+ _header_params['Accept'] = self.api_client.select_header_accept(
317
+ [
318
+ 'application/json'
319
+ ]
320
+ )
318
321
 
319
322
 
320
323
  # authentication setting
@@ -581,7 +584,9 @@ class DefaultApi:
581
584
  _query_params: List[Tuple[str, str]] = []
582
585
  _header_params: Dict[str, Optional[str]] = _headers or {}
583
586
  _form_params: List[Tuple[str, str]] = []
584
- _files: Dict[str, Union[str, bytes]] = {}
587
+ _files: Dict[
588
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
589
+ ] = {}
585
590
  _body_params: Optional[bytes] = None
586
591
 
587
592
  # process the path parameters
@@ -598,11 +603,12 @@ class DefaultApi:
598
603
 
599
604
 
600
605
  # set the HTTP header `Accept`
601
- _header_params['Accept'] = self.api_client.select_header_accept(
602
- [
603
- 'application/json'
604
- ]
605
- )
606
+ if 'Accept' not in _header_params:
607
+ _header_params['Accept'] = self.api_client.select_header_accept(
608
+ [
609
+ 'application/json'
610
+ ]
611
+ )
606
612
 
607
613
  # set the HTTP header `Content-Type`
608
614
  if _content_type:
@@ -856,7 +862,9 @@ class DefaultApi:
856
862
  _query_params: List[Tuple[str, str]] = []
857
863
  _header_params: Dict[str, Optional[str]] = _headers or {}
858
864
  _form_params: List[Tuple[str, str]] = []
859
- _files: Dict[str, Union[str, bytes]] = {}
865
+ _files: Dict[
866
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
867
+ ] = {}
860
868
  _body_params: Optional[bytes] = None
861
869
 
862
870
  # process the path parameters
@@ -869,11 +877,12 @@ class DefaultApi:
869
877
 
870
878
 
871
879
  # set the HTTP header `Accept`
872
- _header_params['Accept'] = self.api_client.select_header_accept(
873
- [
874
- 'application/json'
875
- ]
876
- )
880
+ if 'Accept' not in _header_params:
881
+ _header_params['Accept'] = self.api_client.select_header_accept(
882
+ [
883
+ 'application/json'
884
+ ]
885
+ )
877
886
 
878
887
  # set the HTTP header `Content-Type`
879
888
  if _content_type:
@@ -1127,7 +1136,9 @@ class DefaultApi:
1127
1136
  _query_params: List[Tuple[str, str]] = []
1128
1137
  _header_params: Dict[str, Optional[str]] = _headers or {}
1129
1138
  _form_params: List[Tuple[str, str]] = []
1130
- _files: Dict[str, Union[str, bytes]] = {}
1139
+ _files: Dict[
1140
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
1141
+ ] = {}
1131
1142
  _body_params: Optional[bytes] = None
1132
1143
 
1133
1144
  # process the path parameters
@@ -1140,11 +1151,12 @@ class DefaultApi:
1140
1151
 
1141
1152
 
1142
1153
  # set the HTTP header `Accept`
1143
- _header_params['Accept'] = self.api_client.select_header_accept(
1144
- [
1145
- 'application/json'
1146
- ]
1147
- )
1154
+ if 'Accept' not in _header_params:
1155
+ _header_params['Accept'] = self.api_client.select_header_accept(
1156
+ [
1157
+ 'application/json'
1158
+ ]
1159
+ )
1148
1160
 
1149
1161
  # set the HTTP header `Content-Type`
1150
1162
  if _content_type:
@@ -1398,7 +1410,9 @@ class DefaultApi:
1398
1410
  _query_params: List[Tuple[str, str]] = []
1399
1411
  _header_params: Dict[str, Optional[str]] = _headers or {}
1400
1412
  _form_params: List[Tuple[str, str]] = []
1401
- _files: Dict[str, Union[str, bytes]] = {}
1413
+ _files: Dict[
1414
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
1415
+ ] = {}
1402
1416
  _body_params: Optional[bytes] = None
1403
1417
 
1404
1418
  # process the path parameters
@@ -1411,11 +1425,12 @@ class DefaultApi:
1411
1425
 
1412
1426
 
1413
1427
  # set the HTTP header `Accept`
1414
- _header_params['Accept'] = self.api_client.select_header_accept(
1415
- [
1416
- 'application/json'
1417
- ]
1418
- )
1428
+ if 'Accept' not in _header_params:
1429
+ _header_params['Accept'] = self.api_client.select_header_accept(
1430
+ [
1431
+ 'application/json'
1432
+ ]
1433
+ )
1419
1434
 
1420
1435
 
1421
1436
  # authentication setting
@@ -1656,7 +1671,9 @@ class DefaultApi:
1656
1671
  _query_params: List[Tuple[str, str]] = []
1657
1672
  _header_params: Dict[str, Optional[str]] = _headers or {}
1658
1673
  _form_params: List[Tuple[str, str]] = []
1659
- _files: Dict[str, Union[str, bytes]] = {}
1674
+ _files: Dict[
1675
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
1676
+ ] = {}
1660
1677
  _body_params: Optional[bytes] = None
1661
1678
 
1662
1679
  # process the path parameters
@@ -1669,11 +1686,12 @@ class DefaultApi:
1669
1686
 
1670
1687
 
1671
1688
  # set the HTTP header `Accept`
1672
- _header_params['Accept'] = self.api_client.select_header_accept(
1673
- [
1674
- 'application/json'
1675
- ]
1676
- )
1689
+ if 'Accept' not in _header_params:
1690
+ _header_params['Accept'] = self.api_client.select_header_accept(
1691
+ [
1692
+ 'application/json'
1693
+ ]
1694
+ )
1677
1695
 
1678
1696
  # set the HTTP header `Content-Type`
1679
1697
  if _content_type:
@@ -1927,7 +1945,9 @@ class DefaultApi:
1927
1945
  _query_params: List[Tuple[str, str]] = []
1928
1946
  _header_params: Dict[str, Optional[str]] = _headers or {}
1929
1947
  _form_params: List[Tuple[str, str]] = []
1930
- _files: Dict[str, Union[str, bytes]] = {}
1948
+ _files: Dict[
1949
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
1950
+ ] = {}
1931
1951
  _body_params: Optional[bytes] = None
1932
1952
 
1933
1953
  # process the path parameters
@@ -1940,11 +1960,12 @@ class DefaultApi:
1940
1960
 
1941
1961
 
1942
1962
  # set the HTTP header `Accept`
1943
- _header_params['Accept'] = self.api_client.select_header_accept(
1944
- [
1945
- 'application/json'
1946
- ]
1947
- )
1963
+ if 'Accept' not in _header_params:
1964
+ _header_params['Accept'] = self.api_client.select_header_accept(
1965
+ [
1966
+ 'application/json'
1967
+ ]
1968
+ )
1948
1969
 
1949
1970
  # set the HTTP header `Content-Type`
1950
1971
  if _content_type:
@@ -2198,7 +2219,9 @@ class DefaultApi:
2198
2219
  _query_params: List[Tuple[str, str]] = []
2199
2220
  _header_params: Dict[str, Optional[str]] = _headers or {}
2200
2221
  _form_params: List[Tuple[str, str]] = []
2201
- _files: Dict[str, Union[str, bytes]] = {}
2222
+ _files: Dict[
2223
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
2224
+ ] = {}
2202
2225
  _body_params: Optional[bytes] = None
2203
2226
 
2204
2227
  # process the path parameters
@@ -2211,11 +2234,12 @@ class DefaultApi:
2211
2234
 
2212
2235
 
2213
2236
  # set the HTTP header `Accept`
2214
- _header_params['Accept'] = self.api_client.select_header_accept(
2215
- [
2216
- 'application/json'
2217
- ]
2218
- )
2237
+ if 'Accept' not in _header_params:
2238
+ _header_params['Accept'] = self.api_client.select_header_accept(
2239
+ [
2240
+ 'application/json'
2241
+ ]
2242
+ )
2219
2243
 
2220
2244
  # set the HTTP header `Content-Type`
2221
2245
  if _content_type:
@@ -2469,7 +2493,9 @@ class DefaultApi:
2469
2493
  _query_params: List[Tuple[str, str]] = []
2470
2494
  _header_params: Dict[str, Optional[str]] = _headers or {}
2471
2495
  _form_params: List[Tuple[str, str]] = []
2472
- _files: Dict[str, Union[str, bytes]] = {}
2496
+ _files: Dict[
2497
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
2498
+ ] = {}
2473
2499
  _body_params: Optional[bytes] = None
2474
2500
 
2475
2501
  # process the path parameters
@@ -2482,11 +2508,12 @@ class DefaultApi:
2482
2508
 
2483
2509
 
2484
2510
  # set the HTTP header `Accept`
2485
- _header_params['Accept'] = self.api_client.select_header_accept(
2486
- [
2487
- 'application/json'
2488
- ]
2489
- )
2511
+ if 'Accept' not in _header_params:
2512
+ _header_params['Accept'] = self.api_client.select_header_accept(
2513
+ [
2514
+ 'application/json'
2515
+ ]
2516
+ )
2490
2517
 
2491
2518
 
2492
2519
  # authentication setting
@@ -2727,7 +2754,9 @@ class DefaultApi:
2727
2754
  _query_params: List[Tuple[str, str]] = []
2728
2755
  _header_params: Dict[str, Optional[str]] = _headers or {}
2729
2756
  _form_params: List[Tuple[str, str]] = []
2730
- _files: Dict[str, Union[str, bytes]] = {}
2757
+ _files: Dict[
2758
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
2759
+ ] = {}
2731
2760
  _body_params: Optional[bytes] = None
2732
2761
 
2733
2762
  # process the path parameters
@@ -2740,11 +2769,12 @@ class DefaultApi:
2740
2769
 
2741
2770
 
2742
2771
  # set the HTTP header `Accept`
2743
- _header_params['Accept'] = self.api_client.select_header_accept(
2744
- [
2745
- 'application/json'
2746
- ]
2747
- )
2772
+ if 'Accept' not in _header_params:
2773
+ _header_params['Accept'] = self.api_client.select_header_accept(
2774
+ [
2775
+ 'application/json'
2776
+ ]
2777
+ )
2748
2778
 
2749
2779
 
2750
2780
  # authentication setting
@@ -2985,7 +3015,9 @@ class DefaultApi:
2985
3015
  _query_params: List[Tuple[str, str]] = []
2986
3016
  _header_params: Dict[str, Optional[str]] = _headers or {}
2987
3017
  _form_params: List[Tuple[str, str]] = []
2988
- _files: Dict[str, Union[str, bytes]] = {}
3018
+ _files: Dict[
3019
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
3020
+ ] = {}
2989
3021
  _body_params: Optional[bytes] = None
2990
3022
 
2991
3023
  # process the path parameters
@@ -2998,11 +3030,12 @@ class DefaultApi:
2998
3030
 
2999
3031
 
3000
3032
  # set the HTTP header `Accept`
3001
- _header_params['Accept'] = self.api_client.select_header_accept(
3002
- [
3003
- 'application/json'
3004
- ]
3005
- )
3033
+ if 'Accept' not in _header_params:
3034
+ _header_params['Accept'] = self.api_client.select_header_accept(
3035
+ [
3036
+ 'application/json'
3037
+ ]
3038
+ )
3006
3039
 
3007
3040
 
3008
3041
  # authentication setting
@@ -3243,7 +3276,9 @@ class DefaultApi:
3243
3276
  _query_params: List[Tuple[str, str]] = []
3244
3277
  _header_params: Dict[str, Optional[str]] = _headers or {}
3245
3278
  _form_params: List[Tuple[str, str]] = []
3246
- _files: Dict[str, Union[str, bytes]] = {}
3279
+ _files: Dict[
3280
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
3281
+ ] = {}
3247
3282
  _body_params: Optional[bytes] = None
3248
3283
 
3249
3284
  # process the path parameters
@@ -3256,12 +3291,13 @@ class DefaultApi:
3256
3291
 
3257
3292
 
3258
3293
  # set the HTTP header `Accept`
3259
- _header_params['Accept'] = self.api_client.select_header_accept(
3260
- [
3261
- 'application/pdf',
3262
- 'application/json'
3263
- ]
3264
- )
3294
+ if 'Accept' not in _header_params:
3295
+ _header_params['Accept'] = self.api_client.select_header_accept(
3296
+ [
3297
+ 'application/pdf',
3298
+ 'application/json'
3299
+ ]
3300
+ )
3265
3301
 
3266
3302
 
3267
3303
  # authentication setting
@@ -3502,7 +3538,9 @@ class DefaultApi:
3502
3538
  _query_params: List[Tuple[str, str]] = []
3503
3539
  _header_params: Dict[str, Optional[str]] = _headers or {}
3504
3540
  _form_params: List[Tuple[str, str]] = []
3505
- _files: Dict[str, Union[str, bytes]] = {}
3541
+ _files: Dict[
3542
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
3543
+ ] = {}
3506
3544
  _body_params: Optional[bytes] = None
3507
3545
 
3508
3546
  # process the path parameters
@@ -3515,12 +3553,13 @@ class DefaultApi:
3515
3553
 
3516
3554
 
3517
3555
  # set the HTTP header `Accept`
3518
- _header_params['Accept'] = self.api_client.select_header_accept(
3519
- [
3520
- '*/*',
3521
- 'application/json'
3522
- ]
3523
- )
3556
+ if 'Accept' not in _header_params:
3557
+ _header_params['Accept'] = self.api_client.select_header_accept(
3558
+ [
3559
+ '*/*',
3560
+ 'application/json'
3561
+ ]
3562
+ )
3524
3563
 
3525
3564
 
3526
3565
  # authentication setting
@@ -3761,7 +3800,9 @@ class DefaultApi:
3761
3800
  _query_params: List[Tuple[str, str]] = []
3762
3801
  _header_params: Dict[str, Optional[str]] = _headers or {}
3763
3802
  _form_params: List[Tuple[str, str]] = []
3764
- _files: Dict[str, Union[str, bytes]] = {}
3803
+ _files: Dict[
3804
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
3805
+ ] = {}
3765
3806
  _body_params: Optional[bytes] = None
3766
3807
 
3767
3808
  # process the path parameters
@@ -3774,12 +3815,13 @@ class DefaultApi:
3774
3815
 
3775
3816
 
3776
3817
  # set the HTTP header `Accept`
3777
- _header_params['Accept'] = self.api_client.select_header_accept(
3778
- [
3779
- '*/*',
3780
- 'application/json'
3781
- ]
3782
- )
3818
+ if 'Accept' not in _header_params:
3819
+ _header_params['Accept'] = self.api_client.select_header_accept(
3820
+ [
3821
+ '*/*',
3822
+ 'application/json'
3823
+ ]
3824
+ )
3783
3825
 
3784
3826
 
3785
3827
  # authentication setting
@@ -4020,7 +4062,9 @@ class DefaultApi:
4020
4062
  _query_params: List[Tuple[str, str]] = []
4021
4063
  _header_params: Dict[str, Optional[str]] = _headers or {}
4022
4064
  _form_params: List[Tuple[str, str]] = []
4023
- _files: Dict[str, Union[str, bytes]] = {}
4065
+ _files: Dict[
4066
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
4067
+ ] = {}
4024
4068
  _body_params: Optional[bytes] = None
4025
4069
 
4026
4070
  # process the path parameters
@@ -4033,12 +4077,13 @@ class DefaultApi:
4033
4077
 
4034
4078
 
4035
4079
  # set the HTTP header `Accept`
4036
- _header_params['Accept'] = self.api_client.select_header_accept(
4037
- [
4038
- '*/*',
4039
- 'application/json'
4040
- ]
4041
- )
4080
+ if 'Accept' not in _header_params:
4081
+ _header_params['Accept'] = self.api_client.select_header_accept(
4082
+ [
4083
+ '*/*',
4084
+ 'application/json'
4085
+ ]
4086
+ )
4042
4087
 
4043
4088
 
4044
4089
  # authentication setting
@@ -4279,7 +4324,9 @@ class DefaultApi:
4279
4324
  _query_params: List[Tuple[str, str]] = []
4280
4325
  _header_params: Dict[str, Optional[str]] = _headers or {}
4281
4326
  _form_params: List[Tuple[str, str]] = []
4282
- _files: Dict[str, Union[str, bytes]] = {}
4327
+ _files: Dict[
4328
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
4329
+ ] = {}
4283
4330
  _body_params: Optional[bytes] = None
4284
4331
 
4285
4332
  # process the path parameters
@@ -4292,12 +4339,13 @@ class DefaultApi:
4292
4339
 
4293
4340
 
4294
4341
  # set the HTTP header `Accept`
4295
- _header_params['Accept'] = self.api_client.select_header_accept(
4296
- [
4297
- '*/*',
4298
- 'application/json'
4299
- ]
4300
- )
4342
+ if 'Accept' not in _header_params:
4343
+ _header_params['Accept'] = self.api_client.select_header_accept(
4344
+ [
4345
+ '*/*',
4346
+ 'application/json'
4347
+ ]
4348
+ )
4301
4349
 
4302
4350
 
4303
4351
  # authentication setting
@@ -4538,7 +4586,9 @@ class DefaultApi:
4538
4586
  _query_params: List[Tuple[str, str]] = []
4539
4587
  _header_params: Dict[str, Optional[str]] = _headers or {}
4540
4588
  _form_params: List[Tuple[str, str]] = []
4541
- _files: Dict[str, Union[str, bytes]] = {}
4589
+ _files: Dict[
4590
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
4591
+ ] = {}
4542
4592
  _body_params: Optional[bytes] = None
4543
4593
 
4544
4594
  # process the path parameters
@@ -4551,12 +4601,13 @@ class DefaultApi:
4551
4601
 
4552
4602
 
4553
4603
  # set the HTTP header `Accept`
4554
- _header_params['Accept'] = self.api_client.select_header_accept(
4555
- [
4556
- '*/*',
4557
- 'application/json'
4558
- ]
4559
- )
4604
+ if 'Accept' not in _header_params:
4605
+ _header_params['Accept'] = self.api_client.select_header_accept(
4606
+ [
4607
+ '*/*',
4608
+ 'application/json'
4609
+ ]
4610
+ )
4560
4611
 
4561
4612
 
4562
4613
  # authentication setting
@@ -4797,7 +4848,9 @@ class DefaultApi:
4797
4848
  _query_params: List[Tuple[str, str]] = []
4798
4849
  _header_params: Dict[str, Optional[str]] = _headers or {}
4799
4850
  _form_params: List[Tuple[str, str]] = []
4800
- _files: Dict[str, Union[str, bytes]] = {}
4851
+ _files: Dict[
4852
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
4853
+ ] = {}
4801
4854
  _body_params: Optional[bytes] = None
4802
4855
 
4803
4856
  # process the path parameters
@@ -4810,12 +4863,13 @@ class DefaultApi:
4810
4863
 
4811
4864
 
4812
4865
  # set the HTTP header `Accept`
4813
- _header_params['Accept'] = self.api_client.select_header_accept(
4814
- [
4815
- '*/*',
4816
- 'application/json'
4817
- ]
4818
- )
4866
+ if 'Accept' not in _header_params:
4867
+ _header_params['Accept'] = self.api_client.select_header_accept(
4868
+ [
4869
+ '*/*',
4870
+ 'application/json'
4871
+ ]
4872
+ )
4819
4873
 
4820
4874
 
4821
4875
  # authentication setting
@@ -5056,7 +5110,9 @@ class DefaultApi:
5056
5110
  _query_params: List[Tuple[str, str]] = []
5057
5111
  _header_params: Dict[str, Optional[str]] = _headers or {}
5058
5112
  _form_params: List[Tuple[str, str]] = []
5059
- _files: Dict[str, Union[str, bytes]] = {}
5113
+ _files: Dict[
5114
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
5115
+ ] = {}
5060
5116
  _body_params: Optional[bytes] = None
5061
5117
 
5062
5118
  # process the path parameters
@@ -5069,12 +5125,13 @@ class DefaultApi:
5069
5125
 
5070
5126
 
5071
5127
  # set the HTTP header `Accept`
5072
- _header_params['Accept'] = self.api_client.select_header_accept(
5073
- [
5074
- '*/*',
5075
- 'application/json'
5076
- ]
5077
- )
5128
+ if 'Accept' not in _header_params:
5129
+ _header_params['Accept'] = self.api_client.select_header_accept(
5130
+ [
5131
+ '*/*',
5132
+ 'application/json'
5133
+ ]
5134
+ )
5078
5135
 
5079
5136
 
5080
5137
  # authentication setting
@@ -5315,7 +5372,9 @@ class DefaultApi:
5315
5372
  _query_params: List[Tuple[str, str]] = []
5316
5373
  _header_params: Dict[str, Optional[str]] = _headers or {}
5317
5374
  _form_params: List[Tuple[str, str]] = []
5318
- _files: Dict[str, Union[str, bytes]] = {}
5375
+ _files: Dict[
5376
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
5377
+ ] = {}
5319
5378
  _body_params: Optional[bytes] = None
5320
5379
 
5321
5380
  # process the path parameters
@@ -5328,12 +5387,13 @@ class DefaultApi:
5328
5387
 
5329
5388
 
5330
5389
  # set the HTTP header `Accept`
5331
- _header_params['Accept'] = self.api_client.select_header_accept(
5332
- [
5333
- '*/*',
5334
- 'application/json'
5335
- ]
5336
- )
5390
+ if 'Accept' not in _header_params:
5391
+ _header_params['Accept'] = self.api_client.select_header_accept(
5392
+ [
5393
+ '*/*',
5394
+ 'application/json'
5395
+ ]
5396
+ )
5337
5397
 
5338
5398
 
5339
5399
  # authentication setting
@@ -5590,7 +5650,9 @@ class DefaultApi:
5590
5650
  _query_params: List[Tuple[str, str]] = []
5591
5651
  _header_params: Dict[str, Optional[str]] = _headers or {}
5592
5652
  _form_params: List[Tuple[str, str]] = []
5593
- _files: Dict[str, Union[str, bytes]] = {}
5653
+ _files: Dict[
5654
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
5655
+ ] = {}
5594
5656
  _body_params: Optional[bytes] = None
5595
5657
 
5596
5658
  # process the path parameters
@@ -5609,12 +5671,13 @@ class DefaultApi:
5609
5671
 
5610
5672
 
5611
5673
  # set the HTTP header `Accept`
5612
- _header_params['Accept'] = self.api_client.select_header_accept(
5613
- [
5614
- 'application/pdf',
5615
- 'application/json'
5616
- ]
5617
- )
5674
+ if 'Accept' not in _header_params:
5675
+ _header_params['Accept'] = self.api_client.select_header_accept(
5676
+ [
5677
+ 'application/pdf',
5678
+ 'application/json'
5679
+ ]
5680
+ )
5618
5681
 
5619
5682
 
5620
5683
  # authentication setting
@@ -5858,7 +5921,9 @@ class DefaultApi:
5858
5921
  _query_params: List[Tuple[str, str]] = []
5859
5922
  _header_params: Dict[str, Optional[str]] = _headers or {}
5860
5923
  _form_params: List[Tuple[str, str]] = []
5861
- _files: Dict[str, Union[str, bytes]] = {}
5924
+ _files: Dict[
5925
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
5926
+ ] = {}
5862
5927
  _body_params: Optional[bytes] = None
5863
5928
 
5864
5929
  # process the path parameters
@@ -5871,12 +5936,13 @@ class DefaultApi:
5871
5936
 
5872
5937
 
5873
5938
  # set the HTTP header `Accept`
5874
- _header_params['Accept'] = self.api_client.select_header_accept(
5875
- [
5876
- 'application/pdf',
5877
- 'application/json'
5878
- ]
5879
- )
5939
+ if 'Accept' not in _header_params:
5940
+ _header_params['Accept'] = self.api_client.select_header_accept(
5941
+ [
5942
+ 'application/pdf',
5943
+ 'application/json'
5944
+ ]
5945
+ )
5880
5946
 
5881
5947
 
5882
5948
  # authentication setting
@@ -6117,7 +6183,9 @@ class DefaultApi:
6117
6183
  _query_params: List[Tuple[str, str]] = []
6118
6184
  _header_params: Dict[str, Optional[str]] = _headers or {}
6119
6185
  _form_params: List[Tuple[str, str]] = []
6120
- _files: Dict[str, Union[str, bytes]] = {}
6186
+ _files: Dict[
6187
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
6188
+ ] = {}
6121
6189
  _body_params: Optional[bytes] = None
6122
6190
 
6123
6191
  # process the path parameters
@@ -6130,11 +6198,12 @@ class DefaultApi:
6130
6198
 
6131
6199
 
6132
6200
  # set the HTTP header `Accept`
6133
- _header_params['Accept'] = self.api_client.select_header_accept(
6134
- [
6135
- 'application/json'
6136
- ]
6137
- )
6201
+ if 'Accept' not in _header_params:
6202
+ _header_params['Accept'] = self.api_client.select_header_accept(
6203
+ [
6204
+ 'application/json'
6205
+ ]
6206
+ )
6138
6207
 
6139
6208
  # set the HTTP header `Content-Type`
6140
6209
  if _content_type:
@@ -6388,7 +6457,9 @@ class DefaultApi:
6388
6457
  _query_params: List[Tuple[str, str]] = []
6389
6458
  _header_params: Dict[str, Optional[str]] = _headers or {}
6390
6459
  _form_params: List[Tuple[str, str]] = []
6391
- _files: Dict[str, Union[str, bytes]] = {}
6460
+ _files: Dict[
6461
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
6462
+ ] = {}
6392
6463
  _body_params: Optional[bytes] = None
6393
6464
 
6394
6465
  # process the path parameters
@@ -6403,11 +6474,12 @@ class DefaultApi:
6403
6474
 
6404
6475
 
6405
6476
  # set the HTTP header `Accept`
6406
- _header_params['Accept'] = self.api_client.select_header_accept(
6407
- [
6408
- 'application/json'
6409
- ]
6410
- )
6477
+ if 'Accept' not in _header_params:
6478
+ _header_params['Accept'] = self.api_client.select_header_accept(
6479
+ [
6480
+ 'application/json'
6481
+ ]
6482
+ )
6411
6483
 
6412
6484
 
6413
6485
  # authentication setting
@@ -6648,7 +6720,9 @@ class DefaultApi:
6648
6720
  _query_params: List[Tuple[str, str]] = []
6649
6721
  _header_params: Dict[str, Optional[str]] = _headers or {}
6650
6722
  _form_params: List[Tuple[str, str]] = []
6651
- _files: Dict[str, Union[str, bytes]] = {}
6723
+ _files: Dict[
6724
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
6725
+ ] = {}
6652
6726
  _body_params: Optional[bytes] = None
6653
6727
 
6654
6728
  # process the path parameters
@@ -6661,11 +6735,12 @@ class DefaultApi:
6661
6735
 
6662
6736
 
6663
6737
  # set the HTTP header `Accept`
6664
- _header_params['Accept'] = self.api_client.select_header_accept(
6665
- [
6666
- 'application/json'
6667
- ]
6668
- )
6738
+ if 'Accept' not in _header_params:
6739
+ _header_params['Accept'] = self.api_client.select_header_accept(
6740
+ [
6741
+ 'application/json'
6742
+ ]
6743
+ )
6669
6744
 
6670
6745
 
6671
6746
  # authentication setting
@@ -6906,7 +6981,9 @@ class DefaultApi:
6906
6981
  _query_params: List[Tuple[str, str]] = []
6907
6982
  _header_params: Dict[str, Optional[str]] = _headers or {}
6908
6983
  _form_params: List[Tuple[str, str]] = []
6909
- _files: Dict[str, Union[str, bytes]] = {}
6984
+ _files: Dict[
6985
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
6986
+ ] = {}
6910
6987
  _body_params: Optional[bytes] = None
6911
6988
 
6912
6989
  # process the path parameters
@@ -6919,11 +6996,12 @@ class DefaultApi:
6919
6996
 
6920
6997
 
6921
6998
  # set the HTTP header `Accept`
6922
- _header_params['Accept'] = self.api_client.select_header_accept(
6923
- [
6924
- 'application/json'
6925
- ]
6926
- )
6999
+ if 'Accept' not in _header_params:
7000
+ _header_params['Accept'] = self.api_client.select_header_accept(
7001
+ [
7002
+ 'application/json'
7003
+ ]
7004
+ )
6927
7005
 
6928
7006
 
6929
7007
  # authentication setting
@@ -7164,7 +7242,9 @@ class DefaultApi:
7164
7242
  _query_params: List[Tuple[str, str]] = []
7165
7243
  _header_params: Dict[str, Optional[str]] = _headers or {}
7166
7244
  _form_params: List[Tuple[str, str]] = []
7167
- _files: Dict[str, Union[str, bytes]] = {}
7245
+ _files: Dict[
7246
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
7247
+ ] = {}
7168
7248
  _body_params: Optional[bytes] = None
7169
7249
 
7170
7250
  # process the path parameters
@@ -7177,11 +7257,12 @@ class DefaultApi:
7177
7257
 
7178
7258
 
7179
7259
  # set the HTTP header `Accept`
7180
- _header_params['Accept'] = self.api_client.select_header_accept(
7181
- [
7182
- 'application/json'
7183
- ]
7184
- )
7260
+ if 'Accept' not in _header_params:
7261
+ _header_params['Accept'] = self.api_client.select_header_accept(
7262
+ [
7263
+ 'application/json'
7264
+ ]
7265
+ )
7185
7266
 
7186
7267
 
7187
7268
  # authentication setting
@@ -7422,7 +7503,9 @@ class DefaultApi:
7422
7503
  _query_params: List[Tuple[str, str]] = []
7423
7504
  _header_params: Dict[str, Optional[str]] = _headers or {}
7424
7505
  _form_params: List[Tuple[str, str]] = []
7425
- _files: Dict[str, Union[str, bytes]] = {}
7506
+ _files: Dict[
7507
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
7508
+ ] = {}
7426
7509
  _body_params: Optional[bytes] = None
7427
7510
 
7428
7511
  # process the path parameters
@@ -7435,11 +7518,12 @@ class DefaultApi:
7435
7518
 
7436
7519
 
7437
7520
  # set the HTTP header `Accept`
7438
- _header_params['Accept'] = self.api_client.select_header_accept(
7439
- [
7440
- 'application/json'
7441
- ]
7442
- )
7521
+ if 'Accept' not in _header_params:
7522
+ _header_params['Accept'] = self.api_client.select_header_accept(
7523
+ [
7524
+ 'application/json'
7525
+ ]
7526
+ )
7443
7527
 
7444
7528
 
7445
7529
  # authentication setting
@@ -7680,7 +7764,9 @@ class DefaultApi:
7680
7764
  _query_params: List[Tuple[str, str]] = []
7681
7765
  _header_params: Dict[str, Optional[str]] = _headers or {}
7682
7766
  _form_params: List[Tuple[str, str]] = []
7683
- _files: Dict[str, Union[str, bytes]] = {}
7767
+ _files: Dict[
7768
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
7769
+ ] = {}
7684
7770
  _body_params: Optional[bytes] = None
7685
7771
 
7686
7772
  # process the path parameters
@@ -7693,11 +7779,12 @@ class DefaultApi:
7693
7779
 
7694
7780
 
7695
7781
  # set the HTTP header `Accept`
7696
- _header_params['Accept'] = self.api_client.select_header_accept(
7697
- [
7698
- 'application/json'
7699
- ]
7700
- )
7782
+ if 'Accept' not in _header_params:
7783
+ _header_params['Accept'] = self.api_client.select_header_accept(
7784
+ [
7785
+ 'application/json'
7786
+ ]
7787
+ )
7701
7788
 
7702
7789
 
7703
7790
  # authentication setting
@@ -7938,7 +8025,9 @@ class DefaultApi:
7938
8025
  _query_params: List[Tuple[str, str]] = []
7939
8026
  _header_params: Dict[str, Optional[str]] = _headers or {}
7940
8027
  _form_params: List[Tuple[str, str]] = []
7941
- _files: Dict[str, Union[str, bytes]] = {}
8028
+ _files: Dict[
8029
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
8030
+ ] = {}
7942
8031
  _body_params: Optional[bytes] = None
7943
8032
 
7944
8033
  # process the path parameters
@@ -7951,11 +8040,12 @@ class DefaultApi:
7951
8040
 
7952
8041
 
7953
8042
  # set the HTTP header `Accept`
7954
- _header_params['Accept'] = self.api_client.select_header_accept(
7955
- [
7956
- 'application/json'
7957
- ]
7958
- )
8043
+ if 'Accept' not in _header_params:
8044
+ _header_params['Accept'] = self.api_client.select_header_accept(
8045
+ [
8046
+ 'application/json'
8047
+ ]
8048
+ )
7959
8049
 
7960
8050
 
7961
8051
  # authentication setting
@@ -8196,7 +8286,9 @@ class DefaultApi:
8196
8286
  _query_params: List[Tuple[str, str]] = []
8197
8287
  _header_params: Dict[str, Optional[str]] = _headers or {}
8198
8288
  _form_params: List[Tuple[str, str]] = []
8199
- _files: Dict[str, Union[str, bytes]] = {}
8289
+ _files: Dict[
8290
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
8291
+ ] = {}
8200
8292
  _body_params: Optional[bytes] = None
8201
8293
 
8202
8294
  # process the path parameters
@@ -8209,11 +8301,12 @@ class DefaultApi:
8209
8301
 
8210
8302
 
8211
8303
  # set the HTTP header `Accept`
8212
- _header_params['Accept'] = self.api_client.select_header_accept(
8213
- [
8214
- 'application/json'
8215
- ]
8216
- )
8304
+ if 'Accept' not in _header_params:
8305
+ _header_params['Accept'] = self.api_client.select_header_accept(
8306
+ [
8307
+ 'application/json'
8308
+ ]
8309
+ )
8217
8310
 
8218
8311
 
8219
8312
  # authentication setting
@@ -8454,7 +8547,9 @@ class DefaultApi:
8454
8547
  _query_params: List[Tuple[str, str]] = []
8455
8548
  _header_params: Dict[str, Optional[str]] = _headers or {}
8456
8549
  _form_params: List[Tuple[str, str]] = []
8457
- _files: Dict[str, Union[str, bytes]] = {}
8550
+ _files: Dict[
8551
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
8552
+ ] = {}
8458
8553
  _body_params: Optional[bytes] = None
8459
8554
 
8460
8555
  # process the path parameters
@@ -8467,11 +8562,12 @@ class DefaultApi:
8467
8562
 
8468
8563
 
8469
8564
  # set the HTTP header `Accept`
8470
- _header_params['Accept'] = self.api_client.select_header_accept(
8471
- [
8472
- 'application/json'
8473
- ]
8474
- )
8565
+ if 'Accept' not in _header_params:
8566
+ _header_params['Accept'] = self.api_client.select_header_accept(
8567
+ [
8568
+ 'application/json'
8569
+ ]
8570
+ )
8475
8571
 
8476
8572
 
8477
8573
  # authentication setting
@@ -8725,7 +8821,9 @@ class DefaultApi:
8725
8821
  _query_params: List[Tuple[str, str]] = []
8726
8822
  _header_params: Dict[str, Optional[str]] = _headers or {}
8727
8823
  _form_params: List[Tuple[str, str]] = []
8728
- _files: Dict[str, Union[str, bytes]] = {}
8824
+ _files: Dict[
8825
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
8826
+ ] = {}
8729
8827
  _body_params: Optional[bytes] = None
8730
8828
 
8731
8829
  # process the path parameters
@@ -8740,11 +8838,12 @@ class DefaultApi:
8740
8838
 
8741
8839
 
8742
8840
  # set the HTTP header `Accept`
8743
- _header_params['Accept'] = self.api_client.select_header_accept(
8744
- [
8745
- 'application/json'
8746
- ]
8747
- )
8841
+ if 'Accept' not in _header_params:
8842
+ _header_params['Accept'] = self.api_client.select_header_accept(
8843
+ [
8844
+ 'application/json'
8845
+ ]
8846
+ )
8748
8847
 
8749
8848
 
8750
8849
  # authentication setting
@@ -9001,7 +9100,9 @@ class DefaultApi:
9001
9100
  _query_params: List[Tuple[str, str]] = []
9002
9101
  _header_params: Dict[str, Optional[str]] = _headers or {}
9003
9102
  _form_params: List[Tuple[str, str]] = []
9004
- _files: Dict[str, Union[str, bytes]] = {}
9103
+ _files: Dict[
9104
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
9105
+ ] = {}
9005
9106
  _body_params: Optional[bytes] = None
9006
9107
 
9007
9108
  # process the path parameters
@@ -9016,12 +9117,13 @@ class DefaultApi:
9016
9117
 
9017
9118
 
9018
9119
  # set the HTTP header `Accept`
9019
- _header_params['Accept'] = self.api_client.select_header_accept(
9020
- [
9021
- 'application/pdf',
9022
- 'application/json'
9023
- ]
9024
- )
9120
+ if 'Accept' not in _header_params:
9121
+ _header_params['Accept'] = self.api_client.select_header_accept(
9122
+ [
9123
+ 'application/pdf',
9124
+ 'application/json'
9125
+ ]
9126
+ )
9025
9127
 
9026
9128
 
9027
9129
  # authentication setting
@@ -9262,7 +9364,9 @@ class DefaultApi:
9262
9364
  _query_params: List[Tuple[str, str]] = []
9263
9365
  _header_params: Dict[str, Optional[str]] = _headers or {}
9264
9366
  _form_params: List[Tuple[str, str]] = []
9265
- _files: Dict[str, Union[str, bytes]] = {}
9367
+ _files: Dict[
9368
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
9369
+ ] = {}
9266
9370
  _body_params: Optional[bytes] = None
9267
9371
 
9268
9372
  # process the path parameters
@@ -9275,11 +9379,12 @@ class DefaultApi:
9275
9379
 
9276
9380
 
9277
9381
  # set the HTTP header `Accept`
9278
- _header_params['Accept'] = self.api_client.select_header_accept(
9279
- [
9280
- 'application/json'
9281
- ]
9282
- )
9382
+ if 'Accept' not in _header_params:
9383
+ _header_params['Accept'] = self.api_client.select_header_accept(
9384
+ [
9385
+ 'application/json'
9386
+ ]
9387
+ )
9283
9388
 
9284
9389
 
9285
9390
  # authentication setting
@@ -9520,7 +9625,9 @@ class DefaultApi:
9520
9625
  _query_params: List[Tuple[str, str]] = []
9521
9626
  _header_params: Dict[str, Optional[str]] = _headers or {}
9522
9627
  _form_params: List[Tuple[str, str]] = []
9523
- _files: Dict[str, Union[str, bytes]] = {}
9628
+ _files: Dict[
9629
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
9630
+ ] = {}
9524
9631
  _body_params: Optional[bytes] = None
9525
9632
 
9526
9633
  # process the path parameters
@@ -9533,11 +9640,12 @@ class DefaultApi:
9533
9640
 
9534
9641
 
9535
9642
  # set the HTTP header `Accept`
9536
- _header_params['Accept'] = self.api_client.select_header_accept(
9537
- [
9538
- 'application/json'
9539
- ]
9540
- )
9643
+ if 'Accept' not in _header_params:
9644
+ _header_params['Accept'] = self.api_client.select_header_accept(
9645
+ [
9646
+ 'application/json'
9647
+ ]
9648
+ )
9541
9649
 
9542
9650
 
9543
9651
  # authentication setting
@@ -9778,7 +9886,9 @@ class DefaultApi:
9778
9886
  _query_params: List[Tuple[str, str]] = []
9779
9887
  _header_params: Dict[str, Optional[str]] = _headers or {}
9780
9888
  _form_params: List[Tuple[str, str]] = []
9781
- _files: Dict[str, Union[str, bytes]] = {}
9889
+ _files: Dict[
9890
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
9891
+ ] = {}
9782
9892
  _body_params: Optional[bytes] = None
9783
9893
 
9784
9894
  # process the path parameters
@@ -9791,11 +9901,12 @@ class DefaultApi:
9791
9901
 
9792
9902
 
9793
9903
  # set the HTTP header `Accept`
9794
- _header_params['Accept'] = self.api_client.select_header_accept(
9795
- [
9796
- 'application/json'
9797
- ]
9798
- )
9904
+ if 'Accept' not in _header_params:
9905
+ _header_params['Accept'] = self.api_client.select_header_accept(
9906
+ [
9907
+ 'application/json'
9908
+ ]
9909
+ )
9799
9910
 
9800
9911
 
9801
9912
  # authentication setting
@@ -10036,7 +10147,9 @@ class DefaultApi:
10036
10147
  _query_params: List[Tuple[str, str]] = []
10037
10148
  _header_params: Dict[str, Optional[str]] = _headers or {}
10038
10149
  _form_params: List[Tuple[str, str]] = []
10039
- _files: Dict[str, Union[str, bytes]] = {}
10150
+ _files: Dict[
10151
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
10152
+ ] = {}
10040
10153
  _body_params: Optional[bytes] = None
10041
10154
 
10042
10155
  # process the path parameters
@@ -10049,11 +10162,12 @@ class DefaultApi:
10049
10162
 
10050
10163
 
10051
10164
  # set the HTTP header `Accept`
10052
- _header_params['Accept'] = self.api_client.select_header_accept(
10053
- [
10054
- 'application/json'
10055
- ]
10056
- )
10165
+ if 'Accept' not in _header_params:
10166
+ _header_params['Accept'] = self.api_client.select_header_accept(
10167
+ [
10168
+ 'application/json'
10169
+ ]
10170
+ )
10057
10171
 
10058
10172
 
10059
10173
  # authentication setting
@@ -10294,7 +10408,9 @@ class DefaultApi:
10294
10408
  _query_params: List[Tuple[str, str]] = []
10295
10409
  _header_params: Dict[str, Optional[str]] = _headers or {}
10296
10410
  _form_params: List[Tuple[str, str]] = []
10297
- _files: Dict[str, Union[str, bytes]] = {}
10411
+ _files: Dict[
10412
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
10413
+ ] = {}
10298
10414
  _body_params: Optional[bytes] = None
10299
10415
 
10300
10416
  # process the path parameters
@@ -10307,11 +10423,12 @@ class DefaultApi:
10307
10423
 
10308
10424
 
10309
10425
  # set the HTTP header `Accept`
10310
- _header_params['Accept'] = self.api_client.select_header_accept(
10311
- [
10312
- 'application/json'
10313
- ]
10314
- )
10426
+ if 'Accept' not in _header_params:
10427
+ _header_params['Accept'] = self.api_client.select_header_accept(
10428
+ [
10429
+ 'application/json'
10430
+ ]
10431
+ )
10315
10432
 
10316
10433
  # set the HTTP header `Content-Type`
10317
10434
  if _content_type:
@@ -10591,7 +10708,9 @@ class DefaultApi:
10591
10708
  _query_params: List[Tuple[str, str]] = []
10592
10709
  _header_params: Dict[str, Optional[str]] = _headers or {}
10593
10710
  _form_params: List[Tuple[str, str]] = []
10594
- _files: Dict[str, Union[str, bytes]] = {}
10711
+ _files: Dict[
10712
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
10713
+ ] = {}
10595
10714
  _body_params: Optional[bytes] = None
10596
10715
 
10597
10716
  # process the path parameters
@@ -10614,11 +10733,12 @@ class DefaultApi:
10614
10733
 
10615
10734
 
10616
10735
  # set the HTTP header `Accept`
10617
- _header_params['Accept'] = self.api_client.select_header_accept(
10618
- [
10619
- 'application/json'
10620
- ]
10621
- )
10736
+ if 'Accept' not in _header_params:
10737
+ _header_params['Accept'] = self.api_client.select_header_accept(
10738
+ [
10739
+ 'application/json'
10740
+ ]
10741
+ )
10622
10742
 
10623
10743
 
10624
10744
  # authentication setting
@@ -10859,7 +10979,9 @@ class DefaultApi:
10859
10979
  _query_params: List[Tuple[str, str]] = []
10860
10980
  _header_params: Dict[str, Optional[str]] = _headers or {}
10861
10981
  _form_params: List[Tuple[str, str]] = []
10862
- _files: Dict[str, Union[str, bytes]] = {}
10982
+ _files: Dict[
10983
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
10984
+ ] = {}
10863
10985
  _body_params: Optional[bytes] = None
10864
10986
 
10865
10987
  # process the path parameters
@@ -10874,11 +10996,12 @@ class DefaultApi:
10874
10996
 
10875
10997
 
10876
10998
  # set the HTTP header `Accept`
10877
- _header_params['Accept'] = self.api_client.select_header_accept(
10878
- [
10879
- 'application/json'
10880
- ]
10881
- )
10999
+ if 'Accept' not in _header_params:
11000
+ _header_params['Accept'] = self.api_client.select_header_accept(
11001
+ [
11002
+ 'application/json'
11003
+ ]
11004
+ )
10882
11005
 
10883
11006
 
10884
11007
  # authentication setting
@@ -11119,7 +11242,9 @@ class DefaultApi:
11119
11242
  _query_params: List[Tuple[str, str]] = []
11120
11243
  _header_params: Dict[str, Optional[str]] = _headers or {}
11121
11244
  _form_params: List[Tuple[str, str]] = []
11122
- _files: Dict[str, Union[str, bytes]] = {}
11245
+ _files: Dict[
11246
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
11247
+ ] = {}
11123
11248
  _body_params: Optional[bytes] = None
11124
11249
 
11125
11250
  # process the path parameters
@@ -11134,11 +11259,12 @@ class DefaultApi:
11134
11259
 
11135
11260
 
11136
11261
  # set the HTTP header `Accept`
11137
- _header_params['Accept'] = self.api_client.select_header_accept(
11138
- [
11139
- 'application/json'
11140
- ]
11141
- )
11262
+ if 'Accept' not in _header_params:
11263
+ _header_params['Accept'] = self.api_client.select_header_accept(
11264
+ [
11265
+ 'application/json'
11266
+ ]
11267
+ )
11142
11268
 
11143
11269
 
11144
11270
  # authentication setting
@@ -11379,7 +11505,9 @@ class DefaultApi:
11379
11505
  _query_params: List[Tuple[str, str]] = []
11380
11506
  _header_params: Dict[str, Optional[str]] = _headers or {}
11381
11507
  _form_params: List[Tuple[str, str]] = []
11382
- _files: Dict[str, Union[str, bytes]] = {}
11508
+ _files: Dict[
11509
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
11510
+ ] = {}
11383
11511
  _body_params: Optional[bytes] = None
11384
11512
 
11385
11513
  # process the path parameters
@@ -11394,11 +11522,12 @@ class DefaultApi:
11394
11522
 
11395
11523
 
11396
11524
  # set the HTTP header `Accept`
11397
- _header_params['Accept'] = self.api_client.select_header_accept(
11398
- [
11399
- 'application/json'
11400
- ]
11401
- )
11525
+ if 'Accept' not in _header_params:
11526
+ _header_params['Accept'] = self.api_client.select_header_accept(
11527
+ [
11528
+ 'application/json'
11529
+ ]
11530
+ )
11402
11531
 
11403
11532
 
11404
11533
  # authentication setting
@@ -11639,7 +11768,9 @@ class DefaultApi:
11639
11768
  _query_params: List[Tuple[str, str]] = []
11640
11769
  _header_params: Dict[str, Optional[str]] = _headers or {}
11641
11770
  _form_params: List[Tuple[str, str]] = []
11642
- _files: Dict[str, Union[str, bytes]] = {}
11771
+ _files: Dict[
11772
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
11773
+ ] = {}
11643
11774
  _body_params: Optional[bytes] = None
11644
11775
 
11645
11776
  # process the path parameters
@@ -11654,11 +11785,12 @@ class DefaultApi:
11654
11785
 
11655
11786
 
11656
11787
  # set the HTTP header `Accept`
11657
- _header_params['Accept'] = self.api_client.select_header_accept(
11658
- [
11659
- 'application/json'
11660
- ]
11661
- )
11788
+ if 'Accept' not in _header_params:
11789
+ _header_params['Accept'] = self.api_client.select_header_accept(
11790
+ [
11791
+ 'application/json'
11792
+ ]
11793
+ )
11662
11794
 
11663
11795
 
11664
11796
  # authentication setting
@@ -11899,7 +12031,9 @@ class DefaultApi:
11899
12031
  _query_params: List[Tuple[str, str]] = []
11900
12032
  _header_params: Dict[str, Optional[str]] = _headers or {}
11901
12033
  _form_params: List[Tuple[str, str]] = []
11902
- _files: Dict[str, Union[str, bytes]] = {}
12034
+ _files: Dict[
12035
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
12036
+ ] = {}
11903
12037
  _body_params: Optional[bytes] = None
11904
12038
 
11905
12039
  # process the path parameters
@@ -11914,11 +12048,12 @@ class DefaultApi:
11914
12048
 
11915
12049
 
11916
12050
  # set the HTTP header `Accept`
11917
- _header_params['Accept'] = self.api_client.select_header_accept(
11918
- [
11919
- 'application/json'
11920
- ]
11921
- )
12051
+ if 'Accept' not in _header_params:
12052
+ _header_params['Accept'] = self.api_client.select_header_accept(
12053
+ [
12054
+ 'application/json'
12055
+ ]
12056
+ )
11922
12057
 
11923
12058
 
11924
12059
  # authentication setting
@@ -12159,7 +12294,9 @@ class DefaultApi:
12159
12294
  _query_params: List[Tuple[str, str]] = []
12160
12295
  _header_params: Dict[str, Optional[str]] = _headers or {}
12161
12296
  _form_params: List[Tuple[str, str]] = []
12162
- _files: Dict[str, Union[str, bytes]] = {}
12297
+ _files: Dict[
12298
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
12299
+ ] = {}
12163
12300
  _body_params: Optional[bytes] = None
12164
12301
 
12165
12302
  # process the path parameters
@@ -12174,11 +12311,12 @@ class DefaultApi:
12174
12311
 
12175
12312
 
12176
12313
  # set the HTTP header `Accept`
12177
- _header_params['Accept'] = self.api_client.select_header_accept(
12178
- [
12179
- 'application/json'
12180
- ]
12181
- )
12314
+ if 'Accept' not in _header_params:
12315
+ _header_params['Accept'] = self.api_client.select_header_accept(
12316
+ [
12317
+ 'application/json'
12318
+ ]
12319
+ )
12182
12320
 
12183
12321
 
12184
12322
  # authentication setting
@@ -12419,7 +12557,9 @@ class DefaultApi:
12419
12557
  _query_params: List[Tuple[str, str]] = []
12420
12558
  _header_params: Dict[str, Optional[str]] = _headers or {}
12421
12559
  _form_params: List[Tuple[str, str]] = []
12422
- _files: Dict[str, Union[str, bytes]] = {}
12560
+ _files: Dict[
12561
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
12562
+ ] = {}
12423
12563
  _body_params: Optional[bytes] = None
12424
12564
 
12425
12565
  # process the path parameters
@@ -12432,11 +12572,12 @@ class DefaultApi:
12432
12572
 
12433
12573
 
12434
12574
  # set the HTTP header `Accept`
12435
- _header_params['Accept'] = self.api_client.select_header_accept(
12436
- [
12437
- 'application/json'
12438
- ]
12439
- )
12575
+ if 'Accept' not in _header_params:
12576
+ _header_params['Accept'] = self.api_client.select_header_accept(
12577
+ [
12578
+ 'application/json'
12579
+ ]
12580
+ )
12440
12581
 
12441
12582
 
12442
12583
  # authentication setting
@@ -12677,7 +12818,9 @@ class DefaultApi:
12677
12818
  _query_params: List[Tuple[str, str]] = []
12678
12819
  _header_params: Dict[str, Optional[str]] = _headers or {}
12679
12820
  _form_params: List[Tuple[str, str]] = []
12680
- _files: Dict[str, Union[str, bytes]] = {}
12821
+ _files: Dict[
12822
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
12823
+ ] = {}
12681
12824
  _body_params: Optional[bytes] = None
12682
12825
 
12683
12826
  # process the path parameters
@@ -12692,11 +12835,12 @@ class DefaultApi:
12692
12835
 
12693
12836
 
12694
12837
  # set the HTTP header `Accept`
12695
- _header_params['Accept'] = self.api_client.select_header_accept(
12696
- [
12697
- 'application/json'
12698
- ]
12699
- )
12838
+ if 'Accept' not in _header_params:
12839
+ _header_params['Accept'] = self.api_client.select_header_accept(
12840
+ [
12841
+ 'application/json'
12842
+ ]
12843
+ )
12700
12844
 
12701
12845
 
12702
12846
  # authentication setting
@@ -12937,7 +13081,9 @@ class DefaultApi:
12937
13081
  _query_params: List[Tuple[str, str]] = []
12938
13082
  _header_params: Dict[str, Optional[str]] = _headers or {}
12939
13083
  _form_params: List[Tuple[str, str]] = []
12940
- _files: Dict[str, Union[str, bytes]] = {}
13084
+ _files: Dict[
13085
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
13086
+ ] = {}
12941
13087
  _body_params: Optional[bytes] = None
12942
13088
 
12943
13089
  # process the path parameters
@@ -12950,11 +13096,12 @@ class DefaultApi:
12950
13096
 
12951
13097
 
12952
13098
  # set the HTTP header `Accept`
12953
- _header_params['Accept'] = self.api_client.select_header_accept(
12954
- [
12955
- 'application/json'
12956
- ]
12957
- )
13099
+ if 'Accept' not in _header_params:
13100
+ _header_params['Accept'] = self.api_client.select_header_accept(
13101
+ [
13102
+ 'application/json'
13103
+ ]
13104
+ )
12958
13105
 
12959
13106
 
12960
13107
  # authentication setting
@@ -13195,7 +13342,9 @@ class DefaultApi:
13195
13342
  _query_params: List[Tuple[str, str]] = []
13196
13343
  _header_params: Dict[str, Optional[str]] = _headers or {}
13197
13344
  _form_params: List[Tuple[str, str]] = []
13198
- _files: Dict[str, Union[str, bytes]] = {}
13345
+ _files: Dict[
13346
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
13347
+ ] = {}
13199
13348
  _body_params: Optional[bytes] = None
13200
13349
 
13201
13350
  # process the path parameters
@@ -13208,11 +13357,12 @@ class DefaultApi:
13208
13357
 
13209
13358
 
13210
13359
  # set the HTTP header `Accept`
13211
- _header_params['Accept'] = self.api_client.select_header_accept(
13212
- [
13213
- 'application/json'
13214
- ]
13215
- )
13360
+ if 'Accept' not in _header_params:
13361
+ _header_params['Accept'] = self.api_client.select_header_accept(
13362
+ [
13363
+ 'application/json'
13364
+ ]
13365
+ )
13216
13366
 
13217
13367
 
13218
13368
  # authentication setting
@@ -13466,7 +13616,9 @@ class DefaultApi:
13466
13616
  _query_params: List[Tuple[str, str]] = []
13467
13617
  _header_params: Dict[str, Optional[str]] = _headers or {}
13468
13618
  _form_params: List[Tuple[str, str]] = []
13469
- _files: Dict[str, Union[str, bytes]] = {}
13619
+ _files: Dict[
13620
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
13621
+ ] = {}
13470
13622
  _body_params: Optional[bytes] = None
13471
13623
 
13472
13624
  # process the path parameters
@@ -13485,11 +13637,12 @@ class DefaultApi:
13485
13637
 
13486
13638
 
13487
13639
  # set the HTTP header `Accept`
13488
- _header_params['Accept'] = self.api_client.select_header_accept(
13489
- [
13490
- 'application/json'
13491
- ]
13492
- )
13640
+ if 'Accept' not in _header_params:
13641
+ _header_params['Accept'] = self.api_client.select_header_accept(
13642
+ [
13643
+ 'application/json'
13644
+ ]
13645
+ )
13493
13646
 
13494
13647
 
13495
13648
  # authentication setting
@@ -13717,7 +13870,9 @@ class DefaultApi:
13717
13870
  _query_params: List[Tuple[str, str]] = []
13718
13871
  _header_params: Dict[str, Optional[str]] = _headers or {}
13719
13872
  _form_params: List[Tuple[str, str]] = []
13720
- _files: Dict[str, Union[str, bytes]] = {}
13873
+ _files: Dict[
13874
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
13875
+ ] = {}
13721
13876
  _body_params: Optional[bytes] = None
13722
13877
 
13723
13878
  # process the path parameters
@@ -13728,11 +13883,12 @@ class DefaultApi:
13728
13883
 
13729
13884
 
13730
13885
  # set the HTTP header `Accept`
13731
- _header_params['Accept'] = self.api_client.select_header_accept(
13732
- [
13733
- 'application/json'
13734
- ]
13735
- )
13886
+ if 'Accept' not in _header_params:
13887
+ _header_params['Accept'] = self.api_client.select_header_accept(
13888
+ [
13889
+ 'application/json'
13890
+ ]
13891
+ )
13736
13892
 
13737
13893
 
13738
13894
  # authentication setting
@@ -14025,7 +14181,9 @@ class DefaultApi:
14025
14181
  _query_params: List[Tuple[str, str]] = []
14026
14182
  _header_params: Dict[str, Optional[str]] = _headers or {}
14027
14183
  _form_params: List[Tuple[str, str]] = []
14028
- _files: Dict[str, Union[str, bytes]] = {}
14184
+ _files: Dict[
14185
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
14186
+ ] = {}
14029
14187
  _body_params: Optional[bytes] = None
14030
14188
 
14031
14189
  # process the path parameters
@@ -14074,11 +14232,12 @@ class DefaultApi:
14074
14232
 
14075
14233
 
14076
14234
  # set the HTTP header `Accept`
14077
- _header_params['Accept'] = self.api_client.select_header_accept(
14078
- [
14079
- 'application/json'
14080
- ]
14081
- )
14235
+ if 'Accept' not in _header_params:
14236
+ _header_params['Accept'] = self.api_client.select_header_accept(
14237
+ [
14238
+ 'application/json'
14239
+ ]
14240
+ )
14082
14241
 
14083
14242
 
14084
14243
  # authentication setting
@@ -14306,7 +14465,9 @@ class DefaultApi:
14306
14465
  _query_params: List[Tuple[str, str]] = []
14307
14466
  _header_params: Dict[str, Optional[str]] = _headers or {}
14308
14467
  _form_params: List[Tuple[str, str]] = []
14309
- _files: Dict[str, Union[str, bytes]] = {}
14468
+ _files: Dict[
14469
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
14470
+ ] = {}
14310
14471
  _body_params: Optional[bytes] = None
14311
14472
 
14312
14473
  # process the path parameters
@@ -14317,12 +14478,13 @@ class DefaultApi:
14317
14478
 
14318
14479
 
14319
14480
  # set the HTTP header `Accept`
14320
- _header_params['Accept'] = self.api_client.select_header_accept(
14321
- [
14322
- 'text/plain',
14323
- 'application/json'
14324
- ]
14325
- )
14481
+ if 'Accept' not in _header_params:
14482
+ _header_params['Accept'] = self.api_client.select_header_accept(
14483
+ [
14484
+ 'text/plain',
14485
+ 'application/json'
14486
+ ]
14487
+ )
14326
14488
 
14327
14489
 
14328
14490
  # authentication setting
@@ -14563,7 +14725,9 @@ class DefaultApi:
14563
14725
  _query_params: List[Tuple[str, str]] = []
14564
14726
  _header_params: Dict[str, Optional[str]] = _headers or {}
14565
14727
  _form_params: List[Tuple[str, str]] = []
14566
- _files: Dict[str, Union[str, bytes]] = {}
14728
+ _files: Dict[
14729
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
14730
+ ] = {}
14567
14731
  _body_params: Optional[bytes] = None
14568
14732
 
14569
14733
  # process the path parameters
@@ -14576,11 +14740,12 @@ class DefaultApi:
14576
14740
 
14577
14741
 
14578
14742
  # set the HTTP header `Accept`
14579
- _header_params['Accept'] = self.api_client.select_header_accept(
14580
- [
14581
- 'application/json'
14582
- ]
14583
- )
14743
+ if 'Accept' not in _header_params:
14744
+ _header_params['Accept'] = self.api_client.select_header_accept(
14745
+ [
14746
+ 'application/json'
14747
+ ]
14748
+ )
14584
14749
 
14585
14750
  # set the HTTP header `Content-Type`
14586
14751
  if _content_type:
@@ -14837,7 +15002,9 @@ class DefaultApi:
14837
15002
  _query_params: List[Tuple[str, str]] = []
14838
15003
  _header_params: Dict[str, Optional[str]] = _headers or {}
14839
15004
  _form_params: List[Tuple[str, str]] = []
14840
- _files: Dict[str, Union[str, bytes]] = {}
15005
+ _files: Dict[
15006
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
15007
+ ] = {}
14841
15008
  _body_params: Optional[bytes] = None
14842
15009
 
14843
15010
  # process the path parameters
@@ -14850,11 +15017,12 @@ class DefaultApi:
14850
15017
 
14851
15018
 
14852
15019
  # set the HTTP header `Accept`
14853
- _header_params['Accept'] = self.api_client.select_header_accept(
14854
- [
14855
- 'application/json'
14856
- ]
14857
- )
15020
+ if 'Accept' not in _header_params:
15021
+ _header_params['Accept'] = self.api_client.select_header_accept(
15022
+ [
15023
+ 'application/json'
15024
+ ]
15025
+ )
14858
15026
 
14859
15027
  # set the HTTP header `Content-Type`
14860
15028
  if _content_type:
@@ -15108,7 +15276,9 @@ class DefaultApi:
15108
15276
  _query_params: List[Tuple[str, str]] = []
15109
15277
  _header_params: Dict[str, Optional[str]] = _headers or {}
15110
15278
  _form_params: List[Tuple[str, str]] = []
15111
- _files: Dict[str, Union[str, bytes]] = {}
15279
+ _files: Dict[
15280
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
15281
+ ] = {}
15112
15282
  _body_params: Optional[bytes] = None
15113
15283
 
15114
15284
  # process the path parameters
@@ -15121,11 +15291,12 @@ class DefaultApi:
15121
15291
 
15122
15292
 
15123
15293
  # set the HTTP header `Accept`
15124
- _header_params['Accept'] = self.api_client.select_header_accept(
15125
- [
15126
- 'application/json'
15127
- ]
15128
- )
15294
+ if 'Accept' not in _header_params:
15295
+ _header_params['Accept'] = self.api_client.select_header_accept(
15296
+ [
15297
+ 'application/json'
15298
+ ]
15299
+ )
15129
15300
 
15130
15301
 
15131
15302
  # authentication setting
@@ -15366,7 +15537,9 @@ class DefaultApi:
15366
15537
  _query_params: List[Tuple[str, str]] = []
15367
15538
  _header_params: Dict[str, Optional[str]] = _headers or {}
15368
15539
  _form_params: List[Tuple[str, str]] = []
15369
- _files: Dict[str, Union[str, bytes]] = {}
15540
+ _files: Dict[
15541
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
15542
+ ] = {}
15370
15543
  _body_params: Optional[bytes] = None
15371
15544
 
15372
15545
  # process the path parameters
@@ -15379,11 +15552,12 @@ class DefaultApi:
15379
15552
 
15380
15553
 
15381
15554
  # set the HTTP header `Accept`
15382
- _header_params['Accept'] = self.api_client.select_header_accept(
15383
- [
15384
- 'application/json'
15385
- ]
15386
- )
15555
+ if 'Accept' not in _header_params:
15556
+ _header_params['Accept'] = self.api_client.select_header_accept(
15557
+ [
15558
+ 'application/json'
15559
+ ]
15560
+ )
15387
15561
 
15388
15562
 
15389
15563
  # authentication setting
@@ -15624,7 +15798,9 @@ class DefaultApi:
15624
15798
  _query_params: List[Tuple[str, str]] = []
15625
15799
  _header_params: Dict[str, Optional[str]] = _headers or {}
15626
15800
  _form_params: List[Tuple[str, str]] = []
15627
- _files: Dict[str, Union[str, bytes]] = {}
15801
+ _files: Dict[
15802
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
15803
+ ] = {}
15628
15804
  _body_params: Optional[bytes] = None
15629
15805
 
15630
15806
  # process the path parameters
@@ -15637,11 +15813,12 @@ class DefaultApi:
15637
15813
 
15638
15814
 
15639
15815
  # set the HTTP header `Accept`
15640
- _header_params['Accept'] = self.api_client.select_header_accept(
15641
- [
15642
- 'application/json'
15643
- ]
15644
- )
15816
+ if 'Accept' not in _header_params:
15817
+ _header_params['Accept'] = self.api_client.select_header_accept(
15818
+ [
15819
+ 'application/json'
15820
+ ]
15821
+ )
15645
15822
 
15646
15823
 
15647
15824
  # authentication setting
@@ -15895,7 +16072,9 @@ class DefaultApi:
15895
16072
  _query_params: List[Tuple[str, str]] = []
15896
16073
  _header_params: Dict[str, Optional[str]] = _headers or {}
15897
16074
  _form_params: List[Tuple[str, str]] = []
15898
- _files: Dict[str, Union[str, bytes]] = {}
16075
+ _files: Dict[
16076
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
16077
+ ] = {}
15899
16078
  _body_params: Optional[bytes] = None
15900
16079
 
15901
16080
  # process the path parameters
@@ -15910,11 +16089,12 @@ class DefaultApi:
15910
16089
 
15911
16090
 
15912
16091
  # set the HTTP header `Accept`
15913
- _header_params['Accept'] = self.api_client.select_header_accept(
15914
- [
15915
- 'application/json'
15916
- ]
15917
- )
16092
+ if 'Accept' not in _header_params:
16093
+ _header_params['Accept'] = self.api_client.select_header_accept(
16094
+ [
16095
+ 'application/json'
16096
+ ]
16097
+ )
15918
16098
 
15919
16099
  # set the HTTP header `Content-Type`
15920
16100
  if _content_type:
@@ -16181,7 +16361,9 @@ class DefaultApi:
16181
16361
  _query_params: List[Tuple[str, str]] = []
16182
16362
  _header_params: Dict[str, Optional[str]] = _headers or {}
16183
16363
  _form_params: List[Tuple[str, str]] = []
16184
- _files: Dict[str, Union[str, bytes]] = {}
16364
+ _files: Dict[
16365
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
16366
+ ] = {}
16185
16367
  _body_params: Optional[bytes] = None
16186
16368
 
16187
16369
  # process the path parameters
@@ -16196,11 +16378,12 @@ class DefaultApi:
16196
16378
 
16197
16379
 
16198
16380
  # set the HTTP header `Accept`
16199
- _header_params['Accept'] = self.api_client.select_header_accept(
16200
- [
16201
- 'application/json'
16202
- ]
16203
- )
16381
+ if 'Accept' not in _header_params:
16382
+ _header_params['Accept'] = self.api_client.select_header_accept(
16383
+ [
16384
+ 'application/json'
16385
+ ]
16386
+ )
16204
16387
 
16205
16388
  # set the HTTP header `Content-Type`
16206
16389
  if _content_type:
@@ -16467,7 +16650,9 @@ class DefaultApi:
16467
16650
  _query_params: List[Tuple[str, str]] = []
16468
16651
  _header_params: Dict[str, Optional[str]] = _headers or {}
16469
16652
  _form_params: List[Tuple[str, str]] = []
16470
- _files: Dict[str, Union[str, bytes]] = {}
16653
+ _files: Dict[
16654
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
16655
+ ] = {}
16471
16656
  _body_params: Optional[bytes] = None
16472
16657
 
16473
16658
  # process the path parameters
@@ -16482,11 +16667,12 @@ class DefaultApi:
16482
16667
 
16483
16668
 
16484
16669
  # set the HTTP header `Accept`
16485
- _header_params['Accept'] = self.api_client.select_header_accept(
16486
- [
16487
- 'application/json'
16488
- ]
16489
- )
16670
+ if 'Accept' not in _header_params:
16671
+ _header_params['Accept'] = self.api_client.select_header_accept(
16672
+ [
16673
+ 'application/json'
16674
+ ]
16675
+ )
16490
16676
 
16491
16677
  # set the HTTP header `Content-Type`
16492
16678
  if _content_type:
@@ -16530,7 +16716,7 @@ class DefaultApi:
16530
16716
  self,
16531
16717
  type: Annotated[StrictStr, Field(description="The type of document")],
16532
16718
  applicant_id: Annotated[StrictStr, Field(description="The ID of the applicant whose document is being uploaded.")],
16533
- file: Annotated[Union[StrictBytes, StrictStr], Field(description="The file to be uploaded.")],
16719
+ file: Annotated[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]], Field(description="The file to be uploaded.")],
16534
16720
  file_type: Annotated[Optional[StrictStr], Field(description="The file type of the uploaded file")] = None,
16535
16721
  side: Annotated[Optional[StrictStr], Field(description="The side of the document, if applicable. The possible values are front and back")] = None,
16536
16722
  issuing_country: Annotated[Optional[StrictStr], Field(description="The issuing country of the document, a 3-letter ISO code.")] = None,
@@ -16554,7 +16740,7 @@ class DefaultApi:
16554
16740
  Documents are uploaded using this endpoint. Along with the file upload the relevant document type must be specified. Documents must be uploaded as a multipart form. The valid file types are: jpg, png and pdf. The file size must be between 2KB and 3MB.
16555
16741
 
16556
16742
  :param type: The type of document (required)
16557
- :type type: str
16743
+ :type type: DocumentTypes
16558
16744
  :param applicant_id: The ID of the applicant whose document is being uploaded. (required)
16559
16745
  :type applicant_id: str
16560
16746
  :param file: The file to be uploaded. (required)
@@ -16625,7 +16811,7 @@ class DefaultApi:
16625
16811
  self,
16626
16812
  type: Annotated[StrictStr, Field(description="The type of document")],
16627
16813
  applicant_id: Annotated[StrictStr, Field(description="The ID of the applicant whose document is being uploaded.")],
16628
- file: Annotated[Union[StrictBytes, StrictStr], Field(description="The file to be uploaded.")],
16814
+ file: Annotated[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]], Field(description="The file to be uploaded.")],
16629
16815
  file_type: Annotated[Optional[StrictStr], Field(description="The file type of the uploaded file")] = None,
16630
16816
  side: Annotated[Optional[StrictStr], Field(description="The side of the document, if applicable. The possible values are front and back")] = None,
16631
16817
  issuing_country: Annotated[Optional[StrictStr], Field(description="The issuing country of the document, a 3-letter ISO code.")] = None,
@@ -16649,7 +16835,7 @@ class DefaultApi:
16649
16835
  Documents are uploaded using this endpoint. Along with the file upload the relevant document type must be specified. Documents must be uploaded as a multipart form. The valid file types are: jpg, png and pdf. The file size must be between 2KB and 3MB.
16650
16836
 
16651
16837
  :param type: The type of document (required)
16652
- :type type: str
16838
+ :type type: DocumentTypes
16653
16839
  :param applicant_id: The ID of the applicant whose document is being uploaded. (required)
16654
16840
  :type applicant_id: str
16655
16841
  :param file: The file to be uploaded. (required)
@@ -16720,7 +16906,7 @@ class DefaultApi:
16720
16906
  self,
16721
16907
  type: Annotated[StrictStr, Field(description="The type of document")],
16722
16908
  applicant_id: Annotated[StrictStr, Field(description="The ID of the applicant whose document is being uploaded.")],
16723
- file: Annotated[Union[StrictBytes, StrictStr], Field(description="The file to be uploaded.")],
16909
+ file: Annotated[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]], Field(description="The file to be uploaded.")],
16724
16910
  file_type: Annotated[Optional[StrictStr], Field(description="The file type of the uploaded file")] = None,
16725
16911
  side: Annotated[Optional[StrictStr], Field(description="The side of the document, if applicable. The possible values are front and back")] = None,
16726
16912
  issuing_country: Annotated[Optional[StrictStr], Field(description="The issuing country of the document, a 3-letter ISO code.")] = None,
@@ -16744,7 +16930,7 @@ class DefaultApi:
16744
16930
  Documents are uploaded using this endpoint. Along with the file upload the relevant document type must be specified. Documents must be uploaded as a multipart form. The valid file types are: jpg, png and pdf. The file size must be between 2KB and 3MB.
16745
16931
 
16746
16932
  :param type: The type of document (required)
16747
- :type type: str
16933
+ :type type: DocumentTypes
16748
16934
  :param applicant_id: The ID of the applicant whose document is being uploaded. (required)
16749
16935
  :type applicant_id: str
16750
16936
  :param file: The file to be uploaded. (required)
@@ -16831,7 +17017,9 @@ class DefaultApi:
16831
17017
  _query_params: List[Tuple[str, str]] = []
16832
17018
  _header_params: Dict[str, Optional[str]] = _headers or {}
16833
17019
  _form_params: List[Tuple[str, str]] = []
16834
- _files: Dict[str, Union[str, bytes]] = {}
17020
+ _files: Dict[
17021
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
17022
+ ] = {}
16835
17023
  _body_params: Optional[bytes] = None
16836
17024
 
16837
17025
  # process the path parameters
@@ -16858,11 +17046,12 @@ class DefaultApi:
16858
17046
 
16859
17047
 
16860
17048
  # set the HTTP header `Accept`
16861
- _header_params['Accept'] = self.api_client.select_header_accept(
16862
- [
16863
- 'application/json'
16864
- ]
16865
- )
17049
+ if 'Accept' not in _header_params:
17050
+ _header_params['Accept'] = self.api_client.select_header_accept(
17051
+ [
17052
+ 'application/json'
17053
+ ]
17054
+ )
16866
17055
 
16867
17056
  # set the HTTP header `Content-Type`
16868
17057
  if _content_type:
@@ -16905,7 +17094,7 @@ class DefaultApi:
16905
17094
  def upload_id_photo(
16906
17095
  self,
16907
17096
  applicant_id: Annotated[Optional[StrictStr], Field(description="The ID of the applicant whose ID photo is being uploaded.")] = None,
16908
- file: Annotated[Optional[Union[StrictBytes, StrictStr]], Field(description="The file to be uploaded.")] = None,
17097
+ file: Annotated[Optional[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]], Field(description="The file to be uploaded.")] = None,
16909
17098
  _request_timeout: Union[
16910
17099
  None,
16911
17100
  Annotated[StrictFloat, Field(gt=0)],
@@ -16976,7 +17165,7 @@ class DefaultApi:
16976
17165
  def upload_id_photo_with_http_info(
16977
17166
  self,
16978
17167
  applicant_id: Annotated[Optional[StrictStr], Field(description="The ID of the applicant whose ID photo is being uploaded.")] = None,
16979
- file: Annotated[Optional[Union[StrictBytes, StrictStr]], Field(description="The file to be uploaded.")] = None,
17168
+ file: Annotated[Optional[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]], Field(description="The file to be uploaded.")] = None,
16980
17169
  _request_timeout: Union[
16981
17170
  None,
16982
17171
  Annotated[StrictFloat, Field(gt=0)],
@@ -17047,7 +17236,7 @@ class DefaultApi:
17047
17236
  def upload_id_photo_without_preload_content(
17048
17237
  self,
17049
17238
  applicant_id: Annotated[Optional[StrictStr], Field(description="The ID of the applicant whose ID photo is being uploaded.")] = None,
17050
- file: Annotated[Optional[Union[StrictBytes, StrictStr]], Field(description="The file to be uploaded.")] = None,
17239
+ file: Annotated[Optional[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]], Field(description="The file to be uploaded.")] = None,
17051
17240
  _request_timeout: Union[
17052
17241
  None,
17053
17242
  Annotated[StrictFloat, Field(gt=0)],
@@ -17129,7 +17318,9 @@ class DefaultApi:
17129
17318
  _query_params: List[Tuple[str, str]] = []
17130
17319
  _header_params: Dict[str, Optional[str]] = _headers or {}
17131
17320
  _form_params: List[Tuple[str, str]] = []
17132
- _files: Dict[str, Union[str, bytes]] = {}
17321
+ _files: Dict[
17322
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
17323
+ ] = {}
17133
17324
  _body_params: Optional[bytes] = None
17134
17325
 
17135
17326
  # process the path parameters
@@ -17144,11 +17335,12 @@ class DefaultApi:
17144
17335
 
17145
17336
 
17146
17337
  # set the HTTP header `Accept`
17147
- _header_params['Accept'] = self.api_client.select_header_accept(
17148
- [
17149
- 'application/json'
17150
- ]
17151
- )
17338
+ if 'Accept' not in _header_params:
17339
+ _header_params['Accept'] = self.api_client.select_header_accept(
17340
+ [
17341
+ 'application/json'
17342
+ ]
17343
+ )
17152
17344
 
17153
17345
  # set the HTTP header `Content-Type`
17154
17346
  if _content_type:
@@ -17191,7 +17383,7 @@ class DefaultApi:
17191
17383
  def upload_live_photo(
17192
17384
  self,
17193
17385
  applicant_id: Annotated[Optional[StrictStr], Field(description="The ID of the applicant whose live photo is being uploaded.")] = None,
17194
- file: Annotated[Optional[Union[StrictBytes, StrictStr]], Field(description="The file to be uploaded.")] = None,
17386
+ file: Annotated[Optional[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]], Field(description="The file to be uploaded.")] = None,
17195
17387
  advanced_validation: Annotated[Optional[StrictBool], Field(description="Validates that the live photo contains exactly one face.")] = None,
17196
17388
  _request_timeout: Union[
17197
17389
  None,
@@ -17266,7 +17458,7 @@ class DefaultApi:
17266
17458
  def upload_live_photo_with_http_info(
17267
17459
  self,
17268
17460
  applicant_id: Annotated[Optional[StrictStr], Field(description="The ID of the applicant whose live photo is being uploaded.")] = None,
17269
- file: Annotated[Optional[Union[StrictBytes, StrictStr]], Field(description="The file to be uploaded.")] = None,
17461
+ file: Annotated[Optional[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]], Field(description="The file to be uploaded.")] = None,
17270
17462
  advanced_validation: Annotated[Optional[StrictBool], Field(description="Validates that the live photo contains exactly one face.")] = None,
17271
17463
  _request_timeout: Union[
17272
17464
  None,
@@ -17341,7 +17533,7 @@ class DefaultApi:
17341
17533
  def upload_live_photo_without_preload_content(
17342
17534
  self,
17343
17535
  applicant_id: Annotated[Optional[StrictStr], Field(description="The ID of the applicant whose live photo is being uploaded.")] = None,
17344
- file: Annotated[Optional[Union[StrictBytes, StrictStr]], Field(description="The file to be uploaded.")] = None,
17536
+ file: Annotated[Optional[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]], Field(description="The file to be uploaded.")] = None,
17345
17537
  advanced_validation: Annotated[Optional[StrictBool], Field(description="Validates that the live photo contains exactly one face.")] = None,
17346
17538
  _request_timeout: Union[
17347
17539
  None,
@@ -17428,7 +17620,9 @@ class DefaultApi:
17428
17620
  _query_params: List[Tuple[str, str]] = []
17429
17621
  _header_params: Dict[str, Optional[str]] = _headers or {}
17430
17622
  _form_params: List[Tuple[str, str]] = []
17431
- _files: Dict[str, Union[str, bytes]] = {}
17623
+ _files: Dict[
17624
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
17625
+ ] = {}
17432
17626
  _body_params: Optional[bytes] = None
17433
17627
 
17434
17628
  # process the path parameters
@@ -17445,11 +17639,12 @@ class DefaultApi:
17445
17639
 
17446
17640
 
17447
17641
  # set the HTTP header `Accept`
17448
- _header_params['Accept'] = self.api_client.select_header_accept(
17449
- [
17450
- 'application/json'
17451
- ]
17452
- )
17642
+ if 'Accept' not in _header_params:
17643
+ _header_params['Accept'] = self.api_client.select_header_accept(
17644
+ [
17645
+ 'application/json'
17646
+ ]
17647
+ )
17453
17648
 
17454
17649
  # set the HTTP header `Content-Type`
17455
17650
  if _content_type: