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