@emilgroup/tenant-sdk-node 1.39.1-beta.34 → 1.39.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 +6 -0
- package/README.md +2 -2
- package/api/ssoid-pgroups-api.ts +289 -0
- package/api.ts +2 -0
- package/dist/api/ssoid-pgroups-api.d.ts +163 -0
- package/dist/api/ssoid-pgroups-api.js +327 -0
- package/dist/api.d.ts +1 -0
- package/dist/api.js +1 -0
- package/dist/models/create-sso-idp-group-request-dto.d.ts +36 -0
- package/dist/models/create-sso-idp-group-request-dto.js +15 -0
- package/dist/models/create-sso-idp-group-response-class.d.ts +25 -0
- package/dist/models/create-sso-idp-group-response-class.js +15 -0
- package/dist/models/index.d.ts +5 -0
- package/dist/models/index.js +5 -0
- package/dist/models/sso-idp-group-class.d.ts +72 -0
- package/dist/models/sso-idp-group-class.js +15 -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/create-sso-idp-group-request-dto.ts +42 -0
- package/models/create-sso-idp-group-response-class.ts +31 -0
- package/models/index.ts +5 -0
- package/models/sso-idp-group-class.ts +78 -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
|
@@ -22,6 +22,7 @@ api/report-schedule-logs-api.ts
|
|
|
22
22
|
api/roles-api.ts
|
|
23
23
|
api/settings-api.ts
|
|
24
24
|
api/ssoconnection-api.ts
|
|
25
|
+
api/ssoid-pgroups-api.ts
|
|
25
26
|
api/user-controller-rest-api.ts
|
|
26
27
|
api/user-group-api.ts
|
|
27
28
|
api/users-api.ts
|
|
@@ -55,6 +56,8 @@ models/create-report-schedule-response-class.ts
|
|
|
55
56
|
models/create-resources-migration-request-dto.ts
|
|
56
57
|
models/create-sso-connection-request-dto.ts
|
|
57
58
|
models/create-sso-connection-response-class.ts
|
|
59
|
+
models/create-sso-idp-group-request-dto.ts
|
|
60
|
+
models/create-sso-idp-group-response-class.ts
|
|
58
61
|
models/create-tenant-request-dto.ts
|
|
59
62
|
models/create-user-group-request-dto.ts
|
|
60
63
|
models/create-user-group-response-class.ts
|
|
@@ -154,6 +157,7 @@ models/sso-attribute-mapping-dto.ts
|
|
|
154
157
|
models/sso-attribute-mapping-template-class.ts
|
|
155
158
|
models/sso-connection-class.ts
|
|
156
159
|
models/sso-connection-setup-class.ts
|
|
160
|
+
models/sso-idp-group-class.ts
|
|
157
161
|
models/subscription-class.ts
|
|
158
162
|
models/tenant-admin-user-dto.ts
|
|
159
163
|
models/tenant-settings-class.ts
|
|
@@ -173,6 +177,8 @@ models/update-sso-connection-body-dto.ts
|
|
|
173
177
|
models/update-sso-connection-response-class.ts
|
|
174
178
|
models/update-sso-connection-status-body-dto.ts
|
|
175
179
|
models/update-sso-connection-status-response-class.ts
|
|
180
|
+
models/update-sso-idp-group-body-dto.ts
|
|
181
|
+
models/update-sso-idp-group-response-class.ts
|
|
176
182
|
models/update-user-group-request-dto.ts
|
|
177
183
|
models/update-user-group-response-class.ts
|
|
178
184
|
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.36 --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.36
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `UsersApi`.
|
|
@@ -0,0 +1,289 @@
|
|
|
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 globalAxios, { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
17
|
+
import { Configuration } from '../configuration';
|
|
18
|
+
// Some imports not used depending on template conditions
|
|
19
|
+
// @ts-ignore
|
|
20
|
+
import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
|
|
21
|
+
// @ts-ignore
|
|
22
|
+
import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';
|
|
23
|
+
// @ts-ignore
|
|
24
|
+
import { CreateSsoIdpGroupRequestDto } from '../models';
|
|
25
|
+
// @ts-ignore
|
|
26
|
+
import { CreateSsoIdpGroupResponseClass } from '../models';
|
|
27
|
+
// @ts-ignore
|
|
28
|
+
import { UpdateSsoIdpGroupBodyDto } from '../models';
|
|
29
|
+
// @ts-ignore
|
|
30
|
+
import { UpdateSsoIdpGroupResponseClass } from '../models';
|
|
31
|
+
// URLSearchParams not necessarily used
|
|
32
|
+
// @ts-ignore
|
|
33
|
+
import { URL, URLSearchParams } from 'url';
|
|
34
|
+
const FormData = require('form-data');
|
|
35
|
+
/**
|
|
36
|
+
* SSOIdPGroupsApi - axios parameter creator
|
|
37
|
+
* @export
|
|
38
|
+
*/
|
|
39
|
+
export const SSOIdPGroupsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
40
|
+
return {
|
|
41
|
+
/**
|
|
42
|
+
* Creates an inactive IdP group with at least one EIS user-group mapping. externalId must be a GUID and is immutable after create. **Required Permissions** \"tenant-management.settings.create\"
|
|
43
|
+
* @summary Register an IdP group and its EIS mappings
|
|
44
|
+
* @param {CreateSsoIdpGroupRequestDto} createSsoIdpGroupRequestDto
|
|
45
|
+
* @param {string} [authorization] Bearer Token
|
|
46
|
+
* @param {*} [options] Override http request option.
|
|
47
|
+
* @throws {RequiredError}
|
|
48
|
+
*/
|
|
49
|
+
createSsoIdpGroup: async (createSsoIdpGroupRequestDto: CreateSsoIdpGroupRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
50
|
+
// verify required parameter 'createSsoIdpGroupRequestDto' is not null or undefined
|
|
51
|
+
assertParamExists('createSsoIdpGroup', 'createSsoIdpGroupRequestDto', createSsoIdpGroupRequestDto)
|
|
52
|
+
const localVarPath = `/tenantservice/v1/sso-idp-groups`;
|
|
53
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
54
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
55
|
+
let baseOptions;
|
|
56
|
+
let baseAccessToken;
|
|
57
|
+
if (configuration) {
|
|
58
|
+
baseOptions = configuration.baseOptions;
|
|
59
|
+
baseAccessToken = configuration.accessToken;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
63
|
+
const localVarHeaderParameter = {} as any;
|
|
64
|
+
const localVarQueryParameter = {} as any;
|
|
65
|
+
|
|
66
|
+
// authentication bearer required
|
|
67
|
+
// http bearer authentication required
|
|
68
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
69
|
+
|
|
70
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
71
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
77
|
+
|
|
78
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
79
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
80
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
81
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createSsoIdpGroupRequestDto, localVarRequestOptions, configuration)
|
|
82
|
+
|
|
83
|
+
return {
|
|
84
|
+
url: toPathString(localVarUrlObj),
|
|
85
|
+
options: localVarRequestOptions,
|
|
86
|
+
};
|
|
87
|
+
},
|
|
88
|
+
/**
|
|
89
|
+
* externalId is immutable. eisUserGroupCodes is set-replace when present. **Required Permissions** \"tenant-management.settings.update\"
|
|
90
|
+
* @summary Update IdP group name and/or EIS mappings
|
|
91
|
+
* @param {string} code IdP group code.
|
|
92
|
+
* @param {UpdateSsoIdpGroupBodyDto} updateSsoIdpGroupBodyDto
|
|
93
|
+
* @param {string} [authorization] Bearer Token
|
|
94
|
+
* @param {*} [options] Override http request option.
|
|
95
|
+
* @throws {RequiredError}
|
|
96
|
+
*/
|
|
97
|
+
updateSsoIdpGroup: async (code: string, updateSsoIdpGroupBodyDto: UpdateSsoIdpGroupBodyDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
98
|
+
// verify required parameter 'code' is not null or undefined
|
|
99
|
+
assertParamExists('updateSsoIdpGroup', 'code', code)
|
|
100
|
+
// verify required parameter 'updateSsoIdpGroupBodyDto' is not null or undefined
|
|
101
|
+
assertParamExists('updateSsoIdpGroup', 'updateSsoIdpGroupBodyDto', updateSsoIdpGroupBodyDto)
|
|
102
|
+
const localVarPath = `/tenantservice/v1/sso-idp-groups/{code}`
|
|
103
|
+
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
104
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
105
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
106
|
+
let baseOptions;
|
|
107
|
+
let baseAccessToken;
|
|
108
|
+
if (configuration) {
|
|
109
|
+
baseOptions = configuration.baseOptions;
|
|
110
|
+
baseAccessToken = configuration.accessToken;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
114
|
+
const localVarHeaderParameter = {} as any;
|
|
115
|
+
const localVarQueryParameter = {} as any;
|
|
116
|
+
|
|
117
|
+
// authentication bearer required
|
|
118
|
+
// http bearer authentication required
|
|
119
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
120
|
+
|
|
121
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
122
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
128
|
+
|
|
129
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
130
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
131
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
132
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateSsoIdpGroupBodyDto, localVarRequestOptions, configuration)
|
|
133
|
+
|
|
134
|
+
return {
|
|
135
|
+
url: toPathString(localVarUrlObj),
|
|
136
|
+
options: localVarRequestOptions,
|
|
137
|
+
};
|
|
138
|
+
},
|
|
139
|
+
}
|
|
140
|
+
};
|
|
141
|
+
|
|
142
|
+
/**
|
|
143
|
+
* SSOIdPGroupsApi - functional programming interface
|
|
144
|
+
* @export
|
|
145
|
+
*/
|
|
146
|
+
export const SSOIdPGroupsApiFp = function(configuration?: Configuration) {
|
|
147
|
+
const localVarAxiosParamCreator = SSOIdPGroupsApiAxiosParamCreator(configuration)
|
|
148
|
+
return {
|
|
149
|
+
/**
|
|
150
|
+
* Creates an inactive IdP group with at least one EIS user-group mapping. externalId must be a GUID and is immutable after create. **Required Permissions** \"tenant-management.settings.create\"
|
|
151
|
+
* @summary Register an IdP group and its EIS mappings
|
|
152
|
+
* @param {CreateSsoIdpGroupRequestDto} createSsoIdpGroupRequestDto
|
|
153
|
+
* @param {string} [authorization] Bearer Token
|
|
154
|
+
* @param {*} [options] Override http request option.
|
|
155
|
+
* @throws {RequiredError}
|
|
156
|
+
*/
|
|
157
|
+
async createSsoIdpGroup(createSsoIdpGroupRequestDto: CreateSsoIdpGroupRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateSsoIdpGroupResponseClass>> {
|
|
158
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createSsoIdpGroup(createSsoIdpGroupRequestDto, authorization, options);
|
|
159
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
160
|
+
},
|
|
161
|
+
/**
|
|
162
|
+
* externalId is immutable. eisUserGroupCodes is set-replace when present. **Required Permissions** \"tenant-management.settings.update\"
|
|
163
|
+
* @summary Update IdP group name and/or EIS mappings
|
|
164
|
+
* @param {string} code IdP group code.
|
|
165
|
+
* @param {UpdateSsoIdpGroupBodyDto} updateSsoIdpGroupBodyDto
|
|
166
|
+
* @param {string} [authorization] Bearer Token
|
|
167
|
+
* @param {*} [options] Override http request option.
|
|
168
|
+
* @throws {RequiredError}
|
|
169
|
+
*/
|
|
170
|
+
async updateSsoIdpGroup(code: string, updateSsoIdpGroupBodyDto: UpdateSsoIdpGroupBodyDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateSsoIdpGroupResponseClass>> {
|
|
171
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateSsoIdpGroup(code, updateSsoIdpGroupBodyDto, authorization, options);
|
|
172
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
173
|
+
},
|
|
174
|
+
}
|
|
175
|
+
};
|
|
176
|
+
|
|
177
|
+
/**
|
|
178
|
+
* SSOIdPGroupsApi - factory interface
|
|
179
|
+
* @export
|
|
180
|
+
*/
|
|
181
|
+
export const SSOIdPGroupsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
182
|
+
const localVarFp = SSOIdPGroupsApiFp(configuration)
|
|
183
|
+
return {
|
|
184
|
+
/**
|
|
185
|
+
* Creates an inactive IdP group with at least one EIS user-group mapping. externalId must be a GUID and is immutable after create. **Required Permissions** \"tenant-management.settings.create\"
|
|
186
|
+
* @summary Register an IdP group and its EIS mappings
|
|
187
|
+
* @param {CreateSsoIdpGroupRequestDto} createSsoIdpGroupRequestDto
|
|
188
|
+
* @param {string} [authorization] Bearer Token
|
|
189
|
+
* @param {*} [options] Override http request option.
|
|
190
|
+
* @throws {RequiredError}
|
|
191
|
+
*/
|
|
192
|
+
createSsoIdpGroup(createSsoIdpGroupRequestDto: CreateSsoIdpGroupRequestDto, authorization?: string, options?: any): AxiosPromise<CreateSsoIdpGroupResponseClass> {
|
|
193
|
+
return localVarFp.createSsoIdpGroup(createSsoIdpGroupRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
194
|
+
},
|
|
195
|
+
/**
|
|
196
|
+
* externalId is immutable. eisUserGroupCodes is set-replace when present. **Required Permissions** \"tenant-management.settings.update\"
|
|
197
|
+
* @summary Update IdP group name and/or EIS mappings
|
|
198
|
+
* @param {string} code IdP group code.
|
|
199
|
+
* @param {UpdateSsoIdpGroupBodyDto} updateSsoIdpGroupBodyDto
|
|
200
|
+
* @param {string} [authorization] Bearer Token
|
|
201
|
+
* @param {*} [options] Override http request option.
|
|
202
|
+
* @throws {RequiredError}
|
|
203
|
+
*/
|
|
204
|
+
updateSsoIdpGroup(code: string, updateSsoIdpGroupBodyDto: UpdateSsoIdpGroupBodyDto, authorization?: string, options?: any): AxiosPromise<UpdateSsoIdpGroupResponseClass> {
|
|
205
|
+
return localVarFp.updateSsoIdpGroup(code, updateSsoIdpGroupBodyDto, authorization, options).then((request) => request(axios, basePath));
|
|
206
|
+
},
|
|
207
|
+
};
|
|
208
|
+
};
|
|
209
|
+
|
|
210
|
+
/**
|
|
211
|
+
* Request parameters for createSsoIdpGroup operation in SSOIdPGroupsApi.
|
|
212
|
+
* @export
|
|
213
|
+
* @interface SSOIdPGroupsApiCreateSsoIdpGroupRequest
|
|
214
|
+
*/
|
|
215
|
+
export interface SSOIdPGroupsApiCreateSsoIdpGroupRequest {
|
|
216
|
+
/**
|
|
217
|
+
*
|
|
218
|
+
* @type {CreateSsoIdpGroupRequestDto}
|
|
219
|
+
* @memberof SSOIdPGroupsApiCreateSsoIdpGroup
|
|
220
|
+
*/
|
|
221
|
+
readonly createSsoIdpGroupRequestDto: CreateSsoIdpGroupRequestDto
|
|
222
|
+
|
|
223
|
+
/**
|
|
224
|
+
* Bearer Token
|
|
225
|
+
* @type {string}
|
|
226
|
+
* @memberof SSOIdPGroupsApiCreateSsoIdpGroup
|
|
227
|
+
*/
|
|
228
|
+
readonly authorization?: string
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
/**
|
|
232
|
+
* Request parameters for updateSsoIdpGroup operation in SSOIdPGroupsApi.
|
|
233
|
+
* @export
|
|
234
|
+
* @interface SSOIdPGroupsApiUpdateSsoIdpGroupRequest
|
|
235
|
+
*/
|
|
236
|
+
export interface SSOIdPGroupsApiUpdateSsoIdpGroupRequest {
|
|
237
|
+
/**
|
|
238
|
+
* IdP group code.
|
|
239
|
+
* @type {string}
|
|
240
|
+
* @memberof SSOIdPGroupsApiUpdateSsoIdpGroup
|
|
241
|
+
*/
|
|
242
|
+
readonly code: string
|
|
243
|
+
|
|
244
|
+
/**
|
|
245
|
+
*
|
|
246
|
+
* @type {UpdateSsoIdpGroupBodyDto}
|
|
247
|
+
* @memberof SSOIdPGroupsApiUpdateSsoIdpGroup
|
|
248
|
+
*/
|
|
249
|
+
readonly updateSsoIdpGroupBodyDto: UpdateSsoIdpGroupBodyDto
|
|
250
|
+
|
|
251
|
+
/**
|
|
252
|
+
* Bearer Token
|
|
253
|
+
* @type {string}
|
|
254
|
+
* @memberof SSOIdPGroupsApiUpdateSsoIdpGroup
|
|
255
|
+
*/
|
|
256
|
+
readonly authorization?: string
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
/**
|
|
260
|
+
* SSOIdPGroupsApi - object-oriented interface
|
|
261
|
+
* @export
|
|
262
|
+
* @class SSOIdPGroupsApi
|
|
263
|
+
* @extends {BaseAPI}
|
|
264
|
+
*/
|
|
265
|
+
export class SSOIdPGroupsApi extends BaseAPI {
|
|
266
|
+
/**
|
|
267
|
+
* Creates an inactive IdP group with at least one EIS user-group mapping. externalId must be a GUID and is immutable after create. **Required Permissions** \"tenant-management.settings.create\"
|
|
268
|
+
* @summary Register an IdP group and its EIS mappings
|
|
269
|
+
* @param {SSOIdPGroupsApiCreateSsoIdpGroupRequest} requestParameters Request parameters.
|
|
270
|
+
* @param {*} [options] Override http request option.
|
|
271
|
+
* @throws {RequiredError}
|
|
272
|
+
* @memberof SSOIdPGroupsApi
|
|
273
|
+
*/
|
|
274
|
+
public createSsoIdpGroup(requestParameters: SSOIdPGroupsApiCreateSsoIdpGroupRequest, options?: AxiosRequestConfig) {
|
|
275
|
+
return SSOIdPGroupsApiFp(this.configuration).createSsoIdpGroup(requestParameters.createSsoIdpGroupRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
/**
|
|
279
|
+
* externalId is immutable. eisUserGroupCodes is set-replace when present. **Required Permissions** \"tenant-management.settings.update\"
|
|
280
|
+
* @summary Update IdP group name and/or EIS mappings
|
|
281
|
+
* @param {SSOIdPGroupsApiUpdateSsoIdpGroupRequest} requestParameters Request parameters.
|
|
282
|
+
* @param {*} [options] Override http request option.
|
|
283
|
+
* @throws {RequiredError}
|
|
284
|
+
* @memberof SSOIdPGroupsApi
|
|
285
|
+
*/
|
|
286
|
+
public updateSsoIdpGroup(requestParameters: SSOIdPGroupsApiUpdateSsoIdpGroupRequest, options?: AxiosRequestConfig) {
|
|
287
|
+
return SSOIdPGroupsApiFp(this.configuration).updateSsoIdpGroup(requestParameters.code, requestParameters.updateSsoIdpGroupBodyDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
288
|
+
}
|
|
289
|
+
}
|
package/api.ts
CHANGED
|
@@ -42,6 +42,7 @@ import { ReportScheduleApi } from './api';
|
|
|
42
42
|
import { ReportScheduleLogsApi } from './api';
|
|
43
43
|
import { RolesApi } from './api';
|
|
44
44
|
import { SSOConnectionApi } from './api';
|
|
45
|
+
import { SSOIdPGroupsApi } from './api';
|
|
45
46
|
import { SettingsApi } from './api';
|
|
46
47
|
import { UserControllerRestApi } from './api';
|
|
47
48
|
import { UserGroupApi } from './api';
|
|
@@ -66,6 +67,7 @@ export * from './api/report-schedule-api';
|
|
|
66
67
|
export * from './api/report-schedule-logs-api';
|
|
67
68
|
export * from './api/roles-api';
|
|
68
69
|
export * from './api/ssoconnection-api';
|
|
70
|
+
export * from './api/ssoid-pgroups-api';
|
|
69
71
|
export * from './api/settings-api';
|
|
70
72
|
export * from './api/user-controller-rest-api';
|
|
71
73
|
export * from './api/user-group-api';
|
|
@@ -0,0 +1,163 @@
|
|
|
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 { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
13
|
+
import { Configuration } from '../configuration';
|
|
14
|
+
import { RequestArgs, BaseAPI } from '../base';
|
|
15
|
+
import { CreateSsoIdpGroupRequestDto } from '../models';
|
|
16
|
+
import { CreateSsoIdpGroupResponseClass } from '../models';
|
|
17
|
+
import { UpdateSsoIdpGroupBodyDto } from '../models';
|
|
18
|
+
import { UpdateSsoIdpGroupResponseClass } from '../models';
|
|
19
|
+
/**
|
|
20
|
+
* SSOIdPGroupsApi - axios parameter creator
|
|
21
|
+
* @export
|
|
22
|
+
*/
|
|
23
|
+
export declare const SSOIdPGroupsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
24
|
+
/**
|
|
25
|
+
* Creates an inactive IdP group with at least one EIS user-group mapping. externalId must be a GUID and is immutable after create. **Required Permissions** \"tenant-management.settings.create\"
|
|
26
|
+
* @summary Register an IdP group and its EIS mappings
|
|
27
|
+
* @param {CreateSsoIdpGroupRequestDto} createSsoIdpGroupRequestDto
|
|
28
|
+
* @param {string} [authorization] Bearer Token
|
|
29
|
+
* @param {*} [options] Override http request option.
|
|
30
|
+
* @throws {RequiredError}
|
|
31
|
+
*/
|
|
32
|
+
createSsoIdpGroup: (createSsoIdpGroupRequestDto: CreateSsoIdpGroupRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
33
|
+
/**
|
|
34
|
+
* externalId is immutable. eisUserGroupCodes is set-replace when present. **Required Permissions** \"tenant-management.settings.update\"
|
|
35
|
+
* @summary Update IdP group name and/or EIS mappings
|
|
36
|
+
* @param {string} code IdP group code.
|
|
37
|
+
* @param {UpdateSsoIdpGroupBodyDto} updateSsoIdpGroupBodyDto
|
|
38
|
+
* @param {string} [authorization] Bearer Token
|
|
39
|
+
* @param {*} [options] Override http request option.
|
|
40
|
+
* @throws {RequiredError}
|
|
41
|
+
*/
|
|
42
|
+
updateSsoIdpGroup: (code: string, updateSsoIdpGroupBodyDto: UpdateSsoIdpGroupBodyDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
43
|
+
};
|
|
44
|
+
/**
|
|
45
|
+
* SSOIdPGroupsApi - functional programming interface
|
|
46
|
+
* @export
|
|
47
|
+
*/
|
|
48
|
+
export declare const SSOIdPGroupsApiFp: (configuration?: Configuration) => {
|
|
49
|
+
/**
|
|
50
|
+
* Creates an inactive IdP group with at least one EIS user-group mapping. externalId must be a GUID and is immutable after create. **Required Permissions** \"tenant-management.settings.create\"
|
|
51
|
+
* @summary Register an IdP group and its EIS mappings
|
|
52
|
+
* @param {CreateSsoIdpGroupRequestDto} createSsoIdpGroupRequestDto
|
|
53
|
+
* @param {string} [authorization] Bearer Token
|
|
54
|
+
* @param {*} [options] Override http request option.
|
|
55
|
+
* @throws {RequiredError}
|
|
56
|
+
*/
|
|
57
|
+
createSsoIdpGroup(createSsoIdpGroupRequestDto: CreateSsoIdpGroupRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateSsoIdpGroupResponseClass>>;
|
|
58
|
+
/**
|
|
59
|
+
* externalId is immutable. eisUserGroupCodes is set-replace when present. **Required Permissions** \"tenant-management.settings.update\"
|
|
60
|
+
* @summary Update IdP group name and/or EIS mappings
|
|
61
|
+
* @param {string} code IdP group code.
|
|
62
|
+
* @param {UpdateSsoIdpGroupBodyDto} updateSsoIdpGroupBodyDto
|
|
63
|
+
* @param {string} [authorization] Bearer Token
|
|
64
|
+
* @param {*} [options] Override http request option.
|
|
65
|
+
* @throws {RequiredError}
|
|
66
|
+
*/
|
|
67
|
+
updateSsoIdpGroup(code: string, updateSsoIdpGroupBodyDto: UpdateSsoIdpGroupBodyDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateSsoIdpGroupResponseClass>>;
|
|
68
|
+
};
|
|
69
|
+
/**
|
|
70
|
+
* SSOIdPGroupsApi - factory interface
|
|
71
|
+
* @export
|
|
72
|
+
*/
|
|
73
|
+
export declare const SSOIdPGroupsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
74
|
+
/**
|
|
75
|
+
* Creates an inactive IdP group with at least one EIS user-group mapping. externalId must be a GUID and is immutable after create. **Required Permissions** \"tenant-management.settings.create\"
|
|
76
|
+
* @summary Register an IdP group and its EIS mappings
|
|
77
|
+
* @param {CreateSsoIdpGroupRequestDto} createSsoIdpGroupRequestDto
|
|
78
|
+
* @param {string} [authorization] Bearer Token
|
|
79
|
+
* @param {*} [options] Override http request option.
|
|
80
|
+
* @throws {RequiredError}
|
|
81
|
+
*/
|
|
82
|
+
createSsoIdpGroup(createSsoIdpGroupRequestDto: CreateSsoIdpGroupRequestDto, authorization?: string, options?: any): AxiosPromise<CreateSsoIdpGroupResponseClass>;
|
|
83
|
+
/**
|
|
84
|
+
* externalId is immutable. eisUserGroupCodes is set-replace when present. **Required Permissions** \"tenant-management.settings.update\"
|
|
85
|
+
* @summary Update IdP group name and/or EIS mappings
|
|
86
|
+
* @param {string} code IdP group code.
|
|
87
|
+
* @param {UpdateSsoIdpGroupBodyDto} updateSsoIdpGroupBodyDto
|
|
88
|
+
* @param {string} [authorization] Bearer Token
|
|
89
|
+
* @param {*} [options] Override http request option.
|
|
90
|
+
* @throws {RequiredError}
|
|
91
|
+
*/
|
|
92
|
+
updateSsoIdpGroup(code: string, updateSsoIdpGroupBodyDto: UpdateSsoIdpGroupBodyDto, authorization?: string, options?: any): AxiosPromise<UpdateSsoIdpGroupResponseClass>;
|
|
93
|
+
};
|
|
94
|
+
/**
|
|
95
|
+
* Request parameters for createSsoIdpGroup operation in SSOIdPGroupsApi.
|
|
96
|
+
* @export
|
|
97
|
+
* @interface SSOIdPGroupsApiCreateSsoIdpGroupRequest
|
|
98
|
+
*/
|
|
99
|
+
export interface SSOIdPGroupsApiCreateSsoIdpGroupRequest {
|
|
100
|
+
/**
|
|
101
|
+
*
|
|
102
|
+
* @type {CreateSsoIdpGroupRequestDto}
|
|
103
|
+
* @memberof SSOIdPGroupsApiCreateSsoIdpGroup
|
|
104
|
+
*/
|
|
105
|
+
readonly createSsoIdpGroupRequestDto: CreateSsoIdpGroupRequestDto;
|
|
106
|
+
/**
|
|
107
|
+
* Bearer Token
|
|
108
|
+
* @type {string}
|
|
109
|
+
* @memberof SSOIdPGroupsApiCreateSsoIdpGroup
|
|
110
|
+
*/
|
|
111
|
+
readonly authorization?: string;
|
|
112
|
+
}
|
|
113
|
+
/**
|
|
114
|
+
* Request parameters for updateSsoIdpGroup operation in SSOIdPGroupsApi.
|
|
115
|
+
* @export
|
|
116
|
+
* @interface SSOIdPGroupsApiUpdateSsoIdpGroupRequest
|
|
117
|
+
*/
|
|
118
|
+
export interface SSOIdPGroupsApiUpdateSsoIdpGroupRequest {
|
|
119
|
+
/**
|
|
120
|
+
* IdP group code.
|
|
121
|
+
* @type {string}
|
|
122
|
+
* @memberof SSOIdPGroupsApiUpdateSsoIdpGroup
|
|
123
|
+
*/
|
|
124
|
+
readonly code: string;
|
|
125
|
+
/**
|
|
126
|
+
*
|
|
127
|
+
* @type {UpdateSsoIdpGroupBodyDto}
|
|
128
|
+
* @memberof SSOIdPGroupsApiUpdateSsoIdpGroup
|
|
129
|
+
*/
|
|
130
|
+
readonly updateSsoIdpGroupBodyDto: UpdateSsoIdpGroupBodyDto;
|
|
131
|
+
/**
|
|
132
|
+
* Bearer Token
|
|
133
|
+
* @type {string}
|
|
134
|
+
* @memberof SSOIdPGroupsApiUpdateSsoIdpGroup
|
|
135
|
+
*/
|
|
136
|
+
readonly authorization?: string;
|
|
137
|
+
}
|
|
138
|
+
/**
|
|
139
|
+
* SSOIdPGroupsApi - object-oriented interface
|
|
140
|
+
* @export
|
|
141
|
+
* @class SSOIdPGroupsApi
|
|
142
|
+
* @extends {BaseAPI}
|
|
143
|
+
*/
|
|
144
|
+
export declare class SSOIdPGroupsApi extends BaseAPI {
|
|
145
|
+
/**
|
|
146
|
+
* Creates an inactive IdP group with at least one EIS user-group mapping. externalId must be a GUID and is immutable after create. **Required Permissions** \"tenant-management.settings.create\"
|
|
147
|
+
* @summary Register an IdP group and its EIS mappings
|
|
148
|
+
* @param {SSOIdPGroupsApiCreateSsoIdpGroupRequest} requestParameters Request parameters.
|
|
149
|
+
* @param {*} [options] Override http request option.
|
|
150
|
+
* @throws {RequiredError}
|
|
151
|
+
* @memberof SSOIdPGroupsApi
|
|
152
|
+
*/
|
|
153
|
+
createSsoIdpGroup(requestParameters: SSOIdPGroupsApiCreateSsoIdpGroupRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateSsoIdpGroupResponseClass, any, {}>>;
|
|
154
|
+
/**
|
|
155
|
+
* externalId is immutable. eisUserGroupCodes is set-replace when present. **Required Permissions** \"tenant-management.settings.update\"
|
|
156
|
+
* @summary Update IdP group name and/or EIS mappings
|
|
157
|
+
* @param {SSOIdPGroupsApiUpdateSsoIdpGroupRequest} requestParameters Request parameters.
|
|
158
|
+
* @param {*} [options] Override http request option.
|
|
159
|
+
* @throws {RequiredError}
|
|
160
|
+
* @memberof SSOIdPGroupsApi
|
|
161
|
+
*/
|
|
162
|
+
updateSsoIdpGroup(requestParameters: SSOIdPGroupsApiUpdateSsoIdpGroupRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateSsoIdpGroupResponseClass, any, {}>>;
|
|
163
|
+
}
|