@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.
- package/.github/workflows/publish.yaml +13 -12
- package/.github/workflows/track_dependencies.yml +31 -0
- package/.openapi-generator/FILES +98 -0
- package/.openapi-generator/VERSION +1 -1
- package/README.md +210 -2
- package/api.ts +4650 -11656
- package/base.ts +2 -2
- package/common.ts +22 -44
- package/configuration.ts +7 -2
- package/dist/api.d.ts +2165 -6422
- package/dist/api.js +726 -7302
- package/dist/base.d.ts +1 -1
- package/dist/base.js +2 -2
- package/dist/common.d.ts +5 -36
- package/dist/common.js +17 -39
- 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/Connector.md +41 -0
- package/docs/ConnectorApi.md +218 -0
- package/docs/ConnectorParameter.md +31 -0
- package/docs/ConnectorParameterGroup.md +25 -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 +65 -0
- package/docs/DatasetAccessControl.md +23 -0
- package/docs/DatasetApi.md +1809 -0
- package/docs/DatasetCompatibility.md +25 -0
- package/docs/DatasetConnector.md +27 -0
- package/docs/DatasetCopyParameters.md +25 -0
- package/docs/DatasetCreateInfo.md +24 -0
- package/docs/DatasetCreateRequest.md +31 -0
- package/docs/DatasetEditInfo.md +22 -0
- package/docs/DatasetMemberGroup.md +25 -0
- package/docs/DatasetMemberUser.md +23 -0
- package/docs/DatasetMembers.md +23 -0
- package/docs/DatasetPart.md +43 -0
- package/docs/DatasetPartCreateRequest.md +31 -0
- package/docs/DatasetPartTypeEnum.md +11 -0
- package/docs/DatasetPartUpdateRequest.md +27 -0
- package/docs/DatasetRole.md +21 -0
- package/docs/DatasetSearch.md +21 -0
- package/docs/DatasetSecurity.md +23 -0
- package/docs/DatasetSourceType.md +19 -0
- package/docs/DatasetTwinGraphHash.md +21 -0
- package/docs/DatasetTwinGraphInfo.md +25 -0
- package/docs/DatasetTwinGraphQuery.md +21 -0
- package/docs/DatasetUpdateRequest.md +29 -0
- package/docs/DeleteHistoricalData.md +25 -0
- package/docs/EditInfo.md +22 -0
- package/docs/FileUploadMetadata.md +22 -0
- package/docs/FileUploadValidation.md +23 -0
- package/docs/GraphProperties.md +28 -0
- package/docs/IAMInfoApi.md +95 -0
- package/docs/IngestionStatusEnum.md +15 -0
- package/docs/IoTypesEnum.md +11 -0
- package/docs/LastRunInfo.md +23 -0
- package/docs/MemberGroup.md +25 -0
- package/docs/MemberUser.md +23 -0
- package/docs/Members.md +23 -0
- package/docs/MetaApi.md +52 -0
- package/docs/Organization.md +27 -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/OrganizationMemberGroup.md +25 -0
- package/docs/OrganizationMemberUser.md +23 -0
- package/docs/OrganizationMembers.md +23 -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 +57 -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/RunLogs.md +23 -0
- package/docs/RunLogsEntry.md +21 -0
- package/docs/RunResourceRequested.md +23 -0
- package/docs/RunState.md +15 -0
- package/docs/RunStatus.md +47 -0
- package/docs/RunStatusNode.md +43 -0
- package/docs/RunTemplate.md +87 -0
- package/docs/RunTemplateCreateRequest.md +37 -0
- package/docs/RunTemplateOrchestrator.md +11 -0
- package/docs/RunTemplateParameter.md +35 -0
- package/docs/RunTemplateParameterCreateRequest.md +35 -0
- package/docs/RunTemplateParameterGroup.md +31 -0
- package/docs/RunTemplateParameterGroupCreateRequest.md +29 -0
- package/docs/RunTemplateParameterGroupUpdateRequest.md +27 -0
- package/docs/RunTemplateParameterUpdateRequest.md +33 -0
- package/docs/RunTemplateParameterValue.md +25 -0
- package/docs/RunTemplateResourceSizing.md +23 -0
- package/docs/RunTemplateStepSource.md +15 -0
- package/docs/RunTemplateUpdateRequest.md +35 -0
- package/docs/Runner.md +63 -0
- package/docs/RunnerAccessControl.md +23 -0
- package/docs/RunnerApi.md +908 -0
- package/docs/RunnerCreateRequest.md +45 -0
- package/docs/RunnerDatasets.md +24 -0
- package/docs/RunnerEditInfo.md +22 -0
- package/docs/RunnerMemberGroup.md +25 -0
- package/docs/RunnerMemberUser.md +23 -0
- package/docs/RunnerMembers.md +23 -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/RunnerStatus.md +11 -0
- package/docs/RunnerUpdateRequest.md +41 -0
- package/docs/RunnerValidationStatus.md +15 -0
- package/docs/SendRunDataRequest.md +22 -0
- package/docs/Solution.md +53 -0
- package/docs/SolutionAccessControl.md +23 -0
- package/docs/SolutionApi.md +1159 -0
- package/docs/SolutionCreateRequest.md +43 -0
- package/docs/SolutionEditInfo.md +22 -0
- package/docs/SolutionFile.md +21 -0
- package/docs/SolutionMemberGroup.md +25 -0
- package/docs/SolutionMemberUser.md +23 -0
- package/docs/SolutionMembers.md +23 -0
- package/docs/SolutionRole.md +21 -0
- package/docs/SolutionSecurity.md +23 -0
- package/docs/SolutionUpdateRequest.md +41 -0
- package/docs/SourceInfo.md +27 -0
- package/docs/SubDatasetGraphQuery.md +27 -0
- package/docs/TwinGraphBatchResult.md +25 -0
- package/docs/TwincacheStatusEnum.md +11 -0
- package/docs/Workspace.md +57 -0
- package/docs/WorkspaceAccessControl.md +23 -0
- package/docs/WorkspaceApi.md +1162 -0
- package/docs/WorkspaceCreateRequest.md +35 -0
- package/docs/WorkspaceEditInfo.md +22 -0
- package/docs/WorkspaceFile.md +21 -0
- package/docs/WorkspaceMemberGroup.md +25 -0
- package/docs/WorkspaceMemberUser.md +23 -0
- package/docs/WorkspaceMembers.md +23 -0
- package/docs/WorkspaceRole.md +21 -0
- package/docs/WorkspaceSecurity.md +23 -0
- package/docs/WorkspaceSolution.md +25 -0
- package/docs/WorkspaceUpdateRequest.md +31 -0
- package/docs/WorkspaceWebApp.md +25 -0
- package/index.ts +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
# IAMInfoApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *http://localhost:8080*
|
|
4
|
+
|
|
5
|
+
|Method | HTTP request | Description|
|
|
6
|
+
|------------- | ------------- | -------------|
|
|
7
|
+
|[**listIAMGroups**](#listiamgroups) | **GET** /iaminfo/groups | Get the list of all groups|
|
|
8
|
+
|[**listIAMMembers**](#listiammembers) | **GET** /iaminfo/members | Get ALL IAM members list|
|
|
9
|
+
|
|
10
|
+
# **listIAMGroups**
|
|
11
|
+
> Array<string> listIAMGroups()
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import {
|
|
18
|
+
IAMInfoApi,
|
|
19
|
+
Configuration
|
|
20
|
+
} from '@cosmotech/api-ts';
|
|
21
|
+
|
|
22
|
+
const configuration = new Configuration();
|
|
23
|
+
const apiInstance = new IAMInfoApi(configuration);
|
|
24
|
+
|
|
25
|
+
const { status, data } = await apiInstance.listIAMGroups();
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
### Parameters
|
|
29
|
+
This endpoint does not have any parameters.
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
### Return type
|
|
33
|
+
|
|
34
|
+
**Array<string>**
|
|
35
|
+
|
|
36
|
+
### Authorization
|
|
37
|
+
|
|
38
|
+
[oAuth2AuthCode](../README.md#oAuth2AuthCode)
|
|
39
|
+
|
|
40
|
+
### HTTP request headers
|
|
41
|
+
|
|
42
|
+
- **Content-Type**: Not defined
|
|
43
|
+
- **Accept**: application/json, application/yaml
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
### HTTP response details
|
|
47
|
+
| Status code | Description | Response headers |
|
|
48
|
+
|-------------|-------------|------------------|
|
|
49
|
+
|**200** | The list of all groups | - |
|
|
50
|
+
|
|
51
|
+
[[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)
|
|
52
|
+
|
|
53
|
+
# **listIAMMembers**
|
|
54
|
+
> Members listIAMMembers()
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
### Example
|
|
58
|
+
|
|
59
|
+
```typescript
|
|
60
|
+
import {
|
|
61
|
+
IAMInfoApi,
|
|
62
|
+
Configuration
|
|
63
|
+
} from '@cosmotech/api-ts';
|
|
64
|
+
|
|
65
|
+
const configuration = new Configuration();
|
|
66
|
+
const apiInstance = new IAMInfoApi(configuration);
|
|
67
|
+
|
|
68
|
+
const { status, data } = await apiInstance.listIAMMembers();
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
### Parameters
|
|
72
|
+
This endpoint does not have any parameters.
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
### Return type
|
|
76
|
+
|
|
77
|
+
**Members**
|
|
78
|
+
|
|
79
|
+
### Authorization
|
|
80
|
+
|
|
81
|
+
[oAuth2AuthCode](../README.md#oAuth2AuthCode)
|
|
82
|
+
|
|
83
|
+
### HTTP request headers
|
|
84
|
+
|
|
85
|
+
- **Content-Type**: Not defined
|
|
86
|
+
- **Accept**: application/json, application/yaml
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
### HTTP response details
|
|
90
|
+
| Status code | Description | Response headers |
|
|
91
|
+
|-------------|-------------|------------------|
|
|
92
|
+
|**200** | The ALL members list | - |
|
|
93
|
+
|
|
94
|
+
[[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)
|
|
95
|
+
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# IngestionStatusEnum
|
|
2
|
+
|
|
3
|
+
the Dataset ingestion status
|
|
4
|
+
|
|
5
|
+
## Enum
|
|
6
|
+
|
|
7
|
+
* `None` (value: `'NONE'`)
|
|
8
|
+
|
|
9
|
+
* `Pending` (value: `'PENDING'`)
|
|
10
|
+
|
|
11
|
+
* `Error` (value: `'ERROR'`)
|
|
12
|
+
|
|
13
|
+
* `Success` (value: `'SUCCESS'`)
|
|
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,11 @@
|
|
|
1
|
+
# IoTypesEnum
|
|
2
|
+
|
|
3
|
+
The read and write capabilities of connector
|
|
4
|
+
|
|
5
|
+
## Enum
|
|
6
|
+
|
|
7
|
+
* `Read` (value: `'read'`)
|
|
8
|
+
|
|
9
|
+
* `Write` (value: `'write'`)
|
|
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
|
+
# 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,25 @@
|
|
|
1
|
+
# MemberGroup
|
|
2
|
+
|
|
3
|
+
A group member of the IAM
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**id** | **string** | The group id | [default to undefined]
|
|
10
|
+
**role** | **string** | The user role in the IAM | [default to undefined]
|
|
11
|
+
**users** | **Array<string>** | The list of users in the group | [default to undefined]
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import { MemberGroup } from '@cosmotech/api-ts';
|
|
17
|
+
|
|
18
|
+
const instance: MemberGroup = {
|
|
19
|
+
id,
|
|
20
|
+
role,
|
|
21
|
+
users,
|
|
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
|
+
# MemberUser
|
|
2
|
+
|
|
3
|
+
A user member of the IAM
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**id** | **string** | The user id | [default to undefined]
|
|
10
|
+
**role** | **string** | The user role in the IAM | [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { MemberUser } from '@cosmotech/api-ts';
|
|
16
|
+
|
|
17
|
+
const instance: MemberUser = {
|
|
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)
|
package/docs/Members.md
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# Members
|
|
2
|
+
|
|
3
|
+
The members, including users and groups
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**users** | [**Array<MemberUser>**](MemberUser.md) | The list of users in the IAM | [default to undefined]
|
|
10
|
+
**groups** | [**Array<MemberGroup>**](MemberGroup.md) | The list of groups in the IAM | [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { Members } from '@cosmotech/api-ts';
|
|
16
|
+
|
|
17
|
+
const instance: Members = {
|
|
18
|
+
users,
|
|
19
|
+
groups,
|
|
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,52 @@
|
|
|
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
|
+
Retrieve API version information and build details.
|
|
13
|
+
|
|
14
|
+
### Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import {
|
|
18
|
+
MetaApi,
|
|
19
|
+
Configuration
|
|
20
|
+
} from '@cosmotech/api-ts';
|
|
21
|
+
|
|
22
|
+
const configuration = new Configuration();
|
|
23
|
+
const apiInstance = new MetaApi(configuration);
|
|
24
|
+
|
|
25
|
+
const { status, data } = await apiInstance.about();
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
### Parameters
|
|
29
|
+
This endpoint does not have any parameters.
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
### Return type
|
|
33
|
+
|
|
34
|
+
**AboutInfo**
|
|
35
|
+
|
|
36
|
+
### Authorization
|
|
37
|
+
|
|
38
|
+
[oAuth2AuthCode](../README.md#oAuth2AuthCode)
|
|
39
|
+
|
|
40
|
+
### HTTP request headers
|
|
41
|
+
|
|
42
|
+
- **Content-Type**: Not defined
|
|
43
|
+
- **Accept**: application/json, application/yaml
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
### HTTP response details
|
|
47
|
+
| Status code | Description | Response headers |
|
|
48
|
+
|-------------|-------------|------------------|
|
|
49
|
+
|**200** | API information details | - |
|
|
50
|
+
|
|
51
|
+
[[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)
|
|
52
|
+
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# Organization
|
|
2
|
+
|
|
3
|
+
an Organization
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**id** | **string** | the Organization unique identifier | [optional] [readonly] [default to undefined]
|
|
10
|
+
**name** | **string** | the Organization name | [optional] [default to undefined]
|
|
11
|
+
**ownerId** | **string** | the Owner User Id | [optional] [readonly] [default to undefined]
|
|
12
|
+
**security** | [**OrganizationSecurity**](OrganizationSecurity.md) | | [optional] [default to undefined]
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import { Organization } from '@cosmotech/api-ts';
|
|
18
|
+
|
|
19
|
+
const instance: Organization = {
|
|
20
|
+
id,
|
|
21
|
+
name,
|
|
22
|
+
ownerId,
|
|
23
|
+
security,
|
|
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
|
+
# OrganizationAccessControl
|
|
2
|
+
|
|
3
|
+
a Organization 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 { 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)
|