@cosmotech/api-ts 4.0.0-dev9 → 5.0.0-beta3

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 (105) hide show
  1. package/.openapi-generator/FILES +95 -0
  2. package/.openapi-generator/VERSION +1 -0
  3. package/.openapi-generator-ignore +23 -0
  4. package/LICENSE +1 -1
  5. package/README.md +206 -2
  6. package/api.ts +4513 -4646
  7. package/base.ts +2 -2
  8. package/common.ts +1 -1
  9. package/configuration.ts +7 -2
  10. package/dist/api.d.ts +3127 -2940
  11. package/dist/api.js +3674 -4398
  12. package/dist/base.d.ts +1 -1
  13. package/dist/base.js +2 -2
  14. package/dist/common.d.ts +2 -2
  15. package/dist/common.js +1 -1
  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/ContainerResourceSizeInfo.md +23 -0
  24. package/docs/ContainerResourceSizing.md +23 -0
  25. package/docs/CreateInfo.md +24 -0
  26. package/docs/CreatedRun.md +21 -0
  27. package/docs/Dataset.md +39 -0
  28. package/docs/DatasetAccessControl.md +23 -0
  29. package/docs/DatasetApi.md +1289 -0
  30. package/docs/DatasetCreateRequest.md +31 -0
  31. package/docs/DatasetPart.md +41 -0
  32. package/docs/DatasetPartCreateRequest.md +29 -0
  33. package/docs/DatasetPartTypeEnum.md +11 -0
  34. package/docs/DatasetPartUpdateRequest.md +23 -0
  35. package/docs/DatasetRole.md +21 -0
  36. package/docs/DatasetSecurity.md +23 -0
  37. package/docs/DatasetUpdateRequest.md +29 -0
  38. package/docs/EditInfo.md +22 -0
  39. package/docs/LastRunInfo.md +23 -0
  40. package/docs/MetaApi.md +51 -0
  41. package/docs/Organization.md +29 -0
  42. package/docs/OrganizationAccessControl.md +23 -0
  43. package/docs/OrganizationApi.md +758 -0
  44. package/docs/OrganizationCreateRequest.md +23 -0
  45. package/docs/OrganizationEditInfo.md +22 -0
  46. package/docs/OrganizationRole.md +21 -0
  47. package/docs/OrganizationSecurity.md +23 -0
  48. package/docs/OrganizationUpdateRequest.md +21 -0
  49. package/docs/QueryResult.md +21 -0
  50. package/docs/ResourceSizeInfo.md +23 -0
  51. package/docs/Run.md +55 -0
  52. package/docs/RunApi.md +442 -0
  53. package/docs/RunContainer.md +41 -0
  54. package/docs/RunData.md +25 -0
  55. package/docs/RunDataQuery.md +21 -0
  56. package/docs/RunEditInfo.md +22 -0
  57. package/docs/RunResourceRequested.md +23 -0
  58. package/docs/RunState.md +17 -0
  59. package/docs/RunStatus.md +49 -0
  60. package/docs/RunStatusNode.md +43 -0
  61. package/docs/RunTemplate.md +37 -0
  62. package/docs/RunTemplateCreateRequest.md +37 -0
  63. package/docs/RunTemplateParameter.md +37 -0
  64. package/docs/RunTemplateParameterCreateRequest.md +37 -0
  65. package/docs/RunTemplateParameterGroup.md +33 -0
  66. package/docs/RunTemplateParameterGroupCreateRequest.md +33 -0
  67. package/docs/RunTemplateParameterGroupUpdateRequest.md +31 -0
  68. package/docs/RunTemplateParameterUpdateRequest.md +35 -0
  69. package/docs/RunTemplateParameterValue.md +25 -0
  70. package/docs/RunTemplateResourceSizing.md +23 -0
  71. package/docs/RunTemplateUpdateRequest.md +35 -0
  72. package/docs/Runner.md +61 -0
  73. package/docs/RunnerAccessControl.md +23 -0
  74. package/docs/RunnerApi.md +908 -0
  75. package/docs/RunnerCreateRequest.md +45 -0
  76. package/docs/RunnerEditInfo.md +22 -0
  77. package/docs/RunnerResourceSizing.md +23 -0
  78. package/docs/RunnerRole.md +21 -0
  79. package/docs/RunnerRunTemplateParameterValue.md +27 -0
  80. package/docs/RunnerSecurity.md +23 -0
  81. package/docs/RunnerUpdateRequest.md +39 -0
  82. package/docs/RunnerValidationStatus.md +15 -0
  83. package/docs/SendRunDataRequest.md +23 -0
  84. package/docs/Solution.md +53 -0
  85. package/docs/SolutionAccessControl.md +23 -0
  86. package/docs/SolutionApi.md +1580 -0
  87. package/docs/SolutionCreateRequest.md +43 -0
  88. package/docs/SolutionEditInfo.md +22 -0
  89. package/docs/SolutionRole.md +21 -0
  90. package/docs/SolutionSecurity.md +23 -0
  91. package/docs/SolutionUpdateRequest.md +41 -0
  92. package/docs/Workspace.md +45 -0
  93. package/docs/WorkspaceAccessControl.md +23 -0
  94. package/docs/WorkspaceApi.md +1044 -0
  95. package/docs/WorkspaceCreateRequest.md +37 -0
  96. package/docs/WorkspaceEditInfo.md +22 -0
  97. package/docs/WorkspaceFile.md +21 -0
  98. package/docs/WorkspaceRole.md +21 -0
  99. package/docs/WorkspaceSecurity.md +23 -0
  100. package/docs/WorkspaceSolution.md +25 -0
  101. package/docs/WorkspaceUpdateRequest.md +33 -0
  102. package/docs/WorkspaceWebApp.md +25 -0
  103. package/index.ts +1 -1
  104. package/package.json +1 -1
  105. package/scripts/git_push.sh +1 -1
@@ -0,0 +1,45 @@
1
+ # RunnerCreateRequest
2
+
3
+ Request object for creating a new runner
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **name** | **string** | the Runner name | [default to undefined]
10
+ **description** | **string** | the Runner description | [optional] [default to undefined]
11
+ **tags** | **Array<string>** | the list of tags | [optional] [default to undefined]
12
+ **solutionId** | **string** | the Solution Id associated with this Runner | [readonly] [default to undefined]
13
+ **parentId** | **string** | the Runner parent id | [optional] [default to undefined]
14
+ **runTemplateId** | **string** | the Solution Run Template Id associated with this Runner | [default to undefined]
15
+ **datasetList** | **Array<string>** | the list of Dataset Id associated to this Runner Run Template | [optional] [default to undefined]
16
+ **runSizing** | [**RunnerResourceSizing**](RunnerResourceSizing.md) | | [optional] [default to undefined]
17
+ **parametersValues** | [**Array<RunnerRunTemplateParameterValue>**](RunnerRunTemplateParameterValue.md) | the list of Solution Run Template parameters values | [optional] [default to undefined]
18
+ **ownerName** | **string** | the name of the owner | [readonly] [default to undefined]
19
+ **solutionName** | **string** | the Solution name | [optional] [readonly] [default to undefined]
20
+ **runTemplateName** | **string** | the Solution Run Template name associated with this Runner | [optional] [readonly] [default to undefined]
21
+ **security** | [**RunnerSecurity**](RunnerSecurity.md) | | [optional] [default to undefined]
22
+
23
+ ## Example
24
+
25
+ ```typescript
26
+ import { RunnerCreateRequest } from '@cosmotech/api-ts';
27
+
28
+ const instance: RunnerCreateRequest = {
29
+ name,
30
+ description,
31
+ tags,
32
+ solutionId,
33
+ parentId,
34
+ runTemplateId,
35
+ datasetList,
36
+ runSizing,
37
+ parametersValues,
38
+ ownerName,
39
+ solutionName,
40
+ runTemplateName,
41
+ security,
42
+ };
43
+ ```
44
+
45
+ [[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
+ # RunnerEditInfo
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 { RunnerEditInfo } from '@cosmotech/api-ts';
15
+
16
+ const instance: RunnerEditInfo = {
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,23 @@
1
+ # RunnerResourceSizing
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 { RunnerResourceSizing } from '@cosmotech/api-ts';
16
+
17
+ const instance: RunnerResourceSizing = {
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,21 @@
1
+ # RunnerRole
2
+
3
+ the Runner Role
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **role** | **string** | the Runner Role | [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { RunnerRole } from '@cosmotech/api-ts';
15
+
16
+ const instance: RunnerRole = {
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,27 @@
1
+ # RunnerRunTemplateParameterValue
2
+
3
+ the value of a Solution Run Template parameter for a Runner
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
+ **isInherited** | **boolean** | whether or not the value is inherited from parent or has been changed | [optional] [default to undefined]
13
+
14
+ ## Example
15
+
16
+ ```typescript
17
+ import { RunnerRunTemplateParameterValue } from '@cosmotech/api-ts';
18
+
19
+ const instance: RunnerRunTemplateParameterValue = {
20
+ parameterId,
21
+ varType,
22
+ value,
23
+ isInherited,
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,23 @@
1
+ # RunnerSecurity
2
+
3
+ the Runner 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<RunnerAccessControl>**](RunnerAccessControl.md) | the list which can access this Runner with detailed access control information | [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { RunnerSecurity } from '@cosmotech/api-ts';
16
+
17
+ const instance: RunnerSecurity = {
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,39 @@
1
+ # RunnerUpdateRequest
2
+
3
+ Request object for updating a runner
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **name** | **string** | the Runner name | [optional] [default to undefined]
10
+ **description** | **string** | the Runner description | [optional] [default to undefined]
11
+ **tags** | **Array<string>** | the list of tags | [optional] [default to undefined]
12
+ **runTemplateId** | **string** | the Solution Run Template Id associated with this Runner | [optional] [default to undefined]
13
+ **datasetList** | **Array<string>** | the list of Dataset Id associated to this Runner Run Template | [optional] [default to undefined]
14
+ **runSizing** | [**RunnerResourceSizing**](RunnerResourceSizing.md) | | [optional] [default to undefined]
15
+ **parametersValues** | [**Array<RunnerRunTemplateParameterValue>**](RunnerRunTemplateParameterValue.md) | the list of Solution Run Template parameters values | [optional] [default to undefined]
16
+ **ownerName** | **string** | the name of the owner | [optional] [default to undefined]
17
+ **solutionName** | **string** | the Solution name | [optional] [readonly] [default to undefined]
18
+ **runTemplateName** | **string** | the Solution Run Template name associated with this Runner | [optional] [readonly] [default to undefined]
19
+
20
+ ## Example
21
+
22
+ ```typescript
23
+ import { RunnerUpdateRequest } from '@cosmotech/api-ts';
24
+
25
+ const instance: RunnerUpdateRequest = {
26
+ name,
27
+ description,
28
+ tags,
29
+ runTemplateId,
30
+ datasetList,
31
+ runSizing,
32
+ parametersValues,
33
+ ownerName,
34
+ solutionName,
35
+ runTemplateName,
36
+ };
37
+ ```
38
+
39
+ [[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
+ # RunnerValidationStatus
2
+
3
+ the validation status of the runner
4
+
5
+ ## Enum
6
+
7
+ * `Draft` (value: `'Draft'`)
8
+
9
+ * `Rejected` (value: `'Rejected'`)
10
+
11
+ * `Unknown` (value: `'Unknown'`)
12
+
13
+ * `Validated` (value: `'Validated'`)
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,23 @@
1
+ # SendRunDataRequest
2
+
3
+ Run Data to send
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **id** | **string** | | [default to undefined]
10
+ **data** | **Array<{ [key: string]: any; }>** | | [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { SendRunDataRequest } from '@cosmotech/api-ts';
16
+
17
+ const instance: SendRunDataRequest = {
18
+ id,
19
+ data,
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,53 @@
1
+ # Solution
2
+
3
+ A version of a Solution
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **id** | **string** | The Solution version unique identifier | [default to undefined]
10
+ **organizationId** | **string** | The Organization unique identifier | [default to undefined]
11
+ **key** | **string** | The Solution key which groups Solution versions | [default to undefined]
12
+ **name** | **string** | The Solution name | [default to undefined]
13
+ **description** | **string** | The Solution description | [optional] [default to undefined]
14
+ **repository** | **string** | The registry repository containing the image | [default to undefined]
15
+ **alwaysPull** | **boolean** | Set to true if the runtemplate wants to always pull the image | [optional] [default to false]
16
+ **version** | **string** | The Solution version MAJOR.MINOR.PATCH. Must be aligned with an existing repository tag | [default to undefined]
17
+ **createInfo** | [**SolutionEditInfo**](SolutionEditInfo.md) | The details of the Solution creation | [default to undefined]
18
+ **updateInfo** | [**SolutionEditInfo**](SolutionEditInfo.md) | The details of the Solution last update | [default to undefined]
19
+ **sdkVersion** | **string** | The full SDK version used to build this solution, if available | [optional] [default to undefined]
20
+ **url** | **string** | An optional URL link to solution page | [optional] [default to undefined]
21
+ **tags** | **Array<string>** | The list of tags | [optional] [default to undefined]
22
+ **parameters** | [**Array<RunTemplateParameter>**](RunTemplateParameter.md) | The list of Run Template Parameters | [default to undefined]
23
+ **parameterGroups** | [**Array<RunTemplateParameterGroup>**](RunTemplateParameterGroup.md) | The list of parameters groups for the Run Templates | [default to undefined]
24
+ **runTemplates** | [**Array<RunTemplate>**](RunTemplate.md) | List of Run Templates | [default to undefined]
25
+ **security** | [**SolutionSecurity**](SolutionSecurity.md) | | [default to undefined]
26
+
27
+ ## Example
28
+
29
+ ```typescript
30
+ import { Solution } from '@cosmotech/api-ts';
31
+
32
+ const instance: Solution = {
33
+ id,
34
+ organizationId,
35
+ key,
36
+ name,
37
+ description,
38
+ repository,
39
+ alwaysPull,
40
+ version,
41
+ createInfo,
42
+ updateInfo,
43
+ sdkVersion,
44
+ url,
45
+ tags,
46
+ parameters,
47
+ parameterGroups,
48
+ runTemplates,
49
+ security,
50
+ };
51
+ ```
52
+
53
+ [[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
+ # SolutionAccessControl
2
+
3
+ A Solution 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** | The assigned role | [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { SolutionAccessControl } from '@cosmotech/api-ts';
16
+
17
+ const instance: SolutionAccessControl = {
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)