@cosmotech/api-ts 3.3.4 → 4.2.5-onprem

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 (154) hide show
  1. package/.github/workflows/publish.yaml +13 -12
  2. package/.github/workflows/track_dependencies.yml +31 -0
  3. package/.openapi-generator/FILES +98 -0
  4. package/.openapi-generator/VERSION +1 -1
  5. package/README.md +210 -2
  6. package/api.ts +4650 -11656
  7. package/base.ts +2 -2
  8. package/common.ts +22 -44
  9. package/configuration.ts +7 -2
  10. package/dist/api.d.ts +2165 -6422
  11. package/dist/api.js +726 -7302
  12. package/dist/base.d.ts +1 -1
  13. package/dist/base.js +2 -2
  14. package/dist/common.d.ts +5 -36
  15. package/dist/common.js +17 -39
  16. package/dist/configuration.d.ts +1 -1
  17. package/dist/configuration.js +14 -2
  18. package/dist/index.d.ts +1 -1
  19. package/dist/index.js +1 -1
  20. package/docs/AboutInfo.md +21 -0
  21. package/docs/AboutInfoVersion.md +33 -0
  22. package/docs/ComponentRolePermissions.md +23 -0
  23. package/docs/Connector.md +41 -0
  24. package/docs/ConnectorApi.md +218 -0
  25. package/docs/ConnectorParameter.md +31 -0
  26. package/docs/ConnectorParameterGroup.md +25 -0
  27. package/docs/ContainerResourceSizeInfo.md +23 -0
  28. package/docs/ContainerResourceSizing.md +23 -0
  29. package/docs/CreateInfo.md +24 -0
  30. package/docs/CreatedRun.md +21 -0
  31. package/docs/Dataset.md +65 -0
  32. package/docs/DatasetAccessControl.md +23 -0
  33. package/docs/DatasetApi.md +1809 -0
  34. package/docs/DatasetCompatibility.md +25 -0
  35. package/docs/DatasetConnector.md +27 -0
  36. package/docs/DatasetCopyParameters.md +25 -0
  37. package/docs/DatasetCreateInfo.md +24 -0
  38. package/docs/DatasetCreateRequest.md +31 -0
  39. package/docs/DatasetEditInfo.md +22 -0
  40. package/docs/DatasetMemberGroup.md +25 -0
  41. package/docs/DatasetMemberUser.md +23 -0
  42. package/docs/DatasetMembers.md +23 -0
  43. package/docs/DatasetPart.md +43 -0
  44. package/docs/DatasetPartCreateRequest.md +31 -0
  45. package/docs/DatasetPartTypeEnum.md +11 -0
  46. package/docs/DatasetPartUpdateRequest.md +27 -0
  47. package/docs/DatasetRole.md +21 -0
  48. package/docs/DatasetSearch.md +21 -0
  49. package/docs/DatasetSecurity.md +23 -0
  50. package/docs/DatasetSourceType.md +19 -0
  51. package/docs/DatasetTwinGraphHash.md +21 -0
  52. package/docs/DatasetTwinGraphInfo.md +25 -0
  53. package/docs/DatasetTwinGraphQuery.md +21 -0
  54. package/docs/DatasetUpdateRequest.md +29 -0
  55. package/docs/DeleteHistoricalData.md +25 -0
  56. package/docs/EditInfo.md +22 -0
  57. package/docs/FileUploadMetadata.md +22 -0
  58. package/docs/FileUploadValidation.md +23 -0
  59. package/docs/GraphProperties.md +28 -0
  60. package/docs/IAMInfoApi.md +95 -0
  61. package/docs/IngestionStatusEnum.md +15 -0
  62. package/docs/IoTypesEnum.md +11 -0
  63. package/docs/LastRunInfo.md +23 -0
  64. package/docs/MemberGroup.md +25 -0
  65. package/docs/MemberUser.md +23 -0
  66. package/docs/Members.md +23 -0
  67. package/docs/MetaApi.md +52 -0
  68. package/docs/Organization.md +27 -0
  69. package/docs/OrganizationAccessControl.md +23 -0
  70. package/docs/OrganizationApi.md +758 -0
  71. package/docs/OrganizationCreateRequest.md +23 -0
  72. package/docs/OrganizationEditInfo.md +22 -0
  73. package/docs/OrganizationMemberGroup.md +25 -0
  74. package/docs/OrganizationMemberUser.md +23 -0
  75. package/docs/OrganizationMembers.md +23 -0
  76. package/docs/OrganizationRole.md +21 -0
  77. package/docs/OrganizationSecurity.md +23 -0
  78. package/docs/OrganizationUpdateRequest.md +21 -0
  79. package/docs/QueryResult.md +21 -0
  80. package/docs/ResourceSizeInfo.md +23 -0
  81. package/docs/Run.md +57 -0
  82. package/docs/RunApi.md +442 -0
  83. package/docs/RunContainer.md +41 -0
  84. package/docs/RunData.md +25 -0
  85. package/docs/RunDataQuery.md +21 -0
  86. package/docs/RunEditInfo.md +22 -0
  87. package/docs/RunLogs.md +23 -0
  88. package/docs/RunLogsEntry.md +21 -0
  89. package/docs/RunResourceRequested.md +23 -0
  90. package/docs/RunState.md +15 -0
  91. package/docs/RunStatus.md +47 -0
  92. package/docs/RunStatusNode.md +43 -0
  93. package/docs/RunTemplate.md +87 -0
  94. package/docs/RunTemplateCreateRequest.md +37 -0
  95. package/docs/RunTemplateOrchestrator.md +11 -0
  96. package/docs/RunTemplateParameter.md +35 -0
  97. package/docs/RunTemplateParameterCreateRequest.md +35 -0
  98. package/docs/RunTemplateParameterGroup.md +31 -0
  99. package/docs/RunTemplateParameterGroupCreateRequest.md +29 -0
  100. package/docs/RunTemplateParameterGroupUpdateRequest.md +27 -0
  101. package/docs/RunTemplateParameterUpdateRequest.md +33 -0
  102. package/docs/RunTemplateParameterValue.md +25 -0
  103. package/docs/RunTemplateResourceSizing.md +23 -0
  104. package/docs/RunTemplateStepSource.md +15 -0
  105. package/docs/RunTemplateUpdateRequest.md +35 -0
  106. package/docs/Runner.md +63 -0
  107. package/docs/RunnerAccessControl.md +23 -0
  108. package/docs/RunnerApi.md +908 -0
  109. package/docs/RunnerCreateRequest.md +45 -0
  110. package/docs/RunnerDatasets.md +24 -0
  111. package/docs/RunnerEditInfo.md +22 -0
  112. package/docs/RunnerMemberGroup.md +25 -0
  113. package/docs/RunnerMemberUser.md +23 -0
  114. package/docs/RunnerMembers.md +23 -0
  115. package/docs/RunnerResourceSizing.md +23 -0
  116. package/docs/RunnerRole.md +21 -0
  117. package/docs/RunnerRunTemplateParameterValue.md +27 -0
  118. package/docs/RunnerSecurity.md +23 -0
  119. package/docs/RunnerStatus.md +11 -0
  120. package/docs/RunnerUpdateRequest.md +41 -0
  121. package/docs/RunnerValidationStatus.md +15 -0
  122. package/docs/SendRunDataRequest.md +22 -0
  123. package/docs/Solution.md +53 -0
  124. package/docs/SolutionAccessControl.md +23 -0
  125. package/docs/SolutionApi.md +1159 -0
  126. package/docs/SolutionCreateRequest.md +43 -0
  127. package/docs/SolutionEditInfo.md +22 -0
  128. package/docs/SolutionFile.md +21 -0
  129. package/docs/SolutionMemberGroup.md +25 -0
  130. package/docs/SolutionMemberUser.md +23 -0
  131. package/docs/SolutionMembers.md +23 -0
  132. package/docs/SolutionRole.md +21 -0
  133. package/docs/SolutionSecurity.md +23 -0
  134. package/docs/SolutionUpdateRequest.md +41 -0
  135. package/docs/SourceInfo.md +27 -0
  136. package/docs/SubDatasetGraphQuery.md +27 -0
  137. package/docs/TwinGraphBatchResult.md +25 -0
  138. package/docs/TwincacheStatusEnum.md +11 -0
  139. package/docs/Workspace.md +57 -0
  140. package/docs/WorkspaceAccessControl.md +23 -0
  141. package/docs/WorkspaceApi.md +1162 -0
  142. package/docs/WorkspaceCreateRequest.md +35 -0
  143. package/docs/WorkspaceEditInfo.md +22 -0
  144. package/docs/WorkspaceFile.md +21 -0
  145. package/docs/WorkspaceMemberGroup.md +25 -0
  146. package/docs/WorkspaceMemberUser.md +23 -0
  147. package/docs/WorkspaceMembers.md +23 -0
  148. package/docs/WorkspaceRole.md +21 -0
  149. package/docs/WorkspaceSecurity.md +23 -0
  150. package/docs/WorkspaceSolution.md +25 -0
  151. package/docs/WorkspaceUpdateRequest.md +31 -0
  152. package/docs/WorkspaceWebApp.md +25 -0
  153. package/index.ts +1 -1
  154. package/package.json +2 -2
@@ -0,0 +1,23 @@
1
+ # OrganizationCreateRequest
2
+
3
+ Request object for creating a new organization
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **name** | **string** | The Organization name | [default to undefined]
10
+ **security** | [**OrganizationSecurity**](OrganizationSecurity.md) | | [optional] [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { OrganizationCreateRequest } from '@cosmotech/api-ts';
16
+
17
+ const instance: OrganizationCreateRequest = {
18
+ name,
19
+ security,
20
+ };
21
+ ```
22
+
23
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,22 @@
1
+ # OrganizationEditInfo
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **timestamp** | **number** | The timestamp of the modification in millisecond | [default to undefined]
9
+ **userId** | **string** | The id of the user who did the modification | [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { OrganizationEditInfo } from '@cosmotech/api-ts';
15
+
16
+ const instance: OrganizationEditInfo = {
17
+ timestamp,
18
+ userId,
19
+ };
20
+ ```
21
+
22
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,25 @@
1
+ # OrganizationMemberGroup
2
+
3
+ A group member of the organization
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **id** | **string** | The group id | [default to undefined]
10
+ **role** | **string** | The user role in the organization | [default to undefined]
11
+ **users** | **Array<string>** | The list of users in the group | [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { OrganizationMemberGroup } from '@cosmotech/api-ts';
17
+
18
+ const instance: OrganizationMemberGroup = {
19
+ id,
20
+ role,
21
+ users,
22
+ };
23
+ ```
24
+
25
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,23 @@
1
+ # OrganizationMemberUser
2
+
3
+ A user member of the organization
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **id** | **string** | The user id | [default to undefined]
10
+ **role** | **string** | The user role in the organization | [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { OrganizationMemberUser } from '@cosmotech/api-ts';
16
+
17
+ const instance: OrganizationMemberUser = {
18
+ id,
19
+ role,
20
+ };
21
+ ```
22
+
23
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,23 @@
1
+ # OrganizationMembers
2
+
3
+ The Organization members, including users and groups
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **users** | [**Array<OrganizationMemberUser>**](OrganizationMemberUser.md) | The list of users in the organization | [default to undefined]
10
+ **groups** | [**Array<OrganizationMemberGroup>**](OrganizationMemberGroup.md) | The list of groups in the organization | [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { OrganizationMembers } from '@cosmotech/api-ts';
16
+
17
+ const instance: OrganizationMembers = {
18
+ users,
19
+ groups,
20
+ };
21
+ ```
22
+
23
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,21 @@
1
+ # OrganizationRole
2
+
3
+ the Organization Role
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **role** | **string** | the Organization Role | [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { OrganizationRole } from '@cosmotech/api-ts';
15
+
16
+ const instance: OrganizationRole = {
17
+ role,
18
+ };
19
+ ```
20
+
21
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,23 @@
1
+ # OrganizationSecurity
2
+
3
+ the Organization security information
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **_default** | **string** | the role by default | [default to undefined]
10
+ **accessControlList** | [**Array<OrganizationAccessControl>**](OrganizationAccessControl.md) | the list which can access this Organization with detailed access control information | [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { OrganizationSecurity } from '@cosmotech/api-ts';
16
+
17
+ const instance: OrganizationSecurity = {
18
+ _default,
19
+ accessControlList,
20
+ };
21
+ ```
22
+
23
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,21 @@
1
+ # OrganizationUpdateRequest
2
+
3
+ Request object for updating an organization
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **name** | **string** | The Organization name | [optional] [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { OrganizationUpdateRequest } from '@cosmotech/api-ts';
15
+
16
+ const instance: OrganizationUpdateRequest = {
17
+ name,
18
+ };
19
+ ```
20
+
21
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,21 @@
1
+ # QueryResult
2
+
3
+ the result of a SQL Query
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **result** | **Array<{ [key: string]: any; }>** | the list of results | [optional] [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { QueryResult } from '@cosmotech/api-ts';
15
+
16
+ const instance: QueryResult = {
17
+ result,
18
+ };
19
+ ```
20
+
21
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,23 @@
1
+ # ResourceSizeInfo
2
+
3
+ define cpus and memory needs
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **cpu** | **string** | define cpu needs | [default to undefined]
10
+ **memory** | **string** | define memory needs | [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { ResourceSizeInfo } from '@cosmotech/api-ts';
16
+
17
+ const instance: ResourceSizeInfo = {
18
+ cpu,
19
+ memory,
20
+ };
21
+ ```
22
+
23
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
package/docs/Run.md ADDED
@@ -0,0 +1,57 @@
1
+ # Run
2
+
3
+ a Run with only base properties
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **id** | **string** | the Run | [optional] [readonly] [default to undefined]
10
+ **state** | [**RunState**](RunState.md) | | [optional] [default to undefined]
11
+ **organizationId** | **string** | the Organization id | [optional] [default to undefined]
12
+ **workflowId** | **string** | the Cosmo Tech compute cluster Argo Workflow Id to search | [optional] [default to undefined]
13
+ **csmSimulationRun** | **string** | the Cosmo Tech Simulation Run Id | [optional] [readonly] [default to undefined]
14
+ **generateName** | **string** | the base name for workflow name generation | [optional] [default to undefined]
15
+ **workflowName** | **string** | the Cosmo Tech compute cluster Argo Workflow Name | [optional] [default to undefined]
16
+ **ownerId** | **string** | the user id which own this run | [optional] [readonly] [default to undefined]
17
+ **workspaceId** | **string** | the Workspace Id | [optional] [readonly] [default to undefined]
18
+ **workspaceKey** | **string** | technical key for resource name convention and version grouping. Must be unique | [optional] [readonly] [default to undefined]
19
+ **runnerId** | **string** | the Runner Id | [optional] [readonly] [default to undefined]
20
+ **solutionId** | **string** | the Solution Id | [optional] [readonly] [default to undefined]
21
+ **runTemplateId** | **string** | the Solution Run Template id | [optional] [readonly] [default to undefined]
22
+ **computeSize** | **string** | the compute size needed for this Analysis. Standard sizes are basic and highcpu. Default is basic | [optional] [readonly] [default to undefined]
23
+ **createdAt** | **string** | the Run creation date | [optional] [readonly] [default to undefined]
24
+ **datasetList** | **Array<string>** | the list of Dataset Id associated to this Run | [optional] [readonly] [default to undefined]
25
+ **parametersValues** | [**Array<RunTemplateParameterValue>**](RunTemplateParameterValue.md) | the list of Run Template parameters values | [optional] [readonly] [default to undefined]
26
+ **nodeLabel** | **string** | the node label request | [optional] [readonly] [default to undefined]
27
+ **containers** | [**Array<RunContainer>**](RunContainer.md) | the containers list. This information is not returned by the API. | [optional] [default to undefined]
28
+
29
+ ## Example
30
+
31
+ ```typescript
32
+ import { Run } from '@cosmotech/api-ts';
33
+
34
+ const instance: Run = {
35
+ id,
36
+ state,
37
+ organizationId,
38
+ workflowId,
39
+ csmSimulationRun,
40
+ generateName,
41
+ workflowName,
42
+ ownerId,
43
+ workspaceId,
44
+ workspaceKey,
45
+ runnerId,
46
+ solutionId,
47
+ runTemplateId,
48
+ computeSize,
49
+ createdAt,
50
+ datasetList,
51
+ parametersValues,
52
+ nodeLabel,
53
+ containers,
54
+ };
55
+ ```
56
+
57
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)