@cosmotech/api-ts 5.0.0-rc5 → 5.0.0

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.
package/dist/base.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Cosmo Tech Platform API
3
3
  * Cosmo Tech Platform API
4
4
  *
5
- * The version of the OpenAPI document: 5.0.0-rc5
5
+ * The version of the OpenAPI document: 5.0.0
6
6
  * Contact: platform@cosmotech.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/base.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * Cosmo Tech Platform API
6
6
  * Cosmo Tech Platform API
7
7
  *
8
- * The version of the OpenAPI document: 5.0.0-rc5
8
+ * The version of the OpenAPI document: 5.0.0
9
9
  * Contact: platform@cosmotech.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/common.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Cosmo Tech Platform API
3
3
  * Cosmo Tech Platform API
4
4
  *
5
- * The version of the OpenAPI document: 5.0.0-rc5
5
+ * The version of the OpenAPI document: 5.0.0
6
6
  * Contact: platform@cosmotech.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/common.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * Cosmo Tech Platform API
6
6
  * Cosmo Tech Platform API
7
7
  *
8
- * The version of the OpenAPI document: 5.0.0-rc5
8
+ * The version of the OpenAPI document: 5.0.0
9
9
  * Contact: platform@cosmotech.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Cosmo Tech Platform API
3
3
  * Cosmo Tech Platform API
4
4
  *
5
- * The version of the OpenAPI document: 5.0.0-rc5
5
+ * The version of the OpenAPI document: 5.0.0
6
6
  * Contact: platform@cosmotech.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Cosmo Tech Platform API
5
5
  * Cosmo Tech Platform API
6
6
  *
7
- * The version of the OpenAPI document: 5.0.0-rc5
7
+ * The version of the OpenAPI document: 5.0.0
8
8
  * Contact: platform@cosmotech.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/index.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Cosmo Tech Platform API
3
3
  * Cosmo Tech Platform API
4
4
  *
5
- * The version of the OpenAPI document: 5.0.0-rc5
5
+ * The version of the OpenAPI document: 5.0.0
6
6
  * Contact: platform@cosmotech.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/index.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * Cosmo Tech Platform API
6
6
  * Cosmo Tech Platform API
7
7
  *
8
- * The version of the OpenAPI document: 5.0.0-rc5
8
+ * The version of the OpenAPI document: 5.0.0
9
9
  * Contact: platform@cosmotech.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -29,6 +29,7 @@ All URIs are relative to *http://localhost:8080*
29
29
  # **createDataset**
30
30
  > Dataset createDataset()
31
31
 
32
+ Create a new dataset in the workspace. The dataset is initialized with specified parts (can be empty). The dataset can also be populated through dataset parts.
32
33
 
33
34
  ### Example
34
35
 
@@ -153,6 +154,7 @@ const { status, data } = await apiInstance.createDatasetAccessControl(
153
154
  # **createDatasetPart**
154
155
  > DatasetPart createDatasetPart()
155
156
 
157
+ Create a new data part within a dataset. Specify type as \'File\' for file storage or \'DB\' for database storage. Returns the created part.
156
158
 
157
159
  ### Example
158
160
 
@@ -219,7 +221,7 @@ const { status, data } = await apiInstance.createDatasetPart(
219
221
  # **deleteDataset**
220
222
  > deleteDataset()
221
223
 
222
- Delete a dataset
224
+ Permanently delete a dataset and all its data parts. This operation cannot be undone.
223
225
 
224
226
  ### Example
225
227
 
@@ -278,6 +280,7 @@ void (empty response body)
278
280
  # **deleteDatasetAccessControl**
279
281
  > deleteDatasetAccessControl()
280
282
 
283
+ Remove a user or group\'s access to a dataset. Cannot remove the last administrator - at least one admin must remain.
281
284
 
282
285
  ### Example
283
286
 
@@ -400,6 +403,7 @@ void (empty response body)
400
403
  # **downloadDatasetPart**
401
404
  > File downloadDatasetPart()
402
405
 
406
+ Download the file content from a dataset part. Returns the file as an application/octet-stream.
403
407
 
404
408
  ### Example
405
409
 
@@ -461,7 +465,7 @@ const { status, data } = await apiInstance.downloadDatasetPart(
461
465
  # **getDataset**
462
466
  > Dataset getDataset()
463
467
 
464
- Retrieve a dataset
468
+ Retrieve complete information about a specific dataset including dataset parts.
465
469
 
466
470
  ### Example
467
471
 
@@ -641,6 +645,7 @@ const { status, data } = await apiInstance.getDatasetPart(
641
645
  # **listDatasetParts**
642
646
  > Array<DatasetPart> listDatasetParts()
643
647
 
648
+ Retrieve all data parts associated with a dataset.
644
649
 
645
650
  ### Example
646
651
 
@@ -762,7 +767,7 @@ const { status, data } = await apiInstance.listDatasetSecurityUsers(
762
767
  # **listDatasets**
763
768
  > Array<Dataset> listDatasets()
764
769
 
765
- List all datasets
770
+ Retrieve a paginated list of all datasets in the specified workspace. Supports pagination via \'page\' and \'size\' query parameters. Returns datasets based on user permissions.
766
771
 
767
772
  ### Example
768
773
 
@@ -824,6 +829,7 @@ const { status, data } = await apiInstance.listDatasets(
824
829
  # **queryData**
825
830
  > File queryData()
826
831
 
832
+ Execute a query against a dataset part. Results are returned as plain-text CSV. Only available for parts with type=DB.
827
833
 
828
834
  ### Example
829
835
 
@@ -1118,7 +1124,7 @@ const { status, data } = await apiInstance.searchDatasets(
1118
1124
  # **updateDataset**
1119
1125
  > Dataset updateDataset()
1120
1126
 
1121
- Update a dataset
1127
+ Update dataset information and return the updated dataset.
1122
1128
 
1123
1129
  ### Example
1124
1130
 
package/docs/MetaApi.md CHANGED
@@ -9,6 +9,7 @@ All URIs are relative to *http://localhost:8080*
9
9
  # **about**
10
10
  > AboutInfo about()
11
11
 
12
+ Retrieve API version information and build details.
12
13
 
13
14
  ### Example
14
15
 
@@ -22,6 +22,7 @@ All URIs are relative to *http://localhost:8080*
22
22
  # **createOrganization**
23
23
  > Organization createOrganization(organizationCreateRequest)
24
24
 
25
+ Create a new organization.
25
26
 
26
27
  ### Example
27
28
 
@@ -35,7 +36,7 @@ import {
35
36
  const configuration = new Configuration();
36
37
  const apiInstance = new OrganizationApi(configuration);
37
38
 
38
- let organizationCreateRequest: OrganizationCreateRequest; //The Organization to create
39
+ let organizationCreateRequest: OrganizationCreateRequest; //
39
40
 
40
41
  const { status, data } = await apiInstance.createOrganization(
41
42
  organizationCreateRequest
@@ -46,7 +47,7 @@ const { status, data } = await apiInstance.createOrganization(
46
47
 
47
48
  |Name | Type | Description | Notes|
48
49
  |------------- | ------------- | ------------- | -------------|
49
- | **organizationCreateRequest** | **OrganizationCreateRequest**| The Organization to create | |
50
+ | **organizationCreateRequest** | **OrganizationCreateRequest**| | |
50
51
 
51
52
 
52
53
  ### Return type
@@ -74,6 +75,7 @@ const { status, data } = await apiInstance.createOrganization(
74
75
  # **createOrganizationAccessControl**
75
76
  > OrganizationAccessControl createOrganizationAccessControl(organizationAccessControl)
76
77
 
78
+ Grant access to an organization for a user or group.
77
79
 
78
80
  ### Example
79
81
 
@@ -129,6 +131,7 @@ const { status, data } = await apiInstance.createOrganizationAccessControl(
129
131
  # **deleteOrganization**
130
132
  > deleteOrganization()
131
133
 
134
+ Permanently delete an organization. This operation cannot be undone.
132
135
 
133
136
  ### Example
134
137
 
@@ -234,6 +237,7 @@ void (empty response body)
234
237
  # **getOrganization**
235
238
  > Organization getOrganization()
236
239
 
240
+ Retrieve detailed information about an organization.
237
241
 
238
242
  ### Example
239
243
 
@@ -494,6 +498,7 @@ const { status, data } = await apiInstance.listOrganizationSecurityUsers(
494
498
  # **listOrganizations**
495
499
  > Array<Organization> listOrganizations()
496
500
 
501
+ Retrieve a paginated list of all organizations the authenticated user has permission to view. Use \'page\' and \'size\' query parameters for pagination.
497
502
 
498
503
  ### Example
499
504
 
package/docs/RunApi.md CHANGED
@@ -74,6 +74,7 @@ void (empty response body)
74
74
  # **getRun**
75
75
  > Run getRun()
76
76
 
77
+ Retrieve detailed information about a specific run.
77
78
 
78
79
  ### Example
79
80
 
@@ -134,6 +135,7 @@ const { status, data } = await apiInstance.getRun(
134
135
  # **getRunLogs**
135
136
  > string getRunLogs()
136
137
 
138
+ Retrieve execution logs for a run as plain text. Logs are aggregated from all containers. May be truncated for long-running simulations.
137
139
 
138
140
  ### Example
139
141
 
@@ -193,6 +195,7 @@ const { status, data } = await apiInstance.getRunLogs(
193
195
  # **getRunStatus**
194
196
  > RunStatus getRunStatus()
195
197
 
198
+ Retrieve detailed execution status of a run.
196
199
 
197
200
  ### Example
198
201
 
@@ -252,6 +255,7 @@ const { status, data } = await apiInstance.getRunStatus(
252
255
  # **listRuns**
253
256
  > Array<Run> listRuns()
254
257
 
258
+ Retrieve a paginated list of all runs for a specific runner.
255
259
 
256
260
  ### Example
257
261
 
package/docs/RunnerApi.md CHANGED
@@ -23,6 +23,7 @@ All URIs are relative to *http://localhost:8080*
23
23
  # **createRunner**
24
24
  > Runner createRunner(runnerCreateRequest)
25
25
 
26
+ Create a new runner for executing simulations. Use parentId to create a child runner that inherits configuration from a parent.
26
27
 
27
28
  ### Example
28
29
 
@@ -81,6 +82,7 @@ const { status, data } = await apiInstance.createRunner(
81
82
  # **createRunnerAccessControl**
82
83
  > RunnerAccessControl createRunnerAccessControl(runnerAccessControl)
83
84
 
85
+ Grant access to a runner for a user or group. Valid roles: viewer, editor, validator (can validate runs), admin.
84
86
 
85
87
  ### Example
86
88
 
@@ -142,6 +144,7 @@ const { status, data } = await apiInstance.createRunnerAccessControl(
142
144
  # **deleteRunner**
143
145
  > deleteRunner()
144
146
 
147
+ Delete a runner. Cannot delete while runs are in progress. Note: Child runners that reference this runner are not deleted automatically.
145
148
 
146
149
  ### Example
147
150
 
@@ -259,6 +262,7 @@ void (empty response body)
259
262
  # **getRunner**
260
263
  > Runner getRunner()
261
264
 
265
+ Retrieve detailed information about a runner.
262
266
 
263
267
  ### Example
264
268
 
@@ -549,6 +553,7 @@ const { status, data } = await apiInstance.listRunnerSecurityUsers(
549
553
  # **listRunners**
550
554
  > Array<Runner> listRunners()
551
555
 
556
+ Retrieve a paginated list of all runners in a workspace.
552
557
 
553
558
  ### Example
554
559
 
@@ -608,6 +613,7 @@ const { status, data } = await apiInstance.listRunners(
608
613
  # **startRun**
609
614
  > CreatedRun startRun()
610
615
 
616
+ Start a new simulation run using the runner\'s current configuration. Returns the run Id. The run executes asynchronously - use the run status endpoint to monitor progress
611
617
 
612
618
  ### Example
613
619
 
@@ -665,6 +671,7 @@ const { status, data } = await apiInstance.startRun(
665
671
  # **stopRun**
666
672
  > stopRun()
667
673
 
674
+ Stop the currently executing run for this runner. The stop operation is asynchronous - the run may continue briefly before stopping.
668
675
 
669
676
  ### Example
670
677
 
@@ -35,6 +35,7 @@ All URIs are relative to *http://localhost:8080*
35
35
  # **createSolution**
36
36
  > Solution createSolution(solutionCreateRequest)
37
37
 
38
+ Create a new solution with optional run templates and parameter definitions.
38
39
 
39
40
  ### Example
40
41
 
@@ -90,6 +91,7 @@ const { status, data } = await apiInstance.createSolution(
90
91
  # **createSolutionAccessControl**
91
92
  > SolutionAccessControl createSolutionAccessControl(solutionAccessControl)
92
93
 
94
+ Grant access to a solution for a user or group.
93
95
 
94
96
  ### Example
95
97
 
@@ -664,6 +666,7 @@ const { status, data } = await apiInstance.getRunTemplate(
664
666
  # **getSolution**
665
667
  > Solution getSolution()
666
668
 
669
+ Retrieve detailed information about a solution.
667
670
 
668
671
  ### Example
669
672
 
@@ -1161,6 +1164,7 @@ const { status, data } = await apiInstance.listSolutionSecurityUsers(
1161
1164
  # **listSolutions**
1162
1165
  > Array<Solution> listSolutions()
1163
1166
 
1167
+ Retrieve a paginated list of all solutions in an organization that the user has permission to view.
1164
1168
 
1165
1169
  ### Example
1166
1170
 
@@ -26,6 +26,7 @@ All URIs are relative to *http://localhost:8080*
26
26
  # **createWorkspace**
27
27
  > Workspace createWorkspace(workspaceCreateRequest)
28
28
 
29
+ Create a new workspace.
29
30
 
30
31
  ### Example
31
32
 
@@ -81,6 +82,7 @@ const { status, data } = await apiInstance.createWorkspace(
81
82
  # **createWorkspaceAccessControl**
82
83
  > WorkspaceAccessControl createWorkspaceAccessControl(workspaceAccessControl)
83
84
 
85
+ Grant access to a workspace for a user or group.
84
86
 
85
87
  ### Example
86
88
 
@@ -139,6 +141,7 @@ const { status, data } = await apiInstance.createWorkspaceAccessControl(
139
141
  # **createWorkspaceFile**
140
142
  > WorkspaceFile createWorkspaceFile()
141
143
 
144
+ Upload a file to workspace storage. Use \'destination\' to specify path, \'overwrite\' to replace existing files.
142
145
 
143
146
  ### Example
144
147
 
@@ -202,6 +205,7 @@ const { status, data } = await apiInstance.createWorkspaceFile(
202
205
  # **deleteWorkspace**
203
206
  > deleteWorkspace()
204
207
 
208
+ Permanently delete a workspace.
205
209
 
206
210
  ### Example
207
211
 
@@ -257,6 +261,7 @@ void (empty response body)
257
261
  # **deleteWorkspaceAccessControl**
258
262
  > deleteWorkspaceAccessControl()
259
263
 
264
+ Remove a user\'s access to a workspace. Cannot remove the last administrator.
260
265
 
261
266
  ### Example
262
267
 
@@ -425,6 +430,7 @@ void (empty response body)
425
430
  # **getWorkspace**
426
431
  > Workspace getWorkspace()
427
432
 
433
+ Retrieve detailed information about a workspace.
428
434
 
429
435
  ### Example
430
436
 
@@ -536,6 +542,7 @@ const { status, data } = await apiInstance.getWorkspaceAccessControl(
536
542
  # **getWorkspaceFile**
537
543
  > File getWorkspaceFile()
538
544
 
545
+ Download a specific file from workspace storage. Returns file as binary stream.
539
546
 
540
547
  ### Example
541
548
 
@@ -811,6 +818,7 @@ const { status, data } = await apiInstance.listWorkspaceSecurityUsers(
811
818
  # **listWorkspaces**
812
819
  > Array<Workspace> listWorkspaces()
813
820
 
821
+ Retrieve a paginated list of all workspaces in an organization that the user has permission to view.
814
822
 
815
823
  ### Example
816
824
 
package/index.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Cosmo Tech Platform API
5
5
  * Cosmo Tech Platform API
6
6
  *
7
- * The version of the OpenAPI document: 5.0.0-rc5
7
+ * The version of the OpenAPI document: 5.0.0
8
8
  * Contact: platform@cosmotech.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cosmotech/api-ts",
3
- "version": "5.0.0-rc5",
3
+ "version": "5.0.0",
4
4
  "description": "OpenAPI client for @cosmotech/api-ts",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {