@contember/react-client-tenant 2.1.0-alpha.37 → 2.1.0-alpha.39
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 +159 -0
- package/dist/development/index.cjs.map +1 -0
- package/dist/development/index.js +159 -0
- package/dist/development/index.js.map +1 -0
- package/dist/development/src/components/IdentityProvider.cjs +38 -0
- package/dist/development/src/components/IdentityProvider.cjs.map +1 -0
- package/dist/development/src/components/IdentityProvider.js +38 -0
- package/dist/development/src/components/IdentityProvider.js.map +1 -0
- package/dist/development/src/components/IdentityState.cjs +14 -0
- package/dist/development/src/components/IdentityState.cjs.map +1 -0
- package/dist/development/src/components/IdentityState.js +14 -0
- package/dist/development/src/components/IdentityState.js.map +1 -0
- package/dist/development/src/components/forms/ChangeMyPasswordForm.cjs +59 -0
- package/dist/development/src/components/forms/ChangeMyPasswordForm.cjs.map +1 -0
- package/dist/development/src/components/forms/ChangeMyPasswordForm.js +59 -0
- package/dist/development/src/components/forms/ChangeMyPasswordForm.js.map +1 -0
- package/dist/development/src/components/forms/CreateApiKeyForm.cjs +57 -0
- package/dist/development/src/components/forms/CreateApiKeyForm.cjs.map +1 -0
- package/dist/development/src/components/forms/CreateApiKeyForm.js +57 -0
- package/dist/development/src/components/forms/CreateApiKeyForm.js.map +1 -0
- package/dist/development/src/components/forms/CreateSessionTokenForm.cjs +50 -0
- package/dist/development/src/components/forms/CreateSessionTokenForm.cjs.map +1 -0
- package/dist/development/src/components/forms/CreateSessionTokenForm.js +50 -0
- package/dist/development/src/components/forms/CreateSessionTokenForm.js.map +1 -0
- package/dist/development/src/components/forms/InviteForm.cjs +62 -0
- package/dist/development/src/components/forms/InviteForm.cjs.map +1 -0
- package/dist/development/src/components/forms/InviteForm.js +62 -0
- package/dist/development/src/components/forms/InviteForm.js.map +1 -0
- package/dist/development/src/components/forms/LoginForm.cjs +87 -0
- package/dist/development/src/components/forms/LoginForm.cjs.map +1 -0
- package/dist/development/src/components/forms/LoginForm.js +87 -0
- package/dist/development/src/components/forms/LoginForm.js.map +1 -0
- package/dist/development/src/components/forms/OtpConfirmForm.cjs +49 -0
- package/dist/development/src/components/forms/OtpConfirmForm.cjs.map +1 -0
- package/dist/development/src/components/forms/OtpConfirmForm.js +49 -0
- package/dist/development/src/components/forms/OtpConfirmForm.js.map +1 -0
- package/dist/development/src/components/forms/OtpPrepareForm.cjs +36 -0
- package/dist/development/src/components/forms/OtpPrepareForm.cjs.map +1 -0
- package/dist/development/src/components/forms/OtpPrepareForm.js +36 -0
- package/dist/development/src/components/forms/OtpPrepareForm.js.map +1 -0
- package/dist/development/src/components/forms/PasswordResetForm.cjs +63 -0
- package/dist/development/src/components/forms/PasswordResetForm.cjs.map +1 -0
- package/dist/development/src/components/forms/PasswordResetForm.js +63 -0
- package/dist/development/src/components/forms/PasswordResetForm.js.map +1 -0
- package/dist/development/src/components/forms/PasswordResetRequestForm.cjs +49 -0
- package/dist/development/src/components/forms/PasswordResetRequestForm.cjs.map +1 -0
- package/dist/development/src/components/forms/PasswordResetRequestForm.js +49 -0
- package/dist/development/src/components/forms/PasswordResetRequestForm.js.map +1 -0
- package/dist/development/src/components/forms/PasswordlessSignInForm.cjs +79 -0
- package/dist/development/src/components/forms/PasswordlessSignInForm.cjs.map +1 -0
- package/dist/development/src/components/forms/PasswordlessSignInForm.js +79 -0
- package/dist/development/src/components/forms/PasswordlessSignInForm.js.map +1 -0
- package/dist/development/src/components/forms/PasswordlessSignInInitForm.cjs +59 -0
- package/dist/development/src/components/forms/PasswordlessSignInInitForm.cjs.map +1 -0
- package/dist/development/src/components/forms/PasswordlessSignInInitForm.js +59 -0
- package/dist/development/src/components/forms/PasswordlessSignInInitForm.js.map +1 -0
- package/dist/development/src/components/forms/TenantForm.cjs +101 -0
- package/dist/development/src/components/forms/TenantForm.cjs.map +1 -0
- package/dist/development/src/components/forms/TenantForm.js +101 -0
- package/dist/development/src/components/forms/TenantForm.js.map +1 -0
- package/dist/development/src/components/forms/UpdateProjectMemberForm.cjs +64 -0
- package/dist/development/src/components/forms/UpdateProjectMemberForm.cjs.map +1 -0
- package/dist/development/src/components/forms/UpdateProjectMemberForm.js +64 -0
- package/dist/development/src/components/forms/UpdateProjectMemberForm.js.map +1 -0
- package/dist/development/src/components/idp/IDP.cjs +56 -0
- package/dist/development/src/components/idp/IDP.cjs.map +1 -0
- package/dist/development/src/components/idp/IDP.js +56 -0
- package/dist/development/src/components/idp/IDP.js.map +1 -0
- package/dist/development/src/components/idp/IDPInitTrigger.cjs +16 -0
- package/dist/development/src/components/idp/IDPInitTrigger.cjs.map +1 -0
- package/dist/development/src/components/idp/IDPInitTrigger.js +16 -0
- package/dist/development/src/components/idp/IDPInitTrigger.js.map +1 -0
- package/dist/development/src/components/idp/IDPState.cjs +14 -0
- package/dist/development/src/components/idp/IDPState.cjs.map +1 -0
- package/dist/development/src/components/idp/IDPState.js +14 -0
- package/dist/development/src/components/idp/IDPState.js.map +1 -0
- package/dist/development/src/components/triggers/DisableOtpTrigger.cjs +32 -0
- package/dist/development/src/components/triggers/DisableOtpTrigger.cjs.map +1 -0
- package/dist/development/src/components/triggers/DisableOtpTrigger.js +32 -0
- package/dist/development/src/components/triggers/DisableOtpTrigger.js.map +1 -0
- package/dist/development/src/components/triggers/LogoutTrigger.cjs +16 -0
- package/dist/development/src/components/triggers/LogoutTrigger.cjs.map +1 -0
- package/dist/development/src/components/triggers/LogoutTrigger.js +16 -0
- package/dist/development/src/components/triggers/LogoutTrigger.js.map +1 -0
- package/dist/development/src/components/triggers/RemoveProjectMemberTrigger.cjs +17 -0
- package/dist/development/src/components/triggers/RemoveProjectMemberTrigger.cjs.map +1 -0
- package/dist/development/src/components/triggers/RemoveProjectMemberTrigger.js +17 -0
- package/dist/development/src/components/triggers/RemoveProjectMemberTrigger.js.map +1 -0
- package/dist/development/src/components/triggers/TenantActionTrigger.cjs +37 -0
- package/dist/development/src/components/triggers/TenantActionTrigger.cjs.map +1 -0
- package/dist/development/src/components/triggers/TenantActionTrigger.js +37 -0
- package/dist/development/src/components/triggers/TenantActionTrigger.js.map +1 -0
- package/dist/development/src/consts.cjs +5 -0
- package/dist/development/src/consts.cjs.map +1 -0
- package/dist/development/src/consts.js +5 -0
- package/dist/development/src/consts.js.map +1 -0
- package/dist/development/src/contexts.cjs +34 -0
- package/dist/development/src/contexts.cjs.map +1 -0
- package/dist/development/src/contexts.js +34 -0
- package/dist/development/src/contexts.js.map +1 -0
- package/dist/development/src/hooks/mutations/apiKey/useCreateApiKeyMutation.cjs +30 -0
- package/dist/development/src/hooks/mutations/apiKey/useCreateApiKeyMutation.cjs.map +1 -0
- package/dist/development/src/hooks/mutations/apiKey/useCreateApiKeyMutation.js +13 -0
- package/dist/development/src/hooks/mutations/apiKey/useCreateApiKeyMutation.js.map +1 -0
- package/dist/development/src/hooks/mutations/apiKey/useCreateGlobalApiKeyMutation.cjs +30 -0
- package/dist/development/src/hooks/mutations/apiKey/useCreateGlobalApiKeyMutation.cjs.map +1 -0
- package/dist/development/src/hooks/mutations/apiKey/useCreateGlobalApiKeyMutation.js +13 -0
- package/dist/development/src/hooks/mutations/apiKey/useCreateGlobalApiKeyMutation.js.map +1 -0
- package/dist/development/src/hooks/mutations/apiKey/useCreateSessionTokenMutation.cjs +30 -0
- package/dist/development/src/hooks/mutations/apiKey/useCreateSessionTokenMutation.cjs.map +1 -0
- package/dist/development/src/hooks/mutations/apiKey/useCreateSessionTokenMutation.js +13 -0
- package/dist/development/src/hooks/mutations/apiKey/useCreateSessionTokenMutation.js.map +1 -0
- package/dist/development/src/hooks/mutations/apiKey/useDisableApiKeyMutation.cjs +29 -0
- package/dist/development/src/hooks/mutations/apiKey/useDisableApiKeyMutation.cjs.map +1 -0
- package/dist/development/src/hooks/mutations/apiKey/useDisableApiKeyMutation.js +12 -0
- package/dist/development/src/hooks/mutations/apiKey/useDisableApiKeyMutation.js.map +1 -0
- package/dist/development/src/hooks/mutations/auth/useChangeMyPasswordMutation.cjs +29 -0
- package/dist/development/src/hooks/mutations/auth/useChangeMyPasswordMutation.cjs.map +1 -0
- package/dist/development/src/hooks/mutations/auth/useChangeMyPasswordMutation.js +12 -0
- package/dist/development/src/hooks/mutations/auth/useChangeMyPasswordMutation.js.map +1 -0
- package/dist/development/src/hooks/mutations/auth/useSignInMutation.cjs +33 -0
- package/dist/development/src/hooks/mutations/auth/useSignInMutation.cjs.map +1 -0
- package/dist/development/src/hooks/mutations/auth/useSignInMutation.js +16 -0
- package/dist/development/src/hooks/mutations/auth/useSignInMutation.js.map +1 -0
- package/dist/development/src/hooks/mutations/auth/useSignOutMutation.cjs +29 -0
- package/dist/development/src/hooks/mutations/auth/useSignOutMutation.cjs.map +1 -0
- package/dist/development/src/hooks/mutations/auth/useSignOutMutation.js +12 -0
- package/dist/development/src/hooks/mutations/auth/useSignOutMutation.js.map +1 -0
- package/dist/development/src/hooks/mutations/idp/useInitSignInIDPMutation.cjs +31 -0
- package/dist/development/src/hooks/mutations/idp/useInitSignInIDPMutation.cjs.map +1 -0
- package/dist/development/src/hooks/mutations/idp/useInitSignInIDPMutation.js +14 -0
- package/dist/development/src/hooks/mutations/idp/useInitSignInIDPMutation.js.map +1 -0
- package/dist/development/src/hooks/mutations/idp/useSignInIdpMutation.cjs +36 -0
- package/dist/development/src/hooks/mutations/idp/useSignInIdpMutation.cjs.map +1 -0
- package/dist/development/src/hooks/mutations/idp/useSignInIdpMutation.js +19 -0
- package/dist/development/src/hooks/mutations/idp/useSignInIdpMutation.js.map +1 -0
- package/dist/development/src/hooks/mutations/invite/useInviteMutation.cjs +30 -0
- package/dist/development/src/hooks/mutations/invite/useInviteMutation.cjs.map +1 -0
- package/dist/development/src/hooks/mutations/invite/useInviteMutation.js +13 -0
- package/dist/development/src/hooks/mutations/invite/useInviteMutation.js.map +1 -0
- package/dist/development/src/hooks/mutations/memberships/useAddProjectMemberMutation.cjs +29 -0
- package/dist/development/src/hooks/mutations/memberships/useAddProjectMemberMutation.cjs.map +1 -0
- package/dist/development/src/hooks/mutations/memberships/useAddProjectMemberMutation.js +12 -0
- package/dist/development/src/hooks/mutations/memberships/useAddProjectMemberMutation.js.map +1 -0
- package/dist/development/src/hooks/mutations/memberships/useRemoveProjectMemberMutation.cjs +29 -0
- package/dist/development/src/hooks/mutations/memberships/useRemoveProjectMemberMutation.cjs.map +1 -0
- package/dist/development/src/hooks/mutations/memberships/useRemoveProjectMemberMutation.js +12 -0
- package/dist/development/src/hooks/mutations/memberships/useRemoveProjectMemberMutation.js.map +1 -0
- package/dist/development/src/hooks/mutations/memberships/useUpdateProjectMemberMutation.cjs +29 -0
- package/dist/development/src/hooks/mutations/memberships/useUpdateProjectMemberMutation.cjs.map +1 -0
- package/dist/development/src/hooks/mutations/memberships/useUpdateProjectMemberMutation.js +12 -0
- package/dist/development/src/hooks/mutations/memberships/useUpdateProjectMemberMutation.js.map +1 -0
- package/dist/development/src/hooks/mutations/otp/useConfirmOtpMutation.cjs +29 -0
- package/dist/development/src/hooks/mutations/otp/useConfirmOtpMutation.cjs.map +1 -0
- package/dist/development/src/hooks/mutations/otp/useConfirmOtpMutation.js +12 -0
- package/dist/development/src/hooks/mutations/otp/useConfirmOtpMutation.js.map +1 -0
- package/dist/development/src/hooks/mutations/otp/useDisableOtpMutation.cjs +29 -0
- package/dist/development/src/hooks/mutations/otp/useDisableOtpMutation.cjs.map +1 -0
- package/dist/development/src/hooks/mutations/otp/useDisableOtpMutation.js +12 -0
- package/dist/development/src/hooks/mutations/otp/useDisableOtpMutation.js.map +1 -0
- package/dist/development/src/hooks/mutations/otp/usePrepareOtpMutation.cjs +30 -0
- package/dist/development/src/hooks/mutations/otp/usePrepareOtpMutation.cjs.map +1 -0
- package/dist/development/src/hooks/mutations/otp/usePrepareOtpMutation.js +13 -0
- package/dist/development/src/hooks/mutations/otp/usePrepareOtpMutation.js.map +1 -0
- package/dist/development/src/hooks/mutations/passwordReset/useCreateResetPasswordRequestMutation.cjs +32 -0
- package/dist/development/src/hooks/mutations/passwordReset/useCreateResetPasswordRequestMutation.cjs.map +1 -0
- package/dist/development/src/hooks/mutations/passwordReset/useCreateResetPasswordRequestMutation.js +15 -0
- package/dist/development/src/hooks/mutations/passwordReset/useCreateResetPasswordRequestMutation.js.map +1 -0
- package/dist/development/src/hooks/mutations/passwordReset/useResetPasswordMutation.cjs +32 -0
- package/dist/development/src/hooks/mutations/passwordReset/useResetPasswordMutation.cjs.map +1 -0
- package/dist/development/src/hooks/mutations/passwordReset/useResetPasswordMutation.js +15 -0
- package/dist/development/src/hooks/mutations/passwordReset/useResetPasswordMutation.js.map +1 -0
- package/dist/development/src/hooks/mutations/passwordless/useActivatePasswordlessOtpMutation.cjs +31 -0
- package/dist/development/src/hooks/mutations/passwordless/useActivatePasswordlessOtpMutation.cjs.map +1 -0
- package/dist/development/src/hooks/mutations/passwordless/useActivatePasswordlessOtpMutation.js +14 -0
- package/dist/development/src/hooks/mutations/passwordless/useActivatePasswordlessOtpMutation.js.map +1 -0
- package/dist/development/src/hooks/mutations/passwordless/useDisableMyPasswordlessMutation.cjs +28 -0
- package/dist/development/src/hooks/mutations/passwordless/useDisableMyPasswordlessMutation.cjs.map +1 -0
- package/dist/development/src/hooks/mutations/passwordless/useDisableMyPasswordlessMutation.js +11 -0
- package/dist/development/src/hooks/mutations/passwordless/useDisableMyPasswordlessMutation.js.map +1 -0
- package/dist/development/src/hooks/mutations/passwordless/useEnableMyPasswordlessMutation.cjs +28 -0
- package/dist/development/src/hooks/mutations/passwordless/useEnableMyPasswordlessMutation.cjs.map +1 -0
- package/dist/development/src/hooks/mutations/passwordless/useEnableMyPasswordlessMutation.js +11 -0
- package/dist/development/src/hooks/mutations/passwordless/useEnableMyPasswordlessMutation.js.map +1 -0
- package/dist/development/src/hooks/mutations/passwordless/useInitSignInPasswordlessMutation.cjs +32 -0
- package/dist/development/src/hooks/mutations/passwordless/useInitSignInPasswordlessMutation.cjs.map +1 -0
- package/dist/development/src/hooks/mutations/passwordless/useInitSignInPasswordlessMutation.js +15 -0
- package/dist/development/src/hooks/mutations/passwordless/useInitSignInPasswordlessMutation.js.map +1 -0
- package/dist/development/src/hooks/mutations/passwordless/useSignInPasswordlessMutation.cjs +32 -0
- package/dist/development/src/hooks/mutations/passwordless/useSignInPasswordlessMutation.cjs.map +1 -0
- package/dist/development/src/hooks/mutations/passwordless/useSignInPasswordlessMutation.js +15 -0
- package/dist/development/src/hooks/mutations/passwordless/useSignInPasswordlessMutation.js.map +1 -0
- package/dist/development/src/hooks/mutations/profile/useChangeMyProfile.cjs +29 -0
- package/dist/development/src/hooks/mutations/profile/useChangeMyProfile.cjs.map +1 -0
- package/dist/development/src/hooks/mutations/profile/useChangeMyProfile.js +12 -0
- package/dist/development/src/hooks/mutations/profile/useChangeMyProfile.js.map +1 -0
- package/dist/development/src/hooks/mutations/profile/useChangeProfile.cjs +29 -0
- package/dist/development/src/hooks/mutations/profile/useChangeProfile.cjs.map +1 -0
- package/dist/development/src/hooks/mutations/profile/useChangeProfile.js +12 -0
- package/dist/development/src/hooks/mutations/profile/useChangeProfile.js.map +1 -0
- package/dist/development/src/hooks/queries/useMeQuery.cjs +33 -0
- package/dist/development/src/hooks/queries/useMeQuery.cjs.map +1 -0
- package/dist/development/src/hooks/queries/useMeQuery.js +16 -0
- package/dist/development/src/hooks/queries/useMeQuery.js.map +1 -0
- package/dist/development/src/hooks/queries/useProjectMembersQuery.cjs +53 -0
- package/dist/development/src/hooks/queries/useProjectMembersQuery.cjs.map +1 -0
- package/dist/development/src/hooks/queries/useProjectMembersQuery.js +36 -0
- package/dist/development/src/hooks/queries/useProjectMembersQuery.js.map +1 -0
- package/dist/development/src/hooks/queries/useProjectMembershipsQuery.cjs +34 -0
- package/dist/development/src/hooks/queries/useProjectMembershipsQuery.cjs.map +1 -0
- package/dist/development/src/hooks/queries/useProjectMembershipsQuery.js +17 -0
- package/dist/development/src/hooks/queries/useProjectMembershipsQuery.js.map +1 -0
- package/dist/development/src/hooks/queries/useProjectRolesDefinitionQuery.cjs +36 -0
- package/dist/development/src/hooks/queries/useProjectRolesDefinitionQuery.cjs.map +1 -0
- package/dist/development/src/hooks/queries/useProjectRolesDefinitionQuery.js +19 -0
- package/dist/development/src/hooks/queries/useProjectRolesDefinitionQuery.js.map +1 -0
- package/dist/development/src/hooks/useFetchIdentity.cjs +55 -0
- package/dist/development/src/hooks/useFetchIdentity.cjs.map +1 -0
- package/dist/development/src/hooks/useFetchIdentity.js +55 -0
- package/dist/development/src/hooks/useFetchIdentity.js.map +1 -0
- package/dist/development/src/hooks/useLogout.cjs +10 -0
- package/dist/development/src/hooks/useLogout.cjs.map +1 -0
- package/dist/development/src/hooks/useLogout.js +10 -0
- package/dist/development/src/hooks/useLogout.js.map +1 -0
- package/dist/development/src/hooks/usePasswordlessOtpActivator.cjs +53 -0
- package/dist/development/src/hooks/usePasswordlessOtpActivator.cjs.map +1 -0
- package/dist/development/src/hooks/usePasswordlessOtpActivator.js +53 -0
- package/dist/development/src/hooks/usePasswordlessOtpActivator.js.map +1 -0
- package/dist/development/src/hooks/useTenantApi.cjs +36 -0
- package/dist/development/src/hooks/useTenantApi.cjs.map +1 -0
- package/dist/development/src/hooks/useTenantApi.js +36 -0
- package/dist/development/src/hooks/useTenantApi.js.map +1 -0
- package/dist/development/src/hooks/useTenantMutation.cjs +33 -0
- package/dist/development/src/hooks/useTenantMutation.cjs.map +1 -0
- package/dist/development/src/hooks/useTenantMutation.js +33 -0
- package/dist/development/src/hooks/useTenantMutation.js.map +1 -0
- package/dist/development/src/hooks/useTenantQueryLoader.cjs +36 -0
- package/dist/development/src/hooks/useTenantQueryLoader.cjs.map +1 -0
- package/dist/development/src/hooks/useTenantQueryLoader.js +36 -0
- package/dist/development/src/hooks/useTenantQueryLoader.js.map +1 -0
- package/dist/development/src/internal/hooks/useHandleIDPResponse.cjs +51 -0
- package/dist/development/src/internal/hooks/useHandleIDPResponse.cjs.map +1 -0
- package/dist/development/src/internal/hooks/useHandleIDPResponse.js +51 -0
- package/dist/development/src/internal/hooks/useHandleIDPResponse.js.map +1 -0
- package/dist/development/src/internal/hooks/useIDPAutoInit.cjs +19 -0
- package/dist/development/src/internal/hooks/useIDPAutoInit.cjs.map +1 -0
- package/dist/development/src/internal/hooks/useIDPAutoInit.js +19 -0
- package/dist/development/src/internal/hooks/useIDPAutoInit.js.map +1 -0
- package/dist/development/src/internal/hooks/useIDPStateStore.cjs +19 -0
- package/dist/development/src/internal/hooks/useIDPStateStore.cjs.map +1 -0
- package/dist/development/src/internal/hooks/useIDPStateStore.js +19 -0
- package/dist/development/src/internal/hooks/useIDPStateStore.js.map +1 -0
- package/dist/development/src/internal/hooks/useInitIDPRedirect.cjs +44 -0
- package/dist/development/src/internal/hooks/useInitIDPRedirect.cjs.map +1 -0
- package/dist/development/src/internal/hooks/useInitIDPRedirect.js +44 -0
- package/dist/development/src/internal/hooks/useInitIDPRedirect.js.map +1 -0
- package/dist/development/src/internal/hooks/useLogoutInternal.cjs +35 -0
- package/dist/development/src/internal/hooks/useLogoutInternal.cjs.map +1 -0
- package/dist/development/src/internal/hooks/useLogoutInternal.js +35 -0
- package/dist/development/src/internal/hooks/useLogoutInternal.js.map +1 -0
- package/dist/development/src/internal/hooks/useRedirectToBacklink.cjs +36 -0
- package/dist/development/src/internal/hooks/useRedirectToBacklink.cjs.map +1 -0
- package/dist/development/src/internal/hooks/useRedirectToBacklink.js +36 -0
- package/dist/development/src/internal/hooks/useRedirectToBacklink.js.map +1 -0
- package/dist/development/src/internal/utils/getBaseHref.cjs +8 -0
- package/dist/development/src/internal/utils/getBaseHref.cjs.map +1 -0
- package/dist/development/src/internal/utils/getBaseHref.js +8 -0
- package/dist/development/src/internal/utils/getBaseHref.js.map +1 -0
- package/dist/development/src/internal/utils/hashing.cjs +8 -0
- package/dist/development/src/internal/utils/hashing.cjs.map +1 -0
- package/dist/development/src/internal/utils/hashing.js +8 -0
- package/dist/development/src/internal/utils/hashing.js.map +1 -0
- package/dist/development/src/internal/utils/randomInt.cjs +29 -0
- package/dist/development/src/internal/utils/randomInt.cjs.map +1 -0
- package/dist/development/src/internal/utils/randomInt.js +29 -0
- package/dist/development/src/internal/utils/randomInt.js.map +1 -0
- package/dist/production/index.cjs +159 -0
- package/dist/production/index.cjs.map +1 -0
- package/dist/production/index.js +159 -0
- package/dist/production/index.js.map +1 -0
- package/dist/production/src/components/IdentityProvider.cjs +26 -0
- package/dist/production/src/components/IdentityProvider.cjs.map +1 -0
- package/dist/production/src/components/IdentityProvider.js +26 -0
- package/dist/production/src/components/IdentityProvider.js.map +1 -0
- package/dist/production/src/components/IdentityState.cjs +10 -0
- package/dist/production/src/components/IdentityState.cjs.map +1 -0
- package/dist/production/src/components/IdentityState.js +10 -0
- package/dist/production/src/components/IdentityState.js.map +1 -0
- package/dist/production/src/components/forms/ChangeMyPasswordForm.cjs +51 -0
- package/dist/production/src/components/forms/ChangeMyPasswordForm.cjs.map +1 -0
- package/dist/production/src/components/forms/ChangeMyPasswordForm.js +51 -0
- package/dist/production/src/components/forms/ChangeMyPasswordForm.js.map +1 -0
- package/dist/production/src/components/forms/CreateApiKeyForm.cjs +49 -0
- package/dist/production/src/components/forms/CreateApiKeyForm.cjs.map +1 -0
- package/dist/production/src/components/forms/CreateApiKeyForm.js +49 -0
- package/dist/production/src/components/forms/CreateApiKeyForm.js.map +1 -0
- package/dist/production/src/components/forms/CreateSessionTokenForm.cjs +42 -0
- package/dist/production/src/components/forms/CreateSessionTokenForm.cjs.map +1 -0
- package/dist/production/src/components/forms/CreateSessionTokenForm.js +42 -0
- package/dist/production/src/components/forms/CreateSessionTokenForm.js.map +1 -0
- package/dist/production/src/components/forms/InviteForm.cjs +54 -0
- package/dist/production/src/components/forms/InviteForm.cjs.map +1 -0
- package/dist/production/src/components/forms/InviteForm.js +54 -0
- package/dist/production/src/components/forms/InviteForm.js.map +1 -0
- package/dist/production/src/components/forms/LoginForm.cjs +79 -0
- package/dist/production/src/components/forms/LoginForm.cjs.map +1 -0
- package/dist/production/src/components/forms/LoginForm.js +79 -0
- package/dist/production/src/components/forms/LoginForm.js.map +1 -0
- package/dist/production/src/components/forms/OtpConfirmForm.cjs +41 -0
- package/dist/production/src/components/forms/OtpConfirmForm.cjs.map +1 -0
- package/dist/production/src/components/forms/OtpConfirmForm.js +41 -0
- package/dist/production/src/components/forms/OtpConfirmForm.js.map +1 -0
- package/dist/production/src/components/forms/OtpPrepareForm.cjs +28 -0
- package/dist/production/src/components/forms/OtpPrepareForm.cjs.map +1 -0
- package/dist/production/src/components/forms/OtpPrepareForm.js +28 -0
- package/dist/production/src/components/forms/OtpPrepareForm.js.map +1 -0
- package/dist/production/src/components/forms/PasswordResetForm.cjs +55 -0
- package/dist/production/src/components/forms/PasswordResetForm.cjs.map +1 -0
- package/dist/production/src/components/forms/PasswordResetForm.js +55 -0
- package/dist/production/src/components/forms/PasswordResetForm.js.map +1 -0
- package/dist/production/src/components/forms/PasswordResetRequestForm.cjs +41 -0
- package/dist/production/src/components/forms/PasswordResetRequestForm.cjs.map +1 -0
- package/dist/production/src/components/forms/PasswordResetRequestForm.js +41 -0
- package/dist/production/src/components/forms/PasswordResetRequestForm.js.map +1 -0
- package/dist/production/src/components/forms/PasswordlessSignInForm.cjs +71 -0
- package/dist/production/src/components/forms/PasswordlessSignInForm.cjs.map +1 -0
- package/dist/production/src/components/forms/PasswordlessSignInForm.js +71 -0
- package/dist/production/src/components/forms/PasswordlessSignInForm.js.map +1 -0
- package/dist/production/src/components/forms/PasswordlessSignInInitForm.cjs +51 -0
- package/dist/production/src/components/forms/PasswordlessSignInInitForm.cjs.map +1 -0
- package/dist/production/src/components/forms/PasswordlessSignInInitForm.js +51 -0
- package/dist/production/src/components/forms/PasswordlessSignInInitForm.js.map +1 -0
- package/dist/production/src/components/forms/TenantForm.cjs +89 -0
- package/dist/production/src/components/forms/TenantForm.cjs.map +1 -0
- package/dist/production/src/components/forms/TenantForm.js +89 -0
- package/dist/production/src/components/forms/TenantForm.js.map +1 -0
- package/dist/production/src/components/forms/UpdateProjectMemberForm.cjs +56 -0
- package/dist/production/src/components/forms/UpdateProjectMemberForm.cjs.map +1 -0
- package/dist/production/src/components/forms/UpdateProjectMemberForm.js +56 -0
- package/dist/production/src/components/forms/UpdateProjectMemberForm.js.map +1 -0
- package/dist/production/src/components/idp/IDP.cjs +48 -0
- package/dist/production/src/components/idp/IDP.cjs.map +1 -0
- package/dist/production/src/components/idp/IDP.js +48 -0
- package/dist/production/src/components/idp/IDP.js.map +1 -0
- package/dist/production/src/components/idp/IDPInitTrigger.cjs +12 -0
- package/dist/production/src/components/idp/IDPInitTrigger.cjs.map +1 -0
- package/dist/production/src/components/idp/IDPInitTrigger.js +12 -0
- package/dist/production/src/components/idp/IDPInitTrigger.js.map +1 -0
- package/dist/production/src/components/idp/IDPState.cjs +10 -0
- package/dist/production/src/components/idp/IDPState.cjs.map +1 -0
- package/dist/production/src/components/idp/IDPState.js +10 -0
- package/dist/production/src/components/idp/IDPState.js.map +1 -0
- package/dist/production/src/components/triggers/DisableOtpTrigger.cjs +24 -0
- package/dist/production/src/components/triggers/DisableOtpTrigger.cjs.map +1 -0
- package/dist/production/src/components/triggers/DisableOtpTrigger.js +24 -0
- package/dist/production/src/components/triggers/DisableOtpTrigger.js.map +1 -0
- package/dist/production/src/components/triggers/LogoutTrigger.cjs +12 -0
- package/dist/production/src/components/triggers/LogoutTrigger.cjs.map +1 -0
- package/dist/production/src/components/triggers/LogoutTrigger.js +12 -0
- package/dist/production/src/components/triggers/LogoutTrigger.js.map +1 -0
- package/dist/production/src/components/triggers/RemoveProjectMemberTrigger.cjs +13 -0
- package/dist/production/src/components/triggers/RemoveProjectMemberTrigger.cjs.map +1 -0
- package/dist/production/src/components/triggers/RemoveProjectMemberTrigger.js +13 -0
- package/dist/production/src/components/triggers/RemoveProjectMemberTrigger.js.map +1 -0
- package/dist/production/src/components/triggers/TenantActionTrigger.cjs +33 -0
- package/dist/production/src/components/triggers/TenantActionTrigger.cjs.map +1 -0
- package/dist/production/src/components/triggers/TenantActionTrigger.js +33 -0
- package/dist/production/src/components/triggers/TenantActionTrigger.js.map +1 -0
- package/dist/production/src/consts.cjs +5 -0
- package/dist/production/src/consts.cjs.map +1 -0
- package/dist/production/src/consts.js +5 -0
- package/dist/production/src/consts.js.map +1 -0
- package/dist/production/src/contexts.cjs +34 -0
- package/dist/production/src/contexts.cjs.map +1 -0
- package/dist/production/src/contexts.js +34 -0
- package/dist/production/src/contexts.js.map +1 -0
- package/dist/production/src/hooks/mutations/apiKey/useCreateApiKeyMutation.cjs +30 -0
- package/dist/production/src/hooks/mutations/apiKey/useCreateApiKeyMutation.cjs.map +1 -0
- package/dist/production/src/hooks/mutations/apiKey/useCreateApiKeyMutation.js +13 -0
- package/dist/production/src/hooks/mutations/apiKey/useCreateApiKeyMutation.js.map +1 -0
- package/dist/production/src/hooks/mutations/apiKey/useCreateGlobalApiKeyMutation.cjs +30 -0
- package/dist/production/src/hooks/mutations/apiKey/useCreateGlobalApiKeyMutation.cjs.map +1 -0
- package/dist/production/src/hooks/mutations/apiKey/useCreateGlobalApiKeyMutation.js +13 -0
- package/dist/production/src/hooks/mutations/apiKey/useCreateGlobalApiKeyMutation.js.map +1 -0
- package/dist/production/src/hooks/mutations/apiKey/useCreateSessionTokenMutation.cjs +30 -0
- package/dist/production/src/hooks/mutations/apiKey/useCreateSessionTokenMutation.cjs.map +1 -0
- package/dist/production/src/hooks/mutations/apiKey/useCreateSessionTokenMutation.js +13 -0
- package/dist/production/src/hooks/mutations/apiKey/useCreateSessionTokenMutation.js.map +1 -0
- package/dist/production/src/hooks/mutations/apiKey/useDisableApiKeyMutation.cjs +29 -0
- package/dist/production/src/hooks/mutations/apiKey/useDisableApiKeyMutation.cjs.map +1 -0
- package/dist/production/src/hooks/mutations/apiKey/useDisableApiKeyMutation.js +12 -0
- package/dist/production/src/hooks/mutations/apiKey/useDisableApiKeyMutation.js.map +1 -0
- package/dist/production/src/hooks/mutations/auth/useChangeMyPasswordMutation.cjs +29 -0
- package/dist/production/src/hooks/mutations/auth/useChangeMyPasswordMutation.cjs.map +1 -0
- package/dist/production/src/hooks/mutations/auth/useChangeMyPasswordMutation.js +12 -0
- package/dist/production/src/hooks/mutations/auth/useChangeMyPasswordMutation.js.map +1 -0
- package/dist/production/src/hooks/mutations/auth/useSignInMutation.cjs +33 -0
- package/dist/production/src/hooks/mutations/auth/useSignInMutation.cjs.map +1 -0
- package/dist/production/src/hooks/mutations/auth/useSignInMutation.js +16 -0
- package/dist/production/src/hooks/mutations/auth/useSignInMutation.js.map +1 -0
- package/dist/production/src/hooks/mutations/auth/useSignOutMutation.cjs +29 -0
- package/dist/production/src/hooks/mutations/auth/useSignOutMutation.cjs.map +1 -0
- package/dist/production/src/hooks/mutations/auth/useSignOutMutation.js +12 -0
- package/dist/production/src/hooks/mutations/auth/useSignOutMutation.js.map +1 -0
- package/dist/production/src/hooks/mutations/idp/useInitSignInIDPMutation.cjs +31 -0
- package/dist/production/src/hooks/mutations/idp/useInitSignInIDPMutation.cjs.map +1 -0
- package/dist/production/src/hooks/mutations/idp/useInitSignInIDPMutation.js +14 -0
- package/dist/production/src/hooks/mutations/idp/useInitSignInIDPMutation.js.map +1 -0
- package/dist/production/src/hooks/mutations/idp/useSignInIdpMutation.cjs +36 -0
- package/dist/production/src/hooks/mutations/idp/useSignInIdpMutation.cjs.map +1 -0
- package/dist/production/src/hooks/mutations/idp/useSignInIdpMutation.js +19 -0
- package/dist/production/src/hooks/mutations/idp/useSignInIdpMutation.js.map +1 -0
- package/dist/production/src/hooks/mutations/invite/useInviteMutation.cjs +30 -0
- package/dist/production/src/hooks/mutations/invite/useInviteMutation.cjs.map +1 -0
- package/dist/production/src/hooks/mutations/invite/useInviteMutation.js +13 -0
- package/dist/production/src/hooks/mutations/invite/useInviteMutation.js.map +1 -0
- package/dist/production/src/hooks/mutations/memberships/useAddProjectMemberMutation.cjs +29 -0
- package/dist/production/src/hooks/mutations/memberships/useAddProjectMemberMutation.cjs.map +1 -0
- package/dist/production/src/hooks/mutations/memberships/useAddProjectMemberMutation.js +12 -0
- package/dist/production/src/hooks/mutations/memberships/useAddProjectMemberMutation.js.map +1 -0
- package/dist/production/src/hooks/mutations/memberships/useRemoveProjectMemberMutation.cjs +29 -0
- package/dist/production/src/hooks/mutations/memberships/useRemoveProjectMemberMutation.cjs.map +1 -0
- package/dist/production/src/hooks/mutations/memberships/useRemoveProjectMemberMutation.js +12 -0
- package/dist/production/src/hooks/mutations/memberships/useRemoveProjectMemberMutation.js.map +1 -0
- package/dist/production/src/hooks/mutations/memberships/useUpdateProjectMemberMutation.cjs +29 -0
- package/dist/production/src/hooks/mutations/memberships/useUpdateProjectMemberMutation.cjs.map +1 -0
- package/dist/production/src/hooks/mutations/memberships/useUpdateProjectMemberMutation.js +12 -0
- package/dist/production/src/hooks/mutations/memberships/useUpdateProjectMemberMutation.js.map +1 -0
- package/dist/production/src/hooks/mutations/otp/useConfirmOtpMutation.cjs +29 -0
- package/dist/production/src/hooks/mutations/otp/useConfirmOtpMutation.cjs.map +1 -0
- package/dist/production/src/hooks/mutations/otp/useConfirmOtpMutation.js +12 -0
- package/dist/production/src/hooks/mutations/otp/useConfirmOtpMutation.js.map +1 -0
- package/dist/production/src/hooks/mutations/otp/useDisableOtpMutation.cjs +29 -0
- package/dist/production/src/hooks/mutations/otp/useDisableOtpMutation.cjs.map +1 -0
- package/dist/production/src/hooks/mutations/otp/useDisableOtpMutation.js +12 -0
- package/dist/production/src/hooks/mutations/otp/useDisableOtpMutation.js.map +1 -0
- package/dist/production/src/hooks/mutations/otp/usePrepareOtpMutation.cjs +30 -0
- package/dist/production/src/hooks/mutations/otp/usePrepareOtpMutation.cjs.map +1 -0
- package/dist/production/src/hooks/mutations/otp/usePrepareOtpMutation.js +13 -0
- package/dist/production/src/hooks/mutations/otp/usePrepareOtpMutation.js.map +1 -0
- package/dist/production/src/hooks/mutations/passwordReset/useCreateResetPasswordRequestMutation.cjs +32 -0
- package/dist/production/src/hooks/mutations/passwordReset/useCreateResetPasswordRequestMutation.cjs.map +1 -0
- package/dist/production/src/hooks/mutations/passwordReset/useCreateResetPasswordRequestMutation.js +15 -0
- package/dist/production/src/hooks/mutations/passwordReset/useCreateResetPasswordRequestMutation.js.map +1 -0
- package/dist/production/src/hooks/mutations/passwordReset/useResetPasswordMutation.cjs +32 -0
- package/dist/production/src/hooks/mutations/passwordReset/useResetPasswordMutation.cjs.map +1 -0
- package/dist/production/src/hooks/mutations/passwordReset/useResetPasswordMutation.js +15 -0
- package/dist/production/src/hooks/mutations/passwordReset/useResetPasswordMutation.js.map +1 -0
- package/dist/production/src/hooks/mutations/passwordless/useActivatePasswordlessOtpMutation.cjs +31 -0
- package/dist/production/src/hooks/mutations/passwordless/useActivatePasswordlessOtpMutation.cjs.map +1 -0
- package/dist/production/src/hooks/mutations/passwordless/useActivatePasswordlessOtpMutation.js +14 -0
- package/dist/production/src/hooks/mutations/passwordless/useActivatePasswordlessOtpMutation.js.map +1 -0
- package/dist/production/src/hooks/mutations/passwordless/useDisableMyPasswordlessMutation.cjs +28 -0
- package/dist/production/src/hooks/mutations/passwordless/useDisableMyPasswordlessMutation.cjs.map +1 -0
- package/dist/production/src/hooks/mutations/passwordless/useDisableMyPasswordlessMutation.js +11 -0
- package/dist/production/src/hooks/mutations/passwordless/useDisableMyPasswordlessMutation.js.map +1 -0
- package/dist/production/src/hooks/mutations/passwordless/useEnableMyPasswordlessMutation.cjs +28 -0
- package/dist/production/src/hooks/mutations/passwordless/useEnableMyPasswordlessMutation.cjs.map +1 -0
- package/dist/production/src/hooks/mutations/passwordless/useEnableMyPasswordlessMutation.js +11 -0
- package/dist/production/src/hooks/mutations/passwordless/useEnableMyPasswordlessMutation.js.map +1 -0
- package/dist/production/src/hooks/mutations/passwordless/useInitSignInPasswordlessMutation.cjs +32 -0
- package/dist/production/src/hooks/mutations/passwordless/useInitSignInPasswordlessMutation.cjs.map +1 -0
- package/dist/production/src/hooks/mutations/passwordless/useInitSignInPasswordlessMutation.js +15 -0
- package/dist/production/src/hooks/mutations/passwordless/useInitSignInPasswordlessMutation.js.map +1 -0
- package/dist/production/src/hooks/mutations/passwordless/useSignInPasswordlessMutation.cjs +32 -0
- package/dist/production/src/hooks/mutations/passwordless/useSignInPasswordlessMutation.cjs.map +1 -0
- package/dist/production/src/hooks/mutations/passwordless/useSignInPasswordlessMutation.js +15 -0
- package/dist/production/src/hooks/mutations/passwordless/useSignInPasswordlessMutation.js.map +1 -0
- package/dist/production/src/hooks/mutations/profile/useChangeMyProfile.cjs +29 -0
- package/dist/production/src/hooks/mutations/profile/useChangeMyProfile.cjs.map +1 -0
- package/dist/production/src/hooks/mutations/profile/useChangeMyProfile.js +12 -0
- package/dist/production/src/hooks/mutations/profile/useChangeMyProfile.js.map +1 -0
- package/dist/production/src/hooks/mutations/profile/useChangeProfile.cjs +29 -0
- package/dist/production/src/hooks/mutations/profile/useChangeProfile.cjs.map +1 -0
- package/dist/production/src/hooks/mutations/profile/useChangeProfile.js +12 -0
- package/dist/production/src/hooks/mutations/profile/useChangeProfile.js.map +1 -0
- package/dist/production/src/hooks/queries/useMeQuery.cjs +33 -0
- package/dist/production/src/hooks/queries/useMeQuery.cjs.map +1 -0
- package/dist/production/src/hooks/queries/useMeQuery.js +16 -0
- package/dist/production/src/hooks/queries/useMeQuery.js.map +1 -0
- package/dist/production/src/hooks/queries/useProjectMembersQuery.cjs +53 -0
- package/dist/production/src/hooks/queries/useProjectMembersQuery.cjs.map +1 -0
- package/dist/production/src/hooks/queries/useProjectMembersQuery.js +36 -0
- package/dist/production/src/hooks/queries/useProjectMembersQuery.js.map +1 -0
- package/dist/production/src/hooks/queries/useProjectMembershipsQuery.cjs +34 -0
- package/dist/production/src/hooks/queries/useProjectMembershipsQuery.cjs.map +1 -0
- package/dist/production/src/hooks/queries/useProjectMembershipsQuery.js +17 -0
- package/dist/production/src/hooks/queries/useProjectMembershipsQuery.js.map +1 -0
- package/dist/production/src/hooks/queries/useProjectRolesDefinitionQuery.cjs +36 -0
- package/dist/production/src/hooks/queries/useProjectRolesDefinitionQuery.cjs.map +1 -0
- package/dist/production/src/hooks/queries/useProjectRolesDefinitionQuery.js +19 -0
- package/dist/production/src/hooks/queries/useProjectRolesDefinitionQuery.js.map +1 -0
- package/dist/production/src/hooks/useFetchIdentity.cjs +55 -0
- package/dist/production/src/hooks/useFetchIdentity.cjs.map +1 -0
- package/dist/production/src/hooks/useFetchIdentity.js +55 -0
- package/dist/production/src/hooks/useFetchIdentity.js.map +1 -0
- package/dist/production/src/hooks/useLogout.cjs +10 -0
- package/dist/production/src/hooks/useLogout.cjs.map +1 -0
- package/dist/production/src/hooks/useLogout.js +10 -0
- package/dist/production/src/hooks/useLogout.js.map +1 -0
- package/dist/production/src/hooks/usePasswordlessOtpActivator.cjs +53 -0
- package/dist/production/src/hooks/usePasswordlessOtpActivator.cjs.map +1 -0
- package/dist/production/src/hooks/usePasswordlessOtpActivator.js +53 -0
- package/dist/production/src/hooks/usePasswordlessOtpActivator.js.map +1 -0
- package/dist/production/src/hooks/useTenantApi.cjs +36 -0
- package/dist/production/src/hooks/useTenantApi.cjs.map +1 -0
- package/dist/production/src/hooks/useTenantApi.js +36 -0
- package/dist/production/src/hooks/useTenantApi.js.map +1 -0
- package/dist/production/src/hooks/useTenantMutation.cjs +33 -0
- package/dist/production/src/hooks/useTenantMutation.cjs.map +1 -0
- package/dist/production/src/hooks/useTenantMutation.js +33 -0
- package/dist/production/src/hooks/useTenantMutation.js.map +1 -0
- package/dist/production/src/hooks/useTenantQueryLoader.cjs +36 -0
- package/dist/production/src/hooks/useTenantQueryLoader.cjs.map +1 -0
- package/dist/production/src/hooks/useTenantQueryLoader.js +36 -0
- package/dist/production/src/hooks/useTenantQueryLoader.js.map +1 -0
- package/dist/production/src/internal/hooks/useHandleIDPResponse.cjs +51 -0
- package/dist/production/src/internal/hooks/useHandleIDPResponse.cjs.map +1 -0
- package/dist/production/src/internal/hooks/useHandleIDPResponse.js +51 -0
- package/dist/production/src/internal/hooks/useHandleIDPResponse.js.map +1 -0
- package/dist/production/src/internal/hooks/useIDPAutoInit.cjs +19 -0
- package/dist/production/src/internal/hooks/useIDPAutoInit.cjs.map +1 -0
- package/dist/production/src/internal/hooks/useIDPAutoInit.js +19 -0
- package/dist/production/src/internal/hooks/useIDPAutoInit.js.map +1 -0
- package/dist/production/src/internal/hooks/useIDPStateStore.cjs +19 -0
- package/dist/production/src/internal/hooks/useIDPStateStore.cjs.map +1 -0
- package/dist/production/src/internal/hooks/useIDPStateStore.js +19 -0
- package/dist/production/src/internal/hooks/useIDPStateStore.js.map +1 -0
- package/dist/production/src/internal/hooks/useInitIDPRedirect.cjs +44 -0
- package/dist/production/src/internal/hooks/useInitIDPRedirect.cjs.map +1 -0
- package/dist/production/src/internal/hooks/useInitIDPRedirect.js +44 -0
- package/dist/production/src/internal/hooks/useInitIDPRedirect.js.map +1 -0
- package/dist/production/src/internal/hooks/useLogoutInternal.cjs +35 -0
- package/dist/production/src/internal/hooks/useLogoutInternal.cjs.map +1 -0
- package/dist/production/src/internal/hooks/useLogoutInternal.js +35 -0
- package/dist/production/src/internal/hooks/useLogoutInternal.js.map +1 -0
- package/dist/production/src/internal/hooks/useRedirectToBacklink.cjs +36 -0
- package/dist/production/src/internal/hooks/useRedirectToBacklink.cjs.map +1 -0
- package/dist/production/src/internal/hooks/useRedirectToBacklink.js +36 -0
- package/dist/production/src/internal/hooks/useRedirectToBacklink.js.map +1 -0
- package/dist/production/src/internal/utils/getBaseHref.cjs +8 -0
- package/dist/production/src/internal/utils/getBaseHref.cjs.map +1 -0
- package/dist/production/src/internal/utils/getBaseHref.js +8 -0
- package/dist/production/src/internal/utils/getBaseHref.js.map +1 -0
- package/dist/production/src/internal/utils/hashing.cjs +8 -0
- package/dist/production/src/internal/utils/hashing.cjs.map +1 -0
- package/dist/production/src/internal/utils/hashing.js +8 -0
- package/dist/production/src/internal/utils/hashing.js.map +1 -0
- package/dist/production/src/internal/utils/randomInt.cjs +29 -0
- package/dist/production/src/internal/utils/randomInt.cjs.map +1 -0
- package/dist/production/src/internal/utils/randomInt.js +29 -0
- package/dist/production/src/internal/utils/randomInt.js.map +1 -0
- package/dist/types/components/IdentityProvider.d.ts +6 -0
- package/dist/types/components/IdentityProvider.d.ts.map +1 -0
- package/dist/types/components/IdentityState.d.ts +8 -0
- package/dist/types/components/IdentityState.d.ts.map +1 -0
- package/dist/types/components/forms/ChangeMyPasswordForm.d.ts +19 -0
- package/dist/types/components/forms/ChangeMyPasswordForm.d.ts.map +1 -0
- package/dist/types/components/forms/CreateApiKeyForm.d.ts +23 -0
- package/dist/types/components/forms/CreateApiKeyForm.d.ts.map +1 -0
- package/dist/types/components/forms/CreateSessionTokenForm.d.ts +22 -0
- package/dist/types/components/forms/CreateSessionTokenForm.d.ts.map +1 -0
- package/dist/types/components/forms/InviteForm.d.ts +25 -0
- package/dist/types/components/forms/InviteForm.d.ts.map +1 -0
- package/dist/types/components/forms/LoginForm.d.ts +20 -0
- package/dist/types/components/forms/LoginForm.d.ts.map +1 -0
- package/dist/types/components/forms/OtpConfirmForm.d.ts +17 -0
- package/dist/types/components/forms/OtpConfirmForm.d.ts.map +1 -0
- package/dist/types/components/forms/OtpPrepareForm.d.ts +19 -0
- package/dist/types/components/forms/OtpPrepareForm.d.ts.map +1 -0
- package/dist/types/components/forms/PasswordResetForm.d.ts +20 -0
- package/dist/types/components/forms/PasswordResetForm.d.ts.map +1 -0
- package/dist/types/components/forms/PasswordResetRequestForm.d.ts +17 -0
- package/dist/types/components/forms/PasswordResetRequestForm.d.ts.map +1 -0
- package/dist/types/components/forms/PasswordlessSignInForm.d.ts +22 -0
- package/dist/types/components/forms/PasswordlessSignInForm.d.ts.map +1 -0
- package/dist/types/components/forms/PasswordlessSignInInitForm.d.ts +20 -0
- package/dist/types/components/forms/PasswordlessSignInInitForm.d.ts.map +1 -0
- package/dist/types/components/forms/TenantForm.d.ts +37 -0
- package/dist/types/components/forms/TenantForm.d.ts.map +1 -0
- package/dist/types/components/forms/UpdateProjectMemberForm.d.ts +19 -0
- package/dist/types/components/forms/UpdateProjectMemberForm.d.ts.map +1 -0
- package/dist/types/components/forms/index.d.ts +13 -0
- package/dist/types/components/forms/index.d.ts.map +1 -0
- package/dist/types/components/idp/IDP.d.ts +12 -0
- package/dist/types/components/idp/IDP.d.ts.map +1 -0
- package/dist/types/components/idp/IDPInitTrigger.d.ts +7 -0
- package/dist/types/components/idp/IDPInitTrigger.d.ts.map +1 -0
- package/dist/types/components/idp/IDPState.d.ts +8 -0
- package/dist/types/components/idp/IDPState.d.ts.map +1 -0
- package/dist/types/components/idp/index.d.ts +4 -0
- package/dist/types/components/idp/index.d.ts.map +1 -0
- package/dist/types/components/index.d.ts +6 -0
- package/dist/types/components/index.d.ts.map +1 -0
- package/dist/types/components/triggers/DisableOtpTrigger.d.ts +8 -0
- package/dist/types/components/triggers/DisableOtpTrigger.d.ts.map +1 -0
- package/dist/types/components/triggers/LogoutTrigger.d.ts +5 -0
- package/dist/types/components/triggers/LogoutTrigger.d.ts.map +1 -0
- package/dist/types/components/triggers/RemoveProjectMemberTrigger.d.ts +9 -0
- package/dist/types/components/triggers/RemoveProjectMemberTrigger.d.ts.map +1 -0
- package/dist/types/components/triggers/TenantActionTrigger.d.ts +22 -0
- package/dist/types/components/triggers/TenantActionTrigger.d.ts.map +1 -0
- package/dist/types/components/triggers/index.d.ts +4 -0
- package/dist/types/components/triggers/index.d.ts.map +1 -0
- package/dist/types/consts.d.ts +2 -0
- package/dist/types/consts.d.ts.map +1 -0
- package/dist/types/contexts.d.ts +20 -0
- package/dist/types/contexts.d.ts.map +1 -0
- package/dist/types/hooks/index.d.ts +9 -0
- package/dist/types/hooks/index.d.ts.map +1 -0
- package/dist/types/hooks/mutations/apiKey/index.d.ts +5 -0
- package/dist/types/hooks/mutations/apiKey/index.d.ts.map +1 -0
- package/dist/types/hooks/mutations/apiKey/useCreateApiKeyMutation.d.ts +83 -0
- package/dist/types/hooks/mutations/apiKey/useCreateApiKeyMutation.d.ts.map +1 -0
- package/dist/types/hooks/mutations/apiKey/useCreateGlobalApiKeyMutation.d.ts +73 -0
- package/dist/types/hooks/mutations/apiKey/useCreateGlobalApiKeyMutation.d.ts.map +1 -0
- package/dist/types/hooks/mutations/apiKey/useCreateSessionTokenMutation.d.ts +59 -0
- package/dist/types/hooks/mutations/apiKey/useCreateSessionTokenMutation.d.ts.map +1 -0
- package/dist/types/hooks/mutations/apiKey/useDisableApiKeyMutation.d.ts +21 -0
- package/dist/types/hooks/mutations/apiKey/useDisableApiKeyMutation.d.ts.map +1 -0
- package/dist/types/hooks/mutations/auth/index.d.ts +4 -0
- package/dist/types/hooks/mutations/auth/index.d.ts.map +1 -0
- package/dist/types/hooks/mutations/auth/useChangeMyPasswordMutation.d.ts +23 -0
- package/dist/types/hooks/mutations/auth/useChangeMyPasswordMutation.d.ts.map +1 -0
- package/dist/types/hooks/mutations/auth/useSignInMutation.d.ts +65 -0
- package/dist/types/hooks/mutations/auth/useSignInMutation.d.ts.map +1 -0
- package/dist/types/hooks/mutations/auth/useSignOutMutation.d.ts +21 -0
- package/dist/types/hooks/mutations/auth/useSignOutMutation.d.ts.map +1 -0
- package/dist/types/hooks/mutations/idp/index.d.ts +3 -0
- package/dist/types/hooks/mutations/idp/index.d.ts.map +1 -0
- package/dist/types/hooks/mutations/idp/useInitSignInIDPMutation.d.ts +19 -0
- package/dist/types/hooks/mutations/idp/useInitSignInIDPMutation.d.ts.map +1 -0
- package/dist/types/hooks/mutations/idp/useSignInIdpMutation.d.ts +76 -0
- package/dist/types/hooks/mutations/idp/useSignInIdpMutation.d.ts.map +1 -0
- package/dist/types/hooks/mutations/index.d.ts +10 -0
- package/dist/types/hooks/mutations/index.d.ts.map +1 -0
- package/dist/types/hooks/mutations/invite/index.d.ts +2 -0
- package/dist/types/hooks/mutations/invite/index.d.ts.map +1 -0
- package/dist/types/hooks/mutations/invite/useInviteMutation.d.ts +97 -0
- package/dist/types/hooks/mutations/invite/useInviteMutation.d.ts.map +1 -0
- package/dist/types/hooks/mutations/memberships/index.d.ts +4 -0
- package/dist/types/hooks/mutations/memberships/index.d.ts.map +1 -0
- package/dist/types/hooks/mutations/memberships/useAddProjectMemberMutation.d.ts +33 -0
- package/dist/types/hooks/mutations/memberships/useAddProjectMemberMutation.d.ts.map +1 -0
- package/dist/types/hooks/mutations/memberships/useRemoveProjectMemberMutation.d.ts +23 -0
- package/dist/types/hooks/mutations/memberships/useRemoveProjectMemberMutation.d.ts.map +1 -0
- package/dist/types/hooks/mutations/memberships/useUpdateProjectMemberMutation.d.ts +33 -0
- package/dist/types/hooks/mutations/memberships/useUpdateProjectMemberMutation.d.ts.map +1 -0
- package/dist/types/hooks/mutations/otp/index.d.ts +4 -0
- package/dist/types/hooks/mutations/otp/index.d.ts.map +1 -0
- package/dist/types/hooks/mutations/otp/useConfirmOtpMutation.d.ts +21 -0
- package/dist/types/hooks/mutations/otp/useConfirmOtpMutation.d.ts.map +1 -0
- package/dist/types/hooks/mutations/otp/useDisableOtpMutation.d.ts +17 -0
- package/dist/types/hooks/mutations/otp/useDisableOtpMutation.d.ts.map +1 -0
- package/dist/types/hooks/mutations/otp/usePrepareOtpMutation.d.ts +25 -0
- package/dist/types/hooks/mutations/otp/usePrepareOtpMutation.d.ts.map +1 -0
- package/dist/types/hooks/mutations/passwordReset/index.d.ts +3 -0
- package/dist/types/hooks/mutations/passwordReset/index.d.ts.map +1 -0
- package/dist/types/hooks/mutations/passwordReset/useCreateResetPasswordRequestMutation.d.ts +23 -0
- package/dist/types/hooks/mutations/passwordReset/useCreateResetPasswordRequestMutation.d.ts.map +1 -0
- package/dist/types/hooks/mutations/passwordReset/useResetPasswordMutation.d.ts +25 -0
- package/dist/types/hooks/mutations/passwordReset/useResetPasswordMutation.d.ts.map +1 -0
- package/dist/types/hooks/mutations/passwordless/index.d.ts +6 -0
- package/dist/types/hooks/mutations/passwordless/index.d.ts.map +1 -0
- package/dist/types/hooks/mutations/passwordless/useActivatePasswordlessOtpMutation.d.ts +8 -0
- package/dist/types/hooks/mutations/passwordless/useActivatePasswordlessOtpMutation.d.ts.map +1 -0
- package/dist/types/hooks/mutations/passwordless/useDisableMyPasswordlessMutation.d.ts +3 -0
- package/dist/types/hooks/mutations/passwordless/useDisableMyPasswordlessMutation.d.ts.map +1 -0
- package/dist/types/hooks/mutations/passwordless/useEnableMyPasswordlessMutation.d.ts +3 -0
- package/dist/types/hooks/mutations/passwordless/useEnableMyPasswordlessMutation.d.ts.map +1 -0
- package/dist/types/hooks/mutations/passwordless/useInitSignInPasswordlessMutation.d.ts +19 -0
- package/dist/types/hooks/mutations/passwordless/useInitSignInPasswordlessMutation.d.ts.map +1 -0
- package/dist/types/hooks/mutations/passwordless/useSignInPasswordlessMutation.d.ts +34 -0
- package/dist/types/hooks/mutations/passwordless/useSignInPasswordlessMutation.d.ts.map +1 -0
- package/dist/types/hooks/mutations/profile/index.d.ts +3 -0
- package/dist/types/hooks/mutations/profile/index.d.ts.map +1 -0
- package/dist/types/hooks/mutations/profile/useChangeMyProfile.d.ts +21 -0
- package/dist/types/hooks/mutations/profile/useChangeMyProfile.d.ts.map +1 -0
- package/dist/types/hooks/mutations/profile/useChangeProfile.d.ts +23 -0
- package/dist/types/hooks/mutations/profile/useChangeProfile.d.ts.map +1 -0
- package/dist/types/hooks/queries/index.d.ts +5 -0
- package/dist/types/hooks/queries/index.d.ts.map +1 -0
- package/dist/types/hooks/queries/useMeQuery.d.ts +52 -0
- package/dist/types/hooks/queries/useMeQuery.d.ts.map +1 -0
- package/dist/types/hooks/queries/useProjectMembersQuery.d.ts +43 -0
- package/dist/types/hooks/queries/useProjectMembersQuery.d.ts.map +1 -0
- package/dist/types/hooks/queries/useProjectMembershipsQuery.d.ts +20 -0
- package/dist/types/hooks/queries/useProjectMembershipsQuery.d.ts.map +1 -0
- package/dist/types/hooks/queries/useProjectRolesDefinitionQuery.d.ts +66 -0
- package/dist/types/hooks/queries/useProjectRolesDefinitionQuery.d.ts.map +1 -0
- package/dist/types/hooks/useFetchIdentity.d.ts +6 -0
- package/dist/types/hooks/useFetchIdentity.d.ts.map +1 -0
- package/dist/types/hooks/useLogout.d.ts +4 -0
- package/dist/types/hooks/useLogout.d.ts.map +1 -0
- package/dist/types/hooks/usePasswordlessOtpActivator.d.ts +19 -0
- package/dist/types/hooks/usePasswordlessOtpActivator.d.ts.map +1 -0
- package/dist/types/hooks/useTenantApi.d.ts +12 -0
- package/dist/types/hooks/useTenantApi.d.ts.map +1 -0
- package/dist/types/hooks/useTenantMutation.d.ts +25 -0
- package/dist/types/hooks/useTenantMutation.d.ts.map +1 -0
- package/dist/types/hooks/useTenantQueryLoader.d.ts +17 -0
- package/dist/types/hooks/useTenantQueryLoader.d.ts.map +1 -0
- package/dist/types/index.d.ts +6 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/internal/hooks/useHandleIDPResponse.d.ts +11 -0
- package/dist/types/internal/hooks/useHandleIDPResponse.d.ts.map +1 -0
- package/dist/types/internal/hooks/useIDPAutoInit.d.ts +2 -0
- package/dist/types/internal/hooks/useIDPAutoInit.d.ts.map +1 -0
- package/dist/types/internal/hooks/useIDPStateStore.d.ts +9 -0
- package/dist/types/internal/hooks/useIDPStateStore.d.ts.map +1 -0
- package/dist/types/internal/hooks/useInitIDPRedirect.d.ts +16 -0
- package/dist/types/internal/hooks/useInitIDPRedirect.d.ts.map +1 -0
- package/dist/types/internal/hooks/useLogoutInternal.d.ts +4 -0
- package/dist/types/internal/hooks/useLogoutInternal.d.ts.map +1 -0
- package/dist/types/internal/hooks/useRedirectToBacklink.d.ts +6 -0
- package/dist/types/internal/hooks/useRedirectToBacklink.d.ts.map +1 -0
- package/dist/types/internal/utils/getBaseHref.d.ts +2 -0
- package/dist/types/internal/utils/getBaseHref.d.ts.map +1 -0
- package/dist/types/internal/utils/hashing.d.ts +2 -0
- package/dist/types/internal/utils/hashing.d.ts.map +1 -0
- package/dist/types/internal/utils/randomInt.d.ts +3 -0
- package/dist/types/internal/utils/randomInt.d.ts.map +1 -0
- package/dist/types/tsconfig.tsbuildinfo +1 -0
- package/dist/types/types/Identity.d.ts +20 -0
- package/dist/types/types/Identity.d.ts.map +1 -0
- package/dist/types/types/IdentityMethods.d.ts +5 -0
- package/dist/types/types/IdentityMethods.d.ts.map +1 -0
- package/dist/types/types/IdentityStateValue.d.ts +2 -0
- package/dist/types/types/IdentityStateValue.d.ts.map +1 -0
- package/dist/types/types/forms.d.ts +18 -0
- package/dist/types/types/forms.d.ts.map +1 -0
- package/dist/types/types/idp.d.ts +30 -0
- package/dist/types/types/idp.d.ts.map +1 -0
- package/dist/types/types/index.d.ts +6 -0
- package/dist/types/types/index.d.ts.map +1 -0
- package/package.json +11 -11
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import * as TenantApi from '@contember/graphql-client-tenant';
|
|
2
|
+
export declare const addProjectMemberMutation: TenantApi.MutationFetcher<{
|
|
3
|
+
readonly mutation?: ({
|
|
4
|
+
readonly ok: boolean;
|
|
5
|
+
} & {
|
|
6
|
+
readonly error?: ({
|
|
7
|
+
readonly code: TenantApi.AddProjectMemberErrorCode;
|
|
8
|
+
} & {
|
|
9
|
+
readonly developerMessage: string;
|
|
10
|
+
} & {
|
|
11
|
+
readonly endUserMessage?: string;
|
|
12
|
+
} & {
|
|
13
|
+
readonly membershipValidation?: readonly ({
|
|
14
|
+
readonly code: TenantApi.MembershipValidationErrorCode;
|
|
15
|
+
} & {
|
|
16
|
+
readonly role: string;
|
|
17
|
+
} & {
|
|
18
|
+
readonly variable?: string;
|
|
19
|
+
})[] | undefined;
|
|
20
|
+
}) | undefined;
|
|
21
|
+
}) | undefined;
|
|
22
|
+
}, {
|
|
23
|
+
readonly projectSlug: string;
|
|
24
|
+
readonly identityId: string;
|
|
25
|
+
readonly memberships: ReadonlyArray<TenantApi.MembershipInput>;
|
|
26
|
+
}>;
|
|
27
|
+
export declare const useAddProjectMemberMutation: ({ headers, apiToken }?: import("../..").TenantApiOptions) => (variables: {
|
|
28
|
+
readonly projectSlug: string;
|
|
29
|
+
readonly identityId: string;
|
|
30
|
+
readonly memberships: ReadonlyArray<TenantApi.MembershipInput>;
|
|
31
|
+
}) => Promise<import("../..").TenantMutationResponse<unknown, TenantApi.AddProjectMemberErrorCode>>;
|
|
32
|
+
export type AddProjectMemberMutationVariables = Parameters<ReturnType<typeof useAddProjectMemberMutation>>[0];
|
|
33
|
+
//# sourceMappingURL=useAddProjectMemberMutation.d.ts.map
|
|
@@ -0,0 +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;;;;mGAAiD,CAAA;AACzF,MAAM,MAAM,iCAAiC,GAAG,UAAU,CAAC,UAAU,CAAC,OAAO,2BAA2B,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import * as TenantApi from '@contember/graphql-client-tenant';
|
|
2
|
+
export declare const removeProjectMemberMutation: TenantApi.MutationFetcher<{
|
|
3
|
+
readonly mutation?: ({
|
|
4
|
+
readonly ok: boolean;
|
|
5
|
+
} & {
|
|
6
|
+
readonly error?: ({
|
|
7
|
+
readonly code: TenantApi.RemoveProjectMemberErrorCode;
|
|
8
|
+
} & {
|
|
9
|
+
readonly developerMessage: string;
|
|
10
|
+
} & {
|
|
11
|
+
readonly endUserMessage?: string;
|
|
12
|
+
}) | undefined;
|
|
13
|
+
}) | undefined;
|
|
14
|
+
}, {
|
|
15
|
+
readonly projectSlug: string;
|
|
16
|
+
readonly identityId: string;
|
|
17
|
+
}>;
|
|
18
|
+
export declare const useRemoveProjectMemberMutation: ({ headers, apiToken }?: import("../..").TenantApiOptions) => (variables: {
|
|
19
|
+
readonly projectSlug: string;
|
|
20
|
+
readonly identityId: string;
|
|
21
|
+
}) => Promise<import("../..").TenantMutationResponse<unknown, TenantApi.RemoveProjectMemberErrorCode>>;
|
|
22
|
+
export type RemoveProjectMemberMutationVariables = Parameters<ReturnType<typeof useRemoveProjectMemberMutation>>[0];
|
|
23
|
+
//# sourceMappingURL=useRemoveProjectMemberMutation.d.ts.map
|
|
@@ -0,0 +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;;;sGAAoD,CAAA;AAC/F,MAAM,MAAM,oCAAoC,GAAG,UAAU,CAAC,UAAU,CAAC,OAAO,8BAA8B,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import * as TenantApi from '@contember/graphql-client-tenant';
|
|
2
|
+
export declare const updateProjectMemberMutation: TenantApi.MutationFetcher<{
|
|
3
|
+
readonly mutation?: ({
|
|
4
|
+
readonly ok: boolean;
|
|
5
|
+
} & {
|
|
6
|
+
readonly error?: ({
|
|
7
|
+
readonly code: TenantApi.UpdateProjectMemberErrorCode;
|
|
8
|
+
} & {
|
|
9
|
+
readonly developerMessage: string;
|
|
10
|
+
} & {
|
|
11
|
+
readonly endUserMessage?: string;
|
|
12
|
+
} & {
|
|
13
|
+
readonly membershipValidation?: readonly ({
|
|
14
|
+
readonly code: TenantApi.MembershipValidationErrorCode;
|
|
15
|
+
} & {
|
|
16
|
+
readonly role: string;
|
|
17
|
+
} & {
|
|
18
|
+
readonly variable?: string;
|
|
19
|
+
})[] | undefined;
|
|
20
|
+
}) | undefined;
|
|
21
|
+
}) | undefined;
|
|
22
|
+
}, {
|
|
23
|
+
readonly projectSlug: string;
|
|
24
|
+
readonly identityId: string;
|
|
25
|
+
readonly memberships: ReadonlyArray<TenantApi.MembershipInput>;
|
|
26
|
+
}>;
|
|
27
|
+
export declare const useUpdateProjectMemberMutation: ({ headers, apiToken }?: import("../..").TenantApiOptions) => (variables: {
|
|
28
|
+
readonly projectSlug: string;
|
|
29
|
+
readonly identityId: string;
|
|
30
|
+
readonly memberships: ReadonlyArray<TenantApi.MembershipInput>;
|
|
31
|
+
}) => Promise<import("../..").TenantMutationResponse<unknown, TenantApi.UpdateProjectMemberErrorCode>>;
|
|
32
|
+
export type UpdateProjectMemberMutationVariables = Parameters<ReturnType<typeof useUpdateProjectMemberMutation>>[0];
|
|
33
|
+
//# sourceMappingURL=useUpdateProjectMemberMutation.d.ts.map
|
|
@@ -0,0 +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;;;;sGAAoD,CAAA;AAC/F,MAAM,MAAM,oCAAoC,GAAG,UAAU,CAAC,UAAU,CAAC,OAAO,8BAA8B,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/mutations/otp/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAA;AACvC,cAAc,yBAAyB,CAAA;AACvC,cAAc,yBAAyB,CAAA"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import * as TenantApi from '@contember/graphql-client-tenant';
|
|
2
|
+
export declare const confirmOtpMutation: TenantApi.MutationFetcher<{
|
|
3
|
+
readonly mutation?: ({
|
|
4
|
+
readonly ok: boolean;
|
|
5
|
+
} & {
|
|
6
|
+
readonly error?: ({
|
|
7
|
+
readonly code: TenantApi.ConfirmOtpErrorCode;
|
|
8
|
+
} & {
|
|
9
|
+
readonly developerMessage: string;
|
|
10
|
+
} & {
|
|
11
|
+
readonly endUserMessage?: string;
|
|
12
|
+
}) | undefined;
|
|
13
|
+
}) | undefined;
|
|
14
|
+
}, {
|
|
15
|
+
readonly otpToken: string;
|
|
16
|
+
}>;
|
|
17
|
+
export declare const useConfirmOtpMutation: ({ headers, apiToken }?: import("../..").TenantApiOptions) => (variables: {
|
|
18
|
+
readonly otpToken: string;
|
|
19
|
+
}) => Promise<import("../..").TenantMutationResponse<unknown, TenantApi.ConfirmOtpErrorCode>>;
|
|
20
|
+
export type ConfirmOtpMutationVariables = Parameters<ReturnType<typeof useConfirmOtpMutation>>[0];
|
|
21
|
+
//# sourceMappingURL=useConfirmOtpMutation.d.ts.map
|
|
@@ -0,0 +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;;6FAA2C,CAAA;AAC7E,MAAM,MAAM,2BAA2B,GAAG,UAAU,CAAC,UAAU,CAAC,OAAO,qBAAqB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import * as TenantApi from '@contember/graphql-client-tenant';
|
|
2
|
+
export declare const disableOtpMutation: TenantApi.MutationFetcher<{
|
|
3
|
+
readonly mutation?: ({
|
|
4
|
+
readonly ok: boolean;
|
|
5
|
+
} & {
|
|
6
|
+
readonly error?: ({
|
|
7
|
+
readonly code: TenantApi.DisableOtpErrorCode;
|
|
8
|
+
} & {
|
|
9
|
+
readonly developerMessage: string;
|
|
10
|
+
} & {
|
|
11
|
+
readonly endUserMessage?: string;
|
|
12
|
+
}) | undefined;
|
|
13
|
+
}) | undefined;
|
|
14
|
+
}, {}>;
|
|
15
|
+
export declare const useDisableOtpMutation: ({ headers, apiToken }?: import("../..").TenantApiOptions) => (variables: {}) => Promise<import("../..").TenantMutationResponse<unknown, "OTP_NOT_ACTIVE">>;
|
|
16
|
+
export type DisableOtpMutationVariables = Parameters<ReturnType<typeof useDisableOtpMutation>>[0];
|
|
17
|
+
//# sourceMappingURL=useDisableOtpMutation.d.ts.map
|
|
@@ -0,0 +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,6JAA2C,CAAA;AAC7E,MAAM,MAAM,2BAA2B,GAAG,UAAU,CAAC,UAAU,CAAC,OAAO,qBAAqB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import * as TenantApi from '@contember/graphql-client-tenant';
|
|
2
|
+
import { ModelType } from 'graphql-ts-client-api';
|
|
3
|
+
export type PrepareOtpMutationResult = ModelType<typeof TenantApi.prepareOtpResult$$>;
|
|
4
|
+
export declare const prepareOtpMutation: TenantApi.MutationFetcher<{
|
|
5
|
+
readonly mutation?: ({
|
|
6
|
+
readonly ok: boolean;
|
|
7
|
+
} & {
|
|
8
|
+
readonly result?: ({
|
|
9
|
+
readonly otpUri: string;
|
|
10
|
+
} & {
|
|
11
|
+
readonly otpSecret: string;
|
|
12
|
+
}) | undefined;
|
|
13
|
+
}) | undefined;
|
|
14
|
+
}, {
|
|
15
|
+
readonly label?: string;
|
|
16
|
+
}>;
|
|
17
|
+
export declare const usePrepareOtpMutation: ({ headers, apiToken }?: import("../..").TenantApiOptions) => (variables: {
|
|
18
|
+
readonly label?: string;
|
|
19
|
+
}) => Promise<import("../..").TenantMutationResponse<{
|
|
20
|
+
readonly otpUri: string;
|
|
21
|
+
} & {
|
|
22
|
+
readonly otpSecret: string;
|
|
23
|
+
}, never>>;
|
|
24
|
+
export type PrepareOtpMutationVariables = Parameters<ReturnType<typeof usePrepareOtpMutation>>[0];
|
|
25
|
+
//# sourceMappingURL=usePrepareOtpMutation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"usePrepareOtpMutation.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/mutations/otp/usePrepareOtpMutation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,SAAS,MAAM,kCAAkC,CAAA;AAC7D,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AAKjD,MAAM,MAAM,wBAAwB,GAAG,SAAS,CAAC,OAAO,SAAS,CAAC,kBAAkB,CAAC,CAAA;AAErF,eAAO,MAAM,kBAAkB;;;;;;;;;;;;EAG9B,CAAA;AAED,eAAO,MAAM,qBAAqB;;;;;;UAA2C,CAAA;AAC7E,MAAM,MAAM,2BAA2B,GAAG,UAAU,CAAC,UAAU,CAAC,OAAO,qBAAqB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/mutations/passwordReset/index.ts"],"names":[],"mappings":"AAAA,cAAc,yCAAyC,CAAA;AACvD,cAAc,4BAA4B,CAAA"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import * as TenantApi from '@contember/graphql-client-tenant';
|
|
2
|
+
export declare const createResetPasswordRequestMutation: TenantApi.MutationFetcher<{
|
|
3
|
+
readonly mutation?: ({
|
|
4
|
+
readonly ok: boolean;
|
|
5
|
+
} & {
|
|
6
|
+
readonly error?: ({
|
|
7
|
+
readonly code: TenantApi.CreatePasswordResetRequestErrorCode;
|
|
8
|
+
} & {
|
|
9
|
+
readonly developerMessage: string;
|
|
10
|
+
} & {
|
|
11
|
+
readonly endUserMessage?: string;
|
|
12
|
+
}) | undefined;
|
|
13
|
+
}) | undefined;
|
|
14
|
+
}, {
|
|
15
|
+
readonly email: string;
|
|
16
|
+
readonly options?: TenantApi.CreateResetPasswordRequestOptions;
|
|
17
|
+
}>;
|
|
18
|
+
export declare const useCreateResetPasswordRequestMutation: ({ headers, apiToken }?: import("../..").TenantApiOptions) => (variables: {
|
|
19
|
+
readonly email: string;
|
|
20
|
+
readonly options?: TenantApi.CreateResetPasswordRequestOptions;
|
|
21
|
+
}) => Promise<import("../..").TenantMutationResponse<unknown, "PERSON_NOT_FOUND">>;
|
|
22
|
+
export type CreateResetPasswordRequestMutationVariables = Parameters<ReturnType<typeof useCreateResetPasswordRequestMutation>>[0];
|
|
23
|
+
//# sourceMappingURL=useCreateResetPasswordRequestMutation.d.ts.map
|
package/dist/types/hooks/mutations/passwordReset/useCreateResetPasswordRequestMutation.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useCreateResetPasswordRequestMutation.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/mutations/passwordReset/useCreateResetPasswordRequestMutation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,SAAS,MAAM,kCAAkC,CAAA;AAI7D,eAAO,MAAM,kCAAkC;;;;;;;;;;;;;;;EAO7C,CAAA;AAEF,eAAO,MAAM,qCAAqC;;;kFAEhD,CAAA;AACF,MAAM,MAAM,2CAA2C,GAAG,UAAU,CAAC,UAAU,CAAC,OAAO,qCAAqC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import * as TenantApi from '@contember/graphql-client-tenant';
|
|
2
|
+
export declare const resetPasswordMutation: TenantApi.MutationFetcher<{
|
|
3
|
+
readonly mutation?: ({
|
|
4
|
+
readonly ok: boolean;
|
|
5
|
+
} & {
|
|
6
|
+
readonly error?: ({
|
|
7
|
+
readonly code: TenantApi.ResetPasswordErrorCode;
|
|
8
|
+
} & {
|
|
9
|
+
readonly weakPasswordReasons?: ReadonlyArray<TenantApi.WeakPasswordReason>;
|
|
10
|
+
} & {
|
|
11
|
+
readonly developerMessage: string;
|
|
12
|
+
} & {
|
|
13
|
+
readonly endUserMessage?: string;
|
|
14
|
+
}) | undefined;
|
|
15
|
+
}) | undefined;
|
|
16
|
+
}, {
|
|
17
|
+
readonly token: string;
|
|
18
|
+
readonly password: string;
|
|
19
|
+
}>;
|
|
20
|
+
export declare const useResetPasswordMutation: ({ headers, apiToken }?: import("../..").TenantApiOptions) => (variables: {
|
|
21
|
+
readonly token: string;
|
|
22
|
+
readonly password: string;
|
|
23
|
+
}) => Promise<import("../..").TenantMutationResponse<unknown, TenantApi.ResetPasswordErrorCode>>;
|
|
24
|
+
export type ResetPasswordMutationVariables = Parameters<ReturnType<typeof useResetPasswordMutation>>[0];
|
|
25
|
+
//# sourceMappingURL=useResetPasswordMutation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useResetPasswordMutation.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/mutations/passwordReset/useResetPasswordMutation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,SAAS,MAAM,kCAAkC,CAAA;AAI7D,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;EAOhC,CAAA;AAEF,eAAO,MAAM,wBAAwB;;;gGAEnC,CAAA;AACF,MAAM,MAAM,8BAA8B,GAAG,UAAU,CAAC,UAAU,CAAC,OAAO,wBAAwB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export * from './useActivatePasswordlessOtpMutation';
|
|
2
|
+
export * from './useDisableMyPasswordlessMutation';
|
|
3
|
+
export * from './useEnableMyPasswordlessMutation';
|
|
4
|
+
export * from './useSignInPasswordlessMutation';
|
|
5
|
+
export * from './useInitSignInPasswordlessMutation';
|
|
6
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/mutations/passwordless/index.ts"],"names":[],"mappings":"AAAA,cAAc,sCAAsC,CAAA;AACpD,cAAc,oCAAoC,CAAA;AAClD,cAAc,mCAAmC,CAAA;AACjD,cAAc,iCAAiC,CAAA;AAC/C,cAAc,qCAAqC,CAAA"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as TenantApi from '@contember/graphql-client-tenant';
|
|
2
|
+
export declare const useActivatePasswordlessOtpMutation: ({ headers, apiToken }?: import("../..").TenantApiOptions) => (variables: {
|
|
3
|
+
readonly requestId: string;
|
|
4
|
+
readonly token: string;
|
|
5
|
+
readonly otpHash: string;
|
|
6
|
+
}) => Promise<import("../..").TenantMutationResponse<unknown, TenantApi.ActivatePasswordlessOtpErrorCode>>;
|
|
7
|
+
export type ActivatePasswordlessOtpMutationVariables = Parameters<ReturnType<typeof useActivatePasswordlessOtpMutation>>[0];
|
|
8
|
+
//# sourceMappingURL=useActivatePasswordlessOtpMutation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useActivatePasswordlessOtpMutation.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/mutations/passwordless/useActivatePasswordlessOtpMutation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,SAAS,MAAM,kCAAkC,CAAA;AAa7D,eAAO,MAAM,kCAAkC;;;;0GAE7C,CAAA;AAEF,MAAM,MAAM,wCAAwC,GAAG,UAAU,CAAC,UAAU,CAAC,OAAO,kCAAkC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import * as TenantApi from '@contember/graphql-client-tenant';
|
|
2
|
+
export declare const useDisableMyPasswordlessMutation: ({ headers, apiToken }?: import("../..").TenantApiOptions) => (variables: {}) => Promise<import("../..").TenantMutationResponse<unknown, TenantApi.ToggleMyPasswordlessErrorCode>>;
|
|
3
|
+
//# sourceMappingURL=useDisableMyPasswordlessMutation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useDisableMyPasswordlessMutation.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/mutations/passwordless/useDisableMyPasswordlessMutation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,SAAS,MAAM,kCAAkC,CAAA;AAY7D,eAAO,MAAM,gCAAgC,oLAAsD,CAAA"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import * as TenantApi from '@contember/graphql-client-tenant';
|
|
2
|
+
export declare const useEnableMyPasswordlessMutation: ({ headers, apiToken }?: import("../..").TenantApiOptions) => (variables: {}) => Promise<import("../..").TenantMutationResponse<unknown, TenantApi.ToggleMyPasswordlessErrorCode>>;
|
|
3
|
+
//# sourceMappingURL=useEnableMyPasswordlessMutation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useEnableMyPasswordlessMutation.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/mutations/passwordless/useEnableMyPasswordlessMutation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,SAAS,MAAM,kCAAkC,CAAA;AAY7D,eAAO,MAAM,+BAA+B,oLAAqD,CAAA"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as TenantApi from '@contember/graphql-client-tenant';
|
|
2
|
+
import { ModelType } from 'graphql-ts-client-api';
|
|
3
|
+
declare const InitSignInPasswordlessMutationResult: TenantApi.InitSignInPasswordlessResultFetcher<{
|
|
4
|
+
readonly requestId: string;
|
|
5
|
+
} & {
|
|
6
|
+
readonly expiresAt: string;
|
|
7
|
+
}, {}>;
|
|
8
|
+
export type InitSignInPasswordlessMutationResult = ModelType<typeof InitSignInPasswordlessMutationResult>;
|
|
9
|
+
export declare const useInitSignInPasswordlessMutation: ({ headers, apiToken }?: import("../..").TenantApiOptions) => (variables: {
|
|
10
|
+
readonly email: string;
|
|
11
|
+
readonly options?: TenantApi.InitSignInPasswordlessOptions;
|
|
12
|
+
}) => Promise<import("../..").TenantMutationResponse<{
|
|
13
|
+
readonly requestId: string;
|
|
14
|
+
} & {
|
|
15
|
+
readonly expiresAt: string;
|
|
16
|
+
}, TenantApi.InitSignInPasswordlessErrorCode>>;
|
|
17
|
+
export type InitSignInPasswordlessMutationVariables = Parameters<ReturnType<typeof useInitSignInPasswordlessMutation>>[0];
|
|
18
|
+
export {};
|
|
19
|
+
//# sourceMappingURL=useInitSignInPasswordlessMutation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useInitSignInPasswordlessMutation.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/mutations/passwordless/useInitSignInPasswordlessMutation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,SAAS,MAAM,kCAAkC,CAAA;AAG7D,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AAEjD,QAAA,MAAM,oCAAoC;;;;MAA2C,CAAA;AACrF,MAAM,MAAM,oCAAoC,GAAG,SAAS,CAAC,OAAO,oCAAoC,CAAC,CAAA;AAWzG,eAAO,MAAM,iCAAiC;;;;;;;8CAE5C,CAAA;AAEF,MAAM,MAAM,uCAAuC,GAAG,UAAU,CAAC,UAAU,CAAC,OAAO,iCAAiC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import * as TenantApi from '@contember/graphql-client-tenant';
|
|
2
|
+
import { ModelType } from 'graphql-ts-client-api';
|
|
3
|
+
declare const signInResultFragment: TenantApi.SignInPasswordlessResultFetcher<{
|
|
4
|
+
readonly token: string;
|
|
5
|
+
} & {
|
|
6
|
+
readonly person: {
|
|
7
|
+
readonly id: string;
|
|
8
|
+
} & {
|
|
9
|
+
readonly email?: string;
|
|
10
|
+
} & {
|
|
11
|
+
readonly name?: string;
|
|
12
|
+
};
|
|
13
|
+
}, {}>;
|
|
14
|
+
export type SignInPasswordlessMutationResult = ModelType<typeof signInResultFragment>;
|
|
15
|
+
export declare const useSignInPasswordlessMutation: ({ headers, apiToken }?: import("../..").TenantApiOptions) => (variables: {
|
|
16
|
+
readonly requestId: string;
|
|
17
|
+
readonly validationType: TenantApi.PasswordlessValidationType;
|
|
18
|
+
readonly token: string;
|
|
19
|
+
readonly expiration?: number;
|
|
20
|
+
readonly mfaOtp?: string;
|
|
21
|
+
}) => Promise<import("../..").TenantMutationResponse<{
|
|
22
|
+
readonly token: string;
|
|
23
|
+
} & {
|
|
24
|
+
readonly person: {
|
|
25
|
+
readonly id: string;
|
|
26
|
+
} & {
|
|
27
|
+
readonly email?: string;
|
|
28
|
+
} & {
|
|
29
|
+
readonly name?: string;
|
|
30
|
+
};
|
|
31
|
+
}, TenantApi.SignInPasswordlessErrorCode>>;
|
|
32
|
+
export type SignInPasswordlessMutationVariables = Parameters<ReturnType<typeof useSignInPasswordlessMutation>>[0];
|
|
33
|
+
export {};
|
|
34
|
+
//# sourceMappingURL=useSignInPasswordlessMutation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useSignInPasswordlessMutation.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/mutations/passwordless/useSignInPasswordlessMutation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,SAAS,MAAM,kCAAkC,CAAA;AAG7D,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AAEjD,QAAA,MAAM,oBAAoB;;;;;;;;;;MAA+E,CAAA;AAEzG,MAAM,MAAM,gCAAgC,GAAG,SAAS,CAAC,OAAO,oBAAoB,CAAC,CAAA;AAYrF,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;0CAExC,CAAA;AAEF,MAAM,MAAM,mCAAmC,GAAG,UAAU,CAAC,UAAU,CAAC,OAAO,6BAA6B,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/mutations/profile/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAA;AAClC,cAAc,sBAAsB,CAAA"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import * as TenantApi from '@contember/graphql-client-tenant';
|
|
2
|
+
export declare const changeMyProfile: TenantApi.MutationFetcher<{
|
|
3
|
+
readonly mutation?: ({
|
|
4
|
+
readonly ok: boolean;
|
|
5
|
+
} & {
|
|
6
|
+
readonly error?: ({
|
|
7
|
+
readonly code: TenantApi.ChangeMyProfileErrorCode;
|
|
8
|
+
} & {
|
|
9
|
+
readonly developerMessage: string;
|
|
10
|
+
}) | undefined;
|
|
11
|
+
}) | undefined;
|
|
12
|
+
}, {
|
|
13
|
+
readonly email?: string;
|
|
14
|
+
readonly name?: string;
|
|
15
|
+
}>;
|
|
16
|
+
export declare const useChangeMyProfileMutation: ({ headers, apiToken }?: import("../..").TenantApiOptions) => (variables: {
|
|
17
|
+
readonly email?: string;
|
|
18
|
+
readonly name?: string;
|
|
19
|
+
}) => Promise<import("../..").TenantMutationResponse<unknown, TenantApi.ChangeMyProfileErrorCode>>;
|
|
20
|
+
export type ChangeMyProfileMutationVariables = Parameters<ReturnType<typeof useChangeMyProfileMutation>>[0];
|
|
21
|
+
//# sourceMappingURL=useChangeMyProfile.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useChangeMyProfile.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/mutations/profile/useChangeMyProfile.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,SAAS,MAAM,kCAAkC,CAAA;AAG7D,eAAO,MAAM,eAAe;;;;;;;;;;;;;EAM1B,CAAA;AAEF,eAAO,MAAM,0BAA0B;;;kGAAwC,CAAA;AAC/E,MAAM,MAAM,gCAAgC,GAAG,UAAU,CAAC,UAAU,CAAC,OAAO,0BAA0B,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import * as TenantApi from '@contember/graphql-client-tenant';
|
|
2
|
+
export declare const changeProfile: TenantApi.MutationFetcher<{
|
|
3
|
+
readonly mutation?: ({
|
|
4
|
+
readonly ok: boolean;
|
|
5
|
+
} & {
|
|
6
|
+
readonly error?: ({
|
|
7
|
+
readonly code: TenantApi.ChangeProfileErrorCode;
|
|
8
|
+
} & {
|
|
9
|
+
readonly developerMessage: string;
|
|
10
|
+
}) | undefined;
|
|
11
|
+
}) | undefined;
|
|
12
|
+
}, {
|
|
13
|
+
readonly personId: string;
|
|
14
|
+
readonly email?: string;
|
|
15
|
+
readonly name?: string;
|
|
16
|
+
}>;
|
|
17
|
+
export declare const useChangeProfileMutation: ({ headers, apiToken }?: import("../..").TenantApiOptions) => (variables: {
|
|
18
|
+
readonly personId: string;
|
|
19
|
+
readonly email?: string;
|
|
20
|
+
readonly name?: string;
|
|
21
|
+
}) => Promise<import("../..").TenantMutationResponse<unknown, TenantApi.ChangeProfileErrorCode>>;
|
|
22
|
+
export type ChangeProfileMutationVariables = Parameters<ReturnType<typeof useChangeProfileMutation>>[0];
|
|
23
|
+
//# sourceMappingURL=useChangeProfile.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useChangeProfile.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/mutations/profile/useChangeProfile.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,SAAS,MAAM,kCAAkC,CAAA;AAG7D,eAAO,MAAM,aAAa;;;;;;;;;;;;;;EAMxB,CAAA;AAEF,eAAO,MAAM,wBAAwB;;;;gGAAsC,CAAA;AAC3E,MAAM,MAAM,8BAA8B,GAAG,UAAU,CAAC,UAAU,CAAC,OAAO,wBAAwB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/hooks/queries/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA;AAC5B,cAAc,0BAA0B,CAAA;AACxC,cAAc,8BAA8B,CAAA;AAC5C,cAAc,kCAAkC,CAAA"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import * as TenantApi from '@contember/graphql-client-tenant';
|
|
2
|
+
import { ModelType } from 'graphql-ts-client-api';
|
|
3
|
+
import { TenantApiOptions } from '../useTenantApi';
|
|
4
|
+
declare const identityFragment: TenantApi.IdentityFetcher<{
|
|
5
|
+
readonly id: string;
|
|
6
|
+
} & {
|
|
7
|
+
readonly description?: string;
|
|
8
|
+
} & {
|
|
9
|
+
readonly roles?: ReadonlyArray<string>;
|
|
10
|
+
} & {
|
|
11
|
+
readonly person?: ({
|
|
12
|
+
readonly id: string;
|
|
13
|
+
} & {
|
|
14
|
+
readonly email?: string;
|
|
15
|
+
} & {
|
|
16
|
+
readonly name?: string;
|
|
17
|
+
} & {
|
|
18
|
+
readonly otpEnabled: boolean;
|
|
19
|
+
}) | undefined;
|
|
20
|
+
} & {
|
|
21
|
+
readonly projects: readonly ({
|
|
22
|
+
readonly project: {
|
|
23
|
+
readonly id: string;
|
|
24
|
+
} & {
|
|
25
|
+
readonly name: string;
|
|
26
|
+
} & {
|
|
27
|
+
readonly slug: string;
|
|
28
|
+
} & {
|
|
29
|
+
readonly config: unknown;
|
|
30
|
+
};
|
|
31
|
+
} & {
|
|
32
|
+
readonly memberships: readonly ({
|
|
33
|
+
readonly role: string;
|
|
34
|
+
} & {
|
|
35
|
+
readonly variables: readonly ({
|
|
36
|
+
readonly name: string;
|
|
37
|
+
} & {
|
|
38
|
+
readonly values: ReadonlyArray<string>;
|
|
39
|
+
})[];
|
|
40
|
+
})[];
|
|
41
|
+
})[];
|
|
42
|
+
} & {
|
|
43
|
+
readonly permissions?: ({
|
|
44
|
+
readonly canCreateProject: boolean;
|
|
45
|
+
} & {
|
|
46
|
+
readonly canDeployEntrypoint: boolean;
|
|
47
|
+
}) | undefined;
|
|
48
|
+
}, {}>;
|
|
49
|
+
export type MeQueryData = ModelType<typeof identityFragment>;
|
|
50
|
+
export declare const useMeQuery: (options?: TenantApiOptions) => ({}: {}) => Promise<MeQueryData>;
|
|
51
|
+
export {};
|
|
52
|
+
//# sourceMappingURL=useMeQuery.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useMeQuery.d.ts","sourceRoot":"","sources":["../../../../src/hooks/queries/useMeQuery.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,SAAS,MAAM,kCAAkC,CAAA;AAC7D,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AACjD,OAAO,EAAE,gBAAgB,EAAgB,MAAM,iBAAiB,CAAA;AAGhE,QAAA,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAS8B,CAAA;AAEpD,MAAM,MAAM,WAAW,GAAG,SAAS,CAAC,OAAO,gBAAgB,CAAC,CAAA;AAE5D,eAAO,MAAM,UAAU,GAAI,UAAS,gBAAqB,UAE1B,EAAE,KAAG,OAAO,CAAC,WAAW,CAGtD,CAAA"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import * as TenantApi from '@contember/graphql-client-tenant';
|
|
2
|
+
import { ModelType } from 'graphql-ts-client-api';
|
|
3
|
+
import { TenantApiOptions } from '../useTenantApi';
|
|
4
|
+
declare const projectIdentityRelationFragment: TenantApi.ProjectIdentityRelationFetcher<{
|
|
5
|
+
readonly identity: {
|
|
6
|
+
readonly id: string;
|
|
7
|
+
} & {
|
|
8
|
+
readonly description?: string;
|
|
9
|
+
} & {
|
|
10
|
+
readonly roles?: ReadonlyArray<string>;
|
|
11
|
+
} & {
|
|
12
|
+
readonly person?: ({
|
|
13
|
+
readonly id: string;
|
|
14
|
+
} & {
|
|
15
|
+
readonly email?: string;
|
|
16
|
+
} & {
|
|
17
|
+
readonly name?: string;
|
|
18
|
+
} & {
|
|
19
|
+
readonly otpEnabled: boolean;
|
|
20
|
+
}) | undefined;
|
|
21
|
+
} & {
|
|
22
|
+
readonly apiKey?: {
|
|
23
|
+
readonly id: string;
|
|
24
|
+
} | undefined;
|
|
25
|
+
};
|
|
26
|
+
} & {
|
|
27
|
+
readonly memberships: readonly ({
|
|
28
|
+
readonly role: string;
|
|
29
|
+
} & {
|
|
30
|
+
readonly variables: readonly ({
|
|
31
|
+
readonly name: string;
|
|
32
|
+
} & {
|
|
33
|
+
readonly values: ReadonlyArray<string>;
|
|
34
|
+
})[];
|
|
35
|
+
})[];
|
|
36
|
+
}, {}>;
|
|
37
|
+
export type ProjectMembersQueryResult = readonly ModelType<typeof projectIdentityRelationFragment>[];
|
|
38
|
+
export type ProjectMembersQueryVariables = {
|
|
39
|
+
projectSlug: string;
|
|
40
|
+
} & TenantApi.ProjectMembersInput;
|
|
41
|
+
export declare const useProjectMembersQuery: ({ headers, apiToken }?: TenantApiOptions) => ({ projectSlug, ...membersInput }: ProjectMembersQueryVariables) => Promise<ProjectMembersQueryResult>;
|
|
42
|
+
export {};
|
|
43
|
+
//# sourceMappingURL=useProjectMembersQuery.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useProjectMembersQuery.d.ts","sourceRoot":"","sources":["../../../../src/hooks/queries/useProjectMembersQuery.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,SAAS,MAAM,kCAAkC,CAAA;AAC7D,OAAO,EAAE,SAAS,EAAgB,MAAM,uBAAuB,CAAA;AAC/D,OAAO,EAAE,gBAAgB,EAAgB,MAAM,iBAAiB,CAAA;AAGhE,QAAA,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAOqC,CAAA;AAE1E,MAAM,MAAM,yBAAyB,GAAG,SAAS,SAAS,CAAC,OAAO,+BAA+B,CAAC,EAAE,CAAA;AAEpG,MAAM,MAAM,4BAA4B,GACrC;IACD,WAAW,EAAE,MAAM,CAAA;CACnB,GACC,SAAS,CAAC,mBAAmB,CAAA;AAEhC,eAAO,MAAM,sBAAsB,GAAI,wBAAuB,gBAAqB,wCAKtB,4BAA4B,KAAG,OAAO,CAAC,yBAAyB,CAoB5H,CAAA"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import * as TenantApi from '@contember/graphql-client-tenant';
|
|
2
|
+
import { ModelType } from 'graphql-ts-client-api';
|
|
3
|
+
import { TenantApiOptions } from '../useTenantApi';
|
|
4
|
+
declare const projectMembershipsFragment: TenantApi.MembershipFetcher<{
|
|
5
|
+
readonly role: string;
|
|
6
|
+
} & {
|
|
7
|
+
readonly variables: readonly ({
|
|
8
|
+
readonly name: string;
|
|
9
|
+
} & {
|
|
10
|
+
readonly values: ReadonlyArray<string>;
|
|
11
|
+
})[];
|
|
12
|
+
}, {}>;
|
|
13
|
+
export type ProjectMembershipsQueryResult = readonly ModelType<typeof projectMembershipsFragment>[];
|
|
14
|
+
export type ProjectMembershipsQueryVariables = {
|
|
15
|
+
projectSlug: string;
|
|
16
|
+
identityId: string;
|
|
17
|
+
};
|
|
18
|
+
export declare const useProjectMembershipsQuery: (options?: TenantApiOptions) => (input: ProjectMembershipsQueryVariables) => Promise<ProjectMembershipsQueryResult>;
|
|
19
|
+
export {};
|
|
20
|
+
//# sourceMappingURL=useProjectMembershipsQuery.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useProjectMembershipsQuery.d.ts","sourceRoot":"","sources":["../../../../src/hooks/queries/useProjectMembershipsQuery.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,SAAS,MAAM,kCAAkC,CAAA;AAC7D,OAAO,EAAE,SAAS,EAAgB,MAAM,uBAAuB,CAAA;AAC/D,OAAO,EAAE,gBAAgB,EAAgB,MAAM,iBAAiB,CAAA;AAGhE,QAAA,MAAM,0BAA0B;;;;;;;;MAA8D,CAAA;AAE9F,MAAM,MAAM,6BAA6B,GAAG,SAAS,SAAS,CAAC,OAAO,0BAA0B,CAAC,EAAE,CAAA;AAEnG,MAAM,MAAM,gCAAgC,GAAG;IAC9C,WAAW,EAAE,MAAM,CAAA;IACnB,UAAU,EAAE,MAAM,CAAA;CAClB,CAAA;AAED,eAAO,MAAM,0BAA0B,GAAI,UAAS,gBAAqB,aAEvC,gCAAgC,KAAG,OAAO,CAAC,6BAA6B,CAOzG,CAAA"}
|