faire-auth 1.0.3 → 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.
Files changed (76) hide show
  1. package/dist/adapters/drizzle-adapter/index.d.cts +1 -1
  2. package/dist/adapters/drizzle-adapter/index.d.mts +1 -1
  3. package/dist/adapters/index.d.cts +1 -1
  4. package/dist/adapters/index.d.mts +1 -1
  5. package/dist/adapters/kysely-adapter/index.d.cts +1 -1
  6. package/dist/adapters/kysely-adapter/index.d.mts +1 -1
  7. package/dist/adapters/memory-adapter/index.d.cts +3 -3
  8. package/dist/adapters/memory-adapter/index.d.mts +3 -3
  9. package/dist/adapters/mongodb-adapter/index.d.cts +1 -1
  10. package/dist/adapters/mongodb-adapter/index.d.mts +1 -1
  11. package/dist/adapters/prisma-adapter/index.d.cts +1 -1
  12. package/dist/adapters/prisma-adapter/index.d.mts +1 -1
  13. package/dist/adapters/test.d.cts +1 -1
  14. package/dist/adapters/test.d.mts +1 -1
  15. package/dist/api/index.d.cts +1 -1
  16. package/dist/api/index.d.mts +1 -1
  17. package/dist/api/middleware/index.d.cts +3 -3
  18. package/dist/api/middleware/index.d.mts +3 -3
  19. package/dist/client/index.d.cts +1 -1
  20. package/dist/client/index.d.mts +1 -1
  21. package/dist/client/lynx/index.d.cts +1 -1
  22. package/dist/client/lynx/index.d.mts +26 -26
  23. package/dist/client/plugins/index.d.cts +1 -1
  24. package/dist/client/plugins/index.d.mts +1 -1
  25. package/dist/client/react/index.d.cts +26 -26
  26. package/dist/client/react/index.d.mts +26 -26
  27. package/dist/client/solid/index.d.cts +1 -1
  28. package/dist/client/solid/index.d.mts +5 -5
  29. package/dist/client/svelte/index.d.cts +26 -26
  30. package/dist/client/svelte/index.d.mts +26 -26
  31. package/dist/client/vue/index.d.cts +27 -27
  32. package/dist/client/vue/index.d.mts +27 -27
  33. package/dist/crypto/index.d.cts +2 -2
  34. package/dist/crypto/index.d.mts +2 -2
  35. package/dist/db/index.d.cts +1 -1
  36. package/dist/db/index.d.mts +1 -1
  37. package/dist/{index-Baarsq5J.d.mts → index--DLiUhEn.d.mts} +6 -6
  38. package/dist/{index-BCTFWP_o.d.mts → index-B4bqEDYG.d.mts} +1 -1
  39. package/dist/{index-f-5OJ9yV.d.cts → index-Boa0SV4h.d.cts} +300 -300
  40. package/dist/{index-rFv8Hxld.d.mts → index-Bykgiq3o.d.cts} +638 -638
  41. package/dist/{index-ztVZPQdV.d.mts → index-ClFGA8tb.d.mts} +6 -6
  42. package/dist/{index-By364WbF.d.cts → index-ClOM0wFf.d.cts} +15 -15
  43. package/dist/{index-CzidsAyA.d.mts → index-CsxNfGAV.d.mts} +354 -354
  44. package/dist/{index-BzWwMgxr.d.cts → index-DKnO_Zfm.d.cts} +9 -9
  45. package/dist/{index-CJD2yB-W.d.cts → index-DRYO4mGd.d.cts} +6 -6
  46. package/dist/{index-DvW-GCcI.d.cts → index-Dsua4U8w.d.cts} +6 -6
  47. package/dist/{index-CsWF3f7U.d.cts → index-DxXFCG2_.d.mts} +378 -378
  48. package/dist/{index-BVRfQy6L.d.mts → index-gtCVvDvC.d.mts} +15 -15
  49. package/dist/index.cjs +1 -1
  50. package/dist/index.d.cts +1 -1
  51. package/dist/index.d.mts +1 -1
  52. package/dist/index.mjs +1 -1
  53. package/dist/integrations/next-js.d.cts +1 -1
  54. package/dist/integrations/next-js.d.mts +5 -5
  55. package/dist/integrations/node.d.cts +1 -1
  56. package/dist/integrations/node.d.mts +1 -1
  57. package/dist/integrations/react-start.d.cts +5 -5
  58. package/dist/integrations/react-start.d.mts +5 -5
  59. package/dist/integrations/svelte-kit.d.cts +5 -5
  60. package/dist/integrations/svelte-kit.d.mts +5 -5
  61. package/dist/oauth2/index.d.cts +1 -1
  62. package/dist/oauth2/index.d.mts +1 -1
  63. package/dist/plugins/bearer/index.d.cts +2 -2
  64. package/dist/plugins/bearer/index.d.mts +2 -2
  65. package/dist/plugins/index.d.cts +348 -348
  66. package/dist/plugins/index.d.mts +181 -181
  67. package/dist/plugins/passkey/index.d.cts +2 -2
  68. package/dist/plugins/passkey/index.d.mts +2 -2
  69. package/dist/test-utils/index.cjs +1 -1
  70. package/dist/test-utils/index.d.cts +743 -743
  71. package/dist/test-utils/index.mjs +1 -1
  72. package/dist/types/index.d.cts +1 -1
  73. package/dist/types/index.d.mts +1 -1
  74. package/dist/utils/cookies.d.cts +1 -1
  75. package/dist/utils/cookies.d.mts +1 -1
  76. package/package.json +2 -2
@@ -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 _faire_auth_core_types83 from "@faire-auth/core/types";
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";
@@ -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
- throw?: boolean;
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;
@@ -662,8 +662,8 @@ declare const createAuthClient: <App extends AnyHono = DefaultApp>() => <Option
662
662
  customFetchImpl: any;
663
663
  }, unknown, unknown, _better_fetch_fetch49.Schema>;
664
664
  $store: {
665
- notify: (signal?: _faire_auth_core_types83.LiteralStringUnion<"$sessionSignal">) => void;
666
- listen: (signal: _faire_auth_core_types83.LiteralStringUnion<"$sessionSignal">, listener: (value: boolean, oldValue?: boolean | undefined) => void) => void;
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: {
@@ -1541,7 +1541,7 @@ declare const freshSessionMiddleware: (ctx: Context<ContextVars<{
1541
1541
  success: false;
1542
1542
  code?: string | undefined;
1543
1543
  message?: string | undefined;
1544
- }, 401>) | _faire_auth_core_types83.JSONRespondReturn<{
1544
+ }, 401>) | _faire_auth_core_types81.JSONRespondReturn<{
1545
1545
  success: false;
1546
1546
  code?: string | undefined;
1547
1547
  message?: string | undefined;
@@ -2259,11 +2259,11 @@ declare const verifyEmailRoute: {
2259
2259
  email: string;
2260
2260
  updateTo?: string | undefined;
2261
2261
  };
2262
- }>, string, {}>, next: hono131.Next) => Promise<void | (Response & hono131.TypedResponse<undefined, 302, "redirect">) | _faire_auth_core_types83.JSONRespondReturn<{
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
- }, 400 | 401>>];
2266
+ }, 401 | 400>>];
2267
2267
  request: {
2268
2268
  query: zod675.ZodObject<{
2269
2269
  token: zod675.ZodString;
@@ -3615,7 +3615,7 @@ declare const unlinkAccountRoute: {
3615
3615
  success: false;
3616
3616
  code?: string | undefined;
3617
3617
  message?: string | undefined;
3618
- }, 401>) | _faire_auth_core_types83.JSONRespondReturn<{
3618
+ }, 401>) | _faire_auth_core_types81.JSONRespondReturn<{
3619
3619
  success: false;
3620
3620
  code?: string | undefined;
3621
3621
  message?: string | undefined;
@@ -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: "none" | "select_account" | "consent" | "login" | "select_account consent" | undefined;
4390
+ prompt: "select_account" | "consent" | "login" | "none" | "select_account consent" | undefined;
4391
4391
  verifyIdToken: boolean;
4392
4392
  scope: string[] | undefined;
4393
4393
  refreshAccessToken: boolean;
@@ -4407,7 +4407,7 @@ declare function getTelemetryAuthConfig(options: FaireAuthOptions$1, context?: T
4407
4407
  verification: {
4408
4408
  modelName: string | undefined;
4409
4409
  disableCleanup: boolean | undefined;
4410
- fields: Partial<Record<"createdAt" | "updatedAt" | "value" | "expiresAt" | "identifier", string>> | undefined;
4410
+ fields: Partial<Record<"createdAt" | "updatedAt" | "expiresAt" | "value" | "identifier", string>> | undefined;
4411
4411
  };
4412
4412
  session: {
4413
4413
  modelName: string | 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" | "providerId" | "accountId" | "userId" | "accessToken" | "refreshToken" | "idToken" | "accessTokenExpiresAt" | "refreshTokenExpiresAt" | "scope" | "password", string>> | undefined;
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: _faire_auth_core_types83.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;
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 | _faire_auth_core_types83.GenerateIdFn | undefined;
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: "lax" | "Lax" | "None" | "none" | "Strict" | "strict" | undefined;
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?: hono131.Context<ContextVars<any>, any, {}> | _faire_auth_core_types83.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
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: false;
4552
- code?: string | undefined;
4551
+ success: true;
4553
4552
  message?: string | undefined;
4554
4553
  } | {
4555
- success: true;
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: false;
4572
- code?: string | undefined;
4571
+ success: true;
4573
4572
  message?: string | undefined;
4574
4573
  } | {
4575
- success: true;
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?: hono131.Context<ContextVars<any>, any, {}> | _faire_auth_core_types83.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
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: false;
4599
- code?: string | undefined;
4598
+ success: true;
4600
4599
  message?: string | undefined;
4601
4600
  } | {
4602
- success: true;
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: false;
4622
- code?: string | undefined;
4621
+ success: true;
4623
4622
  message?: string | undefined;
4624
4623
  } | {
4625
- success: true;
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?: hono131.Context<ContextVars<any>, any, {}> | _faire_auth_core_types83.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
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?: hono131.Context<ContextVars<any>, any, {}> | _faire_auth_core_types83.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
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: false;
4797
- code?: string | undefined;
4796
+ success: true;
4798
4797
  message?: string | undefined;
4799
4798
  } | {
4800
- success: true;
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: false;
4823
- code?: string | undefined;
4822
+ success: true;
4824
4823
  message?: string | undefined;
4825
4824
  } | {
4826
- success: true;
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?: hono131.Context<ContextVars<any>, any, {}> | _faire_auth_core_types83.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
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: false;
4856
- code?: string | undefined;
4855
+ success: true;
4857
4856
  message?: string | undefined;
4858
4857
  } | {
4859
- success: true;
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: false;
4879
- code?: string | undefined;
4878
+ success: true;
4880
4879
  message?: string | undefined;
4881
4880
  } | {
4882
- success: true;
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?: hono131.Context<ContextVars<any>, any, {}> | _faire_auth_core_types83.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
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?: hono131.Context<ContextVars<any>, any, {}> | _faire_auth_core_types83.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
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?: hono131.Context<ContextVars<any>, any, {}> | _faire_auth_core_types83.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
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?: hono131.Context<ContextVars<any>, any, {}> | _faire_auth_core_types83.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
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?: hono131.Context<ContextVars<any>, any, {}> | _faire_auth_core_types83.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
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?: hono131.Context<ContextVars<any>, any, {}> | _faire_auth_core_types83.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
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?: hono131.Context<ContextVars<any>, any, {}> | _faire_auth_core_types83.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
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?: hono131.Context<ContextVars<any>, any, {}> | _faire_auth_core_types83.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
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?: hono131.Context<ContextVars<any>, any, {}> | _faire_auth_core_types83.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
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?: hono131.Context<ContextVars<any>, any, {}> | _faire_auth_core_types83.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
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?: hono131.Context<ContextVars<any>, any, {}> | _faire_auth_core_types83.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
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?: hono131.Context<ContextVars<any>, any, {}> | _faire_auth_core_types83.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
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: false;
5583
- code?: string | undefined;
5582
+ success: true;
5584
5583
  message?: string | undefined;
5585
5584
  } | {
5586
- success: true;
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: false;
5602
- code?: string | undefined;
5601
+ success: true;
5603
5602
  message?: string | undefined;
5604
5603
  } | {
5605
- success: true;
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?: hono131.Context<ContextVars<any>, any, {}> | _faire_auth_core_types83.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
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?: hono131.Context<ContextVars<any>, any, {}> | _faire_auth_core_types83.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
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: false;
5644
- code?: string | undefined;
5643
+ success: true;
5645
5644
  message?: string | undefined;
5646
5645
  } | {
5647
- success: true;
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: false;
5663
- code?: string | undefined;
5662
+ success: true;
5664
5663
  message?: string | undefined;
5665
5664
  } | {
5666
- success: true;
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?: hono131.Context<ContextVars<any>, any, {}> | _faire_auth_core_types83.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
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?: hono131.Context<ContextVars<any>, any, {}> | _faire_auth_core_types83.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
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: false;
5710
- code?: string | undefined;
5709
+ success: true;
5711
5710
  message?: string | undefined;
5712
5711
  } | {
5713
- success: true;
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: false;
5730
- code?: string | undefined;
5729
+ success: true;
5731
5730
  message?: string | undefined;
5732
5731
  } | {
5733
- success: true;
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?: hono131.Context<ContextVars<any>, any, {}> | _faire_auth_core_types83.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
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: false;
5752
- code?: string | undefined;
5751
+ success: true;
5753
5752
  message?: string | undefined;
5754
5753
  } | {
5755
- success: true;
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: false;
5764
- code?: string | undefined;
5763
+ success: true;
5765
5764
  message?: string | undefined;
5766
5765
  } | {
5767
- success: true;
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?: hono131.Context<ContextVars<any>, any, {}> | _faire_auth_core_types83.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
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: false;
5779
- code?: string | undefined;
5778
+ success: true;
5780
5779
  message?: string | undefined;
5781
5780
  } | {
5782
- success: true;
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: false;
5798
- code?: string | undefined;
5797
+ success: true;
5799
5798
  message?: string | undefined;
5800
5799
  } | {
5801
- success: true;
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?: hono131.Context<ContextVars<any>, any, {}> | _faire_auth_core_types83.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
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?: hono131.Context<ContextVars<any>, any, {}> | _faire_auth_core_types83.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
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?: hono131.Context<ContextVars<any>, any, {}> | _faire_auth_core_types83.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
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: false;
6194
- code?: string | undefined;
6193
+ success: true;
6195
6194
  message?: string | undefined;
6196
6195
  } | {
6197
- success: true;
6196
+ success: false;
6197
+ code?: string | undefined;
6198
6198
  message?: string | undefined;
6199
6199
  };
6200
6200
  } : {
6201
- success: false;
6202
- code?: string | undefined;
6201
+ success: true;
6203
6202
  message?: string | undefined;
6204
6203
  } | {
6205
- success: true;
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?: hono131.Context<ContextVars<any>, any, {}> | _faire_auth_core_types83.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
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?: hono131.Context<ContextVars<any>, any, {}> | _faire_auth_core_types83.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
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: false;
6389
- code?: string | undefined;
6388
+ success: true;
6390
6389
  message?: string | undefined;
6391
6390
  } | {
6392
- success: true;
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: false;
6416
- code?: string | undefined;
6415
+ success: true;
6417
6416
  message?: string | undefined;
6418
6417
  } | {
6419
- success: true;
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?: hono131.Context<ContextVars<any>, any, {}> | _faire_auth_core_types83.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
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: false;
6447
- code?: string | undefined;
6446
+ success: true;
6448
6447
  message?: string | undefined;
6449
6448
  } | {
6450
- success: true;
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: false;
6473
- code?: string | undefined;
6472
+ success: true;
6474
6473
  message?: string | undefined;
6475
6474
  } | {
6476
- success: true;
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?: hono131.Context<ContextVars<any>, any, {}> | _faire_auth_core_types83.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
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: false;
6606
- code?: string | undefined;
6605
+ success: true;
6607
6606
  message?: string | undefined;
6608
6607
  };
6609
6608
  outputFormat: "json";
6610
- status: 400;
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: true;
6618
+ success: false;
6619
+ code?: string | undefined;
6620
6620
  message?: string | undefined;
6621
6621
  };
6622
6622
  outputFormat: "json";
6623
- status: 200;
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: false;
6830
- code?: string | undefined;
6829
+ success: true;
6831
6830
  message?: string | undefined;
6832
6831
  };
6833
6832
  outputFormat: "json";
6834
- status: 400;
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: true;
6843
+ success: false;
6844
+ code?: string | undefined;
6845
6845
  message?: string | undefined;
6846
6846
  };
6847
6847
  outputFormat: "json";
6848
- status: 200;
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: false;
7785
- code?: string | undefined;
7784
+ success: true;
7786
7785
  message?: string | undefined;
7787
7786
  };
7788
7787
  outputFormat: "json";
7789
- status: 400;
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: true;
7797
+ success: false;
7798
+ code?: string | undefined;
7799
7799
  message?: string | undefined;
7800
7800
  };
7801
7801
  outputFormat: "json";
7802
- status: 200;
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: false;
7871
- code?: string | undefined;
7870
+ success: true;
7872
7871
  message?: string | undefined;
7873
7872
  };
7874
7873
  outputFormat: "json";
7875
- status: 400;
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: true;
7887
+ success: false;
7888
+ code?: string | undefined;
7889
7889
  message?: string | undefined;
7890
7890
  };
7891
7891
  outputFormat: "json";
7892
- status: 200;
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: false;
7964
- code?: string | undefined;
7963
+ success: true;
7965
7964
  message?: string | undefined;
7966
7965
  };
7967
7966
  outputFormat: "json";
7968
- status: 400;
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: true;
7975
+ success: false;
7976
+ code?: string | undefined;
7977
7977
  message?: string | undefined;
7978
7978
  };
7979
7979
  outputFormat: "json";
7980
- status: 200;
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: false;
8067
- code?: string | undefined;
8066
+ success: true;
8068
8067
  message?: string | undefined;
8069
8068
  };
8070
8069
  outputFormat: "json";
8071
- status: 400;
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: true;
8079
+ success: false;
8080
+ code?: string | undefined;
8081
8081
  message?: string | undefined;
8082
8082
  };
8083
8083
  outputFormat: "json";
8084
- status: 200;
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 | undefined;
8647
- message?: string | undefined | undefined;
8646
+ code?: string | undefined;
8647
+ message?: string | undefined;
8648
8648
  };
8649
8649
  outputFormat: "json";
8650
- status: 403;
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: 401;
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: false;
8674
- code?: string | undefined;
8673
+ success: true;
8675
8674
  message?: string | undefined;
8676
8675
  };
8677
8676
  outputFormat: "json";
8678
- status: 400;
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: true;
8686
+ success: false;
8687
+ code?: string | undefined;
8688
8688
  message?: string | undefined;
8689
8689
  };
8690
8690
  outputFormat: "json";
8691
- status: 200;
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: 400 | 401;
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: false;
8948
- code?: string | undefined;
8947
+ success: true;
8949
8948
  message?: string | undefined;
8950
8949
  };
8951
8950
  outputFormat: "json";
8952
- status: 400;
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: true;
8960
+ success: false;
8961
+ code?: string | undefined;
8962
8962
  message?: string | undefined;
8963
8963
  };
8964
8964
  outputFormat: "json";
8965
- status: 200;
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: false;
9172
- code?: string | undefined;
9171
+ success: true;
9173
9172
  message?: string | undefined;
9174
9173
  };
9175
9174
  outputFormat: "json";
9176
- status: 400;
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: true;
9185
+ success: false;
9186
+ code?: string | undefined;
9187
9187
  message?: string | undefined;
9188
9188
  };
9189
9189
  outputFormat: "json";
9190
- status: 200;
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: false;
10127
- code?: string | undefined;
10126
+ success: true;
10128
10127
  message?: string | undefined;
10129
10128
  };
10130
10129
  outputFormat: "json";
10131
- status: 400;
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: true;
10139
+ success: false;
10140
+ code?: string | undefined;
10141
10141
  message?: string | undefined;
10142
10142
  };
10143
10143
  outputFormat: "json";
10144
- status: 200;
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: false;
10213
- code?: string | undefined;
10212
+ success: true;
10214
10213
  message?: string | undefined;
10215
10214
  };
10216
10215
  outputFormat: "json";
10217
- status: 400;
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: true;
10229
+ success: false;
10230
+ code?: string | undefined;
10231
10231
  message?: string | undefined;
10232
10232
  };
10233
10233
  outputFormat: "json";
10234
- status: 200;
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: false;
10306
- code?: string | undefined;
10305
+ success: true;
10307
10306
  message?: string | undefined;
10308
10307
  };
10309
10308
  outputFormat: "json";
10310
- status: 400;
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: true;
10317
+ success: false;
10318
+ code?: string | undefined;
10319
10319
  message?: string | undefined;
10320
10320
  };
10321
10321
  outputFormat: "json";
10322
- status: 200;
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: false;
10409
- code?: string | undefined;
10408
+ success: true;
10410
10409
  message?: string | undefined;
10411
10410
  };
10412
10411
  outputFormat: "json";
10413
- status: 400;
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: true;
10421
+ success: false;
10422
+ code?: string | undefined;
10423
10423
  message?: string | undefined;
10424
10424
  };
10425
10425
  outputFormat: "json";
10426
- status: 200;
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 | undefined;
10989
- message?: string | undefined | undefined;
10988
+ code?: string | undefined;
10989
+ message?: string | undefined;
10990
10990
  };
10991
10991
  outputFormat: "json";
10992
- status: 403;
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: 401;
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: false;
11016
- code?: string | undefined;
11015
+ success: true;
11017
11016
  message?: string | undefined;
11018
11017
  };
11019
11018
  outputFormat: "json";
11020
- status: 400;
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: true;
11028
+ success: false;
11029
+ code?: string | undefined;
11030
11030
  message?: string | undefined;
11031
11031
  };
11032
11032
  outputFormat: "json";
11033
- status: 200;
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: 400 | 401;
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?: hono131.Context<ContextVars<any>, any, {}> | _faire_auth_core_types83.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
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: false;
11261
- code?: string | undefined;
11260
+ success: true;
11262
11261
  message?: string | undefined;
11263
11262
  } | {
11264
- success: true;
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: false;
11281
- code?: string | undefined;
11280
+ success: true;
11282
11281
  message?: string | undefined;
11283
11282
  } | {
11284
- success: true;
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?: hono131.Context<ContextVars<any>, any, {}> | _faire_auth_core_types83.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
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: false;
11308
- code?: string | undefined;
11307
+ success: true;
11309
11308
  message?: string | undefined;
11310
11309
  } | {
11311
- success: true;
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: false;
11331
- code?: string | undefined;
11330
+ success: true;
11332
11331
  message?: string | undefined;
11333
11332
  } | {
11334
- success: true;
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?: hono131.Context<ContextVars<any>, any, {}> | _faire_auth_core_types83.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
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?: hono131.Context<ContextVars<any>, any, {}> | _faire_auth_core_types83.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
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: false;
11506
- code?: string | undefined;
11505
+ success: true;
11507
11506
  message?: string | undefined;
11508
11507
  } | {
11509
- success: true;
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: false;
11532
- code?: string | undefined;
11531
+ success: true;
11533
11532
  message?: string | undefined;
11534
11533
  } | {
11535
- success: true;
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?: hono131.Context<ContextVars<any>, any, {}> | _faire_auth_core_types83.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
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: false;
11565
- code?: string | undefined;
11564
+ success: true;
11566
11565
  message?: string | undefined;
11567
11566
  } | {
11568
- success: true;
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: false;
11588
- code?: string | undefined;
11587
+ success: true;
11589
11588
  message?: string | undefined;
11590
11589
  } | {
11591
- success: true;
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?: hono131.Context<ContextVars<any>, any, {}> | _faire_auth_core_types83.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
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?: hono131.Context<ContextVars<any>, any, {}> | _faire_auth_core_types83.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
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?: hono131.Context<ContextVars<any>, any, {}> | _faire_auth_core_types83.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
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?: hono131.Context<ContextVars<any>, any, {}> | _faire_auth_core_types83.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
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?: hono131.Context<ContextVars<any>, any, {}> | _faire_auth_core_types83.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
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?: hono131.Context<ContextVars<any>, any, {}> | _faire_auth_core_types83.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
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?: hono131.Context<ContextVars<any>, any, {}> | _faire_auth_core_types83.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
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?: hono131.Context<ContextVars<any>, any, {}> | _faire_auth_core_types83.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
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?: hono131.Context<ContextVars<any>, any, {}> | _faire_auth_core_types83.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
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?: hono131.Context<ContextVars<any>, any, {}> | _faire_auth_core_types83.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
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?: hono131.Context<ContextVars<any>, any, {}> | _faire_auth_core_types83.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
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?: hono131.Context<ContextVars<any>, any, {}> | _faire_auth_core_types83.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
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: false;
12292
- code?: string | undefined;
12291
+ success: true;
12293
12292
  message?: string | undefined;
12294
12293
  } | {
12295
- success: true;
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: false;
12311
- code?: string | undefined;
12310
+ success: true;
12312
12311
  message?: string | undefined;
12313
12312
  } | {
12314
- success: true;
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?: hono131.Context<ContextVars<any>, any, {}> | _faire_auth_core_types83.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
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?: hono131.Context<ContextVars<any>, any, {}> | _faire_auth_core_types83.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
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: false;
12353
- code?: string | undefined;
12352
+ success: true;
12354
12353
  message?: string | undefined;
12355
12354
  } | {
12356
- success: true;
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: false;
12372
- code?: string | undefined;
12371
+ success: true;
12373
12372
  message?: string | undefined;
12374
12373
  } | {
12375
- success: true;
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?: hono131.Context<ContextVars<any>, any, {}> | _faire_auth_core_types83.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
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?: hono131.Context<ContextVars<any>, any, {}> | _faire_auth_core_types83.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
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: false;
12419
- code?: string | undefined;
12418
+ success: true;
12420
12419
  message?: string | undefined;
12421
12420
  } | {
12422
- success: true;
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: false;
12439
- code?: string | undefined;
12438
+ success: true;
12440
12439
  message?: string | undefined;
12441
12440
  } | {
12442
- success: true;
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?: hono131.Context<ContextVars<any>, any, {}> | _faire_auth_core_types83.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
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: false;
12461
- code?: string | undefined;
12460
+ success: true;
12462
12461
  message?: string | undefined;
12463
12462
  } | {
12464
- success: true;
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: false;
12473
- code?: string | undefined;
12472
+ success: true;
12474
12473
  message?: string | undefined;
12475
12474
  } | {
12476
- success: true;
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?: hono131.Context<ContextVars<any>, any, {}> | _faire_auth_core_types83.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
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: false;
12488
- code?: string | undefined;
12487
+ success: true;
12489
12488
  message?: string | undefined;
12490
12489
  } | {
12491
- success: true;
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: false;
12507
- code?: string | undefined;
12506
+ success: true;
12508
12507
  message?: string | undefined;
12509
12508
  } | {
12510
- success: true;
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?: hono131.Context<ContextVars<any>, any, {}> | _faire_auth_core_types83.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
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?: hono131.Context<ContextVars<any>, any, {}> | _faire_auth_core_types83.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
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?: hono131.Context<ContextVars<any>, any, {}> | _faire_auth_core_types83.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
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: false;
12903
- code?: string | undefined;
12902
+ success: true;
12904
12903
  message?: string | undefined;
12905
12904
  } | {
12906
- success: true;
12905
+ success: false;
12906
+ code?: string | undefined;
12907
12907
  message?: string | undefined;
12908
12908
  };
12909
12909
  } : {
12910
- success: false;
12911
- code?: string | undefined;
12910
+ success: true;
12912
12911
  message?: string | undefined;
12913
12912
  } | {
12914
- success: true;
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?: hono131.Context<ContextVars<any>, any, {}> | _faire_auth_core_types83.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
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?: hono131.Context<ContextVars<any>, any, {}> | _faire_auth_core_types83.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
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: false;
13098
- code?: string | undefined;
13097
+ success: true;
13099
13098
  message?: string | undefined;
13100
13099
  } | {
13101
- success: true;
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: false;
13125
- code?: string | undefined;
13124
+ success: true;
13126
13125
  message?: string | undefined;
13127
13126
  } | {
13128
- success: true;
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?: hono131.Context<ContextVars<any>, any, {}> | _faire_auth_core_types83.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
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: false;
13156
- code?: string | undefined;
13155
+ success: true;
13157
13156
  message?: string | undefined;
13158
13157
  } | {
13159
- success: true;
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: false;
13182
- code?: string | undefined;
13181
+ success: true;
13183
13182
  message?: string | undefined;
13184
13183
  } | {
13185
- success: true;
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?: hono131.Context<ContextVars<any>, any, {}> | _faire_auth_core_types83.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
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;