@emilgroup/tenant-sdk 1.42.1-beta.37 → 1.42.1-beta.39

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.
@@ -182,6 +182,8 @@ models/update-sso-connection-status-body-dto.ts
182
182
  models/update-sso-connection-status-response-class.ts
183
183
  models/update-sso-idp-group-body-dto.ts
184
184
  models/update-sso-idp-group-response-class.ts
185
+ models/update-sso-idp-group-status-body-dto.ts
186
+ models/update-sso-idp-group-status-response-class.ts
185
187
  models/update-user-group-request-dto.ts
186
188
  models/update-user-group-response-class.ts
187
189
  models/user-class.ts
package/README.md CHANGED
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
17
17
  Navigate to the folder of your consuming project and run one of the following commands:
18
18
 
19
19
  ```
20
- npm install @emilgroup/tenant-sdk@1.42.1-beta.37 --save
20
+ npm install @emilgroup/tenant-sdk@1.42.1-beta.39 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/tenant-sdk@1.42.1-beta.37
24
+ yarn add @emilgroup/tenant-sdk@1.42.1-beta.39
25
25
  ```
26
26
 
27
27
  And then you can import `UsersApi`.
@@ -34,6 +34,10 @@ import { ListSsoIdpGroupsResponseClass } from '../models';
34
34
  import { UpdateSsoIdpGroupBodyDto } from '../models';
35
35
  // @ts-ignore
36
36
  import { UpdateSsoIdpGroupResponseClass } from '../models';
37
+ // @ts-ignore
38
+ import { UpdateSsoIdpGroupStatusBodyDto } from '../models';
39
+ // @ts-ignore
40
+ import { UpdateSsoIdpGroupStatusResponseClass } from '../models';
37
41
  /**
38
42
  * SSOIdPGroupsApi - axios parameter creator
39
43
  * @export
@@ -299,6 +303,57 @@ export const SSOIdPGroupsApiAxiosParamCreator = function (configuration?: Config
299
303
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
300
304
  localVarRequestOptions.data = serializeDataIfNeeded(updateSsoIdpGroupBodyDto, localVarRequestOptions, configuration)
301
305
 
306
+ return {
307
+ url: toPathString(localVarUrlObj),
308
+ options: localVarRequestOptions,
309
+ };
310
+ },
311
+ /**
312
+ * 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\"
313
+ * @summary Activate or deactivate an IdP group
314
+ * @param {string} code IdP group code.
315
+ * @param {UpdateSsoIdpGroupStatusBodyDto} updateSsoIdpGroupStatusBodyDto
316
+ * @param {string} [authorization] Bearer Token
317
+ * @param {*} [options] Override http request option.
318
+ * @throws {RequiredError}
319
+ */
320
+ updateSsoIdpGroupStatus: async (code: string, updateSsoIdpGroupStatusBodyDto: UpdateSsoIdpGroupStatusBodyDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
321
+ // verify required parameter 'code' is not null or undefined
322
+ assertParamExists('updateSsoIdpGroupStatus', 'code', code)
323
+ // verify required parameter 'updateSsoIdpGroupStatusBodyDto' is not null or undefined
324
+ assertParamExists('updateSsoIdpGroupStatus', 'updateSsoIdpGroupStatusBodyDto', updateSsoIdpGroupStatusBodyDto)
325
+ const localVarPath = `/tenantservice/v1/sso-idp-groups/{code}`
326
+ .replace(`{${"code"}}`, encodeURIComponent(String(code)));
327
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
328
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
329
+ let baseOptions;
330
+ let baseAccessToken;
331
+ if (configuration) {
332
+ baseOptions = configuration.baseOptions;
333
+ baseAccessToken = configuration.accessToken;
334
+ }
335
+
336
+ const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
337
+ const localVarHeaderParameter = {} as any;
338
+ const localVarQueryParameter = {} as any;
339
+
340
+ // authentication bearer required
341
+ // http bearer authentication required
342
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
343
+
344
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
345
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
346
+ }
347
+
348
+
349
+
350
+ localVarHeaderParameter['Content-Type'] = 'application/json';
351
+
352
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
353
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
354
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
355
+ localVarRequestOptions.data = serializeDataIfNeeded(updateSsoIdpGroupStatusBodyDto, localVarRequestOptions, configuration)
356
+
302
357
  return {
303
358
  url: toPathString(localVarUrlObj),
304
359
  options: localVarRequestOptions,
@@ -381,6 +436,19 @@ export const SSOIdPGroupsApiFp = function(configuration?: Configuration) {
381
436
  const localVarAxiosArgs = await localVarAxiosParamCreator.updateSsoIdpGroup(code, updateSsoIdpGroupBodyDto, authorization, options);
382
437
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
383
438
  },
439
+ /**
440
+ * 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\"
441
+ * @summary Activate or deactivate an IdP group
442
+ * @param {string} code IdP group code.
443
+ * @param {UpdateSsoIdpGroupStatusBodyDto} updateSsoIdpGroupStatusBodyDto
444
+ * @param {string} [authorization] Bearer Token
445
+ * @param {*} [options] Override http request option.
446
+ * @throws {RequiredError}
447
+ */
448
+ async updateSsoIdpGroupStatus(code: string, updateSsoIdpGroupStatusBodyDto: UpdateSsoIdpGroupStatusBodyDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateSsoIdpGroupStatusResponseClass>> {
449
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateSsoIdpGroupStatus(code, updateSsoIdpGroupStatusBodyDto, authorization, options);
450
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
451
+ },
384
452
  }
385
453
  };
386
454
 
@@ -453,6 +521,18 @@ export const SSOIdPGroupsApiFactory = function (configuration?: Configuration, b
453
521
  updateSsoIdpGroup(code: string, updateSsoIdpGroupBodyDto: UpdateSsoIdpGroupBodyDto, authorization?: string, options?: any): AxiosPromise<UpdateSsoIdpGroupResponseClass> {
454
522
  return localVarFp.updateSsoIdpGroup(code, updateSsoIdpGroupBodyDto, authorization, options).then((request) => request(axios, basePath));
455
523
  },
524
+ /**
525
+ * 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\"
526
+ * @summary Activate or deactivate an IdP group
527
+ * @param {string} code IdP group code.
528
+ * @param {UpdateSsoIdpGroupStatusBodyDto} updateSsoIdpGroupStatusBodyDto
529
+ * @param {string} [authorization] Bearer Token
530
+ * @param {*} [options] Override http request option.
531
+ * @throws {RequiredError}
532
+ */
533
+ updateSsoIdpGroupStatus(code: string, updateSsoIdpGroupStatusBodyDto: UpdateSsoIdpGroupStatusBodyDto, authorization?: string, options?: any): AxiosPromise<UpdateSsoIdpGroupStatusResponseClass> {
534
+ return localVarFp.updateSsoIdpGroupStatus(code, updateSsoIdpGroupStatusBodyDto, authorization, options).then((request) => request(axios, basePath));
535
+ },
456
536
  };
457
537
  };
458
538
 
@@ -610,6 +690,34 @@ export interface SSOIdPGroupsApiUpdateSsoIdpGroupRequest {
610
690
  readonly authorization?: string
611
691
  }
612
692
 
693
+ /**
694
+ * Request parameters for updateSsoIdpGroupStatus operation in SSOIdPGroupsApi.
695
+ * @export
696
+ * @interface SSOIdPGroupsApiUpdateSsoIdpGroupStatusRequest
697
+ */
698
+ export interface SSOIdPGroupsApiUpdateSsoIdpGroupStatusRequest {
699
+ /**
700
+ * IdP group code.
701
+ * @type {string}
702
+ * @memberof SSOIdPGroupsApiUpdateSsoIdpGroupStatus
703
+ */
704
+ readonly code: string
705
+
706
+ /**
707
+ *
708
+ * @type {UpdateSsoIdpGroupStatusBodyDto}
709
+ * @memberof SSOIdPGroupsApiUpdateSsoIdpGroupStatus
710
+ */
711
+ readonly updateSsoIdpGroupStatusBodyDto: UpdateSsoIdpGroupStatusBodyDto
712
+
713
+ /**
714
+ * Bearer Token
715
+ * @type {string}
716
+ * @memberof SSOIdPGroupsApiUpdateSsoIdpGroupStatus
717
+ */
718
+ readonly authorization?: string
719
+ }
720
+
613
721
  /**
614
722
  * SSOIdPGroupsApi - object-oriented interface
615
723
  * @export
@@ -676,4 +784,16 @@ export class SSOIdPGroupsApi extends BaseAPI {
676
784
  public updateSsoIdpGroup(requestParameters: SSOIdPGroupsApiUpdateSsoIdpGroupRequest, options?: AxiosRequestConfig) {
677
785
  return SSOIdPGroupsApiFp(this.configuration).updateSsoIdpGroup(requestParameters.code, requestParameters.updateSsoIdpGroupBodyDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
678
786
  }
787
+
788
+ /**
789
+ * 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\"
790
+ * @summary Activate or deactivate an IdP group
791
+ * @param {SSOIdPGroupsApiUpdateSsoIdpGroupStatusRequest} requestParameters Request parameters.
792
+ * @param {*} [options] Override http request option.
793
+ * @throws {RequiredError}
794
+ * @memberof SSOIdPGroupsApi
795
+ */
796
+ public updateSsoIdpGroupStatus(requestParameters: SSOIdPGroupsApiUpdateSsoIdpGroupStatusRequest, options?: AxiosRequestConfig) {
797
+ return SSOIdPGroupsApiFp(this.configuration).updateSsoIdpGroupStatus(requestParameters.code, requestParameters.updateSsoIdpGroupStatusBodyDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
798
+ }
679
799
  }
@@ -19,6 +19,8 @@ import { GetSsoIdpGroupResponseClass } from '../models';
19
19
  import { ListSsoIdpGroupsResponseClass } from '../models';
20
20
  import { UpdateSsoIdpGroupBodyDto } from '../models';
21
21
  import { UpdateSsoIdpGroupResponseClass } from '../models';
22
+ import { UpdateSsoIdpGroupStatusBodyDto } from '../models';
23
+ import { UpdateSsoIdpGroupStatusResponseClass } from '../models';
22
24
  /**
23
25
  * SSOIdPGroupsApi - axios parameter creator
24
26
  * @export
@@ -76,6 +78,16 @@ export declare const SSOIdPGroupsApiAxiosParamCreator: (configuration?: Configur
76
78
  * @throws {RequiredError}
77
79
  */
78
80
  updateSsoIdpGroup: (code: string, updateSsoIdpGroupBodyDto: UpdateSsoIdpGroupBodyDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
81
+ /**
82
+ * 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\"
83
+ * @summary Activate or deactivate an IdP group
84
+ * @param {string} code IdP group code.
85
+ * @param {UpdateSsoIdpGroupStatusBodyDto} updateSsoIdpGroupStatusBodyDto
86
+ * @param {string} [authorization] Bearer Token
87
+ * @param {*} [options] Override http request option.
88
+ * @throws {RequiredError}
89
+ */
90
+ updateSsoIdpGroupStatus: (code: string, updateSsoIdpGroupStatusBodyDto: UpdateSsoIdpGroupStatusBodyDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
79
91
  };
80
92
  /**
81
93
  * SSOIdPGroupsApi - functional programming interface
@@ -134,6 +146,16 @@ export declare const SSOIdPGroupsApiFp: (configuration?: Configuration) => {
134
146
  * @throws {RequiredError}
135
147
  */
136
148
  updateSsoIdpGroup(code: string, updateSsoIdpGroupBodyDto: UpdateSsoIdpGroupBodyDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateSsoIdpGroupResponseClass>>;
149
+ /**
150
+ * 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\"
151
+ * @summary Activate or deactivate an IdP group
152
+ * @param {string} code IdP group code.
153
+ * @param {UpdateSsoIdpGroupStatusBodyDto} updateSsoIdpGroupStatusBodyDto
154
+ * @param {string} [authorization] Bearer Token
155
+ * @param {*} [options] Override http request option.
156
+ * @throws {RequiredError}
157
+ */
158
+ updateSsoIdpGroupStatus(code: string, updateSsoIdpGroupStatusBodyDto: UpdateSsoIdpGroupStatusBodyDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateSsoIdpGroupStatusResponseClass>>;
137
159
  };
138
160
  /**
139
161
  * SSOIdPGroupsApi - factory interface
@@ -192,6 +214,16 @@ export declare const SSOIdPGroupsApiFactory: (configuration?: Configuration, bas
192
214
  * @throws {RequiredError}
193
215
  */
194
216
  updateSsoIdpGroup(code: string, updateSsoIdpGroupBodyDto: UpdateSsoIdpGroupBodyDto, authorization?: string, options?: any): AxiosPromise<UpdateSsoIdpGroupResponseClass>;
217
+ /**
218
+ * 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\"
219
+ * @summary Activate or deactivate an IdP group
220
+ * @param {string} code IdP group code.
221
+ * @param {UpdateSsoIdpGroupStatusBodyDto} updateSsoIdpGroupStatusBodyDto
222
+ * @param {string} [authorization] Bearer Token
223
+ * @param {*} [options] Override http request option.
224
+ * @throws {RequiredError}
225
+ */
226
+ updateSsoIdpGroupStatus(code: string, updateSsoIdpGroupStatusBodyDto: UpdateSsoIdpGroupStatusBodyDto, authorization?: string, options?: any): AxiosPromise<UpdateSsoIdpGroupStatusResponseClass>;
195
227
  };
196
228
  /**
197
229
  * Request parameters for createSsoIdpGroup operation in SSOIdPGroupsApi.
@@ -330,6 +362,31 @@ export interface SSOIdPGroupsApiUpdateSsoIdpGroupRequest {
330
362
  */
331
363
  readonly authorization?: string;
332
364
  }
365
+ /**
366
+ * Request parameters for updateSsoIdpGroupStatus operation in SSOIdPGroupsApi.
367
+ * @export
368
+ * @interface SSOIdPGroupsApiUpdateSsoIdpGroupStatusRequest
369
+ */
370
+ export interface SSOIdPGroupsApiUpdateSsoIdpGroupStatusRequest {
371
+ /**
372
+ * IdP group code.
373
+ * @type {string}
374
+ * @memberof SSOIdPGroupsApiUpdateSsoIdpGroupStatus
375
+ */
376
+ readonly code: string;
377
+ /**
378
+ *
379
+ * @type {UpdateSsoIdpGroupStatusBodyDto}
380
+ * @memberof SSOIdPGroupsApiUpdateSsoIdpGroupStatus
381
+ */
382
+ readonly updateSsoIdpGroupStatusBodyDto: UpdateSsoIdpGroupStatusBodyDto;
383
+ /**
384
+ * Bearer Token
385
+ * @type {string}
386
+ * @memberof SSOIdPGroupsApiUpdateSsoIdpGroupStatus
387
+ */
388
+ readonly authorization?: string;
389
+ }
333
390
  /**
334
391
  * SSOIdPGroupsApi - object-oriented interface
335
392
  * @export
@@ -382,4 +439,13 @@ export declare class SSOIdPGroupsApi extends BaseAPI {
382
439
  * @memberof SSOIdPGroupsApi
383
440
  */
384
441
  updateSsoIdpGroup(requestParameters: SSOIdPGroupsApiUpdateSsoIdpGroupRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateSsoIdpGroupResponseClass, any, {}>>;
442
+ /**
443
+ * 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\"
444
+ * @summary Activate or deactivate an IdP group
445
+ * @param {SSOIdPGroupsApiUpdateSsoIdpGroupStatusRequest} requestParameters Request parameters.
446
+ * @param {*} [options] Override http request option.
447
+ * @throws {RequiredError}
448
+ * @memberof SSOIdPGroupsApi
449
+ */
450
+ updateSsoIdpGroupStatus(requestParameters: SSOIdPGroupsApiUpdateSsoIdpGroupStatusRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateSsoIdpGroupStatusResponseClass, any, {}>>;
385
451
  }
@@ -362,6 +362,59 @@ var SSOIdPGroupsApiAxiosParamCreator = function (configuration) {
362
362
  });
363
363
  });
364
364
  },
365
+ /**
366
+ * 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\"
367
+ * @summary Activate or deactivate an IdP group
368
+ * @param {string} code IdP group code.
369
+ * @param {UpdateSsoIdpGroupStatusBodyDto} updateSsoIdpGroupStatusBodyDto
370
+ * @param {string} [authorization] Bearer Token
371
+ * @param {*} [options] Override http request option.
372
+ * @throws {RequiredError}
373
+ */
374
+ updateSsoIdpGroupStatus: function (code, updateSsoIdpGroupStatusBodyDto, authorization, options) {
375
+ if (options === void 0) { options = {}; }
376
+ return __awaiter(_this, void 0, void 0, function () {
377
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
378
+ return __generator(this, function (_a) {
379
+ switch (_a.label) {
380
+ case 0:
381
+ // verify required parameter 'code' is not null or undefined
382
+ (0, common_1.assertParamExists)('updateSsoIdpGroupStatus', 'code', code);
383
+ // verify required parameter 'updateSsoIdpGroupStatusBodyDto' is not null or undefined
384
+ (0, common_1.assertParamExists)('updateSsoIdpGroupStatus', 'updateSsoIdpGroupStatusBodyDto', updateSsoIdpGroupStatusBodyDto);
385
+ localVarPath = "/tenantservice/v1/sso-idp-groups/{code}"
386
+ .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
387
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
388
+ if (configuration) {
389
+ baseOptions = configuration.baseOptions;
390
+ baseAccessToken = configuration.accessToken;
391
+ }
392
+ localVarRequestOptions = __assign(__assign({ method: 'PATCH' }, baseOptions), options);
393
+ localVarHeaderParameter = {};
394
+ localVarQueryParameter = {};
395
+ // authentication bearer required
396
+ // http bearer authentication required
397
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
398
+ case 1:
399
+ // authentication bearer required
400
+ // http bearer authentication required
401
+ _a.sent();
402
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
403
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
404
+ }
405
+ localVarHeaderParameter['Content-Type'] = 'application/json';
406
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
407
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
408
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
409
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateSsoIdpGroupStatusBodyDto, localVarRequestOptions, configuration);
410
+ return [2 /*return*/, {
411
+ url: (0, common_1.toPathString)(localVarUrlObj),
412
+ options: localVarRequestOptions,
413
+ }];
414
+ }
415
+ });
416
+ });
417
+ },
365
418
  };
366
419
  };
367
420
  exports.SSOIdPGroupsApiAxiosParamCreator = SSOIdPGroupsApiAxiosParamCreator;
@@ -484,6 +537,28 @@ var SSOIdPGroupsApiFp = function (configuration) {
484
537
  });
485
538
  });
486
539
  },
540
+ /**
541
+ * 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\"
542
+ * @summary Activate or deactivate an IdP group
543
+ * @param {string} code IdP group code.
544
+ * @param {UpdateSsoIdpGroupStatusBodyDto} updateSsoIdpGroupStatusBodyDto
545
+ * @param {string} [authorization] Bearer Token
546
+ * @param {*} [options] Override http request option.
547
+ * @throws {RequiredError}
548
+ */
549
+ updateSsoIdpGroupStatus: function (code, updateSsoIdpGroupStatusBodyDto, authorization, options) {
550
+ return __awaiter(this, void 0, void 0, function () {
551
+ var localVarAxiosArgs;
552
+ return __generator(this, function (_a) {
553
+ switch (_a.label) {
554
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateSsoIdpGroupStatus(code, updateSsoIdpGroupStatusBodyDto, authorization, options)];
555
+ case 1:
556
+ localVarAxiosArgs = _a.sent();
557
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
558
+ }
559
+ });
560
+ });
561
+ },
487
562
  };
488
563
  };
489
564
  exports.SSOIdPGroupsApiFp = SSOIdPGroupsApiFp;
@@ -556,6 +631,18 @@ var SSOIdPGroupsApiFactory = function (configuration, basePath, axios) {
556
631
  updateSsoIdpGroup: function (code, updateSsoIdpGroupBodyDto, authorization, options) {
557
632
  return localVarFp.updateSsoIdpGroup(code, updateSsoIdpGroupBodyDto, authorization, options).then(function (request) { return request(axios, basePath); });
558
633
  },
634
+ /**
635
+ * 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\"
636
+ * @summary Activate or deactivate an IdP group
637
+ * @param {string} code IdP group code.
638
+ * @param {UpdateSsoIdpGroupStatusBodyDto} updateSsoIdpGroupStatusBodyDto
639
+ * @param {string} [authorization] Bearer Token
640
+ * @param {*} [options] Override http request option.
641
+ * @throws {RequiredError}
642
+ */
643
+ updateSsoIdpGroupStatus: function (code, updateSsoIdpGroupStatusBodyDto, authorization, options) {
644
+ return localVarFp.updateSsoIdpGroupStatus(code, updateSsoIdpGroupStatusBodyDto, authorization, options).then(function (request) { return request(axios, basePath); });
645
+ },
559
646
  };
560
647
  };
561
648
  exports.SSOIdPGroupsApiFactory = SSOIdPGroupsApiFactory;
@@ -631,6 +718,18 @@ var SSOIdPGroupsApi = /** @class */ (function (_super) {
631
718
  var _this = this;
632
719
  return (0, exports.SSOIdPGroupsApiFp)(this.configuration).updateSsoIdpGroup(requestParameters.code, requestParameters.updateSsoIdpGroupBodyDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
633
720
  };
721
+ /**
722
+ * 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\"
723
+ * @summary Activate or deactivate an IdP group
724
+ * @param {SSOIdPGroupsApiUpdateSsoIdpGroupStatusRequest} requestParameters Request parameters.
725
+ * @param {*} [options] Override http request option.
726
+ * @throws {RequiredError}
727
+ * @memberof SSOIdPGroupsApi
728
+ */
729
+ SSOIdPGroupsApi.prototype.updateSsoIdpGroupStatus = function (requestParameters, options) {
730
+ var _this = this;
731
+ return (0, exports.SSOIdPGroupsApiFp)(this.configuration).updateSsoIdpGroupStatus(requestParameters.code, requestParameters.updateSsoIdpGroupStatusBodyDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
732
+ };
634
733
  return SSOIdPGroupsApi;
635
734
  }(base_1.BaseAPI));
636
735
  exports.SSOIdPGroupsApi = SSOIdPGroupsApi;
@@ -148,6 +148,8 @@ export * from './update-sso-connection-status-body-dto';
148
148
  export * from './update-sso-connection-status-response-class';
149
149
  export * from './update-sso-idp-group-body-dto';
150
150
  export * from './update-sso-idp-group-response-class';
151
+ export * from './update-sso-idp-group-status-body-dto';
152
+ export * from './update-sso-idp-group-status-response-class';
151
153
  export * from './update-user-group-request-dto';
152
154
  export * from './update-user-group-response-class';
153
155
  export * from './user-class';
@@ -164,6 +164,8 @@ __exportStar(require("./update-sso-connection-status-body-dto"), exports);
164
164
  __exportStar(require("./update-sso-connection-status-response-class"), exports);
165
165
  __exportStar(require("./update-sso-idp-group-body-dto"), exports);
166
166
  __exportStar(require("./update-sso-idp-group-response-class"), exports);
167
+ __exportStar(require("./update-sso-idp-group-status-body-dto"), exports);
168
+ __exportStar(require("./update-sso-idp-group-status-response-class"), exports);
167
169
  __exportStar(require("./update-user-group-request-dto"), exports);
168
170
  __exportStar(require("./update-user-group-response-class"), exports);
169
171
  __exportStar(require("./user-class"), exports);
@@ -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 UpdateSsoIdpGroupStatusBodyDto
16
+ */
17
+ export interface UpdateSsoIdpGroupStatusBodyDto {
18
+ /**
19
+ * Whether the IdP group participates in login-time access resolution.
20
+ * @type {boolean}
21
+ * @memberof UpdateSsoIdpGroupStatusBodyDto
22
+ */
23
+ 'isActive': 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 });
@@ -0,0 +1,25 @@
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
+ import { SsoIdpGroupClass } from './sso-idp-group-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface UpdateSsoIdpGroupStatusResponseClass
17
+ */
18
+ export interface UpdateSsoIdpGroupStatusResponseClass {
19
+ /**
20
+ *
21
+ * @type {SsoIdpGroupClass}
22
+ * @memberof UpdateSsoIdpGroupStatusResponseClass
23
+ */
24
+ 'ssoIdpGroup': SsoIdpGroupClass;
25
+ }
@@ -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 });
package/models/index.ts CHANGED
@@ -148,6 +148,8 @@ export * from './update-sso-connection-status-body-dto';
148
148
  export * from './update-sso-connection-status-response-class';
149
149
  export * from './update-sso-idp-group-body-dto';
150
150
  export * from './update-sso-idp-group-response-class';
151
+ export * from './update-sso-idp-group-status-body-dto';
152
+ export * from './update-sso-idp-group-status-response-class';
151
153
  export * from './update-user-group-request-dto';
152
154
  export * from './update-user-group-response-class';
153
155
  export * from './user-class';
@@ -0,0 +1,30 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL Tenant Service
5
+ * The EMIL TenantService API description
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+
17
+ /**
18
+ *
19
+ * @export
20
+ * @interface UpdateSsoIdpGroupStatusBodyDto
21
+ */
22
+ export interface UpdateSsoIdpGroupStatusBodyDto {
23
+ /**
24
+ * Whether the IdP group participates in login-time access resolution.
25
+ * @type {boolean}
26
+ * @memberof UpdateSsoIdpGroupStatusBodyDto
27
+ */
28
+ 'isActive': boolean;
29
+ }
30
+
@@ -0,0 +1,31 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL Tenant Service
5
+ * The EMIL TenantService API description
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ import { SsoIdpGroupClass } from './sso-idp-group-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface UpdateSsoIdpGroupStatusResponseClass
22
+ */
23
+ export interface UpdateSsoIdpGroupStatusResponseClass {
24
+ /**
25
+ *
26
+ * @type {SsoIdpGroupClass}
27
+ * @memberof UpdateSsoIdpGroupStatusResponseClass
28
+ */
29
+ 'ssoIdpGroup': SsoIdpGroupClass;
30
+ }
31
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/tenant-sdk",
3
- "version": "1.42.1-beta.37",
3
+ "version": "1.42.1-beta.39",
4
4
  "description": "OpenAPI client for @emilgroup/tenant-sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [