@frontegg/types 7.121.0 → 7.123.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.
@@ -8,8 +8,10 @@ export interface UsersTableContextData {
8
8
  searching: boolean;
9
9
  identifierType?: string;
10
10
  filterType?: string;
11
+ selectedRoleIds?: readonly string[];
11
12
  onSearch: (query: string) => void;
12
13
  setFilterType?: (filterType: string) => void;
14
+ setSelectedRoleIds?: (roleIds: string[]) => void;
13
15
  }
14
16
  export interface UseTableStoreOptions {
15
17
  id?: string;
@@ -315,6 +315,14 @@ export interface PrivacyLocalization {
315
315
  * Enroll MFA Authenticator app dialog body description
316
316
  */
317
317
  enrollDescription: string;
318
+ /**
319
+ * Prompt when the user cannot scan the QR on the same device
320
+ */
321
+ cantScanQuestion: string;
322
+ /**
323
+ * Label for the visible TOTP setup key
324
+ */
325
+ setupKeyLabel: string;
318
326
  cancel: string;
319
327
  confirm: string;
320
328
  };
@@ -35,6 +35,38 @@ export interface UsersLocalization {
35
35
  * Filter option for phone number
36
36
  */
37
37
  filterOptionPhoneNumber: string;
38
+ /**
39
+ * Filter option for roles
40
+ */
41
+ filterOptionRoles: string;
42
+ /**
43
+ * Roles filter menu header text (e.g. Role (any selected))
44
+ */
45
+ filterRolesHeader: string;
46
+ /**
47
+ * Roles filter empty state text when search has no matches
48
+ */
49
+ filterRolesEmpty: string;
50
+ /**
51
+ * Roles filter search input placeholder
52
+ */
53
+ filterRolesSearchPlaceholder: string;
54
+ /**
55
+ * Placeholder shown in the users search box when role filter is active with no selection
56
+ */
57
+ filterRolesSelectPlaceholder: string;
58
+ /**
59
+ * Clear all selected roles action
60
+ */
61
+ filterRolesClearAll: string;
62
+ /**
63
+ * Done action that closes the roles filter menu
64
+ */
65
+ filterRolesDone: string;
66
+ /**
67
+ * Badge shown next to custom (tenant) roles
68
+ */
69
+ filterRolesCustomBadge: string;
38
70
  /**
39
71
  * Search by email placeholder (default when no filters available)
40
72
  */
@@ -268,9 +268,61 @@ export interface LoginLocalization {
268
268
  */
269
269
  forceMfaInputPlaceholder: string;
270
270
  /**
271
- * Force MFA section verify button text
271
+ * Force MFA section verify / enable button text
272
272
  */
273
273
  forceMfaVerifyButton: string;
274
+ /**
275
+ * Helper text under the QR code listing supported authenticator apps
276
+ */
277
+ forceMfaQrHelper: string;
278
+ /**
279
+ * Prompt shown when the user cannot scan the QR on the same device
280
+ */
281
+ forceMfaCantScanQuestion: string;
282
+ /**
283
+ * Link / button to switch from QR scan to manual setup key entry
284
+ */
285
+ forceMfaEnterSetupKey: string;
286
+ /**
287
+ * Plain-text prompt under "Authenticate another way" (e.g. "Can't scan?")
288
+ */
289
+ forceMfaCantScan: string;
290
+ /**
291
+ * Link next to forceMfaCantScan for manual TOTP setup (e.g. "Set up manually")
292
+ */
293
+ forceMfaSetupManually: string;
294
+ /**
295
+ * Manual setup key flow — step 1 (legacy; prefer forceMfaSetupKeyDescription)
296
+ */
297
+ forceMfaSetupKeyStep1: string;
298
+ /**
299
+ * Manual setup key flow — step 2 (legacy)
300
+ */
301
+ forceMfaSetupKeyStep2: string;
302
+ /**
303
+ * Manual setup key flow — step 3 (legacy)
304
+ */
305
+ forceMfaSetupKeyStep3: string;
306
+ /**
307
+ * Centered instructions for the manual setup-key enrollment view
308
+ */
309
+ forceMfaSetupKeyDescription: string;
310
+ /**
311
+ * Label for the visible TOTP setup key
312
+ */
313
+ forceMfaSetupKeyLabel: string;
314
+ /**
315
+ * Copy setup key button label
316
+ */
317
+ forceMfaCopy: string;
318
+ /**
319
+ * Copied confirmation shown after tapping Copy
320
+ */
321
+ forceMfaCopied: string;
322
+ /**
323
+ * Link to return from setup key view to the QR code view
324
+ */
325
+ forceMfaBackToQr: string;
274
326
  /**
275
327
  * text to display number of days to remember a device
276
328
  * will be used ONLY if there are less than 365 days left
@@ -86,6 +86,7 @@ export interface SearchFilterOptions {
86
86
  fullName?: SearchFilterOption;
87
87
  username?: SearchFilterOption;
88
88
  phoneNumber?: SearchFilterOption;
89
+ roles?: SearchFilterOption;
89
90
  }
90
91
  export interface UsersPageThemeOptions extends PageThemeOptions {
91
92
  /** @Deprecated please use inviteUserModal.inviteByEmail.enabled = false to hide invite with email **/
@@ -250,6 +250,14 @@ interface LoginBoxOptionalCommon {
250
250
  * that rely on email links
251
251
  */
252
252
  prestep?: PrestepOptions;
253
+ /**
254
+ * When true, after a successful MFA challenge the last used factor is stored
255
+ * in sessionStorage (keyed by application). On the next MFA challenge in the
256
+ * same browser session, that factor is pre-selected when still available.
257
+ * The user can always switch to another enrolled factor via "More ways to authenticate".
258
+ * Default: false (opt-in).
259
+ */
260
+ rememberLastMfaFactor?: boolean;
253
261
  }
254
262
  export interface LoginBoxCommonTheme extends BaseTheme, LoginBoxOptionalCommon {
255
263
  /**
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license Frontegg v7.121.0
1
+ /** @license Frontegg v7.123.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.
package/node/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license Frontegg v7.121.0
1
+ /** @license Frontegg v7.123.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.
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@frontegg/types",
3
- "version": "7.121.0",
3
+ "version": "7.123.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": "7.121.0",
9
+ "@frontegg/redux-store": "7.123.0-alpha.0",
10
10
  "csstype": "^3.0.9",
11
11
  "deepmerge": "^4.2.2"
12
12
  },