@cosmotech/api-ts 5.0.0-beta4 → 5.0.0-beta5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/publish.yaml +3 -4
- package/.github/workflows/track_dependencies.yml +28 -0
- package/.openapi-generator/FILES +1 -1
- package/README.md +4 -8
- package/api.ts +153 -476
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +203 -333
- package/dist/api.js +178 -596
- 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 +83 -16
- 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/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/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/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: 5.0.
|
|
8
|
+
* The version of the OpenAPI document: 5.0.1-SNAPSHOT
|
|
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',
|
|
@@ -1392,6 +1392,70 @@ var DatasetApiAxiosParamCreator = function (configuration) {
|
|
|
1392
1392
|
});
|
|
1393
1393
|
});
|
|
1394
1394
|
},
|
|
1395
|
+
/**
|
|
1396
|
+
*
|
|
1397
|
+
* @summary Update existing dataset parts information of a Dataset
|
|
1398
|
+
* @param {string} organizationId the Organization identifier
|
|
1399
|
+
* @param {string} workspaceId the Workspace identifier
|
|
1400
|
+
* @param {string} datasetId the Dataset identifier
|
|
1401
|
+
* @param {string} datasetPartId the Dataset part identifier
|
|
1402
|
+
* @param {DatasetPartUpdateRequest} datasetPartUpdateRequest Dataset part information to update
|
|
1403
|
+
* @param {*} [options] Override http request option.
|
|
1404
|
+
* @throws {RequiredError}
|
|
1405
|
+
*/
|
|
1406
|
+
updateDatasetPart: function (organizationId_1, workspaceId_1, datasetId_1, datasetPartId_1, datasetPartUpdateRequest_1) {
|
|
1407
|
+
var args_1 = [];
|
|
1408
|
+
for (var _i = 5; _i < arguments.length; _i++) {
|
|
1409
|
+
args_1[_i - 5] = arguments[_i];
|
|
1410
|
+
}
|
|
1411
|
+
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) {
|
|
1412
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
1413
|
+
if (options === void 0) { options = {}; }
|
|
1414
|
+
return __generator(this, function (_a) {
|
|
1415
|
+
switch (_a.label) {
|
|
1416
|
+
case 0:
|
|
1417
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
1418
|
+
(0, common_1.assertParamExists)('updateDatasetPart', 'organizationId', organizationId);
|
|
1419
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
1420
|
+
(0, common_1.assertParamExists)('updateDatasetPart', 'workspaceId', workspaceId);
|
|
1421
|
+
// verify required parameter 'datasetId' is not null or undefined
|
|
1422
|
+
(0, common_1.assertParamExists)('updateDatasetPart', 'datasetId', datasetId);
|
|
1423
|
+
// verify required parameter 'datasetPartId' is not null or undefined
|
|
1424
|
+
(0, common_1.assertParamExists)('updateDatasetPart', 'datasetPartId', datasetPartId);
|
|
1425
|
+
// verify required parameter 'datasetPartUpdateRequest' is not null or undefined
|
|
1426
|
+
(0, common_1.assertParamExists)('updateDatasetPart', 'datasetPartUpdateRequest', datasetPartUpdateRequest);
|
|
1427
|
+
localVarPath = "/organizations/{organization_id}/workspaces/{workspace_id}/datasets/{dataset_id}/parts/{dataset_part_id}"
|
|
1428
|
+
.replace("{".concat("organization_id", "}"), encodeURIComponent(String(organizationId)))
|
|
1429
|
+
.replace("{".concat("workspace_id", "}"), encodeURIComponent(String(workspaceId)))
|
|
1430
|
+
.replace("{".concat("dataset_id", "}"), encodeURIComponent(String(datasetId)))
|
|
1431
|
+
.replace("{".concat("dataset_part_id", "}"), encodeURIComponent(String(datasetPartId)));
|
|
1432
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1433
|
+
if (configuration) {
|
|
1434
|
+
baseOptions = configuration.baseOptions;
|
|
1435
|
+
}
|
|
1436
|
+
localVarRequestOptions = __assign(__assign({ method: 'PATCH' }, baseOptions), options);
|
|
1437
|
+
localVarHeaderParameter = {};
|
|
1438
|
+
localVarQueryParameter = {};
|
|
1439
|
+
// authentication oAuth2AuthCode required
|
|
1440
|
+
// oauth required
|
|
1441
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oAuth2AuthCode", [], configuration)];
|
|
1442
|
+
case 1:
|
|
1443
|
+
// authentication oAuth2AuthCode required
|
|
1444
|
+
// oauth required
|
|
1445
|
+
_a.sent();
|
|
1446
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1447
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1448
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1449
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1450
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(datasetPartUpdateRequest, localVarRequestOptions, configuration);
|
|
1451
|
+
return [2 /*return*/, {
|
|
1452
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1453
|
+
options: localVarRequestOptions,
|
|
1454
|
+
}];
|
|
1455
|
+
}
|
|
1456
|
+
});
|
|
1457
|
+
});
|
|
1458
|
+
},
|
|
1395
1459
|
};
|
|
1396
1460
|
};
|
|
1397
1461
|
exports.DatasetApiAxiosParamCreator = DatasetApiAxiosParamCreator;
|
|
@@ -1933,6 +1997,33 @@ var DatasetApiFp = function (configuration) {
|
|
|
1933
1997
|
});
|
|
1934
1998
|
});
|
|
1935
1999
|
},
|
|
2000
|
+
/**
|
|
2001
|
+
*
|
|
2002
|
+
* @summary Update existing dataset parts information of a Dataset
|
|
2003
|
+
* @param {string} organizationId the Organization identifier
|
|
2004
|
+
* @param {string} workspaceId the Workspace identifier
|
|
2005
|
+
* @param {string} datasetId the Dataset identifier
|
|
2006
|
+
* @param {string} datasetPartId the Dataset part identifier
|
|
2007
|
+
* @param {DatasetPartUpdateRequest} datasetPartUpdateRequest Dataset part information to update
|
|
2008
|
+
* @param {*} [options] Override http request option.
|
|
2009
|
+
* @throws {RequiredError}
|
|
2010
|
+
*/
|
|
2011
|
+
updateDatasetPart: function (organizationId, workspaceId, datasetId, datasetPartId, datasetPartUpdateRequest, options) {
|
|
2012
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
2013
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
2014
|
+
var _a, _b, _c;
|
|
2015
|
+
return __generator(this, function (_d) {
|
|
2016
|
+
switch (_d.label) {
|
|
2017
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateDatasetPart(organizationId, workspaceId, datasetId, datasetPartId, datasetPartUpdateRequest, options)];
|
|
2018
|
+
case 1:
|
|
2019
|
+
localVarAxiosArgs = _d.sent();
|
|
2020
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2021
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DatasetApi.updateDatasetPart']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2022
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
2023
|
+
}
|
|
2024
|
+
});
|
|
2025
|
+
});
|
|
2026
|
+
},
|
|
1936
2027
|
};
|
|
1937
2028
|
};
|
|
1938
2029
|
exports.DatasetApiFp = DatasetApiFp;
|
|
@@ -2214,6 +2305,20 @@ var DatasetApiFactory = function (configuration, basePath, axios) {
|
|
|
2214
2305
|
updateDatasetDefaultSecurity: function (organizationId, workspaceId, datasetId, datasetRole, options) {
|
|
2215
2306
|
return localVarFp.updateDatasetDefaultSecurity(organizationId, workspaceId, datasetId, datasetRole, options).then(function (request) { return request(axios, basePath); });
|
|
2216
2307
|
},
|
|
2308
|
+
/**
|
|
2309
|
+
*
|
|
2310
|
+
* @summary Update existing dataset parts information of a Dataset
|
|
2311
|
+
* @param {string} organizationId the Organization identifier
|
|
2312
|
+
* @param {string} workspaceId the Workspace identifier
|
|
2313
|
+
* @param {string} datasetId the Dataset identifier
|
|
2314
|
+
* @param {string} datasetPartId the Dataset part identifier
|
|
2315
|
+
* @param {DatasetPartUpdateRequest} datasetPartUpdateRequest Dataset part information to update
|
|
2316
|
+
* @param {*} [options] Override http request option.
|
|
2317
|
+
* @throws {RequiredError}
|
|
2318
|
+
*/
|
|
2319
|
+
updateDatasetPart: function (organizationId, workspaceId, datasetId, datasetPartId, datasetPartUpdateRequest, options) {
|
|
2320
|
+
return localVarFp.updateDatasetPart(organizationId, workspaceId, datasetId, datasetPartId, datasetPartUpdateRequest, options).then(function (request) { return request(axios, basePath); });
|
|
2321
|
+
},
|
|
2217
2322
|
};
|
|
2218
2323
|
};
|
|
2219
2324
|
exports.DatasetApiFactory = DatasetApiFactory;
|
|
@@ -2539,6 +2644,22 @@ var DatasetApi = /** @class */ (function (_super) {
|
|
|
2539
2644
|
var _this = this;
|
|
2540
2645
|
return (0, exports.DatasetApiFp)(this.configuration).updateDatasetDefaultSecurity(organizationId, workspaceId, datasetId, datasetRole, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2541
2646
|
};
|
|
2647
|
+
/**
|
|
2648
|
+
*
|
|
2649
|
+
* @summary Update existing dataset parts information of a Dataset
|
|
2650
|
+
* @param {string} organizationId the Organization identifier
|
|
2651
|
+
* @param {string} workspaceId the Workspace identifier
|
|
2652
|
+
* @param {string} datasetId the Dataset identifier
|
|
2653
|
+
* @param {string} datasetPartId the Dataset part identifier
|
|
2654
|
+
* @param {DatasetPartUpdateRequest} datasetPartUpdateRequest Dataset part information to update
|
|
2655
|
+
* @param {*} [options] Override http request option.
|
|
2656
|
+
* @throws {RequiredError}
|
|
2657
|
+
* @memberof DatasetApi
|
|
2658
|
+
*/
|
|
2659
|
+
DatasetApi.prototype.updateDatasetPart = function (organizationId, workspaceId, datasetId, datasetPartId, datasetPartUpdateRequest, options) {
|
|
2660
|
+
var _this = this;
|
|
2661
|
+
return (0, exports.DatasetApiFp)(this.configuration).updateDatasetPart(organizationId, workspaceId, datasetId, datasetPartId, datasetPartUpdateRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2662
|
+
};
|
|
2542
2663
|
return DatasetApi;
|
|
2543
2664
|
}(base_1.BaseAPI));
|
|
2544
2665
|
exports.DatasetApi = DatasetApi;
|
|
@@ -5447,8 +5568,8 @@ var RunnerApiAxiosParamCreator = function (configuration) {
|
|
|
5447
5568
|
* @summary List all Runners
|
|
5448
5569
|
* @param {string} organizationId the Organization identifier
|
|
5449
5570
|
* @param {string} workspaceId the Workspace identifier
|
|
5450
|
-
* @param {number} [page]
|
|
5451
|
-
* @param {number} [size]
|
|
5571
|
+
* @param {number} [page] Page number to query (first page is at index 0)
|
|
5572
|
+
* @param {number} [size] Amount of result by page
|
|
5452
5573
|
* @param {*} [options] Override http request option.
|
|
5453
5574
|
* @throws {RequiredError}
|
|
5454
5575
|
*/
|
|
@@ -6039,8 +6160,8 @@ var RunnerApiFp = function (configuration) {
|
|
|
6039
6160
|
* @summary List all Runners
|
|
6040
6161
|
* @param {string} organizationId the Organization identifier
|
|
6041
6162
|
* @param {string} workspaceId the Workspace identifier
|
|
6042
|
-
* @param {number} [page]
|
|
6043
|
-
* @param {number} [size]
|
|
6163
|
+
* @param {number} [page] Page number to query (first page is at index 0)
|
|
6164
|
+
* @param {number} [size] Amount of result by page
|
|
6044
6165
|
* @param {*} [options] Override http request option.
|
|
6045
6166
|
* @throws {RequiredError}
|
|
6046
6167
|
*/
|
|
@@ -6316,8 +6437,8 @@ var RunnerApiFactory = function (configuration, basePath, axios) {
|
|
|
6316
6437
|
* @summary List all Runners
|
|
6317
6438
|
* @param {string} organizationId the Organization identifier
|
|
6318
6439
|
* @param {string} workspaceId the Workspace identifier
|
|
6319
|
-
* @param {number} [page]
|
|
6320
|
-
* @param {number} [size]
|
|
6440
|
+
* @param {number} [page] Page number to query (first page is at index 0)
|
|
6441
|
+
* @param {number} [size] Amount of result by page
|
|
6321
6442
|
* @param {*} [options] Override http request option.
|
|
6322
6443
|
* @throws {RequiredError}
|
|
6323
6444
|
*/
|
|
@@ -6537,8 +6658,8 @@ var RunnerApi = /** @class */ (function (_super) {
|
|
|
6537
6658
|
* @summary List all Runners
|
|
6538
6659
|
* @param {string} organizationId the Organization identifier
|
|
6539
6660
|
* @param {string} workspaceId the Workspace identifier
|
|
6540
|
-
* @param {number} [page]
|
|
6541
|
-
* @param {number} [size]
|
|
6661
|
+
* @param {number} [page] Page number to query (first page is at index 0)
|
|
6662
|
+
* @param {number} [size] Amount of result by page
|
|
6542
6663
|
* @param {*} [options] Override http request option.
|
|
6543
6664
|
* @throws {RequiredError}
|
|
6544
6665
|
* @memberof RunnerApi
|
|
@@ -6739,74 +6860,6 @@ var SolutionApiAxiosParamCreator = function (configuration) {
|
|
|
6739
6860
|
});
|
|
6740
6861
|
});
|
|
6741
6862
|
},
|
|
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
6863
|
/**
|
|
6811
6864
|
*
|
|
6812
6865
|
* @summary Create solution parameter for a solution
|
|
@@ -7083,33 +7136,34 @@ var SolutionApiAxiosParamCreator = function (configuration) {
|
|
|
7083
7136
|
},
|
|
7084
7137
|
/**
|
|
7085
7138
|
*
|
|
7086
|
-
* @summary Delete
|
|
7139
|
+
* @summary Delete specific parameter from the solution
|
|
7087
7140
|
* @param {string} organizationId the Organization identifier
|
|
7088
7141
|
* @param {string} solutionId the Solution identifier
|
|
7089
|
-
* @param {string}
|
|
7142
|
+
* @param {string} parameterId The solution parameter identifier
|
|
7090
7143
|
* @param {*} [options] Override http request option.
|
|
7091
7144
|
* @throws {RequiredError}
|
|
7092
7145
|
*/
|
|
7093
|
-
|
|
7146
|
+
deleteSolutionParameter: function (organizationId_1, solutionId_1, parameterId_1) {
|
|
7094
7147
|
var args_1 = [];
|
|
7095
7148
|
for (var _i = 3; _i < arguments.length; _i++) {
|
|
7096
7149
|
args_1[_i - 3] = arguments[_i];
|
|
7097
7150
|
}
|
|
7098
|
-
return __awaiter(_this, __spreadArray([organizationId_1, solutionId_1,
|
|
7151
|
+
return __awaiter(_this, __spreadArray([organizationId_1, solutionId_1, parameterId_1], args_1, true), void 0, function (organizationId, solutionId, parameterId, options) {
|
|
7099
7152
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
7100
7153
|
if (options === void 0) { options = {}; }
|
|
7101
7154
|
return __generator(this, function (_a) {
|
|
7102
7155
|
switch (_a.label) {
|
|
7103
7156
|
case 0:
|
|
7104
7157
|
// verify required parameter 'organizationId' is not null or undefined
|
|
7105
|
-
(0, common_1.assertParamExists)('
|
|
7158
|
+
(0, common_1.assertParamExists)('deleteSolutionParameter', 'organizationId', organizationId);
|
|
7106
7159
|
// verify required parameter 'solutionId' is not null or undefined
|
|
7107
|
-
(0, common_1.assertParamExists)('
|
|
7108
|
-
// verify required parameter '
|
|
7109
|
-
(0, common_1.assertParamExists)('
|
|
7110
|
-
localVarPath = "/organizations/{organization_id}/solutions/{solution_id}/
|
|
7160
|
+
(0, common_1.assertParamExists)('deleteSolutionParameter', 'solutionId', solutionId);
|
|
7161
|
+
// verify required parameter 'parameterId' is not null or undefined
|
|
7162
|
+
(0, common_1.assertParamExists)('deleteSolutionParameter', 'parameterId', parameterId);
|
|
7163
|
+
localVarPath = "/organizations/{organization_id}/solutions/{solution_id}/parameters/{parameter_id}"
|
|
7111
7164
|
.replace("{".concat("organization_id", "}"), encodeURIComponent(String(organizationId)))
|
|
7112
|
-
.replace("{".concat("solution_id", "}"), encodeURIComponent(String(solutionId)))
|
|
7165
|
+
.replace("{".concat("solution_id", "}"), encodeURIComponent(String(solutionId)))
|
|
7166
|
+
.replace("{".concat("parameter_id", "}"), encodeURIComponent(String(parameterId)));
|
|
7113
7167
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7114
7168
|
if (configuration) {
|
|
7115
7169
|
baseOptions = configuration.baseOptions;
|
|
@@ -7124,9 +7178,6 @@ var SolutionApiAxiosParamCreator = function (configuration) {
|
|
|
7124
7178
|
// authentication oAuth2AuthCode required
|
|
7125
7179
|
// oauth required
|
|
7126
7180
|
_a.sent();
|
|
7127
|
-
if (fileName !== undefined) {
|
|
7128
|
-
localVarQueryParameter['file_name'] = fileName;
|
|
7129
|
-
}
|
|
7130
7181
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
7131
7182
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7132
7183
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -7140,30 +7191,34 @@ var SolutionApiAxiosParamCreator = function (configuration) {
|
|
|
7140
7191
|
},
|
|
7141
7192
|
/**
|
|
7142
7193
|
*
|
|
7143
|
-
* @summary Delete
|
|
7194
|
+
* @summary Delete a parameter group from the solution
|
|
7144
7195
|
* @param {string} organizationId the Organization identifier
|
|
7145
7196
|
* @param {string} solutionId the Solution identifier
|
|
7197
|
+
* @param {string} parameterGroupId The parameter group identifier
|
|
7146
7198
|
* @param {*} [options] Override http request option.
|
|
7147
7199
|
* @throws {RequiredError}
|
|
7148
7200
|
*/
|
|
7149
|
-
|
|
7201
|
+
deleteSolutionParameterGroup: function (organizationId_1, solutionId_1, parameterGroupId_1) {
|
|
7150
7202
|
var args_1 = [];
|
|
7151
|
-
for (var _i =
|
|
7152
|
-
args_1[_i -
|
|
7203
|
+
for (var _i = 3; _i < arguments.length; _i++) {
|
|
7204
|
+
args_1[_i - 3] = arguments[_i];
|
|
7153
7205
|
}
|
|
7154
|
-
return __awaiter(_this, __spreadArray([organizationId_1, solutionId_1], args_1, true), void 0, function (organizationId, solutionId, options) {
|
|
7206
|
+
return __awaiter(_this, __spreadArray([organizationId_1, solutionId_1, parameterGroupId_1], args_1, true), void 0, function (organizationId, solutionId, parameterGroupId, options) {
|
|
7155
7207
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
7156
7208
|
if (options === void 0) { options = {}; }
|
|
7157
7209
|
return __generator(this, function (_a) {
|
|
7158
7210
|
switch (_a.label) {
|
|
7159
7211
|
case 0:
|
|
7160
7212
|
// verify required parameter 'organizationId' is not null or undefined
|
|
7161
|
-
(0, common_1.assertParamExists)('
|
|
7213
|
+
(0, common_1.assertParamExists)('deleteSolutionParameterGroup', 'organizationId', organizationId);
|
|
7162
7214
|
// verify required parameter 'solutionId' is not null or undefined
|
|
7163
|
-
(0, common_1.assertParamExists)('
|
|
7164
|
-
|
|
7215
|
+
(0, common_1.assertParamExists)('deleteSolutionParameterGroup', 'solutionId', solutionId);
|
|
7216
|
+
// verify required parameter 'parameterGroupId' is not null or undefined
|
|
7217
|
+
(0, common_1.assertParamExists)('deleteSolutionParameterGroup', 'parameterGroupId', parameterGroupId);
|
|
7218
|
+
localVarPath = "/organizations/{organization_id}/solutions/{solution_id}/parameterGroups/{parameter_group_id}"
|
|
7165
7219
|
.replace("{".concat("organization_id", "}"), encodeURIComponent(String(organizationId)))
|
|
7166
|
-
.replace("{".concat("solution_id", "}"), encodeURIComponent(String(solutionId)))
|
|
7220
|
+
.replace("{".concat("solution_id", "}"), encodeURIComponent(String(solutionId)))
|
|
7221
|
+
.replace("{".concat("parameter_group_id", "}"), encodeURIComponent(String(parameterGroupId)));
|
|
7167
7222
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7168
7223
|
if (configuration) {
|
|
7169
7224
|
baseOptions = configuration.baseOptions;
|
|
@@ -7191,34 +7246,34 @@ var SolutionApiAxiosParamCreator = function (configuration) {
|
|
|
7191
7246
|
},
|
|
7192
7247
|
/**
|
|
7193
7248
|
*
|
|
7194
|
-
* @summary Delete specific
|
|
7249
|
+
* @summary Delete a specific run template
|
|
7195
7250
|
* @param {string} organizationId the Organization identifier
|
|
7196
7251
|
* @param {string} solutionId the Solution identifier
|
|
7197
|
-
* @param {string}
|
|
7252
|
+
* @param {string} runTemplateId The Run Template identifier
|
|
7198
7253
|
* @param {*} [options] Override http request option.
|
|
7199
7254
|
* @throws {RequiredError}
|
|
7200
7255
|
*/
|
|
7201
|
-
|
|
7256
|
+
deleteSolutionRunTemplate: function (organizationId_1, solutionId_1, runTemplateId_1) {
|
|
7202
7257
|
var args_1 = [];
|
|
7203
7258
|
for (var _i = 3; _i < arguments.length; _i++) {
|
|
7204
7259
|
args_1[_i - 3] = arguments[_i];
|
|
7205
7260
|
}
|
|
7206
|
-
return __awaiter(_this, __spreadArray([organizationId_1, solutionId_1,
|
|
7261
|
+
return __awaiter(_this, __spreadArray([organizationId_1, solutionId_1, runTemplateId_1], args_1, true), void 0, function (organizationId, solutionId, runTemplateId, options) {
|
|
7207
7262
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
7208
7263
|
if (options === void 0) { options = {}; }
|
|
7209
7264
|
return __generator(this, function (_a) {
|
|
7210
7265
|
switch (_a.label) {
|
|
7211
7266
|
case 0:
|
|
7212
7267
|
// verify required parameter 'organizationId' is not null or undefined
|
|
7213
|
-
(0, common_1.assertParamExists)('
|
|
7268
|
+
(0, common_1.assertParamExists)('deleteSolutionRunTemplate', 'organizationId', organizationId);
|
|
7214
7269
|
// verify required parameter 'solutionId' is not null or undefined
|
|
7215
|
-
(0, common_1.assertParamExists)('
|
|
7216
|
-
// verify required parameter '
|
|
7217
|
-
(0, common_1.assertParamExists)('
|
|
7218
|
-
localVarPath = "/organizations/{organization_id}/solutions/{solution_id}/
|
|
7270
|
+
(0, common_1.assertParamExists)('deleteSolutionRunTemplate', 'solutionId', solutionId);
|
|
7271
|
+
// verify required parameter 'runTemplateId' is not null or undefined
|
|
7272
|
+
(0, common_1.assertParamExists)('deleteSolutionRunTemplate', 'runTemplateId', runTemplateId);
|
|
7273
|
+
localVarPath = "/organizations/{organization_id}/solutions/{solution_id}/runTemplates/{run_template_id}"
|
|
7219
7274
|
.replace("{".concat("organization_id", "}"), encodeURIComponent(String(organizationId)))
|
|
7220
7275
|
.replace("{".concat("solution_id", "}"), encodeURIComponent(String(solutionId)))
|
|
7221
|
-
.replace("{".concat("
|
|
7276
|
+
.replace("{".concat("run_template_id", "}"), encodeURIComponent(String(runTemplateId)));
|
|
7222
7277
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7223
7278
|
if (configuration) {
|
|
7224
7279
|
baseOptions = configuration.baseOptions;
|
|
@@ -7246,39 +7301,39 @@ var SolutionApiAxiosParamCreator = function (configuration) {
|
|
|
7246
7301
|
},
|
|
7247
7302
|
/**
|
|
7248
7303
|
*
|
|
7249
|
-
* @summary
|
|
7304
|
+
* @summary Retrieve a solution run templates
|
|
7250
7305
|
* @param {string} organizationId the Organization identifier
|
|
7251
7306
|
* @param {string} solutionId the Solution identifier
|
|
7252
|
-
* @param {string}
|
|
7307
|
+
* @param {string} runTemplateId The Run Template identifier
|
|
7253
7308
|
* @param {*} [options] Override http request option.
|
|
7254
7309
|
* @throws {RequiredError}
|
|
7255
7310
|
*/
|
|
7256
|
-
|
|
7311
|
+
getRunTemplate: function (organizationId_1, solutionId_1, runTemplateId_1) {
|
|
7257
7312
|
var args_1 = [];
|
|
7258
7313
|
for (var _i = 3; _i < arguments.length; _i++) {
|
|
7259
7314
|
args_1[_i - 3] = arguments[_i];
|
|
7260
7315
|
}
|
|
7261
|
-
return __awaiter(_this, __spreadArray([organizationId_1, solutionId_1,
|
|
7316
|
+
return __awaiter(_this, __spreadArray([organizationId_1, solutionId_1, runTemplateId_1], args_1, true), void 0, function (organizationId, solutionId, runTemplateId, options) {
|
|
7262
7317
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
7263
7318
|
if (options === void 0) { options = {}; }
|
|
7264
7319
|
return __generator(this, function (_a) {
|
|
7265
7320
|
switch (_a.label) {
|
|
7266
7321
|
case 0:
|
|
7267
7322
|
// verify required parameter 'organizationId' is not null or undefined
|
|
7268
|
-
(0, common_1.assertParamExists)('
|
|
7323
|
+
(0, common_1.assertParamExists)('getRunTemplate', 'organizationId', organizationId);
|
|
7269
7324
|
// verify required parameter 'solutionId' is not null or undefined
|
|
7270
|
-
(0, common_1.assertParamExists)('
|
|
7271
|
-
// verify required parameter '
|
|
7272
|
-
(0, common_1.assertParamExists)('
|
|
7273
|
-
localVarPath = "/organizations/{organization_id}/solutions/{solution_id}/
|
|
7325
|
+
(0, common_1.assertParamExists)('getRunTemplate', 'solutionId', solutionId);
|
|
7326
|
+
// verify required parameter 'runTemplateId' is not null or undefined
|
|
7327
|
+
(0, common_1.assertParamExists)('getRunTemplate', 'runTemplateId', runTemplateId);
|
|
7328
|
+
localVarPath = "/organizations/{organization_id}/solutions/{solution_id}/runTemplates/{run_template_id}"
|
|
7274
7329
|
.replace("{".concat("organization_id", "}"), encodeURIComponent(String(organizationId)))
|
|
7275
7330
|
.replace("{".concat("solution_id", "}"), encodeURIComponent(String(solutionId)))
|
|
7276
|
-
.replace("{".concat("
|
|
7331
|
+
.replace("{".concat("run_template_id", "}"), encodeURIComponent(String(runTemplateId)));
|
|
7277
7332
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7278
7333
|
if (configuration) {
|
|
7279
7334
|
baseOptions = configuration.baseOptions;
|
|
7280
7335
|
}
|
|
7281
|
-
localVarRequestOptions = __assign(__assign({ method: '
|
|
7336
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
7282
7337
|
localVarHeaderParameter = {};
|
|
7283
7338
|
localVarQueryParameter = {};
|
|
7284
7339
|
// authentication oAuth2AuthCode required
|
|
@@ -7301,123 +7356,13 @@ var SolutionApiAxiosParamCreator = function (configuration) {
|
|
|
7301
7356
|
},
|
|
7302
7357
|
/**
|
|
7303
7358
|
*
|
|
7304
|
-
* @summary
|
|
7359
|
+
* @summary Get the details of a solution
|
|
7305
7360
|
* @param {string} organizationId the Organization identifier
|
|
7306
7361
|
* @param {string} solutionId the Solution identifier
|
|
7307
|
-
* @param {string} runTemplateId The Run Template identifier
|
|
7308
7362
|
* @param {*} [options] Override http request option.
|
|
7309
7363
|
* @throws {RequiredError}
|
|
7310
7364
|
*/
|
|
7311
|
-
|
|
7312
|
-
var args_1 = [];
|
|
7313
|
-
for (var _i = 3; _i < arguments.length; _i++) {
|
|
7314
|
-
args_1[_i - 3] = arguments[_i];
|
|
7315
|
-
}
|
|
7316
|
-
return __awaiter(_this, __spreadArray([organizationId_1, solutionId_1, runTemplateId_1], args_1, true), void 0, function (organizationId, solutionId, runTemplateId, options) {
|
|
7317
|
-
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
7318
|
-
if (options === void 0) { options = {}; }
|
|
7319
|
-
return __generator(this, function (_a) {
|
|
7320
|
-
switch (_a.label) {
|
|
7321
|
-
case 0:
|
|
7322
|
-
// verify required parameter 'organizationId' is not null or undefined
|
|
7323
|
-
(0, common_1.assertParamExists)('deleteSolutionRunTemplate', 'organizationId', organizationId);
|
|
7324
|
-
// verify required parameter 'solutionId' is not null or undefined
|
|
7325
|
-
(0, common_1.assertParamExists)('deleteSolutionRunTemplate', 'solutionId', solutionId);
|
|
7326
|
-
// verify required parameter 'runTemplateId' is not null or undefined
|
|
7327
|
-
(0, common_1.assertParamExists)('deleteSolutionRunTemplate', 'runTemplateId', runTemplateId);
|
|
7328
|
-
localVarPath = "/organizations/{organization_id}/solutions/{solution_id}/runTemplates/{run_template_id}"
|
|
7329
|
-
.replace("{".concat("organization_id", "}"), encodeURIComponent(String(organizationId)))
|
|
7330
|
-
.replace("{".concat("solution_id", "}"), encodeURIComponent(String(solutionId)))
|
|
7331
|
-
.replace("{".concat("run_template_id", "}"), encodeURIComponent(String(runTemplateId)));
|
|
7332
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7333
|
-
if (configuration) {
|
|
7334
|
-
baseOptions = configuration.baseOptions;
|
|
7335
|
-
}
|
|
7336
|
-
localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
|
|
7337
|
-
localVarHeaderParameter = {};
|
|
7338
|
-
localVarQueryParameter = {};
|
|
7339
|
-
// authentication oAuth2AuthCode required
|
|
7340
|
-
// oauth required
|
|
7341
|
-
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oAuth2AuthCode", [], configuration)];
|
|
7342
|
-
case 1:
|
|
7343
|
-
// authentication oAuth2AuthCode required
|
|
7344
|
-
// oauth required
|
|
7345
|
-
_a.sent();
|
|
7346
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
7347
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7348
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
7349
|
-
return [2 /*return*/, {
|
|
7350
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
7351
|
-
options: localVarRequestOptions,
|
|
7352
|
-
}];
|
|
7353
|
-
}
|
|
7354
|
-
});
|
|
7355
|
-
});
|
|
7356
|
-
},
|
|
7357
|
-
/**
|
|
7358
|
-
*
|
|
7359
|
-
* @summary Retrieve a solution run templates
|
|
7360
|
-
* @param {string} organizationId the Organization identifier
|
|
7361
|
-
* @param {string} solutionId the Solution identifier
|
|
7362
|
-
* @param {string} runTemplateId The Run Template identifier
|
|
7363
|
-
* @param {*} [options] Override http request option.
|
|
7364
|
-
* @throws {RequiredError}
|
|
7365
|
-
*/
|
|
7366
|
-
getRunTemplate: function (organizationId_1, solutionId_1, runTemplateId_1) {
|
|
7367
|
-
var args_1 = [];
|
|
7368
|
-
for (var _i = 3; _i < arguments.length; _i++) {
|
|
7369
|
-
args_1[_i - 3] = arguments[_i];
|
|
7370
|
-
}
|
|
7371
|
-
return __awaiter(_this, __spreadArray([organizationId_1, solutionId_1, runTemplateId_1], args_1, true), void 0, function (organizationId, solutionId, runTemplateId, options) {
|
|
7372
|
-
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
7373
|
-
if (options === void 0) { options = {}; }
|
|
7374
|
-
return __generator(this, function (_a) {
|
|
7375
|
-
switch (_a.label) {
|
|
7376
|
-
case 0:
|
|
7377
|
-
// verify required parameter 'organizationId' is not null or undefined
|
|
7378
|
-
(0, common_1.assertParamExists)('getRunTemplate', 'organizationId', organizationId);
|
|
7379
|
-
// verify required parameter 'solutionId' is not null or undefined
|
|
7380
|
-
(0, common_1.assertParamExists)('getRunTemplate', 'solutionId', solutionId);
|
|
7381
|
-
// verify required parameter 'runTemplateId' is not null or undefined
|
|
7382
|
-
(0, common_1.assertParamExists)('getRunTemplate', 'runTemplateId', runTemplateId);
|
|
7383
|
-
localVarPath = "/organizations/{organization_id}/solutions/{solution_id}/runTemplates/{run_template_id}"
|
|
7384
|
-
.replace("{".concat("organization_id", "}"), encodeURIComponent(String(organizationId)))
|
|
7385
|
-
.replace("{".concat("solution_id", "}"), encodeURIComponent(String(solutionId)))
|
|
7386
|
-
.replace("{".concat("run_template_id", "}"), encodeURIComponent(String(runTemplateId)));
|
|
7387
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7388
|
-
if (configuration) {
|
|
7389
|
-
baseOptions = configuration.baseOptions;
|
|
7390
|
-
}
|
|
7391
|
-
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
7392
|
-
localVarHeaderParameter = {};
|
|
7393
|
-
localVarQueryParameter = {};
|
|
7394
|
-
// authentication oAuth2AuthCode required
|
|
7395
|
-
// oauth required
|
|
7396
|
-
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oAuth2AuthCode", [], configuration)];
|
|
7397
|
-
case 1:
|
|
7398
|
-
// authentication oAuth2AuthCode required
|
|
7399
|
-
// oauth required
|
|
7400
|
-
_a.sent();
|
|
7401
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
7402
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7403
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
7404
|
-
return [2 /*return*/, {
|
|
7405
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
7406
|
-
options: localVarRequestOptions,
|
|
7407
|
-
}];
|
|
7408
|
-
}
|
|
7409
|
-
});
|
|
7410
|
-
});
|
|
7411
|
-
},
|
|
7412
|
-
/**
|
|
7413
|
-
*
|
|
7414
|
-
* @summary Get the details of a solution
|
|
7415
|
-
* @param {string} organizationId the Organization identifier
|
|
7416
|
-
* @param {string} solutionId the Solution identifier
|
|
7417
|
-
* @param {*} [options] Override http request option.
|
|
7418
|
-
* @throws {RequiredError}
|
|
7419
|
-
*/
|
|
7420
|
-
getSolution: function (organizationId_1, solutionId_1) {
|
|
7365
|
+
getSolution: function (organizationId_1, solutionId_1) {
|
|
7421
7366
|
var args_1 = [];
|
|
7422
7367
|
for (var _i = 2; _i < arguments.length; _i++) {
|
|
7423
7368
|
args_1[_i - 2] = arguments[_i];
|
|
@@ -7515,63 +7460,6 @@ var SolutionApiAxiosParamCreator = function (configuration) {
|
|
|
7515
7460
|
});
|
|
7516
7461
|
});
|
|
7517
7462
|
},
|
|
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
7463
|
/**
|
|
7576
7464
|
*
|
|
7577
7465
|
* @summary Get the details of a solution parameter
|
|
@@ -7784,57 +7672,6 @@ var SolutionApiAxiosParamCreator = function (configuration) {
|
|
|
7784
7672
|
});
|
|
7785
7673
|
});
|
|
7786
7674
|
},
|
|
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
7675
|
/**
|
|
7839
7676
|
*
|
|
7840
7677
|
* @summary List all solution parameter groups
|
|
@@ -8454,33 +8291,6 @@ var SolutionApiFp = function (configuration) {
|
|
|
8454
8291
|
});
|
|
8455
8292
|
});
|
|
8456
8293
|
},
|
|
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
8294
|
/**
|
|
8485
8295
|
*
|
|
8486
8296
|
* @summary Create solution parameter for a solution
|
|
@@ -8605,55 +8415,6 @@ var SolutionApiFp = function (configuration) {
|
|
|
8605
8415
|
});
|
|
8606
8416
|
});
|
|
8607
8417
|
},
|
|
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
8418
|
/**
|
|
8658
8419
|
*
|
|
8659
8420
|
* @summary Delete specific parameter from the solution
|
|
@@ -8803,31 +8564,6 @@ var SolutionApiFp = function (configuration) {
|
|
|
8803
8564
|
});
|
|
8804
8565
|
});
|
|
8805
8566
|
},
|
|
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
8567
|
/**
|
|
8832
8568
|
*
|
|
8833
8569
|
* @summary Get the details of a solution parameter
|
|
@@ -8926,30 +8662,6 @@ var SolutionApiFp = function (configuration) {
|
|
|
8926
8662
|
});
|
|
8927
8663
|
});
|
|
8928
8664
|
},
|
|
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
8665
|
/**
|
|
8954
8666
|
*
|
|
8955
8667
|
* @summary List all solution parameter groups
|
|
@@ -9234,20 +8946,6 @@ var SolutionApiFactory = function (configuration, basePath, axios) {
|
|
|
9234
8946
|
createSolutionAccessControl: function (organizationId, solutionId, solutionAccessControl, options) {
|
|
9235
8947
|
return localVarFp.createSolutionAccessControl(organizationId, solutionId, solutionAccessControl, options).then(function (request) { return request(axios, basePath); });
|
|
9236
8948
|
},
|
|
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
8949
|
/**
|
|
9252
8950
|
*
|
|
9253
8951
|
* @summary Create solution parameter for a solution
|
|
@@ -9307,29 +9005,6 @@ var SolutionApiFactory = function (configuration, basePath, axios) {
|
|
|
9307
9005
|
deleteSolutionAccessControl: function (organizationId, solutionId, identityId, options) {
|
|
9308
9006
|
return localVarFp.deleteSolutionAccessControl(organizationId, solutionId, identityId, options).then(function (request) { return request(axios, basePath); });
|
|
9309
9007
|
},
|
|
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
9008
|
/**
|
|
9334
9009
|
*
|
|
9335
9010
|
* @summary Delete specific parameter from the solution
|
|
@@ -9401,18 +9076,6 @@ var SolutionApiFactory = function (configuration, basePath, axios) {
|
|
|
9401
9076
|
getSolutionAccessControl: function (organizationId, solutionId, identityId, options) {
|
|
9402
9077
|
return localVarFp.getSolutionAccessControl(organizationId, solutionId, identityId, options).then(function (request) { return request(axios, basePath); });
|
|
9403
9078
|
},
|
|
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
9079
|
/**
|
|
9417
9080
|
*
|
|
9418
9081
|
* @summary Get the details of a solution parameter
|
|
@@ -9459,17 +9122,6 @@ var SolutionApiFactory = function (configuration, basePath, axios) {
|
|
|
9459
9122
|
listRunTemplates: function (organizationId, solutionId, options) {
|
|
9460
9123
|
return localVarFp.listRunTemplates(organizationId, solutionId, options).then(function (request) { return request(axios, basePath); });
|
|
9461
9124
|
},
|
|
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
9125
|
/**
|
|
9474
9126
|
*
|
|
9475
9127
|
* @summary List all solution parameter groups
|
|
@@ -9632,22 +9284,6 @@ var SolutionApi = /** @class */ (function (_super) {
|
|
|
9632
9284
|
var _this = this;
|
|
9633
9285
|
return (0, exports.SolutionApiFp)(this.configuration).createSolutionAccessControl(organizationId, solutionId, solutionAccessControl, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
9634
9286
|
};
|
|
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
9287
|
/**
|
|
9652
9288
|
*
|
|
9653
9289
|
* @summary Create solution parameter for a solution
|
|
@@ -9717,33 +9353,6 @@ var SolutionApi = /** @class */ (function (_super) {
|
|
|
9717
9353
|
var _this = this;
|
|
9718
9354
|
return (0, exports.SolutionApiFp)(this.configuration).deleteSolutionAccessControl(organizationId, solutionId, identityId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
9719
9355
|
};
|
|
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
9356
|
/**
|
|
9748
9357
|
*
|
|
9749
9358
|
* @summary Delete specific parameter from the solution
|
|
@@ -9827,20 +9436,6 @@ var SolutionApi = /** @class */ (function (_super) {
|
|
|
9827
9436
|
var _this = this;
|
|
9828
9437
|
return (0, exports.SolutionApiFp)(this.configuration).getSolutionAccessControl(organizationId, solutionId, identityId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
9829
9438
|
};
|
|
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
9439
|
/**
|
|
9845
9440
|
*
|
|
9846
9441
|
* @summary Get the details of a solution parameter
|
|
@@ -9895,19 +9490,6 @@ var SolutionApi = /** @class */ (function (_super) {
|
|
|
9895
9490
|
var _this = this;
|
|
9896
9491
|
return (0, exports.SolutionApiFp)(this.configuration).listRunTemplates(organizationId, solutionId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
9897
9492
|
};
|
|
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
9493
|
/**
|
|
9912
9494
|
*
|
|
9913
9495
|
* @summary List all solution parameter groups
|