@contember/react-client-tenant 2.1.0-beta.2 → 2.2.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/development/index.cjs +18 -0
- package/dist/development/index.cjs.map +1 -1
- package/dist/development/index.js +19 -1
- package/dist/development/index.js.map +1 -1
- package/dist/development/src/components/IdentityProvider.cjs.map +1 -1
- package/dist/development/src/components/IdentityProvider.js.map +1 -1
- package/dist/development/src/components/IdentityState.cjs.map +1 -1
- package/dist/development/src/components/IdentityState.js.map +1 -1
- package/dist/development/src/components/forms/ChangeMyPasswordForm.cjs.map +1 -1
- package/dist/development/src/components/forms/ChangeMyPasswordForm.js.map +1 -1
- package/dist/development/src/components/forms/ConfirmEmailChangeForm.cjs +52 -0
- package/dist/development/src/components/forms/ConfirmEmailChangeForm.cjs.map +1 -0
- package/dist/development/src/components/forms/ConfirmEmailChangeForm.js +52 -0
- package/dist/development/src/components/forms/ConfirmEmailChangeForm.js.map +1 -0
- package/dist/development/src/components/forms/CreateApiKeyForm.cjs.map +1 -1
- package/dist/development/src/components/forms/CreateApiKeyForm.js.map +1 -1
- package/dist/development/src/components/forms/CreateSessionTokenForm.cjs.map +1 -1
- package/dist/development/src/components/forms/CreateSessionTokenForm.js.map +1 -1
- package/dist/development/src/components/forms/InviteForm.cjs.map +1 -1
- package/dist/development/src/components/forms/InviteForm.js.map +1 -1
- package/dist/development/src/components/forms/LoginForm.cjs +3 -1
- package/dist/development/src/components/forms/LoginForm.cjs.map +1 -1
- package/dist/development/src/components/forms/LoginForm.js +3 -1
- package/dist/development/src/components/forms/LoginForm.js.map +1 -1
- package/dist/development/src/components/forms/OtpConfirmForm.cjs.map +1 -1
- package/dist/development/src/components/forms/OtpConfirmForm.js.map +1 -1
- package/dist/development/src/components/forms/OtpPrepareForm.cjs.map +1 -1
- package/dist/development/src/components/forms/OtpPrepareForm.js.map +1 -1
- package/dist/development/src/components/forms/PasswordResetForm.cjs.map +1 -1
- package/dist/development/src/components/forms/PasswordResetForm.js.map +1 -1
- package/dist/development/src/components/forms/PasswordResetRequestForm.cjs +3 -1
- package/dist/development/src/components/forms/PasswordResetRequestForm.cjs.map +1 -1
- package/dist/development/src/components/forms/PasswordResetRequestForm.js +3 -1
- package/dist/development/src/components/forms/PasswordResetRequestForm.js.map +1 -1
- package/dist/development/src/components/forms/PasswordlessSignInForm.cjs +2 -1
- package/dist/development/src/components/forms/PasswordlessSignInForm.cjs.map +1 -1
- package/dist/development/src/components/forms/PasswordlessSignInForm.js +2 -1
- package/dist/development/src/components/forms/PasswordlessSignInForm.js.map +1 -1
- package/dist/development/src/components/forms/PasswordlessSignInInitForm.cjs +3 -1
- package/dist/development/src/components/forms/PasswordlessSignInInitForm.cjs.map +1 -1
- package/dist/development/src/components/forms/PasswordlessSignInInitForm.js +3 -1
- package/dist/development/src/components/forms/PasswordlessSignInInitForm.js.map +1 -1
- package/dist/development/src/components/forms/RequestEmailVerificationForm.cjs +50 -0
- package/dist/development/src/components/forms/RequestEmailVerificationForm.cjs.map +1 -0
- package/dist/development/src/components/forms/RequestEmailVerificationForm.js +50 -0
- package/dist/development/src/components/forms/RequestEmailVerificationForm.js.map +1 -0
- package/dist/development/src/components/forms/TenantForm.cjs.map +1 -1
- package/dist/development/src/components/forms/TenantForm.js.map +1 -1
- package/dist/development/src/components/forms/UpdateProjectMemberForm.cjs.map +1 -1
- package/dist/development/src/components/forms/UpdateProjectMemberForm.js.map +1 -1
- package/dist/development/src/components/forms/VerifyEmailForm.cjs +50 -0
- package/dist/development/src/components/forms/VerifyEmailForm.cjs.map +1 -0
- package/dist/development/src/components/forms/VerifyEmailForm.js +50 -0
- package/dist/development/src/components/forms/VerifyEmailForm.js.map +1 -0
- package/dist/development/src/components/idp/IDP.cjs.map +1 -1
- package/dist/development/src/components/idp/IDP.js.map +1 -1
- package/dist/development/src/components/idp/IDPInitTrigger.cjs.map +1 -1
- package/dist/development/src/components/idp/IDPInitTrigger.js.map +1 -1
- package/dist/development/src/components/idp/IDPState.cjs.map +1 -1
- package/dist/development/src/components/idp/IDPState.js.map +1 -1
- package/dist/development/src/components/triggers/DisableOtpTrigger.cjs.map +1 -1
- package/dist/development/src/components/triggers/DisableOtpTrigger.js.map +1 -1
- package/dist/development/src/components/triggers/LogoutTrigger.cjs +3 -3
- package/dist/development/src/components/triggers/LogoutTrigger.cjs.map +1 -1
- package/dist/development/src/components/triggers/LogoutTrigger.js +3 -3
- package/dist/development/src/components/triggers/LogoutTrigger.js.map +1 -1
- package/dist/development/src/components/triggers/RemoveProjectMemberTrigger.cjs.map +1 -1
- package/dist/development/src/components/triggers/RemoveProjectMemberTrigger.js.map +1 -1
- package/dist/development/src/contexts.cjs.map +1 -1
- package/dist/development/src/contexts.js.map +1 -1
- package/dist/development/src/hooks/mutations/apiKey/useCreateApiKeyMutation.cjs.map +1 -1
- package/dist/development/src/hooks/mutations/apiKey/useCreateApiKeyMutation.js.map +1 -1
- package/dist/development/src/hooks/mutations/apiKey/useCreateGlobalApiKeyMutation.cjs.map +1 -1
- package/dist/development/src/hooks/mutations/apiKey/useCreateGlobalApiKeyMutation.js.map +1 -1
- package/dist/development/src/hooks/mutations/apiKey/useCreateSessionTokenMutation.cjs.map +1 -1
- package/dist/development/src/hooks/mutations/apiKey/useCreateSessionTokenMutation.js.map +1 -1
- package/dist/development/src/hooks/mutations/apiKey/useDisableApiKeyMutation.cjs.map +1 -1
- package/dist/development/src/hooks/mutations/apiKey/useDisableApiKeyMutation.js.map +1 -1
- package/dist/development/src/hooks/mutations/auth/useChangeMyPasswordMutation.cjs.map +1 -1
- package/dist/development/src/hooks/mutations/auth/useChangeMyPasswordMutation.js.map +1 -1
- package/dist/development/src/hooks/mutations/auth/useSignInMutation.cjs.map +1 -1
- package/dist/development/src/hooks/mutations/auth/useSignInMutation.js.map +1 -1
- package/dist/development/src/hooks/mutations/auth/useSignOutMutation.cjs.map +1 -1
- package/dist/development/src/hooks/mutations/auth/useSignOutMutation.js.map +1 -1
- package/dist/development/src/hooks/mutations/emailVerification/useConfirmEmailChangeMutation.cjs +32 -0
- package/dist/development/src/hooks/mutations/emailVerification/useConfirmEmailChangeMutation.cjs.map +1 -0
- package/dist/development/src/hooks/mutations/emailVerification/useConfirmEmailChangeMutation.js +15 -0
- package/dist/development/src/hooks/mutations/emailVerification/useConfirmEmailChangeMutation.js.map +1 -0
- package/dist/development/src/hooks/mutations/emailVerification/useRequestEmailVerificationMutation.cjs +32 -0
- package/dist/development/src/hooks/mutations/emailVerification/useRequestEmailVerificationMutation.cjs.map +1 -0
- package/dist/development/src/hooks/mutations/emailVerification/useRequestEmailVerificationMutation.js +15 -0
- package/dist/development/src/hooks/mutations/emailVerification/useRequestEmailVerificationMutation.js.map +1 -0
- package/dist/development/src/hooks/mutations/emailVerification/useVerifyEmailMutation.cjs +32 -0
- package/dist/development/src/hooks/mutations/emailVerification/useVerifyEmailMutation.cjs.map +1 -0
- package/dist/development/src/hooks/mutations/emailVerification/useVerifyEmailMutation.js +15 -0
- package/dist/development/src/hooks/mutations/emailVerification/useVerifyEmailMutation.js.map +1 -0
- package/dist/development/src/hooks/mutations/idp/useInitSignInIDPMutation.cjs.map +1 -1
- package/dist/development/src/hooks/mutations/idp/useInitSignInIDPMutation.js.map +1 -1
- package/dist/development/src/hooks/mutations/idp/useSignInIdpMutation.cjs.map +1 -1
- package/dist/development/src/hooks/mutations/idp/useSignInIdpMutation.js.map +1 -1
- package/dist/development/src/hooks/mutations/invite/useInviteMutation.cjs.map +1 -1
- package/dist/development/src/hooks/mutations/invite/useInviteMutation.js.map +1 -1
- package/dist/development/src/hooks/mutations/memberships/useAddProjectMemberMutation.cjs.map +1 -1
- package/dist/development/src/hooks/mutations/memberships/useAddProjectMemberMutation.js.map +1 -1
- package/dist/development/src/hooks/mutations/memberships/useRemoveProjectMemberMutation.cjs.map +1 -1
- package/dist/development/src/hooks/mutations/memberships/useRemoveProjectMemberMutation.js.map +1 -1
- package/dist/development/src/hooks/mutations/memberships/useUpdateProjectMemberMutation.cjs.map +1 -1
- package/dist/development/src/hooks/mutations/memberships/useUpdateProjectMemberMutation.js.map +1 -1
- package/dist/development/src/hooks/mutations/otp/useConfirmOtpMutation.cjs.map +1 -1
- package/dist/development/src/hooks/mutations/otp/useConfirmOtpMutation.js.map +1 -1
- package/dist/development/src/hooks/mutations/otp/useDisableOtpMutation.cjs.map +1 -1
- package/dist/development/src/hooks/mutations/otp/useDisableOtpMutation.js.map +1 -1
- package/dist/development/src/hooks/mutations/otp/usePrepareOtpMutation.cjs.map +1 -1
- package/dist/development/src/hooks/mutations/otp/usePrepareOtpMutation.js.map +1 -1
- package/dist/development/src/hooks/mutations/passwordReset/useCreateResetPasswordRequestMutation.cjs.map +1 -1
- package/dist/development/src/hooks/mutations/passwordReset/useCreateResetPasswordRequestMutation.js.map +1 -1
- package/dist/development/src/hooks/mutations/passwordReset/useResetPasswordMutation.cjs.map +1 -1
- package/dist/development/src/hooks/mutations/passwordReset/useResetPasswordMutation.js.map +1 -1
- package/dist/development/src/hooks/mutations/passwordless/useActivatePasswordlessOtpMutation.cjs.map +1 -1
- package/dist/development/src/hooks/mutations/passwordless/useActivatePasswordlessOtpMutation.js.map +1 -1
- package/dist/development/src/hooks/mutations/passwordless/useDisableMyPasswordlessMutation.cjs.map +1 -1
- package/dist/development/src/hooks/mutations/passwordless/useDisableMyPasswordlessMutation.js.map +1 -1
- package/dist/development/src/hooks/mutations/passwordless/useEnableMyPasswordlessMutation.cjs.map +1 -1
- package/dist/development/src/hooks/mutations/passwordless/useEnableMyPasswordlessMutation.js.map +1 -1
- package/dist/development/src/hooks/mutations/passwordless/useInitSignInPasswordlessMutation.cjs.map +1 -1
- package/dist/development/src/hooks/mutations/passwordless/useInitSignInPasswordlessMutation.js.map +1 -1
- package/dist/development/src/hooks/mutations/passwordless/useSignInPasswordlessMutation.cjs.map +1 -1
- package/dist/development/src/hooks/mutations/passwordless/useSignInPasswordlessMutation.js.map +1 -1
- package/dist/development/src/hooks/mutations/profile/useChangeMyProfile.cjs.map +1 -1
- package/dist/development/src/hooks/mutations/profile/useChangeMyProfile.js.map +1 -1
- package/dist/development/src/hooks/mutations/profile/useChangeProfile.cjs.map +1 -1
- package/dist/development/src/hooks/mutations/profile/useChangeProfile.js.map +1 -1
- package/dist/development/src/hooks/queries/useMeQuery.cjs.map +1 -1
- package/dist/development/src/hooks/queries/useMeQuery.js.map +1 -1
- package/dist/development/src/hooks/queries/useProjectMembersQuery.cjs.map +1 -1
- package/dist/development/src/hooks/queries/useProjectMembersQuery.js.map +1 -1
- package/dist/development/src/hooks/queries/useProjectMembershipsQuery.cjs.map +1 -1
- package/dist/development/src/hooks/queries/useProjectMembershipsQuery.js.map +1 -1
- package/dist/development/src/hooks/queries/useProjectRolesDefinitionQuery.cjs.map +1 -1
- package/dist/development/src/hooks/queries/useProjectRolesDefinitionQuery.js.map +1 -1
- package/dist/development/src/hooks/useFetchIdentity.cjs.map +1 -1
- package/dist/development/src/hooks/useFetchIdentity.js.map +1 -1
- package/dist/development/src/hooks/useLogout.cjs.map +1 -1
- package/dist/development/src/hooks/useLogout.js.map +1 -1
- package/dist/development/src/hooks/usePasswordlessOtpActivator.cjs.map +1 -1
- package/dist/development/src/hooks/usePasswordlessOtpActivator.js.map +1 -1
- package/dist/development/src/hooks/useTenantMutation.cjs.map +1 -1
- package/dist/development/src/hooks/useTenantMutation.js.map +1 -1
- package/dist/development/src/internal/hooks/useHandleIDPResponse.cjs.map +1 -1
- package/dist/development/src/internal/hooks/useHandleIDPResponse.js.map +1 -1
- package/dist/development/src/internal/hooks/useInitIDPRedirect.cjs.map +1 -1
- package/dist/development/src/internal/hooks/useInitIDPRedirect.js.map +1 -1
- package/dist/development/src/internal/hooks/useLogoutInternal.cjs +12 -7
- package/dist/development/src/internal/hooks/useLogoutInternal.cjs.map +1 -1
- package/dist/development/src/internal/hooks/useLogoutInternal.js +13 -8
- package/dist/development/src/internal/hooks/useLogoutInternal.js.map +1 -1
- package/dist/development/src/internal/hooks/useRedirectToBacklink.cjs.map +1 -1
- package/dist/development/src/internal/hooks/useRedirectToBacklink.js.map +1 -1
- package/dist/production/index.cjs +18 -0
- package/dist/production/index.cjs.map +1 -1
- package/dist/production/index.js +19 -1
- package/dist/production/index.js.map +1 -1
- package/dist/production/src/components/IdentityProvider.cjs.map +1 -1
- package/dist/production/src/components/IdentityProvider.js.map +1 -1
- package/dist/production/src/components/IdentityState.cjs.map +1 -1
- package/dist/production/src/components/IdentityState.js.map +1 -1
- package/dist/production/src/components/forms/ChangeMyPasswordForm.cjs.map +1 -1
- package/dist/production/src/components/forms/ChangeMyPasswordForm.js.map +1 -1
- package/dist/production/src/components/forms/ConfirmEmailChangeForm.cjs +44 -0
- package/dist/production/src/components/forms/ConfirmEmailChangeForm.cjs.map +1 -0
- package/dist/production/src/components/forms/ConfirmEmailChangeForm.js +44 -0
- package/dist/production/src/components/forms/ConfirmEmailChangeForm.js.map +1 -0
- package/dist/production/src/components/forms/CreateApiKeyForm.cjs.map +1 -1
- package/dist/production/src/components/forms/CreateApiKeyForm.js.map +1 -1
- package/dist/production/src/components/forms/CreateSessionTokenForm.cjs.map +1 -1
- package/dist/production/src/components/forms/CreateSessionTokenForm.js.map +1 -1
- package/dist/production/src/components/forms/InviteForm.cjs.map +1 -1
- package/dist/production/src/components/forms/InviteForm.js.map +1 -1
- package/dist/production/src/components/forms/LoginForm.cjs +3 -1
- package/dist/production/src/components/forms/LoginForm.cjs.map +1 -1
- package/dist/production/src/components/forms/LoginForm.js +3 -1
- package/dist/production/src/components/forms/LoginForm.js.map +1 -1
- package/dist/production/src/components/forms/OtpConfirmForm.cjs.map +1 -1
- package/dist/production/src/components/forms/OtpConfirmForm.js.map +1 -1
- package/dist/production/src/components/forms/OtpPrepareForm.cjs.map +1 -1
- package/dist/production/src/components/forms/OtpPrepareForm.js.map +1 -1
- package/dist/production/src/components/forms/PasswordResetForm.cjs.map +1 -1
- package/dist/production/src/components/forms/PasswordResetForm.js.map +1 -1
- package/dist/production/src/components/forms/PasswordResetRequestForm.cjs +3 -1
- package/dist/production/src/components/forms/PasswordResetRequestForm.cjs.map +1 -1
- package/dist/production/src/components/forms/PasswordResetRequestForm.js +3 -1
- package/dist/production/src/components/forms/PasswordResetRequestForm.js.map +1 -1
- package/dist/production/src/components/forms/PasswordlessSignInForm.cjs +2 -1
- package/dist/production/src/components/forms/PasswordlessSignInForm.cjs.map +1 -1
- package/dist/production/src/components/forms/PasswordlessSignInForm.js +2 -1
- package/dist/production/src/components/forms/PasswordlessSignInForm.js.map +1 -1
- package/dist/production/src/components/forms/PasswordlessSignInInitForm.cjs +3 -1
- package/dist/production/src/components/forms/PasswordlessSignInInitForm.cjs.map +1 -1
- package/dist/production/src/components/forms/PasswordlessSignInInitForm.js +3 -1
- package/dist/production/src/components/forms/PasswordlessSignInInitForm.js.map +1 -1
- package/dist/production/src/components/forms/RequestEmailVerificationForm.cjs +42 -0
- package/dist/production/src/components/forms/RequestEmailVerificationForm.cjs.map +1 -0
- package/dist/production/src/components/forms/RequestEmailVerificationForm.js +42 -0
- package/dist/production/src/components/forms/RequestEmailVerificationForm.js.map +1 -0
- package/dist/production/src/components/forms/TenantForm.cjs.map +1 -1
- package/dist/production/src/components/forms/TenantForm.js.map +1 -1
- package/dist/production/src/components/forms/UpdateProjectMemberForm.cjs.map +1 -1
- package/dist/production/src/components/forms/UpdateProjectMemberForm.js.map +1 -1
- package/dist/production/src/components/forms/VerifyEmailForm.cjs +42 -0
- package/dist/production/src/components/forms/VerifyEmailForm.cjs.map +1 -0
- package/dist/production/src/components/forms/VerifyEmailForm.js +42 -0
- package/dist/production/src/components/forms/VerifyEmailForm.js.map +1 -0
- package/dist/production/src/components/idp/IDP.cjs.map +1 -1
- package/dist/production/src/components/idp/IDP.js.map +1 -1
- package/dist/production/src/components/idp/IDPInitTrigger.cjs.map +1 -1
- package/dist/production/src/components/idp/IDPInitTrigger.js.map +1 -1
- package/dist/production/src/components/idp/IDPState.cjs.map +1 -1
- package/dist/production/src/components/idp/IDPState.js.map +1 -1
- package/dist/production/src/components/triggers/DisableOtpTrigger.cjs.map +1 -1
- package/dist/production/src/components/triggers/DisableOtpTrigger.js.map +1 -1
- package/dist/production/src/components/triggers/LogoutTrigger.cjs +2 -2
- package/dist/production/src/components/triggers/LogoutTrigger.cjs.map +1 -1
- package/dist/production/src/components/triggers/LogoutTrigger.js +2 -2
- package/dist/production/src/components/triggers/LogoutTrigger.js.map +1 -1
- package/dist/production/src/components/triggers/RemoveProjectMemberTrigger.cjs.map +1 -1
- package/dist/production/src/components/triggers/RemoveProjectMemberTrigger.js.map +1 -1
- package/dist/production/src/contexts.cjs.map +1 -1
- package/dist/production/src/contexts.js.map +1 -1
- package/dist/production/src/hooks/mutations/apiKey/useCreateApiKeyMutation.cjs.map +1 -1
- package/dist/production/src/hooks/mutations/apiKey/useCreateApiKeyMutation.js.map +1 -1
- package/dist/production/src/hooks/mutations/apiKey/useCreateGlobalApiKeyMutation.cjs.map +1 -1
- package/dist/production/src/hooks/mutations/apiKey/useCreateGlobalApiKeyMutation.js.map +1 -1
- package/dist/production/src/hooks/mutations/apiKey/useCreateSessionTokenMutation.cjs.map +1 -1
- package/dist/production/src/hooks/mutations/apiKey/useCreateSessionTokenMutation.js.map +1 -1
- package/dist/production/src/hooks/mutations/apiKey/useDisableApiKeyMutation.cjs.map +1 -1
- package/dist/production/src/hooks/mutations/apiKey/useDisableApiKeyMutation.js.map +1 -1
- package/dist/production/src/hooks/mutations/auth/useChangeMyPasswordMutation.cjs.map +1 -1
- package/dist/production/src/hooks/mutations/auth/useChangeMyPasswordMutation.js.map +1 -1
- package/dist/production/src/hooks/mutations/auth/useSignInMutation.cjs.map +1 -1
- package/dist/production/src/hooks/mutations/auth/useSignInMutation.js.map +1 -1
- package/dist/production/src/hooks/mutations/auth/useSignOutMutation.cjs.map +1 -1
- package/dist/production/src/hooks/mutations/auth/useSignOutMutation.js.map +1 -1
- package/dist/production/src/hooks/mutations/emailVerification/useConfirmEmailChangeMutation.cjs +32 -0
- package/dist/production/src/hooks/mutations/emailVerification/useConfirmEmailChangeMutation.cjs.map +1 -0
- package/dist/production/src/hooks/mutations/emailVerification/useConfirmEmailChangeMutation.js +15 -0
- package/dist/production/src/hooks/mutations/emailVerification/useConfirmEmailChangeMutation.js.map +1 -0
- package/dist/production/src/hooks/mutations/emailVerification/useRequestEmailVerificationMutation.cjs +32 -0
- package/dist/production/src/hooks/mutations/emailVerification/useRequestEmailVerificationMutation.cjs.map +1 -0
- package/dist/production/src/hooks/mutations/emailVerification/useRequestEmailVerificationMutation.js +15 -0
- package/dist/production/src/hooks/mutations/emailVerification/useRequestEmailVerificationMutation.js.map +1 -0
- package/dist/production/src/hooks/mutations/emailVerification/useVerifyEmailMutation.cjs +32 -0
- package/dist/production/src/hooks/mutations/emailVerification/useVerifyEmailMutation.cjs.map +1 -0
- package/dist/production/src/hooks/mutations/emailVerification/useVerifyEmailMutation.js +15 -0
- package/dist/production/src/hooks/mutations/emailVerification/useVerifyEmailMutation.js.map +1 -0
- package/dist/production/src/hooks/mutations/idp/useInitSignInIDPMutation.cjs.map +1 -1
- package/dist/production/src/hooks/mutations/idp/useInitSignInIDPMutation.js.map +1 -1
- package/dist/production/src/hooks/mutations/idp/useSignInIdpMutation.cjs.map +1 -1
- package/dist/production/src/hooks/mutations/idp/useSignInIdpMutation.js.map +1 -1
- package/dist/production/src/hooks/mutations/invite/useInviteMutation.cjs.map +1 -1
- package/dist/production/src/hooks/mutations/invite/useInviteMutation.js.map +1 -1
- package/dist/production/src/hooks/mutations/memberships/useAddProjectMemberMutation.cjs.map +1 -1
- package/dist/production/src/hooks/mutations/memberships/useAddProjectMemberMutation.js.map +1 -1
- package/dist/production/src/hooks/mutations/memberships/useRemoveProjectMemberMutation.cjs.map +1 -1
- package/dist/production/src/hooks/mutations/memberships/useRemoveProjectMemberMutation.js.map +1 -1
- package/dist/production/src/hooks/mutations/memberships/useUpdateProjectMemberMutation.cjs.map +1 -1
- package/dist/production/src/hooks/mutations/memberships/useUpdateProjectMemberMutation.js.map +1 -1
- package/dist/production/src/hooks/mutations/otp/useConfirmOtpMutation.cjs.map +1 -1
- package/dist/production/src/hooks/mutations/otp/useConfirmOtpMutation.js.map +1 -1
- package/dist/production/src/hooks/mutations/otp/useDisableOtpMutation.cjs.map +1 -1
- package/dist/production/src/hooks/mutations/otp/useDisableOtpMutation.js.map +1 -1
- package/dist/production/src/hooks/mutations/otp/usePrepareOtpMutation.cjs.map +1 -1
- package/dist/production/src/hooks/mutations/otp/usePrepareOtpMutation.js.map +1 -1
- package/dist/production/src/hooks/mutations/passwordReset/useCreateResetPasswordRequestMutation.cjs.map +1 -1
- package/dist/production/src/hooks/mutations/passwordReset/useCreateResetPasswordRequestMutation.js.map +1 -1
- package/dist/production/src/hooks/mutations/passwordReset/useResetPasswordMutation.cjs.map +1 -1
- package/dist/production/src/hooks/mutations/passwordReset/useResetPasswordMutation.js.map +1 -1
- package/dist/production/src/hooks/mutations/passwordless/useActivatePasswordlessOtpMutation.cjs.map +1 -1
- package/dist/production/src/hooks/mutations/passwordless/useActivatePasswordlessOtpMutation.js.map +1 -1
- package/dist/production/src/hooks/mutations/passwordless/useDisableMyPasswordlessMutation.cjs.map +1 -1
- package/dist/production/src/hooks/mutations/passwordless/useDisableMyPasswordlessMutation.js.map +1 -1
- package/dist/production/src/hooks/mutations/passwordless/useEnableMyPasswordlessMutation.cjs.map +1 -1
- package/dist/production/src/hooks/mutations/passwordless/useEnableMyPasswordlessMutation.js.map +1 -1
- package/dist/production/src/hooks/mutations/passwordless/useInitSignInPasswordlessMutation.cjs.map +1 -1
- package/dist/production/src/hooks/mutations/passwordless/useInitSignInPasswordlessMutation.js.map +1 -1
- package/dist/production/src/hooks/mutations/passwordless/useSignInPasswordlessMutation.cjs.map +1 -1
- package/dist/production/src/hooks/mutations/passwordless/useSignInPasswordlessMutation.js.map +1 -1
- package/dist/production/src/hooks/mutations/profile/useChangeMyProfile.cjs.map +1 -1
- package/dist/production/src/hooks/mutations/profile/useChangeMyProfile.js.map +1 -1
- package/dist/production/src/hooks/mutations/profile/useChangeProfile.cjs.map +1 -1
- package/dist/production/src/hooks/mutations/profile/useChangeProfile.js.map +1 -1
- package/dist/production/src/hooks/queries/useMeQuery.cjs.map +1 -1
- package/dist/production/src/hooks/queries/useMeQuery.js.map +1 -1
- package/dist/production/src/hooks/queries/useProjectMembersQuery.cjs.map +1 -1
- package/dist/production/src/hooks/queries/useProjectMembersQuery.js.map +1 -1
- package/dist/production/src/hooks/queries/useProjectMembershipsQuery.cjs.map +1 -1
- package/dist/production/src/hooks/queries/useProjectMembershipsQuery.js.map +1 -1
- package/dist/production/src/hooks/queries/useProjectRolesDefinitionQuery.cjs.map +1 -1
- package/dist/production/src/hooks/queries/useProjectRolesDefinitionQuery.js.map +1 -1
- package/dist/production/src/hooks/useFetchIdentity.cjs.map +1 -1
- package/dist/production/src/hooks/useFetchIdentity.js.map +1 -1
- package/dist/production/src/hooks/useLogout.cjs.map +1 -1
- package/dist/production/src/hooks/useLogout.js.map +1 -1
- package/dist/production/src/hooks/usePasswordlessOtpActivator.cjs.map +1 -1
- package/dist/production/src/hooks/usePasswordlessOtpActivator.js.map +1 -1
- package/dist/production/src/hooks/useTenantMutation.cjs.map +1 -1
- package/dist/production/src/hooks/useTenantMutation.js.map +1 -1
- package/dist/production/src/internal/hooks/useHandleIDPResponse.cjs.map +1 -1
- package/dist/production/src/internal/hooks/useHandleIDPResponse.js.map +1 -1
- package/dist/production/src/internal/hooks/useInitIDPRedirect.cjs.map +1 -1
- package/dist/production/src/internal/hooks/useInitIDPRedirect.js.map +1 -1
- package/dist/production/src/internal/hooks/useLogoutInternal.cjs +12 -7
- package/dist/production/src/internal/hooks/useLogoutInternal.cjs.map +1 -1
- package/dist/production/src/internal/hooks/useLogoutInternal.js +13 -8
- package/dist/production/src/internal/hooks/useLogoutInternal.js.map +1 -1
- package/dist/production/src/internal/hooks/useRedirectToBacklink.cjs.map +1 -1
- package/dist/production/src/internal/hooks/useRedirectToBacklink.js.map +1 -1
- package/dist/types/components/IdentityState.d.ts +1 -1
- package/dist/types/components/IdentityState.d.ts.map +1 -1
- package/dist/types/components/forms/ChangeMyPasswordForm.d.ts +1 -1
- package/dist/types/components/forms/ChangeMyPasswordForm.d.ts.map +1 -1
- package/dist/types/components/forms/ConfirmEmailChangeForm.d.ts +18 -0
- package/dist/types/components/forms/ConfirmEmailChangeForm.d.ts.map +1 -0
- package/dist/types/components/forms/CreateApiKeyForm.d.ts +2 -2
- package/dist/types/components/forms/CreateApiKeyForm.d.ts.map +1 -1
- package/dist/types/components/forms/CreateSessionTokenForm.d.ts +2 -2
- package/dist/types/components/forms/CreateSessionTokenForm.d.ts.map +1 -1
- package/dist/types/components/forms/InviteForm.d.ts +2 -2
- package/dist/types/components/forms/InviteForm.d.ts.map +1 -1
- package/dist/types/components/forms/LoginForm.d.ts +1 -1
- package/dist/types/components/forms/LoginForm.d.ts.map +1 -1
- package/dist/types/components/forms/OtpConfirmForm.d.ts +1 -1
- package/dist/types/components/forms/OtpConfirmForm.d.ts.map +1 -1
- package/dist/types/components/forms/OtpPrepareForm.d.ts +2 -2
- package/dist/types/components/forms/OtpPrepareForm.d.ts.map +1 -1
- package/dist/types/components/forms/PasswordResetForm.d.ts +1 -1
- package/dist/types/components/forms/PasswordResetForm.d.ts.map +1 -1
- package/dist/types/components/forms/PasswordResetRequestForm.d.ts +1 -1
- package/dist/types/components/forms/PasswordResetRequestForm.d.ts.map +1 -1
- package/dist/types/components/forms/PasswordlessSignInForm.d.ts +1 -1
- package/dist/types/components/forms/PasswordlessSignInForm.d.ts.map +1 -1
- package/dist/types/components/forms/PasswordlessSignInInitForm.d.ts +2 -2
- package/dist/types/components/forms/PasswordlessSignInInitForm.d.ts.map +1 -1
- package/dist/types/components/forms/RequestEmailVerificationForm.d.ts +17 -0
- package/dist/types/components/forms/RequestEmailVerificationForm.d.ts.map +1 -0
- package/dist/types/components/forms/TenantForm.d.ts +1 -1
- package/dist/types/components/forms/TenantForm.d.ts.map +1 -1
- package/dist/types/components/forms/UpdateProjectMemberForm.d.ts +1 -1
- package/dist/types/components/forms/UpdateProjectMemberForm.d.ts.map +1 -1
- package/dist/types/components/forms/VerifyEmailForm.d.ts +18 -0
- package/dist/types/components/forms/VerifyEmailForm.d.ts.map +1 -0
- package/dist/types/components/forms/index.d.ts +15 -12
- package/dist/types/components/forms/index.d.ts.map +1 -1
- package/dist/types/components/idp/IDP.d.ts +1 -1
- package/dist/types/components/idp/IDP.d.ts.map +1 -1
- package/dist/types/components/idp/IDPState.d.ts +1 -1
- package/dist/types/components/idp/IDPState.d.ts.map +1 -1
- package/dist/types/components/idp/index.d.ts +3 -3
- package/dist/types/components/idp/index.d.ts.map +1 -1
- package/dist/types/components/index.d.ts +5 -5
- package/dist/types/components/index.d.ts.map +1 -1
- package/dist/types/components/triggers/LogoutTrigger.d.ts +7 -1
- package/dist/types/components/triggers/LogoutTrigger.d.ts.map +1 -1
- package/dist/types/components/triggers/RemoveProjectMemberTrigger.d.ts +1 -1
- package/dist/types/components/triggers/RemoveProjectMemberTrigger.d.ts.map +1 -1
- package/dist/types/components/triggers/index.d.ts +3 -3
- package/dist/types/components/triggers/index.d.ts.map +1 -1
- package/dist/types/contexts.d.ts +1 -1
- package/dist/types/contexts.d.ts.map +1 -1
- package/dist/types/hooks/index.d.ts +8 -8
- package/dist/types/hooks/index.d.ts.map +1 -1
- package/dist/types/hooks/mutations/apiKey/index.d.ts +4 -4
- package/dist/types/hooks/mutations/apiKey/index.d.ts.map +1 -1
- package/dist/types/hooks/mutations/apiKey/useCreateApiKeyMutation.d.ts +4 -2
- package/dist/types/hooks/mutations/apiKey/useCreateApiKeyMutation.d.ts.map +1 -1
- package/dist/types/hooks/mutations/apiKey/useCreateGlobalApiKeyMutation.d.ts +4 -2
- package/dist/types/hooks/mutations/apiKey/useCreateGlobalApiKeyMutation.d.ts.map +1 -1
- package/dist/types/hooks/mutations/apiKey/useCreateSessionTokenMutation.d.ts +4 -2
- package/dist/types/hooks/mutations/apiKey/useCreateSessionTokenMutation.d.ts.map +1 -1
- package/dist/types/hooks/mutations/apiKey/useDisableApiKeyMutation.d.ts +2 -2
- package/dist/types/hooks/mutations/apiKey/useDisableApiKeyMutation.d.ts.map +1 -1
- package/dist/types/hooks/mutations/auth/index.d.ts +3 -3
- package/dist/types/hooks/mutations/auth/index.d.ts.map +1 -1
- package/dist/types/hooks/mutations/auth/useChangeMyPasswordMutation.d.ts +2 -2
- package/dist/types/hooks/mutations/auth/useChangeMyPasswordMutation.d.ts.map +1 -1
- package/dist/types/hooks/mutations/auth/useSignInMutation.d.ts +12 -2
- package/dist/types/hooks/mutations/auth/useSignInMutation.d.ts.map +1 -1
- package/dist/types/hooks/mutations/auth/useSignOutMutation.d.ts +4 -2
- package/dist/types/hooks/mutations/auth/useSignOutMutation.d.ts.map +1 -1
- package/dist/types/hooks/mutations/emailVerification/index.d.ts +4 -0
- package/dist/types/hooks/mutations/emailVerification/index.d.ts.map +1 -0
- package/dist/types/hooks/mutations/emailVerification/useConfirmEmailChangeMutation.d.ts +19 -0
- package/dist/types/hooks/mutations/emailVerification/useConfirmEmailChangeMutation.d.ts.map +1 -0
- package/dist/types/hooks/mutations/emailVerification/useRequestEmailVerificationMutation.d.ts +23 -0
- package/dist/types/hooks/mutations/emailVerification/useRequestEmailVerificationMutation.d.ts.map +1 -0
- package/dist/types/hooks/mutations/emailVerification/useVerifyEmailMutation.d.ts +19 -0
- package/dist/types/hooks/mutations/emailVerification/useVerifyEmailMutation.d.ts.map +1 -0
- package/dist/types/hooks/mutations/idp/index.d.ts +2 -2
- package/dist/types/hooks/mutations/idp/index.d.ts.map +1 -1
- package/dist/types/hooks/mutations/idp/useInitSignInIDPMutation.d.ts +1 -1
- package/dist/types/hooks/mutations/idp/useSignInIdpMutation.d.ts +2 -1
- package/dist/types/hooks/mutations/idp/useSignInIdpMutation.d.ts.map +1 -1
- package/dist/types/hooks/mutations/index.d.ts +10 -9
- package/dist/types/hooks/mutations/index.d.ts.map +1 -1
- package/dist/types/hooks/mutations/invite/index.d.ts +1 -1
- package/dist/types/hooks/mutations/invite/index.d.ts.map +1 -1
- package/dist/types/hooks/mutations/invite/useInviteMutation.d.ts +2 -2
- package/dist/types/hooks/mutations/memberships/index.d.ts +3 -3
- package/dist/types/hooks/mutations/memberships/index.d.ts.map +1 -1
- package/dist/types/hooks/mutations/memberships/useAddProjectMemberMutation.d.ts +2 -2
- package/dist/types/hooks/mutations/memberships/useAddProjectMemberMutation.d.ts.map +1 -1
- package/dist/types/hooks/mutations/memberships/useRemoveProjectMemberMutation.d.ts +2 -2
- package/dist/types/hooks/mutations/memberships/useRemoveProjectMemberMutation.d.ts.map +1 -1
- package/dist/types/hooks/mutations/memberships/useUpdateProjectMemberMutation.d.ts +2 -2
- package/dist/types/hooks/mutations/memberships/useUpdateProjectMemberMutation.d.ts.map +1 -1
- package/dist/types/hooks/mutations/otp/index.d.ts +3 -3
- package/dist/types/hooks/mutations/otp/index.d.ts.map +1 -1
- package/dist/types/hooks/mutations/otp/useConfirmOtpMutation.d.ts +2 -2
- package/dist/types/hooks/mutations/otp/useConfirmOtpMutation.d.ts.map +1 -1
- package/dist/types/hooks/mutations/otp/useDisableOtpMutation.d.ts +1 -1
- package/dist/types/hooks/mutations/otp/useDisableOtpMutation.d.ts.map +1 -1
- package/dist/types/hooks/mutations/otp/usePrepareOtpMutation.d.ts +2 -2
- package/dist/types/hooks/mutations/passwordReset/index.d.ts +2 -2
- package/dist/types/hooks/mutations/passwordReset/index.d.ts.map +1 -1
- package/dist/types/hooks/mutations/passwordReset/useCreateResetPasswordRequestMutation.d.ts +4 -2
- package/dist/types/hooks/mutations/passwordReset/useCreateResetPasswordRequestMutation.d.ts.map +1 -1
- package/dist/types/hooks/mutations/passwordReset/useResetPasswordMutation.d.ts +2 -2
- package/dist/types/hooks/mutations/passwordReset/useResetPasswordMutation.d.ts.map +1 -1
- package/dist/types/hooks/mutations/passwordless/index.d.ts +5 -5
- package/dist/types/hooks/mutations/passwordless/index.d.ts.map +1 -1
- package/dist/types/hooks/mutations/passwordless/useActivatePasswordlessOtpMutation.d.ts +2 -2
- package/dist/types/hooks/mutations/passwordless/useActivatePasswordlessOtpMutation.d.ts.map +1 -1
- package/dist/types/hooks/mutations/passwordless/useDisableMyPasswordlessMutation.d.ts +1 -1
- package/dist/types/hooks/mutations/passwordless/useDisableMyPasswordlessMutation.d.ts.map +1 -1
- package/dist/types/hooks/mutations/passwordless/useEnableMyPasswordlessMutation.d.ts +1 -1
- package/dist/types/hooks/mutations/passwordless/useEnableMyPasswordlessMutation.d.ts.map +1 -1
- package/dist/types/hooks/mutations/passwordless/useInitSignInPasswordlessMutation.d.ts +3 -2
- package/dist/types/hooks/mutations/passwordless/useInitSignInPasswordlessMutation.d.ts.map +1 -1
- package/dist/types/hooks/mutations/passwordless/useSignInPasswordlessMutation.d.ts +4 -2
- package/dist/types/hooks/mutations/passwordless/useSignInPasswordlessMutation.d.ts.map +1 -1
- package/dist/types/hooks/mutations/profile/index.d.ts +2 -2
- package/dist/types/hooks/mutations/profile/index.d.ts.map +1 -1
- package/dist/types/hooks/mutations/profile/useChangeMyProfile.d.ts +2 -2
- package/dist/types/hooks/mutations/profile/useChangeMyProfile.d.ts.map +1 -1
- package/dist/types/hooks/mutations/profile/useChangeProfile.d.ts +2 -2
- package/dist/types/hooks/mutations/profile/useChangeProfile.d.ts.map +1 -1
- package/dist/types/hooks/queries/index.d.ts +4 -4
- package/dist/types/hooks/queries/index.d.ts.map +1 -1
- package/dist/types/hooks/queries/useMeQuery.d.ts +1 -1
- package/dist/types/hooks/queries/useMeQuery.d.ts.map +1 -1
- package/dist/types/hooks/queries/useProjectMembersQuery.d.ts +15 -3
- package/dist/types/hooks/queries/useProjectMembersQuery.d.ts.map +1 -1
- package/dist/types/hooks/queries/useProjectMembershipsQuery.d.ts +1 -1
- package/dist/types/hooks/queries/useProjectMembershipsQuery.d.ts.map +1 -1
- package/dist/types/hooks/queries/useProjectRolesDefinitionQuery.d.ts +1 -1
- package/dist/types/hooks/queries/useProjectRolesDefinitionQuery.d.ts.map +1 -1
- package/dist/types/hooks/useFetchIdentity.d.ts +1 -1
- package/dist/types/hooks/useFetchIdentity.d.ts.map +1 -1
- package/dist/types/hooks/useLogout.d.ts +2 -1
- package/dist/types/hooks/useLogout.d.ts.map +1 -1
- package/dist/types/hooks/useTenantMutation.d.ts +1 -1
- package/dist/types/hooks/useTenantMutation.d.ts.map +1 -1
- package/dist/types/index.d.ts +4 -4
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/internal/hooks/useHandleIDPResponse.d.ts +1 -1
- package/dist/types/internal/hooks/useHandleIDPResponse.d.ts.map +1 -1
- package/dist/types/internal/hooks/useInitIDPRedirect.d.ts +1 -1
- package/dist/types/internal/hooks/useInitIDPRedirect.d.ts.map +1 -1
- package/dist/types/internal/hooks/useLogoutInternal.d.ts +2 -1
- package/dist/types/internal/hooks/useLogoutInternal.d.ts.map +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/dist/types/types/index.d.ts +5 -5
- package/dist/types/types/index.d.ts.map +1 -1
- package/package.json +4 -4
- package/src/components/IdentityProvider.tsx +2 -2
- package/src/components/IdentityState.tsx +2 -2
- package/src/components/forms/ChangeMyPasswordForm.tsx +4 -4
- package/src/components/forms/ConfirmEmailChangeForm.tsx +66 -0
- package/src/components/forms/CreateApiKeyForm.tsx +4 -4
- package/src/components/forms/CreateSessionTokenForm.tsx +4 -4
- package/src/components/forms/InviteForm.tsx +4 -4
- package/src/components/forms/LoginForm.tsx +7 -5
- package/src/components/forms/OtpConfirmForm.tsx +4 -4
- package/src/components/forms/OtpPrepareForm.tsx +4 -4
- package/src/components/forms/PasswordResetForm.tsx +4 -4
- package/src/components/forms/PasswordResetRequestForm.tsx +6 -4
- package/src/components/forms/PasswordlessSignInForm.tsx +6 -5
- package/src/components/forms/PasswordlessSignInInitForm.tsx +8 -6
- package/src/components/forms/RequestEmailVerificationForm.tsx +62 -0
- package/src/components/forms/TenantForm.tsx +2 -2
- package/src/components/forms/UpdateProjectMemberForm.tsx +4 -4
- package/src/components/forms/VerifyEmailForm.tsx +64 -0
- package/src/components/forms/index.ts +15 -12
- package/src/components/idp/IDP.tsx +5 -5
- package/src/components/idp/IDPInitTrigger.tsx +1 -1
- package/src/components/idp/IDPState.tsx +2 -2
- package/src/components/idp/index.ts +3 -3
- package/src/components/index.ts +5 -5
- package/src/components/triggers/DisableOtpTrigger.tsx +3 -3
- package/src/components/triggers/LogoutTrigger.tsx +9 -3
- package/src/components/triggers/RemoveProjectMemberTrigger.tsx +2 -2
- package/src/components/triggers/index.ts +3 -3
- package/src/contexts.ts +1 -1
- package/src/hooks/index.ts +8 -8
- package/src/hooks/mutations/apiKey/index.ts +4 -4
- package/src/hooks/mutations/apiKey/useCreateApiKeyMutation.tsx +1 -1
- package/src/hooks/mutations/apiKey/useCreateGlobalApiKeyMutation.tsx +1 -1
- package/src/hooks/mutations/apiKey/useCreateSessionTokenMutation.tsx +1 -1
- package/src/hooks/mutations/apiKey/useDisableApiKeyMutation.tsx +1 -1
- package/src/hooks/mutations/auth/index.ts +3 -3
- package/src/hooks/mutations/auth/useChangeMyPasswordMutation.ts +1 -1
- package/src/hooks/mutations/auth/useSignInMutation.ts +2 -2
- package/src/hooks/mutations/auth/useSignOutMutation.ts +1 -1
- package/src/hooks/mutations/emailVerification/index.ts +3 -0
- package/src/hooks/mutations/emailVerification/useConfirmEmailChangeMutation.ts +17 -0
- package/src/hooks/mutations/emailVerification/useRequestEmailVerificationMutation.ts +17 -0
- package/src/hooks/mutations/emailVerification/useVerifyEmailMutation.ts +17 -0
- package/src/hooks/mutations/idp/index.ts +2 -2
- package/src/hooks/mutations/idp/useInitSignInIDPMutation.ts +2 -2
- package/src/hooks/mutations/idp/useSignInIdpMutation.ts +2 -2
- package/src/hooks/mutations/index.ts +10 -9
- package/src/hooks/mutations/invite/index.ts +1 -1
- package/src/hooks/mutations/invite/useInviteMutation.tsx +1 -1
- package/src/hooks/mutations/memberships/index.ts +3 -3
- package/src/hooks/mutations/memberships/useAddProjectMemberMutation.ts +1 -1
- package/src/hooks/mutations/memberships/useRemoveProjectMemberMutation.ts +1 -1
- package/src/hooks/mutations/memberships/useUpdateProjectMemberMutation.ts +1 -1
- package/src/hooks/mutations/otp/index.ts +3 -3
- package/src/hooks/mutations/otp/useConfirmOtpMutation.ts +1 -1
- package/src/hooks/mutations/otp/useDisableOtpMutation.ts +1 -1
- package/src/hooks/mutations/otp/usePrepareOtpMutation.ts +1 -1
- package/src/hooks/mutations/passwordReset/index.ts +2 -2
- package/src/hooks/mutations/passwordReset/useCreateResetPasswordRequestMutation.ts +2 -2
- package/src/hooks/mutations/passwordReset/useResetPasswordMutation.ts +2 -2
- package/src/hooks/mutations/passwordless/index.ts +5 -5
- package/src/hooks/mutations/passwordless/useActivatePasswordlessOtpMutation.ts +2 -2
- package/src/hooks/mutations/passwordless/useDisableMyPasswordlessMutation.ts +1 -1
- package/src/hooks/mutations/passwordless/useEnableMyPasswordlessMutation.ts +1 -1
- package/src/hooks/mutations/passwordless/useInitSignInPasswordlessMutation.ts +2 -2
- package/src/hooks/mutations/passwordless/useSignInPasswordlessMutation.ts +2 -2
- package/src/hooks/mutations/profile/index.ts +2 -2
- package/src/hooks/mutations/profile/useChangeMyProfile.ts +1 -1
- package/src/hooks/mutations/profile/useChangeProfile.ts +1 -1
- package/src/hooks/queries/index.ts +4 -4
- package/src/hooks/queries/useMeQuery.ts +1 -1
- package/src/hooks/queries/useProjectMembersQuery.ts +1 -1
- package/src/hooks/queries/useProjectMembershipsQuery.ts +1 -1
- package/src/hooks/queries/useProjectRolesDefinitionQuery.ts +1 -1
- package/src/hooks/useFetchIdentity.ts +3 -3
- package/src/hooks/useLogout.ts +2 -2
- package/src/hooks/usePasswordlessOtpActivator.ts +4 -4
- package/src/hooks/useTenantMutation.ts +1 -1
- package/src/index.ts +4 -4
- package/src/internal/hooks/useHandleIDPResponse.ts +5 -5
- package/src/internal/hooks/useInitIDPRedirect.ts +5 -5
- package/src/internal/hooks/useLogoutInternal.ts +18 -8
- package/src/internal/hooks/useRedirectToBacklink.ts +1 -1
- package/src/types/index.ts +5 -5
package/dist/types/contexts.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { FormContextValue, Identity, IdentityMethods, IdentityStateValue, IDPMethods, IDPStateValue } from './types';
|
|
1
|
+
import { FormContextValue, Identity, IdentityMethods, IdentityStateValue, IDPMethods, IDPStateValue } from './types/index.js';
|
|
2
2
|
/** @internal */
|
|
3
3
|
export declare const IdentityContext: import("react").Context<Identity | undefined>;
|
|
4
4
|
export declare const useIdentity: () => Identity | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contexts.d.ts","sourceRoot":"","sources":["../../src/contexts.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,QAAQ,EAAE,eAAe,EAAE,kBAAkB,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"contexts.d.ts","sourceRoot":"","sources":["../../src/contexts.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,QAAQ,EAAE,eAAe,EAAE,kBAAkB,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAA;AAG7H,gBAAgB;AAChB,eAAO,MAAM,eAAe,+CAAsB,CAAA;AAClD,eAAO,MAAM,WAAW,4BAAsB,CAAA;AAG9C,gBAAgB;AAChB,eAAO,MAAM,sBAAsB,0CAA6B,CAAA;AAChE,eAAO,MAAM,kBAAkB,uBAA6B,CAAA;AAG5D,gBAAgB;AAChB,eAAO,MAAM,oBAAoB,6CAA2B,CAAA;AAC5D,eAAO,MAAM,gBAAgB,0BAA2B,CAAA;AAGxD,gBAAgB;AAChB,eAAO,MAAM,WAAW,0DAAkB,CAAA;AAC1C,eAAO,MAAM,OAAO,uCAAkB,CAAA;AAGtC,gBAAgB;AAChB,eAAO,MAAM,uBAAuB,wCAAqB,CAAA;AACzD,eAAO,MAAM,WAAW,qBAAqB,CAAA;AAG7C,gBAAgB;AAChB,eAAO,MAAM,yBAAyB,qCAAuB,CAAA;AAC7D,eAAO,MAAM,aAAa,kBAAuB,CAAA"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export * from './mutations';
|
|
2
|
-
export * from './queries';
|
|
3
|
-
export * from './useFetchIdentity';
|
|
4
|
-
export * from './useLogout';
|
|
5
|
-
export * from './useTenantApi';
|
|
6
|
-
export * from './useTenantQueryLoader';
|
|
7
|
-
export * from './useTenantMutation';
|
|
8
|
-
export * from './usePasswordlessOtpActivator';
|
|
1
|
+
export * from './mutations/index.js';
|
|
2
|
+
export * from './queries/index.js';
|
|
3
|
+
export * from './useFetchIdentity.js';
|
|
4
|
+
export * from './useLogout.js';
|
|
5
|
+
export * from './useTenantApi.js';
|
|
6
|
+
export * from './useTenantQueryLoader.js';
|
|
7
|
+
export * from './useTenantMutation.js';
|
|
8
|
+
export * from './usePasswordlessOtpActivator.js';
|
|
9
9
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/hooks/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/hooks/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAA;AACpC,cAAc,oBAAoB,CAAA;AAClC,cAAc,uBAAuB,CAAA;AACrC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,mBAAmB,CAAA;AACjC,cAAc,2BAA2B,CAAA;AACzC,cAAc,wBAAwB,CAAA;AACtC,cAAc,kCAAkC,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export * from './useCreateApiKeyMutation';
|
|
2
|
-
export * from './useCreateSessionTokenMutation';
|
|
3
|
-
export * from './useCreateGlobalApiKeyMutation';
|
|
4
|
-
export * from './useDisableApiKeyMutation';
|
|
1
|
+
export * from './useCreateApiKeyMutation.js';
|
|
2
|
+
export * from './useCreateSessionTokenMutation.js';
|
|
3
|
+
export * from './useCreateGlobalApiKeyMutation.js';
|
|
4
|
+
export * from './useDisableApiKeyMutation.js';
|
|
5
5
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/mutations/apiKey/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/mutations/apiKey/index.ts"],"names":[],"mappings":"AAAA,cAAc,8BAA8B,CAAA;AAC5C,cAAc,oCAAoC,CAAA;AAClD,cAAc,oCAAoC,CAAA;AAClD,cAAc,+BAA+B,CAAA"}
|
|
@@ -57,13 +57,15 @@ export declare const createApiKeyMutation: TenantApi.MutationFetcher<{
|
|
|
57
57
|
readonly memberships: ReadonlyArray<TenantApi.MembershipInput>;
|
|
58
58
|
readonly description: string;
|
|
59
59
|
readonly tokenHash?: string;
|
|
60
|
+
readonly options?: TenantApi.CreateApiKeyOptions;
|
|
60
61
|
}>;
|
|
61
|
-
export declare const useCreateApiKeyMutation: ({ headers, apiToken }?: import("
|
|
62
|
+
export declare const useCreateApiKeyMutation: ({ headers, apiToken }?: import("../../useTenantApi.js").TenantApiOptions) => (variables: {
|
|
62
63
|
readonly projectSlug: string;
|
|
63
64
|
readonly memberships: ReadonlyArray<TenantApi.MembershipInput>;
|
|
64
65
|
readonly description: string;
|
|
65
66
|
readonly tokenHash?: string;
|
|
66
|
-
|
|
67
|
+
readonly options?: TenantApi.CreateApiKeyOptions;
|
|
68
|
+
}) => Promise<import("../../useTenantMutation.js").TenantMutationResponse<{
|
|
67
69
|
readonly apiKey: {
|
|
68
70
|
readonly id: string;
|
|
69
71
|
} & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useCreateApiKeyMutation.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/mutations/apiKey/useCreateApiKeyMutation.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,SAAS,MAAM,kCAAkC,CAAA;AAC7D,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AAGjD,QAAA,MAAM,0BAA0B;;;;;;;;;;;;;;MAAmG,CAAA;AAEnI,MAAM,MAAM,0BAA0B,GAAG,SAAS,CAAC,OAAO,0BAA0B,CAAC,CAAA;AAErF,eAAO,MAAM,oBAAoB
|
|
1
|
+
{"version":3,"file":"useCreateApiKeyMutation.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/mutations/apiKey/useCreateApiKeyMutation.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,SAAS,MAAM,kCAAkC,CAAA;AAC7D,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AAGjD,QAAA,MAAM,0BAA0B;;;;;;;;;;;;;;MAAmG,CAAA;AAEnI,MAAM,MAAM,0BAA0B,GAAG,SAAS,CAAC,OAAO,0BAA0B,CAAC,CAAA;AAErF,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAO/B,CAAA;AAEF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;oCAA6C,CAAA;AACjF,MAAM,MAAM,6BAA6B,GAAG,UAAU,CAAC,UAAU,CAAC,OAAO,uBAAuB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA"}
|
|
@@ -48,12 +48,14 @@ export declare const createGlobalApiKeyMutation: TenantApi.MutationFetcher<{
|
|
|
48
48
|
readonly description: string;
|
|
49
49
|
readonly roles?: ReadonlyArray<string>;
|
|
50
50
|
readonly tokenHash?: string;
|
|
51
|
+
readonly options?: TenantApi.CreateApiKeyOptions;
|
|
51
52
|
}>;
|
|
52
|
-
export declare const useCreateGlobalApiKeyMutation: ({ headers, apiToken }?: import("
|
|
53
|
+
export declare const useCreateGlobalApiKeyMutation: ({ headers, apiToken }?: import("../../useTenantApi.js").TenantApiOptions) => (variables: {
|
|
53
54
|
readonly description: string;
|
|
54
55
|
readonly roles?: ReadonlyArray<string>;
|
|
55
56
|
readonly tokenHash?: string;
|
|
56
|
-
|
|
57
|
+
readonly options?: TenantApi.CreateApiKeyOptions;
|
|
58
|
+
}) => Promise<import("../../useTenantMutation.js").TenantMutationResponse<{
|
|
57
59
|
readonly apiKey: {
|
|
58
60
|
readonly id: string;
|
|
59
61
|
} & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useCreateGlobalApiKeyMutation.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/mutations/apiKey/useCreateGlobalApiKeyMutation.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,SAAS,MAAM,kCAAkC,CAAA;AAC7D,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AAGjD,QAAA,MAAM,gCAAgC;;;;;;;;;;;;;;MAAmG,CAAA;AAEzI,MAAM,MAAM,gCAAgC,GAAG,SAAS,CAAC,OAAO,gCAAgC,CAAC,CAAA;AAEjG,eAAO,MAAM,0BAA0B
|
|
1
|
+
{"version":3,"file":"useCreateGlobalApiKeyMutation.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/mutations/apiKey/useCreateGlobalApiKeyMutation.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,SAAS,MAAM,kCAAkC,CAAA;AAC7D,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AAGjD,QAAA,MAAM,gCAAgC;;;;;;;;;;;;;;MAAmG,CAAA;AAEzI,MAAM,MAAM,gCAAgC,GAAG,SAAS,CAAC,OAAO,gCAAgC,CAAC,CAAA;AAEjG,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAOrC,CAAA;AAEF,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;oCAAmD,CAAA;AAC7F,MAAM,MAAM,mCAAmC,GAAG,UAAU,CAAC,UAAU,CAAC,OAAO,6BAA6B,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA"}
|
|
@@ -38,12 +38,14 @@ export declare const createSessionTokenMutation: TenantApi.MutationFetcher<{
|
|
|
38
38
|
readonly email?: string;
|
|
39
39
|
readonly personId?: string;
|
|
40
40
|
readonly expiration?: number;
|
|
41
|
+
readonly options?: TenantApi.SignInOptions;
|
|
41
42
|
}>;
|
|
42
|
-
export declare const useCreateSessionTokenMutation: ({ headers, apiToken }?: import("
|
|
43
|
+
export declare const useCreateSessionTokenMutation: ({ headers, apiToken }?: import("../../useTenantApi.js").TenantApiOptions) => (variables: {
|
|
43
44
|
readonly email?: string;
|
|
44
45
|
readonly personId?: string;
|
|
45
46
|
readonly expiration?: number;
|
|
46
|
-
|
|
47
|
+
readonly options?: TenantApi.SignInOptions;
|
|
48
|
+
}) => Promise<import("../../useTenantMutation.js").TenantMutationResponse<{
|
|
47
49
|
readonly token: string;
|
|
48
50
|
} & {
|
|
49
51
|
readonly person: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useCreateSessionTokenMutation.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/mutations/apiKey/useCreateSessionTokenMutation.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,SAAS,MAAM,kCAAkC,CAAA;AAC7D,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AAGjD,QAAA,MAAM,gCAAgC;;;;;;;;;;MAAoF,CAAA;AAE1H,MAAM,MAAM,gCAAgC,GAAG,SAAS,CAAC,OAAO,gCAAgC,CAAC,CAAA;AAEjG,eAAO,MAAM,0BAA0B
|
|
1
|
+
{"version":3,"file":"useCreateSessionTokenMutation.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/mutations/apiKey/useCreateSessionTokenMutation.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,SAAS,MAAM,kCAAkC,CAAA;AAC7D,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AAGjD,QAAA,MAAM,gCAAgC;;;;;;;;;;MAAoF,CAAA;AAE1H,MAAM,MAAM,gCAAgC,GAAG,SAAS,CAAC,OAAO,gCAAgC,CAAC,CAAA;AAEjG,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;EAOrC,CAAA;AAEF,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;0CAAmD,CAAA;AAC7F,MAAM,MAAM,mCAAmC,GAAG,UAAU,CAAC,UAAU,CAAC,OAAO,6BAA6B,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA"}
|
|
@@ -14,8 +14,8 @@ export declare const disableApiKeyMutation: TenantApi.MutationFetcher<{
|
|
|
14
14
|
}, {
|
|
15
15
|
readonly id: string;
|
|
16
16
|
}>;
|
|
17
|
-
export declare const useDisableApiKeyMutation: ({ headers, apiToken }?: import("
|
|
17
|
+
export declare const useDisableApiKeyMutation: ({ headers, apiToken }?: import("../../useTenantApi.js").TenantApiOptions) => (variables: {
|
|
18
18
|
readonly id: string;
|
|
19
|
-
}) => Promise<import("
|
|
19
|
+
}) => Promise<import("../../useTenantMutation.js").TenantMutationResponse<unknown, "KEY_NOT_FOUND">>;
|
|
20
20
|
export type DisableApiKeyMutationVariables = Parameters<ReturnType<typeof useDisableApiKeyMutation>>[0];
|
|
21
21
|
//# sourceMappingURL=useDisableApiKeyMutation.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useDisableApiKeyMutation.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/mutations/apiKey/useDisableApiKeyMutation.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,SAAS,MAAM,kCAAkC,CAAA;AAG7D,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;EAMhC,CAAA;AAEF,eAAO,MAAM,wBAAwB
|
|
1
|
+
{"version":3,"file":"useDisableApiKeyMutation.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/mutations/apiKey/useDisableApiKeyMutation.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,SAAS,MAAM,kCAAkC,CAAA;AAG7D,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;EAMhC,CAAA;AAEF,eAAO,MAAM,wBAAwB;;oGAA8C,CAAA;AACnF,MAAM,MAAM,8BAA8B,GAAG,UAAU,CAAC,UAAU,CAAC,OAAO,wBAAwB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from './useChangeMyPasswordMutation';
|
|
2
|
-
export * from './useSignInMutation';
|
|
3
|
-
export * from './useSignOutMutation';
|
|
1
|
+
export * from './useChangeMyPasswordMutation.js';
|
|
2
|
+
export * from './useSignInMutation.js';
|
|
3
|
+
export * from './useSignOutMutation.js';
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/mutations/auth/index.ts"],"names":[],"mappings":"AAAA,cAAc
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/mutations/auth/index.ts"],"names":[],"mappings":"AAAA,cAAc,kCAAkC,CAAA;AAChD,cAAc,wBAAwB,CAAA;AACtC,cAAc,yBAAyB,CAAA"}
|
|
@@ -15,9 +15,9 @@ export declare const changeMyPasswordMutation: TenantApi.MutationFetcher<{
|
|
|
15
15
|
readonly currentPassword: string;
|
|
16
16
|
readonly newPassword: string;
|
|
17
17
|
}>;
|
|
18
|
-
export declare const useChangeMyPasswordMutation: ({ headers, apiToken }?: import("
|
|
18
|
+
export declare const useChangeMyPasswordMutation: ({ headers, apiToken }?: import("../../useTenantApi.js").TenantApiOptions) => (variables: {
|
|
19
19
|
readonly currentPassword: string;
|
|
20
20
|
readonly newPassword: string;
|
|
21
|
-
}) => Promise<import("
|
|
21
|
+
}) => Promise<import("../../useTenantMutation.js").TenantMutationResponse<unknown, TenantApi.ChangeMyPasswordErrorCode>>;
|
|
22
22
|
export type ChangeMyPasswordMutationVariables = Parameters<ReturnType<typeof useChangeMyPasswordMutation>>[0];
|
|
23
23
|
//# sourceMappingURL=useChangeMyPasswordMutation.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useChangeMyPasswordMutation.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/mutations/auth/useChangeMyPasswordMutation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,SAAS,MAAM,kCAAkC,CAAA;AAG7D,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;EAOnC,CAAA;AAEF,eAAO,MAAM,2BAA2B;;;
|
|
1
|
+
{"version":3,"file":"useChangeMyPasswordMutation.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/mutations/auth/useChangeMyPasswordMutation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,SAAS,MAAM,kCAAkC,CAAA;AAG7D,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;EAOnC,CAAA;AAEF,eAAO,MAAM,2BAA2B;;;wHAAiD,CAAA;AACzF,MAAM,MAAM,iCAAiC,GAAG,UAAU,CAAC,UAAU,CAAC,OAAO,2BAA2B,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA"}
|
|
@@ -2,6 +2,8 @@ import * as TenantApi from '@contember/graphql-client-tenant';
|
|
|
2
2
|
import { ModelType } from 'graphql-ts-client-api';
|
|
3
3
|
declare const signInResultFragment: TenantApi.SignInResultFetcher<{
|
|
4
4
|
readonly token: string;
|
|
5
|
+
} & {
|
|
6
|
+
readonly backupCodes?: ReadonlyArray<string>;
|
|
5
7
|
} & {
|
|
6
8
|
readonly person: {
|
|
7
9
|
readonly id: string;
|
|
@@ -28,6 +30,8 @@ export declare const signInMutation: TenantApi.MutationFetcher<{
|
|
|
28
30
|
} & {
|
|
29
31
|
readonly result?: ({
|
|
30
32
|
readonly token: string;
|
|
33
|
+
} & {
|
|
34
|
+
readonly backupCodes?: ReadonlyArray<string>;
|
|
31
35
|
} & {
|
|
32
36
|
readonly person: {
|
|
33
37
|
readonly id: string;
|
|
@@ -43,14 +47,20 @@ export declare const signInMutation: TenantApi.MutationFetcher<{
|
|
|
43
47
|
readonly password: string;
|
|
44
48
|
readonly expiration?: number;
|
|
45
49
|
readonly otpToken?: string;
|
|
50
|
+
readonly backupCode?: string;
|
|
51
|
+
readonly options?: TenantApi.SignInOptions;
|
|
46
52
|
}>;
|
|
47
|
-
export declare const useSignInMutation: ({ headers, apiToken }?: import("
|
|
53
|
+
export declare const useSignInMutation: ({ headers, apiToken }?: import("../../useTenantApi.js").TenantApiOptions) => (variables: {
|
|
48
54
|
readonly email: string;
|
|
49
55
|
readonly password: string;
|
|
50
56
|
readonly expiration?: number;
|
|
51
57
|
readonly otpToken?: string;
|
|
52
|
-
|
|
58
|
+
readonly backupCode?: string;
|
|
59
|
+
readonly options?: TenantApi.SignInOptions;
|
|
60
|
+
}) => Promise<import("../../useTenantMutation.js").TenantMutationResponse<{
|
|
53
61
|
readonly token: string;
|
|
62
|
+
} & {
|
|
63
|
+
readonly backupCodes?: ReadonlyArray<string>;
|
|
54
64
|
} & {
|
|
55
65
|
readonly person: {
|
|
56
66
|
readonly id: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useSignInMutation.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/mutations/auth/useSignInMutation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,SAAS,MAAM,kCAAkC,CAAA;AAE7D,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AAGjD,QAAA,MAAM,oBAAoB
|
|
1
|
+
{"version":3,"file":"useSignInMutation.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/mutations/auth/useSignInMutation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,SAAS,MAAM,kCAAkC,CAAA;AAE7D,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AAGjD,QAAA,MAAM,oBAAoB;;;;;;;;;;;;MAAmE,CAAA;AAE7F,MAAM,MAAM,oBAAoB,GAAG,SAAS,CAAC,OAAO,oBAAoB,CAAC,CAAA;AAEzE,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAQzB,CAAA;AAEF,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;8BAE5B,CAAA;AAEF,MAAM,MAAM,uBAAuB,GAAG,UAAU,CAAC,UAAU,CAAC,OAAO,iBAAiB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA"}
|
|
@@ -2,6 +2,8 @@ import * as TenantApi from '@contember/graphql-client-tenant';
|
|
|
2
2
|
export declare const signOutMutation: TenantApi.MutationFetcher<{
|
|
3
3
|
readonly mutation?: ({
|
|
4
4
|
readonly ok: boolean;
|
|
5
|
+
} & {
|
|
6
|
+
readonly logoutUrl?: string;
|
|
5
7
|
} & {
|
|
6
8
|
readonly error?: ({
|
|
7
9
|
readonly code: TenantApi.SignOutErrorCode;
|
|
@@ -14,8 +16,8 @@ export declare const signOutMutation: TenantApi.MutationFetcher<{
|
|
|
14
16
|
}, {
|
|
15
17
|
readonly all?: boolean;
|
|
16
18
|
}>;
|
|
17
|
-
export declare const useSignOutMutation: ({ headers, apiToken }?: import("
|
|
19
|
+
export declare const useSignOutMutation: ({ headers, apiToken }?: import("../../useTenantApi.js").TenantApiOptions) => (variables: {
|
|
18
20
|
readonly all?: boolean;
|
|
19
|
-
}) => Promise<import("
|
|
21
|
+
}) => Promise<import("../../useTenantMutation.js").TenantMutationResponse<unknown, TenantApi.SignOutErrorCode>>;
|
|
20
22
|
export type SignOutMutationVariables = Parameters<ReturnType<typeof useSignOutMutation>>[0];
|
|
21
23
|
//# sourceMappingURL=useSignOutMutation.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useSignOutMutation.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/mutations/auth/useSignOutMutation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,SAAS,MAAM,kCAAkC,CAAA;AAG7D,eAAO,MAAM,eAAe
|
|
1
|
+
{"version":3,"file":"useSignOutMutation.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/mutations/auth/useSignOutMutation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,SAAS,MAAM,kCAAkC,CAAA;AAG7D,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;EAK3B,CAAA;AAED,eAAO,MAAM,kBAAkB;;+GAAwC,CAAA;AACvE,MAAM,MAAM,wBAAwB,GAAG,UAAU,CAAC,UAAU,CAAC,OAAO,kBAAkB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/mutations/emailVerification/index.ts"],"names":[],"mappings":"AAAA,cAAc,0CAA0C,CAAA;AACxD,cAAc,6BAA6B,CAAA;AAC3C,cAAc,oCAAoC,CAAA"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as TenantApi from '@contember/graphql-client-tenant';
|
|
2
|
+
export declare const confirmEmailChangeMutation: TenantApi.MutationFetcher<{
|
|
3
|
+
readonly mutation?: ({
|
|
4
|
+
readonly ok: boolean;
|
|
5
|
+
} & {
|
|
6
|
+
readonly error?: ({
|
|
7
|
+
readonly code: TenantApi.ConfirmEmailChangeErrorCode;
|
|
8
|
+
} & {
|
|
9
|
+
readonly developerMessage: string;
|
|
10
|
+
}) | undefined;
|
|
11
|
+
}) | undefined;
|
|
12
|
+
}, {
|
|
13
|
+
readonly token: string;
|
|
14
|
+
}>;
|
|
15
|
+
export declare const useConfirmEmailChangeMutation: ({ headers, apiToken }?: import("../../useTenantApi.js").TenantApiOptions) => (variables: {
|
|
16
|
+
readonly token: string;
|
|
17
|
+
}) => Promise<import("../../useTenantMutation.js").TenantMutationResponse<unknown, TenantApi.ConfirmEmailChangeErrorCode>>;
|
|
18
|
+
export type ConfirmEmailChangeMutationVariables = Parameters<ReturnType<typeof useConfirmEmailChangeMutation>>[0];
|
|
19
|
+
//# sourceMappingURL=useConfirmEmailChangeMutation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useConfirmEmailChangeMutation.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/mutations/emailVerification/useConfirmEmailChangeMutation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,SAAS,MAAM,kCAAkC,CAAA;AAI7D,eAAO,MAAM,0BAA0B;;;;;;;;;;;;EAOrC,CAAA;AAEF,eAAO,MAAM,6BAA6B;;0HAExC,CAAA;AACF,MAAM,MAAM,mCAAmC,GAAG,UAAU,CAAC,UAAU,CAAC,OAAO,6BAA6B,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import * as TenantApi from '@contember/graphql-client-tenant';
|
|
2
|
+
export declare const requestEmailVerificationMutation: TenantApi.MutationFetcher<{
|
|
3
|
+
readonly mutation?: ({
|
|
4
|
+
readonly ok: boolean;
|
|
5
|
+
} & {
|
|
6
|
+
readonly error?: ({
|
|
7
|
+
readonly code: TenantApi.RequestEmailVerificationErrorCode;
|
|
8
|
+
} & {
|
|
9
|
+
readonly developerMessage: string;
|
|
10
|
+
}) | undefined;
|
|
11
|
+
}) | undefined;
|
|
12
|
+
}, {
|
|
13
|
+
readonly email: string;
|
|
14
|
+
readonly options?: TenantApi.EmailVerificationOptions;
|
|
15
|
+
readonly captchaToken?: string;
|
|
16
|
+
}>;
|
|
17
|
+
export declare const useRequestEmailVerificationMutation: ({ headers, apiToken }?: import("../../useTenantApi.js").TenantApiOptions) => (variables: {
|
|
18
|
+
readonly email: string;
|
|
19
|
+
readonly options?: TenantApi.EmailVerificationOptions;
|
|
20
|
+
readonly captchaToken?: string;
|
|
21
|
+
}) => Promise<import("../../useTenantMutation.js").TenantMutationResponse<unknown, TenantApi.RequestEmailVerificationErrorCode>>;
|
|
22
|
+
export type RequestEmailVerificationMutationVariables = Parameters<ReturnType<typeof useRequestEmailVerificationMutation>>[0];
|
|
23
|
+
//# sourceMappingURL=useRequestEmailVerificationMutation.d.ts.map
|
package/dist/types/hooks/mutations/emailVerification/useRequestEmailVerificationMutation.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useRequestEmailVerificationMutation.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/mutations/emailVerification/useRequestEmailVerificationMutation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,SAAS,MAAM,kCAAkC,CAAA;AAI7D,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;EAO3C,CAAA;AAEF,eAAO,MAAM,mCAAmC;;;;gIAE9C,CAAA;AACF,MAAM,MAAM,yCAAyC,GAAG,UAAU,CAAC,UAAU,CAAC,OAAO,mCAAmC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as TenantApi from '@contember/graphql-client-tenant';
|
|
2
|
+
export declare const verifyEmailMutation: TenantApi.MutationFetcher<{
|
|
3
|
+
readonly mutation?: ({
|
|
4
|
+
readonly ok: boolean;
|
|
5
|
+
} & {
|
|
6
|
+
readonly error?: ({
|
|
7
|
+
readonly code: TenantApi.VerifyEmailErrorCode;
|
|
8
|
+
} & {
|
|
9
|
+
readonly developerMessage: string;
|
|
10
|
+
}) | undefined;
|
|
11
|
+
}) | undefined;
|
|
12
|
+
}, {
|
|
13
|
+
readonly token: string;
|
|
14
|
+
}>;
|
|
15
|
+
export declare const useVerifyEmailMutation: ({ headers, apiToken }?: import("../../useTenantApi.js").TenantApiOptions) => (variables: {
|
|
16
|
+
readonly token: string;
|
|
17
|
+
}) => Promise<import("../../useTenantMutation.js").TenantMutationResponse<unknown, TenantApi.VerifyEmailErrorCode>>;
|
|
18
|
+
export type VerifyEmailMutationVariables = Parameters<ReturnType<typeof useVerifyEmailMutation>>[0];
|
|
19
|
+
//# sourceMappingURL=useVerifyEmailMutation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useVerifyEmailMutation.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/mutations/emailVerification/useVerifyEmailMutation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,SAAS,MAAM,kCAAkC,CAAA;AAI7D,eAAO,MAAM,mBAAmB;;;;;;;;;;;;EAO9B,CAAA;AAEF,eAAO,MAAM,sBAAsB;;mHAEjC,CAAA;AACF,MAAM,MAAM,4BAA4B,GAAG,UAAU,CAAC,UAAU,CAAC,OAAO,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './useInitSignInIDPMutation';
|
|
2
|
-
export * from './useSignInIdpMutation';
|
|
1
|
+
export * from './useInitSignInIDPMutation.js';
|
|
2
|
+
export * from './useSignInIdpMutation.js';
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/mutations/idp/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/mutations/idp/index.ts"],"names":[],"mappings":"AAAA,cAAc,+BAA+B,CAAA;AAC7C,cAAc,2BAA2B,CAAA"}
|
|
@@ -9,7 +9,7 @@ export type InitSignInIDPMutationVariables = {
|
|
|
9
9
|
};
|
|
10
10
|
};
|
|
11
11
|
export type InitSignInIDPMutationResult = ModelType<typeof TenantApi.initSignInIDPResult$$>;
|
|
12
|
-
export declare const useInitSignInIDPMutation: ({ headers, apiToken }?: import("
|
|
12
|
+
export declare const useInitSignInIDPMutation: ({ headers, apiToken }?: import("../../useTenantApi.js").TenantApiOptions) => (variables: InitSignInIDPMutationVariables) => Promise<import("../../useTenantMutation.js").TenantMutationResponse<{
|
|
13
13
|
readonly authUrl: string;
|
|
14
14
|
} & {
|
|
15
15
|
readonly sessionData: unknown;
|
|
@@ -44,6 +44,7 @@ export declare const signInIDPMutation: TenantApi.MutationFetcher<{
|
|
|
44
44
|
readonly identityProvider: string;
|
|
45
45
|
readonly data?: unknown;
|
|
46
46
|
readonly expiration?: number;
|
|
47
|
+
readonly options?: TenantApi.SignInOptions;
|
|
47
48
|
readonly idpResponse?: TenantApi.IDPResponseInput;
|
|
48
49
|
readonly redirectUrl?: string;
|
|
49
50
|
readonly sessionData?: unknown;
|
|
@@ -59,7 +60,7 @@ export type SignInIDPMutationVariables = {
|
|
|
59
60
|
[key: string]: any;
|
|
60
61
|
};
|
|
61
62
|
};
|
|
62
|
-
export declare const useSignInIDPMutation: ({ headers, apiToken }?: import("
|
|
63
|
+
export declare const useSignInIDPMutation: ({ headers, apiToken }?: import("../../useTenantApi.js").TenantApiOptions) => (variables: SignInIDPMutationVariables) => Promise<import("../../useTenantMutation.js").TenantMutationResponse<{
|
|
63
64
|
readonly token: string;
|
|
64
65
|
} & {
|
|
65
66
|
readonly idpResponse?: unknown;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useSignInIdpMutation.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/mutations/idp/useSignInIdpMutation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,SAAS,MAAM,kCAAkC,CAAA;AAG7D,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AAEjD,QAAA,MAAM,iBAAiB;;;;;;;;;;;;MAAsE,CAAA;AAE7F,MAAM,MAAM,uBAAuB,GAAG,SAAS,CAAC,OAAO,iBAAiB,CAAC,CAAA;AAEzE,eAAO,MAAM,iBAAiB
|
|
1
|
+
{"version":3,"file":"useSignInIdpMutation.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/mutations/idp/useSignInIdpMutation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,SAAS,MAAM,kCAAkC,CAAA;AAG7D,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AAEjD,QAAA,MAAM,iBAAiB;;;;;;;;;;;;MAAsE,CAAA;AAE7F,MAAM,MAAM,uBAAuB,GAAG,SAAS,CAAC,OAAO,iBAAiB,CAAC,CAAA;AAEzE,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAQ5B,CAAA;AAEF,MAAM,MAAM,0BAA0B,GAAG;IACxC,gBAAgB,EAAE,MAAM,CAAA;IACxB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,IAAI,EACD;QACD,GAAG,CAAC,EAAE,MAAM,CAAA;QACZ,WAAW,CAAC,EAAE,MAAM,CAAA;QACpB,WAAW,CAAC,EAAE,GAAG,CAAA;KACjB,GACC;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,CAAA;CACzB,CAAA;AAED,eAAO,MAAM,oBAAoB;;;;;;;;;;;;iCAKhC,CAAA"}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
export * from './apiKey';
|
|
2
|
-
export * from './auth';
|
|
3
|
-
export * from './
|
|
4
|
-
export * from './
|
|
5
|
-
export * from './
|
|
6
|
-
export * from './
|
|
7
|
-
export * from './
|
|
8
|
-
export * from './
|
|
9
|
-
export * from './
|
|
1
|
+
export * from './apiKey/index.js';
|
|
2
|
+
export * from './auth/index.js';
|
|
3
|
+
export * from './emailVerification/index.js';
|
|
4
|
+
export * from './invite/index.js';
|
|
5
|
+
export * from './idp/index.js';
|
|
6
|
+
export * from './memberships/index.js';
|
|
7
|
+
export * from './passwordless/index.js';
|
|
8
|
+
export * from './otp/index.js';
|
|
9
|
+
export * from './passwordReset/index.js';
|
|
10
|
+
export * from './profile/index.js';
|
|
10
11
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/hooks/mutations/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/hooks/mutations/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAA;AACjC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,8BAA8B,CAAA;AAC5C,cAAc,mBAAmB,CAAA;AACjC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,wBAAwB,CAAA;AACtC,cAAc,yBAAyB,CAAA;AACvC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,0BAA0B,CAAA;AACxC,cAAc,oBAAoB,CAAA"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './useInviteMutation';
|
|
1
|
+
export * from './useInviteMutation.js';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/mutations/invite/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/mutations/invite/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAA"}
|
|
@@ -67,13 +67,13 @@ export declare const inviteMutation: TenantApi.MutationFetcher<{
|
|
|
67
67
|
readonly memberships: ReadonlyArray<TenantApi.MembershipInput>;
|
|
68
68
|
readonly options?: TenantApi.InviteOptions;
|
|
69
69
|
}>;
|
|
70
|
-
export declare const useInviteMutation: ({ headers, apiToken }?: import("
|
|
70
|
+
export declare const useInviteMutation: ({ headers, apiToken }?: import("../../useTenantApi.js").TenantApiOptions) => (variables: {
|
|
71
71
|
readonly email: string;
|
|
72
72
|
readonly name?: string;
|
|
73
73
|
readonly projectSlug: string;
|
|
74
74
|
readonly memberships: ReadonlyArray<TenantApi.MembershipInput>;
|
|
75
75
|
readonly options?: TenantApi.InviteOptions;
|
|
76
|
-
}) => Promise<import("
|
|
76
|
+
}) => Promise<import("../../useTenantMutation.js").TenantMutationResponse<{
|
|
77
77
|
readonly isNew: boolean;
|
|
78
78
|
} & {
|
|
79
79
|
readonly person: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from './useRemoveProjectMemberMutation';
|
|
2
|
-
export * from './useAddProjectMemberMutation';
|
|
3
|
-
export * from './useUpdateProjectMemberMutation';
|
|
1
|
+
export * from './useRemoveProjectMemberMutation.js';
|
|
2
|
+
export * from './useAddProjectMemberMutation.js';
|
|
3
|
+
export * from './useUpdateProjectMemberMutation.js';
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/mutations/memberships/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/mutations/memberships/index.ts"],"names":[],"mappings":"AAAA,cAAc,qCAAqC,CAAA;AACnD,cAAc,kCAAkC,CAAA;AAChD,cAAc,qCAAqC,CAAA"}
|
|
@@ -24,10 +24,10 @@ export declare const addProjectMemberMutation: TenantApi.MutationFetcher<{
|
|
|
24
24
|
readonly identityId: string;
|
|
25
25
|
readonly memberships: ReadonlyArray<TenantApi.MembershipInput>;
|
|
26
26
|
}>;
|
|
27
|
-
export declare const useAddProjectMemberMutation: ({ headers, apiToken }?: import("
|
|
27
|
+
export declare const useAddProjectMemberMutation: ({ headers, apiToken }?: import("../../useTenantApi.js").TenantApiOptions) => (variables: {
|
|
28
28
|
readonly projectSlug: string;
|
|
29
29
|
readonly identityId: string;
|
|
30
30
|
readonly memberships: ReadonlyArray<TenantApi.MembershipInput>;
|
|
31
|
-
}) => Promise<import("
|
|
31
|
+
}) => Promise<import("../../useTenantMutation.js").TenantMutationResponse<unknown, TenantApi.AddProjectMemberErrorCode>>;
|
|
32
32
|
export type AddProjectMemberMutationVariables = Parameters<ReturnType<typeof useAddProjectMemberMutation>>[0];
|
|
33
33
|
//# sourceMappingURL=useAddProjectMemberMutation.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useAddProjectMemberMutation.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/mutations/memberships/useAddProjectMemberMutation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,SAAS,MAAM,kCAAkC,CAAA;AAG7D,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;EAMnC,CAAA;AAEF,eAAO,MAAM,2BAA2B;;;;
|
|
1
|
+
{"version":3,"file":"useAddProjectMemberMutation.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/mutations/memberships/useAddProjectMemberMutation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,SAAS,MAAM,kCAAkC,CAAA;AAG7D,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;EAMnC,CAAA;AAEF,eAAO,MAAM,2BAA2B;;;;wHAAiD,CAAA;AACzF,MAAM,MAAM,iCAAiC,GAAG,UAAU,CAAC,UAAU,CAAC,OAAO,2BAA2B,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA"}
|
|
@@ -15,9 +15,9 @@ export declare const removeProjectMemberMutation: TenantApi.MutationFetcher<{
|
|
|
15
15
|
readonly projectSlug: string;
|
|
16
16
|
readonly identityId: string;
|
|
17
17
|
}>;
|
|
18
|
-
export declare const useRemoveProjectMemberMutation: ({ headers, apiToken }?: import("
|
|
18
|
+
export declare const useRemoveProjectMemberMutation: ({ headers, apiToken }?: import("../../useTenantApi.js").TenantApiOptions) => (variables: {
|
|
19
19
|
readonly projectSlug: string;
|
|
20
20
|
readonly identityId: string;
|
|
21
|
-
}) => Promise<import("
|
|
21
|
+
}) => Promise<import("../../useTenantMutation.js").TenantMutationResponse<unknown, TenantApi.RemoveProjectMemberErrorCode>>;
|
|
22
22
|
export type RemoveProjectMemberMutationVariables = Parameters<ReturnType<typeof useRemoveProjectMemberMutation>>[0];
|
|
23
23
|
//# sourceMappingURL=useRemoveProjectMemberMutation.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useRemoveProjectMemberMutation.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/mutations/memberships/useRemoveProjectMemberMutation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,SAAS,MAAM,kCAAkC,CAAA;AAG7D,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;EAMtC,CAAA;AAEF,eAAO,MAAM,8BAA8B;;;
|
|
1
|
+
{"version":3,"file":"useRemoveProjectMemberMutation.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/mutations/memberships/useRemoveProjectMemberMutation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,SAAS,MAAM,kCAAkC,CAAA;AAG7D,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;EAMtC,CAAA;AAEF,eAAO,MAAM,8BAA8B;;;2HAAoD,CAAA;AAC/F,MAAM,MAAM,oCAAoC,GAAG,UAAU,CAAC,UAAU,CAAC,OAAO,8BAA8B,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA"}
|
|
@@ -24,10 +24,10 @@ export declare const updateProjectMemberMutation: TenantApi.MutationFetcher<{
|
|
|
24
24
|
readonly identityId: string;
|
|
25
25
|
readonly memberships: ReadonlyArray<TenantApi.MembershipInput>;
|
|
26
26
|
}>;
|
|
27
|
-
export declare const useUpdateProjectMemberMutation: ({ headers, apiToken }?: import("
|
|
27
|
+
export declare const useUpdateProjectMemberMutation: ({ headers, apiToken }?: import("../../useTenantApi.js").TenantApiOptions) => (variables: {
|
|
28
28
|
readonly projectSlug: string;
|
|
29
29
|
readonly identityId: string;
|
|
30
30
|
readonly memberships: ReadonlyArray<TenantApi.MembershipInput>;
|
|
31
|
-
}) => Promise<import("
|
|
31
|
+
}) => Promise<import("../../useTenantMutation.js").TenantMutationResponse<unknown, TenantApi.UpdateProjectMemberErrorCode>>;
|
|
32
32
|
export type UpdateProjectMemberMutationVariables = Parameters<ReturnType<typeof useUpdateProjectMemberMutation>>[0];
|
|
33
33
|
//# sourceMappingURL=useUpdateProjectMemberMutation.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useUpdateProjectMemberMutation.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/mutations/memberships/useUpdateProjectMemberMutation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,SAAS,MAAM,kCAAkC,CAAA;AAG7D,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;EAMtC,CAAA;AAEF,eAAO,MAAM,8BAA8B;;;;
|
|
1
|
+
{"version":3,"file":"useUpdateProjectMemberMutation.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/mutations/memberships/useUpdateProjectMemberMutation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,SAAS,MAAM,kCAAkC,CAAA;AAG7D,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;EAMtC,CAAA;AAEF,eAAO,MAAM,8BAA8B;;;;2HAAoD,CAAA;AAC/F,MAAM,MAAM,oCAAoC,GAAG,UAAU,CAAC,UAAU,CAAC,OAAO,8BAA8B,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from './useConfirmOtpMutation';
|
|
2
|
-
export * from './useDisableOtpMutation';
|
|
3
|
-
export * from './usePrepareOtpMutation';
|
|
1
|
+
export * from './useConfirmOtpMutation.js';
|
|
2
|
+
export * from './useDisableOtpMutation.js';
|
|
3
|
+
export * from './usePrepareOtpMutation.js';
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/mutations/otp/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/mutations/otp/index.ts"],"names":[],"mappings":"AAAA,cAAc,4BAA4B,CAAA;AAC1C,cAAc,4BAA4B,CAAA;AAC1C,cAAc,4BAA4B,CAAA"}
|
|
@@ -14,8 +14,8 @@ export declare const confirmOtpMutation: TenantApi.MutationFetcher<{
|
|
|
14
14
|
}, {
|
|
15
15
|
readonly otpToken: string;
|
|
16
16
|
}>;
|
|
17
|
-
export declare const useConfirmOtpMutation: ({ headers, apiToken }?: import("
|
|
17
|
+
export declare const useConfirmOtpMutation: ({ headers, apiToken }?: import("../../useTenantApi.js").TenantApiOptions) => (variables: {
|
|
18
18
|
readonly otpToken: string;
|
|
19
|
-
}) => Promise<import("
|
|
19
|
+
}) => Promise<import("../../useTenantMutation.js").TenantMutationResponse<unknown, TenantApi.ConfirmOtpErrorCode>>;
|
|
20
20
|
export type ConfirmOtpMutationVariables = Parameters<ReturnType<typeof useConfirmOtpMutation>>[0];
|
|
21
21
|
//# sourceMappingURL=useConfirmOtpMutation.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useConfirmOtpMutation.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/mutations/otp/useConfirmOtpMutation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,SAAS,MAAM,kCAAkC,CAAA;AAG7D,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;EAM7B,CAAA;AAEF,eAAO,MAAM,qBAAqB;;
|
|
1
|
+
{"version":3,"file":"useConfirmOtpMutation.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/mutations/otp/useConfirmOtpMutation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,SAAS,MAAM,kCAAkC,CAAA;AAG7D,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;EAM7B,CAAA;AAEF,eAAO,MAAM,qBAAqB;;kHAA2C,CAAA;AAC7E,MAAM,MAAM,2BAA2B,GAAG,UAAU,CAAC,UAAU,CAAC,OAAO,qBAAqB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA"}
|
|
@@ -12,6 +12,6 @@ export declare const disableOtpMutation: TenantApi.MutationFetcher<{
|
|
|
12
12
|
}) | undefined;
|
|
13
13
|
}) | undefined;
|
|
14
14
|
}, {}>;
|
|
15
|
-
export declare const useDisableOtpMutation: ({ headers, apiToken }?: import("
|
|
15
|
+
export declare const useDisableOtpMutation: ({ headers, apiToken }?: import("../../useTenantApi.js").TenantApiOptions) => (variables: {}) => Promise<import("../../useTenantMutation.js").TenantMutationResponse<unknown, TenantApi.DisableOtpErrorCode>>;
|
|
16
16
|
export type DisableOtpMutationVariables = Parameters<ReturnType<typeof useDisableOtpMutation>>[0];
|
|
17
17
|
//# sourceMappingURL=useDisableOtpMutation.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useDisableOtpMutation.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/mutations/otp/useDisableOtpMutation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,SAAS,MAAM,kCAAkC,CAAA;AAG7D,eAAO,MAAM,kBAAkB;;;;;;;;;;;;MAG9B,CAAA;AAED,eAAO,MAAM,qBAAqB,
|
|
1
|
+
{"version":3,"file":"useDisableOtpMutation.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/mutations/otp/useDisableOtpMutation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,SAAS,MAAM,kCAAkC,CAAA;AAG7D,eAAO,MAAM,kBAAkB;;;;;;;;;;;;MAG9B,CAAA;AAED,eAAO,MAAM,qBAAqB,+MAA2C,CAAA;AAC7E,MAAM,MAAM,2BAA2B,GAAG,UAAU,CAAC,UAAU,CAAC,OAAO,qBAAqB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA"}
|
|
@@ -14,9 +14,9 @@ export declare const prepareOtpMutation: TenantApi.MutationFetcher<{
|
|
|
14
14
|
}, {
|
|
15
15
|
readonly label?: string;
|
|
16
16
|
}>;
|
|
17
|
-
export declare const usePrepareOtpMutation: ({ headers, apiToken }?: import("
|
|
17
|
+
export declare const usePrepareOtpMutation: ({ headers, apiToken }?: import("../../useTenantApi.js").TenantApiOptions) => (variables: {
|
|
18
18
|
readonly label?: string;
|
|
19
|
-
}) => Promise<import("
|
|
19
|
+
}) => Promise<import("../../useTenantMutation.js").TenantMutationResponse<{
|
|
20
20
|
readonly otpUri: string;
|
|
21
21
|
} & {
|
|
22
22
|
readonly otpSecret: string;
|