@frontegg/redux-store 6.34.0 → 6.35.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/auth/AcceptInvitationState/index.d.ts +2 -2
- package/auth/AccountSettingsState/index.d.ts +2 -2
- package/auth/ActivateState/index.d.ts +3 -3
- package/auth/ApiTokensState/index.d.ts +2 -2
- package/auth/ForgotPasswordState/index.d.ts +2 -2
- package/auth/LoginState/index.d.ts +2 -2
- package/auth/MfaState/index.d.ts +2 -2
- package/auth/ProfileState/index.d.ts +2 -2
- package/auth/ResetPhoneNumberState/index.d.ts +2 -2
- package/auth/RestrictionsState/index.d.ts +60 -2
- package/auth/RestrictionsState/index.js +15 -1
- package/auth/RestrictionsState/interfaces.d.ts +11 -2
- package/auth/RestrictionsState/saga.js +292 -14
- package/auth/RolesState/index.d.ts +2 -2
- package/auth/SSOState/index.d.ts +2 -2
- package/auth/SecurityPolicyState/index.d.ts +11 -11
- package/auth/SessionsPolicyState/index.d.ts +2 -2
- package/auth/SessionsState/index.d.ts +2 -2
- package/auth/SignUp/index.d.ts +2 -2
- package/auth/SocialLogins/index.d.ts +2 -2
- package/auth/TeamState/index.d.ts +2 -2
- package/auth/TenantsState/index.d.ts +2 -2
- package/auth/index.d.ts +9 -0
- package/auth/interfaces.d.ts +1 -1
- package/auth/reducer.d.ts +9 -0
- package/auth/utils.d.ts +4 -4
- package/index.js +1 -1
- package/node/auth/RestrictionsState/index.js +15 -1
- package/node/auth/RestrictionsState/saga.js +289 -14
- package/node/index.js +1 -1
- package/package.json +2 -2
- package/toolkit/index.d.ts +1 -1
package/auth/SignUp/index.d.ts
CHANGED
|
@@ -31,6 +31,7 @@ declare const reducers: {
|
|
|
31
31
|
signUpState: SignUpState;
|
|
32
32
|
apiTokensState: import("..").ApiTokensState;
|
|
33
33
|
securityPolicyState: import("..").SecurityPolicyState;
|
|
34
|
+
restrictionsState: import("..").RestrictionsState;
|
|
34
35
|
accountSettingsState: import("..").AccountSettingsState;
|
|
35
36
|
tenantsState: import("..").TenantsState;
|
|
36
37
|
rolesState: import("..").RolesState;
|
|
@@ -38,7 +39,6 @@ declare const reducers: {
|
|
|
38
39
|
hostedLoginBox?: boolean | undefined;
|
|
39
40
|
disableSilentRefresh?: boolean | undefined;
|
|
40
41
|
sessionsPolicyState: import("..").SessionsPolicyState;
|
|
41
|
-
restrictionsState: import("..").RestrictionsState;
|
|
42
42
|
routes: import("..").AuthPageRoutes;
|
|
43
43
|
header?: any;
|
|
44
44
|
loaderComponent?: any;
|
|
@@ -67,6 +67,7 @@ declare const reducers: {
|
|
|
67
67
|
signUpState: SignUpState;
|
|
68
68
|
apiTokensState: import("..").ApiTokensState;
|
|
69
69
|
securityPolicyState: import("..").SecurityPolicyState;
|
|
70
|
+
restrictionsState: import("..").RestrictionsState;
|
|
70
71
|
accountSettingsState: import("..").AccountSettingsState;
|
|
71
72
|
tenantsState: import("..").TenantsState;
|
|
72
73
|
rolesState: import("..").RolesState;
|
|
@@ -74,7 +75,6 @@ declare const reducers: {
|
|
|
74
75
|
hostedLoginBox?: boolean | undefined;
|
|
75
76
|
disableSilentRefresh?: boolean | undefined;
|
|
76
77
|
sessionsPolicyState: import("..").SessionsPolicyState;
|
|
77
|
-
restrictionsState: import("..").RestrictionsState;
|
|
78
78
|
routes: import("..").AuthPageRoutes;
|
|
79
79
|
header?: any;
|
|
80
80
|
loaderComponent?: any;
|
|
@@ -32,6 +32,7 @@ declare const reducers: {
|
|
|
32
32
|
signUpState: import("..").SignUpState;
|
|
33
33
|
apiTokensState: import("..").ApiTokensState;
|
|
34
34
|
securityPolicyState: import("..").SecurityPolicyState;
|
|
35
|
+
restrictionsState: import("..").RestrictionsState;
|
|
35
36
|
accountSettingsState: import("..").AccountSettingsState;
|
|
36
37
|
tenantsState: import("..").TenantsState;
|
|
37
38
|
rolesState: import("..").RolesState;
|
|
@@ -39,7 +40,6 @@ declare const reducers: {
|
|
|
39
40
|
hostedLoginBox?: boolean | undefined;
|
|
40
41
|
disableSilentRefresh?: boolean | undefined;
|
|
41
42
|
sessionsPolicyState: import("..").SessionsPolicyState;
|
|
42
|
-
restrictionsState: import("..").RestrictionsState;
|
|
43
43
|
routes: import("..").AuthPageRoutes;
|
|
44
44
|
header?: any;
|
|
45
45
|
loaderComponent?: any;
|
|
@@ -68,6 +68,7 @@ declare const reducers: {
|
|
|
68
68
|
signUpState: import("..").SignUpState;
|
|
69
69
|
apiTokensState: import("..").ApiTokensState;
|
|
70
70
|
securityPolicyState: import("..").SecurityPolicyState;
|
|
71
|
+
restrictionsState: import("..").RestrictionsState;
|
|
71
72
|
accountSettingsState: import("..").AccountSettingsState;
|
|
72
73
|
tenantsState: import("..").TenantsState;
|
|
73
74
|
rolesState: import("..").RolesState;
|
|
@@ -75,7 +76,6 @@ declare const reducers: {
|
|
|
75
76
|
hostedLoginBox?: boolean | undefined;
|
|
76
77
|
disableSilentRefresh?: boolean | undefined;
|
|
77
78
|
sessionsPolicyState: import("..").SessionsPolicyState;
|
|
78
|
-
restrictionsState: import("..").RestrictionsState;
|
|
79
79
|
routes: import("..").AuthPageRoutes;
|
|
80
80
|
header?: any;
|
|
81
81
|
loaderComponent?: any;
|
|
@@ -51,6 +51,7 @@ declare const reducers: {
|
|
|
51
51
|
signUpState: import("..").SignUpState;
|
|
52
52
|
apiTokensState: import("..").ApiTokensState;
|
|
53
53
|
securityPolicyState: import("..").SecurityPolicyState;
|
|
54
|
+
restrictionsState: import("..").RestrictionsState;
|
|
54
55
|
accountSettingsState: import("..").AccountSettingsState;
|
|
55
56
|
tenantsState: import("..").TenantsState;
|
|
56
57
|
rolesState: import("..").RolesState;
|
|
@@ -58,7 +59,6 @@ declare const reducers: {
|
|
|
58
59
|
hostedLoginBox?: boolean | undefined;
|
|
59
60
|
disableSilentRefresh?: boolean | undefined;
|
|
60
61
|
sessionsPolicyState: import("..").SessionsPolicyState;
|
|
61
|
-
restrictionsState: import("..").RestrictionsState;
|
|
62
62
|
routes: import("..").AuthPageRoutes;
|
|
63
63
|
header?: any;
|
|
64
64
|
loaderComponent?: any;
|
|
@@ -87,6 +87,7 @@ declare const reducers: {
|
|
|
87
87
|
signUpState: import("..").SignUpState;
|
|
88
88
|
apiTokensState: import("..").ApiTokensState;
|
|
89
89
|
securityPolicyState: import("..").SecurityPolicyState;
|
|
90
|
+
restrictionsState: import("..").RestrictionsState;
|
|
90
91
|
accountSettingsState: import("..").AccountSettingsState;
|
|
91
92
|
tenantsState: import("..").TenantsState;
|
|
92
93
|
rolesState: import("..").RolesState;
|
|
@@ -94,7 +95,6 @@ declare const reducers: {
|
|
|
94
95
|
hostedLoginBox?: boolean | undefined;
|
|
95
96
|
disableSilentRefresh?: boolean | undefined;
|
|
96
97
|
sessionsPolicyState: import("..").SessionsPolicyState;
|
|
97
|
-
restrictionsState: import("..").RestrictionsState;
|
|
98
98
|
routes: import("..").AuthPageRoutes;
|
|
99
99
|
header?: any;
|
|
100
100
|
loaderComponent?: any;
|
|
@@ -33,6 +33,7 @@ declare const reducers: {
|
|
|
33
33
|
signUpState: import("..").SignUpState;
|
|
34
34
|
apiTokensState: import("..").ApiTokensState;
|
|
35
35
|
securityPolicyState: import("..").SecurityPolicyState;
|
|
36
|
+
restrictionsState: import("..").RestrictionsState;
|
|
36
37
|
accountSettingsState: import("..").AccountSettingsState;
|
|
37
38
|
tenantsState: TenantsState;
|
|
38
39
|
rolesState: import("..").RolesState;
|
|
@@ -40,7 +41,6 @@ declare const reducers: {
|
|
|
40
41
|
hostedLoginBox?: boolean | undefined;
|
|
41
42
|
disableSilentRefresh?: boolean | undefined;
|
|
42
43
|
sessionsPolicyState: import("..").SessionsPolicyState;
|
|
43
|
-
restrictionsState: import("..").RestrictionsState;
|
|
44
44
|
routes: import("..").AuthPageRoutes;
|
|
45
45
|
header?: any;
|
|
46
46
|
loaderComponent?: any;
|
|
@@ -69,6 +69,7 @@ declare const reducers: {
|
|
|
69
69
|
signUpState: import("..").SignUpState;
|
|
70
70
|
apiTokensState: import("..").ApiTokensState;
|
|
71
71
|
securityPolicyState: import("..").SecurityPolicyState;
|
|
72
|
+
restrictionsState: import("..").RestrictionsState;
|
|
72
73
|
accountSettingsState: import("..").AccountSettingsState;
|
|
73
74
|
tenantsState: TenantsState;
|
|
74
75
|
rolesState: import("..").RolesState;
|
|
@@ -76,7 +77,6 @@ declare const reducers: {
|
|
|
76
77
|
hostedLoginBox?: boolean | undefined;
|
|
77
78
|
disableSilentRefresh?: boolean | undefined;
|
|
78
79
|
sessionsPolicyState: import("..").SessionsPolicyState;
|
|
79
|
-
restrictionsState: import("..").RestrictionsState;
|
|
80
80
|
routes: import("..").AuthPageRoutes;
|
|
81
81
|
header?: any;
|
|
82
82
|
loaderComponent?: any;
|
package/auth/index.d.ts
CHANGED
|
@@ -64,6 +64,14 @@ declare const _default: {
|
|
|
64
64
|
}, boolean>], import("..").WithCallback<{
|
|
65
65
|
id: string;
|
|
66
66
|
}, boolean>, string, never, never>;
|
|
67
|
+
loadEmailDomainRestrictions: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>;
|
|
68
|
+
saveEmailDomainRestriction: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[import("..").WithCallback<import("@frontegg/rest-api").CreateDomainRestriction, boolean>], import("..").WithCallback<import("@frontegg/rest-api").CreateDomainRestriction, boolean>, string, never, never>;
|
|
69
|
+
saveEmailDomainRestrictionsConfig: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[import("..").WithCallback<import("@frontegg/rest-api").UpdateDomainRestrictionsConfig, boolean>], import("..").WithCallback<import("@frontegg/rest-api").UpdateDomainRestrictionsConfig, boolean>, string, never, never>;
|
|
70
|
+
deleteEmailDomainRestriction: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[{
|
|
71
|
+
id: string;
|
|
72
|
+
}], {
|
|
73
|
+
id: string;
|
|
74
|
+
}, string, never, never>;
|
|
67
75
|
loadSessionsPolicy: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>;
|
|
68
76
|
createOrUpdateSessionsPolicy: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[import("..").WithCallback<import("@frontegg/rest-api").ISessionConfigurations, boolean>], import("..").WithCallback<import("@frontegg/rest-api").ISessionConfigurations, boolean>, string, never, never>;
|
|
69
77
|
loadUserSessions: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>;
|
|
@@ -360,6 +368,7 @@ declare const _default: {
|
|
|
360
368
|
}, string, never, never>;
|
|
361
369
|
setRestrictionsState: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[Partial<import("./RestrictionsState/interfaces").RestrictionsState>], Partial<import("./RestrictionsState/interfaces").RestrictionsState>, string, never, never>;
|
|
362
370
|
setIpRestrictionsState: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[Partial<import("./RestrictionsState/interfaces").IPRestrictionsState>], Partial<import("./RestrictionsState/interfaces").IPRestrictionsState>, string, never, never>;
|
|
371
|
+
setEmailDomainRestrictionsState: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[Partial<import("./RestrictionsState/interfaces").EmailDomainRestrictionsState>], Partial<import("./RestrictionsState/interfaces").EmailDomainRestrictionsState>, string, never, never>;
|
|
363
372
|
setSessionsPolicyState: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[Partial<import("./SessionsPolicyState/interfaces").SessionsPolicyState>], Partial<import("./SessionsPolicyState/interfaces").SessionsPolicyState>, string, never, never>;
|
|
364
373
|
resetSessionsPolicyState: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>;
|
|
365
374
|
setSessionsState: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[Partial<import("./SessionsState/interfaces").SessionsState>], Partial<import("./SessionsState/interfaces").SessionsState>, string, never, never>;
|
package/auth/interfaces.d.ts
CHANGED
|
@@ -55,6 +55,7 @@ export interface AuthState extends Routes, PluginOptions {
|
|
|
55
55
|
signUpState: SignUpState;
|
|
56
56
|
apiTokensState: ApiTokensState;
|
|
57
57
|
securityPolicyState: SecurityPolicyState;
|
|
58
|
+
restrictionsState: RestrictionsState;
|
|
58
59
|
accountSettingsState: AccountSettingsState;
|
|
59
60
|
tenantsState: TenantsState;
|
|
60
61
|
rolesState: RolesState;
|
|
@@ -62,7 +63,6 @@ export interface AuthState extends Routes, PluginOptions {
|
|
|
62
63
|
hostedLoginBox?: boolean;
|
|
63
64
|
disableSilentRefresh?: boolean;
|
|
64
65
|
sessionsPolicyState: SessionsPolicyState;
|
|
65
|
-
restrictionsState: RestrictionsState;
|
|
66
66
|
}
|
|
67
67
|
export declare type AuthPageRoutes = {
|
|
68
68
|
/**
|
package/auth/reducer.d.ts
CHANGED
|
@@ -33,6 +33,14 @@ declare const actions: {
|
|
|
33
33
|
}, boolean>], import("..").WithCallback<{
|
|
34
34
|
id: string;
|
|
35
35
|
}, boolean>, string, never, never>;
|
|
36
|
+
loadEmailDomainRestrictions: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>;
|
|
37
|
+
saveEmailDomainRestriction: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[import("..").WithCallback<import("@frontegg/rest-api").CreateDomainRestriction, boolean>], import("..").WithCallback<import("@frontegg/rest-api").CreateDomainRestriction, boolean>, string, never, never>;
|
|
38
|
+
saveEmailDomainRestrictionsConfig: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[import("..").WithCallback<import("@frontegg/rest-api").UpdateDomainRestrictionsConfig, boolean>], import("..").WithCallback<import("@frontegg/rest-api").UpdateDomainRestrictionsConfig, boolean>, string, never, never>;
|
|
39
|
+
deleteEmailDomainRestriction: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[{
|
|
40
|
+
id: string;
|
|
41
|
+
}], {
|
|
42
|
+
id: string;
|
|
43
|
+
}, string, never, never>;
|
|
36
44
|
loadSessionsPolicy: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>;
|
|
37
45
|
createOrUpdateSessionsPolicy: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[import("..").WithCallback<import("@frontegg/rest-api").ISessionConfigurations, boolean>], import("..").WithCallback<import("@frontegg/rest-api").ISessionConfigurations, boolean>, string, never, never>;
|
|
38
46
|
loadUserSessions: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>;
|
|
@@ -329,6 +337,7 @@ declare const actions: {
|
|
|
329
337
|
}, string, never, never>;
|
|
330
338
|
setRestrictionsState: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[Partial<import(".").RestrictionsState>], Partial<import(".").RestrictionsState>, string, never, never>;
|
|
331
339
|
setIpRestrictionsState: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[Partial<import(".").IPRestrictionsState>], Partial<import(".").IPRestrictionsState>, string, never, never>;
|
|
340
|
+
setEmailDomainRestrictionsState: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[Partial<import(".").EmailDomainRestrictionsState>], Partial<import(".").EmailDomainRestrictionsState>, string, never, never>;
|
|
332
341
|
setSessionsPolicyState: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[Partial<import(".").SessionsPolicyState>], Partial<import(".").SessionsPolicyState>, string, never, never>;
|
|
333
342
|
resetSessionsPolicyState: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>;
|
|
334
343
|
setSessionsState: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[Partial<import(".").SessionsState>], Partial<import(".").SessionsState>, string, never, never>;
|
package/auth/utils.d.ts
CHANGED
|
@@ -23,6 +23,7 @@ export declare const resetStateByKey: <T>(key: keyof AuthState, initialState: Pa
|
|
|
23
23
|
signUpState: import(".").SignUpState;
|
|
24
24
|
apiTokensState: import(".").ApiTokensState;
|
|
25
25
|
securityPolicyState: import(".").SecurityPolicyState;
|
|
26
|
+
restrictionsState: import(".").RestrictionsState;
|
|
26
27
|
accountSettingsState: import(".").AccountSettingsState;
|
|
27
28
|
tenantsState: import(".").TenantsState;
|
|
28
29
|
rolesState: import(".").RolesState;
|
|
@@ -30,7 +31,6 @@ export declare const resetStateByKey: <T>(key: keyof AuthState, initialState: Pa
|
|
|
30
31
|
hostedLoginBox?: boolean | undefined;
|
|
31
32
|
disableSilentRefresh?: boolean | undefined;
|
|
32
33
|
sessionsPolicyState: import(".").SessionsPolicyState;
|
|
33
|
-
restrictionsState: import(".").RestrictionsState;
|
|
34
34
|
routes: import("./interfaces").AuthPageRoutes;
|
|
35
35
|
header?: any;
|
|
36
36
|
loaderComponent?: any;
|
|
@@ -61,6 +61,7 @@ export declare const typeReducer: <T>(key: keyof AuthState) => (state: AuthState
|
|
|
61
61
|
signUpState: import(".").SignUpState;
|
|
62
62
|
apiTokensState: import(".").ApiTokensState;
|
|
63
63
|
securityPolicyState: import(".").SecurityPolicyState;
|
|
64
|
+
restrictionsState: import(".").RestrictionsState;
|
|
64
65
|
accountSettingsState: import(".").AccountSettingsState;
|
|
65
66
|
tenantsState: import(".").TenantsState;
|
|
66
67
|
rolesState: import(".").RolesState;
|
|
@@ -68,7 +69,6 @@ export declare const typeReducer: <T>(key: keyof AuthState) => (state: AuthState
|
|
|
68
69
|
hostedLoginBox?: boolean | undefined;
|
|
69
70
|
disableSilentRefresh?: boolean | undefined;
|
|
70
71
|
sessionsPolicyState: import(".").SessionsPolicyState;
|
|
71
|
-
restrictionsState: import(".").RestrictionsState;
|
|
72
72
|
routes: import("./interfaces").AuthPageRoutes;
|
|
73
73
|
header?: any;
|
|
74
74
|
loaderComponent?: any;
|
|
@@ -103,6 +103,7 @@ export declare const typeReducerForKey: <T>(key: keyof AuthState) => {
|
|
|
103
103
|
signUpState: import(".").SignUpState;
|
|
104
104
|
apiTokensState: import(".").ApiTokensState;
|
|
105
105
|
securityPolicyState: import(".").SecurityPolicyState;
|
|
106
|
+
restrictionsState: import(".").RestrictionsState;
|
|
106
107
|
accountSettingsState: import(".").AccountSettingsState;
|
|
107
108
|
tenantsState: import(".").TenantsState;
|
|
108
109
|
rolesState: import(".").RolesState;
|
|
@@ -110,7 +111,6 @@ export declare const typeReducerForKey: <T>(key: keyof AuthState) => {
|
|
|
110
111
|
hostedLoginBox?: boolean | undefined;
|
|
111
112
|
disableSilentRefresh?: boolean | undefined;
|
|
112
113
|
sessionsPolicyState: import(".").SessionsPolicyState;
|
|
113
|
-
restrictionsState: import(".").RestrictionsState;
|
|
114
114
|
routes: import("./interfaces").AuthPageRoutes;
|
|
115
115
|
header?: any;
|
|
116
116
|
loaderComponent?: any;
|
|
@@ -146,6 +146,7 @@ export declare const typeReducerNestedKey: <T, K>(key: keyof AuthState, nestedKe
|
|
|
146
146
|
signUpState: import(".").SignUpState;
|
|
147
147
|
apiTokensState: import(".").ApiTokensState;
|
|
148
148
|
securityPolicyState: import(".").SecurityPolicyState;
|
|
149
|
+
restrictionsState: import(".").RestrictionsState;
|
|
149
150
|
accountSettingsState: import(".").AccountSettingsState;
|
|
150
151
|
tenantsState: import(".").TenantsState;
|
|
151
152
|
rolesState: import(".").RolesState;
|
|
@@ -153,7 +154,6 @@ export declare const typeReducerNestedKey: <T, K>(key: keyof AuthState, nestedKe
|
|
|
153
154
|
hostedLoginBox?: boolean | undefined;
|
|
154
155
|
disableSilentRefresh?: boolean | undefined;
|
|
155
156
|
sessionsPolicyState: import(".").SessionsPolicyState;
|
|
156
|
-
restrictionsState: import(".").RestrictionsState;
|
|
157
157
|
routes: import("./interfaces").AuthPageRoutes;
|
|
158
158
|
header?: any;
|
|
159
159
|
loaderComponent?: any;
|
package/index.js
CHANGED
|
@@ -23,12 +23,16 @@ const restrictionsState = {
|
|
|
23
23
|
},
|
|
24
24
|
totalPages: 1,
|
|
25
25
|
userIpValid: false
|
|
26
|
+
},
|
|
27
|
+
emailDomainRestrictions: {
|
|
28
|
+
loading: true
|
|
26
29
|
}
|
|
27
30
|
};
|
|
28
31
|
exports.restrictionsState = restrictionsState;
|
|
29
32
|
const reducers = {
|
|
30
33
|
setRestrictionsState: (0, _utils.typeReducerForKey)('restrictionsState'),
|
|
31
|
-
setIpRestrictionsState: (0, _utils.typeReducerNestedKey)('restrictionsState', 'ipRestrictions')
|
|
34
|
+
setIpRestrictionsState: (0, _utils.typeReducerNestedKey)('restrictionsState', 'ipRestrictions'),
|
|
35
|
+
setEmailDomainRestrictionsState: (0, _utils.typeReducerNestedKey)('restrictionsState', 'emailDomainRestrictions')
|
|
32
36
|
};
|
|
33
37
|
exports.restrictionsReducers = reducers;
|
|
34
38
|
const actions = {
|
|
@@ -45,6 +49,16 @@ const actions = {
|
|
|
45
49
|
})),
|
|
46
50
|
deleteIpRestriction: (0, _toolkit.createAction)(`${_constants.authStoreName}/deleteIpRestriction`, payload => ({
|
|
47
51
|
payload
|
|
52
|
+
})),
|
|
53
|
+
loadEmailDomainRestrictions: (0, _toolkit.createAction)(`${_constants.authStoreName}/loadEmailDomainRestrictions`),
|
|
54
|
+
saveEmailDomainRestriction: (0, _toolkit.createAction)(`${_constants.authStoreName}/saveEmailDomainRestriction`, payload => ({
|
|
55
|
+
payload
|
|
56
|
+
})),
|
|
57
|
+
saveEmailDomainRestrictionsConfig: (0, _toolkit.createAction)(`${_constants.authStoreName}/saveEmailDomainRestrictionsConfig`, payload => ({
|
|
58
|
+
payload
|
|
59
|
+
})),
|
|
60
|
+
deleteEmailDomainRestriction: (0, _toolkit.createAction)(`${_constants.authStoreName}/deleteEmailDomainRestriction`, payload => ({
|
|
61
|
+
payload
|
|
48
62
|
}))
|
|
49
63
|
};
|
|
50
64
|
/**
|