@emilgroup/tenant-sdk-node 1.39.1-beta.36 → 1.39.1-beta.38

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.
@@ -14,6 +14,9 @@ import { Configuration } from '../configuration';
14
14
  import { RequestArgs, BaseAPI } from '../base';
15
15
  import { CreateSsoIdpGroupRequestDto } from '../models';
16
16
  import { CreateSsoIdpGroupResponseClass } from '../models';
17
+ import { DeleteByCodeResponseClass } from '../models';
18
+ import { GetSsoIdpGroupResponseClass } from '../models';
19
+ import { ListSsoIdpGroupsResponseClass } from '../models';
17
20
  import { UpdateSsoIdpGroupBodyDto } from '../models';
18
21
  import { UpdateSsoIdpGroupResponseClass } from '../models';
19
22
  /**
@@ -30,6 +33,39 @@ export declare const SSOIdPGroupsApiAxiosParamCreator: (configuration?: Configur
30
33
  * @throws {RequiredError}
31
34
  */
32
35
  createSsoIdpGroup: (createSsoIdpGroupRequestDto: CreateSsoIdpGroupRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
36
+ /**
37
+ * undefined **Required Permissions** \"tenant-management.settings.delete\"
38
+ * @summary Delete an IdP group and all of its mappings
39
+ * @param {string} code IdP group code.
40
+ * @param {string} [authorization] Bearer Token
41
+ * @param {*} [options] Override http request option.
42
+ * @throws {RequiredError}
43
+ */
44
+ deleteSsoIdpGroup: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
45
+ /**
46
+ * undefined **Required Permissions** \"tenant-management.settings.view\"
47
+ * @summary Get an IdP group by code
48
+ * @param {string} code IdP group code.
49
+ * @param {string} [authorization] Bearer Token
50
+ * @param {*} [options] Override http request option.
51
+ * @throws {RequiredError}
52
+ */
53
+ getSsoIdpGroup: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
54
+ /**
55
+ * undefined **Required Permissions** \"tenant-management.settings.view\"
56
+ * @summary List registered IdP groups
57
+ * @param {string} [authorization] Bearer Token
58
+ * @param {number} [pageSize] Number of items per page.
59
+ * @param {string} [pageToken] Opaque token for the next page (returned in a previous response).
60
+ * @param {string} [filter] Filter IdP groups by one or more fields. Allowed: id, code, externalId, name, isActive, userGroup.code, createdAt, updatedAt.
61
+ * @param {string} [search] Free-text search over searchable columns.
62
+ * @param {string} [order] Sort the response. Allowed columns: id, code, externalId, name, isActive, createdAt, updatedAt.
63
+ * @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.
64
+ * @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.
65
+ * @param {*} [options] Override http request option.
66
+ * @throws {RequiredError}
67
+ */
68
+ listSsoIdpGroups: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
33
69
  /**
34
70
  * externalId is immutable. eisUserGroupCodes is set-replace when present. **Required Permissions** \"tenant-management.settings.update\"
35
71
  * @summary Update IdP group name and/or EIS mappings
@@ -55,6 +91,39 @@ export declare const SSOIdPGroupsApiFp: (configuration?: Configuration) => {
55
91
  * @throws {RequiredError}
56
92
  */
57
93
  createSsoIdpGroup(createSsoIdpGroupRequestDto: CreateSsoIdpGroupRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateSsoIdpGroupResponseClass>>;
94
+ /**
95
+ * undefined **Required Permissions** \"tenant-management.settings.delete\"
96
+ * @summary Delete an IdP group and all of its mappings
97
+ * @param {string} code IdP group code.
98
+ * @param {string} [authorization] Bearer Token
99
+ * @param {*} [options] Override http request option.
100
+ * @throws {RequiredError}
101
+ */
102
+ deleteSsoIdpGroup(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteByCodeResponseClass>>;
103
+ /**
104
+ * undefined **Required Permissions** \"tenant-management.settings.view\"
105
+ * @summary Get an IdP group by code
106
+ * @param {string} code IdP group code.
107
+ * @param {string} [authorization] Bearer Token
108
+ * @param {*} [options] Override http request option.
109
+ * @throws {RequiredError}
110
+ */
111
+ getSsoIdpGroup(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetSsoIdpGroupResponseClass>>;
112
+ /**
113
+ * undefined **Required Permissions** \"tenant-management.settings.view\"
114
+ * @summary List registered IdP groups
115
+ * @param {string} [authorization] Bearer Token
116
+ * @param {number} [pageSize] Number of items per page.
117
+ * @param {string} [pageToken] Opaque token for the next page (returned in a previous response).
118
+ * @param {string} [filter] Filter IdP groups by one or more fields. Allowed: id, code, externalId, name, isActive, userGroup.code, createdAt, updatedAt.
119
+ * @param {string} [search] Free-text search over searchable columns.
120
+ * @param {string} [order] Sort the response. Allowed columns: id, code, externalId, name, isActive, createdAt, updatedAt.
121
+ * @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.
122
+ * @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.
123
+ * @param {*} [options] Override http request option.
124
+ * @throws {RequiredError}
125
+ */
126
+ listSsoIdpGroups(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListSsoIdpGroupsResponseClass>>;
58
127
  /**
59
128
  * externalId is immutable. eisUserGroupCodes is set-replace when present. **Required Permissions** \"tenant-management.settings.update\"
60
129
  * @summary Update IdP group name and/or EIS mappings
@@ -80,6 +149,39 @@ export declare const SSOIdPGroupsApiFactory: (configuration?: Configuration, bas
80
149
  * @throws {RequiredError}
81
150
  */
82
151
  createSsoIdpGroup(createSsoIdpGroupRequestDto: CreateSsoIdpGroupRequestDto, authorization?: string, options?: any): AxiosPromise<CreateSsoIdpGroupResponseClass>;
152
+ /**
153
+ * undefined **Required Permissions** \"tenant-management.settings.delete\"
154
+ * @summary Delete an IdP group and all of its mappings
155
+ * @param {string} code IdP group code.
156
+ * @param {string} [authorization] Bearer Token
157
+ * @param {*} [options] Override http request option.
158
+ * @throws {RequiredError}
159
+ */
160
+ deleteSsoIdpGroup(code: string, authorization?: string, options?: any): AxiosPromise<DeleteByCodeResponseClass>;
161
+ /**
162
+ * undefined **Required Permissions** \"tenant-management.settings.view\"
163
+ * @summary Get an IdP group by code
164
+ * @param {string} code IdP group code.
165
+ * @param {string} [authorization] Bearer Token
166
+ * @param {*} [options] Override http request option.
167
+ * @throws {RequiredError}
168
+ */
169
+ getSsoIdpGroup(code: string, authorization?: string, options?: any): AxiosPromise<GetSsoIdpGroupResponseClass>;
170
+ /**
171
+ * undefined **Required Permissions** \"tenant-management.settings.view\"
172
+ * @summary List registered IdP groups
173
+ * @param {string} [authorization] Bearer Token
174
+ * @param {number} [pageSize] Number of items per page.
175
+ * @param {string} [pageToken] Opaque token for the next page (returned in a previous response).
176
+ * @param {string} [filter] Filter IdP groups by one or more fields. Allowed: id, code, externalId, name, isActive, userGroup.code, createdAt, updatedAt.
177
+ * @param {string} [search] Free-text search over searchable columns.
178
+ * @param {string} [order] Sort the response. Allowed columns: id, code, externalId, name, isActive, createdAt, updatedAt.
179
+ * @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.
180
+ * @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.
181
+ * @param {*} [options] Override http request option.
182
+ * @throws {RequiredError}
183
+ */
184
+ listSsoIdpGroups(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListSsoIdpGroupsResponseClass>;
83
185
  /**
84
186
  * externalId is immutable. eisUserGroupCodes is set-replace when present. **Required Permissions** \"tenant-management.settings.update\"
85
187
  * @summary Update IdP group name and/or EIS mappings
@@ -110,6 +212,99 @@ export interface SSOIdPGroupsApiCreateSsoIdpGroupRequest {
110
212
  */
111
213
  readonly authorization?: string;
112
214
  }
215
+ /**
216
+ * Request parameters for deleteSsoIdpGroup operation in SSOIdPGroupsApi.
217
+ * @export
218
+ * @interface SSOIdPGroupsApiDeleteSsoIdpGroupRequest
219
+ */
220
+ export interface SSOIdPGroupsApiDeleteSsoIdpGroupRequest {
221
+ /**
222
+ * IdP group code.
223
+ * @type {string}
224
+ * @memberof SSOIdPGroupsApiDeleteSsoIdpGroup
225
+ */
226
+ readonly code: string;
227
+ /**
228
+ * Bearer Token
229
+ * @type {string}
230
+ * @memberof SSOIdPGroupsApiDeleteSsoIdpGroup
231
+ */
232
+ readonly authorization?: string;
233
+ }
234
+ /**
235
+ * Request parameters for getSsoIdpGroup operation in SSOIdPGroupsApi.
236
+ * @export
237
+ * @interface SSOIdPGroupsApiGetSsoIdpGroupRequest
238
+ */
239
+ export interface SSOIdPGroupsApiGetSsoIdpGroupRequest {
240
+ /**
241
+ * IdP group code.
242
+ * @type {string}
243
+ * @memberof SSOIdPGroupsApiGetSsoIdpGroup
244
+ */
245
+ readonly code: string;
246
+ /**
247
+ * Bearer Token
248
+ * @type {string}
249
+ * @memberof SSOIdPGroupsApiGetSsoIdpGroup
250
+ */
251
+ readonly authorization?: string;
252
+ }
253
+ /**
254
+ * Request parameters for listSsoIdpGroups operation in SSOIdPGroupsApi.
255
+ * @export
256
+ * @interface SSOIdPGroupsApiListSsoIdpGroupsRequest
257
+ */
258
+ export interface SSOIdPGroupsApiListSsoIdpGroupsRequest {
259
+ /**
260
+ * Bearer Token
261
+ * @type {string}
262
+ * @memberof SSOIdPGroupsApiListSsoIdpGroups
263
+ */
264
+ readonly authorization?: string;
265
+ /**
266
+ * Number of items per page.
267
+ * @type {number}
268
+ * @memberof SSOIdPGroupsApiListSsoIdpGroups
269
+ */
270
+ readonly pageSize?: number;
271
+ /**
272
+ * Opaque token for the next page (returned in a previous response).
273
+ * @type {string}
274
+ * @memberof SSOIdPGroupsApiListSsoIdpGroups
275
+ */
276
+ readonly pageToken?: string;
277
+ /**
278
+ * Filter IdP groups by one or more fields. Allowed: id, code, externalId, name, isActive, userGroup.code, createdAt, updatedAt.
279
+ * @type {string}
280
+ * @memberof SSOIdPGroupsApiListSsoIdpGroups
281
+ */
282
+ readonly filter?: string;
283
+ /**
284
+ * Free-text search over searchable columns.
285
+ * @type {string}
286
+ * @memberof SSOIdPGroupsApiListSsoIdpGroups
287
+ */
288
+ readonly search?: string;
289
+ /**
290
+ * Sort the response. Allowed columns: id, code, externalId, name, isActive, createdAt, updatedAt.
291
+ * @type {string}
292
+ * @memberof SSOIdPGroupsApiListSsoIdpGroups
293
+ */
294
+ readonly order?: string;
295
+ /**
296
+ * 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.
297
+ * @type {string}
298
+ * @memberof SSOIdPGroupsApiListSsoIdpGroups
299
+ */
300
+ readonly expand?: string;
301
+ /**
302
+ * 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.
303
+ * @type {string}
304
+ * @memberof SSOIdPGroupsApiListSsoIdpGroups
305
+ */
306
+ readonly filters?: string;
307
+ }
113
308
  /**
114
309
  * Request parameters for updateSsoIdpGroup operation in SSOIdPGroupsApi.
115
310
  * @export
@@ -151,6 +346,33 @@ export declare class SSOIdPGroupsApi extends BaseAPI {
151
346
  * @memberof SSOIdPGroupsApi
152
347
  */
153
348
  createSsoIdpGroup(requestParameters: SSOIdPGroupsApiCreateSsoIdpGroupRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateSsoIdpGroupResponseClass, any, {}>>;
349
+ /**
350
+ * undefined **Required Permissions** \"tenant-management.settings.delete\"
351
+ * @summary Delete an IdP group and all of its mappings
352
+ * @param {SSOIdPGroupsApiDeleteSsoIdpGroupRequest} requestParameters Request parameters.
353
+ * @param {*} [options] Override http request option.
354
+ * @throws {RequiredError}
355
+ * @memberof SSOIdPGroupsApi
356
+ */
357
+ deleteSsoIdpGroup(requestParameters: SSOIdPGroupsApiDeleteSsoIdpGroupRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteByCodeResponseClass, any, {}>>;
358
+ /**
359
+ * undefined **Required Permissions** \"tenant-management.settings.view\"
360
+ * @summary Get an IdP group by code
361
+ * @param {SSOIdPGroupsApiGetSsoIdpGroupRequest} requestParameters Request parameters.
362
+ * @param {*} [options] Override http request option.
363
+ * @throws {RequiredError}
364
+ * @memberof SSOIdPGroupsApi
365
+ */
366
+ getSsoIdpGroup(requestParameters: SSOIdPGroupsApiGetSsoIdpGroupRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetSsoIdpGroupResponseClass, any, {}>>;
367
+ /**
368
+ * undefined **Required Permissions** \"tenant-management.settings.view\"
369
+ * @summary List registered IdP groups
370
+ * @param {SSOIdPGroupsApiListSsoIdpGroupsRequest} requestParameters Request parameters.
371
+ * @param {*} [options] Override http request option.
372
+ * @throws {RequiredError}
373
+ * @memberof SSOIdPGroupsApi
374
+ */
375
+ listSsoIdpGroups(requestParameters?: SSOIdPGroupsApiListSsoIdpGroupsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListSsoIdpGroupsResponseClass, any, {}>>;
154
376
  /**
155
377
  * externalId is immutable. eisUserGroupCodes is set-replace when present. **Required Permissions** \"tenant-management.settings.update\"
156
378
  * @summary Update IdP group name and/or EIS mappings
@@ -145,6 +145,174 @@ var SSOIdPGroupsApiAxiosParamCreator = function (configuration) {
145
145
  });
146
146
  });
147
147
  },
148
+ /**
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
+ * @param {*} [options] Override http request option.
154
+ * @throws {RequiredError}
155
+ */
156
+ deleteSsoIdpGroup: function (code, authorization, options) {
157
+ if (options === void 0) { options = {}; }
158
+ return __awaiter(_this, void 0, void 0, function () {
159
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
160
+ return __generator(this, function (_a) {
161
+ switch (_a.label) {
162
+ case 0:
163
+ // verify required parameter 'code' is not null or undefined
164
+ (0, common_1.assertParamExists)('deleteSsoIdpGroup', 'code', code);
165
+ localVarPath = "/tenantservice/v1/sso-idp-groups/{code}"
166
+ .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
167
+ localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
168
+ if (configuration) {
169
+ baseOptions = configuration.baseOptions;
170
+ baseAccessToken = configuration.accessToken;
171
+ }
172
+ localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
173
+ localVarHeaderParameter = {};
174
+ localVarQueryParameter = {};
175
+ // authentication bearer required
176
+ // http bearer authentication required
177
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
178
+ case 1:
179
+ // authentication bearer required
180
+ // http bearer authentication required
181
+ _a.sent();
182
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
183
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
184
+ }
185
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
186
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
187
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
188
+ return [2 /*return*/, {
189
+ url: (0, common_1.toPathString)(localVarUrlObj),
190
+ options: localVarRequestOptions,
191
+ }];
192
+ }
193
+ });
194
+ });
195
+ },
196
+ /**
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
201
+ * @param {*} [options] Override http request option.
202
+ * @throws {RequiredError}
203
+ */
204
+ getSsoIdpGroup: function (code, authorization, options) {
205
+ if (options === void 0) { options = {}; }
206
+ return __awaiter(_this, void 0, void 0, function () {
207
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
208
+ return __generator(this, function (_a) {
209
+ switch (_a.label) {
210
+ case 0:
211
+ // verify required parameter 'code' is not null or undefined
212
+ (0, common_1.assertParamExists)('getSsoIdpGroup', 'code', code);
213
+ localVarPath = "/tenantservice/v1/sso-idp-groups/{code}"
214
+ .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
215
+ localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
216
+ if (configuration) {
217
+ baseOptions = configuration.baseOptions;
218
+ baseAccessToken = configuration.accessToken;
219
+ }
220
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
221
+ localVarHeaderParameter = {};
222
+ localVarQueryParameter = {};
223
+ // authentication bearer required
224
+ // http bearer authentication required
225
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
226
+ case 1:
227
+ // authentication bearer required
228
+ // http bearer authentication required
229
+ _a.sent();
230
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
231
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
232
+ }
233
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
234
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
235
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
236
+ return [2 /*return*/, {
237
+ url: (0, common_1.toPathString)(localVarUrlObj),
238
+ options: localVarRequestOptions,
239
+ }];
240
+ }
241
+ });
242
+ });
243
+ },
244
+ /**
245
+ * undefined **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, name, 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, name, isActive, createdAt, updatedAt.
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.
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.
255
+ * @param {*} [options] Override http request option.
256
+ * @throws {RequiredError}
257
+ */
258
+ listSsoIdpGroups: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
259
+ if (options === void 0) { options = {}; }
260
+ return __awaiter(_this, void 0, void 0, function () {
261
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
262
+ return __generator(this, function (_a) {
263
+ switch (_a.label) {
264
+ case 0:
265
+ localVarPath = "/tenantservice/v1/sso-idp-groups";
266
+ localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
267
+ if (configuration) {
268
+ baseOptions = configuration.baseOptions;
269
+ baseAccessToken = configuration.accessToken;
270
+ }
271
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
272
+ localVarHeaderParameter = {};
273
+ localVarQueryParameter = {};
274
+ // authentication bearer required
275
+ // http bearer authentication required
276
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
277
+ case 1:
278
+ // authentication bearer required
279
+ // http bearer authentication required
280
+ _a.sent();
281
+ if (pageSize !== undefined) {
282
+ localVarQueryParameter['pageSize'] = pageSize;
283
+ }
284
+ if (pageToken !== undefined) {
285
+ localVarQueryParameter['pageToken'] = pageToken;
286
+ }
287
+ if (filter !== undefined) {
288
+ localVarQueryParameter['filter'] = filter;
289
+ }
290
+ if (search !== undefined) {
291
+ localVarQueryParameter['search'] = search;
292
+ }
293
+ if (order !== undefined) {
294
+ localVarQueryParameter['order'] = order;
295
+ }
296
+ if (expand !== undefined) {
297
+ localVarQueryParameter['expand'] = expand;
298
+ }
299
+ if (filters !== undefined) {
300
+ localVarQueryParameter['filters'] = filters;
301
+ }
302
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
303
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
304
+ }
305
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
306
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
307
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
308
+ return [2 /*return*/, {
309
+ url: (0, common_1.toPathString)(localVarUrlObj),
310
+ options: localVarRequestOptions,
311
+ }];
312
+ }
313
+ });
314
+ });
315
+ },
148
316
  /**
149
317
  * externalId is immutable. eisUserGroupCodes is set-replace when present. **Required Permissions** \"tenant-management.settings.update\"
150
318
  * @summary Update IdP group name and/or EIS mappings
@@ -229,6 +397,75 @@ var SSOIdPGroupsApiFp = function (configuration) {
229
397
  });
230
398
  });
231
399
  },
400
+ /**
401
+ * undefined **Required Permissions** \"tenant-management.settings.delete\"
402
+ * @summary Delete an IdP group and all of its mappings
403
+ * @param {string} code IdP group code.
404
+ * @param {string} [authorization] Bearer Token
405
+ * @param {*} [options] Override http request option.
406
+ * @throws {RequiredError}
407
+ */
408
+ deleteSsoIdpGroup: function (code, authorization, options) {
409
+ return __awaiter(this, void 0, void 0, function () {
410
+ var localVarAxiosArgs;
411
+ return __generator(this, function (_a) {
412
+ switch (_a.label) {
413
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteSsoIdpGroup(code, authorization, options)];
414
+ case 1:
415
+ localVarAxiosArgs = _a.sent();
416
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
417
+ }
418
+ });
419
+ });
420
+ },
421
+ /**
422
+ * undefined **Required Permissions** \"tenant-management.settings.view\"
423
+ * @summary Get an IdP group by code
424
+ * @param {string} code IdP group code.
425
+ * @param {string} [authorization] Bearer Token
426
+ * @param {*} [options] Override http request option.
427
+ * @throws {RequiredError}
428
+ */
429
+ getSsoIdpGroup: function (code, authorization, options) {
430
+ return __awaiter(this, void 0, void 0, function () {
431
+ var localVarAxiosArgs;
432
+ return __generator(this, function (_a) {
433
+ switch (_a.label) {
434
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getSsoIdpGroup(code, authorization, options)];
435
+ case 1:
436
+ localVarAxiosArgs = _a.sent();
437
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
438
+ }
439
+ });
440
+ });
441
+ },
442
+ /**
443
+ * undefined **Required Permissions** \"tenant-management.settings.view\"
444
+ * @summary List registered IdP groups
445
+ * @param {string} [authorization] Bearer Token
446
+ * @param {number} [pageSize] Number of items per page.
447
+ * @param {string} [pageToken] Opaque token for the next page (returned in a previous response).
448
+ * @param {string} [filter] Filter IdP groups by one or more fields. Allowed: id, code, externalId, name, isActive, userGroup.code, createdAt, updatedAt.
449
+ * @param {string} [search] Free-text search over searchable columns.
450
+ * @param {string} [order] Sort the response. Allowed columns: id, code, externalId, name, isActive, createdAt, updatedAt.
451
+ * @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.
452
+ * @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.
453
+ * @param {*} [options] Override http request option.
454
+ * @throws {RequiredError}
455
+ */
456
+ listSsoIdpGroups: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
457
+ return __awaiter(this, void 0, void 0, function () {
458
+ var localVarAxiosArgs;
459
+ return __generator(this, function (_a) {
460
+ switch (_a.label) {
461
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.listSsoIdpGroups(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
462
+ case 1:
463
+ localVarAxiosArgs = _a.sent();
464
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
465
+ }
466
+ });
467
+ });
468
+ },
232
469
  /**
233
470
  * externalId is immutable. eisUserGroupCodes is set-replace when present. **Required Permissions** \"tenant-management.settings.update\"
234
471
  * @summary Update IdP group name and/or EIS mappings
@@ -272,6 +509,45 @@ var SSOIdPGroupsApiFactory = function (configuration, basePath, axios) {
272
509
  createSsoIdpGroup: function (createSsoIdpGroupRequestDto, authorization, options) {
273
510
  return localVarFp.createSsoIdpGroup(createSsoIdpGroupRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
274
511
  },
512
+ /**
513
+ * undefined **Required Permissions** \"tenant-management.settings.delete\"
514
+ * @summary Delete an IdP group and all of its mappings
515
+ * @param {string} code IdP group code.
516
+ * @param {string} [authorization] Bearer Token
517
+ * @param {*} [options] Override http request option.
518
+ * @throws {RequiredError}
519
+ */
520
+ deleteSsoIdpGroup: function (code, authorization, options) {
521
+ return localVarFp.deleteSsoIdpGroup(code, authorization, options).then(function (request) { return request(axios, basePath); });
522
+ },
523
+ /**
524
+ * undefined **Required Permissions** \"tenant-management.settings.view\"
525
+ * @summary Get an IdP group by code
526
+ * @param {string} code IdP group code.
527
+ * @param {string} [authorization] Bearer Token
528
+ * @param {*} [options] Override http request option.
529
+ * @throws {RequiredError}
530
+ */
531
+ getSsoIdpGroup: function (code, authorization, options) {
532
+ return localVarFp.getSsoIdpGroup(code, authorization, options).then(function (request) { return request(axios, basePath); });
533
+ },
534
+ /**
535
+ * undefined **Required Permissions** \"tenant-management.settings.view\"
536
+ * @summary List registered IdP groups
537
+ * @param {string} [authorization] Bearer Token
538
+ * @param {number} [pageSize] Number of items per page.
539
+ * @param {string} [pageToken] Opaque token for the next page (returned in a previous response).
540
+ * @param {string} [filter] Filter IdP groups by one or more fields. Allowed: id, code, externalId, name, isActive, userGroup.code, createdAt, updatedAt.
541
+ * @param {string} [search] Free-text search over searchable columns.
542
+ * @param {string} [order] Sort the response. Allowed columns: id, code, externalId, name, isActive, createdAt, updatedAt.
543
+ * @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.
544
+ * @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.
545
+ * @param {*} [options] Override http request option.
546
+ * @throws {RequiredError}
547
+ */
548
+ listSsoIdpGroups: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
549
+ return localVarFp.listSsoIdpGroups(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
550
+ },
275
551
  /**
276
552
  * externalId is immutable. eisUserGroupCodes is set-replace when present. **Required Permissions** \"tenant-management.settings.update\"
277
553
  * @summary Update IdP group name and/or EIS mappings
@@ -310,6 +586,43 @@ var SSOIdPGroupsApi = /** @class */ (function (_super) {
310
586
  var _this = this;
311
587
  return (0, exports.SSOIdPGroupsApiFp)(this.configuration).createSsoIdpGroup(requestParameters.createSsoIdpGroupRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
312
588
  };
589
+ /**
590
+ * undefined **Required Permissions** \"tenant-management.settings.delete\"
591
+ * @summary Delete an IdP group and all of its mappings
592
+ * @param {SSOIdPGroupsApiDeleteSsoIdpGroupRequest} requestParameters Request parameters.
593
+ * @param {*} [options] Override http request option.
594
+ * @throws {RequiredError}
595
+ * @memberof SSOIdPGroupsApi
596
+ */
597
+ SSOIdPGroupsApi.prototype.deleteSsoIdpGroup = function (requestParameters, options) {
598
+ var _this = this;
599
+ return (0, exports.SSOIdPGroupsApiFp)(this.configuration).deleteSsoIdpGroup(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
600
+ };
601
+ /**
602
+ * undefined **Required Permissions** \"tenant-management.settings.view\"
603
+ * @summary Get an IdP group by code
604
+ * @param {SSOIdPGroupsApiGetSsoIdpGroupRequest} requestParameters Request parameters.
605
+ * @param {*} [options] Override http request option.
606
+ * @throws {RequiredError}
607
+ * @memberof SSOIdPGroupsApi
608
+ */
609
+ SSOIdPGroupsApi.prototype.getSsoIdpGroup = function (requestParameters, options) {
610
+ var _this = this;
611
+ return (0, exports.SSOIdPGroupsApiFp)(this.configuration).getSsoIdpGroup(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
612
+ };
613
+ /**
614
+ * undefined **Required Permissions** \"tenant-management.settings.view\"
615
+ * @summary List registered IdP groups
616
+ * @param {SSOIdPGroupsApiListSsoIdpGroupsRequest} requestParameters Request parameters.
617
+ * @param {*} [options] Override http request option.
618
+ * @throws {RequiredError}
619
+ * @memberof SSOIdPGroupsApi
620
+ */
621
+ SSOIdPGroupsApi.prototype.listSsoIdpGroups = function (requestParameters, options) {
622
+ var _this = this;
623
+ if (requestParameters === void 0) { requestParameters = {}; }
624
+ 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); });
625
+ };
313
626
  /**
314
627
  * externalId is immutable. eisUserGroupCodes is set-replace when present. **Required Permissions** \"tenant-management.settings.update\"
315
628
  * @summary Update IdP group name and/or EIS mappings
@@ -0,0 +1,24 @@
1
+ /**
2
+ * EMIL Tenant Service
3
+ * The EMIL TenantService API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface DeleteByCodeResponseClass
16
+ */
17
+ export interface DeleteByCodeResponseClass {
18
+ /**
19
+ * Whether the IdP group was deleted.
20
+ * @type {boolean}
21
+ * @memberof DeleteByCodeResponseClass
22
+ */
23
+ 'success': boolean;
24
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL Tenant Service
6
+ * The EMIL TenantService API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: kontakt@emil.de
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });