@inkeep/agents-api 0.0.0-dev-20260413140955 → 0.0.0-dev-20260413152429

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 (33) hide show
  1. package/dist/.well-known/workflow/v1/manifest.json +50 -50
  2. package/dist/createApp.d.ts +2 -2
  3. package/dist/data/db/runDbClient.d.ts +2 -2
  4. package/dist/data-reconciliation/handlers/agent.d.ts +2 -2
  5. package/dist/data-reconciliation/handlers/sub-agents.d.ts +2 -2
  6. package/dist/domains/evals/routes/index.d.ts +2 -2
  7. package/dist/domains/evals/workflow/routes.d.ts +2 -2
  8. package/dist/domains/manage/routes/authLookup.d.ts +2 -2
  9. package/dist/domains/manage/routes/availableAgents.d.ts +2 -2
  10. package/dist/domains/manage/routes/conversations.d.ts +2 -2
  11. package/dist/domains/manage/routes/feedback.d.ts +2 -2
  12. package/dist/domains/manage/routes/index.d.ts +2 -2
  13. package/dist/domains/manage/routes/invitations.d.ts +2 -2
  14. package/dist/domains/manage/routes/passwordResetLinks.d.ts +2 -2
  15. package/dist/domains/manage/routes/signoz.d.ts +2 -2
  16. package/dist/domains/manage/routes/users.d.ts +2 -2
  17. package/dist/domains/mcp/routes/mcp.d.ts +2 -2
  18. package/dist/domains/run/routes/auth.d.ts +2 -2
  19. package/dist/domains/run/tools/distill-conversation-history-tool.d.ts +1 -1
  20. package/dist/domains/run/types/chat.d.ts +13 -13
  21. package/dist/domains/run/workflow/steps/scheduledTriggerSteps.d.ts +6 -6
  22. package/dist/factory.d.ts +340 -340
  23. package/dist/index.d.ts +338 -338
  24. package/dist/middleware/evalsAuth.d.ts +2 -2
  25. package/dist/middleware/manageAuth.d.ts +3 -3
  26. package/dist/middleware/projectConfig.d.ts +3 -3
  27. package/dist/middleware/requireEntitlement.d.ts +2 -2
  28. package/dist/middleware/requirePermission.d.ts +2 -2
  29. package/dist/middleware/runAuth.d.ts +4 -4
  30. package/dist/middleware/sessionAuth.d.ts +3 -3
  31. package/dist/middleware/tenantAccess.d.ts +2 -2
  32. package/dist/middleware/tracing.d.ts +3 -3
  33. package/package.json +5 -5
package/dist/index.d.ts CHANGED
@@ -4,45 +4,45 @@ import { createAgentsHono } from "./createApp.js";
4
4
  import { NativeSandboxConfig, SandboxConfig, VercelSandboxConfig } from "./domains/run/types/executionContext.js";
5
5
  import { SSOProviderConfig, UserAuthConfig, createAgentsApp } from "./factory.js";
6
6
  import "./sentry.js";
7
- import * as _better_auth_oauth_provider16 from "@better-auth/oauth-provider";
7
+ import * as _better_auth_oauth_provider0 from "@better-auth/oauth-provider";
8
8
  import { Hono } from "hono";
9
- import * as zod362 from "zod";
10
- import * as jose4 from "jose";
9
+ import * as zod0 from "zod";
10
+ import * as jose0 from "jose";
11
11
  import * as hono_types1 from "hono/types";
12
- import * as better_auth133 from "better-auth";
13
- import * as better_auth_plugins7 from "better-auth/plugins";
12
+ import * as better_auth0 from "better-auth";
13
+ import * as better_auth_plugins0 from "better-auth/plugins";
14
14
 
15
15
  //#region src/index.d.ts
16
- declare const auth: better_auth133.Auth<{
16
+ declare const auth: better_auth0.Auth<{
17
17
  plugins: [{
18
18
  id: "bearer";
19
19
  hooks: {
20
20
  before: {
21
- matcher(context: better_auth133.HookEndpointContext): boolean;
22
- handler: (inputContext: better_auth133.MiddlewareInputContext<better_auth133.MiddlewareOptions>) => Promise<{
21
+ matcher(context: better_auth0.HookEndpointContext): boolean;
22
+ handler: (inputContext: better_auth0.MiddlewareInputContext<better_auth0.MiddlewareOptions>) => Promise<{
23
23
  context: {
24
24
  headers: Headers;
25
25
  };
26
26
  } | undefined>;
27
27
  }[];
28
28
  after: {
29
- matcher(context: better_auth133.HookEndpointContext): true;
30
- handler: (inputContext: better_auth133.MiddlewareInputContext<better_auth133.MiddlewareOptions>) => Promise<void>;
29
+ matcher(context: better_auth0.HookEndpointContext): true;
30
+ handler: (inputContext: better_auth0.MiddlewareInputContext<better_auth0.MiddlewareOptions>) => Promise<void>;
31
31
  }[];
32
32
  };
33
- options: better_auth_plugins7.BearerOptions | undefined;
33
+ options: better_auth_plugins0.BearerOptions | undefined;
34
34
  }, {
35
35
  id: "oauth-proxy";
36
- options: NoInfer<better_auth_plugins7.OAuthProxyOptions>;
36
+ options: NoInfer<better_auth_plugins0.OAuthProxyOptions>;
37
37
  endpoints: {
38
- oAuthProxy: better_auth133.StrictEndpoint<"/oauth-proxy-callback", {
38
+ oAuthProxy: better_auth0.StrictEndpoint<"/oauth-proxy-callback", {
39
39
  method: "GET";
40
40
  operationId: string;
41
- query: zod362.ZodObject<{
42
- callbackURL: zod362.ZodString;
43
- profile: zod362.ZodOptional<zod362.ZodString>;
44
- }, better_auth133.$strip>;
45
- use: ((inputContext: better_auth133.MiddlewareInputContext<better_auth133.MiddlewareOptions>) => Promise<void>)[];
41
+ query: zod0.ZodObject<{
42
+ callbackURL: zod0.ZodString;
43
+ profile: zod0.ZodOptional<zod0.ZodString>;
44
+ }, better_auth0.$strip>;
45
+ use: ((inputContext: better_auth0.MiddlewareInputContext<better_auth0.MiddlewareOptions>) => Promise<void>)[];
46
46
  metadata: {
47
47
  openapi: {
48
48
  operationId: string;
@@ -77,19 +77,19 @@ declare const auth: better_auth133.Auth<{
77
77
  };
78
78
  hooks: {
79
79
  before: {
80
- matcher(context: better_auth133.HookEndpointContext): boolean;
81
- handler: (inputContext: better_auth133.MiddlewareInputContext<better_auth133.MiddlewareOptions>) => Promise<void>;
80
+ matcher(context: better_auth0.HookEndpointContext): boolean;
81
+ handler: (inputContext: better_auth0.MiddlewareInputContext<better_auth0.MiddlewareOptions>) => Promise<void>;
82
82
  }[];
83
83
  after: {
84
- matcher(context: better_auth133.HookEndpointContext): boolean;
85
- handler: (inputContext: better_auth133.MiddlewareInputContext<better_auth133.MiddlewareOptions>) => Promise<void>;
84
+ matcher(context: better_auth0.HookEndpointContext): boolean;
85
+ handler: (inputContext: better_auth0.MiddlewareInputContext<better_auth0.MiddlewareOptions>) => Promise<void>;
86
86
  }[];
87
87
  };
88
88
  }, {
89
89
  id: "jwt";
90
- options: NoInfer<better_auth_plugins7.JwtOptions>;
90
+ options: NoInfer<better_auth_plugins0.JwtOptions>;
91
91
  endpoints: {
92
- getJwks: better_auth133.StrictEndpoint<string, {
92
+ getJwks: better_auth0.StrictEndpoint<string, {
93
93
  method: "GET";
94
94
  metadata: {
95
95
  openapi: {
@@ -165,11 +165,11 @@ declare const auth: better_auth133.Auth<{
165
165
  };
166
166
  };
167
167
  };
168
- }, jose4.JSONWebKeySet>;
169
- getToken: better_auth133.StrictEndpoint<"/token", {
168
+ }, jose0.JSONWebKeySet>;
169
+ getToken: better_auth0.StrictEndpoint<"/token", {
170
170
  method: "GET";
171
171
  requireHeaders: true;
172
- use: ((inputContext: better_auth133.MiddlewareInputContext<better_auth133.MiddlewareOptions>) => Promise<{
172
+ use: ((inputContext: better_auth0.MiddlewareInputContext<better_auth0.MiddlewareOptions>) => Promise<{
173
173
  session: {
174
174
  session: Record<string, any> & {
175
175
  id: string;
@@ -218,24 +218,24 @@ declare const auth: better_auth133.Auth<{
218
218
  }, {
219
219
  token: string;
220
220
  }>;
221
- signJWT: better_auth133.StrictEndpoint<string, {
221
+ signJWT: better_auth0.StrictEndpoint<string, {
222
222
  method: "POST";
223
223
  metadata: {
224
224
  $Infer: {
225
225
  body: {
226
- payload: jose4.JWTPayload;
227
- overrideOptions?: better_auth_plugins7.JwtOptions | undefined;
226
+ payload: jose0.JWTPayload;
227
+ overrideOptions?: better_auth_plugins0.JwtOptions | undefined;
228
228
  };
229
229
  };
230
230
  };
231
- body: zod362.ZodObject<{
232
- payload: zod362.ZodRecord<zod362.ZodString, zod362.ZodAny>;
233
- overrideOptions: zod362.ZodOptional<zod362.ZodRecord<zod362.ZodString, zod362.ZodAny>>;
234
- }, better_auth133.$strip>;
231
+ body: zod0.ZodObject<{
232
+ payload: zod0.ZodRecord<zod0.ZodString, zod0.ZodAny>;
233
+ overrideOptions: zod0.ZodOptional<zod0.ZodRecord<zod0.ZodString, zod0.ZodAny>>;
234
+ }, better_auth0.$strip>;
235
235
  }, {
236
236
  token: string;
237
237
  }>;
238
- verifyJWT: better_auth133.StrictEndpoint<string, {
238
+ verifyJWT: better_auth0.StrictEndpoint<string, {
239
239
  method: "POST";
240
240
  metadata: {
241
241
  $Infer: {
@@ -252,18 +252,18 @@ declare const auth: better_auth133.Auth<{
252
252
  };
253
253
  };
254
254
  };
255
- body: zod362.ZodObject<{
256
- token: zod362.ZodString;
257
- issuer: zod362.ZodOptional<zod362.ZodString>;
258
- }, better_auth133.$strip>;
255
+ body: zod0.ZodObject<{
256
+ token: zod0.ZodString;
257
+ issuer: zod0.ZodOptional<zod0.ZodString>;
258
+ }, better_auth0.$strip>;
259
259
  }, {
260
- payload: (jose4.JWTPayload & Required<Pick<jose4.JWTPayload, "sub" | "aud">>) | null;
260
+ payload: (jose0.JWTPayload & Required<Pick<jose0.JWTPayload, "sub" | "aud">>) | null;
261
261
  }>;
262
262
  };
263
263
  hooks: {
264
264
  after: {
265
- matcher(context: better_auth133.HookEndpointContext): boolean;
266
- handler: (inputContext: better_auth133.MiddlewareInputContext<better_auth133.MiddlewareOptions>) => Promise<void>;
265
+ matcher(context: better_auth0.HookEndpointContext): boolean;
266
+ handler: (inputContext: better_auth0.MiddlewareInputContext<better_auth0.MiddlewareOptions>) => Promise<void>;
267
267
  }[];
268
268
  };
269
269
  schema: {
@@ -294,51 +294,51 @@ declare const auth: better_auth133.Auth<{
294
294
  loginPage: string;
295
295
  consentPage: string;
296
296
  }>;
297
- init: (ctx: better_auth133.AuthContext) => void;
297
+ init: (ctx: better_auth0.AuthContext) => void;
298
298
  hooks: {
299
299
  before: {
300
- matcher(ctx: better_auth133.HookEndpointContext): any;
301
- handler: (inputContext: better_auth133.MiddlewareInputContext<better_auth133.MiddlewareOptions>) => Promise<void>;
300
+ matcher(ctx: better_auth0.HookEndpointContext): any;
301
+ handler: (inputContext: better_auth0.MiddlewareInputContext<better_auth0.MiddlewareOptions>) => Promise<void>;
302
302
  }[];
303
303
  after: {
304
- matcher(ctx: better_auth133.HookEndpointContext): boolean;
305
- handler: (inputContext: better_auth133.MiddlewareInputContext<better_auth133.MiddlewareOptions>) => Promise<{
304
+ matcher(ctx: better_auth0.HookEndpointContext): boolean;
305
+ handler: (inputContext: better_auth0.MiddlewareInputContext<better_auth0.MiddlewareOptions>) => Promise<{
306
306
  redirect: boolean;
307
307
  url: string;
308
308
  } | undefined>;
309
309
  }[];
310
310
  };
311
311
  endpoints: {
312
- getOAuthServerConfig: better_auth133.StrictEndpoint<"/.well-known/oauth-authorization-server", {
312
+ getOAuthServerConfig: better_auth0.StrictEndpoint<"/.well-known/oauth-authorization-server", {
313
313
  method: "GET";
314
314
  metadata: {
315
315
  SERVER_ONLY: true;
316
316
  };
317
- }, _better_auth_oauth_provider16.AuthServerMetadata>;
318
- getOpenIdConfig: better_auth133.StrictEndpoint<"/.well-known/openid-configuration", {
317
+ }, _better_auth_oauth_provider0.AuthServerMetadata>;
318
+ getOpenIdConfig: better_auth0.StrictEndpoint<"/.well-known/openid-configuration", {
319
319
  method: "GET";
320
320
  metadata: {
321
321
  SERVER_ONLY: true;
322
322
  };
323
- }, Omit<_better_auth_oauth_provider16.OIDCMetadata, "id_token_signing_alg_values_supported"> & {
324
- id_token_signing_alg_values_supported: better_auth_plugins7.JWSAlgorithms[] | ["HS256"];
323
+ }, Omit<_better_auth_oauth_provider0.OIDCMetadata, "id_token_signing_alg_values_supported"> & {
324
+ id_token_signing_alg_values_supported: better_auth_plugins0.JWSAlgorithms[] | ["HS256"];
325
325
  }>;
326
- oauth2Authorize: better_auth133.StrictEndpoint<"/oauth2/authorize", {
326
+ oauth2Authorize: better_auth0.StrictEndpoint<"/oauth2/authorize", {
327
327
  method: "GET";
328
- query: zod362.ZodObject<{
329
- response_type: zod362.ZodEnum<{
328
+ query: zod0.ZodObject<{
329
+ response_type: zod0.ZodEnum<{
330
330
  code: "code";
331
331
  }>;
332
- client_id: zod362.ZodString;
333
- redirect_uri: zod362.ZodOptional<zod362.ZodURL>;
334
- scope: zod362.ZodOptional<zod362.ZodString>;
335
- state: zod362.ZodOptional<zod362.ZodString>;
336
- code_challenge: zod362.ZodOptional<zod362.ZodString>;
337
- code_challenge_method: zod362.ZodOptional<zod362.ZodEnum<{
332
+ client_id: zod0.ZodString;
333
+ redirect_uri: zod0.ZodOptional<zod0.ZodURL>;
334
+ scope: zod0.ZodOptional<zod0.ZodString>;
335
+ state: zod0.ZodOptional<zod0.ZodString>;
336
+ code_challenge: zod0.ZodOptional<zod0.ZodString>;
337
+ code_challenge_method: zod0.ZodOptional<zod0.ZodEnum<{
338
338
  S256: "S256";
339
339
  }>>;
340
- nonce: zod362.ZodOptional<zod362.ZodString>;
341
- prompt: zod362.ZodOptional<zod362.ZodEnum<{
340
+ nonce: zod0.ZodOptional<zod0.ZodString>;
341
+ prompt: zod0.ZodOptional<zod0.ZodEnum<{
342
342
  none: "none";
343
343
  consent: "consent";
344
344
  login: "login";
@@ -347,7 +347,7 @@ declare const auth: better_auth133.Auth<{
347
347
  "login consent": "login consent";
348
348
  "select_account consent": "select_account consent";
349
349
  }>>;
350
- }, better_auth133.$strip>;
350
+ }, better_auth0.$strip>;
351
351
  metadata: {
352
352
  openapi: {
353
353
  description: string;
@@ -421,14 +421,14 @@ declare const auth: better_auth133.Auth<{
421
421
  redirect: boolean;
422
422
  url: string;
423
423
  }>;
424
- oauth2Consent: better_auth133.StrictEndpoint<"/oauth2/consent", {
424
+ oauth2Consent: better_auth0.StrictEndpoint<"/oauth2/consent", {
425
425
  method: "POST";
426
- body: zod362.ZodObject<{
427
- accept: zod362.ZodBoolean;
428
- scope: zod362.ZodOptional<zod362.ZodString>;
429
- oauth_query: zod362.ZodOptional<zod362.ZodString>;
430
- }, better_auth133.$strip>;
431
- use: ((inputContext: better_auth133.MiddlewareInputContext<better_auth133.MiddlewareOptions>) => Promise<{
426
+ body: zod0.ZodObject<{
427
+ accept: zod0.ZodBoolean;
428
+ scope: zod0.ZodOptional<zod0.ZodString>;
429
+ oauth_query: zod0.ZodOptional<zod0.ZodString>;
430
+ }, better_auth0.$strip>;
431
+ use: ((inputContext: better_auth0.MiddlewareInputContext<better_auth0.MiddlewareOptions>) => Promise<{
432
432
  session: {
433
433
  session: Record<string, any> & {
434
434
  id: string;
@@ -480,15 +480,15 @@ declare const auth: better_auth133.Auth<{
480
480
  redirect: boolean;
481
481
  url: string;
482
482
  }>;
483
- oauth2Continue: better_auth133.StrictEndpoint<"/oauth2/continue", {
483
+ oauth2Continue: better_auth0.StrictEndpoint<"/oauth2/continue", {
484
484
  method: "POST";
485
- body: zod362.ZodObject<{
486
- selected: zod362.ZodOptional<zod362.ZodBoolean>;
487
- created: zod362.ZodOptional<zod362.ZodBoolean>;
488
- postLogin: zod362.ZodOptional<zod362.ZodBoolean>;
489
- oauth_query: zod362.ZodOptional<zod362.ZodString>;
490
- }, better_auth133.$strip>;
491
- use: ((inputContext: better_auth133.MiddlewareInputContext<better_auth133.MiddlewareOptions>) => Promise<{
485
+ body: zod0.ZodObject<{
486
+ selected: zod0.ZodOptional<zod0.ZodBoolean>;
487
+ created: zod0.ZodOptional<zod0.ZodBoolean>;
488
+ postLogin: zod0.ZodOptional<zod0.ZodBoolean>;
489
+ oauth_query: zod0.ZodOptional<zod0.ZodString>;
490
+ }, better_auth0.$strip>;
491
+ use: ((inputContext: better_auth0.MiddlewareInputContext<better_auth0.MiddlewareOptions>) => Promise<{
492
492
  session: {
493
493
  session: Record<string, any> & {
494
494
  id: string;
@@ -540,23 +540,23 @@ declare const auth: better_auth133.Auth<{
540
540
  redirect: boolean;
541
541
  url: string;
542
542
  }>;
543
- oauth2Token: better_auth133.StrictEndpoint<"/oauth2/token", {
543
+ oauth2Token: better_auth0.StrictEndpoint<"/oauth2/token", {
544
544
  method: "POST";
545
- body: zod362.ZodObject<{
546
- grant_type: zod362.ZodEnum<{
545
+ body: zod0.ZodObject<{
546
+ grant_type: zod0.ZodEnum<{
547
547
  authorization_code: "authorization_code";
548
548
  client_credentials: "client_credentials";
549
549
  refresh_token: "refresh_token";
550
550
  }>;
551
- client_id: zod362.ZodOptional<zod362.ZodString>;
552
- client_secret: zod362.ZodOptional<zod362.ZodString>;
553
- code: zod362.ZodOptional<zod362.ZodString>;
554
- code_verifier: zod362.ZodOptional<zod362.ZodString>;
555
- redirect_uri: zod362.ZodOptional<zod362.ZodURL>;
556
- refresh_token: zod362.ZodOptional<zod362.ZodString>;
557
- resource: zod362.ZodOptional<zod362.ZodString>;
558
- scope: zod362.ZodOptional<zod362.ZodString>;
559
- }, better_auth133.$strip>;
551
+ client_id: zod0.ZodOptional<zod0.ZodString>;
552
+ client_secret: zod0.ZodOptional<zod0.ZodString>;
553
+ code: zod0.ZodOptional<zod0.ZodString>;
554
+ code_verifier: zod0.ZodOptional<zod0.ZodString>;
555
+ redirect_uri: zod0.ZodOptional<zod0.ZodURL>;
556
+ refresh_token: zod0.ZodOptional<zod0.ZodString>;
557
+ resource: zod0.ZodOptional<zod0.ZodString>;
558
+ scope: zod0.ZodOptional<zod0.ZodString>;
559
+ }, better_auth0.$strip>;
560
560
  metadata: {
561
561
  allowedMediaTypes: string[];
562
562
  openapi: {
@@ -683,17 +683,17 @@ declare const auth: better_auth133.Auth<{
683
683
  token_type: string;
684
684
  scope: string;
685
685
  }>;
686
- oauth2Introspect: better_auth133.StrictEndpoint<"/oauth2/introspect", {
686
+ oauth2Introspect: better_auth0.StrictEndpoint<"/oauth2/introspect", {
687
687
  method: "POST";
688
- body: zod362.ZodObject<{
689
- client_id: zod362.ZodOptional<zod362.ZodString>;
690
- client_secret: zod362.ZodOptional<zod362.ZodString>;
691
- token: zod362.ZodString;
692
- token_type_hint: zod362.ZodOptional<zod362.ZodEnum<{
688
+ body: zod0.ZodObject<{
689
+ client_id: zod0.ZodOptional<zod0.ZodString>;
690
+ client_secret: zod0.ZodOptional<zod0.ZodString>;
691
+ token: zod0.ZodString;
692
+ token_type_hint: zod0.ZodOptional<zod0.ZodEnum<{
693
693
  refresh_token: "refresh_token";
694
694
  access_token: "access_token";
695
695
  }>>;
696
- }, better_auth133.$strip>;
696
+ }, better_auth0.$strip>;
697
697
  metadata: {
698
698
  allowedMediaTypes: string[];
699
699
  openapi: {
@@ -819,18 +819,18 @@ declare const auth: better_auth133.Auth<{
819
819
  };
820
820
  };
821
821
  };
822
- }, jose4.JWTPayload>;
823
- oauth2Revoke: better_auth133.StrictEndpoint<"/oauth2/revoke", {
822
+ }, jose0.JWTPayload>;
823
+ oauth2Revoke: better_auth0.StrictEndpoint<"/oauth2/revoke", {
824
824
  method: "POST";
825
- body: zod362.ZodObject<{
826
- client_id: zod362.ZodOptional<zod362.ZodString>;
827
- client_secret: zod362.ZodOptional<zod362.ZodString>;
828
- token: zod362.ZodString;
829
- token_type_hint: zod362.ZodOptional<zod362.ZodEnum<{
825
+ body: zod0.ZodObject<{
826
+ client_id: zod0.ZodOptional<zod0.ZodString>;
827
+ client_secret: zod0.ZodOptional<zod0.ZodString>;
828
+ token: zod0.ZodString;
829
+ token_type_hint: zod0.ZodOptional<zod0.ZodEnum<{
830
830
  refresh_token: "refresh_token";
831
831
  access_token: "access_token";
832
832
  }>>;
833
- }, better_auth133.$strip>;
833
+ }, better_auth0.$strip>;
834
834
  metadata: {
835
835
  allowedMediaTypes: string[];
836
836
  openapi: {
@@ -903,7 +903,7 @@ declare const auth: better_auth133.Auth<{
903
903
  };
904
904
  };
905
905
  }, null | undefined>;
906
- oauth2UserInfo: better_auth133.StrictEndpoint<"/oauth2/userinfo", {
906
+ oauth2UserInfo: better_auth0.StrictEndpoint<"/oauth2/userinfo", {
907
907
  method: "GET";
908
908
  metadata: {
909
909
  openapi: {
@@ -1024,14 +1024,14 @@ declare const auth: better_auth133.Auth<{
1024
1024
  family_name?: string | undefined;
1025
1025
  sub: string;
1026
1026
  }>;
1027
- oauth2EndSession: better_auth133.StrictEndpoint<"/oauth2/end-session", {
1027
+ oauth2EndSession: better_auth0.StrictEndpoint<"/oauth2/end-session", {
1028
1028
  method: "GET";
1029
- query: zod362.ZodObject<{
1030
- id_token_hint: zod362.ZodString;
1031
- client_id: zod362.ZodOptional<zod362.ZodString>;
1032
- post_logout_redirect_uri: zod362.ZodOptional<zod362.ZodURL>;
1033
- state: zod362.ZodOptional<zod362.ZodString>;
1034
- }, better_auth133.$strip>;
1029
+ query: zod0.ZodObject<{
1030
+ id_token_hint: zod0.ZodString;
1031
+ client_id: zod0.ZodOptional<zod0.ZodString>;
1032
+ post_logout_redirect_uri: zod0.ZodOptional<zod0.ZodURL>;
1033
+ state: zod0.ZodOptional<zod0.ZodString>;
1034
+ }, better_auth0.$strip>;
1035
1035
  metadata: {
1036
1036
  openapi: {
1037
1037
  description: string;
@@ -1064,44 +1064,44 @@ declare const auth: better_auth133.Auth<{
1064
1064
  redirect: boolean;
1065
1065
  url: string;
1066
1066
  } | undefined>;
1067
- registerOAuthClient: better_auth133.StrictEndpoint<"/oauth2/register", {
1067
+ registerOAuthClient: better_auth0.StrictEndpoint<"/oauth2/register", {
1068
1068
  method: "POST";
1069
- body: zod362.ZodObject<{
1070
- redirect_uris: zod362.ZodArray<zod362.ZodURL>;
1071
- scope: zod362.ZodOptional<zod362.ZodString>;
1072
- client_name: zod362.ZodOptional<zod362.ZodString>;
1073
- client_uri: zod362.ZodOptional<zod362.ZodString>;
1074
- logo_uri: zod362.ZodOptional<zod362.ZodString>;
1075
- contacts: zod362.ZodOptional<zod362.ZodArray<zod362.ZodString>>;
1076
- tos_uri: zod362.ZodOptional<zod362.ZodString>;
1077
- policy_uri: zod362.ZodOptional<zod362.ZodString>;
1078
- software_id: zod362.ZodOptional<zod362.ZodString>;
1079
- software_version: zod362.ZodOptional<zod362.ZodString>;
1080
- software_statement: zod362.ZodOptional<zod362.ZodString>;
1081
- post_logout_redirect_uris: zod362.ZodOptional<zod362.ZodArray<zod362.ZodURL>>;
1082
- token_endpoint_auth_method: zod362.ZodOptional<zod362.ZodDefault<zod362.ZodEnum<{
1069
+ body: zod0.ZodObject<{
1070
+ redirect_uris: zod0.ZodArray<zod0.ZodURL>;
1071
+ scope: zod0.ZodOptional<zod0.ZodString>;
1072
+ client_name: zod0.ZodOptional<zod0.ZodString>;
1073
+ client_uri: zod0.ZodOptional<zod0.ZodString>;
1074
+ logo_uri: zod0.ZodOptional<zod0.ZodString>;
1075
+ contacts: zod0.ZodOptional<zod0.ZodArray<zod0.ZodString>>;
1076
+ tos_uri: zod0.ZodOptional<zod0.ZodString>;
1077
+ policy_uri: zod0.ZodOptional<zod0.ZodString>;
1078
+ software_id: zod0.ZodOptional<zod0.ZodString>;
1079
+ software_version: zod0.ZodOptional<zod0.ZodString>;
1080
+ software_statement: zod0.ZodOptional<zod0.ZodString>;
1081
+ post_logout_redirect_uris: zod0.ZodOptional<zod0.ZodArray<zod0.ZodURL>>;
1082
+ token_endpoint_auth_method: zod0.ZodOptional<zod0.ZodDefault<zod0.ZodEnum<{
1083
1083
  none: "none";
1084
1084
  client_secret_basic: "client_secret_basic";
1085
1085
  client_secret_post: "client_secret_post";
1086
1086
  }>>>;
1087
- grant_types: zod362.ZodOptional<zod362.ZodDefault<zod362.ZodArray<zod362.ZodEnum<{
1087
+ grant_types: zod0.ZodOptional<zod0.ZodDefault<zod0.ZodArray<zod0.ZodEnum<{
1088
1088
  authorization_code: "authorization_code";
1089
1089
  client_credentials: "client_credentials";
1090
1090
  refresh_token: "refresh_token";
1091
1091
  }>>>>;
1092
- response_types: zod362.ZodOptional<zod362.ZodDefault<zod362.ZodArray<zod362.ZodEnum<{
1092
+ response_types: zod0.ZodOptional<zod0.ZodDefault<zod0.ZodArray<zod0.ZodEnum<{
1093
1093
  code: "code";
1094
1094
  }>>>>;
1095
- type: zod362.ZodOptional<zod362.ZodEnum<{
1095
+ type: zod0.ZodOptional<zod0.ZodEnum<{
1096
1096
  web: "web";
1097
1097
  native: "native";
1098
1098
  "user-agent-based": "user-agent-based";
1099
1099
  }>>;
1100
- subject_type: zod362.ZodOptional<zod362.ZodEnum<{
1100
+ subject_type: zod0.ZodOptional<zod0.ZodEnum<{
1101
1101
  public: "public";
1102
1102
  pairwise: "pairwise";
1103
1103
  }>>;
1104
- }, better_auth133.$strip>;
1104
+ }, better_auth0.$strip>;
1105
1105
  metadata: {
1106
1106
  openapi: {
1107
1107
  description: string;
@@ -1235,50 +1235,50 @@ declare const auth: better_auth133.Auth<{
1235
1235
  };
1236
1236
  };
1237
1237
  };
1238
- }, _better_auth_oauth_provider16.OAuthClient>;
1239
- adminCreateOAuthClient: better_auth133.StrictEndpoint<"/admin/oauth2/create-client", {
1238
+ }, _better_auth_oauth_provider0.OAuthClient>;
1239
+ adminCreateOAuthClient: better_auth0.StrictEndpoint<"/admin/oauth2/create-client", {
1240
1240
  method: "POST";
1241
- body: zod362.ZodObject<{
1242
- redirect_uris: zod362.ZodArray<zod362.ZodURL>;
1243
- scope: zod362.ZodOptional<zod362.ZodString>;
1244
- client_name: zod362.ZodOptional<zod362.ZodString>;
1245
- client_uri: zod362.ZodOptional<zod362.ZodString>;
1246
- logo_uri: zod362.ZodOptional<zod362.ZodString>;
1247
- contacts: zod362.ZodOptional<zod362.ZodArray<zod362.ZodString>>;
1248
- tos_uri: zod362.ZodOptional<zod362.ZodString>;
1249
- policy_uri: zod362.ZodOptional<zod362.ZodString>;
1250
- software_id: zod362.ZodOptional<zod362.ZodString>;
1251
- software_version: zod362.ZodOptional<zod362.ZodString>;
1252
- software_statement: zod362.ZodOptional<zod362.ZodString>;
1253
- post_logout_redirect_uris: zod362.ZodOptional<zod362.ZodArray<zod362.ZodURL>>;
1254
- token_endpoint_auth_method: zod362.ZodOptional<zod362.ZodDefault<zod362.ZodEnum<{
1241
+ body: zod0.ZodObject<{
1242
+ redirect_uris: zod0.ZodArray<zod0.ZodURL>;
1243
+ scope: zod0.ZodOptional<zod0.ZodString>;
1244
+ client_name: zod0.ZodOptional<zod0.ZodString>;
1245
+ client_uri: zod0.ZodOptional<zod0.ZodString>;
1246
+ logo_uri: zod0.ZodOptional<zod0.ZodString>;
1247
+ contacts: zod0.ZodOptional<zod0.ZodArray<zod0.ZodString>>;
1248
+ tos_uri: zod0.ZodOptional<zod0.ZodString>;
1249
+ policy_uri: zod0.ZodOptional<zod0.ZodString>;
1250
+ software_id: zod0.ZodOptional<zod0.ZodString>;
1251
+ software_version: zod0.ZodOptional<zod0.ZodString>;
1252
+ software_statement: zod0.ZodOptional<zod0.ZodString>;
1253
+ post_logout_redirect_uris: zod0.ZodOptional<zod0.ZodArray<zod0.ZodURL>>;
1254
+ token_endpoint_auth_method: zod0.ZodOptional<zod0.ZodDefault<zod0.ZodEnum<{
1255
1255
  none: "none";
1256
1256
  client_secret_basic: "client_secret_basic";
1257
1257
  client_secret_post: "client_secret_post";
1258
1258
  }>>>;
1259
- grant_types: zod362.ZodOptional<zod362.ZodDefault<zod362.ZodArray<zod362.ZodEnum<{
1259
+ grant_types: zod0.ZodOptional<zod0.ZodDefault<zod0.ZodArray<zod0.ZodEnum<{
1260
1260
  authorization_code: "authorization_code";
1261
1261
  client_credentials: "client_credentials";
1262
1262
  refresh_token: "refresh_token";
1263
1263
  }>>>>;
1264
- response_types: zod362.ZodOptional<zod362.ZodDefault<zod362.ZodArray<zod362.ZodEnum<{
1264
+ response_types: zod0.ZodOptional<zod0.ZodDefault<zod0.ZodArray<zod0.ZodEnum<{
1265
1265
  code: "code";
1266
1266
  }>>>>;
1267
- type: zod362.ZodOptional<zod362.ZodEnum<{
1267
+ type: zod0.ZodOptional<zod0.ZodEnum<{
1268
1268
  web: "web";
1269
1269
  native: "native";
1270
1270
  "user-agent-based": "user-agent-based";
1271
1271
  }>>;
1272
- client_secret_expires_at: zod362.ZodDefault<zod362.ZodOptional<zod362.ZodUnion<readonly [zod362.ZodString, zod362.ZodNumber]>>>;
1273
- skip_consent: zod362.ZodOptional<zod362.ZodBoolean>;
1274
- enable_end_session: zod362.ZodOptional<zod362.ZodBoolean>;
1275
- require_pkce: zod362.ZodOptional<zod362.ZodBoolean>;
1276
- subject_type: zod362.ZodOptional<zod362.ZodEnum<{
1272
+ client_secret_expires_at: zod0.ZodDefault<zod0.ZodOptional<zod0.ZodUnion<readonly [zod0.ZodString, zod0.ZodNumber]>>>;
1273
+ skip_consent: zod0.ZodOptional<zod0.ZodBoolean>;
1274
+ enable_end_session: zod0.ZodOptional<zod0.ZodBoolean>;
1275
+ require_pkce: zod0.ZodOptional<zod0.ZodBoolean>;
1276
+ subject_type: zod0.ZodOptional<zod0.ZodEnum<{
1277
1277
  public: "public";
1278
1278
  pairwise: "pairwise";
1279
1279
  }>>;
1280
- metadata: zod362.ZodOptional<zod362.ZodRecord<zod362.ZodString, zod362.ZodUnknown>>;
1281
- }, better_auth133.$strip>;
1280
+ metadata: zod0.ZodOptional<zod0.ZodRecord<zod0.ZodString, zod0.ZodUnknown>>;
1281
+ }, better_auth0.$strip>;
1282
1282
  metadata: {
1283
1283
  SERVER_ONLY: true;
1284
1284
  openapi: {
@@ -1416,10 +1416,10 @@ declare const auth: better_auth133.Auth<{
1416
1416
  };
1417
1417
  };
1418
1418
  };
1419
- }, _better_auth_oauth_provider16.OAuthClient>;
1420
- createOAuthClient: better_auth133.StrictEndpoint<"/oauth2/create-client", {
1419
+ }, _better_auth_oauth_provider0.OAuthClient>;
1420
+ createOAuthClient: better_auth0.StrictEndpoint<"/oauth2/create-client", {
1421
1421
  method: "POST";
1422
- use: ((inputContext: better_auth133.MiddlewareInputContext<better_auth133.MiddlewareOptions>) => Promise<{
1422
+ use: ((inputContext: better_auth0.MiddlewareInputContext<better_auth0.MiddlewareOptions>) => Promise<{
1423
1423
  session: {
1424
1424
  session: Record<string, any> & {
1425
1425
  id: string;
@@ -1442,38 +1442,38 @@ declare const auth: better_auth133.Auth<{
1442
1442
  };
1443
1443
  };
1444
1444
  }>)[];
1445
- body: zod362.ZodObject<{
1446
- redirect_uris: zod362.ZodArray<zod362.ZodURL>;
1447
- scope: zod362.ZodOptional<zod362.ZodString>;
1448
- client_name: zod362.ZodOptional<zod362.ZodString>;
1449
- client_uri: zod362.ZodOptional<zod362.ZodString>;
1450
- logo_uri: zod362.ZodOptional<zod362.ZodString>;
1451
- contacts: zod362.ZodOptional<zod362.ZodArray<zod362.ZodString>>;
1452
- tos_uri: zod362.ZodOptional<zod362.ZodString>;
1453
- policy_uri: zod362.ZodOptional<zod362.ZodString>;
1454
- software_id: zod362.ZodOptional<zod362.ZodString>;
1455
- software_version: zod362.ZodOptional<zod362.ZodString>;
1456
- software_statement: zod362.ZodOptional<zod362.ZodString>;
1457
- post_logout_redirect_uris: zod362.ZodOptional<zod362.ZodArray<zod362.ZodURL>>;
1458
- token_endpoint_auth_method: zod362.ZodOptional<zod362.ZodDefault<zod362.ZodEnum<{
1445
+ body: zod0.ZodObject<{
1446
+ redirect_uris: zod0.ZodArray<zod0.ZodURL>;
1447
+ scope: zod0.ZodOptional<zod0.ZodString>;
1448
+ client_name: zod0.ZodOptional<zod0.ZodString>;
1449
+ client_uri: zod0.ZodOptional<zod0.ZodString>;
1450
+ logo_uri: zod0.ZodOptional<zod0.ZodString>;
1451
+ contacts: zod0.ZodOptional<zod0.ZodArray<zod0.ZodString>>;
1452
+ tos_uri: zod0.ZodOptional<zod0.ZodString>;
1453
+ policy_uri: zod0.ZodOptional<zod0.ZodString>;
1454
+ software_id: zod0.ZodOptional<zod0.ZodString>;
1455
+ software_version: zod0.ZodOptional<zod0.ZodString>;
1456
+ software_statement: zod0.ZodOptional<zod0.ZodString>;
1457
+ post_logout_redirect_uris: zod0.ZodOptional<zod0.ZodArray<zod0.ZodURL>>;
1458
+ token_endpoint_auth_method: zod0.ZodOptional<zod0.ZodDefault<zod0.ZodEnum<{
1459
1459
  none: "none";
1460
1460
  client_secret_basic: "client_secret_basic";
1461
1461
  client_secret_post: "client_secret_post";
1462
1462
  }>>>;
1463
- grant_types: zod362.ZodOptional<zod362.ZodDefault<zod362.ZodArray<zod362.ZodEnum<{
1463
+ grant_types: zod0.ZodOptional<zod0.ZodDefault<zod0.ZodArray<zod0.ZodEnum<{
1464
1464
  authorization_code: "authorization_code";
1465
1465
  client_credentials: "client_credentials";
1466
1466
  refresh_token: "refresh_token";
1467
1467
  }>>>>;
1468
- response_types: zod362.ZodOptional<zod362.ZodDefault<zod362.ZodArray<zod362.ZodEnum<{
1468
+ response_types: zod0.ZodOptional<zod0.ZodDefault<zod0.ZodArray<zod0.ZodEnum<{
1469
1469
  code: "code";
1470
1470
  }>>>>;
1471
- type: zod362.ZodOptional<zod362.ZodEnum<{
1471
+ type: zod0.ZodOptional<zod0.ZodEnum<{
1472
1472
  web: "web";
1473
1473
  native: "native";
1474
1474
  "user-agent-based": "user-agent-based";
1475
1475
  }>>;
1476
- }, better_auth133.$strip>;
1476
+ }, better_auth0.$strip>;
1477
1477
  metadata: {
1478
1478
  openapi: {
1479
1479
  description: string;
@@ -1605,10 +1605,10 @@ declare const auth: better_auth133.Auth<{
1605
1605
  };
1606
1606
  };
1607
1607
  };
1608
- }, _better_auth_oauth_provider16.OAuthClient>;
1609
- getOAuthClient: better_auth133.StrictEndpoint<"/oauth2/get-client", {
1608
+ }, _better_auth_oauth_provider0.OAuthClient>;
1609
+ getOAuthClient: better_auth0.StrictEndpoint<"/oauth2/get-client", {
1610
1610
  method: "GET";
1611
- use: ((inputContext: better_auth133.MiddlewareInputContext<better_auth133.MiddlewareOptions>) => Promise<{
1611
+ use: ((inputContext: better_auth0.MiddlewareInputContext<better_auth0.MiddlewareOptions>) => Promise<{
1612
1612
  session: {
1613
1613
  session: Record<string, any> & {
1614
1614
  id: string;
@@ -1631,18 +1631,18 @@ declare const auth: better_auth133.Auth<{
1631
1631
  };
1632
1632
  };
1633
1633
  }>)[];
1634
- query: zod362.ZodObject<{
1635
- client_id: zod362.ZodString;
1636
- }, better_auth133.$strip>;
1634
+ query: zod0.ZodObject<{
1635
+ client_id: zod0.ZodString;
1636
+ }, better_auth0.$strip>;
1637
1637
  metadata: {
1638
1638
  openapi: {
1639
1639
  description: string;
1640
1640
  };
1641
1641
  };
1642
- }, _better_auth_oauth_provider16.OAuthClient>;
1643
- getOAuthClientPublic: better_auth133.StrictEndpoint<"/oauth2/public-client", {
1642
+ }, _better_auth_oauth_provider0.OAuthClient>;
1643
+ getOAuthClientPublic: better_auth0.StrictEndpoint<"/oauth2/public-client", {
1644
1644
  method: "GET";
1645
- use: ((inputContext: better_auth133.MiddlewareInputContext<better_auth133.MiddlewareOptions>) => Promise<{
1645
+ use: ((inputContext: better_auth0.MiddlewareInputContext<better_auth0.MiddlewareOptions>) => Promise<{
1646
1646
  session: {
1647
1647
  session: Record<string, any> & {
1648
1648
  id: string;
@@ -1665,18 +1665,18 @@ declare const auth: better_auth133.Auth<{
1665
1665
  };
1666
1666
  };
1667
1667
  }>)[];
1668
- query: zod362.ZodObject<{
1669
- client_id: zod362.ZodString;
1670
- }, better_auth133.$strip>;
1668
+ query: zod0.ZodObject<{
1669
+ client_id: zod0.ZodString;
1670
+ }, better_auth0.$strip>;
1671
1671
  metadata: {
1672
1672
  openapi: {
1673
1673
  description: string;
1674
1674
  };
1675
1675
  };
1676
- }, _better_auth_oauth_provider16.OAuthClient>;
1677
- getOAuthClients: better_auth133.StrictEndpoint<"/oauth2/get-clients", {
1676
+ }, _better_auth_oauth_provider0.OAuthClient>;
1677
+ getOAuthClients: better_auth0.StrictEndpoint<"/oauth2/get-clients", {
1678
1678
  method: "GET";
1679
- use: ((inputContext: better_auth133.MiddlewareInputContext<better_auth133.MiddlewareOptions>) => Promise<{
1679
+ use: ((inputContext: better_auth0.MiddlewareInputContext<better_auth0.MiddlewareOptions>) => Promise<{
1680
1680
  session: {
1681
1681
  session: Record<string, any> & {
1682
1682
  id: string;
@@ -1704,53 +1704,53 @@ declare const auth: better_auth133.Auth<{
1704
1704
  description: string;
1705
1705
  };
1706
1706
  };
1707
- }, _better_auth_oauth_provider16.OAuthClient[] | null>;
1708
- adminUpdateOAuthClient: better_auth133.StrictEndpoint<"/admin/oauth2/update-client", {
1707
+ }, _better_auth_oauth_provider0.OAuthClient[] | null>;
1708
+ adminUpdateOAuthClient: better_auth0.StrictEndpoint<"/admin/oauth2/update-client", {
1709
1709
  method: "PATCH";
1710
- body: zod362.ZodObject<{
1711
- client_id: zod362.ZodString;
1712
- update: zod362.ZodObject<{
1713
- redirect_uris: zod362.ZodOptional<zod362.ZodArray<zod362.ZodURL>>;
1714
- scope: zod362.ZodOptional<zod362.ZodString>;
1715
- client_name: zod362.ZodOptional<zod362.ZodString>;
1716
- client_uri: zod362.ZodOptional<zod362.ZodString>;
1717
- logo_uri: zod362.ZodOptional<zod362.ZodString>;
1718
- contacts: zod362.ZodOptional<zod362.ZodArray<zod362.ZodString>>;
1719
- tos_uri: zod362.ZodOptional<zod362.ZodString>;
1720
- policy_uri: zod362.ZodOptional<zod362.ZodString>;
1721
- software_id: zod362.ZodOptional<zod362.ZodString>;
1722
- software_version: zod362.ZodOptional<zod362.ZodString>;
1723
- software_statement: zod362.ZodOptional<zod362.ZodString>;
1724
- post_logout_redirect_uris: zod362.ZodOptional<zod362.ZodArray<zod362.ZodURL>>;
1725
- grant_types: zod362.ZodOptional<zod362.ZodArray<zod362.ZodEnum<{
1710
+ body: zod0.ZodObject<{
1711
+ client_id: zod0.ZodString;
1712
+ update: zod0.ZodObject<{
1713
+ redirect_uris: zod0.ZodOptional<zod0.ZodArray<zod0.ZodURL>>;
1714
+ scope: zod0.ZodOptional<zod0.ZodString>;
1715
+ client_name: zod0.ZodOptional<zod0.ZodString>;
1716
+ client_uri: zod0.ZodOptional<zod0.ZodString>;
1717
+ logo_uri: zod0.ZodOptional<zod0.ZodString>;
1718
+ contacts: zod0.ZodOptional<zod0.ZodArray<zod0.ZodString>>;
1719
+ tos_uri: zod0.ZodOptional<zod0.ZodString>;
1720
+ policy_uri: zod0.ZodOptional<zod0.ZodString>;
1721
+ software_id: zod0.ZodOptional<zod0.ZodString>;
1722
+ software_version: zod0.ZodOptional<zod0.ZodString>;
1723
+ software_statement: zod0.ZodOptional<zod0.ZodString>;
1724
+ post_logout_redirect_uris: zod0.ZodOptional<zod0.ZodArray<zod0.ZodURL>>;
1725
+ grant_types: zod0.ZodOptional<zod0.ZodArray<zod0.ZodEnum<{
1726
1726
  authorization_code: "authorization_code";
1727
1727
  client_credentials: "client_credentials";
1728
1728
  refresh_token: "refresh_token";
1729
1729
  }>>>;
1730
- response_types: zod362.ZodOptional<zod362.ZodArray<zod362.ZodEnum<{
1730
+ response_types: zod0.ZodOptional<zod0.ZodArray<zod0.ZodEnum<{
1731
1731
  code: "code";
1732
1732
  }>>>;
1733
- type: zod362.ZodOptional<zod362.ZodEnum<{
1733
+ type: zod0.ZodOptional<zod0.ZodEnum<{
1734
1734
  web: "web";
1735
1735
  native: "native";
1736
1736
  "user-agent-based": "user-agent-based";
1737
1737
  }>>;
1738
- client_secret_expires_at: zod362.ZodOptional<zod362.ZodUnion<readonly [zod362.ZodString, zod362.ZodNumber]>>;
1739
- skip_consent: zod362.ZodOptional<zod362.ZodBoolean>;
1740
- enable_end_session: zod362.ZodOptional<zod362.ZodBoolean>;
1741
- metadata: zod362.ZodOptional<zod362.ZodRecord<zod362.ZodString, zod362.ZodUnknown>>;
1742
- }, better_auth133.$strip>;
1743
- }, better_auth133.$strip>;
1738
+ client_secret_expires_at: zod0.ZodOptional<zod0.ZodUnion<readonly [zod0.ZodString, zod0.ZodNumber]>>;
1739
+ skip_consent: zod0.ZodOptional<zod0.ZodBoolean>;
1740
+ enable_end_session: zod0.ZodOptional<zod0.ZodBoolean>;
1741
+ metadata: zod0.ZodOptional<zod0.ZodRecord<zod0.ZodString, zod0.ZodUnknown>>;
1742
+ }, better_auth0.$strip>;
1743
+ }, better_auth0.$strip>;
1744
1744
  metadata: {
1745
1745
  SERVER_ONLY: true;
1746
1746
  openapi: {
1747
1747
  description: string;
1748
1748
  };
1749
1749
  };
1750
- }, _better_auth_oauth_provider16.OAuthClient>;
1751
- updateOAuthClient: better_auth133.StrictEndpoint<"/oauth2/update-client", {
1750
+ }, _better_auth_oauth_provider0.OAuthClient>;
1751
+ updateOAuthClient: better_auth0.StrictEndpoint<"/oauth2/update-client", {
1752
1752
  method: "POST";
1753
- use: ((inputContext: better_auth133.MiddlewareInputContext<better_auth133.MiddlewareOptions>) => Promise<{
1753
+ use: ((inputContext: better_auth0.MiddlewareInputContext<better_auth0.MiddlewareOptions>) => Promise<{
1754
1754
  session: {
1755
1755
  session: Record<string, any> & {
1756
1756
  id: string;
@@ -1773,45 +1773,45 @@ declare const auth: better_auth133.Auth<{
1773
1773
  };
1774
1774
  };
1775
1775
  }>)[];
1776
- body: zod362.ZodObject<{
1777
- client_id: zod362.ZodString;
1778
- update: zod362.ZodObject<{
1779
- redirect_uris: zod362.ZodOptional<zod362.ZodArray<zod362.ZodURL>>;
1780
- scope: zod362.ZodOptional<zod362.ZodString>;
1781
- client_name: zod362.ZodOptional<zod362.ZodString>;
1782
- client_uri: zod362.ZodOptional<zod362.ZodString>;
1783
- logo_uri: zod362.ZodOptional<zod362.ZodString>;
1784
- contacts: zod362.ZodOptional<zod362.ZodArray<zod362.ZodString>>;
1785
- tos_uri: zod362.ZodOptional<zod362.ZodString>;
1786
- policy_uri: zod362.ZodOptional<zod362.ZodString>;
1787
- software_id: zod362.ZodOptional<zod362.ZodString>;
1788
- software_version: zod362.ZodOptional<zod362.ZodString>;
1789
- software_statement: zod362.ZodOptional<zod362.ZodString>;
1790
- post_logout_redirect_uris: zod362.ZodOptional<zod362.ZodArray<zod362.ZodURL>>;
1791
- grant_types: zod362.ZodOptional<zod362.ZodArray<zod362.ZodEnum<{
1776
+ body: zod0.ZodObject<{
1777
+ client_id: zod0.ZodString;
1778
+ update: zod0.ZodObject<{
1779
+ redirect_uris: zod0.ZodOptional<zod0.ZodArray<zod0.ZodURL>>;
1780
+ scope: zod0.ZodOptional<zod0.ZodString>;
1781
+ client_name: zod0.ZodOptional<zod0.ZodString>;
1782
+ client_uri: zod0.ZodOptional<zod0.ZodString>;
1783
+ logo_uri: zod0.ZodOptional<zod0.ZodString>;
1784
+ contacts: zod0.ZodOptional<zod0.ZodArray<zod0.ZodString>>;
1785
+ tos_uri: zod0.ZodOptional<zod0.ZodString>;
1786
+ policy_uri: zod0.ZodOptional<zod0.ZodString>;
1787
+ software_id: zod0.ZodOptional<zod0.ZodString>;
1788
+ software_version: zod0.ZodOptional<zod0.ZodString>;
1789
+ software_statement: zod0.ZodOptional<zod0.ZodString>;
1790
+ post_logout_redirect_uris: zod0.ZodOptional<zod0.ZodArray<zod0.ZodURL>>;
1791
+ grant_types: zod0.ZodOptional<zod0.ZodArray<zod0.ZodEnum<{
1792
1792
  authorization_code: "authorization_code";
1793
1793
  client_credentials: "client_credentials";
1794
1794
  refresh_token: "refresh_token";
1795
1795
  }>>>;
1796
- response_types: zod362.ZodOptional<zod362.ZodArray<zod362.ZodEnum<{
1796
+ response_types: zod0.ZodOptional<zod0.ZodArray<zod0.ZodEnum<{
1797
1797
  code: "code";
1798
1798
  }>>>;
1799
- type: zod362.ZodOptional<zod362.ZodEnum<{
1799
+ type: zod0.ZodOptional<zod0.ZodEnum<{
1800
1800
  web: "web";
1801
1801
  native: "native";
1802
1802
  "user-agent-based": "user-agent-based";
1803
1803
  }>>;
1804
- }, better_auth133.$strip>;
1805
- }, better_auth133.$strip>;
1804
+ }, better_auth0.$strip>;
1805
+ }, better_auth0.$strip>;
1806
1806
  metadata: {
1807
1807
  openapi: {
1808
1808
  description: string;
1809
1809
  };
1810
1810
  };
1811
- }, _better_auth_oauth_provider16.OAuthClient>;
1812
- rotateClientSecret: better_auth133.StrictEndpoint<"/oauth2/client/rotate-secret", {
1811
+ }, _better_auth_oauth_provider0.OAuthClient>;
1812
+ rotateClientSecret: better_auth0.StrictEndpoint<"/oauth2/client/rotate-secret", {
1813
1813
  method: "POST";
1814
- use: ((inputContext: better_auth133.MiddlewareInputContext<better_auth133.MiddlewareOptions>) => Promise<{
1814
+ use: ((inputContext: better_auth0.MiddlewareInputContext<better_auth0.MiddlewareOptions>) => Promise<{
1815
1815
  session: {
1816
1816
  session: Record<string, any> & {
1817
1817
  id: string;
@@ -1834,18 +1834,18 @@ declare const auth: better_auth133.Auth<{
1834
1834
  };
1835
1835
  };
1836
1836
  }>)[];
1837
- body: zod362.ZodObject<{
1838
- client_id: zod362.ZodString;
1839
- }, better_auth133.$strip>;
1837
+ body: zod0.ZodObject<{
1838
+ client_id: zod0.ZodString;
1839
+ }, better_auth0.$strip>;
1840
1840
  metadata: {
1841
1841
  openapi: {
1842
1842
  description: string;
1843
1843
  };
1844
1844
  };
1845
- }, _better_auth_oauth_provider16.OAuthClient>;
1846
- deleteOAuthClient: better_auth133.StrictEndpoint<"/oauth2/delete-client", {
1845
+ }, _better_auth_oauth_provider0.OAuthClient>;
1846
+ deleteOAuthClient: better_auth0.StrictEndpoint<"/oauth2/delete-client", {
1847
1847
  method: "POST";
1848
- use: ((inputContext: better_auth133.MiddlewareInputContext<better_auth133.MiddlewareOptions>) => Promise<{
1848
+ use: ((inputContext: better_auth0.MiddlewareInputContext<better_auth0.MiddlewareOptions>) => Promise<{
1849
1849
  session: {
1850
1850
  session: Record<string, any> & {
1851
1851
  id: string;
@@ -1868,21 +1868,21 @@ declare const auth: better_auth133.Auth<{
1868
1868
  };
1869
1869
  };
1870
1870
  }>)[];
1871
- body: zod362.ZodObject<{
1872
- client_id: zod362.ZodString;
1873
- }, better_auth133.$strip>;
1871
+ body: zod0.ZodObject<{
1872
+ client_id: zod0.ZodString;
1873
+ }, better_auth0.$strip>;
1874
1874
  metadata: {
1875
1875
  openapi: {
1876
1876
  description: string;
1877
1877
  };
1878
1878
  };
1879
1879
  }, void>;
1880
- getOAuthConsent: better_auth133.StrictEndpoint<"/oauth2/get-consent", {
1880
+ getOAuthConsent: better_auth0.StrictEndpoint<"/oauth2/get-consent", {
1881
1881
  method: "GET";
1882
- query: zod362.ZodObject<{
1883
- id: zod362.ZodString;
1884
- }, better_auth133.$strip>;
1885
- use: ((inputContext: better_auth133.MiddlewareInputContext<better_auth133.MiddlewareOptions>) => Promise<{
1882
+ query: zod0.ZodObject<{
1883
+ id: zod0.ZodString;
1884
+ }, better_auth0.$strip>;
1885
+ use: ((inputContext: better_auth0.MiddlewareInputContext<better_auth0.MiddlewareOptions>) => Promise<{
1886
1886
  session: {
1887
1887
  session: Record<string, any> & {
1888
1888
  id: string;
@@ -1910,10 +1910,10 @@ declare const auth: better_auth133.Auth<{
1910
1910
  description: string;
1911
1911
  };
1912
1912
  };
1913
- }, _better_auth_oauth_provider16.OAuthConsent<_better_auth_oauth_provider16.Scope[]>>;
1914
- getOAuthConsents: better_auth133.StrictEndpoint<"/oauth2/get-consents", {
1913
+ }, _better_auth_oauth_provider0.OAuthConsent<_better_auth_oauth_provider0.Scope[]>>;
1914
+ getOAuthConsents: better_auth0.StrictEndpoint<"/oauth2/get-consents", {
1915
1915
  method: "GET";
1916
- use: ((inputContext: better_auth133.MiddlewareInputContext<better_auth133.MiddlewareOptions>) => Promise<{
1916
+ use: ((inputContext: better_auth0.MiddlewareInputContext<better_auth0.MiddlewareOptions>) => Promise<{
1917
1917
  session: {
1918
1918
  session: Record<string, any> & {
1919
1919
  id: string;
@@ -1941,10 +1941,10 @@ declare const auth: better_auth133.Auth<{
1941
1941
  description: string;
1942
1942
  };
1943
1943
  };
1944
- }, _better_auth_oauth_provider16.OAuthConsent<_better_auth_oauth_provider16.Scope[]>[]>;
1945
- updateOAuthConsent: better_auth133.StrictEndpoint<"/oauth2/update-consent", {
1944
+ }, _better_auth_oauth_provider0.OAuthConsent<_better_auth_oauth_provider0.Scope[]>[]>;
1945
+ updateOAuthConsent: better_auth0.StrictEndpoint<"/oauth2/update-consent", {
1946
1946
  method: "POST";
1947
- use: ((inputContext: better_auth133.MiddlewareInputContext<better_auth133.MiddlewareOptions>) => Promise<{
1947
+ use: ((inputContext: better_auth0.MiddlewareInputContext<better_auth0.MiddlewareOptions>) => Promise<{
1948
1948
  session: {
1949
1949
  session: Record<string, any> & {
1950
1950
  id: string;
@@ -1967,21 +1967,21 @@ declare const auth: better_auth133.Auth<{
1967
1967
  };
1968
1968
  };
1969
1969
  }>)[];
1970
- body: zod362.ZodObject<{
1971
- id: zod362.ZodString;
1972
- update: zod362.ZodObject<{
1973
- scopes: zod362.ZodArray<zod362.ZodString>;
1974
- }, better_auth133.$strip>;
1975
- }, better_auth133.$strip>;
1970
+ body: zod0.ZodObject<{
1971
+ id: zod0.ZodString;
1972
+ update: zod0.ZodObject<{
1973
+ scopes: zod0.ZodArray<zod0.ZodString>;
1974
+ }, better_auth0.$strip>;
1975
+ }, better_auth0.$strip>;
1976
1976
  metadata: {
1977
1977
  openapi: {
1978
1978
  description: string;
1979
1979
  };
1980
1980
  };
1981
- }, _better_auth_oauth_provider16.OAuthConsent<_better_auth_oauth_provider16.Scope[]> | null>;
1982
- deleteOAuthConsent: better_auth133.StrictEndpoint<"/oauth2/delete-consent", {
1981
+ }, _better_auth_oauth_provider0.OAuthConsent<_better_auth_oauth_provider0.Scope[]> | null>;
1982
+ deleteOAuthConsent: better_auth0.StrictEndpoint<"/oauth2/delete-consent", {
1983
1983
  method: "POST";
1984
- use: ((inputContext: better_auth133.MiddlewareInputContext<better_auth133.MiddlewareOptions>) => Promise<{
1984
+ use: ((inputContext: better_auth0.MiddlewareInputContext<better_auth0.MiddlewareOptions>) => Promise<{
1985
1985
  session: {
1986
1986
  session: Record<string, any> & {
1987
1987
  id: string;
@@ -2004,9 +2004,9 @@ declare const auth: better_auth133.Auth<{
2004
2004
  };
2005
2005
  };
2006
2006
  }>)[];
2007
- body: zod362.ZodObject<{
2008
- id: zod362.ZodString;
2009
- }, better_auth133.$strip>;
2007
+ body: zod0.ZodObject<{
2008
+ id: zod0.ZodString;
2009
+ }, better_auth0.$strip>;
2010
2010
  metadata: {
2011
2011
  openapi: {
2012
2012
  description: string;
@@ -2314,7 +2314,7 @@ declare const auth: better_auth133.Auth<{
2314
2314
  window: number;
2315
2315
  max: number;
2316
2316
  })[];
2317
- }, better_auth_plugins7.DefaultOrganizationPlugin<{
2317
+ }, better_auth_plugins0.DefaultOrganizationPlugin<{
2318
2318
  schema: {
2319
2319
  invitation: {
2320
2320
  additionalFields: {
@@ -2384,19 +2384,19 @@ declare const auth: better_auth133.Auth<{
2384
2384
  };
2385
2385
  };
2386
2386
  endpoints: {
2387
- deviceCode: better_auth133.StrictEndpoint<"/device/code", {
2387
+ deviceCode: better_auth0.StrictEndpoint<"/device/code", {
2388
2388
  method: "POST";
2389
- body: zod362.ZodObject<{
2390
- client_id: zod362.ZodString;
2391
- scope: zod362.ZodOptional<zod362.ZodString>;
2392
- }, better_auth133.$strip>;
2393
- error: zod362.ZodObject<{
2394
- error: zod362.ZodEnum<{
2389
+ body: zod0.ZodObject<{
2390
+ client_id: zod0.ZodString;
2391
+ scope: zod0.ZodOptional<zod0.ZodString>;
2392
+ }, better_auth0.$strip>;
2393
+ error: zod0.ZodObject<{
2394
+ error: zod0.ZodEnum<{
2395
2395
  invalid_request: "invalid_request";
2396
2396
  invalid_client: "invalid_client";
2397
2397
  }>;
2398
- error_description: zod362.ZodString;
2399
- }, better_auth133.$strip>;
2398
+ error_description: zod0.ZodString;
2399
+ }, better_auth0.$strip>;
2400
2400
  metadata: {
2401
2401
  openapi: {
2402
2402
  description: string;
@@ -2469,15 +2469,15 @@ declare const auth: better_auth133.Auth<{
2469
2469
  expires_in: number;
2470
2470
  interval: number;
2471
2471
  }>;
2472
- deviceToken: better_auth133.StrictEndpoint<"/device/token", {
2472
+ deviceToken: better_auth0.StrictEndpoint<"/device/token", {
2473
2473
  method: "POST";
2474
- body: zod362.ZodObject<{
2475
- grant_type: zod362.ZodLiteral<"urn:ietf:params:oauth:grant-type:device_code">;
2476
- device_code: zod362.ZodString;
2477
- client_id: zod362.ZodString;
2478
- }, better_auth133.$strip>;
2479
- error: zod362.ZodObject<{
2480
- error: zod362.ZodEnum<{
2474
+ body: zod0.ZodObject<{
2475
+ grant_type: zod0.ZodLiteral<"urn:ietf:params:oauth:grant-type:device_code">;
2476
+ device_code: zod0.ZodString;
2477
+ client_id: zod0.ZodString;
2478
+ }, better_auth0.$strip>;
2479
+ error: zod0.ZodObject<{
2480
+ error: zod0.ZodEnum<{
2481
2481
  invalid_request: "invalid_request";
2482
2482
  authorization_pending: "authorization_pending";
2483
2483
  slow_down: "slow_down";
@@ -2485,8 +2485,8 @@ declare const auth: better_auth133.Auth<{
2485
2485
  access_denied: "access_denied";
2486
2486
  invalid_grant: "invalid_grant";
2487
2487
  }>;
2488
- error_description: zod362.ZodString;
2489
- }, better_auth133.$strip>;
2488
+ error_description: zod0.ZodString;
2489
+ }, better_auth0.$strip>;
2490
2490
  metadata: {
2491
2491
  openapi: {
2492
2492
  description: string;
@@ -2537,17 +2537,17 @@ declare const auth: better_auth133.Auth<{
2537
2537
  expires_in: number;
2538
2538
  scope: string;
2539
2539
  }>;
2540
- deviceVerify: better_auth133.StrictEndpoint<"/device", {
2540
+ deviceVerify: better_auth0.StrictEndpoint<"/device", {
2541
2541
  method: "GET";
2542
- query: zod362.ZodObject<{
2543
- user_code: zod362.ZodString;
2544
- }, better_auth133.$strip>;
2545
- error: zod362.ZodObject<{
2546
- error: zod362.ZodEnum<{
2542
+ query: zod0.ZodObject<{
2543
+ user_code: zod0.ZodString;
2544
+ }, better_auth0.$strip>;
2545
+ error: zod0.ZodObject<{
2546
+ error: zod0.ZodEnum<{
2547
2547
  invalid_request: "invalid_request";
2548
2548
  }>;
2549
- error_description: zod362.ZodString;
2550
- }, better_auth133.$strip>;
2549
+ error_description: zod0.ZodString;
2550
+ }, better_auth0.$strip>;
2551
2551
  metadata: {
2552
2552
  openapi: {
2553
2553
  description: string;
@@ -2580,21 +2580,21 @@ declare const auth: better_auth133.Auth<{
2580
2580
  user_code: string;
2581
2581
  status: string;
2582
2582
  }>;
2583
- deviceApprove: better_auth133.StrictEndpoint<"/device/approve", {
2583
+ deviceApprove: better_auth0.StrictEndpoint<"/device/approve", {
2584
2584
  method: "POST";
2585
- body: zod362.ZodObject<{
2586
- userCode: zod362.ZodString;
2587
- }, better_auth133.$strip>;
2588
- error: zod362.ZodObject<{
2589
- error: zod362.ZodEnum<{
2585
+ body: zod0.ZodObject<{
2586
+ userCode: zod0.ZodString;
2587
+ }, better_auth0.$strip>;
2588
+ error: zod0.ZodObject<{
2589
+ error: zod0.ZodEnum<{
2590
2590
  invalid_request: "invalid_request";
2591
2591
  expired_token: "expired_token";
2592
2592
  access_denied: "access_denied";
2593
2593
  device_code_already_processed: "device_code_already_processed";
2594
2594
  unauthorized: "unauthorized";
2595
2595
  }>;
2596
- error_description: zod362.ZodString;
2597
- }, better_auth133.$strip>;
2596
+ error_description: zod0.ZodString;
2597
+ }, better_auth0.$strip>;
2598
2598
  requireHeaders: true;
2599
2599
  metadata: {
2600
2600
  openapi: {
@@ -2621,20 +2621,20 @@ declare const auth: better_auth133.Auth<{
2621
2621
  }, {
2622
2622
  success: boolean;
2623
2623
  }>;
2624
- deviceDeny: better_auth133.StrictEndpoint<"/device/deny", {
2624
+ deviceDeny: better_auth0.StrictEndpoint<"/device/deny", {
2625
2625
  method: "POST";
2626
- body: zod362.ZodObject<{
2627
- userCode: zod362.ZodString;
2628
- }, better_auth133.$strip>;
2629
- error: zod362.ZodObject<{
2630
- error: zod362.ZodEnum<{
2626
+ body: zod0.ZodObject<{
2627
+ userCode: zod0.ZodString;
2628
+ }, better_auth0.$strip>;
2629
+ error: zod0.ZodObject<{
2630
+ error: zod0.ZodEnum<{
2631
2631
  invalid_request: "invalid_request";
2632
2632
  expired_token: "expired_token";
2633
2633
  access_denied: "access_denied";
2634
2634
  unauthorized: "unauthorized";
2635
2635
  }>;
2636
- error_description: zod362.ZodString;
2637
- }, better_auth133.$strip>;
2636
+ error_description: zod0.ZodString;
2637
+ }, better_auth0.$strip>;
2638
2638
  requireHeaders: true;
2639
2639
  metadata: {
2640
2640
  openapi: {
@@ -2663,22 +2663,22 @@ declare const auth: better_auth133.Auth<{
2663
2663
  }>;
2664
2664
  };
2665
2665
  $ERROR_CODES: {
2666
- USER_NOT_FOUND: better_auth133.RawError<"USER_NOT_FOUND">;
2667
- FAILED_TO_CREATE_SESSION: better_auth133.RawError<"FAILED_TO_CREATE_SESSION">;
2668
- INVALID_DEVICE_CODE: better_auth133.RawError<"INVALID_DEVICE_CODE">;
2669
- EXPIRED_DEVICE_CODE: better_auth133.RawError<"EXPIRED_DEVICE_CODE">;
2670
- EXPIRED_USER_CODE: better_auth133.RawError<"EXPIRED_USER_CODE">;
2671
- AUTHORIZATION_PENDING: better_auth133.RawError<"AUTHORIZATION_PENDING">;
2672
- ACCESS_DENIED: better_auth133.RawError<"ACCESS_DENIED">;
2673
- INVALID_USER_CODE: better_auth133.RawError<"INVALID_USER_CODE">;
2674
- DEVICE_CODE_ALREADY_PROCESSED: better_auth133.RawError<"DEVICE_CODE_ALREADY_PROCESSED">;
2675
- POLLING_TOO_FREQUENTLY: better_auth133.RawError<"POLLING_TOO_FREQUENTLY">;
2676
- INVALID_DEVICE_CODE_STATUS: better_auth133.RawError<"INVALID_DEVICE_CODE_STATUS">;
2677
- AUTHENTICATION_REQUIRED: better_auth133.RawError<"AUTHENTICATION_REQUIRED">;
2666
+ USER_NOT_FOUND: better_auth0.RawError<"USER_NOT_FOUND">;
2667
+ FAILED_TO_CREATE_SESSION: better_auth0.RawError<"FAILED_TO_CREATE_SESSION">;
2668
+ INVALID_DEVICE_CODE: better_auth0.RawError<"INVALID_DEVICE_CODE">;
2669
+ EXPIRED_DEVICE_CODE: better_auth0.RawError<"EXPIRED_DEVICE_CODE">;
2670
+ EXPIRED_USER_CODE: better_auth0.RawError<"EXPIRED_USER_CODE">;
2671
+ AUTHORIZATION_PENDING: better_auth0.RawError<"AUTHORIZATION_PENDING">;
2672
+ ACCESS_DENIED: better_auth0.RawError<"ACCESS_DENIED">;
2673
+ INVALID_USER_CODE: better_auth0.RawError<"INVALID_USER_CODE">;
2674
+ DEVICE_CODE_ALREADY_PROCESSED: better_auth0.RawError<"DEVICE_CODE_ALREADY_PROCESSED">;
2675
+ POLLING_TOO_FREQUENTLY: better_auth0.RawError<"POLLING_TOO_FREQUENTLY">;
2676
+ INVALID_DEVICE_CODE_STATUS: better_auth0.RawError<"INVALID_DEVICE_CODE_STATUS">;
2677
+ AUTHENTICATION_REQUIRED: better_auth0.RawError<"AUTHENTICATION_REQUIRED">;
2678
2678
  };
2679
2679
  options: Partial<{
2680
- expiresIn: better_auth_plugins7.TimeString;
2681
- interval: better_auth_plugins7.TimeString;
2680
+ expiresIn: better_auth_plugins0.TimeString;
2681
+ interval: better_auth_plugins0.TimeString;
2682
2682
  deviceCodeLength: number;
2683
2683
  userCodeLength: number;
2684
2684
  schema: {