@cosmotech/api-ts 5.0.0-beta4 → 5.0.0-beta5

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 (56) hide show
  1. package/.github/workflows/publish.yaml +3 -4
  2. package/.github/workflows/track_dependencies.yml +28 -0
  3. package/.openapi-generator/FILES +1 -1
  4. package/README.md +4 -8
  5. package/api.ts +153 -476
  6. package/base.ts +1 -1
  7. package/common.ts +1 -1
  8. package/configuration.ts +1 -1
  9. package/dist/api.d.ts +203 -333
  10. package/dist/api.js +178 -596
  11. package/dist/base.d.ts +1 -1
  12. package/dist/base.js +1 -1
  13. package/dist/common.d.ts +1 -1
  14. package/dist/common.js +1 -1
  15. package/dist/configuration.d.ts +1 -1
  16. package/dist/configuration.js +1 -1
  17. package/dist/index.d.ts +1 -1
  18. package/dist/index.js +1 -1
  19. package/docs/Connector.md +41 -0
  20. package/docs/ConnectorApi.md +218 -0
  21. package/docs/ConnectorParameter.md +31 -0
  22. package/docs/ConnectorParameterGroup.md +25 -0
  23. package/docs/DatasetApi.md +83 -16
  24. package/docs/DatasetCompatibility.md +25 -0
  25. package/docs/DatasetConnector.md +27 -0
  26. package/docs/DatasetCopyParameters.md +25 -0
  27. package/docs/DatasetPartTypeEnum.md +1 -1
  28. package/docs/DatasetSearch.md +21 -0
  29. package/docs/DatasetSourceType.md +19 -0
  30. package/docs/DatasetTwinGraphHash.md +21 -0
  31. package/docs/DatasetTwinGraphInfo.md +25 -0
  32. package/docs/DatasetTwinGraphQuery.md +21 -0
  33. package/docs/DeleteHistoricalData.md +25 -0
  34. package/docs/FileUploadMetadata.md +22 -0
  35. package/docs/FileUploadValidation.md +23 -0
  36. package/docs/GraphProperties.md +28 -0
  37. package/docs/IngestionStatusEnum.md +15 -0
  38. package/docs/IoTypesEnum.md +11 -0
  39. package/docs/RunLogs.md +23 -0
  40. package/docs/RunLogsEntry.md +21 -0
  41. package/docs/RunTemplateOrchestrator.md +11 -0
  42. package/docs/RunTemplateStepSource.md +15 -0
  43. package/docs/Runner.md +2 -2
  44. package/docs/RunnerApi.md +4 -4
  45. package/docs/RunnerCreateRequest.md +4 -4
  46. package/docs/RunnerDatasets.md +24 -0
  47. package/docs/RunnerRunTemplateParameterValue.md +1 -1
  48. package/docs/RunnerUpdateRequest.md +2 -2
  49. package/docs/SolutionApi.md +0 -290
  50. package/docs/SourceInfo.md +27 -0
  51. package/docs/SubDatasetGraphQuery.md +27 -0
  52. package/docs/TwinGraphBatchResult.md +25 -0
  53. package/docs/TwincacheStatusEnum.md +11 -0
  54. package/docs/WorkspaceSolution.md +4 -0
  55. package/index.ts +1 -1
  56. package/package.json +1 -1
@@ -0,0 +1,21 @@
1
+ # DatasetSearch
2
+
3
+ the search options
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **datasetTags** | **Array<string>** | the dataset tag list to search | [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { DatasetSearch } from '@cosmotech/api-ts';
15
+
16
+ const instance: DatasetSearch = {
17
+ datasetTags,
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,19 @@
1
+ # DatasetSourceType
2
+
3
+ the Dataset Source Type
4
+
5
+ ## Enum
6
+
7
+ * `Adt` (value: `'ADT'`)
8
+
9
+ * `AzureStorage` (value: `'AzureStorage'`)
10
+
11
+ * `File` (value: `'File'`)
12
+
13
+ * `None` (value: `'None'`)
14
+
15
+ * `Twincache` (value: `'Twincache'`)
16
+
17
+ * `Etl` (value: `'ETL'`)
18
+
19
+ [[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
+ # DatasetTwinGraphHash
2
+
3
+ a twin graph hash
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **hash** | **string** | the hash of the graph | [optional] [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { DatasetTwinGraphHash } from '@cosmotech/api-ts';
15
+
16
+ const instance: DatasetTwinGraphHash = {
17
+ hash,
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,25 @@
1
+ # DatasetTwinGraphInfo
2
+
3
+ a twin graph query in cypher language
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **jobId** | **string** | the import job id | [optional] [default to undefined]
10
+ **datasetId** | **string** | the Dataset id | [optional] [default to undefined]
11
+ **status** | **string** | Twingraph status | [optional] [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { DatasetTwinGraphInfo } from '@cosmotech/api-ts';
17
+
18
+ const instance: DatasetTwinGraphInfo = {
19
+ jobId,
20
+ datasetId,
21
+ status,
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
+ # DatasetTwinGraphQuery
2
+
3
+ a twin graph query in cypher language
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **query** | **string** | the query in cypher language | [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { DatasetTwinGraphQuery } from '@cosmotech/api-ts';
15
+
16
+ const instance: DatasetTwinGraphQuery = {
17
+ query,
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,25 @@
1
+ # DeleteHistoricalData
2
+
3
+ Configuration of scenario runs deletion automatic mecanism
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **enable** | **boolean** | Activate or Deactivate historical data deletion | [default to true]
10
+ **pollFrequency** | **number** | define the polling frequency of scenario run status (in millis) | [optional] [default to 10000]
11
+ **timeOut** | **number** | define the polling timeout | [optional] [default to 28800]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { DeleteHistoricalData } from '@cosmotech/api-ts';
17
+
18
+ const instance: DeleteHistoricalData = {
19
+ enable,
20
+ pollFrequency,
21
+ timeOut,
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,22 @@
1
+ # FileUploadMetadata
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **name** | **string** | | [optional] [default to undefined]
9
+ **size** | **number** | | [optional] [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { FileUploadMetadata } from '@cosmotech/api-ts';
15
+
16
+ const instance: FileUploadMetadata = {
17
+ name,
18
+ size,
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
+ # FileUploadValidation
2
+
3
+ files read on upload
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **nodes** | [**Array<FileUploadMetadata>**](FileUploadMetadata.md) | list of filename found on nodes folder | [optional] [default to undefined]
10
+ **edges** | [**Array<FileUploadMetadata>**](FileUploadMetadata.md) | list of filename found on edges folder | [optional] [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { FileUploadValidation } from '@cosmotech/api-ts';
16
+
17
+ const instance: FileUploadValidation = {
18
+ nodes,
19
+ edges,
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,28 @@
1
+ # GraphProperties
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **type** | **string** | the type of the relationship | [optional] [default to undefined]
9
+ **source** | **string** | the source node of the relationship | [optional] [default to undefined]
10
+ **target** | **string** | the target node of the relationship | [optional] [default to undefined]
11
+ **name** | **string** | the name of the graph data object | [optional] [default to undefined]
12
+ **params** | **string** | the parameters of the graph data object | [optional] [default to undefined]
13
+
14
+ ## Example
15
+
16
+ ```typescript
17
+ import { GraphProperties } from '@cosmotech/api-ts';
18
+
19
+ const instance: GraphProperties = {
20
+ type,
21
+ source,
22
+ target,
23
+ name,
24
+ params,
25
+ };
26
+ ```
27
+
28
+ [[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
+ # 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
+ # RunLogs
2
+
3
+ the output logs of a run
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **runId** | **string** | the Run Id | [readonly] [default to undefined]
10
+ **logs** | [**Array<RunLogsEntry>**](RunLogsEntry.md) | run log entries in chronological order | [readonly] [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { RunLogs } from '@cosmotech/api-ts';
16
+
17
+ const instance: RunLogs = {
18
+ runId,
19
+ logs,
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
+ # RunLogsEntry
2
+
3
+ single run log entry
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **line** | **string** | log line data | [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { RunLogsEntry } from '@cosmotech/api-ts';
15
+
16
+ const instance: RunLogsEntry = {
17
+ line,
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,11 @@
1
+ # RunTemplateOrchestrator
2
+
3
+ the Orchestrator to use for the Run Template
4
+
5
+ ## Enum
6
+
7
+ * `ArgoWorkflow` (value: `'argoWorkflow'`)
8
+
9
+ * `CsmOrc` (value: `'csmOrc'`)
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,15 @@
1
+ # RunTemplateStepSource
2
+
3
+ the source local, cloud or git repository
4
+
5
+ ## Enum
6
+
7
+ * `Cloud` (value: `'cloud'`)
8
+
9
+ * `Git` (value: `'git'`)
10
+
11
+ * `Local` (value: `'local'`)
12
+
13
+ * `Platform` (value: `'platform'`)
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)
package/docs/Runner.md CHANGED
@@ -21,7 +21,7 @@ Name | Type | Description | Notes
21
21
  **ownerName** | **string** | the name of the owner | [readonly] [default to undefined]
22
22
  **solutionName** | **string** | the Solution name | [optional] [readonly] [default to undefined]
23
23
  **runTemplateName** | **string** | the Solution Run Template name associated with this Runner | [optional] [readonly] [default to undefined]
24
- **datasetList** | **Array<string>** | the list of Dataset Id associated to this Runner Run Template | [default to undefined]
24
+ **datasets** | [**RunnerDatasets**](RunnerDatasets.md) | | [default to undefined]
25
25
  **runSizing** | [**RunnerResourceSizing**](RunnerResourceSizing.md) | | [optional] [default to undefined]
26
26
  **parametersValues** | [**Array<RunnerRunTemplateParameterValue>**](RunnerRunTemplateParameterValue.md) | the list of Solution Run Template parameters values | [default to undefined]
27
27
  **lastRunInfo** | [**LastRunInfo**](LastRunInfo.md) | | [default to undefined]
@@ -49,7 +49,7 @@ const instance: Runner = {
49
49
  ownerName,
50
50
  solutionName,
51
51
  runTemplateName,
52
- datasetList,
52
+ datasets,
53
53
  runSizing,
54
54
  parametersValues,
55
55
  lastRunInfo,
package/docs/RunnerApi.md CHANGED
@@ -563,8 +563,8 @@ const apiInstance = new RunnerApi(configuration);
563
563
 
564
564
  let organizationId: string; //the Organization identifier (default to undefined)
565
565
  let workspaceId: string; //the Workspace identifier (default to undefined)
566
- let page: number; //page number to query (first page is at index 0) (optional) (default to undefined)
567
- let size: number; //amount of result by page (optional) (default to undefined)
566
+ let page: number; //Page number to query (first page is at index 0) (optional) (default to undefined)
567
+ let size: number; //Amount of result by page (optional) (default to undefined)
568
568
 
569
569
  const { status, data } = await apiInstance.listRunners(
570
570
  organizationId,
@@ -580,8 +580,8 @@ const { status, data } = await apiInstance.listRunners(
580
580
  |------------- | ------------- | ------------- | -------------|
581
581
  | **organizationId** | [**string**] | the Organization identifier | defaults to undefined|
582
582
  | **workspaceId** | [**string**] | the Workspace identifier | defaults to undefined|
583
- | **page** | [**number**] | page number to query (first page is at index 0) | (optional) defaults to undefined|
584
- | **size** | [**number**] | amount of result by page | (optional) defaults to undefined|
583
+ | **page** | [**number**] | Page number to query (first page is at index 0) | (optional) defaults to undefined|
584
+ | **size** | [**number**] | Amount of result by page | (optional) defaults to undefined|
585
585
 
586
586
 
587
587
  ### Return type
@@ -9,15 +9,15 @@ Name | Type | Description | Notes
9
9
  **name** | **string** | the Runner name | [default to undefined]
10
10
  **description** | **string** | the Runner description | [optional] [default to undefined]
11
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]
12
+ **solutionId** | **string** | the Solution Id associated with this Runner | [default to undefined]
13
13
  **parentId** | **string** | the Runner parent id | [optional] [default to undefined]
14
14
  **runTemplateId** | **string** | the Solution Run Template Id associated with this Runner | [default to undefined]
15
15
  **datasetList** | **Array<string>** | the list of Dataset Id associated to this Runner Run Template | [optional] [default to undefined]
16
16
  **runSizing** | [**RunnerResourceSizing**](RunnerResourceSizing.md) | | [optional] [default to undefined]
17
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]
18
+ **ownerName** | **string** | the name of the owner | [default to undefined]
19
+ **solutionName** | **string** | the Solution name | [optional] [default to undefined]
20
+ **runTemplateName** | **string** | the Solution Run Template name associated with this Runner | [optional] [default to undefined]
21
21
  **security** | [**RunnerSecurity**](RunnerSecurity.md) | | [optional] [default to undefined]
22
22
 
23
23
  ## Example
@@ -0,0 +1,24 @@
1
+ # RunnerDatasets
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **bases** | **Array<string>** | a list of Dataset Id used to build the Runner | [default to undefined]
9
+ **parameter** | **string** | The dataset id used for dataset parameters on current Runner | [default to undefined]
10
+ **parameters** | **Array<object>** | The dataset parts retrieved from the parameter property (programmatically fulfilled) | [optional] [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { RunnerDatasets } from '@cosmotech/api-ts';
16
+
17
+ const instance: RunnerDatasets = {
18
+ bases,
19
+ parameter,
20
+ parameters,
21
+ };
22
+ ```
23
+
24
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -7,7 +7,7 @@ the value of a Solution Run Template parameter for a Runner
7
7
  Name | Type | Description | Notes
8
8
  ------------ | ------------- | ------------- | -------------
9
9
  **parameterId** | **string** | the parameter Id | [default to undefined]
10
- **varType** | **string** | the parameter value type | [optional] [readonly] [default to undefined]
10
+ **varType** | **string** | the parameter value type | [optional] [default to undefined]
11
11
  **value** | **string** | the parameter value | [default to undefined]
12
12
  **isInherited** | **boolean** | whether or not the value is inherited from parent or has been changed | [optional] [default to undefined]
13
13
 
@@ -14,8 +14,8 @@ Name | Type | Description | Notes
14
14
  **runSizing** | [**RunnerResourceSizing**](RunnerResourceSizing.md) | | [optional] [default to undefined]
15
15
  **parametersValues** | [**Array<RunnerRunTemplateParameterValue>**](RunnerRunTemplateParameterValue.md) | the list of Solution Run Template parameters values | [optional] [default to undefined]
16
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]
17
+ **solutionName** | **string** | the Solution name | [optional] [default to undefined]
18
+ **runTemplateName** | **string** | the Solution Run Template name associated with this Runner | [optional] [default to undefined]
19
19
 
20
20
  ## Example
21
21