@inkeep/agents-api 0.0.0-dev-20260121221420 → 0.0.0-dev-20260121222312

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/factory.d.ts CHANGED
@@ -3,20 +3,20 @@ import "./types/index.js";
3
3
  import { createAgentsHono } from "./createApp.js";
4
4
  import { initializeDefaultUser } from "./initialization.js";
5
5
  import { createAuth0Provider, createOIDCProvider } from "./ssoHelpers.js";
6
- import * as hono0 from "hono";
6
+ import * as hono17 from "hono";
7
7
  import { CredentialStore, ServerConfig } from "@inkeep/agents-core";
8
- import * as zod0 from "zod";
8
+ import * as zod205 from "zod";
9
9
  import { SSOProviderConfig, UserAuthConfig } from "@inkeep/agents-core/auth";
10
- import * as hono_types1 from "hono/types";
11
- import * as better_auth0 from "better-auth";
12
- import * as better_auth_plugins0 from "better-auth/plugins";
13
- import * as _better_auth_sso0 from "@better-auth/sso";
10
+ import * as hono_types6 from "hono/types";
11
+ import * as better_auth78 from "better-auth";
12
+ import * as better_auth_plugins69 from "better-auth/plugins";
13
+ import * as _better_auth_sso10 from "@better-auth/sso";
14
14
 
15
15
  //#region src/factory.d.ts
16
- declare function createAgentsAuth(userAuthConfig?: UserAuthConfig): better_auth0.Auth<{
16
+ declare function createAgentsAuth(userAuthConfig?: UserAuthConfig): better_auth78.Auth<{
17
17
  baseURL: string;
18
18
  secret: string;
19
- database: (options: better_auth0.BetterAuthOptions) => better_auth0.DBAdapter<better_auth0.BetterAuthOptions>;
19
+ database: (options: better_auth78.BetterAuthOptions) => better_auth78.DBAdapter<better_auth78.BetterAuthOptions>;
20
20
  emailAndPassword: {
21
21
  enabled: true;
22
22
  minPasswordLength: number;
@@ -71,7 +71,7 @@ declare function createAgentsAuth(userAuthConfig?: UserAuthConfig): better_auth0
71
71
  clientKey?: string | undefined;
72
72
  disableIdTokenSignIn?: boolean | undefined;
73
73
  verifyIdToken?: ((token: string, nonce?: string) => Promise<boolean>) | undefined;
74
- getUserInfo?: ((token: better_auth0.OAuth2Tokens) => Promise<{
74
+ getUserInfo?: ((token: better_auth78.OAuth2Tokens) => Promise<{
75
75
  user: {
76
76
  id: string;
77
77
  name?: string;
@@ -82,8 +82,8 @@ declare function createAgentsAuth(userAuthConfig?: UserAuthConfig): better_auth0
82
82
  };
83
83
  data: any;
84
84
  } | null>) | undefined;
85
- refreshAccessToken?: ((refreshToken: string) => Promise<better_auth0.OAuth2Tokens>) | undefined;
86
- mapProfileToUser?: ((profile: better_auth0.GoogleProfile) => {
85
+ refreshAccessToken?: ((refreshToken: string) => Promise<better_auth78.OAuth2Tokens>) | undefined;
86
+ mapProfileToUser?: ((profile: better_auth78.GoogleProfile) => {
87
87
  id?: string;
88
88
  name?: string;
89
89
  email?: string | null;
@@ -130,15 +130,15 @@ declare function createAgentsAuth(userAuthConfig?: UserAuthConfig): better_auth0
130
130
  cookies?: {
131
131
  [key: string]: {
132
132
  name?: string;
133
- attributes?: better_auth0.CookieOptions;
133
+ attributes?: better_auth78.CookieOptions;
134
134
  };
135
135
  } | undefined;
136
- defaultCookieAttributes: better_auth0.CookieOptions;
136
+ defaultCookieAttributes: better_auth78.CookieOptions;
137
137
  cookiePrefix?: string | undefined;
138
138
  database?: {
139
139
  defaultFindManyLimit?: number;
140
140
  useNumberId?: boolean;
141
- generateId?: better_auth0.GenerateIdFn | false | "serial" | "uuid";
141
+ generateId?: better_auth78.GenerateIdFn | false | "serial" | "uuid";
142
142
  } | undefined;
143
143
  trustedProxyHeaders?: boolean | undefined;
144
144
  backgroundTasks?: {
@@ -150,31 +150,31 @@ declare function createAgentsAuth(userAuthConfig?: UserAuthConfig): better_auth0
150
150
  id: "bearer";
151
151
  hooks: {
152
152
  before: {
153
- matcher(context: better_auth0.HookEndpointContext): boolean;
154
- handler: (inputContext: better_auth0.MiddlewareInputContext<better_auth0.MiddlewareOptions>) => Promise<{
153
+ matcher(context: better_auth78.HookEndpointContext): boolean;
154
+ handler: (inputContext: better_auth78.MiddlewareInputContext<better_auth78.MiddlewareOptions>) => Promise<{
155
155
  context: {
156
156
  headers: Headers;
157
157
  };
158
158
  } | undefined>;
159
159
  }[];
160
160
  after: {
161
- matcher(context: better_auth0.HookEndpointContext): true;
162
- handler: (inputContext: better_auth0.MiddlewareInputContext<better_auth0.MiddlewareOptions>) => Promise<void>;
161
+ matcher(context: better_auth78.HookEndpointContext): true;
162
+ handler: (inputContext: better_auth78.MiddlewareInputContext<better_auth78.MiddlewareOptions>) => Promise<void>;
163
163
  }[];
164
164
  };
165
- options: better_auth_plugins0.BearerOptions | undefined;
165
+ options: better_auth_plugins69.BearerOptions | undefined;
166
166
  }, {
167
167
  id: "sso";
168
168
  endpoints: {
169
- spMetadata: ReturnType<() => better_auth0.StrictEndpoint<"/sso/saml2/sp/metadata", {
169
+ spMetadata: ReturnType<() => better_auth78.StrictEndpoint<"/sso/saml2/sp/metadata", {
170
170
  method: "GET";
171
- query: zod0.ZodObject<{
172
- providerId: zod0.ZodString;
173
- format: zod0.ZodDefault<zod0.ZodEnum<{
171
+ query: zod205.ZodObject<{
172
+ providerId: zod205.ZodString;
173
+ format: zod205.ZodDefault<zod205.ZodEnum<{
174
174
  xml: "xml";
175
175
  json: "json";
176
176
  }>>;
177
- }, better_auth0.$strip>;
177
+ }, better_auth78.$strip>;
178
178
  metadata: {
179
179
  openapi: {
180
180
  operationId: string;
@@ -188,86 +188,86 @@ declare function createAgentsAuth(userAuthConfig?: UserAuthConfig): better_auth0
188
188
  };
189
189
  };
190
190
  }, Response>>;
191
- registerSSOProvider: better_auth0.StrictEndpoint<"/sso/register", {
191
+ registerSSOProvider: better_auth78.StrictEndpoint<"/sso/register", {
192
192
  method: "POST";
193
- body: zod0.ZodObject<{
194
- providerId: zod0.ZodString;
195
- issuer: zod0.ZodString;
196
- domain: zod0.ZodString;
197
- oidcConfig: zod0.ZodOptional<zod0.ZodObject<{
198
- clientId: zod0.ZodString;
199
- clientSecret: zod0.ZodString;
200
- authorizationEndpoint: zod0.ZodOptional<zod0.ZodString>;
201
- tokenEndpoint: zod0.ZodOptional<zod0.ZodString>;
202
- userInfoEndpoint: zod0.ZodOptional<zod0.ZodString>;
203
- tokenEndpointAuthentication: zod0.ZodOptional<zod0.ZodEnum<{
193
+ body: zod205.ZodObject<{
194
+ providerId: zod205.ZodString;
195
+ issuer: zod205.ZodString;
196
+ domain: zod205.ZodString;
197
+ oidcConfig: zod205.ZodOptional<zod205.ZodObject<{
198
+ clientId: zod205.ZodString;
199
+ clientSecret: zod205.ZodString;
200
+ authorizationEndpoint: zod205.ZodOptional<zod205.ZodString>;
201
+ tokenEndpoint: zod205.ZodOptional<zod205.ZodString>;
202
+ userInfoEndpoint: zod205.ZodOptional<zod205.ZodString>;
203
+ tokenEndpointAuthentication: zod205.ZodOptional<zod205.ZodEnum<{
204
204
  client_secret_post: "client_secret_post";
205
205
  client_secret_basic: "client_secret_basic";
206
206
  }>>;
207
- jwksEndpoint: zod0.ZodOptional<zod0.ZodString>;
208
- discoveryEndpoint: zod0.ZodOptional<zod0.ZodString>;
209
- skipDiscovery: zod0.ZodOptional<zod0.ZodBoolean>;
210
- scopes: zod0.ZodOptional<zod0.ZodArray<zod0.ZodString>>;
211
- pkce: zod0.ZodOptional<zod0.ZodDefault<zod0.ZodBoolean>>;
212
- mapping: zod0.ZodOptional<zod0.ZodObject<{
213
- id: zod0.ZodString;
214
- email: zod0.ZodString;
215
- emailVerified: zod0.ZodOptional<zod0.ZodString>;
216
- name: zod0.ZodString;
217
- image: zod0.ZodOptional<zod0.ZodString>;
218
- extraFields: zod0.ZodOptional<zod0.ZodRecord<zod0.ZodString, zod0.ZodAny>>;
219
- }, better_auth0.$strip>>;
220
- }, better_auth0.$strip>>;
221
- samlConfig: zod0.ZodOptional<zod0.ZodObject<{
222
- entryPoint: zod0.ZodString;
223
- cert: zod0.ZodString;
224
- callbackUrl: zod0.ZodString;
225
- audience: zod0.ZodOptional<zod0.ZodString>;
226
- idpMetadata: zod0.ZodOptional<zod0.ZodObject<{
227
- metadata: zod0.ZodOptional<zod0.ZodString>;
228
- entityID: zod0.ZodOptional<zod0.ZodString>;
229
- cert: zod0.ZodOptional<zod0.ZodString>;
230
- privateKey: zod0.ZodOptional<zod0.ZodString>;
231
- privateKeyPass: zod0.ZodOptional<zod0.ZodString>;
232
- isAssertionEncrypted: zod0.ZodOptional<zod0.ZodBoolean>;
233
- encPrivateKey: zod0.ZodOptional<zod0.ZodString>;
234
- encPrivateKeyPass: zod0.ZodOptional<zod0.ZodString>;
235
- singleSignOnService: zod0.ZodOptional<zod0.ZodArray<zod0.ZodObject<{
236
- Binding: zod0.ZodString;
237
- Location: zod0.ZodString;
238
- }, better_auth0.$strip>>>;
239
- }, better_auth0.$strip>>;
240
- spMetadata: zod0.ZodObject<{
241
- metadata: zod0.ZodOptional<zod0.ZodString>;
242
- entityID: zod0.ZodOptional<zod0.ZodString>;
243
- binding: zod0.ZodOptional<zod0.ZodString>;
244
- privateKey: zod0.ZodOptional<zod0.ZodString>;
245
- privateKeyPass: zod0.ZodOptional<zod0.ZodString>;
246
- isAssertionEncrypted: zod0.ZodOptional<zod0.ZodBoolean>;
247
- encPrivateKey: zod0.ZodOptional<zod0.ZodString>;
248
- encPrivateKeyPass: zod0.ZodOptional<zod0.ZodString>;
249
- }, better_auth0.$strip>;
250
- wantAssertionsSigned: zod0.ZodOptional<zod0.ZodBoolean>;
251
- signatureAlgorithm: zod0.ZodOptional<zod0.ZodString>;
252
- digestAlgorithm: zod0.ZodOptional<zod0.ZodString>;
253
- identifierFormat: zod0.ZodOptional<zod0.ZodString>;
254
- privateKey: zod0.ZodOptional<zod0.ZodString>;
255
- decryptionPvk: zod0.ZodOptional<zod0.ZodString>;
256
- additionalParams: zod0.ZodOptional<zod0.ZodRecord<zod0.ZodString, zod0.ZodAny>>;
257
- mapping: zod0.ZodOptional<zod0.ZodObject<{
258
- id: zod0.ZodString;
259
- email: zod0.ZodString;
260
- emailVerified: zod0.ZodOptional<zod0.ZodString>;
261
- name: zod0.ZodString;
262
- firstName: zod0.ZodOptional<zod0.ZodString>;
263
- lastName: zod0.ZodOptional<zod0.ZodString>;
264
- extraFields: zod0.ZodOptional<zod0.ZodRecord<zod0.ZodString, zod0.ZodAny>>;
265
- }, better_auth0.$strip>>;
266
- }, better_auth0.$strip>>;
267
- organizationId: zod0.ZodOptional<zod0.ZodString>;
268
- overrideUserInfo: zod0.ZodOptional<zod0.ZodDefault<zod0.ZodBoolean>>;
269
- }, better_auth0.$strip>;
270
- use: ((inputContext: better_auth0.MiddlewareInputContext<better_auth0.MiddlewareOptions>) => Promise<{
207
+ jwksEndpoint: zod205.ZodOptional<zod205.ZodString>;
208
+ discoveryEndpoint: zod205.ZodOptional<zod205.ZodString>;
209
+ skipDiscovery: zod205.ZodOptional<zod205.ZodBoolean>;
210
+ scopes: zod205.ZodOptional<zod205.ZodArray<zod205.ZodString>>;
211
+ pkce: zod205.ZodOptional<zod205.ZodDefault<zod205.ZodBoolean>>;
212
+ mapping: zod205.ZodOptional<zod205.ZodObject<{
213
+ id: zod205.ZodString;
214
+ email: zod205.ZodString;
215
+ emailVerified: zod205.ZodOptional<zod205.ZodString>;
216
+ name: zod205.ZodString;
217
+ image: zod205.ZodOptional<zod205.ZodString>;
218
+ extraFields: zod205.ZodOptional<zod205.ZodRecord<zod205.ZodString, zod205.ZodAny>>;
219
+ }, better_auth78.$strip>>;
220
+ }, better_auth78.$strip>>;
221
+ samlConfig: zod205.ZodOptional<zod205.ZodObject<{
222
+ entryPoint: zod205.ZodString;
223
+ cert: zod205.ZodString;
224
+ callbackUrl: zod205.ZodString;
225
+ audience: zod205.ZodOptional<zod205.ZodString>;
226
+ idpMetadata: zod205.ZodOptional<zod205.ZodObject<{
227
+ metadata: zod205.ZodOptional<zod205.ZodString>;
228
+ entityID: zod205.ZodOptional<zod205.ZodString>;
229
+ cert: zod205.ZodOptional<zod205.ZodString>;
230
+ privateKey: zod205.ZodOptional<zod205.ZodString>;
231
+ privateKeyPass: zod205.ZodOptional<zod205.ZodString>;
232
+ isAssertionEncrypted: zod205.ZodOptional<zod205.ZodBoolean>;
233
+ encPrivateKey: zod205.ZodOptional<zod205.ZodString>;
234
+ encPrivateKeyPass: zod205.ZodOptional<zod205.ZodString>;
235
+ singleSignOnService: zod205.ZodOptional<zod205.ZodArray<zod205.ZodObject<{
236
+ Binding: zod205.ZodString;
237
+ Location: zod205.ZodString;
238
+ }, better_auth78.$strip>>>;
239
+ }, better_auth78.$strip>>;
240
+ spMetadata: zod205.ZodObject<{
241
+ metadata: zod205.ZodOptional<zod205.ZodString>;
242
+ entityID: zod205.ZodOptional<zod205.ZodString>;
243
+ binding: zod205.ZodOptional<zod205.ZodString>;
244
+ privateKey: zod205.ZodOptional<zod205.ZodString>;
245
+ privateKeyPass: zod205.ZodOptional<zod205.ZodString>;
246
+ isAssertionEncrypted: zod205.ZodOptional<zod205.ZodBoolean>;
247
+ encPrivateKey: zod205.ZodOptional<zod205.ZodString>;
248
+ encPrivateKeyPass: zod205.ZodOptional<zod205.ZodString>;
249
+ }, better_auth78.$strip>;
250
+ wantAssertionsSigned: zod205.ZodOptional<zod205.ZodBoolean>;
251
+ signatureAlgorithm: zod205.ZodOptional<zod205.ZodString>;
252
+ digestAlgorithm: zod205.ZodOptional<zod205.ZodString>;
253
+ identifierFormat: zod205.ZodOptional<zod205.ZodString>;
254
+ privateKey: zod205.ZodOptional<zod205.ZodString>;
255
+ decryptionPvk: zod205.ZodOptional<zod205.ZodString>;
256
+ additionalParams: zod205.ZodOptional<zod205.ZodRecord<zod205.ZodString, zod205.ZodAny>>;
257
+ mapping: zod205.ZodOptional<zod205.ZodObject<{
258
+ id: zod205.ZodString;
259
+ email: zod205.ZodString;
260
+ emailVerified: zod205.ZodOptional<zod205.ZodString>;
261
+ name: zod205.ZodString;
262
+ firstName: zod205.ZodOptional<zod205.ZodString>;
263
+ lastName: zod205.ZodOptional<zod205.ZodString>;
264
+ extraFields: zod205.ZodOptional<zod205.ZodRecord<zod205.ZodString, zod205.ZodAny>>;
265
+ }, better_auth78.$strip>>;
266
+ }, better_auth78.$strip>>;
267
+ organizationId: zod205.ZodOptional<zod205.ZodString>;
268
+ overrideUserInfo: zod205.ZodOptional<zod205.ZodDefault<zod205.ZodBoolean>>;
269
+ }, better_auth78.$strip>;
270
+ use: ((inputContext: better_auth78.MiddlewareInputContext<better_auth78.MiddlewareOptions>) => Promise<{
271
271
  session: {
272
272
  session: Record<string, any> & {
273
273
  id: string;
@@ -453,35 +453,35 @@ declare function createAgentsAuth(userAuthConfig?: UserAuthConfig): better_auth0
453
453
  };
454
454
  }, {
455
455
  redirectURI: string;
456
- oidcConfig: _better_auth_sso0.OIDCConfig | null;
457
- samlConfig: _better_auth_sso0.SAMLConfig | null;
456
+ oidcConfig: _better_auth_sso10.OIDCConfig | null;
457
+ samlConfig: _better_auth_sso10.SAMLConfig | null;
458
458
  } & Omit<{
459
459
  issuer: string;
460
- oidcConfig?: _better_auth_sso0.OIDCConfig | undefined;
461
- samlConfig?: _better_auth_sso0.SAMLConfig | undefined;
460
+ oidcConfig?: _better_auth_sso10.OIDCConfig | undefined;
461
+ samlConfig?: _better_auth_sso10.SAMLConfig | undefined;
462
462
  userId: string;
463
463
  providerId: string;
464
464
  organizationId?: string | undefined;
465
465
  domain: string;
466
466
  }, "oidcConfig" | "samlConfig">>;
467
- signInSSO: ReturnType<(options?: _better_auth_sso0.SSOOptions) => better_auth0.StrictEndpoint<"/sign-in/sso", {
467
+ signInSSO: ReturnType<(options?: _better_auth_sso10.SSOOptions) => better_auth78.StrictEndpoint<"/sign-in/sso", {
468
468
  method: "POST";
469
- body: zod0.ZodObject<{
470
- email: zod0.ZodOptional<zod0.ZodString>;
471
- organizationSlug: zod0.ZodOptional<zod0.ZodString>;
472
- providerId: zod0.ZodOptional<zod0.ZodString>;
473
- domain: zod0.ZodOptional<zod0.ZodString>;
474
- callbackURL: zod0.ZodString;
475
- errorCallbackURL: zod0.ZodOptional<zod0.ZodString>;
476
- newUserCallbackURL: zod0.ZodOptional<zod0.ZodString>;
477
- scopes: zod0.ZodOptional<zod0.ZodArray<zod0.ZodString>>;
478
- loginHint: zod0.ZodOptional<zod0.ZodString>;
479
- requestSignUp: zod0.ZodOptional<zod0.ZodBoolean>;
480
- providerType: zod0.ZodOptional<zod0.ZodEnum<{
469
+ body: zod205.ZodObject<{
470
+ email: zod205.ZodOptional<zod205.ZodString>;
471
+ organizationSlug: zod205.ZodOptional<zod205.ZodString>;
472
+ providerId: zod205.ZodOptional<zod205.ZodString>;
473
+ domain: zod205.ZodOptional<zod205.ZodString>;
474
+ callbackURL: zod205.ZodString;
475
+ errorCallbackURL: zod205.ZodOptional<zod205.ZodString>;
476
+ newUserCallbackURL: zod205.ZodOptional<zod205.ZodString>;
477
+ scopes: zod205.ZodOptional<zod205.ZodArray<zod205.ZodString>>;
478
+ loginHint: zod205.ZodOptional<zod205.ZodString>;
479
+ requestSignUp: zod205.ZodOptional<zod205.ZodBoolean>;
480
+ providerType: zod205.ZodOptional<zod205.ZodEnum<{
481
481
  saml: "saml";
482
482
  oidc: "oidc";
483
483
  }>>;
484
- }, better_auth0.$strip>;
484
+ }, better_auth78.$strip>;
485
485
  metadata: {
486
486
  openapi: {
487
487
  operationId: string;
@@ -558,14 +558,14 @@ declare function createAgentsAuth(userAuthConfig?: UserAuthConfig): better_auth0
558
558
  url: string;
559
559
  redirect: boolean;
560
560
  }>>;
561
- callbackSSO: ReturnType<(options?: _better_auth_sso0.SSOOptions) => better_auth0.StrictEndpoint<"/sso/callback/:providerId", {
561
+ callbackSSO: ReturnType<(options?: _better_auth_sso10.SSOOptions) => better_auth78.StrictEndpoint<"/sso/callback/:providerId", {
562
562
  method: "GET";
563
- query: zod0.ZodObject<{
564
- code: zod0.ZodOptional<zod0.ZodString>;
565
- state: zod0.ZodString;
566
- error: zod0.ZodOptional<zod0.ZodString>;
567
- error_description: zod0.ZodOptional<zod0.ZodString>;
568
- }, better_auth0.$strip>;
563
+ query: zod205.ZodObject<{
564
+ code: zod205.ZodOptional<zod205.ZodString>;
565
+ state: zod205.ZodString;
566
+ error: zod205.ZodOptional<zod205.ZodString>;
567
+ error_description: zod205.ZodOptional<zod205.ZodString>;
568
+ }, better_auth78.$strip>;
569
569
  allowedMediaTypes: string[];
570
570
  metadata: {
571
571
  openapi: {
@@ -581,12 +581,12 @@ declare function createAgentsAuth(userAuthConfig?: UserAuthConfig): better_auth0
581
581
  scope: "server";
582
582
  };
583
583
  }, never>>;
584
- callbackSSOSAML: ReturnType<(options?: _better_auth_sso0.SSOOptions) => better_auth0.StrictEndpoint<"/sso/saml2/callback/:providerId", {
584
+ callbackSSOSAML: ReturnType<(options?: _better_auth_sso10.SSOOptions) => better_auth78.StrictEndpoint<"/sso/saml2/callback/:providerId", {
585
585
  method: "POST";
586
- body: zod0.ZodObject<{
587
- SAMLResponse: zod0.ZodString;
588
- RelayState: zod0.ZodOptional<zod0.ZodString>;
589
- }, better_auth0.$strip>;
586
+ body: zod205.ZodObject<{
587
+ SAMLResponse: zod205.ZodString;
588
+ RelayState: zod205.ZodOptional<zod205.ZodString>;
589
+ }, better_auth78.$strip>;
590
590
  metadata: {
591
591
  allowedMediaTypes: string[];
592
592
  openapi: {
@@ -608,15 +608,15 @@ declare function createAgentsAuth(userAuthConfig?: UserAuthConfig): better_auth0
608
608
  scope: "server";
609
609
  };
610
610
  }, never>>;
611
- acsEndpoint: ReturnType<(options?: _better_auth_sso0.SSOOptions) => better_auth0.StrictEndpoint<"/sso/saml2/sp/acs/:providerId", {
611
+ acsEndpoint: ReturnType<(options?: _better_auth_sso10.SSOOptions) => better_auth78.StrictEndpoint<"/sso/saml2/sp/acs/:providerId", {
612
612
  method: "POST";
613
- params: zod0.ZodObject<{
614
- providerId: zod0.ZodOptional<zod0.ZodString>;
615
- }, better_auth0.$strip>;
616
- body: zod0.ZodObject<{
617
- SAMLResponse: zod0.ZodString;
618
- RelayState: zod0.ZodOptional<zod0.ZodString>;
619
- }, better_auth0.$strip>;
613
+ params: zod205.ZodObject<{
614
+ providerId: zod205.ZodOptional<zod205.ZodString>;
615
+ }, better_auth78.$strip>;
616
+ body: zod205.ZodObject<{
617
+ SAMLResponse: zod205.ZodString;
618
+ RelayState: zod205.ZodOptional<zod205.ZodString>;
619
+ }, better_auth78.$strip>;
620
620
  metadata: {
621
621
  allowedMediaTypes: string[];
622
622
  openapi: {
@@ -633,11 +633,11 @@ declare function createAgentsAuth(userAuthConfig?: UserAuthConfig): better_auth0
633
633
  };
634
634
  }, never>>;
635
635
  } & {
636
- requestDomainVerification: ReturnType<(options: _better_auth_sso0.SSOOptions) => better_auth0.StrictEndpoint<"/sso/request-domain-verification", {
636
+ requestDomainVerification: ReturnType<(options: _better_auth_sso10.SSOOptions) => better_auth78.StrictEndpoint<"/sso/request-domain-verification", {
637
637
  method: "POST";
638
- body: zod0.ZodObject<{
639
- providerId: zod0.ZodString;
640
- }, better_auth0.$strip>;
638
+ body: zod205.ZodObject<{
639
+ providerId: zod205.ZodString;
640
+ }, better_auth78.$strip>;
641
641
  metadata: {
642
642
  openapi: {
643
643
  summary: string;
@@ -655,7 +655,7 @@ declare function createAgentsAuth(userAuthConfig?: UserAuthConfig): better_auth0
655
655
  };
656
656
  };
657
657
  };
658
- use: ((inputContext: better_auth0.MiddlewareInputContext<better_auth0.MiddlewareOptions>) => Promise<{
658
+ use: ((inputContext: better_auth78.MiddlewareInputContext<better_auth78.MiddlewareOptions>) => Promise<{
659
659
  session: {
660
660
  session: Record<string, any> & {
661
661
  id: string;
@@ -681,11 +681,11 @@ declare function createAgentsAuth(userAuthConfig?: UserAuthConfig): better_auth0
681
681
  }, {
682
682
  domainVerificationToken: string;
683
683
  }>>;
684
- verifyDomain: ReturnType<(options: _better_auth_sso0.SSOOptions) => better_auth0.StrictEndpoint<"/sso/verify-domain", {
684
+ verifyDomain: ReturnType<(options: _better_auth_sso10.SSOOptions) => better_auth78.StrictEndpoint<"/sso/verify-domain", {
685
685
  method: "POST";
686
- body: zod0.ZodObject<{
687
- providerId: zod0.ZodString;
688
- }, better_auth0.$strip>;
686
+ body: zod205.ZodObject<{
687
+ providerId: zod205.ZodString;
688
+ }, better_auth78.$strip>;
689
689
  metadata: {
690
690
  openapi: {
691
691
  summary: string;
@@ -706,7 +706,7 @@ declare function createAgentsAuth(userAuthConfig?: UserAuthConfig): better_auth0
706
706
  };
707
707
  };
708
708
  };
709
- use: ((inputContext: better_auth0.MiddlewareInputContext<better_auth0.MiddlewareOptions>) => Promise<{
709
+ use: ((inputContext: better_auth78.MiddlewareInputContext<better_auth78.MiddlewareOptions>) => Promise<{
710
710
  session: {
711
711
  session: Record<string, any> & {
712
712
  id: string;
@@ -732,7 +732,7 @@ declare function createAgentsAuth(userAuthConfig?: UserAuthConfig): better_auth0
732
732
  }, void>>;
733
733
  };
734
734
  schema: any;
735
- options: _better_auth_sso0.SSOOptions & {
735
+ options: _better_auth_sso10.SSOOptions & {
736
736
  domainVerification?: {
737
737
  enabled: true;
738
738
  };
@@ -743,14 +743,14 @@ declare function createAgentsAuth(userAuthConfig?: UserAuthConfig): better_auth0
743
743
  productionURL: string;
744
744
  }>;
745
745
  endpoints: {
746
- oAuthProxy: better_auth0.StrictEndpoint<"/oauth-proxy-callback", {
746
+ oAuthProxy: better_auth78.StrictEndpoint<"/oauth-proxy-callback", {
747
747
  method: "GET";
748
748
  operationId: string;
749
- query: zod0.ZodObject<{
750
- callbackURL: zod0.ZodString;
751
- cookies: zod0.ZodString;
752
- }, better_auth0.$strip>;
753
- use: ((inputContext: better_auth0.MiddlewareInputContext<better_auth0.MiddlewareOptions>) => Promise<void>)[];
749
+ query: zod205.ZodObject<{
750
+ callbackURL: zod205.ZodString;
751
+ cookies: zod205.ZodString;
752
+ }, better_auth78.$strip>;
753
+ use: ((inputContext: better_auth78.MiddlewareInputContext<better_auth78.MiddlewareOptions>) => Promise<void>)[];
754
754
  metadata: {
755
755
  openapi: {
756
756
  operationId: string;
@@ -780,40 +780,40 @@ declare function createAgentsAuth(userAuthConfig?: UserAuthConfig): better_auth0
780
780
  };
781
781
  hooks: {
782
782
  before: {
783
- matcher(context: better_auth0.HookEndpointContext): boolean;
784
- handler: (inputContext: better_auth0.MiddlewareInputContext<better_auth0.MiddlewareOptions>) => Promise<void>;
783
+ matcher(context: better_auth78.HookEndpointContext): boolean;
784
+ handler: (inputContext: better_auth78.MiddlewareInputContext<better_auth78.MiddlewareOptions>) => Promise<void>;
785
785
  }[];
786
786
  after: {
787
- matcher(context: better_auth0.HookEndpointContext): boolean;
788
- handler: (inputContext: better_auth0.MiddlewareInputContext<better_auth0.MiddlewareOptions>) => Promise<void>;
787
+ matcher(context: better_auth78.HookEndpointContext): boolean;
788
+ handler: (inputContext: better_auth78.MiddlewareInputContext<better_auth78.MiddlewareOptions>) => Promise<void>;
789
789
  }[];
790
790
  };
791
791
  }, {
792
792
  id: "organization";
793
- endpoints: better_auth_plugins0.OrganizationEndpoints<{
793
+ endpoints: better_auth_plugins69.OrganizationEndpoints<{
794
794
  allowUserToCreateOrganization: true;
795
- ac: better_auth_plugins0.AccessControl;
795
+ ac: better_auth_plugins69.AccessControl;
796
796
  roles: {
797
797
  member: {
798
- authorize<K_1 extends "organization" | "member" | "invitation" | "project" | "team" | "ac">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins0.Subset<"organization" | "member" | "invitation" | "project" | "team" | "ac", better_auth_plugins0.Statements>[key] | {
799
- actions: better_auth_plugins0.Subset<"organization" | "member" | "invitation" | "project" | "team" | "ac", better_auth_plugins0.Statements>[key];
798
+ authorize<K_1 extends "organization" | "member" | "invitation" | "project" | "team" | "ac">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins69.Subset<"organization" | "member" | "invitation" | "project" | "team" | "ac", better_auth_plugins69.Statements>[key] | {
799
+ actions: better_auth_plugins69.Subset<"organization" | "member" | "invitation" | "project" | "team" | "ac", better_auth_plugins69.Statements>[key];
800
800
  connector: "OR" | "AND";
801
- } | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins0.AuthorizeResponse;
802
- statements: better_auth_plugins0.Subset<"organization" | "member" | "invitation" | "project" | "team" | "ac", better_auth_plugins0.Statements>;
801
+ } | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins69.AuthorizeResponse;
802
+ statements: better_auth_plugins69.Subset<"organization" | "member" | "invitation" | "project" | "team" | "ac", better_auth_plugins69.Statements>;
803
803
  };
804
804
  admin: {
805
- authorize<K_1 extends "organization" | "member" | "invitation" | "project" | "team" | "ac">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins0.Subset<"organization" | "member" | "invitation" | "project" | "team" | "ac", better_auth_plugins0.Statements>[key] | {
806
- actions: better_auth_plugins0.Subset<"organization" | "member" | "invitation" | "project" | "team" | "ac", better_auth_plugins0.Statements>[key];
805
+ authorize<K_1 extends "organization" | "member" | "invitation" | "project" | "team" | "ac">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins69.Subset<"organization" | "member" | "invitation" | "project" | "team" | "ac", better_auth_plugins69.Statements>[key] | {
806
+ actions: better_auth_plugins69.Subset<"organization" | "member" | "invitation" | "project" | "team" | "ac", better_auth_plugins69.Statements>[key];
807
807
  connector: "OR" | "AND";
808
- } | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins0.AuthorizeResponse;
809
- statements: better_auth_plugins0.Subset<"organization" | "member" | "invitation" | "project" | "team" | "ac", better_auth_plugins0.Statements>;
808
+ } | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins69.AuthorizeResponse;
809
+ statements: better_auth_plugins69.Subset<"organization" | "member" | "invitation" | "project" | "team" | "ac", better_auth_plugins69.Statements>;
810
810
  };
811
811
  owner: {
812
- authorize<K_1 extends "organization" | "member" | "invitation" | "project" | "team" | "ac">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins0.Subset<"organization" | "member" | "invitation" | "project" | "team" | "ac", better_auth_plugins0.Statements>[key] | {
813
- actions: better_auth_plugins0.Subset<"organization" | "member" | "invitation" | "project" | "team" | "ac", better_auth_plugins0.Statements>[key];
812
+ authorize<K_1 extends "organization" | "member" | "invitation" | "project" | "team" | "ac">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins69.Subset<"organization" | "member" | "invitation" | "project" | "team" | "ac", better_auth_plugins69.Statements>[key] | {
813
+ actions: better_auth_plugins69.Subset<"organization" | "member" | "invitation" | "project" | "team" | "ac", better_auth_plugins69.Statements>[key];
814
814
  connector: "OR" | "AND";
815
- } | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins0.AuthorizeResponse;
816
- statements: better_auth_plugins0.Subset<"organization" | "member" | "invitation" | "project" | "team" | "ac", better_auth_plugins0.Statements>;
815
+ } | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins69.AuthorizeResponse;
816
+ statements: better_auth_plugins69.Subset<"organization" | "member" | "invitation" | "project" | "team" | "ac", better_auth_plugins69.Statements>;
817
817
  };
818
818
  };
819
819
  membershipLimit: number;
@@ -823,10 +823,10 @@ declare function createAgentsAuth(userAuthConfig?: UserAuthConfig): better_auth0
823
823
  id: string;
824
824
  role: string;
825
825
  email: string;
826
- organization: better_auth_plugins0.Organization;
827
- invitation: better_auth_plugins0.Invitation;
828
- inviter: better_auth_plugins0.Member & {
829
- user: better_auth0.User;
826
+ organization: better_auth_plugins69.Organization;
827
+ invitation: better_auth_plugins69.Invitation;
828
+ inviter: better_auth_plugins69.Member & {
829
+ user: better_auth78.User;
830
830
  };
831
831
  }): Promise<void>;
832
832
  organizationHooks: {
@@ -835,28 +835,28 @@ declare function createAgentsAuth(userAuthConfig?: UserAuthConfig): better_auth0
835
835
  user,
836
836
  organization: org
837
837
  }: {
838
- invitation: better_auth_plugins0.Invitation & Record<string, any>;
839
- member: better_auth_plugins0.Member & Record<string, any>;
840
- user: better_auth0.User & Record<string, any>;
841
- organization: better_auth_plugins0.Organization & Record<string, any>;
838
+ invitation: better_auth_plugins69.Invitation & Record<string, any>;
839
+ member: better_auth_plugins69.Member & Record<string, any>;
840
+ user: better_auth78.User & Record<string, any>;
841
+ organization: better_auth_plugins69.Organization & Record<string, any>;
842
842
  }) => Promise<void>;
843
843
  afterUpdateMemberRole: ({
844
844
  member,
845
845
  organization: org,
846
846
  previousRole
847
847
  }: {
848
- member: better_auth_plugins0.Member & Record<string, any>;
848
+ member: better_auth_plugins69.Member & Record<string, any>;
849
849
  previousRole: string;
850
- user: better_auth0.User & Record<string, any>;
851
- organization: better_auth_plugins0.Organization & Record<string, any>;
850
+ user: better_auth78.User & Record<string, any>;
851
+ organization: better_auth_plugins69.Organization & Record<string, any>;
852
852
  }) => Promise<void>;
853
853
  afterRemoveMember: ({
854
854
  member,
855
855
  organization: org
856
856
  }: {
857
- member: better_auth_plugins0.Member & Record<string, any>;
858
- user: better_auth0.User & Record<string, any>;
859
- organization: better_auth_plugins0.Organization & Record<string, any>;
857
+ member: better_auth_plugins69.Member & Record<string, any>;
858
+ user: better_auth78.User & Record<string, any>;
859
+ organization: better_auth_plugins69.Organization & Record<string, any>;
860
860
  }) => Promise<void>;
861
861
  };
862
862
  }>;
@@ -988,7 +988,7 @@ declare function createAgentsAuth(userAuthConfig?: UserAuthConfig): better_auth0
988
988
  organizationId: string;
989
989
  email: string;
990
990
  role: "member" | "owner" | "admin";
991
- status: better_auth_plugins0.InvitationStatus;
991
+ status: better_auth_plugins69.InvitationStatus;
992
992
  inviterId: string;
993
993
  expiresAt: Date;
994
994
  createdAt: Date;
@@ -1027,7 +1027,7 @@ declare function createAgentsAuth(userAuthConfig?: UserAuthConfig): better_auth0
1027
1027
  organizationId: string;
1028
1028
  email: string;
1029
1029
  role: "member" | "owner" | "admin";
1030
- status: better_auth_plugins0.InvitationStatus;
1030
+ status: better_auth_plugins69.InvitationStatus;
1031
1031
  inviterId: string;
1032
1032
  expiresAt: Date;
1033
1033
  createdAt: Date;
@@ -1101,28 +1101,28 @@ declare function createAgentsAuth(userAuthConfig?: UserAuthConfig): better_auth0
1101
1101
  };
1102
1102
  options: NoInfer<{
1103
1103
  allowUserToCreateOrganization: true;
1104
- ac: better_auth_plugins0.AccessControl;
1104
+ ac: better_auth_plugins69.AccessControl;
1105
1105
  roles: {
1106
1106
  member: {
1107
- authorize<K_1 extends "organization" | "member" | "invitation" | "project" | "team" | "ac">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins0.Subset<"organization" | "member" | "invitation" | "project" | "team" | "ac", better_auth_plugins0.Statements>[key] | {
1108
- actions: better_auth_plugins0.Subset<"organization" | "member" | "invitation" | "project" | "team" | "ac", better_auth_plugins0.Statements>[key];
1107
+ authorize<K_1 extends "organization" | "member" | "invitation" | "project" | "team" | "ac">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins69.Subset<"organization" | "member" | "invitation" | "project" | "team" | "ac", better_auth_plugins69.Statements>[key] | {
1108
+ actions: better_auth_plugins69.Subset<"organization" | "member" | "invitation" | "project" | "team" | "ac", better_auth_plugins69.Statements>[key];
1109
1109
  connector: "OR" | "AND";
1110
- } | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins0.AuthorizeResponse;
1111
- statements: better_auth_plugins0.Subset<"organization" | "member" | "invitation" | "project" | "team" | "ac", better_auth_plugins0.Statements>;
1110
+ } | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins69.AuthorizeResponse;
1111
+ statements: better_auth_plugins69.Subset<"organization" | "member" | "invitation" | "project" | "team" | "ac", better_auth_plugins69.Statements>;
1112
1112
  };
1113
1113
  admin: {
1114
- authorize<K_1 extends "organization" | "member" | "invitation" | "project" | "team" | "ac">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins0.Subset<"organization" | "member" | "invitation" | "project" | "team" | "ac", better_auth_plugins0.Statements>[key] | {
1115
- actions: better_auth_plugins0.Subset<"organization" | "member" | "invitation" | "project" | "team" | "ac", better_auth_plugins0.Statements>[key];
1114
+ authorize<K_1 extends "organization" | "member" | "invitation" | "project" | "team" | "ac">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins69.Subset<"organization" | "member" | "invitation" | "project" | "team" | "ac", better_auth_plugins69.Statements>[key] | {
1115
+ actions: better_auth_plugins69.Subset<"organization" | "member" | "invitation" | "project" | "team" | "ac", better_auth_plugins69.Statements>[key];
1116
1116
  connector: "OR" | "AND";
1117
- } | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins0.AuthorizeResponse;
1118
- statements: better_auth_plugins0.Subset<"organization" | "member" | "invitation" | "project" | "team" | "ac", better_auth_plugins0.Statements>;
1117
+ } | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins69.AuthorizeResponse;
1118
+ statements: better_auth_plugins69.Subset<"organization" | "member" | "invitation" | "project" | "team" | "ac", better_auth_plugins69.Statements>;
1119
1119
  };
1120
1120
  owner: {
1121
- authorize<K_1 extends "organization" | "member" | "invitation" | "project" | "team" | "ac">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins0.Subset<"organization" | "member" | "invitation" | "project" | "team" | "ac", better_auth_plugins0.Statements>[key] | {
1122
- actions: better_auth_plugins0.Subset<"organization" | "member" | "invitation" | "project" | "team" | "ac", better_auth_plugins0.Statements>[key];
1121
+ authorize<K_1 extends "organization" | "member" | "invitation" | "project" | "team" | "ac">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins69.Subset<"organization" | "member" | "invitation" | "project" | "team" | "ac", better_auth_plugins69.Statements>[key] | {
1122
+ actions: better_auth_plugins69.Subset<"organization" | "member" | "invitation" | "project" | "team" | "ac", better_auth_plugins69.Statements>[key];
1123
1123
  connector: "OR" | "AND";
1124
- } | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins0.AuthorizeResponse;
1125
- statements: better_auth_plugins0.Subset<"organization" | "member" | "invitation" | "project" | "team" | "ac", better_auth_plugins0.Statements>;
1124
+ } | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins69.AuthorizeResponse;
1125
+ statements: better_auth_plugins69.Subset<"organization" | "member" | "invitation" | "project" | "team" | "ac", better_auth_plugins69.Statements>;
1126
1126
  };
1127
1127
  };
1128
1128
  membershipLimit: number;
@@ -1132,10 +1132,10 @@ declare function createAgentsAuth(userAuthConfig?: UserAuthConfig): better_auth0
1132
1132
  id: string;
1133
1133
  role: string;
1134
1134
  email: string;
1135
- organization: better_auth_plugins0.Organization;
1136
- invitation: better_auth_plugins0.Invitation;
1137
- inviter: better_auth_plugins0.Member & {
1138
- user: better_auth0.User;
1135
+ organization: better_auth_plugins69.Organization;
1136
+ invitation: better_auth_plugins69.Invitation;
1137
+ inviter: better_auth_plugins69.Member & {
1138
+ user: better_auth78.User;
1139
1139
  };
1140
1140
  }): Promise<void>;
1141
1141
  organizationHooks: {
@@ -1144,28 +1144,28 @@ declare function createAgentsAuth(userAuthConfig?: UserAuthConfig): better_auth0
1144
1144
  user,
1145
1145
  organization: org
1146
1146
  }: {
1147
- invitation: better_auth_plugins0.Invitation & Record<string, any>;
1148
- member: better_auth_plugins0.Member & Record<string, any>;
1149
- user: better_auth0.User & Record<string, any>;
1150
- organization: better_auth_plugins0.Organization & Record<string, any>;
1147
+ invitation: better_auth_plugins69.Invitation & Record<string, any>;
1148
+ member: better_auth_plugins69.Member & Record<string, any>;
1149
+ user: better_auth78.User & Record<string, any>;
1150
+ organization: better_auth_plugins69.Organization & Record<string, any>;
1151
1151
  }) => Promise<void>;
1152
1152
  afterUpdateMemberRole: ({
1153
1153
  member,
1154
1154
  organization: org,
1155
1155
  previousRole
1156
1156
  }: {
1157
- member: better_auth_plugins0.Member & Record<string, any>;
1157
+ member: better_auth_plugins69.Member & Record<string, any>;
1158
1158
  previousRole: string;
1159
- user: better_auth0.User & Record<string, any>;
1160
- organization: better_auth_plugins0.Organization & Record<string, any>;
1159
+ user: better_auth78.User & Record<string, any>;
1160
+ organization: better_auth_plugins69.Organization & Record<string, any>;
1161
1161
  }) => Promise<void>;
1162
1162
  afterRemoveMember: ({
1163
1163
  member,
1164
1164
  organization: org
1165
1165
  }: {
1166
- member: better_auth_plugins0.Member & Record<string, any>;
1167
- user: better_auth0.User & Record<string, any>;
1168
- organization: better_auth_plugins0.Organization & Record<string, any>;
1166
+ member: better_auth_plugins69.Member & Record<string, any>;
1167
+ user: better_auth78.User & Record<string, any>;
1168
+ organization: better_auth_plugins69.Organization & Record<string, any>;
1169
1169
  }) => Promise<void>;
1170
1170
  };
1171
1171
  }>;
@@ -1214,19 +1214,19 @@ declare function createAgentsAuth(userAuthConfig?: UserAuthConfig): better_auth0
1214
1214
  };
1215
1215
  };
1216
1216
  endpoints: {
1217
- deviceCode: better_auth0.StrictEndpoint<"/device/code", {
1217
+ deviceCode: better_auth78.StrictEndpoint<"/device/code", {
1218
1218
  method: "POST";
1219
- body: zod0.ZodObject<{
1220
- client_id: zod0.ZodString;
1221
- scope: zod0.ZodOptional<zod0.ZodString>;
1222
- }, better_auth0.$strip>;
1223
- error: zod0.ZodObject<{
1224
- error: zod0.ZodEnum<{
1219
+ body: zod205.ZodObject<{
1220
+ client_id: zod205.ZodString;
1221
+ scope: zod205.ZodOptional<zod205.ZodString>;
1222
+ }, better_auth78.$strip>;
1223
+ error: zod205.ZodObject<{
1224
+ error: zod205.ZodEnum<{
1225
1225
  invalid_request: "invalid_request";
1226
1226
  invalid_client: "invalid_client";
1227
1227
  }>;
1228
- error_description: zod0.ZodString;
1229
- }, better_auth0.$strip>;
1228
+ error_description: zod205.ZodString;
1229
+ }, better_auth78.$strip>;
1230
1230
  metadata: {
1231
1231
  openapi: {
1232
1232
  description: string;
@@ -1299,15 +1299,15 @@ declare function createAgentsAuth(userAuthConfig?: UserAuthConfig): better_auth0
1299
1299
  expires_in: number;
1300
1300
  interval: number;
1301
1301
  }>;
1302
- deviceToken: better_auth0.StrictEndpoint<"/device/token", {
1302
+ deviceToken: better_auth78.StrictEndpoint<"/device/token", {
1303
1303
  method: "POST";
1304
- body: zod0.ZodObject<{
1305
- grant_type: zod0.ZodLiteral<"urn:ietf:params:oauth:grant-type:device_code">;
1306
- device_code: zod0.ZodString;
1307
- client_id: zod0.ZodString;
1308
- }, better_auth0.$strip>;
1309
- error: zod0.ZodObject<{
1310
- error: zod0.ZodEnum<{
1304
+ body: zod205.ZodObject<{
1305
+ grant_type: zod205.ZodLiteral<"urn:ietf:params:oauth:grant-type:device_code">;
1306
+ device_code: zod205.ZodString;
1307
+ client_id: zod205.ZodString;
1308
+ }, better_auth78.$strip>;
1309
+ error: zod205.ZodObject<{
1310
+ error: zod205.ZodEnum<{
1311
1311
  invalid_request: "invalid_request";
1312
1312
  authorization_pending: "authorization_pending";
1313
1313
  slow_down: "slow_down";
@@ -1315,8 +1315,8 @@ declare function createAgentsAuth(userAuthConfig?: UserAuthConfig): better_auth0
1315
1315
  access_denied: "access_denied";
1316
1316
  invalid_grant: "invalid_grant";
1317
1317
  }>;
1318
- error_description: zod0.ZodString;
1319
- }, better_auth0.$strip>;
1318
+ error_description: zod205.ZodString;
1319
+ }, better_auth78.$strip>;
1320
1320
  metadata: {
1321
1321
  openapi: {
1322
1322
  description: string;
@@ -1367,17 +1367,17 @@ declare function createAgentsAuth(userAuthConfig?: UserAuthConfig): better_auth0
1367
1367
  expires_in: number;
1368
1368
  scope: string;
1369
1369
  }>;
1370
- deviceVerify: better_auth0.StrictEndpoint<"/device", {
1370
+ deviceVerify: better_auth78.StrictEndpoint<"/device", {
1371
1371
  method: "GET";
1372
- query: zod0.ZodObject<{
1373
- user_code: zod0.ZodString;
1374
- }, better_auth0.$strip>;
1375
- error: zod0.ZodObject<{
1376
- error: zod0.ZodEnum<{
1372
+ query: zod205.ZodObject<{
1373
+ user_code: zod205.ZodString;
1374
+ }, better_auth78.$strip>;
1375
+ error: zod205.ZodObject<{
1376
+ error: zod205.ZodEnum<{
1377
1377
  invalid_request: "invalid_request";
1378
1378
  }>;
1379
- error_description: zod0.ZodString;
1380
- }, better_auth0.$strip>;
1379
+ error_description: zod205.ZodString;
1380
+ }, better_auth78.$strip>;
1381
1381
  metadata: {
1382
1382
  openapi: {
1383
1383
  description: string;
@@ -1410,19 +1410,19 @@ declare function createAgentsAuth(userAuthConfig?: UserAuthConfig): better_auth0
1410
1410
  user_code: string;
1411
1411
  status: string;
1412
1412
  }>;
1413
- deviceApprove: better_auth0.StrictEndpoint<"/device/approve", {
1413
+ deviceApprove: better_auth78.StrictEndpoint<"/device/approve", {
1414
1414
  method: "POST";
1415
- body: zod0.ZodObject<{
1416
- userCode: zod0.ZodString;
1417
- }, better_auth0.$strip>;
1418
- error: zod0.ZodObject<{
1419
- error: zod0.ZodEnum<{
1415
+ body: zod205.ZodObject<{
1416
+ userCode: zod205.ZodString;
1417
+ }, better_auth78.$strip>;
1418
+ error: zod205.ZodObject<{
1419
+ error: zod205.ZodEnum<{
1420
1420
  invalid_request: "invalid_request";
1421
1421
  expired_token: "expired_token";
1422
1422
  device_code_already_processed: "device_code_already_processed";
1423
1423
  }>;
1424
- error_description: zod0.ZodString;
1425
- }, better_auth0.$strip>;
1424
+ error_description: zod205.ZodString;
1425
+ }, better_auth78.$strip>;
1426
1426
  requireHeaders: true;
1427
1427
  metadata: {
1428
1428
  openapi: {
@@ -1449,18 +1449,18 @@ declare function createAgentsAuth(userAuthConfig?: UserAuthConfig): better_auth0
1449
1449
  }, {
1450
1450
  success: boolean;
1451
1451
  }>;
1452
- deviceDeny: better_auth0.StrictEndpoint<"/device/deny", {
1452
+ deviceDeny: better_auth78.StrictEndpoint<"/device/deny", {
1453
1453
  method: "POST";
1454
- body: zod0.ZodObject<{
1455
- userCode: zod0.ZodString;
1456
- }, better_auth0.$strip>;
1457
- error: zod0.ZodObject<{
1458
- error: zod0.ZodEnum<{
1454
+ body: zod205.ZodObject<{
1455
+ userCode: zod205.ZodString;
1456
+ }, better_auth78.$strip>;
1457
+ error: zod205.ZodObject<{
1458
+ error: zod205.ZodEnum<{
1459
1459
  invalid_request: "invalid_request";
1460
1460
  expired_token: "expired_token";
1461
1461
  }>;
1462
- error_description: zod0.ZodString;
1463
- }, better_auth0.$strip>;
1462
+ error_description: zod205.ZodString;
1463
+ }, better_auth78.$strip>;
1464
1464
  metadata: {
1465
1465
  openapi: {
1466
1466
  description: string;
@@ -1502,8 +1502,8 @@ declare function createAgentsAuth(userAuthConfig?: UserAuthConfig): better_auth0
1502
1502
  readonly AUTHENTICATION_REQUIRED: "Authentication required";
1503
1503
  };
1504
1504
  options: Partial<{
1505
- expiresIn: better_auth_plugins0.TimeString;
1506
- interval: better_auth_plugins0.TimeString;
1505
+ expiresIn: better_auth_plugins69.TimeString;
1506
+ interval: better_auth_plugins69.TimeString;
1507
1507
  deviceCodeLength: number;
1508
1508
  userCodeLength: number;
1509
1509
  schema: {
@@ -1536,6 +1536,6 @@ declare function createAgentsApp(config?: {
1536
1536
  auth?: UserAuthConfig;
1537
1537
  sandboxConfig?: SandboxConfig;
1538
1538
  skipInitialization?: boolean;
1539
- }): hono0.Hono<hono_types1.BlankEnv, hono_types1.BlankSchema, "/">;
1539
+ }): hono17.Hono<hono_types6.BlankEnv, hono_types6.BlankSchema, "/">;
1540
1540
  //#endregion
1541
1541
  export { type SSOProviderConfig, type UserAuthConfig, createAgentsApp, createAgentsAuth, createAgentsHono, createAuth0Provider, createOIDCProvider, initializeDefaultUser };