@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,43 @@
1
+ # RunStatusNode
2
+
3
+ status of a Run Node
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **id** | **string** | the node id | [optional] [default to undefined]
10
+ **name** | **string** | the node unique name | [optional] [default to undefined]
11
+ **containerName** | **string** | the Run container name | [optional] [default to undefined]
12
+ **outboundNodes** | **Array<string>** | the list of outbound nodes | [optional] [readonly] [default to undefined]
13
+ **resourcesDuration** | [**RunResourceRequested**](RunResourceRequested.md) | | [optional] [default to undefined]
14
+ **estimatedDuration** | **number** | estimatedDuration in seconds | [optional] [default to undefined]
15
+ **hostNodeName** | **string** | HostNodeName name of the Kubernetes node on which the Pod is running, if applicable | [optional] [default to undefined]
16
+ **message** | **string** | a human readable message indicating details about why the node is in this condition | [optional] [default to undefined]
17
+ **phase** | **string** | high-level summary of where the node is in its lifecycle | [optional] [default to undefined]
18
+ **progress** | **string** | progress to completion | [optional] [default to undefined]
19
+ **startTime** | **string** | the node start time | [optional] [default to undefined]
20
+ **endTime** | **string** | the node end time | [optional] [default to undefined]
21
+
22
+ ## Example
23
+
24
+ ```typescript
25
+ import { RunStatusNode } from '@cosmotech/api-ts';
26
+
27
+ const instance: RunStatusNode = {
28
+ id,
29
+ name,
30
+ containerName,
31
+ outboundNodes,
32
+ resourcesDuration,
33
+ estimatedDuration,
34
+ hostNodeName,
35
+ message,
36
+ phase,
37
+ progress,
38
+ startTime,
39
+ endTime,
40
+ };
41
+ ```
42
+
43
+ [[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,87 @@
1
+ # RunTemplate
2
+
3
+ a Solution Run Template
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **id** | **string** | the Solution Run Template id | [default to undefined]
10
+ **name** | **string** | the Run Template name | [optional] [default to undefined]
11
+ **labels** | **{ [key: string]: string; }** | a translated label with key as ISO 639-1 code | [optional] [default to undefined]
12
+ **description** | **string** | the Run Template description | [optional] [default to undefined]
13
+ **csmSimulation** | **string** | the Cosmo Tech simulation name. This information is send to the Engine. Mandatory information if no Engine is defined | [optional] [default to undefined]
14
+ **tags** | **Array<string>** | the list of Run Template tags | [optional] [default to undefined]
15
+ **computeSize** | **string** | the compute size needed for this Run Template. Standard sizes are basic and highcpu. Default is basic | [optional] [default to undefined]
16
+ **runSizing** | [**RunTemplateResourceSizing**](RunTemplateResourceSizing.md) | | [optional] [default to undefined]
17
+ **noDataIngestionState** | **boolean** | set to true if the run template does not want to check data ingestion state (no probes or not control plane) | [optional] [default to undefined]
18
+ **fetchDatasets** | **boolean** | whether or not the fetch dataset step is done | [optional] [default to undefined]
19
+ **scenarioDataDownloadTransform** | **boolean** | whether or not the scenario data download transform step step is done | [optional] [default to undefined]
20
+ **fetchScenarioParameters** | **boolean** | whether or not the fetch parameters step is done | [optional] [default to undefined]
21
+ **applyParameters** | **boolean** | whether or not the apply parameter step is done | [optional] [default to undefined]
22
+ **validateData** | **boolean** | whether or not the validate step is done | [optional] [default to undefined]
23
+ **sendDatasetsToDataWarehouse** | **boolean** | whether or not the Datasets values are send to the DataWarehouse prior to Simulation Run. If not set follow the Workspace setting | [optional] [default to undefined]
24
+ **sendInputParametersToDataWarehouse** | **boolean** | whether or not the input parameters values are send to the DataWarehouse prior to Simulation Run. If not set follow the Workspace setting | [optional] [default to undefined]
25
+ **preRun** | **boolean** | whether or not the pre-run step is done | [optional] [default to undefined]
26
+ **run** | **boolean** | whether or not the run step is done | [optional] [default to undefined]
27
+ **postRun** | **boolean** | whether or not the post-run step is done | [optional] [default to undefined]
28
+ **parametersJson** | **boolean** | whether or not to store the scenario parameters in json instead of csv | [optional] [default to undefined]
29
+ **parametersHandlerSource** | [**RunTemplateStepSource**](RunTemplateStepSource.md) | | [optional] [default to undefined]
30
+ **datasetValidatorSource** | [**RunTemplateStepSource**](RunTemplateStepSource.md) | | [optional] [default to undefined]
31
+ **preRunSource** | [**RunTemplateStepSource**](RunTemplateStepSource.md) | | [optional] [default to undefined]
32
+ **runSource** | [**RunTemplateStepSource**](RunTemplateStepSource.md) | | [optional] [default to undefined]
33
+ **postRunSource** | [**RunTemplateStepSource**](RunTemplateStepSource.md) | | [optional] [default to undefined]
34
+ **scenariodataTransformSource** | [**RunTemplateStepSource**](RunTemplateStepSource.md) | | [optional] [default to undefined]
35
+ **parameterGroups** | **Array<string>** | the ordered list of parameters groups for the Run Template | [optional] [default to undefined]
36
+ **stackSteps** | **boolean** | whether or not to stack adjacent scenario run steps in one container run which will chain steps | [optional] [default to undefined]
37
+ **gitRepositoryUrl** | **string** | an optional URL to the git repository | [optional] [default to undefined]
38
+ **gitBranchName** | **string** | an optional git branch name | [optional] [default to undefined]
39
+ **runTemplateSourceDir** | **string** | an optional directory where to find the run template source | [optional] [default to undefined]
40
+ **orchestratorType** | [**RunTemplateOrchestrator**](RunTemplateOrchestrator.md) | | [optional] [default to undefined]
41
+ **executionTimeout** | **number** | an optional duration in seconds in which a workflow is allowed to run | [optional] [default to undefined]
42
+ **deleteHistoricalData** | [**DeleteHistoricalData**](DeleteHistoricalData.md) | | [optional] [default to undefined]
43
+
44
+ ## Example
45
+
46
+ ```typescript
47
+ import { RunTemplate } from '@cosmotech/api-ts';
48
+
49
+ const instance: RunTemplate = {
50
+ id,
51
+ name,
52
+ labels,
53
+ description,
54
+ csmSimulation,
55
+ tags,
56
+ computeSize,
57
+ runSizing,
58
+ noDataIngestionState,
59
+ fetchDatasets,
60
+ scenarioDataDownloadTransform,
61
+ fetchScenarioParameters,
62
+ applyParameters,
63
+ validateData,
64
+ sendDatasetsToDataWarehouse,
65
+ sendInputParametersToDataWarehouse,
66
+ preRun,
67
+ run,
68
+ postRun,
69
+ parametersJson,
70
+ parametersHandlerSource,
71
+ datasetValidatorSource,
72
+ preRunSource,
73
+ runSource,
74
+ postRunSource,
75
+ scenariodataTransformSource,
76
+ parameterGroups,
77
+ stackSteps,
78
+ gitRepositoryUrl,
79
+ gitBranchName,
80
+ runTemplateSourceDir,
81
+ orchestratorType,
82
+ executionTimeout,
83
+ deleteHistoricalData,
84
+ };
85
+ ```
86
+
87
+ [[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,37 @@
1
+ # RunTemplateCreateRequest
2
+
3
+ A Solution Run Template Create Request
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **id** | **string** | The Solution Run Template id | [default to undefined]
10
+ **name** | **string** | The Run Template name | [optional] [default to undefined]
11
+ **labels** | **{ [key: string]: string; }** | A translated label with key as ISO 639-1 code | [optional] [default to undefined]
12
+ **description** | **string** | The Run Template description | [optional] [default to undefined]
13
+ **tags** | **Array<string>** | The list of Run Template tags | [optional] [default to undefined]
14
+ **computeSize** | **string** | The compute size needed for this Run Template | [optional] [default to undefined]
15
+ **runSizing** | [**RunTemplateResourceSizing**](RunTemplateResourceSizing.md) | | [optional] [default to undefined]
16
+ **parameterGroups** | **Array<string>** | The ordered list of parameters groups for the Run Template | [optional] [default to undefined]
17
+ **executionTimeout** | **number** | An optional duration in seconds in which a workflow is allowed to run | [optional] [default to undefined]
18
+
19
+ ## Example
20
+
21
+ ```typescript
22
+ import { RunTemplateCreateRequest } from '@cosmotech/api-ts';
23
+
24
+ const instance: RunTemplateCreateRequest = {
25
+ id,
26
+ name,
27
+ labels,
28
+ description,
29
+ tags,
30
+ computeSize,
31
+ runSizing,
32
+ parameterGroups,
33
+ executionTimeout,
34
+ };
35
+ ```
36
+
37
+ [[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,11 @@
1
+ # RunTemplateOrchestrator
2
+
3
+ the Orchestrator to use for the Run Template
4
+
5
+ ## Enum
6
+
7
+ * `ArgoWorkflow` (value: `'argoWorkflow'`)
8
+
9
+ * `CsmOrc` (value: `'csmOrc'`)
10
+
11
+ [[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,35 @@
1
+ # RunTemplateParameter
2
+
3
+ a Run Template Parameter
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **id** | **string** | the Parameter id | [default to undefined]
10
+ **labels** | **{ [key: string]: string; }** | a translated label with key as ISO 639-1 code | [optional] [default to undefined]
11
+ **varType** | **string** | the variable type for the parameter. Basic types or special type %DATASETID% | [optional] [default to undefined]
12
+ **defaultValue** | **string** | the default value for this parameter | [optional] [default to undefined]
13
+ **minValue** | **string** | the minimum value for this parameter | [optional] [default to undefined]
14
+ **maxValue** | **string** | the maximum value for this parameter | [optional] [default to undefined]
15
+ **regexValidation** | **string** | a regex to validate the value | [optional] [default to undefined]
16
+ **_options** | **{ [key: string]: any; }** | freeform options | [optional] [default to undefined]
17
+
18
+ ## Example
19
+
20
+ ```typescript
21
+ import { RunTemplateParameter } from '@cosmotech/api-ts';
22
+
23
+ const instance: RunTemplateParameter = {
24
+ id,
25
+ labels,
26
+ varType,
27
+ defaultValue,
28
+ minValue,
29
+ maxValue,
30
+ regexValidation,
31
+ _options,
32
+ };
33
+ ```
34
+
35
+ [[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,35 @@
1
+ # RunTemplateParameterCreateRequest
2
+
3
+ A Run Template Parameter for creation
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **id** | **string** | The Parameter id | [default to undefined]
10
+ **description** | **string** | The parameter description | [optional] [default to undefined]
11
+ **labels** | **{ [key: string]: string; }** | A translated label with key as ISO 639-1 code | [optional] [default to undefined]
12
+ **varType** | **string** | The variable type for the parameter. Basic types or special type %DATASETID% | [default to undefined]
13
+ **defaultValue** | **string** | The default value for this parameter | [optional] [default to undefined]
14
+ **minValue** | **string** | The minimum value for this parameter | [optional] [default to undefined]
15
+ **maxValue** | **string** | The maximum value for this parameter | [optional] [default to undefined]
16
+ **additionalData** | **{ [key: string]: any; }** | Free form additional data | [optional] [default to undefined]
17
+
18
+ ## Example
19
+
20
+ ```typescript
21
+ import { RunTemplateParameterCreateRequest } from '@cosmotech/api-ts';
22
+
23
+ const instance: RunTemplateParameterCreateRequest = {
24
+ id,
25
+ description,
26
+ labels,
27
+ varType,
28
+ defaultValue,
29
+ minValue,
30
+ maxValue,
31
+ additionalData,
32
+ };
33
+ ```
34
+
35
+ [[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,31 @@
1
+ # RunTemplateParameterGroup
2
+
3
+ a Parameter Group for a Run Template
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **id** | **string** | the Parameter Group id | [default to undefined]
10
+ **labels** | **{ [key: string]: string; }** | a translated label with key as ISO 639-1 code | [optional] [default to undefined]
11
+ **isTable** | **boolean** | does the group define a table | [optional] [default to undefined]
12
+ **_options** | **{ [key: string]: any; }** | freeform options | [optional] [default to undefined]
13
+ **parentId** | **string** | the Run Template Group parent Id | [optional] [default to undefined]
14
+ **parameters** | **Array<string>** | an ordered list of Run Template Parameters | [optional] [default to undefined]
15
+
16
+ ## Example
17
+
18
+ ```typescript
19
+ import { RunTemplateParameterGroup } from '@cosmotech/api-ts';
20
+
21
+ const instance: RunTemplateParameterGroup = {
22
+ id,
23
+ labels,
24
+ isTable,
25
+ _options,
26
+ parentId,
27
+ parameters,
28
+ };
29
+ ```
30
+
31
+ [[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,29 @@
1
+ # RunTemplateParameterGroupCreateRequest
2
+
3
+ A Parameter Group Create Request for a Run Template
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **id** | **string** | The Parameter Group id | [default to undefined]
10
+ **description** | **string** | A description of the parameter group | [optional] [default to undefined]
11
+ **labels** | **{ [key: string]: string; }** | A translated label with key as ISO 639-1 code | [optional] [default to undefined]
12
+ **additionalData** | **{ [key: string]: any; }** | Free form additional data | [optional] [default to undefined]
13
+ **parameters** | **Array<string>** | An ordered list of Run Template Parameters | [optional] [default to undefined]
14
+
15
+ ## Example
16
+
17
+ ```typescript
18
+ import { RunTemplateParameterGroupCreateRequest } from '@cosmotech/api-ts';
19
+
20
+ const instance: RunTemplateParameterGroupCreateRequest = {
21
+ id,
22
+ description,
23
+ labels,
24
+ additionalData,
25
+ parameters,
26
+ };
27
+ ```
28
+
29
+ [[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,27 @@
1
+ # RunTemplateParameterGroupUpdateRequest
2
+
3
+ A Parameter Group Update Request for a Run Template
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **description** | **string** | A description of the parameter group | [optional] [default to undefined]
10
+ **labels** | **{ [key: string]: string; }** | A translated label with key as ISO 639-1 code | [optional] [default to undefined]
11
+ **additionalData** | **{ [key: string]: any; }** | Free form additional data | [optional] [default to undefined]
12
+ **parameters** | **Array<string>** | An ordered list of Run Template Parameters | [optional] [default to undefined]
13
+
14
+ ## Example
15
+
16
+ ```typescript
17
+ import { RunTemplateParameterGroupUpdateRequest } from '@cosmotech/api-ts';
18
+
19
+ const instance: RunTemplateParameterGroupUpdateRequest = {
20
+ description,
21
+ labels,
22
+ additionalData,
23
+ parameters,
24
+ };
25
+ ```
26
+
27
+ [[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,33 @@
1
+ # RunTemplateParameterUpdateRequest
2
+
3
+ A Run Template Parameter for update parameter
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **description** | **string** | The parameter description | [optional] [default to undefined]
10
+ **labels** | **{ [key: string]: string; }** | A translated label with key as ISO 639-1 code | [optional] [default to undefined]
11
+ **varType** | **string** | The variable type for the parameter. Basic types or special type %DATASETID% | [optional] [default to undefined]
12
+ **defaultValue** | **string** | The default value for this parameter | [optional] [default to undefined]
13
+ **minValue** | **string** | The minimum value for this parameter | [optional] [default to undefined]
14
+ **maxValue** | **string** | The maximum value for this parameter | [optional] [default to undefined]
15
+ **additionalData** | **{ [key: string]: any; }** | Free form additional data | [optional] [default to undefined]
16
+
17
+ ## Example
18
+
19
+ ```typescript
20
+ import { RunTemplateParameterUpdateRequest } from '@cosmotech/api-ts';
21
+
22
+ const instance: RunTemplateParameterUpdateRequest = {
23
+ description,
24
+ labels,
25
+ varType,
26
+ defaultValue,
27
+ minValue,
28
+ maxValue,
29
+ additionalData,
30
+ };
31
+ ```
32
+
33
+ [[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
+ # RunTemplateParameterValue
2
+
3
+ the value of Analysis parameter for a Runner for this Run
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **parameterId** | **string** | the parameter Id | [default to undefined]
10
+ **varType** | **string** | the parameter value type | [optional] [readonly] [default to undefined]
11
+ **value** | **string** | the parameter value | [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { RunTemplateParameterValue } from '@cosmotech/api-ts';
17
+
18
+ const instance: RunTemplateParameterValue = {
19
+ parameterId,
20
+ varType,
21
+ value,
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
+ # RunTemplateResourceSizing
2
+
3
+ a description object for resource requests and limits (default same configuration as basic sizing)
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **requests** | [**ResourceSizeInfo**](ResourceSizeInfo.md) | | [default to undefined]
10
+ **limits** | [**ResourceSizeInfo**](ResourceSizeInfo.md) | | [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { RunTemplateResourceSizing } from '@cosmotech/api-ts';
16
+
17
+ const instance: RunTemplateResourceSizing = {
18
+ requests,
19
+ limits,
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,15 @@
1
+ # RunTemplateStepSource
2
+
3
+ the source local, cloud or git repository
4
+
5
+ ## Enum
6
+
7
+ * `Cloud` (value: `'cloud'`)
8
+
9
+ * `Git` (value: `'git'`)
10
+
11
+ * `Local` (value: `'local'`)
12
+
13
+ * `Platform` (value: `'platform'`)
14
+
15
+ [[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,35 @@
1
+ # RunTemplateUpdateRequest
2
+
3
+ A Solution Run Template Create Request
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **name** | **string** | The Run Template name | [optional] [default to undefined]
10
+ **labels** | **{ [key: string]: string; }** | A translated label with key as ISO 639-1 code | [optional] [default to undefined]
11
+ **description** | **string** | The Run Template description | [optional] [default to undefined]
12
+ **tags** | **Array<string>** | The list of Run Template tags | [optional] [default to undefined]
13
+ **computeSize** | **string** | The compute size needed for this Run Template | [optional] [default to undefined]
14
+ **runSizing** | [**RunTemplateResourceSizing**](RunTemplateResourceSizing.md) | | [optional] [default to undefined]
15
+ **parameterGroups** | **Array<string>** | The ordered list of parameters groups for the Run Template | [optional] [default to undefined]
16
+ **executionTimeout** | **number** | An optional duration in seconds in which a workflow is allowed to run | [optional] [default to undefined]
17
+
18
+ ## Example
19
+
20
+ ```typescript
21
+ import { RunTemplateUpdateRequest } from '@cosmotech/api-ts';
22
+
23
+ const instance: RunTemplateUpdateRequest = {
24
+ name,
25
+ labels,
26
+ description,
27
+ tags,
28
+ computeSize,
29
+ runSizing,
30
+ parameterGroups,
31
+ executionTimeout,
32
+ };
33
+ ```
34
+
35
+ [[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/Runner.md ADDED
@@ -0,0 +1,63 @@
1
+ # Runner
2
+
3
+ a Runner with base information
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **id** | **string** | the Runner unique identifier | [optional] [readonly] [default to undefined]
10
+ **name** | **string** | the Runner name | [optional] [default to undefined]
11
+ **description** | **string** | the Runner description | [optional] [default to undefined]
12
+ **tags** | **Array<string>** | the list of tags | [optional] [default to undefined]
13
+ **parentId** | **string** | the Runner parent id | [optional] [default to undefined]
14
+ **ownerId** | **string** | the user id which own this Runner | [optional] [readonly] [default to undefined]
15
+ **rootId** | **string** | the runner root id | [optional] [readonly] [default to undefined]
16
+ **solutionId** | **string** | the Solution Id associated with this Runner | [optional] [readonly] [default to undefined]
17
+ **runTemplateId** | **string** | the Solution Run Template Id associated with this Runner | [optional] [default to undefined]
18
+ **organizationId** | **string** | the associated Organization Id | [optional] [readonly] [default to undefined]
19
+ **workspaceId** | **string** | the associated Workspace Id | [optional] [readonly] [default to undefined]
20
+ **creationDate** | **number** | the Runner creation date | [optional] [readonly] [default to undefined]
21
+ **lastUpdate** | **number** | the last time a Runner was updated | [optional] [readonly] [default to undefined]
22
+ **ownerName** | **string** | the name of the owner | [optional] [readonly] [default to undefined]
23
+ **solutionName** | **string** | the Solution name | [optional] [readonly] [default to undefined]
24
+ **runTemplateName** | **string** | the Solution Run Template name associated with this Runner | [optional] [readonly] [default to undefined]
25
+ **datasetList** | **Array<string>** | the list of Dataset Id associated to this Runner Run Template | [optional] [default to undefined]
26
+ **runSizing** | [**RunnerResourceSizing**](RunnerResourceSizing.md) | | [optional] [default to undefined]
27
+ **parametersValues** | [**Array<RunnerRunTemplateParameterValue>**](RunnerRunTemplateParameterValue.md) | the list of Solution Run Template parameters values | [optional] [default to undefined]
28
+ **lastRunId** | **string** | last run id from current runner | [optional] [default to undefined]
29
+ **validationStatus** | [**RunnerValidationStatus**](RunnerValidationStatus.md) | | [optional] [default to undefined]
30
+ **security** | [**RunnerSecurity**](RunnerSecurity.md) | | [optional] [default to undefined]
31
+
32
+ ## Example
33
+
34
+ ```typescript
35
+ import { Runner } from '@cosmotech/api-ts';
36
+
37
+ const instance: Runner = {
38
+ id,
39
+ name,
40
+ description,
41
+ tags,
42
+ parentId,
43
+ ownerId,
44
+ rootId,
45
+ solutionId,
46
+ runTemplateId,
47
+ organizationId,
48
+ workspaceId,
49
+ creationDate,
50
+ lastUpdate,
51
+ ownerName,
52
+ solutionName,
53
+ runTemplateName,
54
+ datasetList,
55
+ runSizing,
56
+ parametersValues,
57
+ lastRunId,
58
+ validationStatus,
59
+ security,
60
+ };
61
+ ```
62
+
63
+ [[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
+ # RunnerAccessControl
2
+
3
+ a Runner access control item
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **id** | **string** | the identity id | [default to undefined]
10
+ **role** | **string** | a role | [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { RunnerAccessControl } from '@cosmotech/api-ts';
16
+
17
+ const instance: RunnerAccessControl = {
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)