@frontegg/js 7.74.0 → 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.
- package/index.js +1 -1
- package/node/index.js +1 -1
- package/node/version.js +1 -1
- package/package.json +2 -2
- package/umd/frontegg.development.js +337 -107
- package/umd/frontegg.production.min.js +1 -1
- package/umd/frontegg.production.min.js.LICENSE.txt +1 -1
- package/version.js +1 -1
|
@@ -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.
|
|
1783
|
+
cdnVersion: '7.75.0-alpha.0'
|
|
1784
1784
|
});
|
|
1785
1785
|
|
|
1786
1786
|
/***/ }),
|
|
@@ -10095,6 +10095,61 @@ const _excluded = ["callback", "profilePictureUrl"];
|
|
|
10095
10095
|
});
|
|
10096
10096
|
}
|
|
10097
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
|
+
};
|
|
10098
10153
|
const saveProfile = async _payload => {
|
|
10099
10154
|
const {
|
|
10100
10155
|
callback,
|
|
@@ -10172,7 +10227,9 @@ const _excluded = ["callback", "profilePictureUrl"];
|
|
|
10172
10227
|
resetProfileState,
|
|
10173
10228
|
loadProfile,
|
|
10174
10229
|
saveProfile,
|
|
10175
|
-
changePassword
|
|
10230
|
+
changePassword,
|
|
10231
|
+
updateEmail,
|
|
10232
|
+
verifyEmail
|
|
10176
10233
|
};
|
|
10177
10234
|
});
|
|
10178
10235
|
|
|
@@ -16296,6 +16353,69 @@ const initialState = {
|
|
|
16296
16353
|
|
|
16297
16354
|
/***/ }),
|
|
16298
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
|
+
|
|
16299
16419
|
/***/ "../../dist/@frontegg/redux-store/auth/helpers.js":
|
|
16300
16420
|
/*!********************************************************!*\
|
|
16301
16421
|
!*** ../../dist/@frontegg/redux-store/auth/helpers.js ***!
|
|
@@ -16467,74 +16587,76 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
16467
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");
|
|
16468
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");
|
|
16469
16589
|
/* harmony import */ var _AcceptInvitationState__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ./AcceptInvitationState */ "../../dist/@frontegg/redux-store/auth/AcceptInvitationState/state.js");
|
|
16470
|
-
/* harmony import */ var
|
|
16590
|
+
/* harmony import */ var _AcceptInvitationState__WEBPACK_IMPORTED_MODULE_57__ = __webpack_require__(/*! ./AcceptInvitationState */ "../../dist/@frontegg/redux-store/auth/AcceptInvitationState/actions.js");
|
|
16471
16591
|
/* harmony import */ var _AccountSettingsState__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ./AccountSettingsState */ "../../dist/@frontegg/redux-store/auth/AccountSettingsState/state.js");
|
|
16472
|
-
/* harmony import */ var
|
|
16592
|
+
/* harmony import */ var _AccountSettingsState__WEBPACK_IMPORTED_MODULE_58__ = __webpack_require__(/*! ./AccountSettingsState */ "../../dist/@frontegg/redux-store/auth/AccountSettingsState/actions.js");
|
|
16473
16593
|
/* harmony import */ var _ActivateAccountState__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ./ActivateAccountState */ "../../dist/@frontegg/redux-store/auth/ActivateAccountState/state.js");
|
|
16474
|
-
/* harmony import */ var
|
|
16594
|
+
/* harmony import */ var _ActivateAccountState__WEBPACK_IMPORTED_MODULE_59__ = __webpack_require__(/*! ./ActivateAccountState */ "../../dist/@frontegg/redux-store/auth/ActivateAccountState/actions.js");
|
|
16475
16595
|
/* harmony import */ var _UnlockAccountState__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ./UnlockAccountState */ "../../dist/@frontegg/redux-store/auth/UnlockAccountState/state.js");
|
|
16476
|
-
/* harmony import */ var
|
|
16596
|
+
/* harmony import */ var _UnlockAccountState__WEBPACK_IMPORTED_MODULE_60__ = __webpack_require__(/*! ./UnlockAccountState */ "../../dist/@frontegg/redux-store/auth/UnlockAccountState/actions.js");
|
|
16477
16597
|
/* harmony import */ var _ApiTokensState__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ./ApiTokensState */ "../../dist/@frontegg/redux-store/auth/ApiTokensState/state.js");
|
|
16478
|
-
/* harmony import */ var
|
|
16598
|
+
/* harmony import */ var _ApiTokensState__WEBPACK_IMPORTED_MODULE_61__ = __webpack_require__(/*! ./ApiTokensState */ "../../dist/@frontegg/redux-store/auth/ApiTokensState/actions.js");
|
|
16479
16599
|
/* harmony import */ var _ApplicationsState__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ./ApplicationsState */ "../../dist/@frontegg/redux-store/auth/ApplicationsState/state.js");
|
|
16480
|
-
/* harmony import */ var
|
|
16600
|
+
/* harmony import */ var _ApplicationsState__WEBPACK_IMPORTED_MODULE_62__ = __webpack_require__(/*! ./ApplicationsState */ "../../dist/@frontegg/redux-store/auth/ApplicationsState/actions.js");
|
|
16481
16601
|
/* harmony import */ var _CustomLoginState__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ./CustomLoginState */ "../../dist/@frontegg/redux-store/auth/CustomLoginState/state.js");
|
|
16482
|
-
/* harmony import */ var
|
|
16602
|
+
/* harmony import */ var _CustomLoginState__WEBPACK_IMPORTED_MODULE_63__ = __webpack_require__(/*! ./CustomLoginState */ "../../dist/@frontegg/redux-store/auth/CustomLoginState/actions.js");
|
|
16483
16603
|
/* harmony import */ var _ForgotPasswordState__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ./ForgotPasswordState */ "../../dist/@frontegg/redux-store/auth/ForgotPasswordState/state.js");
|
|
16484
|
-
/* harmony import */ var
|
|
16604
|
+
/* harmony import */ var _ForgotPasswordState__WEBPACK_IMPORTED_MODULE_65__ = __webpack_require__(/*! ./ForgotPasswordState */ "../../dist/@frontegg/redux-store/auth/ForgotPasswordState/actions.js");
|
|
16485
16605
|
/* harmony import */ var _PasswordRotationState__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! ./PasswordRotationState */ "../../dist/@frontegg/redux-store/auth/PasswordRotationState/state.js");
|
|
16486
|
-
/* harmony import */ var
|
|
16606
|
+
/* harmony import */ var _PasswordRotationState__WEBPACK_IMPORTED_MODULE_66__ = __webpack_require__(/*! ./PasswordRotationState */ "../../dist/@frontegg/redux-store/auth/PasswordRotationState/actions.js");
|
|
16487
16607
|
/* harmony import */ var _GroupsState__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! ./GroupsState */ "../../dist/@frontegg/redux-store/auth/GroupsState/state.js");
|
|
16488
|
-
/* harmony import */ var
|
|
16608
|
+
/* harmony import */ var _GroupsState__WEBPACK_IMPORTED_MODULE_67__ = __webpack_require__(/*! ./GroupsState */ "../../dist/@frontegg/redux-store/auth/GroupsState/actions.js");
|
|
16489
16609
|
/* harmony import */ var _GroupsDialogsState__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! ./GroupsDialogsState */ "../../dist/@frontegg/redux-store/auth/GroupsDialogsState/state.js");
|
|
16490
|
-
/* harmony import */ var
|
|
16610
|
+
/* harmony import */ var _GroupsDialogsState__WEBPACK_IMPORTED_MODULE_68__ = __webpack_require__(/*! ./GroupsDialogsState */ "../../dist/@frontegg/redux-store/auth/GroupsDialogsState/actions.js");
|
|
16491
16611
|
/* harmony import */ var _ImpersonateState__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! ./ImpersonateState */ "../../dist/@frontegg/redux-store/auth/ImpersonateState/state.js");
|
|
16492
|
-
/* harmony import */ var
|
|
16612
|
+
/* harmony import */ var _ImpersonateState__WEBPACK_IMPORTED_MODULE_69__ = __webpack_require__(/*! ./ImpersonateState */ "../../dist/@frontegg/redux-store/auth/ImpersonateState/actions.js");
|
|
16493
16613
|
/* harmony import */ var _LoginState__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! ./LoginState */ "../../dist/@frontegg/redux-store/auth/LoginState/state.js");
|
|
16494
|
-
/* harmony import */ var
|
|
16614
|
+
/* harmony import */ var _LoginState__WEBPACK_IMPORTED_MODULE_70__ = __webpack_require__(/*! ./LoginState */ "../../dist/@frontegg/redux-store/auth/LoginState/actions/index.js");
|
|
16495
16615
|
/* harmony import */ var _MfaState__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(/*! ./MfaState */ "../../dist/@frontegg/redux-store/auth/MfaState/state.js");
|
|
16496
|
-
/* harmony import */ var
|
|
16616
|
+
/* harmony import */ var _MfaState__WEBPACK_IMPORTED_MODULE_71__ = __webpack_require__(/*! ./MfaState */ "../../dist/@frontegg/redux-store/auth/MfaState/actions.js");
|
|
16497
16617
|
/* harmony import */ var _MSP__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(/*! ./MSP */ "../../dist/@frontegg/redux-store/auth/MSP/state.js");
|
|
16498
16618
|
/* harmony import */ var _MSP__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(/*! ./MSP */ "../../dist/@frontegg/redux-store/auth/MSP/dialogs/state.js");
|
|
16499
|
-
/* harmony import */ var
|
|
16500
|
-
/* harmony import */ var
|
|
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");
|
|
16501
16621
|
/* harmony import */ var _PasskeysState__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(/*! ./PasskeysState */ "../../dist/@frontegg/redux-store/auth/PasskeysState/state.js");
|
|
16502
|
-
/* harmony import */ var
|
|
16622
|
+
/* harmony import */ var _PasskeysState__WEBPACK_IMPORTED_MODULE_74__ = __webpack_require__(/*! ./PasskeysState */ "../../dist/@frontegg/redux-store/auth/PasskeysState/actions.js");
|
|
16503
16623
|
/* harmony import */ var _ProfileState__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(/*! ./ProfileState */ "../../dist/@frontegg/redux-store/auth/ProfileState/state.js");
|
|
16504
|
-
/* harmony import */ var
|
|
16624
|
+
/* harmony import */ var _ProfileState__WEBPACK_IMPORTED_MODULE_75__ = __webpack_require__(/*! ./ProfileState */ "../../dist/@frontegg/redux-store/auth/ProfileState/actions.js");
|
|
16505
16625
|
/* harmony import */ var _ProvisioningState__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(/*! ./ProvisioningState */ "../../dist/@frontegg/redux-store/auth/ProvisioningState/state.js");
|
|
16506
|
-
/* harmony import */ var
|
|
16626
|
+
/* harmony import */ var _ProvisioningState__WEBPACK_IMPORTED_MODULE_76__ = __webpack_require__(/*! ./ProvisioningState */ "../../dist/@frontegg/redux-store/auth/ProvisioningState/actions.js");
|
|
16507
16627
|
/* harmony import */ var _ResetPhoneNumberState__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(/*! ./ResetPhoneNumberState */ "../../dist/@frontegg/redux-store/auth/ResetPhoneNumberState/state.js");
|
|
16508
|
-
/* harmony import */ var
|
|
16628
|
+
/* harmony import */ var _ResetPhoneNumberState__WEBPACK_IMPORTED_MODULE_77__ = __webpack_require__(/*! ./ResetPhoneNumberState */ "../../dist/@frontegg/redux-store/auth/ResetPhoneNumberState/actions.js");
|
|
16509
16629
|
/* harmony import */ var _RolesState__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__(/*! ./RolesState */ "../../dist/@frontegg/redux-store/auth/RolesState/state.js");
|
|
16510
|
-
/* harmony import */ var
|
|
16630
|
+
/* harmony import */ var _RolesState__WEBPACK_IMPORTED_MODULE_78__ = __webpack_require__(/*! ./RolesState */ "../../dist/@frontegg/redux-store/auth/RolesState/actions.js");
|
|
16511
16631
|
/* harmony import */ var _Security_RestrictionsState__WEBPACK_IMPORTED_MODULE_43__ = __webpack_require__(/*! ./Security/RestrictionsState */ "../../dist/@frontegg/redux-store/auth/Security/RestrictionsState/state.js");
|
|
16512
|
-
/* harmony import */ var
|
|
16632
|
+
/* harmony import */ var _Security_RestrictionsState__WEBPACK_IMPORTED_MODULE_79__ = __webpack_require__(/*! ./Security/RestrictionsState */ "../../dist/@frontegg/redux-store/auth/Security/RestrictionsState/actions.js");
|
|
16513
16633
|
/* harmony import */ var _Security_SecurityCenterState__WEBPACK_IMPORTED_MODULE_44__ = __webpack_require__(/*! ./Security/SecurityCenterState */ "../../dist/@frontegg/redux-store/auth/Security/SecurityCenterState/state.js");
|
|
16514
|
-
/* harmony import */ var
|
|
16634
|
+
/* harmony import */ var _Security_SecurityCenterState__WEBPACK_IMPORTED_MODULE_80__ = __webpack_require__(/*! ./Security/SecurityCenterState */ "../../dist/@frontegg/redux-store/auth/Security/SecurityCenterState/actions.js");
|
|
16515
16635
|
/* harmony import */ var _Security_SecurityPolicyState__WEBPACK_IMPORTED_MODULE_45__ = __webpack_require__(/*! ./Security/SecurityPolicyState */ "../../dist/@frontegg/redux-store/auth/Security/SecurityPolicyState/state.js");
|
|
16516
|
-
/* harmony import */ var
|
|
16636
|
+
/* harmony import */ var _Security_SecurityPolicyState__WEBPACK_IMPORTED_MODULE_81__ = __webpack_require__(/*! ./Security/SecurityPolicyState */ "../../dist/@frontegg/redux-store/auth/Security/SecurityPolicyState/actions.js");
|
|
16517
16637
|
/* harmony import */ var _Security_SessionsPolicyState__WEBPACK_IMPORTED_MODULE_46__ = __webpack_require__(/*! ./Security/SessionsPolicyState */ "../../dist/@frontegg/redux-store/auth/Security/SessionsPolicyState/state.js");
|
|
16518
|
-
/* harmony import */ var
|
|
16638
|
+
/* harmony import */ var _Security_SessionsPolicyState__WEBPACK_IMPORTED_MODULE_82__ = __webpack_require__(/*! ./Security/SessionsPolicyState */ "../../dist/@frontegg/redux-store/auth/Security/SessionsPolicyState/actions.js");
|
|
16519
16639
|
/* harmony import */ var _SessionsState__WEBPACK_IMPORTED_MODULE_47__ = __webpack_require__(/*! ./SessionsState */ "../../dist/@frontegg/redux-store/auth/SessionsState/state.js");
|
|
16520
|
-
/* harmony import */ var
|
|
16640
|
+
/* harmony import */ var _SessionsState__WEBPACK_IMPORTED_MODULE_83__ = __webpack_require__(/*! ./SessionsState */ "../../dist/@frontegg/redux-store/auth/SessionsState/actions.js");
|
|
16521
16641
|
/* harmony import */ var _SignUpState__WEBPACK_IMPORTED_MODULE_48__ = __webpack_require__(/*! ./SignUpState */ "../../dist/@frontegg/redux-store/auth/SignUpState/state.js");
|
|
16522
|
-
/* harmony import */ var
|
|
16642
|
+
/* harmony import */ var _SignUpState__WEBPACK_IMPORTED_MODULE_84__ = __webpack_require__(/*! ./SignUpState */ "../../dist/@frontegg/redux-store/auth/SignUpState/actions.js");
|
|
16523
16643
|
/* harmony import */ var _SmsState__WEBPACK_IMPORTED_MODULE_49__ = __webpack_require__(/*! ./SmsState */ "../../dist/@frontegg/redux-store/auth/SmsState/state.js");
|
|
16524
|
-
/* harmony import */ var
|
|
16644
|
+
/* harmony import */ var _SmsState__WEBPACK_IMPORTED_MODULE_85__ = __webpack_require__(/*! ./SmsState */ "../../dist/@frontegg/redux-store/auth/SmsState/actions.js");
|
|
16525
16645
|
/* harmony import */ var _SocialLoginState__WEBPACK_IMPORTED_MODULE_50__ = __webpack_require__(/*! ./SocialLoginState */ "../../dist/@frontegg/redux-store/auth/SocialLoginState/state.js");
|
|
16526
|
-
/* harmony import */ var
|
|
16646
|
+
/* harmony import */ var _SocialLoginState__WEBPACK_IMPORTED_MODULE_86__ = __webpack_require__(/*! ./SocialLoginState */ "../../dist/@frontegg/redux-store/auth/SocialLoginState/actions.js");
|
|
16527
16647
|
/* harmony import */ var _SSOState__WEBPACK_IMPORTED_MODULE_51__ = __webpack_require__(/*! ./SSOState */ "../../dist/@frontegg/redux-store/auth/SSOState/state.js");
|
|
16528
|
-
/* harmony import */ var
|
|
16648
|
+
/* harmony import */ var _SSOState__WEBPACK_IMPORTED_MODULE_87__ = __webpack_require__(/*! ./SSOState */ "../../dist/@frontegg/redux-store/auth/SSOState/actions/index.js");
|
|
16529
16649
|
/* harmony import */ var _StepUpState__WEBPACK_IMPORTED_MODULE_52__ = __webpack_require__(/*! ./StepUpState */ "../../dist/@frontegg/redux-store/auth/StepUpState/state.js");
|
|
16530
|
-
/* harmony import */ var
|
|
16650
|
+
/* harmony import */ var _StepUpState__WEBPACK_IMPORTED_MODULE_88__ = __webpack_require__(/*! ./StepUpState */ "../../dist/@frontegg/redux-store/auth/StepUpState/actions/index.js");
|
|
16531
16651
|
/* harmony import */ var _TeamState__WEBPACK_IMPORTED_MODULE_53__ = __webpack_require__(/*! ./TeamState */ "../../dist/@frontegg/redux-store/auth/TeamState/state.js");
|
|
16532
|
-
/* harmony import */ var
|
|
16652
|
+
/* harmony import */ var _TeamState__WEBPACK_IMPORTED_MODULE_89__ = __webpack_require__(/*! ./TeamState */ "../../dist/@frontegg/redux-store/auth/TeamState/actions/index.js");
|
|
16533
16653
|
/* harmony import */ var _TenantsState__WEBPACK_IMPORTED_MODULE_54__ = __webpack_require__(/*! ./TenantsState */ "../../dist/@frontegg/redux-store/auth/TenantsState/state.js");
|
|
16534
|
-
/* harmony import */ var
|
|
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");
|
|
16535
16657
|
/* harmony import */ var _LoginState_consts__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ./LoginState/consts */ "../../dist/@frontegg/redux-store/auth/LoginState/consts.js");
|
|
16536
|
-
/* harmony import */ var
|
|
16537
|
-
/* harmony import */ var
|
|
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");
|
|
16538
16660
|
/* harmony import */ var _toolkit_proxy__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ../toolkit/proxy */ "../../dist/@frontegg/redux-store/toolkit/proxy.js");
|
|
16539
16661
|
/* harmony import */ var _AcceptInvitationState_interfaces__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./AcceptInvitationState/interfaces */ "../../dist/@frontegg/redux-store/auth/AcceptInvitationState/interfaces.js");
|
|
16540
16662
|
/* harmony import */ var _ActivateAccountState_interfaces__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./ActivateAccountState/interfaces */ "../../dist/@frontegg/redux-store/auth/ActivateAccountState/interfaces.js");
|
|
@@ -16626,6 +16748,8 @@ const _excluded = ["routes"],
|
|
|
16626
16748
|
|
|
16627
16749
|
|
|
16628
16750
|
|
|
16751
|
+
|
|
16752
|
+
|
|
16629
16753
|
|
|
16630
16754
|
|
|
16631
16755
|
|
|
@@ -16682,14 +16806,15 @@ const createAuthState = _overrideState => {
|
|
|
16682
16806
|
ssoState: (0,_SSOState__WEBPACK_IMPORTED_MODULE_51__["default"])(overrideState == null ? void 0 : overrideState.ssoState),
|
|
16683
16807
|
stepUpState: (0,_StepUpState__WEBPACK_IMPORTED_MODULE_52__["default"])(overrideState == null ? void 0 : overrideState.stepUpState),
|
|
16684
16808
|
teamState: (0,_TeamState__WEBPACK_IMPORTED_MODULE_53__["default"])(overrideState == null ? void 0 : overrideState.teamState),
|
|
16685
|
-
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)
|
|
16686
16811
|
}));
|
|
16687
16812
|
};
|
|
16688
16813
|
const buildAuthActions = (store, api, actions, snapshotAuthState) => {
|
|
16689
16814
|
const setAuthState = state => {
|
|
16690
16815
|
Object.keys(state).forEach(key => {
|
|
16691
16816
|
const authKey = key;
|
|
16692
|
-
if ((0,
|
|
16817
|
+
if ((0,_helpers__WEBPACK_IMPORTED_MODULE_56__.isProxy)(store.auth[authKey])) {
|
|
16693
16818
|
Object.assign(store.auth[authKey], state[authKey]);
|
|
16694
16819
|
} else {
|
|
16695
16820
|
store.auth[authKey] = state[authKey];
|
|
@@ -16697,7 +16822,7 @@ const buildAuthActions = (store, api, actions, snapshotAuthState) => {
|
|
|
16697
16822
|
});
|
|
16698
16823
|
};
|
|
16699
16824
|
const resetAuthState = (state = {}) => {
|
|
16700
|
-
(0,
|
|
16825
|
+
(0,_helpers__WEBPACK_IMPORTED_MODULE_56__.deepResetState)(store, ['auth'], (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, snapshotAuthState, state));
|
|
16701
16826
|
};
|
|
16702
16827
|
const setUser = user => {
|
|
16703
16828
|
setAuthState({
|
|
@@ -16715,40 +16840,41 @@ const buildAuthActions = (store, api, actions, snapshotAuthState) => {
|
|
|
16715
16840
|
})
|
|
16716
16841
|
});
|
|
16717
16842
|
};
|
|
16718
|
-
const acceptInvitationActions = (0,
|
|
16719
|
-
const accountSettingsActions = (0,
|
|
16720
|
-
const activateAccountActions = (0,
|
|
16721
|
-
const unlockAccountActions = (0,
|
|
16722
|
-
const apiTokensActions = (0,
|
|
16723
|
-
const applicationsActions = (0,
|
|
16724
|
-
const customLoginActions = (0,
|
|
16725
|
-
const entitlementsActions = (0,
|
|
16726
|
-
const forgotPasswordActions = (0,
|
|
16727
|
-
const passwordRotationActions = (0,
|
|
16728
|
-
const groupsActions = (0,
|
|
16729
|
-
const groupsDialogsActions = (0,
|
|
16730
|
-
const impersonateActions = (0,
|
|
16731
|
-
const loginActions = (0,
|
|
16732
|
-
const mfaActions = (0,
|
|
16733
|
-
const allAccountsActions = (0,
|
|
16734
|
-
const allAccountsDialogActions = (0,
|
|
16735
|
-
const passkeysActions = (0,
|
|
16736
|
-
const profileActions = (0,
|
|
16737
|
-
const provisioningActions = (0,
|
|
16738
|
-
const resetPhoneNumberActions = (0,
|
|
16739
|
-
const rolesActions = (0,
|
|
16740
|
-
const restrictionsActions = (0,
|
|
16741
|
-
const securityCenterActions = (0,
|
|
16742
|
-
const securityPolicyActions = (0,
|
|
16743
|
-
const sessionsPolicyActions = (0,
|
|
16744
|
-
const sessionsActions = (0,
|
|
16745
|
-
const signUpActions = (0,
|
|
16746
|
-
const smsActions = (0,
|
|
16747
|
-
const socialLoginActions = (0,
|
|
16748
|
-
const ssoActions = (0,
|
|
16749
|
-
const stepUpActions = (0,
|
|
16750
|
-
const teamActions = (0,
|
|
16751
|
-
const tenantsActions = (0,
|
|
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);
|
|
16752
16878
|
const stateActions = {
|
|
16753
16879
|
acceptInvitationActions,
|
|
16754
16880
|
accountSettingsActions,
|
|
@@ -16783,7 +16909,8 @@ const buildAuthActions = (store, api, actions, snapshotAuthState) => {
|
|
|
16783
16909
|
ssoActions,
|
|
16784
16910
|
stepUpActions,
|
|
16785
16911
|
teamActions,
|
|
16786
|
-
tenantsActions
|
|
16912
|
+
tenantsActions,
|
|
16913
|
+
usersEmailsPolicyActions
|
|
16787
16914
|
};
|
|
16788
16915
|
return [(0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
|
|
16789
16916
|
setAuthState,
|
|
@@ -18575,7 +18702,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
18575
18702
|
/* harmony import */ var _subscriptions_interfaces__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./subscriptions/interfaces */ "../../dist/@frontegg/redux-store/subscriptions/interfaces.js");
|
|
18576
18703
|
/* harmony import */ var _vendor__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./vendor */ "../../dist/@frontegg/redux-store/vendor/index.js");
|
|
18577
18704
|
/* harmony import */ var _audits__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./audits */ "../../dist/@frontegg/redux-store/audits/index.js");
|
|
18578
|
-
/** @license Frontegg v7.
|
|
18705
|
+
/** @license Frontegg v7.75.0-alpha.0
|
|
18579
18706
|
*
|
|
18580
18707
|
* This source code is licensed under the MIT license found in the
|
|
18581
18708
|
* LICENSE file in the root directory of this source tree.
|
|
@@ -19683,7 +19810,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
19683
19810
|
/* harmony import */ var _teamActions_mocks__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! ./teamActions.mocks */ "../../dist/@frontegg/redux-store/mocks/auth-mocks/teamActions.mocks.js");
|
|
19684
19811
|
/* harmony import */ var _tenantsActions_mocks__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(/*! ./tenantsActions.mocks */ "../../dist/@frontegg/redux-store/mocks/auth-mocks/tenantsActions.mocks.js");
|
|
19685
19812
|
/* harmony import */ var _unlockAccountActions_mocks__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./unlockAccountActions.mocks */ "../../dist/@frontegg/redux-store/mocks/auth-mocks/unlockAccountActions.mocks.js");
|
|
19686
|
-
/* harmony import */ var
|
|
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");
|
|
19687
19815
|
|
|
19688
19816
|
|
|
19689
19817
|
const _excluded = ["requestName"];
|
|
@@ -19722,6 +19850,7 @@ const _excluded = ["requestName"];
|
|
|
19722
19850
|
|
|
19723
19851
|
|
|
19724
19852
|
|
|
19853
|
+
|
|
19725
19854
|
|
|
19726
19855
|
|
|
19727
19856
|
const buildAuthActions = (store, api, actions, snapshotAuthState) => {
|
|
@@ -19759,6 +19888,7 @@ const buildAuthActions = (store, api, actions, snapshotAuthState) => {
|
|
|
19759
19888
|
const stepUpActions = (0,_stepUpActions_mocks__WEBPACK_IMPORTED_MODULE_33__["default"])(store, api, actions);
|
|
19760
19889
|
const teamActions = (0,_teamActions_mocks__WEBPACK_IMPORTED_MODULE_34__["default"])(store, api, actions);
|
|
19761
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);
|
|
19762
19892
|
const authStateActions = {
|
|
19763
19893
|
acceptInvitationActions,
|
|
19764
19894
|
accountSettingsActions,
|
|
@@ -19793,12 +19923,13 @@ const buildAuthActions = (store, api, actions, snapshotAuthState) => {
|
|
|
19793
19923
|
ssoActions,
|
|
19794
19924
|
stepUpActions,
|
|
19795
19925
|
teamActions,
|
|
19796
|
-
tenantsActions
|
|
19926
|
+
tenantsActions,
|
|
19927
|
+
usersEmailsPolicyActions
|
|
19797
19928
|
};
|
|
19798
19929
|
const setAuthState = state => {
|
|
19799
19930
|
Object.keys(state).forEach(key => {
|
|
19800
19931
|
const authKey = key;
|
|
19801
|
-
if ((0,
|
|
19932
|
+
if ((0,_helpers__WEBPACK_IMPORTED_MODULE_37__.isProxy)(store.auth[authKey])) {
|
|
19802
19933
|
Object.assign(store.auth[authKey], state[authKey]);
|
|
19803
19934
|
} else {
|
|
19804
19935
|
store.auth[authKey] = state[authKey];
|
|
@@ -19807,7 +19938,7 @@ const buildAuthActions = (store, api, actions, snapshotAuthState) => {
|
|
|
19807
19938
|
};
|
|
19808
19939
|
// eslint-disable-next-line @typescript-eslint/no-empty-function
|
|
19809
19940
|
const resetAuthState = () => {
|
|
19810
|
-
(0,
|
|
19941
|
+
(0,_helpers__WEBPACK_IMPORTED_MODULE_37__.deepResetState)(store, ['auth'], snapshotAuthState);
|
|
19811
19942
|
};
|
|
19812
19943
|
const setUser = user => {
|
|
19813
19944
|
setAuthState({
|
|
@@ -19831,7 +19962,7 @@ const buildAuthActions = (store, api, actions, snapshotAuthState) => {
|
|
|
19831
19962
|
setErrorByRequestName,
|
|
19832
19963
|
resetAuthState,
|
|
19833
19964
|
setUser
|
|
19834
|
-
}, 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);
|
|
19835
19966
|
return {
|
|
19836
19967
|
authActions,
|
|
19837
19968
|
authStateActions
|
|
@@ -20271,6 +20402,36 @@ const _excluded = ["callback", "profilePictureUrl"];
|
|
|
20271
20402
|
});
|
|
20272
20403
|
(_payload$callback = payload.callback) == null ? void 0 : _payload$callback.call(payload, true);
|
|
20273
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
|
+
};
|
|
20274
20435
|
return mockedActions;
|
|
20275
20436
|
});
|
|
20276
20437
|
|
|
@@ -21771,6 +21932,28 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
21771
21932
|
|
|
21772
21933
|
/***/ }),
|
|
21773
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
|
+
|
|
21774
21957
|
/***/ "../../dist/@frontegg/redux-store/mocks/connectivity-mocks/index.js":
|
|
21775
21958
|
/*!**************************************************************************!*\
|
|
21776
21959
|
!*** ../../dist/@frontegg/redux-store/mocks/connectivity-mocks/index.js ***!
|
|
@@ -28635,31 +28818,31 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
28635
28818
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
28636
28819
|
/* harmony export */ ApplicationAccessType: () => (/* reexport safe */ _applications_interfaces__WEBPACK_IMPORTED_MODULE_17__.ApplicationAccessType),
|
|
28637
28820
|
/* harmony export */ AuthStrategyEnum: () => (/* reexport safe */ _auth_enums__WEBPACK_IMPORTED_MODULE_2__.AuthStrategyEnum),
|
|
28638
|
-
/* harmony export */ ContextHolder: () => (/* reexport safe */
|
|
28821
|
+
/* harmony export */ ContextHolder: () => (/* reexport safe */ _ContextHolder__WEBPACK_IMPORTED_MODULE_43__.ContextHolder),
|
|
28639
28822
|
/* harmony export */ DirectoryApi: () => (/* reexport safe */ _directory_index__WEBPACK_IMPORTED_MODULE_11__.DirectoryApi),
|
|
28640
28823
|
/* harmony export */ FRONTEGG_SEPARATE_TABS_BY_TENANT: () => (/* reexport safe */ _auth__WEBPACK_IMPORTED_MODULE_4__.FRONTEGG_SEPARATE_TABS_BY_TENANT),
|
|
28641
28824
|
/* harmony export */ FeatureFlags: () => (/* reexport safe */ _feature_flags_index__WEBPACK_IMPORTED_MODULE_10__.FeatureFlags),
|
|
28642
28825
|
/* harmony export */ FeatureFlagsApi: () => (/* reexport safe */ _feature_flags_index__WEBPACK_IMPORTED_MODULE_10__.FeatureFlagsApi),
|
|
28643
|
-
/* harmony export */ FetchClient: () => (/* reexport safe */
|
|
28644
|
-
/* harmony export */ FronteggApiError: () => (/* reexport safe */
|
|
28645
|
-
/* harmony export */ FronteggContext: () => (/* reexport safe */
|
|
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),
|
|
28646
28829
|
/* harmony export */ FronteggFrameworks: () => (/* reexport safe */ _interfaces__WEBPACK_IMPORTED_MODULE_0__.FronteggFrameworks),
|
|
28647
28830
|
/* harmony export */ GENERIC_ERROR_CODE: () => (/* reexport safe */ _constants__WEBPACK_IMPORTED_MODULE_18__.GENERIC_ERROR_CODE),
|
|
28648
28831
|
/* harmony export */ GENERIC_ERROR_MESSAGE: () => (/* reexport safe */ _constants__WEBPACK_IMPORTED_MODULE_18__.GENERIC_ERROR_MESSAGE),
|
|
28649
28832
|
/* harmony export */ GetUsersFilterPreset: () => (/* reexport safe */ _users_interfaces__WEBPACK_IMPORTED_MODULE_14__.GetUsersFilterPreset),
|
|
28650
28833
|
/* harmony export */ GroupManagedByEnum: () => (/* reexport safe */ _groups_enums__WEBPACK_IMPORTED_MODULE_13__.GroupManagedByEnum),
|
|
28651
28834
|
/* harmony export */ GroupRelations: () => (/* reexport safe */ _groups_enums__WEBPACK_IMPORTED_MODULE_13__.GroupRelations),
|
|
28652
|
-
/* harmony export */ ISubscriptionCancellationPolicy: () => (/* reexport safe */
|
|
28653
|
-
/* harmony export */ ISubscriptionStatus: () => (/* reexport safe */
|
|
28835
|
+
/* harmony export */ ISubscriptionCancellationPolicy: () => (/* reexport safe */ _subscriptions__WEBPACK_IMPORTED_MODULE_45__.ISubscriptionCancellationPolicy),
|
|
28836
|
+
/* harmony export */ ISubscriptionStatus: () => (/* reexport safe */ _subscriptions__WEBPACK_IMPORTED_MODULE_45__.ISubscriptionStatus),
|
|
28654
28837
|
/* harmony export */ InsightCode: () => (/* reexport safe */ _security_center_interfaces__WEBPACK_IMPORTED_MODULE_16__.InsightCode),
|
|
28655
28838
|
/* harmony export */ LOAD_AUTHORIZATION_FF: () => (/* reexport safe */ _auth_interfaces__WEBPACK_IMPORTED_MODULE_1__.LOAD_AUTHORIZATION_FF),
|
|
28656
28839
|
/* harmony export */ MFAStrategyEnum: () => (/* reexport safe */ _auth_interfaces__WEBPACK_IMPORTED_MODULE_1__.MFAStrategyEnum),
|
|
28657
28840
|
/* harmony export */ MachineToMachineAuthStrategy: () => (/* reexport safe */ _auth_enums__WEBPACK_IMPORTED_MODULE_2__.MachineToMachineAuthStrategy),
|
|
28658
28841
|
/* harmony export */ NotEntitledJustification: () => (/* reexport safe */ _entitlements_interfaces__WEBPACK_IMPORTED_MODULE_15__.NotEntitledJustification),
|
|
28659
28842
|
/* harmony export */ PaginationOrderEnum: () => (/* reexport safe */ _interfaces__WEBPACK_IMPORTED_MODULE_0__.PaginationOrderEnum),
|
|
28660
|
-
/* harmony export */ PaymentMethodType: () => (/* reexport safe */
|
|
28843
|
+
/* harmony export */ PaymentMethodType: () => (/* reexport safe */ _subscriptions__WEBPACK_IMPORTED_MODULE_45__.PaymentMethodType),
|
|
28661
28844
|
/* harmony export */ PermissionAssignmentTypeEnum: () => (/* reexport safe */ _roles_interfaces__WEBPACK_IMPORTED_MODULE_7__.PermissionAssignmentTypeEnum),
|
|
28662
|
-
/* harmony export */ ProviderType: () => (/* reexport safe */
|
|
28845
|
+
/* harmony export */ ProviderType: () => (/* reexport safe */ _subscriptions__WEBPACK_IMPORTED_MODULE_45__.ProviderType),
|
|
28663
28846
|
/* harmony export */ RecommendationActionKey: () => (/* reexport safe */ _security_center_interfaces__WEBPACK_IMPORTED_MODULE_16__.RecommendationActionKey),
|
|
28664
28847
|
/* harmony export */ RecommendationCode: () => (/* reexport safe */ _security_center_interfaces__WEBPACK_IMPORTED_MODULE_16__.RecommendationCode),
|
|
28665
28848
|
/* harmony export */ RecommendationSeverity: () => (/* reexport safe */ _security_center_interfaces__WEBPACK_IMPORTED_MODULE_16__.RecommendationSeverity),
|
|
@@ -28679,7 +28862,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
28679
28862
|
/* harmony export */ api: () => (/* binding */ api),
|
|
28680
28863
|
/* harmony export */ createApiClient: () => (/* binding */ createApiClient),
|
|
28681
28864
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__),
|
|
28682
|
-
/* harmony export */ fetch: () => (/* reexport safe */
|
|
28865
|
+
/* harmony export */ fetch: () => (/* reexport safe */ _FetchClient__WEBPACK_IMPORTED_MODULE_42__["default"]),
|
|
28683
28866
|
/* harmony export */ fronteggAuthApiRoutesRegex: () => (/* reexport safe */ _routers__WEBPACK_IMPORTED_MODULE_9__.fronteggAuthApiRoutesRegex),
|
|
28684
28867
|
/* harmony export */ fronteggEntitlementsV2Url: () => (/* reexport safe */ _routers__WEBPACK_IMPORTED_MODULE_9__.fronteggEntitlementsV2Url),
|
|
28685
28868
|
/* harmony export */ fronteggHeaders: () => (/* reexport safe */ _interfaces__WEBPACK_IMPORTED_MODULE_0__.fronteggHeaders),
|
|
@@ -28695,10 +28878,10 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
28695
28878
|
/* harmony export */ setTabTenantInSessionStorage: () => (/* reexport safe */ _auth__WEBPACK_IMPORTED_MODULE_3__.setTabTenantInSessionStorage)
|
|
28696
28879
|
/* harmony export */ });
|
|
28697
28880
|
/* harmony import */ var _auth_enums__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./auth/enums */ "../../dist/@frontegg/rest-api/auth/enums.js");
|
|
28698
|
-
/* harmony import */ var
|
|
28699
|
-
/* harmony import */ var
|
|
28700
|
-
/* harmony import */ var
|
|
28701
|
-
/* harmony import */ var
|
|
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");
|
|
28702
28885
|
/* harmony import */ var _auth__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./auth */ "../../dist/@frontegg/rest-api/auth/index.js");
|
|
28703
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");
|
|
28704
28887
|
/* harmony import */ var _users__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(/*! ./users */ "../../dist/@frontegg/rest-api/users/index.js");
|
|
@@ -28723,6 +28906,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
28723
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");
|
|
28724
28907
|
/* harmony import */ var _applications__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(/*! ./applications */ "../../dist/@frontegg/rest-api/applications/index.js");
|
|
28725
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");
|
|
28726
28910
|
/* harmony import */ var _interfaces__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./interfaces */ "../../dist/@frontegg/rest-api/interfaces.js");
|
|
28727
28911
|
/* harmony import */ var _auth_interfaces__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./auth/interfaces */ "../../dist/@frontegg/rest-api/auth/interfaces.js");
|
|
28728
28912
|
/* harmony import */ var _auth__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./auth */ "../../dist/@frontegg/rest-api/auth/utils.js");
|
|
@@ -28739,7 +28923,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
28739
28923
|
/* harmony import */ var _security_center_interfaces__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./security-center/interfaces */ "../../dist/@frontegg/rest-api/security-center/interfaces.js");
|
|
28740
28924
|
/* harmony import */ var _applications_interfaces__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./applications/interfaces */ "../../dist/@frontegg/rest-api/applications/interfaces.js");
|
|
28741
28925
|
/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./constants */ "../../dist/@frontegg/rest-api/constants.js");
|
|
28742
|
-
/** @license Frontegg v7.
|
|
28926
|
+
/** @license Frontegg v7.75.0-alpha.0
|
|
28743
28927
|
*
|
|
28744
28928
|
* This source code is licensed under the MIT license found in the
|
|
28745
28929
|
* LICENSE file in the root directory of this source tree.
|
|
@@ -28801,6 +28985,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
28801
28985
|
|
|
28802
28986
|
|
|
28803
28987
|
|
|
28988
|
+
|
|
28989
|
+
|
|
28804
28990
|
|
|
28805
28991
|
|
|
28806
28992
|
|
|
@@ -28833,7 +29019,8 @@ const api = {
|
|
|
28833
29019
|
securityCenter: _security_center__WEBPACK_IMPORTED_MODULE_37__["default"],
|
|
28834
29020
|
userPhoneNumbers: _user_phone_numbers__WEBPACK_IMPORTED_MODULE_38__["default"],
|
|
28835
29021
|
applications: _applications__WEBPACK_IMPORTED_MODULE_39__["default"],
|
|
28836
|
-
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"]
|
|
28837
29024
|
};
|
|
28838
29025
|
const createApiClient = appName => ({
|
|
28839
29026
|
auth: new _auth__WEBPACK_IMPORTED_MODULE_19__.AuthenticationApi(appName),
|
|
@@ -28859,24 +29046,25 @@ const createApiClient = appName => ({
|
|
|
28859
29046
|
securityCenter: new _security_center__WEBPACK_IMPORTED_MODULE_37__.SecurityCenterApi(appName),
|
|
28860
29047
|
userPhoneNumbers: new _user_phone_numbers__WEBPACK_IMPORTED_MODULE_38__.PhoneNumbersApi(appName),
|
|
28861
29048
|
applications: new _applications__WEBPACK_IMPORTED_MODULE_39__.ApplicationsApi(appName),
|
|
28862
|
-
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)
|
|
28863
29051
|
});
|
|
28864
29052
|
|
|
28865
29053
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
|
|
28866
|
-
fetch:
|
|
28867
|
-
FetchClient:
|
|
28868
|
-
ContextHolder:
|
|
28869
|
-
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,
|
|
28870
29058
|
api,
|
|
28871
29059
|
createApiClient,
|
|
28872
|
-
FronteggApiError:
|
|
29060
|
+
FronteggApiError: _error__WEBPACK_IMPORTED_MODULE_44__.FronteggApiError,
|
|
28873
29061
|
AuthStrategyEnum: _auth_enums__WEBPACK_IMPORTED_MODULE_2__.AuthStrategyEnum,
|
|
28874
29062
|
MachineToMachineAuthStrategy: _auth_enums__WEBPACK_IMPORTED_MODULE_2__.MachineToMachineAuthStrategy,
|
|
28875
29063
|
SocialLoginProviders: _auth_enums__WEBPACK_IMPORTED_MODULE_2__.SocialLoginProviders,
|
|
28876
|
-
ISubscriptionCancellationPolicy:
|
|
28877
|
-
ISubscriptionStatus:
|
|
28878
|
-
PaymentMethodType:
|
|
28879
|
-
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
|
|
28880
29068
|
});
|
|
28881
29069
|
|
|
28882
29070
|
/***/ }),
|
|
@@ -30155,6 +30343,17 @@ class TeamsApi extends _BaseApiClient__WEBPACK_IMPORTED_MODULE_1__.BaseApiClient
|
|
|
30155
30343
|
addRoles: true
|
|
30156
30344
|
});
|
|
30157
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
|
+
};
|
|
30158
30357
|
this.updateProfile = async body => {
|
|
30159
30358
|
return this.put(`${_constants__WEBPACK_IMPORTED_MODULE_2__.urls.identity.users.v2}/me`, body);
|
|
30160
30359
|
};
|
|
@@ -30436,6 +30635,37 @@ class PhoneNumbersApi extends _BaseApiClient__WEBPACK_IMPORTED_MODULE_0__.BaseAp
|
|
|
30436
30635
|
|
|
30437
30636
|
/***/ }),
|
|
30438
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
|
+
|
|
30439
30669
|
/***/ "../../dist/@frontegg/rest-api/users/index.js":
|
|
30440
30670
|
/*!****************************************************!*\
|
|
30441
30671
|
!*** ../../dist/@frontegg/rest-api/users/index.js ***!
|
|
@@ -31373,7 +31603,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
31373
31603
|
/* harmony export */ });
|
|
31374
31604
|
/* harmony import */ var _ThemeOptions__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ThemeOptions */ "../../dist/@frontegg/types/ThemeOptions/index.js");
|
|
31375
31605
|
/* harmony import */ var _Metadata__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Metadata */ "../../dist/@frontegg/types/Metadata/index.js");
|
|
31376
|
-
/** @license Frontegg v7.
|
|
31606
|
+
/** @license Frontegg v7.75.0-alpha.0
|
|
31377
31607
|
*
|
|
31378
31608
|
* This source code is licensed under the MIT license found in the
|
|
31379
31609
|
* LICENSE file in the root directory of this source tree.
|