@emilgroup/tenant-sdk 1.42.1-beta.35 → 1.42.1-beta.36
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 +1 -0
- package/README.md +2 -2
- package/api/ssoid-pgroups-api.ts +103 -0
- package/dist/api/ssoid-pgroups-api.d.ts +56 -0
- package/dist/api/ssoid-pgroups-api.js +92 -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 +1 -0
- package/dist/models/index.js +1 -0
- package/models/delete-by-code-response-class.ts +30 -0
- package/models/index.ts +1 -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
|
package/README.md
CHANGED
|
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
|
|
|
17
17
|
Navigate to the folder of your consuming project and run one of the following commands:
|
|
18
18
|
|
|
19
19
|
```
|
|
20
|
-
npm install @emilgroup/tenant-sdk@1.42.1-beta.
|
|
20
|
+
npm install @emilgroup/tenant-sdk@1.42.1-beta.36 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/tenant-sdk@1.42.1-beta.
|
|
24
|
+
yarn add @emilgroup/tenant-sdk@1.42.1-beta.36
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `UsersApi`.
|
package/api/ssoid-pgroups-api.ts
CHANGED
|
@@ -25,6 +25,8 @@ 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
|
|
28
30
|
import { UpdateSsoIdpGroupBodyDto } from '../models';
|
|
29
31
|
// @ts-ignore
|
|
30
32
|
import { UpdateSsoIdpGroupResponseClass } from '../models';
|
|
@@ -81,6 +83,51 @@ export const SSOIdPGroupsApiAxiosParamCreator = function (configuration?: Config
|
|
|
81
83
|
options: localVarRequestOptions,
|
|
82
84
|
};
|
|
83
85
|
},
|
|
86
|
+
/**
|
|
87
|
+
* undefined **Required Permissions** \"tenant-management.settings.delete\"
|
|
88
|
+
* @summary Delete an IdP group and all of its mappings
|
|
89
|
+
* @param {string} code IdP group code.
|
|
90
|
+
* @param {string} [authorization] Bearer Token
|
|
91
|
+
* @param {*} [options] Override http request option.
|
|
92
|
+
* @throws {RequiredError}
|
|
93
|
+
*/
|
|
94
|
+
deleteSsoIdpGroup: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
95
|
+
// verify required parameter 'code' is not null or undefined
|
|
96
|
+
assertParamExists('deleteSsoIdpGroup', 'code', code)
|
|
97
|
+
const localVarPath = `/tenantservice/v1/sso-idp-groups/{code}`
|
|
98
|
+
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
99
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
100
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
101
|
+
let baseOptions;
|
|
102
|
+
let baseAccessToken;
|
|
103
|
+
if (configuration) {
|
|
104
|
+
baseOptions = configuration.baseOptions;
|
|
105
|
+
baseAccessToken = configuration.accessToken;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
109
|
+
const localVarHeaderParameter = {} as any;
|
|
110
|
+
const localVarQueryParameter = {} as any;
|
|
111
|
+
|
|
112
|
+
// authentication bearer required
|
|
113
|
+
// http bearer authentication required
|
|
114
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
115
|
+
|
|
116
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
117
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
123
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
124
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
125
|
+
|
|
126
|
+
return {
|
|
127
|
+
url: toPathString(localVarUrlObj),
|
|
128
|
+
options: localVarRequestOptions,
|
|
129
|
+
};
|
|
130
|
+
},
|
|
84
131
|
/**
|
|
85
132
|
* externalId is immutable. eisUserGroupCodes is set-replace when present. **Required Permissions** \"tenant-management.settings.update\"
|
|
86
133
|
* @summary Update IdP group name and/or EIS mappings
|
|
@@ -154,6 +201,18 @@ export const SSOIdPGroupsApiFp = function(configuration?: Configuration) {
|
|
|
154
201
|
const localVarAxiosArgs = await localVarAxiosParamCreator.createSsoIdpGroup(createSsoIdpGroupRequestDto, authorization, options);
|
|
155
202
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
156
203
|
},
|
|
204
|
+
/**
|
|
205
|
+
* undefined **Required Permissions** \"tenant-management.settings.delete\"
|
|
206
|
+
* @summary Delete an IdP group and all of its mappings
|
|
207
|
+
* @param {string} code IdP group code.
|
|
208
|
+
* @param {string} [authorization] Bearer Token
|
|
209
|
+
* @param {*} [options] Override http request option.
|
|
210
|
+
* @throws {RequiredError}
|
|
211
|
+
*/
|
|
212
|
+
async deleteSsoIdpGroup(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteByCodeResponseClass>> {
|
|
213
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteSsoIdpGroup(code, authorization, options);
|
|
214
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
215
|
+
},
|
|
157
216
|
/**
|
|
158
217
|
* externalId is immutable. eisUserGroupCodes is set-replace when present. **Required Permissions** \"tenant-management.settings.update\"
|
|
159
218
|
* @summary Update IdP group name and/or EIS mappings
|
|
@@ -188,6 +247,17 @@ export const SSOIdPGroupsApiFactory = function (configuration?: Configuration, b
|
|
|
188
247
|
createSsoIdpGroup(createSsoIdpGroupRequestDto: CreateSsoIdpGroupRequestDto, authorization?: string, options?: any): AxiosPromise<CreateSsoIdpGroupResponseClass> {
|
|
189
248
|
return localVarFp.createSsoIdpGroup(createSsoIdpGroupRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
190
249
|
},
|
|
250
|
+
/**
|
|
251
|
+
* undefined **Required Permissions** \"tenant-management.settings.delete\"
|
|
252
|
+
* @summary Delete an IdP group and all of its mappings
|
|
253
|
+
* @param {string} code IdP group code.
|
|
254
|
+
* @param {string} [authorization] Bearer Token
|
|
255
|
+
* @param {*} [options] Override http request option.
|
|
256
|
+
* @throws {RequiredError}
|
|
257
|
+
*/
|
|
258
|
+
deleteSsoIdpGroup(code: string, authorization?: string, options?: any): AxiosPromise<DeleteByCodeResponseClass> {
|
|
259
|
+
return localVarFp.deleteSsoIdpGroup(code, authorization, options).then((request) => request(axios, basePath));
|
|
260
|
+
},
|
|
191
261
|
/**
|
|
192
262
|
* externalId is immutable. eisUserGroupCodes is set-replace when present. **Required Permissions** \"tenant-management.settings.update\"
|
|
193
263
|
* @summary Update IdP group name and/or EIS mappings
|
|
@@ -224,6 +294,27 @@ export interface SSOIdPGroupsApiCreateSsoIdpGroupRequest {
|
|
|
224
294
|
readonly authorization?: string
|
|
225
295
|
}
|
|
226
296
|
|
|
297
|
+
/**
|
|
298
|
+
* Request parameters for deleteSsoIdpGroup operation in SSOIdPGroupsApi.
|
|
299
|
+
* @export
|
|
300
|
+
* @interface SSOIdPGroupsApiDeleteSsoIdpGroupRequest
|
|
301
|
+
*/
|
|
302
|
+
export interface SSOIdPGroupsApiDeleteSsoIdpGroupRequest {
|
|
303
|
+
/**
|
|
304
|
+
* IdP group code.
|
|
305
|
+
* @type {string}
|
|
306
|
+
* @memberof SSOIdPGroupsApiDeleteSsoIdpGroup
|
|
307
|
+
*/
|
|
308
|
+
readonly code: string
|
|
309
|
+
|
|
310
|
+
/**
|
|
311
|
+
* Bearer Token
|
|
312
|
+
* @type {string}
|
|
313
|
+
* @memberof SSOIdPGroupsApiDeleteSsoIdpGroup
|
|
314
|
+
*/
|
|
315
|
+
readonly authorization?: string
|
|
316
|
+
}
|
|
317
|
+
|
|
227
318
|
/**
|
|
228
319
|
* Request parameters for updateSsoIdpGroup operation in SSOIdPGroupsApi.
|
|
229
320
|
* @export
|
|
@@ -271,6 +362,18 @@ export class SSOIdPGroupsApi extends BaseAPI {
|
|
|
271
362
|
return SSOIdPGroupsApiFp(this.configuration).createSsoIdpGroup(requestParameters.createSsoIdpGroupRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
272
363
|
}
|
|
273
364
|
|
|
365
|
+
/**
|
|
366
|
+
* undefined **Required Permissions** \"tenant-management.settings.delete\"
|
|
367
|
+
* @summary Delete an IdP group and all of its mappings
|
|
368
|
+
* @param {SSOIdPGroupsApiDeleteSsoIdpGroupRequest} requestParameters Request parameters.
|
|
369
|
+
* @param {*} [options] Override http request option.
|
|
370
|
+
* @throws {RequiredError}
|
|
371
|
+
* @memberof SSOIdPGroupsApi
|
|
372
|
+
*/
|
|
373
|
+
public deleteSsoIdpGroup(requestParameters: SSOIdPGroupsApiDeleteSsoIdpGroupRequest, options?: AxiosRequestConfig) {
|
|
374
|
+
return SSOIdPGroupsApiFp(this.configuration).deleteSsoIdpGroup(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
375
|
+
}
|
|
376
|
+
|
|
274
377
|
/**
|
|
275
378
|
* externalId is immutable. eisUserGroupCodes is set-replace when present. **Required Permissions** \"tenant-management.settings.update\"
|
|
276
379
|
* @summary Update IdP group name and/or EIS mappings
|
|
@@ -14,6 +14,7 @@ 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';
|
|
17
18
|
import { UpdateSsoIdpGroupBodyDto } from '../models';
|
|
18
19
|
import { UpdateSsoIdpGroupResponseClass } from '../models';
|
|
19
20
|
/**
|
|
@@ -30,6 +31,15 @@ export declare const SSOIdPGroupsApiAxiosParamCreator: (configuration?: Configur
|
|
|
30
31
|
* @throws {RequiredError}
|
|
31
32
|
*/
|
|
32
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>;
|
|
33
43
|
/**
|
|
34
44
|
* externalId is immutable. eisUserGroupCodes is set-replace when present. **Required Permissions** \"tenant-management.settings.update\"
|
|
35
45
|
* @summary Update IdP group name and/or EIS mappings
|
|
@@ -55,6 +65,15 @@ export declare const SSOIdPGroupsApiFp: (configuration?: Configuration) => {
|
|
|
55
65
|
* @throws {RequiredError}
|
|
56
66
|
*/
|
|
57
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>>;
|
|
58
77
|
/**
|
|
59
78
|
* externalId is immutable. eisUserGroupCodes is set-replace when present. **Required Permissions** \"tenant-management.settings.update\"
|
|
60
79
|
* @summary Update IdP group name and/or EIS mappings
|
|
@@ -80,6 +99,15 @@ export declare const SSOIdPGroupsApiFactory: (configuration?: Configuration, bas
|
|
|
80
99
|
* @throws {RequiredError}
|
|
81
100
|
*/
|
|
82
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>;
|
|
83
111
|
/**
|
|
84
112
|
* externalId is immutable. eisUserGroupCodes is set-replace when present. **Required Permissions** \"tenant-management.settings.update\"
|
|
85
113
|
* @summary Update IdP group name and/or EIS mappings
|
|
@@ -110,6 +138,25 @@ export interface SSOIdPGroupsApiCreateSsoIdpGroupRequest {
|
|
|
110
138
|
*/
|
|
111
139
|
readonly authorization?: string;
|
|
112
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
|
+
}
|
|
113
160
|
/**
|
|
114
161
|
* Request parameters for updateSsoIdpGroup operation in SSOIdPGroupsApi.
|
|
115
162
|
* @export
|
|
@@ -151,6 +198,15 @@ export declare class SSOIdPGroupsApi extends BaseAPI {
|
|
|
151
198
|
* @memberof SSOIdPGroupsApi
|
|
152
199
|
*/
|
|
153
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, {}>>;
|
|
154
210
|
/**
|
|
155
211
|
* externalId is immutable. eisUserGroupCodes is set-replace when present. **Required Permissions** \"tenant-management.settings.update\"
|
|
156
212
|
* @summary Update IdP group name and/or EIS mappings
|
|
@@ -141,6 +141,54 @@ var SSOIdPGroupsApiAxiosParamCreator = function (configuration) {
|
|
|
141
141
|
});
|
|
142
142
|
});
|
|
143
143
|
},
|
|
144
|
+
/**
|
|
145
|
+
* undefined **Required Permissions** \"tenant-management.settings.delete\"
|
|
146
|
+
* @summary Delete an IdP group and all of its mappings
|
|
147
|
+
* @param {string} code IdP group code.
|
|
148
|
+
* @param {string} [authorization] Bearer Token
|
|
149
|
+
* @param {*} [options] Override http request option.
|
|
150
|
+
* @throws {RequiredError}
|
|
151
|
+
*/
|
|
152
|
+
deleteSsoIdpGroup: function (code, authorization, options) {
|
|
153
|
+
if (options === void 0) { options = {}; }
|
|
154
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
155
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
156
|
+
return __generator(this, function (_a) {
|
|
157
|
+
switch (_a.label) {
|
|
158
|
+
case 0:
|
|
159
|
+
// verify required parameter 'code' is not null or undefined
|
|
160
|
+
(0, common_1.assertParamExists)('deleteSsoIdpGroup', 'code', code);
|
|
161
|
+
localVarPath = "/tenantservice/v1/sso-idp-groups/{code}"
|
|
162
|
+
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
163
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
164
|
+
if (configuration) {
|
|
165
|
+
baseOptions = configuration.baseOptions;
|
|
166
|
+
baseAccessToken = configuration.accessToken;
|
|
167
|
+
}
|
|
168
|
+
localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
|
|
169
|
+
localVarHeaderParameter = {};
|
|
170
|
+
localVarQueryParameter = {};
|
|
171
|
+
// authentication bearer required
|
|
172
|
+
// http bearer authentication required
|
|
173
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
174
|
+
case 1:
|
|
175
|
+
// authentication bearer required
|
|
176
|
+
// http bearer authentication required
|
|
177
|
+
_a.sent();
|
|
178
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
179
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
180
|
+
}
|
|
181
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
182
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
183
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
184
|
+
return [2 /*return*/, {
|
|
185
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
186
|
+
options: localVarRequestOptions,
|
|
187
|
+
}];
|
|
188
|
+
}
|
|
189
|
+
});
|
|
190
|
+
});
|
|
191
|
+
},
|
|
144
192
|
/**
|
|
145
193
|
* externalId is immutable. eisUserGroupCodes is set-replace when present. **Required Permissions** \"tenant-management.settings.update\"
|
|
146
194
|
* @summary Update IdP group name and/or EIS mappings
|
|
@@ -225,6 +273,27 @@ var SSOIdPGroupsApiFp = function (configuration) {
|
|
|
225
273
|
});
|
|
226
274
|
});
|
|
227
275
|
},
|
|
276
|
+
/**
|
|
277
|
+
* undefined **Required Permissions** \"tenant-management.settings.delete\"
|
|
278
|
+
* @summary Delete an IdP group and all of its mappings
|
|
279
|
+
* @param {string} code IdP group code.
|
|
280
|
+
* @param {string} [authorization] Bearer Token
|
|
281
|
+
* @param {*} [options] Override http request option.
|
|
282
|
+
* @throws {RequiredError}
|
|
283
|
+
*/
|
|
284
|
+
deleteSsoIdpGroup: function (code, authorization, options) {
|
|
285
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
286
|
+
var localVarAxiosArgs;
|
|
287
|
+
return __generator(this, function (_a) {
|
|
288
|
+
switch (_a.label) {
|
|
289
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteSsoIdpGroup(code, authorization, options)];
|
|
290
|
+
case 1:
|
|
291
|
+
localVarAxiosArgs = _a.sent();
|
|
292
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
293
|
+
}
|
|
294
|
+
});
|
|
295
|
+
});
|
|
296
|
+
},
|
|
228
297
|
/**
|
|
229
298
|
* externalId is immutable. eisUserGroupCodes is set-replace when present. **Required Permissions** \"tenant-management.settings.update\"
|
|
230
299
|
* @summary Update IdP group name and/or EIS mappings
|
|
@@ -268,6 +337,17 @@ var SSOIdPGroupsApiFactory = function (configuration, basePath, axios) {
|
|
|
268
337
|
createSsoIdpGroup: function (createSsoIdpGroupRequestDto, authorization, options) {
|
|
269
338
|
return localVarFp.createSsoIdpGroup(createSsoIdpGroupRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
270
339
|
},
|
|
340
|
+
/**
|
|
341
|
+
* undefined **Required Permissions** \"tenant-management.settings.delete\"
|
|
342
|
+
* @summary Delete an IdP group and all of its mappings
|
|
343
|
+
* @param {string} code IdP group code.
|
|
344
|
+
* @param {string} [authorization] Bearer Token
|
|
345
|
+
* @param {*} [options] Override http request option.
|
|
346
|
+
* @throws {RequiredError}
|
|
347
|
+
*/
|
|
348
|
+
deleteSsoIdpGroup: function (code, authorization, options) {
|
|
349
|
+
return localVarFp.deleteSsoIdpGroup(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
350
|
+
},
|
|
271
351
|
/**
|
|
272
352
|
* externalId is immutable. eisUserGroupCodes is set-replace when present. **Required Permissions** \"tenant-management.settings.update\"
|
|
273
353
|
* @summary Update IdP group name and/or EIS mappings
|
|
@@ -306,6 +386,18 @@ var SSOIdPGroupsApi = /** @class */ (function (_super) {
|
|
|
306
386
|
var _this = this;
|
|
307
387
|
return (0, exports.SSOIdPGroupsApiFp)(this.configuration).createSsoIdpGroup(requestParameters.createSsoIdpGroupRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
308
388
|
};
|
|
389
|
+
/**
|
|
390
|
+
* undefined **Required Permissions** \"tenant-management.settings.delete\"
|
|
391
|
+
* @summary Delete an IdP group and all of its mappings
|
|
392
|
+
* @param {SSOIdPGroupsApiDeleteSsoIdpGroupRequest} requestParameters Request parameters.
|
|
393
|
+
* @param {*} [options] Override http request option.
|
|
394
|
+
* @throws {RequiredError}
|
|
395
|
+
* @memberof SSOIdPGroupsApi
|
|
396
|
+
*/
|
|
397
|
+
SSOIdPGroupsApi.prototype.deleteSsoIdpGroup = function (requestParameters, options) {
|
|
398
|
+
var _this = this;
|
|
399
|
+
return (0, exports.SSOIdPGroupsApiFp)(this.configuration).deleteSsoIdpGroup(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
400
|
+
};
|
|
309
401
|
/**
|
|
310
402
|
* externalId is immutable. eisUserGroupCodes is set-replace when present. **Required Permissions** \"tenant-management.settings.update\"
|
|
311
403
|
* @summary Update IdP group name and/or EIS mappings
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL Tenant Service
|
|
3
|
+
* The EMIL TenantService API description
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
* Contact: kontakt@emil.de
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface DeleteByCodeResponseClass
|
|
16
|
+
*/
|
|
17
|
+
export interface DeleteByCodeResponseClass {
|
|
18
|
+
/**
|
|
19
|
+
* Whether the IdP group was deleted.
|
|
20
|
+
* @type {boolean}
|
|
21
|
+
* @memberof DeleteByCodeResponseClass
|
|
22
|
+
*/
|
|
23
|
+
'success': boolean;
|
|
24
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL Tenant Service
|
|
6
|
+
* The EMIL TenantService API description
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
* Contact: kontakt@emil.de
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
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';
|
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);
|
|
@@ -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';
|