@frontegg/types 6.185.0 → 6.186.0-alpha.1
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/FronteggAppInstance.d.ts +2 -2
- package/FronteggMetadata.d.ts +1 -1
- package/Localizations/AdminPortalLocalizations/accountSettings.d.ts +16 -0
- package/Localizations/AdminPortalLocalizations/profile.d.ts +8 -0
- package/Localizations/AdminPortalLocalizations/users.d.ts +71 -0
- package/ShowAdminPortalOptions.d.ts +3 -0
- package/ShowAdminPortalOptions.js +1 -0
- package/ThemeOptions/AdminPortalThemeOptions.d.ts +6 -0
- package/index.d.ts +1 -0
- package/index.js +2 -1
- package/node/ShowAdminPortalOptions.js +5 -0
- package/node/index.js +12 -1
- package/package.json +2 -2
package/FronteggAppInstance.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EnhancedStore } from '@frontegg/redux-store';
|
|
2
|
-
import { FronteggAppOptions, FronteggCheckoutDialogOptions, LocalizationsOverrides } from './index';
|
|
2
|
+
import { FronteggAppOptions, FronteggCheckoutDialogOptions, LocalizationsOverrides, ShowAdminPortalOptions } from './index';
|
|
3
3
|
export interface FronteggAppInstance {
|
|
4
4
|
name: string;
|
|
5
5
|
iframeRendering: boolean;
|
|
@@ -15,7 +15,7 @@ export interface FronteggAppInstance {
|
|
|
15
15
|
options: FronteggAppOptions;
|
|
16
16
|
updateMetadata: (metadata: FronteggAppOptions['metadata']) => void;
|
|
17
17
|
updateLocalizationsSetter: (localizationUpdateFn: (localizations: LocalizationsOverrides) => void) => void;
|
|
18
|
-
showAdminPortal: () => void;
|
|
18
|
+
showAdminPortal: (options?: ShowAdminPortalOptions) => void;
|
|
19
19
|
hideAdminPortal: () => void;
|
|
20
20
|
showCheckoutDialog: (opts: FronteggCheckoutDialogOptions) => void;
|
|
21
21
|
hideCheckoutDialog: () => void;
|
package/FronteggMetadata.d.ts
CHANGED
|
@@ -74,5 +74,5 @@ export declare type FronteggMetadata = {
|
|
|
74
74
|
export declare type SubscriptionRolePermissions = 'fe.subscriptions.*' | 'fe.subscriptions.read.*' | 'fe.subscriptions.write.*';
|
|
75
75
|
export declare type GroupsRolePermissions = 'fe.secure.delete.groups' | 'fe.secure.delete.groupsUsers' | 'fe.secure.read.groups' | 'fe.secure.write.groups' | 'fe.secure.write.groupsRoles' | 'fe.secure.write.groupsUsers';
|
|
76
76
|
export declare type AllAccountsPermissions = 'fe.account-hierarchy.write.subAccount' | 'fe.account-hierarchy.write.subAccountAccess' | 'fe.account-hierarchy.read.subAccount' | 'fe.account-hierarchy.delete.subAccount';
|
|
77
|
-
export declare type RolePermission = 'fe.connectivity.*' | 'fe.connectivity.delete.*' | 'fe.connectivity.delete.bellNotifications' | 'fe.connectivity.delete.emailConfig' | 'fe.connectivity.delete.slackAppRegistration' | 'fe.connectivity.delete.slackSubscriptionEvent' | 'fe.connectivity.delete.slackSubscriptions' | 'fe.connectivity.delete.smsConfig' | 'fe.connectivity.delete.webhook' | 'fe.connectivity.read.*' | 'fe.connectivity.read.emailConfig' | 'fe.connectivity.read.eventCategories' | 'fe.connectivity.read.events' | 'fe.connectivity.read.slackApp' | 'fe.connectivity.read.slackChannels' | 'fe.connectivity.read.slackSubscriptions' | 'fe.connectivity.read.slackUsers' | 'fe.connectivity.read.smsConfig' | 'fe.connectivity.read.userBellNotifications' | 'fe.connectivity.read.webhookLogs' | 'fe.connectivity.read.webhooks' | 'fe.connectivity.write.*' | 'fe.connectivity.write.emailConfig' | 'fe.connectivity.write.sendWebpushNotification' | 'fe.connectivity.write.slackAppRegistration' | 'fe.connectivity.write.slackSubscriptions' | 'fe.connectivity.write.smsConfig' | 'fe.connectivity.write.subscribeWebpush' | 'fe.connectivity.write.triggerEvent' | 'fe.connectivity.write.updateSlackSubscription' | 'fe.connectivity.write.updateUserBellNotification' | 'fe.connectivity.write.webhook' | 'fe.secure.*' | 'fe.secure.delete.*' | 'fe.secure.delete.sessions' | 'fe.secure.delete.role' | 'fe.secure.delete.samlConfiguration' | 'fe.secure.delete.securityPolicy' | 'fe.secure.delete.tenantApiTokens' | 'fe.secure.delete.userApiTokens' | 'fe.secure.delete.users' | 'fe.secure.delete.usersRoles' | 'fe.secure.read.*' | 'fe.secure.read.accountSettings' | 'fe.secure.read.permissions' | 'fe.secure.read.roles' | 'fe.secure.read.samlConfiguration' | 'fe.secure.read.securityPolicy' | 'fe.secure.read.tenantApiTokens' | 'fe.secure.read.userApiTokens' | 'fe.secure.read.users' | 'fe.secure.read.userSubTenants' | 'fe.secure.write.userSubTenants' | 'fe.secure.write.*' | 'fe.secure.write.accountSettings' | 'fe.secure.write.resendActivationEmail' | 'fe.secure.write.roles' | 'fe.secure.write.samlConfiguration' | 'fe.secure.write.securityPolicy' | 'fe.secure.write.tenantApiTokens' | 'fe.secure.write.updateRole' | 'fe.secure.write.updateUser' | 'fe.secure.write.userApiTokens' | 'fe.secure.write.users' | 'fe.secure.write.usersRoles' | 'fe.secure.write.tenantInvites' | 'fe.secure.delete.tenantInvites' | 'fe.subscriptions.*' | 'fe.subscriptions.read.*' | 'fe.subscriptions.write.*' | 'fe.account-settings.delete.account' | 'fe.secure.read.audits' | 'fe.usage.read' | 'fe.secure.delete.ipRestrictions' | 'fe.secure.write.ipRestrictions' | 'fe.secure.read.ipRestrictions' | 'fe.secure.delete.emailDomainRestrictions' | 'fe.secure.write.emailDomainRestrictions' | 'fe.secure.read.emailDomainRestrictions' | 'fe.secure.read.provisioningConfiguration' | 'fe.secure.write.provisioningConfiguration' | 'fe.secure.delete.provisioningConfiguration' | 'fe.account-settings.write.custom-login-box' | AllAccountsPermissions | SubscriptionRolePermissions | GroupsRolePermissions;
|
|
77
|
+
export declare type RolePermission = 'fe.connectivity.*' | 'fe.connectivity.delete.*' | 'fe.connectivity.delete.bellNotifications' | 'fe.connectivity.delete.emailConfig' | 'fe.connectivity.delete.slackAppRegistration' | 'fe.connectivity.delete.slackSubscriptionEvent' | 'fe.connectivity.delete.slackSubscriptions' | 'fe.connectivity.delete.smsConfig' | 'fe.connectivity.delete.webhook' | 'fe.connectivity.read.*' | 'fe.connectivity.read.emailConfig' | 'fe.connectivity.read.eventCategories' | 'fe.connectivity.read.events' | 'fe.connectivity.read.slackApp' | 'fe.connectivity.read.slackChannels' | 'fe.connectivity.read.slackSubscriptions' | 'fe.connectivity.read.slackUsers' | 'fe.connectivity.read.smsConfig' | 'fe.connectivity.read.userBellNotifications' | 'fe.connectivity.read.webhookLogs' | 'fe.connectivity.read.webhooks' | 'fe.connectivity.write.*' | 'fe.connectivity.write.emailConfig' | 'fe.connectivity.write.sendWebpushNotification' | 'fe.connectivity.write.slackAppRegistration' | 'fe.connectivity.write.slackSubscriptions' | 'fe.connectivity.write.smsConfig' | 'fe.connectivity.write.subscribeWebpush' | 'fe.connectivity.write.triggerEvent' | 'fe.connectivity.write.updateSlackSubscription' | 'fe.connectivity.write.updateUserBellNotification' | 'fe.connectivity.write.webhook' | 'fe.secure.*' | 'fe.secure.delete.*' | 'fe.secure.delete.sessions' | 'fe.secure.delete.role' | 'fe.secure.delete.samlConfiguration' | 'fe.secure.delete.securityPolicy' | 'fe.secure.delete.tenantApiTokens' | 'fe.secure.delete.userApiTokens' | 'fe.secure.delete.users' | 'fe.secure.delete.usersRoles' | 'fe.secure.read.*' | 'fe.secure.read.accountSettings' | 'fe.secure.read.permissions' | 'fe.secure.read.roles' | 'fe.secure.read.samlConfiguration' | 'fe.secure.read.securityPolicy' | 'fe.secure.read.tenantApiTokens' | 'fe.secure.read.userApiTokens' | 'fe.secure.read.users' | 'fe.secure.read.userSubTenants' | 'fe.secure.write.userSubTenants' | 'fe.secure.write.*' | 'fe.secure.write.accountSettings' | 'fe.secure.write.resendActivationEmail' | 'fe.secure.write.roles' | 'fe.secure.write.samlConfiguration' | 'fe.secure.write.securityPolicy' | 'fe.secure.write.tenantApiTokens' | 'fe.secure.write.updateRole' | 'fe.secure.write.updateUser' | 'fe.secure.write.userApiTokens' | 'fe.secure.write.users' | 'fe.secure.write.usersRoles' | 'fe.secure.write.tenantInvites' | 'fe.secure.delete.tenantInvites' | 'fe.subscriptions.*' | 'fe.subscriptions.read.*' | 'fe.subscriptions.write.*' | 'fe.account-settings.delete.account' | 'fe.secure.read.audits' | 'fe.usage.read' | 'fe.secure.delete.ipRestrictions' | 'fe.secure.write.ipRestrictions' | 'fe.secure.read.ipRestrictions' | 'fe.secure.delete.emailDomainRestrictions' | 'fe.secure.write.emailDomainRestrictions' | 'fe.secure.read.emailDomainRestrictions' | 'fe.secure.read.provisioningConfiguration' | 'fe.secure.write.provisioningConfiguration' | 'fe.secure.delete.provisioningConfiguration' | 'fe.account-settings.write.custom-login-box' | 'fe.account-settings.read.app' | 'fe.secure.write.appsUsers' | 'fe.secure.delete.appsUsers' | AllAccountsPermissions | SubscriptionRolePermissions | GroupsRolePermissions;
|
|
78
78
|
export {};
|
|
@@ -59,6 +59,22 @@ export interface AccountSettingsLocalization {
|
|
|
59
59
|
* Text to display if all fields are hidden
|
|
60
60
|
*/
|
|
61
61
|
emptyStateText: string;
|
|
62
|
+
/**
|
|
63
|
+
* Applications section title
|
|
64
|
+
*/
|
|
65
|
+
accountApplications: string;
|
|
66
|
+
/**
|
|
67
|
+
* Redirect to app button cta
|
|
68
|
+
*/
|
|
69
|
+
open: string;
|
|
70
|
+
/**
|
|
71
|
+
* prefix for user count in the account application card
|
|
72
|
+
*/
|
|
73
|
+
usersCount: string;
|
|
74
|
+
/**
|
|
75
|
+
* suffix for user count in the account application card for default and auto-assigned apps
|
|
76
|
+
*/
|
|
77
|
+
all: string;
|
|
62
78
|
};
|
|
63
79
|
/**
|
|
64
80
|
* Account settings edit Address Dialog strings
|
|
@@ -68,6 +68,14 @@ export interface ProfileLocalization {
|
|
|
68
68
|
* Profile page edit avatar button aria label
|
|
69
69
|
*/
|
|
70
70
|
editAvatarButtonAriaLabel: string;
|
|
71
|
+
/**
|
|
72
|
+
* Applications section title
|
|
73
|
+
*/
|
|
74
|
+
myApplications: string;
|
|
75
|
+
/**
|
|
76
|
+
* Redirect to app button cta
|
|
77
|
+
*/
|
|
78
|
+
open: string;
|
|
71
79
|
};
|
|
72
80
|
/**
|
|
73
81
|
* Edit user name and title Dialog strings
|
|
@@ -135,6 +135,14 @@ export interface UsersLocalization {
|
|
|
135
135
|
* Assigned by groups and default tooltip
|
|
136
136
|
*/
|
|
137
137
|
assignedByGroupsAndDefault: string;
|
|
138
|
+
/**
|
|
139
|
+
* Users table applications column header
|
|
140
|
+
*/
|
|
141
|
+
applicationsHeader: string;
|
|
142
|
+
/**
|
|
143
|
+
* Application user assignment open dialog button text
|
|
144
|
+
*/
|
|
145
|
+
applicationAssignment: string;
|
|
138
146
|
};
|
|
139
147
|
/**
|
|
140
148
|
* Delete user dialog strings
|
|
@@ -144,6 +152,10 @@ export interface UsersLocalization {
|
|
|
144
152
|
* Dialog title
|
|
145
153
|
*/
|
|
146
154
|
title: string;
|
|
155
|
+
/**
|
|
156
|
+
* Delete user description to "Before" username
|
|
157
|
+
*/
|
|
158
|
+
deleteUserMultiApp: string;
|
|
147
159
|
/**
|
|
148
160
|
* Delete user description to "Before" username
|
|
149
161
|
*/
|
|
@@ -161,6 +173,31 @@ export interface UsersLocalization {
|
|
|
161
173
|
*/
|
|
162
174
|
delete: string;
|
|
163
175
|
};
|
|
176
|
+
/**
|
|
177
|
+
* Revoke user sessions dialog strings
|
|
178
|
+
*/
|
|
179
|
+
users_RevokeSessions: {
|
|
180
|
+
/**
|
|
181
|
+
* Revoke user dialog title
|
|
182
|
+
*/
|
|
183
|
+
title: string;
|
|
184
|
+
/**
|
|
185
|
+
* Revoke user dialog body text
|
|
186
|
+
*/
|
|
187
|
+
body: string;
|
|
188
|
+
/**
|
|
189
|
+
* Revoke user dialog body text for multi app mode
|
|
190
|
+
*/
|
|
191
|
+
multiAppBody: string;
|
|
192
|
+
/**
|
|
193
|
+
* Revoke user dialog cancel button text
|
|
194
|
+
*/
|
|
195
|
+
cancel: string;
|
|
196
|
+
/**
|
|
197
|
+
* Revoke user dialog submit button text
|
|
198
|
+
*/
|
|
199
|
+
logout: string;
|
|
200
|
+
};
|
|
164
201
|
/**
|
|
165
202
|
* Invite User roles dialog strings
|
|
166
203
|
*/
|
|
@@ -299,6 +336,7 @@ export interface UsersLocalization {
|
|
|
299
336
|
userAlreadyExistsPart2: string;
|
|
300
337
|
bulkLabelWithoutRoles: string;
|
|
301
338
|
emailInputLabelWithoutRoles: string;
|
|
339
|
+
applicationInputLabel: string;
|
|
302
340
|
};
|
|
303
341
|
/**
|
|
304
342
|
* Edit user access time dialog strings
|
|
@@ -401,4 +439,37 @@ export interface UsersLocalization {
|
|
|
401
439
|
*/
|
|
402
440
|
deactivate: string;
|
|
403
441
|
};
|
|
442
|
+
/**
|
|
443
|
+
* User applications assignment dialog strings
|
|
444
|
+
*/
|
|
445
|
+
users_ApplicationAssignment: {
|
|
446
|
+
/**
|
|
447
|
+
* User applications assignment dialog title
|
|
448
|
+
*/
|
|
449
|
+
title: string;
|
|
450
|
+
/**
|
|
451
|
+
* User applications assignment description subtitle
|
|
452
|
+
*/
|
|
453
|
+
subtitle: string;
|
|
454
|
+
/**
|
|
455
|
+
* User applications input label text
|
|
456
|
+
*/
|
|
457
|
+
label: string;
|
|
458
|
+
/**
|
|
459
|
+
* User applications input place holder text
|
|
460
|
+
*/
|
|
461
|
+
placeHolder: string;
|
|
462
|
+
/**
|
|
463
|
+
* Disabled default apps options tooltip text
|
|
464
|
+
*/
|
|
465
|
+
defaultAppTooltip: string;
|
|
466
|
+
/**
|
|
467
|
+
* User applications dialog cancel button text
|
|
468
|
+
*/
|
|
469
|
+
cancel: string;
|
|
470
|
+
/**
|
|
471
|
+
* User applications dialog submit button text
|
|
472
|
+
*/
|
|
473
|
+
saveChanges: string;
|
|
474
|
+
};
|
|
404
475
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -86,6 +86,11 @@ export interface UsersPageThemeOptions extends PageThemeOptions {
|
|
|
86
86
|
export interface SubscriptionsPageThemeOptions extends PageThemeOptions {
|
|
87
87
|
fieldsProperties?: SubscriptionsFieldsProperties;
|
|
88
88
|
}
|
|
89
|
+
export interface ApplicationThemeOptions extends PageThemeOptions {
|
|
90
|
+
cardLogoContainer?: ExtendedCSSProperties;
|
|
91
|
+
cardSkeleton?: ExtendedCSSProperties;
|
|
92
|
+
usersSection?: ExtendedCSSProperties;
|
|
93
|
+
}
|
|
89
94
|
export interface PagesThemeOptions extends PageThemeOptions {
|
|
90
95
|
profile?: ProfilePageThemeOptions;
|
|
91
96
|
privacy?: PrivacyPageThemeOptions;
|
|
@@ -99,6 +104,7 @@ export interface PagesThemeOptions extends PageThemeOptions {
|
|
|
99
104
|
apiTokens?: PageThemeOptions;
|
|
100
105
|
roles?: PageThemeOptions;
|
|
101
106
|
subscriptions?: SubscriptionsPageThemeOptions;
|
|
107
|
+
application?: ApplicationThemeOptions;
|
|
102
108
|
}
|
|
103
109
|
export interface TableScrollbar {
|
|
104
110
|
borderColor?: Color;
|
package/index.d.ts
CHANGED
|
@@ -6,5 +6,6 @@ export * from './Localizations';
|
|
|
6
6
|
export * from './Metadata';
|
|
7
7
|
export * from './CheckoutDialogOptions';
|
|
8
8
|
export * from './CustomLoginTypes';
|
|
9
|
+
export * from './ShowAdminPortalOptions';
|
|
9
10
|
export type { Entitlement, NotEntitledJustification, EntitledToOptions, LoadEntitlementsCallback, StepUpOptions, IsSteppedUpOptions, } from '@frontegg/redux-store';
|
|
10
11
|
export type { UserEntitlementsContext as UserEntitlementsResponseV2, CustomAttributes, Attributes, JwtAttributes, } from '@frontegg/entitlements-javascript-commons';
|
package/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license Frontegg v6.
|
|
1
|
+
/** @license Frontegg v6.186.0-alpha.1
|
|
2
2
|
*
|
|
3
3
|
* This source code is licensed under the MIT license found in the
|
|
4
4
|
* LICENSE file in the root directory of this source tree.
|
|
@@ -11,4 +11,5 @@ export * from './Localizations';
|
|
|
11
11
|
export * from './Metadata';
|
|
12
12
|
export * from './CheckoutDialogOptions';
|
|
13
13
|
export * from './CustomLoginTypes';
|
|
14
|
+
export * from './ShowAdminPortalOptions';
|
|
14
15
|
export {};
|
package/node/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license Frontegg v6.
|
|
1
|
+
/** @license Frontegg v6.186.0-alpha.1
|
|
2
2
|
*
|
|
3
3
|
* This source code is licensed under the MIT license found in the
|
|
4
4
|
* LICENSE file in the root directory of this source tree.
|
|
@@ -95,4 +95,15 @@ Object.keys(_CustomLoginTypes).forEach(function (key) {
|
|
|
95
95
|
return _CustomLoginTypes[key];
|
|
96
96
|
}
|
|
97
97
|
});
|
|
98
|
+
});
|
|
99
|
+
var _ShowAdminPortalOptions = require("./ShowAdminPortalOptions");
|
|
100
|
+
Object.keys(_ShowAdminPortalOptions).forEach(function (key) {
|
|
101
|
+
if (key === "default" || key === "__esModule") return;
|
|
102
|
+
if (key in exports && exports[key] === _ShowAdminPortalOptions[key]) return;
|
|
103
|
+
Object.defineProperty(exports, key, {
|
|
104
|
+
enumerable: true,
|
|
105
|
+
get: function () {
|
|
106
|
+
return _ShowAdminPortalOptions[key];
|
|
107
|
+
}
|
|
108
|
+
});
|
|
98
109
|
});
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@frontegg/types",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.186.0-alpha.1",
|
|
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": "6.
|
|
9
|
+
"@frontegg/redux-store": "6.186.0-alpha.1",
|
|
10
10
|
"csstype": "^3.0.9",
|
|
11
11
|
"deepmerge": "^4.2.2"
|
|
12
12
|
},
|