@frontegg/redux-store 6.185.0-alpha.3 → 6.186.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (63) hide show
  1. package/auth/AcceptInvitationState/index.d.ts +2 -0
  2. package/auth/AccountSettingsState/index.d.ts +2 -0
  3. package/auth/ActivateState/index.d.ts +3 -0
  4. package/auth/ApiTokensState/index.d.ts +2 -0
  5. package/auth/ApplicationsState/index.d.ts +83 -0
  6. package/auth/ApplicationsState/index.js +36 -0
  7. package/auth/ApplicationsState/interfaces.d.ts +12 -0
  8. package/auth/ApplicationsState/interfaces.js +1 -0
  9. package/auth/ApplicationsState/saga.d.ts +48 -0
  10. package/auth/ApplicationsState/saga.js +250 -0
  11. package/auth/ApplicationsState/utils/getFlattenAppIds.d.ts +3 -0
  12. package/auth/ApplicationsState/utils/getFlattenAppIds.js +13 -0
  13. package/auth/CustomLoginState/index.d.ts +2 -0
  14. package/auth/ForgotPasswordState/index.d.ts +2 -0
  15. package/auth/GroupsState/groupsDialogsState.d.ts +12 -0
  16. package/auth/GroupsState/index.d.ts +2 -0
  17. package/auth/ImpersonationState/index.d.ts +2 -0
  18. package/auth/LoginState/index.d.ts +2 -0
  19. package/auth/LoginState/saga.js +1 -1
  20. package/auth/MSP/AllAccountsState/allAccountsDialogsState.d.ts +14 -0
  21. package/auth/MSP/AllAccountsState/index.d.ts +3 -0
  22. package/auth/MfaState/index.d.ts +2 -0
  23. package/auth/PasskeysState/index.d.ts +2 -0
  24. package/auth/ProfileState/index.d.ts +2 -0
  25. package/auth/Provisioning/index.d.ts +2 -0
  26. package/auth/ResetPhoneNumberState/index.d.ts +2 -0
  27. package/auth/RolesState/index.d.ts +2 -0
  28. package/auth/SSOState/index.d.ts +2 -0
  29. package/auth/Security/RestrictionsState/index.d.ts +3 -0
  30. package/auth/Security/SecurityCenterState/index.d.ts +2 -0
  31. package/auth/Security/SecurityPolicyState/index.d.ts +13 -0
  32. package/auth/Security/SessionsPolicyState/index.d.ts +2 -0
  33. package/auth/SessionsState/index.d.ts +2 -0
  34. package/auth/SignUp/index.d.ts +2 -0
  35. package/auth/SmsState/index.d.ts +2 -0
  36. package/auth/SocialLogins/index.d.ts +2 -0
  37. package/auth/StepUpState/index.d.ts +2 -0
  38. package/auth/TeamState/index.d.ts +6 -4
  39. package/auth/TeamState/interfaces.d.ts +7 -1
  40. package/auth/TeamState/saga.js +21 -6
  41. package/auth/TenantsState/index.d.ts +2 -0
  42. package/auth/index.d.ts +9 -2
  43. package/auth/index.js +2 -0
  44. package/auth/initialState.js +2 -0
  45. package/auth/interfaces.d.ts +2 -0
  46. package/auth/reducer.d.ts +9 -3
  47. package/auth/reducer.js +3 -2
  48. package/auth/saga.js +2 -1
  49. package/auth/utils.d.ts +6 -0
  50. package/index.js +1 -1
  51. package/node/auth/ApplicationsState/index.js +43 -0
  52. package/node/auth/ApplicationsState/interfaces.js +5 -0
  53. package/node/auth/ApplicationsState/saga.js +264 -0
  54. package/node/auth/ApplicationsState/utils/getFlattenAppIds.js +20 -0
  55. package/node/auth/LoginState/saga.js +1 -1
  56. package/node/auth/TeamState/saga.js +21 -6
  57. package/node/auth/index.js +24 -0
  58. package/node/auth/initialState.js +2 -0
  59. package/node/auth/reducer.js +3 -2
  60. package/node/auth/saga.js +2 -1
  61. package/node/index.js +1 -1
  62. package/package.json +2 -2
  63. package/toolkit/index.d.ts +1 -1
@@ -72,6 +72,7 @@ declare const reducers: {
72
72
  securityCenterState?: import("..").SecurityCenterState | undefined;
73
73
  smsState?: import("..").SmsState | undefined;
74
74
  stepUpState?: import("..").StepUpState | undefined;
75
+ applicationsState?: import("..").ApplicationsState | undefined;
75
76
  routes: import("..").AuthPageRoutes;
76
77
  header?: any;
77
78
  loaderComponent?: any;
@@ -123,6 +124,7 @@ declare const reducers: {
123
124
  securityCenterState?: import("..").SecurityCenterState | undefined;
124
125
  smsState?: import("..").SmsState | undefined;
125
126
  stepUpState?: import("..").StepUpState | undefined;
127
+ applicationsState?: import("..").ApplicationsState | undefined;
126
128
  routes: import("..").AuthPageRoutes;
127
129
  header?: any;
128
130
  loaderComponent?: any;
@@ -55,6 +55,7 @@ declare const reducers: {
55
55
  securityCenterState?: import("..").SecurityCenterState | undefined;
56
56
  smsState?: import("..").SmsState | undefined;
57
57
  stepUpState?: import("..").StepUpState | undefined;
58
+ applicationsState?: import("..").ApplicationsState | undefined;
58
59
  routes: import("..").AuthPageRoutes;
59
60
  header?: any;
60
61
  loaderComponent?: any;
@@ -106,6 +107,7 @@ declare const reducers: {
106
107
  securityCenterState?: import("..").SecurityCenterState | undefined;
107
108
  smsState?: import("..").SmsState | undefined;
108
109
  stepUpState?: import("..").StepUpState | undefined;
110
+ applicationsState?: import("..").ApplicationsState | undefined;
109
111
  routes: import("..").AuthPageRoutes;
110
112
  header?: any;
111
113
  loaderComponent?: any;
@@ -57,6 +57,7 @@ declare const reducers: {
57
57
  securityCenterState?: import("..").SecurityCenterState | undefined;
58
58
  smsState?: import("..").SmsState | undefined;
59
59
  stepUpState?: import("..").StepUpState | undefined;
60
+ applicationsState?: import("..").ApplicationsState | undefined;
60
61
  routes: import("..").AuthPageRoutes;
61
62
  header?: any;
62
63
  loaderComponent?: any;
@@ -108,6 +109,7 @@ declare const reducers: {
108
109
  securityCenterState?: import("..").SecurityCenterState | undefined;
109
110
  smsState?: import("..").SmsState | undefined;
110
111
  stepUpState?: import("..").StepUpState | undefined;
112
+ applicationsState?: import("..").ApplicationsState | undefined;
111
113
  routes: import("..").AuthPageRoutes;
112
114
  header?: any;
113
115
  loaderComponent?: any;
@@ -561,7 +561,7 @@ export function* requestHostedLoginAuthorize(additionalParams) {
561
561
  const oauthUrl = `${baseUrl}/oauth/authorize`;
562
562
  const params = _extends({
563
563
  response_type: 'code',
564
- client_id: context.clientId || 'INVALID-CLIENT-ID',
564
+ client_id: context.appId || context.clientId || 'INVALID-CLIENT-ID',
565
565
  scope: 'openid email profile',
566
566
  redirect_uri: redirectUrl,
567
567
  code_challenge: code_challenge,
@@ -55,6 +55,7 @@ declare const reducers: {
55
55
  securityCenterState?: import("../..").SecurityCenterState | undefined;
56
56
  smsState?: import("../..").SmsState | undefined;
57
57
  stepUpState?: import("../..").StepUpState | undefined;
58
+ applicationsState?: import("../..").ApplicationsState | undefined;
58
59
  routes: import("../..").AuthPageRoutes;
59
60
  header?: any;
60
61
  loaderComponent?: any;
@@ -106,6 +107,7 @@ declare const reducers: {
106
107
  securityCenterState?: import("../..").SecurityCenterState | undefined;
107
108
  smsState?: import("../..").SmsState | undefined;
108
109
  stepUpState?: import("../..").StepUpState | undefined;
110
+ applicationsState?: import("../..").ApplicationsState | undefined;
109
111
  routes: import("../..").AuthPageRoutes;
110
112
  header?: any;
111
113
  loaderComponent?: any;
@@ -175,6 +177,7 @@ declare const reducers: {
175
177
  securityCenterState?: import("../..").SecurityCenterState | undefined;
176
178
  smsState?: import("../..").SmsState | undefined;
177
179
  stepUpState?: import("../..").StepUpState | undefined;
180
+ applicationsState?: import("../..").ApplicationsState | undefined;
178
181
  routes: import("../..").AuthPageRoutes;
179
182
  header?: any;
180
183
  loaderComponent?: any;
@@ -226,6 +229,7 @@ declare const reducers: {
226
229
  securityCenterState?: import("../..").SecurityCenterState | undefined;
227
230
  smsState?: import("../..").SmsState | undefined;
228
231
  stepUpState?: import("../..").StepUpState | undefined;
232
+ applicationsState?: import("../..").ApplicationsState | undefined;
229
233
  routes: import("../..").AuthPageRoutes;
230
234
  header?: any;
231
235
  loaderComponent?: any;
@@ -283,6 +287,7 @@ declare const reducers: {
283
287
  securityCenterState?: import("../..").SecurityCenterState | undefined;
284
288
  smsState?: import("../..").SmsState | undefined;
285
289
  stepUpState?: import("../..").StepUpState | undefined;
290
+ applicationsState?: import("../..").ApplicationsState | undefined;
286
291
  routes: import("../..").AuthPageRoutes;
287
292
  header?: any;
288
293
  loaderComponent?: any;
@@ -334,6 +339,7 @@ declare const reducers: {
334
339
  securityCenterState?: import("../..").SecurityCenterState | undefined;
335
340
  smsState?: import("../..").SmsState | undefined;
336
341
  stepUpState?: import("../..").StepUpState | undefined;
342
+ applicationsState?: import("../..").ApplicationsState | undefined;
337
343
  routes: import("../..").AuthPageRoutes;
338
344
  header?: any;
339
345
  loaderComponent?: any;
@@ -403,6 +409,7 @@ declare const reducers: {
403
409
  securityCenterState?: import("../..").SecurityCenterState | undefined;
404
410
  smsState?: import("../..").SmsState | undefined;
405
411
  stepUpState?: import("../..").StepUpState | undefined;
412
+ applicationsState?: import("../..").ApplicationsState | undefined;
406
413
  routes: import("../..").AuthPageRoutes;
407
414
  header?: any;
408
415
  loaderComponent?: any;
@@ -454,6 +461,7 @@ declare const reducers: {
454
461
  securityCenterState?: import("../..").SecurityCenterState | undefined;
455
462
  smsState?: import("../..").SmsState | undefined;
456
463
  stepUpState?: import("../..").StepUpState | undefined;
464
+ applicationsState?: import("../..").ApplicationsState | undefined;
457
465
  routes: import("../..").AuthPageRoutes;
458
466
  header?: any;
459
467
  loaderComponent?: any;
@@ -523,6 +531,7 @@ declare const reducers: {
523
531
  securityCenterState?: import("../..").SecurityCenterState | undefined;
524
532
  smsState?: import("../..").SmsState | undefined;
525
533
  stepUpState?: import("../..").StepUpState | undefined;
534
+ applicationsState?: import("../..").ApplicationsState | undefined;
526
535
  routes: import("../..").AuthPageRoutes;
527
536
  header?: any;
528
537
  loaderComponent?: any;
@@ -574,6 +583,7 @@ declare const reducers: {
574
583
  securityCenterState?: import("../..").SecurityCenterState | undefined;
575
584
  smsState?: import("../..").SmsState | undefined;
576
585
  stepUpState?: import("../..").StepUpState | undefined;
586
+ applicationsState?: import("../..").ApplicationsState | undefined;
577
587
  routes: import("../..").AuthPageRoutes;
578
588
  header?: any;
579
589
  loaderComponent?: any;
@@ -649,6 +659,7 @@ declare const reducers: {
649
659
  securityCenterState?: import("../..").SecurityCenterState | undefined;
650
660
  smsState?: import("../..").SmsState | undefined;
651
661
  stepUpState?: import("../..").StepUpState | undefined;
662
+ applicationsState?: import("../..").ApplicationsState | undefined;
652
663
  routes: import("../..").AuthPageRoutes;
653
664
  header?: any;
654
665
  loaderComponent?: any;
@@ -700,6 +711,7 @@ declare const reducers: {
700
711
  securityCenterState?: import("../..").SecurityCenterState | undefined;
701
712
  smsState?: import("../..").SmsState | undefined;
702
713
  stepUpState?: import("../..").StepUpState | undefined;
714
+ applicationsState?: import("../..").ApplicationsState | undefined;
703
715
  routes: import("../..").AuthPageRoutes;
704
716
  header?: any;
705
717
  loaderComponent?: any;
@@ -757,6 +769,7 @@ declare const reducers: {
757
769
  securityCenterState?: import("../..").SecurityCenterState | undefined;
758
770
  smsState?: import("../..").SmsState | undefined;
759
771
  stepUpState?: import("../..").StepUpState | undefined;
772
+ applicationsState?: import("../..").ApplicationsState | undefined;
760
773
  routes: import("../..").AuthPageRoutes;
761
774
  header?: any;
762
775
  loaderComponent?: any;
@@ -808,6 +821,7 @@ declare const reducers: {
808
821
  securityCenterState?: import("../..").SecurityCenterState | undefined;
809
822
  smsState?: import("../..").SmsState | undefined;
810
823
  stepUpState?: import("../..").StepUpState | undefined;
824
+ applicationsState?: import("../..").ApplicationsState | undefined;
811
825
  routes: import("../..").AuthPageRoutes;
812
826
  header?: any;
813
827
  loaderComponent?: any;
@@ -74,6 +74,7 @@ declare const reducers: {
74
74
  securityCenterState?: import("../..").SecurityCenterState | undefined;
75
75
  smsState?: import("../..").SmsState | undefined;
76
76
  stepUpState?: import("../..").StepUpState | undefined;
77
+ applicationsState?: import("../..").ApplicationsState | undefined;
77
78
  routes: import("../..").AuthPageRoutes;
78
79
  header?: any;
79
80
  loaderComponent?: any;
@@ -132,6 +133,7 @@ declare const reducers: {
132
133
  securityCenterState?: import("../..").SecurityCenterState | undefined;
133
134
  smsState?: import("../..").SmsState | undefined;
134
135
  stepUpState?: import("../..").StepUpState | undefined;
136
+ applicationsState?: import("../..").ApplicationsState | undefined;
135
137
  routes: import("../..").AuthPageRoutes;
136
138
  header?: any;
137
139
  loaderComponent?: any;
@@ -183,6 +185,7 @@ declare const reducers: {
183
185
  securityCenterState?: import("../..").SecurityCenterState | undefined;
184
186
  smsState?: import("../..").SmsState | undefined;
185
187
  stepUpState?: import("../..").StepUpState | undefined;
188
+ applicationsState?: import("../..").ApplicationsState | undefined;
186
189
  routes: import("../..").AuthPageRoutes;
187
190
  header?: any;
188
191
  loaderComponent?: any;
@@ -57,6 +57,7 @@ declare const reducers: {
57
57
  securityCenterState?: import("..").SecurityCenterState | undefined;
58
58
  smsState?: import("..").SmsState | undefined;
59
59
  stepUpState?: import("..").StepUpState | undefined;
60
+ applicationsState?: import("..").ApplicationsState | undefined;
60
61
  routes: import("..").AuthPageRoutes;
61
62
  header?: any;
62
63
  loaderComponent?: any;
@@ -108,6 +109,7 @@ declare const reducers: {
108
109
  securityCenterState?: import("..").SecurityCenterState | undefined;
109
110
  smsState?: import("..").SmsState | undefined;
110
111
  stepUpState?: import("..").StepUpState | undefined;
112
+ applicationsState?: import("..").ApplicationsState | undefined;
111
113
  routes: import("..").AuthPageRoutes;
112
114
  header?: any;
113
115
  loaderComponent?: any;
@@ -55,6 +55,7 @@ declare const reducers: {
55
55
  securityCenterState?: import("..").SecurityCenterState | undefined;
56
56
  smsState?: import("..").SmsState | undefined;
57
57
  stepUpState?: import("..").StepUpState | undefined;
58
+ applicationsState?: import("..").ApplicationsState | undefined;
58
59
  routes: import("..").AuthPageRoutes;
59
60
  header?: any;
60
61
  loaderComponent?: any;
@@ -106,6 +107,7 @@ declare const reducers: {
106
107
  securityCenterState?: import("..").SecurityCenterState | undefined;
107
108
  smsState?: import("..").SmsState | undefined;
108
109
  stepUpState?: import("..").StepUpState | undefined;
110
+ applicationsState?: import("..").ApplicationsState | undefined;
109
111
  routes: import("..").AuthPageRoutes;
110
112
  header?: any;
111
113
  loaderComponent?: any;
@@ -56,6 +56,7 @@ declare const reducers: {
56
56
  securityCenterState?: import("..").SecurityCenterState | undefined;
57
57
  smsState?: import("..").SmsState | undefined;
58
58
  stepUpState?: import("..").StepUpState | undefined;
59
+ applicationsState?: import("..").ApplicationsState | undefined;
59
60
  routes: import("..").AuthPageRoutes;
60
61
  header?: any;
61
62
  loaderComponent?: any;
@@ -107,6 +108,7 @@ declare const reducers: {
107
108
  securityCenterState?: import("..").SecurityCenterState | undefined;
108
109
  smsState?: import("..").SmsState | undefined;
109
110
  stepUpState?: import("..").StepUpState | undefined;
111
+ applicationsState?: import("..").ApplicationsState | undefined;
110
112
  routes: import("..").AuthPageRoutes;
111
113
  header?: any;
112
114
  loaderComponent?: any;
@@ -56,6 +56,7 @@ declare const reducers: {
56
56
  securityCenterState?: import("..").SecurityCenterState | undefined;
57
57
  smsState?: import("..").SmsState | undefined;
58
58
  stepUpState?: import("..").StepUpState | undefined;
59
+ applicationsState?: import("..").ApplicationsState | undefined;
59
60
  routes: import("..").AuthPageRoutes;
60
61
  header?: any;
61
62
  loaderComponent?: any;
@@ -107,6 +108,7 @@ declare const reducers: {
107
108
  securityCenterState?: import("..").SecurityCenterState | undefined;
108
109
  smsState?: import("..").SmsState | undefined;
109
110
  stepUpState?: import("..").StepUpState | undefined;
111
+ applicationsState?: import("..").ApplicationsState | undefined;
110
112
  routes: import("..").AuthPageRoutes;
111
113
  header?: any;
112
114
  loaderComponent?: any;
@@ -56,6 +56,7 @@ declare const reducers: {
56
56
  securityCenterState?: import("..").SecurityCenterState | undefined;
57
57
  smsState?: import("..").SmsState | undefined;
58
58
  stepUpState?: import("..").StepUpState | undefined;
59
+ applicationsState?: import("..").ApplicationsState | undefined;
59
60
  routes: import("..").AuthPageRoutes;
60
61
  header?: any;
61
62
  loaderComponent?: any;
@@ -107,6 +108,7 @@ declare const reducers: {
107
108
  securityCenterState?: import("..").SecurityCenterState | undefined;
108
109
  smsState?: import("..").SmsState | undefined;
109
110
  stepUpState?: import("..").StepUpState | undefined;
111
+ applicationsState?: import("..").ApplicationsState | undefined;
110
112
  routes: import("..").AuthPageRoutes;
111
113
  header?: any;
112
114
  loaderComponent?: any;
@@ -57,6 +57,7 @@ declare const reducers: {
57
57
  securityCenterState?: import("..").SecurityCenterState | undefined;
58
58
  smsState?: import("..").SmsState | undefined;
59
59
  stepUpState?: import("..").StepUpState | undefined;
60
+ applicationsState?: import("..").ApplicationsState | undefined;
60
61
  routes: import("..").AuthPageRoutes;
61
62
  header?: any;
62
63
  loaderComponent?: any;
@@ -108,6 +109,7 @@ declare const reducers: {
108
109
  securityCenterState?: import("..").SecurityCenterState | undefined;
109
110
  smsState?: import("..").SmsState | undefined;
110
111
  stepUpState?: import("..").StepUpState | undefined;
112
+ applicationsState?: import("..").ApplicationsState | undefined;
111
113
  routes: import("..").AuthPageRoutes;
112
114
  header?: any;
113
115
  loaderComponent?: any;
@@ -74,6 +74,7 @@ declare const reducers: {
74
74
  securityCenterState?: import("..").SecurityCenterState | undefined;
75
75
  smsState?: import("..").SmsState | undefined;
76
76
  stepUpState?: import("..").StepUpState | undefined;
77
+ applicationsState?: import("..").ApplicationsState | undefined;
77
78
  routes: import("..").AuthPageRoutes;
78
79
  header?: any;
79
80
  loaderComponent?: any;
@@ -125,6 +126,7 @@ declare const reducers: {
125
126
  securityCenterState?: import("..").SecurityCenterState | undefined;
126
127
  smsState?: import("..").SmsState | undefined;
127
128
  stepUpState?: import("..").StepUpState | undefined;
129
+ applicationsState?: import("..").ApplicationsState | undefined;
128
130
  routes: import("..").AuthPageRoutes;
129
131
  header?: any;
130
132
  loaderComponent?: any;
@@ -56,6 +56,7 @@ declare const reducers: {
56
56
  securityCenterState?: import("../..").SecurityCenterState | undefined;
57
57
  smsState?: import("../..").SmsState | undefined;
58
58
  stepUpState?: import("../..").StepUpState | undefined;
59
+ applicationsState?: import("../..").ApplicationsState | undefined;
59
60
  routes: import("../..").AuthPageRoutes;
60
61
  header?: any;
61
62
  loaderComponent?: any;
@@ -114,6 +115,7 @@ declare const reducers: {
114
115
  securityCenterState?: import("../..").SecurityCenterState | undefined;
115
116
  smsState?: import("../..").SmsState | undefined;
116
117
  stepUpState?: import("../..").StepUpState | undefined;
118
+ applicationsState?: import("../..").ApplicationsState | undefined;
117
119
  routes: import("../..").AuthPageRoutes;
118
120
  header?: any;
119
121
  loaderComponent?: any;
@@ -172,6 +174,7 @@ declare const reducers: {
172
174
  securityCenterState?: import("../..").SecurityCenterState | undefined;
173
175
  smsState?: import("../..").SmsState | undefined;
174
176
  stepUpState?: import("../..").StepUpState | undefined;
177
+ applicationsState?: import("../..").ApplicationsState | undefined;
175
178
  routes: import("../..").AuthPageRoutes;
176
179
  header?: any;
177
180
  loaderComponent?: any;
@@ -58,6 +58,7 @@ declare const reducers: {
58
58
  securityCenterState?: SecurityCenterState | undefined;
59
59
  smsState?: import("../..").SmsState | undefined;
60
60
  stepUpState?: import("../..").StepUpState | undefined;
61
+ applicationsState?: import("../..").ApplicationsState | undefined;
61
62
  routes: import("../..").AuthPageRoutes;
62
63
  header?: any;
63
64
  loaderComponent?: any;
@@ -109,6 +110,7 @@ declare const reducers: {
109
110
  securityCenterState?: SecurityCenterState | undefined;
110
111
  smsState?: import("../..").SmsState | undefined;
111
112
  stepUpState?: import("../..").StepUpState | undefined;
113
+ applicationsState?: import("../..").ApplicationsState | undefined;
112
114
  routes: import("../..").AuthPageRoutes;
113
115
  header?: any;
114
116
  loaderComponent?: any;
@@ -54,6 +54,7 @@ declare const reducers: {
54
54
  securityCenterState?: import("../..").SecurityCenterState | undefined;
55
55
  smsState?: import("../..").SmsState | undefined;
56
56
  stepUpState?: import("../..").StepUpState | undefined;
57
+ applicationsState?: import("../..").ApplicationsState | undefined;
57
58
  routes: import("../..").AuthPageRoutes;
58
59
  header?: any;
59
60
  loaderComponent?: any;
@@ -118,6 +119,7 @@ declare const reducers: {
118
119
  securityCenterState?: import("../..").SecurityCenterState | undefined;
119
120
  smsState?: import("../..").SmsState | undefined;
120
121
  stepUpState?: import("../..").StepUpState | undefined;
122
+ applicationsState?: import("../..").ApplicationsState | undefined;
121
123
  routes: import("../..").AuthPageRoutes;
122
124
  header?: any;
123
125
  loaderComponent?: any;
@@ -182,6 +184,7 @@ declare const reducers: {
182
184
  securityCenterState?: import("../..").SecurityCenterState | undefined;
183
185
  smsState?: import("../..").SmsState | undefined;
184
186
  stepUpState?: import("../..").StepUpState | undefined;
187
+ applicationsState?: import("../..").ApplicationsState | undefined;
185
188
  routes: import("../..").AuthPageRoutes;
186
189
  header?: any;
187
190
  loaderComponent?: any;
@@ -246,6 +249,7 @@ declare const reducers: {
246
249
  securityCenterState?: import("../..").SecurityCenterState | undefined;
247
250
  smsState?: import("../..").SmsState | undefined;
248
251
  stepUpState?: import("../..").StepUpState | undefined;
252
+ applicationsState?: import("../..").ApplicationsState | undefined;
249
253
  routes: import("../..").AuthPageRoutes;
250
254
  header?: any;
251
255
  loaderComponent?: any;
@@ -310,6 +314,7 @@ declare const reducers: {
310
314
  securityCenterState?: import("../..").SecurityCenterState | undefined;
311
315
  smsState?: import("../..").SmsState | undefined;
312
316
  stepUpState?: import("../..").StepUpState | undefined;
317
+ applicationsState?: import("../..").ApplicationsState | undefined;
313
318
  routes: import("../..").AuthPageRoutes;
314
319
  header?: any;
315
320
  loaderComponent?: any;
@@ -374,6 +379,7 @@ declare const reducers: {
374
379
  securityCenterState?: import("../..").SecurityCenterState | undefined;
375
380
  smsState?: import("../..").SmsState | undefined;
376
381
  stepUpState?: import("../..").StepUpState | undefined;
382
+ applicationsState?: import("../..").ApplicationsState | undefined;
377
383
  routes: import("../..").AuthPageRoutes;
378
384
  header?: any;
379
385
  loaderComponent?: any;
@@ -438,6 +444,7 @@ declare const reducers: {
438
444
  securityCenterState?: import("../..").SecurityCenterState | undefined;
439
445
  smsState?: import("../..").SmsState | undefined;
440
446
  stepUpState?: import("../..").StepUpState | undefined;
447
+ applicationsState?: import("../..").ApplicationsState | undefined;
441
448
  routes: import("../..").AuthPageRoutes;
442
449
  header?: any;
443
450
  loaderComponent?: any;
@@ -502,6 +509,7 @@ declare const reducers: {
502
509
  securityCenterState?: import("../..").SecurityCenterState | undefined;
503
510
  smsState?: import("../..").SmsState | undefined;
504
511
  stepUpState?: import("../..").StepUpState | undefined;
512
+ applicationsState?: import("../..").ApplicationsState | undefined;
505
513
  routes: import("../..").AuthPageRoutes;
506
514
  header?: any;
507
515
  loaderComponent?: any;
@@ -566,6 +574,7 @@ declare const reducers: {
566
574
  securityCenterState?: import("../..").SecurityCenterState | undefined;
567
575
  smsState?: import("../..").SmsState | undefined;
568
576
  stepUpState?: import("../..").StepUpState | undefined;
577
+ applicationsState?: import("../..").ApplicationsState | undefined;
569
578
  routes: import("../..").AuthPageRoutes;
570
579
  header?: any;
571
580
  loaderComponent?: any;
@@ -630,6 +639,7 @@ declare const reducers: {
630
639
  securityCenterState?: import("../..").SecurityCenterState | undefined;
631
640
  smsState?: import("../..").SmsState | undefined;
632
641
  stepUpState?: import("../..").StepUpState | undefined;
642
+ applicationsState?: import("../..").ApplicationsState | undefined;
633
643
  routes: import("../..").AuthPageRoutes;
634
644
  header?: any;
635
645
  loaderComponent?: any;
@@ -694,6 +704,7 @@ declare const reducers: {
694
704
  securityCenterState?: import("../..").SecurityCenterState | undefined;
695
705
  smsState?: import("../..").SmsState | undefined;
696
706
  stepUpState?: import("../..").StepUpState | undefined;
707
+ applicationsState?: import("../..").ApplicationsState | undefined;
697
708
  routes: import("../..").AuthPageRoutes;
698
709
  header?: any;
699
710
  loaderComponent?: any;
@@ -758,6 +769,7 @@ declare const reducers: {
758
769
  securityCenterState?: import("../..").SecurityCenterState | undefined;
759
770
  smsState?: import("../..").SmsState | undefined;
760
771
  stepUpState?: import("../..").StepUpState | undefined;
772
+ applicationsState?: import("../..").ApplicationsState | undefined;
761
773
  routes: import("../..").AuthPageRoutes;
762
774
  header?: any;
763
775
  loaderComponent?: any;
@@ -809,6 +821,7 @@ declare const reducers: {
809
821
  securityCenterState?: import("../..").SecurityCenterState | undefined;
810
822
  smsState?: import("../..").SmsState | undefined;
811
823
  stepUpState?: import("../..").StepUpState | undefined;
824
+ applicationsState?: import("../..").ApplicationsState | undefined;
812
825
  routes: import("../..").AuthPageRoutes;
813
826
  header?: any;
814
827
  loaderComponent?: any;
@@ -56,6 +56,7 @@ declare const reducers: {
56
56
  securityCenterState?: import("../..").SecurityCenterState | undefined;
57
57
  smsState?: import("../..").SmsState | undefined;
58
58
  stepUpState?: import("../..").StepUpState | undefined;
59
+ applicationsState?: import("../..").ApplicationsState | undefined;
59
60
  routes: import("../..").AuthPageRoutes;
60
61
  header?: any;
61
62
  loaderComponent?: any;
@@ -107,6 +108,7 @@ declare const reducers: {
107
108
  securityCenterState?: import("../..").SecurityCenterState | undefined;
108
109
  smsState?: import("../..").SmsState | undefined;
109
110
  stepUpState?: import("../..").StepUpState | undefined;
111
+ applicationsState?: import("../..").ApplicationsState | undefined;
110
112
  routes: import("../..").AuthPageRoutes;
111
113
  header?: any;
112
114
  loaderComponent?: any;
@@ -55,6 +55,7 @@ declare const reducers: {
55
55
  securityCenterState?: import("..").SecurityCenterState | undefined;
56
56
  smsState?: import("..").SmsState | undefined;
57
57
  stepUpState?: import("..").StepUpState | undefined;
58
+ applicationsState?: import("..").ApplicationsState | undefined;
58
59
  routes: import("..").AuthPageRoutes;
59
60
  header?: any;
60
61
  loaderComponent?: any;
@@ -106,6 +107,7 @@ declare const reducers: {
106
107
  securityCenterState?: import("..").SecurityCenterState | undefined;
107
108
  smsState?: import("..").SmsState | undefined;
108
109
  stepUpState?: import("..").StepUpState | undefined;
110
+ applicationsState?: import("..").ApplicationsState | undefined;
109
111
  routes: import("..").AuthPageRoutes;
110
112
  header?: any;
111
113
  loaderComponent?: any;
@@ -54,6 +54,7 @@ declare const reducers: {
54
54
  securityCenterState?: import("..").SecurityCenterState | undefined;
55
55
  smsState?: import("..").SmsState | undefined;
56
56
  stepUpState?: import("..").StepUpState | undefined;
57
+ applicationsState?: import("..").ApplicationsState | undefined;
57
58
  routes: import("..").AuthPageRoutes;
58
59
  header?: any;
59
60
  loaderComponent?: any;
@@ -105,6 +106,7 @@ declare const reducers: {
105
106
  securityCenterState?: import("..").SecurityCenterState | undefined;
106
107
  smsState?: import("..").SmsState | undefined;
107
108
  stepUpState?: import("..").StepUpState | undefined;
109
+ applicationsState?: import("..").ApplicationsState | undefined;
108
110
  routes: import("..").AuthPageRoutes;
109
111
  header?: any;
110
112
  loaderComponent?: any;
@@ -57,6 +57,7 @@ declare const reducers: {
57
57
  securityCenterState?: import("..").SecurityCenterState | undefined;
58
58
  smsState?: SmsState | undefined;
59
59
  stepUpState?: import("..").StepUpState | undefined;
60
+ applicationsState?: import("..").ApplicationsState | undefined;
60
61
  routes: import("..").AuthPageRoutes;
61
62
  header?: any;
62
63
  loaderComponent?: any;
@@ -108,6 +109,7 @@ declare const reducers: {
108
109
  securityCenterState?: import("..").SecurityCenterState | undefined;
109
110
  smsState?: SmsState | undefined;
110
111
  stepUpState?: import("..").StepUpState | undefined;
112
+ applicationsState?: import("..").ApplicationsState | undefined;
111
113
  routes: import("..").AuthPageRoutes;
112
114
  header?: any;
113
115
  loaderComponent?: any;
@@ -56,6 +56,7 @@ declare const reducers: {
56
56
  securityCenterState?: import("..").SecurityCenterState | undefined;
57
57
  smsState?: import("..").SmsState | undefined;
58
58
  stepUpState?: import("..").StepUpState | undefined;
59
+ applicationsState?: import("..").ApplicationsState | undefined;
59
60
  routes: import("..").AuthPageRoutes;
60
61
  header?: any;
61
62
  loaderComponent?: any;
@@ -107,6 +108,7 @@ declare const reducers: {
107
108
  securityCenterState?: import("..").SecurityCenterState | undefined;
108
109
  smsState?: import("..").SmsState | undefined;
109
110
  stepUpState?: import("..").StepUpState | undefined;
111
+ applicationsState?: import("..").ApplicationsState | undefined;
110
112
  routes: import("..").AuthPageRoutes;
111
113
  header?: any;
112
114
  loaderComponent?: any;
@@ -57,6 +57,7 @@ declare const reducers: {
57
57
  securityCenterState?: import("..").SecurityCenterState | undefined;
58
58
  smsState?: import("..").SmsState | undefined;
59
59
  stepUpState?: StepUpState | undefined;
60
+ applicationsState?: import("..").ApplicationsState | undefined;
60
61
  routes: import("..").AuthPageRoutes;
61
62
  header?: any;
62
63
  loaderComponent?: any;
@@ -108,6 +109,7 @@ declare const reducers: {
108
109
  securityCenterState?: import("..").SecurityCenterState | undefined;
109
110
  smsState?: import("..").SmsState | undefined;
110
111
  stepUpState?: StepUpState | undefined;
112
+ applicationsState?: import("..").ApplicationsState | undefined;
111
113
  routes: import("..").AuthPageRoutes;
112
114
  header?: any;
113
115
  loaderComponent?: any;
@@ -1,5 +1,5 @@
1
1
  import { IAddUser, IDeleteUser, IResendActivationLink, IResendInvitationLink, IResendInvitationEmail, ITeamUser, IUpdateUser, ICreateOrUpdateInviteUserLink, ILoadAllUsers, ISubTenantUser, AddUserToSubTenantsRequest, RemoveUserFromSubTenantsRequest, UpdateUserRolesForSubTenantsRequestDto, ILoadUsers, IUpdateUserExpiration } from '@frontegg/rest-api';
2
- import { ISetAddUserDialog, ISetDeleteUserDialog, TeamState, TeamStateIndicator, LoadRolesAndPermissionsPayload, IAddUsers, BulkInvintationData, IGetUsersV2Payload } from './interfaces';
2
+ import { ISetAddUserDialog, ISetDeleteUserDialog, TeamState, TeamStateIndicator, LoadRolesAndPermissionsPayload, IAddUsers, BulkInvintationData, IGetUsersV2Payload, AddUserPayload } from './interfaces';
3
3
  import { WithCallback, WithSilentLoad } from '../../interfaces';
4
4
  declare const teamState: TeamState;
5
5
  declare const reducers: {
@@ -74,6 +74,7 @@ declare const reducers: {
74
74
  securityCenterState?: import("..").SecurityCenterState | undefined;
75
75
  smsState?: import("..").SmsState | undefined;
76
76
  stepUpState?: import("..").StepUpState | undefined;
77
+ applicationsState?: import("..").ApplicationsState | undefined;
77
78
  routes: import("..").AuthPageRoutes;
78
79
  header?: any;
79
80
  loaderComponent?: any;
@@ -125,6 +126,7 @@ declare const reducers: {
125
126
  securityCenterState?: import("..").SecurityCenterState | undefined;
126
127
  smsState?: import("..").SmsState | undefined;
127
128
  stepUpState?: import("..").StepUpState | undefined;
129
+ applicationsState?: import("..").ApplicationsState | undefined;
128
130
  routes: import("..").AuthPageRoutes;
129
131
  header?: any;
130
132
  loaderComponent?: any;
@@ -174,9 +176,9 @@ declare const actions: {
174
176
  } | undefined, string, never, never>;
175
177
  openAddUserDialog: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[(Pick<import("./interfaces").AddUserDialogState, "onClose"> | undefined)?], Pick<import("./interfaces").AddUserDialogState, "onClose"> | undefined, string, never, never>;
176
178
  closeAddUserDialog: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[any?], any, string, never, never>;
177
- openDeleteUserDialog: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[(Pick<import("./interfaces").DeleteUserDialogState, "onClose" | "userId" | "email"> | undefined)?], Pick<import("./interfaces").DeleteUserDialogState, "onClose" | "userId" | "email"> | undefined, string, never, never>;
179
+ openDeleteUserDialog: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[(Pick<import("./interfaces").DeleteUserDialogState, "userId" | "onClose" | "email"> | undefined)?], Pick<import("./interfaces").DeleteUserDialogState, "userId" | "onClose" | "email"> | undefined, string, never, never>;
178
180
  closeDeleteUserDialog: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[any?], any, string, never, never>;
179
- openLockUserDialog: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[(Pick<import("./interfaces").DeleteUserDialogState, "onClose" | "userId" | "email"> | undefined)?], Pick<import("./interfaces").DeleteUserDialogState, "onClose" | "userId" | "email"> | undefined, string, never, never>;
181
+ openLockUserDialog: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[(Pick<import("./interfaces").DeleteUserDialogState, "userId" | "onClose" | "email"> | undefined)?], Pick<import("./interfaces").DeleteUserDialogState, "userId" | "onClose" | "email"> | undefined, string, never, never>;
180
182
  closeLockUserDialog: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[any?], any, string, never, never>;
181
183
  };
182
184
  /**
@@ -196,7 +198,7 @@ declare type DispatchedActions = {
196
198
  loadAllSubTenantsUsers: (payload: WithCallback<WithSilentLoad<Partial<ILoadAllUsers>>, ISubTenantUser[]>) => void;
197
199
  loadRoles: (payload?: LoadRolesAndPermissionsPayload) => void;
198
200
  addUsersBulk: (payload: WithCallback<IAddUsers, BulkInvintationData>) => void;
199
- addUser: (payload: WithCallback<IAddUser, ITeamUser>) => void;
201
+ addUser: (payload: WithCallback<AddUserPayload, ITeamUser>) => void;
200
202
  addUserToSubTenants: (payload: WithCallback<AddUserToSubTenantsRequest>) => void;
201
203
  setUserRolesForSubTenants: (payload: WithCallback<UpdateUserRolesForSubTenantsRequestDto & {
202
204
  userId: string;
@@ -1,6 +1,7 @@
1
- import { ITeamUserRole, ITeamUser, ITeamUserPermission, ISubTenantUser, SortByEnum, ISearchUserQueryParamsV2, QueryFilter, QuerySort, IRole, IUsersV3Data, ITemporaryUserConfiguration } from '@frontegg/rest-api';
1
+ import { ITeamUserRole, ITeamUser, ITeamUserPermission, ISubTenantUser, SortByEnum, ISearchUserQueryParamsV2, QueryFilter, QuerySort, IRole, IUsersV3Data, ITemporaryUserConfiguration, IAddUser } from '@frontegg/rest-api';
2
2
  import { GroupsState } from '../GroupsState/interfaces';
3
3
  import { LoaderIndicatorState, WithCallback } from '../../interfaces';
4
+ import { ApplicationsState } from '../ApplicationsState/interfaces';
4
5
  export declare enum TeamStateKeys {
5
6
  USERS = "USERS",
6
7
  STATS = "STATS",
@@ -43,6 +44,7 @@ export declare type LoadRolesAndPermissionsPayload = WithCallback<{}, {
43
44
  }>;
44
45
  export interface ITeamStateUser extends ITeamUser {
45
46
  groups?: GroupsState['groups'];
47
+ applications?: ApplicationsState['userApplications'];
46
48
  }
47
49
  export interface TeamState {
48
50
  loaders: LoaderIndicatorState<TeamStateKeys>;
@@ -101,8 +103,12 @@ export interface IGetUsersV2Payload {
101
103
  sort?: ISearchUserQueryParamsV2['_sortBy'];
102
104
  order?: ISearchUserQueryParamsV2['_order'];
103
105
  shouldShowSubTenantUsersIfReseller?: ISearchUserQueryParamsV2['_includeSubTenants'];
106
+ shouldLoadApps?: boolean;
104
107
  }
105
108
  export interface IUserV3 extends IUsersV3Data {
106
109
  roles?: IRole[];
107
110
  }
111
+ export interface AddUserPayload extends IAddUser {
112
+ appIds: string[];
113
+ }
108
114
  export {};