@frontegg/redux-store 5.59.1 → 5.61.1
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/auth/LoginState/index.d.ts +14 -2
- package/auth/LoginState/interfaces.d.ts +21 -2
- package/auth/LoginState/saga.d.ts +5 -1
- package/auth/SecurityPolicyState/index.d.ts +47 -1
- package/auth/SecurityPolicyState/interfaces.d.ts +3 -1
- package/auth/SecurityPolicyState/saga.d.ts +6 -0
- package/auth/TeamState/index.d.ts +21 -1
- package/auth/TeamState/interfaces.d.ts +10 -1
- package/auth/TenantsState/index.d.ts +6 -0
- package/auth/TenantsState/interfaces.d.ts +2 -1
- package/auth/dummy.d.ts +3 -1
- package/auth/index.d.ts +30 -0
- package/auth/index.js +493 -36
- package/auth/reducer.d.ts +30 -0
- package/auth/utils.d.ts +3 -0
- package/index.js +1 -1
- package/node/auth/index.js +15 -3
- package/node/{index-c7535125.js → index-5642a636.js} +513 -146
- package/node/index-6906e508.js +151 -0
- package/node/index.js +14 -2
- package/node/toolkit/index.js +2 -2
- package/node/vendor/index.js +1 -1
- package/package.json +2 -2
- package/node/index-2ab7009b.js +0 -52
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ILogin, ILoginWithMfa, IPasswordlessPreLogin, IPostLogin, IPreLogin, IRecoverMFAToken } from '@frontegg/rest-api';
|
|
2
|
-
import { HostedLoginCallback, IPasswordlessPostLoginPayload, LoginState } from './interfaces';
|
|
1
|
+
import { ICreateNewDeviceSessionResponse, ILogin, ILoginWithMfa, IPasswordlessPreLogin, IPostLogin, IPreLogin, IRecoverMFAToken, IWebAuthnPreLogin, IWebAuthnPreLoginResponse } from '@frontegg/rest-api';
|
|
2
|
+
import { HostedLoginCallback, IPasswordlessPostLoginPayload, IVerifyNewWebAuthnDevicePayload, IWebAuthnPostLoginPayload, LoginState } from './interfaces';
|
|
3
3
|
import { WithCallback } from '../../interfaces';
|
|
4
4
|
import { IVerifyInviteToken } from '@frontegg/rest-api';
|
|
5
5
|
declare const loginState: LoginState;
|
|
@@ -98,6 +98,14 @@ declare const actions: {
|
|
|
98
98
|
passwordlessPreLogin: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[WithCallback<IPasswordlessPreLogin, void>], WithCallback<IPasswordlessPreLogin, void>, string, never, never>;
|
|
99
99
|
passwordlessPostLogin: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[WithCallback<IPasswordlessPostLoginPayload, boolean>], WithCallback<IPasswordlessPostLoginPayload, boolean>, string, never, never>;
|
|
100
100
|
verifyInviteToken: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[IVerifyInviteToken], IVerifyInviteToken, string, never, never>;
|
|
101
|
+
webAuthnPrelogin: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[WithCallback<IWebAuthnPreLogin, IWebAuthnPreLoginResponse | null>], WithCallback<IWebAuthnPreLogin, IWebAuthnPreLoginResponse | null>, string, never, never>;
|
|
102
|
+
webAuthnPostLogin: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[IWebAuthnPostLoginPayload], IWebAuthnPostLoginPayload, string, never, never>;
|
|
103
|
+
webAuthnCreateNewDeviceSession: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[{
|
|
104
|
+
callback?: ((data: ICreateNewDeviceSessionResponse | null, error?: string | undefined) => void) | undefined;
|
|
105
|
+
}], {
|
|
106
|
+
callback?: ((data: ICreateNewDeviceSessionResponse | null, error?: string | undefined) => void) | undefined;
|
|
107
|
+
}, string, never, never>;
|
|
108
|
+
webAuthnVerifyNewDeviceSession: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[IVerifyNewWebAuthnDevicePayload], IVerifyNewWebAuthnDevicePayload, string, never, never>;
|
|
101
109
|
};
|
|
102
110
|
/**
|
|
103
111
|
* To be used for actions types after dispatch, and should contains
|
|
@@ -127,6 +135,10 @@ declare type DispatchedActions = {
|
|
|
127
135
|
passwordlessPreLogin: (payload: IPasswordlessPreLogin) => void;
|
|
128
136
|
passwordlessPostLogin: (payload: WithCallback<IPasswordlessPostLoginPayload>) => void;
|
|
129
137
|
verifyInviteToken: (payload: IVerifyInviteToken) => void;
|
|
138
|
+
webAuthnPrelogin: (payload: WithCallback<IWebAuthnPreLogin, IWebAuthnPreLoginResponse | null>) => void;
|
|
139
|
+
webAuthnPostLogin: (payload: IWebAuthnPostLoginPayload) => void;
|
|
140
|
+
webAuthnCreateNewDeviceSession: (payload: WithCallback<{}, ICreateNewDeviceSessionResponse | null>) => void;
|
|
141
|
+
webAuthnVerifyNewDeviceSession: (payload: IVerifyNewWebAuthnDevicePayload) => void;
|
|
130
142
|
};
|
|
131
143
|
export declare type LoginActions = DispatchedActions;
|
|
132
144
|
export { loginState, reducers as loginReducers, actions as loginActions };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { AuthStrategyEnum, IPasswordlessPostLogin, ITenantsResponse } from '@frontegg/rest-api';
|
|
1
|
+
import { AuthStrategyEnum, IPasswordlessPostLogin, ITenantsResponse, IVerifyNewWebAuthnDevice, IWebAuthnPostLogin } from '@frontegg/rest-api';
|
|
2
|
+
import { WithCallback } from '../../interfaces';
|
|
2
3
|
import { CustomEventsOptions } from '../interfaces';
|
|
3
|
-
export { AuthStrategyEnum };
|
|
4
4
|
export declare enum LoginStep {
|
|
5
5
|
'preLogin' = "preLogin",
|
|
6
6
|
'magicLinkPreLoginSuccess' = "magicLinkPreLoginSuccess",
|
|
@@ -14,10 +14,21 @@ export declare enum LoginStep {
|
|
|
14
14
|
'forceTwoFactor' = "forceTwoFactor",
|
|
15
15
|
'recoverTwoFactor' = "recoverTwoFactor"
|
|
16
16
|
}
|
|
17
|
+
export declare enum LoginFlow {
|
|
18
|
+
Login = "login",
|
|
19
|
+
RegisterQuickLogin = "registerQuickLogin"
|
|
20
|
+
}
|
|
21
|
+
export declare enum QuickLoginStrategy {
|
|
22
|
+
Internal = "internal",
|
|
23
|
+
UsbKey = "usb-key",
|
|
24
|
+
Android = "android",
|
|
25
|
+
Sms = "sms"
|
|
26
|
+
}
|
|
17
27
|
export interface LoginState {
|
|
18
28
|
loading: boolean;
|
|
19
29
|
error?: any;
|
|
20
30
|
step: LoginStep;
|
|
31
|
+
flow: LoginFlow;
|
|
21
32
|
ssoRedirectUrl?: string;
|
|
22
33
|
mfaRequired?: boolean;
|
|
23
34
|
mfaToken?: string;
|
|
@@ -30,6 +41,7 @@ export interface LoginState {
|
|
|
30
41
|
inviteTokenError?: string;
|
|
31
42
|
isNewUser?: boolean;
|
|
32
43
|
phoneNumber?: string;
|
|
44
|
+
quickLoginToRegister?: QuickLoginStrategy;
|
|
33
45
|
}
|
|
34
46
|
export interface HostedLoginCallback {
|
|
35
47
|
code: string;
|
|
@@ -39,3 +51,10 @@ export interface HostedLoginCallback {
|
|
|
39
51
|
export interface IPasswordlessPostLoginPayload extends IPasswordlessPostLogin {
|
|
40
52
|
events?: CustomEventsOptions;
|
|
41
53
|
}
|
|
54
|
+
export declare type IWebAuthnPostLoginPayload = WithCallback<Omit<IWebAuthnPostLogin, 'response' | 'id'>> & {
|
|
55
|
+
publicKey: Credential;
|
|
56
|
+
};
|
|
57
|
+
export declare type IVerifyNewWebAuthnDevicePayload = WithCallback<Omit<IVerifyNewWebAuthnDevice, 'response' | 'id'>> & {
|
|
58
|
+
publicKey: Credential;
|
|
59
|
+
};
|
|
60
|
+
export { AuthStrategyEnum };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { CallEffect } from 'redux-saga/effects';
|
|
2
2
|
import { IAllowedToRememberMfaDevice, ILoginResponse, ILoginResponseV2, ISamlMetadata } from '@frontegg/rest-api';
|
|
3
3
|
import { AuthState } from '../interfaces';
|
|
4
|
-
import { LoginStep } from './interfaces';
|
|
4
|
+
import { LoginFlow, LoginStep, QuickLoginStrategy } from './interfaces';
|
|
5
5
|
export declare function afterAuthNavigation(): Generator<import("redux-saga/effects").SelectEffect | CallEffect<true>, void, {
|
|
6
6
|
routes: any;
|
|
7
7
|
includeQueryParam: any;
|
|
@@ -30,12 +30,14 @@ export declare function getMfaRequiredState(user: any): Generator<import("redux-
|
|
|
30
30
|
tenants: never[];
|
|
31
31
|
allowRememberMfaDevice: any;
|
|
32
32
|
mfaDeviceExpiration: any;
|
|
33
|
+
flow: LoginFlow;
|
|
33
34
|
ssoRedirectUrl?: string | undefined;
|
|
34
35
|
email?: string | undefined;
|
|
35
36
|
inviteTokenTenantName?: string | undefined;
|
|
36
37
|
inviteTokenError?: string | undefined;
|
|
37
38
|
isNewUser?: boolean | undefined;
|
|
38
39
|
phoneNumber?: string | undefined;
|
|
40
|
+
quickLoginToRegister?: QuickLoginStrategy | undefined;
|
|
39
41
|
};
|
|
40
42
|
user: undefined;
|
|
41
43
|
isAuthenticated: boolean;
|
|
@@ -60,12 +62,14 @@ export declare function refreshToken(): Generator<import("redux-saga/effects").S
|
|
|
60
62
|
tenants: never[];
|
|
61
63
|
allowRememberMfaDevice: any;
|
|
62
64
|
mfaDeviceExpiration: any;
|
|
65
|
+
flow: LoginFlow;
|
|
63
66
|
ssoRedirectUrl?: string | undefined;
|
|
64
67
|
email?: string | undefined;
|
|
65
68
|
inviteTokenTenantName?: string | undefined;
|
|
66
69
|
inviteTokenError?: string | undefined;
|
|
67
70
|
isNewUser?: boolean | undefined;
|
|
68
71
|
phoneNumber?: string | undefined;
|
|
72
|
+
quickLoginToRegister?: QuickLoginStrategy | undefined;
|
|
69
73
|
};
|
|
70
74
|
user: undefined;
|
|
71
75
|
isAuthenticated: boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CaptchaPolicyState, GlobalPolicyState, PublicPolicyState, LockoutPolicyState, MfaPolicyState, PasswordPolicyState, SaveSecurityPolicyLockoutPayload, SaveSecurityPolicyMfaPayload, SecurityPolicyState, PasswordHistoryPolicyState, SaveSecurityPolicyPasswordHistoryPayload } from './interfaces';
|
|
1
|
+
import { CaptchaPolicyState, GlobalPolicyState, PublicPolicyState, LockoutPolicyState, MfaPolicyState, PasswordPolicyState, SaveSecurityPolicyLockoutPayload, SaveSecurityPolicyMfaPayload, SecurityPolicyState, PasswordHistoryPolicyState, SaveSecurityPolicyPasswordHistoryPayload, PublicAuthStrategyPolicyState } from './interfaces';
|
|
2
2
|
declare const securityPolicyState: SecurityPolicyState;
|
|
3
3
|
declare const reducers: {
|
|
4
4
|
setSecurityPolicyState: {
|
|
@@ -124,6 +124,49 @@ declare const reducers: {
|
|
|
124
124
|
loaderComponent?: any;
|
|
125
125
|
};
|
|
126
126
|
};
|
|
127
|
+
setSecurityPolicyAuthStrategyPublicState: {
|
|
128
|
+
prepare: (payload: Partial<import("../../interfaces").WithStatus & {
|
|
129
|
+
policy?: import("@frontegg/rest-api").IAuthStrategiesConfig | undefined;
|
|
130
|
+
}>) => {
|
|
131
|
+
payload: Partial<import("../../interfaces").WithStatus & {
|
|
132
|
+
policy?: import("@frontegg/rest-api").IAuthStrategiesConfig | undefined;
|
|
133
|
+
}>;
|
|
134
|
+
};
|
|
135
|
+
reducer: (state: import("..").AuthState, { payload }: {
|
|
136
|
+
payload: Partial<import("../../interfaces").WithStatus & {
|
|
137
|
+
policy?: import("@frontegg/rest-api").IAuthStrategiesConfig | undefined;
|
|
138
|
+
}>;
|
|
139
|
+
type: string;
|
|
140
|
+
}) => {
|
|
141
|
+
onRedirectTo: (path: string, opts?: import("@frontegg/rest-api").RedirectOptions | undefined) => void;
|
|
142
|
+
error?: any;
|
|
143
|
+
isAuthenticated: boolean;
|
|
144
|
+
isLoading: boolean;
|
|
145
|
+
keepSessionAlive?: boolean | undefined;
|
|
146
|
+
user?: import("..").User | null | undefined;
|
|
147
|
+
isSSOAuth: boolean;
|
|
148
|
+
ssoACS?: string | undefined;
|
|
149
|
+
loginState: import("..").LoginState;
|
|
150
|
+
activateState: import("..").ActivateAccountState;
|
|
151
|
+
acceptInvitationState: import("..").AcceptInvitationState;
|
|
152
|
+
forgotPasswordState: import("..").ForgotPasswordState;
|
|
153
|
+
resetPhoneNumberState: import("..").ResetPhoneNumberState;
|
|
154
|
+
ssoState: import("..").SSOState;
|
|
155
|
+
profileState: import("..").ProfileState;
|
|
156
|
+
mfaState: import("..").MFAState;
|
|
157
|
+
teamState: import("..").TeamState;
|
|
158
|
+
socialLoginState: import("..").SocialLoginState;
|
|
159
|
+
signUpState: import("..").SignUpState;
|
|
160
|
+
apiTokensState: import("..").ApiTokensState;
|
|
161
|
+
securityPolicyState: SecurityPolicyState;
|
|
162
|
+
accountSettingsState: import("..").AccountSettingsState;
|
|
163
|
+
tenantsState: import("..").TenantsState;
|
|
164
|
+
rolesState: import("..").RolesState;
|
|
165
|
+
routes: import("..").AuthPageRoutes;
|
|
166
|
+
header?: any;
|
|
167
|
+
loaderComponent?: any;
|
|
168
|
+
};
|
|
169
|
+
};
|
|
127
170
|
setSecurityPolicyMfaState: {
|
|
128
171
|
prepare: (payload: Partial<import("../../interfaces").WithStatus & {
|
|
129
172
|
policy?: import("@frontegg/rest-api").ISecurityPolicyMfa | undefined;
|
|
@@ -424,6 +467,7 @@ declare const actions: {
|
|
|
424
467
|
loadSecurityPolicyPasswordHistory: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>;
|
|
425
468
|
saveSecurityPolicyPasswordHistory: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[import("../../interfaces").WithCallback<import("@frontegg/rest-api").ISaveSecurityPolicyPasswordHistory, import("@frontegg/rest-api").ISecurityPolicyPasswordHistory>], import("../../interfaces").WithCallback<import("@frontegg/rest-api").ISaveSecurityPolicyPasswordHistory, import("@frontegg/rest-api").ISecurityPolicyPasswordHistory>, string, never, never>;
|
|
426
469
|
loadVendorPasswordConfig: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>;
|
|
470
|
+
loadPublicAuthStrategiesPolicy: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>;
|
|
427
471
|
};
|
|
428
472
|
/**
|
|
429
473
|
* To be used for actions types after dispatch, and should contains
|
|
@@ -440,6 +484,7 @@ declare type DispatchedActions = {
|
|
|
440
484
|
setSecurityPolicyPasswordHistoryState: (state: Partial<PasswordHistoryPolicyState>) => void;
|
|
441
485
|
resetSecurityPolicyState: () => void;
|
|
442
486
|
setSecurityPolicyPasswordState: (state: Partial<PasswordPolicyState>) => void;
|
|
487
|
+
setSecurityPolicyAuthStrategyPublicState: (state: Partial<PublicAuthStrategyPolicyState>) => void;
|
|
443
488
|
loadSecurityPolicy: () => void;
|
|
444
489
|
loadPublicSecurityPolicy: () => void;
|
|
445
490
|
loadVendorPasswordConfig: () => void;
|
|
@@ -451,6 +496,7 @@ declare type DispatchedActions = {
|
|
|
451
496
|
loadSecurityPolicyCaptcha: () => void;
|
|
452
497
|
loadSecurityPolicyPasswordHistory: () => void;
|
|
453
498
|
saveSecurityPolicyPasswordHistory: (payload: SaveSecurityPolicyPasswordHistoryPayload) => void;
|
|
499
|
+
loadPublicAuthStrategiesPolicy: () => void;
|
|
454
500
|
};
|
|
455
501
|
export declare type SecurityPolicyActions = DispatchedActions;
|
|
456
502
|
export { securityPolicyState, reducers as securityPolicyReducers, actions as securityPolicyActions };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { WithCallback, WithStatus } from '../../interfaces';
|
|
2
|
-
import { ISaveSecurityPolicyLockout, ISaveSecurityPolicyMfa, ISaveSecurityPolicyPasswordHistory, ISecurityPolicy, ISecurityPolicyCaptcha, ISecurityPolicyLockout, ISecurityPolicyMfa, ISecurityPolicyPasswordHistory, ISecurityPolicyPasswordConfig, IVendorConfig } from '@frontegg/rest-api';
|
|
2
|
+
import { ISaveSecurityPolicyLockout, ISaveSecurityPolicyMfa, ISaveSecurityPolicyPasswordHistory, ISecurityPolicy, ISecurityPolicyCaptcha, ISecurityPolicyLockout, ISecurityPolicyMfa, ISecurityPolicyPasswordHistory, ISecurityPolicyPasswordConfig, IVendorConfig, IAuthStrategiesConfig } from '@frontegg/rest-api';
|
|
3
3
|
declare type PolicyState<T> = WithStatus & {
|
|
4
4
|
policy?: T;
|
|
5
5
|
};
|
|
@@ -10,6 +10,7 @@ export declare type LockoutPolicyState = PolicyState<ISecurityPolicyLockout>;
|
|
|
10
10
|
export declare type CaptchaPolicyState = PolicyState<ISecurityPolicyCaptcha>;
|
|
11
11
|
export declare type PasswordHistoryPolicyState = PolicyState<ISecurityPolicyPasswordHistory>;
|
|
12
12
|
export declare type PasswordPolicyState = PolicyState<ISecurityPolicyPasswordConfig>;
|
|
13
|
+
export declare type PublicAuthStrategyPolicyState = PolicyState<IAuthStrategiesConfig>;
|
|
13
14
|
export interface SecurityPolicyState {
|
|
14
15
|
globalPolicy: GlobalPolicyState;
|
|
15
16
|
publicPolicy: PublicPolicyState;
|
|
@@ -19,6 +20,7 @@ export interface SecurityPolicyState {
|
|
|
19
20
|
captchaPolicy: CaptchaPolicyState;
|
|
20
21
|
passwordHistoryPolicy: PasswordHistoryPolicyState;
|
|
21
22
|
passwordPolicy: PasswordPolicyState;
|
|
23
|
+
publicAuthStrategyPolicy: PublicAuthStrategyPolicyState;
|
|
22
24
|
}
|
|
23
25
|
export declare type SaveSecurityPolicyMfaPayload = WithCallback<ISaveSecurityPolicyMfa, ISecurityPolicyMfa>;
|
|
24
26
|
export declare type SaveSecurityPolicyLockoutPayload = WithCallback<ISaveSecurityPolicyLockout, ISecurityPolicyLockout>;
|
|
@@ -5,6 +5,12 @@ export declare function loadPublicSecurityPolicy(): Generator<import("redux-saga
|
|
|
5
5
|
}>;
|
|
6
6
|
type: string;
|
|
7
7
|
}> | import("redux-saga/effects").CallEffect<IVendorConfig>, void, IVendorConfig>;
|
|
8
|
+
export declare function loadPublicAuthStrategiesPolicy(): Generator<import("redux-saga/effects").PutEffect<{
|
|
9
|
+
payload: Partial<import("../../interfaces").WithStatus & {
|
|
10
|
+
policy?: import("@frontegg/rest-api").IAuthStrategiesConfig | undefined;
|
|
11
|
+
}>;
|
|
12
|
+
type: string;
|
|
13
|
+
}> | import("redux-saga/effects").CallEffect<import("@frontegg/rest-api").IAuthStrategiesConfig>, void, unknown>;
|
|
8
14
|
export declare function securityPolicySagas(): Generator<import("redux-saga/effects").ForkEffect<never>, void, unknown>;
|
|
9
15
|
/*********************************
|
|
10
16
|
* Preview Sagas
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IAddUser, IDeleteUser, ILoadUsers, IResendActivationLink, IResendInvitationLink, ITeamUser, IUpdateUser, ICreateOrUpdateInviteUserLink } from '@frontegg/rest-api';
|
|
1
|
+
import { IAddUser, IDeleteUser, ILoadUsers, IResendActivationLink, IResendInvitationLink, ITeamUser, IUpdateUser, ICreateOrUpdateInviteUserLink, ILoadAllUsers, ISubTenantUser, AddUserToSubTenantsRequest, RemoveUserFromSubTenantsRequest, UpdateUserRolesForSubTenantsRequestDto } from '@frontegg/rest-api';
|
|
2
2
|
import { ISetAddUserDialog, ISetDeleteUserDialog, TeamState, TeamStateIndicator, LoadRolesAndPermissionsPayload } from './interfaces';
|
|
3
3
|
import { WithCallback, WithSilentLoad } from '../../interfaces';
|
|
4
4
|
declare const teamState: TeamState;
|
|
@@ -90,6 +90,7 @@ declare const reducers: {
|
|
|
90
90
|
};
|
|
91
91
|
declare const actions: {
|
|
92
92
|
loadUsers: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[WithCallback<WithSilentLoad<ILoadUsers>, ITeamUser[]>], WithCallback<WithSilentLoad<ILoadUsers>, ITeamUser[]>, string, never, never>;
|
|
93
|
+
loadAllSubTenantsUsers: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[WithCallback<WithSilentLoad<Partial<ILoadAllUsers>>, ISubTenantUser[]>], WithCallback<WithSilentLoad<Partial<ILoadAllUsers>>, ISubTenantUser[]>, string, never, never>;
|
|
93
94
|
loadRoles: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[({
|
|
94
95
|
callback?: ((data: {
|
|
95
96
|
roles: import("@frontegg/rest-api").ITeamUserRole[];
|
|
@@ -102,8 +103,16 @@ declare const actions: {
|
|
|
102
103
|
} | null, error?: string | undefined) => void) | undefined;
|
|
103
104
|
} | undefined, string, never, never>;
|
|
104
105
|
addUser: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[WithCallback<IAddUser, ITeamUser>], WithCallback<IAddUser, ITeamUser>, string, never, never>;
|
|
106
|
+
addUserToSubTenants: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[WithCallback<AddUserToSubTenantsRequest, boolean>], WithCallback<AddUserToSubTenantsRequest, boolean>, string, never, never>;
|
|
105
107
|
updateUser: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[WithCallback<Partial<ITeamUser>, ITeamUser>], WithCallback<Partial<ITeamUser>, ITeamUser>, string, never, never>;
|
|
106
108
|
deleteUser: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[WithCallback<IDeleteUser, boolean>], WithCallback<IDeleteUser, boolean>, string, never, never>;
|
|
109
|
+
setUserRolesForSubTenants: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[WithCallback<UpdateUserRolesForSubTenantsRequestDto & {
|
|
110
|
+
userId: string;
|
|
111
|
+
}, boolean>], WithCallback<UpdateUserRolesForSubTenantsRequestDto & {
|
|
112
|
+
userId: string;
|
|
113
|
+
}, boolean>, string, never, never>;
|
|
114
|
+
deleteUserFromSubTenants: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[WithCallback<RemoveUserFromSubTenantsRequest, boolean>], WithCallback<RemoveUserFromSubTenantsRequest, boolean>, string, never, never>;
|
|
115
|
+
lockUser: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[WithCallback<IDeleteUser, boolean>], WithCallback<IDeleteUser, boolean>, string, never, never>;
|
|
107
116
|
resendActivationLink: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[WithCallback<IResendActivationLink, boolean>], WithCallback<IResendActivationLink, boolean>, string, never, never>;
|
|
108
117
|
resendInvitationLink: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[WithCallback<IResendInvitationLink, boolean>], WithCallback<IResendInvitationLink, boolean>, string, never, never>;
|
|
109
118
|
getInvitationLink: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>;
|
|
@@ -118,6 +127,8 @@ declare const actions: {
|
|
|
118
127
|
closeAddUserDialog: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[any?], any, string, never, never>;
|
|
119
128
|
openDeleteUserDialog: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[(Pick<import("./interfaces").DeleteUserDialogState, "email" | "onClose" | "userId"> | undefined)?], Pick<import("./interfaces").DeleteUserDialogState, "email" | "onClose" | "userId"> | undefined, string, never, never>;
|
|
120
129
|
closeDeleteUserDialog: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[any?], any, string, never, never>;
|
|
130
|
+
openLockUserDialog: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[(Pick<import("./interfaces").DeleteUserDialogState, "email" | "onClose" | "userId"> | undefined)?], Pick<import("./interfaces").DeleteUserDialogState, "email" | "onClose" | "userId"> | undefined, string, never, never>;
|
|
131
|
+
closeLockUserDialog: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[any?], any, string, never, never>;
|
|
121
132
|
};
|
|
122
133
|
/**
|
|
123
134
|
* To be used for actions types after dispatch, and should contains
|
|
@@ -129,10 +140,17 @@ declare type DispatchedActions = {
|
|
|
129
140
|
setTeamState: (payload: Partial<TeamState>) => void;
|
|
130
141
|
resetTeamState: () => void;
|
|
131
142
|
loadUsers: (payload: WithCallback<WithSilentLoad<ILoadUsers>, ITeamUser[]>) => void;
|
|
143
|
+
loadAllSubTenantsUsers: (payload: WithCallback<WithSilentLoad<Partial<ILoadAllUsers>>, ISubTenantUser[]>) => void;
|
|
132
144
|
loadRoles: (payload?: LoadRolesAndPermissionsPayload) => void;
|
|
133
145
|
addUser: (payload: WithCallback<IAddUser, ITeamUser>) => void;
|
|
146
|
+
addUserToSubTenants: (payload: WithCallback<AddUserToSubTenantsRequest>) => void;
|
|
147
|
+
setUserRolesForSubTenants: (payload: WithCallback<UpdateUserRolesForSubTenantsRequestDto & {
|
|
148
|
+
userId: string;
|
|
149
|
+
}>) => void;
|
|
134
150
|
updateUser: (payload: WithCallback<IUpdateUser, ITeamUser>) => void;
|
|
135
151
|
deleteUser: (payload: WithCallback<IDeleteUser>) => void;
|
|
152
|
+
deleteUserFromSubTenants: (payload: WithCallback<RemoveUserFromSubTenantsRequest>) => void;
|
|
153
|
+
lockUser: (payload: WithCallback<IDeleteUser>) => void;
|
|
136
154
|
resendActivationLink: (payload: WithCallback<IResendActivationLink>) => void;
|
|
137
155
|
resendInvitationLink: (payload: WithCallback<IResendInvitationLink>) => void;
|
|
138
156
|
getInvitationLink: () => void;
|
|
@@ -143,6 +161,8 @@ declare type DispatchedActions = {
|
|
|
143
161
|
closeAddUserDialog: (payload?: any) => void;
|
|
144
162
|
openDeleteUserDialog: (payload?: ISetDeleteUserDialog) => void;
|
|
145
163
|
closeDeleteUserDialog: (payload?: any) => void;
|
|
164
|
+
openLockUserDialog: (payload?: ISetDeleteUserDialog) => void;
|
|
165
|
+
closeLockUserDialog: (payload?: any) => void;
|
|
146
166
|
};
|
|
147
167
|
export declare type TeamActions = DispatchedActions;
|
|
148
168
|
export { teamState, reducers as teamReducers, actions as teamActions };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ITeamUserRole, ITeamUser, QuerySort, QueryFilter, ITeamUserPermission } from '@frontegg/rest-api';
|
|
1
|
+
import { ITeamUserRole, ITeamUser, QuerySort, QueryFilter, ITeamUserPermission, ISubTenantUser } from '@frontegg/rest-api';
|
|
2
2
|
import { LoaderIndicatorState, WithCallback } from '../../interfaces';
|
|
3
3
|
export declare enum TeamStateKeys {
|
|
4
4
|
USERS = "USERS",
|
|
@@ -42,6 +42,14 @@ export interface TeamState {
|
|
|
42
42
|
loaders: LoaderIndicatorState<TeamStateKeys>;
|
|
43
43
|
errors: LoaderIndicatorState<TeamStateKeys>;
|
|
44
44
|
users: ITeamUser[];
|
|
45
|
+
allUsers: ISubTenantUser[];
|
|
46
|
+
allUsersQueryParams: {
|
|
47
|
+
_offset: number;
|
|
48
|
+
_limit: number;
|
|
49
|
+
_filter: string | null;
|
|
50
|
+
_sortBy: string;
|
|
51
|
+
_order: 'ASC' | 'DESC';
|
|
52
|
+
};
|
|
45
53
|
pageOffset: number;
|
|
46
54
|
pageSize: number;
|
|
47
55
|
totalPages: number;
|
|
@@ -53,6 +61,7 @@ export interface TeamState {
|
|
|
53
61
|
addedThisWeek?: number;
|
|
54
62
|
addUserDialogState: AddUserDialogState;
|
|
55
63
|
deleteUserDialogState: DeleteUserDialogState;
|
|
64
|
+
lockUserDialogState: DeleteUserDialogState;
|
|
56
65
|
inviteTokenState?: InviteTokenState;
|
|
57
66
|
}
|
|
58
67
|
export interface InviteTokenState {
|
|
@@ -82,6 +82,11 @@ declare const actions: {
|
|
|
82
82
|
} | undefined)?], {
|
|
83
83
|
callback?: ((data: boolean | null, error?: string | undefined) => void) | undefined;
|
|
84
84
|
} | undefined, string, never, never>;
|
|
85
|
+
loadSubTenantsTree: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[({
|
|
86
|
+
callback?: ((data: boolean | null, error?: string | undefined) => void) | undefined;
|
|
87
|
+
} | undefined)?], {
|
|
88
|
+
callback?: ((data: boolean | null, error?: string | undefined) => void) | undefined;
|
|
89
|
+
} | undefined, string, never, never>;
|
|
85
90
|
};
|
|
86
91
|
/**
|
|
87
92
|
* To be used for actions types after dispatch, and should contains
|
|
@@ -93,6 +98,7 @@ declare type DispatchedActions = {
|
|
|
93
98
|
switchTenant: (payload: WithCallback<ISwitchTenant>) => void;
|
|
94
99
|
loadTenants: (payload?: WithCallback<{}, ITenantsResponse[]>) => void;
|
|
95
100
|
loadSubTenants: (payload?: WithCallback<{}>) => void;
|
|
101
|
+
loadSubTenantsTree: (payload?: WithCallback<{}>) => void;
|
|
96
102
|
};
|
|
97
103
|
export declare type TenantsActions = DispatchedActions;
|
|
98
104
|
export { tenantsState, reducers as tenantsReducers, actions as tenantsActions };
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { ISubTenant, ITenantsResponse } from '@frontegg/rest-api';
|
|
1
|
+
import { ISubTenant, ISubTenantTree, ITenantsResponse } from '@frontegg/rest-api';
|
|
2
2
|
export { ISubTenant };
|
|
3
3
|
export interface TenantsState {
|
|
4
4
|
tenants: ITenantsResponse[];
|
|
5
5
|
loading: boolean;
|
|
6
6
|
error?: any;
|
|
7
7
|
subTenants: ISubTenant[];
|
|
8
|
+
tenantTree: ISubTenantTree | null;
|
|
8
9
|
}
|
package/auth/dummy.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IRole, IRolePermission, ISamlConfiguration, ISamlMetadata, ISecurityPolicy, ISecurityPolicyLockout, ISecurityPolicyMfa, ISecurityPolicyPasswordHistory, ITeamUser, ITeamUserPermission, ITeamUserRole, ITenantsResponse, IUserProfile, IVendorConfig } from '@frontegg/rest-api';
|
|
1
|
+
import { IRole, IRolePermission, ISamlConfiguration, ISamlMetadata, ISecurityPolicy, ISecurityPolicyLockout, ISecurityPolicyMfa, ISecurityPolicyPasswordHistory, ITeamUser, ITeamUserPermission, ITeamUserRole, ITenantsResponse, IUserProfile, IVendorConfig, ISubTenantUser } from '@frontegg/rest-api';
|
|
2
2
|
import { IApiTokensData, ITenantApiTokensData } from './ApiTokensState/interfaces';
|
|
3
3
|
import { User } from './interfaces';
|
|
4
4
|
import { ProfileState } from './ProfileState/interfaces';
|
|
@@ -22,5 +22,7 @@ export declare const ssoStateDemo: SSOState;
|
|
|
22
22
|
export declare const permissionsDemo: ITeamUserPermission[];
|
|
23
23
|
export declare const userTeamDemo2: ITeamUser;
|
|
24
24
|
export declare const userTeamDemo: ITeamUser;
|
|
25
|
+
export declare const userSubTenantDemo: ISubTenantUser;
|
|
25
26
|
export declare const usersDemo: ITeamUser[];
|
|
27
|
+
export declare const allUsersDemo: ISubTenantUser[];
|
|
26
28
|
export declare const tenantsDemo: ITenantsResponse[];
|
package/auth/index.d.ts
CHANGED
|
@@ -65,6 +65,11 @@ declare const _default: {
|
|
|
65
65
|
} | undefined)?], {
|
|
66
66
|
callback?: ((data: boolean | null, error?: string | undefined) => void) | undefined;
|
|
67
67
|
} | undefined, string, never, never>;
|
|
68
|
+
loadSubTenantsTree: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[({
|
|
69
|
+
callback?: ((data: boolean | null, error?: string | undefined) => void) | undefined;
|
|
70
|
+
} | undefined)?], {
|
|
71
|
+
callback?: ((data: boolean | null, error?: string | undefined) => void) | undefined;
|
|
72
|
+
} | undefined, string, never, never>;
|
|
68
73
|
loadAccountSettings: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[(import("../interfaces").WithCallback<{
|
|
69
74
|
silentLoading?: boolean | undefined;
|
|
70
75
|
}, boolean> | undefined)?], import("../interfaces").WithCallback<{
|
|
@@ -82,6 +87,7 @@ declare const _default: {
|
|
|
82
87
|
loadSecurityPolicyPasswordHistory: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>;
|
|
83
88
|
saveSecurityPolicyPasswordHistory: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[import("../interfaces").WithCallback<import("@frontegg/rest-api").ISaveSecurityPolicyPasswordHistory, import("@frontegg/rest-api").ISecurityPolicyPasswordHistory>], import("../interfaces").WithCallback<import("@frontegg/rest-api").ISaveSecurityPolicyPasswordHistory, import("@frontegg/rest-api").ISecurityPolicyPasswordHistory>, string, never, never>;
|
|
84
89
|
loadVendorPasswordConfig: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>;
|
|
90
|
+
loadPublicAuthStrategiesPolicy: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>;
|
|
85
91
|
loadApiTokens: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[(import("../interfaces").WithSilentLoad<{
|
|
86
92
|
callback?: ((data: boolean | null, error?: string | undefined) => void) | undefined;
|
|
87
93
|
}> | undefined)?], import("../interfaces").WithSilentLoad<{
|
|
@@ -93,6 +99,7 @@ declare const _default: {
|
|
|
93
99
|
deleteUserApiToken: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[string], string, string, never, never>;
|
|
94
100
|
deleteTenantApiToken: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[string], string, string, never, never>;
|
|
95
101
|
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>;
|
|
102
|
+
loadAllSubTenantsUsers: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[import("../interfaces").WithCallback<import("../interfaces").WithSilentLoad<Partial<import("@frontegg/rest-api").ILoadAllUsers>>, import("@frontegg/rest-api").ISubTenantUser[]>], import("../interfaces").WithCallback<import("../interfaces").WithSilentLoad<Partial<import("@frontegg/rest-api").ILoadAllUsers>>, import("@frontegg/rest-api").ISubTenantUser[]>, string, never, never>;
|
|
96
103
|
loadRoles: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[({
|
|
97
104
|
callback?: ((data: {
|
|
98
105
|
roles: import("@frontegg/rest-api").ITeamUserRole[];
|
|
@@ -105,8 +112,16 @@ declare const _default: {
|
|
|
105
112
|
} | null, error?: string | undefined) => void) | undefined;
|
|
106
113
|
} | undefined, string, never, never>;
|
|
107
114
|
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>;
|
|
115
|
+
addUserToSubTenants: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[import("../interfaces").WithCallback<import("@frontegg/rest-api").AddUserToSubTenantsRequest, boolean>], import("../interfaces").WithCallback<import("@frontegg/rest-api").AddUserToSubTenantsRequest, boolean>, string, never, never>;
|
|
108
116
|
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>;
|
|
109
117
|
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>;
|
|
118
|
+
setUserRolesForSubTenants: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[import("../interfaces").WithCallback<import("@frontegg/rest-api").UpdateUserRolesForSubTenantsRequestDto & {
|
|
119
|
+
userId: string;
|
|
120
|
+
}, boolean>], import("../interfaces").WithCallback<import("@frontegg/rest-api").UpdateUserRolesForSubTenantsRequestDto & {
|
|
121
|
+
userId: string;
|
|
122
|
+
}, boolean>, string, never, never>;
|
|
123
|
+
deleteUserFromSubTenants: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[import("../interfaces").WithCallback<import("@frontegg/rest-api").RemoveUserFromSubTenantsRequest, boolean>], import("../interfaces").WithCallback<import("@frontegg/rest-api").RemoveUserFromSubTenantsRequest, boolean>, string, never, never>;
|
|
124
|
+
lockUser: 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>;
|
|
110
125
|
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>;
|
|
111
126
|
resendInvitationLink: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[import("../interfaces").WithCallback<import("@frontegg/rest-api").IResendInvitationLink, boolean>], import("../interfaces").WithCallback<import("@frontegg/rest-api").IResendInvitationLink, boolean>, string, never, never>;
|
|
112
127
|
getInvitationLink: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>;
|
|
@@ -121,6 +136,8 @@ declare const _default: {
|
|
|
121
136
|
closeAddUserDialog: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[any?], any, string, never, never>;
|
|
122
137
|
openDeleteUserDialog: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[(Pick<import("./TeamState/interfaces").DeleteUserDialogState, "email" | "onClose" | "userId"> | undefined)?], Pick<import("./TeamState/interfaces").DeleteUserDialogState, "email" | "onClose" | "userId"> | undefined, string, never, never>;
|
|
123
138
|
closeDeleteUserDialog: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[any?], any, string, never, never>;
|
|
139
|
+
openLockUserDialog: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[(Pick<import("./TeamState/interfaces").DeleteUserDialogState, "email" | "onClose" | "userId"> | undefined)?], Pick<import("./TeamState/interfaces").DeleteUserDialogState, "email" | "onClose" | "userId"> | undefined, string, never, never>;
|
|
140
|
+
closeLockUserDialog: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[any?], any, string, never, never>;
|
|
124
141
|
enrollMfa: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>;
|
|
125
142
|
verifyMfa: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[import("../interfaces").WithCallback<import("@frontegg/rest-api").IVerifyMfa, string | undefined>], import("../interfaces").WithCallback<import("@frontegg/rest-api").IVerifyMfa, string | undefined>, string, never, never>;
|
|
126
143
|
verifyMfaAfterForce: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[import("../interfaces").WithCallback<import("@frontegg/rest-api").ILoginWithMfa, string | undefined>], import("../interfaces").WithCallback<import("@frontegg/rest-api").ILoginWithMfa, string | undefined>, string, never, never>;
|
|
@@ -275,6 +292,14 @@ declare const _default: {
|
|
|
275
292
|
passwordlessPreLogin: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[import("../interfaces").WithCallback<import("@frontegg/rest-api").IPasswordlessPreLogin, void>], import("../interfaces").WithCallback<import("@frontegg/rest-api").IPasswordlessPreLogin, void>, string, never, never>;
|
|
276
293
|
passwordlessPostLogin: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[import("../interfaces").WithCallback<import("./LoginState/interfaces").IPasswordlessPostLoginPayload, boolean>], import("../interfaces").WithCallback<import("./LoginState/interfaces").IPasswordlessPostLoginPayload, boolean>, string, never, never>;
|
|
277
294
|
verifyInviteToken: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[import("@frontegg/rest-api").IVerifyInviteToken], import("@frontegg/rest-api").IVerifyInviteToken, string, never, never>;
|
|
295
|
+
webAuthnPrelogin: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[import("../interfaces").WithCallback<import("@frontegg/rest-api").IWebAuthnPreLogin, import("@frontegg/rest-api").IWebAuthnPreLoginResponse | null>], import("../interfaces").WithCallback<import("@frontegg/rest-api").IWebAuthnPreLogin, import("@frontegg/rest-api").IWebAuthnPreLoginResponse | null>, string, never, never>;
|
|
296
|
+
webAuthnPostLogin: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[import("./LoginState/interfaces").IWebAuthnPostLoginPayload], import("./LoginState/interfaces").IWebAuthnPostLoginPayload, string, never, never>;
|
|
297
|
+
webAuthnCreateNewDeviceSession: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[{
|
|
298
|
+
callback?: ((data: import("@frontegg/rest-api").ICreateNewDeviceSessionResponse | null, error?: string | undefined) => void) | undefined;
|
|
299
|
+
}], {
|
|
300
|
+
callback?: ((data: import("@frontegg/rest-api").ICreateNewDeviceSessionResponse | null, error?: string | undefined) => void) | undefined;
|
|
301
|
+
}, string, never, never>;
|
|
302
|
+
webAuthnVerifyNewDeviceSession: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[import("./LoginState/interfaces").IVerifyNewWebAuthnDevicePayload], import("./LoginState/interfaces").IVerifyNewWebAuthnDevicePayload, string, never, never>;
|
|
278
303
|
setRolesState: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[Partial<import("./RolesState/interfaces").RolesState>], Partial<import("./RolesState/interfaces").RolesState>, string, never, never>;
|
|
279
304
|
resetRolesState: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>;
|
|
280
305
|
setTenantsState: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[Partial<import("./TenantsState/interfaces").TenantsState>], Partial<import("./TenantsState/interfaces").TenantsState>, string, never, never>;
|
|
@@ -292,6 +317,11 @@ declare const _default: {
|
|
|
292
317
|
}>], Partial<import("../interfaces").WithStatus & {
|
|
293
318
|
policy?: import("@frontegg/rest-api").IVendorConfig | undefined;
|
|
294
319
|
}>, string, never, never>;
|
|
320
|
+
setSecurityPolicyAuthStrategyPublicState: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[Partial<import("../interfaces").WithStatus & {
|
|
321
|
+
policy?: import("@frontegg/rest-api").IAuthStrategiesConfig | undefined;
|
|
322
|
+
}>], Partial<import("../interfaces").WithStatus & {
|
|
323
|
+
policy?: import("@frontegg/rest-api").IAuthStrategiesConfig | undefined;
|
|
324
|
+
}>, string, never, never>;
|
|
295
325
|
setSecurityPolicyMfaState: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[Partial<import("../interfaces").WithStatus & {
|
|
296
326
|
policy?: import("@frontegg/rest-api").ISecurityPolicyMfa | undefined;
|
|
297
327
|
}>], Partial<import("../interfaces").WithStatus & {
|