@neondatabase/auth 0.4.0-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,9 +1,9 @@
1
- import { n as NeonAuthAdapterCoreAuthOptions, t as NeonAuthAdapterCore } from "./adapter-core-BWM7cWOp.mjs";
2
- import * as better_auth_react0 from "better-auth/react";
3
- import * as jose0 from "jose";
4
- import * as better_auth_plugins21 from "better-auth/plugins";
5
- import * as better_auth155 from "better-auth";
6
- import * as _better_fetch_fetch91 from "@better-fetch/fetch";
1
+ import { n as NeonAuthAdapterCoreAuthOptions, t as NeonAuthAdapterCore } from "./adapter-core-BiYHR4I-.mjs";
2
+ import * as better_auth_react6 from "better-auth/react";
3
+ import * as jose6 from "jose";
4
+ import * as better_auth_plugins93 from "better-auth/plugins";
5
+ import * as better_auth458 from "better-auth";
6
+ import * as _better_fetch_fetch193 from "@better-fetch/fetch";
7
7
 
8
8
  //#region src/adapters/better-auth-react/better-auth-react-adapter.d.ts
9
9
  type BetterAuthReactAdapterOptions = Omit<NeonAuthAdapterCoreAuthOptions, 'baseURL'>;
@@ -15,7 +15,7 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
15
15
  constructor(betterAuthClientOptions: NeonAuthAdapterCoreAuthOptions);
16
16
  getBetterAuthInstance(): {
17
17
  useActiveOrganization: () => {
18
- data: better_auth155.Prettify<{
18
+ data: better_auth458.Prettify<{
19
19
  id: string;
20
20
  name: string;
21
21
  slug: string;
@@ -41,17 +41,17 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
41
41
  organizationId: string;
42
42
  email: string;
43
43
  role: "admin" | "member" | "owner";
44
- status: better_auth_plugins21.InvitationStatus;
44
+ status: better_auth_plugins93.InvitationStatus;
45
45
  inviterId: string;
46
46
  expiresAt: Date;
47
47
  createdAt: Date;
48
48
  }[];
49
49
  }> | null;
50
- error: null | _better_fetch_fetch91.BetterFetchError;
50
+ error: null | _better_fetch_fetch193.BetterFetchError;
51
51
  isPending: boolean;
52
52
  isRefetching: boolean;
53
53
  refetch: (queryParams?: {
54
- query?: better_auth155.SessionQueryParams;
54
+ query?: better_auth458.SessionQueryParams;
55
55
  } | undefined) => Promise<void>;
56
56
  };
57
57
  useListOrganizations: () => {
@@ -63,11 +63,11 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
63
63
  logo?: string | null | undefined | undefined;
64
64
  metadata?: any;
65
65
  }[] | null;
66
- error: null | _better_fetch_fetch91.BetterFetchError;
66
+ error: null | _better_fetch_fetch193.BetterFetchError;
67
67
  isPending: boolean;
68
68
  isRefetching: boolean;
69
69
  refetch: (queryParams?: {
70
- query?: better_auth155.SessionQueryParams;
70
+ query?: better_auth458.SessionQueryParams;
71
71
  } | undefined) => Promise<void>;
72
72
  };
73
73
  useActiveMember: () => {
@@ -78,29 +78,29 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
78
78
  role: string;
79
79
  createdAt: Date;
80
80
  } | null;
81
- error: null | _better_fetch_fetch91.BetterFetchError;
81
+ error: null | _better_fetch_fetch193.BetterFetchError;
82
82
  isPending: boolean;
83
83
  isRefetching: boolean;
84
84
  refetch: (queryParams?: {
85
- query?: better_auth155.SessionQueryParams;
85
+ query?: better_auth458.SessionQueryParams;
86
86
  } | undefined) => Promise<void>;
87
87
  };
88
88
  useActiveMemberRole: () => {
89
89
  data: {
90
90
  role: string;
91
91
  } | null;
92
- error: null | _better_fetch_fetch91.BetterFetchError;
92
+ error: null | _better_fetch_fetch193.BetterFetchError;
93
93
  isPending: boolean;
94
94
  isRefetching: boolean;
95
95
  refetch: (queryParams?: {
96
- query?: better_auth155.SessionQueryParams;
96
+ query?: better_auth458.SessionQueryParams;
97
97
  } | undefined) => Promise<void>;
98
98
  };
99
99
  } & {
100
- token: <FetchOptions extends better_auth155.ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth155.Prettify<{
100
+ token: <FetchOptions extends better_auth458.ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth458.Prettify<{
101
101
  query?: Record<string, any> | undefined;
102
102
  fetchOptions?: FetchOptions | undefined;
103
- }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<{
103
+ }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch193.BetterFetchResponse<{
104
104
  token: string;
105
105
  }, {
106
106
  code?: string | undefined;
@@ -108,16 +108,16 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
108
108
  }, FetchOptions["throw"] extends true ? true : false>>;
109
109
  } & {
110
110
  admin: {
111
- setRole: <FetchOptions extends better_auth155.ClientFetchOption<Partial<{
111
+ setRole: <FetchOptions extends better_auth458.ClientFetchOption<Partial<{
112
112
  userId: string;
113
113
  role: "user" | "admin" | ("user" | "admin")[];
114
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth155.Prettify<{
114
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth458.Prettify<{
115
115
  userId: string;
116
116
  role: "user" | "admin" | ("user" | "admin")[];
117
117
  } & {
118
118
  fetchOptions?: FetchOptions | undefined;
119
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<{
120
- user: better_auth_plugins21.UserWithRole;
119
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch193.BetterFetchResponse<{
120
+ user: better_auth_plugins93.UserWithRole;
121
121
  }, {
122
122
  code?: string | undefined;
123
123
  message?: string | undefined;
@@ -125,27 +125,27 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
125
125
  };
126
126
  } & {
127
127
  admin: {
128
- getUser: <FetchOptions extends better_auth155.ClientFetchOption<never, Partial<{
128
+ getUser: <FetchOptions extends better_auth458.ClientFetchOption<never, Partial<{
129
129
  id: string;
130
- }> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth155.Prettify<{
130
+ }> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth458.Prettify<{
131
131
  query: {
132
132
  id: string;
133
133
  };
134
134
  fetchOptions?: FetchOptions | undefined;
135
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<better_auth_plugins21.UserWithRole, {
135
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch193.BetterFetchResponse<better_auth_plugins93.UserWithRole, {
136
136
  code?: string | undefined;
137
137
  message?: string | undefined;
138
138
  }, FetchOptions["throw"] extends true ? true : false>>;
139
139
  };
140
140
  } & {
141
141
  admin: {
142
- createUser: <FetchOptions extends better_auth155.ClientFetchOption<Partial<{
142
+ createUser: <FetchOptions extends better_auth458.ClientFetchOption<Partial<{
143
143
  email: string;
144
144
  password?: string | undefined;
145
145
  name: string;
146
146
  role?: "user" | "admin" | ("user" | "admin")[] | undefined;
147
147
  data?: Record<string, any> | undefined;
148
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth155.Prettify<{
148
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth458.Prettify<{
149
149
  email: string;
150
150
  password?: string | undefined;
151
151
  name: string;
@@ -153,8 +153,8 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
153
153
  data?: Record<string, any> | undefined;
154
154
  } & {
155
155
  fetchOptions?: FetchOptions | undefined;
156
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<{
157
- user: better_auth_plugins21.UserWithRole;
156
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch193.BetterFetchResponse<{
157
+ user: better_auth_plugins93.UserWithRole;
158
158
  }, {
159
159
  code?: string | undefined;
160
160
  message?: string | undefined;
@@ -162,22 +162,22 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
162
162
  };
163
163
  } & {
164
164
  admin: {
165
- updateUser: <FetchOptions extends better_auth155.ClientFetchOption<Partial<{
165
+ updateUser: <FetchOptions extends better_auth458.ClientFetchOption<Partial<{
166
166
  userId: unknown;
167
167
  data: Record<any, any>;
168
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth155.Prettify<{
168
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth458.Prettify<{
169
169
  userId: unknown;
170
170
  data: Record<any, any>;
171
171
  } & {
172
172
  fetchOptions?: FetchOptions | undefined;
173
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<better_auth_plugins21.UserWithRole, {
173
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch193.BetterFetchResponse<better_auth_plugins93.UserWithRole, {
174
174
  code?: string | undefined;
175
175
  message?: string | undefined;
176
176
  }, FetchOptions["throw"] extends true ? true : false>>;
177
177
  };
178
178
  } & {
179
179
  admin: {
180
- listUsers: <FetchOptions extends better_auth155.ClientFetchOption<never, Partial<{
180
+ listUsers: <FetchOptions extends better_auth458.ClientFetchOption<never, Partial<{
181
181
  searchValue?: string | undefined;
182
182
  searchField?: "email" | "name" | undefined;
183
183
  searchOperator?: "contains" | "starts_with" | "ends_with" | undefined;
@@ -188,7 +188,7 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
188
188
  filterField?: string | undefined;
189
189
  filterValue?: string | number | boolean | undefined;
190
190
  filterOperator?: "contains" | "eq" | "ne" | "lt" | "lte" | "gt" | "gte" | undefined;
191
- }> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth155.Prettify<{
191
+ }> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth458.Prettify<{
192
192
  query: {
193
193
  searchValue?: string | undefined;
194
194
  searchField?: "email" | "name" | undefined;
@@ -202,8 +202,8 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
202
202
  filterOperator?: "contains" | "eq" | "ne" | "lt" | "lte" | "gt" | "gte" | undefined;
203
203
  };
204
204
  fetchOptions?: FetchOptions | undefined;
205
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<NonNullable<{
206
- users: better_auth_plugins21.UserWithRole[];
205
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch193.BetterFetchResponse<NonNullable<{
206
+ users: better_auth_plugins93.UserWithRole[];
207
207
  total: number;
208
208
  limit: number | undefined;
209
209
  offset: number | undefined;
@@ -217,14 +217,14 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
217
217
  };
218
218
  } & {
219
219
  admin: {
220
- listUserSessions: <FetchOptions extends better_auth155.ClientFetchOption<Partial<{
220
+ listUserSessions: <FetchOptions extends better_auth458.ClientFetchOption<Partial<{
221
221
  userId: unknown;
222
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth155.Prettify<{
222
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth458.Prettify<{
223
223
  userId: unknown;
224
224
  } & {
225
225
  fetchOptions?: FetchOptions | undefined;
226
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<{
227
- sessions: better_auth_plugins21.SessionWithImpersonatedBy[];
226
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch193.BetterFetchResponse<{
227
+ sessions: better_auth_plugins93.SessionWithImpersonatedBy[];
228
228
  }, {
229
229
  code?: string | undefined;
230
230
  message?: string | undefined;
@@ -232,14 +232,14 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
232
232
  };
233
233
  } & {
234
234
  admin: {
235
- unbanUser: <FetchOptions extends better_auth155.ClientFetchOption<Partial<{
235
+ unbanUser: <FetchOptions extends better_auth458.ClientFetchOption<Partial<{
236
236
  userId: unknown;
237
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth155.Prettify<{
237
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth458.Prettify<{
238
238
  userId: unknown;
239
239
  } & {
240
240
  fetchOptions?: FetchOptions | undefined;
241
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<{
242
- user: better_auth_plugins21.UserWithRole;
241
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch193.BetterFetchResponse<{
242
+ user: better_auth_plugins93.UserWithRole;
243
243
  }, {
244
244
  code?: string | undefined;
245
245
  message?: string | undefined;
@@ -247,18 +247,18 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
247
247
  };
248
248
  } & {
249
249
  admin: {
250
- banUser: <FetchOptions extends better_auth155.ClientFetchOption<Partial<{
250
+ banUser: <FetchOptions extends better_auth458.ClientFetchOption<Partial<{
251
251
  userId: unknown;
252
252
  banReason?: string | undefined;
253
253
  banExpiresIn?: number | undefined;
254
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth155.Prettify<{
254
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth458.Prettify<{
255
255
  userId: unknown;
256
256
  banReason?: string | undefined;
257
257
  banExpiresIn?: number | undefined;
258
258
  } & {
259
259
  fetchOptions?: FetchOptions | undefined;
260
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<{
261
- user: better_auth_plugins21.UserWithRole;
260
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch193.BetterFetchResponse<{
261
+ user: better_auth_plugins93.UserWithRole;
262
262
  }, {
263
263
  code?: string | undefined;
264
264
  message?: string | undefined;
@@ -266,13 +266,13 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
266
266
  };
267
267
  } & {
268
268
  admin: {
269
- impersonateUser: <FetchOptions extends better_auth155.ClientFetchOption<Partial<{
269
+ impersonateUser: <FetchOptions extends better_auth458.ClientFetchOption<Partial<{
270
270
  userId: unknown;
271
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth155.Prettify<{
271
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth458.Prettify<{
272
272
  userId: unknown;
273
273
  } & {
274
274
  fetchOptions?: FetchOptions | undefined;
275
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<{
275
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch193.BetterFetchResponse<{
276
276
  session: {
277
277
  id: string;
278
278
  createdAt: Date;
@@ -283,7 +283,7 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
283
283
  ipAddress?: string | null | undefined;
284
284
  userAgent?: string | null | undefined;
285
285
  };
286
- user: better_auth_plugins21.UserWithRole;
286
+ user: better_auth_plugins93.UserWithRole;
287
287
  }, {
288
288
  code?: string | undefined;
289
289
  message?: string | undefined;
@@ -291,10 +291,10 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
291
291
  };
292
292
  } & {
293
293
  admin: {
294
- stopImpersonating: <FetchOptions extends better_auth155.ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth155.Prettify<{
294
+ stopImpersonating: <FetchOptions extends better_auth458.ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth458.Prettify<{
295
295
  query?: Record<string, any> | undefined;
296
296
  fetchOptions?: FetchOptions | undefined;
297
- }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<{
297
+ }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch193.BetterFetchResponse<{
298
298
  session: {
299
299
  id: string;
300
300
  createdAt: Date;
@@ -321,13 +321,13 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
321
321
  };
322
322
  } & {
323
323
  admin: {
324
- revokeUserSession: <FetchOptions extends better_auth155.ClientFetchOption<Partial<{
324
+ revokeUserSession: <FetchOptions extends better_auth458.ClientFetchOption<Partial<{
325
325
  sessionToken: string;
326
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth155.Prettify<{
326
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth458.Prettify<{
327
327
  sessionToken: string;
328
328
  } & {
329
329
  fetchOptions?: FetchOptions | undefined;
330
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<{
330
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch193.BetterFetchResponse<{
331
331
  success: boolean;
332
332
  }, {
333
333
  code?: string | undefined;
@@ -336,13 +336,13 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
336
336
  };
337
337
  } & {
338
338
  admin: {
339
- revokeUserSessions: <FetchOptions extends better_auth155.ClientFetchOption<Partial<{
339
+ revokeUserSessions: <FetchOptions extends better_auth458.ClientFetchOption<Partial<{
340
340
  userId: unknown;
341
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth155.Prettify<{
341
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth458.Prettify<{
342
342
  userId: unknown;
343
343
  } & {
344
344
  fetchOptions?: FetchOptions | undefined;
345
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<{
345
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch193.BetterFetchResponse<{
346
346
  success: boolean;
347
347
  }, {
348
348
  code?: string | undefined;
@@ -351,13 +351,13 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
351
351
  };
352
352
  } & {
353
353
  admin: {
354
- removeUser: <FetchOptions extends better_auth155.ClientFetchOption<Partial<{
354
+ removeUser: <FetchOptions extends better_auth458.ClientFetchOption<Partial<{
355
355
  userId: unknown;
356
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth155.Prettify<{
356
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth458.Prettify<{
357
357
  userId: unknown;
358
358
  } & {
359
359
  fetchOptions?: FetchOptions | undefined;
360
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<{
360
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch193.BetterFetchResponse<{
361
361
  success: boolean;
362
362
  }, {
363
363
  code?: string | undefined;
@@ -366,15 +366,15 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
366
366
  };
367
367
  } & {
368
368
  admin: {
369
- setUserPassword: <FetchOptions extends better_auth155.ClientFetchOption<Partial<{
369
+ setUserPassword: <FetchOptions extends better_auth458.ClientFetchOption<Partial<{
370
370
  newPassword: string;
371
371
  userId: unknown;
372
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth155.Prettify<{
372
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth458.Prettify<{
373
373
  newPassword: string;
374
374
  userId: unknown;
375
375
  } & {
376
376
  fetchOptions?: FetchOptions | undefined;
377
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<{
377
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch193.BetterFetchResponse<{
378
378
  status: boolean;
379
379
  }, {
380
380
  code?: string | undefined;
@@ -383,7 +383,7 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
383
383
  };
384
384
  } & {
385
385
  admin: {
386
- hasPermission: <FetchOptions extends better_auth155.ClientFetchOption<Partial<({
386
+ hasPermission: <FetchOptions extends better_auth458.ClientFetchOption<Partial<({
387
387
  permission: {
388
388
  readonly user?: ("get" | "delete" | "create" | "list" | "set-role" | "ban" | "impersonate" | "set-password" | "update")[] | undefined;
389
389
  readonly session?: ("delete" | "list" | "revoke")[] | undefined;
@@ -398,7 +398,7 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
398
398
  }) & {
399
399
  userId?: string | undefined;
400
400
  role?: "user" | "admin" | undefined;
401
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth155.Prettify<(({
401
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth458.Prettify<(({
402
402
  permission: {
403
403
  readonly user?: ("get" | "delete" | "create" | "list" | "set-role" | "ban" | "impersonate" | "set-password" | "update")[] | undefined;
404
404
  readonly session?: ("delete" | "list" | "revoke")[] | undefined;
@@ -415,7 +415,7 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
415
415
  role?: "user" | "admin" | undefined;
416
416
  }) & {
417
417
  fetchOptions?: FetchOptions | undefined;
418
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<{
418
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch193.BetterFetchResponse<{
419
419
  error: null;
420
420
  success: boolean;
421
421
  }, {
@@ -425,14 +425,14 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
425
425
  };
426
426
  } & {
427
427
  organization: {
428
- create: <FetchOptions extends better_auth155.ClientFetchOption<Partial<{
428
+ create: <FetchOptions extends better_auth458.ClientFetchOption<Partial<{
429
429
  name: string;
430
430
  slug: string;
431
431
  userId?: string | undefined;
432
432
  logo?: string | undefined;
433
433
  metadata?: Record<string, any> | undefined;
434
434
  keepCurrentActiveOrganization?: boolean | undefined;
435
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth155.Prettify<{
435
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth458.Prettify<{
436
436
  name: string;
437
437
  slug: string;
438
438
  userId?: string | undefined;
@@ -441,7 +441,7 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
441
441
  keepCurrentActiveOrganization?: boolean | undefined;
442
442
  } & {
443
443
  fetchOptions?: FetchOptions | undefined;
444
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<{
444
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch193.BetterFetchResponse<{
445
445
  id: string;
446
446
  name: string;
447
447
  slug: string;
@@ -464,7 +464,7 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
464
464
  };
465
465
  } & {
466
466
  organization: {
467
- update: <FetchOptions extends better_auth155.ClientFetchOption<Partial<{
467
+ update: <FetchOptions extends better_auth458.ClientFetchOption<Partial<{
468
468
  data: {
469
469
  name?: string | undefined;
470
470
  slug?: string | undefined;
@@ -472,7 +472,7 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
472
472
  metadata?: Record<string, any> | undefined;
473
473
  } & Partial<{}>;
474
474
  organizationId?: string | undefined;
475
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth155.Prettify<{
475
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth458.Prettify<{
476
476
  data: {
477
477
  name?: string | undefined;
478
478
  slug?: string | undefined;
@@ -482,7 +482,7 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
482
482
  organizationId?: string | undefined;
483
483
  } & {
484
484
  fetchOptions?: FetchOptions | undefined;
485
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<{
485
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch193.BetterFetchResponse<{
486
486
  id: string;
487
487
  name: string;
488
488
  slug: string;
@@ -496,13 +496,13 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
496
496
  };
497
497
  } & {
498
498
  organization: {
499
- delete: <FetchOptions extends better_auth155.ClientFetchOption<Partial<{
499
+ delete: <FetchOptions extends better_auth458.ClientFetchOption<Partial<{
500
500
  organizationId: string;
501
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth155.Prettify<{
501
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth458.Prettify<{
502
502
  organizationId: string;
503
503
  } & {
504
504
  fetchOptions?: FetchOptions | undefined;
505
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<{
505
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch193.BetterFetchResponse<{
506
506
  id: string;
507
507
  name: string;
508
508
  slug: string;
@@ -516,15 +516,15 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
516
516
  };
517
517
  } & {
518
518
  organization: {
519
- setActive: <FetchOptions extends better_auth155.ClientFetchOption<Partial<{
519
+ setActive: <FetchOptions extends better_auth458.ClientFetchOption<Partial<{
520
520
  organizationId?: string | null | undefined;
521
521
  organizationSlug?: string | undefined;
522
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth155.Prettify<{
522
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth458.Prettify<{
523
523
  organizationId?: string | null | undefined;
524
524
  organizationSlug?: string | undefined;
525
525
  } & {
526
526
  fetchOptions?: FetchOptions | undefined;
527
- }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<{
527
+ }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch193.BetterFetchResponse<{
528
528
  members: {
529
529
  id: string;
530
530
  organizationId: string;
@@ -543,7 +543,7 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
543
543
  organizationId: string;
544
544
  email: string;
545
545
  role: "admin" | "member" | "owner";
546
- status: better_auth_plugins21.InvitationStatus;
546
+ status: better_auth_plugins93.InvitationStatus;
547
547
  inviterId: string;
548
548
  expiresAt: Date;
549
549
  createdAt: Date;
@@ -562,18 +562,18 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
562
562
  };
563
563
  } & {
564
564
  organization: {
565
- getFullOrganization: <FetchOptions extends better_auth155.ClientFetchOption<never, Partial<{
565
+ getFullOrganization: <FetchOptions extends better_auth458.ClientFetchOption<never, Partial<{
566
566
  organizationId?: string | undefined;
567
567
  organizationSlug?: string | undefined;
568
568
  membersLimit?: string | number | undefined;
569
- }> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth155.Prettify<{
569
+ }> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth458.Prettify<{
570
570
  query?: {
571
571
  organizationId?: string | undefined;
572
572
  organizationSlug?: string | undefined;
573
573
  membersLimit?: string | number | undefined;
574
574
  } | undefined;
575
575
  fetchOptions?: FetchOptions | undefined;
576
- }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<{
576
+ }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch193.BetterFetchResponse<{
577
577
  members: {
578
578
  id: string;
579
579
  organizationId: string;
@@ -592,7 +592,7 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
592
592
  organizationId: string;
593
593
  email: string;
594
594
  role: "admin" | "member" | "owner";
595
- status: better_auth_plugins21.InvitationStatus;
595
+ status: better_auth_plugins93.InvitationStatus;
596
596
  inviterId: string;
597
597
  expiresAt: Date;
598
598
  createdAt: Date;
@@ -611,10 +611,10 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
611
611
  };
612
612
  } & {
613
613
  organization: {
614
- list: <FetchOptions extends better_auth155.ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth155.Prettify<{
614
+ list: <FetchOptions extends better_auth458.ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth458.Prettify<{
615
615
  query?: Record<string, any> | undefined;
616
616
  fetchOptions?: FetchOptions | undefined;
617
- }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<{
617
+ }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch193.BetterFetchResponse<{
618
618
  id: string;
619
619
  name: string;
620
620
  slug: string;
@@ -628,24 +628,24 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
628
628
  };
629
629
  } & {
630
630
  organization: {
631
- inviteMember: <FetchOptions extends better_auth155.ClientFetchOption<Partial<{
631
+ inviteMember: <FetchOptions extends better_auth458.ClientFetchOption<Partial<{
632
632
  email: string;
633
633
  role: "admin" | "member" | "owner" | ("admin" | "member" | "owner")[];
634
634
  organizationId?: string | undefined;
635
635
  resend?: boolean | undefined;
636
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth155.Prettify<{
636
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth458.Prettify<{
637
637
  email: string;
638
638
  role: "admin" | "member" | "owner" | ("admin" | "member" | "owner")[];
639
639
  organizationId?: string | undefined;
640
640
  resend?: boolean | undefined;
641
641
  } & {
642
642
  fetchOptions?: FetchOptions | undefined;
643
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<NonNullable<{
643
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch193.BetterFetchResponse<NonNullable<{
644
644
  id: string;
645
645
  organizationId: string;
646
646
  email: string;
647
647
  role: "admin" | "member" | "owner";
648
- status: better_auth_plugins21.InvitationStatus;
648
+ status: better_auth_plugins93.InvitationStatus;
649
649
  inviterId: string;
650
650
  expiresAt: Date;
651
651
  createdAt: Date;
@@ -654,7 +654,7 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
654
654
  organizationId: string;
655
655
  email: string;
656
656
  role: "admin" | "member" | "owner";
657
- status: better_auth_plugins21.InvitationStatus;
657
+ status: better_auth_plugins93.InvitationStatus;
658
658
  inviterId: string;
659
659
  expiresAt: Date;
660
660
  createdAt: Date;
@@ -665,18 +665,18 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
665
665
  };
666
666
  } & {
667
667
  organization: {
668
- cancelInvitation: <FetchOptions extends better_auth155.ClientFetchOption<Partial<{
668
+ cancelInvitation: <FetchOptions extends better_auth458.ClientFetchOption<Partial<{
669
669
  invitationId: string;
670
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth155.Prettify<{
670
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth458.Prettify<{
671
671
  invitationId: string;
672
672
  } & {
673
673
  fetchOptions?: FetchOptions | undefined;
674
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<{
674
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch193.BetterFetchResponse<{
675
675
  id: string;
676
676
  organizationId: string;
677
677
  email: string;
678
678
  role: "admin" | "member" | "owner";
679
- status: better_auth_plugins21.InvitationStatus;
679
+ status: better_auth_plugins93.InvitationStatus;
680
680
  inviterId: string;
681
681
  expiresAt: Date;
682
682
  createdAt: Date;
@@ -687,19 +687,19 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
687
687
  };
688
688
  } & {
689
689
  organization: {
690
- acceptInvitation: <FetchOptions extends better_auth155.ClientFetchOption<Partial<{
690
+ acceptInvitation: <FetchOptions extends better_auth458.ClientFetchOption<Partial<{
691
691
  invitationId: string;
692
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth155.Prettify<{
692
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth458.Prettify<{
693
693
  invitationId: string;
694
694
  } & {
695
695
  fetchOptions?: FetchOptions | undefined;
696
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<{
696
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch193.BetterFetchResponse<{
697
697
  invitation: {
698
698
  id: string;
699
699
  organizationId: string;
700
700
  email: string;
701
701
  role: "admin" | "member" | "owner";
702
- status: better_auth_plugins21.InvitationStatus;
702
+ status: better_auth_plugins93.InvitationStatus;
703
703
  inviterId: string;
704
704
  expiresAt: Date;
705
705
  createdAt: Date;
@@ -718,19 +718,19 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
718
718
  };
719
719
  } & {
720
720
  organization: {
721
- getInvitation: <FetchOptions extends better_auth155.ClientFetchOption<never, Partial<{
721
+ getInvitation: <FetchOptions extends better_auth458.ClientFetchOption<never, Partial<{
722
722
  id: string;
723
- }> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth155.Prettify<{
723
+ }> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth458.Prettify<{
724
724
  query: {
725
725
  id: string;
726
726
  };
727
727
  fetchOptions?: FetchOptions | undefined;
728
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<NonNullable<{
728
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch193.BetterFetchResponse<NonNullable<{
729
729
  id: string;
730
730
  organizationId: string;
731
731
  email: string;
732
732
  role: "admin" | "member" | "owner";
733
- status: better_auth_plugins21.InvitationStatus;
733
+ status: better_auth_plugins93.InvitationStatus;
734
734
  inviterId: string;
735
735
  expiresAt: Date;
736
736
  createdAt: Date;
@@ -745,19 +745,19 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
745
745
  };
746
746
  } & {
747
747
  organization: {
748
- rejectInvitation: <FetchOptions extends better_auth155.ClientFetchOption<Partial<{
748
+ rejectInvitation: <FetchOptions extends better_auth458.ClientFetchOption<Partial<{
749
749
  invitationId: string;
750
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth155.Prettify<{
750
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth458.Prettify<{
751
751
  invitationId: string;
752
752
  } & {
753
753
  fetchOptions?: FetchOptions | undefined;
754
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<{
754
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch193.BetterFetchResponse<{
755
755
  invitation: {
756
756
  id: string;
757
757
  organizationId: string;
758
758
  email: string;
759
759
  role: "member" | "admin" | "owner";
760
- status: better_auth_plugins21.InvitationStatus;
760
+ status: better_auth_plugins93.InvitationStatus;
761
761
  inviterId: string;
762
762
  expiresAt: Date;
763
763
  createdAt: Date;
@@ -770,19 +770,19 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
770
770
  };
771
771
  } & {
772
772
  organization: {
773
- listInvitations: <FetchOptions extends better_auth155.ClientFetchOption<never, Partial<{
773
+ listInvitations: <FetchOptions extends better_auth458.ClientFetchOption<never, Partial<{
774
774
  organizationId?: string | undefined;
775
- }> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth155.Prettify<{
775
+ }> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth458.Prettify<{
776
776
  query?: {
777
777
  organizationId?: string | undefined;
778
778
  } | undefined;
779
779
  fetchOptions?: FetchOptions | undefined;
780
- }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<{
780
+ }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch193.BetterFetchResponse<{
781
781
  id: string;
782
782
  organizationId: string;
783
783
  email: string;
784
784
  role: "admin" | "member" | "owner";
785
- status: better_auth_plugins21.InvitationStatus;
785
+ status: better_auth_plugins93.InvitationStatus;
786
786
  inviterId: string;
787
787
  expiresAt: Date;
788
788
  createdAt: Date;
@@ -793,10 +793,10 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
793
793
  };
794
794
  } & {
795
795
  organization: {
796
- getActiveMember: <FetchOptions extends better_auth155.ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth155.Prettify<{
796
+ getActiveMember: <FetchOptions extends better_auth458.ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth458.Prettify<{
797
797
  query?: Record<string, any> | undefined;
798
798
  fetchOptions?: FetchOptions | undefined;
799
- }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<Omit<{
799
+ }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch193.BetterFetchResponse<Omit<{
800
800
  id: string;
801
801
  organizationId: string;
802
802
  role: "admin" | "member" | "owner";
@@ -809,7 +809,7 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
809
809
  image?: string | undefined;
810
810
  };
811
811
  } & {
812
- user: better_auth155.User;
812
+ user: better_auth458.User;
813
813
  }, "user"> & {
814
814
  user: {
815
815
  id: string;
@@ -824,13 +824,13 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
824
824
  };
825
825
  } & {
826
826
  organization: {
827
- checkSlug: <FetchOptions extends better_auth155.ClientFetchOption<Partial<{
827
+ checkSlug: <FetchOptions extends better_auth458.ClientFetchOption<Partial<{
828
828
  slug: string;
829
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth155.Prettify<{
829
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth458.Prettify<{
830
830
  slug: string;
831
831
  } & {
832
832
  fetchOptions?: FetchOptions | undefined;
833
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<{
833
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch193.BetterFetchResponse<{
834
834
  status: boolean;
835
835
  }, {
836
836
  code?: string | undefined;
@@ -839,15 +839,15 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
839
839
  };
840
840
  } & {
841
841
  organization: {
842
- removeMember: <FetchOptions extends better_auth155.ClientFetchOption<Partial<{
842
+ removeMember: <FetchOptions extends better_auth458.ClientFetchOption<Partial<{
843
843
  memberIdOrEmail: string;
844
844
  organizationId?: string | undefined;
845
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth155.Prettify<{
845
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth458.Prettify<{
846
846
  memberIdOrEmail: string;
847
847
  organizationId?: string | undefined;
848
848
  } & {
849
849
  fetchOptions?: FetchOptions | undefined;
850
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<{
850
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch193.BetterFetchResponse<{
851
851
  member: {
852
852
  id: string;
853
853
  organizationId: string;
@@ -868,17 +868,17 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
868
868
  };
869
869
  } & {
870
870
  organization: {
871
- updateMemberRole: <FetchOptions extends better_auth155.ClientFetchOption<Partial<{
872
- role: better_auth155.LiteralString | "admin" | "member" | "owner" | ("admin" | "member" | "owner")[] | better_auth155.LiteralString[];
871
+ updateMemberRole: <FetchOptions extends better_auth458.ClientFetchOption<Partial<{
872
+ role: better_auth458.LiteralString | "admin" | "member" | "owner" | ("admin" | "member" | "owner")[] | better_auth458.LiteralString[];
873
873
  memberId: string;
874
874
  organizationId?: string | undefined;
875
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth155.Prettify<{
876
- role: better_auth155.LiteralString | "admin" | "member" | "owner" | ("admin" | "member" | "owner")[] | better_auth155.LiteralString[];
875
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth458.Prettify<{
876
+ role: better_auth458.LiteralString | "admin" | "member" | "owner" | ("admin" | "member" | "owner")[] | better_auth458.LiteralString[];
877
877
  memberId: string;
878
878
  organizationId?: string | undefined;
879
879
  } & {
880
880
  fetchOptions?: FetchOptions | undefined;
881
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<{
881
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch193.BetterFetchResponse<{
882
882
  id: string;
883
883
  organizationId: string;
884
884
  role: "member" | "admin" | "owner";
@@ -897,13 +897,13 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
897
897
  };
898
898
  } & {
899
899
  organization: {
900
- leave: <FetchOptions extends better_auth155.ClientFetchOption<Partial<{
900
+ leave: <FetchOptions extends better_auth458.ClientFetchOption<Partial<{
901
901
  organizationId: string;
902
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth155.Prettify<{
902
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth458.Prettify<{
903
903
  organizationId: string;
904
904
  } & {
905
905
  fetchOptions?: FetchOptions | undefined;
906
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<NonNullable<Omit<{
906
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch193.BetterFetchResponse<NonNullable<Omit<{
907
907
  id: string;
908
908
  organizationId: string;
909
909
  role: "admin" | "member" | "owner";
@@ -916,7 +916,7 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
916
916
  image?: string | undefined;
917
917
  };
918
918
  } & {
919
- user: better_auth155.User;
919
+ user: better_auth458.User;
920
920
  }, "user"> & {
921
921
  user: {
922
922
  id: string;
@@ -931,19 +931,19 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
931
931
  };
932
932
  } & {
933
933
  organization: {
934
- listUserInvitations: <FetchOptions extends better_auth155.ClientFetchOption<never, Partial<{
934
+ listUserInvitations: <FetchOptions extends better_auth458.ClientFetchOption<never, Partial<{
935
935
  email?: string | undefined;
936
- }> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth155.Prettify<{
936
+ }> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth458.Prettify<{
937
937
  query?: {
938
938
  email?: string | undefined;
939
939
  } | undefined;
940
940
  fetchOptions?: FetchOptions | undefined;
941
- }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<(Omit<{
941
+ }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch193.BetterFetchResponse<(Omit<{
942
942
  id: string;
943
943
  organizationId: string;
944
944
  email: string;
945
945
  role: "admin" | "member" | "owner";
946
- status: better_auth_plugins21.InvitationStatus;
946
+ status: better_auth_plugins93.InvitationStatus;
947
947
  inviterId: string;
948
948
  expiresAt: Date;
949
949
  createdAt: Date;
@@ -965,7 +965,7 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
965
965
  };
966
966
  } & {
967
967
  organization: {
968
- listMembers: <FetchOptions extends better_auth155.ClientFetchOption<never, Partial<{
968
+ listMembers: <FetchOptions extends better_auth458.ClientFetchOption<never, Partial<{
969
969
  limit?: string | number | undefined;
970
970
  offset?: string | number | undefined;
971
971
  sortBy?: string | undefined;
@@ -975,7 +975,7 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
975
975
  filterOperator?: "contains" | "eq" | "ne" | "lt" | "lte" | "gt" | "gte" | undefined;
976
976
  organizationId?: string | undefined;
977
977
  organizationSlug?: string | undefined;
978
- }> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth155.Prettify<{
978
+ }> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth458.Prettify<{
979
979
  query?: {
980
980
  limit?: string | number | undefined;
981
981
  offset?: string | number | undefined;
@@ -988,7 +988,7 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
988
988
  organizationSlug?: string | undefined;
989
989
  } | undefined;
990
990
  fetchOptions?: FetchOptions | undefined;
991
- }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<{
991
+ }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch193.BetterFetchResponse<{
992
992
  members: ({
993
993
  id: string;
994
994
  organizationId: string;
@@ -1017,18 +1017,18 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
1017
1017
  };
1018
1018
  } & {
1019
1019
  organization: {
1020
- getActiveMemberRole: <FetchOptions extends better_auth155.ClientFetchOption<never, Partial<{
1020
+ getActiveMemberRole: <FetchOptions extends better_auth458.ClientFetchOption<never, Partial<{
1021
1021
  userId?: string | undefined;
1022
1022
  organizationId?: string | undefined;
1023
1023
  organizationSlug?: string | undefined;
1024
- }> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth155.Prettify<{
1024
+ }> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth458.Prettify<{
1025
1025
  query?: {
1026
1026
  userId?: string | undefined;
1027
1027
  organizationId?: string | undefined;
1028
1028
  organizationSlug?: string | undefined;
1029
1029
  } | undefined;
1030
1030
  fetchOptions?: FetchOptions | undefined;
1031
- }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<{
1031
+ }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch193.BetterFetchResponse<{
1032
1032
  role: "admin" | "member" | "owner";
1033
1033
  }, {
1034
1034
  code?: string | undefined;
@@ -1037,7 +1037,7 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
1037
1037
  };
1038
1038
  } & {
1039
1039
  organization: {
1040
- hasPermission: <FetchOptions extends better_auth155.ClientFetchOption<Partial<({
1040
+ hasPermission: <FetchOptions extends better_auth458.ClientFetchOption<Partial<({
1041
1041
  permission: {
1042
1042
  readonly organization?: ("delete" | "update")[] | undefined;
1043
1043
  readonly member?: ("delete" | "create" | "update")[] | undefined;
@@ -1057,7 +1057,7 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
1057
1057
  permission?: never | undefined;
1058
1058
  }) & {
1059
1059
  organizationId?: string | undefined;
1060
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth155.Prettify<(({
1060
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth458.Prettify<(({
1061
1061
  permission: {
1062
1062
  readonly organization?: ("delete" | "update")[] | undefined;
1063
1063
  readonly member?: ("delete" | "create" | "update")[] | undefined;
@@ -1079,7 +1079,7 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
1079
1079
  organizationId?: string | undefined;
1080
1080
  }) & {
1081
1081
  fetchOptions?: FetchOptions | undefined;
1082
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<{
1082
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch193.BetterFetchResponse<{
1083
1083
  error: null;
1084
1084
  success: boolean;
1085
1085
  }, {
@@ -1089,15 +1089,15 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
1089
1089
  };
1090
1090
  } & {
1091
1091
  emailOtp: {
1092
- sendVerificationOtp: <FetchOptions extends better_auth155.ClientFetchOption<Partial<{
1092
+ sendVerificationOtp: <FetchOptions extends better_auth458.ClientFetchOption<Partial<{
1093
1093
  email: string;
1094
1094
  type: "sign-in" | "email-verification" | "forget-password";
1095
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth155.Prettify<{
1095
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth458.Prettify<{
1096
1096
  email: string;
1097
1097
  type: "sign-in" | "email-verification" | "forget-password";
1098
1098
  } & {
1099
1099
  fetchOptions?: FetchOptions | undefined;
1100
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<{
1100
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch193.BetterFetchResponse<{
1101
1101
  success: boolean;
1102
1102
  }, {
1103
1103
  code?: string | undefined;
@@ -1106,17 +1106,17 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
1106
1106
  };
1107
1107
  } & {
1108
1108
  emailOtp: {
1109
- checkVerificationOtp: <FetchOptions extends better_auth155.ClientFetchOption<Partial<{
1109
+ checkVerificationOtp: <FetchOptions extends better_auth458.ClientFetchOption<Partial<{
1110
1110
  email: string;
1111
1111
  type: "sign-in" | "email-verification" | "forget-password";
1112
1112
  otp: string;
1113
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth155.Prettify<{
1113
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth458.Prettify<{
1114
1114
  email: string;
1115
1115
  type: "sign-in" | "email-verification" | "forget-password";
1116
1116
  otp: string;
1117
1117
  } & {
1118
1118
  fetchOptions?: FetchOptions | undefined;
1119
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<{
1119
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch193.BetterFetchResponse<{
1120
1120
  success: boolean;
1121
1121
  }, {
1122
1122
  code?: string | undefined;
@@ -1125,15 +1125,15 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
1125
1125
  };
1126
1126
  } & {
1127
1127
  emailOtp: {
1128
- verifyEmail: <FetchOptions extends better_auth155.ClientFetchOption<Partial<{
1128
+ verifyEmail: <FetchOptions extends better_auth458.ClientFetchOption<Partial<{
1129
1129
  email: string;
1130
1130
  otp: string;
1131
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth155.Prettify<{
1131
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth458.Prettify<{
1132
1132
  email: string;
1133
1133
  otp: string;
1134
1134
  } & {
1135
1135
  fetchOptions?: FetchOptions | undefined;
1136
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<NonNullable<{
1136
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch193.BetterFetchResponse<NonNullable<{
1137
1137
  status: boolean;
1138
1138
  token: string;
1139
1139
  user: {
@@ -1164,15 +1164,15 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
1164
1164
  };
1165
1165
  } & {
1166
1166
  signIn: {
1167
- emailOtp: <FetchOptions extends better_auth155.ClientFetchOption<Partial<{
1167
+ emailOtp: <FetchOptions extends better_auth458.ClientFetchOption<Partial<{
1168
1168
  email: string;
1169
1169
  otp: string;
1170
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth155.Prettify<{
1170
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth458.Prettify<{
1171
1171
  email: string;
1172
1172
  otp: string;
1173
1173
  } & {
1174
1174
  fetchOptions?: FetchOptions | undefined;
1175
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<{
1175
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch193.BetterFetchResponse<{
1176
1176
  token: string;
1177
1177
  user: {
1178
1178
  id: string;
@@ -1190,13 +1190,13 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
1190
1190
  };
1191
1191
  } & {
1192
1192
  emailOtp: {
1193
- requestPasswordReset: <FetchOptions extends better_auth155.ClientFetchOption<Partial<{
1193
+ requestPasswordReset: <FetchOptions extends better_auth458.ClientFetchOption<Partial<{
1194
1194
  email: string;
1195
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth155.Prettify<{
1195
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth458.Prettify<{
1196
1196
  email: string;
1197
1197
  } & {
1198
1198
  fetchOptions?: FetchOptions | undefined;
1199
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<{
1199
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch193.BetterFetchResponse<{
1200
1200
  success: boolean;
1201
1201
  }, {
1202
1202
  code?: string | undefined;
@@ -1205,13 +1205,13 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
1205
1205
  };
1206
1206
  } & {
1207
1207
  forgetPassword: {
1208
- emailOtp: <FetchOptions extends better_auth155.ClientFetchOption<Partial<{
1208
+ emailOtp: <FetchOptions extends better_auth458.ClientFetchOption<Partial<{
1209
1209
  email: string;
1210
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth155.Prettify<{
1210
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth458.Prettify<{
1211
1211
  email: string;
1212
1212
  } & {
1213
1213
  fetchOptions?: FetchOptions | undefined;
1214
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<{
1214
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch193.BetterFetchResponse<{
1215
1215
  success: boolean;
1216
1216
  }, {
1217
1217
  code?: string | undefined;
@@ -1220,17 +1220,17 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
1220
1220
  };
1221
1221
  } & {
1222
1222
  emailOtp: {
1223
- resetPassword: <FetchOptions extends better_auth155.ClientFetchOption<Partial<{
1223
+ resetPassword: <FetchOptions extends better_auth458.ClientFetchOption<Partial<{
1224
1224
  email: string;
1225
1225
  otp: string;
1226
1226
  password: string;
1227
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth155.Prettify<{
1227
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth458.Prettify<{
1228
1228
  email: string;
1229
1229
  otp: string;
1230
1230
  password: string;
1231
1231
  } & {
1232
1232
  fetchOptions?: FetchOptions | undefined;
1233
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<{
1233
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch193.BetterFetchResponse<{
1234
1234
  success: boolean;
1235
1235
  }, {
1236
1236
  code?: string | undefined;
@@ -1239,13 +1239,13 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
1239
1239
  };
1240
1240
  } & {
1241
1241
  signIn: {
1242
- magicLink: <FetchOptions extends better_auth155.ClientFetchOption<Partial<{
1242
+ magicLink: <FetchOptions extends better_auth458.ClientFetchOption<Partial<{
1243
1243
  email: string;
1244
1244
  name?: string | undefined;
1245
1245
  callbackURL?: string | undefined;
1246
1246
  newUserCallbackURL?: string | undefined;
1247
1247
  errorCallbackURL?: string | undefined;
1248
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth155.Prettify<{
1248
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth458.Prettify<{
1249
1249
  email: string;
1250
1250
  name?: string | undefined;
1251
1251
  callbackURL?: string | undefined;
@@ -1253,7 +1253,7 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
1253
1253
  errorCallbackURL?: string | undefined;
1254
1254
  } & {
1255
1255
  fetchOptions?: FetchOptions | undefined;
1256
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<{
1256
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch193.BetterFetchResponse<{
1257
1257
  status: boolean;
1258
1258
  }, {
1259
1259
  code?: string | undefined;
@@ -1262,12 +1262,12 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
1262
1262
  };
1263
1263
  } & {
1264
1264
  magicLink: {
1265
- verify: <FetchOptions extends better_auth155.ClientFetchOption<never, Partial<{
1265
+ verify: <FetchOptions extends better_auth458.ClientFetchOption<never, Partial<{
1266
1266
  token: string;
1267
1267
  callbackURL?: string | undefined;
1268
1268
  errorCallbackURL?: string | undefined;
1269
1269
  newUserCallbackURL?: string | undefined;
1270
- }> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth155.Prettify<{
1270
+ }> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth458.Prettify<{
1271
1271
  query: {
1272
1272
  token: string;
1273
1273
  callbackURL?: string | undefined;
@@ -1275,7 +1275,7 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
1275
1275
  newUserCallbackURL?: string | undefined;
1276
1276
  };
1277
1277
  fetchOptions?: FetchOptions | undefined;
1278
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<{
1278
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch193.BetterFetchResponse<{
1279
1279
  token: string;
1280
1280
  user: {
1281
1281
  id: string;
@@ -1293,7 +1293,111 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
1293
1293
  };
1294
1294
  } & {
1295
1295
  signIn: {
1296
- social: <FetchOptions extends better_auth155.ClientFetchOption<Partial<{
1296
+ phoneNumber: <FetchOptions extends better_auth458.ClientFetchOption<Partial<{
1297
+ phoneNumber: string;
1298
+ password: string;
1299
+ rememberMe?: boolean | undefined;
1300
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth458.Prettify<{
1301
+ phoneNumber: string;
1302
+ password: string;
1303
+ rememberMe?: boolean | undefined;
1304
+ } & {
1305
+ fetchOptions?: FetchOptions | undefined;
1306
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch193.BetterFetchResponse<{
1307
+ token: string;
1308
+ user: better_auth_plugins93.UserWithPhoneNumber;
1309
+ }, {
1310
+ code?: string | undefined;
1311
+ message?: string | undefined;
1312
+ }, FetchOptions["throw"] extends true ? true : false>>;
1313
+ };
1314
+ } & {
1315
+ phoneNumber: {
1316
+ sendOtp: <FetchOptions extends better_auth458.ClientFetchOption<Partial<{
1317
+ phoneNumber: string;
1318
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth458.Prettify<{
1319
+ phoneNumber: string;
1320
+ } & {
1321
+ fetchOptions?: FetchOptions | undefined;
1322
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch193.BetterFetchResponse<{
1323
+ message: string;
1324
+ }, {
1325
+ code?: string | undefined;
1326
+ message?: string | undefined;
1327
+ }, FetchOptions["throw"] extends true ? true : false>>;
1328
+ };
1329
+ } & {
1330
+ phoneNumber: {
1331
+ verify: <FetchOptions extends better_auth458.ClientFetchOption<Partial<{
1332
+ phoneNumber: string;
1333
+ code: string;
1334
+ disableSession?: boolean | undefined;
1335
+ updatePhoneNumber?: boolean | undefined;
1336
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth458.Prettify<{
1337
+ phoneNumber: string;
1338
+ code: string;
1339
+ disableSession?: boolean | undefined;
1340
+ updatePhoneNumber?: boolean | undefined;
1341
+ } & {
1342
+ fetchOptions?: FetchOptions | undefined;
1343
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch193.BetterFetchResponse<NonNullable<{
1344
+ status: boolean;
1345
+ token: string;
1346
+ user: {
1347
+ id: string;
1348
+ createdAt: Date;
1349
+ updatedAt: Date;
1350
+ email: string;
1351
+ emailVerified: boolean;
1352
+ name: string;
1353
+ image?: string | null | undefined;
1354
+ } & better_auth_plugins93.UserWithPhoneNumber;
1355
+ } | {
1356
+ status: boolean;
1357
+ token: null;
1358
+ user: better_auth_plugins93.UserWithPhoneNumber;
1359
+ }>, {
1360
+ code?: string | undefined;
1361
+ message?: string | undefined;
1362
+ }, FetchOptions["throw"] extends true ? true : false>>;
1363
+ };
1364
+ } & {
1365
+ phoneNumber: {
1366
+ requestPasswordReset: <FetchOptions extends better_auth458.ClientFetchOption<Partial<{
1367
+ phoneNumber: string;
1368
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth458.Prettify<{
1369
+ phoneNumber: string;
1370
+ } & {
1371
+ fetchOptions?: FetchOptions | undefined;
1372
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch193.BetterFetchResponse<{
1373
+ status: boolean;
1374
+ }, {
1375
+ code?: string | undefined;
1376
+ message?: string | undefined;
1377
+ }, FetchOptions["throw"] extends true ? true : false>>;
1378
+ };
1379
+ } & {
1380
+ phoneNumber: {
1381
+ resetPassword: <FetchOptions extends better_auth458.ClientFetchOption<Partial<{
1382
+ otp: string;
1383
+ phoneNumber: string;
1384
+ newPassword: string;
1385
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth458.Prettify<{
1386
+ otp: string;
1387
+ phoneNumber: string;
1388
+ newPassword: string;
1389
+ } & {
1390
+ fetchOptions?: FetchOptions | undefined;
1391
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch193.BetterFetchResponse<{
1392
+ status: boolean;
1393
+ }, {
1394
+ code?: string | undefined;
1395
+ message?: string | undefined;
1396
+ }, FetchOptions["throw"] extends true ? true : false>>;
1397
+ };
1398
+ } & {
1399
+ signIn: {
1400
+ social: <FetchOptions extends better_auth458.ClientFetchOption<Partial<{
1297
1401
  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";
1298
1402
  callbackURL?: string | undefined;
1299
1403
  newUserCallbackURL?: string | undefined;
@@ -1310,7 +1414,7 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
1310
1414
  requestSignUp?: boolean | undefined;
1311
1415
  loginHint?: string | undefined;
1312
1416
  additionalData?: Record<string, any> | undefined;
1313
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth155.Prettify<{
1417
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth458.Prettify<{
1314
1418
  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";
1315
1419
  callbackURL?: string | undefined;
1316
1420
  newUserCallbackURL?: string | undefined;
@@ -1329,7 +1433,7 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
1329
1433
  additionalData?: Record<string, any> | undefined;
1330
1434
  } & {
1331
1435
  fetchOptions?: FetchOptions | undefined;
1332
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<NonNullable<{
1436
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch193.BetterFetchResponse<NonNullable<{
1333
1437
  redirect: boolean;
1334
1438
  url: string;
1335
1439
  } | {
@@ -1351,10 +1455,10 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
1351
1455
  }, FetchOptions["throw"] extends true ? true : false>>;
1352
1456
  };
1353
1457
  } & {
1354
- signOut: <FetchOptions extends better_auth155.ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth155.Prettify<{
1458
+ signOut: <FetchOptions extends better_auth458.ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth458.Prettify<{
1355
1459
  query?: Record<string, any> | undefined;
1356
1460
  fetchOptions?: FetchOptions | undefined;
1357
- }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<{
1461
+ }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch193.BetterFetchResponse<{
1358
1462
  success: boolean;
1359
1463
  }, {
1360
1464
  code?: string | undefined;
@@ -1362,21 +1466,23 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
1362
1466
  }, FetchOptions["throw"] extends true ? true : false>>;
1363
1467
  } & {
1364
1468
  signUp: {
1365
- email: <FetchOptions extends better_auth155.ClientFetchOption<Partial<{
1469
+ email: <FetchOptions extends better_auth458.ClientFetchOption<Partial<{
1366
1470
  name: string;
1367
1471
  email: string;
1368
1472
  password: string;
1369
1473
  image?: string | undefined;
1370
1474
  callbackURL?: string | undefined;
1371
1475
  rememberMe?: boolean | undefined;
1372
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth155.Prettify<{
1476
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth458.Prettify<{
1373
1477
  email: string;
1374
1478
  name: string;
1375
1479
  password: string;
1376
1480
  image?: string | undefined;
1377
1481
  callbackURL?: string | undefined;
1378
1482
  fetchOptions?: FetchOptions | undefined;
1379
- } & {} & {}>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<NonNullable<{
1483
+ } & {} & {} & {} & {
1484
+ phoneNumber?: string | null | undefined;
1485
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch193.BetterFetchResponse<NonNullable<{
1380
1486
  token: null;
1381
1487
  user: {
1382
1488
  id: string;
@@ -1405,19 +1511,19 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
1405
1511
  };
1406
1512
  } & {
1407
1513
  signIn: {
1408
- email: <FetchOptions extends better_auth155.ClientFetchOption<Partial<{
1514
+ email: <FetchOptions extends better_auth458.ClientFetchOption<Partial<{
1409
1515
  email: string;
1410
1516
  password: string;
1411
1517
  callbackURL?: string | undefined;
1412
1518
  rememberMe?: boolean | undefined;
1413
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth155.Prettify<{
1519
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth458.Prettify<{
1414
1520
  email: string;
1415
1521
  password: string;
1416
1522
  callbackURL?: string | undefined;
1417
1523
  rememberMe?: boolean | undefined;
1418
1524
  } & {
1419
1525
  fetchOptions?: FetchOptions | undefined;
1420
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<{
1526
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch193.BetterFetchResponse<{
1421
1527
  redirect: boolean;
1422
1528
  token: string;
1423
1529
  url?: string | undefined;
@@ -1436,80 +1542,80 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
1436
1542
  }, FetchOptions["throw"] extends true ? true : false>>;
1437
1543
  };
1438
1544
  } & {
1439
- resetPassword: <FetchOptions extends better_auth155.ClientFetchOption<Partial<{
1545
+ resetPassword: <FetchOptions extends better_auth458.ClientFetchOption<Partial<{
1440
1546
  newPassword: string;
1441
1547
  token?: string | undefined;
1442
1548
  }> & Record<string, any>, Partial<{
1443
1549
  token?: string | undefined;
1444
- }> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth155.Prettify<{
1550
+ }> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth458.Prettify<{
1445
1551
  newPassword: string;
1446
1552
  token?: string | undefined;
1447
1553
  } & {
1448
1554
  fetchOptions?: FetchOptions | undefined;
1449
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<{
1555
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch193.BetterFetchResponse<{
1450
1556
  status: boolean;
1451
1557
  }, {
1452
1558
  code?: string | undefined;
1453
1559
  message?: string | undefined;
1454
1560
  }, FetchOptions["throw"] extends true ? true : false>>;
1455
1561
  } & {
1456
- verifyEmail: <FetchOptions extends better_auth155.ClientFetchOption<never, Partial<{
1562
+ verifyEmail: <FetchOptions extends better_auth458.ClientFetchOption<never, Partial<{
1457
1563
  token: string;
1458
1564
  callbackURL?: string | undefined;
1459
- }> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth155.Prettify<{
1565
+ }> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth458.Prettify<{
1460
1566
  query: {
1461
1567
  token: string;
1462
1568
  callbackURL?: string | undefined;
1463
1569
  };
1464
1570
  fetchOptions?: FetchOptions | undefined;
1465
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<NonNullable<void | {
1571
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch193.BetterFetchResponse<NonNullable<void | {
1466
1572
  status: boolean;
1467
1573
  }>, {
1468
1574
  code?: string | undefined;
1469
1575
  message?: string | undefined;
1470
1576
  }, FetchOptions["throw"] extends true ? true : false>>;
1471
1577
  } & {
1472
- sendVerificationEmail: <FetchOptions extends better_auth155.ClientFetchOption<Partial<{
1578
+ sendVerificationEmail: <FetchOptions extends better_auth458.ClientFetchOption<Partial<{
1473
1579
  email: string;
1474
1580
  callbackURL?: string | undefined;
1475
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth155.Prettify<{
1581
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth458.Prettify<{
1476
1582
  email: string;
1477
1583
  callbackURL?: string | undefined;
1478
1584
  } & {
1479
1585
  fetchOptions?: FetchOptions | undefined;
1480
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<{
1586
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch193.BetterFetchResponse<{
1481
1587
  status: boolean;
1482
1588
  }, {
1483
1589
  code?: string | undefined;
1484
1590
  message?: string | undefined;
1485
1591
  }, FetchOptions["throw"] extends true ? true : false>>;
1486
1592
  } & {
1487
- changeEmail: <FetchOptions extends better_auth155.ClientFetchOption<Partial<{
1593
+ changeEmail: <FetchOptions extends better_auth458.ClientFetchOption<Partial<{
1488
1594
  newEmail: string;
1489
1595
  callbackURL?: string | undefined;
1490
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth155.Prettify<{
1596
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth458.Prettify<{
1491
1597
  newEmail: string;
1492
1598
  callbackURL?: string | undefined;
1493
1599
  } & {
1494
1600
  fetchOptions?: FetchOptions | undefined;
1495
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<{
1601
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch193.BetterFetchResponse<{
1496
1602
  status: boolean;
1497
1603
  }, {
1498
1604
  code?: string | undefined;
1499
1605
  message?: string | undefined;
1500
1606
  }, FetchOptions["throw"] extends true ? true : false>>;
1501
1607
  } & {
1502
- changePassword: <FetchOptions extends better_auth155.ClientFetchOption<Partial<{
1608
+ changePassword: <FetchOptions extends better_auth458.ClientFetchOption<Partial<{
1503
1609
  newPassword: string;
1504
1610
  currentPassword: string;
1505
1611
  revokeOtherSessions?: boolean | undefined;
1506
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth155.Prettify<{
1612
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth458.Prettify<{
1507
1613
  newPassword: string;
1508
1614
  currentPassword: string;
1509
1615
  revokeOtherSessions?: boolean | undefined;
1510
1616
  } & {
1511
1617
  fetchOptions?: FetchOptions | undefined;
1512
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<{
1618
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch193.BetterFetchResponse<{
1513
1619
  token: string | null;
1514
1620
  user: {
1515
1621
  id: string;
@@ -1525,31 +1631,33 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
1525
1631
  message?: string | undefined;
1526
1632
  }, FetchOptions["throw"] extends true ? true : false>>;
1527
1633
  } & {
1528
- updateUser: <FetchOptions extends better_auth155.ClientFetchOption<Partial<Partial<{}> & {
1634
+ updateUser: <FetchOptions extends better_auth458.ClientFetchOption<Partial<Partial<{}> & {
1529
1635
  name?: string | undefined;
1530
1636
  image?: string | undefined | null;
1531
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth155.Prettify<{
1637
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth458.Prettify<{
1532
1638
  image?: (string | null) | undefined;
1533
1639
  name?: string | undefined;
1534
1640
  fetchOptions?: FetchOptions | undefined;
1535
- } & Partial<{} & {}>> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<{
1641
+ } & Partial<{} & {} & {} & {
1642
+ phoneNumber?: string | null | undefined;
1643
+ }>> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch193.BetterFetchResponse<{
1536
1644
  status: boolean;
1537
1645
  }, {
1538
1646
  code?: string | undefined;
1539
1647
  message?: string | undefined;
1540
1648
  }, FetchOptions["throw"] extends true ? true : false>>;
1541
1649
  } & {
1542
- deleteUser: <FetchOptions extends better_auth155.ClientFetchOption<Partial<{
1650
+ deleteUser: <FetchOptions extends better_auth458.ClientFetchOption<Partial<{
1543
1651
  callbackURL?: string | undefined;
1544
1652
  password?: string | undefined;
1545
1653
  token?: string | undefined;
1546
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth155.Prettify<{
1654
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth458.Prettify<{
1547
1655
  callbackURL?: string | undefined;
1548
1656
  password?: string | undefined;
1549
1657
  token?: string | undefined;
1550
1658
  } & {
1551
1659
  fetchOptions?: FetchOptions | undefined;
1552
- }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<{
1660
+ }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch193.BetterFetchResponse<{
1553
1661
  success: boolean;
1554
1662
  message: string;
1555
1663
  }, {
@@ -1557,15 +1665,15 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
1557
1665
  message?: string | undefined;
1558
1666
  }, FetchOptions["throw"] extends true ? true : false>>;
1559
1667
  } & {
1560
- requestPasswordReset: <FetchOptions extends better_auth155.ClientFetchOption<Partial<{
1668
+ requestPasswordReset: <FetchOptions extends better_auth458.ClientFetchOption<Partial<{
1561
1669
  email: string;
1562
1670
  redirectTo?: string | undefined;
1563
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth155.Prettify<{
1671
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth458.Prettify<{
1564
1672
  email: string;
1565
1673
  redirectTo?: string | undefined;
1566
1674
  } & {
1567
1675
  fetchOptions?: FetchOptions | undefined;
1568
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<{
1676
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch193.BetterFetchResponse<{
1569
1677
  status: boolean;
1570
1678
  message: string;
1571
1679
  }, {
@@ -1574,25 +1682,25 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
1574
1682
  }, FetchOptions["throw"] extends true ? true : false>>;
1575
1683
  } & {
1576
1684
  resetPassword: {
1577
- ":token": <FetchOptions extends better_auth155.ClientFetchOption<never, Partial<{
1685
+ ":token": <FetchOptions extends better_auth458.ClientFetchOption<never, Partial<{
1578
1686
  callbackURL: string;
1579
1687
  }> & Record<string, any>, {
1580
1688
  token: string;
1581
- }>>(data_0: better_auth155.Prettify<{
1689
+ }>>(data_0: better_auth458.Prettify<{
1582
1690
  query: {
1583
1691
  callbackURL: string;
1584
1692
  };
1585
1693
  fetchOptions?: FetchOptions | undefined;
1586
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<never, {
1694
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch193.BetterFetchResponse<never, {
1587
1695
  code?: string | undefined;
1588
1696
  message?: string | undefined;
1589
1697
  }, FetchOptions["throw"] extends true ? true : false>>;
1590
1698
  };
1591
1699
  } & {
1592
- listSessions: <FetchOptions extends better_auth155.ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth155.Prettify<{
1700
+ listSessions: <FetchOptions extends better_auth458.ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth458.Prettify<{
1593
1701
  query?: Record<string, any> | undefined;
1594
1702
  fetchOptions?: FetchOptions | undefined;
1595
- }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<better_auth155.Prettify<{
1703
+ }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch193.BetterFetchResponse<better_auth458.Prettify<{
1596
1704
  id: string;
1597
1705
  createdAt: Date;
1598
1706
  updatedAt: Date;
@@ -1606,40 +1714,40 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
1606
1714
  message?: string | undefined;
1607
1715
  }, FetchOptions["throw"] extends true ? true : false>>;
1608
1716
  } & {
1609
- revokeSession: <FetchOptions extends better_auth155.ClientFetchOption<Partial<{
1717
+ revokeSession: <FetchOptions extends better_auth458.ClientFetchOption<Partial<{
1610
1718
  token: string;
1611
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth155.Prettify<{
1719
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth458.Prettify<{
1612
1720
  token: string;
1613
1721
  } & {
1614
1722
  fetchOptions?: FetchOptions | undefined;
1615
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<{
1723
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch193.BetterFetchResponse<{
1616
1724
  status: boolean;
1617
1725
  }, {
1618
1726
  code?: string | undefined;
1619
1727
  message?: string | undefined;
1620
1728
  }, FetchOptions["throw"] extends true ? true : false>>;
1621
1729
  } & {
1622
- revokeSessions: <FetchOptions extends better_auth155.ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth155.Prettify<{
1730
+ revokeSessions: <FetchOptions extends better_auth458.ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth458.Prettify<{
1623
1731
  query?: Record<string, any> | undefined;
1624
1732
  fetchOptions?: FetchOptions | undefined;
1625
- }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<{
1733
+ }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch193.BetterFetchResponse<{
1626
1734
  status: boolean;
1627
1735
  }, {
1628
1736
  code?: string | undefined;
1629
1737
  message?: string | undefined;
1630
1738
  }, FetchOptions["throw"] extends true ? true : false>>;
1631
1739
  } & {
1632
- revokeOtherSessions: <FetchOptions extends better_auth155.ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth155.Prettify<{
1740
+ revokeOtherSessions: <FetchOptions extends better_auth458.ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth458.Prettify<{
1633
1741
  query?: Record<string, any> | undefined;
1634
1742
  fetchOptions?: FetchOptions | undefined;
1635
- }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<{
1743
+ }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch193.BetterFetchResponse<{
1636
1744
  status: boolean;
1637
1745
  }, {
1638
1746
  code?: string | undefined;
1639
1747
  message?: string | undefined;
1640
1748
  }, FetchOptions["throw"] extends true ? true : false>>;
1641
1749
  } & {
1642
- linkSocial: <FetchOptions extends better_auth155.ClientFetchOption<Partial<{
1750
+ linkSocial: <FetchOptions extends better_auth458.ClientFetchOption<Partial<{
1643
1751
  provider: unknown;
1644
1752
  callbackURL?: string | undefined;
1645
1753
  idToken?: {
@@ -1654,7 +1762,7 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
1654
1762
  errorCallbackURL?: string | undefined;
1655
1763
  disableRedirect?: boolean | undefined;
1656
1764
  additionalData?: Record<string, any> | undefined;
1657
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth155.Prettify<{
1765
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth458.Prettify<{
1658
1766
  provider: unknown;
1659
1767
  callbackURL?: string | undefined;
1660
1768
  idToken?: {
@@ -1671,7 +1779,7 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
1671
1779
  additionalData?: Record<string, any> | undefined;
1672
1780
  } & {
1673
1781
  fetchOptions?: FetchOptions | undefined;
1674
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<{
1782
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch193.BetterFetchResponse<{
1675
1783
  url: string;
1676
1784
  redirect: boolean;
1677
1785
  }, {
@@ -1679,10 +1787,10 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
1679
1787
  message?: string | undefined;
1680
1788
  }, FetchOptions["throw"] extends true ? true : false>>;
1681
1789
  } & {
1682
- listAccounts: <FetchOptions extends better_auth155.ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth155.Prettify<{
1790
+ listAccounts: <FetchOptions extends better_auth458.ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth458.Prettify<{
1683
1791
  query?: Record<string, any> | undefined;
1684
1792
  fetchOptions?: FetchOptions | undefined;
1685
- }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<{
1793
+ }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch193.BetterFetchResponse<{
1686
1794
  scopes: string[];
1687
1795
  id: string;
1688
1796
  createdAt: Date;
@@ -1696,16 +1804,16 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
1696
1804
  }, FetchOptions["throw"] extends true ? true : false>>;
1697
1805
  } & {
1698
1806
  deleteUser: {
1699
- callback: <FetchOptions extends better_auth155.ClientFetchOption<never, Partial<{
1807
+ callback: <FetchOptions extends better_auth458.ClientFetchOption<never, Partial<{
1700
1808
  token: string;
1701
1809
  callbackURL?: string | undefined;
1702
- }> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth155.Prettify<{
1810
+ }> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth458.Prettify<{
1703
1811
  query: {
1704
1812
  token: string;
1705
1813
  callbackURL?: string | undefined;
1706
1814
  };
1707
1815
  fetchOptions?: FetchOptions | undefined;
1708
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<{
1816
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch193.BetterFetchResponse<{
1709
1817
  success: boolean;
1710
1818
  message: string;
1711
1819
  }, {
@@ -1714,32 +1822,32 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
1714
1822
  }, FetchOptions["throw"] extends true ? true : false>>;
1715
1823
  };
1716
1824
  } & {
1717
- unlinkAccount: <FetchOptions extends better_auth155.ClientFetchOption<Partial<{
1825
+ unlinkAccount: <FetchOptions extends better_auth458.ClientFetchOption<Partial<{
1718
1826
  providerId: string;
1719
1827
  accountId?: string | undefined;
1720
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth155.Prettify<{
1828
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth458.Prettify<{
1721
1829
  providerId: string;
1722
1830
  accountId?: string | undefined;
1723
1831
  } & {
1724
1832
  fetchOptions?: FetchOptions | undefined;
1725
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<{
1833
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch193.BetterFetchResponse<{
1726
1834
  status: boolean;
1727
1835
  }, {
1728
1836
  code?: string | undefined;
1729
1837
  message?: string | undefined;
1730
1838
  }, FetchOptions["throw"] extends true ? true : false>>;
1731
1839
  } & {
1732
- refreshToken: <FetchOptions extends better_auth155.ClientFetchOption<Partial<{
1840
+ refreshToken: <FetchOptions extends better_auth458.ClientFetchOption<Partial<{
1733
1841
  providerId: string;
1734
1842
  accountId?: string | undefined;
1735
1843
  userId?: string | undefined;
1736
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth155.Prettify<{
1844
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth458.Prettify<{
1737
1845
  providerId: string;
1738
1846
  accountId?: string | undefined;
1739
1847
  userId?: string | undefined;
1740
1848
  } & {
1741
1849
  fetchOptions?: FetchOptions | undefined;
1742
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<{
1850
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch193.BetterFetchResponse<{
1743
1851
  accessToken: string | undefined;
1744
1852
  refreshToken: string | undefined;
1745
1853
  accessTokenExpiresAt: Date | undefined;
@@ -1753,17 +1861,17 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
1753
1861
  message?: string | undefined;
1754
1862
  }, FetchOptions["throw"] extends true ? true : false>>;
1755
1863
  } & {
1756
- getAccessToken: <FetchOptions extends better_auth155.ClientFetchOption<Partial<{
1864
+ getAccessToken: <FetchOptions extends better_auth458.ClientFetchOption<Partial<{
1757
1865
  providerId: string;
1758
1866
  accountId?: string | undefined;
1759
1867
  userId?: string | undefined;
1760
- }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth155.Prettify<{
1868
+ }> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth458.Prettify<{
1761
1869
  providerId: string;
1762
1870
  accountId?: string | undefined;
1763
1871
  userId?: string | undefined;
1764
1872
  } & {
1765
1873
  fetchOptions?: FetchOptions | undefined;
1766
- }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<{
1874
+ }>, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch193.BetterFetchResponse<{
1767
1875
  accessToken: string;
1768
1876
  accessTokenExpiresAt: Date | undefined;
1769
1877
  scopes: string[];
@@ -1773,31 +1881,31 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
1773
1881
  message?: string | undefined;
1774
1882
  }, FetchOptions["throw"] extends true ? true : false>>;
1775
1883
  } & {
1776
- accountInfo: <FetchOptions extends better_auth155.ClientFetchOption<never, Partial<{
1884
+ accountInfo: <FetchOptions extends better_auth458.ClientFetchOption<never, Partial<{
1777
1885
  accountId?: string | undefined;
1778
- }> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth155.Prettify<{
1886
+ }> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth458.Prettify<{
1779
1887
  query?: {
1780
1888
  accountId?: string | undefined;
1781
1889
  } | undefined;
1782
1890
  fetchOptions?: FetchOptions | undefined;
1783
- }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<{
1784
- user: better_auth155.OAuth2UserInfo;
1891
+ }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch193.BetterFetchResponse<{
1892
+ user: better_auth458.OAuth2UserInfo;
1785
1893
  data: Record<string, any>;
1786
1894
  }, {
1787
1895
  code?: string | undefined;
1788
1896
  message?: string | undefined;
1789
1897
  }, FetchOptions["throw"] extends true ? true : false>>;
1790
1898
  } & {
1791
- getSession: <FetchOptions extends better_auth155.ClientFetchOption<never, Partial<{
1899
+ getSession: <FetchOptions extends better_auth458.ClientFetchOption<never, Partial<{
1792
1900
  disableCookieCache?: unknown;
1793
1901
  disableRefresh?: unknown;
1794
- }> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth155.Prettify<{
1902
+ }> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth458.Prettify<{
1795
1903
  query?: {
1796
1904
  disableCookieCache?: unknown;
1797
1905
  disableRefresh?: unknown;
1798
1906
  } | undefined;
1799
1907
  fetchOptions?: FetchOptions | undefined;
1800
- }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch91.BetterFetchResponse<{
1908
+ }> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch193.BetterFetchResponse<{
1801
1909
  user: {
1802
1910
  id: string;
1803
1911
  createdAt: Date;
@@ -1810,6 +1918,8 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
1810
1918
  role?: string | null | undefined;
1811
1919
  banReason?: string | null | undefined;
1812
1920
  banExpires?: Date | null | undefined;
1921
+ phoneNumber?: string | null | undefined;
1922
+ phoneNumberVerified?: boolean | null | undefined;
1813
1923
  };
1814
1924
  session: {
1815
1925
  id: string;
@@ -1851,7 +1961,7 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
1851
1961
  statusText: string;
1852
1962
  };
1853
1963
  } | {
1854
- data: jose0.JSONWebKeySet;
1964
+ data: jose6.JSONWebKeySet;
1855
1965
  error: null;
1856
1966
  }>;
1857
1967
  } & {
@@ -1893,7 +2003,7 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
1893
2003
  organizationId: string;
1894
2004
  email: string;
1895
2005
  role: "admin" | "member" | "owner";
1896
- status: better_auth_plugins21.InvitationStatus;
2006
+ status: better_auth_plugins93.InvitationStatus;
1897
2007
  inviterId: string;
1898
2008
  expiresAt: Date;
1899
2009
  createdAt: Date;
@@ -1919,7 +2029,7 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
1919
2029
  organizationId: string;
1920
2030
  email: string;
1921
2031
  role: "admin" | "member" | "owner";
1922
- status: better_auth_plugins21.InvitationStatus;
2032
+ status: better_auth_plugins93.InvitationStatus;
1923
2033
  inviterId: string;
1924
2034
  expiresAt: Date;
1925
2035
  createdAt: Date;
@@ -1983,6 +2093,8 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
1983
2093
  role?: string | null | undefined;
1984
2094
  banReason?: string | null | undefined;
1985
2095
  banExpires?: Date | null | undefined;
2096
+ phoneNumber?: string | null | undefined;
2097
+ phoneNumberVerified?: boolean | null | undefined;
1986
2098
  };
1987
2099
  session: {
1988
2100
  id: string;
@@ -1999,9 +2111,9 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
1999
2111
  } | null;
2000
2112
  isPending: boolean;
2001
2113
  isRefetching: boolean;
2002
- error: _better_fetch_fetch91.BetterFetchError | null;
2114
+ error: _better_fetch_fetch193.BetterFetchError | null;
2003
2115
  refetch: (queryParams?: {
2004
- query?: better_auth155.SessionQueryParams;
2116
+ query?: better_auth458.SessionQueryParams;
2005
2117
  } | undefined) => Promise<void>;
2006
2118
  };
2007
2119
  $Infer: {
@@ -2018,6 +2130,8 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
2018
2130
  role?: string | null | undefined;
2019
2131
  banReason?: string | null | undefined;
2020
2132
  banExpires?: Date | null | undefined;
2133
+ phoneNumber?: string | null | undefined;
2134
+ phoneNumberVerified?: boolean | null | undefined;
2021
2135
  };
2022
2136
  session: {
2023
2137
  id: string;
@@ -2033,21 +2147,21 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
2033
2147
  };
2034
2148
  };
2035
2149
  };
2036
- $fetch: _better_fetch_fetch91.BetterFetch<{
2037
- plugins: (_better_fetch_fetch91.BetterFetchPlugin<Record<string, any>> | {
2150
+ $fetch: _better_fetch_fetch193.BetterFetch<{
2151
+ plugins: (_better_fetch_fetch193.BetterFetchPlugin<Record<string, any>> | {
2038
2152
  id: string;
2039
2153
  name: string;
2040
2154
  hooks: {
2041
- onSuccess(context: _better_fetch_fetch91.SuccessContext<any>): void;
2155
+ onSuccess(context: _better_fetch_fetch193.SuccessContext<any>): void;
2042
2156
  };
2043
2157
  } | {
2044
2158
  id: string;
2045
2159
  name: string;
2046
2160
  hooks: {
2047
- onSuccess: ((context: _better_fetch_fetch91.SuccessContext<any>) => Promise<void> | void) | undefined;
2048
- onError: ((context: _better_fetch_fetch91.ErrorContext) => Promise<void> | void) | undefined;
2049
- onRequest: (<T extends Record<string, any>>(context: _better_fetch_fetch91.RequestContext<T>) => Promise<_better_fetch_fetch91.RequestContext | void> | _better_fetch_fetch91.RequestContext | void) | undefined;
2050
- onResponse: ((context: _better_fetch_fetch91.ResponseContext) => Promise<Response | void | _better_fetch_fetch91.ResponseContext> | Response | _better_fetch_fetch91.ResponseContext | void) | undefined;
2161
+ onSuccess: ((context: _better_fetch_fetch193.SuccessContext<any>) => Promise<void> | void) | undefined;
2162
+ onError: ((context: _better_fetch_fetch193.ErrorContext) => Promise<void> | void) | undefined;
2163
+ onRequest: (<T extends Record<string, any>>(context: _better_fetch_fetch193.RequestContext<T>) => Promise<_better_fetch_fetch193.RequestContext | void> | _better_fetch_fetch193.RequestContext | void) | undefined;
2164
+ onResponse: ((context: _better_fetch_fetch193.ResponseContext) => Promise<Response | void | _better_fetch_fetch193.ResponseContext> | Response | _better_fetch_fetch193.ResponseContext | void) | undefined;
2051
2165
  };
2052
2166
  })[];
2053
2167
  cache?: RequestCache | undefined;
@@ -2067,12 +2181,12 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
2067
2181
  referrer?: string | undefined;
2068
2182
  referrerPolicy?: ReferrerPolicy | undefined;
2069
2183
  signal?: (AbortSignal | null) | undefined;
2070
- onRetry?: ((response: _better_fetch_fetch91.ResponseContext) => Promise<void> | void) | undefined;
2184
+ onRetry?: ((response: _better_fetch_fetch193.ResponseContext) => Promise<void> | void) | undefined;
2071
2185
  hookOptions?: {
2072
2186
  cloneResponse?: boolean;
2073
2187
  } | undefined;
2074
2188
  timeout?: number | undefined;
2075
- customFetchImpl: _better_fetch_fetch91.FetchEsque;
2189
+ customFetchImpl: _better_fetch_fetch193.FetchEsque;
2076
2190
  baseURL: string;
2077
2191
  throw?: boolean | undefined;
2078
2192
  auth?: ({
@@ -2092,17 +2206,17 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
2092
2206
  params?: any;
2093
2207
  duplex?: "full" | "half" | undefined;
2094
2208
  jsonParser: (text: string) => Promise<any> | any;
2095
- retry?: _better_fetch_fetch91.RetryOptions | undefined;
2209
+ retry?: _better_fetch_fetch193.RetryOptions | undefined;
2096
2210
  retryAttempt?: number | undefined;
2097
- output?: (_better_fetch_fetch91.StandardSchemaV1 | typeof Blob | typeof File) | undefined;
2098
- errorSchema?: _better_fetch_fetch91.StandardSchemaV1 | undefined;
2211
+ output?: (_better_fetch_fetch193.StandardSchemaV1 | typeof Blob | typeof File) | undefined;
2212
+ errorSchema?: _better_fetch_fetch193.StandardSchemaV1 | undefined;
2099
2213
  disableValidation?: boolean | undefined;
2100
2214
  disableSignal?: boolean | undefined;
2101
2215
  }, unknown, unknown, {}>;
2102
2216
  $store: {
2103
2217
  notify: (signal?: (Omit<string, "$sessionSignal"> | "$sessionSignal") | undefined) => void;
2104
2218
  listen: (signal: Omit<string, "$sessionSignal"> | "$sessionSignal", listener: (value: boolean, oldValue?: boolean | undefined) => void) => void;
2105
- atoms: Record<string, better_auth_react0.WritableAtom<any>>;
2219
+ atoms: Record<string, better_auth_react6.WritableAtom<any>>;
2106
2220
  };
2107
2221
  $ERROR_CODES: {
2108
2222
  readonly FAILED_TO_CREATE_USER: "Failed to create user";
@@ -2185,6 +2299,15 @@ declare class BetterAuthReactAdapterImpl extends NeonAuthAdapterCore {
2185
2299
  readonly OTP_EXPIRED: "OTP expired";
2186
2300
  readonly INVALID_OTP: "Invalid OTP";
2187
2301
  readonly TOO_MANY_ATTEMPTS: "Too many attempts";
2302
+ readonly INVALID_PHONE_NUMBER: "Invalid phone number";
2303
+ readonly PHONE_NUMBER_EXIST: "Phone number already exists";
2304
+ readonly PHONE_NUMBER_NOT_EXIST: "phone number isn't registered";
2305
+ readonly INVALID_PHONE_NUMBER_OR_PASSWORD: "Invalid phone number or password";
2306
+ readonly UNEXPECTED_ERROR: "Unexpected error";
2307
+ readonly OTP_NOT_FOUND: "OTP not found";
2308
+ readonly PHONE_NUMBER_NOT_VERIFIED: "Phone number not verified";
2309
+ readonly PHONE_NUMBER_CANNOT_BE_UPDATED: "Phone number cannot be updated";
2310
+ readonly SEND_OTP_NOT_IMPLEMENTED: "sendOTP not implemented";
2188
2311
  readonly USER_NOT_FOUND: "User not found";
2189
2312
  readonly FAILED_TO_CREATE_SESSION: "Failed to create session";
2190
2313
  readonly FAILED_TO_UPDATE_USER: "Failed to update user";