@frontegg/vue 1.0.15 → 1.0.16-alpha.2611246737

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.
@@ -17,8 +17,8 @@ export declare const connectMapState: (_this: any) => void;
17
17
  declare type MapLoginActions = LoginActions & {
18
18
  'loginWithRedirect': LoginActions['requestHostedLoginAuthorize'];
19
19
  };
20
- export declare const mapAuthActions: <K extends "requestHostedLoginAuthorize" | "setState" | "resetState" | "setUser" | "setLoginState" | "resetLoginState" | "requestAuthorize" | "requestAuthorizeSSR" | "handleHostedLoginCallback" | "afterAuthNavigation" | "preLogin" | "postLogin" | "login" | "loginWithMfa" | "recoverMfa" | "logout" | "silentLogout" | "checkIfAllowToRememberMfaDevice" | "passwordlessPreLogin" | "passwordlessPostLogin" | "verifyInviteToken" | "setSocialLoginsState" | "resetSocialLoginsState" | "loadSocialLoginsConfiguration" | "loadSocialLoginsConfigurationV2" | "loginViaSocialLogin" | "setSocialLoginError" | "setActivateState" | "resetActivateState" | "setActivateStrategyState" | "activateAccount" | "preActivateAccount" | "resendActivationEmail" | "getActivateAccountStrategy" | "setAcceptInvitationState" | "resetAcceptInvitationState" | "acceptInvitation" | "setForgotPasswordState" | "resetForgotPasswordState" | "forgotPassword" | "resetPassword" | "loadPasswordConfig" | "setResetPhoneNumberState" | "resetResetPhoneNumberState" | "resetPhoneNumber" | "verifyResetPhoneNumber" | "changePhoneNumber" | "setSignUpState" | "resetSignUpState" | "signUpUser" | "resetSignUpStateSoft" | "setProfileState" | "resetProfileState" | "loadProfile" | "saveProfile" | "changePassword" | "loadSSOConfigurationsV2" | "saveSSOConfigurationV2" | "updateSSOConfiguration" | "deleteSSOConfiguration" | "deleteSSODomain" | "saveSSODomain" | "validateSSODomainV2" | "setSSODefaultRoles" | "setSSOGroups" | "updateSSOGroups" | "saveSSOConfigurationByMetadata" | "updateSSOConfigurationByMetadata" | "setSSOLoader" | "setSSOError" | "setSSOState" | "resetSSOState" | "loadSSOConfigurations" | "loadSSOAuthorizationRoles" | "saveSSOConfigurations" | "saveSSOConfigurationsFile" | "saveSSOConfigurationsFileWithCallback" | "validateSSODomain" | "updateSSOAuthorizationRoles" | "deleteSamlGroup" | "createSamlGroup" | "oidcPostlogin" | "setMfaState" | "resetMfaState" | "enrollMfa" | "verifyMfa" | "verifyMfaAfterForce" | "disableMfa" | "setTeamLoader" | "setTeamError" | "setTeamState" | "resetTeamState" | "loadUsers" | "loadRoles" | "addUser" | "updateUser" | "deleteUser" | "resendActivationLink" | "resendInvitationLink" | "getInvitationLink" | "createInvitationLink" | "updateInvitationLink" | "deleteInvitationLink" | "openAddUserDialog" | "closeAddUserDialog" | "openDeleteUserDialog" | "closeDeleteUserDialog" | "setApiTokensLoader" | "setApiTokensError" | "setApiTokensState" | "resetApiTokensState" | "loadApiTokens" | "initApiTokensData" | "addTenantApiToken" | "addUserApiToken" | "deleteUserApiToken" | "deleteTenantApiToken" | "setSecurityPolicyState" | "setSecurityPolicyGlobalState" | "setSecurityPolicyPublicState" | "setSecurityPolicyMfaState" | "setSecurityPolicyVendorMfaState" | "setSecurityPolicyLockoutState" | "setSecurityPolicyCaptchaState" | "setSecurityPolicyPasswordHistoryState" | "resetSecurityPolicyState" | "setSecurityPolicyPasswordState" | "loadSecurityPolicy" | "loadPublicSecurityPolicy" | "loadVendorPasswordConfig" | "loadSecurityPolicyMfa" | "loadSecurityPolicyVendorMfa" | "saveSecurityPolicyMfa" | "loadSecurityPolicyLockout" | "saveSecurityPolicyLockout" | "loadSecurityPolicyCaptcha" | "loadSecurityPolicyPasswordHistory" | "saveSecurityPolicyPasswordHistory" | "setAccountSettingsState" | "resetAccountSettingsState" | "loadAccountSettings" | "saveAccountSettings" | "setTenantsState" | "resetTenantsState" | "switchTenant" | "loadTenants" | "loadSubTenants" | "setRolesState" | "resetRolesState" | "loadRolesAndPermissions" | "addRole" | "updateRole" | "deleteRole" | "attachPermissionsToRole" | "attachPermissionToRoles">(action: K) => AuthActions[K];
21
- export declare const mapLoginActions: <K extends "requestHostedLoginAuthorize" | "setLoginState" | "resetLoginState" | "requestAuthorize" | "requestAuthorizeSSR" | "handleHostedLoginCallback" | "afterAuthNavigation" | "preLogin" | "postLogin" | "login" | "loginWithMfa" | "recoverMfa" | "logout" | "silentLogout" | "checkIfAllowToRememberMfaDevice" | "passwordlessPreLogin" | "passwordlessPostLogin" | "verifyInviteToken" | "loginWithRedirect">(action: K) => MapLoginActions[K];
20
+ export declare const mapAuthActions: <K extends "requestHostedLoginAuthorize" | "setState" | "resetState" | "setUser" | "setLoginState" | "resetLoginState" | "requestAuthorize" | "requestAuthorizeSSR" | "handleHostedLoginCallback" | "afterAuthNavigation" | "preLogin" | "postLogin" | "login" | "loginWithMfa" | "recoverMfa" | "logout" | "silentLogout" | "checkIfAllowToRememberMfaDevice" | "passwordlessPreLogin" | "passwordlessPostLogin" | "verifyInviteToken" | "webAuthnPrelogin" | "webAuthnPostLogin" | "webAuthnCreateNewDeviceSession" | "webAuthnVerifyNewDeviceSession" | "setSocialLoginsState" | "resetSocialLoginsState" | "loadSocialLoginsConfiguration" | "loadSocialLoginsConfigurationV2" | "loginViaSocialLogin" | "setSocialLoginError" | "setActivateState" | "resetActivateState" | "setActivateStrategyState" | "activateAccount" | "preActivateAccount" | "resendActivationEmail" | "getActivateAccountStrategy" | "setAcceptInvitationState" | "resetAcceptInvitationState" | "acceptInvitation" | "setForgotPasswordState" | "resetForgotPasswordState" | "forgotPassword" | "resetPassword" | "loadPasswordConfig" | "setResetPhoneNumberState" | "resetResetPhoneNumberState" | "resetPhoneNumber" | "verifyResetPhoneNumber" | "changePhoneNumber" | "setSignUpState" | "resetSignUpState" | "signUpUser" | "resetSignUpStateSoft" | "setProfileState" | "resetProfileState" | "loadProfile" | "saveProfile" | "changePassword" | "loadSSOConfigurationsV2" | "saveSSOConfigurationV2" | "updateSSOConfiguration" | "deleteSSOConfiguration" | "deleteSSODomain" | "saveSSODomain" | "validateSSODomainV2" | "setSSODefaultRoles" | "setSSOGroups" | "updateSSOGroups" | "saveSSOConfigurationByMetadata" | "updateSSOConfigurationByMetadata" | "setSSOLoader" | "setSSOError" | "setSSOState" | "resetSSOState" | "loadSSOConfigurations" | "loadSSOAuthorizationRoles" | "saveSSOConfigurations" | "saveSSOConfigurationsFile" | "saveSSOConfigurationsFileWithCallback" | "validateSSODomain" | "updateSSOAuthorizationRoles" | "deleteSamlGroup" | "createSamlGroup" | "oidcPostlogin" | "setMfaState" | "resetMfaState" | "enrollMfa" | "verifyMfa" | "verifyMfaAfterForce" | "disableMfa" | "setTeamLoader" | "setTeamError" | "setTeamState" | "resetTeamState" | "loadUsers" | "loadAllSubTenantsUsers" | "loadRoles" | "addUser" | "addUserToSubTenants" | "setUserRolesForSubTenants" | "updateUser" | "deleteUser" | "deleteUserFromSubTenants" | "lockUser" | "resendActivationLink" | "resendInvitationLink" | "getInvitationLink" | "createInvitationLink" | "updateInvitationLink" | "deleteInvitationLink" | "openAddUserDialog" | "closeAddUserDialog" | "openDeleteUserDialog" | "closeDeleteUserDialog" | "openLockUserDialog" | "closeLockUserDialog" | "setApiTokensLoader" | "setApiTokensError" | "setApiTokensState" | "resetApiTokensState" | "loadApiTokens" | "initApiTokensData" | "addTenantApiToken" | "addUserApiToken" | "deleteUserApiToken" | "deleteTenantApiToken" | "setSecurityPolicyState" | "setSecurityPolicyGlobalState" | "setSecurityPolicyPublicState" | "setSecurityPolicyMfaState" | "setSecurityPolicyVendorMfaState" | "setSecurityPolicyLockoutState" | "setSecurityPolicyCaptchaState" | "setSecurityPolicyPasswordHistoryState" | "resetSecurityPolicyState" | "setSecurityPolicyPasswordState" | "setSecurityPolicyAuthStrategyPublicState" | "loadSecurityPolicy" | "loadPublicSecurityPolicy" | "loadVendorPasswordConfig" | "loadSecurityPolicyMfa" | "loadSecurityPolicyVendorMfa" | "saveSecurityPolicyMfa" | "loadSecurityPolicyLockout" | "saveSecurityPolicyLockout" | "loadSecurityPolicyCaptcha" | "loadSecurityPolicyPasswordHistory" | "saveSecurityPolicyPasswordHistory" | "loadPublicAuthStrategiesPolicy" | "setAccountSettingsState" | "resetAccountSettingsState" | "loadAccountSettings" | "saveAccountSettings" | "setTenantsState" | "resetTenantsState" | "switchTenant" | "loadTenants" | "loadSubTenants" | "loadSubTenantsTree" | "setRolesState" | "resetRolesState" | "loadRolesAndPermissions" | "addRole" | "updateRole" | "deleteRole" | "attachPermissionsToRole" | "attachPermissionToRoles">(action: K) => AuthActions[K];
21
+ export declare const mapLoginActions: <K extends "requestHostedLoginAuthorize" | "setLoginState" | "resetLoginState" | "requestAuthorize" | "requestAuthorizeSSR" | "handleHostedLoginCallback" | "afterAuthNavigation" | "preLogin" | "postLogin" | "login" | "loginWithMfa" | "recoverMfa" | "logout" | "silentLogout" | "checkIfAllowToRememberMfaDevice" | "passwordlessPreLogin" | "passwordlessPostLogin" | "verifyInviteToken" | "webAuthnPrelogin" | "webAuthnPostLogin" | "webAuthnCreateNewDeviceSession" | "webAuthnVerifyNewDeviceSession" | "loginWithRedirect">(action: K) => MapLoginActions[K];
22
22
  export declare const mapAcceptInvitationActions: <K extends "setAcceptInvitationState" | "resetAcceptInvitationState" | "acceptInvitation">(action: K) => {
23
23
  setAcceptInvitationState: (state: Partial<import("@frontegg/redux-store").AcceptInvitationState>) => void;
24
24
  resetAcceptInvitationState: () => void;
@@ -69,7 +69,7 @@ export declare const mapProfileActions: <K extends "setProfileState" | "resetPro
69
69
  saveProfile: (payload: Partial<import("@frontegg/redux-store/interfaces").WithCallback<import("@frontegg/rest-api").IUserProfile, import("@frontegg/rest-api").IUserProfile>>) => void;
70
70
  changePassword: (payload: import("@frontegg/redux-store/interfaces").WithCallback<import("@frontegg/rest-api").IChangePassword, boolean>) => void;
71
71
  }[K];
72
- export declare const mapSecurityPolicyActions: <K extends "setSecurityPolicyState" | "setSecurityPolicyGlobalState" | "setSecurityPolicyPublicState" | "setSecurityPolicyMfaState" | "setSecurityPolicyVendorMfaState" | "setSecurityPolicyLockoutState" | "setSecurityPolicyCaptchaState" | "setSecurityPolicyPasswordHistoryState" | "resetSecurityPolicyState" | "setSecurityPolicyPasswordState" | "loadSecurityPolicy" | "loadPublicSecurityPolicy" | "loadVendorPasswordConfig" | "loadSecurityPolicyMfa" | "loadSecurityPolicyVendorMfa" | "saveSecurityPolicyMfa" | "loadSecurityPolicyLockout" | "saveSecurityPolicyLockout" | "loadSecurityPolicyCaptcha" | "loadSecurityPolicyPasswordHistory" | "saveSecurityPolicyPasswordHistory">(action: K) => {
72
+ export declare const mapSecurityPolicyActions: <K extends "setSecurityPolicyState" | "setSecurityPolicyGlobalState" | "setSecurityPolicyPublicState" | "setSecurityPolicyMfaState" | "setSecurityPolicyVendorMfaState" | "setSecurityPolicyLockoutState" | "setSecurityPolicyCaptchaState" | "setSecurityPolicyPasswordHistoryState" | "resetSecurityPolicyState" | "setSecurityPolicyPasswordState" | "setSecurityPolicyAuthStrategyPublicState" | "loadSecurityPolicy" | "loadPublicSecurityPolicy" | "loadVendorPasswordConfig" | "loadSecurityPolicyMfa" | "loadSecurityPolicyVendorMfa" | "saveSecurityPolicyMfa" | "loadSecurityPolicyLockout" | "saveSecurityPolicyLockout" | "loadSecurityPolicyCaptcha" | "loadSecurityPolicyPasswordHistory" | "saveSecurityPolicyPasswordHistory" | "loadPublicAuthStrategiesPolicy">(action: K) => {
73
73
  setSecurityPolicyState: (state: Partial<import("@frontegg/redux-store").SecurityPolicyState>) => void;
74
74
  setSecurityPolicyGlobalState: (state: Partial<import("@frontegg/redux-store/interfaces").WithStatus & {
75
75
  policy?: import("@frontegg/rest-api").ISecurityPolicy | undefined;
@@ -96,6 +96,9 @@ export declare const mapSecurityPolicyActions: <K extends "setSecurityPolicyStat
96
96
  setSecurityPolicyPasswordState: (state: Partial<import("@frontegg/redux-store/interfaces").WithStatus & {
97
97
  policy?: Partial<import("@frontegg/rest-api").TestConfig> | undefined;
98
98
  }>) => void;
99
+ setSecurityPolicyAuthStrategyPublicState: (state: Partial<import("@frontegg/redux-store/interfaces").WithStatus & {
100
+ policy?: import("@frontegg/rest-api").IAuthStrategiesConfig | undefined;
101
+ }>) => void;
99
102
  loadSecurityPolicy: () => void;
100
103
  loadPublicSecurityPolicy: () => void;
101
104
  loadVendorPasswordConfig: () => void;
@@ -107,6 +110,7 @@ export declare const mapSecurityPolicyActions: <K extends "setSecurityPolicyStat
107
110
  loadSecurityPolicyCaptcha: () => void;
108
111
  loadSecurityPolicyPasswordHistory: () => void;
109
112
  saveSecurityPolicyPasswordHistory: (payload: import("@frontegg/redux-store/interfaces").WithCallback<import("@frontegg/rest-api").ISaveSecurityPolicyPasswordHistory, import("@frontegg/rest-api").ISecurityPolicyPasswordHistory>) => void;
113
+ loadPublicAuthStrategiesPolicy: () => void;
110
114
  }[K];
111
115
  export declare const mapSignupActions: <K extends "setSignUpState" | "resetSignUpState" | "signUpUser" | "resetSignUpStateSoft">(action: K) => {
112
116
  setSignUpState: (state: Partial<import("@frontegg/redux-store").SignUpState>) => void;
@@ -188,12 +192,13 @@ export declare const mapSsoActions: <K extends "loadSSOConfigurationsV2" | "save
188
192
  createSamlGroup: (payload: import("@frontegg/redux-store/interfaces").WithCallback<import("@frontegg/rest-api").ICreateSamlGroup, boolean>) => void;
189
193
  oidcPostlogin: (payload: import("@frontegg/rest-api").IOidcPostLogin) => void;
190
194
  }[K];
191
- export declare const mapTeamActions: <K extends "setTeamLoader" | "setTeamError" | "setTeamState" | "resetTeamState" | "loadUsers" | "loadRoles" | "addUser" | "updateUser" | "deleteUser" | "resendActivationLink" | "resendInvitationLink" | "getInvitationLink" | "createInvitationLink" | "updateInvitationLink" | "deleteInvitationLink" | "openAddUserDialog" | "closeAddUserDialog" | "openDeleteUserDialog" | "closeDeleteUserDialog">(action: K) => {
195
+ export declare const mapTeamActions: <K extends "setTeamLoader" | "setTeamError" | "setTeamState" | "resetTeamState" | "loadUsers" | "loadAllSubTenantsUsers" | "loadRoles" | "addUser" | "addUserToSubTenants" | "setUserRolesForSubTenants" | "updateUser" | "deleteUser" | "deleteUserFromSubTenants" | "lockUser" | "resendActivationLink" | "resendInvitationLink" | "getInvitationLink" | "createInvitationLink" | "updateInvitationLink" | "deleteInvitationLink" | "openAddUserDialog" | "closeAddUserDialog" | "openDeleteUserDialog" | "closeDeleteUserDialog" | "openLockUserDialog" | "closeLockUserDialog">(action: K) => {
192
196
  setTeamLoader: (payload: import("@frontegg/redux-store").TeamStateIndicator) => void;
193
197
  setTeamError: (payload: import("@frontegg/redux-store").TeamStateIndicator) => void;
194
198
  setTeamState: (payload: Partial<import("@frontegg/redux-store").TeamState>) => void;
195
199
  resetTeamState: () => void;
196
200
  loadUsers: (payload: import("@frontegg/redux-store/interfaces").WithCallback<import("@frontegg/redux-store/interfaces").WithSilentLoad<import("@frontegg/rest-api").ILoadUsers>, import("@frontegg/rest-api").ITeamUser[]>) => void;
201
+ loadAllSubTenantsUsers: (payload: import("@frontegg/redux-store/interfaces").WithCallback<import("@frontegg/redux-store/interfaces").WithSilentLoad<Partial<import("@frontegg/rest-api").ILoadAllUsers>>, import("@frontegg/rest-api").ISubTenantUser[]>) => void;
197
202
  loadRoles: (payload?: {
198
203
  callback?: ((data: {
199
204
  roles: import("@frontegg/rest-api").ITeamUserRole[];
@@ -201,8 +206,14 @@ export declare const mapTeamActions: <K extends "setTeamLoader" | "setTeamError"
201
206
  } | null, error?: string | undefined) => void) | undefined;
202
207
  } | undefined) => void;
203
208
  addUser: (payload: import("@frontegg/redux-store/interfaces").WithCallback<import("@frontegg/rest-api").IAddUser, import("@frontegg/rest-api").ITeamUser>) => void;
209
+ addUserToSubTenants: (payload: import("@frontegg/redux-store/interfaces").WithCallback<import("@frontegg/rest-api").AddUserToSubTenantsRequest, boolean>) => void;
210
+ setUserRolesForSubTenants: (payload: import("@frontegg/redux-store/interfaces").WithCallback<import("@frontegg/rest-api").UpdateUserRolesForSubTenantsRequestDto & {
211
+ userId: string;
212
+ }, boolean>) => void;
204
213
  updateUser: (payload: import("@frontegg/redux-store/interfaces").WithCallback<Partial<import("@frontegg/rest-api").ITeamUser>, import("@frontegg/rest-api").ITeamUser>) => void;
205
214
  deleteUser: (payload: import("@frontegg/redux-store/interfaces").WithCallback<import("@frontegg/rest-api").IDeleteUser, boolean>) => void;
215
+ deleteUserFromSubTenants: (payload: import("@frontegg/redux-store/interfaces").WithCallback<import("@frontegg/rest-api").RemoveUserFromSubTenantsRequest, boolean>) => void;
216
+ lockUser: (payload: import("@frontegg/redux-store/interfaces").WithCallback<import("@frontegg/rest-api").IDeleteUser, boolean>) => void;
206
217
  resendActivationLink: (payload: import("@frontegg/redux-store/interfaces").WithCallback<import("@frontegg/rest-api").IResendActivationLink, boolean>) => void;
207
218
  resendInvitationLink: (payload: import("@frontegg/redux-store/interfaces").WithCallback<import("@frontegg/rest-api").IResendInvitationLink, boolean>) => void;
208
219
  getInvitationLink: () => void;
@@ -215,8 +226,10 @@ export declare const mapTeamActions: <K extends "setTeamLoader" | "setTeamError"
215
226
  closeAddUserDialog: (payload?: any) => void;
216
227
  openDeleteUserDialog: (payload?: Pick<import("@frontegg/redux-store").DeleteUserDialogState, "email" | "onClose" | "userId"> | undefined) => void;
217
228
  closeDeleteUserDialog: (payload?: any) => void;
229
+ openLockUserDialog: (payload?: Pick<import("@frontegg/redux-store").DeleteUserDialogState, "email" | "onClose" | "userId"> | undefined) => void;
230
+ closeLockUserDialog: (payload?: any) => void;
218
231
  }[K];
219
- export declare const mapTenantsActions: <K extends "setTenantsState" | "resetTenantsState" | "switchTenant" | "loadTenants" | "loadSubTenants">(action: K) => {
232
+ export declare const mapTenantsActions: <K extends "setTenantsState" | "resetTenantsState" | "switchTenant" | "loadTenants" | "loadSubTenants" | "loadSubTenantsTree">(action: K) => {
220
233
  setTenantsState: (state: Partial<import("@frontegg/redux-store").TenantsState>) => void;
221
234
  resetTenantsState: () => void;
222
235
  switchTenant: (payload: import("@frontegg/redux-store/interfaces").WithCallback<import("@frontegg/rest-api").ISwitchTenant, boolean>) => void;
@@ -226,5 +239,8 @@ export declare const mapTenantsActions: <K extends "setTenantsState" | "resetTen
226
239
  loadSubTenants: (payload?: {
227
240
  callback?: ((data: boolean | null, error?: string | undefined) => void) | undefined;
228
241
  } | undefined) => void;
242
+ loadSubTenantsTree: (payload?: {
243
+ callback?: ((data: boolean | null, error?: string | undefined) => void) | undefined;
244
+ } | undefined) => void;
229
245
  }[K];
230
246
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@frontegg/vue",
3
- "version": "1.0.15",
3
+ "version": "1.0.16-alpha.2611246737",
4
4
  "description": "",
5
5
  "main": "dist/index.ssr.js",
6
6
  "browser": "dist/index.js",
@@ -22,8 +22,8 @@
22
22
  "build:unpkg": "cross-env NODE_ENV=production rollup --config build/rollup.config.js --format iife"
23
23
  },
24
24
  "dependencies": {
25
- "@frontegg/admin-portal": "5.59.0",
26
- "@frontegg/redux-store": "5.59.0",
25
+ "@frontegg/admin-portal": "5.62.0",
26
+ "@frontegg/redux-store": "5.62.0",
27
27
  "get-value": "^3.0.1",
28
28
  "set-value": "^4.0.1"
29
29
  },
@@ -62,4 +62,4 @@
62
62
  "engines": {
63
63
  "node": ">=12"
64
64
  }
65
- }
65
+ }