@neondatabase/auth 0.4.1-beta → 0.4.2-beta

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,4 +1,4 @@
1
- import { n as NeonAuthAdapterCoreAuthOptions, r as SupportedBetterAuthClientPlugins, t as NeonAuthAdapterCore } from "./adapter-core-ClY-p_AI.mjs";
1
+ import { n as NeonAuthAdapterCoreAuthOptions, r as SupportedBetterAuthClientPlugins, t as NeonAuthAdapterCore } from "./adapter-core-BiYHR4I-.mjs";
2
2
  import { r as SupabaseAuthClientInterface } from "./auth-interface-Clz-oWq1.mjs";
3
3
  import * as better_auth_react0 from "better-auth/react";
4
4
  import * as better_auth_client0 from "better-auth/client";
@@ -6,9 +6,9 @@ import { createAuthClient as createAuthClient$1 } from "better-auth/client";
6
6
  import * as _supabase_auth_js0 from "@supabase/auth-js";
7
7
  import { JwtHeader, JwtPayload } from "@supabase/auth-js";
8
8
  import * as jose0 from "jose";
9
- import * as better_auth_plugins21 from "better-auth/plugins";
10
- import * as better_auth155 from "better-auth";
11
- import * as _better_fetch_fetch91 from "@better-fetch/fetch";
9
+ import * as better_auth_plugins24 from "better-auth/plugins";
10
+ import * as better_auth165 from "better-auth";
11
+ import * as _better_fetch_fetch96 from "@better-fetch/fetch";
12
12
 
13
13
  //#region src/adapters/better-auth-vanilla/better-auth-vanilla-adapter.d.ts
14
14
  type BetterAuthVanillaAdapterOptions = Omit<NeonAuthAdapterCoreAuthOptions, 'baseURL'>;
@@ -19,7 +19,7 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
19
19
  private _betterAuth;
20
20
  constructor(betterAuthClientOptions: NeonAuthAdapterCoreAuthOptions);
21
21
  getBetterAuthInstance(): {
22
- useActiveOrganization: better_auth_client0.AuthQueryAtom<better_auth155.Prettify<{
22
+ useActiveOrganization: better_auth_client0.AuthQueryAtom<better_auth165.Prettify<{
23
23
  id: string;
24
24
  name: string;
25
25
  slug: string;
@@ -45,7 +45,7 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
45
45
  organizationId: string;
46
46
  email: string;
47
47
  role: "admin" | "member" | "owner";
48
- status: better_auth_plugins21.InvitationStatus;
48
+ status: better_auth_plugins24.InvitationStatus;
49
49
  inviterId: string;
50
50
  expiresAt: Date;
51
51
  createdAt: Date;
@@ -70,10 +70,10 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
70
70
  role: string;
71
71
  }>;
72
72
  } & {
73
- token: <FetchOptions extends better_auth155.ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth155.Prettify<{
73
+ token: <FetchOptions extends better_auth165.ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth165.Prettify<{
74
74
  query?: Record<string, any> | undefined;
75
75
  fetchOptions?: FetchOptions | undefined;
76
- }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<{
76
+ }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch96.BetterFetchResponse<{
77
77
  token: string;
78
78
  }, {
79
79
  code?: string | undefined;
@@ -81,16 +81,16 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
81
81
  }, FetchOptions["throw"] extends true ? true : false>>;
82
82
  } & {
83
83
  admin: {
84
- setRole: <FetchOptions extends better_auth155.ClientFetchOption<Partial<{
84
+ setRole: <FetchOptions extends better_auth165.ClientFetchOption<Partial<{
85
85
  userId: string;
86
86
  role: "user" | "admin" | ("user" | "admin")[];
87
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth155.Prettify<{
87
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth165.Prettify<{
88
88
  userId: string;
89
89
  role: "user" | "admin" | ("user" | "admin")[];
90
90
  } & {
91
91
  fetchOptions?: FetchOptions | undefined;
92
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<{
93
- user: better_auth_plugins21.UserWithRole;
92
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch96.BetterFetchResponse<{
93
+ user: better_auth_plugins24.UserWithRole;
94
94
  }, {
95
95
  code?: string | undefined;
96
96
  message?: string | undefined;
@@ -98,27 +98,27 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
98
98
  };
99
99
  } & {
100
100
  admin: {
101
- getUser: <FetchOptions extends better_auth155.ClientFetchOption<never, Partial<{
101
+ getUser: <FetchOptions extends better_auth165.ClientFetchOption<never, Partial<{
102
102
  id: string;
103
- }> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth155.Prettify<{
103
+ }> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth165.Prettify<{
104
104
  query: {
105
105
  id: string;
106
106
  };
107
107
  fetchOptions?: FetchOptions | undefined;
108
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<better_auth_plugins21.UserWithRole, {
108
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch96.BetterFetchResponse<better_auth_plugins24.UserWithRole, {
109
109
  code?: string | undefined;
110
110
  message?: string | undefined;
111
111
  }, FetchOptions["throw"] extends true ? true : false>>;
112
112
  };
113
113
  } & {
114
114
  admin: {
115
- createUser: <FetchOptions extends better_auth155.ClientFetchOption<Partial<{
115
+ createUser: <FetchOptions extends better_auth165.ClientFetchOption<Partial<{
116
116
  email: string;
117
117
  password?: string | undefined;
118
118
  name: string;
119
119
  role?: "user" | "admin" | ("user" | "admin")[] | undefined;
120
120
  data?: Record<string, any> | undefined;
121
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth155.Prettify<{
121
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth165.Prettify<{
122
122
  email: string;
123
123
  password?: string | undefined;
124
124
  name: string;
@@ -126,8 +126,8 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
126
126
  data?: Record<string, any> | undefined;
127
127
  } & {
128
128
  fetchOptions?: FetchOptions | undefined;
129
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<{
130
- user: better_auth_plugins21.UserWithRole;
129
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch96.BetterFetchResponse<{
130
+ user: better_auth_plugins24.UserWithRole;
131
131
  }, {
132
132
  code?: string | undefined;
133
133
  message?: string | undefined;
@@ -135,22 +135,22 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
135
135
  };
136
136
  } & {
137
137
  admin: {
138
- updateUser: <FetchOptions extends better_auth155.ClientFetchOption<Partial<{
138
+ updateUser: <FetchOptions extends better_auth165.ClientFetchOption<Partial<{
139
139
  userId: unknown;
140
140
  data: Record<any, any>;
141
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth155.Prettify<{
141
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth165.Prettify<{
142
142
  userId: unknown;
143
143
  data: Record<any, any>;
144
144
  } & {
145
145
  fetchOptions?: FetchOptions | undefined;
146
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<better_auth_plugins21.UserWithRole, {
146
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch96.BetterFetchResponse<better_auth_plugins24.UserWithRole, {
147
147
  code?: string | undefined;
148
148
  message?: string | undefined;
149
149
  }, FetchOptions["throw"] extends true ? true : false>>;
150
150
  };
151
151
  } & {
152
152
  admin: {
153
- listUsers: <FetchOptions extends better_auth155.ClientFetchOption<never, Partial<{
153
+ listUsers: <FetchOptions extends better_auth165.ClientFetchOption<never, Partial<{
154
154
  searchValue?: string | undefined;
155
155
  searchField?: "email" | "name" | undefined;
156
156
  searchOperator?: "contains" | "starts_with" | "ends_with" | undefined;
@@ -161,7 +161,7 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
161
161
  filterField?: string | undefined;
162
162
  filterValue?: string | number | boolean | undefined;
163
163
  filterOperator?: "contains" | "eq" | "ne" | "lt" | "lte" | "gt" | "gte" | undefined;
164
- }> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth155.Prettify<{
164
+ }> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth165.Prettify<{
165
165
  query: {
166
166
  searchValue?: string | undefined;
167
167
  searchField?: "email" | "name" | undefined;
@@ -175,8 +175,8 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
175
175
  filterOperator?: "contains" | "eq" | "ne" | "lt" | "lte" | "gt" | "gte" | undefined;
176
176
  };
177
177
  fetchOptions?: FetchOptions | undefined;
178
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<NonNullable<{
179
- users: better_auth_plugins21.UserWithRole[];
178
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch96.BetterFetchResponse<NonNullable<{
179
+ users: better_auth_plugins24.UserWithRole[];
180
180
  total: number;
181
181
  limit: number | undefined;
182
182
  offset: number | undefined;
@@ -190,14 +190,14 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
190
190
  };
191
191
  } & {
192
192
  admin: {
193
- listUserSessions: <FetchOptions extends better_auth155.ClientFetchOption<Partial<{
193
+ listUserSessions: <FetchOptions extends better_auth165.ClientFetchOption<Partial<{
194
194
  userId: unknown;
195
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth155.Prettify<{
195
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth165.Prettify<{
196
196
  userId: unknown;
197
197
  } & {
198
198
  fetchOptions?: FetchOptions | undefined;
199
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<{
200
- sessions: better_auth_plugins21.SessionWithImpersonatedBy[];
199
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch96.BetterFetchResponse<{
200
+ sessions: better_auth_plugins24.SessionWithImpersonatedBy[];
201
201
  }, {
202
202
  code?: string | undefined;
203
203
  message?: string | undefined;
@@ -205,14 +205,14 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
205
205
  };
206
206
  } & {
207
207
  admin: {
208
- unbanUser: <FetchOptions extends better_auth155.ClientFetchOption<Partial<{
208
+ unbanUser: <FetchOptions extends better_auth165.ClientFetchOption<Partial<{
209
209
  userId: unknown;
210
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth155.Prettify<{
210
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth165.Prettify<{
211
211
  userId: unknown;
212
212
  } & {
213
213
  fetchOptions?: FetchOptions | undefined;
214
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<{
215
- user: better_auth_plugins21.UserWithRole;
214
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch96.BetterFetchResponse<{
215
+ user: better_auth_plugins24.UserWithRole;
216
216
  }, {
217
217
  code?: string | undefined;
218
218
  message?: string | undefined;
@@ -220,18 +220,18 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
220
220
  };
221
221
  } & {
222
222
  admin: {
223
- banUser: <FetchOptions extends better_auth155.ClientFetchOption<Partial<{
223
+ banUser: <FetchOptions extends better_auth165.ClientFetchOption<Partial<{
224
224
  userId: unknown;
225
225
  banReason?: string | undefined;
226
226
  banExpiresIn?: number | undefined;
227
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth155.Prettify<{
227
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth165.Prettify<{
228
228
  userId: unknown;
229
229
  banReason?: string | undefined;
230
230
  banExpiresIn?: number | undefined;
231
231
  } & {
232
232
  fetchOptions?: FetchOptions | undefined;
233
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<{
234
- user: better_auth_plugins21.UserWithRole;
233
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch96.BetterFetchResponse<{
234
+ user: better_auth_plugins24.UserWithRole;
235
235
  }, {
236
236
  code?: string | undefined;
237
237
  message?: string | undefined;
@@ -239,13 +239,13 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
239
239
  };
240
240
  } & {
241
241
  admin: {
242
- impersonateUser: <FetchOptions extends better_auth155.ClientFetchOption<Partial<{
242
+ impersonateUser: <FetchOptions extends better_auth165.ClientFetchOption<Partial<{
243
243
  userId: unknown;
244
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth155.Prettify<{
244
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth165.Prettify<{
245
245
  userId: unknown;
246
246
  } & {
247
247
  fetchOptions?: FetchOptions | undefined;
248
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<{
248
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch96.BetterFetchResponse<{
249
249
  session: {
250
250
  id: string;
251
251
  createdAt: Date;
@@ -256,7 +256,7 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
256
256
  ipAddress?: string | null | undefined;
257
257
  userAgent?: string | null | undefined;
258
258
  };
259
- user: better_auth_plugins21.UserWithRole;
259
+ user: better_auth_plugins24.UserWithRole;
260
260
  }, {
261
261
  code?: string | undefined;
262
262
  message?: string | undefined;
@@ -264,10 +264,10 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
264
264
  };
265
265
  } & {
266
266
  admin: {
267
- stopImpersonating: <FetchOptions extends better_auth155.ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth155.Prettify<{
267
+ stopImpersonating: <FetchOptions extends better_auth165.ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth165.Prettify<{
268
268
  query?: Record<string, any> | undefined;
269
269
  fetchOptions?: FetchOptions | undefined;
270
- }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<{
270
+ }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch96.BetterFetchResponse<{
271
271
  session: {
272
272
  id: string;
273
273
  createdAt: Date;
@@ -294,13 +294,13 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
294
294
  };
295
295
  } & {
296
296
  admin: {
297
- revokeUserSession: <FetchOptions extends better_auth155.ClientFetchOption<Partial<{
297
+ revokeUserSession: <FetchOptions extends better_auth165.ClientFetchOption<Partial<{
298
298
  sessionToken: string;
299
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth155.Prettify<{
299
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth165.Prettify<{
300
300
  sessionToken: string;
301
301
  } & {
302
302
  fetchOptions?: FetchOptions | undefined;
303
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<{
303
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch96.BetterFetchResponse<{
304
304
  success: boolean;
305
305
  }, {
306
306
  code?: string | undefined;
@@ -309,13 +309,13 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
309
309
  };
310
310
  } & {
311
311
  admin: {
312
- revokeUserSessions: <FetchOptions extends better_auth155.ClientFetchOption<Partial<{
312
+ revokeUserSessions: <FetchOptions extends better_auth165.ClientFetchOption<Partial<{
313
313
  userId: unknown;
314
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth155.Prettify<{
314
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth165.Prettify<{
315
315
  userId: unknown;
316
316
  } & {
317
317
  fetchOptions?: FetchOptions | undefined;
318
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<{
318
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch96.BetterFetchResponse<{
319
319
  success: boolean;
320
320
  }, {
321
321
  code?: string | undefined;
@@ -324,13 +324,13 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
324
324
  };
325
325
  } & {
326
326
  admin: {
327
- removeUser: <FetchOptions extends better_auth155.ClientFetchOption<Partial<{
327
+ removeUser: <FetchOptions extends better_auth165.ClientFetchOption<Partial<{
328
328
  userId: unknown;
329
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth155.Prettify<{
329
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth165.Prettify<{
330
330
  userId: unknown;
331
331
  } & {
332
332
  fetchOptions?: FetchOptions | undefined;
333
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<{
333
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch96.BetterFetchResponse<{
334
334
  success: boolean;
335
335
  }, {
336
336
  code?: string | undefined;
@@ -339,15 +339,15 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
339
339
  };
340
340
  } & {
341
341
  admin: {
342
- setUserPassword: <FetchOptions extends better_auth155.ClientFetchOption<Partial<{
342
+ setUserPassword: <FetchOptions extends better_auth165.ClientFetchOption<Partial<{
343
343
  newPassword: string;
344
344
  userId: unknown;
345
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth155.Prettify<{
345
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth165.Prettify<{
346
346
  newPassword: string;
347
347
  userId: unknown;
348
348
  } & {
349
349
  fetchOptions?: FetchOptions | undefined;
350
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<{
350
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch96.BetterFetchResponse<{
351
351
  status: boolean;
352
352
  }, {
353
353
  code?: string | undefined;
@@ -356,7 +356,7 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
356
356
  };
357
357
  } & {
358
358
  admin: {
359
- hasPermission: <FetchOptions extends better_auth155.ClientFetchOption<Partial<({
359
+ hasPermission: <FetchOptions extends better_auth165.ClientFetchOption<Partial<({
360
360
  permission: {
361
361
  readonly user?: ("get" | "delete" | "create" | "list" | "set-role" | "ban" | "impersonate" | "set-password" | "update")[] | undefined;
362
362
  readonly session?: ("delete" | "list" | "revoke")[] | undefined;
@@ -371,7 +371,7 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
371
371
  }) & {
372
372
  userId?: string | undefined;
373
373
  role?: "user" | "admin" | undefined;
374
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth155.Prettify<(({
374
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth165.Prettify<(({
375
375
  permission: {
376
376
  readonly user?: ("get" | "delete" | "create" | "list" | "set-role" | "ban" | "impersonate" | "set-password" | "update")[] | undefined;
377
377
  readonly session?: ("delete" | "list" | "revoke")[] | undefined;
@@ -388,7 +388,7 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
388
388
  role?: "user" | "admin" | undefined;
389
389
  }) & {
390
390
  fetchOptions?: FetchOptions | undefined;
391
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<{
391
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch96.BetterFetchResponse<{
392
392
  error: null;
393
393
  success: boolean;
394
394
  }, {
@@ -398,14 +398,14 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
398
398
  };
399
399
  } & {
400
400
  organization: {
401
- create: <FetchOptions extends better_auth155.ClientFetchOption<Partial<{
401
+ create: <FetchOptions extends better_auth165.ClientFetchOption<Partial<{
402
402
  name: string;
403
403
  slug: string;
404
404
  userId?: string | undefined;
405
405
  logo?: string | undefined;
406
406
  metadata?: Record<string, any> | undefined;
407
407
  keepCurrentActiveOrganization?: boolean | undefined;
408
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth155.Prettify<{
408
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth165.Prettify<{
409
409
  name: string;
410
410
  slug: string;
411
411
  userId?: string | undefined;
@@ -414,7 +414,7 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
414
414
  keepCurrentActiveOrganization?: boolean | undefined;
415
415
  } & {
416
416
  fetchOptions?: FetchOptions | undefined;
417
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<{
417
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch96.BetterFetchResponse<{
418
418
  id: string;
419
419
  name: string;
420
420
  slug: string;
@@ -437,7 +437,7 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
437
437
  };
438
438
  } & {
439
439
  organization: {
440
- update: <FetchOptions extends better_auth155.ClientFetchOption<Partial<{
440
+ update: <FetchOptions extends better_auth165.ClientFetchOption<Partial<{
441
441
  data: {
442
442
  name?: string | undefined;
443
443
  slug?: string | undefined;
@@ -445,7 +445,7 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
445
445
  metadata?: Record<string, any> | undefined;
446
446
  } & Partial<{}>;
447
447
  organizationId?: string | undefined;
448
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth155.Prettify<{
448
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth165.Prettify<{
449
449
  data: {
450
450
  name?: string | undefined;
451
451
  slug?: string | undefined;
@@ -455,7 +455,7 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
455
455
  organizationId?: string | undefined;
456
456
  } & {
457
457
  fetchOptions?: FetchOptions | undefined;
458
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<{
458
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch96.BetterFetchResponse<{
459
459
  id: string;
460
460
  name: string;
461
461
  slug: string;
@@ -469,13 +469,13 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
469
469
  };
470
470
  } & {
471
471
  organization: {
472
- delete: <FetchOptions extends better_auth155.ClientFetchOption<Partial<{
472
+ delete: <FetchOptions extends better_auth165.ClientFetchOption<Partial<{
473
473
  organizationId: string;
474
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth155.Prettify<{
474
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth165.Prettify<{
475
475
  organizationId: string;
476
476
  } & {
477
477
  fetchOptions?: FetchOptions | undefined;
478
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<{
478
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch96.BetterFetchResponse<{
479
479
  id: string;
480
480
  name: string;
481
481
  slug: string;
@@ -489,15 +489,15 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
489
489
  };
490
490
  } & {
491
491
  organization: {
492
- setActive: <FetchOptions extends better_auth155.ClientFetchOption<Partial<{
492
+ setActive: <FetchOptions extends better_auth165.ClientFetchOption<Partial<{
493
493
  organizationId?: string | null | undefined;
494
494
  organizationSlug?: string | undefined;
495
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth155.Prettify<{
495
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth165.Prettify<{
496
496
  organizationId?: string | null | undefined;
497
497
  organizationSlug?: string | undefined;
498
498
  } & {
499
499
  fetchOptions?: FetchOptions | undefined;
500
- }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<{
500
+ }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch96.BetterFetchResponse<{
501
501
  members: {
502
502
  id: string;
503
503
  organizationId: string;
@@ -516,7 +516,7 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
516
516
  organizationId: string;
517
517
  email: string;
518
518
  role: "admin" | "member" | "owner";
519
- status: better_auth_plugins21.InvitationStatus;
519
+ status: better_auth_plugins24.InvitationStatus;
520
520
  inviterId: string;
521
521
  expiresAt: Date;
522
522
  createdAt: Date;
@@ -535,18 +535,18 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
535
535
  };
536
536
  } & {
537
537
  organization: {
538
- getFullOrganization: <FetchOptions extends better_auth155.ClientFetchOption<never, Partial<{
538
+ getFullOrganization: <FetchOptions extends better_auth165.ClientFetchOption<never, Partial<{
539
539
  organizationId?: string | undefined;
540
540
  organizationSlug?: string | undefined;
541
541
  membersLimit?: string | number | undefined;
542
- }> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth155.Prettify<{
542
+ }> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth165.Prettify<{
543
543
  query?: {
544
544
  organizationId?: string | undefined;
545
545
  organizationSlug?: string | undefined;
546
546
  membersLimit?: string | number | undefined;
547
547
  } | undefined;
548
548
  fetchOptions?: FetchOptions | undefined;
549
- }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<{
549
+ }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch96.BetterFetchResponse<{
550
550
  members: {
551
551
  id: string;
552
552
  organizationId: string;
@@ -565,7 +565,7 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
565
565
  organizationId: string;
566
566
  email: string;
567
567
  role: "admin" | "member" | "owner";
568
- status: better_auth_plugins21.InvitationStatus;
568
+ status: better_auth_plugins24.InvitationStatus;
569
569
  inviterId: string;
570
570
  expiresAt: Date;
571
571
  createdAt: Date;
@@ -584,10 +584,10 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
584
584
  };
585
585
  } & {
586
586
  organization: {
587
- list: <FetchOptions extends better_auth155.ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth155.Prettify<{
587
+ list: <FetchOptions extends better_auth165.ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth165.Prettify<{
588
588
  query?: Record<string, any> | undefined;
589
589
  fetchOptions?: FetchOptions | undefined;
590
- }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<{
590
+ }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch96.BetterFetchResponse<{
591
591
  id: string;
592
592
  name: string;
593
593
  slug: string;
@@ -601,24 +601,24 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
601
601
  };
602
602
  } & {
603
603
  organization: {
604
- inviteMember: <FetchOptions extends better_auth155.ClientFetchOption<Partial<{
604
+ inviteMember: <FetchOptions extends better_auth165.ClientFetchOption<Partial<{
605
605
  email: string;
606
606
  role: "admin" | "member" | "owner" | ("admin" | "member" | "owner")[];
607
607
  organizationId?: string | undefined;
608
608
  resend?: boolean | undefined;
609
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth155.Prettify<{
609
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth165.Prettify<{
610
610
  email: string;
611
611
  role: "admin" | "member" | "owner" | ("admin" | "member" | "owner")[];
612
612
  organizationId?: string | undefined;
613
613
  resend?: boolean | undefined;
614
614
  } & {
615
615
  fetchOptions?: FetchOptions | undefined;
616
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<NonNullable<{
616
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch96.BetterFetchResponse<NonNullable<{
617
617
  id: string;
618
618
  organizationId: string;
619
619
  email: string;
620
620
  role: "admin" | "member" | "owner";
621
- status: better_auth_plugins21.InvitationStatus;
621
+ status: better_auth_plugins24.InvitationStatus;
622
622
  inviterId: string;
623
623
  expiresAt: Date;
624
624
  createdAt: Date;
@@ -627,7 +627,7 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
627
627
  organizationId: string;
628
628
  email: string;
629
629
  role: "admin" | "member" | "owner";
630
- status: better_auth_plugins21.InvitationStatus;
630
+ status: better_auth_plugins24.InvitationStatus;
631
631
  inviterId: string;
632
632
  expiresAt: Date;
633
633
  createdAt: Date;
@@ -638,18 +638,18 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
638
638
  };
639
639
  } & {
640
640
  organization: {
641
- cancelInvitation: <FetchOptions extends better_auth155.ClientFetchOption<Partial<{
641
+ cancelInvitation: <FetchOptions extends better_auth165.ClientFetchOption<Partial<{
642
642
  invitationId: string;
643
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth155.Prettify<{
643
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth165.Prettify<{
644
644
  invitationId: string;
645
645
  } & {
646
646
  fetchOptions?: FetchOptions | undefined;
647
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<{
647
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch96.BetterFetchResponse<{
648
648
  id: string;
649
649
  organizationId: string;
650
650
  email: string;
651
651
  role: "admin" | "member" | "owner";
652
- status: better_auth_plugins21.InvitationStatus;
652
+ status: better_auth_plugins24.InvitationStatus;
653
653
  inviterId: string;
654
654
  expiresAt: Date;
655
655
  createdAt: Date;
@@ -660,19 +660,19 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
660
660
  };
661
661
  } & {
662
662
  organization: {
663
- acceptInvitation: <FetchOptions extends better_auth155.ClientFetchOption<Partial<{
663
+ acceptInvitation: <FetchOptions extends better_auth165.ClientFetchOption<Partial<{
664
664
  invitationId: string;
665
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth155.Prettify<{
665
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth165.Prettify<{
666
666
  invitationId: string;
667
667
  } & {
668
668
  fetchOptions?: FetchOptions | undefined;
669
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<{
669
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch96.BetterFetchResponse<{
670
670
  invitation: {
671
671
  id: string;
672
672
  organizationId: string;
673
673
  email: string;
674
674
  role: "admin" | "member" | "owner";
675
- status: better_auth_plugins21.InvitationStatus;
675
+ status: better_auth_plugins24.InvitationStatus;
676
676
  inviterId: string;
677
677
  expiresAt: Date;
678
678
  createdAt: Date;
@@ -691,19 +691,19 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
691
691
  };
692
692
  } & {
693
693
  organization: {
694
- getInvitation: <FetchOptions extends better_auth155.ClientFetchOption<never, Partial<{
694
+ getInvitation: <FetchOptions extends better_auth165.ClientFetchOption<never, Partial<{
695
695
  id: string;
696
- }> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth155.Prettify<{
696
+ }> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth165.Prettify<{
697
697
  query: {
698
698
  id: string;
699
699
  };
700
700
  fetchOptions?: FetchOptions | undefined;
701
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<NonNullable<{
701
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch96.BetterFetchResponse<NonNullable<{
702
702
  id: string;
703
703
  organizationId: string;
704
704
  email: string;
705
705
  role: "admin" | "member" | "owner";
706
- status: better_auth_plugins21.InvitationStatus;
706
+ status: better_auth_plugins24.InvitationStatus;
707
707
  inviterId: string;
708
708
  expiresAt: Date;
709
709
  createdAt: Date;
@@ -718,19 +718,19 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
718
718
  };
719
719
  } & {
720
720
  organization: {
721
- rejectInvitation: <FetchOptions extends better_auth155.ClientFetchOption<Partial<{
721
+ rejectInvitation: <FetchOptions extends better_auth165.ClientFetchOption<Partial<{
722
722
  invitationId: string;
723
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth155.Prettify<{
723
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth165.Prettify<{
724
724
  invitationId: string;
725
725
  } & {
726
726
  fetchOptions?: FetchOptions | undefined;
727
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<{
727
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch96.BetterFetchResponse<{
728
728
  invitation: {
729
729
  id: string;
730
730
  organizationId: string;
731
731
  email: string;
732
732
  role: "member" | "admin" | "owner";
733
- status: better_auth_plugins21.InvitationStatus;
733
+ status: better_auth_plugins24.InvitationStatus;
734
734
  inviterId: string;
735
735
  expiresAt: Date;
736
736
  createdAt: Date;
@@ -743,19 +743,19 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
743
743
  };
744
744
  } & {
745
745
  organization: {
746
- listInvitations: <FetchOptions extends better_auth155.ClientFetchOption<never, Partial<{
746
+ listInvitations: <FetchOptions extends better_auth165.ClientFetchOption<never, Partial<{
747
747
  organizationId?: string | undefined;
748
- }> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth155.Prettify<{
748
+ }> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth165.Prettify<{
749
749
  query?: {
750
750
  organizationId?: string | undefined;
751
751
  } | undefined;
752
752
  fetchOptions?: FetchOptions | undefined;
753
- }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<{
753
+ }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch96.BetterFetchResponse<{
754
754
  id: string;
755
755
  organizationId: string;
756
756
  email: string;
757
757
  role: "admin" | "member" | "owner";
758
- status: better_auth_plugins21.InvitationStatus;
758
+ status: better_auth_plugins24.InvitationStatus;
759
759
  inviterId: string;
760
760
  expiresAt: Date;
761
761
  createdAt: Date;
@@ -766,10 +766,10 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
766
766
  };
767
767
  } & {
768
768
  organization: {
769
- getActiveMember: <FetchOptions extends better_auth155.ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth155.Prettify<{
769
+ getActiveMember: <FetchOptions extends better_auth165.ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth165.Prettify<{
770
770
  query?: Record<string, any> | undefined;
771
771
  fetchOptions?: FetchOptions | undefined;
772
- }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<Omit<{
772
+ }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch96.BetterFetchResponse<Omit<{
773
773
  id: string;
774
774
  organizationId: string;
775
775
  role: "admin" | "member" | "owner";
@@ -782,7 +782,7 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
782
782
  image?: string | undefined;
783
783
  };
784
784
  } & {
785
- user: better_auth155.User;
785
+ user: better_auth165.User;
786
786
  }, "user"> & {
787
787
  user: {
788
788
  id: string;
@@ -797,13 +797,13 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
797
797
  };
798
798
  } & {
799
799
  organization: {
800
- checkSlug: <FetchOptions extends better_auth155.ClientFetchOption<Partial<{
800
+ checkSlug: <FetchOptions extends better_auth165.ClientFetchOption<Partial<{
801
801
  slug: string;
802
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth155.Prettify<{
802
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth165.Prettify<{
803
803
  slug: string;
804
804
  } & {
805
805
  fetchOptions?: FetchOptions | undefined;
806
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<{
806
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch96.BetterFetchResponse<{
807
807
  status: boolean;
808
808
  }, {
809
809
  code?: string | undefined;
@@ -812,15 +812,15 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
812
812
  };
813
813
  } & {
814
814
  organization: {
815
- removeMember: <FetchOptions extends better_auth155.ClientFetchOption<Partial<{
815
+ removeMember: <FetchOptions extends better_auth165.ClientFetchOption<Partial<{
816
816
  memberIdOrEmail: string;
817
817
  organizationId?: string | undefined;
818
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth155.Prettify<{
818
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth165.Prettify<{
819
819
  memberIdOrEmail: string;
820
820
  organizationId?: string | undefined;
821
821
  } & {
822
822
  fetchOptions?: FetchOptions | undefined;
823
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<{
823
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch96.BetterFetchResponse<{
824
824
  member: {
825
825
  id: string;
826
826
  organizationId: string;
@@ -841,17 +841,17 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
841
841
  };
842
842
  } & {
843
843
  organization: {
844
- updateMemberRole: <FetchOptions extends better_auth155.ClientFetchOption<Partial<{
845
- role: better_auth155.LiteralString | "admin" | "member" | "owner" | ("admin" | "member" | "owner")[] | better_auth155.LiteralString[];
844
+ updateMemberRole: <FetchOptions extends better_auth165.ClientFetchOption<Partial<{
845
+ role: better_auth165.LiteralString | "admin" | "member" | "owner" | ("admin" | "member" | "owner")[] | better_auth165.LiteralString[];
846
846
  memberId: string;
847
847
  organizationId?: string | undefined;
848
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth155.Prettify<{
849
- role: better_auth155.LiteralString | "admin" | "member" | "owner" | ("admin" | "member" | "owner")[] | better_auth155.LiteralString[];
848
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth165.Prettify<{
849
+ role: better_auth165.LiteralString | "admin" | "member" | "owner" | ("admin" | "member" | "owner")[] | better_auth165.LiteralString[];
850
850
  memberId: string;
851
851
  organizationId?: string | undefined;
852
852
  } & {
853
853
  fetchOptions?: FetchOptions | undefined;
854
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<{
854
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch96.BetterFetchResponse<{
855
855
  id: string;
856
856
  organizationId: string;
857
857
  role: "member" | "admin" | "owner";
@@ -870,13 +870,13 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
870
870
  };
871
871
  } & {
872
872
  organization: {
873
- leave: <FetchOptions extends better_auth155.ClientFetchOption<Partial<{
873
+ leave: <FetchOptions extends better_auth165.ClientFetchOption<Partial<{
874
874
  organizationId: string;
875
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth155.Prettify<{
875
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth165.Prettify<{
876
876
  organizationId: string;
877
877
  } & {
878
878
  fetchOptions?: FetchOptions | undefined;
879
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<NonNullable<Omit<{
879
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch96.BetterFetchResponse<NonNullable<Omit<{
880
880
  id: string;
881
881
  organizationId: string;
882
882
  role: "admin" | "member" | "owner";
@@ -889,7 +889,7 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
889
889
  image?: string | undefined;
890
890
  };
891
891
  } & {
892
- user: better_auth155.User;
892
+ user: better_auth165.User;
893
893
  }, "user"> & {
894
894
  user: {
895
895
  id: string;
@@ -904,19 +904,19 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
904
904
  };
905
905
  } & {
906
906
  organization: {
907
- listUserInvitations: <FetchOptions extends better_auth155.ClientFetchOption<never, Partial<{
907
+ listUserInvitations: <FetchOptions extends better_auth165.ClientFetchOption<never, Partial<{
908
908
  email?: string | undefined;
909
- }> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth155.Prettify<{
909
+ }> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth165.Prettify<{
910
910
  query?: {
911
911
  email?: string | undefined;
912
912
  } | undefined;
913
913
  fetchOptions?: FetchOptions | undefined;
914
- }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<(Omit<{
914
+ }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch96.BetterFetchResponse<(Omit<{
915
915
  id: string;
916
916
  organizationId: string;
917
917
  email: string;
918
918
  role: "admin" | "member" | "owner";
919
- status: better_auth_plugins21.InvitationStatus;
919
+ status: better_auth_plugins24.InvitationStatus;
920
920
  inviterId: string;
921
921
  expiresAt: Date;
922
922
  createdAt: Date;
@@ -938,7 +938,7 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
938
938
  };
939
939
  } & {
940
940
  organization: {
941
- listMembers: <FetchOptions extends better_auth155.ClientFetchOption<never, Partial<{
941
+ listMembers: <FetchOptions extends better_auth165.ClientFetchOption<never, Partial<{
942
942
  limit?: string | number | undefined;
943
943
  offset?: string | number | undefined;
944
944
  sortBy?: string | undefined;
@@ -948,7 +948,7 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
948
948
  filterOperator?: "contains" | "eq" | "ne" | "lt" | "lte" | "gt" | "gte" | undefined;
949
949
  organizationId?: string | undefined;
950
950
  organizationSlug?: string | undefined;
951
- }> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth155.Prettify<{
951
+ }> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth165.Prettify<{
952
952
  query?: {
953
953
  limit?: string | number | undefined;
954
954
  offset?: string | number | undefined;
@@ -961,7 +961,7 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
961
961
  organizationSlug?: string | undefined;
962
962
  } | undefined;
963
963
  fetchOptions?: FetchOptions | undefined;
964
- }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<{
964
+ }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch96.BetterFetchResponse<{
965
965
  members: ({
966
966
  id: string;
967
967
  organizationId: string;
@@ -990,18 +990,18 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
990
990
  };
991
991
  } & {
992
992
  organization: {
993
- getActiveMemberRole: <FetchOptions extends better_auth155.ClientFetchOption<never, Partial<{
993
+ getActiveMemberRole: <FetchOptions extends better_auth165.ClientFetchOption<never, Partial<{
994
994
  userId?: string | undefined;
995
995
  organizationId?: string | undefined;
996
996
  organizationSlug?: string | undefined;
997
- }> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth155.Prettify<{
997
+ }> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth165.Prettify<{
998
998
  query?: {
999
999
  userId?: string | undefined;
1000
1000
  organizationId?: string | undefined;
1001
1001
  organizationSlug?: string | undefined;
1002
1002
  } | undefined;
1003
1003
  fetchOptions?: FetchOptions | undefined;
1004
- }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<{
1004
+ }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch96.BetterFetchResponse<{
1005
1005
  role: "admin" | "member" | "owner";
1006
1006
  }, {
1007
1007
  code?: string | undefined;
@@ -1010,7 +1010,7 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1010
1010
  };
1011
1011
  } & {
1012
1012
  organization: {
1013
- hasPermission: <FetchOptions extends better_auth155.ClientFetchOption<Partial<({
1013
+ hasPermission: <FetchOptions extends better_auth165.ClientFetchOption<Partial<({
1014
1014
  permission: {
1015
1015
  readonly organization?: ("delete" | "update")[] | undefined;
1016
1016
  readonly member?: ("delete" | "create" | "update")[] | undefined;
@@ -1030,7 +1030,7 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1030
1030
  permission?: never | undefined;
1031
1031
  }) & {
1032
1032
  organizationId?: string | undefined;
1033
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth155.Prettify<(({
1033
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth165.Prettify<(({
1034
1034
  permission: {
1035
1035
  readonly organization?: ("delete" | "update")[] | undefined;
1036
1036
  readonly member?: ("delete" | "create" | "update")[] | undefined;
@@ -1052,7 +1052,7 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1052
1052
  organizationId?: string | undefined;
1053
1053
  }) & {
1054
1054
  fetchOptions?: FetchOptions | undefined;
1055
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<{
1055
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch96.BetterFetchResponse<{
1056
1056
  error: null;
1057
1057
  success: boolean;
1058
1058
  }, {
@@ -1062,15 +1062,15 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1062
1062
  };
1063
1063
  } & {
1064
1064
  emailOtp: {
1065
- sendVerificationOtp: <FetchOptions extends better_auth155.ClientFetchOption<Partial<{
1065
+ sendVerificationOtp: <FetchOptions extends better_auth165.ClientFetchOption<Partial<{
1066
1066
  email: string;
1067
1067
  type: "sign-in" | "email-verification" | "forget-password";
1068
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth155.Prettify<{
1068
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth165.Prettify<{
1069
1069
  email: string;
1070
1070
  type: "sign-in" | "email-verification" | "forget-password";
1071
1071
  } & {
1072
1072
  fetchOptions?: FetchOptions | undefined;
1073
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<{
1073
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch96.BetterFetchResponse<{
1074
1074
  success: boolean;
1075
1075
  }, {
1076
1076
  code?: string | undefined;
@@ -1079,17 +1079,17 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1079
1079
  };
1080
1080
  } & {
1081
1081
  emailOtp: {
1082
- checkVerificationOtp: <FetchOptions extends better_auth155.ClientFetchOption<Partial<{
1082
+ checkVerificationOtp: <FetchOptions extends better_auth165.ClientFetchOption<Partial<{
1083
1083
  email: string;
1084
1084
  type: "sign-in" | "email-verification" | "forget-password";
1085
1085
  otp: string;
1086
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth155.Prettify<{
1086
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth165.Prettify<{
1087
1087
  email: string;
1088
1088
  type: "sign-in" | "email-verification" | "forget-password";
1089
1089
  otp: string;
1090
1090
  } & {
1091
1091
  fetchOptions?: FetchOptions | undefined;
1092
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<{
1092
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch96.BetterFetchResponse<{
1093
1093
  success: boolean;
1094
1094
  }, {
1095
1095
  code?: string | undefined;
@@ -1098,15 +1098,15 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1098
1098
  };
1099
1099
  } & {
1100
1100
  emailOtp: {
1101
- verifyEmail: <FetchOptions extends better_auth155.ClientFetchOption<Partial<{
1101
+ verifyEmail: <FetchOptions extends better_auth165.ClientFetchOption<Partial<{
1102
1102
  email: string;
1103
1103
  otp: string;
1104
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth155.Prettify<{
1104
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth165.Prettify<{
1105
1105
  email: string;
1106
1106
  otp: string;
1107
1107
  } & {
1108
1108
  fetchOptions?: FetchOptions | undefined;
1109
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<NonNullable<{
1109
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch96.BetterFetchResponse<NonNullable<{
1110
1110
  status: boolean;
1111
1111
  token: string;
1112
1112
  user: {
@@ -1137,15 +1137,15 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1137
1137
  };
1138
1138
  } & {
1139
1139
  signIn: {
1140
- emailOtp: <FetchOptions extends better_auth155.ClientFetchOption<Partial<{
1140
+ emailOtp: <FetchOptions extends better_auth165.ClientFetchOption<Partial<{
1141
1141
  email: string;
1142
1142
  otp: string;
1143
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth155.Prettify<{
1143
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth165.Prettify<{
1144
1144
  email: string;
1145
1145
  otp: string;
1146
1146
  } & {
1147
1147
  fetchOptions?: FetchOptions | undefined;
1148
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<{
1148
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch96.BetterFetchResponse<{
1149
1149
  token: string;
1150
1150
  user: {
1151
1151
  id: string;
@@ -1163,13 +1163,13 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1163
1163
  };
1164
1164
  } & {
1165
1165
  emailOtp: {
1166
- requestPasswordReset: <FetchOptions extends better_auth155.ClientFetchOption<Partial<{
1166
+ requestPasswordReset: <FetchOptions extends better_auth165.ClientFetchOption<Partial<{
1167
1167
  email: string;
1168
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth155.Prettify<{
1168
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth165.Prettify<{
1169
1169
  email: string;
1170
1170
  } & {
1171
1171
  fetchOptions?: FetchOptions | undefined;
1172
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<{
1172
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch96.BetterFetchResponse<{
1173
1173
  success: boolean;
1174
1174
  }, {
1175
1175
  code?: string | undefined;
@@ -1178,13 +1178,13 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1178
1178
  };
1179
1179
  } & {
1180
1180
  forgetPassword: {
1181
- emailOtp: <FetchOptions extends better_auth155.ClientFetchOption<Partial<{
1181
+ emailOtp: <FetchOptions extends better_auth165.ClientFetchOption<Partial<{
1182
1182
  email: string;
1183
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth155.Prettify<{
1183
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth165.Prettify<{
1184
1184
  email: string;
1185
1185
  } & {
1186
1186
  fetchOptions?: FetchOptions | undefined;
1187
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<{
1187
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch96.BetterFetchResponse<{
1188
1188
  success: boolean;
1189
1189
  }, {
1190
1190
  code?: string | undefined;
@@ -1193,17 +1193,17 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1193
1193
  };
1194
1194
  } & {
1195
1195
  emailOtp: {
1196
- resetPassword: <FetchOptions extends better_auth155.ClientFetchOption<Partial<{
1196
+ resetPassword: <FetchOptions extends better_auth165.ClientFetchOption<Partial<{
1197
1197
  email: string;
1198
1198
  otp: string;
1199
1199
  password: string;
1200
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth155.Prettify<{
1200
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth165.Prettify<{
1201
1201
  email: string;
1202
1202
  otp: string;
1203
1203
  password: string;
1204
1204
  } & {
1205
1205
  fetchOptions?: FetchOptions | undefined;
1206
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<{
1206
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch96.BetterFetchResponse<{
1207
1207
  success: boolean;
1208
1208
  }, {
1209
1209
  code?: string | undefined;
@@ -1212,13 +1212,13 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1212
1212
  };
1213
1213
  } & {
1214
1214
  signIn: {
1215
- magicLink: <FetchOptions extends better_auth155.ClientFetchOption<Partial<{
1215
+ magicLink: <FetchOptions extends better_auth165.ClientFetchOption<Partial<{
1216
1216
  email: string;
1217
1217
  name?: string | undefined;
1218
1218
  callbackURL?: string | undefined;
1219
1219
  newUserCallbackURL?: string | undefined;
1220
1220
  errorCallbackURL?: string | undefined;
1221
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth155.Prettify<{
1221
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth165.Prettify<{
1222
1222
  email: string;
1223
1223
  name?: string | undefined;
1224
1224
  callbackURL?: string | undefined;
@@ -1226,7 +1226,7 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1226
1226
  errorCallbackURL?: string | undefined;
1227
1227
  } & {
1228
1228
  fetchOptions?: FetchOptions | undefined;
1229
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<{
1229
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch96.BetterFetchResponse<{
1230
1230
  status: boolean;
1231
1231
  }, {
1232
1232
  code?: string | undefined;
@@ -1235,12 +1235,12 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1235
1235
  };
1236
1236
  } & {
1237
1237
  magicLink: {
1238
- verify: <FetchOptions extends better_auth155.ClientFetchOption<never, Partial<{
1238
+ verify: <FetchOptions extends better_auth165.ClientFetchOption<never, Partial<{
1239
1239
  token: string;
1240
1240
  callbackURL?: string | undefined;
1241
1241
  errorCallbackURL?: string | undefined;
1242
1242
  newUserCallbackURL?: string | undefined;
1243
- }> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth155.Prettify<{
1243
+ }> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth165.Prettify<{
1244
1244
  query: {
1245
1245
  token: string;
1246
1246
  callbackURL?: string | undefined;
@@ -1248,7 +1248,7 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1248
1248
  newUserCallbackURL?: string | undefined;
1249
1249
  };
1250
1250
  fetchOptions?: FetchOptions | undefined;
1251
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<{
1251
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch96.BetterFetchResponse<{
1252
1252
  token: string;
1253
1253
  user: {
1254
1254
  id: string;
@@ -1266,7 +1266,111 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1266
1266
  };
1267
1267
  } & {
1268
1268
  signIn: {
1269
- social: <FetchOptions extends better_auth155.ClientFetchOption<Partial<{
1269
+ phoneNumber: <FetchOptions extends better_auth165.ClientFetchOption<Partial<{
1270
+ phoneNumber: string;
1271
+ password: string;
1272
+ rememberMe?: boolean | undefined;
1273
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth165.Prettify<{
1274
+ phoneNumber: string;
1275
+ password: string;
1276
+ rememberMe?: boolean | undefined;
1277
+ } & {
1278
+ fetchOptions?: FetchOptions | undefined;
1279
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch96.BetterFetchResponse<{
1280
+ token: string;
1281
+ user: better_auth_plugins24.UserWithPhoneNumber;
1282
+ }, {
1283
+ code?: string | undefined;
1284
+ message?: string | undefined;
1285
+ }, FetchOptions["throw"] extends true ? true : false>>;
1286
+ };
1287
+ } & {
1288
+ phoneNumber: {
1289
+ sendOtp: <FetchOptions extends better_auth165.ClientFetchOption<Partial<{
1290
+ phoneNumber: string;
1291
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth165.Prettify<{
1292
+ phoneNumber: string;
1293
+ } & {
1294
+ fetchOptions?: FetchOptions | undefined;
1295
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch96.BetterFetchResponse<{
1296
+ message: string;
1297
+ }, {
1298
+ code?: string | undefined;
1299
+ message?: string | undefined;
1300
+ }, FetchOptions["throw"] extends true ? true : false>>;
1301
+ };
1302
+ } & {
1303
+ phoneNumber: {
1304
+ verify: <FetchOptions extends better_auth165.ClientFetchOption<Partial<{
1305
+ phoneNumber: string;
1306
+ code: string;
1307
+ disableSession?: boolean | undefined;
1308
+ updatePhoneNumber?: boolean | undefined;
1309
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth165.Prettify<{
1310
+ phoneNumber: string;
1311
+ code: string;
1312
+ disableSession?: boolean | undefined;
1313
+ updatePhoneNumber?: boolean | undefined;
1314
+ } & {
1315
+ fetchOptions?: FetchOptions | undefined;
1316
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch96.BetterFetchResponse<NonNullable<{
1317
+ status: boolean;
1318
+ token: string;
1319
+ user: {
1320
+ id: string;
1321
+ createdAt: Date;
1322
+ updatedAt: Date;
1323
+ email: string;
1324
+ emailVerified: boolean;
1325
+ name: string;
1326
+ image?: string | null | undefined;
1327
+ } & better_auth_plugins24.UserWithPhoneNumber;
1328
+ } | {
1329
+ status: boolean;
1330
+ token: null;
1331
+ user: better_auth_plugins24.UserWithPhoneNumber;
1332
+ }>, {
1333
+ code?: string | undefined;
1334
+ message?: string | undefined;
1335
+ }, FetchOptions["throw"] extends true ? true : false>>;
1336
+ };
1337
+ } & {
1338
+ phoneNumber: {
1339
+ requestPasswordReset: <FetchOptions extends better_auth165.ClientFetchOption<Partial<{
1340
+ phoneNumber: string;
1341
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth165.Prettify<{
1342
+ phoneNumber: string;
1343
+ } & {
1344
+ fetchOptions?: FetchOptions | undefined;
1345
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch96.BetterFetchResponse<{
1346
+ status: boolean;
1347
+ }, {
1348
+ code?: string | undefined;
1349
+ message?: string | undefined;
1350
+ }, FetchOptions["throw"] extends true ? true : false>>;
1351
+ };
1352
+ } & {
1353
+ phoneNumber: {
1354
+ resetPassword: <FetchOptions extends better_auth165.ClientFetchOption<Partial<{
1355
+ otp: string;
1356
+ phoneNumber: string;
1357
+ newPassword: string;
1358
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth165.Prettify<{
1359
+ otp: string;
1360
+ phoneNumber: string;
1361
+ newPassword: string;
1362
+ } & {
1363
+ fetchOptions?: FetchOptions | undefined;
1364
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch96.BetterFetchResponse<{
1365
+ status: boolean;
1366
+ }, {
1367
+ code?: string | undefined;
1368
+ message?: string | undefined;
1369
+ }, FetchOptions["throw"] extends true ? true : false>>;
1370
+ };
1371
+ } & {
1372
+ signIn: {
1373
+ social: <FetchOptions extends better_auth165.ClientFetchOption<Partial<{
1270
1374
  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";
1271
1375
  callbackURL?: string | undefined;
1272
1376
  newUserCallbackURL?: string | undefined;
@@ -1283,7 +1387,7 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1283
1387
  requestSignUp?: boolean | undefined;
1284
1388
  loginHint?: string | undefined;
1285
1389
  additionalData?: Record<string, any> | undefined;
1286
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth155.Prettify<{
1390
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth165.Prettify<{
1287
1391
  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";
1288
1392
  callbackURL?: string | undefined;
1289
1393
  newUserCallbackURL?: string | undefined;
@@ -1302,7 +1406,7 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1302
1406
  additionalData?: Record<string, any> | undefined;
1303
1407
  } & {
1304
1408
  fetchOptions?: FetchOptions | undefined;
1305
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<NonNullable<{
1409
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch96.BetterFetchResponse<NonNullable<{
1306
1410
  redirect: boolean;
1307
1411
  url: string;
1308
1412
  } | {
@@ -1324,10 +1428,10 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1324
1428
  }, FetchOptions["throw"] extends true ? true : false>>;
1325
1429
  };
1326
1430
  } & {
1327
- signOut: <FetchOptions extends better_auth155.ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth155.Prettify<{
1431
+ signOut: <FetchOptions extends better_auth165.ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth165.Prettify<{
1328
1432
  query?: Record<string, any> | undefined;
1329
1433
  fetchOptions?: FetchOptions | undefined;
1330
- }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<{
1434
+ }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch96.BetterFetchResponse<{
1331
1435
  success: boolean;
1332
1436
  }, {
1333
1437
  code?: string | undefined;
@@ -1335,21 +1439,23 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1335
1439
  }, FetchOptions["throw"] extends true ? true : false>>;
1336
1440
  } & {
1337
1441
  signUp: {
1338
- email: <FetchOptions extends better_auth155.ClientFetchOption<Partial<{
1442
+ email: <FetchOptions extends better_auth165.ClientFetchOption<Partial<{
1339
1443
  name: string;
1340
1444
  email: string;
1341
1445
  password: string;
1342
1446
  image?: string | undefined;
1343
1447
  callbackURL?: string | undefined;
1344
1448
  rememberMe?: boolean | undefined;
1345
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth155.Prettify<{
1449
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth165.Prettify<{
1346
1450
  email: string;
1347
1451
  name: string;
1348
1452
  password: string;
1349
1453
  image?: string | undefined;
1350
1454
  callbackURL?: string | undefined;
1351
1455
  fetchOptions?: FetchOptions | undefined;
1352
- } & {} & {}>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<NonNullable<{
1456
+ } & {} & {} & {} & {
1457
+ phoneNumber?: string | null | undefined;
1458
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch96.BetterFetchResponse<NonNullable<{
1353
1459
  token: null;
1354
1460
  user: {
1355
1461
  id: string;
@@ -1378,19 +1484,19 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1378
1484
  };
1379
1485
  } & {
1380
1486
  signIn: {
1381
- email: <FetchOptions extends better_auth155.ClientFetchOption<Partial<{
1487
+ email: <FetchOptions extends better_auth165.ClientFetchOption<Partial<{
1382
1488
  email: string;
1383
1489
  password: string;
1384
1490
  callbackURL?: string | undefined;
1385
1491
  rememberMe?: boolean | undefined;
1386
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth155.Prettify<{
1492
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth165.Prettify<{
1387
1493
  email: string;
1388
1494
  password: string;
1389
1495
  callbackURL?: string | undefined;
1390
1496
  rememberMe?: boolean | undefined;
1391
1497
  } & {
1392
1498
  fetchOptions?: FetchOptions | undefined;
1393
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<{
1499
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch96.BetterFetchResponse<{
1394
1500
  redirect: boolean;
1395
1501
  token: string;
1396
1502
  url?: string | undefined;
@@ -1409,80 +1515,80 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1409
1515
  }, FetchOptions["throw"] extends true ? true : false>>;
1410
1516
  };
1411
1517
  } & {
1412
- resetPassword: <FetchOptions extends better_auth155.ClientFetchOption<Partial<{
1518
+ resetPassword: <FetchOptions extends better_auth165.ClientFetchOption<Partial<{
1413
1519
  newPassword: string;
1414
1520
  token?: string | undefined;
1415
1521
  }> & Record<string, any>, Partial<{
1416
1522
  token?: string | undefined;
1417
- }> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth155.Prettify<{
1523
+ }> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth165.Prettify<{
1418
1524
  newPassword: string;
1419
1525
  token?: string | undefined;
1420
1526
  } & {
1421
1527
  fetchOptions?: FetchOptions | undefined;
1422
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<{
1528
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch96.BetterFetchResponse<{
1423
1529
  status: boolean;
1424
1530
  }, {
1425
1531
  code?: string | undefined;
1426
1532
  message?: string | undefined;
1427
1533
  }, FetchOptions["throw"] extends true ? true : false>>;
1428
1534
  } & {
1429
- verifyEmail: <FetchOptions extends better_auth155.ClientFetchOption<never, Partial<{
1535
+ verifyEmail: <FetchOptions extends better_auth165.ClientFetchOption<never, Partial<{
1430
1536
  token: string;
1431
1537
  callbackURL?: string | undefined;
1432
- }> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth155.Prettify<{
1538
+ }> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth165.Prettify<{
1433
1539
  query: {
1434
1540
  token: string;
1435
1541
  callbackURL?: string | undefined;
1436
1542
  };
1437
1543
  fetchOptions?: FetchOptions | undefined;
1438
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<NonNullable<void | {
1544
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch96.BetterFetchResponse<NonNullable<void | {
1439
1545
  status: boolean;
1440
1546
  }>, {
1441
1547
  code?: string | undefined;
1442
1548
  message?: string | undefined;
1443
1549
  }, FetchOptions["throw"] extends true ? true : false>>;
1444
1550
  } & {
1445
- sendVerificationEmail: <FetchOptions extends better_auth155.ClientFetchOption<Partial<{
1551
+ sendVerificationEmail: <FetchOptions extends better_auth165.ClientFetchOption<Partial<{
1446
1552
  email: string;
1447
1553
  callbackURL?: string | undefined;
1448
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth155.Prettify<{
1554
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth165.Prettify<{
1449
1555
  email: string;
1450
1556
  callbackURL?: string | undefined;
1451
1557
  } & {
1452
1558
  fetchOptions?: FetchOptions | undefined;
1453
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<{
1559
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch96.BetterFetchResponse<{
1454
1560
  status: boolean;
1455
1561
  }, {
1456
1562
  code?: string | undefined;
1457
1563
  message?: string | undefined;
1458
1564
  }, FetchOptions["throw"] extends true ? true : false>>;
1459
1565
  } & {
1460
- changeEmail: <FetchOptions extends better_auth155.ClientFetchOption<Partial<{
1566
+ changeEmail: <FetchOptions extends better_auth165.ClientFetchOption<Partial<{
1461
1567
  newEmail: string;
1462
1568
  callbackURL?: string | undefined;
1463
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth155.Prettify<{
1569
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth165.Prettify<{
1464
1570
  newEmail: string;
1465
1571
  callbackURL?: string | undefined;
1466
1572
  } & {
1467
1573
  fetchOptions?: FetchOptions | undefined;
1468
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<{
1574
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch96.BetterFetchResponse<{
1469
1575
  status: boolean;
1470
1576
  }, {
1471
1577
  code?: string | undefined;
1472
1578
  message?: string | undefined;
1473
1579
  }, FetchOptions["throw"] extends true ? true : false>>;
1474
1580
  } & {
1475
- changePassword: <FetchOptions extends better_auth155.ClientFetchOption<Partial<{
1581
+ changePassword: <FetchOptions extends better_auth165.ClientFetchOption<Partial<{
1476
1582
  newPassword: string;
1477
1583
  currentPassword: string;
1478
1584
  revokeOtherSessions?: boolean | undefined;
1479
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth155.Prettify<{
1585
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth165.Prettify<{
1480
1586
  newPassword: string;
1481
1587
  currentPassword: string;
1482
1588
  revokeOtherSessions?: boolean | undefined;
1483
1589
  } & {
1484
1590
  fetchOptions?: FetchOptions | undefined;
1485
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<{
1591
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch96.BetterFetchResponse<{
1486
1592
  token: string | null;
1487
1593
  user: {
1488
1594
  id: string;
@@ -1498,31 +1604,33 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1498
1604
  message?: string | undefined;
1499
1605
  }, FetchOptions["throw"] extends true ? true : false>>;
1500
1606
  } & {
1501
- updateUser: <FetchOptions extends better_auth155.ClientFetchOption<Partial<Partial<{}> & {
1607
+ updateUser: <FetchOptions extends better_auth165.ClientFetchOption<Partial<Partial<{}> & {
1502
1608
  name?: string | undefined;
1503
1609
  image?: string | undefined | null;
1504
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth155.Prettify<{
1610
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth165.Prettify<{
1505
1611
  image?: (string | null) | undefined;
1506
1612
  name?: string | undefined;
1507
1613
  fetchOptions?: FetchOptions | undefined;
1508
- } & Partial<{} & {}>> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<{
1614
+ } & Partial<{} & {} & {} & {
1615
+ phoneNumber?: string | null | undefined;
1616
+ }>> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch96.BetterFetchResponse<{
1509
1617
  status: boolean;
1510
1618
  }, {
1511
1619
  code?: string | undefined;
1512
1620
  message?: string | undefined;
1513
1621
  }, FetchOptions["throw"] extends true ? true : false>>;
1514
1622
  } & {
1515
- deleteUser: <FetchOptions extends better_auth155.ClientFetchOption<Partial<{
1623
+ deleteUser: <FetchOptions extends better_auth165.ClientFetchOption<Partial<{
1516
1624
  callbackURL?: string | undefined;
1517
1625
  password?: string | undefined;
1518
1626
  token?: string | undefined;
1519
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth155.Prettify<{
1627
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth165.Prettify<{
1520
1628
  callbackURL?: string | undefined;
1521
1629
  password?: string | undefined;
1522
1630
  token?: string | undefined;
1523
1631
  } & {
1524
1632
  fetchOptions?: FetchOptions | undefined;
1525
- }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<{
1633
+ }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch96.BetterFetchResponse<{
1526
1634
  success: boolean;
1527
1635
  message: string;
1528
1636
  }, {
@@ -1530,15 +1638,15 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1530
1638
  message?: string | undefined;
1531
1639
  }, FetchOptions["throw"] extends true ? true : false>>;
1532
1640
  } & {
1533
- requestPasswordReset: <FetchOptions extends better_auth155.ClientFetchOption<Partial<{
1641
+ requestPasswordReset: <FetchOptions extends better_auth165.ClientFetchOption<Partial<{
1534
1642
  email: string;
1535
1643
  redirectTo?: string | undefined;
1536
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth155.Prettify<{
1644
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth165.Prettify<{
1537
1645
  email: string;
1538
1646
  redirectTo?: string | undefined;
1539
1647
  } & {
1540
1648
  fetchOptions?: FetchOptions | undefined;
1541
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<{
1649
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch96.BetterFetchResponse<{
1542
1650
  status: boolean;
1543
1651
  message: string;
1544
1652
  }, {
@@ -1547,25 +1655,25 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1547
1655
  }, FetchOptions["throw"] extends true ? true : false>>;
1548
1656
  } & {
1549
1657
  resetPassword: {
1550
- ":token": <FetchOptions extends better_auth155.ClientFetchOption<never, Partial<{
1658
+ ":token": <FetchOptions extends better_auth165.ClientFetchOption<never, Partial<{
1551
1659
  callbackURL: string;
1552
1660
  }> & Record<string, any>, {
1553
1661
  token: string;
1554
- }>>(data_0: better_auth155.Prettify<{
1662
+ }>>(data_0: better_auth165.Prettify<{
1555
1663
  query: {
1556
1664
  callbackURL: string;
1557
1665
  };
1558
1666
  fetchOptions?: FetchOptions | undefined;
1559
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<never, {
1667
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch96.BetterFetchResponse<never, {
1560
1668
  code?: string | undefined;
1561
1669
  message?: string | undefined;
1562
1670
  }, FetchOptions["throw"] extends true ? true : false>>;
1563
1671
  };
1564
1672
  } & {
1565
- listSessions: <FetchOptions extends better_auth155.ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth155.Prettify<{
1673
+ listSessions: <FetchOptions extends better_auth165.ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth165.Prettify<{
1566
1674
  query?: Record<string, any> | undefined;
1567
1675
  fetchOptions?: FetchOptions | undefined;
1568
- }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<better_auth155.Prettify<{
1676
+ }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch96.BetterFetchResponse<better_auth165.Prettify<{
1569
1677
  id: string;
1570
1678
  createdAt: Date;
1571
1679
  updatedAt: Date;
@@ -1579,40 +1687,40 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1579
1687
  message?: string | undefined;
1580
1688
  }, FetchOptions["throw"] extends true ? true : false>>;
1581
1689
  } & {
1582
- revokeSession: <FetchOptions extends better_auth155.ClientFetchOption<Partial<{
1690
+ revokeSession: <FetchOptions extends better_auth165.ClientFetchOption<Partial<{
1583
1691
  token: string;
1584
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth155.Prettify<{
1692
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth165.Prettify<{
1585
1693
  token: string;
1586
1694
  } & {
1587
1695
  fetchOptions?: FetchOptions | undefined;
1588
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<{
1696
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch96.BetterFetchResponse<{
1589
1697
  status: boolean;
1590
1698
  }, {
1591
1699
  code?: string | undefined;
1592
1700
  message?: string | undefined;
1593
1701
  }, FetchOptions["throw"] extends true ? true : false>>;
1594
1702
  } & {
1595
- revokeSessions: <FetchOptions extends better_auth155.ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth155.Prettify<{
1703
+ revokeSessions: <FetchOptions extends better_auth165.ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth165.Prettify<{
1596
1704
  query?: Record<string, any> | undefined;
1597
1705
  fetchOptions?: FetchOptions | undefined;
1598
- }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<{
1706
+ }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch96.BetterFetchResponse<{
1599
1707
  status: boolean;
1600
1708
  }, {
1601
1709
  code?: string | undefined;
1602
1710
  message?: string | undefined;
1603
1711
  }, FetchOptions["throw"] extends true ? true : false>>;
1604
1712
  } & {
1605
- revokeOtherSessions: <FetchOptions extends better_auth155.ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth155.Prettify<{
1713
+ revokeOtherSessions: <FetchOptions extends better_auth165.ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth165.Prettify<{
1606
1714
  query?: Record<string, any> | undefined;
1607
1715
  fetchOptions?: FetchOptions | undefined;
1608
- }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<{
1716
+ }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch96.BetterFetchResponse<{
1609
1717
  status: boolean;
1610
1718
  }, {
1611
1719
  code?: string | undefined;
1612
1720
  message?: string | undefined;
1613
1721
  }, FetchOptions["throw"] extends true ? true : false>>;
1614
1722
  } & {
1615
- linkSocial: <FetchOptions extends better_auth155.ClientFetchOption<Partial<{
1723
+ linkSocial: <FetchOptions extends better_auth165.ClientFetchOption<Partial<{
1616
1724
  provider: unknown;
1617
1725
  callbackURL?: string | undefined;
1618
1726
  idToken?: {
@@ -1627,7 +1735,7 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1627
1735
  errorCallbackURL?: string | undefined;
1628
1736
  disableRedirect?: boolean | undefined;
1629
1737
  additionalData?: Record<string, any> | undefined;
1630
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth155.Prettify<{
1738
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth165.Prettify<{
1631
1739
  provider: unknown;
1632
1740
  callbackURL?: string | undefined;
1633
1741
  idToken?: {
@@ -1644,7 +1752,7 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1644
1752
  additionalData?: Record<string, any> | undefined;
1645
1753
  } & {
1646
1754
  fetchOptions?: FetchOptions | undefined;
1647
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<{
1755
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch96.BetterFetchResponse<{
1648
1756
  url: string;
1649
1757
  redirect: boolean;
1650
1758
  }, {
@@ -1652,10 +1760,10 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1652
1760
  message?: string | undefined;
1653
1761
  }, FetchOptions["throw"] extends true ? true : false>>;
1654
1762
  } & {
1655
- listAccounts: <FetchOptions extends better_auth155.ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth155.Prettify<{
1763
+ listAccounts: <FetchOptions extends better_auth165.ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth165.Prettify<{
1656
1764
  query?: Record<string, any> | undefined;
1657
1765
  fetchOptions?: FetchOptions | undefined;
1658
- }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<{
1766
+ }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch96.BetterFetchResponse<{
1659
1767
  scopes: string[];
1660
1768
  id: string;
1661
1769
  createdAt: Date;
@@ -1669,16 +1777,16 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1669
1777
  }, FetchOptions["throw"] extends true ? true : false>>;
1670
1778
  } & {
1671
1779
  deleteUser: {
1672
- callback: <FetchOptions extends better_auth155.ClientFetchOption<never, Partial<{
1780
+ callback: <FetchOptions extends better_auth165.ClientFetchOption<never, Partial<{
1673
1781
  token: string;
1674
1782
  callbackURL?: string | undefined;
1675
- }> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth155.Prettify<{
1783
+ }> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth165.Prettify<{
1676
1784
  query: {
1677
1785
  token: string;
1678
1786
  callbackURL?: string | undefined;
1679
1787
  };
1680
1788
  fetchOptions?: FetchOptions | undefined;
1681
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<{
1789
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch96.BetterFetchResponse<{
1682
1790
  success: boolean;
1683
1791
  message: string;
1684
1792
  }, {
@@ -1687,32 +1795,32 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1687
1795
  }, FetchOptions["throw"] extends true ? true : false>>;
1688
1796
  };
1689
1797
  } & {
1690
- unlinkAccount: <FetchOptions extends better_auth155.ClientFetchOption<Partial<{
1798
+ unlinkAccount: <FetchOptions extends better_auth165.ClientFetchOption<Partial<{
1691
1799
  providerId: string;
1692
1800
  accountId?: string | undefined;
1693
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth155.Prettify<{
1801
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth165.Prettify<{
1694
1802
  providerId: string;
1695
1803
  accountId?: string | undefined;
1696
1804
  } & {
1697
1805
  fetchOptions?: FetchOptions | undefined;
1698
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<{
1806
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch96.BetterFetchResponse<{
1699
1807
  status: boolean;
1700
1808
  }, {
1701
1809
  code?: string | undefined;
1702
1810
  message?: string | undefined;
1703
1811
  }, FetchOptions["throw"] extends true ? true : false>>;
1704
1812
  } & {
1705
- refreshToken: <FetchOptions extends better_auth155.ClientFetchOption<Partial<{
1813
+ refreshToken: <FetchOptions extends better_auth165.ClientFetchOption<Partial<{
1706
1814
  providerId: string;
1707
1815
  accountId?: string | undefined;
1708
1816
  userId?: string | undefined;
1709
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth155.Prettify<{
1817
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth165.Prettify<{
1710
1818
  providerId: string;
1711
1819
  accountId?: string | undefined;
1712
1820
  userId?: string | undefined;
1713
1821
  } & {
1714
1822
  fetchOptions?: FetchOptions | undefined;
1715
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<{
1823
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch96.BetterFetchResponse<{
1716
1824
  accessToken: string | undefined;
1717
1825
  refreshToken: string | undefined;
1718
1826
  accessTokenExpiresAt: Date | undefined;
@@ -1726,17 +1834,17 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1726
1834
  message?: string | undefined;
1727
1835
  }, FetchOptions["throw"] extends true ? true : false>>;
1728
1836
  } & {
1729
- getAccessToken: <FetchOptions extends better_auth155.ClientFetchOption<Partial<{
1837
+ getAccessToken: <FetchOptions extends better_auth165.ClientFetchOption<Partial<{
1730
1838
  providerId: string;
1731
1839
  accountId?: string | undefined;
1732
1840
  userId?: string | undefined;
1733
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth155.Prettify<{
1841
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth165.Prettify<{
1734
1842
  providerId: string;
1735
1843
  accountId?: string | undefined;
1736
1844
  userId?: string | undefined;
1737
1845
  } & {
1738
1846
  fetchOptions?: FetchOptions | undefined;
1739
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<{
1847
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch96.BetterFetchResponse<{
1740
1848
  accessToken: string;
1741
1849
  accessTokenExpiresAt: Date | undefined;
1742
1850
  scopes: string[];
@@ -1746,31 +1854,31 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1746
1854
  message?: string | undefined;
1747
1855
  }, FetchOptions["throw"] extends true ? true : false>>;
1748
1856
  } & {
1749
- accountInfo: <FetchOptions extends better_auth155.ClientFetchOption<never, Partial<{
1857
+ accountInfo: <FetchOptions extends better_auth165.ClientFetchOption<never, Partial<{
1750
1858
  accountId?: string | undefined;
1751
- }> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth155.Prettify<{
1859
+ }> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth165.Prettify<{
1752
1860
  query?: {
1753
1861
  accountId?: string | undefined;
1754
1862
  } | undefined;
1755
1863
  fetchOptions?: FetchOptions | undefined;
1756
- }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<{
1757
- user: better_auth155.OAuth2UserInfo;
1864
+ }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch96.BetterFetchResponse<{
1865
+ user: better_auth165.OAuth2UserInfo;
1758
1866
  data: Record<string, any>;
1759
1867
  }, {
1760
1868
  code?: string | undefined;
1761
1869
  message?: string | undefined;
1762
1870
  }, FetchOptions["throw"] extends true ? true : false>>;
1763
1871
  } & {
1764
- getSession: <FetchOptions extends better_auth155.ClientFetchOption<never, Partial<{
1872
+ getSession: <FetchOptions extends better_auth165.ClientFetchOption<never, Partial<{
1765
1873
  disableCookieCache?: unknown;
1766
1874
  disableRefresh?: unknown;
1767
- }> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth155.Prettify<{
1875
+ }> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth165.Prettify<{
1768
1876
  query?: {
1769
1877
  disableCookieCache?: unknown;
1770
1878
  disableRefresh?: unknown;
1771
1879
  } | undefined;
1772
1880
  fetchOptions?: FetchOptions | undefined;
1773
- }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<{
1881
+ }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch96.BetterFetchResponse<{
1774
1882
  user: {
1775
1883
  id: string;
1776
1884
  createdAt: Date;
@@ -1783,6 +1891,8 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1783
1891
  role?: string | null | undefined;
1784
1892
  banReason?: string | null | undefined;
1785
1893
  banExpires?: Date | null | undefined;
1894
+ phoneNumber?: string | null | undefined;
1895
+ phoneNumberVerified?: boolean | null | undefined;
1786
1896
  };
1787
1897
  session: {
1788
1898
  id: string;
@@ -1866,7 +1976,7 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1866
1976
  organizationId: string;
1867
1977
  email: string;
1868
1978
  role: "admin" | "member" | "owner";
1869
- status: better_auth_plugins21.InvitationStatus;
1979
+ status: better_auth_plugins24.InvitationStatus;
1870
1980
  inviterId: string;
1871
1981
  expiresAt: Date;
1872
1982
  createdAt: Date;
@@ -1892,7 +2002,7 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1892
2002
  organizationId: string;
1893
2003
  email: string;
1894
2004
  role: "admin" | "member" | "owner";
1895
- status: better_auth_plugins21.InvitationStatus;
2005
+ status: better_auth_plugins24.InvitationStatus;
1896
2006
  inviterId: string;
1897
2007
  expiresAt: Date;
1898
2008
  createdAt: Date;
@@ -1956,6 +2066,8 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1956
2066
  role?: string | null | undefined;
1957
2067
  banReason?: string | null | undefined;
1958
2068
  banExpires?: Date | null | undefined;
2069
+ phoneNumber?: string | null | undefined;
2070
+ phoneNumberVerified?: boolean | null | undefined;
1959
2071
  };
1960
2072
  session: {
1961
2073
  id: string;
@@ -1970,28 +2082,28 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
1970
2082
  activeOrganizationId?: string | null | undefined;
1971
2083
  };
1972
2084
  } | null;
1973
- error: _better_fetch_fetch91.BetterFetchError | null;
2085
+ error: _better_fetch_fetch96.BetterFetchError | null;
1974
2086
  isPending: boolean;
1975
2087
  isRefetching: boolean;
1976
2088
  refetch: (queryParams?: {
1977
- query?: better_auth155.SessionQueryParams;
2089
+ query?: better_auth165.SessionQueryParams;
1978
2090
  } | undefined) => Promise<void>;
1979
2091
  }>;
1980
- $fetch: _better_fetch_fetch91.BetterFetch<{
1981
- plugins: (_better_fetch_fetch91.BetterFetchPlugin<Record<string, any>> | {
2092
+ $fetch: _better_fetch_fetch96.BetterFetch<{
2093
+ plugins: (_better_fetch_fetch96.BetterFetchPlugin<Record<string, any>> | {
1982
2094
  id: string;
1983
2095
  name: string;
1984
2096
  hooks: {
1985
- onSuccess(context: _better_fetch_fetch91.SuccessContext<any>): void;
2097
+ onSuccess(context: _better_fetch_fetch96.SuccessContext<any>): void;
1986
2098
  };
1987
2099
  } | {
1988
2100
  id: string;
1989
2101
  name: string;
1990
2102
  hooks: {
1991
- onSuccess: ((context: _better_fetch_fetch91.SuccessContext<any>) => Promise<void> | void) | undefined;
1992
- onError: ((context: _better_fetch_fetch91.ErrorContext) => Promise<void> | void) | undefined;
1993
- onRequest: (<T extends Record<string, any>>(context: _better_fetch_fetch91.RequestContext<T>) => Promise<_better_fetch_fetch91.RequestContext | void> | _better_fetch_fetch91.RequestContext | void) | undefined;
1994
- onResponse: ((context: _better_fetch_fetch91.ResponseContext) => Promise<Response | void | _better_fetch_fetch91.ResponseContext> | Response | _better_fetch_fetch91.ResponseContext | void) | undefined;
2103
+ onSuccess: ((context: _better_fetch_fetch96.SuccessContext<any>) => Promise<void> | void) | undefined;
2104
+ onError: ((context: _better_fetch_fetch96.ErrorContext) => Promise<void> | void) | undefined;
2105
+ onRequest: (<T extends Record<string, any>>(context: _better_fetch_fetch96.RequestContext<T>) => Promise<_better_fetch_fetch96.RequestContext | void> | _better_fetch_fetch96.RequestContext | void) | undefined;
2106
+ onResponse: ((context: _better_fetch_fetch96.ResponseContext) => Promise<Response | void | _better_fetch_fetch96.ResponseContext> | Response | _better_fetch_fetch96.ResponseContext | void) | undefined;
1995
2107
  };
1996
2108
  })[];
1997
2109
  cache?: RequestCache | undefined;
@@ -2011,12 +2123,12 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
2011
2123
  referrer?: string | undefined;
2012
2124
  referrerPolicy?: ReferrerPolicy | undefined;
2013
2125
  signal?: (AbortSignal | null) | undefined;
2014
- onRetry?: ((response: _better_fetch_fetch91.ResponseContext) => Promise<void> | void) | undefined;
2126
+ onRetry?: ((response: _better_fetch_fetch96.ResponseContext) => Promise<void> | void) | undefined;
2015
2127
  hookOptions?: {
2016
2128
  cloneResponse?: boolean;
2017
2129
  } | undefined;
2018
2130
  timeout?: number | undefined;
2019
- customFetchImpl: _better_fetch_fetch91.FetchEsque;
2131
+ customFetchImpl: _better_fetch_fetch96.FetchEsque;
2020
2132
  baseURL: string;
2021
2133
  throw?: boolean | undefined;
2022
2134
  auth?: ({
@@ -2036,10 +2148,10 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
2036
2148
  params?: any;
2037
2149
  duplex?: "full" | "half" | undefined;
2038
2150
  jsonParser: (text: string) => Promise<any> | any;
2039
- retry?: _better_fetch_fetch91.RetryOptions | undefined;
2151
+ retry?: _better_fetch_fetch96.RetryOptions | undefined;
2040
2152
  retryAttempt?: number | undefined;
2041
- output?: (_better_fetch_fetch91.StandardSchemaV1 | typeof Blob | typeof File) | undefined;
2042
- errorSchema?: _better_fetch_fetch91.StandardSchemaV1 | undefined;
2153
+ output?: (_better_fetch_fetch96.StandardSchemaV1 | typeof Blob | typeof File) | undefined;
2154
+ errorSchema?: _better_fetch_fetch96.StandardSchemaV1 | undefined;
2043
2155
  disableValidation?: boolean | undefined;
2044
2156
  disableSignal?: boolean | undefined;
2045
2157
  }, unknown, unknown, {}>;
@@ -2062,6 +2174,8 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
2062
2174
  role?: string | null | undefined;
2063
2175
  banReason?: string | null | undefined;
2064
2176
  banExpires?: Date | null | undefined;
2177
+ phoneNumber?: string | null | undefined;
2178
+ phoneNumberVerified?: boolean | null | undefined;
2065
2179
  };
2066
2180
  session: {
2067
2181
  id: string;
@@ -2158,6 +2272,15 @@ declare class BetterAuthVanillaAdapterImpl extends NeonAuthAdapterCore {
2158
2272
  readonly OTP_EXPIRED: "OTP expired";
2159
2273
  readonly INVALID_OTP: "Invalid OTP";
2160
2274
  readonly TOO_MANY_ATTEMPTS: "Too many attempts";
2275
+ readonly INVALID_PHONE_NUMBER: "Invalid phone number";
2276
+ readonly PHONE_NUMBER_EXIST: "Phone number already exists";
2277
+ readonly PHONE_NUMBER_NOT_EXIST: "phone number isn't registered";
2278
+ readonly INVALID_PHONE_NUMBER_OR_PASSWORD: "Invalid phone number or password";
2279
+ readonly UNEXPECTED_ERROR: "Unexpected error";
2280
+ readonly OTP_NOT_FOUND: "OTP not found";
2281
+ readonly PHONE_NUMBER_NOT_VERIFIED: "Phone number not verified";
2282
+ readonly PHONE_NUMBER_CANNOT_BE_UPDATED: "Phone number cannot be updated";
2283
+ readonly SEND_OTP_NOT_IMPLEMENTED: "sendOTP not implemented";
2161
2284
  readonly USER_NOT_FOUND: "User not found";
2162
2285
  readonly FAILED_TO_CREATE_SESSION: "Failed to create session";
2163
2286
  readonly FAILED_TO_UPDATE_USER: "Failed to update user";