@cosmotech/api-ts 3.0.10-private → 3.0.14-dev
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/README.md +2 -2
- package/api.ts +507 -109
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +330 -101
- package/dist/api.js +542 -109
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/index.ts +1 -1
- package/package.json +1 -1
package/dist/api.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Cosmo Tech Platform API
|
|
6
6
|
* Cosmo Tech Platform API
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 3.0.
|
|
8
|
+
* The version of the OpenAPI document: 3.0.14-dev
|
|
9
9
|
* Contact: platform@cosmotech.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -775,8 +775,8 @@ exports.DatasetApiAxiosParamCreator = function (configuration) {
|
|
|
775
775
|
});
|
|
776
776
|
},
|
|
777
777
|
/**
|
|
778
|
-
*
|
|
779
|
-
* @summary Copy a Dataset to another Dataset.
|
|
778
|
+
* Not implemented!
|
|
779
|
+
* @summary Copy a Dataset to another Dataset.
|
|
780
780
|
* @param {string} organizationId the Organization identifier
|
|
781
781
|
* @param {DatasetCopyParameters} datasetCopyParameters the Dataset copy parameters
|
|
782
782
|
* @param {*} [options] Override http request option.
|
|
@@ -871,11 +871,11 @@ exports.DatasetApiAxiosParamCreator = function (configuration) {
|
|
|
871
871
|
});
|
|
872
872
|
},
|
|
873
873
|
/**
|
|
874
|
-
*
|
|
875
|
-
* @summary
|
|
874
|
+
* Create a copy of the dataset using the results of the list of queries given in parameter.
|
|
875
|
+
* @summary Create a sub-dataset from the dataset in parameter
|
|
876
876
|
* @param {string} organizationId the Organization identifier
|
|
877
877
|
* @param {string} datasetId the Dataset identifier
|
|
878
|
-
* @param {SubDatasetGraphQuery} subDatasetGraphQuery the query to
|
|
878
|
+
* @param {SubDatasetGraphQuery} subDatasetGraphQuery the Cypher query to filter
|
|
879
879
|
* @param {*} [options] Override http request option.
|
|
880
880
|
* @throws {RequiredError}
|
|
881
881
|
*/
|
|
@@ -1083,8 +1083,8 @@ exports.DatasetApiAxiosParamCreator = function (configuration) {
|
|
|
1083
1083
|
});
|
|
1084
1084
|
},
|
|
1085
1085
|
/**
|
|
1086
|
-
* Download
|
|
1087
|
-
* @summary Download a graph
|
|
1086
|
+
* Download the compressed graph reference by the hash in a zip file
|
|
1087
|
+
* @summary Download a graph as a zip file
|
|
1088
1088
|
* @param {string} organizationId the Organization identifier
|
|
1089
1089
|
* @param {string} hash the Graph download identifier
|
|
1090
1090
|
* @param {*} [options] Override http request option.
|
|
@@ -1278,6 +1278,53 @@ exports.DatasetApiAxiosParamCreator = function (configuration) {
|
|
|
1278
1278
|
});
|
|
1279
1279
|
});
|
|
1280
1280
|
},
|
|
1281
|
+
/**
|
|
1282
|
+
*
|
|
1283
|
+
* @summary Get the Dataset security information
|
|
1284
|
+
* @param {string} organizationId the Organization identifier
|
|
1285
|
+
* @param {string} datasetId the Dataset identifier
|
|
1286
|
+
* @param {*} [options] Override http request option.
|
|
1287
|
+
* @throws {RequiredError}
|
|
1288
|
+
*/
|
|
1289
|
+
getDatasetSecurity: function (organizationId, datasetId, options) {
|
|
1290
|
+
if (options === void 0) { options = {}; }
|
|
1291
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
1292
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
1293
|
+
return __generator(this, function (_a) {
|
|
1294
|
+
switch (_a.label) {
|
|
1295
|
+
case 0:
|
|
1296
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
1297
|
+
common_1.assertParamExists('getDatasetSecurity', 'organizationId', organizationId);
|
|
1298
|
+
// verify required parameter 'datasetId' is not null or undefined
|
|
1299
|
+
common_1.assertParamExists('getDatasetSecurity', 'datasetId', datasetId);
|
|
1300
|
+
localVarPath = "/organizations/{organization_id}/datasets/{dataset_id}/security"
|
|
1301
|
+
.replace("{" + "organization_id" + "}", encodeURIComponent(String(organizationId)))
|
|
1302
|
+
.replace("{" + "dataset_id" + "}", encodeURIComponent(String(datasetId)));
|
|
1303
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1304
|
+
if (configuration) {
|
|
1305
|
+
baseOptions = configuration.baseOptions;
|
|
1306
|
+
}
|
|
1307
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
1308
|
+
localVarHeaderParameter = {};
|
|
1309
|
+
localVarQueryParameter = {};
|
|
1310
|
+
// authentication oAuth2AuthCode required
|
|
1311
|
+
// oauth required
|
|
1312
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oAuth2AuthCode", [], configuration)];
|
|
1313
|
+
case 1:
|
|
1314
|
+
// authentication oAuth2AuthCode required
|
|
1315
|
+
// oauth required
|
|
1316
|
+
_a.sent();
|
|
1317
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1318
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1319
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1320
|
+
return [2 /*return*/, {
|
|
1321
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
1322
|
+
options: localVarRequestOptions,
|
|
1323
|
+
}];
|
|
1324
|
+
}
|
|
1325
|
+
});
|
|
1326
|
+
});
|
|
1327
|
+
},
|
|
1281
1328
|
/**
|
|
1282
1329
|
*
|
|
1283
1330
|
* @summary Get the Dataset security users list
|
|
@@ -1326,15 +1373,14 @@ exports.DatasetApiAxiosParamCreator = function (configuration) {
|
|
|
1326
1373
|
});
|
|
1327
1374
|
},
|
|
1328
1375
|
/**
|
|
1329
|
-
* Get the status of
|
|
1330
|
-
* @summary Get the
|
|
1376
|
+
* Get the status of the import workflow lauch on the dataset\'s refresh.
|
|
1377
|
+
* @summary Get the dataset\'s refresh job status
|
|
1331
1378
|
* @param {string} organizationId the Organization identifier
|
|
1332
1379
|
* @param {string} datasetId the dataset identifier
|
|
1333
|
-
* @param {string} jobId the job identifier
|
|
1334
1380
|
* @param {*} [options] Override http request option.
|
|
1335
1381
|
* @throws {RequiredError}
|
|
1336
1382
|
*/
|
|
1337
|
-
getDatasetTwingraphStatus: function (organizationId, datasetId,
|
|
1383
|
+
getDatasetTwingraphStatus: function (organizationId, datasetId, options) {
|
|
1338
1384
|
if (options === void 0) { options = {}; }
|
|
1339
1385
|
return __awaiter(_this, void 0, void 0, function () {
|
|
1340
1386
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -1345,12 +1391,9 @@ exports.DatasetApiAxiosParamCreator = function (configuration) {
|
|
|
1345
1391
|
common_1.assertParamExists('getDatasetTwingraphStatus', 'organizationId', organizationId);
|
|
1346
1392
|
// verify required parameter 'datasetId' is not null or undefined
|
|
1347
1393
|
common_1.assertParamExists('getDatasetTwingraphStatus', 'datasetId', datasetId);
|
|
1348
|
-
|
|
1349
|
-
common_1.assertParamExists('getDatasetTwingraphStatus', 'jobId', jobId);
|
|
1350
|
-
localVarPath = "/organizations/{organization_id}/datasets/{dataset_id}/job/{job_id}/status"
|
|
1394
|
+
localVarPath = "/organizations/{organization_id}/datasets/{dataset_id}/status"
|
|
1351
1395
|
.replace("{" + "organization_id" + "}", encodeURIComponent(String(organizationId)))
|
|
1352
|
-
.replace("{" + "dataset_id" + "}", encodeURIComponent(String(datasetId)))
|
|
1353
|
-
.replace("{" + "job_id" + "}", encodeURIComponent(String(jobId)));
|
|
1396
|
+
.replace("{" + "dataset_id" + "}", encodeURIComponent(String(datasetId)));
|
|
1354
1397
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1355
1398
|
if (configuration) {
|
|
1356
1399
|
baseOptions = configuration.baseOptions;
|
|
@@ -1434,8 +1477,8 @@ exports.DatasetApiAxiosParamCreator = function (configuration) {
|
|
|
1434
1477
|
});
|
|
1435
1478
|
},
|
|
1436
1479
|
/**
|
|
1437
|
-
* Refresh
|
|
1438
|
-
* @summary Refresh dataset
|
|
1480
|
+
* 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
|
|
1481
|
+
* @summary Refresh data on dataset from dataset\'s source
|
|
1439
1482
|
* @param {string} organizationId the Organization identifier
|
|
1440
1483
|
* @param {string} datasetId the Dataset identifier
|
|
1441
1484
|
* @param {*} [options] Override http request option.
|
|
@@ -1580,7 +1623,7 @@ exports.DatasetApiAxiosParamCreator = function (configuration) {
|
|
|
1580
1623
|
},
|
|
1581
1624
|
/**
|
|
1582
1625
|
*
|
|
1583
|
-
* @summary Search Datasets
|
|
1626
|
+
* @summary Search Datasets by tags
|
|
1584
1627
|
* @param {string} organizationId the Organization identifier
|
|
1585
1628
|
* @param {DatasetSearch} datasetSearch the Dataset search parameters
|
|
1586
1629
|
* @param {number} [page] page number to query
|
|
@@ -1634,6 +1677,58 @@ exports.DatasetApiAxiosParamCreator = function (configuration) {
|
|
|
1634
1677
|
});
|
|
1635
1678
|
});
|
|
1636
1679
|
},
|
|
1680
|
+
/**
|
|
1681
|
+
*
|
|
1682
|
+
* @summary Set the Dataset default security
|
|
1683
|
+
* @param {string} organizationId the Organization identifier
|
|
1684
|
+
* @param {string} datasetId the Dataset identifier
|
|
1685
|
+
* @param {DatasetRole} datasetRole This change the dataset default security. The default security is the role assigned to any person not on the Access Control List. If the default security is None, then nobody outside of the ACL can access the dataset.
|
|
1686
|
+
* @param {*} [options] Override http request option.
|
|
1687
|
+
* @throws {RequiredError}
|
|
1688
|
+
*/
|
|
1689
|
+
setDatasetDefaultSecurity: function (organizationId, datasetId, datasetRole, options) {
|
|
1690
|
+
if (options === void 0) { options = {}; }
|
|
1691
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
1692
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
1693
|
+
return __generator(this, function (_a) {
|
|
1694
|
+
switch (_a.label) {
|
|
1695
|
+
case 0:
|
|
1696
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
1697
|
+
common_1.assertParamExists('setDatasetDefaultSecurity', 'organizationId', organizationId);
|
|
1698
|
+
// verify required parameter 'datasetId' is not null or undefined
|
|
1699
|
+
common_1.assertParamExists('setDatasetDefaultSecurity', 'datasetId', datasetId);
|
|
1700
|
+
// verify required parameter 'datasetRole' is not null or undefined
|
|
1701
|
+
common_1.assertParamExists('setDatasetDefaultSecurity', 'datasetRole', datasetRole);
|
|
1702
|
+
localVarPath = "/organizations/{organization_id}/datasets/{dataset_id}/security/default"
|
|
1703
|
+
.replace("{" + "organization_id" + "}", encodeURIComponent(String(organizationId)))
|
|
1704
|
+
.replace("{" + "dataset_id" + "}", encodeURIComponent(String(datasetId)));
|
|
1705
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1706
|
+
if (configuration) {
|
|
1707
|
+
baseOptions = configuration.baseOptions;
|
|
1708
|
+
}
|
|
1709
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
1710
|
+
localVarHeaderParameter = {};
|
|
1711
|
+
localVarQueryParameter = {};
|
|
1712
|
+
// authentication oAuth2AuthCode required
|
|
1713
|
+
// oauth required
|
|
1714
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oAuth2AuthCode", [], configuration)];
|
|
1715
|
+
case 1:
|
|
1716
|
+
// authentication oAuth2AuthCode required
|
|
1717
|
+
// oauth required
|
|
1718
|
+
_a.sent();
|
|
1719
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1720
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1721
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1722
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1723
|
+
localVarRequestOptions.data = common_1.serializeDataIfNeeded(datasetRole, localVarRequestOptions, configuration);
|
|
1724
|
+
return [2 /*return*/, {
|
|
1725
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
1726
|
+
options: localVarRequestOptions,
|
|
1727
|
+
}];
|
|
1728
|
+
}
|
|
1729
|
+
});
|
|
1730
|
+
});
|
|
1731
|
+
},
|
|
1637
1732
|
/**
|
|
1638
1733
|
* Run a query on a graph instance and return the result as a zip file in async mode
|
|
1639
1734
|
* @summary Run a query on a graph instance and return the result as a zip file in async mode
|
|
@@ -1746,7 +1841,7 @@ exports.DatasetApiAxiosParamCreator = function (configuration) {
|
|
|
1746
1841
|
},
|
|
1747
1842
|
/**
|
|
1748
1843
|
* Run a query on a graph instance and return the result as a json
|
|
1749
|
-
* @summary
|
|
1844
|
+
* @summary Return the result of a query made on the graph instance as a json
|
|
1750
1845
|
* @param {string} organizationId the Organization identifier
|
|
1751
1846
|
* @param {string} datasetId the Dataset identifier
|
|
1752
1847
|
* @param {DatasetTwinGraphQuery} datasetTwinGraphQuery the query to run
|
|
@@ -1801,7 +1896,7 @@ exports.DatasetApiAxiosParamCreator = function (configuration) {
|
|
|
1801
1896
|
* @summary Update a dataset
|
|
1802
1897
|
* @param {string} organizationId the Organization identifier
|
|
1803
1898
|
* @param {string} datasetId the Dataset identifier
|
|
1804
|
-
* @param {Dataset} dataset the new Dataset details.
|
|
1899
|
+
* @param {Dataset} dataset the new Dataset details. This endpoint can\'t be used to update security
|
|
1805
1900
|
* @param {*} [options] Override http request option.
|
|
1806
1901
|
* @throws {RequiredError}
|
|
1807
1902
|
*/
|
|
@@ -1961,8 +2056,8 @@ exports.DatasetApiAxiosParamCreator = function (configuration) {
|
|
|
1961
2056
|
});
|
|
1962
2057
|
},
|
|
1963
2058
|
/**
|
|
1964
|
-
*
|
|
1965
|
-
* @summary Upload
|
|
2059
|
+
* 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.
|
|
2060
|
+
* @summary Upload data from zip file to dataset\'s twingraph
|
|
1966
2061
|
* @param {string} organizationId the Organization identifier
|
|
1967
2062
|
* @param {string} datasetId the Dataset identifier
|
|
1968
2063
|
* @param {any} body
|
|
@@ -2066,8 +2161,8 @@ exports.DatasetApiFp = function (configuration) {
|
|
|
2066
2161
|
});
|
|
2067
2162
|
},
|
|
2068
2163
|
/**
|
|
2069
|
-
*
|
|
2070
|
-
* @summary Copy a Dataset to another Dataset.
|
|
2164
|
+
* Not implemented!
|
|
2165
|
+
* @summary Copy a Dataset to another Dataset.
|
|
2071
2166
|
* @param {string} organizationId the Organization identifier
|
|
2072
2167
|
* @param {DatasetCopyParameters} datasetCopyParameters the Dataset copy parameters
|
|
2073
2168
|
* @param {*} [options] Override http request option.
|
|
@@ -2108,11 +2203,11 @@ exports.DatasetApiFp = function (configuration) {
|
|
|
2108
2203
|
});
|
|
2109
2204
|
},
|
|
2110
2205
|
/**
|
|
2111
|
-
*
|
|
2112
|
-
* @summary
|
|
2206
|
+
* Create a copy of the dataset using the results of the list of queries given in parameter.
|
|
2207
|
+
* @summary Create a sub-dataset from the dataset in parameter
|
|
2113
2208
|
* @param {string} organizationId the Organization identifier
|
|
2114
2209
|
* @param {string} datasetId the Dataset identifier
|
|
2115
|
-
* @param {SubDatasetGraphQuery} subDatasetGraphQuery the query to
|
|
2210
|
+
* @param {SubDatasetGraphQuery} subDatasetGraphQuery the Cypher query to filter
|
|
2116
2211
|
* @param {*} [options] Override http request option.
|
|
2117
2212
|
* @throws {RequiredError}
|
|
2118
2213
|
*/
|
|
@@ -2197,8 +2292,8 @@ exports.DatasetApiFp = function (configuration) {
|
|
|
2197
2292
|
});
|
|
2198
2293
|
},
|
|
2199
2294
|
/**
|
|
2200
|
-
* Download
|
|
2201
|
-
* @summary Download a graph
|
|
2295
|
+
* Download the compressed graph reference by the hash in a zip file
|
|
2296
|
+
* @summary Download a graph as a zip file
|
|
2202
2297
|
* @param {string} organizationId the Organization identifier
|
|
2203
2298
|
* @param {string} hash the Graph download identifier
|
|
2204
2299
|
* @param {*} [options] Override http request option.
|
|
@@ -2282,6 +2377,27 @@ exports.DatasetApiFp = function (configuration) {
|
|
|
2282
2377
|
});
|
|
2283
2378
|
});
|
|
2284
2379
|
},
|
|
2380
|
+
/**
|
|
2381
|
+
*
|
|
2382
|
+
* @summary Get the Dataset security information
|
|
2383
|
+
* @param {string} organizationId the Organization identifier
|
|
2384
|
+
* @param {string} datasetId the Dataset identifier
|
|
2385
|
+
* @param {*} [options] Override http request option.
|
|
2386
|
+
* @throws {RequiredError}
|
|
2387
|
+
*/
|
|
2388
|
+
getDatasetSecurity: function (organizationId, datasetId, options) {
|
|
2389
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
2390
|
+
var localVarAxiosArgs;
|
|
2391
|
+
return __generator(this, function (_a) {
|
|
2392
|
+
switch (_a.label) {
|
|
2393
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getDatasetSecurity(organizationId, datasetId, options)];
|
|
2394
|
+
case 1:
|
|
2395
|
+
localVarAxiosArgs = _a.sent();
|
|
2396
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
2397
|
+
}
|
|
2398
|
+
});
|
|
2399
|
+
});
|
|
2400
|
+
},
|
|
2285
2401
|
/**
|
|
2286
2402
|
*
|
|
2287
2403
|
* @summary Get the Dataset security users list
|
|
@@ -2304,20 +2420,19 @@ exports.DatasetApiFp = function (configuration) {
|
|
|
2304
2420
|
});
|
|
2305
2421
|
},
|
|
2306
2422
|
/**
|
|
2307
|
-
* Get the status of
|
|
2308
|
-
* @summary Get the
|
|
2423
|
+
* Get the status of the import workflow lauch on the dataset\'s refresh.
|
|
2424
|
+
* @summary Get the dataset\'s refresh job status
|
|
2309
2425
|
* @param {string} organizationId the Organization identifier
|
|
2310
2426
|
* @param {string} datasetId the dataset identifier
|
|
2311
|
-
* @param {string} jobId the job identifier
|
|
2312
2427
|
* @param {*} [options] Override http request option.
|
|
2313
2428
|
* @throws {RequiredError}
|
|
2314
2429
|
*/
|
|
2315
|
-
getDatasetTwingraphStatus: function (organizationId, datasetId,
|
|
2430
|
+
getDatasetTwingraphStatus: function (organizationId, datasetId, options) {
|
|
2316
2431
|
return __awaiter(this, void 0, void 0, function () {
|
|
2317
2432
|
var localVarAxiosArgs;
|
|
2318
2433
|
return __generator(this, function (_a) {
|
|
2319
2434
|
switch (_a.label) {
|
|
2320
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getDatasetTwingraphStatus(organizationId, datasetId,
|
|
2435
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getDatasetTwingraphStatus(organizationId, datasetId, options)];
|
|
2321
2436
|
case 1:
|
|
2322
2437
|
localVarAxiosArgs = _a.sent();
|
|
2323
2438
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -2349,8 +2464,8 @@ exports.DatasetApiFp = function (configuration) {
|
|
|
2349
2464
|
});
|
|
2350
2465
|
},
|
|
2351
2466
|
/**
|
|
2352
|
-
* Refresh
|
|
2353
|
-
* @summary Refresh dataset
|
|
2467
|
+
* 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
|
|
2468
|
+
* @summary Refresh data on dataset from dataset\'s source
|
|
2354
2469
|
* @param {string} organizationId the Organization identifier
|
|
2355
2470
|
* @param {string} datasetId the Dataset identifier
|
|
2356
2471
|
* @param {*} [options] Override http request option.
|
|
@@ -2414,7 +2529,7 @@ exports.DatasetApiFp = function (configuration) {
|
|
|
2414
2529
|
},
|
|
2415
2530
|
/**
|
|
2416
2531
|
*
|
|
2417
|
-
* @summary Search Datasets
|
|
2532
|
+
* @summary Search Datasets by tags
|
|
2418
2533
|
* @param {string} organizationId the Organization identifier
|
|
2419
2534
|
* @param {DatasetSearch} datasetSearch the Dataset search parameters
|
|
2420
2535
|
* @param {number} [page] page number to query
|
|
@@ -2435,6 +2550,28 @@ exports.DatasetApiFp = function (configuration) {
|
|
|
2435
2550
|
});
|
|
2436
2551
|
});
|
|
2437
2552
|
},
|
|
2553
|
+
/**
|
|
2554
|
+
*
|
|
2555
|
+
* @summary Set the Dataset default security
|
|
2556
|
+
* @param {string} organizationId the Organization identifier
|
|
2557
|
+
* @param {string} datasetId the Dataset identifier
|
|
2558
|
+
* @param {DatasetRole} datasetRole This change the dataset default security. The default security is the role assigned to any person not on the Access Control List. If the default security is None, then nobody outside of the ACL can access the dataset.
|
|
2559
|
+
* @param {*} [options] Override http request option.
|
|
2560
|
+
* @throws {RequiredError}
|
|
2561
|
+
*/
|
|
2562
|
+
setDatasetDefaultSecurity: function (organizationId, datasetId, datasetRole, options) {
|
|
2563
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
2564
|
+
var localVarAxiosArgs;
|
|
2565
|
+
return __generator(this, function (_a) {
|
|
2566
|
+
switch (_a.label) {
|
|
2567
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.setDatasetDefaultSecurity(organizationId, datasetId, datasetRole, options)];
|
|
2568
|
+
case 1:
|
|
2569
|
+
localVarAxiosArgs = _a.sent();
|
|
2570
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
2571
|
+
}
|
|
2572
|
+
});
|
|
2573
|
+
});
|
|
2574
|
+
},
|
|
2438
2575
|
/**
|
|
2439
2576
|
* Run a query on a graph instance and return the result as a zip file in async mode
|
|
2440
2577
|
* @summary Run a query on a graph instance and return the result as a zip file in async mode
|
|
@@ -2482,7 +2619,7 @@ exports.DatasetApiFp = function (configuration) {
|
|
|
2482
2619
|
},
|
|
2483
2620
|
/**
|
|
2484
2621
|
* Run a query on a graph instance and return the result as a json
|
|
2485
|
-
* @summary
|
|
2622
|
+
* @summary Return the result of a query made on the graph instance as a json
|
|
2486
2623
|
* @param {string} organizationId the Organization identifier
|
|
2487
2624
|
* @param {string} datasetId the Dataset identifier
|
|
2488
2625
|
* @param {DatasetTwinGraphQuery} datasetTwinGraphQuery the query to run
|
|
@@ -2507,7 +2644,7 @@ exports.DatasetApiFp = function (configuration) {
|
|
|
2507
2644
|
* @summary Update a dataset
|
|
2508
2645
|
* @param {string} organizationId the Organization identifier
|
|
2509
2646
|
* @param {string} datasetId the Dataset identifier
|
|
2510
|
-
* @param {Dataset} dataset the new Dataset details.
|
|
2647
|
+
* @param {Dataset} dataset the new Dataset details. This endpoint can\'t be used to update security
|
|
2511
2648
|
* @param {*} [options] Override http request option.
|
|
2512
2649
|
* @throws {RequiredError}
|
|
2513
2650
|
*/
|
|
@@ -2571,8 +2708,8 @@ exports.DatasetApiFp = function (configuration) {
|
|
|
2571
2708
|
});
|
|
2572
2709
|
},
|
|
2573
2710
|
/**
|
|
2574
|
-
*
|
|
2575
|
-
* @summary Upload
|
|
2711
|
+
* 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.
|
|
2712
|
+
* @summary Upload data from zip file to dataset\'s twingraph
|
|
2576
2713
|
* @param {string} organizationId the Organization identifier
|
|
2577
2714
|
* @param {string} datasetId the Dataset identifier
|
|
2578
2715
|
* @param {any} body
|
|
@@ -2626,8 +2763,8 @@ exports.DatasetApiFactory = function (configuration, basePath, axios) {
|
|
|
2626
2763
|
return localVarFp.addOrReplaceDatasetCompatibilityElements(organizationId, datasetId, datasetCompatibility, options).then(function (request) { return request(axios, basePath); });
|
|
2627
2764
|
},
|
|
2628
2765
|
/**
|
|
2629
|
-
*
|
|
2630
|
-
* @summary Copy a Dataset to another Dataset.
|
|
2766
|
+
* Not implemented!
|
|
2767
|
+
* @summary Copy a Dataset to another Dataset.
|
|
2631
2768
|
* @param {string} organizationId the Organization identifier
|
|
2632
2769
|
* @param {DatasetCopyParameters} datasetCopyParameters the Dataset copy parameters
|
|
2633
2770
|
* @param {*} [options] Override http request option.
|
|
@@ -2648,11 +2785,11 @@ exports.DatasetApiFactory = function (configuration, basePath, axios) {
|
|
|
2648
2785
|
return localVarFp.createDataset(organizationId, dataset, options).then(function (request) { return request(axios, basePath); });
|
|
2649
2786
|
},
|
|
2650
2787
|
/**
|
|
2651
|
-
*
|
|
2652
|
-
* @summary
|
|
2788
|
+
* Create a copy of the dataset using the results of the list of queries given in parameter.
|
|
2789
|
+
* @summary Create a sub-dataset from the dataset in parameter
|
|
2653
2790
|
* @param {string} organizationId the Organization identifier
|
|
2654
2791
|
* @param {string} datasetId the Dataset identifier
|
|
2655
|
-
* @param {SubDatasetGraphQuery} subDatasetGraphQuery the query to
|
|
2792
|
+
* @param {SubDatasetGraphQuery} subDatasetGraphQuery the Cypher query to filter
|
|
2656
2793
|
* @param {*} [options] Override http request option.
|
|
2657
2794
|
* @throws {RequiredError}
|
|
2658
2795
|
*/
|
|
@@ -2697,8 +2834,8 @@ exports.DatasetApiFactory = function (configuration, basePath, axios) {
|
|
|
2697
2834
|
return localVarFp.deleteTwingraphEntities(organizationId, datasetId, type, ids, options).then(function (request) { return request(axios, basePath); });
|
|
2698
2835
|
},
|
|
2699
2836
|
/**
|
|
2700
|
-
* Download
|
|
2701
|
-
* @summary Download a graph
|
|
2837
|
+
* Download the compressed graph reference by the hash in a zip file
|
|
2838
|
+
* @summary Download a graph as a zip file
|
|
2702
2839
|
* @param {string} organizationId the Organization identifier
|
|
2703
2840
|
* @param {string} hash the Graph download identifier
|
|
2704
2841
|
* @param {*} [options] Override http request option.
|
|
@@ -2742,6 +2879,17 @@ exports.DatasetApiFactory = function (configuration, basePath, axios) {
|
|
|
2742
2879
|
getDatasetAccessControl: function (organizationId, datasetId, identityId, options) {
|
|
2743
2880
|
return localVarFp.getDatasetAccessControl(organizationId, datasetId, identityId, options).then(function (request) { return request(axios, basePath); });
|
|
2744
2881
|
},
|
|
2882
|
+
/**
|
|
2883
|
+
*
|
|
2884
|
+
* @summary Get the Dataset security information
|
|
2885
|
+
* @param {string} organizationId the Organization identifier
|
|
2886
|
+
* @param {string} datasetId the Dataset identifier
|
|
2887
|
+
* @param {*} [options] Override http request option.
|
|
2888
|
+
* @throws {RequiredError}
|
|
2889
|
+
*/
|
|
2890
|
+
getDatasetSecurity: function (organizationId, datasetId, options) {
|
|
2891
|
+
return localVarFp.getDatasetSecurity(organizationId, datasetId, options).then(function (request) { return request(axios, basePath); });
|
|
2892
|
+
},
|
|
2745
2893
|
/**
|
|
2746
2894
|
*
|
|
2747
2895
|
* @summary Get the Dataset security users list
|
|
@@ -2754,16 +2902,15 @@ exports.DatasetApiFactory = function (configuration, basePath, axios) {
|
|
|
2754
2902
|
return localVarFp.getDatasetSecurityUsers(organizationId, datasetId, options).then(function (request) { return request(axios, basePath); });
|
|
2755
2903
|
},
|
|
2756
2904
|
/**
|
|
2757
|
-
* Get the status of
|
|
2758
|
-
* @summary Get the
|
|
2905
|
+
* Get the status of the import workflow lauch on the dataset\'s refresh.
|
|
2906
|
+
* @summary Get the dataset\'s refresh job status
|
|
2759
2907
|
* @param {string} organizationId the Organization identifier
|
|
2760
2908
|
* @param {string} datasetId the dataset identifier
|
|
2761
|
-
* @param {string} jobId the job identifier
|
|
2762
2909
|
* @param {*} [options] Override http request option.
|
|
2763
2910
|
* @throws {RequiredError}
|
|
2764
2911
|
*/
|
|
2765
|
-
getDatasetTwingraphStatus: function (organizationId, datasetId,
|
|
2766
|
-
return localVarFp.getDatasetTwingraphStatus(organizationId, datasetId,
|
|
2912
|
+
getDatasetTwingraphStatus: function (organizationId, datasetId, options) {
|
|
2913
|
+
return localVarFp.getDatasetTwingraphStatus(organizationId, datasetId, options).then(function (request) { return request(axios, basePath); });
|
|
2767
2914
|
},
|
|
2768
2915
|
/**
|
|
2769
2916
|
* get entities in a graph instance
|
|
@@ -2779,8 +2926,8 @@ exports.DatasetApiFactory = function (configuration, basePath, axios) {
|
|
|
2779
2926
|
return localVarFp.getTwingraphEntities(organizationId, datasetId, type, ids, options).then(function (request) { return request(axios, basePath); });
|
|
2780
2927
|
},
|
|
2781
2928
|
/**
|
|
2782
|
-
* Refresh
|
|
2783
|
-
* @summary Refresh dataset
|
|
2929
|
+
* 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
|
|
2930
|
+
* @summary Refresh data on dataset from dataset\'s source
|
|
2784
2931
|
* @param {string} organizationId the Organization identifier
|
|
2785
2932
|
* @param {string} datasetId the Dataset identifier
|
|
2786
2933
|
* @param {*} [options] Override http request option.
|
|
@@ -2814,7 +2961,7 @@ exports.DatasetApiFactory = function (configuration, basePath, axios) {
|
|
|
2814
2961
|
},
|
|
2815
2962
|
/**
|
|
2816
2963
|
*
|
|
2817
|
-
* @summary Search Datasets
|
|
2964
|
+
* @summary Search Datasets by tags
|
|
2818
2965
|
* @param {string} organizationId the Organization identifier
|
|
2819
2966
|
* @param {DatasetSearch} datasetSearch the Dataset search parameters
|
|
2820
2967
|
* @param {number} [page] page number to query
|
|
@@ -2825,6 +2972,18 @@ exports.DatasetApiFactory = function (configuration, basePath, axios) {
|
|
|
2825
2972
|
searchDatasets: function (organizationId, datasetSearch, page, size, options) {
|
|
2826
2973
|
return localVarFp.searchDatasets(organizationId, datasetSearch, page, size, options).then(function (request) { return request(axios, basePath); });
|
|
2827
2974
|
},
|
|
2975
|
+
/**
|
|
2976
|
+
*
|
|
2977
|
+
* @summary Set the Dataset default security
|
|
2978
|
+
* @param {string} organizationId the Organization identifier
|
|
2979
|
+
* @param {string} datasetId the Dataset identifier
|
|
2980
|
+
* @param {DatasetRole} datasetRole This change the dataset default security. The default security is the role assigned to any person not on the Access Control List. If the default security is None, then nobody outside of the ACL can access the dataset.
|
|
2981
|
+
* @param {*} [options] Override http request option.
|
|
2982
|
+
* @throws {RequiredError}
|
|
2983
|
+
*/
|
|
2984
|
+
setDatasetDefaultSecurity: function (organizationId, datasetId, datasetRole, options) {
|
|
2985
|
+
return localVarFp.setDatasetDefaultSecurity(organizationId, datasetId, datasetRole, options).then(function (request) { return request(axios, basePath); });
|
|
2986
|
+
},
|
|
2828
2987
|
/**
|
|
2829
2988
|
* Run a query on a graph instance and return the result as a zip file in async mode
|
|
2830
2989
|
* @summary Run a query on a graph instance and return the result as a zip file in async mode
|
|
@@ -2852,7 +3011,7 @@ exports.DatasetApiFactory = function (configuration, basePath, axios) {
|
|
|
2852
3011
|
},
|
|
2853
3012
|
/**
|
|
2854
3013
|
* Run a query on a graph instance and return the result as a json
|
|
2855
|
-
* @summary
|
|
3014
|
+
* @summary Return the result of a query made on the graph instance as a json
|
|
2856
3015
|
* @param {string} organizationId the Organization identifier
|
|
2857
3016
|
* @param {string} datasetId the Dataset identifier
|
|
2858
3017
|
* @param {DatasetTwinGraphQuery} datasetTwinGraphQuery the query to run
|
|
@@ -2867,7 +3026,7 @@ exports.DatasetApiFactory = function (configuration, basePath, axios) {
|
|
|
2867
3026
|
* @summary Update a dataset
|
|
2868
3027
|
* @param {string} organizationId the Organization identifier
|
|
2869
3028
|
* @param {string} datasetId the Dataset identifier
|
|
2870
|
-
* @param {Dataset} dataset the new Dataset details.
|
|
3029
|
+
* @param {Dataset} dataset the new Dataset details. This endpoint can\'t be used to update security
|
|
2871
3030
|
* @param {*} [options] Override http request option.
|
|
2872
3031
|
* @throws {RequiredError}
|
|
2873
3032
|
*/
|
|
@@ -2901,8 +3060,8 @@ exports.DatasetApiFactory = function (configuration, basePath, axios) {
|
|
|
2901
3060
|
return localVarFp.updateTwingraphEntities(organizationId, datasetId, type, graphProperties, options).then(function (request) { return request(axios, basePath); });
|
|
2902
3061
|
},
|
|
2903
3062
|
/**
|
|
2904
|
-
*
|
|
2905
|
-
* @summary Upload
|
|
3063
|
+
* 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.
|
|
3064
|
+
* @summary Upload data from zip file to dataset\'s twingraph
|
|
2906
3065
|
* @param {string} organizationId the Organization identifier
|
|
2907
3066
|
* @param {string} datasetId the Dataset identifier
|
|
2908
3067
|
* @param {any} body
|
|
@@ -2954,8 +3113,8 @@ var DatasetApi = /** @class */ (function (_super) {
|
|
|
2954
3113
|
return exports.DatasetApiFp(this.configuration).addOrReplaceDatasetCompatibilityElements(organizationId, datasetId, datasetCompatibility, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2955
3114
|
};
|
|
2956
3115
|
/**
|
|
2957
|
-
*
|
|
2958
|
-
* @summary Copy a Dataset to another Dataset.
|
|
3116
|
+
* Not implemented!
|
|
3117
|
+
* @summary Copy a Dataset to another Dataset.
|
|
2959
3118
|
* @param {string} organizationId the Organization identifier
|
|
2960
3119
|
* @param {DatasetCopyParameters} datasetCopyParameters the Dataset copy parameters
|
|
2961
3120
|
* @param {*} [options] Override http request option.
|
|
@@ -2980,11 +3139,11 @@ var DatasetApi = /** @class */ (function (_super) {
|
|
|
2980
3139
|
return exports.DatasetApiFp(this.configuration).createDataset(organizationId, dataset, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2981
3140
|
};
|
|
2982
3141
|
/**
|
|
2983
|
-
*
|
|
2984
|
-
* @summary
|
|
3142
|
+
* Create a copy of the dataset using the results of the list of queries given in parameter.
|
|
3143
|
+
* @summary Create a sub-dataset from the dataset in parameter
|
|
2985
3144
|
* @param {string} organizationId the Organization identifier
|
|
2986
3145
|
* @param {string} datasetId the Dataset identifier
|
|
2987
|
-
* @param {SubDatasetGraphQuery} subDatasetGraphQuery the query to
|
|
3146
|
+
* @param {SubDatasetGraphQuery} subDatasetGraphQuery the Cypher query to filter
|
|
2988
3147
|
* @param {*} [options] Override http request option.
|
|
2989
3148
|
* @throws {RequiredError}
|
|
2990
3149
|
* @memberof DatasetApi
|
|
@@ -3037,8 +3196,8 @@ var DatasetApi = /** @class */ (function (_super) {
|
|
|
3037
3196
|
return exports.DatasetApiFp(this.configuration).deleteTwingraphEntities(organizationId, datasetId, type, ids, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3038
3197
|
};
|
|
3039
3198
|
/**
|
|
3040
|
-
* Download
|
|
3041
|
-
* @summary Download a graph
|
|
3199
|
+
* Download the compressed graph reference by the hash in a zip file
|
|
3200
|
+
* @summary Download a graph as a zip file
|
|
3042
3201
|
* @param {string} organizationId the Organization identifier
|
|
3043
3202
|
* @param {string} hash the Graph download identifier
|
|
3044
3203
|
* @param {*} [options] Override http request option.
|
|
@@ -3090,6 +3249,19 @@ var DatasetApi = /** @class */ (function (_super) {
|
|
|
3090
3249
|
var _this = this;
|
|
3091
3250
|
return exports.DatasetApiFp(this.configuration).getDatasetAccessControl(organizationId, datasetId, identityId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3092
3251
|
};
|
|
3252
|
+
/**
|
|
3253
|
+
*
|
|
3254
|
+
* @summary Get the Dataset security information
|
|
3255
|
+
* @param {string} organizationId the Organization identifier
|
|
3256
|
+
* @param {string} datasetId the Dataset identifier
|
|
3257
|
+
* @param {*} [options] Override http request option.
|
|
3258
|
+
* @throws {RequiredError}
|
|
3259
|
+
* @memberof DatasetApi
|
|
3260
|
+
*/
|
|
3261
|
+
DatasetApi.prototype.getDatasetSecurity = function (organizationId, datasetId, options) {
|
|
3262
|
+
var _this = this;
|
|
3263
|
+
return exports.DatasetApiFp(this.configuration).getDatasetSecurity(organizationId, datasetId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3264
|
+
};
|
|
3093
3265
|
/**
|
|
3094
3266
|
*
|
|
3095
3267
|
* @summary Get the Dataset security users list
|
|
@@ -3104,18 +3276,17 @@ var DatasetApi = /** @class */ (function (_super) {
|
|
|
3104
3276
|
return exports.DatasetApiFp(this.configuration).getDatasetSecurityUsers(organizationId, datasetId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3105
3277
|
};
|
|
3106
3278
|
/**
|
|
3107
|
-
* Get the status of
|
|
3108
|
-
* @summary Get the
|
|
3279
|
+
* Get the status of the import workflow lauch on the dataset\'s refresh.
|
|
3280
|
+
* @summary Get the dataset\'s refresh job status
|
|
3109
3281
|
* @param {string} organizationId the Organization identifier
|
|
3110
3282
|
* @param {string} datasetId the dataset identifier
|
|
3111
|
-
* @param {string} jobId the job identifier
|
|
3112
3283
|
* @param {*} [options] Override http request option.
|
|
3113
3284
|
* @throws {RequiredError}
|
|
3114
3285
|
* @memberof DatasetApi
|
|
3115
3286
|
*/
|
|
3116
|
-
DatasetApi.prototype.getDatasetTwingraphStatus = function (organizationId, datasetId,
|
|
3287
|
+
DatasetApi.prototype.getDatasetTwingraphStatus = function (organizationId, datasetId, options) {
|
|
3117
3288
|
var _this = this;
|
|
3118
|
-
return exports.DatasetApiFp(this.configuration).getDatasetTwingraphStatus(organizationId, datasetId,
|
|
3289
|
+
return exports.DatasetApiFp(this.configuration).getDatasetTwingraphStatus(organizationId, datasetId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3119
3290
|
};
|
|
3120
3291
|
/**
|
|
3121
3292
|
* get entities in a graph instance
|
|
@@ -3133,8 +3304,8 @@ var DatasetApi = /** @class */ (function (_super) {
|
|
|
3133
3304
|
return exports.DatasetApiFp(this.configuration).getTwingraphEntities(organizationId, datasetId, type, ids, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3134
3305
|
};
|
|
3135
3306
|
/**
|
|
3136
|
-
* Refresh
|
|
3137
|
-
* @summary Refresh dataset
|
|
3307
|
+
* 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
|
|
3308
|
+
* @summary Refresh data on dataset from dataset\'s source
|
|
3138
3309
|
* @param {string} organizationId the Organization identifier
|
|
3139
3310
|
* @param {string} datasetId the Dataset identifier
|
|
3140
3311
|
* @param {*} [options] Override http request option.
|
|
@@ -3174,7 +3345,7 @@ var DatasetApi = /** @class */ (function (_super) {
|
|
|
3174
3345
|
};
|
|
3175
3346
|
/**
|
|
3176
3347
|
*
|
|
3177
|
-
* @summary Search Datasets
|
|
3348
|
+
* @summary Search Datasets by tags
|
|
3178
3349
|
* @param {string} organizationId the Organization identifier
|
|
3179
3350
|
* @param {DatasetSearch} datasetSearch the Dataset search parameters
|
|
3180
3351
|
* @param {number} [page] page number to query
|
|
@@ -3187,6 +3358,20 @@ var DatasetApi = /** @class */ (function (_super) {
|
|
|
3187
3358
|
var _this = this;
|
|
3188
3359
|
return exports.DatasetApiFp(this.configuration).searchDatasets(organizationId, datasetSearch, page, size, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3189
3360
|
};
|
|
3361
|
+
/**
|
|
3362
|
+
*
|
|
3363
|
+
* @summary Set the Dataset default security
|
|
3364
|
+
* @param {string} organizationId the Organization identifier
|
|
3365
|
+
* @param {string} datasetId the Dataset identifier
|
|
3366
|
+
* @param {DatasetRole} datasetRole This change the dataset default security. The default security is the role assigned to any person not on the Access Control List. If the default security is None, then nobody outside of the ACL can access the dataset.
|
|
3367
|
+
* @param {*} [options] Override http request option.
|
|
3368
|
+
* @throws {RequiredError}
|
|
3369
|
+
* @memberof DatasetApi
|
|
3370
|
+
*/
|
|
3371
|
+
DatasetApi.prototype.setDatasetDefaultSecurity = function (organizationId, datasetId, datasetRole, options) {
|
|
3372
|
+
var _this = this;
|
|
3373
|
+
return exports.DatasetApiFp(this.configuration).setDatasetDefaultSecurity(organizationId, datasetId, datasetRole, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3374
|
+
};
|
|
3190
3375
|
/**
|
|
3191
3376
|
* Run a query on a graph instance and return the result as a zip file in async mode
|
|
3192
3377
|
* @summary Run a query on a graph instance and return the result as a zip file in async mode
|
|
@@ -3218,7 +3403,7 @@ var DatasetApi = /** @class */ (function (_super) {
|
|
|
3218
3403
|
};
|
|
3219
3404
|
/**
|
|
3220
3405
|
* Run a query on a graph instance and return the result as a json
|
|
3221
|
-
* @summary
|
|
3406
|
+
* @summary Return the result of a query made on the graph instance as a json
|
|
3222
3407
|
* @param {string} organizationId the Organization identifier
|
|
3223
3408
|
* @param {string} datasetId the Dataset identifier
|
|
3224
3409
|
* @param {DatasetTwinGraphQuery} datasetTwinGraphQuery the query to run
|
|
@@ -3235,7 +3420,7 @@ var DatasetApi = /** @class */ (function (_super) {
|
|
|
3235
3420
|
* @summary Update a dataset
|
|
3236
3421
|
* @param {string} organizationId the Organization identifier
|
|
3237
3422
|
* @param {string} datasetId the Dataset identifier
|
|
3238
|
-
* @param {Dataset} dataset the new Dataset details.
|
|
3423
|
+
* @param {Dataset} dataset the new Dataset details. This endpoint can\'t be used to update security
|
|
3239
3424
|
* @param {*} [options] Override http request option.
|
|
3240
3425
|
* @throws {RequiredError}
|
|
3241
3426
|
* @memberof DatasetApi
|
|
@@ -3275,8 +3460,8 @@ var DatasetApi = /** @class */ (function (_super) {
|
|
|
3275
3460
|
return exports.DatasetApiFp(this.configuration).updateTwingraphEntities(organizationId, datasetId, type, graphProperties, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3276
3461
|
};
|
|
3277
3462
|
/**
|
|
3278
|
-
*
|
|
3279
|
-
* @summary Upload
|
|
3463
|
+
* 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.
|
|
3464
|
+
* @summary Upload data from zip file to dataset\'s twingraph
|
|
3280
3465
|
* @param {string} organizationId the Organization identifier
|
|
3281
3466
|
* @param {string} datasetId the Dataset identifier
|
|
3282
3467
|
* @param {any} body
|
|
@@ -3750,7 +3935,7 @@ exports.OrganizationApiAxiosParamCreator = function (configuration) {
|
|
|
3750
3935
|
*
|
|
3751
3936
|
* @summary Set the Organization default security
|
|
3752
3937
|
* @param {string} organizationId the Organization identifier
|
|
3753
|
-
* @param {OrganizationRole} organizationRole the
|
|
3938
|
+
* @param {OrganizationRole} organizationRole This change the organization default security. The default security is the role assigned to any person not on the Access Control List. If the default security is None, then nobody outside of the ACL can access the organization.
|
|
3754
3939
|
* @param {*} [options] Override http request option.
|
|
3755
3940
|
* @throws {RequiredError}
|
|
3756
3941
|
*/
|
|
@@ -3841,7 +4026,7 @@ exports.OrganizationApiAxiosParamCreator = function (configuration) {
|
|
|
3841
4026
|
*
|
|
3842
4027
|
* @summary Update an Organization
|
|
3843
4028
|
* @param {string} organizationId the Organization identifier
|
|
3844
|
-
* @param {Organization} organization the new Organization details
|
|
4029
|
+
* @param {Organization} organization the new Organization details. This endpoint can\'t be used to update security
|
|
3845
4030
|
* @param {*} [options] Override http request option.
|
|
3846
4031
|
* @throws {RequiredError}
|
|
3847
4032
|
*/
|
|
@@ -4298,7 +4483,7 @@ exports.OrganizationApiFp = function (configuration) {
|
|
|
4298
4483
|
*
|
|
4299
4484
|
* @summary Set the Organization default security
|
|
4300
4485
|
* @param {string} organizationId the Organization identifier
|
|
4301
|
-
* @param {OrganizationRole} organizationRole the
|
|
4486
|
+
* @param {OrganizationRole} organizationRole This change the organization default security. The default security is the role assigned to any person not on the Access Control List. If the default security is None, then nobody outside of the ACL can access the organization.
|
|
4302
4487
|
* @param {*} [options] Override http request option.
|
|
4303
4488
|
* @throws {RequiredError}
|
|
4304
4489
|
*/
|
|
@@ -4339,7 +4524,7 @@ exports.OrganizationApiFp = function (configuration) {
|
|
|
4339
4524
|
*
|
|
4340
4525
|
* @summary Update an Organization
|
|
4341
4526
|
* @param {string} organizationId the Organization identifier
|
|
4342
|
-
* @param {Organization} organization the new Organization details
|
|
4527
|
+
* @param {Organization} organization the new Organization details. This endpoint can\'t be used to update security
|
|
4343
4528
|
* @param {*} [options] Override http request option.
|
|
4344
4529
|
* @throws {RequiredError}
|
|
4345
4530
|
*/
|
|
@@ -4558,7 +4743,7 @@ exports.OrganizationApiFactory = function (configuration, basePath, axios) {
|
|
|
4558
4743
|
*
|
|
4559
4744
|
* @summary Set the Organization default security
|
|
4560
4745
|
* @param {string} organizationId the Organization identifier
|
|
4561
|
-
* @param {OrganizationRole} organizationRole the
|
|
4746
|
+
* @param {OrganizationRole} organizationRole This change the organization default security. The default security is the role assigned to any person not on the Access Control List. If the default security is None, then nobody outside of the ACL can access the organization.
|
|
4562
4747
|
* @param {*} [options] Override http request option.
|
|
4563
4748
|
* @throws {RequiredError}
|
|
4564
4749
|
*/
|
|
@@ -4579,7 +4764,7 @@ exports.OrganizationApiFactory = function (configuration, basePath, axios) {
|
|
|
4579
4764
|
*
|
|
4580
4765
|
* @summary Update an Organization
|
|
4581
4766
|
* @param {string} organizationId the Organization identifier
|
|
4582
|
-
* @param {Organization} organization the new Organization details
|
|
4767
|
+
* @param {Organization} organization the new Organization details. This endpoint can\'t be used to update security
|
|
4583
4768
|
* @param {*} [options] Override http request option.
|
|
4584
4769
|
* @throws {RequiredError}
|
|
4585
4770
|
*/
|
|
@@ -4772,7 +4957,7 @@ var OrganizationApi = /** @class */ (function (_super) {
|
|
|
4772
4957
|
*
|
|
4773
4958
|
* @summary Set the Organization default security
|
|
4774
4959
|
* @param {string} organizationId the Organization identifier
|
|
4775
|
-
* @param {OrganizationRole} organizationRole the
|
|
4960
|
+
* @param {OrganizationRole} organizationRole This change the organization default security. The default security is the role assigned to any person not on the Access Control List. If the default security is None, then nobody outside of the ACL can access the organization.
|
|
4776
4961
|
* @param {*} [options] Override http request option.
|
|
4777
4962
|
* @throws {RequiredError}
|
|
4778
4963
|
* @memberof OrganizationApi
|
|
@@ -4797,7 +4982,7 @@ var OrganizationApi = /** @class */ (function (_super) {
|
|
|
4797
4982
|
*
|
|
4798
4983
|
* @summary Update an Organization
|
|
4799
4984
|
* @param {string} organizationId the Organization identifier
|
|
4800
|
-
* @param {Organization} organization the new Organization details
|
|
4985
|
+
* @param {Organization} organization the new Organization details. This endpoint can\'t be used to update security
|
|
4801
4986
|
* @param {*} [options] Override http request option.
|
|
4802
4987
|
* @throws {RequiredError}
|
|
4803
4988
|
* @memberof OrganizationApi
|
|
@@ -5879,7 +6064,7 @@ exports.ScenarioApiAxiosParamCreator = function (configuration) {
|
|
|
5879
6064
|
* @param {string} organizationId the Organization identifier
|
|
5880
6065
|
* @param {string} workspaceId the Workspace identifier
|
|
5881
6066
|
* @param {string} scenarioId the Scenario identifier
|
|
5882
|
-
* @param {ScenarioRole} scenarioRole the
|
|
6067
|
+
* @param {ScenarioRole} scenarioRole This change the scenario default security. The default security is the role assigned to any person not on the Access Control List. If the default security is None, then nobody outside of the ACL can access the scenario.
|
|
5883
6068
|
* @param {*} [options] Override http request option.
|
|
5884
6069
|
* @throws {RequiredError}
|
|
5885
6070
|
*/
|
|
@@ -5935,7 +6120,7 @@ exports.ScenarioApiAxiosParamCreator = function (configuration) {
|
|
|
5935
6120
|
* @param {string} organizationId the Organization identifier
|
|
5936
6121
|
* @param {string} workspaceId the Workspace identifier
|
|
5937
6122
|
* @param {string} scenarioId the Scenario identifier
|
|
5938
|
-
* @param {Scenario} scenario the new Scenario details.
|
|
6123
|
+
* @param {Scenario} scenario the new Scenario details. This endpoint can\'t be used to update security
|
|
5939
6124
|
* @param {*} [options] Override http request option.
|
|
5940
6125
|
* @throws {RequiredError}
|
|
5941
6126
|
*/
|
|
@@ -6486,7 +6671,7 @@ exports.ScenarioApiFp = function (configuration) {
|
|
|
6486
6671
|
* @param {string} organizationId the Organization identifier
|
|
6487
6672
|
* @param {string} workspaceId the Workspace identifier
|
|
6488
6673
|
* @param {string} scenarioId the Scenario identifier
|
|
6489
|
-
* @param {ScenarioRole} scenarioRole the
|
|
6674
|
+
* @param {ScenarioRole} scenarioRole This change the scenario default security. The default security is the role assigned to any person not on the Access Control List. If the default security is None, then nobody outside of the ACL can access the scenario.
|
|
6490
6675
|
* @param {*} [options] Override http request option.
|
|
6491
6676
|
* @throws {RequiredError}
|
|
6492
6677
|
*/
|
|
@@ -6509,7 +6694,7 @@ exports.ScenarioApiFp = function (configuration) {
|
|
|
6509
6694
|
* @param {string} organizationId the Organization identifier
|
|
6510
6695
|
* @param {string} workspaceId the Workspace identifier
|
|
6511
6696
|
* @param {string} scenarioId the Scenario identifier
|
|
6512
|
-
* @param {Scenario} scenario the new Scenario details.
|
|
6697
|
+
* @param {Scenario} scenario the new Scenario details. This endpoint can\'t be used to update security
|
|
6513
6698
|
* @param {*} [options] Override http request option.
|
|
6514
6699
|
* @throws {RequiredError}
|
|
6515
6700
|
*/
|
|
@@ -6801,7 +6986,7 @@ exports.ScenarioApiFactory = function (configuration, basePath, axios) {
|
|
|
6801
6986
|
* @param {string} organizationId the Organization identifier
|
|
6802
6987
|
* @param {string} workspaceId the Workspace identifier
|
|
6803
6988
|
* @param {string} scenarioId the Scenario identifier
|
|
6804
|
-
* @param {ScenarioRole} scenarioRole the
|
|
6989
|
+
* @param {ScenarioRole} scenarioRole This change the scenario default security. The default security is the role assigned to any person not on the Access Control List. If the default security is None, then nobody outside of the ACL can access the scenario.
|
|
6805
6990
|
* @param {*} [options] Override http request option.
|
|
6806
6991
|
* @throws {RequiredError}
|
|
6807
6992
|
*/
|
|
@@ -6814,7 +6999,7 @@ exports.ScenarioApiFactory = function (configuration, basePath, axios) {
|
|
|
6814
6999
|
* @param {string} organizationId the Organization identifier
|
|
6815
7000
|
* @param {string} workspaceId the Workspace identifier
|
|
6816
7001
|
* @param {string} scenarioId the Scenario identifier
|
|
6817
|
-
* @param {Scenario} scenario the new Scenario details.
|
|
7002
|
+
* @param {Scenario} scenario the new Scenario details. This endpoint can\'t be used to update security
|
|
6818
7003
|
* @param {*} [options] Override http request option.
|
|
6819
7004
|
* @throws {RequiredError}
|
|
6820
7005
|
*/
|
|
@@ -7128,7 +7313,7 @@ var ScenarioApi = /** @class */ (function (_super) {
|
|
|
7128
7313
|
* @param {string} organizationId the Organization identifier
|
|
7129
7314
|
* @param {string} workspaceId the Workspace identifier
|
|
7130
7315
|
* @param {string} scenarioId the Scenario identifier
|
|
7131
|
-
* @param {ScenarioRole} scenarioRole the
|
|
7316
|
+
* @param {ScenarioRole} scenarioRole This change the scenario default security. The default security is the role assigned to any person not on the Access Control List. If the default security is None, then nobody outside of the ACL can access the scenario.
|
|
7132
7317
|
* @param {*} [options] Override http request option.
|
|
7133
7318
|
* @throws {RequiredError}
|
|
7134
7319
|
* @memberof ScenarioApi
|
|
@@ -7143,7 +7328,7 @@ var ScenarioApi = /** @class */ (function (_super) {
|
|
|
7143
7328
|
* @param {string} organizationId the Organization identifier
|
|
7144
7329
|
* @param {string} workspaceId the Workspace identifier
|
|
7145
7330
|
* @param {string} scenarioId the Scenario identifier
|
|
7146
|
-
* @param {Scenario} scenario the new Scenario details.
|
|
7331
|
+
* @param {Scenario} scenario the new Scenario details. This endpoint can\'t be used to update security
|
|
7147
7332
|
* @param {*} [options] Override http request option.
|
|
7148
7333
|
* @throws {RequiredError}
|
|
7149
7334
|
* @memberof ScenarioApi
|
|
@@ -9419,6 +9604,53 @@ exports.SolutionApiAxiosParamCreator = function (configuration) {
|
|
|
9419
9604
|
});
|
|
9420
9605
|
});
|
|
9421
9606
|
},
|
|
9607
|
+
/**
|
|
9608
|
+
*
|
|
9609
|
+
* @summary Get the Solution security information
|
|
9610
|
+
* @param {string} organizationId the Organization identifier
|
|
9611
|
+
* @param {string} solutionId the Solution identifier
|
|
9612
|
+
* @param {*} [options] Override http request option.
|
|
9613
|
+
* @throws {RequiredError}
|
|
9614
|
+
*/
|
|
9615
|
+
getSolutionSecurity: function (organizationId, solutionId, options) {
|
|
9616
|
+
if (options === void 0) { options = {}; }
|
|
9617
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
9618
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
9619
|
+
return __generator(this, function (_a) {
|
|
9620
|
+
switch (_a.label) {
|
|
9621
|
+
case 0:
|
|
9622
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
9623
|
+
common_1.assertParamExists('getSolutionSecurity', 'organizationId', organizationId);
|
|
9624
|
+
// verify required parameter 'solutionId' is not null or undefined
|
|
9625
|
+
common_1.assertParamExists('getSolutionSecurity', 'solutionId', solutionId);
|
|
9626
|
+
localVarPath = "/organizations/{organization_id}/solutions/{solution_id}/security"
|
|
9627
|
+
.replace("{" + "organization_id" + "}", encodeURIComponent(String(organizationId)))
|
|
9628
|
+
.replace("{" + "solution_id" + "}", encodeURIComponent(String(solutionId)));
|
|
9629
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
9630
|
+
if (configuration) {
|
|
9631
|
+
baseOptions = configuration.baseOptions;
|
|
9632
|
+
}
|
|
9633
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
9634
|
+
localVarHeaderParameter = {};
|
|
9635
|
+
localVarQueryParameter = {};
|
|
9636
|
+
// authentication oAuth2AuthCode required
|
|
9637
|
+
// oauth required
|
|
9638
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oAuth2AuthCode", [], configuration)];
|
|
9639
|
+
case 1:
|
|
9640
|
+
// authentication oAuth2AuthCode required
|
|
9641
|
+
// oauth required
|
|
9642
|
+
_a.sent();
|
|
9643
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9644
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9645
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
9646
|
+
return [2 /*return*/, {
|
|
9647
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
9648
|
+
options: localVarRequestOptions,
|
|
9649
|
+
}];
|
|
9650
|
+
}
|
|
9651
|
+
});
|
|
9652
|
+
});
|
|
9653
|
+
},
|
|
9422
9654
|
/**
|
|
9423
9655
|
*
|
|
9424
9656
|
* @summary Get the Solution security users list
|
|
@@ -9658,12 +9890,64 @@ exports.SolutionApiAxiosParamCreator = function (configuration) {
|
|
|
9658
9890
|
});
|
|
9659
9891
|
});
|
|
9660
9892
|
},
|
|
9893
|
+
/**
|
|
9894
|
+
*
|
|
9895
|
+
* @summary Set the Solution default security
|
|
9896
|
+
* @param {string} organizationId the Organization identifier
|
|
9897
|
+
* @param {string} solutionId the Solution identifier
|
|
9898
|
+
* @param {SolutionRole} solutionRole This change the solution default security. The default security is the role assigned to any person not on the Access Control List. If the default security is None, then nobody outside of the ACL can access the solution.
|
|
9899
|
+
* @param {*} [options] Override http request option.
|
|
9900
|
+
* @throws {RequiredError}
|
|
9901
|
+
*/
|
|
9902
|
+
setSolutionDefaultSecurity: function (organizationId, solutionId, solutionRole, options) {
|
|
9903
|
+
if (options === void 0) { options = {}; }
|
|
9904
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
9905
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
9906
|
+
return __generator(this, function (_a) {
|
|
9907
|
+
switch (_a.label) {
|
|
9908
|
+
case 0:
|
|
9909
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
9910
|
+
common_1.assertParamExists('setSolutionDefaultSecurity', 'organizationId', organizationId);
|
|
9911
|
+
// verify required parameter 'solutionId' is not null or undefined
|
|
9912
|
+
common_1.assertParamExists('setSolutionDefaultSecurity', 'solutionId', solutionId);
|
|
9913
|
+
// verify required parameter 'solutionRole' is not null or undefined
|
|
9914
|
+
common_1.assertParamExists('setSolutionDefaultSecurity', 'solutionRole', solutionRole);
|
|
9915
|
+
localVarPath = "/organizations/{organization_id}/solutions/{solution_id}/security/default"
|
|
9916
|
+
.replace("{" + "organization_id" + "}", encodeURIComponent(String(organizationId)))
|
|
9917
|
+
.replace("{" + "solution_id" + "}", encodeURIComponent(String(solutionId)));
|
|
9918
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
9919
|
+
if (configuration) {
|
|
9920
|
+
baseOptions = configuration.baseOptions;
|
|
9921
|
+
}
|
|
9922
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
9923
|
+
localVarHeaderParameter = {};
|
|
9924
|
+
localVarQueryParameter = {};
|
|
9925
|
+
// authentication oAuth2AuthCode required
|
|
9926
|
+
// oauth required
|
|
9927
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oAuth2AuthCode", [], configuration)];
|
|
9928
|
+
case 1:
|
|
9929
|
+
// authentication oAuth2AuthCode required
|
|
9930
|
+
// oauth required
|
|
9931
|
+
_a.sent();
|
|
9932
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
9933
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9934
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9935
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
9936
|
+
localVarRequestOptions.data = common_1.serializeDataIfNeeded(solutionRole, localVarRequestOptions, configuration);
|
|
9937
|
+
return [2 /*return*/, {
|
|
9938
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
9939
|
+
options: localVarRequestOptions,
|
|
9940
|
+
}];
|
|
9941
|
+
}
|
|
9942
|
+
});
|
|
9943
|
+
});
|
|
9944
|
+
},
|
|
9661
9945
|
/**
|
|
9662
9946
|
*
|
|
9663
9947
|
* @summary Update a solution
|
|
9664
9948
|
* @param {string} organizationId the Organization identifier
|
|
9665
9949
|
* @param {string} solutionId the Solution identifier
|
|
9666
|
-
* @param {Solution} solution the new Solution details.
|
|
9950
|
+
* @param {Solution} solution the new Solution details. This endpoint can\'t be used to update security
|
|
9667
9951
|
* @param {*} [options] Override http request option.
|
|
9668
9952
|
* @throws {RequiredError}
|
|
9669
9953
|
*/
|
|
@@ -10135,6 +10419,27 @@ exports.SolutionApiFp = function (configuration) {
|
|
|
10135
10419
|
});
|
|
10136
10420
|
});
|
|
10137
10421
|
},
|
|
10422
|
+
/**
|
|
10423
|
+
*
|
|
10424
|
+
* @summary Get the Solution security information
|
|
10425
|
+
* @param {string} organizationId the Organization identifier
|
|
10426
|
+
* @param {string} solutionId the Solution identifier
|
|
10427
|
+
* @param {*} [options] Override http request option.
|
|
10428
|
+
* @throws {RequiredError}
|
|
10429
|
+
*/
|
|
10430
|
+
getSolutionSecurity: function (organizationId, solutionId, options) {
|
|
10431
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
10432
|
+
var localVarAxiosArgs;
|
|
10433
|
+
return __generator(this, function (_a) {
|
|
10434
|
+
switch (_a.label) {
|
|
10435
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getSolutionSecurity(organizationId, solutionId, options)];
|
|
10436
|
+
case 1:
|
|
10437
|
+
localVarAxiosArgs = _a.sent();
|
|
10438
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
10439
|
+
}
|
|
10440
|
+
});
|
|
10441
|
+
});
|
|
10442
|
+
},
|
|
10138
10443
|
/**
|
|
10139
10444
|
*
|
|
10140
10445
|
* @summary Get the Solution security users list
|
|
@@ -10241,12 +10546,34 @@ exports.SolutionApiFp = function (configuration) {
|
|
|
10241
10546
|
});
|
|
10242
10547
|
});
|
|
10243
10548
|
},
|
|
10549
|
+
/**
|
|
10550
|
+
*
|
|
10551
|
+
* @summary Set the Solution default security
|
|
10552
|
+
* @param {string} organizationId the Organization identifier
|
|
10553
|
+
* @param {string} solutionId the Solution identifier
|
|
10554
|
+
* @param {SolutionRole} solutionRole This change the solution default security. The default security is the role assigned to any person not on the Access Control List. If the default security is None, then nobody outside of the ACL can access the solution.
|
|
10555
|
+
* @param {*} [options] Override http request option.
|
|
10556
|
+
* @throws {RequiredError}
|
|
10557
|
+
*/
|
|
10558
|
+
setSolutionDefaultSecurity: function (organizationId, solutionId, solutionRole, options) {
|
|
10559
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
10560
|
+
var localVarAxiosArgs;
|
|
10561
|
+
return __generator(this, function (_a) {
|
|
10562
|
+
switch (_a.label) {
|
|
10563
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.setSolutionDefaultSecurity(organizationId, solutionId, solutionRole, options)];
|
|
10564
|
+
case 1:
|
|
10565
|
+
localVarAxiosArgs = _a.sent();
|
|
10566
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
10567
|
+
}
|
|
10568
|
+
});
|
|
10569
|
+
});
|
|
10570
|
+
},
|
|
10244
10571
|
/**
|
|
10245
10572
|
*
|
|
10246
10573
|
* @summary Update a solution
|
|
10247
10574
|
* @param {string} organizationId the Organization identifier
|
|
10248
10575
|
* @param {string} solutionId the Solution identifier
|
|
10249
|
-
* @param {Solution} solution the new Solution details.
|
|
10576
|
+
* @param {Solution} solution the new Solution details. This endpoint can\'t be used to update security
|
|
10250
10577
|
* @param {*} [options] Override http request option.
|
|
10251
10578
|
* @throws {RequiredError}
|
|
10252
10579
|
*/
|
|
@@ -10473,6 +10800,17 @@ exports.SolutionApiFactory = function (configuration, basePath, axios) {
|
|
|
10473
10800
|
getSolutionAccessControl: function (organizationId, solutionId, identityId, options) {
|
|
10474
10801
|
return localVarFp.getSolutionAccessControl(organizationId, solutionId, identityId, options).then(function (request) { return request(axios, basePath); });
|
|
10475
10802
|
},
|
|
10803
|
+
/**
|
|
10804
|
+
*
|
|
10805
|
+
* @summary Get the Solution security information
|
|
10806
|
+
* @param {string} organizationId the Organization identifier
|
|
10807
|
+
* @param {string} solutionId the Solution identifier
|
|
10808
|
+
* @param {*} [options] Override http request option.
|
|
10809
|
+
* @throws {RequiredError}
|
|
10810
|
+
*/
|
|
10811
|
+
getSolutionSecurity: function (organizationId, solutionId, options) {
|
|
10812
|
+
return localVarFp.getSolutionSecurity(organizationId, solutionId, options).then(function (request) { return request(axios, basePath); });
|
|
10813
|
+
},
|
|
10476
10814
|
/**
|
|
10477
10815
|
*
|
|
10478
10816
|
* @summary Get the Solution security users list
|
|
@@ -10529,12 +10867,24 @@ exports.SolutionApiFactory = function (configuration, basePath, axios) {
|
|
|
10529
10867
|
removeSolutionAccessControl: function (organizationId, solutionId, identityId, options) {
|
|
10530
10868
|
return localVarFp.removeSolutionAccessControl(organizationId, solutionId, identityId, options).then(function (request) { return request(axios, basePath); });
|
|
10531
10869
|
},
|
|
10870
|
+
/**
|
|
10871
|
+
*
|
|
10872
|
+
* @summary Set the Solution default security
|
|
10873
|
+
* @param {string} organizationId the Organization identifier
|
|
10874
|
+
* @param {string} solutionId the Solution identifier
|
|
10875
|
+
* @param {SolutionRole} solutionRole This change the solution default security. The default security is the role assigned to any person not on the Access Control List. If the default security is None, then nobody outside of the ACL can access the solution.
|
|
10876
|
+
* @param {*} [options] Override http request option.
|
|
10877
|
+
* @throws {RequiredError}
|
|
10878
|
+
*/
|
|
10879
|
+
setSolutionDefaultSecurity: function (organizationId, solutionId, solutionRole, options) {
|
|
10880
|
+
return localVarFp.setSolutionDefaultSecurity(organizationId, solutionId, solutionRole, options).then(function (request) { return request(axios, basePath); });
|
|
10881
|
+
},
|
|
10532
10882
|
/**
|
|
10533
10883
|
*
|
|
10534
10884
|
* @summary Update a solution
|
|
10535
10885
|
* @param {string} organizationId the Organization identifier
|
|
10536
10886
|
* @param {string} solutionId the Solution identifier
|
|
10537
|
-
* @param {Solution} solution the new Solution details.
|
|
10887
|
+
* @param {Solution} solution the new Solution details. This endpoint can\'t be used to update security
|
|
10538
10888
|
* @param {*} [options] Override http request option.
|
|
10539
10889
|
* @throws {RequiredError}
|
|
10540
10890
|
*/
|
|
@@ -10747,6 +11097,19 @@ var SolutionApi = /** @class */ (function (_super) {
|
|
|
10747
11097
|
var _this = this;
|
|
10748
11098
|
return exports.SolutionApiFp(this.configuration).getSolutionAccessControl(organizationId, solutionId, identityId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
10749
11099
|
};
|
|
11100
|
+
/**
|
|
11101
|
+
*
|
|
11102
|
+
* @summary Get the Solution security information
|
|
11103
|
+
* @param {string} organizationId the Organization identifier
|
|
11104
|
+
* @param {string} solutionId the Solution identifier
|
|
11105
|
+
* @param {*} [options] Override http request option.
|
|
11106
|
+
* @throws {RequiredError}
|
|
11107
|
+
* @memberof SolutionApi
|
|
11108
|
+
*/
|
|
11109
|
+
SolutionApi.prototype.getSolutionSecurity = function (organizationId, solutionId, options) {
|
|
11110
|
+
var _this = this;
|
|
11111
|
+
return exports.SolutionApiFp(this.configuration).getSolutionSecurity(organizationId, solutionId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
11112
|
+
};
|
|
10750
11113
|
/**
|
|
10751
11114
|
*
|
|
10752
11115
|
* @summary Get the Solution security users list
|
|
@@ -10813,12 +11176,26 @@ var SolutionApi = /** @class */ (function (_super) {
|
|
|
10813
11176
|
var _this = this;
|
|
10814
11177
|
return exports.SolutionApiFp(this.configuration).removeSolutionAccessControl(organizationId, solutionId, identityId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
10815
11178
|
};
|
|
11179
|
+
/**
|
|
11180
|
+
*
|
|
11181
|
+
* @summary Set the Solution default security
|
|
11182
|
+
* @param {string} organizationId the Organization identifier
|
|
11183
|
+
* @param {string} solutionId the Solution identifier
|
|
11184
|
+
* @param {SolutionRole} solutionRole This change the solution default security. The default security is the role assigned to any person not on the Access Control List. If the default security is None, then nobody outside of the ACL can access the solution.
|
|
11185
|
+
* @param {*} [options] Override http request option.
|
|
11186
|
+
* @throws {RequiredError}
|
|
11187
|
+
* @memberof SolutionApi
|
|
11188
|
+
*/
|
|
11189
|
+
SolutionApi.prototype.setSolutionDefaultSecurity = function (organizationId, solutionId, solutionRole, options) {
|
|
11190
|
+
var _this = this;
|
|
11191
|
+
return exports.SolutionApiFp(this.configuration).setSolutionDefaultSecurity(organizationId, solutionId, solutionRole, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
11192
|
+
};
|
|
10816
11193
|
/**
|
|
10817
11194
|
*
|
|
10818
11195
|
* @summary Update a solution
|
|
10819
11196
|
* @param {string} organizationId the Organization identifier
|
|
10820
11197
|
* @param {string} solutionId the Solution identifier
|
|
10821
|
-
* @param {Solution} solution the new Solution details.
|
|
11198
|
+
* @param {Solution} solution the new Solution details. This endpoint can\'t be used to update security
|
|
10822
11199
|
* @param {*} [options] Override http request option.
|
|
10823
11200
|
* @throws {RequiredError}
|
|
10824
11201
|
* @memberof SolutionApi
|
|
@@ -10890,6 +11267,7 @@ exports.TwingraphApiAxiosParamCreator = function (configuration) {
|
|
|
10890
11267
|
* @param {string} organizationId the Organization identifier
|
|
10891
11268
|
* @param {string} graphId the Graph Identifier
|
|
10892
11269
|
* @param {*} [options] Override http request option.
|
|
11270
|
+
* @deprecated
|
|
10893
11271
|
* @throws {RequiredError}
|
|
10894
11272
|
*/
|
|
10895
11273
|
_delete: function (organizationId, graphId, options) {
|
|
@@ -10938,6 +11316,7 @@ exports.TwingraphApiAxiosParamCreator = function (configuration) {
|
|
|
10938
11316
|
* @param {string} graphId the Graph Identifier
|
|
10939
11317
|
* @param {TwinGraphQuery} twinGraphQuery the query to run
|
|
10940
11318
|
* @param {*} [options] Override http request option.
|
|
11319
|
+
* @deprecated
|
|
10941
11320
|
* @throws {RequiredError}
|
|
10942
11321
|
*/
|
|
10943
11322
|
batchQuery: function (organizationId, graphId, twinGraphQuery, options) {
|
|
@@ -10991,6 +11370,7 @@ exports.TwingraphApiAxiosParamCreator = function (configuration) {
|
|
|
10991
11370
|
* @param {TwinGraphQuery} twinGraphQuery
|
|
10992
11371
|
* @param {any} body
|
|
10993
11372
|
* @param {*} [options] Override http request option.
|
|
11373
|
+
* @deprecated
|
|
10994
11374
|
* @throws {RequiredError}
|
|
10995
11375
|
*/
|
|
10996
11376
|
batchUploadUpdate: function (organizationId, graphId, twinGraphQuery, body, options) {
|
|
@@ -11049,6 +11429,7 @@ exports.TwingraphApiAxiosParamCreator = function (configuration) {
|
|
|
11049
11429
|
* @param {'node' | 'relationship'} type the entity model type
|
|
11050
11430
|
* @param {Array<GraphProperties>} graphProperties the entities to create
|
|
11051
11431
|
* @param {*} [options] Override http request option.
|
|
11432
|
+
* @deprecated
|
|
11052
11433
|
* @throws {RequiredError}
|
|
11053
11434
|
*/
|
|
11054
11435
|
createEntities: function (organizationId, graphId, type, graphProperties, options) {
|
|
@@ -11104,6 +11485,7 @@ exports.TwingraphApiAxiosParamCreator = function (configuration) {
|
|
|
11104
11485
|
* @param {string} graphId the Graph Identifier
|
|
11105
11486
|
* @param {any} [body]
|
|
11106
11487
|
* @param {*} [options] Override http request option.
|
|
11488
|
+
* @deprecated
|
|
11107
11489
|
* @throws {RequiredError}
|
|
11108
11490
|
*/
|
|
11109
11491
|
createGraph: function (organizationId, graphId, body, options) {
|
|
@@ -11155,6 +11537,7 @@ exports.TwingraphApiAxiosParamCreator = function (configuration) {
|
|
|
11155
11537
|
* @param {'node' | 'relationship'} type the entity model type
|
|
11156
11538
|
* @param {Array<string>} ids the entities to delete
|
|
11157
11539
|
* @param {*} [options] Override http request option.
|
|
11540
|
+
* @deprecated
|
|
11158
11541
|
* @throws {RequiredError}
|
|
11159
11542
|
*/
|
|
11160
11543
|
deleteEntities: function (organizationId, graphId, type, ids, options) {
|
|
@@ -11210,6 +11593,7 @@ exports.TwingraphApiAxiosParamCreator = function (configuration) {
|
|
|
11210
11593
|
* @param {string} organizationId the Organization identifier
|
|
11211
11594
|
* @param {string} hash the Graph download identifier
|
|
11212
11595
|
* @param {*} [options] Override http request option.
|
|
11596
|
+
* @deprecated
|
|
11213
11597
|
* @throws {RequiredError}
|
|
11214
11598
|
*/
|
|
11215
11599
|
downloadGraph: function (organizationId, hash, options) {
|
|
@@ -11256,6 +11640,7 @@ exports.TwingraphApiAxiosParamCreator = function (configuration) {
|
|
|
11256
11640
|
* @summary Return the list of all graphs stored in the organization
|
|
11257
11641
|
* @param {string} organizationId the Organization identifier
|
|
11258
11642
|
* @param {*} [options] Override http request option.
|
|
11643
|
+
* @deprecated
|
|
11259
11644
|
* @throws {RequiredError}
|
|
11260
11645
|
*/
|
|
11261
11646
|
findAllTwingraphs: function (organizationId, options) {
|
|
@@ -11302,6 +11687,7 @@ exports.TwingraphApiAxiosParamCreator = function (configuration) {
|
|
|
11302
11687
|
* @param {'node' | 'relationship'} type the entity model type
|
|
11303
11688
|
* @param {Array<string>} ids the entities to get
|
|
11304
11689
|
* @param {*} [options] Override http request option.
|
|
11690
|
+
* @deprecated
|
|
11305
11691
|
* @throws {RequiredError}
|
|
11306
11692
|
*/
|
|
11307
11693
|
getEntities: function (organizationId, graphId, type, ids, options) {
|
|
@@ -11357,6 +11743,7 @@ exports.TwingraphApiAxiosParamCreator = function (configuration) {
|
|
|
11357
11743
|
* @param {string} organizationId the Organization identifier
|
|
11358
11744
|
* @param {string} graphId the Graph Identifier
|
|
11359
11745
|
* @param {*} [options] Override http request option.
|
|
11746
|
+
* @deprecated
|
|
11360
11747
|
* @throws {RequiredError}
|
|
11361
11748
|
*/
|
|
11362
11749
|
getGraphMetaData: function (organizationId, graphId, options) {
|
|
@@ -11404,6 +11791,7 @@ exports.TwingraphApiAxiosParamCreator = function (configuration) {
|
|
|
11404
11791
|
* @param {string} organizationId the Organization identifier
|
|
11405
11792
|
* @param {string} jobId the job identifier
|
|
11406
11793
|
* @param {*} [options] Override http request option.
|
|
11794
|
+
* @deprecated
|
|
11407
11795
|
* @throws {RequiredError}
|
|
11408
11796
|
*/
|
|
11409
11797
|
jobStatus: function (organizationId, jobId, options) {
|
|
@@ -11452,6 +11840,7 @@ exports.TwingraphApiAxiosParamCreator = function (configuration) {
|
|
|
11452
11840
|
* @param {string} graphId the Graph Identifier
|
|
11453
11841
|
* @param {TwinGraphQuery} twinGraphQuery the query to run
|
|
11454
11842
|
* @param {*} [options] Override http request option.
|
|
11843
|
+
* @deprecated
|
|
11455
11844
|
* @throws {RequiredError}
|
|
11456
11845
|
*/
|
|
11457
11846
|
query: function (organizationId, graphId, twinGraphQuery, options) {
|
|
@@ -11505,6 +11894,7 @@ exports.TwingraphApiAxiosParamCreator = function (configuration) {
|
|
|
11505
11894
|
* @param {'node' | 'relationship'} type the entity model type
|
|
11506
11895
|
* @param {Array<GraphProperties>} graphProperties the entities to update
|
|
11507
11896
|
* @param {*} [options] Override http request option.
|
|
11897
|
+
* @deprecated
|
|
11508
11898
|
* @throws {RequiredError}
|
|
11509
11899
|
*/
|
|
11510
11900
|
updateEntities: function (organizationId, graphId, type, graphProperties, options) {
|
|
@@ -11560,6 +11950,7 @@ exports.TwingraphApiAxiosParamCreator = function (configuration) {
|
|
|
11560
11950
|
* @param {string} graphId the Graph Identifier
|
|
11561
11951
|
* @param {{ [key: string]: string; }} requestBody the metaData to update
|
|
11562
11952
|
* @param {*} [options] Override http request option.
|
|
11953
|
+
* @deprecated
|
|
11563
11954
|
* @throws {RequiredError}
|
|
11564
11955
|
*/
|
|
11565
11956
|
updateGraphMetaData: function (organizationId, graphId, requestBody, options) {
|
|
@@ -11620,6 +12011,7 @@ exports.TwingraphApiFp = function (configuration) {
|
|
|
11620
12011
|
* @param {string} organizationId the Organization identifier
|
|
11621
12012
|
* @param {string} graphId the Graph Identifier
|
|
11622
12013
|
* @param {*} [options] Override http request option.
|
|
12014
|
+
* @deprecated
|
|
11623
12015
|
* @throws {RequiredError}
|
|
11624
12016
|
*/
|
|
11625
12017
|
_delete: function (organizationId, graphId, options) {
|
|
@@ -11642,6 +12034,7 @@ exports.TwingraphApiFp = function (configuration) {
|
|
|
11642
12034
|
* @param {string} graphId the Graph Identifier
|
|
11643
12035
|
* @param {TwinGraphQuery} twinGraphQuery the query to run
|
|
11644
12036
|
* @param {*} [options] Override http request option.
|
|
12037
|
+
* @deprecated
|
|
11645
12038
|
* @throws {RequiredError}
|
|
11646
12039
|
*/
|
|
11647
12040
|
batchQuery: function (organizationId, graphId, twinGraphQuery, options) {
|
|
@@ -11665,6 +12058,7 @@ exports.TwingraphApiFp = function (configuration) {
|
|
|
11665
12058
|
* @param {TwinGraphQuery} twinGraphQuery
|
|
11666
12059
|
* @param {any} body
|
|
11667
12060
|
* @param {*} [options] Override http request option.
|
|
12061
|
+
* @deprecated
|
|
11668
12062
|
* @throws {RequiredError}
|
|
11669
12063
|
*/
|
|
11670
12064
|
batchUploadUpdate: function (organizationId, graphId, twinGraphQuery, body, options) {
|
|
@@ -11688,6 +12082,7 @@ exports.TwingraphApiFp = function (configuration) {
|
|
|
11688
12082
|
* @param {'node' | 'relationship'} type the entity model type
|
|
11689
12083
|
* @param {Array<GraphProperties>} graphProperties the entities to create
|
|
11690
12084
|
* @param {*} [options] Override http request option.
|
|
12085
|
+
* @deprecated
|
|
11691
12086
|
* @throws {RequiredError}
|
|
11692
12087
|
*/
|
|
11693
12088
|
createEntities: function (organizationId, graphId, type, graphProperties, options) {
|
|
@@ -11710,6 +12105,7 @@ exports.TwingraphApiFp = function (configuration) {
|
|
|
11710
12105
|
* @param {string} graphId the Graph Identifier
|
|
11711
12106
|
* @param {any} [body]
|
|
11712
12107
|
* @param {*} [options] Override http request option.
|
|
12108
|
+
* @deprecated
|
|
11713
12109
|
* @throws {RequiredError}
|
|
11714
12110
|
*/
|
|
11715
12111
|
createGraph: function (organizationId, graphId, body, options) {
|
|
@@ -11733,6 +12129,7 @@ exports.TwingraphApiFp = function (configuration) {
|
|
|
11733
12129
|
* @param {'node' | 'relationship'} type the entity model type
|
|
11734
12130
|
* @param {Array<string>} ids the entities to delete
|
|
11735
12131
|
* @param {*} [options] Override http request option.
|
|
12132
|
+
* @deprecated
|
|
11736
12133
|
* @throws {RequiredError}
|
|
11737
12134
|
*/
|
|
11738
12135
|
deleteEntities: function (organizationId, graphId, type, ids, options) {
|
|
@@ -11754,6 +12151,7 @@ exports.TwingraphApiFp = function (configuration) {
|
|
|
11754
12151
|
* @param {string} organizationId the Organization identifier
|
|
11755
12152
|
* @param {string} hash the Graph download identifier
|
|
11756
12153
|
* @param {*} [options] Override http request option.
|
|
12154
|
+
* @deprecated
|
|
11757
12155
|
* @throws {RequiredError}
|
|
11758
12156
|
*/
|
|
11759
12157
|
downloadGraph: function (organizationId, hash, options) {
|
|
@@ -11774,6 +12172,7 @@ exports.TwingraphApiFp = function (configuration) {
|
|
|
11774
12172
|
* @summary Return the list of all graphs stored in the organization
|
|
11775
12173
|
* @param {string} organizationId the Organization identifier
|
|
11776
12174
|
* @param {*} [options] Override http request option.
|
|
12175
|
+
* @deprecated
|
|
11777
12176
|
* @throws {RequiredError}
|
|
11778
12177
|
*/
|
|
11779
12178
|
findAllTwingraphs: function (organizationId, options) {
|
|
@@ -11797,6 +12196,7 @@ exports.TwingraphApiFp = function (configuration) {
|
|
|
11797
12196
|
* @param {'node' | 'relationship'} type the entity model type
|
|
11798
12197
|
* @param {Array<string>} ids the entities to get
|
|
11799
12198
|
* @param {*} [options] Override http request option.
|
|
12199
|
+
* @deprecated
|
|
11800
12200
|
* @throws {RequiredError}
|
|
11801
12201
|
*/
|
|
11802
12202
|
getEntities: function (organizationId, graphId, type, ids, options) {
|
|
@@ -11818,6 +12218,7 @@ exports.TwingraphApiFp = function (configuration) {
|
|
|
11818
12218
|
* @param {string} organizationId the Organization identifier
|
|
11819
12219
|
* @param {string} graphId the Graph Identifier
|
|
11820
12220
|
* @param {*} [options] Override http request option.
|
|
12221
|
+
* @deprecated
|
|
11821
12222
|
* @throws {RequiredError}
|
|
11822
12223
|
*/
|
|
11823
12224
|
getGraphMetaData: function (organizationId, graphId, options) {
|
|
@@ -11839,6 +12240,7 @@ exports.TwingraphApiFp = function (configuration) {
|
|
|
11839
12240
|
* @param {string} organizationId the Organization identifier
|
|
11840
12241
|
* @param {string} jobId the job identifier
|
|
11841
12242
|
* @param {*} [options] Override http request option.
|
|
12243
|
+
* @deprecated
|
|
11842
12244
|
* @throws {RequiredError}
|
|
11843
12245
|
*/
|
|
11844
12246
|
jobStatus: function (organizationId, jobId, options) {
|
|
@@ -11861,6 +12263,7 @@ exports.TwingraphApiFp = function (configuration) {
|
|
|
11861
12263
|
* @param {string} graphId the Graph Identifier
|
|
11862
12264
|
* @param {TwinGraphQuery} twinGraphQuery the query to run
|
|
11863
12265
|
* @param {*} [options] Override http request option.
|
|
12266
|
+
* @deprecated
|
|
11864
12267
|
* @throws {RequiredError}
|
|
11865
12268
|
*/
|
|
11866
12269
|
query: function (organizationId, graphId, twinGraphQuery, options) {
|
|
@@ -11884,6 +12287,7 @@ exports.TwingraphApiFp = function (configuration) {
|
|
|
11884
12287
|
* @param {'node' | 'relationship'} type the entity model type
|
|
11885
12288
|
* @param {Array<GraphProperties>} graphProperties the entities to update
|
|
11886
12289
|
* @param {*} [options] Override http request option.
|
|
12290
|
+
* @deprecated
|
|
11887
12291
|
* @throws {RequiredError}
|
|
11888
12292
|
*/
|
|
11889
12293
|
updateEntities: function (organizationId, graphId, type, graphProperties, options) {
|
|
@@ -11906,6 +12310,7 @@ exports.TwingraphApiFp = function (configuration) {
|
|
|
11906
12310
|
* @param {string} graphId the Graph Identifier
|
|
11907
12311
|
* @param {{ [key: string]: string; }} requestBody the metaData to update
|
|
11908
12312
|
* @param {*} [options] Override http request option.
|
|
12313
|
+
* @deprecated
|
|
11909
12314
|
* @throws {RequiredError}
|
|
11910
12315
|
*/
|
|
11911
12316
|
updateGraphMetaData: function (organizationId, graphId, requestBody, options) {
|
|
@@ -11936,6 +12341,7 @@ exports.TwingraphApiFactory = function (configuration, basePath, axios) {
|
|
|
11936
12341
|
* @param {string} organizationId the Organization identifier
|
|
11937
12342
|
* @param {string} graphId the Graph Identifier
|
|
11938
12343
|
* @param {*} [options] Override http request option.
|
|
12344
|
+
* @deprecated
|
|
11939
12345
|
* @throws {RequiredError}
|
|
11940
12346
|
*/
|
|
11941
12347
|
_delete: function (organizationId, graphId, options) {
|
|
@@ -11948,6 +12354,7 @@ exports.TwingraphApiFactory = function (configuration, basePath, axios) {
|
|
|
11948
12354
|
* @param {string} graphId the Graph Identifier
|
|
11949
12355
|
* @param {TwinGraphQuery} twinGraphQuery the query to run
|
|
11950
12356
|
* @param {*} [options] Override http request option.
|
|
12357
|
+
* @deprecated
|
|
11951
12358
|
* @throws {RequiredError}
|
|
11952
12359
|
*/
|
|
11953
12360
|
batchQuery: function (organizationId, graphId, twinGraphQuery, options) {
|
|
@@ -11961,6 +12368,7 @@ exports.TwingraphApiFactory = function (configuration, basePath, axios) {
|
|
|
11961
12368
|
* @param {TwinGraphQuery} twinGraphQuery
|
|
11962
12369
|
* @param {any} body
|
|
11963
12370
|
* @param {*} [options] Override http request option.
|
|
12371
|
+
* @deprecated
|
|
11964
12372
|
* @throws {RequiredError}
|
|
11965
12373
|
*/
|
|
11966
12374
|
batchUploadUpdate: function (organizationId, graphId, twinGraphQuery, body, options) {
|
|
@@ -11974,6 +12382,7 @@ exports.TwingraphApiFactory = function (configuration, basePath, axios) {
|
|
|
11974
12382
|
* @param {'node' | 'relationship'} type the entity model type
|
|
11975
12383
|
* @param {Array<GraphProperties>} graphProperties the entities to create
|
|
11976
12384
|
* @param {*} [options] Override http request option.
|
|
12385
|
+
* @deprecated
|
|
11977
12386
|
* @throws {RequiredError}
|
|
11978
12387
|
*/
|
|
11979
12388
|
createEntities: function (organizationId, graphId, type, graphProperties, options) {
|
|
@@ -11986,6 +12395,7 @@ exports.TwingraphApiFactory = function (configuration, basePath, axios) {
|
|
|
11986
12395
|
* @param {string} graphId the Graph Identifier
|
|
11987
12396
|
* @param {any} [body]
|
|
11988
12397
|
* @param {*} [options] Override http request option.
|
|
12398
|
+
* @deprecated
|
|
11989
12399
|
* @throws {RequiredError}
|
|
11990
12400
|
*/
|
|
11991
12401
|
createGraph: function (organizationId, graphId, body, options) {
|
|
@@ -11999,6 +12409,7 @@ exports.TwingraphApiFactory = function (configuration, basePath, axios) {
|
|
|
11999
12409
|
* @param {'node' | 'relationship'} type the entity model type
|
|
12000
12410
|
* @param {Array<string>} ids the entities to delete
|
|
12001
12411
|
* @param {*} [options] Override http request option.
|
|
12412
|
+
* @deprecated
|
|
12002
12413
|
* @throws {RequiredError}
|
|
12003
12414
|
*/
|
|
12004
12415
|
deleteEntities: function (organizationId, graphId, type, ids, options) {
|
|
@@ -12010,6 +12421,7 @@ exports.TwingraphApiFactory = function (configuration, basePath, axios) {
|
|
|
12010
12421
|
* @param {string} organizationId the Organization identifier
|
|
12011
12422
|
* @param {string} hash the Graph download identifier
|
|
12012
12423
|
* @param {*} [options] Override http request option.
|
|
12424
|
+
* @deprecated
|
|
12013
12425
|
* @throws {RequiredError}
|
|
12014
12426
|
*/
|
|
12015
12427
|
downloadGraph: function (organizationId, hash, options) {
|
|
@@ -12020,6 +12432,7 @@ exports.TwingraphApiFactory = function (configuration, basePath, axios) {
|
|
|
12020
12432
|
* @summary Return the list of all graphs stored in the organization
|
|
12021
12433
|
* @param {string} organizationId the Organization identifier
|
|
12022
12434
|
* @param {*} [options] Override http request option.
|
|
12435
|
+
* @deprecated
|
|
12023
12436
|
* @throws {RequiredError}
|
|
12024
12437
|
*/
|
|
12025
12438
|
findAllTwingraphs: function (organizationId, options) {
|
|
@@ -12033,6 +12446,7 @@ exports.TwingraphApiFactory = function (configuration, basePath, axios) {
|
|
|
12033
12446
|
* @param {'node' | 'relationship'} type the entity model type
|
|
12034
12447
|
* @param {Array<string>} ids the entities to get
|
|
12035
12448
|
* @param {*} [options] Override http request option.
|
|
12449
|
+
* @deprecated
|
|
12036
12450
|
* @throws {RequiredError}
|
|
12037
12451
|
*/
|
|
12038
12452
|
getEntities: function (organizationId, graphId, type, ids, options) {
|
|
@@ -12044,6 +12458,7 @@ exports.TwingraphApiFactory = function (configuration, basePath, axios) {
|
|
|
12044
12458
|
* @param {string} organizationId the Organization identifier
|
|
12045
12459
|
* @param {string} graphId the Graph Identifier
|
|
12046
12460
|
* @param {*} [options] Override http request option.
|
|
12461
|
+
* @deprecated
|
|
12047
12462
|
* @throws {RequiredError}
|
|
12048
12463
|
*/
|
|
12049
12464
|
getGraphMetaData: function (organizationId, graphId, options) {
|
|
@@ -12055,6 +12470,7 @@ exports.TwingraphApiFactory = function (configuration, basePath, axios) {
|
|
|
12055
12470
|
* @param {string} organizationId the Organization identifier
|
|
12056
12471
|
* @param {string} jobId the job identifier
|
|
12057
12472
|
* @param {*} [options] Override http request option.
|
|
12473
|
+
* @deprecated
|
|
12058
12474
|
* @throws {RequiredError}
|
|
12059
12475
|
*/
|
|
12060
12476
|
jobStatus: function (organizationId, jobId, options) {
|
|
@@ -12067,6 +12483,7 @@ exports.TwingraphApiFactory = function (configuration, basePath, axios) {
|
|
|
12067
12483
|
* @param {string} graphId the Graph Identifier
|
|
12068
12484
|
* @param {TwinGraphQuery} twinGraphQuery the query to run
|
|
12069
12485
|
* @param {*} [options] Override http request option.
|
|
12486
|
+
* @deprecated
|
|
12070
12487
|
* @throws {RequiredError}
|
|
12071
12488
|
*/
|
|
12072
12489
|
query: function (organizationId, graphId, twinGraphQuery, options) {
|
|
@@ -12080,6 +12497,7 @@ exports.TwingraphApiFactory = function (configuration, basePath, axios) {
|
|
|
12080
12497
|
* @param {'node' | 'relationship'} type the entity model type
|
|
12081
12498
|
* @param {Array<GraphProperties>} graphProperties the entities to update
|
|
12082
12499
|
* @param {*} [options] Override http request option.
|
|
12500
|
+
* @deprecated
|
|
12083
12501
|
* @throws {RequiredError}
|
|
12084
12502
|
*/
|
|
12085
12503
|
updateEntities: function (organizationId, graphId, type, graphProperties, options) {
|
|
@@ -12092,6 +12510,7 @@ exports.TwingraphApiFactory = function (configuration, basePath, axios) {
|
|
|
12092
12510
|
* @param {string} graphId the Graph Identifier
|
|
12093
12511
|
* @param {{ [key: string]: string; }} requestBody the metaData to update
|
|
12094
12512
|
* @param {*} [options] Override http request option.
|
|
12513
|
+
* @deprecated
|
|
12095
12514
|
* @throws {RequiredError}
|
|
12096
12515
|
*/
|
|
12097
12516
|
updateGraphMetaData: function (organizationId, graphId, requestBody, options) {
|
|
@@ -12116,6 +12535,7 @@ var TwingraphApi = /** @class */ (function (_super) {
|
|
|
12116
12535
|
* @param {string} organizationId the Organization identifier
|
|
12117
12536
|
* @param {string} graphId the Graph Identifier
|
|
12118
12537
|
* @param {*} [options] Override http request option.
|
|
12538
|
+
* @deprecated
|
|
12119
12539
|
* @throws {RequiredError}
|
|
12120
12540
|
* @memberof TwingraphApi
|
|
12121
12541
|
*/
|
|
@@ -12130,6 +12550,7 @@ var TwingraphApi = /** @class */ (function (_super) {
|
|
|
12130
12550
|
* @param {string} graphId the Graph Identifier
|
|
12131
12551
|
* @param {TwinGraphQuery} twinGraphQuery the query to run
|
|
12132
12552
|
* @param {*} [options] Override http request option.
|
|
12553
|
+
* @deprecated
|
|
12133
12554
|
* @throws {RequiredError}
|
|
12134
12555
|
* @memberof TwingraphApi
|
|
12135
12556
|
*/
|
|
@@ -12145,6 +12566,7 @@ var TwingraphApi = /** @class */ (function (_super) {
|
|
|
12145
12566
|
* @param {TwinGraphQuery} twinGraphQuery
|
|
12146
12567
|
* @param {any} body
|
|
12147
12568
|
* @param {*} [options] Override http request option.
|
|
12569
|
+
* @deprecated
|
|
12148
12570
|
* @throws {RequiredError}
|
|
12149
12571
|
* @memberof TwingraphApi
|
|
12150
12572
|
*/
|
|
@@ -12160,6 +12582,7 @@ var TwingraphApi = /** @class */ (function (_super) {
|
|
|
12160
12582
|
* @param {'node' | 'relationship'} type the entity model type
|
|
12161
12583
|
* @param {Array<GraphProperties>} graphProperties the entities to create
|
|
12162
12584
|
* @param {*} [options] Override http request option.
|
|
12585
|
+
* @deprecated
|
|
12163
12586
|
* @throws {RequiredError}
|
|
12164
12587
|
* @memberof TwingraphApi
|
|
12165
12588
|
*/
|
|
@@ -12174,6 +12597,7 @@ var TwingraphApi = /** @class */ (function (_super) {
|
|
|
12174
12597
|
* @param {string} graphId the Graph Identifier
|
|
12175
12598
|
* @param {any} [body]
|
|
12176
12599
|
* @param {*} [options] Override http request option.
|
|
12600
|
+
* @deprecated
|
|
12177
12601
|
* @throws {RequiredError}
|
|
12178
12602
|
* @memberof TwingraphApi
|
|
12179
12603
|
*/
|
|
@@ -12189,6 +12613,7 @@ var TwingraphApi = /** @class */ (function (_super) {
|
|
|
12189
12613
|
* @param {'node' | 'relationship'} type the entity model type
|
|
12190
12614
|
* @param {Array<string>} ids the entities to delete
|
|
12191
12615
|
* @param {*} [options] Override http request option.
|
|
12616
|
+
* @deprecated
|
|
12192
12617
|
* @throws {RequiredError}
|
|
12193
12618
|
* @memberof TwingraphApi
|
|
12194
12619
|
*/
|
|
@@ -12202,6 +12627,7 @@ var TwingraphApi = /** @class */ (function (_super) {
|
|
|
12202
12627
|
* @param {string} organizationId the Organization identifier
|
|
12203
12628
|
* @param {string} hash the Graph download identifier
|
|
12204
12629
|
* @param {*} [options] Override http request option.
|
|
12630
|
+
* @deprecated
|
|
12205
12631
|
* @throws {RequiredError}
|
|
12206
12632
|
* @memberof TwingraphApi
|
|
12207
12633
|
*/
|
|
@@ -12214,6 +12640,7 @@ var TwingraphApi = /** @class */ (function (_super) {
|
|
|
12214
12640
|
* @summary Return the list of all graphs stored in the organization
|
|
12215
12641
|
* @param {string} organizationId the Organization identifier
|
|
12216
12642
|
* @param {*} [options] Override http request option.
|
|
12643
|
+
* @deprecated
|
|
12217
12644
|
* @throws {RequiredError}
|
|
12218
12645
|
* @memberof TwingraphApi
|
|
12219
12646
|
*/
|
|
@@ -12229,6 +12656,7 @@ var TwingraphApi = /** @class */ (function (_super) {
|
|
|
12229
12656
|
* @param {'node' | 'relationship'} type the entity model type
|
|
12230
12657
|
* @param {Array<string>} ids the entities to get
|
|
12231
12658
|
* @param {*} [options] Override http request option.
|
|
12659
|
+
* @deprecated
|
|
12232
12660
|
* @throws {RequiredError}
|
|
12233
12661
|
* @memberof TwingraphApi
|
|
12234
12662
|
*/
|
|
@@ -12242,6 +12670,7 @@ var TwingraphApi = /** @class */ (function (_super) {
|
|
|
12242
12670
|
* @param {string} organizationId the Organization identifier
|
|
12243
12671
|
* @param {string} graphId the Graph Identifier
|
|
12244
12672
|
* @param {*} [options] Override http request option.
|
|
12673
|
+
* @deprecated
|
|
12245
12674
|
* @throws {RequiredError}
|
|
12246
12675
|
* @memberof TwingraphApi
|
|
12247
12676
|
*/
|
|
@@ -12255,6 +12684,7 @@ var TwingraphApi = /** @class */ (function (_super) {
|
|
|
12255
12684
|
* @param {string} organizationId the Organization identifier
|
|
12256
12685
|
* @param {string} jobId the job identifier
|
|
12257
12686
|
* @param {*} [options] Override http request option.
|
|
12687
|
+
* @deprecated
|
|
12258
12688
|
* @throws {RequiredError}
|
|
12259
12689
|
* @memberof TwingraphApi
|
|
12260
12690
|
*/
|
|
@@ -12269,6 +12699,7 @@ var TwingraphApi = /** @class */ (function (_super) {
|
|
|
12269
12699
|
* @param {string} graphId the Graph Identifier
|
|
12270
12700
|
* @param {TwinGraphQuery} twinGraphQuery the query to run
|
|
12271
12701
|
* @param {*} [options] Override http request option.
|
|
12702
|
+
* @deprecated
|
|
12272
12703
|
* @throws {RequiredError}
|
|
12273
12704
|
* @memberof TwingraphApi
|
|
12274
12705
|
*/
|
|
@@ -12284,6 +12715,7 @@ var TwingraphApi = /** @class */ (function (_super) {
|
|
|
12284
12715
|
* @param {'node' | 'relationship'} type the entity model type
|
|
12285
12716
|
* @param {Array<GraphProperties>} graphProperties the entities to update
|
|
12286
12717
|
* @param {*} [options] Override http request option.
|
|
12718
|
+
* @deprecated
|
|
12287
12719
|
* @throws {RequiredError}
|
|
12288
12720
|
* @memberof TwingraphApi
|
|
12289
12721
|
*/
|
|
@@ -12298,6 +12730,7 @@ var TwingraphApi = /** @class */ (function (_super) {
|
|
|
12298
12730
|
* @param {string} graphId the Graph Identifier
|
|
12299
12731
|
* @param {{ [key: string]: string; }} requestBody the metaData to update
|
|
12300
12732
|
* @param {*} [options] Override http request option.
|
|
12733
|
+
* @deprecated
|
|
12301
12734
|
* @throws {RequiredError}
|
|
12302
12735
|
* @memberof TwingraphApi
|
|
12303
12736
|
*/
|
|
@@ -13957,7 +14390,7 @@ exports.WorkspaceApiAxiosParamCreator = function (configuration) {
|
|
|
13957
14390
|
* @summary Set the Workspace default security
|
|
13958
14391
|
* @param {string} organizationId the Organization identifier
|
|
13959
14392
|
* @param {string} workspaceId the Workspace identifier
|
|
13960
|
-
* @param {WorkspaceRole} workspaceRole the
|
|
14393
|
+
* @param {WorkspaceRole} workspaceRole This change the workspace default security. The default security is the role assigned to any person not on the Access Control List. If the default security is None, then nobody outside of the ACL can access the workspace.
|
|
13961
14394
|
* @param {*} [options] Override http request option.
|
|
13962
14395
|
* @throws {RequiredError}
|
|
13963
14396
|
*/
|
|
@@ -14009,7 +14442,7 @@ exports.WorkspaceApiAxiosParamCreator = function (configuration) {
|
|
|
14009
14442
|
* @summary Update a workspace
|
|
14010
14443
|
* @param {string} organizationId the Organization identifier
|
|
14011
14444
|
* @param {string} workspaceId the Workspace identifier
|
|
14012
|
-
* @param {Workspace} workspace The new Workspace details.
|
|
14445
|
+
* @param {Workspace} workspace The new Workspace details. This endpoint can\'t be used to update security
|
|
14013
14446
|
* @param {*} [options] Override http request option.
|
|
14014
14447
|
* @throws {RequiredError}
|
|
14015
14448
|
*/
|
|
@@ -14513,7 +14946,7 @@ exports.WorkspaceApiFp = function (configuration) {
|
|
|
14513
14946
|
* @summary Set the Workspace default security
|
|
14514
14947
|
* @param {string} organizationId the Organization identifier
|
|
14515
14948
|
* @param {string} workspaceId the Workspace identifier
|
|
14516
|
-
* @param {WorkspaceRole} workspaceRole the
|
|
14949
|
+
* @param {WorkspaceRole} workspaceRole This change the workspace default security. The default security is the role assigned to any person not on the Access Control List. If the default security is None, then nobody outside of the ACL can access the workspace.
|
|
14517
14950
|
* @param {*} [options] Override http request option.
|
|
14518
14951
|
* @throws {RequiredError}
|
|
14519
14952
|
*/
|
|
@@ -14535,7 +14968,7 @@ exports.WorkspaceApiFp = function (configuration) {
|
|
|
14535
14968
|
* @summary Update a workspace
|
|
14536
14969
|
* @param {string} organizationId the Organization identifier
|
|
14537
14970
|
* @param {string} workspaceId the Workspace identifier
|
|
14538
|
-
* @param {Workspace} workspace The new Workspace details.
|
|
14971
|
+
* @param {Workspace} workspace The new Workspace details. This endpoint can\'t be used to update security
|
|
14539
14972
|
* @param {*} [options] Override http request option.
|
|
14540
14973
|
* @throws {RequiredError}
|
|
14541
14974
|
*/
|
|
@@ -14786,7 +15219,7 @@ exports.WorkspaceApiFactory = function (configuration, basePath, axios) {
|
|
|
14786
15219
|
* @summary Set the Workspace default security
|
|
14787
15220
|
* @param {string} organizationId the Organization identifier
|
|
14788
15221
|
* @param {string} workspaceId the Workspace identifier
|
|
14789
|
-
* @param {WorkspaceRole} workspaceRole the
|
|
15222
|
+
* @param {WorkspaceRole} workspaceRole This change the workspace default security. The default security is the role assigned to any person not on the Access Control List. If the default security is None, then nobody outside of the ACL can access the workspace.
|
|
14790
15223
|
* @param {*} [options] Override http request option.
|
|
14791
15224
|
* @throws {RequiredError}
|
|
14792
15225
|
*/
|
|
@@ -14798,7 +15231,7 @@ exports.WorkspaceApiFactory = function (configuration, basePath, axios) {
|
|
|
14798
15231
|
* @summary Update a workspace
|
|
14799
15232
|
* @param {string} organizationId the Organization identifier
|
|
14800
15233
|
* @param {string} workspaceId the Workspace identifier
|
|
14801
|
-
* @param {Workspace} workspace The new Workspace details.
|
|
15234
|
+
* @param {Workspace} workspace The new Workspace details. This endpoint can\'t be used to update security
|
|
14802
15235
|
* @param {*} [options] Override http request option.
|
|
14803
15236
|
* @throws {RequiredError}
|
|
14804
15237
|
*/
|
|
@@ -15053,7 +15486,7 @@ var WorkspaceApi = /** @class */ (function (_super) {
|
|
|
15053
15486
|
* @summary Set the Workspace default security
|
|
15054
15487
|
* @param {string} organizationId the Organization identifier
|
|
15055
15488
|
* @param {string} workspaceId the Workspace identifier
|
|
15056
|
-
* @param {WorkspaceRole} workspaceRole the
|
|
15489
|
+
* @param {WorkspaceRole} workspaceRole This change the workspace default security. The default security is the role assigned to any person not on the Access Control List. If the default security is None, then nobody outside of the ACL can access the workspace.
|
|
15057
15490
|
* @param {*} [options] Override http request option.
|
|
15058
15491
|
* @throws {RequiredError}
|
|
15059
15492
|
* @memberof WorkspaceApi
|
|
@@ -15067,7 +15500,7 @@ var WorkspaceApi = /** @class */ (function (_super) {
|
|
|
15067
15500
|
* @summary Update a workspace
|
|
15068
15501
|
* @param {string} organizationId the Organization identifier
|
|
15069
15502
|
* @param {string} workspaceId the Workspace identifier
|
|
15070
|
-
* @param {Workspace} workspace The new Workspace details.
|
|
15503
|
+
* @param {Workspace} workspace The new Workspace details. This endpoint can\'t be used to update security
|
|
15071
15504
|
* @param {*} [options] Override http request option.
|
|
15072
15505
|
* @throws {RequiredError}
|
|
15073
15506
|
* @memberof WorkspaceApi
|