@inkeep/agents-core 0.0.0-dev-20251217042024 → 0.0.0-dev-20251217091232

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.
@@ -5,7 +5,7 @@ import "../schema-conversion.js";
5
5
  import * as _better_auth_sso0 from "@better-auth/sso";
6
6
  import * as better_auth0 from "better-auth";
7
7
  import { BetterAuthAdvancedOptions } from "better-auth";
8
- import * as better_auth_plugins0 from "better-auth/plugins";
8
+ import * as better_auth_plugins20 from "better-auth/plugins";
9
9
  import * as zod0 from "zod";
10
10
  import { GoogleOptions } from "better-auth/social-providers";
11
11
 
@@ -728,39 +728,39 @@ declare function createAuth(config: BetterAuthConfig): better_auth0.Auth<{
728
728
  };
729
729
  }, {
730
730
  id: "organization";
731
- endpoints: better_auth_plugins0.OrganizationEndpoints<{
731
+ endpoints: better_auth_plugins20.OrganizationEndpoints<{
732
732
  allowUserToCreateOrganization: true;
733
- ac: better_auth_plugins0.AccessControl;
733
+ ac: better_auth_plugins20.AccessControl;
734
734
  roles: {
735
735
  member: {
736
- authorize<K_1 extends "function" | "organization" | "agent" | "project" | "tool" | "ac" | "member" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "invitation" | "team">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins0.Subset<"function" | "organization" | "agent" | "project" | "tool" | "ac" | "member" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "invitation" | "team", better_auth_plugins0.Statements>[key] | {
737
- actions: better_auth_plugins0.Subset<"function" | "organization" | "agent" | "project" | "tool" | "ac" | "member" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "invitation" | "team", better_auth_plugins0.Statements>[key];
736
+ authorize<K_1 extends "function" | "organization" | "member" | "invitation" | "project" | "agent" | "sub_agent" | "tool" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "team">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins20.Subset<"function" | "organization" | "member" | "invitation" | "project" | "agent" | "sub_agent" | "tool" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "team", better_auth_plugins20.Statements>[key] | {
737
+ actions: better_auth_plugins20.Subset<"function" | "organization" | "member" | "invitation" | "project" | "agent" | "sub_agent" | "tool" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "team", better_auth_plugins20.Statements>[key];
738
738
  connector: "OR" | "AND";
739
- } | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins0.AuthorizeResponse;
740
- statements: better_auth_plugins0.Subset<"function" | "organization" | "agent" | "project" | "tool" | "ac" | "member" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "invitation" | "team", better_auth_plugins0.Statements>;
739
+ } | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins20.AuthorizeResponse;
740
+ statements: better_auth_plugins20.Subset<"function" | "organization" | "member" | "invitation" | "project" | "agent" | "sub_agent" | "tool" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "team", better_auth_plugins20.Statements>;
741
741
  };
742
742
  admin: {
743
- authorize<K_1 extends "function" | "organization" | "agent" | "project" | "tool" | "ac" | "member" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "invitation" | "team">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins0.Subset<"function" | "organization" | "agent" | "project" | "tool" | "ac" | "member" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "invitation" | "team", better_auth_plugins0.Statements>[key] | {
744
- actions: better_auth_plugins0.Subset<"function" | "organization" | "agent" | "project" | "tool" | "ac" | "member" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "invitation" | "team", better_auth_plugins0.Statements>[key];
743
+ authorize<K_1 extends "function" | "organization" | "member" | "invitation" | "project" | "agent" | "sub_agent" | "tool" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "team">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins20.Subset<"function" | "organization" | "member" | "invitation" | "project" | "agent" | "sub_agent" | "tool" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "team", better_auth_plugins20.Statements>[key] | {
744
+ actions: better_auth_plugins20.Subset<"function" | "organization" | "member" | "invitation" | "project" | "agent" | "sub_agent" | "tool" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "team", better_auth_plugins20.Statements>[key];
745
745
  connector: "OR" | "AND";
746
- } | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins0.AuthorizeResponse;
747
- statements: better_auth_plugins0.Subset<"function" | "organization" | "agent" | "project" | "tool" | "ac" | "member" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "invitation" | "team", better_auth_plugins0.Statements>;
746
+ } | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins20.AuthorizeResponse;
747
+ statements: better_auth_plugins20.Subset<"function" | "organization" | "member" | "invitation" | "project" | "agent" | "sub_agent" | "tool" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "team", better_auth_plugins20.Statements>;
748
748
  };
749
749
  owner: {
750
- authorize<K_1 extends "function" | "organization" | "agent" | "project" | "tool" | "ac" | "member" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "invitation" | "team">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins0.Subset<"function" | "organization" | "agent" | "project" | "tool" | "ac" | "member" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "invitation" | "team", better_auth_plugins0.Statements>[key] | {
751
- actions: better_auth_plugins0.Subset<"function" | "organization" | "agent" | "project" | "tool" | "ac" | "member" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "invitation" | "team", better_auth_plugins0.Statements>[key];
750
+ authorize<K_1 extends "function" | "organization" | "member" | "invitation" | "project" | "agent" | "sub_agent" | "tool" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "team">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins20.Subset<"function" | "organization" | "member" | "invitation" | "project" | "agent" | "sub_agent" | "tool" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "team", better_auth_plugins20.Statements>[key] | {
751
+ actions: better_auth_plugins20.Subset<"function" | "organization" | "member" | "invitation" | "project" | "agent" | "sub_agent" | "tool" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "team", better_auth_plugins20.Statements>[key];
752
752
  connector: "OR" | "AND";
753
- } | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins0.AuthorizeResponse;
754
- statements: better_auth_plugins0.Subset<"function" | "organization" | "agent" | "project" | "tool" | "ac" | "member" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "invitation" | "team", better_auth_plugins0.Statements>;
753
+ } | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins20.AuthorizeResponse;
754
+ statements: better_auth_plugins20.Subset<"function" | "organization" | "member" | "invitation" | "project" | "agent" | "sub_agent" | "tool" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "team", better_auth_plugins20.Statements>;
755
755
  };
756
756
  };
757
757
  sendInvitationEmail(data: {
758
758
  id: string;
759
759
  role: string;
760
760
  email: string;
761
- organization: better_auth_plugins0.Organization;
762
- invitation: better_auth_plugins0.Invitation;
763
- inviter: better_auth_plugins0.Member & {
761
+ organization: better_auth_plugins20.Organization;
762
+ invitation: better_auth_plugins20.Invitation;
763
+ inviter: better_auth_plugins20.Member & {
764
764
  user: better_auth0.User;
765
765
  };
766
766
  }): Promise<void>;
@@ -893,7 +893,7 @@ declare function createAuth(config: BetterAuthConfig): better_auth0.Auth<{
893
893
  organizationId: string;
894
894
  email: string;
895
895
  role: "member" | "admin" | "owner";
896
- status: better_auth_plugins0.InvitationStatus;
896
+ status: better_auth_plugins20.InvitationStatus;
897
897
  inviterId: string;
898
898
  expiresAt: Date;
899
899
  createdAt: Date;
@@ -932,7 +932,7 @@ declare function createAuth(config: BetterAuthConfig): better_auth0.Auth<{
932
932
  organizationId: string;
933
933
  email: string;
934
934
  role: "member" | "admin" | "owner";
935
- status: better_auth_plugins0.InvitationStatus;
935
+ status: better_auth_plugins20.InvitationStatus;
936
936
  inviterId: string;
937
937
  expiresAt: Date;
938
938
  createdAt: Date;
@@ -1006,37 +1006,37 @@ declare function createAuth(config: BetterAuthConfig): better_auth0.Auth<{
1006
1006
  };
1007
1007
  options: {
1008
1008
  allowUserToCreateOrganization: true;
1009
- ac: better_auth_plugins0.AccessControl;
1009
+ ac: better_auth_plugins20.AccessControl;
1010
1010
  roles: {
1011
1011
  member: {
1012
- authorize<K_1 extends "function" | "organization" | "agent" | "project" | "tool" | "ac" | "member" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "invitation" | "team">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins0.Subset<"function" | "organization" | "agent" | "project" | "tool" | "ac" | "member" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "invitation" | "team", better_auth_plugins0.Statements>[key] | {
1013
- actions: better_auth_plugins0.Subset<"function" | "organization" | "agent" | "project" | "tool" | "ac" | "member" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "invitation" | "team", better_auth_plugins0.Statements>[key];
1012
+ authorize<K_1 extends "function" | "organization" | "member" | "invitation" | "project" | "agent" | "sub_agent" | "tool" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "team">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins20.Subset<"function" | "organization" | "member" | "invitation" | "project" | "agent" | "sub_agent" | "tool" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "team", better_auth_plugins20.Statements>[key] | {
1013
+ actions: better_auth_plugins20.Subset<"function" | "organization" | "member" | "invitation" | "project" | "agent" | "sub_agent" | "tool" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "team", better_auth_plugins20.Statements>[key];
1014
1014
  connector: "OR" | "AND";
1015
- } | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins0.AuthorizeResponse;
1016
- statements: better_auth_plugins0.Subset<"function" | "organization" | "agent" | "project" | "tool" | "ac" | "member" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "invitation" | "team", better_auth_plugins0.Statements>;
1015
+ } | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins20.AuthorizeResponse;
1016
+ statements: better_auth_plugins20.Subset<"function" | "organization" | "member" | "invitation" | "project" | "agent" | "sub_agent" | "tool" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "team", better_auth_plugins20.Statements>;
1017
1017
  };
1018
1018
  admin: {
1019
- authorize<K_1 extends "function" | "organization" | "agent" | "project" | "tool" | "ac" | "member" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "invitation" | "team">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins0.Subset<"function" | "organization" | "agent" | "project" | "tool" | "ac" | "member" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "invitation" | "team", better_auth_plugins0.Statements>[key] | {
1020
- actions: better_auth_plugins0.Subset<"function" | "organization" | "agent" | "project" | "tool" | "ac" | "member" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "invitation" | "team", better_auth_plugins0.Statements>[key];
1019
+ authorize<K_1 extends "function" | "organization" | "member" | "invitation" | "project" | "agent" | "sub_agent" | "tool" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "team">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins20.Subset<"function" | "organization" | "member" | "invitation" | "project" | "agent" | "sub_agent" | "tool" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "team", better_auth_plugins20.Statements>[key] | {
1020
+ actions: better_auth_plugins20.Subset<"function" | "organization" | "member" | "invitation" | "project" | "agent" | "sub_agent" | "tool" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "team", better_auth_plugins20.Statements>[key];
1021
1021
  connector: "OR" | "AND";
1022
- } | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins0.AuthorizeResponse;
1023
- statements: better_auth_plugins0.Subset<"function" | "organization" | "agent" | "project" | "tool" | "ac" | "member" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "invitation" | "team", better_auth_plugins0.Statements>;
1022
+ } | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins20.AuthorizeResponse;
1023
+ statements: better_auth_plugins20.Subset<"function" | "organization" | "member" | "invitation" | "project" | "agent" | "sub_agent" | "tool" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "team", better_auth_plugins20.Statements>;
1024
1024
  };
1025
1025
  owner: {
1026
- authorize<K_1 extends "function" | "organization" | "agent" | "project" | "tool" | "ac" | "member" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "invitation" | "team">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins0.Subset<"function" | "organization" | "agent" | "project" | "tool" | "ac" | "member" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "invitation" | "team", better_auth_plugins0.Statements>[key] | {
1027
- actions: better_auth_plugins0.Subset<"function" | "organization" | "agent" | "project" | "tool" | "ac" | "member" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "invitation" | "team", better_auth_plugins0.Statements>[key];
1026
+ authorize<K_1 extends "function" | "organization" | "member" | "invitation" | "project" | "agent" | "sub_agent" | "tool" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "team">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins20.Subset<"function" | "organization" | "member" | "invitation" | "project" | "agent" | "sub_agent" | "tool" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "team", better_auth_plugins20.Statements>[key] | {
1027
+ actions: better_auth_plugins20.Subset<"function" | "organization" | "member" | "invitation" | "project" | "agent" | "sub_agent" | "tool" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "team", better_auth_plugins20.Statements>[key];
1028
1028
  connector: "OR" | "AND";
1029
- } | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins0.AuthorizeResponse;
1030
- statements: better_auth_plugins0.Subset<"function" | "organization" | "agent" | "project" | "tool" | "ac" | "member" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "invitation" | "team", better_auth_plugins0.Statements>;
1029
+ } | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins20.AuthorizeResponse;
1030
+ statements: better_auth_plugins20.Subset<"function" | "organization" | "member" | "invitation" | "project" | "agent" | "sub_agent" | "tool" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "team", better_auth_plugins20.Statements>;
1031
1031
  };
1032
1032
  };
1033
1033
  sendInvitationEmail(data: {
1034
1034
  id: string;
1035
1035
  role: string;
1036
1036
  email: string;
1037
- organization: better_auth_plugins0.Organization;
1038
- invitation: better_auth_plugins0.Invitation;
1039
- inviter: better_auth_plugins0.Member & {
1037
+ organization: better_auth_plugins20.Organization;
1038
+ invitation: better_auth_plugins20.Invitation;
1039
+ inviter: better_auth_plugins20.Member & {
1040
1040
  user: better_auth0.User;
1041
1041
  };
1042
1042
  }): Promise<void>;
@@ -1,28 +1,28 @@
1
- import * as better_auth_plugins52 from "better-auth/plugins";
1
+ import * as better_auth_plugins0 from "better-auth/plugins";
2
2
  import { AccessControl } from "better-auth/plugins/access";
3
3
 
4
4
  //#region src/auth/permissions.d.ts
5
5
  declare const ac: AccessControl;
6
6
  declare const memberRole: {
7
- authorize<K_1 extends "function" | "organization" | "agent" | "project" | "tool" | "ac" | "member" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "invitation" | "team">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins52.Subset<"function" | "organization" | "agent" | "project" | "tool" | "ac" | "member" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "invitation" | "team", better_auth_plugins52.Statements>[key] | {
8
- actions: better_auth_plugins52.Subset<"function" | "organization" | "agent" | "project" | "tool" | "ac" | "member" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "invitation" | "team", better_auth_plugins52.Statements>[key];
7
+ authorize<K_1 extends "function" | "organization" | "member" | "invitation" | "project" | "agent" | "sub_agent" | "tool" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "team">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins0.Subset<"function" | "organization" | "member" | "invitation" | "project" | "agent" | "sub_agent" | "tool" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "team", better_auth_plugins0.Statements>[key] | {
8
+ actions: better_auth_plugins0.Subset<"function" | "organization" | "member" | "invitation" | "project" | "agent" | "sub_agent" | "tool" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "team", better_auth_plugins0.Statements>[key];
9
9
  connector: "OR" | "AND";
10
- } | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins52.AuthorizeResponse;
11
- statements: better_auth_plugins52.Subset<"function" | "organization" | "agent" | "project" | "tool" | "ac" | "member" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "invitation" | "team", better_auth_plugins52.Statements>;
10
+ } | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins0.AuthorizeResponse;
11
+ statements: better_auth_plugins0.Subset<"function" | "organization" | "member" | "invitation" | "project" | "agent" | "sub_agent" | "tool" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "team", better_auth_plugins0.Statements>;
12
12
  };
13
13
  declare const adminRole: {
14
- authorize<K_1 extends "function" | "organization" | "agent" | "project" | "tool" | "ac" | "member" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "invitation" | "team">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins52.Subset<"function" | "organization" | "agent" | "project" | "tool" | "ac" | "member" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "invitation" | "team", better_auth_plugins52.Statements>[key] | {
15
- actions: better_auth_plugins52.Subset<"function" | "organization" | "agent" | "project" | "tool" | "ac" | "member" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "invitation" | "team", better_auth_plugins52.Statements>[key];
14
+ authorize<K_1 extends "function" | "organization" | "member" | "invitation" | "project" | "agent" | "sub_agent" | "tool" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "team">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins0.Subset<"function" | "organization" | "member" | "invitation" | "project" | "agent" | "sub_agent" | "tool" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "team", better_auth_plugins0.Statements>[key] | {
15
+ actions: better_auth_plugins0.Subset<"function" | "organization" | "member" | "invitation" | "project" | "agent" | "sub_agent" | "tool" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "team", better_auth_plugins0.Statements>[key];
16
16
  connector: "OR" | "AND";
17
- } | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins52.AuthorizeResponse;
18
- statements: better_auth_plugins52.Subset<"function" | "organization" | "agent" | "project" | "tool" | "ac" | "member" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "invitation" | "team", better_auth_plugins52.Statements>;
17
+ } | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins0.AuthorizeResponse;
18
+ statements: better_auth_plugins0.Subset<"function" | "organization" | "member" | "invitation" | "project" | "agent" | "sub_agent" | "tool" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "team", better_auth_plugins0.Statements>;
19
19
  };
20
20
  declare const ownerRole: {
21
- authorize<K_1 extends "function" | "organization" | "agent" | "project" | "tool" | "ac" | "member" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "invitation" | "team">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins52.Subset<"function" | "organization" | "agent" | "project" | "tool" | "ac" | "member" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "invitation" | "team", better_auth_plugins52.Statements>[key] | {
22
- actions: better_auth_plugins52.Subset<"function" | "organization" | "agent" | "project" | "tool" | "ac" | "member" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "invitation" | "team", better_auth_plugins52.Statements>[key];
21
+ authorize<K_1 extends "function" | "organization" | "member" | "invitation" | "project" | "agent" | "sub_agent" | "tool" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "team">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins0.Subset<"function" | "organization" | "member" | "invitation" | "project" | "agent" | "sub_agent" | "tool" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "team", better_auth_plugins0.Statements>[key] | {
22
+ actions: better_auth_plugins0.Subset<"function" | "organization" | "member" | "invitation" | "project" | "agent" | "sub_agent" | "tool" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "team", better_auth_plugins0.Statements>[key];
23
23
  connector: "OR" | "AND";
24
- } | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins52.AuthorizeResponse;
25
- statements: better_auth_plugins52.Subset<"function" | "organization" | "agent" | "project" | "tool" | "ac" | "member" | "sub_agent" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "invitation" | "team", better_auth_plugins52.Statements>;
24
+ } | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins0.AuthorizeResponse;
25
+ statements: better_auth_plugins0.Subset<"function" | "organization" | "member" | "invitation" | "project" | "agent" | "sub_agent" | "tool" | "api_key" | "credential" | "data_component" | "artifact_component" | "external_agent" | "context_config" | "ac" | "team", better_auth_plugins0.Statements>;
26
26
  };
27
27
  //#endregion
28
28
  export { ac, adminRole, memberRole, ownerRole };
@@ -1 +1 @@
1
- {"version":3,"file":"permissions.d.ts","names":[],"sources":["../../src/auth/permissions.ts"],"sourcesContent":[],"mappings":";;;;cAwBa,IAAuC;cAEvC;;IAFA,OAAoD,8BAAA,CAAA,UAAA,GAAA,cAAA,GAAA,OAAA,GAAA,SAAA,GAAA,MAAA,GAAA,IAAA,GAAA,QAAA,GAAA,WAAA,GAAA,SAAA,GAAA,YAAA,GAAA,gBAAA,GAAA,oBAAA,GAAA,gBAAA,GAAA,gBAAA,GAAA,YAAA,GAAA,MAAA,mCAAA,IAAA,CAAA;IAEpD,SAaX,EAAA,IAAA,GAAA,KAAA;;;;cAEW;;;;;;;cAeA;;;IAfA,SAaX,EAAA,IAAA,GAAA,KAAA"}
1
+ {"version":3,"file":"permissions.d.ts","names":[],"sources":["../../src/auth/permissions.ts"],"sourcesContent":[],"mappings":";;;;cAwBa,IAAuC;cAEvC;;IAFA,OAAoD,6BAAA,CAAA,UAAA,GAAA,cAAA,GAAA,QAAA,GAAA,YAAA,GAAA,SAAA,GAAA,OAAA,GAAA,WAAA,GAAA,MAAA,GAAA,SAAA,GAAA,YAAA,GAAA,gBAAA,GAAA,oBAAA,GAAA,gBAAA,GAAA,gBAAA,GAAA,IAAA,GAAA,MAAA,kCAAA,IAAA,CAAA;IAEpD,SAaX,EAAA,IAAA,GAAA,KAAA;;;;cAEW;;;;;;;cAeA;;;IAfA,SAaX,EAAA,IAAA,GAAA,KAAA"}