@intlayer/design-system 7.1.2-canary.0 → 7.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/types/components/Badge/index.d.ts +2 -2
- package/dist/types/components/Breadcrumb/breadcrumb.content.d.ts +3 -3
- package/dist/types/components/Breadcrumb/breadcrumb.content.d.ts.map +1 -1
- package/dist/types/components/Breadcrumb/index.d.ts +2 -2
- package/dist/types/components/Browser/Browser.content.d.ts +11 -11
- package/dist/types/components/Browser/Browser.content.d.ts.map +1 -1
- package/dist/types/components/Button/Button.d.ts +2 -2
- package/dist/types/components/CollapsibleTable/CollapsibleTable.d.ts +4 -4
- package/dist/types/components/CollapsibleTable/CollapsibleTable.d.ts.map +1 -1
- package/dist/types/components/Command/index.d.ts +2 -2
- package/dist/types/components/Container/index.d.ts +9 -9
- package/dist/types/components/Container/index.d.ts.map +1 -1
- package/dist/types/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryCreationForm.content.d.ts +25 -25
- package/dist/types/components/DictionaryFieldEditor/DictionaryCreationForm/useDictionaryFormSchema.content.d.ts +9 -9
- package/dist/types/components/DictionaryFieldEditor/DictionaryDetails/dictionaryDetails.content.d.ts +33 -33
- package/dist/types/components/DictionaryFieldEditor/DictionaryDetails/useDictionaryDetailsSchema.content.d.ts +25 -25
- package/dist/types/components/DictionaryFieldEditor/NavigationView/navigationViewNode.content.d.ts +25 -25
- package/dist/types/components/DictionaryFieldEditor/SaveForm/saveForm.content.d.ts +33 -33
- package/dist/types/components/DictionaryFieldEditor/StructureView/structureView.content.d.ts +9 -9
- package/dist/types/components/DictionaryFieldEditor/VersionSwitcherDropDown/versionSwitcherDropDown.content.d.ts +7 -7
- package/dist/types/components/DictionaryFieldEditor/dictionaryFieldEditor.content.d.ts +5 -5
- package/dist/types/components/DictionaryFieldEditor/nodeTypeSelector.content.d.ts +31 -31
- package/dist/types/components/DictionaryFieldEditor/nodeTypeSelector.content.d.ts.map +1 -1
- package/dist/types/components/ExpandCollapse/expandCollapse.content.d.ts +3 -3
- package/dist/types/components/Form/FormBase.d.ts +2 -2
- package/dist/types/components/Form/FormField.d.ts +2 -2
- package/dist/types/components/Form/FormItem.d.ts +2 -2
- package/dist/types/components/Form/elements/EditableFieldInputElement.d.ts +2 -2
- package/dist/types/components/Form/elements/EditableFieldInputElement.d.ts.map +1 -1
- package/dist/types/components/Form/elements/EditableFieldTextAreaElement.d.ts +2 -2
- package/dist/types/components/Form/elements/EditableFieldTextAreaElement.d.ts.map +1 -1
- package/dist/types/components/Form/elements/MultiselectElement.d.ts +2 -2
- package/dist/types/components/Form/elements/OTPElement.d.ts +2 -2
- package/dist/types/components/Form/elements/SelectElement.d.ts +2 -2
- package/dist/types/components/Form/elements/SwitchSelectorElement.d.ts +2 -2
- package/dist/types/components/IDE/CodeContext.d.ts +2 -2
- package/dist/types/components/IDE/code.content.d.ts +5 -5
- package/dist/types/components/IDE/copyCode.content.d.ts +5 -5
- package/dist/types/components/Input/Checkbox.d.ts +3 -3
- package/dist/types/components/Input/Checkbox.d.ts.map +1 -1
- package/dist/types/components/Input/Input.d.ts +2 -2
- package/dist/types/components/Input/OTPInput.d.ts +6 -6
- package/dist/types/components/Input/OTPInput.d.ts.map +1 -1
- package/dist/types/components/Input/SearchInput.d.ts +2 -2
- package/dist/types/components/Link/Link.d.ts +3 -3
- package/dist/types/components/Loader/index.content.d.ts +3 -3
- package/dist/types/components/Loader/spinner.d.ts +2 -2
- package/dist/types/components/LocaleSwitcherContentDropDown/localeSwitcher.content.d.ts +17 -17
- package/dist/types/components/LocaleSwitcherDropDown/localeSwitcher.content.d.ts +13 -13
- package/dist/types/components/LocaleSwitcherDropDown/localeSwitcher.content.d.ts.map +1 -1
- package/dist/types/components/MaxWidthSmoother/index.d.ts +2 -2
- package/dist/types/components/Navbar/Burger.d.ts +2 -2
- package/dist/types/components/Navbar/Burger.d.ts.map +1 -1
- package/dist/types/components/Navbar/DesktopNavbar.d.ts +2 -2
- package/dist/types/components/Navbar/MobileNavbar.d.ts +2 -2
- package/dist/types/components/Navbar/MobileNavbar.d.ts.map +1 -1
- package/dist/types/components/Pagination/Pagination.d.ts +2 -2
- package/dist/types/components/Pagination/Pagination.d.ts.map +1 -1
- package/dist/types/components/Pagination/pagination.content.d.ts +11 -11
- package/dist/types/components/Popover/static.d.ts +3 -3
- package/dist/types/components/Select/Select.d.ts +3 -3
- package/dist/types/components/SocialNetworks/index.d.ts +2 -2
- package/dist/types/components/SwitchSelector/index.d.ts +3 -3
- package/dist/types/components/Tab/Tab.d.ts +5 -5
- package/dist/types/components/Tab/Tab.d.ts.map +1 -1
- package/dist/types/components/Tab/TabContext.d.ts +2 -2
- package/dist/types/components/TabSelector/TabSelector.d.ts +4 -4
- package/dist/types/components/TabSelector/TabSelector.d.ts.map +1 -1
- package/dist/types/components/Table/table.content.d.ts +3 -3
- package/dist/types/components/Tag/index.d.ts +5 -5
- package/dist/types/components/Tag/index.d.ts.map +1 -1
- package/dist/types/components/Toaster/Toast.d.ts +1 -1
- package/dist/types/components/Toaster/Toast.d.ts.map +1 -1
- package/dist/types/components/Toaster/Toaster.d.ts +2 -2
- package/dist/types/hooks/reactQuery.d.ts +232 -232
- package/dist/types/hooks/reactQuery.d.ts.map +1 -1
- package/dist/types/hooks/useAuth/useOAuth2.d.ts +2 -2
- package/dist/types/hooks/useAuth/useOAuth2.d.ts.map +1 -1
- package/dist/types/hooks/useDevice.d.ts.map +1 -1
- package/dist/types/hooks/useUser/index.d.ts +1 -1
- package/dist/types/libs/auth.d.ts +668 -668
- package/dist/types/libs/auth.d.ts.map +1 -1
- package/package.json +14 -14
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as intlayer0 from "intlayer";
|
|
2
2
|
import * as _tanstack_react_query0 from "@tanstack/react-query";
|
|
3
3
|
import { UseQueryOptions, useQueryClient } from "@tanstack/react-query";
|
|
4
|
-
import * as
|
|
5
|
-
import * as
|
|
4
|
+
import * as _better_fetch_fetch0 from "@better-fetch/fetch";
|
|
5
|
+
import * as better_auth0 from "better-auth";
|
|
6
6
|
import * as inspector0 from "inspector";
|
|
7
|
-
import * as
|
|
7
|
+
import * as _intlayer_backend0 from "@intlayer/backend";
|
|
8
8
|
import { AddDictionaryBody, AddOrganizationMemberBody, AskDocQuestionBody, AuditContentDeclarationBody, AuditContentDeclarationFieldBody, AuditContentDeclarationMetadataBody, AuditTagBody, AutocompleteBody, CreateUserBody, DeleteAccessKeyBody, DeleteDictionaryParam, DeleteTagParams, GetCheckoutSessionBody, GetDictionariesParams, GetDictionaryParams, GetDictionaryQuery, GetOrganizationsParams, GetPricingBody, GetPricingResult, GetProjectsParams, GetTagsParams, GetUsersParams, NewsletterSubscriptionBody, NewsletterUnsubscriptionBody, PushDictionariesBody, RefreshAccessKeyBody, SearchDocUtilParams, SelectOrganizationParam, SelectProjectParam, TranslateJSONBody } from "@intlayer/backend";
|
|
9
9
|
import * as intlayer_editor0 from "intlayer-editor";
|
|
10
10
|
import { WriteContentDeclarationBody } from "intlayer-editor";
|
|
@@ -42,23 +42,23 @@ declare const useLogin: () => _tanstack_react_query0.UseMutationResult<{
|
|
|
42
42
|
status: number;
|
|
43
43
|
statusText: string;
|
|
44
44
|
};
|
|
45
|
-
}, Error,
|
|
45
|
+
}, Error, better_auth0.Prettify<{
|
|
46
46
|
email: string;
|
|
47
47
|
password: string;
|
|
48
48
|
callbackURL?: string | undefined;
|
|
49
49
|
rememberMe?: boolean | undefined;
|
|
50
50
|
} & {
|
|
51
51
|
fetchOptions?: {
|
|
52
|
-
|
|
52
|
+
cache?: RequestCache;
|
|
53
|
+
credentials?: RequestCredentials;
|
|
53
54
|
headers?: HeadersInit & (HeadersInit | {
|
|
54
55
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
55
56
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
56
57
|
authorization: "Bearer" | "Basic";
|
|
57
58
|
});
|
|
58
|
-
cache?: RequestCache;
|
|
59
|
-
credentials?: RequestCredentials;
|
|
60
59
|
integrity?: string;
|
|
61
60
|
keepalive?: boolean;
|
|
61
|
+
method?: string;
|
|
62
62
|
mode?: RequestMode;
|
|
63
63
|
priority?: RequestPriority;
|
|
64
64
|
redirect?: RequestRedirect;
|
|
@@ -66,17 +66,17 @@ declare const useLogin: () => _tanstack_react_query0.UseMutationResult<{
|
|
|
66
66
|
referrerPolicy?: ReferrerPolicy;
|
|
67
67
|
signal?: AbortSignal | null;
|
|
68
68
|
window?: null;
|
|
69
|
-
onRequest?: <T extends Record<string, any>>(context:
|
|
70
|
-
onResponse?: (context:
|
|
71
|
-
onSuccess?: (context:
|
|
72
|
-
onError?: (context:
|
|
73
|
-
onRetry?: (response:
|
|
69
|
+
onRequest?: <T extends Record<string, any>>(context: _better_fetch_fetch0.RequestContext<T>) => Promise<_better_fetch_fetch0.RequestContext | void> | _better_fetch_fetch0.RequestContext | void;
|
|
70
|
+
onResponse?: (context: _better_fetch_fetch0.ResponseContext) => Promise<Response | void | _better_fetch_fetch0.ResponseContext> | Response | _better_fetch_fetch0.ResponseContext | void;
|
|
71
|
+
onSuccess?: (context: _better_fetch_fetch0.SuccessContext<any>) => Promise<void> | void;
|
|
72
|
+
onError?: (context: _better_fetch_fetch0.ErrorContext) => Promise<void> | void;
|
|
73
|
+
onRetry?: (response: _better_fetch_fetch0.ResponseContext) => Promise<void> | void;
|
|
74
74
|
hookOptions?: {
|
|
75
75
|
cloneResponse?: boolean;
|
|
76
76
|
};
|
|
77
77
|
timeout?: number;
|
|
78
|
-
customFetchImpl?:
|
|
79
|
-
plugins?:
|
|
78
|
+
customFetchImpl?: _better_fetch_fetch0.FetchEsque;
|
|
79
|
+
plugins?: _better_fetch_fetch0.BetterFetchPlugin[];
|
|
80
80
|
baseURL?: string;
|
|
81
81
|
throw?: boolean;
|
|
82
82
|
auth?: {
|
|
@@ -101,10 +101,10 @@ declare const useLogin: () => _tanstack_react_query0.UseMutationResult<{
|
|
|
101
101
|
params?: Record<string, any>;
|
|
102
102
|
duplex?: "full" | "half";
|
|
103
103
|
jsonParser?: (text: string) => Promise<any> | any;
|
|
104
|
-
retry?:
|
|
104
|
+
retry?: _better_fetch_fetch0.RetryOptions;
|
|
105
105
|
retryAttempt?: number;
|
|
106
|
-
output?:
|
|
107
|
-
errorSchema?:
|
|
106
|
+
output?: _better_fetch_fetch0.StandardSchemaV1 | typeof Blob | typeof File;
|
|
107
|
+
errorSchema?: _better_fetch_fetch0.StandardSchemaV1;
|
|
108
108
|
disableValidation?: boolean;
|
|
109
109
|
};
|
|
110
110
|
}>, unknown>;
|
|
@@ -133,17 +133,17 @@ declare const useGetVerifyEmailStatus: () => _tanstack_react_query0.UseMutationR
|
|
|
133
133
|
status: number;
|
|
134
134
|
statusText: string;
|
|
135
135
|
};
|
|
136
|
-
}, Error, [
|
|
137
|
-
|
|
136
|
+
}, Error, [better_auth0.Prettify<undefined>?, {
|
|
137
|
+
cache?: RequestCache;
|
|
138
|
+
credentials?: RequestCredentials;
|
|
138
139
|
headers?: HeadersInit & (HeadersInit | {
|
|
139
140
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
140
141
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
141
142
|
authorization: "Bearer" | "Basic";
|
|
142
143
|
});
|
|
143
|
-
cache?: RequestCache;
|
|
144
|
-
credentials?: RequestCredentials;
|
|
145
144
|
integrity?: string;
|
|
146
145
|
keepalive?: boolean;
|
|
146
|
+
method?: string;
|
|
147
147
|
mode?: RequestMode;
|
|
148
148
|
priority?: RequestPriority;
|
|
149
149
|
redirect?: RequestRedirect;
|
|
@@ -151,17 +151,17 @@ declare const useGetVerifyEmailStatus: () => _tanstack_react_query0.UseMutationR
|
|
|
151
151
|
referrerPolicy?: ReferrerPolicy;
|
|
152
152
|
signal?: AbortSignal | null;
|
|
153
153
|
window?: null;
|
|
154
|
-
onRequest?: <T extends Record<string, any>>(context:
|
|
155
|
-
onResponse?: (context:
|
|
156
|
-
onSuccess?: (context:
|
|
157
|
-
onError?: (context:
|
|
158
|
-
onRetry?: (response:
|
|
154
|
+
onRequest?: <T extends Record<string, any>>(context: _better_fetch_fetch0.RequestContext<T>) => Promise<_better_fetch_fetch0.RequestContext | void> | _better_fetch_fetch0.RequestContext | void;
|
|
155
|
+
onResponse?: (context: _better_fetch_fetch0.ResponseContext) => Promise<Response | void | _better_fetch_fetch0.ResponseContext> | Response | _better_fetch_fetch0.ResponseContext | void;
|
|
156
|
+
onSuccess?: (context: _better_fetch_fetch0.SuccessContext<any>) => Promise<void> | void;
|
|
157
|
+
onError?: (context: _better_fetch_fetch0.ErrorContext) => Promise<void> | void;
|
|
158
|
+
onRetry?: (response: _better_fetch_fetch0.ResponseContext) => Promise<void> | void;
|
|
159
159
|
hookOptions?: {
|
|
160
160
|
cloneResponse?: boolean;
|
|
161
161
|
};
|
|
162
162
|
timeout?: number;
|
|
163
|
-
customFetchImpl?:
|
|
164
|
-
plugins?:
|
|
163
|
+
customFetchImpl?: _better_fetch_fetch0.FetchEsque;
|
|
164
|
+
plugins?: _better_fetch_fetch0.BetterFetchPlugin[];
|
|
165
165
|
baseURL?: string;
|
|
166
166
|
throw?: boolean;
|
|
167
167
|
auth?: {
|
|
@@ -184,10 +184,10 @@ declare const useGetVerifyEmailStatus: () => _tanstack_react_query0.UseMutationR
|
|
|
184
184
|
params?: Record<string, any>;
|
|
185
185
|
duplex?: "full" | "half";
|
|
186
186
|
jsonParser?: (text: string) => Promise<any> | any;
|
|
187
|
-
retry?:
|
|
187
|
+
retry?: _better_fetch_fetch0.RetryOptions;
|
|
188
188
|
retryAttempt?: number;
|
|
189
|
-
output?:
|
|
190
|
-
errorSchema?:
|
|
189
|
+
output?: _better_fetch_fetch0.StandardSchemaV1 | typeof Blob | typeof File;
|
|
190
|
+
errorSchema?: _better_fetch_fetch0.StandardSchemaV1;
|
|
191
191
|
disableValidation?: boolean;
|
|
192
192
|
}?], unknown>;
|
|
193
193
|
declare const useRegister: () => _tanstack_react_query0.UseMutationResult<{
|
|
@@ -223,23 +223,23 @@ declare const useRegister: () => _tanstack_react_query0.UseMutationResult<{
|
|
|
223
223
|
status: number;
|
|
224
224
|
statusText: string;
|
|
225
225
|
};
|
|
226
|
-
}, Error,
|
|
226
|
+
}, Error, better_auth0.Prettify<{
|
|
227
227
|
email: string;
|
|
228
228
|
name: string;
|
|
229
229
|
password: string;
|
|
230
230
|
image?: string;
|
|
231
231
|
callbackURL?: string;
|
|
232
232
|
fetchOptions?: {
|
|
233
|
-
|
|
233
|
+
cache?: RequestCache;
|
|
234
|
+
credentials?: RequestCredentials;
|
|
234
235
|
headers?: HeadersInit & (HeadersInit | {
|
|
235
236
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
236
237
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
237
238
|
authorization: "Bearer" | "Basic";
|
|
238
239
|
});
|
|
239
|
-
cache?: RequestCache;
|
|
240
|
-
credentials?: RequestCredentials;
|
|
241
240
|
integrity?: string;
|
|
242
241
|
keepalive?: boolean;
|
|
242
|
+
method?: string;
|
|
243
243
|
mode?: RequestMode;
|
|
244
244
|
priority?: RequestPriority;
|
|
245
245
|
redirect?: RequestRedirect;
|
|
@@ -247,17 +247,17 @@ declare const useRegister: () => _tanstack_react_query0.UseMutationResult<{
|
|
|
247
247
|
referrerPolicy?: ReferrerPolicy;
|
|
248
248
|
signal?: AbortSignal | null;
|
|
249
249
|
window?: null;
|
|
250
|
-
onRequest?: <T extends Record<string, any>>(context:
|
|
251
|
-
onResponse?: (context:
|
|
252
|
-
onSuccess?: (context:
|
|
253
|
-
onError?: (context:
|
|
254
|
-
onRetry?: (response:
|
|
250
|
+
onRequest?: <T extends Record<string, any>>(context: _better_fetch_fetch0.RequestContext<T>) => Promise<_better_fetch_fetch0.RequestContext | void> | _better_fetch_fetch0.RequestContext | void;
|
|
251
|
+
onResponse?: (context: _better_fetch_fetch0.ResponseContext) => Promise<Response | void | _better_fetch_fetch0.ResponseContext> | Response | _better_fetch_fetch0.ResponseContext | void;
|
|
252
|
+
onSuccess?: (context: _better_fetch_fetch0.SuccessContext<any>) => Promise<void> | void;
|
|
253
|
+
onError?: (context: _better_fetch_fetch0.ErrorContext) => Promise<void> | void;
|
|
254
|
+
onRetry?: (response: _better_fetch_fetch0.ResponseContext) => Promise<void> | void;
|
|
255
255
|
hookOptions?: {
|
|
256
256
|
cloneResponse?: boolean;
|
|
257
257
|
};
|
|
258
258
|
timeout?: number;
|
|
259
|
-
customFetchImpl?:
|
|
260
|
-
plugins?:
|
|
259
|
+
customFetchImpl?: _better_fetch_fetch0.FetchEsque;
|
|
260
|
+
plugins?: _better_fetch_fetch0.BetterFetchPlugin[];
|
|
261
261
|
baseURL?: string;
|
|
262
262
|
throw?: boolean;
|
|
263
263
|
auth?: {
|
|
@@ -284,10 +284,10 @@ declare const useRegister: () => _tanstack_react_query0.UseMutationResult<{
|
|
|
284
284
|
params?: Record<string, any>;
|
|
285
285
|
duplex?: "full" | "half";
|
|
286
286
|
jsonParser?: (text: string) => Promise<any> | any;
|
|
287
|
-
retry?:
|
|
287
|
+
retry?: _better_fetch_fetch0.RetryOptions;
|
|
288
288
|
retryAttempt?: number;
|
|
289
|
-
output?:
|
|
290
|
-
errorSchema?:
|
|
289
|
+
output?: _better_fetch_fetch0.StandardSchemaV1 | typeof Blob | typeof File;
|
|
290
|
+
errorSchema?: _better_fetch_fetch0.StandardSchemaV1;
|
|
291
291
|
disableValidation?: boolean;
|
|
292
292
|
};
|
|
293
293
|
} & {} & {}>, unknown>;
|
|
@@ -327,22 +327,22 @@ declare const useChangePassword: () => _tanstack_react_query0.UseMutationResult<
|
|
|
327
327
|
status: number;
|
|
328
328
|
statusText: string;
|
|
329
329
|
};
|
|
330
|
-
}, Error, [
|
|
330
|
+
}, Error, [better_auth0.Prettify<{
|
|
331
331
|
newPassword: string;
|
|
332
332
|
currentPassword: string;
|
|
333
333
|
revokeOtherSessions?: boolean | undefined;
|
|
334
334
|
} & {
|
|
335
335
|
fetchOptions?: {
|
|
336
|
-
|
|
336
|
+
cache?: RequestCache;
|
|
337
|
+
credentials?: RequestCredentials;
|
|
337
338
|
headers?: HeadersInit & (HeadersInit | {
|
|
338
339
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
339
340
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
340
341
|
authorization: "Bearer" | "Basic";
|
|
341
342
|
});
|
|
342
|
-
cache?: RequestCache;
|
|
343
|
-
credentials?: RequestCredentials;
|
|
344
343
|
integrity?: string;
|
|
345
344
|
keepalive?: boolean;
|
|
345
|
+
method?: string;
|
|
346
346
|
mode?: RequestMode;
|
|
347
347
|
priority?: RequestPriority;
|
|
348
348
|
redirect?: RequestRedirect;
|
|
@@ -350,17 +350,17 @@ declare const useChangePassword: () => _tanstack_react_query0.UseMutationResult<
|
|
|
350
350
|
referrerPolicy?: ReferrerPolicy;
|
|
351
351
|
signal?: AbortSignal | null;
|
|
352
352
|
window?: null;
|
|
353
|
-
onRequest?: <T extends Record<string, any>>(context:
|
|
354
|
-
onResponse?: (context:
|
|
355
|
-
onSuccess?: (context:
|
|
356
|
-
onError?: (context:
|
|
357
|
-
onRetry?: (response:
|
|
353
|
+
onRequest?: <T extends Record<string, any>>(context: _better_fetch_fetch0.RequestContext<T>) => Promise<_better_fetch_fetch0.RequestContext | void> | _better_fetch_fetch0.RequestContext | void;
|
|
354
|
+
onResponse?: (context: _better_fetch_fetch0.ResponseContext) => Promise<Response | void | _better_fetch_fetch0.ResponseContext> | Response | _better_fetch_fetch0.ResponseContext | void;
|
|
355
|
+
onSuccess?: (context: _better_fetch_fetch0.SuccessContext<any>) => Promise<void> | void;
|
|
356
|
+
onError?: (context: _better_fetch_fetch0.ErrorContext) => Promise<void> | void;
|
|
357
|
+
onRetry?: (response: _better_fetch_fetch0.ResponseContext) => Promise<void> | void;
|
|
358
358
|
hookOptions?: {
|
|
359
359
|
cloneResponse?: boolean;
|
|
360
360
|
};
|
|
361
361
|
timeout?: number;
|
|
362
|
-
customFetchImpl?:
|
|
363
|
-
plugins?:
|
|
362
|
+
customFetchImpl?: _better_fetch_fetch0.FetchEsque;
|
|
363
|
+
plugins?: _better_fetch_fetch0.BetterFetchPlugin[];
|
|
364
364
|
baseURL?: string;
|
|
365
365
|
throw?: boolean;
|
|
366
366
|
auth?: {
|
|
@@ -384,23 +384,23 @@ declare const useChangePassword: () => _tanstack_react_query0.UseMutationResult<
|
|
|
384
384
|
params?: Record<string, any>;
|
|
385
385
|
duplex?: "full" | "half";
|
|
386
386
|
jsonParser?: (text: string) => Promise<any> | any;
|
|
387
|
-
retry?:
|
|
387
|
+
retry?: _better_fetch_fetch0.RetryOptions;
|
|
388
388
|
retryAttempt?: number;
|
|
389
|
-
output?:
|
|
390
|
-
errorSchema?:
|
|
389
|
+
output?: _better_fetch_fetch0.StandardSchemaV1 | typeof Blob | typeof File;
|
|
390
|
+
errorSchema?: _better_fetch_fetch0.StandardSchemaV1;
|
|
391
391
|
disableValidation?: boolean;
|
|
392
392
|
};
|
|
393
393
|
}>, {
|
|
394
|
-
|
|
394
|
+
cache?: RequestCache;
|
|
395
|
+
credentials?: RequestCredentials;
|
|
395
396
|
headers?: HeadersInit & (HeadersInit | {
|
|
396
397
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
397
398
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
398
399
|
authorization: "Bearer" | "Basic";
|
|
399
400
|
});
|
|
400
|
-
cache?: RequestCache;
|
|
401
|
-
credentials?: RequestCredentials;
|
|
402
401
|
integrity?: string;
|
|
403
402
|
keepalive?: boolean;
|
|
403
|
+
method?: string;
|
|
404
404
|
mode?: RequestMode;
|
|
405
405
|
priority?: RequestPriority;
|
|
406
406
|
redirect?: RequestRedirect;
|
|
@@ -408,17 +408,17 @@ declare const useChangePassword: () => _tanstack_react_query0.UseMutationResult<
|
|
|
408
408
|
referrerPolicy?: ReferrerPolicy;
|
|
409
409
|
signal?: AbortSignal | null;
|
|
410
410
|
window?: null;
|
|
411
|
-
onRequest?: <T extends Record<string, any>>(context:
|
|
412
|
-
onResponse?: (context:
|
|
413
|
-
onSuccess?: (context:
|
|
414
|
-
onError?: (context:
|
|
415
|
-
onRetry?: (response:
|
|
411
|
+
onRequest?: <T extends Record<string, any>>(context: _better_fetch_fetch0.RequestContext<T>) => Promise<_better_fetch_fetch0.RequestContext | void> | _better_fetch_fetch0.RequestContext | void;
|
|
412
|
+
onResponse?: (context: _better_fetch_fetch0.ResponseContext) => Promise<Response | void | _better_fetch_fetch0.ResponseContext> | Response | _better_fetch_fetch0.ResponseContext | void;
|
|
413
|
+
onSuccess?: (context: _better_fetch_fetch0.SuccessContext<any>) => Promise<void> | void;
|
|
414
|
+
onError?: (context: _better_fetch_fetch0.ErrorContext) => Promise<void> | void;
|
|
415
|
+
onRetry?: (response: _better_fetch_fetch0.ResponseContext) => Promise<void> | void;
|
|
416
416
|
hookOptions?: {
|
|
417
417
|
cloneResponse?: boolean;
|
|
418
418
|
};
|
|
419
419
|
timeout?: number;
|
|
420
|
-
customFetchImpl?:
|
|
421
|
-
plugins?:
|
|
420
|
+
customFetchImpl?: _better_fetch_fetch0.FetchEsque;
|
|
421
|
+
plugins?: _better_fetch_fetch0.BetterFetchPlugin[];
|
|
422
422
|
baseURL?: string;
|
|
423
423
|
throw?: boolean;
|
|
424
424
|
auth?: {
|
|
@@ -442,10 +442,10 @@ declare const useChangePassword: () => _tanstack_react_query0.UseMutationResult<
|
|
|
442
442
|
params?: Record<string, any>;
|
|
443
443
|
duplex?: "full" | "half";
|
|
444
444
|
jsonParser?: (text: string) => Promise<any> | any;
|
|
445
|
-
retry?:
|
|
445
|
+
retry?: _better_fetch_fetch0.RetryOptions;
|
|
446
446
|
retryAttempt?: number;
|
|
447
|
-
output?:
|
|
448
|
-
errorSchema?:
|
|
447
|
+
output?: _better_fetch_fetch0.StandardSchemaV1 | typeof Blob | typeof File;
|
|
448
|
+
errorSchema?: _better_fetch_fetch0.StandardSchemaV1;
|
|
449
449
|
disableValidation?: boolean;
|
|
450
450
|
}?], unknown>;
|
|
451
451
|
declare const useAskResetPassword: () => _tanstack_react_query0.UseMutationResult<{
|
|
@@ -462,21 +462,21 @@ declare const useAskResetPassword: () => _tanstack_react_query0.UseMutationResul
|
|
|
462
462
|
status: number;
|
|
463
463
|
statusText: string;
|
|
464
464
|
};
|
|
465
|
-
}, Error,
|
|
465
|
+
}, Error, better_auth0.Prettify<{
|
|
466
466
|
email: string;
|
|
467
467
|
redirectTo?: string | undefined;
|
|
468
468
|
} & {
|
|
469
469
|
fetchOptions?: {
|
|
470
|
-
|
|
470
|
+
cache?: RequestCache;
|
|
471
|
+
credentials?: RequestCredentials;
|
|
471
472
|
headers?: HeadersInit & (HeadersInit | {
|
|
472
473
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
473
474
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
474
475
|
authorization: "Bearer" | "Basic";
|
|
475
476
|
});
|
|
476
|
-
cache?: RequestCache;
|
|
477
|
-
credentials?: RequestCredentials;
|
|
478
477
|
integrity?: string;
|
|
479
478
|
keepalive?: boolean;
|
|
479
|
+
method?: string;
|
|
480
480
|
mode?: RequestMode;
|
|
481
481
|
priority?: RequestPriority;
|
|
482
482
|
redirect?: RequestRedirect;
|
|
@@ -484,17 +484,17 @@ declare const useAskResetPassword: () => _tanstack_react_query0.UseMutationResul
|
|
|
484
484
|
referrerPolicy?: ReferrerPolicy;
|
|
485
485
|
signal?: AbortSignal | null;
|
|
486
486
|
window?: null;
|
|
487
|
-
onRequest?: <T extends Record<string, any>>(context:
|
|
488
|
-
onResponse?: (context:
|
|
489
|
-
onSuccess?: (context:
|
|
490
|
-
onError?: (context:
|
|
491
|
-
onRetry?: (response:
|
|
487
|
+
onRequest?: <T extends Record<string, any>>(context: _better_fetch_fetch0.RequestContext<T>) => Promise<_better_fetch_fetch0.RequestContext | void> | _better_fetch_fetch0.RequestContext | void;
|
|
488
|
+
onResponse?: (context: _better_fetch_fetch0.ResponseContext) => Promise<Response | void | _better_fetch_fetch0.ResponseContext> | Response | _better_fetch_fetch0.ResponseContext | void;
|
|
489
|
+
onSuccess?: (context: _better_fetch_fetch0.SuccessContext<any>) => Promise<void> | void;
|
|
490
|
+
onError?: (context: _better_fetch_fetch0.ErrorContext) => Promise<void> | void;
|
|
491
|
+
onRetry?: (response: _better_fetch_fetch0.ResponseContext) => Promise<void> | void;
|
|
492
492
|
hookOptions?: {
|
|
493
493
|
cloneResponse?: boolean;
|
|
494
494
|
};
|
|
495
495
|
timeout?: number;
|
|
496
|
-
customFetchImpl?:
|
|
497
|
-
plugins?:
|
|
496
|
+
customFetchImpl?: _better_fetch_fetch0.FetchEsque;
|
|
497
|
+
plugins?: _better_fetch_fetch0.BetterFetchPlugin[];
|
|
498
498
|
baseURL?: string;
|
|
499
499
|
throw?: boolean;
|
|
500
500
|
auth?: {
|
|
@@ -517,10 +517,10 @@ declare const useAskResetPassword: () => _tanstack_react_query0.UseMutationResul
|
|
|
517
517
|
params?: Record<string, any>;
|
|
518
518
|
duplex?: "full" | "half";
|
|
519
519
|
jsonParser?: (text: string) => Promise<any> | any;
|
|
520
|
-
retry?:
|
|
520
|
+
retry?: _better_fetch_fetch0.RetryOptions;
|
|
521
521
|
retryAttempt?: number;
|
|
522
|
-
output?:
|
|
523
|
-
errorSchema?:
|
|
522
|
+
output?: _better_fetch_fetch0.StandardSchemaV1 | typeof Blob | typeof File;
|
|
523
|
+
errorSchema?: _better_fetch_fetch0.StandardSchemaV1;
|
|
524
524
|
disableValidation?: boolean;
|
|
525
525
|
};
|
|
526
526
|
}>, unknown>;
|
|
@@ -537,21 +537,21 @@ declare const useResetPassword: () => _tanstack_react_query0.UseMutationResult<{
|
|
|
537
537
|
status: number;
|
|
538
538
|
statusText: string;
|
|
539
539
|
};
|
|
540
|
-
}, Error,
|
|
540
|
+
}, Error, better_auth0.Prettify<{
|
|
541
541
|
newPassword: string;
|
|
542
542
|
token?: string | undefined;
|
|
543
543
|
} & {
|
|
544
544
|
fetchOptions?: {
|
|
545
|
-
|
|
545
|
+
cache?: RequestCache;
|
|
546
|
+
credentials?: RequestCredentials;
|
|
546
547
|
headers?: HeadersInit & (HeadersInit | {
|
|
547
548
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
548
549
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
549
550
|
authorization: "Bearer" | "Basic";
|
|
550
551
|
});
|
|
551
|
-
cache?: RequestCache;
|
|
552
|
-
credentials?: RequestCredentials;
|
|
553
552
|
integrity?: string;
|
|
554
553
|
keepalive?: boolean;
|
|
554
|
+
method?: string;
|
|
555
555
|
mode?: RequestMode;
|
|
556
556
|
priority?: RequestPriority;
|
|
557
557
|
redirect?: RequestRedirect;
|
|
@@ -559,17 +559,17 @@ declare const useResetPassword: () => _tanstack_react_query0.UseMutationResult<{
|
|
|
559
559
|
referrerPolicy?: ReferrerPolicy;
|
|
560
560
|
signal?: AbortSignal | null;
|
|
561
561
|
window?: null;
|
|
562
|
-
onRequest?: <T extends Record<string, any>>(context:
|
|
563
|
-
onResponse?: (context:
|
|
564
|
-
onSuccess?: (context:
|
|
565
|
-
onError?: (context:
|
|
566
|
-
onRetry?: (response:
|
|
562
|
+
onRequest?: <T extends Record<string, any>>(context: _better_fetch_fetch0.RequestContext<T>) => Promise<_better_fetch_fetch0.RequestContext | void> | _better_fetch_fetch0.RequestContext | void;
|
|
563
|
+
onResponse?: (context: _better_fetch_fetch0.ResponseContext) => Promise<Response | void | _better_fetch_fetch0.ResponseContext> | Response | _better_fetch_fetch0.ResponseContext | void;
|
|
564
|
+
onSuccess?: (context: _better_fetch_fetch0.SuccessContext<any>) => Promise<void> | void;
|
|
565
|
+
onError?: (context: _better_fetch_fetch0.ErrorContext) => Promise<void> | void;
|
|
566
|
+
onRetry?: (response: _better_fetch_fetch0.ResponseContext) => Promise<void> | void;
|
|
567
567
|
hookOptions?: {
|
|
568
568
|
cloneResponse?: boolean;
|
|
569
569
|
};
|
|
570
570
|
timeout?: number;
|
|
571
|
-
customFetchImpl?:
|
|
572
|
-
plugins?:
|
|
571
|
+
customFetchImpl?: _better_fetch_fetch0.FetchEsque;
|
|
572
|
+
plugins?: _better_fetch_fetch0.BetterFetchPlugin[];
|
|
573
573
|
baseURL?: string;
|
|
574
574
|
throw?: boolean;
|
|
575
575
|
auth?: {
|
|
@@ -594,10 +594,10 @@ declare const useResetPassword: () => _tanstack_react_query0.UseMutationResult<{
|
|
|
594
594
|
params?: Record<string, any>;
|
|
595
595
|
duplex?: "full" | "half";
|
|
596
596
|
jsonParser?: (text: string) => Promise<any> | any;
|
|
597
|
-
retry?:
|
|
597
|
+
retry?: _better_fetch_fetch0.RetryOptions;
|
|
598
598
|
retryAttempt?: number;
|
|
599
|
-
output?:
|
|
600
|
-
errorSchema?:
|
|
599
|
+
output?: _better_fetch_fetch0.StandardSchemaV1 | typeof Blob | typeof File;
|
|
600
|
+
errorSchema?: _better_fetch_fetch0.StandardSchemaV1;
|
|
601
601
|
disableValidation?: boolean;
|
|
602
602
|
};
|
|
603
603
|
}>, unknown>;
|
|
@@ -626,7 +626,7 @@ declare const useVerifyEmail: () => _tanstack_react_query0.UseMutationResult<{
|
|
|
626
626
|
status: number;
|
|
627
627
|
statusText: string;
|
|
628
628
|
};
|
|
629
|
-
}, Error,
|
|
629
|
+
}, Error, better_auth0.Prettify<undefined>, unknown>;
|
|
630
630
|
declare const useGetUserByAccount: () => _tanstack_react_query0.UseMutationResult<{
|
|
631
631
|
data: {
|
|
632
632
|
user: packages_core_dist_oauth2.OAuth2UserInfo;
|
|
@@ -641,20 +641,20 @@ declare const useGetUserByAccount: () => _tanstack_react_query0.UseMutationResul
|
|
|
641
641
|
status: number;
|
|
642
642
|
statusText: string;
|
|
643
643
|
};
|
|
644
|
-
}, Error,
|
|
644
|
+
}, Error, better_auth0.Prettify<{
|
|
645
645
|
accountId: string;
|
|
646
646
|
} & {
|
|
647
647
|
fetchOptions?: {
|
|
648
|
-
|
|
648
|
+
cache?: RequestCache;
|
|
649
|
+
credentials?: RequestCredentials;
|
|
649
650
|
headers?: HeadersInit & (HeadersInit | {
|
|
650
651
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
651
652
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
652
653
|
authorization: "Bearer" | "Basic";
|
|
653
654
|
});
|
|
654
|
-
cache?: RequestCache;
|
|
655
|
-
credentials?: RequestCredentials;
|
|
656
655
|
integrity?: string;
|
|
657
656
|
keepalive?: boolean;
|
|
657
|
+
method?: string;
|
|
658
658
|
mode?: RequestMode;
|
|
659
659
|
priority?: RequestPriority;
|
|
660
660
|
redirect?: RequestRedirect;
|
|
@@ -662,17 +662,17 @@ declare const useGetUserByAccount: () => _tanstack_react_query0.UseMutationResul
|
|
|
662
662
|
referrerPolicy?: ReferrerPolicy;
|
|
663
663
|
signal?: AbortSignal | null;
|
|
664
664
|
window?: null;
|
|
665
|
-
onRequest?: <T extends Record<string, any>>(context:
|
|
666
|
-
onResponse?: (context:
|
|
667
|
-
onSuccess?: (context:
|
|
668
|
-
onError?: (context:
|
|
669
|
-
onRetry?: (response:
|
|
665
|
+
onRequest?: <T extends Record<string, any>>(context: _better_fetch_fetch0.RequestContext<T>) => Promise<_better_fetch_fetch0.RequestContext | void> | _better_fetch_fetch0.RequestContext | void;
|
|
666
|
+
onResponse?: (context: _better_fetch_fetch0.ResponseContext) => Promise<Response | void | _better_fetch_fetch0.ResponseContext> | Response | _better_fetch_fetch0.ResponseContext | void;
|
|
667
|
+
onSuccess?: (context: _better_fetch_fetch0.SuccessContext<any>) => Promise<void> | void;
|
|
668
|
+
onError?: (context: _better_fetch_fetch0.ErrorContext) => Promise<void> | void;
|
|
669
|
+
onRetry?: (response: _better_fetch_fetch0.ResponseContext) => Promise<void> | void;
|
|
670
670
|
hookOptions?: {
|
|
671
671
|
cloneResponse?: boolean;
|
|
672
672
|
};
|
|
673
673
|
timeout?: number;
|
|
674
|
-
customFetchImpl?:
|
|
675
|
-
plugins?:
|
|
674
|
+
customFetchImpl?: _better_fetch_fetch0.FetchEsque;
|
|
675
|
+
plugins?: _better_fetch_fetch0.BetterFetchPlugin[];
|
|
676
676
|
baseURL?: string;
|
|
677
677
|
throw?: boolean;
|
|
678
678
|
auth?: {
|
|
@@ -694,10 +694,10 @@ declare const useGetUserByAccount: () => _tanstack_react_query0.UseMutationResul
|
|
|
694
694
|
params?: Record<string, any>;
|
|
695
695
|
duplex?: "full" | "half";
|
|
696
696
|
jsonParser?: (text: string) => Promise<any> | any;
|
|
697
|
-
retry?:
|
|
697
|
+
retry?: _better_fetch_fetch0.RetryOptions;
|
|
698
698
|
retryAttempt?: number;
|
|
699
|
-
output?:
|
|
700
|
-
errorSchema?:
|
|
699
|
+
output?: _better_fetch_fetch0.StandardSchemaV1 | typeof Blob | typeof File;
|
|
700
|
+
errorSchema?: _better_fetch_fetch0.StandardSchemaV1;
|
|
701
701
|
disableValidation?: boolean;
|
|
702
702
|
};
|
|
703
703
|
}>, unknown>;
|
|
@@ -715,21 +715,21 @@ declare const useEnableTwoFactor: () => _tanstack_react_query0.UseMutationResult
|
|
|
715
715
|
status: number;
|
|
716
716
|
statusText: string;
|
|
717
717
|
};
|
|
718
|
-
}, Error,
|
|
718
|
+
}, Error, better_auth0.Prettify<{
|
|
719
719
|
password: string;
|
|
720
720
|
issuer?: string | undefined;
|
|
721
721
|
} & {
|
|
722
722
|
fetchOptions?: {
|
|
723
|
-
|
|
723
|
+
cache?: RequestCache;
|
|
724
|
+
credentials?: RequestCredentials;
|
|
724
725
|
headers?: HeadersInit & (HeadersInit | {
|
|
725
726
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
726
727
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
727
728
|
authorization: "Bearer" | "Basic";
|
|
728
729
|
});
|
|
729
|
-
cache?: RequestCache;
|
|
730
|
-
credentials?: RequestCredentials;
|
|
731
730
|
integrity?: string;
|
|
732
731
|
keepalive?: boolean;
|
|
732
|
+
method?: string;
|
|
733
733
|
mode?: RequestMode;
|
|
734
734
|
priority?: RequestPriority;
|
|
735
735
|
redirect?: RequestRedirect;
|
|
@@ -737,17 +737,17 @@ declare const useEnableTwoFactor: () => _tanstack_react_query0.UseMutationResult
|
|
|
737
737
|
referrerPolicy?: ReferrerPolicy;
|
|
738
738
|
signal?: AbortSignal | null;
|
|
739
739
|
window?: null;
|
|
740
|
-
onRequest?: <T extends Record<string, any>>(context:
|
|
741
|
-
onResponse?: (context:
|
|
742
|
-
onSuccess?: (context:
|
|
743
|
-
onError?: (context:
|
|
744
|
-
onRetry?: (response:
|
|
740
|
+
onRequest?: <T extends Record<string, any>>(context: _better_fetch_fetch0.RequestContext<T>) => Promise<_better_fetch_fetch0.RequestContext | void> | _better_fetch_fetch0.RequestContext | void;
|
|
741
|
+
onResponse?: (context: _better_fetch_fetch0.ResponseContext) => Promise<Response | void | _better_fetch_fetch0.ResponseContext> | Response | _better_fetch_fetch0.ResponseContext | void;
|
|
742
|
+
onSuccess?: (context: _better_fetch_fetch0.SuccessContext<any>) => Promise<void> | void;
|
|
743
|
+
onError?: (context: _better_fetch_fetch0.ErrorContext) => Promise<void> | void;
|
|
744
|
+
onRetry?: (response: _better_fetch_fetch0.ResponseContext) => Promise<void> | void;
|
|
745
745
|
hookOptions?: {
|
|
746
746
|
cloneResponse?: boolean;
|
|
747
747
|
};
|
|
748
748
|
timeout?: number;
|
|
749
|
-
customFetchImpl?:
|
|
750
|
-
plugins?:
|
|
749
|
+
customFetchImpl?: _better_fetch_fetch0.FetchEsque;
|
|
750
|
+
plugins?: _better_fetch_fetch0.BetterFetchPlugin[];
|
|
751
751
|
baseURL?: string;
|
|
752
752
|
throw?: boolean;
|
|
753
753
|
auth?: {
|
|
@@ -770,10 +770,10 @@ declare const useEnableTwoFactor: () => _tanstack_react_query0.UseMutationResult
|
|
|
770
770
|
params?: Record<string, any>;
|
|
771
771
|
duplex?: "full" | "half";
|
|
772
772
|
jsonParser?: (text: string) => Promise<any> | any;
|
|
773
|
-
retry?:
|
|
773
|
+
retry?: _better_fetch_fetch0.RetryOptions;
|
|
774
774
|
retryAttempt?: number;
|
|
775
|
-
output?:
|
|
776
|
-
errorSchema?:
|
|
775
|
+
output?: _better_fetch_fetch0.StandardSchemaV1 | typeof Blob | typeof File;
|
|
776
|
+
errorSchema?: _better_fetch_fetch0.StandardSchemaV1;
|
|
777
777
|
disableValidation?: boolean;
|
|
778
778
|
};
|
|
779
779
|
}>, unknown>;
|
|
@@ -790,20 +790,20 @@ declare const useDisableTwoFactor: () => _tanstack_react_query0.UseMutationResul
|
|
|
790
790
|
status: number;
|
|
791
791
|
statusText: string;
|
|
792
792
|
};
|
|
793
|
-
}, Error,
|
|
793
|
+
}, Error, better_auth0.Prettify<{
|
|
794
794
|
password: string;
|
|
795
795
|
} & {
|
|
796
796
|
fetchOptions?: {
|
|
797
|
-
|
|
797
|
+
cache?: RequestCache;
|
|
798
|
+
credentials?: RequestCredentials;
|
|
798
799
|
headers?: HeadersInit & (HeadersInit | {
|
|
799
800
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
800
801
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
801
802
|
authorization: "Bearer" | "Basic";
|
|
802
803
|
});
|
|
803
|
-
cache?: RequestCache;
|
|
804
|
-
credentials?: RequestCredentials;
|
|
805
804
|
integrity?: string;
|
|
806
805
|
keepalive?: boolean;
|
|
806
|
+
method?: string;
|
|
807
807
|
mode?: RequestMode;
|
|
808
808
|
priority?: RequestPriority;
|
|
809
809
|
redirect?: RequestRedirect;
|
|
@@ -811,17 +811,17 @@ declare const useDisableTwoFactor: () => _tanstack_react_query0.UseMutationResul
|
|
|
811
811
|
referrerPolicy?: ReferrerPolicy;
|
|
812
812
|
signal?: AbortSignal | null;
|
|
813
813
|
window?: null;
|
|
814
|
-
onRequest?: <T extends Record<string, any>>(context:
|
|
815
|
-
onResponse?: (context:
|
|
816
|
-
onSuccess?: (context:
|
|
817
|
-
onError?: (context:
|
|
818
|
-
onRetry?: (response:
|
|
814
|
+
onRequest?: <T extends Record<string, any>>(context: _better_fetch_fetch0.RequestContext<T>) => Promise<_better_fetch_fetch0.RequestContext | void> | _better_fetch_fetch0.RequestContext | void;
|
|
815
|
+
onResponse?: (context: _better_fetch_fetch0.ResponseContext) => Promise<Response | void | _better_fetch_fetch0.ResponseContext> | Response | _better_fetch_fetch0.ResponseContext | void;
|
|
816
|
+
onSuccess?: (context: _better_fetch_fetch0.SuccessContext<any>) => Promise<void> | void;
|
|
817
|
+
onError?: (context: _better_fetch_fetch0.ErrorContext) => Promise<void> | void;
|
|
818
|
+
onRetry?: (response: _better_fetch_fetch0.ResponseContext) => Promise<void> | void;
|
|
819
819
|
hookOptions?: {
|
|
820
820
|
cloneResponse?: boolean;
|
|
821
821
|
};
|
|
822
822
|
timeout?: number;
|
|
823
|
-
customFetchImpl?:
|
|
824
|
-
plugins?:
|
|
823
|
+
customFetchImpl?: _better_fetch_fetch0.FetchEsque;
|
|
824
|
+
plugins?: _better_fetch_fetch0.BetterFetchPlugin[];
|
|
825
825
|
baseURL?: string;
|
|
826
826
|
throw?: boolean;
|
|
827
827
|
auth?: {
|
|
@@ -843,10 +843,10 @@ declare const useDisableTwoFactor: () => _tanstack_react_query0.UseMutationResul
|
|
|
843
843
|
params?: Record<string, any>;
|
|
844
844
|
duplex?: "full" | "half";
|
|
845
845
|
jsonParser?: (text: string) => Promise<any> | any;
|
|
846
|
-
retry?:
|
|
846
|
+
retry?: _better_fetch_fetch0.RetryOptions;
|
|
847
847
|
retryAttempt?: number;
|
|
848
|
-
output?:
|
|
849
|
-
errorSchema?:
|
|
848
|
+
output?: _better_fetch_fetch0.StandardSchemaV1 | typeof Blob | typeof File;
|
|
849
|
+
errorSchema?: _better_fetch_fetch0.StandardSchemaV1;
|
|
850
850
|
disableValidation?: boolean;
|
|
851
851
|
};
|
|
852
852
|
}>, unknown>;
|
|
@@ -872,21 +872,21 @@ declare const useVerifyTotp: () => _tanstack_react_query0.UseMutationResult<{
|
|
|
872
872
|
status: number;
|
|
873
873
|
statusText: string;
|
|
874
874
|
};
|
|
875
|
-
}, Error,
|
|
875
|
+
}, Error, better_auth0.Prettify<{
|
|
876
876
|
code: string;
|
|
877
877
|
trustDevice?: boolean | undefined;
|
|
878
878
|
} & {
|
|
879
879
|
fetchOptions?: {
|
|
880
|
-
|
|
880
|
+
cache?: RequestCache;
|
|
881
|
+
credentials?: RequestCredentials;
|
|
881
882
|
headers?: HeadersInit & (HeadersInit | {
|
|
882
883
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
883
884
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
884
885
|
authorization: "Bearer" | "Basic";
|
|
885
886
|
});
|
|
886
|
-
cache?: RequestCache;
|
|
887
|
-
credentials?: RequestCredentials;
|
|
888
887
|
integrity?: string;
|
|
889
888
|
keepalive?: boolean;
|
|
889
|
+
method?: string;
|
|
890
890
|
mode?: RequestMode;
|
|
891
891
|
priority?: RequestPriority;
|
|
892
892
|
redirect?: RequestRedirect;
|
|
@@ -894,17 +894,17 @@ declare const useVerifyTotp: () => _tanstack_react_query0.UseMutationResult<{
|
|
|
894
894
|
referrerPolicy?: ReferrerPolicy;
|
|
895
895
|
signal?: AbortSignal | null;
|
|
896
896
|
window?: null;
|
|
897
|
-
onRequest?: <T extends Record<string, any>>(context:
|
|
898
|
-
onResponse?: (context:
|
|
899
|
-
onSuccess?: (context:
|
|
900
|
-
onError?: (context:
|
|
901
|
-
onRetry?: (response:
|
|
897
|
+
onRequest?: <T extends Record<string, any>>(context: _better_fetch_fetch0.RequestContext<T>) => Promise<_better_fetch_fetch0.RequestContext | void> | _better_fetch_fetch0.RequestContext | void;
|
|
898
|
+
onResponse?: (context: _better_fetch_fetch0.ResponseContext) => Promise<Response | void | _better_fetch_fetch0.ResponseContext> | Response | _better_fetch_fetch0.ResponseContext | void;
|
|
899
|
+
onSuccess?: (context: _better_fetch_fetch0.SuccessContext<any>) => Promise<void> | void;
|
|
900
|
+
onError?: (context: _better_fetch_fetch0.ErrorContext) => Promise<void> | void;
|
|
901
|
+
onRetry?: (response: _better_fetch_fetch0.ResponseContext) => Promise<void> | void;
|
|
902
902
|
hookOptions?: {
|
|
903
903
|
cloneResponse?: boolean;
|
|
904
904
|
};
|
|
905
905
|
timeout?: number;
|
|
906
|
-
customFetchImpl?:
|
|
907
|
-
plugins?:
|
|
906
|
+
customFetchImpl?: _better_fetch_fetch0.FetchEsque;
|
|
907
|
+
plugins?: _better_fetch_fetch0.BetterFetchPlugin[];
|
|
908
908
|
baseURL?: string;
|
|
909
909
|
throw?: boolean;
|
|
910
910
|
auth?: {
|
|
@@ -927,10 +927,10 @@ declare const useVerifyTotp: () => _tanstack_react_query0.UseMutationResult<{
|
|
|
927
927
|
params?: Record<string, any>;
|
|
928
928
|
duplex?: "full" | "half";
|
|
929
929
|
jsonParser?: (text: string) => Promise<any> | any;
|
|
930
|
-
retry?:
|
|
930
|
+
retry?: _better_fetch_fetch0.RetryOptions;
|
|
931
931
|
retryAttempt?: number;
|
|
932
|
-
output?:
|
|
933
|
-
errorSchema?:
|
|
932
|
+
output?: _better_fetch_fetch0.StandardSchemaV1 | typeof Blob | typeof File;
|
|
933
|
+
errorSchema?: _better_fetch_fetch0.StandardSchemaV1;
|
|
934
934
|
disableValidation?: boolean;
|
|
935
935
|
};
|
|
936
936
|
}>, unknown>;
|
|
@@ -956,22 +956,22 @@ declare const useVerifyBackupCode: () => _tanstack_react_query0.UseMutationResul
|
|
|
956
956
|
status: number;
|
|
957
957
|
statusText: string;
|
|
958
958
|
};
|
|
959
|
-
}, Error,
|
|
959
|
+
}, Error, better_auth0.Prettify<{
|
|
960
960
|
code: string;
|
|
961
961
|
disableSession?: boolean | undefined;
|
|
962
962
|
trustDevice?: boolean | undefined;
|
|
963
963
|
} & {
|
|
964
964
|
fetchOptions?: {
|
|
965
|
-
|
|
965
|
+
cache?: RequestCache;
|
|
966
|
+
credentials?: RequestCredentials;
|
|
966
967
|
headers?: HeadersInit & (HeadersInit | {
|
|
967
968
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
968
969
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
969
970
|
authorization: "Bearer" | "Basic";
|
|
970
971
|
});
|
|
971
|
-
cache?: RequestCache;
|
|
972
|
-
credentials?: RequestCredentials;
|
|
973
972
|
integrity?: string;
|
|
974
973
|
keepalive?: boolean;
|
|
974
|
+
method?: string;
|
|
975
975
|
mode?: RequestMode;
|
|
976
976
|
priority?: RequestPriority;
|
|
977
977
|
redirect?: RequestRedirect;
|
|
@@ -979,17 +979,17 @@ declare const useVerifyBackupCode: () => _tanstack_react_query0.UseMutationResul
|
|
|
979
979
|
referrerPolicy?: ReferrerPolicy;
|
|
980
980
|
signal?: AbortSignal | null;
|
|
981
981
|
window?: null;
|
|
982
|
-
onRequest?: <T extends Record<string, any>>(context:
|
|
983
|
-
onResponse?: (context:
|
|
984
|
-
onSuccess?: (context:
|
|
985
|
-
onError?: (context:
|
|
986
|
-
onRetry?: (response:
|
|
982
|
+
onRequest?: <T extends Record<string, any>>(context: _better_fetch_fetch0.RequestContext<T>) => Promise<_better_fetch_fetch0.RequestContext | void> | _better_fetch_fetch0.RequestContext | void;
|
|
983
|
+
onResponse?: (context: _better_fetch_fetch0.ResponseContext) => Promise<Response | void | _better_fetch_fetch0.ResponseContext> | Response | _better_fetch_fetch0.ResponseContext | void;
|
|
984
|
+
onSuccess?: (context: _better_fetch_fetch0.SuccessContext<any>) => Promise<void> | void;
|
|
985
|
+
onError?: (context: _better_fetch_fetch0.ErrorContext) => Promise<void> | void;
|
|
986
|
+
onRetry?: (response: _better_fetch_fetch0.ResponseContext) => Promise<void> | void;
|
|
987
987
|
hookOptions?: {
|
|
988
988
|
cloneResponse?: boolean;
|
|
989
989
|
};
|
|
990
990
|
timeout?: number;
|
|
991
|
-
customFetchImpl?:
|
|
992
|
-
plugins?:
|
|
991
|
+
customFetchImpl?: _better_fetch_fetch0.FetchEsque;
|
|
992
|
+
plugins?: _better_fetch_fetch0.BetterFetchPlugin[];
|
|
993
993
|
baseURL?: string;
|
|
994
994
|
throw?: boolean;
|
|
995
995
|
auth?: {
|
|
@@ -1013,10 +1013,10 @@ declare const useVerifyBackupCode: () => _tanstack_react_query0.UseMutationResul
|
|
|
1013
1013
|
params?: Record<string, any>;
|
|
1014
1014
|
duplex?: "full" | "half";
|
|
1015
1015
|
jsonParser?: (text: string) => Promise<any> | any;
|
|
1016
|
-
retry?:
|
|
1016
|
+
retry?: _better_fetch_fetch0.RetryOptions;
|
|
1017
1017
|
retryAttempt?: number;
|
|
1018
|
-
output?:
|
|
1019
|
-
errorSchema?:
|
|
1018
|
+
output?: _better_fetch_fetch0.StandardSchemaV1 | typeof Blob | typeof File;
|
|
1019
|
+
errorSchema?: _better_fetch_fetch0.StandardSchemaV1;
|
|
1020
1020
|
disableValidation?: boolean;
|
|
1021
1021
|
};
|
|
1022
1022
|
}>, unknown>;
|
|
@@ -1036,7 +1036,7 @@ declare const useAddPasskey: () => _tanstack_react_query0.UseMutationResult<{
|
|
|
1036
1036
|
statusText: string;
|
|
1037
1037
|
};
|
|
1038
1038
|
}, Error, {
|
|
1039
|
-
fetchOptions?:
|
|
1039
|
+
fetchOptions?: _better_fetch_fetch0.BetterFetchOption;
|
|
1040
1040
|
name?: string;
|
|
1041
1041
|
authenticatorAttachment?: "platform" | "cross-platform";
|
|
1042
1042
|
useAutoRegister?: boolean;
|
|
@@ -1051,7 +1051,7 @@ declare const useSignInPasskey: () => _tanstack_react_query0.UseMutationResult<{
|
|
|
1051
1051
|
} | {
|
|
1052
1052
|
data: {
|
|
1053
1053
|
session: inspector0.Session;
|
|
1054
|
-
user:
|
|
1054
|
+
user: better_auth0.User;
|
|
1055
1055
|
};
|
|
1056
1056
|
error: null;
|
|
1057
1057
|
} | {
|
|
@@ -1064,7 +1064,7 @@ declare const useSignInPasskey: () => _tanstack_react_query0.UseMutationResult<{
|
|
|
1064
1064
|
};
|
|
1065
1065
|
}, Error, {
|
|
1066
1066
|
autoFill?: boolean;
|
|
1067
|
-
fetchOptions?:
|
|
1067
|
+
fetchOptions?: _better_fetch_fetch0.BetterFetchOption;
|
|
1068
1068
|
}, unknown>;
|
|
1069
1069
|
declare const useDeletePasskey: () => _tanstack_react_query0.UseMutationResult<{
|
|
1070
1070
|
data: never;
|
|
@@ -1077,20 +1077,20 @@ declare const useDeletePasskey: () => _tanstack_react_query0.UseMutationResult<{
|
|
|
1077
1077
|
status: number;
|
|
1078
1078
|
statusText: string;
|
|
1079
1079
|
};
|
|
1080
|
-
}, Error,
|
|
1080
|
+
}, Error, better_auth0.Prettify<{
|
|
1081
1081
|
id: string;
|
|
1082
1082
|
} & {
|
|
1083
1083
|
fetchOptions?: {
|
|
1084
|
-
|
|
1084
|
+
cache?: RequestCache;
|
|
1085
|
+
credentials?: RequestCredentials;
|
|
1085
1086
|
headers?: HeadersInit & (HeadersInit | {
|
|
1086
1087
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
1087
1088
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
1088
1089
|
authorization: "Bearer" | "Basic";
|
|
1089
1090
|
});
|
|
1090
|
-
cache?: RequestCache;
|
|
1091
|
-
credentials?: RequestCredentials;
|
|
1092
1091
|
integrity?: string;
|
|
1093
1092
|
keepalive?: boolean;
|
|
1093
|
+
method?: string;
|
|
1094
1094
|
mode?: RequestMode;
|
|
1095
1095
|
priority?: RequestPriority;
|
|
1096
1096
|
redirect?: RequestRedirect;
|
|
@@ -1098,17 +1098,17 @@ declare const useDeletePasskey: () => _tanstack_react_query0.UseMutationResult<{
|
|
|
1098
1098
|
referrerPolicy?: ReferrerPolicy;
|
|
1099
1099
|
signal?: AbortSignal | null;
|
|
1100
1100
|
window?: null;
|
|
1101
|
-
onRequest?: <T extends Record<string, any>>(context:
|
|
1102
|
-
onResponse?: (context:
|
|
1103
|
-
onSuccess?: (context:
|
|
1104
|
-
onError?: (context:
|
|
1105
|
-
onRetry?: (response:
|
|
1101
|
+
onRequest?: <T extends Record<string, any>>(context: _better_fetch_fetch0.RequestContext<T>) => Promise<_better_fetch_fetch0.RequestContext | void> | _better_fetch_fetch0.RequestContext | void;
|
|
1102
|
+
onResponse?: (context: _better_fetch_fetch0.ResponseContext) => Promise<Response | void | _better_fetch_fetch0.ResponseContext> | Response | _better_fetch_fetch0.ResponseContext | void;
|
|
1103
|
+
onSuccess?: (context: _better_fetch_fetch0.SuccessContext<any>) => Promise<void> | void;
|
|
1104
|
+
onError?: (context: _better_fetch_fetch0.ErrorContext) => Promise<void> | void;
|
|
1105
|
+
onRetry?: (response: _better_fetch_fetch0.ResponseContext) => Promise<void> | void;
|
|
1106
1106
|
hookOptions?: {
|
|
1107
1107
|
cloneResponse?: boolean;
|
|
1108
1108
|
};
|
|
1109
1109
|
timeout?: number;
|
|
1110
|
-
customFetchImpl?:
|
|
1111
|
-
plugins?:
|
|
1110
|
+
customFetchImpl?: _better_fetch_fetch0.FetchEsque;
|
|
1111
|
+
plugins?: _better_fetch_fetch0.BetterFetchPlugin[];
|
|
1112
1112
|
baseURL?: string;
|
|
1113
1113
|
throw?: boolean;
|
|
1114
1114
|
auth?: {
|
|
@@ -1130,10 +1130,10 @@ declare const useDeletePasskey: () => _tanstack_react_query0.UseMutationResult<{
|
|
|
1130
1130
|
params?: Record<string, any>;
|
|
1131
1131
|
duplex?: "full" | "half";
|
|
1132
1132
|
jsonParser?: (text: string) => Promise<any> | any;
|
|
1133
|
-
retry?:
|
|
1133
|
+
retry?: _better_fetch_fetch0.RetryOptions;
|
|
1134
1134
|
retryAttempt?: number;
|
|
1135
|
-
output?:
|
|
1136
|
-
errorSchema?:
|
|
1135
|
+
output?: _better_fetch_fetch0.StandardSchemaV1 | typeof Blob | typeof File;
|
|
1136
|
+
errorSchema?: _better_fetch_fetch0.StandardSchemaV1;
|
|
1137
1137
|
disableValidation?: boolean;
|
|
1138
1138
|
};
|
|
1139
1139
|
}>, unknown>;
|
|
@@ -1157,17 +1157,17 @@ declare const useSignInMagicLink: () => _tanstack_react_query0.UseMutationResult
|
|
|
1157
1157
|
*/
|
|
1158
1158
|
declare const useGetUsers: (filters?: GetUsersParams, options?: Partial<UseQueryOptions>) => _tanstack_react_query0.UseQueryResult<unknown, Error>;
|
|
1159
1159
|
declare const useGetUserById: (userId: string) => _tanstack_react_query0.UseQueryResult<unknown, Error>;
|
|
1160
|
-
declare const useCreateUser: () => _tanstack_react_query0.UseMutationResult<
|
|
1161
|
-
declare const useUpdateUser: () => _tanstack_react_query0.UseMutationResult<
|
|
1160
|
+
declare const useCreateUser: () => _tanstack_react_query0.UseMutationResult<_intlayer_backend0.CreateUserResult, Error, CreateUserBody, unknown>;
|
|
1161
|
+
declare const useUpdateUser: () => _tanstack_react_query0.UseMutationResult<_intlayer_backend0.UpdateUserResult, Error, Partial<{
|
|
1162
1162
|
name: string;
|
|
1163
1163
|
id: string;
|
|
1164
|
+
lang?: string;
|
|
1165
|
+
role?: string;
|
|
1164
1166
|
createdAt: Date;
|
|
1165
|
-
email: string;
|
|
1166
1167
|
updatedAt: Date;
|
|
1168
|
+
email: string;
|
|
1167
1169
|
emailVerified: boolean;
|
|
1168
1170
|
image?: string;
|
|
1169
|
-
lang?: string;
|
|
1170
|
-
role?: string;
|
|
1171
1171
|
phone?: string;
|
|
1172
1172
|
dateOfBirth?: Date;
|
|
1173
1173
|
emailsList?: {
|
|
@@ -1176,32 +1176,32 @@ declare const useUpdateUser: () => _tanstack_react_query0.UseMutationResult<_int
|
|
|
1176
1176
|
customerId?: string;
|
|
1177
1177
|
lastLoginMethod?: "email" | "google" | "github" | "passkey";
|
|
1178
1178
|
}>, unknown>;
|
|
1179
|
-
declare const useDeleteUser: () => _tanstack_react_query0.UseMutationResult<
|
|
1179
|
+
declare const useDeleteUser: () => _tanstack_react_query0.UseMutationResult<_intlayer_backend0.UpdateUserResult, Error, string, unknown>;
|
|
1180
1180
|
/**
|
|
1181
1181
|
* Organization
|
|
1182
1182
|
*/
|
|
1183
1183
|
declare const useGetOrganizations: (filters?: GetOrganizationsParams) => _tanstack_react_query0.UseQueryResult<unknown, Error>;
|
|
1184
|
-
declare const useAddOrganization: () => _tanstack_react_query0.UseMutationResult<
|
|
1185
|
-
declare const useUpdateOrganization: () => _tanstack_react_query0.UseMutationResult<
|
|
1186
|
-
declare const useUpdateOrganizationMembers: () => _tanstack_react_query0.UseMutationResult<
|
|
1187
|
-
membersIds: (
|
|
1188
|
-
adminsIds: (
|
|
1184
|
+
declare const useAddOrganization: () => _tanstack_react_query0.UseMutationResult<_intlayer_backend0.AddOrganizationResult, Error, _intlayer_backend0.OrganizationCreationData, unknown>;
|
|
1185
|
+
declare const useUpdateOrganization: () => _tanstack_react_query0.UseMutationResult<_intlayer_backend0.UpdateOrganizationResult, Error, Partial<_intlayer_backend0.Organization>, unknown>;
|
|
1186
|
+
declare const useUpdateOrganizationMembers: () => _tanstack_react_query0.UseMutationResult<_intlayer_backend0.UpdateOrganizationMembersResult, Error, Partial<{
|
|
1187
|
+
membersIds: (_intlayer_backend0.User | _intlayer_backend0.UserAPI)["id"][];
|
|
1188
|
+
adminsIds: (_intlayer_backend0.User | _intlayer_backend0.UserAPI)["id"][];
|
|
1189
1189
|
}>, unknown>;
|
|
1190
|
-
declare const useUpdateOrganizationMembersById: () => _tanstack_react_query0.UseMutationResult<
|
|
1190
|
+
declare const useUpdateOrganizationMembersById: () => _tanstack_react_query0.UseMutationResult<_intlayer_backend0.UpdateOrganizationMembersResult, Error, {
|
|
1191
1191
|
organizationId: string;
|
|
1192
1192
|
membersIds: string[];
|
|
1193
1193
|
adminsIds?: string[];
|
|
1194
1194
|
}, unknown>;
|
|
1195
|
-
declare const useAddOrganizationMember: () => _tanstack_react_query0.UseMutationResult<
|
|
1196
|
-
declare const useDeleteOrganization: () => _tanstack_react_query0.UseMutationResult<
|
|
1197
|
-
declare const useSelectOrganization: () => _tanstack_react_query0.UseMutationResult<
|
|
1198
|
-
declare const useUnselectOrganization: () => _tanstack_react_query0.UseMutationResult<
|
|
1195
|
+
declare const useAddOrganizationMember: () => _tanstack_react_query0.UseMutationResult<_intlayer_backend0.AddOrganizationMemberResult, Error, AddOrganizationMemberBody, unknown>;
|
|
1196
|
+
declare const useDeleteOrganization: () => _tanstack_react_query0.UseMutationResult<_intlayer_backend0.DeleteOrganizationResult, Error, void, unknown>;
|
|
1197
|
+
declare const useSelectOrganization: () => _tanstack_react_query0.UseMutationResult<_intlayer_backend0.SelectOrganizationResult, Error, SelectOrganizationParam, unknown>;
|
|
1198
|
+
declare const useUnselectOrganization: () => _tanstack_react_query0.UseMutationResult<_intlayer_backend0.UnselectOrganizationResult, Error, void, unknown>;
|
|
1199
1199
|
/**
|
|
1200
1200
|
* Project
|
|
1201
1201
|
*/
|
|
1202
1202
|
declare const useGetProjects: (filters?: GetProjectsParams, options?: Partial<UseQueryOptions>) => _tanstack_react_query0.UseQueryResult<unknown, Error>;
|
|
1203
|
-
declare const useAddProject: () => _tanstack_react_query0.UseMutationResult<
|
|
1204
|
-
declare const useUpdateProject: () => _tanstack_react_query0.UseMutationResult<
|
|
1203
|
+
declare const useAddProject: () => _tanstack_react_query0.UseMutationResult<_intlayer_backend0.AddProjectResult, Error, _intlayer_backend0.ProjectCreationData, unknown>;
|
|
1204
|
+
declare const useUpdateProject: () => _tanstack_react_query0.UseMutationResult<_intlayer_backend0.UpdateProjectResult, Error, Partial<{
|
|
1205
1205
|
organizationId: string;
|
|
1206
1206
|
name: string;
|
|
1207
1207
|
membersIds: string[];
|
|
@@ -1233,51 +1233,51 @@ declare const useUpdateProject: () => _tanstack_react_query0.UseMutationResult<_
|
|
|
1233
1233
|
updatedAt: number;
|
|
1234
1234
|
}[];
|
|
1235
1235
|
}>, unknown>;
|
|
1236
|
-
declare const useUpdateProjectMembers: () => _tanstack_react_query0.UseMutationResult<
|
|
1237
|
-
membersIds:
|
|
1236
|
+
declare const useUpdateProjectMembers: () => _tanstack_react_query0.UseMutationResult<_intlayer_backend0.UpdateProjectMembersResult, Error, Partial<{
|
|
1237
|
+
membersIds: _intlayer_backend0.ProjectMemberByIdOption[];
|
|
1238
1238
|
}>, unknown>;
|
|
1239
|
-
declare const useDeleteProject: () => _tanstack_react_query0.UseMutationResult<
|
|
1240
|
-
declare const useSelectProject: () => _tanstack_react_query0.UseMutationResult<
|
|
1241
|
-
declare const useUnselectProject: () => _tanstack_react_query0.UseMutationResult<
|
|
1242
|
-
declare const useAddNewAccessKey: () => _tanstack_react_query0.UseMutationResult<
|
|
1243
|
-
declare const useDeleteAccessKey: () => _tanstack_react_query0.UseMutationResult<
|
|
1244
|
-
declare const useRefreshAccessKey: () => _tanstack_react_query0.UseMutationResult<
|
|
1239
|
+
declare const useDeleteProject: () => _tanstack_react_query0.UseMutationResult<_intlayer_backend0.DeleteProjectResult, Error, void, unknown>;
|
|
1240
|
+
declare const useSelectProject: () => _tanstack_react_query0.UseMutationResult<_intlayer_backend0.SelectProjectResult, Error, SelectProjectParam, unknown>;
|
|
1241
|
+
declare const useUnselectProject: () => _tanstack_react_query0.UseMutationResult<_intlayer_backend0.UnselectProjectResult, Error, void, unknown>;
|
|
1242
|
+
declare const useAddNewAccessKey: () => _tanstack_react_query0.UseMutationResult<_intlayer_backend0.AddNewAccessKeyResponse, Error, _intlayer_backend0.AccessKeyData, unknown>;
|
|
1243
|
+
declare const useDeleteAccessKey: () => _tanstack_react_query0.UseMutationResult<_intlayer_backend0.DeleteAccessKeyResponse, Error, DeleteAccessKeyBody, unknown>;
|
|
1244
|
+
declare const useRefreshAccessKey: () => _tanstack_react_query0.UseMutationResult<_intlayer_backend0.RefreshAccessKeyResponse, Error, RefreshAccessKeyBody, unknown>;
|
|
1245
1245
|
/**
|
|
1246
1246
|
* Dictionary
|
|
1247
1247
|
*/
|
|
1248
1248
|
declare const useGetDictionaries: (filters?: GetDictionariesParams, options?: Partial<UseQueryOptions>) => _tanstack_react_query0.UseQueryResult<unknown, Error>;
|
|
1249
1249
|
declare const useGetDictionariesKeys: (options?: Partial<UseQueryOptions>) => _tanstack_react_query0.UseQueryResult<unknown, Error>;
|
|
1250
1250
|
declare const useGetDictionary: (dictionaryKey: GetDictionaryParams["dictionaryKey"], version?: GetDictionaryQuery["version"], options?: Partial<UseQueryOptions>) => _tanstack_react_query0.UseQueryResult<unknown, Error>;
|
|
1251
|
-
declare const useAddDictionary: () => _tanstack_react_query0.UseMutationResult<
|
|
1252
|
-
declare const usePushDictionaries: () => _tanstack_react_query0.UseMutationResult<
|
|
1253
|
-
declare const useUpdateDictionary: () => _tanstack_react_query0.UseMutationResult<
|
|
1254
|
-
declare const useDeleteDictionary: () => _tanstack_react_query0.UseMutationResult<
|
|
1251
|
+
declare const useAddDictionary: () => _tanstack_react_query0.UseMutationResult<_intlayer_backend0.AddDictionaryResult, Error, AddDictionaryBody, unknown>;
|
|
1252
|
+
declare const usePushDictionaries: () => _tanstack_react_query0.UseMutationResult<_intlayer_backend0.PushDictionariesResult, Error, PushDictionariesBody, unknown>;
|
|
1253
|
+
declare const useUpdateDictionary: () => _tanstack_react_query0.UseMutationResult<_intlayer_backend0.UpdateDictionaryResult, Error, Partial<_intlayer_backend0.Dictionary>, unknown>;
|
|
1254
|
+
declare const useDeleteDictionary: () => _tanstack_react_query0.UseMutationResult<_intlayer_backend0.DeleteDictionaryResult, Error, DeleteDictionaryParam, unknown>;
|
|
1255
1255
|
/**
|
|
1256
1256
|
* Tag
|
|
1257
1257
|
*/
|
|
1258
1258
|
declare const useGetTags: (filters?: GetTagsParams, options?: Partial<UseQueryOptions>) => _tanstack_react_query0.UseQueryResult<unknown, Error>;
|
|
1259
|
-
declare const useAddTag: () => _tanstack_react_query0.UseMutationResult<
|
|
1260
|
-
declare const useUpdateTag: () => _tanstack_react_query0.UseMutationResult<
|
|
1259
|
+
declare const useAddTag: () => _tanstack_react_query0.UseMutationResult<_intlayer_backend0.AddTagResult, Error, _intlayer_backend0.TagCreationData, unknown>;
|
|
1260
|
+
declare const useUpdateTag: () => _tanstack_react_query0.UseMutationResult<_intlayer_backend0.UpdateTagResult, Error, {
|
|
1261
1261
|
tagId: string;
|
|
1262
1262
|
tag: any;
|
|
1263
1263
|
}, unknown>;
|
|
1264
|
-
declare const useDeleteTag: () => _tanstack_react_query0.UseMutationResult<
|
|
1264
|
+
declare const useDeleteTag: () => _tanstack_react_query0.UseMutationResult<_intlayer_backend0.DeleteTagResult, Error, DeleteTagParams, unknown>;
|
|
1265
1265
|
/**
|
|
1266
1266
|
* Stripe
|
|
1267
1267
|
*/
|
|
1268
1268
|
declare const useGetPricing: (body: GetPricingBody, options?: Partial<UseQueryOptions<GetPricingResult>>) => _tanstack_react_query0.UseQueryResult<GetPricingResult, Error>;
|
|
1269
1269
|
declare const useGetSubscription: (body: GetCheckoutSessionBody, options?: Partial<UseQueryOptions>) => _tanstack_react_query0.UseQueryResult<unknown, Error>;
|
|
1270
|
-
declare const useCancelSubscription: () => _tanstack_react_query0.UseMutationResult<
|
|
1270
|
+
declare const useCancelSubscription: () => _tanstack_react_query0.UseMutationResult<_intlayer_backend0.GetCheckoutSessionResult, Error, void, unknown>;
|
|
1271
1271
|
/**
|
|
1272
1272
|
* AI
|
|
1273
1273
|
*/
|
|
1274
|
-
declare const useTranslateJSONDeclaration: () => _tanstack_react_query0.UseMutationResult<
|
|
1275
|
-
declare const useAuditContentDeclaration: () => _tanstack_react_query0.UseMutationResult<
|
|
1276
|
-
declare const useAuditContentDeclarationMetadata: () => _tanstack_react_query0.UseMutationResult<
|
|
1277
|
-
declare const useAuditContentDeclarationField: () => _tanstack_react_query0.UseMutationResult<
|
|
1278
|
-
declare const useAuditTag: () => _tanstack_react_query0.UseMutationResult<
|
|
1274
|
+
declare const useTranslateJSONDeclaration: () => _tanstack_react_query0.UseMutationResult<_intlayer_backend0.TranslateJSONResult, Error, TranslateJSONBody, unknown>;
|
|
1275
|
+
declare const useAuditContentDeclaration: () => _tanstack_react_query0.UseMutationResult<_intlayer_backend0.AuditContentDeclarationResult, Error, AuditContentDeclarationBody, unknown>;
|
|
1276
|
+
declare const useAuditContentDeclarationMetadata: () => _tanstack_react_query0.UseMutationResult<_intlayer_backend0.AuditContentDeclarationMetadataResult, Error, AuditContentDeclarationMetadataBody, unknown>;
|
|
1277
|
+
declare const useAuditContentDeclarationField: () => _tanstack_react_query0.UseMutationResult<_intlayer_backend0.AuditContentDeclarationFieldResult, Error, AuditContentDeclarationFieldBody, unknown>;
|
|
1278
|
+
declare const useAuditTag: () => _tanstack_react_query0.UseMutationResult<_intlayer_backend0.AuditTagResult, Error, AuditTagBody, unknown>;
|
|
1279
1279
|
declare const useAskDocQuestion: () => _tanstack_react_query0.UseMutationResult<void, Error, AskDocQuestionBody, unknown>;
|
|
1280
|
-
declare const useAutocomplete: () => _tanstack_react_query0.UseMutationResult<
|
|
1280
|
+
declare const useAutocomplete: () => _tanstack_react_query0.UseMutationResult<_intlayer_backend0.AutocompleteResponse, Error, AutocompleteBody, unknown>;
|
|
1281
1281
|
/**
|
|
1282
1282
|
* Discussions
|
|
1283
1283
|
*/
|
|
@@ -1286,13 +1286,13 @@ declare const useGetDiscussionsData: (params?: Record<string, string | string[]
|
|
|
1286
1286
|
/**
|
|
1287
1287
|
* Search
|
|
1288
1288
|
*/
|
|
1289
|
-
declare const useSearchDoc: (params: SearchDocUtilParams) => _tanstack_react_query0.UseQueryResult<
|
|
1289
|
+
declare const useSearchDoc: (params: SearchDocUtilParams) => _tanstack_react_query0.UseQueryResult<_intlayer_backend0.SearchDocUtilResult, Error>;
|
|
1290
1290
|
/**
|
|
1291
1291
|
* Newsletter
|
|
1292
1292
|
*/
|
|
1293
|
-
declare const useSubscribeToNewsletter: () => _tanstack_react_query0.UseMutationResult<
|
|
1294
|
-
declare const useUnsubscribeFromNewsletter: () => _tanstack_react_query0.UseMutationResult<
|
|
1295
|
-
declare const useGetNewsletterStatus: () => _tanstack_react_query0.UseMutationResult<
|
|
1293
|
+
declare const useSubscribeToNewsletter: () => _tanstack_react_query0.UseMutationResult<_intlayer_backend0.NewsletterSubscriptionResult, Error, NewsletterSubscriptionBody, unknown>;
|
|
1294
|
+
declare const useUnsubscribeFromNewsletter: () => _tanstack_react_query0.UseMutationResult<_intlayer_backend0.NewsletterSubscriptionResult, Error, NewsletterUnsubscriptionBody, unknown>;
|
|
1295
|
+
declare const useGetNewsletterStatus: () => _tanstack_react_query0.UseMutationResult<_intlayer_backend0.NewsletterSubscriptionResult, Error, void, unknown>;
|
|
1296
1296
|
/**
|
|
1297
1297
|
* Editor
|
|
1298
1298
|
*/
|