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

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 (60) hide show
  1. package/.github/workflows/publish.yaml +13 -12
  2. package/.github/workflows/track_dependencies.yml +31 -0
  3. package/.openapi-generator/FILES +1 -5
  4. package/README.md +5 -15
  5. package/api.ts +218 -777
  6. package/base.ts +1 -1
  7. package/common.ts +1 -1
  8. package/configuration.ts +1 -1
  9. package/dist/api.d.ts +240 -524
  10. package/dist/api.js +194 -819
  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 +110 -28
  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/RunApi.md +0 -129
  40. package/docs/RunData.md +1 -1
  41. package/docs/RunLogs.md +23 -0
  42. package/docs/RunLogsEntry.md +21 -0
  43. package/docs/RunTemplateOrchestrator.md +11 -0
  44. package/docs/RunTemplateStepSource.md +15 -0
  45. package/docs/Runner.md +2 -2
  46. package/docs/RunnerApi.md +4 -4
  47. package/docs/RunnerCreateRequest.md +4 -4
  48. package/docs/RunnerDatasets.md +24 -0
  49. package/docs/RunnerRunTemplateParameterValue.md +1 -1
  50. package/docs/RunnerUpdateRequest.md +2 -2
  51. package/docs/SendRunDataRequest.md +2 -3
  52. package/docs/SolutionApi.md +0 -290
  53. package/docs/SourceInfo.md +27 -0
  54. package/docs/SubDatasetGraphQuery.md +27 -0
  55. package/docs/TwinGraphBatchResult.md +25 -0
  56. package/docs/TwincacheStatusEnum.md +11 -0
  57. package/docs/WorkspaceSolution.md +4 -0
  58. package/git_push.sh +2 -2
  59. package/index.ts +1 -1
  60. package/package.json +2 -2
@@ -17,13 +17,14 @@ All URIs are relative to *http://localhost:8080*
17
17
  |[**listDatasetParts**](#listdatasetparts) | **GET** /organizations/{organization_id}/workspaces/{workspace_id}/datasets/{dataset_id}/parts | Retrieve all dataset parts of a Dataset|
18
18
  |[**listDatasetSecurityUsers**](#listdatasetsecurityusers) | **GET** /organizations/{organization_id}/workspaces/{workspace_id}/datasets/{dataset_id}/security/users | Get the Dataset security users list|
19
19
  |[**listDatasets**](#listdatasets) | **GET** /organizations/{organization_id}/workspaces/{workspace_id}/datasets | Retrieve a list of defined Dataset|
20
- |[**queryData**](#querydata) | **GET** /organizations/{organization_id}/workspaces/{workspace_id}/datasets/{dataset_id}/parts/{dataset_part_id}/query | Get data of a Dataset|
20
+ |[**queryData**](#querydata) | **GET** /organizations/{organization_id}/workspaces/{workspace_id}/datasets/{dataset_id}/parts/{dataset_part_id}/query | Query data of a Dataset part. This endpoint is only available for dataset parts that support queries (type == DB). |
21
21
  |[**replaceDatasetPart**](#replacedatasetpart) | **PUT** /organizations/{organization_id}/workspaces/{workspace_id}/datasets/{dataset_id}/parts/{dataset_part_id} | Replace existing dataset parts of a Dataset|
22
22
  |[**searchDatasetParts**](#searchdatasetparts) | **POST** /organizations/{organization_id}/workspaces/{workspace_id}/datasets/{dataset_id}/parts/search | Search Dataset parts by tags|
23
23
  |[**searchDatasets**](#searchdatasets) | **POST** /organizations/{organization_id}/workspaces/{workspace_id}/datasets/search | Search Datasets by tags|
24
24
  |[**updateDataset**](#updatedataset) | **PATCH** /organizations/{organization_id}/workspaces/{workspace_id}/datasets/{dataset_id} | Update a Dataset|
25
25
  |[**updateDatasetAccessControl**](#updatedatasetaccesscontrol) | **PATCH** /organizations/{organization_id}/workspaces/{workspace_id}/datasets/{dataset_id}/security/access/{identity_id} | Update the specified access to User for a Dataset|
26
26
  |[**updateDatasetDefaultSecurity**](#updatedatasetdefaultsecurity) | **PATCH** /organizations/{organization_id}/workspaces/{workspace_id}/datasets/{dataset_id}/security/default | Set the Dataset default security|
27
+ |[**updateDatasetPart**](#updatedatasetpart) | **PATCH** /organizations/{organization_id}/workspaces/{workspace_id}/datasets/{dataset_id}/parts/{dataset_part_id} | Update existing dataset parts information of a Dataset|
27
28
 
28
29
  # **createDataset**
29
30
  > Dataset createDataset()
@@ -83,8 +84,8 @@ const { status, data } = await apiInstance.createDataset(
83
84
  |-------------|-------------|------------------|
84
85
  |**201** | Dataset successfully created | - |
85
86
  |**400** | Bad request | - |
86
- |**403** | Insufficient permissions on organization or workspace or dataset | - |
87
- |**404** | Organization or workspace specified is not found | - |
87
+ |**403** | Insufficient permissions on organization, workspace or dataset | - |
88
+ |**404** | Organization, workspace specified is not found | - |
88
89
 
89
90
  [[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)
90
91
 
@@ -210,7 +211,7 @@ const { status, data } = await apiInstance.createDatasetPart(
210
211
  |-------------|-------------|------------------|
211
212
  |**201** | Dataset part successfully created | - |
212
213
  |**400** | Bad request - Dataset part cannot be created | - |
213
- |**403** | Insufficient permissions on organization or workspace or dataset | - |
214
+ |**403** | Insufficient permissions on organization, workspace or dataset | - |
214
215
  |**404** | Dataset specified is not found | - |
215
216
 
216
217
  [[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)
@@ -269,7 +270,7 @@ void (empty response body)
269
270
  | Status code | Description | Response headers |
270
271
  |-------------|-------------|------------------|
271
272
  |**204** | Dataset successfully deleted | - |
272
- |**403** | Insufficient permissions on organization or workspace or dataset | - |
273
+ |**403** | Insufficient permissions on organization, workspace or dataset | - |
273
274
  |**404** | Organization or workspace or dataset specified is not found | - |
274
275
 
275
276
  [[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)
@@ -391,7 +392,7 @@ void (empty response body)
391
392
  | Status code | Description | Response headers |
392
393
  |-------------|-------------|------------------|
393
394
  |**204** | Dataset part successfully deleted | - |
394
- |**403** | Insufficient permissions on organization or workspace or dataset | - |
395
+ |**403** | Insufficient permissions on organization, workspace or dataset | - |
395
396
  |**404** | Dataset part specified is not found | - |
396
397
 
397
398
  [[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)
@@ -452,7 +453,7 @@ const { status, data } = await apiInstance.downloadDatasetPart(
452
453
  | Status code | Description | Response headers |
453
454
  |-------------|-------------|------------------|
454
455
  |**200** | Dataset part successfully downloaded | - |
455
- |**403** | Insufficient permissions on organization or workspace or dataset | - |
456
+ |**403** | Insufficient permissions on organization, workspace or dataset | - |
456
457
  |**404** | Dataset part specified is not found | - |
457
458
 
458
459
  [[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)
@@ -511,8 +512,8 @@ const { status, data } = await apiInstance.getDataset(
511
512
  | Status code | Description | Response headers |
512
513
  |-------------|-------------|------------------|
513
514
  |**200** | Dataset successfully retrieved | - |
514
- |**403** | Insufficient permissions on organization or workspace or dataset | - |
515
- |**404** | Organization or workspace or dataset specified is not found | - |
515
+ |**403** | Insufficient permissions on organization, workspace or dataset | - |
516
+ |**404** | Organization, workspace or dataset specified is not found | - |
516
517
 
517
518
  [[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)
518
519
 
@@ -632,7 +633,7 @@ const { status, data } = await apiInstance.getDatasetPart(
632
633
  | Status code | Description | Response headers |
633
634
  |-------------|-------------|------------------|
634
635
  |**200** | Dataset part successfully retrieved | - |
635
- |**403** | Insufficient permissions on organization or workspace or dataset | - |
636
+ |**403** | Insufficient permissions on organization, workspace or dataset | - |
636
637
  |**404** | Dataset part specified is not found | - |
637
638
 
638
639
  [[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)
@@ -696,7 +697,7 @@ const { status, data } = await apiInstance.listDatasetParts(
696
697
  | Status code | Description | Response headers |
697
698
  |-------------|-------------|------------------|
698
699
  |**200** | List of dataset parts | - |
699
- |**403** | Insufficient permissions on organization or workspace or dataset | - |
700
+ |**403** | Insufficient permissions on organization, workspace or dataset | - |
700
701
  |**404** | Dataset specified is not found | - |
701
702
  |**422** | Targeted dataset do not support requests | - |
702
703
 
@@ -816,13 +817,13 @@ const { status, data } = await apiInstance.listDatasets(
816
817
  | Status code | Description | Response headers |
817
818
  |-------------|-------------|------------------|
818
819
  |**200** | Datasets successfully retrieved | - |
819
- |**403** | Insufficient permissions on organization or workspace or dataset | - |
820
- |**404** | Organization or workspace or dataset specified is not found | - |
820
+ |**403** | Insufficient permissions on organization, workspace or dataset | - |
821
+ |**404** | Organization, workspace or dataset specified is not found | - |
821
822
 
822
823
  [[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)
823
824
 
824
825
  # **queryData**
825
- > Array<object> queryData()
826
+ > File queryData()
826
827
 
827
828
 
828
829
  ### Example
@@ -840,22 +841,32 @@ let organizationId: string; //the Organization identifier (default to undefined)
840
841
  let workspaceId: string; //the Workspace identifier (default to undefined)
841
842
  let datasetId: string; //the Dataset identifier (default to undefined)
842
843
  let datasetPartId: string; //the Dataset part identifier (default to undefined)
843
- let filters: Array<string>; //Property names that should be part of the response data. You can specify a property name like: - id - stock - quantity - ... (optional) (default to undefined)
844
- let sums: Array<string>; //Property names to sum by (optional) (default to undefined)
845
- let counts: Array<string>; //Property names to count by (optional) (default to undefined)
844
+ let selects: Array<string>; //Column names that should be part of the response data. You can specify a column name like: - id - stock - quantity - ... If you want to select only distinct columns, add a \'*\' at the end of the column name (e.g. stock*). (optional) (default to undefined)
845
+ let sums: Array<string>; //Column names to sum by. If you want to sum only distinct columns, add a \'*\' at the end of the column name (e.g. stock*). (optional) (default to undefined)
846
+ let avgs: Array<string>; //Column names to average by. If you want to apply \'average\' only on distinct columns, add a \'*\' at the end of the column name (e.g. stock*). (optional) (default to undefined)
847
+ let counts: Array<string>; //Column names to count by. If you want to count only distinct columns, add a \'*\' at the end of the column name (e.g. stock*). (optional) (default to undefined)
848
+ let mins: Array<string>; //Column names to min by. If you want to apply \'min\' only on distinct columns, add a \'*\' at the end of the column name (e.g. stock*). (optional) (default to undefined)
849
+ let maxs: Array<string>; //Column names to max by. If you want to apply \'max\' only on distinct columns, add a \'*\' at the end of the column name (e.g. stock*). (optional) (default to undefined)
846
850
  let offset: number; //The query offset (optional) (default to undefined)
847
851
  let limit: number; //The query limit (optional) (default to undefined)
852
+ let groupBys: Array<string>; //Column names to group by (optional) (default to undefined)
853
+ let orderBys: Array<string>; //Column names to order by. Default order is ascending. If you want to specify \'descending\' order, add a \'!\' at the beginning of the column name (e.g. !stock). (optional) (default to undefined)
848
854
 
849
855
  const { status, data } = await apiInstance.queryData(
850
856
  organizationId,
851
857
  workspaceId,
852
858
  datasetId,
853
859
  datasetPartId,
854
- filters,
860
+ selects,
855
861
  sums,
862
+ avgs,
856
863
  counts,
864
+ mins,
865
+ maxs,
857
866
  offset,
858
- limit
867
+ limit,
868
+ groupBys,
869
+ orderBys
859
870
  );
860
871
  ```
861
872
 
@@ -867,16 +878,21 @@ const { status, data } = await apiInstance.queryData(
867
878
  | **workspaceId** | [**string**] | the Workspace identifier | defaults to undefined|
868
879
  | **datasetId** | [**string**] | the Dataset identifier | defaults to undefined|
869
880
  | **datasetPartId** | [**string**] | the Dataset part identifier | defaults to undefined|
870
- | **filters** | **Array&lt;string&gt;** | Property names that should be part of the response data. You can specify a property name like: - id - stock - quantity - ... | (optional) defaults to undefined|
871
- | **sums** | **Array&lt;string&gt;** | Property names to sum by | (optional) defaults to undefined|
872
- | **counts** | **Array&lt;string&gt;** | Property names to count by | (optional) defaults to undefined|
881
+ | **selects** | **Array&lt;string&gt;** | Column names that should be part of the response data. You can specify a column name like: - id - stock - quantity - ... If you want to select only distinct columns, add a \&#39;*\&#39; at the end of the column name (e.g. stock*). | (optional) defaults to undefined|
882
+ | **sums** | **Array&lt;string&gt;** | Column names to sum by. If you want to sum only distinct columns, add a \&#39;*\&#39; at the end of the column name (e.g. stock*). | (optional) defaults to undefined|
883
+ | **avgs** | **Array&lt;string&gt;** | Column names to average by. If you want to apply \&#39;average\&#39; only on distinct columns, add a \&#39;*\&#39; at the end of the column name (e.g. stock*). | (optional) defaults to undefined|
884
+ | **counts** | **Array&lt;string&gt;** | Column names to count by. If you want to count only distinct columns, add a \&#39;*\&#39; at the end of the column name (e.g. stock*). | (optional) defaults to undefined|
885
+ | **mins** | **Array&lt;string&gt;** | Column names to min by. If you want to apply \&#39;min\&#39; only on distinct columns, add a \&#39;*\&#39; at the end of the column name (e.g. stock*). | (optional) defaults to undefined|
886
+ | **maxs** | **Array&lt;string&gt;** | Column names to max by. If you want to apply \&#39;max\&#39; only on distinct columns, add a \&#39;*\&#39; at the end of the column name (e.g. stock*). | (optional) defaults to undefined|
873
887
  | **offset** | [**number**] | The query offset | (optional) defaults to undefined|
874
888
  | **limit** | [**number**] | The query limit | (optional) defaults to undefined|
889
+ | **groupBys** | **Array&lt;string&gt;** | Column names to group by | (optional) defaults to undefined|
890
+ | **orderBys** | **Array&lt;string&gt;** | Column names to order by. Default order is ascending. If you want to specify \&#39;descending\&#39; order, add a \&#39;!\&#39; at the beginning of the column name (e.g. !stock). | (optional) defaults to undefined|
875
891
 
876
892
 
877
893
  ### Return type
878
894
 
879
- **Array<object>**
895
+ **File**
880
896
 
881
897
  ### Authorization
882
898
 
@@ -885,7 +901,7 @@ const { status, data } = await apiInstance.queryData(
885
901
  ### HTTP request headers
886
902
 
887
903
  - **Content-Type**: Not defined
888
- - **Accept**: application/json, application/yaml
904
+ - **Accept**: application/octet-stream
889
905
 
890
906
 
891
907
  ### HTTP response details
@@ -893,7 +909,7 @@ const { status, data } = await apiInstance.queryData(
893
909
  |-------------|-------------|------------------|
894
910
  |**200** | Data related to provided information | - |
895
911
  |**400** | Bad request - Data cannot be retrieved from provided information | - |
896
- |**403** | Insufficient permissions on organization or workspace or dataset | - |
912
+ |**403** | Insufficient permissions on organization, workspace or dataset | - |
897
913
  |**404** | Dataset specified is not found or you don\&#39;t have access to it | - |
898
914
  |**422** | Targeted dataset do not support requests | - |
899
915
 
@@ -962,7 +978,7 @@ const { status, data } = await apiInstance.replaceDatasetPart(
962
978
  | Status code | Description | Response headers |
963
979
  |-------------|-------------|------------------|
964
980
  |**200** | Dataset part successfully replaced | - |
965
- |**403** | Insufficient permissions on organization or workspace or dataset | - |
981
+ |**403** | Insufficient permissions on organization, workspace or dataset | - |
966
982
  |**404** | Dataset part specified is not found | - |
967
983
  |**422** | Targeted dataset do not support requests | - |
968
984
 
@@ -1157,8 +1173,8 @@ const { status, data } = await apiInstance.updateDataset(
1157
1173
  |-------------|-------------|------------------|
1158
1174
  |**200** | Dataset successfully updated | - |
1159
1175
  |**400** | Bad request | - |
1160
- |**403** | Insufficient permissions on organization or workspace or dataset | - |
1161
- |**404** | Organization or workspace or dataset specified is not found | - |
1176
+ |**403** | Insufficient permissions on organization, workspace or dataset | - |
1177
+ |**404** | Organization, workspace or dataset specified is not found | - |
1162
1178
 
1163
1179
  [[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)
1164
1180
 
@@ -1287,3 +1303,69 @@ const { status, data } = await apiInstance.updateDatasetDefaultSecurity(
1287
1303
 
1288
1304
  [[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)
1289
1305
 
1306
+ # **updateDatasetPart**
1307
+ > DatasetPart updateDatasetPart(datasetPartUpdateRequest)
1308
+
1309
+
1310
+ ### Example
1311
+
1312
+ ```typescript
1313
+ import {
1314
+ DatasetApi,
1315
+ Configuration,
1316
+ DatasetPartUpdateRequest
1317
+ } from '@cosmotech/api-ts';
1318
+
1319
+ const configuration = new Configuration();
1320
+ const apiInstance = new DatasetApi(configuration);
1321
+
1322
+ let organizationId: string; //the Organization identifier (default to undefined)
1323
+ let workspaceId: string; //the Workspace identifier (default to undefined)
1324
+ let datasetId: string; //the Dataset identifier (default to undefined)
1325
+ let datasetPartId: string; //the Dataset part identifier (default to undefined)
1326
+ let datasetPartUpdateRequest: DatasetPartUpdateRequest; //Dataset part information to update
1327
+
1328
+ const { status, data } = await apiInstance.updateDatasetPart(
1329
+ organizationId,
1330
+ workspaceId,
1331
+ datasetId,
1332
+ datasetPartId,
1333
+ datasetPartUpdateRequest
1334
+ );
1335
+ ```
1336
+
1337
+ ### Parameters
1338
+
1339
+ |Name | Type | Description | Notes|
1340
+ |------------- | ------------- | ------------- | -------------|
1341
+ | **datasetPartUpdateRequest** | **DatasetPartUpdateRequest**| Dataset part information to update | |
1342
+ | **organizationId** | [**string**] | the Organization identifier | defaults to undefined|
1343
+ | **workspaceId** | [**string**] | the Workspace identifier | defaults to undefined|
1344
+ | **datasetId** | [**string**] | the Dataset identifier | defaults to undefined|
1345
+ | **datasetPartId** | [**string**] | the Dataset part identifier | defaults to undefined|
1346
+
1347
+
1348
+ ### Return type
1349
+
1350
+ **DatasetPart**
1351
+
1352
+ ### Authorization
1353
+
1354
+ [oAuth2AuthCode](../README.md#oAuth2AuthCode)
1355
+
1356
+ ### HTTP request headers
1357
+
1358
+ - **Content-Type**: application/json, application/yaml
1359
+ - **Accept**: application/json, application/yaml
1360
+
1361
+
1362
+ ### HTTP response details
1363
+ | Status code | Description | Response headers |
1364
+ |-------------|-------------|------------------|
1365
+ |**200** | Dataset part information successfully updated | - |
1366
+ |**403** | Insufficient permissions on organization, workspace or dataset | - |
1367
+ |**404** | Dataset part specified is not found | - |
1368
+ |**422** | Targeted dataset do not support requests | - |
1369
+
1370
+ [[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)
1371
+
@@ -0,0 +1,25 @@
1
+ # DatasetCompatibility
2
+
3
+ a Dataset compatibility constraint to a Solution version open range
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **solutionKey** | **string** | the Solution key which group Solution versions | [default to undefined]
10
+ **minimumVersion** | **string** | the Solution minimum version compatibility (version included) | [optional] [default to undefined]
11
+ **maximumVersion** | **string** | the Solution maximum version compatibility (version included) | [optional] [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { DatasetCompatibility } from '@cosmotech/api-ts';
17
+
18
+ const instance: DatasetCompatibility = {
19
+ solutionKey,
20
+ minimumVersion,
21
+ maximumVersion,
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,27 @@
1
+ # DatasetConnector
2
+
3
+ the Connector setup bound to a Dataset
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **id** | **string** | the Connector id | [optional] [default to undefined]
10
+ **name** | **string** | the Connector name | [optional] [default to undefined]
11
+ **version** | **string** | the Connector version | [optional] [default to undefined]
12
+ **parametersValues** | **{ [key: string]: string; }** | | [optional] [default to undefined]
13
+
14
+ ## Example
15
+
16
+ ```typescript
17
+ import { DatasetConnector } from '@cosmotech/api-ts';
18
+
19
+ const instance: DatasetConnector = {
20
+ id,
21
+ name,
22
+ version,
23
+ parametersValues,
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,25 @@
1
+ # DatasetCopyParameters
2
+
3
+ the Dataset Copy Parameters
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **sourceId** | **string** | the source Dataset id | [optional] [default to undefined]
10
+ **targetId** | **string** | the target Dataset id | [optional] [default to undefined]
11
+ **_options** | **{ [key: string]: any; }** | freeform options to path to connectors | [optional] [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { DatasetCopyParameters } from '@cosmotech/api-ts';
17
+
18
+ const instance: DatasetCopyParameters = {
19
+ sourceId,
20
+ targetId,
21
+ _options,
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)
@@ -6,6 +6,6 @@ The dataset part Type
6
6
 
7
7
  * `File` (value: `'File'`)
8
8
 
9
- * `Relational` (value: `'Relational'`)
9
+ * `Db` (value: `'DB'`)
10
10
 
11
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,21 @@
1
+ # DatasetSearch
2
+
3
+ the search options
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **datasetTags** | **Array&lt;string&gt;** | 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&lt;FileUploadMetadata&gt;**](FileUploadMetadata.md) | list of filename found on nodes folder | [optional] [default to undefined]
10
+ **edges** | [**Array&lt;FileUploadMetadata&gt;**](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)