@emilgroup/tenant-sdk 1.42.1-beta.25 → 1.42.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 +94 -4
- package/dist/api/ssoconnection-api.d.ts +51 -4
- package/dist/api/ssoconnection-api.js +91 -4
- 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/dist/models/update-sso-connection-body-dto.d.ts +6 -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/models/update-sso-connection-body-dto.ts +6 -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@1.42.1-beta.
|
|
20
|
+
npm install @emilgroup/tenant-sdk@1.42.1-beta.27 --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.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';
|
|
@@ -221,7 +223,48 @@ export const SSOConnectionApiAxiosParamCreator = function (configuration?: Confi
|
|
|
221
223
|
};
|
|
222
224
|
},
|
|
223
225
|
/**
|
|
224
|
-
*
|
|
226
|
+
* Returns what the creation form with required data. **Required Permissions** \"tenant-management.settings.create\"
|
|
227
|
+
* @summary Read the values an SSO connection is created with
|
|
228
|
+
* @param {string} [authorization] Bearer Token
|
|
229
|
+
* @param {*} [options] Override http request option.
|
|
230
|
+
* @throws {RequiredError}
|
|
231
|
+
*/
|
|
232
|
+
getSsoConnectionSetup: async (authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
233
|
+
const localVarPath = `/tenantservice/v1/sso-connection`;
|
|
234
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
235
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
236
|
+
let baseOptions;
|
|
237
|
+
let baseAccessToken;
|
|
238
|
+
if (configuration) {
|
|
239
|
+
baseOptions = configuration.baseOptions;
|
|
240
|
+
baseAccessToken = configuration.accessToken;
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
244
|
+
const localVarHeaderParameter = {} as any;
|
|
245
|
+
const localVarQueryParameter = {} as any;
|
|
246
|
+
|
|
247
|
+
// authentication bearer required
|
|
248
|
+
// http bearer authentication required
|
|
249
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
250
|
+
|
|
251
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
252
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
|
|
256
|
+
|
|
257
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
258
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
259
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
260
|
+
|
|
261
|
+
return {
|
|
262
|
+
url: toPathString(localVarUrlObj),
|
|
263
|
+
options: localVarRequestOptions,
|
|
264
|
+
};
|
|
265
|
+
},
|
|
266
|
+
/**
|
|
267
|
+
* 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\"
|
|
225
268
|
* @summary Edit the tenant\'s SSO connection
|
|
226
269
|
* @param {string} code Connection code.
|
|
227
270
|
* @param {UpdateSsoConnectionBodyDto} updateSsoConnectionBodyDto
|
|
@@ -380,7 +423,18 @@ export const SSOConnectionApiFp = function(configuration?: Configuration) {
|
|
|
380
423
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
381
424
|
},
|
|
382
425
|
/**
|
|
383
|
-
*
|
|
426
|
+
* Returns what the creation form with required data. **Required Permissions** \"tenant-management.settings.create\"
|
|
427
|
+
* @summary Read the values an SSO connection is created with
|
|
428
|
+
* @param {string} [authorization] Bearer Token
|
|
429
|
+
* @param {*} [options] Override http request option.
|
|
430
|
+
* @throws {RequiredError}
|
|
431
|
+
*/
|
|
432
|
+
async getSsoConnectionSetup(authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetSsoConnectionSetupResponseClass>> {
|
|
433
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getSsoConnectionSetup(authorization, options);
|
|
434
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
435
|
+
},
|
|
436
|
+
/**
|
|
437
|
+
* 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\"
|
|
384
438
|
* @summary Edit the tenant\'s SSO connection
|
|
385
439
|
* @param {string} code Connection code.
|
|
386
440
|
* @param {UpdateSsoConnectionBodyDto} updateSsoConnectionBodyDto
|
|
@@ -459,7 +513,17 @@ export const SSOConnectionApiFactory = function (configuration?: Configuration,
|
|
|
459
513
|
return localVarFp.getSsoConnection(code, authorization, options).then((request) => request(axios, basePath));
|
|
460
514
|
},
|
|
461
515
|
/**
|
|
462
|
-
*
|
|
516
|
+
* Returns what the creation form with required data. **Required Permissions** \"tenant-management.settings.create\"
|
|
517
|
+
* @summary Read the values an SSO connection is created with
|
|
518
|
+
* @param {string} [authorization] Bearer Token
|
|
519
|
+
* @param {*} [options] Override http request option.
|
|
520
|
+
* @throws {RequiredError}
|
|
521
|
+
*/
|
|
522
|
+
getSsoConnectionSetup(authorization?: string, options?: any): AxiosPromise<GetSsoConnectionSetupResponseClass> {
|
|
523
|
+
return localVarFp.getSsoConnectionSetup(authorization, options).then((request) => request(axios, basePath));
|
|
524
|
+
},
|
|
525
|
+
/**
|
|
526
|
+
* 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\"
|
|
463
527
|
* @summary Edit the tenant\'s SSO connection
|
|
464
528
|
* @param {string} code Connection code.
|
|
465
529
|
* @param {UpdateSsoConnectionBodyDto} updateSsoConnectionBodyDto
|
|
@@ -562,6 +626,20 @@ export interface SSOConnectionApiGetSsoConnectionRequest {
|
|
|
562
626
|
readonly authorization?: string
|
|
563
627
|
}
|
|
564
628
|
|
|
629
|
+
/**
|
|
630
|
+
* Request parameters for getSsoConnectionSetup operation in SSOConnectionApi.
|
|
631
|
+
* @export
|
|
632
|
+
* @interface SSOConnectionApiGetSsoConnectionSetupRequest
|
|
633
|
+
*/
|
|
634
|
+
export interface SSOConnectionApiGetSsoConnectionSetupRequest {
|
|
635
|
+
/**
|
|
636
|
+
* Bearer Token
|
|
637
|
+
* @type {string}
|
|
638
|
+
* @memberof SSOConnectionApiGetSsoConnectionSetup
|
|
639
|
+
*/
|
|
640
|
+
readonly authorization?: string
|
|
641
|
+
}
|
|
642
|
+
|
|
565
643
|
/**
|
|
566
644
|
* Request parameters for updateSsoConnection operation in SSOConnectionApi.
|
|
567
645
|
* @export
|
|
@@ -674,7 +752,19 @@ export class SSOConnectionApi extends BaseAPI {
|
|
|
674
752
|
}
|
|
675
753
|
|
|
676
754
|
/**
|
|
677
|
-
*
|
|
755
|
+
* Returns what the creation form with required data. **Required Permissions** \"tenant-management.settings.create\"
|
|
756
|
+
* @summary Read the values an SSO connection is created with
|
|
757
|
+
* @param {SSOConnectionApiGetSsoConnectionSetupRequest} requestParameters Request parameters.
|
|
758
|
+
* @param {*} [options] Override http request option.
|
|
759
|
+
* @throws {RequiredError}
|
|
760
|
+
* @memberof SSOConnectionApi
|
|
761
|
+
*/
|
|
762
|
+
public getSsoConnectionSetup(requestParameters: SSOConnectionApiGetSsoConnectionSetupRequest = {}, options?: AxiosRequestConfig) {
|
|
763
|
+
return SSOConnectionApiFp(this.configuration).getSsoConnectionSetup(requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
764
|
+
}
|
|
765
|
+
|
|
766
|
+
/**
|
|
767
|
+
* 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\"
|
|
678
768
|
* @summary Edit the tenant\'s SSO connection
|
|
679
769
|
* @param {SSOConnectionApiUpdateSsoConnectionRequest} requestParameters Request parameters.
|
|
680
770
|
* @param {*} [options] Override http request option.
|
|
@@ -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';
|
|
@@ -61,7 +62,15 @@ export declare const SSOConnectionApiAxiosParamCreator: (configuration?: Configu
|
|
|
61
62
|
*/
|
|
62
63
|
getSsoConnection: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
63
64
|
/**
|
|
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>;
|
|
72
|
+
/**
|
|
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
|
|
66
75
|
* @param {string} code Connection code.
|
|
67
76
|
* @param {UpdateSsoConnectionBodyDto} updateSsoConnectionBodyDto
|
|
@@ -122,7 +131,15 @@ export declare const SSOConnectionApiFp: (configuration?: Configuration) => {
|
|
|
122
131
|
*/
|
|
123
132
|
getSsoConnection(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetSsoConnectionResponseClass>>;
|
|
124
133
|
/**
|
|
125
|
-
*
|
|
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>>;
|
|
141
|
+
/**
|
|
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
|
|
127
144
|
* @param {string} code Connection code.
|
|
128
145
|
* @param {UpdateSsoConnectionBodyDto} updateSsoConnectionBodyDto
|
|
@@ -183,7 +200,15 @@ export declare const SSOConnectionApiFactory: (configuration?: Configuration, ba
|
|
|
183
200
|
*/
|
|
184
201
|
getSsoConnection(code: string, authorization?: string, options?: any): AxiosPromise<GetSsoConnectionResponseClass>;
|
|
185
202
|
/**
|
|
186
|
-
*
|
|
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>;
|
|
210
|
+
/**
|
|
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
|
|
188
213
|
* @param {string} code Connection code.
|
|
189
214
|
* @param {UpdateSsoConnectionBodyDto} updateSsoConnectionBodyDto
|
|
@@ -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
|
|
@@ -367,7 +405,16 @@ export declare class SSOConnectionApi extends BaseAPI {
|
|
|
367
405
|
*/
|
|
368
406
|
getSsoConnection(requestParameters: SSOConnectionApiGetSsoConnectionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetSsoConnectionResponseClass, any, {}>>;
|
|
369
407
|
/**
|
|
370
|
-
*
|
|
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, {}>>;
|
|
416
|
+
/**
|
|
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
|
|
372
419
|
* @param {SSOConnectionApiUpdateSsoConnectionRequest} requestParameters Request parameters.
|
|
373
420
|
* @param {*} [options] Override http request option.
|
|
@@ -282,7 +282,51 @@ var SSOConnectionApiAxiosParamCreator = function (configuration) {
|
|
|
282
282
|
});
|
|
283
283
|
},
|
|
284
284
|
/**
|
|
285
|
-
*
|
|
285
|
+
* Returns what the creation form with required data. **Required Permissions** \"tenant-management.settings.create\"
|
|
286
|
+
* @summary Read the values an SSO connection is created with
|
|
287
|
+
* @param {string} [authorization] Bearer Token
|
|
288
|
+
* @param {*} [options] Override http request option.
|
|
289
|
+
* @throws {RequiredError}
|
|
290
|
+
*/
|
|
291
|
+
getSsoConnectionSetup: function (authorization, options) {
|
|
292
|
+
if (options === void 0) { options = {}; }
|
|
293
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
294
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
295
|
+
return __generator(this, function (_a) {
|
|
296
|
+
switch (_a.label) {
|
|
297
|
+
case 0:
|
|
298
|
+
localVarPath = "/tenantservice/v1/sso-connection";
|
|
299
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
300
|
+
if (configuration) {
|
|
301
|
+
baseOptions = configuration.baseOptions;
|
|
302
|
+
baseAccessToken = configuration.accessToken;
|
|
303
|
+
}
|
|
304
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
305
|
+
localVarHeaderParameter = {};
|
|
306
|
+
localVarQueryParameter = {};
|
|
307
|
+
// authentication bearer required
|
|
308
|
+
// http bearer authentication required
|
|
309
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
310
|
+
case 1:
|
|
311
|
+
// authentication bearer required
|
|
312
|
+
// http bearer authentication required
|
|
313
|
+
_a.sent();
|
|
314
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
315
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
316
|
+
}
|
|
317
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
318
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
319
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
320
|
+
return [2 /*return*/, {
|
|
321
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
322
|
+
options: localVarRequestOptions,
|
|
323
|
+
}];
|
|
324
|
+
}
|
|
325
|
+
});
|
|
326
|
+
});
|
|
327
|
+
},
|
|
328
|
+
/**
|
|
329
|
+
* 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\"
|
|
286
330
|
* @summary Edit the tenant\'s SSO connection
|
|
287
331
|
* @param {string} code Connection code.
|
|
288
332
|
* @param {UpdateSsoConnectionBodyDto} updateSsoConnectionBodyDto
|
|
@@ -481,7 +525,27 @@ var SSOConnectionApiFp = function (configuration) {
|
|
|
481
525
|
});
|
|
482
526
|
},
|
|
483
527
|
/**
|
|
484
|
-
*
|
|
528
|
+
* Returns what the creation form with required data. **Required Permissions** \"tenant-management.settings.create\"
|
|
529
|
+
* @summary Read the values an SSO connection is created with
|
|
530
|
+
* @param {string} [authorization] Bearer Token
|
|
531
|
+
* @param {*} [options] Override http request option.
|
|
532
|
+
* @throws {RequiredError}
|
|
533
|
+
*/
|
|
534
|
+
getSsoConnectionSetup: function (authorization, options) {
|
|
535
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
536
|
+
var localVarAxiosArgs;
|
|
537
|
+
return __generator(this, function (_a) {
|
|
538
|
+
switch (_a.label) {
|
|
539
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getSsoConnectionSetup(authorization, options)];
|
|
540
|
+
case 1:
|
|
541
|
+
localVarAxiosArgs = _a.sent();
|
|
542
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
543
|
+
}
|
|
544
|
+
});
|
|
545
|
+
});
|
|
546
|
+
},
|
|
547
|
+
/**
|
|
548
|
+
* 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\"
|
|
485
549
|
* @summary Edit the tenant\'s SSO connection
|
|
486
550
|
* @param {string} code Connection code.
|
|
487
551
|
* @param {UpdateSsoConnectionBodyDto} updateSsoConnectionBodyDto
|
|
@@ -578,7 +642,17 @@ var SSOConnectionApiFactory = function (configuration, basePath, axios) {
|
|
|
578
642
|
return localVarFp.getSsoConnection(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
579
643
|
},
|
|
580
644
|
/**
|
|
581
|
-
*
|
|
645
|
+
* Returns what the creation form with required data. **Required Permissions** \"tenant-management.settings.create\"
|
|
646
|
+
* @summary Read the values an SSO connection is created with
|
|
647
|
+
* @param {string} [authorization] Bearer Token
|
|
648
|
+
* @param {*} [options] Override http request option.
|
|
649
|
+
* @throws {RequiredError}
|
|
650
|
+
*/
|
|
651
|
+
getSsoConnectionSetup: function (authorization, options) {
|
|
652
|
+
return localVarFp.getSsoConnectionSetup(authorization, options).then(function (request) { return request(axios, basePath); });
|
|
653
|
+
},
|
|
654
|
+
/**
|
|
655
|
+
* 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\"
|
|
582
656
|
* @summary Edit the tenant\'s SSO connection
|
|
583
657
|
* @param {string} code Connection code.
|
|
584
658
|
* @param {UpdateSsoConnectionBodyDto} updateSsoConnectionBodyDto
|
|
@@ -665,7 +739,20 @@ var SSOConnectionApi = /** @class */ (function (_super) {
|
|
|
665
739
|
return (0, exports.SSOConnectionApiFp)(this.configuration).getSsoConnection(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
666
740
|
};
|
|
667
741
|
/**
|
|
668
|
-
*
|
|
742
|
+
* Returns what the creation form with required data. **Required Permissions** \"tenant-management.settings.create\"
|
|
743
|
+
* @summary Read the values an SSO connection is created with
|
|
744
|
+
* @param {SSOConnectionApiGetSsoConnectionSetupRequest} requestParameters Request parameters.
|
|
745
|
+
* @param {*} [options] Override http request option.
|
|
746
|
+
* @throws {RequiredError}
|
|
747
|
+
* @memberof SSOConnectionApi
|
|
748
|
+
*/
|
|
749
|
+
SSOConnectionApi.prototype.getSsoConnectionSetup = function (requestParameters, options) {
|
|
750
|
+
var _this = this;
|
|
751
|
+
if (requestParameters === void 0) { requestParameters = {}; }
|
|
752
|
+
return (0, exports.SSOConnectionApiFp)(this.configuration).getSsoConnectionSetup(requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
753
|
+
};
|
|
754
|
+
/**
|
|
755
|
+
* 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\"
|
|
669
756
|
* @summary Edit the tenant\'s SSO connection
|
|
670
757
|
* @param {SSOConnectionApiUpdateSsoConnectionRequest} requestParameters Request parameters.
|
|
671
758
|
* @param {*} [options] Override http request option.
|
|
@@ -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 });
|
|
@@ -18,6 +18,12 @@ import { SsoAttributeMappingDto } from './sso-attribute-mapping-dto';
|
|
|
18
18
|
* @interface UpdateSsoConnectionBodyDto
|
|
19
19
|
*/
|
|
20
20
|
export interface UpdateSsoConnectionBodyDto {
|
|
21
|
+
/**
|
|
22
|
+
* Display name of the connection.
|
|
23
|
+
* @type {string}
|
|
24
|
+
* @memberof UpdateSsoConnectionBodyDto
|
|
25
|
+
*/
|
|
26
|
+
'name': string;
|
|
21
27
|
/**
|
|
22
28
|
* SAML details. Required for `saml` connection type.
|
|
23
29
|
* @type {SamlSsoDetailsDto}
|
|
@@ -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
|
+
|
|
@@ -23,6 +23,12 @@ import { SsoAttributeMappingDto } from './sso-attribute-mapping-dto';
|
|
|
23
23
|
* @interface UpdateSsoConnectionBodyDto
|
|
24
24
|
*/
|
|
25
25
|
export interface UpdateSsoConnectionBodyDto {
|
|
26
|
+
/**
|
|
27
|
+
* Display name of the connection.
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof UpdateSsoConnectionBodyDto
|
|
30
|
+
*/
|
|
31
|
+
'name': string;
|
|
26
32
|
/**
|
|
27
33
|
* SAML details. Required for `saml` connection type.
|
|
28
34
|
* @type {SamlSsoDetailsDto}
|