@emilgroup/tenant-sdk 1.42.1-beta.34 → 1.42.1-beta.35
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +2 -0
- package/README.md +2 -2
- package/api/ssoid-pgroups-api.ts +120 -0
- package/dist/api/ssoid-pgroups-api.d.ts +66 -0
- package/dist/api/ssoid-pgroups-api.js +99 -0
- package/dist/models/index.d.ts +2 -0
- package/dist/models/index.js +2 -0
- package/dist/models/update-sso-idp-group-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/index.ts +2 -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
|
@@ -177,6 +177,8 @@ models/update-sso-connection-body-dto.ts
|
|
|
177
177
|
models/update-sso-connection-response-class.ts
|
|
178
178
|
models/update-sso-connection-status-body-dto.ts
|
|
179
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
|
|
180
182
|
models/update-user-group-request-dto.ts
|
|
181
183
|
models/update-user-group-response-class.ts
|
|
182
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@1.42.1-beta.
|
|
20
|
+
npm install @emilgroup/tenant-sdk@1.42.1-beta.35 --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.35
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `UsersApi`.
|
package/api/ssoid-pgroups-api.ts
CHANGED
|
@@ -24,6 +24,10 @@ 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 { UpdateSsoIdpGroupBodyDto } from '../models';
|
|
29
|
+
// @ts-ignore
|
|
30
|
+
import { UpdateSsoIdpGroupResponseClass } from '../models';
|
|
27
31
|
/**
|
|
28
32
|
* SSOIdPGroupsApi - axios parameter creator
|
|
29
33
|
* @export
|
|
@@ -72,6 +76,57 @@ export const SSOIdPGroupsApiAxiosParamCreator = function (configuration?: Config
|
|
|
72
76
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
73
77
|
localVarRequestOptions.data = serializeDataIfNeeded(createSsoIdpGroupRequestDto, localVarRequestOptions, configuration)
|
|
74
78
|
|
|
79
|
+
return {
|
|
80
|
+
url: toPathString(localVarUrlObj),
|
|
81
|
+
options: localVarRequestOptions,
|
|
82
|
+
};
|
|
83
|
+
},
|
|
84
|
+
/**
|
|
85
|
+
* externalId is immutable. eisUserGroupCodes is set-replace when present. **Required Permissions** \"tenant-management.settings.update\"
|
|
86
|
+
* @summary Update IdP group name and/or EIS mappings
|
|
87
|
+
* @param {string} code IdP group code.
|
|
88
|
+
* @param {UpdateSsoIdpGroupBodyDto} updateSsoIdpGroupBodyDto
|
|
89
|
+
* @param {string} [authorization] Bearer Token
|
|
90
|
+
* @param {*} [options] Override http request option.
|
|
91
|
+
* @throws {RequiredError}
|
|
92
|
+
*/
|
|
93
|
+
updateSsoIdpGroup: async (code: string, updateSsoIdpGroupBodyDto: UpdateSsoIdpGroupBodyDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
94
|
+
// verify required parameter 'code' is not null or undefined
|
|
95
|
+
assertParamExists('updateSsoIdpGroup', 'code', code)
|
|
96
|
+
// verify required parameter 'updateSsoIdpGroupBodyDto' is not null or undefined
|
|
97
|
+
assertParamExists('updateSsoIdpGroup', 'updateSsoIdpGroupBodyDto', updateSsoIdpGroupBodyDto)
|
|
98
|
+
const localVarPath = `/tenantservice/v1/sso-idp-groups/{code}`
|
|
99
|
+
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
100
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
101
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
102
|
+
let baseOptions;
|
|
103
|
+
let baseAccessToken;
|
|
104
|
+
if (configuration) {
|
|
105
|
+
baseOptions = configuration.baseOptions;
|
|
106
|
+
baseAccessToken = configuration.accessToken;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
110
|
+
const localVarHeaderParameter = {} as any;
|
|
111
|
+
const localVarQueryParameter = {} as any;
|
|
112
|
+
|
|
113
|
+
// authentication bearer required
|
|
114
|
+
// http bearer authentication required
|
|
115
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
116
|
+
|
|
117
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
118
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
124
|
+
|
|
125
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
126
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
127
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
128
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateSsoIdpGroupBodyDto, localVarRequestOptions, configuration)
|
|
129
|
+
|
|
75
130
|
return {
|
|
76
131
|
url: toPathString(localVarUrlObj),
|
|
77
132
|
options: localVarRequestOptions,
|
|
@@ -99,6 +154,19 @@ export const SSOIdPGroupsApiFp = function(configuration?: Configuration) {
|
|
|
99
154
|
const localVarAxiosArgs = await localVarAxiosParamCreator.createSsoIdpGroup(createSsoIdpGroupRequestDto, authorization, options);
|
|
100
155
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
101
156
|
},
|
|
157
|
+
/**
|
|
158
|
+
* externalId is immutable. eisUserGroupCodes is set-replace when present. **Required Permissions** \"tenant-management.settings.update\"
|
|
159
|
+
* @summary Update IdP group name and/or EIS mappings
|
|
160
|
+
* @param {string} code IdP group code.
|
|
161
|
+
* @param {UpdateSsoIdpGroupBodyDto} updateSsoIdpGroupBodyDto
|
|
162
|
+
* @param {string} [authorization] Bearer Token
|
|
163
|
+
* @param {*} [options] Override http request option.
|
|
164
|
+
* @throws {RequiredError}
|
|
165
|
+
*/
|
|
166
|
+
async updateSsoIdpGroup(code: string, updateSsoIdpGroupBodyDto: UpdateSsoIdpGroupBodyDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateSsoIdpGroupResponseClass>> {
|
|
167
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateSsoIdpGroup(code, updateSsoIdpGroupBodyDto, authorization, options);
|
|
168
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
169
|
+
},
|
|
102
170
|
}
|
|
103
171
|
};
|
|
104
172
|
|
|
@@ -120,6 +188,18 @@ export const SSOIdPGroupsApiFactory = function (configuration?: Configuration, b
|
|
|
120
188
|
createSsoIdpGroup(createSsoIdpGroupRequestDto: CreateSsoIdpGroupRequestDto, authorization?: string, options?: any): AxiosPromise<CreateSsoIdpGroupResponseClass> {
|
|
121
189
|
return localVarFp.createSsoIdpGroup(createSsoIdpGroupRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
122
190
|
},
|
|
191
|
+
/**
|
|
192
|
+
* externalId is immutable. eisUserGroupCodes is set-replace when present. **Required Permissions** \"tenant-management.settings.update\"
|
|
193
|
+
* @summary Update IdP group name and/or EIS mappings
|
|
194
|
+
* @param {string} code IdP group code.
|
|
195
|
+
* @param {UpdateSsoIdpGroupBodyDto} updateSsoIdpGroupBodyDto
|
|
196
|
+
* @param {string} [authorization] Bearer Token
|
|
197
|
+
* @param {*} [options] Override http request option.
|
|
198
|
+
* @throws {RequiredError}
|
|
199
|
+
*/
|
|
200
|
+
updateSsoIdpGroup(code: string, updateSsoIdpGroupBodyDto: UpdateSsoIdpGroupBodyDto, authorization?: string, options?: any): AxiosPromise<UpdateSsoIdpGroupResponseClass> {
|
|
201
|
+
return localVarFp.updateSsoIdpGroup(code, updateSsoIdpGroupBodyDto, authorization, options).then((request) => request(axios, basePath));
|
|
202
|
+
},
|
|
123
203
|
};
|
|
124
204
|
};
|
|
125
205
|
|
|
@@ -144,6 +224,34 @@ export interface SSOIdPGroupsApiCreateSsoIdpGroupRequest {
|
|
|
144
224
|
readonly authorization?: string
|
|
145
225
|
}
|
|
146
226
|
|
|
227
|
+
/**
|
|
228
|
+
* Request parameters for updateSsoIdpGroup operation in SSOIdPGroupsApi.
|
|
229
|
+
* @export
|
|
230
|
+
* @interface SSOIdPGroupsApiUpdateSsoIdpGroupRequest
|
|
231
|
+
*/
|
|
232
|
+
export interface SSOIdPGroupsApiUpdateSsoIdpGroupRequest {
|
|
233
|
+
/**
|
|
234
|
+
* IdP group code.
|
|
235
|
+
* @type {string}
|
|
236
|
+
* @memberof SSOIdPGroupsApiUpdateSsoIdpGroup
|
|
237
|
+
*/
|
|
238
|
+
readonly code: string
|
|
239
|
+
|
|
240
|
+
/**
|
|
241
|
+
*
|
|
242
|
+
* @type {UpdateSsoIdpGroupBodyDto}
|
|
243
|
+
* @memberof SSOIdPGroupsApiUpdateSsoIdpGroup
|
|
244
|
+
*/
|
|
245
|
+
readonly updateSsoIdpGroupBodyDto: UpdateSsoIdpGroupBodyDto
|
|
246
|
+
|
|
247
|
+
/**
|
|
248
|
+
* Bearer Token
|
|
249
|
+
* @type {string}
|
|
250
|
+
* @memberof SSOIdPGroupsApiUpdateSsoIdpGroup
|
|
251
|
+
*/
|
|
252
|
+
readonly authorization?: string
|
|
253
|
+
}
|
|
254
|
+
|
|
147
255
|
/**
|
|
148
256
|
* SSOIdPGroupsApi - object-oriented interface
|
|
149
257
|
* @export
|
|
@@ -162,4 +270,16 @@ export class SSOIdPGroupsApi extends BaseAPI {
|
|
|
162
270
|
public createSsoIdpGroup(requestParameters: SSOIdPGroupsApiCreateSsoIdpGroupRequest, options?: AxiosRequestConfig) {
|
|
163
271
|
return SSOIdPGroupsApiFp(this.configuration).createSsoIdpGroup(requestParameters.createSsoIdpGroupRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
164
272
|
}
|
|
273
|
+
|
|
274
|
+
/**
|
|
275
|
+
* externalId is immutable. eisUserGroupCodes is set-replace when present. **Required Permissions** \"tenant-management.settings.update\"
|
|
276
|
+
* @summary Update IdP group name and/or EIS mappings
|
|
277
|
+
* @param {SSOIdPGroupsApiUpdateSsoIdpGroupRequest} requestParameters Request parameters.
|
|
278
|
+
* @param {*} [options] Override http request option.
|
|
279
|
+
* @throws {RequiredError}
|
|
280
|
+
* @memberof SSOIdPGroupsApi
|
|
281
|
+
*/
|
|
282
|
+
public updateSsoIdpGroup(requestParameters: SSOIdPGroupsApiUpdateSsoIdpGroupRequest, options?: AxiosRequestConfig) {
|
|
283
|
+
return SSOIdPGroupsApiFp(this.configuration).updateSsoIdpGroup(requestParameters.code, requestParameters.updateSsoIdpGroupBodyDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
284
|
+
}
|
|
165
285
|
}
|
|
@@ -14,6 +14,8 @@ 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 { UpdateSsoIdpGroupBodyDto } from '../models';
|
|
18
|
+
import { UpdateSsoIdpGroupResponseClass } from '../models';
|
|
17
19
|
/**
|
|
18
20
|
* SSOIdPGroupsApi - axios parameter creator
|
|
19
21
|
* @export
|
|
@@ -28,6 +30,16 @@ export declare const SSOIdPGroupsApiAxiosParamCreator: (configuration?: Configur
|
|
|
28
30
|
* @throws {RequiredError}
|
|
29
31
|
*/
|
|
30
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>;
|
|
31
43
|
};
|
|
32
44
|
/**
|
|
33
45
|
* SSOIdPGroupsApi - functional programming interface
|
|
@@ -43,6 +55,16 @@ export declare const SSOIdPGroupsApiFp: (configuration?: Configuration) => {
|
|
|
43
55
|
* @throws {RequiredError}
|
|
44
56
|
*/
|
|
45
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>>;
|
|
46
68
|
};
|
|
47
69
|
/**
|
|
48
70
|
* SSOIdPGroupsApi - factory interface
|
|
@@ -58,6 +80,16 @@ export declare const SSOIdPGroupsApiFactory: (configuration?: Configuration, bas
|
|
|
58
80
|
* @throws {RequiredError}
|
|
59
81
|
*/
|
|
60
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>;
|
|
61
93
|
};
|
|
62
94
|
/**
|
|
63
95
|
* Request parameters for createSsoIdpGroup operation in SSOIdPGroupsApi.
|
|
@@ -78,6 +110,31 @@ export interface SSOIdPGroupsApiCreateSsoIdpGroupRequest {
|
|
|
78
110
|
*/
|
|
79
111
|
readonly authorization?: string;
|
|
80
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
|
+
}
|
|
81
138
|
/**
|
|
82
139
|
* SSOIdPGroupsApi - object-oriented interface
|
|
83
140
|
* @export
|
|
@@ -94,4 +151,13 @@ export declare class SSOIdPGroupsApi extends BaseAPI {
|
|
|
94
151
|
* @memberof SSOIdPGroupsApi
|
|
95
152
|
*/
|
|
96
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, {}>>;
|
|
97
163
|
}
|
|
@@ -141,6 +141,59 @@ var SSOIdPGroupsApiAxiosParamCreator = function (configuration) {
|
|
|
141
141
|
});
|
|
142
142
|
});
|
|
143
143
|
},
|
|
144
|
+
/**
|
|
145
|
+
* externalId is immutable. eisUserGroupCodes is set-replace when present. **Required Permissions** \"tenant-management.settings.update\"
|
|
146
|
+
* @summary Update IdP group name and/or EIS mappings
|
|
147
|
+
* @param {string} code IdP group code.
|
|
148
|
+
* @param {UpdateSsoIdpGroupBodyDto} updateSsoIdpGroupBodyDto
|
|
149
|
+
* @param {string} [authorization] Bearer Token
|
|
150
|
+
* @param {*} [options] Override http request option.
|
|
151
|
+
* @throws {RequiredError}
|
|
152
|
+
*/
|
|
153
|
+
updateSsoIdpGroup: function (code, updateSsoIdpGroupBodyDto, authorization, options) {
|
|
154
|
+
if (options === void 0) { options = {}; }
|
|
155
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
156
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
157
|
+
return __generator(this, function (_a) {
|
|
158
|
+
switch (_a.label) {
|
|
159
|
+
case 0:
|
|
160
|
+
// verify required parameter 'code' is not null or undefined
|
|
161
|
+
(0, common_1.assertParamExists)('updateSsoIdpGroup', 'code', code);
|
|
162
|
+
// verify required parameter 'updateSsoIdpGroupBodyDto' is not null or undefined
|
|
163
|
+
(0, common_1.assertParamExists)('updateSsoIdpGroup', 'updateSsoIdpGroupBodyDto', updateSsoIdpGroupBodyDto);
|
|
164
|
+
localVarPath = "/tenantservice/v1/sso-idp-groups/{code}"
|
|
165
|
+
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
166
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
167
|
+
if (configuration) {
|
|
168
|
+
baseOptions = configuration.baseOptions;
|
|
169
|
+
baseAccessToken = configuration.accessToken;
|
|
170
|
+
}
|
|
171
|
+
localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
|
|
172
|
+
localVarHeaderParameter = {};
|
|
173
|
+
localVarQueryParameter = {};
|
|
174
|
+
// authentication bearer required
|
|
175
|
+
// http bearer authentication required
|
|
176
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
177
|
+
case 1:
|
|
178
|
+
// authentication bearer required
|
|
179
|
+
// http bearer authentication required
|
|
180
|
+
_a.sent();
|
|
181
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
182
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
183
|
+
}
|
|
184
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
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
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateSsoIdpGroupBodyDto, localVarRequestOptions, configuration);
|
|
189
|
+
return [2 /*return*/, {
|
|
190
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
191
|
+
options: localVarRequestOptions,
|
|
192
|
+
}];
|
|
193
|
+
}
|
|
194
|
+
});
|
|
195
|
+
});
|
|
196
|
+
},
|
|
144
197
|
};
|
|
145
198
|
};
|
|
146
199
|
exports.SSOIdPGroupsApiAxiosParamCreator = SSOIdPGroupsApiAxiosParamCreator;
|
|
@@ -172,6 +225,28 @@ var SSOIdPGroupsApiFp = function (configuration) {
|
|
|
172
225
|
});
|
|
173
226
|
});
|
|
174
227
|
},
|
|
228
|
+
/**
|
|
229
|
+
* externalId is immutable. eisUserGroupCodes is set-replace when present. **Required Permissions** \"tenant-management.settings.update\"
|
|
230
|
+
* @summary Update IdP group name and/or EIS mappings
|
|
231
|
+
* @param {string} code IdP group code.
|
|
232
|
+
* @param {UpdateSsoIdpGroupBodyDto} updateSsoIdpGroupBodyDto
|
|
233
|
+
* @param {string} [authorization] Bearer Token
|
|
234
|
+
* @param {*} [options] Override http request option.
|
|
235
|
+
* @throws {RequiredError}
|
|
236
|
+
*/
|
|
237
|
+
updateSsoIdpGroup: function (code, updateSsoIdpGroupBodyDto, authorization, options) {
|
|
238
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
239
|
+
var localVarAxiosArgs;
|
|
240
|
+
return __generator(this, function (_a) {
|
|
241
|
+
switch (_a.label) {
|
|
242
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateSsoIdpGroup(code, updateSsoIdpGroupBodyDto, authorization, options)];
|
|
243
|
+
case 1:
|
|
244
|
+
localVarAxiosArgs = _a.sent();
|
|
245
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
246
|
+
}
|
|
247
|
+
});
|
|
248
|
+
});
|
|
249
|
+
},
|
|
175
250
|
};
|
|
176
251
|
};
|
|
177
252
|
exports.SSOIdPGroupsApiFp = SSOIdPGroupsApiFp;
|
|
@@ -193,6 +268,18 @@ var SSOIdPGroupsApiFactory = function (configuration, basePath, axios) {
|
|
|
193
268
|
createSsoIdpGroup: function (createSsoIdpGroupRequestDto, authorization, options) {
|
|
194
269
|
return localVarFp.createSsoIdpGroup(createSsoIdpGroupRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
195
270
|
},
|
|
271
|
+
/**
|
|
272
|
+
* externalId is immutable. eisUserGroupCodes is set-replace when present. **Required Permissions** \"tenant-management.settings.update\"
|
|
273
|
+
* @summary Update IdP group name and/or EIS mappings
|
|
274
|
+
* @param {string} code IdP group code.
|
|
275
|
+
* @param {UpdateSsoIdpGroupBodyDto} updateSsoIdpGroupBodyDto
|
|
276
|
+
* @param {string} [authorization] Bearer Token
|
|
277
|
+
* @param {*} [options] Override http request option.
|
|
278
|
+
* @throws {RequiredError}
|
|
279
|
+
*/
|
|
280
|
+
updateSsoIdpGroup: function (code, updateSsoIdpGroupBodyDto, authorization, options) {
|
|
281
|
+
return localVarFp.updateSsoIdpGroup(code, updateSsoIdpGroupBodyDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
282
|
+
},
|
|
196
283
|
};
|
|
197
284
|
};
|
|
198
285
|
exports.SSOIdPGroupsApiFactory = SSOIdPGroupsApiFactory;
|
|
@@ -219,6 +306,18 @@ var SSOIdPGroupsApi = /** @class */ (function (_super) {
|
|
|
219
306
|
var _this = this;
|
|
220
307
|
return (0, exports.SSOIdPGroupsApiFp)(this.configuration).createSsoIdpGroup(requestParameters.createSsoIdpGroupRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
221
308
|
};
|
|
309
|
+
/**
|
|
310
|
+
* externalId is immutable. eisUserGroupCodes is set-replace when present. **Required Permissions** \"tenant-management.settings.update\"
|
|
311
|
+
* @summary Update IdP group name and/or EIS mappings
|
|
312
|
+
* @param {SSOIdPGroupsApiUpdateSsoIdpGroupRequest} requestParameters Request parameters.
|
|
313
|
+
* @param {*} [options] Override http request option.
|
|
314
|
+
* @throws {RequiredError}
|
|
315
|
+
* @memberof SSOIdPGroupsApi
|
|
316
|
+
*/
|
|
317
|
+
SSOIdPGroupsApi.prototype.updateSsoIdpGroup = function (requestParameters, options) {
|
|
318
|
+
var _this = this;
|
|
319
|
+
return (0, exports.SSOIdPGroupsApiFp)(this.configuration).updateSsoIdpGroup(requestParameters.code, requestParameters.updateSsoIdpGroupBodyDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
320
|
+
};
|
|
222
321
|
return SSOIdPGroupsApi;
|
|
223
322
|
}(base_1.BaseAPI));
|
|
224
323
|
exports.SSOIdPGroupsApi = SSOIdPGroupsApi;
|
package/dist/models/index.d.ts
CHANGED
|
@@ -143,6 +143,8 @@ export * from './update-sso-connection-body-dto';
|
|
|
143
143
|
export * from './update-sso-connection-response-class';
|
|
144
144
|
export * from './update-sso-connection-status-body-dto';
|
|
145
145
|
export * from './update-sso-connection-status-response-class';
|
|
146
|
+
export * from './update-sso-idp-group-body-dto';
|
|
147
|
+
export * from './update-sso-idp-group-response-class';
|
|
146
148
|
export * from './update-user-group-request-dto';
|
|
147
149
|
export * from './update-user-group-response-class';
|
|
148
150
|
export * from './user-class';
|
package/dist/models/index.js
CHANGED
|
@@ -159,6 +159,8 @@ __exportStar(require("./update-sso-connection-body-dto"), exports);
|
|
|
159
159
|
__exportStar(require("./update-sso-connection-response-class"), exports);
|
|
160
160
|
__exportStar(require("./update-sso-connection-status-body-dto"), exports);
|
|
161
161
|
__exportStar(require("./update-sso-connection-status-response-class"), exports);
|
|
162
|
+
__exportStar(require("./update-sso-idp-group-body-dto"), exports);
|
|
163
|
+
__exportStar(require("./update-sso-idp-group-response-class"), exports);
|
|
162
164
|
__exportStar(require("./update-user-group-request-dto"), exports);
|
|
163
165
|
__exportStar(require("./update-user-group-response-class"), exports);
|
|
164
166
|
__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 });
|
package/models/index.ts
CHANGED
|
@@ -143,6 +143,8 @@ export * from './update-sso-connection-body-dto';
|
|
|
143
143
|
export * from './update-sso-connection-response-class';
|
|
144
144
|
export * from './update-sso-connection-status-body-dto';
|
|
145
145
|
export * from './update-sso-connection-status-response-class';
|
|
146
|
+
export * from './update-sso-idp-group-body-dto';
|
|
147
|
+
export * from './update-sso-idp-group-response-class';
|
|
146
148
|
export * from './update-user-group-request-dto';
|
|
147
149
|
export * from './update-user-group-response-class';
|
|
148
150
|
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
|
+
|