@cosmotech/api-ts 5.1.0-rc2 → 5.2.0
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 +2 -2
- package/.openapi-generator/FILES +19 -0
- package/.openapi-generator/VERSION +1 -1
- package/README.md +27 -2
- package/api.ts +839 -16
- package/base.ts +1 -1
- package/common.ts +3 -3
- package/configuration.ts +2 -1
- package/dist/api.d.ts +620 -102
- package/dist/api.js +715 -5
- 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 +2 -2
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/docs/DatasetApi.md +59 -0
- package/docs/DatasetMemberGroup.md +25 -0
- package/docs/DatasetMemberUser.md +23 -0
- package/docs/DatasetMembers.md +23 -0
- package/docs/IAMInfoApi.md +95 -0
- package/docs/MemberGroup.md +25 -0
- package/docs/MemberUser.md +23 -0
- package/docs/Members.md +23 -0
- package/docs/OrganizationApi.md +52 -0
- package/docs/OrganizationMemberGroup.md +25 -0
- package/docs/OrganizationMemberUser.md +23 -0
- package/docs/OrganizationMembers.md +23 -0
- package/docs/RunnerApi.md +59 -0
- package/docs/RunnerMemberGroup.md +25 -0
- package/docs/RunnerMemberUser.md +23 -0
- package/docs/RunnerMembers.md +23 -0
- package/docs/SolutionApi.md +56 -0
- package/docs/SolutionMemberGroup.md +25 -0
- package/docs/SolutionMemberUser.md +23 -0
- package/docs/SolutionMembers.md +23 -0
- package/docs/WorkspaceApi.md +56 -0
- package/docs/WorkspaceMemberGroup.md +25 -0
- package/docs/WorkspaceMemberUser.md +23 -0
- package/docs/WorkspaceMembers.md +23 -0
- package/git_push.sh +14 -17
- 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.
|
|
8
|
+
* The version of the OpenAPI document: 5.2.0
|
|
9
9
|
* Contact: platform@cosmotech.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -84,7 +84,7 @@ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
|
84
84
|
return to.concat(ar || Array.prototype.slice.call(from));
|
|
85
85
|
};
|
|
86
86
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
87
|
-
exports.WorkspaceApi = exports.WorkspaceApiFactory = exports.WorkspaceApiFp = exports.WorkspaceApiAxiosParamCreator = exports.SolutionApi = exports.SolutionApiFactory = exports.SolutionApiFp = exports.SolutionApiAxiosParamCreator = exports.RunnerApi = exports.RunnerApiFactory = exports.RunnerApiFp = exports.RunnerApiAxiosParamCreator = exports.RunApi = exports.RunApiFactory = exports.RunApiFp = exports.RunApiAxiosParamCreator = exports.OrganizationApi = exports.OrganizationApiFactory = exports.OrganizationApiFp = exports.OrganizationApiAxiosParamCreator = exports.MetaApi = exports.MetaApiFactory = exports.MetaApiFp = exports.MetaApiAxiosParamCreator = exports.DatasetApi = exports.DatasetApiFactory = exports.DatasetApiFp = exports.DatasetApiAxiosParamCreator = exports.RunnerValidationStatus = exports.RunnerStatus = exports.RunState = exports.LastRunInfoLastRunStatusEnum = exports.DatasetPartTypeEnum = void 0;
|
|
87
|
+
exports.WorkspaceApi = exports.WorkspaceApiFactory = exports.WorkspaceApiFp = exports.WorkspaceApiAxiosParamCreator = exports.SolutionApi = exports.SolutionApiFactory = exports.SolutionApiFp = exports.SolutionApiAxiosParamCreator = exports.RunnerApi = exports.RunnerApiFactory = exports.RunnerApiFp = exports.RunnerApiAxiosParamCreator = exports.RunApi = exports.RunApiFactory = exports.RunApiFp = exports.RunApiAxiosParamCreator = exports.OrganizationApi = exports.OrganizationApiFactory = exports.OrganizationApiFp = exports.OrganizationApiAxiosParamCreator = exports.MetaApi = exports.MetaApiFactory = exports.MetaApiFp = exports.MetaApiAxiosParamCreator = exports.IAMInfoApi = exports.IAMInfoApiFactory = exports.IAMInfoApiFp = exports.IAMInfoApiAxiosParamCreator = exports.DatasetApi = exports.DatasetApiFactory = exports.DatasetApiFp = exports.DatasetApiAxiosParamCreator = exports.RunnerValidationStatus = exports.RunnerStatus = exports.RunState = exports.LastRunInfoLastRunStatusEnum = exports.DatasetPartTypeEnum = void 0;
|
|
88
88
|
var axios_1 = require("axios");
|
|
89
89
|
// Some imports not used depending on template conditions
|
|
90
90
|
// @ts-ignore
|
|
@@ -685,6 +685,62 @@ var DatasetApiAxiosParamCreator = function (configuration) {
|
|
|
685
685
|
});
|
|
686
686
|
});
|
|
687
687
|
},
|
|
688
|
+
/**
|
|
689
|
+
* Retrieve detailed information about members of a dataset.
|
|
690
|
+
* @summary Get the members of a Dataset
|
|
691
|
+
* @param {string} organizationId the Organization identifier
|
|
692
|
+
* @param {string} workspaceId the Workspace identifier
|
|
693
|
+
* @param {string} datasetId the Dataset identifier
|
|
694
|
+
* @param {*} [options] Override http request option.
|
|
695
|
+
* @throws {RequiredError}
|
|
696
|
+
*/
|
|
697
|
+
getDatasetMembers: function (organizationId_1, workspaceId_1, datasetId_1) {
|
|
698
|
+
var args_1 = [];
|
|
699
|
+
for (var _i = 3; _i < arguments.length; _i++) {
|
|
700
|
+
args_1[_i - 3] = arguments[_i];
|
|
701
|
+
}
|
|
702
|
+
return __awaiter(_this, __spreadArray([organizationId_1, workspaceId_1, datasetId_1], args_1, true), void 0, function (organizationId, workspaceId, datasetId, options) {
|
|
703
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
704
|
+
if (options === void 0) { options = {}; }
|
|
705
|
+
return __generator(this, function (_a) {
|
|
706
|
+
switch (_a.label) {
|
|
707
|
+
case 0:
|
|
708
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
709
|
+
(0, common_1.assertParamExists)('getDatasetMembers', 'organizationId', organizationId);
|
|
710
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
711
|
+
(0, common_1.assertParamExists)('getDatasetMembers', 'workspaceId', workspaceId);
|
|
712
|
+
// verify required parameter 'datasetId' is not null or undefined
|
|
713
|
+
(0, common_1.assertParamExists)('getDatasetMembers', 'datasetId', datasetId);
|
|
714
|
+
localVarPath = "/organizations/{organization_id}/workspaces/{workspace_id}/datasets/{dataset_id}/members"
|
|
715
|
+
.replace('{organization_id}', encodeURIComponent(String(organizationId)))
|
|
716
|
+
.replace('{workspace_id}', encodeURIComponent(String(workspaceId)))
|
|
717
|
+
.replace('{dataset_id}', encodeURIComponent(String(datasetId)));
|
|
718
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
719
|
+
if (configuration) {
|
|
720
|
+
baseOptions = configuration.baseOptions;
|
|
721
|
+
}
|
|
722
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
723
|
+
localVarHeaderParameter = {};
|
|
724
|
+
localVarQueryParameter = {};
|
|
725
|
+
// authentication oAuth2AuthCode required
|
|
726
|
+
// oauth required
|
|
727
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oAuth2AuthCode", [], configuration)];
|
|
728
|
+
case 1:
|
|
729
|
+
// authentication oAuth2AuthCode required
|
|
730
|
+
// oauth required
|
|
731
|
+
_a.sent();
|
|
732
|
+
localVarHeaderParameter['Accept'] = 'application/json,application/yaml';
|
|
733
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
734
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
735
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
736
|
+
return [2 /*return*/, {
|
|
737
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
738
|
+
options: localVarRequestOptions,
|
|
739
|
+
}];
|
|
740
|
+
}
|
|
741
|
+
});
|
|
742
|
+
});
|
|
743
|
+
},
|
|
688
744
|
/**
|
|
689
745
|
*
|
|
690
746
|
* @summary Retrieve a data part of a Dataset
|
|
@@ -1736,6 +1792,31 @@ var DatasetApiFp = function (configuration) {
|
|
|
1736
1792
|
});
|
|
1737
1793
|
});
|
|
1738
1794
|
},
|
|
1795
|
+
/**
|
|
1796
|
+
* Retrieve detailed information about members of a dataset.
|
|
1797
|
+
* @summary Get the members of a Dataset
|
|
1798
|
+
* @param {string} organizationId the Organization identifier
|
|
1799
|
+
* @param {string} workspaceId the Workspace identifier
|
|
1800
|
+
* @param {string} datasetId the Dataset identifier
|
|
1801
|
+
* @param {*} [options] Override http request option.
|
|
1802
|
+
* @throws {RequiredError}
|
|
1803
|
+
*/
|
|
1804
|
+
getDatasetMembers: function (organizationId, workspaceId, datasetId, options) {
|
|
1805
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1806
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
1807
|
+
var _a, _b, _c;
|
|
1808
|
+
return __generator(this, function (_d) {
|
|
1809
|
+
switch (_d.label) {
|
|
1810
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getDatasetMembers(organizationId, workspaceId, datasetId, options)];
|
|
1811
|
+
case 1:
|
|
1812
|
+
localVarAxiosArgs = _d.sent();
|
|
1813
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1814
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DatasetApi.getDatasetMembers']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1815
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
1816
|
+
}
|
|
1817
|
+
});
|
|
1818
|
+
});
|
|
1819
|
+
},
|
|
1739
1820
|
/**
|
|
1740
1821
|
*
|
|
1741
1822
|
* @summary Retrieve a data part of a Dataset
|
|
@@ -2191,6 +2272,18 @@ var DatasetApiFactory = function (configuration, basePath, axios) {
|
|
|
2191
2272
|
getDatasetAccessControl: function (organizationId, workspaceId, datasetId, identityId, options) {
|
|
2192
2273
|
return localVarFp.getDatasetAccessControl(organizationId, workspaceId, datasetId, identityId, options).then(function (request) { return request(axios, basePath); });
|
|
2193
2274
|
},
|
|
2275
|
+
/**
|
|
2276
|
+
* Retrieve detailed information about members of a dataset.
|
|
2277
|
+
* @summary Get the members of a Dataset
|
|
2278
|
+
* @param {string} organizationId the Organization identifier
|
|
2279
|
+
* @param {string} workspaceId the Workspace identifier
|
|
2280
|
+
* @param {string} datasetId the Dataset identifier
|
|
2281
|
+
* @param {*} [options] Override http request option.
|
|
2282
|
+
* @throws {RequiredError}
|
|
2283
|
+
*/
|
|
2284
|
+
getDatasetMembers: function (organizationId, workspaceId, datasetId, options) {
|
|
2285
|
+
return localVarFp.getDatasetMembers(organizationId, workspaceId, datasetId, options).then(function (request) { return request(axios, basePath); });
|
|
2286
|
+
},
|
|
2194
2287
|
/**
|
|
2195
2288
|
*
|
|
2196
2289
|
* @summary Retrieve a data part of a Dataset
|
|
@@ -2501,6 +2594,19 @@ var DatasetApi = /** @class */ (function (_super) {
|
|
|
2501
2594
|
var _this = this;
|
|
2502
2595
|
return (0, exports.DatasetApiFp)(this.configuration).getDatasetAccessControl(organizationId, workspaceId, datasetId, identityId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2503
2596
|
};
|
|
2597
|
+
/**
|
|
2598
|
+
* Retrieve detailed information about members of a dataset.
|
|
2599
|
+
* @summary Get the members of a Dataset
|
|
2600
|
+
* @param {string} organizationId the Organization identifier
|
|
2601
|
+
* @param {string} workspaceId the Workspace identifier
|
|
2602
|
+
* @param {string} datasetId the Dataset identifier
|
|
2603
|
+
* @param {*} [options] Override http request option.
|
|
2604
|
+
* @throws {RequiredError}
|
|
2605
|
+
*/
|
|
2606
|
+
DatasetApi.prototype.getDatasetMembers = function (organizationId, workspaceId, datasetId, options) {
|
|
2607
|
+
var _this = this;
|
|
2608
|
+
return (0, exports.DatasetApiFp)(this.configuration).getDatasetMembers(organizationId, workspaceId, datasetId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2609
|
+
};
|
|
2504
2610
|
/**
|
|
2505
2611
|
*
|
|
2506
2612
|
* @summary Retrieve a data part of a Dataset
|
|
@@ -2690,6 +2796,214 @@ var DatasetApi = /** @class */ (function (_super) {
|
|
|
2690
2796
|
return DatasetApi;
|
|
2691
2797
|
}(base_1.BaseAPI));
|
|
2692
2798
|
exports.DatasetApi = DatasetApi;
|
|
2799
|
+
/**
|
|
2800
|
+
* IAMInfoApi - axios parameter creator
|
|
2801
|
+
*/
|
|
2802
|
+
var IAMInfoApiAxiosParamCreator = function (configuration) {
|
|
2803
|
+
var _this = this;
|
|
2804
|
+
return {
|
|
2805
|
+
/**
|
|
2806
|
+
*
|
|
2807
|
+
* @summary Get the list of all groups
|
|
2808
|
+
* @param {*} [options] Override http request option.
|
|
2809
|
+
* @throws {RequiredError}
|
|
2810
|
+
*/
|
|
2811
|
+
listIAMGroups: function () {
|
|
2812
|
+
var args_1 = [];
|
|
2813
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
|
2814
|
+
args_1[_i] = arguments[_i];
|
|
2815
|
+
}
|
|
2816
|
+
return __awaiter(_this, __spreadArray([], args_1, true), void 0, function (options) {
|
|
2817
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
2818
|
+
if (options === void 0) { options = {}; }
|
|
2819
|
+
return __generator(this, function (_a) {
|
|
2820
|
+
switch (_a.label) {
|
|
2821
|
+
case 0:
|
|
2822
|
+
localVarPath = "/iaminfo/groups";
|
|
2823
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2824
|
+
if (configuration) {
|
|
2825
|
+
baseOptions = configuration.baseOptions;
|
|
2826
|
+
}
|
|
2827
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
2828
|
+
localVarHeaderParameter = {};
|
|
2829
|
+
localVarQueryParameter = {};
|
|
2830
|
+
// authentication oAuth2AuthCode required
|
|
2831
|
+
// oauth required
|
|
2832
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oAuth2AuthCode", [], configuration)];
|
|
2833
|
+
case 1:
|
|
2834
|
+
// authentication oAuth2AuthCode required
|
|
2835
|
+
// oauth required
|
|
2836
|
+
_a.sent();
|
|
2837
|
+
localVarHeaderParameter['Accept'] = 'application/json,application/yaml';
|
|
2838
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2839
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2840
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2841
|
+
return [2 /*return*/, {
|
|
2842
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2843
|
+
options: localVarRequestOptions,
|
|
2844
|
+
}];
|
|
2845
|
+
}
|
|
2846
|
+
});
|
|
2847
|
+
});
|
|
2848
|
+
},
|
|
2849
|
+
/**
|
|
2850
|
+
*
|
|
2851
|
+
* @summary Get ALL IAM members list
|
|
2852
|
+
* @param {*} [options] Override http request option.
|
|
2853
|
+
* @throws {RequiredError}
|
|
2854
|
+
*/
|
|
2855
|
+
listIAMMembers: function () {
|
|
2856
|
+
var args_1 = [];
|
|
2857
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
|
2858
|
+
args_1[_i] = arguments[_i];
|
|
2859
|
+
}
|
|
2860
|
+
return __awaiter(_this, __spreadArray([], args_1, true), void 0, function (options) {
|
|
2861
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
2862
|
+
if (options === void 0) { options = {}; }
|
|
2863
|
+
return __generator(this, function (_a) {
|
|
2864
|
+
switch (_a.label) {
|
|
2865
|
+
case 0:
|
|
2866
|
+
localVarPath = "/iaminfo/members";
|
|
2867
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2868
|
+
if (configuration) {
|
|
2869
|
+
baseOptions = configuration.baseOptions;
|
|
2870
|
+
}
|
|
2871
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
2872
|
+
localVarHeaderParameter = {};
|
|
2873
|
+
localVarQueryParameter = {};
|
|
2874
|
+
// authentication oAuth2AuthCode required
|
|
2875
|
+
// oauth required
|
|
2876
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oAuth2AuthCode", [], configuration)];
|
|
2877
|
+
case 1:
|
|
2878
|
+
// authentication oAuth2AuthCode required
|
|
2879
|
+
// oauth required
|
|
2880
|
+
_a.sent();
|
|
2881
|
+
localVarHeaderParameter['Accept'] = 'application/json,application/yaml';
|
|
2882
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2883
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2884
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2885
|
+
return [2 /*return*/, {
|
|
2886
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2887
|
+
options: localVarRequestOptions,
|
|
2888
|
+
}];
|
|
2889
|
+
}
|
|
2890
|
+
});
|
|
2891
|
+
});
|
|
2892
|
+
},
|
|
2893
|
+
};
|
|
2894
|
+
};
|
|
2895
|
+
exports.IAMInfoApiAxiosParamCreator = IAMInfoApiAxiosParamCreator;
|
|
2896
|
+
/**
|
|
2897
|
+
* IAMInfoApi - functional programming interface
|
|
2898
|
+
*/
|
|
2899
|
+
var IAMInfoApiFp = function (configuration) {
|
|
2900
|
+
var localVarAxiosParamCreator = (0, exports.IAMInfoApiAxiosParamCreator)(configuration);
|
|
2901
|
+
return {
|
|
2902
|
+
/**
|
|
2903
|
+
*
|
|
2904
|
+
* @summary Get the list of all groups
|
|
2905
|
+
* @param {*} [options] Override http request option.
|
|
2906
|
+
* @throws {RequiredError}
|
|
2907
|
+
*/
|
|
2908
|
+
listIAMGroups: function (options) {
|
|
2909
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
2910
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
2911
|
+
var _a, _b, _c;
|
|
2912
|
+
return __generator(this, function (_d) {
|
|
2913
|
+
switch (_d.label) {
|
|
2914
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listIAMGroups(options)];
|
|
2915
|
+
case 1:
|
|
2916
|
+
localVarAxiosArgs = _d.sent();
|
|
2917
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2918
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['IAMInfoApi.listIAMGroups']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2919
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
2920
|
+
}
|
|
2921
|
+
});
|
|
2922
|
+
});
|
|
2923
|
+
},
|
|
2924
|
+
/**
|
|
2925
|
+
*
|
|
2926
|
+
* @summary Get ALL IAM members list
|
|
2927
|
+
* @param {*} [options] Override http request option.
|
|
2928
|
+
* @throws {RequiredError}
|
|
2929
|
+
*/
|
|
2930
|
+
listIAMMembers: function (options) {
|
|
2931
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
2932
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
2933
|
+
var _a, _b, _c;
|
|
2934
|
+
return __generator(this, function (_d) {
|
|
2935
|
+
switch (_d.label) {
|
|
2936
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listIAMMembers(options)];
|
|
2937
|
+
case 1:
|
|
2938
|
+
localVarAxiosArgs = _d.sent();
|
|
2939
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2940
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['IAMInfoApi.listIAMMembers']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2941
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
2942
|
+
}
|
|
2943
|
+
});
|
|
2944
|
+
});
|
|
2945
|
+
},
|
|
2946
|
+
};
|
|
2947
|
+
};
|
|
2948
|
+
exports.IAMInfoApiFp = IAMInfoApiFp;
|
|
2949
|
+
/**
|
|
2950
|
+
* IAMInfoApi - factory interface
|
|
2951
|
+
*/
|
|
2952
|
+
var IAMInfoApiFactory = function (configuration, basePath, axios) {
|
|
2953
|
+
var localVarFp = (0, exports.IAMInfoApiFp)(configuration);
|
|
2954
|
+
return {
|
|
2955
|
+
/**
|
|
2956
|
+
*
|
|
2957
|
+
* @summary Get the list of all groups
|
|
2958
|
+
* @param {*} [options] Override http request option.
|
|
2959
|
+
* @throws {RequiredError}
|
|
2960
|
+
*/
|
|
2961
|
+
listIAMGroups: function (options) {
|
|
2962
|
+
return localVarFp.listIAMGroups(options).then(function (request) { return request(axios, basePath); });
|
|
2963
|
+
},
|
|
2964
|
+
/**
|
|
2965
|
+
*
|
|
2966
|
+
* @summary Get ALL IAM members list
|
|
2967
|
+
* @param {*} [options] Override http request option.
|
|
2968
|
+
* @throws {RequiredError}
|
|
2969
|
+
*/
|
|
2970
|
+
listIAMMembers: function (options) {
|
|
2971
|
+
return localVarFp.listIAMMembers(options).then(function (request) { return request(axios, basePath); });
|
|
2972
|
+
},
|
|
2973
|
+
};
|
|
2974
|
+
};
|
|
2975
|
+
exports.IAMInfoApiFactory = IAMInfoApiFactory;
|
|
2976
|
+
/**
|
|
2977
|
+
* IAMInfoApi - object-oriented interface
|
|
2978
|
+
*/
|
|
2979
|
+
var IAMInfoApi = /** @class */ (function (_super) {
|
|
2980
|
+
__extends(IAMInfoApi, _super);
|
|
2981
|
+
function IAMInfoApi() {
|
|
2982
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
2983
|
+
}
|
|
2984
|
+
/**
|
|
2985
|
+
*
|
|
2986
|
+
* @summary Get the list of all groups
|
|
2987
|
+
* @param {*} [options] Override http request option.
|
|
2988
|
+
* @throws {RequiredError}
|
|
2989
|
+
*/
|
|
2990
|
+
IAMInfoApi.prototype.listIAMGroups = function (options) {
|
|
2991
|
+
var _this = this;
|
|
2992
|
+
return (0, exports.IAMInfoApiFp)(this.configuration).listIAMGroups(options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2993
|
+
};
|
|
2994
|
+
/**
|
|
2995
|
+
*
|
|
2996
|
+
* @summary Get ALL IAM members list
|
|
2997
|
+
* @param {*} [options] Override http request option.
|
|
2998
|
+
* @throws {RequiredError}
|
|
2999
|
+
*/
|
|
3000
|
+
IAMInfoApi.prototype.listIAMMembers = function (options) {
|
|
3001
|
+
var _this = this;
|
|
3002
|
+
return (0, exports.IAMInfoApiFp)(this.configuration).listIAMMembers(options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3003
|
+
};
|
|
3004
|
+
return IAMInfoApi;
|
|
3005
|
+
}(base_1.BaseAPI));
|
|
3006
|
+
exports.IAMInfoApi = IAMInfoApi;
|
|
2693
3007
|
/**
|
|
2694
3008
|
* MetaApi - axios parameter creator
|
|
2695
3009
|
*/
|
|
@@ -3119,6 +3433,54 @@ var OrganizationApiAxiosParamCreator = function (configuration) {
|
|
|
3119
3433
|
});
|
|
3120
3434
|
});
|
|
3121
3435
|
},
|
|
3436
|
+
/**
|
|
3437
|
+
* Retrieve detailed information about members of an organization.
|
|
3438
|
+
* @summary Get the members of an Organization
|
|
3439
|
+
* @param {string} organizationId The Organization identifier
|
|
3440
|
+
* @param {*} [options] Override http request option.
|
|
3441
|
+
* @throws {RequiredError}
|
|
3442
|
+
*/
|
|
3443
|
+
getOrganizationMembers: function (organizationId_1) {
|
|
3444
|
+
var args_1 = [];
|
|
3445
|
+
for (var _i = 1; _i < arguments.length; _i++) {
|
|
3446
|
+
args_1[_i - 1] = arguments[_i];
|
|
3447
|
+
}
|
|
3448
|
+
return __awaiter(_this, __spreadArray([organizationId_1], args_1, true), void 0, function (organizationId, options) {
|
|
3449
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
3450
|
+
if (options === void 0) { options = {}; }
|
|
3451
|
+
return __generator(this, function (_a) {
|
|
3452
|
+
switch (_a.label) {
|
|
3453
|
+
case 0:
|
|
3454
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
3455
|
+
(0, common_1.assertParamExists)('getOrganizationMembers', 'organizationId', organizationId);
|
|
3456
|
+
localVarPath = "/organizations/{organization_id}/members"
|
|
3457
|
+
.replace('{organization_id}', encodeURIComponent(String(organizationId)));
|
|
3458
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
3459
|
+
if (configuration) {
|
|
3460
|
+
baseOptions = configuration.baseOptions;
|
|
3461
|
+
}
|
|
3462
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
3463
|
+
localVarHeaderParameter = {};
|
|
3464
|
+
localVarQueryParameter = {};
|
|
3465
|
+
// authentication oAuth2AuthCode required
|
|
3466
|
+
// oauth required
|
|
3467
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oAuth2AuthCode", [], configuration)];
|
|
3468
|
+
case 1:
|
|
3469
|
+
// authentication oAuth2AuthCode required
|
|
3470
|
+
// oauth required
|
|
3471
|
+
_a.sent();
|
|
3472
|
+
localVarHeaderParameter['Accept'] = 'application/json,application/yaml';
|
|
3473
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
3474
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3475
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3476
|
+
return [2 /*return*/, {
|
|
3477
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
3478
|
+
options: localVarRequestOptions,
|
|
3479
|
+
}];
|
|
3480
|
+
}
|
|
3481
|
+
});
|
|
3482
|
+
});
|
|
3483
|
+
},
|
|
3122
3484
|
/**
|
|
3123
3485
|
*
|
|
3124
3486
|
* @summary Get the Organization permissions by given role
|
|
@@ -3676,6 +4038,29 @@ var OrganizationApiFp = function (configuration) {
|
|
|
3676
4038
|
});
|
|
3677
4039
|
});
|
|
3678
4040
|
},
|
|
4041
|
+
/**
|
|
4042
|
+
* Retrieve detailed information about members of an organization.
|
|
4043
|
+
* @summary Get the members of an Organization
|
|
4044
|
+
* @param {string} organizationId The Organization identifier
|
|
4045
|
+
* @param {*} [options] Override http request option.
|
|
4046
|
+
* @throws {RequiredError}
|
|
4047
|
+
*/
|
|
4048
|
+
getOrganizationMembers: function (organizationId, options) {
|
|
4049
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
4050
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
4051
|
+
var _a, _b, _c;
|
|
4052
|
+
return __generator(this, function (_d) {
|
|
4053
|
+
switch (_d.label) {
|
|
4054
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getOrganizationMembers(organizationId, options)];
|
|
4055
|
+
case 1:
|
|
4056
|
+
localVarAxiosArgs = _d.sent();
|
|
4057
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
4058
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrganizationApi.getOrganizationMembers']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
4059
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
4060
|
+
}
|
|
4061
|
+
});
|
|
4062
|
+
});
|
|
4063
|
+
},
|
|
3679
4064
|
/**
|
|
3680
4065
|
*
|
|
3681
4066
|
* @summary Get the Organization permissions by given role
|
|
@@ -3930,12 +4315,22 @@ var OrganizationApiFactory = function (configuration, basePath, axios) {
|
|
|
3930
4315
|
*
|
|
3931
4316
|
* @summary Get a control access for the Organization
|
|
3932
4317
|
* @param {string} organizationId The Organization identifier
|
|
3933
|
-
* @param {string} identityId The User identifier
|
|
4318
|
+
* @param {string} identityId The User identifier
|
|
4319
|
+
* @param {*} [options] Override http request option.
|
|
4320
|
+
* @throws {RequiredError}
|
|
4321
|
+
*/
|
|
4322
|
+
getOrganizationAccessControl: function (organizationId, identityId, options) {
|
|
4323
|
+
return localVarFp.getOrganizationAccessControl(organizationId, identityId, options).then(function (request) { return request(axios, basePath); });
|
|
4324
|
+
},
|
|
4325
|
+
/**
|
|
4326
|
+
* Retrieve detailed information about members of an organization.
|
|
4327
|
+
* @summary Get the members of an Organization
|
|
4328
|
+
* @param {string} organizationId The Organization identifier
|
|
3934
4329
|
* @param {*} [options] Override http request option.
|
|
3935
4330
|
* @throws {RequiredError}
|
|
3936
4331
|
*/
|
|
3937
|
-
|
|
3938
|
-
return localVarFp.
|
|
4332
|
+
getOrganizationMembers: function (organizationId, options) {
|
|
4333
|
+
return localVarFp.getOrganizationMembers(organizationId, options).then(function (request) { return request(axios, basePath); });
|
|
3939
4334
|
},
|
|
3940
4335
|
/**
|
|
3941
4336
|
*
|
|
@@ -4102,6 +4497,17 @@ var OrganizationApi = /** @class */ (function (_super) {
|
|
|
4102
4497
|
var _this = this;
|
|
4103
4498
|
return (0, exports.OrganizationApiFp)(this.configuration).getOrganizationAccessControl(organizationId, identityId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
4104
4499
|
};
|
|
4500
|
+
/**
|
|
4501
|
+
* Retrieve detailed information about members of an organization.
|
|
4502
|
+
* @summary Get the members of an Organization
|
|
4503
|
+
* @param {string} organizationId The Organization identifier
|
|
4504
|
+
* @param {*} [options] Override http request option.
|
|
4505
|
+
* @throws {RequiredError}
|
|
4506
|
+
*/
|
|
4507
|
+
OrganizationApi.prototype.getOrganizationMembers = function (organizationId, options) {
|
|
4508
|
+
var _this = this;
|
|
4509
|
+
return (0, exports.OrganizationApiFp)(this.configuration).getOrganizationMembers(organizationId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
4510
|
+
};
|
|
4105
4511
|
/**
|
|
4106
4512
|
*
|
|
4107
4513
|
* @summary Get the Organization permissions by given role
|
|
@@ -5161,6 +5567,62 @@ var RunnerApiAxiosParamCreator = function (configuration) {
|
|
|
5161
5567
|
});
|
|
5162
5568
|
});
|
|
5163
5569
|
},
|
|
5570
|
+
/**
|
|
5571
|
+
* Retrieve detailed information about members of a runner.
|
|
5572
|
+
* @summary Get the members of a Runner
|
|
5573
|
+
* @param {string} organizationId the Organization identifier
|
|
5574
|
+
* @param {string} workspaceId the Workspace identifier
|
|
5575
|
+
* @param {string} runnerId the Runner identifier
|
|
5576
|
+
* @param {*} [options] Override http request option.
|
|
5577
|
+
* @throws {RequiredError}
|
|
5578
|
+
*/
|
|
5579
|
+
getRunnerMembers: function (organizationId_1, workspaceId_1, runnerId_1) {
|
|
5580
|
+
var args_1 = [];
|
|
5581
|
+
for (var _i = 3; _i < arguments.length; _i++) {
|
|
5582
|
+
args_1[_i - 3] = arguments[_i];
|
|
5583
|
+
}
|
|
5584
|
+
return __awaiter(_this, __spreadArray([organizationId_1, workspaceId_1, runnerId_1], args_1, true), void 0, function (organizationId, workspaceId, runnerId, options) {
|
|
5585
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
5586
|
+
if (options === void 0) { options = {}; }
|
|
5587
|
+
return __generator(this, function (_a) {
|
|
5588
|
+
switch (_a.label) {
|
|
5589
|
+
case 0:
|
|
5590
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
5591
|
+
(0, common_1.assertParamExists)('getRunnerMembers', 'organizationId', organizationId);
|
|
5592
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
5593
|
+
(0, common_1.assertParamExists)('getRunnerMembers', 'workspaceId', workspaceId);
|
|
5594
|
+
// verify required parameter 'runnerId' is not null or undefined
|
|
5595
|
+
(0, common_1.assertParamExists)('getRunnerMembers', 'runnerId', runnerId);
|
|
5596
|
+
localVarPath = "/organizations/{organization_id}/workspaces/{workspace_id}/runners/{runner_id}/members"
|
|
5597
|
+
.replace('{organization_id}', encodeURIComponent(String(organizationId)))
|
|
5598
|
+
.replace('{workspace_id}', encodeURIComponent(String(workspaceId)))
|
|
5599
|
+
.replace('{runner_id}', encodeURIComponent(String(runnerId)));
|
|
5600
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
5601
|
+
if (configuration) {
|
|
5602
|
+
baseOptions = configuration.baseOptions;
|
|
5603
|
+
}
|
|
5604
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
5605
|
+
localVarHeaderParameter = {};
|
|
5606
|
+
localVarQueryParameter = {};
|
|
5607
|
+
// authentication oAuth2AuthCode required
|
|
5608
|
+
// oauth required
|
|
5609
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oAuth2AuthCode", [], configuration)];
|
|
5610
|
+
case 1:
|
|
5611
|
+
// authentication oAuth2AuthCode required
|
|
5612
|
+
// oauth required
|
|
5613
|
+
_a.sent();
|
|
5614
|
+
localVarHeaderParameter['Accept'] = 'application/json,application/yaml';
|
|
5615
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
5616
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5617
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5618
|
+
return [2 /*return*/, {
|
|
5619
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
5620
|
+
options: localVarRequestOptions,
|
|
5621
|
+
}];
|
|
5622
|
+
}
|
|
5623
|
+
});
|
|
5624
|
+
});
|
|
5625
|
+
},
|
|
5164
5626
|
/**
|
|
5165
5627
|
*
|
|
5166
5628
|
* @summary Get the Runner security information
|
|
@@ -5853,6 +6315,31 @@ var RunnerApiFp = function (configuration) {
|
|
|
5853
6315
|
});
|
|
5854
6316
|
});
|
|
5855
6317
|
},
|
|
6318
|
+
/**
|
|
6319
|
+
* Retrieve detailed information about members of a runner.
|
|
6320
|
+
* @summary Get the members of a Runner
|
|
6321
|
+
* @param {string} organizationId the Organization identifier
|
|
6322
|
+
* @param {string} workspaceId the Workspace identifier
|
|
6323
|
+
* @param {string} runnerId the Runner identifier
|
|
6324
|
+
* @param {*} [options] Override http request option.
|
|
6325
|
+
* @throws {RequiredError}
|
|
6326
|
+
*/
|
|
6327
|
+
getRunnerMembers: function (organizationId, workspaceId, runnerId, options) {
|
|
6328
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
6329
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
6330
|
+
var _a, _b, _c;
|
|
6331
|
+
return __generator(this, function (_d) {
|
|
6332
|
+
switch (_d.label) {
|
|
6333
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getRunnerMembers(organizationId, workspaceId, runnerId, options)];
|
|
6334
|
+
case 1:
|
|
6335
|
+
localVarAxiosArgs = _d.sent();
|
|
6336
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
6337
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['RunnerApi.getRunnerMembers']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
6338
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
6339
|
+
}
|
|
6340
|
+
});
|
|
6341
|
+
});
|
|
6342
|
+
},
|
|
5856
6343
|
/**
|
|
5857
6344
|
*
|
|
5858
6345
|
* @summary Get the Runner security information
|
|
@@ -6168,6 +6655,18 @@ var RunnerApiFactory = function (configuration, basePath, axios) {
|
|
|
6168
6655
|
getRunnerAccessControl: function (organizationId, workspaceId, runnerId, identityId, options) {
|
|
6169
6656
|
return localVarFp.getRunnerAccessControl(organizationId, workspaceId, runnerId, identityId, options).then(function (request) { return request(axios, basePath); });
|
|
6170
6657
|
},
|
|
6658
|
+
/**
|
|
6659
|
+
* Retrieve detailed information about members of a runner.
|
|
6660
|
+
* @summary Get the members of a Runner
|
|
6661
|
+
* @param {string} organizationId the Organization identifier
|
|
6662
|
+
* @param {string} workspaceId the Workspace identifier
|
|
6663
|
+
* @param {string} runnerId the Runner identifier
|
|
6664
|
+
* @param {*} [options] Override http request option.
|
|
6665
|
+
* @throws {RequiredError}
|
|
6666
|
+
*/
|
|
6667
|
+
getRunnerMembers: function (organizationId, workspaceId, runnerId, options) {
|
|
6668
|
+
return localVarFp.getRunnerMembers(organizationId, workspaceId, runnerId, options).then(function (request) { return request(axios, basePath); });
|
|
6669
|
+
},
|
|
6171
6670
|
/**
|
|
6172
6671
|
*
|
|
6173
6672
|
* @summary Get the Runner security information
|
|
@@ -6374,6 +6873,19 @@ var RunnerApi = /** @class */ (function (_super) {
|
|
|
6374
6873
|
var _this = this;
|
|
6375
6874
|
return (0, exports.RunnerApiFp)(this.configuration).getRunnerAccessControl(organizationId, workspaceId, runnerId, identityId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
6376
6875
|
};
|
|
6876
|
+
/**
|
|
6877
|
+
* Retrieve detailed information about members of a runner.
|
|
6878
|
+
* @summary Get the members of a Runner
|
|
6879
|
+
* @param {string} organizationId the Organization identifier
|
|
6880
|
+
* @param {string} workspaceId the Workspace identifier
|
|
6881
|
+
* @param {string} runnerId the Runner identifier
|
|
6882
|
+
* @param {*} [options] Override http request option.
|
|
6883
|
+
* @throws {RequiredError}
|
|
6884
|
+
*/
|
|
6885
|
+
RunnerApi.prototype.getRunnerMembers = function (organizationId, workspaceId, runnerId, options) {
|
|
6886
|
+
var _this = this;
|
|
6887
|
+
return (0, exports.RunnerApiFp)(this.configuration).getRunnerMembers(organizationId, workspaceId, runnerId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
6888
|
+
};
|
|
6377
6889
|
/**
|
|
6378
6890
|
*
|
|
6379
6891
|
* @summary Get the Runner security information
|
|
@@ -7222,6 +7734,58 @@ var SolutionApiAxiosParamCreator = function (configuration) {
|
|
|
7222
7734
|
});
|
|
7223
7735
|
});
|
|
7224
7736
|
},
|
|
7737
|
+
/**
|
|
7738
|
+
* Retrieve detailed information about members of a solution.
|
|
7739
|
+
* @summary Get the members of a Solution
|
|
7740
|
+
* @param {string} organizationId the Organization identifier
|
|
7741
|
+
* @param {string} solutionId the Solution identifier
|
|
7742
|
+
* @param {*} [options] Override http request option.
|
|
7743
|
+
* @throws {RequiredError}
|
|
7744
|
+
*/
|
|
7745
|
+
getSolutionMembers: function (organizationId_1, solutionId_1) {
|
|
7746
|
+
var args_1 = [];
|
|
7747
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
7748
|
+
args_1[_i - 2] = arguments[_i];
|
|
7749
|
+
}
|
|
7750
|
+
return __awaiter(_this, __spreadArray([organizationId_1, solutionId_1], args_1, true), void 0, function (organizationId, solutionId, options) {
|
|
7751
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
7752
|
+
if (options === void 0) { options = {}; }
|
|
7753
|
+
return __generator(this, function (_a) {
|
|
7754
|
+
switch (_a.label) {
|
|
7755
|
+
case 0:
|
|
7756
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
7757
|
+
(0, common_1.assertParamExists)('getSolutionMembers', 'organizationId', organizationId);
|
|
7758
|
+
// verify required parameter 'solutionId' is not null or undefined
|
|
7759
|
+
(0, common_1.assertParamExists)('getSolutionMembers', 'solutionId', solutionId);
|
|
7760
|
+
localVarPath = "/organizations/{organization_id}/solutions/{solution_id}/members"
|
|
7761
|
+
.replace('{organization_id}', encodeURIComponent(String(organizationId)))
|
|
7762
|
+
.replace('{solution_id}', encodeURIComponent(String(solutionId)));
|
|
7763
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7764
|
+
if (configuration) {
|
|
7765
|
+
baseOptions = configuration.baseOptions;
|
|
7766
|
+
}
|
|
7767
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
7768
|
+
localVarHeaderParameter = {};
|
|
7769
|
+
localVarQueryParameter = {};
|
|
7770
|
+
// authentication oAuth2AuthCode required
|
|
7771
|
+
// oauth required
|
|
7772
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oAuth2AuthCode", [], configuration)];
|
|
7773
|
+
case 1:
|
|
7774
|
+
// authentication oAuth2AuthCode required
|
|
7775
|
+
// oauth required
|
|
7776
|
+
_a.sent();
|
|
7777
|
+
localVarHeaderParameter['Accept'] = 'application/json,application/yaml';
|
|
7778
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
7779
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7780
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
7781
|
+
return [2 /*return*/, {
|
|
7782
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
7783
|
+
options: localVarRequestOptions,
|
|
7784
|
+
}];
|
|
7785
|
+
}
|
|
7786
|
+
});
|
|
7787
|
+
});
|
|
7788
|
+
},
|
|
7225
7789
|
/**
|
|
7226
7790
|
*
|
|
7227
7791
|
* @summary Get the details of a solution parameter
|
|
@@ -8339,6 +8903,30 @@ var SolutionApiFp = function (configuration) {
|
|
|
8339
8903
|
});
|
|
8340
8904
|
});
|
|
8341
8905
|
},
|
|
8906
|
+
/**
|
|
8907
|
+
* Retrieve detailed information about members of a solution.
|
|
8908
|
+
* @summary Get the members of a Solution
|
|
8909
|
+
* @param {string} organizationId the Organization identifier
|
|
8910
|
+
* @param {string} solutionId the Solution identifier
|
|
8911
|
+
* @param {*} [options] Override http request option.
|
|
8912
|
+
* @throws {RequiredError}
|
|
8913
|
+
*/
|
|
8914
|
+
getSolutionMembers: function (organizationId, solutionId, options) {
|
|
8915
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
8916
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
8917
|
+
var _a, _b, _c;
|
|
8918
|
+
return __generator(this, function (_d) {
|
|
8919
|
+
switch (_d.label) {
|
|
8920
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getSolutionMembers(organizationId, solutionId, options)];
|
|
8921
|
+
case 1:
|
|
8922
|
+
localVarAxiosArgs = _d.sent();
|
|
8923
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
8924
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SolutionApi.getSolutionMembers']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
8925
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
8926
|
+
}
|
|
8927
|
+
});
|
|
8928
|
+
});
|
|
8929
|
+
},
|
|
8342
8930
|
/**
|
|
8343
8931
|
*
|
|
8344
8932
|
* @summary Get the details of a solution parameter
|
|
@@ -8850,6 +9438,17 @@ var SolutionApiFactory = function (configuration, basePath, axios) {
|
|
|
8850
9438
|
getSolutionAccessControl: function (organizationId, solutionId, identityId, options) {
|
|
8851
9439
|
return localVarFp.getSolutionAccessControl(organizationId, solutionId, identityId, options).then(function (request) { return request(axios, basePath); });
|
|
8852
9440
|
},
|
|
9441
|
+
/**
|
|
9442
|
+
* Retrieve detailed information about members of a solution.
|
|
9443
|
+
* @summary Get the members of a Solution
|
|
9444
|
+
* @param {string} organizationId the Organization identifier
|
|
9445
|
+
* @param {string} solutionId the Solution identifier
|
|
9446
|
+
* @param {*} [options] Override http request option.
|
|
9447
|
+
* @throws {RequiredError}
|
|
9448
|
+
*/
|
|
9449
|
+
getSolutionMembers: function (organizationId, solutionId, options) {
|
|
9450
|
+
return localVarFp.getSolutionMembers(organizationId, solutionId, options).then(function (request) { return request(axios, basePath); });
|
|
9451
|
+
},
|
|
8853
9452
|
/**
|
|
8854
9453
|
*
|
|
8855
9454
|
* @summary Get the details of a solution parameter
|
|
@@ -9194,6 +9793,18 @@ var SolutionApi = /** @class */ (function (_super) {
|
|
|
9194
9793
|
var _this = this;
|
|
9195
9794
|
return (0, exports.SolutionApiFp)(this.configuration).getSolutionAccessControl(organizationId, solutionId, identityId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
9196
9795
|
};
|
|
9796
|
+
/**
|
|
9797
|
+
* Retrieve detailed information about members of a solution.
|
|
9798
|
+
* @summary Get the members of a Solution
|
|
9799
|
+
* @param {string} organizationId the Organization identifier
|
|
9800
|
+
* @param {string} solutionId the Solution identifier
|
|
9801
|
+
* @param {*} [options] Override http request option.
|
|
9802
|
+
* @throws {RequiredError}
|
|
9803
|
+
*/
|
|
9804
|
+
SolutionApi.prototype.getSolutionMembers = function (organizationId, solutionId, options) {
|
|
9805
|
+
var _this = this;
|
|
9806
|
+
return (0, exports.SolutionApiFp)(this.configuration).getSolutionMembers(organizationId, solutionId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
9807
|
+
};
|
|
9197
9808
|
/**
|
|
9198
9809
|
*
|
|
9199
9810
|
* @summary Get the details of a solution parameter
|
|
@@ -9943,6 +10554,58 @@ var WorkspaceApiAxiosParamCreator = function (configuration) {
|
|
|
9943
10554
|
});
|
|
9944
10555
|
});
|
|
9945
10556
|
},
|
|
10557
|
+
/**
|
|
10558
|
+
* Retrieve detailed information about members of a workspace.
|
|
10559
|
+
* @summary Get the members of a Workspace
|
|
10560
|
+
* @param {string} organizationId The Organization identifier
|
|
10561
|
+
* @param {string} workspaceId The Workspace identifier
|
|
10562
|
+
* @param {*} [options] Override http request option.
|
|
10563
|
+
* @throws {RequiredError}
|
|
10564
|
+
*/
|
|
10565
|
+
getWorkspaceMembers: function (organizationId_1, workspaceId_1) {
|
|
10566
|
+
var args_1 = [];
|
|
10567
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
10568
|
+
args_1[_i - 2] = arguments[_i];
|
|
10569
|
+
}
|
|
10570
|
+
return __awaiter(_this, __spreadArray([organizationId_1, workspaceId_1], args_1, true), void 0, function (organizationId, workspaceId, options) {
|
|
10571
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
10572
|
+
if (options === void 0) { options = {}; }
|
|
10573
|
+
return __generator(this, function (_a) {
|
|
10574
|
+
switch (_a.label) {
|
|
10575
|
+
case 0:
|
|
10576
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
10577
|
+
(0, common_1.assertParamExists)('getWorkspaceMembers', 'organizationId', organizationId);
|
|
10578
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
10579
|
+
(0, common_1.assertParamExists)('getWorkspaceMembers', 'workspaceId', workspaceId);
|
|
10580
|
+
localVarPath = "/organizations/{organization_id}/workspaces/{workspace_id}/members"
|
|
10581
|
+
.replace('{organization_id}', encodeURIComponent(String(organizationId)))
|
|
10582
|
+
.replace('{workspace_id}', encodeURIComponent(String(workspaceId)));
|
|
10583
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
10584
|
+
if (configuration) {
|
|
10585
|
+
baseOptions = configuration.baseOptions;
|
|
10586
|
+
}
|
|
10587
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
10588
|
+
localVarHeaderParameter = {};
|
|
10589
|
+
localVarQueryParameter = {};
|
|
10590
|
+
// authentication oAuth2AuthCode required
|
|
10591
|
+
// oauth required
|
|
10592
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oAuth2AuthCode", [], configuration)];
|
|
10593
|
+
case 1:
|
|
10594
|
+
// authentication oAuth2AuthCode required
|
|
10595
|
+
// oauth required
|
|
10596
|
+
_a.sent();
|
|
10597
|
+
localVarHeaderParameter['Accept'] = 'application/json,application/yaml';
|
|
10598
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
10599
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10600
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
10601
|
+
return [2 /*return*/, {
|
|
10602
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
10603
|
+
options: localVarRequestOptions,
|
|
10604
|
+
}];
|
|
10605
|
+
}
|
|
10606
|
+
});
|
|
10607
|
+
});
|
|
10608
|
+
},
|
|
9946
10609
|
/**
|
|
9947
10610
|
*
|
|
9948
10611
|
* @summary Get the Workspace security information
|
|
@@ -10643,6 +11306,30 @@ var WorkspaceApiFp = function (configuration) {
|
|
|
10643
11306
|
});
|
|
10644
11307
|
});
|
|
10645
11308
|
},
|
|
11309
|
+
/**
|
|
11310
|
+
* Retrieve detailed information about members of a workspace.
|
|
11311
|
+
* @summary Get the members of a Workspace
|
|
11312
|
+
* @param {string} organizationId The Organization identifier
|
|
11313
|
+
* @param {string} workspaceId The Workspace identifier
|
|
11314
|
+
* @param {*} [options] Override http request option.
|
|
11315
|
+
* @throws {RequiredError}
|
|
11316
|
+
*/
|
|
11317
|
+
getWorkspaceMembers: function (organizationId, workspaceId, options) {
|
|
11318
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
11319
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
11320
|
+
var _a, _b, _c;
|
|
11321
|
+
return __generator(this, function (_d) {
|
|
11322
|
+
switch (_d.label) {
|
|
11323
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getWorkspaceMembers(organizationId, workspaceId, options)];
|
|
11324
|
+
case 1:
|
|
11325
|
+
localVarAxiosArgs = _d.sent();
|
|
11326
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
11327
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['WorkspaceApi.getWorkspaceMembers']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
11328
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
11329
|
+
}
|
|
11330
|
+
});
|
|
11331
|
+
});
|
|
11332
|
+
},
|
|
10646
11333
|
/**
|
|
10647
11334
|
*
|
|
10648
11335
|
* @summary Get the Workspace security information
|
|
@@ -10968,6 +11655,17 @@ var WorkspaceApiFactory = function (configuration, basePath, axios) {
|
|
|
10968
11655
|
getWorkspaceFile: function (organizationId, workspaceId, fileName, options) {
|
|
10969
11656
|
return localVarFp.getWorkspaceFile(organizationId, workspaceId, fileName, options).then(function (request) { return request(axios, basePath); });
|
|
10970
11657
|
},
|
|
11658
|
+
/**
|
|
11659
|
+
* Retrieve detailed information about members of a workspace.
|
|
11660
|
+
* @summary Get the members of a Workspace
|
|
11661
|
+
* @param {string} organizationId The Organization identifier
|
|
11662
|
+
* @param {string} workspaceId The Workspace identifier
|
|
11663
|
+
* @param {*} [options] Override http request option.
|
|
11664
|
+
* @throws {RequiredError}
|
|
11665
|
+
*/
|
|
11666
|
+
getWorkspaceMembers: function (organizationId, workspaceId, options) {
|
|
11667
|
+
return localVarFp.getWorkspaceMembers(organizationId, workspaceId, options).then(function (request) { return request(axios, basePath); });
|
|
11668
|
+
},
|
|
10971
11669
|
/**
|
|
10972
11670
|
*
|
|
10973
11671
|
* @summary Get the Workspace security information
|
|
@@ -11201,6 +11899,18 @@ var WorkspaceApi = /** @class */ (function (_super) {
|
|
|
11201
11899
|
var _this = this;
|
|
11202
11900
|
return (0, exports.WorkspaceApiFp)(this.configuration).getWorkspaceFile(organizationId, workspaceId, fileName, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
11203
11901
|
};
|
|
11902
|
+
/**
|
|
11903
|
+
* Retrieve detailed information about members of a workspace.
|
|
11904
|
+
* @summary Get the members of a Workspace
|
|
11905
|
+
* @param {string} organizationId The Organization identifier
|
|
11906
|
+
* @param {string} workspaceId The Workspace identifier
|
|
11907
|
+
* @param {*} [options] Override http request option.
|
|
11908
|
+
* @throws {RequiredError}
|
|
11909
|
+
*/
|
|
11910
|
+
WorkspaceApi.prototype.getWorkspaceMembers = function (organizationId, workspaceId, options) {
|
|
11911
|
+
var _this = this;
|
|
11912
|
+
return (0, exports.WorkspaceApiFp)(this.configuration).getWorkspaceMembers(organizationId, workspaceId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
11913
|
+
};
|
|
11204
11914
|
/**
|
|
11205
11915
|
*
|
|
11206
11916
|
* @summary Get the Workspace security information
|