@emilgroup/tenant-sdk-node 1.39.1-beta.39 → 1.39.1-beta.40
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 +2 -0
- package/README.md +2 -2
- package/api/ssoid-pgroups-api.ts +120 -0
- package/dist/api/ssoid-pgroups-api.d.ts +66 -0
- package/dist/api/ssoid-pgroups-api.js +99 -0
- package/dist/models/index.d.ts +2 -0
- package/dist/models/index.js +2 -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/models/index.ts +2 -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/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -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-node@1.39.1-beta.
|
|
20
|
+
npm install @emilgroup/tenant-sdk-node@1.39.1-beta.40 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/tenant-sdk-node@1.39.1-beta.
|
|
24
|
+
yarn add @emilgroup/tenant-sdk-node@1.39.1-beta.40
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `UsersApi`.
|
package/api/ssoid-pgroups-api.ts
CHANGED
|
@@ -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
|
// URLSearchParams not necessarily used
|
|
38
42
|
// @ts-ignore
|
|
39
43
|
import { URL, URLSearchParams } from 'url';
|
|
@@ -303,6 +307,57 @@ export const SSOIdPGroupsApiAxiosParamCreator = function (configuration?: Config
|
|
|
303
307
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
304
308
|
localVarRequestOptions.data = serializeDataIfNeeded(updateSsoIdpGroupBodyDto, localVarRequestOptions, configuration)
|
|
305
309
|
|
|
310
|
+
return {
|
|
311
|
+
url: toPathString(localVarUrlObj),
|
|
312
|
+
options: localVarRequestOptions,
|
|
313
|
+
};
|
|
314
|
+
},
|
|
315
|
+
/**
|
|
316
|
+
* 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\"
|
|
317
|
+
* @summary Activate or deactivate an IdP group
|
|
318
|
+
* @param {string} code IdP group code.
|
|
319
|
+
* @param {UpdateSsoIdpGroupStatusBodyDto} updateSsoIdpGroupStatusBodyDto
|
|
320
|
+
* @param {string} [authorization] Bearer Token
|
|
321
|
+
* @param {*} [options] Override http request option.
|
|
322
|
+
* @throws {RequiredError}
|
|
323
|
+
*/
|
|
324
|
+
updateSsoIdpGroupStatus: async (code: string, updateSsoIdpGroupStatusBodyDto: UpdateSsoIdpGroupStatusBodyDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
325
|
+
// verify required parameter 'code' is not null or undefined
|
|
326
|
+
assertParamExists('updateSsoIdpGroupStatus', 'code', code)
|
|
327
|
+
// verify required parameter 'updateSsoIdpGroupStatusBodyDto' is not null or undefined
|
|
328
|
+
assertParamExists('updateSsoIdpGroupStatus', 'updateSsoIdpGroupStatusBodyDto', updateSsoIdpGroupStatusBodyDto)
|
|
329
|
+
const localVarPath = `/tenantservice/v1/sso-idp-groups/{code}`
|
|
330
|
+
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
331
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
332
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
333
|
+
let baseOptions;
|
|
334
|
+
let baseAccessToken;
|
|
335
|
+
if (configuration) {
|
|
336
|
+
baseOptions = configuration.baseOptions;
|
|
337
|
+
baseAccessToken = configuration.accessToken;
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
|
|
341
|
+
const localVarHeaderParameter = {} as any;
|
|
342
|
+
const localVarQueryParameter = {} as any;
|
|
343
|
+
|
|
344
|
+
// authentication bearer required
|
|
345
|
+
// http bearer authentication required
|
|
346
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
347
|
+
|
|
348
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
349
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
|
|
353
|
+
|
|
354
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
355
|
+
|
|
356
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
357
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
358
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
359
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateSsoIdpGroupStatusBodyDto, localVarRequestOptions, configuration)
|
|
360
|
+
|
|
306
361
|
return {
|
|
307
362
|
url: toPathString(localVarUrlObj),
|
|
308
363
|
options: localVarRequestOptions,
|
|
@@ -385,6 +440,19 @@ export const SSOIdPGroupsApiFp = function(configuration?: Configuration) {
|
|
|
385
440
|
const localVarAxiosArgs = await localVarAxiosParamCreator.updateSsoIdpGroup(code, updateSsoIdpGroupBodyDto, authorization, options);
|
|
386
441
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
387
442
|
},
|
|
443
|
+
/**
|
|
444
|
+
* 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\"
|
|
445
|
+
* @summary Activate or deactivate an IdP group
|
|
446
|
+
* @param {string} code IdP group code.
|
|
447
|
+
* @param {UpdateSsoIdpGroupStatusBodyDto} updateSsoIdpGroupStatusBodyDto
|
|
448
|
+
* @param {string} [authorization] Bearer Token
|
|
449
|
+
* @param {*} [options] Override http request option.
|
|
450
|
+
* @throws {RequiredError}
|
|
451
|
+
*/
|
|
452
|
+
async updateSsoIdpGroupStatus(code: string, updateSsoIdpGroupStatusBodyDto: UpdateSsoIdpGroupStatusBodyDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateSsoIdpGroupStatusResponseClass>> {
|
|
453
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateSsoIdpGroupStatus(code, updateSsoIdpGroupStatusBodyDto, authorization, options);
|
|
454
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
455
|
+
},
|
|
388
456
|
}
|
|
389
457
|
};
|
|
390
458
|
|
|
@@ -457,6 +525,18 @@ export const SSOIdPGroupsApiFactory = function (configuration?: Configuration, b
|
|
|
457
525
|
updateSsoIdpGroup(code: string, updateSsoIdpGroupBodyDto: UpdateSsoIdpGroupBodyDto, authorization?: string, options?: any): AxiosPromise<UpdateSsoIdpGroupResponseClass> {
|
|
458
526
|
return localVarFp.updateSsoIdpGroup(code, updateSsoIdpGroupBodyDto, authorization, options).then((request) => request(axios, basePath));
|
|
459
527
|
},
|
|
528
|
+
/**
|
|
529
|
+
* 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\"
|
|
530
|
+
* @summary Activate or deactivate an IdP group
|
|
531
|
+
* @param {string} code IdP group code.
|
|
532
|
+
* @param {UpdateSsoIdpGroupStatusBodyDto} updateSsoIdpGroupStatusBodyDto
|
|
533
|
+
* @param {string} [authorization] Bearer Token
|
|
534
|
+
* @param {*} [options] Override http request option.
|
|
535
|
+
* @throws {RequiredError}
|
|
536
|
+
*/
|
|
537
|
+
updateSsoIdpGroupStatus(code: string, updateSsoIdpGroupStatusBodyDto: UpdateSsoIdpGroupStatusBodyDto, authorization?: string, options?: any): AxiosPromise<UpdateSsoIdpGroupStatusResponseClass> {
|
|
538
|
+
return localVarFp.updateSsoIdpGroupStatus(code, updateSsoIdpGroupStatusBodyDto, authorization, options).then((request) => request(axios, basePath));
|
|
539
|
+
},
|
|
460
540
|
};
|
|
461
541
|
};
|
|
462
542
|
|
|
@@ -614,6 +694,34 @@ export interface SSOIdPGroupsApiUpdateSsoIdpGroupRequest {
|
|
|
614
694
|
readonly authorization?: string
|
|
615
695
|
}
|
|
616
696
|
|
|
697
|
+
/**
|
|
698
|
+
* Request parameters for updateSsoIdpGroupStatus operation in SSOIdPGroupsApi.
|
|
699
|
+
* @export
|
|
700
|
+
* @interface SSOIdPGroupsApiUpdateSsoIdpGroupStatusRequest
|
|
701
|
+
*/
|
|
702
|
+
export interface SSOIdPGroupsApiUpdateSsoIdpGroupStatusRequest {
|
|
703
|
+
/**
|
|
704
|
+
* IdP group code.
|
|
705
|
+
* @type {string}
|
|
706
|
+
* @memberof SSOIdPGroupsApiUpdateSsoIdpGroupStatus
|
|
707
|
+
*/
|
|
708
|
+
readonly code: string
|
|
709
|
+
|
|
710
|
+
/**
|
|
711
|
+
*
|
|
712
|
+
* @type {UpdateSsoIdpGroupStatusBodyDto}
|
|
713
|
+
* @memberof SSOIdPGroupsApiUpdateSsoIdpGroupStatus
|
|
714
|
+
*/
|
|
715
|
+
readonly updateSsoIdpGroupStatusBodyDto: UpdateSsoIdpGroupStatusBodyDto
|
|
716
|
+
|
|
717
|
+
/**
|
|
718
|
+
* Bearer Token
|
|
719
|
+
* @type {string}
|
|
720
|
+
* @memberof SSOIdPGroupsApiUpdateSsoIdpGroupStatus
|
|
721
|
+
*/
|
|
722
|
+
readonly authorization?: string
|
|
723
|
+
}
|
|
724
|
+
|
|
617
725
|
/**
|
|
618
726
|
* SSOIdPGroupsApi - object-oriented interface
|
|
619
727
|
* @export
|
|
@@ -680,4 +788,16 @@ export class SSOIdPGroupsApi extends BaseAPI {
|
|
|
680
788
|
public updateSsoIdpGroup(requestParameters: SSOIdPGroupsApiUpdateSsoIdpGroupRequest, options?: AxiosRequestConfig) {
|
|
681
789
|
return SSOIdPGroupsApiFp(this.configuration).updateSsoIdpGroup(requestParameters.code, requestParameters.updateSsoIdpGroupBodyDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
682
790
|
}
|
|
791
|
+
|
|
792
|
+
/**
|
|
793
|
+
* 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\"
|
|
794
|
+
* @summary Activate or deactivate an IdP group
|
|
795
|
+
* @param {SSOIdPGroupsApiUpdateSsoIdpGroupStatusRequest} requestParameters Request parameters.
|
|
796
|
+
* @param {*} [options] Override http request option.
|
|
797
|
+
* @throws {RequiredError}
|
|
798
|
+
* @memberof SSOIdPGroupsApi
|
|
799
|
+
*/
|
|
800
|
+
public updateSsoIdpGroupStatus(requestParameters: SSOIdPGroupsApiUpdateSsoIdpGroupStatusRequest, options?: AxiosRequestConfig) {
|
|
801
|
+
return SSOIdPGroupsApiFp(this.configuration).updateSsoIdpGroupStatus(requestParameters.code, requestParameters.updateSsoIdpGroupStatusBodyDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
802
|
+
}
|
|
683
803
|
}
|
|
@@ -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
|
}
|
|
@@ -366,6 +366,59 @@ var SSOIdPGroupsApiAxiosParamCreator = function (configuration) {
|
|
|
366
366
|
});
|
|
367
367
|
});
|
|
368
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);
|
|
414
|
+
return [2 /*return*/, {
|
|
415
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
416
|
+
options: localVarRequestOptions,
|
|
417
|
+
}];
|
|
418
|
+
}
|
|
419
|
+
});
|
|
420
|
+
});
|
|
421
|
+
},
|
|
369
422
|
};
|
|
370
423
|
};
|
|
371
424
|
exports.SSOIdPGroupsApiAxiosParamCreator = SSOIdPGroupsApiAxiosParamCreator;
|
|
@@ -488,6 +541,28 @@ var SSOIdPGroupsApiFp = function (configuration) {
|
|
|
488
541
|
});
|
|
489
542
|
});
|
|
490
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)];
|
|
559
|
+
case 1:
|
|
560
|
+
localVarAxiosArgs = _a.sent();
|
|
561
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
562
|
+
}
|
|
563
|
+
});
|
|
564
|
+
});
|
|
565
|
+
},
|
|
491
566
|
};
|
|
492
567
|
};
|
|
493
568
|
exports.SSOIdPGroupsApiFp = SSOIdPGroupsApiFp;
|
|
@@ -560,6 +635,18 @@ var SSOIdPGroupsApiFactory = function (configuration, basePath, axios) {
|
|
|
560
635
|
updateSsoIdpGroup: function (code, updateSsoIdpGroupBodyDto, authorization, options) {
|
|
561
636
|
return localVarFp.updateSsoIdpGroup(code, updateSsoIdpGroupBodyDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
562
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); });
|
|
649
|
+
},
|
|
563
650
|
};
|
|
564
651
|
};
|
|
565
652
|
exports.SSOIdPGroupsApiFactory = SSOIdPGroupsApiFactory;
|
|
@@ -635,6 +722,18 @@ var SSOIdPGroupsApi = /** @class */ (function (_super) {
|
|
|
635
722
|
var _this = this;
|
|
636
723
|
return (0, exports.SSOIdPGroupsApiFp)(this.configuration).updateSsoIdpGroup(requestParameters.code, requestParameters.updateSsoIdpGroupBodyDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
637
724
|
};
|
|
725
|
+
/**
|
|
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.
|
|
729
|
+
* @param {*} [options] Override http request option.
|
|
730
|
+
* @throws {RequiredError}
|
|
731
|
+
* @memberof SSOIdPGroupsApi
|
|
732
|
+
*/
|
|
733
|
+
SSOIdPGroupsApi.prototype.updateSsoIdpGroupStatus = function (requestParameters, options) {
|
|
734
|
+
var _this = this;
|
|
735
|
+
return (0, exports.SSOIdPGroupsApiFp)(this.configuration).updateSsoIdpGroupStatus(requestParameters.code, requestParameters.updateSsoIdpGroupStatusBodyDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
736
|
+
};
|
|
638
737
|
return SSOIdPGroupsApi;
|
|
639
738
|
}(base_1.BaseAPI));
|
|
640
739
|
exports.SSOIdPGroupsApi = SSOIdPGroupsApi;
|
package/dist/models/index.d.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';
|
package/dist/models/index.js
CHANGED
|
@@ -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
|
+
|