@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.
- package/.openapi-generator/FILES +95 -0
- package/.openapi-generator/VERSION +1 -0
- package/.openapi-generator-ignore +23 -0
- package/LICENSE +1 -1
- package/README.md +206 -2
- package/api.ts +4513 -4646
- package/base.ts +2 -2
- package/common.ts +1 -1
- package/configuration.ts +7 -2
- package/dist/api.d.ts +3127 -2940
- package/dist/api.js +3674 -4398
- package/dist/base.d.ts +1 -1
- package/dist/base.js +2 -2
- package/dist/common.d.ts +2 -2
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +14 -2
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/docs/AboutInfo.md +21 -0
- package/docs/AboutInfoVersion.md +33 -0
- package/docs/ComponentRolePermissions.md +23 -0
- package/docs/ContainerResourceSizeInfo.md +23 -0
- package/docs/ContainerResourceSizing.md +23 -0
- package/docs/CreateInfo.md +24 -0
- package/docs/CreatedRun.md +21 -0
- package/docs/Dataset.md +39 -0
- package/docs/DatasetAccessControl.md +23 -0
- package/docs/DatasetApi.md +1289 -0
- package/docs/DatasetCreateRequest.md +31 -0
- package/docs/DatasetPart.md +41 -0
- package/docs/DatasetPartCreateRequest.md +29 -0
- package/docs/DatasetPartTypeEnum.md +11 -0
- package/docs/DatasetPartUpdateRequest.md +23 -0
- package/docs/DatasetRole.md +21 -0
- package/docs/DatasetSecurity.md +23 -0
- package/docs/DatasetUpdateRequest.md +29 -0
- package/docs/EditInfo.md +22 -0
- package/docs/LastRunInfo.md +23 -0
- package/docs/MetaApi.md +51 -0
- package/docs/Organization.md +29 -0
- package/docs/OrganizationAccessControl.md +23 -0
- package/docs/OrganizationApi.md +758 -0
- package/docs/OrganizationCreateRequest.md +23 -0
- package/docs/OrganizationEditInfo.md +22 -0
- package/docs/OrganizationRole.md +21 -0
- package/docs/OrganizationSecurity.md +23 -0
- package/docs/OrganizationUpdateRequest.md +21 -0
- package/docs/QueryResult.md +21 -0
- package/docs/ResourceSizeInfo.md +23 -0
- package/docs/Run.md +55 -0
- package/docs/RunApi.md +442 -0
- package/docs/RunContainer.md +41 -0
- package/docs/RunData.md +25 -0
- package/docs/RunDataQuery.md +21 -0
- package/docs/RunEditInfo.md +22 -0
- package/docs/RunResourceRequested.md +23 -0
- package/docs/RunState.md +17 -0
- package/docs/RunStatus.md +49 -0
- package/docs/RunStatusNode.md +43 -0
- package/docs/RunTemplate.md +37 -0
- package/docs/RunTemplateCreateRequest.md +37 -0
- package/docs/RunTemplateParameter.md +37 -0
- package/docs/RunTemplateParameterCreateRequest.md +37 -0
- package/docs/RunTemplateParameterGroup.md +33 -0
- package/docs/RunTemplateParameterGroupCreateRequest.md +33 -0
- package/docs/RunTemplateParameterGroupUpdateRequest.md +31 -0
- package/docs/RunTemplateParameterUpdateRequest.md +35 -0
- package/docs/RunTemplateParameterValue.md +25 -0
- package/docs/RunTemplateResourceSizing.md +23 -0
- package/docs/RunTemplateUpdateRequest.md +35 -0
- package/docs/Runner.md +61 -0
- package/docs/RunnerAccessControl.md +23 -0
- package/docs/RunnerApi.md +908 -0
- package/docs/RunnerCreateRequest.md +45 -0
- package/docs/RunnerEditInfo.md +22 -0
- package/docs/RunnerResourceSizing.md +23 -0
- package/docs/RunnerRole.md +21 -0
- package/docs/RunnerRunTemplateParameterValue.md +27 -0
- package/docs/RunnerSecurity.md +23 -0
- package/docs/RunnerUpdateRequest.md +39 -0
- package/docs/RunnerValidationStatus.md +15 -0
- package/docs/SendRunDataRequest.md +23 -0
- package/docs/Solution.md +53 -0
- package/docs/SolutionAccessControl.md +23 -0
- package/docs/SolutionApi.md +1580 -0
- package/docs/SolutionCreateRequest.md +43 -0
- package/docs/SolutionEditInfo.md +22 -0
- package/docs/SolutionRole.md +21 -0
- package/docs/SolutionSecurity.md +23 -0
- package/docs/SolutionUpdateRequest.md +41 -0
- package/docs/Workspace.md +45 -0
- package/docs/WorkspaceAccessControl.md +23 -0
- package/docs/WorkspaceApi.md +1044 -0
- package/docs/WorkspaceCreateRequest.md +37 -0
- package/docs/WorkspaceEditInfo.md +22 -0
- package/docs/WorkspaceFile.md +21 -0
- package/docs/WorkspaceRole.md +21 -0
- package/docs/WorkspaceSecurity.md +23 -0
- package/docs/WorkspaceSolution.md +25 -0
- package/docs/WorkspaceUpdateRequest.md +33 -0
- package/docs/WorkspaceWebApp.md +25 -0
- package/index.ts +1 -1
- package/package.json +1 -1
- 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,23 @@
|
|
|
1
|
+
# DatasetPartUpdateRequest
|
|
2
|
+
|
|
3
|
+
Dataset part update request object
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**description** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**tags** | **Array<string>** | | [optional] [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { DatasetPartUpdateRequest } from '@cosmotech/api-ts';
|
|
16
|
+
|
|
17
|
+
const instance: DatasetPartUpdateRequest = {
|
|
18
|
+
description,
|
|
19
|
+
tags,
|
|
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
|
+
# 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)
|
package/docs/EditInfo.md
ADDED
|
@@ -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)
|
package/docs/MetaApi.md
ADDED
|
@@ -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)
|