@intlayer/design-system 7.0.8 → 7.0.9-canary.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/README.md +4 -4
- package/dist/esm/components/Accordion/Accordion.mjs +1 -1
- package/dist/esm/components/Accordion/Accordion.mjs.map +1 -1
- package/dist/esm/components/Avatar/index.mjs +2 -2
- package/dist/esm/components/Avatar/index.mjs.map +1 -1
- package/dist/esm/components/Badge/index.mjs +1 -1
- package/dist/esm/components/Badge/index.mjs.map +1 -1
- package/dist/esm/components/Breadcrumb/index.mjs +4 -4
- package/dist/esm/components/Breadcrumb/index.mjs.map +1 -1
- package/dist/esm/components/Button/Button.mjs +99 -88
- package/dist/esm/components/Button/Button.mjs.map +1 -1
- package/dist/esm/components/Button/index.mjs +2 -2
- package/dist/esm/components/ClickOutsideDiv/index.mjs +1 -1
- package/dist/esm/components/ClickOutsideDiv/index.mjs.map +1 -1
- package/dist/esm/components/CollapsibleTable/CollapsibleTable.mjs +1 -1
- package/dist/esm/components/CollapsibleTable/CollapsibleTable.mjs.map +1 -1
- package/dist/esm/components/Command/index.mjs +8 -8
- package/dist/esm/components/Command/index.mjs.map +1 -1
- package/dist/esm/components/Container/index.mjs +14 -13
- package/dist/esm/components/Container/index.mjs.map +1 -1
- package/dist/esm/components/ContentEditor/ContentEditor.mjs +1 -1
- package/dist/esm/components/ContentEditor/ContentEditor.mjs.map +1 -1
- package/dist/esm/components/ContentEditor/ContentEditorInput.mjs +1 -1
- package/dist/esm/components/ContentEditor/ContentEditorInput.mjs.map +1 -1
- package/dist/esm/components/ContentEditor/ContentEditorTextArea.mjs +1 -1
- package/dist/esm/components/ContentEditor/ContentEditorTextArea.mjs.map +1 -1
- package/dist/esm/components/CopyButton/index.mjs +1 -1
- package/dist/esm/components/CopyButton/index.mjs.map +1 -1
- package/dist/esm/components/CopyToClipboard/index.mjs +29 -27
- package/dist/esm/components/CopyToClipboard/index.mjs.map +1 -1
- package/dist/esm/components/DictionaryEditor/DictionaryEditor.mjs +1 -1
- package/dist/esm/components/DictionaryEditor/DictionaryEditor.mjs.map +1 -1
- package/dist/esm/components/DictionaryEditor/ItemLayout.mjs +6 -3
- package/dist/esm/components/DictionaryEditor/ItemLayout.mjs.map +1 -1
- package/dist/esm/components/DictionaryEditor/NodeWrapper/NestedObjectWrapper.mjs +2 -1
- package/dist/esm/components/DictionaryEditor/NodeWrapper/NestedObjectWrapper.mjs.map +1 -1
- package/dist/esm/components/DictionaryFieldEditor/ContentEditorView/TextEditor.mjs +40 -22
- package/dist/esm/components/DictionaryFieldEditor/ContentEditorView/TextEditor.mjs.map +1 -1
- package/dist/esm/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsForm.mjs +1 -1
- package/dist/esm/components/DictionaryFieldEditor/KeyPathBreadcrumb.mjs +2 -1
- package/dist/esm/components/DictionaryFieldEditor/KeyPathBreadcrumb.mjs.map +1 -1
- package/dist/esm/components/DictionaryFieldEditor/NavigationView/NavigationViewNode.mjs +1 -1
- package/dist/esm/components/DictionaryFieldEditor/NavigationView/NavigationViewNode.mjs.map +1 -1
- package/dist/esm/components/DictionaryFieldEditor/SaveForm/SaveForm.mjs +2 -2
- package/dist/esm/components/DictionaryFieldEditor/SaveForm/SaveForm.mjs.map +1 -1
- package/dist/esm/components/DictionaryFieldEditor/StructureView/StructureView.mjs +2 -2
- package/dist/esm/components/DictionaryFieldEditor/StructureView/StructureView.mjs.map +1 -1
- package/dist/esm/components/DictionaryFieldEditor/VersionSwitcherDropDown/VersionSwitcher.mjs +1 -1
- package/dist/esm/components/DropDown/index.mjs +3 -3
- package/dist/esm/components/DropDown/index.mjs.map +1 -1
- package/dist/esm/components/EditableField/EditableFieldInput.mjs +1 -1
- package/dist/esm/components/EditableField/EditableFieldInput.mjs.map +1 -1
- package/dist/esm/components/EditableField/EditableFieldLayout.mjs +1 -1
- package/dist/esm/components/EditableField/EditableFieldLayout.mjs.map +1 -1
- package/dist/esm/components/EditableField/EditableFieldTextArea.mjs +1 -1
- package/dist/esm/components/EditableField/EditableFieldTextArea.mjs.map +1 -1
- package/dist/esm/components/Flags/Flag.mjs +1 -1
- package/dist/esm/components/Flags/Flag.mjs.map +1 -1
- package/dist/esm/components/Form/Form.mjs +4 -0
- package/dist/esm/components/Form/Form.mjs.map +1 -1
- package/dist/esm/components/Form/FormBase.mjs +1 -1
- package/dist/esm/components/Form/FormBase.mjs.map +1 -1
- package/dist/esm/components/Form/FormItem.mjs +1 -1
- package/dist/esm/components/Form/FormItem.mjs.map +1 -1
- package/dist/esm/components/Form/FormLabel.mjs +1 -1
- package/dist/esm/components/Form/FormLabel.mjs.map +1 -1
- package/dist/esm/components/Form/FormMessage.mjs +1 -1
- package/dist/esm/components/Form/FormMessage.mjs.map +1 -1
- package/dist/esm/components/Form/elements/AutoSizeTextAreaElement.mjs.map +1 -1
- package/dist/esm/components/Form/elements/CheckboxElement.mjs +2 -2
- package/dist/esm/components/Form/elements/CheckboxElement.mjs.map +1 -1
- package/dist/esm/components/Form/elements/CodeInputElement.mjs +40 -0
- package/dist/esm/components/Form/elements/CodeInputElement.mjs.map +1 -0
- package/dist/esm/components/Form/elements/FormElement.mjs +2 -2
- package/dist/esm/components/Form/elements/FormElement.mjs.map +1 -1
- package/dist/esm/components/Form/elements/FormElementWrapper.mjs +1 -1
- package/dist/esm/components/Form/elements/FormElementWrapper.mjs.map +1 -1
- package/dist/esm/components/Form/elements/InputPasswordElement.mjs +1 -1
- package/dist/esm/components/Form/elements/InputPasswordElement.mjs.map +1 -1
- package/dist/esm/components/Form/elements/MultiselectElement.mjs +30 -19
- package/dist/esm/components/Form/elements/MultiselectElement.mjs.map +1 -1
- package/dist/esm/components/Form/elements/OTPElement.mjs +114 -0
- package/dist/esm/components/Form/elements/OTPElement.mjs.map +1 -0
- package/dist/esm/components/Form/elements/SearchInputElement.mjs +17 -0
- package/dist/esm/components/Form/elements/SearchInputElement.mjs.map +1 -0
- package/dist/esm/components/Form/elements/SelectElement.mjs +30 -19
- package/dist/esm/components/Form/elements/SelectElement.mjs.map +1 -1
- package/dist/esm/components/Form/elements/SwitchSelectorElement.mjs +29 -18
- package/dist/esm/components/Form/elements/SwitchSelectorElement.mjs.map +1 -1
- package/dist/esm/components/Form/elements/index.mjs +3 -1
- package/dist/esm/components/Form/layout/FormItemLayout.mjs +1 -2
- package/dist/esm/components/Form/layout/FormItemLayout.mjs.map +1 -1
- package/dist/esm/components/Headers/index.mjs +19 -19
- package/dist/esm/components/Headers/index.mjs.map +1 -1
- package/dist/esm/components/HeightResizer/index.mjs +1 -1
- package/dist/esm/components/HeightResizer/index.mjs.map +1 -1
- package/dist/esm/components/HideShow/index.mjs +2 -1
- package/dist/esm/components/HideShow/index.mjs.map +1 -1
- package/dist/esm/components/IDE/Code.mjs +1 -1
- package/dist/esm/components/IDE/Code.mjs.map +1 -1
- package/dist/esm/components/IDE/CodeBlockClient.mjs +1 -1
- package/dist/esm/components/IDE/CodeBlockClient.mjs.map +1 -1
- package/dist/esm/components/IDE/CodeBlockServer.mjs +3 -3
- package/dist/esm/components/IDE/CodeBlockServer.mjs.map +1 -1
- package/dist/esm/components/IDE/CodeConditionalRenderer.mjs +1 -1
- package/dist/esm/components/IDE/CodeConditionalRenderer.mjs.map +1 -1
- package/dist/esm/components/IDE/CodeFormatSelector.mjs +4 -1
- package/dist/esm/components/IDE/CodeFormatSelector.mjs.map +1 -1
- package/dist/esm/components/IDE/ContentDeclarationFormatSelector.mjs +4 -1
- package/dist/esm/components/IDE/ContentDeclarationFormatSelector.mjs.map +1 -1
- package/dist/esm/components/IDE/FileList.mjs +1 -1
- package/dist/esm/components/IDE/FileList.mjs.map +1 -1
- package/dist/esm/components/IDE/IDE.mjs +1 -1
- package/dist/esm/components/IDE/IDE.mjs.map +1 -1
- package/dist/esm/components/IDE/PackageManagerSelector.mjs +4 -1
- package/dist/esm/components/IDE/PackageManagerSelector.mjs.map +1 -1
- package/dist/esm/components/InformationTag/index.mjs +1 -1
- package/dist/esm/components/InformationTag/index.mjs.map +1 -1
- package/dist/esm/components/Input/Checkbox.mjs +22 -15
- package/dist/esm/components/Input/Checkbox.mjs.map +1 -1
- package/dist/esm/components/Input/CodeInput.mjs +84 -0
- package/dist/esm/components/Input/CodeInput.mjs.map +1 -0
- package/dist/esm/components/Input/Input.mjs +25 -14
- package/dist/esm/components/Input/Input.mjs.map +1 -1
- package/dist/esm/components/Input/InputPassword.mjs +1 -1
- package/dist/esm/components/Input/InputPassword.mjs.map +1 -1
- package/dist/esm/components/Input/OTPInput/Input.mjs +426 -0
- package/dist/esm/components/Input/OTPInput/Input.mjs.map +1 -0
- package/dist/esm/components/Input/OTPInput/index.mjs +495 -0
- package/dist/esm/components/Input/OTPInput/index.mjs.map +1 -0
- package/dist/esm/components/Input/OTPInput.mjs +495 -0
- package/dist/esm/components/Input/OTPInput.mjs.map +1 -0
- package/dist/esm/components/Input/SearchInput.mjs +1 -1
- package/dist/esm/components/Input/SearchInput.mjs.map +1 -1
- package/dist/esm/components/Input/index.mjs +2 -1
- package/dist/esm/components/KeyboardScreenAdapter/index.mjs +1 -1
- package/dist/esm/components/KeyboardScreenAdapter/index.mjs.map +1 -1
- package/dist/esm/components/Label/index.mjs +1 -1
- package/dist/esm/components/Label/index.mjs.map +1 -1
- package/dist/esm/components/Link/Link.mjs +1 -1
- package/dist/esm/components/Link/Link.mjs.map +1 -1
- package/dist/esm/components/Loader/index.mjs +1 -1
- package/dist/esm/components/Loader/index.mjs.map +1 -1
- package/dist/esm/components/LocaleSwitcherContentDropDown/LocaleSwitcherContent.mjs +1 -1
- package/dist/esm/components/LocaleSwitcherDropDown/LocaleSwitcher.mjs +1 -1
- package/dist/esm/components/Logo/Logo.mjs +1 -1
- package/dist/esm/components/Logo/Logo.mjs.map +1 -1
- package/dist/esm/components/Logo/LogoWithTextBelow.mjs +1 -1
- package/dist/esm/components/Logo/LogoWithTextBelow.mjs.map +1 -1
- package/dist/esm/components/MarkDownRender/MarkDownRender.mjs +16 -11
- package/dist/esm/components/MarkDownRender/MarkDownRender.mjs.map +1 -1
- package/dist/esm/components/MarkDownRender/processor.mjs +1 -1
- package/dist/esm/components/MarkDownRender/processor.mjs.map +1 -1
- package/dist/esm/components/MaxHeightSmoother/index.mjs +1 -1
- package/dist/esm/components/MaxHeightSmoother/index.mjs.map +1 -1
- package/dist/esm/components/MaxWidthSmoother/index.mjs +1 -1
- package/dist/esm/components/MaxWidthSmoother/index.mjs.map +1 -1
- package/dist/esm/components/Modal/Modal.mjs +48 -41
- package/dist/esm/components/Modal/Modal.mjs.map +1 -1
- package/dist/esm/components/Navbar/Burger.mjs +1 -1
- package/dist/esm/components/Navbar/Burger.mjs.map +1 -1
- package/dist/esm/components/Pagination/Pagination.mjs +1 -1
- package/dist/esm/components/Pagination/Pagination.mjs.map +1 -1
- package/dist/esm/components/Pagination/ShowingResultsNumberItems.mjs +5 -2
- package/dist/esm/components/Pagination/ShowingResultsNumberItems.mjs.map +1 -1
- package/dist/esm/components/Pattern/DotPattern.mjs +1 -1
- package/dist/esm/components/Pattern/DotPattern.mjs.map +1 -1
- package/dist/esm/components/Pattern/GridPattern.mjs +1 -1
- package/dist/esm/components/Pattern/GridPattern.mjs.map +1 -1
- package/dist/esm/components/Pattern/SpotLight.mjs +1 -1
- package/dist/esm/components/Pattern/SpotLight.mjs.map +1 -1
- package/dist/esm/components/Popover/dynamic.mjs +1 -1
- package/dist/esm/components/Popover/dynamic.mjs.map +1 -1
- package/dist/esm/components/Popover/static.mjs +2 -2
- package/dist/esm/components/Popover/static.mjs.map +1 -1
- package/dist/esm/components/PressableSpan/PressableSpan.mjs +1 -1
- package/dist/esm/components/PressableSpan/PressableSpan.mjs.map +1 -1
- package/dist/esm/components/RightDrawer/RightDrawer.mjs +1 -1
- package/dist/esm/components/Select/Multiselect.mjs +7 -7
- package/dist/esm/components/Select/Multiselect.mjs.map +1 -1
- package/dist/esm/components/Select/Select.mjs +12 -12
- package/dist/esm/components/Select/Select.mjs.map +1 -1
- package/dist/esm/components/SocialNetworks/index.mjs +3 -8
- package/dist/esm/components/SocialNetworks/index.mjs.map +1 -1
- package/dist/esm/components/SwitchSelector/index.mjs +35 -27
- package/dist/esm/components/SwitchSelector/index.mjs.map +1 -1
- package/dist/esm/components/Tab/Tab.mjs +2 -2
- package/dist/esm/components/Tab/Tab.mjs.map +1 -1
- package/dist/esm/components/TabSelector/TabSelector.mjs +1 -1
- package/dist/esm/components/TabSelector/TabSelector.mjs.map +1 -1
- package/dist/esm/components/Table/Table.mjs +1 -1
- package/dist/esm/components/Table/Table.mjs.map +1 -1
- package/dist/esm/components/Tag/index.mjs +1 -1
- package/dist/esm/components/Tag/index.mjs.map +1 -1
- package/dist/esm/components/TextArea/AutoSizeTextArea.mjs +1 -1
- package/dist/esm/components/TextArea/AutoSizeTextArea.mjs.map +1 -1
- package/dist/esm/components/TextArea/AutocompleteTextArea.mjs +1 -1
- package/dist/esm/components/TextArea/AutocompleteTextArea.mjs.map +1 -1
- package/dist/esm/components/TextArea/TextArea.mjs +1 -1
- package/dist/esm/components/TextArea/TextArea.mjs.map +1 -1
- package/dist/esm/components/ThemeSwitcherDropDown/DesktopThemeSwitcher.mjs +2 -2
- package/dist/esm/components/ThemeSwitcherDropDown/DesktopThemeSwitcher.mjs.map +1 -1
- package/dist/esm/components/Toaster/Toast.mjs +7 -7
- package/dist/esm/components/Toaster/Toast.mjs.map +1 -1
- package/dist/esm/components/Toaster/Toaster.mjs +1 -1
- package/dist/esm/components/Toaster/Toaster.mjs.map +1 -1
- package/dist/esm/components/index.mjs +6 -5
- package/dist/esm/hooks/index.mjs +4 -3
- package/dist/esm/hooks/reactQuery.mjs +66 -3
- package/dist/esm/hooks/reactQuery.mjs.map +1 -1
- package/dist/esm/hooks/useAuth/useSession.mjs +5 -3
- package/dist/esm/hooks/useAuth/useSession.mjs.map +1 -1
- package/dist/esm/hooks/useDevice.mjs +16 -2
- package/dist/esm/hooks/useDevice.mjs.map +1 -1
- package/dist/esm/hooks/useItemSelector.mjs +4 -1
- package/dist/esm/hooks/useItemSelector.mjs.map +1 -1
- package/dist/esm/libs/auth.mjs +77 -32
- package/dist/esm/libs/auth.mjs.map +1 -1
- package/dist/types/Checkbox.d.ts +2 -0
- package/dist/types/Input.d.ts +16 -0
- package/dist/types/Input.d.ts.map +1 -0
- package/dist/types/InputPassword.d.ts +2 -0
- package/dist/types/OTPElement.d.ts +30 -0
- package/dist/types/OTPElement.d.ts.map +1 -0
- package/dist/types/OTPInput.d.ts +3 -0
- package/dist/types/SearchInput.d.ts +1 -0
- package/dist/types/components/Badge/index.d.ts +2 -2
- package/dist/types/components/Breadcrumb/breadcrumb.content.d.ts +3 -3
- package/dist/types/components/Breadcrumb/index.d.ts +2 -2
- package/dist/types/components/Breadcrumb/index.d.ts.map +1 -1
- package/dist/types/components/Browser/Browser.content.d.ts +11 -11
- package/dist/types/components/Button/Button.d.ts +10 -18
- package/dist/types/components/Button/Button.d.ts.map +1 -1
- package/dist/types/components/Button/index.d.ts +2 -2
- package/dist/types/components/CollapsibleTable/CollapsibleTable.d.ts +5 -5
- package/dist/types/components/CollapsibleTable/CollapsibleTable.d.ts.map +1 -1
- package/dist/types/components/Command/index.d.ts +13 -13
- package/dist/types/components/Container/index.d.ts +9 -9
- package/dist/types/components/Container/index.d.ts.map +1 -1
- package/dist/types/components/CopyToClipboard/index.d.ts +7 -3
- package/dist/types/components/CopyToClipboard/index.d.ts.map +1 -1
- package/dist/types/components/DictionaryEditor/NodeWrapper/NestedObjectWrapper.d.ts.map +1 -1
- package/dist/types/components/DictionaryFieldEditor/ContentEditorView/TextEditor.d.ts.map +1 -1
- package/dist/types/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryCreationForm.content.d.ts +25 -25
- package/dist/types/components/DictionaryFieldEditor/DictionaryCreationForm/useDictionaryFormSchema.content.d.ts +9 -9
- package/dist/types/components/DictionaryFieldEditor/DictionaryCreationForm/useDictionaryFormSchema.content.d.ts.map +1 -1
- package/dist/types/components/DictionaryFieldEditor/DictionaryDetails/dictionaryDetails.content.d.ts +33 -33
- package/dist/types/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.content.d.ts +25 -25
- package/dist/types/components/DictionaryFieldEditor/KeyPathBreadcrumb.d.ts.map +1 -1
- package/dist/types/components/DictionaryFieldEditor/NavigationView/navigationViewNode.content.d.ts +25 -25
- package/dist/types/components/DictionaryFieldEditor/SaveForm/saveForm.content.d.ts +33 -33
- package/dist/types/components/DictionaryFieldEditor/StructureView/structureView.content.d.ts +9 -9
- package/dist/types/components/DictionaryFieldEditor/VersionSwitcherDropDown/versionSwitcherDropDown.content.d.ts +7 -7
- package/dist/types/components/DictionaryFieldEditor/dictionaryFieldEditor.content.d.ts +5 -5
- package/dist/types/components/DictionaryFieldEditor/nodeTypeSelector.content.d.ts +31 -31
- package/dist/types/components/DictionaryFieldEditor/nodeTypeSelector.content.d.ts.map +1 -1
- package/dist/types/components/ExpandCollapse/expandCollapse.content.d.ts +3 -3
- package/dist/types/components/Form/Form.d.ts +4 -0
- package/dist/types/components/Form/Form.d.ts.map +1 -1
- package/dist/types/components/Form/FormBase.d.ts +2 -2
- package/dist/types/components/Form/FormBase.d.ts.map +1 -1
- package/dist/types/components/Form/FormField.d.ts +2 -2
- package/dist/types/components/Form/FormField.d.ts.map +1 -1
- package/dist/types/components/Form/FormItem.d.ts +2 -2
- package/dist/types/components/Form/FormItem.d.ts.map +1 -1
- package/dist/types/components/Form/elements/AutoSizeTextAreaElement.d.ts +2 -2
- package/dist/types/components/Form/elements/AutoSizeTextAreaElement.d.ts.map +1 -1
- package/dist/types/components/Form/elements/EditableFieldInputElement.d.ts +2 -2
- package/dist/types/components/Form/elements/EditableFieldInputElement.d.ts.map +1 -1
- package/dist/types/components/Form/elements/FormElement.d.ts +2 -2
- package/dist/types/components/Form/elements/MultiselectElement.d.ts +2 -2
- package/dist/types/components/Form/elements/MultiselectElement.d.ts.map +1 -1
- package/dist/types/components/Form/elements/OTPElement.d.ts +30 -0
- package/dist/types/components/Form/elements/OTPElement.d.ts.map +1 -0
- package/dist/types/components/Form/elements/SearchInputElement.d.ts +13 -0
- package/dist/types/components/Form/elements/SearchInputElement.d.ts.map +1 -0
- package/dist/types/components/Form/elements/SelectElement.d.ts +2 -2
- package/dist/types/components/Form/elements/SelectElement.d.ts.map +1 -1
- package/dist/types/components/Form/elements/SwitchSelectorElement.d.ts +2 -2
- package/dist/types/components/Form/elements/SwitchSelectorElement.d.ts.map +1 -1
- package/dist/types/components/Form/elements/index.d.ts +3 -1
- package/dist/types/components/HideShow/index.d.ts.map +1 -1
- package/dist/types/components/IDE/FileTree.d.ts.map +1 -1
- package/dist/types/components/IDE/code.content.d.ts +5 -5
- package/dist/types/components/IDE/code.content.d.ts.map +1 -1
- package/dist/types/components/IDE/copyCode.content.d.ts +5 -5
- package/dist/types/components/IDE/copyCode.content.d.ts.map +1 -1
- package/dist/types/components/Input/Checkbox.d.ts +5 -5
- package/dist/types/components/Input/Checkbox.d.ts.map +1 -1
- package/dist/types/components/Input/Input.d.ts +3 -3
- package/dist/types/components/Input/Input.d.ts.map +1 -1
- package/dist/types/components/Input/OTPInput/Input.d.ts +57 -0
- package/dist/types/components/Input/OTPInput/Input.d.ts.map +1 -0
- package/dist/types/components/Input/OTPInput/index.d.ts +78 -0
- package/dist/types/components/Input/OTPInput/index.d.ts.map +1 -0
- package/dist/types/components/Input/OTPInput.d.ts +78 -0
- package/dist/types/components/Input/OTPInput.d.ts.map +1 -0
- package/dist/types/components/Input/SearchInput.d.ts +2 -2
- package/dist/types/components/Input/index.d.ts +2 -1
- package/dist/types/components/Link/Link.d.ts +4 -4
- package/dist/types/components/Loader/index.content.d.ts +3 -3
- package/dist/types/components/Loader/spinner.d.ts +2 -2
- package/dist/types/components/LocaleSwitcherContentDropDown/localeSwitcher.content.d.ts +17 -17
- package/dist/types/components/LocaleSwitcherDropDown/localeSwitcher.content.d.ts +13 -13
- package/dist/types/components/MaxWidthSmoother/index.d.ts +2 -2
- package/dist/types/components/MaxWidthSmoother/index.d.ts.map +1 -1
- package/dist/types/components/Modal/Modal.d.ts.map +1 -1
- package/dist/types/components/Navbar/Burger.d.ts +2 -2
- package/dist/types/components/Navbar/Burger.d.ts.map +1 -1
- package/dist/types/components/Navbar/DesktopNavbar.d.ts +2 -2
- package/dist/types/components/Navbar/DesktopNavbar.d.ts.map +1 -1
- package/dist/types/components/Navbar/MobileNavbar.d.ts +2 -2
- package/dist/types/components/Navbar/MobileNavbar.d.ts.map +1 -1
- package/dist/types/components/Navbar/index.d.ts +2 -2
- package/dist/types/components/Navbar/index.d.ts.map +1 -1
- package/dist/types/components/Pagination/Pagination.d.ts +4 -4
- package/dist/types/components/Pagination/pagination.content.d.ts +11 -11
- package/dist/types/components/Popover/static.d.ts +3 -3
- package/dist/types/components/RightDrawer/useRightDrawerStore.d.ts +2 -2
- package/dist/types/components/Select/Multiselect.d.ts.map +1 -1
- package/dist/types/components/Select/Select.d.ts +3 -3
- package/dist/types/components/Select/Select.d.ts.map +1 -1
- package/dist/types/components/SocialNetworks/index.d.ts +2 -2
- package/dist/types/components/SocialNetworks/index.d.ts.map +1 -1
- package/dist/types/components/SwitchSelector/index.d.ts +10 -8
- package/dist/types/components/SwitchSelector/index.d.ts.map +1 -1
- package/dist/types/components/Tab/Tab.d.ts +5 -5
- package/dist/types/components/Tab/Tab.d.ts.map +1 -1
- package/dist/types/components/Tab/TabContext.d.ts +2 -2
- package/dist/types/components/TabSelector/TabSelector.d.ts +5 -5
- package/dist/types/components/TabSelector/TabSelector.d.ts.map +1 -1
- package/dist/types/components/Table/table.content.d.ts +3 -3
- package/dist/types/components/Table/table.content.d.ts.map +1 -1
- package/dist/types/components/Tag/index.d.ts +5 -5
- package/dist/types/components/Toaster/Toast.d.ts +2 -2
- package/dist/types/components/Toaster/Toaster.d.ts +2 -2
- package/dist/types/components/index.d.ts +4 -3
- package/dist/types/hooks/index.d.ts +5 -4
- package/dist/types/hooks/reactQuery.d.ts +1258 -65
- package/dist/types/hooks/reactQuery.d.ts.map +1 -1
- package/dist/types/hooks/useAuth/index.d.ts +2 -2
- package/dist/types/hooks/useAuth/useOAuth2.d.ts +2 -1
- package/dist/types/hooks/useAuth/useOAuth2.d.ts.map +1 -1
- package/dist/types/hooks/useAuth/useSession.d.ts +9 -4
- package/dist/types/hooks/useAuth/useSession.d.ts.map +1 -1
- package/dist/types/hooks/useDevice.d.ts +7 -1
- package/dist/types/hooks/useDevice.d.ts.map +1 -1
- package/dist/types/hooks/useItemSelector.d.ts +8 -1
- package/dist/types/hooks/useItemSelector.d.ts.map +1 -1
- package/dist/types/hooks/useScrollBlockage/useScrollBlockageStore.d.ts +2 -2
- package/dist/types/hooks/useUser/index.d.ts +18 -1
- package/dist/types/hooks/useUser/index.d.ts.map +1 -1
- package/dist/types/index.d.ts +5 -0
- package/dist/types/libs/auth.d.ts +3375 -2
- package/dist/types/libs/auth.d.ts.map +1 -1
- package/package.json +51 -45
- package/tailwind.css +55 -34
- package/dist/esm/components/Popover/index.mjs.map +0 -1
- package/dist/esm/utils/camelCase.mjs +0 -12
- package/dist/esm/utils/camelCase.mjs.map +0 -1
- package/dist/types/components/Popover/index.d.ts.map +0 -1
- package/dist/types/utils/camelCase.d.ts +0 -6
- package/dist/types/utils/camelCase.d.ts.map +0 -1
|
@@ -1,110 +1,1303 @@
|
|
|
1
|
-
import
|
|
1
|
+
import * as intlayer0 from "intlayer";
|
|
2
|
+
import * as _tanstack_react_query0 from "@tanstack/react-query";
|
|
2
3
|
import { UseQueryOptions, useQueryClient } from "@tanstack/react-query";
|
|
4
|
+
import * as _better_fetch_fetch0 from "@better-fetch/fetch";
|
|
5
|
+
import * as better_auth0 from "better-auth";
|
|
6
|
+
import * as inspector0 from "inspector";
|
|
7
|
+
import * as _intlayer_backend1 from "@intlayer/backend";
|
|
8
|
+
import { AddDictionaryBody, AddOrganizationMemberBody, AskDocQuestionBody, AuditContentDeclarationBody, AuditContentDeclarationFieldBody, AuditContentDeclarationMetadataBody, AuditTagBody, AutocompleteBody, CreateUserBody, DeleteAccessKeyBody, DeleteDictionaryParam, DeleteTagParams, GetCheckoutSessionBody, GetDictionariesParams, GetDictionaryParams, GetDictionaryQuery, GetOrganizationsParams, GetPricingBody, GetPricingResult, GetProjectsParams, GetTagsParams, GetUsersParams, NewsletterSubscriptionBody, NewsletterUnsubscriptionBody, PushDictionariesBody, RefreshAccessKeyBody, SearchDocUtilParams, SelectOrganizationParam, SelectProjectParam, TranslateJSONBody } from "@intlayer/backend";
|
|
9
|
+
import * as intlayer_editor0 from "intlayer-editor";
|
|
10
|
+
import { WriteContentDeclarationBody } from "intlayer-editor";
|
|
3
11
|
|
|
4
12
|
//#region src/hooks/reactQuery.d.ts
|
|
5
13
|
declare const useAppQuery: (options: UseQueryOptions & {
|
|
6
14
|
requireUser?: boolean;
|
|
7
15
|
requireProject?: boolean;
|
|
8
16
|
requireOrganization?: boolean;
|
|
9
|
-
}) =>
|
|
17
|
+
}) => _tanstack_react_query0.UseQueryResult<unknown, Error>;
|
|
10
18
|
/**
|
|
11
19
|
* Auth
|
|
12
20
|
*/
|
|
13
|
-
declare const useLogin: () =>
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
21
|
+
declare const useLogin: () => _tanstack_react_query0.UseMutationResult<{
|
|
22
|
+
data: {
|
|
23
|
+
redirect: boolean;
|
|
24
|
+
token: string;
|
|
25
|
+
url: string | undefined;
|
|
26
|
+
user: {
|
|
27
|
+
id: string;
|
|
28
|
+
email: string;
|
|
29
|
+
name: string;
|
|
30
|
+
image: string | null | undefined;
|
|
31
|
+
emailVerified: boolean;
|
|
32
|
+
createdAt: Date;
|
|
33
|
+
updatedAt: Date;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
error: null;
|
|
37
|
+
} | {
|
|
38
|
+
data: null;
|
|
39
|
+
error: {
|
|
40
|
+
code?: string;
|
|
41
|
+
message?: string;
|
|
42
|
+
status: number;
|
|
43
|
+
statusText: string;
|
|
44
|
+
};
|
|
45
|
+
}, Error, better_auth0.Prettify<{
|
|
46
|
+
email: string;
|
|
47
|
+
password: string;
|
|
48
|
+
callbackURL?: string | undefined;
|
|
49
|
+
rememberMe?: boolean | undefined;
|
|
50
|
+
} & {
|
|
51
|
+
fetchOptions?: {
|
|
52
|
+
cache?: RequestCache;
|
|
53
|
+
credentials?: RequestCredentials;
|
|
54
|
+
headers?: HeadersInit & (HeadersInit | {
|
|
55
|
+
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
56
|
+
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
57
|
+
authorization: "Bearer" | "Basic";
|
|
58
|
+
});
|
|
59
|
+
integrity?: string;
|
|
60
|
+
keepalive?: boolean;
|
|
61
|
+
method?: string;
|
|
62
|
+
mode?: RequestMode;
|
|
63
|
+
priority?: RequestPriority;
|
|
64
|
+
redirect?: RequestRedirect;
|
|
65
|
+
referrer?: string;
|
|
66
|
+
referrerPolicy?: ReferrerPolicy;
|
|
67
|
+
signal?: AbortSignal | null;
|
|
68
|
+
window?: null;
|
|
69
|
+
onRequest?: <T extends Record<string, any>>(context: _better_fetch_fetch0.RequestContext<T>) => Promise<_better_fetch_fetch0.RequestContext | void> | _better_fetch_fetch0.RequestContext | void;
|
|
70
|
+
onResponse?: (context: _better_fetch_fetch0.ResponseContext) => Promise<Response | void | _better_fetch_fetch0.ResponseContext> | Response | _better_fetch_fetch0.ResponseContext | void;
|
|
71
|
+
onSuccess?: (context: _better_fetch_fetch0.SuccessContext<any>) => Promise<void> | void;
|
|
72
|
+
onError?: (context: _better_fetch_fetch0.ErrorContext) => Promise<void> | void;
|
|
73
|
+
onRetry?: (response: _better_fetch_fetch0.ResponseContext) => Promise<void> | void;
|
|
74
|
+
hookOptions?: {
|
|
75
|
+
cloneResponse?: boolean;
|
|
76
|
+
};
|
|
77
|
+
timeout?: number;
|
|
78
|
+
customFetchImpl?: _better_fetch_fetch0.FetchEsque;
|
|
79
|
+
plugins?: _better_fetch_fetch0.BetterFetchPlugin[];
|
|
80
|
+
baseURL?: string;
|
|
81
|
+
throw?: boolean;
|
|
82
|
+
auth?: {
|
|
83
|
+
type: "Bearer";
|
|
84
|
+
token: string | Promise<string> | (() => string | Promise<string>);
|
|
85
|
+
} | {
|
|
86
|
+
type: "Basic";
|
|
87
|
+
username: string | (() => string);
|
|
88
|
+
password: string | (() => string);
|
|
89
|
+
} | {
|
|
90
|
+
type: "Custom";
|
|
91
|
+
prefix: string | (() => string);
|
|
92
|
+
value: string | (() => string);
|
|
93
|
+
};
|
|
94
|
+
body?: Partial<{
|
|
95
|
+
email: string;
|
|
96
|
+
password: string;
|
|
97
|
+
callbackURL?: string | undefined;
|
|
98
|
+
rememberMe?: boolean | undefined;
|
|
99
|
+
}> & Record<string, any>;
|
|
100
|
+
query?: Partial<Record<string, any>> & Record<string, any>;
|
|
101
|
+
params?: Record<string, any>;
|
|
102
|
+
duplex?: "full" | "half";
|
|
103
|
+
jsonParser?: (text: string) => Promise<any> | any;
|
|
104
|
+
retry?: _better_fetch_fetch0.RetryOptions;
|
|
105
|
+
retryAttempt?: number;
|
|
106
|
+
output?: _better_fetch_fetch0.StandardSchemaV1 | typeof Blob | typeof File;
|
|
107
|
+
errorSchema?: _better_fetch_fetch0.StandardSchemaV1;
|
|
108
|
+
disableValidation?: boolean;
|
|
109
|
+
};
|
|
110
|
+
}>, unknown>;
|
|
111
|
+
declare const useGetVerifyEmailStatus: () => _tanstack_react_query0.UseMutationResult<{
|
|
112
|
+
data: NonNullable<void | {
|
|
113
|
+
status: boolean;
|
|
114
|
+
user: {
|
|
115
|
+
id: string;
|
|
116
|
+
email: string;
|
|
117
|
+
name: string;
|
|
118
|
+
image: string | null | undefined;
|
|
119
|
+
emailVerified: boolean;
|
|
120
|
+
createdAt: Date;
|
|
121
|
+
updatedAt: Date;
|
|
122
|
+
};
|
|
123
|
+
} | {
|
|
124
|
+
status: boolean;
|
|
125
|
+
user: null;
|
|
126
|
+
}>;
|
|
127
|
+
error: null;
|
|
128
|
+
} | {
|
|
129
|
+
data: null;
|
|
130
|
+
error: {
|
|
131
|
+
code?: string;
|
|
132
|
+
message?: string;
|
|
133
|
+
status: number;
|
|
134
|
+
statusText: string;
|
|
135
|
+
};
|
|
136
|
+
}, Error, [better_auth0.Prettify<undefined>?, {
|
|
137
|
+
cache?: RequestCache;
|
|
138
|
+
credentials?: RequestCredentials;
|
|
139
|
+
headers?: HeadersInit & (HeadersInit | {
|
|
140
|
+
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
141
|
+
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
142
|
+
authorization: "Bearer" | "Basic";
|
|
143
|
+
});
|
|
144
|
+
integrity?: string;
|
|
145
|
+
keepalive?: boolean;
|
|
146
|
+
method?: string;
|
|
147
|
+
mode?: RequestMode;
|
|
148
|
+
priority?: RequestPriority;
|
|
149
|
+
redirect?: RequestRedirect;
|
|
150
|
+
referrer?: string;
|
|
151
|
+
referrerPolicy?: ReferrerPolicy;
|
|
152
|
+
signal?: AbortSignal | null;
|
|
153
|
+
window?: null;
|
|
154
|
+
onRequest?: <T extends Record<string, any>>(context: _better_fetch_fetch0.RequestContext<T>) => Promise<_better_fetch_fetch0.RequestContext | void> | _better_fetch_fetch0.RequestContext | void;
|
|
155
|
+
onResponse?: (context: _better_fetch_fetch0.ResponseContext) => Promise<Response | void | _better_fetch_fetch0.ResponseContext> | Response | _better_fetch_fetch0.ResponseContext | void;
|
|
156
|
+
onSuccess?: (context: _better_fetch_fetch0.SuccessContext<any>) => Promise<void> | void;
|
|
157
|
+
onError?: (context: _better_fetch_fetch0.ErrorContext) => Promise<void> | void;
|
|
158
|
+
onRetry?: (response: _better_fetch_fetch0.ResponseContext) => Promise<void> | void;
|
|
159
|
+
hookOptions?: {
|
|
160
|
+
cloneResponse?: boolean;
|
|
161
|
+
};
|
|
162
|
+
timeout?: number;
|
|
163
|
+
customFetchImpl?: _better_fetch_fetch0.FetchEsque;
|
|
164
|
+
plugins?: _better_fetch_fetch0.BetterFetchPlugin[];
|
|
165
|
+
baseURL?: string;
|
|
166
|
+
throw?: boolean;
|
|
167
|
+
auth?: {
|
|
168
|
+
type: "Bearer";
|
|
169
|
+
token: string | Promise<string> | (() => string | Promise<string>);
|
|
170
|
+
} | {
|
|
171
|
+
type: "Basic";
|
|
172
|
+
username: string | (() => string);
|
|
173
|
+
password: string | (() => string);
|
|
174
|
+
} | {
|
|
175
|
+
type: "Custom";
|
|
176
|
+
prefix: string | (() => string);
|
|
177
|
+
value: string | (() => string);
|
|
178
|
+
};
|
|
179
|
+
body?: undefined;
|
|
180
|
+
query?: Partial<{
|
|
181
|
+
token: string;
|
|
182
|
+
callbackURL?: string | undefined;
|
|
183
|
+
}> & Record<string, any>;
|
|
184
|
+
params?: Record<string, any>;
|
|
185
|
+
duplex?: "full" | "half";
|
|
186
|
+
jsonParser?: (text: string) => Promise<any> | any;
|
|
187
|
+
retry?: _better_fetch_fetch0.RetryOptions;
|
|
188
|
+
retryAttempt?: number;
|
|
189
|
+
output?: _better_fetch_fetch0.StandardSchemaV1 | typeof Blob | typeof File;
|
|
190
|
+
errorSchema?: _better_fetch_fetch0.StandardSchemaV1;
|
|
191
|
+
disableValidation?: boolean;
|
|
192
|
+
}?], unknown>;
|
|
193
|
+
declare const useRegister: () => _tanstack_react_query0.UseMutationResult<{
|
|
194
|
+
data: NonNullable<{
|
|
195
|
+
token: null;
|
|
196
|
+
user: {
|
|
197
|
+
id: string;
|
|
198
|
+
email: string;
|
|
199
|
+
name: string;
|
|
200
|
+
image: string | null | undefined;
|
|
201
|
+
emailVerified: boolean;
|
|
202
|
+
createdAt: Date;
|
|
203
|
+
updatedAt: Date;
|
|
204
|
+
};
|
|
205
|
+
} | {
|
|
206
|
+
token: string;
|
|
207
|
+
user: {
|
|
208
|
+
id: string;
|
|
209
|
+
email: string;
|
|
210
|
+
name: string;
|
|
211
|
+
image: string | null | undefined;
|
|
212
|
+
emailVerified: boolean;
|
|
213
|
+
createdAt: Date;
|
|
214
|
+
updatedAt: Date;
|
|
215
|
+
};
|
|
216
|
+
}>;
|
|
217
|
+
error: null;
|
|
218
|
+
} | {
|
|
219
|
+
data: null;
|
|
220
|
+
error: {
|
|
221
|
+
code?: string;
|
|
222
|
+
message?: string;
|
|
223
|
+
status: number;
|
|
224
|
+
statusText: string;
|
|
225
|
+
};
|
|
226
|
+
}, Error, better_auth0.Prettify<{
|
|
227
|
+
email: string;
|
|
228
|
+
name: string;
|
|
229
|
+
password: string;
|
|
230
|
+
image?: string;
|
|
231
|
+
callbackURL?: string;
|
|
232
|
+
fetchOptions?: {
|
|
233
|
+
cache?: RequestCache;
|
|
234
|
+
credentials?: RequestCredentials;
|
|
235
|
+
headers?: HeadersInit & (HeadersInit | {
|
|
236
|
+
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
237
|
+
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
238
|
+
authorization: "Bearer" | "Basic";
|
|
239
|
+
});
|
|
240
|
+
integrity?: string;
|
|
241
|
+
keepalive?: boolean;
|
|
242
|
+
method?: string;
|
|
243
|
+
mode?: RequestMode;
|
|
244
|
+
priority?: RequestPriority;
|
|
245
|
+
redirect?: RequestRedirect;
|
|
246
|
+
referrer?: string;
|
|
247
|
+
referrerPolicy?: ReferrerPolicy;
|
|
248
|
+
signal?: AbortSignal | null;
|
|
249
|
+
window?: null;
|
|
250
|
+
onRequest?: <T extends Record<string, any>>(context: _better_fetch_fetch0.RequestContext<T>) => Promise<_better_fetch_fetch0.RequestContext | void> | _better_fetch_fetch0.RequestContext | void;
|
|
251
|
+
onResponse?: (context: _better_fetch_fetch0.ResponseContext) => Promise<Response | void | _better_fetch_fetch0.ResponseContext> | Response | _better_fetch_fetch0.ResponseContext | void;
|
|
252
|
+
onSuccess?: (context: _better_fetch_fetch0.SuccessContext<any>) => Promise<void> | void;
|
|
253
|
+
onError?: (context: _better_fetch_fetch0.ErrorContext) => Promise<void> | void;
|
|
254
|
+
onRetry?: (response: _better_fetch_fetch0.ResponseContext) => Promise<void> | void;
|
|
255
|
+
hookOptions?: {
|
|
256
|
+
cloneResponse?: boolean;
|
|
257
|
+
};
|
|
258
|
+
timeout?: number;
|
|
259
|
+
customFetchImpl?: _better_fetch_fetch0.FetchEsque;
|
|
260
|
+
plugins?: _better_fetch_fetch0.BetterFetchPlugin[];
|
|
261
|
+
baseURL?: string;
|
|
262
|
+
throw?: boolean;
|
|
263
|
+
auth?: {
|
|
264
|
+
type: "Bearer";
|
|
265
|
+
token: string | Promise<string> | (() => string | Promise<string>);
|
|
266
|
+
} | {
|
|
267
|
+
type: "Basic";
|
|
268
|
+
username: string | (() => string);
|
|
269
|
+
password: string | (() => string);
|
|
270
|
+
} | {
|
|
271
|
+
type: "Custom";
|
|
272
|
+
prefix: string | (() => string);
|
|
273
|
+
value: string | (() => string);
|
|
274
|
+
};
|
|
275
|
+
body?: Partial<{
|
|
276
|
+
name: string;
|
|
277
|
+
email: string;
|
|
278
|
+
password: string;
|
|
279
|
+
image?: string;
|
|
280
|
+
callbackURL?: string;
|
|
281
|
+
rememberMe?: boolean;
|
|
282
|
+
}> & Record<string, any>;
|
|
283
|
+
query?: Partial<Record<string, any>> & Record<string, any>;
|
|
284
|
+
params?: Record<string, any>;
|
|
285
|
+
duplex?: "full" | "half";
|
|
286
|
+
jsonParser?: (text: string) => Promise<any> | any;
|
|
287
|
+
retry?: _better_fetch_fetch0.RetryOptions;
|
|
288
|
+
retryAttempt?: number;
|
|
289
|
+
output?: _better_fetch_fetch0.StandardSchemaV1 | typeof Blob | typeof File;
|
|
290
|
+
errorSchema?: _better_fetch_fetch0.StandardSchemaV1;
|
|
291
|
+
disableValidation?: boolean;
|
|
292
|
+
};
|
|
293
|
+
} & {} & {}>, unknown>;
|
|
294
|
+
declare const useLogout: () => _tanstack_react_query0.UseMutationResult<{
|
|
295
|
+
data: {
|
|
296
|
+
success: boolean;
|
|
297
|
+
};
|
|
298
|
+
error: null;
|
|
299
|
+
} | {
|
|
300
|
+
data: null;
|
|
301
|
+
error: {
|
|
302
|
+
code?: string;
|
|
303
|
+
message?: string;
|
|
304
|
+
status: number;
|
|
305
|
+
statusText: string;
|
|
306
|
+
};
|
|
307
|
+
}, Error, void, unknown>;
|
|
308
|
+
declare const useChangePassword: () => _tanstack_react_query0.UseMutationResult<{
|
|
309
|
+
data: {
|
|
310
|
+
token: string | null;
|
|
311
|
+
user: {
|
|
312
|
+
id: string;
|
|
313
|
+
email: string;
|
|
314
|
+
name: string;
|
|
315
|
+
image: string | null | undefined;
|
|
316
|
+
emailVerified: boolean;
|
|
317
|
+
createdAt: Date;
|
|
318
|
+
updatedAt: Date;
|
|
319
|
+
};
|
|
320
|
+
};
|
|
321
|
+
error: null;
|
|
322
|
+
} | {
|
|
323
|
+
data: null;
|
|
324
|
+
error: {
|
|
325
|
+
code?: string;
|
|
326
|
+
message?: string;
|
|
327
|
+
status: number;
|
|
328
|
+
statusText: string;
|
|
329
|
+
};
|
|
330
|
+
}, Error, [better_auth0.Prettify<{
|
|
331
|
+
newPassword: string;
|
|
332
|
+
currentPassword: string;
|
|
333
|
+
revokeOtherSessions?: boolean | undefined;
|
|
334
|
+
} & {
|
|
335
|
+
fetchOptions?: {
|
|
336
|
+
cache?: RequestCache;
|
|
337
|
+
credentials?: RequestCredentials;
|
|
338
|
+
headers?: HeadersInit & (HeadersInit | {
|
|
339
|
+
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
340
|
+
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
341
|
+
authorization: "Bearer" | "Basic";
|
|
342
|
+
});
|
|
343
|
+
integrity?: string;
|
|
344
|
+
keepalive?: boolean;
|
|
345
|
+
method?: string;
|
|
346
|
+
mode?: RequestMode;
|
|
347
|
+
priority?: RequestPriority;
|
|
348
|
+
redirect?: RequestRedirect;
|
|
349
|
+
referrer?: string;
|
|
350
|
+
referrerPolicy?: ReferrerPolicy;
|
|
351
|
+
signal?: AbortSignal | null;
|
|
352
|
+
window?: null;
|
|
353
|
+
onRequest?: <T extends Record<string, any>>(context: _better_fetch_fetch0.RequestContext<T>) => Promise<_better_fetch_fetch0.RequestContext | void> | _better_fetch_fetch0.RequestContext | void;
|
|
354
|
+
onResponse?: (context: _better_fetch_fetch0.ResponseContext) => Promise<Response | void | _better_fetch_fetch0.ResponseContext> | Response | _better_fetch_fetch0.ResponseContext | void;
|
|
355
|
+
onSuccess?: (context: _better_fetch_fetch0.SuccessContext<any>) => Promise<void> | void;
|
|
356
|
+
onError?: (context: _better_fetch_fetch0.ErrorContext) => Promise<void> | void;
|
|
357
|
+
onRetry?: (response: _better_fetch_fetch0.ResponseContext) => Promise<void> | void;
|
|
358
|
+
hookOptions?: {
|
|
359
|
+
cloneResponse?: boolean;
|
|
360
|
+
};
|
|
361
|
+
timeout?: number;
|
|
362
|
+
customFetchImpl?: _better_fetch_fetch0.FetchEsque;
|
|
363
|
+
plugins?: _better_fetch_fetch0.BetterFetchPlugin[];
|
|
364
|
+
baseURL?: string;
|
|
365
|
+
throw?: boolean;
|
|
366
|
+
auth?: {
|
|
367
|
+
type: "Bearer";
|
|
368
|
+
token: string | Promise<string> | (() => string | Promise<string>);
|
|
369
|
+
} | {
|
|
370
|
+
type: "Basic";
|
|
371
|
+
username: string | (() => string);
|
|
372
|
+
password: string | (() => string);
|
|
373
|
+
} | {
|
|
374
|
+
type: "Custom";
|
|
375
|
+
prefix: string | (() => string);
|
|
376
|
+
value: string | (() => string);
|
|
377
|
+
};
|
|
378
|
+
body?: Partial<{
|
|
379
|
+
newPassword: string;
|
|
380
|
+
currentPassword: string;
|
|
381
|
+
revokeOtherSessions?: boolean | undefined;
|
|
382
|
+
}> & Record<string, any>;
|
|
383
|
+
query?: Partial<Record<string, any>> & Record<string, any>;
|
|
384
|
+
params?: Record<string, any>;
|
|
385
|
+
duplex?: "full" | "half";
|
|
386
|
+
jsonParser?: (text: string) => Promise<any> | any;
|
|
387
|
+
retry?: _better_fetch_fetch0.RetryOptions;
|
|
388
|
+
retryAttempt?: number;
|
|
389
|
+
output?: _better_fetch_fetch0.StandardSchemaV1 | typeof Blob | typeof File;
|
|
390
|
+
errorSchema?: _better_fetch_fetch0.StandardSchemaV1;
|
|
391
|
+
disableValidation?: boolean;
|
|
392
|
+
};
|
|
393
|
+
}>, {
|
|
394
|
+
cache?: RequestCache;
|
|
395
|
+
credentials?: RequestCredentials;
|
|
396
|
+
headers?: HeadersInit & (HeadersInit | {
|
|
397
|
+
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
398
|
+
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
399
|
+
authorization: "Bearer" | "Basic";
|
|
400
|
+
});
|
|
401
|
+
integrity?: string;
|
|
402
|
+
keepalive?: boolean;
|
|
403
|
+
method?: string;
|
|
404
|
+
mode?: RequestMode;
|
|
405
|
+
priority?: RequestPriority;
|
|
406
|
+
redirect?: RequestRedirect;
|
|
407
|
+
referrer?: string;
|
|
408
|
+
referrerPolicy?: ReferrerPolicy;
|
|
409
|
+
signal?: AbortSignal | null;
|
|
410
|
+
window?: null;
|
|
411
|
+
onRequest?: <T extends Record<string, any>>(context: _better_fetch_fetch0.RequestContext<T>) => Promise<_better_fetch_fetch0.RequestContext | void> | _better_fetch_fetch0.RequestContext | void;
|
|
412
|
+
onResponse?: (context: _better_fetch_fetch0.ResponseContext) => Promise<Response | void | _better_fetch_fetch0.ResponseContext> | Response | _better_fetch_fetch0.ResponseContext | void;
|
|
413
|
+
onSuccess?: (context: _better_fetch_fetch0.SuccessContext<any>) => Promise<void> | void;
|
|
414
|
+
onError?: (context: _better_fetch_fetch0.ErrorContext) => Promise<void> | void;
|
|
415
|
+
onRetry?: (response: _better_fetch_fetch0.ResponseContext) => Promise<void> | void;
|
|
416
|
+
hookOptions?: {
|
|
417
|
+
cloneResponse?: boolean;
|
|
418
|
+
};
|
|
419
|
+
timeout?: number;
|
|
420
|
+
customFetchImpl?: _better_fetch_fetch0.FetchEsque;
|
|
421
|
+
plugins?: _better_fetch_fetch0.BetterFetchPlugin[];
|
|
422
|
+
baseURL?: string;
|
|
423
|
+
throw?: boolean;
|
|
424
|
+
auth?: {
|
|
425
|
+
type: "Bearer";
|
|
426
|
+
token: string | Promise<string> | (() => string | Promise<string>);
|
|
427
|
+
} | {
|
|
428
|
+
type: "Basic";
|
|
429
|
+
username: string | (() => string);
|
|
430
|
+
password: string | (() => string);
|
|
431
|
+
} | {
|
|
432
|
+
type: "Custom";
|
|
433
|
+
prefix: string | (() => string);
|
|
434
|
+
value: string | (() => string);
|
|
435
|
+
};
|
|
436
|
+
body?: Partial<{
|
|
437
|
+
newPassword: string;
|
|
438
|
+
currentPassword: string;
|
|
439
|
+
revokeOtherSessions?: boolean | undefined;
|
|
440
|
+
}> & Record<string, any>;
|
|
441
|
+
query?: Partial<Record<string, any>> & Record<string, any>;
|
|
442
|
+
params?: Record<string, any>;
|
|
443
|
+
duplex?: "full" | "half";
|
|
444
|
+
jsonParser?: (text: string) => Promise<any> | any;
|
|
445
|
+
retry?: _better_fetch_fetch0.RetryOptions;
|
|
446
|
+
retryAttempt?: number;
|
|
447
|
+
output?: _better_fetch_fetch0.StandardSchemaV1 | typeof Blob | typeof File;
|
|
448
|
+
errorSchema?: _better_fetch_fetch0.StandardSchemaV1;
|
|
449
|
+
disableValidation?: boolean;
|
|
450
|
+
}?], unknown>;
|
|
451
|
+
declare const useAskResetPassword: () => _tanstack_react_query0.UseMutationResult<{
|
|
452
|
+
data: {
|
|
453
|
+
status: boolean;
|
|
454
|
+
message: string;
|
|
455
|
+
};
|
|
456
|
+
error: null;
|
|
457
|
+
} | {
|
|
458
|
+
data: null;
|
|
459
|
+
error: {
|
|
460
|
+
code?: string;
|
|
461
|
+
message?: string;
|
|
462
|
+
status: number;
|
|
463
|
+
statusText: string;
|
|
464
|
+
};
|
|
465
|
+
}, Error, better_auth0.Prettify<{
|
|
466
|
+
email: string;
|
|
467
|
+
redirectTo?: string | undefined;
|
|
468
|
+
} & {
|
|
469
|
+
fetchOptions?: {
|
|
470
|
+
cache?: RequestCache;
|
|
471
|
+
credentials?: RequestCredentials;
|
|
472
|
+
headers?: HeadersInit & (HeadersInit | {
|
|
473
|
+
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
474
|
+
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
475
|
+
authorization: "Bearer" | "Basic";
|
|
476
|
+
});
|
|
477
|
+
integrity?: string;
|
|
478
|
+
keepalive?: boolean;
|
|
479
|
+
method?: string;
|
|
480
|
+
mode?: RequestMode;
|
|
481
|
+
priority?: RequestPriority;
|
|
482
|
+
redirect?: RequestRedirect;
|
|
483
|
+
referrer?: string;
|
|
484
|
+
referrerPolicy?: ReferrerPolicy;
|
|
485
|
+
signal?: AbortSignal | null;
|
|
486
|
+
window?: null;
|
|
487
|
+
onRequest?: <T extends Record<string, any>>(context: _better_fetch_fetch0.RequestContext<T>) => Promise<_better_fetch_fetch0.RequestContext | void> | _better_fetch_fetch0.RequestContext | void;
|
|
488
|
+
onResponse?: (context: _better_fetch_fetch0.ResponseContext) => Promise<Response | void | _better_fetch_fetch0.ResponseContext> | Response | _better_fetch_fetch0.ResponseContext | void;
|
|
489
|
+
onSuccess?: (context: _better_fetch_fetch0.SuccessContext<any>) => Promise<void> | void;
|
|
490
|
+
onError?: (context: _better_fetch_fetch0.ErrorContext) => Promise<void> | void;
|
|
491
|
+
onRetry?: (response: _better_fetch_fetch0.ResponseContext) => Promise<void> | void;
|
|
492
|
+
hookOptions?: {
|
|
493
|
+
cloneResponse?: boolean;
|
|
494
|
+
};
|
|
495
|
+
timeout?: number;
|
|
496
|
+
customFetchImpl?: _better_fetch_fetch0.FetchEsque;
|
|
497
|
+
plugins?: _better_fetch_fetch0.BetterFetchPlugin[];
|
|
498
|
+
baseURL?: string;
|
|
499
|
+
throw?: boolean;
|
|
500
|
+
auth?: {
|
|
501
|
+
type: "Bearer";
|
|
502
|
+
token: string | Promise<string> | (() => string | Promise<string>);
|
|
503
|
+
} | {
|
|
504
|
+
type: "Basic";
|
|
505
|
+
username: string | (() => string);
|
|
506
|
+
password: string | (() => string);
|
|
507
|
+
} | {
|
|
508
|
+
type: "Custom";
|
|
509
|
+
prefix: string | (() => string);
|
|
510
|
+
value: string | (() => string);
|
|
511
|
+
};
|
|
512
|
+
body?: Partial<{
|
|
513
|
+
email: string;
|
|
514
|
+
redirectTo?: string | undefined;
|
|
515
|
+
}> & Record<string, any>;
|
|
516
|
+
query?: Partial<Record<string, any>> & Record<string, any>;
|
|
517
|
+
params?: Record<string, any>;
|
|
518
|
+
duplex?: "full" | "half";
|
|
519
|
+
jsonParser?: (text: string) => Promise<any> | any;
|
|
520
|
+
retry?: _better_fetch_fetch0.RetryOptions;
|
|
521
|
+
retryAttempt?: number;
|
|
522
|
+
output?: _better_fetch_fetch0.StandardSchemaV1 | typeof Blob | typeof File;
|
|
523
|
+
errorSchema?: _better_fetch_fetch0.StandardSchemaV1;
|
|
524
|
+
disableValidation?: boolean;
|
|
525
|
+
};
|
|
526
|
+
}>, unknown>;
|
|
527
|
+
declare const useResetPassword: () => _tanstack_react_query0.UseMutationResult<{
|
|
528
|
+
data: {
|
|
529
|
+
status: boolean;
|
|
530
|
+
};
|
|
531
|
+
error: null;
|
|
532
|
+
} | {
|
|
533
|
+
data: null;
|
|
534
|
+
error: {
|
|
535
|
+
code?: string;
|
|
536
|
+
message?: string;
|
|
537
|
+
status: number;
|
|
538
|
+
statusText: string;
|
|
539
|
+
};
|
|
540
|
+
}, Error, better_auth0.Prettify<{
|
|
541
|
+
newPassword: string;
|
|
542
|
+
token?: string | undefined;
|
|
543
|
+
} & {
|
|
544
|
+
fetchOptions?: {
|
|
545
|
+
cache?: RequestCache;
|
|
546
|
+
credentials?: RequestCredentials;
|
|
547
|
+
headers?: HeadersInit & (HeadersInit | {
|
|
548
|
+
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
549
|
+
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
550
|
+
authorization: "Bearer" | "Basic";
|
|
551
|
+
});
|
|
552
|
+
integrity?: string;
|
|
553
|
+
keepalive?: boolean;
|
|
554
|
+
method?: string;
|
|
555
|
+
mode?: RequestMode;
|
|
556
|
+
priority?: RequestPriority;
|
|
557
|
+
redirect?: RequestRedirect;
|
|
558
|
+
referrer?: string;
|
|
559
|
+
referrerPolicy?: ReferrerPolicy;
|
|
560
|
+
signal?: AbortSignal | null;
|
|
561
|
+
window?: null;
|
|
562
|
+
onRequest?: <T extends Record<string, any>>(context: _better_fetch_fetch0.RequestContext<T>) => Promise<_better_fetch_fetch0.RequestContext | void> | _better_fetch_fetch0.RequestContext | void;
|
|
563
|
+
onResponse?: (context: _better_fetch_fetch0.ResponseContext) => Promise<Response | void | _better_fetch_fetch0.ResponseContext> | Response | _better_fetch_fetch0.ResponseContext | void;
|
|
564
|
+
onSuccess?: (context: _better_fetch_fetch0.SuccessContext<any>) => Promise<void> | void;
|
|
565
|
+
onError?: (context: _better_fetch_fetch0.ErrorContext) => Promise<void> | void;
|
|
566
|
+
onRetry?: (response: _better_fetch_fetch0.ResponseContext) => Promise<void> | void;
|
|
567
|
+
hookOptions?: {
|
|
568
|
+
cloneResponse?: boolean;
|
|
569
|
+
};
|
|
570
|
+
timeout?: number;
|
|
571
|
+
customFetchImpl?: _better_fetch_fetch0.FetchEsque;
|
|
572
|
+
plugins?: _better_fetch_fetch0.BetterFetchPlugin[];
|
|
573
|
+
baseURL?: string;
|
|
574
|
+
throw?: boolean;
|
|
575
|
+
auth?: {
|
|
576
|
+
type: "Bearer";
|
|
577
|
+
token: string | Promise<string> | (() => string | Promise<string>);
|
|
578
|
+
} | {
|
|
579
|
+
type: "Basic";
|
|
580
|
+
username: string | (() => string);
|
|
581
|
+
password: string | (() => string);
|
|
582
|
+
} | {
|
|
583
|
+
type: "Custom";
|
|
584
|
+
prefix: string | (() => string);
|
|
585
|
+
value: string | (() => string);
|
|
586
|
+
};
|
|
587
|
+
body?: Partial<{
|
|
588
|
+
newPassword: string;
|
|
589
|
+
token?: string | undefined;
|
|
590
|
+
}> & Record<string, any>;
|
|
591
|
+
query?: Partial<{
|
|
592
|
+
token?: string | undefined;
|
|
593
|
+
}> & Record<string, any>;
|
|
594
|
+
params?: Record<string, any>;
|
|
595
|
+
duplex?: "full" | "half";
|
|
596
|
+
jsonParser?: (text: string) => Promise<any> | any;
|
|
597
|
+
retry?: _better_fetch_fetch0.RetryOptions;
|
|
598
|
+
retryAttempt?: number;
|
|
599
|
+
output?: _better_fetch_fetch0.StandardSchemaV1 | typeof Blob | typeof File;
|
|
600
|
+
errorSchema?: _better_fetch_fetch0.StandardSchemaV1;
|
|
601
|
+
disableValidation?: boolean;
|
|
602
|
+
};
|
|
603
|
+
}>, unknown>;
|
|
604
|
+
declare const useVerifyEmail: () => _tanstack_react_query0.UseMutationResult<{
|
|
605
|
+
data: NonNullable<void | {
|
|
606
|
+
status: boolean;
|
|
607
|
+
user: {
|
|
608
|
+
id: string;
|
|
609
|
+
email: string;
|
|
610
|
+
name: string;
|
|
611
|
+
image: string | null | undefined;
|
|
612
|
+
emailVerified: boolean;
|
|
613
|
+
createdAt: Date;
|
|
614
|
+
updatedAt: Date;
|
|
615
|
+
};
|
|
616
|
+
} | {
|
|
617
|
+
status: boolean;
|
|
618
|
+
user: null;
|
|
619
|
+
}>;
|
|
620
|
+
error: null;
|
|
621
|
+
} | {
|
|
622
|
+
data: null;
|
|
623
|
+
error: {
|
|
624
|
+
code?: string;
|
|
625
|
+
message?: string;
|
|
626
|
+
status: number;
|
|
627
|
+
statusText: string;
|
|
628
|
+
};
|
|
629
|
+
}, Error, better_auth0.Prettify<undefined>, unknown>;
|
|
630
|
+
declare const useGetUserByAccount: () => _tanstack_react_query0.UseMutationResult<{
|
|
631
|
+
data: {
|
|
632
|
+
user: packages_core_dist_oauth2.OAuth2UserInfo;
|
|
633
|
+
data: Record<string, any>;
|
|
634
|
+
};
|
|
635
|
+
error: null;
|
|
636
|
+
} | {
|
|
637
|
+
data: null;
|
|
638
|
+
error: {
|
|
639
|
+
code?: string;
|
|
640
|
+
message?: string;
|
|
641
|
+
status: number;
|
|
642
|
+
statusText: string;
|
|
643
|
+
};
|
|
644
|
+
}, Error, better_auth0.Prettify<{
|
|
645
|
+
accountId: string;
|
|
646
|
+
} & {
|
|
647
|
+
fetchOptions?: {
|
|
648
|
+
cache?: RequestCache;
|
|
649
|
+
credentials?: RequestCredentials;
|
|
650
|
+
headers?: HeadersInit & (HeadersInit | {
|
|
651
|
+
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
652
|
+
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
653
|
+
authorization: "Bearer" | "Basic";
|
|
654
|
+
});
|
|
655
|
+
integrity?: string;
|
|
656
|
+
keepalive?: boolean;
|
|
657
|
+
method?: string;
|
|
658
|
+
mode?: RequestMode;
|
|
659
|
+
priority?: RequestPriority;
|
|
660
|
+
redirect?: RequestRedirect;
|
|
661
|
+
referrer?: string;
|
|
662
|
+
referrerPolicy?: ReferrerPolicy;
|
|
663
|
+
signal?: AbortSignal | null;
|
|
664
|
+
window?: null;
|
|
665
|
+
onRequest?: <T extends Record<string, any>>(context: _better_fetch_fetch0.RequestContext<T>) => Promise<_better_fetch_fetch0.RequestContext | void> | _better_fetch_fetch0.RequestContext | void;
|
|
666
|
+
onResponse?: (context: _better_fetch_fetch0.ResponseContext) => Promise<Response | void | _better_fetch_fetch0.ResponseContext> | Response | _better_fetch_fetch0.ResponseContext | void;
|
|
667
|
+
onSuccess?: (context: _better_fetch_fetch0.SuccessContext<any>) => Promise<void> | void;
|
|
668
|
+
onError?: (context: _better_fetch_fetch0.ErrorContext) => Promise<void> | void;
|
|
669
|
+
onRetry?: (response: _better_fetch_fetch0.ResponseContext) => Promise<void> | void;
|
|
670
|
+
hookOptions?: {
|
|
671
|
+
cloneResponse?: boolean;
|
|
672
|
+
};
|
|
673
|
+
timeout?: number;
|
|
674
|
+
customFetchImpl?: _better_fetch_fetch0.FetchEsque;
|
|
675
|
+
plugins?: _better_fetch_fetch0.BetterFetchPlugin[];
|
|
676
|
+
baseURL?: string;
|
|
677
|
+
throw?: boolean;
|
|
678
|
+
auth?: {
|
|
679
|
+
type: "Bearer";
|
|
680
|
+
token: string | Promise<string> | (() => string | Promise<string>);
|
|
681
|
+
} | {
|
|
682
|
+
type: "Basic";
|
|
683
|
+
username: string | (() => string);
|
|
684
|
+
password: string | (() => string);
|
|
685
|
+
} | {
|
|
686
|
+
type: "Custom";
|
|
687
|
+
prefix: string | (() => string);
|
|
688
|
+
value: string | (() => string);
|
|
689
|
+
};
|
|
690
|
+
body?: Partial<{
|
|
691
|
+
accountId: string;
|
|
692
|
+
}> & Record<string, any>;
|
|
693
|
+
query?: Partial<Record<string, any>> & Record<string, any>;
|
|
694
|
+
params?: Record<string, any>;
|
|
695
|
+
duplex?: "full" | "half";
|
|
696
|
+
jsonParser?: (text: string) => Promise<any> | any;
|
|
697
|
+
retry?: _better_fetch_fetch0.RetryOptions;
|
|
698
|
+
retryAttempt?: number;
|
|
699
|
+
output?: _better_fetch_fetch0.StandardSchemaV1 | typeof Blob | typeof File;
|
|
700
|
+
errorSchema?: _better_fetch_fetch0.StandardSchemaV1;
|
|
701
|
+
disableValidation?: boolean;
|
|
702
|
+
};
|
|
703
|
+
}>, unknown>;
|
|
704
|
+
declare const useEnableTwoFactor: () => _tanstack_react_query0.UseMutationResult<{
|
|
705
|
+
data: {
|
|
706
|
+
totpURI: string;
|
|
707
|
+
backupCodes: string[];
|
|
708
|
+
};
|
|
709
|
+
error: null;
|
|
710
|
+
} | {
|
|
711
|
+
data: null;
|
|
712
|
+
error: {
|
|
713
|
+
code?: string;
|
|
714
|
+
message?: string;
|
|
715
|
+
status: number;
|
|
716
|
+
statusText: string;
|
|
717
|
+
};
|
|
718
|
+
}, Error, better_auth0.Prettify<{
|
|
719
|
+
password: string;
|
|
720
|
+
issuer?: string | undefined;
|
|
721
|
+
} & {
|
|
722
|
+
fetchOptions?: {
|
|
723
|
+
cache?: RequestCache;
|
|
724
|
+
credentials?: RequestCredentials;
|
|
725
|
+
headers?: HeadersInit & (HeadersInit | {
|
|
726
|
+
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
727
|
+
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
728
|
+
authorization: "Bearer" | "Basic";
|
|
729
|
+
});
|
|
730
|
+
integrity?: string;
|
|
731
|
+
keepalive?: boolean;
|
|
732
|
+
method?: string;
|
|
733
|
+
mode?: RequestMode;
|
|
734
|
+
priority?: RequestPriority;
|
|
735
|
+
redirect?: RequestRedirect;
|
|
736
|
+
referrer?: string;
|
|
737
|
+
referrerPolicy?: ReferrerPolicy;
|
|
738
|
+
signal?: AbortSignal | null;
|
|
739
|
+
window?: null;
|
|
740
|
+
onRequest?: <T extends Record<string, any>>(context: _better_fetch_fetch0.RequestContext<T>) => Promise<_better_fetch_fetch0.RequestContext | void> | _better_fetch_fetch0.RequestContext | void;
|
|
741
|
+
onResponse?: (context: _better_fetch_fetch0.ResponseContext) => Promise<Response | void | _better_fetch_fetch0.ResponseContext> | Response | _better_fetch_fetch0.ResponseContext | void;
|
|
742
|
+
onSuccess?: (context: _better_fetch_fetch0.SuccessContext<any>) => Promise<void> | void;
|
|
743
|
+
onError?: (context: _better_fetch_fetch0.ErrorContext) => Promise<void> | void;
|
|
744
|
+
onRetry?: (response: _better_fetch_fetch0.ResponseContext) => Promise<void> | void;
|
|
745
|
+
hookOptions?: {
|
|
746
|
+
cloneResponse?: boolean;
|
|
747
|
+
};
|
|
748
|
+
timeout?: number;
|
|
749
|
+
customFetchImpl?: _better_fetch_fetch0.FetchEsque;
|
|
750
|
+
plugins?: _better_fetch_fetch0.BetterFetchPlugin[];
|
|
751
|
+
baseURL?: string;
|
|
752
|
+
throw?: boolean;
|
|
753
|
+
auth?: {
|
|
754
|
+
type: "Bearer";
|
|
755
|
+
token: string | Promise<string> | (() => string | Promise<string>);
|
|
756
|
+
} | {
|
|
757
|
+
type: "Basic";
|
|
758
|
+
username: string | (() => string);
|
|
759
|
+
password: string | (() => string);
|
|
760
|
+
} | {
|
|
761
|
+
type: "Custom";
|
|
762
|
+
prefix: string | (() => string);
|
|
763
|
+
value: string | (() => string);
|
|
764
|
+
};
|
|
765
|
+
body?: Partial<{
|
|
766
|
+
password: string;
|
|
767
|
+
issuer?: string | undefined;
|
|
768
|
+
}> & Record<string, any>;
|
|
769
|
+
query?: Partial<Record<string, any>> & Record<string, any>;
|
|
770
|
+
params?: Record<string, any>;
|
|
771
|
+
duplex?: "full" | "half";
|
|
772
|
+
jsonParser?: (text: string) => Promise<any> | any;
|
|
773
|
+
retry?: _better_fetch_fetch0.RetryOptions;
|
|
774
|
+
retryAttempt?: number;
|
|
775
|
+
output?: _better_fetch_fetch0.StandardSchemaV1 | typeof Blob | typeof File;
|
|
776
|
+
errorSchema?: _better_fetch_fetch0.StandardSchemaV1;
|
|
777
|
+
disableValidation?: boolean;
|
|
778
|
+
};
|
|
779
|
+
}>, unknown>;
|
|
780
|
+
declare const useDisableTwoFactor: () => _tanstack_react_query0.UseMutationResult<{
|
|
781
|
+
data: {
|
|
782
|
+
status: boolean;
|
|
783
|
+
};
|
|
784
|
+
error: null;
|
|
785
|
+
} | {
|
|
786
|
+
data: null;
|
|
787
|
+
error: {
|
|
788
|
+
code?: string;
|
|
789
|
+
message?: string;
|
|
790
|
+
status: number;
|
|
791
|
+
statusText: string;
|
|
792
|
+
};
|
|
793
|
+
}, Error, better_auth0.Prettify<{
|
|
794
|
+
password: string;
|
|
795
|
+
} & {
|
|
796
|
+
fetchOptions?: {
|
|
797
|
+
cache?: RequestCache;
|
|
798
|
+
credentials?: RequestCredentials;
|
|
799
|
+
headers?: HeadersInit & (HeadersInit | {
|
|
800
|
+
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
801
|
+
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
802
|
+
authorization: "Bearer" | "Basic";
|
|
803
|
+
});
|
|
804
|
+
integrity?: string;
|
|
805
|
+
keepalive?: boolean;
|
|
806
|
+
method?: string;
|
|
807
|
+
mode?: RequestMode;
|
|
808
|
+
priority?: RequestPriority;
|
|
809
|
+
redirect?: RequestRedirect;
|
|
810
|
+
referrer?: string;
|
|
811
|
+
referrerPolicy?: ReferrerPolicy;
|
|
812
|
+
signal?: AbortSignal | null;
|
|
813
|
+
window?: null;
|
|
814
|
+
onRequest?: <T extends Record<string, any>>(context: _better_fetch_fetch0.RequestContext<T>) => Promise<_better_fetch_fetch0.RequestContext | void> | _better_fetch_fetch0.RequestContext | void;
|
|
815
|
+
onResponse?: (context: _better_fetch_fetch0.ResponseContext) => Promise<Response | void | _better_fetch_fetch0.ResponseContext> | Response | _better_fetch_fetch0.ResponseContext | void;
|
|
816
|
+
onSuccess?: (context: _better_fetch_fetch0.SuccessContext<any>) => Promise<void> | void;
|
|
817
|
+
onError?: (context: _better_fetch_fetch0.ErrorContext) => Promise<void> | void;
|
|
818
|
+
onRetry?: (response: _better_fetch_fetch0.ResponseContext) => Promise<void> | void;
|
|
819
|
+
hookOptions?: {
|
|
820
|
+
cloneResponse?: boolean;
|
|
821
|
+
};
|
|
822
|
+
timeout?: number;
|
|
823
|
+
customFetchImpl?: _better_fetch_fetch0.FetchEsque;
|
|
824
|
+
plugins?: _better_fetch_fetch0.BetterFetchPlugin[];
|
|
825
|
+
baseURL?: string;
|
|
826
|
+
throw?: boolean;
|
|
827
|
+
auth?: {
|
|
828
|
+
type: "Bearer";
|
|
829
|
+
token: string | Promise<string> | (() => string | Promise<string>);
|
|
830
|
+
} | {
|
|
831
|
+
type: "Basic";
|
|
832
|
+
username: string | (() => string);
|
|
833
|
+
password: string | (() => string);
|
|
834
|
+
} | {
|
|
835
|
+
type: "Custom";
|
|
836
|
+
prefix: string | (() => string);
|
|
837
|
+
value: string | (() => string);
|
|
838
|
+
};
|
|
839
|
+
body?: Partial<{
|
|
840
|
+
password: string;
|
|
841
|
+
}> & Record<string, any>;
|
|
842
|
+
query?: Partial<Record<string, any>> & Record<string, any>;
|
|
843
|
+
params?: Record<string, any>;
|
|
844
|
+
duplex?: "full" | "half";
|
|
845
|
+
jsonParser?: (text: string) => Promise<any> | any;
|
|
846
|
+
retry?: _better_fetch_fetch0.RetryOptions;
|
|
847
|
+
retryAttempt?: number;
|
|
848
|
+
output?: _better_fetch_fetch0.StandardSchemaV1 | typeof Blob | typeof File;
|
|
849
|
+
errorSchema?: _better_fetch_fetch0.StandardSchemaV1;
|
|
850
|
+
disableValidation?: boolean;
|
|
851
|
+
};
|
|
852
|
+
}>, unknown>;
|
|
853
|
+
declare const useVerifyTotp: () => _tanstack_react_query0.UseMutationResult<{
|
|
854
|
+
data: {
|
|
855
|
+
token: string;
|
|
856
|
+
user: {
|
|
857
|
+
id: string;
|
|
858
|
+
email: string;
|
|
859
|
+
emailVerified: boolean;
|
|
860
|
+
name: string;
|
|
861
|
+
image: string | null | undefined;
|
|
862
|
+
createdAt: Date;
|
|
863
|
+
updatedAt: Date;
|
|
864
|
+
};
|
|
865
|
+
};
|
|
866
|
+
error: null;
|
|
867
|
+
} | {
|
|
868
|
+
data: null;
|
|
869
|
+
error: {
|
|
870
|
+
code?: string;
|
|
871
|
+
message?: string;
|
|
872
|
+
status: number;
|
|
873
|
+
statusText: string;
|
|
874
|
+
};
|
|
875
|
+
}, Error, better_auth0.Prettify<{
|
|
876
|
+
code: string;
|
|
877
|
+
trustDevice?: boolean | undefined;
|
|
878
|
+
} & {
|
|
879
|
+
fetchOptions?: {
|
|
880
|
+
cache?: RequestCache;
|
|
881
|
+
credentials?: RequestCredentials;
|
|
882
|
+
headers?: HeadersInit & (HeadersInit | {
|
|
883
|
+
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
884
|
+
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
885
|
+
authorization: "Bearer" | "Basic";
|
|
886
|
+
});
|
|
887
|
+
integrity?: string;
|
|
888
|
+
keepalive?: boolean;
|
|
889
|
+
method?: string;
|
|
890
|
+
mode?: RequestMode;
|
|
891
|
+
priority?: RequestPriority;
|
|
892
|
+
redirect?: RequestRedirect;
|
|
893
|
+
referrer?: string;
|
|
894
|
+
referrerPolicy?: ReferrerPolicy;
|
|
895
|
+
signal?: AbortSignal | null;
|
|
896
|
+
window?: null;
|
|
897
|
+
onRequest?: <T extends Record<string, any>>(context: _better_fetch_fetch0.RequestContext<T>) => Promise<_better_fetch_fetch0.RequestContext | void> | _better_fetch_fetch0.RequestContext | void;
|
|
898
|
+
onResponse?: (context: _better_fetch_fetch0.ResponseContext) => Promise<Response | void | _better_fetch_fetch0.ResponseContext> | Response | _better_fetch_fetch0.ResponseContext | void;
|
|
899
|
+
onSuccess?: (context: _better_fetch_fetch0.SuccessContext<any>) => Promise<void> | void;
|
|
900
|
+
onError?: (context: _better_fetch_fetch0.ErrorContext) => Promise<void> | void;
|
|
901
|
+
onRetry?: (response: _better_fetch_fetch0.ResponseContext) => Promise<void> | void;
|
|
902
|
+
hookOptions?: {
|
|
903
|
+
cloneResponse?: boolean;
|
|
904
|
+
};
|
|
905
|
+
timeout?: number;
|
|
906
|
+
customFetchImpl?: _better_fetch_fetch0.FetchEsque;
|
|
907
|
+
plugins?: _better_fetch_fetch0.BetterFetchPlugin[];
|
|
908
|
+
baseURL?: string;
|
|
909
|
+
throw?: boolean;
|
|
910
|
+
auth?: {
|
|
911
|
+
type: "Bearer";
|
|
912
|
+
token: string | Promise<string> | (() => string | Promise<string>);
|
|
913
|
+
} | {
|
|
914
|
+
type: "Basic";
|
|
915
|
+
username: string | (() => string);
|
|
916
|
+
password: string | (() => string);
|
|
917
|
+
} | {
|
|
918
|
+
type: "Custom";
|
|
919
|
+
prefix: string | (() => string);
|
|
920
|
+
value: string | (() => string);
|
|
921
|
+
};
|
|
922
|
+
body?: Partial<{
|
|
923
|
+
code: string;
|
|
924
|
+
trustDevice?: boolean | undefined;
|
|
925
|
+
}> & Record<string, any>;
|
|
926
|
+
query?: Partial<Record<string, any>> & Record<string, any>;
|
|
927
|
+
params?: Record<string, any>;
|
|
928
|
+
duplex?: "full" | "half";
|
|
929
|
+
jsonParser?: (text: string) => Promise<any> | any;
|
|
930
|
+
retry?: _better_fetch_fetch0.RetryOptions;
|
|
931
|
+
retryAttempt?: number;
|
|
932
|
+
output?: _better_fetch_fetch0.StandardSchemaV1 | typeof Blob | typeof File;
|
|
933
|
+
errorSchema?: _better_fetch_fetch0.StandardSchemaV1;
|
|
934
|
+
disableValidation?: boolean;
|
|
935
|
+
};
|
|
936
|
+
}>, unknown>;
|
|
937
|
+
declare const useVerifyBackupCode: () => _tanstack_react_query0.UseMutationResult<{
|
|
938
|
+
data: {
|
|
939
|
+
token: string | undefined;
|
|
940
|
+
user: {
|
|
941
|
+
id: string;
|
|
942
|
+
email: string;
|
|
943
|
+
emailVerified: boolean;
|
|
944
|
+
name: string;
|
|
945
|
+
image: string | null | undefined;
|
|
946
|
+
createdAt: Date;
|
|
947
|
+
updatedAt: Date;
|
|
948
|
+
};
|
|
949
|
+
};
|
|
950
|
+
error: null;
|
|
951
|
+
} | {
|
|
952
|
+
data: null;
|
|
953
|
+
error: {
|
|
954
|
+
code?: string;
|
|
955
|
+
message?: string;
|
|
956
|
+
status: number;
|
|
957
|
+
statusText: string;
|
|
958
|
+
};
|
|
959
|
+
}, Error, better_auth0.Prettify<{
|
|
960
|
+
code: string;
|
|
961
|
+
disableSession?: boolean | undefined;
|
|
962
|
+
trustDevice?: boolean | undefined;
|
|
963
|
+
} & {
|
|
964
|
+
fetchOptions?: {
|
|
965
|
+
cache?: RequestCache;
|
|
966
|
+
credentials?: RequestCredentials;
|
|
967
|
+
headers?: HeadersInit & (HeadersInit | {
|
|
968
|
+
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
969
|
+
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
970
|
+
authorization: "Bearer" | "Basic";
|
|
971
|
+
});
|
|
972
|
+
integrity?: string;
|
|
973
|
+
keepalive?: boolean;
|
|
974
|
+
method?: string;
|
|
975
|
+
mode?: RequestMode;
|
|
976
|
+
priority?: RequestPriority;
|
|
977
|
+
redirect?: RequestRedirect;
|
|
978
|
+
referrer?: string;
|
|
979
|
+
referrerPolicy?: ReferrerPolicy;
|
|
980
|
+
signal?: AbortSignal | null;
|
|
981
|
+
window?: null;
|
|
982
|
+
onRequest?: <T extends Record<string, any>>(context: _better_fetch_fetch0.RequestContext<T>) => Promise<_better_fetch_fetch0.RequestContext | void> | _better_fetch_fetch0.RequestContext | void;
|
|
983
|
+
onResponse?: (context: _better_fetch_fetch0.ResponseContext) => Promise<Response | void | _better_fetch_fetch0.ResponseContext> | Response | _better_fetch_fetch0.ResponseContext | void;
|
|
984
|
+
onSuccess?: (context: _better_fetch_fetch0.SuccessContext<any>) => Promise<void> | void;
|
|
985
|
+
onError?: (context: _better_fetch_fetch0.ErrorContext) => Promise<void> | void;
|
|
986
|
+
onRetry?: (response: _better_fetch_fetch0.ResponseContext) => Promise<void> | void;
|
|
987
|
+
hookOptions?: {
|
|
988
|
+
cloneResponse?: boolean;
|
|
989
|
+
};
|
|
990
|
+
timeout?: number;
|
|
991
|
+
customFetchImpl?: _better_fetch_fetch0.FetchEsque;
|
|
992
|
+
plugins?: _better_fetch_fetch0.BetterFetchPlugin[];
|
|
993
|
+
baseURL?: string;
|
|
994
|
+
throw?: boolean;
|
|
995
|
+
auth?: {
|
|
996
|
+
type: "Bearer";
|
|
997
|
+
token: string | Promise<string> | (() => string | Promise<string>);
|
|
998
|
+
} | {
|
|
999
|
+
type: "Basic";
|
|
1000
|
+
username: string | (() => string);
|
|
1001
|
+
password: string | (() => string);
|
|
1002
|
+
} | {
|
|
1003
|
+
type: "Custom";
|
|
1004
|
+
prefix: string | (() => string);
|
|
1005
|
+
value: string | (() => string);
|
|
1006
|
+
};
|
|
1007
|
+
body?: Partial<{
|
|
1008
|
+
code: string;
|
|
1009
|
+
disableSession?: boolean | undefined;
|
|
1010
|
+
trustDevice?: boolean | undefined;
|
|
1011
|
+
}> & Record<string, any>;
|
|
1012
|
+
query?: Partial<Record<string, any>> & Record<string, any>;
|
|
1013
|
+
params?: Record<string, any>;
|
|
1014
|
+
duplex?: "full" | "half";
|
|
1015
|
+
jsonParser?: (text: string) => Promise<any> | any;
|
|
1016
|
+
retry?: _better_fetch_fetch0.RetryOptions;
|
|
1017
|
+
retryAttempt?: number;
|
|
1018
|
+
output?: _better_fetch_fetch0.StandardSchemaV1 | typeof Blob | typeof File;
|
|
1019
|
+
errorSchema?: _better_fetch_fetch0.StandardSchemaV1;
|
|
1020
|
+
disableValidation?: boolean;
|
|
1021
|
+
};
|
|
1022
|
+
}>, unknown>;
|
|
1023
|
+
declare const useAddPasskey: () => _tanstack_react_query0.UseMutationResult<{
|
|
1024
|
+
data: null;
|
|
1025
|
+
error: {
|
|
1026
|
+
message?: string | undefined;
|
|
1027
|
+
status: number;
|
|
1028
|
+
statusText: string;
|
|
1029
|
+
};
|
|
1030
|
+
} | {
|
|
1031
|
+
data: null;
|
|
1032
|
+
error: {
|
|
1033
|
+
code: string;
|
|
1034
|
+
message: string;
|
|
1035
|
+
status: number;
|
|
1036
|
+
statusText: string;
|
|
1037
|
+
};
|
|
1038
|
+
}, Error, {
|
|
1039
|
+
fetchOptions?: _better_fetch_fetch0.BetterFetchOption;
|
|
1040
|
+
name?: string;
|
|
1041
|
+
authenticatorAttachment?: "platform" | "cross-platform";
|
|
1042
|
+
useAutoRegister?: boolean;
|
|
1043
|
+
}, unknown>;
|
|
1044
|
+
declare const useSignInPasskey: () => _tanstack_react_query0.UseMutationResult<{
|
|
1045
|
+
data: null;
|
|
1046
|
+
error: {
|
|
1047
|
+
message?: string | undefined;
|
|
1048
|
+
status: number;
|
|
1049
|
+
statusText: string;
|
|
1050
|
+
};
|
|
1051
|
+
} | {
|
|
1052
|
+
data: {
|
|
1053
|
+
session: inspector0.Session;
|
|
1054
|
+
user: better_auth0.User;
|
|
1055
|
+
};
|
|
1056
|
+
error: null;
|
|
1057
|
+
} | {
|
|
1058
|
+
data: null;
|
|
1059
|
+
error: {
|
|
1060
|
+
code: string;
|
|
1061
|
+
message: string;
|
|
1062
|
+
status: number;
|
|
1063
|
+
statusText: string;
|
|
1064
|
+
};
|
|
1065
|
+
}, Error, {
|
|
1066
|
+
autoFill?: boolean;
|
|
1067
|
+
fetchOptions?: _better_fetch_fetch0.BetterFetchOption;
|
|
1068
|
+
}, unknown>;
|
|
1069
|
+
declare const useDeletePasskey: () => _tanstack_react_query0.UseMutationResult<{
|
|
1070
|
+
data: never;
|
|
1071
|
+
error: null;
|
|
1072
|
+
} | {
|
|
1073
|
+
data: null;
|
|
1074
|
+
error: {
|
|
1075
|
+
code?: string;
|
|
1076
|
+
message?: string;
|
|
1077
|
+
status: number;
|
|
1078
|
+
statusText: string;
|
|
1079
|
+
};
|
|
1080
|
+
}, Error, better_auth0.Prettify<{
|
|
1081
|
+
id: string;
|
|
1082
|
+
} & {
|
|
1083
|
+
fetchOptions?: {
|
|
1084
|
+
cache?: RequestCache;
|
|
1085
|
+
credentials?: RequestCredentials;
|
|
1086
|
+
headers?: HeadersInit & (HeadersInit | {
|
|
1087
|
+
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
1088
|
+
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
1089
|
+
authorization: "Bearer" | "Basic";
|
|
1090
|
+
});
|
|
1091
|
+
integrity?: string;
|
|
1092
|
+
keepalive?: boolean;
|
|
1093
|
+
method?: string;
|
|
1094
|
+
mode?: RequestMode;
|
|
1095
|
+
priority?: RequestPriority;
|
|
1096
|
+
redirect?: RequestRedirect;
|
|
1097
|
+
referrer?: string;
|
|
1098
|
+
referrerPolicy?: ReferrerPolicy;
|
|
1099
|
+
signal?: AbortSignal | null;
|
|
1100
|
+
window?: null;
|
|
1101
|
+
onRequest?: <T extends Record<string, any>>(context: _better_fetch_fetch0.RequestContext<T>) => Promise<_better_fetch_fetch0.RequestContext | void> | _better_fetch_fetch0.RequestContext | void;
|
|
1102
|
+
onResponse?: (context: _better_fetch_fetch0.ResponseContext) => Promise<Response | void | _better_fetch_fetch0.ResponseContext> | Response | _better_fetch_fetch0.ResponseContext | void;
|
|
1103
|
+
onSuccess?: (context: _better_fetch_fetch0.SuccessContext<any>) => Promise<void> | void;
|
|
1104
|
+
onError?: (context: _better_fetch_fetch0.ErrorContext) => Promise<void> | void;
|
|
1105
|
+
onRetry?: (response: _better_fetch_fetch0.ResponseContext) => Promise<void> | void;
|
|
1106
|
+
hookOptions?: {
|
|
1107
|
+
cloneResponse?: boolean;
|
|
1108
|
+
};
|
|
1109
|
+
timeout?: number;
|
|
1110
|
+
customFetchImpl?: _better_fetch_fetch0.FetchEsque;
|
|
1111
|
+
plugins?: _better_fetch_fetch0.BetterFetchPlugin[];
|
|
1112
|
+
baseURL?: string;
|
|
1113
|
+
throw?: boolean;
|
|
1114
|
+
auth?: {
|
|
1115
|
+
type: "Bearer";
|
|
1116
|
+
token: string | Promise<string> | (() => string | Promise<string>);
|
|
1117
|
+
} | {
|
|
1118
|
+
type: "Basic";
|
|
1119
|
+
username: string | (() => string);
|
|
1120
|
+
password: string | (() => string);
|
|
1121
|
+
} | {
|
|
1122
|
+
type: "Custom";
|
|
1123
|
+
prefix: string | (() => string);
|
|
1124
|
+
value: string | (() => string);
|
|
1125
|
+
};
|
|
1126
|
+
body?: Partial<{
|
|
1127
|
+
id: string;
|
|
1128
|
+
}> & Record<string, any>;
|
|
1129
|
+
query?: Partial<Record<string, any>> & Record<string, any>;
|
|
1130
|
+
params?: Record<string, any>;
|
|
1131
|
+
duplex?: "full" | "half";
|
|
1132
|
+
jsonParser?: (text: string) => Promise<any> | any;
|
|
1133
|
+
retry?: _better_fetch_fetch0.RetryOptions;
|
|
1134
|
+
retryAttempt?: number;
|
|
1135
|
+
output?: _better_fetch_fetch0.StandardSchemaV1 | typeof Blob | typeof File;
|
|
1136
|
+
errorSchema?: _better_fetch_fetch0.StandardSchemaV1;
|
|
1137
|
+
disableValidation?: boolean;
|
|
1138
|
+
};
|
|
1139
|
+
}>, unknown>;
|
|
1140
|
+
declare const useListPasskeys: () => _tanstack_react_query0.UseQueryResult<any, Error>;
|
|
1141
|
+
declare const useSignInMagicLink: () => _tanstack_react_query0.UseMutationResult<{
|
|
1142
|
+
data: {
|
|
1143
|
+
status: boolean;
|
|
1144
|
+
};
|
|
1145
|
+
error: null;
|
|
1146
|
+
} | {
|
|
1147
|
+
data: null;
|
|
1148
|
+
error: {
|
|
1149
|
+
code?: string;
|
|
1150
|
+
message?: string;
|
|
1151
|
+
status: number;
|
|
1152
|
+
statusText: string;
|
|
1153
|
+
};
|
|
1154
|
+
}, Error, any, unknown>;
|
|
22
1155
|
/**
|
|
23
1156
|
* User
|
|
24
1157
|
*/
|
|
25
|
-
declare const useGetUsers: (filters?: GetUsersParams, options?: Partial<UseQueryOptions>) =>
|
|
26
|
-
declare const useGetUserById: (userId: string) =>
|
|
27
|
-
declare const useCreateUser: () =>
|
|
28
|
-
declare const useUpdateUser: () =>
|
|
29
|
-
|
|
1158
|
+
declare const useGetUsers: (filters?: GetUsersParams, options?: Partial<UseQueryOptions>) => _tanstack_react_query0.UseQueryResult<unknown, Error>;
|
|
1159
|
+
declare const useGetUserById: (userId: string) => _tanstack_react_query0.UseQueryResult<unknown, Error>;
|
|
1160
|
+
declare const useCreateUser: () => _tanstack_react_query0.UseMutationResult<_intlayer_backend1.CreateUserResult, Error, CreateUserBody, unknown>;
|
|
1161
|
+
declare const useUpdateUser: () => _tanstack_react_query0.UseMutationResult<_intlayer_backend1.UpdateUserResult, Error, Partial<{
|
|
1162
|
+
id: string;
|
|
1163
|
+
lang?: string;
|
|
1164
|
+
role?: string;
|
|
1165
|
+
name: string;
|
|
1166
|
+
createdAt: Date;
|
|
1167
|
+
updatedAt: Date;
|
|
1168
|
+
email: string;
|
|
1169
|
+
emailVerified: boolean;
|
|
1170
|
+
image?: string;
|
|
1171
|
+
phone?: string;
|
|
1172
|
+
dateOfBirth?: Date;
|
|
1173
|
+
emailsList?: {
|
|
1174
|
+
newsLetter: boolean;
|
|
1175
|
+
};
|
|
1176
|
+
customerId?: string;
|
|
1177
|
+
lastLoginMethod?: "email" | "google" | "github" | "passkey";
|
|
1178
|
+
}>, unknown>;
|
|
1179
|
+
declare const useDeleteUser: () => _tanstack_react_query0.UseMutationResult<_intlayer_backend1.UpdateUserResult, Error, string, unknown>;
|
|
30
1180
|
/**
|
|
31
1181
|
* Organization
|
|
32
1182
|
*/
|
|
33
|
-
declare const useGetOrganizations: (filters?: GetOrganizationsParams) =>
|
|
34
|
-
declare const useAddOrganization: () =>
|
|
35
|
-
declare const useUpdateOrganization: () =>
|
|
36
|
-
declare const useUpdateOrganizationMembers: () =>
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
declare const
|
|
41
|
-
|
|
1183
|
+
declare const useGetOrganizations: (filters?: GetOrganizationsParams) => _tanstack_react_query0.UseQueryResult<unknown, Error>;
|
|
1184
|
+
declare const useAddOrganization: () => _tanstack_react_query0.UseMutationResult<_intlayer_backend1.AddOrganizationResult, Error, _intlayer_backend1.OrganizationCreationData, unknown>;
|
|
1185
|
+
declare const useUpdateOrganization: () => _tanstack_react_query0.UseMutationResult<_intlayer_backend1.UpdateOrganizationResult, Error, Partial<_intlayer_backend1.Organization>, unknown>;
|
|
1186
|
+
declare const useUpdateOrganizationMembers: () => _tanstack_react_query0.UseMutationResult<_intlayer_backend1.UpdateOrganizationMembersResult, Error, Partial<{
|
|
1187
|
+
membersIds: (_intlayer_backend1.User | _intlayer_backend1.UserAPI)["id"][];
|
|
1188
|
+
adminsIds: (_intlayer_backend1.User | _intlayer_backend1.UserAPI)["id"][];
|
|
1189
|
+
}>, unknown>;
|
|
1190
|
+
declare const useUpdateOrganizationMembersById: () => _tanstack_react_query0.UseMutationResult<_intlayer_backend1.UpdateOrganizationMembersResult, Error, {
|
|
1191
|
+
organizationId: string;
|
|
1192
|
+
membersIds: string[];
|
|
1193
|
+
adminsIds?: string[];
|
|
1194
|
+
}, unknown>;
|
|
1195
|
+
declare const useAddOrganizationMember: () => _tanstack_react_query0.UseMutationResult<_intlayer_backend1.AddOrganizationMemberResult, Error, AddOrganizationMemberBody, unknown>;
|
|
1196
|
+
declare const useDeleteOrganization: () => _tanstack_react_query0.UseMutationResult<_intlayer_backend1.DeleteOrganizationResult, Error, void, unknown>;
|
|
1197
|
+
declare const useSelectOrganization: () => _tanstack_react_query0.UseMutationResult<_intlayer_backend1.SelectOrganizationResult, Error, SelectOrganizationParam, unknown>;
|
|
1198
|
+
declare const useUnselectOrganization: () => _tanstack_react_query0.UseMutationResult<_intlayer_backend1.UnselectOrganizationResult, Error, void, unknown>;
|
|
42
1199
|
/**
|
|
43
1200
|
* Project
|
|
44
1201
|
*/
|
|
45
|
-
declare const useGetProjects: (filters?: GetProjectsParams, options?: Partial<UseQueryOptions>) =>
|
|
46
|
-
declare const useAddProject: () =>
|
|
47
|
-
declare const useUpdateProject: () =>
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
1202
|
+
declare const useGetProjects: (filters?: GetProjectsParams, options?: Partial<UseQueryOptions>) => _tanstack_react_query0.UseQueryResult<unknown, Error>;
|
|
1203
|
+
declare const useAddProject: () => _tanstack_react_query0.UseMutationResult<_intlayer_backend1.AddProjectResult, Error, _intlayer_backend1.ProjectCreationData, unknown>;
|
|
1204
|
+
declare const useUpdateProject: () => _tanstack_react_query0.UseMutationResult<_intlayer_backend1.UpdateProjectResult, Error, Partial<{
|
|
1205
|
+
organizationId: string;
|
|
1206
|
+
name: string;
|
|
1207
|
+
membersIds: string[];
|
|
1208
|
+
adminsIds: string[];
|
|
1209
|
+
creatorId: string;
|
|
1210
|
+
configuration?: {
|
|
1211
|
+
internationalization: {
|
|
1212
|
+
locales: intlayer0.Locale[];
|
|
1213
|
+
defaultLocale: intlayer0.Locale;
|
|
1214
|
+
};
|
|
1215
|
+
editor: {
|
|
1216
|
+
applicationURL: string;
|
|
1217
|
+
cmsURL: string;
|
|
1218
|
+
};
|
|
1219
|
+
};
|
|
1220
|
+
id: string;
|
|
1221
|
+
createdAt: number;
|
|
1222
|
+
updatedAt: number;
|
|
1223
|
+
oAuth2Access: {
|
|
1224
|
+
name: string;
|
|
1225
|
+
grants: string[];
|
|
1226
|
+
expiresAt?: Date;
|
|
1227
|
+
clientId: string;
|
|
1228
|
+
clientSecret: string;
|
|
1229
|
+
accessToken: string[];
|
|
1230
|
+
userId: string;
|
|
1231
|
+
id: string;
|
|
1232
|
+
createdAt: number;
|
|
1233
|
+
updatedAt: number;
|
|
1234
|
+
}[];
|
|
1235
|
+
}>, unknown>;
|
|
1236
|
+
declare const useUpdateProjectMembers: () => _tanstack_react_query0.UseMutationResult<_intlayer_backend1.UpdateProjectMembersResult, Error, Partial<{
|
|
1237
|
+
membersIds: _intlayer_backend1.ProjectMemberByIdOption[];
|
|
1238
|
+
}>, unknown>;
|
|
1239
|
+
declare const useDeleteProject: () => _tanstack_react_query0.UseMutationResult<_intlayer_backend1.DeleteProjectResult, Error, void, unknown>;
|
|
1240
|
+
declare const useSelectProject: () => _tanstack_react_query0.UseMutationResult<_intlayer_backend1.SelectProjectResult, Error, SelectProjectParam, unknown>;
|
|
1241
|
+
declare const useUnselectProject: () => _tanstack_react_query0.UseMutationResult<_intlayer_backend1.UnselectProjectResult, Error, void, unknown>;
|
|
1242
|
+
declare const useAddNewAccessKey: () => _tanstack_react_query0.UseMutationResult<_intlayer_backend1.AddNewAccessKeyResponse, Error, _intlayer_backend1.AccessKeyData, unknown>;
|
|
1243
|
+
declare const useDeleteAccessKey: () => _tanstack_react_query0.UseMutationResult<_intlayer_backend1.DeleteAccessKeyResponse, Error, DeleteAccessKeyBody, unknown>;
|
|
1244
|
+
declare const useRefreshAccessKey: () => _tanstack_react_query0.UseMutationResult<_intlayer_backend1.RefreshAccessKeyResponse, Error, RefreshAccessKeyBody, unknown>;
|
|
55
1245
|
/**
|
|
56
1246
|
* Dictionary
|
|
57
1247
|
*/
|
|
58
|
-
declare const useGetDictionaries: (filters?: GetDictionariesParams, options?: Partial<UseQueryOptions>) =>
|
|
59
|
-
declare const useGetDictionariesKeys: (options?: Partial<UseQueryOptions>) =>
|
|
60
|
-
declare const useGetDictionary: (dictionaryKey: GetDictionaryParams["dictionaryKey"], version?: GetDictionaryQuery["version"], options?: Partial<UseQueryOptions>) =>
|
|
61
|
-
declare const useAddDictionary: () =>
|
|
62
|
-
declare const usePushDictionaries: () =>
|
|
63
|
-
declare const useUpdateDictionary: () =>
|
|
64
|
-
declare const useDeleteDictionary: () =>
|
|
1248
|
+
declare const useGetDictionaries: (filters?: GetDictionariesParams, options?: Partial<UseQueryOptions>) => _tanstack_react_query0.UseQueryResult<unknown, Error>;
|
|
1249
|
+
declare const useGetDictionariesKeys: (options?: Partial<UseQueryOptions>) => _tanstack_react_query0.UseQueryResult<unknown, Error>;
|
|
1250
|
+
declare const useGetDictionary: (dictionaryKey: GetDictionaryParams["dictionaryKey"], version?: GetDictionaryQuery["version"], options?: Partial<UseQueryOptions>) => _tanstack_react_query0.UseQueryResult<unknown, Error>;
|
|
1251
|
+
declare const useAddDictionary: () => _tanstack_react_query0.UseMutationResult<_intlayer_backend1.AddDictionaryResult, Error, AddDictionaryBody, unknown>;
|
|
1252
|
+
declare const usePushDictionaries: () => _tanstack_react_query0.UseMutationResult<_intlayer_backend1.PushDictionariesResult, Error, PushDictionariesBody, unknown>;
|
|
1253
|
+
declare const useUpdateDictionary: () => _tanstack_react_query0.UseMutationResult<_intlayer_backend1.UpdateDictionaryResult, Error, Partial<_intlayer_backend1.Dictionary>, unknown>;
|
|
1254
|
+
declare const useDeleteDictionary: () => _tanstack_react_query0.UseMutationResult<_intlayer_backend1.DeleteDictionaryResult, Error, DeleteDictionaryParam, unknown>;
|
|
65
1255
|
/**
|
|
66
1256
|
* Tag
|
|
67
1257
|
*/
|
|
68
|
-
declare const useGetTags: (filters?: GetTagsParams, options?: Partial<UseQueryOptions>) =>
|
|
69
|
-
declare const useAddTag: () =>
|
|
70
|
-
declare const useUpdateTag: () =>
|
|
71
|
-
|
|
1258
|
+
declare const useGetTags: (filters?: GetTagsParams, options?: Partial<UseQueryOptions>) => _tanstack_react_query0.UseQueryResult<unknown, Error>;
|
|
1259
|
+
declare const useAddTag: () => _tanstack_react_query0.UseMutationResult<_intlayer_backend1.AddTagResult, Error, _intlayer_backend1.TagCreationData, unknown>;
|
|
1260
|
+
declare const useUpdateTag: () => _tanstack_react_query0.UseMutationResult<_intlayer_backend1.UpdateTagResult, Error, {
|
|
1261
|
+
tagId: string;
|
|
1262
|
+
tag: any;
|
|
1263
|
+
}, unknown>;
|
|
1264
|
+
declare const useDeleteTag: () => _tanstack_react_query0.UseMutationResult<_intlayer_backend1.DeleteTagResult, Error, DeleteTagParams, unknown>;
|
|
72
1265
|
/**
|
|
73
1266
|
* Stripe
|
|
74
1267
|
*/
|
|
75
|
-
declare const useGetPricing: (body: GetPricingBody, options?: Partial<UseQueryOptions<GetPricingResult>>) =>
|
|
76
|
-
declare const useGetSubscription: (body: GetCheckoutSessionBody, options?: Partial<UseQueryOptions>) =>
|
|
77
|
-
declare const useCancelSubscription: () =>
|
|
1268
|
+
declare const useGetPricing: (body: GetPricingBody, options?: Partial<UseQueryOptions<GetPricingResult>>) => _tanstack_react_query0.UseQueryResult<GetPricingResult, Error>;
|
|
1269
|
+
declare const useGetSubscription: (body: GetCheckoutSessionBody, options?: Partial<UseQueryOptions>) => _tanstack_react_query0.UseQueryResult<unknown, Error>;
|
|
1270
|
+
declare const useCancelSubscription: () => _tanstack_react_query0.UseMutationResult<_intlayer_backend1.GetCheckoutSessionResult, Error, void, unknown>;
|
|
78
1271
|
/**
|
|
79
1272
|
* AI
|
|
80
1273
|
*/
|
|
81
|
-
declare const useTranslateJSONDeclaration: () =>
|
|
82
|
-
declare const useAuditContentDeclaration: () =>
|
|
83
|
-
declare const useAuditContentDeclarationMetadata: () =>
|
|
84
|
-
declare const useAuditContentDeclarationField: () =>
|
|
85
|
-
declare const useAuditTag: () =>
|
|
86
|
-
declare const useAskDocQuestion: () =>
|
|
87
|
-
declare const useAutocomplete: () =>
|
|
1274
|
+
declare const useTranslateJSONDeclaration: () => _tanstack_react_query0.UseMutationResult<_intlayer_backend1.TranslateJSONResult, Error, TranslateJSONBody, unknown>;
|
|
1275
|
+
declare const useAuditContentDeclaration: () => _tanstack_react_query0.UseMutationResult<_intlayer_backend1.AuditContentDeclarationResult, Error, AuditContentDeclarationBody, unknown>;
|
|
1276
|
+
declare const useAuditContentDeclarationMetadata: () => _tanstack_react_query0.UseMutationResult<_intlayer_backend1.AuditContentDeclarationMetadataResult, Error, AuditContentDeclarationMetadataBody, unknown>;
|
|
1277
|
+
declare const useAuditContentDeclarationField: () => _tanstack_react_query0.UseMutationResult<_intlayer_backend1.AuditContentDeclarationFieldResult, Error, AuditContentDeclarationFieldBody, unknown>;
|
|
1278
|
+
declare const useAuditTag: () => _tanstack_react_query0.UseMutationResult<_intlayer_backend1.AuditTagResult, Error, AuditTagBody, unknown>;
|
|
1279
|
+
declare const useAskDocQuestion: () => _tanstack_react_query0.UseMutationResult<void, Error, AskDocQuestionBody, unknown>;
|
|
1280
|
+
declare const useAutocomplete: () => _tanstack_react_query0.UseMutationResult<_intlayer_backend1.AutocompleteResponse, Error, AutocompleteBody, unknown>;
|
|
88
1281
|
/**
|
|
89
1282
|
* Discussions
|
|
90
1283
|
*/
|
|
91
|
-
declare const useGetDiscussions: (params?: Record<string, string | string[] | undefined>, options?: Partial<UseQueryOptions>) =>
|
|
92
|
-
declare const useGetDiscussionsData: (params?: Record<string, string | string[] | undefined>, options?: Partial<UseQueryOptions>) =>
|
|
1284
|
+
declare const useGetDiscussions: (params?: Record<string, string | string[] | undefined>, options?: Partial<UseQueryOptions>) => _tanstack_react_query0.UseQueryResult<unknown, Error>;
|
|
1285
|
+
declare const useGetDiscussionsData: (params?: Record<string, string | string[] | undefined>, options?: Partial<UseQueryOptions>) => _tanstack_react_query0.UseQueryResult<unknown, Error>;
|
|
93
1286
|
/**
|
|
94
1287
|
* Search
|
|
95
1288
|
*/
|
|
96
|
-
declare const useSearchDoc: (params: SearchDocUtilParams) =>
|
|
1289
|
+
declare const useSearchDoc: (params: SearchDocUtilParams) => _tanstack_react_query0.UseQueryResult<_intlayer_backend1.SearchDocUtilResult, Error>;
|
|
97
1290
|
/**
|
|
98
1291
|
* Newsletter
|
|
99
1292
|
*/
|
|
100
|
-
declare const useSubscribeToNewsletter: () =>
|
|
101
|
-
declare const useUnsubscribeFromNewsletter: () =>
|
|
102
|
-
declare const useGetNewsletterStatus: () =>
|
|
1293
|
+
declare const useSubscribeToNewsletter: () => _tanstack_react_query0.UseMutationResult<_intlayer_backend1.NewsletterSubscriptionResult, Error, NewsletterSubscriptionBody, unknown>;
|
|
1294
|
+
declare const useUnsubscribeFromNewsletter: () => _tanstack_react_query0.UseMutationResult<_intlayer_backend1.NewsletterSubscriptionResult, Error, NewsletterUnsubscriptionBody, unknown>;
|
|
1295
|
+
declare const useGetNewsletterStatus: () => _tanstack_react_query0.UseMutationResult<_intlayer_backend1.NewsletterSubscriptionResult, Error, void, unknown>;
|
|
103
1296
|
/**
|
|
104
1297
|
* Editor
|
|
105
1298
|
*/
|
|
106
|
-
declare const useGetEditorDictionaries: () =>
|
|
107
|
-
declare const useWriteDictionary: () =>
|
|
1299
|
+
declare const useGetEditorDictionaries: () => _tanstack_react_query0.UseQueryResult<GetEditorDictionariesResult, Error>;
|
|
1300
|
+
declare const useWriteDictionary: () => _tanstack_react_query0.UseMutationResult<intlayer_editor0.WriteContentDeclarationResult, Error, WriteContentDeclarationBody, unknown>;
|
|
108
1301
|
//#endregion
|
|
109
|
-
export { useAddDictionary, useAddNewAccessKey, useAddOrganization, useAddOrganizationMember, useAddProject, useAddTag, useAppQuery, useAskDocQuestion, useAskResetPassword, useAuditContentDeclaration, useAuditContentDeclarationField, useAuditContentDeclarationMetadata, useAuditTag, useAutocomplete, useCancelSubscription, useChangePassword, useCreateUser, useDeleteAccessKey, useDeleteDictionary, useDeleteOrganization, useDeleteProject, useDeleteTag, useDeleteUser, useGetDictionaries, useGetDictionariesKeys, useGetDictionary, useGetDiscussions, useGetDiscussionsData, useGetEditorDictionaries, useGetNewsletterStatus, useGetOrganizations, useGetPricing, useGetProjects, useGetSubscription, useGetTags, useGetUserByAccount, useGetUserById, useGetUsers, useGetVerifyEmailStatus, useLogin, useLogout, usePushDictionaries, useQueryClient, useRefreshAccessKey, useRegister, useResetPassword, useSearchDoc, useSelectOrganization, useSelectProject, useSubscribeToNewsletter, useTranslateJSONDeclaration, useUnselectOrganization, useUnselectProject, useUnsubscribeFromNewsletter, useUpdateDictionary, useUpdateOrganization, useUpdateOrganizationMembers, useUpdateOrganizationMembersById, useUpdateProject, useUpdateProjectMembers, useUpdateTag, useUpdateUser, useVerifyEmail, useWriteDictionary };
|
|
1302
|
+
export { useAddDictionary, useAddNewAccessKey, useAddOrganization, useAddOrganizationMember, useAddPasskey, useAddProject, useAddTag, useAppQuery, useAskDocQuestion, useAskResetPassword, useAuditContentDeclaration, useAuditContentDeclarationField, useAuditContentDeclarationMetadata, useAuditTag, useAutocomplete, useCancelSubscription, useChangePassword, useCreateUser, useDeleteAccessKey, useDeleteDictionary, useDeleteOrganization, useDeletePasskey, useDeleteProject, useDeleteTag, useDeleteUser, useDisableTwoFactor, useEnableTwoFactor, useGetDictionaries, useGetDictionariesKeys, useGetDictionary, useGetDiscussions, useGetDiscussionsData, useGetEditorDictionaries, useGetNewsletterStatus, useGetOrganizations, useGetPricing, useGetProjects, useGetSubscription, useGetTags, useGetUserByAccount, useGetUserById, useGetUsers, useGetVerifyEmailStatus, useListPasskeys, useLogin, useLogout, usePushDictionaries, useQueryClient, useRefreshAccessKey, useRegister, useResetPassword, useSearchDoc, useSelectOrganization, useSelectProject, useSignInMagicLink, useSignInPasskey, useSubscribeToNewsletter, useTranslateJSONDeclaration, useUnselectOrganization, useUnselectProject, useUnsubscribeFromNewsletter, useUpdateDictionary, useUpdateOrganization, useUpdateOrganizationMembers, useUpdateOrganizationMembersById, useUpdateProject, useUpdateProjectMembers, useUpdateTag, useUpdateUser, useVerifyBackupCode, useVerifyEmail, useVerifyTotp, useWriteDictionary };
|
|
110
1303
|
//# sourceMappingURL=reactQuery.d.ts.map
|