@neondatabase/auth 0.1.0-beta.14 → 0.1.0-beta.15

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.
@@ -1,13 +1,13 @@
1
- import { n as NeonAuthAdapterCoreAuthOptions, r as SupportedBetterAuthClientPlugins, t as NeonAuthAdapterCore } from "./adapter-core-9F3bfyWA.mjs";
2
- import * as better_auth_client23 from "better-auth/client";
1
+ import { n as NeonAuthAdapterCoreAuthOptions, r as SupportedBetterAuthClientPlugins, t as NeonAuthAdapterCore } from "./adapter-core-CtcS7ex8.mjs";
2
+ import * as better_auth_client31 from "better-auth/client";
3
3
  import { createAuthClient } from "better-auth/client";
4
- import * as better_auth_client_plugins11 from "better-auth/client/plugins";
4
+ import * as better_auth_client_plugins33 from "better-auth/client/plugins";
5
5
  import * as _supabase_auth_js0 from "@supabase/auth-js";
6
6
  import { AuthClient, JwtHeader, JwtPayload } from "@supabase/auth-js";
7
- import * as jose1 from "jose";
8
- import * as better_auth303 from "better-auth";
9
- import * as _better_fetch_fetch177 from "@better-fetch/fetch";
10
- import * as nanostores1 from "nanostores";
7
+ import * as jose6 from "jose";
8
+ import * as better_auth360 from "better-auth";
9
+ import * as _better_fetch_fetch185 from "@better-fetch/fetch";
10
+ import * as nanostores9 from "nanostores";
11
11
 
12
12
  //#region src/adapters/better-auth-vanilla/better-auth-vanilla-adapter.d.ts
13
13
  type BetterAuthVanillaAdapterOptions = Omit<NeonAuthAdapterCoreAuthOptions, 'baseURL'>;
@@ -18,8 +18,8 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
18
18
  private _betterAuth;
19
19
  constructor(betterAuthClientOptions: NeonAuthAdapterCoreAuthOptions);
20
20
  getBetterAuthInstance(): {
21
- useActiveOrganization: nanostores1.PreinitializedWritableAtom<{
22
- data: better_auth303.Prettify<{
21
+ useActiveOrganization: nanostores9.PreinitializedWritableAtom<{
22
+ data: better_auth360.Prettify<{
23
23
  id: string;
24
24
  name: string;
25
25
  slug: string;
@@ -45,20 +45,20 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
45
45
  organizationId: string;
46
46
  email: string;
47
47
  role: "admin" | "member" | "owner";
48
- status: better_auth_client23.InvitationStatus;
48
+ status: better_auth_client31.InvitationStatus;
49
49
  inviterId: string;
50
50
  expiresAt: Date;
51
51
  createdAt: Date;
52
52
  }[];
53
53
  }> | null;
54
- error: null | _better_fetch_fetch177.BetterFetchError;
54
+ error: null | _better_fetch_fetch185.BetterFetchError;
55
55
  isPending: boolean;
56
56
  isRefetching: boolean;
57
57
  refetch: (queryParams?: {
58
- query?: better_auth303.SessionQueryParams;
58
+ query?: better_auth360.SessionQueryParams;
59
59
  } | undefined) => Promise<void>;
60
60
  }> & object;
61
- useListOrganizations: nanostores1.PreinitializedWritableAtom<{
61
+ useListOrganizations: nanostores9.PreinitializedWritableAtom<{
62
62
  data: {
63
63
  id: string;
64
64
  name: string;
@@ -67,14 +67,14 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
67
67
  logo?: string | null | undefined | undefined;
68
68
  metadata?: any;
69
69
  }[] | null;
70
- error: null | _better_fetch_fetch177.BetterFetchError;
70
+ error: null | _better_fetch_fetch185.BetterFetchError;
71
71
  isPending: boolean;
72
72
  isRefetching: boolean;
73
73
  refetch: (queryParams?: {
74
- query?: better_auth303.SessionQueryParams;
74
+ query?: better_auth360.SessionQueryParams;
75
75
  } | undefined) => Promise<void>;
76
76
  }> & object;
77
- useActiveMember: nanostores1.PreinitializedWritableAtom<{
77
+ useActiveMember: nanostores9.PreinitializedWritableAtom<{
78
78
  data: {
79
79
  id: string;
80
80
  organizationId: string;
@@ -82,29 +82,29 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
82
82
  role: string;
83
83
  createdAt: Date;
84
84
  } | null;
85
- error: null | _better_fetch_fetch177.BetterFetchError;
85
+ error: null | _better_fetch_fetch185.BetterFetchError;
86
86
  isPending: boolean;
87
87
  isRefetching: boolean;
88
88
  refetch: (queryParams?: {
89
- query?: better_auth303.SessionQueryParams;
89
+ query?: better_auth360.SessionQueryParams;
90
90
  } | undefined) => Promise<void>;
91
91
  }> & object;
92
- useActiveMemberRole: nanostores1.PreinitializedWritableAtom<{
92
+ useActiveMemberRole: nanostores9.PreinitializedWritableAtom<{
93
93
  data: {
94
94
  role: string;
95
95
  } | null;
96
- error: null | _better_fetch_fetch177.BetterFetchError;
96
+ error: null | _better_fetch_fetch185.BetterFetchError;
97
97
  isPending: boolean;
98
98
  isRefetching: boolean;
99
99
  refetch: (queryParams?: {
100
- query?: better_auth303.SessionQueryParams;
100
+ query?: better_auth360.SessionQueryParams;
101
101
  } | undefined) => Promise<void>;
102
102
  }> & object;
103
103
  } & {
104
- token: <FetchOptions extends better_auth303.ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth303.Prettify<{
104
+ token: <FetchOptions extends better_auth360.ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth360.Prettify<{
105
105
  query?: Record<string, any> | undefined;
106
106
  fetchOptions?: FetchOptions | undefined;
107
- }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch177.BetterFetchResponse<{
107
+ }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch185.BetterFetchResponse<{
108
108
  token: string;
109
109
  }, {
110
110
  code?: string | undefined;
@@ -112,16 +112,16 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
112
112
  }, FetchOptions["throw"] extends true ? true : false>>;
113
113
  } & {
114
114
  admin: {
115
- setRole: <FetchOptions extends better_auth303.ClientFetchOption<Partial<{
115
+ setRole: <FetchOptions extends better_auth360.ClientFetchOption<Partial<{
116
116
  userId: string;
117
117
  role: "user" | "admin" | ("user" | "admin")[];
118
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth303.Prettify<{
118
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth360.Prettify<{
119
119
  userId: string;
120
120
  role: "user" | "admin" | ("user" | "admin")[];
121
121
  } & {
122
122
  fetchOptions?: FetchOptions | undefined;
123
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch177.BetterFetchResponse<{
124
- user: better_auth_client_plugins11.UserWithRole;
123
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch185.BetterFetchResponse<{
124
+ user: better_auth_client_plugins33.UserWithRole;
125
125
  }, {
126
126
  code?: string | undefined;
127
127
  message?: string | undefined;
@@ -129,14 +129,14 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
129
129
  };
130
130
  } & {
131
131
  admin: {
132
- getUser: <FetchOptions extends better_auth303.ClientFetchOption<never, Partial<{
132
+ getUser: <FetchOptions extends better_auth360.ClientFetchOption<never, Partial<{
133
133
  id: string;
134
- }> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth303.Prettify<{
134
+ }> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth360.Prettify<{
135
135
  query: {
136
136
  id: string;
137
137
  };
138
138
  fetchOptions?: FetchOptions | undefined;
139
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch177.BetterFetchResponse<{
139
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch185.BetterFetchResponse<{
140
140
  id: string;
141
141
  createdAt: Date;
142
142
  updatedAt: Date;
@@ -151,13 +151,13 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
151
151
  };
152
152
  } & {
153
153
  admin: {
154
- createUser: <FetchOptions extends better_auth303.ClientFetchOption<Partial<{
154
+ createUser: <FetchOptions extends better_auth360.ClientFetchOption<Partial<{
155
155
  email: string;
156
156
  password: string;
157
157
  name: string;
158
158
  role?: "user" | "admin" | ("user" | "admin")[] | undefined;
159
159
  data?: Record<string, any> | undefined;
160
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth303.Prettify<{
160
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth360.Prettify<{
161
161
  email: string;
162
162
  password: string;
163
163
  name: string;
@@ -165,8 +165,8 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
165
165
  data?: Record<string, any> | undefined;
166
166
  } & {
167
167
  fetchOptions?: FetchOptions | undefined;
168
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch177.BetterFetchResponse<{
169
- user: better_auth_client_plugins11.UserWithRole;
168
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch185.BetterFetchResponse<{
169
+ user: better_auth_client_plugins33.UserWithRole;
170
170
  }, {
171
171
  code?: string | undefined;
172
172
  message?: string | undefined;
@@ -174,22 +174,22 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
174
174
  };
175
175
  } & {
176
176
  admin: {
177
- updateUser: <FetchOptions extends better_auth303.ClientFetchOption<Partial<{
177
+ updateUser: <FetchOptions extends better_auth360.ClientFetchOption<Partial<{
178
178
  userId: unknown;
179
179
  data: Record<any, any>;
180
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth303.Prettify<{
180
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth360.Prettify<{
181
181
  userId: unknown;
182
182
  data: Record<any, any>;
183
183
  } & {
184
184
  fetchOptions?: FetchOptions | undefined;
185
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch177.BetterFetchResponse<better_auth_client_plugins11.UserWithRole, {
185
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch185.BetterFetchResponse<better_auth_client_plugins33.UserWithRole, {
186
186
  code?: string | undefined;
187
187
  message?: string | undefined;
188
188
  }, FetchOptions["throw"] extends true ? true : false>>;
189
189
  };
190
190
  } & {
191
191
  admin: {
192
- listUsers: <FetchOptions extends better_auth303.ClientFetchOption<never, Partial<{
192
+ listUsers: <FetchOptions extends better_auth360.ClientFetchOption<never, Partial<{
193
193
  searchValue?: string | undefined;
194
194
  searchField?: "email" | "name" | undefined;
195
195
  searchOperator?: "contains" | "starts_with" | "ends_with" | undefined;
@@ -200,7 +200,7 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
200
200
  filterField?: string | undefined;
201
201
  filterValue?: string | number | boolean | undefined;
202
202
  filterOperator?: "contains" | "eq" | "ne" | "lt" | "lte" | "gt" | "gte" | undefined;
203
- }> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth303.Prettify<{
203
+ }> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth360.Prettify<{
204
204
  query: {
205
205
  searchValue?: string | undefined;
206
206
  searchField?: "email" | "name" | undefined;
@@ -214,8 +214,8 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
214
214
  filterOperator?: "contains" | "eq" | "ne" | "lt" | "lte" | "gt" | "gte" | undefined;
215
215
  };
216
216
  fetchOptions?: FetchOptions | undefined;
217
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch177.BetterFetchResponse<NonNullable<{
218
- users: better_auth_client_plugins11.UserWithRole[];
217
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch185.BetterFetchResponse<NonNullable<{
218
+ users: better_auth_client_plugins33.UserWithRole[];
219
219
  total: number;
220
220
  limit: number | undefined;
221
221
  offset: number | undefined;
@@ -229,14 +229,14 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
229
229
  };
230
230
  } & {
231
231
  admin: {
232
- listUserSessions: <FetchOptions extends better_auth303.ClientFetchOption<Partial<{
232
+ listUserSessions: <FetchOptions extends better_auth360.ClientFetchOption<Partial<{
233
233
  userId: unknown;
234
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth303.Prettify<{
234
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth360.Prettify<{
235
235
  userId: unknown;
236
236
  } & {
237
237
  fetchOptions?: FetchOptions | undefined;
238
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch177.BetterFetchResponse<{
239
- sessions: better_auth_client_plugins11.SessionWithImpersonatedBy[];
238
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch185.BetterFetchResponse<{
239
+ sessions: better_auth_client_plugins33.SessionWithImpersonatedBy[];
240
240
  }, {
241
241
  code?: string | undefined;
242
242
  message?: string | undefined;
@@ -244,13 +244,13 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
244
244
  };
245
245
  } & {
246
246
  admin: {
247
- unbanUser: <FetchOptions extends better_auth303.ClientFetchOption<Partial<{
247
+ unbanUser: <FetchOptions extends better_auth360.ClientFetchOption<Partial<{
248
248
  userId: unknown;
249
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth303.Prettify<{
249
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth360.Prettify<{
250
250
  userId: unknown;
251
251
  } & {
252
252
  fetchOptions?: FetchOptions | undefined;
253
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch177.BetterFetchResponse<{
253
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch185.BetterFetchResponse<{
254
254
  user: {
255
255
  id: string;
256
256
  createdAt: Date;
@@ -267,17 +267,17 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
267
267
  };
268
268
  } & {
269
269
  admin: {
270
- banUser: <FetchOptions extends better_auth303.ClientFetchOption<Partial<{
270
+ banUser: <FetchOptions extends better_auth360.ClientFetchOption<Partial<{
271
271
  userId: unknown;
272
272
  banReason?: string | undefined;
273
273
  banExpiresIn?: number | undefined;
274
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth303.Prettify<{
274
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth360.Prettify<{
275
275
  userId: unknown;
276
276
  banReason?: string | undefined;
277
277
  banExpiresIn?: number | undefined;
278
278
  } & {
279
279
  fetchOptions?: FetchOptions | undefined;
280
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch177.BetterFetchResponse<{
280
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch185.BetterFetchResponse<{
281
281
  user: {
282
282
  id: string;
283
283
  createdAt: Date;
@@ -294,13 +294,13 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
294
294
  };
295
295
  } & {
296
296
  admin: {
297
- impersonateUser: <FetchOptions extends better_auth303.ClientFetchOption<Partial<{
297
+ impersonateUser: <FetchOptions extends better_auth360.ClientFetchOption<Partial<{
298
298
  userId: unknown;
299
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth303.Prettify<{
299
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth360.Prettify<{
300
300
  userId: unknown;
301
301
  } & {
302
302
  fetchOptions?: FetchOptions | undefined;
303
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch177.BetterFetchResponse<{
303
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch185.BetterFetchResponse<{
304
304
  session: {
305
305
  id: string;
306
306
  createdAt: Date;
@@ -311,7 +311,7 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
311
311
  ipAddress?: string | null | undefined;
312
312
  userAgent?: string | null | undefined;
313
313
  };
314
- user: better_auth_client_plugins11.UserWithRole;
314
+ user: better_auth_client_plugins33.UserWithRole;
315
315
  }, {
316
316
  code?: string | undefined;
317
317
  message?: string | undefined;
@@ -319,12 +319,12 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
319
319
  };
320
320
  } & {
321
321
  admin: {
322
- stopImpersonating: <FetchOptions extends better_auth303.ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth303.Prettify<{
322
+ stopImpersonating: <FetchOptions extends better_auth360.ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth360.Prettify<{
323
323
  query?: Record<string, any> | undefined;
324
324
  fetchOptions?: FetchOptions | undefined;
325
- }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch177.BetterFetchResponse<{
326
- session: better_auth303.Session & Record<string, any>;
327
- user: better_auth303.User & Record<string, any>;
325
+ }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch185.BetterFetchResponse<{
326
+ session: better_auth360.Session & Record<string, any>;
327
+ user: better_auth360.User & Record<string, any>;
328
328
  }, {
329
329
  code?: string | undefined;
330
330
  message?: string | undefined;
@@ -332,13 +332,13 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
332
332
  };
333
333
  } & {
334
334
  admin: {
335
- revokeUserSession: <FetchOptions extends better_auth303.ClientFetchOption<Partial<{
335
+ revokeUserSession: <FetchOptions extends better_auth360.ClientFetchOption<Partial<{
336
336
  sessionToken: string;
337
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth303.Prettify<{
337
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth360.Prettify<{
338
338
  sessionToken: string;
339
339
  } & {
340
340
  fetchOptions?: FetchOptions | undefined;
341
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch177.BetterFetchResponse<{
341
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch185.BetterFetchResponse<{
342
342
  success: boolean;
343
343
  }, {
344
344
  code?: string | undefined;
@@ -347,13 +347,13 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
347
347
  };
348
348
  } & {
349
349
  admin: {
350
- revokeUserSessions: <FetchOptions extends better_auth303.ClientFetchOption<Partial<{
350
+ revokeUserSessions: <FetchOptions extends better_auth360.ClientFetchOption<Partial<{
351
351
  userId: unknown;
352
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth303.Prettify<{
352
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth360.Prettify<{
353
353
  userId: unknown;
354
354
  } & {
355
355
  fetchOptions?: FetchOptions | undefined;
356
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch177.BetterFetchResponse<{
356
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch185.BetterFetchResponse<{
357
357
  success: boolean;
358
358
  }, {
359
359
  code?: string | undefined;
@@ -362,13 +362,13 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
362
362
  };
363
363
  } & {
364
364
  admin: {
365
- removeUser: <FetchOptions extends better_auth303.ClientFetchOption<Partial<{
365
+ removeUser: <FetchOptions extends better_auth360.ClientFetchOption<Partial<{
366
366
  userId: unknown;
367
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth303.Prettify<{
367
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth360.Prettify<{
368
368
  userId: unknown;
369
369
  } & {
370
370
  fetchOptions?: FetchOptions | undefined;
371
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch177.BetterFetchResponse<{
371
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch185.BetterFetchResponse<{
372
372
  success: boolean;
373
373
  }, {
374
374
  code?: string | undefined;
@@ -377,15 +377,15 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
377
377
  };
378
378
  } & {
379
379
  admin: {
380
- setUserPassword: <FetchOptions extends better_auth303.ClientFetchOption<Partial<{
380
+ setUserPassword: <FetchOptions extends better_auth360.ClientFetchOption<Partial<{
381
381
  newPassword: string;
382
382
  userId: unknown;
383
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth303.Prettify<{
383
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth360.Prettify<{
384
384
  newPassword: string;
385
385
  userId: unknown;
386
386
  } & {
387
387
  fetchOptions?: FetchOptions | undefined;
388
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch177.BetterFetchResponse<{
388
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch185.BetterFetchResponse<{
389
389
  status: boolean;
390
390
  }, {
391
391
  code?: string | undefined;
@@ -394,7 +394,7 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
394
394
  };
395
395
  } & {
396
396
  admin: {
397
- hasPermission: <FetchOptions extends better_auth303.ClientFetchOption<Partial<({
397
+ hasPermission: <FetchOptions extends better_auth360.ClientFetchOption<Partial<({
398
398
  permission: {
399
399
  readonly user?: ("get" | "delete" | "create" | "list" | "set-role" | "ban" | "impersonate" | "set-password" | "update")[] | undefined;
400
400
  readonly session?: ("delete" | "list" | "revoke")[] | undefined;
@@ -409,7 +409,7 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
409
409
  }) & {
410
410
  userId?: string | undefined;
411
411
  role?: "user" | "admin" | undefined;
412
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth303.Prettify<(({
412
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth360.Prettify<(({
413
413
  permission: {
414
414
  readonly user?: ("get" | "delete" | "create" | "list" | "set-role" | "ban" | "impersonate" | "set-password" | "update")[] | undefined;
415
415
  readonly session?: ("delete" | "list" | "revoke")[] | undefined;
@@ -426,7 +426,7 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
426
426
  role?: "user" | "admin" | undefined;
427
427
  }) & {
428
428
  fetchOptions?: FetchOptions | undefined;
429
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch177.BetterFetchResponse<{
429
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch185.BetterFetchResponse<{
430
430
  error: null;
431
431
  success: boolean;
432
432
  }, {
@@ -436,14 +436,14 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
436
436
  };
437
437
  } & {
438
438
  organization: {
439
- create: <FetchOptions extends better_auth303.ClientFetchOption<Partial<{
439
+ create: <FetchOptions extends better_auth360.ClientFetchOption<Partial<{
440
440
  name: string;
441
441
  slug: string;
442
442
  userId?: string | undefined;
443
443
  logo?: string | undefined;
444
444
  metadata?: Record<string, any> | undefined;
445
445
  keepCurrentActiveOrganization?: boolean | undefined;
446
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth303.Prettify<{
446
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth360.Prettify<{
447
447
  name: string;
448
448
  slug: string;
449
449
  userId?: string | undefined;
@@ -452,7 +452,7 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
452
452
  keepCurrentActiveOrganization?: boolean | undefined;
453
453
  } & {
454
454
  fetchOptions?: FetchOptions | undefined;
455
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch177.BetterFetchResponse<{
455
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch185.BetterFetchResponse<{
456
456
  id: string;
457
457
  name: string;
458
458
  slug: string;
@@ -475,7 +475,7 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
475
475
  };
476
476
  } & {
477
477
  organization: {
478
- update: <FetchOptions extends better_auth303.ClientFetchOption<Partial<{
478
+ update: <FetchOptions extends better_auth360.ClientFetchOption<Partial<{
479
479
  data: {
480
480
  name?: string | undefined;
481
481
  slug?: string | undefined;
@@ -483,7 +483,7 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
483
483
  metadata?: Record<string, any> | undefined;
484
484
  } & Partial<{}>;
485
485
  organizationId?: string | undefined;
486
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth303.Prettify<{
486
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth360.Prettify<{
487
487
  data: {
488
488
  name?: string | undefined;
489
489
  slug?: string | undefined;
@@ -493,7 +493,7 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
493
493
  organizationId?: string | undefined;
494
494
  } & {
495
495
  fetchOptions?: FetchOptions | undefined;
496
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch177.BetterFetchResponse<{
496
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch185.BetterFetchResponse<{
497
497
  id: string;
498
498
  name: string;
499
499
  slug: string;
@@ -509,13 +509,13 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
509
509
  };
510
510
  } & {
511
511
  organization: {
512
- delete: <FetchOptions extends better_auth303.ClientFetchOption<Partial<{
512
+ delete: <FetchOptions extends better_auth360.ClientFetchOption<Partial<{
513
513
  organizationId: string;
514
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth303.Prettify<{
514
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth360.Prettify<{
515
515
  organizationId: string;
516
516
  } & {
517
517
  fetchOptions?: FetchOptions | undefined;
518
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch177.BetterFetchResponse<{
518
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch185.BetterFetchResponse<{
519
519
  id: string;
520
520
  name: string;
521
521
  slug: string;
@@ -529,15 +529,15 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
529
529
  };
530
530
  } & {
531
531
  organization: {
532
- setActive: <FetchOptions extends better_auth303.ClientFetchOption<Partial<{
532
+ setActive: <FetchOptions extends better_auth360.ClientFetchOption<Partial<{
533
533
  organizationId?: string | null | undefined;
534
534
  organizationSlug?: string | undefined;
535
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth303.Prettify<{
535
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth360.Prettify<{
536
536
  organizationId?: string | null | undefined;
537
537
  organizationSlug?: string | undefined;
538
538
  } & {
539
539
  fetchOptions?: FetchOptions | undefined;
540
- }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch177.BetterFetchResponse<{
540
+ }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch185.BetterFetchResponse<{
541
541
  members: {
542
542
  id: string;
543
543
  organizationId: string;
@@ -556,7 +556,7 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
556
556
  organizationId: string;
557
557
  email: string;
558
558
  role: "admin" | "member" | "owner";
559
- status: better_auth_client23.InvitationStatus;
559
+ status: better_auth_client31.InvitationStatus;
560
560
  inviterId: string;
561
561
  expiresAt: Date;
562
562
  createdAt: Date;
@@ -575,18 +575,18 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
575
575
  };
576
576
  } & {
577
577
  organization: {
578
- getFullOrganization: <FetchOptions extends better_auth303.ClientFetchOption<never, Partial<{
578
+ getFullOrganization: <FetchOptions extends better_auth360.ClientFetchOption<never, Partial<{
579
579
  organizationId?: string | undefined;
580
580
  organizationSlug?: string | undefined;
581
581
  membersLimit?: string | number | undefined;
582
- }> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth303.Prettify<{
582
+ }> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth360.Prettify<{
583
583
  query?: {
584
584
  organizationId?: string | undefined;
585
585
  organizationSlug?: string | undefined;
586
586
  membersLimit?: string | number | undefined;
587
587
  } | undefined;
588
588
  fetchOptions?: FetchOptions | undefined;
589
- }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch177.BetterFetchResponse<{
589
+ }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch185.BetterFetchResponse<{
590
590
  members: {
591
591
  id: string;
592
592
  organizationId: string;
@@ -605,7 +605,7 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
605
605
  organizationId: string;
606
606
  email: string;
607
607
  role: "admin" | "member" | "owner";
608
- status: better_auth_client23.InvitationStatus;
608
+ status: better_auth_client31.InvitationStatus;
609
609
  inviterId: string;
610
610
  expiresAt: Date;
611
611
  createdAt: Date;
@@ -624,10 +624,10 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
624
624
  };
625
625
  } & {
626
626
  organization: {
627
- list: <FetchOptions extends better_auth303.ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth303.Prettify<{
627
+ list: <FetchOptions extends better_auth360.ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth360.Prettify<{
628
628
  query?: Record<string, any> | undefined;
629
629
  fetchOptions?: FetchOptions | undefined;
630
- }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch177.BetterFetchResponse<{
630
+ }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch185.BetterFetchResponse<{
631
631
  id: string;
632
632
  name: string;
633
633
  slug: string;
@@ -641,24 +641,24 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
641
641
  };
642
642
  } & {
643
643
  organization: {
644
- inviteMember: <FetchOptions extends better_auth303.ClientFetchOption<Partial<{
644
+ inviteMember: <FetchOptions extends better_auth360.ClientFetchOption<Partial<{
645
645
  email: string;
646
646
  role: "admin" | "member" | "owner" | ("admin" | "member" | "owner")[];
647
647
  organizationId?: string | undefined;
648
648
  resend?: boolean | undefined;
649
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth303.Prettify<{
649
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth360.Prettify<{
650
650
  email: string;
651
651
  role: "admin" | "member" | "owner" | ("admin" | "member" | "owner")[];
652
652
  organizationId?: string | undefined;
653
653
  resend?: boolean | undefined;
654
654
  } & {
655
655
  fetchOptions?: FetchOptions | undefined;
656
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch177.BetterFetchResponse<{
656
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch185.BetterFetchResponse<{
657
657
  id: string;
658
658
  organizationId: string;
659
659
  email: string;
660
660
  role: "admin" | "member" | "owner";
661
- status: better_auth_client23.InvitationStatus;
661
+ status: better_auth_client31.InvitationStatus;
662
662
  inviterId: string;
663
663
  expiresAt: Date;
664
664
  createdAt: Date;
@@ -669,18 +669,18 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
669
669
  };
670
670
  } & {
671
671
  organization: {
672
- cancelInvitation: <FetchOptions extends better_auth303.ClientFetchOption<Partial<{
672
+ cancelInvitation: <FetchOptions extends better_auth360.ClientFetchOption<Partial<{
673
673
  invitationId: string;
674
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth303.Prettify<{
674
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth360.Prettify<{
675
675
  invitationId: string;
676
676
  } & {
677
677
  fetchOptions?: FetchOptions | undefined;
678
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch177.BetterFetchResponse<{
678
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch185.BetterFetchResponse<{
679
679
  id: string;
680
680
  organizationId: string;
681
681
  email: string;
682
682
  role: "admin" | "member" | "owner";
683
- status: better_auth_client23.InvitationStatus;
683
+ status: better_auth_client31.InvitationStatus;
684
684
  inviterId: string;
685
685
  expiresAt: Date;
686
686
  createdAt: Date;
@@ -691,19 +691,19 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
691
691
  };
692
692
  } & {
693
693
  organization: {
694
- acceptInvitation: <FetchOptions extends better_auth303.ClientFetchOption<Partial<{
694
+ acceptInvitation: <FetchOptions extends better_auth360.ClientFetchOption<Partial<{
695
695
  invitationId: string;
696
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth303.Prettify<{
696
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth360.Prettify<{
697
697
  invitationId: string;
698
698
  } & {
699
699
  fetchOptions?: FetchOptions | undefined;
700
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch177.BetterFetchResponse<{
700
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch185.BetterFetchResponse<{
701
701
  invitation: {
702
702
  id: string;
703
703
  organizationId: string;
704
704
  email: string;
705
705
  role: "admin" | "member" | "owner";
706
- status: better_auth_client23.InvitationStatus;
706
+ status: better_auth_client31.InvitationStatus;
707
707
  inviterId: string;
708
708
  expiresAt: Date;
709
709
  createdAt: Date;
@@ -722,19 +722,19 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
722
722
  };
723
723
  } & {
724
724
  organization: {
725
- getInvitation: <FetchOptions extends better_auth303.ClientFetchOption<never, Partial<{
725
+ getInvitation: <FetchOptions extends better_auth360.ClientFetchOption<never, Partial<{
726
726
  id: string;
727
- }> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth303.Prettify<{
727
+ }> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth360.Prettify<{
728
728
  query: {
729
729
  id: string;
730
730
  };
731
731
  fetchOptions?: FetchOptions | undefined;
732
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch177.BetterFetchResponse<NonNullable<{
732
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch185.BetterFetchResponse<NonNullable<{
733
733
  id: string;
734
734
  organizationId: string;
735
735
  email: string;
736
736
  role: "admin" | "member" | "owner";
737
- status: better_auth_client23.InvitationStatus;
737
+ status: better_auth_client31.InvitationStatus;
738
738
  inviterId: string;
739
739
  expiresAt: Date;
740
740
  createdAt: Date;
@@ -749,19 +749,19 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
749
749
  };
750
750
  } & {
751
751
  organization: {
752
- rejectInvitation: <FetchOptions extends better_auth303.ClientFetchOption<Partial<{
752
+ rejectInvitation: <FetchOptions extends better_auth360.ClientFetchOption<Partial<{
753
753
  invitationId: string;
754
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth303.Prettify<{
754
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth360.Prettify<{
755
755
  invitationId: string;
756
756
  } & {
757
757
  fetchOptions?: FetchOptions | undefined;
758
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch177.BetterFetchResponse<{
758
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch185.BetterFetchResponse<{
759
759
  invitation: {
760
760
  id: string;
761
761
  organizationId: string;
762
762
  email: string;
763
763
  role: "member" | "admin" | "owner";
764
- status: better_auth_client23.InvitationStatus;
764
+ status: better_auth_client31.InvitationStatus;
765
765
  inviterId: string;
766
766
  expiresAt: Date;
767
767
  createdAt: Date;
@@ -774,19 +774,19 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
774
774
  };
775
775
  } & {
776
776
  organization: {
777
- listInvitations: <FetchOptions extends better_auth303.ClientFetchOption<never, Partial<{
777
+ listInvitations: <FetchOptions extends better_auth360.ClientFetchOption<never, Partial<{
778
778
  organizationId?: string | undefined;
779
- }> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth303.Prettify<{
779
+ }> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth360.Prettify<{
780
780
  query?: {
781
781
  organizationId?: string | undefined;
782
782
  } | undefined;
783
783
  fetchOptions?: FetchOptions | undefined;
784
- }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch177.BetterFetchResponse<{
784
+ }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch185.BetterFetchResponse<{
785
785
  id: string;
786
786
  organizationId: string;
787
787
  email: string;
788
788
  role: "admin" | "member" | "owner";
789
- status: better_auth_client23.InvitationStatus;
789
+ status: better_auth_client31.InvitationStatus;
790
790
  inviterId: string;
791
791
  expiresAt: Date;
792
792
  createdAt: Date;
@@ -797,10 +797,10 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
797
797
  };
798
798
  } & {
799
799
  organization: {
800
- getActiveMember: <FetchOptions extends better_auth303.ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth303.Prettify<{
800
+ getActiveMember: <FetchOptions extends better_auth360.ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth360.Prettify<{
801
801
  query?: Record<string, any> | undefined;
802
802
  fetchOptions?: FetchOptions | undefined;
803
- }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch177.BetterFetchResponse<Omit<{
803
+ }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch185.BetterFetchResponse<Omit<{
804
804
  id: string;
805
805
  organizationId: string;
806
806
  role: "admin" | "member" | "owner";
@@ -813,7 +813,7 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
813
813
  image?: string | undefined;
814
814
  };
815
815
  } & {
816
- user: better_auth303.User;
816
+ user: better_auth360.User;
817
817
  }, "user"> & {
818
818
  user: {
819
819
  id: string;
@@ -828,13 +828,13 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
828
828
  };
829
829
  } & {
830
830
  organization: {
831
- checkSlug: <FetchOptions extends better_auth303.ClientFetchOption<Partial<{
831
+ checkSlug: <FetchOptions extends better_auth360.ClientFetchOption<Partial<{
832
832
  slug: string;
833
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth303.Prettify<{
833
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth360.Prettify<{
834
834
  slug: string;
835
835
  } & {
836
836
  fetchOptions?: FetchOptions | undefined;
837
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch177.BetterFetchResponse<{
837
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch185.BetterFetchResponse<{
838
838
  status: boolean;
839
839
  }, {
840
840
  code?: string | undefined;
@@ -843,15 +843,15 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
843
843
  };
844
844
  } & {
845
845
  organization: {
846
- removeMember: <FetchOptions extends better_auth303.ClientFetchOption<Partial<{
846
+ removeMember: <FetchOptions extends better_auth360.ClientFetchOption<Partial<{
847
847
  memberIdOrEmail: string;
848
848
  organizationId?: string | undefined;
849
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth303.Prettify<{
849
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth360.Prettify<{
850
850
  memberIdOrEmail: string;
851
851
  organizationId?: string | undefined;
852
852
  } & {
853
853
  fetchOptions?: FetchOptions | undefined;
854
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch177.BetterFetchResponse<{
854
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch185.BetterFetchResponse<{
855
855
  member: {
856
856
  id: string;
857
857
  organizationId: string;
@@ -872,17 +872,17 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
872
872
  };
873
873
  } & {
874
874
  organization: {
875
- updateMemberRole: <FetchOptions extends better_auth303.ClientFetchOption<Partial<{
876
- role: better_auth303.LiteralString | "admin" | "member" | "owner" | ("admin" | "member" | "owner")[] | better_auth303.LiteralString[];
875
+ updateMemberRole: <FetchOptions extends better_auth360.ClientFetchOption<Partial<{
876
+ role: better_auth360.LiteralString | "admin" | "member" | "owner" | ("admin" | "member" | "owner")[] | better_auth360.LiteralString[];
877
877
  memberId: string;
878
878
  organizationId?: string | undefined;
879
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth303.Prettify<{
880
- role: better_auth303.LiteralString | "admin" | "member" | "owner" | ("admin" | "member" | "owner")[] | better_auth303.LiteralString[];
879
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth360.Prettify<{
880
+ role: better_auth360.LiteralString | "admin" | "member" | "owner" | ("admin" | "member" | "owner")[] | better_auth360.LiteralString[];
881
881
  memberId: string;
882
882
  organizationId?: string | undefined;
883
883
  } & {
884
884
  fetchOptions?: FetchOptions | undefined;
885
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch177.BetterFetchResponse<{
885
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch185.BetterFetchResponse<{
886
886
  id: string;
887
887
  organizationId: string;
888
888
  role: "member" | "admin" | "owner";
@@ -901,13 +901,13 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
901
901
  };
902
902
  } & {
903
903
  organization: {
904
- leave: <FetchOptions extends better_auth303.ClientFetchOption<Partial<{
904
+ leave: <FetchOptions extends better_auth360.ClientFetchOption<Partial<{
905
905
  organizationId: string;
906
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth303.Prettify<{
906
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth360.Prettify<{
907
907
  organizationId: string;
908
908
  } & {
909
909
  fetchOptions?: FetchOptions | undefined;
910
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch177.BetterFetchResponse<NonNullable<Omit<{
910
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch185.BetterFetchResponse<NonNullable<Omit<{
911
911
  id: string;
912
912
  organizationId: string;
913
913
  role: "admin" | "member" | "owner";
@@ -920,7 +920,7 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
920
920
  image?: string | undefined;
921
921
  };
922
922
  } & {
923
- user: better_auth303.User;
923
+ user: better_auth360.User;
924
924
  }, "user"> & {
925
925
  user: {
926
926
  id: string;
@@ -935,19 +935,19 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
935
935
  };
936
936
  } & {
937
937
  organization: {
938
- listUserInvitations: <FetchOptions extends better_auth303.ClientFetchOption<never, Partial<{
938
+ listUserInvitations: <FetchOptions extends better_auth360.ClientFetchOption<never, Partial<{
939
939
  email?: string | undefined;
940
- }> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth303.Prettify<{
940
+ }> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth360.Prettify<{
941
941
  query?: {
942
942
  email?: string | undefined;
943
943
  } | undefined;
944
944
  fetchOptions?: FetchOptions | undefined;
945
- }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch177.BetterFetchResponse<(Omit<{
945
+ }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch185.BetterFetchResponse<(Omit<{
946
946
  id: string;
947
947
  organizationId: string;
948
948
  email: string;
949
949
  role: "admin" | "member" | "owner";
950
- status: better_auth_client23.InvitationStatus;
950
+ status: better_auth_client31.InvitationStatus;
951
951
  inviterId: string;
952
952
  expiresAt: Date;
953
953
  createdAt: Date;
@@ -969,7 +969,7 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
969
969
  };
970
970
  } & {
971
971
  organization: {
972
- listMembers: <FetchOptions extends better_auth303.ClientFetchOption<never, Partial<{
972
+ listMembers: <FetchOptions extends better_auth360.ClientFetchOption<never, Partial<{
973
973
  limit?: string | number | undefined;
974
974
  offset?: string | number | undefined;
975
975
  sortBy?: string | undefined;
@@ -979,7 +979,7 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
979
979
  filterOperator?: "contains" | "eq" | "ne" | "lt" | "lte" | "gt" | "gte" | undefined;
980
980
  organizationId?: string | undefined;
981
981
  organizationSlug?: string | undefined;
982
- }> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth303.Prettify<{
982
+ }> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth360.Prettify<{
983
983
  query?: {
984
984
  limit?: string | number | undefined;
985
985
  offset?: string | number | undefined;
@@ -992,7 +992,7 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
992
992
  organizationSlug?: string | undefined;
993
993
  } | undefined;
994
994
  fetchOptions?: FetchOptions | undefined;
995
- }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch177.BetterFetchResponse<{
995
+ }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch185.BetterFetchResponse<{
996
996
  members: ({
997
997
  id: string;
998
998
  organizationId: string;
@@ -1021,18 +1021,18 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1021
1021
  };
1022
1022
  } & {
1023
1023
  organization: {
1024
- getActiveMemberRole: <FetchOptions extends better_auth303.ClientFetchOption<never, Partial<{
1024
+ getActiveMemberRole: <FetchOptions extends better_auth360.ClientFetchOption<never, Partial<{
1025
1025
  userId?: string | undefined;
1026
1026
  organizationId?: string | undefined;
1027
1027
  organizationSlug?: string | undefined;
1028
- }> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth303.Prettify<{
1028
+ }> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth360.Prettify<{
1029
1029
  query?: {
1030
1030
  userId?: string | undefined;
1031
1031
  organizationId?: string | undefined;
1032
1032
  organizationSlug?: string | undefined;
1033
1033
  } | undefined;
1034
1034
  fetchOptions?: FetchOptions | undefined;
1035
- }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch177.BetterFetchResponse<{
1035
+ }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch185.BetterFetchResponse<{
1036
1036
  role: "admin" | "member" | "owner";
1037
1037
  }, {
1038
1038
  code?: string | undefined;
@@ -1041,11 +1041,11 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1041
1041
  };
1042
1042
  } & {
1043
1043
  organization: {
1044
- hasPermission: <FetchOptions extends better_auth303.ClientFetchOption<Partial<({
1044
+ hasPermission: <FetchOptions extends better_auth360.ClientFetchOption<Partial<({
1045
1045
  permission: {
1046
1046
  readonly organization?: ("delete" | "update")[] | undefined;
1047
1047
  readonly member?: ("delete" | "create" | "update")[] | undefined;
1048
- readonly invitation?: ("create" | "cancel")[] | undefined;
1048
+ readonly invitation?: ("cancel" | "create")[] | undefined;
1049
1049
  readonly team?: ("delete" | "create" | "update")[] | undefined;
1050
1050
  readonly ac?: ("delete" | "create" | "update" | "read")[] | undefined;
1051
1051
  };
@@ -1054,18 +1054,18 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1054
1054
  permissions: {
1055
1055
  readonly organization?: ("delete" | "update")[] | undefined;
1056
1056
  readonly member?: ("delete" | "create" | "update")[] | undefined;
1057
- readonly invitation?: ("create" | "cancel")[] | undefined;
1057
+ readonly invitation?: ("cancel" | "create")[] | undefined;
1058
1058
  readonly team?: ("delete" | "create" | "update")[] | undefined;
1059
1059
  readonly ac?: ("delete" | "create" | "update" | "read")[] | undefined;
1060
1060
  };
1061
1061
  permission?: never | undefined;
1062
1062
  }) & {
1063
1063
  organizationId?: string | undefined;
1064
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth303.Prettify<(({
1064
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth360.Prettify<(({
1065
1065
  permission: {
1066
1066
  readonly organization?: ("delete" | "update")[] | undefined;
1067
1067
  readonly member?: ("delete" | "create" | "update")[] | undefined;
1068
- readonly invitation?: ("create" | "cancel")[] | undefined;
1068
+ readonly invitation?: ("cancel" | "create")[] | undefined;
1069
1069
  readonly team?: ("delete" | "create" | "update")[] | undefined;
1070
1070
  readonly ac?: ("delete" | "create" | "update" | "read")[] | undefined;
1071
1071
  };
@@ -1074,7 +1074,7 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1074
1074
  permissions: {
1075
1075
  readonly organization?: ("delete" | "update")[] | undefined;
1076
1076
  readonly member?: ("delete" | "create" | "update")[] | undefined;
1077
- readonly invitation?: ("create" | "cancel")[] | undefined;
1077
+ readonly invitation?: ("cancel" | "create")[] | undefined;
1078
1078
  readonly team?: ("delete" | "create" | "update")[] | undefined;
1079
1079
  readonly ac?: ("delete" | "create" | "update" | "read")[] | undefined;
1080
1080
  };
@@ -1083,7 +1083,7 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1083
1083
  organizationId?: string | undefined;
1084
1084
  }) & {
1085
1085
  fetchOptions?: FetchOptions | undefined;
1086
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch177.BetterFetchResponse<{
1086
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch185.BetterFetchResponse<{
1087
1087
  error: null;
1088
1088
  success: boolean;
1089
1089
  }, {
@@ -1093,15 +1093,15 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1093
1093
  };
1094
1094
  } & {
1095
1095
  emailOtp: {
1096
- sendVerificationOtp: <FetchOptions extends better_auth303.ClientFetchOption<Partial<{
1096
+ sendVerificationOtp: <FetchOptions extends better_auth360.ClientFetchOption<Partial<{
1097
1097
  email: string;
1098
1098
  type: "sign-in" | "email-verification" | "forget-password";
1099
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth303.Prettify<{
1099
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth360.Prettify<{
1100
1100
  email: string;
1101
1101
  type: "sign-in" | "email-verification" | "forget-password";
1102
1102
  } & {
1103
1103
  fetchOptions?: FetchOptions | undefined;
1104
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch177.BetterFetchResponse<{
1104
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch185.BetterFetchResponse<{
1105
1105
  success: boolean;
1106
1106
  }, {
1107
1107
  code?: string | undefined;
@@ -1110,17 +1110,17 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1110
1110
  };
1111
1111
  } & {
1112
1112
  emailOtp: {
1113
- checkVerificationOtp: <FetchOptions extends better_auth303.ClientFetchOption<Partial<{
1113
+ checkVerificationOtp: <FetchOptions extends better_auth360.ClientFetchOption<Partial<{
1114
1114
  email: string;
1115
1115
  type: "sign-in" | "email-verification" | "forget-password";
1116
1116
  otp: string;
1117
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth303.Prettify<{
1117
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth360.Prettify<{
1118
1118
  email: string;
1119
1119
  type: "sign-in" | "email-verification" | "forget-password";
1120
1120
  otp: string;
1121
1121
  } & {
1122
1122
  fetchOptions?: FetchOptions | undefined;
1123
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch177.BetterFetchResponse<{
1123
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch185.BetterFetchResponse<{
1124
1124
  success: boolean;
1125
1125
  }, {
1126
1126
  code?: string | undefined;
@@ -1129,15 +1129,15 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1129
1129
  };
1130
1130
  } & {
1131
1131
  emailOtp: {
1132
- verifyEmail: <FetchOptions extends better_auth303.ClientFetchOption<Partial<{
1132
+ verifyEmail: <FetchOptions extends better_auth360.ClientFetchOption<Partial<{
1133
1133
  email: string;
1134
1134
  otp: string;
1135
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth303.Prettify<{
1135
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth360.Prettify<{
1136
1136
  email: string;
1137
1137
  otp: string;
1138
1138
  } & {
1139
1139
  fetchOptions?: FetchOptions | undefined;
1140
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch177.BetterFetchResponse<NonNullable<{
1140
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch185.BetterFetchResponse<NonNullable<{
1141
1141
  status: boolean;
1142
1142
  token: string;
1143
1143
  user: {
@@ -1168,15 +1168,15 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1168
1168
  };
1169
1169
  } & {
1170
1170
  signIn: {
1171
- emailOtp: <FetchOptions extends better_auth303.ClientFetchOption<Partial<{
1171
+ emailOtp: <FetchOptions extends better_auth360.ClientFetchOption<Partial<{
1172
1172
  email: string;
1173
1173
  otp: string;
1174
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth303.Prettify<{
1174
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth360.Prettify<{
1175
1175
  email: string;
1176
1176
  otp: string;
1177
1177
  } & {
1178
1178
  fetchOptions?: FetchOptions | undefined;
1179
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch177.BetterFetchResponse<{
1179
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch185.BetterFetchResponse<{
1180
1180
  token: string;
1181
1181
  user: {
1182
1182
  id: string;
@@ -1194,13 +1194,13 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1194
1194
  };
1195
1195
  } & {
1196
1196
  forgetPassword: {
1197
- emailOtp: <FetchOptions extends better_auth303.ClientFetchOption<Partial<{
1197
+ emailOtp: <FetchOptions extends better_auth360.ClientFetchOption<Partial<{
1198
1198
  email: string;
1199
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth303.Prettify<{
1199
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth360.Prettify<{
1200
1200
  email: string;
1201
1201
  } & {
1202
1202
  fetchOptions?: FetchOptions | undefined;
1203
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch177.BetterFetchResponse<{
1203
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch185.BetterFetchResponse<{
1204
1204
  success: boolean;
1205
1205
  }, {
1206
1206
  code?: string | undefined;
@@ -1209,17 +1209,17 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1209
1209
  };
1210
1210
  } & {
1211
1211
  emailOtp: {
1212
- resetPassword: <FetchOptions extends better_auth303.ClientFetchOption<Partial<{
1212
+ resetPassword: <FetchOptions extends better_auth360.ClientFetchOption<Partial<{
1213
1213
  email: string;
1214
1214
  otp: string;
1215
1215
  password: string;
1216
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth303.Prettify<{
1216
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth360.Prettify<{
1217
1217
  email: string;
1218
1218
  otp: string;
1219
1219
  password: string;
1220
1220
  } & {
1221
1221
  fetchOptions?: FetchOptions | undefined;
1222
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch177.BetterFetchResponse<{
1222
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch185.BetterFetchResponse<{
1223
1223
  success: boolean;
1224
1224
  }, {
1225
1225
  code?: string | undefined;
@@ -1228,7 +1228,7 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1228
1228
  };
1229
1229
  } & {
1230
1230
  signIn: {
1231
- social: <FetchOptions extends better_auth303.ClientFetchOption<Partial<{
1231
+ social: <FetchOptions extends better_auth360.ClientFetchOption<Partial<{
1232
1232
  provider: (string & {}) | "github" | "apple" | "atlassian" | "cognito" | "discord" | "facebook" | "figma" | "microsoft" | "google" | "huggingface" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linear" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "salesforce" | "vk" | "zoom" | "notion" | "kakao" | "naver" | "line" | "paybin" | "paypal" | "polar" | "vercel";
1233
1233
  callbackURL?: string | undefined;
1234
1234
  newUserCallbackURL?: string | undefined;
@@ -1245,7 +1245,7 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1245
1245
  requestSignUp?: boolean | undefined;
1246
1246
  loginHint?: string | undefined;
1247
1247
  additionalData?: Record<string, any> | undefined;
1248
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth303.Prettify<{
1248
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth360.Prettify<{
1249
1249
  provider: (string & {}) | "github" | "apple" | "atlassian" | "cognito" | "discord" | "facebook" | "figma" | "microsoft" | "google" | "huggingface" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linear" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "salesforce" | "vk" | "zoom" | "notion" | "kakao" | "naver" | "line" | "paybin" | "paypal" | "polar" | "vercel";
1250
1250
  callbackURL?: string | undefined;
1251
1251
  newUserCallbackURL?: string | undefined;
@@ -1264,7 +1264,7 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1264
1264
  additionalData?: Record<string, any> | undefined;
1265
1265
  } & {
1266
1266
  fetchOptions?: FetchOptions | undefined;
1267
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch177.BetterFetchResponse<NonNullable<{
1267
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch185.BetterFetchResponse<NonNullable<{
1268
1268
  redirect: boolean;
1269
1269
  url: string;
1270
1270
  } | {
@@ -1286,10 +1286,10 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1286
1286
  }, FetchOptions["throw"] extends true ? true : false>>;
1287
1287
  };
1288
1288
  } & {
1289
- signOut: <FetchOptions extends better_auth303.ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth303.Prettify<{
1289
+ signOut: <FetchOptions extends better_auth360.ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth360.Prettify<{
1290
1290
  query?: Record<string, any> | undefined;
1291
1291
  fetchOptions?: FetchOptions | undefined;
1292
- }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch177.BetterFetchResponse<{
1292
+ }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch185.BetterFetchResponse<{
1293
1293
  success: boolean;
1294
1294
  }, {
1295
1295
  code?: string | undefined;
@@ -1297,21 +1297,21 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1297
1297
  }, FetchOptions["throw"] extends true ? true : false>>;
1298
1298
  } & {
1299
1299
  signUp: {
1300
- email: <FetchOptions extends better_auth303.ClientFetchOption<Partial<{
1300
+ email: <FetchOptions extends better_auth360.ClientFetchOption<Partial<{
1301
1301
  name: string;
1302
1302
  email: string;
1303
1303
  password: string;
1304
1304
  image?: string | undefined;
1305
1305
  callbackURL?: string | undefined;
1306
1306
  rememberMe?: boolean | undefined;
1307
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth303.Prettify<{
1307
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth360.Prettify<{
1308
1308
  email: string;
1309
1309
  name: string;
1310
1310
  password: string;
1311
1311
  image?: string | undefined;
1312
1312
  callbackURL?: string | undefined;
1313
1313
  fetchOptions?: FetchOptions | undefined;
1314
- } & {} & {}>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch177.BetterFetchResponse<NonNullable<{
1314
+ } & {} & {}>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch185.BetterFetchResponse<NonNullable<{
1315
1315
  token: null;
1316
1316
  user: {
1317
1317
  id: string;
@@ -1340,19 +1340,19 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1340
1340
  };
1341
1341
  } & {
1342
1342
  signIn: {
1343
- email: <FetchOptions extends better_auth303.ClientFetchOption<Partial<{
1343
+ email: <FetchOptions extends better_auth360.ClientFetchOption<Partial<{
1344
1344
  email: string;
1345
1345
  password: string;
1346
1346
  callbackURL?: string | undefined;
1347
1347
  rememberMe?: boolean | undefined;
1348
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth303.Prettify<{
1348
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth360.Prettify<{
1349
1349
  email: string;
1350
1350
  password: string;
1351
1351
  callbackURL?: string | undefined;
1352
1352
  rememberMe?: boolean | undefined;
1353
1353
  } & {
1354
1354
  fetchOptions?: FetchOptions | undefined;
1355
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch177.BetterFetchResponse<{
1355
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch185.BetterFetchResponse<{
1356
1356
  redirect: boolean;
1357
1357
  token: string;
1358
1358
  url?: string | undefined;
@@ -1371,80 +1371,80 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1371
1371
  }, FetchOptions["throw"] extends true ? true : false>>;
1372
1372
  };
1373
1373
  } & {
1374
- resetPassword: <FetchOptions extends better_auth303.ClientFetchOption<Partial<{
1374
+ resetPassword: <FetchOptions extends better_auth360.ClientFetchOption<Partial<{
1375
1375
  newPassword: string;
1376
1376
  token?: string | undefined;
1377
1377
  }> & Record<string, any>, Partial<{
1378
1378
  token?: string | undefined;
1379
- }> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth303.Prettify<{
1379
+ }> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth360.Prettify<{
1380
1380
  newPassword: string;
1381
1381
  token?: string | undefined;
1382
1382
  } & {
1383
1383
  fetchOptions?: FetchOptions | undefined;
1384
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch177.BetterFetchResponse<{
1384
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch185.BetterFetchResponse<{
1385
1385
  status: boolean;
1386
1386
  }, {
1387
1387
  code?: string | undefined;
1388
1388
  message?: string | undefined;
1389
1389
  }, FetchOptions["throw"] extends true ? true : false>>;
1390
1390
  } & {
1391
- verifyEmail: <FetchOptions extends better_auth303.ClientFetchOption<never, Partial<{
1391
+ verifyEmail: <FetchOptions extends better_auth360.ClientFetchOption<never, Partial<{
1392
1392
  token: string;
1393
1393
  callbackURL?: string | undefined;
1394
- }> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth303.Prettify<{
1394
+ }> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth360.Prettify<{
1395
1395
  query: {
1396
1396
  token: string;
1397
1397
  callbackURL?: string | undefined;
1398
1398
  };
1399
1399
  fetchOptions?: FetchOptions | undefined;
1400
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch177.BetterFetchResponse<NonNullable<void | {
1400
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch185.BetterFetchResponse<NonNullable<void | {
1401
1401
  status: boolean;
1402
1402
  }>, {
1403
1403
  code?: string | undefined;
1404
1404
  message?: string | undefined;
1405
1405
  }, FetchOptions["throw"] extends true ? true : false>>;
1406
1406
  } & {
1407
- sendVerificationEmail: <FetchOptions extends better_auth303.ClientFetchOption<Partial<{
1407
+ sendVerificationEmail: <FetchOptions extends better_auth360.ClientFetchOption<Partial<{
1408
1408
  email: string;
1409
1409
  callbackURL?: string | undefined;
1410
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth303.Prettify<{
1410
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth360.Prettify<{
1411
1411
  email: string;
1412
1412
  callbackURL?: string | undefined;
1413
1413
  } & {
1414
1414
  fetchOptions?: FetchOptions | undefined;
1415
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch177.BetterFetchResponse<{
1415
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch185.BetterFetchResponse<{
1416
1416
  status: boolean;
1417
1417
  }, {
1418
1418
  code?: string | undefined;
1419
1419
  message?: string | undefined;
1420
1420
  }, FetchOptions["throw"] extends true ? true : false>>;
1421
1421
  } & {
1422
- changeEmail: <FetchOptions extends better_auth303.ClientFetchOption<Partial<{
1422
+ changeEmail: <FetchOptions extends better_auth360.ClientFetchOption<Partial<{
1423
1423
  newEmail: string;
1424
1424
  callbackURL?: string | undefined;
1425
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth303.Prettify<{
1425
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth360.Prettify<{
1426
1426
  newEmail: string;
1427
1427
  callbackURL?: string | undefined;
1428
1428
  } & {
1429
1429
  fetchOptions?: FetchOptions | undefined;
1430
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch177.BetterFetchResponse<{
1430
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch185.BetterFetchResponse<{
1431
1431
  status: boolean;
1432
1432
  }, {
1433
1433
  code?: string | undefined;
1434
1434
  message?: string | undefined;
1435
1435
  }, FetchOptions["throw"] extends true ? true : false>>;
1436
1436
  } & {
1437
- changePassword: <FetchOptions extends better_auth303.ClientFetchOption<Partial<{
1437
+ changePassword: <FetchOptions extends better_auth360.ClientFetchOption<Partial<{
1438
1438
  newPassword: string;
1439
1439
  currentPassword: string;
1440
1440
  revokeOtherSessions?: boolean | undefined;
1441
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth303.Prettify<{
1441
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth360.Prettify<{
1442
1442
  newPassword: string;
1443
1443
  currentPassword: string;
1444
1444
  revokeOtherSessions?: boolean | undefined;
1445
1445
  } & {
1446
1446
  fetchOptions?: FetchOptions | undefined;
1447
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch177.BetterFetchResponse<{
1447
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch185.BetterFetchResponse<{
1448
1448
  token: string | null;
1449
1449
  user: {
1450
1450
  id: string;
@@ -1460,31 +1460,31 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1460
1460
  message?: string | undefined;
1461
1461
  }, FetchOptions["throw"] extends true ? true : false>>;
1462
1462
  } & {
1463
- updateUser: <FetchOptions extends better_auth303.ClientFetchOption<Partial<Partial<{}> & {
1463
+ updateUser: <FetchOptions extends better_auth360.ClientFetchOption<Partial<Partial<{}> & {
1464
1464
  name?: string | undefined;
1465
1465
  image?: string | undefined | null;
1466
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth303.Prettify<{
1466
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth360.Prettify<{
1467
1467
  image?: (string | null) | undefined;
1468
1468
  name?: string | undefined;
1469
1469
  fetchOptions?: FetchOptions | undefined;
1470
- } & Partial<{} & {}>> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch177.BetterFetchResponse<{
1470
+ } & Partial<{} & {}>> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch185.BetterFetchResponse<{
1471
1471
  status: boolean;
1472
1472
  }, {
1473
1473
  code?: string | undefined;
1474
1474
  message?: string | undefined;
1475
1475
  }, FetchOptions["throw"] extends true ? true : false>>;
1476
1476
  } & {
1477
- deleteUser: <FetchOptions extends better_auth303.ClientFetchOption<Partial<{
1477
+ deleteUser: <FetchOptions extends better_auth360.ClientFetchOption<Partial<{
1478
1478
  callbackURL?: string | undefined;
1479
1479
  password?: string | undefined;
1480
1480
  token?: string | undefined;
1481
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth303.Prettify<{
1481
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth360.Prettify<{
1482
1482
  callbackURL?: string | undefined;
1483
1483
  password?: string | undefined;
1484
1484
  token?: string | undefined;
1485
1485
  } & {
1486
1486
  fetchOptions?: FetchOptions | undefined;
1487
- }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch177.BetterFetchResponse<{
1487
+ }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch185.BetterFetchResponse<{
1488
1488
  success: boolean;
1489
1489
  message: string;
1490
1490
  }, {
@@ -1492,15 +1492,15 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1492
1492
  message?: string | undefined;
1493
1493
  }, FetchOptions["throw"] extends true ? true : false>>;
1494
1494
  } & {
1495
- requestPasswordReset: <FetchOptions extends better_auth303.ClientFetchOption<Partial<{
1495
+ requestPasswordReset: <FetchOptions extends better_auth360.ClientFetchOption<Partial<{
1496
1496
  email: string;
1497
1497
  redirectTo?: string | undefined;
1498
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth303.Prettify<{
1498
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth360.Prettify<{
1499
1499
  email: string;
1500
1500
  redirectTo?: string | undefined;
1501
1501
  } & {
1502
1502
  fetchOptions?: FetchOptions | undefined;
1503
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch177.BetterFetchResponse<{
1503
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch185.BetterFetchResponse<{
1504
1504
  status: boolean;
1505
1505
  message: string;
1506
1506
  }, {
@@ -1509,25 +1509,25 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1509
1509
  }, FetchOptions["throw"] extends true ? true : false>>;
1510
1510
  } & {
1511
1511
  resetPassword: {
1512
- ":token": <FetchOptions extends better_auth303.ClientFetchOption<never, Partial<{
1512
+ ":token": <FetchOptions extends better_auth360.ClientFetchOption<never, Partial<{
1513
1513
  callbackURL: string;
1514
1514
  }> & Record<string, any>, {
1515
1515
  token: string;
1516
- }>>(data_0: better_auth303.Prettify<{
1516
+ }>>(data_0: better_auth360.Prettify<{
1517
1517
  query: {
1518
1518
  callbackURL: string;
1519
1519
  };
1520
1520
  fetchOptions?: FetchOptions | undefined;
1521
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch177.BetterFetchResponse<never, {
1521
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch185.BetterFetchResponse<never, {
1522
1522
  code?: string | undefined;
1523
1523
  message?: string | undefined;
1524
1524
  }, FetchOptions["throw"] extends true ? true : false>>;
1525
1525
  };
1526
1526
  } & {
1527
- listSessions: <FetchOptions extends better_auth303.ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth303.Prettify<{
1527
+ listSessions: <FetchOptions extends better_auth360.ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth360.Prettify<{
1528
1528
  query?: Record<string, any> | undefined;
1529
1529
  fetchOptions?: FetchOptions | undefined;
1530
- }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch177.BetterFetchResponse<better_auth303.Prettify<{
1530
+ }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch185.BetterFetchResponse<better_auth360.Prettify<{
1531
1531
  id: string;
1532
1532
  createdAt: Date;
1533
1533
  updatedAt: Date;
@@ -1541,40 +1541,40 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1541
1541
  message?: string | undefined;
1542
1542
  }, FetchOptions["throw"] extends true ? true : false>>;
1543
1543
  } & {
1544
- revokeSession: <FetchOptions extends better_auth303.ClientFetchOption<Partial<{
1544
+ revokeSession: <FetchOptions extends better_auth360.ClientFetchOption<Partial<{
1545
1545
  token: string;
1546
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth303.Prettify<{
1546
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth360.Prettify<{
1547
1547
  token: string;
1548
1548
  } & {
1549
1549
  fetchOptions?: FetchOptions | undefined;
1550
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch177.BetterFetchResponse<{
1550
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch185.BetterFetchResponse<{
1551
1551
  status: boolean;
1552
1552
  }, {
1553
1553
  code?: string | undefined;
1554
1554
  message?: string | undefined;
1555
1555
  }, FetchOptions["throw"] extends true ? true : false>>;
1556
1556
  } & {
1557
- revokeSessions: <FetchOptions extends better_auth303.ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth303.Prettify<{
1557
+ revokeSessions: <FetchOptions extends better_auth360.ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth360.Prettify<{
1558
1558
  query?: Record<string, any> | undefined;
1559
1559
  fetchOptions?: FetchOptions | undefined;
1560
- }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch177.BetterFetchResponse<{
1560
+ }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch185.BetterFetchResponse<{
1561
1561
  status: boolean;
1562
1562
  }, {
1563
1563
  code?: string | undefined;
1564
1564
  message?: string | undefined;
1565
1565
  }, FetchOptions["throw"] extends true ? true : false>>;
1566
1566
  } & {
1567
- revokeOtherSessions: <FetchOptions extends better_auth303.ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth303.Prettify<{
1567
+ revokeOtherSessions: <FetchOptions extends better_auth360.ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth360.Prettify<{
1568
1568
  query?: Record<string, any> | undefined;
1569
1569
  fetchOptions?: FetchOptions | undefined;
1570
- }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch177.BetterFetchResponse<{
1570
+ }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch185.BetterFetchResponse<{
1571
1571
  status: boolean;
1572
1572
  }, {
1573
1573
  code?: string | undefined;
1574
1574
  message?: string | undefined;
1575
1575
  }, FetchOptions["throw"] extends true ? true : false>>;
1576
1576
  } & {
1577
- linkSocial: <FetchOptions extends better_auth303.ClientFetchOption<Partial<{
1577
+ linkSocial: <FetchOptions extends better_auth360.ClientFetchOption<Partial<{
1578
1578
  provider: unknown;
1579
1579
  callbackURL?: string | undefined;
1580
1580
  idToken?: {
@@ -1589,7 +1589,7 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1589
1589
  errorCallbackURL?: string | undefined;
1590
1590
  disableRedirect?: boolean | undefined;
1591
1591
  additionalData?: Record<string, any> | undefined;
1592
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth303.Prettify<{
1592
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth360.Prettify<{
1593
1593
  provider: unknown;
1594
1594
  callbackURL?: string | undefined;
1595
1595
  idToken?: {
@@ -1606,7 +1606,7 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1606
1606
  additionalData?: Record<string, any> | undefined;
1607
1607
  } & {
1608
1608
  fetchOptions?: FetchOptions | undefined;
1609
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch177.BetterFetchResponse<{
1609
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch185.BetterFetchResponse<{
1610
1610
  url: string;
1611
1611
  redirect: boolean;
1612
1612
  }, {
@@ -1614,10 +1614,10 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1614
1614
  message?: string | undefined;
1615
1615
  }, FetchOptions["throw"] extends true ? true : false>>;
1616
1616
  } & {
1617
- listAccounts: <FetchOptions extends better_auth303.ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth303.Prettify<{
1617
+ listAccounts: <FetchOptions extends better_auth360.ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth360.Prettify<{
1618
1618
  query?: Record<string, any> | undefined;
1619
1619
  fetchOptions?: FetchOptions | undefined;
1620
- }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch177.BetterFetchResponse<{
1620
+ }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch185.BetterFetchResponse<{
1621
1621
  id: string;
1622
1622
  providerId: string;
1623
1623
  createdAt: Date;
@@ -1631,16 +1631,16 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1631
1631
  }, FetchOptions["throw"] extends true ? true : false>>;
1632
1632
  } & {
1633
1633
  deleteUser: {
1634
- callback: <FetchOptions extends better_auth303.ClientFetchOption<never, Partial<{
1634
+ callback: <FetchOptions extends better_auth360.ClientFetchOption<never, Partial<{
1635
1635
  token: string;
1636
1636
  callbackURL?: string | undefined;
1637
- }> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth303.Prettify<{
1637
+ }> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth360.Prettify<{
1638
1638
  query: {
1639
1639
  token: string;
1640
1640
  callbackURL?: string | undefined;
1641
1641
  };
1642
1642
  fetchOptions?: FetchOptions | undefined;
1643
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch177.BetterFetchResponse<{
1643
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch185.BetterFetchResponse<{
1644
1644
  success: boolean;
1645
1645
  message: string;
1646
1646
  }, {
@@ -1649,32 +1649,32 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1649
1649
  }, FetchOptions["throw"] extends true ? true : false>>;
1650
1650
  };
1651
1651
  } & {
1652
- unlinkAccount: <FetchOptions extends better_auth303.ClientFetchOption<Partial<{
1652
+ unlinkAccount: <FetchOptions extends better_auth360.ClientFetchOption<Partial<{
1653
1653
  providerId: string;
1654
1654
  accountId?: string | undefined;
1655
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth303.Prettify<{
1655
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth360.Prettify<{
1656
1656
  providerId: string;
1657
1657
  accountId?: string | undefined;
1658
1658
  } & {
1659
1659
  fetchOptions?: FetchOptions | undefined;
1660
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch177.BetterFetchResponse<{
1660
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch185.BetterFetchResponse<{
1661
1661
  status: boolean;
1662
1662
  }, {
1663
1663
  code?: string | undefined;
1664
1664
  message?: string | undefined;
1665
1665
  }, FetchOptions["throw"] extends true ? true : false>>;
1666
1666
  } & {
1667
- refreshToken: <FetchOptions extends better_auth303.ClientFetchOption<Partial<{
1667
+ refreshToken: <FetchOptions extends better_auth360.ClientFetchOption<Partial<{
1668
1668
  providerId: string;
1669
1669
  accountId?: string | undefined;
1670
1670
  userId?: string | undefined;
1671
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth303.Prettify<{
1671
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth360.Prettify<{
1672
1672
  providerId: string;
1673
1673
  accountId?: string | undefined;
1674
1674
  userId?: string | undefined;
1675
1675
  } & {
1676
1676
  fetchOptions?: FetchOptions | undefined;
1677
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch177.BetterFetchResponse<{
1677
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch185.BetterFetchResponse<{
1678
1678
  accessToken: string | undefined;
1679
1679
  refreshToken: string | undefined;
1680
1680
  accessTokenExpiresAt: Date | undefined;
@@ -1688,17 +1688,17 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1688
1688
  message?: string | undefined;
1689
1689
  }, FetchOptions["throw"] extends true ? true : false>>;
1690
1690
  } & {
1691
- getAccessToken: <FetchOptions extends better_auth303.ClientFetchOption<Partial<{
1691
+ getAccessToken: <FetchOptions extends better_auth360.ClientFetchOption<Partial<{
1692
1692
  providerId: string;
1693
1693
  accountId?: string | undefined;
1694
1694
  userId?: string | undefined;
1695
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth303.Prettify<{
1695
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth360.Prettify<{
1696
1696
  providerId: string;
1697
1697
  accountId?: string | undefined;
1698
1698
  userId?: string | undefined;
1699
1699
  } & {
1700
1700
  fetchOptions?: FetchOptions | undefined;
1701
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch177.BetterFetchResponse<{
1701
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch185.BetterFetchResponse<{
1702
1702
  accessToken: string;
1703
1703
  accessTokenExpiresAt: Date | undefined;
1704
1704
  scopes: string[];
@@ -1708,31 +1708,31 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1708
1708
  message?: string | undefined;
1709
1709
  }, FetchOptions["throw"] extends true ? true : false>>;
1710
1710
  } & {
1711
- accountInfo: <FetchOptions extends better_auth303.ClientFetchOption<never, Partial<{
1711
+ accountInfo: <FetchOptions extends better_auth360.ClientFetchOption<never, Partial<{
1712
1712
  accountId?: string | undefined;
1713
- }> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth303.Prettify<{
1713
+ }> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth360.Prettify<{
1714
1714
  query?: {
1715
1715
  accountId?: string | undefined;
1716
1716
  } | undefined;
1717
1717
  fetchOptions?: FetchOptions | undefined;
1718
- }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch177.BetterFetchResponse<{
1719
- user: better_auth303.OAuth2UserInfo;
1718
+ }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch185.BetterFetchResponse<{
1719
+ user: better_auth360.OAuth2UserInfo;
1720
1720
  data: Record<string, any>;
1721
1721
  }, {
1722
1722
  code?: string | undefined;
1723
1723
  message?: string | undefined;
1724
1724
  }, FetchOptions["throw"] extends true ? true : false>>;
1725
1725
  } & {
1726
- getSession: <FetchOptions extends better_auth303.ClientFetchOption<never, Partial<{
1726
+ getSession: <FetchOptions extends better_auth360.ClientFetchOption<never, Partial<{
1727
1727
  disableCookieCache?: unknown;
1728
1728
  disableRefresh?: unknown;
1729
- }> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth303.Prettify<{
1729
+ }> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth360.Prettify<{
1730
1730
  query?: {
1731
1731
  disableCookieCache?: unknown;
1732
1732
  disableRefresh?: unknown;
1733
1733
  } | undefined;
1734
1734
  fetchOptions?: FetchOptions | undefined;
1735
- }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch177.BetterFetchResponse<{
1735
+ }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch185.BetterFetchResponse<{
1736
1736
  user: {
1737
1737
  id: string;
1738
1738
  createdAt: Date;
@@ -1786,7 +1786,7 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1786
1786
  statusText: string;
1787
1787
  };
1788
1788
  } | {
1789
- data: jose1.JSONWebKeySet;
1789
+ data: jose6.JSONWebKeySet;
1790
1790
  error: null;
1791
1791
  }>;
1792
1792
  } & {
@@ -1828,7 +1828,7 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1828
1828
  organizationId: string;
1829
1829
  email: string;
1830
1830
  role: "admin" | "member" | "owner";
1831
- status: better_auth_client23.InvitationStatus;
1831
+ status: better_auth_client31.InvitationStatus;
1832
1832
  inviterId: string;
1833
1833
  expiresAt: Date;
1834
1834
  createdAt: Date;
@@ -1854,7 +1854,7 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1854
1854
  organizationId: string;
1855
1855
  email: string;
1856
1856
  role: "admin" | "member" | "owner";
1857
- status: better_auth_client23.InvitationStatus;
1857
+ status: better_auth_client31.InvitationStatus;
1858
1858
  inviterId: string;
1859
1859
  expiresAt: Date;
1860
1860
  createdAt: Date;
@@ -1885,7 +1885,7 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1885
1885
  permission: {
1886
1886
  readonly organization?: ("delete" | "update")[] | undefined;
1887
1887
  readonly member?: ("delete" | "create" | "update")[] | undefined;
1888
- readonly invitation?: ("create" | "cancel")[] | undefined;
1888
+ readonly invitation?: ("cancel" | "create")[] | undefined;
1889
1889
  readonly team?: ("delete" | "create" | "update")[] | undefined;
1890
1890
  readonly ac?: ("delete" | "create" | "update" | "read")[] | undefined;
1891
1891
  };
@@ -1894,7 +1894,7 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1894
1894
  permissions: {
1895
1895
  readonly organization?: ("delete" | "update")[] | undefined;
1896
1896
  readonly member?: ("delete" | "create" | "update")[] | undefined;
1897
- readonly invitation?: ("create" | "cancel")[] | undefined;
1897
+ readonly invitation?: ("cancel" | "create")[] | undefined;
1898
1898
  readonly team?: ("delete" | "create" | "update")[] | undefined;
1899
1899
  readonly ac?: ("delete" | "create" | "update" | "read")[] | undefined;
1900
1900
  };
@@ -1904,7 +1904,7 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1904
1904
  }) => boolean;
1905
1905
  };
1906
1906
  } & {
1907
- useSession: nanostores1.Atom<{
1907
+ useSession: nanostores9.Atom<{
1908
1908
  data: {
1909
1909
  user: {
1910
1910
  id: string;
@@ -1932,24 +1932,24 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1932
1932
  activeOrganizationId?: string | null | undefined;
1933
1933
  };
1934
1934
  } | null;
1935
- error: _better_fetch_fetch177.BetterFetchError | null;
1935
+ error: _better_fetch_fetch185.BetterFetchError | null;
1936
1936
  isPending: boolean;
1937
1937
  }>;
1938
- $fetch: _better_fetch_fetch177.BetterFetch<{
1939
- plugins: (_better_fetch_fetch177.BetterFetchPlugin | {
1938
+ $fetch: _better_fetch_fetch185.BetterFetch<{
1939
+ plugins: (_better_fetch_fetch185.BetterFetchPlugin | {
1940
1940
  id: string;
1941
1941
  name: string;
1942
1942
  hooks: {
1943
- onSuccess(context: _better_fetch_fetch177.SuccessContext<any>): void;
1943
+ onSuccess(context: _better_fetch_fetch185.SuccessContext<any>): void;
1944
1944
  };
1945
1945
  } | {
1946
1946
  id: string;
1947
1947
  name: string;
1948
1948
  hooks: {
1949
- onSuccess: ((context: _better_fetch_fetch177.SuccessContext<any>) => Promise<void> | void) | undefined;
1950
- onError: ((context: _better_fetch_fetch177.ErrorContext) => Promise<void> | void) | undefined;
1951
- onRequest: (<T extends Record<string, any>>(context: _better_fetch_fetch177.RequestContext<T>) => Promise<_better_fetch_fetch177.RequestContext | void> | _better_fetch_fetch177.RequestContext | void) | undefined;
1952
- onResponse: ((context: _better_fetch_fetch177.ResponseContext) => Promise<Response | void | _better_fetch_fetch177.ResponseContext> | Response | _better_fetch_fetch177.ResponseContext | void) | undefined;
1949
+ onSuccess: ((context: _better_fetch_fetch185.SuccessContext<any>) => Promise<void> | void) | undefined;
1950
+ onError: ((context: _better_fetch_fetch185.ErrorContext) => Promise<void> | void) | undefined;
1951
+ onRequest: (<T extends Record<string, any>>(context: _better_fetch_fetch185.RequestContext<T>) => Promise<_better_fetch_fetch185.RequestContext | void> | _better_fetch_fetch185.RequestContext | void) | undefined;
1952
+ onResponse: ((context: _better_fetch_fetch185.ResponseContext) => Promise<Response | void | _better_fetch_fetch185.ResponseContext> | Response | _better_fetch_fetch185.ResponseContext | void) | undefined;
1953
1953
  };
1954
1954
  })[];
1955
1955
  cache?: RequestCache | undefined;
@@ -1969,12 +1969,12 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1969
1969
  referrerPolicy?: ReferrerPolicy | undefined;
1970
1970
  signal?: (AbortSignal | null) | undefined;
1971
1971
  window?: null | undefined;
1972
- onRetry?: ((response: _better_fetch_fetch177.ResponseContext) => Promise<void> | void) | undefined;
1972
+ onRetry?: ((response: _better_fetch_fetch185.ResponseContext) => Promise<void> | void) | undefined;
1973
1973
  hookOptions?: {
1974
1974
  cloneResponse?: boolean;
1975
1975
  } | undefined;
1976
1976
  timeout?: number | undefined;
1977
- customFetchImpl: _better_fetch_fetch177.FetchEsque;
1977
+ customFetchImpl: _better_fetch_fetch185.FetchEsque;
1978
1978
  baseURL: string;
1979
1979
  throw?: boolean | undefined;
1980
1980
  auth?: ({
@@ -1994,17 +1994,17 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1994
1994
  params?: any;
1995
1995
  duplex?: "full" | "half" | undefined;
1996
1996
  jsonParser: (text: string) => Promise<any> | any;
1997
- retry?: _better_fetch_fetch177.RetryOptions | undefined;
1997
+ retry?: _better_fetch_fetch185.RetryOptions | undefined;
1998
1998
  retryAttempt?: number | undefined;
1999
- output?: (_better_fetch_fetch177.StandardSchemaV1 | typeof Blob | typeof File) | undefined;
2000
- errorSchema?: _better_fetch_fetch177.StandardSchemaV1 | undefined;
1999
+ output?: (_better_fetch_fetch185.StandardSchemaV1 | typeof Blob | typeof File) | undefined;
2000
+ errorSchema?: _better_fetch_fetch185.StandardSchemaV1 | undefined;
2001
2001
  disableValidation?: boolean | undefined;
2002
2002
  disableSignal?: boolean | undefined;
2003
2003
  }, unknown, unknown, {}>;
2004
2004
  $store: {
2005
2005
  notify: (signal?: (Omit<string, "$sessionSignal"> | "$sessionSignal") | undefined) => void;
2006
2006
  listen: (signal: Omit<string, "$sessionSignal"> | "$sessionSignal", listener: (value: boolean, oldValue?: boolean | undefined) => void) => void;
2007
- atoms: Record<string, nanostores1.WritableAtom<any>>;
2007
+ atoms: Record<string, nanostores9.WritableAtom<any>>;
2008
2008
  };
2009
2009
  $Infer: {
2010
2010
  Session: {