@frontegg/types 6.185.0 → 6.186.0-alpha.0
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 +38 -0
- package/ShowAdminPortalOptions.d.ts +3 -0
- package/ShowAdminPortalOptions.js +1 -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
|
+
goToApp: 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
|
+
goToApp: 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
|
|
@@ -299,6 +307,7 @@ export interface UsersLocalization {
|
|
|
299
307
|
userAlreadyExistsPart2: string;
|
|
300
308
|
bulkLabelWithoutRoles: string;
|
|
301
309
|
emailInputLabelWithoutRoles: string;
|
|
310
|
+
applicationInputLabel: string;
|
|
302
311
|
};
|
|
303
312
|
/**
|
|
304
313
|
* Edit user access time dialog strings
|
|
@@ -401,4 +410,33 @@ export interface UsersLocalization {
|
|
|
401
410
|
*/
|
|
402
411
|
deactivate: string;
|
|
403
412
|
};
|
|
413
|
+
/**
|
|
414
|
+
* User applications assignment dialog strings
|
|
415
|
+
*/
|
|
416
|
+
users_ApplicationAssignment: {
|
|
417
|
+
/**
|
|
418
|
+
* User applications assignment dialog title
|
|
419
|
+
*/
|
|
420
|
+
title: string;
|
|
421
|
+
/**
|
|
422
|
+
* User applications assignment description subtitle
|
|
423
|
+
*/
|
|
424
|
+
subtitle: string;
|
|
425
|
+
/**
|
|
426
|
+
* User applications input label text
|
|
427
|
+
*/
|
|
428
|
+
label: string;
|
|
429
|
+
/**
|
|
430
|
+
* User applications input place holder text
|
|
431
|
+
*/
|
|
432
|
+
placeHolder: string;
|
|
433
|
+
/**
|
|
434
|
+
* User applications dialog cancel button text
|
|
435
|
+
*/
|
|
436
|
+
cancel: string;
|
|
437
|
+
/**
|
|
438
|
+
* User applications dialog submit button text
|
|
439
|
+
*/
|
|
440
|
+
saveChanges: string;
|
|
441
|
+
};
|
|
404
442
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
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.0
|
|
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.0
|
|
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.0",
|
|
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.0",
|
|
10
10
|
"csstype": "^3.0.9",
|
|
11
11
|
"deepmerge": "^4.2.2"
|
|
12
12
|
},
|