@cosmotech/api-ts 4.0.0-dev9 → 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 +110 -0
- package/.openapi-generator/VERSION +1 -0
- package/.openapi-generator-ignore +23 -0
- package/README.md +210 -2
- package/api.ts +50 -50
- package/base.ts +1 -1
- package/common.ts +22 -44
- package/configuration.ts +7 -2
- package/dist/api.d.ts +161 -161
- package/dist/api.js +49 -49
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +6 -37
- 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
package/api.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Cosmo Tech Platform API
|
|
5
5
|
* Cosmo Tech Platform API
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 4.
|
|
7
|
+
* The version of the OpenAPI document: 4.2.5-onprem
|
|
8
8
|
* Contact: platform@cosmotech.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1805,7 +1805,7 @@ export interface Runner {
|
|
|
1805
1805
|
* @type {Array<string>}
|
|
1806
1806
|
* @memberof Runner
|
|
1807
1807
|
*/
|
|
1808
|
-
'datasetList'
|
|
1808
|
+
'datasetList'?: Array<string>;
|
|
1809
1809
|
/**
|
|
1810
1810
|
*
|
|
1811
1811
|
* @type {RunnerResourceSizing}
|
|
@@ -3005,7 +3005,7 @@ export const DatasetApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
3005
3005
|
};
|
|
3006
3006
|
},
|
|
3007
3007
|
/**
|
|
3008
|
-
* Create a copy of the dataset using the results of the list of queries given in parameter.
|
|
3008
|
+
* Create a copy of the dataset using the results of the list of queries given in parameter. Note: This endpoint is activated only if `csm.platform.twincache.useGraphModule` property is set to true
|
|
3009
3009
|
* @summary Create a sub-dataset from the dataset in parameter
|
|
3010
3010
|
* @param {string} organizationId the Organization identifier
|
|
3011
3011
|
* @param {string} datasetId the Dataset identifier
|
|
@@ -3053,7 +3053,7 @@ export const DatasetApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
3053
3053
|
};
|
|
3054
3054
|
},
|
|
3055
3055
|
/**
|
|
3056
|
-
*
|
|
3056
|
+
* Create new entities in a graph instance Note: This endpoint is activated only if `csm.platform.twincache.useGraphModule` property is set to true
|
|
3057
3057
|
* @summary Create new entities in a graph instance
|
|
3058
3058
|
* @param {string} organizationId the Organization identifier
|
|
3059
3059
|
* @param {string} datasetId the Dataset Identifier
|
|
@@ -3147,7 +3147,7 @@ export const DatasetApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
3147
3147
|
};
|
|
3148
3148
|
},
|
|
3149
3149
|
/**
|
|
3150
|
-
*
|
|
3150
|
+
* Delete entities in a graph instance Note: This endpoint is activated only if `csm.platform.twincache.useGraphModule` property is set to true
|
|
3151
3151
|
* @summary Delete entities in a graph instance
|
|
3152
3152
|
* @param {string} organizationId the Organization identifier
|
|
3153
3153
|
* @param {string} datasetId the Dataset Identifier
|
|
@@ -3200,7 +3200,7 @@ export const DatasetApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
3200
3200
|
};
|
|
3201
3201
|
},
|
|
3202
3202
|
/**
|
|
3203
|
-
* Download the compressed graph reference by the hash in a zip file
|
|
3203
|
+
* Download the compressed graph reference by the hash in a zip file Note: This endpoint is activated only if `csm.platform.twincache.useGraphModule` property is set to true
|
|
3204
3204
|
* @summary Download a graph as a zip file
|
|
3205
3205
|
* @param {string} organizationId the Organization identifier
|
|
3206
3206
|
* @param {string} hash the Graph download identifier
|
|
@@ -3504,7 +3504,7 @@ export const DatasetApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
3504
3504
|
};
|
|
3505
3505
|
},
|
|
3506
3506
|
/**
|
|
3507
|
-
*
|
|
3507
|
+
* Get entities in a graph instance Note: This endpoint is activated only if `csm.platform.twincache.useGraphModule` property is set to true
|
|
3508
3508
|
* @summary Get entities in a graph instance
|
|
3509
3509
|
* @param {string} organizationId the Organization identifier
|
|
3510
3510
|
* @param {string} datasetId the Dataset Identifier
|
|
@@ -3605,7 +3605,7 @@ export const DatasetApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
3605
3605
|
};
|
|
3606
3606
|
},
|
|
3607
3607
|
/**
|
|
3608
|
-
* Refresh dataset from parent source. At date, sources can be: dataset (refresh from another dataset) Azure Digital twin Azure storage Local File (import a new file) During refresh, datas are overwritten
|
|
3608
|
+
* Refresh dataset from parent source. At date, sources can be: dataset (refresh from another dataset) Azure Digital twin Azure storage Local File (import a new file) During refresh, datas are overwritten Note: This endpoint is activated only if `csm.platform.twincache.useGraphModule` property is set to true
|
|
3609
3609
|
* @summary Refresh data on dataset from dataset\'s source
|
|
3610
3610
|
* @param {string} organizationId the Organization identifier
|
|
3611
3611
|
* @param {string} datasetId the Dataset identifier
|
|
@@ -3735,7 +3735,7 @@ export const DatasetApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
3735
3735
|
};
|
|
3736
3736
|
},
|
|
3737
3737
|
/**
|
|
3738
|
-
* Rollback the twingraph on a dataset after a failed refresh
|
|
3738
|
+
* Rollback the twingraph on a dataset after a failed refresh Note: This endpoint is activated only if `csm.platform.twincache.useGraphModule` property is set to true
|
|
3739
3739
|
* @summary Rollback the dataset after a failed refresh
|
|
3740
3740
|
* @param {string} organizationId the Organization identifier
|
|
3741
3741
|
* @param {string} datasetId the Dataset identifier
|
|
@@ -3879,7 +3879,7 @@ export const DatasetApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
3879
3879
|
};
|
|
3880
3880
|
},
|
|
3881
3881
|
/**
|
|
3882
|
-
* Run a query on a graph instance and return the result as a zip file in async mode
|
|
3882
|
+
* Run a query on a graph instance and return the result as a zip file in async mode Note: This endpoint is activated only if `csm.platform.twincache.useGraphModule` property is set to true
|
|
3883
3883
|
* @summary Run a query on a graph instance and return the result as a zip file in async mode
|
|
3884
3884
|
* @param {string} organizationId the Organization identifier
|
|
3885
3885
|
* @param {string} datasetId the Graph Identifier
|
|
@@ -3927,7 +3927,7 @@ export const DatasetApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
3927
3927
|
};
|
|
3928
3928
|
},
|
|
3929
3929
|
/**
|
|
3930
|
-
* Async batch update by loading a CSV file on a graph instance
|
|
3930
|
+
* Async batch update by loading a CSV file on a graph instance Note: This endpoint is activated only if `csm.platform.twincache.useGraphModule` property is set to true
|
|
3931
3931
|
* @summary Async batch update by loading a CSV file on a graph instance
|
|
3932
3932
|
* @param {string} organizationId the Organization identifier
|
|
3933
3933
|
* @param {string} datasetId the Dataset Identifier
|
|
@@ -3984,7 +3984,7 @@ export const DatasetApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
3984
3984
|
};
|
|
3985
3985
|
},
|
|
3986
3986
|
/**
|
|
3987
|
-
* Run a query on a graph instance and return the result as a json
|
|
3987
|
+
* Run a query on a graph instance and return the result as a json Note: This endpoint is activated only if `csm.platform.twincache.useGraphModule` property is set to true
|
|
3988
3988
|
* @summary Return the result of a query made on the graph instance as a json
|
|
3989
3989
|
* @param {string} organizationId the Organization identifier
|
|
3990
3990
|
* @param {string} datasetId the Dataset identifier
|
|
@@ -4185,7 +4185,7 @@ export const DatasetApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
4185
4185
|
* @param {string} organizationId the Organization identifier
|
|
4186
4186
|
* @param {string} datasetId the Dataset Identifier
|
|
4187
4187
|
* @param {UpdateTwingraphEntitiesTypeEnum} type the entity model type
|
|
4188
|
-
* @param {Array<GraphProperties>} graphProperties
|
|
4188
|
+
* @param {Array<GraphProperties>} graphProperties The entities to update Note: This endpoint is activated only if `csm.platform.twincache.useGraphModule` property is set to true
|
|
4189
4189
|
* @param {*} [options] Override http request option.
|
|
4190
4190
|
* @throws {RequiredError}
|
|
4191
4191
|
*/
|
|
@@ -4232,7 +4232,7 @@ export const DatasetApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
4232
4232
|
};
|
|
4233
4233
|
},
|
|
4234
4234
|
/**
|
|
4235
|
-
* To create a new graph from flat files, you need to create a Zip file. This Zip file must countain two folders named Edges and Nodes. .zip hierarchy: *main_folder/Nodes *main_folder/Edges In each folder you can place one or multiple csv files containing your Nodes or Edges data. Your csv files must follow the following header (column name) requirements: The Nodes CSVs requires at least one column (the 1st).Column name = \'id\'. It will represent the nodes ID Ids must be populated with string The Edges CSVs require three columns named, in order, * source * target * id those colomns represent * The source of the edge * The target of the edge * The id of the edge All following columns content are up to you.
|
|
4235
|
+
* To create a new graph from flat files, you need to create a Zip file. This Zip file must countain two folders named Edges and Nodes. .zip hierarchy: *main_folder/Nodes *main_folder/Edges In each folder you can place one or multiple csv files containing your Nodes or Edges data. Your csv files must follow the following header (column name) requirements: The Nodes CSVs requires at least one column (the 1st).Column name = \'id\'. It will represent the nodes ID Ids must be populated with string The Edges CSVs require three columns named, in order, * source * target * id those colomns represent * The source of the edge * The target of the edge * The id of the edge All following columns content are up to you. Note: This endpoint is activated only if `csm.platform.twincache.useGraphModule` property is set to true
|
|
4236
4236
|
* @summary Upload data from zip file to dataset\'s twingraph
|
|
4237
4237
|
* @param {string} organizationId the Organization identifier
|
|
4238
4238
|
* @param {string} datasetId the Dataset identifier
|
|
@@ -4348,7 +4348,7 @@ export const DatasetApiFp = function(configuration?: Configuration) {
|
|
|
4348
4348
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4349
4349
|
},
|
|
4350
4350
|
/**
|
|
4351
|
-
* Create a copy of the dataset using the results of the list of queries given in parameter.
|
|
4351
|
+
* Create a copy of the dataset using the results of the list of queries given in parameter. Note: This endpoint is activated only if `csm.platform.twincache.useGraphModule` property is set to true
|
|
4352
4352
|
* @summary Create a sub-dataset from the dataset in parameter
|
|
4353
4353
|
* @param {string} organizationId the Organization identifier
|
|
4354
4354
|
* @param {string} datasetId the Dataset identifier
|
|
@@ -4363,7 +4363,7 @@ export const DatasetApiFp = function(configuration?: Configuration) {
|
|
|
4363
4363
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4364
4364
|
},
|
|
4365
4365
|
/**
|
|
4366
|
-
*
|
|
4366
|
+
* Create new entities in a graph instance Note: This endpoint is activated only if `csm.platform.twincache.useGraphModule` property is set to true
|
|
4367
4367
|
* @summary Create new entities in a graph instance
|
|
4368
4368
|
* @param {string} organizationId the Organization identifier
|
|
4369
4369
|
* @param {string} datasetId the Dataset Identifier
|
|
@@ -4393,7 +4393,7 @@ export const DatasetApiFp = function(configuration?: Configuration) {
|
|
|
4393
4393
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4394
4394
|
},
|
|
4395
4395
|
/**
|
|
4396
|
-
*
|
|
4396
|
+
* Delete entities in a graph instance Note: This endpoint is activated only if `csm.platform.twincache.useGraphModule` property is set to true
|
|
4397
4397
|
* @summary Delete entities in a graph instance
|
|
4398
4398
|
* @param {string} organizationId the Organization identifier
|
|
4399
4399
|
* @param {string} datasetId the Dataset Identifier
|
|
@@ -4409,7 +4409,7 @@ export const DatasetApiFp = function(configuration?: Configuration) {
|
|
|
4409
4409
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4410
4410
|
},
|
|
4411
4411
|
/**
|
|
4412
|
-
* Download the compressed graph reference by the hash in a zip file
|
|
4412
|
+
* Download the compressed graph reference by the hash in a zip file Note: This endpoint is activated only if `csm.platform.twincache.useGraphModule` property is set to true
|
|
4413
4413
|
* @summary Download a graph as a zip file
|
|
4414
4414
|
* @param {string} organizationId the Organization identifier
|
|
4415
4415
|
* @param {string} hash the Graph download identifier
|
|
@@ -4509,7 +4509,7 @@ export const DatasetApiFp = function(configuration?: Configuration) {
|
|
|
4509
4509
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4510
4510
|
},
|
|
4511
4511
|
/**
|
|
4512
|
-
*
|
|
4512
|
+
* Get entities in a graph instance Note: This endpoint is activated only if `csm.platform.twincache.useGraphModule` property is set to true
|
|
4513
4513
|
* @summary Get entities in a graph instance
|
|
4514
4514
|
* @param {string} organizationId the Organization identifier
|
|
4515
4515
|
* @param {string} datasetId the Dataset Identifier
|
|
@@ -4539,7 +4539,7 @@ export const DatasetApiFp = function(configuration?: Configuration) {
|
|
|
4539
4539
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4540
4540
|
},
|
|
4541
4541
|
/**
|
|
4542
|
-
* Refresh dataset from parent source. At date, sources can be: dataset (refresh from another dataset) Azure Digital twin Azure storage Local File (import a new file) During refresh, datas are overwritten
|
|
4542
|
+
* Refresh dataset from parent source. At date, sources can be: dataset (refresh from another dataset) Azure Digital twin Azure storage Local File (import a new file) During refresh, datas are overwritten Note: This endpoint is activated only if `csm.platform.twincache.useGraphModule` property is set to true
|
|
4543
4543
|
* @summary Refresh data on dataset from dataset\'s source
|
|
4544
4544
|
* @param {string} organizationId the Organization identifier
|
|
4545
4545
|
* @param {string} datasetId the Dataset identifier
|
|
@@ -4582,7 +4582,7 @@ export const DatasetApiFp = function(configuration?: Configuration) {
|
|
|
4582
4582
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4583
4583
|
},
|
|
4584
4584
|
/**
|
|
4585
|
-
* Rollback the twingraph on a dataset after a failed refresh
|
|
4585
|
+
* Rollback the twingraph on a dataset after a failed refresh Note: This endpoint is activated only if `csm.platform.twincache.useGraphModule` property is set to true
|
|
4586
4586
|
* @summary Rollback the dataset after a failed refresh
|
|
4587
4587
|
* @param {string} organizationId the Organization identifier
|
|
4588
4588
|
* @param {string} datasetId the Dataset identifier
|
|
@@ -4627,7 +4627,7 @@ export const DatasetApiFp = function(configuration?: Configuration) {
|
|
|
4627
4627
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4628
4628
|
},
|
|
4629
4629
|
/**
|
|
4630
|
-
* Run a query on a graph instance and return the result as a zip file in async mode
|
|
4630
|
+
* Run a query on a graph instance and return the result as a zip file in async mode Note: This endpoint is activated only if `csm.platform.twincache.useGraphModule` property is set to true
|
|
4631
4631
|
* @summary Run a query on a graph instance and return the result as a zip file in async mode
|
|
4632
4632
|
* @param {string} organizationId the Organization identifier
|
|
4633
4633
|
* @param {string} datasetId the Graph Identifier
|
|
@@ -4642,7 +4642,7 @@ export const DatasetApiFp = function(configuration?: Configuration) {
|
|
|
4642
4642
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4643
4643
|
},
|
|
4644
4644
|
/**
|
|
4645
|
-
* Async batch update by loading a CSV file on a graph instance
|
|
4645
|
+
* Async batch update by loading a CSV file on a graph instance Note: This endpoint is activated only if `csm.platform.twincache.useGraphModule` property is set to true
|
|
4646
4646
|
* @summary Async batch update by loading a CSV file on a graph instance
|
|
4647
4647
|
* @param {string} organizationId the Organization identifier
|
|
4648
4648
|
* @param {string} datasetId the Dataset Identifier
|
|
@@ -4658,7 +4658,7 @@ export const DatasetApiFp = function(configuration?: Configuration) {
|
|
|
4658
4658
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4659
4659
|
},
|
|
4660
4660
|
/**
|
|
4661
|
-
* Run a query on a graph instance and return the result as a json
|
|
4661
|
+
* Run a query on a graph instance and return the result as a json Note: This endpoint is activated only if `csm.platform.twincache.useGraphModule` property is set to true
|
|
4662
4662
|
* @summary Return the result of a query made on the graph instance as a json
|
|
4663
4663
|
* @param {string} organizationId the Organization identifier
|
|
4664
4664
|
* @param {string} datasetId the Dataset identifier
|
|
@@ -4723,7 +4723,7 @@ export const DatasetApiFp = function(configuration?: Configuration) {
|
|
|
4723
4723
|
* @param {string} organizationId the Organization identifier
|
|
4724
4724
|
* @param {string} datasetId the Dataset Identifier
|
|
4725
4725
|
* @param {UpdateTwingraphEntitiesTypeEnum} type the entity model type
|
|
4726
|
-
* @param {Array<GraphProperties>} graphProperties
|
|
4726
|
+
* @param {Array<GraphProperties>} graphProperties The entities to update Note: This endpoint is activated only if `csm.platform.twincache.useGraphModule` property is set to true
|
|
4727
4727
|
* @param {*} [options] Override http request option.
|
|
4728
4728
|
* @throws {RequiredError}
|
|
4729
4729
|
*/
|
|
@@ -4734,7 +4734,7 @@ export const DatasetApiFp = function(configuration?: Configuration) {
|
|
|
4734
4734
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4735
4735
|
},
|
|
4736
4736
|
/**
|
|
4737
|
-
* To create a new graph from flat files, you need to create a Zip file. This Zip file must countain two folders named Edges and Nodes. .zip hierarchy: *main_folder/Nodes *main_folder/Edges In each folder you can place one or multiple csv files containing your Nodes or Edges data. Your csv files must follow the following header (column name) requirements: The Nodes CSVs requires at least one column (the 1st).Column name = \'id\'. It will represent the nodes ID Ids must be populated with string The Edges CSVs require three columns named, in order, * source * target * id those colomns represent * The source of the edge * The target of the edge * The id of the edge All following columns content are up to you.
|
|
4737
|
+
* To create a new graph from flat files, you need to create a Zip file. This Zip file must countain two folders named Edges and Nodes. .zip hierarchy: *main_folder/Nodes *main_folder/Edges In each folder you can place one or multiple csv files containing your Nodes or Edges data. Your csv files must follow the following header (column name) requirements: The Nodes CSVs requires at least one column (the 1st).Column name = \'id\'. It will represent the nodes ID Ids must be populated with string The Edges CSVs require three columns named, in order, * source * target * id those colomns represent * The source of the edge * The target of the edge * The id of the edge All following columns content are up to you. Note: This endpoint is activated only if `csm.platform.twincache.useGraphModule` property is set to true
|
|
4738
4738
|
* @summary Upload data from zip file to dataset\'s twingraph
|
|
4739
4739
|
* @param {string} organizationId the Organization identifier
|
|
4740
4740
|
* @param {string} datasetId the Dataset identifier
|
|
@@ -4805,7 +4805,7 @@ export const DatasetApiFactory = function (configuration?: Configuration, basePa
|
|
|
4805
4805
|
return localVarFp.createDataset(organizationId, dataset, options).then((request) => request(axios, basePath));
|
|
4806
4806
|
},
|
|
4807
4807
|
/**
|
|
4808
|
-
* Create a copy of the dataset using the results of the list of queries given in parameter.
|
|
4808
|
+
* Create a copy of the dataset using the results of the list of queries given in parameter. Note: This endpoint is activated only if `csm.platform.twincache.useGraphModule` property is set to true
|
|
4809
4809
|
* @summary Create a sub-dataset from the dataset in parameter
|
|
4810
4810
|
* @param {string} organizationId the Organization identifier
|
|
4811
4811
|
* @param {string} datasetId the Dataset identifier
|
|
@@ -4817,7 +4817,7 @@ export const DatasetApiFactory = function (configuration?: Configuration, basePa
|
|
|
4817
4817
|
return localVarFp.createSubDataset(organizationId, datasetId, subDatasetGraphQuery, options).then((request) => request(axios, basePath));
|
|
4818
4818
|
},
|
|
4819
4819
|
/**
|
|
4820
|
-
*
|
|
4820
|
+
* Create new entities in a graph instance Note: This endpoint is activated only if `csm.platform.twincache.useGraphModule` property is set to true
|
|
4821
4821
|
* @summary Create new entities in a graph instance
|
|
4822
4822
|
* @param {string} organizationId the Organization identifier
|
|
4823
4823
|
* @param {string} datasetId the Dataset Identifier
|
|
@@ -4841,7 +4841,7 @@ export const DatasetApiFactory = function (configuration?: Configuration, basePa
|
|
|
4841
4841
|
return localVarFp.deleteDataset(organizationId, datasetId, options).then((request) => request(axios, basePath));
|
|
4842
4842
|
},
|
|
4843
4843
|
/**
|
|
4844
|
-
*
|
|
4844
|
+
* Delete entities in a graph instance Note: This endpoint is activated only if `csm.platform.twincache.useGraphModule` property is set to true
|
|
4845
4845
|
* @summary Delete entities in a graph instance
|
|
4846
4846
|
* @param {string} organizationId the Organization identifier
|
|
4847
4847
|
* @param {string} datasetId the Dataset Identifier
|
|
@@ -4854,7 +4854,7 @@ export const DatasetApiFactory = function (configuration?: Configuration, basePa
|
|
|
4854
4854
|
return localVarFp.deleteTwingraphEntities(organizationId, datasetId, type, ids, options).then((request) => request(axios, basePath));
|
|
4855
4855
|
},
|
|
4856
4856
|
/**
|
|
4857
|
-
* Download the compressed graph reference by the hash in a zip file
|
|
4857
|
+
* Download the compressed graph reference by the hash in a zip file Note: This endpoint is activated only if `csm.platform.twincache.useGraphModule` property is set to true
|
|
4858
4858
|
* @summary Download a graph as a zip file
|
|
4859
4859
|
* @param {string} organizationId the Organization identifier
|
|
4860
4860
|
* @param {string} hash the Graph download identifier
|
|
@@ -4933,7 +4933,7 @@ export const DatasetApiFactory = function (configuration?: Configuration, basePa
|
|
|
4933
4933
|
return localVarFp.getDatasetTwingraphStatus(organizationId, datasetId, options).then((request) => request(axios, basePath));
|
|
4934
4934
|
},
|
|
4935
4935
|
/**
|
|
4936
|
-
*
|
|
4936
|
+
* Get entities in a graph instance Note: This endpoint is activated only if `csm.platform.twincache.useGraphModule` property is set to true
|
|
4937
4937
|
* @summary Get entities in a graph instance
|
|
4938
4938
|
* @param {string} organizationId the Organization identifier
|
|
4939
4939
|
* @param {string} datasetId the Dataset Identifier
|
|
@@ -4957,7 +4957,7 @@ export const DatasetApiFactory = function (configuration?: Configuration, basePa
|
|
|
4957
4957
|
return localVarFp.linkWorkspace(organizationId, datasetId, workspaceId, options).then((request) => request(axios, basePath));
|
|
4958
4958
|
},
|
|
4959
4959
|
/**
|
|
4960
|
-
* Refresh dataset from parent source. At date, sources can be: dataset (refresh from another dataset) Azure Digital twin Azure storage Local File (import a new file) During refresh, datas are overwritten
|
|
4960
|
+
* Refresh dataset from parent source. At date, sources can be: dataset (refresh from another dataset) Azure Digital twin Azure storage Local File (import a new file) During refresh, datas are overwritten Note: This endpoint is activated only if `csm.platform.twincache.useGraphModule` property is set to true
|
|
4961
4961
|
* @summary Refresh data on dataset from dataset\'s source
|
|
4962
4962
|
* @param {string} organizationId the Organization identifier
|
|
4963
4963
|
* @param {string} datasetId the Dataset identifier
|
|
@@ -4991,7 +4991,7 @@ export const DatasetApiFactory = function (configuration?: Configuration, basePa
|
|
|
4991
4991
|
return localVarFp.removeDatasetAccessControl(organizationId, datasetId, identityId, options).then((request) => request(axios, basePath));
|
|
4992
4992
|
},
|
|
4993
4993
|
/**
|
|
4994
|
-
* Rollback the twingraph on a dataset after a failed refresh
|
|
4994
|
+
* Rollback the twingraph on a dataset after a failed refresh Note: This endpoint is activated only if `csm.platform.twincache.useGraphModule` property is set to true
|
|
4995
4995
|
* @summary Rollback the dataset after a failed refresh
|
|
4996
4996
|
* @param {string} organizationId the Organization identifier
|
|
4997
4997
|
* @param {string} datasetId the Dataset identifier
|
|
@@ -5027,7 +5027,7 @@ export const DatasetApiFactory = function (configuration?: Configuration, basePa
|
|
|
5027
5027
|
return localVarFp.setDatasetDefaultSecurity(organizationId, datasetId, datasetRole, options).then((request) => request(axios, basePath));
|
|
5028
5028
|
},
|
|
5029
5029
|
/**
|
|
5030
|
-
* Run a query on a graph instance and return the result as a zip file in async mode
|
|
5030
|
+
* Run a query on a graph instance and return the result as a zip file in async mode Note: This endpoint is activated only if `csm.platform.twincache.useGraphModule` property is set to true
|
|
5031
5031
|
* @summary Run a query on a graph instance and return the result as a zip file in async mode
|
|
5032
5032
|
* @param {string} organizationId the Organization identifier
|
|
5033
5033
|
* @param {string} datasetId the Graph Identifier
|
|
@@ -5039,7 +5039,7 @@ export const DatasetApiFactory = function (configuration?: Configuration, basePa
|
|
|
5039
5039
|
return localVarFp.twingraphBatchQuery(organizationId, datasetId, datasetTwinGraphQuery, options).then((request) => request(axios, basePath));
|
|
5040
5040
|
},
|
|
5041
5041
|
/**
|
|
5042
|
-
* Async batch update by loading a CSV file on a graph instance
|
|
5042
|
+
* Async batch update by loading a CSV file on a graph instance Note: This endpoint is activated only if `csm.platform.twincache.useGraphModule` property is set to true
|
|
5043
5043
|
* @summary Async batch update by loading a CSV file on a graph instance
|
|
5044
5044
|
* @param {string} organizationId the Organization identifier
|
|
5045
5045
|
* @param {string} datasetId the Dataset Identifier
|
|
@@ -5052,7 +5052,7 @@ export const DatasetApiFactory = function (configuration?: Configuration, basePa
|
|
|
5052
5052
|
return localVarFp.twingraphBatchUpdate(organizationId, datasetId, twinGraphQuery, body, options).then((request) => request(axios, basePath));
|
|
5053
5053
|
},
|
|
5054
5054
|
/**
|
|
5055
|
-
* Run a query on a graph instance and return the result as a json
|
|
5055
|
+
* Run a query on a graph instance and return the result as a json Note: This endpoint is activated only if `csm.platform.twincache.useGraphModule` property is set to true
|
|
5056
5056
|
* @summary Return the result of a query made on the graph instance as a json
|
|
5057
5057
|
* @param {string} organizationId the Organization identifier
|
|
5058
5058
|
* @param {string} datasetId the Dataset identifier
|
|
@@ -5105,7 +5105,7 @@ export const DatasetApiFactory = function (configuration?: Configuration, basePa
|
|
|
5105
5105
|
* @param {string} organizationId the Organization identifier
|
|
5106
5106
|
* @param {string} datasetId the Dataset Identifier
|
|
5107
5107
|
* @param {UpdateTwingraphEntitiesTypeEnum} type the entity model type
|
|
5108
|
-
* @param {Array<GraphProperties>} graphProperties
|
|
5108
|
+
* @param {Array<GraphProperties>} graphProperties The entities to update Note: This endpoint is activated only if `csm.platform.twincache.useGraphModule` property is set to true
|
|
5109
5109
|
* @param {*} [options] Override http request option.
|
|
5110
5110
|
* @throws {RequiredError}
|
|
5111
5111
|
*/
|
|
@@ -5113,7 +5113,7 @@ export const DatasetApiFactory = function (configuration?: Configuration, basePa
|
|
|
5113
5113
|
return localVarFp.updateTwingraphEntities(organizationId, datasetId, type, graphProperties, options).then((request) => request(axios, basePath));
|
|
5114
5114
|
},
|
|
5115
5115
|
/**
|
|
5116
|
-
* To create a new graph from flat files, you need to create a Zip file. This Zip file must countain two folders named Edges and Nodes. .zip hierarchy: *main_folder/Nodes *main_folder/Edges In each folder you can place one or multiple csv files containing your Nodes or Edges data. Your csv files must follow the following header (column name) requirements: The Nodes CSVs requires at least one column (the 1st).Column name = \'id\'. It will represent the nodes ID Ids must be populated with string The Edges CSVs require three columns named, in order, * source * target * id those colomns represent * The source of the edge * The target of the edge * The id of the edge All following columns content are up to you.
|
|
5116
|
+
* To create a new graph from flat files, you need to create a Zip file. This Zip file must countain two folders named Edges and Nodes. .zip hierarchy: *main_folder/Nodes *main_folder/Edges In each folder you can place one or multiple csv files containing your Nodes or Edges data. Your csv files must follow the following header (column name) requirements: The Nodes CSVs requires at least one column (the 1st).Column name = \'id\'. It will represent the nodes ID Ids must be populated with string The Edges CSVs require three columns named, in order, * source * target * id those colomns represent * The source of the edge * The target of the edge * The id of the edge All following columns content are up to you. Note: This endpoint is activated only if `csm.platform.twincache.useGraphModule` property is set to true
|
|
5117
5117
|
* @summary Upload data from zip file to dataset\'s twingraph
|
|
5118
5118
|
* @param {string} organizationId the Organization identifier
|
|
5119
5119
|
* @param {string} datasetId the Dataset identifier
|
|
@@ -5189,7 +5189,7 @@ export class DatasetApi extends BaseAPI {
|
|
|
5189
5189
|
}
|
|
5190
5190
|
|
|
5191
5191
|
/**
|
|
5192
|
-
* Create a copy of the dataset using the results of the list of queries given in parameter.
|
|
5192
|
+
* Create a copy of the dataset using the results of the list of queries given in parameter. Note: This endpoint is activated only if `csm.platform.twincache.useGraphModule` property is set to true
|
|
5193
5193
|
* @summary Create a sub-dataset from the dataset in parameter
|
|
5194
5194
|
* @param {string} organizationId the Organization identifier
|
|
5195
5195
|
* @param {string} datasetId the Dataset identifier
|
|
@@ -5203,7 +5203,7 @@ export class DatasetApi extends BaseAPI {
|
|
|
5203
5203
|
}
|
|
5204
5204
|
|
|
5205
5205
|
/**
|
|
5206
|
-
*
|
|
5206
|
+
* Create new entities in a graph instance Note: This endpoint is activated only if `csm.platform.twincache.useGraphModule` property is set to true
|
|
5207
5207
|
* @summary Create new entities in a graph instance
|
|
5208
5208
|
* @param {string} organizationId the Organization identifier
|
|
5209
5209
|
* @param {string} datasetId the Dataset Identifier
|
|
@@ -5231,7 +5231,7 @@ export class DatasetApi extends BaseAPI {
|
|
|
5231
5231
|
}
|
|
5232
5232
|
|
|
5233
5233
|
/**
|
|
5234
|
-
*
|
|
5234
|
+
* Delete entities in a graph instance Note: This endpoint is activated only if `csm.platform.twincache.useGraphModule` property is set to true
|
|
5235
5235
|
* @summary Delete entities in a graph instance
|
|
5236
5236
|
* @param {string} organizationId the Organization identifier
|
|
5237
5237
|
* @param {string} datasetId the Dataset Identifier
|
|
@@ -5246,7 +5246,7 @@ export class DatasetApi extends BaseAPI {
|
|
|
5246
5246
|
}
|
|
5247
5247
|
|
|
5248
5248
|
/**
|
|
5249
|
-
* Download the compressed graph reference by the hash in a zip file
|
|
5249
|
+
* Download the compressed graph reference by the hash in a zip file Note: This endpoint is activated only if `csm.platform.twincache.useGraphModule` property is set to true
|
|
5250
5250
|
* @summary Download a graph as a zip file
|
|
5251
5251
|
* @param {string} organizationId the Organization identifier
|
|
5252
5252
|
* @param {string} hash the Graph download identifier
|
|
@@ -5339,7 +5339,7 @@ export class DatasetApi extends BaseAPI {
|
|
|
5339
5339
|
}
|
|
5340
5340
|
|
|
5341
5341
|
/**
|
|
5342
|
-
*
|
|
5342
|
+
* Get entities in a graph instance Note: This endpoint is activated only if `csm.platform.twincache.useGraphModule` property is set to true
|
|
5343
5343
|
* @summary Get entities in a graph instance
|
|
5344
5344
|
* @param {string} organizationId the Organization identifier
|
|
5345
5345
|
* @param {string} datasetId the Dataset Identifier
|
|
@@ -5367,7 +5367,7 @@ export class DatasetApi extends BaseAPI {
|
|
|
5367
5367
|
}
|
|
5368
5368
|
|
|
5369
5369
|
/**
|
|
5370
|
-
* Refresh dataset from parent source. At date, sources can be: dataset (refresh from another dataset) Azure Digital twin Azure storage Local File (import a new file) During refresh, datas are overwritten
|
|
5370
|
+
* Refresh dataset from parent source. At date, sources can be: dataset (refresh from another dataset) Azure Digital twin Azure storage Local File (import a new file) During refresh, datas are overwritten Note: This endpoint is activated only if `csm.platform.twincache.useGraphModule` property is set to true
|
|
5371
5371
|
* @summary Refresh data on dataset from dataset\'s source
|
|
5372
5372
|
* @param {string} organizationId the Organization identifier
|
|
5373
5373
|
* @param {string} datasetId the Dataset identifier
|
|
@@ -5407,7 +5407,7 @@ export class DatasetApi extends BaseAPI {
|
|
|
5407
5407
|
}
|
|
5408
5408
|
|
|
5409
5409
|
/**
|
|
5410
|
-
* Rollback the twingraph on a dataset after a failed refresh
|
|
5410
|
+
* Rollback the twingraph on a dataset after a failed refresh Note: This endpoint is activated only if `csm.platform.twincache.useGraphModule` property is set to true
|
|
5411
5411
|
* @summary Rollback the dataset after a failed refresh
|
|
5412
5412
|
* @param {string} organizationId the Organization identifier
|
|
5413
5413
|
* @param {string} datasetId the Dataset identifier
|
|
@@ -5449,7 +5449,7 @@ export class DatasetApi extends BaseAPI {
|
|
|
5449
5449
|
}
|
|
5450
5450
|
|
|
5451
5451
|
/**
|
|
5452
|
-
* Run a query on a graph instance and return the result as a zip file in async mode
|
|
5452
|
+
* Run a query on a graph instance and return the result as a zip file in async mode Note: This endpoint is activated only if `csm.platform.twincache.useGraphModule` property is set to true
|
|
5453
5453
|
* @summary Run a query on a graph instance and return the result as a zip file in async mode
|
|
5454
5454
|
* @param {string} organizationId the Organization identifier
|
|
5455
5455
|
* @param {string} datasetId the Graph Identifier
|
|
@@ -5463,7 +5463,7 @@ export class DatasetApi extends BaseAPI {
|
|
|
5463
5463
|
}
|
|
5464
5464
|
|
|
5465
5465
|
/**
|
|
5466
|
-
* Async batch update by loading a CSV file on a graph instance
|
|
5466
|
+
* Async batch update by loading a CSV file on a graph instance Note: This endpoint is activated only if `csm.platform.twincache.useGraphModule` property is set to true
|
|
5467
5467
|
* @summary Async batch update by loading a CSV file on a graph instance
|
|
5468
5468
|
* @param {string} organizationId the Organization identifier
|
|
5469
5469
|
* @param {string} datasetId the Dataset Identifier
|
|
@@ -5478,7 +5478,7 @@ export class DatasetApi extends BaseAPI {
|
|
|
5478
5478
|
}
|
|
5479
5479
|
|
|
5480
5480
|
/**
|
|
5481
|
-
* Run a query on a graph instance and return the result as a json
|
|
5481
|
+
* Run a query on a graph instance and return the result as a json Note: This endpoint is activated only if `csm.platform.twincache.useGraphModule` property is set to true
|
|
5482
5482
|
* @summary Return the result of a query made on the graph instance as a json
|
|
5483
5483
|
* @param {string} organizationId the Organization identifier
|
|
5484
5484
|
* @param {string} datasetId the Dataset identifier
|
|
@@ -5539,7 +5539,7 @@ export class DatasetApi extends BaseAPI {
|
|
|
5539
5539
|
* @param {string} organizationId the Organization identifier
|
|
5540
5540
|
* @param {string} datasetId the Dataset Identifier
|
|
5541
5541
|
* @param {UpdateTwingraphEntitiesTypeEnum} type the entity model type
|
|
5542
|
-
* @param {Array<GraphProperties>} graphProperties
|
|
5542
|
+
* @param {Array<GraphProperties>} graphProperties The entities to update Note: This endpoint is activated only if `csm.platform.twincache.useGraphModule` property is set to true
|
|
5543
5543
|
* @param {*} [options] Override http request option.
|
|
5544
5544
|
* @throws {RequiredError}
|
|
5545
5545
|
* @memberof DatasetApi
|
|
@@ -5549,7 +5549,7 @@ export class DatasetApi extends BaseAPI {
|
|
|
5549
5549
|
}
|
|
5550
5550
|
|
|
5551
5551
|
/**
|
|
5552
|
-
* To create a new graph from flat files, you need to create a Zip file. This Zip file must countain two folders named Edges and Nodes. .zip hierarchy: *main_folder/Nodes *main_folder/Edges In each folder you can place one or multiple csv files containing your Nodes or Edges data. Your csv files must follow the following header (column name) requirements: The Nodes CSVs requires at least one column (the 1st).Column name = \'id\'. It will represent the nodes ID Ids must be populated with string The Edges CSVs require three columns named, in order, * source * target * id those colomns represent * The source of the edge * The target of the edge * The id of the edge All following columns content are up to you.
|
|
5552
|
+
* To create a new graph from flat files, you need to create a Zip file. This Zip file must countain two folders named Edges and Nodes. .zip hierarchy: *main_folder/Nodes *main_folder/Edges In each folder you can place one or multiple csv files containing your Nodes or Edges data. Your csv files must follow the following header (column name) requirements: The Nodes CSVs requires at least one column (the 1st).Column name = \'id\'. It will represent the nodes ID Ids must be populated with string The Edges CSVs require three columns named, in order, * source * target * id those colomns represent * The source of the edge * The target of the edge * The id of the edge All following columns content are up to you. Note: This endpoint is activated only if `csm.platform.twincache.useGraphModule` property is set to true
|
|
5553
5553
|
* @summary Upload data from zip file to dataset\'s twingraph
|
|
5554
5554
|
* @param {string} organizationId the Organization identifier
|
|
5555
5555
|
* @param {string} datasetId the Dataset identifier
|
package/base.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Cosmo Tech Platform API
|
|
5
5
|
* Cosmo Tech Platform API
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 4.
|
|
7
|
+
* The version of the OpenAPI document: 4.2.5-onprem
|
|
8
8
|
* Contact: platform@cosmotech.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/common.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Cosmo Tech Platform API
|
|
5
5
|
* Cosmo Tech Platform API
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 4.
|
|
7
|
+
* The version of the OpenAPI document: 4.2.5-onprem
|
|
8
8
|
* Contact: platform@cosmotech.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -18,16 +18,11 @@ import type { RequestArgs } from "./base";
|
|
|
18
18
|
import type { AxiosInstance, AxiosResponse } from 'axios';
|
|
19
19
|
import { RequiredError } from "./base";
|
|
20
20
|
|
|
21
|
-
/**
|
|
22
|
-
*
|
|
23
|
-
* @export
|
|
24
|
-
*/
|
|
25
21
|
export const DUMMY_BASE_URL = 'https://example.com'
|
|
26
22
|
|
|
27
23
|
/**
|
|
28
24
|
*
|
|
29
25
|
* @throws {RequiredError}
|
|
30
|
-
* @export
|
|
31
26
|
*/
|
|
32
27
|
export const assertParamExists = function (functionName: string, paramName: string, paramValue: unknown) {
|
|
33
28
|
if (paramValue === null || paramValue === undefined) {
|
|
@@ -35,10 +30,6 @@ export const assertParamExists = function (functionName: string, paramName: stri
|
|
|
35
30
|
}
|
|
36
31
|
}
|
|
37
32
|
|
|
38
|
-
/**
|
|
39
|
-
*
|
|
40
|
-
* @export
|
|
41
|
-
*/
|
|
42
33
|
export const setApiKeyToObject = async function (object: any, keyParamName: string, configuration?: Configuration) {
|
|
43
34
|
if (configuration && configuration.apiKey) {
|
|
44
35
|
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
@@ -48,20 +39,12 @@ export const setApiKeyToObject = async function (object: any, keyParamName: stri
|
|
|
48
39
|
}
|
|
49
40
|
}
|
|
50
41
|
|
|
51
|
-
/**
|
|
52
|
-
*
|
|
53
|
-
* @export
|
|
54
|
-
*/
|
|
55
42
|
export const setBasicAuthToObject = function (object: any, configuration?: Configuration) {
|
|
56
43
|
if (configuration && (configuration.username || configuration.password)) {
|
|
57
44
|
object["auth"] = { username: configuration.username, password: configuration.password };
|
|
58
45
|
}
|
|
59
46
|
}
|
|
60
47
|
|
|
61
|
-
/**
|
|
62
|
-
*
|
|
63
|
-
* @export
|
|
64
|
-
*/
|
|
65
48
|
export const setBearerAuthToObject = async function (object: any, configuration?: Configuration) {
|
|
66
49
|
if (configuration && configuration.accessToken) {
|
|
67
50
|
const accessToken = typeof configuration.accessToken === 'function'
|
|
@@ -71,10 +54,6 @@ export const setBearerAuthToObject = async function (object: any, configuration?
|
|
|
71
54
|
}
|
|
72
55
|
}
|
|
73
56
|
|
|
74
|
-
/**
|
|
75
|
-
*
|
|
76
|
-
* @export
|
|
77
|
-
*/
|
|
78
57
|
export const setOAuthToObject = async function (object: any, name: string, scopes: string[], configuration?: Configuration) {
|
|
79
58
|
if (configuration && configuration.accessToken) {
|
|
80
59
|
const localVarAccessTokenValue = typeof configuration.accessToken === 'function'
|
|
@@ -84,32 +63,29 @@ export const setOAuthToObject = async function (object: any, name: string, scope
|
|
|
84
63
|
}
|
|
85
64
|
}
|
|
86
65
|
|
|
66
|
+
|
|
87
67
|
function setFlattenedQueryParams(urlSearchParams: URLSearchParams, parameter: any, key: string = ""): void {
|
|
88
68
|
if (parameter == null) return;
|
|
89
69
|
if (typeof parameter === "object") {
|
|
90
|
-
if (Array.isArray(parameter)) {
|
|
70
|
+
if (Array.isArray(parameter) || parameter instanceof Set) {
|
|
91
71
|
(parameter as any[]).forEach(item => setFlattenedQueryParams(urlSearchParams, item, key));
|
|
92
|
-
}
|
|
72
|
+
}
|
|
93
73
|
else {
|
|
94
|
-
Object.keys(parameter).forEach(currentKey =>
|
|
74
|
+
Object.keys(parameter).forEach(currentKey =>
|
|
95
75
|
setFlattenedQueryParams(urlSearchParams, parameter[currentKey], `${key}${key !== '' ? '.' : ''}${currentKey}`)
|
|
96
76
|
);
|
|
97
77
|
}
|
|
98
|
-
}
|
|
78
|
+
}
|
|
99
79
|
else {
|
|
100
80
|
if (urlSearchParams.has(key)) {
|
|
101
81
|
urlSearchParams.append(key, parameter);
|
|
102
|
-
}
|
|
82
|
+
}
|
|
103
83
|
else {
|
|
104
84
|
urlSearchParams.set(key, parameter);
|
|
105
85
|
}
|
|
106
86
|
}
|
|
107
87
|
}
|
|
108
88
|
|
|
109
|
-
/**
|
|
110
|
-
*
|
|
111
|
-
* @export
|
|
112
|
-
*/
|
|
113
89
|
export const setSearchParams = function (url: URL, ...objects: any[]) {
|
|
114
90
|
const searchParams = new URLSearchParams(url.search);
|
|
115
91
|
setFlattenedQueryParams(searchParams, objects);
|
|
@@ -117,34 +93,36 @@ export const setSearchParams = function (url: URL, ...objects: any[]) {
|
|
|
117
93
|
}
|
|
118
94
|
|
|
119
95
|
/**
|
|
120
|
-
*
|
|
121
|
-
*
|
|
96
|
+
* JSON serialization helper function which replaces instances of unserializable types with serializable ones.
|
|
97
|
+
* This function will run for every key-value pair encountered by JSON.stringify while traversing an object.
|
|
98
|
+
* Converting a set to a string will return an empty object, so an intermediate conversion to an array is required.
|
|
122
99
|
*/
|
|
100
|
+
// @ts-ignore
|
|
101
|
+
export const replaceWithSerializableTypeIfNeeded = function(key: string, value: any) {
|
|
102
|
+
if (value instanceof Set) {
|
|
103
|
+
return Array.from(value);
|
|
104
|
+
} else {
|
|
105
|
+
return value;
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
|
|
123
109
|
export const serializeDataIfNeeded = function (value: any, requestOptions: any, configuration?: Configuration) {
|
|
124
110
|
const nonString = typeof value !== 'string';
|
|
125
111
|
const needsSerialization = nonString && configuration && configuration.isJsonMime
|
|
126
112
|
? configuration.isJsonMime(requestOptions.headers['Content-Type'])
|
|
127
113
|
: nonString;
|
|
128
114
|
return needsSerialization
|
|
129
|
-
? JSON.stringify(value !== undefined ? value : {})
|
|
115
|
+
? JSON.stringify(value !== undefined ? value : {}, replaceWithSerializableTypeIfNeeded)
|
|
130
116
|
: (value || "");
|
|
131
117
|
}
|
|
132
118
|
|
|
133
|
-
/**
|
|
134
|
-
*
|
|
135
|
-
* @export
|
|
136
|
-
*/
|
|
137
119
|
export const toPathString = function (url: URL) {
|
|
138
120
|
return url.pathname + url.search + url.hash
|
|
139
121
|
}
|
|
140
122
|
|
|
141
|
-
/**
|
|
142
|
-
*
|
|
143
|
-
* @export
|
|
144
|
-
*/
|
|
145
123
|
export const createRequestFunction = function (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) {
|
|
146
|
-
return <T = unknown, R = AxiosResponse<T>>(axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
|
|
124
|
+
return <T = unknown, R = AxiosResponse<T>>(axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH): Promise<R> => {
|
|
147
125
|
const axiosRequestArgs = {...axiosArgs.options, url: (axios.defaults.baseURL ? '' : configuration?.basePath ?? basePath) + axiosArgs.url};
|
|
148
|
-
return axios.request<T, R>(axiosRequestArgs)
|
|
126
|
+
return axios.request<T, R>(axiosRequestArgs) as Promise<R>;
|
|
149
127
|
};
|
|
150
128
|
}
|
package/configuration.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Cosmo Tech Platform API
|
|
5
5
|
* Cosmo Tech Platform API
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 4.
|
|
7
|
+
* The version of the OpenAPI document: 4.2.5-onprem
|
|
8
8
|
* Contact: platform@cosmotech.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -89,7 +89,12 @@ export class Configuration {
|
|
|
89
89
|
this.accessToken = param.accessToken;
|
|
90
90
|
this.basePath = param.basePath;
|
|
91
91
|
this.serverIndex = param.serverIndex;
|
|
92
|
-
this.baseOptions =
|
|
92
|
+
this.baseOptions = {
|
|
93
|
+
...param.baseOptions,
|
|
94
|
+
headers: {
|
|
95
|
+
...param.baseOptions?.headers,
|
|
96
|
+
},
|
|
97
|
+
};
|
|
93
98
|
this.formDataCtor = param.formDataCtor;
|
|
94
99
|
}
|
|
95
100
|
|