@cosmotech/api-ts 5.0.0-beta4 → 5.0.0-beta6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/publish.yaml +13 -12
- package/.github/workflows/track_dependencies.yml +31 -0
- package/.openapi-generator/FILES +1 -5
- package/README.md +5 -15
- package/api.ts +218 -777
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +240 -524
- package/dist/api.js +194 -819
- 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/docs/Connector.md +41 -0
- package/docs/ConnectorApi.md +218 -0
- package/docs/ConnectorParameter.md +31 -0
- package/docs/ConnectorParameterGroup.md +25 -0
- package/docs/DatasetApi.md +110 -28
- package/docs/DatasetCompatibility.md +25 -0
- package/docs/DatasetConnector.md +27 -0
- package/docs/DatasetCopyParameters.md +25 -0
- package/docs/DatasetPartTypeEnum.md +1 -1
- package/docs/DatasetSearch.md +21 -0
- package/docs/DatasetSourceType.md +19 -0
- package/docs/DatasetTwinGraphHash.md +21 -0
- package/docs/DatasetTwinGraphInfo.md +25 -0
- package/docs/DatasetTwinGraphQuery.md +21 -0
- package/docs/DeleteHistoricalData.md +25 -0
- package/docs/FileUploadMetadata.md +22 -0
- package/docs/FileUploadValidation.md +23 -0
- package/docs/GraphProperties.md +28 -0
- package/docs/IngestionStatusEnum.md +15 -0
- package/docs/IoTypesEnum.md +11 -0
- package/docs/RunApi.md +0 -129
- package/docs/RunData.md +1 -1
- package/docs/RunLogs.md +23 -0
- package/docs/RunLogsEntry.md +21 -0
- package/docs/RunTemplateOrchestrator.md +11 -0
- package/docs/RunTemplateStepSource.md +15 -0
- package/docs/Runner.md +2 -2
- package/docs/RunnerApi.md +4 -4
- package/docs/RunnerCreateRequest.md +4 -4
- package/docs/RunnerDatasets.md +24 -0
- package/docs/RunnerRunTemplateParameterValue.md +1 -1
- package/docs/RunnerUpdateRequest.md +2 -2
- package/docs/SendRunDataRequest.md +2 -3
- package/docs/SolutionApi.md +0 -290
- package/docs/SourceInfo.md +27 -0
- package/docs/SubDatasetGraphQuery.md +27 -0
- package/docs/TwinGraphBatchResult.md +25 -0
- package/docs/TwincacheStatusEnum.md +11 -0
- package/docs/WorkspaceSolution.md +4 -0
- package/git_push.sh +2 -2
- package/index.ts +1 -1
- package/package.json +2 -2
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: 5.0.0-
|
|
8
|
+
* The version of the OpenAPI document: 5.0.0-beta6
|
|
9
9
|
* Contact: platform@cosmotech.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -98,7 +98,7 @@ var base_1 = require("./base");
|
|
|
98
98
|
*/
|
|
99
99
|
exports.DatasetPartTypeEnum = {
|
|
100
100
|
File: 'File',
|
|
101
|
-
|
|
101
|
+
Db: 'DB'
|
|
102
102
|
};
|
|
103
103
|
exports.LastRunInfoLastRunStatusEnum = {
|
|
104
104
|
NotStarted: 'NotStarted',
|
|
@@ -917,25 +917,30 @@ var DatasetApiAxiosParamCreator = function (configuration) {
|
|
|
917
917
|
},
|
|
918
918
|
/**
|
|
919
919
|
*
|
|
920
|
-
* @summary
|
|
920
|
+
* @summary Query data of a Dataset part. This endpoint is only available for dataset parts that support queries (type == DB).
|
|
921
921
|
* @param {string} organizationId the Organization identifier
|
|
922
922
|
* @param {string} workspaceId the Workspace identifier
|
|
923
923
|
* @param {string} datasetId the Dataset identifier
|
|
924
924
|
* @param {string} datasetPartId the Dataset part identifier
|
|
925
|
-
* @param {Array<string>} [
|
|
926
|
-
* @param {Array<string>} [sums]
|
|
927
|
-
* @param {Array<string>} [
|
|
925
|
+
* @param {Array<string>} [selects] Column names that should be part of the response data. You can specify a column name like: - id - stock - quantity - ... If you want to select only distinct columns, add a \'*\' at the end of the column name (e.g. stock*).
|
|
926
|
+
* @param {Array<string>} [sums] Column names to sum by. If you want to sum only distinct columns, add a \'*\' at the end of the column name (e.g. stock*).
|
|
927
|
+
* @param {Array<string>} [avgs] Column names to average by. If you want to apply \'average\' only on distinct columns, add a \'*\' at the end of the column name (e.g. stock*).
|
|
928
|
+
* @param {Array<string>} [counts] Column names to count by. If you want to count only distinct columns, add a \'*\' at the end of the column name (e.g. stock*).
|
|
929
|
+
* @param {Array<string>} [mins] Column names to min by. If you want to apply \'min\' only on distinct columns, add a \'*\' at the end of the column name (e.g. stock*).
|
|
930
|
+
* @param {Array<string>} [maxs] Column names to max by. If you want to apply \'max\' only on distinct columns, add a \'*\' at the end of the column name (e.g. stock*).
|
|
928
931
|
* @param {number} [offset] The query offset
|
|
929
932
|
* @param {number} [limit] The query limit
|
|
933
|
+
* @param {Array<string>} [groupBys] Column names to group by
|
|
934
|
+
* @param {Array<string>} [orderBys] Column names to order by. Default order is ascending. If you want to specify \'descending\' order, add a \'!\' at the beginning of the column name (e.g. !stock).
|
|
930
935
|
* @param {*} [options] Override http request option.
|
|
931
936
|
* @throws {RequiredError}
|
|
932
937
|
*/
|
|
933
|
-
queryData: function (organizationId_1, workspaceId_1, datasetId_1, datasetPartId_1,
|
|
938
|
+
queryData: function (organizationId_1, workspaceId_1, datasetId_1, datasetPartId_1, selects_1, sums_1, avgs_1, counts_1, mins_1, maxs_1, offset_1, limit_1, groupBys_1, orderBys_1) {
|
|
934
939
|
var args_1 = [];
|
|
935
|
-
for (var _i =
|
|
936
|
-
args_1[_i -
|
|
940
|
+
for (var _i = 14; _i < arguments.length; _i++) {
|
|
941
|
+
args_1[_i - 14] = arguments[_i];
|
|
937
942
|
}
|
|
938
|
-
return __awaiter(_this, __spreadArray([organizationId_1, workspaceId_1, datasetId_1, datasetPartId_1,
|
|
943
|
+
return __awaiter(_this, __spreadArray([organizationId_1, workspaceId_1, datasetId_1, datasetPartId_1, selects_1, sums_1, avgs_1, counts_1, mins_1, maxs_1, offset_1, limit_1, groupBys_1, orderBys_1], args_1, true), void 0, function (organizationId, workspaceId, datasetId, datasetPartId, selects, sums, avgs, counts, mins, maxs, offset, limit, groupBys, orderBys, options) {
|
|
939
944
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
940
945
|
if (options === void 0) { options = {}; }
|
|
941
946
|
return __generator(this, function (_a) {
|
|
@@ -968,21 +973,36 @@ var DatasetApiAxiosParamCreator = function (configuration) {
|
|
|
968
973
|
// authentication oAuth2AuthCode required
|
|
969
974
|
// oauth required
|
|
970
975
|
_a.sent();
|
|
971
|
-
if (
|
|
972
|
-
localVarQueryParameter['
|
|
976
|
+
if (selects) {
|
|
977
|
+
localVarQueryParameter['selects'] = selects;
|
|
973
978
|
}
|
|
974
979
|
if (sums) {
|
|
975
980
|
localVarQueryParameter['sums'] = sums;
|
|
976
981
|
}
|
|
982
|
+
if (avgs) {
|
|
983
|
+
localVarQueryParameter['avgs'] = avgs;
|
|
984
|
+
}
|
|
977
985
|
if (counts) {
|
|
978
986
|
localVarQueryParameter['counts'] = counts;
|
|
979
987
|
}
|
|
988
|
+
if (mins) {
|
|
989
|
+
localVarQueryParameter['mins'] = mins;
|
|
990
|
+
}
|
|
991
|
+
if (maxs) {
|
|
992
|
+
localVarQueryParameter['maxs'] = maxs;
|
|
993
|
+
}
|
|
980
994
|
if (offset !== undefined) {
|
|
981
995
|
localVarQueryParameter['offset'] = offset;
|
|
982
996
|
}
|
|
983
997
|
if (limit !== undefined) {
|
|
984
998
|
localVarQueryParameter['limit'] = limit;
|
|
985
999
|
}
|
|
1000
|
+
if (groupBys) {
|
|
1001
|
+
localVarQueryParameter['groupBys'] = groupBys;
|
|
1002
|
+
}
|
|
1003
|
+
if (orderBys) {
|
|
1004
|
+
localVarQueryParameter['orderBys'] = orderBys;
|
|
1005
|
+
}
|
|
986
1006
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
987
1007
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
988
1008
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -1392,6 +1412,70 @@ var DatasetApiAxiosParamCreator = function (configuration) {
|
|
|
1392
1412
|
});
|
|
1393
1413
|
});
|
|
1394
1414
|
},
|
|
1415
|
+
/**
|
|
1416
|
+
*
|
|
1417
|
+
* @summary Update existing dataset parts information of a Dataset
|
|
1418
|
+
* @param {string} organizationId the Organization identifier
|
|
1419
|
+
* @param {string} workspaceId the Workspace identifier
|
|
1420
|
+
* @param {string} datasetId the Dataset identifier
|
|
1421
|
+
* @param {string} datasetPartId the Dataset part identifier
|
|
1422
|
+
* @param {DatasetPartUpdateRequest} datasetPartUpdateRequest Dataset part information to update
|
|
1423
|
+
* @param {*} [options] Override http request option.
|
|
1424
|
+
* @throws {RequiredError}
|
|
1425
|
+
*/
|
|
1426
|
+
updateDatasetPart: function (organizationId_1, workspaceId_1, datasetId_1, datasetPartId_1, datasetPartUpdateRequest_1) {
|
|
1427
|
+
var args_1 = [];
|
|
1428
|
+
for (var _i = 5; _i < arguments.length; _i++) {
|
|
1429
|
+
args_1[_i - 5] = arguments[_i];
|
|
1430
|
+
}
|
|
1431
|
+
return __awaiter(_this, __spreadArray([organizationId_1, workspaceId_1, datasetId_1, datasetPartId_1, datasetPartUpdateRequest_1], args_1, true), void 0, function (organizationId, workspaceId, datasetId, datasetPartId, datasetPartUpdateRequest, options) {
|
|
1432
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
1433
|
+
if (options === void 0) { options = {}; }
|
|
1434
|
+
return __generator(this, function (_a) {
|
|
1435
|
+
switch (_a.label) {
|
|
1436
|
+
case 0:
|
|
1437
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
1438
|
+
(0, common_1.assertParamExists)('updateDatasetPart', 'organizationId', organizationId);
|
|
1439
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
1440
|
+
(0, common_1.assertParamExists)('updateDatasetPart', 'workspaceId', workspaceId);
|
|
1441
|
+
// verify required parameter 'datasetId' is not null or undefined
|
|
1442
|
+
(0, common_1.assertParamExists)('updateDatasetPart', 'datasetId', datasetId);
|
|
1443
|
+
// verify required parameter 'datasetPartId' is not null or undefined
|
|
1444
|
+
(0, common_1.assertParamExists)('updateDatasetPart', 'datasetPartId', datasetPartId);
|
|
1445
|
+
// verify required parameter 'datasetPartUpdateRequest' is not null or undefined
|
|
1446
|
+
(0, common_1.assertParamExists)('updateDatasetPart', 'datasetPartUpdateRequest', datasetPartUpdateRequest);
|
|
1447
|
+
localVarPath = "/organizations/{organization_id}/workspaces/{workspace_id}/datasets/{dataset_id}/parts/{dataset_part_id}"
|
|
1448
|
+
.replace("{".concat("organization_id", "}"), encodeURIComponent(String(organizationId)))
|
|
1449
|
+
.replace("{".concat("workspace_id", "}"), encodeURIComponent(String(workspaceId)))
|
|
1450
|
+
.replace("{".concat("dataset_id", "}"), encodeURIComponent(String(datasetId)))
|
|
1451
|
+
.replace("{".concat("dataset_part_id", "}"), encodeURIComponent(String(datasetPartId)));
|
|
1452
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1453
|
+
if (configuration) {
|
|
1454
|
+
baseOptions = configuration.baseOptions;
|
|
1455
|
+
}
|
|
1456
|
+
localVarRequestOptions = __assign(__assign({ method: 'PATCH' }, baseOptions), options);
|
|
1457
|
+
localVarHeaderParameter = {};
|
|
1458
|
+
localVarQueryParameter = {};
|
|
1459
|
+
// authentication oAuth2AuthCode required
|
|
1460
|
+
// oauth required
|
|
1461
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oAuth2AuthCode", [], configuration)];
|
|
1462
|
+
case 1:
|
|
1463
|
+
// authentication oAuth2AuthCode required
|
|
1464
|
+
// oauth required
|
|
1465
|
+
_a.sent();
|
|
1466
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1467
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1468
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1469
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1470
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(datasetPartUpdateRequest, localVarRequestOptions, configuration);
|
|
1471
|
+
return [2 /*return*/, {
|
|
1472
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1473
|
+
options: localVarRequestOptions,
|
|
1474
|
+
}];
|
|
1475
|
+
}
|
|
1476
|
+
});
|
|
1477
|
+
});
|
|
1478
|
+
},
|
|
1395
1479
|
};
|
|
1396
1480
|
};
|
|
1397
1481
|
exports.DatasetApiAxiosParamCreator = DatasetApiAxiosParamCreator;
|
|
@@ -1741,26 +1825,31 @@ var DatasetApiFp = function (configuration) {
|
|
|
1741
1825
|
},
|
|
1742
1826
|
/**
|
|
1743
1827
|
*
|
|
1744
|
-
* @summary
|
|
1828
|
+
* @summary Query data of a Dataset part. This endpoint is only available for dataset parts that support queries (type == DB).
|
|
1745
1829
|
* @param {string} organizationId the Organization identifier
|
|
1746
1830
|
* @param {string} workspaceId the Workspace identifier
|
|
1747
1831
|
* @param {string} datasetId the Dataset identifier
|
|
1748
1832
|
* @param {string} datasetPartId the Dataset part identifier
|
|
1749
|
-
* @param {Array<string>} [
|
|
1750
|
-
* @param {Array<string>} [sums]
|
|
1751
|
-
* @param {Array<string>} [
|
|
1833
|
+
* @param {Array<string>} [selects] Column names that should be part of the response data. You can specify a column name like: - id - stock - quantity - ... If you want to select only distinct columns, add a \'*\' at the end of the column name (e.g. stock*).
|
|
1834
|
+
* @param {Array<string>} [sums] Column names to sum by. If you want to sum only distinct columns, add a \'*\' at the end of the column name (e.g. stock*).
|
|
1835
|
+
* @param {Array<string>} [avgs] Column names to average by. If you want to apply \'average\' only on distinct columns, add a \'*\' at the end of the column name (e.g. stock*).
|
|
1836
|
+
* @param {Array<string>} [counts] Column names to count by. If you want to count only distinct columns, add a \'*\' at the end of the column name (e.g. stock*).
|
|
1837
|
+
* @param {Array<string>} [mins] Column names to min by. If you want to apply \'min\' only on distinct columns, add a \'*\' at the end of the column name (e.g. stock*).
|
|
1838
|
+
* @param {Array<string>} [maxs] Column names to max by. If you want to apply \'max\' only on distinct columns, add a \'*\' at the end of the column name (e.g. stock*).
|
|
1752
1839
|
* @param {number} [offset] The query offset
|
|
1753
1840
|
* @param {number} [limit] The query limit
|
|
1841
|
+
* @param {Array<string>} [groupBys] Column names to group by
|
|
1842
|
+
* @param {Array<string>} [orderBys] Column names to order by. Default order is ascending. If you want to specify \'descending\' order, add a \'!\' at the beginning of the column name (e.g. !stock).
|
|
1754
1843
|
* @param {*} [options] Override http request option.
|
|
1755
1844
|
* @throws {RequiredError}
|
|
1756
1845
|
*/
|
|
1757
|
-
queryData: function (organizationId, workspaceId, datasetId, datasetPartId,
|
|
1846
|
+
queryData: function (organizationId, workspaceId, datasetId, datasetPartId, selects, sums, avgs, counts, mins, maxs, offset, limit, groupBys, orderBys, options) {
|
|
1758
1847
|
return __awaiter(this, void 0, void 0, function () {
|
|
1759
1848
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
1760
1849
|
var _a, _b, _c;
|
|
1761
1850
|
return __generator(this, function (_d) {
|
|
1762
1851
|
switch (_d.label) {
|
|
1763
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.queryData(organizationId, workspaceId, datasetId, datasetPartId,
|
|
1852
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.queryData(organizationId, workspaceId, datasetId, datasetPartId, selects, sums, avgs, counts, mins, maxs, offset, limit, groupBys, orderBys, options)];
|
|
1764
1853
|
case 1:
|
|
1765
1854
|
localVarAxiosArgs = _d.sent();
|
|
1766
1855
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
@@ -1933,6 +2022,33 @@ var DatasetApiFp = function (configuration) {
|
|
|
1933
2022
|
});
|
|
1934
2023
|
});
|
|
1935
2024
|
},
|
|
2025
|
+
/**
|
|
2026
|
+
*
|
|
2027
|
+
* @summary Update existing dataset parts information of a Dataset
|
|
2028
|
+
* @param {string} organizationId the Organization identifier
|
|
2029
|
+
* @param {string} workspaceId the Workspace identifier
|
|
2030
|
+
* @param {string} datasetId the Dataset identifier
|
|
2031
|
+
* @param {string} datasetPartId the Dataset part identifier
|
|
2032
|
+
* @param {DatasetPartUpdateRequest} datasetPartUpdateRequest Dataset part information to update
|
|
2033
|
+
* @param {*} [options] Override http request option.
|
|
2034
|
+
* @throws {RequiredError}
|
|
2035
|
+
*/
|
|
2036
|
+
updateDatasetPart: function (organizationId, workspaceId, datasetId, datasetPartId, datasetPartUpdateRequest, options) {
|
|
2037
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
2038
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
2039
|
+
var _a, _b, _c;
|
|
2040
|
+
return __generator(this, function (_d) {
|
|
2041
|
+
switch (_d.label) {
|
|
2042
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateDatasetPart(organizationId, workspaceId, datasetId, datasetPartId, datasetPartUpdateRequest, options)];
|
|
2043
|
+
case 1:
|
|
2044
|
+
localVarAxiosArgs = _d.sent();
|
|
2045
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2046
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DatasetApi.updateDatasetPart']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2047
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
2048
|
+
}
|
|
2049
|
+
});
|
|
2050
|
+
});
|
|
2051
|
+
},
|
|
1936
2052
|
};
|
|
1937
2053
|
};
|
|
1938
2054
|
exports.DatasetApiFp = DatasetApiFp;
|
|
@@ -2113,21 +2229,26 @@ var DatasetApiFactory = function (configuration, basePath, axios) {
|
|
|
2113
2229
|
},
|
|
2114
2230
|
/**
|
|
2115
2231
|
*
|
|
2116
|
-
* @summary
|
|
2232
|
+
* @summary Query data of a Dataset part. This endpoint is only available for dataset parts that support queries (type == DB).
|
|
2117
2233
|
* @param {string} organizationId the Organization identifier
|
|
2118
2234
|
* @param {string} workspaceId the Workspace identifier
|
|
2119
2235
|
* @param {string} datasetId the Dataset identifier
|
|
2120
2236
|
* @param {string} datasetPartId the Dataset part identifier
|
|
2121
|
-
* @param {Array<string>} [
|
|
2122
|
-
* @param {Array<string>} [sums]
|
|
2123
|
-
* @param {Array<string>} [
|
|
2237
|
+
* @param {Array<string>} [selects] Column names that should be part of the response data. You can specify a column name like: - id - stock - quantity - ... If you want to select only distinct columns, add a \'*\' at the end of the column name (e.g. stock*).
|
|
2238
|
+
* @param {Array<string>} [sums] Column names to sum by. If you want to sum only distinct columns, add a \'*\' at the end of the column name (e.g. stock*).
|
|
2239
|
+
* @param {Array<string>} [avgs] Column names to average by. If you want to apply \'average\' only on distinct columns, add a \'*\' at the end of the column name (e.g. stock*).
|
|
2240
|
+
* @param {Array<string>} [counts] Column names to count by. If you want to count only distinct columns, add a \'*\' at the end of the column name (e.g. stock*).
|
|
2241
|
+
* @param {Array<string>} [mins] Column names to min by. If you want to apply \'min\' only on distinct columns, add a \'*\' at the end of the column name (e.g. stock*).
|
|
2242
|
+
* @param {Array<string>} [maxs] Column names to max by. If you want to apply \'max\' only on distinct columns, add a \'*\' at the end of the column name (e.g. stock*).
|
|
2124
2243
|
* @param {number} [offset] The query offset
|
|
2125
2244
|
* @param {number} [limit] The query limit
|
|
2245
|
+
* @param {Array<string>} [groupBys] Column names to group by
|
|
2246
|
+
* @param {Array<string>} [orderBys] Column names to order by. Default order is ascending. If you want to specify \'descending\' order, add a \'!\' at the beginning of the column name (e.g. !stock).
|
|
2126
2247
|
* @param {*} [options] Override http request option.
|
|
2127
2248
|
* @throws {RequiredError}
|
|
2128
2249
|
*/
|
|
2129
|
-
queryData: function (organizationId, workspaceId, datasetId, datasetPartId,
|
|
2130
|
-
return localVarFp.queryData(organizationId, workspaceId, datasetId, datasetPartId,
|
|
2250
|
+
queryData: function (organizationId, workspaceId, datasetId, datasetPartId, selects, sums, avgs, counts, mins, maxs, offset, limit, groupBys, orderBys, options) {
|
|
2251
|
+
return localVarFp.queryData(organizationId, workspaceId, datasetId, datasetPartId, selects, sums, avgs, counts, mins, maxs, offset, limit, groupBys, orderBys, options).then(function (request) { return request(axios, basePath); });
|
|
2131
2252
|
},
|
|
2132
2253
|
/**
|
|
2133
2254
|
*
|
|
@@ -2214,6 +2335,20 @@ var DatasetApiFactory = function (configuration, basePath, axios) {
|
|
|
2214
2335
|
updateDatasetDefaultSecurity: function (organizationId, workspaceId, datasetId, datasetRole, options) {
|
|
2215
2336
|
return localVarFp.updateDatasetDefaultSecurity(organizationId, workspaceId, datasetId, datasetRole, options).then(function (request) { return request(axios, basePath); });
|
|
2216
2337
|
},
|
|
2338
|
+
/**
|
|
2339
|
+
*
|
|
2340
|
+
* @summary Update existing dataset parts information of a Dataset
|
|
2341
|
+
* @param {string} organizationId the Organization identifier
|
|
2342
|
+
* @param {string} workspaceId the Workspace identifier
|
|
2343
|
+
* @param {string} datasetId the Dataset identifier
|
|
2344
|
+
* @param {string} datasetPartId the Dataset part identifier
|
|
2345
|
+
* @param {DatasetPartUpdateRequest} datasetPartUpdateRequest Dataset part information to update
|
|
2346
|
+
* @param {*} [options] Override http request option.
|
|
2347
|
+
* @throws {RequiredError}
|
|
2348
|
+
*/
|
|
2349
|
+
updateDatasetPart: function (organizationId, workspaceId, datasetId, datasetPartId, datasetPartUpdateRequest, options) {
|
|
2350
|
+
return localVarFp.updateDatasetPart(organizationId, workspaceId, datasetId, datasetPartId, datasetPartUpdateRequest, options).then(function (request) { return request(axios, basePath); });
|
|
2351
|
+
},
|
|
2217
2352
|
};
|
|
2218
2353
|
};
|
|
2219
2354
|
exports.DatasetApiFactory = DatasetApiFactory;
|
|
@@ -2424,23 +2559,28 @@ var DatasetApi = /** @class */ (function (_super) {
|
|
|
2424
2559
|
};
|
|
2425
2560
|
/**
|
|
2426
2561
|
*
|
|
2427
|
-
* @summary
|
|
2562
|
+
* @summary Query data of a Dataset part. This endpoint is only available for dataset parts that support queries (type == DB).
|
|
2428
2563
|
* @param {string} organizationId the Organization identifier
|
|
2429
2564
|
* @param {string} workspaceId the Workspace identifier
|
|
2430
2565
|
* @param {string} datasetId the Dataset identifier
|
|
2431
2566
|
* @param {string} datasetPartId the Dataset part identifier
|
|
2432
|
-
* @param {Array<string>} [
|
|
2433
|
-
* @param {Array<string>} [sums]
|
|
2434
|
-
* @param {Array<string>} [
|
|
2567
|
+
* @param {Array<string>} [selects] Column names that should be part of the response data. You can specify a column name like: - id - stock - quantity - ... If you want to select only distinct columns, add a \'*\' at the end of the column name (e.g. stock*).
|
|
2568
|
+
* @param {Array<string>} [sums] Column names to sum by. If you want to sum only distinct columns, add a \'*\' at the end of the column name (e.g. stock*).
|
|
2569
|
+
* @param {Array<string>} [avgs] Column names to average by. If you want to apply \'average\' only on distinct columns, add a \'*\' at the end of the column name (e.g. stock*).
|
|
2570
|
+
* @param {Array<string>} [counts] Column names to count by. If you want to count only distinct columns, add a \'*\' at the end of the column name (e.g. stock*).
|
|
2571
|
+
* @param {Array<string>} [mins] Column names to min by. If you want to apply \'min\' only on distinct columns, add a \'*\' at the end of the column name (e.g. stock*).
|
|
2572
|
+
* @param {Array<string>} [maxs] Column names to max by. If you want to apply \'max\' only on distinct columns, add a \'*\' at the end of the column name (e.g. stock*).
|
|
2435
2573
|
* @param {number} [offset] The query offset
|
|
2436
2574
|
* @param {number} [limit] The query limit
|
|
2575
|
+
* @param {Array<string>} [groupBys] Column names to group by
|
|
2576
|
+
* @param {Array<string>} [orderBys] Column names to order by. Default order is ascending. If you want to specify \'descending\' order, add a \'!\' at the beginning of the column name (e.g. !stock).
|
|
2437
2577
|
* @param {*} [options] Override http request option.
|
|
2438
2578
|
* @throws {RequiredError}
|
|
2439
2579
|
* @memberof DatasetApi
|
|
2440
2580
|
*/
|
|
2441
|
-
DatasetApi.prototype.queryData = function (organizationId, workspaceId, datasetId, datasetPartId,
|
|
2581
|
+
DatasetApi.prototype.queryData = function (organizationId, workspaceId, datasetId, datasetPartId, selects, sums, avgs, counts, mins, maxs, offset, limit, groupBys, orderBys, options) {
|
|
2442
2582
|
var _this = this;
|
|
2443
|
-
return (0, exports.DatasetApiFp)(this.configuration).queryData(organizationId, workspaceId, datasetId, datasetPartId,
|
|
2583
|
+
return (0, exports.DatasetApiFp)(this.configuration).queryData(organizationId, workspaceId, datasetId, datasetPartId, selects, sums, avgs, counts, mins, maxs, offset, limit, groupBys, orderBys, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2444
2584
|
};
|
|
2445
2585
|
/**
|
|
2446
2586
|
*
|
|
@@ -2539,6 +2679,22 @@ var DatasetApi = /** @class */ (function (_super) {
|
|
|
2539
2679
|
var _this = this;
|
|
2540
2680
|
return (0, exports.DatasetApiFp)(this.configuration).updateDatasetDefaultSecurity(organizationId, workspaceId, datasetId, datasetRole, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2541
2681
|
};
|
|
2682
|
+
/**
|
|
2683
|
+
*
|
|
2684
|
+
* @summary Update existing dataset parts information of a Dataset
|
|
2685
|
+
* @param {string} organizationId the Organization identifier
|
|
2686
|
+
* @param {string} workspaceId the Workspace identifier
|
|
2687
|
+
* @param {string} datasetId the Dataset identifier
|
|
2688
|
+
* @param {string} datasetPartId the Dataset part identifier
|
|
2689
|
+
* @param {DatasetPartUpdateRequest} datasetPartUpdateRequest Dataset part information to update
|
|
2690
|
+
* @param {*} [options] Override http request option.
|
|
2691
|
+
* @throws {RequiredError}
|
|
2692
|
+
* @memberof DatasetApi
|
|
2693
|
+
*/
|
|
2694
|
+
DatasetApi.prototype.updateDatasetPart = function (organizationId, workspaceId, datasetId, datasetPartId, datasetPartUpdateRequest, options) {
|
|
2695
|
+
var _this = this;
|
|
2696
|
+
return (0, exports.DatasetApiFp)(this.configuration).updateDatasetPart(organizationId, workspaceId, datasetId, datasetPartId, datasetPartUpdateRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2697
|
+
};
|
|
2542
2698
|
return DatasetApi;
|
|
2543
2699
|
}(base_1.BaseAPI));
|
|
2544
2700
|
exports.DatasetApi = DatasetApi;
|
|
@@ -4370,134 +4526,6 @@ var RunApiAxiosParamCreator = function (configuration) {
|
|
|
4370
4526
|
});
|
|
4371
4527
|
});
|
|
4372
4528
|
},
|
|
4373
|
-
/**
|
|
4374
|
-
*
|
|
4375
|
-
* @summary query the run data
|
|
4376
|
-
* @param {string} organizationId the Organization identifier
|
|
4377
|
-
* @param {string} workspaceId the Workspace identifier
|
|
4378
|
-
* @param {string} runnerId the Runner identifier
|
|
4379
|
-
* @param {string} runId the Run identifier
|
|
4380
|
-
* @param {RunDataQuery} runDataQuery the query to run
|
|
4381
|
-
* @param {*} [options] Override http request option.
|
|
4382
|
-
* @throws {RequiredError}
|
|
4383
|
-
*/
|
|
4384
|
-
queryRunData: function (organizationId_1, workspaceId_1, runnerId_1, runId_1, runDataQuery_1) {
|
|
4385
|
-
var args_1 = [];
|
|
4386
|
-
for (var _i = 5; _i < arguments.length; _i++) {
|
|
4387
|
-
args_1[_i - 5] = arguments[_i];
|
|
4388
|
-
}
|
|
4389
|
-
return __awaiter(_this, __spreadArray([organizationId_1, workspaceId_1, runnerId_1, runId_1, runDataQuery_1], args_1, true), void 0, function (organizationId, workspaceId, runnerId, runId, runDataQuery, options) {
|
|
4390
|
-
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
4391
|
-
if (options === void 0) { options = {}; }
|
|
4392
|
-
return __generator(this, function (_a) {
|
|
4393
|
-
switch (_a.label) {
|
|
4394
|
-
case 0:
|
|
4395
|
-
// verify required parameter 'organizationId' is not null or undefined
|
|
4396
|
-
(0, common_1.assertParamExists)('queryRunData', 'organizationId', organizationId);
|
|
4397
|
-
// verify required parameter 'workspaceId' is not null or undefined
|
|
4398
|
-
(0, common_1.assertParamExists)('queryRunData', 'workspaceId', workspaceId);
|
|
4399
|
-
// verify required parameter 'runnerId' is not null or undefined
|
|
4400
|
-
(0, common_1.assertParamExists)('queryRunData', 'runnerId', runnerId);
|
|
4401
|
-
// verify required parameter 'runId' is not null or undefined
|
|
4402
|
-
(0, common_1.assertParamExists)('queryRunData', 'runId', runId);
|
|
4403
|
-
// verify required parameter 'runDataQuery' is not null or undefined
|
|
4404
|
-
(0, common_1.assertParamExists)('queryRunData', 'runDataQuery', runDataQuery);
|
|
4405
|
-
localVarPath = "/organizations/{organization_id}/workspaces/{workspace_id}/runners/{runner_id}/runs/{run_id}/data/query"
|
|
4406
|
-
.replace("{".concat("organization_id", "}"), encodeURIComponent(String(organizationId)))
|
|
4407
|
-
.replace("{".concat("workspace_id", "}"), encodeURIComponent(String(workspaceId)))
|
|
4408
|
-
.replace("{".concat("runner_id", "}"), encodeURIComponent(String(runnerId)))
|
|
4409
|
-
.replace("{".concat("run_id", "}"), encodeURIComponent(String(runId)));
|
|
4410
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4411
|
-
if (configuration) {
|
|
4412
|
-
baseOptions = configuration.baseOptions;
|
|
4413
|
-
}
|
|
4414
|
-
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
4415
|
-
localVarHeaderParameter = {};
|
|
4416
|
-
localVarQueryParameter = {};
|
|
4417
|
-
// authentication oAuth2AuthCode required
|
|
4418
|
-
// oauth required
|
|
4419
|
-
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oAuth2AuthCode", [], configuration)];
|
|
4420
|
-
case 1:
|
|
4421
|
-
// authentication oAuth2AuthCode required
|
|
4422
|
-
// oauth required
|
|
4423
|
-
_a.sent();
|
|
4424
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4425
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
4426
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4427
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4428
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(runDataQuery, localVarRequestOptions, configuration);
|
|
4429
|
-
return [2 /*return*/, {
|
|
4430
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
4431
|
-
options: localVarRequestOptions,
|
|
4432
|
-
}];
|
|
4433
|
-
}
|
|
4434
|
-
});
|
|
4435
|
-
});
|
|
4436
|
-
},
|
|
4437
|
-
/**
|
|
4438
|
-
*
|
|
4439
|
-
* @summary Send data associated to a run
|
|
4440
|
-
* @param {string} organizationId the Organization identifier
|
|
4441
|
-
* @param {string} workspaceId the Workspace identifier
|
|
4442
|
-
* @param {string} runnerId the Runner identifier
|
|
4443
|
-
* @param {string} runId the Run identifier
|
|
4444
|
-
* @param {SendRunDataRequest} sendRunDataRequest Custom data to register
|
|
4445
|
-
* @param {*} [options] Override http request option.
|
|
4446
|
-
* @throws {RequiredError}
|
|
4447
|
-
*/
|
|
4448
|
-
sendRunData: function (organizationId_1, workspaceId_1, runnerId_1, runId_1, sendRunDataRequest_1) {
|
|
4449
|
-
var args_1 = [];
|
|
4450
|
-
for (var _i = 5; _i < arguments.length; _i++) {
|
|
4451
|
-
args_1[_i - 5] = arguments[_i];
|
|
4452
|
-
}
|
|
4453
|
-
return __awaiter(_this, __spreadArray([organizationId_1, workspaceId_1, runnerId_1, runId_1, sendRunDataRequest_1], args_1, true), void 0, function (organizationId, workspaceId, runnerId, runId, sendRunDataRequest, options) {
|
|
4454
|
-
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
4455
|
-
if (options === void 0) { options = {}; }
|
|
4456
|
-
return __generator(this, function (_a) {
|
|
4457
|
-
switch (_a.label) {
|
|
4458
|
-
case 0:
|
|
4459
|
-
// verify required parameter 'organizationId' is not null or undefined
|
|
4460
|
-
(0, common_1.assertParamExists)('sendRunData', 'organizationId', organizationId);
|
|
4461
|
-
// verify required parameter 'workspaceId' is not null or undefined
|
|
4462
|
-
(0, common_1.assertParamExists)('sendRunData', 'workspaceId', workspaceId);
|
|
4463
|
-
// verify required parameter 'runnerId' is not null or undefined
|
|
4464
|
-
(0, common_1.assertParamExists)('sendRunData', 'runnerId', runnerId);
|
|
4465
|
-
// verify required parameter 'runId' is not null or undefined
|
|
4466
|
-
(0, common_1.assertParamExists)('sendRunData', 'runId', runId);
|
|
4467
|
-
// verify required parameter 'sendRunDataRequest' is not null or undefined
|
|
4468
|
-
(0, common_1.assertParamExists)('sendRunData', 'sendRunDataRequest', sendRunDataRequest);
|
|
4469
|
-
localVarPath = "/organizations/{organization_id}/workspaces/{workspace_id}/runners/{runner_id}/runs/{run_id}/data/send"
|
|
4470
|
-
.replace("{".concat("organization_id", "}"), encodeURIComponent(String(organizationId)))
|
|
4471
|
-
.replace("{".concat("workspace_id", "}"), encodeURIComponent(String(workspaceId)))
|
|
4472
|
-
.replace("{".concat("runner_id", "}"), encodeURIComponent(String(runnerId)))
|
|
4473
|
-
.replace("{".concat("run_id", "}"), encodeURIComponent(String(runId)));
|
|
4474
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4475
|
-
if (configuration) {
|
|
4476
|
-
baseOptions = configuration.baseOptions;
|
|
4477
|
-
}
|
|
4478
|
-
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
4479
|
-
localVarHeaderParameter = {};
|
|
4480
|
-
localVarQueryParameter = {};
|
|
4481
|
-
// authentication oAuth2AuthCode required
|
|
4482
|
-
// oauth required
|
|
4483
|
-
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oAuth2AuthCode", [], configuration)];
|
|
4484
|
-
case 1:
|
|
4485
|
-
// authentication oAuth2AuthCode required
|
|
4486
|
-
// oauth required
|
|
4487
|
-
_a.sent();
|
|
4488
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4489
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
4490
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4491
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4492
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(sendRunDataRequest, localVarRequestOptions, configuration);
|
|
4493
|
-
return [2 /*return*/, {
|
|
4494
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
4495
|
-
options: localVarRequestOptions,
|
|
4496
|
-
}];
|
|
4497
|
-
}
|
|
4498
|
-
});
|
|
4499
|
-
});
|
|
4500
|
-
},
|
|
4501
4529
|
};
|
|
4502
4530
|
};
|
|
4503
4531
|
exports.RunApiAxiosParamCreator = RunApiAxiosParamCreator;
|
|
@@ -4639,60 +4667,6 @@ var RunApiFp = function (configuration) {
|
|
|
4639
4667
|
});
|
|
4640
4668
|
});
|
|
4641
4669
|
},
|
|
4642
|
-
/**
|
|
4643
|
-
*
|
|
4644
|
-
* @summary query the run data
|
|
4645
|
-
* @param {string} organizationId the Organization identifier
|
|
4646
|
-
* @param {string} workspaceId the Workspace identifier
|
|
4647
|
-
* @param {string} runnerId the Runner identifier
|
|
4648
|
-
* @param {string} runId the Run identifier
|
|
4649
|
-
* @param {RunDataQuery} runDataQuery the query to run
|
|
4650
|
-
* @param {*} [options] Override http request option.
|
|
4651
|
-
* @throws {RequiredError}
|
|
4652
|
-
*/
|
|
4653
|
-
queryRunData: function (organizationId, workspaceId, runnerId, runId, runDataQuery, options) {
|
|
4654
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
4655
|
-
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
4656
|
-
var _a, _b, _c;
|
|
4657
|
-
return __generator(this, function (_d) {
|
|
4658
|
-
switch (_d.label) {
|
|
4659
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.queryRunData(organizationId, workspaceId, runnerId, runId, runDataQuery, options)];
|
|
4660
|
-
case 1:
|
|
4661
|
-
localVarAxiosArgs = _d.sent();
|
|
4662
|
-
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
4663
|
-
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['RunApi.queryRunData']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
4664
|
-
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
4665
|
-
}
|
|
4666
|
-
});
|
|
4667
|
-
});
|
|
4668
|
-
},
|
|
4669
|
-
/**
|
|
4670
|
-
*
|
|
4671
|
-
* @summary Send data associated to a run
|
|
4672
|
-
* @param {string} organizationId the Organization identifier
|
|
4673
|
-
* @param {string} workspaceId the Workspace identifier
|
|
4674
|
-
* @param {string} runnerId the Runner identifier
|
|
4675
|
-
* @param {string} runId the Run identifier
|
|
4676
|
-
* @param {SendRunDataRequest} sendRunDataRequest Custom data to register
|
|
4677
|
-
* @param {*} [options] Override http request option.
|
|
4678
|
-
* @throws {RequiredError}
|
|
4679
|
-
*/
|
|
4680
|
-
sendRunData: function (organizationId, workspaceId, runnerId, runId, sendRunDataRequest, options) {
|
|
4681
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
4682
|
-
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
4683
|
-
var _a, _b, _c;
|
|
4684
|
-
return __generator(this, function (_d) {
|
|
4685
|
-
switch (_d.label) {
|
|
4686
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.sendRunData(organizationId, workspaceId, runnerId, runId, sendRunDataRequest, options)];
|
|
4687
|
-
case 1:
|
|
4688
|
-
localVarAxiosArgs = _d.sent();
|
|
4689
|
-
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
4690
|
-
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['RunApi.sendRunData']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
4691
|
-
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
4692
|
-
}
|
|
4693
|
-
});
|
|
4694
|
-
});
|
|
4695
|
-
},
|
|
4696
4670
|
};
|
|
4697
4671
|
};
|
|
4698
4672
|
exports.RunApiFp = RunApiFp;
|
|
@@ -4769,34 +4743,6 @@ var RunApiFactory = function (configuration, basePath, axios) {
|
|
|
4769
4743
|
listRuns: function (organizationId, workspaceId, runnerId, page, size, options) {
|
|
4770
4744
|
return localVarFp.listRuns(organizationId, workspaceId, runnerId, page, size, options).then(function (request) { return request(axios, basePath); });
|
|
4771
4745
|
},
|
|
4772
|
-
/**
|
|
4773
|
-
*
|
|
4774
|
-
* @summary query the run data
|
|
4775
|
-
* @param {string} organizationId the Organization identifier
|
|
4776
|
-
* @param {string} workspaceId the Workspace identifier
|
|
4777
|
-
* @param {string} runnerId the Runner identifier
|
|
4778
|
-
* @param {string} runId the Run identifier
|
|
4779
|
-
* @param {RunDataQuery} runDataQuery the query to run
|
|
4780
|
-
* @param {*} [options] Override http request option.
|
|
4781
|
-
* @throws {RequiredError}
|
|
4782
|
-
*/
|
|
4783
|
-
queryRunData: function (organizationId, workspaceId, runnerId, runId, runDataQuery, options) {
|
|
4784
|
-
return localVarFp.queryRunData(organizationId, workspaceId, runnerId, runId, runDataQuery, options).then(function (request) { return request(axios, basePath); });
|
|
4785
|
-
},
|
|
4786
|
-
/**
|
|
4787
|
-
*
|
|
4788
|
-
* @summary Send data associated to a run
|
|
4789
|
-
* @param {string} organizationId the Organization identifier
|
|
4790
|
-
* @param {string} workspaceId the Workspace identifier
|
|
4791
|
-
* @param {string} runnerId the Runner identifier
|
|
4792
|
-
* @param {string} runId the Run identifier
|
|
4793
|
-
* @param {SendRunDataRequest} sendRunDataRequest Custom data to register
|
|
4794
|
-
* @param {*} [options] Override http request option.
|
|
4795
|
-
* @throws {RequiredError}
|
|
4796
|
-
*/
|
|
4797
|
-
sendRunData: function (organizationId, workspaceId, runnerId, runId, sendRunDataRequest, options) {
|
|
4798
|
-
return localVarFp.sendRunData(organizationId, workspaceId, runnerId, runId, sendRunDataRequest, options).then(function (request) { return request(axios, basePath); });
|
|
4799
|
-
},
|
|
4800
4746
|
};
|
|
4801
4747
|
};
|
|
4802
4748
|
exports.RunApiFactory = RunApiFactory;
|
|
@@ -4887,38 +4833,6 @@ var RunApi = /** @class */ (function (_super) {
|
|
|
4887
4833
|
var _this = this;
|
|
4888
4834
|
return (0, exports.RunApiFp)(this.configuration).listRuns(organizationId, workspaceId, runnerId, page, size, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
4889
4835
|
};
|
|
4890
|
-
/**
|
|
4891
|
-
*
|
|
4892
|
-
* @summary query the run data
|
|
4893
|
-
* @param {string} organizationId the Organization identifier
|
|
4894
|
-
* @param {string} workspaceId the Workspace identifier
|
|
4895
|
-
* @param {string} runnerId the Runner identifier
|
|
4896
|
-
* @param {string} runId the Run identifier
|
|
4897
|
-
* @param {RunDataQuery} runDataQuery the query to run
|
|
4898
|
-
* @param {*} [options] Override http request option.
|
|
4899
|
-
* @throws {RequiredError}
|
|
4900
|
-
* @memberof RunApi
|
|
4901
|
-
*/
|
|
4902
|
-
RunApi.prototype.queryRunData = function (organizationId, workspaceId, runnerId, runId, runDataQuery, options) {
|
|
4903
|
-
var _this = this;
|
|
4904
|
-
return (0, exports.RunApiFp)(this.configuration).queryRunData(organizationId, workspaceId, runnerId, runId, runDataQuery, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
4905
|
-
};
|
|
4906
|
-
/**
|
|
4907
|
-
*
|
|
4908
|
-
* @summary Send data associated to a run
|
|
4909
|
-
* @param {string} organizationId the Organization identifier
|
|
4910
|
-
* @param {string} workspaceId the Workspace identifier
|
|
4911
|
-
* @param {string} runnerId the Runner identifier
|
|
4912
|
-
* @param {string} runId the Run identifier
|
|
4913
|
-
* @param {SendRunDataRequest} sendRunDataRequest Custom data to register
|
|
4914
|
-
* @param {*} [options] Override http request option.
|
|
4915
|
-
* @throws {RequiredError}
|
|
4916
|
-
* @memberof RunApi
|
|
4917
|
-
*/
|
|
4918
|
-
RunApi.prototype.sendRunData = function (organizationId, workspaceId, runnerId, runId, sendRunDataRequest, options) {
|
|
4919
|
-
var _this = this;
|
|
4920
|
-
return (0, exports.RunApiFp)(this.configuration).sendRunData(organizationId, workspaceId, runnerId, runId, sendRunDataRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
4921
|
-
};
|
|
4922
4836
|
return RunApi;
|
|
4923
4837
|
}(base_1.BaseAPI));
|
|
4924
4838
|
exports.RunApi = RunApi;
|
|
@@ -5447,8 +5361,8 @@ var RunnerApiAxiosParamCreator = function (configuration) {
|
|
|
5447
5361
|
* @summary List all Runners
|
|
5448
5362
|
* @param {string} organizationId the Organization identifier
|
|
5449
5363
|
* @param {string} workspaceId the Workspace identifier
|
|
5450
|
-
* @param {number} [page]
|
|
5451
|
-
* @param {number} [size]
|
|
5364
|
+
* @param {number} [page] Page number to query (first page is at index 0)
|
|
5365
|
+
* @param {number} [size] Amount of result by page
|
|
5452
5366
|
* @param {*} [options] Override http request option.
|
|
5453
5367
|
* @throws {RequiredError}
|
|
5454
5368
|
*/
|
|
@@ -6039,8 +5953,8 @@ var RunnerApiFp = function (configuration) {
|
|
|
6039
5953
|
* @summary List all Runners
|
|
6040
5954
|
* @param {string} organizationId the Organization identifier
|
|
6041
5955
|
* @param {string} workspaceId the Workspace identifier
|
|
6042
|
-
* @param {number} [page]
|
|
6043
|
-
* @param {number} [size]
|
|
5956
|
+
* @param {number} [page] Page number to query (first page is at index 0)
|
|
5957
|
+
* @param {number} [size] Amount of result by page
|
|
6044
5958
|
* @param {*} [options] Override http request option.
|
|
6045
5959
|
* @throws {RequiredError}
|
|
6046
5960
|
*/
|
|
@@ -6316,8 +6230,8 @@ var RunnerApiFactory = function (configuration, basePath, axios) {
|
|
|
6316
6230
|
* @summary List all Runners
|
|
6317
6231
|
* @param {string} organizationId the Organization identifier
|
|
6318
6232
|
* @param {string} workspaceId the Workspace identifier
|
|
6319
|
-
* @param {number} [page]
|
|
6320
|
-
* @param {number} [size]
|
|
6233
|
+
* @param {number} [page] Page number to query (first page is at index 0)
|
|
6234
|
+
* @param {number} [size] Amount of result by page
|
|
6321
6235
|
* @param {*} [options] Override http request option.
|
|
6322
6236
|
* @throws {RequiredError}
|
|
6323
6237
|
*/
|
|
@@ -6537,8 +6451,8 @@ var RunnerApi = /** @class */ (function (_super) {
|
|
|
6537
6451
|
* @summary List all Runners
|
|
6538
6452
|
* @param {string} organizationId the Organization identifier
|
|
6539
6453
|
* @param {string} workspaceId the Workspace identifier
|
|
6540
|
-
* @param {number} [page]
|
|
6541
|
-
* @param {number} [size]
|
|
6454
|
+
* @param {number} [page] Page number to query (first page is at index 0)
|
|
6455
|
+
* @param {number} [size] Amount of result by page
|
|
6542
6456
|
* @param {*} [options] Override http request option.
|
|
6543
6457
|
* @throws {RequiredError}
|
|
6544
6458
|
* @memberof RunnerApi
|
|
@@ -6739,74 +6653,6 @@ var SolutionApiAxiosParamCreator = function (configuration) {
|
|
|
6739
6653
|
});
|
|
6740
6654
|
});
|
|
6741
6655
|
},
|
|
6742
|
-
/**
|
|
6743
|
-
*
|
|
6744
|
-
* @summary Upload a file for the Solution
|
|
6745
|
-
* @param {string} organizationId the Organization identifier
|
|
6746
|
-
* @param {string} solutionId the Solution identifier
|
|
6747
|
-
* @param {File} file The file to upload
|
|
6748
|
-
* @param {boolean} [overwrite] Whether to overwrite an existing file
|
|
6749
|
-
* @param {string} [destination] Destination path. Must end with a \\\'/\\\' if specifying a folder. Note that paths may or may not start with a \\\'/\\\', but they are always treated as relative to the Solution root location.
|
|
6750
|
-
* @param {*} [options] Override http request option.
|
|
6751
|
-
* @throws {RequiredError}
|
|
6752
|
-
*/
|
|
6753
|
-
createSolutionFile: function (organizationId_1, solutionId_1, file_1, overwrite_1, destination_1) {
|
|
6754
|
-
var args_1 = [];
|
|
6755
|
-
for (var _i = 5; _i < arguments.length; _i++) {
|
|
6756
|
-
args_1[_i - 5] = arguments[_i];
|
|
6757
|
-
}
|
|
6758
|
-
return __awaiter(_this, __spreadArray([organizationId_1, solutionId_1, file_1, overwrite_1, destination_1], args_1, true), void 0, function (organizationId, solutionId, file, overwrite, destination, options) {
|
|
6759
|
-
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, localVarFormParams, headersFromBaseOptions;
|
|
6760
|
-
if (options === void 0) { options = {}; }
|
|
6761
|
-
return __generator(this, function (_a) {
|
|
6762
|
-
switch (_a.label) {
|
|
6763
|
-
case 0:
|
|
6764
|
-
// verify required parameter 'organizationId' is not null or undefined
|
|
6765
|
-
(0, common_1.assertParamExists)('createSolutionFile', 'organizationId', organizationId);
|
|
6766
|
-
// verify required parameter 'solutionId' is not null or undefined
|
|
6767
|
-
(0, common_1.assertParamExists)('createSolutionFile', 'solutionId', solutionId);
|
|
6768
|
-
// verify required parameter 'file' is not null or undefined
|
|
6769
|
-
(0, common_1.assertParamExists)('createSolutionFile', 'file', file);
|
|
6770
|
-
localVarPath = "/organizations/{organization_id}/solutions/{solution_id}/files"
|
|
6771
|
-
.replace("{".concat("organization_id", "}"), encodeURIComponent(String(organizationId)))
|
|
6772
|
-
.replace("{".concat("solution_id", "}"), encodeURIComponent(String(solutionId)));
|
|
6773
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
6774
|
-
if (configuration) {
|
|
6775
|
-
baseOptions = configuration.baseOptions;
|
|
6776
|
-
}
|
|
6777
|
-
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
6778
|
-
localVarHeaderParameter = {};
|
|
6779
|
-
localVarQueryParameter = {};
|
|
6780
|
-
localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
|
|
6781
|
-
// authentication oAuth2AuthCode required
|
|
6782
|
-
// oauth required
|
|
6783
|
-
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oAuth2AuthCode", [], configuration)];
|
|
6784
|
-
case 1:
|
|
6785
|
-
// authentication oAuth2AuthCode required
|
|
6786
|
-
// oauth required
|
|
6787
|
-
_a.sent();
|
|
6788
|
-
if (overwrite !== undefined) {
|
|
6789
|
-
localVarFormParams.append('overwrite', String(overwrite));
|
|
6790
|
-
}
|
|
6791
|
-
if (destination !== undefined) {
|
|
6792
|
-
localVarFormParams.append('destination', destination);
|
|
6793
|
-
}
|
|
6794
|
-
if (file !== undefined) {
|
|
6795
|
-
localVarFormParams.append('file', file);
|
|
6796
|
-
}
|
|
6797
|
-
localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
|
|
6798
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
6799
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6800
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6801
|
-
localVarRequestOptions.data = localVarFormParams;
|
|
6802
|
-
return [2 /*return*/, {
|
|
6803
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
6804
|
-
options: localVarRequestOptions,
|
|
6805
|
-
}];
|
|
6806
|
-
}
|
|
6807
|
-
});
|
|
6808
|
-
});
|
|
6809
|
-
},
|
|
6810
6656
|
/**
|
|
6811
6657
|
*
|
|
6812
6658
|
* @summary Create solution parameter for a solution
|
|
@@ -7081,114 +6927,6 @@ var SolutionApiAxiosParamCreator = function (configuration) {
|
|
|
7081
6927
|
});
|
|
7082
6928
|
});
|
|
7083
6929
|
},
|
|
7084
|
-
/**
|
|
7085
|
-
*
|
|
7086
|
-
* @summary Delete a solution file
|
|
7087
|
-
* @param {string} organizationId the Organization identifier
|
|
7088
|
-
* @param {string} solutionId the Solution identifier
|
|
7089
|
-
* @param {string} fileName The file name
|
|
7090
|
-
* @param {*} [options] Override http request option.
|
|
7091
|
-
* @throws {RequiredError}
|
|
7092
|
-
*/
|
|
7093
|
-
deleteSolutionFile: function (organizationId_1, solutionId_1, fileName_1) {
|
|
7094
|
-
var args_1 = [];
|
|
7095
|
-
for (var _i = 3; _i < arguments.length; _i++) {
|
|
7096
|
-
args_1[_i - 3] = arguments[_i];
|
|
7097
|
-
}
|
|
7098
|
-
return __awaiter(_this, __spreadArray([organizationId_1, solutionId_1, fileName_1], args_1, true), void 0, function (organizationId, solutionId, fileName, options) {
|
|
7099
|
-
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
7100
|
-
if (options === void 0) { options = {}; }
|
|
7101
|
-
return __generator(this, function (_a) {
|
|
7102
|
-
switch (_a.label) {
|
|
7103
|
-
case 0:
|
|
7104
|
-
// verify required parameter 'organizationId' is not null or undefined
|
|
7105
|
-
(0, common_1.assertParamExists)('deleteSolutionFile', 'organizationId', organizationId);
|
|
7106
|
-
// verify required parameter 'solutionId' is not null or undefined
|
|
7107
|
-
(0, common_1.assertParamExists)('deleteSolutionFile', 'solutionId', solutionId);
|
|
7108
|
-
// verify required parameter 'fileName' is not null or undefined
|
|
7109
|
-
(0, common_1.assertParamExists)('deleteSolutionFile', 'fileName', fileName);
|
|
7110
|
-
localVarPath = "/organizations/{organization_id}/solutions/{solution_id}/files/delete"
|
|
7111
|
-
.replace("{".concat("organization_id", "}"), encodeURIComponent(String(organizationId)))
|
|
7112
|
-
.replace("{".concat("solution_id", "}"), encodeURIComponent(String(solutionId)));
|
|
7113
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7114
|
-
if (configuration) {
|
|
7115
|
-
baseOptions = configuration.baseOptions;
|
|
7116
|
-
}
|
|
7117
|
-
localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
|
|
7118
|
-
localVarHeaderParameter = {};
|
|
7119
|
-
localVarQueryParameter = {};
|
|
7120
|
-
// authentication oAuth2AuthCode required
|
|
7121
|
-
// oauth required
|
|
7122
|
-
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oAuth2AuthCode", [], configuration)];
|
|
7123
|
-
case 1:
|
|
7124
|
-
// authentication oAuth2AuthCode required
|
|
7125
|
-
// oauth required
|
|
7126
|
-
_a.sent();
|
|
7127
|
-
if (fileName !== undefined) {
|
|
7128
|
-
localVarQueryParameter['file_name'] = fileName;
|
|
7129
|
-
}
|
|
7130
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
7131
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7132
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
7133
|
-
return [2 /*return*/, {
|
|
7134
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
7135
|
-
options: localVarRequestOptions,
|
|
7136
|
-
}];
|
|
7137
|
-
}
|
|
7138
|
-
});
|
|
7139
|
-
});
|
|
7140
|
-
},
|
|
7141
|
-
/**
|
|
7142
|
-
*
|
|
7143
|
-
* @summary Delete all Solution files
|
|
7144
|
-
* @param {string} organizationId the Organization identifier
|
|
7145
|
-
* @param {string} solutionId the Solution identifier
|
|
7146
|
-
* @param {*} [options] Override http request option.
|
|
7147
|
-
* @throws {RequiredError}
|
|
7148
|
-
*/
|
|
7149
|
-
deleteSolutionFiles: function (organizationId_1, solutionId_1) {
|
|
7150
|
-
var args_1 = [];
|
|
7151
|
-
for (var _i = 2; _i < arguments.length; _i++) {
|
|
7152
|
-
args_1[_i - 2] = arguments[_i];
|
|
7153
|
-
}
|
|
7154
|
-
return __awaiter(_this, __spreadArray([organizationId_1, solutionId_1], args_1, true), void 0, function (organizationId, solutionId, options) {
|
|
7155
|
-
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
7156
|
-
if (options === void 0) { options = {}; }
|
|
7157
|
-
return __generator(this, function (_a) {
|
|
7158
|
-
switch (_a.label) {
|
|
7159
|
-
case 0:
|
|
7160
|
-
// verify required parameter 'organizationId' is not null or undefined
|
|
7161
|
-
(0, common_1.assertParamExists)('deleteSolutionFiles', 'organizationId', organizationId);
|
|
7162
|
-
// verify required parameter 'solutionId' is not null or undefined
|
|
7163
|
-
(0, common_1.assertParamExists)('deleteSolutionFiles', 'solutionId', solutionId);
|
|
7164
|
-
localVarPath = "/organizations/{organization_id}/solutions/{solution_id}/files"
|
|
7165
|
-
.replace("{".concat("organization_id", "}"), encodeURIComponent(String(organizationId)))
|
|
7166
|
-
.replace("{".concat("solution_id", "}"), encodeURIComponent(String(solutionId)));
|
|
7167
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7168
|
-
if (configuration) {
|
|
7169
|
-
baseOptions = configuration.baseOptions;
|
|
7170
|
-
}
|
|
7171
|
-
localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
|
|
7172
|
-
localVarHeaderParameter = {};
|
|
7173
|
-
localVarQueryParameter = {};
|
|
7174
|
-
// authentication oAuth2AuthCode required
|
|
7175
|
-
// oauth required
|
|
7176
|
-
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oAuth2AuthCode", [], configuration)];
|
|
7177
|
-
case 1:
|
|
7178
|
-
// authentication oAuth2AuthCode required
|
|
7179
|
-
// oauth required
|
|
7180
|
-
_a.sent();
|
|
7181
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
7182
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7183
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
7184
|
-
return [2 /*return*/, {
|
|
7185
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
7186
|
-
options: localVarRequestOptions,
|
|
7187
|
-
}];
|
|
7188
|
-
}
|
|
7189
|
-
});
|
|
7190
|
-
});
|
|
7191
|
-
},
|
|
7192
6930
|
/**
|
|
7193
6931
|
*
|
|
7194
6932
|
* @summary Delete specific parameter from the solution
|
|
@@ -7515,63 +7253,6 @@ var SolutionApiAxiosParamCreator = function (configuration) {
|
|
|
7515
7253
|
});
|
|
7516
7254
|
});
|
|
7517
7255
|
},
|
|
7518
|
-
/**
|
|
7519
|
-
*
|
|
7520
|
-
* @summary Download the Solution File specified
|
|
7521
|
-
* @param {string} organizationId the Organization identifier
|
|
7522
|
-
* @param {string} solutionId the Solution identifier
|
|
7523
|
-
* @param {string} fileName The file name
|
|
7524
|
-
* @param {*} [options] Override http request option.
|
|
7525
|
-
* @throws {RequiredError}
|
|
7526
|
-
*/
|
|
7527
|
-
getSolutionFile: function (organizationId_1, solutionId_1, fileName_1) {
|
|
7528
|
-
var args_1 = [];
|
|
7529
|
-
for (var _i = 3; _i < arguments.length; _i++) {
|
|
7530
|
-
args_1[_i - 3] = arguments[_i];
|
|
7531
|
-
}
|
|
7532
|
-
return __awaiter(_this, __spreadArray([organizationId_1, solutionId_1, fileName_1], args_1, true), void 0, function (organizationId, solutionId, fileName, options) {
|
|
7533
|
-
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
7534
|
-
if (options === void 0) { options = {}; }
|
|
7535
|
-
return __generator(this, function (_a) {
|
|
7536
|
-
switch (_a.label) {
|
|
7537
|
-
case 0:
|
|
7538
|
-
// verify required parameter 'organizationId' is not null or undefined
|
|
7539
|
-
(0, common_1.assertParamExists)('getSolutionFile', 'organizationId', organizationId);
|
|
7540
|
-
// verify required parameter 'solutionId' is not null or undefined
|
|
7541
|
-
(0, common_1.assertParamExists)('getSolutionFile', 'solutionId', solutionId);
|
|
7542
|
-
// verify required parameter 'fileName' is not null or undefined
|
|
7543
|
-
(0, common_1.assertParamExists)('getSolutionFile', 'fileName', fileName);
|
|
7544
|
-
localVarPath = "/organizations/{organization_id}/solutions/{solution_id}/files/download"
|
|
7545
|
-
.replace("{".concat("organization_id", "}"), encodeURIComponent(String(organizationId)))
|
|
7546
|
-
.replace("{".concat("solution_id", "}"), encodeURIComponent(String(solutionId)));
|
|
7547
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7548
|
-
if (configuration) {
|
|
7549
|
-
baseOptions = configuration.baseOptions;
|
|
7550
|
-
}
|
|
7551
|
-
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
7552
|
-
localVarHeaderParameter = {};
|
|
7553
|
-
localVarQueryParameter = {};
|
|
7554
|
-
// authentication oAuth2AuthCode required
|
|
7555
|
-
// oauth required
|
|
7556
|
-
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oAuth2AuthCode", [], configuration)];
|
|
7557
|
-
case 1:
|
|
7558
|
-
// authentication oAuth2AuthCode required
|
|
7559
|
-
// oauth required
|
|
7560
|
-
_a.sent();
|
|
7561
|
-
if (fileName !== undefined) {
|
|
7562
|
-
localVarQueryParameter['file_name'] = fileName;
|
|
7563
|
-
}
|
|
7564
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
7565
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7566
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
7567
|
-
return [2 /*return*/, {
|
|
7568
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
7569
|
-
options: localVarRequestOptions,
|
|
7570
|
-
}];
|
|
7571
|
-
}
|
|
7572
|
-
});
|
|
7573
|
-
});
|
|
7574
|
-
},
|
|
7575
7256
|
/**
|
|
7576
7257
|
*
|
|
7577
7258
|
* @summary Get the details of a solution parameter
|
|
@@ -7784,57 +7465,6 @@ var SolutionApiAxiosParamCreator = function (configuration) {
|
|
|
7784
7465
|
});
|
|
7785
7466
|
});
|
|
7786
7467
|
},
|
|
7787
|
-
/**
|
|
7788
|
-
*
|
|
7789
|
-
* @summary List all Solution files
|
|
7790
|
-
* @param {string} organizationId the Organization identifier
|
|
7791
|
-
* @param {string} solutionId the Solution identifier
|
|
7792
|
-
* @param {*} [options] Override http request option.
|
|
7793
|
-
* @throws {RequiredError}
|
|
7794
|
-
*/
|
|
7795
|
-
listSolutionFiles: function (organizationId_1, solutionId_1) {
|
|
7796
|
-
var args_1 = [];
|
|
7797
|
-
for (var _i = 2; _i < arguments.length; _i++) {
|
|
7798
|
-
args_1[_i - 2] = arguments[_i];
|
|
7799
|
-
}
|
|
7800
|
-
return __awaiter(_this, __spreadArray([organizationId_1, solutionId_1], args_1, true), void 0, function (organizationId, solutionId, options) {
|
|
7801
|
-
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
7802
|
-
if (options === void 0) { options = {}; }
|
|
7803
|
-
return __generator(this, function (_a) {
|
|
7804
|
-
switch (_a.label) {
|
|
7805
|
-
case 0:
|
|
7806
|
-
// verify required parameter 'organizationId' is not null or undefined
|
|
7807
|
-
(0, common_1.assertParamExists)('listSolutionFiles', 'organizationId', organizationId);
|
|
7808
|
-
// verify required parameter 'solutionId' is not null or undefined
|
|
7809
|
-
(0, common_1.assertParamExists)('listSolutionFiles', 'solutionId', solutionId);
|
|
7810
|
-
localVarPath = "/organizations/{organization_id}/solutions/{solution_id}/files"
|
|
7811
|
-
.replace("{".concat("organization_id", "}"), encodeURIComponent(String(organizationId)))
|
|
7812
|
-
.replace("{".concat("solution_id", "}"), encodeURIComponent(String(solutionId)));
|
|
7813
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7814
|
-
if (configuration) {
|
|
7815
|
-
baseOptions = configuration.baseOptions;
|
|
7816
|
-
}
|
|
7817
|
-
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
7818
|
-
localVarHeaderParameter = {};
|
|
7819
|
-
localVarQueryParameter = {};
|
|
7820
|
-
// authentication oAuth2AuthCode required
|
|
7821
|
-
// oauth required
|
|
7822
|
-
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oAuth2AuthCode", [], configuration)];
|
|
7823
|
-
case 1:
|
|
7824
|
-
// authentication oAuth2AuthCode required
|
|
7825
|
-
// oauth required
|
|
7826
|
-
_a.sent();
|
|
7827
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
7828
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7829
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
7830
|
-
return [2 /*return*/, {
|
|
7831
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
7832
|
-
options: localVarRequestOptions,
|
|
7833
|
-
}];
|
|
7834
|
-
}
|
|
7835
|
-
});
|
|
7836
|
-
});
|
|
7837
|
-
},
|
|
7838
7468
|
/**
|
|
7839
7469
|
*
|
|
7840
7470
|
* @summary List all solution parameter groups
|
|
@@ -8454,33 +8084,6 @@ var SolutionApiFp = function (configuration) {
|
|
|
8454
8084
|
});
|
|
8455
8085
|
});
|
|
8456
8086
|
},
|
|
8457
|
-
/**
|
|
8458
|
-
*
|
|
8459
|
-
* @summary Upload a file for the Solution
|
|
8460
|
-
* @param {string} organizationId the Organization identifier
|
|
8461
|
-
* @param {string} solutionId the Solution identifier
|
|
8462
|
-
* @param {File} file The file to upload
|
|
8463
|
-
* @param {boolean} [overwrite] Whether to overwrite an existing file
|
|
8464
|
-
* @param {string} [destination] Destination path. Must end with a \\\'/\\\' if specifying a folder. Note that paths may or may not start with a \\\'/\\\', but they are always treated as relative to the Solution root location.
|
|
8465
|
-
* @param {*} [options] Override http request option.
|
|
8466
|
-
* @throws {RequiredError}
|
|
8467
|
-
*/
|
|
8468
|
-
createSolutionFile: function (organizationId, solutionId, file, overwrite, destination, options) {
|
|
8469
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
8470
|
-
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
8471
|
-
var _a, _b, _c;
|
|
8472
|
-
return __generator(this, function (_d) {
|
|
8473
|
-
switch (_d.label) {
|
|
8474
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.createSolutionFile(organizationId, solutionId, file, overwrite, destination, options)];
|
|
8475
|
-
case 1:
|
|
8476
|
-
localVarAxiosArgs = _d.sent();
|
|
8477
|
-
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
8478
|
-
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SolutionApi.createSolutionFile']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
8479
|
-
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
8480
|
-
}
|
|
8481
|
-
});
|
|
8482
|
-
});
|
|
8483
|
-
},
|
|
8484
8087
|
/**
|
|
8485
8088
|
*
|
|
8486
8089
|
* @summary Create solution parameter for a solution
|
|
@@ -8605,55 +8208,6 @@ var SolutionApiFp = function (configuration) {
|
|
|
8605
8208
|
});
|
|
8606
8209
|
});
|
|
8607
8210
|
},
|
|
8608
|
-
/**
|
|
8609
|
-
*
|
|
8610
|
-
* @summary Delete a solution file
|
|
8611
|
-
* @param {string} organizationId the Organization identifier
|
|
8612
|
-
* @param {string} solutionId the Solution identifier
|
|
8613
|
-
* @param {string} fileName The file name
|
|
8614
|
-
* @param {*} [options] Override http request option.
|
|
8615
|
-
* @throws {RequiredError}
|
|
8616
|
-
*/
|
|
8617
|
-
deleteSolutionFile: function (organizationId, solutionId, fileName, options) {
|
|
8618
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
8619
|
-
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
8620
|
-
var _a, _b, _c;
|
|
8621
|
-
return __generator(this, function (_d) {
|
|
8622
|
-
switch (_d.label) {
|
|
8623
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteSolutionFile(organizationId, solutionId, fileName, options)];
|
|
8624
|
-
case 1:
|
|
8625
|
-
localVarAxiosArgs = _d.sent();
|
|
8626
|
-
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
8627
|
-
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SolutionApi.deleteSolutionFile']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
8628
|
-
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
8629
|
-
}
|
|
8630
|
-
});
|
|
8631
|
-
});
|
|
8632
|
-
},
|
|
8633
|
-
/**
|
|
8634
|
-
*
|
|
8635
|
-
* @summary Delete all Solution files
|
|
8636
|
-
* @param {string} organizationId the Organization identifier
|
|
8637
|
-
* @param {string} solutionId the Solution identifier
|
|
8638
|
-
* @param {*} [options] Override http request option.
|
|
8639
|
-
* @throws {RequiredError}
|
|
8640
|
-
*/
|
|
8641
|
-
deleteSolutionFiles: function (organizationId, solutionId, options) {
|
|
8642
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
8643
|
-
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
8644
|
-
var _a, _b, _c;
|
|
8645
|
-
return __generator(this, function (_d) {
|
|
8646
|
-
switch (_d.label) {
|
|
8647
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteSolutionFiles(organizationId, solutionId, options)];
|
|
8648
|
-
case 1:
|
|
8649
|
-
localVarAxiosArgs = _d.sent();
|
|
8650
|
-
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
8651
|
-
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SolutionApi.deleteSolutionFiles']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
8652
|
-
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
8653
|
-
}
|
|
8654
|
-
});
|
|
8655
|
-
});
|
|
8656
|
-
},
|
|
8657
8211
|
/**
|
|
8658
8212
|
*
|
|
8659
8213
|
* @summary Delete specific parameter from the solution
|
|
@@ -8803,31 +8357,6 @@ var SolutionApiFp = function (configuration) {
|
|
|
8803
8357
|
});
|
|
8804
8358
|
});
|
|
8805
8359
|
},
|
|
8806
|
-
/**
|
|
8807
|
-
*
|
|
8808
|
-
* @summary Download the Solution File specified
|
|
8809
|
-
* @param {string} organizationId the Organization identifier
|
|
8810
|
-
* @param {string} solutionId the Solution identifier
|
|
8811
|
-
* @param {string} fileName The file name
|
|
8812
|
-
* @param {*} [options] Override http request option.
|
|
8813
|
-
* @throws {RequiredError}
|
|
8814
|
-
*/
|
|
8815
|
-
getSolutionFile: function (organizationId, solutionId, fileName, options) {
|
|
8816
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
8817
|
-
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
8818
|
-
var _a, _b, _c;
|
|
8819
|
-
return __generator(this, function (_d) {
|
|
8820
|
-
switch (_d.label) {
|
|
8821
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getSolutionFile(organizationId, solutionId, fileName, options)];
|
|
8822
|
-
case 1:
|
|
8823
|
-
localVarAxiosArgs = _d.sent();
|
|
8824
|
-
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
8825
|
-
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SolutionApi.getSolutionFile']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
8826
|
-
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
8827
|
-
}
|
|
8828
|
-
});
|
|
8829
|
-
});
|
|
8830
|
-
},
|
|
8831
8360
|
/**
|
|
8832
8361
|
*
|
|
8833
8362
|
* @summary Get the details of a solution parameter
|
|
@@ -8926,30 +8455,6 @@ var SolutionApiFp = function (configuration) {
|
|
|
8926
8455
|
});
|
|
8927
8456
|
});
|
|
8928
8457
|
},
|
|
8929
|
-
/**
|
|
8930
|
-
*
|
|
8931
|
-
* @summary List all Solution files
|
|
8932
|
-
* @param {string} organizationId the Organization identifier
|
|
8933
|
-
* @param {string} solutionId the Solution identifier
|
|
8934
|
-
* @param {*} [options] Override http request option.
|
|
8935
|
-
* @throws {RequiredError}
|
|
8936
|
-
*/
|
|
8937
|
-
listSolutionFiles: function (organizationId, solutionId, options) {
|
|
8938
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
8939
|
-
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
8940
|
-
var _a, _b, _c;
|
|
8941
|
-
return __generator(this, function (_d) {
|
|
8942
|
-
switch (_d.label) {
|
|
8943
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listSolutionFiles(organizationId, solutionId, options)];
|
|
8944
|
-
case 1:
|
|
8945
|
-
localVarAxiosArgs = _d.sent();
|
|
8946
|
-
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
8947
|
-
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SolutionApi.listSolutionFiles']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
8948
|
-
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
8949
|
-
}
|
|
8950
|
-
});
|
|
8951
|
-
});
|
|
8952
|
-
},
|
|
8953
8458
|
/**
|
|
8954
8459
|
*
|
|
8955
8460
|
* @summary List all solution parameter groups
|
|
@@ -9234,20 +8739,6 @@ var SolutionApiFactory = function (configuration, basePath, axios) {
|
|
|
9234
8739
|
createSolutionAccessControl: function (organizationId, solutionId, solutionAccessControl, options) {
|
|
9235
8740
|
return localVarFp.createSolutionAccessControl(organizationId, solutionId, solutionAccessControl, options).then(function (request) { return request(axios, basePath); });
|
|
9236
8741
|
},
|
|
9237
|
-
/**
|
|
9238
|
-
*
|
|
9239
|
-
* @summary Upload a file for the Solution
|
|
9240
|
-
* @param {string} organizationId the Organization identifier
|
|
9241
|
-
* @param {string} solutionId the Solution identifier
|
|
9242
|
-
* @param {File} file The file to upload
|
|
9243
|
-
* @param {boolean} [overwrite] Whether to overwrite an existing file
|
|
9244
|
-
* @param {string} [destination] Destination path. Must end with a \\\'/\\\' if specifying a folder. Note that paths may or may not start with a \\\'/\\\', but they are always treated as relative to the Solution root location.
|
|
9245
|
-
* @param {*} [options] Override http request option.
|
|
9246
|
-
* @throws {RequiredError}
|
|
9247
|
-
*/
|
|
9248
|
-
createSolutionFile: function (organizationId, solutionId, file, overwrite, destination, options) {
|
|
9249
|
-
return localVarFp.createSolutionFile(organizationId, solutionId, file, overwrite, destination, options).then(function (request) { return request(axios, basePath); });
|
|
9250
|
-
},
|
|
9251
8742
|
/**
|
|
9252
8743
|
*
|
|
9253
8744
|
* @summary Create solution parameter for a solution
|
|
@@ -9307,29 +8798,6 @@ var SolutionApiFactory = function (configuration, basePath, axios) {
|
|
|
9307
8798
|
deleteSolutionAccessControl: function (organizationId, solutionId, identityId, options) {
|
|
9308
8799
|
return localVarFp.deleteSolutionAccessControl(organizationId, solutionId, identityId, options).then(function (request) { return request(axios, basePath); });
|
|
9309
8800
|
},
|
|
9310
|
-
/**
|
|
9311
|
-
*
|
|
9312
|
-
* @summary Delete a solution file
|
|
9313
|
-
* @param {string} organizationId the Organization identifier
|
|
9314
|
-
* @param {string} solutionId the Solution identifier
|
|
9315
|
-
* @param {string} fileName The file name
|
|
9316
|
-
* @param {*} [options] Override http request option.
|
|
9317
|
-
* @throws {RequiredError}
|
|
9318
|
-
*/
|
|
9319
|
-
deleteSolutionFile: function (organizationId, solutionId, fileName, options) {
|
|
9320
|
-
return localVarFp.deleteSolutionFile(organizationId, solutionId, fileName, options).then(function (request) { return request(axios, basePath); });
|
|
9321
|
-
},
|
|
9322
|
-
/**
|
|
9323
|
-
*
|
|
9324
|
-
* @summary Delete all Solution files
|
|
9325
|
-
* @param {string} organizationId the Organization identifier
|
|
9326
|
-
* @param {string} solutionId the Solution identifier
|
|
9327
|
-
* @param {*} [options] Override http request option.
|
|
9328
|
-
* @throws {RequiredError}
|
|
9329
|
-
*/
|
|
9330
|
-
deleteSolutionFiles: function (organizationId, solutionId, options) {
|
|
9331
|
-
return localVarFp.deleteSolutionFiles(organizationId, solutionId, options).then(function (request) { return request(axios, basePath); });
|
|
9332
|
-
},
|
|
9333
8801
|
/**
|
|
9334
8802
|
*
|
|
9335
8803
|
* @summary Delete specific parameter from the solution
|
|
@@ -9401,18 +8869,6 @@ var SolutionApiFactory = function (configuration, basePath, axios) {
|
|
|
9401
8869
|
getSolutionAccessControl: function (organizationId, solutionId, identityId, options) {
|
|
9402
8870
|
return localVarFp.getSolutionAccessControl(organizationId, solutionId, identityId, options).then(function (request) { return request(axios, basePath); });
|
|
9403
8871
|
},
|
|
9404
|
-
/**
|
|
9405
|
-
*
|
|
9406
|
-
* @summary Download the Solution File specified
|
|
9407
|
-
* @param {string} organizationId the Organization identifier
|
|
9408
|
-
* @param {string} solutionId the Solution identifier
|
|
9409
|
-
* @param {string} fileName The file name
|
|
9410
|
-
* @param {*} [options] Override http request option.
|
|
9411
|
-
* @throws {RequiredError}
|
|
9412
|
-
*/
|
|
9413
|
-
getSolutionFile: function (organizationId, solutionId, fileName, options) {
|
|
9414
|
-
return localVarFp.getSolutionFile(organizationId, solutionId, fileName, options).then(function (request) { return request(axios, basePath); });
|
|
9415
|
-
},
|
|
9416
8872
|
/**
|
|
9417
8873
|
*
|
|
9418
8874
|
* @summary Get the details of a solution parameter
|
|
@@ -9459,17 +8915,6 @@ var SolutionApiFactory = function (configuration, basePath, axios) {
|
|
|
9459
8915
|
listRunTemplates: function (organizationId, solutionId, options) {
|
|
9460
8916
|
return localVarFp.listRunTemplates(organizationId, solutionId, options).then(function (request) { return request(axios, basePath); });
|
|
9461
8917
|
},
|
|
9462
|
-
/**
|
|
9463
|
-
*
|
|
9464
|
-
* @summary List all Solution files
|
|
9465
|
-
* @param {string} organizationId the Organization identifier
|
|
9466
|
-
* @param {string} solutionId the Solution identifier
|
|
9467
|
-
* @param {*} [options] Override http request option.
|
|
9468
|
-
* @throws {RequiredError}
|
|
9469
|
-
*/
|
|
9470
|
-
listSolutionFiles: function (organizationId, solutionId, options) {
|
|
9471
|
-
return localVarFp.listSolutionFiles(organizationId, solutionId, options).then(function (request) { return request(axios, basePath); });
|
|
9472
|
-
},
|
|
9473
8918
|
/**
|
|
9474
8919
|
*
|
|
9475
8920
|
* @summary List all solution parameter groups
|
|
@@ -9632,22 +9077,6 @@ var SolutionApi = /** @class */ (function (_super) {
|
|
|
9632
9077
|
var _this = this;
|
|
9633
9078
|
return (0, exports.SolutionApiFp)(this.configuration).createSolutionAccessControl(organizationId, solutionId, solutionAccessControl, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
9634
9079
|
};
|
|
9635
|
-
/**
|
|
9636
|
-
*
|
|
9637
|
-
* @summary Upload a file for the Solution
|
|
9638
|
-
* @param {string} organizationId the Organization identifier
|
|
9639
|
-
* @param {string} solutionId the Solution identifier
|
|
9640
|
-
* @param {File} file The file to upload
|
|
9641
|
-
* @param {boolean} [overwrite] Whether to overwrite an existing file
|
|
9642
|
-
* @param {string} [destination] Destination path. Must end with a \\\'/\\\' if specifying a folder. Note that paths may or may not start with a \\\'/\\\', but they are always treated as relative to the Solution root location.
|
|
9643
|
-
* @param {*} [options] Override http request option.
|
|
9644
|
-
* @throws {RequiredError}
|
|
9645
|
-
* @memberof SolutionApi
|
|
9646
|
-
*/
|
|
9647
|
-
SolutionApi.prototype.createSolutionFile = function (organizationId, solutionId, file, overwrite, destination, options) {
|
|
9648
|
-
var _this = this;
|
|
9649
|
-
return (0, exports.SolutionApiFp)(this.configuration).createSolutionFile(organizationId, solutionId, file, overwrite, destination, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
9650
|
-
};
|
|
9651
9080
|
/**
|
|
9652
9081
|
*
|
|
9653
9082
|
* @summary Create solution parameter for a solution
|
|
@@ -9717,33 +9146,6 @@ var SolutionApi = /** @class */ (function (_super) {
|
|
|
9717
9146
|
var _this = this;
|
|
9718
9147
|
return (0, exports.SolutionApiFp)(this.configuration).deleteSolutionAccessControl(organizationId, solutionId, identityId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
9719
9148
|
};
|
|
9720
|
-
/**
|
|
9721
|
-
*
|
|
9722
|
-
* @summary Delete a solution file
|
|
9723
|
-
* @param {string} organizationId the Organization identifier
|
|
9724
|
-
* @param {string} solutionId the Solution identifier
|
|
9725
|
-
* @param {string} fileName The file name
|
|
9726
|
-
* @param {*} [options] Override http request option.
|
|
9727
|
-
* @throws {RequiredError}
|
|
9728
|
-
* @memberof SolutionApi
|
|
9729
|
-
*/
|
|
9730
|
-
SolutionApi.prototype.deleteSolutionFile = function (organizationId, solutionId, fileName, options) {
|
|
9731
|
-
var _this = this;
|
|
9732
|
-
return (0, exports.SolutionApiFp)(this.configuration).deleteSolutionFile(organizationId, solutionId, fileName, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
9733
|
-
};
|
|
9734
|
-
/**
|
|
9735
|
-
*
|
|
9736
|
-
* @summary Delete all Solution files
|
|
9737
|
-
* @param {string} organizationId the Organization identifier
|
|
9738
|
-
* @param {string} solutionId the Solution identifier
|
|
9739
|
-
* @param {*} [options] Override http request option.
|
|
9740
|
-
* @throws {RequiredError}
|
|
9741
|
-
* @memberof SolutionApi
|
|
9742
|
-
*/
|
|
9743
|
-
SolutionApi.prototype.deleteSolutionFiles = function (organizationId, solutionId, options) {
|
|
9744
|
-
var _this = this;
|
|
9745
|
-
return (0, exports.SolutionApiFp)(this.configuration).deleteSolutionFiles(organizationId, solutionId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
9746
|
-
};
|
|
9747
9149
|
/**
|
|
9748
9150
|
*
|
|
9749
9151
|
* @summary Delete specific parameter from the solution
|
|
@@ -9827,20 +9229,6 @@ var SolutionApi = /** @class */ (function (_super) {
|
|
|
9827
9229
|
var _this = this;
|
|
9828
9230
|
return (0, exports.SolutionApiFp)(this.configuration).getSolutionAccessControl(organizationId, solutionId, identityId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
9829
9231
|
};
|
|
9830
|
-
/**
|
|
9831
|
-
*
|
|
9832
|
-
* @summary Download the Solution File specified
|
|
9833
|
-
* @param {string} organizationId the Organization identifier
|
|
9834
|
-
* @param {string} solutionId the Solution identifier
|
|
9835
|
-
* @param {string} fileName The file name
|
|
9836
|
-
* @param {*} [options] Override http request option.
|
|
9837
|
-
* @throws {RequiredError}
|
|
9838
|
-
* @memberof SolutionApi
|
|
9839
|
-
*/
|
|
9840
|
-
SolutionApi.prototype.getSolutionFile = function (organizationId, solutionId, fileName, options) {
|
|
9841
|
-
var _this = this;
|
|
9842
|
-
return (0, exports.SolutionApiFp)(this.configuration).getSolutionFile(organizationId, solutionId, fileName, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
9843
|
-
};
|
|
9844
9232
|
/**
|
|
9845
9233
|
*
|
|
9846
9234
|
* @summary Get the details of a solution parameter
|
|
@@ -9895,19 +9283,6 @@ var SolutionApi = /** @class */ (function (_super) {
|
|
|
9895
9283
|
var _this = this;
|
|
9896
9284
|
return (0, exports.SolutionApiFp)(this.configuration).listRunTemplates(organizationId, solutionId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
9897
9285
|
};
|
|
9898
|
-
/**
|
|
9899
|
-
*
|
|
9900
|
-
* @summary List all Solution files
|
|
9901
|
-
* @param {string} organizationId the Organization identifier
|
|
9902
|
-
* @param {string} solutionId the Solution identifier
|
|
9903
|
-
* @param {*} [options] Override http request option.
|
|
9904
|
-
* @throws {RequiredError}
|
|
9905
|
-
* @memberof SolutionApi
|
|
9906
|
-
*/
|
|
9907
|
-
SolutionApi.prototype.listSolutionFiles = function (organizationId, solutionId, options) {
|
|
9908
|
-
var _this = this;
|
|
9909
|
-
return (0, exports.SolutionApiFp)(this.configuration).listSolutionFiles(organizationId, solutionId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
9910
|
-
};
|
|
9911
9286
|
/**
|
|
9912
9287
|
*
|
|
9913
9288
|
* @summary List all solution parameter groups
|