@emilgroup/tenant-sdk-node 1.39.1-beta.35 → 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 +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-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`.
|
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
|
// URLSearchParams not necessarily used
|
|
28
32
|
// @ts-ignore
|
|
29
33
|
import { URL, URLSearchParams } from 'url';
|
|
@@ -76,6 +80,57 @@ export const SSOIdPGroupsApiAxiosParamCreator = function (configuration?: Config
|
|
|
76
80
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
77
81
|
localVarRequestOptions.data = serializeDataIfNeeded(createSsoIdpGroupRequestDto, localVarRequestOptions, configuration)
|
|
78
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
|
+
|
|
79
134
|
return {
|
|
80
135
|
url: toPathString(localVarUrlObj),
|
|
81
136
|
options: localVarRequestOptions,
|
|
@@ -103,6 +158,19 @@ export const SSOIdPGroupsApiFp = function(configuration?: Configuration) {
|
|
|
103
158
|
const localVarAxiosArgs = await localVarAxiosParamCreator.createSsoIdpGroup(createSsoIdpGroupRequestDto, authorization, options);
|
|
104
159
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
105
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
|
+
},
|
|
106
174
|
}
|
|
107
175
|
};
|
|
108
176
|
|
|
@@ -124,6 +192,18 @@ export const SSOIdPGroupsApiFactory = function (configuration?: Configuration, b
|
|
|
124
192
|
createSsoIdpGroup(createSsoIdpGroupRequestDto: CreateSsoIdpGroupRequestDto, authorization?: string, options?: any): AxiosPromise<CreateSsoIdpGroupResponseClass> {
|
|
125
193
|
return localVarFp.createSsoIdpGroup(createSsoIdpGroupRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
126
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
|
+
},
|
|
127
207
|
};
|
|
128
208
|
};
|
|
129
209
|
|
|
@@ -148,6 +228,34 @@ export interface SSOIdPGroupsApiCreateSsoIdpGroupRequest {
|
|
|
148
228
|
readonly authorization?: string
|
|
149
229
|
}
|
|
150
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
|
+
|
|
151
259
|
/**
|
|
152
260
|
* SSOIdPGroupsApi - object-oriented interface
|
|
153
261
|
* @export
|
|
@@ -166,4 +274,16 @@ export class SSOIdPGroupsApi extends BaseAPI {
|
|
|
166
274
|
public createSsoIdpGroup(requestParameters: SSOIdPGroupsApiCreateSsoIdpGroupRequest, options?: AxiosRequestConfig) {
|
|
167
275
|
return SSOIdPGroupsApiFp(this.configuration).createSsoIdpGroup(requestParameters.createSsoIdpGroupRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
168
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
|
+
}
|
|
169
289
|
}
|
|
@@ -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
|
}
|
|
@@ -145,6 +145,59 @@ var SSOIdPGroupsApiAxiosParamCreator = function (configuration) {
|
|
|
145
145
|
});
|
|
146
146
|
});
|
|
147
147
|
},
|
|
148
|
+
/**
|
|
149
|
+
* externalId is immutable. eisUserGroupCodes is set-replace when present. **Required Permissions** \"tenant-management.settings.update\"
|
|
150
|
+
* @summary Update IdP group name and/or EIS mappings
|
|
151
|
+
* @param {string} code IdP group code.
|
|
152
|
+
* @param {UpdateSsoIdpGroupBodyDto} updateSsoIdpGroupBodyDto
|
|
153
|
+
* @param {string} [authorization] Bearer Token
|
|
154
|
+
* @param {*} [options] Override http request option.
|
|
155
|
+
* @throws {RequiredError}
|
|
156
|
+
*/
|
|
157
|
+
updateSsoIdpGroup: function (code, updateSsoIdpGroupBodyDto, authorization, options) {
|
|
158
|
+
if (options === void 0) { options = {}; }
|
|
159
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
160
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
161
|
+
return __generator(this, function (_a) {
|
|
162
|
+
switch (_a.label) {
|
|
163
|
+
case 0:
|
|
164
|
+
// verify required parameter 'code' is not null or undefined
|
|
165
|
+
(0, common_1.assertParamExists)('updateSsoIdpGroup', 'code', code);
|
|
166
|
+
// verify required parameter 'updateSsoIdpGroupBodyDto' is not null or undefined
|
|
167
|
+
(0, common_1.assertParamExists)('updateSsoIdpGroup', 'updateSsoIdpGroupBodyDto', updateSsoIdpGroupBodyDto);
|
|
168
|
+
localVarPath = "/tenantservice/v1/sso-idp-groups/{code}"
|
|
169
|
+
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
170
|
+
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
171
|
+
if (configuration) {
|
|
172
|
+
baseOptions = configuration.baseOptions;
|
|
173
|
+
baseAccessToken = configuration.accessToken;
|
|
174
|
+
}
|
|
175
|
+
localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
|
|
176
|
+
localVarHeaderParameter = {};
|
|
177
|
+
localVarQueryParameter = {};
|
|
178
|
+
// authentication bearer required
|
|
179
|
+
// http bearer authentication required
|
|
180
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
181
|
+
case 1:
|
|
182
|
+
// authentication bearer required
|
|
183
|
+
// http bearer authentication required
|
|
184
|
+
_a.sent();
|
|
185
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
186
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
187
|
+
}
|
|
188
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
189
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
190
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
191
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
192
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateSsoIdpGroupBodyDto, localVarRequestOptions, configuration);
|
|
193
|
+
return [2 /*return*/, {
|
|
194
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
195
|
+
options: localVarRequestOptions,
|
|
196
|
+
}];
|
|
197
|
+
}
|
|
198
|
+
});
|
|
199
|
+
});
|
|
200
|
+
},
|
|
148
201
|
};
|
|
149
202
|
};
|
|
150
203
|
exports.SSOIdPGroupsApiAxiosParamCreator = SSOIdPGroupsApiAxiosParamCreator;
|
|
@@ -176,6 +229,28 @@ var SSOIdPGroupsApiFp = function (configuration) {
|
|
|
176
229
|
});
|
|
177
230
|
});
|
|
178
231
|
},
|
|
232
|
+
/**
|
|
233
|
+
* externalId is immutable. eisUserGroupCodes is set-replace when present. **Required Permissions** \"tenant-management.settings.update\"
|
|
234
|
+
* @summary Update IdP group name and/or EIS mappings
|
|
235
|
+
* @param {string} code IdP group code.
|
|
236
|
+
* @param {UpdateSsoIdpGroupBodyDto} updateSsoIdpGroupBodyDto
|
|
237
|
+
* @param {string} [authorization] Bearer Token
|
|
238
|
+
* @param {*} [options] Override http request option.
|
|
239
|
+
* @throws {RequiredError}
|
|
240
|
+
*/
|
|
241
|
+
updateSsoIdpGroup: function (code, updateSsoIdpGroupBodyDto, authorization, options) {
|
|
242
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
243
|
+
var localVarAxiosArgs;
|
|
244
|
+
return __generator(this, function (_a) {
|
|
245
|
+
switch (_a.label) {
|
|
246
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateSsoIdpGroup(code, updateSsoIdpGroupBodyDto, authorization, options)];
|
|
247
|
+
case 1:
|
|
248
|
+
localVarAxiosArgs = _a.sent();
|
|
249
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
250
|
+
}
|
|
251
|
+
});
|
|
252
|
+
});
|
|
253
|
+
},
|
|
179
254
|
};
|
|
180
255
|
};
|
|
181
256
|
exports.SSOIdPGroupsApiFp = SSOIdPGroupsApiFp;
|
|
@@ -197,6 +272,18 @@ var SSOIdPGroupsApiFactory = function (configuration, basePath, axios) {
|
|
|
197
272
|
createSsoIdpGroup: function (createSsoIdpGroupRequestDto, authorization, options) {
|
|
198
273
|
return localVarFp.createSsoIdpGroup(createSsoIdpGroupRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
199
274
|
},
|
|
275
|
+
/**
|
|
276
|
+
* externalId is immutable. eisUserGroupCodes is set-replace when present. **Required Permissions** \"tenant-management.settings.update\"
|
|
277
|
+
* @summary Update IdP group name and/or EIS mappings
|
|
278
|
+
* @param {string} code IdP group code.
|
|
279
|
+
* @param {UpdateSsoIdpGroupBodyDto} updateSsoIdpGroupBodyDto
|
|
280
|
+
* @param {string} [authorization] Bearer Token
|
|
281
|
+
* @param {*} [options] Override http request option.
|
|
282
|
+
* @throws {RequiredError}
|
|
283
|
+
*/
|
|
284
|
+
updateSsoIdpGroup: function (code, updateSsoIdpGroupBodyDto, authorization, options) {
|
|
285
|
+
return localVarFp.updateSsoIdpGroup(code, updateSsoIdpGroupBodyDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
286
|
+
},
|
|
200
287
|
};
|
|
201
288
|
};
|
|
202
289
|
exports.SSOIdPGroupsApiFactory = SSOIdPGroupsApiFactory;
|
|
@@ -223,6 +310,18 @@ var SSOIdPGroupsApi = /** @class */ (function (_super) {
|
|
|
223
310
|
var _this = this;
|
|
224
311
|
return (0, exports.SSOIdPGroupsApiFp)(this.configuration).createSsoIdpGroup(requestParameters.createSsoIdpGroupRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
225
312
|
};
|
|
313
|
+
/**
|
|
314
|
+
* externalId is immutable. eisUserGroupCodes is set-replace when present. **Required Permissions** \"tenant-management.settings.update\"
|
|
315
|
+
* @summary Update IdP group name and/or EIS mappings
|
|
316
|
+
* @param {SSOIdPGroupsApiUpdateSsoIdpGroupRequest} requestParameters Request parameters.
|
|
317
|
+
* @param {*} [options] Override http request option.
|
|
318
|
+
* @throws {RequiredError}
|
|
319
|
+
* @memberof SSOIdPGroupsApi
|
|
320
|
+
*/
|
|
321
|
+
SSOIdPGroupsApi.prototype.updateSsoIdpGroup = function (requestParameters, options) {
|
|
322
|
+
var _this = this;
|
|
323
|
+
return (0, exports.SSOIdPGroupsApiFp)(this.configuration).updateSsoIdpGroup(requestParameters.code, requestParameters.updateSsoIdpGroupBodyDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
324
|
+
};
|
|
226
325
|
return SSOIdPGroupsApi;
|
|
227
326
|
}(base_1.BaseAPI));
|
|
228
327
|
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
|
+
|