@intlayer/design-system 5.8.1 → 6.0.0-canary.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/.vite/manifest.json +34 -106
- package/dist/better-auth.CMQ3rA-I-7umXOENE.js.map +1 -1
- package/dist/better-auth.CMQ3rA-I-C2nBKRMa.cjs.map +1 -1
- package/dist/components/Breadcrumb/breadcrumb.content.cjs +3 -1
- package/dist/components/Breadcrumb/breadcrumb.content.cjs.map +1 -1
- package/dist/components/Breadcrumb/breadcrumb.content.d.ts +3 -0
- package/dist/components/Breadcrumb/breadcrumb.content.d.ts.map +1 -1
- package/dist/components/Breadcrumb/breadcrumb.content.mjs +3 -1
- package/dist/components/Breadcrumb/breadcrumb.content.mjs.map +1 -1
- package/dist/components/Breadcrumb/index.cjs.map +1 -1
- package/dist/components/Breadcrumb/index.d.ts.map +1 -1
- package/dist/components/Breadcrumb/index.mjs.map +1 -1
- package/dist/components/CopyButton/CopyButton.content.cjs +3 -1
- package/dist/components/CopyButton/CopyButton.content.cjs.map +1 -1
- package/dist/components/CopyButton/CopyButton.content.d.ts +3 -0
- package/dist/components/CopyButton/CopyButton.content.d.ts.map +1 -1
- package/dist/components/CopyButton/CopyButton.content.mjs +3 -1
- package/dist/components/CopyButton/CopyButton.content.mjs.map +1 -1
- package/dist/components/DictionaryEditor/DictionaryEditor.cjs +7 -3
- package/dist/components/DictionaryEditor/DictionaryEditor.cjs.map +1 -1
- package/dist/components/DictionaryEditor/DictionaryEditor.d.ts.map +1 -1
- package/dist/components/DictionaryEditor/DictionaryEditor.mjs +7 -3
- package/dist/components/DictionaryEditor/DictionaryEditor.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/ContentEditor.cjs +1 -1
- package/dist/components/DictionaryFieldEditor/ContentEditor.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/ContentEditor.mjs +1 -1
- package/dist/components/DictionaryFieldEditor/ContentEditor.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/ContentEditorView/TextEditor.cjs +83 -34
- package/dist/components/DictionaryFieldEditor/ContentEditorView/TextEditor.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/ContentEditorView/TextEditor.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/ContentEditorView/TextEditor.mjs +83 -34
- package/dist/components/DictionaryFieldEditor/ContentEditorView/TextEditor.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/DictionaryCreationForm.cjs +13 -9
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/DictionaryCreationForm.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/DictionaryCreationForm.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/DictionaryCreationForm.mjs +12 -8
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/DictionaryCreationForm.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryCreationForm.content.cjs +27 -13
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryCreationForm.content.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryCreationForm.content.d.ts +27 -0
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryCreationForm.content.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryCreationForm.content.mjs +27 -13
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryCreationForm.content.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/useDictionaryFormSchema.content.cjs +9 -4
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/useDictionaryFormSchema.content.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/useDictionaryFormSchema.content.d.ts +9 -0
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/useDictionaryFormSchema.content.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/useDictionaryFormSchema.content.mjs +9 -4
- package/dist/components/DictionaryFieldEditor/DictionaryCreationForm/useDictionaryFormSchema.content.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsForm.cjs +29 -25
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsForm.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsForm.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsForm.mjs +27 -23
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsForm.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/dictionaryDetails.content.cjs +37 -17
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/dictionaryDetails.content.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/dictionaryDetails.content.d.ts +64 -2
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/dictionaryDetails.content.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/dictionaryDetails.content.mjs +37 -17
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/dictionaryDetails.content.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.content.cjs +25 -12
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.content.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.content.d.ts +25 -0
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.content.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.content.mjs +25 -12
- package/dist/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.content.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryFieldEditor.cjs +4 -5
- package/dist/components/DictionaryFieldEditor/DictionaryFieldEditor.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryFieldEditor.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/DictionaryFieldEditor.mjs +4 -5
- package/dist/components/DictionaryFieldEditor/DictionaryFieldEditor.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/JSONEditor.cjs +2 -2
- package/dist/components/DictionaryFieldEditor/JSONEditor.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/JSONEditor.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/JSONEditor.mjs +2 -2
- package/dist/components/DictionaryFieldEditor/JSONEditor.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/NavigationView/navigationViewNode.content.cjs +25 -12
- package/dist/components/DictionaryFieldEditor/NavigationView/navigationViewNode.content.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/NavigationView/navigationViewNode.content.d.ts +25 -0
- package/dist/components/DictionaryFieldEditor/NavigationView/navigationViewNode.content.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/NavigationView/navigationViewNode.content.mjs +25 -12
- package/dist/components/DictionaryFieldEditor/NavigationView/navigationViewNode.content.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/SaveForm/SaveForm.cjs +36 -31
- package/dist/components/DictionaryFieldEditor/SaveForm/SaveForm.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/SaveForm/SaveForm.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/SaveForm/SaveForm.mjs +36 -31
- package/dist/components/DictionaryFieldEditor/SaveForm/SaveForm.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/SaveForm/saveForm.content.cjs +32 -28
- package/dist/components/DictionaryFieldEditor/SaveForm/saveForm.content.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/SaveForm/saveForm.content.d.ts +32 -5
- package/dist/components/DictionaryFieldEditor/SaveForm/saveForm.content.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/SaveForm/saveForm.content.mjs +32 -28
- package/dist/components/DictionaryFieldEditor/SaveForm/saveForm.content.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/StructureEditor.cjs +2 -2
- package/dist/components/DictionaryFieldEditor/StructureEditor.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/StructureEditor.mjs +2 -2
- package/dist/components/DictionaryFieldEditor/StructureEditor.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/StructureView/StructureView.cjs +2 -5
- package/dist/components/DictionaryFieldEditor/StructureView/StructureView.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/StructureView/StructureView.mjs +2 -5
- package/dist/components/DictionaryFieldEditor/StructureView/StructureView.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/StructureView/structureView.content.cjs +9 -4
- package/dist/components/DictionaryFieldEditor/StructureView/structureView.content.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/StructureView/structureView.content.d.ts +9 -0
- package/dist/components/DictionaryFieldEditor/StructureView/structureView.content.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/StructureView/structureView.content.mjs +9 -4
- package/dist/components/DictionaryFieldEditor/StructureView/structureView.content.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/VersionSwitcherDropDown/VersionSwitcher.cjs +3 -3
- package/dist/components/DictionaryFieldEditor/VersionSwitcherDropDown/VersionSwitcher.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/VersionSwitcherDropDown/VersionSwitcher.mjs +3 -3
- package/dist/components/DictionaryFieldEditor/VersionSwitcherDropDown/VersionSwitcher.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/VersionSwitcherDropDown/VersionSwitcherContext.cjs +4 -6
- package/dist/components/DictionaryFieldEditor/VersionSwitcherDropDown/VersionSwitcherContext.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/VersionSwitcherDropDown/VersionSwitcherContext.d.ts +3 -3
- package/dist/components/DictionaryFieldEditor/VersionSwitcherDropDown/VersionSwitcherContext.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/VersionSwitcherDropDown/VersionSwitcherContext.mjs +4 -6
- package/dist/components/DictionaryFieldEditor/VersionSwitcherDropDown/VersionSwitcherContext.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/VersionSwitcherDropDown/versionSwitcherDropDown.content.cjs +7 -3
- package/dist/components/DictionaryFieldEditor/VersionSwitcherDropDown/versionSwitcherDropDown.content.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/VersionSwitcherDropDown/versionSwitcherDropDown.content.d.ts +7 -0
- package/dist/components/DictionaryFieldEditor/VersionSwitcherDropDown/versionSwitcherDropDown.content.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/VersionSwitcherDropDown/versionSwitcherDropDown.content.mjs +7 -3
- package/dist/components/DictionaryFieldEditor/VersionSwitcherDropDown/versionSwitcherDropDown.content.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/dictionaryFieldEditor.content.cjs +9 -6
- package/dist/components/DictionaryFieldEditor/dictionaryFieldEditor.content.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/dictionaryFieldEditor.content.d.ts +9 -4
- package/dist/components/DictionaryFieldEditor/dictionaryFieldEditor.content.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/dictionaryFieldEditor.content.mjs +9 -6
- package/dist/components/DictionaryFieldEditor/dictionaryFieldEditor.content.mjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/nodeTypeSelector.content.cjs +28 -14
- package/dist/components/DictionaryFieldEditor/nodeTypeSelector.content.cjs.map +1 -1
- package/dist/components/DictionaryFieldEditor/nodeTypeSelector.content.d.ts +29 -2
- package/dist/components/DictionaryFieldEditor/nodeTypeSelector.content.d.ts.map +1 -1
- package/dist/components/DictionaryFieldEditor/nodeTypeSelector.content.mjs +28 -14
- package/dist/components/DictionaryFieldEditor/nodeTypeSelector.content.mjs.map +1 -1
- package/dist/components/DropDown/index.cjs +2 -2
- package/dist/components/DropDown/index.cjs.map +1 -1
- package/dist/components/DropDown/index.d.ts.map +1 -1
- package/dist/components/DropDown/index.mjs +2 -2
- package/dist/components/DropDown/index.mjs.map +1 -1
- package/dist/components/EditableField/EditableFieldTextArea.cjs +2 -5
- package/dist/components/EditableField/EditableFieldTextArea.cjs.map +1 -1
- package/dist/components/EditableField/EditableFieldTextArea.mjs +2 -5
- package/dist/components/EditableField/EditableFieldTextArea.mjs.map +1 -1
- package/dist/components/ExpandCollapse/ExpandCollapse.cjs.map +1 -1
- package/dist/components/ExpandCollapse/ExpandCollapse.d.ts +2 -2
- package/dist/components/ExpandCollapse/ExpandCollapse.d.ts.map +1 -1
- package/dist/components/ExpandCollapse/ExpandCollapse.mjs.map +1 -1
- package/dist/components/ExpandCollapse/expandCollapse.content.cjs +5 -2
- package/dist/components/ExpandCollapse/expandCollapse.content.cjs.map +1 -1
- package/dist/components/ExpandCollapse/expandCollapse.content.d.ts +3 -0
- package/dist/components/ExpandCollapse/expandCollapse.content.d.ts.map +1 -1
- package/dist/components/ExpandCollapse/expandCollapse.content.mjs +5 -2
- package/dist/components/ExpandCollapse/expandCollapse.content.mjs.map +1 -1
- package/dist/components/Flags/Flag.cjs +2 -1
- package/dist/components/Flags/Flag.cjs.map +1 -1
- package/dist/components/Flags/Flag.d.ts.map +1 -1
- package/dist/components/Flags/Flag.mjs +2 -1
- package/dist/components/Flags/Flag.mjs.map +1 -1
- package/dist/components/IDE/Code.cjs +8 -8
- package/dist/components/IDE/Code.cjs.map +1 -1
- package/dist/components/IDE/Code.mjs +8 -8
- package/dist/components/IDE/Code.mjs.map +1 -1
- package/dist/components/IDE/CodeBlockClient.cjs +1 -1
- package/dist/components/IDE/CodeBlockClient.cjs.map +1 -1
- package/dist/components/IDE/CodeBlockClient.d.ts +1 -1
- package/dist/components/IDE/CodeBlockClient.d.ts.map +1 -1
- package/dist/components/IDE/CodeBlockClient.mjs +1 -1
- package/dist/components/IDE/CodeBlockClient.mjs.map +1 -1
- package/dist/components/IDE/CodeContext.cjs +1 -3
- package/dist/components/IDE/CodeContext.cjs.map +1 -1
- package/dist/components/IDE/CodeContext.mjs +1 -3
- package/dist/components/IDE/CodeContext.mjs.map +1 -1
- package/dist/components/IDE/code.content.cjs +5 -2
- package/dist/components/IDE/code.content.cjs.map +1 -1
- package/dist/components/IDE/code.content.d.ts +5 -0
- package/dist/components/IDE/code.content.d.ts.map +1 -1
- package/dist/components/IDE/code.content.mjs +5 -2
- package/dist/components/IDE/code.content.mjs.map +1 -1
- package/dist/components/IDE/copyCode.content.cjs +5 -2
- package/dist/components/IDE/copyCode.content.cjs.map +1 -1
- package/dist/components/IDE/copyCode.content.d.ts +5 -0
- package/dist/components/IDE/copyCode.content.d.ts.map +1 -1
- package/dist/components/IDE/copyCode.content.mjs +5 -2
- package/dist/components/IDE/copyCode.content.mjs.map +1 -1
- package/dist/components/Input/Checkbox.cjs.map +1 -1
- package/dist/components/Input/Checkbox.d.ts +2 -2
- package/dist/components/Input/Checkbox.d.ts.map +1 -1
- package/dist/components/Input/Checkbox.mjs.map +1 -1
- package/dist/components/Loader/index.content.cjs +6 -1
- package/dist/components/Loader/index.content.cjs.map +1 -1
- package/dist/components/Loader/index.content.d.ts +33 -2
- package/dist/components/Loader/index.content.d.ts.map +1 -1
- package/dist/components/Loader/index.content.mjs +6 -1
- package/dist/components/Loader/index.content.mjs.map +1 -1
- package/dist/components/LocaleSwitcherContentDropDown/LocaleSwitcherContent.cjs +1 -3
- package/dist/components/LocaleSwitcherContentDropDown/LocaleSwitcherContent.cjs.map +1 -1
- package/dist/components/LocaleSwitcherContentDropDown/LocaleSwitcherContent.mjs +1 -3
- package/dist/components/LocaleSwitcherContentDropDown/LocaleSwitcherContent.mjs.map +1 -1
- package/dist/components/LocaleSwitcherContentDropDown/LocaleSwitcherContentContext.cjs +1 -3
- package/dist/components/LocaleSwitcherContentDropDown/LocaleSwitcherContentContext.cjs.map +1 -1
- package/dist/components/LocaleSwitcherContentDropDown/LocaleSwitcherContentContext.mjs +1 -3
- package/dist/components/LocaleSwitcherContentDropDown/LocaleSwitcherContentContext.mjs.map +1 -1
- package/dist/components/LocaleSwitcherContentDropDown/localeSwitcher.content.cjs +17 -8
- package/dist/components/LocaleSwitcherContentDropDown/localeSwitcher.content.cjs.map +1 -1
- package/dist/components/LocaleSwitcherContentDropDown/localeSwitcher.content.d.ts +17 -0
- package/dist/components/LocaleSwitcherContentDropDown/localeSwitcher.content.d.ts.map +1 -1
- package/dist/components/LocaleSwitcherContentDropDown/localeSwitcher.content.mjs +17 -8
- package/dist/components/LocaleSwitcherContentDropDown/localeSwitcher.content.mjs.map +1 -1
- package/dist/components/LocaleSwitcherDropDown/localeSwitcher.content.cjs +13 -6
- package/dist/components/LocaleSwitcherDropDown/localeSwitcher.content.cjs.map +1 -1
- package/dist/components/LocaleSwitcherDropDown/localeSwitcher.content.d.ts +13 -0
- package/dist/components/LocaleSwitcherDropDown/localeSwitcher.content.d.ts.map +1 -1
- package/dist/components/LocaleSwitcherDropDown/localeSwitcher.content.mjs +13 -6
- package/dist/components/LocaleSwitcherDropDown/localeSwitcher.content.mjs.map +1 -1
- package/dist/components/Modal/Modal.cjs +2 -4
- package/dist/components/Modal/Modal.cjs.map +1 -1
- package/dist/components/Modal/Modal.mjs +2 -4
- package/dist/components/Modal/Modal.mjs.map +1 -1
- package/dist/components/Navbar/MobileNavbar.cjs +1 -3
- package/dist/components/Navbar/MobileNavbar.cjs.map +1 -1
- package/dist/components/Navbar/MobileNavbar.mjs +1 -3
- package/dist/components/Navbar/MobileNavbar.mjs.map +1 -1
- package/dist/components/Navbar/index.cjs +2 -4
- package/dist/components/Navbar/index.cjs.map +1 -1
- package/dist/components/Navbar/index.mjs +2 -4
- package/dist/components/Navbar/index.mjs.map +1 -1
- package/dist/components/SwitchSelector/index.cjs +1 -3
- package/dist/components/SwitchSelector/index.cjs.map +1 -1
- package/dist/components/SwitchSelector/index.mjs +1 -3
- package/dist/components/SwitchSelector/index.mjs.map +1 -1
- package/dist/components/TabSelector/TabSelector.cjs +1 -3
- package/dist/components/TabSelector/TabSelector.cjs.map +1 -1
- package/dist/components/TabSelector/TabSelector.d.ts +1 -1
- package/dist/components/TabSelector/TabSelector.d.ts.map +1 -1
- package/dist/components/TabSelector/TabSelector.mjs +1 -3
- package/dist/components/TabSelector/TabSelector.mjs.map +1 -1
- package/dist/components/Table/table.content.cjs +3 -1
- package/dist/components/Table/table.content.cjs.map +1 -1
- package/dist/components/Table/table.content.d.ts +3 -0
- package/dist/components/Table/table.content.d.ts.map +1 -1
- package/dist/components/Table/table.content.mjs +3 -1
- package/dist/components/Table/table.content.mjs.map +1 -1
- package/dist/components/Tag/index.cjs +22 -88
- package/dist/components/Tag/index.cjs.map +1 -1
- package/dist/components/Tag/index.d.ts +5 -5
- package/dist/components/Tag/index.mjs +22 -88
- package/dist/components/Tag/index.mjs.map +1 -1
- package/dist/components/TextArea/AutocompleteTextArea.cjs +20 -21
- package/dist/components/TextArea/AutocompleteTextArea.cjs.map +1 -1
- package/dist/components/TextArea/AutocompleteTextArea.d.ts.map +1 -1
- package/dist/components/TextArea/AutocompleteTextArea.mjs +20 -21
- package/dist/components/TextArea/AutocompleteTextArea.mjs.map +1 -1
- package/dist/hooks/auth.cjs +26 -11
- package/dist/hooks/auth.cjs.map +1 -1
- package/dist/hooks/auth.mjs +26 -11
- package/dist/hooks/auth.mjs.map +1 -1
- package/dist/hooks/index.cjs +65 -66
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.d.ts +1 -3
- package/dist/hooks/index.d.ts.map +1 -1
- package/dist/hooks/index.mjs +4 -8
- package/dist/hooks/index.mjs.map +1 -1
- package/dist/hooks/reactQuery.cjs +648 -0
- package/dist/hooks/reactQuery.cjs.map +1 -0
- package/dist/hooks/reactQuery.d.ts +899 -0
- package/dist/hooks/reactQuery.d.ts.map +1 -0
- package/dist/hooks/reactQuery.mjs +646 -0
- package/dist/hooks/reactQuery.mjs.map +1 -0
- package/dist/hooks/useAuth/useOAuth2.cjs +13 -10
- package/dist/hooks/useAuth/useOAuth2.cjs.map +1 -1
- package/dist/hooks/useAuth/useOAuth2.d.ts +1 -1
- package/dist/hooks/useAuth/useOAuth2.d.ts.map +1 -1
- package/dist/hooks/useAuth/useOAuth2.mjs +13 -10
- package/dist/hooks/useAuth/useOAuth2.mjs.map +1 -1
- package/dist/hooks/useAuth/useSession.cjs +23 -26
- package/dist/hooks/useAuth/useSession.cjs.map +1 -1
- package/dist/hooks/useAuth/useSession.d.ts +4 -352
- package/dist/hooks/useAuth/useSession.d.ts.map +1 -1
- package/dist/hooks/useAuth/useSession.mjs +23 -26
- package/dist/hooks/useAuth/useSession.mjs.map +1 -1
- package/dist/hooks/useIntlayerAPI.cjs +2 -3
- package/dist/hooks/useIntlayerAPI.cjs.map +1 -1
- package/dist/hooks/useIntlayerAPI.mjs +2 -3
- package/dist/hooks/useIntlayerAPI.mjs.map +1 -1
- package/dist/hooks/useUser/index.cjs +6 -9
- package/dist/hooks/useUser/index.cjs.map +1 -1
- package/dist/hooks/useUser/index.d.ts +2 -18
- package/dist/hooks/useUser/index.d.ts.map +1 -1
- package/dist/hooks/useUser/index.mjs +6 -9
- package/dist/hooks/useUser/index.mjs.map +1 -1
- package/dist/index-BCuMWKyy.js.map +1 -1
- package/dist/index-BYzBot7l.cjs.map +1 -1
- package/dist/providers/ReactQueryProvider.cjs +85 -0
- package/dist/providers/ReactQueryProvider.cjs.map +1 -0
- package/dist/providers/ReactQueryProvider.d.ts +13 -0
- package/dist/providers/ReactQueryProvider.d.ts.map +1 -0
- package/dist/providers/ReactQueryProvider.mjs +85 -0
- package/dist/providers/ReactQueryProvider.mjs.map +1 -0
- package/dist/providers/index.cjs +5 -0
- package/dist/{hooks/useAsync → providers}/index.cjs.map +1 -1
- package/dist/providers/index.d.ts +2 -0
- package/dist/providers/index.d.ts.map +1 -0
- package/dist/providers/index.mjs +5 -0
- package/dist/{hooks/useAsync → providers}/index.mjs.map +1 -1
- package/package.json +31 -21
- package/dist/hooks/intlayerAPIHooks.cjs +0 -542
- package/dist/hooks/intlayerAPIHooks.cjs.map +0 -1
- package/dist/hooks/intlayerAPIHooks.d.ts +0 -968
- package/dist/hooks/intlayerAPIHooks.d.ts.map +0 -1
- package/dist/hooks/intlayerAPIHooks.mjs +0 -542
- package/dist/hooks/intlayerAPIHooks.mjs.map +0 -1
- package/dist/hooks/useAsync/index.cjs +0 -8
- package/dist/hooks/useAsync/index.d.ts +0 -3
- package/dist/hooks/useAsync/index.d.ts.map +0 -1
- package/dist/hooks/useAsync/index.mjs +0 -8
- package/dist/hooks/useAsync/useAsync.cjs +0 -244
- package/dist/hooks/useAsync/useAsync.cjs.map +0 -1
- package/dist/hooks/useAsync/useAsync.d.ts +0 -73
- package/dist/hooks/useAsync/useAsync.d.ts.map +0 -1
- package/dist/hooks/useAsync/useAsync.mjs +0 -244
- package/dist/hooks/useAsync/useAsync.mjs.map +0 -1
- package/dist/hooks/useAsync/useAsyncStateStore.cjs +0 -150
- package/dist/hooks/useAsync/useAsyncStateStore.cjs.map +0 -1
- package/dist/hooks/useAsync/useAsyncStateStore.d.ts +0 -52
- package/dist/hooks/useAsync/useAsyncStateStore.d.ts.map +0 -1
- package/dist/hooks/useAsync/useAsyncStateStore.mjs +0 -150
- package/dist/hooks/useAsync/useAsyncStateStore.mjs.map +0 -1
- package/dist/hooks/useAsync/useAsyncWrapper.cjs +0 -10
- package/dist/hooks/useAsync/useAsyncWrapper.cjs.map +0 -1
- package/dist/hooks/useAsync/useAsyncWrapper.d.ts +0 -37
- package/dist/hooks/useAsync/useAsyncWrapper.d.ts.map +0 -1
- package/dist/hooks/useAsync/useAsyncWrapper.mjs +0 -10
- package/dist/hooks/useAsync/useAsyncWrapper.mjs.map +0 -1
- package/dist/hooks/useGetAllDictionaries.cjs +0 -35
- package/dist/hooks/useGetAllDictionaries.cjs.map +0 -1
- package/dist/hooks/useGetAllDictionaries.d.ts +0 -11
- package/dist/hooks/useGetAllDictionaries.d.ts.map +0 -1
- package/dist/hooks/useGetAllDictionaries.mjs +0 -35
- package/dist/hooks/useGetAllDictionaries.mjs.map +0 -1
|
@@ -1,968 +0,0 @@
|
|
|
1
|
-
import { IntlayerAPI } from '@intlayer/api';
|
|
2
|
-
import { getAuthAPI } from './auth';
|
|
3
|
-
import { UseAsyncOptions } from './useAsync/useAsync';
|
|
4
|
-
/**
|
|
5
|
-
* Auth
|
|
6
|
-
*/
|
|
7
|
-
export declare const useLogin: (args?: UseAsyncOptions<ReturnType<typeof getAuthAPI>["signInEmail"]>) => import('./useAsync').UseAsyncResult<"login", <FetchOptions extends {
|
|
8
|
-
method?: string | undefined;
|
|
9
|
-
mode?: RequestMode | undefined;
|
|
10
|
-
referrerPolicy?: ReferrerPolicy | undefined;
|
|
11
|
-
headers?: (HeadersInit & (HeadersInit | {
|
|
12
|
-
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
13
|
-
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
14
|
-
authorization: "Bearer" | "Basic";
|
|
15
|
-
})) | undefined;
|
|
16
|
-
cache?: RequestCache | undefined;
|
|
17
|
-
credentials?: RequestCredentials | undefined;
|
|
18
|
-
integrity?: string | undefined;
|
|
19
|
-
keepalive?: boolean | undefined;
|
|
20
|
-
priority?: RequestPriority | undefined;
|
|
21
|
-
redirect?: RequestRedirect | undefined;
|
|
22
|
-
referrer?: string | undefined;
|
|
23
|
-
signal?: (AbortSignal | null) | undefined;
|
|
24
|
-
window?: null | undefined;
|
|
25
|
-
onRequest?: (<T extends Record<string, any>>(context: import('better-auth/client').RequestContext<T>) => Promise<import('better-auth/client').RequestContext | void> | import('better-auth/client').RequestContext | void) | undefined;
|
|
26
|
-
onResponse?: ((context: import('better-auth/client').ResponseContext) => Promise<Response | void | import('better-auth/client').ResponseContext> | Response | import('better-auth/client').ResponseContext | void) | undefined;
|
|
27
|
-
onSuccess?: ((context: import('better-auth/client').SuccessContext<any>) => Promise<void> | void) | undefined;
|
|
28
|
-
onError?: ((context: import('better-auth/client').ErrorContext) => Promise<void> | void) | undefined;
|
|
29
|
-
onRetry?: ((response: import('better-auth/client').ResponseContext) => Promise<void> | void) | undefined;
|
|
30
|
-
hookOptions?: {
|
|
31
|
-
cloneResponse?: boolean;
|
|
32
|
-
} | undefined;
|
|
33
|
-
timeout?: number | undefined;
|
|
34
|
-
customFetchImpl?: import('better-auth/client').FetchEsque | undefined;
|
|
35
|
-
plugins?: import('better-auth/client').BetterFetchPlugin[] | undefined;
|
|
36
|
-
baseURL?: string | undefined;
|
|
37
|
-
throw?: boolean | undefined;
|
|
38
|
-
auth?: ({
|
|
39
|
-
type: "Bearer";
|
|
40
|
-
token: string | Promise<string | undefined> | (() => string | Promise<string | undefined> | undefined) | undefined;
|
|
41
|
-
} | {
|
|
42
|
-
type: "Basic";
|
|
43
|
-
username: string | (() => string | undefined) | undefined;
|
|
44
|
-
password: string | (() => string | undefined) | undefined;
|
|
45
|
-
} | {
|
|
46
|
-
type: "Custom";
|
|
47
|
-
prefix: string | (() => string | undefined) | undefined;
|
|
48
|
-
value: string | (() => string | undefined) | undefined;
|
|
49
|
-
}) | undefined;
|
|
50
|
-
body?: (Partial<{
|
|
51
|
-
email: string;
|
|
52
|
-
password: string;
|
|
53
|
-
callbackURL?: string | undefined;
|
|
54
|
-
rememberMe?: boolean | undefined;
|
|
55
|
-
}> & Record<string, any>) | undefined;
|
|
56
|
-
query?: (Partial<Record<string, any>> & Record<string, any>) | undefined;
|
|
57
|
-
params?: Record<string, any> | undefined;
|
|
58
|
-
duplex?: "full" | "half" | undefined;
|
|
59
|
-
jsonParser?: ((text: string) => Promise<any> | any) | undefined;
|
|
60
|
-
retry?: import('better-auth/client').RetryOptions | undefined;
|
|
61
|
-
retryAttempt?: number | undefined;
|
|
62
|
-
output?: (import('better-auth/client').StandardSchemaV1 | typeof Blob | typeof File) | undefined;
|
|
63
|
-
errorSchema?: import('better-auth/client').StandardSchemaV1 | undefined;
|
|
64
|
-
disableValidation?: boolean | undefined;
|
|
65
|
-
}>(data_0: import('better-auth').Prettify<{
|
|
66
|
-
email: string;
|
|
67
|
-
password: string;
|
|
68
|
-
callbackURL?: string | undefined;
|
|
69
|
-
rememberMe?: boolean | undefined;
|
|
70
|
-
} & {
|
|
71
|
-
fetchOptions?: FetchOptions | undefined;
|
|
72
|
-
}>, data_1?: FetchOptions | undefined) => Promise<import('better-auth/client').BetterFetchResponse<{
|
|
73
|
-
redirect: boolean;
|
|
74
|
-
token: string;
|
|
75
|
-
url: string | undefined;
|
|
76
|
-
user: {
|
|
77
|
-
id: string;
|
|
78
|
-
email: string;
|
|
79
|
-
name: string;
|
|
80
|
-
image: string | null | undefined;
|
|
81
|
-
emailVerified: boolean;
|
|
82
|
-
createdAt: Date;
|
|
83
|
-
updatedAt: Date;
|
|
84
|
-
};
|
|
85
|
-
}, {
|
|
86
|
-
code?: string;
|
|
87
|
-
message?: string;
|
|
88
|
-
}, FetchOptions["throw"] extends true ? true : false>>>;
|
|
89
|
-
export declare const useGetVerifyEmailStatus: (args?: UseAsyncOptions<ReturnType<typeof getAuthAPI>["verifyEmailSession"]>) => import('./useAsync').UseAsyncResult<"getVerifyEmailStatus", <FetchOptions extends {
|
|
90
|
-
method?: string | undefined;
|
|
91
|
-
mode?: RequestMode | undefined;
|
|
92
|
-
referrerPolicy?: ReferrerPolicy | undefined;
|
|
93
|
-
headers?: (HeadersInit & (HeadersInit | {
|
|
94
|
-
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
95
|
-
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
96
|
-
authorization: "Bearer" | "Basic";
|
|
97
|
-
})) | undefined;
|
|
98
|
-
cache?: RequestCache | undefined;
|
|
99
|
-
credentials?: RequestCredentials | undefined;
|
|
100
|
-
integrity?: string | undefined;
|
|
101
|
-
keepalive?: boolean | undefined;
|
|
102
|
-
priority?: RequestPriority | undefined;
|
|
103
|
-
redirect?: RequestRedirect | undefined;
|
|
104
|
-
referrer?: string | undefined;
|
|
105
|
-
signal?: (AbortSignal | null) | undefined;
|
|
106
|
-
window?: null | undefined;
|
|
107
|
-
onRequest?: (<T extends Record<string, any>>(context: import('better-auth/client').RequestContext<T>) => Promise<import('better-auth/client').RequestContext | void> | import('better-auth/client').RequestContext | void) | undefined;
|
|
108
|
-
onResponse?: ((context: import('better-auth/client').ResponseContext) => Promise<Response | void | import('better-auth/client').ResponseContext> | Response | import('better-auth/client').ResponseContext | void) | undefined;
|
|
109
|
-
onSuccess?: ((context: import('better-auth/client').SuccessContext<any>) => Promise<void> | void) | undefined;
|
|
110
|
-
onError?: ((context: import('better-auth/client').ErrorContext) => Promise<void> | void) | undefined;
|
|
111
|
-
onRetry?: ((response: import('better-auth/client').ResponseContext) => Promise<void> | void) | undefined;
|
|
112
|
-
hookOptions?: {
|
|
113
|
-
cloneResponse?: boolean;
|
|
114
|
-
} | undefined;
|
|
115
|
-
timeout?: number | undefined;
|
|
116
|
-
customFetchImpl?: import('better-auth/client').FetchEsque | undefined;
|
|
117
|
-
plugins?: import('better-auth/client').BetterFetchPlugin[] | undefined;
|
|
118
|
-
baseURL?: string | undefined;
|
|
119
|
-
throw?: boolean | undefined;
|
|
120
|
-
auth?: ({
|
|
121
|
-
type: "Bearer";
|
|
122
|
-
token: string | Promise<string | undefined> | (() => string | Promise<string | undefined> | undefined) | undefined;
|
|
123
|
-
} | {
|
|
124
|
-
type: "Basic";
|
|
125
|
-
username: string | (() => string | undefined) | undefined;
|
|
126
|
-
password: string | (() => string | undefined) | undefined;
|
|
127
|
-
} | {
|
|
128
|
-
type: "Custom";
|
|
129
|
-
prefix: string | (() => string | undefined) | undefined;
|
|
130
|
-
value: string | (() => string | undefined) | undefined;
|
|
131
|
-
}) | undefined;
|
|
132
|
-
body?: undefined;
|
|
133
|
-
query?: (Partial<{
|
|
134
|
-
token: string;
|
|
135
|
-
callbackURL?: string | undefined;
|
|
136
|
-
}> & Record<string, any>) | undefined;
|
|
137
|
-
params?: Record<string, any> | undefined;
|
|
138
|
-
duplex?: "full" | "half" | undefined;
|
|
139
|
-
jsonParser?: ((text: string) => Promise<any> | any) | undefined;
|
|
140
|
-
retry?: import('better-auth/client').RetryOptions | undefined;
|
|
141
|
-
retryAttempt?: number | undefined;
|
|
142
|
-
output?: (import('better-auth/client').StandardSchemaV1 | typeof Blob | typeof File) | undefined;
|
|
143
|
-
errorSchema?: import('better-auth/client').StandardSchemaV1 | undefined;
|
|
144
|
-
disableValidation?: boolean | undefined;
|
|
145
|
-
}>(data_0: import('better-auth').Prettify<{
|
|
146
|
-
query: {
|
|
147
|
-
token: string;
|
|
148
|
-
callbackURL?: string | undefined;
|
|
149
|
-
};
|
|
150
|
-
fetchOptions?: FetchOptions | undefined;
|
|
151
|
-
}>, data_1?: FetchOptions | undefined) => Promise<import('better-auth/client').BetterFetchResponse<NonNullable<void | {
|
|
152
|
-
status: boolean;
|
|
153
|
-
user: {
|
|
154
|
-
id: any;
|
|
155
|
-
email: any;
|
|
156
|
-
name: any;
|
|
157
|
-
image: any;
|
|
158
|
-
emailVerified: any;
|
|
159
|
-
createdAt: any;
|
|
160
|
-
updatedAt: any;
|
|
161
|
-
};
|
|
162
|
-
} | {
|
|
163
|
-
status: boolean;
|
|
164
|
-
user: null;
|
|
165
|
-
}>, {
|
|
166
|
-
code?: string;
|
|
167
|
-
message?: string;
|
|
168
|
-
}, FetchOptions["throw"] extends true ? true : false>>>;
|
|
169
|
-
export declare const useRegister: (args?: UseAsyncOptions<ReturnType<typeof getAuthAPI>["signUpEmail"]>) => import('./useAsync').UseAsyncResult<"register", <FetchOptions extends {
|
|
170
|
-
method?: string | undefined;
|
|
171
|
-
mode?: RequestMode | undefined;
|
|
172
|
-
referrerPolicy?: ReferrerPolicy | undefined;
|
|
173
|
-
headers?: (HeadersInit & (HeadersInit | {
|
|
174
|
-
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
175
|
-
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
176
|
-
authorization: "Bearer" | "Basic";
|
|
177
|
-
})) | undefined;
|
|
178
|
-
cache?: RequestCache | undefined;
|
|
179
|
-
credentials?: RequestCredentials | undefined;
|
|
180
|
-
integrity?: string | undefined;
|
|
181
|
-
keepalive?: boolean | undefined;
|
|
182
|
-
priority?: RequestPriority | undefined;
|
|
183
|
-
redirect?: RequestRedirect | undefined;
|
|
184
|
-
referrer?: string | undefined;
|
|
185
|
-
signal?: (AbortSignal | null) | undefined;
|
|
186
|
-
window?: null | undefined;
|
|
187
|
-
onRequest?: (<T extends Record<string, any>>(context: import('better-auth/client').RequestContext<T>) => Promise<import('better-auth/client').RequestContext | void> | import('better-auth/client').RequestContext | void) | undefined;
|
|
188
|
-
onResponse?: ((context: import('better-auth/client').ResponseContext) => Promise<Response | void | import('better-auth/client').ResponseContext> | Response | import('better-auth/client').ResponseContext | void) | undefined;
|
|
189
|
-
onSuccess?: ((context: import('better-auth/client').SuccessContext<any>) => Promise<void> | void) | undefined;
|
|
190
|
-
onError?: ((context: import('better-auth/client').ErrorContext) => Promise<void> | void) | undefined;
|
|
191
|
-
onRetry?: ((response: import('better-auth/client').ResponseContext) => Promise<void> | void) | undefined;
|
|
192
|
-
hookOptions?: {
|
|
193
|
-
cloneResponse?: boolean;
|
|
194
|
-
} | undefined;
|
|
195
|
-
timeout?: number | undefined;
|
|
196
|
-
customFetchImpl?: import('better-auth/client').FetchEsque | undefined;
|
|
197
|
-
plugins?: import('better-auth/client').BetterFetchPlugin[] | undefined;
|
|
198
|
-
baseURL?: string | undefined;
|
|
199
|
-
throw?: boolean | undefined;
|
|
200
|
-
auth?: ({
|
|
201
|
-
type: "Bearer";
|
|
202
|
-
token: string | Promise<string | undefined> | (() => string | Promise<string | undefined> | undefined) | undefined;
|
|
203
|
-
} | {
|
|
204
|
-
type: "Basic";
|
|
205
|
-
username: string | (() => string | undefined) | undefined;
|
|
206
|
-
password: string | (() => string | undefined) | undefined;
|
|
207
|
-
} | {
|
|
208
|
-
type: "Custom";
|
|
209
|
-
prefix: string | (() => string | undefined) | undefined;
|
|
210
|
-
value: string | (() => string | undefined) | undefined;
|
|
211
|
-
}) | undefined;
|
|
212
|
-
body?: (Partial<{
|
|
213
|
-
name: string;
|
|
214
|
-
email: string;
|
|
215
|
-
password: string;
|
|
216
|
-
image?: string;
|
|
217
|
-
callbackURL?: string;
|
|
218
|
-
rememberMe?: boolean;
|
|
219
|
-
}> & Record<string, any>) | undefined;
|
|
220
|
-
query?: (Partial<Record<string, any>> & Record<string, any>) | undefined;
|
|
221
|
-
params?: Record<string, any> | undefined;
|
|
222
|
-
duplex?: "full" | "half" | undefined;
|
|
223
|
-
jsonParser?: ((text: string) => Promise<any> | any) | undefined;
|
|
224
|
-
retry?: import('better-auth/client').RetryOptions | undefined;
|
|
225
|
-
retryAttempt?: number | undefined;
|
|
226
|
-
output?: (import('better-auth/client').StandardSchemaV1 | typeof Blob | typeof File) | undefined;
|
|
227
|
-
errorSchema?: import('better-auth/client').StandardSchemaV1 | undefined;
|
|
228
|
-
disableValidation?: boolean | undefined;
|
|
229
|
-
}>(data_0: import('better-auth').Prettify<{
|
|
230
|
-
email: string;
|
|
231
|
-
name: string;
|
|
232
|
-
password: string;
|
|
233
|
-
image?: string;
|
|
234
|
-
callbackURL?: string;
|
|
235
|
-
fetchOptions?: FetchOptions | undefined;
|
|
236
|
-
}>, data_1?: FetchOptions | undefined) => Promise<import('better-auth/client').BetterFetchResponse<NonNullable<{
|
|
237
|
-
token: null;
|
|
238
|
-
user: {
|
|
239
|
-
id: string;
|
|
240
|
-
email: string;
|
|
241
|
-
name: string;
|
|
242
|
-
image: string | null | undefined;
|
|
243
|
-
emailVerified: boolean;
|
|
244
|
-
createdAt: Date;
|
|
245
|
-
updatedAt: Date;
|
|
246
|
-
};
|
|
247
|
-
} | {
|
|
248
|
-
token: string;
|
|
249
|
-
user: {
|
|
250
|
-
id: string;
|
|
251
|
-
email: string;
|
|
252
|
-
name: string;
|
|
253
|
-
image: string | null | undefined;
|
|
254
|
-
emailVerified: boolean;
|
|
255
|
-
createdAt: Date;
|
|
256
|
-
updatedAt: Date;
|
|
257
|
-
};
|
|
258
|
-
}>, {
|
|
259
|
-
code?: string;
|
|
260
|
-
message?: string;
|
|
261
|
-
}, FetchOptions["throw"] extends true ? true : false>>>;
|
|
262
|
-
export declare const useLogout: (args?: UseAsyncOptions<ReturnType<typeof getAuthAPI>["signOut"]>) => import('./useAsync').UseAsyncResult<"logout", <FetchOptions extends {
|
|
263
|
-
method?: string | undefined;
|
|
264
|
-
mode?: RequestMode | undefined;
|
|
265
|
-
referrerPolicy?: ReferrerPolicy | undefined;
|
|
266
|
-
headers?: (HeadersInit & (HeadersInit | {
|
|
267
|
-
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
268
|
-
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
269
|
-
authorization: "Bearer" | "Basic";
|
|
270
|
-
})) | undefined;
|
|
271
|
-
cache?: RequestCache | undefined;
|
|
272
|
-
credentials?: RequestCredentials | undefined;
|
|
273
|
-
integrity?: string | undefined;
|
|
274
|
-
keepalive?: boolean | undefined;
|
|
275
|
-
priority?: RequestPriority | undefined;
|
|
276
|
-
redirect?: RequestRedirect | undefined;
|
|
277
|
-
referrer?: string | undefined;
|
|
278
|
-
signal?: (AbortSignal | null) | undefined;
|
|
279
|
-
window?: null | undefined;
|
|
280
|
-
onRequest?: (<T extends Record<string, any>>(context: import('better-auth/client').RequestContext<T>) => Promise<import('better-auth/client').RequestContext | void> | import('better-auth/client').RequestContext | void) | undefined;
|
|
281
|
-
onResponse?: ((context: import('better-auth/client').ResponseContext) => Promise<Response | void | import('better-auth/client').ResponseContext> | Response | import('better-auth/client').ResponseContext | void) | undefined;
|
|
282
|
-
onSuccess?: ((context: import('better-auth/client').SuccessContext<any>) => Promise<void> | void) | undefined;
|
|
283
|
-
onError?: ((context: import('better-auth/client').ErrorContext) => Promise<void> | void) | undefined;
|
|
284
|
-
onRetry?: ((response: import('better-auth/client').ResponseContext) => Promise<void> | void) | undefined;
|
|
285
|
-
hookOptions?: {
|
|
286
|
-
cloneResponse?: boolean;
|
|
287
|
-
} | undefined;
|
|
288
|
-
timeout?: number | undefined;
|
|
289
|
-
customFetchImpl?: import('better-auth/client').FetchEsque | undefined;
|
|
290
|
-
plugins?: import('better-auth/client').BetterFetchPlugin[] | undefined;
|
|
291
|
-
baseURL?: string | undefined;
|
|
292
|
-
throw?: boolean | undefined;
|
|
293
|
-
auth?: ({
|
|
294
|
-
type: "Bearer";
|
|
295
|
-
token: string | Promise<string | undefined> | (() => string | Promise<string | undefined> | undefined) | undefined;
|
|
296
|
-
} | {
|
|
297
|
-
type: "Basic";
|
|
298
|
-
username: string | (() => string | undefined) | undefined;
|
|
299
|
-
password: string | (() => string | undefined) | undefined;
|
|
300
|
-
} | {
|
|
301
|
-
type: "Custom";
|
|
302
|
-
prefix: string | (() => string | undefined) | undefined;
|
|
303
|
-
value: string | (() => string | undefined) | undefined;
|
|
304
|
-
}) | undefined;
|
|
305
|
-
body?: undefined;
|
|
306
|
-
query?: (Partial<Record<string, any>> & Record<string, any>) | undefined;
|
|
307
|
-
params?: Record<string, any> | undefined;
|
|
308
|
-
duplex?: "full" | "half" | undefined;
|
|
309
|
-
jsonParser?: ((text: string) => Promise<any> | any) | undefined;
|
|
310
|
-
retry?: import('better-auth/client').RetryOptions | undefined;
|
|
311
|
-
retryAttempt?: number | undefined;
|
|
312
|
-
output?: (import('better-auth/client').StandardSchemaV1 | typeof Blob | typeof File) | undefined;
|
|
313
|
-
errorSchema?: import('better-auth/client').StandardSchemaV1 | undefined;
|
|
314
|
-
disableValidation?: boolean | undefined;
|
|
315
|
-
}>(data_0?: import('better-auth').Prettify<{
|
|
316
|
-
query?: Record<string, any> | undefined;
|
|
317
|
-
fetchOptions?: FetchOptions | undefined;
|
|
318
|
-
}> | undefined, data_1?: FetchOptions | undefined) => Promise<import('better-auth/client').BetterFetchResponse<{
|
|
319
|
-
success: boolean;
|
|
320
|
-
}, {
|
|
321
|
-
code?: string;
|
|
322
|
-
message?: string;
|
|
323
|
-
}, FetchOptions["throw"] extends true ? true : false>>>;
|
|
324
|
-
export declare const useChangePassword: (args?: UseAsyncOptions<ReturnType<typeof getAuthAPI>["changePasswordSession"]>) => import('./useAsync').UseAsyncResult<"changePassword", <FetchOptions extends {
|
|
325
|
-
method?: string | undefined;
|
|
326
|
-
mode?: RequestMode | undefined;
|
|
327
|
-
referrerPolicy?: ReferrerPolicy | undefined;
|
|
328
|
-
headers?: (HeadersInit & (HeadersInit | {
|
|
329
|
-
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
330
|
-
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
331
|
-
authorization: "Bearer" | "Basic";
|
|
332
|
-
})) | undefined;
|
|
333
|
-
cache?: RequestCache | undefined;
|
|
334
|
-
credentials?: RequestCredentials | undefined;
|
|
335
|
-
integrity?: string | undefined;
|
|
336
|
-
keepalive?: boolean | undefined;
|
|
337
|
-
priority?: RequestPriority | undefined;
|
|
338
|
-
redirect?: RequestRedirect | undefined;
|
|
339
|
-
referrer?: string | undefined;
|
|
340
|
-
signal?: (AbortSignal | null) | undefined;
|
|
341
|
-
window?: null | undefined;
|
|
342
|
-
onRequest?: (<T extends Record<string, any>>(context: import('better-auth/client').RequestContext<T>) => Promise<import('better-auth/client').RequestContext | void> | import('better-auth/client').RequestContext | void) | undefined;
|
|
343
|
-
onResponse?: ((context: import('better-auth/client').ResponseContext) => Promise<Response | void | import('better-auth/client').ResponseContext> | Response | import('better-auth/client').ResponseContext | void) | undefined;
|
|
344
|
-
onSuccess?: ((context: import('better-auth/client').SuccessContext<any>) => Promise<void> | void) | undefined;
|
|
345
|
-
onError?: ((context: import('better-auth/client').ErrorContext) => Promise<void> | void) | undefined;
|
|
346
|
-
onRetry?: ((response: import('better-auth/client').ResponseContext) => Promise<void> | void) | undefined;
|
|
347
|
-
hookOptions?: {
|
|
348
|
-
cloneResponse?: boolean;
|
|
349
|
-
} | undefined;
|
|
350
|
-
timeout?: number | undefined;
|
|
351
|
-
customFetchImpl?: import('better-auth/client').FetchEsque | undefined;
|
|
352
|
-
plugins?: import('better-auth/client').BetterFetchPlugin[] | undefined;
|
|
353
|
-
baseURL?: string | undefined;
|
|
354
|
-
throw?: boolean | undefined;
|
|
355
|
-
auth?: ({
|
|
356
|
-
type: "Bearer";
|
|
357
|
-
token: string | Promise<string | undefined> | (() => string | Promise<string | undefined> | undefined) | undefined;
|
|
358
|
-
} | {
|
|
359
|
-
type: "Basic";
|
|
360
|
-
username: string | (() => string | undefined) | undefined;
|
|
361
|
-
password: string | (() => string | undefined) | undefined;
|
|
362
|
-
} | {
|
|
363
|
-
type: "Custom";
|
|
364
|
-
prefix: string | (() => string | undefined) | undefined;
|
|
365
|
-
value: string | (() => string | undefined) | undefined;
|
|
366
|
-
}) | undefined;
|
|
367
|
-
body?: (Partial<{
|
|
368
|
-
newPassword: string;
|
|
369
|
-
currentPassword: string;
|
|
370
|
-
revokeOtherSessions?: boolean | undefined;
|
|
371
|
-
}> & Record<string, any>) | undefined;
|
|
372
|
-
query?: (Partial<Record<string, any>> & Record<string, any>) | undefined;
|
|
373
|
-
params?: Record<string, any> | undefined;
|
|
374
|
-
duplex?: "full" | "half" | undefined;
|
|
375
|
-
jsonParser?: ((text: string) => Promise<any> | any) | undefined;
|
|
376
|
-
retry?: import('better-auth/client').RetryOptions | undefined;
|
|
377
|
-
retryAttempt?: number | undefined;
|
|
378
|
-
output?: (import('better-auth/client').StandardSchemaV1 | typeof Blob | typeof File) | undefined;
|
|
379
|
-
errorSchema?: import('better-auth/client').StandardSchemaV1 | undefined;
|
|
380
|
-
disableValidation?: boolean | undefined;
|
|
381
|
-
}>(data_0: import('better-auth').Prettify<{
|
|
382
|
-
newPassword: string;
|
|
383
|
-
currentPassword: string;
|
|
384
|
-
revokeOtherSessions?: boolean | undefined;
|
|
385
|
-
} & {
|
|
386
|
-
fetchOptions?: FetchOptions | undefined;
|
|
387
|
-
}>, data_1?: FetchOptions | undefined) => Promise<import('better-auth/client').BetterFetchResponse<{
|
|
388
|
-
token: string | null;
|
|
389
|
-
user: {
|
|
390
|
-
id: string;
|
|
391
|
-
email: string;
|
|
392
|
-
name: string;
|
|
393
|
-
image: string | null | undefined;
|
|
394
|
-
emailVerified: boolean;
|
|
395
|
-
createdAt: Date;
|
|
396
|
-
updatedAt: Date;
|
|
397
|
-
};
|
|
398
|
-
}, {
|
|
399
|
-
code?: string;
|
|
400
|
-
message?: string;
|
|
401
|
-
}, FetchOptions["throw"] extends true ? true : false>>>;
|
|
402
|
-
export declare const useAskResetPassword: (args?: UseAsyncOptions<ReturnType<typeof getAuthAPI>["requestPasswordResetSession"]>) => import('./useAsync').UseAsyncResult<"askResetPassword", <FetchOptions extends {
|
|
403
|
-
method?: string | undefined;
|
|
404
|
-
mode?: RequestMode | undefined;
|
|
405
|
-
referrerPolicy?: ReferrerPolicy | undefined;
|
|
406
|
-
headers?: (HeadersInit & (HeadersInit | {
|
|
407
|
-
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
408
|
-
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
409
|
-
authorization: "Bearer" | "Basic";
|
|
410
|
-
})) | undefined;
|
|
411
|
-
cache?: RequestCache | undefined;
|
|
412
|
-
credentials?: RequestCredentials | undefined;
|
|
413
|
-
integrity?: string | undefined;
|
|
414
|
-
keepalive?: boolean | undefined;
|
|
415
|
-
priority?: RequestPriority | undefined;
|
|
416
|
-
redirect?: RequestRedirect | undefined;
|
|
417
|
-
referrer?: string | undefined;
|
|
418
|
-
signal?: (AbortSignal | null) | undefined;
|
|
419
|
-
window?: null | undefined;
|
|
420
|
-
onRequest?: (<T extends Record<string, any>>(context: import('better-auth/client').RequestContext<T>) => Promise<import('better-auth/client').RequestContext | void> | import('better-auth/client').RequestContext | void) | undefined;
|
|
421
|
-
onResponse?: ((context: import('better-auth/client').ResponseContext) => Promise<Response | void | import('better-auth/client').ResponseContext> | Response | import('better-auth/client').ResponseContext | void) | undefined;
|
|
422
|
-
onSuccess?: ((context: import('better-auth/client').SuccessContext<any>) => Promise<void> | void) | undefined;
|
|
423
|
-
onError?: ((context: import('better-auth/client').ErrorContext) => Promise<void> | void) | undefined;
|
|
424
|
-
onRetry?: ((response: import('better-auth/client').ResponseContext) => Promise<void> | void) | undefined;
|
|
425
|
-
hookOptions?: {
|
|
426
|
-
cloneResponse?: boolean;
|
|
427
|
-
} | undefined;
|
|
428
|
-
timeout?: number | undefined;
|
|
429
|
-
customFetchImpl?: import('better-auth/client').FetchEsque | undefined;
|
|
430
|
-
plugins?: import('better-auth/client').BetterFetchPlugin[] | undefined;
|
|
431
|
-
baseURL?: string | undefined;
|
|
432
|
-
throw?: boolean | undefined;
|
|
433
|
-
auth?: ({
|
|
434
|
-
type: "Bearer";
|
|
435
|
-
token: string | Promise<string | undefined> | (() => string | Promise<string | undefined> | undefined) | undefined;
|
|
436
|
-
} | {
|
|
437
|
-
type: "Basic";
|
|
438
|
-
username: string | (() => string | undefined) | undefined;
|
|
439
|
-
password: string | (() => string | undefined) | undefined;
|
|
440
|
-
} | {
|
|
441
|
-
type: "Custom";
|
|
442
|
-
prefix: string | (() => string | undefined) | undefined;
|
|
443
|
-
value: string | (() => string | undefined) | undefined;
|
|
444
|
-
}) | undefined;
|
|
445
|
-
body?: (Partial<{
|
|
446
|
-
email: string;
|
|
447
|
-
redirectTo?: string | undefined;
|
|
448
|
-
}> & Record<string, any>) | undefined;
|
|
449
|
-
query?: (Partial<Record<string, any>> & Record<string, any>) | undefined;
|
|
450
|
-
params?: Record<string, any> | undefined;
|
|
451
|
-
duplex?: "full" | "half" | undefined;
|
|
452
|
-
jsonParser?: ((text: string) => Promise<any> | any) | undefined;
|
|
453
|
-
retry?: import('better-auth/client').RetryOptions | undefined;
|
|
454
|
-
retryAttempt?: number | undefined;
|
|
455
|
-
output?: (import('better-auth/client').StandardSchemaV1 | typeof Blob | typeof File) | undefined;
|
|
456
|
-
errorSchema?: import('better-auth/client').StandardSchemaV1 | undefined;
|
|
457
|
-
disableValidation?: boolean | undefined;
|
|
458
|
-
}>(data_0: import('better-auth').Prettify<{
|
|
459
|
-
email: string;
|
|
460
|
-
redirectTo?: string | undefined;
|
|
461
|
-
} & {
|
|
462
|
-
fetchOptions?: FetchOptions | undefined;
|
|
463
|
-
}>, data_1?: FetchOptions | undefined) => Promise<import('better-auth/client').BetterFetchResponse<{
|
|
464
|
-
status: boolean;
|
|
465
|
-
}, {
|
|
466
|
-
code?: string;
|
|
467
|
-
message?: string;
|
|
468
|
-
}, FetchOptions["throw"] extends true ? true : false>>>;
|
|
469
|
-
export declare const useResetPassword: (args?: UseAsyncOptions<ReturnType<typeof getAuthAPI>["resetPassword"]>) => import('./useAsync').UseAsyncResult<"resetPassword", (<FetchOptions extends {
|
|
470
|
-
method?: string | undefined;
|
|
471
|
-
mode?: RequestMode | undefined;
|
|
472
|
-
referrerPolicy?: ReferrerPolicy | undefined;
|
|
473
|
-
headers?: (HeadersInit & (HeadersInit | {
|
|
474
|
-
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
475
|
-
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
476
|
-
authorization: "Bearer" | "Basic";
|
|
477
|
-
})) | undefined;
|
|
478
|
-
cache?: RequestCache | undefined;
|
|
479
|
-
credentials?: RequestCredentials | undefined;
|
|
480
|
-
integrity?: string | undefined;
|
|
481
|
-
keepalive?: boolean | undefined;
|
|
482
|
-
priority?: RequestPriority | undefined;
|
|
483
|
-
redirect?: RequestRedirect | undefined;
|
|
484
|
-
referrer?: string | undefined;
|
|
485
|
-
signal?: (AbortSignal | null) | undefined;
|
|
486
|
-
window?: null | undefined;
|
|
487
|
-
onRequest?: (<T extends Record<string, any>>(context: import('better-auth/client').RequestContext<T>) => Promise<import('better-auth/client').RequestContext | void> | import('better-auth/client').RequestContext | void) | undefined;
|
|
488
|
-
onResponse?: ((context: import('better-auth/client').ResponseContext) => Promise<Response | void | import('better-auth/client').ResponseContext> | Response | import('better-auth/client').ResponseContext | void) | undefined;
|
|
489
|
-
onSuccess?: ((context: import('better-auth/client').SuccessContext<any>) => Promise<void> | void) | undefined;
|
|
490
|
-
onError?: ((context: import('better-auth/client').ErrorContext) => Promise<void> | void) | undefined;
|
|
491
|
-
onRetry?: ((response: import('better-auth/client').ResponseContext) => Promise<void> | void) | undefined;
|
|
492
|
-
hookOptions?: {
|
|
493
|
-
cloneResponse?: boolean;
|
|
494
|
-
} | undefined;
|
|
495
|
-
timeout?: number | undefined;
|
|
496
|
-
customFetchImpl?: import('better-auth/client').FetchEsque | undefined;
|
|
497
|
-
plugins?: import('better-auth/client').BetterFetchPlugin[] | undefined;
|
|
498
|
-
baseURL?: string | undefined;
|
|
499
|
-
throw?: boolean | undefined;
|
|
500
|
-
auth?: ({
|
|
501
|
-
type: "Bearer";
|
|
502
|
-
token: string | Promise<string | undefined> | (() => string | Promise<string | undefined> | undefined) | undefined;
|
|
503
|
-
} | {
|
|
504
|
-
type: "Basic";
|
|
505
|
-
username: string | (() => string | undefined) | undefined;
|
|
506
|
-
password: string | (() => string | undefined) | undefined;
|
|
507
|
-
} | {
|
|
508
|
-
type: "Custom";
|
|
509
|
-
prefix: string | (() => string | undefined) | undefined;
|
|
510
|
-
value: string | (() => string | undefined) | undefined;
|
|
511
|
-
}) | undefined;
|
|
512
|
-
body?: (Partial<{
|
|
513
|
-
newPassword: string;
|
|
514
|
-
token?: string | undefined;
|
|
515
|
-
}> & Record<string, any>) | undefined;
|
|
516
|
-
query?: (Partial<{
|
|
517
|
-
token?: string | undefined;
|
|
518
|
-
}> & Record<string, any>) | undefined;
|
|
519
|
-
params?: Record<string, any> | undefined;
|
|
520
|
-
duplex?: "full" | "half" | undefined;
|
|
521
|
-
jsonParser?: ((text: string) => Promise<any> | any) | undefined;
|
|
522
|
-
retry?: import('better-auth/client').RetryOptions | undefined;
|
|
523
|
-
retryAttempt?: number | undefined;
|
|
524
|
-
output?: (import('better-auth/client').StandardSchemaV1 | typeof Blob | typeof File) | undefined;
|
|
525
|
-
errorSchema?: import('better-auth/client').StandardSchemaV1 | undefined;
|
|
526
|
-
disableValidation?: boolean | undefined;
|
|
527
|
-
}>(data_0: import('better-auth').Prettify<{
|
|
528
|
-
newPassword: string;
|
|
529
|
-
token?: string | undefined;
|
|
530
|
-
} & {
|
|
531
|
-
fetchOptions?: FetchOptions | undefined;
|
|
532
|
-
}>, data_1?: FetchOptions | undefined) => Promise<import('better-auth/client').BetterFetchResponse<{
|
|
533
|
-
status: boolean;
|
|
534
|
-
}, {
|
|
535
|
-
code?: string;
|
|
536
|
-
message?: string;
|
|
537
|
-
}, FetchOptions["throw"] extends true ? true : false>>) & {
|
|
538
|
-
":token": <FetchOptions extends {
|
|
539
|
-
method?: string | undefined;
|
|
540
|
-
mode?: RequestMode | undefined;
|
|
541
|
-
referrerPolicy?: ReferrerPolicy | undefined;
|
|
542
|
-
headers?: (HeadersInit & (HeadersInit | {
|
|
543
|
-
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
544
|
-
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
545
|
-
authorization: "Bearer" | "Basic";
|
|
546
|
-
})) | undefined;
|
|
547
|
-
cache?: RequestCache | undefined;
|
|
548
|
-
credentials?: RequestCredentials | undefined;
|
|
549
|
-
integrity?: string | undefined;
|
|
550
|
-
keepalive?: boolean | undefined;
|
|
551
|
-
priority?: RequestPriority | undefined;
|
|
552
|
-
redirect?: RequestRedirect | undefined;
|
|
553
|
-
referrer?: string | undefined;
|
|
554
|
-
signal?: (AbortSignal | null) | undefined;
|
|
555
|
-
window?: null | undefined;
|
|
556
|
-
onRequest?: (<T extends Record<string, any>>(context: import('better-auth/client').RequestContext<T>) => Promise<import('better-auth/client').RequestContext | void> | import('better-auth/client').RequestContext | void) | undefined;
|
|
557
|
-
onResponse?: ((context: import('better-auth/client').ResponseContext) => Promise<Response | void | import('better-auth/client').ResponseContext> | Response | import('better-auth/client').ResponseContext | void) | undefined;
|
|
558
|
-
onSuccess?: ((context: import('better-auth/client').SuccessContext<any>) => Promise<void> | void) | undefined;
|
|
559
|
-
onError?: ((context: import('better-auth/client').ErrorContext) => Promise<void> | void) | undefined;
|
|
560
|
-
onRetry?: ((response: import('better-auth/client').ResponseContext) => Promise<void> | void) | undefined;
|
|
561
|
-
hookOptions?: {
|
|
562
|
-
cloneResponse?: boolean;
|
|
563
|
-
} | undefined;
|
|
564
|
-
timeout?: number | undefined;
|
|
565
|
-
customFetchImpl?: import('better-auth/client').FetchEsque | undefined;
|
|
566
|
-
plugins?: import('better-auth/client').BetterFetchPlugin[] | undefined;
|
|
567
|
-
baseURL?: string | undefined;
|
|
568
|
-
throw?: boolean | undefined;
|
|
569
|
-
auth?: ({
|
|
570
|
-
type: "Bearer";
|
|
571
|
-
token: string | Promise<string | undefined> | (() => string | Promise<string | undefined> | undefined) | undefined;
|
|
572
|
-
} | {
|
|
573
|
-
type: "Basic";
|
|
574
|
-
username: string | (() => string | undefined) | undefined;
|
|
575
|
-
password: string | (() => string | undefined) | undefined;
|
|
576
|
-
} | {
|
|
577
|
-
type: "Custom";
|
|
578
|
-
prefix: string | (() => string | undefined) | undefined;
|
|
579
|
-
value: string | (() => string | undefined) | undefined;
|
|
580
|
-
}) | undefined;
|
|
581
|
-
body?: undefined;
|
|
582
|
-
query?: (Partial<{
|
|
583
|
-
callbackURL: string;
|
|
584
|
-
}> & Record<string, any>) | undefined;
|
|
585
|
-
params?: {
|
|
586
|
-
token: string;
|
|
587
|
-
} | undefined;
|
|
588
|
-
duplex?: "full" | "half" | undefined;
|
|
589
|
-
jsonParser?: ((text: string) => Promise<any> | any) | undefined;
|
|
590
|
-
retry?: import('better-auth/client').RetryOptions | undefined;
|
|
591
|
-
retryAttempt?: number | undefined;
|
|
592
|
-
output?: (import('better-auth/client').StandardSchemaV1 | typeof Blob | typeof File) | undefined;
|
|
593
|
-
errorSchema?: import('better-auth/client').StandardSchemaV1 | undefined;
|
|
594
|
-
disableValidation?: boolean | undefined;
|
|
595
|
-
}>(data_0: import('better-auth').Prettify<{
|
|
596
|
-
query: {
|
|
597
|
-
callbackURL: string;
|
|
598
|
-
};
|
|
599
|
-
fetchOptions?: FetchOptions | undefined;
|
|
600
|
-
}>, data_1?: FetchOptions | undefined) => Promise<import('better-auth/client').BetterFetchResponse<never, {
|
|
601
|
-
code?: string;
|
|
602
|
-
message?: string;
|
|
603
|
-
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
604
|
-
} & {
|
|
605
|
-
":token": <FetchOptions extends {
|
|
606
|
-
method?: string | undefined;
|
|
607
|
-
mode?: RequestMode | undefined;
|
|
608
|
-
referrerPolicy?: ReferrerPolicy | undefined;
|
|
609
|
-
headers?: (HeadersInit & (HeadersInit | {
|
|
610
|
-
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
611
|
-
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
612
|
-
authorization: "Bearer" | "Basic";
|
|
613
|
-
})) | undefined;
|
|
614
|
-
cache?: RequestCache | undefined;
|
|
615
|
-
credentials?: RequestCredentials | undefined;
|
|
616
|
-
integrity?: string | undefined;
|
|
617
|
-
keepalive?: boolean | undefined;
|
|
618
|
-
priority?: RequestPriority | undefined;
|
|
619
|
-
redirect?: RequestRedirect | undefined;
|
|
620
|
-
referrer?: string | undefined;
|
|
621
|
-
signal?: (AbortSignal | null) | undefined;
|
|
622
|
-
window?: null | undefined;
|
|
623
|
-
onRequest?: (<T extends Record<string, any>>(context: import('better-auth/client').RequestContext<T>) => Promise<import('better-auth/client').RequestContext | void> | import('better-auth/client').RequestContext | void) | undefined;
|
|
624
|
-
onResponse?: ((context: import('better-auth/client').ResponseContext) => Promise<Response | void | import('better-auth/client').ResponseContext> | Response | import('better-auth/client').ResponseContext | void) | undefined;
|
|
625
|
-
onSuccess?: ((context: import('better-auth/client').SuccessContext<any>) => Promise<void> | void) | undefined;
|
|
626
|
-
onError?: ((context: import('better-auth/client').ErrorContext) => Promise<void> | void) | undefined;
|
|
627
|
-
onRetry?: ((response: import('better-auth/client').ResponseContext) => Promise<void> | void) | undefined;
|
|
628
|
-
hookOptions?: {
|
|
629
|
-
cloneResponse?: boolean;
|
|
630
|
-
} | undefined;
|
|
631
|
-
timeout?: number | undefined;
|
|
632
|
-
customFetchImpl?: import('better-auth/client').FetchEsque | undefined;
|
|
633
|
-
plugins?: import('better-auth/client').BetterFetchPlugin[] | undefined;
|
|
634
|
-
baseURL?: string | undefined;
|
|
635
|
-
throw?: boolean | undefined;
|
|
636
|
-
auth?: ({
|
|
637
|
-
type: "Bearer";
|
|
638
|
-
token: string | Promise<string | undefined> | (() => string | Promise<string | undefined> | undefined) | undefined;
|
|
639
|
-
} | {
|
|
640
|
-
type: "Basic";
|
|
641
|
-
username: string | (() => string | undefined) | undefined;
|
|
642
|
-
password: string | (() => string | undefined) | undefined;
|
|
643
|
-
} | {
|
|
644
|
-
type: "Custom";
|
|
645
|
-
prefix: string | (() => string | undefined) | undefined;
|
|
646
|
-
value: string | (() => string | undefined) | undefined;
|
|
647
|
-
}) | undefined;
|
|
648
|
-
body?: undefined;
|
|
649
|
-
query?: (Partial<{
|
|
650
|
-
callbackURL: string;
|
|
651
|
-
}> & Record<string, any>) | undefined;
|
|
652
|
-
params?: {
|
|
653
|
-
token: string;
|
|
654
|
-
} | undefined;
|
|
655
|
-
duplex?: "full" | "half" | undefined;
|
|
656
|
-
jsonParser?: ((text: string) => Promise<any> | any) | undefined;
|
|
657
|
-
retry?: import('better-auth/client').RetryOptions | undefined;
|
|
658
|
-
retryAttempt?: number | undefined;
|
|
659
|
-
output?: (import('better-auth/client').StandardSchemaV1 | typeof Blob | typeof File) | undefined;
|
|
660
|
-
errorSchema?: import('better-auth/client').StandardSchemaV1 | undefined;
|
|
661
|
-
disableValidation?: boolean | undefined;
|
|
662
|
-
}>(data_0: import('better-auth').Prettify<{
|
|
663
|
-
query: {
|
|
664
|
-
callbackURL: string;
|
|
665
|
-
};
|
|
666
|
-
fetchOptions?: FetchOptions | undefined;
|
|
667
|
-
}>, data_1?: FetchOptions | undefined) => Promise<import('better-auth/client').BetterFetchResponse<never, {
|
|
668
|
-
code?: string;
|
|
669
|
-
message?: string;
|
|
670
|
-
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
671
|
-
}>;
|
|
672
|
-
export declare const useVerifyEmail: (args?: UseAsyncOptions<ReturnType<typeof getAuthAPI>["verifyEmailSession"]>) => import('./useAsync').UseAsyncResult<"verifyEmail", <FetchOptions extends {
|
|
673
|
-
method?: string | undefined;
|
|
674
|
-
mode?: RequestMode | undefined;
|
|
675
|
-
referrerPolicy?: ReferrerPolicy | undefined;
|
|
676
|
-
headers?: (HeadersInit & (HeadersInit | {
|
|
677
|
-
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
678
|
-
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
679
|
-
authorization: "Bearer" | "Basic";
|
|
680
|
-
})) | undefined;
|
|
681
|
-
cache?: RequestCache | undefined;
|
|
682
|
-
credentials?: RequestCredentials | undefined;
|
|
683
|
-
integrity?: string | undefined;
|
|
684
|
-
keepalive?: boolean | undefined;
|
|
685
|
-
priority?: RequestPriority | undefined;
|
|
686
|
-
redirect?: RequestRedirect | undefined;
|
|
687
|
-
referrer?: string | undefined;
|
|
688
|
-
signal?: (AbortSignal | null) | undefined;
|
|
689
|
-
window?: null | undefined;
|
|
690
|
-
onRequest?: (<T extends Record<string, any>>(context: import('better-auth/client').RequestContext<T>) => Promise<import('better-auth/client').RequestContext | void> | import('better-auth/client').RequestContext | void) | undefined;
|
|
691
|
-
onResponse?: ((context: import('better-auth/client').ResponseContext) => Promise<Response | void | import('better-auth/client').ResponseContext> | Response | import('better-auth/client').ResponseContext | void) | undefined;
|
|
692
|
-
onSuccess?: ((context: import('better-auth/client').SuccessContext<any>) => Promise<void> | void) | undefined;
|
|
693
|
-
onError?: ((context: import('better-auth/client').ErrorContext) => Promise<void> | void) | undefined;
|
|
694
|
-
onRetry?: ((response: import('better-auth/client').ResponseContext) => Promise<void> | void) | undefined;
|
|
695
|
-
hookOptions?: {
|
|
696
|
-
cloneResponse?: boolean;
|
|
697
|
-
} | undefined;
|
|
698
|
-
timeout?: number | undefined;
|
|
699
|
-
customFetchImpl?: import('better-auth/client').FetchEsque | undefined;
|
|
700
|
-
plugins?: import('better-auth/client').BetterFetchPlugin[] | undefined;
|
|
701
|
-
baseURL?: string | undefined;
|
|
702
|
-
throw?: boolean | undefined;
|
|
703
|
-
auth?: ({
|
|
704
|
-
type: "Bearer";
|
|
705
|
-
token: string | Promise<string | undefined> | (() => string | Promise<string | undefined> | undefined) | undefined;
|
|
706
|
-
} | {
|
|
707
|
-
type: "Basic";
|
|
708
|
-
username: string | (() => string | undefined) | undefined;
|
|
709
|
-
password: string | (() => string | undefined) | undefined;
|
|
710
|
-
} | {
|
|
711
|
-
type: "Custom";
|
|
712
|
-
prefix: string | (() => string | undefined) | undefined;
|
|
713
|
-
value: string | (() => string | undefined) | undefined;
|
|
714
|
-
}) | undefined;
|
|
715
|
-
body?: undefined;
|
|
716
|
-
query?: (Partial<{
|
|
717
|
-
token: string;
|
|
718
|
-
callbackURL?: string | undefined;
|
|
719
|
-
}> & Record<string, any>) | undefined;
|
|
720
|
-
params?: Record<string, any> | undefined;
|
|
721
|
-
duplex?: "full" | "half" | undefined;
|
|
722
|
-
jsonParser?: ((text: string) => Promise<any> | any) | undefined;
|
|
723
|
-
retry?: import('better-auth/client').RetryOptions | undefined;
|
|
724
|
-
retryAttempt?: number | undefined;
|
|
725
|
-
output?: (import('better-auth/client').StandardSchemaV1 | typeof Blob | typeof File) | undefined;
|
|
726
|
-
errorSchema?: import('better-auth/client').StandardSchemaV1 | undefined;
|
|
727
|
-
disableValidation?: boolean | undefined;
|
|
728
|
-
}>(data_0: import('better-auth').Prettify<{
|
|
729
|
-
query: {
|
|
730
|
-
token: string;
|
|
731
|
-
callbackURL?: string | undefined;
|
|
732
|
-
};
|
|
733
|
-
fetchOptions?: FetchOptions | undefined;
|
|
734
|
-
}>, data_1?: FetchOptions | undefined) => Promise<import('better-auth/client').BetterFetchResponse<NonNullable<void | {
|
|
735
|
-
status: boolean;
|
|
736
|
-
user: {
|
|
737
|
-
id: any;
|
|
738
|
-
email: any;
|
|
739
|
-
name: any;
|
|
740
|
-
image: any;
|
|
741
|
-
emailVerified: any;
|
|
742
|
-
createdAt: any;
|
|
743
|
-
updatedAt: any;
|
|
744
|
-
};
|
|
745
|
-
} | {
|
|
746
|
-
status: boolean;
|
|
747
|
-
user: null;
|
|
748
|
-
}>, {
|
|
749
|
-
code?: string;
|
|
750
|
-
message?: string;
|
|
751
|
-
}, FetchOptions["throw"] extends true ? true : false>>>;
|
|
752
|
-
export declare const useGetUserByAccount: (args?: UseAsyncOptions<ReturnType<typeof getAuthAPI>["accountInfo"]>) => import('./useAsync').UseAsyncResult<"getUserByAccount", <FetchOptions extends {
|
|
753
|
-
method?: string | undefined;
|
|
754
|
-
mode?: RequestMode | undefined;
|
|
755
|
-
referrerPolicy?: ReferrerPolicy | undefined;
|
|
756
|
-
headers?: (HeadersInit & (HeadersInit | {
|
|
757
|
-
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
758
|
-
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
759
|
-
authorization: "Bearer" | "Basic";
|
|
760
|
-
})) | undefined;
|
|
761
|
-
cache?: RequestCache | undefined;
|
|
762
|
-
credentials?: RequestCredentials | undefined;
|
|
763
|
-
integrity?: string | undefined;
|
|
764
|
-
keepalive?: boolean | undefined;
|
|
765
|
-
priority?: RequestPriority | undefined;
|
|
766
|
-
redirect?: RequestRedirect | undefined;
|
|
767
|
-
referrer?: string | undefined;
|
|
768
|
-
signal?: (AbortSignal | null) | undefined;
|
|
769
|
-
window?: null | undefined;
|
|
770
|
-
onRequest?: (<T extends Record<string, any>>(context: import('better-auth/client').RequestContext<T>) => Promise<import('better-auth/client').RequestContext | void> | import('better-auth/client').RequestContext | void) | undefined;
|
|
771
|
-
onResponse?: ((context: import('better-auth/client').ResponseContext) => Promise<Response | void | import('better-auth/client').ResponseContext> | Response | import('better-auth/client').ResponseContext | void) | undefined;
|
|
772
|
-
onSuccess?: ((context: import('better-auth/client').SuccessContext<any>) => Promise<void> | void) | undefined;
|
|
773
|
-
onError?: ((context: import('better-auth/client').ErrorContext) => Promise<void> | void) | undefined;
|
|
774
|
-
onRetry?: ((response: import('better-auth/client').ResponseContext) => Promise<void> | void) | undefined;
|
|
775
|
-
hookOptions?: {
|
|
776
|
-
cloneResponse?: boolean;
|
|
777
|
-
} | undefined;
|
|
778
|
-
timeout?: number | undefined;
|
|
779
|
-
customFetchImpl?: import('better-auth/client').FetchEsque | undefined;
|
|
780
|
-
plugins?: import('better-auth/client').BetterFetchPlugin[] | undefined;
|
|
781
|
-
baseURL?: string | undefined;
|
|
782
|
-
throw?: boolean | undefined;
|
|
783
|
-
auth?: ({
|
|
784
|
-
type: "Bearer";
|
|
785
|
-
token: string | Promise<string | undefined> | (() => string | Promise<string | undefined> | undefined) | undefined;
|
|
786
|
-
} | {
|
|
787
|
-
type: "Basic";
|
|
788
|
-
username: string | (() => string | undefined) | undefined;
|
|
789
|
-
password: string | (() => string | undefined) | undefined;
|
|
790
|
-
} | {
|
|
791
|
-
type: "Custom";
|
|
792
|
-
prefix: string | (() => string | undefined) | undefined;
|
|
793
|
-
value: string | (() => string | undefined) | undefined;
|
|
794
|
-
}) | undefined;
|
|
795
|
-
body?: (Partial<{
|
|
796
|
-
accountId: string;
|
|
797
|
-
}> & Record<string, any>) | undefined;
|
|
798
|
-
query?: (Partial<Record<string, any>> & Record<string, any>) | undefined;
|
|
799
|
-
params?: Record<string, any> | undefined;
|
|
800
|
-
duplex?: "full" | "half" | undefined;
|
|
801
|
-
jsonParser?: ((text: string) => Promise<any> | any) | undefined;
|
|
802
|
-
retry?: import('better-auth/client').RetryOptions | undefined;
|
|
803
|
-
retryAttempt?: number | undefined;
|
|
804
|
-
output?: (import('better-auth/client').StandardSchemaV1 | typeof Blob | typeof File) | undefined;
|
|
805
|
-
errorSchema?: import('better-auth/client').StandardSchemaV1 | undefined;
|
|
806
|
-
disableValidation?: boolean | undefined;
|
|
807
|
-
}>(data_0: import('better-auth').Prettify<{
|
|
808
|
-
accountId: string;
|
|
809
|
-
} & {
|
|
810
|
-
fetchOptions?: FetchOptions | undefined;
|
|
811
|
-
}>, data_1?: FetchOptions | undefined) => Promise<import('better-auth/client').BetterFetchResponse<{
|
|
812
|
-
user: {
|
|
813
|
-
id: string | number;
|
|
814
|
-
name?: string;
|
|
815
|
-
email?: string | null;
|
|
816
|
-
image?: string;
|
|
817
|
-
emailVerified: boolean;
|
|
818
|
-
};
|
|
819
|
-
data: Record<string, any>;
|
|
820
|
-
}, {
|
|
821
|
-
code?: string;
|
|
822
|
-
message?: string;
|
|
823
|
-
}, FetchOptions["throw"] extends true ? true : false>>>;
|
|
824
|
-
/**
|
|
825
|
-
* User
|
|
826
|
-
*/
|
|
827
|
-
export declare const useGetUsers: (args?: UseAsyncOptions<IntlayerAPI["user"]["getUsers"]>) => import('./useAsync').UseAsyncResult<"getUsers", (filters?: import('@intlayer/backend').GetUsersParams, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<import('@intlayer/backend').GetUsersResult>>;
|
|
828
|
-
export declare const useCreateUser: (args?: UseAsyncOptions<ReturnType<typeof getAuthAPI>["updateUser"]>) => import('./useAsync').UseAsyncResult<"createUser", <FetchOptions extends {
|
|
829
|
-
method?: string | undefined;
|
|
830
|
-
mode?: RequestMode | undefined;
|
|
831
|
-
referrerPolicy?: ReferrerPolicy | undefined;
|
|
832
|
-
headers?: (HeadersInit & (HeadersInit | {
|
|
833
|
-
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
834
|
-
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
835
|
-
authorization: "Bearer" | "Basic";
|
|
836
|
-
})) | undefined;
|
|
837
|
-
cache?: RequestCache | undefined;
|
|
838
|
-
credentials?: RequestCredentials | undefined;
|
|
839
|
-
integrity?: string | undefined;
|
|
840
|
-
keepalive?: boolean | undefined;
|
|
841
|
-
priority?: RequestPriority | undefined;
|
|
842
|
-
redirect?: RequestRedirect | undefined;
|
|
843
|
-
referrer?: string | undefined;
|
|
844
|
-
signal?: (AbortSignal | null) | undefined;
|
|
845
|
-
window?: null | undefined;
|
|
846
|
-
onRequest?: (<T extends Record<string, any>>(context: import('better-auth/client').RequestContext<T>) => Promise<import('better-auth/client').RequestContext | void> | import('better-auth/client').RequestContext | void) | undefined;
|
|
847
|
-
onResponse?: ((context: import('better-auth/client').ResponseContext) => Promise<Response | void | import('better-auth/client').ResponseContext> | Response | import('better-auth/client').ResponseContext | void) | undefined;
|
|
848
|
-
onSuccess?: ((context: import('better-auth/client').SuccessContext<any>) => Promise<void> | void) | undefined;
|
|
849
|
-
onError?: ((context: import('better-auth/client').ErrorContext) => Promise<void> | void) | undefined;
|
|
850
|
-
onRetry?: ((response: import('better-auth/client').ResponseContext) => Promise<void> | void) | undefined;
|
|
851
|
-
hookOptions?: {
|
|
852
|
-
cloneResponse?: boolean;
|
|
853
|
-
} | undefined;
|
|
854
|
-
timeout?: number | undefined;
|
|
855
|
-
customFetchImpl?: import('better-auth/client').FetchEsque | undefined;
|
|
856
|
-
plugins?: import('better-auth/client').BetterFetchPlugin[] | undefined;
|
|
857
|
-
baseURL?: string | undefined;
|
|
858
|
-
throw?: boolean | undefined;
|
|
859
|
-
auth?: ({
|
|
860
|
-
type: "Bearer";
|
|
861
|
-
token: string | Promise<string | undefined> | (() => string | Promise<string | undefined> | undefined) | undefined;
|
|
862
|
-
} | {
|
|
863
|
-
type: "Basic";
|
|
864
|
-
username: string | (() => string | undefined) | undefined;
|
|
865
|
-
password: string | (() => string | undefined) | undefined;
|
|
866
|
-
} | {
|
|
867
|
-
type: "Custom";
|
|
868
|
-
prefix: string | (() => string | undefined) | undefined;
|
|
869
|
-
value: string | (() => string | undefined) | undefined;
|
|
870
|
-
}) | undefined;
|
|
871
|
-
body?: (Partial<Partial<{}> & {
|
|
872
|
-
name?: string;
|
|
873
|
-
image?: string;
|
|
874
|
-
}> & Record<string, any>) | undefined;
|
|
875
|
-
query?: (Partial<Record<string, any>> & Record<string, any>) | undefined;
|
|
876
|
-
params?: Record<string, any> | undefined;
|
|
877
|
-
duplex?: "full" | "half" | undefined;
|
|
878
|
-
jsonParser?: ((text: string) => Promise<any> | any) | undefined;
|
|
879
|
-
retry?: import('better-auth/client').RetryOptions | undefined;
|
|
880
|
-
retryAttempt?: number | undefined;
|
|
881
|
-
output?: (import('better-auth/client').StandardSchemaV1 | typeof Blob | typeof File) | undefined;
|
|
882
|
-
errorSchema?: import('better-auth/client').StandardSchemaV1 | undefined;
|
|
883
|
-
disableValidation?: boolean | undefined;
|
|
884
|
-
}>(data_0?: import('better-auth').Prettify<{
|
|
885
|
-
image?: string | null;
|
|
886
|
-
name?: string;
|
|
887
|
-
fetchOptions?: FetchOptions | undefined;
|
|
888
|
-
} & Partial<{}>> | undefined, data_1?: FetchOptions | undefined) => Promise<import('better-auth/client').BetterFetchResponse<{
|
|
889
|
-
status: boolean;
|
|
890
|
-
}, {
|
|
891
|
-
code?: string;
|
|
892
|
-
message?: string;
|
|
893
|
-
}, FetchOptions["throw"] extends true ? true : false>>>;
|
|
894
|
-
export declare const useUpdateUser: (args?: UseAsyncOptions<IntlayerAPI["user"]["updateUser"]>) => import('./useAsync').UseAsyncResult<"updateUser", (user: import('@intlayer/backend').UpdateUserBody, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<import('@intlayer/backend').UpdateUserResult>>;
|
|
895
|
-
export declare const useDeleteUser: (args?: UseAsyncOptions<IntlayerAPI["user"]["deleteUser"]>) => import('./useAsync').UseAsyncResult<"deleteUser", (userId: string, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<import('@intlayer/backend').UpdateUserResult>>;
|
|
896
|
-
/**
|
|
897
|
-
* Organization
|
|
898
|
-
*/
|
|
899
|
-
export declare const useGetOrganizations: (args?: UseAsyncOptions<IntlayerAPI["organization"]["getOrganizations"]>) => import('./useAsync').UseAsyncResult<"getOrganizations", (filters?: import('@intlayer/backend').GetOrganizationsParams, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<import('@intlayer/backend').GetOrganizationsResult>>;
|
|
900
|
-
export declare const useAddOrganization: (args?: UseAsyncOptions<IntlayerAPI["organization"]["addOrganization"]>) => import('./useAsync').UseAsyncResult<"addOrganization", (organization: import('@intlayer/backend').AddOrganizationBody, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<import('@intlayer/backend').AddOrganizationResult>>;
|
|
901
|
-
export declare const useUpdateOrganization: (args?: UseAsyncOptions<IntlayerAPI["organization"]["updateOrganization"]>) => import('./useAsync').UseAsyncResult<"updateOrganization", (organization: import('@intlayer/backend').UpdateOrganizationBody, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<import('@intlayer/backend').UpdateOrganizationResult>>;
|
|
902
|
-
export declare const useUpdateOrganizationMembers: (args?: UseAsyncOptions<IntlayerAPI["organization"]["updateOrganizationMembers"]>) => import('./useAsync').UseAsyncResult<"updateOrganizationMembers", (body: import('@intlayer/backend').UpdateOrganizationMembersBody, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<import('@intlayer/backend').UpdateOrganizationMembersResult>>;
|
|
903
|
-
export declare const useAddOrganizationMember: (args?: UseAsyncOptions<IntlayerAPI["organization"]["addOrganizationMember"]>) => import('./useAsync').UseAsyncResult<"addOrganizationMember", (body: import('@intlayer/backend').AddOrganizationMemberBody, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<import('@intlayer/backend').AddOrganizationMemberResult>>;
|
|
904
|
-
export declare const useDeleteOrganization: (args?: UseAsyncOptions<IntlayerAPI["organization"]["deleteOrganization"]>) => import('./useAsync').UseAsyncResult<"deleteOrganization", (otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<import('@intlayer/backend').DeleteOrganizationResult>>;
|
|
905
|
-
export declare const useSelectOrganization: (args?: UseAsyncOptions<IntlayerAPI["organization"]["selectOrganization"]>) => import('./useAsync').UseAsyncResult<"selectOrganization", (organizationId: import('@intlayer/backend').SelectOrganizationParam["organizationId"], otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<import('@intlayer/backend').SelectOrganizationResult>>;
|
|
906
|
-
export declare const useUnselectOrganization: (args?: UseAsyncOptions<IntlayerAPI["organization"]["unselectOrganization"]>) => import('./useAsync').UseAsyncResult<"unselectOrganization", (otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<import('@intlayer/backend').UnselectOrganizationResult>>;
|
|
907
|
-
/**
|
|
908
|
-
* Project
|
|
909
|
-
*/
|
|
910
|
-
export declare const useGetProjects: (args?: UseAsyncOptions<IntlayerAPI["project"]["getProjects"]>) => import('./useAsync').UseAsyncResult<"getProjects", (filters?: import('@intlayer/backend').GetProjectsParams, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<import('@intlayer/backend').GetProjectsResult>>;
|
|
911
|
-
export declare const useAddProject: (args?: UseAsyncOptions<IntlayerAPI["project"]["addProject"]>) => import('./useAsync').UseAsyncResult<"addProject", (project: import('@intlayer/backend').AddProjectBody, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<import('@intlayer/backend').AddProjectResult>>;
|
|
912
|
-
export declare const useUpdateProject: (args?: UseAsyncOptions<IntlayerAPI["project"]["updateProject"]>) => import('./useAsync').UseAsyncResult<"updateProject", (project: import('@intlayer/backend').UpdateProjectBody, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<import('@intlayer/backend').UpdateProjectResult>>;
|
|
913
|
-
export declare const useUpdateProjectMembers: (args?: UseAsyncOptions<IntlayerAPI["project"]["updateProjectMembers"]>) => import('./useAsync').UseAsyncResult<"updateProjectMembers", (body: import('@intlayer/backend').UpdateProjectMembersBody, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<import('@intlayer/backend').UpdateProjectMembersResult>>;
|
|
914
|
-
export declare const useDeleteProject: (args?: UseAsyncOptions<IntlayerAPI["project"]["deleteProject"]>) => import('./useAsync').UseAsyncResult<"deleteProject", (otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<import('@intlayer/backend').DeleteProjectResult>>;
|
|
915
|
-
export declare const useSelectProject: (args?: UseAsyncOptions<IntlayerAPI["project"]["selectProject"]>) => import('./useAsync').UseAsyncResult<"selectProject", (projectId: import('@intlayer/backend').SelectProjectParam["projectId"], otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<import('@intlayer/backend').SelectProjectResult>>;
|
|
916
|
-
export declare const useUnselectProject: (args?: UseAsyncOptions<IntlayerAPI["project"]["unselectProject"]>) => import('./useAsync').UseAsyncResult<"unselectProject", (otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<import('@intlayer/backend').UnselectProjectResult>>;
|
|
917
|
-
export declare const useAddNewAccessKey: (args?: UseAsyncOptions<IntlayerAPI["project"]["addNewAccessKey"]>) => import('./useAsync').UseAsyncResult<"addNewAccessKey", (accessKey: import('@intlayer/backend').AddNewAccessKeyBody, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<import('@intlayer/backend').AddNewAccessKeyResponse>>;
|
|
918
|
-
export declare const useDeleteAccessKey: (args?: UseAsyncOptions<IntlayerAPI["project"]["deleteAccessKey"]>) => import('./useAsync').UseAsyncResult<"deleteAccessKey", (clientId: import('@intlayer/backend').DeleteAccessKeyBody["clientId"], otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<import('@intlayer/backend').DeleteAccessKeyResponse>>;
|
|
919
|
-
export declare const useRefreshAccessKey: (args?: UseAsyncOptions<IntlayerAPI["project"]["refreshAccessKey"]>) => import('./useAsync').UseAsyncResult<"refreshAccessKey", (clientId: import('@intlayer/backend').RefreshAccessKeyBody["clientId"], otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<import('@intlayer/backend').RefreshAccessKeyResponse>>;
|
|
920
|
-
/**
|
|
921
|
-
* Dictionary
|
|
922
|
-
*/
|
|
923
|
-
export declare const useGetDictionaries: (args?: UseAsyncOptions<IntlayerAPI["dictionary"]["getDictionaries"]>) => import('./useAsync').UseAsyncResult<"getDictionaries", (filters?: import('@intlayer/backend').GetDictionariesParams, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<import('@intlayer/backend').GetDictionariesResult>>;
|
|
924
|
-
export declare const useGetDictionariesKeys: (args?: UseAsyncOptions<IntlayerAPI["dictionary"]["getDictionariesKeys"]>) => import('./useAsync').UseAsyncResult<"getDictionariesKeys", (otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<import('@intlayer/backend').GetDictionariesKeysResult>>;
|
|
925
|
-
export declare const useGetDictionary: (args?: UseAsyncOptions<IntlayerAPI["dictionary"]["getDictionary"]>) => import('./useAsync').UseAsyncResult<"getDictionary", (dictionaryKey: import('@intlayer/backend').GetDictionaryParams["dictionaryKey"], version?: import('@intlayer/backend').GetDictionaryQuery["version"], otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<import('@intlayer/backend').GetDictionaryResult>>;
|
|
926
|
-
export declare const useAddDictionary: (args?: UseAsyncOptions<IntlayerAPI["dictionary"]["addDictionary"]>) => import('./useAsync').UseAsyncResult<"addDictionary", (body: import('@intlayer/backend').AddDictionaryBody, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<import('@intlayer/backend').AddDictionaryResult>>;
|
|
927
|
-
export declare const usePushDictionaries: (args?: UseAsyncOptions<IntlayerAPI["dictionary"]["pushDictionaries"]>) => import('./useAsync').UseAsyncResult<"pushDictionaries", (dictionaries: import('@intlayer/backend').PushDictionariesBody["dictionaries"], otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<import('@intlayer/backend').PushDictionariesResult>>;
|
|
928
|
-
export declare const useUpdateDictionary: (args?: UseAsyncOptions<IntlayerAPI["dictionary"]["updateDictionary"]>) => import('./useAsync').UseAsyncResult<"updateDictionary", (dictionaryId: import('@intlayer/backend').UpdateDictionaryParam["dictionaryId"], dictionary: import('@intlayer/backend').UpdateDictionaryBody, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<import('@intlayer/backend').UpdateDictionaryResult>>;
|
|
929
|
-
export declare const useDeleteDictionary: (args?: UseAsyncOptions<IntlayerAPI["dictionary"]["deleteDictionary"]>) => import('./useAsync').UseAsyncResult<"deleteDictionary", (id: import('@intlayer/backend').DeleteDictionaryParam["dictionaryId"], otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<import('@intlayer/backend').DeleteDictionaryResult>>;
|
|
930
|
-
/**
|
|
931
|
-
* Tag
|
|
932
|
-
*/
|
|
933
|
-
export declare const useGetTags: (args?: UseAsyncOptions<IntlayerAPI["tag"]["getTags"]>) => import('./useAsync').UseAsyncResult<"getTags", (filters?: import('@intlayer/backend').GetTagsParams, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<import('@intlayer/backend').GetTagsResult>>;
|
|
934
|
-
export declare const useAddTag: (args?: UseAsyncOptions<IntlayerAPI["tag"]["addTag"]>) => import('./useAsync').UseAsyncResult<"addTag", (tag: import('@intlayer/backend').AddTagBody, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<import('@intlayer/backend').AddTagResult>>;
|
|
935
|
-
export declare const useUpdateTag: (args?: UseAsyncOptions<IntlayerAPI["tag"]["updateTag"]>) => import('./useAsync').UseAsyncResult<"updateTag", (tagId: import('@intlayer/backend').UpdateTagParams["tagId"], tag: import('@intlayer/backend').UpdateTagBody, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<import('@intlayer/backend').UpdateTagResult>>;
|
|
936
|
-
export declare const useDeleteTag: (args?: UseAsyncOptions<IntlayerAPI["tag"]["deleteTag"]>) => import('./useAsync').UseAsyncResult<"deleteTag", (tagId: import('@intlayer/backend').DeleteTagParams["tagId"], otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<import('@intlayer/backend').DeleteTagResult>>;
|
|
937
|
-
/**
|
|
938
|
-
* Stripe
|
|
939
|
-
*/
|
|
940
|
-
export declare const useGetPricing: (args?: UseAsyncOptions<IntlayerAPI["stripe"]["getPricing"]>) => import('./useAsync').UseAsyncResult<"getPricing", (body?: import('@intlayer/backend').GetPricingBody, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<import('@intlayer/backend').GetPricingResult>>;
|
|
941
|
-
export declare const useGetSubscription: (args?: UseAsyncOptions<IntlayerAPI["stripe"]["getSubscription"]>) => import('./useAsync').UseAsyncResult<"getSubscription", (body?: import('@intlayer/backend').GetCheckoutSessionBody, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<import('@intlayer/backend').GetCheckoutSessionResult>>;
|
|
942
|
-
export declare const useCancelSubscription: (args?: UseAsyncOptions<IntlayerAPI["stripe"]["cancelSubscription"]>) => import('./useAsync').UseAsyncResult<"cancelSubscription", (otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<import('@intlayer/backend').GetCheckoutSessionResult>>;
|
|
943
|
-
/**
|
|
944
|
-
* AI
|
|
945
|
-
*/
|
|
946
|
-
export declare const useTranslateJSONDeclaration: (args?: UseAsyncOptions<IntlayerAPI["ai"]["translateJSON"]>) => import('./useAsync').UseAsyncResult<"translateJSON", (body?: import('@intlayer/backend').TranslateJSONBody, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<import('@intlayer/backend').TranslateJSONResult>>;
|
|
947
|
-
export declare const useAuditContentDeclaration: (args?: UseAsyncOptions<IntlayerAPI["ai"]["auditContentDeclaration"]>) => import('./useAsync').UseAsyncResult<"auditContentDeclaration", (body?: import('@intlayer/backend').AuditContentDeclarationBody, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<import('@intlayer/backend').AuditContentDeclarationResult>>;
|
|
948
|
-
export declare const useAuditContentDeclarationMetadata: (args?: UseAsyncOptions<IntlayerAPI["ai"]["auditContentDeclarationMetadata"]>) => import('./useAsync').UseAsyncResult<"auditContentDeclaration", (body?: import('@intlayer/backend').AuditContentDeclarationMetadataBody, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<import('@intlayer/backend').AuditContentDeclarationMetadataResult>>;
|
|
949
|
-
export declare const useAuditContentDeclarationField: (args?: UseAsyncOptions<IntlayerAPI["ai"]["auditContentDeclarationField"]>) => import('./useAsync').UseAsyncResult<"auditContentDeclarationField", (body?: import('@intlayer/backend').AuditContentDeclarationFieldBody, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<import('@intlayer/backend').AuditContentDeclarationFieldResult>>;
|
|
950
|
-
export declare const useAuditTag: (args?: UseAsyncOptions<IntlayerAPI["ai"]["auditTag"]>) => import('./useAsync').UseAsyncResult<"auditTag", (body?: import('@intlayer/backend').AuditTagBody, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<import('@intlayer/backend').AuditTagResult>>;
|
|
951
|
-
export declare const useAskDocQuestion: (args?: UseAsyncOptions<IntlayerAPI["ai"]["askDocQuestion"]>) => import('./useAsync').UseAsyncResult<"askDocQuestion", (body?: import('@intlayer/api').AskDocQuestionBody, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<void>>;
|
|
952
|
-
export declare const useAutocomplete: (args?: UseAsyncOptions<IntlayerAPI["ai"]["autocomplete"]>) => import('./useAsync').UseAsyncResult<"autocomplete", (body?: import('@intlayer/backend').AutocompleteBody, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<import('@intlayer/backend').AutocompleteResponse>>;
|
|
953
|
-
/**
|
|
954
|
-
* Search
|
|
955
|
-
*/
|
|
956
|
-
export declare const useSearchDoc: (args?: UseAsyncOptions<IntlayerAPI["search"]["searchDoc"]>) => import('./useAsync').UseAsyncResult<"searchDoc", (params?: import('@intlayer/backend').SearchDocUtilParams, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<import('@intlayer/backend').SearchDocUtilResult>>;
|
|
957
|
-
/**
|
|
958
|
-
* Newsletter
|
|
959
|
-
*/
|
|
960
|
-
export declare const useSubscribeToNewsletter: (args?: UseAsyncOptions<IntlayerAPI["newsletter"]["subscribeToNewsletter"]>) => import('./useAsync').UseAsyncResult<"subscribeToNewsletter", (body: import('@intlayer/backend').NewsletterSubscriptionBody, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<import('@intlayer/backend').NewsletterSubscriptionResult>>;
|
|
961
|
-
export declare const useUnsubscribeFromNewsletter: (args?: UseAsyncOptions<IntlayerAPI["newsletter"]["unsubscribeFromNewsletter"]>) => import('./useAsync').UseAsyncResult<"unsubscribeFromNewsletter", (body: import('@intlayer/backend').NewsletterUnsubscriptionBody, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<import('@intlayer/backend').NewsletterSubscriptionResult>>;
|
|
962
|
-
export declare const useGetNewsletterStatus: (args?: UseAsyncOptions<IntlayerAPI["newsletter"]["getNewsletterStatus"]>) => import('./useAsync').UseAsyncResult<"getNewsletterStatus", (otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<import('@intlayer/backend').NewsletterSubscriptionResult>>;
|
|
963
|
-
/**
|
|
964
|
-
* Editor
|
|
965
|
-
*/
|
|
966
|
-
export declare const useWriteDictionary: (args?: UseAsyncOptions<IntlayerAPI["editor"]["writeDictionary"]>) => import('./useAsync').UseAsyncResult<"writeDictionary", (dictionary: import('intlayer-editor').WriteContentDeclarationBody, otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<import('intlayer-editor').WriteContentDeclarationResult>>;
|
|
967
|
-
export declare const useGetEditorDictionaries: (args?: UseAsyncOptions<IntlayerAPI["editor"]["getDictionaries"]>) => import('./useAsync').UseAsyncResult<"getDictionaries", (otherOptions?: import('@intlayer/api').FetcherOptions) => Promise<Record<string, any>>>;
|
|
968
|
-
//# sourceMappingURL=intlayerAPIHooks.d.ts.map
|