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

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 (106) hide show
  1. package/.openapi-generator/FILES +96 -0
  2. package/.openapi-generator/VERSION +1 -0
  3. package/.openapi-generator-ignore +23 -0
  4. package/LICENSE +1 -1
  5. package/README.md +212 -2
  6. package/api.ts +4896 -4560
  7. package/base.ts +2 -2
  8. package/common.ts +1 -1
  9. package/configuration.ts +7 -2
  10. package/dist/api.d.ts +3303 -2892
  11. package/dist/api.js +4182 -4367
  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 +25 -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 +1870 -0
  87. package/docs/SolutionCreateRequest.md +43 -0
  88. package/docs/SolutionEditInfo.md +22 -0
  89. package/docs/SolutionFile.md +21 -0
  90. package/docs/SolutionRole.md +21 -0
  91. package/docs/SolutionSecurity.md +23 -0
  92. package/docs/SolutionUpdateRequest.md +41 -0
  93. package/docs/Workspace.md +45 -0
  94. package/docs/WorkspaceAccessControl.md +23 -0
  95. package/docs/WorkspaceApi.md +1044 -0
  96. package/docs/WorkspaceCreateRequest.md +37 -0
  97. package/docs/WorkspaceEditInfo.md +22 -0
  98. package/docs/WorkspaceFile.md +21 -0
  99. package/docs/WorkspaceRole.md +21 -0
  100. package/docs/WorkspaceSecurity.md +23 -0
  101. package/docs/WorkspaceSolution.md +25 -0
  102. package/docs/WorkspaceUpdateRequest.md +33 -0
  103. package/docs/WorkspaceWebApp.md +25 -0
  104. package/index.ts +1 -1
  105. package/package.json +1 -1
  106. package/scripts/git_push.sh +1 -1
@@ -0,0 +1,43 @@
1
+ # SolutionCreateRequest
2
+
3
+ Request object for creating a new solution
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **key** | **string** | Technical key for resource name convention and version grouping. Must be unique | [default to undefined]
10
+ **name** | **string** | Solution name. This name is displayed in the sample webApp | [default to undefined]
11
+ **description** | **string** | The Solution description | [optional] [default to undefined]
12
+ **repository** | **string** | The registry repository containing the image | [default to undefined]
13
+ **version** | **string** | The Solution version MAJOR.MINOR.PATCH | [default to undefined]
14
+ **alwaysPull** | **boolean** | Set to true if the runtemplate wants to always pull the image | [optional] [default to false]
15
+ **tags** | **Array<string>** | The list of tags | [optional] [default to undefined]
16
+ **parameters** | [**Array<RunTemplateParameterCreateRequest>**](RunTemplateParameterCreateRequest.md) | The list of Run Template Parameters | [optional] [default to undefined]
17
+ **parameterGroups** | [**Array<RunTemplateParameterGroupCreateRequest>**](RunTemplateParameterGroupCreateRequest.md) | The list of parameters groups for the Run Templates | [optional] [default to undefined]
18
+ **runTemplates** | [**Array<RunTemplateCreateRequest>**](RunTemplateCreateRequest.md) | List of Run Templates | [optional] [default to undefined]
19
+ **url** | **string** | An optional URL link to solution page | [optional] [default to undefined]
20
+ **security** | [**SolutionSecurity**](SolutionSecurity.md) | | [optional] [default to undefined]
21
+
22
+ ## Example
23
+
24
+ ```typescript
25
+ import { SolutionCreateRequest } from '@cosmotech/api-ts';
26
+
27
+ const instance: SolutionCreateRequest = {
28
+ key,
29
+ name,
30
+ description,
31
+ repository,
32
+ version,
33
+ alwaysPull,
34
+ tags,
35
+ parameters,
36
+ parameterGroups,
37
+ runTemplates,
38
+ url,
39
+ security,
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,22 @@
1
+ # SolutionEditInfo
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 { SolutionEditInfo } from '@cosmotech/api-ts';
15
+
16
+ const instance: SolutionEditInfo = {
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,21 @@
1
+ # SolutionFile
2
+
3
+ A Solution File resource
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **fileName** | **string** | The Solution File name | [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { SolutionFile } from '@cosmotech/api-ts';
15
+
16
+ const instance: SolutionFile = {
17
+ fileName,
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
+ # SolutionRole
2
+
3
+ The Solution Role
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **role** | **string** | The Solution Role | [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { SolutionRole } from '@cosmotech/api-ts';
15
+
16
+ const instance: SolutionRole = {
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
+ # SolutionSecurity
2
+
3
+ The Solution 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<SolutionAccessControl>**](SolutionAccessControl.md) | The list which can access this Solution with detailed access control information | [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { SolutionSecurity } from '@cosmotech/api-ts';
16
+
17
+ const instance: SolutionSecurity = {
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,41 @@
1
+ # SolutionUpdateRequest
2
+
3
+ Request object for updating a solution
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **key** | **string** | Technical key for resource name convention and version grouping. Must be unique | [optional] [default to undefined]
10
+ **name** | **string** | The Solution name | [optional] [default to undefined]
11
+ **description** | **string** | The Solution description | [optional] [default to undefined]
12
+ **repository** | **string** | The registry repository containing the image | [optional] [default to undefined]
13
+ **alwaysPull** | **boolean** | Set to true if the runtemplate wants to always pull the image | [optional] [default to undefined]
14
+ **version** | **string** | The Solution version MAJOR.MINOR.PATCH. Must be aligned with an existing repository tag | [optional] [default to undefined]
15
+ **url** | **string** | An optional URL link to solution page | [optional] [default to undefined]
16
+ **tags** | **Array<string>** | The list of tags | [optional] [default to undefined]
17
+ **parameters** | [**Array<RunTemplateParameterCreateRequest>**](RunTemplateParameterCreateRequest.md) | The list of Run Template Parameters | [optional] [default to undefined]
18
+ **parameterGroups** | [**Array<RunTemplateParameterGroupCreateRequest>**](RunTemplateParameterGroupCreateRequest.md) | The list of parameters groups for the Run Templates | [optional] [default to undefined]
19
+ **runTemplates** | [**Array<RunTemplateCreateRequest>**](RunTemplateCreateRequest.md) | List of Run Templates | [optional] [default to undefined]
20
+
21
+ ## Example
22
+
23
+ ```typescript
24
+ import { SolutionUpdateRequest } from '@cosmotech/api-ts';
25
+
26
+ const instance: SolutionUpdateRequest = {
27
+ key,
28
+ name,
29
+ description,
30
+ repository,
31
+ alwaysPull,
32
+ version,
33
+ url,
34
+ tags,
35
+ parameters,
36
+ parameterGroups,
37
+ runTemplates,
38
+ };
39
+ ```
40
+
41
+ [[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,45 @@
1
+ # Workspace
2
+
3
+ A Workspace
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **id** | **string** | Workspace unique identifier generated by the API | [readonly] [default to undefined]
10
+ **organizationId** | **string** | Organization unique identifier under which the workspace resides | [readonly] [default to undefined]
11
+ **key** | **string** | Technical key for resource name convention and version grouping. Must be unique | [default to undefined]
12
+ **name** | **string** | Workspace name. This name is display in the sample webApp | [default to undefined]
13
+ **description** | **string** | The Workspace description | [optional] [default to undefined]
14
+ **version** | **string** | The Workspace version MAJOR.MINOR.PATCH. | [optional] [default to undefined]
15
+ **tags** | **Array<string>** | The list of tags | [optional] [default to undefined]
16
+ **createInfo** | [**WorkspaceEditInfo**](WorkspaceEditInfo.md) | The details of the Workspace creation | [default to undefined]
17
+ **updateInfo** | [**WorkspaceEditInfo**](WorkspaceEditInfo.md) | The details of the Workspace last update | [default to undefined]
18
+ **solution** | [**WorkspaceSolution**](WorkspaceSolution.md) | | [default to undefined]
19
+ **webApp** | [**WorkspaceWebApp**](WorkspaceWebApp.md) | | [optional] [default to undefined]
20
+ **datasetCopy** | **boolean** | Activate the copy of dataset on scenario creation, meaning that each scenario created in this workspace will make this copy. when false, scenario use directly the dataset specified. | [optional] [default to true]
21
+ **security** | [**WorkspaceSecurity**](WorkspaceSecurity.md) | | [default to undefined]
22
+
23
+ ## Example
24
+
25
+ ```typescript
26
+ import { Workspace } from '@cosmotech/api-ts';
27
+
28
+ const instance: Workspace = {
29
+ id,
30
+ organizationId,
31
+ key,
32
+ name,
33
+ description,
34
+ version,
35
+ tags,
36
+ createInfo,
37
+ updateInfo,
38
+ solution,
39
+ webApp,
40
+ datasetCopy,
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,23 @@
1
+ # WorkspaceAccessControl
2
+
3
+ A Workspace 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 { WorkspaceAccessControl } from '@cosmotech/api-ts';
16
+
17
+ const instance: WorkspaceAccessControl = {
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)