@emilgroup/tenant-sdk-node 1.39.1-beta.35 → 1.39.1-beta.37
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 +3 -0
- package/README.md +2 -2
- package/api/ssoid-pgroups-api.ts +223 -0
- package/dist/api/ssoid-pgroups-api.d.ts +122 -0
- package/dist/api/ssoid-pgroups-api.js +191 -0
- package/dist/models/delete-by-code-response-class.d.ts +24 -0
- package/dist/models/delete-by-code-response-class.js +15 -0
- package/dist/models/index.d.ts +3 -0
- package/dist/models/index.js +3 -0
- package/dist/models/update-sso-idp-group-body-dto.d.ts +30 -0
- package/dist/models/update-sso-idp-group-body-dto.js +15 -0
- package/dist/models/update-sso-idp-group-response-class.d.ts +25 -0
- package/dist/models/update-sso-idp-group-response-class.js +15 -0
- package/models/delete-by-code-response-class.ts +30 -0
- package/models/index.ts +3 -0
- package/models/update-sso-idp-group-body-dto.ts +36 -0
- package/models/update-sso-idp-group-response-class.ts +31 -0
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -72,6 +72,7 @@ models/data-report-filter-dto.ts
|
|
|
72
72
|
models/data-report-filter-single-value-dto.ts
|
|
73
73
|
models/data-report-filter-value-dto.ts
|
|
74
74
|
models/dbconfig-dto.ts
|
|
75
|
+
models/delete-by-code-response-class.ts
|
|
75
76
|
models/delete-response-class.ts
|
|
76
77
|
models/delete-tenant-request-dto.ts
|
|
77
78
|
models/disable-users-request-dto.ts
|
|
@@ -177,6 +178,8 @@ models/update-sso-connection-body-dto.ts
|
|
|
177
178
|
models/update-sso-connection-response-class.ts
|
|
178
179
|
models/update-sso-connection-status-body-dto.ts
|
|
179
180
|
models/update-sso-connection-status-response-class.ts
|
|
181
|
+
models/update-sso-idp-group-body-dto.ts
|
|
182
|
+
models/update-sso-idp-group-response-class.ts
|
|
180
183
|
models/update-user-group-request-dto.ts
|
|
181
184
|
models/update-user-group-response-class.ts
|
|
182
185
|
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.37 --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.37
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `UsersApi`.
|
package/api/ssoid-pgroups-api.ts
CHANGED
|
@@ -24,6 +24,12 @@ import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } fr
|
|
|
24
24
|
import { CreateSsoIdpGroupRequestDto } from '../models';
|
|
25
25
|
// @ts-ignore
|
|
26
26
|
import { CreateSsoIdpGroupResponseClass } from '../models';
|
|
27
|
+
// @ts-ignore
|
|
28
|
+
import { DeleteByCodeResponseClass } from '../models';
|
|
29
|
+
// @ts-ignore
|
|
30
|
+
import { UpdateSsoIdpGroupBodyDto } from '../models';
|
|
31
|
+
// @ts-ignore
|
|
32
|
+
import { UpdateSsoIdpGroupResponseClass } from '../models';
|
|
27
33
|
// URLSearchParams not necessarily used
|
|
28
34
|
// @ts-ignore
|
|
29
35
|
import { URL, URLSearchParams } from 'url';
|
|
@@ -76,6 +82,102 @@ export const SSOIdPGroupsApiAxiosParamCreator = function (configuration?: Config
|
|
|
76
82
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
77
83
|
localVarRequestOptions.data = serializeDataIfNeeded(createSsoIdpGroupRequestDto, localVarRequestOptions, configuration)
|
|
78
84
|
|
|
85
|
+
return {
|
|
86
|
+
url: toPathString(localVarUrlObj),
|
|
87
|
+
options: localVarRequestOptions,
|
|
88
|
+
};
|
|
89
|
+
},
|
|
90
|
+
/**
|
|
91
|
+
* undefined **Required Permissions** \"tenant-management.settings.delete\"
|
|
92
|
+
* @summary Delete an IdP group and all of its mappings
|
|
93
|
+
* @param {string} code IdP group code.
|
|
94
|
+
* @param {string} [authorization] Bearer Token
|
|
95
|
+
* @param {*} [options] Override http request option.
|
|
96
|
+
* @throws {RequiredError}
|
|
97
|
+
*/
|
|
98
|
+
deleteSsoIdpGroup: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
99
|
+
// verify required parameter 'code' is not null or undefined
|
|
100
|
+
assertParamExists('deleteSsoIdpGroup', 'code', code)
|
|
101
|
+
const localVarPath = `/tenantservice/v1/sso-idp-groups/{code}`
|
|
102
|
+
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
103
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
104
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
105
|
+
let baseOptions;
|
|
106
|
+
let baseAccessToken;
|
|
107
|
+
if (configuration) {
|
|
108
|
+
baseOptions = configuration.baseOptions;
|
|
109
|
+
baseAccessToken = configuration.accessToken;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
113
|
+
const localVarHeaderParameter = {} as any;
|
|
114
|
+
const localVarQueryParameter = {} as any;
|
|
115
|
+
|
|
116
|
+
// authentication bearer required
|
|
117
|
+
// http bearer authentication required
|
|
118
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
119
|
+
|
|
120
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
121
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
127
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
128
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
129
|
+
|
|
130
|
+
return {
|
|
131
|
+
url: toPathString(localVarUrlObj),
|
|
132
|
+
options: localVarRequestOptions,
|
|
133
|
+
};
|
|
134
|
+
},
|
|
135
|
+
/**
|
|
136
|
+
* externalId is immutable. eisUserGroupCodes is set-replace when present. **Required Permissions** \"tenant-management.settings.update\"
|
|
137
|
+
* @summary Update IdP group name and/or EIS mappings
|
|
138
|
+
* @param {string} code IdP group code.
|
|
139
|
+
* @param {UpdateSsoIdpGroupBodyDto} updateSsoIdpGroupBodyDto
|
|
140
|
+
* @param {string} [authorization] Bearer Token
|
|
141
|
+
* @param {*} [options] Override http request option.
|
|
142
|
+
* @throws {RequiredError}
|
|
143
|
+
*/
|
|
144
|
+
updateSsoIdpGroup: async (code: string, updateSsoIdpGroupBodyDto: UpdateSsoIdpGroupBodyDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
145
|
+
// verify required parameter 'code' is not null or undefined
|
|
146
|
+
assertParamExists('updateSsoIdpGroup', 'code', code)
|
|
147
|
+
// verify required parameter 'updateSsoIdpGroupBodyDto' is not null or undefined
|
|
148
|
+
assertParamExists('updateSsoIdpGroup', 'updateSsoIdpGroupBodyDto', updateSsoIdpGroupBodyDto)
|
|
149
|
+
const localVarPath = `/tenantservice/v1/sso-idp-groups/{code}`
|
|
150
|
+
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
151
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
152
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
153
|
+
let baseOptions;
|
|
154
|
+
let baseAccessToken;
|
|
155
|
+
if (configuration) {
|
|
156
|
+
baseOptions = configuration.baseOptions;
|
|
157
|
+
baseAccessToken = configuration.accessToken;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
161
|
+
const localVarHeaderParameter = {} as any;
|
|
162
|
+
const localVarQueryParameter = {} as any;
|
|
163
|
+
|
|
164
|
+
// authentication bearer required
|
|
165
|
+
// http bearer authentication required
|
|
166
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
167
|
+
|
|
168
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
169
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
|
|
173
|
+
|
|
174
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
175
|
+
|
|
176
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
177
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
178
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
179
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateSsoIdpGroupBodyDto, localVarRequestOptions, configuration)
|
|
180
|
+
|
|
79
181
|
return {
|
|
80
182
|
url: toPathString(localVarUrlObj),
|
|
81
183
|
options: localVarRequestOptions,
|
|
@@ -103,6 +205,31 @@ export const SSOIdPGroupsApiFp = function(configuration?: Configuration) {
|
|
|
103
205
|
const localVarAxiosArgs = await localVarAxiosParamCreator.createSsoIdpGroup(createSsoIdpGroupRequestDto, authorization, options);
|
|
104
206
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
105
207
|
},
|
|
208
|
+
/**
|
|
209
|
+
* undefined **Required Permissions** \"tenant-management.settings.delete\"
|
|
210
|
+
* @summary Delete an IdP group and all of its mappings
|
|
211
|
+
* @param {string} code IdP group code.
|
|
212
|
+
* @param {string} [authorization] Bearer Token
|
|
213
|
+
* @param {*} [options] Override http request option.
|
|
214
|
+
* @throws {RequiredError}
|
|
215
|
+
*/
|
|
216
|
+
async deleteSsoIdpGroup(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteByCodeResponseClass>> {
|
|
217
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteSsoIdpGroup(code, authorization, options);
|
|
218
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
219
|
+
},
|
|
220
|
+
/**
|
|
221
|
+
* externalId is immutable. eisUserGroupCodes is set-replace when present. **Required Permissions** \"tenant-management.settings.update\"
|
|
222
|
+
* @summary Update IdP group name and/or EIS mappings
|
|
223
|
+
* @param {string} code IdP group code.
|
|
224
|
+
* @param {UpdateSsoIdpGroupBodyDto} updateSsoIdpGroupBodyDto
|
|
225
|
+
* @param {string} [authorization] Bearer Token
|
|
226
|
+
* @param {*} [options] Override http request option.
|
|
227
|
+
* @throws {RequiredError}
|
|
228
|
+
*/
|
|
229
|
+
async updateSsoIdpGroup(code: string, updateSsoIdpGroupBodyDto: UpdateSsoIdpGroupBodyDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateSsoIdpGroupResponseClass>> {
|
|
230
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateSsoIdpGroup(code, updateSsoIdpGroupBodyDto, authorization, options);
|
|
231
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
232
|
+
},
|
|
106
233
|
}
|
|
107
234
|
};
|
|
108
235
|
|
|
@@ -124,6 +251,29 @@ export const SSOIdPGroupsApiFactory = function (configuration?: Configuration, b
|
|
|
124
251
|
createSsoIdpGroup(createSsoIdpGroupRequestDto: CreateSsoIdpGroupRequestDto, authorization?: string, options?: any): AxiosPromise<CreateSsoIdpGroupResponseClass> {
|
|
125
252
|
return localVarFp.createSsoIdpGroup(createSsoIdpGroupRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
126
253
|
},
|
|
254
|
+
/**
|
|
255
|
+
* undefined **Required Permissions** \"tenant-management.settings.delete\"
|
|
256
|
+
* @summary Delete an IdP group and all of its mappings
|
|
257
|
+
* @param {string} code IdP group code.
|
|
258
|
+
* @param {string} [authorization] Bearer Token
|
|
259
|
+
* @param {*} [options] Override http request option.
|
|
260
|
+
* @throws {RequiredError}
|
|
261
|
+
*/
|
|
262
|
+
deleteSsoIdpGroup(code: string, authorization?: string, options?: any): AxiosPromise<DeleteByCodeResponseClass> {
|
|
263
|
+
return localVarFp.deleteSsoIdpGroup(code, authorization, options).then((request) => request(axios, basePath));
|
|
264
|
+
},
|
|
265
|
+
/**
|
|
266
|
+
* externalId is immutable. eisUserGroupCodes is set-replace when present. **Required Permissions** \"tenant-management.settings.update\"
|
|
267
|
+
* @summary Update IdP group name and/or EIS mappings
|
|
268
|
+
* @param {string} code IdP group code.
|
|
269
|
+
* @param {UpdateSsoIdpGroupBodyDto} updateSsoIdpGroupBodyDto
|
|
270
|
+
* @param {string} [authorization] Bearer Token
|
|
271
|
+
* @param {*} [options] Override http request option.
|
|
272
|
+
* @throws {RequiredError}
|
|
273
|
+
*/
|
|
274
|
+
updateSsoIdpGroup(code: string, updateSsoIdpGroupBodyDto: UpdateSsoIdpGroupBodyDto, authorization?: string, options?: any): AxiosPromise<UpdateSsoIdpGroupResponseClass> {
|
|
275
|
+
return localVarFp.updateSsoIdpGroup(code, updateSsoIdpGroupBodyDto, authorization, options).then((request) => request(axios, basePath));
|
|
276
|
+
},
|
|
127
277
|
};
|
|
128
278
|
};
|
|
129
279
|
|
|
@@ -148,6 +298,55 @@ export interface SSOIdPGroupsApiCreateSsoIdpGroupRequest {
|
|
|
148
298
|
readonly authorization?: string
|
|
149
299
|
}
|
|
150
300
|
|
|
301
|
+
/**
|
|
302
|
+
* Request parameters for deleteSsoIdpGroup operation in SSOIdPGroupsApi.
|
|
303
|
+
* @export
|
|
304
|
+
* @interface SSOIdPGroupsApiDeleteSsoIdpGroupRequest
|
|
305
|
+
*/
|
|
306
|
+
export interface SSOIdPGroupsApiDeleteSsoIdpGroupRequest {
|
|
307
|
+
/**
|
|
308
|
+
* IdP group code.
|
|
309
|
+
* @type {string}
|
|
310
|
+
* @memberof SSOIdPGroupsApiDeleteSsoIdpGroup
|
|
311
|
+
*/
|
|
312
|
+
readonly code: string
|
|
313
|
+
|
|
314
|
+
/**
|
|
315
|
+
* Bearer Token
|
|
316
|
+
* @type {string}
|
|
317
|
+
* @memberof SSOIdPGroupsApiDeleteSsoIdpGroup
|
|
318
|
+
*/
|
|
319
|
+
readonly authorization?: string
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
/**
|
|
323
|
+
* Request parameters for updateSsoIdpGroup operation in SSOIdPGroupsApi.
|
|
324
|
+
* @export
|
|
325
|
+
* @interface SSOIdPGroupsApiUpdateSsoIdpGroupRequest
|
|
326
|
+
*/
|
|
327
|
+
export interface SSOIdPGroupsApiUpdateSsoIdpGroupRequest {
|
|
328
|
+
/**
|
|
329
|
+
* IdP group code.
|
|
330
|
+
* @type {string}
|
|
331
|
+
* @memberof SSOIdPGroupsApiUpdateSsoIdpGroup
|
|
332
|
+
*/
|
|
333
|
+
readonly code: string
|
|
334
|
+
|
|
335
|
+
/**
|
|
336
|
+
*
|
|
337
|
+
* @type {UpdateSsoIdpGroupBodyDto}
|
|
338
|
+
* @memberof SSOIdPGroupsApiUpdateSsoIdpGroup
|
|
339
|
+
*/
|
|
340
|
+
readonly updateSsoIdpGroupBodyDto: UpdateSsoIdpGroupBodyDto
|
|
341
|
+
|
|
342
|
+
/**
|
|
343
|
+
* Bearer Token
|
|
344
|
+
* @type {string}
|
|
345
|
+
* @memberof SSOIdPGroupsApiUpdateSsoIdpGroup
|
|
346
|
+
*/
|
|
347
|
+
readonly authorization?: string
|
|
348
|
+
}
|
|
349
|
+
|
|
151
350
|
/**
|
|
152
351
|
* SSOIdPGroupsApi - object-oriented interface
|
|
153
352
|
* @export
|
|
@@ -166,4 +365,28 @@ export class SSOIdPGroupsApi extends BaseAPI {
|
|
|
166
365
|
public createSsoIdpGroup(requestParameters: SSOIdPGroupsApiCreateSsoIdpGroupRequest, options?: AxiosRequestConfig) {
|
|
167
366
|
return SSOIdPGroupsApiFp(this.configuration).createSsoIdpGroup(requestParameters.createSsoIdpGroupRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
168
367
|
}
|
|
368
|
+
|
|
369
|
+
/**
|
|
370
|
+
* undefined **Required Permissions** \"tenant-management.settings.delete\"
|
|
371
|
+
* @summary Delete an IdP group and all of its mappings
|
|
372
|
+
* @param {SSOIdPGroupsApiDeleteSsoIdpGroupRequest} requestParameters Request parameters.
|
|
373
|
+
* @param {*} [options] Override http request option.
|
|
374
|
+
* @throws {RequiredError}
|
|
375
|
+
* @memberof SSOIdPGroupsApi
|
|
376
|
+
*/
|
|
377
|
+
public deleteSsoIdpGroup(requestParameters: SSOIdPGroupsApiDeleteSsoIdpGroupRequest, options?: AxiosRequestConfig) {
|
|
378
|
+
return SSOIdPGroupsApiFp(this.configuration).deleteSsoIdpGroup(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
/**
|
|
382
|
+
* externalId is immutable. eisUserGroupCodes is set-replace when present. **Required Permissions** \"tenant-management.settings.update\"
|
|
383
|
+
* @summary Update IdP group name and/or EIS mappings
|
|
384
|
+
* @param {SSOIdPGroupsApiUpdateSsoIdpGroupRequest} requestParameters Request parameters.
|
|
385
|
+
* @param {*} [options] Override http request option.
|
|
386
|
+
* @throws {RequiredError}
|
|
387
|
+
* @memberof SSOIdPGroupsApi
|
|
388
|
+
*/
|
|
389
|
+
public updateSsoIdpGroup(requestParameters: SSOIdPGroupsApiUpdateSsoIdpGroupRequest, options?: AxiosRequestConfig) {
|
|
390
|
+
return SSOIdPGroupsApiFp(this.configuration).updateSsoIdpGroup(requestParameters.code, requestParameters.updateSsoIdpGroupBodyDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
391
|
+
}
|
|
169
392
|
}
|
|
@@ -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 { UpdateSsoIdpGroupBodyDto } from '../models';
|
|
19
|
+
import { UpdateSsoIdpGroupResponseClass } from '../models';
|
|
17
20
|
/**
|
|
18
21
|
* SSOIdPGroupsApi - axios parameter creator
|
|
19
22
|
* @export
|
|
@@ -28,6 +31,25 @@ export declare const SSOIdPGroupsApiAxiosParamCreator: (configuration?: Configur
|
|
|
28
31
|
* @throws {RequiredError}
|
|
29
32
|
*/
|
|
30
33
|
createSsoIdpGroup: (createSsoIdpGroupRequestDto: CreateSsoIdpGroupRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
34
|
+
/**
|
|
35
|
+
* undefined **Required Permissions** \"tenant-management.settings.delete\"
|
|
36
|
+
* @summary Delete an IdP group and all of its mappings
|
|
37
|
+
* @param {string} code IdP group code.
|
|
38
|
+
* @param {string} [authorization] Bearer Token
|
|
39
|
+
* @param {*} [options] Override http request option.
|
|
40
|
+
* @throws {RequiredError}
|
|
41
|
+
*/
|
|
42
|
+
deleteSsoIdpGroup: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
43
|
+
/**
|
|
44
|
+
* externalId is immutable. eisUserGroupCodes is set-replace when present. **Required Permissions** \"tenant-management.settings.update\"
|
|
45
|
+
* @summary Update IdP group name and/or EIS mappings
|
|
46
|
+
* @param {string} code IdP group code.
|
|
47
|
+
* @param {UpdateSsoIdpGroupBodyDto} updateSsoIdpGroupBodyDto
|
|
48
|
+
* @param {string} [authorization] Bearer Token
|
|
49
|
+
* @param {*} [options] Override http request option.
|
|
50
|
+
* @throws {RequiredError}
|
|
51
|
+
*/
|
|
52
|
+
updateSsoIdpGroup: (code: string, updateSsoIdpGroupBodyDto: UpdateSsoIdpGroupBodyDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
31
53
|
};
|
|
32
54
|
/**
|
|
33
55
|
* SSOIdPGroupsApi - functional programming interface
|
|
@@ -43,6 +65,25 @@ export declare const SSOIdPGroupsApiFp: (configuration?: Configuration) => {
|
|
|
43
65
|
* @throws {RequiredError}
|
|
44
66
|
*/
|
|
45
67
|
createSsoIdpGroup(createSsoIdpGroupRequestDto: CreateSsoIdpGroupRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateSsoIdpGroupResponseClass>>;
|
|
68
|
+
/**
|
|
69
|
+
* undefined **Required Permissions** \"tenant-management.settings.delete\"
|
|
70
|
+
* @summary Delete an IdP group and all of its mappings
|
|
71
|
+
* @param {string} code IdP group code.
|
|
72
|
+
* @param {string} [authorization] Bearer Token
|
|
73
|
+
* @param {*} [options] Override http request option.
|
|
74
|
+
* @throws {RequiredError}
|
|
75
|
+
*/
|
|
76
|
+
deleteSsoIdpGroup(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteByCodeResponseClass>>;
|
|
77
|
+
/**
|
|
78
|
+
* externalId is immutable. eisUserGroupCodes is set-replace when present. **Required Permissions** \"tenant-management.settings.update\"
|
|
79
|
+
* @summary Update IdP group name and/or EIS mappings
|
|
80
|
+
* @param {string} code IdP group code.
|
|
81
|
+
* @param {UpdateSsoIdpGroupBodyDto} updateSsoIdpGroupBodyDto
|
|
82
|
+
* @param {string} [authorization] Bearer Token
|
|
83
|
+
* @param {*} [options] Override http request option.
|
|
84
|
+
* @throws {RequiredError}
|
|
85
|
+
*/
|
|
86
|
+
updateSsoIdpGroup(code: string, updateSsoIdpGroupBodyDto: UpdateSsoIdpGroupBodyDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateSsoIdpGroupResponseClass>>;
|
|
46
87
|
};
|
|
47
88
|
/**
|
|
48
89
|
* SSOIdPGroupsApi - factory interface
|
|
@@ -58,6 +99,25 @@ export declare const SSOIdPGroupsApiFactory: (configuration?: Configuration, bas
|
|
|
58
99
|
* @throws {RequiredError}
|
|
59
100
|
*/
|
|
60
101
|
createSsoIdpGroup(createSsoIdpGroupRequestDto: CreateSsoIdpGroupRequestDto, authorization?: string, options?: any): AxiosPromise<CreateSsoIdpGroupResponseClass>;
|
|
102
|
+
/**
|
|
103
|
+
* undefined **Required Permissions** \"tenant-management.settings.delete\"
|
|
104
|
+
* @summary Delete an IdP group and all of its mappings
|
|
105
|
+
* @param {string} code IdP group code.
|
|
106
|
+
* @param {string} [authorization] Bearer Token
|
|
107
|
+
* @param {*} [options] Override http request option.
|
|
108
|
+
* @throws {RequiredError}
|
|
109
|
+
*/
|
|
110
|
+
deleteSsoIdpGroup(code: string, authorization?: string, options?: any): AxiosPromise<DeleteByCodeResponseClass>;
|
|
111
|
+
/**
|
|
112
|
+
* externalId is immutable. eisUserGroupCodes is set-replace when present. **Required Permissions** \"tenant-management.settings.update\"
|
|
113
|
+
* @summary Update IdP group name and/or EIS mappings
|
|
114
|
+
* @param {string} code IdP group code.
|
|
115
|
+
* @param {UpdateSsoIdpGroupBodyDto} updateSsoIdpGroupBodyDto
|
|
116
|
+
* @param {string} [authorization] Bearer Token
|
|
117
|
+
* @param {*} [options] Override http request option.
|
|
118
|
+
* @throws {RequiredError}
|
|
119
|
+
*/
|
|
120
|
+
updateSsoIdpGroup(code: string, updateSsoIdpGroupBodyDto: UpdateSsoIdpGroupBodyDto, authorization?: string, options?: any): AxiosPromise<UpdateSsoIdpGroupResponseClass>;
|
|
61
121
|
};
|
|
62
122
|
/**
|
|
63
123
|
* Request parameters for createSsoIdpGroup operation in SSOIdPGroupsApi.
|
|
@@ -78,6 +138,50 @@ export interface SSOIdPGroupsApiCreateSsoIdpGroupRequest {
|
|
|
78
138
|
*/
|
|
79
139
|
readonly authorization?: string;
|
|
80
140
|
}
|
|
141
|
+
/**
|
|
142
|
+
* Request parameters for deleteSsoIdpGroup operation in SSOIdPGroupsApi.
|
|
143
|
+
* @export
|
|
144
|
+
* @interface SSOIdPGroupsApiDeleteSsoIdpGroupRequest
|
|
145
|
+
*/
|
|
146
|
+
export interface SSOIdPGroupsApiDeleteSsoIdpGroupRequest {
|
|
147
|
+
/**
|
|
148
|
+
* IdP group code.
|
|
149
|
+
* @type {string}
|
|
150
|
+
* @memberof SSOIdPGroupsApiDeleteSsoIdpGroup
|
|
151
|
+
*/
|
|
152
|
+
readonly code: string;
|
|
153
|
+
/**
|
|
154
|
+
* Bearer Token
|
|
155
|
+
* @type {string}
|
|
156
|
+
* @memberof SSOIdPGroupsApiDeleteSsoIdpGroup
|
|
157
|
+
*/
|
|
158
|
+
readonly authorization?: string;
|
|
159
|
+
}
|
|
160
|
+
/**
|
|
161
|
+
* Request parameters for updateSsoIdpGroup operation in SSOIdPGroupsApi.
|
|
162
|
+
* @export
|
|
163
|
+
* @interface SSOIdPGroupsApiUpdateSsoIdpGroupRequest
|
|
164
|
+
*/
|
|
165
|
+
export interface SSOIdPGroupsApiUpdateSsoIdpGroupRequest {
|
|
166
|
+
/**
|
|
167
|
+
* IdP group code.
|
|
168
|
+
* @type {string}
|
|
169
|
+
* @memberof SSOIdPGroupsApiUpdateSsoIdpGroup
|
|
170
|
+
*/
|
|
171
|
+
readonly code: string;
|
|
172
|
+
/**
|
|
173
|
+
*
|
|
174
|
+
* @type {UpdateSsoIdpGroupBodyDto}
|
|
175
|
+
* @memberof SSOIdPGroupsApiUpdateSsoIdpGroup
|
|
176
|
+
*/
|
|
177
|
+
readonly updateSsoIdpGroupBodyDto: UpdateSsoIdpGroupBodyDto;
|
|
178
|
+
/**
|
|
179
|
+
* Bearer Token
|
|
180
|
+
* @type {string}
|
|
181
|
+
* @memberof SSOIdPGroupsApiUpdateSsoIdpGroup
|
|
182
|
+
*/
|
|
183
|
+
readonly authorization?: string;
|
|
184
|
+
}
|
|
81
185
|
/**
|
|
82
186
|
* SSOIdPGroupsApi - object-oriented interface
|
|
83
187
|
* @export
|
|
@@ -94,4 +198,22 @@ export declare class SSOIdPGroupsApi extends BaseAPI {
|
|
|
94
198
|
* @memberof SSOIdPGroupsApi
|
|
95
199
|
*/
|
|
96
200
|
createSsoIdpGroup(requestParameters: SSOIdPGroupsApiCreateSsoIdpGroupRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateSsoIdpGroupResponseClass, any, {}>>;
|
|
201
|
+
/**
|
|
202
|
+
* undefined **Required Permissions** \"tenant-management.settings.delete\"
|
|
203
|
+
* @summary Delete an IdP group and all of its mappings
|
|
204
|
+
* @param {SSOIdPGroupsApiDeleteSsoIdpGroupRequest} requestParameters Request parameters.
|
|
205
|
+
* @param {*} [options] Override http request option.
|
|
206
|
+
* @throws {RequiredError}
|
|
207
|
+
* @memberof SSOIdPGroupsApi
|
|
208
|
+
*/
|
|
209
|
+
deleteSsoIdpGroup(requestParameters: SSOIdPGroupsApiDeleteSsoIdpGroupRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteByCodeResponseClass, any, {}>>;
|
|
210
|
+
/**
|
|
211
|
+
* externalId is immutable. eisUserGroupCodes is set-replace when present. **Required Permissions** \"tenant-management.settings.update\"
|
|
212
|
+
* @summary Update IdP group name and/or EIS mappings
|
|
213
|
+
* @param {SSOIdPGroupsApiUpdateSsoIdpGroupRequest} requestParameters Request parameters.
|
|
214
|
+
* @param {*} [options] Override http request option.
|
|
215
|
+
* @throws {RequiredError}
|
|
216
|
+
* @memberof SSOIdPGroupsApi
|
|
217
|
+
*/
|
|
218
|
+
updateSsoIdpGroup(requestParameters: SSOIdPGroupsApiUpdateSsoIdpGroupRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateSsoIdpGroupResponseClass, any, {}>>;
|
|
97
219
|
}
|
|
@@ -145,6 +145,107 @@ 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
|
+
* externalId is immutable. eisUserGroupCodes is set-replace when present. **Required Permissions** \"tenant-management.settings.update\"
|
|
198
|
+
* @summary Update IdP group name and/or EIS mappings
|
|
199
|
+
* @param {string} code IdP group code.
|
|
200
|
+
* @param {UpdateSsoIdpGroupBodyDto} updateSsoIdpGroupBodyDto
|
|
201
|
+
* @param {string} [authorization] Bearer Token
|
|
202
|
+
* @param {*} [options] Override http request option.
|
|
203
|
+
* @throws {RequiredError}
|
|
204
|
+
*/
|
|
205
|
+
updateSsoIdpGroup: function (code, updateSsoIdpGroupBodyDto, authorization, options) {
|
|
206
|
+
if (options === void 0) { options = {}; }
|
|
207
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
208
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
209
|
+
return __generator(this, function (_a) {
|
|
210
|
+
switch (_a.label) {
|
|
211
|
+
case 0:
|
|
212
|
+
// verify required parameter 'code' is not null or undefined
|
|
213
|
+
(0, common_1.assertParamExists)('updateSsoIdpGroup', 'code', code);
|
|
214
|
+
// verify required parameter 'updateSsoIdpGroupBodyDto' is not null or undefined
|
|
215
|
+
(0, common_1.assertParamExists)('updateSsoIdpGroup', 'updateSsoIdpGroupBodyDto', updateSsoIdpGroupBodyDto);
|
|
216
|
+
localVarPath = "/tenantservice/v1/sso-idp-groups/{code}"
|
|
217
|
+
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
218
|
+
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
219
|
+
if (configuration) {
|
|
220
|
+
baseOptions = configuration.baseOptions;
|
|
221
|
+
baseAccessToken = configuration.accessToken;
|
|
222
|
+
}
|
|
223
|
+
localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
|
|
224
|
+
localVarHeaderParameter = {};
|
|
225
|
+
localVarQueryParameter = {};
|
|
226
|
+
// authentication bearer required
|
|
227
|
+
// http bearer authentication required
|
|
228
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
229
|
+
case 1:
|
|
230
|
+
// authentication bearer required
|
|
231
|
+
// http bearer authentication required
|
|
232
|
+
_a.sent();
|
|
233
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
234
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
235
|
+
}
|
|
236
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
237
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
238
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
239
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
240
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateSsoIdpGroupBodyDto, localVarRequestOptions, configuration);
|
|
241
|
+
return [2 /*return*/, {
|
|
242
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
243
|
+
options: localVarRequestOptions,
|
|
244
|
+
}];
|
|
245
|
+
}
|
|
246
|
+
});
|
|
247
|
+
});
|
|
248
|
+
},
|
|
148
249
|
};
|
|
149
250
|
};
|
|
150
251
|
exports.SSOIdPGroupsApiAxiosParamCreator = SSOIdPGroupsApiAxiosParamCreator;
|
|
@@ -176,6 +277,49 @@ var SSOIdPGroupsApiFp = function (configuration) {
|
|
|
176
277
|
});
|
|
177
278
|
});
|
|
178
279
|
},
|
|
280
|
+
/**
|
|
281
|
+
* undefined **Required Permissions** \"tenant-management.settings.delete\"
|
|
282
|
+
* @summary Delete an IdP group and all of its mappings
|
|
283
|
+
* @param {string} code IdP group code.
|
|
284
|
+
* @param {string} [authorization] Bearer Token
|
|
285
|
+
* @param {*} [options] Override http request option.
|
|
286
|
+
* @throws {RequiredError}
|
|
287
|
+
*/
|
|
288
|
+
deleteSsoIdpGroup: function (code, authorization, options) {
|
|
289
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
290
|
+
var localVarAxiosArgs;
|
|
291
|
+
return __generator(this, function (_a) {
|
|
292
|
+
switch (_a.label) {
|
|
293
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteSsoIdpGroup(code, authorization, options)];
|
|
294
|
+
case 1:
|
|
295
|
+
localVarAxiosArgs = _a.sent();
|
|
296
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
297
|
+
}
|
|
298
|
+
});
|
|
299
|
+
});
|
|
300
|
+
},
|
|
301
|
+
/**
|
|
302
|
+
* externalId is immutable. eisUserGroupCodes is set-replace when present. **Required Permissions** \"tenant-management.settings.update\"
|
|
303
|
+
* @summary Update IdP group name and/or EIS mappings
|
|
304
|
+
* @param {string} code IdP group code.
|
|
305
|
+
* @param {UpdateSsoIdpGroupBodyDto} updateSsoIdpGroupBodyDto
|
|
306
|
+
* @param {string} [authorization] Bearer Token
|
|
307
|
+
* @param {*} [options] Override http request option.
|
|
308
|
+
* @throws {RequiredError}
|
|
309
|
+
*/
|
|
310
|
+
updateSsoIdpGroup: function (code, updateSsoIdpGroupBodyDto, authorization, options) {
|
|
311
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
312
|
+
var localVarAxiosArgs;
|
|
313
|
+
return __generator(this, function (_a) {
|
|
314
|
+
switch (_a.label) {
|
|
315
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateSsoIdpGroup(code, updateSsoIdpGroupBodyDto, authorization, options)];
|
|
316
|
+
case 1:
|
|
317
|
+
localVarAxiosArgs = _a.sent();
|
|
318
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
319
|
+
}
|
|
320
|
+
});
|
|
321
|
+
});
|
|
322
|
+
},
|
|
179
323
|
};
|
|
180
324
|
};
|
|
181
325
|
exports.SSOIdPGroupsApiFp = SSOIdPGroupsApiFp;
|
|
@@ -197,6 +341,29 @@ var SSOIdPGroupsApiFactory = function (configuration, basePath, axios) {
|
|
|
197
341
|
createSsoIdpGroup: function (createSsoIdpGroupRequestDto, authorization, options) {
|
|
198
342
|
return localVarFp.createSsoIdpGroup(createSsoIdpGroupRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
199
343
|
},
|
|
344
|
+
/**
|
|
345
|
+
* undefined **Required Permissions** \"tenant-management.settings.delete\"
|
|
346
|
+
* @summary Delete an IdP group and all of its mappings
|
|
347
|
+
* @param {string} code IdP group code.
|
|
348
|
+
* @param {string} [authorization] Bearer Token
|
|
349
|
+
* @param {*} [options] Override http request option.
|
|
350
|
+
* @throws {RequiredError}
|
|
351
|
+
*/
|
|
352
|
+
deleteSsoIdpGroup: function (code, authorization, options) {
|
|
353
|
+
return localVarFp.deleteSsoIdpGroup(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
354
|
+
},
|
|
355
|
+
/**
|
|
356
|
+
* externalId is immutable. eisUserGroupCodes is set-replace when present. **Required Permissions** \"tenant-management.settings.update\"
|
|
357
|
+
* @summary Update IdP group name and/or EIS mappings
|
|
358
|
+
* @param {string} code IdP group code.
|
|
359
|
+
* @param {UpdateSsoIdpGroupBodyDto} updateSsoIdpGroupBodyDto
|
|
360
|
+
* @param {string} [authorization] Bearer Token
|
|
361
|
+
* @param {*} [options] Override http request option.
|
|
362
|
+
* @throws {RequiredError}
|
|
363
|
+
*/
|
|
364
|
+
updateSsoIdpGroup: function (code, updateSsoIdpGroupBodyDto, authorization, options) {
|
|
365
|
+
return localVarFp.updateSsoIdpGroup(code, updateSsoIdpGroupBodyDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
366
|
+
},
|
|
200
367
|
};
|
|
201
368
|
};
|
|
202
369
|
exports.SSOIdPGroupsApiFactory = SSOIdPGroupsApiFactory;
|
|
@@ -223,6 +390,30 @@ var SSOIdPGroupsApi = /** @class */ (function (_super) {
|
|
|
223
390
|
var _this = this;
|
|
224
391
|
return (0, exports.SSOIdPGroupsApiFp)(this.configuration).createSsoIdpGroup(requestParameters.createSsoIdpGroupRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
225
392
|
};
|
|
393
|
+
/**
|
|
394
|
+
* undefined **Required Permissions** \"tenant-management.settings.delete\"
|
|
395
|
+
* @summary Delete an IdP group and all of its mappings
|
|
396
|
+
* @param {SSOIdPGroupsApiDeleteSsoIdpGroupRequest} requestParameters Request parameters.
|
|
397
|
+
* @param {*} [options] Override http request option.
|
|
398
|
+
* @throws {RequiredError}
|
|
399
|
+
* @memberof SSOIdPGroupsApi
|
|
400
|
+
*/
|
|
401
|
+
SSOIdPGroupsApi.prototype.deleteSsoIdpGroup = function (requestParameters, options) {
|
|
402
|
+
var _this = this;
|
|
403
|
+
return (0, exports.SSOIdPGroupsApiFp)(this.configuration).deleteSsoIdpGroup(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
404
|
+
};
|
|
405
|
+
/**
|
|
406
|
+
* externalId is immutable. eisUserGroupCodes is set-replace when present. **Required Permissions** \"tenant-management.settings.update\"
|
|
407
|
+
* @summary Update IdP group name and/or EIS mappings
|
|
408
|
+
* @param {SSOIdPGroupsApiUpdateSsoIdpGroupRequest} requestParameters Request parameters.
|
|
409
|
+
* @param {*} [options] Override http request option.
|
|
410
|
+
* @throws {RequiredError}
|
|
411
|
+
* @memberof SSOIdPGroupsApi
|
|
412
|
+
*/
|
|
413
|
+
SSOIdPGroupsApi.prototype.updateSsoIdpGroup = function (requestParameters, options) {
|
|
414
|
+
var _this = this;
|
|
415
|
+
return (0, exports.SSOIdPGroupsApiFp)(this.configuration).updateSsoIdpGroup(requestParameters.code, requestParameters.updateSsoIdpGroupBodyDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
416
|
+
};
|
|
226
417
|
return SSOIdPGroupsApi;
|
|
227
418
|
}(base_1.BaseAPI));
|
|
228
419
|
exports.SSOIdPGroupsApi = SSOIdPGroupsApi;
|
|
@@ -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 });
|
package/dist/models/index.d.ts
CHANGED
|
@@ -39,6 +39,7 @@ export * from './data-report-filter-class';
|
|
|
39
39
|
export * from './data-report-filter-dto';
|
|
40
40
|
export * from './data-report-filter-single-value-dto';
|
|
41
41
|
export * from './data-report-filter-value-dto';
|
|
42
|
+
export * from './delete-by-code-response-class';
|
|
42
43
|
export * from './delete-response-class';
|
|
43
44
|
export * from './delete-tenant-request-dto';
|
|
44
45
|
export * from './disable-users-request-dto';
|
|
@@ -143,6 +144,8 @@ export * from './update-sso-connection-body-dto';
|
|
|
143
144
|
export * from './update-sso-connection-response-class';
|
|
144
145
|
export * from './update-sso-connection-status-body-dto';
|
|
145
146
|
export * from './update-sso-connection-status-response-class';
|
|
147
|
+
export * from './update-sso-idp-group-body-dto';
|
|
148
|
+
export * from './update-sso-idp-group-response-class';
|
|
146
149
|
export * from './update-user-group-request-dto';
|
|
147
150
|
export * from './update-user-group-response-class';
|
|
148
151
|
export * from './user-class';
|
package/dist/models/index.js
CHANGED
|
@@ -55,6 +55,7 @@ __exportStar(require("./data-report-filter-class"), exports);
|
|
|
55
55
|
__exportStar(require("./data-report-filter-dto"), exports);
|
|
56
56
|
__exportStar(require("./data-report-filter-single-value-dto"), exports);
|
|
57
57
|
__exportStar(require("./data-report-filter-value-dto"), exports);
|
|
58
|
+
__exportStar(require("./delete-by-code-response-class"), exports);
|
|
58
59
|
__exportStar(require("./delete-response-class"), exports);
|
|
59
60
|
__exportStar(require("./delete-tenant-request-dto"), exports);
|
|
60
61
|
__exportStar(require("./disable-users-request-dto"), exports);
|
|
@@ -159,6 +160,8 @@ __exportStar(require("./update-sso-connection-body-dto"), exports);
|
|
|
159
160
|
__exportStar(require("./update-sso-connection-response-class"), exports);
|
|
160
161
|
__exportStar(require("./update-sso-connection-status-body-dto"), exports);
|
|
161
162
|
__exportStar(require("./update-sso-connection-status-response-class"), exports);
|
|
163
|
+
__exportStar(require("./update-sso-idp-group-body-dto"), exports);
|
|
164
|
+
__exportStar(require("./update-sso-idp-group-response-class"), exports);
|
|
162
165
|
__exportStar(require("./update-user-group-request-dto"), exports);
|
|
163
166
|
__exportStar(require("./update-user-group-response-class"), exports);
|
|
164
167
|
__exportStar(require("./user-class"), exports);
|
|
@@ -0,0 +1,30 @@
|
|
|
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 UpdateSsoIdpGroupBodyDto
|
|
16
|
+
*/
|
|
17
|
+
export interface UpdateSsoIdpGroupBodyDto {
|
|
18
|
+
/**
|
|
19
|
+
* New display name. Omitted keeps the stored name.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof UpdateSsoIdpGroupBodyDto
|
|
22
|
+
*/
|
|
23
|
+
'name'?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Set-replace when present; must not be empty. Omitted keeps mappings.
|
|
26
|
+
* @type {Array<string>}
|
|
27
|
+
* @memberof UpdateSsoIdpGroupBodyDto
|
|
28
|
+
*/
|
|
29
|
+
'eisUserGroupCodes'?: Array<string>;
|
|
30
|
+
}
|
|
@@ -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 UpdateSsoIdpGroupResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface UpdateSsoIdpGroupResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {SsoIdpGroupClass}
|
|
22
|
+
* @memberof UpdateSsoIdpGroupResponseClass
|
|
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 });
|
|
@@ -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 DeleteByCodeResponseClass
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteByCodeResponseClass {
|
|
23
|
+
/**
|
|
24
|
+
* Whether the IdP group was deleted.
|
|
25
|
+
* @type {boolean}
|
|
26
|
+
* @memberof DeleteByCodeResponseClass
|
|
27
|
+
*/
|
|
28
|
+
'success': boolean;
|
|
29
|
+
}
|
|
30
|
+
|
package/models/index.ts
CHANGED
|
@@ -39,6 +39,7 @@ export * from './data-report-filter-class';
|
|
|
39
39
|
export * from './data-report-filter-dto';
|
|
40
40
|
export * from './data-report-filter-single-value-dto';
|
|
41
41
|
export * from './data-report-filter-value-dto';
|
|
42
|
+
export * from './delete-by-code-response-class';
|
|
42
43
|
export * from './delete-response-class';
|
|
43
44
|
export * from './delete-tenant-request-dto';
|
|
44
45
|
export * from './disable-users-request-dto';
|
|
@@ -143,6 +144,8 @@ export * from './update-sso-connection-body-dto';
|
|
|
143
144
|
export * from './update-sso-connection-response-class';
|
|
144
145
|
export * from './update-sso-connection-status-body-dto';
|
|
145
146
|
export * from './update-sso-connection-status-response-class';
|
|
147
|
+
export * from './update-sso-idp-group-body-dto';
|
|
148
|
+
export * from './update-sso-idp-group-response-class';
|
|
146
149
|
export * from './update-user-group-request-dto';
|
|
147
150
|
export * from './update-user-group-response-class';
|
|
148
151
|
export * from './user-class';
|
|
@@ -0,0 +1,36 @@
|
|
|
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 UpdateSsoIdpGroupBodyDto
|
|
21
|
+
*/
|
|
22
|
+
export interface UpdateSsoIdpGroupBodyDto {
|
|
23
|
+
/**
|
|
24
|
+
* New display name. Omitted keeps the stored name.
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof UpdateSsoIdpGroupBodyDto
|
|
27
|
+
*/
|
|
28
|
+
'name'?: string;
|
|
29
|
+
/**
|
|
30
|
+
* Set-replace when present; must not be empty. Omitted keeps mappings.
|
|
31
|
+
* @type {Array<string>}
|
|
32
|
+
* @memberof UpdateSsoIdpGroupBodyDto
|
|
33
|
+
*/
|
|
34
|
+
'eisUserGroupCodes'?: Array<string>;
|
|
35
|
+
}
|
|
36
|
+
|
|
@@ -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 UpdateSsoIdpGroupResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface UpdateSsoIdpGroupResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {SsoIdpGroupClass}
|
|
27
|
+
* @memberof UpdateSsoIdpGroupResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'ssoIdpGroup': SsoIdpGroupClass;
|
|
30
|
+
}
|
|
31
|
+
|