@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,31 @@
1
+ # DatasetCreateRequest
2
+
3
+ Dataset creation request
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **name** | **string** | | [default to undefined]
10
+ **description** | **string** | | [optional] [default to undefined]
11
+ **tags** | **Array<string>** | | [optional] [default to undefined]
12
+ **parts** | [**Array<DatasetPartCreateRequest>**](DatasetPartCreateRequest.md) | | [optional] [default to undefined]
13
+ **security** | [**DatasetSecurity**](DatasetSecurity.md) | | [optional] [default to undefined]
14
+ **runnerId** | **string** | | [optional] [default to undefined]
15
+
16
+ ## Example
17
+
18
+ ```typescript
19
+ import { DatasetCreateRequest } from '@cosmotech/api-ts';
20
+
21
+ const instance: DatasetCreateRequest = {
22
+ name,
23
+ description,
24
+ tags,
25
+ parts,
26
+ security,
27
+ runnerId,
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,41 @@
1
+ # DatasetPart
2
+
3
+ Dataset part object
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **id** | **string** | | [default to undefined]
10
+ **name** | **string** | | [default to undefined]
11
+ **sourceName** | **string** | the source data name (e.g. filename associated to the dataset part) | [default to undefined]
12
+ **description** | **string** | | [optional] [default to undefined]
13
+ **tags** | **Array<string>** | | [default to undefined]
14
+ **type** | [**DatasetPartTypeEnum**](DatasetPartTypeEnum.md) | | [default to undefined]
15
+ **organizationId** | **string** | the associated Organization Id | [readonly] [default to undefined]
16
+ **workspaceId** | **string** | the associated Workspace Id | [readonly] [default to undefined]
17
+ **datasetId** | **string** | the associated Dataset Id | [readonly] [default to undefined]
18
+ **createInfo** | [**EditInfo**](EditInfo.md) | The details of the Dataset creation | [default to undefined]
19
+ **updateInfo** | [**EditInfo**](EditInfo.md) | The details of the Dataset last update | [default to undefined]
20
+
21
+ ## Example
22
+
23
+ ```typescript
24
+ import { DatasetPart } from '@cosmotech/api-ts';
25
+
26
+ const instance: DatasetPart = {
27
+ id,
28
+ name,
29
+ sourceName,
30
+ description,
31
+ tags,
32
+ type,
33
+ organizationId,
34
+ workspaceId,
35
+ datasetId,
36
+ createInfo,
37
+ updateInfo,
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,29 @@
1
+ # DatasetPartCreateRequest
2
+
3
+ Dataset part create request object
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **name** | **string** | | [default to undefined]
10
+ **sourceName** | **string** | the source data name (e.g. filename associated to the dataset part) | [default to undefined]
11
+ **description** | **string** | | [optional] [default to undefined]
12
+ **tags** | **Array<string>** | | [optional] [default to undefined]
13
+ **type** | [**DatasetPartTypeEnum**](DatasetPartTypeEnum.md) | | [optional] [default to undefined]
14
+
15
+ ## Example
16
+
17
+ ```typescript
18
+ import { DatasetPartCreateRequest } from '@cosmotech/api-ts';
19
+
20
+ const instance: DatasetPartCreateRequest = {
21
+ name,
22
+ sourceName,
23
+ description,
24
+ tags,
25
+ type,
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,11 @@
1
+ # DatasetPartTypeEnum
2
+
3
+ The dataset part Type
4
+
5
+ ## Enum
6
+
7
+ * `File` (value: `'File'`)
8
+
9
+ * `Relational` (value: `'Relational'`)
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,25 @@
1
+ # DatasetPartUpdateRequest
2
+
3
+ Dataset part update request object
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **sourceName** | **string** | the source data name (e.g. filename associated to the dataset part) | [optional] [default to undefined]
10
+ **description** | **string** | | [optional] [default to undefined]
11
+ **tags** | **Array<string>** | | [optional] [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { DatasetPartUpdateRequest } from '@cosmotech/api-ts';
17
+
18
+ const instance: DatasetPartUpdateRequest = {
19
+ sourceName,
20
+ description,
21
+ tags,
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,21 @@
1
+ # DatasetRole
2
+
3
+ the Dataset Role
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **role** | **string** | the Dataset Role | [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { DatasetRole } from '@cosmotech/api-ts';
15
+
16
+ const instance: DatasetRole = {
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
+ # DatasetSecurity
2
+
3
+ the dataset 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<DatasetAccessControl>**](DatasetAccessControl.md) | the list which can access this Dataset with detailed access control information | [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { DatasetSecurity } from '@cosmotech/api-ts';
16
+
17
+ const instance: DatasetSecurity = {
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,29 @@
1
+ # DatasetUpdateRequest
2
+
3
+ Dataset creation request
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **name** | **string** | | [optional] [default to undefined]
10
+ **description** | **string** | | [optional] [default to undefined]
11
+ **tags** | **Array<string>** | | [optional] [default to undefined]
12
+ **parts** | [**Array<DatasetPartCreateRequest>**](DatasetPartCreateRequest.md) | | [optional] [default to undefined]
13
+ **security** | [**DatasetSecurity**](DatasetSecurity.md) | | [optional] [default to undefined]
14
+
15
+ ## Example
16
+
17
+ ```typescript
18
+ import { DatasetUpdateRequest } from '@cosmotech/api-ts';
19
+
20
+ const instance: DatasetUpdateRequest = {
21
+ name,
22
+ description,
23
+ tags,
24
+ parts,
25
+ security,
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,22 @@
1
+ # EditInfo
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 { EditInfo } from '@cosmotech/api-ts';
15
+
16
+ const instance: EditInfo = {
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
+ # LastRunInfo
2
+
3
+ last run info from current runner
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **lastRunId** | **string** | last run id from current runner | [optional] [default to undefined]
10
+ **lastRunStatus** | **string** | last run status from current runner | [optional] [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { LastRunInfo } from '@cosmotech/api-ts';
16
+
17
+ const instance: LastRunInfo = {
18
+ lastRunId,
19
+ lastRunStatus,
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,51 @@
1
+ # MetaApi
2
+
3
+ All URIs are relative to *http://localhost:8080*
4
+
5
+ |Method | HTTP request | Description|
6
+ |------------- | ------------- | -------------|
7
+ |[**about**](#about) | **GET** /about | Get various information about the API|
8
+
9
+ # **about**
10
+ > AboutInfo about()
11
+
12
+
13
+ ### Example
14
+
15
+ ```typescript
16
+ import {
17
+ MetaApi,
18
+ Configuration
19
+ } from '@cosmotech/api-ts';
20
+
21
+ const configuration = new Configuration();
22
+ const apiInstance = new MetaApi(configuration);
23
+
24
+ const { status, data } = await apiInstance.about();
25
+ ```
26
+
27
+ ### Parameters
28
+ This endpoint does not have any parameters.
29
+
30
+
31
+ ### Return type
32
+
33
+ **AboutInfo**
34
+
35
+ ### Authorization
36
+
37
+ [oAuth2AuthCode](../README.md#oAuth2AuthCode)
38
+
39
+ ### HTTP request headers
40
+
41
+ - **Content-Type**: Not defined
42
+ - **Accept**: application/json, application/yaml
43
+
44
+
45
+ ### HTTP response details
46
+ | Status code | Description | Response headers |
47
+ |-------------|-------------|------------------|
48
+ |**200** | API information details | - |
49
+
50
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
51
+
@@ -0,0 +1,29 @@
1
+ # Organization
2
+
3
+ An Organization
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **id** | **string** | The Organization unique identifier | [readonly] [default to undefined]
10
+ **name** | **string** | The Organization name | [default to undefined]
11
+ **createInfo** | [**OrganizationEditInfo**](OrganizationEditInfo.md) | The details of the Organization creation | [default to undefined]
12
+ **updateInfo** | [**OrganizationEditInfo**](OrganizationEditInfo.md) | The details of the Organization last update | [default to undefined]
13
+ **security** | [**OrganizationSecurity**](OrganizationSecurity.md) | | [default to undefined]
14
+
15
+ ## Example
16
+
17
+ ```typescript
18
+ import { Organization } from '@cosmotech/api-ts';
19
+
20
+ const instance: Organization = {
21
+ id,
22
+ name,
23
+ createInfo,
24
+ updateInfo,
25
+ security,
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,23 @@
1
+ # OrganizationAccessControl
2
+
3
+ Response object for organization access control
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 { OrganizationAccessControl } from '@cosmotech/api-ts';
16
+
17
+ const instance: OrganizationAccessControl = {
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)