@frontegg/redux-store
Advanced tools
Comparing version 1.23.3 to 1.23.20
@@ -33,2 +33,3 @@ import { IAcceptInvitation } from '@frontegg/rest-api'; | ||
securityPolicyState: import("..").SecurityPolicyState; | ||
accountSettingsState: import("..").AccountSettingsState; | ||
routes: import("..").AuthPageRoutes; | ||
@@ -60,2 +61,3 @@ header?: any; | ||
securityPolicyState: import("..").SecurityPolicyState; | ||
accountSettingsState: import("..").AccountSettingsState; | ||
routes: import("..").AuthPageRoutes; | ||
@@ -62,0 +64,0 @@ header?: any; |
@@ -33,2 +33,3 @@ import { IActivateAccount } from '@frontegg/rest-api'; | ||
securityPolicyState: import("..").SecurityPolicyState; | ||
accountSettingsState: import("..").AccountSettingsState; | ||
routes: import("..").AuthPageRoutes; | ||
@@ -60,2 +61,3 @@ header?: any; | ||
securityPolicyState: import("..").SecurityPolicyState; | ||
accountSettingsState: import("..").AccountSettingsState; | ||
routes: import("..").AuthPageRoutes; | ||
@@ -62,0 +64,0 @@ header?: any; |
@@ -50,2 +50,3 @@ import { ApiTokensState, ApiStateIndicator, ApiTokenType, AddTenantApiTokenPayload, AddUserApiTokenPayload } from './interfaces'; | ||
securityPolicyState: import("..").SecurityPolicyState; | ||
accountSettingsState: import("..").AccountSettingsState; | ||
routes: import("..").AuthPageRoutes; | ||
@@ -77,2 +78,3 @@ header?: any; | ||
securityPolicyState: import("..").SecurityPolicyState; | ||
accountSettingsState: import("..").AccountSettingsState; | ||
routes: import("..").AuthPageRoutes; | ||
@@ -79,0 +81,0 @@ header?: any; |
@@ -33,2 +33,3 @@ import { IForgotPassword, IResetPassword } from '@frontegg/rest-api'; | ||
securityPolicyState: import("..").SecurityPolicyState; | ||
accountSettingsState: import("..").AccountSettingsState; | ||
routes: import("..").AuthPageRoutes; | ||
@@ -60,2 +61,3 @@ header?: any; | ||
securityPolicyState: import("..").SecurityPolicyState; | ||
accountSettingsState: import("..").AccountSettingsState; | ||
routes: import("..").AuthPageRoutes; | ||
@@ -62,0 +64,0 @@ header?: any; |
@@ -30,2 +30,4 @@ import { reducer, actions } from './reducer'; | ||
export * from './SecurityPolicyState'; | ||
export * from './AccountSettingsState/interfaces'; | ||
export * from './AccountSettingsState'; | ||
export { AuthActions } from './reducer'; | ||
@@ -39,2 +41,8 @@ export { sagas as authSagas, reducer as authReducers, actions as authActions, initialState as authInitialState, storeName as authStoreName, }; | ||
actions: { | ||
updateAccountSettings: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[import("../interfaces").WithCallback<import("@frontegg/rest-api").ISettingsResponse, import("@frontegg/rest-api").ISettingsResponse>], import("../interfaces").WithCallback<import("@frontegg/rest-api").ISettingsResponse, import("@frontegg/rest-api").ISettingsResponse>, string, never, never>; | ||
getAccountSettings: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[({ | ||
callback?: ((data: boolean | null, error?: string | undefined) => void) | undefined; | ||
} | undefined)?], { | ||
callback?: ((data: boolean | null, error?: string | undefined) => void) | undefined; | ||
} | undefined, string, never, never>; | ||
loadSecurityPolicy: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>; | ||
@@ -51,5 +59,16 @@ loadSecurityPolicyMfa: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>; | ||
loadUsers: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[import("../interfaces").WithCallback<import("../interfaces").WithSilentLoad<import("@frontegg/rest-api").ILoadUsers>, import("@frontegg/rest-api").ITeamUser[]>], import("../interfaces").WithCallback<import("../interfaces").WithSilentLoad<import("@frontegg/rest-api").ILoadUsers>, import("@frontegg/rest-api").ITeamUser[]>, string, never, never>; | ||
loadRoles: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[{ | ||
callback?: ((data: { | ||
roles: import("@frontegg/rest-api").ITeamUserRole[]; | ||
permissions: import("@frontegg/rest-api").ITeamUserPermission[]; | ||
} | null, error?: string | undefined) => void) | undefined; | ||
}], { | ||
callback?: ((data: { | ||
roles: import("@frontegg/rest-api").ITeamUserRole[]; | ||
permissions: import("@frontegg/rest-api").ITeamUserPermission[]; | ||
} | null, error?: string | undefined) => void) | undefined; | ||
}, string, never, never>; | ||
addUser: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[import("../interfaces").WithCallback<import("@frontegg/rest-api").IAddUser, import("@frontegg/rest-api").ITeamUser>], import("../interfaces").WithCallback<import("@frontegg/rest-api").IAddUser, import("@frontegg/rest-api").ITeamUser>, string, never, never>; | ||
updateUser: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[Partial<import("@frontegg/rest-api").ITeamUser>], Partial<import("@frontegg/rest-api").ITeamUser>, string, never, never>; | ||
deleteUser: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[import("@frontegg/rest-api").IDeleteUser], import("@frontegg/rest-api").IDeleteUser, string, never, never>; | ||
updateUser: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[import("../interfaces").WithCallback<Partial<import("@frontegg/rest-api").ITeamUser>, import("@frontegg/rest-api").ITeamUser>], import("../interfaces").WithCallback<Partial<import("@frontegg/rest-api").ITeamUser>, import("@frontegg/rest-api").ITeamUser>, string, never, never>; | ||
deleteUser: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[import("../interfaces").WithCallback<import("@frontegg/rest-api").IDeleteUser, boolean>], import("../interfaces").WithCallback<import("@frontegg/rest-api").IDeleteUser, boolean>, string, never, never>; | ||
resendActivationLink: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[import("../interfaces").WithCallback<import("@frontegg/rest-api").IResendActivationLink, boolean>], import("../interfaces").WithCallback<import("@frontegg/rest-api").IResendActivationLink, boolean>, string, never, never>; | ||
@@ -110,2 +129,4 @@ openAddUserDialog: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[(Pick<import("./TeamState/interfaces").AddUserDialogState, "onClose"> | undefined)?], Pick<import("./TeamState/interfaces").AddUserDialogState, "onClose"> | undefined, string, never, never>; | ||
} | undefined, string, never, never>; | ||
setAccountSettingsState: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[Partial<import("./AccountSettingsState/interfaces").AccountSettingsState>], Partial<import("./AccountSettingsState/interfaces").AccountSettingsState>, string, never, never>; | ||
resetAccountSettingsState: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>; | ||
setSecurityPolicyState: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[Partial<import("./SecurityPolicyState/interfaces").SecurityPolicyState>], Partial<import("./SecurityPolicyState/interfaces").SecurityPolicyState>, string, never, never>; | ||
@@ -112,0 +133,0 @@ setSecurityPolicyGlobalState: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[Partial<import("../interfaces").WithStatus<import("@frontegg/rest-api").ISecurityPolicy>>], Partial<import("../interfaces").WithStatus<import("@frontegg/rest-api").ISecurityPolicy>>, string, never, never>; |
@@ -14,2 +14,3 @@ import { IUserProfile, RedirectOptions } from '@frontegg/rest-api'; | ||
import { SecurityPolicyState } from './SecurityPolicyState/interfaces'; | ||
import { AccountSettingsState } from './AccountSettingsState/interfaces'; | ||
export interface User extends IUserProfile { | ||
@@ -49,2 +50,3 @@ accessToken: string; | ||
securityPolicyState: SecurityPolicyState; | ||
accountSettingsState: AccountSettingsState; | ||
} | ||
@@ -51,0 +53,0 @@ export declare type AuthPageRoutes = { |
@@ -34,2 +34,3 @@ import { ILogin, ILoginWithMfa, IPostLogin, IPreLogin, IRecoverMFAToken, ISwitchTenant, ITenantsResponse } from '@frontegg/rest-api'; | ||
securityPolicyState: import("..").SecurityPolicyState; | ||
accountSettingsState: import("..").AccountSettingsState; | ||
routes: import("..").AuthPageRoutes; | ||
@@ -61,2 +62,3 @@ header?: any; | ||
securityPolicyState: import("..").SecurityPolicyState; | ||
accountSettingsState: import("..").AccountSettingsState; | ||
routes: import("..").AuthPageRoutes; | ||
@@ -63,0 +65,0 @@ header?: any; |
@@ -34,2 +34,3 @@ import { IDisableMfa, ILoginWithMfa, IVerifyMfa } from '@frontegg/rest-api'; | ||
securityPolicyState: import("..").SecurityPolicyState; | ||
accountSettingsState: import("..").AccountSettingsState; | ||
routes: import("..").AuthPageRoutes; | ||
@@ -61,2 +62,3 @@ header?: any; | ||
securityPolicyState: import("..").SecurityPolicyState; | ||
accountSettingsState: import("..").AccountSettingsState; | ||
routes: import("..").AuthPageRoutes; | ||
@@ -63,0 +65,0 @@ header?: any; |
@@ -34,2 +34,3 @@ import { IChangePassword } from '@frontegg/rest-api'; | ||
securityPolicyState: import("..").SecurityPolicyState; | ||
accountSettingsState: import("..").AccountSettingsState; | ||
routes: import("..").AuthPageRoutes; | ||
@@ -61,2 +62,3 @@ header?: any; | ||
securityPolicyState: import("..").SecurityPolicyState; | ||
accountSettingsState: import("..").AccountSettingsState; | ||
routes: import("..").AuthPageRoutes; | ||
@@ -63,0 +65,0 @@ header?: any; |
@@ -14,4 +14,11 @@ import { AuthState, User } from './interfaces'; | ||
import { SecurityPolicyActions } from './SecurityPolicyState'; | ||
import { AccountSettingsActions } from './AccountSettingsState'; | ||
declare const reducer: import("redux").Reducer<AuthState, import("redux").AnyAction>; | ||
declare const actions: { | ||
updateAccountSettings: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[import("../interfaces").WithCallback<import("@frontegg/rest-api").ISettingsResponse, import("@frontegg/rest-api").ISettingsResponse>], import("../interfaces").WithCallback<import("@frontegg/rest-api").ISettingsResponse, import("@frontegg/rest-api").ISettingsResponse>, string, never, never>; | ||
getAccountSettings: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[({ | ||
callback?: ((data: boolean | null, error?: string | undefined) => void) | undefined; | ||
} | undefined)?], { | ||
callback?: ((data: boolean | null, error?: string | undefined) => void) | undefined; | ||
} | undefined, string, never, never>; | ||
loadSecurityPolicy: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>; | ||
@@ -28,5 +35,16 @@ loadSecurityPolicyMfa: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>; | ||
loadUsers: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[import("../interfaces").WithCallback<import("../interfaces").WithSilentLoad<import("@frontegg/rest-api").ILoadUsers>, import("@frontegg/rest-api").ITeamUser[]>], import("../interfaces").WithCallback<import("../interfaces").WithSilentLoad<import("@frontegg/rest-api").ILoadUsers>, import("@frontegg/rest-api").ITeamUser[]>, string, never, never>; | ||
loadRoles: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[{ | ||
callback?: ((data: { | ||
roles: import("@frontegg/rest-api").ITeamUserRole[]; | ||
permissions: import("@frontegg/rest-api").ITeamUserPermission[]; | ||
} | null, error?: string | undefined) => void) | undefined; | ||
}], { | ||
callback?: ((data: { | ||
roles: import("@frontegg/rest-api").ITeamUserRole[]; | ||
permissions: import("@frontegg/rest-api").ITeamUserPermission[]; | ||
} | null, error?: string | undefined) => void) | undefined; | ||
}, string, never, never>; | ||
addUser: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[import("../interfaces").WithCallback<import("@frontegg/rest-api").IAddUser, import("@frontegg/rest-api").ITeamUser>], import("../interfaces").WithCallback<import("@frontegg/rest-api").IAddUser, import("@frontegg/rest-api").ITeamUser>, string, never, never>; | ||
updateUser: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[Partial<import("@frontegg/rest-api").ITeamUser>], Partial<import("@frontegg/rest-api").ITeamUser>, string, never, never>; | ||
deleteUser: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[import("@frontegg/rest-api").IDeleteUser], import("@frontegg/rest-api").IDeleteUser, string, never, never>; | ||
updateUser: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[import("../interfaces").WithCallback<Partial<import("@frontegg/rest-api").ITeamUser>, import("@frontegg/rest-api").ITeamUser>], import("../interfaces").WithCallback<Partial<import("@frontegg/rest-api").ITeamUser>, import("@frontegg/rest-api").ITeamUser>, string, never, never>; | ||
deleteUser: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[import("../interfaces").WithCallback<import("@frontegg/rest-api").IDeleteUser, boolean>], import("../interfaces").WithCallback<import("@frontegg/rest-api").IDeleteUser, boolean>, string, never, never>; | ||
resendActivationLink: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[import("../interfaces").WithCallback<import("@frontegg/rest-api").IResendActivationLink, boolean>], import("../interfaces").WithCallback<import("@frontegg/rest-api").IResendActivationLink, boolean>, string, never, never>; | ||
@@ -87,2 +105,4 @@ openAddUserDialog: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[(Pick<import(".").AddUserDialogState, "onClose"> | undefined)?], Pick<import(".").AddUserDialogState, "onClose"> | undefined, string, never, never>; | ||
} | undefined, string, never, never>; | ||
setAccountSettingsState: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[Partial<import(".").AccountSettingsState>], Partial<import(".").AccountSettingsState>, string, never, never>; | ||
resetAccountSettingsState: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>; | ||
setSecurityPolicyState: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[Partial<import(".").SecurityPolicyState>], Partial<import(".").SecurityPolicyState>, string, never, never>; | ||
@@ -128,3 +148,3 @@ setSecurityPolicyGlobalState: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[Partial<import("../interfaces").WithStatus<import("@frontegg/rest-api").ISecurityPolicy>>], Partial<import("../interfaces").WithStatus<import("@frontegg/rest-api").ISecurityPolicy>>, string, never, never>; | ||
}; | ||
export declare type AuthActions = RootActions & LoginActions & SocialLoginActions & ActivateAccountActions & AcceptInvitationActions & ForgotPasswordActions & SignUpActions & ProfileActions & SSOActions & MfaActions & TeamActions & ApiTokensActions & SecurityPolicyActions; | ||
export declare type AuthActions = RootActions & LoginActions & SocialLoginActions & ActivateAccountActions & AcceptInvitationActions & ForgotPasswordActions & SignUpActions & ProfileActions & SSOActions & MfaActions & TeamActions & ApiTokensActions & SecurityPolicyActions & AccountSettingsActions; | ||
export { reducer, actions }; |
@@ -32,2 +32,3 @@ import { GlobalPolicyState, LockoutPolicyState, MfaPolicyState, SaveSecurityPolicyLockoutPayload, SaveSecurityPolicyMfaPayload, SecurityPolicyState } from './interfaces'; | ||
securityPolicyState: SecurityPolicyState; | ||
accountSettingsState: import("..").AccountSettingsState; | ||
routes: import("..").AuthPageRoutes; | ||
@@ -66,2 +67,3 @@ header?: any; | ||
securityPolicyState: SecurityPolicyState; | ||
accountSettingsState: import("..").AccountSettingsState; | ||
routes: import("..").AuthPageRoutes; | ||
@@ -100,2 +102,3 @@ header?: any; | ||
securityPolicyState: SecurityPolicyState; | ||
accountSettingsState: import("..").AccountSettingsState; | ||
routes: import("..").AuthPageRoutes; | ||
@@ -134,2 +137,3 @@ header?: any; | ||
securityPolicyState: SecurityPolicyState; | ||
accountSettingsState: import("..").AccountSettingsState; | ||
routes: import("..").AuthPageRoutes; | ||
@@ -161,2 +165,3 @@ header?: any; | ||
securityPolicyState: SecurityPolicyState; | ||
accountSettingsState: import("..").AccountSettingsState; | ||
routes: import("..").AuthPageRoutes; | ||
@@ -163,0 +168,0 @@ header?: any; |
@@ -15,6 +15,2 @@ import { ISignUpUser } from '@frontegg/rest-api'; | ||
error?: any; | ||
/** | ||
* if you see error in matcher that's mean the DispatchAction does not | ||
* contains the same functions in reducers and actions | ||
*/ | ||
isAuthenticated: boolean; | ||
@@ -38,2 +34,3 @@ isLoading: boolean; | ||
securityPolicyState: import("..").SecurityPolicyState; | ||
accountSettingsState: import("..").AccountSettingsState; | ||
routes: import("..").AuthPageRoutes; | ||
@@ -47,6 +44,2 @@ header?: any; | ||
error?: any; | ||
/** | ||
* if you see error in matcher that's mean the DispatchAction does not | ||
* contains the same functions in reducers and actions | ||
*/ | ||
isAuthenticated: boolean; | ||
@@ -70,2 +63,3 @@ isLoading: boolean; | ||
securityPolicyState: import("..").SecurityPolicyState; | ||
accountSettingsState: import("..").AccountSettingsState; | ||
routes: import("..").AuthPageRoutes; | ||
@@ -72,0 +66,0 @@ header?: any; |
@@ -33,2 +33,3 @@ import { ILoginViaSocialLogin, ISetSocialLoginError } from '@frontegg/rest-api'; | ||
securityPolicyState: import("..").SecurityPolicyState; | ||
accountSettingsState: import("..").AccountSettingsState; | ||
routes: import("..").AuthPageRoutes; | ||
@@ -60,2 +61,3 @@ header?: any; | ||
securityPolicyState: import("..").SecurityPolicyState; | ||
accountSettingsState: import("..").AccountSettingsState; | ||
routes: import("..").AuthPageRoutes; | ||
@@ -62,0 +64,0 @@ header?: any; |
@@ -23,6 +23,2 @@ import { SaveSSOConfigurationPayload, SSOState, UpdateSSOAuthorizationRolesPayload } from './interfaces'; | ||
activateState: import("..").ActivateAccountState; | ||
/** | ||
* To be used for actions types after dispatch, and should contains | ||
* the reducers and actions as standalone function | ||
*/ | ||
acceptInvitationState: import("..").AcceptInvitationState; | ||
@@ -38,2 +34,3 @@ forgotPasswordState: import("..").ForgotPasswordState; | ||
securityPolicyState: import("..").SecurityPolicyState; | ||
accountSettingsState: import("..").AccountSettingsState; | ||
routes: import("..").AuthPageRoutes; | ||
@@ -55,6 +52,2 @@ header?: any; | ||
activateState: import("..").ActivateAccountState; | ||
/** | ||
* To be used for actions types after dispatch, and should contains | ||
* the reducers and actions as standalone function | ||
*/ | ||
acceptInvitationState: import("..").AcceptInvitationState; | ||
@@ -70,2 +63,3 @@ forgotPasswordState: import("..").ForgotPasswordState; | ||
securityPolicyState: import("..").SecurityPolicyState; | ||
accountSettingsState: import("..").AccountSettingsState; | ||
routes: import("..").AuthPageRoutes; | ||
@@ -72,0 +66,0 @@ header?: any; |
import { IAddUser, IDeleteUser, ILoadUsers, IResendActivationLink, ITeamUser, IUpdateUser } from '@frontegg/rest-api'; | ||
import { ISetAddUserDialog, ISetDeleteUserDialog, TeamState, TeamStateIndicator } from './interfaces'; | ||
import { ISetAddUserDialog, ISetDeleteUserDialog, TeamState, TeamStateIndicator, LoadRolesAndPermissionsPayload } from './interfaces'; | ||
import { WithCallback, WithSilentLoad } from '../../interfaces'; | ||
@@ -52,2 +52,3 @@ declare const teamState: TeamState; | ||
securityPolicyState: import("..").SecurityPolicyState; | ||
accountSettingsState: import("..").AccountSettingsState; | ||
routes: import("..").AuthPageRoutes; | ||
@@ -79,2 +80,3 @@ header?: any; | ||
securityPolicyState: import("..").SecurityPolicyState; | ||
accountSettingsState: import("..").AccountSettingsState; | ||
routes: import("..").AuthPageRoutes; | ||
@@ -87,2 +89,13 @@ header?: any; | ||
loadUsers: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[WithCallback<WithSilentLoad<ILoadUsers>, ITeamUser[]>], WithCallback<WithSilentLoad<ILoadUsers>, ITeamUser[]>, string, never, never>; | ||
loadRoles: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[{ | ||
callback?: ((data: { | ||
roles: import("@frontegg/rest-api").ITeamUserRole[]; | ||
permissions: import("@frontegg/rest-api").ITeamUserPermission[]; | ||
} | null, error?: string | undefined) => void) | undefined; | ||
}], { | ||
callback?: ((data: { | ||
roles: import("@frontegg/rest-api").ITeamUserRole[]; | ||
permissions: import("@frontegg/rest-api").ITeamUserPermission[]; | ||
} | null, error?: string | undefined) => void) | undefined; | ||
}, string, never, never>; | ||
addUser: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[WithCallback<IAddUser, ITeamUser>], WithCallback<IAddUser, ITeamUser>, string, never, never>; | ||
@@ -107,4 +120,5 @@ updateUser: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[WithCallback<Partial<ITeamUser>, ITeamUser>], WithCallback<Partial<ITeamUser>, ITeamUser>, string, never, never>; | ||
loadUsers: (payload: WithCallback<WithSilentLoad<ILoadUsers>, ITeamUser[]>) => void; | ||
loadRoles: (payload: LoadRolesAndPermissionsPayload) => void; | ||
addUser: (payload: WithCallback<IAddUser, ITeamUser>) => void; | ||
updateUser: (payload: WithCallback<IUpdateUser>) => void; | ||
updateUser: (payload: WithCallback<IUpdateUser, ITeamUser>) => void; | ||
deleteUser: (payload: WithCallback<IDeleteUser>) => void; | ||
@@ -111,0 +125,0 @@ resendActivationLink: (payload: WithCallback<IResendActivationLink>) => void; |
import { ITeamUserRole, ITeamUser, QuerySort, QueryFilter, ITeamUserPermission } from '@frontegg/rest-api'; | ||
import { LoaderIndicatorState } from '../../interfaces'; | ||
import { LoaderIndicatorState, WithCallback } from '../../interfaces'; | ||
export declare enum TeamStateKeys { | ||
@@ -8,3 +8,4 @@ USERS = "USERS", | ||
DELETE_USER = "DELETE_USER", | ||
RESEND_ACTIVATE_LINK = "RESEND_ACTIVATE_LINK" | ||
RESEND_ACTIVATE_LINK = "RESEND_ACTIVATE_LINK", | ||
ROLES_AND_PERMISSIONS = "ROLES_AND_PERMISSIONS" | ||
} | ||
@@ -31,2 +32,6 @@ export declare type TeamStateIndicator = { | ||
export declare type ISetDeleteUserDialog = Omit<DeleteUserDialogState, 'loading' | 'error' | 'open'>; | ||
export declare type LoadRolesAndPermissionsPayload = WithCallback<{}, { | ||
roles: ITeamUserRole[]; | ||
permissions: ITeamUserPermission[]; | ||
}>; | ||
export interface TeamState { | ||
@@ -33,0 +38,0 @@ loaders: LoaderIndicatorState<TeamStateKeys>; |
@@ -24,2 +24,3 @@ import { PayloadAction } from '@reduxjs/toolkit'; | ||
securityPolicyState: import(".").SecurityPolicyState; | ||
accountSettingsState: import(".").AccountSettingsState; | ||
routes: import("./interfaces").AuthPageRoutes; | ||
@@ -53,2 +54,3 @@ header?: any; | ||
securityPolicyState: import(".").SecurityPolicyState; | ||
accountSettingsState: import(".").AccountSettingsState; | ||
routes: import("./interfaces").AuthPageRoutes; | ||
@@ -86,2 +88,3 @@ header?: any; | ||
securityPolicyState: import(".").SecurityPolicyState; | ||
accountSettingsState: import(".").AccountSettingsState; | ||
routes: import("./interfaces").AuthPageRoutes; | ||
@@ -120,2 +123,3 @@ header?: any; | ||
securityPolicyState: import(".").SecurityPolicyState; | ||
accountSettingsState: import(".").AccountSettingsState; | ||
routes: import("./interfaces").AuthPageRoutes; | ||
@@ -122,0 +126,0 @@ header?: any; |
import '@reduxjs/toolkit'; | ||
export { AcceptInvitationStep, ActivateAccountStep, ApiStateKeys, ForgotPasswordStep, LoginStep, MFAStep, SamlVendors, SignUpStage, TeamStateKeys, acceptInvitationActions, acceptInvitationReducers, acceptInvitationState, activateAccountActions, activateAccountReducers, activateState, apiTokensActions, apiTokensReducers, apiTokensState, default as auth, authActions, authInitialState, authReducers, authSagas, authStoreName, forgotPasswordActions, forgotPasswordReducers, forgotPasswordState, loginActions, loginReducers, loginState, mfaActions, mfaReducers, mfaState, profileActions, profileReducers, profileState, securityPolicyActions, securityPolicyReducers, securityPolicyState, signUpActions, signUpReducers, signUpState, socialLoginState, socialLoginsActions, socialLoginsReducer, ssoActions, ssoReducers, ssoState, teamActions, teamReducers, teamState } from './auth/index.js'; | ||
export { AcceptInvitationStep, ActivateAccountStep, ApiStateKeys, ForgotPasswordStep, LoginStep, MFAStep, SamlVendors, SignUpStage, TeamStateKeys, acceptInvitationActions, acceptInvitationReducers, acceptInvitationState, accountSettingsActions, accountSettingsReducers, accountSettingsState, activateAccountActions, activateAccountReducers, activateState, apiTokensActions, apiTokensReducers, apiTokensState, default as auth, authActions, authInitialState, authReducers, authSagas, authStoreName, forgotPasswordActions, forgotPasswordReducers, forgotPasswordState, loginActions, loginReducers, loginState, mfaActions, mfaReducers, mfaState, profileActions, profileReducers, profileState, securityPolicyActions, securityPolicyReducers, securityPolicyState, signUpActions, signUpReducers, signUpState, socialLoginState, socialLoginsActions, socialLoginsReducer, ssoActions, ssoReducers, ssoState, teamActions, teamReducers, teamState } from './auth/index.js'; | ||
import 'tslib'; | ||
@@ -4,0 +4,0 @@ import 'redux-saga/effects'; |
{ | ||
"name": "@frontegg/redux-store", | ||
"libName": "FronteggReduxStore", | ||
"version": "1.23.3", | ||
"version": "1.23.20", | ||
"author": "Frontegg LTD", | ||
@@ -15,3 +15,3 @@ "main": "index.js", | ||
"dependencies": { | ||
"@frontegg/rest-api": "^1.23.2", | ||
"@frontegg/rest-api": "^1.23.20", | ||
"@reduxjs/toolkit": "^1.5.0", | ||
@@ -18,0 +18,0 @@ "redux-saga": "^1.1.3" |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
377706
64
4084
Updated@frontegg/rest-api@^1.23.20