@inkeep/agents-api 0.47.2 → 0.47.4

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 (48) hide show
  1. package/dist/.well-known/workflow/v1/flow.cjs +44 -44
  2. package/dist/.well-known/workflow/v1/flow.cjs.debug.json +2 -2
  3. package/dist/.well-known/workflow/v1/step.cjs +180 -134
  4. package/dist/.well-known/workflow/v1/step.cjs.debug.json +2 -2
  5. package/dist/createApp.d.ts +2 -2
  6. package/dist/createApp.js +1 -1
  7. package/dist/domains/evals/routes/evaluationTriggers.js +1 -1
  8. package/dist/domains/evals/services/conversationEvaluation.js +21 -10
  9. package/dist/domains/evals/workflow/routes.d.ts +2 -2
  10. package/dist/domains/manage/routes/availableAgents.d.ts +2 -2
  11. package/dist/domains/manage/routes/conversations.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/mcp.d.ts +2 -2
  15. package/dist/domains/manage/routes/passwordResetLinks.d.ts +2 -2
  16. package/dist/domains/manage/routes/signoz.d.ts +2 -2
  17. package/dist/domains/manage/routes/triggers.js +110 -1
  18. package/dist/domains/manage/routes/users.d.ts +2 -2
  19. package/dist/domains/mcp/routes/mcp.d.ts +2 -2
  20. package/dist/domains/run/agents/Agent.js +19 -15
  21. package/dist/domains/run/agents/generateTaskHandler.js +1 -1
  22. package/dist/domains/run/agents/relationTools.d.ts +2 -2
  23. package/dist/domains/run/agents/relationTools.js +1 -1
  24. package/dist/domains/run/constants/execution-limits/index.js +5 -1
  25. package/dist/domains/run/handlers/executionHandler.js +6 -6
  26. package/dist/domains/run/routes/chat.js +4 -4
  27. package/dist/domains/run/routes/chatDataStream.js +4 -4
  28. package/dist/domains/run/routes/mcp.js +2 -2
  29. package/dist/domains/run/services/PendingToolApprovalManager.js +1 -1
  30. package/dist/domains/run/services/ToolApprovalUiBus.d.ts +1 -0
  31. package/dist/domains/run/services/ToolApprovalUiBus.js +2 -1
  32. package/dist/domains/run/services/TriggerService.d.ts +16 -2
  33. package/dist/domains/run/services/TriggerService.js +2 -2
  34. package/dist/domains/run/utils/model-context-utils.js +4 -2
  35. package/dist/domains/run/utils/token-estimator.d.ts +2 -2
  36. package/dist/domains/run/utils/tool-result.d.ts +11 -0
  37. package/dist/domains/run/utils/tool-result.js +15 -0
  38. package/dist/factory.d.ts +263 -263
  39. package/dist/index.d.ts +260 -260
  40. package/dist/middleware/evalsAuth.d.ts +2 -2
  41. package/dist/middleware/projectAccess.d.ts +2 -2
  42. package/dist/middleware/projectConfig.d.ts +3 -3
  43. package/dist/middleware/requirePermission.d.ts +2 -2
  44. package/dist/middleware/runAuth.d.ts +4 -4
  45. package/dist/middleware/sessionAuth.d.ts +3 -3
  46. package/dist/middleware/tenantAccess.d.ts +2 -2
  47. package/dist/middleware/tracing.d.ts +3 -3
  48. package/package.json +5 -5
package/dist/index.d.ts CHANGED
@@ -6,17 +6,17 @@ import "./env.js";
6
6
  import { createAuth0Provider, createOIDCProvider } from "./ssoHelpers.js";
7
7
  import { SSOProviderConfig, UserAuthConfig, createAgentsApp } from "./factory.js";
8
8
  import { Hono } from "hono";
9
- import * as zod0 from "zod";
9
+ import * as zod205 from "zod";
10
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";
11
+ import * as better_auth79 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/index.d.ts
16
- declare const auth: better_auth0.Auth<{
16
+ declare const auth: better_auth79.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_auth79.BetterAuthOptions) => better_auth79.DBAdapter<better_auth79.BetterAuthOptions>;
20
20
  emailAndPassword: {
21
21
  enabled: true;
22
22
  minPasswordLength: number;
@@ -29,7 +29,7 @@ declare const auth: better_auth0.Auth<{
29
29
  url,
30
30
  token
31
31
  }: {
32
- user: better_auth0.User;
32
+ user: better_auth79.User;
33
33
  url: string;
34
34
  token: string;
35
35
  }) => Promise<void>;
@@ -81,7 +81,7 @@ declare const auth: better_auth0.Auth<{
81
81
  clientKey?: string | undefined;
82
82
  disableIdTokenSignIn?: boolean | undefined;
83
83
  verifyIdToken?: ((token: string, nonce?: string) => Promise<boolean>) | undefined;
84
- getUserInfo?: ((token: better_auth0.OAuth2Tokens) => Promise<{
84
+ getUserInfo?: ((token: better_auth79.OAuth2Tokens) => Promise<{
85
85
  user: {
86
86
  id: string;
87
87
  name?: string;
@@ -92,8 +92,8 @@ declare const auth: better_auth0.Auth<{
92
92
  };
93
93
  data: any;
94
94
  } | null>) | undefined;
95
- refreshAccessToken?: ((refreshToken: string) => Promise<better_auth0.OAuth2Tokens>) | undefined;
96
- mapProfileToUser?: ((profile: better_auth0.GoogleProfile) => {
95
+ refreshAccessToken?: ((refreshToken: string) => Promise<better_auth79.OAuth2Tokens>) | undefined;
96
+ mapProfileToUser?: ((profile: better_auth79.GoogleProfile) => {
97
97
  id?: string;
98
98
  name?: string;
99
99
  email?: string | null;
@@ -140,15 +140,15 @@ declare const auth: better_auth0.Auth<{
140
140
  cookies?: {
141
141
  [key: string]: {
142
142
  name?: string;
143
- attributes?: better_auth0.CookieOptions;
143
+ attributes?: better_auth79.CookieOptions;
144
144
  };
145
145
  } | undefined;
146
- defaultCookieAttributes: better_auth0.CookieOptions;
146
+ defaultCookieAttributes: better_auth79.CookieOptions;
147
147
  cookiePrefix?: string | undefined;
148
148
  database?: {
149
149
  defaultFindManyLimit?: number;
150
150
  useNumberId?: boolean;
151
- generateId?: better_auth0.GenerateIdFn | false | "serial" | "uuid";
151
+ generateId?: better_auth79.GenerateIdFn | false | "serial" | "uuid";
152
152
  } | undefined;
153
153
  trustedProxyHeaders?: boolean | undefined;
154
154
  backgroundTasks?: {
@@ -160,31 +160,31 @@ declare const auth: better_auth0.Auth<{
160
160
  id: "bearer";
161
161
  hooks: {
162
162
  before: {
163
- matcher(context: better_auth0.HookEndpointContext): boolean;
164
- handler: (inputContext: better_auth0.MiddlewareInputContext<better_auth0.MiddlewareOptions>) => Promise<{
163
+ matcher(context: better_auth79.HookEndpointContext): boolean;
164
+ handler: (inputContext: better_auth79.MiddlewareInputContext<better_auth79.MiddlewareOptions>) => Promise<{
165
165
  context: {
166
166
  headers: Headers;
167
167
  };
168
168
  } | undefined>;
169
169
  }[];
170
170
  after: {
171
- matcher(context: better_auth0.HookEndpointContext): true;
172
- handler: (inputContext: better_auth0.MiddlewareInputContext<better_auth0.MiddlewareOptions>) => Promise<void>;
171
+ matcher(context: better_auth79.HookEndpointContext): true;
172
+ handler: (inputContext: better_auth79.MiddlewareInputContext<better_auth79.MiddlewareOptions>) => Promise<void>;
173
173
  }[];
174
174
  };
175
- options: better_auth_plugins0.BearerOptions | undefined;
175
+ options: better_auth_plugins69.BearerOptions | undefined;
176
176
  }, {
177
177
  id: "sso";
178
178
  endpoints: {
179
- spMetadata: ReturnType<() => better_auth0.StrictEndpoint<"/sso/saml2/sp/metadata", {
179
+ spMetadata: ReturnType<() => better_auth79.StrictEndpoint<"/sso/saml2/sp/metadata", {
180
180
  method: "GET";
181
- query: zod0.ZodObject<{
182
- providerId: zod0.ZodString;
183
- format: zod0.ZodDefault<zod0.ZodEnum<{
181
+ query: zod205.ZodObject<{
182
+ providerId: zod205.ZodString;
183
+ format: zod205.ZodDefault<zod205.ZodEnum<{
184
184
  xml: "xml";
185
185
  json: "json";
186
186
  }>>;
187
- }, better_auth0.$strip>;
187
+ }, better_auth79.$strip>;
188
188
  metadata: {
189
189
  openapi: {
190
190
  operationId: string;
@@ -198,86 +198,86 @@ declare const auth: better_auth0.Auth<{
198
198
  };
199
199
  };
200
200
  }, Response>>;
201
- registerSSOProvider: better_auth0.StrictEndpoint<"/sso/register", {
201
+ registerSSOProvider: better_auth79.StrictEndpoint<"/sso/register", {
202
202
  method: "POST";
203
- body: zod0.ZodObject<{
204
- providerId: zod0.ZodString;
205
- issuer: zod0.ZodString;
206
- domain: zod0.ZodString;
207
- oidcConfig: zod0.ZodOptional<zod0.ZodObject<{
208
- clientId: zod0.ZodString;
209
- clientSecret: zod0.ZodString;
210
- authorizationEndpoint: zod0.ZodOptional<zod0.ZodString>;
211
- tokenEndpoint: zod0.ZodOptional<zod0.ZodString>;
212
- userInfoEndpoint: zod0.ZodOptional<zod0.ZodString>;
213
- tokenEndpointAuthentication: zod0.ZodOptional<zod0.ZodEnum<{
203
+ body: zod205.ZodObject<{
204
+ providerId: zod205.ZodString;
205
+ issuer: zod205.ZodString;
206
+ domain: zod205.ZodString;
207
+ oidcConfig: zod205.ZodOptional<zod205.ZodObject<{
208
+ clientId: zod205.ZodString;
209
+ clientSecret: zod205.ZodString;
210
+ authorizationEndpoint: zod205.ZodOptional<zod205.ZodString>;
211
+ tokenEndpoint: zod205.ZodOptional<zod205.ZodString>;
212
+ userInfoEndpoint: zod205.ZodOptional<zod205.ZodString>;
213
+ tokenEndpointAuthentication: zod205.ZodOptional<zod205.ZodEnum<{
214
214
  client_secret_post: "client_secret_post";
215
215
  client_secret_basic: "client_secret_basic";
216
216
  }>>;
217
- jwksEndpoint: zod0.ZodOptional<zod0.ZodString>;
218
- discoveryEndpoint: zod0.ZodOptional<zod0.ZodString>;
219
- skipDiscovery: zod0.ZodOptional<zod0.ZodBoolean>;
220
- scopes: zod0.ZodOptional<zod0.ZodArray<zod0.ZodString>>;
221
- pkce: zod0.ZodOptional<zod0.ZodDefault<zod0.ZodBoolean>>;
222
- mapping: zod0.ZodOptional<zod0.ZodObject<{
223
- id: zod0.ZodString;
224
- email: zod0.ZodString;
225
- emailVerified: zod0.ZodOptional<zod0.ZodString>;
226
- name: zod0.ZodString;
227
- image: zod0.ZodOptional<zod0.ZodString>;
228
- extraFields: zod0.ZodOptional<zod0.ZodRecord<zod0.ZodString, zod0.ZodAny>>;
229
- }, better_auth0.$strip>>;
230
- }, better_auth0.$strip>>;
231
- samlConfig: zod0.ZodOptional<zod0.ZodObject<{
232
- entryPoint: zod0.ZodString;
233
- cert: zod0.ZodString;
234
- callbackUrl: zod0.ZodString;
235
- audience: zod0.ZodOptional<zod0.ZodString>;
236
- idpMetadata: zod0.ZodOptional<zod0.ZodObject<{
237
- metadata: zod0.ZodOptional<zod0.ZodString>;
238
- entityID: zod0.ZodOptional<zod0.ZodString>;
239
- cert: zod0.ZodOptional<zod0.ZodString>;
240
- privateKey: zod0.ZodOptional<zod0.ZodString>;
241
- privateKeyPass: zod0.ZodOptional<zod0.ZodString>;
242
- isAssertionEncrypted: zod0.ZodOptional<zod0.ZodBoolean>;
243
- encPrivateKey: zod0.ZodOptional<zod0.ZodString>;
244
- encPrivateKeyPass: zod0.ZodOptional<zod0.ZodString>;
245
- singleSignOnService: zod0.ZodOptional<zod0.ZodArray<zod0.ZodObject<{
246
- Binding: zod0.ZodString;
247
- Location: zod0.ZodString;
248
- }, better_auth0.$strip>>>;
249
- }, better_auth0.$strip>>;
250
- spMetadata: zod0.ZodObject<{
251
- metadata: zod0.ZodOptional<zod0.ZodString>;
252
- entityID: zod0.ZodOptional<zod0.ZodString>;
253
- binding: zod0.ZodOptional<zod0.ZodString>;
254
- privateKey: zod0.ZodOptional<zod0.ZodString>;
255
- privateKeyPass: zod0.ZodOptional<zod0.ZodString>;
256
- isAssertionEncrypted: zod0.ZodOptional<zod0.ZodBoolean>;
257
- encPrivateKey: zod0.ZodOptional<zod0.ZodString>;
258
- encPrivateKeyPass: zod0.ZodOptional<zod0.ZodString>;
259
- }, better_auth0.$strip>;
260
- wantAssertionsSigned: zod0.ZodOptional<zod0.ZodBoolean>;
261
- signatureAlgorithm: zod0.ZodOptional<zod0.ZodString>;
262
- digestAlgorithm: zod0.ZodOptional<zod0.ZodString>;
263
- identifierFormat: zod0.ZodOptional<zod0.ZodString>;
264
- privateKey: zod0.ZodOptional<zod0.ZodString>;
265
- decryptionPvk: zod0.ZodOptional<zod0.ZodString>;
266
- additionalParams: zod0.ZodOptional<zod0.ZodRecord<zod0.ZodString, zod0.ZodAny>>;
267
- mapping: zod0.ZodOptional<zod0.ZodObject<{
268
- id: zod0.ZodString;
269
- email: zod0.ZodString;
270
- emailVerified: zod0.ZodOptional<zod0.ZodString>;
271
- name: zod0.ZodString;
272
- firstName: zod0.ZodOptional<zod0.ZodString>;
273
- lastName: zod0.ZodOptional<zod0.ZodString>;
274
- extraFields: zod0.ZodOptional<zod0.ZodRecord<zod0.ZodString, zod0.ZodAny>>;
275
- }, better_auth0.$strip>>;
276
- }, better_auth0.$strip>>;
277
- organizationId: zod0.ZodOptional<zod0.ZodString>;
278
- overrideUserInfo: zod0.ZodOptional<zod0.ZodDefault<zod0.ZodBoolean>>;
279
- }, better_auth0.$strip>;
280
- use: ((inputContext: better_auth0.MiddlewareInputContext<better_auth0.MiddlewareOptions>) => Promise<{
217
+ jwksEndpoint: zod205.ZodOptional<zod205.ZodString>;
218
+ discoveryEndpoint: zod205.ZodOptional<zod205.ZodString>;
219
+ skipDiscovery: zod205.ZodOptional<zod205.ZodBoolean>;
220
+ scopes: zod205.ZodOptional<zod205.ZodArray<zod205.ZodString>>;
221
+ pkce: zod205.ZodOptional<zod205.ZodDefault<zod205.ZodBoolean>>;
222
+ mapping: zod205.ZodOptional<zod205.ZodObject<{
223
+ id: zod205.ZodString;
224
+ email: zod205.ZodString;
225
+ emailVerified: zod205.ZodOptional<zod205.ZodString>;
226
+ name: zod205.ZodString;
227
+ image: zod205.ZodOptional<zod205.ZodString>;
228
+ extraFields: zod205.ZodOptional<zod205.ZodRecord<zod205.ZodString, zod205.ZodAny>>;
229
+ }, better_auth79.$strip>>;
230
+ }, better_auth79.$strip>>;
231
+ samlConfig: zod205.ZodOptional<zod205.ZodObject<{
232
+ entryPoint: zod205.ZodString;
233
+ cert: zod205.ZodString;
234
+ callbackUrl: zod205.ZodString;
235
+ audience: zod205.ZodOptional<zod205.ZodString>;
236
+ idpMetadata: zod205.ZodOptional<zod205.ZodObject<{
237
+ metadata: zod205.ZodOptional<zod205.ZodString>;
238
+ entityID: zod205.ZodOptional<zod205.ZodString>;
239
+ cert: zod205.ZodOptional<zod205.ZodString>;
240
+ privateKey: zod205.ZodOptional<zod205.ZodString>;
241
+ privateKeyPass: zod205.ZodOptional<zod205.ZodString>;
242
+ isAssertionEncrypted: zod205.ZodOptional<zod205.ZodBoolean>;
243
+ encPrivateKey: zod205.ZodOptional<zod205.ZodString>;
244
+ encPrivateKeyPass: zod205.ZodOptional<zod205.ZodString>;
245
+ singleSignOnService: zod205.ZodOptional<zod205.ZodArray<zod205.ZodObject<{
246
+ Binding: zod205.ZodString;
247
+ Location: zod205.ZodString;
248
+ }, better_auth79.$strip>>>;
249
+ }, better_auth79.$strip>>;
250
+ spMetadata: zod205.ZodObject<{
251
+ metadata: zod205.ZodOptional<zod205.ZodString>;
252
+ entityID: zod205.ZodOptional<zod205.ZodString>;
253
+ binding: zod205.ZodOptional<zod205.ZodString>;
254
+ privateKey: zod205.ZodOptional<zod205.ZodString>;
255
+ privateKeyPass: zod205.ZodOptional<zod205.ZodString>;
256
+ isAssertionEncrypted: zod205.ZodOptional<zod205.ZodBoolean>;
257
+ encPrivateKey: zod205.ZodOptional<zod205.ZodString>;
258
+ encPrivateKeyPass: zod205.ZodOptional<zod205.ZodString>;
259
+ }, better_auth79.$strip>;
260
+ wantAssertionsSigned: zod205.ZodOptional<zod205.ZodBoolean>;
261
+ signatureAlgorithm: zod205.ZodOptional<zod205.ZodString>;
262
+ digestAlgorithm: zod205.ZodOptional<zod205.ZodString>;
263
+ identifierFormat: zod205.ZodOptional<zod205.ZodString>;
264
+ privateKey: zod205.ZodOptional<zod205.ZodString>;
265
+ decryptionPvk: zod205.ZodOptional<zod205.ZodString>;
266
+ additionalParams: zod205.ZodOptional<zod205.ZodRecord<zod205.ZodString, zod205.ZodAny>>;
267
+ mapping: zod205.ZodOptional<zod205.ZodObject<{
268
+ id: zod205.ZodString;
269
+ email: zod205.ZodString;
270
+ emailVerified: zod205.ZodOptional<zod205.ZodString>;
271
+ name: zod205.ZodString;
272
+ firstName: zod205.ZodOptional<zod205.ZodString>;
273
+ lastName: zod205.ZodOptional<zod205.ZodString>;
274
+ extraFields: zod205.ZodOptional<zod205.ZodRecord<zod205.ZodString, zod205.ZodAny>>;
275
+ }, better_auth79.$strip>>;
276
+ }, better_auth79.$strip>>;
277
+ organizationId: zod205.ZodOptional<zod205.ZodString>;
278
+ overrideUserInfo: zod205.ZodOptional<zod205.ZodDefault<zod205.ZodBoolean>>;
279
+ }, better_auth79.$strip>;
280
+ use: ((inputContext: better_auth79.MiddlewareInputContext<better_auth79.MiddlewareOptions>) => Promise<{
281
281
  session: {
282
282
  session: Record<string, any> & {
283
283
  id: string;
@@ -463,35 +463,35 @@ declare const auth: better_auth0.Auth<{
463
463
  };
464
464
  }, {
465
465
  redirectURI: string;
466
- oidcConfig: _better_auth_sso0.OIDCConfig | null;
467
- samlConfig: _better_auth_sso0.SAMLConfig | null;
466
+ oidcConfig: _better_auth_sso10.OIDCConfig | null;
467
+ samlConfig: _better_auth_sso10.SAMLConfig | null;
468
468
  } & Omit<{
469
469
  issuer: string;
470
- oidcConfig?: _better_auth_sso0.OIDCConfig | undefined;
471
- samlConfig?: _better_auth_sso0.SAMLConfig | undefined;
470
+ oidcConfig?: _better_auth_sso10.OIDCConfig | undefined;
471
+ samlConfig?: _better_auth_sso10.SAMLConfig | undefined;
472
472
  userId: string;
473
473
  providerId: string;
474
474
  organizationId?: string | undefined;
475
475
  domain: string;
476
476
  }, "oidcConfig" | "samlConfig">>;
477
- signInSSO: ReturnType<(options?: _better_auth_sso0.SSOOptions) => better_auth0.StrictEndpoint<"/sign-in/sso", {
477
+ signInSSO: ReturnType<(options?: _better_auth_sso10.SSOOptions) => better_auth79.StrictEndpoint<"/sign-in/sso", {
478
478
  method: "POST";
479
- body: zod0.ZodObject<{
480
- email: zod0.ZodOptional<zod0.ZodString>;
481
- organizationSlug: zod0.ZodOptional<zod0.ZodString>;
482
- providerId: zod0.ZodOptional<zod0.ZodString>;
483
- domain: zod0.ZodOptional<zod0.ZodString>;
484
- callbackURL: zod0.ZodString;
485
- errorCallbackURL: zod0.ZodOptional<zod0.ZodString>;
486
- newUserCallbackURL: zod0.ZodOptional<zod0.ZodString>;
487
- scopes: zod0.ZodOptional<zod0.ZodArray<zod0.ZodString>>;
488
- loginHint: zod0.ZodOptional<zod0.ZodString>;
489
- requestSignUp: zod0.ZodOptional<zod0.ZodBoolean>;
490
- providerType: zod0.ZodOptional<zod0.ZodEnum<{
479
+ body: zod205.ZodObject<{
480
+ email: zod205.ZodOptional<zod205.ZodString>;
481
+ organizationSlug: zod205.ZodOptional<zod205.ZodString>;
482
+ providerId: zod205.ZodOptional<zod205.ZodString>;
483
+ domain: zod205.ZodOptional<zod205.ZodString>;
484
+ callbackURL: zod205.ZodString;
485
+ errorCallbackURL: zod205.ZodOptional<zod205.ZodString>;
486
+ newUserCallbackURL: zod205.ZodOptional<zod205.ZodString>;
487
+ scopes: zod205.ZodOptional<zod205.ZodArray<zod205.ZodString>>;
488
+ loginHint: zod205.ZodOptional<zod205.ZodString>;
489
+ requestSignUp: zod205.ZodOptional<zod205.ZodBoolean>;
490
+ providerType: zod205.ZodOptional<zod205.ZodEnum<{
491
491
  saml: "saml";
492
492
  oidc: "oidc";
493
493
  }>>;
494
- }, better_auth0.$strip>;
494
+ }, better_auth79.$strip>;
495
495
  metadata: {
496
496
  openapi: {
497
497
  operationId: string;
@@ -568,14 +568,14 @@ declare const auth: better_auth0.Auth<{
568
568
  url: string;
569
569
  redirect: boolean;
570
570
  }>>;
571
- callbackSSO: ReturnType<(options?: _better_auth_sso0.SSOOptions) => better_auth0.StrictEndpoint<"/sso/callback/:providerId", {
571
+ callbackSSO: ReturnType<(options?: _better_auth_sso10.SSOOptions) => better_auth79.StrictEndpoint<"/sso/callback/:providerId", {
572
572
  method: "GET";
573
- query: zod0.ZodObject<{
574
- code: zod0.ZodOptional<zod0.ZodString>;
575
- state: zod0.ZodString;
576
- error: zod0.ZodOptional<zod0.ZodString>;
577
- error_description: zod0.ZodOptional<zod0.ZodString>;
578
- }, better_auth0.$strip>;
573
+ query: zod205.ZodObject<{
574
+ code: zod205.ZodOptional<zod205.ZodString>;
575
+ state: zod205.ZodString;
576
+ error: zod205.ZodOptional<zod205.ZodString>;
577
+ error_description: zod205.ZodOptional<zod205.ZodString>;
578
+ }, better_auth79.$strip>;
579
579
  allowedMediaTypes: string[];
580
580
  metadata: {
581
581
  openapi: {
@@ -591,12 +591,12 @@ declare const auth: better_auth0.Auth<{
591
591
  scope: "server";
592
592
  };
593
593
  }, never>>;
594
- callbackSSOSAML: ReturnType<(options?: _better_auth_sso0.SSOOptions) => better_auth0.StrictEndpoint<"/sso/saml2/callback/:providerId", {
594
+ callbackSSOSAML: ReturnType<(options?: _better_auth_sso10.SSOOptions) => better_auth79.StrictEndpoint<"/sso/saml2/callback/:providerId", {
595
595
  method: "POST";
596
- body: zod0.ZodObject<{
597
- SAMLResponse: zod0.ZodString;
598
- RelayState: zod0.ZodOptional<zod0.ZodString>;
599
- }, better_auth0.$strip>;
596
+ body: zod205.ZodObject<{
597
+ SAMLResponse: zod205.ZodString;
598
+ RelayState: zod205.ZodOptional<zod205.ZodString>;
599
+ }, better_auth79.$strip>;
600
600
  metadata: {
601
601
  allowedMediaTypes: string[];
602
602
  openapi: {
@@ -618,15 +618,15 @@ declare const auth: better_auth0.Auth<{
618
618
  scope: "server";
619
619
  };
620
620
  }, never>>;
621
- acsEndpoint: ReturnType<(options?: _better_auth_sso0.SSOOptions) => better_auth0.StrictEndpoint<"/sso/saml2/sp/acs/:providerId", {
621
+ acsEndpoint: ReturnType<(options?: _better_auth_sso10.SSOOptions) => better_auth79.StrictEndpoint<"/sso/saml2/sp/acs/:providerId", {
622
622
  method: "POST";
623
- params: zod0.ZodObject<{
624
- providerId: zod0.ZodOptional<zod0.ZodString>;
625
- }, better_auth0.$strip>;
626
- body: zod0.ZodObject<{
627
- SAMLResponse: zod0.ZodString;
628
- RelayState: zod0.ZodOptional<zod0.ZodString>;
629
- }, better_auth0.$strip>;
623
+ params: zod205.ZodObject<{
624
+ providerId: zod205.ZodOptional<zod205.ZodString>;
625
+ }, better_auth79.$strip>;
626
+ body: zod205.ZodObject<{
627
+ SAMLResponse: zod205.ZodString;
628
+ RelayState: zod205.ZodOptional<zod205.ZodString>;
629
+ }, better_auth79.$strip>;
630
630
  metadata: {
631
631
  allowedMediaTypes: string[];
632
632
  openapi: {
@@ -643,11 +643,11 @@ declare const auth: better_auth0.Auth<{
643
643
  };
644
644
  }, never>>;
645
645
  } & {
646
- requestDomainVerification: ReturnType<(options: _better_auth_sso0.SSOOptions) => better_auth0.StrictEndpoint<"/sso/request-domain-verification", {
646
+ requestDomainVerification: ReturnType<(options: _better_auth_sso10.SSOOptions) => better_auth79.StrictEndpoint<"/sso/request-domain-verification", {
647
647
  method: "POST";
648
- body: zod0.ZodObject<{
649
- providerId: zod0.ZodString;
650
- }, better_auth0.$strip>;
648
+ body: zod205.ZodObject<{
649
+ providerId: zod205.ZodString;
650
+ }, better_auth79.$strip>;
651
651
  metadata: {
652
652
  openapi: {
653
653
  summary: string;
@@ -665,7 +665,7 @@ declare const auth: better_auth0.Auth<{
665
665
  };
666
666
  };
667
667
  };
668
- use: ((inputContext: better_auth0.MiddlewareInputContext<better_auth0.MiddlewareOptions>) => Promise<{
668
+ use: ((inputContext: better_auth79.MiddlewareInputContext<better_auth79.MiddlewareOptions>) => Promise<{
669
669
  session: {
670
670
  session: Record<string, any> & {
671
671
  id: string;
@@ -691,11 +691,11 @@ declare const auth: better_auth0.Auth<{
691
691
  }, {
692
692
  domainVerificationToken: string;
693
693
  }>>;
694
- verifyDomain: ReturnType<(options: _better_auth_sso0.SSOOptions) => better_auth0.StrictEndpoint<"/sso/verify-domain", {
694
+ verifyDomain: ReturnType<(options: _better_auth_sso10.SSOOptions) => better_auth79.StrictEndpoint<"/sso/verify-domain", {
695
695
  method: "POST";
696
- body: zod0.ZodObject<{
697
- providerId: zod0.ZodString;
698
- }, better_auth0.$strip>;
696
+ body: zod205.ZodObject<{
697
+ providerId: zod205.ZodString;
698
+ }, better_auth79.$strip>;
699
699
  metadata: {
700
700
  openapi: {
701
701
  summary: string;
@@ -716,7 +716,7 @@ declare const auth: better_auth0.Auth<{
716
716
  };
717
717
  };
718
718
  };
719
- use: ((inputContext: better_auth0.MiddlewareInputContext<better_auth0.MiddlewareOptions>) => Promise<{
719
+ use: ((inputContext: better_auth79.MiddlewareInputContext<better_auth79.MiddlewareOptions>) => Promise<{
720
720
  session: {
721
721
  session: Record<string, any> & {
722
722
  id: string;
@@ -742,7 +742,7 @@ declare const auth: better_auth0.Auth<{
742
742
  }, void>>;
743
743
  };
744
744
  schema: any;
745
- options: _better_auth_sso0.SSOOptions & {
745
+ options: _better_auth_sso10.SSOOptions & {
746
746
  domainVerification?: {
747
747
  enabled: true;
748
748
  };
@@ -753,14 +753,14 @@ declare const auth: better_auth0.Auth<{
753
753
  productionURL: string;
754
754
  }>;
755
755
  endpoints: {
756
- oAuthProxy: better_auth0.StrictEndpoint<"/oauth-proxy-callback", {
756
+ oAuthProxy: better_auth79.StrictEndpoint<"/oauth-proxy-callback", {
757
757
  method: "GET";
758
758
  operationId: string;
759
- query: zod0.ZodObject<{
760
- callbackURL: zod0.ZodString;
761
- cookies: zod0.ZodString;
762
- }, better_auth0.$strip>;
763
- use: ((inputContext: better_auth0.MiddlewareInputContext<better_auth0.MiddlewareOptions>) => Promise<void>)[];
759
+ query: zod205.ZodObject<{
760
+ callbackURL: zod205.ZodString;
761
+ cookies: zod205.ZodString;
762
+ }, better_auth79.$strip>;
763
+ use: ((inputContext: better_auth79.MiddlewareInputContext<better_auth79.MiddlewareOptions>) => Promise<void>)[];
764
764
  metadata: {
765
765
  openapi: {
766
766
  operationId: string;
@@ -790,40 +790,40 @@ declare const auth: better_auth0.Auth<{
790
790
  };
791
791
  hooks: {
792
792
  before: {
793
- matcher(context: better_auth0.HookEndpointContext): boolean;
794
- handler: (inputContext: better_auth0.MiddlewareInputContext<better_auth0.MiddlewareOptions>) => Promise<void>;
793
+ matcher(context: better_auth79.HookEndpointContext): boolean;
794
+ handler: (inputContext: better_auth79.MiddlewareInputContext<better_auth79.MiddlewareOptions>) => Promise<void>;
795
795
  }[];
796
796
  after: {
797
- matcher(context: better_auth0.HookEndpointContext): boolean;
798
- handler: (inputContext: better_auth0.MiddlewareInputContext<better_auth0.MiddlewareOptions>) => Promise<void>;
797
+ matcher(context: better_auth79.HookEndpointContext): boolean;
798
+ handler: (inputContext: better_auth79.MiddlewareInputContext<better_auth79.MiddlewareOptions>) => Promise<void>;
799
799
  }[];
800
800
  };
801
801
  }, {
802
802
  id: "organization";
803
- endpoints: better_auth_plugins0.OrganizationEndpoints<{
803
+ endpoints: better_auth_plugins69.OrganizationEndpoints<{
804
804
  allowUserToCreateOrganization: true;
805
- ac: better_auth_plugins0.AccessControl;
805
+ ac: better_auth_plugins69.AccessControl;
806
806
  roles: {
807
807
  member: {
808
- authorize<K_1 extends "organization" | "member" | "invitation" | "ac" | "project" | "team">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins0.Subset<"organization" | "member" | "invitation" | "ac" | "project" | "team", better_auth_plugins0.Statements>[key] | {
809
- actions: better_auth_plugins0.Subset<"organization" | "member" | "invitation" | "ac" | "project" | "team", better_auth_plugins0.Statements>[key];
808
+ authorize<K_1 extends "organization" | "member" | "invitation" | "ac" | "project" | "team">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins69.Subset<"organization" | "member" | "invitation" | "ac" | "project" | "team", better_auth_plugins69.Statements>[key] | {
809
+ actions: better_auth_plugins69.Subset<"organization" | "member" | "invitation" | "ac" | "project" | "team", better_auth_plugins69.Statements>[key];
810
810
  connector: "OR" | "AND";
811
- } | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins0.AuthorizeResponse;
812
- statements: better_auth_plugins0.Subset<"organization" | "member" | "invitation" | "ac" | "project" | "team", better_auth_plugins0.Statements>;
811
+ } | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins69.AuthorizeResponse;
812
+ statements: better_auth_plugins69.Subset<"organization" | "member" | "invitation" | "ac" | "project" | "team", better_auth_plugins69.Statements>;
813
813
  };
814
814
  admin: {
815
- authorize<K_1 extends "organization" | "member" | "invitation" | "ac" | "project" | "team">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins0.Subset<"organization" | "member" | "invitation" | "ac" | "project" | "team", better_auth_plugins0.Statements>[key] | {
816
- actions: better_auth_plugins0.Subset<"organization" | "member" | "invitation" | "ac" | "project" | "team", better_auth_plugins0.Statements>[key];
815
+ authorize<K_1 extends "organization" | "member" | "invitation" | "ac" | "project" | "team">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins69.Subset<"organization" | "member" | "invitation" | "ac" | "project" | "team", better_auth_plugins69.Statements>[key] | {
816
+ actions: better_auth_plugins69.Subset<"organization" | "member" | "invitation" | "ac" | "project" | "team", better_auth_plugins69.Statements>[key];
817
817
  connector: "OR" | "AND";
818
- } | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins0.AuthorizeResponse;
819
- statements: better_auth_plugins0.Subset<"organization" | "member" | "invitation" | "ac" | "project" | "team", better_auth_plugins0.Statements>;
818
+ } | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins69.AuthorizeResponse;
819
+ statements: better_auth_plugins69.Subset<"organization" | "member" | "invitation" | "ac" | "project" | "team", better_auth_plugins69.Statements>;
820
820
  };
821
821
  owner: {
822
- authorize<K_1 extends "organization" | "member" | "invitation" | "ac" | "project" | "team">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins0.Subset<"organization" | "member" | "invitation" | "ac" | "project" | "team", better_auth_plugins0.Statements>[key] | {
823
- actions: better_auth_plugins0.Subset<"organization" | "member" | "invitation" | "ac" | "project" | "team", better_auth_plugins0.Statements>[key];
822
+ authorize<K_1 extends "organization" | "member" | "invitation" | "ac" | "project" | "team">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins69.Subset<"organization" | "member" | "invitation" | "ac" | "project" | "team", better_auth_plugins69.Statements>[key] | {
823
+ actions: better_auth_plugins69.Subset<"organization" | "member" | "invitation" | "ac" | "project" | "team", better_auth_plugins69.Statements>[key];
824
824
  connector: "OR" | "AND";
825
- } | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins0.AuthorizeResponse;
826
- statements: better_auth_plugins0.Subset<"organization" | "member" | "invitation" | "ac" | "project" | "team", better_auth_plugins0.Statements>;
825
+ } | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins69.AuthorizeResponse;
826
+ statements: better_auth_plugins69.Subset<"organization" | "member" | "invitation" | "ac" | "project" | "team", better_auth_plugins69.Statements>;
827
827
  };
828
828
  };
829
829
  creatorRole: "admin";
@@ -834,10 +834,10 @@ declare const auth: better_auth0.Auth<{
834
834
  id: string;
835
835
  role: string;
836
836
  email: string;
837
- organization: better_auth_plugins0.Organization;
838
- invitation: better_auth_plugins0.Invitation;
839
- inviter: better_auth_plugins0.Member & {
840
- user: better_auth0.User;
837
+ organization: better_auth_plugins69.Organization;
838
+ invitation: better_auth_plugins69.Invitation;
839
+ inviter: better_auth_plugins69.Member & {
840
+ user: better_auth79.User;
841
841
  };
842
842
  }): Promise<void>;
843
843
  schema: {
@@ -857,28 +857,28 @@ declare const auth: better_auth0.Auth<{
857
857
  user,
858
858
  organization: org
859
859
  }: {
860
- invitation: better_auth_plugins0.Invitation & Record<string, any>;
861
- member: better_auth_plugins0.Member & Record<string, any>;
862
- user: better_auth0.User & Record<string, any>;
863
- organization: better_auth_plugins0.Organization & Record<string, any>;
860
+ invitation: better_auth_plugins69.Invitation & Record<string, any>;
861
+ member: better_auth_plugins69.Member & Record<string, any>;
862
+ user: better_auth79.User & Record<string, any>;
863
+ organization: better_auth_plugins69.Organization & Record<string, any>;
864
864
  }) => Promise<void>;
865
865
  beforeUpdateMemberRole: ({
866
866
  member,
867
867
  organization: org,
868
868
  newRole
869
869
  }: {
870
- member: better_auth_plugins0.Member & Record<string, any>;
870
+ member: better_auth_plugins69.Member & Record<string, any>;
871
871
  newRole: string;
872
- user: better_auth0.User & Record<string, any>;
873
- organization: better_auth_plugins0.Organization & Record<string, any>;
872
+ user: better_auth79.User & Record<string, any>;
873
+ organization: better_auth_plugins69.Organization & Record<string, any>;
874
874
  }) => Promise<void>;
875
875
  afterRemoveMember: ({
876
876
  member,
877
877
  organization: org
878
878
  }: {
879
- member: better_auth_plugins0.Member & Record<string, any>;
880
- user: better_auth0.User & Record<string, any>;
881
- organization: better_auth_plugins0.Organization & Record<string, any>;
879
+ member: better_auth_plugins69.Member & Record<string, any>;
880
+ user: better_auth79.User & Record<string, any>;
881
+ organization: better_auth_plugins69.Organization & Record<string, any>;
882
882
  }) => Promise<void>;
883
883
  };
884
884
  }>;
@@ -1010,7 +1010,7 @@ declare const auth: better_auth0.Auth<{
1010
1010
  organizationId: string;
1011
1011
  email: string;
1012
1012
  role: "member" | "admin" | "owner";
1013
- status: better_auth_plugins0.InvitationStatus;
1013
+ status: better_auth_plugins69.InvitationStatus;
1014
1014
  inviterId: string;
1015
1015
  expiresAt: Date;
1016
1016
  createdAt: Date;
@@ -1050,7 +1050,7 @@ declare const auth: better_auth0.Auth<{
1050
1050
  organizationId: string;
1051
1051
  email: string;
1052
1052
  role: "member" | "admin" | "owner";
1053
- status: better_auth_plugins0.InvitationStatus;
1053
+ status: better_auth_plugins69.InvitationStatus;
1054
1054
  inviterId: string;
1055
1055
  expiresAt: Date;
1056
1056
  createdAt: Date;
@@ -1125,28 +1125,28 @@ declare const auth: better_auth0.Auth<{
1125
1125
  };
1126
1126
  options: NoInfer<{
1127
1127
  allowUserToCreateOrganization: true;
1128
- ac: better_auth_plugins0.AccessControl;
1128
+ ac: better_auth_plugins69.AccessControl;
1129
1129
  roles: {
1130
1130
  member: {
1131
- authorize<K_1 extends "organization" | "member" | "invitation" | "ac" | "project" | "team">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins0.Subset<"organization" | "member" | "invitation" | "ac" | "project" | "team", better_auth_plugins0.Statements>[key] | {
1132
- actions: better_auth_plugins0.Subset<"organization" | "member" | "invitation" | "ac" | "project" | "team", better_auth_plugins0.Statements>[key];
1131
+ authorize<K_1 extends "organization" | "member" | "invitation" | "ac" | "project" | "team">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins69.Subset<"organization" | "member" | "invitation" | "ac" | "project" | "team", better_auth_plugins69.Statements>[key] | {
1132
+ actions: better_auth_plugins69.Subset<"organization" | "member" | "invitation" | "ac" | "project" | "team", better_auth_plugins69.Statements>[key];
1133
1133
  connector: "OR" | "AND";
1134
- } | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins0.AuthorizeResponse;
1135
- statements: better_auth_plugins0.Subset<"organization" | "member" | "invitation" | "ac" | "project" | "team", better_auth_plugins0.Statements>;
1134
+ } | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins69.AuthorizeResponse;
1135
+ statements: better_auth_plugins69.Subset<"organization" | "member" | "invitation" | "ac" | "project" | "team", better_auth_plugins69.Statements>;
1136
1136
  };
1137
1137
  admin: {
1138
- authorize<K_1 extends "organization" | "member" | "invitation" | "ac" | "project" | "team">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins0.Subset<"organization" | "member" | "invitation" | "ac" | "project" | "team", better_auth_plugins0.Statements>[key] | {
1139
- actions: better_auth_plugins0.Subset<"organization" | "member" | "invitation" | "ac" | "project" | "team", better_auth_plugins0.Statements>[key];
1138
+ authorize<K_1 extends "organization" | "member" | "invitation" | "ac" | "project" | "team">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins69.Subset<"organization" | "member" | "invitation" | "ac" | "project" | "team", better_auth_plugins69.Statements>[key] | {
1139
+ actions: better_auth_plugins69.Subset<"organization" | "member" | "invitation" | "ac" | "project" | "team", better_auth_plugins69.Statements>[key];
1140
1140
  connector: "OR" | "AND";
1141
- } | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins0.AuthorizeResponse;
1142
- statements: better_auth_plugins0.Subset<"organization" | "member" | "invitation" | "ac" | "project" | "team", better_auth_plugins0.Statements>;
1141
+ } | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins69.AuthorizeResponse;
1142
+ statements: better_auth_plugins69.Subset<"organization" | "member" | "invitation" | "ac" | "project" | "team", better_auth_plugins69.Statements>;
1143
1143
  };
1144
1144
  owner: {
1145
- authorize<K_1 extends "organization" | "member" | "invitation" | "ac" | "project" | "team">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins0.Subset<"organization" | "member" | "invitation" | "ac" | "project" | "team", better_auth_plugins0.Statements>[key] | {
1146
- actions: better_auth_plugins0.Subset<"organization" | "member" | "invitation" | "ac" | "project" | "team", better_auth_plugins0.Statements>[key];
1145
+ authorize<K_1 extends "organization" | "member" | "invitation" | "ac" | "project" | "team">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins69.Subset<"organization" | "member" | "invitation" | "ac" | "project" | "team", better_auth_plugins69.Statements>[key] | {
1146
+ actions: better_auth_plugins69.Subset<"organization" | "member" | "invitation" | "ac" | "project" | "team", better_auth_plugins69.Statements>[key];
1147
1147
  connector: "OR" | "AND";
1148
- } | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins0.AuthorizeResponse;
1149
- statements: better_auth_plugins0.Subset<"organization" | "member" | "invitation" | "ac" | "project" | "team", better_auth_plugins0.Statements>;
1148
+ } | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins69.AuthorizeResponse;
1149
+ statements: better_auth_plugins69.Subset<"organization" | "member" | "invitation" | "ac" | "project" | "team", better_auth_plugins69.Statements>;
1150
1150
  };
1151
1151
  };
1152
1152
  creatorRole: "admin";
@@ -1157,10 +1157,10 @@ declare const auth: better_auth0.Auth<{
1157
1157
  id: string;
1158
1158
  role: string;
1159
1159
  email: string;
1160
- organization: better_auth_plugins0.Organization;
1161
- invitation: better_auth_plugins0.Invitation;
1162
- inviter: better_auth_plugins0.Member & {
1163
- user: better_auth0.User;
1160
+ organization: better_auth_plugins69.Organization;
1161
+ invitation: better_auth_plugins69.Invitation;
1162
+ inviter: better_auth_plugins69.Member & {
1163
+ user: better_auth79.User;
1164
1164
  };
1165
1165
  }): Promise<void>;
1166
1166
  schema: {
@@ -1180,28 +1180,28 @@ declare const auth: better_auth0.Auth<{
1180
1180
  user,
1181
1181
  organization: org
1182
1182
  }: {
1183
- invitation: better_auth_plugins0.Invitation & Record<string, any>;
1184
- member: better_auth_plugins0.Member & Record<string, any>;
1185
- user: better_auth0.User & Record<string, any>;
1186
- organization: better_auth_plugins0.Organization & Record<string, any>;
1183
+ invitation: better_auth_plugins69.Invitation & Record<string, any>;
1184
+ member: better_auth_plugins69.Member & Record<string, any>;
1185
+ user: better_auth79.User & Record<string, any>;
1186
+ organization: better_auth_plugins69.Organization & Record<string, any>;
1187
1187
  }) => Promise<void>;
1188
1188
  beforeUpdateMemberRole: ({
1189
1189
  member,
1190
1190
  organization: org,
1191
1191
  newRole
1192
1192
  }: {
1193
- member: better_auth_plugins0.Member & Record<string, any>;
1193
+ member: better_auth_plugins69.Member & Record<string, any>;
1194
1194
  newRole: string;
1195
- user: better_auth0.User & Record<string, any>;
1196
- organization: better_auth_plugins0.Organization & Record<string, any>;
1195
+ user: better_auth79.User & Record<string, any>;
1196
+ organization: better_auth_plugins69.Organization & Record<string, any>;
1197
1197
  }) => Promise<void>;
1198
1198
  afterRemoveMember: ({
1199
1199
  member,
1200
1200
  organization: org
1201
1201
  }: {
1202
- member: better_auth_plugins0.Member & Record<string, any>;
1203
- user: better_auth0.User & Record<string, any>;
1204
- organization: better_auth_plugins0.Organization & Record<string, any>;
1202
+ member: better_auth_plugins69.Member & Record<string, any>;
1203
+ user: better_auth79.User & Record<string, any>;
1204
+ organization: better_auth_plugins69.Organization & Record<string, any>;
1205
1205
  }) => Promise<void>;
1206
1206
  };
1207
1207
  }>;
@@ -1250,19 +1250,19 @@ declare const auth: better_auth0.Auth<{
1250
1250
  };
1251
1251
  };
1252
1252
  endpoints: {
1253
- deviceCode: better_auth0.StrictEndpoint<"/device/code", {
1253
+ deviceCode: better_auth79.StrictEndpoint<"/device/code", {
1254
1254
  method: "POST";
1255
- body: zod0.ZodObject<{
1256
- client_id: zod0.ZodString;
1257
- scope: zod0.ZodOptional<zod0.ZodString>;
1258
- }, better_auth0.$strip>;
1259
- error: zod0.ZodObject<{
1260
- error: zod0.ZodEnum<{
1255
+ body: zod205.ZodObject<{
1256
+ client_id: zod205.ZodString;
1257
+ scope: zod205.ZodOptional<zod205.ZodString>;
1258
+ }, better_auth79.$strip>;
1259
+ error: zod205.ZodObject<{
1260
+ error: zod205.ZodEnum<{
1261
1261
  invalid_request: "invalid_request";
1262
1262
  invalid_client: "invalid_client";
1263
1263
  }>;
1264
- error_description: zod0.ZodString;
1265
- }, better_auth0.$strip>;
1264
+ error_description: zod205.ZodString;
1265
+ }, better_auth79.$strip>;
1266
1266
  metadata: {
1267
1267
  openapi: {
1268
1268
  description: string;
@@ -1335,15 +1335,15 @@ declare const auth: better_auth0.Auth<{
1335
1335
  expires_in: number;
1336
1336
  interval: number;
1337
1337
  }>;
1338
- deviceToken: better_auth0.StrictEndpoint<"/device/token", {
1338
+ deviceToken: better_auth79.StrictEndpoint<"/device/token", {
1339
1339
  method: "POST";
1340
- body: zod0.ZodObject<{
1341
- grant_type: zod0.ZodLiteral<"urn:ietf:params:oauth:grant-type:device_code">;
1342
- device_code: zod0.ZodString;
1343
- client_id: zod0.ZodString;
1344
- }, better_auth0.$strip>;
1345
- error: zod0.ZodObject<{
1346
- error: zod0.ZodEnum<{
1340
+ body: zod205.ZodObject<{
1341
+ grant_type: zod205.ZodLiteral<"urn:ietf:params:oauth:grant-type:device_code">;
1342
+ device_code: zod205.ZodString;
1343
+ client_id: zod205.ZodString;
1344
+ }, better_auth79.$strip>;
1345
+ error: zod205.ZodObject<{
1346
+ error: zod205.ZodEnum<{
1347
1347
  invalid_request: "invalid_request";
1348
1348
  authorization_pending: "authorization_pending";
1349
1349
  slow_down: "slow_down";
@@ -1351,8 +1351,8 @@ declare const auth: better_auth0.Auth<{
1351
1351
  access_denied: "access_denied";
1352
1352
  invalid_grant: "invalid_grant";
1353
1353
  }>;
1354
- error_description: zod0.ZodString;
1355
- }, better_auth0.$strip>;
1354
+ error_description: zod205.ZodString;
1355
+ }, better_auth79.$strip>;
1356
1356
  metadata: {
1357
1357
  openapi: {
1358
1358
  description: string;
@@ -1403,17 +1403,17 @@ declare const auth: better_auth0.Auth<{
1403
1403
  expires_in: number;
1404
1404
  scope: string;
1405
1405
  }>;
1406
- deviceVerify: better_auth0.StrictEndpoint<"/device", {
1406
+ deviceVerify: better_auth79.StrictEndpoint<"/device", {
1407
1407
  method: "GET";
1408
- query: zod0.ZodObject<{
1409
- user_code: zod0.ZodString;
1410
- }, better_auth0.$strip>;
1411
- error: zod0.ZodObject<{
1412
- error: zod0.ZodEnum<{
1408
+ query: zod205.ZodObject<{
1409
+ user_code: zod205.ZodString;
1410
+ }, better_auth79.$strip>;
1411
+ error: zod205.ZodObject<{
1412
+ error: zod205.ZodEnum<{
1413
1413
  invalid_request: "invalid_request";
1414
1414
  }>;
1415
- error_description: zod0.ZodString;
1416
- }, better_auth0.$strip>;
1415
+ error_description: zod205.ZodString;
1416
+ }, better_auth79.$strip>;
1417
1417
  metadata: {
1418
1418
  openapi: {
1419
1419
  description: string;
@@ -1446,19 +1446,19 @@ declare const auth: better_auth0.Auth<{
1446
1446
  user_code: string;
1447
1447
  status: string;
1448
1448
  }>;
1449
- deviceApprove: better_auth0.StrictEndpoint<"/device/approve", {
1449
+ deviceApprove: better_auth79.StrictEndpoint<"/device/approve", {
1450
1450
  method: "POST";
1451
- body: zod0.ZodObject<{
1452
- userCode: zod0.ZodString;
1453
- }, better_auth0.$strip>;
1454
- error: zod0.ZodObject<{
1455
- error: zod0.ZodEnum<{
1451
+ body: zod205.ZodObject<{
1452
+ userCode: zod205.ZodString;
1453
+ }, better_auth79.$strip>;
1454
+ error: zod205.ZodObject<{
1455
+ error: zod205.ZodEnum<{
1456
1456
  invalid_request: "invalid_request";
1457
1457
  expired_token: "expired_token";
1458
1458
  device_code_already_processed: "device_code_already_processed";
1459
1459
  }>;
1460
- error_description: zod0.ZodString;
1461
- }, better_auth0.$strip>;
1460
+ error_description: zod205.ZodString;
1461
+ }, better_auth79.$strip>;
1462
1462
  requireHeaders: true;
1463
1463
  metadata: {
1464
1464
  openapi: {
@@ -1485,18 +1485,18 @@ declare const auth: better_auth0.Auth<{
1485
1485
  }, {
1486
1486
  success: boolean;
1487
1487
  }>;
1488
- deviceDeny: better_auth0.StrictEndpoint<"/device/deny", {
1488
+ deviceDeny: better_auth79.StrictEndpoint<"/device/deny", {
1489
1489
  method: "POST";
1490
- body: zod0.ZodObject<{
1491
- userCode: zod0.ZodString;
1492
- }, better_auth0.$strip>;
1493
- error: zod0.ZodObject<{
1494
- error: zod0.ZodEnum<{
1490
+ body: zod205.ZodObject<{
1491
+ userCode: zod205.ZodString;
1492
+ }, better_auth79.$strip>;
1493
+ error: zod205.ZodObject<{
1494
+ error: zod205.ZodEnum<{
1495
1495
  invalid_request: "invalid_request";
1496
1496
  expired_token: "expired_token";
1497
1497
  }>;
1498
- error_description: zod0.ZodString;
1499
- }, better_auth0.$strip>;
1498
+ error_description: zod205.ZodString;
1499
+ }, better_auth79.$strip>;
1500
1500
  metadata: {
1501
1501
  openapi: {
1502
1502
  description: string;
@@ -1538,8 +1538,8 @@ declare const auth: better_auth0.Auth<{
1538
1538
  readonly AUTHENTICATION_REQUIRED: "Authentication required";
1539
1539
  };
1540
1540
  options: Partial<{
1541
- expiresIn: better_auth_plugins0.TimeString;
1542
- interval: better_auth_plugins0.TimeString;
1541
+ expiresIn: better_auth_plugins69.TimeString;
1542
+ interval: better_auth_plugins69.TimeString;
1543
1543
  deviceCodeLength: number;
1544
1544
  userCodeLength: number;
1545
1545
  schema: {