faire-auth 1.0.2 → 1.0.4
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/adapters/drizzle-adapter/index.d.cts +1 -1
- package/dist/adapters/drizzle-adapter/index.d.mts +1 -1
- package/dist/adapters/index.d.cts +1 -1
- package/dist/adapters/index.d.mts +1 -1
- package/dist/adapters/kysely-adapter/index.d.cts +1 -1
- package/dist/adapters/kysely-adapter/index.d.mts +1 -1
- package/dist/adapters/memory-adapter/index.d.cts +3 -3
- package/dist/adapters/memory-adapter/index.d.mts +3 -3
- package/dist/adapters/mongodb-adapter/index.d.cts +1 -1
- package/dist/adapters/mongodb-adapter/index.d.mts +1 -1
- package/dist/adapters/prisma-adapter/index.d.cts +1 -1
- package/dist/adapters/prisma-adapter/index.d.mts +1 -1
- package/dist/adapters/test.d.cts +1 -1
- package/dist/adapters/test.d.mts +1 -1
- package/dist/api/index.d.cts +1 -1
- package/dist/api/index.d.mts +1 -1
- package/dist/api/middleware/index.d.cts +3 -3
- package/dist/api/middleware/index.d.mts +3 -3
- package/dist/client/index.d.cts +1 -1
- package/dist/client/index.d.mts +1 -1
- package/dist/client/lynx/index.d.cts +9 -9
- package/dist/client/lynx/index.d.mts +26 -26
- package/dist/client/plugins/index.d.cts +1 -1
- package/dist/client/plugins/index.d.mts +1 -1
- package/dist/client/react/index.d.cts +26 -26
- package/dist/client/react/index.d.mts +26 -26
- package/dist/client/solid/index.d.cts +6 -6
- package/dist/client/solid/index.d.mts +6 -6
- package/dist/client/svelte/index.d.cts +26 -26
- package/dist/client/svelte/index.d.mts +26 -26
- package/dist/client/vue/index.d.cts +24 -24
- package/dist/client/vue/index.d.mts +27 -27
- package/dist/crypto/index.d.cts +2 -2
- package/dist/db/index.d.cts +1 -1
- package/dist/db/index.d.mts +1 -1
- package/dist/{index-Dfgobqa-.d.mts → index--DLiUhEn.d.mts} +6 -6
- package/dist/{index-C0b8eC8h.d.mts → index-B4bqEDYG.d.mts} +15 -15
- package/dist/index-Boa0SV4h.d.cts +13350 -0
- package/dist/index-Bykgiq3o.d.cts +13350 -0
- package/dist/{index-Bw8dyZTc.d.cts → index-ClFGA8tb.d.mts} +2 -2
- package/dist/{index-4PEF72Mq.d.cts → index-ClOM0wFf.d.cts} +20 -20
- package/dist/{index-CrmLTEj8.d.mts → index-CsxNfGAV.d.mts} +624 -624
- package/dist/index-DKnO_Zfm.d.cts +992 -0
- package/dist/index-DRYO4mGd.d.cts +33 -0
- package/dist/index-Dsua4U8w.d.cts +33 -0
- package/dist/{index-BCzB3uDD.d.cts → index-DxXFCG2_.d.mts} +354 -354
- package/dist/index-gtCVvDvC.d.mts +992 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.mjs +1 -1
- package/dist/integrations/next-js.d.cts +3 -3
- package/dist/integrations/next-js.d.mts +1 -1
- package/dist/integrations/node.d.cts +1 -1
- package/dist/integrations/node.d.mts +1 -1
- package/dist/integrations/react-start.d.cts +5 -5
- package/dist/integrations/react-start.d.mts +1 -1
- package/dist/integrations/svelte-kit.d.cts +5 -5
- package/dist/integrations/svelte-kit.d.mts +5 -5
- package/dist/oauth2/index.d.cts +1 -1
- package/dist/oauth2/index.d.mts +1 -1
- package/dist/plugins/bearer/index.d.cts +2 -2
- package/dist/plugins/bearer/index.d.mts +2 -2
- package/dist/plugins/index.d.cts +267 -267
- package/dist/plugins/index.d.mts +267 -267
- package/dist/plugins/passkey/index.d.cts +2 -2
- package/dist/plugins/passkey/index.d.mts +2 -2
- package/dist/test-utils/index.cjs +1 -1
- package/dist/test-utils/index.d.cts +993 -993
- package/dist/test-utils/index.d.mts +997 -997
- package/dist/test-utils/index.mjs +1 -1
- package/dist/types/index.d.cts +1 -1
- package/dist/types/index.d.mts +1 -1
- package/dist/utils/cookies.d.cts +1 -1
- package/dist/utils/cookies.d.mts +1 -1
- package/package.json +2 -2
|
@@ -5,12 +5,12 @@ import { APIError as APIError$1, BASE_ERROR_CODES, FaireAuthError as FaireAuthEr
|
|
|
5
5
|
import * as _faire_auth_core_factory0 from "@faire-auth/core/factory";
|
|
6
6
|
import { OpenAPIHono, OpenAPIHono as OpenAPIHono$1 } from "@faire-auth/core/factory";
|
|
7
7
|
import { Definitions, Routes, SCHEMAS } from "@faire-auth/core/static";
|
|
8
|
-
import * as
|
|
8
|
+
import * as hono131 from "hono";
|
|
9
9
|
import { Context, Env, ExecutionContext, Hono, HonoRequest, MiddlewareHandler, Schema, TypedResponse } from "hono";
|
|
10
10
|
import { generateId, generateRandomString } from "@faire-auth/core/crypto";
|
|
11
11
|
import * as zod675 from "zod";
|
|
12
12
|
import { z } from "zod";
|
|
13
|
-
import * as
|
|
13
|
+
import * as _faire_auth_core_db14 from "@faire-auth/core/db";
|
|
14
14
|
import { Account, AccountInput, DBFieldAttribute, DBFieldAttributeConfig, DBFieldType, FaireAuthDBSchema, FaireAuthPluginDBSchema, Session, SessionInput, StrictSession, StrictUser, User, UserInput, VerificationInput } from "@faire-auth/core/db";
|
|
15
15
|
import * as _faire_auth_core_social_providers25 from "@faire-auth/core/social-providers";
|
|
16
16
|
import * as _better_fetch_fetch49 from "@better-fetch/fetch";
|
|
@@ -18,7 +18,7 @@ import { BetterFetch, BetterFetchError, BetterFetchOption, BetterFetchPlugin, Cr
|
|
|
18
18
|
import { DBAdapter, DBAdapter as DBAdapter$1, DBAdapterInstance, DBAdapterInstance as DBAdapterInstance$1, DBAdapterSchemaCreation, DBAdapterSchemaCreation as DBAdapterSchemaCreation$1, DBTransactionAdapter, DBTransactionAdapter as DBTransactionAdapter$1, Where, Where as Where$1 } from "@faire-auth/core/db/adapter";
|
|
19
19
|
import * as nanostores11 from "nanostores";
|
|
20
20
|
import { Atom, WritableAtom } from "nanostores";
|
|
21
|
-
import * as
|
|
21
|
+
import * as _faire_auth_core_types81 from "@faire-auth/core/types";
|
|
22
22
|
import { AnyHono, AuthContext, AuthRouteConfig, BasePath, BuildSchema, ConvertPathType, CustomIO, DTOTransformer, DefaultHook, DocPathFromOptions, ExK, Expand, FaireAuthOptions, FaireAuthPlugin, FaireAuthRateLimitOptions, FieldAttribute, FromFn, InferFieldsFromOptions, InferFieldsFromPlugins, InferFieldsInputClient, InferFieldsOutput, InferInput, InternalAdapter, LiteralString, LiteralStringUnion, MinRouteConfig, OmitId, Prettify, ProcessRouteConfig, RouteConfigToEnv, RouteConfigToMiddleware, RouteConfigToRequest, RouteHandler, RouteHook, StripEmptyObjects, UnionToIntersection, execHelper } from "@faire-auth/core/types";
|
|
23
23
|
import * as hono_utils_types0 from "hono/utils/types";
|
|
24
24
|
import { HasRequiredKeys } from "hono/utils/types";
|
|
@@ -26,7 +26,7 @@ import { ExtractSchema } from "hono/types";
|
|
|
26
26
|
import { ClientRequest, ClientResponse } from "hono/client";
|
|
27
27
|
import { ClientErrorStatusCode, ServerErrorStatusCode, SuccessStatusCode } from "hono/utils/http-status";
|
|
28
28
|
import { HonoRequest as HonoRequest$1 } from "hono/request";
|
|
29
|
-
import * as
|
|
29
|
+
import * as zod_v4_core167 from "zod/v4/core";
|
|
30
30
|
|
|
31
31
|
//#region src/types/adapter.d.ts
|
|
32
32
|
/**
|
|
@@ -96,11 +96,11 @@ declare const createFieldAttribute: <T$1 extends DBFieldType, C$1 extends DBFiel
|
|
|
96
96
|
required?: boolean;
|
|
97
97
|
returned?: boolean;
|
|
98
98
|
input?: boolean;
|
|
99
|
-
defaultValue?:
|
|
100
|
-
onUpdate?: () =>
|
|
99
|
+
defaultValue?: _faire_auth_core_db14.DBPrimitive | (() => _faire_auth_core_db14.DBPrimitive);
|
|
100
|
+
onUpdate?: () => _faire_auth_core_db14.DBPrimitive;
|
|
101
101
|
transform?: {
|
|
102
|
-
input?: (value:
|
|
103
|
-
output?: (value:
|
|
102
|
+
input?: (value: _faire_auth_core_db14.DBPrimitive) => _faire_auth_core_db14.DBPrimitive | Promise<_faire_auth_core_db14.DBPrimitive>;
|
|
103
|
+
output?: (value: _faire_auth_core_db14.DBPrimitive) => _faire_auth_core_db14.DBPrimitive | Promise<_faire_auth_core_db14.DBPrimitive>;
|
|
104
104
|
};
|
|
105
105
|
references?: {
|
|
106
106
|
model: string;
|
|
@@ -595,9 +595,9 @@ type Client<S$2, BasePath$1 extends string, COpts extends ClientOptions> = Union
|
|
|
595
595
|
//#endregion
|
|
596
596
|
//#region src/client/vanilla.d.ts
|
|
597
597
|
type InferResolvedHooks<O extends ClientOptions> = O["plugins"] extends (infer Plugin)[] ? Plugin extends FaireAuthClientPlugin ? Plugin["getAtoms"] extends ((fetch: any) => infer Atoms) ? Atoms extends Record<string, any> ? { [key in keyof Atoms as IsSignal<key> extends true ? never : key extends string ? `use${Capitalize<key>}` : never]: Atoms[key] } : {} : {} : {} : {};
|
|
598
|
-
declare const createAuthClient: <App extends AnyHono = DefaultApp>() => <Option extends ClientOptions>(options: Option) => UnionToIntersection<InferResolvedHooks<Option>> & (App extends Hono<any, infer S extends
|
|
598
|
+
declare const createAuthClient: <App extends AnyHono = DefaultApp>() => <Option extends ClientOptions>(options: Option) => UnionToIntersection<InferResolvedHooks<Option>> & (App extends Hono<any, infer S extends hono131.Schema, infer P extends string> ? Client<S, P, Option> : never) & InferActions<Option> & {
|
|
599
599
|
useSession: Atom<{
|
|
600
|
-
data: (App extends Hono<any, infer S_1 extends
|
|
600
|
+
data: (App extends Hono<any, infer S_1 extends hono131.Schema, infer P_1 extends string> ? (S_1[`${P_1}/get-session`]["$get"]["output"] & {
|
|
601
601
|
success: true;
|
|
602
602
|
})["data"] : never) | null;
|
|
603
603
|
error: BetterFetchError | null;
|
|
@@ -610,18 +610,17 @@ declare const createAuthClient: <App extends AnyHono = DefaultApp>() => <Option
|
|
|
610
610
|
hooks: {};
|
|
611
611
|
})[];
|
|
612
612
|
method: string;
|
|
613
|
-
output?: _better_fetch_fetch49.StandardSchemaV1 | typeof Blob | typeof File;
|
|
614
|
-
query?: any;
|
|
615
|
-
baseURL: string;
|
|
616
613
|
headers?: HeadersInit & (HeadersInit | {
|
|
617
614
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
618
615
|
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
619
616
|
authorization: "Bearer" | "Basic";
|
|
620
617
|
});
|
|
621
|
-
redirect?: RequestRedirect;
|
|
622
618
|
params?: any;
|
|
619
|
+
query?: any;
|
|
623
620
|
body?: any;
|
|
624
|
-
|
|
621
|
+
output?: _better_fetch_fetch49.StandardSchemaV1 | typeof Blob | typeof File;
|
|
622
|
+
redirect?: RequestRedirect;
|
|
623
|
+
baseURL: string;
|
|
625
624
|
auth?: {
|
|
626
625
|
type: "Bearer";
|
|
627
626
|
token: string | Promise<string | undefined> | (() => string | Promise<string | undefined> | undefined) | undefined;
|
|
@@ -634,6 +633,7 @@ declare const createAuthClient: <App extends AnyHono = DefaultApp>() => <Option
|
|
|
634
633
|
prefix: string | (() => string | undefined) | undefined;
|
|
635
634
|
value: string | (() => string | undefined) | undefined;
|
|
636
635
|
};
|
|
636
|
+
throw?: boolean;
|
|
637
637
|
window?: null;
|
|
638
638
|
cache?: RequestCache;
|
|
639
639
|
credentials?: RequestCredentials;
|
|
@@ -655,20 +655,20 @@ declare const createAuthClient: <App extends AnyHono = DefaultApp>() => <Option
|
|
|
655
655
|
retryAttempt?: number;
|
|
656
656
|
errorSchema?: _better_fetch_fetch49.StandardSchemaV1;
|
|
657
657
|
disableValidation?: boolean;
|
|
658
|
-
catchAllError?: boolean;
|
|
659
658
|
defaultOutput?: _better_fetch_fetch49.StandardSchemaV1;
|
|
660
659
|
defaultError?: _better_fetch_fetch49.StandardSchemaV1;
|
|
660
|
+
catchAllError?: boolean;
|
|
661
661
|
schema?: _better_fetch_fetch49.Schema;
|
|
662
662
|
customFetchImpl: any;
|
|
663
663
|
}, unknown, unknown, _better_fetch_fetch49.Schema>;
|
|
664
664
|
$store: {
|
|
665
|
-
notify: (signal?:
|
|
666
|
-
listen: (signal:
|
|
665
|
+
notify: (signal?: _faire_auth_core_types81.LiteralStringUnion<"$sessionSignal">) => void;
|
|
666
|
+
listen: (signal: _faire_auth_core_types81.LiteralStringUnion<"$sessionSignal">, listener: (value: boolean, oldValue?: boolean | undefined) => void) => void;
|
|
667
667
|
atoms: {
|
|
668
668
|
session: nanostores11.PreinitializedWritableAtom<{
|
|
669
669
|
data: {
|
|
670
|
-
user:
|
|
671
|
-
session:
|
|
670
|
+
user: _faire_auth_core_db14.User;
|
|
671
|
+
session: _faire_auth_core_db14.Session;
|
|
672
672
|
} | null;
|
|
673
673
|
error: BetterFetchError | null;
|
|
674
674
|
isPending: boolean;
|
|
@@ -679,7 +679,7 @@ declare const createAuthClient: <App extends AnyHono = DefaultApp>() => <Option
|
|
|
679
679
|
} & Record<string, nanostores11.WritableAtom<any>>;
|
|
680
680
|
};
|
|
681
681
|
$Infer: {
|
|
682
|
-
Session: NonNullable<App extends Hono<any, infer S_1 extends
|
|
682
|
+
Session: NonNullable<App extends Hono<any, infer S_1 extends hono131.Schema, infer P_1 extends string> ? (S_1[`${P_1}/get-session`]["$get"]["output"] & {
|
|
683
683
|
success: true;
|
|
684
684
|
})["data"] : never>;
|
|
685
685
|
};
|
|
@@ -693,10 +693,10 @@ declare const signInSocialRoute: {
|
|
|
693
693
|
description: string;
|
|
694
694
|
content: {
|
|
695
695
|
"application/json": {
|
|
696
|
-
schema:
|
|
696
|
+
schema: zod_v4_core167.$ZodBranded<zod675.ZodPipe<zod675.ZodIntersection<zod675.ZodDiscriminatedUnion<[zod675.ZodObject<{
|
|
697
697
|
success: zod675.ZodLiteral<true>;
|
|
698
698
|
token: zod675.ZodDefault<zod675.ZodNullable<zod675.ZodString>>;
|
|
699
|
-
user:
|
|
699
|
+
user: zod_v4_core167.$ZodBranded<zod675.ZodObject<{
|
|
700
700
|
id: zod675.ZodString;
|
|
701
701
|
createdAt: zod675.ZodDefault<zod675.ZodPipe<zod675.ZodUnion<[zod675.ZodDate, zod675.ZodISODateTime]>, zod675.ZodTransform<Date, string | Date>>>;
|
|
702
702
|
updatedAt: zod675.ZodDefault<zod675.ZodPipe<zod675.ZodUnion<[zod675.ZodDate, zod675.ZodISODateTime]>, zod675.ZodTransform<Date, string | Date>>>;
|
|
@@ -704,18 +704,18 @@ declare const signInSocialRoute: {
|
|
|
704
704
|
emailVerified: zod675.ZodDefault<zod675.ZodCoercedBoolean<unknown>>;
|
|
705
705
|
name: zod675.ZodOptional<zod675.ZodString>;
|
|
706
706
|
image: zod675.ZodNullable<zod675.ZodOptional<zod675.ZodPipe<zod675.ZodPipe<zod675.ZodTransform<string | undefined, string | undefined>, zod675.ZodOptional<zod675.ZodURL>>, zod675.ZodTransform<string | undefined, string | undefined>>>>;
|
|
707
|
-
},
|
|
708
|
-
},
|
|
707
|
+
}, zod_v4_core167.$loose>, "user">;
|
|
708
|
+
}, zod_v4_core167.$strip>, zod675.ZodObject<{
|
|
709
709
|
success: zod675.ZodLiteral<false>;
|
|
710
710
|
token: zod675.ZodDefault<zod675.ZodNull>;
|
|
711
711
|
user: zod675.ZodDefault<zod675.ZodNull>;
|
|
712
|
-
},
|
|
712
|
+
}, zod_v4_core167.$strip>], "success">, zod675.ZodDiscriminatedUnion<[zod675.ZodObject<{
|
|
713
713
|
redirect: zod675.ZodLiteral<false>;
|
|
714
714
|
url: zod675.ZodDefault<zod675.ZodNull>;
|
|
715
|
-
},
|
|
715
|
+
}, zod_v4_core167.$strip>, zod675.ZodObject<{
|
|
716
716
|
redirect: zod675.ZodLiteral<true>;
|
|
717
717
|
url: zod675.ZodURL;
|
|
718
|
-
},
|
|
718
|
+
}, zod_v4_core167.$strip>], "redirect">>, zod675.ZodTransform<{
|
|
719
719
|
success: true;
|
|
720
720
|
data: ({
|
|
721
721
|
success: true;
|
|
@@ -777,11 +777,11 @@ declare const signInSocialRoute: {
|
|
|
777
777
|
description: string;
|
|
778
778
|
content: {
|
|
779
779
|
"application/json": {
|
|
780
|
-
schema:
|
|
780
|
+
schema: zod_v4_core167.$ZodBranded<zod675.ZodObject<{
|
|
781
781
|
success: zod675.ZodLiteral<false>;
|
|
782
782
|
code: zod675.ZodOptional<zod675.ZodString>;
|
|
783
783
|
message: zod675.ZodOptional<zod675.ZodString>;
|
|
784
|
-
},
|
|
784
|
+
}, zod_v4_core167.$strip>, "error">;
|
|
785
785
|
};
|
|
786
786
|
};
|
|
787
787
|
};
|
|
@@ -790,11 +790,11 @@ declare const signInSocialRoute: {
|
|
|
790
790
|
description: string;
|
|
791
791
|
content: {
|
|
792
792
|
"application/json": {
|
|
793
|
-
schema:
|
|
793
|
+
schema: zod_v4_core167.$ZodBranded<zod675.ZodObject<{
|
|
794
794
|
success: zod675.ZodLiteral<false>;
|
|
795
795
|
code: zod675.ZodOptional<zod675.ZodString>;
|
|
796
796
|
message: zod675.ZodOptional<zod675.ZodString>;
|
|
797
|
-
},
|
|
797
|
+
}, zod_v4_core167.$strip>, "error">;
|
|
798
798
|
};
|
|
799
799
|
};
|
|
800
800
|
};
|
|
@@ -860,7 +860,7 @@ declare const signInSocialRoute: {
|
|
|
860
860
|
errors: string[];
|
|
861
861
|
};
|
|
862
862
|
};
|
|
863
|
-
}, unknown,
|
|
863
|
+
}, unknown, zod_v4_core167.$ZodTypeInternals<{
|
|
864
864
|
success: false;
|
|
865
865
|
} & {
|
|
866
866
|
errors: string[];
|
|
@@ -934,7 +934,7 @@ declare const signInSocialRoute: {
|
|
|
934
934
|
callbackURL: zod675.ZodOptional<zod675.ZodPipe<zod675.ZodPipe<zod675.ZodTransform<string | undefined, string | undefined>, zod675.ZodOptional<zod675.ZodURL>>, zod675.ZodTransform<string | undefined, string | undefined>>>;
|
|
935
935
|
newUserCallbackURL: zod675.ZodOptional<zod675.ZodPipe<zod675.ZodPipe<zod675.ZodTransform<string | undefined, string | undefined>, zod675.ZodOptional<zod675.ZodURL>>, zod675.ZodTransform<string | undefined, string | undefined>>>;
|
|
936
936
|
errorCallbackURL: zod675.ZodOptional<zod675.ZodPipe<zod675.ZodPipe<zod675.ZodTransform<string | undefined, string | undefined>, zod675.ZodOptional<zod675.ZodURL>>, zod675.ZodTransform<string | undefined, string | undefined>>>;
|
|
937
|
-
provider: zod675.ZodType<_faire_auth_core_social_providers25.SocialProvider, _faire_auth_core_social_providers25.SocialProvider,
|
|
937
|
+
provider: zod675.ZodType<_faire_auth_core_social_providers25.SocialProvider, _faire_auth_core_social_providers25.SocialProvider, zod_v4_core167.$ZodTypeInternals<_faire_auth_core_social_providers25.SocialProvider, _faire_auth_core_social_providers25.SocialProvider>>;
|
|
938
938
|
disableRedirect: zod675.ZodOptional<zod675.ZodBoolean>;
|
|
939
939
|
idToken: zod675.ZodOptional<zod675.ZodObject<{
|
|
940
940
|
token: zod675.ZodString;
|
|
@@ -942,11 +942,11 @@ declare const signInSocialRoute: {
|
|
|
942
942
|
accessToken: zod675.ZodOptional<zod675.ZodString>;
|
|
943
943
|
refreshToken: zod675.ZodOptional<zod675.ZodString>;
|
|
944
944
|
expiresAt: zod675.ZodOptional<zod675.ZodNumber>;
|
|
945
|
-
},
|
|
945
|
+
}, zod_v4_core167.$strip>>;
|
|
946
946
|
scopes: zod675.ZodOptional<zod675.ZodArray<zod675.ZodString>>;
|
|
947
947
|
requestSignUp: zod675.ZodOptional<zod675.ZodBoolean>;
|
|
948
948
|
loginHint: zod675.ZodOptional<zod675.ZodString>;
|
|
949
|
-
},
|
|
949
|
+
}, zod_v4_core167.$strip>;
|
|
950
950
|
};
|
|
951
951
|
};
|
|
952
952
|
required: true;
|
|
@@ -960,10 +960,10 @@ declare const signInEmailRoute: {
|
|
|
960
960
|
description: string;
|
|
961
961
|
content: {
|
|
962
962
|
"application/json": {
|
|
963
|
-
schema:
|
|
963
|
+
schema: zod_v4_core167.$ZodBranded<zod675.ZodPipe<zod675.ZodIntersection<zod675.ZodDiscriminatedUnion<[zod675.ZodObject<{
|
|
964
964
|
success: zod675.ZodLiteral<true>;
|
|
965
965
|
token: zod675.ZodDefault<zod675.ZodNullable<zod675.ZodString>>;
|
|
966
|
-
user:
|
|
966
|
+
user: zod_v4_core167.$ZodBranded<zod675.ZodObject<{
|
|
967
967
|
id: zod675.ZodString;
|
|
968
968
|
createdAt: zod675.ZodDefault<zod675.ZodPipe<zod675.ZodUnion<[zod675.ZodDate, zod675.ZodISODateTime]>, zod675.ZodTransform<Date, string | Date>>>;
|
|
969
969
|
updatedAt: zod675.ZodDefault<zod675.ZodPipe<zod675.ZodUnion<[zod675.ZodDate, zod675.ZodISODateTime]>, zod675.ZodTransform<Date, string | Date>>>;
|
|
@@ -971,18 +971,18 @@ declare const signInEmailRoute: {
|
|
|
971
971
|
emailVerified: zod675.ZodDefault<zod675.ZodCoercedBoolean<unknown>>;
|
|
972
972
|
name: zod675.ZodOptional<zod675.ZodString>;
|
|
973
973
|
image: zod675.ZodNullable<zod675.ZodOptional<zod675.ZodPipe<zod675.ZodPipe<zod675.ZodTransform<string | undefined, string | undefined>, zod675.ZodOptional<zod675.ZodURL>>, zod675.ZodTransform<string | undefined, string | undefined>>>>;
|
|
974
|
-
},
|
|
975
|
-
},
|
|
974
|
+
}, zod_v4_core167.$loose>, "user">;
|
|
975
|
+
}, zod_v4_core167.$strip>, zod675.ZodObject<{
|
|
976
976
|
success: zod675.ZodLiteral<false>;
|
|
977
977
|
token: zod675.ZodDefault<zod675.ZodNull>;
|
|
978
978
|
user: zod675.ZodDefault<zod675.ZodNull>;
|
|
979
|
-
},
|
|
979
|
+
}, zod_v4_core167.$strip>], "success">, zod675.ZodDiscriminatedUnion<[zod675.ZodObject<{
|
|
980
980
|
redirect: zod675.ZodLiteral<false>;
|
|
981
981
|
url: zod675.ZodDefault<zod675.ZodNull>;
|
|
982
|
-
},
|
|
982
|
+
}, zod_v4_core167.$strip>, zod675.ZodObject<{
|
|
983
983
|
redirect: zod675.ZodLiteral<true>;
|
|
984
984
|
url: zod675.ZodURL;
|
|
985
|
-
},
|
|
985
|
+
}, zod_v4_core167.$strip>], "redirect">>, zod675.ZodTransform<{
|
|
986
986
|
success: true;
|
|
987
987
|
data: ({
|
|
988
988
|
success: true;
|
|
@@ -1040,11 +1040,11 @@ declare const signInEmailRoute: {
|
|
|
1040
1040
|
description: string;
|
|
1041
1041
|
content: {
|
|
1042
1042
|
"application/json": {
|
|
1043
|
-
schema:
|
|
1043
|
+
schema: zod_v4_core167.$ZodBranded<zod675.ZodObject<{
|
|
1044
1044
|
success: zod675.ZodLiteral<false>;
|
|
1045
1045
|
code: zod675.ZodOptional<zod675.ZodString>;
|
|
1046
1046
|
message: zod675.ZodOptional<zod675.ZodString>;
|
|
1047
|
-
},
|
|
1047
|
+
}, zod_v4_core167.$strip>, "error">;
|
|
1048
1048
|
};
|
|
1049
1049
|
};
|
|
1050
1050
|
};
|
|
@@ -1053,11 +1053,11 @@ declare const signInEmailRoute: {
|
|
|
1053
1053
|
description: string;
|
|
1054
1054
|
content: {
|
|
1055
1055
|
"application/json": {
|
|
1056
|
-
schema:
|
|
1056
|
+
schema: zod_v4_core167.$ZodBranded<zod675.ZodObject<{
|
|
1057
1057
|
success: zod675.ZodLiteral<false>;
|
|
1058
1058
|
code: zod675.ZodOptional<zod675.ZodString>;
|
|
1059
1059
|
message: zod675.ZodOptional<zod675.ZodString>;
|
|
1060
|
-
},
|
|
1060
|
+
}, zod_v4_core167.$strip>, "error">;
|
|
1061
1061
|
};
|
|
1062
1062
|
};
|
|
1063
1063
|
};
|
|
@@ -1066,11 +1066,11 @@ declare const signInEmailRoute: {
|
|
|
1066
1066
|
description: string;
|
|
1067
1067
|
content: {
|
|
1068
1068
|
"application/json": {
|
|
1069
|
-
schema:
|
|
1069
|
+
schema: zod_v4_core167.$ZodBranded<zod675.ZodObject<{
|
|
1070
1070
|
success: zod675.ZodLiteral<false>;
|
|
1071
1071
|
code: zod675.ZodOptional<zod675.ZodString>;
|
|
1072
1072
|
message: zod675.ZodOptional<zod675.ZodString>;
|
|
1073
|
-
},
|
|
1073
|
+
}, zod_v4_core167.$strip>, "error">;
|
|
1074
1074
|
};
|
|
1075
1075
|
};
|
|
1076
1076
|
};
|
|
@@ -1097,7 +1097,7 @@ declare const signInEmailRoute: {
|
|
|
1097
1097
|
errors: string[];
|
|
1098
1098
|
};
|
|
1099
1099
|
};
|
|
1100
|
-
}, unknown,
|
|
1100
|
+
}, unknown, zod_v4_core167.$ZodTypeInternals<{
|
|
1101
1101
|
success: false;
|
|
1102
1102
|
} & {
|
|
1103
1103
|
errors: string[];
|
|
@@ -1124,11 +1124,11 @@ declare const signInEmailRoute: {
|
|
|
1124
1124
|
description: string;
|
|
1125
1125
|
content: {
|
|
1126
1126
|
"application/json": {
|
|
1127
|
-
schema:
|
|
1127
|
+
schema: zod_v4_core167.$ZodBranded<zod675.ZodObject<{
|
|
1128
1128
|
success: zod675.ZodLiteral<false>;
|
|
1129
1129
|
code: zod675.ZodOptional<zod675.ZodString>;
|
|
1130
1130
|
message: zod675.ZodOptional<zod675.ZodString>;
|
|
1131
|
-
},
|
|
1131
|
+
}, zod_v4_core167.$strip>, "error">;
|
|
1132
1132
|
};
|
|
1133
1133
|
};
|
|
1134
1134
|
};
|
|
@@ -1146,7 +1146,7 @@ declare const signInEmailRoute: {
|
|
|
1146
1146
|
password: zod675.ZodString;
|
|
1147
1147
|
callbackURL: zod675.ZodOptional<zod675.ZodPipe<zod675.ZodPipe<zod675.ZodTransform<string | undefined, string | undefined>, zod675.ZodOptional<zod675.ZodURL>>, zod675.ZodTransform<string | undefined, string | undefined>>>;
|
|
1148
1148
|
rememberMe: zod675.ZodDefault<zod675.ZodBoolean>;
|
|
1149
|
-
},
|
|
1149
|
+
}, zod_v4_core167.$strip>;
|
|
1150
1150
|
};
|
|
1151
1151
|
};
|
|
1152
1152
|
required: true;
|
|
@@ -1162,7 +1162,7 @@ declare const getOAuthCallbackRoute: {
|
|
|
1162
1162
|
description: string;
|
|
1163
1163
|
content: {
|
|
1164
1164
|
"application/json": {
|
|
1165
|
-
schema: zod675.ZodType<unknown, unknown,
|
|
1165
|
+
schema: zod675.ZodType<unknown, unknown, zod_v4_core167.$ZodTypeInternals<unknown, unknown>>;
|
|
1166
1166
|
};
|
|
1167
1167
|
};
|
|
1168
1168
|
};
|
|
@@ -1175,11 +1175,11 @@ declare const getOAuthCallbackRoute: {
|
|
|
1175
1175
|
description: string;
|
|
1176
1176
|
content: {
|
|
1177
1177
|
"application/json": {
|
|
1178
|
-
schema:
|
|
1178
|
+
schema: zod_v4_core167.$ZodBranded<zod675.ZodObject<{
|
|
1179
1179
|
success: zod675.ZodLiteral<false>;
|
|
1180
1180
|
code: zod675.ZodOptional<zod675.ZodString>;
|
|
1181
1181
|
message: zod675.ZodOptional<zod675.ZodString>;
|
|
1182
|
-
},
|
|
1182
|
+
}, zod_v4_core167.$strip>, "error">;
|
|
1183
1183
|
};
|
|
1184
1184
|
};
|
|
1185
1185
|
};
|
|
@@ -1191,7 +1191,7 @@ declare const getOAuthCallbackRoute: {
|
|
|
1191
1191
|
request: {
|
|
1192
1192
|
params: zod675.ZodObject<{
|
|
1193
1193
|
id: zod675.ZodString;
|
|
1194
|
-
},
|
|
1194
|
+
}, zod_v4_core167.$strip>;
|
|
1195
1195
|
} & {
|
|
1196
1196
|
query: zod675.ZodObject<{
|
|
1197
1197
|
code: zod675.ZodOptional<zod675.ZodString>;
|
|
@@ -1200,7 +1200,7 @@ declare const getOAuthCallbackRoute: {
|
|
|
1200
1200
|
error_description: zod675.ZodOptional<zod675.ZodString>;
|
|
1201
1201
|
state: zod675.ZodOptional<zod675.ZodString>;
|
|
1202
1202
|
user: zod675.ZodOptional<zod675.ZodString>;
|
|
1203
|
-
},
|
|
1203
|
+
}, zod_v4_core167.$strip>;
|
|
1204
1204
|
};
|
|
1205
1205
|
getRoutingPath: () => "/callback/:id";
|
|
1206
1206
|
};
|
|
@@ -1210,7 +1210,7 @@ declare const postOAuthCallbackRoute: {
|
|
|
1210
1210
|
description: string;
|
|
1211
1211
|
content: {
|
|
1212
1212
|
"application/json": {
|
|
1213
|
-
schema: zod675.ZodType<unknown, unknown,
|
|
1213
|
+
schema: zod675.ZodType<unknown, unknown, zod_v4_core167.$ZodTypeInternals<unknown, unknown>>;
|
|
1214
1214
|
};
|
|
1215
1215
|
};
|
|
1216
1216
|
};
|
|
@@ -1223,11 +1223,11 @@ declare const postOAuthCallbackRoute: {
|
|
|
1223
1223
|
description: string;
|
|
1224
1224
|
content: {
|
|
1225
1225
|
"application/json": {
|
|
1226
|
-
schema:
|
|
1226
|
+
schema: zod_v4_core167.$ZodBranded<zod675.ZodObject<{
|
|
1227
1227
|
success: zod675.ZodLiteral<false>;
|
|
1228
1228
|
code: zod675.ZodOptional<zod675.ZodString>;
|
|
1229
1229
|
message: zod675.ZodOptional<zod675.ZodString>;
|
|
1230
|
-
},
|
|
1230
|
+
}, zod_v4_core167.$strip>, "error">;
|
|
1231
1231
|
};
|
|
1232
1232
|
};
|
|
1233
1233
|
};
|
|
@@ -1260,7 +1260,7 @@ declare const postOAuthCallbackRoute: {
|
|
|
1260
1260
|
errors: string[];
|
|
1261
1261
|
};
|
|
1262
1262
|
};
|
|
1263
|
-
}, unknown,
|
|
1263
|
+
}, unknown, zod_v4_core167.$ZodTypeInternals<{
|
|
1264
1264
|
success: false;
|
|
1265
1265
|
} & {
|
|
1266
1266
|
errors: string[];
|
|
@@ -1305,7 +1305,7 @@ declare const postOAuthCallbackRoute: {
|
|
|
1305
1305
|
error_description: zod675.ZodOptional<zod675.ZodString>;
|
|
1306
1306
|
state: zod675.ZodOptional<zod675.ZodString>;
|
|
1307
1307
|
user: zod675.ZodOptional<zod675.ZodString>;
|
|
1308
|
-
},
|
|
1308
|
+
}, zod_v4_core167.$strip>>;
|
|
1309
1309
|
};
|
|
1310
1310
|
};
|
|
1311
1311
|
required: true;
|
|
@@ -1313,7 +1313,7 @@ declare const postOAuthCallbackRoute: {
|
|
|
1313
1313
|
} & {
|
|
1314
1314
|
params: zod675.ZodObject<{
|
|
1315
1315
|
id: zod675.ZodString;
|
|
1316
|
-
},
|
|
1316
|
+
}, zod_v4_core167.$strip>;
|
|
1317
1317
|
};
|
|
1318
1318
|
getRoutingPath: () => "/callback/:id";
|
|
1319
1319
|
};
|
|
@@ -1325,8 +1325,8 @@ declare const getSessionRoute: {
|
|
|
1325
1325
|
description: string;
|
|
1326
1326
|
content: {
|
|
1327
1327
|
"application/json": {
|
|
1328
|
-
schema:
|
|
1329
|
-
session:
|
|
1328
|
+
schema: zod_v4_core167.$ZodBranded<zod675.ZodPipe<zod675.ZodObject<{
|
|
1329
|
+
session: zod_v4_core167.$ZodBranded<zod675.ZodObject<{
|
|
1330
1330
|
createdAt: zod675.ZodDefault<zod675.ZodPipe<zod675.ZodUnion<[zod675.ZodDate, zod675.ZodISODateTime]>, zod675.ZodTransform<Date, string | Date>>>;
|
|
1331
1331
|
updatedAt: zod675.ZodDefault<zod675.ZodPipe<zod675.ZodUnion<[zod675.ZodDate, zod675.ZodISODateTime]>, zod675.ZodTransform<Date, string | Date>>>;
|
|
1332
1332
|
id: zod675.ZodOptional<zod675.ZodString>;
|
|
@@ -1335,8 +1335,8 @@ declare const getSessionRoute: {
|
|
|
1335
1335
|
token: zod675.ZodString;
|
|
1336
1336
|
ipAddress: zod675.ZodOptional<zod675.ZodNullable<zod675.ZodString>>;
|
|
1337
1337
|
userAgent: zod675.ZodOptional<zod675.ZodNullable<zod675.ZodString>>;
|
|
1338
|
-
},
|
|
1339
|
-
user:
|
|
1338
|
+
}, zod_v4_core167.$loose>, "session">;
|
|
1339
|
+
user: zod_v4_core167.$ZodBranded<zod675.ZodObject<{
|
|
1340
1340
|
id: zod675.ZodString;
|
|
1341
1341
|
createdAt: zod675.ZodDefault<zod675.ZodPipe<zod675.ZodUnion<[zod675.ZodDate, zod675.ZodISODateTime]>, zod675.ZodTransform<Date, string | Date>>>;
|
|
1342
1342
|
updatedAt: zod675.ZodDefault<zod675.ZodPipe<zod675.ZodUnion<[zod675.ZodDate, zod675.ZodISODateTime]>, zod675.ZodTransform<Date, string | Date>>>;
|
|
@@ -1344,8 +1344,8 @@ declare const getSessionRoute: {
|
|
|
1344
1344
|
emailVerified: zod675.ZodDefault<zod675.ZodCoercedBoolean<unknown>>;
|
|
1345
1345
|
name: zod675.ZodOptional<zod675.ZodString>;
|
|
1346
1346
|
image: zod675.ZodNullable<zod675.ZodOptional<zod675.ZodPipe<zod675.ZodPipe<zod675.ZodTransform<string | undefined, string | undefined>, zod675.ZodOptional<zod675.ZodURL>>, zod675.ZodTransform<string | undefined, string | undefined>>>>;
|
|
1347
|
-
},
|
|
1348
|
-
},
|
|
1347
|
+
}, zod_v4_core167.$loose>, "user">;
|
|
1348
|
+
}, zod_v4_core167.$strip>, zod675.ZodTransform<{
|
|
1349
1349
|
success: true;
|
|
1350
1350
|
data: {
|
|
1351
1351
|
session: {
|
|
@@ -1401,11 +1401,11 @@ declare const getSessionRoute: {
|
|
|
1401
1401
|
description: string;
|
|
1402
1402
|
content: {
|
|
1403
1403
|
"application/json": {
|
|
1404
|
-
schema:
|
|
1404
|
+
schema: zod_v4_core167.$ZodBranded<zod675.ZodObject<{
|
|
1405
1405
|
success: zod675.ZodLiteral<false>;
|
|
1406
1406
|
code: zod675.ZodOptional<zod675.ZodString>;
|
|
1407
1407
|
message: zod675.ZodOptional<zod675.ZodString>;
|
|
1408
|
-
},
|
|
1408
|
+
}, zod_v4_core167.$strip>, "error">;
|
|
1409
1409
|
};
|
|
1410
1410
|
};
|
|
1411
1411
|
};
|
|
@@ -1426,7 +1426,7 @@ declare const getSessionRoute: {
|
|
|
1426
1426
|
errors: string[];
|
|
1427
1427
|
};
|
|
1428
1428
|
};
|
|
1429
|
-
}, unknown,
|
|
1429
|
+
}, unknown, zod_v4_core167.$ZodTypeInternals<{
|
|
1430
1430
|
success: false;
|
|
1431
1431
|
} & {
|
|
1432
1432
|
errors: string[];
|
|
@@ -1447,11 +1447,11 @@ declare const getSessionRoute: {
|
|
|
1447
1447
|
description: string;
|
|
1448
1448
|
content: {
|
|
1449
1449
|
"application/json": {
|
|
1450
|
-
schema:
|
|
1450
|
+
schema: zod_v4_core167.$ZodBranded<zod675.ZodObject<{
|
|
1451
1451
|
success: zod675.ZodLiteral<false>;
|
|
1452
1452
|
code: zod675.ZodOptional<zod675.ZodString>;
|
|
1453
1453
|
message: zod675.ZodOptional<zod675.ZodString>;
|
|
1454
|
-
},
|
|
1454
|
+
}, zod_v4_core167.$strip>, "error">;
|
|
1455
1455
|
};
|
|
1456
1456
|
};
|
|
1457
1457
|
};
|
|
@@ -1463,7 +1463,7 @@ declare const getSessionRoute: {
|
|
|
1463
1463
|
query: zod675.ZodObject<{
|
|
1464
1464
|
disableCookieCache: zod675.ZodOptional<zod675.ZodUnion<[zod675.ZodBoolean, zod675.ZodPipe<zod675.ZodString, zod675.ZodTransform<boolean, string>>]>>;
|
|
1465
1465
|
disableRefresh: zod675.ZodOptional<zod675.ZodUnion<[zod675.ZodBoolean, zod675.ZodPipe<zod675.ZodString, zod675.ZodTransform<boolean, string>>]>>;
|
|
1466
|
-
},
|
|
1466
|
+
}, zod_v4_core167.$strip>;
|
|
1467
1467
|
};
|
|
1468
1468
|
getRoutingPath: () => "/get-session";
|
|
1469
1469
|
};
|
|
@@ -1491,7 +1491,7 @@ declare const sessionMiddleware: <V extends object>() => (ctx: Context<ContextVa
|
|
|
1491
1491
|
session: Session;
|
|
1492
1492
|
user: User;
|
|
1493
1493
|
};
|
|
1494
|
-
}>, string, {}>, next:
|
|
1494
|
+
}>, string, {}>, next: hono131.Next) => Promise<void | (Response & TypedResponse<{
|
|
1495
1495
|
success: false;
|
|
1496
1496
|
code?: string | undefined;
|
|
1497
1497
|
message?: string | undefined;
|
|
@@ -1506,7 +1506,7 @@ declare const sensitiveSessionMiddleware: (ctx: Context<ContextVars<{
|
|
|
1506
1506
|
session: Session;
|
|
1507
1507
|
user: User;
|
|
1508
1508
|
};
|
|
1509
|
-
}>, string, {}>, next:
|
|
1509
|
+
}>, string, {}>, next: hono131.Next) => Promise<void | (Response & TypedResponse<{
|
|
1510
1510
|
success: false;
|
|
1511
1511
|
code?: string | undefined;
|
|
1512
1512
|
message?: string | undefined;
|
|
@@ -1520,7 +1520,7 @@ declare const requestOnlySessionMiddleware: (ctx: Context<ContextVars<{
|
|
|
1520
1520
|
session: Session;
|
|
1521
1521
|
user: User;
|
|
1522
1522
|
};
|
|
1523
|
-
}>, string, {}>, next:
|
|
1523
|
+
}>, string, {}>, next: hono131.Next) => Promise<void | (Response & TypedResponse<{
|
|
1524
1524
|
success: false;
|
|
1525
1525
|
code?: string | undefined;
|
|
1526
1526
|
message?: string | undefined;
|
|
@@ -1537,11 +1537,11 @@ declare const freshSessionMiddleware: (ctx: Context<ContextVars<{
|
|
|
1537
1537
|
session: Session;
|
|
1538
1538
|
user: User;
|
|
1539
1539
|
};
|
|
1540
|
-
}>, string, {}>, next:
|
|
1540
|
+
}>, string, {}>, next: hono131.Next) => Promise<void | (Response & TypedResponse<{
|
|
1541
1541
|
success: false;
|
|
1542
1542
|
code?: string | undefined;
|
|
1543
1543
|
message?: string | undefined;
|
|
1544
|
-
}, 401>) |
|
|
1544
|
+
}, 401>) | _faire_auth_core_types81.JSONRespondReturn<{
|
|
1545
1545
|
success: false;
|
|
1546
1546
|
code?: string | undefined;
|
|
1547
1547
|
message?: string | undefined;
|
|
@@ -1552,7 +1552,7 @@ declare const listSessionsRoute: {
|
|
|
1552
1552
|
description: string;
|
|
1553
1553
|
content: {
|
|
1554
1554
|
"application/json": {
|
|
1555
|
-
schema:
|
|
1555
|
+
schema: zod_v4_core167.$ZodBranded<zod675.ZodPipe<zod675.ZodArray<zod_v4_core167.$ZodBranded<zod675.ZodObject<{
|
|
1556
1556
|
createdAt: zod675.ZodDefault<zod675.ZodPipe<zod675.ZodUnion<[zod675.ZodDate, zod675.ZodISODateTime]>, zod675.ZodTransform<Date, string | Date>>>;
|
|
1557
1557
|
updatedAt: zod675.ZodDefault<zod675.ZodPipe<zod675.ZodUnion<[zod675.ZodDate, zod675.ZodISODateTime]>, zod675.ZodTransform<Date, string | Date>>>;
|
|
1558
1558
|
id: zod675.ZodOptional<zod675.ZodString>;
|
|
@@ -1561,7 +1561,7 @@ declare const listSessionsRoute: {
|
|
|
1561
1561
|
token: zod675.ZodString;
|
|
1562
1562
|
ipAddress: zod675.ZodOptional<zod675.ZodNullable<zod675.ZodString>>;
|
|
1563
1563
|
userAgent: zod675.ZodOptional<zod675.ZodNullable<zod675.ZodString>>;
|
|
1564
|
-
},
|
|
1564
|
+
}, zod_v4_core167.$loose>, "session">>, zod675.ZodTransform<{
|
|
1565
1565
|
success: true;
|
|
1566
1566
|
data: ({
|
|
1567
1567
|
[x: string]: unknown;
|
|
@@ -1593,11 +1593,11 @@ declare const listSessionsRoute: {
|
|
|
1593
1593
|
description: string;
|
|
1594
1594
|
content: {
|
|
1595
1595
|
"application/json": {
|
|
1596
|
-
schema:
|
|
1596
|
+
schema: zod_v4_core167.$ZodBranded<zod675.ZodObject<{
|
|
1597
1597
|
success: zod675.ZodLiteral<false>;
|
|
1598
1598
|
code: zod675.ZodOptional<zod675.ZodString>;
|
|
1599
1599
|
message: zod675.ZodOptional<zod675.ZodString>;
|
|
1600
|
-
},
|
|
1600
|
+
}, zod_v4_core167.$strip>, "error">;
|
|
1601
1601
|
};
|
|
1602
1602
|
};
|
|
1603
1603
|
};
|
|
@@ -1629,7 +1629,7 @@ declare const listSessionsRoute: {
|
|
|
1629
1629
|
image?: string | null;
|
|
1630
1630
|
};
|
|
1631
1631
|
};
|
|
1632
|
-
}>, string, {}>, next:
|
|
1632
|
+
}>, string, {}>, next: hono131.Next) => Promise<void | (Response & TypedResponse<{
|
|
1633
1633
|
success: false;
|
|
1634
1634
|
code?: string | undefined;
|
|
1635
1635
|
message?: string | undefined;
|
|
@@ -1642,10 +1642,10 @@ declare const revokeSessionRoute: {
|
|
|
1642
1642
|
description: string;
|
|
1643
1643
|
content: {
|
|
1644
1644
|
"application/json": {
|
|
1645
|
-
schema:
|
|
1645
|
+
schema: zod_v4_core167.$ZodBranded<zod675.ZodObject<{
|
|
1646
1646
|
success: zod675.ZodLiteral<true>;
|
|
1647
1647
|
message: zod675.ZodOptional<zod675.ZodString>;
|
|
1648
|
-
},
|
|
1648
|
+
}, zod_v4_core167.$strip>, "success">;
|
|
1649
1649
|
};
|
|
1650
1650
|
};
|
|
1651
1651
|
};
|
|
@@ -1663,7 +1663,7 @@ declare const revokeSessionRoute: {
|
|
|
1663
1663
|
errors: string[];
|
|
1664
1664
|
};
|
|
1665
1665
|
};
|
|
1666
|
-
}, unknown,
|
|
1666
|
+
}, unknown, zod_v4_core167.$ZodTypeInternals<{
|
|
1667
1667
|
success: false;
|
|
1668
1668
|
} & {
|
|
1669
1669
|
errors: string[];
|
|
@@ -1681,11 +1681,11 @@ declare const revokeSessionRoute: {
|
|
|
1681
1681
|
description: string;
|
|
1682
1682
|
content: {
|
|
1683
1683
|
"application/json": {
|
|
1684
|
-
schema:
|
|
1684
|
+
schema: zod_v4_core167.$ZodBranded<zod675.ZodObject<{
|
|
1685
1685
|
success: zod675.ZodLiteral<false>;
|
|
1686
1686
|
code: zod675.ZodOptional<zod675.ZodString>;
|
|
1687
1687
|
message: zod675.ZodOptional<zod675.ZodString>;
|
|
1688
|
-
},
|
|
1688
|
+
}, zod_v4_core167.$strip>, "error">;
|
|
1689
1689
|
};
|
|
1690
1690
|
};
|
|
1691
1691
|
};
|
|
@@ -1694,11 +1694,11 @@ declare const revokeSessionRoute: {
|
|
|
1694
1694
|
description: string;
|
|
1695
1695
|
content: {
|
|
1696
1696
|
"application/json": {
|
|
1697
|
-
schema:
|
|
1697
|
+
schema: zod_v4_core167.$ZodBranded<zod675.ZodObject<{
|
|
1698
1698
|
success: zod675.ZodLiteral<false>;
|
|
1699
1699
|
code: zod675.ZodOptional<zod675.ZodString>;
|
|
1700
1700
|
message: zod675.ZodOptional<zod675.ZodString>;
|
|
1701
|
-
},
|
|
1701
|
+
}, zod_v4_core167.$strip>, "error">;
|
|
1702
1702
|
};
|
|
1703
1703
|
};
|
|
1704
1704
|
};
|
|
@@ -1707,11 +1707,11 @@ declare const revokeSessionRoute: {
|
|
|
1707
1707
|
description: string;
|
|
1708
1708
|
content: {
|
|
1709
1709
|
"application/json": {
|
|
1710
|
-
schema:
|
|
1710
|
+
schema: zod_v4_core167.$ZodBranded<zod675.ZodObject<{
|
|
1711
1711
|
success: zod675.ZodLiteral<false>;
|
|
1712
1712
|
code: zod675.ZodOptional<zod675.ZodString>;
|
|
1713
1713
|
message: zod675.ZodOptional<zod675.ZodString>;
|
|
1714
|
-
},
|
|
1714
|
+
}, zod_v4_core167.$strip>, "error">;
|
|
1715
1715
|
};
|
|
1716
1716
|
};
|
|
1717
1717
|
};
|
|
@@ -1724,7 +1724,7 @@ declare const revokeSessionRoute: {
|
|
|
1724
1724
|
session: Session;
|
|
1725
1725
|
user: User;
|
|
1726
1726
|
};
|
|
1727
|
-
}>, string, {}>, next:
|
|
1727
|
+
}>, string, {}>, next: hono131.Next) => Promise<void | (Response & TypedResponse<{
|
|
1728
1728
|
success: false;
|
|
1729
1729
|
code?: string | undefined;
|
|
1730
1730
|
message?: string | undefined;
|
|
@@ -1736,7 +1736,7 @@ declare const revokeSessionRoute: {
|
|
|
1736
1736
|
"application/json": {
|
|
1737
1737
|
schema: zod675.ZodObject<{
|
|
1738
1738
|
token: zod675.ZodString;
|
|
1739
|
-
},
|
|
1739
|
+
}, zod_v4_core167.$strip>;
|
|
1740
1740
|
};
|
|
1741
1741
|
};
|
|
1742
1742
|
required: true;
|
|
@@ -1750,10 +1750,10 @@ declare const revokeSessionsRoute: {
|
|
|
1750
1750
|
description: string;
|
|
1751
1751
|
content: {
|
|
1752
1752
|
"application/json": {
|
|
1753
|
-
schema:
|
|
1753
|
+
schema: zod_v4_core167.$ZodBranded<zod675.ZodObject<{
|
|
1754
1754
|
success: zod675.ZodLiteral<true>;
|
|
1755
1755
|
message: zod675.ZodOptional<zod675.ZodString>;
|
|
1756
|
-
},
|
|
1756
|
+
}, zod_v4_core167.$strip>, "success">;
|
|
1757
1757
|
};
|
|
1758
1758
|
};
|
|
1759
1759
|
};
|
|
@@ -1762,11 +1762,11 @@ declare const revokeSessionsRoute: {
|
|
|
1762
1762
|
description: string;
|
|
1763
1763
|
content: {
|
|
1764
1764
|
"application/json": {
|
|
1765
|
-
schema:
|
|
1765
|
+
schema: zod_v4_core167.$ZodBranded<zod675.ZodObject<{
|
|
1766
1766
|
success: zod675.ZodLiteral<false>;
|
|
1767
1767
|
code: zod675.ZodOptional<zod675.ZodString>;
|
|
1768
1768
|
message: zod675.ZodOptional<zod675.ZodString>;
|
|
1769
|
-
},
|
|
1769
|
+
}, zod_v4_core167.$strip>, "error">;
|
|
1770
1770
|
};
|
|
1771
1771
|
};
|
|
1772
1772
|
};
|
|
@@ -1779,7 +1779,7 @@ declare const revokeSessionsRoute: {
|
|
|
1779
1779
|
session: Session;
|
|
1780
1780
|
user: User;
|
|
1781
1781
|
};
|
|
1782
|
-
}>, string, {}>, next:
|
|
1782
|
+
}>, string, {}>, next: hono131.Next) => Promise<void | (Response & TypedResponse<{
|
|
1783
1783
|
success: false;
|
|
1784
1784
|
code?: string | undefined;
|
|
1785
1785
|
message?: string | undefined;
|
|
@@ -1792,10 +1792,10 @@ declare const revokeOtherSessionsRoute: {
|
|
|
1792
1792
|
description: string;
|
|
1793
1793
|
content: {
|
|
1794
1794
|
"application/json": {
|
|
1795
|
-
schema:
|
|
1795
|
+
schema: zod_v4_core167.$ZodBranded<zod675.ZodObject<{
|
|
1796
1796
|
success: zod675.ZodLiteral<true>;
|
|
1797
1797
|
message: zod675.ZodOptional<zod675.ZodString>;
|
|
1798
|
-
},
|
|
1798
|
+
}, zod_v4_core167.$strip>, "success">;
|
|
1799
1799
|
};
|
|
1800
1800
|
};
|
|
1801
1801
|
};
|
|
@@ -1808,7 +1808,7 @@ declare const revokeOtherSessionsRoute: {
|
|
|
1808
1808
|
session: Session;
|
|
1809
1809
|
user: User;
|
|
1810
1810
|
};
|
|
1811
|
-
}>, string, {}>, next:
|
|
1811
|
+
}>, string, {}>, next: hono131.Next) => Promise<void | (Response & TypedResponse<{
|
|
1812
1812
|
success: false;
|
|
1813
1813
|
code?: string | undefined;
|
|
1814
1814
|
message?: string | undefined;
|
|
@@ -1823,10 +1823,10 @@ declare const signOutRoute: {
|
|
|
1823
1823
|
description: string;
|
|
1824
1824
|
content: {
|
|
1825
1825
|
"application/json": {
|
|
1826
|
-
schema:
|
|
1826
|
+
schema: zod_v4_core167.$ZodBranded<zod675.ZodObject<{
|
|
1827
1827
|
success: zod675.ZodLiteral<true>;
|
|
1828
1828
|
message: zod675.ZodOptional<zod675.ZodString>;
|
|
1829
|
-
},
|
|
1829
|
+
}, zod_v4_core167.$strip>, "success">;
|
|
1830
1830
|
};
|
|
1831
1831
|
};
|
|
1832
1832
|
};
|
|
@@ -1835,11 +1835,11 @@ declare const signOutRoute: {
|
|
|
1835
1835
|
description: string;
|
|
1836
1836
|
content: {
|
|
1837
1837
|
"application/json": {
|
|
1838
|
-
schema:
|
|
1838
|
+
schema: zod_v4_core167.$ZodBranded<zod675.ZodObject<{
|
|
1839
1839
|
success: zod675.ZodLiteral<false>;
|
|
1840
1840
|
code: zod675.ZodOptional<zod675.ZodString>;
|
|
1841
1841
|
message: zod675.ZodOptional<zod675.ZodString>;
|
|
1842
|
-
},
|
|
1842
|
+
}, zod_v4_core167.$strip>, "error">;
|
|
1843
1843
|
};
|
|
1844
1844
|
};
|
|
1845
1845
|
};
|
|
@@ -1857,10 +1857,10 @@ declare const requestPasswordResetRoute: {
|
|
|
1857
1857
|
description: string;
|
|
1858
1858
|
content: {
|
|
1859
1859
|
"application/json": {
|
|
1860
|
-
schema:
|
|
1860
|
+
schema: zod_v4_core167.$ZodBranded<zod675.ZodObject<{
|
|
1861
1861
|
success: zod675.ZodLiteral<true>;
|
|
1862
1862
|
message: zod675.ZodOptional<zod675.ZodString>;
|
|
1863
|
-
},
|
|
1863
|
+
}, zod_v4_core167.$strip>, "success">;
|
|
1864
1864
|
};
|
|
1865
1865
|
};
|
|
1866
1866
|
};
|
|
@@ -1869,11 +1869,11 @@ declare const requestPasswordResetRoute: {
|
|
|
1869
1869
|
description: string;
|
|
1870
1870
|
content: {
|
|
1871
1871
|
"application/json": {
|
|
1872
|
-
schema:
|
|
1872
|
+
schema: zod_v4_core167.$ZodBranded<zod675.ZodObject<{
|
|
1873
1873
|
success: zod675.ZodLiteral<false>;
|
|
1874
1874
|
code: zod675.ZodOptional<zod675.ZodString>;
|
|
1875
1875
|
message: zod675.ZodOptional<zod675.ZodString>;
|
|
1876
|
-
},
|
|
1876
|
+
}, zod_v4_core167.$strip>, "error">;
|
|
1877
1877
|
};
|
|
1878
1878
|
};
|
|
1879
1879
|
};
|
|
@@ -1894,7 +1894,7 @@ declare const requestPasswordResetRoute: {
|
|
|
1894
1894
|
errors: string[];
|
|
1895
1895
|
};
|
|
1896
1896
|
};
|
|
1897
|
-
}, unknown,
|
|
1897
|
+
}, unknown, zod_v4_core167.$ZodTypeInternals<{
|
|
1898
1898
|
success: false;
|
|
1899
1899
|
} & {
|
|
1900
1900
|
errors: string[];
|
|
@@ -1922,7 +1922,7 @@ declare const requestPasswordResetRoute: {
|
|
|
1922
1922
|
schema: zod675.ZodObject<{
|
|
1923
1923
|
email: zod675.ZodEmail;
|
|
1924
1924
|
redirectTo: zod675.ZodOptional<zod675.ZodPipe<zod675.ZodPipe<zod675.ZodTransform<string | undefined, string | undefined>, zod675.ZodOptional<zod675.ZodURL>>, zod675.ZodTransform<string | undefined, string | undefined>>>;
|
|
1925
|
-
},
|
|
1925
|
+
}, zod_v4_core167.$strip>;
|
|
1926
1926
|
};
|
|
1927
1927
|
};
|
|
1928
1928
|
required: true;
|
|
@@ -1936,7 +1936,7 @@ declare const requestPasswordResetCallbackRoute: {
|
|
|
1936
1936
|
description: string;
|
|
1937
1937
|
content: {
|
|
1938
1938
|
"application/json": {
|
|
1939
|
-
schema: zod675.ZodType<unknown, unknown,
|
|
1939
|
+
schema: zod675.ZodType<unknown, unknown, zod_v4_core167.$ZodTypeInternals<unknown, unknown>>;
|
|
1940
1940
|
};
|
|
1941
1941
|
};
|
|
1942
1942
|
};
|
|
@@ -1948,15 +1948,15 @@ declare const requestPasswordResetCallbackRoute: {
|
|
|
1948
1948
|
operationId: "requestPasswordResetCallback";
|
|
1949
1949
|
path: "/reset-password/:token";
|
|
1950
1950
|
method: "get";
|
|
1951
|
-
middleware: [(ctx: Context<ContextVars<object>, string, {}>, next:
|
|
1951
|
+
middleware: [(ctx: Context<ContextVars<object>, string, {}>, next: hono131.Next) => Promise<void | Response>];
|
|
1952
1952
|
request: {
|
|
1953
1953
|
params: zod675.ZodObject<{
|
|
1954
1954
|
token: zod675.ZodString;
|
|
1955
|
-
},
|
|
1955
|
+
}, zod_v4_core167.$strip>;
|
|
1956
1956
|
} & {
|
|
1957
1957
|
query: zod675.ZodObject<{
|
|
1958
1958
|
callbackURL: zod675.ZodPipe<zod675.ZodPipe<zod675.ZodTransform<string, string>, zod675.ZodURL>, zod675.ZodTransform<string, string>>;
|
|
1959
|
-
},
|
|
1959
|
+
}, zod_v4_core167.$strip>;
|
|
1960
1960
|
};
|
|
1961
1961
|
getRoutingPath: () => "/reset-password/:token";
|
|
1962
1962
|
};
|
|
@@ -1966,10 +1966,10 @@ declare const resetPasswordRoute: {
|
|
|
1966
1966
|
description: string;
|
|
1967
1967
|
content: {
|
|
1968
1968
|
"application/json": {
|
|
1969
|
-
schema:
|
|
1969
|
+
schema: zod_v4_core167.$ZodBranded<zod675.ZodObject<{
|
|
1970
1970
|
success: zod675.ZodLiteral<true>;
|
|
1971
1971
|
message: zod675.ZodOptional<zod675.ZodString>;
|
|
1972
|
-
},
|
|
1972
|
+
}, zod_v4_core167.$strip>, "success">;
|
|
1973
1973
|
};
|
|
1974
1974
|
};
|
|
1975
1975
|
};
|
|
@@ -1978,11 +1978,11 @@ declare const resetPasswordRoute: {
|
|
|
1978
1978
|
description: string;
|
|
1979
1979
|
content: {
|
|
1980
1980
|
"application/json": {
|
|
1981
|
-
schema:
|
|
1981
|
+
schema: zod_v4_core167.$ZodBranded<zod675.ZodObject<{
|
|
1982
1982
|
success: zod675.ZodLiteral<false>;
|
|
1983
1983
|
code: zod675.ZodOptional<zod675.ZodString>;
|
|
1984
1984
|
message: zod675.ZodOptional<zod675.ZodString>;
|
|
1985
|
-
},
|
|
1985
|
+
}, zod_v4_core167.$strip>, "error">;
|
|
1986
1986
|
};
|
|
1987
1987
|
};
|
|
1988
1988
|
};
|
|
@@ -2003,7 +2003,7 @@ declare const resetPasswordRoute: {
|
|
|
2003
2003
|
errors: string[];
|
|
2004
2004
|
};
|
|
2005
2005
|
};
|
|
2006
|
-
}, unknown,
|
|
2006
|
+
}, unknown, zod_v4_core167.$ZodTypeInternals<{
|
|
2007
2007
|
success: false;
|
|
2008
2008
|
} & {
|
|
2009
2009
|
errors: string[];
|
|
@@ -2031,7 +2031,7 @@ declare const resetPasswordRoute: {
|
|
|
2031
2031
|
schema: zod675.ZodObject<{
|
|
2032
2032
|
newPassword: zod675.ZodString;
|
|
2033
2033
|
token: zod675.ZodOptional<zod675.ZodString>;
|
|
2034
|
-
},
|
|
2034
|
+
}, zod_v4_core167.$strip>;
|
|
2035
2035
|
};
|
|
2036
2036
|
};
|
|
2037
2037
|
required: true;
|
|
@@ -2039,7 +2039,7 @@ declare const resetPasswordRoute: {
|
|
|
2039
2039
|
} & {
|
|
2040
2040
|
query: zod675.ZodObject<{
|
|
2041
2041
|
token: zod675.ZodOptional<zod675.ZodString>;
|
|
2042
|
-
},
|
|
2042
|
+
}, zod_v4_core167.$strip>;
|
|
2043
2043
|
};
|
|
2044
2044
|
getRoutingPath: () => "/reset-password";
|
|
2045
2045
|
};
|
|
@@ -2051,10 +2051,10 @@ declare const sendVerificationEmailRoute: {
|
|
|
2051
2051
|
description: string;
|
|
2052
2052
|
content: {
|
|
2053
2053
|
"application/json": {
|
|
2054
|
-
schema:
|
|
2054
|
+
schema: zod_v4_core167.$ZodBranded<zod675.ZodObject<{
|
|
2055
2055
|
success: zod675.ZodLiteral<true>;
|
|
2056
2056
|
message: zod675.ZodOptional<zod675.ZodString>;
|
|
2057
|
-
},
|
|
2057
|
+
}, zod_v4_core167.$strip>, "success">;
|
|
2058
2058
|
};
|
|
2059
2059
|
};
|
|
2060
2060
|
};
|
|
@@ -2063,11 +2063,11 @@ declare const sendVerificationEmailRoute: {
|
|
|
2063
2063
|
description: string;
|
|
2064
2064
|
content: {
|
|
2065
2065
|
"application/json": {
|
|
2066
|
-
schema:
|
|
2066
|
+
schema: zod_v4_core167.$ZodBranded<zod675.ZodObject<{
|
|
2067
2067
|
success: zod675.ZodLiteral<false>;
|
|
2068
2068
|
code: zod675.ZodOptional<zod675.ZodString>;
|
|
2069
2069
|
message: zod675.ZodOptional<zod675.ZodString>;
|
|
2070
|
-
},
|
|
2070
|
+
}, zod_v4_core167.$strip>, "error">;
|
|
2071
2071
|
};
|
|
2072
2072
|
};
|
|
2073
2073
|
};
|
|
@@ -2088,7 +2088,7 @@ declare const sendVerificationEmailRoute: {
|
|
|
2088
2088
|
errors: string[];
|
|
2089
2089
|
};
|
|
2090
2090
|
};
|
|
2091
|
-
}, unknown,
|
|
2091
|
+
}, unknown, zod_v4_core167.$ZodTypeInternals<{
|
|
2092
2092
|
success: false;
|
|
2093
2093
|
} & {
|
|
2094
2094
|
errors: string[];
|
|
@@ -2116,7 +2116,7 @@ declare const sendVerificationEmailRoute: {
|
|
|
2116
2116
|
schema: zod675.ZodObject<{
|
|
2117
2117
|
email: zod675.ZodEmail;
|
|
2118
2118
|
callbackURL: zod675.ZodOptional<zod675.ZodPipe<zod675.ZodPipe<zod675.ZodTransform<string | undefined, string | undefined>, zod675.ZodOptional<zod675.ZodURL>>, zod675.ZodTransform<string | undefined, string | undefined>>>;
|
|
2119
|
-
},
|
|
2119
|
+
}, zod_v4_core167.$strip>;
|
|
2120
2120
|
};
|
|
2121
2121
|
};
|
|
2122
2122
|
required: true;
|
|
@@ -2130,10 +2130,10 @@ declare const verifyEmailRoute: {
|
|
|
2130
2130
|
description: string;
|
|
2131
2131
|
content: {
|
|
2132
2132
|
"application/json": {
|
|
2133
|
-
schema:
|
|
2133
|
+
schema: zod_v4_core167.$ZodBranded<zod675.ZodPipe<zod675.ZodDiscriminatedUnion<[zod675.ZodObject<{
|
|
2134
2134
|
success: zod675.ZodLiteral<true>;
|
|
2135
2135
|
token: zod675.ZodDefault<zod675.ZodNullable<zod675.ZodString>>;
|
|
2136
|
-
user:
|
|
2136
|
+
user: zod_v4_core167.$ZodBranded<zod675.ZodObject<{
|
|
2137
2137
|
id: zod675.ZodString;
|
|
2138
2138
|
createdAt: zod675.ZodDefault<zod675.ZodPipe<zod675.ZodUnion<[zod675.ZodDate, zod675.ZodISODateTime]>, zod675.ZodTransform<Date, string | Date>>>;
|
|
2139
2139
|
updatedAt: zod675.ZodDefault<zod675.ZodPipe<zod675.ZodUnion<[zod675.ZodDate, zod675.ZodISODateTime]>, zod675.ZodTransform<Date, string | Date>>>;
|
|
@@ -2141,12 +2141,12 @@ declare const verifyEmailRoute: {
|
|
|
2141
2141
|
emailVerified: zod675.ZodDefault<zod675.ZodCoercedBoolean<unknown>>;
|
|
2142
2142
|
name: zod675.ZodOptional<zod675.ZodString>;
|
|
2143
2143
|
image: zod675.ZodNullable<zod675.ZodOptional<zod675.ZodPipe<zod675.ZodPipe<zod675.ZodTransform<string | undefined, string | undefined>, zod675.ZodOptional<zod675.ZodURL>>, zod675.ZodTransform<string | undefined, string | undefined>>>>;
|
|
2144
|
-
},
|
|
2145
|
-
},
|
|
2144
|
+
}, zod_v4_core167.$loose>, "user">;
|
|
2145
|
+
}, zod_v4_core167.$strip>, zod675.ZodObject<{
|
|
2146
2146
|
success: zod675.ZodLiteral<false>;
|
|
2147
2147
|
token: zod675.ZodDefault<zod675.ZodNull>;
|
|
2148
2148
|
user: zod675.ZodDefault<zod675.ZodNull>;
|
|
2149
|
-
},
|
|
2149
|
+
}, zod_v4_core167.$strip>], "success">, zod675.ZodTransform<{
|
|
2150
2150
|
success: true;
|
|
2151
2151
|
data: {
|
|
2152
2152
|
success: true;
|
|
@@ -2192,11 +2192,11 @@ declare const verifyEmailRoute: {
|
|
|
2192
2192
|
description: string;
|
|
2193
2193
|
content: {
|
|
2194
2194
|
"application/json": {
|
|
2195
|
-
schema:
|
|
2195
|
+
schema: zod_v4_core167.$ZodBranded<zod675.ZodObject<{
|
|
2196
2196
|
success: zod675.ZodLiteral<false>;
|
|
2197
2197
|
code: zod675.ZodOptional<zod675.ZodString>;
|
|
2198
2198
|
message: zod675.ZodOptional<zod675.ZodString>;
|
|
2199
|
-
},
|
|
2199
|
+
}, zod_v4_core167.$strip>, "error">;
|
|
2200
2200
|
};
|
|
2201
2201
|
};
|
|
2202
2202
|
};
|
|
@@ -2205,11 +2205,11 @@ declare const verifyEmailRoute: {
|
|
|
2205
2205
|
description: string;
|
|
2206
2206
|
content: {
|
|
2207
2207
|
"application/json": {
|
|
2208
|
-
schema:
|
|
2208
|
+
schema: zod_v4_core167.$ZodBranded<zod675.ZodObject<{
|
|
2209
2209
|
success: zod675.ZodLiteral<false>;
|
|
2210
2210
|
code: zod675.ZodOptional<zod675.ZodString>;
|
|
2211
2211
|
message: zod675.ZodOptional<zod675.ZodString>;
|
|
2212
|
-
},
|
|
2212
|
+
}, zod_v4_core167.$strip>, "error">;
|
|
2213
2213
|
};
|
|
2214
2214
|
};
|
|
2215
2215
|
};
|
|
@@ -2234,7 +2234,7 @@ declare const verifyEmailRoute: {
|
|
|
2234
2234
|
errors: string[];
|
|
2235
2235
|
};
|
|
2236
2236
|
};
|
|
2237
|
-
}, unknown,
|
|
2237
|
+
}, unknown, zod_v4_core167.$ZodTypeInternals<{
|
|
2238
2238
|
success: false;
|
|
2239
2239
|
} & {
|
|
2240
2240
|
errors: string[];
|
|
@@ -2254,21 +2254,21 @@ declare const verifyEmailRoute: {
|
|
|
2254
2254
|
operationId: "verifyEmail";
|
|
2255
2255
|
path: "/verify-email";
|
|
2256
2256
|
method: "get";
|
|
2257
|
-
middleware: [(ctx: Context<ContextVars<object>, string, {}>, next:
|
|
2257
|
+
middleware: [(ctx: Context<ContextVars<object>, string, {}>, next: hono131.Next) => Promise<void | Response>, (ctx: Context<ContextVars<{
|
|
2258
2258
|
token: {
|
|
2259
2259
|
email: string;
|
|
2260
2260
|
updateTo?: string | undefined;
|
|
2261
2261
|
};
|
|
2262
|
-
}>, string, {}>, next:
|
|
2262
|
+
}>, string, {}>, next: hono131.Next) => Promise<void | (Response & hono131.TypedResponse<undefined, 302, "redirect">) | _faire_auth_core_types81.JSONRespondReturn<{
|
|
2263
2263
|
success: false;
|
|
2264
2264
|
code: string;
|
|
2265
2265
|
message: string;
|
|
2266
|
-
},
|
|
2266
|
+
}, 401 | 400>>];
|
|
2267
2267
|
request: {
|
|
2268
2268
|
query: zod675.ZodObject<{
|
|
2269
2269
|
token: zod675.ZodString;
|
|
2270
2270
|
callbackURL: zod675.ZodOptional<zod675.ZodPipe<zod675.ZodPipe<zod675.ZodTransform<string | undefined, string | undefined>, zod675.ZodOptional<zod675.ZodURL>>, zod675.ZodTransform<string | undefined, string | undefined>>>;
|
|
2271
|
-
},
|
|
2271
|
+
}, zod_v4_core167.$strip>;
|
|
2272
2272
|
};
|
|
2273
2273
|
getRoutingPath: () => "/verify-email";
|
|
2274
2274
|
};
|
|
@@ -2280,10 +2280,10 @@ declare const updateUserRoute: {
|
|
|
2280
2280
|
description: string;
|
|
2281
2281
|
content: {
|
|
2282
2282
|
"application/json": {
|
|
2283
|
-
schema:
|
|
2283
|
+
schema: zod_v4_core167.$ZodBranded<zod675.ZodObject<{
|
|
2284
2284
|
success: zod675.ZodLiteral<true>;
|
|
2285
2285
|
message: zod675.ZodOptional<zod675.ZodString>;
|
|
2286
|
-
},
|
|
2286
|
+
}, zod_v4_core167.$strip>, "success">;
|
|
2287
2287
|
};
|
|
2288
2288
|
};
|
|
2289
2289
|
};
|
|
@@ -2307,7 +2307,7 @@ declare const updateUserRoute: {
|
|
|
2307
2307
|
errors: string[];
|
|
2308
2308
|
};
|
|
2309
2309
|
};
|
|
2310
|
-
}, unknown,
|
|
2310
|
+
}, unknown, zod_v4_core167.$ZodTypeInternals<{
|
|
2311
2311
|
success: false;
|
|
2312
2312
|
} & {
|
|
2313
2313
|
errors: string[];
|
|
@@ -2331,11 +2331,11 @@ declare const updateUserRoute: {
|
|
|
2331
2331
|
description: string;
|
|
2332
2332
|
content: {
|
|
2333
2333
|
"application/json": {
|
|
2334
|
-
schema:
|
|
2334
|
+
schema: zod_v4_core167.$ZodBranded<zod675.ZodObject<{
|
|
2335
2335
|
success: zod675.ZodLiteral<false>;
|
|
2336
2336
|
code: zod675.ZodOptional<zod675.ZodString>;
|
|
2337
2337
|
message: zod675.ZodOptional<zod675.ZodString>;
|
|
2338
|
-
},
|
|
2338
|
+
}, zod_v4_core167.$strip>, "error">;
|
|
2339
2339
|
};
|
|
2340
2340
|
};
|
|
2341
2341
|
};
|
|
@@ -2343,7 +2343,7 @@ declare const updateUserRoute: {
|
|
|
2343
2343
|
operationId: "updateUser";
|
|
2344
2344
|
path: "/update-user";
|
|
2345
2345
|
method: "post";
|
|
2346
|
-
middleware: [(ctx:
|
|
2346
|
+
middleware: [(ctx: hono131.Context<ContextVars<object & {
|
|
2347
2347
|
session: {
|
|
2348
2348
|
session: {
|
|
2349
2349
|
[x: string]: unknown;
|
|
@@ -2367,7 +2367,7 @@ declare const updateUserRoute: {
|
|
|
2367
2367
|
image?: string | null;
|
|
2368
2368
|
};
|
|
2369
2369
|
};
|
|
2370
|
-
}>, string, {}>, next:
|
|
2370
|
+
}>, string, {}>, next: hono131.Next) => Promise<void | (Response & hono131.TypedResponse<{
|
|
2371
2371
|
success: false;
|
|
2372
2372
|
code?: string | undefined;
|
|
2373
2373
|
message?: string | undefined;
|
|
@@ -2380,7 +2380,7 @@ declare const updateUserRoute: {
|
|
|
2380
2380
|
schema: zod675.ZodObject<{
|
|
2381
2381
|
name: zod675.ZodOptional<zod675.ZodString>;
|
|
2382
2382
|
image: zod675.ZodNullable<zod675.ZodOptional<zod675.ZodPipe<zod675.ZodPipe<zod675.ZodTransform<string | undefined, string | undefined>, zod675.ZodOptional<zod675.ZodURL>>, zod675.ZodTransform<string | undefined, string | undefined>>>>;
|
|
2383
|
-
},
|
|
2383
|
+
}, zod_v4_core167.$loose>;
|
|
2384
2384
|
};
|
|
2385
2385
|
};
|
|
2386
2386
|
required: true;
|
|
@@ -2394,10 +2394,10 @@ declare const changePasswordRoute: {
|
|
|
2394
2394
|
description: string;
|
|
2395
2395
|
content: {
|
|
2396
2396
|
"application/json": {
|
|
2397
|
-
schema:
|
|
2397
|
+
schema: zod_v4_core167.$ZodBranded<zod675.ZodPipe<zod675.ZodIntersection<zod675.ZodDiscriminatedUnion<[zod675.ZodObject<{
|
|
2398
2398
|
success: zod675.ZodLiteral<true>;
|
|
2399
2399
|
token: zod675.ZodDefault<zod675.ZodNullable<zod675.ZodString>>;
|
|
2400
|
-
user:
|
|
2400
|
+
user: zod_v4_core167.$ZodBranded<zod675.ZodObject<{
|
|
2401
2401
|
id: zod675.ZodString;
|
|
2402
2402
|
createdAt: zod675.ZodDefault<zod675.ZodPipe<zod675.ZodUnion<[zod675.ZodDate, zod675.ZodISODateTime]>, zod675.ZodTransform<Date, string | Date>>>;
|
|
2403
2403
|
updatedAt: zod675.ZodDefault<zod675.ZodPipe<zod675.ZodUnion<[zod675.ZodDate, zod675.ZodISODateTime]>, zod675.ZodTransform<Date, string | Date>>>;
|
|
@@ -2405,18 +2405,18 @@ declare const changePasswordRoute: {
|
|
|
2405
2405
|
emailVerified: zod675.ZodDefault<zod675.ZodCoercedBoolean<unknown>>;
|
|
2406
2406
|
name: zod675.ZodOptional<zod675.ZodString>;
|
|
2407
2407
|
image: zod675.ZodNullable<zod675.ZodOptional<zod675.ZodPipe<zod675.ZodPipe<zod675.ZodTransform<string | undefined, string | undefined>, zod675.ZodOptional<zod675.ZodURL>>, zod675.ZodTransform<string | undefined, string | undefined>>>>;
|
|
2408
|
-
},
|
|
2409
|
-
},
|
|
2408
|
+
}, zod_v4_core167.$loose>, "user">;
|
|
2409
|
+
}, zod_v4_core167.$strip>, zod675.ZodObject<{
|
|
2410
2410
|
success: zod675.ZodLiteral<false>;
|
|
2411
2411
|
token: zod675.ZodDefault<zod675.ZodNull>;
|
|
2412
2412
|
user: zod675.ZodDefault<zod675.ZodNull>;
|
|
2413
|
-
},
|
|
2413
|
+
}, zod_v4_core167.$strip>], "success">, zod675.ZodDiscriminatedUnion<[zod675.ZodObject<{
|
|
2414
2414
|
redirect: zod675.ZodLiteral<false>;
|
|
2415
2415
|
url: zod675.ZodDefault<zod675.ZodNull>;
|
|
2416
|
-
},
|
|
2416
|
+
}, zod_v4_core167.$strip>, zod675.ZodObject<{
|
|
2417
2417
|
redirect: zod675.ZodLiteral<true>;
|
|
2418
2418
|
url: zod675.ZodURL;
|
|
2419
|
-
},
|
|
2419
|
+
}, zod_v4_core167.$strip>], "redirect">>, zod675.ZodTransform<{
|
|
2420
2420
|
success: true;
|
|
2421
2421
|
data: ({
|
|
2422
2422
|
success: true;
|
|
@@ -2474,11 +2474,11 @@ declare const changePasswordRoute: {
|
|
|
2474
2474
|
description: string;
|
|
2475
2475
|
content: {
|
|
2476
2476
|
"application/json": {
|
|
2477
|
-
schema:
|
|
2477
|
+
schema: zod_v4_core167.$ZodBranded<zod675.ZodObject<{
|
|
2478
2478
|
success: zod675.ZodLiteral<false>;
|
|
2479
2479
|
code: zod675.ZodOptional<zod675.ZodString>;
|
|
2480
2480
|
message: zod675.ZodOptional<zod675.ZodString>;
|
|
2481
|
-
},
|
|
2481
|
+
}, zod_v4_core167.$strip>, "error">;
|
|
2482
2482
|
};
|
|
2483
2483
|
};
|
|
2484
2484
|
};
|
|
@@ -2487,11 +2487,11 @@ declare const changePasswordRoute: {
|
|
|
2487
2487
|
description: string;
|
|
2488
2488
|
content: {
|
|
2489
2489
|
"application/json": {
|
|
2490
|
-
schema:
|
|
2490
|
+
schema: zod_v4_core167.$ZodBranded<zod675.ZodObject<{
|
|
2491
2491
|
success: zod675.ZodLiteral<false>;
|
|
2492
2492
|
code: zod675.ZodOptional<zod675.ZodString>;
|
|
2493
2493
|
message: zod675.ZodOptional<zod675.ZodString>;
|
|
2494
|
-
},
|
|
2494
|
+
}, zod_v4_core167.$strip>, "error">;
|
|
2495
2495
|
};
|
|
2496
2496
|
};
|
|
2497
2497
|
};
|
|
@@ -2515,7 +2515,7 @@ declare const changePasswordRoute: {
|
|
|
2515
2515
|
errors: string[];
|
|
2516
2516
|
};
|
|
2517
2517
|
};
|
|
2518
|
-
}, unknown,
|
|
2518
|
+
}, unknown, zod_v4_core167.$ZodTypeInternals<{
|
|
2519
2519
|
success: false;
|
|
2520
2520
|
} & {
|
|
2521
2521
|
errors: string[];
|
|
@@ -2539,11 +2539,11 @@ declare const changePasswordRoute: {
|
|
|
2539
2539
|
description: string;
|
|
2540
2540
|
content: {
|
|
2541
2541
|
"application/json": {
|
|
2542
|
-
schema:
|
|
2542
|
+
schema: zod_v4_core167.$ZodBranded<zod675.ZodObject<{
|
|
2543
2543
|
success: zod675.ZodLiteral<false>;
|
|
2544
2544
|
code: zod675.ZodOptional<zod675.ZodString>;
|
|
2545
2545
|
message: zod675.ZodOptional<zod675.ZodString>;
|
|
2546
|
-
},
|
|
2546
|
+
}, zod_v4_core167.$strip>, "error">;
|
|
2547
2547
|
};
|
|
2548
2548
|
};
|
|
2549
2549
|
};
|
|
@@ -2551,12 +2551,12 @@ declare const changePasswordRoute: {
|
|
|
2551
2551
|
operationId: "changePassword";
|
|
2552
2552
|
path: "/change-password";
|
|
2553
2553
|
method: "post";
|
|
2554
|
-
middleware: [(ctx:
|
|
2554
|
+
middleware: [(ctx: hono131.Context<ContextVars<{
|
|
2555
2555
|
session: {
|
|
2556
|
-
session:
|
|
2556
|
+
session: _faire_auth_core_db14.Session;
|
|
2557
2557
|
user: User;
|
|
2558
2558
|
};
|
|
2559
|
-
}>, string, {}>, next:
|
|
2559
|
+
}>, string, {}>, next: hono131.Next) => Promise<void | (Response & hono131.TypedResponse<{
|
|
2560
2560
|
success: false;
|
|
2561
2561
|
code?: string | undefined;
|
|
2562
2562
|
message?: string | undefined;
|
|
@@ -2570,7 +2570,7 @@ declare const changePasswordRoute: {
|
|
|
2570
2570
|
newPassword: zod675.ZodString;
|
|
2571
2571
|
currentPassword: zod675.ZodString;
|
|
2572
2572
|
revokeOtherSessions: zod675.ZodOptional<zod675.ZodBoolean>;
|
|
2573
|
-
},
|
|
2573
|
+
}, zod_v4_core167.$strip>;
|
|
2574
2574
|
};
|
|
2575
2575
|
};
|
|
2576
2576
|
required: true;
|
|
@@ -2584,10 +2584,10 @@ declare const setPasswordRoute: {
|
|
|
2584
2584
|
description: string;
|
|
2585
2585
|
content: {
|
|
2586
2586
|
"application/json": {
|
|
2587
|
-
schema:
|
|
2587
|
+
schema: zod_v4_core167.$ZodBranded<zod675.ZodObject<{
|
|
2588
2588
|
success: zod675.ZodLiteral<true>;
|
|
2589
2589
|
message: zod675.ZodOptional<zod675.ZodString>;
|
|
2590
|
-
},
|
|
2590
|
+
}, zod_v4_core167.$strip>, "success">;
|
|
2591
2591
|
};
|
|
2592
2592
|
};
|
|
2593
2593
|
};
|
|
@@ -2596,11 +2596,11 @@ declare const setPasswordRoute: {
|
|
|
2596
2596
|
description: string;
|
|
2597
2597
|
content: {
|
|
2598
2598
|
"application/json": {
|
|
2599
|
-
schema:
|
|
2599
|
+
schema: zod_v4_core167.$ZodBranded<zod675.ZodObject<{
|
|
2600
2600
|
success: zod675.ZodLiteral<false>;
|
|
2601
2601
|
code: zod675.ZodOptional<zod675.ZodString>;
|
|
2602
2602
|
message: zod675.ZodOptional<zod675.ZodString>;
|
|
2603
|
-
},
|
|
2603
|
+
}, zod_v4_core167.$strip>, "error">;
|
|
2604
2604
|
};
|
|
2605
2605
|
};
|
|
2606
2606
|
};
|
|
@@ -2618,7 +2618,7 @@ declare const setPasswordRoute: {
|
|
|
2618
2618
|
errors: string[];
|
|
2619
2619
|
};
|
|
2620
2620
|
};
|
|
2621
|
-
}, unknown,
|
|
2621
|
+
}, unknown, zod_v4_core167.$ZodTypeInternals<{
|
|
2622
2622
|
success: false;
|
|
2623
2623
|
} & {
|
|
2624
2624
|
errors: string[];
|
|
@@ -2637,12 +2637,12 @@ declare const setPasswordRoute: {
|
|
|
2637
2637
|
method: "post";
|
|
2638
2638
|
hide: true;
|
|
2639
2639
|
SERVER_ONLY: true;
|
|
2640
|
-
middleware: [(ctx:
|
|
2640
|
+
middleware: [(ctx: hono131.Context<ContextVars<{
|
|
2641
2641
|
session: {
|
|
2642
|
-
session:
|
|
2642
|
+
session: _faire_auth_core_db14.Session;
|
|
2643
2643
|
user: User;
|
|
2644
2644
|
};
|
|
2645
|
-
}>, string, {}>, next:
|
|
2645
|
+
}>, string, {}>, next: hono131.Next) => Promise<void | (Response & hono131.TypedResponse<{
|
|
2646
2646
|
success: false;
|
|
2647
2647
|
code?: string | undefined;
|
|
2648
2648
|
message?: string | undefined;
|
|
@@ -2654,7 +2654,7 @@ declare const setPasswordRoute: {
|
|
|
2654
2654
|
"application/json": {
|
|
2655
2655
|
schema: zod675.ZodObject<{
|
|
2656
2656
|
newPassword: zod675.ZodString;
|
|
2657
|
-
},
|
|
2657
|
+
}, zod_v4_core167.$strip>;
|
|
2658
2658
|
};
|
|
2659
2659
|
};
|
|
2660
2660
|
required: true;
|
|
@@ -2668,10 +2668,10 @@ declare const deleteUserRoute: {
|
|
|
2668
2668
|
description: string;
|
|
2669
2669
|
content: {
|
|
2670
2670
|
"application/json": {
|
|
2671
|
-
schema:
|
|
2671
|
+
schema: zod_v4_core167.$ZodBranded<zod675.ZodObject<{
|
|
2672
2672
|
success: zod675.ZodLiteral<true>;
|
|
2673
2673
|
message: zod675.ZodOptional<zod675.ZodString>;
|
|
2674
|
-
},
|
|
2674
|
+
}, zod_v4_core167.$strip>, "success">;
|
|
2675
2675
|
};
|
|
2676
2676
|
};
|
|
2677
2677
|
};
|
|
@@ -2684,11 +2684,11 @@ declare const deleteUserRoute: {
|
|
|
2684
2684
|
description: string;
|
|
2685
2685
|
content: {
|
|
2686
2686
|
"application/json": {
|
|
2687
|
-
schema:
|
|
2687
|
+
schema: zod_v4_core167.$ZodBranded<zod675.ZodObject<{
|
|
2688
2688
|
success: zod675.ZodLiteral<false>;
|
|
2689
2689
|
code: zod675.ZodOptional<zod675.ZodString>;
|
|
2690
2690
|
message: zod675.ZodOptional<zod675.ZodString>;
|
|
2691
|
-
},
|
|
2691
|
+
}, zod_v4_core167.$strip>, "error">;
|
|
2692
2692
|
};
|
|
2693
2693
|
};
|
|
2694
2694
|
};
|
|
@@ -2697,11 +2697,11 @@ declare const deleteUserRoute: {
|
|
|
2697
2697
|
description: string;
|
|
2698
2698
|
content: {
|
|
2699
2699
|
"application/json": {
|
|
2700
|
-
schema:
|
|
2700
|
+
schema: zod_v4_core167.$ZodBranded<zod675.ZodObject<{
|
|
2701
2701
|
success: zod675.ZodLiteral<false>;
|
|
2702
2702
|
code: zod675.ZodOptional<zod675.ZodString>;
|
|
2703
2703
|
message: zod675.ZodOptional<zod675.ZodString>;
|
|
2704
|
-
},
|
|
2704
|
+
}, zod_v4_core167.$strip>, "error">;
|
|
2705
2705
|
};
|
|
2706
2706
|
};
|
|
2707
2707
|
};
|
|
@@ -2725,7 +2725,7 @@ declare const deleteUserRoute: {
|
|
|
2725
2725
|
errors: string[];
|
|
2726
2726
|
};
|
|
2727
2727
|
};
|
|
2728
|
-
}, unknown,
|
|
2728
|
+
}, unknown, zod_v4_core167.$ZodTypeInternals<{
|
|
2729
2729
|
success: false;
|
|
2730
2730
|
} & {
|
|
2731
2731
|
errors: string[];
|
|
@@ -2748,12 +2748,12 @@ declare const deleteUserRoute: {
|
|
|
2748
2748
|
operationId: "deleteUser";
|
|
2749
2749
|
path: "/delete-user";
|
|
2750
2750
|
method: "post";
|
|
2751
|
-
middleware: [(ctx:
|
|
2751
|
+
middleware: [(ctx: hono131.Context<ContextVars<{
|
|
2752
2752
|
session: {
|
|
2753
|
-
session:
|
|
2753
|
+
session: _faire_auth_core_db14.Session;
|
|
2754
2754
|
user: User;
|
|
2755
2755
|
};
|
|
2756
|
-
}>, string, {}>, next:
|
|
2756
|
+
}>, string, {}>, next: hono131.Next) => Promise<void | (Response & hono131.TypedResponse<{
|
|
2757
2757
|
success: false;
|
|
2758
2758
|
code?: string | undefined;
|
|
2759
2759
|
message?: string | undefined;
|
|
@@ -2767,7 +2767,7 @@ declare const deleteUserRoute: {
|
|
|
2767
2767
|
callbackURL: zod675.ZodOptional<zod675.ZodPipe<zod675.ZodPipe<zod675.ZodTransform<string | undefined, string | undefined>, zod675.ZodOptional<zod675.ZodURL>>, zod675.ZodTransform<string | undefined, string | undefined>>>;
|
|
2768
2768
|
password: zod675.ZodOptional<zod675.ZodString>;
|
|
2769
2769
|
token: zod675.ZodOptional<zod675.ZodString>;
|
|
2770
|
-
},
|
|
2770
|
+
}, zod_v4_core167.$strip>;
|
|
2771
2771
|
};
|
|
2772
2772
|
};
|
|
2773
2773
|
required: true;
|
|
@@ -2781,10 +2781,10 @@ declare const deleteUserCallbackRoute: {
|
|
|
2781
2781
|
description: string;
|
|
2782
2782
|
content: {
|
|
2783
2783
|
"application/json": {
|
|
2784
|
-
schema:
|
|
2784
|
+
schema: zod_v4_core167.$ZodBranded<zod675.ZodObject<{
|
|
2785
2785
|
success: zod675.ZodLiteral<true>;
|
|
2786
2786
|
message: zod675.ZodOptional<zod675.ZodString>;
|
|
2787
|
-
},
|
|
2787
|
+
}, zod_v4_core167.$strip>, "success">;
|
|
2788
2788
|
};
|
|
2789
2789
|
};
|
|
2790
2790
|
};
|
|
@@ -2797,11 +2797,11 @@ declare const deleteUserCallbackRoute: {
|
|
|
2797
2797
|
description: string;
|
|
2798
2798
|
content: {
|
|
2799
2799
|
"application/json": {
|
|
2800
|
-
schema:
|
|
2800
|
+
schema: zod_v4_core167.$ZodBranded<zod675.ZodObject<{
|
|
2801
2801
|
success: zod675.ZodLiteral<false>;
|
|
2802
2802
|
code: zod675.ZodOptional<zod675.ZodString>;
|
|
2803
2803
|
message: zod675.ZodOptional<zod675.ZodString>;
|
|
2804
|
-
},
|
|
2804
|
+
}, zod_v4_core167.$strip>, "error">;
|
|
2805
2805
|
};
|
|
2806
2806
|
};
|
|
2807
2807
|
};
|
|
@@ -2822,7 +2822,7 @@ declare const deleteUserCallbackRoute: {
|
|
|
2822
2822
|
errors: string[];
|
|
2823
2823
|
};
|
|
2824
2824
|
};
|
|
2825
|
-
}, unknown,
|
|
2825
|
+
}, unknown, zod_v4_core167.$ZodTypeInternals<{
|
|
2826
2826
|
success: false;
|
|
2827
2827
|
} & {
|
|
2828
2828
|
errors: string[];
|
|
@@ -2842,7 +2842,7 @@ declare const deleteUserCallbackRoute: {
|
|
|
2842
2842
|
operationId: "deleteUserCallback";
|
|
2843
2843
|
path: "/delete-user/callback";
|
|
2844
2844
|
method: "get";
|
|
2845
|
-
middleware: [(ctx:
|
|
2845
|
+
middleware: [(ctx: hono131.Context<ContextVars<object>, string, {}>, next: hono131.Next) => Promise<void | Response>, (ctx: hono131.Context<ContextVars<object & {
|
|
2846
2846
|
session: {
|
|
2847
2847
|
session: {
|
|
2848
2848
|
[x: string]: unknown;
|
|
@@ -2866,7 +2866,7 @@ declare const deleteUserCallbackRoute: {
|
|
|
2866
2866
|
image?: string | null;
|
|
2867
2867
|
};
|
|
2868
2868
|
};
|
|
2869
|
-
}>, string, {}>, next:
|
|
2869
|
+
}>, string, {}>, next: hono131.Next) => Promise<void | (Response & hono131.TypedResponse<{
|
|
2870
2870
|
success: false;
|
|
2871
2871
|
code?: string | undefined;
|
|
2872
2872
|
message?: string | undefined;
|
|
@@ -2875,7 +2875,7 @@ declare const deleteUserCallbackRoute: {
|
|
|
2875
2875
|
query: zod675.ZodObject<{
|
|
2876
2876
|
token: zod675.ZodString;
|
|
2877
2877
|
callbackURL: zod675.ZodOptional<zod675.ZodPipe<zod675.ZodPipe<zod675.ZodTransform<string | undefined, string | undefined>, zod675.ZodOptional<zod675.ZodURL>>, zod675.ZodTransform<string | undefined, string | undefined>>>;
|
|
2878
|
-
},
|
|
2878
|
+
}, zod_v4_core167.$strip>;
|
|
2879
2879
|
};
|
|
2880
2880
|
getRoutingPath: () => "/delete-user/callback";
|
|
2881
2881
|
};
|
|
@@ -2885,10 +2885,10 @@ declare const changeEmailRoute: {
|
|
|
2885
2885
|
description: string;
|
|
2886
2886
|
content: {
|
|
2887
2887
|
"application/json": {
|
|
2888
|
-
schema:
|
|
2888
|
+
schema: zod_v4_core167.$ZodBranded<zod675.ZodObject<{
|
|
2889
2889
|
success: zod675.ZodLiteral<true>;
|
|
2890
2890
|
message: zod675.ZodOptional<zod675.ZodString>;
|
|
2891
|
-
},
|
|
2891
|
+
}, zod_v4_core167.$strip>, "success">;
|
|
2892
2892
|
};
|
|
2893
2893
|
};
|
|
2894
2894
|
};
|
|
@@ -2897,11 +2897,11 @@ declare const changeEmailRoute: {
|
|
|
2897
2897
|
description: string;
|
|
2898
2898
|
content: {
|
|
2899
2899
|
"application/json": {
|
|
2900
|
-
schema:
|
|
2900
|
+
schema: zod_v4_core167.$ZodBranded<zod675.ZodObject<{
|
|
2901
2901
|
success: zod675.ZodLiteral<false>;
|
|
2902
2902
|
code: zod675.ZodOptional<zod675.ZodString>;
|
|
2903
2903
|
message: zod675.ZodOptional<zod675.ZodString>;
|
|
2904
|
-
},
|
|
2904
|
+
}, zod_v4_core167.$strip>, "error">;
|
|
2905
2905
|
};
|
|
2906
2906
|
};
|
|
2907
2907
|
};
|
|
@@ -2922,7 +2922,7 @@ declare const changeEmailRoute: {
|
|
|
2922
2922
|
errors: string[];
|
|
2923
2923
|
};
|
|
2924
2924
|
};
|
|
2925
|
-
}, unknown,
|
|
2925
|
+
}, unknown, zod_v4_core167.$ZodTypeInternals<{
|
|
2926
2926
|
success: false;
|
|
2927
2927
|
} & {
|
|
2928
2928
|
errors: string[];
|
|
@@ -2942,12 +2942,12 @@ declare const changeEmailRoute: {
|
|
|
2942
2942
|
operationId: "changeEmail";
|
|
2943
2943
|
path: "/change-email";
|
|
2944
2944
|
method: "post";
|
|
2945
|
-
middleware: [(ctx:
|
|
2945
|
+
middleware: [(ctx: hono131.Context<ContextVars<{
|
|
2946
2946
|
session: {
|
|
2947
|
-
session:
|
|
2947
|
+
session: _faire_auth_core_db14.Session;
|
|
2948
2948
|
user: User;
|
|
2949
2949
|
};
|
|
2950
|
-
}>, string, {}>, next:
|
|
2950
|
+
}>, string, {}>, next: hono131.Next) => Promise<void | (Response & hono131.TypedResponse<{
|
|
2951
2951
|
success: false;
|
|
2952
2952
|
code?: string | undefined;
|
|
2953
2953
|
message?: string | undefined;
|
|
@@ -2960,7 +2960,7 @@ declare const changeEmailRoute: {
|
|
|
2960
2960
|
schema: zod675.ZodObject<{
|
|
2961
2961
|
newEmail: zod675.ZodEmail;
|
|
2962
2962
|
callbackURL: zod675.ZodOptional<zod675.ZodPipe<zod675.ZodPipe<zod675.ZodTransform<string | undefined, string | undefined>, zod675.ZodOptional<zod675.ZodURL>>, zod675.ZodTransform<string | undefined, string | undefined>>>;
|
|
2963
|
-
},
|
|
2963
|
+
}, zod_v4_core167.$strip>;
|
|
2964
2964
|
};
|
|
2965
2965
|
};
|
|
2966
2966
|
required: true;
|
|
@@ -3035,10 +3035,10 @@ declare const okRoute: {
|
|
|
3035
3035
|
description: string;
|
|
3036
3036
|
content: {
|
|
3037
3037
|
"application/json": {
|
|
3038
|
-
schema:
|
|
3038
|
+
schema: zod_v4_core167.$ZodBranded<zod675.ZodObject<{
|
|
3039
3039
|
success: zod675.ZodLiteral<true>;
|
|
3040
3040
|
message: zod675.ZodOptional<zod675.ZodString>;
|
|
3041
|
-
},
|
|
3041
|
+
}, zod_v4_core167.$strip>, "success">;
|
|
3042
3042
|
};
|
|
3043
3043
|
};
|
|
3044
3044
|
};
|
|
@@ -3058,10 +3058,10 @@ declare const signUpEmailRoute: {
|
|
|
3058
3058
|
description: string;
|
|
3059
3059
|
content: {
|
|
3060
3060
|
"application/json": {
|
|
3061
|
-
schema:
|
|
3061
|
+
schema: zod_v4_core167.$ZodBranded<zod675.ZodPipe<zod675.ZodIntersection<zod675.ZodDiscriminatedUnion<[zod675.ZodObject<{
|
|
3062
3062
|
success: zod675.ZodLiteral<true>;
|
|
3063
3063
|
token: zod675.ZodDefault<zod675.ZodNullable<zod675.ZodString>>;
|
|
3064
|
-
user:
|
|
3064
|
+
user: zod_v4_core167.$ZodBranded<zod675.ZodObject<{
|
|
3065
3065
|
id: zod675.ZodString;
|
|
3066
3066
|
createdAt: zod675.ZodDefault<zod675.ZodPipe<zod675.ZodUnion<[zod675.ZodDate, zod675.ZodISODateTime]>, zod675.ZodTransform<Date, string | Date>>>;
|
|
3067
3067
|
updatedAt: zod675.ZodDefault<zod675.ZodPipe<zod675.ZodUnion<[zod675.ZodDate, zod675.ZodISODateTime]>, zod675.ZodTransform<Date, string | Date>>>;
|
|
@@ -3069,18 +3069,18 @@ declare const signUpEmailRoute: {
|
|
|
3069
3069
|
emailVerified: zod675.ZodDefault<zod675.ZodCoercedBoolean<unknown>>;
|
|
3070
3070
|
name: zod675.ZodOptional<zod675.ZodString>;
|
|
3071
3071
|
image: zod675.ZodNullable<zod675.ZodOptional<zod675.ZodPipe<zod675.ZodPipe<zod675.ZodTransform<string | undefined, string | undefined>, zod675.ZodOptional<zod675.ZodURL>>, zod675.ZodTransform<string | undefined, string | undefined>>>>;
|
|
3072
|
-
},
|
|
3073
|
-
},
|
|
3072
|
+
}, zod_v4_core167.$loose>, "user">;
|
|
3073
|
+
}, zod_v4_core167.$strip>, zod675.ZodObject<{
|
|
3074
3074
|
success: zod675.ZodLiteral<false>;
|
|
3075
3075
|
token: zod675.ZodDefault<zod675.ZodNull>;
|
|
3076
3076
|
user: zod675.ZodDefault<zod675.ZodNull>;
|
|
3077
|
-
},
|
|
3077
|
+
}, zod_v4_core167.$strip>], "success">, zod675.ZodDiscriminatedUnion<[zod675.ZodObject<{
|
|
3078
3078
|
redirect: zod675.ZodLiteral<false>;
|
|
3079
3079
|
url: zod675.ZodDefault<zod675.ZodNull>;
|
|
3080
|
-
},
|
|
3080
|
+
}, zod_v4_core167.$strip>, zod675.ZodObject<{
|
|
3081
3081
|
redirect: zod675.ZodLiteral<true>;
|
|
3082
3082
|
url: zod675.ZodURL;
|
|
3083
|
-
},
|
|
3083
|
+
}, zod_v4_core167.$strip>], "redirect">>, zod675.ZodTransform<{
|
|
3084
3084
|
success: true;
|
|
3085
3085
|
data: ({
|
|
3086
3086
|
success: true;
|
|
@@ -3138,11 +3138,11 @@ declare const signUpEmailRoute: {
|
|
|
3138
3138
|
description: string;
|
|
3139
3139
|
content: {
|
|
3140
3140
|
"application/json": {
|
|
3141
|
-
schema:
|
|
3141
|
+
schema: zod_v4_core167.$ZodBranded<zod675.ZodObject<{
|
|
3142
3142
|
success: zod675.ZodLiteral<false>;
|
|
3143
3143
|
code: zod675.ZodOptional<zod675.ZodString>;
|
|
3144
3144
|
message: zod675.ZodOptional<zod675.ZodString>;
|
|
3145
|
-
},
|
|
3145
|
+
}, zod_v4_core167.$strip>, "error">;
|
|
3146
3146
|
};
|
|
3147
3147
|
};
|
|
3148
3148
|
};
|
|
@@ -3178,7 +3178,7 @@ declare const signUpEmailRoute: {
|
|
|
3178
3178
|
errors: string[];
|
|
3179
3179
|
};
|
|
3180
3180
|
};
|
|
3181
|
-
}, unknown,
|
|
3181
|
+
}, unknown, zod_v4_core167.$ZodTypeInternals<{
|
|
3182
3182
|
success: false;
|
|
3183
3183
|
} & {
|
|
3184
3184
|
errors: string[];
|
|
@@ -3225,7 +3225,7 @@ declare const signUpEmailRoute: {
|
|
|
3225
3225
|
image: zod675.ZodOptional<zod675.ZodNullable<zod675.ZodURL>>;
|
|
3226
3226
|
callbackURL: zod675.ZodOptional<zod675.ZodPipe<zod675.ZodPipe<zod675.ZodTransform<string | undefined, string | undefined>, zod675.ZodOptional<zod675.ZodURL>>, zod675.ZodTransform<string | undefined, string | undefined>>>;
|
|
3227
3227
|
rememberMe: zod675.ZodDefault<zod675.ZodBoolean>;
|
|
3228
|
-
},
|
|
3228
|
+
}, zod_v4_core167.$loose>;
|
|
3229
3229
|
};
|
|
3230
3230
|
};
|
|
3231
3231
|
required: true;
|
|
@@ -3241,14 +3241,14 @@ declare const listAccountsRoute: {
|
|
|
3241
3241
|
description: string;
|
|
3242
3242
|
content: {
|
|
3243
3243
|
"application/json": {
|
|
3244
|
-
schema:
|
|
3244
|
+
schema: zod_v4_core167.$ZodBranded<zod675.ZodPipe<zod675.ZodArray<zod675.ZodObject<{
|
|
3245
3245
|
id: zod675.ZodString;
|
|
3246
3246
|
createdAt: zod675.ZodDefault<zod675.ZodPipe<zod675.ZodUnion<[zod675.ZodDate, zod675.ZodISODateTime]>, zod675.ZodTransform<Date, string | Date>>>;
|
|
3247
3247
|
updatedAt: zod675.ZodDefault<zod675.ZodPipe<zod675.ZodUnion<[zod675.ZodDate, zod675.ZodISODateTime]>, zod675.ZodTransform<Date, string | Date>>>;
|
|
3248
3248
|
providerId: zod675.ZodString;
|
|
3249
3249
|
accountId: zod675.ZodPipe<zod675.ZodUnion<[zod675.ZodString, zod675.ZodNumber]>, zod675.ZodTransform<string, string | number>>;
|
|
3250
3250
|
scopes: zod675.ZodPipe<zod675.ZodUnion<[zod675.ZodString, zod675.ZodArray<zod675.ZodString>]>, zod675.ZodTransform<string[], string | string[]>>;
|
|
3251
|
-
},
|
|
3251
|
+
}, zod_v4_core167.$loose>>, zod675.ZodTransform<{
|
|
3252
3252
|
success: true;
|
|
3253
3253
|
data: {
|
|
3254
3254
|
[x: string]: unknown;
|
|
@@ -3275,7 +3275,7 @@ declare const listAccountsRoute: {
|
|
|
3275
3275
|
operationId: "listAccounts";
|
|
3276
3276
|
path: "/list-accounts";
|
|
3277
3277
|
method: "get";
|
|
3278
|
-
middleware: [(ctx:
|
|
3278
|
+
middleware: [(ctx: hono131.Context<ContextVars<object & {
|
|
3279
3279
|
session: {
|
|
3280
3280
|
session: {
|
|
3281
3281
|
[x: string]: unknown;
|
|
@@ -3299,7 +3299,7 @@ declare const listAccountsRoute: {
|
|
|
3299
3299
|
image?: string | null;
|
|
3300
3300
|
};
|
|
3301
3301
|
};
|
|
3302
|
-
}>, string, {}>, next:
|
|
3302
|
+
}>, string, {}>, next: hono131.Next) => Promise<void | (Response & hono131.TypedResponse<{
|
|
3303
3303
|
success: false;
|
|
3304
3304
|
code?: string | undefined;
|
|
3305
3305
|
message?: string | undefined;
|
|
@@ -3312,13 +3312,13 @@ declare const linkAccountRoute: {
|
|
|
3312
3312
|
description: string;
|
|
3313
3313
|
content: {
|
|
3314
3314
|
"application/json": {
|
|
3315
|
-
schema:
|
|
3315
|
+
schema: zod_v4_core167.$ZodBranded<zod675.ZodPipe<zod675.ZodDiscriminatedUnion<[zod675.ZodObject<{
|
|
3316
3316
|
redirect: zod675.ZodLiteral<false>;
|
|
3317
3317
|
url: zod675.ZodDefault<zod675.ZodNull>;
|
|
3318
|
-
},
|
|
3318
|
+
}, zod_v4_core167.$strip>, zod675.ZodObject<{
|
|
3319
3319
|
redirect: zod675.ZodLiteral<true>;
|
|
3320
3320
|
url: zod675.ZodURL;
|
|
3321
|
-
},
|
|
3321
|
+
}, zod_v4_core167.$strip>], "redirect">, zod675.ZodTransform<{
|
|
3322
3322
|
success: true;
|
|
3323
3323
|
data: {
|
|
3324
3324
|
redirect: false;
|
|
@@ -3342,11 +3342,11 @@ declare const linkAccountRoute: {
|
|
|
3342
3342
|
description: string;
|
|
3343
3343
|
content: {
|
|
3344
3344
|
"application/json": {
|
|
3345
|
-
schema:
|
|
3345
|
+
schema: zod_v4_core167.$ZodBranded<zod675.ZodObject<{
|
|
3346
3346
|
success: zod675.ZodLiteral<false>;
|
|
3347
3347
|
code: zod675.ZodOptional<zod675.ZodString>;
|
|
3348
3348
|
message: zod675.ZodOptional<zod675.ZodString>;
|
|
3349
|
-
},
|
|
3349
|
+
}, zod_v4_core167.$strip>, "error">;
|
|
3350
3350
|
};
|
|
3351
3351
|
};
|
|
3352
3352
|
};
|
|
@@ -3355,11 +3355,11 @@ declare const linkAccountRoute: {
|
|
|
3355
3355
|
description: string;
|
|
3356
3356
|
content: {
|
|
3357
3357
|
"application/json": {
|
|
3358
|
-
schema:
|
|
3358
|
+
schema: zod_v4_core167.$ZodBranded<zod675.ZodObject<{
|
|
3359
3359
|
success: zod675.ZodLiteral<false>;
|
|
3360
3360
|
code: zod675.ZodOptional<zod675.ZodString>;
|
|
3361
3361
|
message: zod675.ZodOptional<zod675.ZodString>;
|
|
3362
|
-
},
|
|
3362
|
+
}, zod_v4_core167.$strip>, "error">;
|
|
3363
3363
|
};
|
|
3364
3364
|
};
|
|
3365
3365
|
};
|
|
@@ -3368,11 +3368,11 @@ declare const linkAccountRoute: {
|
|
|
3368
3368
|
description: string;
|
|
3369
3369
|
content: {
|
|
3370
3370
|
"application/json": {
|
|
3371
|
-
schema:
|
|
3371
|
+
schema: zod_v4_core167.$ZodBranded<zod675.ZodObject<{
|
|
3372
3372
|
success: zod675.ZodLiteral<false>;
|
|
3373
3373
|
code: zod675.ZodOptional<zod675.ZodString>;
|
|
3374
3374
|
message: zod675.ZodOptional<zod675.ZodString>;
|
|
3375
|
-
},
|
|
3375
|
+
}, zod_v4_core167.$strip>, "error">;
|
|
3376
3376
|
};
|
|
3377
3377
|
};
|
|
3378
3378
|
};
|
|
@@ -3431,7 +3431,7 @@ declare const linkAccountRoute: {
|
|
|
3431
3431
|
errors: string[];
|
|
3432
3432
|
};
|
|
3433
3433
|
};
|
|
3434
|
-
}, unknown,
|
|
3434
|
+
}, unknown, zod_v4_core167.$ZodTypeInternals<{
|
|
3435
3435
|
success: false;
|
|
3436
3436
|
} & {
|
|
3437
3437
|
errors: string[];
|
|
@@ -3489,7 +3489,7 @@ declare const linkAccountRoute: {
|
|
|
3489
3489
|
operationId: "linkAccount";
|
|
3490
3490
|
path: "/link-social";
|
|
3491
3491
|
method: "post";
|
|
3492
|
-
middleware: [(ctx:
|
|
3492
|
+
middleware: [(ctx: hono131.Context<ContextVars<object & {
|
|
3493
3493
|
session: {
|
|
3494
3494
|
session: {
|
|
3495
3495
|
[x: string]: unknown;
|
|
@@ -3513,7 +3513,7 @@ declare const linkAccountRoute: {
|
|
|
3513
3513
|
image?: string | null;
|
|
3514
3514
|
};
|
|
3515
3515
|
};
|
|
3516
|
-
}>, string, {}>, next:
|
|
3516
|
+
}>, string, {}>, next: hono131.Next) => Promise<void | (Response & hono131.TypedResponse<{
|
|
3517
3517
|
success: false;
|
|
3518
3518
|
code?: string | undefined;
|
|
3519
3519
|
message?: string | undefined;
|
|
@@ -3525,17 +3525,17 @@ declare const linkAccountRoute: {
|
|
|
3525
3525
|
"application/json": {
|
|
3526
3526
|
schema: zod675.ZodObject<{
|
|
3527
3527
|
callbackURL: zod675.ZodOptional<zod675.ZodPipe<zod675.ZodPipe<zod675.ZodTransform<string | undefined, string | undefined>, zod675.ZodOptional<zod675.ZodURL>>, zod675.ZodTransform<string | undefined, string | undefined>>>;
|
|
3528
|
-
provider: zod675.ZodType<_faire_auth_core_social_providers25.SocialProvider, _faire_auth_core_social_providers25.SocialProvider,
|
|
3528
|
+
provider: zod675.ZodType<_faire_auth_core_social_providers25.SocialProvider, _faire_auth_core_social_providers25.SocialProvider, zod_v4_core167.$ZodTypeInternals<_faire_auth_core_social_providers25.SocialProvider, _faire_auth_core_social_providers25.SocialProvider>>;
|
|
3529
3529
|
idToken: zod675.ZodOptional<zod675.ZodObject<{
|
|
3530
3530
|
token: zod675.ZodString;
|
|
3531
3531
|
nonce: zod675.ZodOptional<zod675.ZodString>;
|
|
3532
3532
|
accessToken: zod675.ZodOptional<zod675.ZodString>;
|
|
3533
3533
|
refreshToken: zod675.ZodOptional<zod675.ZodString>;
|
|
3534
3534
|
scopes: zod675.ZodOptional<zod675.ZodArray<zod675.ZodString>>;
|
|
3535
|
-
},
|
|
3535
|
+
}, zod_v4_core167.$strip>>;
|
|
3536
3536
|
scopes: zod675.ZodOptional<zod675.ZodArray<zod675.ZodString>>;
|
|
3537
3537
|
errorCallbackURL: zod675.ZodOptional<zod675.ZodPipe<zod675.ZodPipe<zod675.ZodTransform<string | undefined, string | undefined>, zod675.ZodOptional<zod675.ZodURL>>, zod675.ZodTransform<string | undefined, string | undefined>>>;
|
|
3538
|
-
},
|
|
3538
|
+
}, zod_v4_core167.$strip>;
|
|
3539
3539
|
};
|
|
3540
3540
|
};
|
|
3541
3541
|
required: true;
|
|
@@ -3549,10 +3549,10 @@ declare const unlinkAccountRoute: {
|
|
|
3549
3549
|
description: string;
|
|
3550
3550
|
content: {
|
|
3551
3551
|
"application/json": {
|
|
3552
|
-
schema:
|
|
3552
|
+
schema: zod_v4_core167.$ZodBranded<zod675.ZodObject<{
|
|
3553
3553
|
success: zod675.ZodLiteral<true>;
|
|
3554
3554
|
message: zod675.ZodOptional<zod675.ZodString>;
|
|
3555
|
-
},
|
|
3555
|
+
}, zod_v4_core167.$strip>, "success">;
|
|
3556
3556
|
};
|
|
3557
3557
|
};
|
|
3558
3558
|
};
|
|
@@ -3561,11 +3561,11 @@ declare const unlinkAccountRoute: {
|
|
|
3561
3561
|
description: string;
|
|
3562
3562
|
content: {
|
|
3563
3563
|
"application/json": {
|
|
3564
|
-
schema:
|
|
3564
|
+
schema: zod_v4_core167.$ZodBranded<zod675.ZodObject<{
|
|
3565
3565
|
success: zod675.ZodLiteral<false>;
|
|
3566
3566
|
code: zod675.ZodOptional<zod675.ZodString>;
|
|
3567
3567
|
message: zod675.ZodOptional<zod675.ZodString>;
|
|
3568
|
-
},
|
|
3568
|
+
}, zod_v4_core167.$strip>, "error">;
|
|
3569
3569
|
};
|
|
3570
3570
|
};
|
|
3571
3571
|
};
|
|
@@ -3586,7 +3586,7 @@ declare const unlinkAccountRoute: {
|
|
|
3586
3586
|
errors: string[];
|
|
3587
3587
|
};
|
|
3588
3588
|
};
|
|
3589
|
-
}, unknown,
|
|
3589
|
+
}, unknown, zod_v4_core167.$ZodTypeInternals<{
|
|
3590
3590
|
success: false;
|
|
3591
3591
|
} & {
|
|
3592
3592
|
errors: string[];
|
|
@@ -3606,16 +3606,16 @@ declare const unlinkAccountRoute: {
|
|
|
3606
3606
|
operationId: "unlinkAccount";
|
|
3607
3607
|
path: "/unlink-account";
|
|
3608
3608
|
method: "post";
|
|
3609
|
-
middleware: [(ctx:
|
|
3609
|
+
middleware: [(ctx: hono131.Context<ContextVars<{
|
|
3610
3610
|
session: {
|
|
3611
|
-
session:
|
|
3612
|
-
user:
|
|
3611
|
+
session: _faire_auth_core_db14.Session;
|
|
3612
|
+
user: _faire_auth_core_db14.User;
|
|
3613
3613
|
};
|
|
3614
|
-
}>, string, {}>, next:
|
|
3614
|
+
}>, string, {}>, next: hono131.Next) => Promise<void | (Response & hono131.TypedResponse<{
|
|
3615
3615
|
success: false;
|
|
3616
3616
|
code?: string | undefined;
|
|
3617
3617
|
message?: string | undefined;
|
|
3618
|
-
}, 401>) |
|
|
3618
|
+
}, 401>) | _faire_auth_core_types81.JSONRespondReturn<{
|
|
3619
3619
|
success: false;
|
|
3620
3620
|
code?: string | undefined;
|
|
3621
3621
|
message?: string | undefined;
|
|
@@ -3628,7 +3628,7 @@ declare const unlinkAccountRoute: {
|
|
|
3628
3628
|
schema: zod675.ZodObject<{
|
|
3629
3629
|
providerId: zod675.ZodString;
|
|
3630
3630
|
accountId: zod675.ZodOptional<zod675.ZodString>;
|
|
3631
|
-
},
|
|
3631
|
+
}, zod_v4_core167.$strip>;
|
|
3632
3632
|
};
|
|
3633
3633
|
};
|
|
3634
3634
|
required: true;
|
|
@@ -3642,7 +3642,7 @@ declare const getAccessTokenRoute: {
|
|
|
3642
3642
|
description: string;
|
|
3643
3643
|
content: {
|
|
3644
3644
|
"application/json": {
|
|
3645
|
-
schema:
|
|
3645
|
+
schema: zod_v4_core167.$ZodBranded<zod675.ZodPipe<zod675.ZodObject<{
|
|
3646
3646
|
tokenType: zod675.ZodOptional<zod675.ZodString>;
|
|
3647
3647
|
accessToken: zod675.ZodOptional<zod675.ZodString>;
|
|
3648
3648
|
refreshToken: zod675.ZodOptional<zod675.ZodString>;
|
|
@@ -3650,7 +3650,7 @@ declare const getAccessTokenRoute: {
|
|
|
3650
3650
|
refreshTokenExpiresAt: zod675.ZodOptional<zod675.ZodPipe<zod675.ZodUnion<[zod675.ZodDate, zod675.ZodISODateTime]>, zod675.ZodTransform<Date, string | Date>>>;
|
|
3651
3651
|
scopes: zod675.ZodOptional<zod675.ZodPipe<zod675.ZodUnion<[zod675.ZodString, zod675.ZodArray<zod675.ZodString>]>, zod675.ZodTransform<string[], string | string[]>>>;
|
|
3652
3652
|
idToken: zod675.ZodOptional<zod675.ZodString>;
|
|
3653
|
-
},
|
|
3653
|
+
}, zod_v4_core167.$strip>, zod675.ZodTransform<{
|
|
3654
3654
|
success: true;
|
|
3655
3655
|
data: {
|
|
3656
3656
|
tokenType?: string | undefined;
|
|
@@ -3678,11 +3678,11 @@ declare const getAccessTokenRoute: {
|
|
|
3678
3678
|
description: string;
|
|
3679
3679
|
content: {
|
|
3680
3680
|
"application/json": {
|
|
3681
|
-
schema:
|
|
3681
|
+
schema: zod_v4_core167.$ZodBranded<zod675.ZodObject<{
|
|
3682
3682
|
success: zod675.ZodLiteral<false>;
|
|
3683
3683
|
code: zod675.ZodOptional<zod675.ZodString>;
|
|
3684
3684
|
message: zod675.ZodOptional<zod675.ZodString>;
|
|
3685
|
-
},
|
|
3685
|
+
}, zod_v4_core167.$strip>, "error">;
|
|
3686
3686
|
};
|
|
3687
3687
|
};
|
|
3688
3688
|
};
|
|
@@ -3706,7 +3706,7 @@ declare const getAccessTokenRoute: {
|
|
|
3706
3706
|
errors: string[];
|
|
3707
3707
|
};
|
|
3708
3708
|
};
|
|
3709
|
-
}, unknown,
|
|
3709
|
+
}, unknown, zod_v4_core167.$ZodTypeInternals<{
|
|
3710
3710
|
success: false;
|
|
3711
3711
|
} & {
|
|
3712
3712
|
errors: string[];
|
|
@@ -3729,12 +3729,12 @@ declare const getAccessTokenRoute: {
|
|
|
3729
3729
|
operationId: "getAccessToken";
|
|
3730
3730
|
path: "/get-access-token";
|
|
3731
3731
|
method: "post";
|
|
3732
|
-
middleware: [(ctx:
|
|
3732
|
+
middleware: [(ctx: hono131.Context<ContextVars<{
|
|
3733
3733
|
session?: {
|
|
3734
|
-
session:
|
|
3735
|
-
user:
|
|
3734
|
+
session: _faire_auth_core_db14.Session;
|
|
3735
|
+
user: _faire_auth_core_db14.User;
|
|
3736
3736
|
};
|
|
3737
|
-
}>, string, {}>, next:
|
|
3737
|
+
}>, string, {}>, next: hono131.Next) => Promise<void | (Response & hono131.TypedResponse<{
|
|
3738
3738
|
success: false;
|
|
3739
3739
|
code?: string | undefined;
|
|
3740
3740
|
message?: string | undefined;
|
|
@@ -3748,7 +3748,7 @@ declare const getAccessTokenRoute: {
|
|
|
3748
3748
|
providerId: zod675.ZodString;
|
|
3749
3749
|
accountId: zod675.ZodOptional<zod675.ZodString>;
|
|
3750
3750
|
userId: zod675.ZodOptional<zod675.ZodString>;
|
|
3751
|
-
},
|
|
3751
|
+
}, zod_v4_core167.$strip>;
|
|
3752
3752
|
};
|
|
3753
3753
|
};
|
|
3754
3754
|
required: true;
|
|
@@ -3762,7 +3762,7 @@ declare const refreshAccessTokenRoute: {
|
|
|
3762
3762
|
description: string;
|
|
3763
3763
|
content: {
|
|
3764
3764
|
"application/json": {
|
|
3765
|
-
schema:
|
|
3765
|
+
schema: zod_v4_core167.$ZodBranded<zod675.ZodPipe<zod675.ZodObject<{
|
|
3766
3766
|
tokenType: zod675.ZodOptional<zod675.ZodString>;
|
|
3767
3767
|
accessToken: zod675.ZodOptional<zod675.ZodString>;
|
|
3768
3768
|
refreshToken: zod675.ZodOptional<zod675.ZodString>;
|
|
@@ -3770,7 +3770,7 @@ declare const refreshAccessTokenRoute: {
|
|
|
3770
3770
|
refreshTokenExpiresAt: zod675.ZodOptional<zod675.ZodPipe<zod675.ZodUnion<[zod675.ZodDate, zod675.ZodISODateTime]>, zod675.ZodTransform<Date, string | Date>>>;
|
|
3771
3771
|
scopes: zod675.ZodOptional<zod675.ZodPipe<zod675.ZodUnion<[zod675.ZodString, zod675.ZodArray<zod675.ZodString>]>, zod675.ZodTransform<string[], string | string[]>>>;
|
|
3772
3772
|
idToken: zod675.ZodOptional<zod675.ZodString>;
|
|
3773
|
-
},
|
|
3773
|
+
}, zod_v4_core167.$strip>, zod675.ZodTransform<{
|
|
3774
3774
|
success: true;
|
|
3775
3775
|
data: {
|
|
3776
3776
|
tokenType?: string | undefined;
|
|
@@ -3798,11 +3798,11 @@ declare const refreshAccessTokenRoute: {
|
|
|
3798
3798
|
description: string;
|
|
3799
3799
|
content: {
|
|
3800
3800
|
"application/json": {
|
|
3801
|
-
schema:
|
|
3801
|
+
schema: zod_v4_core167.$ZodBranded<zod675.ZodObject<{
|
|
3802
3802
|
success: zod675.ZodLiteral<false>;
|
|
3803
3803
|
code: zod675.ZodOptional<zod675.ZodString>;
|
|
3804
3804
|
message: zod675.ZodOptional<zod675.ZodString>;
|
|
3805
|
-
},
|
|
3805
|
+
}, zod_v4_core167.$strip>, "error">;
|
|
3806
3806
|
};
|
|
3807
3807
|
};
|
|
3808
3808
|
};
|
|
@@ -3826,7 +3826,7 @@ declare const refreshAccessTokenRoute: {
|
|
|
3826
3826
|
errors: string[];
|
|
3827
3827
|
};
|
|
3828
3828
|
};
|
|
3829
|
-
}, unknown,
|
|
3829
|
+
}, unknown, zod_v4_core167.$ZodTypeInternals<{
|
|
3830
3830
|
success: false;
|
|
3831
3831
|
} & {
|
|
3832
3832
|
errors: string[];
|
|
@@ -3849,7 +3849,7 @@ declare const refreshAccessTokenRoute: {
|
|
|
3849
3849
|
operationId: "refreshAccessToken";
|
|
3850
3850
|
path: "/refresh-token";
|
|
3851
3851
|
method: "post";
|
|
3852
|
-
middleware: [(ctx:
|
|
3852
|
+
middleware: [(ctx: hono131.Context<ContextVars<object & {
|
|
3853
3853
|
session: {
|
|
3854
3854
|
session: {
|
|
3855
3855
|
[x: string]: unknown;
|
|
@@ -3873,7 +3873,7 @@ declare const refreshAccessTokenRoute: {
|
|
|
3873
3873
|
image?: string | null;
|
|
3874
3874
|
};
|
|
3875
3875
|
};
|
|
3876
|
-
}>, string, {}>, next:
|
|
3876
|
+
}>, string, {}>, next: hono131.Next) => Promise<void | (Response & hono131.TypedResponse<{
|
|
3877
3877
|
success: false;
|
|
3878
3878
|
code?: string | undefined;
|
|
3879
3879
|
message?: string | undefined;
|
|
@@ -3887,7 +3887,7 @@ declare const refreshAccessTokenRoute: {
|
|
|
3887
3887
|
providerId: zod675.ZodString;
|
|
3888
3888
|
accountId: zod675.ZodOptional<zod675.ZodString>;
|
|
3889
3889
|
userId: zod675.ZodOptional<zod675.ZodString>;
|
|
3890
|
-
},
|
|
3890
|
+
}, zod_v4_core167.$strip>;
|
|
3891
3891
|
};
|
|
3892
3892
|
};
|
|
3893
3893
|
required: true;
|
|
@@ -3901,16 +3901,16 @@ declare const getAccountInfoRoute: {
|
|
|
3901
3901
|
description: string;
|
|
3902
3902
|
content: {
|
|
3903
3903
|
"application/json": {
|
|
3904
|
-
schema:
|
|
3904
|
+
schema: zod_v4_core167.$ZodBranded<zod675.ZodPipe<zod675.ZodObject<{
|
|
3905
3905
|
user: zod675.ZodObject<{
|
|
3906
3906
|
name: zod675.ZodOptional<zod675.ZodString>;
|
|
3907
3907
|
image: zod675.ZodNullable<zod675.ZodOptional<zod675.ZodPipe<zod675.ZodPipe<zod675.ZodTransform<string | undefined, string | undefined>, zod675.ZodOptional<zod675.ZodURL>>, zod675.ZodTransform<string | undefined, string | undefined>>>>;
|
|
3908
3908
|
emailVerified: zod675.ZodDefault<zod675.ZodCoercedBoolean<unknown>>;
|
|
3909
3909
|
id: zod675.ZodPipe<zod675.ZodUnion<[zod675.ZodString, zod675.ZodNumber]>, zod675.ZodTransform<string, string | number>>;
|
|
3910
3910
|
email: zod675.ZodOptional<zod675.ZodNullable<zod675.ZodEmail>>;
|
|
3911
|
-
},
|
|
3911
|
+
}, zod_v4_core167.$loose>;
|
|
3912
3912
|
data: zod675.ZodRecord<zod675.ZodString, zod675.ZodAny>;
|
|
3913
|
-
},
|
|
3913
|
+
}, zod_v4_core167.$strip>, zod675.ZodTransform<{
|
|
3914
3914
|
success: true;
|
|
3915
3915
|
data: {
|
|
3916
3916
|
user: {
|
|
@@ -3942,11 +3942,11 @@ declare const getAccountInfoRoute: {
|
|
|
3942
3942
|
description: string;
|
|
3943
3943
|
content: {
|
|
3944
3944
|
"application/json": {
|
|
3945
|
-
schema:
|
|
3945
|
+
schema: zod_v4_core167.$ZodBranded<zod675.ZodObject<{
|
|
3946
3946
|
success: zod675.ZodLiteral<false>;
|
|
3947
3947
|
code: zod675.ZodOptional<zod675.ZodString>;
|
|
3948
3948
|
message: zod675.ZodOptional<zod675.ZodString>;
|
|
3949
|
-
},
|
|
3949
|
+
}, zod_v4_core167.$strip>, "error">;
|
|
3950
3950
|
};
|
|
3951
3951
|
};
|
|
3952
3952
|
};
|
|
@@ -3964,7 +3964,7 @@ declare const getAccountInfoRoute: {
|
|
|
3964
3964
|
errors: string[];
|
|
3965
3965
|
};
|
|
3966
3966
|
};
|
|
3967
|
-
}, unknown,
|
|
3967
|
+
}, unknown, zod_v4_core167.$ZodTypeInternals<{
|
|
3968
3968
|
success: false;
|
|
3969
3969
|
} & {
|
|
3970
3970
|
errors: string[];
|
|
@@ -3982,11 +3982,11 @@ declare const getAccountInfoRoute: {
|
|
|
3982
3982
|
description: string;
|
|
3983
3983
|
content: {
|
|
3984
3984
|
"application/json": {
|
|
3985
|
-
schema:
|
|
3985
|
+
schema: zod_v4_core167.$ZodBranded<zod675.ZodObject<{
|
|
3986
3986
|
success: zod675.ZodLiteral<false>;
|
|
3987
3987
|
code: zod675.ZodOptional<zod675.ZodString>;
|
|
3988
3988
|
message: zod675.ZodOptional<zod675.ZodString>;
|
|
3989
|
-
},
|
|
3989
|
+
}, zod_v4_core167.$strip>, "error">;
|
|
3990
3990
|
};
|
|
3991
3991
|
};
|
|
3992
3992
|
};
|
|
@@ -3994,7 +3994,7 @@ declare const getAccountInfoRoute: {
|
|
|
3994
3994
|
operationId: "getAccountInfo";
|
|
3995
3995
|
path: "/account-info";
|
|
3996
3996
|
method: "post";
|
|
3997
|
-
middleware: [(ctx:
|
|
3997
|
+
middleware: [(ctx: hono131.Context<ContextVars<object & {
|
|
3998
3998
|
session: {
|
|
3999
3999
|
session: {
|
|
4000
4000
|
[x: string]: unknown;
|
|
@@ -4018,7 +4018,7 @@ declare const getAccountInfoRoute: {
|
|
|
4018
4018
|
image?: string | null;
|
|
4019
4019
|
};
|
|
4020
4020
|
};
|
|
4021
|
-
}>, string, {}>, next:
|
|
4021
|
+
}>, string, {}>, next: hono131.Next) => Promise<void | (Response & hono131.TypedResponse<{
|
|
4022
4022
|
success: false;
|
|
4023
4023
|
code?: string | undefined;
|
|
4024
4024
|
message?: string | undefined;
|
|
@@ -4030,7 +4030,7 @@ declare const getAccountInfoRoute: {
|
|
|
4030
4030
|
"application/json": {
|
|
4031
4031
|
schema: zod675.ZodObject<{
|
|
4032
4032
|
accountId: zod675.ZodString;
|
|
4033
|
-
},
|
|
4033
|
+
}, zod_v4_core167.$strip>;
|
|
4034
4034
|
};
|
|
4035
4035
|
};
|
|
4036
4036
|
required: true;
|
|
@@ -4387,7 +4387,7 @@ declare function getTelemetryAuthConfig(options: FaireAuthOptions$1, context?: T
|
|
|
4387
4387
|
disableSignUp: boolean | undefined;
|
|
4388
4388
|
getUserInfo: boolean;
|
|
4389
4389
|
overrideUserInfoOnSignIn: boolean;
|
|
4390
|
-
prompt: "
|
|
4390
|
+
prompt: "select_account" | "consent" | "login" | "none" | "select_account consent" | undefined;
|
|
4391
4391
|
verifyIdToken: boolean;
|
|
4392
4392
|
scope: string[] | undefined;
|
|
4393
4393
|
refreshAccessToken: boolean;
|
|
@@ -4397,7 +4397,7 @@ declare function getTelemetryAuthConfig(options: FaireAuthOptions$1, context?: T
|
|
|
4397
4397
|
modelName: string | undefined;
|
|
4398
4398
|
fields: Partial<Record<"createdAt" | "updatedAt" | "email" | "emailVerified" | "name" | "image", string>> | undefined;
|
|
4399
4399
|
additionalFields: {
|
|
4400
|
-
[key: string]:
|
|
4400
|
+
[key: string]: _faire_auth_core_db14.DBFieldAttribute;
|
|
4401
4401
|
} | undefined;
|
|
4402
4402
|
changeEmail: {
|
|
4403
4403
|
enabled: boolean | undefined;
|
|
@@ -4412,7 +4412,7 @@ declare function getTelemetryAuthConfig(options: FaireAuthOptions$1, context?: T
|
|
|
4412
4412
|
session: {
|
|
4413
4413
|
modelName: string | undefined;
|
|
4414
4414
|
additionalFields: {
|
|
4415
|
-
[key: string]:
|
|
4415
|
+
[key: string]: _faire_auth_core_db14.DBFieldAttribute;
|
|
4416
4416
|
} | undefined;
|
|
4417
4417
|
cookieCache: {
|
|
4418
4418
|
enabled: boolean | undefined;
|
|
@@ -4428,12 +4428,12 @@ declare function getTelemetryAuthConfig(options: FaireAuthOptions$1, context?: T
|
|
|
4428
4428
|
};
|
|
4429
4429
|
account: {
|
|
4430
4430
|
modelName: string | undefined;
|
|
4431
|
-
fields: Partial<Record<"createdAt" | "updatedAt" | "
|
|
4431
|
+
fields: Partial<Record<"createdAt" | "updatedAt" | "userId" | "password" | "providerId" | "accountId" | "accessToken" | "refreshToken" | "accessTokenExpiresAt" | "refreshTokenExpiresAt" | "idToken" | "scope", string>> | undefined;
|
|
4432
4432
|
encryptOAuthTokens: boolean | undefined;
|
|
4433
4433
|
updateAccountOnSignIn: boolean | undefined;
|
|
4434
4434
|
accountLinking: {
|
|
4435
4435
|
enabled: boolean | undefined;
|
|
4436
|
-
trustedProviders:
|
|
4436
|
+
trustedProviders: _faire_auth_core_types81.LiteralStringUnion<"apple" | "atlassian" | "cognito" | "discord" | "facebook" | "figma" | "github" | "microsoft" | "google" | "huggingface" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linear" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "salesforce" | "vk" | "zoom" | "notion" | "kakao" | "naver" | "line" | "paypal" | "email-password">[] | undefined;
|
|
4437
4437
|
updateUserInfoOnLink: boolean | undefined;
|
|
4438
4438
|
allowUnlinkingAll: boolean | undefined;
|
|
4439
4439
|
};
|
|
@@ -4453,7 +4453,7 @@ declare function getTelemetryAuthConfig(options: FaireAuthOptions$1, context?: T
|
|
|
4453
4453
|
};
|
|
4454
4454
|
database: {
|
|
4455
4455
|
useNumberId: boolean;
|
|
4456
|
-
generateId: false |
|
|
4456
|
+
generateId: false | _faire_auth_core_types81.GenerateIdFn | undefined;
|
|
4457
4457
|
defaultFindManyLimit: number | undefined;
|
|
4458
4458
|
};
|
|
4459
4459
|
useSecureCookies: boolean | undefined;
|
|
@@ -4465,7 +4465,7 @@ declare function getTelemetryAuthConfig(options: FaireAuthOptions$1, context?: T
|
|
|
4465
4465
|
cookieAttributes: {
|
|
4466
4466
|
expires: Date | undefined;
|
|
4467
4467
|
secure: boolean | undefined;
|
|
4468
|
-
sameSite: "
|
|
4468
|
+
sameSite: "none" | "strict" | "lax" | "Lax" | "None" | "Strict" | undefined;
|
|
4469
4469
|
domain: boolean;
|
|
4470
4470
|
path: string | undefined;
|
|
4471
4471
|
httpOnly: boolean | undefined;
|
|
@@ -4541,18 +4541,18 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
4541
4541
|
json: {
|
|
4542
4542
|
newPassword: string;
|
|
4543
4543
|
};
|
|
4544
|
-
}, ctx?:
|
|
4544
|
+
}, ctx?: hono131.Context<ContextVars<any>, any, {}> | _faire_auth_core_types81.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
4545
4545
|
headers: Headers;
|
|
4546
4546
|
response: {
|
|
4547
4547
|
success: false;
|
|
4548
4548
|
code?: string | undefined;
|
|
4549
4549
|
message?: string | undefined;
|
|
4550
4550
|
} | {
|
|
4551
|
-
success:
|
|
4552
|
-
code?: string | undefined;
|
|
4551
|
+
success: true;
|
|
4553
4552
|
message?: string | undefined;
|
|
4554
4553
|
} | {
|
|
4555
|
-
success:
|
|
4554
|
+
success: false;
|
|
4555
|
+
code?: string | undefined;
|
|
4556
4556
|
message?: string | undefined;
|
|
4557
4557
|
} | {
|
|
4558
4558
|
success: false;
|
|
@@ -4568,11 +4568,11 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
4568
4568
|
code?: string | undefined;
|
|
4569
4569
|
message?: string | undefined;
|
|
4570
4570
|
} | {
|
|
4571
|
-
success:
|
|
4572
|
-
code?: string | undefined;
|
|
4571
|
+
success: true;
|
|
4573
4572
|
message?: string | undefined;
|
|
4574
4573
|
} | {
|
|
4575
|
-
success:
|
|
4574
|
+
success: false;
|
|
4575
|
+
code?: string | undefined;
|
|
4576
4576
|
message?: string | undefined;
|
|
4577
4577
|
} | {
|
|
4578
4578
|
success: false;
|
|
@@ -4588,18 +4588,18 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
4588
4588
|
newEmail: string;
|
|
4589
4589
|
callbackURL?: string | undefined;
|
|
4590
4590
|
};
|
|
4591
|
-
}, ctx?:
|
|
4591
|
+
}, ctx?: hono131.Context<ContextVars<any>, any, {}> | _faire_auth_core_types81.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
4592
4592
|
headers: Headers;
|
|
4593
4593
|
response: {
|
|
4594
4594
|
success: false;
|
|
4595
4595
|
code?: string | undefined;
|
|
4596
4596
|
message?: string | undefined;
|
|
4597
4597
|
} | {
|
|
4598
|
-
success:
|
|
4599
|
-
code?: string | undefined;
|
|
4598
|
+
success: true;
|
|
4600
4599
|
message?: string | undefined;
|
|
4601
4600
|
} | {
|
|
4602
|
-
success:
|
|
4601
|
+
success: false;
|
|
4602
|
+
code?: string | undefined;
|
|
4603
4603
|
message?: string | undefined;
|
|
4604
4604
|
} | {
|
|
4605
4605
|
success: false;
|
|
@@ -4618,11 +4618,11 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
4618
4618
|
code?: string | undefined;
|
|
4619
4619
|
message?: string | undefined;
|
|
4620
4620
|
} | {
|
|
4621
|
-
success:
|
|
4622
|
-
code?: string | undefined;
|
|
4621
|
+
success: true;
|
|
4623
4622
|
message?: string | undefined;
|
|
4624
4623
|
} | {
|
|
4625
|
-
success:
|
|
4624
|
+
success: false;
|
|
4625
|
+
code?: string | undefined;
|
|
4626
4626
|
message?: string | undefined;
|
|
4627
4627
|
} | {
|
|
4628
4628
|
success: false;
|
|
@@ -4642,7 +4642,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
4642
4642
|
currentPassword: string;
|
|
4643
4643
|
revokeOtherSessions?: boolean | undefined;
|
|
4644
4644
|
};
|
|
4645
|
-
}, ctx?:
|
|
4645
|
+
}, ctx?: hono131.Context<ContextVars<any>, any, {}> | _faire_auth_core_types81.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
4646
4646
|
headers: Headers;
|
|
4647
4647
|
response: {
|
|
4648
4648
|
success: false;
|
|
@@ -4786,18 +4786,18 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
4786
4786
|
password?: string | undefined;
|
|
4787
4787
|
token?: string | undefined;
|
|
4788
4788
|
};
|
|
4789
|
-
}, ctx?:
|
|
4789
|
+
}, ctx?: hono131.Context<ContextVars<any>, any, {}> | _faire_auth_core_types81.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
4790
4790
|
headers: Headers;
|
|
4791
4791
|
response: Response | {
|
|
4792
4792
|
success: false;
|
|
4793
4793
|
code?: string | undefined;
|
|
4794
4794
|
message?: string | undefined;
|
|
4795
4795
|
} | {
|
|
4796
|
-
success:
|
|
4797
|
-
code?: string | undefined;
|
|
4796
|
+
success: true;
|
|
4798
4797
|
message?: string | undefined;
|
|
4799
4798
|
} | {
|
|
4800
|
-
success:
|
|
4799
|
+
success: false;
|
|
4800
|
+
code?: string | undefined;
|
|
4801
4801
|
message?: string | undefined;
|
|
4802
4802
|
} | {
|
|
4803
4803
|
success: false;
|
|
@@ -4819,11 +4819,11 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
4819
4819
|
code?: string | undefined;
|
|
4820
4820
|
message?: string | undefined;
|
|
4821
4821
|
} | {
|
|
4822
|
-
success:
|
|
4823
|
-
code?: string | undefined;
|
|
4822
|
+
success: true;
|
|
4824
4823
|
message?: string | undefined;
|
|
4825
4824
|
} | {
|
|
4826
|
-
success:
|
|
4825
|
+
success: false;
|
|
4826
|
+
code?: string | undefined;
|
|
4827
4827
|
message?: string | undefined;
|
|
4828
4828
|
} | {
|
|
4829
4829
|
success: false;
|
|
@@ -4845,18 +4845,18 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
4845
4845
|
token: string;
|
|
4846
4846
|
callbackURL?: string | undefined;
|
|
4847
4847
|
};
|
|
4848
|
-
}, ctx?:
|
|
4848
|
+
}, ctx?: hono131.Context<ContextVars<any>, any, {}> | _faire_auth_core_types81.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
4849
4849
|
headers: Headers;
|
|
4850
4850
|
response: Response | {
|
|
4851
4851
|
success: false;
|
|
4852
4852
|
code?: string | undefined;
|
|
4853
4853
|
message?: string | undefined;
|
|
4854
4854
|
} | {
|
|
4855
|
-
success:
|
|
4856
|
-
code?: string | undefined;
|
|
4855
|
+
success: true;
|
|
4857
4856
|
message?: string | undefined;
|
|
4858
4857
|
} | {
|
|
4859
|
-
success:
|
|
4858
|
+
success: false;
|
|
4859
|
+
code?: string | undefined;
|
|
4860
4860
|
message?: string | undefined;
|
|
4861
4861
|
} | {
|
|
4862
4862
|
success: false;
|
|
@@ -4875,11 +4875,11 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
4875
4875
|
code?: string | undefined;
|
|
4876
4876
|
message?: string | undefined;
|
|
4877
4877
|
} | {
|
|
4878
|
-
success:
|
|
4879
|
-
code?: string | undefined;
|
|
4878
|
+
success: true;
|
|
4880
4879
|
message?: string | undefined;
|
|
4881
4880
|
} | {
|
|
4882
|
-
success:
|
|
4881
|
+
success: false;
|
|
4882
|
+
code?: string | undefined;
|
|
4883
4883
|
message?: string | undefined;
|
|
4884
4884
|
} | {
|
|
4885
4885
|
success: false;
|
|
@@ -4898,7 +4898,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
4898
4898
|
error?: string | undefined;
|
|
4899
4899
|
error_description?: string | undefined;
|
|
4900
4900
|
};
|
|
4901
|
-
}, ctx?:
|
|
4901
|
+
}, ctx?: hono131.Context<ContextVars<any>, any, {}> | _faire_auth_core_types81.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
4902
4902
|
headers: Headers;
|
|
4903
4903
|
response: string | {
|
|
4904
4904
|
success: false;
|
|
@@ -4930,7 +4930,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
4930
4930
|
accountId?: string | undefined;
|
|
4931
4931
|
userId?: string | undefined;
|
|
4932
4932
|
};
|
|
4933
|
-
}, ctx?:
|
|
4933
|
+
}, ctx?: hono131.Context<ContextVars<any>, any, {}> | _faire_auth_core_types81.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
4934
4934
|
headers: Headers;
|
|
4935
4935
|
response: {
|
|
4936
4936
|
success: false;
|
|
@@ -5004,7 +5004,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
5004
5004
|
json: {
|
|
5005
5005
|
accountId: string;
|
|
5006
5006
|
};
|
|
5007
|
-
}, ctx?:
|
|
5007
|
+
}, ctx?: hono131.Context<ContextVars<any>, any, {}> | _faire_auth_core_types81.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
5008
5008
|
headers: Headers;
|
|
5009
5009
|
response: {
|
|
5010
5010
|
success: false;
|
|
@@ -5075,7 +5075,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
5075
5075
|
disableCookieCache?: string | boolean | undefined;
|
|
5076
5076
|
disableRefresh?: string | boolean | undefined;
|
|
5077
5077
|
};
|
|
5078
|
-
}, ctx?:
|
|
5078
|
+
}, ctx?: hono131.Context<ContextVars<any>, any, {}> | _faire_auth_core_types81.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
5079
5079
|
headers: Headers;
|
|
5080
5080
|
response: {
|
|
5081
5081
|
success: false;
|
|
@@ -5173,7 +5173,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
5173
5173
|
scopes?: string[] | undefined;
|
|
5174
5174
|
errorCallbackURL?: string | undefined;
|
|
5175
5175
|
};
|
|
5176
|
-
}, ctx?:
|
|
5176
|
+
}, ctx?: hono131.Context<ContextVars<any>, any, {}> | _faire_auth_core_types81.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
5177
5177
|
headers: Headers;
|
|
5178
5178
|
response: {
|
|
5179
5179
|
success: false;
|
|
@@ -5309,7 +5309,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
5309
5309
|
} | undefined;
|
|
5310
5310
|
} | undefined;
|
|
5311
5311
|
}>;
|
|
5312
|
-
listAccounts: <AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(ctx?:
|
|
5312
|
+
listAccounts: <AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(ctx?: hono131.Context<ContextVars<any>, any, {}> | _faire_auth_core_types81.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
5313
5313
|
headers: Headers;
|
|
5314
5314
|
response: {
|
|
5315
5315
|
success: false;
|
|
@@ -5343,7 +5343,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
5343
5343
|
scopes: string[];
|
|
5344
5344
|
}[];
|
|
5345
5345
|
}>;
|
|
5346
|
-
listSessions: <AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(ctx?:
|
|
5346
|
+
listSessions: <AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(ctx?: hono131.Context<ContextVars<any>, any, {}> | _faire_auth_core_types81.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
5347
5347
|
headers: Headers;
|
|
5348
5348
|
response: {
|
|
5349
5349
|
success: false;
|
|
@@ -5402,7 +5402,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
5402
5402
|
state?: string | undefined;
|
|
5403
5403
|
user?: string | undefined;
|
|
5404
5404
|
};
|
|
5405
|
-
}, ctx?:
|
|
5405
|
+
}, ctx?: hono131.Context<ContextVars<any>, any, {}> | _faire_auth_core_types81.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
5406
5406
|
headers: Headers;
|
|
5407
5407
|
response: Response | {
|
|
5408
5408
|
success: false;
|
|
@@ -5427,7 +5427,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
5427
5427
|
param: {
|
|
5428
5428
|
id: string;
|
|
5429
5429
|
};
|
|
5430
|
-
}, ctx?:
|
|
5430
|
+
}, ctx?: hono131.Context<ContextVars<any>, any, {}> | _faire_auth_core_types81.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
5431
5431
|
headers: Headers;
|
|
5432
5432
|
response: Response | {
|
|
5433
5433
|
success: false;
|
|
@@ -5485,7 +5485,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
5485
5485
|
} | undefined;
|
|
5486
5486
|
} | undefined;
|
|
5487
5487
|
}>;
|
|
5488
|
-
ok: <AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(ctx?:
|
|
5488
|
+
ok: <AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(ctx?: hono131.Context<ContextVars<any>, any, {}> | _faire_auth_core_types81.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
5489
5489
|
headers: Headers;
|
|
5490
5490
|
response: {
|
|
5491
5491
|
success: true;
|
|
@@ -5501,7 +5501,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
5501
5501
|
accountId?: string | undefined;
|
|
5502
5502
|
userId?: string | undefined;
|
|
5503
5503
|
};
|
|
5504
|
-
}, ctx?:
|
|
5504
|
+
}, ctx?: hono131.Context<ContextVars<any>, any, {}> | _faire_auth_core_types81.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
5505
5505
|
headers: Headers;
|
|
5506
5506
|
response: {
|
|
5507
5507
|
success: false;
|
|
@@ -5576,14 +5576,14 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
5576
5576
|
email: string;
|
|
5577
5577
|
redirectTo?: string | undefined;
|
|
5578
5578
|
};
|
|
5579
|
-
}, ctx?:
|
|
5579
|
+
}, ctx?: hono131.Context<ContextVars<any>, any, {}> | _faire_auth_core_types81.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
5580
5580
|
headers: Headers;
|
|
5581
5581
|
response: {
|
|
5582
|
-
success:
|
|
5583
|
-
code?: string | undefined;
|
|
5582
|
+
success: true;
|
|
5584
5583
|
message?: string | undefined;
|
|
5585
5584
|
} | {
|
|
5586
|
-
success:
|
|
5585
|
+
success: false;
|
|
5586
|
+
code?: string | undefined;
|
|
5587
5587
|
message?: string | undefined;
|
|
5588
5588
|
} | {
|
|
5589
5589
|
success: false;
|
|
@@ -5598,11 +5598,11 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
5598
5598
|
} | undefined;
|
|
5599
5599
|
};
|
|
5600
5600
|
} : {
|
|
5601
|
-
success:
|
|
5602
|
-
code?: string | undefined;
|
|
5601
|
+
success: true;
|
|
5603
5602
|
message?: string | undefined;
|
|
5604
5603
|
} | {
|
|
5605
|
-
success:
|
|
5604
|
+
success: false;
|
|
5605
|
+
code?: string | undefined;
|
|
5606
5606
|
message?: string | undefined;
|
|
5607
5607
|
} | {
|
|
5608
5608
|
success: false;
|
|
@@ -5624,7 +5624,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
5624
5624
|
query: {
|
|
5625
5625
|
callbackURL: string;
|
|
5626
5626
|
};
|
|
5627
|
-
}, ctx?:
|
|
5627
|
+
}, ctx?: hono131.Context<ContextVars<any>, any, {}> | _faire_auth_core_types81.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
5628
5628
|
headers: Headers;
|
|
5629
5629
|
response: Response;
|
|
5630
5630
|
} : Response>;
|
|
@@ -5637,14 +5637,14 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
5637
5637
|
query: {
|
|
5638
5638
|
token?: string | undefined;
|
|
5639
5639
|
};
|
|
5640
|
-
}, ctx?:
|
|
5640
|
+
}, ctx?: hono131.Context<ContextVars<any>, any, {}> | _faire_auth_core_types81.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
5641
5641
|
headers: Headers;
|
|
5642
5642
|
response: {
|
|
5643
|
-
success:
|
|
5644
|
-
code?: string | undefined;
|
|
5643
|
+
success: true;
|
|
5645
5644
|
message?: string | undefined;
|
|
5646
5645
|
} | {
|
|
5647
|
-
success:
|
|
5646
|
+
success: false;
|
|
5647
|
+
code?: string | undefined;
|
|
5648
5648
|
message?: string | undefined;
|
|
5649
5649
|
} | {
|
|
5650
5650
|
success: false;
|
|
@@ -5659,11 +5659,11 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
5659
5659
|
} | undefined;
|
|
5660
5660
|
};
|
|
5661
5661
|
} : {
|
|
5662
|
-
success:
|
|
5663
|
-
code?: string | undefined;
|
|
5662
|
+
success: true;
|
|
5664
5663
|
message?: string | undefined;
|
|
5665
5664
|
} | {
|
|
5666
|
-
success:
|
|
5665
|
+
success: false;
|
|
5666
|
+
code?: string | undefined;
|
|
5667
5667
|
message?: string | undefined;
|
|
5668
5668
|
} | {
|
|
5669
5669
|
success: false;
|
|
@@ -5677,7 +5677,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
5677
5677
|
} | undefined;
|
|
5678
5678
|
} | undefined;
|
|
5679
5679
|
}>;
|
|
5680
|
-
revokeOtherSessions: <AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(ctx?:
|
|
5680
|
+
revokeOtherSessions: <AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(ctx?: hono131.Context<ContextVars<any>, any, {}> | _faire_auth_core_types81.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
5681
5681
|
headers: Headers;
|
|
5682
5682
|
response: {
|
|
5683
5683
|
success: false;
|
|
@@ -5699,18 +5699,18 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
5699
5699
|
json: {
|
|
5700
5700
|
token: string;
|
|
5701
5701
|
};
|
|
5702
|
-
}, ctx?:
|
|
5702
|
+
}, ctx?: hono131.Context<ContextVars<any>, any, {}> | _faire_auth_core_types81.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
5703
5703
|
headers: Headers;
|
|
5704
5704
|
response: {
|
|
5705
5705
|
success: false;
|
|
5706
5706
|
code?: string | undefined;
|
|
5707
5707
|
message?: string | undefined;
|
|
5708
5708
|
} | {
|
|
5709
|
-
success:
|
|
5710
|
-
code?: string | undefined;
|
|
5709
|
+
success: true;
|
|
5711
5710
|
message?: string | undefined;
|
|
5712
5711
|
} | {
|
|
5713
|
-
success:
|
|
5712
|
+
success: false;
|
|
5713
|
+
code?: string | undefined;
|
|
5714
5714
|
message?: string | undefined;
|
|
5715
5715
|
} | {
|
|
5716
5716
|
success: false;
|
|
@@ -5726,11 +5726,11 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
5726
5726
|
code?: string | undefined;
|
|
5727
5727
|
message?: string | undefined;
|
|
5728
5728
|
} | {
|
|
5729
|
-
success:
|
|
5730
|
-
code?: string | undefined;
|
|
5729
|
+
success: true;
|
|
5731
5730
|
message?: string | undefined;
|
|
5732
5731
|
} | {
|
|
5733
|
-
success:
|
|
5732
|
+
success: false;
|
|
5733
|
+
code?: string | undefined;
|
|
5734
5734
|
message?: string | undefined;
|
|
5735
5735
|
} | {
|
|
5736
5736
|
success: false;
|
|
@@ -5741,18 +5741,18 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
5741
5741
|
} | undefined;
|
|
5742
5742
|
} | undefined;
|
|
5743
5743
|
}>;
|
|
5744
|
-
revokeSessions: <AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(ctx?:
|
|
5744
|
+
revokeSessions: <AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(ctx?: hono131.Context<ContextVars<any>, any, {}> | _faire_auth_core_types81.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
5745
5745
|
headers: Headers;
|
|
5746
5746
|
response: {
|
|
5747
5747
|
success: false;
|
|
5748
5748
|
code?: string | undefined;
|
|
5749
5749
|
message?: string | undefined;
|
|
5750
5750
|
} | {
|
|
5751
|
-
success:
|
|
5752
|
-
code?: string | undefined;
|
|
5751
|
+
success: true;
|
|
5753
5752
|
message?: string | undefined;
|
|
5754
5753
|
} | {
|
|
5755
|
-
success:
|
|
5754
|
+
success: false;
|
|
5755
|
+
code?: string | undefined;
|
|
5756
5756
|
message?: string | undefined;
|
|
5757
5757
|
};
|
|
5758
5758
|
} : {
|
|
@@ -5760,11 +5760,11 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
5760
5760
|
code?: string | undefined;
|
|
5761
5761
|
message?: string | undefined;
|
|
5762
5762
|
} | {
|
|
5763
|
-
success:
|
|
5764
|
-
code?: string | undefined;
|
|
5763
|
+
success: true;
|
|
5765
5764
|
message?: string | undefined;
|
|
5766
5765
|
} | {
|
|
5767
|
-
success:
|
|
5766
|
+
success: false;
|
|
5767
|
+
code?: string | undefined;
|
|
5768
5768
|
message?: string | undefined;
|
|
5769
5769
|
}>;
|
|
5770
5770
|
sendVerificationEmail: <AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(input: {
|
|
@@ -5772,14 +5772,14 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
5772
5772
|
email: string;
|
|
5773
5773
|
callbackURL?: string | undefined;
|
|
5774
5774
|
};
|
|
5775
|
-
}, ctx?:
|
|
5775
|
+
}, ctx?: hono131.Context<ContextVars<any>, any, {}> | _faire_auth_core_types81.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
5776
5776
|
headers: Headers;
|
|
5777
5777
|
response: {
|
|
5778
|
-
success:
|
|
5779
|
-
code?: string | undefined;
|
|
5778
|
+
success: true;
|
|
5780
5779
|
message?: string | undefined;
|
|
5781
5780
|
} | {
|
|
5782
|
-
success:
|
|
5781
|
+
success: false;
|
|
5782
|
+
code?: string | undefined;
|
|
5783
5783
|
message?: string | undefined;
|
|
5784
5784
|
} | {
|
|
5785
5785
|
success: false;
|
|
@@ -5794,11 +5794,11 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
5794
5794
|
} | undefined;
|
|
5795
5795
|
};
|
|
5796
5796
|
} : {
|
|
5797
|
-
success:
|
|
5798
|
-
code?: string | undefined;
|
|
5797
|
+
success: true;
|
|
5799
5798
|
message?: string | undefined;
|
|
5800
5799
|
} | {
|
|
5801
|
-
success:
|
|
5800
|
+
success: false;
|
|
5801
|
+
code?: string | undefined;
|
|
5802
5802
|
message?: string | undefined;
|
|
5803
5803
|
} | {
|
|
5804
5804
|
success: false;
|
|
@@ -5819,7 +5819,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
5819
5819
|
callbackURL?: string | undefined;
|
|
5820
5820
|
rememberMe?: boolean | undefined;
|
|
5821
5821
|
};
|
|
5822
|
-
}, ctx?:
|
|
5822
|
+
}, ctx?: hono131.Context<ContextVars<any>, any, {}> | _faire_auth_core_types81.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
5823
5823
|
headers: Headers;
|
|
5824
5824
|
response: {
|
|
5825
5825
|
success: false;
|
|
@@ -5973,7 +5973,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
5973
5973
|
requestSignUp?: boolean | undefined;
|
|
5974
5974
|
loginHint?: string | undefined;
|
|
5975
5975
|
};
|
|
5976
|
-
}, ctx?:
|
|
5976
|
+
}, ctx?: hono131.Context<ContextVars<any>, any, {}> | _faire_auth_core_types81.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
5977
5977
|
headers: Headers;
|
|
5978
5978
|
response: Response | {
|
|
5979
5979
|
success: false;
|
|
@@ -6187,22 +6187,22 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
6187
6187
|
} | undefined;
|
|
6188
6188
|
} | undefined;
|
|
6189
6189
|
}>;
|
|
6190
|
-
signOut: <AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(ctx?:
|
|
6190
|
+
signOut: <AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(ctx?: hono131.Context<ContextVars<any>, any, {}> | _faire_auth_core_types81.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
6191
6191
|
headers: Headers;
|
|
6192
6192
|
response: {
|
|
6193
|
-
success:
|
|
6194
|
-
code?: string | undefined;
|
|
6193
|
+
success: true;
|
|
6195
6194
|
message?: string | undefined;
|
|
6196
6195
|
} | {
|
|
6197
|
-
success:
|
|
6196
|
+
success: false;
|
|
6197
|
+
code?: string | undefined;
|
|
6198
6198
|
message?: string | undefined;
|
|
6199
6199
|
};
|
|
6200
6200
|
} : {
|
|
6201
|
-
success:
|
|
6202
|
-
code?: string | undefined;
|
|
6201
|
+
success: true;
|
|
6203
6202
|
message?: string | undefined;
|
|
6204
6203
|
} | {
|
|
6205
|
-
success:
|
|
6204
|
+
success: false;
|
|
6205
|
+
code?: string | undefined;
|
|
6206
6206
|
message?: string | undefined;
|
|
6207
6207
|
}>;
|
|
6208
6208
|
signUpEmail: <AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(input: {
|
|
@@ -6215,7 +6215,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
6215
6215
|
callbackURL?: string | undefined;
|
|
6216
6216
|
rememberMe?: boolean | undefined;
|
|
6217
6217
|
};
|
|
6218
|
-
}, ctx?:
|
|
6218
|
+
}, ctx?: hono131.Context<ContextVars<any>, any, {}> | _faire_auth_core_types81.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
6219
6219
|
headers: Headers;
|
|
6220
6220
|
response: {
|
|
6221
6221
|
success: false;
|
|
@@ -6374,7 +6374,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
6374
6374
|
providerId: string;
|
|
6375
6375
|
accountId?: string | undefined;
|
|
6376
6376
|
};
|
|
6377
|
-
}, ctx?:
|
|
6377
|
+
}, ctx?: hono131.Context<ContextVars<any>, any, {}> | _faire_auth_core_types81.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
6378
6378
|
headers: Headers;
|
|
6379
6379
|
response: {
|
|
6380
6380
|
success: false;
|
|
@@ -6385,11 +6385,11 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
6385
6385
|
code?: string | undefined | undefined;
|
|
6386
6386
|
message?: string | undefined | undefined;
|
|
6387
6387
|
} | {
|
|
6388
|
-
success:
|
|
6389
|
-
code?: string | undefined;
|
|
6388
|
+
success: true;
|
|
6390
6389
|
message?: string | undefined;
|
|
6391
6390
|
} | {
|
|
6392
|
-
success:
|
|
6391
|
+
success: false;
|
|
6392
|
+
code?: string | undefined;
|
|
6393
6393
|
message?: string | undefined;
|
|
6394
6394
|
} | {
|
|
6395
6395
|
success: false;
|
|
@@ -6412,11 +6412,11 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
6412
6412
|
code?: string | undefined | undefined;
|
|
6413
6413
|
message?: string | undefined | undefined;
|
|
6414
6414
|
} | {
|
|
6415
|
-
success:
|
|
6416
|
-
code?: string | undefined;
|
|
6415
|
+
success: true;
|
|
6417
6416
|
message?: string | undefined;
|
|
6418
6417
|
} | {
|
|
6419
|
-
success:
|
|
6418
|
+
success: false;
|
|
6419
|
+
code?: string | undefined;
|
|
6420
6420
|
message?: string | undefined;
|
|
6421
6421
|
} | {
|
|
6422
6422
|
success: false;
|
|
@@ -6436,18 +6436,18 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
6436
6436
|
name?: string | undefined;
|
|
6437
6437
|
image?: string | null | undefined;
|
|
6438
6438
|
};
|
|
6439
|
-
}, ctx?:
|
|
6439
|
+
}, ctx?: hono131.Context<ContextVars<any>, any, {}> | _faire_auth_core_types81.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
6440
6440
|
headers: Headers;
|
|
6441
6441
|
response: {
|
|
6442
6442
|
success: false;
|
|
6443
6443
|
code?: string | undefined;
|
|
6444
6444
|
message?: string | undefined;
|
|
6445
6445
|
} | {
|
|
6446
|
-
success:
|
|
6447
|
-
code?: string | undefined;
|
|
6446
|
+
success: true;
|
|
6448
6447
|
message?: string | undefined;
|
|
6449
6448
|
} | {
|
|
6450
|
-
success:
|
|
6449
|
+
success: false;
|
|
6450
|
+
code?: string | undefined;
|
|
6451
6451
|
message?: string | undefined;
|
|
6452
6452
|
} | {
|
|
6453
6453
|
success: false;
|
|
@@ -6469,11 +6469,11 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
6469
6469
|
code?: string | undefined;
|
|
6470
6470
|
message?: string | undefined;
|
|
6471
6471
|
} | {
|
|
6472
|
-
success:
|
|
6473
|
-
code?: string | undefined;
|
|
6472
|
+
success: true;
|
|
6474
6473
|
message?: string | undefined;
|
|
6475
6474
|
} | {
|
|
6476
|
-
success:
|
|
6475
|
+
success: false;
|
|
6476
|
+
code?: string | undefined;
|
|
6477
6477
|
message?: string | undefined;
|
|
6478
6478
|
} | {
|
|
6479
6479
|
success: false;
|
|
@@ -6495,7 +6495,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
6495
6495
|
token: string;
|
|
6496
6496
|
callbackURL?: string | undefined;
|
|
6497
6497
|
};
|
|
6498
|
-
}, ctx?:
|
|
6498
|
+
}, ctx?: hono131.Context<ContextVars<any>, any, {}> | _faire_auth_core_types81.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
6499
6499
|
headers: Headers;
|
|
6500
6500
|
response: Response | {
|
|
6501
6501
|
success: false;
|
|
@@ -6602,12 +6602,11 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
6602
6602
|
};
|
|
6603
6603
|
};
|
|
6604
6604
|
output: {
|
|
6605
|
-
success:
|
|
6606
|
-
code?: string | undefined;
|
|
6605
|
+
success: true;
|
|
6607
6606
|
message?: string | undefined;
|
|
6608
6607
|
};
|
|
6609
6608
|
outputFormat: "json";
|
|
6610
|
-
status:
|
|
6609
|
+
status: 200;
|
|
6611
6610
|
} | {
|
|
6612
6611
|
input: {
|
|
6613
6612
|
json: {
|
|
@@ -6616,11 +6615,12 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
6616
6615
|
};
|
|
6617
6616
|
};
|
|
6618
6617
|
output: {
|
|
6619
|
-
success:
|
|
6618
|
+
success: false;
|
|
6619
|
+
code?: string | undefined;
|
|
6620
6620
|
message?: string | undefined;
|
|
6621
6621
|
};
|
|
6622
6622
|
outputFormat: "json";
|
|
6623
|
-
status:
|
|
6623
|
+
status: 400;
|
|
6624
6624
|
} | {
|
|
6625
6625
|
input: {
|
|
6626
6626
|
json: {
|
|
@@ -6826,12 +6826,11 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
6826
6826
|
};
|
|
6827
6827
|
};
|
|
6828
6828
|
output: {
|
|
6829
|
-
success:
|
|
6830
|
-
code?: string | undefined;
|
|
6829
|
+
success: true;
|
|
6831
6830
|
message?: string | undefined;
|
|
6832
6831
|
};
|
|
6833
6832
|
outputFormat: "json";
|
|
6834
|
-
status:
|
|
6833
|
+
status: 200;
|
|
6835
6834
|
} | {
|
|
6836
6835
|
input: {
|
|
6837
6836
|
json: {
|
|
@@ -6841,11 +6840,12 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
6841
6840
|
};
|
|
6842
6841
|
};
|
|
6843
6842
|
output: {
|
|
6844
|
-
success:
|
|
6843
|
+
success: false;
|
|
6844
|
+
code?: string | undefined;
|
|
6845
6845
|
message?: string | undefined;
|
|
6846
6846
|
};
|
|
6847
6847
|
outputFormat: "json";
|
|
6848
|
-
status:
|
|
6848
|
+
status: 400;
|
|
6849
6849
|
} | {
|
|
6850
6850
|
input: {
|
|
6851
6851
|
json: {
|
|
@@ -7180,6 +7180,20 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
7180
7180
|
};
|
|
7181
7181
|
outputFormat: "json";
|
|
7182
7182
|
status: 500;
|
|
7183
|
+
} | {
|
|
7184
|
+
input: {
|
|
7185
|
+
query: {
|
|
7186
|
+
disableCookieCache?: string | boolean | undefined;
|
|
7187
|
+
disableRefresh?: string | boolean | undefined;
|
|
7188
|
+
};
|
|
7189
|
+
};
|
|
7190
|
+
output: {
|
|
7191
|
+
success: false;
|
|
7192
|
+
code?: string | undefined;
|
|
7193
|
+
message?: string | undefined;
|
|
7194
|
+
};
|
|
7195
|
+
outputFormat: "json";
|
|
7196
|
+
status: 401;
|
|
7183
7197
|
} | {
|
|
7184
7198
|
input: {
|
|
7185
7199
|
query: {
|
|
@@ -7215,20 +7229,6 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
7215
7229
|
};
|
|
7216
7230
|
outputFormat: "json";
|
|
7217
7231
|
status: 200;
|
|
7218
|
-
} | {
|
|
7219
|
-
input: {
|
|
7220
|
-
query: {
|
|
7221
|
-
disableCookieCache?: string | boolean | undefined;
|
|
7222
|
-
disableRefresh?: string | boolean | undefined;
|
|
7223
|
-
};
|
|
7224
|
-
};
|
|
7225
|
-
output: {
|
|
7226
|
-
success: false;
|
|
7227
|
-
code?: string | undefined;
|
|
7228
|
-
message?: string | undefined;
|
|
7229
|
-
};
|
|
7230
|
-
outputFormat: "json";
|
|
7231
|
-
status: 401;
|
|
7232
7232
|
} | {
|
|
7233
7233
|
input: {
|
|
7234
7234
|
query: {
|
|
@@ -7781,12 +7781,11 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
7781
7781
|
};
|
|
7782
7782
|
};
|
|
7783
7783
|
output: {
|
|
7784
|
-
success:
|
|
7785
|
-
code?: string | undefined;
|
|
7784
|
+
success: true;
|
|
7786
7785
|
message?: string | undefined;
|
|
7787
7786
|
};
|
|
7788
7787
|
outputFormat: "json";
|
|
7789
|
-
status:
|
|
7788
|
+
status: 200;
|
|
7790
7789
|
} | {
|
|
7791
7790
|
input: {
|
|
7792
7791
|
json: {
|
|
@@ -7795,11 +7794,12 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
7795
7794
|
};
|
|
7796
7795
|
};
|
|
7797
7796
|
output: {
|
|
7798
|
-
success:
|
|
7797
|
+
success: false;
|
|
7798
|
+
code?: string | undefined;
|
|
7799
7799
|
message?: string | undefined;
|
|
7800
7800
|
};
|
|
7801
7801
|
outputFormat: "json";
|
|
7802
|
-
status:
|
|
7802
|
+
status: 400;
|
|
7803
7803
|
} | {
|
|
7804
7804
|
input: {
|
|
7805
7805
|
json: {
|
|
@@ -7867,12 +7867,11 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
7867
7867
|
};
|
|
7868
7868
|
};
|
|
7869
7869
|
output: {
|
|
7870
|
-
success:
|
|
7871
|
-
code?: string | undefined;
|
|
7870
|
+
success: true;
|
|
7872
7871
|
message?: string | undefined;
|
|
7873
7872
|
};
|
|
7874
7873
|
outputFormat: "json";
|
|
7875
|
-
status:
|
|
7874
|
+
status: 200;
|
|
7876
7875
|
} | {
|
|
7877
7876
|
input: {
|
|
7878
7877
|
json: {
|
|
@@ -7885,11 +7884,12 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
7885
7884
|
};
|
|
7886
7885
|
};
|
|
7887
7886
|
output: {
|
|
7888
|
-
success:
|
|
7887
|
+
success: false;
|
|
7888
|
+
code?: string | undefined;
|
|
7889
7889
|
message?: string | undefined;
|
|
7890
7890
|
};
|
|
7891
7891
|
outputFormat: "json";
|
|
7892
|
-
status:
|
|
7892
|
+
status: 400;
|
|
7893
7893
|
} | {
|
|
7894
7894
|
input: {
|
|
7895
7895
|
json: {
|
|
@@ -7960,12 +7960,11 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
7960
7960
|
};
|
|
7961
7961
|
};
|
|
7962
7962
|
output: {
|
|
7963
|
-
success:
|
|
7964
|
-
code?: string | undefined;
|
|
7963
|
+
success: true;
|
|
7965
7964
|
message?: string | undefined;
|
|
7966
7965
|
};
|
|
7967
7966
|
outputFormat: "json";
|
|
7968
|
-
status:
|
|
7967
|
+
status: 200;
|
|
7969
7968
|
} | {
|
|
7970
7969
|
input: {
|
|
7971
7970
|
json: {
|
|
@@ -7973,11 +7972,12 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
7973
7972
|
};
|
|
7974
7973
|
};
|
|
7975
7974
|
output: {
|
|
7976
|
-
success:
|
|
7975
|
+
success: false;
|
|
7976
|
+
code?: string | undefined;
|
|
7977
7977
|
message?: string | undefined;
|
|
7978
7978
|
};
|
|
7979
7979
|
outputFormat: "json";
|
|
7980
|
-
status:
|
|
7980
|
+
status: 400;
|
|
7981
7981
|
} | {
|
|
7982
7982
|
input: {
|
|
7983
7983
|
json: {
|
|
@@ -8063,12 +8063,11 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
8063
8063
|
};
|
|
8064
8064
|
};
|
|
8065
8065
|
output: {
|
|
8066
|
-
success:
|
|
8067
|
-
code?: string | undefined;
|
|
8066
|
+
success: true;
|
|
8068
8067
|
message?: string | undefined;
|
|
8069
8068
|
};
|
|
8070
8069
|
outputFormat: "json";
|
|
8071
|
-
status:
|
|
8070
|
+
status: 200;
|
|
8072
8071
|
} | {
|
|
8073
8072
|
input: {
|
|
8074
8073
|
json: {
|
|
@@ -8077,11 +8076,12 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
8077
8076
|
};
|
|
8078
8077
|
};
|
|
8079
8078
|
output: {
|
|
8080
|
-
success:
|
|
8079
|
+
success: false;
|
|
8080
|
+
code?: string | undefined;
|
|
8081
8081
|
message?: string | undefined;
|
|
8082
8082
|
};
|
|
8083
8083
|
outputFormat: "json";
|
|
8084
|
-
status:
|
|
8084
|
+
status: 400;
|
|
8085
8085
|
} | {
|
|
8086
8086
|
input: {
|
|
8087
8087
|
json: {
|
|
@@ -8643,11 +8643,11 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
8643
8643
|
};
|
|
8644
8644
|
output: {
|
|
8645
8645
|
success: false;
|
|
8646
|
-
code?: string | undefined
|
|
8647
|
-
message?: string | undefined
|
|
8646
|
+
code?: string | undefined;
|
|
8647
|
+
message?: string | undefined;
|
|
8648
8648
|
};
|
|
8649
8649
|
outputFormat: "json";
|
|
8650
|
-
status:
|
|
8650
|
+
status: 401;
|
|
8651
8651
|
} | {
|
|
8652
8652
|
input: {
|
|
8653
8653
|
json: {
|
|
@@ -8657,11 +8657,11 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
8657
8657
|
};
|
|
8658
8658
|
output: {
|
|
8659
8659
|
success: false;
|
|
8660
|
-
code?: string | undefined;
|
|
8661
|
-
message?: string | undefined;
|
|
8660
|
+
code?: string | undefined | undefined;
|
|
8661
|
+
message?: string | undefined | undefined;
|
|
8662
8662
|
};
|
|
8663
8663
|
outputFormat: "json";
|
|
8664
|
-
status:
|
|
8664
|
+
status: 403;
|
|
8665
8665
|
} | {
|
|
8666
8666
|
input: {
|
|
8667
8667
|
json: {
|
|
@@ -8670,12 +8670,11 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
8670
8670
|
};
|
|
8671
8671
|
};
|
|
8672
8672
|
output: {
|
|
8673
|
-
success:
|
|
8674
|
-
code?: string | undefined;
|
|
8673
|
+
success: true;
|
|
8675
8674
|
message?: string | undefined;
|
|
8676
8675
|
};
|
|
8677
8676
|
outputFormat: "json";
|
|
8678
|
-
status:
|
|
8677
|
+
status: 200;
|
|
8679
8678
|
} | {
|
|
8680
8679
|
input: {
|
|
8681
8680
|
json: {
|
|
@@ -8684,11 +8683,12 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
8684
8683
|
};
|
|
8685
8684
|
};
|
|
8686
8685
|
output: {
|
|
8687
|
-
success:
|
|
8686
|
+
success: false;
|
|
8687
|
+
code?: string | undefined;
|
|
8688
8688
|
message?: string | undefined;
|
|
8689
8689
|
};
|
|
8690
8690
|
outputFormat: "json";
|
|
8691
|
-
status:
|
|
8691
|
+
status: 400;
|
|
8692
8692
|
} | {
|
|
8693
8693
|
input: {
|
|
8694
8694
|
json: {
|
|
@@ -8788,6 +8788,16 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
8788
8788
|
} & {
|
|
8789
8789
|
"/api/auth/verify-email": {
|
|
8790
8790
|
$get: {
|
|
8791
|
+
input: {
|
|
8792
|
+
query: {
|
|
8793
|
+
token: string;
|
|
8794
|
+
callbackURL?: string | undefined;
|
|
8795
|
+
};
|
|
8796
|
+
};
|
|
8797
|
+
output: {};
|
|
8798
|
+
outputFormat: string;
|
|
8799
|
+
status: 302;
|
|
8800
|
+
} | {
|
|
8791
8801
|
input: {
|
|
8792
8802
|
query: {
|
|
8793
8803
|
token: string;
|
|
@@ -8810,17 +8820,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
8810
8820
|
message: string;
|
|
8811
8821
|
};
|
|
8812
8822
|
outputFormat: "json";
|
|
8813
|
-
status:
|
|
8814
|
-
} | {
|
|
8815
|
-
input: {
|
|
8816
|
-
query: {
|
|
8817
|
-
token: string;
|
|
8818
|
-
callbackURL?: string | undefined;
|
|
8819
|
-
};
|
|
8820
|
-
};
|
|
8821
|
-
output: {};
|
|
8822
|
-
outputFormat: string;
|
|
8823
|
-
status: 302;
|
|
8823
|
+
status: 401 | 400;
|
|
8824
8824
|
} | {
|
|
8825
8825
|
input: {
|
|
8826
8826
|
query: {
|
|
@@ -8944,12 +8944,11 @@ declare const faireAuth: <Options extends FaireAuthOptions$1>(options: Options &
|
|
|
8944
8944
|
};
|
|
8945
8945
|
};
|
|
8946
8946
|
output: {
|
|
8947
|
-
success:
|
|
8948
|
-
code?: string | undefined;
|
|
8947
|
+
success: true;
|
|
8949
8948
|
message?: string | undefined;
|
|
8950
8949
|
};
|
|
8951
8950
|
outputFormat: "json";
|
|
8952
|
-
status:
|
|
8951
|
+
status: 200;
|
|
8953
8952
|
} | {
|
|
8954
8953
|
input: {
|
|
8955
8954
|
json: {
|
|
@@ -8958,11 +8957,12 @@ declare const faireAuth: <Options extends FaireAuthOptions$1>(options: Options &
|
|
|
8958
8957
|
};
|
|
8959
8958
|
};
|
|
8960
8959
|
output: {
|
|
8961
|
-
success:
|
|
8960
|
+
success: false;
|
|
8961
|
+
code?: string | undefined;
|
|
8962
8962
|
message?: string | undefined;
|
|
8963
8963
|
};
|
|
8964
8964
|
outputFormat: "json";
|
|
8965
|
-
status:
|
|
8965
|
+
status: 400;
|
|
8966
8966
|
} | {
|
|
8967
8967
|
input: {
|
|
8968
8968
|
json: {
|
|
@@ -9168,12 +9168,11 @@ declare const faireAuth: <Options extends FaireAuthOptions$1>(options: Options &
|
|
|
9168
9168
|
};
|
|
9169
9169
|
};
|
|
9170
9170
|
output: {
|
|
9171
|
-
success:
|
|
9172
|
-
code?: string | undefined;
|
|
9171
|
+
success: true;
|
|
9173
9172
|
message?: string | undefined;
|
|
9174
9173
|
};
|
|
9175
9174
|
outputFormat: "json";
|
|
9176
|
-
status:
|
|
9175
|
+
status: 200;
|
|
9177
9176
|
} | {
|
|
9178
9177
|
input: {
|
|
9179
9178
|
json: {
|
|
@@ -9183,11 +9182,12 @@ declare const faireAuth: <Options extends FaireAuthOptions$1>(options: Options &
|
|
|
9183
9182
|
};
|
|
9184
9183
|
};
|
|
9185
9184
|
output: {
|
|
9186
|
-
success:
|
|
9185
|
+
success: false;
|
|
9186
|
+
code?: string | undefined;
|
|
9187
9187
|
message?: string | undefined;
|
|
9188
9188
|
};
|
|
9189
9189
|
outputFormat: "json";
|
|
9190
|
-
status:
|
|
9190
|
+
status: 400;
|
|
9191
9191
|
} | {
|
|
9192
9192
|
input: {
|
|
9193
9193
|
json: {
|
|
@@ -9522,6 +9522,20 @@ declare const faireAuth: <Options extends FaireAuthOptions$1>(options: Options &
|
|
|
9522
9522
|
};
|
|
9523
9523
|
outputFormat: "json";
|
|
9524
9524
|
status: 500;
|
|
9525
|
+
} | {
|
|
9526
|
+
input: {
|
|
9527
|
+
query: {
|
|
9528
|
+
disableCookieCache?: string | boolean | undefined;
|
|
9529
|
+
disableRefresh?: string | boolean | undefined;
|
|
9530
|
+
};
|
|
9531
|
+
};
|
|
9532
|
+
output: {
|
|
9533
|
+
success: false;
|
|
9534
|
+
code?: string | undefined;
|
|
9535
|
+
message?: string | undefined;
|
|
9536
|
+
};
|
|
9537
|
+
outputFormat: "json";
|
|
9538
|
+
status: 401;
|
|
9525
9539
|
} | {
|
|
9526
9540
|
input: {
|
|
9527
9541
|
query: {
|
|
@@ -9557,20 +9571,6 @@ declare const faireAuth: <Options extends FaireAuthOptions$1>(options: Options &
|
|
|
9557
9571
|
};
|
|
9558
9572
|
outputFormat: "json";
|
|
9559
9573
|
status: 200;
|
|
9560
|
-
} | {
|
|
9561
|
-
input: {
|
|
9562
|
-
query: {
|
|
9563
|
-
disableCookieCache?: string | boolean | undefined;
|
|
9564
|
-
disableRefresh?: string | boolean | undefined;
|
|
9565
|
-
};
|
|
9566
|
-
};
|
|
9567
|
-
output: {
|
|
9568
|
-
success: false;
|
|
9569
|
-
code?: string | undefined;
|
|
9570
|
-
message?: string | undefined;
|
|
9571
|
-
};
|
|
9572
|
-
outputFormat: "json";
|
|
9573
|
-
status: 401;
|
|
9574
9574
|
} | {
|
|
9575
9575
|
input: {
|
|
9576
9576
|
query: {
|
|
@@ -10123,12 +10123,11 @@ declare const faireAuth: <Options extends FaireAuthOptions$1>(options: Options &
|
|
|
10123
10123
|
};
|
|
10124
10124
|
};
|
|
10125
10125
|
output: {
|
|
10126
|
-
success:
|
|
10127
|
-
code?: string | undefined;
|
|
10126
|
+
success: true;
|
|
10128
10127
|
message?: string | undefined;
|
|
10129
10128
|
};
|
|
10130
10129
|
outputFormat: "json";
|
|
10131
|
-
status:
|
|
10130
|
+
status: 200;
|
|
10132
10131
|
} | {
|
|
10133
10132
|
input: {
|
|
10134
10133
|
json: {
|
|
@@ -10137,11 +10136,12 @@ declare const faireAuth: <Options extends FaireAuthOptions$1>(options: Options &
|
|
|
10137
10136
|
};
|
|
10138
10137
|
};
|
|
10139
10138
|
output: {
|
|
10140
|
-
success:
|
|
10139
|
+
success: false;
|
|
10140
|
+
code?: string | undefined;
|
|
10141
10141
|
message?: string | undefined;
|
|
10142
10142
|
};
|
|
10143
10143
|
outputFormat: "json";
|
|
10144
|
-
status:
|
|
10144
|
+
status: 400;
|
|
10145
10145
|
} | {
|
|
10146
10146
|
input: {
|
|
10147
10147
|
json: {
|
|
@@ -10209,12 +10209,11 @@ declare const faireAuth: <Options extends FaireAuthOptions$1>(options: Options &
|
|
|
10209
10209
|
};
|
|
10210
10210
|
};
|
|
10211
10211
|
output: {
|
|
10212
|
-
success:
|
|
10213
|
-
code?: string | undefined;
|
|
10212
|
+
success: true;
|
|
10214
10213
|
message?: string | undefined;
|
|
10215
10214
|
};
|
|
10216
10215
|
outputFormat: "json";
|
|
10217
|
-
status:
|
|
10216
|
+
status: 200;
|
|
10218
10217
|
} | {
|
|
10219
10218
|
input: {
|
|
10220
10219
|
json: {
|
|
@@ -10227,11 +10226,12 @@ declare const faireAuth: <Options extends FaireAuthOptions$1>(options: Options &
|
|
|
10227
10226
|
};
|
|
10228
10227
|
};
|
|
10229
10228
|
output: {
|
|
10230
|
-
success:
|
|
10229
|
+
success: false;
|
|
10230
|
+
code?: string | undefined;
|
|
10231
10231
|
message?: string | undefined;
|
|
10232
10232
|
};
|
|
10233
10233
|
outputFormat: "json";
|
|
10234
|
-
status:
|
|
10234
|
+
status: 400;
|
|
10235
10235
|
} | {
|
|
10236
10236
|
input: {
|
|
10237
10237
|
json: {
|
|
@@ -10302,12 +10302,11 @@ declare const faireAuth: <Options extends FaireAuthOptions$1>(options: Options &
|
|
|
10302
10302
|
};
|
|
10303
10303
|
};
|
|
10304
10304
|
output: {
|
|
10305
|
-
success:
|
|
10306
|
-
code?: string | undefined;
|
|
10305
|
+
success: true;
|
|
10307
10306
|
message?: string | undefined;
|
|
10308
10307
|
};
|
|
10309
10308
|
outputFormat: "json";
|
|
10310
|
-
status:
|
|
10309
|
+
status: 200;
|
|
10311
10310
|
} | {
|
|
10312
10311
|
input: {
|
|
10313
10312
|
json: {
|
|
@@ -10315,11 +10314,12 @@ declare const faireAuth: <Options extends FaireAuthOptions$1>(options: Options &
|
|
|
10315
10314
|
};
|
|
10316
10315
|
};
|
|
10317
10316
|
output: {
|
|
10318
|
-
success:
|
|
10317
|
+
success: false;
|
|
10318
|
+
code?: string | undefined;
|
|
10319
10319
|
message?: string | undefined;
|
|
10320
10320
|
};
|
|
10321
10321
|
outputFormat: "json";
|
|
10322
|
-
status:
|
|
10322
|
+
status: 400;
|
|
10323
10323
|
} | {
|
|
10324
10324
|
input: {
|
|
10325
10325
|
json: {
|
|
@@ -10405,12 +10405,11 @@ declare const faireAuth: <Options extends FaireAuthOptions$1>(options: Options &
|
|
|
10405
10405
|
};
|
|
10406
10406
|
};
|
|
10407
10407
|
output: {
|
|
10408
|
-
success:
|
|
10409
|
-
code?: string | undefined;
|
|
10408
|
+
success: true;
|
|
10410
10409
|
message?: string | undefined;
|
|
10411
10410
|
};
|
|
10412
10411
|
outputFormat: "json";
|
|
10413
|
-
status:
|
|
10412
|
+
status: 200;
|
|
10414
10413
|
} | {
|
|
10415
10414
|
input: {
|
|
10416
10415
|
json: {
|
|
@@ -10419,11 +10418,12 @@ declare const faireAuth: <Options extends FaireAuthOptions$1>(options: Options &
|
|
|
10419
10418
|
};
|
|
10420
10419
|
};
|
|
10421
10420
|
output: {
|
|
10422
|
-
success:
|
|
10421
|
+
success: false;
|
|
10422
|
+
code?: string | undefined;
|
|
10423
10423
|
message?: string | undefined;
|
|
10424
10424
|
};
|
|
10425
10425
|
outputFormat: "json";
|
|
10426
|
-
status:
|
|
10426
|
+
status: 400;
|
|
10427
10427
|
} | {
|
|
10428
10428
|
input: {
|
|
10429
10429
|
json: {
|
|
@@ -10985,11 +10985,11 @@ declare const faireAuth: <Options extends FaireAuthOptions$1>(options: Options &
|
|
|
10985
10985
|
};
|
|
10986
10986
|
output: {
|
|
10987
10987
|
success: false;
|
|
10988
|
-
code?: string | undefined
|
|
10989
|
-
message?: string | undefined
|
|
10988
|
+
code?: string | undefined;
|
|
10989
|
+
message?: string | undefined;
|
|
10990
10990
|
};
|
|
10991
10991
|
outputFormat: "json";
|
|
10992
|
-
status:
|
|
10992
|
+
status: 401;
|
|
10993
10993
|
} | {
|
|
10994
10994
|
input: {
|
|
10995
10995
|
json: {
|
|
@@ -10999,11 +10999,11 @@ declare const faireAuth: <Options extends FaireAuthOptions$1>(options: Options &
|
|
|
10999
10999
|
};
|
|
11000
11000
|
output: {
|
|
11001
11001
|
success: false;
|
|
11002
|
-
code?: string | undefined;
|
|
11003
|
-
message?: string | undefined;
|
|
11002
|
+
code?: string | undefined | undefined;
|
|
11003
|
+
message?: string | undefined | undefined;
|
|
11004
11004
|
};
|
|
11005
11005
|
outputFormat: "json";
|
|
11006
|
-
status:
|
|
11006
|
+
status: 403;
|
|
11007
11007
|
} | {
|
|
11008
11008
|
input: {
|
|
11009
11009
|
json: {
|
|
@@ -11012,12 +11012,11 @@ declare const faireAuth: <Options extends FaireAuthOptions$1>(options: Options &
|
|
|
11012
11012
|
};
|
|
11013
11013
|
};
|
|
11014
11014
|
output: {
|
|
11015
|
-
success:
|
|
11016
|
-
code?: string | undefined;
|
|
11015
|
+
success: true;
|
|
11017
11016
|
message?: string | undefined;
|
|
11018
11017
|
};
|
|
11019
11018
|
outputFormat: "json";
|
|
11020
|
-
status:
|
|
11019
|
+
status: 200;
|
|
11021
11020
|
} | {
|
|
11022
11021
|
input: {
|
|
11023
11022
|
json: {
|
|
@@ -11026,11 +11025,12 @@ declare const faireAuth: <Options extends FaireAuthOptions$1>(options: Options &
|
|
|
11026
11025
|
};
|
|
11027
11026
|
};
|
|
11028
11027
|
output: {
|
|
11029
|
-
success:
|
|
11028
|
+
success: false;
|
|
11029
|
+
code?: string | undefined;
|
|
11030
11030
|
message?: string | undefined;
|
|
11031
11031
|
};
|
|
11032
11032
|
outputFormat: "json";
|
|
11033
|
-
status:
|
|
11033
|
+
status: 400;
|
|
11034
11034
|
} | {
|
|
11035
11035
|
input: {
|
|
11036
11036
|
json: {
|
|
@@ -11130,6 +11130,16 @@ declare const faireAuth: <Options extends FaireAuthOptions$1>(options: Options &
|
|
|
11130
11130
|
} & {
|
|
11131
11131
|
"/api/auth/verify-email": {
|
|
11132
11132
|
$get: {
|
|
11133
|
+
input: {
|
|
11134
|
+
query: {
|
|
11135
|
+
token: string;
|
|
11136
|
+
callbackURL?: string | undefined;
|
|
11137
|
+
};
|
|
11138
|
+
};
|
|
11139
|
+
output: {};
|
|
11140
|
+
outputFormat: string;
|
|
11141
|
+
status: 302;
|
|
11142
|
+
} | {
|
|
11133
11143
|
input: {
|
|
11134
11144
|
query: {
|
|
11135
11145
|
token: string;
|
|
@@ -11152,17 +11162,7 @@ declare const faireAuth: <Options extends FaireAuthOptions$1>(options: Options &
|
|
|
11152
11162
|
message: string;
|
|
11153
11163
|
};
|
|
11154
11164
|
outputFormat: "json";
|
|
11155
|
-
status:
|
|
11156
|
-
} | {
|
|
11157
|
-
input: {
|
|
11158
|
-
query: {
|
|
11159
|
-
token: string;
|
|
11160
|
-
callbackURL?: string | undefined;
|
|
11161
|
-
};
|
|
11162
|
-
};
|
|
11163
|
-
output: {};
|
|
11164
|
-
outputFormat: string;
|
|
11165
|
-
status: 302;
|
|
11165
|
+
status: 401 | 400;
|
|
11166
11166
|
} | {
|
|
11167
11167
|
input: {
|
|
11168
11168
|
query: {
|
|
@@ -11250,18 +11250,18 @@ declare const faireAuth: <Options extends FaireAuthOptions$1>(options: Options &
|
|
|
11250
11250
|
json: {
|
|
11251
11251
|
newPassword: string;
|
|
11252
11252
|
};
|
|
11253
|
-
}, ctx?:
|
|
11253
|
+
}, ctx?: hono131.Context<ContextVars<any>, any, {}> | _faire_auth_core_types81.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
11254
11254
|
headers: Headers;
|
|
11255
11255
|
response: {
|
|
11256
11256
|
success: false;
|
|
11257
11257
|
code?: string | undefined;
|
|
11258
11258
|
message?: string | undefined;
|
|
11259
11259
|
} | {
|
|
11260
|
-
success:
|
|
11261
|
-
code?: string | undefined;
|
|
11260
|
+
success: true;
|
|
11262
11261
|
message?: string | undefined;
|
|
11263
11262
|
} | {
|
|
11264
|
-
success:
|
|
11263
|
+
success: false;
|
|
11264
|
+
code?: string | undefined;
|
|
11265
11265
|
message?: string | undefined;
|
|
11266
11266
|
} | {
|
|
11267
11267
|
success: false;
|
|
@@ -11277,11 +11277,11 @@ declare const faireAuth: <Options extends FaireAuthOptions$1>(options: Options &
|
|
|
11277
11277
|
code?: string | undefined;
|
|
11278
11278
|
message?: string | undefined;
|
|
11279
11279
|
} | {
|
|
11280
|
-
success:
|
|
11281
|
-
code?: string | undefined;
|
|
11280
|
+
success: true;
|
|
11282
11281
|
message?: string | undefined;
|
|
11283
11282
|
} | {
|
|
11284
|
-
success:
|
|
11283
|
+
success: false;
|
|
11284
|
+
code?: string | undefined;
|
|
11285
11285
|
message?: string | undefined;
|
|
11286
11286
|
} | {
|
|
11287
11287
|
success: false;
|
|
@@ -11297,18 +11297,18 @@ declare const faireAuth: <Options extends FaireAuthOptions$1>(options: Options &
|
|
|
11297
11297
|
newEmail: string;
|
|
11298
11298
|
callbackURL?: string | undefined;
|
|
11299
11299
|
};
|
|
11300
|
-
}, ctx?:
|
|
11300
|
+
}, ctx?: hono131.Context<ContextVars<any>, any, {}> | _faire_auth_core_types81.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
11301
11301
|
headers: Headers;
|
|
11302
11302
|
response: {
|
|
11303
11303
|
success: false;
|
|
11304
11304
|
code?: string | undefined;
|
|
11305
11305
|
message?: string | undefined;
|
|
11306
11306
|
} | {
|
|
11307
|
-
success:
|
|
11308
|
-
code?: string | undefined;
|
|
11307
|
+
success: true;
|
|
11309
11308
|
message?: string | undefined;
|
|
11310
11309
|
} | {
|
|
11311
|
-
success:
|
|
11310
|
+
success: false;
|
|
11311
|
+
code?: string | undefined;
|
|
11312
11312
|
message?: string | undefined;
|
|
11313
11313
|
} | {
|
|
11314
11314
|
success: false;
|
|
@@ -11327,11 +11327,11 @@ declare const faireAuth: <Options extends FaireAuthOptions$1>(options: Options &
|
|
|
11327
11327
|
code?: string | undefined;
|
|
11328
11328
|
message?: string | undefined;
|
|
11329
11329
|
} | {
|
|
11330
|
-
success:
|
|
11331
|
-
code?: string | undefined;
|
|
11330
|
+
success: true;
|
|
11332
11331
|
message?: string | undefined;
|
|
11333
11332
|
} | {
|
|
11334
|
-
success:
|
|
11333
|
+
success: false;
|
|
11334
|
+
code?: string | undefined;
|
|
11335
11335
|
message?: string | undefined;
|
|
11336
11336
|
} | {
|
|
11337
11337
|
success: false;
|
|
@@ -11351,7 +11351,7 @@ declare const faireAuth: <Options extends FaireAuthOptions$1>(options: Options &
|
|
|
11351
11351
|
currentPassword: string;
|
|
11352
11352
|
revokeOtherSessions?: boolean | undefined;
|
|
11353
11353
|
};
|
|
11354
|
-
}, ctx?:
|
|
11354
|
+
}, ctx?: hono131.Context<ContextVars<any>, any, {}> | _faire_auth_core_types81.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
11355
11355
|
headers: Headers;
|
|
11356
11356
|
response: {
|
|
11357
11357
|
success: false;
|
|
@@ -11495,18 +11495,18 @@ declare const faireAuth: <Options extends FaireAuthOptions$1>(options: Options &
|
|
|
11495
11495
|
password?: string | undefined;
|
|
11496
11496
|
token?: string | undefined;
|
|
11497
11497
|
};
|
|
11498
|
-
}, ctx?:
|
|
11498
|
+
}, ctx?: hono131.Context<ContextVars<any>, any, {}> | _faire_auth_core_types81.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
11499
11499
|
headers: Headers;
|
|
11500
11500
|
response: Response | {
|
|
11501
11501
|
success: false;
|
|
11502
11502
|
code?: string | undefined;
|
|
11503
11503
|
message?: string | undefined;
|
|
11504
11504
|
} | {
|
|
11505
|
-
success:
|
|
11506
|
-
code?: string | undefined;
|
|
11505
|
+
success: true;
|
|
11507
11506
|
message?: string | undefined;
|
|
11508
11507
|
} | {
|
|
11509
|
-
success:
|
|
11508
|
+
success: false;
|
|
11509
|
+
code?: string | undefined;
|
|
11510
11510
|
message?: string | undefined;
|
|
11511
11511
|
} | {
|
|
11512
11512
|
success: false;
|
|
@@ -11528,11 +11528,11 @@ declare const faireAuth: <Options extends FaireAuthOptions$1>(options: Options &
|
|
|
11528
11528
|
code?: string | undefined;
|
|
11529
11529
|
message?: string | undefined;
|
|
11530
11530
|
} | {
|
|
11531
|
-
success:
|
|
11532
|
-
code?: string | undefined;
|
|
11531
|
+
success: true;
|
|
11533
11532
|
message?: string | undefined;
|
|
11534
11533
|
} | {
|
|
11535
|
-
success:
|
|
11534
|
+
success: false;
|
|
11535
|
+
code?: string | undefined;
|
|
11536
11536
|
message?: string | undefined;
|
|
11537
11537
|
} | {
|
|
11538
11538
|
success: false;
|
|
@@ -11554,18 +11554,18 @@ declare const faireAuth: <Options extends FaireAuthOptions$1>(options: Options &
|
|
|
11554
11554
|
token: string;
|
|
11555
11555
|
callbackURL?: string | undefined;
|
|
11556
11556
|
};
|
|
11557
|
-
}, ctx?:
|
|
11557
|
+
}, ctx?: hono131.Context<ContextVars<any>, any, {}> | _faire_auth_core_types81.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
11558
11558
|
headers: Headers;
|
|
11559
11559
|
response: Response | {
|
|
11560
11560
|
success: false;
|
|
11561
11561
|
code?: string | undefined;
|
|
11562
11562
|
message?: string | undefined;
|
|
11563
11563
|
} | {
|
|
11564
|
-
success:
|
|
11565
|
-
code?: string | undefined;
|
|
11564
|
+
success: true;
|
|
11566
11565
|
message?: string | undefined;
|
|
11567
11566
|
} | {
|
|
11568
|
-
success:
|
|
11567
|
+
success: false;
|
|
11568
|
+
code?: string | undefined;
|
|
11569
11569
|
message?: string | undefined;
|
|
11570
11570
|
} | {
|
|
11571
11571
|
success: false;
|
|
@@ -11584,11 +11584,11 @@ declare const faireAuth: <Options extends FaireAuthOptions$1>(options: Options &
|
|
|
11584
11584
|
code?: string | undefined;
|
|
11585
11585
|
message?: string | undefined;
|
|
11586
11586
|
} | {
|
|
11587
|
-
success:
|
|
11588
|
-
code?: string | undefined;
|
|
11587
|
+
success: true;
|
|
11589
11588
|
message?: string | undefined;
|
|
11590
11589
|
} | {
|
|
11591
|
-
success:
|
|
11590
|
+
success: false;
|
|
11591
|
+
code?: string | undefined;
|
|
11592
11592
|
message?: string | undefined;
|
|
11593
11593
|
} | {
|
|
11594
11594
|
success: false;
|
|
@@ -11607,7 +11607,7 @@ declare const faireAuth: <Options extends FaireAuthOptions$1>(options: Options &
|
|
|
11607
11607
|
error?: string | undefined;
|
|
11608
11608
|
error_description?: string | undefined;
|
|
11609
11609
|
};
|
|
11610
|
-
}, ctx?:
|
|
11610
|
+
}, ctx?: hono131.Context<ContextVars<any>, any, {}> | _faire_auth_core_types81.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
11611
11611
|
headers: Headers;
|
|
11612
11612
|
response: string | {
|
|
11613
11613
|
success: false;
|
|
@@ -11639,7 +11639,7 @@ declare const faireAuth: <Options extends FaireAuthOptions$1>(options: Options &
|
|
|
11639
11639
|
accountId?: string | undefined;
|
|
11640
11640
|
userId?: string | undefined;
|
|
11641
11641
|
};
|
|
11642
|
-
}, ctx?:
|
|
11642
|
+
}, ctx?: hono131.Context<ContextVars<any>, any, {}> | _faire_auth_core_types81.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
11643
11643
|
headers: Headers;
|
|
11644
11644
|
response: {
|
|
11645
11645
|
success: false;
|
|
@@ -11713,7 +11713,7 @@ declare const faireAuth: <Options extends FaireAuthOptions$1>(options: Options &
|
|
|
11713
11713
|
json: {
|
|
11714
11714
|
accountId: string;
|
|
11715
11715
|
};
|
|
11716
|
-
}, ctx?:
|
|
11716
|
+
}, ctx?: hono131.Context<ContextVars<any>, any, {}> | _faire_auth_core_types81.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
11717
11717
|
headers: Headers;
|
|
11718
11718
|
response: {
|
|
11719
11719
|
success: false;
|
|
@@ -11784,7 +11784,7 @@ declare const faireAuth: <Options extends FaireAuthOptions$1>(options: Options &
|
|
|
11784
11784
|
disableCookieCache?: string | boolean | undefined;
|
|
11785
11785
|
disableRefresh?: string | boolean | undefined;
|
|
11786
11786
|
};
|
|
11787
|
-
}, ctx?:
|
|
11787
|
+
}, ctx?: hono131.Context<ContextVars<any>, any, {}> | _faire_auth_core_types81.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
11788
11788
|
headers: Headers;
|
|
11789
11789
|
response: {
|
|
11790
11790
|
success: false;
|
|
@@ -11882,7 +11882,7 @@ declare const faireAuth: <Options extends FaireAuthOptions$1>(options: Options &
|
|
|
11882
11882
|
scopes?: string[] | undefined;
|
|
11883
11883
|
errorCallbackURL?: string | undefined;
|
|
11884
11884
|
};
|
|
11885
|
-
}, ctx?:
|
|
11885
|
+
}, ctx?: hono131.Context<ContextVars<any>, any, {}> | _faire_auth_core_types81.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
11886
11886
|
headers: Headers;
|
|
11887
11887
|
response: {
|
|
11888
11888
|
success: false;
|
|
@@ -12018,7 +12018,7 @@ declare const faireAuth: <Options extends FaireAuthOptions$1>(options: Options &
|
|
|
12018
12018
|
} | undefined;
|
|
12019
12019
|
} | undefined;
|
|
12020
12020
|
}>;
|
|
12021
|
-
listAccounts: <AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(ctx?:
|
|
12021
|
+
listAccounts: <AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(ctx?: hono131.Context<ContextVars<any>, any, {}> | _faire_auth_core_types81.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
12022
12022
|
headers: Headers;
|
|
12023
12023
|
response: {
|
|
12024
12024
|
success: false;
|
|
@@ -12052,7 +12052,7 @@ declare const faireAuth: <Options extends FaireAuthOptions$1>(options: Options &
|
|
|
12052
12052
|
scopes: string[];
|
|
12053
12053
|
}[];
|
|
12054
12054
|
}>;
|
|
12055
|
-
listSessions: <AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(ctx?:
|
|
12055
|
+
listSessions: <AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(ctx?: hono131.Context<ContextVars<any>, any, {}> | _faire_auth_core_types81.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
12056
12056
|
headers: Headers;
|
|
12057
12057
|
response: {
|
|
12058
12058
|
success: false;
|
|
@@ -12111,7 +12111,7 @@ declare const faireAuth: <Options extends FaireAuthOptions$1>(options: Options &
|
|
|
12111
12111
|
state?: string | undefined;
|
|
12112
12112
|
user?: string | undefined;
|
|
12113
12113
|
};
|
|
12114
|
-
}, ctx?:
|
|
12114
|
+
}, ctx?: hono131.Context<ContextVars<any>, any, {}> | _faire_auth_core_types81.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
12115
12115
|
headers: Headers;
|
|
12116
12116
|
response: Response | {
|
|
12117
12117
|
success: false;
|
|
@@ -12136,7 +12136,7 @@ declare const faireAuth: <Options extends FaireAuthOptions$1>(options: Options &
|
|
|
12136
12136
|
param: {
|
|
12137
12137
|
id: string;
|
|
12138
12138
|
};
|
|
12139
|
-
}, ctx?:
|
|
12139
|
+
}, ctx?: hono131.Context<ContextVars<any>, any, {}> | _faire_auth_core_types81.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
12140
12140
|
headers: Headers;
|
|
12141
12141
|
response: Response | {
|
|
12142
12142
|
success: false;
|
|
@@ -12194,7 +12194,7 @@ declare const faireAuth: <Options extends FaireAuthOptions$1>(options: Options &
|
|
|
12194
12194
|
} | undefined;
|
|
12195
12195
|
} | undefined;
|
|
12196
12196
|
}>;
|
|
12197
|
-
ok: <AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(ctx?:
|
|
12197
|
+
ok: <AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(ctx?: hono131.Context<ContextVars<any>, any, {}> | _faire_auth_core_types81.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
12198
12198
|
headers: Headers;
|
|
12199
12199
|
response: {
|
|
12200
12200
|
success: true;
|
|
@@ -12210,7 +12210,7 @@ declare const faireAuth: <Options extends FaireAuthOptions$1>(options: Options &
|
|
|
12210
12210
|
accountId?: string | undefined;
|
|
12211
12211
|
userId?: string | undefined;
|
|
12212
12212
|
};
|
|
12213
|
-
}, ctx?:
|
|
12213
|
+
}, ctx?: hono131.Context<ContextVars<any>, any, {}> | _faire_auth_core_types81.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
12214
12214
|
headers: Headers;
|
|
12215
12215
|
response: {
|
|
12216
12216
|
success: false;
|
|
@@ -12285,14 +12285,14 @@ declare const faireAuth: <Options extends FaireAuthOptions$1>(options: Options &
|
|
|
12285
12285
|
email: string;
|
|
12286
12286
|
redirectTo?: string | undefined;
|
|
12287
12287
|
};
|
|
12288
|
-
}, ctx?:
|
|
12288
|
+
}, ctx?: hono131.Context<ContextVars<any>, any, {}> | _faire_auth_core_types81.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
12289
12289
|
headers: Headers;
|
|
12290
12290
|
response: {
|
|
12291
|
-
success:
|
|
12292
|
-
code?: string | undefined;
|
|
12291
|
+
success: true;
|
|
12293
12292
|
message?: string | undefined;
|
|
12294
12293
|
} | {
|
|
12295
|
-
success:
|
|
12294
|
+
success: false;
|
|
12295
|
+
code?: string | undefined;
|
|
12296
12296
|
message?: string | undefined;
|
|
12297
12297
|
} | {
|
|
12298
12298
|
success: false;
|
|
@@ -12307,11 +12307,11 @@ declare const faireAuth: <Options extends FaireAuthOptions$1>(options: Options &
|
|
|
12307
12307
|
} | undefined;
|
|
12308
12308
|
};
|
|
12309
12309
|
} : {
|
|
12310
|
-
success:
|
|
12311
|
-
code?: string | undefined;
|
|
12310
|
+
success: true;
|
|
12312
12311
|
message?: string | undefined;
|
|
12313
12312
|
} | {
|
|
12314
|
-
success:
|
|
12313
|
+
success: false;
|
|
12314
|
+
code?: string | undefined;
|
|
12315
12315
|
message?: string | undefined;
|
|
12316
12316
|
} | {
|
|
12317
12317
|
success: false;
|
|
@@ -12333,7 +12333,7 @@ declare const faireAuth: <Options extends FaireAuthOptions$1>(options: Options &
|
|
|
12333
12333
|
query: {
|
|
12334
12334
|
callbackURL: string;
|
|
12335
12335
|
};
|
|
12336
|
-
}, ctx?:
|
|
12336
|
+
}, ctx?: hono131.Context<ContextVars<any>, any, {}> | _faire_auth_core_types81.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
12337
12337
|
headers: Headers;
|
|
12338
12338
|
response: Response;
|
|
12339
12339
|
} : Response>;
|
|
@@ -12346,14 +12346,14 @@ declare const faireAuth: <Options extends FaireAuthOptions$1>(options: Options &
|
|
|
12346
12346
|
query: {
|
|
12347
12347
|
token?: string | undefined;
|
|
12348
12348
|
};
|
|
12349
|
-
}, ctx?:
|
|
12349
|
+
}, ctx?: hono131.Context<ContextVars<any>, any, {}> | _faire_auth_core_types81.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
12350
12350
|
headers: Headers;
|
|
12351
12351
|
response: {
|
|
12352
|
-
success:
|
|
12353
|
-
code?: string | undefined;
|
|
12352
|
+
success: true;
|
|
12354
12353
|
message?: string | undefined;
|
|
12355
12354
|
} | {
|
|
12356
|
-
success:
|
|
12355
|
+
success: false;
|
|
12356
|
+
code?: string | undefined;
|
|
12357
12357
|
message?: string | undefined;
|
|
12358
12358
|
} | {
|
|
12359
12359
|
success: false;
|
|
@@ -12368,11 +12368,11 @@ declare const faireAuth: <Options extends FaireAuthOptions$1>(options: Options &
|
|
|
12368
12368
|
} | undefined;
|
|
12369
12369
|
};
|
|
12370
12370
|
} : {
|
|
12371
|
-
success:
|
|
12372
|
-
code?: string | undefined;
|
|
12371
|
+
success: true;
|
|
12373
12372
|
message?: string | undefined;
|
|
12374
12373
|
} | {
|
|
12375
|
-
success:
|
|
12374
|
+
success: false;
|
|
12375
|
+
code?: string | undefined;
|
|
12376
12376
|
message?: string | undefined;
|
|
12377
12377
|
} | {
|
|
12378
12378
|
success: false;
|
|
@@ -12386,7 +12386,7 @@ declare const faireAuth: <Options extends FaireAuthOptions$1>(options: Options &
|
|
|
12386
12386
|
} | undefined;
|
|
12387
12387
|
} | undefined;
|
|
12388
12388
|
}>;
|
|
12389
|
-
revokeOtherSessions: <AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(ctx?:
|
|
12389
|
+
revokeOtherSessions: <AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(ctx?: hono131.Context<ContextVars<any>, any, {}> | _faire_auth_core_types81.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
12390
12390
|
headers: Headers;
|
|
12391
12391
|
response: {
|
|
12392
12392
|
success: false;
|
|
@@ -12408,18 +12408,18 @@ declare const faireAuth: <Options extends FaireAuthOptions$1>(options: Options &
|
|
|
12408
12408
|
json: {
|
|
12409
12409
|
token: string;
|
|
12410
12410
|
};
|
|
12411
|
-
}, ctx?:
|
|
12411
|
+
}, ctx?: hono131.Context<ContextVars<any>, any, {}> | _faire_auth_core_types81.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
12412
12412
|
headers: Headers;
|
|
12413
12413
|
response: {
|
|
12414
12414
|
success: false;
|
|
12415
12415
|
code?: string | undefined;
|
|
12416
12416
|
message?: string | undefined;
|
|
12417
12417
|
} | {
|
|
12418
|
-
success:
|
|
12419
|
-
code?: string | undefined;
|
|
12418
|
+
success: true;
|
|
12420
12419
|
message?: string | undefined;
|
|
12421
12420
|
} | {
|
|
12422
|
-
success:
|
|
12421
|
+
success: false;
|
|
12422
|
+
code?: string | undefined;
|
|
12423
12423
|
message?: string | undefined;
|
|
12424
12424
|
} | {
|
|
12425
12425
|
success: false;
|
|
@@ -12435,11 +12435,11 @@ declare const faireAuth: <Options extends FaireAuthOptions$1>(options: Options &
|
|
|
12435
12435
|
code?: string | undefined;
|
|
12436
12436
|
message?: string | undefined;
|
|
12437
12437
|
} | {
|
|
12438
|
-
success:
|
|
12439
|
-
code?: string | undefined;
|
|
12438
|
+
success: true;
|
|
12440
12439
|
message?: string | undefined;
|
|
12441
12440
|
} | {
|
|
12442
|
-
success:
|
|
12441
|
+
success: false;
|
|
12442
|
+
code?: string | undefined;
|
|
12443
12443
|
message?: string | undefined;
|
|
12444
12444
|
} | {
|
|
12445
12445
|
success: false;
|
|
@@ -12450,18 +12450,18 @@ declare const faireAuth: <Options extends FaireAuthOptions$1>(options: Options &
|
|
|
12450
12450
|
} | undefined;
|
|
12451
12451
|
} | undefined;
|
|
12452
12452
|
}>;
|
|
12453
|
-
revokeSessions: <AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(ctx?:
|
|
12453
|
+
revokeSessions: <AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(ctx?: hono131.Context<ContextVars<any>, any, {}> | _faire_auth_core_types81.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
12454
12454
|
headers: Headers;
|
|
12455
12455
|
response: {
|
|
12456
12456
|
success: false;
|
|
12457
12457
|
code?: string | undefined;
|
|
12458
12458
|
message?: string | undefined;
|
|
12459
12459
|
} | {
|
|
12460
|
-
success:
|
|
12461
|
-
code?: string | undefined;
|
|
12460
|
+
success: true;
|
|
12462
12461
|
message?: string | undefined;
|
|
12463
12462
|
} | {
|
|
12464
|
-
success:
|
|
12463
|
+
success: false;
|
|
12464
|
+
code?: string | undefined;
|
|
12465
12465
|
message?: string | undefined;
|
|
12466
12466
|
};
|
|
12467
12467
|
} : {
|
|
@@ -12469,11 +12469,11 @@ declare const faireAuth: <Options extends FaireAuthOptions$1>(options: Options &
|
|
|
12469
12469
|
code?: string | undefined;
|
|
12470
12470
|
message?: string | undefined;
|
|
12471
12471
|
} | {
|
|
12472
|
-
success:
|
|
12473
|
-
code?: string | undefined;
|
|
12472
|
+
success: true;
|
|
12474
12473
|
message?: string | undefined;
|
|
12475
12474
|
} | {
|
|
12476
|
-
success:
|
|
12475
|
+
success: false;
|
|
12476
|
+
code?: string | undefined;
|
|
12477
12477
|
message?: string | undefined;
|
|
12478
12478
|
}>;
|
|
12479
12479
|
sendVerificationEmail: <AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(input: {
|
|
@@ -12481,14 +12481,14 @@ declare const faireAuth: <Options extends FaireAuthOptions$1>(options: Options &
|
|
|
12481
12481
|
email: string;
|
|
12482
12482
|
callbackURL?: string | undefined;
|
|
12483
12483
|
};
|
|
12484
|
-
}, ctx?:
|
|
12484
|
+
}, ctx?: hono131.Context<ContextVars<any>, any, {}> | _faire_auth_core_types81.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
12485
12485
|
headers: Headers;
|
|
12486
12486
|
response: {
|
|
12487
|
-
success:
|
|
12488
|
-
code?: string | undefined;
|
|
12487
|
+
success: true;
|
|
12489
12488
|
message?: string | undefined;
|
|
12490
12489
|
} | {
|
|
12491
|
-
success:
|
|
12490
|
+
success: false;
|
|
12491
|
+
code?: string | undefined;
|
|
12492
12492
|
message?: string | undefined;
|
|
12493
12493
|
} | {
|
|
12494
12494
|
success: false;
|
|
@@ -12503,11 +12503,11 @@ declare const faireAuth: <Options extends FaireAuthOptions$1>(options: Options &
|
|
|
12503
12503
|
} | undefined;
|
|
12504
12504
|
};
|
|
12505
12505
|
} : {
|
|
12506
|
-
success:
|
|
12507
|
-
code?: string | undefined;
|
|
12506
|
+
success: true;
|
|
12508
12507
|
message?: string | undefined;
|
|
12509
12508
|
} | {
|
|
12510
|
-
success:
|
|
12509
|
+
success: false;
|
|
12510
|
+
code?: string | undefined;
|
|
12511
12511
|
message?: string | undefined;
|
|
12512
12512
|
} | {
|
|
12513
12513
|
success: false;
|
|
@@ -12528,7 +12528,7 @@ declare const faireAuth: <Options extends FaireAuthOptions$1>(options: Options &
|
|
|
12528
12528
|
callbackURL?: string | undefined;
|
|
12529
12529
|
rememberMe?: boolean | undefined;
|
|
12530
12530
|
};
|
|
12531
|
-
}, ctx?:
|
|
12531
|
+
}, ctx?: hono131.Context<ContextVars<any>, any, {}> | _faire_auth_core_types81.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
12532
12532
|
headers: Headers;
|
|
12533
12533
|
response: {
|
|
12534
12534
|
success: false;
|
|
@@ -12682,7 +12682,7 @@ declare const faireAuth: <Options extends FaireAuthOptions$1>(options: Options &
|
|
|
12682
12682
|
requestSignUp?: boolean | undefined;
|
|
12683
12683
|
loginHint?: string | undefined;
|
|
12684
12684
|
};
|
|
12685
|
-
}, ctx?:
|
|
12685
|
+
}, ctx?: hono131.Context<ContextVars<any>, any, {}> | _faire_auth_core_types81.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
12686
12686
|
headers: Headers;
|
|
12687
12687
|
response: Response | {
|
|
12688
12688
|
success: false;
|
|
@@ -12896,22 +12896,22 @@ declare const faireAuth: <Options extends FaireAuthOptions$1>(options: Options &
|
|
|
12896
12896
|
} | undefined;
|
|
12897
12897
|
} | undefined;
|
|
12898
12898
|
}>;
|
|
12899
|
-
signOut: <AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(ctx?:
|
|
12899
|
+
signOut: <AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(ctx?: hono131.Context<ContextVars<any>, any, {}> | _faire_auth_core_types81.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
12900
12900
|
headers: Headers;
|
|
12901
12901
|
response: {
|
|
12902
|
-
success:
|
|
12903
|
-
code?: string | undefined;
|
|
12902
|
+
success: true;
|
|
12904
12903
|
message?: string | undefined;
|
|
12905
12904
|
} | {
|
|
12906
|
-
success:
|
|
12905
|
+
success: false;
|
|
12906
|
+
code?: string | undefined;
|
|
12907
12907
|
message?: string | undefined;
|
|
12908
12908
|
};
|
|
12909
12909
|
} : {
|
|
12910
|
-
success:
|
|
12911
|
-
code?: string | undefined;
|
|
12910
|
+
success: true;
|
|
12912
12911
|
message?: string | undefined;
|
|
12913
12912
|
} | {
|
|
12914
|
-
success:
|
|
12913
|
+
success: false;
|
|
12914
|
+
code?: string | undefined;
|
|
12915
12915
|
message?: string | undefined;
|
|
12916
12916
|
}>;
|
|
12917
12917
|
signUpEmail: <AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(input: {
|
|
@@ -12924,7 +12924,7 @@ declare const faireAuth: <Options extends FaireAuthOptions$1>(options: Options &
|
|
|
12924
12924
|
callbackURL?: string | undefined;
|
|
12925
12925
|
rememberMe?: boolean | undefined;
|
|
12926
12926
|
};
|
|
12927
|
-
}, ctx?:
|
|
12927
|
+
}, ctx?: hono131.Context<ContextVars<any>, any, {}> | _faire_auth_core_types81.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
12928
12928
|
headers: Headers;
|
|
12929
12929
|
response: {
|
|
12930
12930
|
success: false;
|
|
@@ -13083,7 +13083,7 @@ declare const faireAuth: <Options extends FaireAuthOptions$1>(options: Options &
|
|
|
13083
13083
|
providerId: string;
|
|
13084
13084
|
accountId?: string | undefined;
|
|
13085
13085
|
};
|
|
13086
|
-
}, ctx?:
|
|
13086
|
+
}, ctx?: hono131.Context<ContextVars<any>, any, {}> | _faire_auth_core_types81.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
13087
13087
|
headers: Headers;
|
|
13088
13088
|
response: {
|
|
13089
13089
|
success: false;
|
|
@@ -13094,11 +13094,11 @@ declare const faireAuth: <Options extends FaireAuthOptions$1>(options: Options &
|
|
|
13094
13094
|
code?: string | undefined | undefined;
|
|
13095
13095
|
message?: string | undefined | undefined;
|
|
13096
13096
|
} | {
|
|
13097
|
-
success:
|
|
13098
|
-
code?: string | undefined;
|
|
13097
|
+
success: true;
|
|
13099
13098
|
message?: string | undefined;
|
|
13100
13099
|
} | {
|
|
13101
|
-
success:
|
|
13100
|
+
success: false;
|
|
13101
|
+
code?: string | undefined;
|
|
13102
13102
|
message?: string | undefined;
|
|
13103
13103
|
} | {
|
|
13104
13104
|
success: false;
|
|
@@ -13121,11 +13121,11 @@ declare const faireAuth: <Options extends FaireAuthOptions$1>(options: Options &
|
|
|
13121
13121
|
code?: string | undefined | undefined;
|
|
13122
13122
|
message?: string | undefined | undefined;
|
|
13123
13123
|
} | {
|
|
13124
|
-
success:
|
|
13125
|
-
code?: string | undefined;
|
|
13124
|
+
success: true;
|
|
13126
13125
|
message?: string | undefined;
|
|
13127
13126
|
} | {
|
|
13128
|
-
success:
|
|
13127
|
+
success: false;
|
|
13128
|
+
code?: string | undefined;
|
|
13129
13129
|
message?: string | undefined;
|
|
13130
13130
|
} | {
|
|
13131
13131
|
success: false;
|
|
@@ -13145,18 +13145,18 @@ declare const faireAuth: <Options extends FaireAuthOptions$1>(options: Options &
|
|
|
13145
13145
|
name?: string | undefined;
|
|
13146
13146
|
image?: string | null | undefined;
|
|
13147
13147
|
};
|
|
13148
|
-
}, ctx?:
|
|
13148
|
+
}, ctx?: hono131.Context<ContextVars<any>, any, {}> | _faire_auth_core_types81.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
13149
13149
|
headers: Headers;
|
|
13150
13150
|
response: {
|
|
13151
13151
|
success: false;
|
|
13152
13152
|
code?: string | undefined;
|
|
13153
13153
|
message?: string | undefined;
|
|
13154
13154
|
} | {
|
|
13155
|
-
success:
|
|
13156
|
-
code?: string | undefined;
|
|
13155
|
+
success: true;
|
|
13157
13156
|
message?: string | undefined;
|
|
13158
13157
|
} | {
|
|
13159
|
-
success:
|
|
13158
|
+
success: false;
|
|
13159
|
+
code?: string | undefined;
|
|
13160
13160
|
message?: string | undefined;
|
|
13161
13161
|
} | {
|
|
13162
13162
|
success: false;
|
|
@@ -13178,11 +13178,11 @@ declare const faireAuth: <Options extends FaireAuthOptions$1>(options: Options &
|
|
|
13178
13178
|
code?: string | undefined;
|
|
13179
13179
|
message?: string | undefined;
|
|
13180
13180
|
} | {
|
|
13181
|
-
success:
|
|
13182
|
-
code?: string | undefined;
|
|
13181
|
+
success: true;
|
|
13183
13182
|
message?: string | undefined;
|
|
13184
13183
|
} | {
|
|
13185
|
-
success:
|
|
13184
|
+
success: false;
|
|
13185
|
+
code?: string | undefined;
|
|
13186
13186
|
message?: string | undefined;
|
|
13187
13187
|
} | {
|
|
13188
13188
|
success: false;
|
|
@@ -13204,7 +13204,7 @@ declare const faireAuth: <Options extends FaireAuthOptions$1>(options: Options &
|
|
|
13204
13204
|
token: string;
|
|
13205
13205
|
callbackURL?: string | undefined;
|
|
13206
13206
|
};
|
|
13207
|
-
}, ctx?:
|
|
13207
|
+
}, ctx?: hono131.Context<ContextVars<any>, any, {}> | _faire_auth_core_types81.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
13208
13208
|
headers: Headers;
|
|
13209
13209
|
response: Response | {
|
|
13210
13210
|
success: false;
|