faire-auth 1.0.2 → 1.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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 +9 -9
  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 +6 -6
  28. package/dist/client/solid/index.d.mts +6 -6
  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 +24 -24
  32. package/dist/client/vue/index.d.mts +27 -27
  33. package/dist/crypto/index.d.cts +2 -2
  34. package/dist/db/index.d.cts +1 -1
  35. package/dist/db/index.d.mts +1 -1
  36. package/dist/{index-Dfgobqa-.d.mts → index--DLiUhEn.d.mts} +6 -6
  37. package/dist/{index-C0b8eC8h.d.mts → index-B4bqEDYG.d.mts} +15 -15
  38. package/dist/index-Boa0SV4h.d.cts +13350 -0
  39. package/dist/index-Bykgiq3o.d.cts +13350 -0
  40. package/dist/{index-Bw8dyZTc.d.cts → index-ClFGA8tb.d.mts} +2 -2
  41. package/dist/{index-4PEF72Mq.d.cts → index-ClOM0wFf.d.cts} +20 -20
  42. package/dist/{index-CrmLTEj8.d.mts → index-CsxNfGAV.d.mts} +624 -624
  43. package/dist/index-DKnO_Zfm.d.cts +992 -0
  44. package/dist/index-DRYO4mGd.d.cts +33 -0
  45. package/dist/index-Dsua4U8w.d.cts +33 -0
  46. package/dist/{index-BCzB3uDD.d.cts → index-DxXFCG2_.d.mts} +354 -354
  47. package/dist/index-gtCVvDvC.d.mts +992 -0
  48. package/dist/index.cjs +1 -1
  49. package/dist/index.d.cts +1 -1
  50. package/dist/index.d.mts +1 -1
  51. package/dist/index.mjs +1 -1
  52. package/dist/integrations/next-js.d.cts +3 -3
  53. package/dist/integrations/next-js.d.mts +1 -1
  54. package/dist/integrations/node.d.cts +1 -1
  55. package/dist/integrations/node.d.mts +1 -1
  56. package/dist/integrations/react-start.d.cts +5 -5
  57. package/dist/integrations/react-start.d.mts +1 -1
  58. package/dist/integrations/svelte-kit.d.cts +5 -5
  59. package/dist/integrations/svelte-kit.d.mts +5 -5
  60. package/dist/oauth2/index.d.cts +1 -1
  61. package/dist/oauth2/index.d.mts +1 -1
  62. package/dist/plugins/bearer/index.d.cts +2 -2
  63. package/dist/plugins/bearer/index.d.mts +2 -2
  64. package/dist/plugins/index.d.cts +267 -267
  65. package/dist/plugins/index.d.mts +267 -267
  66. package/dist/plugins/passkey/index.d.cts +2 -2
  67. package/dist/plugins/passkey/index.d.mts +2 -2
  68. package/dist/test-utils/index.cjs +1 -1
  69. package/dist/test-utils/index.d.cts +993 -993
  70. package/dist/test-utils/index.d.mts +997 -997
  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
@@ -1,13 +1,13 @@
1
- import { Ct as InferPluginRateLimit, St as InferPluginMiddleware, _t as FaireAuthPlugin, an as AuthContext$1, bt as InferPluginErrorCodes, gt as AuthPluginSchema, in as createEndpoint, tn as AuthEndpoint, vt as InferOptionSchema, xt as InferPluginHooks, yt as InferPluginDTO } from "../index-BCzB3uDD.cjs";
1
+ import { Ct as InferPluginRateLimit, St as InferPluginMiddleware, _t as FaireAuthPlugin, an as AuthContext$1, bt as InferPluginErrorCodes, gt as AuthPluginSchema, in as createEndpoint, tn as AuthEndpoint, vt as InferOptionSchema, xt as InferPluginHooks, yt as InferPluginDTO } from "../index-Boa0SV4h.cjs";
2
2
  import { t as ContextVars } from "../hono-DOM31WQz.cjs";
3
3
  import { a as Role, c as Subset, i as AccessControl, n as createAccessControl, o as Statements, r as role, s as SubArray, t as AuthorizeResponse } from "../index-CdLyn7qP.cjs";
4
- import { t as bearer } from "../index-Bw8dyZTc.cjs";
5
- import { n as PasskeyOptions, r as passkey, t as Passkey } from "../index-4PEF72Mq.cjs";
6
- import * as _faire_auth_core_types47 from "@faire-auth/core/types";
4
+ import { t as bearer } from "../index-DRYO4mGd.cjs";
5
+ import { n as PasskeyOptions, r as passkey, t as Passkey } from "../index-ClOM0wFf.cjs";
6
+ import * as _faire_auth_core_types77 from "@faire-auth/core/types";
7
7
  import { FieldAttribute, HookHandler, InferAdditionalFieldsFromPluginOptions, LiteralString, LiteralStringUnion, Prettify } from "@faire-auth/core/types";
8
- import * as hono73 from "hono";
8
+ import * as hono101 from "hono";
9
9
  import { Context, HonoRequest } from "hono";
10
- import * as _faire_auth_core_db61 from "@faire-auth/core/db";
10
+ import * as _faire_auth_core_db83 from "@faire-auth/core/db";
11
11
  import { FaireAuthPluginDBSchema, Session, User } from "@faire-auth/core/db";
12
12
  import { createRoute } from "@faire-auth/core/factory";
13
13
  import * as z$1 from "zod";
@@ -181,7 +181,7 @@ declare const magicLink: (options: MagicLinkOptions) => {
181
181
  operationId: "verifyMagicLink";
182
182
  path: "/magic-link/verify";
183
183
  method: "get";
184
- middleware: [(ctx: hono73.Context<ContextVars<object>, string, {}>, next: hono73.Next) => Promise<void | Response>];
184
+ middleware: [(ctx: hono101.Context<ContextVars<object>, string, {}>, next: hono101.Next) => Promise<void | Response>];
185
185
  request: {
186
186
  query: z$1.ZodObject<{
187
187
  token: z$1.ZodString;
@@ -243,7 +243,7 @@ declare const oAuthProxy: (opts?: OAuthProxyOptions) => {
243
243
  path: "/oauth-proxy-callback";
244
244
  method: "get";
245
245
  isAction: false;
246
- middleware: [(ctx: Context<ContextVars<object>, string, {}>, next: hono73.Next) => Promise<void | Response>];
246
+ middleware: [(ctx: Context<ContextVars<object>, string, {}>, next: hono101.Next) => Promise<void | Response>];
247
247
  request: {
248
248
  query: z$1.ZodObject<{
249
249
  callbackURL: z$1.ZodPipe<z$1.ZodPipe<z$1.ZodTransform<string, string>, z$1.ZodURL>, z$1.ZodTransform<string, string>>;
@@ -278,7 +278,7 @@ declare const oAuthProxy: (opts?: OAuthProxyOptions) => {
278
278
  hooks: {
279
279
  after: {
280
280
  matcher: (ctx: Context<ContextVars<any>, any, {}>) => any;
281
- handler: (_opts: _faire_auth_core_types47.FaireAuthOptions<any>) => (ctx: Context<ContextVars<object>, string, {}>) => Promise<void>;
281
+ handler: (_opts: _faire_auth_core_types77.FaireAuthOptions<any>) => (ctx: Context<ContextVars<object>, string, {}>) => Promise<void>;
282
282
  }[];
283
283
  };
284
284
  };
@@ -1613,7 +1613,7 @@ declare const createOrgRole: <O extends OrganizationOptions>(options: O) => Auth
1613
1613
  image?: string | null;
1614
1614
  };
1615
1615
  };
1616
- }>, string, {}>, next: hono73.Next) => Promise<void | (Response & hono73.TypedResponse<{
1616
+ }>, string, {}>, next: hono101.Next) => Promise<void | (Response & hono101.TypedResponse<{
1617
1617
  success: false;
1618
1618
  code?: string | undefined;
1619
1619
  message?: string | undefined;
@@ -1623,13 +1623,13 @@ declare const createOrgRole: <O extends OrganizationOptions>(options: O) => Auth
1623
1623
  [key: string]: Role<{}>;
1624
1624
  };
1625
1625
  getSession: (context: Context<ContextVars>) => Promise<{
1626
- session: _faire_auth_core_db61.Session & {
1626
+ session: _faire_auth_core_db83.Session & {
1627
1627
  activeTeamId?: string;
1628
1628
  activeOrganizationId?: string;
1629
1629
  };
1630
1630
  user: User;
1631
1631
  } | null>;
1632
- }>, string, {}>, next: hono73.Next) => Promise<void>];
1632
+ }>, string, {}>, next: hono101.Next) => Promise<void>];
1633
1633
  request: {
1634
1634
  body: {
1635
1635
  description?: string;
@@ -1748,7 +1748,7 @@ declare const deleteOrgRole: <O extends OrganizationOptions>(options: O) => Auth
1748
1748
  image?: string | null;
1749
1749
  };
1750
1750
  };
1751
- }>, string, {}>, next: hono73.Next) => Promise<void | (Response & hono73.TypedResponse<{
1751
+ }>, string, {}>, next: hono101.Next) => Promise<void | (Response & hono101.TypedResponse<{
1752
1752
  success: false;
1753
1753
  code?: string | undefined;
1754
1754
  message?: string | undefined;
@@ -1758,13 +1758,13 @@ declare const deleteOrgRole: <O extends OrganizationOptions>(options: O) => Auth
1758
1758
  [key: string]: Role<{}>;
1759
1759
  };
1760
1760
  getSession: (context: Context<ContextVars>) => Promise<{
1761
- session: _faire_auth_core_db61.Session & {
1761
+ session: _faire_auth_core_db83.Session & {
1762
1762
  activeTeamId?: string;
1763
1763
  activeOrganizationId?: string;
1764
1764
  };
1765
1765
  user: User;
1766
1766
  } | null>;
1767
- }>, string, {}>, next: hono73.Next) => Promise<void>];
1767
+ }>, string, {}>, next: hono101.Next) => Promise<void>];
1768
1768
  request: {
1769
1769
  body: {
1770
1770
  description?: string;
@@ -1877,7 +1877,7 @@ declare const listOrgRoles: <O extends OrganizationOptions>(options: O) => AuthE
1877
1877
  image?: string | null;
1878
1878
  };
1879
1879
  };
1880
- }>, string, {}>, next: hono73.Next) => Promise<void | (Response & hono73.TypedResponse<{
1880
+ }>, string, {}>, next: hono101.Next) => Promise<void | (Response & hono101.TypedResponse<{
1881
1881
  success: false;
1882
1882
  code?: string | undefined;
1883
1883
  message?: string | undefined;
@@ -1887,13 +1887,13 @@ declare const listOrgRoles: <O extends OrganizationOptions>(options: O) => AuthE
1887
1887
  [key: string]: Role<{}>;
1888
1888
  };
1889
1889
  getSession: (context: Context<ContextVars>) => Promise<{
1890
- session: _faire_auth_core_db61.Session & {
1890
+ session: _faire_auth_core_db83.Session & {
1891
1891
  activeTeamId?: string;
1892
1892
  activeOrganizationId?: string;
1893
1893
  };
1894
1894
  user: User;
1895
1895
  } | null>;
1896
- }>, string, {}>, next: hono73.Next) => Promise<void>];
1896
+ }>, string, {}>, next: hono101.Next) => Promise<void>];
1897
1897
  request: {
1898
1898
  query: z$1.ZodObject<{
1899
1899
  organizationId: z$1.ZodOptional<z$1.ZodString>;
@@ -1994,7 +1994,7 @@ declare const getOrgRole: <O extends OrganizationOptions>(options: O) => AuthEnd
1994
1994
  image?: string | null;
1995
1995
  };
1996
1996
  };
1997
- }>, string, {}>, next: hono73.Next) => Promise<void | (Response & hono73.TypedResponse<{
1997
+ }>, string, {}>, next: hono101.Next) => Promise<void | (Response & hono101.TypedResponse<{
1998
1998
  success: false;
1999
1999
  code?: string | undefined;
2000
2000
  message?: string | undefined;
@@ -2004,13 +2004,13 @@ declare const getOrgRole: <O extends OrganizationOptions>(options: O) => AuthEnd
2004
2004
  [key: string]: Role<{}>;
2005
2005
  };
2006
2006
  getSession: (context: Context<ContextVars>) => Promise<{
2007
- session: _faire_auth_core_db61.Session & {
2007
+ session: _faire_auth_core_db83.Session & {
2008
2008
  activeTeamId?: string;
2009
2009
  activeOrganizationId?: string;
2010
2010
  };
2011
2011
  user: User;
2012
2012
  } | null>;
2013
- }>, string, {}>, next: hono73.Next) => Promise<void>];
2013
+ }>, string, {}>, next: hono101.Next) => Promise<void>];
2014
2014
  request: {
2015
2015
  query: z$1.ZodObject<{
2016
2016
  organizationId: z$1.ZodOptional<z$1.ZodString>;
@@ -2126,7 +2126,7 @@ declare const updateOrgRole: <O extends OrganizationOptions>(options: O) => Auth
2126
2126
  image?: string | null;
2127
2127
  };
2128
2128
  };
2129
- }>, string, {}>, next: hono73.Next) => Promise<void | (Response & hono73.TypedResponse<{
2129
+ }>, string, {}>, next: hono101.Next) => Promise<void | (Response & hono101.TypedResponse<{
2130
2130
  success: false;
2131
2131
  code?: string | undefined;
2132
2132
  message?: string | undefined;
@@ -2136,13 +2136,13 @@ declare const updateOrgRole: <O extends OrganizationOptions>(options: O) => Auth
2136
2136
  [key: string]: Role<{}>;
2137
2137
  };
2138
2138
  getSession: (context: Context<ContextVars>) => Promise<{
2139
- session: _faire_auth_core_db61.Session & {
2139
+ session: _faire_auth_core_db83.Session & {
2140
2140
  activeTeamId?: string;
2141
2141
  activeOrganizationId?: string;
2142
2142
  };
2143
2143
  user: User;
2144
2144
  } | null>;
2145
- }>, string, {}>, next: hono73.Next) => Promise<void>];
2145
+ }>, string, {}>, next: hono101.Next) => Promise<void>];
2146
2146
  request: {
2147
2147
  body: {
2148
2148
  description?: string;
@@ -2317,7 +2317,7 @@ declare const createInvitation: <O extends OrganizationOptions>(option: O) => Au
2317
2317
  operationId: "createInvitation";
2318
2318
  path: "/organization/invite-member";
2319
2319
  method: "post";
2320
- middleware: [(ctx: hono73.Context<ContextVars<{
2320
+ middleware: [(ctx: hono101.Context<ContextVars<{
2321
2321
  session: {
2322
2322
  session: {
2323
2323
  activeTeamId?: string;
@@ -2348,23 +2348,23 @@ declare const createInvitation: <O extends OrganizationOptions>(option: O) => Au
2348
2348
  image?: string | null;
2349
2349
  };
2350
2350
  };
2351
- }>, string, {}>, next: hono73.Next) => Promise<void | (Response & hono73.TypedResponse<{
2351
+ }>, string, {}>, next: hono101.Next) => Promise<void | (Response & hono101.TypedResponse<{
2352
2352
  success: false;
2353
2353
  code?: string | undefined;
2354
2354
  message?: string | undefined;
2355
- }, 401>)>, (ctx: hono73.Context<ContextVars<{
2355
+ }, 401>)>, (ctx: hono101.Context<ContextVars<{
2356
2356
  orgOptions: OrganizationOptions;
2357
2357
  roles: typeof defaultRoles & {
2358
2358
  [key: string]: Role<{}>;
2359
2359
  };
2360
- getSession: (context: hono73.Context<ContextVars>) => Promise<{
2361
- session: _faire_auth_core_db61.Session & {
2360
+ getSession: (context: hono101.Context<ContextVars>) => Promise<{
2361
+ session: _faire_auth_core_db83.Session & {
2362
2362
  activeTeamId?: string;
2363
2363
  activeOrganizationId?: string;
2364
2364
  };
2365
- user: _faire_auth_core_db61.User;
2365
+ user: _faire_auth_core_db83.User;
2366
2366
  } | null>;
2367
- }>, string, {}>, next: hono73.Next) => Promise<void>];
2367
+ }>, string, {}>, next: hono101.Next) => Promise<void>];
2368
2368
  request: {
2369
2369
  body: {
2370
2370
  description?: string;
@@ -2617,7 +2617,7 @@ declare const acceptInvitation: <O extends OrganizationOptions>(options: O) => A
2617
2617
  operationId: "acceptInvitation";
2618
2618
  path: "/organization/accept-invitation";
2619
2619
  method: "post";
2620
- middleware: [(ctx: hono73.Context<ContextVars<{
2620
+ middleware: [(ctx: hono101.Context<ContextVars<{
2621
2621
  session: {
2622
2622
  session: {
2623
2623
  activeTeamId?: string;
@@ -2648,23 +2648,23 @@ declare const acceptInvitation: <O extends OrganizationOptions>(options: O) => A
2648
2648
  image?: string | null;
2649
2649
  };
2650
2650
  };
2651
- }>, string, {}>, next: hono73.Next) => Promise<void | (Response & hono73.TypedResponse<{
2651
+ }>, string, {}>, next: hono101.Next) => Promise<void | (Response & hono101.TypedResponse<{
2652
2652
  success: false;
2653
2653
  code?: string | undefined;
2654
2654
  message?: string | undefined;
2655
- }, 401>)>, (ctx: hono73.Context<ContextVars<{
2655
+ }, 401>)>, (ctx: hono101.Context<ContextVars<{
2656
2656
  orgOptions: OrganizationOptions;
2657
2657
  roles: typeof defaultRoles & {
2658
2658
  [key: string]: Role<{}>;
2659
2659
  };
2660
- getSession: (context: hono73.Context<ContextVars>) => Promise<{
2661
- session: _faire_auth_core_db61.Session & {
2660
+ getSession: (context: hono101.Context<ContextVars>) => Promise<{
2661
+ session: _faire_auth_core_db83.Session & {
2662
2662
  activeTeamId?: string;
2663
2663
  activeOrganizationId?: string;
2664
2664
  };
2665
- user: _faire_auth_core_db61.User;
2665
+ user: _faire_auth_core_db83.User;
2666
2666
  } | null>;
2667
- }>, string, {}>, next: hono73.Next) => Promise<void>];
2667
+ }>, string, {}>, next: hono101.Next) => Promise<void>];
2668
2668
  request: {
2669
2669
  body: {
2670
2670
  description?: string;
@@ -2786,7 +2786,7 @@ declare const rejectInvitation: <O extends OrganizationOptions>(options: O) => A
2786
2786
  operationId: "rejectInvitation";
2787
2787
  path: "/organization/reject-invitation";
2788
2788
  method: "post";
2789
- middleware: [(ctx: hono73.Context<ContextVars<{
2789
+ middleware: [(ctx: hono101.Context<ContextVars<{
2790
2790
  session: {
2791
2791
  session: {
2792
2792
  activeTeamId?: string;
@@ -2817,23 +2817,23 @@ declare const rejectInvitation: <O extends OrganizationOptions>(options: O) => A
2817
2817
  image?: string | null;
2818
2818
  };
2819
2819
  };
2820
- }>, string, {}>, next: hono73.Next) => Promise<void | (Response & hono73.TypedResponse<{
2820
+ }>, string, {}>, next: hono101.Next) => Promise<void | (Response & hono101.TypedResponse<{
2821
2821
  success: false;
2822
2822
  code?: string | undefined;
2823
2823
  message?: string | undefined;
2824
- }, 401>)>, (ctx: hono73.Context<ContextVars<{
2824
+ }, 401>)>, (ctx: hono101.Context<ContextVars<{
2825
2825
  orgOptions: OrganizationOptions;
2826
2826
  roles: typeof defaultRoles & {
2827
2827
  [key: string]: Role<{}>;
2828
2828
  };
2829
- getSession: (context: hono73.Context<ContextVars>) => Promise<{
2830
- session: _faire_auth_core_db61.Session & {
2829
+ getSession: (context: hono101.Context<ContextVars>) => Promise<{
2830
+ session: _faire_auth_core_db83.Session & {
2831
2831
  activeTeamId?: string;
2832
2832
  activeOrganizationId?: string;
2833
2833
  };
2834
- user: _faire_auth_core_db61.User;
2834
+ user: _faire_auth_core_db83.User;
2835
2835
  } | null>;
2836
- }>, string, {}>, next: hono73.Next) => Promise<void>];
2836
+ }>, string, {}>, next: hono101.Next) => Promise<void>];
2837
2837
  request: {
2838
2838
  body: {
2839
2839
  description?: string;
@@ -2926,7 +2926,7 @@ declare const cancelInvitation: <O extends OrganizationOptions>(options: O) => A
2926
2926
  operationId: "cancelInvitation";
2927
2927
  path: "/organization/cancel-invitation";
2928
2928
  method: "post";
2929
- middleware: [(ctx: hono73.Context<ContextVars<{
2929
+ middleware: [(ctx: hono101.Context<ContextVars<{
2930
2930
  session: {
2931
2931
  session: {
2932
2932
  activeTeamId?: string;
@@ -2957,23 +2957,23 @@ declare const cancelInvitation: <O extends OrganizationOptions>(options: O) => A
2957
2957
  image?: string | null;
2958
2958
  };
2959
2959
  };
2960
- }>, string, {}>, next: hono73.Next) => Promise<void | (Response & hono73.TypedResponse<{
2960
+ }>, string, {}>, next: hono101.Next) => Promise<void | (Response & hono101.TypedResponse<{
2961
2961
  success: false;
2962
2962
  code?: string | undefined;
2963
2963
  message?: string | undefined;
2964
- }, 401>)>, (ctx: hono73.Context<ContextVars<{
2964
+ }, 401>)>, (ctx: hono101.Context<ContextVars<{
2965
2965
  orgOptions: OrganizationOptions;
2966
2966
  roles: typeof defaultRoles & {
2967
2967
  [key: string]: Role<{}>;
2968
2968
  };
2969
- getSession: (context: hono73.Context<ContextVars>) => Promise<{
2970
- session: _faire_auth_core_db61.Session & {
2969
+ getSession: (context: hono101.Context<ContextVars>) => Promise<{
2970
+ session: _faire_auth_core_db83.Session & {
2971
2971
  activeTeamId?: string;
2972
2972
  activeOrganizationId?: string;
2973
2973
  };
2974
- user: _faire_auth_core_db61.User;
2974
+ user: _faire_auth_core_db83.User;
2975
2975
  } | null>;
2976
- }>, string, {}>, next: hono73.Next) => Promise<void>];
2976
+ }>, string, {}>, next: hono101.Next) => Promise<void>];
2977
2977
  request: {
2978
2978
  body: {
2979
2979
  description?: string;
@@ -3075,7 +3075,7 @@ declare const getInvitation: <O extends OrganizationOptions>(options: O) => Auth
3075
3075
  operationId: "getInvitation";
3076
3076
  path: "/organization/get-invitation";
3077
3077
  method: "get";
3078
- middleware: [(ctx: hono73.Context<ContextVars<{
3078
+ middleware: [(ctx: hono101.Context<ContextVars<{
3079
3079
  session: {
3080
3080
  session: {
3081
3081
  activeTeamId?: string;
@@ -3106,23 +3106,23 @@ declare const getInvitation: <O extends OrganizationOptions>(options: O) => Auth
3106
3106
  image?: string | null;
3107
3107
  };
3108
3108
  };
3109
- }>, string, {}>, next: hono73.Next) => Promise<void | (Response & hono73.TypedResponse<{
3109
+ }>, string, {}>, next: hono101.Next) => Promise<void | (Response & hono101.TypedResponse<{
3110
3110
  success: false;
3111
3111
  code?: string | undefined;
3112
3112
  message?: string | undefined;
3113
- }, 401>)>, (ctx: hono73.Context<ContextVars<{
3113
+ }, 401>)>, (ctx: hono101.Context<ContextVars<{
3114
3114
  orgOptions: OrganizationOptions;
3115
3115
  roles: typeof defaultRoles & {
3116
3116
  [key: string]: Role<{}>;
3117
3117
  };
3118
- getSession: (context: hono73.Context<ContextVars>) => Promise<{
3119
- session: _faire_auth_core_db61.Session & {
3118
+ getSession: (context: hono101.Context<ContextVars>) => Promise<{
3119
+ session: _faire_auth_core_db83.Session & {
3120
3120
  activeTeamId?: string;
3121
3121
  activeOrganizationId?: string;
3122
3122
  };
3123
- user: _faire_auth_core_db61.User;
3123
+ user: _faire_auth_core_db83.User;
3124
3124
  } | null>;
3125
- }>, string, {}>, next: hono73.Next) => Promise<void>];
3125
+ }>, string, {}>, next: hono101.Next) => Promise<void>];
3126
3126
  request: {
3127
3127
  query: z.ZodObject<{
3128
3128
  id: z.ZodString;
@@ -3207,7 +3207,7 @@ declare const listInvitations: <O extends OrganizationOptions>(options: O) => Au
3207
3207
  operationId: "listInvitations";
3208
3208
  path: "/organization/list-invitations";
3209
3209
  method: "get";
3210
- middleware: [(ctx: hono73.Context<ContextVars<{
3210
+ middleware: [(ctx: hono101.Context<ContextVars<{
3211
3211
  session: {
3212
3212
  session: {
3213
3213
  activeTeamId?: string;
@@ -3238,23 +3238,23 @@ declare const listInvitations: <O extends OrganizationOptions>(options: O) => Au
3238
3238
  image?: string | null;
3239
3239
  };
3240
3240
  };
3241
- }>, string, {}>, next: hono73.Next) => Promise<void | (Response & hono73.TypedResponse<{
3241
+ }>, string, {}>, next: hono101.Next) => Promise<void | (Response & hono101.TypedResponse<{
3242
3242
  success: false;
3243
3243
  code?: string | undefined;
3244
3244
  message?: string | undefined;
3245
- }, 401>)>, (ctx: hono73.Context<ContextVars<{
3245
+ }, 401>)>, (ctx: hono101.Context<ContextVars<{
3246
3246
  orgOptions: OrganizationOptions;
3247
3247
  roles: typeof defaultRoles & {
3248
3248
  [key: string]: Role<{}>;
3249
3249
  };
3250
- getSession: (context: hono73.Context<ContextVars>) => Promise<{
3251
- session: _faire_auth_core_db61.Session & {
3250
+ getSession: (context: hono101.Context<ContextVars>) => Promise<{
3251
+ session: _faire_auth_core_db83.Session & {
3252
3252
  activeTeamId?: string;
3253
3253
  activeOrganizationId?: string;
3254
3254
  };
3255
- user: _faire_auth_core_db61.User;
3255
+ user: _faire_auth_core_db83.User;
3256
3256
  } | null>;
3257
- }>, string, {}>, next: hono73.Next) => Promise<void>];
3257
+ }>, string, {}>, next: hono101.Next) => Promise<void>];
3258
3258
  request: {
3259
3259
  query: z.ZodObject<{
3260
3260
  organizationId: z.ZodOptional<z.ZodString>;
@@ -3329,28 +3329,28 @@ declare const listUserInvitations: <O extends OrganizationOptions>(options: O) =
3329
3329
  operationId: "listUserInvitations";
3330
3330
  path: "/organization/list-user-invitations";
3331
3331
  method: "get";
3332
- middleware: [(ctx: hono73.Context<ContextVars<{
3332
+ middleware: [(ctx: hono101.Context<ContextVars<{
3333
3333
  session?: {
3334
- session: _faire_auth_core_db61.Session;
3335
- user: _faire_auth_core_db61.User;
3334
+ session: _faire_auth_core_db83.Session;
3335
+ user: _faire_auth_core_db83.User;
3336
3336
  };
3337
- }>, string, {}>, next: hono73.Next) => Promise<void | (Response & hono73.TypedResponse<{
3337
+ }>, string, {}>, next: hono101.Next) => Promise<void | (Response & hono101.TypedResponse<{
3338
3338
  success: false;
3339
3339
  code?: string | undefined;
3340
3340
  message?: string | undefined;
3341
- }, 401>)>, (ctx: hono73.Context<ContextVars<{
3341
+ }, 401>)>, (ctx: hono101.Context<ContextVars<{
3342
3342
  orgOptions: OrganizationOptions;
3343
3343
  roles: typeof defaultRoles & {
3344
3344
  [key: string]: Role<{}>;
3345
3345
  };
3346
- getSession: (context: hono73.Context<ContextVars>) => Promise<{
3347
- session: _faire_auth_core_db61.Session & {
3346
+ getSession: (context: hono101.Context<ContextVars>) => Promise<{
3347
+ session: _faire_auth_core_db83.Session & {
3348
3348
  activeTeamId?: string;
3349
3349
  activeOrganizationId?: string;
3350
3350
  };
3351
- user: _faire_auth_core_db61.User;
3351
+ user: _faire_auth_core_db83.User;
3352
3352
  } | null>;
3353
- }>, string, {}>, next: hono73.Next) => Promise<void>];
3353
+ }>, string, {}>, next: hono101.Next) => Promise<void>];
3354
3354
  request: {
3355
3355
  query: z.ZodObject<{
3356
3356
  email: z.ZodOptional<z.ZodEmail>;
@@ -3437,28 +3437,28 @@ declare const addMember: <O extends OrganizationOptions>(option: O) => AuthEndpo
3437
3437
  path: "/organization/add-member";
3438
3438
  method: "post";
3439
3439
  SERVER_ONLY: true;
3440
- middleware: [(ctx: hono73.Context<ContextVars<{
3440
+ middleware: [(ctx: hono101.Context<ContextVars<{
3441
3441
  session?: {
3442
- session: _faire_auth_core_db61.Session;
3443
- user: _faire_auth_core_db61.User;
3442
+ session: _faire_auth_core_db83.Session;
3443
+ user: _faire_auth_core_db83.User;
3444
3444
  };
3445
- }>, string, {}>, next: hono73.Next) => Promise<void | (Response & hono73.TypedResponse<{
3445
+ }>, string, {}>, next: hono101.Next) => Promise<void | (Response & hono101.TypedResponse<{
3446
3446
  success: false;
3447
3447
  code?: string | undefined;
3448
3448
  message?: string | undefined;
3449
- }, 401>)>, (ctx: hono73.Context<ContextVars<{
3449
+ }, 401>)>, (ctx: hono101.Context<ContextVars<{
3450
3450
  orgOptions: OrganizationOptions;
3451
3451
  roles: typeof defaultRoles & {
3452
3452
  [key: string]: Role<{}>;
3453
3453
  };
3454
- getSession: (context: hono73.Context<ContextVars>) => Promise<{
3455
- session: _faire_auth_core_db61.Session & {
3454
+ getSession: (context: hono101.Context<ContextVars>) => Promise<{
3455
+ session: _faire_auth_core_db83.Session & {
3456
3456
  activeTeamId?: string;
3457
3457
  activeOrganizationId?: string;
3458
3458
  };
3459
- user: _faire_auth_core_db61.User;
3459
+ user: _faire_auth_core_db83.User;
3460
3460
  } | null>;
3461
- }>, string, {}>, next: hono73.Next) => Promise<void>];
3461
+ }>, string, {}>, next: hono101.Next) => Promise<void>];
3462
3462
  request: {
3463
3463
  body: {
3464
3464
  description?: string;
@@ -3575,7 +3575,7 @@ declare const removeMember: <O extends OrganizationOptions>(option: O) => AuthEn
3575
3575
  operationId: "removeMember";
3576
3576
  path: "/organization/remove-member";
3577
3577
  method: "post";
3578
- middleware: [(ctx: hono73.Context<ContextVars<{
3578
+ middleware: [(ctx: hono101.Context<ContextVars<{
3579
3579
  session: {
3580
3580
  session: {
3581
3581
  activeTeamId?: string;
@@ -3606,23 +3606,23 @@ declare const removeMember: <O extends OrganizationOptions>(option: O) => AuthEn
3606
3606
  image?: string | null;
3607
3607
  };
3608
3608
  };
3609
- }>, string, {}>, next: hono73.Next) => Promise<void | (Response & hono73.TypedResponse<{
3609
+ }>, string, {}>, next: hono101.Next) => Promise<void | (Response & hono101.TypedResponse<{
3610
3610
  success: false;
3611
3611
  code?: string | undefined;
3612
3612
  message?: string | undefined;
3613
- }, 401>)>, (ctx: hono73.Context<ContextVars<{
3613
+ }, 401>)>, (ctx: hono101.Context<ContextVars<{
3614
3614
  orgOptions: OrganizationOptions;
3615
3615
  roles: typeof defaultRoles & {
3616
3616
  [key: string]: Role<{}>;
3617
3617
  };
3618
- getSession: (context: hono73.Context<ContextVars>) => Promise<{
3619
- session: _faire_auth_core_db61.Session & {
3618
+ getSession: (context: hono101.Context<ContextVars>) => Promise<{
3619
+ session: _faire_auth_core_db83.Session & {
3620
3620
  activeTeamId?: string;
3621
3621
  activeOrganizationId?: string;
3622
3622
  };
3623
- user: _faire_auth_core_db61.User;
3623
+ user: _faire_auth_core_db83.User;
3624
3624
  } | null>;
3625
- }>, string, {}>, next: hono73.Next) => Promise<void>];
3625
+ }>, string, {}>, next: hono101.Next) => Promise<void>];
3626
3626
  request: {
3627
3627
  body: {
3628
3628
  description?: string;
@@ -3715,7 +3715,7 @@ declare const updateMemberRole: <O extends OrganizationOptions>(option: O) => Au
3715
3715
  operationId: "updateMemberRole";
3716
3716
  path: "/organization/update-member-role";
3717
3717
  method: "post";
3718
- middleware: [(ctx: hono73.Context<ContextVars<{
3718
+ middleware: [(ctx: hono101.Context<ContextVars<{
3719
3719
  session: {
3720
3720
  session: {
3721
3721
  activeTeamId?: string;
@@ -3746,23 +3746,23 @@ declare const updateMemberRole: <O extends OrganizationOptions>(option: O) => Au
3746
3746
  image?: string | null;
3747
3747
  };
3748
3748
  };
3749
- }>, string, {}>, next: hono73.Next) => Promise<void | (Response & hono73.TypedResponse<{
3749
+ }>, string, {}>, next: hono101.Next) => Promise<void | (Response & hono101.TypedResponse<{
3750
3750
  success: false;
3751
3751
  code?: string | undefined;
3752
3752
  message?: string | undefined;
3753
- }, 401>)>, (ctx: hono73.Context<ContextVars<{
3753
+ }, 401>)>, (ctx: hono101.Context<ContextVars<{
3754
3754
  orgOptions: OrganizationOptions;
3755
3755
  roles: typeof defaultRoles & {
3756
3756
  [key: string]: Role<{}>;
3757
3757
  };
3758
- getSession: (context: hono73.Context<ContextVars>) => Promise<{
3759
- session: _faire_auth_core_db61.Session & {
3758
+ getSession: (context: hono101.Context<ContextVars>) => Promise<{
3759
+ session: _faire_auth_core_db83.Session & {
3760
3760
  activeTeamId?: string;
3761
3761
  activeOrganizationId?: string;
3762
3762
  };
3763
- user: _faire_auth_core_db61.User;
3763
+ user: _faire_auth_core_db83.User;
3764
3764
  } | null>;
3765
- }>, string, {}>, next: hono73.Next) => Promise<void>];
3765
+ }>, string, {}>, next: hono101.Next) => Promise<void>];
3766
3766
  request: {
3767
3767
  body: {
3768
3768
  description?: string;
@@ -3854,7 +3854,7 @@ declare const getActiveMember: <O extends OrganizationOptions>(option: O) => Aut
3854
3854
  operationId: "getActiveMember";
3855
3855
  path: "/organization/get-active-member";
3856
3856
  method: "get";
3857
- middleware: [(ctx: hono73.Context<ContextVars<{
3857
+ middleware: [(ctx: hono101.Context<ContextVars<{
3858
3858
  session: {
3859
3859
  session: {
3860
3860
  activeTeamId?: string;
@@ -3885,23 +3885,23 @@ declare const getActiveMember: <O extends OrganizationOptions>(option: O) => Aut
3885
3885
  image?: string | null;
3886
3886
  };
3887
3887
  };
3888
- }>, string, {}>, next: hono73.Next) => Promise<void | (Response & hono73.TypedResponse<{
3888
+ }>, string, {}>, next: hono101.Next) => Promise<void | (Response & hono101.TypedResponse<{
3889
3889
  success: false;
3890
3890
  code?: string | undefined;
3891
3891
  message?: string | undefined;
3892
- }, 401>)>, (ctx: hono73.Context<ContextVars<{
3892
+ }, 401>)>, (ctx: hono101.Context<ContextVars<{
3893
3893
  orgOptions: OrganizationOptions;
3894
3894
  roles: typeof defaultRoles & {
3895
3895
  [key: string]: Role<{}>;
3896
3896
  };
3897
- getSession: (context: hono73.Context<ContextVars>) => Promise<{
3898
- session: _faire_auth_core_db61.Session & {
3897
+ getSession: (context: hono101.Context<ContextVars>) => Promise<{
3898
+ session: _faire_auth_core_db83.Session & {
3899
3899
  activeTeamId?: string;
3900
3900
  activeOrganizationId?: string;
3901
3901
  };
3902
- user: _faire_auth_core_db61.User;
3902
+ user: _faire_auth_core_db83.User;
3903
3903
  } | null>;
3904
- }>, string, {}>, next: hono73.Next) => Promise<void>];
3904
+ }>, string, {}>, next: hono101.Next) => Promise<void>];
3905
3905
  getRoutingPath: () => "/organization/get-active-member";
3906
3906
  }>;
3907
3907
  declare const leaveOrganization: <O extends OrganizationOptions>(option: O) => AuthEndpoint<{
@@ -3954,7 +3954,7 @@ declare const leaveOrganization: <O extends OrganizationOptions>(option: O) => A
3954
3954
  operationId: "leaveOrganization";
3955
3955
  path: "/organization/leave";
3956
3956
  method: "post";
3957
- middleware: [(ctx: hono73.Context<ContextVars<{
3957
+ middleware: [(ctx: hono101.Context<ContextVars<{
3958
3958
  session: {
3959
3959
  session: {
3960
3960
  activeTeamId?: string;
@@ -3985,23 +3985,23 @@ declare const leaveOrganization: <O extends OrganizationOptions>(option: O) => A
3985
3985
  image?: string | null;
3986
3986
  };
3987
3987
  };
3988
- }>, string, {}>, next: hono73.Next) => Promise<void | (Response & hono73.TypedResponse<{
3988
+ }>, string, {}>, next: hono101.Next) => Promise<void | (Response & hono101.TypedResponse<{
3989
3989
  success: false;
3990
3990
  code?: string | undefined;
3991
3991
  message?: string | undefined;
3992
- }, 401>)>, (ctx: hono73.Context<ContextVars<{
3992
+ }, 401>)>, (ctx: hono101.Context<ContextVars<{
3993
3993
  orgOptions: OrganizationOptions;
3994
3994
  roles: typeof defaultRoles & {
3995
3995
  [key: string]: Role<{}>;
3996
3996
  };
3997
- getSession: (context: hono73.Context<ContextVars>) => Promise<{
3998
- session: _faire_auth_core_db61.Session & {
3997
+ getSession: (context: hono101.Context<ContextVars>) => Promise<{
3998
+ session: _faire_auth_core_db83.Session & {
3999
3999
  activeTeamId?: string;
4000
4000
  activeOrganizationId?: string;
4001
4001
  };
4002
- user: _faire_auth_core_db61.User;
4002
+ user: _faire_auth_core_db83.User;
4003
4003
  } | null>;
4004
- }>, string, {}>, next: hono73.Next) => Promise<void>];
4004
+ }>, string, {}>, next: hono101.Next) => Promise<void>];
4005
4005
  request: {
4006
4006
  body: {
4007
4007
  description?: string;
@@ -4118,28 +4118,28 @@ declare const listMembers: <O extends OrganizationOptions>(option: O) => AuthEnd
4118
4118
  operationId: "listMembers";
4119
4119
  path: "/organization/list-members";
4120
4120
  method: "get";
4121
- middleware: [(ctx: hono73.Context<ContextVars<{
4121
+ middleware: [(ctx: hono101.Context<ContextVars<{
4122
4122
  session?: {
4123
- session: _faire_auth_core_db61.Session;
4124
- user: _faire_auth_core_db61.User;
4123
+ session: _faire_auth_core_db83.Session;
4124
+ user: _faire_auth_core_db83.User;
4125
4125
  };
4126
- }>, string, {}>, next: hono73.Next) => Promise<void | (Response & hono73.TypedResponse<{
4126
+ }>, string, {}>, next: hono101.Next) => Promise<void | (Response & hono101.TypedResponse<{
4127
4127
  success: false;
4128
4128
  code?: string | undefined;
4129
4129
  message?: string | undefined;
4130
- }, 401>)>, (ctx: hono73.Context<ContextVars<{
4130
+ }, 401>)>, (ctx: hono101.Context<ContextVars<{
4131
4131
  orgOptions: OrganizationOptions;
4132
4132
  roles: typeof defaultRoles & {
4133
4133
  [key: string]: Role<{}>;
4134
4134
  };
4135
- getSession: (context: hono73.Context<ContextVars>) => Promise<{
4136
- session: _faire_auth_core_db61.Session & {
4135
+ getSession: (context: hono101.Context<ContextVars>) => Promise<{
4136
+ session: _faire_auth_core_db83.Session & {
4137
4137
  activeTeamId?: string;
4138
4138
  activeOrganizationId?: string;
4139
4139
  };
4140
- user: _faire_auth_core_db61.User;
4140
+ user: _faire_auth_core_db83.User;
4141
4141
  } | null>;
4142
- }>, string, {}>, next: hono73.Next) => Promise<void>];
4142
+ }>, string, {}>, next: hono101.Next) => Promise<void>];
4143
4143
  request: {
4144
4144
  query: z$1.ZodObject<{
4145
4145
  limit: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodNumber]>>;
@@ -4208,28 +4208,28 @@ declare const getActiveMemberRole: <O extends OrganizationOptions>(option: O) =>
4208
4208
  operationId: "getActiveMemberRole";
4209
4209
  path: "/organization/get-active-member-role";
4210
4210
  method: "get";
4211
- middleware: [(ctx: hono73.Context<ContextVars<{
4211
+ middleware: [(ctx: hono101.Context<ContextVars<{
4212
4212
  session?: {
4213
- session: _faire_auth_core_db61.Session;
4214
- user: _faire_auth_core_db61.User;
4213
+ session: _faire_auth_core_db83.Session;
4214
+ user: _faire_auth_core_db83.User;
4215
4215
  };
4216
- }>, string, {}>, next: hono73.Next) => Promise<void | (Response & hono73.TypedResponse<{
4216
+ }>, string, {}>, next: hono101.Next) => Promise<void | (Response & hono101.TypedResponse<{
4217
4217
  success: false;
4218
4218
  code?: string | undefined;
4219
4219
  message?: string | undefined;
4220
- }, 401>)>, (ctx: hono73.Context<ContextVars<{
4220
+ }, 401>)>, (ctx: hono101.Context<ContextVars<{
4221
4221
  orgOptions: OrganizationOptions;
4222
4222
  roles: typeof defaultRoles & {
4223
4223
  [key: string]: Role<{}>;
4224
4224
  };
4225
- getSession: (context: hono73.Context<ContextVars>) => Promise<{
4226
- session: _faire_auth_core_db61.Session & {
4225
+ getSession: (context: hono101.Context<ContextVars>) => Promise<{
4226
+ session: _faire_auth_core_db83.Session & {
4227
4227
  activeTeamId?: string;
4228
4228
  activeOrganizationId?: string;
4229
4229
  };
4230
- user: _faire_auth_core_db61.User;
4230
+ user: _faire_auth_core_db83.User;
4231
4231
  } | null>;
4232
- }>, string, {}>, next: hono73.Next) => Promise<void>];
4232
+ }>, string, {}>, next: hono101.Next) => Promise<void>];
4233
4233
  request: {
4234
4234
  query: z$1.ZodObject<{
4235
4235
  userId: z$1.ZodOptional<z$1.ZodString>;
@@ -4313,28 +4313,28 @@ declare const createOrganization: <O extends OrganizationOptions>(options: O) =>
4313
4313
  operationId: "createOrganization";
4314
4314
  path: "/organization/create";
4315
4315
  method: "post";
4316
- middleware: [(ctx: hono73.Context<ContextVars<{
4316
+ middleware: [(ctx: hono101.Context<ContextVars<{
4317
4317
  session?: {
4318
- session: _faire_auth_core_db61.Session;
4319
- user: _faire_auth_core_db61.User;
4318
+ session: _faire_auth_core_db83.Session;
4319
+ user: _faire_auth_core_db83.User;
4320
4320
  };
4321
- }>, string, {}>, next: hono73.Next) => Promise<void | (Response & hono73.TypedResponse<{
4321
+ }>, string, {}>, next: hono101.Next) => Promise<void | (Response & hono101.TypedResponse<{
4322
4322
  success: false;
4323
4323
  code?: string | undefined;
4324
4324
  message?: string | undefined;
4325
- }, 401>)>, (ctx: hono73.Context<ContextVars<{
4325
+ }, 401>)>, (ctx: hono101.Context<ContextVars<{
4326
4326
  orgOptions: OrganizationOptions;
4327
4327
  roles: typeof defaultRoles & {
4328
4328
  [key: string]: Role<{}>;
4329
4329
  };
4330
- getSession: (context: hono73.Context<ContextVars>) => Promise<{
4331
- session: _faire_auth_core_db61.Session & {
4330
+ getSession: (context: hono101.Context<ContextVars>) => Promise<{
4331
+ session: _faire_auth_core_db83.Session & {
4332
4332
  activeTeamId?: string;
4333
4333
  activeOrganizationId?: string;
4334
4334
  };
4335
- user: _faire_auth_core_db61.User;
4335
+ user: _faire_auth_core_db83.User;
4336
4336
  } | null>;
4337
- }>, string, {}>, next: hono73.Next) => Promise<void>];
4337
+ }>, string, {}>, next: hono101.Next) => Promise<void>];
4338
4338
  request: {
4339
4339
  body: {
4340
4340
  description?: string;
@@ -4433,28 +4433,28 @@ declare const checkOrganizationSlug: <O extends OrganizationOptions>(options: O)
4433
4433
  operationId: "checkOrganizationSlug";
4434
4434
  path: "/organization/check-slug";
4435
4435
  method: "post";
4436
- middleware: [(ctx: hono73.Context<ContextVars<{
4436
+ middleware: [(ctx: hono101.Context<ContextVars<{
4437
4437
  session?: {
4438
- session: _faire_auth_core_db61.Session;
4439
- user: _faire_auth_core_db61.User;
4438
+ session: _faire_auth_core_db83.Session;
4439
+ user: _faire_auth_core_db83.User;
4440
4440
  };
4441
- }>, string, {}>, next: hono73.Next) => Promise<void | (Response & hono73.TypedResponse<{
4441
+ }>, string, {}>, next: hono101.Next) => Promise<void | (Response & hono101.TypedResponse<{
4442
4442
  success: false;
4443
4443
  code?: string | undefined;
4444
4444
  message?: string | undefined;
4445
- }, 401>)>, (ctx: hono73.Context<ContextVars<{
4445
+ }, 401>)>, (ctx: hono101.Context<ContextVars<{
4446
4446
  orgOptions: OrganizationOptions;
4447
4447
  roles: typeof defaultRoles & {
4448
4448
  [key: string]: Role<{}>;
4449
4449
  };
4450
- getSession: (context: hono73.Context<ContextVars>) => Promise<{
4451
- session: _faire_auth_core_db61.Session & {
4450
+ getSession: (context: hono101.Context<ContextVars>) => Promise<{
4451
+ session: _faire_auth_core_db83.Session & {
4452
4452
  activeTeamId?: string;
4453
4453
  activeOrganizationId?: string;
4454
4454
  };
4455
- user: _faire_auth_core_db61.User;
4455
+ user: _faire_auth_core_db83.User;
4456
4456
  } | null>;
4457
- }>, string, {}>, next: hono73.Next) => Promise<void>];
4457
+ }>, string, {}>, next: hono101.Next) => Promise<void>];
4458
4458
  request: {
4459
4459
  body: {
4460
4460
  description?: string;
@@ -4543,7 +4543,7 @@ declare const updateOrganization: <O extends OrganizationOptions>(options: O) =>
4543
4543
  operationId: "updateOrganization";
4544
4544
  path: "/organization/update";
4545
4545
  method: "post";
4546
- middleware: [(ctx: hono73.Context<ContextVars<{
4546
+ middleware: [(ctx: hono101.Context<ContextVars<{
4547
4547
  session: {
4548
4548
  session: {
4549
4549
  activeTeamId?: string;
@@ -4574,23 +4574,23 @@ declare const updateOrganization: <O extends OrganizationOptions>(options: O) =>
4574
4574
  image?: string | null;
4575
4575
  };
4576
4576
  };
4577
- }>, string, {}>, next: hono73.Next) => Promise<void | (Response & hono73.TypedResponse<{
4577
+ }>, string, {}>, next: hono101.Next) => Promise<void | (Response & hono101.TypedResponse<{
4578
4578
  success: false;
4579
4579
  code?: string | undefined;
4580
4580
  message?: string | undefined;
4581
- }, 401>)>, (ctx: hono73.Context<ContextVars<{
4581
+ }, 401>)>, (ctx: hono101.Context<ContextVars<{
4582
4582
  orgOptions: OrganizationOptions;
4583
4583
  roles: typeof defaultRoles & {
4584
4584
  [key: string]: Role<{}>;
4585
4585
  };
4586
- getSession: (context: hono73.Context<ContextVars>) => Promise<{
4587
- session: _faire_auth_core_db61.Session & {
4586
+ getSession: (context: hono101.Context<ContextVars>) => Promise<{
4587
+ session: _faire_auth_core_db83.Session & {
4588
4588
  activeTeamId?: string;
4589
4589
  activeOrganizationId?: string;
4590
4590
  };
4591
- user: _faire_auth_core_db61.User;
4591
+ user: _faire_auth_core_db83.User;
4592
4592
  } | null>;
4593
- }>, string, {}>, next: hono73.Next) => Promise<void>];
4593
+ }>, string, {}>, next: hono101.Next) => Promise<void>];
4594
4594
  request: {
4595
4595
  body: {
4596
4596
  description?: string;
@@ -4719,7 +4719,7 @@ declare const deleteOrganization: <O extends OrganizationOptions>(options: O) =>
4719
4719
  operationId: "deleteOrganization";
4720
4720
  path: "/organization/delete";
4721
4721
  method: "post";
4722
- middleware: [(ctx: hono73.Context<ContextVars<{
4722
+ middleware: [(ctx: hono101.Context<ContextVars<{
4723
4723
  session: {
4724
4724
  session: {
4725
4725
  activeTeamId?: string;
@@ -4750,23 +4750,23 @@ declare const deleteOrganization: <O extends OrganizationOptions>(options: O) =>
4750
4750
  image?: string | null;
4751
4751
  };
4752
4752
  };
4753
- }>, string, {}>, next: hono73.Next) => Promise<void | (Response & hono73.TypedResponse<{
4753
+ }>, string, {}>, next: hono101.Next) => Promise<void | (Response & hono101.TypedResponse<{
4754
4754
  success: false;
4755
4755
  code?: string | undefined;
4756
4756
  message?: string | undefined;
4757
- }, 401>)>, (ctx: hono73.Context<ContextVars<{
4757
+ }, 401>)>, (ctx: hono101.Context<ContextVars<{
4758
4758
  orgOptions: OrganizationOptions;
4759
4759
  roles: typeof defaultRoles & {
4760
4760
  [key: string]: Role<{}>;
4761
4761
  };
4762
- getSession: (context: hono73.Context<ContextVars>) => Promise<{
4763
- session: _faire_auth_core_db61.Session & {
4762
+ getSession: (context: hono101.Context<ContextVars>) => Promise<{
4763
+ session: _faire_auth_core_db83.Session & {
4764
4764
  activeTeamId?: string;
4765
4765
  activeOrganizationId?: string;
4766
4766
  };
4767
- user: _faire_auth_core_db61.User;
4767
+ user: _faire_auth_core_db83.User;
4768
4768
  } | null>;
4769
- }>, string, {}>, next: hono73.Next) => Promise<void>];
4769
+ }>, string, {}>, next: hono101.Next) => Promise<void>];
4770
4770
  request: {
4771
4771
  body: {
4772
4772
  description?: string;
@@ -4986,7 +4986,7 @@ declare const getFullOrganization: <O extends OrganizationOptions>(options: O) =
4986
4986
  operationId: "getFullOrganization";
4987
4987
  path: "/organization/get-full-organization";
4988
4988
  method: "get";
4989
- middleware: [(ctx: hono73.Context<ContextVars<{
4989
+ middleware: [(ctx: hono101.Context<ContextVars<{
4990
4990
  session: {
4991
4991
  session: {
4992
4992
  activeTeamId?: string;
@@ -5017,23 +5017,23 @@ declare const getFullOrganization: <O extends OrganizationOptions>(options: O) =
5017
5017
  image?: string | null;
5018
5018
  };
5019
5019
  };
5020
- }>, string, {}>, next: hono73.Next) => Promise<void | (Response & hono73.TypedResponse<{
5020
+ }>, string, {}>, next: hono101.Next) => Promise<void | (Response & hono101.TypedResponse<{
5021
5021
  success: false;
5022
5022
  code?: string | undefined;
5023
5023
  message?: string | undefined;
5024
- }, 401>)>, (ctx: hono73.Context<ContextVars<{
5024
+ }, 401>)>, (ctx: hono101.Context<ContextVars<{
5025
5025
  orgOptions: OrganizationOptions;
5026
5026
  roles: typeof defaultRoles & {
5027
5027
  [key: string]: Role<{}>;
5028
5028
  };
5029
- getSession: (context: hono73.Context<ContextVars>) => Promise<{
5030
- session: _faire_auth_core_db61.Session & {
5029
+ getSession: (context: hono101.Context<ContextVars>) => Promise<{
5030
+ session: _faire_auth_core_db83.Session & {
5031
5031
  activeTeamId?: string;
5032
5032
  activeOrganizationId?: string;
5033
5033
  };
5034
- user: _faire_auth_core_db61.User;
5034
+ user: _faire_auth_core_db83.User;
5035
5035
  } | null>;
5036
- }>, string, {}>, next: hono73.Next) => Promise<void>];
5036
+ }>, string, {}>, next: hono101.Next) => Promise<void>];
5037
5037
  request: {
5038
5038
  query: z$1.ZodObject<{
5039
5039
  organizationId: z$1.ZodOptional<z$1.ZodString>;
@@ -5141,7 +5141,7 @@ declare const setActiveOrganization: <O extends OrganizationOptions>(options: O)
5141
5141
  operationId: "setActiveOrganization";
5142
5142
  path: "/organization/set-active";
5143
5143
  method: "post";
5144
- middleware: [(ctx: hono73.Context<ContextVars<{
5144
+ middleware: [(ctx: hono101.Context<ContextVars<{
5145
5145
  session: {
5146
5146
  session: {
5147
5147
  activeTeamId?: string;
@@ -5172,23 +5172,23 @@ declare const setActiveOrganization: <O extends OrganizationOptions>(options: O)
5172
5172
  image?: string | null;
5173
5173
  };
5174
5174
  };
5175
- }>, string, {}>, next: hono73.Next) => Promise<void | (Response & hono73.TypedResponse<{
5175
+ }>, string, {}>, next: hono101.Next) => Promise<void | (Response & hono101.TypedResponse<{
5176
5176
  success: false;
5177
5177
  code?: string | undefined;
5178
5178
  message?: string | undefined;
5179
- }, 401>)>, (ctx: hono73.Context<ContextVars<{
5179
+ }, 401>)>, (ctx: hono101.Context<ContextVars<{
5180
5180
  orgOptions: OrganizationOptions;
5181
5181
  roles: typeof defaultRoles & {
5182
5182
  [key: string]: Role<{}>;
5183
5183
  };
5184
- getSession: (context: hono73.Context<ContextVars>) => Promise<{
5185
- session: _faire_auth_core_db61.Session & {
5184
+ getSession: (context: hono101.Context<ContextVars>) => Promise<{
5185
+ session: _faire_auth_core_db83.Session & {
5186
5186
  activeTeamId?: string;
5187
5187
  activeOrganizationId?: string;
5188
5188
  };
5189
- user: _faire_auth_core_db61.User;
5189
+ user: _faire_auth_core_db83.User;
5190
5190
  } | null>;
5191
- }>, string, {}>, next: hono73.Next) => Promise<void>];
5191
+ }>, string, {}>, next: hono101.Next) => Promise<void>];
5192
5192
  request: {
5193
5193
  body: {
5194
5194
  description?: string;
@@ -5244,7 +5244,7 @@ declare const listOrganizations: <O extends OrganizationOptions>(options: O) =>
5244
5244
  operationId: "listOrganizations";
5245
5245
  path: "/organization/list";
5246
5246
  method: "get";
5247
- middleware: [(ctx: hono73.Context<ContextVars<{
5247
+ middleware: [(ctx: hono101.Context<ContextVars<{
5248
5248
  session: {
5249
5249
  session: {
5250
5250
  activeTeamId?: string;
@@ -5275,23 +5275,23 @@ declare const listOrganizations: <O extends OrganizationOptions>(options: O) =>
5275
5275
  image?: string | null;
5276
5276
  };
5277
5277
  };
5278
- }>, string, {}>, next: hono73.Next) => Promise<void | (Response & hono73.TypedResponse<{
5278
+ }>, string, {}>, next: hono101.Next) => Promise<void | (Response & hono101.TypedResponse<{
5279
5279
  success: false;
5280
5280
  code?: string | undefined;
5281
5281
  message?: string | undefined;
5282
- }, 401>)>, (ctx: hono73.Context<ContextVars<{
5282
+ }, 401>)>, (ctx: hono101.Context<ContextVars<{
5283
5283
  orgOptions: OrganizationOptions;
5284
5284
  roles: typeof defaultRoles & {
5285
5285
  [key: string]: Role<{}>;
5286
5286
  };
5287
- getSession: (context: hono73.Context<ContextVars>) => Promise<{
5288
- session: _faire_auth_core_db61.Session & {
5287
+ getSession: (context: hono101.Context<ContextVars>) => Promise<{
5288
+ session: _faire_auth_core_db83.Session & {
5289
5289
  activeTeamId?: string;
5290
5290
  activeOrganizationId?: string;
5291
5291
  };
5292
- user: _faire_auth_core_db61.User;
5292
+ user: _faire_auth_core_db83.User;
5293
5293
  } | null>;
5294
- }>, string, {}>, next: hono73.Next) => Promise<void>];
5294
+ }>, string, {}>, next: hono101.Next) => Promise<void>];
5295
5295
  getRoutingPath: () => "/organization/list";
5296
5296
  }>;
5297
5297
  //#endregion
@@ -5372,28 +5372,28 @@ declare const createTeam: <O extends OrganizationOptions>(options: O) => AuthEnd
5372
5372
  operationId: "createTeam";
5373
5373
  path: "/organization/create-team";
5374
5374
  method: "post";
5375
- middleware: [(ctx: hono73.Context<ContextVars<{
5375
+ middleware: [(ctx: hono101.Context<ContextVars<{
5376
5376
  session?: {
5377
- session: _faire_auth_core_db61.Session;
5378
- user: _faire_auth_core_db61.User;
5377
+ session: _faire_auth_core_db83.Session;
5378
+ user: _faire_auth_core_db83.User;
5379
5379
  };
5380
- }>, string, {}>, next: hono73.Next) => Promise<void | (Response & hono73.TypedResponse<{
5380
+ }>, string, {}>, next: hono101.Next) => Promise<void | (Response & hono101.TypedResponse<{
5381
5381
  success: false;
5382
5382
  code?: string | undefined;
5383
5383
  message?: string | undefined;
5384
- }, 401>)>, (ctx: hono73.Context<ContextVars<{
5384
+ }, 401>)>, (ctx: hono101.Context<ContextVars<{
5385
5385
  orgOptions: OrganizationOptions;
5386
5386
  roles: typeof defaultRoles & {
5387
5387
  [key: string]: Role<{}>;
5388
5388
  };
5389
- getSession: (context: hono73.Context<ContextVars>) => Promise<{
5390
- session: _faire_auth_core_db61.Session & {
5389
+ getSession: (context: hono101.Context<ContextVars>) => Promise<{
5390
+ session: _faire_auth_core_db83.Session & {
5391
5391
  activeTeamId?: string;
5392
5392
  activeOrganizationId?: string;
5393
5393
  };
5394
- user: _faire_auth_core_db61.User;
5394
+ user: _faire_auth_core_db83.User;
5395
5395
  } | null>;
5396
- }>, string, {}>, next: hono73.Next) => Promise<void>];
5396
+ }>, string, {}>, next: hono101.Next) => Promise<void>];
5397
5397
  request: {
5398
5398
  body: {
5399
5399
  description?: string;
@@ -5508,28 +5508,28 @@ declare const removeTeam: <O extends OrganizationOptions>(options: O) => AuthEnd
5508
5508
  operationId: "removeTeam";
5509
5509
  path: "/organization/remove-team";
5510
5510
  method: "post";
5511
- middleware: [(ctx: hono73.Context<ContextVars<{
5511
+ middleware: [(ctx: hono101.Context<ContextVars<{
5512
5512
  session?: {
5513
- session: _faire_auth_core_db61.Session;
5514
- user: _faire_auth_core_db61.User;
5513
+ session: _faire_auth_core_db83.Session;
5514
+ user: _faire_auth_core_db83.User;
5515
5515
  };
5516
- }>, string, {}>, next: hono73.Next) => Promise<void | (Response & hono73.TypedResponse<{
5516
+ }>, string, {}>, next: hono101.Next) => Promise<void | (Response & hono101.TypedResponse<{
5517
5517
  success: false;
5518
5518
  code?: string | undefined;
5519
5519
  message?: string | undefined;
5520
- }, 401>)>, (ctx: hono73.Context<ContextVars<{
5520
+ }, 401>)>, (ctx: hono101.Context<ContextVars<{
5521
5521
  orgOptions: OrganizationOptions;
5522
5522
  roles: typeof defaultRoles & {
5523
5523
  [key: string]: Role<{}>;
5524
5524
  };
5525
- getSession: (context: hono73.Context<ContextVars>) => Promise<{
5526
- session: _faire_auth_core_db61.Session & {
5525
+ getSession: (context: hono101.Context<ContextVars>) => Promise<{
5526
+ session: _faire_auth_core_db83.Session & {
5527
5527
  activeTeamId?: string;
5528
5528
  activeOrganizationId?: string;
5529
5529
  };
5530
- user: _faire_auth_core_db61.User;
5530
+ user: _faire_auth_core_db83.User;
5531
5531
  } | null>;
5532
- }>, string, {}>, next: hono73.Next) => Promise<void>];
5532
+ }>, string, {}>, next: hono101.Next) => Promise<void>];
5533
5533
  request: {
5534
5534
  body: {
5535
5535
  description?: string;
@@ -5617,7 +5617,7 @@ declare const updateTeam: <O extends OrganizationOptions>(options: O) => AuthEnd
5617
5617
  operationId: "updateTeam";
5618
5618
  path: "/organization/update-team";
5619
5619
  method: "post";
5620
- middleware: [(ctx: hono73.Context<ContextVars<{
5620
+ middleware: [(ctx: hono101.Context<ContextVars<{
5621
5621
  session: {
5622
5622
  session: {
5623
5623
  activeTeamId?: string;
@@ -5648,23 +5648,23 @@ declare const updateTeam: <O extends OrganizationOptions>(options: O) => AuthEnd
5648
5648
  image?: string | null;
5649
5649
  };
5650
5650
  };
5651
- }>, string, {}>, next: hono73.Next) => Promise<void | (Response & hono73.TypedResponse<{
5651
+ }>, string, {}>, next: hono101.Next) => Promise<void | (Response & hono101.TypedResponse<{
5652
5652
  success: false;
5653
5653
  code?: string | undefined;
5654
5654
  message?: string | undefined;
5655
- }, 401>)>, (ctx: hono73.Context<ContextVars<{
5655
+ }, 401>)>, (ctx: hono101.Context<ContextVars<{
5656
5656
  orgOptions: OrganizationOptions;
5657
5657
  roles: typeof defaultRoles & {
5658
5658
  [key: string]: Role<{}>;
5659
5659
  };
5660
- getSession: (context: hono73.Context<ContextVars>) => Promise<{
5661
- session: _faire_auth_core_db61.Session & {
5660
+ getSession: (context: hono101.Context<ContextVars>) => Promise<{
5661
+ session: _faire_auth_core_db83.Session & {
5662
5662
  activeTeamId?: string;
5663
5663
  activeOrganizationId?: string;
5664
5664
  };
5665
- user: _faire_auth_core_db61.User;
5665
+ user: _faire_auth_core_db83.User;
5666
5666
  } | null>;
5667
- }>, string, {}>, next: hono73.Next) => Promise<void>];
5667
+ }>, string, {}>, next: hono101.Next) => Promise<void>];
5668
5668
  request: {
5669
5669
  body: {
5670
5670
  description?: string;
@@ -5793,7 +5793,7 @@ declare const listOrganizationTeams: <O extends OrganizationOptions>(options: O)
5793
5793
  operationId: "listOrganizationTeams";
5794
5794
  path: "/organization/list-teams";
5795
5795
  method: "get";
5796
- middleware: [(ctx: hono73.Context<ContextVars<{
5796
+ middleware: [(ctx: hono101.Context<ContextVars<{
5797
5797
  session: {
5798
5798
  session: {
5799
5799
  activeTeamId?: string;
@@ -5824,23 +5824,23 @@ declare const listOrganizationTeams: <O extends OrganizationOptions>(options: O)
5824
5824
  image?: string | null;
5825
5825
  };
5826
5826
  };
5827
- }>, string, {}>, next: hono73.Next) => Promise<void | (Response & hono73.TypedResponse<{
5827
+ }>, string, {}>, next: hono101.Next) => Promise<void | (Response & hono101.TypedResponse<{
5828
5828
  success: false;
5829
5829
  code?: string | undefined;
5830
5830
  message?: string | undefined;
5831
- }, 401>)>, (ctx: hono73.Context<ContextVars<{
5831
+ }, 401>)>, (ctx: hono101.Context<ContextVars<{
5832
5832
  orgOptions: OrganizationOptions;
5833
5833
  roles: typeof defaultRoles & {
5834
5834
  [key: string]: Role<{}>;
5835
5835
  };
5836
- getSession: (context: hono73.Context<ContextVars>) => Promise<{
5837
- session: _faire_auth_core_db61.Session & {
5836
+ getSession: (context: hono101.Context<ContextVars>) => Promise<{
5837
+ session: _faire_auth_core_db83.Session & {
5838
5838
  activeTeamId?: string;
5839
5839
  activeOrganizationId?: string;
5840
5840
  };
5841
- user: _faire_auth_core_db61.User;
5841
+ user: _faire_auth_core_db83.User;
5842
5842
  } | null>;
5843
- }>, string, {}>, next: hono73.Next) => Promise<void>];
5843
+ }>, string, {}>, next: hono101.Next) => Promise<void>];
5844
5844
  request: {
5845
5845
  query: z$1.ZodObject<{
5846
5846
  organizationId: z$1.ZodOptional<z$1.ZodString>;
@@ -5934,7 +5934,7 @@ declare const setActiveTeam: <O extends OrganizationOptions>(options: O) => Auth
5934
5934
  operationId: "setActiveTeam";
5935
5935
  path: "/organization/set-active-team";
5936
5936
  method: "post";
5937
- middleware: [(ctx: hono73.Context<ContextVars<{
5937
+ middleware: [(ctx: hono101.Context<ContextVars<{
5938
5938
  session: {
5939
5939
  session: {
5940
5940
  activeTeamId?: string;
@@ -5965,23 +5965,23 @@ declare const setActiveTeam: <O extends OrganizationOptions>(options: O) => Auth
5965
5965
  image?: string | null;
5966
5966
  };
5967
5967
  };
5968
- }>, string, {}>, next: hono73.Next) => Promise<void | (Response & hono73.TypedResponse<{
5968
+ }>, string, {}>, next: hono101.Next) => Promise<void | (Response & hono101.TypedResponse<{
5969
5969
  success: false;
5970
5970
  code?: string | undefined;
5971
5971
  message?: string | undefined;
5972
- }, 401>)>, (ctx: hono73.Context<ContextVars<{
5972
+ }, 401>)>, (ctx: hono101.Context<ContextVars<{
5973
5973
  orgOptions: OrganizationOptions;
5974
5974
  roles: typeof defaultRoles & {
5975
5975
  [key: string]: Role<{}>;
5976
5976
  };
5977
- getSession: (context: hono73.Context<ContextVars>) => Promise<{
5978
- session: _faire_auth_core_db61.Session & {
5977
+ getSession: (context: hono101.Context<ContextVars>) => Promise<{
5978
+ session: _faire_auth_core_db83.Session & {
5979
5979
  activeTeamId?: string;
5980
5980
  activeOrganizationId?: string;
5981
5981
  };
5982
- user: _faire_auth_core_db61.User;
5982
+ user: _faire_auth_core_db83.User;
5983
5983
  } | null>;
5984
- }>, string, {}>, next: hono73.Next) => Promise<void>];
5984
+ }>, string, {}>, next: hono101.Next) => Promise<void>];
5985
5985
  request: {
5986
5986
  body: {
5987
5987
  description?: string;
@@ -6047,7 +6047,7 @@ declare const listUserTeams: <O extends OrganizationOptions>(options: O) => Auth
6047
6047
  operationId: "listUserTeams";
6048
6048
  path: "/organization/list-user-teams";
6049
6049
  method: "get";
6050
- middleware: [(ctx: hono73.Context<ContextVars<{
6050
+ middleware: [(ctx: hono101.Context<ContextVars<{
6051
6051
  session: {
6052
6052
  session: {
6053
6053
  activeTeamId?: string;
@@ -6078,23 +6078,23 @@ declare const listUserTeams: <O extends OrganizationOptions>(options: O) => Auth
6078
6078
  image?: string | null;
6079
6079
  };
6080
6080
  };
6081
- }>, string, {}>, next: hono73.Next) => Promise<void | (Response & hono73.TypedResponse<{
6081
+ }>, string, {}>, next: hono101.Next) => Promise<void | (Response & hono101.TypedResponse<{
6082
6082
  success: false;
6083
6083
  code?: string | undefined;
6084
6084
  message?: string | undefined;
6085
- }, 401>)>, (ctx: hono73.Context<ContextVars<{
6085
+ }, 401>)>, (ctx: hono101.Context<ContextVars<{
6086
6086
  orgOptions: OrganizationOptions;
6087
6087
  roles: typeof defaultRoles & {
6088
6088
  [key: string]: Role<{}>;
6089
6089
  };
6090
- getSession: (context: hono73.Context<ContextVars>) => Promise<{
6091
- session: _faire_auth_core_db61.Session & {
6090
+ getSession: (context: hono101.Context<ContextVars>) => Promise<{
6091
+ session: _faire_auth_core_db83.Session & {
6092
6092
  activeTeamId?: string;
6093
6093
  activeOrganizationId?: string;
6094
6094
  };
6095
- user: _faire_auth_core_db61.User;
6095
+ user: _faire_auth_core_db83.User;
6096
6096
  } | null>;
6097
- }>, string, {}>, next: hono73.Next) => Promise<void>];
6097
+ }>, string, {}>, next: hono101.Next) => Promise<void>];
6098
6098
  request: {};
6099
6099
  getRoutingPath: () => "/organization/list-user-teams";
6100
6100
  }>;
@@ -6196,7 +6196,7 @@ declare const listTeamMembers: <O extends OrganizationOptions>(options: O) => Au
6196
6196
  operationId: "listTeamMembers";
6197
6197
  path: "/organization/list-team-members";
6198
6198
  method: "get";
6199
- middleware: [(ctx: hono73.Context<ContextVars<{
6199
+ middleware: [(ctx: hono101.Context<ContextVars<{
6200
6200
  session: {
6201
6201
  session: {
6202
6202
  activeTeamId?: string;
@@ -6227,23 +6227,23 @@ declare const listTeamMembers: <O extends OrganizationOptions>(options: O) => Au
6227
6227
  image?: string | null;
6228
6228
  };
6229
6229
  };
6230
- }>, string, {}>, next: hono73.Next) => Promise<void | (Response & hono73.TypedResponse<{
6230
+ }>, string, {}>, next: hono101.Next) => Promise<void | (Response & hono101.TypedResponse<{
6231
6231
  success: false;
6232
6232
  code?: string | undefined;
6233
6233
  message?: string | undefined;
6234
- }, 401>)>, (ctx: hono73.Context<ContextVars<{
6234
+ }, 401>)>, (ctx: hono101.Context<ContextVars<{
6235
6235
  orgOptions: OrganizationOptions;
6236
6236
  roles: typeof defaultRoles & {
6237
6237
  [key: string]: Role<{}>;
6238
6238
  };
6239
- getSession: (context: hono73.Context<ContextVars>) => Promise<{
6240
- session: _faire_auth_core_db61.Session & {
6239
+ getSession: (context: hono101.Context<ContextVars>) => Promise<{
6240
+ session: _faire_auth_core_db83.Session & {
6241
6241
  activeTeamId?: string;
6242
6242
  activeOrganizationId?: string;
6243
6243
  };
6244
- user: _faire_auth_core_db61.User;
6244
+ user: _faire_auth_core_db83.User;
6245
6245
  } | null>;
6246
- }>, string, {}>, next: hono73.Next) => Promise<void>];
6246
+ }>, string, {}>, next: hono101.Next) => Promise<void>];
6247
6247
  request: {
6248
6248
  query: z$1.ZodObject<{
6249
6249
  teamId: z$1.ZodOptional<z$1.ZodString>;
@@ -6355,7 +6355,7 @@ declare const addTeamMember: <O extends OrganizationOptions>(options: O) => Auth
6355
6355
  operationId: "addTeamMember";
6356
6356
  path: "/organization/add-team-member";
6357
6357
  method: "post";
6358
- middleware: [(ctx: hono73.Context<ContextVars<{
6358
+ middleware: [(ctx: hono101.Context<ContextVars<{
6359
6359
  session: {
6360
6360
  session: {
6361
6361
  activeTeamId?: string;
@@ -6386,23 +6386,23 @@ declare const addTeamMember: <O extends OrganizationOptions>(options: O) => Auth
6386
6386
  image?: string | null;
6387
6387
  };
6388
6388
  };
6389
- }>, string, {}>, next: hono73.Next) => Promise<void | (Response & hono73.TypedResponse<{
6389
+ }>, string, {}>, next: hono101.Next) => Promise<void | (Response & hono101.TypedResponse<{
6390
6390
  success: false;
6391
6391
  code?: string | undefined;
6392
6392
  message?: string | undefined;
6393
- }, 401>)>, (ctx: hono73.Context<ContextVars<{
6393
+ }, 401>)>, (ctx: hono101.Context<ContextVars<{
6394
6394
  orgOptions: OrganizationOptions;
6395
6395
  roles: typeof defaultRoles & {
6396
6396
  [key: string]: Role<{}>;
6397
6397
  };
6398
- getSession: (context: hono73.Context<ContextVars>) => Promise<{
6399
- session: _faire_auth_core_db61.Session & {
6398
+ getSession: (context: hono101.Context<ContextVars>) => Promise<{
6399
+ session: _faire_auth_core_db83.Session & {
6400
6400
  activeTeamId?: string;
6401
6401
  activeOrganizationId?: string;
6402
6402
  };
6403
- user: _faire_auth_core_db61.User;
6403
+ user: _faire_auth_core_db83.User;
6404
6404
  } | null>;
6405
- }>, string, {}>, next: hono73.Next) => Promise<void>];
6405
+ }>, string, {}>, next: hono101.Next) => Promise<void>];
6406
6406
  request: {
6407
6407
  body: {
6408
6408
  description?: string;
@@ -6508,7 +6508,7 @@ declare const removeTeamMember: <O extends OrganizationOptions>(options: O) => A
6508
6508
  operationId: "removeTeamMember";
6509
6509
  path: "/organization/remove-team-member";
6510
6510
  method: "post";
6511
- middleware: [(ctx: hono73.Context<ContextVars<{
6511
+ middleware: [(ctx: hono101.Context<ContextVars<{
6512
6512
  session: {
6513
6513
  session: {
6514
6514
  activeTeamId?: string;
@@ -6539,23 +6539,23 @@ declare const removeTeamMember: <O extends OrganizationOptions>(options: O) => A
6539
6539
  image?: string | null;
6540
6540
  };
6541
6541
  };
6542
- }>, string, {}>, next: hono73.Next) => Promise<void | (Response & hono73.TypedResponse<{
6542
+ }>, string, {}>, next: hono101.Next) => Promise<void | (Response & hono101.TypedResponse<{
6543
6543
  success: false;
6544
6544
  code?: string | undefined;
6545
6545
  message?: string | undefined;
6546
- }, 401>)>, (ctx: hono73.Context<ContextVars<{
6546
+ }, 401>)>, (ctx: hono101.Context<ContextVars<{
6547
6547
  orgOptions: OrganizationOptions;
6548
6548
  roles: typeof defaultRoles & {
6549
6549
  [key: string]: Role<{}>;
6550
6550
  };
6551
- getSession: (context: hono73.Context<ContextVars>) => Promise<{
6552
- session: _faire_auth_core_db61.Session & {
6551
+ getSession: (context: hono101.Context<ContextVars>) => Promise<{
6552
+ session: _faire_auth_core_db83.Session & {
6553
6553
  activeTeamId?: string;
6554
6554
  activeOrganizationId?: string;
6555
6555
  };
6556
- user: _faire_auth_core_db61.User;
6556
+ user: _faire_auth_core_db83.User;
6557
6557
  } | null>;
6558
- }>, string, {}>, next: hono73.Next) => Promise<void>];
6558
+ }>, string, {}>, next: hono101.Next) => Promise<void>];
6559
6559
  request: {
6560
6560
  body: {
6561
6561
  description?: string;
@@ -6879,7 +6879,7 @@ declare const createHasPermission: <O extends OrganizationOptions>(options: O) =
6879
6879
  operationId: "hasPermission";
6880
6880
  path: "/organization/has-permission";
6881
6881
  method: "post";
6882
- middleware: [(ctx: hono73.Context<ContextVars<{
6882
+ middleware: [(ctx: hono101.Context<ContextVars<{
6883
6883
  session: {
6884
6884
  session: {
6885
6885
  activeTeamId?: string;
@@ -6910,7 +6910,7 @@ declare const createHasPermission: <O extends OrganizationOptions>(options: O) =
6910
6910
  image?: string | null;
6911
6911
  };
6912
6912
  };
6913
- }>, string, {}>, next: hono73.Next) => Promise<void | (Response & hono73.TypedResponse<{
6913
+ }>, string, {}>, next: hono101.Next) => Promise<void | (Response & hono101.TypedResponse<{
6914
6914
  success: false;
6915
6915
  code?: string | undefined;
6916
6916
  message?: string | undefined;
@@ -7756,7 +7756,7 @@ declare const twoFactor: (options?: TwoFactorOptions) => {
7756
7756
  operationId: "enableTwoFactor";
7757
7757
  path: "/two-factor/enable";
7758
7758
  method: "post";
7759
- middleware: [(ctx: hono73.Context<ContextVars<object & {
7759
+ middleware: [(ctx: hono101.Context<ContextVars<object & {
7760
7760
  session: {
7761
7761
  session: {
7762
7762
  [x: string]: unknown;
@@ -7780,7 +7780,7 @@ declare const twoFactor: (options?: TwoFactorOptions) => {
7780
7780
  image?: string | null;
7781
7781
  };
7782
7782
  };
7783
- }>, string, {}>, next: hono73.Next) => Promise<void | (Response & hono73.TypedResponse<{
7783
+ }>, string, {}>, next: hono101.Next) => Promise<void | (Response & hono101.TypedResponse<{
7784
7784
  success: false;
7785
7785
  code?: string | undefined;
7786
7786
  message?: string | undefined;
@@ -7886,7 +7886,7 @@ declare const twoFactor: (options?: TwoFactorOptions) => {
7886
7886
  operationId: "disableTwoFactor";
7887
7887
  path: "/two-factor/disable";
7888
7888
  method: "post";
7889
- middleware: [(ctx: hono73.Context<ContextVars<object & {
7889
+ middleware: [(ctx: hono101.Context<ContextVars<object & {
7890
7890
  session: {
7891
7891
  session: {
7892
7892
  [x: string]: unknown;
@@ -7910,7 +7910,7 @@ declare const twoFactor: (options?: TwoFactorOptions) => {
7910
7910
  image?: string | null;
7911
7911
  };
7912
7912
  };
7913
- }>, string, {}>, next: hono73.Next) => Promise<void | (Response & hono73.TypedResponse<{
7913
+ }>, string, {}>, next: hono101.Next) => Promise<void | (Response & hono101.TypedResponse<{
7914
7914
  success: false;
7915
7915
  code?: string | undefined;
7916
7916
  message?: string | undefined;
@@ -8149,7 +8149,7 @@ declare const twoFactor: (options?: TwoFactorOptions) => {
8149
8149
  operationId: "generateBackupCodes";
8150
8150
  path: "/two-factor/generate-backup-codes";
8151
8151
  method: "post";
8152
- middleware: [(ctx: hono73.Context<ContextVars<{
8152
+ middleware: [(ctx: hono101.Context<ContextVars<{
8153
8153
  session: {
8154
8154
  user: {
8155
8155
  twoFactorEnabled: boolean;
@@ -8179,7 +8179,7 @@ declare const twoFactor: (options?: TwoFactorOptions) => {
8179
8179
  image?: string | null;
8180
8180
  };
8181
8181
  };
8182
- }>, string, {}>, next: hono73.Next) => Promise<void | (Response & hono73.TypedResponse<{
8182
+ }>, string, {}>, next: hono101.Next) => Promise<void | (Response & hono101.TypedResponse<{
8183
8183
  success: false;
8184
8184
  code?: string | undefined;
8185
8185
  message?: string | undefined;
@@ -8655,7 +8655,7 @@ declare const twoFactor: (options?: TwoFactorOptions) => {
8655
8655
  operationId: "getTOTPURI";
8656
8656
  path: "/two-factor/get-totp-uri";
8657
8657
  method: "post";
8658
- middleware: [(ctx: hono73.Context<ContextVars<{
8658
+ middleware: [(ctx: hono101.Context<ContextVars<{
8659
8659
  session: {
8660
8660
  user: {
8661
8661
  twoFactorEnabled: boolean;
@@ -8685,7 +8685,7 @@ declare const twoFactor: (options?: TwoFactorOptions) => {
8685
8685
  image?: string | null;
8686
8686
  };
8687
8687
  };
8688
- }>, string, {}>, next: hono73.Next) => Promise<void | (Response & hono73.TypedResponse<{
8688
+ }>, string, {}>, next: hono101.Next) => Promise<void | (Response & hono101.TypedResponse<{
8689
8689
  success: false;
8690
8690
  code?: string | undefined;
8691
8691
  message?: string | undefined;
@@ -8864,8 +8864,8 @@ declare const twoFactor: (options?: TwoFactorOptions) => {
8864
8864
  options: TwoFactorOptions;
8865
8865
  hooks: {
8866
8866
  after: {
8867
- matcher: (ctx: hono73.Context<ContextVars<any>, any, {}>) => boolean;
8868
- handler: (_opts: _faire_auth_core_types47.FaireAuthOptions<any>) => (ctx: hono73.Context<ContextVars<object>, string, {}>) => Promise<_faire_auth_core_types47.JSONRespondReturn<{
8867
+ matcher: (ctx: hono101.Context<ContextVars<any>, any, {}>) => boolean;
8868
+ handler: (_opts: _faire_auth_core_types77.FaireAuthOptions<any>) => (ctx: hono101.Context<ContextVars<object>, string, {}>) => Promise<_faire_auth_core_types77.JSONRespondReturn<{
8869
8869
  twoFactorRedirect: true;
8870
8870
  }, 200> | undefined>;
8871
8871
  }[];
@@ -8937,14 +8937,14 @@ declare const getSchema: (normalizer: {
8937
8937
  unique: true;
8938
8938
  returned: true;
8939
8939
  transform: {
8940
- input(value: _faire_auth_core_db61.DBPrimitive): string | null | undefined;
8940
+ input(value: _faire_auth_core_db83.DBPrimitive): string | null | undefined;
8941
8941
  };
8942
8942
  };
8943
8943
  displayUsername: {
8944
8944
  type: "string";
8945
8945
  required: false;
8946
8946
  transform: {
8947
- input(value: _faire_auth_core_db61.DBPrimitive): string | null | undefined;
8947
+ input(value: _faire_auth_core_db83.DBPrimitive): string | null | undefined;
8948
8948
  };
8949
8949
  };
8950
8950
  };
@@ -9025,7 +9025,7 @@ interface UsernameOptions {
9025
9025
  }
9026
9026
  declare const username: (options?: UsernameOptions) => {
9027
9027
  id: "username";
9028
- init: (_ctx: _faire_auth_core_types47.AuthContext<ContextVars<any>, _faire_auth_core_types47.FaireAuthOptions<ContextVars<any>>>) => {
9028
+ init: (_ctx: _faire_auth_core_types77.AuthContext<ContextVars<any>, _faire_auth_core_types77.FaireAuthOptions<ContextVars<any>>>) => {
9029
9029
  options: {
9030
9030
  databaseHooks: {
9031
9031
  user: {
@@ -9274,14 +9274,14 @@ declare const username: (options?: UsernameOptions) => {
9274
9274
  unique: true;
9275
9275
  returned: true;
9276
9276
  transform: {
9277
- input(value: _faire_auth_core_db61.DBPrimitive): string | null | undefined;
9277
+ input(value: _faire_auth_core_db83.DBPrimitive): string | null | undefined;
9278
9278
  };
9279
9279
  };
9280
9280
  displayUsername: {
9281
9281
  type: "string";
9282
9282
  required: false;
9283
9283
  transform: {
9284
- input(value: _faire_auth_core_db61.DBPrimitive): string | null | undefined;
9284
+ input(value: _faire_auth_core_db83.DBPrimitive): string | null | undefined;
9285
9285
  };
9286
9286
  };
9287
9287
  };