@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
package/models/index.ts CHANGED
@@ -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';
@@ -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 OidcSsoDetailsInputDto
21
+ */
22
+ export interface OidcSsoDetailsInputDto {
23
+ /**
24
+ * Issuer / discovery URL. Must be https and must be reachable.
25
+ * @type {string}
26
+ * @memberof OidcSsoDetailsInputDto
27
+ */
28
+ 'issuerUrl': string;
29
+ /**
30
+ * Application (client) id of the identity provider app.
31
+ * @type {string}
32
+ * @memberof OidcSsoDetailsInputDto
33
+ */
34
+ 'clientId': string;
35
+ /**
36
+ * Client secret. Write-only: stored encrypted by the setting service and never returned by any endpoint.
37
+ * @type {string}
38
+ * @memberof OidcSsoDetailsInputDto
39
+ */
40
+ 'clientSecret': string;
41
+ }
42
+
@@ -0,0 +1,30 @@
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 SamlSsoDetailsDto
21
+ */
22
+ export interface SamlSsoDetailsDto {
23
+ /**
24
+ * Identity provider metadata URL. Must be https and must be reachable.
25
+ * @type {string}
26
+ * @memberof SamlSsoDetailsDto
27
+ */
28
+ 'metadataUrl': string;
29
+ }
30
+
@@ -0,0 +1,36 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL Tenant Service
5
+ * The EMIL TenantService API description
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+
17
+ /**
18
+ *
19
+ * @export
20
+ * @interface SharedOidcSsoDetailsClass
21
+ */
22
+ export interface SharedOidcSsoDetailsClass {
23
+ /**
24
+ * Issuer / discovery URL.
25
+ * @type {string}
26
+ * @memberof SharedOidcSsoDetailsClass
27
+ */
28
+ 'issuerUrl': string;
29
+ /**
30
+ * Application (client) id.
31
+ * @type {string}
32
+ * @memberof SharedOidcSsoDetailsClass
33
+ */
34
+ 'clientId': string;
35
+ }
36
+
@@ -0,0 +1,30 @@
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 SharedSamlSsoDetailsClass
21
+ */
22
+ export interface SharedSamlSsoDetailsClass {
23
+ /**
24
+ * Identity provider metadata URL.
25
+ * @type {string}
26
+ * @memberof SharedSamlSsoDetailsClass
27
+ */
28
+ 'metadataUrl': string;
29
+ }
30
+
@@ -0,0 +1,36 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL Tenant Service
5
+ * The EMIL TenantService API description
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+
17
+ /**
18
+ *
19
+ * @export
20
+ * @interface SharedSsoAttributeMappingClass
21
+ */
22
+ export interface SharedSsoAttributeMappingClass {
23
+ /**
24
+ * EIS attribute the claim feeds.
25
+ * @type {string}
26
+ * @memberof SharedSsoAttributeMappingClass
27
+ */
28
+ 'eisAttribute': string;
29
+ /**
30
+ * Claim the identity provider emits.
31
+ * @type {string}
32
+ * @memberof SharedSsoAttributeMappingClass
33
+ */
34
+ 'idpAttribute': string;
35
+ }
36
+
@@ -0,0 +1,36 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL Tenant Service
5
+ * The EMIL TenantService API description
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+
17
+ /**
18
+ *
19
+ * @export
20
+ * @interface SsoAttributeMappingDto
21
+ */
22
+ export interface SsoAttributeMappingDto {
23
+ /**
24
+ * EIS attribute the claim feeds. `email`, `firstName` and `lastName` map onto the standard Cognito attributes; any other name becomes `custom:<name>`.
25
+ * @type {string}
26
+ * @memberof SsoAttributeMappingDto
27
+ */
28
+ 'eisAttribute': string;
29
+ /**
30
+ * Claim the identity provider emits.
31
+ * @type {string}
32
+ * @memberof SsoAttributeMappingDto
33
+ */
34
+ 'idpAttribute': string;
35
+ }
36
+
@@ -0,0 +1,112 @@
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 { SharedOidcSsoDetailsClass } from './shared-oidc-sso-details-class';
17
+ import { SharedSamlSsoDetailsClass } from './shared-saml-sso-details-class';
18
+ import { SharedSsoAttributeMappingClass } from './shared-sso-attribute-mapping-class';
19
+
20
+ /**
21
+ *
22
+ * @export
23
+ * @interface SsoConnectionClass
24
+ */
25
+ export interface SsoConnectionClass {
26
+ /**
27
+ * Auto-generated immutable identifier. Used for cross-service references.
28
+ * @type {string}
29
+ * @memberof SsoConnectionClass
30
+ */
31
+ 'code': string;
32
+ /**
33
+ * Display name.
34
+ * @type {string}
35
+ * @memberof SsoConnectionClass
36
+ */
37
+ 'name': string;
38
+ /**
39
+ * Protocol the identity provider federates with.
40
+ * @type {string}
41
+ * @memberof SsoConnectionClass
42
+ */
43
+ 'protocol': SsoConnectionClassProtocolEnum;
44
+ /**
45
+ * Identity provider vendor.
46
+ * @type {string}
47
+ * @memberof SsoConnectionClass
48
+ */
49
+ 'provider': SsoConnectionClassProviderEnum;
50
+ /**
51
+ * SAML details. Set when `protocol` is `saml`.
52
+ * @type {SharedSamlSsoDetailsClass}
53
+ * @memberof SsoConnectionClass
54
+ */
55
+ 'saml'?: SharedSamlSsoDetailsClass;
56
+ /**
57
+ * OIDC details. Set when `protocol` is `oidc`. Never carries the client secret.
58
+ * @type {SharedOidcSsoDetailsClass}
59
+ * @memberof SsoConnectionClass
60
+ */
61
+ 'oidc'?: SharedOidcSsoDetailsClass;
62
+ /**
63
+ * Identity provider claims mapped onto EIS attributes.
64
+ * @type {Array<SharedSsoAttributeMappingClass>}
65
+ * @memberof SsoConnectionClass
66
+ */
67
+ 'attributeMapping': Array<SharedSsoAttributeMappingClass>;
68
+ /**
69
+ * Whether the SSO login button is live for end users. A new connection is always inactive.
70
+ * @type {boolean}
71
+ * @memberof SsoConnectionClass
72
+ */
73
+ 'isActive': boolean;
74
+ /**
75
+ * Time at which the object was created.
76
+ * @type {string}
77
+ * @memberof SsoConnectionClass
78
+ */
79
+ 'createdAt': string;
80
+ /**
81
+ * Time at which the object was updated.
82
+ * @type {string}
83
+ * @memberof SsoConnectionClass
84
+ */
85
+ 'updatedAt': string;
86
+ /**
87
+ * Identifier of the user who created the record.
88
+ * @type {string}
89
+ * @memberof SsoConnectionClass
90
+ */
91
+ 'createdBy': string;
92
+ /**
93
+ * Identifier of the user who last updated the record.
94
+ * @type {string}
95
+ * @memberof SsoConnectionClass
96
+ */
97
+ 'updatedBy': string;
98
+ }
99
+
100
+ export const SsoConnectionClassProtocolEnum = {
101
+ Saml: 'saml',
102
+ Oidc: 'oidc'
103
+ } as const;
104
+
105
+ export type SsoConnectionClassProtocolEnum = typeof SsoConnectionClassProtocolEnum[keyof typeof SsoConnectionClassProtocolEnum];
106
+ export const SsoConnectionClassProviderEnum = {
107
+ Microsoft: 'microsoft'
108
+ } as const;
109
+
110
+ export type SsoConnectionClassProviderEnum = typeof SsoConnectionClassProviderEnum[keyof typeof SsoConnectionClassProviderEnum];
111
+
112
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/tenant-sdk-node",
3
- "version": "1.39.1-beta.21",
3
+ "version": "1.39.1-beta.22",
4
4
  "description": "OpenAPI client for @emilgroup/tenant-sdk-node",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [