@inkeep/agents-api 0.58.16 → 0.58.17

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 (38) hide show
  1. package/dist/.well-known/workflow/v1/manifest.json +30 -30
  2. package/dist/createApp.d.ts +2 -2
  3. package/dist/data/db/manageDbClient.d.ts +2 -2
  4. package/dist/data/db/runDbClient.d.ts +2 -2
  5. package/dist/data-reconciliation/handlers/agent.d.ts +2 -2
  6. package/dist/data-reconciliation/handlers/context-configs.d.ts +2 -2
  7. package/dist/data-reconciliation/handlers/scheduled-triggers.d.ts +2 -2
  8. package/dist/data-reconciliation/handlers/sub-agents.d.ts +2 -2
  9. package/dist/data-reconciliation/handlers/tools.d.ts +2 -2
  10. package/dist/domains/evals/routes/datasetTriggers.d.ts +2 -2
  11. package/dist/domains/evals/routes/index.d.ts +2 -2
  12. package/dist/domains/evals/workflow/routes.d.ts +2 -2
  13. package/dist/domains/manage/routes/availableAgents.d.ts +2 -2
  14. package/dist/domains/manage/routes/conversations.d.ts +2 -2
  15. package/dist/domains/manage/routes/index.d.ts +2 -2
  16. package/dist/domains/manage/routes/invitations.d.ts +2 -2
  17. package/dist/domains/manage/routes/passwordResetLinks.d.ts +2 -2
  18. package/dist/domains/manage/routes/signoz.d.ts +2 -2
  19. package/dist/domains/manage/routes/users.d.ts +2 -2
  20. package/dist/domains/mcp/routes/mcp.d.ts +2 -2
  21. package/dist/domains/run/agents/relationTools.d.ts +2 -2
  22. package/dist/domains/run/tools/distill-conversation-history-tool.d.ts +1 -1
  23. package/dist/domains/run/types/chat.d.ts +4 -4
  24. package/dist/domains/run/utils/token-estimator.d.ts +2 -2
  25. package/dist/domains/run/workflow/steps/scheduledTriggerSteps.d.ts +5 -5
  26. package/dist/env.d.ts +2 -2
  27. package/dist/factory.d.ts +323 -323
  28. package/dist/index.d.ts +322 -322
  29. package/dist/middleware/manageAuth.d.ts +3 -3
  30. package/dist/middleware/projectConfig.d.ts +3 -3
  31. package/dist/middleware/requirePermission.d.ts +2 -2
  32. package/dist/middleware/runAuth.d.ts +4 -4
  33. package/dist/middleware/sessionAuth.d.ts +3 -3
  34. package/dist/middleware/tenantAccess.d.ts +2 -2
  35. package/dist/middleware/tracing.d.ts +3 -3
  36. package/dist/utils/signozHelpers.d.ts +2 -3
  37. package/dist/utils/signozHelpers.js +14 -4
  38. package/package.json +5 -5
package/dist/index.d.ts CHANGED
@@ -6,17 +6,17 @@ import { createAuth0Provider, createOIDCProvider } from "./ssoHelpers.js";
6
6
  import { SSOProviderConfig, UserAuthConfig, createAgentsApp } from "./factory.js";
7
7
  import "./sentry.js";
8
8
  import { Hono } from "hono";
9
- import * as zod0 from "zod";
10
- import * as hono_types0 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";
9
+ import * as zod344 from "zod";
10
+ import * as hono_types3 from "hono/types";
11
+ import * as better_auth99 from "better-auth";
12
+ import * as better_auth_plugins35 from "better-auth/plugins";
13
+ import * as _better_auth_sso11 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_auth99.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_auth99.BetterAuthOptions) => better_auth99.DBAdapter<better_auth99.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_auth99.User;
33
33
  url: string;
34
34
  token: string;
35
35
  }) => Promise<void>;
@@ -82,7 +82,7 @@ declare const auth: better_auth0.Auth<{
82
82
  clientKey?: string | undefined;
83
83
  disableIdTokenSignIn?: boolean | undefined;
84
84
  verifyIdToken?: ((token: string, nonce?: string) => Promise<boolean>) | undefined;
85
- getUserInfo?: ((token: better_auth0.OAuth2Tokens) => Promise<{
85
+ getUserInfo?: ((token: better_auth99.OAuth2Tokens) => Promise<{
86
86
  user: {
87
87
  id: string;
88
88
  name?: string;
@@ -93,8 +93,8 @@ declare const auth: better_auth0.Auth<{
93
93
  };
94
94
  data: any;
95
95
  } | null>) | undefined;
96
- refreshAccessToken?: ((refreshToken: string) => Promise<better_auth0.OAuth2Tokens>) | undefined;
97
- mapProfileToUser?: ((profile: better_auth0.GoogleProfile) => {
96
+ refreshAccessToken?: ((refreshToken: string) => Promise<better_auth99.OAuth2Tokens>) | undefined;
97
+ mapProfileToUser?: ((profile: better_auth99.GoogleProfile) => {
98
98
  id?: string;
99
99
  name?: string;
100
100
  email?: string | null;
@@ -142,15 +142,15 @@ declare const auth: better_auth0.Auth<{
142
142
  cookies?: {
143
143
  [key: string]: {
144
144
  name?: string;
145
- attributes?: better_auth0.CookieOptions;
145
+ attributes?: better_auth99.CookieOptions;
146
146
  };
147
147
  } | undefined;
148
- defaultCookieAttributes: better_auth0.CookieOptions;
148
+ defaultCookieAttributes: better_auth99.CookieOptions;
149
149
  cookiePrefix?: string | undefined;
150
150
  database?: {
151
151
  defaultFindManyLimit?: number;
152
152
  useNumberId?: boolean;
153
- generateId?: better_auth0.GenerateIdFn | false | "serial" | "uuid";
153
+ generateId?: better_auth99.GenerateIdFn | false | "serial" | "uuid";
154
154
  } | undefined;
155
155
  trustedProxyHeaders?: boolean | undefined;
156
156
  backgroundTasks?: {
@@ -163,31 +163,31 @@ declare const auth: better_auth0.Auth<{
163
163
  id: "bearer";
164
164
  hooks: {
165
165
  before: {
166
- matcher(context: better_auth0.HookEndpointContext): boolean;
167
- handler: (inputContext: better_auth0.MiddlewareInputContext<better_auth0.MiddlewareOptions>) => Promise<{
166
+ matcher(context: better_auth99.HookEndpointContext): boolean;
167
+ handler: (inputContext: better_auth99.MiddlewareInputContext<better_auth99.MiddlewareOptions>) => Promise<{
168
168
  context: {
169
169
  headers: Headers;
170
170
  };
171
171
  } | undefined>;
172
172
  }[];
173
173
  after: {
174
- matcher(context: better_auth0.HookEndpointContext): true;
175
- handler: (inputContext: better_auth0.MiddlewareInputContext<better_auth0.MiddlewareOptions>) => Promise<void>;
174
+ matcher(context: better_auth99.HookEndpointContext): true;
175
+ handler: (inputContext: better_auth99.MiddlewareInputContext<better_auth99.MiddlewareOptions>) => Promise<void>;
176
176
  }[];
177
177
  };
178
- options: better_auth_plugins0.BearerOptions | undefined;
178
+ options: better_auth_plugins35.BearerOptions | undefined;
179
179
  }, {
180
180
  id: "sso";
181
181
  endpoints: {
182
- spMetadata: ReturnType<() => better_auth0.StrictEndpoint<"/sso/saml2/sp/metadata", {
182
+ spMetadata: ReturnType<() => better_auth99.StrictEndpoint<"/sso/saml2/sp/metadata", {
183
183
  method: "GET";
184
- query: zod0.ZodObject<{
185
- providerId: zod0.ZodString;
186
- format: zod0.ZodDefault<zod0.ZodEnum<{
184
+ query: zod344.ZodObject<{
185
+ providerId: zod344.ZodString;
186
+ format: zod344.ZodDefault<zod344.ZodEnum<{
187
187
  xml: "xml";
188
188
  json: "json";
189
189
  }>>;
190
- }, better_auth0.$strip>;
190
+ }, better_auth99.$strip>;
191
191
  metadata: {
192
192
  openapi: {
193
193
  operationId: string;
@@ -201,86 +201,86 @@ declare const auth: better_auth0.Auth<{
201
201
  };
202
202
  };
203
203
  }, Response>>;
204
- registerSSOProvider: better_auth0.StrictEndpoint<"/sso/register", {
204
+ registerSSOProvider: better_auth99.StrictEndpoint<"/sso/register", {
205
205
  method: "POST";
206
- body: zod0.ZodObject<{
207
- providerId: zod0.ZodString;
208
- issuer: zod0.ZodString;
209
- domain: zod0.ZodString;
210
- oidcConfig: zod0.ZodOptional<zod0.ZodObject<{
211
- clientId: zod0.ZodString;
212
- clientSecret: zod0.ZodString;
213
- authorizationEndpoint: zod0.ZodOptional<zod0.ZodString>;
214
- tokenEndpoint: zod0.ZodOptional<zod0.ZodString>;
215
- userInfoEndpoint: zod0.ZodOptional<zod0.ZodString>;
216
- tokenEndpointAuthentication: zod0.ZodOptional<zod0.ZodEnum<{
206
+ body: zod344.ZodObject<{
207
+ providerId: zod344.ZodString;
208
+ issuer: zod344.ZodString;
209
+ domain: zod344.ZodString;
210
+ oidcConfig: zod344.ZodOptional<zod344.ZodObject<{
211
+ clientId: zod344.ZodString;
212
+ clientSecret: zod344.ZodString;
213
+ authorizationEndpoint: zod344.ZodOptional<zod344.ZodString>;
214
+ tokenEndpoint: zod344.ZodOptional<zod344.ZodString>;
215
+ userInfoEndpoint: zod344.ZodOptional<zod344.ZodString>;
216
+ tokenEndpointAuthentication: zod344.ZodOptional<zod344.ZodEnum<{
217
217
  client_secret_post: "client_secret_post";
218
218
  client_secret_basic: "client_secret_basic";
219
219
  }>>;
220
- jwksEndpoint: zod0.ZodOptional<zod0.ZodString>;
221
- discoveryEndpoint: zod0.ZodOptional<zod0.ZodString>;
222
- skipDiscovery: zod0.ZodOptional<zod0.ZodBoolean>;
223
- scopes: zod0.ZodOptional<zod0.ZodArray<zod0.ZodString>>;
224
- pkce: zod0.ZodOptional<zod0.ZodDefault<zod0.ZodBoolean>>;
225
- mapping: zod0.ZodOptional<zod0.ZodObject<{
226
- id: zod0.ZodString;
227
- email: zod0.ZodString;
228
- emailVerified: zod0.ZodOptional<zod0.ZodString>;
229
- name: zod0.ZodString;
230
- image: zod0.ZodOptional<zod0.ZodString>;
231
- extraFields: zod0.ZodOptional<zod0.ZodRecord<zod0.ZodString, zod0.ZodAny>>;
232
- }, better_auth0.$strip>>;
233
- }, better_auth0.$strip>>;
234
- samlConfig: zod0.ZodOptional<zod0.ZodObject<{
235
- entryPoint: zod0.ZodString;
236
- cert: zod0.ZodString;
237
- callbackUrl: zod0.ZodString;
238
- audience: zod0.ZodOptional<zod0.ZodString>;
239
- idpMetadata: zod0.ZodOptional<zod0.ZodObject<{
240
- metadata: zod0.ZodOptional<zod0.ZodString>;
241
- entityID: zod0.ZodOptional<zod0.ZodString>;
242
- cert: zod0.ZodOptional<zod0.ZodString>;
243
- privateKey: zod0.ZodOptional<zod0.ZodString>;
244
- privateKeyPass: zod0.ZodOptional<zod0.ZodString>;
245
- isAssertionEncrypted: zod0.ZodOptional<zod0.ZodBoolean>;
246
- encPrivateKey: zod0.ZodOptional<zod0.ZodString>;
247
- encPrivateKeyPass: zod0.ZodOptional<zod0.ZodString>;
248
- singleSignOnService: zod0.ZodOptional<zod0.ZodArray<zod0.ZodObject<{
249
- Binding: zod0.ZodString;
250
- Location: zod0.ZodString;
251
- }, better_auth0.$strip>>>;
252
- }, better_auth0.$strip>>;
253
- spMetadata: zod0.ZodObject<{
254
- metadata: zod0.ZodOptional<zod0.ZodString>;
255
- entityID: zod0.ZodOptional<zod0.ZodString>;
256
- binding: zod0.ZodOptional<zod0.ZodString>;
257
- privateKey: zod0.ZodOptional<zod0.ZodString>;
258
- privateKeyPass: zod0.ZodOptional<zod0.ZodString>;
259
- isAssertionEncrypted: zod0.ZodOptional<zod0.ZodBoolean>;
260
- encPrivateKey: zod0.ZodOptional<zod0.ZodString>;
261
- encPrivateKeyPass: zod0.ZodOptional<zod0.ZodString>;
262
- }, better_auth0.$strip>;
263
- wantAssertionsSigned: zod0.ZodOptional<zod0.ZodBoolean>;
264
- signatureAlgorithm: zod0.ZodOptional<zod0.ZodString>;
265
- digestAlgorithm: zod0.ZodOptional<zod0.ZodString>;
266
- identifierFormat: zod0.ZodOptional<zod0.ZodString>;
267
- privateKey: zod0.ZodOptional<zod0.ZodString>;
268
- decryptionPvk: zod0.ZodOptional<zod0.ZodString>;
269
- additionalParams: zod0.ZodOptional<zod0.ZodRecord<zod0.ZodString, zod0.ZodAny>>;
270
- mapping: zod0.ZodOptional<zod0.ZodObject<{
271
- id: zod0.ZodString;
272
- email: zod0.ZodString;
273
- emailVerified: zod0.ZodOptional<zod0.ZodString>;
274
- name: zod0.ZodString;
275
- firstName: zod0.ZodOptional<zod0.ZodString>;
276
- lastName: zod0.ZodOptional<zod0.ZodString>;
277
- extraFields: zod0.ZodOptional<zod0.ZodRecord<zod0.ZodString, zod0.ZodAny>>;
278
- }, better_auth0.$strip>>;
279
- }, better_auth0.$strip>>;
280
- organizationId: zod0.ZodOptional<zod0.ZodString>;
281
- overrideUserInfo: zod0.ZodOptional<zod0.ZodDefault<zod0.ZodBoolean>>;
282
- }, better_auth0.$strip>;
283
- use: ((inputContext: better_auth0.MiddlewareInputContext<better_auth0.MiddlewareOptions>) => Promise<{
220
+ jwksEndpoint: zod344.ZodOptional<zod344.ZodString>;
221
+ discoveryEndpoint: zod344.ZodOptional<zod344.ZodString>;
222
+ skipDiscovery: zod344.ZodOptional<zod344.ZodBoolean>;
223
+ scopes: zod344.ZodOptional<zod344.ZodArray<zod344.ZodString>>;
224
+ pkce: zod344.ZodOptional<zod344.ZodDefault<zod344.ZodBoolean>>;
225
+ mapping: zod344.ZodOptional<zod344.ZodObject<{
226
+ id: zod344.ZodString;
227
+ email: zod344.ZodString;
228
+ emailVerified: zod344.ZodOptional<zod344.ZodString>;
229
+ name: zod344.ZodString;
230
+ image: zod344.ZodOptional<zod344.ZodString>;
231
+ extraFields: zod344.ZodOptional<zod344.ZodRecord<zod344.ZodString, zod344.ZodAny>>;
232
+ }, better_auth99.$strip>>;
233
+ }, better_auth99.$strip>>;
234
+ samlConfig: zod344.ZodOptional<zod344.ZodObject<{
235
+ entryPoint: zod344.ZodString;
236
+ cert: zod344.ZodString;
237
+ callbackUrl: zod344.ZodString;
238
+ audience: zod344.ZodOptional<zod344.ZodString>;
239
+ idpMetadata: zod344.ZodOptional<zod344.ZodObject<{
240
+ metadata: zod344.ZodOptional<zod344.ZodString>;
241
+ entityID: zod344.ZodOptional<zod344.ZodString>;
242
+ cert: zod344.ZodOptional<zod344.ZodString>;
243
+ privateKey: zod344.ZodOptional<zod344.ZodString>;
244
+ privateKeyPass: zod344.ZodOptional<zod344.ZodString>;
245
+ isAssertionEncrypted: zod344.ZodOptional<zod344.ZodBoolean>;
246
+ encPrivateKey: zod344.ZodOptional<zod344.ZodString>;
247
+ encPrivateKeyPass: zod344.ZodOptional<zod344.ZodString>;
248
+ singleSignOnService: zod344.ZodOptional<zod344.ZodArray<zod344.ZodObject<{
249
+ Binding: zod344.ZodString;
250
+ Location: zod344.ZodString;
251
+ }, better_auth99.$strip>>>;
252
+ }, better_auth99.$strip>>;
253
+ spMetadata: zod344.ZodObject<{
254
+ metadata: zod344.ZodOptional<zod344.ZodString>;
255
+ entityID: zod344.ZodOptional<zod344.ZodString>;
256
+ binding: zod344.ZodOptional<zod344.ZodString>;
257
+ privateKey: zod344.ZodOptional<zod344.ZodString>;
258
+ privateKeyPass: zod344.ZodOptional<zod344.ZodString>;
259
+ isAssertionEncrypted: zod344.ZodOptional<zod344.ZodBoolean>;
260
+ encPrivateKey: zod344.ZodOptional<zod344.ZodString>;
261
+ encPrivateKeyPass: zod344.ZodOptional<zod344.ZodString>;
262
+ }, better_auth99.$strip>;
263
+ wantAssertionsSigned: zod344.ZodOptional<zod344.ZodBoolean>;
264
+ signatureAlgorithm: zod344.ZodOptional<zod344.ZodString>;
265
+ digestAlgorithm: zod344.ZodOptional<zod344.ZodString>;
266
+ identifierFormat: zod344.ZodOptional<zod344.ZodString>;
267
+ privateKey: zod344.ZodOptional<zod344.ZodString>;
268
+ decryptionPvk: zod344.ZodOptional<zod344.ZodString>;
269
+ additionalParams: zod344.ZodOptional<zod344.ZodRecord<zod344.ZodString, zod344.ZodAny>>;
270
+ mapping: zod344.ZodOptional<zod344.ZodObject<{
271
+ id: zod344.ZodString;
272
+ email: zod344.ZodString;
273
+ emailVerified: zod344.ZodOptional<zod344.ZodString>;
274
+ name: zod344.ZodString;
275
+ firstName: zod344.ZodOptional<zod344.ZodString>;
276
+ lastName: zod344.ZodOptional<zod344.ZodString>;
277
+ extraFields: zod344.ZodOptional<zod344.ZodRecord<zod344.ZodString, zod344.ZodAny>>;
278
+ }, better_auth99.$strip>>;
279
+ }, better_auth99.$strip>>;
280
+ organizationId: zod344.ZodOptional<zod344.ZodString>;
281
+ overrideUserInfo: zod344.ZodOptional<zod344.ZodDefault<zod344.ZodBoolean>>;
282
+ }, better_auth99.$strip>;
283
+ use: ((inputContext: better_auth99.MiddlewareInputContext<better_auth99.MiddlewareOptions>) => Promise<{
284
284
  session: {
285
285
  session: Record<string, any> & {
286
286
  id: string;
@@ -466,35 +466,35 @@ declare const auth: better_auth0.Auth<{
466
466
  };
467
467
  }, {
468
468
  redirectURI: string;
469
- oidcConfig: _better_auth_sso0.OIDCConfig | null;
470
- samlConfig: _better_auth_sso0.SAMLConfig | null;
469
+ oidcConfig: _better_auth_sso11.OIDCConfig | null;
470
+ samlConfig: _better_auth_sso11.SAMLConfig | null;
471
471
  } & Omit<{
472
472
  issuer: string;
473
- oidcConfig?: _better_auth_sso0.OIDCConfig | undefined;
474
- samlConfig?: _better_auth_sso0.SAMLConfig | undefined;
473
+ oidcConfig?: _better_auth_sso11.OIDCConfig | undefined;
474
+ samlConfig?: _better_auth_sso11.SAMLConfig | undefined;
475
475
  userId: string;
476
476
  providerId: string;
477
477
  organizationId?: string | undefined;
478
478
  domain: string;
479
479
  }, "oidcConfig" | "samlConfig">>;
480
- signInSSO: ReturnType<(options?: _better_auth_sso0.SSOOptions) => better_auth0.StrictEndpoint<"/sign-in/sso", {
480
+ signInSSO: ReturnType<(options?: _better_auth_sso11.SSOOptions) => better_auth99.StrictEndpoint<"/sign-in/sso", {
481
481
  method: "POST";
482
- body: zod0.ZodObject<{
483
- email: zod0.ZodOptional<zod0.ZodString>;
484
- organizationSlug: zod0.ZodOptional<zod0.ZodString>;
485
- providerId: zod0.ZodOptional<zod0.ZodString>;
486
- domain: zod0.ZodOptional<zod0.ZodString>;
487
- callbackURL: zod0.ZodString;
488
- errorCallbackURL: zod0.ZodOptional<zod0.ZodString>;
489
- newUserCallbackURL: zod0.ZodOptional<zod0.ZodString>;
490
- scopes: zod0.ZodOptional<zod0.ZodArray<zod0.ZodString>>;
491
- loginHint: zod0.ZodOptional<zod0.ZodString>;
492
- requestSignUp: zod0.ZodOptional<zod0.ZodBoolean>;
493
- providerType: zod0.ZodOptional<zod0.ZodEnum<{
482
+ body: zod344.ZodObject<{
483
+ email: zod344.ZodOptional<zod344.ZodString>;
484
+ organizationSlug: zod344.ZodOptional<zod344.ZodString>;
485
+ providerId: zod344.ZodOptional<zod344.ZodString>;
486
+ domain: zod344.ZodOptional<zod344.ZodString>;
487
+ callbackURL: zod344.ZodString;
488
+ errorCallbackURL: zod344.ZodOptional<zod344.ZodString>;
489
+ newUserCallbackURL: zod344.ZodOptional<zod344.ZodString>;
490
+ scopes: zod344.ZodOptional<zod344.ZodArray<zod344.ZodString>>;
491
+ loginHint: zod344.ZodOptional<zod344.ZodString>;
492
+ requestSignUp: zod344.ZodOptional<zod344.ZodBoolean>;
493
+ providerType: zod344.ZodOptional<zod344.ZodEnum<{
494
494
  saml: "saml";
495
495
  oidc: "oidc";
496
496
  }>>;
497
- }, better_auth0.$strip>;
497
+ }, better_auth99.$strip>;
498
498
  metadata: {
499
499
  openapi: {
500
500
  operationId: string;
@@ -571,14 +571,14 @@ declare const auth: better_auth0.Auth<{
571
571
  url: string;
572
572
  redirect: boolean;
573
573
  }>>;
574
- callbackSSO: ReturnType<(options?: _better_auth_sso0.SSOOptions) => better_auth0.StrictEndpoint<"/sso/callback/:providerId", {
574
+ callbackSSO: ReturnType<(options?: _better_auth_sso11.SSOOptions) => better_auth99.StrictEndpoint<"/sso/callback/:providerId", {
575
575
  method: "GET";
576
- query: zod0.ZodObject<{
577
- code: zod0.ZodOptional<zod0.ZodString>;
578
- state: zod0.ZodString;
579
- error: zod0.ZodOptional<zod0.ZodString>;
580
- error_description: zod0.ZodOptional<zod0.ZodString>;
581
- }, better_auth0.$strip>;
576
+ query: zod344.ZodObject<{
577
+ code: zod344.ZodOptional<zod344.ZodString>;
578
+ state: zod344.ZodString;
579
+ error: zod344.ZodOptional<zod344.ZodString>;
580
+ error_description: zod344.ZodOptional<zod344.ZodString>;
581
+ }, better_auth99.$strip>;
582
582
  allowedMediaTypes: string[];
583
583
  metadata: {
584
584
  openapi: {
@@ -594,15 +594,15 @@ declare const auth: better_auth0.Auth<{
594
594
  scope: "server";
595
595
  };
596
596
  }, never>>;
597
- callbackSSOSAML: ReturnType<(options?: _better_auth_sso0.SSOOptions) => better_auth0.StrictEndpoint<"/sso/saml2/callback/:providerId", {
597
+ callbackSSOSAML: ReturnType<(options?: _better_auth_sso11.SSOOptions) => better_auth99.StrictEndpoint<"/sso/saml2/callback/:providerId", {
598
598
  method: ("POST" | "GET")[];
599
- body: zod0.ZodOptional<zod0.ZodObject<{
600
- SAMLResponse: zod0.ZodString;
601
- RelayState: zod0.ZodOptional<zod0.ZodString>;
602
- }, better_auth0.$strip>>;
603
- query: zod0.ZodOptional<zod0.ZodObject<{
604
- RelayState: zod0.ZodOptional<zod0.ZodString>;
605
- }, better_auth0.$strip>>;
599
+ body: zod344.ZodOptional<zod344.ZodObject<{
600
+ SAMLResponse: zod344.ZodString;
601
+ RelayState: zod344.ZodOptional<zod344.ZodString>;
602
+ }, better_auth99.$strip>>;
603
+ query: zod344.ZodOptional<zod344.ZodObject<{
604
+ RelayState: zod344.ZodOptional<zod344.ZodString>;
605
+ }, better_auth99.$strip>>;
606
606
  metadata: {
607
607
  allowedMediaTypes: string[];
608
608
  openapi: {
@@ -624,12 +624,12 @@ declare const auth: better_auth0.Auth<{
624
624
  scope: "server";
625
625
  };
626
626
  }, never>>;
627
- acsEndpoint: ReturnType<(options?: _better_auth_sso0.SSOOptions) => better_auth0.StrictEndpoint<"/sso/saml2/sp/acs/:providerId", {
627
+ acsEndpoint: ReturnType<(options?: _better_auth_sso11.SSOOptions) => better_auth99.StrictEndpoint<"/sso/saml2/sp/acs/:providerId", {
628
628
  method: "POST";
629
- body: zod0.ZodObject<{
630
- SAMLResponse: zod0.ZodString;
631
- RelayState: zod0.ZodOptional<zod0.ZodString>;
632
- }, better_auth0.$strip>;
629
+ body: zod344.ZodObject<{
630
+ SAMLResponse: zod344.ZodString;
631
+ RelayState: zod344.ZodOptional<zod344.ZodString>;
632
+ }, better_auth99.$strip>;
633
633
  metadata: {
634
634
  allowedMediaTypes: string[];
635
635
  openapi: {
@@ -645,9 +645,9 @@ declare const auth: better_auth0.Auth<{
645
645
  scope: "server";
646
646
  };
647
647
  }, never>>;
648
- listSSOProviders: ReturnType<() => better_auth0.StrictEndpoint<"/sso/providers", {
648
+ listSSOProviders: ReturnType<() => better_auth99.StrictEndpoint<"/sso/providers", {
649
649
  method: "GET";
650
- use: ((inputContext: better_auth0.MiddlewareInputContext<better_auth0.MiddlewareOptions>) => Promise<{
650
+ use: ((inputContext: better_auth99.MiddlewareInputContext<better_auth99.MiddlewareOptions>) => Promise<{
651
651
  session: {
652
652
  session: Record<string, any> & {
653
653
  id: string;
@@ -721,9 +721,9 @@ declare const auth: better_auth0.Auth<{
721
721
  spMetadataUrl: string;
722
722
  }[];
723
723
  }>>;
724
- getSSOProvider: ReturnType<() => better_auth0.StrictEndpoint<"/sso/providers/:providerId", {
724
+ getSSOProvider: ReturnType<() => better_auth99.StrictEndpoint<"/sso/providers/:providerId", {
725
725
  method: "GET";
726
- use: ((inputContext: better_auth0.MiddlewareInputContext<better_auth0.MiddlewareOptions>) => Promise<{
726
+ use: ((inputContext: better_auth99.MiddlewareInputContext<better_auth99.MiddlewareOptions>) => Promise<{
727
727
  session: {
728
728
  session: Record<string, any> & {
729
729
  id: string;
@@ -746,9 +746,9 @@ declare const auth: better_auth0.Auth<{
746
746
  };
747
747
  };
748
748
  }>)[];
749
- params: zod0.ZodObject<{
750
- providerId: zod0.ZodString;
751
- }, better_auth0.$strip>;
749
+ params: zod344.ZodObject<{
750
+ providerId: zod344.ZodString;
751
+ }, better_auth99.$strip>;
752
752
  metadata: {
753
753
  openapi: {
754
754
  operationId: string;
@@ -804,9 +804,9 @@ declare const auth: better_auth0.Auth<{
804
804
  } | undefined;
805
805
  spMetadataUrl: string;
806
806
  }>>;
807
- updateSSOProvider: ReturnType<(options: _better_auth_sso0.SSOOptions) => better_auth0.StrictEndpoint<"/sso/providers/:providerId", {
807
+ updateSSOProvider: ReturnType<(options: _better_auth_sso11.SSOOptions) => better_auth99.StrictEndpoint<"/sso/providers/:providerId", {
808
808
  method: "PATCH";
809
- use: ((inputContext: better_auth0.MiddlewareInputContext<better_auth0.MiddlewareOptions>) => Promise<{
809
+ use: ((inputContext: better_auth99.MiddlewareInputContext<better_auth99.MiddlewareOptions>) => Promise<{
810
810
  session: {
811
811
  session: Record<string, any> & {
812
812
  id: string;
@@ -829,83 +829,83 @@ declare const auth: better_auth0.Auth<{
829
829
  };
830
830
  };
831
831
  }>)[];
832
- params: zod0.ZodObject<{
833
- providerId: zod0.ZodString;
834
- }, better_auth0.$strip>;
835
- body: zod0.ZodObject<{
836
- issuer: zod0.ZodOptional<zod0.ZodString>;
837
- domain: zod0.ZodOptional<zod0.ZodString>;
838
- oidcConfig: zod0.ZodOptional<zod0.ZodObject<{
839
- clientId: zod0.ZodOptional<zod0.ZodString>;
840
- clientSecret: zod0.ZodOptional<zod0.ZodString>;
841
- authorizationEndpoint: zod0.ZodOptional<zod0.ZodString>;
842
- tokenEndpoint: zod0.ZodOptional<zod0.ZodString>;
843
- userInfoEndpoint: zod0.ZodOptional<zod0.ZodString>;
844
- tokenEndpointAuthentication: zod0.ZodOptional<zod0.ZodEnum<{
832
+ params: zod344.ZodObject<{
833
+ providerId: zod344.ZodString;
834
+ }, better_auth99.$strip>;
835
+ body: zod344.ZodObject<{
836
+ issuer: zod344.ZodOptional<zod344.ZodString>;
837
+ domain: zod344.ZodOptional<zod344.ZodString>;
838
+ oidcConfig: zod344.ZodOptional<zod344.ZodObject<{
839
+ clientId: zod344.ZodOptional<zod344.ZodString>;
840
+ clientSecret: zod344.ZodOptional<zod344.ZodString>;
841
+ authorizationEndpoint: zod344.ZodOptional<zod344.ZodString>;
842
+ tokenEndpoint: zod344.ZodOptional<zod344.ZodString>;
843
+ userInfoEndpoint: zod344.ZodOptional<zod344.ZodString>;
844
+ tokenEndpointAuthentication: zod344.ZodOptional<zod344.ZodEnum<{
845
845
  client_secret_post: "client_secret_post";
846
846
  client_secret_basic: "client_secret_basic";
847
847
  }>>;
848
- jwksEndpoint: zod0.ZodOptional<zod0.ZodString>;
849
- discoveryEndpoint: zod0.ZodOptional<zod0.ZodString>;
850
- scopes: zod0.ZodOptional<zod0.ZodArray<zod0.ZodString>>;
851
- pkce: zod0.ZodOptional<zod0.ZodBoolean>;
852
- overrideUserInfo: zod0.ZodOptional<zod0.ZodBoolean>;
853
- mapping: zod0.ZodOptional<zod0.ZodObject<{
854
- id: zod0.ZodOptional<zod0.ZodString>;
855
- email: zod0.ZodOptional<zod0.ZodString>;
856
- emailVerified: zod0.ZodOptional<zod0.ZodString>;
857
- name: zod0.ZodOptional<zod0.ZodString>;
858
- image: zod0.ZodOptional<zod0.ZodString>;
859
- extraFields: zod0.ZodOptional<zod0.ZodRecord<zod0.ZodString, zod0.ZodAny>>;
860
- }, better_auth0.$strip>>;
861
- }, better_auth0.$strip>>;
862
- samlConfig: zod0.ZodOptional<zod0.ZodObject<{
863
- entryPoint: zod0.ZodOptional<zod0.ZodString>;
864
- cert: zod0.ZodOptional<zod0.ZodString>;
865
- callbackUrl: zod0.ZodOptional<zod0.ZodString>;
866
- audience: zod0.ZodOptional<zod0.ZodString>;
867
- idpMetadata: zod0.ZodOptional<zod0.ZodObject<{
868
- metadata: zod0.ZodOptional<zod0.ZodString>;
869
- entityID: zod0.ZodOptional<zod0.ZodString>;
870
- cert: zod0.ZodOptional<zod0.ZodString>;
871
- privateKey: zod0.ZodOptional<zod0.ZodString>;
872
- privateKeyPass: zod0.ZodOptional<zod0.ZodString>;
873
- isAssertionEncrypted: zod0.ZodOptional<zod0.ZodBoolean>;
874
- encPrivateKey: zod0.ZodOptional<zod0.ZodString>;
875
- encPrivateKeyPass: zod0.ZodOptional<zod0.ZodString>;
876
- singleSignOnService: zod0.ZodOptional<zod0.ZodArray<zod0.ZodObject<{
877
- Binding: zod0.ZodString;
878
- Location: zod0.ZodString;
879
- }, better_auth0.$strip>>>;
880
- }, better_auth0.$strip>>;
881
- spMetadata: zod0.ZodOptional<zod0.ZodObject<{
882
- metadata: zod0.ZodOptional<zod0.ZodString>;
883
- entityID: zod0.ZodOptional<zod0.ZodString>;
884
- binding: zod0.ZodOptional<zod0.ZodString>;
885
- privateKey: zod0.ZodOptional<zod0.ZodString>;
886
- privateKeyPass: zod0.ZodOptional<zod0.ZodString>;
887
- isAssertionEncrypted: zod0.ZodOptional<zod0.ZodBoolean>;
888
- encPrivateKey: zod0.ZodOptional<zod0.ZodString>;
889
- encPrivateKeyPass: zod0.ZodOptional<zod0.ZodString>;
890
- }, better_auth0.$strip>>;
891
- wantAssertionsSigned: zod0.ZodOptional<zod0.ZodBoolean>;
892
- signatureAlgorithm: zod0.ZodOptional<zod0.ZodString>;
893
- digestAlgorithm: zod0.ZodOptional<zod0.ZodString>;
894
- identifierFormat: zod0.ZodOptional<zod0.ZodString>;
895
- privateKey: zod0.ZodOptional<zod0.ZodString>;
896
- decryptionPvk: zod0.ZodOptional<zod0.ZodString>;
897
- additionalParams: zod0.ZodOptional<zod0.ZodRecord<zod0.ZodString, zod0.ZodAny>>;
898
- mapping: zod0.ZodOptional<zod0.ZodObject<{
899
- id: zod0.ZodOptional<zod0.ZodString>;
900
- email: zod0.ZodOptional<zod0.ZodString>;
901
- emailVerified: zod0.ZodOptional<zod0.ZodString>;
902
- name: zod0.ZodOptional<zod0.ZodString>;
903
- firstName: zod0.ZodOptional<zod0.ZodString>;
904
- lastName: zod0.ZodOptional<zod0.ZodString>;
905
- extraFields: zod0.ZodOptional<zod0.ZodRecord<zod0.ZodString, zod0.ZodAny>>;
906
- }, better_auth0.$strip>>;
907
- }, better_auth0.$strip>>;
908
- }, better_auth0.$strip>;
848
+ jwksEndpoint: zod344.ZodOptional<zod344.ZodString>;
849
+ discoveryEndpoint: zod344.ZodOptional<zod344.ZodString>;
850
+ scopes: zod344.ZodOptional<zod344.ZodArray<zod344.ZodString>>;
851
+ pkce: zod344.ZodOptional<zod344.ZodBoolean>;
852
+ overrideUserInfo: zod344.ZodOptional<zod344.ZodBoolean>;
853
+ mapping: zod344.ZodOptional<zod344.ZodObject<{
854
+ id: zod344.ZodOptional<zod344.ZodString>;
855
+ email: zod344.ZodOptional<zod344.ZodString>;
856
+ emailVerified: zod344.ZodOptional<zod344.ZodString>;
857
+ name: zod344.ZodOptional<zod344.ZodString>;
858
+ image: zod344.ZodOptional<zod344.ZodString>;
859
+ extraFields: zod344.ZodOptional<zod344.ZodRecord<zod344.ZodString, zod344.ZodAny>>;
860
+ }, better_auth99.$strip>>;
861
+ }, better_auth99.$strip>>;
862
+ samlConfig: zod344.ZodOptional<zod344.ZodObject<{
863
+ entryPoint: zod344.ZodOptional<zod344.ZodString>;
864
+ cert: zod344.ZodOptional<zod344.ZodString>;
865
+ callbackUrl: zod344.ZodOptional<zod344.ZodString>;
866
+ audience: zod344.ZodOptional<zod344.ZodString>;
867
+ idpMetadata: zod344.ZodOptional<zod344.ZodObject<{
868
+ metadata: zod344.ZodOptional<zod344.ZodString>;
869
+ entityID: zod344.ZodOptional<zod344.ZodString>;
870
+ cert: zod344.ZodOptional<zod344.ZodString>;
871
+ privateKey: zod344.ZodOptional<zod344.ZodString>;
872
+ privateKeyPass: zod344.ZodOptional<zod344.ZodString>;
873
+ isAssertionEncrypted: zod344.ZodOptional<zod344.ZodBoolean>;
874
+ encPrivateKey: zod344.ZodOptional<zod344.ZodString>;
875
+ encPrivateKeyPass: zod344.ZodOptional<zod344.ZodString>;
876
+ singleSignOnService: zod344.ZodOptional<zod344.ZodArray<zod344.ZodObject<{
877
+ Binding: zod344.ZodString;
878
+ Location: zod344.ZodString;
879
+ }, better_auth99.$strip>>>;
880
+ }, better_auth99.$strip>>;
881
+ spMetadata: zod344.ZodOptional<zod344.ZodObject<{
882
+ metadata: zod344.ZodOptional<zod344.ZodString>;
883
+ entityID: zod344.ZodOptional<zod344.ZodString>;
884
+ binding: zod344.ZodOptional<zod344.ZodString>;
885
+ privateKey: zod344.ZodOptional<zod344.ZodString>;
886
+ privateKeyPass: zod344.ZodOptional<zod344.ZodString>;
887
+ isAssertionEncrypted: zod344.ZodOptional<zod344.ZodBoolean>;
888
+ encPrivateKey: zod344.ZodOptional<zod344.ZodString>;
889
+ encPrivateKeyPass: zod344.ZodOptional<zod344.ZodString>;
890
+ }, better_auth99.$strip>>;
891
+ wantAssertionsSigned: zod344.ZodOptional<zod344.ZodBoolean>;
892
+ signatureAlgorithm: zod344.ZodOptional<zod344.ZodString>;
893
+ digestAlgorithm: zod344.ZodOptional<zod344.ZodString>;
894
+ identifierFormat: zod344.ZodOptional<zod344.ZodString>;
895
+ privateKey: zod344.ZodOptional<zod344.ZodString>;
896
+ decryptionPvk: zod344.ZodOptional<zod344.ZodString>;
897
+ additionalParams: zod344.ZodOptional<zod344.ZodRecord<zod344.ZodString, zod344.ZodAny>>;
898
+ mapping: zod344.ZodOptional<zod344.ZodObject<{
899
+ id: zod344.ZodOptional<zod344.ZodString>;
900
+ email: zod344.ZodOptional<zod344.ZodString>;
901
+ emailVerified: zod344.ZodOptional<zod344.ZodString>;
902
+ name: zod344.ZodOptional<zod344.ZodString>;
903
+ firstName: zod344.ZodOptional<zod344.ZodString>;
904
+ lastName: zod344.ZodOptional<zod344.ZodString>;
905
+ extraFields: zod344.ZodOptional<zod344.ZodRecord<zod344.ZodString, zod344.ZodAny>>;
906
+ }, better_auth99.$strip>>;
907
+ }, better_auth99.$strip>>;
908
+ }, better_auth99.$strip>;
909
909
  metadata: {
910
910
  openapi: {
911
911
  operationId: string;
@@ -961,9 +961,9 @@ declare const auth: better_auth0.Auth<{
961
961
  } | undefined;
962
962
  spMetadataUrl: string;
963
963
  }>>;
964
- deleteSSOProvider: ReturnType<() => better_auth0.StrictEndpoint<"/sso/providers/:providerId", {
964
+ deleteSSOProvider: ReturnType<() => better_auth99.StrictEndpoint<"/sso/providers/:providerId", {
965
965
  method: "DELETE";
966
- use: ((inputContext: better_auth0.MiddlewareInputContext<better_auth0.MiddlewareOptions>) => Promise<{
966
+ use: ((inputContext: better_auth99.MiddlewareInputContext<better_auth99.MiddlewareOptions>) => Promise<{
967
967
  session: {
968
968
  session: Record<string, any> & {
969
969
  id: string;
@@ -986,9 +986,9 @@ declare const auth: better_auth0.Auth<{
986
986
  };
987
987
  };
988
988
  }>)[];
989
- params: zod0.ZodObject<{
990
- providerId: zod0.ZodString;
991
- }, better_auth0.$strip>;
989
+ params: zod344.ZodObject<{
990
+ providerId: zod344.ZodString;
991
+ }, better_auth99.$strip>;
992
992
  metadata: {
993
993
  openapi: {
994
994
  operationId: string;
@@ -1011,11 +1011,11 @@ declare const auth: better_auth0.Auth<{
1011
1011
  success: boolean;
1012
1012
  }>>;
1013
1013
  } & {
1014
- requestDomainVerification: ReturnType<(options: _better_auth_sso0.SSOOptions) => better_auth0.StrictEndpoint<"/sso/request-domain-verification", {
1014
+ requestDomainVerification: ReturnType<(options: _better_auth_sso11.SSOOptions) => better_auth99.StrictEndpoint<"/sso/request-domain-verification", {
1015
1015
  method: "POST";
1016
- body: zod0.ZodObject<{
1017
- providerId: zod0.ZodString;
1018
- }, better_auth0.$strip>;
1016
+ body: zod344.ZodObject<{
1017
+ providerId: zod344.ZodString;
1018
+ }, better_auth99.$strip>;
1019
1019
  metadata: {
1020
1020
  openapi: {
1021
1021
  summary: string;
@@ -1033,7 +1033,7 @@ declare const auth: better_auth0.Auth<{
1033
1033
  };
1034
1034
  };
1035
1035
  };
1036
- use: ((inputContext: better_auth0.MiddlewareInputContext<better_auth0.MiddlewareOptions>) => Promise<{
1036
+ use: ((inputContext: better_auth99.MiddlewareInputContext<better_auth99.MiddlewareOptions>) => Promise<{
1037
1037
  session: {
1038
1038
  session: Record<string, any> & {
1039
1039
  id: string;
@@ -1059,11 +1059,11 @@ declare const auth: better_auth0.Auth<{
1059
1059
  }, {
1060
1060
  domainVerificationToken: string;
1061
1061
  }>>;
1062
- verifyDomain: ReturnType<(options: _better_auth_sso0.SSOOptions) => better_auth0.StrictEndpoint<"/sso/verify-domain", {
1062
+ verifyDomain: ReturnType<(options: _better_auth_sso11.SSOOptions) => better_auth99.StrictEndpoint<"/sso/verify-domain", {
1063
1063
  method: "POST";
1064
- body: zod0.ZodObject<{
1065
- providerId: zod0.ZodString;
1066
- }, better_auth0.$strip>;
1064
+ body: zod344.ZodObject<{
1065
+ providerId: zod344.ZodString;
1066
+ }, better_auth99.$strip>;
1067
1067
  metadata: {
1068
1068
  openapi: {
1069
1069
  summary: string;
@@ -1084,7 +1084,7 @@ declare const auth: better_auth0.Auth<{
1084
1084
  };
1085
1085
  };
1086
1086
  };
1087
- use: ((inputContext: better_auth0.MiddlewareInputContext<better_auth0.MiddlewareOptions>) => Promise<{
1087
+ use: ((inputContext: better_auth99.MiddlewareInputContext<better_auth99.MiddlewareOptions>) => Promise<{
1088
1088
  session: {
1089
1089
  session: Record<string, any> & {
1090
1090
  id: string;
@@ -1109,8 +1109,8 @@ declare const auth: better_auth0.Auth<{
1109
1109
  }>)[];
1110
1110
  }, void>>;
1111
1111
  };
1112
- schema: NonNullable<better_auth0.BetterAuthPlugin["schema"]>;
1113
- options: _better_auth_sso0.SSOOptions & {
1112
+ schema: NonNullable<better_auth99.BetterAuthPlugin["schema"]>;
1113
+ options: _better_auth_sso11.SSOOptions & {
1114
1114
  domainVerification?: {
1115
1115
  enabled: true;
1116
1116
  };
@@ -1121,14 +1121,14 @@ declare const auth: better_auth0.Auth<{
1121
1121
  productionURL: string;
1122
1122
  }>;
1123
1123
  endpoints: {
1124
- oAuthProxy: better_auth0.StrictEndpoint<"/oauth-proxy-callback", {
1124
+ oAuthProxy: better_auth99.StrictEndpoint<"/oauth-proxy-callback", {
1125
1125
  method: "GET";
1126
1126
  operationId: string;
1127
- query: zod0.ZodObject<{
1128
- callbackURL: zod0.ZodString;
1129
- cookies: zod0.ZodString;
1130
- }, better_auth0.$strip>;
1131
- use: ((inputContext: better_auth0.MiddlewareInputContext<better_auth0.MiddlewareOptions>) => Promise<void>)[];
1127
+ query: zod344.ZodObject<{
1128
+ callbackURL: zod344.ZodString;
1129
+ cookies: zod344.ZodString;
1130
+ }, better_auth99.$strip>;
1131
+ use: ((inputContext: better_auth99.MiddlewareInputContext<better_auth99.MiddlewareOptions>) => Promise<void>)[];
1132
1132
  metadata: {
1133
1133
  openapi: {
1134
1134
  operationId: string;
@@ -1158,38 +1158,38 @@ declare const auth: better_auth0.Auth<{
1158
1158
  };
1159
1159
  hooks: {
1160
1160
  before: {
1161
- matcher(context: better_auth0.HookEndpointContext): boolean;
1162
- handler: (inputContext: better_auth0.MiddlewareInputContext<better_auth0.MiddlewareOptions>) => Promise<void>;
1161
+ matcher(context: better_auth99.HookEndpointContext): boolean;
1162
+ handler: (inputContext: better_auth99.MiddlewareInputContext<better_auth99.MiddlewareOptions>) => Promise<void>;
1163
1163
  }[];
1164
1164
  after: {
1165
- matcher(context: better_auth0.HookEndpointContext): boolean;
1166
- handler: (inputContext: better_auth0.MiddlewareInputContext<better_auth0.MiddlewareOptions>) => Promise<void>;
1165
+ matcher(context: better_auth99.HookEndpointContext): boolean;
1166
+ handler: (inputContext: better_auth99.MiddlewareInputContext<better_auth99.MiddlewareOptions>) => Promise<void>;
1167
1167
  }[];
1168
1168
  };
1169
- }, better_auth_plugins0.DefaultOrganizationPlugin<{
1169
+ }, better_auth_plugins35.DefaultOrganizationPlugin<{
1170
1170
  allowUserToCreateOrganization: true;
1171
- ac: better_auth_plugins0.AccessControl;
1171
+ ac: better_auth_plugins35.AccessControl;
1172
1172
  roles: {
1173
1173
  member: {
1174
- 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] | {
1175
- actions: better_auth_plugins0.Subset<"organization" | "member" | "invitation" | "ac" | "project" | "team", better_auth_plugins0.Statements>[key];
1174
+ authorize<K_1 extends "project" | "organization" | "team" | "member" | "ac" | "invitation">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins35.Subset<"project" | "organization" | "team" | "member" | "ac" | "invitation", better_auth_plugins35.Statements>[key] | {
1175
+ actions: better_auth_plugins35.Subset<"project" | "organization" | "team" | "member" | "ac" | "invitation", better_auth_plugins35.Statements>[key];
1176
1176
  connector: "OR" | "AND";
1177
- } | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins0.AuthorizeResponse;
1178
- statements: better_auth_plugins0.Subset<"organization" | "member" | "invitation" | "ac" | "project" | "team", better_auth_plugins0.Statements>;
1177
+ } | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins35.AuthorizeResponse;
1178
+ statements: better_auth_plugins35.Subset<"project" | "organization" | "team" | "member" | "ac" | "invitation", better_auth_plugins35.Statements>;
1179
1179
  };
1180
1180
  admin: {
1181
- 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] | {
1182
- actions: better_auth_plugins0.Subset<"organization" | "member" | "invitation" | "ac" | "project" | "team", better_auth_plugins0.Statements>[key];
1181
+ authorize<K_1 extends "project" | "organization" | "team" | "member" | "ac" | "invitation">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins35.Subset<"project" | "organization" | "team" | "member" | "ac" | "invitation", better_auth_plugins35.Statements>[key] | {
1182
+ actions: better_auth_plugins35.Subset<"project" | "organization" | "team" | "member" | "ac" | "invitation", better_auth_plugins35.Statements>[key];
1183
1183
  connector: "OR" | "AND";
1184
- } | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins0.AuthorizeResponse;
1185
- statements: better_auth_plugins0.Subset<"organization" | "member" | "invitation" | "ac" | "project" | "team", better_auth_plugins0.Statements>;
1184
+ } | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins35.AuthorizeResponse;
1185
+ statements: better_auth_plugins35.Subset<"project" | "organization" | "team" | "member" | "ac" | "invitation", better_auth_plugins35.Statements>;
1186
1186
  };
1187
1187
  owner: {
1188
- 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] | {
1189
- actions: better_auth_plugins0.Subset<"organization" | "member" | "invitation" | "ac" | "project" | "team", better_auth_plugins0.Statements>[key];
1188
+ authorize<K_1 extends "project" | "organization" | "team" | "member" | "ac" | "invitation">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins35.Subset<"project" | "organization" | "team" | "member" | "ac" | "invitation", better_auth_plugins35.Statements>[key] | {
1189
+ actions: better_auth_plugins35.Subset<"project" | "organization" | "team" | "member" | "ac" | "invitation", better_auth_plugins35.Statements>[key];
1190
1190
  connector: "OR" | "AND";
1191
- } | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins0.AuthorizeResponse;
1192
- statements: better_auth_plugins0.Subset<"organization" | "member" | "invitation" | "ac" | "project" | "team", better_auth_plugins0.Statements>;
1191
+ } | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins35.AuthorizeResponse;
1192
+ statements: better_auth_plugins35.Subset<"project" | "organization" | "team" | "member" | "ac" | "invitation", better_auth_plugins35.Statements>;
1193
1193
  };
1194
1194
  };
1195
1195
  creatorRole: "admin";
@@ -1200,10 +1200,10 @@ declare const auth: better_auth0.Auth<{
1200
1200
  id: string;
1201
1201
  role: string;
1202
1202
  email: string;
1203
- organization: better_auth_plugins0.Organization;
1204
- invitation: better_auth_plugins0.Invitation;
1205
- inviter: better_auth_plugins0.Member & {
1206
- user: better_auth0.User;
1203
+ organization: better_auth_plugins35.Organization;
1204
+ invitation: better_auth_plugins35.Invitation;
1205
+ inviter: better_auth_plugins35.Member & {
1206
+ user: better_auth99.User;
1207
1207
  };
1208
1208
  }): Promise<void>;
1209
1209
  schema: {
@@ -1237,28 +1237,28 @@ declare const auth: better_auth0.Auth<{
1237
1237
  user,
1238
1238
  organization: org
1239
1239
  }: {
1240
- invitation: better_auth_plugins0.Invitation & Record<string, any>;
1241
- member: better_auth_plugins0.Member & Record<string, any>;
1242
- user: better_auth0.User & Record<string, any>;
1243
- organization: better_auth_plugins0.Organization & Record<string, any>;
1240
+ invitation: better_auth_plugins35.Invitation & Record<string, any>;
1241
+ member: better_auth_plugins35.Member & Record<string, any>;
1242
+ user: better_auth99.User & Record<string, any>;
1243
+ organization: better_auth_plugins35.Organization & Record<string, any>;
1244
1244
  }) => Promise<void>;
1245
1245
  beforeUpdateMemberRole: ({
1246
1246
  member,
1247
1247
  organization: org,
1248
1248
  newRole
1249
1249
  }: {
1250
- member: better_auth_plugins0.Member & Record<string, any>;
1250
+ member: better_auth_plugins35.Member & Record<string, any>;
1251
1251
  newRole: string;
1252
- user: better_auth0.User & Record<string, any>;
1253
- organization: better_auth_plugins0.Organization & Record<string, any>;
1252
+ user: better_auth99.User & Record<string, any>;
1253
+ organization: better_auth_plugins35.Organization & Record<string, any>;
1254
1254
  }) => Promise<void>;
1255
1255
  beforeRemoveMember: ({
1256
1256
  member,
1257
1257
  organization: org
1258
1258
  }: {
1259
- member: better_auth_plugins0.Member & Record<string, any>;
1260
- user: better_auth0.User & Record<string, any>;
1261
- organization: better_auth_plugins0.Organization & Record<string, any>;
1259
+ member: better_auth_plugins35.Member & Record<string, any>;
1260
+ user: better_auth99.User & Record<string, any>;
1261
+ organization: better_auth_plugins35.Organization & Record<string, any>;
1262
1262
  }) => Promise<void>;
1263
1263
  };
1264
1264
  }>, {
@@ -1306,19 +1306,19 @@ declare const auth: better_auth0.Auth<{
1306
1306
  };
1307
1307
  };
1308
1308
  endpoints: {
1309
- deviceCode: better_auth0.StrictEndpoint<"/device/code", {
1309
+ deviceCode: better_auth99.StrictEndpoint<"/device/code", {
1310
1310
  method: "POST";
1311
- body: zod0.ZodObject<{
1312
- client_id: zod0.ZodString;
1313
- scope: zod0.ZodOptional<zod0.ZodString>;
1314
- }, better_auth0.$strip>;
1315
- error: zod0.ZodObject<{
1316
- error: zod0.ZodEnum<{
1311
+ body: zod344.ZodObject<{
1312
+ client_id: zod344.ZodString;
1313
+ scope: zod344.ZodOptional<zod344.ZodString>;
1314
+ }, better_auth99.$strip>;
1315
+ error: zod344.ZodObject<{
1316
+ error: zod344.ZodEnum<{
1317
1317
  invalid_request: "invalid_request";
1318
1318
  invalid_client: "invalid_client";
1319
1319
  }>;
1320
- error_description: zod0.ZodString;
1321
- }, better_auth0.$strip>;
1320
+ error_description: zod344.ZodString;
1321
+ }, better_auth99.$strip>;
1322
1322
  metadata: {
1323
1323
  openapi: {
1324
1324
  description: string;
@@ -1391,15 +1391,15 @@ declare const auth: better_auth0.Auth<{
1391
1391
  expires_in: number;
1392
1392
  interval: number;
1393
1393
  }>;
1394
- deviceToken: better_auth0.StrictEndpoint<"/device/token", {
1394
+ deviceToken: better_auth99.StrictEndpoint<"/device/token", {
1395
1395
  method: "POST";
1396
- body: zod0.ZodObject<{
1397
- grant_type: zod0.ZodLiteral<"urn:ietf:params:oauth:grant-type:device_code">;
1398
- device_code: zod0.ZodString;
1399
- client_id: zod0.ZodString;
1400
- }, better_auth0.$strip>;
1401
- error: zod0.ZodObject<{
1402
- error: zod0.ZodEnum<{
1396
+ body: zod344.ZodObject<{
1397
+ grant_type: zod344.ZodLiteral<"urn:ietf:params:oauth:grant-type:device_code">;
1398
+ device_code: zod344.ZodString;
1399
+ client_id: zod344.ZodString;
1400
+ }, better_auth99.$strip>;
1401
+ error: zod344.ZodObject<{
1402
+ error: zod344.ZodEnum<{
1403
1403
  invalid_request: "invalid_request";
1404
1404
  authorization_pending: "authorization_pending";
1405
1405
  slow_down: "slow_down";
@@ -1407,8 +1407,8 @@ declare const auth: better_auth0.Auth<{
1407
1407
  access_denied: "access_denied";
1408
1408
  invalid_grant: "invalid_grant";
1409
1409
  }>;
1410
- error_description: zod0.ZodString;
1411
- }, better_auth0.$strip>;
1410
+ error_description: zod344.ZodString;
1411
+ }, better_auth99.$strip>;
1412
1412
  metadata: {
1413
1413
  openapi: {
1414
1414
  description: string;
@@ -1459,17 +1459,17 @@ declare const auth: better_auth0.Auth<{
1459
1459
  expires_in: number;
1460
1460
  scope: string;
1461
1461
  }>;
1462
- deviceVerify: better_auth0.StrictEndpoint<"/device", {
1462
+ deviceVerify: better_auth99.StrictEndpoint<"/device", {
1463
1463
  method: "GET";
1464
- query: zod0.ZodObject<{
1465
- user_code: zod0.ZodString;
1466
- }, better_auth0.$strip>;
1467
- error: zod0.ZodObject<{
1468
- error: zod0.ZodEnum<{
1464
+ query: zod344.ZodObject<{
1465
+ user_code: zod344.ZodString;
1466
+ }, better_auth99.$strip>;
1467
+ error: zod344.ZodObject<{
1468
+ error: zod344.ZodEnum<{
1469
1469
  invalid_request: "invalid_request";
1470
1470
  }>;
1471
- error_description: zod0.ZodString;
1472
- }, better_auth0.$strip>;
1471
+ error_description: zod344.ZodString;
1472
+ }, better_auth99.$strip>;
1473
1473
  metadata: {
1474
1474
  openapi: {
1475
1475
  description: string;
@@ -1502,21 +1502,21 @@ declare const auth: better_auth0.Auth<{
1502
1502
  user_code: string;
1503
1503
  status: string;
1504
1504
  }>;
1505
- deviceApprove: better_auth0.StrictEndpoint<"/device/approve", {
1505
+ deviceApprove: better_auth99.StrictEndpoint<"/device/approve", {
1506
1506
  method: "POST";
1507
- body: zod0.ZodObject<{
1508
- userCode: zod0.ZodString;
1509
- }, better_auth0.$strip>;
1510
- error: zod0.ZodObject<{
1511
- error: zod0.ZodEnum<{
1507
+ body: zod344.ZodObject<{
1508
+ userCode: zod344.ZodString;
1509
+ }, better_auth99.$strip>;
1510
+ error: zod344.ZodObject<{
1511
+ error: zod344.ZodEnum<{
1512
1512
  unauthorized: "unauthorized";
1513
1513
  invalid_request: "invalid_request";
1514
1514
  expired_token: "expired_token";
1515
1515
  access_denied: "access_denied";
1516
1516
  device_code_already_processed: "device_code_already_processed";
1517
1517
  }>;
1518
- error_description: zod0.ZodString;
1519
- }, better_auth0.$strip>;
1518
+ error_description: zod344.ZodString;
1519
+ }, better_auth99.$strip>;
1520
1520
  requireHeaders: true;
1521
1521
  metadata: {
1522
1522
  openapi: {
@@ -1543,20 +1543,20 @@ declare const auth: better_auth0.Auth<{
1543
1543
  }, {
1544
1544
  success: boolean;
1545
1545
  }>;
1546
- deviceDeny: better_auth0.StrictEndpoint<"/device/deny", {
1546
+ deviceDeny: better_auth99.StrictEndpoint<"/device/deny", {
1547
1547
  method: "POST";
1548
- body: zod0.ZodObject<{
1549
- userCode: zod0.ZodString;
1550
- }, better_auth0.$strip>;
1551
- error: zod0.ZodObject<{
1552
- error: zod0.ZodEnum<{
1548
+ body: zod344.ZodObject<{
1549
+ userCode: zod344.ZodString;
1550
+ }, better_auth99.$strip>;
1551
+ error: zod344.ZodObject<{
1552
+ error: zod344.ZodEnum<{
1553
1553
  unauthorized: "unauthorized";
1554
1554
  invalid_request: "invalid_request";
1555
1555
  expired_token: "expired_token";
1556
1556
  access_denied: "access_denied";
1557
1557
  }>;
1558
- error_description: zod0.ZodString;
1559
- }, better_auth0.$strip>;
1558
+ error_description: zod344.ZodString;
1559
+ }, better_auth99.$strip>;
1560
1560
  requireHeaders: true;
1561
1561
  metadata: {
1562
1562
  openapi: {
@@ -1599,8 +1599,8 @@ declare const auth: better_auth0.Auth<{
1599
1599
  readonly AUTHENTICATION_REQUIRED: "Authentication required";
1600
1600
  };
1601
1601
  options: Partial<{
1602
- expiresIn: better_auth_plugins0.TimeString;
1603
- interval: better_auth_plugins0.TimeString;
1602
+ expiresIn: better_auth_plugins35.TimeString;
1603
+ interval: better_auth_plugins35.TimeString;
1604
1604
  deviceCodeLength: number;
1605
1605
  userCodeLength: number;
1606
1606
  schema: {
@@ -1627,6 +1627,6 @@ declare const auth: better_auth0.Auth<{
1627
1627
  }>;
1628
1628
  }];
1629
1629
  }>;
1630
- declare const app: Hono<hono_types0.BlankEnv, hono_types0.BlankSchema, "/">;
1630
+ declare const app: Hono<hono_types3.BlankEnv, hono_types3.BlankSchema, "/">;
1631
1631
  //#endregion
1632
1632
  export { type AppConfig, type AppVariables, Hono, type NativeSandboxConfig, type SSOProviderConfig, type SandboxConfig, type UserAuthConfig, type VercelSandboxConfig, auth, createAgentsApp, createAgentsHono, createAuth0Provider, createOIDCProvider, app as default };