@emilgroup/tenant-sdk-node 1.39.1-beta.7 → 1.39.1-beta.70
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/.openapi-generator/FILES +32 -18
- package/README.md +2 -2
- package/api/dashboard-api.ts +0 -103
- package/api/ssoconnection-api.ts +793 -0
- package/api/ssoid-pgroups-api.ts +803 -0
- package/api/user-controller-rest-api.ts +4 -4
- package/api/users-api.ts +4 -4
- package/api.ts +4 -4
- package/dist/api/dashboard-api.d.ts +0 -56
- package/dist/api/dashboard-api.js +0 -92
- package/dist/api/ssoconnection-api.d.ts +434 -0
- package/dist/api/ssoconnection-api.js +784 -0
- package/dist/api/ssoid-pgroups-api.d.ts +451 -0
- package/dist/api/{report-schedule-api.js → ssoid-pgroups-api.js} +262 -169
- package/dist/api/user-controller-rest-api.d.ts +4 -4
- package/dist/api/user-controller-rest-api.js +3 -3
- package/dist/api/users-api.d.ts +4 -4
- package/dist/api/users-api.js +3 -3
- package/dist/api.d.ts +2 -2
- package/dist/api.js +2 -2
- package/dist/models/create-sso-connection-request-dto.d.ts +66 -0
- package/dist/models/create-sso-connection-request-dto.js +23 -0
- package/dist/models/{get-report-schedule-response-class.d.ts → create-sso-connection-response-class.d.ts} +7 -7
- package/dist/models/create-sso-idp-group-request-dto.d.ts +37 -0
- package/dist/models/{create-report-schedule-response-class.d.ts → create-sso-idp-group-response-class.d.ts} +7 -7
- package/dist/models/dbconfig-dto.d.ts +0 -6
- package/dist/models/delete-by-code-response-class.d.ts +24 -0
- package/dist/models/get-sso-connection-response-class.d.ts +25 -0
- package/dist/models/get-sso-connection-setup-response-class.d.ts +25 -0
- package/dist/models/get-sso-idp-group-response-class.d.ts +25 -0
- package/dist/models/index.d.ts +30 -16
- package/dist/models/index.js +30 -16
- package/dist/models/list-sso-idp-groups-response-class.d.ts +43 -0
- package/dist/models/oidc-sso-details-input-dto.d.ts +36 -0
- package/dist/models/oidc-sso-details-update-dto.d.ts +36 -0
- package/dist/models/oidc-sso-setup-class.d.ts +31 -0
- package/dist/models/{delete-tenant-request-dto.d.ts → saml-sso-details-dto.d.ts} +5 -11
- package/dist/models/saml-sso-setup-class.d.ts +37 -0
- package/dist/models/{report-schedule-parameter-class.d.ts → shared-oidc-sso-details-class.d.ts} +11 -17
- package/dist/models/{report-schedule-parameter-value-class.d.ts → shared-saml-sso-details-class.d.ts} +5 -11
- package/dist/models/shared-sso-attribute-mapping-class.d.ts +30 -0
- package/dist/models/sso-attribute-mapping-dto.d.ts +30 -0
- package/dist/models/sso-attribute-mapping-dto.js +15 -0
- package/dist/models/sso-attribute-mapping-template-class.d.ts +36 -0
- package/dist/models/sso-attribute-mapping-template-class.js +15 -0
- package/dist/models/sso-connection-class.d.ts +102 -0
- package/dist/models/sso-connection-class.js +23 -0
- package/dist/models/sso-connection-setup-class.d.ts +32 -0
- package/dist/models/sso-connection-setup-class.js +15 -0
- package/dist/models/sso-idp-group-class.d.ts +73 -0
- package/dist/models/sso-idp-group-class.js +15 -0
- package/dist/models/update-sso-connection-body-dto.d.ts +45 -0
- package/dist/models/update-sso-connection-body-dto.js +15 -0
- package/dist/models/update-sso-connection-response-class.d.ts +25 -0
- package/dist/models/update-sso-connection-response-class.js +15 -0
- package/dist/models/update-sso-connection-status-body-dto.d.ts +24 -0
- package/dist/models/update-sso-connection-status-body-dto.js +15 -0
- package/dist/models/update-sso-connection-status-response-class.d.ts +25 -0
- package/dist/models/update-sso-connection-status-response-class.js +15 -0
- package/dist/models/update-sso-idp-group-body-dto.d.ts +31 -0
- package/dist/models/update-sso-idp-group-body-dto.js +15 -0
- package/dist/models/update-sso-idp-group-response-class.d.ts +25 -0
- package/dist/models/update-sso-idp-group-response-class.js +15 -0
- package/dist/models/update-sso-idp-group-status-body-dto.d.ts +24 -0
- package/dist/models/update-sso-idp-group-status-body-dto.js +15 -0
- package/dist/models/update-sso-idp-group-status-response-class.d.ts +25 -0
- package/dist/models/update-sso-idp-group-status-response-class.js +15 -0
- package/dist/models/user-class.d.ts +7 -0
- package/models/create-sso-connection-request-dto.ts +76 -0
- package/models/{get-report-schedule-response-class.ts → create-sso-connection-response-class.ts} +7 -7
- package/models/create-sso-idp-group-request-dto.ts +43 -0
- package/models/{create-report-schedule-response-class.ts → create-sso-idp-group-response-class.ts} +7 -7
- package/models/dbconfig-dto.ts +0 -6
- package/models/delete-by-code-response-class.ts +30 -0
- package/models/get-sso-connection-response-class.ts +31 -0
- package/models/get-sso-connection-setup-response-class.ts +31 -0
- package/models/get-sso-idp-group-response-class.ts +31 -0
- package/models/index.ts +30 -16
- package/models/list-sso-idp-groups-response-class.ts +49 -0
- package/models/oidc-sso-details-input-dto.ts +42 -0
- package/models/{report-schedule-parameter-class.ts → oidc-sso-details-update-dto.ts} +11 -17
- package/models/oidc-sso-setup-class.ts +37 -0
- package/models/{delete-tenant-request-dto.ts → saml-sso-details-dto.ts} +5 -11
- package/models/saml-sso-setup-class.ts +43 -0
- package/models/{report-schedule-parameter-dto.ts → shared-oidc-sso-details-class.ts} +11 -17
- package/models/{report-schedule-parameter-value-class.ts → shared-saml-sso-details-class.ts} +5 -11
- package/models/shared-sso-attribute-mapping-class.ts +36 -0
- package/models/sso-attribute-mapping-dto.ts +36 -0
- package/models/sso-attribute-mapping-template-class.ts +42 -0
- package/models/sso-connection-class.ts +112 -0
- package/models/sso-connection-setup-class.ts +38 -0
- package/models/sso-idp-group-class.ts +79 -0
- package/models/update-sso-connection-body-dto.ts +51 -0
- package/models/update-sso-connection-response-class.ts +31 -0
- package/models/update-sso-connection-status-body-dto.ts +30 -0
- package/models/update-sso-connection-status-response-class.ts +31 -0
- package/models/update-sso-idp-group-body-dto.ts +37 -0
- package/models/update-sso-idp-group-response-class.ts +31 -0
- package/models/update-sso-idp-group-status-body-dto.ts +30 -0
- package/models/update-sso-idp-group-status-response-class.ts +31 -0
- package/models/user-class.ts +7 -0
- package/package.json +1 -1
- package/api/report-schedule-api.ts +0 -697
- package/api/report-schedule-logs-api.ts +0 -250
- package/dist/api/report-schedule-api.d.ts +0 -394
- package/dist/api/report-schedule-logs-api.d.ts +0 -150
- package/dist/api/report-schedule-logs-api.js +0 -264
- package/dist/models/create-report-schedule-request-dto.d.ts +0 -115
- package/dist/models/dashboard-metadata-class.d.ts +0 -43
- package/dist/models/get-dashboard-metadata-response-class.d.ts +0 -25
- package/dist/models/list-report-schedule-logs-response-class.d.ts +0 -43
- package/dist/models/list-report-schedules-response-class.d.ts +0 -43
- package/dist/models/quick-sight-analysis-parameter-class.d.ts +0 -36
- package/dist/models/report-schedule-class.d.ts +0 -157
- package/dist/models/report-schedule-log-class.d.ts +0 -133
- package/dist/models/report-schedule-parameter-dto.d.ts +0 -42
- package/dist/models/update-report-schedule-request-dto.d.ts +0 -121
- package/dist/models/update-report-schedule-response-class.d.ts +0 -25
- package/models/create-report-schedule-request-dto.ts +0 -121
- package/models/dashboard-metadata-class.ts +0 -49
- package/models/get-dashboard-metadata-response-class.ts +0 -31
- package/models/list-report-schedule-logs-response-class.ts +0 -49
- package/models/list-report-schedules-response-class.ts +0 -49
- package/models/quick-sight-analysis-parameter-class.ts +0 -42
- package/models/report-schedule-class.ts +0 -163
- package/models/report-schedule-log-class.ts +0 -139
- package/models/update-report-schedule-request-dto.ts +0 -127
- package/models/update-report-schedule-response-class.ts +0 -31
- /package/dist/models/{create-report-schedule-request-dto.js → create-sso-connection-response-class.js} +0 -0
- /package/dist/models/{create-report-schedule-response-class.js → create-sso-idp-group-request-dto.js} +0 -0
- /package/dist/models/{dashboard-metadata-class.js → create-sso-idp-group-response-class.js} +0 -0
- /package/dist/models/{delete-tenant-request-dto.js → delete-by-code-response-class.js} +0 -0
- /package/dist/models/{get-dashboard-metadata-response-class.js → get-sso-connection-response-class.js} +0 -0
- /package/dist/models/{get-report-schedule-response-class.js → get-sso-connection-setup-response-class.js} +0 -0
- /package/dist/models/{list-report-schedule-logs-response-class.js → get-sso-idp-group-response-class.js} +0 -0
- /package/dist/models/{list-report-schedules-response-class.js → list-sso-idp-groups-response-class.js} +0 -0
- /package/dist/models/{quick-sight-analysis-parameter-class.js → oidc-sso-details-input-dto.js} +0 -0
- /package/dist/models/{report-schedule-class.js → oidc-sso-details-update-dto.js} +0 -0
- /package/dist/models/{report-schedule-log-class.js → oidc-sso-setup-class.js} +0 -0
- /package/dist/models/{report-schedule-parameter-class.js → saml-sso-details-dto.js} +0 -0
- /package/dist/models/{report-schedule-parameter-dto.js → saml-sso-setup-class.js} +0 -0
- /package/dist/models/{report-schedule-parameter-value-class.js → shared-oidc-sso-details-class.js} +0 -0
- /package/dist/models/{update-report-schedule-request-dto.js → shared-saml-sso-details-class.js} +0 -0
- /package/dist/models/{update-report-schedule-response-class.js → shared-sso-attribute-mapping-class.js} +0 -0
|
@@ -78,7 +78,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
78
78
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
79
79
|
};
|
|
80
80
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
81
|
-
exports.
|
|
81
|
+
exports.SSOIdPGroupsApi = exports.SSOIdPGroupsApiFactory = exports.SSOIdPGroupsApiFp = exports.SSOIdPGroupsApiAxiosParamCreator = void 0;
|
|
82
82
|
var axios_1 = __importDefault(require("axios"));
|
|
83
83
|
// Some imports not used depending on template conditions
|
|
84
84
|
// @ts-ignore
|
|
@@ -90,30 +90,30 @@ var base_1 = require("../base");
|
|
|
90
90
|
var url_1 = require("url");
|
|
91
91
|
var FormData = require('form-data');
|
|
92
92
|
/**
|
|
93
|
-
*
|
|
93
|
+
* SSOIdPGroupsApi - axios parameter creator
|
|
94
94
|
* @export
|
|
95
95
|
*/
|
|
96
|
-
var
|
|
96
|
+
var SSOIdPGroupsApiAxiosParamCreator = function (configuration) {
|
|
97
97
|
var _this = this;
|
|
98
98
|
return {
|
|
99
99
|
/**
|
|
100
|
-
* Creates
|
|
101
|
-
* @summary
|
|
102
|
-
* @param {
|
|
103
|
-
* @param {string} [authorization] Bearer Token
|
|
100
|
+
* Creates an inactive IdP group with at least one EIS user-group mapping. externalId is any text and is immutable after create. **Required Permissions** \"tenant-management.settings.create\"
|
|
101
|
+
* @summary Register an IdP group and its EIS mappings
|
|
102
|
+
* @param {CreateSsoIdpGroupRequestDto} createSsoIdpGroupRequestDto
|
|
103
|
+
* @param {string} [authorization] Bearer Token
|
|
104
104
|
* @param {*} [options] Override http request option.
|
|
105
105
|
* @throws {RequiredError}
|
|
106
106
|
*/
|
|
107
|
-
|
|
107
|
+
createSsoIdpGroup: function (createSsoIdpGroupRequestDto, authorization, options) {
|
|
108
108
|
if (options === void 0) { options = {}; }
|
|
109
109
|
return __awaiter(_this, void 0, void 0, function () {
|
|
110
110
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
111
111
|
return __generator(this, function (_a) {
|
|
112
112
|
switch (_a.label) {
|
|
113
113
|
case 0:
|
|
114
|
-
// verify required parameter '
|
|
115
|
-
(0, common_1.assertParamExists)('
|
|
116
|
-
localVarPath = "/tenantservice/v1/
|
|
114
|
+
// verify required parameter 'createSsoIdpGroupRequestDto' is not null or undefined
|
|
115
|
+
(0, common_1.assertParamExists)('createSsoIdpGroup', 'createSsoIdpGroupRequestDto', createSsoIdpGroupRequestDto);
|
|
116
|
+
localVarPath = "/tenantservice/v1/sso-idp-groups";
|
|
117
117
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
118
118
|
if (configuration) {
|
|
119
119
|
baseOptions = configuration.baseOptions;
|
|
@@ -136,7 +136,7 @@ var ReportScheduleApiAxiosParamCreator = function (configuration) {
|
|
|
136
136
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
137
137
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
138
138
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
139
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
139
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createSsoIdpGroupRequestDto, localVarRequestOptions, configuration);
|
|
140
140
|
return [2 /*return*/, {
|
|
141
141
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
142
142
|
options: localVarRequestOptions,
|
|
@@ -146,14 +146,14 @@ var ReportScheduleApiAxiosParamCreator = function (configuration) {
|
|
|
146
146
|
});
|
|
147
147
|
},
|
|
148
148
|
/**
|
|
149
|
-
*
|
|
150
|
-
* @summary Delete
|
|
151
|
-
* @param {string} code
|
|
152
|
-
* @param {string} [authorization] Bearer Token
|
|
149
|
+
* undefined **Required Permissions** \"tenant-management.settings.delete\"
|
|
150
|
+
* @summary Delete an IdP group and all of its mappings
|
|
151
|
+
* @param {string} code IdP group code.
|
|
152
|
+
* @param {string} [authorization] Bearer Token
|
|
153
153
|
* @param {*} [options] Override http request option.
|
|
154
154
|
* @throws {RequiredError}
|
|
155
155
|
*/
|
|
156
|
-
|
|
156
|
+
deleteSsoIdpGroup: function (code, authorization, options) {
|
|
157
157
|
if (options === void 0) { options = {}; }
|
|
158
158
|
return __awaiter(_this, void 0, void 0, function () {
|
|
159
159
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -161,8 +161,8 @@ var ReportScheduleApiAxiosParamCreator = function (configuration) {
|
|
|
161
161
|
switch (_a.label) {
|
|
162
162
|
case 0:
|
|
163
163
|
// verify required parameter 'code' is not null or undefined
|
|
164
|
-
(0, common_1.assertParamExists)('
|
|
165
|
-
localVarPath = "/tenantservice/v1/
|
|
164
|
+
(0, common_1.assertParamExists)('deleteSsoIdpGroup', 'code', code);
|
|
165
|
+
localVarPath = "/tenantservice/v1/sso-idp-groups/{code}"
|
|
166
166
|
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
167
167
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
168
168
|
if (configuration) {
|
|
@@ -194,15 +194,14 @@ var ReportScheduleApiAxiosParamCreator = function (configuration) {
|
|
|
194
194
|
});
|
|
195
195
|
},
|
|
196
196
|
/**
|
|
197
|
-
*
|
|
198
|
-
* @summary
|
|
199
|
-
* @param {string} code
|
|
200
|
-
* @param {string} [authorization] Bearer Token
|
|
201
|
-
* @param {string} [expand] Fields to expand response by
|
|
197
|
+
* undefined **Required Permissions** \"tenant-management.settings.view\"
|
|
198
|
+
* @summary Get an IdP group by code
|
|
199
|
+
* @param {string} code IdP group code.
|
|
200
|
+
* @param {string} [authorization] Bearer Token
|
|
202
201
|
* @param {*} [options] Override http request option.
|
|
203
202
|
* @throws {RequiredError}
|
|
204
203
|
*/
|
|
205
|
-
|
|
204
|
+
getSsoIdpGroup: function (code, authorization, options) {
|
|
206
205
|
if (options === void 0) { options = {}; }
|
|
207
206
|
return __awaiter(_this, void 0, void 0, function () {
|
|
208
207
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -210,8 +209,8 @@ var ReportScheduleApiAxiosParamCreator = function (configuration) {
|
|
|
210
209
|
switch (_a.label) {
|
|
211
210
|
case 0:
|
|
212
211
|
// verify required parameter 'code' is not null or undefined
|
|
213
|
-
(0, common_1.assertParamExists)('
|
|
214
|
-
localVarPath = "/tenantservice/v1/
|
|
212
|
+
(0, common_1.assertParamExists)('getSsoIdpGroup', 'code', code);
|
|
213
|
+
localVarPath = "/tenantservice/v1/sso-idp-groups/{code}"
|
|
215
214
|
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
216
215
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
217
216
|
if (configuration) {
|
|
@@ -228,9 +227,6 @@ var ReportScheduleApiAxiosParamCreator = function (configuration) {
|
|
|
228
227
|
// authentication bearer required
|
|
229
228
|
// http bearer authentication required
|
|
230
229
|
_a.sent();
|
|
231
|
-
if (expand !== undefined) {
|
|
232
|
-
localVarQueryParameter['expand'] = expand;
|
|
233
|
-
}
|
|
234
230
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
235
231
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
236
232
|
}
|
|
@@ -246,27 +242,27 @@ var ReportScheduleApiAxiosParamCreator = function (configuration) {
|
|
|
246
242
|
});
|
|
247
243
|
},
|
|
248
244
|
/**
|
|
249
|
-
*
|
|
250
|
-
* @summary List
|
|
251
|
-
* @param {string} [authorization] Bearer Token
|
|
252
|
-
* @param {number} [pageSize]
|
|
253
|
-
* @param {string} [pageToken]
|
|
254
|
-
* @param {string} [filter] Filter
|
|
255
|
-
* @param {string} [search]
|
|
256
|
-
* @param {string} [order]
|
|
245
|
+
* The `name` field is deprecated in favor of `externalId`. **Required Permissions** \"tenant-management.settings.view\"
|
|
246
|
+
* @summary List registered IdP groups
|
|
247
|
+
* @param {string} [authorization] Bearer Token
|
|
248
|
+
* @param {number} [pageSize] Number of items per page.
|
|
249
|
+
* @param {string} [pageToken] Opaque token for the next page (returned in a previous response).
|
|
250
|
+
* @param {string} [filter] Filter IdP groups by one or more fields. Allowed: id, code, externalId, isActive, userGroup.code, createdAt, updatedAt.
|
|
251
|
+
* @param {string} [search] Free-text search over searchable columns.
|
|
252
|
+
* @param {string} [order] Sort the response. Allowed columns: id, code, externalId, isActive, createdAt, updatedAt.
|
|
257
253
|
* @param {string} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
258
254
|
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
259
255
|
* @param {*} [options] Override http request option.
|
|
260
256
|
* @throws {RequiredError}
|
|
261
257
|
*/
|
|
262
|
-
|
|
258
|
+
listSsoIdpGroups: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
263
259
|
if (options === void 0) { options = {}; }
|
|
264
260
|
return __awaiter(_this, void 0, void 0, function () {
|
|
265
261
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
266
262
|
return __generator(this, function (_a) {
|
|
267
263
|
switch (_a.label) {
|
|
268
264
|
case 0:
|
|
269
|
-
localVarPath = "/tenantservice/v1/
|
|
265
|
+
localVarPath = "/tenantservice/v1/sso-idp-groups";
|
|
270
266
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
271
267
|
if (configuration) {
|
|
272
268
|
baseOptions = configuration.baseOptions;
|
|
@@ -318,15 +314,15 @@ var ReportScheduleApiAxiosParamCreator = function (configuration) {
|
|
|
318
314
|
});
|
|
319
315
|
},
|
|
320
316
|
/**
|
|
321
|
-
*
|
|
322
|
-
* @summary Update the
|
|
323
|
-
* @param {string} code
|
|
324
|
-
* @param {
|
|
325
|
-
* @param {string} [authorization] Bearer Token
|
|
317
|
+
* externalId is immutable. eisUserGroupCodes is set-replace when present. **Required Permissions** \"tenant-management.settings.update\"
|
|
318
|
+
* @summary Update the EIS mappings of an IdP group
|
|
319
|
+
* @param {string} code IdP group code.
|
|
320
|
+
* @param {UpdateSsoIdpGroupBodyDto} updateSsoIdpGroupBodyDto
|
|
321
|
+
* @param {string} [authorization] Bearer Token
|
|
326
322
|
* @param {*} [options] Override http request option.
|
|
327
323
|
* @throws {RequiredError}
|
|
328
324
|
*/
|
|
329
|
-
|
|
325
|
+
updateSsoIdpGroup: function (code, updateSsoIdpGroupBodyDto, authorization, options) {
|
|
330
326
|
if (options === void 0) { options = {}; }
|
|
331
327
|
return __awaiter(_this, void 0, void 0, function () {
|
|
332
328
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -334,10 +330,10 @@ var ReportScheduleApiAxiosParamCreator = function (configuration) {
|
|
|
334
330
|
switch (_a.label) {
|
|
335
331
|
case 0:
|
|
336
332
|
// verify required parameter 'code' is not null or undefined
|
|
337
|
-
(0, common_1.assertParamExists)('
|
|
338
|
-
// verify required parameter '
|
|
339
|
-
(0, common_1.assertParamExists)('
|
|
340
|
-
localVarPath = "/tenantservice/v1/
|
|
333
|
+
(0, common_1.assertParamExists)('updateSsoIdpGroup', 'code', code);
|
|
334
|
+
// verify required parameter 'updateSsoIdpGroupBodyDto' is not null or undefined
|
|
335
|
+
(0, common_1.assertParamExists)('updateSsoIdpGroup', 'updateSsoIdpGroupBodyDto', updateSsoIdpGroupBodyDto);
|
|
336
|
+
localVarPath = "/tenantservice/v1/sso-idp-groups/{code}"
|
|
341
337
|
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
342
338
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
343
339
|
if (configuration) {
|
|
@@ -361,7 +357,60 @@ var ReportScheduleApiAxiosParamCreator = function (configuration) {
|
|
|
361
357
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
362
358
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
363
359
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
364
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
360
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateSsoIdpGroupBodyDto, localVarRequestOptions, configuration);
|
|
361
|
+
return [2 /*return*/, {
|
|
362
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
363
|
+
options: localVarRequestOptions,
|
|
364
|
+
}];
|
|
365
|
+
}
|
|
366
|
+
});
|
|
367
|
+
});
|
|
368
|
+
},
|
|
369
|
+
/**
|
|
370
|
+
* Switches whether the IdP group participates in login-time access resolution. Status is shared across every mapping edge for that group. **Required Permissions** \"tenant-management.settings.update\"
|
|
371
|
+
* @summary Activate or deactivate an IdP group
|
|
372
|
+
* @param {string} code IdP group code.
|
|
373
|
+
* @param {UpdateSsoIdpGroupStatusBodyDto} updateSsoIdpGroupStatusBodyDto
|
|
374
|
+
* @param {string} [authorization] Bearer Token
|
|
375
|
+
* @param {*} [options] Override http request option.
|
|
376
|
+
* @throws {RequiredError}
|
|
377
|
+
*/
|
|
378
|
+
updateSsoIdpGroupStatus: function (code, updateSsoIdpGroupStatusBodyDto, authorization, options) {
|
|
379
|
+
if (options === void 0) { options = {}; }
|
|
380
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
381
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
382
|
+
return __generator(this, function (_a) {
|
|
383
|
+
switch (_a.label) {
|
|
384
|
+
case 0:
|
|
385
|
+
// verify required parameter 'code' is not null or undefined
|
|
386
|
+
(0, common_1.assertParamExists)('updateSsoIdpGroupStatus', 'code', code);
|
|
387
|
+
// verify required parameter 'updateSsoIdpGroupStatusBodyDto' is not null or undefined
|
|
388
|
+
(0, common_1.assertParamExists)('updateSsoIdpGroupStatus', 'updateSsoIdpGroupStatusBodyDto', updateSsoIdpGroupStatusBodyDto);
|
|
389
|
+
localVarPath = "/tenantservice/v1/sso-idp-groups/{code}"
|
|
390
|
+
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
391
|
+
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
392
|
+
if (configuration) {
|
|
393
|
+
baseOptions = configuration.baseOptions;
|
|
394
|
+
baseAccessToken = configuration.accessToken;
|
|
395
|
+
}
|
|
396
|
+
localVarRequestOptions = __assign(__assign({ method: 'PATCH' }, baseOptions), options);
|
|
397
|
+
localVarHeaderParameter = {};
|
|
398
|
+
localVarQueryParameter = {};
|
|
399
|
+
// authentication bearer required
|
|
400
|
+
// http bearer authentication required
|
|
401
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
402
|
+
case 1:
|
|
403
|
+
// authentication bearer required
|
|
404
|
+
// http bearer authentication required
|
|
405
|
+
_a.sent();
|
|
406
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
407
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
408
|
+
}
|
|
409
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
410
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
411
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
412
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
413
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateSsoIdpGroupStatusBodyDto, localVarRequestOptions, configuration);
|
|
365
414
|
return [2 /*return*/, {
|
|
366
415
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
367
416
|
options: localVarRequestOptions,
|
|
@@ -372,28 +421,28 @@ var ReportScheduleApiAxiosParamCreator = function (configuration) {
|
|
|
372
421
|
},
|
|
373
422
|
};
|
|
374
423
|
};
|
|
375
|
-
exports.
|
|
424
|
+
exports.SSOIdPGroupsApiAxiosParamCreator = SSOIdPGroupsApiAxiosParamCreator;
|
|
376
425
|
/**
|
|
377
|
-
*
|
|
426
|
+
* SSOIdPGroupsApi - functional programming interface
|
|
378
427
|
* @export
|
|
379
428
|
*/
|
|
380
|
-
var
|
|
381
|
-
var localVarAxiosParamCreator = (0, exports.
|
|
429
|
+
var SSOIdPGroupsApiFp = function (configuration) {
|
|
430
|
+
var localVarAxiosParamCreator = (0, exports.SSOIdPGroupsApiAxiosParamCreator)(configuration);
|
|
382
431
|
return {
|
|
383
432
|
/**
|
|
384
|
-
* Creates
|
|
385
|
-
* @summary
|
|
386
|
-
* @param {
|
|
387
|
-
* @param {string} [authorization] Bearer Token
|
|
433
|
+
* Creates an inactive IdP group with at least one EIS user-group mapping. externalId is any text and is immutable after create. **Required Permissions** \"tenant-management.settings.create\"
|
|
434
|
+
* @summary Register an IdP group and its EIS mappings
|
|
435
|
+
* @param {CreateSsoIdpGroupRequestDto} createSsoIdpGroupRequestDto
|
|
436
|
+
* @param {string} [authorization] Bearer Token
|
|
388
437
|
* @param {*} [options] Override http request option.
|
|
389
438
|
* @throws {RequiredError}
|
|
390
439
|
*/
|
|
391
|
-
|
|
440
|
+
createSsoIdpGroup: function (createSsoIdpGroupRequestDto, authorization, options) {
|
|
392
441
|
return __awaiter(this, void 0, void 0, function () {
|
|
393
442
|
var localVarAxiosArgs;
|
|
394
443
|
return __generator(this, function (_a) {
|
|
395
444
|
switch (_a.label) {
|
|
396
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
445
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.createSsoIdpGroup(createSsoIdpGroupRequestDto, authorization, options)];
|
|
397
446
|
case 1:
|
|
398
447
|
localVarAxiosArgs = _a.sent();
|
|
399
448
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -402,19 +451,19 @@ var ReportScheduleApiFp = function (configuration) {
|
|
|
402
451
|
});
|
|
403
452
|
},
|
|
404
453
|
/**
|
|
405
|
-
*
|
|
406
|
-
* @summary Delete
|
|
407
|
-
* @param {string} code
|
|
408
|
-
* @param {string} [authorization] Bearer Token
|
|
454
|
+
* undefined **Required Permissions** \"tenant-management.settings.delete\"
|
|
455
|
+
* @summary Delete an IdP group and all of its mappings
|
|
456
|
+
* @param {string} code IdP group code.
|
|
457
|
+
* @param {string} [authorization] Bearer Token
|
|
409
458
|
* @param {*} [options] Override http request option.
|
|
410
459
|
* @throws {RequiredError}
|
|
411
460
|
*/
|
|
412
|
-
|
|
461
|
+
deleteSsoIdpGroup: function (code, authorization, options) {
|
|
413
462
|
return __awaiter(this, void 0, void 0, function () {
|
|
414
463
|
var localVarAxiosArgs;
|
|
415
464
|
return __generator(this, function (_a) {
|
|
416
465
|
switch (_a.label) {
|
|
417
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
466
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteSsoIdpGroup(code, authorization, options)];
|
|
418
467
|
case 1:
|
|
419
468
|
localVarAxiosArgs = _a.sent();
|
|
420
469
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -423,20 +472,19 @@ var ReportScheduleApiFp = function (configuration) {
|
|
|
423
472
|
});
|
|
424
473
|
},
|
|
425
474
|
/**
|
|
426
|
-
*
|
|
427
|
-
* @summary
|
|
428
|
-
* @param {string} code
|
|
429
|
-
* @param {string} [authorization] Bearer Token
|
|
430
|
-
* @param {string} [expand] Fields to expand response by
|
|
475
|
+
* undefined **Required Permissions** \"tenant-management.settings.view\"
|
|
476
|
+
* @summary Get an IdP group by code
|
|
477
|
+
* @param {string} code IdP group code.
|
|
478
|
+
* @param {string} [authorization] Bearer Token
|
|
431
479
|
* @param {*} [options] Override http request option.
|
|
432
480
|
* @throws {RequiredError}
|
|
433
481
|
*/
|
|
434
|
-
|
|
482
|
+
getSsoIdpGroup: function (code, authorization, options) {
|
|
435
483
|
return __awaiter(this, void 0, void 0, function () {
|
|
436
484
|
var localVarAxiosArgs;
|
|
437
485
|
return __generator(this, function (_a) {
|
|
438
486
|
switch (_a.label) {
|
|
439
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
487
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getSsoIdpGroup(code, authorization, options)];
|
|
440
488
|
case 1:
|
|
441
489
|
localVarAxiosArgs = _a.sent();
|
|
442
490
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -445,25 +493,25 @@ var ReportScheduleApiFp = function (configuration) {
|
|
|
445
493
|
});
|
|
446
494
|
},
|
|
447
495
|
/**
|
|
448
|
-
*
|
|
449
|
-
* @summary List
|
|
450
|
-
* @param {string} [authorization] Bearer Token
|
|
451
|
-
* @param {number} [pageSize]
|
|
452
|
-
* @param {string} [pageToken]
|
|
453
|
-
* @param {string} [filter] Filter
|
|
454
|
-
* @param {string} [search]
|
|
455
|
-
* @param {string} [order]
|
|
496
|
+
* The `name` field is deprecated in favor of `externalId`. **Required Permissions** \"tenant-management.settings.view\"
|
|
497
|
+
* @summary List registered IdP groups
|
|
498
|
+
* @param {string} [authorization] Bearer Token
|
|
499
|
+
* @param {number} [pageSize] Number of items per page.
|
|
500
|
+
* @param {string} [pageToken] Opaque token for the next page (returned in a previous response).
|
|
501
|
+
* @param {string} [filter] Filter IdP groups by one or more fields. Allowed: id, code, externalId, isActive, userGroup.code, createdAt, updatedAt.
|
|
502
|
+
* @param {string} [search] Free-text search over searchable columns.
|
|
503
|
+
* @param {string} [order] Sort the response. Allowed columns: id, code, externalId, isActive, createdAt, updatedAt.
|
|
456
504
|
* @param {string} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
457
505
|
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
458
506
|
* @param {*} [options] Override http request option.
|
|
459
507
|
* @throws {RequiredError}
|
|
460
508
|
*/
|
|
461
|
-
|
|
509
|
+
listSsoIdpGroups: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
462
510
|
return __awaiter(this, void 0, void 0, function () {
|
|
463
511
|
var localVarAxiosArgs;
|
|
464
512
|
return __generator(this, function (_a) {
|
|
465
513
|
switch (_a.label) {
|
|
466
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
514
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listSsoIdpGroups(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
|
|
467
515
|
case 1:
|
|
468
516
|
localVarAxiosArgs = _a.sent();
|
|
469
517
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -472,20 +520,42 @@ var ReportScheduleApiFp = function (configuration) {
|
|
|
472
520
|
});
|
|
473
521
|
},
|
|
474
522
|
/**
|
|
475
|
-
*
|
|
476
|
-
* @summary Update the
|
|
477
|
-
* @param {string} code
|
|
478
|
-
* @param {
|
|
479
|
-
* @param {string} [authorization] Bearer Token
|
|
523
|
+
* externalId is immutable. eisUserGroupCodes is set-replace when present. **Required Permissions** \"tenant-management.settings.update\"
|
|
524
|
+
* @summary Update the EIS mappings of an IdP group
|
|
525
|
+
* @param {string} code IdP group code.
|
|
526
|
+
* @param {UpdateSsoIdpGroupBodyDto} updateSsoIdpGroupBodyDto
|
|
527
|
+
* @param {string} [authorization] Bearer Token
|
|
480
528
|
* @param {*} [options] Override http request option.
|
|
481
529
|
* @throws {RequiredError}
|
|
482
530
|
*/
|
|
483
|
-
|
|
531
|
+
updateSsoIdpGroup: function (code, updateSsoIdpGroupBodyDto, authorization, options) {
|
|
484
532
|
return __awaiter(this, void 0, void 0, function () {
|
|
485
533
|
var localVarAxiosArgs;
|
|
486
534
|
return __generator(this, function (_a) {
|
|
487
535
|
switch (_a.label) {
|
|
488
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
536
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateSsoIdpGroup(code, updateSsoIdpGroupBodyDto, authorization, options)];
|
|
537
|
+
case 1:
|
|
538
|
+
localVarAxiosArgs = _a.sent();
|
|
539
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
540
|
+
}
|
|
541
|
+
});
|
|
542
|
+
});
|
|
543
|
+
},
|
|
544
|
+
/**
|
|
545
|
+
* Switches whether the IdP group participates in login-time access resolution. Status is shared across every mapping edge for that group. **Required Permissions** \"tenant-management.settings.update\"
|
|
546
|
+
* @summary Activate or deactivate an IdP group
|
|
547
|
+
* @param {string} code IdP group code.
|
|
548
|
+
* @param {UpdateSsoIdpGroupStatusBodyDto} updateSsoIdpGroupStatusBodyDto
|
|
549
|
+
* @param {string} [authorization] Bearer Token
|
|
550
|
+
* @param {*} [options] Override http request option.
|
|
551
|
+
* @throws {RequiredError}
|
|
552
|
+
*/
|
|
553
|
+
updateSsoIdpGroupStatus: function (code, updateSsoIdpGroupStatusBodyDto, authorization, options) {
|
|
554
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
555
|
+
var localVarAxiosArgs;
|
|
556
|
+
return __generator(this, function (_a) {
|
|
557
|
+
switch (_a.label) {
|
|
558
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateSsoIdpGroupStatus(code, updateSsoIdpGroupStatusBodyDto, authorization, options)];
|
|
489
559
|
case 1:
|
|
490
560
|
localVarAxiosArgs = _a.sent();
|
|
491
561
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -495,152 +565,175 @@ var ReportScheduleApiFp = function (configuration) {
|
|
|
495
565
|
},
|
|
496
566
|
};
|
|
497
567
|
};
|
|
498
|
-
exports.
|
|
568
|
+
exports.SSOIdPGroupsApiFp = SSOIdPGroupsApiFp;
|
|
499
569
|
/**
|
|
500
|
-
*
|
|
570
|
+
* SSOIdPGroupsApi - factory interface
|
|
501
571
|
* @export
|
|
502
572
|
*/
|
|
503
|
-
var
|
|
504
|
-
var localVarFp = (0, exports.
|
|
573
|
+
var SSOIdPGroupsApiFactory = function (configuration, basePath, axios) {
|
|
574
|
+
var localVarFp = (0, exports.SSOIdPGroupsApiFp)(configuration);
|
|
505
575
|
return {
|
|
506
576
|
/**
|
|
507
|
-
* Creates
|
|
508
|
-
* @summary
|
|
509
|
-
* @param {
|
|
510
|
-
* @param {string} [authorization] Bearer Token
|
|
577
|
+
* Creates an inactive IdP group with at least one EIS user-group mapping. externalId is any text and is immutable after create. **Required Permissions** \"tenant-management.settings.create\"
|
|
578
|
+
* @summary Register an IdP group and its EIS mappings
|
|
579
|
+
* @param {CreateSsoIdpGroupRequestDto} createSsoIdpGroupRequestDto
|
|
580
|
+
* @param {string} [authorization] Bearer Token
|
|
511
581
|
* @param {*} [options] Override http request option.
|
|
512
582
|
* @throws {RequiredError}
|
|
513
583
|
*/
|
|
514
|
-
|
|
515
|
-
return localVarFp.
|
|
584
|
+
createSsoIdpGroup: function (createSsoIdpGroupRequestDto, authorization, options) {
|
|
585
|
+
return localVarFp.createSsoIdpGroup(createSsoIdpGroupRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
516
586
|
},
|
|
517
587
|
/**
|
|
518
|
-
*
|
|
519
|
-
* @summary Delete
|
|
520
|
-
* @param {string} code
|
|
521
|
-
* @param {string} [authorization] Bearer Token
|
|
588
|
+
* undefined **Required Permissions** \"tenant-management.settings.delete\"
|
|
589
|
+
* @summary Delete an IdP group and all of its mappings
|
|
590
|
+
* @param {string} code IdP group code.
|
|
591
|
+
* @param {string} [authorization] Bearer Token
|
|
522
592
|
* @param {*} [options] Override http request option.
|
|
523
593
|
* @throws {RequiredError}
|
|
524
594
|
*/
|
|
525
|
-
|
|
526
|
-
return localVarFp.
|
|
595
|
+
deleteSsoIdpGroup: function (code, authorization, options) {
|
|
596
|
+
return localVarFp.deleteSsoIdpGroup(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
527
597
|
},
|
|
528
598
|
/**
|
|
529
|
-
*
|
|
530
|
-
* @summary
|
|
531
|
-
* @param {string} code
|
|
532
|
-
* @param {string} [authorization] Bearer Token
|
|
533
|
-
* @param {string} [expand] Fields to expand response by
|
|
599
|
+
* undefined **Required Permissions** \"tenant-management.settings.view\"
|
|
600
|
+
* @summary Get an IdP group by code
|
|
601
|
+
* @param {string} code IdP group code.
|
|
602
|
+
* @param {string} [authorization] Bearer Token
|
|
534
603
|
* @param {*} [options] Override http request option.
|
|
535
604
|
* @throws {RequiredError}
|
|
536
605
|
*/
|
|
537
|
-
|
|
538
|
-
return localVarFp.
|
|
606
|
+
getSsoIdpGroup: function (code, authorization, options) {
|
|
607
|
+
return localVarFp.getSsoIdpGroup(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
539
608
|
},
|
|
540
609
|
/**
|
|
541
|
-
*
|
|
542
|
-
* @summary List
|
|
543
|
-
* @param {string} [authorization] Bearer Token
|
|
544
|
-
* @param {number} [pageSize]
|
|
545
|
-
* @param {string} [pageToken]
|
|
546
|
-
* @param {string} [filter] Filter
|
|
547
|
-
* @param {string} [search]
|
|
548
|
-
* @param {string} [order]
|
|
610
|
+
* The `name` field is deprecated in favor of `externalId`. **Required Permissions** \"tenant-management.settings.view\"
|
|
611
|
+
* @summary List registered IdP groups
|
|
612
|
+
* @param {string} [authorization] Bearer Token
|
|
613
|
+
* @param {number} [pageSize] Number of items per page.
|
|
614
|
+
* @param {string} [pageToken] Opaque token for the next page (returned in a previous response).
|
|
615
|
+
* @param {string} [filter] Filter IdP groups by one or more fields. Allowed: id, code, externalId, isActive, userGroup.code, createdAt, updatedAt.
|
|
616
|
+
* @param {string} [search] Free-text search over searchable columns.
|
|
617
|
+
* @param {string} [order] Sort the response. Allowed columns: id, code, externalId, isActive, createdAt, updatedAt.
|
|
549
618
|
* @param {string} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
550
619
|
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
551
620
|
* @param {*} [options] Override http request option.
|
|
552
621
|
* @throws {RequiredError}
|
|
553
622
|
*/
|
|
554
|
-
|
|
555
|
-
return localVarFp.
|
|
623
|
+
listSsoIdpGroups: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
624
|
+
return localVarFp.listSsoIdpGroups(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
556
625
|
},
|
|
557
626
|
/**
|
|
558
|
-
*
|
|
559
|
-
* @summary Update the
|
|
560
|
-
* @param {string} code
|
|
561
|
-
* @param {
|
|
562
|
-
* @param {string} [authorization] Bearer Token
|
|
627
|
+
* externalId is immutable. eisUserGroupCodes is set-replace when present. **Required Permissions** \"tenant-management.settings.update\"
|
|
628
|
+
* @summary Update the EIS mappings of an IdP group
|
|
629
|
+
* @param {string} code IdP group code.
|
|
630
|
+
* @param {UpdateSsoIdpGroupBodyDto} updateSsoIdpGroupBodyDto
|
|
631
|
+
* @param {string} [authorization] Bearer Token
|
|
563
632
|
* @param {*} [options] Override http request option.
|
|
564
633
|
* @throws {RequiredError}
|
|
565
634
|
*/
|
|
566
|
-
|
|
567
|
-
return localVarFp.
|
|
635
|
+
updateSsoIdpGroup: function (code, updateSsoIdpGroupBodyDto, authorization, options) {
|
|
636
|
+
return localVarFp.updateSsoIdpGroup(code, updateSsoIdpGroupBodyDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
637
|
+
},
|
|
638
|
+
/**
|
|
639
|
+
* Switches whether the IdP group participates in login-time access resolution. Status is shared across every mapping edge for that group. **Required Permissions** \"tenant-management.settings.update\"
|
|
640
|
+
* @summary Activate or deactivate an IdP group
|
|
641
|
+
* @param {string} code IdP group code.
|
|
642
|
+
* @param {UpdateSsoIdpGroupStatusBodyDto} updateSsoIdpGroupStatusBodyDto
|
|
643
|
+
* @param {string} [authorization] Bearer Token
|
|
644
|
+
* @param {*} [options] Override http request option.
|
|
645
|
+
* @throws {RequiredError}
|
|
646
|
+
*/
|
|
647
|
+
updateSsoIdpGroupStatus: function (code, updateSsoIdpGroupStatusBodyDto, authorization, options) {
|
|
648
|
+
return localVarFp.updateSsoIdpGroupStatus(code, updateSsoIdpGroupStatusBodyDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
568
649
|
},
|
|
569
650
|
};
|
|
570
651
|
};
|
|
571
|
-
exports.
|
|
652
|
+
exports.SSOIdPGroupsApiFactory = SSOIdPGroupsApiFactory;
|
|
572
653
|
/**
|
|
573
|
-
*
|
|
654
|
+
* SSOIdPGroupsApi - object-oriented interface
|
|
574
655
|
* @export
|
|
575
|
-
* @class
|
|
656
|
+
* @class SSOIdPGroupsApi
|
|
576
657
|
* @extends {BaseAPI}
|
|
577
658
|
*/
|
|
578
|
-
var
|
|
579
|
-
__extends(
|
|
580
|
-
function
|
|
659
|
+
var SSOIdPGroupsApi = /** @class */ (function (_super) {
|
|
660
|
+
__extends(SSOIdPGroupsApi, _super);
|
|
661
|
+
function SSOIdPGroupsApi() {
|
|
581
662
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
582
663
|
}
|
|
583
664
|
/**
|
|
584
|
-
* Creates
|
|
585
|
-
* @summary
|
|
586
|
-
* @param {
|
|
665
|
+
* Creates an inactive IdP group with at least one EIS user-group mapping. externalId is any text and is immutable after create. **Required Permissions** \"tenant-management.settings.create\"
|
|
666
|
+
* @summary Register an IdP group and its EIS mappings
|
|
667
|
+
* @param {SSOIdPGroupsApiCreateSsoIdpGroupRequest} requestParameters Request parameters.
|
|
587
668
|
* @param {*} [options] Override http request option.
|
|
588
669
|
* @throws {RequiredError}
|
|
589
|
-
* @memberof
|
|
670
|
+
* @memberof SSOIdPGroupsApi
|
|
590
671
|
*/
|
|
591
|
-
|
|
672
|
+
SSOIdPGroupsApi.prototype.createSsoIdpGroup = function (requestParameters, options) {
|
|
592
673
|
var _this = this;
|
|
593
|
-
return (0, exports.
|
|
674
|
+
return (0, exports.SSOIdPGroupsApiFp)(this.configuration).createSsoIdpGroup(requestParameters.createSsoIdpGroupRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
594
675
|
};
|
|
595
676
|
/**
|
|
596
|
-
*
|
|
597
|
-
* @summary Delete
|
|
598
|
-
* @param {
|
|
677
|
+
* undefined **Required Permissions** \"tenant-management.settings.delete\"
|
|
678
|
+
* @summary Delete an IdP group and all of its mappings
|
|
679
|
+
* @param {SSOIdPGroupsApiDeleteSsoIdpGroupRequest} requestParameters Request parameters.
|
|
599
680
|
* @param {*} [options] Override http request option.
|
|
600
681
|
* @throws {RequiredError}
|
|
601
|
-
* @memberof
|
|
682
|
+
* @memberof SSOIdPGroupsApi
|
|
602
683
|
*/
|
|
603
|
-
|
|
684
|
+
SSOIdPGroupsApi.prototype.deleteSsoIdpGroup = function (requestParameters, options) {
|
|
604
685
|
var _this = this;
|
|
605
|
-
return (0, exports.
|
|
686
|
+
return (0, exports.SSOIdPGroupsApiFp)(this.configuration).deleteSsoIdpGroup(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
606
687
|
};
|
|
607
688
|
/**
|
|
608
|
-
*
|
|
609
|
-
* @summary
|
|
610
|
-
* @param {
|
|
689
|
+
* undefined **Required Permissions** \"tenant-management.settings.view\"
|
|
690
|
+
* @summary Get an IdP group by code
|
|
691
|
+
* @param {SSOIdPGroupsApiGetSsoIdpGroupRequest} requestParameters Request parameters.
|
|
611
692
|
* @param {*} [options] Override http request option.
|
|
612
693
|
* @throws {RequiredError}
|
|
613
|
-
* @memberof
|
|
694
|
+
* @memberof SSOIdPGroupsApi
|
|
614
695
|
*/
|
|
615
|
-
|
|
696
|
+
SSOIdPGroupsApi.prototype.getSsoIdpGroup = function (requestParameters, options) {
|
|
616
697
|
var _this = this;
|
|
617
|
-
return (0, exports.
|
|
698
|
+
return (0, exports.SSOIdPGroupsApiFp)(this.configuration).getSsoIdpGroup(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
618
699
|
};
|
|
619
700
|
/**
|
|
620
|
-
*
|
|
621
|
-
* @summary List
|
|
622
|
-
* @param {
|
|
701
|
+
* The `name` field is deprecated in favor of `externalId`. **Required Permissions** \"tenant-management.settings.view\"
|
|
702
|
+
* @summary List registered IdP groups
|
|
703
|
+
* @param {SSOIdPGroupsApiListSsoIdpGroupsRequest} requestParameters Request parameters.
|
|
623
704
|
* @param {*} [options] Override http request option.
|
|
624
705
|
* @throws {RequiredError}
|
|
625
|
-
* @memberof
|
|
706
|
+
* @memberof SSOIdPGroupsApi
|
|
626
707
|
*/
|
|
627
|
-
|
|
708
|
+
SSOIdPGroupsApi.prototype.listSsoIdpGroups = function (requestParameters, options) {
|
|
628
709
|
var _this = this;
|
|
629
710
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
630
|
-
return (0, exports.
|
|
711
|
+
return (0, exports.SSOIdPGroupsApiFp)(this.configuration).listSsoIdpGroups(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
712
|
+
};
|
|
713
|
+
/**
|
|
714
|
+
* externalId is immutable. eisUserGroupCodes is set-replace when present. **Required Permissions** \"tenant-management.settings.update\"
|
|
715
|
+
* @summary Update the EIS mappings of an IdP group
|
|
716
|
+
* @param {SSOIdPGroupsApiUpdateSsoIdpGroupRequest} requestParameters Request parameters.
|
|
717
|
+
* @param {*} [options] Override http request option.
|
|
718
|
+
* @throws {RequiredError}
|
|
719
|
+
* @memberof SSOIdPGroupsApi
|
|
720
|
+
*/
|
|
721
|
+
SSOIdPGroupsApi.prototype.updateSsoIdpGroup = function (requestParameters, options) {
|
|
722
|
+
var _this = this;
|
|
723
|
+
return (0, exports.SSOIdPGroupsApiFp)(this.configuration).updateSsoIdpGroup(requestParameters.code, requestParameters.updateSsoIdpGroupBodyDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
631
724
|
};
|
|
632
725
|
/**
|
|
633
|
-
*
|
|
634
|
-
* @summary
|
|
635
|
-
* @param {
|
|
726
|
+
* Switches whether the IdP group participates in login-time access resolution. Status is shared across every mapping edge for that group. **Required Permissions** \"tenant-management.settings.update\"
|
|
727
|
+
* @summary Activate or deactivate an IdP group
|
|
728
|
+
* @param {SSOIdPGroupsApiUpdateSsoIdpGroupStatusRequest} requestParameters Request parameters.
|
|
636
729
|
* @param {*} [options] Override http request option.
|
|
637
730
|
* @throws {RequiredError}
|
|
638
|
-
* @memberof
|
|
731
|
+
* @memberof SSOIdPGroupsApi
|
|
639
732
|
*/
|
|
640
|
-
|
|
733
|
+
SSOIdPGroupsApi.prototype.updateSsoIdpGroupStatus = function (requestParameters, options) {
|
|
641
734
|
var _this = this;
|
|
642
|
-
return (0, exports.
|
|
735
|
+
return (0, exports.SSOIdPGroupsApiFp)(this.configuration).updateSsoIdpGroupStatus(requestParameters.code, requestParameters.updateSsoIdpGroupStatusBodyDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
643
736
|
};
|
|
644
|
-
return
|
|
737
|
+
return SSOIdPGroupsApi;
|
|
645
738
|
}(base_1.BaseAPI));
|
|
646
|
-
exports.
|
|
739
|
+
exports.SSOIdPGroupsApi = SSOIdPGroupsApi;
|