@frontegg/js 7.74.0-alpha.1 → 7.75.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.
@@ -1780,7 +1780,7 @@ __webpack_require__.r(__webpack_exports__);
1780
1780
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
1781
1781
  /* harmony export */ });
1782
1782
  /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
1783
- cdnVersion: '7.74.0-alpha.1'
1783
+ cdnVersion: '7.75.0-alpha.0'
1784
1784
  });
1785
1785
 
1786
1786
  /***/ }),
@@ -5835,7 +5835,6 @@ const _excluded = ["callback", "error"],
5835
5835
  const preLogin = async payload => {
5836
5836
  const {
5837
5837
  email,
5838
- username,
5839
5838
  recaptchaToken,
5840
5839
  invitationToken,
5841
5840
  callback
@@ -5846,13 +5845,10 @@ const _excluded = ["callback", "error"],
5846
5845
  try {
5847
5846
  const onRedirectTo = store.auth.onRedirectTo;
5848
5847
  const tenantId = (0,_helpers__WEBPACK_IMPORTED_MODULE_12__.getSearchParam)(_helpers__WEBPACK_IMPORTED_MODULE_12__.TENANT_ID_PARAM_KEY);
5849
- const preLoginResult = await api.auth.preLoginV2((0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__["default"])({}, email ? {
5850
- email
5851
- } : {}, username ? {
5852
- username
5853
- } : {}, {
5848
+ const preLoginResult = await api.auth.preLoginV2({
5849
+ email,
5854
5850
  tenantId
5855
- }));
5851
+ });
5856
5852
  const {
5857
5853
  address,
5858
5854
  idpType
@@ -5866,8 +5862,7 @@ const _excluded = ["callback", "error"],
5866
5862
  ssoRedirectUrl += `&redirect_uri=${window.location.origin}${oidcRedirectUrl}`;
5867
5863
  }
5868
5864
  if (_toolkit__WEBPACK_IMPORTED_MODULE_14__["default"].isLoginWithSSOAvailable()) {
5869
- var _ref4;
5870
- _toolkit__WEBPACK_IMPORTED_MODULE_14__["default"].loginWithSSO((_ref4 = email != null ? email : username) != null ? _ref4 : '');
5865
+ _toolkit__WEBPACK_IMPORTED_MODULE_14__["default"].loginWithSSO(email);
5871
5866
  setLoginState({
5872
5867
  loading: false
5873
5868
  });
@@ -5885,18 +5880,16 @@ const _excluded = ["callback", "error"],
5885
5880
  }, 2000);
5886
5881
  }
5887
5882
  } else {
5888
- var _ref5;
5889
5883
  await ssoPreloginFailed({
5890
- email: (_ref5 = email != null ? email : username) != null ? _ref5 : '',
5884
+ email,
5891
5885
  recaptchaToken,
5892
5886
  callback,
5893
5887
  invitationToken
5894
5888
  });
5895
5889
  }
5896
5890
  } catch (e) {
5897
- var _ref6;
5898
5891
  await ssoPreloginFailed({
5899
- email: (_ref6 = email != null ? email : username) != null ? _ref6 : '',
5892
+ email,
5900
5893
  recaptchaToken,
5901
5894
  callback,
5902
5895
  invitationToken,
@@ -5932,7 +5925,6 @@ const _excluded = ["callback", "error"],
5932
5925
  const login = async payload => {
5933
5926
  const {
5934
5927
  email,
5935
- username,
5936
5928
  password,
5937
5929
  recaptchaToken,
5938
5930
  invitationToken,
@@ -5946,15 +5938,12 @@ const _excluded = ["callback", "error"],
5946
5938
  user,
5947
5939
  tenants = [],
5948
5940
  activeTenant
5949
- } = await api.auth.loginv2((0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__["default"])({}, email ? {
5950
- email
5951
- } : {}, username ? {
5952
- username
5953
- } : {}, {
5941
+ } = await api.auth.loginv2({
5942
+ email,
5954
5943
  password,
5955
5944
  recaptchaToken,
5956
5945
  invitationToken
5957
- }));
5946
+ });
5958
5947
  const {
5959
5948
  onRedirectTo,
5960
5949
  routes
@@ -6194,7 +6183,6 @@ const _excluded = ["callback", "error"],
6194
6183
  } = _payload,
6195
6184
  payload = (0,_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__["default"])(_payload, _excluded5);
6196
6185
  try {
6197
- var _username;
6198
6186
  setLoginState({
6199
6187
  loading: true
6200
6188
  });
@@ -6202,16 +6190,9 @@ const _excluded = ["callback", "error"],
6202
6190
  if ((0,_helpers__WEBPACK_IMPORTED_MODULE_12__.isEmailPayload)(payload)) {
6203
6191
  email = payload.email;
6204
6192
  }
6205
- let username;
6206
- if ((0,_helpers__WEBPACK_IMPORTED_MODULE_12__.isUsernamePayload)(payload)) {
6207
- username = payload.username;
6208
- }
6209
6193
  // TODO: [Typescript 4.8] fix @frontegg/rest-api return value
6210
6194
  // @ts-ignore
6211
- const preloginRes = await api.auth.passwordlessPreLogin((0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__["default"])({}, payload, {
6212
- email,
6213
- username: (_username = username) != null ? _username : ''
6214
- }));
6195
+ const preloginRes = await api.auth.passwordlessPreLogin(payload);
6215
6196
  // @ts-ignore
6216
6197
  const step = _consts__WEBPACK_IMPORTED_MODULE_16__.authStrategyLoginStepMap[payload.type];
6217
6198
  setLoginState({
@@ -6803,11 +6784,11 @@ const _excluded = ["callback", "error"],
6803
6784
  preserveQueryParams: true
6804
6785
  });
6805
6786
  } else {
6806
- var _ref7;
6787
+ var _ref4;
6807
6788
  if (user.id) {
6808
6789
  localStorage.setItem('userId', user.id);
6809
6790
  }
6810
- const quickLoginToRegister = (_ref7 = localStorage.getItem('register-quick-login')) != null ? _ref7 : loginState.quickLoginToRegister;
6791
+ const quickLoginToRegister = (_ref4 = localStorage.getItem('register-quick-login')) != null ? _ref4 : loginState.quickLoginToRegister;
6811
6792
  const shouldNavigateToRegisterQuickLogin = __shouldNavigateToRegisterQuickLogin(user);
6812
6793
  actions.afterAuthenticationStateUpdate({
6813
6794
  user: updatedUser,
@@ -7609,7 +7590,6 @@ __webpack_require__.r(__webpack_exports__);
7609
7590
  /* harmony export */ isAbsoluteUrl: () => (/* binding */ isAbsoluteUrl),
7610
7591
  /* harmony export */ isEmailPayload: () => (/* binding */ isEmailPayload),
7611
7592
  /* harmony export */ isOauthCallbackRoute: () => (/* binding */ isOauthCallbackRoute),
7612
- /* harmony export */ isUsernamePayload: () => (/* binding */ isUsernamePayload),
7613
7593
  /* harmony export */ shouldShowPasswordRotationPromptFunc: () => (/* binding */ shouldShowPasswordRotationPromptFunc)
7614
7594
  /* harmony export */ });
7615
7595
  /* harmony import */ var _frontegg_rest_api__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @frontegg/rest-api */ "../../dist/@frontegg/rest-api/auth/interfaces.js");
@@ -7743,9 +7723,6 @@ const isOauthCallbackRoute = activeUri => {
7743
7723
  function isEmailPayload(payload) {
7744
7724
  return 'email' in payload;
7745
7725
  }
7746
- function isUsernamePayload(payload) {
7747
- return 'username' in payload;
7748
- }
7749
7726
  const getBaseNameWithoutSlashSuffix = state => {
7750
7727
  const basename = _frontegg_rest_api__WEBPACK_IMPORTED_MODULE_2__.ContextHolder.for(state.root.appName).getBasename();
7751
7728
  if (basename != null && basename.endsWith('/')) {
@@ -10118,6 +10095,61 @@ const _excluded = ["callback", "profilePictureUrl"];
10118
10095
  });
10119
10096
  }
10120
10097
  };
10098
+ const updateEmail = async payload => {
10099
+ const {
10100
+ email,
10101
+ callback
10102
+ } = payload;
10103
+ setProfileState({
10104
+ saving: true,
10105
+ error: null,
10106
+ loading: true
10107
+ });
10108
+ try {
10109
+ await api.teams.updateEmail(email);
10110
+ setProfileState({
10111
+ saving: false,
10112
+ error: null,
10113
+ loading: false
10114
+ });
10115
+ callback == null ? void 0 : callback(true);
10116
+ } catch (e) {
10117
+ setProfileState({
10118
+ saving: false,
10119
+ error: (0,_helpers__WEBPACK_IMPORTED_MODULE_4__.errorHandler)(e),
10120
+ loading: false
10121
+ });
10122
+ callback == null ? void 0 : callback(null, e);
10123
+ }
10124
+ };
10125
+ const verifyEmail = async payload => {
10126
+ const {
10127
+ email,
10128
+ code,
10129
+ callback
10130
+ } = payload;
10131
+ setProfileState({
10132
+ saving: true,
10133
+ error: null,
10134
+ loading: true
10135
+ });
10136
+ try {
10137
+ await api.teams.verifyEmail(email, code);
10138
+ setProfileState({
10139
+ saving: false,
10140
+ error: null,
10141
+ loading: false
10142
+ });
10143
+ callback == null ? void 0 : callback(true);
10144
+ } catch (e) {
10145
+ setProfileState({
10146
+ saving: false,
10147
+ error: (0,_helpers__WEBPACK_IMPORTED_MODULE_4__.errorHandler)(e),
10148
+ loading: false
10149
+ });
10150
+ callback == null ? void 0 : callback(null, e);
10151
+ }
10152
+ };
10121
10153
  const saveProfile = async _payload => {
10122
10154
  const {
10123
10155
  callback,
@@ -10195,7 +10227,9 @@ const _excluded = ["callback", "profilePictureUrl"];
10195
10227
  resetProfileState,
10196
10228
  loadProfile,
10197
10229
  saveProfile,
10198
- changePassword
10230
+ changePassword,
10231
+ updateEmail,
10232
+ verifyEmail
10199
10233
  };
10200
10234
  });
10201
10235
 
@@ -16319,6 +16353,69 @@ const initialState = {
16319
16353
 
16320
16354
  /***/ }),
16321
16355
 
16356
+ /***/ "../../dist/@frontegg/redux-store/auth/UsersEmailsPolicyState/actions.js":
16357
+ /*!*******************************************************************************!*\
16358
+ !*** ../../dist/@frontegg/redux-store/auth/UsersEmailsPolicyState/actions.js ***!
16359
+ \*******************************************************************************/
16360
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
16361
+
16362
+ "use strict";
16363
+ __webpack_require__.r(__webpack_exports__);
16364
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
16365
+ /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
16366
+ /* harmony export */ });
16367
+ /* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../helpers */ "../../dist/@frontegg/redux-store/helpers/handlers.js");
16368
+
16369
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((store, api, sharedActions) => {
16370
+ const setUserEmailPolicyState = payload => {
16371
+ Object.assign(store.auth.userEmailPolicyState, payload);
16372
+ };
16373
+ const loadUserEmailPolicyState = async () => {
16374
+ setUserEmailPolicyState({
16375
+ loading: true
16376
+ });
16377
+ try {
16378
+ const userEmailPolicyConfig = await api.userEmailPolicy.getUserEmailPolicyConfig();
16379
+ setUserEmailPolicyState({
16380
+ loading: false,
16381
+ userEmailPolicyConfig
16382
+ });
16383
+ } catch (e) {
16384
+ setUserEmailPolicyState({
16385
+ loading: false,
16386
+ error: (0,_helpers__WEBPACK_IMPORTED_MODULE_0__.errorHandler)(e)
16387
+ });
16388
+ }
16389
+ };
16390
+ return {
16391
+ loadUserEmailPolicyState
16392
+ };
16393
+ });
16394
+
16395
+ /***/ }),
16396
+
16397
+ /***/ "../../dist/@frontegg/redux-store/auth/UsersEmailsPolicyState/state.js":
16398
+ /*!*****************************************************************************!*\
16399
+ !*** ../../dist/@frontegg/redux-store/auth/UsersEmailsPolicyState/state.js ***!
16400
+ \*****************************************************************************/
16401
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
16402
+
16403
+ "use strict";
16404
+ __webpack_require__.r(__webpack_exports__);
16405
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
16406
+ /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__),
16407
+ /* harmony export */ initialState: () => (/* binding */ initialState)
16408
+ /* harmony export */ });
16409
+ /* harmony import */ var _toolkit_proxy__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../toolkit/proxy */ "../../dist/@frontegg/redux-store/toolkit/proxy.js");
16410
+
16411
+ const initialState = {
16412
+ userEmailPolicyConfig: null,
16413
+ loading: false
16414
+ };
16415
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (overrideState => (0,_toolkit_proxy__WEBPACK_IMPORTED_MODULE_0__.createProxy)(initialState, overrideState));
16416
+
16417
+ /***/ }),
16418
+
16322
16419
  /***/ "../../dist/@frontegg/redux-store/auth/helpers.js":
16323
16420
  /*!********************************************************!*\
16324
16421
  !*** ../../dist/@frontegg/redux-store/auth/helpers.js ***!
@@ -16349,7 +16446,6 @@ __webpack_require__.r(__webpack_exports__);
16349
16446
  /* harmony export */ isOauthCallbackRoute: () => (/* reexport safe */ _LoginState_helpers__WEBPACK_IMPORTED_MODULE_3__.isOauthCallbackRoute),
16350
16447
  /* harmony export */ isResetPasswordRequired: () => (/* binding */ isResetPasswordRequired),
16351
16448
  /* harmony export */ isSteppedUp: () => (/* reexport safe */ _StepUpState_helpers__WEBPACK_IMPORTED_MODULE_4__.isSteppedUp),
16352
- /* harmony export */ isUsernamePayload: () => (/* reexport safe */ _LoginState_helpers__WEBPACK_IMPORTED_MODULE_3__.isUsernamePayload),
16353
16449
  /* harmony export */ mapMetaDataObjectToActions: () => (/* binding */ mapMetaDataObjectToActions),
16354
16450
  /* harmony export */ prepareIdentifiersForSignup: () => (/* binding */ prepareIdentifiersForSignup),
16355
16451
  /* harmony export */ redirectByStepUpUrl: () => (/* reexport safe */ _StepUpState_helpers__WEBPACK_IMPORTED_MODULE_4__.redirectByStepUpUrl),
@@ -16491,74 +16587,76 @@ __webpack_require__.r(__webpack_exports__);
16491
16587
  /* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "../../node_modules/@babel/runtime/helpers/esm/extends.js");
16492
16588
  /* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutPropertiesLoose */ "../../node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js");
16493
16589
  /* harmony import */ var _AcceptInvitationState__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ./AcceptInvitationState */ "../../dist/@frontegg/redux-store/auth/AcceptInvitationState/state.js");
16494
- /* harmony import */ var _AcceptInvitationState__WEBPACK_IMPORTED_MODULE_56__ = __webpack_require__(/*! ./AcceptInvitationState */ "../../dist/@frontegg/redux-store/auth/AcceptInvitationState/actions.js");
16590
+ /* harmony import */ var _AcceptInvitationState__WEBPACK_IMPORTED_MODULE_57__ = __webpack_require__(/*! ./AcceptInvitationState */ "../../dist/@frontegg/redux-store/auth/AcceptInvitationState/actions.js");
16495
16591
  /* harmony import */ var _AccountSettingsState__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ./AccountSettingsState */ "../../dist/@frontegg/redux-store/auth/AccountSettingsState/state.js");
16496
- /* harmony import */ var _AccountSettingsState__WEBPACK_IMPORTED_MODULE_57__ = __webpack_require__(/*! ./AccountSettingsState */ "../../dist/@frontegg/redux-store/auth/AccountSettingsState/actions.js");
16592
+ /* harmony import */ var _AccountSettingsState__WEBPACK_IMPORTED_MODULE_58__ = __webpack_require__(/*! ./AccountSettingsState */ "../../dist/@frontegg/redux-store/auth/AccountSettingsState/actions.js");
16497
16593
  /* harmony import */ var _ActivateAccountState__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ./ActivateAccountState */ "../../dist/@frontegg/redux-store/auth/ActivateAccountState/state.js");
16498
- /* harmony import */ var _ActivateAccountState__WEBPACK_IMPORTED_MODULE_58__ = __webpack_require__(/*! ./ActivateAccountState */ "../../dist/@frontegg/redux-store/auth/ActivateAccountState/actions.js");
16594
+ /* harmony import */ var _ActivateAccountState__WEBPACK_IMPORTED_MODULE_59__ = __webpack_require__(/*! ./ActivateAccountState */ "../../dist/@frontegg/redux-store/auth/ActivateAccountState/actions.js");
16499
16595
  /* harmony import */ var _UnlockAccountState__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ./UnlockAccountState */ "../../dist/@frontegg/redux-store/auth/UnlockAccountState/state.js");
16500
- /* harmony import */ var _UnlockAccountState__WEBPACK_IMPORTED_MODULE_59__ = __webpack_require__(/*! ./UnlockAccountState */ "../../dist/@frontegg/redux-store/auth/UnlockAccountState/actions.js");
16596
+ /* harmony import */ var _UnlockAccountState__WEBPACK_IMPORTED_MODULE_60__ = __webpack_require__(/*! ./UnlockAccountState */ "../../dist/@frontegg/redux-store/auth/UnlockAccountState/actions.js");
16501
16597
  /* harmony import */ var _ApiTokensState__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ./ApiTokensState */ "../../dist/@frontegg/redux-store/auth/ApiTokensState/state.js");
16502
- /* harmony import */ var _ApiTokensState__WEBPACK_IMPORTED_MODULE_60__ = __webpack_require__(/*! ./ApiTokensState */ "../../dist/@frontegg/redux-store/auth/ApiTokensState/actions.js");
16598
+ /* harmony import */ var _ApiTokensState__WEBPACK_IMPORTED_MODULE_61__ = __webpack_require__(/*! ./ApiTokensState */ "../../dist/@frontegg/redux-store/auth/ApiTokensState/actions.js");
16503
16599
  /* harmony import */ var _ApplicationsState__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ./ApplicationsState */ "../../dist/@frontegg/redux-store/auth/ApplicationsState/state.js");
16504
- /* harmony import */ var _ApplicationsState__WEBPACK_IMPORTED_MODULE_61__ = __webpack_require__(/*! ./ApplicationsState */ "../../dist/@frontegg/redux-store/auth/ApplicationsState/actions.js");
16600
+ /* harmony import */ var _ApplicationsState__WEBPACK_IMPORTED_MODULE_62__ = __webpack_require__(/*! ./ApplicationsState */ "../../dist/@frontegg/redux-store/auth/ApplicationsState/actions.js");
16505
16601
  /* harmony import */ var _CustomLoginState__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ./CustomLoginState */ "../../dist/@frontegg/redux-store/auth/CustomLoginState/state.js");
16506
- /* harmony import */ var _CustomLoginState__WEBPACK_IMPORTED_MODULE_62__ = __webpack_require__(/*! ./CustomLoginState */ "../../dist/@frontegg/redux-store/auth/CustomLoginState/actions.js");
16602
+ /* harmony import */ var _CustomLoginState__WEBPACK_IMPORTED_MODULE_63__ = __webpack_require__(/*! ./CustomLoginState */ "../../dist/@frontegg/redux-store/auth/CustomLoginState/actions.js");
16507
16603
  /* harmony import */ var _ForgotPasswordState__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ./ForgotPasswordState */ "../../dist/@frontegg/redux-store/auth/ForgotPasswordState/state.js");
16508
- /* harmony import */ var _ForgotPasswordState__WEBPACK_IMPORTED_MODULE_64__ = __webpack_require__(/*! ./ForgotPasswordState */ "../../dist/@frontegg/redux-store/auth/ForgotPasswordState/actions.js");
16604
+ /* harmony import */ var _ForgotPasswordState__WEBPACK_IMPORTED_MODULE_65__ = __webpack_require__(/*! ./ForgotPasswordState */ "../../dist/@frontegg/redux-store/auth/ForgotPasswordState/actions.js");
16509
16605
  /* harmony import */ var _PasswordRotationState__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! ./PasswordRotationState */ "../../dist/@frontegg/redux-store/auth/PasswordRotationState/state.js");
16510
- /* harmony import */ var _PasswordRotationState__WEBPACK_IMPORTED_MODULE_65__ = __webpack_require__(/*! ./PasswordRotationState */ "../../dist/@frontegg/redux-store/auth/PasswordRotationState/actions.js");
16606
+ /* harmony import */ var _PasswordRotationState__WEBPACK_IMPORTED_MODULE_66__ = __webpack_require__(/*! ./PasswordRotationState */ "../../dist/@frontegg/redux-store/auth/PasswordRotationState/actions.js");
16511
16607
  /* harmony import */ var _GroupsState__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! ./GroupsState */ "../../dist/@frontegg/redux-store/auth/GroupsState/state.js");
16512
- /* harmony import */ var _GroupsState__WEBPACK_IMPORTED_MODULE_66__ = __webpack_require__(/*! ./GroupsState */ "../../dist/@frontegg/redux-store/auth/GroupsState/actions.js");
16608
+ /* harmony import */ var _GroupsState__WEBPACK_IMPORTED_MODULE_67__ = __webpack_require__(/*! ./GroupsState */ "../../dist/@frontegg/redux-store/auth/GroupsState/actions.js");
16513
16609
  /* harmony import */ var _GroupsDialogsState__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! ./GroupsDialogsState */ "../../dist/@frontegg/redux-store/auth/GroupsDialogsState/state.js");
16514
- /* harmony import */ var _GroupsDialogsState__WEBPACK_IMPORTED_MODULE_67__ = __webpack_require__(/*! ./GroupsDialogsState */ "../../dist/@frontegg/redux-store/auth/GroupsDialogsState/actions.js");
16610
+ /* harmony import */ var _GroupsDialogsState__WEBPACK_IMPORTED_MODULE_68__ = __webpack_require__(/*! ./GroupsDialogsState */ "../../dist/@frontegg/redux-store/auth/GroupsDialogsState/actions.js");
16515
16611
  /* harmony import */ var _ImpersonateState__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! ./ImpersonateState */ "../../dist/@frontegg/redux-store/auth/ImpersonateState/state.js");
16516
- /* harmony import */ var _ImpersonateState__WEBPACK_IMPORTED_MODULE_68__ = __webpack_require__(/*! ./ImpersonateState */ "../../dist/@frontegg/redux-store/auth/ImpersonateState/actions.js");
16612
+ /* harmony import */ var _ImpersonateState__WEBPACK_IMPORTED_MODULE_69__ = __webpack_require__(/*! ./ImpersonateState */ "../../dist/@frontegg/redux-store/auth/ImpersonateState/actions.js");
16517
16613
  /* harmony import */ var _LoginState__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! ./LoginState */ "../../dist/@frontegg/redux-store/auth/LoginState/state.js");
16518
- /* harmony import */ var _LoginState__WEBPACK_IMPORTED_MODULE_69__ = __webpack_require__(/*! ./LoginState */ "../../dist/@frontegg/redux-store/auth/LoginState/actions/index.js");
16614
+ /* harmony import */ var _LoginState__WEBPACK_IMPORTED_MODULE_70__ = __webpack_require__(/*! ./LoginState */ "../../dist/@frontegg/redux-store/auth/LoginState/actions/index.js");
16519
16615
  /* harmony import */ var _MfaState__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(/*! ./MfaState */ "../../dist/@frontegg/redux-store/auth/MfaState/state.js");
16520
- /* harmony import */ var _MfaState__WEBPACK_IMPORTED_MODULE_70__ = __webpack_require__(/*! ./MfaState */ "../../dist/@frontegg/redux-store/auth/MfaState/actions.js");
16616
+ /* harmony import */ var _MfaState__WEBPACK_IMPORTED_MODULE_71__ = __webpack_require__(/*! ./MfaState */ "../../dist/@frontegg/redux-store/auth/MfaState/actions.js");
16521
16617
  /* harmony import */ var _MSP__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(/*! ./MSP */ "../../dist/@frontegg/redux-store/auth/MSP/state.js");
16522
16618
  /* harmony import */ var _MSP__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(/*! ./MSP */ "../../dist/@frontegg/redux-store/auth/MSP/dialogs/state.js");
16523
- /* harmony import */ var _MSP__WEBPACK_IMPORTED_MODULE_71__ = __webpack_require__(/*! ./MSP */ "../../dist/@frontegg/redux-store/auth/MSP/actions.js");
16524
- /* harmony import */ var _MSP__WEBPACK_IMPORTED_MODULE_72__ = __webpack_require__(/*! ./MSP */ "../../dist/@frontegg/redux-store/auth/MSP/dialogs/actions.js");
16619
+ /* harmony import */ var _MSP__WEBPACK_IMPORTED_MODULE_72__ = __webpack_require__(/*! ./MSP */ "../../dist/@frontegg/redux-store/auth/MSP/actions.js");
16620
+ /* harmony import */ var _MSP__WEBPACK_IMPORTED_MODULE_73__ = __webpack_require__(/*! ./MSP */ "../../dist/@frontegg/redux-store/auth/MSP/dialogs/actions.js");
16525
16621
  /* harmony import */ var _PasskeysState__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(/*! ./PasskeysState */ "../../dist/@frontegg/redux-store/auth/PasskeysState/state.js");
16526
- /* harmony import */ var _PasskeysState__WEBPACK_IMPORTED_MODULE_73__ = __webpack_require__(/*! ./PasskeysState */ "../../dist/@frontegg/redux-store/auth/PasskeysState/actions.js");
16622
+ /* harmony import */ var _PasskeysState__WEBPACK_IMPORTED_MODULE_74__ = __webpack_require__(/*! ./PasskeysState */ "../../dist/@frontegg/redux-store/auth/PasskeysState/actions.js");
16527
16623
  /* harmony import */ var _ProfileState__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(/*! ./ProfileState */ "../../dist/@frontegg/redux-store/auth/ProfileState/state.js");
16528
- /* harmony import */ var _ProfileState__WEBPACK_IMPORTED_MODULE_74__ = __webpack_require__(/*! ./ProfileState */ "../../dist/@frontegg/redux-store/auth/ProfileState/actions.js");
16624
+ /* harmony import */ var _ProfileState__WEBPACK_IMPORTED_MODULE_75__ = __webpack_require__(/*! ./ProfileState */ "../../dist/@frontegg/redux-store/auth/ProfileState/actions.js");
16529
16625
  /* harmony import */ var _ProvisioningState__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(/*! ./ProvisioningState */ "../../dist/@frontegg/redux-store/auth/ProvisioningState/state.js");
16530
- /* harmony import */ var _ProvisioningState__WEBPACK_IMPORTED_MODULE_75__ = __webpack_require__(/*! ./ProvisioningState */ "../../dist/@frontegg/redux-store/auth/ProvisioningState/actions.js");
16626
+ /* harmony import */ var _ProvisioningState__WEBPACK_IMPORTED_MODULE_76__ = __webpack_require__(/*! ./ProvisioningState */ "../../dist/@frontegg/redux-store/auth/ProvisioningState/actions.js");
16531
16627
  /* harmony import */ var _ResetPhoneNumberState__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(/*! ./ResetPhoneNumberState */ "../../dist/@frontegg/redux-store/auth/ResetPhoneNumberState/state.js");
16532
- /* harmony import */ var _ResetPhoneNumberState__WEBPACK_IMPORTED_MODULE_76__ = __webpack_require__(/*! ./ResetPhoneNumberState */ "../../dist/@frontegg/redux-store/auth/ResetPhoneNumberState/actions.js");
16628
+ /* harmony import */ var _ResetPhoneNumberState__WEBPACK_IMPORTED_MODULE_77__ = __webpack_require__(/*! ./ResetPhoneNumberState */ "../../dist/@frontegg/redux-store/auth/ResetPhoneNumberState/actions.js");
16533
16629
  /* harmony import */ var _RolesState__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__(/*! ./RolesState */ "../../dist/@frontegg/redux-store/auth/RolesState/state.js");
16534
- /* harmony import */ var _RolesState__WEBPACK_IMPORTED_MODULE_77__ = __webpack_require__(/*! ./RolesState */ "../../dist/@frontegg/redux-store/auth/RolesState/actions.js");
16630
+ /* harmony import */ var _RolesState__WEBPACK_IMPORTED_MODULE_78__ = __webpack_require__(/*! ./RolesState */ "../../dist/@frontegg/redux-store/auth/RolesState/actions.js");
16535
16631
  /* harmony import */ var _Security_RestrictionsState__WEBPACK_IMPORTED_MODULE_43__ = __webpack_require__(/*! ./Security/RestrictionsState */ "../../dist/@frontegg/redux-store/auth/Security/RestrictionsState/state.js");
16536
- /* harmony import */ var _Security_RestrictionsState__WEBPACK_IMPORTED_MODULE_78__ = __webpack_require__(/*! ./Security/RestrictionsState */ "../../dist/@frontegg/redux-store/auth/Security/RestrictionsState/actions.js");
16632
+ /* harmony import */ var _Security_RestrictionsState__WEBPACK_IMPORTED_MODULE_79__ = __webpack_require__(/*! ./Security/RestrictionsState */ "../../dist/@frontegg/redux-store/auth/Security/RestrictionsState/actions.js");
16537
16633
  /* harmony import */ var _Security_SecurityCenterState__WEBPACK_IMPORTED_MODULE_44__ = __webpack_require__(/*! ./Security/SecurityCenterState */ "../../dist/@frontegg/redux-store/auth/Security/SecurityCenterState/state.js");
16538
- /* harmony import */ var _Security_SecurityCenterState__WEBPACK_IMPORTED_MODULE_79__ = __webpack_require__(/*! ./Security/SecurityCenterState */ "../../dist/@frontegg/redux-store/auth/Security/SecurityCenterState/actions.js");
16634
+ /* harmony import */ var _Security_SecurityCenterState__WEBPACK_IMPORTED_MODULE_80__ = __webpack_require__(/*! ./Security/SecurityCenterState */ "../../dist/@frontegg/redux-store/auth/Security/SecurityCenterState/actions.js");
16539
16635
  /* harmony import */ var _Security_SecurityPolicyState__WEBPACK_IMPORTED_MODULE_45__ = __webpack_require__(/*! ./Security/SecurityPolicyState */ "../../dist/@frontegg/redux-store/auth/Security/SecurityPolicyState/state.js");
16540
- /* harmony import */ var _Security_SecurityPolicyState__WEBPACK_IMPORTED_MODULE_80__ = __webpack_require__(/*! ./Security/SecurityPolicyState */ "../../dist/@frontegg/redux-store/auth/Security/SecurityPolicyState/actions.js");
16636
+ /* harmony import */ var _Security_SecurityPolicyState__WEBPACK_IMPORTED_MODULE_81__ = __webpack_require__(/*! ./Security/SecurityPolicyState */ "../../dist/@frontegg/redux-store/auth/Security/SecurityPolicyState/actions.js");
16541
16637
  /* harmony import */ var _Security_SessionsPolicyState__WEBPACK_IMPORTED_MODULE_46__ = __webpack_require__(/*! ./Security/SessionsPolicyState */ "../../dist/@frontegg/redux-store/auth/Security/SessionsPolicyState/state.js");
16542
- /* harmony import */ var _Security_SessionsPolicyState__WEBPACK_IMPORTED_MODULE_81__ = __webpack_require__(/*! ./Security/SessionsPolicyState */ "../../dist/@frontegg/redux-store/auth/Security/SessionsPolicyState/actions.js");
16638
+ /* harmony import */ var _Security_SessionsPolicyState__WEBPACK_IMPORTED_MODULE_82__ = __webpack_require__(/*! ./Security/SessionsPolicyState */ "../../dist/@frontegg/redux-store/auth/Security/SessionsPolicyState/actions.js");
16543
16639
  /* harmony import */ var _SessionsState__WEBPACK_IMPORTED_MODULE_47__ = __webpack_require__(/*! ./SessionsState */ "../../dist/@frontegg/redux-store/auth/SessionsState/state.js");
16544
- /* harmony import */ var _SessionsState__WEBPACK_IMPORTED_MODULE_82__ = __webpack_require__(/*! ./SessionsState */ "../../dist/@frontegg/redux-store/auth/SessionsState/actions.js");
16640
+ /* harmony import */ var _SessionsState__WEBPACK_IMPORTED_MODULE_83__ = __webpack_require__(/*! ./SessionsState */ "../../dist/@frontegg/redux-store/auth/SessionsState/actions.js");
16545
16641
  /* harmony import */ var _SignUpState__WEBPACK_IMPORTED_MODULE_48__ = __webpack_require__(/*! ./SignUpState */ "../../dist/@frontegg/redux-store/auth/SignUpState/state.js");
16546
- /* harmony import */ var _SignUpState__WEBPACK_IMPORTED_MODULE_83__ = __webpack_require__(/*! ./SignUpState */ "../../dist/@frontegg/redux-store/auth/SignUpState/actions.js");
16642
+ /* harmony import */ var _SignUpState__WEBPACK_IMPORTED_MODULE_84__ = __webpack_require__(/*! ./SignUpState */ "../../dist/@frontegg/redux-store/auth/SignUpState/actions.js");
16547
16643
  /* harmony import */ var _SmsState__WEBPACK_IMPORTED_MODULE_49__ = __webpack_require__(/*! ./SmsState */ "../../dist/@frontegg/redux-store/auth/SmsState/state.js");
16548
- /* harmony import */ var _SmsState__WEBPACK_IMPORTED_MODULE_84__ = __webpack_require__(/*! ./SmsState */ "../../dist/@frontegg/redux-store/auth/SmsState/actions.js");
16644
+ /* harmony import */ var _SmsState__WEBPACK_IMPORTED_MODULE_85__ = __webpack_require__(/*! ./SmsState */ "../../dist/@frontegg/redux-store/auth/SmsState/actions.js");
16549
16645
  /* harmony import */ var _SocialLoginState__WEBPACK_IMPORTED_MODULE_50__ = __webpack_require__(/*! ./SocialLoginState */ "../../dist/@frontegg/redux-store/auth/SocialLoginState/state.js");
16550
- /* harmony import */ var _SocialLoginState__WEBPACK_IMPORTED_MODULE_85__ = __webpack_require__(/*! ./SocialLoginState */ "../../dist/@frontegg/redux-store/auth/SocialLoginState/actions.js");
16646
+ /* harmony import */ var _SocialLoginState__WEBPACK_IMPORTED_MODULE_86__ = __webpack_require__(/*! ./SocialLoginState */ "../../dist/@frontegg/redux-store/auth/SocialLoginState/actions.js");
16551
16647
  /* harmony import */ var _SSOState__WEBPACK_IMPORTED_MODULE_51__ = __webpack_require__(/*! ./SSOState */ "../../dist/@frontegg/redux-store/auth/SSOState/state.js");
16552
- /* harmony import */ var _SSOState__WEBPACK_IMPORTED_MODULE_86__ = __webpack_require__(/*! ./SSOState */ "../../dist/@frontegg/redux-store/auth/SSOState/actions/index.js");
16648
+ /* harmony import */ var _SSOState__WEBPACK_IMPORTED_MODULE_87__ = __webpack_require__(/*! ./SSOState */ "../../dist/@frontegg/redux-store/auth/SSOState/actions/index.js");
16553
16649
  /* harmony import */ var _StepUpState__WEBPACK_IMPORTED_MODULE_52__ = __webpack_require__(/*! ./StepUpState */ "../../dist/@frontegg/redux-store/auth/StepUpState/state.js");
16554
- /* harmony import */ var _StepUpState__WEBPACK_IMPORTED_MODULE_87__ = __webpack_require__(/*! ./StepUpState */ "../../dist/@frontegg/redux-store/auth/StepUpState/actions/index.js");
16650
+ /* harmony import */ var _StepUpState__WEBPACK_IMPORTED_MODULE_88__ = __webpack_require__(/*! ./StepUpState */ "../../dist/@frontegg/redux-store/auth/StepUpState/actions/index.js");
16555
16651
  /* harmony import */ var _TeamState__WEBPACK_IMPORTED_MODULE_53__ = __webpack_require__(/*! ./TeamState */ "../../dist/@frontegg/redux-store/auth/TeamState/state.js");
16556
- /* harmony import */ var _TeamState__WEBPACK_IMPORTED_MODULE_88__ = __webpack_require__(/*! ./TeamState */ "../../dist/@frontegg/redux-store/auth/TeamState/actions/index.js");
16652
+ /* harmony import */ var _TeamState__WEBPACK_IMPORTED_MODULE_89__ = __webpack_require__(/*! ./TeamState */ "../../dist/@frontegg/redux-store/auth/TeamState/actions/index.js");
16557
16653
  /* harmony import */ var _TenantsState__WEBPACK_IMPORTED_MODULE_54__ = __webpack_require__(/*! ./TenantsState */ "../../dist/@frontegg/redux-store/auth/TenantsState/state.js");
16558
- /* harmony import */ var _TenantsState__WEBPACK_IMPORTED_MODULE_89__ = __webpack_require__(/*! ./TenantsState */ "../../dist/@frontegg/redux-store/auth/TenantsState/actions.js");
16654
+ /* harmony import */ var _TenantsState__WEBPACK_IMPORTED_MODULE_90__ = __webpack_require__(/*! ./TenantsState */ "../../dist/@frontegg/redux-store/auth/TenantsState/actions.js");
16655
+ /* harmony import */ var _UsersEmailsPolicyState__WEBPACK_IMPORTED_MODULE_55__ = __webpack_require__(/*! ./UsersEmailsPolicyState */ "../../dist/@frontegg/redux-store/auth/UsersEmailsPolicyState/state.js");
16656
+ /* harmony import */ var _UsersEmailsPolicyState__WEBPACK_IMPORTED_MODULE_91__ = __webpack_require__(/*! ./UsersEmailsPolicyState */ "../../dist/@frontegg/redux-store/auth/UsersEmailsPolicyState/actions.js");
16559
16657
  /* harmony import */ var _LoginState_consts__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ./LoginState/consts */ "../../dist/@frontegg/redux-store/auth/LoginState/consts.js");
16560
- /* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_55__ = __webpack_require__(/*! ../helpers */ "../../dist/@frontegg/redux-store/helpers/common.js");
16561
- /* harmony import */ var _Entitlements__WEBPACK_IMPORTED_MODULE_63__ = __webpack_require__(/*! ./Entitlements */ "../../dist/@frontegg/redux-store/auth/Entitlements/actions.js");
16658
+ /* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_56__ = __webpack_require__(/*! ../helpers */ "../../dist/@frontegg/redux-store/helpers/common.js");
16659
+ /* harmony import */ var _Entitlements__WEBPACK_IMPORTED_MODULE_64__ = __webpack_require__(/*! ./Entitlements */ "../../dist/@frontegg/redux-store/auth/Entitlements/actions.js");
16562
16660
  /* harmony import */ var _toolkit_proxy__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ../toolkit/proxy */ "../../dist/@frontegg/redux-store/toolkit/proxy.js");
16563
16661
  /* harmony import */ var _AcceptInvitationState_interfaces__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./AcceptInvitationState/interfaces */ "../../dist/@frontegg/redux-store/auth/AcceptInvitationState/interfaces.js");
16564
16662
  /* harmony import */ var _ActivateAccountState_interfaces__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./ActivateAccountState/interfaces */ "../../dist/@frontegg/redux-store/auth/ActivateAccountState/interfaces.js");
@@ -16650,6 +16748,8 @@ const _excluded = ["routes"],
16650
16748
 
16651
16749
 
16652
16750
 
16751
+
16752
+
16653
16753
 
16654
16754
 
16655
16755
 
@@ -16706,14 +16806,15 @@ const createAuthState = _overrideState => {
16706
16806
  ssoState: (0,_SSOState__WEBPACK_IMPORTED_MODULE_51__["default"])(overrideState == null ? void 0 : overrideState.ssoState),
16707
16807
  stepUpState: (0,_StepUpState__WEBPACK_IMPORTED_MODULE_52__["default"])(overrideState == null ? void 0 : overrideState.stepUpState),
16708
16808
  teamState: (0,_TeamState__WEBPACK_IMPORTED_MODULE_53__["default"])(overrideState == null ? void 0 : overrideState.teamState),
16709
- tenantsState: (0,_TenantsState__WEBPACK_IMPORTED_MODULE_54__["default"])(overrideState == null ? void 0 : overrideState.tenantsState)
16809
+ tenantsState: (0,_TenantsState__WEBPACK_IMPORTED_MODULE_54__["default"])(overrideState == null ? void 0 : overrideState.tenantsState),
16810
+ userEmailPolicyState: (0,_UsersEmailsPolicyState__WEBPACK_IMPORTED_MODULE_55__["default"])(overrideState == null ? void 0 : overrideState.userEmailPolicyState)
16710
16811
  }));
16711
16812
  };
16712
16813
  const buildAuthActions = (store, api, actions, snapshotAuthState) => {
16713
16814
  const setAuthState = state => {
16714
16815
  Object.keys(state).forEach(key => {
16715
16816
  const authKey = key;
16716
- if ((0,_helpers__WEBPACK_IMPORTED_MODULE_55__.isProxy)(store.auth[authKey])) {
16817
+ if ((0,_helpers__WEBPACK_IMPORTED_MODULE_56__.isProxy)(store.auth[authKey])) {
16717
16818
  Object.assign(store.auth[authKey], state[authKey]);
16718
16819
  } else {
16719
16820
  store.auth[authKey] = state[authKey];
@@ -16721,7 +16822,7 @@ const buildAuthActions = (store, api, actions, snapshotAuthState) => {
16721
16822
  });
16722
16823
  };
16723
16824
  const resetAuthState = (state = {}) => {
16724
- (0,_helpers__WEBPACK_IMPORTED_MODULE_55__.deepResetState)(store, ['auth'], (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, snapshotAuthState, state));
16825
+ (0,_helpers__WEBPACK_IMPORTED_MODULE_56__.deepResetState)(store, ['auth'], (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, snapshotAuthState, state));
16725
16826
  };
16726
16827
  const setUser = user => {
16727
16828
  setAuthState({
@@ -16739,40 +16840,41 @@ const buildAuthActions = (store, api, actions, snapshotAuthState) => {
16739
16840
  })
16740
16841
  });
16741
16842
  };
16742
- const acceptInvitationActions = (0,_AcceptInvitationState__WEBPACK_IMPORTED_MODULE_56__["default"])(store, api, actions);
16743
- const accountSettingsActions = (0,_AccountSettingsState__WEBPACK_IMPORTED_MODULE_57__["default"])(store, api, actions);
16744
- const activateAccountActions = (0,_ActivateAccountState__WEBPACK_IMPORTED_MODULE_58__["default"])(store, api, actions);
16745
- const unlockAccountActions = (0,_UnlockAccountState__WEBPACK_IMPORTED_MODULE_59__["default"])(store, api, actions);
16746
- const apiTokensActions = (0,_ApiTokensState__WEBPACK_IMPORTED_MODULE_60__["default"])(store, api, actions);
16747
- const applicationsActions = (0,_ApplicationsState__WEBPACK_IMPORTED_MODULE_61__["default"])(store, api, actions);
16748
- const customLoginActions = (0,_CustomLoginState__WEBPACK_IMPORTED_MODULE_62__["default"])(store, api, actions);
16749
- const entitlementsActions = (0,_Entitlements__WEBPACK_IMPORTED_MODULE_63__["default"])(store, api, actions);
16750
- const forgotPasswordActions = (0,_ForgotPasswordState__WEBPACK_IMPORTED_MODULE_64__["default"])(store, api, actions);
16751
- const passwordRotationActions = (0,_PasswordRotationState__WEBPACK_IMPORTED_MODULE_65__["default"])(store, api, actions);
16752
- const groupsActions = (0,_GroupsState__WEBPACK_IMPORTED_MODULE_66__["default"])(store, api, actions);
16753
- const groupsDialogsActions = (0,_GroupsDialogsState__WEBPACK_IMPORTED_MODULE_67__["default"])(store, api, actions);
16754
- const impersonateActions = (0,_ImpersonateState__WEBPACK_IMPORTED_MODULE_68__["default"])(store, api, actions);
16755
- const loginActions = (0,_LoginState__WEBPACK_IMPORTED_MODULE_69__["default"])(store, api, actions);
16756
- const mfaActions = (0,_MfaState__WEBPACK_IMPORTED_MODULE_70__["default"])(store, api, actions);
16757
- const allAccountsActions = (0,_MSP__WEBPACK_IMPORTED_MODULE_71__["default"])(store, api, actions);
16758
- const allAccountsDialogActions = (0,_MSP__WEBPACK_IMPORTED_MODULE_72__["default"])(store, api, actions);
16759
- const passkeysActions = (0,_PasskeysState__WEBPACK_IMPORTED_MODULE_73__["default"])(store, api, actions);
16760
- const profileActions = (0,_ProfileState__WEBPACK_IMPORTED_MODULE_74__["default"])(store, api, actions);
16761
- const provisioningActions = (0,_ProvisioningState__WEBPACK_IMPORTED_MODULE_75__["default"])(store, api, actions);
16762
- const resetPhoneNumberActions = (0,_ResetPhoneNumberState__WEBPACK_IMPORTED_MODULE_76__["default"])(store, api, actions);
16763
- const rolesActions = (0,_RolesState__WEBPACK_IMPORTED_MODULE_77__["default"])(store, api, actions);
16764
- const restrictionsActions = (0,_Security_RestrictionsState__WEBPACK_IMPORTED_MODULE_78__["default"])(store, api, actions);
16765
- const securityCenterActions = (0,_Security_SecurityCenterState__WEBPACK_IMPORTED_MODULE_79__["default"])(store, api, actions);
16766
- const securityPolicyActions = (0,_Security_SecurityPolicyState__WEBPACK_IMPORTED_MODULE_80__["default"])(store, api, actions);
16767
- const sessionsPolicyActions = (0,_Security_SessionsPolicyState__WEBPACK_IMPORTED_MODULE_81__["default"])(store, api, actions);
16768
- const sessionsActions = (0,_SessionsState__WEBPACK_IMPORTED_MODULE_82__["default"])(store, api, actions);
16769
- const signUpActions = (0,_SignUpState__WEBPACK_IMPORTED_MODULE_83__["default"])(store, api, actions);
16770
- const smsActions = (0,_SmsState__WEBPACK_IMPORTED_MODULE_84__["default"])(store, api, actions);
16771
- const socialLoginActions = (0,_SocialLoginState__WEBPACK_IMPORTED_MODULE_85__["default"])(store, api, actions);
16772
- const ssoActions = (0,_SSOState__WEBPACK_IMPORTED_MODULE_86__["default"])(store, api, actions);
16773
- const stepUpActions = (0,_StepUpState__WEBPACK_IMPORTED_MODULE_87__["default"])(store, api, actions);
16774
- const teamActions = (0,_TeamState__WEBPACK_IMPORTED_MODULE_88__["default"])(store, api, actions);
16775
- const tenantsActions = (0,_TenantsState__WEBPACK_IMPORTED_MODULE_89__["default"])(store, api, actions);
16843
+ const acceptInvitationActions = (0,_AcceptInvitationState__WEBPACK_IMPORTED_MODULE_57__["default"])(store, api, actions);
16844
+ const accountSettingsActions = (0,_AccountSettingsState__WEBPACK_IMPORTED_MODULE_58__["default"])(store, api, actions);
16845
+ const activateAccountActions = (0,_ActivateAccountState__WEBPACK_IMPORTED_MODULE_59__["default"])(store, api, actions);
16846
+ const unlockAccountActions = (0,_UnlockAccountState__WEBPACK_IMPORTED_MODULE_60__["default"])(store, api, actions);
16847
+ const apiTokensActions = (0,_ApiTokensState__WEBPACK_IMPORTED_MODULE_61__["default"])(store, api, actions);
16848
+ const applicationsActions = (0,_ApplicationsState__WEBPACK_IMPORTED_MODULE_62__["default"])(store, api, actions);
16849
+ const customLoginActions = (0,_CustomLoginState__WEBPACK_IMPORTED_MODULE_63__["default"])(store, api, actions);
16850
+ const entitlementsActions = (0,_Entitlements__WEBPACK_IMPORTED_MODULE_64__["default"])(store, api, actions);
16851
+ const forgotPasswordActions = (0,_ForgotPasswordState__WEBPACK_IMPORTED_MODULE_65__["default"])(store, api, actions);
16852
+ const passwordRotationActions = (0,_PasswordRotationState__WEBPACK_IMPORTED_MODULE_66__["default"])(store, api, actions);
16853
+ const groupsActions = (0,_GroupsState__WEBPACK_IMPORTED_MODULE_67__["default"])(store, api, actions);
16854
+ const groupsDialogsActions = (0,_GroupsDialogsState__WEBPACK_IMPORTED_MODULE_68__["default"])(store, api, actions);
16855
+ const impersonateActions = (0,_ImpersonateState__WEBPACK_IMPORTED_MODULE_69__["default"])(store, api, actions);
16856
+ const loginActions = (0,_LoginState__WEBPACK_IMPORTED_MODULE_70__["default"])(store, api, actions);
16857
+ const mfaActions = (0,_MfaState__WEBPACK_IMPORTED_MODULE_71__["default"])(store, api, actions);
16858
+ const allAccountsActions = (0,_MSP__WEBPACK_IMPORTED_MODULE_72__["default"])(store, api, actions);
16859
+ const allAccountsDialogActions = (0,_MSP__WEBPACK_IMPORTED_MODULE_73__["default"])(store, api, actions);
16860
+ const passkeysActions = (0,_PasskeysState__WEBPACK_IMPORTED_MODULE_74__["default"])(store, api, actions);
16861
+ const profileActions = (0,_ProfileState__WEBPACK_IMPORTED_MODULE_75__["default"])(store, api, actions);
16862
+ const provisioningActions = (0,_ProvisioningState__WEBPACK_IMPORTED_MODULE_76__["default"])(store, api, actions);
16863
+ const resetPhoneNumberActions = (0,_ResetPhoneNumberState__WEBPACK_IMPORTED_MODULE_77__["default"])(store, api, actions);
16864
+ const rolesActions = (0,_RolesState__WEBPACK_IMPORTED_MODULE_78__["default"])(store, api, actions);
16865
+ const restrictionsActions = (0,_Security_RestrictionsState__WEBPACK_IMPORTED_MODULE_79__["default"])(store, api, actions);
16866
+ const securityCenterActions = (0,_Security_SecurityCenterState__WEBPACK_IMPORTED_MODULE_80__["default"])(store, api, actions);
16867
+ const securityPolicyActions = (0,_Security_SecurityPolicyState__WEBPACK_IMPORTED_MODULE_81__["default"])(store, api, actions);
16868
+ const sessionsPolicyActions = (0,_Security_SessionsPolicyState__WEBPACK_IMPORTED_MODULE_82__["default"])(store, api, actions);
16869
+ const sessionsActions = (0,_SessionsState__WEBPACK_IMPORTED_MODULE_83__["default"])(store, api, actions);
16870
+ const signUpActions = (0,_SignUpState__WEBPACK_IMPORTED_MODULE_84__["default"])(store, api, actions);
16871
+ const smsActions = (0,_SmsState__WEBPACK_IMPORTED_MODULE_85__["default"])(store, api, actions);
16872
+ const socialLoginActions = (0,_SocialLoginState__WEBPACK_IMPORTED_MODULE_86__["default"])(store, api, actions);
16873
+ const ssoActions = (0,_SSOState__WEBPACK_IMPORTED_MODULE_87__["default"])(store, api, actions);
16874
+ const stepUpActions = (0,_StepUpState__WEBPACK_IMPORTED_MODULE_88__["default"])(store, api, actions);
16875
+ const teamActions = (0,_TeamState__WEBPACK_IMPORTED_MODULE_89__["default"])(store, api, actions);
16876
+ const tenantsActions = (0,_TenantsState__WEBPACK_IMPORTED_MODULE_90__["default"])(store, api, actions);
16877
+ const usersEmailsPolicyActions = (0,_UsersEmailsPolicyState__WEBPACK_IMPORTED_MODULE_91__["default"])(store, api, actions);
16776
16878
  const stateActions = {
16777
16879
  acceptInvitationActions,
16778
16880
  accountSettingsActions,
@@ -16807,7 +16909,8 @@ const buildAuthActions = (store, api, actions, snapshotAuthState) => {
16807
16909
  ssoActions,
16808
16910
  stepUpActions,
16809
16911
  teamActions,
16810
- tenantsActions
16912
+ tenantsActions,
16913
+ usersEmailsPolicyActions
16811
16914
  };
16812
16915
  return [(0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
16813
16916
  setAuthState,
@@ -18574,7 +18677,6 @@ __webpack_require__.r(__webpack_exports__);
18574
18677
  /* harmony export */ isProxy: () => (/* reexport safe */ _helpers__WEBPACK_IMPORTED_MODULE_2__.isProxy),
18575
18678
  /* harmony export */ isResetPasswordRequired: () => (/* reexport safe */ _auth_helpers__WEBPACK_IMPORTED_MODULE_3__.isResetPasswordRequired),
18576
18679
  /* harmony export */ isSteppedUp: () => (/* reexport safe */ _auth_helpers__WEBPACK_IMPORTED_MODULE_3__.isSteppedUp),
18577
- /* harmony export */ isUsernamePayload: () => (/* reexport safe */ _auth_helpers__WEBPACK_IMPORTED_MODULE_3__.isUsernamePayload),
18578
18680
  /* harmony export */ mapMetaDataObjectToActions: () => (/* reexport safe */ _auth_helpers__WEBPACK_IMPORTED_MODULE_3__.mapMetaDataObjectToActions),
18579
18681
  /* harmony export */ omitProps: () => (/* reexport safe */ _helpers__WEBPACK_IMPORTED_MODULE_2__.omitProps),
18580
18682
  /* harmony export */ prepareIdentifiersForSignup: () => (/* reexport safe */ _auth_helpers__WEBPACK_IMPORTED_MODULE_3__.prepareIdentifiersForSignup),
@@ -18600,7 +18702,7 @@ __webpack_require__.r(__webpack_exports__);
18600
18702
  /* harmony import */ var _subscriptions_interfaces__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./subscriptions/interfaces */ "../../dist/@frontegg/redux-store/subscriptions/interfaces.js");
18601
18703
  /* harmony import */ var _vendor__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./vendor */ "../../dist/@frontegg/redux-store/vendor/index.js");
18602
18704
  /* harmony import */ var _audits__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./audits */ "../../dist/@frontegg/redux-store/audits/index.js");
18603
- /** @license Frontegg v7.74.0-alpha.1
18705
+ /** @license Frontegg v7.75.0-alpha.0
18604
18706
  *
18605
18707
  * This source code is licensed under the MIT license found in the
18606
18708
  * LICENSE file in the root directory of this source tree.
@@ -19708,7 +19810,8 @@ __webpack_require__.r(__webpack_exports__);
19708
19810
  /* harmony import */ var _teamActions_mocks__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! ./teamActions.mocks */ "../../dist/@frontegg/redux-store/mocks/auth-mocks/teamActions.mocks.js");
19709
19811
  /* harmony import */ var _tenantsActions_mocks__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(/*! ./tenantsActions.mocks */ "../../dist/@frontegg/redux-store/mocks/auth-mocks/tenantsActions.mocks.js");
19710
19812
  /* harmony import */ var _unlockAccountActions_mocks__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./unlockAccountActions.mocks */ "../../dist/@frontegg/redux-store/mocks/auth-mocks/unlockAccountActions.mocks.js");
19711
- /* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(/*! ../../helpers */ "../../dist/@frontegg/redux-store/helpers/common.js");
19813
+ /* harmony import */ var _usersEmailsPolicyActions_mocks__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(/*! ./usersEmailsPolicyActions.mocks */ "../../dist/@frontegg/redux-store/mocks/auth-mocks/usersEmailsPolicyActions.mocks.js");
19814
+ /* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(/*! ../../helpers */ "../../dist/@frontegg/redux-store/helpers/common.js");
19712
19815
 
19713
19816
 
19714
19817
  const _excluded = ["requestName"];
@@ -19747,6 +19850,7 @@ const _excluded = ["requestName"];
19747
19850
 
19748
19851
 
19749
19852
 
19853
+
19750
19854
 
19751
19855
 
19752
19856
  const buildAuthActions = (store, api, actions, snapshotAuthState) => {
@@ -19784,6 +19888,7 @@ const buildAuthActions = (store, api, actions, snapshotAuthState) => {
19784
19888
  const stepUpActions = (0,_stepUpActions_mocks__WEBPACK_IMPORTED_MODULE_33__["default"])(store, api, actions);
19785
19889
  const teamActions = (0,_teamActions_mocks__WEBPACK_IMPORTED_MODULE_34__["default"])(store, api, actions);
19786
19890
  const tenantsActions = (0,_tenantsActions_mocks__WEBPACK_IMPORTED_MODULE_35__["default"])(store, api, actions);
19891
+ const usersEmailsPolicyActions = (0,_usersEmailsPolicyActions_mocks__WEBPACK_IMPORTED_MODULE_36__["default"])(store, api, actions);
19787
19892
  const authStateActions = {
19788
19893
  acceptInvitationActions,
19789
19894
  accountSettingsActions,
@@ -19818,12 +19923,13 @@ const buildAuthActions = (store, api, actions, snapshotAuthState) => {
19818
19923
  ssoActions,
19819
19924
  stepUpActions,
19820
19925
  teamActions,
19821
- tenantsActions
19926
+ tenantsActions,
19927
+ usersEmailsPolicyActions
19822
19928
  };
19823
19929
  const setAuthState = state => {
19824
19930
  Object.keys(state).forEach(key => {
19825
19931
  const authKey = key;
19826
- if ((0,_helpers__WEBPACK_IMPORTED_MODULE_36__.isProxy)(store.auth[authKey])) {
19932
+ if ((0,_helpers__WEBPACK_IMPORTED_MODULE_37__.isProxy)(store.auth[authKey])) {
19827
19933
  Object.assign(store.auth[authKey], state[authKey]);
19828
19934
  } else {
19829
19935
  store.auth[authKey] = state[authKey];
@@ -19832,7 +19938,7 @@ const buildAuthActions = (store, api, actions, snapshotAuthState) => {
19832
19938
  };
19833
19939
  // eslint-disable-next-line @typescript-eslint/no-empty-function
19834
19940
  const resetAuthState = () => {
19835
- (0,_helpers__WEBPACK_IMPORTED_MODULE_36__.deepResetState)(store, ['auth'], snapshotAuthState);
19941
+ (0,_helpers__WEBPACK_IMPORTED_MODULE_37__.deepResetState)(store, ['auth'], snapshotAuthState);
19836
19942
  };
19837
19943
  const setUser = user => {
19838
19944
  setAuthState({
@@ -19856,7 +19962,7 @@ const buildAuthActions = (store, api, actions, snapshotAuthState) => {
19856
19962
  setErrorByRequestName,
19857
19963
  resetAuthState,
19858
19964
  setUser
19859
- }, acceptInvitationActions, accountSettingsActions, activateAccountActions, unlockAccountActions, allAccountsActions, allAccountsDialogActions, apiTokensActions, applicationsActions, customLoginActions, entitlementsActions, forgotPasswordActions, passwordRotationActions, groupsActions, groupsDialogsActions, impersonateActions, loginActions, mfaActions, passkeysActions, profileActions, provisioningActions, resetPhoneNumberActions, restrictionsActions, rolesActions, securityCenterActions, securityPolicyActions, sessionsActions, sessionsPolicyActions, signUpActions, smsActions, socialLoginActions, ssoActions, stepUpActions, teamActions, tenantsActions);
19965
+ }, acceptInvitationActions, accountSettingsActions, activateAccountActions, unlockAccountActions, allAccountsActions, allAccountsDialogActions, apiTokensActions, applicationsActions, customLoginActions, entitlementsActions, forgotPasswordActions, passwordRotationActions, groupsActions, groupsDialogsActions, impersonateActions, loginActions, mfaActions, passkeysActions, profileActions, provisioningActions, resetPhoneNumberActions, restrictionsActions, rolesActions, securityCenterActions, securityPolicyActions, sessionsActions, sessionsPolicyActions, signUpActions, smsActions, socialLoginActions, ssoActions, stepUpActions, teamActions, tenantsActions, usersEmailsPolicyActions);
19860
19966
  return {
19861
19967
  authActions,
19862
19968
  authStateActions
@@ -20296,6 +20402,36 @@ const _excluded = ["callback", "profilePictureUrl"];
20296
20402
  });
20297
20403
  (_payload$callback = payload.callback) == null ? void 0 : _payload$callback.call(payload, true);
20298
20404
  };
20405
+ mockedActions.updateEmail = async payload => {
20406
+ var _payload$callback2;
20407
+ mockedActions.setProfileState({
20408
+ saving: true,
20409
+ error: null,
20410
+ loading: true
20411
+ });
20412
+ await (0,_helpers__WEBPACK_IMPORTED_MODULE_4__.delay)();
20413
+ mockedActions.setProfileState({
20414
+ saving: false,
20415
+ error: null,
20416
+ loading: false
20417
+ });
20418
+ (_payload$callback2 = payload.callback) == null ? void 0 : _payload$callback2.call(payload, true);
20419
+ };
20420
+ mockedActions.verifyEmail = async payload => {
20421
+ var _payload$callback3;
20422
+ mockedActions.setProfileState({
20423
+ saving: true,
20424
+ error: null,
20425
+ loading: true
20426
+ });
20427
+ await (0,_helpers__WEBPACK_IMPORTED_MODULE_4__.delay)();
20428
+ mockedActions.setProfileState({
20429
+ saving: false,
20430
+ error: null,
20431
+ loading: false
20432
+ });
20433
+ (_payload$callback3 = payload.callback) == null ? void 0 : _payload$callback3.call(payload, true);
20434
+ };
20299
20435
  return mockedActions;
20300
20436
  });
20301
20437
 
@@ -21796,6 +21932,28 @@ __webpack_require__.r(__webpack_exports__);
21796
21932
 
21797
21933
  /***/ }),
21798
21934
 
21935
+ /***/ "../../dist/@frontegg/redux-store/mocks/auth-mocks/usersEmailsPolicyActions.mocks.js":
21936
+ /*!*******************************************************************************************!*\
21937
+ !*** ../../dist/@frontegg/redux-store/mocks/auth-mocks/usersEmailsPolicyActions.mocks.js ***!
21938
+ \*******************************************************************************************/
21939
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
21940
+
21941
+ "use strict";
21942
+ __webpack_require__.r(__webpack_exports__);
21943
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
21944
+ /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
21945
+ /* harmony export */ });
21946
+ /* harmony import */ var _auth_UsersEmailsPolicyState__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../auth/UsersEmailsPolicyState */ "../../dist/@frontegg/redux-store/auth/UsersEmailsPolicyState/actions.js");
21947
+ /* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../helpers */ "../../dist/@frontegg/redux-store/mocks/helpers.js");
21948
+
21949
+
21950
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((store, api, sharedActions) => {
21951
+ const originalActions = (0,_auth_UsersEmailsPolicyState__WEBPACK_IMPORTED_MODULE_0__["default"])(store, api, sharedActions);
21952
+ return (0,_helpers__WEBPACK_IMPORTED_MODULE_1__.mockActionsExpect)(originalActions, ['loadUserEmailPolicyState']);
21953
+ });
21954
+
21955
+ /***/ }),
21956
+
21799
21957
  /***/ "../../dist/@frontegg/redux-store/mocks/connectivity-mocks/index.js":
21800
21958
  /*!**************************************************************************!*\
21801
21959
  !*** ../../dist/@frontegg/redux-store/mocks/connectivity-mocks/index.js ***!
@@ -24814,16 +24972,16 @@ __webpack_require__.r(__webpack_exports__);
24814
24972
  /* harmony export */ });
24815
24973
  class FronteggNativeModule {
24816
24974
  constructor() {
24817
- this.loginWithSSO = identifier => {
24975
+ this.loginWithSSO = email => {
24818
24976
  if (this.isIOSNativeBridgeAvailable()) {
24819
24977
  var _window$webkit, _window$webkit$messag, _window$webkit$messag2;
24820
24978
  (_window$webkit = window.webkit) == null ? void 0 : (_window$webkit$messag = _window$webkit.messageHandlers) == null ? void 0 : (_window$webkit$messag2 = _window$webkit$messag.FronteggNativeBridge) == null ? void 0 : _window$webkit$messag2.postMessage(JSON.stringify({
24821
24979
  action: 'loginWithSSO',
24822
- payload: identifier
24980
+ payload: email
24823
24981
  }));
24824
24982
  } else if (this.isAndroidNativeBridgeAvailable()) {
24825
24983
  var _window$FronteggNativ;
24826
- (_window$FronteggNativ = window.FronteggNativeBridge) == null ? void 0 : _window$FronteggNativ.loginWithSSO(identifier);
24984
+ (_window$FronteggNativ = window.FronteggNativeBridge) == null ? void 0 : _window$FronteggNativ.loginWithSSO(email);
24827
24985
  } else {
24828
24986
  throw new Error('FronteggNativeBridge is not available');
24829
24987
  }
@@ -26749,7 +26907,6 @@ const _excluded = ["type"],
26749
26907
 
26750
26908
 
26751
26909
 
26752
-
26753
26910
  class AuthenticationApi extends _BaseApiClient__WEBPACK_IMPORTED_MODULE_6__.BaseApiClient {
26754
26911
  constructor(appName) {
26755
26912
  super(appName);
@@ -27295,19 +27452,11 @@ class AuthenticationApi extends _BaseApiClient__WEBPACK_IMPORTED_MODULE_6__.Base
27295
27452
  });
27296
27453
  };
27297
27454
  this.passwordlessPreLogin = async _ref => {
27298
- var _usernameToTypeMapper;
27299
27455
  let {
27300
27456
  type
27301
27457
  } = _ref,
27302
27458
  body = (0,_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__["default"])(_ref, _excluded);
27303
- const usernameToTypeMapper = {
27304
- [_enums__WEBPACK_IMPORTED_MODULE_3__.AuthStrategyEnum.UsernameAndCode]: _enums__WEBPACK_IMPORTED_MODULE_3__.AuthStrategyEnum.Code,
27305
- [_enums__WEBPACK_IMPORTED_MODULE_3__.AuthStrategyEnum.UsernameAndMagicLink]: _enums__WEBPACK_IMPORTED_MODULE_3__.AuthStrategyEnum.MagicLink,
27306
- [_enums__WEBPACK_IMPORTED_MODULE_3__.AuthStrategyEnum.UsernameAndSms]: _enums__WEBPACK_IMPORTED_MODULE_3__.AuthStrategyEnum.SmsCode,
27307
- [_enums__WEBPACK_IMPORTED_MODULE_3__.AuthStrategyEnum.UsernameAndPassword]: _enums__WEBPACK_IMPORTED_MODULE_3__.AuthStrategyEnum.EmailAndPassword
27308
- };
27309
- const mappedType = ((_usernameToTypeMapper = usernameToTypeMapper[type]) == null ? void 0 : _usernameToTypeMapper.toLowerCase()) || type.toLowerCase();
27310
- return this.post(`${_constants__WEBPACK_IMPORTED_MODULE_11__.urls.identity.auth.v1}/passwordless/${mappedType}/prelogin`, body);
27459
+ return this.post(`${_constants__WEBPACK_IMPORTED_MODULE_11__.urls.identity.auth.v1}/passwordless/${type.toLocaleLowerCase()}/prelogin`, body);
27311
27460
  };
27312
27461
  this.passwordlessPostLoginV2 = async _ref2 => {
27313
27462
  let {
@@ -28669,31 +28818,31 @@ __webpack_require__.r(__webpack_exports__);
28669
28818
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
28670
28819
  /* harmony export */ ApplicationAccessType: () => (/* reexport safe */ _applications_interfaces__WEBPACK_IMPORTED_MODULE_17__.ApplicationAccessType),
28671
28820
  /* harmony export */ AuthStrategyEnum: () => (/* reexport safe */ _auth_enums__WEBPACK_IMPORTED_MODULE_2__.AuthStrategyEnum),
28672
- /* harmony export */ ContextHolder: () => (/* reexport safe */ _ContextHolder__WEBPACK_IMPORTED_MODULE_42__.ContextHolder),
28821
+ /* harmony export */ ContextHolder: () => (/* reexport safe */ _ContextHolder__WEBPACK_IMPORTED_MODULE_43__.ContextHolder),
28673
28822
  /* harmony export */ DirectoryApi: () => (/* reexport safe */ _directory_index__WEBPACK_IMPORTED_MODULE_11__.DirectoryApi),
28674
28823
  /* harmony export */ FRONTEGG_SEPARATE_TABS_BY_TENANT: () => (/* reexport safe */ _auth__WEBPACK_IMPORTED_MODULE_4__.FRONTEGG_SEPARATE_TABS_BY_TENANT),
28675
28824
  /* harmony export */ FeatureFlags: () => (/* reexport safe */ _feature_flags_index__WEBPACK_IMPORTED_MODULE_10__.FeatureFlags),
28676
28825
  /* harmony export */ FeatureFlagsApi: () => (/* reexport safe */ _feature_flags_index__WEBPACK_IMPORTED_MODULE_10__.FeatureFlagsApi),
28677
- /* harmony export */ FetchClient: () => (/* reexport safe */ _FetchClient__WEBPACK_IMPORTED_MODULE_41__.FetchClient),
28678
- /* harmony export */ FronteggApiError: () => (/* reexport safe */ _error__WEBPACK_IMPORTED_MODULE_43__.FronteggApiError),
28679
- /* harmony export */ FronteggContext: () => (/* reexport safe */ _ContextHolder__WEBPACK_IMPORTED_MODULE_42__.FronteggContext),
28826
+ /* harmony export */ FetchClient: () => (/* reexport safe */ _FetchClient__WEBPACK_IMPORTED_MODULE_42__.FetchClient),
28827
+ /* harmony export */ FronteggApiError: () => (/* reexport safe */ _error__WEBPACK_IMPORTED_MODULE_44__.FronteggApiError),
28828
+ /* harmony export */ FronteggContext: () => (/* reexport safe */ _ContextHolder__WEBPACK_IMPORTED_MODULE_43__.FronteggContext),
28680
28829
  /* harmony export */ FronteggFrameworks: () => (/* reexport safe */ _interfaces__WEBPACK_IMPORTED_MODULE_0__.FronteggFrameworks),
28681
28830
  /* harmony export */ GENERIC_ERROR_CODE: () => (/* reexport safe */ _constants__WEBPACK_IMPORTED_MODULE_18__.GENERIC_ERROR_CODE),
28682
28831
  /* harmony export */ GENERIC_ERROR_MESSAGE: () => (/* reexport safe */ _constants__WEBPACK_IMPORTED_MODULE_18__.GENERIC_ERROR_MESSAGE),
28683
28832
  /* harmony export */ GetUsersFilterPreset: () => (/* reexport safe */ _users_interfaces__WEBPACK_IMPORTED_MODULE_14__.GetUsersFilterPreset),
28684
28833
  /* harmony export */ GroupManagedByEnum: () => (/* reexport safe */ _groups_enums__WEBPACK_IMPORTED_MODULE_13__.GroupManagedByEnum),
28685
28834
  /* harmony export */ GroupRelations: () => (/* reexport safe */ _groups_enums__WEBPACK_IMPORTED_MODULE_13__.GroupRelations),
28686
- /* harmony export */ ISubscriptionCancellationPolicy: () => (/* reexport safe */ _subscriptions__WEBPACK_IMPORTED_MODULE_44__.ISubscriptionCancellationPolicy),
28687
- /* harmony export */ ISubscriptionStatus: () => (/* reexport safe */ _subscriptions__WEBPACK_IMPORTED_MODULE_44__.ISubscriptionStatus),
28835
+ /* harmony export */ ISubscriptionCancellationPolicy: () => (/* reexport safe */ _subscriptions__WEBPACK_IMPORTED_MODULE_45__.ISubscriptionCancellationPolicy),
28836
+ /* harmony export */ ISubscriptionStatus: () => (/* reexport safe */ _subscriptions__WEBPACK_IMPORTED_MODULE_45__.ISubscriptionStatus),
28688
28837
  /* harmony export */ InsightCode: () => (/* reexport safe */ _security_center_interfaces__WEBPACK_IMPORTED_MODULE_16__.InsightCode),
28689
28838
  /* harmony export */ LOAD_AUTHORIZATION_FF: () => (/* reexport safe */ _auth_interfaces__WEBPACK_IMPORTED_MODULE_1__.LOAD_AUTHORIZATION_FF),
28690
28839
  /* harmony export */ MFAStrategyEnum: () => (/* reexport safe */ _auth_interfaces__WEBPACK_IMPORTED_MODULE_1__.MFAStrategyEnum),
28691
28840
  /* harmony export */ MachineToMachineAuthStrategy: () => (/* reexport safe */ _auth_enums__WEBPACK_IMPORTED_MODULE_2__.MachineToMachineAuthStrategy),
28692
28841
  /* harmony export */ NotEntitledJustification: () => (/* reexport safe */ _entitlements_interfaces__WEBPACK_IMPORTED_MODULE_15__.NotEntitledJustification),
28693
28842
  /* harmony export */ PaginationOrderEnum: () => (/* reexport safe */ _interfaces__WEBPACK_IMPORTED_MODULE_0__.PaginationOrderEnum),
28694
- /* harmony export */ PaymentMethodType: () => (/* reexport safe */ _subscriptions__WEBPACK_IMPORTED_MODULE_44__.PaymentMethodType),
28843
+ /* harmony export */ PaymentMethodType: () => (/* reexport safe */ _subscriptions__WEBPACK_IMPORTED_MODULE_45__.PaymentMethodType),
28695
28844
  /* harmony export */ PermissionAssignmentTypeEnum: () => (/* reexport safe */ _roles_interfaces__WEBPACK_IMPORTED_MODULE_7__.PermissionAssignmentTypeEnum),
28696
- /* harmony export */ ProviderType: () => (/* reexport safe */ _subscriptions__WEBPACK_IMPORTED_MODULE_44__.ProviderType),
28845
+ /* harmony export */ ProviderType: () => (/* reexport safe */ _subscriptions__WEBPACK_IMPORTED_MODULE_45__.ProviderType),
28697
28846
  /* harmony export */ RecommendationActionKey: () => (/* reexport safe */ _security_center_interfaces__WEBPACK_IMPORTED_MODULE_16__.RecommendationActionKey),
28698
28847
  /* harmony export */ RecommendationCode: () => (/* reexport safe */ _security_center_interfaces__WEBPACK_IMPORTED_MODULE_16__.RecommendationCode),
28699
28848
  /* harmony export */ RecommendationSeverity: () => (/* reexport safe */ _security_center_interfaces__WEBPACK_IMPORTED_MODULE_16__.RecommendationSeverity),
@@ -28713,7 +28862,7 @@ __webpack_require__.r(__webpack_exports__);
28713
28862
  /* harmony export */ api: () => (/* binding */ api),
28714
28863
  /* harmony export */ createApiClient: () => (/* binding */ createApiClient),
28715
28864
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__),
28716
- /* harmony export */ fetch: () => (/* reexport safe */ _FetchClient__WEBPACK_IMPORTED_MODULE_41__["default"]),
28865
+ /* harmony export */ fetch: () => (/* reexport safe */ _FetchClient__WEBPACK_IMPORTED_MODULE_42__["default"]),
28717
28866
  /* harmony export */ fronteggAuthApiRoutesRegex: () => (/* reexport safe */ _routers__WEBPACK_IMPORTED_MODULE_9__.fronteggAuthApiRoutesRegex),
28718
28867
  /* harmony export */ fronteggEntitlementsV2Url: () => (/* reexport safe */ _routers__WEBPACK_IMPORTED_MODULE_9__.fronteggEntitlementsV2Url),
28719
28868
  /* harmony export */ fronteggHeaders: () => (/* reexport safe */ _interfaces__WEBPACK_IMPORTED_MODULE_0__.fronteggHeaders),
@@ -28729,10 +28878,10 @@ __webpack_require__.r(__webpack_exports__);
28729
28878
  /* harmony export */ setTabTenantInSessionStorage: () => (/* reexport safe */ _auth__WEBPACK_IMPORTED_MODULE_3__.setTabTenantInSessionStorage)
28730
28879
  /* harmony export */ });
28731
28880
  /* harmony import */ var _auth_enums__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./auth/enums */ "../../dist/@frontegg/rest-api/auth/enums.js");
28732
- /* harmony import */ var _subscriptions__WEBPACK_IMPORTED_MODULE_44__ = __webpack_require__(/*! ./subscriptions */ "../../dist/@frontegg/rest-api/subscriptions/enums.js");
28733
- /* harmony import */ var _error__WEBPACK_IMPORTED_MODULE_43__ = __webpack_require__(/*! ./error */ "../../dist/@frontegg/rest-api/error.js");
28734
- /* harmony import */ var _FetchClient__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(/*! ./FetchClient */ "../../dist/@frontegg/rest-api/FetchClient.js");
28735
- /* harmony import */ var _ContextHolder__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__(/*! ./ContextHolder */ "../../dist/@frontegg/rest-api/ContextHolder/index.js");
28881
+ /* harmony import */ var _subscriptions__WEBPACK_IMPORTED_MODULE_45__ = __webpack_require__(/*! ./subscriptions */ "../../dist/@frontegg/rest-api/subscriptions/enums.js");
28882
+ /* harmony import */ var _error__WEBPACK_IMPORTED_MODULE_44__ = __webpack_require__(/*! ./error */ "../../dist/@frontegg/rest-api/error.js");
28883
+ /* harmony import */ var _FetchClient__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__(/*! ./FetchClient */ "../../dist/@frontegg/rest-api/FetchClient.js");
28884
+ /* harmony import */ var _ContextHolder__WEBPACK_IMPORTED_MODULE_43__ = __webpack_require__(/*! ./ContextHolder */ "../../dist/@frontegg/rest-api/ContextHolder/index.js");
28736
28885
  /* harmony import */ var _auth__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./auth */ "../../dist/@frontegg/rest-api/auth/index.js");
28737
28886
  /* harmony import */ var _auth_secutiry_poilicy__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ./auth/secutiry-poilicy */ "../../dist/@frontegg/rest-api/auth/secutiry-poilicy/index.js");
28738
28887
  /* harmony import */ var _users__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(/*! ./users */ "../../dist/@frontegg/rest-api/users/index.js");
@@ -28757,6 +28906,7 @@ __webpack_require__.r(__webpack_exports__);
28757
28906
  /* harmony import */ var _user_phone_numbers__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(/*! ./user-phone-numbers */ "../../dist/@frontegg/rest-api/user-phone-numbers/index.js");
28758
28907
  /* harmony import */ var _applications__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(/*! ./applications */ "../../dist/@frontegg/rest-api/applications/index.js");
28759
28908
  /* harmony import */ var _velo__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(/*! ./velo */ "../../dist/@frontegg/rest-api/velo/index.js");
28909
+ /* harmony import */ var _users_emails_policy__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(/*! ./users-emails-policy */ "../../dist/@frontegg/rest-api/users-emails-policy/index.js");
28760
28910
  /* harmony import */ var _interfaces__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./interfaces */ "../../dist/@frontegg/rest-api/interfaces.js");
28761
28911
  /* harmony import */ var _auth_interfaces__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./auth/interfaces */ "../../dist/@frontegg/rest-api/auth/interfaces.js");
28762
28912
  /* harmony import */ var _auth__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./auth */ "../../dist/@frontegg/rest-api/auth/utils.js");
@@ -28773,7 +28923,7 @@ __webpack_require__.r(__webpack_exports__);
28773
28923
  /* harmony import */ var _security_center_interfaces__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./security-center/interfaces */ "../../dist/@frontegg/rest-api/security-center/interfaces.js");
28774
28924
  /* harmony import */ var _applications_interfaces__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./applications/interfaces */ "../../dist/@frontegg/rest-api/applications/interfaces.js");
28775
28925
  /* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./constants */ "../../dist/@frontegg/rest-api/constants.js");
28776
- /** @license Frontegg v7.74.0-alpha.1
28926
+ /** @license Frontegg v7.75.0-alpha.0
28777
28927
  *
28778
28928
  * This source code is licensed under the MIT license found in the
28779
28929
  * LICENSE file in the root directory of this source tree.
@@ -28835,6 +28985,8 @@ __webpack_require__.r(__webpack_exports__);
28835
28985
 
28836
28986
 
28837
28987
 
28988
+
28989
+
28838
28990
 
28839
28991
 
28840
28992
 
@@ -28867,7 +29019,8 @@ const api = {
28867
29019
  securityCenter: _security_center__WEBPACK_IMPORTED_MODULE_37__["default"],
28868
29020
  userPhoneNumbers: _user_phone_numbers__WEBPACK_IMPORTED_MODULE_38__["default"],
28869
29021
  applications: _applications__WEBPACK_IMPORTED_MODULE_39__["default"],
28870
- velo: _velo__WEBPACK_IMPORTED_MODULE_40__["default"]
29022
+ velo: _velo__WEBPACK_IMPORTED_MODULE_40__["default"],
29023
+ userEmailPolicy: _users_emails_policy__WEBPACK_IMPORTED_MODULE_41__["default"]
28871
29024
  };
28872
29025
  const createApiClient = appName => ({
28873
29026
  auth: new _auth__WEBPACK_IMPORTED_MODULE_19__.AuthenticationApi(appName),
@@ -28893,24 +29046,25 @@ const createApiClient = appName => ({
28893
29046
  securityCenter: new _security_center__WEBPACK_IMPORTED_MODULE_37__.SecurityCenterApi(appName),
28894
29047
  userPhoneNumbers: new _user_phone_numbers__WEBPACK_IMPORTED_MODULE_38__.PhoneNumbersApi(appName),
28895
29048
  applications: new _applications__WEBPACK_IMPORTED_MODULE_39__.ApplicationsApi(appName),
28896
- velo: new _velo__WEBPACK_IMPORTED_MODULE_40__.VeloApi(appName)
29049
+ velo: new _velo__WEBPACK_IMPORTED_MODULE_40__.VeloApi(appName),
29050
+ userEmailPolicy: new _users_emails_policy__WEBPACK_IMPORTED_MODULE_41__.UserEmailPolicyApi(appName)
28897
29051
  });
28898
29052
 
28899
29053
  /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
28900
- fetch: _FetchClient__WEBPACK_IMPORTED_MODULE_41__["default"],
28901
- FetchClient: _FetchClient__WEBPACK_IMPORTED_MODULE_41__.FetchClient,
28902
- ContextHolder: _ContextHolder__WEBPACK_IMPORTED_MODULE_42__.ContextHolder,
28903
- FronteggContext: _ContextHolder__WEBPACK_IMPORTED_MODULE_42__.FronteggContext,
29054
+ fetch: _FetchClient__WEBPACK_IMPORTED_MODULE_42__["default"],
29055
+ FetchClient: _FetchClient__WEBPACK_IMPORTED_MODULE_42__.FetchClient,
29056
+ ContextHolder: _ContextHolder__WEBPACK_IMPORTED_MODULE_43__.ContextHolder,
29057
+ FronteggContext: _ContextHolder__WEBPACK_IMPORTED_MODULE_43__.FronteggContext,
28904
29058
  api,
28905
29059
  createApiClient,
28906
- FronteggApiError: _error__WEBPACK_IMPORTED_MODULE_43__.FronteggApiError,
29060
+ FronteggApiError: _error__WEBPACK_IMPORTED_MODULE_44__.FronteggApiError,
28907
29061
  AuthStrategyEnum: _auth_enums__WEBPACK_IMPORTED_MODULE_2__.AuthStrategyEnum,
28908
29062
  MachineToMachineAuthStrategy: _auth_enums__WEBPACK_IMPORTED_MODULE_2__.MachineToMachineAuthStrategy,
28909
29063
  SocialLoginProviders: _auth_enums__WEBPACK_IMPORTED_MODULE_2__.SocialLoginProviders,
28910
- ISubscriptionCancellationPolicy: _subscriptions__WEBPACK_IMPORTED_MODULE_44__.ISubscriptionCancellationPolicy,
28911
- ISubscriptionStatus: _subscriptions__WEBPACK_IMPORTED_MODULE_44__.ISubscriptionStatus,
28912
- PaymentMethodType: _subscriptions__WEBPACK_IMPORTED_MODULE_44__.PaymentMethodType,
28913
- ProviderType: _subscriptions__WEBPACK_IMPORTED_MODULE_44__.ProviderType
29064
+ ISubscriptionCancellationPolicy: _subscriptions__WEBPACK_IMPORTED_MODULE_45__.ISubscriptionCancellationPolicy,
29065
+ ISubscriptionStatus: _subscriptions__WEBPACK_IMPORTED_MODULE_45__.ISubscriptionStatus,
29066
+ PaymentMethodType: _subscriptions__WEBPACK_IMPORTED_MODULE_45__.PaymentMethodType,
29067
+ ProviderType: _subscriptions__WEBPACK_IMPORTED_MODULE_45__.ProviderType
28914
29068
  });
28915
29069
 
28916
29070
  /***/ }),
@@ -30189,6 +30343,17 @@ class TeamsApi extends _BaseApiClient__WEBPACK_IMPORTED_MODULE_1__.BaseApiClient
30189
30343
  addRoles: true
30190
30344
  });
30191
30345
  };
30346
+ this.updateEmail = async email => {
30347
+ return this.post(`${_constants__WEBPACK_IMPORTED_MODULE_2__.urls.identity.users.v1}/email/me`, {
30348
+ email
30349
+ });
30350
+ };
30351
+ this.verifyEmail = async (email, code) => {
30352
+ return this.post(`${_constants__WEBPACK_IMPORTED_MODULE_2__.urls.identity.users.v1}/email/me/verify`, {
30353
+ email,
30354
+ code
30355
+ });
30356
+ };
30192
30357
  this.updateProfile = async body => {
30193
30358
  return this.put(`${_constants__WEBPACK_IMPORTED_MODULE_2__.urls.identity.users.v2}/me`, body);
30194
30359
  };
@@ -30470,6 +30635,37 @@ class PhoneNumbersApi extends _BaseApiClient__WEBPACK_IMPORTED_MODULE_0__.BaseAp
30470
30635
 
30471
30636
  /***/ }),
30472
30637
 
30638
+ /***/ "../../dist/@frontegg/rest-api/users-emails-policy/index.js":
30639
+ /*!******************************************************************!*\
30640
+ !*** ../../dist/@frontegg/rest-api/users-emails-policy/index.js ***!
30641
+ \******************************************************************/
30642
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
30643
+
30644
+ "use strict";
30645
+ __webpack_require__.r(__webpack_exports__);
30646
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
30647
+ /* harmony export */ UserEmailPolicyApi: () => (/* binding */ UserEmailPolicyApi),
30648
+ /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
30649
+ /* harmony export */ });
30650
+ /* harmony import */ var _BaseApiClient__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../BaseApiClient */ "../../dist/@frontegg/rest-api/BaseApiClient.js");
30651
+ /* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../constants */ "../../dist/@frontegg/rest-api/constants.js");
30652
+
30653
+
30654
+ class UserEmailPolicyApi extends _BaseApiClient__WEBPACK_IMPORTED_MODULE_0__.BaseApiClient {
30655
+ constructor(appName) {
30656
+ super(appName);
30657
+ this.getUserEmailPolicyConfig = async () => {
30658
+ return this.get(`${_constants__WEBPACK_IMPORTED_MODULE_1__.urls.identity.configurations.v1}/user-emails-policy`);
30659
+ };
30660
+ }
30661
+
30662
+ /** Retrieve users email policy config. */
30663
+ }
30664
+
30665
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (new UserEmailPolicyApi('default'));
30666
+
30667
+ /***/ }),
30668
+
30473
30669
  /***/ "../../dist/@frontegg/rest-api/users/index.js":
30474
30670
  /*!****************************************************!*\
30475
30671
  !*** ../../dist/@frontegg/rest-api/users/index.js ***!
@@ -31407,7 +31603,7 @@ __webpack_require__.r(__webpack_exports__);
31407
31603
  /* harmony export */ });
31408
31604
  /* harmony import */ var _ThemeOptions__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ThemeOptions */ "../../dist/@frontegg/types/ThemeOptions/index.js");
31409
31605
  /* harmony import */ var _Metadata__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Metadata */ "../../dist/@frontegg/types/Metadata/index.js");
31410
- /** @license Frontegg v7.74.0-alpha.1
31606
+ /** @license Frontegg v7.75.0-alpha.0
31411
31607
  *
31412
31608
  * This source code is licensed under the MIT license found in the
31413
31609
  * LICENSE file in the root directory of this source tree.