@emilgroup/tenant-sdk-node 1.39.1-beta.36 → 1.39.1-beta.38
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +3 -0
- package/README.md +2 -2
- package/api/ssoid-pgroups-api.ts +394 -0
- package/dist/api/ssoid-pgroups-api.d.ts +222 -0
- package/dist/api/ssoid-pgroups-api.js +313 -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/get-sso-idp-group-response-class.d.ts +25 -0
- package/dist/models/get-sso-idp-group-response-class.js +15 -0
- package/dist/models/index.d.ts +3 -0
- package/dist/models/index.js +3 -0
- package/dist/models/list-sso-idp-groups-response-class.d.ts +43 -0
- package/dist/models/list-sso-idp-groups-response-class.js +15 -0
- package/models/delete-by-code-response-class.ts +30 -0
- package/models/get-sso-idp-group-response-class.ts +31 -0
- package/models/index.ts +3 -0
- package/models/list-sso-idp-groups-response-class.ts +49 -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
|
|
@@ -93,6 +94,7 @@ models/get-report-schedule-response-class.ts
|
|
|
93
94
|
models/get-settings-response-class.ts
|
|
94
95
|
models/get-sso-connection-response-class.ts
|
|
95
96
|
models/get-sso-connection-setup-response-class.ts
|
|
97
|
+
models/get-sso-idp-group-response-class.ts
|
|
96
98
|
models/get-user-group-response-class.ts
|
|
97
99
|
models/get-user-response-class.ts
|
|
98
100
|
models/index.ts
|
|
@@ -118,6 +120,7 @@ models/list-organizations-response-class.ts
|
|
|
118
120
|
models/list-report-schedule-logs-response-class.ts
|
|
119
121
|
models/list-report-schedules-response-class.ts
|
|
120
122
|
models/list-roles-response-class.ts
|
|
123
|
+
models/list-sso-idp-groups-response-class.ts
|
|
121
124
|
models/list-user-group-members-response-class.ts
|
|
122
125
|
models/list-user-groups-response-class.ts
|
|
123
126
|
models/list-users-response-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.38 --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.38
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `UsersApi`.
|
package/api/ssoid-pgroups-api.ts
CHANGED
|
@@ -25,6 +25,12 @@ import { CreateSsoIdpGroupRequestDto } from '../models';
|
|
|
25
25
|
// @ts-ignore
|
|
26
26
|
import { CreateSsoIdpGroupResponseClass } from '../models';
|
|
27
27
|
// @ts-ignore
|
|
28
|
+
import { DeleteByCodeResponseClass } from '../models';
|
|
29
|
+
// @ts-ignore
|
|
30
|
+
import { GetSsoIdpGroupResponseClass } from '../models';
|
|
31
|
+
// @ts-ignore
|
|
32
|
+
import { ListSsoIdpGroupsResponseClass } from '../models';
|
|
33
|
+
// @ts-ignore
|
|
28
34
|
import { UpdateSsoIdpGroupBodyDto } from '../models';
|
|
29
35
|
// @ts-ignore
|
|
30
36
|
import { UpdateSsoIdpGroupResponseClass } from '../models';
|
|
@@ -85,6 +91,172 @@ export const SSOIdPGroupsApiAxiosParamCreator = function (configuration?: Config
|
|
|
85
91
|
options: localVarRequestOptions,
|
|
86
92
|
};
|
|
87
93
|
},
|
|
94
|
+
/**
|
|
95
|
+
* undefined **Required Permissions** \"tenant-management.settings.delete\"
|
|
96
|
+
* @summary Delete an IdP group and all of its mappings
|
|
97
|
+
* @param {string} code IdP group code.
|
|
98
|
+
* @param {string} [authorization] Bearer Token
|
|
99
|
+
* @param {*} [options] Override http request option.
|
|
100
|
+
* @throws {RequiredError}
|
|
101
|
+
*/
|
|
102
|
+
deleteSsoIdpGroup: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
103
|
+
// verify required parameter 'code' is not null or undefined
|
|
104
|
+
assertParamExists('deleteSsoIdpGroup', 'code', code)
|
|
105
|
+
const localVarPath = `/tenantservice/v1/sso-idp-groups/{code}`
|
|
106
|
+
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
107
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
108
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
109
|
+
let baseOptions;
|
|
110
|
+
let baseAccessToken;
|
|
111
|
+
if (configuration) {
|
|
112
|
+
baseOptions = configuration.baseOptions;
|
|
113
|
+
baseAccessToken = configuration.accessToken;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
117
|
+
const localVarHeaderParameter = {} as any;
|
|
118
|
+
const localVarQueryParameter = {} as any;
|
|
119
|
+
|
|
120
|
+
// authentication bearer required
|
|
121
|
+
// http bearer authentication required
|
|
122
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
123
|
+
|
|
124
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
125
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
131
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
132
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
133
|
+
|
|
134
|
+
return {
|
|
135
|
+
url: toPathString(localVarUrlObj),
|
|
136
|
+
options: localVarRequestOptions,
|
|
137
|
+
};
|
|
138
|
+
},
|
|
139
|
+
/**
|
|
140
|
+
* undefined **Required Permissions** \"tenant-management.settings.view\"
|
|
141
|
+
* @summary Get an IdP group by code
|
|
142
|
+
* @param {string} code IdP group code.
|
|
143
|
+
* @param {string} [authorization] Bearer Token
|
|
144
|
+
* @param {*} [options] Override http request option.
|
|
145
|
+
* @throws {RequiredError}
|
|
146
|
+
*/
|
|
147
|
+
getSsoIdpGroup: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
148
|
+
// verify required parameter 'code' is not null or undefined
|
|
149
|
+
assertParamExists('getSsoIdpGroup', 'code', code)
|
|
150
|
+
const localVarPath = `/tenantservice/v1/sso-idp-groups/{code}`
|
|
151
|
+
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
152
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
153
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
154
|
+
let baseOptions;
|
|
155
|
+
let baseAccessToken;
|
|
156
|
+
if (configuration) {
|
|
157
|
+
baseOptions = configuration.baseOptions;
|
|
158
|
+
baseAccessToken = configuration.accessToken;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
162
|
+
const localVarHeaderParameter = {} as any;
|
|
163
|
+
const localVarQueryParameter = {} as any;
|
|
164
|
+
|
|
165
|
+
// authentication bearer required
|
|
166
|
+
// http bearer authentication required
|
|
167
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
168
|
+
|
|
169
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
170
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
176
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
177
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
178
|
+
|
|
179
|
+
return {
|
|
180
|
+
url: toPathString(localVarUrlObj),
|
|
181
|
+
options: localVarRequestOptions,
|
|
182
|
+
};
|
|
183
|
+
},
|
|
184
|
+
/**
|
|
185
|
+
* undefined **Required Permissions** \"tenant-management.settings.view\"
|
|
186
|
+
* @summary List registered IdP groups
|
|
187
|
+
* @param {string} [authorization] Bearer Token
|
|
188
|
+
* @param {number} [pageSize] Number of items per page.
|
|
189
|
+
* @param {string} [pageToken] Opaque token for the next page (returned in a previous response).
|
|
190
|
+
* @param {string} [filter] Filter IdP groups by one or more fields. Allowed: id, code, externalId, name, isActive, userGroup.code, createdAt, updatedAt.
|
|
191
|
+
* @param {string} [search] Free-text search over searchable columns.
|
|
192
|
+
* @param {string} [order] Sort the response. Allowed columns: id, code, externalId, name, isActive, createdAt, updatedAt.
|
|
193
|
+
* @param {string} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
194
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
195
|
+
* @param {*} [options] Override http request option.
|
|
196
|
+
* @throws {RequiredError}
|
|
197
|
+
*/
|
|
198
|
+
listSsoIdpGroups: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
199
|
+
const localVarPath = `/tenantservice/v1/sso-idp-groups`;
|
|
200
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
201
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
202
|
+
let baseOptions;
|
|
203
|
+
let baseAccessToken;
|
|
204
|
+
if (configuration) {
|
|
205
|
+
baseOptions = configuration.baseOptions;
|
|
206
|
+
baseAccessToken = configuration.accessToken;
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
210
|
+
const localVarHeaderParameter = {} as any;
|
|
211
|
+
const localVarQueryParameter = {} as any;
|
|
212
|
+
|
|
213
|
+
// authentication bearer required
|
|
214
|
+
// http bearer authentication required
|
|
215
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
216
|
+
|
|
217
|
+
if (pageSize !== undefined) {
|
|
218
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
if (pageToken !== undefined) {
|
|
222
|
+
localVarQueryParameter['pageToken'] = pageToken;
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
if (filter !== undefined) {
|
|
226
|
+
localVarQueryParameter['filter'] = filter;
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
if (search !== undefined) {
|
|
230
|
+
localVarQueryParameter['search'] = search;
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
if (order !== undefined) {
|
|
234
|
+
localVarQueryParameter['order'] = order;
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
if (expand !== undefined) {
|
|
238
|
+
localVarQueryParameter['expand'] = expand;
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
if (filters !== undefined) {
|
|
242
|
+
localVarQueryParameter['filters'] = filters;
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
246
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
|
|
250
|
+
|
|
251
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
252
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
253
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
254
|
+
|
|
255
|
+
return {
|
|
256
|
+
url: toPathString(localVarUrlObj),
|
|
257
|
+
options: localVarRequestOptions,
|
|
258
|
+
};
|
|
259
|
+
},
|
|
88
260
|
/**
|
|
89
261
|
* externalId is immutable. eisUserGroupCodes is set-replace when present. **Required Permissions** \"tenant-management.settings.update\"
|
|
90
262
|
* @summary Update IdP group name and/or EIS mappings
|
|
@@ -158,6 +330,48 @@ export const SSOIdPGroupsApiFp = function(configuration?: Configuration) {
|
|
|
158
330
|
const localVarAxiosArgs = await localVarAxiosParamCreator.createSsoIdpGroup(createSsoIdpGroupRequestDto, authorization, options);
|
|
159
331
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
160
332
|
},
|
|
333
|
+
/**
|
|
334
|
+
* undefined **Required Permissions** \"tenant-management.settings.delete\"
|
|
335
|
+
* @summary Delete an IdP group and all of its mappings
|
|
336
|
+
* @param {string} code IdP group code.
|
|
337
|
+
* @param {string} [authorization] Bearer Token
|
|
338
|
+
* @param {*} [options] Override http request option.
|
|
339
|
+
* @throws {RequiredError}
|
|
340
|
+
*/
|
|
341
|
+
async deleteSsoIdpGroup(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteByCodeResponseClass>> {
|
|
342
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteSsoIdpGroup(code, authorization, options);
|
|
343
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
344
|
+
},
|
|
345
|
+
/**
|
|
346
|
+
* undefined **Required Permissions** \"tenant-management.settings.view\"
|
|
347
|
+
* @summary Get an IdP group by code
|
|
348
|
+
* @param {string} code IdP group code.
|
|
349
|
+
* @param {string} [authorization] Bearer Token
|
|
350
|
+
* @param {*} [options] Override http request option.
|
|
351
|
+
* @throws {RequiredError}
|
|
352
|
+
*/
|
|
353
|
+
async getSsoIdpGroup(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetSsoIdpGroupResponseClass>> {
|
|
354
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getSsoIdpGroup(code, authorization, options);
|
|
355
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
356
|
+
},
|
|
357
|
+
/**
|
|
358
|
+
* undefined **Required Permissions** \"tenant-management.settings.view\"
|
|
359
|
+
* @summary List registered IdP groups
|
|
360
|
+
* @param {string} [authorization] Bearer Token
|
|
361
|
+
* @param {number} [pageSize] Number of items per page.
|
|
362
|
+
* @param {string} [pageToken] Opaque token for the next page (returned in a previous response).
|
|
363
|
+
* @param {string} [filter] Filter IdP groups by one or more fields. Allowed: id, code, externalId, name, isActive, userGroup.code, createdAt, updatedAt.
|
|
364
|
+
* @param {string} [search] Free-text search over searchable columns.
|
|
365
|
+
* @param {string} [order] Sort the response. Allowed columns: id, code, externalId, name, isActive, createdAt, updatedAt.
|
|
366
|
+
* @param {string} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
367
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
368
|
+
* @param {*} [options] Override http request option.
|
|
369
|
+
* @throws {RequiredError}
|
|
370
|
+
*/
|
|
371
|
+
async listSsoIdpGroups(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListSsoIdpGroupsResponseClass>> {
|
|
372
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listSsoIdpGroups(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
373
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
374
|
+
},
|
|
161
375
|
/**
|
|
162
376
|
* externalId is immutable. eisUserGroupCodes is set-replace when present. **Required Permissions** \"tenant-management.settings.update\"
|
|
163
377
|
* @summary Update IdP group name and/or EIS mappings
|
|
@@ -192,6 +406,45 @@ export const SSOIdPGroupsApiFactory = function (configuration?: Configuration, b
|
|
|
192
406
|
createSsoIdpGroup(createSsoIdpGroupRequestDto: CreateSsoIdpGroupRequestDto, authorization?: string, options?: any): AxiosPromise<CreateSsoIdpGroupResponseClass> {
|
|
193
407
|
return localVarFp.createSsoIdpGroup(createSsoIdpGroupRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
194
408
|
},
|
|
409
|
+
/**
|
|
410
|
+
* undefined **Required Permissions** \"tenant-management.settings.delete\"
|
|
411
|
+
* @summary Delete an IdP group and all of its mappings
|
|
412
|
+
* @param {string} code IdP group code.
|
|
413
|
+
* @param {string} [authorization] Bearer Token
|
|
414
|
+
* @param {*} [options] Override http request option.
|
|
415
|
+
* @throws {RequiredError}
|
|
416
|
+
*/
|
|
417
|
+
deleteSsoIdpGroup(code: string, authorization?: string, options?: any): AxiosPromise<DeleteByCodeResponseClass> {
|
|
418
|
+
return localVarFp.deleteSsoIdpGroup(code, authorization, options).then((request) => request(axios, basePath));
|
|
419
|
+
},
|
|
420
|
+
/**
|
|
421
|
+
* undefined **Required Permissions** \"tenant-management.settings.view\"
|
|
422
|
+
* @summary Get an IdP group by code
|
|
423
|
+
* @param {string} code IdP group code.
|
|
424
|
+
* @param {string} [authorization] Bearer Token
|
|
425
|
+
* @param {*} [options] Override http request option.
|
|
426
|
+
* @throws {RequiredError}
|
|
427
|
+
*/
|
|
428
|
+
getSsoIdpGroup(code: string, authorization?: string, options?: any): AxiosPromise<GetSsoIdpGroupResponseClass> {
|
|
429
|
+
return localVarFp.getSsoIdpGroup(code, authorization, options).then((request) => request(axios, basePath));
|
|
430
|
+
},
|
|
431
|
+
/**
|
|
432
|
+
* undefined **Required Permissions** \"tenant-management.settings.view\"
|
|
433
|
+
* @summary List registered IdP groups
|
|
434
|
+
* @param {string} [authorization] Bearer Token
|
|
435
|
+
* @param {number} [pageSize] Number of items per page.
|
|
436
|
+
* @param {string} [pageToken] Opaque token for the next page (returned in a previous response).
|
|
437
|
+
* @param {string} [filter] Filter IdP groups by one or more fields. Allowed: id, code, externalId, name, isActive, userGroup.code, createdAt, updatedAt.
|
|
438
|
+
* @param {string} [search] Free-text search over searchable columns.
|
|
439
|
+
* @param {string} [order] Sort the response. Allowed columns: id, code, externalId, name, isActive, createdAt, updatedAt.
|
|
440
|
+
* @param {string} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
441
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
442
|
+
* @param {*} [options] Override http request option.
|
|
443
|
+
* @throws {RequiredError}
|
|
444
|
+
*/
|
|
445
|
+
listSsoIdpGroups(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListSsoIdpGroupsResponseClass> {
|
|
446
|
+
return localVarFp.listSsoIdpGroups(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
447
|
+
},
|
|
195
448
|
/**
|
|
196
449
|
* externalId is immutable. eisUserGroupCodes is set-replace when present. **Required Permissions** \"tenant-management.settings.update\"
|
|
197
450
|
* @summary Update IdP group name and/or EIS mappings
|
|
@@ -228,6 +481,111 @@ export interface SSOIdPGroupsApiCreateSsoIdpGroupRequest {
|
|
|
228
481
|
readonly authorization?: string
|
|
229
482
|
}
|
|
230
483
|
|
|
484
|
+
/**
|
|
485
|
+
* Request parameters for deleteSsoIdpGroup operation in SSOIdPGroupsApi.
|
|
486
|
+
* @export
|
|
487
|
+
* @interface SSOIdPGroupsApiDeleteSsoIdpGroupRequest
|
|
488
|
+
*/
|
|
489
|
+
export interface SSOIdPGroupsApiDeleteSsoIdpGroupRequest {
|
|
490
|
+
/**
|
|
491
|
+
* IdP group code.
|
|
492
|
+
* @type {string}
|
|
493
|
+
* @memberof SSOIdPGroupsApiDeleteSsoIdpGroup
|
|
494
|
+
*/
|
|
495
|
+
readonly code: string
|
|
496
|
+
|
|
497
|
+
/**
|
|
498
|
+
* Bearer Token
|
|
499
|
+
* @type {string}
|
|
500
|
+
* @memberof SSOIdPGroupsApiDeleteSsoIdpGroup
|
|
501
|
+
*/
|
|
502
|
+
readonly authorization?: string
|
|
503
|
+
}
|
|
504
|
+
|
|
505
|
+
/**
|
|
506
|
+
* Request parameters for getSsoIdpGroup operation in SSOIdPGroupsApi.
|
|
507
|
+
* @export
|
|
508
|
+
* @interface SSOIdPGroupsApiGetSsoIdpGroupRequest
|
|
509
|
+
*/
|
|
510
|
+
export interface SSOIdPGroupsApiGetSsoIdpGroupRequest {
|
|
511
|
+
/**
|
|
512
|
+
* IdP group code.
|
|
513
|
+
* @type {string}
|
|
514
|
+
* @memberof SSOIdPGroupsApiGetSsoIdpGroup
|
|
515
|
+
*/
|
|
516
|
+
readonly code: string
|
|
517
|
+
|
|
518
|
+
/**
|
|
519
|
+
* Bearer Token
|
|
520
|
+
* @type {string}
|
|
521
|
+
* @memberof SSOIdPGroupsApiGetSsoIdpGroup
|
|
522
|
+
*/
|
|
523
|
+
readonly authorization?: string
|
|
524
|
+
}
|
|
525
|
+
|
|
526
|
+
/**
|
|
527
|
+
* Request parameters for listSsoIdpGroups operation in SSOIdPGroupsApi.
|
|
528
|
+
* @export
|
|
529
|
+
* @interface SSOIdPGroupsApiListSsoIdpGroupsRequest
|
|
530
|
+
*/
|
|
531
|
+
export interface SSOIdPGroupsApiListSsoIdpGroupsRequest {
|
|
532
|
+
/**
|
|
533
|
+
* Bearer Token
|
|
534
|
+
* @type {string}
|
|
535
|
+
* @memberof SSOIdPGroupsApiListSsoIdpGroups
|
|
536
|
+
*/
|
|
537
|
+
readonly authorization?: string
|
|
538
|
+
|
|
539
|
+
/**
|
|
540
|
+
* Number of items per page.
|
|
541
|
+
* @type {number}
|
|
542
|
+
* @memberof SSOIdPGroupsApiListSsoIdpGroups
|
|
543
|
+
*/
|
|
544
|
+
readonly pageSize?: number
|
|
545
|
+
|
|
546
|
+
/**
|
|
547
|
+
* Opaque token for the next page (returned in a previous response).
|
|
548
|
+
* @type {string}
|
|
549
|
+
* @memberof SSOIdPGroupsApiListSsoIdpGroups
|
|
550
|
+
*/
|
|
551
|
+
readonly pageToken?: string
|
|
552
|
+
|
|
553
|
+
/**
|
|
554
|
+
* Filter IdP groups by one or more fields. Allowed: id, code, externalId, name, isActive, userGroup.code, createdAt, updatedAt.
|
|
555
|
+
* @type {string}
|
|
556
|
+
* @memberof SSOIdPGroupsApiListSsoIdpGroups
|
|
557
|
+
*/
|
|
558
|
+
readonly filter?: string
|
|
559
|
+
|
|
560
|
+
/**
|
|
561
|
+
* Free-text search over searchable columns.
|
|
562
|
+
* @type {string}
|
|
563
|
+
* @memberof SSOIdPGroupsApiListSsoIdpGroups
|
|
564
|
+
*/
|
|
565
|
+
readonly search?: string
|
|
566
|
+
|
|
567
|
+
/**
|
|
568
|
+
* Sort the response. Allowed columns: id, code, externalId, name, isActive, createdAt, updatedAt.
|
|
569
|
+
* @type {string}
|
|
570
|
+
* @memberof SSOIdPGroupsApiListSsoIdpGroups
|
|
571
|
+
*/
|
|
572
|
+
readonly order?: string
|
|
573
|
+
|
|
574
|
+
/**
|
|
575
|
+
* Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
576
|
+
* @type {string}
|
|
577
|
+
* @memberof SSOIdPGroupsApiListSsoIdpGroups
|
|
578
|
+
*/
|
|
579
|
+
readonly expand?: string
|
|
580
|
+
|
|
581
|
+
/**
|
|
582
|
+
* Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
583
|
+
* @type {string}
|
|
584
|
+
* @memberof SSOIdPGroupsApiListSsoIdpGroups
|
|
585
|
+
*/
|
|
586
|
+
readonly filters?: string
|
|
587
|
+
}
|
|
588
|
+
|
|
231
589
|
/**
|
|
232
590
|
* Request parameters for updateSsoIdpGroup operation in SSOIdPGroupsApi.
|
|
233
591
|
* @export
|
|
@@ -275,6 +633,42 @@ export class SSOIdPGroupsApi extends BaseAPI {
|
|
|
275
633
|
return SSOIdPGroupsApiFp(this.configuration).createSsoIdpGroup(requestParameters.createSsoIdpGroupRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
276
634
|
}
|
|
277
635
|
|
|
636
|
+
/**
|
|
637
|
+
* undefined **Required Permissions** \"tenant-management.settings.delete\"
|
|
638
|
+
* @summary Delete an IdP group and all of its mappings
|
|
639
|
+
* @param {SSOIdPGroupsApiDeleteSsoIdpGroupRequest} requestParameters Request parameters.
|
|
640
|
+
* @param {*} [options] Override http request option.
|
|
641
|
+
* @throws {RequiredError}
|
|
642
|
+
* @memberof SSOIdPGroupsApi
|
|
643
|
+
*/
|
|
644
|
+
public deleteSsoIdpGroup(requestParameters: SSOIdPGroupsApiDeleteSsoIdpGroupRequest, options?: AxiosRequestConfig) {
|
|
645
|
+
return SSOIdPGroupsApiFp(this.configuration).deleteSsoIdpGroup(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
646
|
+
}
|
|
647
|
+
|
|
648
|
+
/**
|
|
649
|
+
* undefined **Required Permissions** \"tenant-management.settings.view\"
|
|
650
|
+
* @summary Get an IdP group by code
|
|
651
|
+
* @param {SSOIdPGroupsApiGetSsoIdpGroupRequest} requestParameters Request parameters.
|
|
652
|
+
* @param {*} [options] Override http request option.
|
|
653
|
+
* @throws {RequiredError}
|
|
654
|
+
* @memberof SSOIdPGroupsApi
|
|
655
|
+
*/
|
|
656
|
+
public getSsoIdpGroup(requestParameters: SSOIdPGroupsApiGetSsoIdpGroupRequest, options?: AxiosRequestConfig) {
|
|
657
|
+
return SSOIdPGroupsApiFp(this.configuration).getSsoIdpGroup(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
658
|
+
}
|
|
659
|
+
|
|
660
|
+
/**
|
|
661
|
+
* undefined **Required Permissions** \"tenant-management.settings.view\"
|
|
662
|
+
* @summary List registered IdP groups
|
|
663
|
+
* @param {SSOIdPGroupsApiListSsoIdpGroupsRequest} requestParameters Request parameters.
|
|
664
|
+
* @param {*} [options] Override http request option.
|
|
665
|
+
* @throws {RequiredError}
|
|
666
|
+
* @memberof SSOIdPGroupsApi
|
|
667
|
+
*/
|
|
668
|
+
public listSsoIdpGroups(requestParameters: SSOIdPGroupsApiListSsoIdpGroupsRequest = {}, options?: AxiosRequestConfig) {
|
|
669
|
+
return SSOIdPGroupsApiFp(this.configuration).listSsoIdpGroups(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
|
|
670
|
+
}
|
|
671
|
+
|
|
278
672
|
/**
|
|
279
673
|
* externalId is immutable. eisUserGroupCodes is set-replace when present. **Required Permissions** \"tenant-management.settings.update\"
|
|
280
674
|
* @summary Update IdP group name and/or EIS mappings
|