@emilgroup/tenant-sdk-node 1.39.1-beta.21 → 1.39.1-beta.22

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.
Files changed (39) hide show
  1. package/.openapi-generator/FILES +10 -0
  2. package/README.md +2 -2
  3. package/api/ssoconnection-api.ts +169 -0
  4. package/api.ts +2 -0
  5. package/dist/api/ssoconnection-api.d.ts +97 -0
  6. package/dist/api/ssoconnection-api.js +228 -0
  7. package/dist/api.d.ts +1 -0
  8. package/dist/api.js +1 -0
  9. package/dist/models/create-sso-connection-request-dto.d.ts +66 -0
  10. package/dist/models/create-sso-connection-request-dto.js +23 -0
  11. package/dist/models/create-sso-connection-response-class.d.ts +25 -0
  12. package/dist/models/create-sso-connection-response-class.js +15 -0
  13. package/dist/models/index.d.ts +9 -0
  14. package/dist/models/index.js +9 -0
  15. package/dist/models/oidc-sso-details-input-dto.d.ts +36 -0
  16. package/dist/models/oidc-sso-details-input-dto.js +15 -0
  17. package/dist/models/saml-sso-details-dto.d.ts +24 -0
  18. package/dist/models/saml-sso-details-dto.js +15 -0
  19. package/dist/models/shared-oidc-sso-details-class.d.ts +30 -0
  20. package/dist/models/shared-oidc-sso-details-class.js +15 -0
  21. package/dist/models/shared-saml-sso-details-class.d.ts +24 -0
  22. package/dist/models/shared-saml-sso-details-class.js +15 -0
  23. package/dist/models/shared-sso-attribute-mapping-class.d.ts +30 -0
  24. package/dist/models/shared-sso-attribute-mapping-class.js +15 -0
  25. package/dist/models/sso-attribute-mapping-dto.d.ts +30 -0
  26. package/dist/models/sso-attribute-mapping-dto.js +15 -0
  27. package/dist/models/sso-connection-class.d.ts +102 -0
  28. package/dist/models/sso-connection-class.js +23 -0
  29. package/models/create-sso-connection-request-dto.ts +76 -0
  30. package/models/create-sso-connection-response-class.ts +31 -0
  31. package/models/index.ts +9 -0
  32. package/models/oidc-sso-details-input-dto.ts +42 -0
  33. package/models/saml-sso-details-dto.ts +30 -0
  34. package/models/shared-oidc-sso-details-class.ts +36 -0
  35. package/models/shared-saml-sso-details-class.ts +30 -0
  36. package/models/shared-sso-attribute-mapping-class.ts +36 -0
  37. package/models/sso-attribute-mapping-dto.ts +36 -0
  38. package/models/sso-connection-class.ts +112 -0
  39. package/package.json +1 -1
@@ -0,0 +1,23 @@
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 });
16
+ exports.CreateSsoConnectionRequestDtoProviderEnum = exports.CreateSsoConnectionRequestDtoProtocolEnum = void 0;
17
+ exports.CreateSsoConnectionRequestDtoProtocolEnum = {
18
+ Saml: 'saml',
19
+ Oidc: 'oidc'
20
+ };
21
+ exports.CreateSsoConnectionRequestDtoProviderEnum = {
22
+ Microsoft: 'microsoft'
23
+ };
@@ -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 { SsoConnectionClass } from './sso-connection-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface CreateSsoConnectionResponseClass
17
+ */
18
+ export interface CreateSsoConnectionResponseClass {
19
+ /**
20
+ *
21
+ * @type {SsoConnectionClass}
22
+ * @memberof CreateSsoConnectionResponseClass
23
+ */
24
+ 'ssoConnection': SsoConnectionClass;
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 });
@@ -21,6 +21,8 @@ export * from './create-organization-migration-response-class';
21
21
  export * from './create-report-schedule-request-dto';
22
22
  export * from './create-report-schedule-response-class';
23
23
  export * from './create-resources-migration-request-dto';
24
+ export * from './create-sso-connection-request-dto';
25
+ export * from './create-sso-connection-response-class';
24
26
  export * from './create-tenant-request-dto';
25
27
  export * from './create-user-group-request-dto';
26
28
  export * from './create-user-group-response-class';
@@ -81,6 +83,7 @@ export * from './list-roles-response-class';
81
83
  export * from './list-user-group-members-response-class';
82
84
  export * from './list-user-groups-response-class';
83
85
  export * from './list-users-response-class';
86
+ export * from './oidc-sso-details-input-dto';
84
87
  export * from './org-invitation-class';
85
88
  export * from './org-invitation-response-class';
86
89
  export * from './organization-class';
@@ -101,10 +104,16 @@ export * from './revert-organization-migration-response-class';
101
104
  export * from './role-class';
102
105
  export * from './run-data-report-request-dto';
103
106
  export * from './run-data-report-response-class';
107
+ export * from './saml-sso-details-dto';
104
108
  export * from './set-setting-grpc-request-dto';
105
109
  export * from './set-setting-request-dto';
106
110
  export * from './set-tenant-setting-response-class';
107
111
  export * from './set-user-setting-response-class';
112
+ export * from './shared-oidc-sso-details-class';
113
+ export * from './shared-saml-sso-details-class';
114
+ export * from './shared-sso-attribute-mapping-class';
115
+ export * from './sso-attribute-mapping-dto';
116
+ export * from './sso-connection-class';
108
117
  export * from './subscription-class';
109
118
  export * from './tenant-admin-user-dto';
110
119
  export * from './tenant-settings-class';
@@ -37,6 +37,8 @@ __exportStar(require("./create-organization-migration-response-class"), exports)
37
37
  __exportStar(require("./create-report-schedule-request-dto"), exports);
38
38
  __exportStar(require("./create-report-schedule-response-class"), exports);
39
39
  __exportStar(require("./create-resources-migration-request-dto"), exports);
40
+ __exportStar(require("./create-sso-connection-request-dto"), exports);
41
+ __exportStar(require("./create-sso-connection-response-class"), exports);
40
42
  __exportStar(require("./create-tenant-request-dto"), exports);
41
43
  __exportStar(require("./create-user-group-request-dto"), exports);
42
44
  __exportStar(require("./create-user-group-response-class"), exports);
@@ -97,6 +99,7 @@ __exportStar(require("./list-roles-response-class"), exports);
97
99
  __exportStar(require("./list-user-group-members-response-class"), exports);
98
100
  __exportStar(require("./list-user-groups-response-class"), exports);
99
101
  __exportStar(require("./list-users-response-class"), exports);
102
+ __exportStar(require("./oidc-sso-details-input-dto"), exports);
100
103
  __exportStar(require("./org-invitation-class"), exports);
101
104
  __exportStar(require("./org-invitation-response-class"), exports);
102
105
  __exportStar(require("./organization-class"), exports);
@@ -117,10 +120,16 @@ __exportStar(require("./revert-organization-migration-response-class"), exports)
117
120
  __exportStar(require("./role-class"), exports);
118
121
  __exportStar(require("./run-data-report-request-dto"), exports);
119
122
  __exportStar(require("./run-data-report-response-class"), exports);
123
+ __exportStar(require("./saml-sso-details-dto"), exports);
120
124
  __exportStar(require("./set-setting-grpc-request-dto"), exports);
121
125
  __exportStar(require("./set-setting-request-dto"), exports);
122
126
  __exportStar(require("./set-tenant-setting-response-class"), exports);
123
127
  __exportStar(require("./set-user-setting-response-class"), exports);
128
+ __exportStar(require("./shared-oidc-sso-details-class"), exports);
129
+ __exportStar(require("./shared-saml-sso-details-class"), exports);
130
+ __exportStar(require("./shared-sso-attribute-mapping-class"), exports);
131
+ __exportStar(require("./sso-attribute-mapping-dto"), exports);
132
+ __exportStar(require("./sso-connection-class"), exports);
124
133
  __exportStar(require("./subscription-class"), exports);
125
134
  __exportStar(require("./tenant-admin-user-dto"), exports);
126
135
  __exportStar(require("./tenant-settings-class"), exports);
@@ -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 OidcSsoDetailsInputDto
16
+ */
17
+ export interface OidcSsoDetailsInputDto {
18
+ /**
19
+ * Issuer / discovery URL. Must be https and must be reachable.
20
+ * @type {string}
21
+ * @memberof OidcSsoDetailsInputDto
22
+ */
23
+ 'issuerUrl': string;
24
+ /**
25
+ * Application (client) id of the identity provider app.
26
+ * @type {string}
27
+ * @memberof OidcSsoDetailsInputDto
28
+ */
29
+ 'clientId': string;
30
+ /**
31
+ * Client secret. Write-only: stored encrypted by the setting service and never returned by any endpoint.
32
+ * @type {string}
33
+ * @memberof OidcSsoDetailsInputDto
34
+ */
35
+ 'clientSecret': string;
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,24 @@
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 SamlSsoDetailsDto
16
+ */
17
+ export interface SamlSsoDetailsDto {
18
+ /**
19
+ * Identity provider metadata URL. Must be https and must be reachable.
20
+ * @type {string}
21
+ * @memberof SamlSsoDetailsDto
22
+ */
23
+ 'metadataUrl': string;
24
+ }
@@ -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,30 @@
1
+ /**
2
+ * EMIL Tenant Service
3
+ * The EMIL TenantService API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface SharedOidcSsoDetailsClass
16
+ */
17
+ export interface SharedOidcSsoDetailsClass {
18
+ /**
19
+ * Issuer / discovery URL.
20
+ * @type {string}
21
+ * @memberof SharedOidcSsoDetailsClass
22
+ */
23
+ 'issuerUrl': string;
24
+ /**
25
+ * Application (client) id.
26
+ * @type {string}
27
+ * @memberof SharedOidcSsoDetailsClass
28
+ */
29
+ 'clientId': string;
30
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL Tenant Service
6
+ * The EMIL TenantService API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: kontakt@emil.de
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,24 @@
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 SharedSamlSsoDetailsClass
16
+ */
17
+ export interface SharedSamlSsoDetailsClass {
18
+ /**
19
+ * Identity provider metadata URL.
20
+ * @type {string}
21
+ * @memberof SharedSamlSsoDetailsClass
22
+ */
23
+ 'metadataUrl': string;
24
+ }
@@ -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,30 @@
1
+ /**
2
+ * EMIL Tenant Service
3
+ * The EMIL TenantService API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface SharedSsoAttributeMappingClass
16
+ */
17
+ export interface SharedSsoAttributeMappingClass {
18
+ /**
19
+ * EIS attribute the claim feeds.
20
+ * @type {string}
21
+ * @memberof SharedSsoAttributeMappingClass
22
+ */
23
+ 'eisAttribute': string;
24
+ /**
25
+ * Claim the identity provider emits.
26
+ * @type {string}
27
+ * @memberof SharedSsoAttributeMappingClass
28
+ */
29
+ 'idpAttribute': string;
30
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL Tenant Service
6
+ * The EMIL TenantService API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: kontakt@emil.de
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,30 @@
1
+ /**
2
+ * EMIL Tenant Service
3
+ * The EMIL TenantService API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface SsoAttributeMappingDto
16
+ */
17
+ export interface SsoAttributeMappingDto {
18
+ /**
19
+ * EIS attribute the claim feeds. `email`, `firstName` and `lastName` map onto the standard Cognito attributes; any other name becomes `custom:<name>`.
20
+ * @type {string}
21
+ * @memberof SsoAttributeMappingDto
22
+ */
23
+ 'eisAttribute': string;
24
+ /**
25
+ * Claim the identity provider emits.
26
+ * @type {string}
27
+ * @memberof SsoAttributeMappingDto
28
+ */
29
+ 'idpAttribute': string;
30
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL Tenant Service
6
+ * The EMIL TenantService API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: kontakt@emil.de
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,102 @@
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 { SharedOidcSsoDetailsClass } from './shared-oidc-sso-details-class';
13
+ import { SharedSamlSsoDetailsClass } from './shared-saml-sso-details-class';
14
+ import { SharedSsoAttributeMappingClass } from './shared-sso-attribute-mapping-class';
15
+ /**
16
+ *
17
+ * @export
18
+ * @interface SsoConnectionClass
19
+ */
20
+ export interface SsoConnectionClass {
21
+ /**
22
+ * Auto-generated immutable identifier. Used for cross-service references.
23
+ * @type {string}
24
+ * @memberof SsoConnectionClass
25
+ */
26
+ 'code': string;
27
+ /**
28
+ * Display name.
29
+ * @type {string}
30
+ * @memberof SsoConnectionClass
31
+ */
32
+ 'name': string;
33
+ /**
34
+ * Protocol the identity provider federates with.
35
+ * @type {string}
36
+ * @memberof SsoConnectionClass
37
+ */
38
+ 'protocol': SsoConnectionClassProtocolEnum;
39
+ /**
40
+ * Identity provider vendor.
41
+ * @type {string}
42
+ * @memberof SsoConnectionClass
43
+ */
44
+ 'provider': SsoConnectionClassProviderEnum;
45
+ /**
46
+ * SAML details. Set when `protocol` is `saml`.
47
+ * @type {SharedSamlSsoDetailsClass}
48
+ * @memberof SsoConnectionClass
49
+ */
50
+ 'saml'?: SharedSamlSsoDetailsClass;
51
+ /**
52
+ * OIDC details. Set when `protocol` is `oidc`. Never carries the client secret.
53
+ * @type {SharedOidcSsoDetailsClass}
54
+ * @memberof SsoConnectionClass
55
+ */
56
+ 'oidc'?: SharedOidcSsoDetailsClass;
57
+ /**
58
+ * Identity provider claims mapped onto EIS attributes.
59
+ * @type {Array<SharedSsoAttributeMappingClass>}
60
+ * @memberof SsoConnectionClass
61
+ */
62
+ 'attributeMapping': Array<SharedSsoAttributeMappingClass>;
63
+ /**
64
+ * Whether the SSO login button is live for end users. A new connection is always inactive.
65
+ * @type {boolean}
66
+ * @memberof SsoConnectionClass
67
+ */
68
+ 'isActive': boolean;
69
+ /**
70
+ * Time at which the object was created.
71
+ * @type {string}
72
+ * @memberof SsoConnectionClass
73
+ */
74
+ 'createdAt': string;
75
+ /**
76
+ * Time at which the object was updated.
77
+ * @type {string}
78
+ * @memberof SsoConnectionClass
79
+ */
80
+ 'updatedAt': string;
81
+ /**
82
+ * Identifier of the user who created the record.
83
+ * @type {string}
84
+ * @memberof SsoConnectionClass
85
+ */
86
+ 'createdBy': string;
87
+ /**
88
+ * Identifier of the user who last updated the record.
89
+ * @type {string}
90
+ * @memberof SsoConnectionClass
91
+ */
92
+ 'updatedBy': string;
93
+ }
94
+ export declare const SsoConnectionClassProtocolEnum: {
95
+ readonly Saml: "saml";
96
+ readonly Oidc: "oidc";
97
+ };
98
+ export type SsoConnectionClassProtocolEnum = typeof SsoConnectionClassProtocolEnum[keyof typeof SsoConnectionClassProtocolEnum];
99
+ export declare const SsoConnectionClassProviderEnum: {
100
+ readonly Microsoft: "microsoft";
101
+ };
102
+ export type SsoConnectionClassProviderEnum = typeof SsoConnectionClassProviderEnum[keyof typeof SsoConnectionClassProviderEnum];
@@ -0,0 +1,23 @@
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 });
16
+ exports.SsoConnectionClassProviderEnum = exports.SsoConnectionClassProtocolEnum = void 0;
17
+ exports.SsoConnectionClassProtocolEnum = {
18
+ Saml: 'saml',
19
+ Oidc: 'oidc'
20
+ };
21
+ exports.SsoConnectionClassProviderEnum = {
22
+ Microsoft: 'microsoft'
23
+ };
@@ -0,0 +1,76 @@
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 { OidcSsoDetailsInputDto } from './oidc-sso-details-input-dto';
17
+ import { SamlSsoDetailsDto } from './saml-sso-details-dto';
18
+ import { SsoAttributeMappingDto } from './sso-attribute-mapping-dto';
19
+
20
+ /**
21
+ *
22
+ * @export
23
+ * @interface CreateSsoConnectionRequestDto
24
+ */
25
+ export interface CreateSsoConnectionRequestDto {
26
+ /**
27
+ * Display name of the connection.
28
+ * @type {string}
29
+ * @memberof CreateSsoConnectionRequestDto
30
+ */
31
+ 'name': string;
32
+ /**
33
+ * Protocol the identity provider federates with. Fixed for the lifetime of the connection.
34
+ * @type {string}
35
+ * @memberof CreateSsoConnectionRequestDto
36
+ */
37
+ 'protocol': CreateSsoConnectionRequestDtoProtocolEnum;
38
+ /**
39
+ * Identity provider vendor.
40
+ * @type {string}
41
+ * @memberof CreateSsoConnectionRequestDto
42
+ */
43
+ 'provider': CreateSsoConnectionRequestDtoProviderEnum;
44
+ /**
45
+ * SAML details. Required when `protocol` is `saml`.
46
+ * @type {SamlSsoDetailsDto}
47
+ * @memberof CreateSsoConnectionRequestDto
48
+ */
49
+ 'saml'?: SamlSsoDetailsDto;
50
+ /**
51
+ * OIDC details. Required when `protocol` is `oidc`.
52
+ * @type {OidcSsoDetailsInputDto}
53
+ * @memberof CreateSsoConnectionRequestDto
54
+ */
55
+ 'oidc'?: OidcSsoDetailsInputDto;
56
+ /**
57
+ * Identity provider claims mapped onto EIS attributes. An `email` mapping is mandatory.
58
+ * @type {Array<SsoAttributeMappingDto>}
59
+ * @memberof CreateSsoConnectionRequestDto
60
+ */
61
+ 'attributeMapping': Array<SsoAttributeMappingDto>;
62
+ }
63
+
64
+ export const CreateSsoConnectionRequestDtoProtocolEnum = {
65
+ Saml: 'saml',
66
+ Oidc: 'oidc'
67
+ } as const;
68
+
69
+ export type CreateSsoConnectionRequestDtoProtocolEnum = typeof CreateSsoConnectionRequestDtoProtocolEnum[keyof typeof CreateSsoConnectionRequestDtoProtocolEnum];
70
+ export const CreateSsoConnectionRequestDtoProviderEnum = {
71
+ Microsoft: 'microsoft'
72
+ } as const;
73
+
74
+ export type CreateSsoConnectionRequestDtoProviderEnum = typeof CreateSsoConnectionRequestDtoProviderEnum[keyof typeof CreateSsoConnectionRequestDtoProviderEnum];
75
+
76
+
@@ -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 { SsoConnectionClass } from './sso-connection-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface CreateSsoConnectionResponseClass
22
+ */
23
+ export interface CreateSsoConnectionResponseClass {
24
+ /**
25
+ *
26
+ * @type {SsoConnectionClass}
27
+ * @memberof CreateSsoConnectionResponseClass
28
+ */
29
+ 'ssoConnection': SsoConnectionClass;
30
+ }
31
+