@emilgroup/tenant-sdk-node 1.39.1-beta.26 → 1.39.1-beta.27
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 +5 -0
- package/README.md +2 -2
- package/api/ssoconnection-api.ts +90 -0
- package/dist/api/ssoconnection-api.d.ts +47 -0
- package/dist/api/ssoconnection-api.js +87 -0
- package/dist/models/get-sso-connection-setup-response-class.d.ts +25 -0
- package/dist/models/get-sso-connection-setup-response-class.js +15 -0
- package/dist/models/index.d.ts +5 -0
- package/dist/models/index.js +5 -0
- package/dist/models/oidc-sso-setup-class.d.ts +31 -0
- package/dist/models/oidc-sso-setup-class.js +15 -0
- package/dist/models/saml-sso-setup-class.d.ts +37 -0
- package/dist/models/saml-sso-setup-class.js +15 -0
- package/dist/models/sso-attribute-mapping-template-class.d.ts +36 -0
- package/dist/models/sso-attribute-mapping-template-class.js +15 -0
- package/dist/models/sso-connection-setup-class.d.ts +32 -0
- package/dist/models/sso-connection-setup-class.js +15 -0
- package/models/get-sso-connection-setup-response-class.ts +31 -0
- package/models/index.ts +5 -0
- package/models/oidc-sso-setup-class.ts +37 -0
- package/models/saml-sso-setup-class.ts +43 -0
- package/models/sso-attribute-mapping-template-class.ts +42 -0
- package/models/sso-connection-setup-class.ts +38 -0
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -89,6 +89,7 @@ models/get-organization-response-class.ts
|
|
|
89
89
|
models/get-report-schedule-response-class.ts
|
|
90
90
|
models/get-settings-response-class.ts
|
|
91
91
|
models/get-sso-connection-response-class.ts
|
|
92
|
+
models/get-sso-connection-setup-response-class.ts
|
|
92
93
|
models/get-user-group-response-class.ts
|
|
93
94
|
models/get-user-response-class.ts
|
|
94
95
|
models/index.ts
|
|
@@ -119,6 +120,7 @@ models/list-user-groups-response-class.ts
|
|
|
119
120
|
models/list-users-response-class.ts
|
|
120
121
|
models/oidc-sso-details-input-dto.ts
|
|
121
122
|
models/oidc-sso-details-update-dto.ts
|
|
123
|
+
models/oidc-sso-setup-class.ts
|
|
122
124
|
models/org-invitation-class.ts
|
|
123
125
|
models/org-invitation-response-class.ts
|
|
124
126
|
models/organization-class.ts
|
|
@@ -140,6 +142,7 @@ models/role-class.ts
|
|
|
140
142
|
models/run-data-report-request-dto.ts
|
|
141
143
|
models/run-data-report-response-class.ts
|
|
142
144
|
models/saml-sso-details-dto.ts
|
|
145
|
+
models/saml-sso-setup-class.ts
|
|
143
146
|
models/set-setting-grpc-request-dto.ts
|
|
144
147
|
models/set-setting-request-dto.ts
|
|
145
148
|
models/set-tenant-setting-response-class.ts
|
|
@@ -148,7 +151,9 @@ models/shared-oidc-sso-details-class.ts
|
|
|
148
151
|
models/shared-saml-sso-details-class.ts
|
|
149
152
|
models/shared-sso-attribute-mapping-class.ts
|
|
150
153
|
models/sso-attribute-mapping-dto.ts
|
|
154
|
+
models/sso-attribute-mapping-template-class.ts
|
|
151
155
|
models/sso-connection-class.ts
|
|
156
|
+
models/sso-connection-setup-class.ts
|
|
152
157
|
models/subscription-class.ts
|
|
153
158
|
models/tenant-admin-user-dto.ts
|
|
154
159
|
models/tenant-settings-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.27 --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.27
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `UsersApi`.
|
package/api/ssoconnection-api.ts
CHANGED
|
@@ -29,6 +29,8 @@ import { DeleteResponseClass } from '../models';
|
|
|
29
29
|
// @ts-ignore
|
|
30
30
|
import { GetSsoConnectionResponseClass } from '../models';
|
|
31
31
|
// @ts-ignore
|
|
32
|
+
import { GetSsoConnectionSetupResponseClass } from '../models';
|
|
33
|
+
// @ts-ignore
|
|
32
34
|
import { UpdateSsoConnectionBodyDto } from '../models';
|
|
33
35
|
// @ts-ignore
|
|
34
36
|
import { UpdateSsoConnectionResponseClass } from '../models';
|
|
@@ -215,6 +217,47 @@ export const SSOConnectionApiAxiosParamCreator = function (configuration?: Confi
|
|
|
215
217
|
|
|
216
218
|
|
|
217
219
|
|
|
220
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
221
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
222
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
223
|
+
|
|
224
|
+
return {
|
|
225
|
+
url: toPathString(localVarUrlObj),
|
|
226
|
+
options: localVarRequestOptions,
|
|
227
|
+
};
|
|
228
|
+
},
|
|
229
|
+
/**
|
|
230
|
+
* Returns what the creation form with required data. **Required Permissions** \"tenant-management.settings.create\"
|
|
231
|
+
* @summary Read the values an SSO connection is created with
|
|
232
|
+
* @param {string} [authorization] Bearer Token
|
|
233
|
+
* @param {*} [options] Override http request option.
|
|
234
|
+
* @throws {RequiredError}
|
|
235
|
+
*/
|
|
236
|
+
getSsoConnectionSetup: async (authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
237
|
+
const localVarPath = `/tenantservice/v1/sso-connection`;
|
|
238
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
239
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
240
|
+
let baseOptions;
|
|
241
|
+
let baseAccessToken;
|
|
242
|
+
if (configuration) {
|
|
243
|
+
baseOptions = configuration.baseOptions;
|
|
244
|
+
baseAccessToken = configuration.accessToken;
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
248
|
+
const localVarHeaderParameter = {} as any;
|
|
249
|
+
const localVarQueryParameter = {} as any;
|
|
250
|
+
|
|
251
|
+
// authentication bearer required
|
|
252
|
+
// http bearer authentication required
|
|
253
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
254
|
+
|
|
255
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
256
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
|
|
260
|
+
|
|
218
261
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
219
262
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
220
263
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -383,6 +426,17 @@ export const SSOConnectionApiFp = function(configuration?: Configuration) {
|
|
|
383
426
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getSsoConnection(code, authorization, options);
|
|
384
427
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
385
428
|
},
|
|
429
|
+
/**
|
|
430
|
+
* Returns what the creation form with required data. **Required Permissions** \"tenant-management.settings.create\"
|
|
431
|
+
* @summary Read the values an SSO connection is created with
|
|
432
|
+
* @param {string} [authorization] Bearer Token
|
|
433
|
+
* @param {*} [options] Override http request option.
|
|
434
|
+
* @throws {RequiredError}
|
|
435
|
+
*/
|
|
436
|
+
async getSsoConnectionSetup(authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetSsoConnectionSetupResponseClass>> {
|
|
437
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getSsoConnectionSetup(authorization, options);
|
|
438
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
439
|
+
},
|
|
386
440
|
/**
|
|
387
441
|
* Replaces the display name, identity provider details and the claim mapping. The protocol and the provider are fixed for the lifetime of a connection. Editing is only allowed while the connection is inactive, so deactivate it first. Leaving the OIDC client secret out keeps the stored one, and an edit never activates the connection. **Required Permissions** \"tenant-management.settings.update\"
|
|
388
442
|
* @summary Edit the tenant\'s SSO connection
|
|
@@ -462,6 +516,16 @@ export const SSOConnectionApiFactory = function (configuration?: Configuration,
|
|
|
462
516
|
getSsoConnection(code: string, authorization?: string, options?: any): AxiosPromise<GetSsoConnectionResponseClass> {
|
|
463
517
|
return localVarFp.getSsoConnection(code, authorization, options).then((request) => request(axios, basePath));
|
|
464
518
|
},
|
|
519
|
+
/**
|
|
520
|
+
* Returns what the creation form with required data. **Required Permissions** \"tenant-management.settings.create\"
|
|
521
|
+
* @summary Read the values an SSO connection is created with
|
|
522
|
+
* @param {string} [authorization] Bearer Token
|
|
523
|
+
* @param {*} [options] Override http request option.
|
|
524
|
+
* @throws {RequiredError}
|
|
525
|
+
*/
|
|
526
|
+
getSsoConnectionSetup(authorization?: string, options?: any): AxiosPromise<GetSsoConnectionSetupResponseClass> {
|
|
527
|
+
return localVarFp.getSsoConnectionSetup(authorization, options).then((request) => request(axios, basePath));
|
|
528
|
+
},
|
|
465
529
|
/**
|
|
466
530
|
* Replaces the display name, identity provider details and the claim mapping. The protocol and the provider are fixed for the lifetime of a connection. Editing is only allowed while the connection is inactive, so deactivate it first. Leaving the OIDC client secret out keeps the stored one, and an edit never activates the connection. **Required Permissions** \"tenant-management.settings.update\"
|
|
467
531
|
* @summary Edit the tenant\'s SSO connection
|
|
@@ -566,6 +630,20 @@ export interface SSOConnectionApiGetSsoConnectionRequest {
|
|
|
566
630
|
readonly authorization?: string
|
|
567
631
|
}
|
|
568
632
|
|
|
633
|
+
/**
|
|
634
|
+
* Request parameters for getSsoConnectionSetup operation in SSOConnectionApi.
|
|
635
|
+
* @export
|
|
636
|
+
* @interface SSOConnectionApiGetSsoConnectionSetupRequest
|
|
637
|
+
*/
|
|
638
|
+
export interface SSOConnectionApiGetSsoConnectionSetupRequest {
|
|
639
|
+
/**
|
|
640
|
+
* Bearer Token
|
|
641
|
+
* @type {string}
|
|
642
|
+
* @memberof SSOConnectionApiGetSsoConnectionSetup
|
|
643
|
+
*/
|
|
644
|
+
readonly authorization?: string
|
|
645
|
+
}
|
|
646
|
+
|
|
569
647
|
/**
|
|
570
648
|
* Request parameters for updateSsoConnection operation in SSOConnectionApi.
|
|
571
649
|
* @export
|
|
@@ -677,6 +755,18 @@ export class SSOConnectionApi extends BaseAPI {
|
|
|
677
755
|
return SSOConnectionApiFp(this.configuration).getSsoConnection(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
678
756
|
}
|
|
679
757
|
|
|
758
|
+
/**
|
|
759
|
+
* Returns what the creation form with required data. **Required Permissions** \"tenant-management.settings.create\"
|
|
760
|
+
* @summary Read the values an SSO connection is created with
|
|
761
|
+
* @param {SSOConnectionApiGetSsoConnectionSetupRequest} requestParameters Request parameters.
|
|
762
|
+
* @param {*} [options] Override http request option.
|
|
763
|
+
* @throws {RequiredError}
|
|
764
|
+
* @memberof SSOConnectionApi
|
|
765
|
+
*/
|
|
766
|
+
public getSsoConnectionSetup(requestParameters: SSOConnectionApiGetSsoConnectionSetupRequest = {}, options?: AxiosRequestConfig) {
|
|
767
|
+
return SSOConnectionApiFp(this.configuration).getSsoConnectionSetup(requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
768
|
+
}
|
|
769
|
+
|
|
680
770
|
/**
|
|
681
771
|
* Replaces the display name, identity provider details and the claim mapping. The protocol and the provider are fixed for the lifetime of a connection. Editing is only allowed while the connection is inactive, so deactivate it first. Leaving the OIDC client secret out keeps the stored one, and an edit never activates the connection. **Required Permissions** \"tenant-management.settings.update\"
|
|
682
772
|
* @summary Edit the tenant\'s SSO connection
|
|
@@ -16,6 +16,7 @@ import { CreateSsoConnectionRequestDto } from '../models';
|
|
|
16
16
|
import { CreateSsoConnectionResponseClass } from '../models';
|
|
17
17
|
import { DeleteResponseClass } from '../models';
|
|
18
18
|
import { GetSsoConnectionResponseClass } from '../models';
|
|
19
|
+
import { GetSsoConnectionSetupResponseClass } from '../models';
|
|
19
20
|
import { UpdateSsoConnectionBodyDto } from '../models';
|
|
20
21
|
import { UpdateSsoConnectionResponseClass } from '../models';
|
|
21
22
|
import { UpdateSsoConnectionStatusBodyDto } from '../models';
|
|
@@ -60,6 +61,14 @@ export declare const SSOConnectionApiAxiosParamCreator: (configuration?: Configu
|
|
|
60
61
|
* @throws {RequiredError}
|
|
61
62
|
*/
|
|
62
63
|
getSsoConnection: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
64
|
+
/**
|
|
65
|
+
* Returns what the creation form with required data. **Required Permissions** \"tenant-management.settings.create\"
|
|
66
|
+
* @summary Read the values an SSO connection is created with
|
|
67
|
+
* @param {string} [authorization] Bearer Token
|
|
68
|
+
* @param {*} [options] Override http request option.
|
|
69
|
+
* @throws {RequiredError}
|
|
70
|
+
*/
|
|
71
|
+
getSsoConnectionSetup: (authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
63
72
|
/**
|
|
64
73
|
* Replaces the display name, identity provider details and the claim mapping. The protocol and the provider are fixed for the lifetime of a connection. Editing is only allowed while the connection is inactive, so deactivate it first. Leaving the OIDC client secret out keeps the stored one, and an edit never activates the connection. **Required Permissions** \"tenant-management.settings.update\"
|
|
65
74
|
* @summary Edit the tenant\'s SSO connection
|
|
@@ -121,6 +130,14 @@ export declare const SSOConnectionApiFp: (configuration?: Configuration) => {
|
|
|
121
130
|
* @throws {RequiredError}
|
|
122
131
|
*/
|
|
123
132
|
getSsoConnection(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetSsoConnectionResponseClass>>;
|
|
133
|
+
/**
|
|
134
|
+
* Returns what the creation form with required data. **Required Permissions** \"tenant-management.settings.create\"
|
|
135
|
+
* @summary Read the values an SSO connection is created with
|
|
136
|
+
* @param {string} [authorization] Bearer Token
|
|
137
|
+
* @param {*} [options] Override http request option.
|
|
138
|
+
* @throws {RequiredError}
|
|
139
|
+
*/
|
|
140
|
+
getSsoConnectionSetup(authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetSsoConnectionSetupResponseClass>>;
|
|
124
141
|
/**
|
|
125
142
|
* Replaces the display name, identity provider details and the claim mapping. The protocol and the provider are fixed for the lifetime of a connection. Editing is only allowed while the connection is inactive, so deactivate it first. Leaving the OIDC client secret out keeps the stored one, and an edit never activates the connection. **Required Permissions** \"tenant-management.settings.update\"
|
|
126
143
|
* @summary Edit the tenant\'s SSO connection
|
|
@@ -182,6 +199,14 @@ export declare const SSOConnectionApiFactory: (configuration?: Configuration, ba
|
|
|
182
199
|
* @throws {RequiredError}
|
|
183
200
|
*/
|
|
184
201
|
getSsoConnection(code: string, authorization?: string, options?: any): AxiosPromise<GetSsoConnectionResponseClass>;
|
|
202
|
+
/**
|
|
203
|
+
* Returns what the creation form with required data. **Required Permissions** \"tenant-management.settings.create\"
|
|
204
|
+
* @summary Read the values an SSO connection is created with
|
|
205
|
+
* @param {string} [authorization] Bearer Token
|
|
206
|
+
* @param {*} [options] Override http request option.
|
|
207
|
+
* @throws {RequiredError}
|
|
208
|
+
*/
|
|
209
|
+
getSsoConnectionSetup(authorization?: string, options?: any): AxiosPromise<GetSsoConnectionSetupResponseClass>;
|
|
185
210
|
/**
|
|
186
211
|
* Replaces the display name, identity provider details and the claim mapping. The protocol and the provider are fixed for the lifetime of a connection. Editing is only allowed while the connection is inactive, so deactivate it first. Leaving the OIDC client secret out keeps the stored one, and an edit never activates the connection. **Required Permissions** \"tenant-management.settings.update\"
|
|
187
212
|
* @summary Edit the tenant\'s SSO connection
|
|
@@ -273,6 +298,19 @@ export interface SSOConnectionApiGetSsoConnectionRequest {
|
|
|
273
298
|
*/
|
|
274
299
|
readonly authorization?: string;
|
|
275
300
|
}
|
|
301
|
+
/**
|
|
302
|
+
* Request parameters for getSsoConnectionSetup operation in SSOConnectionApi.
|
|
303
|
+
* @export
|
|
304
|
+
* @interface SSOConnectionApiGetSsoConnectionSetupRequest
|
|
305
|
+
*/
|
|
306
|
+
export interface SSOConnectionApiGetSsoConnectionSetupRequest {
|
|
307
|
+
/**
|
|
308
|
+
* Bearer Token
|
|
309
|
+
* @type {string}
|
|
310
|
+
* @memberof SSOConnectionApiGetSsoConnectionSetup
|
|
311
|
+
*/
|
|
312
|
+
readonly authorization?: string;
|
|
313
|
+
}
|
|
276
314
|
/**
|
|
277
315
|
* Request parameters for updateSsoConnection operation in SSOConnectionApi.
|
|
278
316
|
* @export
|
|
@@ -366,6 +404,15 @@ export declare class SSOConnectionApi extends BaseAPI {
|
|
|
366
404
|
* @memberof SSOConnectionApi
|
|
367
405
|
*/
|
|
368
406
|
getSsoConnection(requestParameters: SSOConnectionApiGetSsoConnectionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetSsoConnectionResponseClass, any, {}>>;
|
|
407
|
+
/**
|
|
408
|
+
* Returns what the creation form with required data. **Required Permissions** \"tenant-management.settings.create\"
|
|
409
|
+
* @summary Read the values an SSO connection is created with
|
|
410
|
+
* @param {SSOConnectionApiGetSsoConnectionSetupRequest} requestParameters Request parameters.
|
|
411
|
+
* @param {*} [options] Override http request option.
|
|
412
|
+
* @throws {RequiredError}
|
|
413
|
+
* @memberof SSOConnectionApi
|
|
414
|
+
*/
|
|
415
|
+
getSsoConnectionSetup(requestParameters?: SSOConnectionApiGetSsoConnectionSetupRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetSsoConnectionSetupResponseClass, any, {}>>;
|
|
369
416
|
/**
|
|
370
417
|
* Replaces the display name, identity provider details and the claim mapping. The protocol and the provider are fixed for the lifetime of a connection. Editing is only allowed while the connection is inactive, so deactivate it first. Leaving the OIDC client secret out keeps the stored one, and an edit never activates the connection. **Required Permissions** \"tenant-management.settings.update\"
|
|
371
418
|
* @summary Edit the tenant\'s SSO connection
|
|
@@ -285,6 +285,50 @@ var SSOConnectionApiAxiosParamCreator = function (configuration) {
|
|
|
285
285
|
});
|
|
286
286
|
});
|
|
287
287
|
},
|
|
288
|
+
/**
|
|
289
|
+
* Returns what the creation form with required data. **Required Permissions** \"tenant-management.settings.create\"
|
|
290
|
+
* @summary Read the values an SSO connection is created with
|
|
291
|
+
* @param {string} [authorization] Bearer Token
|
|
292
|
+
* @param {*} [options] Override http request option.
|
|
293
|
+
* @throws {RequiredError}
|
|
294
|
+
*/
|
|
295
|
+
getSsoConnectionSetup: function (authorization, options) {
|
|
296
|
+
if (options === void 0) { options = {}; }
|
|
297
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
298
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
299
|
+
return __generator(this, function (_a) {
|
|
300
|
+
switch (_a.label) {
|
|
301
|
+
case 0:
|
|
302
|
+
localVarPath = "/tenantservice/v1/sso-connection";
|
|
303
|
+
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
304
|
+
if (configuration) {
|
|
305
|
+
baseOptions = configuration.baseOptions;
|
|
306
|
+
baseAccessToken = configuration.accessToken;
|
|
307
|
+
}
|
|
308
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
309
|
+
localVarHeaderParameter = {};
|
|
310
|
+
localVarQueryParameter = {};
|
|
311
|
+
// authentication bearer required
|
|
312
|
+
// http bearer authentication required
|
|
313
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
314
|
+
case 1:
|
|
315
|
+
// authentication bearer required
|
|
316
|
+
// http bearer authentication required
|
|
317
|
+
_a.sent();
|
|
318
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
319
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
320
|
+
}
|
|
321
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
322
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
323
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
324
|
+
return [2 /*return*/, {
|
|
325
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
326
|
+
options: localVarRequestOptions,
|
|
327
|
+
}];
|
|
328
|
+
}
|
|
329
|
+
});
|
|
330
|
+
});
|
|
331
|
+
},
|
|
288
332
|
/**
|
|
289
333
|
* Replaces the display name, identity provider details and the claim mapping. The protocol and the provider are fixed for the lifetime of a connection. Editing is only allowed while the connection is inactive, so deactivate it first. Leaving the OIDC client secret out keeps the stored one, and an edit never activates the connection. **Required Permissions** \"tenant-management.settings.update\"
|
|
290
334
|
* @summary Edit the tenant\'s SSO connection
|
|
@@ -484,6 +528,26 @@ var SSOConnectionApiFp = function (configuration) {
|
|
|
484
528
|
});
|
|
485
529
|
});
|
|
486
530
|
},
|
|
531
|
+
/**
|
|
532
|
+
* Returns what the creation form with required data. **Required Permissions** \"tenant-management.settings.create\"
|
|
533
|
+
* @summary Read the values an SSO connection is created with
|
|
534
|
+
* @param {string} [authorization] Bearer Token
|
|
535
|
+
* @param {*} [options] Override http request option.
|
|
536
|
+
* @throws {RequiredError}
|
|
537
|
+
*/
|
|
538
|
+
getSsoConnectionSetup: function (authorization, options) {
|
|
539
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
540
|
+
var localVarAxiosArgs;
|
|
541
|
+
return __generator(this, function (_a) {
|
|
542
|
+
switch (_a.label) {
|
|
543
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getSsoConnectionSetup(authorization, options)];
|
|
544
|
+
case 1:
|
|
545
|
+
localVarAxiosArgs = _a.sent();
|
|
546
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
547
|
+
}
|
|
548
|
+
});
|
|
549
|
+
});
|
|
550
|
+
},
|
|
487
551
|
/**
|
|
488
552
|
* Replaces the display name, identity provider details and the claim mapping. The protocol and the provider are fixed for the lifetime of a connection. Editing is only allowed while the connection is inactive, so deactivate it first. Leaving the OIDC client secret out keeps the stored one, and an edit never activates the connection. **Required Permissions** \"tenant-management.settings.update\"
|
|
489
553
|
* @summary Edit the tenant\'s SSO connection
|
|
@@ -581,6 +645,16 @@ var SSOConnectionApiFactory = function (configuration, basePath, axios) {
|
|
|
581
645
|
getSsoConnection: function (code, authorization, options) {
|
|
582
646
|
return localVarFp.getSsoConnection(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
583
647
|
},
|
|
648
|
+
/**
|
|
649
|
+
* Returns what the creation form with required data. **Required Permissions** \"tenant-management.settings.create\"
|
|
650
|
+
* @summary Read the values an SSO connection is created with
|
|
651
|
+
* @param {string} [authorization] Bearer Token
|
|
652
|
+
* @param {*} [options] Override http request option.
|
|
653
|
+
* @throws {RequiredError}
|
|
654
|
+
*/
|
|
655
|
+
getSsoConnectionSetup: function (authorization, options) {
|
|
656
|
+
return localVarFp.getSsoConnectionSetup(authorization, options).then(function (request) { return request(axios, basePath); });
|
|
657
|
+
},
|
|
584
658
|
/**
|
|
585
659
|
* Replaces the display name, identity provider details and the claim mapping. The protocol and the provider are fixed for the lifetime of a connection. Editing is only allowed while the connection is inactive, so deactivate it first. Leaving the OIDC client secret out keeps the stored one, and an edit never activates the connection. **Required Permissions** \"tenant-management.settings.update\"
|
|
586
660
|
* @summary Edit the tenant\'s SSO connection
|
|
@@ -668,6 +742,19 @@ var SSOConnectionApi = /** @class */ (function (_super) {
|
|
|
668
742
|
var _this = this;
|
|
669
743
|
return (0, exports.SSOConnectionApiFp)(this.configuration).getSsoConnection(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
670
744
|
};
|
|
745
|
+
/**
|
|
746
|
+
* Returns what the creation form with required data. **Required Permissions** \"tenant-management.settings.create\"
|
|
747
|
+
* @summary Read the values an SSO connection is created with
|
|
748
|
+
* @param {SSOConnectionApiGetSsoConnectionSetupRequest} requestParameters Request parameters.
|
|
749
|
+
* @param {*} [options] Override http request option.
|
|
750
|
+
* @throws {RequiredError}
|
|
751
|
+
* @memberof SSOConnectionApi
|
|
752
|
+
*/
|
|
753
|
+
SSOConnectionApi.prototype.getSsoConnectionSetup = function (requestParameters, options) {
|
|
754
|
+
var _this = this;
|
|
755
|
+
if (requestParameters === void 0) { requestParameters = {}; }
|
|
756
|
+
return (0, exports.SSOConnectionApiFp)(this.configuration).getSsoConnectionSetup(requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
757
|
+
};
|
|
671
758
|
/**
|
|
672
759
|
* Replaces the display name, identity provider details and the claim mapping. The protocol and the provider are fixed for the lifetime of a connection. Editing is only allowed while the connection is inactive, so deactivate it first. Leaving the OIDC client secret out keeps the stored one, and an edit never activates the connection. **Required Permissions** \"tenant-management.settings.update\"
|
|
673
760
|
* @summary Edit the tenant\'s SSO connection
|
|
@@ -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 { SsoConnectionSetupClass } from './sso-connection-setup-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface GetSsoConnectionSetupResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface GetSsoConnectionSetupResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {SsoConnectionSetupClass}
|
|
22
|
+
* @memberof GetSsoConnectionSetupResponseClass
|
|
23
|
+
*/
|
|
24
|
+
'ssoConnectionSetup': SsoConnectionSetupClass;
|
|
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/dist/models/index.d.ts
CHANGED
|
@@ -57,6 +57,7 @@ export * from './get-organization-response-class';
|
|
|
57
57
|
export * from './get-report-schedule-response-class';
|
|
58
58
|
export * from './get-settings-response-class';
|
|
59
59
|
export * from './get-sso-connection-response-class';
|
|
60
|
+
export * from './get-sso-connection-setup-response-class';
|
|
60
61
|
export * from './get-user-group-response-class';
|
|
61
62
|
export * from './get-user-response-class';
|
|
62
63
|
export * from './initial-tenant-config-class';
|
|
@@ -86,6 +87,7 @@ export * from './list-user-groups-response-class';
|
|
|
86
87
|
export * from './list-users-response-class';
|
|
87
88
|
export * from './oidc-sso-details-input-dto';
|
|
88
89
|
export * from './oidc-sso-details-update-dto';
|
|
90
|
+
export * from './oidc-sso-setup-class';
|
|
89
91
|
export * from './org-invitation-class';
|
|
90
92
|
export * from './org-invitation-response-class';
|
|
91
93
|
export * from './organization-class';
|
|
@@ -107,6 +109,7 @@ export * from './role-class';
|
|
|
107
109
|
export * from './run-data-report-request-dto';
|
|
108
110
|
export * from './run-data-report-response-class';
|
|
109
111
|
export * from './saml-sso-details-dto';
|
|
112
|
+
export * from './saml-sso-setup-class';
|
|
110
113
|
export * from './set-setting-grpc-request-dto';
|
|
111
114
|
export * from './set-setting-request-dto';
|
|
112
115
|
export * from './set-tenant-setting-response-class';
|
|
@@ -115,7 +118,9 @@ export * from './shared-oidc-sso-details-class';
|
|
|
115
118
|
export * from './shared-saml-sso-details-class';
|
|
116
119
|
export * from './shared-sso-attribute-mapping-class';
|
|
117
120
|
export * from './sso-attribute-mapping-dto';
|
|
121
|
+
export * from './sso-attribute-mapping-template-class';
|
|
118
122
|
export * from './sso-connection-class';
|
|
123
|
+
export * from './sso-connection-setup-class';
|
|
119
124
|
export * from './subscription-class';
|
|
120
125
|
export * from './tenant-admin-user-dto';
|
|
121
126
|
export * from './tenant-settings-class';
|
package/dist/models/index.js
CHANGED
|
@@ -73,6 +73,7 @@ __exportStar(require("./get-organization-response-class"), exports);
|
|
|
73
73
|
__exportStar(require("./get-report-schedule-response-class"), exports);
|
|
74
74
|
__exportStar(require("./get-settings-response-class"), exports);
|
|
75
75
|
__exportStar(require("./get-sso-connection-response-class"), exports);
|
|
76
|
+
__exportStar(require("./get-sso-connection-setup-response-class"), exports);
|
|
76
77
|
__exportStar(require("./get-user-group-response-class"), exports);
|
|
77
78
|
__exportStar(require("./get-user-response-class"), exports);
|
|
78
79
|
__exportStar(require("./initial-tenant-config-class"), exports);
|
|
@@ -102,6 +103,7 @@ __exportStar(require("./list-user-groups-response-class"), exports);
|
|
|
102
103
|
__exportStar(require("./list-users-response-class"), exports);
|
|
103
104
|
__exportStar(require("./oidc-sso-details-input-dto"), exports);
|
|
104
105
|
__exportStar(require("./oidc-sso-details-update-dto"), exports);
|
|
106
|
+
__exportStar(require("./oidc-sso-setup-class"), exports);
|
|
105
107
|
__exportStar(require("./org-invitation-class"), exports);
|
|
106
108
|
__exportStar(require("./org-invitation-response-class"), exports);
|
|
107
109
|
__exportStar(require("./organization-class"), exports);
|
|
@@ -123,6 +125,7 @@ __exportStar(require("./role-class"), exports);
|
|
|
123
125
|
__exportStar(require("./run-data-report-request-dto"), exports);
|
|
124
126
|
__exportStar(require("./run-data-report-response-class"), exports);
|
|
125
127
|
__exportStar(require("./saml-sso-details-dto"), exports);
|
|
128
|
+
__exportStar(require("./saml-sso-setup-class"), exports);
|
|
126
129
|
__exportStar(require("./set-setting-grpc-request-dto"), exports);
|
|
127
130
|
__exportStar(require("./set-setting-request-dto"), exports);
|
|
128
131
|
__exportStar(require("./set-tenant-setting-response-class"), exports);
|
|
@@ -131,7 +134,9 @@ __exportStar(require("./shared-oidc-sso-details-class"), exports);
|
|
|
131
134
|
__exportStar(require("./shared-saml-sso-details-class"), exports);
|
|
132
135
|
__exportStar(require("./shared-sso-attribute-mapping-class"), exports);
|
|
133
136
|
__exportStar(require("./sso-attribute-mapping-dto"), exports);
|
|
137
|
+
__exportStar(require("./sso-attribute-mapping-template-class"), exports);
|
|
134
138
|
__exportStar(require("./sso-connection-class"), exports);
|
|
139
|
+
__exportStar(require("./sso-connection-setup-class"), exports);
|
|
135
140
|
__exportStar(require("./subscription-class"), exports);
|
|
136
141
|
__exportStar(require("./tenant-admin-user-dto"), exports);
|
|
137
142
|
__exportStar(require("./tenant-settings-class"), exports);
|
|
@@ -0,0 +1,31 @@
|
|
|
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 { SsoAttributeMappingTemplateClass } from './sso-attribute-mapping-template-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface OidcSsoSetupClass
|
|
17
|
+
*/
|
|
18
|
+
export interface OidcSsoSetupClass {
|
|
19
|
+
/**
|
|
20
|
+
* Redirect (callback) URL the identity provider sends the authorization code to. It has to be registered with the application there.
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof OidcSsoSetupClass
|
|
23
|
+
*/
|
|
24
|
+
'redirectUrl': string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {Array<SsoAttributeMappingTemplateClass>}
|
|
28
|
+
* @memberof OidcSsoSetupClass
|
|
29
|
+
*/
|
|
30
|
+
'attributeMapping': Array<SsoAttributeMappingTemplateClass>;
|
|
31
|
+
}
|
|
@@ -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,37 @@
|
|
|
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 { SsoAttributeMappingTemplateClass } from './sso-attribute-mapping-template-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface SamlSsoSetupClass
|
|
17
|
+
*/
|
|
18
|
+
export interface SamlSsoSetupClass {
|
|
19
|
+
/**
|
|
20
|
+
* EIS\'s Single sign-on URL, the assertion consumer service the identity provider posts the SAML response to.
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof SamlSsoSetupClass
|
|
23
|
+
*/
|
|
24
|
+
'acsUrl': string;
|
|
25
|
+
/**
|
|
26
|
+
* EIS\'s Audience URI, the service provider entity ID the identity provider issues the assertion for.
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof SamlSsoSetupClass
|
|
29
|
+
*/
|
|
30
|
+
'audienceUri': string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {Array<SsoAttributeMappingTemplateClass>}
|
|
34
|
+
* @memberof SamlSsoSetupClass
|
|
35
|
+
*/
|
|
36
|
+
'attributeMapping': Array<SsoAttributeMappingTemplateClass>;
|
|
37
|
+
}
|
|
@@ -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,36 @@
|
|
|
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 SsoAttributeMappingTemplateClass
|
|
16
|
+
*/
|
|
17
|
+
export interface SsoAttributeMappingTemplateClass {
|
|
18
|
+
/**
|
|
19
|
+
* EIS attribute the claim feeds.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SsoAttributeMappingTemplateClass
|
|
22
|
+
*/
|
|
23
|
+
'eisAttribute': string;
|
|
24
|
+
/**
|
|
25
|
+
* Claim the identity provider is expected to emit, pre-filled with the one a Microsoft provider carries this attribute in by default. It can be pointed at another claim.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof SsoAttributeMappingTemplateClass
|
|
28
|
+
*/
|
|
29
|
+
'idpAttribute': string;
|
|
30
|
+
/**
|
|
31
|
+
* Whether a connection can be created without a mapping for this attribute.
|
|
32
|
+
* @type {boolean}
|
|
33
|
+
* @memberof SsoAttributeMappingTemplateClass
|
|
34
|
+
*/
|
|
35
|
+
'isRequired': boolean;
|
|
36
|
+
}
|
|
@@ -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,32 @@
|
|
|
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 { OidcSsoSetupClass } from './oidc-sso-setup-class';
|
|
13
|
+
import { SamlSsoSetupClass } from './saml-sso-setup-class';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface SsoConnectionSetupClass
|
|
18
|
+
*/
|
|
19
|
+
export interface SsoConnectionSetupClass {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {SamlSsoSetupClass}
|
|
23
|
+
* @memberof SsoConnectionSetupClass
|
|
24
|
+
*/
|
|
25
|
+
'saml': SamlSsoSetupClass;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {OidcSsoSetupClass}
|
|
29
|
+
* @memberof SsoConnectionSetupClass
|
|
30
|
+
*/
|
|
31
|
+
'oidc': OidcSsoSetupClass;
|
|
32
|
+
}
|
|
@@ -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,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 { SsoConnectionSetupClass } from './sso-connection-setup-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface GetSsoConnectionSetupResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface GetSsoConnectionSetupResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {SsoConnectionSetupClass}
|
|
27
|
+
* @memberof GetSsoConnectionSetupResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'ssoConnectionSetup': SsoConnectionSetupClass;
|
|
30
|
+
}
|
|
31
|
+
|
package/models/index.ts
CHANGED
|
@@ -57,6 +57,7 @@ export * from './get-organization-response-class';
|
|
|
57
57
|
export * from './get-report-schedule-response-class';
|
|
58
58
|
export * from './get-settings-response-class';
|
|
59
59
|
export * from './get-sso-connection-response-class';
|
|
60
|
+
export * from './get-sso-connection-setup-response-class';
|
|
60
61
|
export * from './get-user-group-response-class';
|
|
61
62
|
export * from './get-user-response-class';
|
|
62
63
|
export * from './initial-tenant-config-class';
|
|
@@ -86,6 +87,7 @@ export * from './list-user-groups-response-class';
|
|
|
86
87
|
export * from './list-users-response-class';
|
|
87
88
|
export * from './oidc-sso-details-input-dto';
|
|
88
89
|
export * from './oidc-sso-details-update-dto';
|
|
90
|
+
export * from './oidc-sso-setup-class';
|
|
89
91
|
export * from './org-invitation-class';
|
|
90
92
|
export * from './org-invitation-response-class';
|
|
91
93
|
export * from './organization-class';
|
|
@@ -107,6 +109,7 @@ export * from './role-class';
|
|
|
107
109
|
export * from './run-data-report-request-dto';
|
|
108
110
|
export * from './run-data-report-response-class';
|
|
109
111
|
export * from './saml-sso-details-dto';
|
|
112
|
+
export * from './saml-sso-setup-class';
|
|
110
113
|
export * from './set-setting-grpc-request-dto';
|
|
111
114
|
export * from './set-setting-request-dto';
|
|
112
115
|
export * from './set-tenant-setting-response-class';
|
|
@@ -115,7 +118,9 @@ export * from './shared-oidc-sso-details-class';
|
|
|
115
118
|
export * from './shared-saml-sso-details-class';
|
|
116
119
|
export * from './shared-sso-attribute-mapping-class';
|
|
117
120
|
export * from './sso-attribute-mapping-dto';
|
|
121
|
+
export * from './sso-attribute-mapping-template-class';
|
|
118
122
|
export * from './sso-connection-class';
|
|
123
|
+
export * from './sso-connection-setup-class';
|
|
119
124
|
export * from './subscription-class';
|
|
120
125
|
export * from './tenant-admin-user-dto';
|
|
121
126
|
export * from './tenant-settings-class';
|
|
@@ -0,0 +1,37 @@
|
|
|
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 { SsoAttributeMappingTemplateClass } from './sso-attribute-mapping-template-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface OidcSsoSetupClass
|
|
22
|
+
*/
|
|
23
|
+
export interface OidcSsoSetupClass {
|
|
24
|
+
/**
|
|
25
|
+
* Redirect (callback) URL the identity provider sends the authorization code to. It has to be registered with the application there.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof OidcSsoSetupClass
|
|
28
|
+
*/
|
|
29
|
+
'redirectUrl': string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {Array<SsoAttributeMappingTemplateClass>}
|
|
33
|
+
* @memberof OidcSsoSetupClass
|
|
34
|
+
*/
|
|
35
|
+
'attributeMapping': Array<SsoAttributeMappingTemplateClass>;
|
|
36
|
+
}
|
|
37
|
+
|
|
@@ -0,0 +1,43 @@
|
|
|
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 { SsoAttributeMappingTemplateClass } from './sso-attribute-mapping-template-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface SamlSsoSetupClass
|
|
22
|
+
*/
|
|
23
|
+
export interface SamlSsoSetupClass {
|
|
24
|
+
/**
|
|
25
|
+
* EIS\'s Single sign-on URL, the assertion consumer service the identity provider posts the SAML response to.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof SamlSsoSetupClass
|
|
28
|
+
*/
|
|
29
|
+
'acsUrl': string;
|
|
30
|
+
/**
|
|
31
|
+
* EIS\'s Audience URI, the service provider entity ID the identity provider issues the assertion for.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof SamlSsoSetupClass
|
|
34
|
+
*/
|
|
35
|
+
'audienceUri': string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {Array<SsoAttributeMappingTemplateClass>}
|
|
39
|
+
* @memberof SamlSsoSetupClass
|
|
40
|
+
*/
|
|
41
|
+
'attributeMapping': Array<SsoAttributeMappingTemplateClass>;
|
|
42
|
+
}
|
|
43
|
+
|
|
@@ -0,0 +1,42 @@
|
|
|
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 SsoAttributeMappingTemplateClass
|
|
21
|
+
*/
|
|
22
|
+
export interface SsoAttributeMappingTemplateClass {
|
|
23
|
+
/**
|
|
24
|
+
* EIS attribute the claim feeds.
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof SsoAttributeMappingTemplateClass
|
|
27
|
+
*/
|
|
28
|
+
'eisAttribute': string;
|
|
29
|
+
/**
|
|
30
|
+
* Claim the identity provider is expected to emit, pre-filled with the one a Microsoft provider carries this attribute in by default. It can be pointed at another claim.
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof SsoAttributeMappingTemplateClass
|
|
33
|
+
*/
|
|
34
|
+
'idpAttribute': string;
|
|
35
|
+
/**
|
|
36
|
+
* Whether a connection can be created without a mapping for this attribute.
|
|
37
|
+
* @type {boolean}
|
|
38
|
+
* @memberof SsoAttributeMappingTemplateClass
|
|
39
|
+
*/
|
|
40
|
+
'isRequired': boolean;
|
|
41
|
+
}
|
|
42
|
+
|
|
@@ -0,0 +1,38 @@
|
|
|
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 { OidcSsoSetupClass } from './oidc-sso-setup-class';
|
|
17
|
+
import { SamlSsoSetupClass } from './saml-sso-setup-class';
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @export
|
|
22
|
+
* @interface SsoConnectionSetupClass
|
|
23
|
+
*/
|
|
24
|
+
export interface SsoConnectionSetupClass {
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {SamlSsoSetupClass}
|
|
28
|
+
* @memberof SsoConnectionSetupClass
|
|
29
|
+
*/
|
|
30
|
+
'saml': SamlSsoSetupClass;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {OidcSsoSetupClass}
|
|
34
|
+
* @memberof SsoConnectionSetupClass
|
|
35
|
+
*/
|
|
36
|
+
'oidc': OidcSsoSetupClass;
|
|
37
|
+
}
|
|
38
|
+
|