better-auth 1.4.20 → 1.4.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (61) hide show
  1. package/dist/adapters/memory-adapter/memory-adapter.d.mts +2 -2
  2. package/dist/api/index.d.mts +99 -99
  3. package/dist/api/routes/account.d.mts +11 -11
  4. package/dist/api/routes/callback.d.mts +2 -2
  5. package/dist/api/routes/email-verification.d.mts +4 -4
  6. package/dist/api/routes/error.d.mts +2 -2
  7. package/dist/api/routes/ok.d.mts +2 -2
  8. package/dist/api/routes/password.d.mts +7 -7
  9. package/dist/api/routes/session.d.mts +14 -14
  10. package/dist/api/routes/sign-in.d.mts +4 -4
  11. package/dist/api/routes/sign-out.d.mts +2 -2
  12. package/dist/api/routes/sign-up.d.mts +3 -3
  13. package/dist/api/routes/update-user.d.mts +13 -13
  14. package/dist/client/lynx/index.d.mts +13 -13
  15. package/dist/client/react/index.d.mts +13 -13
  16. package/dist/client/solid/index.d.mts +13 -13
  17. package/dist/client/svelte/index.d.mts +15 -15
  18. package/dist/client/vanilla.d.mts +15 -15
  19. package/dist/client/vue/index.d.mts +15 -15
  20. package/dist/db/field.d.mts +3 -3
  21. package/dist/integrations/svelte-kit.d.mts +2 -2
  22. package/dist/integrations/tanstack-start-solid.d.mts +4 -4
  23. package/dist/integrations/tanstack-start.d.mts +4 -4
  24. package/dist/plugins/admin/admin.d.mts +3 -3
  25. package/dist/plugins/anonymous/index.d.mts +7 -7
  26. package/dist/plugins/api-key/index.d.mts +36 -36
  27. package/dist/plugins/bearer/index.d.mts +6 -6
  28. package/dist/plugins/captcha/index.d.mts +2 -2
  29. package/dist/plugins/custom-session/index.d.mts +5 -5
  30. package/dist/plugins/device-authorization/index.d.mts +6 -6
  31. package/dist/plugins/email-otp/index.d.mts +14 -14
  32. package/dist/plugins/generic-oauth/index.d.mts +5 -5
  33. package/dist/plugins/haveibeenpwned/index.d.mts +3 -3
  34. package/dist/plugins/jwt/client.d.mts +2 -2
  35. package/dist/plugins/jwt/index.d.mts +9 -9
  36. package/dist/plugins/last-login-method/index.d.mts +4 -4
  37. package/dist/plugins/magic-link/index.d.mts +4 -4
  38. package/dist/plugins/mcp/index.d.mts +10 -10
  39. package/dist/plugins/multi-session/index.d.mts +9 -9
  40. package/dist/plugins/oauth-proxy/index.d.mts +8 -8
  41. package/dist/plugins/oidc-provider/index.d.mts +13 -13
  42. package/dist/plugins/one-tap/client.d.mts +5 -5
  43. package/dist/plugins/one-tap/index.d.mts +2 -2
  44. package/dist/plugins/one-time-token/index.d.mts +5 -5
  45. package/dist/plugins/open-api/index.d.mts +3 -3
  46. package/dist/plugins/organization/adapter.d.mts +24 -24
  47. package/dist/plugins/organization/client.d.mts +9 -9
  48. package/dist/plugins/organization/organization.d.mts +3 -3
  49. package/dist/plugins/organization/routes/crud-access-control.d.mts +22 -22
  50. package/dist/plugins/organization/routes/crud-invites.d.mts +69 -69
  51. package/dist/plugins/organization/routes/crud-members.d.mts +67 -67
  52. package/dist/plugins/organization/routes/crud-org.d.mts +59 -59
  53. package/dist/plugins/organization/routes/crud-team.d.mts +79 -79
  54. package/dist/plugins/phone-number/index.d.mts +9 -9
  55. package/dist/plugins/siwe/index.d.mts +3 -3
  56. package/dist/plugins/two-factor/client.d.mts +2 -2
  57. package/dist/plugins/two-factor/index.d.mts +18 -18
  58. package/dist/plugins/username/index.d.mts +4 -4
  59. package/dist/plugins/username/schema.d.mts +3 -3
  60. package/dist/test-utils/test-instance.d.mts +312 -312
  61. package/package.json +3 -3
@@ -6,13 +6,13 @@ import { InferInvitation, InferMember, InferTeam } from "../schema.mjs";
6
6
  import "../../index.mjs";
7
7
  import { defaultRoles } from "../access/statement.mjs";
8
8
  import "../access/index.mjs";
9
- import * as _better_auth_core59 from "@better-auth/core";
10
- import * as _better_auth_core_db132 from "@better-auth/core/db";
11
- import * as better_call934 from "better-call";
9
+ import * as _better_auth_core68 from "@better-auth/core";
10
+ import * as _better_auth_core_db167 from "@better-auth/core/db";
11
+ import * as better_call982 from "better-call";
12
12
  import * as z from "zod";
13
13
 
14
14
  //#region src/plugins/organization/routes/crud-org.d.ts
15
- declare const createOrganization: <O extends OrganizationOptions>(options?: O | undefined) => better_call934.StrictEndpoint<"/organization/create", {
15
+ declare const createOrganization: <O extends OrganizationOptions>(options?: O | undefined) => better_call982.StrictEndpoint<"/organization/create", {
16
16
  method: "POST";
17
17
  body: z.ZodObject<{
18
18
  name: z.ZodString;
@@ -22,17 +22,17 @@ declare const createOrganization: <O extends OrganizationOptions>(options?: O |
22
22
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
23
23
  keepCurrentActiveOrganization: z.ZodOptional<z.ZodBoolean>;
24
24
  }, z.core.$strip>;
25
- use: ((inputContext: better_call934.MiddlewareInputContext<better_call934.MiddlewareOptions>) => Promise<{
25
+ use: ((inputContext: better_call982.MiddlewareInputContext<better_call982.MiddlewareOptions>) => Promise<{
26
26
  orgOptions: OrganizationOptions;
27
27
  roles: typeof defaultRoles & {
28
28
  [key: string]: Role<{}>;
29
29
  };
30
- getSession: (context: _better_auth_core59.GenericEndpointContext) => Promise<{
31
- session: _better_auth_core_db132.Session & {
30
+ getSession: (context: _better_auth_core68.GenericEndpointContext) => Promise<{
31
+ session: _better_auth_core_db167.Session & {
32
32
  activeTeamId?: string | undefined;
33
33
  activeOrganizationId?: string | undefined;
34
34
  };
35
- user: _better_auth_core_db132.User;
35
+ user: _better_auth_core_db167.User;
36
36
  }>;
37
37
  }>)[];
38
38
  metadata: {
@@ -73,7 +73,7 @@ declare const createOrganization: <O extends OrganizationOptions>(options?: O |
73
73
  metadata?: any;
74
74
  } & (O["schema"] extends {
75
75
  organization?: {
76
- additionalFields: infer Field extends Record<string, _better_auth_core_db132.DBFieldAttribute>;
76
+ additionalFields: infer Field extends Record<string, _better_auth_core_db167.DBFieldAttribute>;
77
77
  } | undefined;
78
78
  } ? FieldAttributeToObject<RemoveFieldsWithReturnedFalse<Field>> : {}) extends infer T ? { [K in keyof T]: T[K] } : never) & {
79
79
  metadata: any;
@@ -85,12 +85,12 @@ declare const createOrganization: <O extends OrganizationOptions>(options?: O |
85
85
  createdAt: Date;
86
86
  } & InferAdditionalFieldsFromPluginOptions<"member", O, false>) | undefined)[];
87
87
  }) | null>;
88
- declare const checkOrganizationSlug: <O extends OrganizationOptions>(options: O) => better_call934.StrictEndpoint<"/organization/check-slug", {
88
+ declare const checkOrganizationSlug: <O extends OrganizationOptions>(options: O) => better_call982.StrictEndpoint<"/organization/check-slug", {
89
89
  method: "POST";
90
90
  body: z.ZodObject<{
91
91
  slug: z.ZodString;
92
92
  }, z.core.$strip>;
93
- use: (((inputContext: better_call934.MiddlewareInputContext<better_call934.MiddlewareOptions>) => Promise<{
93
+ use: (((inputContext: better_call982.MiddlewareInputContext<better_call982.MiddlewareOptions>) => Promise<{
94
94
  session: {
95
95
  session: Record<string, any> & {
96
96
  id: string;
@@ -112,23 +112,23 @@ declare const checkOrganizationSlug: <O extends OrganizationOptions>(options: O)
112
112
  image?: string | null | undefined;
113
113
  };
114
114
  } | null;
115
- }>) | ((inputContext: better_call934.MiddlewareInputContext<better_call934.MiddlewareOptions>) => Promise<{
115
+ }>) | ((inputContext: better_call982.MiddlewareInputContext<better_call982.MiddlewareOptions>) => Promise<{
116
116
  orgOptions: OrganizationOptions;
117
117
  roles: typeof defaultRoles & {
118
118
  [key: string]: Role<{}>;
119
119
  };
120
- getSession: (context: _better_auth_core59.GenericEndpointContext) => Promise<{
121
- session: _better_auth_core_db132.Session & {
120
+ getSession: (context: _better_auth_core68.GenericEndpointContext) => Promise<{
121
+ session: _better_auth_core_db167.Session & {
122
122
  activeTeamId?: string | undefined;
123
123
  activeOrganizationId?: string | undefined;
124
124
  };
125
- user: _better_auth_core_db132.User;
125
+ user: _better_auth_core_db167.User;
126
126
  }>;
127
127
  }>))[];
128
128
  }, {
129
129
  status: boolean;
130
130
  }>;
131
- declare const updateOrganization: <O extends OrganizationOptions>(options?: O | undefined) => better_call934.StrictEndpoint<"/organization/update", {
131
+ declare const updateOrganization: <O extends OrganizationOptions>(options?: O | undefined) => better_call982.StrictEndpoint<"/organization/update", {
132
132
  method: "POST";
133
133
  body: z.ZodObject<{
134
134
  data: z.ZodObject<{
@@ -140,17 +140,17 @@ declare const updateOrganization: <O extends OrganizationOptions>(options?: O |
140
140
  organizationId: z.ZodOptional<z.ZodString>;
141
141
  }, z.core.$strip>;
142
142
  requireHeaders: true;
143
- use: ((inputContext: better_call934.MiddlewareInputContext<better_call934.MiddlewareOptions>) => Promise<{
143
+ use: ((inputContext: better_call982.MiddlewareInputContext<better_call982.MiddlewareOptions>) => Promise<{
144
144
  orgOptions: OrganizationOptions;
145
145
  roles: typeof defaultRoles & {
146
146
  [key: string]: Role<{}>;
147
147
  };
148
- getSession: (context: _better_auth_core59.GenericEndpointContext) => Promise<{
149
- session: _better_auth_core_db132.Session & {
148
+ getSession: (context: _better_auth_core68.GenericEndpointContext) => Promise<{
149
+ session: _better_auth_core_db167.Session & {
150
150
  activeTeamId?: string | undefined;
151
151
  activeOrganizationId?: string | undefined;
152
152
  };
153
- user: _better_auth_core_db132.User;
153
+ user: _better_auth_core_db167.User;
154
154
  }>;
155
155
  }>)[];
156
156
  metadata: {
@@ -192,26 +192,26 @@ declare const updateOrganization: <O extends OrganizationOptions>(options?: O |
192
192
  metadata?: any;
193
193
  } & (O["schema"] extends {
194
194
  organization?: {
195
- additionalFields: infer Field extends Record<string, _better_auth_core_db132.DBFieldAttribute>;
195
+ additionalFields: infer Field extends Record<string, _better_auth_core_db167.DBFieldAttribute>;
196
196
  } | undefined;
197
197
  } ? FieldAttributeToObject<RemoveFieldsWithReturnedFalse<Field>> : {}) extends infer T ? { [K in keyof T]: T[K] } : never) | null>;
198
- declare const deleteOrganization: <O extends OrganizationOptions>(options: O) => better_call934.StrictEndpoint<"/organization/delete", {
198
+ declare const deleteOrganization: <O extends OrganizationOptions>(options: O) => better_call982.StrictEndpoint<"/organization/delete", {
199
199
  method: "POST";
200
200
  body: z.ZodObject<{
201
201
  organizationId: z.ZodString;
202
202
  }, z.core.$strip>;
203
203
  requireHeaders: true;
204
- use: ((inputContext: better_call934.MiddlewareInputContext<better_call934.MiddlewareOptions>) => Promise<{
204
+ use: ((inputContext: better_call982.MiddlewareInputContext<better_call982.MiddlewareOptions>) => Promise<{
205
205
  orgOptions: OrganizationOptions;
206
206
  roles: typeof defaultRoles & {
207
207
  [key: string]: Role<{}>;
208
208
  };
209
- getSession: (context: _better_auth_core59.GenericEndpointContext) => Promise<{
210
- session: _better_auth_core_db132.Session & {
209
+ getSession: (context: _better_auth_core68.GenericEndpointContext) => Promise<{
210
+ session: _better_auth_core_db167.Session & {
211
211
  activeTeamId?: string | undefined;
212
212
  activeOrganizationId?: string | undefined;
213
213
  };
214
- user: _better_auth_core_db132.User;
214
+ user: _better_auth_core_db167.User;
215
215
  }>;
216
216
  }>)[];
217
217
  metadata: {
@@ -241,10 +241,10 @@ declare const deleteOrganization: <O extends OrganizationOptions>(options: O) =>
241
241
  metadata?: any;
242
242
  } & (O["schema"] extends {
243
243
  organization?: {
244
- additionalFields: infer Field extends Record<string, _better_auth_core_db132.DBFieldAttribute>;
244
+ additionalFields: infer Field extends Record<string, _better_auth_core_db167.DBFieldAttribute>;
245
245
  } | undefined;
246
246
  } ? FieldAttributeToObject<RemoveFieldsWithReturnedFalse<Field>> : {}) extends infer T ? { [K in keyof T]: T[K] } : never) | null>;
247
- declare const getFullOrganization: <O extends OrganizationOptions>(options: O) => better_call934.StrictEndpoint<"/organization/get-full-organization", {
247
+ declare const getFullOrganization: <O extends OrganizationOptions>(options: O) => better_call982.StrictEndpoint<"/organization/get-full-organization", {
248
248
  method: "GET";
249
249
  query: z.ZodOptional<z.ZodObject<{
250
250
  organizationId: z.ZodOptional<z.ZodString>;
@@ -252,20 +252,20 @@ declare const getFullOrganization: <O extends OrganizationOptions>(options: O) =
252
252
  membersLimit: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>]>>;
253
253
  }, z.core.$strip>>;
254
254
  requireHeaders: true;
255
- use: (((inputContext: better_call934.MiddlewareInputContext<better_call934.MiddlewareOptions>) => Promise<{
255
+ use: (((inputContext: better_call982.MiddlewareInputContext<better_call982.MiddlewareOptions>) => Promise<{
256
256
  orgOptions: OrganizationOptions;
257
257
  roles: typeof defaultRoles & {
258
258
  [key: string]: Role<{}>;
259
259
  };
260
- getSession: (context: _better_auth_core59.GenericEndpointContext) => Promise<{
261
- session: _better_auth_core_db132.Session & {
260
+ getSession: (context: _better_auth_core68.GenericEndpointContext) => Promise<{
261
+ session: _better_auth_core_db167.Session & {
262
262
  activeTeamId?: string | undefined;
263
263
  activeOrganizationId?: string | undefined;
264
264
  };
265
- user: _better_auth_core_db132.User;
265
+ user: _better_auth_core_db167.User;
266
266
  }>;
267
- }>) | ((inputContext: better_call934.MiddlewareInputContext<{
268
- use: ((inputContext: better_call934.MiddlewareInputContext<better_call934.MiddlewareOptions>) => Promise<{
267
+ }>) | ((inputContext: better_call982.MiddlewareInputContext<{
268
+ use: ((inputContext: better_call982.MiddlewareInputContext<better_call982.MiddlewareOptions>) => Promise<{
269
269
  session: {
270
270
  session: Record<string, any> & {
271
271
  id: string;
@@ -290,11 +290,11 @@ declare const getFullOrganization: <O extends OrganizationOptions>(options: O) =
290
290
  }>)[];
291
291
  }>) => Promise<{
292
292
  session: {
293
- session: _better_auth_core_db132.Session & {
293
+ session: _better_auth_core_db167.Session & {
294
294
  activeTeamId?: string | undefined;
295
295
  activeOrganizationId?: string | undefined;
296
296
  };
297
- user: _better_auth_core_db132.User;
297
+ user: _better_auth_core_db167.User;
298
298
  };
299
299
  }>))[];
300
300
  metadata: {
@@ -332,7 +332,7 @@ declare const getFullOrganization: <O extends OrganizationOptions>(options: O) =
332
332
  metadata?: any;
333
333
  } & (O["schema"] extends {
334
334
  organization?: {
335
- additionalFields: infer Field extends Record<string, _better_auth_core_db132.DBFieldAttribute>;
335
+ additionalFields: infer Field extends Record<string, _better_auth_core_db167.DBFieldAttribute>;
336
336
  } | undefined;
337
337
  } ? FieldAttributeToObject<RemoveFieldsWithReturnedFalse<Field>> : {}) extends infer T ? { [K in keyof T]: T[K] } : never) : {
338
338
  members: InferMember<O>[];
@@ -346,29 +346,29 @@ declare const getFullOrganization: <O extends OrganizationOptions>(options: O) =
346
346
  metadata?: any;
347
347
  } & (O["schema"] extends {
348
348
  organization?: {
349
- additionalFields: infer Field extends Record<string, _better_auth_core_db132.DBFieldAttribute>;
349
+ additionalFields: infer Field extends Record<string, _better_auth_core_db167.DBFieldAttribute>;
350
350
  } | undefined;
351
351
  } ? FieldAttributeToObject<RemoveFieldsWithReturnedFalse<Field>> : {}) extends infer T_1 ? { [K in keyof T_1]: T_1[K] } : never)) | null>;
352
- declare const setActiveOrganization: <O extends OrganizationOptions>(options: O) => better_call934.StrictEndpoint<"/organization/set-active", {
352
+ declare const setActiveOrganization: <O extends OrganizationOptions>(options: O) => better_call982.StrictEndpoint<"/organization/set-active", {
353
353
  method: "POST";
354
354
  body: z.ZodObject<{
355
355
  organizationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
356
356
  organizationSlug: z.ZodOptional<z.ZodString>;
357
357
  }, z.core.$strip>;
358
- use: (((inputContext: better_call934.MiddlewareInputContext<better_call934.MiddlewareOptions>) => Promise<{
358
+ use: (((inputContext: better_call982.MiddlewareInputContext<better_call982.MiddlewareOptions>) => Promise<{
359
359
  orgOptions: OrganizationOptions;
360
360
  roles: typeof defaultRoles & {
361
361
  [key: string]: Role<{}>;
362
362
  };
363
- getSession: (context: _better_auth_core59.GenericEndpointContext) => Promise<{
364
- session: _better_auth_core_db132.Session & {
363
+ getSession: (context: _better_auth_core68.GenericEndpointContext) => Promise<{
364
+ session: _better_auth_core_db167.Session & {
365
365
  activeTeamId?: string | undefined;
366
366
  activeOrganizationId?: string | undefined;
367
367
  };
368
- user: _better_auth_core_db132.User;
368
+ user: _better_auth_core_db167.User;
369
369
  }>;
370
- }>) | ((inputContext: better_call934.MiddlewareInputContext<{
371
- use: ((inputContext: better_call934.MiddlewareInputContext<better_call934.MiddlewareOptions>) => Promise<{
370
+ }>) | ((inputContext: better_call982.MiddlewareInputContext<{
371
+ use: ((inputContext: better_call982.MiddlewareInputContext<better_call982.MiddlewareOptions>) => Promise<{
372
372
  session: {
373
373
  session: Record<string, any> & {
374
374
  id: string;
@@ -393,11 +393,11 @@ declare const setActiveOrganization: <O extends OrganizationOptions>(options: O)
393
393
  }>)[];
394
394
  }>) => Promise<{
395
395
  session: {
396
- session: _better_auth_core_db132.Session & {
396
+ session: _better_auth_core_db167.Session & {
397
397
  activeTeamId?: string | undefined;
398
398
  activeOrganizationId?: string | undefined;
399
399
  };
400
- user: _better_auth_core_db132.User;
400
+ user: _better_auth_core_db167.User;
401
401
  };
402
402
  }>))[];
403
403
  requireHeaders: true;
@@ -436,7 +436,7 @@ declare const setActiveOrganization: <O extends OrganizationOptions>(options: O)
436
436
  metadata?: any;
437
437
  } & (O["schema"] extends {
438
438
  organization?: {
439
- additionalFields: infer Field extends Record<string, _better_auth_core_db132.DBFieldAttribute>;
439
+ additionalFields: infer Field extends Record<string, _better_auth_core_db167.DBFieldAttribute>;
440
440
  } | undefined;
441
441
  } ? FieldAttributeToObject<RemoveFieldsWithReturnedFalse<Field>> : {}) extends infer T ? { [K in keyof T]: T[K] } : never) : {
442
442
  members: InferMember<O>[];
@@ -450,25 +450,25 @@ declare const setActiveOrganization: <O extends OrganizationOptions>(options: O)
450
450
  metadata?: any;
451
451
  } & (O["schema"] extends {
452
452
  organization?: {
453
- additionalFields: infer Field extends Record<string, _better_auth_core_db132.DBFieldAttribute>;
453
+ additionalFields: infer Field extends Record<string, _better_auth_core_db167.DBFieldAttribute>;
454
454
  } | undefined;
455
455
  } ? FieldAttributeToObject<RemoveFieldsWithReturnedFalse<Field>> : {}) extends infer T_1 ? { [K in keyof T_1]: T_1[K] } : never)) | null>;
456
- declare const listOrganizations: <O extends OrganizationOptions>(options: O) => better_call934.StrictEndpoint<"/organization/list", {
456
+ declare const listOrganizations: <O extends OrganizationOptions>(options: O) => better_call982.StrictEndpoint<"/organization/list", {
457
457
  method: "GET";
458
- use: (((inputContext: better_call934.MiddlewareInputContext<better_call934.MiddlewareOptions>) => Promise<{
458
+ use: (((inputContext: better_call982.MiddlewareInputContext<better_call982.MiddlewareOptions>) => Promise<{
459
459
  orgOptions: OrganizationOptions;
460
460
  roles: typeof defaultRoles & {
461
461
  [key: string]: Role<{}>;
462
462
  };
463
- getSession: (context: _better_auth_core59.GenericEndpointContext) => Promise<{
464
- session: _better_auth_core_db132.Session & {
463
+ getSession: (context: _better_auth_core68.GenericEndpointContext) => Promise<{
464
+ session: _better_auth_core_db167.Session & {
465
465
  activeTeamId?: string | undefined;
466
466
  activeOrganizationId?: string | undefined;
467
467
  };
468
- user: _better_auth_core_db132.User;
468
+ user: _better_auth_core_db167.User;
469
469
  }>;
470
- }>) | ((inputContext: better_call934.MiddlewareInputContext<{
471
- use: ((inputContext: better_call934.MiddlewareInputContext<better_call934.MiddlewareOptions>) => Promise<{
470
+ }>) | ((inputContext: better_call982.MiddlewareInputContext<{
471
+ use: ((inputContext: better_call982.MiddlewareInputContext<better_call982.MiddlewareOptions>) => Promise<{
472
472
  session: {
473
473
  session: Record<string, any> & {
474
474
  id: string;
@@ -493,11 +493,11 @@ declare const listOrganizations: <O extends OrganizationOptions>(options: O) =>
493
493
  }>)[];
494
494
  }>) => Promise<{
495
495
  session: {
496
- session: _better_auth_core_db132.Session & {
496
+ session: _better_auth_core_db167.Session & {
497
497
  activeTeamId?: string | undefined;
498
498
  activeOrganizationId?: string | undefined;
499
499
  };
500
- user: _better_auth_core_db132.User;
500
+ user: _better_auth_core_db167.User;
501
501
  };
502
502
  }>))[];
503
503
  requireHeaders: true;
@@ -530,7 +530,7 @@ declare const listOrganizations: <O extends OrganizationOptions>(options: O) =>
530
530
  metadata?: any;
531
531
  } & (O["schema"] extends {
532
532
  organization?: {
533
- additionalFields: infer Field extends Record<string, _better_auth_core_db132.DBFieldAttribute>;
533
+ additionalFields: infer Field extends Record<string, _better_auth_core_db167.DBFieldAttribute>;
534
534
  } | undefined;
535
535
  } ? FieldAttributeToObject<RemoveFieldsWithReturnedFalse<Field>> : {}) extends infer T ? { [K in keyof T]: T[K] } : never)[]>;
536
536
  //#endregion