cosmotech-api 3.2.6.dev2__py3-none-any.whl → 3.3.4__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.

Potentially problematic release.


This version of cosmotech-api might be problematic. Click here for more details.

Files changed (258) hide show
  1. cosmotech_api/__init__.py +5 -1
  2. cosmotech_api/api/connector_api.py +31 -27
  3. cosmotech_api/api/dataset_api.py +255 -224
  4. cosmotech_api/api/meta_api.py +281 -0
  5. cosmotech_api/api/organization_api.py +120 -102
  6. cosmotech_api/api/run_api.py +49 -41
  7. cosmotech_api/api/runner_api.py +103 -89
  8. cosmotech_api/api/scenario_api.py +141 -121
  9. cosmotech_api/api/scenariorun_api.py +76 -66
  10. cosmotech_api/api/scenariorunresult_api.py +1 -1
  11. cosmotech_api/api/solution_api.py +127 -108
  12. cosmotech_api/api/twingraph_api.py +83 -72
  13. cosmotech_api/api/validator_api.py +1 -1
  14. cosmotech_api/api/workspace_api.py +132 -121
  15. cosmotech_api/api_client.py +59 -29
  16. cosmotech_api/configuration.py +18 -4
  17. cosmotech_api/exceptions.py +1 -1
  18. cosmotech_api/model/component_role_permissions.py +1 -1
  19. cosmotech_api/model/connector.py +1 -1
  20. cosmotech_api/model/connector_parameter.py +1 -1
  21. cosmotech_api/model/connector_parameter_group.py +1 -1
  22. cosmotech_api/model/container_resource_size_info.py +1 -1
  23. cosmotech_api/model/container_resource_sizing.py +1 -1
  24. cosmotech_api/model/dataset.py +1 -1
  25. cosmotech_api/model/dataset_access_control.py +1 -1
  26. cosmotech_api/model/dataset_compatibility.py +1 -1
  27. cosmotech_api/model/dataset_connector.py +1 -1
  28. cosmotech_api/model/dataset_copy_parameters.py +1 -1
  29. cosmotech_api/model/dataset_role.py +1 -1
  30. cosmotech_api/model/dataset_search.py +1 -1
  31. cosmotech_api/model/dataset_security.py +1 -1
  32. cosmotech_api/model/dataset_source_type.py +1 -1
  33. cosmotech_api/model/dataset_twin_graph_hash.py +1 -1
  34. cosmotech_api/model/dataset_twin_graph_info.py +1 -1
  35. cosmotech_api/model/dataset_twin_graph_query.py +1 -1
  36. cosmotech_api/model/delete_historical_data.py +1 -1
  37. cosmotech_api/model/file_upload_metadata.py +1 -1
  38. cosmotech_api/model/file_upload_validation.py +1 -1
  39. cosmotech_api/model/graph_properties.py +1 -1
  40. cosmotech_api/model/organization.py +1 -1
  41. cosmotech_api/model/organization_access_control.py +1 -1
  42. cosmotech_api/model/organization_role.py +1 -1
  43. cosmotech_api/model/organization_security.py +1 -1
  44. cosmotech_api/model/organization_service.py +1 -1
  45. cosmotech_api/model/organization_services.py +1 -1
  46. cosmotech_api/model/resource_size_info.py +1 -1
  47. cosmotech_api/model/run.py +1 -1
  48. cosmotech_api/model/run_container.py +1 -1
  49. cosmotech_api/model/run_container_artifact.py +1 -1
  50. cosmotech_api/model/run_container_logs.py +1 -1
  51. cosmotech_api/model/run_logs.py +1 -1
  52. cosmotech_api/model/run_resource_requested.py +1 -1
  53. cosmotech_api/model/run_search.py +1 -1
  54. cosmotech_api/model/run_start_containers.py +1 -1
  55. cosmotech_api/model/run_state.py +1 -1
  56. cosmotech_api/model/run_status.py +1 -1
  57. cosmotech_api/model/run_status_node.py +1 -1
  58. cosmotech_api/model/run_template.py +1 -1
  59. cosmotech_api/model/run_template_handler_id.py +1 -1
  60. cosmotech_api/model/run_template_orchestrator.py +1 -1
  61. cosmotech_api/model/run_template_parameter.py +1 -1
  62. cosmotech_api/model/run_template_parameter_group.py +1 -1
  63. cosmotech_api/model/run_template_parameter_value.py +1 -1
  64. cosmotech_api/model/run_template_resource_sizing.py +1 -1
  65. cosmotech_api/model/run_template_step_source.py +1 -1
  66. cosmotech_api/model/runner.py +21 -5
  67. cosmotech_api/model/runner_access_control.py +1 -1
  68. cosmotech_api/model/runner_changed_parameter_value.py +1 -1
  69. cosmotech_api/model/runner_comparison_result.py +1 -1
  70. cosmotech_api/model/runner_data_download_info.py +11 -1
  71. cosmotech_api/model/runner_data_download_job.py +1 -1
  72. cosmotech_api/model/runner_job_state.py +1 -1
  73. cosmotech_api/model/runner_last_run.py +1 -1
  74. cosmotech_api/model/runner_resource_sizing.py +1 -1
  75. cosmotech_api/model/runner_role.py +1 -1
  76. cosmotech_api/model/runner_run_template_parameter_value.py +1 -1
  77. cosmotech_api/model/runner_security.py +1 -1
  78. cosmotech_api/model/runner_validation_status.py +1 -1
  79. cosmotech_api/model/scenario.py +1 -1
  80. cosmotech_api/model/scenario_access_control.py +1 -1
  81. cosmotech_api/model/scenario_changed_parameter_value.py +1 -1
  82. cosmotech_api/model/scenario_comparison_result.py +1 -1
  83. cosmotech_api/model/scenario_data_download_info.py +1 -1
  84. cosmotech_api/model/scenario_data_download_job.py +1 -1
  85. cosmotech_api/model/scenario_job_state.py +1 -1
  86. cosmotech_api/model/scenario_last_run.py +1 -1
  87. cosmotech_api/model/scenario_resource_sizing.py +1 -1
  88. cosmotech_api/model/scenario_role.py +1 -1
  89. cosmotech_api/model/scenario_run.py +1 -1
  90. cosmotech_api/model/scenario_run_container.py +1 -1
  91. cosmotech_api/model/scenario_run_container_artifact.py +1 -1
  92. cosmotech_api/model/scenario_run_container_logs.py +1 -1
  93. cosmotech_api/model/scenario_run_logs.py +1 -1
  94. cosmotech_api/model/scenario_run_resource_requested.py +1 -1
  95. cosmotech_api/model/scenario_run_result.py +1 -1
  96. cosmotech_api/model/scenario_run_search.py +1 -1
  97. cosmotech_api/model/scenario_run_start_containers.py +1 -1
  98. cosmotech_api/model/scenario_run_state.py +1 -1
  99. cosmotech_api/model/scenario_run_status.py +1 -1
  100. cosmotech_api/model/scenario_run_status_node.py +1 -1
  101. cosmotech_api/model/scenario_run_template_parameter_value.py +1 -1
  102. cosmotech_api/model/scenario_security.py +1 -1
  103. cosmotech_api/model/scenario_validation_status.py +1 -1
  104. cosmotech_api/model/solution.py +1 -1
  105. cosmotech_api/model/solution_access_control.py +1 -1
  106. cosmotech_api/model/solution_role.py +1 -1
  107. cosmotech_api/model/solution_security.py +1 -1
  108. cosmotech_api/model/source_info.py +1 -1
  109. cosmotech_api/model/sub_dataset_graph_query.py +1 -1
  110. cosmotech_api/model/translated_labels.py +1 -1
  111. cosmotech_api/model/twin_graph_batch_result.py +1 -1
  112. cosmotech_api/model/twin_graph_hash.py +1 -1
  113. cosmotech_api/model/twin_graph_query.py +1 -1
  114. cosmotech_api/model/validator.py +1 -1
  115. cosmotech_api/model/validator_run.py +1 -1
  116. cosmotech_api/model/workspace.py +1 -1
  117. cosmotech_api/model/workspace_access_control.py +1 -1
  118. cosmotech_api/model/workspace_file.py +1 -1
  119. cosmotech_api/model/workspace_role.py +1 -1
  120. cosmotech_api/model/workspace_secret.py +1 -1
  121. cosmotech_api/model/workspace_security.py +1 -1
  122. cosmotech_api/model/workspace_solution.py +1 -1
  123. cosmotech_api/model/workspace_web_app.py +1 -1
  124. cosmotech_api/model_utils.py +1 -1
  125. cosmotech_api/models/__init__.py +5 -1
  126. cosmotech_api/models/about_info.py +92 -0
  127. cosmotech_api/models/about_info_version.py +100 -0
  128. cosmotech_api/models/component_role_permissions.py +7 -7
  129. cosmotech_api/models/connector.py +10 -10
  130. cosmotech_api/models/connector_parameter.py +7 -7
  131. cosmotech_api/models/connector_parameter_group.py +10 -10
  132. cosmotech_api/models/container_resource_size_info.py +7 -7
  133. cosmotech_api/models/container_resource_sizing.py +7 -7
  134. cosmotech_api/models/created_run.py +88 -0
  135. cosmotech_api/models/dataset.py +10 -10
  136. cosmotech_api/models/dataset_access_control.py +7 -7
  137. cosmotech_api/models/dataset_compatibility.py +7 -7
  138. cosmotech_api/models/dataset_connector.py +7 -7
  139. cosmotech_api/models/dataset_copy_parameters.py +7 -7
  140. cosmotech_api/models/dataset_role.py +7 -7
  141. cosmotech_api/models/dataset_search.py +7 -7
  142. cosmotech_api/models/dataset_security.py +10 -10
  143. cosmotech_api/models/dataset_source_type.py +1 -1
  144. cosmotech_api/models/dataset_twin_graph_hash.py +7 -7
  145. cosmotech_api/models/dataset_twin_graph_info.py +7 -7
  146. cosmotech_api/models/dataset_twin_graph_query.py +7 -7
  147. cosmotech_api/models/delete_historical_data.py +7 -7
  148. cosmotech_api/models/file_upload_metadata.py +7 -7
  149. cosmotech_api/models/file_upload_validation.py +13 -13
  150. cosmotech_api/models/graph_properties.py +7 -7
  151. cosmotech_api/models/ingestion_status_enum.py +1 -1
  152. cosmotech_api/models/io_types_enum.py +1 -1
  153. cosmotech_api/models/organization.py +7 -7
  154. cosmotech_api/models/organization_access_control.py +7 -7
  155. cosmotech_api/models/organization_create_request.py +95 -0
  156. cosmotech_api/models/organization_role.py +7 -7
  157. cosmotech_api/models/organization_security.py +10 -10
  158. cosmotech_api/models/organization_service.py +7 -7
  159. cosmotech_api/models/organization_services.py +7 -7
  160. cosmotech_api/models/organization_update_request.py +89 -0
  161. cosmotech_api/models/query_result.py +7 -7
  162. cosmotech_api/models/resource_size_info.py +7 -7
  163. cosmotech_api/models/run.py +13 -13
  164. cosmotech_api/models/run_container.py +10 -10
  165. cosmotech_api/models/run_container_artifact.py +7 -7
  166. cosmotech_api/models/run_container_logs.py +7 -7
  167. cosmotech_api/models/run_data.py +7 -7
  168. cosmotech_api/models/run_data_query.py +7 -7
  169. cosmotech_api/models/run_logs.py +10 -10
  170. cosmotech_api/models/run_logs_entry.py +88 -0
  171. cosmotech_api/models/run_resource_requested.py +7 -7
  172. cosmotech_api/models/run_search.py +7 -7
  173. cosmotech_api/models/run_search_state.py +1 -1
  174. cosmotech_api/models/run_start_containers.py +10 -10
  175. cosmotech_api/models/run_state.py +1 -1
  176. cosmotech_api/models/run_status.py +10 -10
  177. cosmotech_api/models/run_status_node.py +7 -7
  178. cosmotech_api/models/run_template.py +7 -7
  179. cosmotech_api/models/run_template_handler_id.py +1 -1
  180. cosmotech_api/models/run_template_orchestrator.py +1 -1
  181. cosmotech_api/models/run_template_parameter.py +7 -7
  182. cosmotech_api/models/run_template_parameter_group.py +7 -7
  183. cosmotech_api/models/run_template_parameter_value.py +7 -7
  184. cosmotech_api/models/run_template_resource_sizing.py +7 -7
  185. cosmotech_api/models/run_template_step_source.py +1 -1
  186. cosmotech_api/models/runner.py +32 -13
  187. cosmotech_api/models/runner_access_control.py +7 -7
  188. cosmotech_api/models/runner_changed_parameter_value.py +7 -7
  189. cosmotech_api/models/runner_comparison_result.py +10 -10
  190. cosmotech_api/models/runner_create_request.py +154 -0
  191. cosmotech_api/models/runner_data_download_info.py +12 -9
  192. cosmotech_api/models/runner_data_download_job.py +7 -7
  193. cosmotech_api/models/runner_job_state.py +1 -1
  194. cosmotech_api/models/runner_last_run.py +7 -7
  195. cosmotech_api/models/runner_parent_last_run.py +7 -7
  196. cosmotech_api/models/runner_resource_sizing.py +7 -7
  197. cosmotech_api/models/runner_role.py +7 -7
  198. cosmotech_api/models/runner_root_last_run.py +7 -7
  199. cosmotech_api/models/runner_run_template_parameter_value.py +7 -7
  200. cosmotech_api/models/runner_security.py +10 -10
  201. cosmotech_api/models/runner_update_request.py +123 -0
  202. cosmotech_api/models/runner_validation_status.py +1 -1
  203. cosmotech_api/models/scenario.py +11 -11
  204. cosmotech_api/models/scenario_access_control.py +7 -7
  205. cosmotech_api/models/scenario_changed_parameter_value.py +7 -7
  206. cosmotech_api/models/scenario_comparison_result.py +10 -10
  207. cosmotech_api/models/scenario_data_download_info.py +7 -7
  208. cosmotech_api/models/scenario_data_download_job.py +7 -7
  209. cosmotech_api/models/scenario_job_state.py +1 -1
  210. cosmotech_api/models/scenario_last_run.py +7 -7
  211. cosmotech_api/models/scenario_resource_sizing.py +7 -7
  212. cosmotech_api/models/scenario_role.py +7 -7
  213. cosmotech_api/models/scenario_run.py +13 -13
  214. cosmotech_api/models/scenario_run_container.py +10 -10
  215. cosmotech_api/models/scenario_run_container_artifact.py +7 -7
  216. cosmotech_api/models/scenario_run_container_logs.py +7 -7
  217. cosmotech_api/models/scenario_run_logs.py +10 -10
  218. cosmotech_api/models/scenario_run_resource_requested.py +7 -7
  219. cosmotech_api/models/scenario_run_search.py +7 -7
  220. cosmotech_api/models/scenario_run_search_state.py +1 -1
  221. cosmotech_api/models/scenario_run_start_containers.py +10 -10
  222. cosmotech_api/models/scenario_run_state.py +1 -1
  223. cosmotech_api/models/scenario_run_status.py +10 -10
  224. cosmotech_api/models/scenario_run_status_node.py +7 -7
  225. cosmotech_api/models/scenario_run_template_parameter_value.py +7 -7
  226. cosmotech_api/models/scenario_security.py +10 -10
  227. cosmotech_api/models/scenario_validation_status.py +1 -1
  228. cosmotech_api/models/send_run_data_request.py +7 -7
  229. cosmotech_api/models/solution.py +16 -16
  230. cosmotech_api/models/solution_access_control.py +7 -7
  231. cosmotech_api/models/solution_create_request.py +143 -0
  232. cosmotech_api/models/solution_role.py +7 -7
  233. cosmotech_api/models/solution_security.py +10 -10
  234. cosmotech_api/models/solution_update_request.py +107 -0
  235. cosmotech_api/models/source_info.py +7 -7
  236. cosmotech_api/models/sub_dataset_graph_query.py +7 -7
  237. cosmotech_api/models/twin_graph_batch_result.py +7 -7
  238. cosmotech_api/models/twin_graph_hash.py +7 -7
  239. cosmotech_api/models/twin_graph_query.py +7 -7
  240. cosmotech_api/models/twincache_status_enum.py +1 -1
  241. cosmotech_api/models/validator.py +7 -7
  242. cosmotech_api/models/workspace.py +7 -7
  243. cosmotech_api/models/workspace_access_control.py +7 -7
  244. cosmotech_api/models/workspace_create_request.py +117 -0
  245. cosmotech_api/models/workspace_file.py +7 -7
  246. cosmotech_api/models/workspace_role.py +7 -7
  247. cosmotech_api/models/workspace_secret.py +7 -7
  248. cosmotech_api/models/workspace_security.py +10 -10
  249. cosmotech_api/models/workspace_solution.py +7 -7
  250. cosmotech_api/models/workspace_update_request.py +109 -0
  251. cosmotech_api/models/workspace_web_app.py +7 -7
  252. cosmotech_api/rest.py +3 -1
  253. {cosmotech_api-3.2.6.dev2.dist-info → cosmotech_api-3.3.4.dist-info}/METADATA +13 -5
  254. cosmotech_api-3.3.4.dist-info/RECORD +273 -0
  255. {cosmotech_api-3.2.6.dev2.dist-info → cosmotech_api-3.3.4.dist-info}/WHEEL +1 -1
  256. cosmotech_api-3.2.6.dev2.dist-info/RECORD +0 -260
  257. {cosmotech_api-3.2.6.dev2.dist-info → cosmotech_api-3.3.4.dist-info}/LICENSE +0 -0
  258. {cosmotech_api-3.2.6.dev2.dist-info → cosmotech_api-3.3.4.dist-info}/top_level.txt +0 -0
@@ -5,7 +5,7 @@
5
5
 
6
6
  Cosmo Tech Platform API
7
7
 
8
- The version of the OpenAPI document: 3.2.6
8
+ The version of the OpenAPI document: 3.3.4
9
9
  Contact: platform@cosmotech.com
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -18,7 +18,7 @@ from typing import Any, Dict, List, Optional, Tuple, Union
18
18
  from typing_extensions import Annotated
19
19
 
20
20
  from pydantic import Field, StrictBool, StrictBytes, StrictInt, StrictStr
21
- from typing import Optional, Union
21
+ from typing import List, Optional, Union
22
22
  from typing_extensions import Annotated
23
23
  from cosmotech_api.models.workspace import Workspace
24
24
  from cosmotech_api.models.workspace_access_control import WorkspaceAccessControl
@@ -286,7 +286,7 @@ class WorkspaceApi:
286
286
  _query_params: List[Tuple[str, str]] = []
287
287
  _header_params: Dict[str, Optional[str]] = _headers or {}
288
288
  _form_params: List[Tuple[str, str]] = []
289
- _files: Dict[str, str] = {}
289
+ _files: Dict[str, Union[str, bytes]] = {}
290
290
  _body_params: Optional[bytes] = None
291
291
 
292
292
  # process the path parameters
@@ -303,11 +303,12 @@ class WorkspaceApi:
303
303
 
304
304
 
305
305
  # set the HTTP header `Accept`
306
- _header_params['Accept'] = self.api_client.select_header_accept(
307
- [
308
- 'application/json'
309
- ]
310
- )
306
+ if 'Accept' not in _header_params:
307
+ _header_params['Accept'] = self.api_client.select_header_accept(
308
+ [
309
+ 'application/json'
310
+ ]
311
+ )
311
312
 
312
313
  # set the HTTP header `Content-Type`
313
314
  if _content_type:
@@ -588,7 +589,7 @@ class WorkspaceApi:
588
589
  _query_params: List[Tuple[str, str]] = []
589
590
  _header_params: Dict[str, Optional[str]] = _headers or {}
590
591
  _form_params: List[Tuple[str, str]] = []
591
- _files: Dict[str, str] = {}
592
+ _files: Dict[str, Union[str, bytes]] = {}
592
593
  _body_params: Optional[bytes] = None
593
594
 
594
595
  # process the path parameters
@@ -871,7 +872,7 @@ class WorkspaceApi:
871
872
  _query_params: List[Tuple[str, str]] = []
872
873
  _header_params: Dict[str, Optional[str]] = _headers or {}
873
874
  _form_params: List[Tuple[str, str]] = []
874
- _files: Dict[str, str] = {}
875
+ _files: Dict[str, Union[str, bytes]] = {}
875
876
  _body_params: Optional[bytes] = None
876
877
 
877
878
  # process the path parameters
@@ -886,11 +887,12 @@ class WorkspaceApi:
886
887
 
887
888
 
888
889
  # set the HTTP header `Accept`
889
- _header_params['Accept'] = self.api_client.select_header_accept(
890
- [
891
- 'application/json'
892
- ]
893
- )
890
+ if 'Accept' not in _header_params:
891
+ _header_params['Accept'] = self.api_client.select_header_accept(
892
+ [
893
+ 'application/json'
894
+ ]
895
+ )
894
896
 
895
897
  # set the HTTP header `Content-Type`
896
898
  if _content_type:
@@ -1158,7 +1160,7 @@ class WorkspaceApi:
1158
1160
  _query_params: List[Tuple[str, str]] = []
1159
1161
  _header_params: Dict[str, Optional[str]] = _headers or {}
1160
1162
  _form_params: List[Tuple[str, str]] = []
1161
- _files: Dict[str, str] = {}
1163
+ _files: Dict[str, Union[str, bytes]] = {}
1162
1164
  _body_params: Optional[bytes] = None
1163
1165
 
1164
1166
  # process the path parameters
@@ -1214,7 +1216,7 @@ class WorkspaceApi:
1214
1216
  _content_type: Optional[StrictStr] = None,
1215
1217
  _headers: Optional[Dict[StrictStr, Any]] = None,
1216
1218
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1217
- ) -> Workspace:
1219
+ ) -> None:
1218
1220
  """Delete a workspace
1219
1221
 
1220
1222
 
@@ -1254,7 +1256,7 @@ class WorkspaceApi:
1254
1256
  )
1255
1257
 
1256
1258
  _response_types_map: Dict[str, Optional[str]] = {
1257
- '200': "Workspace",
1259
+ '204': None,
1258
1260
  '400': None,
1259
1261
  '404': None,
1260
1262
  }
@@ -1286,7 +1288,7 @@ class WorkspaceApi:
1286
1288
  _content_type: Optional[StrictStr] = None,
1287
1289
  _headers: Optional[Dict[StrictStr, Any]] = None,
1288
1290
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1289
- ) -> ApiResponse[Workspace]:
1291
+ ) -> ApiResponse[None]:
1290
1292
  """Delete a workspace
1291
1293
 
1292
1294
 
@@ -1326,7 +1328,7 @@ class WorkspaceApi:
1326
1328
  )
1327
1329
 
1328
1330
  _response_types_map: Dict[str, Optional[str]] = {
1329
- '200': "Workspace",
1331
+ '204': None,
1330
1332
  '400': None,
1331
1333
  '404': None,
1332
1334
  }
@@ -1398,7 +1400,7 @@ class WorkspaceApi:
1398
1400
  )
1399
1401
 
1400
1402
  _response_types_map: Dict[str, Optional[str]] = {
1401
- '200': "Workspace",
1403
+ '204': None,
1402
1404
  '400': None,
1403
1405
  '404': None,
1404
1406
  }
@@ -1428,7 +1430,7 @@ class WorkspaceApi:
1428
1430
  _query_params: List[Tuple[str, str]] = []
1429
1431
  _header_params: Dict[str, Optional[str]] = _headers or {}
1430
1432
  _form_params: List[Tuple[str, str]] = []
1431
- _files: Dict[str, str] = {}
1433
+ _files: Dict[str, Union[str, bytes]] = {}
1432
1434
  _body_params: Optional[bytes] = None
1433
1435
 
1434
1436
  # process the path parameters
@@ -1442,12 +1444,6 @@ class WorkspaceApi:
1442
1444
  # process the body parameter
1443
1445
 
1444
1446
 
1445
- # set the HTTP header `Accept`
1446
- _header_params['Accept'] = self.api_client.select_header_accept(
1447
- [
1448
- 'application/json'
1449
- ]
1450
- )
1451
1447
 
1452
1448
 
1453
1449
  # authentication setting
@@ -1714,7 +1710,7 @@ class WorkspaceApi:
1714
1710
  _query_params: List[Tuple[str, str]] = []
1715
1711
  _header_params: Dict[str, Optional[str]] = _headers or {}
1716
1712
  _form_params: List[Tuple[str, str]] = []
1717
- _files: Dict[str, str] = {}
1713
+ _files: Dict[str, Union[str, bytes]] = {}
1718
1714
  _body_params: Optional[bytes] = None
1719
1715
 
1720
1716
  # process the path parameters
@@ -1998,7 +1994,7 @@ class WorkspaceApi:
1998
1994
  _query_params: List[Tuple[str, str]] = []
1999
1995
  _header_params: Dict[str, Optional[str]] = _headers or {}
2000
1996
  _form_params: List[Tuple[str, str]] = []
2001
- _files: Dict[str, str] = {}
1997
+ _files: Dict[str, Union[str, bytes]] = {}
2002
1998
  _body_params: Optional[bytes] = None
2003
1999
 
2004
2000
  # process the path parameters
@@ -2017,11 +2013,12 @@ class WorkspaceApi:
2017
2013
 
2018
2014
 
2019
2015
  # set the HTTP header `Accept`
2020
- _header_params['Accept'] = self.api_client.select_header_accept(
2021
- [
2022
- 'application/octet-stream'
2023
- ]
2024
- )
2016
+ if 'Accept' not in _header_params:
2017
+ _header_params['Accept'] = self.api_client.select_header_accept(
2018
+ [
2019
+ 'application/octet-stream'
2020
+ ]
2021
+ )
2025
2022
 
2026
2023
 
2027
2024
  # authentication setting
@@ -2275,7 +2272,7 @@ class WorkspaceApi:
2275
2272
  _query_params: List[Tuple[str, str]] = []
2276
2273
  _header_params: Dict[str, Optional[str]] = _headers or {}
2277
2274
  _form_params: List[Tuple[str, str]] = []
2278
- _files: Dict[str, str] = {}
2275
+ _files: Dict[str, Union[str, bytes]] = {}
2279
2276
  _body_params: Optional[bytes] = None
2280
2277
 
2281
2278
  # process the path parameters
@@ -2290,11 +2287,12 @@ class WorkspaceApi:
2290
2287
 
2291
2288
 
2292
2289
  # set the HTTP header `Accept`
2293
- _header_params['Accept'] = self.api_client.select_header_accept(
2294
- [
2295
- 'application/json'
2296
- ]
2297
- )
2290
+ if 'Accept' not in _header_params:
2291
+ _header_params['Accept'] = self.api_client.select_header_accept(
2292
+ [
2293
+ 'application/json'
2294
+ ]
2295
+ )
2298
2296
 
2299
2297
 
2300
2298
  # authentication setting
@@ -2558,7 +2556,7 @@ class WorkspaceApi:
2558
2556
  _query_params: List[Tuple[str, str]] = []
2559
2557
  _header_params: Dict[str, Optional[str]] = _headers or {}
2560
2558
  _form_params: List[Tuple[str, str]] = []
2561
- _files: Dict[str, str] = {}
2559
+ _files: Dict[str, Union[str, bytes]] = {}
2562
2560
  _body_params: Optional[bytes] = None
2563
2561
 
2564
2562
  # process the path parameters
@@ -2579,11 +2577,12 @@ class WorkspaceApi:
2579
2577
 
2580
2578
 
2581
2579
  # set the HTTP header `Accept`
2582
- _header_params['Accept'] = self.api_client.select_header_accept(
2583
- [
2584
- 'application/json'
2585
- ]
2586
- )
2580
+ if 'Accept' not in _header_params:
2581
+ _header_params['Accept'] = self.api_client.select_header_accept(
2582
+ [
2583
+ 'application/json'
2584
+ ]
2585
+ )
2587
2586
 
2588
2587
 
2589
2588
  # authentication setting
@@ -2837,7 +2836,7 @@ class WorkspaceApi:
2837
2836
  _query_params: List[Tuple[str, str]] = []
2838
2837
  _header_params: Dict[str, Optional[str]] = _headers or {}
2839
2838
  _form_params: List[Tuple[str, str]] = []
2840
- _files: Dict[str, str] = {}
2839
+ _files: Dict[str, Union[str, bytes]] = {}
2841
2840
  _body_params: Optional[bytes] = None
2842
2841
 
2843
2842
  # process the path parameters
@@ -2852,11 +2851,12 @@ class WorkspaceApi:
2852
2851
 
2853
2852
 
2854
2853
  # set the HTTP header `Accept`
2855
- _header_params['Accept'] = self.api_client.select_header_accept(
2856
- [
2857
- 'application/json'
2858
- ]
2859
- )
2854
+ if 'Accept' not in _header_params:
2855
+ _header_params['Accept'] = self.api_client.select_header_accept(
2856
+ [
2857
+ 'application/json'
2858
+ ]
2859
+ )
2860
2860
 
2861
2861
 
2862
2862
  # authentication setting
@@ -3123,7 +3123,7 @@ class WorkspaceApi:
3123
3123
  _query_params: List[Tuple[str, str]] = []
3124
3124
  _header_params: Dict[str, Optional[str]] = _headers or {}
3125
3125
  _form_params: List[Tuple[str, str]] = []
3126
- _files: Dict[str, str] = {}
3126
+ _files: Dict[str, Union[str, bytes]] = {}
3127
3127
  _body_params: Optional[bytes] = None
3128
3128
 
3129
3129
  # process the path parameters
@@ -3140,11 +3140,12 @@ class WorkspaceApi:
3140
3140
 
3141
3141
 
3142
3142
  # set the HTTP header `Accept`
3143
- _header_params['Accept'] = self.api_client.select_header_accept(
3144
- [
3145
- 'application/json'
3146
- ]
3147
- )
3143
+ if 'Accept' not in _header_params:
3144
+ _header_params['Accept'] = self.api_client.select_header_accept(
3145
+ [
3146
+ 'application/json'
3147
+ ]
3148
+ )
3148
3149
 
3149
3150
 
3150
3151
  # authentication setting
@@ -3408,7 +3409,7 @@ class WorkspaceApi:
3408
3409
  _query_params: List[Tuple[str, str]] = []
3409
3410
  _header_params: Dict[str, Optional[str]] = _headers or {}
3410
3411
  _form_params: List[Tuple[str, str]] = []
3411
- _files: Dict[str, str] = {}
3412
+ _files: Dict[str, Union[str, bytes]] = {}
3412
3413
  _body_params: Optional[bytes] = None
3413
3414
 
3414
3415
  # process the path parameters
@@ -3425,11 +3426,12 @@ class WorkspaceApi:
3425
3426
 
3426
3427
 
3427
3428
  # set the HTTP header `Accept`
3428
- _header_params['Accept'] = self.api_client.select_header_accept(
3429
- [
3430
- 'application/json'
3431
- ]
3432
- )
3429
+ if 'Accept' not in _header_params:
3430
+ _header_params['Accept'] = self.api_client.select_header_accept(
3431
+ [
3432
+ 'application/json'
3433
+ ]
3434
+ )
3433
3435
 
3434
3436
 
3435
3437
  # authentication setting
@@ -3683,7 +3685,7 @@ class WorkspaceApi:
3683
3685
  _query_params: List[Tuple[str, str]] = []
3684
3686
  _header_params: Dict[str, Optional[str]] = _headers or {}
3685
3687
  _form_params: List[Tuple[str, str]] = []
3686
- _files: Dict[str, str] = {}
3688
+ _files: Dict[str, Union[str, bytes]] = {}
3687
3689
  _body_params: Optional[bytes] = None
3688
3690
 
3689
3691
  # process the path parameters
@@ -3698,11 +3700,12 @@ class WorkspaceApi:
3698
3700
 
3699
3701
 
3700
3702
  # set the HTTP header `Accept`
3701
- _header_params['Accept'] = self.api_client.select_header_accept(
3702
- [
3703
- 'application/json'
3704
- ]
3705
- )
3703
+ if 'Accept' not in _header_params:
3704
+ _header_params['Accept'] = self.api_client.select_header_accept(
3705
+ [
3706
+ 'application/json'
3707
+ ]
3708
+ )
3706
3709
 
3707
3710
 
3708
3711
  # authentication setting
@@ -3956,7 +3959,7 @@ class WorkspaceApi:
3956
3959
  _query_params: List[Tuple[str, str]] = []
3957
3960
  _header_params: Dict[str, Optional[str]] = _headers or {}
3958
3961
  _form_params: List[Tuple[str, str]] = []
3959
- _files: Dict[str, str] = {}
3962
+ _files: Dict[str, Union[str, bytes]] = {}
3960
3963
  _body_params: Optional[bytes] = None
3961
3964
 
3962
3965
  # process the path parameters
@@ -3971,11 +3974,12 @@ class WorkspaceApi:
3971
3974
 
3972
3975
 
3973
3976
  # set the HTTP header `Accept`
3974
- _header_params['Accept'] = self.api_client.select_header_accept(
3975
- [
3976
- 'application/json'
3977
- ]
3978
- )
3977
+ if 'Accept' not in _header_params:
3978
+ _header_params['Accept'] = self.api_client.select_header_accept(
3979
+ [
3980
+ 'application/json'
3981
+ ]
3982
+ )
3979
3983
 
3980
3984
 
3981
3985
  # authentication setting
@@ -4245,7 +4249,7 @@ class WorkspaceApi:
4245
4249
  _query_params: List[Tuple[str, str]] = []
4246
4250
  _header_params: Dict[str, Optional[str]] = _headers or {}
4247
4251
  _form_params: List[Tuple[str, str]] = []
4248
- _files: Dict[str, str] = {}
4252
+ _files: Dict[str, Union[str, bytes]] = {}
4249
4253
  _body_params: Optional[bytes] = None
4250
4254
 
4251
4255
  # process the path parameters
@@ -4264,11 +4268,12 @@ class WorkspaceApi:
4264
4268
 
4265
4269
 
4266
4270
  # set the HTTP header `Accept`
4267
- _header_params['Accept'] = self.api_client.select_header_accept(
4268
- [
4269
- 'application/json'
4270
- ]
4271
- )
4271
+ if 'Accept' not in _header_params:
4272
+ _header_params['Accept'] = self.api_client.select_header_accept(
4273
+ [
4274
+ 'application/json'
4275
+ ]
4276
+ )
4272
4277
 
4273
4278
 
4274
4279
  # authentication setting
@@ -4535,7 +4540,7 @@ class WorkspaceApi:
4535
4540
  _query_params: List[Tuple[str, str]] = []
4536
4541
  _header_params: Dict[str, Optional[str]] = _headers or {}
4537
4542
  _form_params: List[Tuple[str, str]] = []
4538
- _files: Dict[str, str] = {}
4543
+ _files: Dict[str, Union[str, bytes]] = {}
4539
4544
  _body_params: Optional[bytes] = None
4540
4545
 
4541
4546
  # process the path parameters
@@ -4817,7 +4822,7 @@ class WorkspaceApi:
4817
4822
  _query_params: List[Tuple[str, str]] = []
4818
4823
  _header_params: Dict[str, Optional[str]] = _headers or {}
4819
4824
  _form_params: List[Tuple[str, str]] = []
4820
- _files: Dict[str, str] = {}
4825
+ _files: Dict[str, Union[str, bytes]] = {}
4821
4826
  _body_params: Optional[bytes] = None
4822
4827
 
4823
4828
  # process the path parameters
@@ -4834,11 +4839,12 @@ class WorkspaceApi:
4834
4839
 
4835
4840
 
4836
4841
  # set the HTTP header `Accept`
4837
- _header_params['Accept'] = self.api_client.select_header_accept(
4838
- [
4839
- 'application/json'
4840
- ]
4841
- )
4842
+ if 'Accept' not in _header_params:
4843
+ _header_params['Accept'] = self.api_client.select_header_accept(
4844
+ [
4845
+ 'application/json'
4846
+ ]
4847
+ )
4842
4848
 
4843
4849
  # set the HTTP header `Content-Type`
4844
4850
  if _content_type:
@@ -5122,7 +5128,7 @@ class WorkspaceApi:
5122
5128
  _query_params: List[Tuple[str, str]] = []
5123
5129
  _header_params: Dict[str, Optional[str]] = _headers or {}
5124
5130
  _form_params: List[Tuple[str, str]] = []
5125
- _files: Dict[str, str] = {}
5131
+ _files: Dict[str, Union[str, bytes]] = {}
5126
5132
  _body_params: Optional[bytes] = None
5127
5133
 
5128
5134
  # process the path parameters
@@ -5141,11 +5147,12 @@ class WorkspaceApi:
5141
5147
 
5142
5148
 
5143
5149
  # set the HTTP header `Accept`
5144
- _header_params['Accept'] = self.api_client.select_header_accept(
5145
- [
5146
- 'application/json'
5147
- ]
5148
- )
5150
+ if 'Accept' not in _header_params:
5151
+ _header_params['Accept'] = self.api_client.select_header_accept(
5152
+ [
5153
+ 'application/json'
5154
+ ]
5155
+ )
5149
5156
 
5150
5157
 
5151
5158
  # authentication setting
@@ -5176,7 +5183,7 @@ class WorkspaceApi:
5176
5183
  self,
5177
5184
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
5178
5185
  workspace_id: Annotated[StrictStr, Field(description="the Workspace identifier")],
5179
- workspace: Annotated[Workspace, Field(description="The new Workspace details. This endpoint can't be used to update security")],
5186
+ workspace: Annotated[Workspace, Field(description="The new Workspace details. This endpoint can't be used to update : - id - ownerId - security ")],
5180
5187
  _request_timeout: Union[
5181
5188
  None,
5182
5189
  Annotated[StrictFloat, Field(gt=0)],
@@ -5197,7 +5204,7 @@ class WorkspaceApi:
5197
5204
  :type organization_id: str
5198
5205
  :param workspace_id: the Workspace identifier (required)
5199
5206
  :type workspace_id: str
5200
- :param workspace: The new Workspace details. This endpoint can't be used to update security (required)
5207
+ :param workspace: The new Workspace details. This endpoint can't be used to update : - id - ownerId - security (required)
5201
5208
  :type workspace: Workspace
5202
5209
  :param _request_timeout: timeout setting for this request. If one
5203
5210
  number provided, it will be total request
@@ -5252,7 +5259,7 @@ class WorkspaceApi:
5252
5259
  self,
5253
5260
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
5254
5261
  workspace_id: Annotated[StrictStr, Field(description="the Workspace identifier")],
5255
- workspace: Annotated[Workspace, Field(description="The new Workspace details. This endpoint can't be used to update security")],
5262
+ workspace: Annotated[Workspace, Field(description="The new Workspace details. This endpoint can't be used to update : - id - ownerId - security ")],
5256
5263
  _request_timeout: Union[
5257
5264
  None,
5258
5265
  Annotated[StrictFloat, Field(gt=0)],
@@ -5273,7 +5280,7 @@ class WorkspaceApi:
5273
5280
  :type organization_id: str
5274
5281
  :param workspace_id: the Workspace identifier (required)
5275
5282
  :type workspace_id: str
5276
- :param workspace: The new Workspace details. This endpoint can't be used to update security (required)
5283
+ :param workspace: The new Workspace details. This endpoint can't be used to update : - id - ownerId - security (required)
5277
5284
  :type workspace: Workspace
5278
5285
  :param _request_timeout: timeout setting for this request. If one
5279
5286
  number provided, it will be total request
@@ -5328,7 +5335,7 @@ class WorkspaceApi:
5328
5335
  self,
5329
5336
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
5330
5337
  workspace_id: Annotated[StrictStr, Field(description="the Workspace identifier")],
5331
- workspace: Annotated[Workspace, Field(description="The new Workspace details. This endpoint can't be used to update security")],
5338
+ workspace: Annotated[Workspace, Field(description="The new Workspace details. This endpoint can't be used to update : - id - ownerId - security ")],
5332
5339
  _request_timeout: Union[
5333
5340
  None,
5334
5341
  Annotated[StrictFloat, Field(gt=0)],
@@ -5349,7 +5356,7 @@ class WorkspaceApi:
5349
5356
  :type organization_id: str
5350
5357
  :param workspace_id: the Workspace identifier (required)
5351
5358
  :type workspace_id: str
5352
- :param workspace: The new Workspace details. This endpoint can't be used to update security (required)
5359
+ :param workspace: The new Workspace details. This endpoint can't be used to update : - id - ownerId - security (required)
5353
5360
  :type workspace: Workspace
5354
5361
  :param _request_timeout: timeout setting for this request. If one
5355
5362
  number provided, it will be total request
@@ -5415,7 +5422,7 @@ class WorkspaceApi:
5415
5422
  _query_params: List[Tuple[str, str]] = []
5416
5423
  _header_params: Dict[str, Optional[str]] = _headers or {}
5417
5424
  _form_params: List[Tuple[str, str]] = []
5418
- _files: Dict[str, str] = {}
5425
+ _files: Dict[str, Union[str, bytes]] = {}
5419
5426
  _body_params: Optional[bytes] = None
5420
5427
 
5421
5428
  # process the path parameters
@@ -5432,11 +5439,12 @@ class WorkspaceApi:
5432
5439
 
5433
5440
 
5434
5441
  # set the HTTP header `Accept`
5435
- _header_params['Accept'] = self.api_client.select_header_accept(
5436
- [
5437
- 'application/json'
5438
- ]
5439
- )
5442
+ if 'Accept' not in _header_params:
5443
+ _header_params['Accept'] = self.api_client.select_header_accept(
5444
+ [
5445
+ 'application/json'
5446
+ ]
5447
+ )
5440
5448
 
5441
5449
  # set the HTTP header `Content-Type`
5442
5450
  if _content_type:
@@ -5730,7 +5738,7 @@ class WorkspaceApi:
5730
5738
  _query_params: List[Tuple[str, str]] = []
5731
5739
  _header_params: Dict[str, Optional[str]] = _headers or {}
5732
5740
  _form_params: List[Tuple[str, str]] = []
5733
- _files: Dict[str, str] = {}
5741
+ _files: Dict[str, Union[str, bytes]] = {}
5734
5742
  _body_params: Optional[bytes] = None
5735
5743
 
5736
5744
  # process the path parameters
@@ -5749,11 +5757,12 @@ class WorkspaceApi:
5749
5757
 
5750
5758
 
5751
5759
  # set the HTTP header `Accept`
5752
- _header_params['Accept'] = self.api_client.select_header_accept(
5753
- [
5754
- 'application/json'
5755
- ]
5756
- )
5760
+ if 'Accept' not in _header_params:
5761
+ _header_params['Accept'] = self.api_client.select_header_accept(
5762
+ [
5763
+ 'application/json'
5764
+ ]
5765
+ )
5757
5766
 
5758
5767
  # set the HTTP header `Content-Type`
5759
5768
  if _content_type:
@@ -5762,7 +5771,8 @@ class WorkspaceApi:
5762
5771
  _default_content_type = (
5763
5772
  self.api_client.select_header_content_type(
5764
5773
  [
5765
- 'application/json'
5774
+ 'application/json',
5775
+ 'application/yaml'
5766
5776
  ]
5767
5777
  )
5768
5778
  )
@@ -6059,7 +6069,7 @@ class WorkspaceApi:
6059
6069
  _query_params: List[Tuple[str, str]] = []
6060
6070
  _header_params: Dict[str, Optional[str]] = _headers or {}
6061
6071
  _form_params: List[Tuple[str, str]] = []
6062
- _files: Dict[str, str] = {}
6072
+ _files: Dict[str, Union[str, bytes]] = {}
6063
6073
  _body_params: Optional[bytes] = None
6064
6074
 
6065
6075
  # process the path parameters
@@ -6080,11 +6090,12 @@ class WorkspaceApi:
6080
6090
 
6081
6091
 
6082
6092
  # set the HTTP header `Accept`
6083
- _header_params['Accept'] = self.api_client.select_header_accept(
6084
- [
6085
- 'application/json'
6086
- ]
6087
- )
6093
+ if 'Accept' not in _header_params:
6094
+ _header_params['Accept'] = self.api_client.select_header_accept(
6095
+ [
6096
+ 'application/json'
6097
+ ]
6098
+ )
6088
6099
 
6089
6100
  # set the HTTP header `Content-Type`
6090
6101
  if _content_type: