@frontegg/redux-store 7.0.0-alpha.1 → 7.0.0-alpha.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1082) hide show
  1. package/audits/AuditLogsState/actions.d.ts +9 -0
  2. package/audits/AuditLogsState/actions.js +103 -0
  3. package/audits/AuditLogsState/index.d.ts +3 -47
  4. package/audits/AuditLogsState/index.js +3 -39
  5. package/audits/AuditLogsState/state.d.ts +4 -0
  6. package/audits/AuditLogsState/state.js +12 -0
  7. package/audits/AuditsMetadataState/actions.d.ts +8 -0
  8. package/audits/AuditsMetadataState/actions.js +36 -0
  9. package/audits/AuditsMetadataState/index.d.ts +3 -35
  10. package/audits/AuditsMetadataState/index.js +3 -29
  11. package/audits/AuditsMetadataState/state.d.ts +4 -0
  12. package/audits/AuditsMetadataState/state.js +5 -0
  13. package/audits/index.d.ts +19 -39
  14. package/audits/index.js +11 -21
  15. package/audits/interfaces.d.ts +2 -0
  16. package/audits/interfaces.js +2 -0
  17. package/audits-backward-compatibility/actions.d.ts +12 -0
  18. package/audits-backward-compatibility/actions.js +256 -0
  19. package/audits-backward-compatibility/index.d.ts +5 -0
  20. package/audits-backward-compatibility/index.js +6 -0
  21. package/audits-backward-compatibility/interfaces.d.ts +60 -0
  22. package/audits-backward-compatibility/package.json +6 -0
  23. package/audits-backward-compatibility/state.d.ts +5 -0
  24. package/audits-backward-compatibility/state.js +24 -0
  25. package/auth/AcceptInvitationState/actions.d.ts +12 -0
  26. package/auth/AcceptInvitationState/actions.js +43 -0
  27. package/auth/AcceptInvitationState/index.d.ts +3 -117
  28. package/auth/AcceptInvitationState/index.js +3 -31
  29. package/auth/AcceptInvitationState/state.d.ts +4 -0
  30. package/auth/AcceptInvitationState/state.js +6 -0
  31. package/auth/AccountSettingsState/actions.d.ts +23 -0
  32. package/auth/AccountSettingsState/actions.js +93 -0
  33. package/auth/AccountSettingsState/index.d.ts +3 -124
  34. package/auth/AccountSettingsState/index.js +3 -33
  35. package/auth/AccountSettingsState/state.d.ts +4 -0
  36. package/auth/AccountSettingsState/state.js +5 -0
  37. package/auth/ActivateAccountState/actions.d.ts +26 -0
  38. package/auth/ActivateAccountState/actions.js +192 -0
  39. package/auth/ActivateAccountState/index.d.ts +3 -0
  40. package/auth/ActivateAccountState/index.js +3 -0
  41. package/auth/ActivateAccountState/state.d.ts +4 -0
  42. package/auth/ActivateAccountState/state.js +11 -0
  43. package/auth/ApiTokensState/actions.d.ts +16 -0
  44. package/auth/ApiTokensState/actions.js +371 -0
  45. package/auth/ApiTokensState/index.d.ts +3 -171
  46. package/auth/ApiTokensState/index.js +3 -71
  47. package/auth/ApiTokensState/interfaces.d.ts +4 -1
  48. package/auth/ApiTokensState/state.d.ts +4 -0
  49. package/auth/ApiTokensState/state.js +23 -0
  50. package/auth/ApplicationsState/actions.d.ts +25 -0
  51. package/auth/ApplicationsState/actions.js +221 -0
  52. package/auth/ApplicationsState/helpers.d.ts +3 -0
  53. package/auth/ApplicationsState/helpers.js +13 -0
  54. package/auth/ApplicationsState/index.d.ts +3 -0
  55. package/auth/ApplicationsState/index.js +3 -0
  56. package/auth/ApplicationsState/interfaces.d.ts +12 -0
  57. package/auth/ApplicationsState/state.d.ts +4 -0
  58. package/auth/ApplicationsState/state.js +9 -0
  59. package/auth/CustomLoginState/actions.d.ts +11 -0
  60. package/auth/CustomLoginState/actions.js +116 -0
  61. package/auth/CustomLoginState/index.d.ts +3 -119
  62. package/auth/CustomLoginState/index.js +3 -32
  63. package/auth/CustomLoginState/state.d.ts +4 -0
  64. package/auth/CustomLoginState/state.js +6 -0
  65. package/auth/Entitlements/actions.d.ts +9 -0
  66. package/auth/Entitlements/actions.js +40 -0
  67. package/auth/Entitlements/helpers.d.ts +38 -0
  68. package/auth/Entitlements/helpers.js +66 -0
  69. package/auth/Entitlements/index.d.ts +6 -2
  70. package/auth/Entitlements/index.js +6 -3
  71. package/auth/ForgotPasswordState/actions.d.ts +11 -0
  72. package/auth/ForgotPasswordState/actions.js +84 -0
  73. package/auth/ForgotPasswordState/index.d.ts +3 -121
  74. package/auth/ForgotPasswordState/index.js +3 -40
  75. package/auth/ForgotPasswordState/interfaces.d.ts +2 -2
  76. package/auth/ForgotPasswordState/state.d.ts +4 -0
  77. package/auth/ForgotPasswordState/state.js +9 -0
  78. package/auth/GroupsDialogsState/actions.d.ts +17 -0
  79. package/auth/GroupsDialogsState/actions.js +77 -0
  80. package/auth/GroupsDialogsState/index.d.ts +3 -0
  81. package/auth/GroupsDialogsState/index.js +3 -0
  82. package/auth/GroupsDialogsState/interfaces.d.ts +32 -0
  83. package/auth/GroupsDialogsState/state.d.ts +4 -0
  84. package/auth/GroupsDialogsState/state.js +25 -0
  85. package/auth/GroupsState/actions.d.ts +21 -0
  86. package/auth/GroupsState/actions.js +403 -0
  87. package/auth/GroupsState/index.d.ts +3 -178
  88. package/auth/GroupsState/index.js +3 -58
  89. package/auth/GroupsState/interfaces.d.ts +1 -32
  90. package/auth/GroupsState/interfaces.js +2 -0
  91. package/auth/GroupsState/state.d.ts +4 -0
  92. package/auth/GroupsState/state.js +8 -0
  93. package/auth/ImpersonateState/actions.d.ts +8 -0
  94. package/auth/ImpersonateState/actions.js +52 -0
  95. package/auth/ImpersonateState/index.d.ts +3 -0
  96. package/auth/ImpersonateState/index.js +3 -0
  97. package/auth/ImpersonateState/interfaces.d.ts +14 -0
  98. package/auth/ImpersonateState/state.d.ts +4 -0
  99. package/auth/ImpersonateState/state.js +7 -0
  100. package/auth/LoginState/actions/afterAuthNavigation.actions.d.ts +11 -0
  101. package/auth/LoginState/actions/afterAuthNavigation.actions.js +183 -0
  102. package/auth/LoginState/actions/handleVerifyMFAResponse.actions.d.ts +8 -0
  103. package/auth/LoginState/actions/handleVerifyMFAResponse.actions.js +92 -0
  104. package/auth/LoginState/actions/hostedLoginAuthorize.actions.d.ts +15 -0
  105. package/auth/LoginState/actions/hostedLoginAuthorize.actions.js +203 -0
  106. package/auth/LoginState/actions/index.d.ts +79 -0
  107. package/auth/LoginState/actions/index.js +1298 -0
  108. package/auth/LoginState/actions/mfaRequiredState.actions.d.ts +11 -0
  109. package/auth/LoginState/actions/mfaRequiredState.actions.js +63 -0
  110. package/auth/LoginState/actions/mfaWithAuthenticator.actions.d.ts +8 -0
  111. package/auth/LoginState/actions/mfaWithAuthenticator.actions.js +137 -0
  112. package/auth/LoginState/actions/mfaWithEmailCode.actions.d.ts +10 -0
  113. package/auth/LoginState/actions/mfaWithEmailCode.actions.js +101 -0
  114. package/auth/LoginState/actions/mfaWithSMS.actions.d.ts +10 -0
  115. package/auth/LoginState/actions/mfaWithSMS.actions.js +108 -0
  116. package/auth/LoginState/actions/mfaWithWebAuthn.actions.d.ts +10 -0
  117. package/auth/LoginState/actions/mfaWithWebAuthn.actions.js +119 -0
  118. package/auth/LoginState/consts.d.ts +6 -22
  119. package/auth/LoginState/consts.js +7 -6
  120. package/auth/LoginState/helpers.d.ts +31 -0
  121. package/auth/LoginState/helpers.js +131 -0
  122. package/auth/LoginState/index.d.ts +3 -233
  123. package/auth/LoginState/index.js +3 -142
  124. package/auth/LoginState/interfaces.d.ts +29 -1
  125. package/auth/LoginState/interfaces.js +7 -1
  126. package/auth/LoginState/state.d.ts +4 -0
  127. package/auth/LoginState/state.js +10 -0
  128. package/auth/MSP/actions.d.ts +28 -0
  129. package/auth/MSP/actions.js +962 -0
  130. package/auth/MSP/dialogs/actions.d.ts +25 -0
  131. package/auth/MSP/dialogs/actions.js +124 -0
  132. package/auth/MSP/dialogs/state.d.ts +4 -0
  133. package/auth/MSP/dialogs/state.js +76 -0
  134. package/auth/MSP/helpers/appendChildrenToNode.d.ts +2 -0
  135. package/auth/MSP/helpers/getAccountsWithUsersCount.d.ts +15 -0
  136. package/auth/MSP/helpers/getAccountsWithUsersCount.js +21 -0
  137. package/auth/MSP/helpers/index.d.ts +5 -0
  138. package/auth/MSP/helpers/index.js +5 -0
  139. package/auth/MSP/helpers/removeNodeFromTree.d.ts +2 -0
  140. package/auth/MSP/helpers/updateNodeIsReseller.d.ts +2 -0
  141. package/auth/MSP/helpers/updateNodeIsReseller.js +14 -0
  142. package/auth/MSP/helpers/updateNodeName.d.ts +2 -0
  143. package/auth/MSP/helpers/updateNodeSubAccountAccessType.d.ts +3 -0
  144. package/auth/MSP/helpers/updateNodeSubAccountAccessType.js +13 -0
  145. package/auth/MSP/index.d.ts +5 -1
  146. package/auth/MSP/index.js +5 -1
  147. package/auth/MSP/interfaces/dialogsStateTypes.d.ts +63 -0
  148. package/auth/MSP/interfaces/stateTypes.d.ts +114 -0
  149. package/auth/MSP/interfaces/stateTypes.js +24 -0
  150. package/auth/MSP/state.d.ts +4 -0
  151. package/auth/MSP/state.js +38 -0
  152. package/auth/MfaState/actions.d.ts +24 -0
  153. package/auth/MfaState/actions.js +431 -0
  154. package/auth/MfaState/index.d.ts +3 -157
  155. package/auth/MfaState/index.js +3 -66
  156. package/auth/MfaState/interfaces.d.ts +5 -4
  157. package/auth/MfaState/interfaces.js +1 -0
  158. package/auth/MfaState/state.d.ts +4 -0
  159. package/auth/MfaState/state.js +8 -0
  160. package/auth/PasskeysState/actions.d.ts +12 -0
  161. package/auth/PasskeysState/actions.js +102 -0
  162. package/auth/PasskeysState/index.d.ts +3 -125
  163. package/auth/PasskeysState/index.js +3 -33
  164. package/auth/PasskeysState/state.d.ts +4 -0
  165. package/auth/PasskeysState/state.js +7 -0
  166. package/auth/ProfileState/actions.d.ts +11 -0
  167. package/auth/ProfileState/actions.js +112 -0
  168. package/auth/ProfileState/index.d.ts +3 -122
  169. package/auth/ProfileState/index.js +3 -35
  170. package/auth/ProfileState/state.d.ts +4 -0
  171. package/auth/ProfileState/state.js +6 -0
  172. package/auth/ProvisioningState/actions.d.ts +21 -0
  173. package/auth/ProvisioningState/actions.js +130 -0
  174. package/auth/ProvisioningState/index.d.ts +3 -0
  175. package/auth/ProvisioningState/index.js +3 -0
  176. package/auth/ProvisioningState/state.d.ts +4 -0
  177. package/auth/ProvisioningState/state.js +5 -0
  178. package/auth/ResetPhoneNumberState/actions.d.ts +11 -0
  179. package/auth/ResetPhoneNumberState/actions.js +115 -0
  180. package/auth/ResetPhoneNumberState/index.d.ts +3 -128
  181. package/auth/ResetPhoneNumberState/index.js +3 -38
  182. package/auth/ResetPhoneNumberState/state.d.ts +4 -0
  183. package/auth/ResetPhoneNumberState/state.js +7 -0
  184. package/auth/RolesState/actions.d.ts +24 -0
  185. package/auth/RolesState/actions.js +274 -0
  186. package/auth/RolesState/index.d.ts +3 -132
  187. package/auth/RolesState/index.js +3 -48
  188. package/auth/RolesState/interfaces.d.ts +17 -2
  189. package/auth/RolesState/interfaces.js +8 -1
  190. package/auth/RolesState/state.d.ts +4 -0
  191. package/auth/RolesState/state.js +9 -0
  192. package/auth/SSOState/actions/actions.v1.d.ts +20 -0
  193. package/auth/SSOState/actions/actions.v1.js +387 -0
  194. package/auth/SSOState/actions/actions.v2.d.ts +19 -0
  195. package/auth/SSOState/actions/actions.v2.js +359 -0
  196. package/auth/SSOState/actions/index.d.ts +75 -0
  197. package/auth/SSOState/actions/index.js +6 -0
  198. package/auth/SSOState/index.d.ts +3 -274
  199. package/auth/SSOState/index.js +3 -101
  200. package/auth/SSOState/state.d.ts +4 -0
  201. package/auth/SSOState/state.js +10 -0
  202. package/auth/Security/RestrictionsState/actions.d.ts +24 -0
  203. package/auth/Security/RestrictionsState/actions.js +444 -0
  204. package/auth/Security/RestrictionsState/index.d.ts +3 -214
  205. package/auth/Security/RestrictionsState/index.js +3 -63
  206. package/auth/Security/RestrictionsState/state.d.ts +4 -0
  207. package/auth/Security/RestrictionsState/state.js +18 -0
  208. package/auth/Security/SecurityCenterState/actions.d.ts +17 -0
  209. package/auth/Security/SecurityCenterState/actions.js +308 -0
  210. package/auth/Security/SecurityCenterState/index.d.ts +3 -156
  211. package/auth/Security/SecurityCenterState/index.js +3 -81
  212. package/auth/Security/SecurityCenterState/interfaces.d.ts +28 -1
  213. package/auth/Security/SecurityCenterState/interfaces.js +10 -1
  214. package/auth/Security/SecurityCenterState/state.d.ts +4 -0
  215. package/auth/Security/SecurityCenterState/state.js +40 -0
  216. package/auth/Security/SecurityPolicyState/actions.d.ts +35 -0
  217. package/auth/Security/SecurityPolicyState/actions.js +413 -0
  218. package/auth/Security/SecurityPolicyState/index.d.ts +3 -802
  219. package/auth/Security/SecurityPolicyState/index.js +3 -90
  220. package/auth/Security/SecurityPolicyState/interfaces.d.ts +1 -1
  221. package/auth/Security/SecurityPolicyState/state.d.ts +4 -0
  222. package/auth/Security/SecurityPolicyState/state.js +37 -0
  223. package/auth/Security/SessionsPolicyState/actions.d.ts +10 -0
  224. package/auth/Security/SessionsPolicyState/actions.js +57 -0
  225. package/auth/Security/SessionsPolicyState/index.d.ts +3 -120
  226. package/auth/Security/SessionsPolicyState/index.js +3 -32
  227. package/auth/Security/SessionsPolicyState/state.d.ts +4 -0
  228. package/auth/Security/SessionsPolicyState/state.js +6 -0
  229. package/auth/SessionsState/actions.d.ts +14 -0
  230. package/auth/SessionsState/actions.js +111 -0
  231. package/auth/SessionsState/index.d.ts +3 -137
  232. package/auth/SessionsState/index.js +3 -37
  233. package/auth/SessionsState/interfaces.d.ts +1 -0
  234. package/auth/SessionsState/state.d.ts +4 -0
  235. package/auth/SessionsState/state.js +6 -0
  236. package/auth/SignUpState/actions.d.ts +10 -0
  237. package/auth/SignUpState/actions.js +146 -0
  238. package/auth/SignUpState/index.d.ts +3 -0
  239. package/auth/SignUpState/index.js +3 -0
  240. package/auth/SignUpState/state.d.ts +4 -0
  241. package/auth/SignUpState/state.js +10 -0
  242. package/auth/SmsState/actions.d.ts +15 -0
  243. package/auth/SmsState/actions.js +181 -0
  244. package/auth/SmsState/index.d.ts +3 -0
  245. package/auth/SmsState/index.js +3 -0
  246. package/auth/SmsState/interfaces.d.ts +10 -0
  247. package/auth/SmsState/state.d.ts +4 -0
  248. package/auth/SmsState/state.js +7 -0
  249. package/auth/SocialLoginState/actions.d.ts +14 -0
  250. package/auth/SocialLoginState/actions.js +163 -0
  251. package/auth/SocialLoginState/index.d.ts +3 -0
  252. package/auth/SocialLoginState/index.js +3 -0
  253. package/auth/SocialLoginState/state.d.ts +4 -0
  254. package/auth/SocialLoginState/state.js +7 -0
  255. package/auth/StepUpState/actions/generateStepUpSession.actions.d.ts +6 -0
  256. package/auth/StepUpState/actions/generateStepUpSession.actions.js +104 -0
  257. package/auth/StepUpState/actions/index.d.ts +18 -0
  258. package/auth/StepUpState/actions/index.js +98 -0
  259. package/auth/StepUpState/actions/stepUpHostedLogin.actions.d.ts +6 -0
  260. package/auth/StepUpState/actions/stepUpHostedLogin.actions.js +32 -0
  261. package/auth/StepUpState/consts.d.ts +21 -0
  262. package/auth/StepUpState/consts.js +25 -0
  263. package/auth/StepUpState/helpers.d.ts +29 -0
  264. package/auth/StepUpState/helpers.js +54 -0
  265. package/auth/StepUpState/index.d.ts +3 -0
  266. package/auth/StepUpState/index.js +3 -0
  267. package/auth/StepUpState/interfaces.d.ts +36 -0
  268. package/auth/StepUpState/interfaces.js +1 -0
  269. package/auth/StepUpState/state.d.ts +4 -0
  270. package/auth/StepUpState/state.js +7 -0
  271. package/auth/TeamState/actions/activation-link.actions.d.ts +9 -0
  272. package/auth/TeamState/actions/activation-link.actions.js +84 -0
  273. package/auth/TeamState/actions/index.d.ts +52 -0
  274. package/auth/TeamState/actions/index.js +88 -0
  275. package/auth/TeamState/actions/invitation-link.actions.d.ts +11 -0
  276. package/auth/TeamState/actions/invitation-link.actions.js +131 -0
  277. package/auth/TeamState/actions/sub-tenants.actions.d.ts +11 -0
  278. package/auth/TeamState/actions/sub-tenants.actions.js +214 -0
  279. package/auth/TeamState/actions/users.actions.d.ts +27 -0
  280. package/auth/TeamState/actions/users.actions.js +580 -0
  281. package/auth/TeamState/index.d.ts +3 -211
  282. package/auth/TeamState/index.js +3 -133
  283. package/auth/TeamState/interfaces.d.ts +19 -2
  284. package/auth/TeamState/interfaces.js +2 -0
  285. package/auth/TeamState/state.d.ts +4 -0
  286. package/auth/TeamState/state.js +41 -0
  287. package/auth/TenantsState/actions.d.ts +18 -0
  288. package/auth/TenantsState/actions.js +109 -0
  289. package/auth/TenantsState/index.d.ts +3 -136
  290. package/auth/TenantsState/index.js +3 -42
  291. package/auth/TenantsState/interfaces.d.ts +3 -1
  292. package/auth/TenantsState/state.d.ts +4 -0
  293. package/auth/TenantsState/state.js +8 -0
  294. package/auth/helpers.d.ts +20 -0
  295. package/auth/helpers.js +55 -0
  296. package/auth/index.d.ts +134 -745
  297. package/auth/index.js +205 -67
  298. package/auth/interfaces.d.ts +101 -71
  299. package/auth/interfaces.js +2 -0
  300. package/connectivity/actions.d.ts +44 -0
  301. package/connectivity/actions.js +534 -0
  302. package/connectivity/consts.d.ts +0 -3
  303. package/connectivity/consts.js +3 -23
  304. package/connectivity/index.d.ts +4 -40
  305. package/connectivity/index.js +3 -16
  306. package/connectivity/interfaces.d.ts +6 -5
  307. package/connectivity/state.d.ts +4 -0
  308. package/connectivity/state.js +11 -0
  309. package/constants.d.ts +2 -6
  310. package/constants.js +2 -6
  311. package/helpers/common.d.ts +8 -0
  312. package/helpers/common.js +44 -0
  313. package/helpers/converters.d.ts +3 -0
  314. package/helpers/converters.js +64 -0
  315. package/helpers/encoders.d.ts +2 -0
  316. package/helpers/encoders.js +46 -0
  317. package/helpers/gtm.d.ts +27 -0
  318. package/helpers/gtm.js +25 -0
  319. package/helpers/index.d.ts +6 -0
  320. package/helpers/index.js +6 -0
  321. package/helpers/package.json +6 -0
  322. package/helpers/random.d.ts +4 -0
  323. package/helpers/random.js +28 -0
  324. package/helpers/sha256.d.ts +21 -0
  325. package/helpers/sha256.js +424 -0
  326. package/index.d.ts +11 -12
  327. package/index.js +13 -11
  328. package/interfaces.d.ts +80 -6
  329. package/mocks/audits-mocks/auditLogsActions.mocks.d.ts +13 -0
  330. package/mocks/audits-mocks/auditLogsActions.mocks.js +52 -0
  331. package/mocks/audits-mocks/auditsMetadataActions.mocks.d.ts +7 -0
  332. package/mocks/audits-mocks/auditsMetadataActions.mocks.js +28 -0
  333. package/mocks/audits-mocks/index.d.ts +15 -0
  334. package/mocks/audits-mocks/index.js +8 -0
  335. package/mocks/auth-mocks/acceptInvitationActions.mocks.d.ts +10 -0
  336. package/mocks/auth-mocks/acceptInvitationActions.mocks.js +6 -0
  337. package/mocks/auth-mocks/accountSettingsActions.mocks.d.ts +22 -0
  338. package/mocks/auth-mocks/accountSettingsActions.mocks.js +52 -0
  339. package/mocks/auth-mocks/activateAccountActions.mocks.d.ts +24 -0
  340. package/mocks/auth-mocks/activateAccountActions.mocks.js +7 -0
  341. package/mocks/auth-mocks/allAccountsActions.mocks.d.ts +37 -0
  342. package/mocks/auth-mocks/allAccountsActions.mocks.js +6 -0
  343. package/mocks/auth-mocks/apiTokensActions.mocks.d.ts +17 -0
  344. package/mocks/auth-mocks/apiTokensActions.mocks.js +127 -0
  345. package/mocks/auth-mocks/applicationsActions.mocks.d.ts +23 -0
  346. package/mocks/auth-mocks/applicationsActions.mocks.js +7 -0
  347. package/mocks/auth-mocks/customLoginActions.mocks.d.ts +11 -0
  348. package/mocks/auth-mocks/customLoginActions.mocks.js +32 -0
  349. package/mocks/auth-mocks/entitlementsActions.mocks.d.ts +7 -0
  350. package/mocks/auth-mocks/entitlementsActions.mocks.js +6 -0
  351. package/mocks/auth-mocks/forgotPasswordActions.mocks.d.ts +10 -0
  352. package/mocks/auth-mocks/forgotPasswordActions.mocks.js +30 -0
  353. package/mocks/auth-mocks/groupsActions.mocks.d.ts +33 -0
  354. package/mocks/auth-mocks/groupsActions.mocks.js +234 -0
  355. package/mocks/auth-mocks/impersonateActions.mocks.d.ts +7 -0
  356. package/mocks/auth-mocks/impersonateActions.mocks.js +6 -0
  357. package/mocks/auth-mocks/index.d.ts +6 -0
  358. package/mocks/auth-mocks/index.js +130 -0
  359. package/mocks/auth-mocks/loginActions.mocks.d.ts +77 -0
  360. package/mocks/auth-mocks/loginActions.mocks.js +39 -0
  361. package/mocks/auth-mocks/mfaActions.mocks.d.ts +29 -0
  362. package/mocks/auth-mocks/mfaActions.mocks.js +220 -0
  363. package/mocks/auth-mocks/passkeysActions.mocks.d.ts +11 -0
  364. package/mocks/auth-mocks/passkeysActions.mocks.js +6 -0
  365. package/mocks/auth-mocks/profileActions.mocks.d.ts +10 -0
  366. package/mocks/auth-mocks/profileActions.mocks.js +67 -0
  367. package/mocks/auth-mocks/provisioningActions.mocks.d.ts +19 -0
  368. package/mocks/auth-mocks/provisioningActions.mocks.js +6 -0
  369. package/mocks/auth-mocks/resetPhoneNumberActions.mocks.d.ts +12 -0
  370. package/mocks/auth-mocks/resetPhoneNumberActions.mocks.js +6 -0
  371. package/mocks/auth-mocks/rolesActions.mocks.d.ts +17 -0
  372. package/mocks/auth-mocks/rolesActions.mocks.js +33 -0
  373. package/mocks/auth-mocks/security/restrictionsActions.mocks.d.ts +23 -0
  374. package/mocks/auth-mocks/security/restrictionsActions.mocks.js +248 -0
  375. package/mocks/auth-mocks/security/securityCenterActions.mocks.d.ts +16 -0
  376. package/mocks/auth-mocks/security/securityCenterActions.mocks.js +102 -0
  377. package/mocks/auth-mocks/security/securityPolicyActions.mocks.d.ts +56 -0
  378. package/mocks/auth-mocks/security/securityPolicyActions.mocks.js +179 -0
  379. package/mocks/auth-mocks/security/sessionsPolicyActions.mocks.d.ts +10 -0
  380. package/mocks/auth-mocks/security/sessionsPolicyActions.mocks.js +35 -0
  381. package/mocks/auth-mocks/sessionsActions.mocks.d.ts +13 -0
  382. package/mocks/auth-mocks/sessionsActions.mocks.js +44 -0
  383. package/mocks/auth-mocks/signUpActions.mocks.d.ts +9 -0
  384. package/mocks/auth-mocks/signUpActions.mocks.js +6 -0
  385. package/mocks/auth-mocks/smsActions.mocks.d.ts +12 -0
  386. package/mocks/auth-mocks/smsActions.mocks.js +6 -0
  387. package/mocks/auth-mocks/socialLoginActions.mocks.d.ts +12 -0
  388. package/mocks/auth-mocks/socialLoginActions.mocks.js +6 -0
  389. package/mocks/auth-mocks/ssoActions.mocks.d.ts +77 -0
  390. package/mocks/auth-mocks/ssoActions.mocks.js +128 -0
  391. package/mocks/auth-mocks/stepUpActions.mocks.d.ts +15 -0
  392. package/mocks/auth-mocks/stepUpActions.mocks.js +6 -0
  393. package/mocks/auth-mocks/teamActions.mocks.d.ts +52 -0
  394. package/mocks/auth-mocks/teamActions.mocks.js +378 -0
  395. package/mocks/auth-mocks/tenantsActions.mocks.d.ts +16 -0
  396. package/mocks/auth-mocks/tenantsActions.mocks.js +18 -0
  397. package/mocks/connectivity-mocks/index.d.ts +41 -0
  398. package/mocks/connectivity-mocks/index.js +7 -0
  399. package/mocks/dummy.d.ts +41 -0
  400. package/mocks/dummy.js +965 -0
  401. package/mocks/helpers.d.ts +1 -0
  402. package/mocks/helpers.js +16 -0
  403. package/mocks/index.d.ts +68 -0
  404. package/mocks/index.js +25 -0
  405. package/mocks/package.json +6 -0
  406. package/mocks/subscriptions-mocks/billingActions-mocks/index.d.ts +4 -0
  407. package/mocks/subscriptions-mocks/billingActions-mocks/index.js +17 -0
  408. package/mocks/subscriptions-mocks/billingActions-mocks/informationActions.mocks.d.ts +8 -0
  409. package/mocks/subscriptions-mocks/billingActions-mocks/informationActions.mocks.js +36 -0
  410. package/mocks/subscriptions-mocks/billingActions-mocks/invoicesActions.mocks.d.ts +10 -0
  411. package/mocks/subscriptions-mocks/billingActions-mocks/invoicesActions.mocks.js +27 -0
  412. package/mocks/subscriptions-mocks/billingActions-mocks/paymentMethodActions.mocks.d.ts +11 -0
  413. package/mocks/subscriptions-mocks/billingActions-mocks/paymentMethodActions.mocks.js +20 -0
  414. package/mocks/subscriptions-mocks/billingActions-mocks/subscriptionActions.mocks.d.ts +14 -0
  415. package/mocks/subscriptions-mocks/billingActions-mocks/subscriptionActions.mocks.js +21 -0
  416. package/mocks/subscriptions-mocks/checkoutActions.mocks.d.ts +11 -0
  417. package/mocks/subscriptions-mocks/checkoutActions.mocks.js +7 -0
  418. package/mocks/subscriptions-mocks/configActions.mocks.d.ts +7 -0
  419. package/mocks/subscriptions-mocks/configActions.mocks.js +23 -0
  420. package/mocks/subscriptions-mocks/index.d.ts +3 -0
  421. package/mocks/subscriptions-mocks/index.js +23 -0
  422. package/mocks/subscriptions-mocks/plansActions.mocks.d.ts +7 -0
  423. package/mocks/subscriptions-mocks/plansActions.mocks.js +28 -0
  424. package/mocks/subscriptions-mocks/stripeActions.mocks.d.ts +5 -0
  425. package/mocks/subscriptions-mocks/stripeActions.mocks.js +6 -0
  426. package/mocks/subscriptions-mocks/vendorPublicConfigActions.mocks.d.ts +9 -0
  427. package/mocks/subscriptions-mocks/vendorPublicConfigActions.mocks.js +18 -0
  428. package/mocks/vendor-mocks/index.d.ts +7 -0
  429. package/mocks/vendor-mocks/index.js +19 -0
  430. package/node/audits/AuditLogsState/actions.js +111 -0
  431. package/node/audits/AuditLogsState/index.js +14 -41
  432. package/node/audits/AuditLogsState/state.js +20 -0
  433. package/node/audits/AuditsMetadataState/actions.js +43 -0
  434. package/node/audits/AuditsMetadataState/index.js +14 -31
  435. package/node/audits/AuditsMetadataState/state.js +13 -0
  436. package/node/audits/index.js +13 -117
  437. package/node/audits/interfaces.js +22 -0
  438. package/node/audits-backward-compatibility/actions.js +265 -0
  439. package/node/audits-backward-compatibility/index.js +20 -0
  440. package/node/audits-backward-compatibility/state.js +32 -0
  441. package/node/auth/AcceptInvitationState/actions.js +50 -0
  442. package/node/auth/AcceptInvitationState/index.js +15 -33
  443. package/node/auth/AcceptInvitationState/state.js +14 -0
  444. package/node/auth/AccountSettingsState/actions.js +101 -0
  445. package/node/auth/AccountSettingsState/index.js +15 -35
  446. package/node/auth/AccountSettingsState/state.js +13 -0
  447. package/node/auth/ActivateAccountState/actions.js +200 -0
  448. package/node/auth/ActivateAccountState/index.js +20 -0
  449. package/node/auth/ActivateAccountState/state.js +19 -0
  450. package/node/auth/ApiTokensState/actions.js +379 -0
  451. package/node/auth/ApiTokensState/index.js +15 -73
  452. package/node/auth/ApiTokensState/state.js +31 -0
  453. package/node/auth/ApplicationsState/actions.js +229 -0
  454. package/node/auth/ApplicationsState/helpers.js +20 -0
  455. package/node/auth/ApplicationsState/index.js +20 -0
  456. package/node/auth/ApplicationsState/state.js +17 -0
  457. package/node/auth/CustomLoginState/actions.js +124 -0
  458. package/node/auth/CustomLoginState/index.js +15 -34
  459. package/node/auth/CustomLoginState/state.js +14 -0
  460. package/node/auth/Entitlements/actions.js +47 -0
  461. package/node/auth/Entitlements/helpers.js +77 -0
  462. package/node/auth/Entitlements/index.js +7 -21
  463. package/node/auth/ForgotPasswordState/actions.js +92 -0
  464. package/node/auth/ForgotPasswordState/index.js +15 -42
  465. package/node/auth/ForgotPasswordState/state.js +17 -0
  466. package/node/auth/GroupsDialogsState/actions.js +85 -0
  467. package/node/auth/GroupsDialogsState/index.js +20 -0
  468. package/node/auth/GroupsDialogsState/state.js +33 -0
  469. package/node/auth/GroupsState/actions.js +411 -0
  470. package/node/auth/GroupsState/index.js +15 -61
  471. package/node/auth/GroupsState/interfaces.js +1 -0
  472. package/node/auth/GroupsState/state.js +16 -0
  473. package/node/auth/ImpersonateState/actions.js +60 -0
  474. package/node/auth/ImpersonateState/index.js +20 -0
  475. package/node/auth/ImpersonateState/state.js +15 -0
  476. package/node/auth/LoginState/actions/afterAuthNavigation.actions.js +191 -0
  477. package/node/auth/LoginState/actions/handleVerifyMFAResponse.actions.js +98 -0
  478. package/node/auth/LoginState/actions/hostedLoginAuthorize.actions.js +211 -0
  479. package/node/auth/LoginState/actions/index.js +1304 -0
  480. package/node/auth/LoginState/actions/mfaRequiredState.actions.js +71 -0
  481. package/node/auth/LoginState/actions/mfaWithAuthenticator.actions.js +145 -0
  482. package/node/auth/LoginState/actions/mfaWithEmailCode.actions.js +109 -0
  483. package/node/auth/LoginState/actions/mfaWithSMS.actions.js +116 -0
  484. package/node/auth/LoginState/actions/mfaWithWebAuthn.actions.js +127 -0
  485. package/node/auth/LoginState/consts.js +7 -6
  486. package/node/auth/LoginState/helpers.js +150 -0
  487. package/node/auth/LoginState/index.js +11 -146
  488. package/node/auth/LoginState/interfaces.js +9 -2
  489. package/node/auth/LoginState/state.js +18 -0
  490. package/node/auth/MSP/actions.js +970 -0
  491. package/node/auth/MSP/dialogs/actions.js +132 -0
  492. package/node/auth/MSP/dialogs/state.js +84 -0
  493. package/node/auth/MSP/helpers/getAccountsWithUsersCount.js +28 -0
  494. package/node/auth/MSP/helpers/index.js +60 -0
  495. package/node/auth/MSP/helpers/updateNodeIsReseller.js +22 -0
  496. package/node/auth/MSP/helpers/updateNodeSubAccountAccessType.js +21 -0
  497. package/node/auth/MSP/index.js +29 -11
  498. package/node/auth/MSP/interfaces/stateTypes.js +29 -0
  499. package/node/auth/MSP/state.js +46 -0
  500. package/node/auth/MfaState/actions.js +439 -0
  501. package/node/auth/MfaState/index.js +15 -68
  502. package/node/auth/MfaState/interfaces.js +1 -0
  503. package/node/auth/MfaState/state.js +16 -0
  504. package/node/auth/PasskeysState/actions.js +109 -0
  505. package/node/auth/PasskeysState/index.js +15 -35
  506. package/node/auth/PasskeysState/state.js +15 -0
  507. package/node/auth/ProfileState/actions.js +120 -0
  508. package/node/auth/ProfileState/index.js +15 -37
  509. package/node/auth/ProfileState/state.js +14 -0
  510. package/node/auth/ProvisioningState/actions.js +138 -0
  511. package/node/auth/ProvisioningState/index.js +20 -0
  512. package/node/auth/ProvisioningState/state.js +13 -0
  513. package/node/auth/ResetPhoneNumberState/actions.js +123 -0
  514. package/node/auth/ResetPhoneNumberState/index.js +15 -40
  515. package/node/auth/ResetPhoneNumberState/state.js +15 -0
  516. package/node/auth/RolesState/actions.js +282 -0
  517. package/node/auth/RolesState/index.js +15 -50
  518. package/node/auth/RolesState/interfaces.js +11 -1
  519. package/node/auth/RolesState/state.js +17 -0
  520. package/node/auth/SSOState/actions/actions.v1.js +395 -0
  521. package/node/auth/SSOState/actions/actions.v2.js +367 -0
  522. package/node/auth/SSOState/actions/index.js +14 -0
  523. package/node/auth/SSOState/index.js +15 -103
  524. package/node/auth/SSOState/state.js +18 -0
  525. package/node/auth/Security/RestrictionsState/actions.js +452 -0
  526. package/node/auth/Security/RestrictionsState/index.js +14 -64
  527. package/node/auth/Security/RestrictionsState/state.js +26 -0
  528. package/node/auth/Security/SecurityCenterState/actions.js +316 -0
  529. package/node/auth/Security/SecurityCenterState/index.js +14 -82
  530. package/node/auth/Security/SecurityCenterState/interfaces.js +13 -1
  531. package/node/auth/Security/SecurityCenterState/state.js +48 -0
  532. package/node/auth/Security/SecurityPolicyState/actions.js +421 -0
  533. package/node/auth/Security/SecurityPolicyState/index.js +14 -91
  534. package/node/auth/Security/SecurityPolicyState/state.js +45 -0
  535. package/node/auth/Security/SessionsPolicyState/actions.js +65 -0
  536. package/node/auth/Security/SessionsPolicyState/index.js +15 -34
  537. package/node/auth/Security/SessionsPolicyState/state.js +14 -0
  538. package/node/auth/SessionsState/actions.js +118 -0
  539. package/node/auth/SessionsState/index.js +15 -39
  540. package/node/auth/SessionsState/state.js +14 -0
  541. package/node/auth/SignUpState/actions.js +154 -0
  542. package/node/auth/SignUpState/index.js +20 -0
  543. package/node/auth/SignUpState/state.js +18 -0
  544. package/node/auth/SmsState/actions.js +189 -0
  545. package/node/auth/SmsState/index.js +20 -0
  546. package/node/auth/SmsState/state.js +15 -0
  547. package/node/auth/SocialLoginState/actions.js +171 -0
  548. package/node/auth/SocialLoginState/index.js +20 -0
  549. package/node/auth/SocialLoginState/state.js +15 -0
  550. package/node/auth/StepUpState/actions/generateStepUpSession.actions.js +111 -0
  551. package/node/auth/StepUpState/actions/index.js +106 -0
  552. package/node/auth/StepUpState/actions/stepUpHostedLogin.actions.js +39 -0
  553. package/node/auth/StepUpState/consts.js +36 -0
  554. package/node/auth/StepUpState/helpers.js +63 -0
  555. package/node/auth/StepUpState/index.js +20 -0
  556. package/node/auth/StepUpState/interfaces.js +5 -0
  557. package/node/auth/StepUpState/state.js +15 -0
  558. package/node/auth/TeamState/actions/activation-link.actions.js +92 -0
  559. package/node/auth/TeamState/actions/index.js +96 -0
  560. package/node/auth/TeamState/actions/invitation-link.actions.js +139 -0
  561. package/node/auth/TeamState/actions/sub-tenants.actions.js +222 -0
  562. package/node/auth/TeamState/actions/users.actions.js +588 -0
  563. package/node/auth/TeamState/index.js +14 -134
  564. package/node/auth/TeamState/interfaces.js +2 -0
  565. package/node/auth/TeamState/state.js +49 -0
  566. package/node/auth/TenantsState/actions.js +116 -0
  567. package/node/auth/TenantsState/index.js +15 -44
  568. package/node/auth/TenantsState/state.js +16 -0
  569. package/node/auth/helpers.js +107 -0
  570. package/node/auth/index.js +237 -422
  571. package/node/auth/interfaces.js +1 -1
  572. package/node/connectivity/actions.js +542 -0
  573. package/node/connectivity/consts.js +4 -28
  574. package/node/connectivity/index.js +7 -55
  575. package/node/connectivity/state.js +19 -0
  576. package/node/constants.js +30 -14
  577. package/node/helpers/common.js +57 -0
  578. package/node/helpers/converters.js +73 -0
  579. package/node/helpers/encoders.js +54 -0
  580. package/node/helpers/gtm.js +31 -0
  581. package/node/helpers/index.js +71 -0
  582. package/node/helpers/random.js +37 -0
  583. package/node/index.js +90 -72
  584. package/node/mocks/audits-mocks/auditLogsActions.mocks.js +59 -0
  585. package/node/mocks/audits-mocks/auditsMetadataActions.mocks.js +35 -0
  586. package/node/mocks/audits-mocks/index.js +16 -0
  587. package/node/mocks/auth-mocks/acceptInvitationActions.mocks.js +13 -0
  588. package/node/mocks/auth-mocks/accountSettingsActions.mocks.js +60 -0
  589. package/node/mocks/auth-mocks/activateAccountActions.mocks.js +14 -0
  590. package/node/mocks/auth-mocks/allAccountsActions.mocks.js +13 -0
  591. package/node/mocks/auth-mocks/apiTokensActions.mocks.js +135 -0
  592. package/node/mocks/auth-mocks/applicationsActions.mocks.js +14 -0
  593. package/node/mocks/auth-mocks/customLoginActions.mocks.js +39 -0
  594. package/node/mocks/auth-mocks/entitlementsActions.mocks.js +13 -0
  595. package/node/mocks/auth-mocks/forgotPasswordActions.mocks.js +37 -0
  596. package/node/mocks/auth-mocks/groupsActions.mocks.js +242 -0
  597. package/node/mocks/auth-mocks/impersonateActions.mocks.js +13 -0
  598. package/node/mocks/auth-mocks/index.js +140 -0
  599. package/node/mocks/auth-mocks/loginActions.mocks.js +46 -0
  600. package/node/mocks/auth-mocks/mfaActions.mocks.js +228 -0
  601. package/node/mocks/auth-mocks/passkeysActions.mocks.js +13 -0
  602. package/node/mocks/auth-mocks/profileActions.mocks.js +75 -0
  603. package/node/mocks/auth-mocks/provisioningActions.mocks.js +13 -0
  604. package/node/mocks/auth-mocks/resetPhoneNumberActions.mocks.js +13 -0
  605. package/node/mocks/auth-mocks/rolesActions.mocks.js +40 -0
  606. package/node/mocks/auth-mocks/security/restrictionsActions.mocks.js +256 -0
  607. package/node/mocks/auth-mocks/security/securityCenterActions.mocks.js +109 -0
  608. package/node/mocks/auth-mocks/security/securityPolicyActions.mocks.js +187 -0
  609. package/node/mocks/auth-mocks/security/sessionsPolicyActions.mocks.js +43 -0
  610. package/node/mocks/auth-mocks/sessionsActions.mocks.js +51 -0
  611. package/node/mocks/auth-mocks/signUpActions.mocks.js +13 -0
  612. package/node/mocks/auth-mocks/smsActions.mocks.js +13 -0
  613. package/node/mocks/auth-mocks/socialLoginActions.mocks.js +13 -0
  614. package/node/mocks/auth-mocks/ssoActions.mocks.js +136 -0
  615. package/node/mocks/auth-mocks/stepUpActions.mocks.js +13 -0
  616. package/node/mocks/auth-mocks/teamActions.mocks.js +386 -0
  617. package/node/mocks/auth-mocks/tenantsActions.mocks.js +25 -0
  618. package/node/mocks/connectivity-mocks/index.js +14 -0
  619. package/node/mocks/dummy.js +1010 -0
  620. package/node/mocks/helpers.js +24 -0
  621. package/node/mocks/index.js +32 -0
  622. package/node/mocks/subscriptions-mocks/billingActions-mocks/index.js +25 -0
  623. package/node/mocks/subscriptions-mocks/billingActions-mocks/informationActions.mocks.js +44 -0
  624. package/node/mocks/subscriptions-mocks/billingActions-mocks/invoicesActions.mocks.js +35 -0
  625. package/node/mocks/subscriptions-mocks/billingActions-mocks/paymentMethodActions.mocks.js +27 -0
  626. package/node/mocks/subscriptions-mocks/billingActions-mocks/subscriptionActions.mocks.js +28 -0
  627. package/node/mocks/subscriptions-mocks/checkoutActions.mocks.js +14 -0
  628. package/node/mocks/subscriptions-mocks/configActions.mocks.js +30 -0
  629. package/node/mocks/subscriptions-mocks/index.js +31 -0
  630. package/node/mocks/subscriptions-mocks/plansActions.mocks.js +36 -0
  631. package/node/mocks/subscriptions-mocks/stripeActions.mocks.js +13 -0
  632. package/node/mocks/subscriptions-mocks/vendorPublicConfigActions.mocks.js +25 -0
  633. package/node/mocks/vendor-mocks/index.js +26 -0
  634. package/node/subscriptions/Billing/Information/actions.js +96 -0
  635. package/node/subscriptions/Billing/Information/index.js +13 -28
  636. package/node/subscriptions/Billing/Information/state.js +15 -0
  637. package/node/subscriptions/Billing/Invoices/actions.js +80 -0
  638. package/node/subscriptions/Billing/Invoices/index.js +11 -40
  639. package/node/subscriptions/Billing/Invoices/state.js +20 -0
  640. package/node/subscriptions/Billing/PaymentMethod/actions.js +92 -0
  641. package/node/subscriptions/Billing/PaymentMethod/index.js +11 -37
  642. package/node/subscriptions/Billing/PaymentMethod/interfaces.js +0 -1
  643. package/node/subscriptions/Billing/PaymentMethod/state.js +15 -0
  644. package/node/subscriptions/Billing/Subscription/actions.js +145 -0
  645. package/node/subscriptions/Billing/Subscription/index.js +11 -38
  646. package/node/subscriptions/Billing/Subscription/state.js +23 -0
  647. package/node/subscriptions/Billing/index.js +25 -22
  648. package/node/subscriptions/Checkout/actions.js +108 -0
  649. package/node/subscriptions/Checkout/index.js +13 -34
  650. package/node/subscriptions/Checkout/state.js +16 -0
  651. package/node/subscriptions/Config/actions.js +69 -0
  652. package/node/subscriptions/Config/index.js +13 -26
  653. package/node/subscriptions/Config/state.js +16 -0
  654. package/node/subscriptions/Plans/actions.js +56 -0
  655. package/node/subscriptions/Plans/index.js +13 -25
  656. package/node/subscriptions/Plans/state.js +16 -0
  657. package/node/subscriptions/Stripe/actions.js +50 -0
  658. package/node/subscriptions/Stripe/index.js +13 -26
  659. package/node/subscriptions/Stripe/state.js +15 -0
  660. package/node/subscriptions/VendorPublicConfig/actions.js +51 -0
  661. package/node/subscriptions/VendorPublicConfig/index.js +13 -24
  662. package/node/subscriptions/VendorPublicConfig/state.js +15 -0
  663. package/node/subscriptions/helpers.js +36 -0
  664. package/node/subscriptions/index.js +98 -55
  665. package/node/subscriptions/interfaces.js +20 -77
  666. package/node/toolkit/FronteggNativeModule.js +64 -0
  667. package/node/toolkit/index.js +22 -146
  668. package/node/toolkit/proxy.js +17 -0
  669. package/node/toolkit/store.js +233 -0
  670. package/node/vendor/actions.js +46 -0
  671. package/node/vendor/index.js +7 -55
  672. package/node/vendor/state.js +13 -0
  673. package/package.json +6 -5
  674. package/subscriptions/Billing/Information/actions.d.ts +9 -0
  675. package/subscriptions/Billing/Information/actions.js +88 -0
  676. package/subscriptions/Billing/Information/index.d.ts +3 -12
  677. package/subscriptions/Billing/Information/index.js +3 -26
  678. package/subscriptions/Billing/Information/interfaces.d.ts +1 -1
  679. package/subscriptions/Billing/Information/state.d.ts +4 -0
  680. package/subscriptions/Billing/Information/state.js +7 -0
  681. package/subscriptions/Billing/Invoices/actions.d.ts +11 -0
  682. package/subscriptions/Billing/Invoices/actions.js +73 -0
  683. package/subscriptions/Billing/Invoices/index.d.ts +3 -18
  684. package/subscriptions/Billing/Invoices/index.js +3 -40
  685. package/subscriptions/Billing/Invoices/interfaces.d.ts +1 -1
  686. package/subscriptions/Billing/Invoices/state.d.ts +4 -0
  687. package/subscriptions/Billing/Invoices/state.js +12 -0
  688. package/subscriptions/Billing/PaymentMethod/actions.d.ts +12 -0
  689. package/subscriptions/Billing/PaymentMethod/actions.js +84 -0
  690. package/subscriptions/Billing/PaymentMethod/index.d.ts +3 -20
  691. package/subscriptions/Billing/PaymentMethod/index.js +3 -37
  692. package/subscriptions/Billing/PaymentMethod/interfaces.d.ts +1 -1
  693. package/subscriptions/Billing/PaymentMethod/interfaces.js +0 -2
  694. package/subscriptions/Billing/PaymentMethod/state.d.ts +4 -0
  695. package/subscriptions/Billing/PaymentMethod/state.js +7 -0
  696. package/subscriptions/Billing/Subscription/actions.d.ts +14 -0
  697. package/subscriptions/Billing/Subscription/actions.js +138 -0
  698. package/subscriptions/Billing/Subscription/index.d.ts +3 -16
  699. package/subscriptions/Billing/Subscription/index.js +3 -38
  700. package/subscriptions/Billing/Subscription/interfaces.d.ts +0 -3
  701. package/subscriptions/Billing/Subscription/state.d.ts +4 -0
  702. package/subscriptions/Billing/Subscription/state.js +15 -0
  703. package/subscriptions/Billing/index.d.ts +13 -52
  704. package/subscriptions/Billing/index.js +25 -22
  705. package/subscriptions/Billing/interfaces.d.ts +4 -10
  706. package/subscriptions/Billing/interfaces.js +0 -2
  707. package/subscriptions/Checkout/actions.d.ts +12 -0
  708. package/subscriptions/Checkout/actions.js +100 -0
  709. package/subscriptions/Checkout/index.d.ts +3 -14
  710. package/subscriptions/Checkout/index.js +3 -32
  711. package/subscriptions/Checkout/interfaces.d.ts +0 -7
  712. package/subscriptions/Checkout/state.d.ts +4 -0
  713. package/subscriptions/Checkout/state.js +8 -0
  714. package/subscriptions/Config/actions.d.ts +8 -0
  715. package/subscriptions/Config/actions.js +62 -0
  716. package/subscriptions/Config/index.d.ts +3 -10
  717. package/subscriptions/Config/index.js +3 -24
  718. package/subscriptions/Config/interfaces.d.ts +1 -1
  719. package/subscriptions/Config/state.d.ts +4 -0
  720. package/subscriptions/Config/state.js +8 -0
  721. package/subscriptions/Plans/actions.d.ts +8 -0
  722. package/subscriptions/Plans/actions.js +49 -0
  723. package/subscriptions/Plans/index.d.ts +3 -10
  724. package/subscriptions/Plans/index.js +3 -23
  725. package/subscriptions/Plans/interfaces.d.ts +1 -4
  726. package/subscriptions/Plans/state.d.ts +4 -0
  727. package/subscriptions/Plans/state.js +8 -0
  728. package/subscriptions/Stripe/actions.d.ts +6 -0
  729. package/subscriptions/Stripe/actions.js +43 -0
  730. package/subscriptions/Stripe/index.d.ts +3 -11
  731. package/subscriptions/Stripe/index.js +3 -24
  732. package/subscriptions/Stripe/state.d.ts +4 -0
  733. package/subscriptions/Stripe/state.js +7 -0
  734. package/subscriptions/VendorPublicConfig/actions.d.ts +10 -0
  735. package/subscriptions/VendorPublicConfig/actions.js +44 -0
  736. package/subscriptions/VendorPublicConfig/index.d.ts +3 -10
  737. package/subscriptions/VendorPublicConfig/index.js +3 -22
  738. package/subscriptions/VendorPublicConfig/state.d.ts +4 -0
  739. package/subscriptions/VendorPublicConfig/state.js +7 -0
  740. package/subscriptions/helpers.d.ts +5 -0
  741. package/subscriptions/helpers.js +28 -0
  742. package/subscriptions/index.d.ts +28 -106
  743. package/subscriptions/index.js +40 -17
  744. package/subscriptions/interfaces.d.ts +56 -22
  745. package/subscriptions/interfaces.js +16 -8
  746. package/toolkit/FronteggNativeModule.d.ts +29 -0
  747. package/toolkit/FronteggNativeModule.js +57 -0
  748. package/toolkit/index.d.ts +5 -23
  749. package/toolkit/index.js +3 -128
  750. package/toolkit/proxy.d.ts +1 -0
  751. package/toolkit/proxy.js +9 -0
  752. package/toolkit/store.d.ts +59 -0
  753. package/toolkit/store.js +198 -0
  754. package/vendor/actions.d.ts +12 -0
  755. package/vendor/actions.js +38 -0
  756. package/vendor/index.d.ts +4 -17
  757. package/vendor/index.js +3 -16
  758. package/vendor/interfaces.d.ts +4 -1
  759. package/vendor/state.d.ts +4 -0
  760. package/vendor/state.js +5 -0
  761. package/audits/AuditLogsState/saga.d.ts +0 -2
  762. package/audits/AuditLogsState/saga.js +0 -153
  763. package/audits/AuditsMetadataState/saga.d.ts +0 -2
  764. package/audits/AuditsMetadataState/saga.js +0 -55
  765. package/audits/backward-compatibility/index.d.ts +0 -4
  766. package/audits/backward-compatibility/index.js +0 -4
  767. package/audits/backward-compatibility/initialState.d.ts +0 -2
  768. package/audits/backward-compatibility/initialState.js +0 -20
  769. package/audits/backward-compatibility/interfaces.d.ts +0 -55
  770. package/audits/backward-compatibility/reducer.d.ts +0 -35
  771. package/audits/backward-compatibility/reducer.js +0 -129
  772. package/audits/backward-compatibility/saga.d.ts +0 -1
  773. package/audits/backward-compatibility/saga.js +0 -173
  774. package/audits/initialState.d.ts +0 -2
  775. package/audits/initialState.js +0 -6
  776. package/audits/reducer.d.ts +0 -31
  777. package/audits/reducer.js +0 -21
  778. package/audits/saga.d.ts +0 -2
  779. package/audits/saga.js +0 -9
  780. package/audits/utils.d.ts +0 -14
  781. package/audits/utils.js +0 -13
  782. package/auth/AcceptInvitationState/saga.d.ts +0 -1
  783. package/auth/AcceptInvitationState/saga.js +0 -39
  784. package/auth/AccountSettingsState/saga.d.ts +0 -2
  785. package/auth/AccountSettingsState/saga.js +0 -127
  786. package/auth/ActivateState/index.d.ts +0 -190
  787. package/auth/ActivateState/index.js +0 -46
  788. package/auth/ActivateState/saga.d.ts +0 -1
  789. package/auth/ActivateState/saga.js +0 -191
  790. package/auth/ApiTokensState/saga.d.ts +0 -2
  791. package/auth/ApiTokensState/saga.js +0 -485
  792. package/auth/CustomLoginState/saga.d.ts +0 -20
  793. package/auth/CustomLoginState/saga.js +0 -152
  794. package/auth/CustomLoginState/utils.d.ts +0 -2
  795. package/auth/CustomLoginState/utils.js +0 -11
  796. package/auth/Entitlements/saga.d.ts +0 -30
  797. package/auth/Entitlements/saga.js +0 -51
  798. package/auth/Entitlements/utils.d.ts +0 -23
  799. package/auth/Entitlements/utils.js +0 -71
  800. package/auth/ForgotPasswordState/saga.d.ts +0 -8
  801. package/auth/ForgotPasswordState/saga.js +0 -81
  802. package/auth/GroupsState/groupsDialogsState.d.ts +0 -614
  803. package/auth/GroupsState/groupsDialogsState.js +0 -79
  804. package/auth/GroupsState/saga.d.ts +0 -2
  805. package/auth/GroupsState/saga.js +0 -640
  806. package/auth/Helpers/base64ToFormData.d.ts +0 -1
  807. package/auth/Helpers/base64ToFormData.js +0 -37
  808. package/auth/Helpers/index.d.ts +0 -2
  809. package/auth/Helpers/index.js +0 -2
  810. package/auth/Helpers/isAuthRoute.d.ts +0 -2
  811. package/auth/Helpers/isAuthRoute.js +0 -9
  812. package/auth/ImpersonationState/index.d.ts +0 -117
  813. package/auth/ImpersonationState/index.js +0 -32
  814. package/auth/ImpersonationState/interfaces.d.ts +0 -14
  815. package/auth/ImpersonationState/saga.d.ts +0 -1
  816. package/auth/ImpersonationState/saga.js +0 -37
  817. package/auth/LoginState/mfaRequiredState.saga.d.ts +0 -32
  818. package/auth/LoginState/mfaRequiredState.saga.js +0 -61
  819. package/auth/LoginState/saga.d.ts +0 -35
  820. package/auth/LoginState/saga.js +0 -1967
  821. package/auth/LoginState/utils.d.ts +0 -27
  822. package/auth/LoginState/utils.js +0 -126
  823. package/auth/MSP/AllAccountsState/allAccountsDialogsState.d.ts +0 -767
  824. package/auth/MSP/AllAccountsState/allAccountsDialogsState.js +0 -89
  825. package/auth/MSP/AllAccountsState/index.d.ts +0 -232
  826. package/auth/MSP/AllAccountsState/index.js +0 -101
  827. package/auth/MSP/AllAccountsState/saga.d.ts +0 -3
  828. package/auth/MSP/AllAccountsState/saga.js +0 -825
  829. package/auth/MSP/AllAccountsState/types/dialogsStateTypes.d.ts +0 -49
  830. package/auth/MSP/AllAccountsState/types/stateTypes.d.ts +0 -106
  831. package/auth/MSP/AllAccountsState/types/stateTypes.js +0 -22
  832. package/auth/MSP/AllAccountsState/utils/appendChildrenToNode.d.ts +0 -2
  833. package/auth/MSP/AllAccountsState/utils/getAccountsWithUsersCount.d.ts +0 -13
  834. package/auth/MSP/AllAccountsState/utils/getAccountsWithUsersCount.js +0 -19
  835. package/auth/MSP/AllAccountsState/utils/removeNodeFromTree.d.ts +0 -2
  836. package/auth/MSP/AllAccountsState/utils/updateNodeName.d.ts +0 -2
  837. package/auth/MfaState/saga.d.ts +0 -2
  838. package/auth/MfaState/saga.js +0 -673
  839. package/auth/PasskeysState/helpers.d.ts +0 -2
  840. package/auth/PasskeysState/helpers.js +0 -8
  841. package/auth/PasskeysState/saga.d.ts +0 -14
  842. package/auth/PasskeysState/saga.js +0 -56
  843. package/auth/ProfileState/saga.d.ts +0 -2
  844. package/auth/ProfileState/saga.js +0 -178
  845. package/auth/Provisioning/index.d.ts +0 -128
  846. package/auth/Provisioning/index.js +0 -37
  847. package/auth/Provisioning/saga.d.ts +0 -1
  848. package/auth/Provisioning/saga.js +0 -121
  849. package/auth/ResetPhoneNumberState/saga.d.ts +0 -17
  850. package/auth/ResetPhoneNumberState/saga.js +0 -119
  851. package/auth/RolesState/saga.d.ts +0 -2
  852. package/auth/RolesState/saga.js +0 -208
  853. package/auth/SSOState/saga.d.ts +0 -2
  854. package/auth/SSOState/saga.js +0 -478
  855. package/auth/SSOState/saga.v2.d.ts +0 -1
  856. package/auth/SSOState/saga.v2.js +0 -546
  857. package/auth/Security/RestrictionsState/saga.d.ts +0 -2
  858. package/auth/Security/RestrictionsState/saga.js +0 -698
  859. package/auth/Security/SecurityCenterState/saga.d.ts +0 -129
  860. package/auth/Security/SecurityCenterState/saga.js +0 -419
  861. package/auth/Security/SecurityCenterState/types.d.ts +0 -28
  862. package/auth/Security/SecurityCenterState/types.js +0 -10
  863. package/auth/Security/SecurityPolicyState/saga.d.ts +0 -50
  864. package/auth/Security/SecurityPolicyState/saga.js +0 -560
  865. package/auth/Security/SessionsPolicyState/saga.d.ts +0 -2
  866. package/auth/Security/SessionsPolicyState/saga.js +0 -87
  867. package/auth/SessionsState/saga.d.ts +0 -2
  868. package/auth/SessionsState/saga.js +0 -152
  869. package/auth/SignUp/index.d.ts +0 -118
  870. package/auth/SignUp/index.js +0 -36
  871. package/auth/SignUp/saga.d.ts +0 -64
  872. package/auth/SignUp/saga.js +0 -134
  873. package/auth/SocialLogins/index.d.ts +0 -123
  874. package/auth/SocialLogins/index.js +0 -37
  875. package/auth/SocialLogins/saga.d.ts +0 -11
  876. package/auth/SocialLogins/saga.js +0 -152
  877. package/auth/TeamState/saga.d.ts +0 -2
  878. package/auth/TeamState/saga.js +0 -1278
  879. package/auth/TenantsState/saga.d.ts +0 -2
  880. package/auth/TenantsState/saga.js +0 -125
  881. package/auth/dummy.d.ts +0 -45
  882. package/auth/dummy.js +0 -590
  883. package/auth/initialState.d.ts +0 -3
  884. package/auth/initialState.js +0 -66
  885. package/auth/reducer.d.ts +0 -720
  886. package/auth/reducer.js +0 -54
  887. package/auth/saga.d.ts +0 -2
  888. package/auth/saga.js +0 -41
  889. package/auth/utils.d.ts +0 -327
  890. package/auth/utils.js +0 -159
  891. package/connectivity/ConnectivityState/index.d.ts +0 -301
  892. package/connectivity/ConnectivityState/index.js +0 -101
  893. package/connectivity/reducer.d.ts +0 -31
  894. package/connectivity/reducer.js +0 -23
  895. package/connectivity/saga.d.ts +0 -1
  896. package/connectivity/saga.js +0 -562
  897. package/fronteggState.d.ts +0 -28
  898. package/helpers.d.ts +0 -8
  899. package/helpers.js +0 -56
  900. package/node/audits/AuditLogsState/saga.js +0 -161
  901. package/node/audits/AuditsMetadataState/saga.js +0 -62
  902. package/node/audits/backward-compatibility/index.js +0 -49
  903. package/node/audits/backward-compatibility/initialState.js +0 -27
  904. package/node/audits/backward-compatibility/reducer.js +0 -139
  905. package/node/audits/backward-compatibility/saga.js +0 -180
  906. package/node/audits/initialState.js +0 -13
  907. package/node/audits/reducer.js +0 -29
  908. package/node/audits/saga.js +0 -16
  909. package/node/audits/utils.js +0 -21
  910. package/node/auth/AcceptInvitationState/saga.js +0 -45
  911. package/node/auth/AccountSettingsState/saga.js +0 -135
  912. package/node/auth/ActivateState/index.js +0 -53
  913. package/node/auth/ActivateState/saga.js +0 -198
  914. package/node/auth/ApiTokensState/saga.js +0 -493
  915. package/node/auth/CustomLoginState/saga.js +0 -163
  916. package/node/auth/CustomLoginState/utils.js +0 -18
  917. package/node/auth/Entitlements/saga.js +0 -61
  918. package/node/auth/Entitlements/utils.js +0 -80
  919. package/node/auth/ForgotPasswordState/saga.js +0 -89
  920. package/node/auth/GroupsState/groupsDialogsState.js +0 -87
  921. package/node/auth/GroupsState/saga.js +0 -648
  922. package/node/auth/Helpers/base64ToFormData.js +0 -43
  923. package/node/auth/Helpers/index.js +0 -27
  924. package/node/auth/Helpers/isAuthRoute.js +0 -17
  925. package/node/auth/ImpersonationState/index.js +0 -39
  926. package/node/auth/ImpersonationState/saga.js +0 -44
  927. package/node/auth/LoginState/mfaRequiredState.saga.js +0 -68
  928. package/node/auth/LoginState/saga.js +0 -1981
  929. package/node/auth/LoginState/utils.js +0 -142
  930. package/node/auth/MSP/AllAccountsState/allAccountsDialogsState.js +0 -96
  931. package/node/auth/MSP/AllAccountsState/index.js +0 -126
  932. package/node/auth/MSP/AllAccountsState/saga.js +0 -835
  933. package/node/auth/MSP/AllAccountsState/types/stateTypes.js +0 -27
  934. package/node/auth/MSP/AllAccountsState/utils/getAccountsWithUsersCount.js +0 -26
  935. package/node/auth/MfaState/saga.js +0 -681
  936. package/node/auth/PasskeysState/helpers.js +0 -15
  937. package/node/auth/PasskeysState/saga.js +0 -64
  938. package/node/auth/ProfileState/saga.js +0 -186
  939. package/node/auth/Provisioning/index.js +0 -44
  940. package/node/auth/Provisioning/saga.js +0 -128
  941. package/node/auth/ResetPhoneNumberState/saga.js +0 -127
  942. package/node/auth/RolesState/saga.js +0 -216
  943. package/node/auth/SSOState/saga.js +0 -486
  944. package/node/auth/SSOState/saga.v2.js +0 -553
  945. package/node/auth/Security/RestrictionsState/saga.js +0 -706
  946. package/node/auth/Security/SecurityCenterState/saga.js +0 -441
  947. package/node/auth/Security/SecurityCenterState/types.js +0 -17
  948. package/node/auth/Security/SecurityPolicyState/saga.js +0 -574
  949. package/node/auth/Security/SessionsPolicyState/saga.js +0 -95
  950. package/node/auth/SessionsState/saga.js +0 -159
  951. package/node/auth/SignUp/index.js +0 -43
  952. package/node/auth/SignUp/saga.js +0 -144
  953. package/node/auth/SocialLogins/index.js +0 -44
  954. package/node/auth/SocialLogins/saga.js +0 -161
  955. package/node/auth/TeamState/saga.js +0 -1286
  956. package/node/auth/TenantsState/saga.js +0 -132
  957. package/node/auth/dummy.js +0 -633
  958. package/node/auth/initialState.js +0 -75
  959. package/node/auth/reducer.js +0 -62
  960. package/node/auth/saga.js +0 -48
  961. package/node/auth/utils.js +0 -178
  962. package/node/connectivity/ConnectivityState/index.js +0 -108
  963. package/node/connectivity/reducer.js +0 -32
  964. package/node/connectivity/saga.js +0 -567
  965. package/node/helpers.js +0 -70
  966. package/node/subscriptions/Billing/Information/saga.js +0 -122
  967. package/node/subscriptions/Billing/Invoices/saga.js +0 -85
  968. package/node/subscriptions/Billing/PaymentMethod/saga.js +0 -87
  969. package/node/subscriptions/Billing/Subscription/loadSubscription.saga.js +0 -26
  970. package/node/subscriptions/Billing/Subscription/saga.js +0 -101
  971. package/node/subscriptions/Billing/saga.js +0 -18
  972. package/node/subscriptions/Checkout/saga.js +0 -116
  973. package/node/subscriptions/Config/saga.js +0 -65
  974. package/node/subscriptions/Plans/saga.js +0 -66
  975. package/node/subscriptions/Stripe/saga.js +0 -37
  976. package/node/subscriptions/VendorPublicConfig/saga.js +0 -45
  977. package/node/subscriptions/general.interfaces.js +0 -25
  978. package/node/subscriptions/mapper.js +0 -40
  979. package/node/subscriptions/reducer.js +0 -48
  980. package/node/subscriptions/saga.js +0 -20
  981. package/node/subscriptions/utils.js +0 -62
  982. package/node/toolkit/redux-saga-tools.js +0 -56
  983. package/node/toolkit/redux.js +0 -42
  984. package/node/utils/gtm.js +0 -29
  985. package/node/utils/index.js +0 -38
  986. package/node/vendor/VendorState/index.js +0 -31
  987. package/node/vendor/reducer.js +0 -26
  988. package/node/vendor/saga.js +0 -52
  989. package/subscriptions/Billing/Information/saga.d.ts +0 -34
  990. package/subscriptions/Billing/Information/saga.js +0 -111
  991. package/subscriptions/Billing/Invoices/saga.d.ts +0 -13
  992. package/subscriptions/Billing/Invoices/saga.js +0 -76
  993. package/subscriptions/Billing/PaymentMethod/saga.d.ts +0 -13
  994. package/subscriptions/Billing/PaymentMethod/saga.js +0 -78
  995. package/subscriptions/Billing/Subscription/loadSubscription.saga.d.ts +0 -1
  996. package/subscriptions/Billing/Subscription/loadSubscription.saga.js +0 -21
  997. package/subscriptions/Billing/Subscription/saga.d.ts +0 -2
  998. package/subscriptions/Billing/Subscription/saga.js +0 -94
  999. package/subscriptions/Billing/saga.d.ts +0 -2
  1000. package/subscriptions/Billing/saga.js +0 -11
  1001. package/subscriptions/Checkout/saga.d.ts +0 -5
  1002. package/subscriptions/Checkout/saga.js +0 -108
  1003. package/subscriptions/Config/saga.d.ts +0 -2
  1004. package/subscriptions/Config/saga.js +0 -58
  1005. package/subscriptions/Plans/saga.d.ts +0 -2
  1006. package/subscriptions/Plans/saga.js +0 -58
  1007. package/subscriptions/Stripe/saga.d.ts +0 -1
  1008. package/subscriptions/Stripe/saga.js +0 -31
  1009. package/subscriptions/VendorPublicConfig/saga.d.ts +0 -2
  1010. package/subscriptions/VendorPublicConfig/saga.js +0 -38
  1011. package/subscriptions/general.interfaces.d.ts +0 -49
  1012. package/subscriptions/general.interfaces.js +0 -16
  1013. package/subscriptions/mapper.d.ts +0 -6
  1014. package/subscriptions/mapper.js +0 -31
  1015. package/subscriptions/reducer.d.ts +0 -99
  1016. package/subscriptions/reducer.js +0 -33
  1017. package/subscriptions/saga.d.ts +0 -2
  1018. package/subscriptions/saga.js +0 -13
  1019. package/subscriptions/utils.d.ts +0 -68
  1020. package/subscriptions/utils.js +0 -52
  1021. package/toolkit/interfaces.d.ts +0 -7
  1022. package/toolkit/redux-saga-tools.d.ts +0 -4
  1023. package/toolkit/redux-saga-tools.js +0 -3
  1024. package/toolkit/redux-types.d.ts +0 -3
  1025. package/toolkit/redux.d.ts +0 -4
  1026. package/toolkit/redux.js +0 -1
  1027. package/utils/gtm.d.ts +0 -28
  1028. package/utils/gtm.js +0 -22
  1029. package/utils/index.d.ts +0 -3
  1030. package/utils/index.js +0 -3
  1031. package/utils/package.json +0 -6
  1032. package/utils/sha256.d.ts +0 -22
  1033. package/utils/sha256.js +0 -425
  1034. package/vendor/VendorState/index.d.ts +0 -21
  1035. package/vendor/VendorState/index.js +0 -24
  1036. package/vendor/reducer.d.ts +0 -8
  1037. package/vendor/reducer.js +0 -17
  1038. package/vendor/saga.d.ts +0 -8
  1039. package/vendor/saga.js +0 -44
  1040. /package/{audits/backward-compatibility → audits-backward-compatibility}/interfaces.js +0 -0
  1041. /package/auth/{ActivateState → ActivateAccountState}/interfaces.d.ts +0 -0
  1042. /package/auth/{ActivateState → ActivateAccountState}/interfaces.js +0 -0
  1043. /package/auth/{Provisioning → ApplicationsState}/interfaces.js +0 -0
  1044. /package/auth/{SocialLogins → GroupsDialogsState}/interfaces.js +0 -0
  1045. /package/auth/{ImpersonationState → ImpersonateState}/interfaces.js +0 -0
  1046. /package/auth/MSP/{AllAccountsState/utils → helpers}/appendChildrenToNode.js +0 -0
  1047. /package/auth/MSP/{AllAccountsState/utils → helpers}/removeNodeFromTree.js +0 -0
  1048. /package/auth/MSP/{AllAccountsState/utils → helpers}/updateNodeName.js +0 -0
  1049. /package/auth/MSP/{AllAccountsState/types → interfaces}/dialogsStateTypes.js +0 -0
  1050. /package/auth/MSP/{AllAccountsState/types → interfaces}/index.d.ts +0 -0
  1051. /package/auth/MSP/{AllAccountsState/types → interfaces}/index.js +0 -0
  1052. /package/auth/{Provisioning → ProvisioningState}/interfaces.d.ts +0 -0
  1053. /package/{toolkit → auth/ProvisioningState}/interfaces.js +0 -0
  1054. /package/auth/{SignUp → SignUpState}/interfaces.d.ts +0 -0
  1055. /package/auth/{SignUp → SignUpState}/interfaces.js +0 -0
  1056. /package/{fronteggState.js → auth/SmsState/interfaces.js} +0 -0
  1057. /package/auth/{SocialLogins → SocialLoginState}/interfaces.d.ts +0 -0
  1058. /package/{toolkit/redux-types.js → auth/SocialLoginState/interfaces.js} +0 -0
  1059. /package/{utils/errorHandler.d.ts → helpers/handlers.d.ts} +0 -0
  1060. /package/{utils/errorHandler.js → helpers/handlers.js} +0 -0
  1061. /package/{audits → mocks/audits-mocks}/dummy.d.ts +0 -0
  1062. /package/{audits → mocks/audits-mocks}/dummy.js +0 -0
  1063. /package/{subscriptions → mocks/subscriptions-mocks}/dummy.d.ts +0 -0
  1064. /package/{subscriptions → mocks/subscriptions-mocks}/dummy.js +0 -0
  1065. /package/node/{audits/backward-compatibility → audits-backward-compatibility}/interfaces.js +0 -0
  1066. /package/node/auth/{ActivateState → ActivateAccountState}/interfaces.js +0 -0
  1067. /package/node/auth/{Provisioning → ApplicationsState}/interfaces.js +0 -0
  1068. /package/node/auth/{SocialLogins → GroupsDialogsState}/interfaces.js +0 -0
  1069. /package/node/auth/{ImpersonationState → ImpersonateState}/interfaces.js +0 -0
  1070. /package/node/auth/MSP/{AllAccountsState/utils → helpers}/appendChildrenToNode.js +0 -0
  1071. /package/node/auth/MSP/{AllAccountsState/utils → helpers}/removeNodeFromTree.js +0 -0
  1072. /package/node/auth/MSP/{AllAccountsState/utils → helpers}/updateNodeName.js +0 -0
  1073. /package/node/auth/MSP/{AllAccountsState/types → interfaces}/dialogsStateTypes.js +0 -0
  1074. /package/node/auth/MSP/{AllAccountsState/types → interfaces}/index.js +0 -0
  1075. /package/node/{toolkit → auth/ProvisioningState}/interfaces.js +0 -0
  1076. /package/node/auth/{SignUp → SignUpState}/interfaces.js +0 -0
  1077. /package/node/{fronteggState.js → auth/SmsState/interfaces.js} +0 -0
  1078. /package/node/{toolkit/redux-types.js → auth/SocialLoginState/interfaces.js} +0 -0
  1079. /package/node/{utils/errorHandler.js → helpers/handlers.js} +0 -0
  1080. /package/node/{utils → helpers}/sha256.js +0 -0
  1081. /package/node/{audits → mocks/audits-mocks}/dummy.js +0 -0
  1082. /package/node/{subscriptions → mocks/subscriptions-mocks}/dummy.js +0 -0
@@ -1,58 +1,17 @@
1
1
  "use strict";
2
2
 
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
3
4
  Object.defineProperty(exports, "__esModule", {
4
5
  value: true
5
6
  });
6
7
  var _exportNames = {
7
- authReducers: true,
8
- authActions: true,
9
- authMockSagas: true,
10
- authSagas: true,
11
- authStoreName: true,
12
- authInitialState: true
8
+ createAuthState: true,
9
+ buildAuthActions: true
13
10
  };
14
- Object.defineProperty(exports, "authActions", {
15
- enumerable: true,
16
- get: function () {
17
- return _reducer.actions;
18
- }
19
- });
20
- Object.defineProperty(exports, "authInitialState", {
21
- enumerable: true,
22
- get: function () {
23
- return _initialState.initialState;
24
- }
25
- });
26
- Object.defineProperty(exports, "authMockSagas", {
27
- enumerable: true,
28
- get: function () {
29
- return _saga.mockSagas;
30
- }
31
- });
32
- Object.defineProperty(exports, "authReducers", {
33
- enumerable: true,
34
- get: function () {
35
- return _reducer.reducer;
36
- }
37
- });
38
- Object.defineProperty(exports, "authSagas", {
39
- enumerable: true,
40
- get: function () {
41
- return _saga.sagas;
42
- }
43
- });
44
- Object.defineProperty(exports, "authStoreName", {
45
- enumerable: true,
46
- get: function () {
47
- return _constants.authStoreName;
48
- }
49
- });
50
- exports.default = void 0;
51
- var _reducer = require("./reducer");
52
- var _saga = require("./saga");
53
- var _constants = require("../constants");
54
- var _initialState = require("./initialState");
55
- var _interfaces = require("./interfaces");
11
+ exports.createAuthState = exports.buildAuthActions = void 0;
12
+ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
13
+ var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose"));
14
+ var _interfaces = require("./AcceptInvitationState/interfaces");
56
15
  Object.keys(_interfaces).forEach(function (key) {
57
16
  if (key === "default" || key === "__esModule") return;
58
17
  if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
@@ -64,7 +23,7 @@ Object.keys(_interfaces).forEach(function (key) {
64
23
  }
65
24
  });
66
25
  });
67
- var _interfaces2 = require("./LoginState/interfaces");
26
+ var _interfaces2 = require("./AccountSettingsState/interfaces");
68
27
  Object.keys(_interfaces2).forEach(function (key) {
69
28
  if (key === "default" || key === "__esModule") return;
70
29
  if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
@@ -76,19 +35,7 @@ Object.keys(_interfaces2).forEach(function (key) {
76
35
  }
77
36
  });
78
37
  });
79
- var _LoginState = require("./LoginState");
80
- Object.keys(_LoginState).forEach(function (key) {
81
- if (key === "default" || key === "__esModule") return;
82
- if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
83
- if (key in exports && exports[key] === _LoginState[key]) return;
84
- Object.defineProperty(exports, key, {
85
- enumerable: true,
86
- get: function () {
87
- return _LoginState[key];
88
- }
89
- });
90
- });
91
- var _interfaces3 = require("./ActivateState/interfaces");
38
+ var _interfaces3 = require("./ActivateAccountState/interfaces");
92
39
  Object.keys(_interfaces3).forEach(function (key) {
93
40
  if (key === "default" || key === "__esModule") return;
94
41
  if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
@@ -100,19 +47,7 @@ Object.keys(_interfaces3).forEach(function (key) {
100
47
  }
101
48
  });
102
49
  });
103
- var _ActivateState = require("./ActivateState");
104
- Object.keys(_ActivateState).forEach(function (key) {
105
- if (key === "default" || key === "__esModule") return;
106
- if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
107
- if (key in exports && exports[key] === _ActivateState[key]) return;
108
- Object.defineProperty(exports, key, {
109
- enumerable: true,
110
- get: function () {
111
- return _ActivateState[key];
112
- }
113
- });
114
- });
115
- var _interfaces4 = require("./ImpersonationState/interfaces");
50
+ var _interfaces4 = require("./ApiTokensState/interfaces");
116
51
  Object.keys(_interfaces4).forEach(function (key) {
117
52
  if (key === "default" || key === "__esModule") return;
118
53
  if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
@@ -124,19 +59,7 @@ Object.keys(_interfaces4).forEach(function (key) {
124
59
  }
125
60
  });
126
61
  });
127
- var _ImpersonationState = require("./ImpersonationState");
128
- Object.keys(_ImpersonationState).forEach(function (key) {
129
- if (key === "default" || key === "__esModule") return;
130
- if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
131
- if (key in exports && exports[key] === _ImpersonationState[key]) return;
132
- Object.defineProperty(exports, key, {
133
- enumerable: true,
134
- get: function () {
135
- return _ImpersonationState[key];
136
- }
137
- });
138
- });
139
- var _interfaces5 = require("./AcceptInvitationState/interfaces");
62
+ var _interfaces5 = require("./ApplicationsState/interfaces");
140
63
  Object.keys(_interfaces5).forEach(function (key) {
141
64
  if (key === "default" || key === "__esModule") return;
142
65
  if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
@@ -148,19 +71,7 @@ Object.keys(_interfaces5).forEach(function (key) {
148
71
  }
149
72
  });
150
73
  });
151
- var _AcceptInvitationState = require("./AcceptInvitationState");
152
- Object.keys(_AcceptInvitationState).forEach(function (key) {
153
- if (key === "default" || key === "__esModule") return;
154
- if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
155
- if (key in exports && exports[key] === _AcceptInvitationState[key]) return;
156
- Object.defineProperty(exports, key, {
157
- enumerable: true,
158
- get: function () {
159
- return _AcceptInvitationState[key];
160
- }
161
- });
162
- });
163
- var _interfaces6 = require("./ForgotPasswordState/interfaces");
74
+ var _interfaces6 = require("./CustomLoginState/interfaces");
164
75
  Object.keys(_interfaces6).forEach(function (key) {
165
76
  if (key === "default" || key === "__esModule") return;
166
77
  if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
@@ -172,19 +83,7 @@ Object.keys(_interfaces6).forEach(function (key) {
172
83
  }
173
84
  });
174
85
  });
175
- var _ForgotPasswordState = require("./ForgotPasswordState");
176
- Object.keys(_ForgotPasswordState).forEach(function (key) {
177
- if (key === "default" || key === "__esModule") return;
178
- if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
179
- if (key in exports && exports[key] === _ForgotPasswordState[key]) return;
180
- Object.defineProperty(exports, key, {
181
- enumerable: true,
182
- get: function () {
183
- return _ForgotPasswordState[key];
184
- }
185
- });
186
- });
187
- var _interfaces7 = require("./ResetPhoneNumberState/interfaces");
86
+ var _interfaces7 = require("./Entitlements/interfaces");
188
87
  Object.keys(_interfaces7).forEach(function (key) {
189
88
  if (key === "default" || key === "__esModule") return;
190
89
  if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
@@ -196,19 +95,19 @@ Object.keys(_interfaces7).forEach(function (key) {
196
95
  }
197
96
  });
198
97
  });
199
- var _ResetPhoneNumberState = require("./ResetPhoneNumberState");
200
- Object.keys(_ResetPhoneNumberState).forEach(function (key) {
98
+ var _helpers = require("./Entitlements/helpers");
99
+ Object.keys(_helpers).forEach(function (key) {
201
100
  if (key === "default" || key === "__esModule") return;
202
101
  if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
203
- if (key in exports && exports[key] === _ResetPhoneNumberState[key]) return;
102
+ if (key in exports && exports[key] === _helpers[key]) return;
204
103
  Object.defineProperty(exports, key, {
205
104
  enumerable: true,
206
105
  get: function () {
207
- return _ResetPhoneNumberState[key];
106
+ return _helpers[key];
208
107
  }
209
108
  });
210
109
  });
211
- var _interfaces8 = require("./SSOState/interfaces");
110
+ var _interfaces8 = require("./ForgotPasswordState/interfaces");
212
111
  Object.keys(_interfaces8).forEach(function (key) {
213
112
  if (key === "default" || key === "__esModule") return;
214
113
  if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
@@ -220,19 +119,7 @@ Object.keys(_interfaces8).forEach(function (key) {
220
119
  }
221
120
  });
222
121
  });
223
- var _SSOState = require("./SSOState");
224
- Object.keys(_SSOState).forEach(function (key) {
225
- if (key === "default" || key === "__esModule") return;
226
- if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
227
- if (key in exports && exports[key] === _SSOState[key]) return;
228
- Object.defineProperty(exports, key, {
229
- enumerable: true,
230
- get: function () {
231
- return _SSOState[key];
232
- }
233
- });
234
- });
235
- var _interfaces9 = require("./MfaState/interfaces");
122
+ var _interfaces9 = require("./GroupsState/interfaces");
236
123
  Object.keys(_interfaces9).forEach(function (key) {
237
124
  if (key === "default" || key === "__esModule") return;
238
125
  if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
@@ -244,19 +131,7 @@ Object.keys(_interfaces9).forEach(function (key) {
244
131
  }
245
132
  });
246
133
  });
247
- var _MfaState = require("./MfaState");
248
- Object.keys(_MfaState).forEach(function (key) {
249
- if (key === "default" || key === "__esModule") return;
250
- if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
251
- if (key in exports && exports[key] === _MfaState[key]) return;
252
- Object.defineProperty(exports, key, {
253
- enumerable: true,
254
- get: function () {
255
- return _MfaState[key];
256
- }
257
- });
258
- });
259
- var _interfaces10 = require("./ProfileState/interfaces");
134
+ var _interfaces10 = require("./GroupsDialogsState/interfaces");
260
135
  Object.keys(_interfaces10).forEach(function (key) {
261
136
  if (key === "default" || key === "__esModule") return;
262
137
  if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
@@ -268,19 +143,7 @@ Object.keys(_interfaces10).forEach(function (key) {
268
143
  }
269
144
  });
270
145
  });
271
- var _ProfileState = require("./ProfileState");
272
- Object.keys(_ProfileState).forEach(function (key) {
273
- if (key === "default" || key === "__esModule") return;
274
- if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
275
- if (key in exports && exports[key] === _ProfileState[key]) return;
276
- Object.defineProperty(exports, key, {
277
- enumerable: true,
278
- get: function () {
279
- return _ProfileState[key];
280
- }
281
- });
282
- });
283
- var _interfaces11 = require("./TeamState/interfaces");
146
+ var _interfaces11 = require("./ImpersonateState/interfaces");
284
147
  Object.keys(_interfaces11).forEach(function (key) {
285
148
  if (key === "default" || key === "__esModule") return;
286
149
  if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
@@ -292,19 +155,7 @@ Object.keys(_interfaces11).forEach(function (key) {
292
155
  }
293
156
  });
294
157
  });
295
- var _TeamState = require("./TeamState");
296
- Object.keys(_TeamState).forEach(function (key) {
297
- if (key === "default" || key === "__esModule") return;
298
- if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
299
- if (key in exports && exports[key] === _TeamState[key]) return;
300
- Object.defineProperty(exports, key, {
301
- enumerable: true,
302
- get: function () {
303
- return _TeamState[key];
304
- }
305
- });
306
- });
307
- var _interfaces12 = require("./GroupsState/interfaces");
158
+ var _interfaces12 = require("./LoginState/interfaces");
308
159
  Object.keys(_interfaces12).forEach(function (key) {
309
160
  if (key === "default" || key === "__esModule") return;
310
161
  if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
@@ -316,31 +167,7 @@ Object.keys(_interfaces12).forEach(function (key) {
316
167
  }
317
168
  });
318
169
  });
319
- var _GroupsState = require("./GroupsState");
320
- Object.keys(_GroupsState).forEach(function (key) {
321
- if (key === "default" || key === "__esModule") return;
322
- if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
323
- if (key in exports && exports[key] === _GroupsState[key]) return;
324
- Object.defineProperty(exports, key, {
325
- enumerable: true,
326
- get: function () {
327
- return _GroupsState[key];
328
- }
329
- });
330
- });
331
- var _groupsDialogsState = require("./GroupsState/groupsDialogsState");
332
- Object.keys(_groupsDialogsState).forEach(function (key) {
333
- if (key === "default" || key === "__esModule") return;
334
- if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
335
- if (key in exports && exports[key] === _groupsDialogsState[key]) return;
336
- Object.defineProperty(exports, key, {
337
- enumerable: true,
338
- get: function () {
339
- return _groupsDialogsState[key];
340
- }
341
- });
342
- });
343
- var _interfaces13 = require("./SocialLogins/interfaces");
170
+ var _interfaces13 = require("./MfaState/interfaces");
344
171
  Object.keys(_interfaces13).forEach(function (key) {
345
172
  if (key === "default" || key === "__esModule") return;
346
173
  if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
@@ -352,19 +179,7 @@ Object.keys(_interfaces13).forEach(function (key) {
352
179
  }
353
180
  });
354
181
  });
355
- var _SocialLogins = require("./SocialLogins");
356
- Object.keys(_SocialLogins).forEach(function (key) {
357
- if (key === "default" || key === "__esModule") return;
358
- if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
359
- if (key in exports && exports[key] === _SocialLogins[key]) return;
360
- Object.defineProperty(exports, key, {
361
- enumerable: true,
362
- get: function () {
363
- return _SocialLogins[key];
364
- }
365
- });
366
- });
367
- var _interfaces14 = require("./SignUp/interfaces");
182
+ var _interfaces14 = require("./MSP/interfaces");
368
183
  Object.keys(_interfaces14).forEach(function (key) {
369
184
  if (key === "default" || key === "__esModule") return;
370
185
  if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
@@ -376,19 +191,7 @@ Object.keys(_interfaces14).forEach(function (key) {
376
191
  }
377
192
  });
378
193
  });
379
- var _SignUp = require("./SignUp");
380
- Object.keys(_SignUp).forEach(function (key) {
381
- if (key === "default" || key === "__esModule") return;
382
- if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
383
- if (key in exports && exports[key] === _SignUp[key]) return;
384
- Object.defineProperty(exports, key, {
385
- enumerable: true,
386
- get: function () {
387
- return _SignUp[key];
388
- }
389
- });
390
- });
391
- var _interfaces15 = require("./ApiTokensState/interfaces");
194
+ var _interfaces15 = require("./PasskeysState/interfaces");
392
195
  Object.keys(_interfaces15).forEach(function (key) {
393
196
  if (key === "default" || key === "__esModule") return;
394
197
  if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
@@ -400,19 +203,7 @@ Object.keys(_interfaces15).forEach(function (key) {
400
203
  }
401
204
  });
402
205
  });
403
- var _ApiTokensState = require("./ApiTokensState");
404
- Object.keys(_ApiTokensState).forEach(function (key) {
405
- if (key === "default" || key === "__esModule") return;
406
- if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
407
- if (key in exports && exports[key] === _ApiTokensState[key]) return;
408
- Object.defineProperty(exports, key, {
409
- enumerable: true,
410
- get: function () {
411
- return _ApiTokensState[key];
412
- }
413
- });
414
- });
415
- var _interfaces16 = require("./Security/SecurityPolicyState/interfaces");
206
+ var _interfaces16 = require("./ProfileState/interfaces");
416
207
  Object.keys(_interfaces16).forEach(function (key) {
417
208
  if (key === "default" || key === "__esModule") return;
418
209
  if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
@@ -424,19 +215,7 @@ Object.keys(_interfaces16).forEach(function (key) {
424
215
  }
425
216
  });
426
217
  });
427
- var _SecurityPolicyState = require("./Security/SecurityPolicyState");
428
- Object.keys(_SecurityPolicyState).forEach(function (key) {
429
- if (key === "default" || key === "__esModule") return;
430
- if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
431
- if (key in exports && exports[key] === _SecurityPolicyState[key]) return;
432
- Object.defineProperty(exports, key, {
433
- enumerable: true,
434
- get: function () {
435
- return _SecurityPolicyState[key];
436
- }
437
- });
438
- });
439
- var _interfaces17 = require("./AccountSettingsState/interfaces");
218
+ var _interfaces17 = require("./ProvisioningState/interfaces");
440
219
  Object.keys(_interfaces17).forEach(function (key) {
441
220
  if (key === "default" || key === "__esModule") return;
442
221
  if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
@@ -448,19 +227,7 @@ Object.keys(_interfaces17).forEach(function (key) {
448
227
  }
449
228
  });
450
229
  });
451
- var _AccountSettingsState = require("./AccountSettingsState");
452
- Object.keys(_AccountSettingsState).forEach(function (key) {
453
- if (key === "default" || key === "__esModule") return;
454
- if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
455
- if (key in exports && exports[key] === _AccountSettingsState[key]) return;
456
- Object.defineProperty(exports, key, {
457
- enumerable: true,
458
- get: function () {
459
- return _AccountSettingsState[key];
460
- }
461
- });
462
- });
463
- var _interfaces18 = require("./TenantsState/interfaces");
230
+ var _interfaces18 = require("./ResetPhoneNumberState/interfaces");
464
231
  Object.keys(_interfaces18).forEach(function (key) {
465
232
  if (key === "default" || key === "__esModule") return;
466
233
  if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
@@ -472,18 +239,6 @@ Object.keys(_interfaces18).forEach(function (key) {
472
239
  }
473
240
  });
474
241
  });
475
- var _TenantsState = require("./TenantsState");
476
- Object.keys(_TenantsState).forEach(function (key) {
477
- if (key === "default" || key === "__esModule") return;
478
- if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
479
- if (key in exports && exports[key] === _TenantsState[key]) return;
480
- Object.defineProperty(exports, key, {
481
- enumerable: true,
482
- get: function () {
483
- return _TenantsState[key];
484
- }
485
- });
486
- });
487
242
  var _interfaces19 = require("./RolesState/interfaces");
488
243
  Object.keys(_interfaces19).forEach(function (key) {
489
244
  if (key === "default" || key === "__esModule") return;
@@ -496,31 +251,7 @@ Object.keys(_interfaces19).forEach(function (key) {
496
251
  }
497
252
  });
498
253
  });
499
- var _RolesState = require("./RolesState");
500
- Object.keys(_RolesState).forEach(function (key) {
501
- if (key === "default" || key === "__esModule") return;
502
- if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
503
- if (key in exports && exports[key] === _RolesState[key]) return;
504
- Object.defineProperty(exports, key, {
505
- enumerable: true,
506
- get: function () {
507
- return _RolesState[key];
508
- }
509
- });
510
- });
511
- var _SessionsState = require("./SessionsState");
512
- Object.keys(_SessionsState).forEach(function (key) {
513
- if (key === "default" || key === "__esModule") return;
514
- if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
515
- if (key in exports && exports[key] === _SessionsState[key]) return;
516
- Object.defineProperty(exports, key, {
517
- enumerable: true,
518
- get: function () {
519
- return _SessionsState[key];
520
- }
521
- });
522
- });
523
- var _interfaces20 = require("./SessionsState/interfaces");
254
+ var _interfaces20 = require("./Security/RestrictionsState/interfaces");
524
255
  Object.keys(_interfaces20).forEach(function (key) {
525
256
  if (key === "default" || key === "__esModule") return;
526
257
  if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
@@ -532,19 +263,7 @@ Object.keys(_interfaces20).forEach(function (key) {
532
263
  }
533
264
  });
534
265
  });
535
- var _SessionsPolicyState = require("./Security/SessionsPolicyState");
536
- Object.keys(_SessionsPolicyState).forEach(function (key) {
537
- if (key === "default" || key === "__esModule") return;
538
- if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
539
- if (key in exports && exports[key] === _SessionsPolicyState[key]) return;
540
- Object.defineProperty(exports, key, {
541
- enumerable: true,
542
- get: function () {
543
- return _SessionsPolicyState[key];
544
- }
545
- });
546
- });
547
- var _interfaces21 = require("./Security/SessionsPolicyState/interfaces");
266
+ var _interfaces21 = require("./Security/SecurityCenterState/interfaces");
548
267
  Object.keys(_interfaces21).forEach(function (key) {
549
268
  if (key === "default" || key === "__esModule") return;
550
269
  if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
@@ -556,19 +275,7 @@ Object.keys(_interfaces21).forEach(function (key) {
556
275
  }
557
276
  });
558
277
  });
559
- var _RestrictionsState = require("./Security/RestrictionsState");
560
- Object.keys(_RestrictionsState).forEach(function (key) {
561
- if (key === "default" || key === "__esModule") return;
562
- if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
563
- if (key in exports && exports[key] === _RestrictionsState[key]) return;
564
- Object.defineProperty(exports, key, {
565
- enumerable: true,
566
- get: function () {
567
- return _RestrictionsState[key];
568
- }
569
- });
570
- });
571
- var _interfaces22 = require("./Security/RestrictionsState/interfaces");
278
+ var _interfaces22 = require("./Security/SecurityPolicyState/interfaces");
572
279
  Object.keys(_interfaces22).forEach(function (key) {
573
280
  if (key === "default" || key === "__esModule") return;
574
281
  if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
@@ -580,19 +287,7 @@ Object.keys(_interfaces22).forEach(function (key) {
580
287
  }
581
288
  });
582
289
  });
583
- var _Provisioning = require("./Provisioning");
584
- Object.keys(_Provisioning).forEach(function (key) {
585
- if (key === "default" || key === "__esModule") return;
586
- if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
587
- if (key in exports && exports[key] === _Provisioning[key]) return;
588
- Object.defineProperty(exports, key, {
589
- enumerable: true,
590
- get: function () {
591
- return _Provisioning[key];
592
- }
593
- });
594
- });
595
- var _interfaces23 = require("./Provisioning/interfaces");
290
+ var _interfaces23 = require("./Security/SessionsPolicyState/interfaces");
596
291
  Object.keys(_interfaces23).forEach(function (key) {
597
292
  if (key === "default" || key === "__esModule") return;
598
293
  if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
@@ -604,19 +299,7 @@ Object.keys(_interfaces23).forEach(function (key) {
604
299
  }
605
300
  });
606
301
  });
607
- var _Entitlements = require("./Entitlements");
608
- Object.keys(_Entitlements).forEach(function (key) {
609
- if (key === "default" || key === "__esModule") return;
610
- if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
611
- if (key in exports && exports[key] === _Entitlements[key]) return;
612
- Object.defineProperty(exports, key, {
613
- enumerable: true,
614
- get: function () {
615
- return _Entitlements[key];
616
- }
617
- });
618
- });
619
- var _interfaces24 = require("./Entitlements/interfaces");
302
+ var _interfaces24 = require("./SessionsState/interfaces");
620
303
  Object.keys(_interfaces24).forEach(function (key) {
621
304
  if (key === "default" || key === "__esModule") return;
622
305
  if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
@@ -628,19 +311,7 @@ Object.keys(_interfaces24).forEach(function (key) {
628
311
  }
629
312
  });
630
313
  });
631
- var _PasskeysState = require("./PasskeysState");
632
- Object.keys(_PasskeysState).forEach(function (key) {
633
- if (key === "default" || key === "__esModule") return;
634
- if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
635
- if (key in exports && exports[key] === _PasskeysState[key]) return;
636
- Object.defineProperty(exports, key, {
637
- enumerable: true,
638
- get: function () {
639
- return _PasskeysState[key];
640
- }
641
- });
642
- });
643
- var _interfaces25 = require("./PasskeysState/interfaces");
314
+ var _interfaces25 = require("./SignUpState/interfaces");
644
315
  Object.keys(_interfaces25).forEach(function (key) {
645
316
  if (key === "default" || key === "__esModule") return;
646
317
  if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
@@ -652,19 +323,7 @@ Object.keys(_interfaces25).forEach(function (key) {
652
323
  }
653
324
  });
654
325
  });
655
- var _SecurityCenterState = require("./Security/SecurityCenterState");
656
- Object.keys(_SecurityCenterState).forEach(function (key) {
657
- if (key === "default" || key === "__esModule") return;
658
- if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
659
- if (key in exports && exports[key] === _SecurityCenterState[key]) return;
660
- Object.defineProperty(exports, key, {
661
- enumerable: true,
662
- get: function () {
663
- return _SecurityCenterState[key];
664
- }
665
- });
666
- });
667
- var _interfaces26 = require("./Security/SecurityCenterState/interfaces");
326
+ var _interfaces26 = require("./SmsState/interfaces");
668
327
  Object.keys(_interfaces26).forEach(function (key) {
669
328
  if (key === "default" || key === "__esModule") return;
670
329
  if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
@@ -676,98 +335,254 @@ Object.keys(_interfaces26).forEach(function (key) {
676
335
  }
677
336
  });
678
337
  });
679
- var _types = require("./Security/SecurityCenterState/types");
680
- Object.keys(_types).forEach(function (key) {
681
- if (key === "default" || key === "__esModule") return;
682
- if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
683
- if (key in exports && exports[key] === _types[key]) return;
684
- Object.defineProperty(exports, key, {
685
- enumerable: true,
686
- get: function () {
687
- return _types[key];
688
- }
689
- });
690
- });
691
- var _CustomLoginState = require("./CustomLoginState");
692
- Object.keys(_CustomLoginState).forEach(function (key) {
338
+ var _interfaces27 = require("./SocialLoginState/interfaces");
339
+ Object.keys(_interfaces27).forEach(function (key) {
693
340
  if (key === "default" || key === "__esModule") return;
694
341
  if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
695
- if (key in exports && exports[key] === _CustomLoginState[key]) return;
342
+ if (key in exports && exports[key] === _interfaces27[key]) return;
696
343
  Object.defineProperty(exports, key, {
697
344
  enumerable: true,
698
345
  get: function () {
699
- return _CustomLoginState[key];
346
+ return _interfaces27[key];
700
347
  }
701
348
  });
702
349
  });
703
- var _interfaces27 = require("./CustomLoginState/interfaces");
704
- Object.keys(_interfaces27).forEach(function (key) {
350
+ var _interfaces28 = require("./SSOState/interfaces");
351
+ Object.keys(_interfaces28).forEach(function (key) {
705
352
  if (key === "default" || key === "__esModule") return;
706
353
  if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
707
- if (key in exports && exports[key] === _interfaces27[key]) return;
354
+ if (key in exports && exports[key] === _interfaces28[key]) return;
708
355
  Object.defineProperty(exports, key, {
709
356
  enumerable: true,
710
357
  get: function () {
711
- return _interfaces27[key];
358
+ return _interfaces28[key];
712
359
  }
713
360
  });
714
361
  });
715
- var _AllAccountsState = require("./MSP/AllAccountsState");
716
- Object.keys(_AllAccountsState).forEach(function (key) {
362
+ var _interfaces29 = require("./StepUpState/interfaces");
363
+ Object.keys(_interfaces29).forEach(function (key) {
717
364
  if (key === "default" || key === "__esModule") return;
718
365
  if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
719
- if (key in exports && exports[key] === _AllAccountsState[key]) return;
366
+ if (key in exports && exports[key] === _interfaces29[key]) return;
720
367
  Object.defineProperty(exports, key, {
721
368
  enumerable: true,
722
369
  get: function () {
723
- return _AllAccountsState[key];
370
+ return _interfaces29[key];
724
371
  }
725
372
  });
726
373
  });
727
- var _types2 = require("./MSP/AllAccountsState/types");
728
- Object.keys(_types2).forEach(function (key) {
374
+ var _interfaces30 = require("./TeamState/interfaces");
375
+ Object.keys(_interfaces30).forEach(function (key) {
729
376
  if (key === "default" || key === "__esModule") return;
730
377
  if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
731
- if (key in exports && exports[key] === _types2[key]) return;
378
+ if (key in exports && exports[key] === _interfaces30[key]) return;
732
379
  Object.defineProperty(exports, key, {
733
380
  enumerable: true,
734
381
  get: function () {
735
- return _types2[key];
382
+ return _interfaces30[key];
736
383
  }
737
384
  });
738
385
  });
739
- var _allAccountsDialogsState = require("./MSP/AllAccountsState/allAccountsDialogsState");
740
- Object.keys(_allAccountsDialogsState).forEach(function (key) {
386
+ var _interfaces31 = require("./TenantsState/interfaces");
387
+ Object.keys(_interfaces31).forEach(function (key) {
741
388
  if (key === "default" || key === "__esModule") return;
742
389
  if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
743
- if (key in exports && exports[key] === _allAccountsDialogsState[key]) return;
390
+ if (key in exports && exports[key] === _interfaces31[key]) return;
744
391
  Object.defineProperty(exports, key, {
745
392
  enumerable: true,
746
393
  get: function () {
747
- return _allAccountsDialogsState[key];
394
+ return _interfaces31[key];
748
395
  }
749
396
  });
750
397
  });
751
- var _Helpers = require("./Helpers");
752
- Object.keys(_Helpers).forEach(function (key) {
398
+ var _interfaces32 = require("./interfaces");
399
+ Object.keys(_interfaces32).forEach(function (key) {
753
400
  if (key === "default" || key === "__esModule") return;
754
401
  if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
755
- if (key in exports && exports[key] === _Helpers[key]) return;
402
+ if (key in exports && exports[key] === _interfaces32[key]) return;
756
403
  Object.defineProperty(exports, key, {
757
404
  enumerable: true,
758
405
  get: function () {
759
- return _Helpers[key];
406
+ return _interfaces32[key];
760
407
  }
761
408
  });
762
409
  });
763
- // export types
764
- // export store
765
- var _default = {
766
- sagas: _saga.sagas,
767
- mockSagas: _saga.mockSagas,
768
- storeName: _constants.authStoreName,
769
- initialState: _initialState.initialState,
770
- reducer: _reducer.reducer,
771
- actions: _reducer.actions
410
+ var _AcceptInvitationState = require("./AcceptInvitationState");
411
+ var _AccountSettingsState = require("./AccountSettingsState");
412
+ var _ActivateAccountState = require("./ActivateAccountState");
413
+ var _ApiTokensState = require("./ApiTokensState");
414
+ var _ApplicationsState = require("./ApplicationsState");
415
+ var _CustomLoginState = require("./CustomLoginState");
416
+ var _ForgotPasswordState = require("./ForgotPasswordState");
417
+ var _GroupsState = require("./GroupsState");
418
+ var _GroupsDialogsState = require("./GroupsDialogsState");
419
+ var _ImpersonateState = require("./ImpersonateState");
420
+ var _LoginState = require("./LoginState");
421
+ var _MfaState = require("./MfaState");
422
+ var _MSP = require("./MSP");
423
+ var _PasskeysState = require("./PasskeysState");
424
+ var _ProfileState = require("./ProfileState");
425
+ var _ProvisioningState = require("./ProvisioningState");
426
+ var _ResetPhoneNumberState = require("./ResetPhoneNumberState");
427
+ var _RolesState = require("./RolesState");
428
+ var _RestrictionsState = require("./Security/RestrictionsState");
429
+ var _SecurityCenterState = require("./Security/SecurityCenterState");
430
+ var _SecurityPolicyState = require("./Security/SecurityPolicyState");
431
+ var _SessionsPolicyState = require("./Security/SessionsPolicyState");
432
+ var _SessionsState = require("./SessionsState");
433
+ var _SignUpState = require("./SignUpState");
434
+ var _SmsState = require("./SmsState");
435
+ var _SocialLoginState = require("./SocialLoginState");
436
+ var _SSOState = require("./SSOState");
437
+ var _StepUpState = require("./StepUpState");
438
+ var _TeamState = require("./TeamState");
439
+ var _TenantsState = require("./TenantsState");
440
+ var _consts = require("./LoginState/consts");
441
+ var _helpers2 = require("../helpers");
442
+ var _Entitlements = require("./Entitlements");
443
+ var _proxy = require("../toolkit/proxy");
444
+ const _excluded = ["routes"];
445
+ const createAuthState = _overrideState => {
446
+ const _ref = _overrideState != null ? _overrideState : {},
447
+ {
448
+ routes
449
+ } = _ref,
450
+ overrideState = (0, _objectWithoutPropertiesLoose2.default)(_ref, _excluded);
451
+ return (0, _proxy.createProxy)((0, _extends2.default)({
452
+ routes: (0, _extends2.default)({}, _consts.defaultFronteggRoutes, routes),
453
+ onRedirectTo: () => void 0,
454
+ isAuthenticated: false,
455
+ isLoading: true,
456
+ isSSOAuth: false,
457
+ user: null,
458
+ error: undefined,
459
+ userIp: undefined
460
+ }, overrideState, {
461
+ // nested states
462
+ acceptInvitationState: (0, _AcceptInvitationState.createAcceptInvitationState)(overrideState == null ? void 0 : overrideState.acceptInvitationState),
463
+ accountSettingsState: (0, _AccountSettingsState.createAccountSettingsState)(overrideState == null ? void 0 : overrideState.accountSettingsState),
464
+ activateAccountState: (0, _ActivateAccountState.createActivateAccountState)(overrideState == null ? void 0 : overrideState.activateAccountState),
465
+ apiTokensState: (0, _ApiTokensState.createApiTokensState)(overrideState == null ? void 0 : overrideState.apiTokensState),
466
+ applicationsState: (0, _ApplicationsState.createApplicationsState)(overrideState == null ? void 0 : overrideState.applicationsState),
467
+ customLoginState: (0, _CustomLoginState.createCustomLoginState)(overrideState == null ? void 0 : overrideState.customLoginState),
468
+ forgotPasswordState: (0, _ForgotPasswordState.createForgotPasswordState)(overrideState == null ? void 0 : overrideState.forgotPasswordState),
469
+ groupsState: (0, _GroupsState.createGroupsState)(overrideState == null ? void 0 : overrideState.groupsState),
470
+ groupsDialogsState: (0, _GroupsDialogsState.createGroupsDialogsState)(overrideState == null ? void 0 : overrideState.groupsDialogsState),
471
+ impersonateState: (0, _ImpersonateState.createImpersonateState)(overrideState == null ? void 0 : overrideState.impersonateState),
472
+ loginState: (0, _LoginState.createLoginState)(overrideState == null ? void 0 : overrideState.loginState),
473
+ mfaState: (0, _MfaState.createMfaState)(overrideState == null ? void 0 : overrideState.mfaState),
474
+ allAccountsState: (0, _MSP.createAllAccountsState)(overrideState == null ? void 0 : overrideState.allAccountsState),
475
+ allAccountsDialogsState: (0, _MSP.createAllAccountsDialogState)(overrideState == null ? void 0 : overrideState.allAccountsDialogsState),
476
+ passkeysState: (0, _PasskeysState.createPasskeysState)(overrideState == null ? void 0 : overrideState.passkeysState),
477
+ profileState: (0, _ProfileState.createProfileState)(overrideState == null ? void 0 : overrideState.profileState),
478
+ provisioningState: (0, _ProvisioningState.createProvisioningState)(overrideState == null ? void 0 : overrideState.provisioningState),
479
+ resetPhoneNumberState: (0, _ResetPhoneNumberState.createResetPhoneNumberState)(overrideState == null ? void 0 : overrideState.resetPhoneNumberState),
480
+ rolesState: (0, _RolesState.createRolesState)(overrideState == null ? void 0 : overrideState.rolesState),
481
+ restrictionsState: (0, _RestrictionsState.createRestrictionsState)(overrideState == null ? void 0 : overrideState.restrictionsState),
482
+ securityCenterState: (0, _SecurityCenterState.createSecurityCenterState)(overrideState == null ? void 0 : overrideState.securityCenterState),
483
+ securityPolicyState: (0, _SecurityPolicyState.createSecurityPolicyState)(overrideState == null ? void 0 : overrideState.securityPolicyState),
484
+ sessionsPolicyState: (0, _SessionsPolicyState.createSessionsPolicyState)(overrideState == null ? void 0 : overrideState.sessionsPolicyState),
485
+ sessionsState: (0, _SessionsState.createSessionsState)(overrideState == null ? void 0 : overrideState.sessionsState),
486
+ signUpState: (0, _SignUpState.createSignUpState)(overrideState == null ? void 0 : overrideState.signUpState),
487
+ smsState: (0, _SmsState.createSmsState)(overrideState == null ? void 0 : overrideState.smsState),
488
+ socialLoginState: (0, _SocialLoginState.createSocialLoginState)(overrideState == null ? void 0 : overrideState.socialLoginState),
489
+ ssoState: (0, _SSOState.createSSOState)(overrideState == null ? void 0 : overrideState.ssoState),
490
+ stepUpState: (0, _StepUpState.createStepUpState)(overrideState == null ? void 0 : overrideState.stepUpState),
491
+ teamState: (0, _TeamState.createTeamState)(overrideState == null ? void 0 : overrideState.teamState),
492
+ tenantsState: (0, _TenantsState.createTenantsState)(overrideState == null ? void 0 : overrideState.tenantsState)
493
+ }));
494
+ };
495
+ exports.createAuthState = createAuthState;
496
+ const buildAuthActions = (store, api, actions, snapshotAuthState) => {
497
+ const setAuthState = state => {
498
+ Object.keys(state).forEach(key => {
499
+ if ((0, _helpers2.isProxy)(store.auth[key])) {
500
+ Object.assign(store.auth[key], state[key]);
501
+ } else {
502
+ store.auth[key] = state[key];
503
+ }
504
+ });
505
+ };
506
+ const resetAuthState = () => {
507
+ setAuthState(snapshotAuthState);
508
+ };
509
+ const setUser = user => {
510
+ setAuthState({
511
+ user
512
+ });
513
+ };
514
+ const acceptInvitationActions = (0, _AcceptInvitationState.buildAcceptInvitationActions)(store, api, actions);
515
+ const accountSettingsActions = (0, _AccountSettingsState.buildAccountSettingsActions)(store, api, actions);
516
+ const activateAccountActions = (0, _ActivateAccountState.buildActivateAccountActions)(store, api, actions);
517
+ const apiTokensActions = (0, _ApiTokensState.buildApiTokensActions)(store, api, actions);
518
+ const applicationsActions = (0, _ApplicationsState.buildApplicationsActions)(store, api, actions);
519
+ const customLoginActions = (0, _CustomLoginState.buildCustomLoginActions)(store, api, actions);
520
+ const entitlementsActions = (0, _Entitlements.buildEntitlementsActions)(store, api, actions);
521
+ const forgotPasswordActions = (0, _ForgotPasswordState.buildForgotPasswordActions)(store, api, actions);
522
+ const groupsActions = (0, _GroupsState.buildGroupsActions)(store, api, actions);
523
+ const groupsDialogsActions = (0, _GroupsDialogsState.buildGroupsDialogsActions)(store, api, actions);
524
+ const impersonateActions = (0, _ImpersonateState.buildImpersonateActions)(store, api, actions);
525
+ const loginActions = (0, _LoginState.buildLoginActions)(store, api, actions);
526
+ const mfaActions = (0, _MfaState.buildMfaActions)(store, api, actions);
527
+ const allAccountsActions = (0, _MSP.buildAllAccountsActions)(store, api, actions);
528
+ const allAccountsDialogActions = (0, _MSP.buildAllAccountsDialogActions)(store, api, actions);
529
+ const passkeysActions = (0, _PasskeysState.buildPasskeysActions)(store, api, actions);
530
+ const profileActions = (0, _ProfileState.buildProfileActions)(store, api, actions);
531
+ const provisioningActions = (0, _ProvisioningState.buildProvisioningActions)(store, api, actions);
532
+ const resetPhoneNumberActions = (0, _ResetPhoneNumberState.buildResetPhoneNumberActions)(store, api, actions);
533
+ const rolesActions = (0, _RolesState.buildRolesActions)(store, api, actions);
534
+ const restrictionsActions = (0, _RestrictionsState.buildRestrictionsActions)(store, api, actions);
535
+ const securityCenterActions = (0, _SecurityCenterState.buildSecurityCenterActions)(store, api, actions);
536
+ const securityPolicyActions = (0, _SecurityPolicyState.buildSecurityPolicyActions)(store, api, actions);
537
+ const sessionsPolicyActions = (0, _SessionsPolicyState.buildSessionsPolicyActions)(store, api, actions);
538
+ const sessionsActions = (0, _SessionsState.buildSessionsActions)(store, api, actions);
539
+ const signUpActions = (0, _SignUpState.buildSignUpActions)(store, api, actions);
540
+ const smsActions = (0, _SmsState.buildSmsActions)(store, api, actions);
541
+ const socialLoginActions = (0, _SocialLoginState.buildSocialLoginActions)(store, api, actions);
542
+ const ssoActions = (0, _SSOState.buildSSOActions)(store, api, actions);
543
+ const stepUpActions = (0, _StepUpState.buildStepUpActions)(store, api, actions);
544
+ const teamActions = (0, _TeamState.buildTeamActions)(store, api, actions);
545
+ const tenantsActions = (0, _TenantsState.buildTenantsActions)(store, api, actions);
546
+ const stateActions = {
547
+ acceptInvitationActions,
548
+ accountSettingsActions,
549
+ activateAccountActions,
550
+ apiTokensActions,
551
+ applicationsActions,
552
+ customLoginActions,
553
+ entitlementsActions,
554
+ forgotPasswordActions,
555
+ groupsActions,
556
+ groupsDialogsActions,
557
+ impersonateActions,
558
+ loginActions,
559
+ mfaActions,
560
+ allAccountsActions,
561
+ allAccountsDialogActions,
562
+ passkeysActions,
563
+ profileActions,
564
+ provisioningActions,
565
+ resetPhoneNumberActions,
566
+ rolesActions,
567
+ restrictionsActions,
568
+ securityCenterActions,
569
+ securityPolicyActions,
570
+ sessionsPolicyActions,
571
+ sessionsActions,
572
+ signUpActions,
573
+ smsActions,
574
+ socialLoginActions,
575
+ ssoActions,
576
+ stepUpActions,
577
+ teamActions,
578
+ tenantsActions
579
+ };
580
+ return [(0, _extends2.default)({
581
+ setAuthState,
582
+ /** @deprecated use setAuthState instead */
583
+ setState: setAuthState,
584
+ resetAuthState,
585
+ setUser
586
+ }, Object.values(stateActions).reduce((acc, actions) => (0, _extends2.default)({}, acc, actions), {})), stateActions];
772
587
  };
773
- exports.default = _default;
588
+ exports.buildAuthActions = buildAuthActions;