@frontegg/types 7.101.0-alpha.0 → 7.101.0-alpha.2
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/Components/ScimGuideDialog.d.ts +32 -0
- package/Components/ScimGuideDialog.js +1 -0
- package/Components/SsoGuideDialog.d.ts +3 -1
- package/Components/index.d.ts +1 -0
- package/Components/index.js +2 -1
- package/Localizations/AdminPortalLocalizations/provisioning.d.ts +4 -0
- package/index.js +1 -1
- package/node/Components/ScimGuideDialog.js +5 -0
- package/node/Components/index.js +11 -0
- package/node/index.js +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { CMCComponentProps } from './base-component';
|
|
2
|
+
export interface ScimGuideDialogProps extends CMCComponentProps<ScimGuideDialogComponentProps> {
|
|
3
|
+
}
|
|
4
|
+
export interface ScimConnectionData {
|
|
5
|
+
connectionId: string;
|
|
6
|
+
provisioningUrl: string;
|
|
7
|
+
authToken: string;
|
|
8
|
+
scimConnectionName: string;
|
|
9
|
+
}
|
|
10
|
+
export type ScimProvider = 'okta' | 'azure' | 'other';
|
|
11
|
+
export interface ScimGuideDialogComponentProps {
|
|
12
|
+
id?: string;
|
|
13
|
+
initialGuidePath?: string;
|
|
14
|
+
initialConnectionData?: ScimConnectionData;
|
|
15
|
+
onClose: (result: ScimGuideDialogResult) => void;
|
|
16
|
+
onSelectGuide?: (guidePath: string) => Promise<ScimConnectionData>;
|
|
17
|
+
getConnectionName?: (provider: ScimProvider) => string;
|
|
18
|
+
showSelector?: boolean;
|
|
19
|
+
provisioningBaseUrl?: string;
|
|
20
|
+
location?: Location;
|
|
21
|
+
}
|
|
22
|
+
export interface ScimGuideDialogResult {
|
|
23
|
+
finished: boolean;
|
|
24
|
+
connectionData?: {
|
|
25
|
+
connectionId: string;
|
|
26
|
+
provisioningUrl: string;
|
|
27
|
+
authToken: string;
|
|
28
|
+
scimConnectionName: string;
|
|
29
|
+
guidePath?: string;
|
|
30
|
+
};
|
|
31
|
+
guidePath?: string;
|
|
32
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CMCComponentProps } from './base-component';
|
|
2
|
-
import { ISSOConfiguration } from '@frontegg/redux-store';
|
|
2
|
+
import { ISSOConfiguration, ISSODomain } from '@frontegg/redux-store';
|
|
3
3
|
export interface SsoGuideDialogProps extends CMCComponentProps<SsoGuideDialogComponentProps> {
|
|
4
4
|
}
|
|
5
5
|
export interface SsoGuideDialogComponentProps {
|
|
@@ -8,9 +8,11 @@ export interface SsoGuideDialogComponentProps {
|
|
|
8
8
|
initialSsoConfiguration?: ISSOConfiguration;
|
|
9
9
|
onClose: (result: SsoGuideDialogResult) => void;
|
|
10
10
|
showSelector?: boolean;
|
|
11
|
+
location?: Location;
|
|
11
12
|
}
|
|
12
13
|
export interface SsoGuideDialogResult {
|
|
13
14
|
finished: boolean;
|
|
14
15
|
ssoConfiguration?: ISSOConfiguration;
|
|
15
16
|
guidePath?: string;
|
|
17
|
+
domains?: ISSODomain[];
|
|
16
18
|
}
|
package/Components/index.d.ts
CHANGED
package/Components/index.js
CHANGED
|
@@ -148,6 +148,10 @@ export interface ProvisioningLocalization {
|
|
|
148
148
|
* Warning to show when SCIM guide configuration is not completed
|
|
149
149
|
*/
|
|
150
150
|
scimGuideNotCompleted: string;
|
|
151
|
+
/**
|
|
152
|
+
* Select provider guide text
|
|
153
|
+
*/
|
|
154
|
+
selectProviderGuide: string;
|
|
151
155
|
};
|
|
152
156
|
provisioning_deleteConnectionDialog: {
|
|
153
157
|
/**
|
package/index.js
CHANGED
package/node/Components/index.js
CHANGED
|
@@ -90,4 +90,15 @@ Object.keys(_SsoGuideDialog).forEach(function (key) {
|
|
|
90
90
|
return _SsoGuideDialog[key];
|
|
91
91
|
}
|
|
92
92
|
});
|
|
93
|
+
});
|
|
94
|
+
var _ScimGuideDialog = require("./ScimGuideDialog");
|
|
95
|
+
Object.keys(_ScimGuideDialog).forEach(function (key) {
|
|
96
|
+
if (key === "default" || key === "__esModule") return;
|
|
97
|
+
if (key in exports && exports[key] === _ScimGuideDialog[key]) return;
|
|
98
|
+
Object.defineProperty(exports, key, {
|
|
99
|
+
enumerable: true,
|
|
100
|
+
get: function () {
|
|
101
|
+
return _ScimGuideDialog[key];
|
|
102
|
+
}
|
|
103
|
+
});
|
|
93
104
|
});
|
package/node/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@frontegg/types",
|
|
3
|
-
"version": "7.101.0-alpha.
|
|
3
|
+
"version": "7.101.0-alpha.2",
|
|
4
4
|
"main": "./node/index.js",
|
|
5
5
|
"author": "Frontegg LTD",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"dependencies": {
|
|
8
8
|
"@babel/runtime": "^7.18.6",
|
|
9
|
-
"@frontegg/redux-store": "7.101.0-alpha.
|
|
9
|
+
"@frontegg/redux-store": "7.101.0-alpha.2",
|
|
10
10
|
"csstype": "^3.0.9",
|
|
11
11
|
"deepmerge": "^4.2.2"
|
|
12
12
|
},
|