@inkeep/agents-api 0.0.0-dev-20260121145510 → 0.0.0-dev-20260121150358

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.
package/dist/index.d.ts CHANGED
@@ -7,17 +7,17 @@ import { initializeDefaultUser } from "./initialization.js";
7
7
  import { createAuth0Provider, createOIDCProvider } from "./ssoHelpers.js";
8
8
  import { SSOProviderConfig, UserAuthConfig, createAgentsApp } from "./factory.js";
9
9
  import { Hono } from "hono";
10
- import * as zod205 from "zod";
11
- import * as hono_types3 from "hono/types";
12
- import * as better_auth78 from "better-auth";
13
- import * as better_auth_plugins69 from "better-auth/plugins";
14
- import * as _better_auth_sso10 from "@better-auth/sso";
10
+ import * as zod0 from "zod";
11
+ import * as hono_types1 from "hono/types";
12
+ import * as better_auth0 from "better-auth";
13
+ import * as better_auth_plugins0 from "better-auth/plugins";
14
+ import * as _better_auth_sso0 from "@better-auth/sso";
15
15
 
16
16
  //#region src/index.d.ts
17
- declare const auth: better_auth78.Auth<{
17
+ declare const auth: better_auth0.Auth<{
18
18
  baseURL: string;
19
19
  secret: string;
20
- database: (options: better_auth78.BetterAuthOptions) => better_auth78.DBAdapter<better_auth78.BetterAuthOptions>;
20
+ database: (options: better_auth0.BetterAuthOptions) => better_auth0.DBAdapter<better_auth0.BetterAuthOptions>;
21
21
  emailAndPassword: {
22
22
  enabled: true;
23
23
  minPasswordLength: number;
@@ -25,6 +25,12 @@ declare const auth: better_auth78.Auth<{
25
25
  requireEmailVerification: false;
26
26
  autoSignIn: true;
27
27
  };
28
+ account: {
29
+ accountLinking: {
30
+ enabled: true;
31
+ trustedProviders: ("google" | "email-password" | "auth0")[];
32
+ };
33
+ };
28
34
  databaseHooks: {
29
35
  session: {
30
36
  create: {
@@ -66,7 +72,7 @@ declare const auth: better_auth78.Auth<{
66
72
  clientKey?: string | undefined;
67
73
  disableIdTokenSignIn?: boolean | undefined;
68
74
  verifyIdToken?: ((token: string, nonce?: string) => Promise<boolean>) | undefined;
69
- getUserInfo?: ((token: better_auth78.OAuth2Tokens) => Promise<{
75
+ getUserInfo?: ((token: better_auth0.OAuth2Tokens) => Promise<{
70
76
  user: {
71
77
  id: string;
72
78
  name?: string;
@@ -77,8 +83,8 @@ declare const auth: better_auth78.Auth<{
77
83
  };
78
84
  data: any;
79
85
  } | null>) | undefined;
80
- refreshAccessToken?: ((refreshToken: string) => Promise<better_auth78.OAuth2Tokens>) | undefined;
81
- mapProfileToUser?: ((profile: better_auth78.GoogleProfile) => {
86
+ refreshAccessToken?: ((refreshToken: string) => Promise<better_auth0.OAuth2Tokens>) | undefined;
87
+ mapProfileToUser?: ((profile: better_auth0.GoogleProfile) => {
82
88
  id?: string;
83
89
  name?: string;
84
90
  email?: string | null;
@@ -125,15 +131,15 @@ declare const auth: better_auth78.Auth<{
125
131
  cookies?: {
126
132
  [key: string]: {
127
133
  name?: string;
128
- attributes?: better_auth78.CookieOptions;
134
+ attributes?: better_auth0.CookieOptions;
129
135
  };
130
136
  } | undefined;
131
- defaultCookieAttributes: better_auth78.CookieOptions;
137
+ defaultCookieAttributes: better_auth0.CookieOptions;
132
138
  cookiePrefix?: string | undefined;
133
139
  database?: {
134
140
  defaultFindManyLimit?: number;
135
141
  useNumberId?: boolean;
136
- generateId?: better_auth78.GenerateIdFn | false | "serial" | "uuid";
142
+ generateId?: better_auth0.GenerateIdFn | false | "serial" | "uuid";
137
143
  } | undefined;
138
144
  trustedProxyHeaders?: boolean | undefined;
139
145
  backgroundTasks?: {
@@ -145,31 +151,31 @@ declare const auth: better_auth78.Auth<{
145
151
  id: "bearer";
146
152
  hooks: {
147
153
  before: {
148
- matcher(context: better_auth78.HookEndpointContext): boolean;
149
- handler: (inputContext: better_auth78.MiddlewareInputContext<better_auth78.MiddlewareOptions>) => Promise<{
154
+ matcher(context: better_auth0.HookEndpointContext): boolean;
155
+ handler: (inputContext: better_auth0.MiddlewareInputContext<better_auth0.MiddlewareOptions>) => Promise<{
150
156
  context: {
151
157
  headers: Headers;
152
158
  };
153
159
  } | undefined>;
154
160
  }[];
155
161
  after: {
156
- matcher(context: better_auth78.HookEndpointContext): true;
157
- handler: (inputContext: better_auth78.MiddlewareInputContext<better_auth78.MiddlewareOptions>) => Promise<void>;
162
+ matcher(context: better_auth0.HookEndpointContext): true;
163
+ handler: (inputContext: better_auth0.MiddlewareInputContext<better_auth0.MiddlewareOptions>) => Promise<void>;
158
164
  }[];
159
165
  };
160
- options: better_auth_plugins69.BearerOptions | undefined;
166
+ options: better_auth_plugins0.BearerOptions | undefined;
161
167
  }, {
162
168
  id: "sso";
163
169
  endpoints: {
164
- spMetadata: ReturnType<() => better_auth78.StrictEndpoint<"/sso/saml2/sp/metadata", {
170
+ spMetadata: ReturnType<() => better_auth0.StrictEndpoint<"/sso/saml2/sp/metadata", {
165
171
  method: "GET";
166
- query: zod205.ZodObject<{
167
- providerId: zod205.ZodString;
168
- format: zod205.ZodDefault<zod205.ZodEnum<{
172
+ query: zod0.ZodObject<{
173
+ providerId: zod0.ZodString;
174
+ format: zod0.ZodDefault<zod0.ZodEnum<{
169
175
  xml: "xml";
170
176
  json: "json";
171
177
  }>>;
172
- }, better_auth78.$strip>;
178
+ }, better_auth0.$strip>;
173
179
  metadata: {
174
180
  openapi: {
175
181
  operationId: string;
@@ -183,86 +189,86 @@ declare const auth: better_auth78.Auth<{
183
189
  };
184
190
  };
185
191
  }, Response>>;
186
- registerSSOProvider: better_auth78.StrictEndpoint<"/sso/register", {
192
+ registerSSOProvider: better_auth0.StrictEndpoint<"/sso/register", {
187
193
  method: "POST";
188
- body: zod205.ZodObject<{
189
- providerId: zod205.ZodString;
190
- issuer: zod205.ZodString;
191
- domain: zod205.ZodString;
192
- oidcConfig: zod205.ZodOptional<zod205.ZodObject<{
193
- clientId: zod205.ZodString;
194
- clientSecret: zod205.ZodString;
195
- authorizationEndpoint: zod205.ZodOptional<zod205.ZodString>;
196
- tokenEndpoint: zod205.ZodOptional<zod205.ZodString>;
197
- userInfoEndpoint: zod205.ZodOptional<zod205.ZodString>;
198
- tokenEndpointAuthentication: zod205.ZodOptional<zod205.ZodEnum<{
194
+ body: zod0.ZodObject<{
195
+ providerId: zod0.ZodString;
196
+ issuer: zod0.ZodString;
197
+ domain: zod0.ZodString;
198
+ oidcConfig: zod0.ZodOptional<zod0.ZodObject<{
199
+ clientId: zod0.ZodString;
200
+ clientSecret: zod0.ZodString;
201
+ authorizationEndpoint: zod0.ZodOptional<zod0.ZodString>;
202
+ tokenEndpoint: zod0.ZodOptional<zod0.ZodString>;
203
+ userInfoEndpoint: zod0.ZodOptional<zod0.ZodString>;
204
+ tokenEndpointAuthentication: zod0.ZodOptional<zod0.ZodEnum<{
199
205
  client_secret_post: "client_secret_post";
200
206
  client_secret_basic: "client_secret_basic";
201
207
  }>>;
202
- jwksEndpoint: zod205.ZodOptional<zod205.ZodString>;
203
- discoveryEndpoint: zod205.ZodOptional<zod205.ZodString>;
204
- skipDiscovery: zod205.ZodOptional<zod205.ZodBoolean>;
205
- scopes: zod205.ZodOptional<zod205.ZodArray<zod205.ZodString>>;
206
- pkce: zod205.ZodOptional<zod205.ZodDefault<zod205.ZodBoolean>>;
207
- mapping: zod205.ZodOptional<zod205.ZodObject<{
208
- id: zod205.ZodString;
209
- email: zod205.ZodString;
210
- emailVerified: zod205.ZodOptional<zod205.ZodString>;
211
- name: zod205.ZodString;
212
- image: zod205.ZodOptional<zod205.ZodString>;
213
- extraFields: zod205.ZodOptional<zod205.ZodRecord<zod205.ZodString, zod205.ZodAny>>;
214
- }, better_auth78.$strip>>;
215
- }, better_auth78.$strip>>;
216
- samlConfig: zod205.ZodOptional<zod205.ZodObject<{
217
- entryPoint: zod205.ZodString;
218
- cert: zod205.ZodString;
219
- callbackUrl: zod205.ZodString;
220
- audience: zod205.ZodOptional<zod205.ZodString>;
221
- idpMetadata: zod205.ZodOptional<zod205.ZodObject<{
222
- metadata: zod205.ZodOptional<zod205.ZodString>;
223
- entityID: zod205.ZodOptional<zod205.ZodString>;
224
- cert: zod205.ZodOptional<zod205.ZodString>;
225
- privateKey: zod205.ZodOptional<zod205.ZodString>;
226
- privateKeyPass: zod205.ZodOptional<zod205.ZodString>;
227
- isAssertionEncrypted: zod205.ZodOptional<zod205.ZodBoolean>;
228
- encPrivateKey: zod205.ZodOptional<zod205.ZodString>;
229
- encPrivateKeyPass: zod205.ZodOptional<zod205.ZodString>;
230
- singleSignOnService: zod205.ZodOptional<zod205.ZodArray<zod205.ZodObject<{
231
- Binding: zod205.ZodString;
232
- Location: zod205.ZodString;
233
- }, better_auth78.$strip>>>;
234
- }, better_auth78.$strip>>;
235
- spMetadata: zod205.ZodObject<{
236
- metadata: zod205.ZodOptional<zod205.ZodString>;
237
- entityID: zod205.ZodOptional<zod205.ZodString>;
238
- binding: zod205.ZodOptional<zod205.ZodString>;
239
- privateKey: zod205.ZodOptional<zod205.ZodString>;
240
- privateKeyPass: zod205.ZodOptional<zod205.ZodString>;
241
- isAssertionEncrypted: zod205.ZodOptional<zod205.ZodBoolean>;
242
- encPrivateKey: zod205.ZodOptional<zod205.ZodString>;
243
- encPrivateKeyPass: zod205.ZodOptional<zod205.ZodString>;
244
- }, better_auth78.$strip>;
245
- wantAssertionsSigned: zod205.ZodOptional<zod205.ZodBoolean>;
246
- signatureAlgorithm: zod205.ZodOptional<zod205.ZodString>;
247
- digestAlgorithm: zod205.ZodOptional<zod205.ZodString>;
248
- identifierFormat: zod205.ZodOptional<zod205.ZodString>;
249
- privateKey: zod205.ZodOptional<zod205.ZodString>;
250
- decryptionPvk: zod205.ZodOptional<zod205.ZodString>;
251
- additionalParams: zod205.ZodOptional<zod205.ZodRecord<zod205.ZodString, zod205.ZodAny>>;
252
- mapping: zod205.ZodOptional<zod205.ZodObject<{
253
- id: zod205.ZodString;
254
- email: zod205.ZodString;
255
- emailVerified: zod205.ZodOptional<zod205.ZodString>;
256
- name: zod205.ZodString;
257
- firstName: zod205.ZodOptional<zod205.ZodString>;
258
- lastName: zod205.ZodOptional<zod205.ZodString>;
259
- extraFields: zod205.ZodOptional<zod205.ZodRecord<zod205.ZodString, zod205.ZodAny>>;
260
- }, better_auth78.$strip>>;
261
- }, better_auth78.$strip>>;
262
- organizationId: zod205.ZodOptional<zod205.ZodString>;
263
- overrideUserInfo: zod205.ZodOptional<zod205.ZodDefault<zod205.ZodBoolean>>;
264
- }, better_auth78.$strip>;
265
- use: ((inputContext: better_auth78.MiddlewareInputContext<better_auth78.MiddlewareOptions>) => Promise<{
208
+ jwksEndpoint: zod0.ZodOptional<zod0.ZodString>;
209
+ discoveryEndpoint: zod0.ZodOptional<zod0.ZodString>;
210
+ skipDiscovery: zod0.ZodOptional<zod0.ZodBoolean>;
211
+ scopes: zod0.ZodOptional<zod0.ZodArray<zod0.ZodString>>;
212
+ pkce: zod0.ZodOptional<zod0.ZodDefault<zod0.ZodBoolean>>;
213
+ mapping: zod0.ZodOptional<zod0.ZodObject<{
214
+ id: zod0.ZodString;
215
+ email: zod0.ZodString;
216
+ emailVerified: zod0.ZodOptional<zod0.ZodString>;
217
+ name: zod0.ZodString;
218
+ image: zod0.ZodOptional<zod0.ZodString>;
219
+ extraFields: zod0.ZodOptional<zod0.ZodRecord<zod0.ZodString, zod0.ZodAny>>;
220
+ }, better_auth0.$strip>>;
221
+ }, better_auth0.$strip>>;
222
+ samlConfig: zod0.ZodOptional<zod0.ZodObject<{
223
+ entryPoint: zod0.ZodString;
224
+ cert: zod0.ZodString;
225
+ callbackUrl: zod0.ZodString;
226
+ audience: zod0.ZodOptional<zod0.ZodString>;
227
+ idpMetadata: zod0.ZodOptional<zod0.ZodObject<{
228
+ metadata: zod0.ZodOptional<zod0.ZodString>;
229
+ entityID: zod0.ZodOptional<zod0.ZodString>;
230
+ cert: zod0.ZodOptional<zod0.ZodString>;
231
+ privateKey: zod0.ZodOptional<zod0.ZodString>;
232
+ privateKeyPass: zod0.ZodOptional<zod0.ZodString>;
233
+ isAssertionEncrypted: zod0.ZodOptional<zod0.ZodBoolean>;
234
+ encPrivateKey: zod0.ZodOptional<zod0.ZodString>;
235
+ encPrivateKeyPass: zod0.ZodOptional<zod0.ZodString>;
236
+ singleSignOnService: zod0.ZodOptional<zod0.ZodArray<zod0.ZodObject<{
237
+ Binding: zod0.ZodString;
238
+ Location: zod0.ZodString;
239
+ }, better_auth0.$strip>>>;
240
+ }, better_auth0.$strip>>;
241
+ spMetadata: zod0.ZodObject<{
242
+ metadata: zod0.ZodOptional<zod0.ZodString>;
243
+ entityID: zod0.ZodOptional<zod0.ZodString>;
244
+ binding: zod0.ZodOptional<zod0.ZodString>;
245
+ privateKey: zod0.ZodOptional<zod0.ZodString>;
246
+ privateKeyPass: zod0.ZodOptional<zod0.ZodString>;
247
+ isAssertionEncrypted: zod0.ZodOptional<zod0.ZodBoolean>;
248
+ encPrivateKey: zod0.ZodOptional<zod0.ZodString>;
249
+ encPrivateKeyPass: zod0.ZodOptional<zod0.ZodString>;
250
+ }, better_auth0.$strip>;
251
+ wantAssertionsSigned: zod0.ZodOptional<zod0.ZodBoolean>;
252
+ signatureAlgorithm: zod0.ZodOptional<zod0.ZodString>;
253
+ digestAlgorithm: zod0.ZodOptional<zod0.ZodString>;
254
+ identifierFormat: zod0.ZodOptional<zod0.ZodString>;
255
+ privateKey: zod0.ZodOptional<zod0.ZodString>;
256
+ decryptionPvk: zod0.ZodOptional<zod0.ZodString>;
257
+ additionalParams: zod0.ZodOptional<zod0.ZodRecord<zod0.ZodString, zod0.ZodAny>>;
258
+ mapping: zod0.ZodOptional<zod0.ZodObject<{
259
+ id: zod0.ZodString;
260
+ email: zod0.ZodString;
261
+ emailVerified: zod0.ZodOptional<zod0.ZodString>;
262
+ name: zod0.ZodString;
263
+ firstName: zod0.ZodOptional<zod0.ZodString>;
264
+ lastName: zod0.ZodOptional<zod0.ZodString>;
265
+ extraFields: zod0.ZodOptional<zod0.ZodRecord<zod0.ZodString, zod0.ZodAny>>;
266
+ }, better_auth0.$strip>>;
267
+ }, better_auth0.$strip>>;
268
+ organizationId: zod0.ZodOptional<zod0.ZodString>;
269
+ overrideUserInfo: zod0.ZodOptional<zod0.ZodDefault<zod0.ZodBoolean>>;
270
+ }, better_auth0.$strip>;
271
+ use: ((inputContext: better_auth0.MiddlewareInputContext<better_auth0.MiddlewareOptions>) => Promise<{
266
272
  session: {
267
273
  session: Record<string, any> & {
268
274
  id: string;
@@ -448,35 +454,35 @@ declare const auth: better_auth78.Auth<{
448
454
  };
449
455
  }, {
450
456
  redirectURI: string;
451
- oidcConfig: _better_auth_sso10.OIDCConfig | null;
452
- samlConfig: _better_auth_sso10.SAMLConfig | null;
457
+ oidcConfig: _better_auth_sso0.OIDCConfig | null;
458
+ samlConfig: _better_auth_sso0.SAMLConfig | null;
453
459
  } & Omit<{
454
460
  issuer: string;
455
- oidcConfig?: _better_auth_sso10.OIDCConfig | undefined;
456
- samlConfig?: _better_auth_sso10.SAMLConfig | undefined;
461
+ oidcConfig?: _better_auth_sso0.OIDCConfig | undefined;
462
+ samlConfig?: _better_auth_sso0.SAMLConfig | undefined;
457
463
  userId: string;
458
464
  providerId: string;
459
465
  organizationId?: string | undefined;
460
466
  domain: string;
461
467
  }, "oidcConfig" | "samlConfig">>;
462
- signInSSO: ReturnType<(options?: _better_auth_sso10.SSOOptions) => better_auth78.StrictEndpoint<"/sign-in/sso", {
468
+ signInSSO: ReturnType<(options?: _better_auth_sso0.SSOOptions) => better_auth0.StrictEndpoint<"/sign-in/sso", {
463
469
  method: "POST";
464
- body: zod205.ZodObject<{
465
- email: zod205.ZodOptional<zod205.ZodString>;
466
- organizationSlug: zod205.ZodOptional<zod205.ZodString>;
467
- providerId: zod205.ZodOptional<zod205.ZodString>;
468
- domain: zod205.ZodOptional<zod205.ZodString>;
469
- callbackURL: zod205.ZodString;
470
- errorCallbackURL: zod205.ZodOptional<zod205.ZodString>;
471
- newUserCallbackURL: zod205.ZodOptional<zod205.ZodString>;
472
- scopes: zod205.ZodOptional<zod205.ZodArray<zod205.ZodString>>;
473
- loginHint: zod205.ZodOptional<zod205.ZodString>;
474
- requestSignUp: zod205.ZodOptional<zod205.ZodBoolean>;
475
- providerType: zod205.ZodOptional<zod205.ZodEnum<{
470
+ body: zod0.ZodObject<{
471
+ email: zod0.ZodOptional<zod0.ZodString>;
472
+ organizationSlug: zod0.ZodOptional<zod0.ZodString>;
473
+ providerId: zod0.ZodOptional<zod0.ZodString>;
474
+ domain: zod0.ZodOptional<zod0.ZodString>;
475
+ callbackURL: zod0.ZodString;
476
+ errorCallbackURL: zod0.ZodOptional<zod0.ZodString>;
477
+ newUserCallbackURL: zod0.ZodOptional<zod0.ZodString>;
478
+ scopes: zod0.ZodOptional<zod0.ZodArray<zod0.ZodString>>;
479
+ loginHint: zod0.ZodOptional<zod0.ZodString>;
480
+ requestSignUp: zod0.ZodOptional<zod0.ZodBoolean>;
481
+ providerType: zod0.ZodOptional<zod0.ZodEnum<{
476
482
  saml: "saml";
477
483
  oidc: "oidc";
478
484
  }>>;
479
- }, better_auth78.$strip>;
485
+ }, better_auth0.$strip>;
480
486
  metadata: {
481
487
  openapi: {
482
488
  operationId: string;
@@ -553,14 +559,14 @@ declare const auth: better_auth78.Auth<{
553
559
  url: string;
554
560
  redirect: boolean;
555
561
  }>>;
556
- callbackSSO: ReturnType<(options?: _better_auth_sso10.SSOOptions) => better_auth78.StrictEndpoint<"/sso/callback/:providerId", {
562
+ callbackSSO: ReturnType<(options?: _better_auth_sso0.SSOOptions) => better_auth0.StrictEndpoint<"/sso/callback/:providerId", {
557
563
  method: "GET";
558
- query: zod205.ZodObject<{
559
- code: zod205.ZodOptional<zod205.ZodString>;
560
- state: zod205.ZodString;
561
- error: zod205.ZodOptional<zod205.ZodString>;
562
- error_description: zod205.ZodOptional<zod205.ZodString>;
563
- }, better_auth78.$strip>;
564
+ query: zod0.ZodObject<{
565
+ code: zod0.ZodOptional<zod0.ZodString>;
566
+ state: zod0.ZodString;
567
+ error: zod0.ZodOptional<zod0.ZodString>;
568
+ error_description: zod0.ZodOptional<zod0.ZodString>;
569
+ }, better_auth0.$strip>;
564
570
  allowedMediaTypes: string[];
565
571
  metadata: {
566
572
  openapi: {
@@ -576,12 +582,12 @@ declare const auth: better_auth78.Auth<{
576
582
  scope: "server";
577
583
  };
578
584
  }, never>>;
579
- callbackSSOSAML: ReturnType<(options?: _better_auth_sso10.SSOOptions) => better_auth78.StrictEndpoint<"/sso/saml2/callback/:providerId", {
585
+ callbackSSOSAML: ReturnType<(options?: _better_auth_sso0.SSOOptions) => better_auth0.StrictEndpoint<"/sso/saml2/callback/:providerId", {
580
586
  method: "POST";
581
- body: zod205.ZodObject<{
582
- SAMLResponse: zod205.ZodString;
583
- RelayState: zod205.ZodOptional<zod205.ZodString>;
584
- }, better_auth78.$strip>;
587
+ body: zod0.ZodObject<{
588
+ SAMLResponse: zod0.ZodString;
589
+ RelayState: zod0.ZodOptional<zod0.ZodString>;
590
+ }, better_auth0.$strip>;
585
591
  metadata: {
586
592
  allowedMediaTypes: string[];
587
593
  openapi: {
@@ -603,15 +609,15 @@ declare const auth: better_auth78.Auth<{
603
609
  scope: "server";
604
610
  };
605
611
  }, never>>;
606
- acsEndpoint: ReturnType<(options?: _better_auth_sso10.SSOOptions) => better_auth78.StrictEndpoint<"/sso/saml2/sp/acs/:providerId", {
612
+ acsEndpoint: ReturnType<(options?: _better_auth_sso0.SSOOptions) => better_auth0.StrictEndpoint<"/sso/saml2/sp/acs/:providerId", {
607
613
  method: "POST";
608
- params: zod205.ZodObject<{
609
- providerId: zod205.ZodOptional<zod205.ZodString>;
610
- }, better_auth78.$strip>;
611
- body: zod205.ZodObject<{
612
- SAMLResponse: zod205.ZodString;
613
- RelayState: zod205.ZodOptional<zod205.ZodString>;
614
- }, better_auth78.$strip>;
614
+ params: zod0.ZodObject<{
615
+ providerId: zod0.ZodOptional<zod0.ZodString>;
616
+ }, better_auth0.$strip>;
617
+ body: zod0.ZodObject<{
618
+ SAMLResponse: zod0.ZodString;
619
+ RelayState: zod0.ZodOptional<zod0.ZodString>;
620
+ }, better_auth0.$strip>;
615
621
  metadata: {
616
622
  allowedMediaTypes: string[];
617
623
  openapi: {
@@ -628,11 +634,11 @@ declare const auth: better_auth78.Auth<{
628
634
  };
629
635
  }, never>>;
630
636
  } & {
631
- requestDomainVerification: ReturnType<(options: _better_auth_sso10.SSOOptions) => better_auth78.StrictEndpoint<"/sso/request-domain-verification", {
637
+ requestDomainVerification: ReturnType<(options: _better_auth_sso0.SSOOptions) => better_auth0.StrictEndpoint<"/sso/request-domain-verification", {
632
638
  method: "POST";
633
- body: zod205.ZodObject<{
634
- providerId: zod205.ZodString;
635
- }, better_auth78.$strip>;
639
+ body: zod0.ZodObject<{
640
+ providerId: zod0.ZodString;
641
+ }, better_auth0.$strip>;
636
642
  metadata: {
637
643
  openapi: {
638
644
  summary: string;
@@ -650,7 +656,7 @@ declare const auth: better_auth78.Auth<{
650
656
  };
651
657
  };
652
658
  };
653
- use: ((inputContext: better_auth78.MiddlewareInputContext<better_auth78.MiddlewareOptions>) => Promise<{
659
+ use: ((inputContext: better_auth0.MiddlewareInputContext<better_auth0.MiddlewareOptions>) => Promise<{
654
660
  session: {
655
661
  session: Record<string, any> & {
656
662
  id: string;
@@ -676,11 +682,11 @@ declare const auth: better_auth78.Auth<{
676
682
  }, {
677
683
  domainVerificationToken: string;
678
684
  }>>;
679
- verifyDomain: ReturnType<(options: _better_auth_sso10.SSOOptions) => better_auth78.StrictEndpoint<"/sso/verify-domain", {
685
+ verifyDomain: ReturnType<(options: _better_auth_sso0.SSOOptions) => better_auth0.StrictEndpoint<"/sso/verify-domain", {
680
686
  method: "POST";
681
- body: zod205.ZodObject<{
682
- providerId: zod205.ZodString;
683
- }, better_auth78.$strip>;
687
+ body: zod0.ZodObject<{
688
+ providerId: zod0.ZodString;
689
+ }, better_auth0.$strip>;
684
690
  metadata: {
685
691
  openapi: {
686
692
  summary: string;
@@ -701,7 +707,7 @@ declare const auth: better_auth78.Auth<{
701
707
  };
702
708
  };
703
709
  };
704
- use: ((inputContext: better_auth78.MiddlewareInputContext<better_auth78.MiddlewareOptions>) => Promise<{
710
+ use: ((inputContext: better_auth0.MiddlewareInputContext<better_auth0.MiddlewareOptions>) => Promise<{
705
711
  session: {
706
712
  session: Record<string, any> & {
707
713
  id: string;
@@ -727,7 +733,7 @@ declare const auth: better_auth78.Auth<{
727
733
  }, void>>;
728
734
  };
729
735
  schema: any;
730
- options: _better_auth_sso10.SSOOptions & {
736
+ options: _better_auth_sso0.SSOOptions & {
731
737
  domainVerification?: {
732
738
  enabled: true;
733
739
  };
@@ -738,14 +744,14 @@ declare const auth: better_auth78.Auth<{
738
744
  productionURL: string;
739
745
  }>;
740
746
  endpoints: {
741
- oAuthProxy: better_auth78.StrictEndpoint<"/oauth-proxy-callback", {
747
+ oAuthProxy: better_auth0.StrictEndpoint<"/oauth-proxy-callback", {
742
748
  method: "GET";
743
749
  operationId: string;
744
- query: zod205.ZodObject<{
745
- callbackURL: zod205.ZodString;
746
- cookies: zod205.ZodString;
747
- }, better_auth78.$strip>;
748
- use: ((inputContext: better_auth78.MiddlewareInputContext<better_auth78.MiddlewareOptions>) => Promise<void>)[];
750
+ query: zod0.ZodObject<{
751
+ callbackURL: zod0.ZodString;
752
+ cookies: zod0.ZodString;
753
+ }, better_auth0.$strip>;
754
+ use: ((inputContext: better_auth0.MiddlewareInputContext<better_auth0.MiddlewareOptions>) => Promise<void>)[];
749
755
  metadata: {
750
756
  openapi: {
751
757
  operationId: string;
@@ -775,40 +781,40 @@ declare const auth: better_auth78.Auth<{
775
781
  };
776
782
  hooks: {
777
783
  before: {
778
- matcher(context: better_auth78.HookEndpointContext): boolean;
779
- handler: (inputContext: better_auth78.MiddlewareInputContext<better_auth78.MiddlewareOptions>) => Promise<void>;
784
+ matcher(context: better_auth0.HookEndpointContext): boolean;
785
+ handler: (inputContext: better_auth0.MiddlewareInputContext<better_auth0.MiddlewareOptions>) => Promise<void>;
780
786
  }[];
781
787
  after: {
782
- matcher(context: better_auth78.HookEndpointContext): boolean;
783
- handler: (inputContext: better_auth78.MiddlewareInputContext<better_auth78.MiddlewareOptions>) => Promise<void>;
788
+ matcher(context: better_auth0.HookEndpointContext): boolean;
789
+ handler: (inputContext: better_auth0.MiddlewareInputContext<better_auth0.MiddlewareOptions>) => Promise<void>;
784
790
  }[];
785
791
  };
786
792
  }, {
787
793
  id: "organization";
788
- endpoints: better_auth_plugins69.OrganizationEndpoints<{
794
+ endpoints: better_auth_plugins0.OrganizationEndpoints<{
789
795
  allowUserToCreateOrganization: true;
790
- ac: better_auth_plugins69.AccessControl;
796
+ ac: better_auth_plugins0.AccessControl;
791
797
  roles: {
792
798
  member: {
793
- authorize<K_1 extends "project" | "organization" | "member" | "invitation" | "team" | "ac">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins69.Subset<"project" | "organization" | "member" | "invitation" | "team" | "ac", better_auth_plugins69.Statements>[key] | {
794
- actions: better_auth_plugins69.Subset<"project" | "organization" | "member" | "invitation" | "team" | "ac", better_auth_plugins69.Statements>[key];
799
+ authorize<K_1 extends "organization" | "member" | "invitation" | "ac" | "project" | "team">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins0.Subset<"organization" | "member" | "invitation" | "ac" | "project" | "team", better_auth_plugins0.Statements>[key] | {
800
+ actions: better_auth_plugins0.Subset<"organization" | "member" | "invitation" | "ac" | "project" | "team", better_auth_plugins0.Statements>[key];
795
801
  connector: "OR" | "AND";
796
- } | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins69.AuthorizeResponse;
797
- statements: better_auth_plugins69.Subset<"project" | "organization" | "member" | "invitation" | "team" | "ac", better_auth_plugins69.Statements>;
802
+ } | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins0.AuthorizeResponse;
803
+ statements: better_auth_plugins0.Subset<"organization" | "member" | "invitation" | "ac" | "project" | "team", better_auth_plugins0.Statements>;
798
804
  };
799
805
  admin: {
800
- authorize<K_1 extends "project" | "organization" | "member" | "invitation" | "team" | "ac">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins69.Subset<"project" | "organization" | "member" | "invitation" | "team" | "ac", better_auth_plugins69.Statements>[key] | {
801
- actions: better_auth_plugins69.Subset<"project" | "organization" | "member" | "invitation" | "team" | "ac", better_auth_plugins69.Statements>[key];
806
+ authorize<K_1 extends "organization" | "member" | "invitation" | "ac" | "project" | "team">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins0.Subset<"organization" | "member" | "invitation" | "ac" | "project" | "team", better_auth_plugins0.Statements>[key] | {
807
+ actions: better_auth_plugins0.Subset<"organization" | "member" | "invitation" | "ac" | "project" | "team", better_auth_plugins0.Statements>[key];
802
808
  connector: "OR" | "AND";
803
- } | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins69.AuthorizeResponse;
804
- statements: better_auth_plugins69.Subset<"project" | "organization" | "member" | "invitation" | "team" | "ac", better_auth_plugins69.Statements>;
809
+ } | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins0.AuthorizeResponse;
810
+ statements: better_auth_plugins0.Subset<"organization" | "member" | "invitation" | "ac" | "project" | "team", better_auth_plugins0.Statements>;
805
811
  };
806
812
  owner: {
807
- authorize<K_1 extends "project" | "organization" | "member" | "invitation" | "team" | "ac">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins69.Subset<"project" | "organization" | "member" | "invitation" | "team" | "ac", better_auth_plugins69.Statements>[key] | {
808
- actions: better_auth_plugins69.Subset<"project" | "organization" | "member" | "invitation" | "team" | "ac", better_auth_plugins69.Statements>[key];
813
+ authorize<K_1 extends "organization" | "member" | "invitation" | "ac" | "project" | "team">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins0.Subset<"organization" | "member" | "invitation" | "ac" | "project" | "team", better_auth_plugins0.Statements>[key] | {
814
+ actions: better_auth_plugins0.Subset<"organization" | "member" | "invitation" | "ac" | "project" | "team", better_auth_plugins0.Statements>[key];
809
815
  connector: "OR" | "AND";
810
- } | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins69.AuthorizeResponse;
811
- statements: better_auth_plugins69.Subset<"project" | "organization" | "member" | "invitation" | "team" | "ac", better_auth_plugins69.Statements>;
816
+ } | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins0.AuthorizeResponse;
817
+ statements: better_auth_plugins0.Subset<"organization" | "member" | "invitation" | "ac" | "project" | "team", better_auth_plugins0.Statements>;
812
818
  };
813
819
  };
814
820
  membershipLimit: number;
@@ -818,10 +824,10 @@ declare const auth: better_auth78.Auth<{
818
824
  id: string;
819
825
  role: string;
820
826
  email: string;
821
- organization: better_auth_plugins69.Organization;
822
- invitation: better_auth_plugins69.Invitation;
823
- inviter: better_auth_plugins69.Member & {
824
- user: better_auth78.User;
827
+ organization: better_auth_plugins0.Organization;
828
+ invitation: better_auth_plugins0.Invitation;
829
+ inviter: better_auth_plugins0.Member & {
830
+ user: better_auth0.User;
825
831
  };
826
832
  }): Promise<void>;
827
833
  organizationHooks: {
@@ -830,28 +836,28 @@ declare const auth: better_auth78.Auth<{
830
836
  user,
831
837
  organization: org
832
838
  }: {
833
- invitation: better_auth_plugins69.Invitation & Record<string, any>;
834
- member: better_auth_plugins69.Member & Record<string, any>;
835
- user: better_auth78.User & Record<string, any>;
836
- organization: better_auth_plugins69.Organization & Record<string, any>;
839
+ invitation: better_auth_plugins0.Invitation & Record<string, any>;
840
+ member: better_auth_plugins0.Member & Record<string, any>;
841
+ user: better_auth0.User & Record<string, any>;
842
+ organization: better_auth_plugins0.Organization & Record<string, any>;
837
843
  }) => Promise<void>;
838
844
  afterUpdateMemberRole: ({
839
845
  member,
840
846
  organization: org,
841
847
  previousRole
842
848
  }: {
843
- member: better_auth_plugins69.Member & Record<string, any>;
849
+ member: better_auth_plugins0.Member & Record<string, any>;
844
850
  previousRole: string;
845
- user: better_auth78.User & Record<string, any>;
846
- organization: better_auth_plugins69.Organization & Record<string, any>;
851
+ user: better_auth0.User & Record<string, any>;
852
+ organization: better_auth_plugins0.Organization & Record<string, any>;
847
853
  }) => Promise<void>;
848
854
  afterRemoveMember: ({
849
855
  member,
850
856
  organization: org
851
857
  }: {
852
- member: better_auth_plugins69.Member & Record<string, any>;
853
- user: better_auth78.User & Record<string, any>;
854
- organization: better_auth_plugins69.Organization & Record<string, any>;
858
+ member: better_auth_plugins0.Member & Record<string, any>;
859
+ user: better_auth0.User & Record<string, any>;
860
+ organization: better_auth_plugins0.Organization & Record<string, any>;
855
861
  }) => Promise<void>;
856
862
  };
857
863
  }>;
@@ -982,8 +988,8 @@ declare const auth: better_auth78.Auth<{
982
988
  id: string;
983
989
  organizationId: string;
984
990
  email: string;
985
- role: "owner" | "admin" | "member";
986
- status: better_auth_plugins69.InvitationStatus;
991
+ role: "member" | "admin" | "owner";
992
+ status: better_auth_plugins0.InvitationStatus;
987
993
  inviterId: string;
988
994
  expiresAt: Date;
989
995
  createdAt: Date;
@@ -991,7 +997,7 @@ declare const auth: better_auth78.Auth<{
991
997
  Member: {
992
998
  id: string;
993
999
  organizationId: string;
994
- role: "owner" | "admin" | "member";
1000
+ role: "member" | "admin" | "owner";
995
1001
  createdAt: Date;
996
1002
  userId: string;
997
1003
  user: {
@@ -1007,7 +1013,7 @@ declare const auth: better_auth78.Auth<{
1007
1013
  members: {
1008
1014
  id: string;
1009
1015
  organizationId: string;
1010
- role: "owner" | "admin" | "member";
1016
+ role: "member" | "admin" | "owner";
1011
1017
  createdAt: Date;
1012
1018
  userId: string;
1013
1019
  user: {
@@ -1021,8 +1027,8 @@ declare const auth: better_auth78.Auth<{
1021
1027
  id: string;
1022
1028
  organizationId: string;
1023
1029
  email: string;
1024
- role: "owner" | "admin" | "member";
1025
- status: better_auth_plugins69.InvitationStatus;
1030
+ role: "member" | "admin" | "owner";
1031
+ status: better_auth_plugins0.InvitationStatus;
1026
1032
  inviterId: string;
1027
1033
  expiresAt: Date;
1028
1034
  createdAt: Date;
@@ -1096,28 +1102,28 @@ declare const auth: better_auth78.Auth<{
1096
1102
  };
1097
1103
  options: NoInfer<{
1098
1104
  allowUserToCreateOrganization: true;
1099
- ac: better_auth_plugins69.AccessControl;
1105
+ ac: better_auth_plugins0.AccessControl;
1100
1106
  roles: {
1101
1107
  member: {
1102
- authorize<K_1 extends "project" | "organization" | "member" | "invitation" | "team" | "ac">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins69.Subset<"project" | "organization" | "member" | "invitation" | "team" | "ac", better_auth_plugins69.Statements>[key] | {
1103
- actions: better_auth_plugins69.Subset<"project" | "organization" | "member" | "invitation" | "team" | "ac", better_auth_plugins69.Statements>[key];
1108
+ authorize<K_1 extends "organization" | "member" | "invitation" | "ac" | "project" | "team">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins0.Subset<"organization" | "member" | "invitation" | "ac" | "project" | "team", better_auth_plugins0.Statements>[key] | {
1109
+ actions: better_auth_plugins0.Subset<"organization" | "member" | "invitation" | "ac" | "project" | "team", better_auth_plugins0.Statements>[key];
1104
1110
  connector: "OR" | "AND";
1105
- } | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins69.AuthorizeResponse;
1106
- statements: better_auth_plugins69.Subset<"project" | "organization" | "member" | "invitation" | "team" | "ac", better_auth_plugins69.Statements>;
1111
+ } | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins0.AuthorizeResponse;
1112
+ statements: better_auth_plugins0.Subset<"organization" | "member" | "invitation" | "ac" | "project" | "team", better_auth_plugins0.Statements>;
1107
1113
  };
1108
1114
  admin: {
1109
- authorize<K_1 extends "project" | "organization" | "member" | "invitation" | "team" | "ac">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins69.Subset<"project" | "organization" | "member" | "invitation" | "team" | "ac", better_auth_plugins69.Statements>[key] | {
1110
- actions: better_auth_plugins69.Subset<"project" | "organization" | "member" | "invitation" | "team" | "ac", better_auth_plugins69.Statements>[key];
1115
+ authorize<K_1 extends "organization" | "member" | "invitation" | "ac" | "project" | "team">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins0.Subset<"organization" | "member" | "invitation" | "ac" | "project" | "team", better_auth_plugins0.Statements>[key] | {
1116
+ actions: better_auth_plugins0.Subset<"organization" | "member" | "invitation" | "ac" | "project" | "team", better_auth_plugins0.Statements>[key];
1111
1117
  connector: "OR" | "AND";
1112
- } | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins69.AuthorizeResponse;
1113
- statements: better_auth_plugins69.Subset<"project" | "organization" | "member" | "invitation" | "team" | "ac", better_auth_plugins69.Statements>;
1118
+ } | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins0.AuthorizeResponse;
1119
+ statements: better_auth_plugins0.Subset<"organization" | "member" | "invitation" | "ac" | "project" | "team", better_auth_plugins0.Statements>;
1114
1120
  };
1115
1121
  owner: {
1116
- authorize<K_1 extends "project" | "organization" | "member" | "invitation" | "team" | "ac">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins69.Subset<"project" | "organization" | "member" | "invitation" | "team" | "ac", better_auth_plugins69.Statements>[key] | {
1117
- actions: better_auth_plugins69.Subset<"project" | "organization" | "member" | "invitation" | "team" | "ac", better_auth_plugins69.Statements>[key];
1122
+ authorize<K_1 extends "organization" | "member" | "invitation" | "ac" | "project" | "team">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins0.Subset<"organization" | "member" | "invitation" | "ac" | "project" | "team", better_auth_plugins0.Statements>[key] | {
1123
+ actions: better_auth_plugins0.Subset<"organization" | "member" | "invitation" | "ac" | "project" | "team", better_auth_plugins0.Statements>[key];
1118
1124
  connector: "OR" | "AND";
1119
- } | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins69.AuthorizeResponse;
1120
- statements: better_auth_plugins69.Subset<"project" | "organization" | "member" | "invitation" | "team" | "ac", better_auth_plugins69.Statements>;
1125
+ } | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins0.AuthorizeResponse;
1126
+ statements: better_auth_plugins0.Subset<"organization" | "member" | "invitation" | "ac" | "project" | "team", better_auth_plugins0.Statements>;
1121
1127
  };
1122
1128
  };
1123
1129
  membershipLimit: number;
@@ -1127,10 +1133,10 @@ declare const auth: better_auth78.Auth<{
1127
1133
  id: string;
1128
1134
  role: string;
1129
1135
  email: string;
1130
- organization: better_auth_plugins69.Organization;
1131
- invitation: better_auth_plugins69.Invitation;
1132
- inviter: better_auth_plugins69.Member & {
1133
- user: better_auth78.User;
1136
+ organization: better_auth_plugins0.Organization;
1137
+ invitation: better_auth_plugins0.Invitation;
1138
+ inviter: better_auth_plugins0.Member & {
1139
+ user: better_auth0.User;
1134
1140
  };
1135
1141
  }): Promise<void>;
1136
1142
  organizationHooks: {
@@ -1139,28 +1145,28 @@ declare const auth: better_auth78.Auth<{
1139
1145
  user,
1140
1146
  organization: org
1141
1147
  }: {
1142
- invitation: better_auth_plugins69.Invitation & Record<string, any>;
1143
- member: better_auth_plugins69.Member & Record<string, any>;
1144
- user: better_auth78.User & Record<string, any>;
1145
- organization: better_auth_plugins69.Organization & Record<string, any>;
1148
+ invitation: better_auth_plugins0.Invitation & Record<string, any>;
1149
+ member: better_auth_plugins0.Member & Record<string, any>;
1150
+ user: better_auth0.User & Record<string, any>;
1151
+ organization: better_auth_plugins0.Organization & Record<string, any>;
1146
1152
  }) => Promise<void>;
1147
1153
  afterUpdateMemberRole: ({
1148
1154
  member,
1149
1155
  organization: org,
1150
1156
  previousRole
1151
1157
  }: {
1152
- member: better_auth_plugins69.Member & Record<string, any>;
1158
+ member: better_auth_plugins0.Member & Record<string, any>;
1153
1159
  previousRole: string;
1154
- user: better_auth78.User & Record<string, any>;
1155
- organization: better_auth_plugins69.Organization & Record<string, any>;
1160
+ user: better_auth0.User & Record<string, any>;
1161
+ organization: better_auth_plugins0.Organization & Record<string, any>;
1156
1162
  }) => Promise<void>;
1157
1163
  afterRemoveMember: ({
1158
1164
  member,
1159
1165
  organization: org
1160
1166
  }: {
1161
- member: better_auth_plugins69.Member & Record<string, any>;
1162
- user: better_auth78.User & Record<string, any>;
1163
- organization: better_auth_plugins69.Organization & Record<string, any>;
1167
+ member: better_auth_plugins0.Member & Record<string, any>;
1168
+ user: better_auth0.User & Record<string, any>;
1169
+ organization: better_auth_plugins0.Organization & Record<string, any>;
1164
1170
  }) => Promise<void>;
1165
1171
  };
1166
1172
  }>;
@@ -1209,19 +1215,19 @@ declare const auth: better_auth78.Auth<{
1209
1215
  };
1210
1216
  };
1211
1217
  endpoints: {
1212
- deviceCode: better_auth78.StrictEndpoint<"/device/code", {
1218
+ deviceCode: better_auth0.StrictEndpoint<"/device/code", {
1213
1219
  method: "POST";
1214
- body: zod205.ZodObject<{
1215
- client_id: zod205.ZodString;
1216
- scope: zod205.ZodOptional<zod205.ZodString>;
1217
- }, better_auth78.$strip>;
1218
- error: zod205.ZodObject<{
1219
- error: zod205.ZodEnum<{
1220
+ body: zod0.ZodObject<{
1221
+ client_id: zod0.ZodString;
1222
+ scope: zod0.ZodOptional<zod0.ZodString>;
1223
+ }, better_auth0.$strip>;
1224
+ error: zod0.ZodObject<{
1225
+ error: zod0.ZodEnum<{
1220
1226
  invalid_request: "invalid_request";
1221
1227
  invalid_client: "invalid_client";
1222
1228
  }>;
1223
- error_description: zod205.ZodString;
1224
- }, better_auth78.$strip>;
1229
+ error_description: zod0.ZodString;
1230
+ }, better_auth0.$strip>;
1225
1231
  metadata: {
1226
1232
  openapi: {
1227
1233
  description: string;
@@ -1294,15 +1300,15 @@ declare const auth: better_auth78.Auth<{
1294
1300
  expires_in: number;
1295
1301
  interval: number;
1296
1302
  }>;
1297
- deviceToken: better_auth78.StrictEndpoint<"/device/token", {
1303
+ deviceToken: better_auth0.StrictEndpoint<"/device/token", {
1298
1304
  method: "POST";
1299
- body: zod205.ZodObject<{
1300
- grant_type: zod205.ZodLiteral<"urn:ietf:params:oauth:grant-type:device_code">;
1301
- device_code: zod205.ZodString;
1302
- client_id: zod205.ZodString;
1303
- }, better_auth78.$strip>;
1304
- error: zod205.ZodObject<{
1305
- error: zod205.ZodEnum<{
1305
+ body: zod0.ZodObject<{
1306
+ grant_type: zod0.ZodLiteral<"urn:ietf:params:oauth:grant-type:device_code">;
1307
+ device_code: zod0.ZodString;
1308
+ client_id: zod0.ZodString;
1309
+ }, better_auth0.$strip>;
1310
+ error: zod0.ZodObject<{
1311
+ error: zod0.ZodEnum<{
1306
1312
  invalid_request: "invalid_request";
1307
1313
  authorization_pending: "authorization_pending";
1308
1314
  slow_down: "slow_down";
@@ -1310,8 +1316,8 @@ declare const auth: better_auth78.Auth<{
1310
1316
  access_denied: "access_denied";
1311
1317
  invalid_grant: "invalid_grant";
1312
1318
  }>;
1313
- error_description: zod205.ZodString;
1314
- }, better_auth78.$strip>;
1319
+ error_description: zod0.ZodString;
1320
+ }, better_auth0.$strip>;
1315
1321
  metadata: {
1316
1322
  openapi: {
1317
1323
  description: string;
@@ -1362,17 +1368,17 @@ declare const auth: better_auth78.Auth<{
1362
1368
  expires_in: number;
1363
1369
  scope: string;
1364
1370
  }>;
1365
- deviceVerify: better_auth78.StrictEndpoint<"/device", {
1371
+ deviceVerify: better_auth0.StrictEndpoint<"/device", {
1366
1372
  method: "GET";
1367
- query: zod205.ZodObject<{
1368
- user_code: zod205.ZodString;
1369
- }, better_auth78.$strip>;
1370
- error: zod205.ZodObject<{
1371
- error: zod205.ZodEnum<{
1373
+ query: zod0.ZodObject<{
1374
+ user_code: zod0.ZodString;
1375
+ }, better_auth0.$strip>;
1376
+ error: zod0.ZodObject<{
1377
+ error: zod0.ZodEnum<{
1372
1378
  invalid_request: "invalid_request";
1373
1379
  }>;
1374
- error_description: zod205.ZodString;
1375
- }, better_auth78.$strip>;
1380
+ error_description: zod0.ZodString;
1381
+ }, better_auth0.$strip>;
1376
1382
  metadata: {
1377
1383
  openapi: {
1378
1384
  description: string;
@@ -1405,19 +1411,19 @@ declare const auth: better_auth78.Auth<{
1405
1411
  user_code: string;
1406
1412
  status: string;
1407
1413
  }>;
1408
- deviceApprove: better_auth78.StrictEndpoint<"/device/approve", {
1414
+ deviceApprove: better_auth0.StrictEndpoint<"/device/approve", {
1409
1415
  method: "POST";
1410
- body: zod205.ZodObject<{
1411
- userCode: zod205.ZodString;
1412
- }, better_auth78.$strip>;
1413
- error: zod205.ZodObject<{
1414
- error: zod205.ZodEnum<{
1416
+ body: zod0.ZodObject<{
1417
+ userCode: zod0.ZodString;
1418
+ }, better_auth0.$strip>;
1419
+ error: zod0.ZodObject<{
1420
+ error: zod0.ZodEnum<{
1415
1421
  invalid_request: "invalid_request";
1416
1422
  expired_token: "expired_token";
1417
1423
  device_code_already_processed: "device_code_already_processed";
1418
1424
  }>;
1419
- error_description: zod205.ZodString;
1420
- }, better_auth78.$strip>;
1425
+ error_description: zod0.ZodString;
1426
+ }, better_auth0.$strip>;
1421
1427
  requireHeaders: true;
1422
1428
  metadata: {
1423
1429
  openapi: {
@@ -1444,18 +1450,18 @@ declare const auth: better_auth78.Auth<{
1444
1450
  }, {
1445
1451
  success: boolean;
1446
1452
  }>;
1447
- deviceDeny: better_auth78.StrictEndpoint<"/device/deny", {
1453
+ deviceDeny: better_auth0.StrictEndpoint<"/device/deny", {
1448
1454
  method: "POST";
1449
- body: zod205.ZodObject<{
1450
- userCode: zod205.ZodString;
1451
- }, better_auth78.$strip>;
1452
- error: zod205.ZodObject<{
1453
- error: zod205.ZodEnum<{
1455
+ body: zod0.ZodObject<{
1456
+ userCode: zod0.ZodString;
1457
+ }, better_auth0.$strip>;
1458
+ error: zod0.ZodObject<{
1459
+ error: zod0.ZodEnum<{
1454
1460
  invalid_request: "invalid_request";
1455
1461
  expired_token: "expired_token";
1456
1462
  }>;
1457
- error_description: zod205.ZodString;
1458
- }, better_auth78.$strip>;
1463
+ error_description: zod0.ZodString;
1464
+ }, better_auth0.$strip>;
1459
1465
  metadata: {
1460
1466
  openapi: {
1461
1467
  description: string;
@@ -1497,8 +1503,8 @@ declare const auth: better_auth78.Auth<{
1497
1503
  readonly AUTHENTICATION_REQUIRED: "Authentication required";
1498
1504
  };
1499
1505
  options: Partial<{
1500
- expiresIn: better_auth_plugins69.TimeString;
1501
- interval: better_auth_plugins69.TimeString;
1506
+ expiresIn: better_auth_plugins0.TimeString;
1507
+ interval: better_auth_plugins0.TimeString;
1502
1508
  deviceCodeLength: number;
1503
1509
  userCodeLength: number;
1504
1510
  schema: {
@@ -1525,6 +1531,6 @@ declare const auth: better_auth78.Auth<{
1525
1531
  }>;
1526
1532
  }];
1527
1533
  }> | null;
1528
- declare const app: Hono<hono_types3.BlankEnv, hono_types3.BlankSchema, "/">;
1534
+ declare const app: Hono<hono_types1.BlankEnv, hono_types1.BlankSchema, "/">;
1529
1535
  //#endregion
1530
1536
  export { type AppConfig, type AppVariables, Hono, type NativeSandboxConfig, type SSOProviderConfig, type SandboxConfig, type UserAuthConfig, type VercelSandboxConfig, auth, createAgentsApp, createAgentsHono, createAuth0Provider, createOIDCProvider, app as default, initializeDefaultUser };