cosmotech-api 3.2.6__py3-none-any.whl → 3.2.6.dev0__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 (244) hide show
  1. cosmotech_api/__init__.py +3 -45
  2. cosmotech_api/api/__init__.py +0 -3
  3. cosmotech_api/api/connector_api.py +7 -262
  4. cosmotech_api/api/dataset_api.py +19 -19
  5. cosmotech_api/api/organization_api.py +8 -869
  6. cosmotech_api/api/run_api.py +7 -7
  7. cosmotech_api/api/runner_api.py +13 -12
  8. cosmotech_api/api/scenario_api.py +3265 -6544
  9. cosmotech_api/api/scenariorun_api.py +1960 -4007
  10. cosmotech_api/api/scenariorunresult_api.py +1 -1
  11. cosmotech_api/api/solution_api.py +394 -1045
  12. cosmotech_api/api/twingraph_api.py +2061 -4118
  13. cosmotech_api/api/validator_api.py +1 -1
  14. cosmotech_api/api/workspace_api.py +12 -315
  15. cosmotech_api/api_client.py +1 -1
  16. cosmotech_api/configuration.py +5 -13
  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 +3 -42
  126. cosmotech_api/models/component_role_permissions.py +1 -1
  127. cosmotech_api/models/connector.py +3 -7
  128. cosmotech_api/models/connector_parameter.py +1 -1
  129. cosmotech_api/models/connector_parameter_group.py +1 -1
  130. cosmotech_api/models/container_resource_size_info.py +1 -1
  131. cosmotech_api/models/container_resource_sizing.py +1 -1
  132. cosmotech_api/models/created_run.py +88 -0
  133. cosmotech_api/models/dataset.py +1 -1
  134. cosmotech_api/models/dataset_access_control.py +1 -1
  135. cosmotech_api/models/dataset_compatibility.py +1 -1
  136. cosmotech_api/models/dataset_connector.py +1 -1
  137. cosmotech_api/models/dataset_copy_parameters.py +1 -1
  138. cosmotech_api/models/dataset_role.py +1 -1
  139. cosmotech_api/models/dataset_search.py +1 -1
  140. cosmotech_api/models/dataset_security.py +1 -1
  141. cosmotech_api/models/dataset_source_type.py +1 -1
  142. cosmotech_api/models/dataset_twin_graph_hash.py +1 -1
  143. cosmotech_api/models/dataset_twin_graph_info.py +1 -1
  144. cosmotech_api/models/dataset_twin_graph_query.py +1 -1
  145. cosmotech_api/models/delete_historical_data.py +1 -1
  146. cosmotech_api/models/file_upload_metadata.py +1 -1
  147. cosmotech_api/models/file_upload_validation.py +1 -1
  148. cosmotech_api/models/graph_properties.py +1 -1
  149. cosmotech_api/models/ingestion_status_enum.py +1 -1
  150. cosmotech_api/models/io_types_enum.py +1 -1
  151. cosmotech_api/models/organization.py +2 -8
  152. cosmotech_api/models/organization_access_control.py +1 -1
  153. cosmotech_api/models/organization_role.py +1 -1
  154. cosmotech_api/models/organization_security.py +1 -1
  155. cosmotech_api/models/organization_service.py +1 -1
  156. cosmotech_api/models/organization_services.py +1 -1
  157. cosmotech_api/models/query_result.py +1 -1
  158. cosmotech_api/models/resource_size_info.py +1 -1
  159. cosmotech_api/models/run.py +1 -1
  160. cosmotech_api/models/run_container.py +3 -13
  161. cosmotech_api/models/run_container_artifact.py +1 -1
  162. cosmotech_api/models/run_container_logs.py +1 -1
  163. cosmotech_api/models/run_data.py +1 -1
  164. cosmotech_api/models/run_data_query.py +1 -1
  165. cosmotech_api/models/run_logs.py +16 -21
  166. cosmotech_api/models/run_logs_entry.py +88 -0
  167. cosmotech_api/models/run_resource_requested.py +1 -1
  168. cosmotech_api/models/run_search.py +1 -1
  169. cosmotech_api/models/run_search_state.py +1 -1
  170. cosmotech_api/models/run_start_containers.py +1 -1
  171. cosmotech_api/models/run_state.py +1 -1
  172. cosmotech_api/models/run_status.py +1 -1
  173. cosmotech_api/models/run_status_node.py +1 -1
  174. cosmotech_api/models/run_template.py +1 -1
  175. cosmotech_api/models/run_template_handler_id.py +1 -1
  176. cosmotech_api/models/run_template_orchestrator.py +1 -1
  177. cosmotech_api/models/run_template_parameter.py +1 -1
  178. cosmotech_api/models/run_template_parameter_group.py +1 -1
  179. cosmotech_api/models/run_template_parameter_value.py +1 -1
  180. cosmotech_api/models/run_template_resource_sizing.py +1 -1
  181. cosmotech_api/models/run_template_step_source.py +1 -1
  182. cosmotech_api/models/runner.py +2 -2
  183. cosmotech_api/models/runner_access_control.py +1 -1
  184. cosmotech_api/models/runner_changed_parameter_value.py +1 -1
  185. cosmotech_api/models/runner_comparison_result.py +1 -1
  186. cosmotech_api/models/runner_data_download_info.py +1 -1
  187. cosmotech_api/models/runner_data_download_job.py +1 -1
  188. cosmotech_api/models/runner_resource_sizing.py +1 -1
  189. cosmotech_api/models/runner_role.py +1 -1
  190. cosmotech_api/models/runner_run_template_parameter_value.py +1 -1
  191. cosmotech_api/models/runner_security.py +1 -1
  192. cosmotech_api/models/runner_validation_status.py +1 -1
  193. cosmotech_api/models/scenario.py +2 -2
  194. cosmotech_api/models/scenario_access_control.py +1 -1
  195. cosmotech_api/models/scenario_changed_parameter_value.py +1 -1
  196. cosmotech_api/models/scenario_comparison_result.py +1 -1
  197. cosmotech_api/models/scenario_data_download_info.py +1 -1
  198. cosmotech_api/models/scenario_data_download_job.py +1 -1
  199. cosmotech_api/models/scenario_job_state.py +1 -1
  200. cosmotech_api/models/scenario_last_run.py +1 -1
  201. cosmotech_api/models/scenario_resource_sizing.py +1 -1
  202. cosmotech_api/models/scenario_role.py +1 -1
  203. cosmotech_api/models/scenario_run.py +1 -1
  204. cosmotech_api/models/scenario_run_container.py +1 -1
  205. cosmotech_api/models/scenario_run_container_artifact.py +1 -1
  206. cosmotech_api/models/scenario_run_container_logs.py +1 -1
  207. cosmotech_api/models/scenario_run_logs.py +1 -1
  208. cosmotech_api/models/scenario_run_resource_requested.py +1 -1
  209. cosmotech_api/models/scenario_run_search.py +1 -1
  210. cosmotech_api/models/scenario_run_search_state.py +1 -1
  211. cosmotech_api/models/scenario_run_start_containers.py +1 -1
  212. cosmotech_api/models/scenario_run_state.py +1 -1
  213. cosmotech_api/models/scenario_run_status.py +1 -1
  214. cosmotech_api/models/scenario_run_status_node.py +1 -1
  215. cosmotech_api/models/scenario_run_template_parameter_value.py +1 -1
  216. cosmotech_api/models/scenario_security.py +1 -1
  217. cosmotech_api/models/scenario_validation_status.py +1 -1
  218. cosmotech_api/models/send_run_data_request.py +1 -1
  219. cosmotech_api/models/solution.py +2 -2
  220. cosmotech_api/models/solution_access_control.py +1 -1
  221. cosmotech_api/models/solution_role.py +1 -1
  222. cosmotech_api/models/solution_security.py +1 -1
  223. cosmotech_api/models/source_info.py +1 -1
  224. cosmotech_api/models/sub_dataset_graph_query.py +1 -1
  225. cosmotech_api/models/twin_graph_batch_result.py +1 -1
  226. cosmotech_api/models/twin_graph_hash.py +1 -1
  227. cosmotech_api/models/twin_graph_query.py +1 -1
  228. cosmotech_api/models/twincache_status_enum.py +1 -1
  229. cosmotech_api/models/validator.py +1 -1
  230. cosmotech_api/models/workspace.py +2 -2
  231. cosmotech_api/models/workspace_access_control.py +1 -1
  232. cosmotech_api/models/workspace_file.py +1 -1
  233. cosmotech_api/models/workspace_role.py +1 -1
  234. cosmotech_api/models/workspace_secret.py +7 -5
  235. cosmotech_api/models/workspace_security.py +1 -1
  236. cosmotech_api/models/workspace_solution.py +1 -1
  237. cosmotech_api/models/workspace_web_app.py +1 -1
  238. cosmotech_api/rest.py +1 -1
  239. {cosmotech_api-3.2.6.dist-info → cosmotech_api-3.2.6.dev0.dist-info}/METADATA +1 -1
  240. cosmotech_api-3.2.6.dev0.dist-info/RECORD +262 -0
  241. {cosmotech_api-3.2.6.dist-info → cosmotech_api-3.2.6.dev0.dist-info}/WHEEL +1 -1
  242. cosmotech_api-3.2.6.dist-info/RECORD +0 -260
  243. {cosmotech_api-3.2.6.dist-info → cosmotech_api-3.2.6.dev0.dist-info}/LICENSE +0 -0
  244. {cosmotech_api-3.2.6.dist-info → cosmotech_api-3.2.6.dev0.dist-info}/top_level.txt +0 -0
@@ -3,7 +3,7 @@
3
3
 
4
4
  Cosmo Tech Platform API # noqa: E501
5
5
 
6
- The version of the OpenAPI document: 3.1.9
6
+ The version of the OpenAPI document: 3.1.10
7
7
  Contact: platform@cosmotech.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  """
@@ -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: 4.0.0-onprem.7
9
9
  Contact: platform@cosmotech.com
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -24,7 +24,6 @@ from cosmotech_api.models.workspace import Workspace
24
24
  from cosmotech_api.models.workspace_access_control import WorkspaceAccessControl
25
25
  from cosmotech_api.models.workspace_file import WorkspaceFile
26
26
  from cosmotech_api.models.workspace_role import WorkspaceRole
27
- from cosmotech_api.models.workspace_secret import WorkspaceSecret
28
27
  from cosmotech_api.models.workspace_security import WorkspaceSecurity
29
28
 
30
29
  from cosmotech_api.api_client import ApiClient, RequestSerialized
@@ -347,302 +346,6 @@ class WorkspaceApi:
347
346
 
348
347
 
349
348
 
350
- @validate_call
351
- def create_secret(
352
- self,
353
- organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
354
- workspace_id: Annotated[StrictStr, Field(description="the Workspace identifier")],
355
- workspace_secret: Annotated[WorkspaceSecret, Field(description="the definition of the secret")],
356
- _request_timeout: Union[
357
- None,
358
- Annotated[StrictFloat, Field(gt=0)],
359
- Tuple[
360
- Annotated[StrictFloat, Field(gt=0)],
361
- Annotated[StrictFloat, Field(gt=0)]
362
- ]
363
- ] = None,
364
- _request_auth: Optional[Dict[StrictStr, Any]] = None,
365
- _content_type: Optional[StrictStr] = None,
366
- _headers: Optional[Dict[StrictStr, Any]] = None,
367
- _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
368
- ) -> None:
369
- """Create a secret for the Workspace
370
-
371
-
372
- :param organization_id: the Organization identifier (required)
373
- :type organization_id: str
374
- :param workspace_id: the Workspace identifier (required)
375
- :type workspace_id: str
376
- :param workspace_secret: the definition of the secret (required)
377
- :type workspace_secret: WorkspaceSecret
378
- :param _request_timeout: timeout setting for this request. If one
379
- number provided, it will be total request
380
- timeout. It can also be a pair (tuple) of
381
- (connection, read) timeouts.
382
- :type _request_timeout: int, tuple(int, int), optional
383
- :param _request_auth: set to override the auth_settings for an a single
384
- request; this effectively ignores the
385
- authentication in the spec for a single request.
386
- :type _request_auth: dict, optional
387
- :param _content_type: force content-type for the request.
388
- :type _content_type: str, Optional
389
- :param _headers: set to override the headers for a single
390
- request; this effectively ignores the headers
391
- in the spec for a single request.
392
- :type _headers: dict, optional
393
- :param _host_index: set to override the host_index for a single
394
- request; this effectively ignores the host_index
395
- in the spec for a single request.
396
- :type _host_index: int, optional
397
- :return: Returns the result object.
398
- """ # noqa: E501
399
-
400
- _param = self._create_secret_serialize(
401
- organization_id=organization_id,
402
- workspace_id=workspace_id,
403
- workspace_secret=workspace_secret,
404
- _request_auth=_request_auth,
405
- _content_type=_content_type,
406
- _headers=_headers,
407
- _host_index=_host_index
408
- )
409
-
410
- _response_types_map: Dict[str, Optional[str]] = {
411
- '201': None,
412
- '404': None,
413
- }
414
- response_data = self.api_client.call_api(
415
- *_param,
416
- _request_timeout=_request_timeout
417
- )
418
- response_data.read()
419
- return self.api_client.response_deserialize(
420
- response_data=response_data,
421
- response_types_map=_response_types_map,
422
- ).data
423
-
424
-
425
- @validate_call
426
- def create_secret_with_http_info(
427
- self,
428
- organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
429
- workspace_id: Annotated[StrictStr, Field(description="the Workspace identifier")],
430
- workspace_secret: Annotated[WorkspaceSecret, Field(description="the definition of the secret")],
431
- _request_timeout: Union[
432
- None,
433
- Annotated[StrictFloat, Field(gt=0)],
434
- Tuple[
435
- Annotated[StrictFloat, Field(gt=0)],
436
- Annotated[StrictFloat, Field(gt=0)]
437
- ]
438
- ] = None,
439
- _request_auth: Optional[Dict[StrictStr, Any]] = None,
440
- _content_type: Optional[StrictStr] = None,
441
- _headers: Optional[Dict[StrictStr, Any]] = None,
442
- _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
443
- ) -> ApiResponse[None]:
444
- """Create a secret for the Workspace
445
-
446
-
447
- :param organization_id: the Organization identifier (required)
448
- :type organization_id: str
449
- :param workspace_id: the Workspace identifier (required)
450
- :type workspace_id: str
451
- :param workspace_secret: the definition of the secret (required)
452
- :type workspace_secret: WorkspaceSecret
453
- :param _request_timeout: timeout setting for this request. If one
454
- number provided, it will be total request
455
- timeout. It can also be a pair (tuple) of
456
- (connection, read) timeouts.
457
- :type _request_timeout: int, tuple(int, int), optional
458
- :param _request_auth: set to override the auth_settings for an a single
459
- request; this effectively ignores the
460
- authentication in the spec for a single request.
461
- :type _request_auth: dict, optional
462
- :param _content_type: force content-type for the request.
463
- :type _content_type: str, Optional
464
- :param _headers: set to override the headers for a single
465
- request; this effectively ignores the headers
466
- in the spec for a single request.
467
- :type _headers: dict, optional
468
- :param _host_index: set to override the host_index for a single
469
- request; this effectively ignores the host_index
470
- in the spec for a single request.
471
- :type _host_index: int, optional
472
- :return: Returns the result object.
473
- """ # noqa: E501
474
-
475
- _param = self._create_secret_serialize(
476
- organization_id=organization_id,
477
- workspace_id=workspace_id,
478
- workspace_secret=workspace_secret,
479
- _request_auth=_request_auth,
480
- _content_type=_content_type,
481
- _headers=_headers,
482
- _host_index=_host_index
483
- )
484
-
485
- _response_types_map: Dict[str, Optional[str]] = {
486
- '201': None,
487
- '404': None,
488
- }
489
- response_data = self.api_client.call_api(
490
- *_param,
491
- _request_timeout=_request_timeout
492
- )
493
- response_data.read()
494
- return self.api_client.response_deserialize(
495
- response_data=response_data,
496
- response_types_map=_response_types_map,
497
- )
498
-
499
-
500
- @validate_call
501
- def create_secret_without_preload_content(
502
- self,
503
- organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
504
- workspace_id: Annotated[StrictStr, Field(description="the Workspace identifier")],
505
- workspace_secret: Annotated[WorkspaceSecret, Field(description="the definition of the secret")],
506
- _request_timeout: Union[
507
- None,
508
- Annotated[StrictFloat, Field(gt=0)],
509
- Tuple[
510
- Annotated[StrictFloat, Field(gt=0)],
511
- Annotated[StrictFloat, Field(gt=0)]
512
- ]
513
- ] = None,
514
- _request_auth: Optional[Dict[StrictStr, Any]] = None,
515
- _content_type: Optional[StrictStr] = None,
516
- _headers: Optional[Dict[StrictStr, Any]] = None,
517
- _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
518
- ) -> RESTResponseType:
519
- """Create a secret for the Workspace
520
-
521
-
522
- :param organization_id: the Organization identifier (required)
523
- :type organization_id: str
524
- :param workspace_id: the Workspace identifier (required)
525
- :type workspace_id: str
526
- :param workspace_secret: the definition of the secret (required)
527
- :type workspace_secret: WorkspaceSecret
528
- :param _request_timeout: timeout setting for this request. If one
529
- number provided, it will be total request
530
- timeout. It can also be a pair (tuple) of
531
- (connection, read) timeouts.
532
- :type _request_timeout: int, tuple(int, int), optional
533
- :param _request_auth: set to override the auth_settings for an a single
534
- request; this effectively ignores the
535
- authentication in the spec for a single request.
536
- :type _request_auth: dict, optional
537
- :param _content_type: force content-type for the request.
538
- :type _content_type: str, Optional
539
- :param _headers: set to override the headers for a single
540
- request; this effectively ignores the headers
541
- in the spec for a single request.
542
- :type _headers: dict, optional
543
- :param _host_index: set to override the host_index for a single
544
- request; this effectively ignores the host_index
545
- in the spec for a single request.
546
- :type _host_index: int, optional
547
- :return: Returns the result object.
548
- """ # noqa: E501
549
-
550
- _param = self._create_secret_serialize(
551
- organization_id=organization_id,
552
- workspace_id=workspace_id,
553
- workspace_secret=workspace_secret,
554
- _request_auth=_request_auth,
555
- _content_type=_content_type,
556
- _headers=_headers,
557
- _host_index=_host_index
558
- )
559
-
560
- _response_types_map: Dict[str, Optional[str]] = {
561
- '201': None,
562
- '404': None,
563
- }
564
- response_data = self.api_client.call_api(
565
- *_param,
566
- _request_timeout=_request_timeout
567
- )
568
- return response_data.response
569
-
570
-
571
- def _create_secret_serialize(
572
- self,
573
- organization_id,
574
- workspace_id,
575
- workspace_secret,
576
- _request_auth,
577
- _content_type,
578
- _headers,
579
- _host_index,
580
- ) -> RequestSerialized:
581
-
582
- _host = None
583
-
584
- _collection_formats: Dict[str, str] = {
585
- }
586
-
587
- _path_params: Dict[str, str] = {}
588
- _query_params: List[Tuple[str, str]] = []
589
- _header_params: Dict[str, Optional[str]] = _headers or {}
590
- _form_params: List[Tuple[str, str]] = []
591
- _files: Dict[str, str] = {}
592
- _body_params: Optional[bytes] = None
593
-
594
- # process the path parameters
595
- if organization_id is not None:
596
- _path_params['organization_id'] = organization_id
597
- if workspace_id is not None:
598
- _path_params['workspace_id'] = workspace_id
599
- # process the query parameters
600
- # process the header parameters
601
- # process the form parameters
602
- # process the body parameter
603
- if workspace_secret is not None:
604
- _body_params = workspace_secret
605
-
606
-
607
-
608
- # set the HTTP header `Content-Type`
609
- if _content_type:
610
- _header_params['Content-Type'] = _content_type
611
- else:
612
- _default_content_type = (
613
- self.api_client.select_header_content_type(
614
- [
615
- 'application/json',
616
- 'application/yaml'
617
- ]
618
- )
619
- )
620
- if _default_content_type is not None:
621
- _header_params['Content-Type'] = _default_content_type
622
-
623
- # authentication setting
624
- _auth_settings: List[str] = [
625
- 'oAuth2AuthCode'
626
- ]
627
-
628
- return self.api_client.param_serialize(
629
- method='POST',
630
- resource_path='/organizations/{organization_id}/workspaces/{workspace_id}/secret',
631
- path_params=_path_params,
632
- query_params=_query_params,
633
- header_params=_header_params,
634
- body=_body_params,
635
- post_params=_form_params,
636
- files=_files,
637
- auth_settings=_auth_settings,
638
- collection_formats=_collection_formats,
639
- _host=_host,
640
- _request_auth=_request_auth
641
- )
642
-
643
-
644
-
645
-
646
349
  @validate_call
647
350
  def create_workspace(
648
351
  self,
@@ -1214,7 +917,7 @@ class WorkspaceApi:
1214
917
  _content_type: Optional[StrictStr] = None,
1215
918
  _headers: Optional[Dict[StrictStr, Any]] = None,
1216
919
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1217
- ) -> Workspace:
920
+ ) -> None:
1218
921
  """Delete a workspace
1219
922
 
1220
923
 
@@ -1254,7 +957,7 @@ class WorkspaceApi:
1254
957
  )
1255
958
 
1256
959
  _response_types_map: Dict[str, Optional[str]] = {
1257
- '200': "Workspace",
960
+ '204': None,
1258
961
  '400': None,
1259
962
  '404': None,
1260
963
  }
@@ -1286,7 +989,7 @@ class WorkspaceApi:
1286
989
  _content_type: Optional[StrictStr] = None,
1287
990
  _headers: Optional[Dict[StrictStr, Any]] = None,
1288
991
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1289
- ) -> ApiResponse[Workspace]:
992
+ ) -> ApiResponse[None]:
1290
993
  """Delete a workspace
1291
994
 
1292
995
 
@@ -1326,7 +1029,7 @@ class WorkspaceApi:
1326
1029
  )
1327
1030
 
1328
1031
  _response_types_map: Dict[str, Optional[str]] = {
1329
- '200': "Workspace",
1032
+ '204': None,
1330
1033
  '400': None,
1331
1034
  '404': None,
1332
1035
  }
@@ -1398,7 +1101,7 @@ class WorkspaceApi:
1398
1101
  )
1399
1102
 
1400
1103
  _response_types_map: Dict[str, Optional[str]] = {
1401
- '200': "Workspace",
1104
+ '204': None,
1402
1105
  '400': None,
1403
1106
  '404': None,
1404
1107
  }
@@ -1442,12 +1145,6 @@ class WorkspaceApi:
1442
1145
  # process the body parameter
1443
1146
 
1444
1147
 
1445
- # set the HTTP header `Accept`
1446
- _header_params['Accept'] = self.api_client.select_header_accept(
1447
- [
1448
- 'application/json'
1449
- ]
1450
- )
1451
1148
 
1452
1149
 
1453
1150
  # authentication setting
@@ -2324,7 +2021,7 @@ class WorkspaceApi:
2324
2021
  def find_all_workspaces(
2325
2022
  self,
2326
2023
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
2327
- page: Annotated[Optional[StrictInt], Field(description="page number to query")] = None,
2024
+ page: Annotated[Optional[StrictInt], Field(description="page number to query (first page is at index 0)")] = None,
2328
2025
  size: Annotated[Optional[StrictInt], Field(description="amount of result by page")] = None,
2329
2026
  _request_timeout: Union[
2330
2027
  None,
@@ -2344,7 +2041,7 @@ class WorkspaceApi:
2344
2041
 
2345
2042
  :param organization_id: the Organization identifier (required)
2346
2043
  :type organization_id: str
2347
- :param page: page number to query
2044
+ :param page: page number to query (first page is at index 0)
2348
2045
  :type page: int
2349
2046
  :param size: amount of result by page
2350
2047
  :type size: int
@@ -2398,7 +2095,7 @@ class WorkspaceApi:
2398
2095
  def find_all_workspaces_with_http_info(
2399
2096
  self,
2400
2097
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
2401
- page: Annotated[Optional[StrictInt], Field(description="page number to query")] = None,
2098
+ page: Annotated[Optional[StrictInt], Field(description="page number to query (first page is at index 0)")] = None,
2402
2099
  size: Annotated[Optional[StrictInt], Field(description="amount of result by page")] = None,
2403
2100
  _request_timeout: Union[
2404
2101
  None,
@@ -2418,7 +2115,7 @@ class WorkspaceApi:
2418
2115
 
2419
2116
  :param organization_id: the Organization identifier (required)
2420
2117
  :type organization_id: str
2421
- :param page: page number to query
2118
+ :param page: page number to query (first page is at index 0)
2422
2119
  :type page: int
2423
2120
  :param size: amount of result by page
2424
2121
  :type size: int
@@ -2472,7 +2169,7 @@ class WorkspaceApi:
2472
2169
  def find_all_workspaces_without_preload_content(
2473
2170
  self,
2474
2171
  organization_id: Annotated[StrictStr, Field(description="the Organization identifier")],
2475
- page: Annotated[Optional[StrictInt], Field(description="page number to query")] = None,
2172
+ page: Annotated[Optional[StrictInt], Field(description="page number to query (first page is at index 0)")] = None,
2476
2173
  size: Annotated[Optional[StrictInt], Field(description="amount of result by page")] = None,
2477
2174
  _request_timeout: Union[
2478
2175
  None,
@@ -2492,7 +2189,7 @@ class WorkspaceApi:
2492
2189
 
2493
2190
  :param organization_id: the Organization identifier (required)
2494
2191
  :type organization_id: str
2495
- :param page: page number to query
2192
+ :param page: page number to query (first page is at index 0)
2496
2193
  :type page: int
2497
2194
  :param size: amount of result by page
2498
2195
  :type size: int
@@ -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: 4.0.0-onprem.7
9
9
  Contact: platform@cosmotech.com
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -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: 4.0.0-onprem.7
9
9
  Contact: platform@cosmotech.com
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -71,7 +71,7 @@ class Configuration:
71
71
  ) -> None:
72
72
  """Constructor
73
73
  """
74
- self._base_path = "https://dev.api.cosmotech.com" if host is None else host
74
+ self._base_path = "http://localhost" if host is None else host
75
75
  """Default Base url
76
76
  """
77
77
  self.server_index = 0 if server_index is None and host is None else server_index
@@ -378,7 +378,7 @@ class Configuration:
378
378
  return "Python SDK Debug Report:\n"\
379
379
  "OS: {env}\n"\
380
380
  "Python Version: {pyversion}\n"\
381
- "Version of the API: 3.2.6\n"\
381
+ "Version of the API: 4.0.0-onprem.7\n"\
382
382
  "SDK Package Version: 1.0.0".\
383
383
  format(env=sys.platform, pyversion=sys.version)
384
384
 
@@ -389,16 +389,8 @@ class Configuration:
389
389
  """
390
390
  return [
391
391
  {
392
- 'url': "https://dev.api.cosmotech.com",
393
- 'description': "Development",
394
- },
395
- {
396
- 'url': "https://api.cosmotech.com",
397
- 'description': "Production",
398
- },
399
- {
400
- 'url': "https://staging.api.cosmotech.com",
401
- 'description': "Staging",
392
+ 'url': "",
393
+ 'description': "No description provided",
402
394
  }
403
395
  ]
404
396
 
@@ -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: 4.0.0-onprem.7
9
9
  Contact: platform@cosmotech.com
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -3,7 +3,7 @@
3
3
 
4
4
  Cosmo Tech Platform API # noqa: E501
5
5
 
6
- The version of the OpenAPI document: 3.1.9
6
+ The version of the OpenAPI document: 3.1.10
7
7
  Contact: platform@cosmotech.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  """
@@ -3,7 +3,7 @@
3
3
 
4
4
  Cosmo Tech Platform API # noqa: E501
5
5
 
6
- The version of the OpenAPI document: 3.1.9
6
+ The version of the OpenAPI document: 3.1.10
7
7
  Contact: platform@cosmotech.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  """
@@ -3,7 +3,7 @@
3
3
 
4
4
  Cosmo Tech Platform API # noqa: E501
5
5
 
6
- The version of the OpenAPI document: 3.1.9
6
+ The version of the OpenAPI document: 3.1.10
7
7
  Contact: platform@cosmotech.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  """
@@ -3,7 +3,7 @@
3
3
 
4
4
  Cosmo Tech Platform API # noqa: E501
5
5
 
6
- The version of the OpenAPI document: 3.1.9
6
+ The version of the OpenAPI document: 3.1.10
7
7
  Contact: platform@cosmotech.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  """
@@ -3,7 +3,7 @@
3
3
 
4
4
  Cosmo Tech Platform API # noqa: E501
5
5
 
6
- The version of the OpenAPI document: 3.1.9
6
+ The version of the OpenAPI document: 3.1.10
7
7
  Contact: platform@cosmotech.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  """
@@ -3,7 +3,7 @@
3
3
 
4
4
  Cosmo Tech Platform API # noqa: E501
5
5
 
6
- The version of the OpenAPI document: 3.1.9
6
+ The version of the OpenAPI document: 3.1.10
7
7
  Contact: platform@cosmotech.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  """
@@ -3,7 +3,7 @@
3
3
 
4
4
  Cosmo Tech Platform API # noqa: E501
5
5
 
6
- The version of the OpenAPI document: 3.1.9
6
+ The version of the OpenAPI document: 3.1.10
7
7
  Contact: platform@cosmotech.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  """
@@ -3,7 +3,7 @@
3
3
 
4
4
  Cosmo Tech Platform API # noqa: E501
5
5
 
6
- The version of the OpenAPI document: 3.1.9
6
+ The version of the OpenAPI document: 3.1.10
7
7
  Contact: platform@cosmotech.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  """
@@ -3,7 +3,7 @@
3
3
 
4
4
  Cosmo Tech Platform API # noqa: E501
5
5
 
6
- The version of the OpenAPI document: 3.1.9
6
+ The version of the OpenAPI document: 3.1.10
7
7
  Contact: platform@cosmotech.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  """
@@ -3,7 +3,7 @@
3
3
 
4
4
  Cosmo Tech Platform API # noqa: E501
5
5
 
6
- The version of the OpenAPI document: 3.1.9
6
+ The version of the OpenAPI document: 3.1.10
7
7
  Contact: platform@cosmotech.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  """
@@ -3,7 +3,7 @@
3
3
 
4
4
  Cosmo Tech Platform API # noqa: E501
5
5
 
6
- The version of the OpenAPI document: 3.1.9
6
+ The version of the OpenAPI document: 3.1.10
7
7
  Contact: platform@cosmotech.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  """
@@ -3,7 +3,7 @@
3
3
 
4
4
  Cosmo Tech Platform API # noqa: E501
5
5
 
6
- The version of the OpenAPI document: 3.1.9
6
+ The version of the OpenAPI document: 3.1.10
7
7
  Contact: platform@cosmotech.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  """
@@ -3,7 +3,7 @@
3
3
 
4
4
  Cosmo Tech Platform API # noqa: E501
5
5
 
6
- The version of the OpenAPI document: 3.1.9
6
+ The version of the OpenAPI document: 3.1.10
7
7
  Contact: platform@cosmotech.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  """
@@ -3,7 +3,7 @@
3
3
 
4
4
  Cosmo Tech Platform API # noqa: E501
5
5
 
6
- The version of the OpenAPI document: 3.1.9
6
+ The version of the OpenAPI document: 3.1.10
7
7
  Contact: platform@cosmotech.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  """
@@ -3,7 +3,7 @@
3
3
 
4
4
  Cosmo Tech Platform API # noqa: E501
5
5
 
6
- The version of the OpenAPI document: 3.1.9
6
+ The version of the OpenAPI document: 3.1.10
7
7
  Contact: platform@cosmotech.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  """
@@ -3,7 +3,7 @@
3
3
 
4
4
  Cosmo Tech Platform API # noqa: E501
5
5
 
6
- The version of the OpenAPI document: 3.1.9
6
+ The version of the OpenAPI document: 3.1.10
7
7
  Contact: platform@cosmotech.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  """
@@ -3,7 +3,7 @@
3
3
 
4
4
  Cosmo Tech Platform API # noqa: E501
5
5
 
6
- The version of the OpenAPI document: 3.1.9
6
+ The version of the OpenAPI document: 3.1.10
7
7
  Contact: platform@cosmotech.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  """