@frontegg/redux-store 7.0.0-alpha.1 → 7.0.0-alpha.10
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/audits/AuditLogsState/actions.d.ts +9 -0
- package/audits/AuditLogsState/actions.js +103 -0
- package/audits/AuditLogsState/index.d.ts +3 -47
- package/audits/AuditLogsState/index.js +3 -39
- package/audits/AuditLogsState/state.d.ts +4 -0
- package/audits/AuditLogsState/state.js +12 -0
- package/audits/AuditsMetadataState/actions.d.ts +8 -0
- package/audits/AuditsMetadataState/actions.js +36 -0
- package/audits/AuditsMetadataState/index.d.ts +3 -35
- package/audits/AuditsMetadataState/index.js +3 -29
- package/audits/AuditsMetadataState/state.d.ts +4 -0
- package/audits/AuditsMetadataState/state.js +5 -0
- package/audits/index.d.ts +19 -39
- package/audits/index.js +11 -21
- package/audits/interfaces.d.ts +2 -0
- package/audits/interfaces.js +2 -0
- package/audits-backward-compatibility/actions.d.ts +12 -0
- package/audits-backward-compatibility/actions.js +256 -0
- package/audits-backward-compatibility/index.d.ts +5 -0
- package/audits-backward-compatibility/index.js +6 -0
- package/audits-backward-compatibility/interfaces.d.ts +60 -0
- package/audits-backward-compatibility/package.json +6 -0
- package/audits-backward-compatibility/state.d.ts +5 -0
- package/audits-backward-compatibility/state.js +24 -0
- package/auth/AcceptInvitationState/actions.d.ts +12 -0
- package/auth/AcceptInvitationState/actions.js +43 -0
- package/auth/AcceptInvitationState/index.d.ts +3 -117
- package/auth/AcceptInvitationState/index.js +3 -31
- package/auth/AcceptInvitationState/state.d.ts +4 -0
- package/auth/AcceptInvitationState/state.js +6 -0
- package/auth/AccountSettingsState/actions.d.ts +23 -0
- package/auth/AccountSettingsState/actions.js +93 -0
- package/auth/AccountSettingsState/index.d.ts +3 -124
- package/auth/AccountSettingsState/index.js +3 -33
- package/auth/AccountSettingsState/state.d.ts +4 -0
- package/auth/AccountSettingsState/state.js +5 -0
- package/auth/ActivateAccountState/actions.d.ts +26 -0
- package/auth/ActivateAccountState/actions.js +192 -0
- package/auth/ActivateAccountState/index.d.ts +3 -0
- package/auth/ActivateAccountState/index.js +3 -0
- package/auth/ActivateAccountState/state.d.ts +4 -0
- package/auth/ActivateAccountState/state.js +11 -0
- package/auth/ApiTokensState/actions.d.ts +16 -0
- package/auth/ApiTokensState/actions.js +371 -0
- package/auth/ApiTokensState/index.d.ts +3 -171
- package/auth/ApiTokensState/index.js +3 -71
- package/auth/ApiTokensState/interfaces.d.ts +4 -1
- package/auth/ApiTokensState/state.d.ts +4 -0
- package/auth/ApiTokensState/state.js +23 -0
- package/auth/ApplicationsState/actions.d.ts +25 -0
- package/auth/ApplicationsState/actions.js +221 -0
- package/auth/ApplicationsState/helpers.d.ts +3 -0
- package/auth/ApplicationsState/helpers.js +13 -0
- package/auth/ApplicationsState/index.d.ts +3 -0
- package/auth/ApplicationsState/index.js +3 -0
- package/auth/ApplicationsState/interfaces.d.ts +12 -0
- package/auth/ApplicationsState/state.d.ts +4 -0
- package/auth/ApplicationsState/state.js +9 -0
- package/auth/CustomLoginState/actions.d.ts +11 -0
- package/auth/CustomLoginState/actions.js +116 -0
- package/auth/CustomLoginState/index.d.ts +3 -119
- package/auth/CustomLoginState/index.js +3 -32
- package/auth/CustomLoginState/state.d.ts +4 -0
- package/auth/CustomLoginState/state.js +6 -0
- package/auth/Entitlements/actions.d.ts +9 -0
- package/auth/Entitlements/actions.js +40 -0
- package/auth/Entitlements/helpers.d.ts +38 -0
- package/auth/Entitlements/helpers.js +66 -0
- package/auth/Entitlements/index.d.ts +6 -2
- package/auth/Entitlements/index.js +6 -3
- package/auth/ForgotPasswordState/actions.d.ts +11 -0
- package/auth/ForgotPasswordState/actions.js +84 -0
- package/auth/ForgotPasswordState/index.d.ts +3 -121
- package/auth/ForgotPasswordState/index.js +3 -40
- package/auth/ForgotPasswordState/interfaces.d.ts +2 -2
- package/auth/ForgotPasswordState/state.d.ts +4 -0
- package/auth/ForgotPasswordState/state.js +9 -0
- package/auth/GroupsDialogsState/actions.d.ts +17 -0
- package/auth/GroupsDialogsState/actions.js +77 -0
- package/auth/GroupsDialogsState/index.d.ts +3 -0
- package/auth/GroupsDialogsState/index.js +3 -0
- package/auth/GroupsDialogsState/interfaces.d.ts +32 -0
- package/auth/GroupsDialogsState/state.d.ts +4 -0
- package/auth/GroupsDialogsState/state.js +25 -0
- package/auth/GroupsState/actions.d.ts +21 -0
- package/auth/GroupsState/actions.js +403 -0
- package/auth/GroupsState/index.d.ts +3 -178
- package/auth/GroupsState/index.js +3 -58
- package/auth/GroupsState/interfaces.d.ts +1 -32
- package/auth/GroupsState/interfaces.js +2 -0
- package/auth/GroupsState/state.d.ts +4 -0
- package/auth/GroupsState/state.js +8 -0
- package/auth/ImpersonateState/actions.d.ts +8 -0
- package/auth/ImpersonateState/actions.js +52 -0
- package/auth/ImpersonateState/index.d.ts +3 -0
- package/auth/ImpersonateState/index.js +3 -0
- package/auth/ImpersonateState/interfaces.d.ts +14 -0
- package/auth/ImpersonateState/state.d.ts +4 -0
- package/auth/ImpersonateState/state.js +7 -0
- package/auth/LoginState/actions/afterAuthNavigation.actions.d.ts +11 -0
- package/auth/LoginState/actions/afterAuthNavigation.actions.js +183 -0
- package/auth/LoginState/actions/handleVerifyMFAResponse.actions.d.ts +8 -0
- package/auth/LoginState/actions/handleVerifyMFAResponse.actions.js +92 -0
- package/auth/LoginState/actions/hostedLoginAuthorize.actions.d.ts +15 -0
- package/auth/LoginState/actions/hostedLoginAuthorize.actions.js +203 -0
- package/auth/LoginState/actions/index.d.ts +79 -0
- package/auth/LoginState/actions/index.js +1298 -0
- package/auth/LoginState/actions/mfaRequiredState.actions.d.ts +11 -0
- package/auth/LoginState/actions/mfaRequiredState.actions.js +63 -0
- package/auth/LoginState/actions/mfaWithAuthenticator.actions.d.ts +8 -0
- package/auth/LoginState/actions/mfaWithAuthenticator.actions.js +137 -0
- package/auth/LoginState/actions/mfaWithEmailCode.actions.d.ts +10 -0
- package/auth/LoginState/actions/mfaWithEmailCode.actions.js +101 -0
- package/auth/LoginState/actions/mfaWithSMS.actions.d.ts +10 -0
- package/auth/LoginState/actions/mfaWithSMS.actions.js +108 -0
- package/auth/LoginState/actions/mfaWithWebAuthn.actions.d.ts +10 -0
- package/auth/LoginState/actions/mfaWithWebAuthn.actions.js +119 -0
- package/auth/LoginState/consts.d.ts +6 -22
- package/auth/LoginState/consts.js +7 -6
- package/auth/LoginState/helpers.d.ts +31 -0
- package/auth/LoginState/helpers.js +131 -0
- package/auth/LoginState/index.d.ts +3 -233
- package/auth/LoginState/index.js +3 -142
- package/auth/LoginState/interfaces.d.ts +29 -1
- package/auth/LoginState/interfaces.js +7 -1
- package/auth/LoginState/state.d.ts +4 -0
- package/auth/LoginState/state.js +10 -0
- package/auth/MSP/actions.d.ts +28 -0
- package/auth/MSP/actions.js +962 -0
- package/auth/MSP/dialogs/actions.d.ts +25 -0
- package/auth/MSP/dialogs/actions.js +124 -0
- package/auth/MSP/dialogs/state.d.ts +4 -0
- package/auth/MSP/dialogs/state.js +76 -0
- package/auth/MSP/helpers/appendChildrenToNode.d.ts +2 -0
- package/auth/MSP/helpers/getAccountsWithUsersCount.d.ts +15 -0
- package/auth/MSP/helpers/getAccountsWithUsersCount.js +21 -0
- package/auth/MSP/helpers/index.d.ts +5 -0
- package/auth/MSP/helpers/index.js +5 -0
- package/auth/MSP/helpers/removeNodeFromTree.d.ts +2 -0
- package/auth/MSP/helpers/updateNodeIsReseller.d.ts +2 -0
- package/auth/MSP/helpers/updateNodeIsReseller.js +14 -0
- package/auth/MSP/helpers/updateNodeName.d.ts +2 -0
- package/auth/MSP/helpers/updateNodeSubAccountAccessType.d.ts +3 -0
- package/auth/MSP/helpers/updateNodeSubAccountAccessType.js +13 -0
- package/auth/MSP/index.d.ts +5 -1
- package/auth/MSP/index.js +5 -1
- package/auth/MSP/interfaces/dialogsStateTypes.d.ts +63 -0
- package/auth/MSP/interfaces/stateTypes.d.ts +114 -0
- package/auth/MSP/interfaces/stateTypes.js +24 -0
- package/auth/MSP/state.d.ts +4 -0
- package/auth/MSP/state.js +38 -0
- package/auth/MfaState/actions.d.ts +24 -0
- package/auth/MfaState/actions.js +431 -0
- package/auth/MfaState/index.d.ts +3 -157
- package/auth/MfaState/index.js +3 -66
- package/auth/MfaState/interfaces.d.ts +5 -4
- package/auth/MfaState/interfaces.js +1 -0
- package/auth/MfaState/state.d.ts +4 -0
- package/auth/MfaState/state.js +8 -0
- package/auth/PasskeysState/actions.d.ts +12 -0
- package/auth/PasskeysState/actions.js +102 -0
- package/auth/PasskeysState/index.d.ts +3 -125
- package/auth/PasskeysState/index.js +3 -33
- package/auth/PasskeysState/state.d.ts +4 -0
- package/auth/PasskeysState/state.js +7 -0
- package/auth/ProfileState/actions.d.ts +11 -0
- package/auth/ProfileState/actions.js +112 -0
- package/auth/ProfileState/index.d.ts +3 -122
- package/auth/ProfileState/index.js +3 -35
- package/auth/ProfileState/state.d.ts +4 -0
- package/auth/ProfileState/state.js +6 -0
- package/auth/ProvisioningState/actions.d.ts +21 -0
- package/auth/ProvisioningState/actions.js +130 -0
- package/auth/ProvisioningState/index.d.ts +3 -0
- package/auth/ProvisioningState/index.js +3 -0
- package/auth/ProvisioningState/state.d.ts +4 -0
- package/auth/ProvisioningState/state.js +5 -0
- package/auth/ResetPhoneNumberState/actions.d.ts +11 -0
- package/auth/ResetPhoneNumberState/actions.js +115 -0
- package/auth/ResetPhoneNumberState/index.d.ts +3 -128
- package/auth/ResetPhoneNumberState/index.js +3 -38
- package/auth/ResetPhoneNumberState/state.d.ts +4 -0
- package/auth/ResetPhoneNumberState/state.js +7 -0
- package/auth/RolesState/actions.d.ts +24 -0
- package/auth/RolesState/actions.js +274 -0
- package/auth/RolesState/index.d.ts +3 -132
- package/auth/RolesState/index.js +3 -48
- package/auth/RolesState/interfaces.d.ts +17 -2
- package/auth/RolesState/interfaces.js +8 -1
- package/auth/RolesState/state.d.ts +4 -0
- package/auth/RolesState/state.js +9 -0
- package/auth/SSOState/actions/actions.v1.d.ts +20 -0
- package/auth/SSOState/actions/actions.v1.js +387 -0
- package/auth/SSOState/actions/actions.v2.d.ts +19 -0
- package/auth/SSOState/actions/actions.v2.js +359 -0
- package/auth/SSOState/actions/index.d.ts +75 -0
- package/auth/SSOState/actions/index.js +6 -0
- package/auth/SSOState/index.d.ts +3 -274
- package/auth/SSOState/index.js +3 -101
- package/auth/SSOState/state.d.ts +4 -0
- package/auth/SSOState/state.js +10 -0
- package/auth/Security/RestrictionsState/actions.d.ts +24 -0
- package/auth/Security/RestrictionsState/actions.js +444 -0
- package/auth/Security/RestrictionsState/index.d.ts +3 -214
- package/auth/Security/RestrictionsState/index.js +3 -63
- package/auth/Security/RestrictionsState/state.d.ts +4 -0
- package/auth/Security/RestrictionsState/state.js +18 -0
- package/auth/Security/SecurityCenterState/actions.d.ts +17 -0
- package/auth/Security/SecurityCenterState/actions.js +308 -0
- package/auth/Security/SecurityCenterState/index.d.ts +3 -156
- package/auth/Security/SecurityCenterState/index.js +3 -81
- package/auth/Security/SecurityCenterState/interfaces.d.ts +28 -1
- package/auth/Security/SecurityCenterState/interfaces.js +10 -1
- package/auth/Security/SecurityCenterState/state.d.ts +4 -0
- package/auth/Security/SecurityCenterState/state.js +40 -0
- package/auth/Security/SecurityPolicyState/actions.d.ts +35 -0
- package/auth/Security/SecurityPolicyState/actions.js +413 -0
- package/auth/Security/SecurityPolicyState/index.d.ts +3 -802
- package/auth/Security/SecurityPolicyState/index.js +3 -90
- package/auth/Security/SecurityPolicyState/interfaces.d.ts +1 -1
- package/auth/Security/SecurityPolicyState/state.d.ts +4 -0
- package/auth/Security/SecurityPolicyState/state.js +37 -0
- package/auth/Security/SessionsPolicyState/actions.d.ts +10 -0
- package/auth/Security/SessionsPolicyState/actions.js +57 -0
- package/auth/Security/SessionsPolicyState/index.d.ts +3 -120
- package/auth/Security/SessionsPolicyState/index.js +3 -32
- package/auth/Security/SessionsPolicyState/state.d.ts +4 -0
- package/auth/Security/SessionsPolicyState/state.js +6 -0
- package/auth/SessionsState/actions.d.ts +14 -0
- package/auth/SessionsState/actions.js +111 -0
- package/auth/SessionsState/index.d.ts +3 -137
- package/auth/SessionsState/index.js +3 -37
- package/auth/SessionsState/interfaces.d.ts +1 -0
- package/auth/SessionsState/state.d.ts +4 -0
- package/auth/SessionsState/state.js +6 -0
- package/auth/SignUpState/actions.d.ts +10 -0
- package/auth/SignUpState/actions.js +146 -0
- package/auth/SignUpState/index.d.ts +3 -0
- package/auth/SignUpState/index.js +3 -0
- package/auth/SignUpState/state.d.ts +4 -0
- package/auth/SignUpState/state.js +10 -0
- package/auth/SmsState/actions.d.ts +15 -0
- package/auth/SmsState/actions.js +181 -0
- package/auth/SmsState/index.d.ts +3 -0
- package/auth/SmsState/index.js +3 -0
- package/auth/SmsState/interfaces.d.ts +10 -0
- package/auth/SmsState/state.d.ts +4 -0
- package/auth/SmsState/state.js +7 -0
- package/auth/SocialLoginState/actions.d.ts +14 -0
- package/auth/SocialLoginState/actions.js +163 -0
- package/auth/SocialLoginState/index.d.ts +3 -0
- package/auth/SocialLoginState/index.js +3 -0
- package/auth/SocialLoginState/state.d.ts +4 -0
- package/auth/SocialLoginState/state.js +7 -0
- package/auth/StepUpState/actions/generateStepUpSession.actions.d.ts +6 -0
- package/auth/StepUpState/actions/generateStepUpSession.actions.js +104 -0
- package/auth/StepUpState/actions/index.d.ts +18 -0
- package/auth/StepUpState/actions/index.js +98 -0
- package/auth/StepUpState/actions/stepUpHostedLogin.actions.d.ts +6 -0
- package/auth/StepUpState/actions/stepUpHostedLogin.actions.js +32 -0
- package/auth/StepUpState/consts.d.ts +21 -0
- package/auth/StepUpState/consts.js +25 -0
- package/auth/StepUpState/helpers.d.ts +29 -0
- package/auth/StepUpState/helpers.js +54 -0
- package/auth/StepUpState/index.d.ts +3 -0
- package/auth/StepUpState/index.js +3 -0
- package/auth/StepUpState/interfaces.d.ts +36 -0
- package/auth/StepUpState/interfaces.js +1 -0
- package/auth/StepUpState/state.d.ts +4 -0
- package/auth/StepUpState/state.js +7 -0
- package/auth/TeamState/actions/activation-link.actions.d.ts +9 -0
- package/auth/TeamState/actions/activation-link.actions.js +84 -0
- package/auth/TeamState/actions/index.d.ts +52 -0
- package/auth/TeamState/actions/index.js +88 -0
- package/auth/TeamState/actions/invitation-link.actions.d.ts +11 -0
- package/auth/TeamState/actions/invitation-link.actions.js +131 -0
- package/auth/TeamState/actions/sub-tenants.actions.d.ts +11 -0
- package/auth/TeamState/actions/sub-tenants.actions.js +214 -0
- package/auth/TeamState/actions/users.actions.d.ts +27 -0
- package/auth/TeamState/actions/users.actions.js +580 -0
- package/auth/TeamState/index.d.ts +3 -211
- package/auth/TeamState/index.js +3 -133
- package/auth/TeamState/interfaces.d.ts +19 -2
- package/auth/TeamState/interfaces.js +2 -0
- package/auth/TeamState/state.d.ts +4 -0
- package/auth/TeamState/state.js +41 -0
- package/auth/TenantsState/actions.d.ts +18 -0
- package/auth/TenantsState/actions.js +109 -0
- package/auth/TenantsState/index.d.ts +3 -136
- package/auth/TenantsState/index.js +3 -42
- package/auth/TenantsState/interfaces.d.ts +3 -1
- package/auth/TenantsState/state.d.ts +4 -0
- package/auth/TenantsState/state.js +8 -0
- package/auth/helpers.d.ts +20 -0
- package/auth/helpers.js +55 -0
- package/auth/index.d.ts +134 -745
- package/auth/index.js +205 -67
- package/auth/interfaces.d.ts +101 -71
- package/auth/interfaces.js +2 -0
- package/connectivity/actions.d.ts +44 -0
- package/connectivity/actions.js +534 -0
- package/connectivity/consts.d.ts +0 -3
- package/connectivity/consts.js +3 -23
- package/connectivity/index.d.ts +4 -40
- package/connectivity/index.js +3 -16
- package/connectivity/interfaces.d.ts +6 -5
- package/connectivity/state.d.ts +4 -0
- package/connectivity/state.js +11 -0
- package/constants.d.ts +2 -6
- package/constants.js +2 -6
- package/helpers/common.d.ts +8 -0
- package/helpers/common.js +44 -0
- package/helpers/converters.d.ts +3 -0
- package/helpers/converters.js +64 -0
- package/helpers/encoders.d.ts +2 -0
- package/helpers/encoders.js +46 -0
- package/helpers/gtm.d.ts +27 -0
- package/helpers/gtm.js +25 -0
- package/helpers/index.d.ts +6 -0
- package/helpers/index.js +6 -0
- package/helpers/package.json +6 -0
- package/helpers/random.d.ts +4 -0
- package/helpers/random.js +28 -0
- package/helpers/sha256.d.ts +21 -0
- package/helpers/sha256.js +424 -0
- package/index.d.ts +11 -12
- package/index.js +13 -11
- package/interfaces.d.ts +80 -6
- package/mocks/audits-mocks/auditLogsActions.mocks.d.ts +13 -0
- package/mocks/audits-mocks/auditLogsActions.mocks.js +52 -0
- package/mocks/audits-mocks/auditsMetadataActions.mocks.d.ts +7 -0
- package/mocks/audits-mocks/auditsMetadataActions.mocks.js +28 -0
- package/mocks/audits-mocks/index.d.ts +15 -0
- package/mocks/audits-mocks/index.js +8 -0
- package/mocks/auth-mocks/acceptInvitationActions.mocks.d.ts +10 -0
- package/mocks/auth-mocks/acceptInvitationActions.mocks.js +6 -0
- package/mocks/auth-mocks/accountSettingsActions.mocks.d.ts +22 -0
- package/mocks/auth-mocks/accountSettingsActions.mocks.js +52 -0
- package/mocks/auth-mocks/activateAccountActions.mocks.d.ts +24 -0
- package/mocks/auth-mocks/activateAccountActions.mocks.js +7 -0
- package/mocks/auth-mocks/allAccountsActions.mocks.d.ts +37 -0
- package/mocks/auth-mocks/allAccountsActions.mocks.js +6 -0
- package/mocks/auth-mocks/apiTokensActions.mocks.d.ts +17 -0
- package/mocks/auth-mocks/apiTokensActions.mocks.js +127 -0
- package/mocks/auth-mocks/applicationsActions.mocks.d.ts +23 -0
- package/mocks/auth-mocks/applicationsActions.mocks.js +7 -0
- package/mocks/auth-mocks/customLoginActions.mocks.d.ts +11 -0
- package/mocks/auth-mocks/customLoginActions.mocks.js +32 -0
- package/mocks/auth-mocks/entitlementsActions.mocks.d.ts +7 -0
- package/mocks/auth-mocks/entitlementsActions.mocks.js +6 -0
- package/mocks/auth-mocks/forgotPasswordActions.mocks.d.ts +10 -0
- package/mocks/auth-mocks/forgotPasswordActions.mocks.js +30 -0
- package/mocks/auth-mocks/groupsActions.mocks.d.ts +33 -0
- package/mocks/auth-mocks/groupsActions.mocks.js +234 -0
- package/mocks/auth-mocks/impersonateActions.mocks.d.ts +7 -0
- package/mocks/auth-mocks/impersonateActions.mocks.js +6 -0
- package/mocks/auth-mocks/index.d.ts +6 -0
- package/mocks/auth-mocks/index.js +130 -0
- package/mocks/auth-mocks/loginActions.mocks.d.ts +77 -0
- package/mocks/auth-mocks/loginActions.mocks.js +39 -0
- package/mocks/auth-mocks/mfaActions.mocks.d.ts +29 -0
- package/mocks/auth-mocks/mfaActions.mocks.js +220 -0
- package/mocks/auth-mocks/passkeysActions.mocks.d.ts +11 -0
- package/mocks/auth-mocks/passkeysActions.mocks.js +6 -0
- package/mocks/auth-mocks/profileActions.mocks.d.ts +10 -0
- package/mocks/auth-mocks/profileActions.mocks.js +67 -0
- package/mocks/auth-mocks/provisioningActions.mocks.d.ts +19 -0
- package/mocks/auth-mocks/provisioningActions.mocks.js +6 -0
- package/mocks/auth-mocks/resetPhoneNumberActions.mocks.d.ts +12 -0
- package/mocks/auth-mocks/resetPhoneNumberActions.mocks.js +6 -0
- package/mocks/auth-mocks/rolesActions.mocks.d.ts +17 -0
- package/mocks/auth-mocks/rolesActions.mocks.js +33 -0
- package/mocks/auth-mocks/security/restrictionsActions.mocks.d.ts +23 -0
- package/mocks/auth-mocks/security/restrictionsActions.mocks.js +248 -0
- package/mocks/auth-mocks/security/securityCenterActions.mocks.d.ts +16 -0
- package/mocks/auth-mocks/security/securityCenterActions.mocks.js +102 -0
- package/mocks/auth-mocks/security/securityPolicyActions.mocks.d.ts +56 -0
- package/mocks/auth-mocks/security/securityPolicyActions.mocks.js +179 -0
- package/mocks/auth-mocks/security/sessionsPolicyActions.mocks.d.ts +10 -0
- package/mocks/auth-mocks/security/sessionsPolicyActions.mocks.js +35 -0
- package/mocks/auth-mocks/sessionsActions.mocks.d.ts +13 -0
- package/mocks/auth-mocks/sessionsActions.mocks.js +44 -0
- package/mocks/auth-mocks/signUpActions.mocks.d.ts +9 -0
- package/mocks/auth-mocks/signUpActions.mocks.js +6 -0
- package/mocks/auth-mocks/smsActions.mocks.d.ts +12 -0
- package/mocks/auth-mocks/smsActions.mocks.js +6 -0
- package/mocks/auth-mocks/socialLoginActions.mocks.d.ts +12 -0
- package/mocks/auth-mocks/socialLoginActions.mocks.js +6 -0
- package/mocks/auth-mocks/ssoActions.mocks.d.ts +77 -0
- package/mocks/auth-mocks/ssoActions.mocks.js +128 -0
- package/mocks/auth-mocks/stepUpActions.mocks.d.ts +15 -0
- package/mocks/auth-mocks/stepUpActions.mocks.js +6 -0
- package/mocks/auth-mocks/teamActions.mocks.d.ts +52 -0
- package/mocks/auth-mocks/teamActions.mocks.js +378 -0
- package/mocks/auth-mocks/tenantsActions.mocks.d.ts +16 -0
- package/mocks/auth-mocks/tenantsActions.mocks.js +18 -0
- package/mocks/connectivity-mocks/index.d.ts +41 -0
- package/mocks/connectivity-mocks/index.js +7 -0
- package/mocks/dummy.d.ts +41 -0
- package/mocks/dummy.js +965 -0
- package/mocks/helpers.d.ts +1 -0
- package/mocks/helpers.js +16 -0
- package/mocks/index.d.ts +68 -0
- package/mocks/index.js +25 -0
- package/mocks/package.json +6 -0
- package/mocks/subscriptions-mocks/billingActions-mocks/index.d.ts +4 -0
- package/mocks/subscriptions-mocks/billingActions-mocks/index.js +17 -0
- package/mocks/subscriptions-mocks/billingActions-mocks/informationActions.mocks.d.ts +8 -0
- package/mocks/subscriptions-mocks/billingActions-mocks/informationActions.mocks.js +36 -0
- package/mocks/subscriptions-mocks/billingActions-mocks/invoicesActions.mocks.d.ts +10 -0
- package/mocks/subscriptions-mocks/billingActions-mocks/invoicesActions.mocks.js +27 -0
- package/mocks/subscriptions-mocks/billingActions-mocks/paymentMethodActions.mocks.d.ts +11 -0
- package/mocks/subscriptions-mocks/billingActions-mocks/paymentMethodActions.mocks.js +20 -0
- package/mocks/subscriptions-mocks/billingActions-mocks/subscriptionActions.mocks.d.ts +14 -0
- package/mocks/subscriptions-mocks/billingActions-mocks/subscriptionActions.mocks.js +21 -0
- package/mocks/subscriptions-mocks/checkoutActions.mocks.d.ts +11 -0
- package/mocks/subscriptions-mocks/checkoutActions.mocks.js +7 -0
- package/mocks/subscriptions-mocks/configActions.mocks.d.ts +7 -0
- package/mocks/subscriptions-mocks/configActions.mocks.js +23 -0
- package/mocks/subscriptions-mocks/index.d.ts +3 -0
- package/mocks/subscriptions-mocks/index.js +23 -0
- package/mocks/subscriptions-mocks/plansActions.mocks.d.ts +7 -0
- package/mocks/subscriptions-mocks/plansActions.mocks.js +28 -0
- package/mocks/subscriptions-mocks/stripeActions.mocks.d.ts +5 -0
- package/mocks/subscriptions-mocks/stripeActions.mocks.js +6 -0
- package/mocks/subscriptions-mocks/vendorPublicConfigActions.mocks.d.ts +9 -0
- package/mocks/subscriptions-mocks/vendorPublicConfigActions.mocks.js +18 -0
- package/mocks/vendor-mocks/index.d.ts +7 -0
- package/mocks/vendor-mocks/index.js +19 -0
- package/node/audits/AuditLogsState/actions.js +111 -0
- package/node/audits/AuditLogsState/index.js +14 -41
- package/node/audits/AuditLogsState/state.js +20 -0
- package/node/audits/AuditsMetadataState/actions.js +43 -0
- package/node/audits/AuditsMetadataState/index.js +14 -31
- package/node/audits/AuditsMetadataState/state.js +13 -0
- package/node/audits/index.js +13 -117
- package/node/audits/interfaces.js +22 -0
- package/node/audits-backward-compatibility/actions.js +265 -0
- package/node/audits-backward-compatibility/index.js +20 -0
- package/node/audits-backward-compatibility/state.js +32 -0
- package/node/auth/AcceptInvitationState/actions.js +50 -0
- package/node/auth/AcceptInvitationState/index.js +15 -33
- package/node/auth/AcceptInvitationState/state.js +14 -0
- package/node/auth/AccountSettingsState/actions.js +101 -0
- package/node/auth/AccountSettingsState/index.js +15 -35
- package/node/auth/AccountSettingsState/state.js +13 -0
- package/node/auth/ActivateAccountState/actions.js +200 -0
- package/node/auth/ActivateAccountState/index.js +20 -0
- package/node/auth/ActivateAccountState/state.js +19 -0
- package/node/auth/ApiTokensState/actions.js +379 -0
- package/node/auth/ApiTokensState/index.js +15 -73
- package/node/auth/ApiTokensState/state.js +31 -0
- package/node/auth/ApplicationsState/actions.js +229 -0
- package/node/auth/ApplicationsState/helpers.js +20 -0
- package/node/auth/ApplicationsState/index.js +20 -0
- package/node/auth/ApplicationsState/state.js +17 -0
- package/node/auth/CustomLoginState/actions.js +124 -0
- package/node/auth/CustomLoginState/index.js +15 -34
- package/node/auth/CustomLoginState/state.js +14 -0
- package/node/auth/Entitlements/actions.js +47 -0
- package/node/auth/Entitlements/helpers.js +77 -0
- package/node/auth/Entitlements/index.js +7 -21
- package/node/auth/ForgotPasswordState/actions.js +92 -0
- package/node/auth/ForgotPasswordState/index.js +15 -42
- package/node/auth/ForgotPasswordState/state.js +17 -0
- package/node/auth/GroupsDialogsState/actions.js +85 -0
- package/node/auth/GroupsDialogsState/index.js +20 -0
- package/node/auth/GroupsDialogsState/state.js +33 -0
- package/node/auth/GroupsState/actions.js +411 -0
- package/node/auth/GroupsState/index.js +15 -61
- package/node/auth/GroupsState/interfaces.js +1 -0
- package/node/auth/GroupsState/state.js +16 -0
- package/node/auth/ImpersonateState/actions.js +60 -0
- package/node/auth/ImpersonateState/index.js +20 -0
- package/node/auth/ImpersonateState/state.js +15 -0
- package/node/auth/LoginState/actions/afterAuthNavigation.actions.js +191 -0
- package/node/auth/LoginState/actions/handleVerifyMFAResponse.actions.js +98 -0
- package/node/auth/LoginState/actions/hostedLoginAuthorize.actions.js +211 -0
- package/node/auth/LoginState/actions/index.js +1304 -0
- package/node/auth/LoginState/actions/mfaRequiredState.actions.js +71 -0
- package/node/auth/LoginState/actions/mfaWithAuthenticator.actions.js +145 -0
- package/node/auth/LoginState/actions/mfaWithEmailCode.actions.js +109 -0
- package/node/auth/LoginState/actions/mfaWithSMS.actions.js +116 -0
- package/node/auth/LoginState/actions/mfaWithWebAuthn.actions.js +127 -0
- package/node/auth/LoginState/consts.js +7 -6
- package/node/auth/LoginState/helpers.js +150 -0
- package/node/auth/LoginState/index.js +11 -146
- package/node/auth/LoginState/interfaces.js +9 -2
- package/node/auth/LoginState/state.js +18 -0
- package/node/auth/MSP/actions.js +970 -0
- package/node/auth/MSP/dialogs/actions.js +132 -0
- package/node/auth/MSP/dialogs/state.js +84 -0
- package/node/auth/MSP/helpers/getAccountsWithUsersCount.js +28 -0
- package/node/auth/MSP/helpers/index.js +60 -0
- package/node/auth/MSP/helpers/updateNodeIsReseller.js +22 -0
- package/node/auth/MSP/helpers/updateNodeSubAccountAccessType.js +21 -0
- package/node/auth/MSP/index.js +29 -11
- package/node/auth/MSP/interfaces/stateTypes.js +29 -0
- package/node/auth/MSP/state.js +46 -0
- package/node/auth/MfaState/actions.js +439 -0
- package/node/auth/MfaState/index.js +15 -68
- package/node/auth/MfaState/interfaces.js +1 -0
- package/node/auth/MfaState/state.js +16 -0
- package/node/auth/PasskeysState/actions.js +109 -0
- package/node/auth/PasskeysState/index.js +15 -35
- package/node/auth/PasskeysState/state.js +15 -0
- package/node/auth/ProfileState/actions.js +120 -0
- package/node/auth/ProfileState/index.js +15 -37
- package/node/auth/ProfileState/state.js +14 -0
- package/node/auth/ProvisioningState/actions.js +138 -0
- package/node/auth/ProvisioningState/index.js +20 -0
- package/node/auth/ProvisioningState/state.js +13 -0
- package/node/auth/ResetPhoneNumberState/actions.js +123 -0
- package/node/auth/ResetPhoneNumberState/index.js +15 -40
- package/node/auth/ResetPhoneNumberState/state.js +15 -0
- package/node/auth/RolesState/actions.js +282 -0
- package/node/auth/RolesState/index.js +15 -50
- package/node/auth/RolesState/interfaces.js +11 -1
- package/node/auth/RolesState/state.js +17 -0
- package/node/auth/SSOState/actions/actions.v1.js +395 -0
- package/node/auth/SSOState/actions/actions.v2.js +367 -0
- package/node/auth/SSOState/actions/index.js +14 -0
- package/node/auth/SSOState/index.js +15 -103
- package/node/auth/SSOState/state.js +18 -0
- package/node/auth/Security/RestrictionsState/actions.js +452 -0
- package/node/auth/Security/RestrictionsState/index.js +14 -64
- package/node/auth/Security/RestrictionsState/state.js +26 -0
- package/node/auth/Security/SecurityCenterState/actions.js +316 -0
- package/node/auth/Security/SecurityCenterState/index.js +14 -82
- package/node/auth/Security/SecurityCenterState/interfaces.js +13 -1
- package/node/auth/Security/SecurityCenterState/state.js +48 -0
- package/node/auth/Security/SecurityPolicyState/actions.js +421 -0
- package/node/auth/Security/SecurityPolicyState/index.js +14 -91
- package/node/auth/Security/SecurityPolicyState/state.js +45 -0
- package/node/auth/Security/SessionsPolicyState/actions.js +65 -0
- package/node/auth/Security/SessionsPolicyState/index.js +15 -34
- package/node/auth/Security/SessionsPolicyState/state.js +14 -0
- package/node/auth/SessionsState/actions.js +118 -0
- package/node/auth/SessionsState/index.js +15 -39
- package/node/auth/SessionsState/state.js +14 -0
- package/node/auth/SignUpState/actions.js +154 -0
- package/node/auth/SignUpState/index.js +20 -0
- package/node/auth/SignUpState/state.js +18 -0
- package/node/auth/SmsState/actions.js +189 -0
- package/node/auth/SmsState/index.js +20 -0
- package/node/auth/SmsState/state.js +15 -0
- package/node/auth/SocialLoginState/actions.js +171 -0
- package/node/auth/SocialLoginState/index.js +20 -0
- package/node/auth/SocialLoginState/state.js +15 -0
- package/node/auth/StepUpState/actions/generateStepUpSession.actions.js +111 -0
- package/node/auth/StepUpState/actions/index.js +106 -0
- package/node/auth/StepUpState/actions/stepUpHostedLogin.actions.js +39 -0
- package/node/auth/StepUpState/consts.js +36 -0
- package/node/auth/StepUpState/helpers.js +63 -0
- package/node/auth/StepUpState/index.js +20 -0
- package/node/auth/StepUpState/interfaces.js +5 -0
- package/node/auth/StepUpState/state.js +15 -0
- package/node/auth/TeamState/actions/activation-link.actions.js +92 -0
- package/node/auth/TeamState/actions/index.js +96 -0
- package/node/auth/TeamState/actions/invitation-link.actions.js +139 -0
- package/node/auth/TeamState/actions/sub-tenants.actions.js +222 -0
- package/node/auth/TeamState/actions/users.actions.js +588 -0
- package/node/auth/TeamState/index.js +14 -134
- package/node/auth/TeamState/interfaces.js +2 -0
- package/node/auth/TeamState/state.js +49 -0
- package/node/auth/TenantsState/actions.js +116 -0
- package/node/auth/TenantsState/index.js +15 -44
- package/node/auth/TenantsState/state.js +16 -0
- package/node/auth/helpers.js +107 -0
- package/node/auth/index.js +237 -422
- package/node/auth/interfaces.js +1 -1
- package/node/connectivity/actions.js +542 -0
- package/node/connectivity/consts.js +4 -28
- package/node/connectivity/index.js +7 -55
- package/node/connectivity/state.js +19 -0
- package/node/constants.js +30 -14
- package/node/helpers/common.js +57 -0
- package/node/helpers/converters.js +73 -0
- package/node/helpers/encoders.js +54 -0
- package/node/helpers/gtm.js +31 -0
- package/node/helpers/index.js +71 -0
- package/node/helpers/random.js +37 -0
- package/node/index.js +90 -72
- package/node/mocks/audits-mocks/auditLogsActions.mocks.js +59 -0
- package/node/mocks/audits-mocks/auditsMetadataActions.mocks.js +35 -0
- package/node/mocks/audits-mocks/index.js +16 -0
- package/node/mocks/auth-mocks/acceptInvitationActions.mocks.js +13 -0
- package/node/mocks/auth-mocks/accountSettingsActions.mocks.js +60 -0
- package/node/mocks/auth-mocks/activateAccountActions.mocks.js +14 -0
- package/node/mocks/auth-mocks/allAccountsActions.mocks.js +13 -0
- package/node/mocks/auth-mocks/apiTokensActions.mocks.js +135 -0
- package/node/mocks/auth-mocks/applicationsActions.mocks.js +14 -0
- package/node/mocks/auth-mocks/customLoginActions.mocks.js +39 -0
- package/node/mocks/auth-mocks/entitlementsActions.mocks.js +13 -0
- package/node/mocks/auth-mocks/forgotPasswordActions.mocks.js +37 -0
- package/node/mocks/auth-mocks/groupsActions.mocks.js +242 -0
- package/node/mocks/auth-mocks/impersonateActions.mocks.js +13 -0
- package/node/mocks/auth-mocks/index.js +140 -0
- package/node/mocks/auth-mocks/loginActions.mocks.js +46 -0
- package/node/mocks/auth-mocks/mfaActions.mocks.js +228 -0
- package/node/mocks/auth-mocks/passkeysActions.mocks.js +13 -0
- package/node/mocks/auth-mocks/profileActions.mocks.js +75 -0
- package/node/mocks/auth-mocks/provisioningActions.mocks.js +13 -0
- package/node/mocks/auth-mocks/resetPhoneNumberActions.mocks.js +13 -0
- package/node/mocks/auth-mocks/rolesActions.mocks.js +40 -0
- package/node/mocks/auth-mocks/security/restrictionsActions.mocks.js +256 -0
- package/node/mocks/auth-mocks/security/securityCenterActions.mocks.js +109 -0
- package/node/mocks/auth-mocks/security/securityPolicyActions.mocks.js +187 -0
- package/node/mocks/auth-mocks/security/sessionsPolicyActions.mocks.js +43 -0
- package/node/mocks/auth-mocks/sessionsActions.mocks.js +51 -0
- package/node/mocks/auth-mocks/signUpActions.mocks.js +13 -0
- package/node/mocks/auth-mocks/smsActions.mocks.js +13 -0
- package/node/mocks/auth-mocks/socialLoginActions.mocks.js +13 -0
- package/node/mocks/auth-mocks/ssoActions.mocks.js +136 -0
- package/node/mocks/auth-mocks/stepUpActions.mocks.js +13 -0
- package/node/mocks/auth-mocks/teamActions.mocks.js +386 -0
- package/node/mocks/auth-mocks/tenantsActions.mocks.js +25 -0
- package/node/mocks/connectivity-mocks/index.js +14 -0
- package/node/mocks/dummy.js +1010 -0
- package/node/mocks/helpers.js +24 -0
- package/node/mocks/index.js +32 -0
- package/node/mocks/subscriptions-mocks/billingActions-mocks/index.js +25 -0
- package/node/mocks/subscriptions-mocks/billingActions-mocks/informationActions.mocks.js +44 -0
- package/node/mocks/subscriptions-mocks/billingActions-mocks/invoicesActions.mocks.js +35 -0
- package/node/mocks/subscriptions-mocks/billingActions-mocks/paymentMethodActions.mocks.js +27 -0
- package/node/mocks/subscriptions-mocks/billingActions-mocks/subscriptionActions.mocks.js +28 -0
- package/node/mocks/subscriptions-mocks/checkoutActions.mocks.js +14 -0
- package/node/mocks/subscriptions-mocks/configActions.mocks.js +30 -0
- package/node/mocks/subscriptions-mocks/index.js +31 -0
- package/node/mocks/subscriptions-mocks/plansActions.mocks.js +36 -0
- package/node/mocks/subscriptions-mocks/stripeActions.mocks.js +13 -0
- package/node/mocks/subscriptions-mocks/vendorPublicConfigActions.mocks.js +25 -0
- package/node/mocks/vendor-mocks/index.js +26 -0
- package/node/subscriptions/Billing/Information/actions.js +96 -0
- package/node/subscriptions/Billing/Information/index.js +13 -28
- package/node/subscriptions/Billing/Information/state.js +15 -0
- package/node/subscriptions/Billing/Invoices/actions.js +80 -0
- package/node/subscriptions/Billing/Invoices/index.js +11 -40
- package/node/subscriptions/Billing/Invoices/state.js +20 -0
- package/node/subscriptions/Billing/PaymentMethod/actions.js +92 -0
- package/node/subscriptions/Billing/PaymentMethod/index.js +11 -37
- package/node/subscriptions/Billing/PaymentMethod/interfaces.js +0 -1
- package/node/subscriptions/Billing/PaymentMethod/state.js +15 -0
- package/node/subscriptions/Billing/Subscription/actions.js +145 -0
- package/node/subscriptions/Billing/Subscription/index.js +11 -38
- package/node/subscriptions/Billing/Subscription/state.js +23 -0
- package/node/subscriptions/Billing/index.js +25 -22
- package/node/subscriptions/Checkout/actions.js +108 -0
- package/node/subscriptions/Checkout/index.js +13 -34
- package/node/subscriptions/Checkout/state.js +16 -0
- package/node/subscriptions/Config/actions.js +69 -0
- package/node/subscriptions/Config/index.js +13 -26
- package/node/subscriptions/Config/state.js +16 -0
- package/node/subscriptions/Plans/actions.js +56 -0
- package/node/subscriptions/Plans/index.js +13 -25
- package/node/subscriptions/Plans/state.js +16 -0
- package/node/subscriptions/Stripe/actions.js +50 -0
- package/node/subscriptions/Stripe/index.js +13 -26
- package/node/subscriptions/Stripe/state.js +15 -0
- package/node/subscriptions/VendorPublicConfig/actions.js +51 -0
- package/node/subscriptions/VendorPublicConfig/index.js +13 -24
- package/node/subscriptions/VendorPublicConfig/state.js +15 -0
- package/node/subscriptions/helpers.js +36 -0
- package/node/subscriptions/index.js +98 -55
- package/node/subscriptions/interfaces.js +20 -77
- package/node/toolkit/FronteggNativeModule.js +64 -0
- package/node/toolkit/index.js +22 -146
- package/node/toolkit/proxy.js +17 -0
- package/node/toolkit/store.js +233 -0
- package/node/vendor/actions.js +46 -0
- package/node/vendor/index.js +7 -55
- package/node/vendor/state.js +13 -0
- package/package.json +6 -5
- package/subscriptions/Billing/Information/actions.d.ts +9 -0
- package/subscriptions/Billing/Information/actions.js +88 -0
- package/subscriptions/Billing/Information/index.d.ts +3 -12
- package/subscriptions/Billing/Information/index.js +3 -26
- package/subscriptions/Billing/Information/interfaces.d.ts +1 -1
- package/subscriptions/Billing/Information/state.d.ts +4 -0
- package/subscriptions/Billing/Information/state.js +7 -0
- package/subscriptions/Billing/Invoices/actions.d.ts +11 -0
- package/subscriptions/Billing/Invoices/actions.js +73 -0
- package/subscriptions/Billing/Invoices/index.d.ts +3 -18
- package/subscriptions/Billing/Invoices/index.js +3 -40
- package/subscriptions/Billing/Invoices/interfaces.d.ts +1 -1
- package/subscriptions/Billing/Invoices/state.d.ts +4 -0
- package/subscriptions/Billing/Invoices/state.js +12 -0
- package/subscriptions/Billing/PaymentMethod/actions.d.ts +12 -0
- package/subscriptions/Billing/PaymentMethod/actions.js +84 -0
- package/subscriptions/Billing/PaymentMethod/index.d.ts +3 -20
- package/subscriptions/Billing/PaymentMethod/index.js +3 -37
- package/subscriptions/Billing/PaymentMethod/interfaces.d.ts +1 -1
- package/subscriptions/Billing/PaymentMethod/interfaces.js +0 -2
- package/subscriptions/Billing/PaymentMethod/state.d.ts +4 -0
- package/subscriptions/Billing/PaymentMethod/state.js +7 -0
- package/subscriptions/Billing/Subscription/actions.d.ts +14 -0
- package/subscriptions/Billing/Subscription/actions.js +138 -0
- package/subscriptions/Billing/Subscription/index.d.ts +3 -16
- package/subscriptions/Billing/Subscription/index.js +3 -38
- package/subscriptions/Billing/Subscription/interfaces.d.ts +0 -3
- package/subscriptions/Billing/Subscription/state.d.ts +4 -0
- package/subscriptions/Billing/Subscription/state.js +15 -0
- package/subscriptions/Billing/index.d.ts +13 -52
- package/subscriptions/Billing/index.js +25 -22
- package/subscriptions/Billing/interfaces.d.ts +4 -10
- package/subscriptions/Billing/interfaces.js +0 -2
- package/subscriptions/Checkout/actions.d.ts +12 -0
- package/subscriptions/Checkout/actions.js +100 -0
- package/subscriptions/Checkout/index.d.ts +3 -14
- package/subscriptions/Checkout/index.js +3 -32
- package/subscriptions/Checkout/interfaces.d.ts +0 -7
- package/subscriptions/Checkout/state.d.ts +4 -0
- package/subscriptions/Checkout/state.js +8 -0
- package/subscriptions/Config/actions.d.ts +8 -0
- package/subscriptions/Config/actions.js +62 -0
- package/subscriptions/Config/index.d.ts +3 -10
- package/subscriptions/Config/index.js +3 -24
- package/subscriptions/Config/interfaces.d.ts +1 -1
- package/subscriptions/Config/state.d.ts +4 -0
- package/subscriptions/Config/state.js +8 -0
- package/subscriptions/Plans/actions.d.ts +8 -0
- package/subscriptions/Plans/actions.js +49 -0
- package/subscriptions/Plans/index.d.ts +3 -10
- package/subscriptions/Plans/index.js +3 -23
- package/subscriptions/Plans/interfaces.d.ts +1 -4
- package/subscriptions/Plans/state.d.ts +4 -0
- package/subscriptions/Plans/state.js +8 -0
- package/subscriptions/Stripe/actions.d.ts +6 -0
- package/subscriptions/Stripe/actions.js +43 -0
- package/subscriptions/Stripe/index.d.ts +3 -11
- package/subscriptions/Stripe/index.js +3 -24
- package/subscriptions/Stripe/state.d.ts +4 -0
- package/subscriptions/Stripe/state.js +7 -0
- package/subscriptions/VendorPublicConfig/actions.d.ts +10 -0
- package/subscriptions/VendorPublicConfig/actions.js +44 -0
- package/subscriptions/VendorPublicConfig/index.d.ts +3 -10
- package/subscriptions/VendorPublicConfig/index.js +3 -22
- package/subscriptions/VendorPublicConfig/state.d.ts +4 -0
- package/subscriptions/VendorPublicConfig/state.js +7 -0
- package/subscriptions/helpers.d.ts +5 -0
- package/subscriptions/helpers.js +28 -0
- package/subscriptions/index.d.ts +28 -106
- package/subscriptions/index.js +40 -17
- package/subscriptions/interfaces.d.ts +56 -22
- package/subscriptions/interfaces.js +16 -8
- package/toolkit/FronteggNativeModule.d.ts +29 -0
- package/toolkit/FronteggNativeModule.js +57 -0
- package/toolkit/index.d.ts +5 -23
- package/toolkit/index.js +3 -128
- package/toolkit/proxy.d.ts +1 -0
- package/toolkit/proxy.js +9 -0
- package/toolkit/store.d.ts +59 -0
- package/toolkit/store.js +198 -0
- package/vendor/actions.d.ts +12 -0
- package/vendor/actions.js +38 -0
- package/vendor/index.d.ts +4 -17
- package/vendor/index.js +3 -16
- package/vendor/interfaces.d.ts +4 -1
- package/vendor/state.d.ts +4 -0
- package/vendor/state.js +5 -0
- package/audits/AuditLogsState/saga.d.ts +0 -2
- package/audits/AuditLogsState/saga.js +0 -153
- package/audits/AuditsMetadataState/saga.d.ts +0 -2
- package/audits/AuditsMetadataState/saga.js +0 -55
- package/audits/backward-compatibility/index.d.ts +0 -4
- package/audits/backward-compatibility/index.js +0 -4
- package/audits/backward-compatibility/initialState.d.ts +0 -2
- package/audits/backward-compatibility/initialState.js +0 -20
- package/audits/backward-compatibility/interfaces.d.ts +0 -55
- package/audits/backward-compatibility/reducer.d.ts +0 -35
- package/audits/backward-compatibility/reducer.js +0 -129
- package/audits/backward-compatibility/saga.d.ts +0 -1
- package/audits/backward-compatibility/saga.js +0 -173
- package/audits/initialState.d.ts +0 -2
- package/audits/initialState.js +0 -6
- package/audits/reducer.d.ts +0 -31
- package/audits/reducer.js +0 -21
- package/audits/saga.d.ts +0 -2
- package/audits/saga.js +0 -9
- package/audits/utils.d.ts +0 -14
- package/audits/utils.js +0 -13
- package/auth/AcceptInvitationState/saga.d.ts +0 -1
- package/auth/AcceptInvitationState/saga.js +0 -39
- package/auth/AccountSettingsState/saga.d.ts +0 -2
- package/auth/AccountSettingsState/saga.js +0 -127
- package/auth/ActivateState/index.d.ts +0 -190
- package/auth/ActivateState/index.js +0 -46
- package/auth/ActivateState/saga.d.ts +0 -1
- package/auth/ActivateState/saga.js +0 -191
- package/auth/ApiTokensState/saga.d.ts +0 -2
- package/auth/ApiTokensState/saga.js +0 -485
- package/auth/CustomLoginState/saga.d.ts +0 -20
- package/auth/CustomLoginState/saga.js +0 -152
- package/auth/CustomLoginState/utils.d.ts +0 -2
- package/auth/CustomLoginState/utils.js +0 -11
- package/auth/Entitlements/saga.d.ts +0 -30
- package/auth/Entitlements/saga.js +0 -51
- package/auth/Entitlements/utils.d.ts +0 -23
- package/auth/Entitlements/utils.js +0 -71
- package/auth/ForgotPasswordState/saga.d.ts +0 -8
- package/auth/ForgotPasswordState/saga.js +0 -81
- package/auth/GroupsState/groupsDialogsState.d.ts +0 -614
- package/auth/GroupsState/groupsDialogsState.js +0 -79
- package/auth/GroupsState/saga.d.ts +0 -2
- package/auth/GroupsState/saga.js +0 -640
- package/auth/Helpers/base64ToFormData.d.ts +0 -1
- package/auth/Helpers/base64ToFormData.js +0 -37
- package/auth/Helpers/index.d.ts +0 -2
- package/auth/Helpers/index.js +0 -2
- package/auth/Helpers/isAuthRoute.d.ts +0 -2
- package/auth/Helpers/isAuthRoute.js +0 -9
- package/auth/ImpersonationState/index.d.ts +0 -117
- package/auth/ImpersonationState/index.js +0 -32
- package/auth/ImpersonationState/interfaces.d.ts +0 -14
- package/auth/ImpersonationState/saga.d.ts +0 -1
- package/auth/ImpersonationState/saga.js +0 -37
- package/auth/LoginState/mfaRequiredState.saga.d.ts +0 -32
- package/auth/LoginState/mfaRequiredState.saga.js +0 -61
- package/auth/LoginState/saga.d.ts +0 -35
- package/auth/LoginState/saga.js +0 -1967
- package/auth/LoginState/utils.d.ts +0 -27
- package/auth/LoginState/utils.js +0 -126
- package/auth/MSP/AllAccountsState/allAccountsDialogsState.d.ts +0 -767
- package/auth/MSP/AllAccountsState/allAccountsDialogsState.js +0 -89
- package/auth/MSP/AllAccountsState/index.d.ts +0 -232
- package/auth/MSP/AllAccountsState/index.js +0 -101
- package/auth/MSP/AllAccountsState/saga.d.ts +0 -3
- package/auth/MSP/AllAccountsState/saga.js +0 -825
- package/auth/MSP/AllAccountsState/types/dialogsStateTypes.d.ts +0 -49
- package/auth/MSP/AllAccountsState/types/stateTypes.d.ts +0 -106
- package/auth/MSP/AllAccountsState/types/stateTypes.js +0 -22
- package/auth/MSP/AllAccountsState/utils/appendChildrenToNode.d.ts +0 -2
- package/auth/MSP/AllAccountsState/utils/getAccountsWithUsersCount.d.ts +0 -13
- package/auth/MSP/AllAccountsState/utils/getAccountsWithUsersCount.js +0 -19
- package/auth/MSP/AllAccountsState/utils/removeNodeFromTree.d.ts +0 -2
- package/auth/MSP/AllAccountsState/utils/updateNodeName.d.ts +0 -2
- package/auth/MfaState/saga.d.ts +0 -2
- package/auth/MfaState/saga.js +0 -673
- package/auth/PasskeysState/helpers.d.ts +0 -2
- package/auth/PasskeysState/helpers.js +0 -8
- package/auth/PasskeysState/saga.d.ts +0 -14
- package/auth/PasskeysState/saga.js +0 -56
- package/auth/ProfileState/saga.d.ts +0 -2
- package/auth/ProfileState/saga.js +0 -178
- package/auth/Provisioning/index.d.ts +0 -128
- package/auth/Provisioning/index.js +0 -37
- package/auth/Provisioning/saga.d.ts +0 -1
- package/auth/Provisioning/saga.js +0 -121
- package/auth/ResetPhoneNumberState/saga.d.ts +0 -17
- package/auth/ResetPhoneNumberState/saga.js +0 -119
- package/auth/RolesState/saga.d.ts +0 -2
- package/auth/RolesState/saga.js +0 -208
- package/auth/SSOState/saga.d.ts +0 -2
- package/auth/SSOState/saga.js +0 -478
- package/auth/SSOState/saga.v2.d.ts +0 -1
- package/auth/SSOState/saga.v2.js +0 -546
- package/auth/Security/RestrictionsState/saga.d.ts +0 -2
- package/auth/Security/RestrictionsState/saga.js +0 -698
- package/auth/Security/SecurityCenterState/saga.d.ts +0 -129
- package/auth/Security/SecurityCenterState/saga.js +0 -419
- package/auth/Security/SecurityCenterState/types.d.ts +0 -28
- package/auth/Security/SecurityCenterState/types.js +0 -10
- package/auth/Security/SecurityPolicyState/saga.d.ts +0 -50
- package/auth/Security/SecurityPolicyState/saga.js +0 -560
- package/auth/Security/SessionsPolicyState/saga.d.ts +0 -2
- package/auth/Security/SessionsPolicyState/saga.js +0 -87
- package/auth/SessionsState/saga.d.ts +0 -2
- package/auth/SessionsState/saga.js +0 -152
- package/auth/SignUp/index.d.ts +0 -118
- package/auth/SignUp/index.js +0 -36
- package/auth/SignUp/saga.d.ts +0 -64
- package/auth/SignUp/saga.js +0 -134
- package/auth/SocialLogins/index.d.ts +0 -123
- package/auth/SocialLogins/index.js +0 -37
- package/auth/SocialLogins/saga.d.ts +0 -11
- package/auth/SocialLogins/saga.js +0 -152
- package/auth/TeamState/saga.d.ts +0 -2
- package/auth/TeamState/saga.js +0 -1278
- package/auth/TenantsState/saga.d.ts +0 -2
- package/auth/TenantsState/saga.js +0 -125
- package/auth/dummy.d.ts +0 -45
- package/auth/dummy.js +0 -590
- package/auth/initialState.d.ts +0 -3
- package/auth/initialState.js +0 -66
- package/auth/reducer.d.ts +0 -720
- package/auth/reducer.js +0 -54
- package/auth/saga.d.ts +0 -2
- package/auth/saga.js +0 -41
- package/auth/utils.d.ts +0 -327
- package/auth/utils.js +0 -159
- package/connectivity/ConnectivityState/index.d.ts +0 -301
- package/connectivity/ConnectivityState/index.js +0 -101
- package/connectivity/reducer.d.ts +0 -31
- package/connectivity/reducer.js +0 -23
- package/connectivity/saga.d.ts +0 -1
- package/connectivity/saga.js +0 -562
- package/fronteggState.d.ts +0 -28
- package/helpers.d.ts +0 -8
- package/helpers.js +0 -56
- package/node/audits/AuditLogsState/saga.js +0 -161
- package/node/audits/AuditsMetadataState/saga.js +0 -62
- package/node/audits/backward-compatibility/index.js +0 -49
- package/node/audits/backward-compatibility/initialState.js +0 -27
- package/node/audits/backward-compatibility/reducer.js +0 -139
- package/node/audits/backward-compatibility/saga.js +0 -180
- package/node/audits/initialState.js +0 -13
- package/node/audits/reducer.js +0 -29
- package/node/audits/saga.js +0 -16
- package/node/audits/utils.js +0 -21
- package/node/auth/AcceptInvitationState/saga.js +0 -45
- package/node/auth/AccountSettingsState/saga.js +0 -135
- package/node/auth/ActivateState/index.js +0 -53
- package/node/auth/ActivateState/saga.js +0 -198
- package/node/auth/ApiTokensState/saga.js +0 -493
- package/node/auth/CustomLoginState/saga.js +0 -163
- package/node/auth/CustomLoginState/utils.js +0 -18
- package/node/auth/Entitlements/saga.js +0 -61
- package/node/auth/Entitlements/utils.js +0 -80
- package/node/auth/ForgotPasswordState/saga.js +0 -89
- package/node/auth/GroupsState/groupsDialogsState.js +0 -87
- package/node/auth/GroupsState/saga.js +0 -648
- package/node/auth/Helpers/base64ToFormData.js +0 -43
- package/node/auth/Helpers/index.js +0 -27
- package/node/auth/Helpers/isAuthRoute.js +0 -17
- package/node/auth/ImpersonationState/index.js +0 -39
- package/node/auth/ImpersonationState/saga.js +0 -44
- package/node/auth/LoginState/mfaRequiredState.saga.js +0 -68
- package/node/auth/LoginState/saga.js +0 -1981
- package/node/auth/LoginState/utils.js +0 -142
- package/node/auth/MSP/AllAccountsState/allAccountsDialogsState.js +0 -96
- package/node/auth/MSP/AllAccountsState/index.js +0 -126
- package/node/auth/MSP/AllAccountsState/saga.js +0 -835
- package/node/auth/MSP/AllAccountsState/types/stateTypes.js +0 -27
- package/node/auth/MSP/AllAccountsState/utils/getAccountsWithUsersCount.js +0 -26
- package/node/auth/MfaState/saga.js +0 -681
- package/node/auth/PasskeysState/helpers.js +0 -15
- package/node/auth/PasskeysState/saga.js +0 -64
- package/node/auth/ProfileState/saga.js +0 -186
- package/node/auth/Provisioning/index.js +0 -44
- package/node/auth/Provisioning/saga.js +0 -128
- package/node/auth/ResetPhoneNumberState/saga.js +0 -127
- package/node/auth/RolesState/saga.js +0 -216
- package/node/auth/SSOState/saga.js +0 -486
- package/node/auth/SSOState/saga.v2.js +0 -553
- package/node/auth/Security/RestrictionsState/saga.js +0 -706
- package/node/auth/Security/SecurityCenterState/saga.js +0 -441
- package/node/auth/Security/SecurityCenterState/types.js +0 -17
- package/node/auth/Security/SecurityPolicyState/saga.js +0 -574
- package/node/auth/Security/SessionsPolicyState/saga.js +0 -95
- package/node/auth/SessionsState/saga.js +0 -159
- package/node/auth/SignUp/index.js +0 -43
- package/node/auth/SignUp/saga.js +0 -144
- package/node/auth/SocialLogins/index.js +0 -44
- package/node/auth/SocialLogins/saga.js +0 -161
- package/node/auth/TeamState/saga.js +0 -1286
- package/node/auth/TenantsState/saga.js +0 -132
- package/node/auth/dummy.js +0 -633
- package/node/auth/initialState.js +0 -75
- package/node/auth/reducer.js +0 -62
- package/node/auth/saga.js +0 -48
- package/node/auth/utils.js +0 -178
- package/node/connectivity/ConnectivityState/index.js +0 -108
- package/node/connectivity/reducer.js +0 -32
- package/node/connectivity/saga.js +0 -567
- package/node/helpers.js +0 -70
- package/node/subscriptions/Billing/Information/saga.js +0 -122
- package/node/subscriptions/Billing/Invoices/saga.js +0 -85
- package/node/subscriptions/Billing/PaymentMethod/saga.js +0 -87
- package/node/subscriptions/Billing/Subscription/loadSubscription.saga.js +0 -26
- package/node/subscriptions/Billing/Subscription/saga.js +0 -101
- package/node/subscriptions/Billing/saga.js +0 -18
- package/node/subscriptions/Checkout/saga.js +0 -116
- package/node/subscriptions/Config/saga.js +0 -65
- package/node/subscriptions/Plans/saga.js +0 -66
- package/node/subscriptions/Stripe/saga.js +0 -37
- package/node/subscriptions/VendorPublicConfig/saga.js +0 -45
- package/node/subscriptions/general.interfaces.js +0 -25
- package/node/subscriptions/mapper.js +0 -40
- package/node/subscriptions/reducer.js +0 -48
- package/node/subscriptions/saga.js +0 -20
- package/node/subscriptions/utils.js +0 -62
- package/node/toolkit/redux-saga-tools.js +0 -56
- package/node/toolkit/redux.js +0 -42
- package/node/utils/gtm.js +0 -29
- package/node/utils/index.js +0 -38
- package/node/vendor/VendorState/index.js +0 -31
- package/node/vendor/reducer.js +0 -26
- package/node/vendor/saga.js +0 -52
- package/subscriptions/Billing/Information/saga.d.ts +0 -34
- package/subscriptions/Billing/Information/saga.js +0 -111
- package/subscriptions/Billing/Invoices/saga.d.ts +0 -13
- package/subscriptions/Billing/Invoices/saga.js +0 -76
- package/subscriptions/Billing/PaymentMethod/saga.d.ts +0 -13
- package/subscriptions/Billing/PaymentMethod/saga.js +0 -78
- package/subscriptions/Billing/Subscription/loadSubscription.saga.d.ts +0 -1
- package/subscriptions/Billing/Subscription/loadSubscription.saga.js +0 -21
- package/subscriptions/Billing/Subscription/saga.d.ts +0 -2
- package/subscriptions/Billing/Subscription/saga.js +0 -94
- package/subscriptions/Billing/saga.d.ts +0 -2
- package/subscriptions/Billing/saga.js +0 -11
- package/subscriptions/Checkout/saga.d.ts +0 -5
- package/subscriptions/Checkout/saga.js +0 -108
- package/subscriptions/Config/saga.d.ts +0 -2
- package/subscriptions/Config/saga.js +0 -58
- package/subscriptions/Plans/saga.d.ts +0 -2
- package/subscriptions/Plans/saga.js +0 -58
- package/subscriptions/Stripe/saga.d.ts +0 -1
- package/subscriptions/Stripe/saga.js +0 -31
- package/subscriptions/VendorPublicConfig/saga.d.ts +0 -2
- package/subscriptions/VendorPublicConfig/saga.js +0 -38
- package/subscriptions/general.interfaces.d.ts +0 -49
- package/subscriptions/general.interfaces.js +0 -16
- package/subscriptions/mapper.d.ts +0 -6
- package/subscriptions/mapper.js +0 -31
- package/subscriptions/reducer.d.ts +0 -99
- package/subscriptions/reducer.js +0 -33
- package/subscriptions/saga.d.ts +0 -2
- package/subscriptions/saga.js +0 -13
- package/subscriptions/utils.d.ts +0 -68
- package/subscriptions/utils.js +0 -52
- package/toolkit/interfaces.d.ts +0 -7
- package/toolkit/redux-saga-tools.d.ts +0 -4
- package/toolkit/redux-saga-tools.js +0 -3
- package/toolkit/redux-types.d.ts +0 -3
- package/toolkit/redux.d.ts +0 -4
- package/toolkit/redux.js +0 -1
- package/utils/gtm.d.ts +0 -28
- package/utils/gtm.js +0 -22
- package/utils/index.d.ts +0 -3
- package/utils/index.js +0 -3
- package/utils/package.json +0 -6
- package/utils/sha256.d.ts +0 -22
- package/utils/sha256.js +0 -425
- package/vendor/VendorState/index.d.ts +0 -21
- package/vendor/VendorState/index.js +0 -24
- package/vendor/reducer.d.ts +0 -8
- package/vendor/reducer.js +0 -17
- package/vendor/saga.d.ts +0 -8
- package/vendor/saga.js +0 -44
- /package/{audits/backward-compatibility → audits-backward-compatibility}/interfaces.js +0 -0
- /package/auth/{ActivateState → ActivateAccountState}/interfaces.d.ts +0 -0
- /package/auth/{ActivateState → ActivateAccountState}/interfaces.js +0 -0
- /package/auth/{Provisioning → ApplicationsState}/interfaces.js +0 -0
- /package/auth/{SocialLogins → GroupsDialogsState}/interfaces.js +0 -0
- /package/auth/{ImpersonationState → ImpersonateState}/interfaces.js +0 -0
- /package/auth/MSP/{AllAccountsState/utils → helpers}/appendChildrenToNode.js +0 -0
- /package/auth/MSP/{AllAccountsState/utils → helpers}/removeNodeFromTree.js +0 -0
- /package/auth/MSP/{AllAccountsState/utils → helpers}/updateNodeName.js +0 -0
- /package/auth/MSP/{AllAccountsState/types → interfaces}/dialogsStateTypes.js +0 -0
- /package/auth/MSP/{AllAccountsState/types → interfaces}/index.d.ts +0 -0
- /package/auth/MSP/{AllAccountsState/types → interfaces}/index.js +0 -0
- /package/auth/{Provisioning → ProvisioningState}/interfaces.d.ts +0 -0
- /package/{toolkit → auth/ProvisioningState}/interfaces.js +0 -0
- /package/auth/{SignUp → SignUpState}/interfaces.d.ts +0 -0
- /package/auth/{SignUp → SignUpState}/interfaces.js +0 -0
- /package/{fronteggState.js → auth/SmsState/interfaces.js} +0 -0
- /package/auth/{SocialLogins → SocialLoginState}/interfaces.d.ts +0 -0
- /package/{toolkit/redux-types.js → auth/SocialLoginState/interfaces.js} +0 -0
- /package/{utils/errorHandler.d.ts → helpers/handlers.d.ts} +0 -0
- /package/{utils/errorHandler.js → helpers/handlers.js} +0 -0
- /package/{audits → mocks/audits-mocks}/dummy.d.ts +0 -0
- /package/{audits → mocks/audits-mocks}/dummy.js +0 -0
- /package/{subscriptions → mocks/subscriptions-mocks}/dummy.d.ts +0 -0
- /package/{subscriptions → mocks/subscriptions-mocks}/dummy.js +0 -0
- /package/node/{audits/backward-compatibility → audits-backward-compatibility}/interfaces.js +0 -0
- /package/node/auth/{ActivateState → ActivateAccountState}/interfaces.js +0 -0
- /package/node/auth/{Provisioning → ApplicationsState}/interfaces.js +0 -0
- /package/node/auth/{SocialLogins → GroupsDialogsState}/interfaces.js +0 -0
- /package/node/auth/{ImpersonationState → ImpersonateState}/interfaces.js +0 -0
- /package/node/auth/MSP/{AllAccountsState/utils → helpers}/appendChildrenToNode.js +0 -0
- /package/node/auth/MSP/{AllAccountsState/utils → helpers}/removeNodeFromTree.js +0 -0
- /package/node/auth/MSP/{AllAccountsState/utils → helpers}/updateNodeName.js +0 -0
- /package/node/auth/MSP/{AllAccountsState/types → interfaces}/dialogsStateTypes.js +0 -0
- /package/node/auth/MSP/{AllAccountsState/types → interfaces}/index.js +0 -0
- /package/node/{toolkit → auth/ProvisioningState}/interfaces.js +0 -0
- /package/node/auth/{SignUp → SignUpState}/interfaces.js +0 -0
- /package/node/{fronteggState.js → auth/SmsState/interfaces.js} +0 -0
- /package/node/{toolkit/redux-types.js → auth/SocialLoginState/interfaces.js} +0 -0
- /package/node/{utils/errorHandler.js → helpers/handlers.js} +0 -0
- /package/node/{utils → helpers}/sha256.js +0 -0
- /package/node/{audits → mocks/audits-mocks}/dummy.js +0 -0
- /package/node/{subscriptions → mocks/subscriptions-mocks}/dummy.js +0 -0
package/mocks/dummy.js
ADDED
|
@@ -0,0 +1,965 @@
|
|
|
1
|
+
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
2
|
+
import { AuthStrategyEnum, RestrictionType, GroupManagedByEnum, InsightCode, RecommendationSeverity, RecommendationCode, SecurityCategory, PermissionAssignmentTypeEnum } from '@frontegg/rest-api';
|
|
3
|
+
import { MachineToMachineAuthStrategy } from '../auth';
|
|
4
|
+
export const apiTokensDataDemo = {
|
|
5
|
+
clientId: 'CLIENT_ID_16806d3d-8fc3-4450-be97-abdaf66b723e',
|
|
6
|
+
secret: 'SECRET_16806d3d-8fc3-4450-be97-abdaf66b723e',
|
|
7
|
+
createdAt: 'createdAt',
|
|
8
|
+
description: 'Demo API Token (preview only)'
|
|
9
|
+
};
|
|
10
|
+
export const apiTokensDataTenantDemo = _extends({}, apiTokensDataDemo, {
|
|
11
|
+
roleIds: [],
|
|
12
|
+
tenantId: 'my-tenant-id',
|
|
13
|
+
createdByUserId: 'createdByUserId'
|
|
14
|
+
});
|
|
15
|
+
export const rolesAdminViewerDemo = [{
|
|
16
|
+
id: 'a040dcf6-b907-4e83-9970-6bd23c88fd40',
|
|
17
|
+
key: 'ReadOnly',
|
|
18
|
+
name: 'Read Only',
|
|
19
|
+
description: null,
|
|
20
|
+
isDefault: false,
|
|
21
|
+
createdAt: new Date(),
|
|
22
|
+
updatedAt: new Date(),
|
|
23
|
+
permissions: ['8d71b676-754c-4600-afe7-ca5add1e6809', '04dbcc11-61db-40a9-9577-9b73e50d1d03'],
|
|
24
|
+
vendorId: 'vendorId'
|
|
25
|
+
}, {
|
|
26
|
+
id: 'b43b2c4b-e056-4eec-8c55-d200a475bbc0',
|
|
27
|
+
key: 'Admin',
|
|
28
|
+
name: 'Admin',
|
|
29
|
+
description: null,
|
|
30
|
+
isDefault: true,
|
|
31
|
+
createdAt: new Date(),
|
|
32
|
+
updatedAt: new Date(),
|
|
33
|
+
permissions: ['8d71b676-754c-4600-afe7-ca5add1e6809', '04dbcc11-61db-40a9-9577-9b73e50d1d03', '16647407-ed6f-4ca6-83a0-86225d921959', 'f403c6b9-1abe-4ec7-9971-aa032255fc25', 'a43e059d-d731-44b1-94bb-fb6b16c62210'],
|
|
34
|
+
vendorId: 'vendorId'
|
|
35
|
+
}, {
|
|
36
|
+
id: '1234',
|
|
37
|
+
key: 'Support',
|
|
38
|
+
name: 'Support',
|
|
39
|
+
description: null,
|
|
40
|
+
isDefault: true,
|
|
41
|
+
createdAt: new Date(),
|
|
42
|
+
updatedAt: new Date(),
|
|
43
|
+
permissions: ['8d71b676-754c-4600-afe7-ca5add1e6809', '04dbcc11-61db-40a9-9577-9b73e50d1d03', 'f26b00f8-ffe0-4739-b15c-7db15c27ea26', 'a9c803b0-ebfa-49b9-9607-f0d3a390ee61'],
|
|
44
|
+
tenantId: 'tenantId',
|
|
45
|
+
vendorId: 'vendorId'
|
|
46
|
+
}];
|
|
47
|
+
export const roleDemo = [{
|
|
48
|
+
id: 'roleId',
|
|
49
|
+
key: 'admin',
|
|
50
|
+
isDefault: false,
|
|
51
|
+
name: 'Admin',
|
|
52
|
+
description: null,
|
|
53
|
+
permissions: ['8d71b676-754c-4600-afe7-ca5add1e6809', '04dbcc11-61db-40a9-9577-9b73e50d1d03'],
|
|
54
|
+
tenantId: 'tenantId',
|
|
55
|
+
vendorId: 'vendorId',
|
|
56
|
+
createdAt: new Date(),
|
|
57
|
+
updatedAt: new Date()
|
|
58
|
+
}];
|
|
59
|
+
export const rolePermissionDemo = [{
|
|
60
|
+
id: '8d71b676-754c-4600-afe7-ca5add1e6809',
|
|
61
|
+
key: 'fe.*',
|
|
62
|
+
name: 'General Admin',
|
|
63
|
+
description: 'description',
|
|
64
|
+
categoryId: 'category',
|
|
65
|
+
fePermission: true,
|
|
66
|
+
createdAt: new Date(),
|
|
67
|
+
updatedAt: new Date(),
|
|
68
|
+
roleIds: []
|
|
69
|
+
}];
|
|
70
|
+
export const userProfileDemo = {
|
|
71
|
+
sub: '',
|
|
72
|
+
tenants: [],
|
|
73
|
+
id: 'testId',
|
|
74
|
+
name: 'Demo User Name',
|
|
75
|
+
email: 'demo-user@frontegg.com',
|
|
76
|
+
mfaEnrolled: true,
|
|
77
|
+
profilePictureUrl: 'https://www.gravatar.com/avatar/42b2ad2bad6fc9b9db5086dfcf8072ac?d=https://ui-avatars.com/api/fe/128/random?t=1617261890875?t=1617261917434',
|
|
78
|
+
roles: roleDemo,
|
|
79
|
+
permissions: rolePermissionDemo,
|
|
80
|
+
tenantId: 'my-tenant-id',
|
|
81
|
+
tenantIds: ['my-tenant-id'],
|
|
82
|
+
activatedForTenant: true,
|
|
83
|
+
metadata: JSON.stringify({
|
|
84
|
+
phoneNumber: '+972-54123456',
|
|
85
|
+
jobTitle: 'Developer',
|
|
86
|
+
address: {
|
|
87
|
+
city: 'Tel Aviv',
|
|
88
|
+
country: 'Israel'
|
|
89
|
+
}
|
|
90
|
+
}),
|
|
91
|
+
verified: false
|
|
92
|
+
};
|
|
93
|
+
export const userDemo = _extends({}, userProfileDemo, {
|
|
94
|
+
accessToken: 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiI1MTY5YmY0Zi02YmI5LTQ5NGMtOGNkZS05MDc4NDQ0NWY4MDciLCJuYW1lIjoiRHVtbXkgVXNlciIsImVtYWlsIjoiZHVtbXlAZnJvbnRlZ2cuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsIm1ldGFkYXRhIjp7fSwicm9sZXMiOlsiYWRtaW4iXSwicGVybWlzc2lvbnMiOlsiZmUuKiJdLCJ0ZW5hbnRJZCI6Im15LXRlbmFudC1pZCIsInRlbmFudElkcyI6WyJteS10ZW5hbnQtaWQiXSwicHJvZmlsZVBpY3R1cmVVcmwiOiJodHRwczovL3d3dy5ncmF2YXRhci5jb20vYXZhdGFyLzQyYjJhZDJiYWQ2ZmM5YjlkYjUwODZkZmNmODA3MmFjP2Q9aHR0cHM6Ly91aS1hdmF0YXJzLmNvbS9hcGkvZmUvMTI4L3JhbmRvbT90PTE2MTcyNjE4OTA4NzU_dD0xNjE3MjYxOTE3NDM0IiwidHlwZSI6InVzZXJUb2tlbiIsImlhdCI6MTYxNzkwNjMyNCwiZXhwIjoxNjE3OTkyNzI0LCJpc3MiOiJmcm9udGVnZyJ9.paaXLkpWEWbQmUtoK2P8IwXCxK4WJp7XhXonvzF8g1I',
|
|
95
|
+
expiresIn: 86400,
|
|
96
|
+
mfaRequired: false,
|
|
97
|
+
refreshToken: 'refresh-token-dummy-de39dc9c-9d22-4852-b7f5-c3c0aa613b58',
|
|
98
|
+
type: 'userToken',
|
|
99
|
+
iat: 1617906324,
|
|
100
|
+
exp: 1617992724,
|
|
101
|
+
iss: 'frontegg',
|
|
102
|
+
email_verified: true
|
|
103
|
+
});
|
|
104
|
+
export const profileStateDemo = {
|
|
105
|
+
loading: false,
|
|
106
|
+
error: undefined,
|
|
107
|
+
saving: true,
|
|
108
|
+
profile: userProfileDemo
|
|
109
|
+
};
|
|
110
|
+
export const policyDemo = {
|
|
111
|
+
id: 'id',
|
|
112
|
+
enforceMFAType: 'DontForce',
|
|
113
|
+
createdAt: new Date(),
|
|
114
|
+
updatedAt: new Date(),
|
|
115
|
+
allowOverrideEnforcePasswordHistory: true,
|
|
116
|
+
allowOverridePasswordComplexity: false,
|
|
117
|
+
allowOverridePasswordExpiration: false,
|
|
118
|
+
allowSignups: true,
|
|
119
|
+
apiTokensEnabled: true,
|
|
120
|
+
cookieSameSite: 'cookieSameSite',
|
|
121
|
+
defaultRefreshTokenExpiration: 0,
|
|
122
|
+
defaultTokenExpiration: 1,
|
|
123
|
+
publicKey: 'publicKey'
|
|
124
|
+
};
|
|
125
|
+
export const publicSecurityPolicy = {
|
|
126
|
+
allowSignups: true,
|
|
127
|
+
allowNotVerifiedUsersLogin: false,
|
|
128
|
+
apiTokensEnabled: true,
|
|
129
|
+
forcePermissions: false,
|
|
130
|
+
authStrategy: AuthStrategyEnum.EmailAndPassword,
|
|
131
|
+
machineToMachineAuthStrategy: MachineToMachineAuthStrategy.ClientCredentials
|
|
132
|
+
};
|
|
133
|
+
export const policyMfaDemo = {
|
|
134
|
+
id: 'id',
|
|
135
|
+
enforceMFAType: 'DontForce',
|
|
136
|
+
createdAt: new Date(),
|
|
137
|
+
updatedAt: new Date()
|
|
138
|
+
};
|
|
139
|
+
export const policyLockoutDemo = {
|
|
140
|
+
id: 'id',
|
|
141
|
+
enabled: true,
|
|
142
|
+
maxAttempts: 1,
|
|
143
|
+
createdAt: new Date(),
|
|
144
|
+
updatedAt: new Date()
|
|
145
|
+
};
|
|
146
|
+
export const policyPasswordHistoryDemo = {
|
|
147
|
+
id: 'id',
|
|
148
|
+
enabled: true,
|
|
149
|
+
historySize: 1,
|
|
150
|
+
createdAt: new Date(),
|
|
151
|
+
updatedAt: new Date()
|
|
152
|
+
};
|
|
153
|
+
export const samlConfigurationDemo = {
|
|
154
|
+
enabled: true,
|
|
155
|
+
domain: 'domain',
|
|
156
|
+
validated: true,
|
|
157
|
+
generatedVerification: 'generatedVerification',
|
|
158
|
+
ssoEndpoint: 'ssoEndpoint',
|
|
159
|
+
publicCertificate: 'publicCertificate',
|
|
160
|
+
signRequest: true,
|
|
161
|
+
createdAt: new Date(),
|
|
162
|
+
updatedAt: new Date(),
|
|
163
|
+
acsUrl: undefined,
|
|
164
|
+
spEntityId: undefined,
|
|
165
|
+
oidcClientId: undefined,
|
|
166
|
+
oidcSecret: undefined,
|
|
167
|
+
type: undefined
|
|
168
|
+
};
|
|
169
|
+
export const samlMetadataDemo = {
|
|
170
|
+
id: 'id',
|
|
171
|
+
createdAt: 'createdAt',
|
|
172
|
+
updatedAt: 'updatedAt',
|
|
173
|
+
properties: [],
|
|
174
|
+
vendorId: 'vendorId',
|
|
175
|
+
entityName: 'saml',
|
|
176
|
+
isActive: true,
|
|
177
|
+
configuration: {
|
|
178
|
+
acsUrl: 'acsUrl',
|
|
179
|
+
spEntityId: 'spEntityId'
|
|
180
|
+
}
|
|
181
|
+
};
|
|
182
|
+
export const rolesDemo = [{
|
|
183
|
+
id: 'id',
|
|
184
|
+
description: 'description',
|
|
185
|
+
key: 'key',
|
|
186
|
+
name: 'name',
|
|
187
|
+
permissions: [],
|
|
188
|
+
permissionLevel: 1
|
|
189
|
+
}];
|
|
190
|
+
export const ssoStateDemo = {
|
|
191
|
+
firstLoad: false,
|
|
192
|
+
loading: false,
|
|
193
|
+
error: undefined,
|
|
194
|
+
saving: false,
|
|
195
|
+
samlConfiguration: samlConfigurationDemo,
|
|
196
|
+
roles: rolesDemo,
|
|
197
|
+
authorizationRoles: [],
|
|
198
|
+
errors: {},
|
|
199
|
+
loaders: {},
|
|
200
|
+
ssoConfigurations: []
|
|
201
|
+
};
|
|
202
|
+
export const permissionsDemo = [{
|
|
203
|
+
description: 'string',
|
|
204
|
+
fePermission: true,
|
|
205
|
+
id: 'id',
|
|
206
|
+
key: 'key',
|
|
207
|
+
name: 'name',
|
|
208
|
+
roleIds: [],
|
|
209
|
+
createdAt: new Date(),
|
|
210
|
+
updatedAt: new Date(),
|
|
211
|
+
categoryId: 'categoryId'
|
|
212
|
+
}];
|
|
213
|
+
export const userTeamDemo2 = {
|
|
214
|
+
id: 'id2',
|
|
215
|
+
email: 'demo-user2@frontegg.com',
|
|
216
|
+
name: 'Demo User Name2',
|
|
217
|
+
phone: undefined,
|
|
218
|
+
profileImage: undefined,
|
|
219
|
+
profileImageUrl: undefined,
|
|
220
|
+
tenantId: 'tenantId',
|
|
221
|
+
vendorId: 'vendorId',
|
|
222
|
+
roleIds: [],
|
|
223
|
+
activatedForTenant: true,
|
|
224
|
+
verified: false,
|
|
225
|
+
createdAt: new Date().toISOString(),
|
|
226
|
+
customData: undefined,
|
|
227
|
+
lastLogin: undefined,
|
|
228
|
+
mfaEnabled: undefined,
|
|
229
|
+
roles: [rolesAdminViewerDemo[0]],
|
|
230
|
+
groups: [{
|
|
231
|
+
id: 'id2',
|
|
232
|
+
name: 'Developers',
|
|
233
|
+
color: '#03A9F4',
|
|
234
|
+
roles: [rolesAdminViewerDemo[0]],
|
|
235
|
+
managedBy: GroupManagedByEnum.FRONTEGG
|
|
236
|
+
}]
|
|
237
|
+
}; // TODO add verified to ITeamUser
|
|
238
|
+
|
|
239
|
+
export const userTeamDemo2V3 = {
|
|
240
|
+
id: userTeamDemo2.id,
|
|
241
|
+
email: userTeamDemo2.email,
|
|
242
|
+
name: userTeamDemo2.name,
|
|
243
|
+
phoneNumber: undefined,
|
|
244
|
+
profileImage: undefined,
|
|
245
|
+
tenantId: 'tenantId',
|
|
246
|
+
activatedForTenant: true,
|
|
247
|
+
createdAt: new Date(2022, 4, 1),
|
|
248
|
+
verified: true,
|
|
249
|
+
lastLogin: new Date(2022, 5, 25),
|
|
250
|
+
mfaEnrolled: false,
|
|
251
|
+
roles: [rolesAdminViewerDemo[1]],
|
|
252
|
+
tenantIds: [],
|
|
253
|
+
metadata: '',
|
|
254
|
+
sub: '',
|
|
255
|
+
tenants: []
|
|
256
|
+
};
|
|
257
|
+
export const userTeamDemo = {
|
|
258
|
+
id: 'id',
|
|
259
|
+
email: 'demo-user@frontegg.com',
|
|
260
|
+
name: 'Demo User Name',
|
|
261
|
+
phone: undefined,
|
|
262
|
+
profileImage: undefined,
|
|
263
|
+
profileImageUrl: undefined,
|
|
264
|
+
tenantId: 'tenantId',
|
|
265
|
+
vendorId: 'vendorId',
|
|
266
|
+
roleIds: [],
|
|
267
|
+
activatedForTenant: true,
|
|
268
|
+
createdAt: new Date(2022, 4, 1).toISOString(),
|
|
269
|
+
verified: true,
|
|
270
|
+
customData: undefined,
|
|
271
|
+
lastLogin: new Date(2022, 5, 25).toISOString(),
|
|
272
|
+
mfaEnabled: undefined,
|
|
273
|
+
roles: [rolesAdminViewerDemo[1]],
|
|
274
|
+
groups: [{
|
|
275
|
+
id: 'id1',
|
|
276
|
+
name: 'Designers',
|
|
277
|
+
color: '#E1F5E2',
|
|
278
|
+
roles: [rolesAdminViewerDemo[0]],
|
|
279
|
+
managedBy: GroupManagedByEnum.FRONTEGG
|
|
280
|
+
}]
|
|
281
|
+
};
|
|
282
|
+
export const userTeamDemoV3 = {
|
|
283
|
+
id: userTeamDemo.id,
|
|
284
|
+
email: userTeamDemo.email,
|
|
285
|
+
name: userTeamDemo.name,
|
|
286
|
+
phoneNumber: undefined,
|
|
287
|
+
profileImage: undefined,
|
|
288
|
+
tenantId: 'tenantId',
|
|
289
|
+
activatedForTenant: true,
|
|
290
|
+
createdAt: new Date(2022, 4, 1),
|
|
291
|
+
verified: true,
|
|
292
|
+
lastLogin: new Date(2022, 5, 25),
|
|
293
|
+
mfaEnrolled: false,
|
|
294
|
+
roles: [rolesAdminViewerDemo[1]],
|
|
295
|
+
tenantIds: [],
|
|
296
|
+
metadata: '',
|
|
297
|
+
sub: '',
|
|
298
|
+
tenants: []
|
|
299
|
+
};
|
|
300
|
+
export const userSubTenantDemo = {
|
|
301
|
+
metadata: '',
|
|
302
|
+
mfaEnrolled: false,
|
|
303
|
+
provider: '',
|
|
304
|
+
sub: '',
|
|
305
|
+
tenantIds: [],
|
|
306
|
+
tenants: [],
|
|
307
|
+
verified: false,
|
|
308
|
+
id: 'id',
|
|
309
|
+
email: 'email',
|
|
310
|
+
name: 'name',
|
|
311
|
+
tenantId: 'tenantId',
|
|
312
|
+
createdAt: new Date()
|
|
313
|
+
};
|
|
314
|
+
export const usersDemo = [userTeamDemo, userTeamDemo2];
|
|
315
|
+
export const usersDemoV3 = [userTeamDemoV3, userTeamDemo2V3];
|
|
316
|
+
export const allUsersDemo = [userSubTenantDemo];
|
|
317
|
+
export const tenantsDemo = [{
|
|
318
|
+
id: 'my-tenant-id',
|
|
319
|
+
isReseller: false,
|
|
320
|
+
name: 'Frontegg demo',
|
|
321
|
+
deletedAt: null,
|
|
322
|
+
metadata: undefined,
|
|
323
|
+
tenantId: 'my-tenant-id',
|
|
324
|
+
vendorId: 'vendorId',
|
|
325
|
+
createdAt: new Date(),
|
|
326
|
+
updatedAt: new Date(),
|
|
327
|
+
address: undefined,
|
|
328
|
+
timezone: undefined,
|
|
329
|
+
dateFormat: undefined,
|
|
330
|
+
timeFormat: undefined,
|
|
331
|
+
currency: undefined,
|
|
332
|
+
logo: undefined
|
|
333
|
+
}];
|
|
334
|
+
export const sessionsMock = [{
|
|
335
|
+
id: `laptop`,
|
|
336
|
+
userAgent: 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.0 Safari/605.1.15',
|
|
337
|
+
createdAt: new Date(),
|
|
338
|
+
ipAddress: '190.194.88.251',
|
|
339
|
+
current: true
|
|
340
|
+
}, {
|
|
341
|
+
id: `iphone`,
|
|
342
|
+
userAgent: 'Mozilla/5.0 (iPhone; CPU iPhone OS 15_2_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.2 Mobile/15E148 Safari/604.1',
|
|
343
|
+
createdAt: new Date(Date.now() - 10000),
|
|
344
|
+
ipAddress: '191.49.203.21'
|
|
345
|
+
}, {
|
|
346
|
+
id: `tablet`,
|
|
347
|
+
userAgent: 'Mozilla/5.0 (Linux; Android 6.0.1; SGP771 Build/32.2.A.0.253; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/52.0.2743.98 Safari/537.36',
|
|
348
|
+
createdAt: new Date(Date.now() - 30000),
|
|
349
|
+
ipAddress: '130.19.196.136'
|
|
350
|
+
}, {
|
|
351
|
+
id: `anotherlaptop`,
|
|
352
|
+
userAgent: 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.0 Safari/605.1.15',
|
|
353
|
+
createdAt: new Date(Date.now() - 1002232300),
|
|
354
|
+
ipAddress: '2.228.163.92'
|
|
355
|
+
}];
|
|
356
|
+
export const sessionsConfigDummies = {
|
|
357
|
+
sessionConcurrentConfiguration: {
|
|
358
|
+
isActive: true,
|
|
359
|
+
maxSessions: 10
|
|
360
|
+
},
|
|
361
|
+
sessionIdleTimeoutConfiguration: {
|
|
362
|
+
isActive: true,
|
|
363
|
+
timeout: 3600
|
|
364
|
+
},
|
|
365
|
+
sessionTimeoutConfiguration: {
|
|
366
|
+
isActive: true,
|
|
367
|
+
timeout: 7776000
|
|
368
|
+
}
|
|
369
|
+
};
|
|
370
|
+
export const dummyIpConfig = {
|
|
371
|
+
isActive: true,
|
|
372
|
+
strategy: RestrictionType.ALLOW
|
|
373
|
+
};
|
|
374
|
+
export const dummyIps = [{
|
|
375
|
+
updatedAt: new Date(),
|
|
376
|
+
createdAt: new Date(),
|
|
377
|
+
id: '1',
|
|
378
|
+
ip: '255.255.255.255',
|
|
379
|
+
isActive: true,
|
|
380
|
+
strategy: RestrictionType.ALLOW,
|
|
381
|
+
description: 'My IP'
|
|
382
|
+
}, {
|
|
383
|
+
updatedAt: new Date(),
|
|
384
|
+
createdAt: new Date(),
|
|
385
|
+
id: '2',
|
|
386
|
+
ip: '255.255.255.254',
|
|
387
|
+
isActive: true,
|
|
388
|
+
strategy: RestrictionType.ALLOW,
|
|
389
|
+
description: 'IP 2'
|
|
390
|
+
}, {
|
|
391
|
+
updatedAt: new Date(),
|
|
392
|
+
createdAt: new Date(),
|
|
393
|
+
id: '3',
|
|
394
|
+
ip: '255.255.255.253',
|
|
395
|
+
isActive: true,
|
|
396
|
+
strategy: RestrictionType.BLOCK,
|
|
397
|
+
description: 'IP 3'
|
|
398
|
+
}, {
|
|
399
|
+
updatedAt: new Date(),
|
|
400
|
+
createdAt: new Date(),
|
|
401
|
+
id: '4',
|
|
402
|
+
ip: '255.255.255.253',
|
|
403
|
+
isActive: true,
|
|
404
|
+
strategy: RestrictionType.BLOCK,
|
|
405
|
+
description: 'IP 4'
|
|
406
|
+
}];
|
|
407
|
+
const generateGroupUsers = count => {
|
|
408
|
+
const users = [];
|
|
409
|
+
Array.from({
|
|
410
|
+
length: count
|
|
411
|
+
}).forEach((_, i) => {
|
|
412
|
+
users.push(_extends({}, userTeamDemo, {
|
|
413
|
+
name: 'Demo User',
|
|
414
|
+
id: `id${i}`,
|
|
415
|
+
profilePictureUrl: null,
|
|
416
|
+
createdAt: new Date()
|
|
417
|
+
}));
|
|
418
|
+
});
|
|
419
|
+
return users;
|
|
420
|
+
};
|
|
421
|
+
const generateRoleByName = roleName => {
|
|
422
|
+
return {
|
|
423
|
+
id: 'b43b2c4b-e056-4eec-8c55-d200a475bbc0' + roleName,
|
|
424
|
+
key: roleName,
|
|
425
|
+
name: roleName,
|
|
426
|
+
description: null,
|
|
427
|
+
isDefault: true,
|
|
428
|
+
createdAt: new Date(),
|
|
429
|
+
updatedAt: new Date(),
|
|
430
|
+
permissions: [],
|
|
431
|
+
tenantId: 'tenantId',
|
|
432
|
+
vendorId: 'vendorId'
|
|
433
|
+
};
|
|
434
|
+
};
|
|
435
|
+
export const allGroupsDummy = [{
|
|
436
|
+
id: 'id1',
|
|
437
|
+
name: 'Designers',
|
|
438
|
+
color: '#E1F5E2',
|
|
439
|
+
description: 'The whole design team',
|
|
440
|
+
users: generateGroupUsers(6),
|
|
441
|
+
roles: [generateRoleByName('Editor')],
|
|
442
|
+
metadata: '{"lastTermsCheck":"2022-08-16T10:31:11.270Z"}',
|
|
443
|
+
managedBy: GroupManagedByEnum.FRONTEGG
|
|
444
|
+
}, {
|
|
445
|
+
id: 'id2',
|
|
446
|
+
name: 'Developers',
|
|
447
|
+
color: '#03A9F4',
|
|
448
|
+
description: 'All frontend and backend developers',
|
|
449
|
+
users: generateGroupUsers(44),
|
|
450
|
+
roles: [generateRoleByName('Editor')],
|
|
451
|
+
managedBy: GroupManagedByEnum.FRONTEGG
|
|
452
|
+
}, {
|
|
453
|
+
id: 'id3',
|
|
454
|
+
name: 'Product',
|
|
455
|
+
color: '#E1583E',
|
|
456
|
+
description: 'PMs and team leads',
|
|
457
|
+
users: generateGroupUsers(8),
|
|
458
|
+
roles: [generateRoleByName('Viewer')],
|
|
459
|
+
managedBy: GroupManagedByEnum.FRONTEGG
|
|
460
|
+
}, {
|
|
461
|
+
id: 'id4',
|
|
462
|
+
name: 'Management',
|
|
463
|
+
color: '#9AE0FF',
|
|
464
|
+
description: 'Executives',
|
|
465
|
+
users: generateGroupUsers(5),
|
|
466
|
+
roles: [generateRoleByName('Admin')],
|
|
467
|
+
managedBy: GroupManagedByEnum.FRONTEGG
|
|
468
|
+
}, {
|
|
469
|
+
id: 'id5',
|
|
470
|
+
name: 'Sales',
|
|
471
|
+
color: '#ED8E7C',
|
|
472
|
+
users: generateGroupUsers(21),
|
|
473
|
+
description: 'BDR, AE, and inside sales',
|
|
474
|
+
roles: [generateRoleByName('Viewer')],
|
|
475
|
+
managedBy: GroupManagedByEnum.FRONTEGG
|
|
476
|
+
}, {
|
|
477
|
+
id: 'id6',
|
|
478
|
+
name: 'Support',
|
|
479
|
+
color: '#A79D7B',
|
|
480
|
+
users: generateGroupUsers(23),
|
|
481
|
+
description: 'Dev success and customer success',
|
|
482
|
+
roles: [generateRoleByName('Admin')],
|
|
483
|
+
managedBy: GroupManagedByEnum.FRONTEGG
|
|
484
|
+
}, {
|
|
485
|
+
id: 'id7',
|
|
486
|
+
name: 'Marketing',
|
|
487
|
+
color: '#2CA744',
|
|
488
|
+
users: generateGroupUsers(10),
|
|
489
|
+
description: 'The marketing department',
|
|
490
|
+
roles: [generateRoleByName('Viewer')],
|
|
491
|
+
managedBy: GroupManagedByEnum.FRONTEGG
|
|
492
|
+
}, {
|
|
493
|
+
id: 'id8',
|
|
494
|
+
name: 'HR',
|
|
495
|
+
color: '#EAE1C2',
|
|
496
|
+
users: generateGroupUsers(4),
|
|
497
|
+
description: 'Human resources',
|
|
498
|
+
roles: [generateRoleByName('Viewer')],
|
|
499
|
+
managedBy: GroupManagedByEnum.FRONTEGG
|
|
500
|
+
}, {
|
|
501
|
+
id: 'id9',
|
|
502
|
+
name: 'Finance',
|
|
503
|
+
color: '#5587C0',
|
|
504
|
+
users: generateGroupUsers(3),
|
|
505
|
+
roles: [generateRoleByName('Viewer')],
|
|
506
|
+
managedBy: GroupManagedByEnum.FRONTEGG
|
|
507
|
+
}, {
|
|
508
|
+
id: 'id10',
|
|
509
|
+
name: 'Operations',
|
|
510
|
+
color: '#B1CAE7',
|
|
511
|
+
users: generateGroupUsers(8),
|
|
512
|
+
roles: [generateRoleByName('Editor')],
|
|
513
|
+
managedBy: GroupManagedByEnum.FRONTEGG
|
|
514
|
+
}, {
|
|
515
|
+
id: 'id11',
|
|
516
|
+
name: 'Legal',
|
|
517
|
+
color: '#2CA744',
|
|
518
|
+
users: generateGroupUsers(4),
|
|
519
|
+
roles: [generateRoleByName('Viewer')],
|
|
520
|
+
managedBy: GroupManagedByEnum.FRONTEGG
|
|
521
|
+
}];
|
|
522
|
+
export const securityCenterRecommendationsMock = {
|
|
523
|
+
scoring: {
|
|
524
|
+
score: 79
|
|
525
|
+
},
|
|
526
|
+
recommendations: {
|
|
527
|
+
items: [{
|
|
528
|
+
code: RecommendationCode.FORCE_MFA,
|
|
529
|
+
severity: RecommendationSeverity.WARNING,
|
|
530
|
+
category: SecurityCategory.MFA
|
|
531
|
+
}, {
|
|
532
|
+
code: RecommendationCode.ENABLE_FORCE_RELOGIN,
|
|
533
|
+
severity: RecommendationSeverity.WARNING,
|
|
534
|
+
category: SecurityCategory.SESSIONS
|
|
535
|
+
}]
|
|
536
|
+
}
|
|
537
|
+
};
|
|
538
|
+
export const securityCenterInsightsMock = {
|
|
539
|
+
insights: {
|
|
540
|
+
items: [{
|
|
541
|
+
category: SecurityCategory.MFA,
|
|
542
|
+
code: InsightCode.PARTIALLY_FORCED_MFA,
|
|
543
|
+
metadata: {
|
|
544
|
+
totalUsers: 2,
|
|
545
|
+
mfa: {
|
|
546
|
+
enrolledUsersCount: 1
|
|
547
|
+
}
|
|
548
|
+
}
|
|
549
|
+
}, {
|
|
550
|
+
category: SecurityCategory.SESSIONS,
|
|
551
|
+
code: InsightCode.PARTIAL_SESSION_SETTINGS,
|
|
552
|
+
metadata: {
|
|
553
|
+
totalUsers: 2,
|
|
554
|
+
sessions: {
|
|
555
|
+
idleTimeoutRecommendation: 1800
|
|
556
|
+
}
|
|
557
|
+
}
|
|
558
|
+
}, {
|
|
559
|
+
category: SecurityCategory.PASSWORD,
|
|
560
|
+
code: InsightCode.IMPROVE_PASSWORD_HISTORY_POLICY,
|
|
561
|
+
metadata: {
|
|
562
|
+
password: {
|
|
563
|
+
userLockoutRecommendation: 5,
|
|
564
|
+
historyRecommendations: 5
|
|
565
|
+
}
|
|
566
|
+
}
|
|
567
|
+
}, {
|
|
568
|
+
category: SecurityCategory.DOMAIN,
|
|
569
|
+
code: InsightCode.NO_IP_RESTRICTIONS,
|
|
570
|
+
metadata: {
|
|
571
|
+
restrictions: {
|
|
572
|
+
ipsCount: 1,
|
|
573
|
+
domainsCount: 1
|
|
574
|
+
}
|
|
575
|
+
}
|
|
576
|
+
}]
|
|
577
|
+
}
|
|
578
|
+
};
|
|
579
|
+
export const securityCenterBreachedPasswordUsersMock = {
|
|
580
|
+
users: usersDemoV3,
|
|
581
|
+
totalUsersItems: 2,
|
|
582
|
+
totalUsersPages: 1,
|
|
583
|
+
usersPageOffset: 0
|
|
584
|
+
};
|
|
585
|
+
export const securityCenterInactivityPasswordUsersMock = {
|
|
586
|
+
users: [usersDemoV3[0]],
|
|
587
|
+
totalUsersItems: 1,
|
|
588
|
+
totalUsersPages: 1,
|
|
589
|
+
usersPageOffset: 0,
|
|
590
|
+
queryParams: {
|
|
591
|
+
_maxInactiveSeconds: 7776000
|
|
592
|
+
}
|
|
593
|
+
};
|
|
594
|
+
export const securityCenterUnenrolledMfaUsersMock = {
|
|
595
|
+
users: [usersDemoV3[1]],
|
|
596
|
+
totalUsersItems: 1,
|
|
597
|
+
totalUsersPages: 1,
|
|
598
|
+
usersPageOffset: 0
|
|
599
|
+
};
|
|
600
|
+
export const permissionsMock = [{
|
|
601
|
+
id: '8d71b676-754c-4600-afe7-ca5add1e6809',
|
|
602
|
+
key: 'fe.secure.*',
|
|
603
|
+
name: 'Secure write',
|
|
604
|
+
description: 'all secure access permissions',
|
|
605
|
+
categoryId: '77154759-0a04-4669-b6b4-0858d3c1190e',
|
|
606
|
+
fePermission: true,
|
|
607
|
+
assignmentType: PermissionAssignmentTypeEnum.ASSIGNABLE,
|
|
608
|
+
createdAt: new Date(),
|
|
609
|
+
updatedAt: new Date()
|
|
610
|
+
}, {
|
|
611
|
+
id: '85e1fd7b-2bb7-498f-8521-5f8e5774c01e',
|
|
612
|
+
key: 'fe.account-hierarchy.write.subAccountAccess',
|
|
613
|
+
name: 'Give access to sub accounts',
|
|
614
|
+
description: 'Give a user access to sub account',
|
|
615
|
+
assignmentType: PermissionAssignmentTypeEnum.ASSIGNABLE,
|
|
616
|
+
createdAt: new Date(),
|
|
617
|
+
updatedAt: new Date(),
|
|
618
|
+
categoryId: 'd24db1e3-002b-421d-951d-09a967dd7cd5',
|
|
619
|
+
fePermission: true
|
|
620
|
+
}, {
|
|
621
|
+
id: 'a1807695-54a2-4f95-95de-a9b246488aae',
|
|
622
|
+
key: 'fe.account-hierarchy.read.subAccount',
|
|
623
|
+
name: 'Read sub accounts',
|
|
624
|
+
description: 'Read sub accounts',
|
|
625
|
+
assignmentType: PermissionAssignmentTypeEnum.ASSIGNABLE,
|
|
626
|
+
createdAt: new Date(),
|
|
627
|
+
updatedAt: new Date(),
|
|
628
|
+
categoryId: 'd24db1e3-002b-421d-951d-09a967dd7cd5',
|
|
629
|
+
fePermission: true
|
|
630
|
+
}, {
|
|
631
|
+
id: '04dbcc11-61db-40a9-9577-9b73e50d1d03',
|
|
632
|
+
key: 'fe.secure.read.*',
|
|
633
|
+
name: 'Secure read',
|
|
634
|
+
description: 'all secure access read permissions',
|
|
635
|
+
assignmentType: PermissionAssignmentTypeEnum.ASSIGNABLE,
|
|
636
|
+
createdAt: new Date(),
|
|
637
|
+
updatedAt: new Date(),
|
|
638
|
+
categoryId: '77154759-0a04-4669-b6b4-0858d3c1190e',
|
|
639
|
+
fePermission: true
|
|
640
|
+
}, {
|
|
641
|
+
id: 'a1807695-54a2-4f95-95de-a9b246488aae',
|
|
642
|
+
key: 'fe.account-hierarchy.read.subAccount',
|
|
643
|
+
name: 'Read sub accounts',
|
|
644
|
+
description: 'Read sub accounts',
|
|
645
|
+
assignmentType: PermissionAssignmentTypeEnum.ASSIGNABLE,
|
|
646
|
+
createdAt: new Date(),
|
|
647
|
+
updatedAt: new Date(),
|
|
648
|
+
categoryId: 'd24db1e3-002b-421d-951d-09a967dd7cd5',
|
|
649
|
+
fePermission: true
|
|
650
|
+
}, {
|
|
651
|
+
id: '85e1fd7b-2bb7-498f-8521-5f8e5774c01e',
|
|
652
|
+
key: 'fe.account-hierarchy.write.subAccountAccess',
|
|
653
|
+
name: 'Give access to sub accounts',
|
|
654
|
+
description: 'Give a user access to sub account',
|
|
655
|
+
assignmentType: PermissionAssignmentTypeEnum.ASSIGNABLE,
|
|
656
|
+
createdAt: new Date(),
|
|
657
|
+
updatedAt: new Date(),
|
|
658
|
+
categoryId: 'd24db1e3-002b-421d-951d-09a967dd7cd5',
|
|
659
|
+
fePermission: true
|
|
660
|
+
}, {
|
|
661
|
+
id: 'a9c803b0-ebfa-49b9-9607-f0d3a390ee61',
|
|
662
|
+
key: 'fe.account-settings.delete.account',
|
|
663
|
+
name: 'Delete Account',
|
|
664
|
+
description: 'Delete my account',
|
|
665
|
+
assignmentType: PermissionAssignmentTypeEnum.ASSIGNABLE,
|
|
666
|
+
createdAt: new Date(),
|
|
667
|
+
updatedAt: new Date(),
|
|
668
|
+
categoryId: '42aaebe1-893d-4da5-99d7-375a4537b7a4',
|
|
669
|
+
fePermission: true
|
|
670
|
+
}, {
|
|
671
|
+
id: 'f26b00f8-ffe0-4739-b15c-7db15c27ea26',
|
|
672
|
+
key: 'fe.account-settings.write.custom-login-box',
|
|
673
|
+
name: 'Edit custom login settings',
|
|
674
|
+
description: "Write account's custom login box styling",
|
|
675
|
+
assignmentType: PermissionAssignmentTypeEnum.ASSIGNABLE,
|
|
676
|
+
createdAt: new Date(),
|
|
677
|
+
updatedAt: new Date(),
|
|
678
|
+
categoryId: '42aaebe1-893d-4da5-99d7-375a4537b7a4',
|
|
679
|
+
fePermission: true
|
|
680
|
+
}, {
|
|
681
|
+
id: 'a43e059d-d731-44b1-94bb-fb6b16c62210',
|
|
682
|
+
key: 'fe.connectivity.delete.*',
|
|
683
|
+
name: 'Connectivity delete',
|
|
684
|
+
description: 'all connectivity delete permissions',
|
|
685
|
+
assignmentType: PermissionAssignmentTypeEnum.ASSIGNABLE,
|
|
686
|
+
createdAt: new Date(),
|
|
687
|
+
updatedAt: new Date(),
|
|
688
|
+
categoryId: 'd18fccaa-e09a-4e6e-b902-cc9c615ff12d',
|
|
689
|
+
fePermission: true
|
|
690
|
+
}, {
|
|
691
|
+
id: 'f403c6b9-1abe-4ec7-9971-aa032255fc25',
|
|
692
|
+
key: 'fe.connectivity.delete.slackAppRegistration',
|
|
693
|
+
name: 'Delete slack application registration',
|
|
694
|
+
description: 'allow user to delete slack app registration',
|
|
695
|
+
assignmentType: PermissionAssignmentTypeEnum.ASSIGNABLE,
|
|
696
|
+
createdAt: new Date(),
|
|
697
|
+
updatedAt: new Date(),
|
|
698
|
+
categoryId: '62fc3fe0-f06b-4a0f-854c-cdf51353b616',
|
|
699
|
+
fePermission: true
|
|
700
|
+
}, {
|
|
701
|
+
id: 'e8c0e727-f562-449a-82c5-f7691defde02',
|
|
702
|
+
key: 'fe.connectivity.read.*',
|
|
703
|
+
name: 'Connectivity read',
|
|
704
|
+
description: 'all connectivity read permissions',
|
|
705
|
+
assignmentType: PermissionAssignmentTypeEnum.ASSIGNABLE,
|
|
706
|
+
createdAt: new Date(),
|
|
707
|
+
updatedAt: new Date(),
|
|
708
|
+
categoryId: 'd18fccaa-e09a-4e6e-b902-cc9c615ff12d',
|
|
709
|
+
fePermission: true
|
|
710
|
+
}, {
|
|
711
|
+
id: '2a5dcd6d-57a3-45c4-815f-c265609cc1f7',
|
|
712
|
+
key: 'fe.connectivity.read.emailConfig',
|
|
713
|
+
name: 'Read email configuration',
|
|
714
|
+
description: 'read email integration configuration',
|
|
715
|
+
assignmentType: PermissionAssignmentTypeEnum.ASSIGNABLE,
|
|
716
|
+
createdAt: new Date(),
|
|
717
|
+
updatedAt: new Date(),
|
|
718
|
+
categoryId: '2d7b4be7-8269-4ff4-81d6-0c92e95790d5',
|
|
719
|
+
fePermission: true
|
|
720
|
+
}, {
|
|
721
|
+
id: '4fee0eb0-5b17-450b-bea4-b9b908230bda',
|
|
722
|
+
key: 'fe.connectivity.read.eventCategories',
|
|
723
|
+
name: 'Read events categories',
|
|
724
|
+
description: 'view connectivity events categories',
|
|
725
|
+
assignmentType: PermissionAssignmentTypeEnum.ASSIGNABLE,
|
|
726
|
+
createdAt: new Date(),
|
|
727
|
+
updatedAt: new Date(),
|
|
728
|
+
categoryId: '31c7a260-55d6-43d5-a872-4f9e22982ff5',
|
|
729
|
+
fePermission: true
|
|
730
|
+
}, {
|
|
731
|
+
id: '750a96a5-8abf-4340-b91a-723c7bb8bcfd',
|
|
732
|
+
key: 'fe.connectivity.read.events',
|
|
733
|
+
name: 'Read events',
|
|
734
|
+
description: 'view connectivity events',
|
|
735
|
+
assignmentType: PermissionAssignmentTypeEnum.ASSIGNABLE,
|
|
736
|
+
createdAt: new Date(),
|
|
737
|
+
updatedAt: new Date(),
|
|
738
|
+
categoryId: '31c7a260-55d6-43d5-a872-4f9e22982ff5',
|
|
739
|
+
fePermission: true
|
|
740
|
+
}, {
|
|
741
|
+
id: 'ef2a5f1a-74c5-431f-b1a6-d4fb5026e374',
|
|
742
|
+
key: 'fe.connectivity.read.slackApp',
|
|
743
|
+
name: 'Read slack application',
|
|
744
|
+
description: 'get slack application configuration in order to register',
|
|
745
|
+
assignmentType: PermissionAssignmentTypeEnum.ASSIGNABLE,
|
|
746
|
+
createdAt: new Date(),
|
|
747
|
+
updatedAt: new Date(),
|
|
748
|
+
categoryId: '62fc3fe0-f06b-4a0f-854c-cdf51353b616',
|
|
749
|
+
fePermission: true
|
|
750
|
+
}, {
|
|
751
|
+
id: '9fc1fa37-a8b9-4931-b2b5-5de55df25289',
|
|
752
|
+
key: 'fe.connectivity.read.slackChannels',
|
|
753
|
+
name: 'Read slack channels',
|
|
754
|
+
description: 'view registered slack workspace channels',
|
|
755
|
+
assignmentType: PermissionAssignmentTypeEnum.ASSIGNABLE,
|
|
756
|
+
createdAt: new Date(),
|
|
757
|
+
updatedAt: new Date(),
|
|
758
|
+
categoryId: '62fc3fe0-f06b-4a0f-854c-cdf51353b616',
|
|
759
|
+
fePermission: true
|
|
760
|
+
}, {
|
|
761
|
+
id: '87c3df9d-0ab2-4e97-bfc8-777a68ba2543',
|
|
762
|
+
key: 'fe.connectivity.read.slackSubscriptions',
|
|
763
|
+
name: 'Read slack subscriptions',
|
|
764
|
+
description: 'view slack events subscriptions',
|
|
765
|
+
assignmentType: PermissionAssignmentTypeEnum.ASSIGNABLE,
|
|
766
|
+
createdAt: new Date(),
|
|
767
|
+
updatedAt: new Date(),
|
|
768
|
+
categoryId: '62fc3fe0-f06b-4a0f-854c-cdf51353b616',
|
|
769
|
+
fePermission: true
|
|
770
|
+
}, {
|
|
771
|
+
id: '7826470b-151f-4bab-b2c0-785e09878616',
|
|
772
|
+
key: 'fe.connectivity.read.slackUsers',
|
|
773
|
+
name: 'Read slack users',
|
|
774
|
+
description: 'view registered slack workspace users',
|
|
775
|
+
assignmentType: PermissionAssignmentTypeEnum.ASSIGNABLE,
|
|
776
|
+
createdAt: new Date(),
|
|
777
|
+
updatedAt: new Date(),
|
|
778
|
+
categoryId: '62fc3fe0-f06b-4a0f-854c-cdf51353b616',
|
|
779
|
+
fePermission: true
|
|
780
|
+
}, {
|
|
781
|
+
id: 'ee779734-a7e3-47b3-ace9-944f9bee8ad8',
|
|
782
|
+
key: 'fe.connectivity.read.smsConfig',
|
|
783
|
+
name: 'Read SMS configuration',
|
|
784
|
+
description: 'read SMS integration configuration',
|
|
785
|
+
assignmentType: PermissionAssignmentTypeEnum.ASSIGNABLE,
|
|
786
|
+
createdAt: new Date(),
|
|
787
|
+
updatedAt: new Date(),
|
|
788
|
+
categoryId: '5743fccc-b4ea-4907-bdca-7446ea088974',
|
|
789
|
+
fePermission: true
|
|
790
|
+
}, {
|
|
791
|
+
id: '54583a96-c731-4a84-9abc-1b8b827f06ae',
|
|
792
|
+
key: 'fe.connectivity.read.userBellNotifications',
|
|
793
|
+
name: 'Read bell notifications',
|
|
794
|
+
description: 'view user bell notifications',
|
|
795
|
+
assignmentType: PermissionAssignmentTypeEnum.ASSIGNABLE,
|
|
796
|
+
createdAt: new Date(),
|
|
797
|
+
updatedAt: new Date(),
|
|
798
|
+
categoryId: '18d2584b-7f03-4038-ab93-bc2b0f4511be',
|
|
799
|
+
fePermission: true
|
|
800
|
+
}, {
|
|
801
|
+
id: '2dfde8ef-7df2-4426-bb8d-33615e399a4d',
|
|
802
|
+
key: 'fe.connectivity.read.webhookLogs',
|
|
803
|
+
name: 'Read webhooks logs',
|
|
804
|
+
description: 'view webhooks logs',
|
|
805
|
+
assignmentType: PermissionAssignmentTypeEnum.ASSIGNABLE,
|
|
806
|
+
createdAt: new Date(),
|
|
807
|
+
updatedAt: new Date(),
|
|
808
|
+
categoryId: 'e74e5390-396b-429c-9544-62417912d018',
|
|
809
|
+
fePermission: true
|
|
810
|
+
}, {
|
|
811
|
+
id: '16647407-ed6f-4ca6-83a0-86225d921959',
|
|
812
|
+
key: 'fe.connectivity.read.webhooks',
|
|
813
|
+
name: 'Read webhooks',
|
|
814
|
+
description: 'view webhooks configuration',
|
|
815
|
+
assignmentType: PermissionAssignmentTypeEnum.ASSIGNABLE,
|
|
816
|
+
createdAt: new Date(),
|
|
817
|
+
updatedAt: new Date(),
|
|
818
|
+
categoryId: 'e74e5390-396b-429c-9544-62417912d018',
|
|
819
|
+
fePermission: true
|
|
820
|
+
}];
|
|
821
|
+
export const permissionCategoriesMock = [{
|
|
822
|
+
id: 'd9b4dbd0-476c-4708-b079-d9e6e4758971',
|
|
823
|
+
name: 'test',
|
|
824
|
+
description: '',
|
|
825
|
+
createdAt: new Date(),
|
|
826
|
+
updatedAt: new Date(),
|
|
827
|
+
permissionIds: [],
|
|
828
|
+
feCategory: false
|
|
829
|
+
}, {
|
|
830
|
+
id: '2b3f1746-1135-4b8d-aff3-5697cffc4482',
|
|
831
|
+
name: 'SAML',
|
|
832
|
+
description: 'Secure access SAML',
|
|
833
|
+
createdAt: new Date(),
|
|
834
|
+
updatedAt: new Date(),
|
|
835
|
+
permissionIds: ['8ea45a49-c403-4551-9da9-77f5da44f130', '8d94c261-1f7d-46bd-88a8-511e9f39273b', '7391ac41-b076-4386-8a14-7c2d798d3335', '6d8f5a1f-b3cd-421a-ba85-7784bdd97dc2', '3c989065-35e1-4198-8c9c-c94084222794'],
|
|
836
|
+
feCategory: true
|
|
837
|
+
}, {
|
|
838
|
+
id: '2c2281da-cf81-4943-9605-42969677e9fe',
|
|
839
|
+
name: 'Security Policies',
|
|
840
|
+
description: 'Secure access security policies',
|
|
841
|
+
createdAt: new Date(),
|
|
842
|
+
updatedAt: new Date(),
|
|
843
|
+
permissionIds: ['e5642338-b265-4ce5-94e4-8c21490033ad', 'daddb9e9-a836-4901-b175-2d1182dab6f5', 'bd4242ce-e84f-4387-9c41-c90e7d1fc6fa', 'ba33b4c1-47f0-4aa2-9e3a-fcf96229d355', 'ade4558f-5438-4383-b42b-728e8a745cc8', 'ad064258-2178-48f8-845c-ac1ce0217be8', 'acefb7fd-11c7-4a43-9544-b4fb461db94c', '909b6a0a-4efc-4464-90ac-b8b9a8f22fc2', '8a03c1e7-3991-4cca-8726-88c339766144', '860eb891-b9eb-44ba-94c1-51cfc2be9dd9', '719e09ae-5513-4cc3-bce1-97503a0a7658', '6fcd99e7-2206-4c45-86aa-411a87b7fcac', '235592cc-47c7-49cc-82e4-129f5333cc45', '2214404d-3140-44bf-9c9d-438fa56b5a50'],
|
|
844
|
+
feCategory: true
|
|
845
|
+
}, {
|
|
846
|
+
id: '2d7b4be7-8269-4ff4-81d6-0c92e95790d5',
|
|
847
|
+
name: 'Email integration',
|
|
848
|
+
description: 'Connectivity email integration',
|
|
849
|
+
createdAt: new Date(),
|
|
850
|
+
updatedAt: new Date(),
|
|
851
|
+
permissionIds: ['9a0bb3db-8bdb-4278-8f18-9c484bcd2f8c', '440f5616-ad85-43d1-b25d-1fd7930c6d26', '2a5dcd6d-57a3-45c4-815f-c265609cc1f7'],
|
|
852
|
+
feCategory: true
|
|
853
|
+
}, {
|
|
854
|
+
id: '31c7a260-55d6-43d5-a872-4f9e22982ff5',
|
|
855
|
+
name: 'Events',
|
|
856
|
+
description: 'Connectivity Events',
|
|
857
|
+
createdAt: new Date(),
|
|
858
|
+
updatedAt: new Date(),
|
|
859
|
+
permissionIds: ['85c90d0f-3bb0-40c0-914a-640c7ca9eea5', '750a96a5-8abf-4340-b91a-723c7bb8bcfd', '4fee0eb0-5b17-450b-bea4-b9b908230bda'],
|
|
860
|
+
feCategory: true
|
|
861
|
+
}, {
|
|
862
|
+
id: '42aaebe1-893d-4da5-99d7-375a4537b7a4',
|
|
863
|
+
name: 'Account settings',
|
|
864
|
+
description: 'Account profile settings',
|
|
865
|
+
createdAt: new Date(),
|
|
866
|
+
updatedAt: new Date(),
|
|
867
|
+
permissionIds: ['f26b00f8-ffe0-4739-b15c-7db15c27ea26', 'eb11313d-c7bb-43c0-a85d-c79bedab46b1', 'a9c803b0-ebfa-49b9-9607-f0d3a390ee61', '634d3fab-b470-4a92-a25b-245459ddd6db'],
|
|
868
|
+
feCategory: true
|
|
869
|
+
}, {
|
|
870
|
+
id: '62fc3fe0-f06b-4a0f-854c-cdf51353b616',
|
|
871
|
+
name: 'Slack integration',
|
|
872
|
+
description: 'Connectivity Slack integration',
|
|
873
|
+
createdAt: new Date(),
|
|
874
|
+
updatedAt: new Date(),
|
|
875
|
+
permissionIds: ['f403c6b9-1abe-4ec7-9971-aa032255fc25', 'ef2a5f1a-74c5-431f-b1a6-d4fb5026e374', 'e3231a61-e425-4ac1-aa87-654ab995af5c', '9fc1fa37-a8b9-4931-b2b5-5de55df25289', '87c3df9d-0ab2-4e97-bfc8-777a68ba2543', '7993a558-0af5-4d77-b9fc-8e8114f0ce0b', '7826470b-151f-4bab-b2c0-785e09878616', '5b0323d1-a0a0-4d4f-9bb8-b1634d9afa94', '4245736e-13b0-48fd-9a08-bc93809dcdaf', '2fccccb1-36f5-4c5c-8d93-73ab15d0b2d9'],
|
|
876
|
+
feCategory: true
|
|
877
|
+
}, {
|
|
878
|
+
id: '6b925df5-8b09-470a-9fcc-dae0beae1af4',
|
|
879
|
+
name: 'Audits',
|
|
880
|
+
description: 'Audit Logs',
|
|
881
|
+
createdAt: new Date(),
|
|
882
|
+
updatedAt: new Date(),
|
|
883
|
+
permissionIds: ['97085bb5-bec7-49eb-9744-4d35bbb83ad3'],
|
|
884
|
+
feCategory: true
|
|
885
|
+
}, {
|
|
886
|
+
id: '77154759-0a04-4669-b6b4-0858d3c1190e',
|
|
887
|
+
name: 'Secure access',
|
|
888
|
+
description: 'Secure access general',
|
|
889
|
+
createdAt: new Date(),
|
|
890
|
+
updatedAt: new Date(),
|
|
891
|
+
permissionIds: ['925e0c16-aead-41e6-b62f-8ddb2ea4ed06', '8d71b676-754c-4600-afe7-ca5add1e6809', '1c81d4ca-47a2-4564-b9d9-9d346b8cdbe7', '04dbcc11-61db-40a9-9577-9b73e50d1d03'],
|
|
892
|
+
feCategory: true
|
|
893
|
+
}, {
|
|
894
|
+
id: '916d6db5-489e-4109-95cf-57dee7802c57',
|
|
895
|
+
name: 'Webpush integration',
|
|
896
|
+
description: 'Webpush notifications integration',
|
|
897
|
+
createdAt: new Date(),
|
|
898
|
+
updatedAt: new Date(),
|
|
899
|
+
permissionIds: ['e5a7bbd3-f76b-4559-979d-885c5c75f72f', 'cb47ea6f-0a59-4694-97d0-9c32f6732e85'],
|
|
900
|
+
feCategory: true
|
|
901
|
+
}, {
|
|
902
|
+
id: '9707ef7f-afd3-4d1f-962e-68c0d876db53',
|
|
903
|
+
name: 'Subscriptions',
|
|
904
|
+
description: 'Subscriptions access general',
|
|
905
|
+
createdAt: new Date(),
|
|
906
|
+
updatedAt: new Date(),
|
|
907
|
+
permissionIds: ['ce03de78-a7f4-4498-acce-df4aae30ed0d', 'ae81dd56-2f94-4da8-9c16-b6c781b0dcb7', '72e55675-ea98-4f1a-85f0-09319cdcbcbf'],
|
|
908
|
+
feCategory: true
|
|
909
|
+
}, {
|
|
910
|
+
id: 'a71e2e14-0cdb-42df-b297-d00af2d4e62e',
|
|
911
|
+
name: 'Users management',
|
|
912
|
+
description: 'Secure access users management',
|
|
913
|
+
createdAt: new Date(),
|
|
914
|
+
updatedAt: new Date(),
|
|
915
|
+
permissionIds: ['e7263c99-874f-4e17-8d63-25ae3d9f5739', 'db957d5f-4048-4011-bcb4-5d21af0560e4', 'c52b0a96-dcff-4fba-aa8e-ce3a7336bde2', 'bc754ce1-ebbe-446a-bb84-4f287be0651c', '998756c3-773a-4771-b7a5-510e795fb5f4', '88565631-dc77-472c-b1d9-18674483c24b', '6b84ddeb-a242-48c5-bf2a-62105315518a', '61874f64-2204-4eec-8f02-0d38bd5a66b8', '4c47caae-d384-48bb-99bc-554aafa2888f', '43695880-d40e-412d-b342-434d58c5c8ca', '4003ac5b-326c-4dc2-afb1-8900e16ee443', '007c612d-5184-4f04-846e-d49c6591de0c'],
|
|
916
|
+
feCategory: true
|
|
917
|
+
}, {
|
|
918
|
+
id: 'c058e114-917c-4ad1-940e-11e9cc40b638',
|
|
919
|
+
name: 'Roles and permissions',
|
|
920
|
+
description: 'Secure access roles and permissions',
|
|
921
|
+
createdAt: new Date(),
|
|
922
|
+
updatedAt: new Date(),
|
|
923
|
+
permissionIds: ['c89960c8-6d67-44fa-a3aa-1a6826f45b0d', '93be3a9a-98a2-48b8-a146-a223e457c904', '80e49f9a-7628-4efc-913b-5f80ca92f106', '7f2576d6-cbbb-4c7b-bb70-d75a88d9ce47', '6a337814-34e5-4c24-a56f-d462c1db218b'],
|
|
924
|
+
feCategory: true
|
|
925
|
+
}, {
|
|
926
|
+
id: 'c38e9f59-ff65-4f9f-a31d-0bbfc44df347',
|
|
927
|
+
name: 'Groups',
|
|
928
|
+
description: 'Secure access groups',
|
|
929
|
+
createdAt: new Date(),
|
|
930
|
+
updatedAt: new Date(),
|
|
931
|
+
permissionIds: ['e1907e68-877d-4f2d-a266-d54e143c3c0c', '7a17405a-6c4b-4053-9843-f9d5e3af9e00', '5ee7bb2d-aad4-497f-94d2-9e255c470882', '4c406972-c815-46a9-8f47-9708adc334b8', '399bff45-aa24-49ae-9357-5f05a5eef3a5', '0037b3ad-5f77-4157-aa33-33c92b5fe057'],
|
|
932
|
+
feCategory: true
|
|
933
|
+
}, {
|
|
934
|
+
id: 'd18fccaa-e09a-4e6e-b902-cc9c615ff12d',
|
|
935
|
+
name: 'Connectivity',
|
|
936
|
+
description: 'Connectivity general',
|
|
937
|
+
createdAt: new Date(),
|
|
938
|
+
updatedAt: new Date(),
|
|
939
|
+
permissionIds: ['e8c0e727-f562-449a-82c5-f7691defde02', 'c88bf74a-66a4-48c2-bc1b-2e2aa057858d', 'a43e059d-d731-44b1-94bb-fb6b16c62210', '3f118e4c-badd-45d1-8056-3f3428be92ca'],
|
|
940
|
+
feCategory: true
|
|
941
|
+
}, {
|
|
942
|
+
id: 'd24db1e3-002b-421d-951d-09a967dd7cd5',
|
|
943
|
+
name: 'Account Hierarchy',
|
|
944
|
+
description: 'Account hierarchy',
|
|
945
|
+
createdAt: new Date(),
|
|
946
|
+
updatedAt: new Date(),
|
|
947
|
+
permissionIds: ['b6e66e0f-c6d2-4113-865a-57d08b1dec45', 'a1807695-54a2-4f95-95de-a9b246488aae', '85e1fd7b-2bb7-498f-8521-5f8e5774c01e', '60cfedb4-64ca-40d1-8b3a-4288bcde1209'],
|
|
948
|
+
feCategory: true
|
|
949
|
+
}, {
|
|
950
|
+
id: 'e74e5390-396b-429c-9544-62417912d018',
|
|
951
|
+
name: 'Webhooks integration',
|
|
952
|
+
description: 'Connectivity webhooks integration',
|
|
953
|
+
createdAt: new Date(),
|
|
954
|
+
updatedAt: new Date(),
|
|
955
|
+
permissionIds: ['996e42ed-b1d8-4e36-aa76-58091c56bdf7', '8e7014d4-13fa-439a-a313-a2b9141f8b47', '2dfde8ef-7df2-4426-bb8d-33615e399a4d', '16647407-ed6f-4ca6-83a0-86225d921959'],
|
|
956
|
+
feCategory: true
|
|
957
|
+
}, {
|
|
958
|
+
id: 'e8af2833-1bbf-4ccf-8658-f6e0c60621b9',
|
|
959
|
+
name: 'API tokens',
|
|
960
|
+
description: 'Secure access API tokens',
|
|
961
|
+
createdAt: new Date(),
|
|
962
|
+
updatedAt: new Date(),
|
|
963
|
+
permissionIds: ['f03dc571-0769-4bcf-9c51-776b81582a14', 'c395932b-c732-41ad-bec6-ced7602bf79e', '94351961-e9c8-4c63-8818-ae8481ceab22', '5a744287-d01e-4a7a-8a37-2ce212ce5ff5', '0cf97f9f-84dc-4dfc-bf41-2ad4b6c072e9', '0c8cdac0-b364-4ab6-9737-7aa43f944013'],
|
|
964
|
+
feCategory: true
|
|
965
|
+
}];
|