@inkeep/agents-core 0.0.0-dev-20260317180950 → 0.0.0-dev-20260317210858

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.
@@ -10,14 +10,14 @@ declare const getAgentRelationById: (db: AgentsManageDatabaseClient) => (params:
10
10
  relationId: string;
11
11
  }) => Promise<{
12
12
  id: string;
13
+ createdAt: string;
14
+ updatedAt: string;
13
15
  tenantId: string;
14
16
  projectId: string;
15
17
  agentId: string;
16
- createdAt: string;
17
- updatedAt: string;
18
+ relationType: string | null;
18
19
  sourceSubAgentId: string;
19
20
  targetSubAgentId: string | null;
20
- relationType: string | null;
21
21
  } | undefined>;
22
22
  declare const listAgentRelations: (db: AgentsManageDatabaseClient) => (params: {
23
23
  scopes: AgentScopeConfig;
@@ -45,27 +45,27 @@ declare const getAgentRelations: (db: AgentsManageDatabaseClient) => (params: {
45
45
  scopes: SubAgentScopeConfig;
46
46
  }) => Promise<{
47
47
  id: string;
48
+ createdAt: string;
49
+ updatedAt: string;
48
50
  tenantId: string;
49
51
  projectId: string;
50
52
  agentId: string;
51
- createdAt: string;
52
- updatedAt: string;
53
+ relationType: string | null;
53
54
  sourceSubAgentId: string;
54
55
  targetSubAgentId: string | null;
55
- relationType: string | null;
56
56
  }[]>;
57
57
  declare const getAgentRelationsByAgent: (db: AgentsManageDatabaseClient) => (params: {
58
58
  scopes: AgentScopeConfig;
59
59
  }) => Promise<{
60
60
  id: string;
61
+ createdAt: string;
62
+ updatedAt: string;
61
63
  tenantId: string;
62
64
  projectId: string;
63
65
  agentId: string;
64
- createdAt: string;
65
- updatedAt: string;
66
+ relationType: string | null;
66
67
  sourceSubAgentId: string;
67
68
  targetSubAgentId: string | null;
68
- relationType: string | null;
69
69
  }[]>;
70
70
  declare const getAgentRelationsBySource: (db: AgentsManageDatabaseClient) => (params: {
71
71
  scopes: AgentScopeConfig;
@@ -127,14 +127,14 @@ declare const getRelatedAgentsForAgent: (db: AgentsManageDatabaseClient) => (par
127
127
  }>;
128
128
  declare const createSubAgentRelation: (db: AgentsManageDatabaseClient) => (params: SubAgentRelationInsert) => Promise<{
129
129
  id: string;
130
+ createdAt: string;
131
+ updatedAt: string;
130
132
  tenantId: string;
131
133
  projectId: string;
132
134
  agentId: string;
133
- createdAt: string;
134
- updatedAt: string;
135
+ relationType: string | null;
135
136
  sourceSubAgentId: string;
136
137
  targetSubAgentId: string | null;
137
- relationType: string | null;
138
138
  }>;
139
139
  /**
140
140
  * Check if sub-agent relation exists by agent, source, target, and relation type
@@ -146,28 +146,28 @@ declare const getAgentRelationByParams: (db: AgentsManageDatabaseClient) => (par
146
146
  relationType: string;
147
147
  }) => Promise<{
148
148
  id: string;
149
+ createdAt: string;
150
+ updatedAt: string;
149
151
  tenantId: string;
150
152
  projectId: string;
151
153
  agentId: string;
152
- createdAt: string;
153
- updatedAt: string;
154
+ relationType: string | null;
154
155
  sourceSubAgentId: string;
155
156
  targetSubAgentId: string | null;
156
- relationType: string | null;
157
157
  } | undefined>;
158
158
  /**
159
159
  * Upsert agent relation (create if it doesn't exist, no-op if it does)
160
160
  */
161
161
  declare const upsertSubAgentRelation: (db: AgentsManageDatabaseClient) => (params: SubAgentRelationInsert) => Promise<{
162
162
  id: string;
163
+ createdAt: string;
164
+ updatedAt: string;
163
165
  tenantId: string;
164
166
  projectId: string;
165
167
  agentId: string;
166
- createdAt: string;
167
- updatedAt: string;
168
+ relationType: string | null;
168
169
  sourceSubAgentId: string;
169
170
  targetSubAgentId: string | null;
170
- relationType: string | null;
171
171
  }>;
172
172
  declare const updateAgentRelation: (db: AgentsManageDatabaseClient) => (params: {
173
173
  scopes: AgentScopeConfig;
@@ -205,17 +205,17 @@ declare const createAgentToolRelation: (db: AgentsManageDatabaseClient) => (para
205
205
  };
206
206
  }) => Promise<{
207
207
  id: string;
208
+ createdAt: string;
209
+ updatedAt: string;
208
210
  tenantId: string;
209
211
  projectId: string;
210
212
  agentId: string;
211
- createdAt: string;
212
- updatedAt: string;
213
+ subAgentId: string;
213
214
  toolId: string;
214
215
  headers: Record<string, string> | null;
215
216
  toolPolicies: Record<string, {
216
217
  needsApproval?: boolean;
217
218
  }> | null;
218
- subAgentId: string;
219
219
  selectedTools: string[] | null;
220
220
  }>;
221
221
  declare const updateAgentToolRelation: (db: AgentsManageDatabaseClient) => (params: {
@@ -249,17 +249,17 @@ declare const getAgentToolRelationById: (db: AgentsManageDatabaseClient) => (par
249
249
  relationId: string;
250
250
  }) => Promise<{
251
251
  id: string;
252
+ createdAt: string;
253
+ updatedAt: string;
252
254
  tenantId: string;
253
255
  projectId: string;
254
256
  agentId: string;
255
- createdAt: string;
256
- updatedAt: string;
257
+ subAgentId: string;
257
258
  toolId: string;
258
259
  headers: Record<string, string> | null;
259
260
  toolPolicies: Record<string, {
260
261
  needsApproval?: boolean;
261
262
  }> | null;
262
- subAgentId: string;
263
263
  selectedTools: string[] | null;
264
264
  } | undefined>;
265
265
  declare const getAgentToolRelationByAgent: (db: AgentsManageDatabaseClient) => (params: {
@@ -10,13 +10,13 @@ declare const getSubAgentTeamAgentRelationById: (db: AgentsManageDatabaseClient)
10
10
  relationId: string;
11
11
  }) => Promise<{
12
12
  id: string;
13
+ createdAt: string;
14
+ updatedAt: string;
13
15
  tenantId: string;
14
16
  projectId: string;
15
17
  agentId: string;
16
- createdAt: string;
17
- updatedAt: string;
18
- headers: Record<string, string> | null;
19
18
  subAgentId: string;
19
+ headers: Record<string, string> | null;
20
20
  targetAgentId: string;
21
21
  } | undefined>;
22
22
  declare const listSubAgentTeamAgentRelations: (db: AgentsManageDatabaseClient) => (params: {
@@ -45,26 +45,26 @@ declare const getSubAgentTeamAgentRelations: (db: AgentsManageDatabaseClient) =>
45
45
  scopes: SubAgentScopeConfig;
46
46
  }) => Promise<{
47
47
  id: string;
48
+ createdAt: string;
49
+ updatedAt: string;
48
50
  tenantId: string;
49
51
  projectId: string;
50
52
  agentId: string;
51
- createdAt: string;
52
- updatedAt: string;
53
- headers: Record<string, string> | null;
54
53
  subAgentId: string;
54
+ headers: Record<string, string> | null;
55
55
  targetAgentId: string;
56
56
  }[]>;
57
57
  declare const getSubAgentTeamAgentRelationsByAgent: (db: AgentsManageDatabaseClient) => (params: {
58
58
  scopes: AgentScopeConfig;
59
59
  }) => Promise<{
60
60
  id: string;
61
+ createdAt: string;
62
+ updatedAt: string;
61
63
  tenantId: string;
62
64
  projectId: string;
63
65
  agentId: string;
64
- createdAt: string;
65
- updatedAt: string;
66
- headers: Record<string, string> | null;
67
66
  subAgentId: string;
67
+ headers: Record<string, string> | null;
68
68
  targetAgentId: string;
69
69
  }[]>;
70
70
  declare const getSubAgentTeamAgentRelationsByTeamAgent: (db: AgentsManageDatabaseClient) => (params: {
@@ -211,13 +211,13 @@ declare const createSubAgentTeamAgentRelation: (db: AgentsManageDatabaseClient)
211
211
  };
212
212
  }) => Promise<{
213
213
  id: string;
214
+ createdAt: string;
215
+ updatedAt: string;
214
216
  tenantId: string;
215
217
  projectId: string;
216
218
  agentId: string;
217
- createdAt: string;
218
- updatedAt: string;
219
- headers: Record<string, string> | null;
220
219
  subAgentId: string;
220
+ headers: Record<string, string> | null;
221
221
  targetAgentId: string;
222
222
  }>;
223
223
  /**
@@ -228,13 +228,13 @@ declare const getSubAgentTeamAgentRelationByParams: (db: AgentsManageDatabaseCli
228
228
  targetAgentId: string;
229
229
  }) => Promise<{
230
230
  id: string;
231
+ createdAt: string;
232
+ updatedAt: string;
231
233
  tenantId: string;
232
234
  projectId: string;
233
235
  agentId: string;
234
- createdAt: string;
235
- updatedAt: string;
236
- headers: Record<string, string> | null;
237
236
  subAgentId: string;
237
+ headers: Record<string, string> | null;
238
238
  targetAgentId: string;
239
239
  } | undefined>;
240
240
  /**
@@ -249,13 +249,13 @@ declare const upsertSubAgentTeamAgentRelation: (db: AgentsManageDatabaseClient)
249
249
  };
250
250
  }) => Promise<{
251
251
  id: string;
252
+ createdAt: string;
253
+ updatedAt: string;
252
254
  tenantId: string;
253
255
  projectId: string;
254
256
  agentId: string;
255
- createdAt: string;
256
- updatedAt: string;
257
- headers: Record<string, string> | null;
258
257
  subAgentId: string;
258
+ headers: Record<string, string> | null;
259
259
  targetAgentId: string;
260
260
  }>;
261
261
  declare const updateSubAgentTeamAgentRelation: (db: AgentsManageDatabaseClient) => (params: {
@@ -9,12 +9,17 @@ declare const getSubAgentById: (db: AgentsManageDatabaseClient) => (params: {
9
9
  scopes: AgentScopeConfig;
10
10
  subAgentId: string;
11
11
  }) => Promise<{
12
- id: string;
13
12
  name: string;
14
13
  description: string | null;
14
+ id: string;
15
+ createdAt: string;
16
+ updatedAt: string;
15
17
  tenantId: string;
16
18
  projectId: string;
17
19
  agentId: string;
20
+ stopWhen: {
21
+ stepCountIs?: number | undefined;
22
+ } | null;
18
23
  prompt: string | null;
19
24
  conversationHistoryConfig: ConversationHistoryConfig | null;
20
25
  models: {
@@ -31,21 +36,21 @@ declare const getSubAgentById: (db: AgentsManageDatabaseClient) => (params: {
31
36
  providerOptions?: Record<string, any> | undefined;
32
37
  } | undefined;
33
38
  } | null;
34
- stopWhen: {
35
- stepCountIs?: number | undefined;
36
- } | null;
37
- createdAt: string;
38
- updatedAt: string;
39
39
  } | undefined>;
40
40
  declare const listSubAgents: (db: AgentsManageDatabaseClient) => (params: {
41
41
  scopes: AgentScopeConfig;
42
42
  }) => Promise<{
43
- id: string;
44
43
  name: string;
45
44
  description: string | null;
45
+ id: string;
46
+ createdAt: string;
47
+ updatedAt: string;
46
48
  tenantId: string;
47
49
  projectId: string;
48
50
  agentId: string;
51
+ stopWhen: {
52
+ stepCountIs?: number | undefined;
53
+ } | null;
49
54
  prompt: string | null;
50
55
  conversationHistoryConfig: ConversationHistoryConfig | null;
51
56
  models: {
@@ -62,11 +67,6 @@ declare const listSubAgents: (db: AgentsManageDatabaseClient) => (params: {
62
67
  providerOptions?: Record<string, any> | undefined;
63
68
  } | undefined;
64
69
  } | null;
65
- stopWhen: {
66
- stepCountIs?: number | undefined;
67
- } | null;
68
- createdAt: string;
69
- updatedAt: string;
70
70
  }[]>;
71
71
  declare const listSubAgentsPaginated: (db: AgentsManageDatabaseClient) => (params: {
72
72
  scopes: AgentScopeConfig;
@@ -109,12 +109,17 @@ declare const listSubAgentsPaginated: (db: AgentsManageDatabaseClient) => (param
109
109
  };
110
110
  }>;
111
111
  declare const createSubAgent: (db: AgentsManageDatabaseClient) => (params: SubAgentInsert) => Promise<{
112
- id: string;
113
112
  name: string;
114
113
  description: string | null;
114
+ id: string;
115
+ createdAt: string;
116
+ updatedAt: string;
115
117
  tenantId: string;
116
118
  projectId: string;
117
119
  agentId: string;
120
+ stopWhen: {
121
+ stepCountIs?: number | undefined;
122
+ } | null;
118
123
  prompt: string | null;
119
124
  conversationHistoryConfig: ConversationHistoryConfig | null;
120
125
  models: {
@@ -131,11 +136,6 @@ declare const createSubAgent: (db: AgentsManageDatabaseClient) => (params: SubAg
131
136
  providerOptions?: Record<string, any> | undefined;
132
137
  } | undefined;
133
138
  } | null;
134
- stopWhen: {
135
- stepCountIs?: number | undefined;
136
- } | null;
137
- createdAt: string;
138
- updatedAt: string;
139
139
  }>;
140
140
  declare const updateSubAgent: (db: AgentsManageDatabaseClient) => (params: {
141
141
  scopes: AgentScopeConfig;
@@ -20,18 +20,18 @@ declare const getToolById: (db: AgentsManageDatabaseClient) => (params: {
20
20
  scopes: ProjectScopeConfig;
21
21
  toolId: string;
22
22
  }) => Promise<{
23
- id: string;
24
23
  name: string;
25
24
  description: string | null;
26
- tenantId: string;
27
- projectId: string;
25
+ id: string;
28
26
  createdAt: string;
29
27
  updatedAt: string;
30
- headers: Record<string, string> | null;
28
+ tenantId: string;
29
+ projectId: string;
31
30
  config: {
32
31
  type: "mcp";
33
32
  mcp: ToolMcpConfig;
34
33
  };
34
+ headers: Record<string, string> | null;
35
35
  credentialReferenceId: string | null;
36
36
  credentialScope: string;
37
37
  imageUrl: string | null;
@@ -78,18 +78,18 @@ declare const listTools: (db: AgentsManageDatabaseClient) => (params: {
78
78
  };
79
79
  }>;
80
80
  declare const createTool: (db: AgentsManageDatabaseClient) => (params: ToolInsert) => Promise<{
81
- id: string;
82
81
  name: string;
83
82
  description: string | null;
84
- tenantId: string;
85
- projectId: string;
83
+ id: string;
86
84
  createdAt: string;
87
85
  updatedAt: string;
88
- headers: Record<string, string> | null;
86
+ tenantId: string;
87
+ projectId: string;
89
88
  config: {
90
89
  type: "mcp";
91
90
  mcp: ToolMcpConfig;
92
91
  };
92
+ headers: Record<string, string> | null;
93
93
  credentialReferenceId: string | null;
94
94
  credentialScope: string;
95
95
  imageUrl: string | null;
@@ -136,17 +136,17 @@ declare const addToolToAgent: (db: AgentsManageDatabaseClient) => (params: {
136
136
  }> | null;
137
137
  }) => Promise<{
138
138
  id: string;
139
+ createdAt: string;
140
+ updatedAt: string;
139
141
  tenantId: string;
140
142
  projectId: string;
141
143
  agentId: string;
142
- createdAt: string;
143
- updatedAt: string;
144
+ subAgentId: string;
144
145
  toolId: string;
145
146
  headers: Record<string, string> | null;
146
147
  toolPolicies: Record<string, {
147
148
  needsApproval?: boolean;
148
149
  }> | null;
149
- subAgentId: string;
150
150
  selectedTools: string[] | null;
151
151
  }>;
152
152
  declare const removeToolFromAgent: (db: AgentsManageDatabaseClient) => (params: {
@@ -155,17 +155,17 @@ declare const removeToolFromAgent: (db: AgentsManageDatabaseClient) => (params:
155
155
  toolId: string;
156
156
  }) => Promise<{
157
157
  id: string;
158
+ createdAt: string;
159
+ updatedAt: string;
158
160
  tenantId: string;
159
161
  projectId: string;
160
162
  agentId: string;
161
- createdAt: string;
162
- updatedAt: string;
163
+ subAgentId: string;
163
164
  toolId: string;
164
165
  headers: Record<string, string> | null;
165
166
  toolPolicies: Record<string, {
166
167
  needsApproval?: boolean;
167
168
  }> | null;
168
- subAgentId: string;
169
169
  selectedTools: string[] | null;
170
170
  }>;
171
171
  /**
@@ -183,17 +183,17 @@ declare const upsertSubAgentToolRelation: (db: AgentsManageDatabaseClient) => (p
183
183
  relationId?: string;
184
184
  }) => Promise<{
185
185
  id: string;
186
+ createdAt: string;
187
+ updatedAt: string;
186
188
  tenantId: string;
187
189
  projectId: string;
188
190
  agentId: string;
189
- createdAt: string;
190
- updatedAt: string;
191
+ subAgentId: string;
191
192
  toolId: string;
192
193
  headers: Record<string, string> | null;
193
194
  toolPolicies: Record<string, {
194
195
  needsApproval?: boolean;
195
196
  }> | null;
196
- subAgentId: string;
197
197
  selectedTools: string[] | null;
198
198
  }>;
199
199
  /**
@@ -202,18 +202,18 @@ declare const upsertSubAgentToolRelation: (db: AgentsManageDatabaseClient) => (p
202
202
  declare const upsertTool: (db: AgentsManageDatabaseClient) => (params: {
203
203
  data: ToolInsert;
204
204
  }) => Promise<{
205
- id: string;
206
205
  name: string;
207
206
  description: string | null;
208
- tenantId: string;
209
- projectId: string;
207
+ id: string;
210
208
  createdAt: string;
211
209
  updatedAt: string;
212
- headers: Record<string, string> | null;
210
+ tenantId: string;
211
+ projectId: string;
213
212
  config: {
214
213
  type: "mcp";
215
214
  mcp: ToolMcpConfig;
216
215
  };
216
+ headers: Record<string, string> | null;
217
217
  credentialReferenceId: string | null;
218
218
  credentialScope: string;
219
219
  imageUrl: string | null;
@@ -40,13 +40,13 @@ declare const listTriggersPaginated: (db: AgentsManageDatabaseClient) => (params
40
40
  algorithm: "sha256" | "sha512" | "sha384" | "sha1" | "md5";
41
41
  encoding: "hex" | "base64";
42
42
  signature: {
43
- source: "query" | "body" | "header";
43
+ source: "query" | "header" | "body";
44
44
  key: string;
45
45
  prefix?: string | undefined;
46
46
  regex?: string | undefined;
47
47
  };
48
48
  signedComponents: {
49
- source: "literal" | "body" | "header";
49
+ source: "header" | "literal" | "body";
50
50
  required: boolean;
51
51
  key?: string | undefined;
52
52
  value?: string | undefined;
@@ -8,49 +8,49 @@ declare const getApiKeyById: (db: AgentsRunDatabaseClient) => (params: {
8
8
  scopes: ProjectScopeConfig;
9
9
  id: string;
10
10
  }) => Promise<{
11
- id: string;
12
11
  name: string | null;
13
- tenantId: string;
14
- projectId: string;
15
- agentId: string;
12
+ id: string;
16
13
  createdAt: string;
17
14
  updatedAt: string;
18
15
  expiresAt: string | null;
19
- lastUsedAt: string | null;
16
+ tenantId: string;
17
+ projectId: string;
18
+ agentId: string;
20
19
  publicId: string;
21
20
  keyHash: string;
22
21
  keyPrefix: string;
22
+ lastUsedAt: string | null;
23
23
  } | undefined>;
24
24
  declare const getApiKeyByPublicId: (db: AgentsRunDatabaseClient) => (publicId: string) => Promise<{
25
- id: string;
26
25
  name: string | null;
27
- tenantId: string;
28
- projectId: string;
29
- agentId: string;
26
+ id: string;
30
27
  createdAt: string;
31
28
  updatedAt: string;
32
29
  expiresAt: string | null;
33
- lastUsedAt: string | null;
30
+ tenantId: string;
31
+ projectId: string;
32
+ agentId: string;
34
33
  publicId: string;
35
34
  keyHash: string;
36
35
  keyPrefix: string;
36
+ lastUsedAt: string | null;
37
37
  } | undefined>;
38
38
  declare const listApiKeys: (db: AgentsRunDatabaseClient) => (params: {
39
39
  scopes: ProjectScopeConfig;
40
40
  agentId?: string;
41
41
  }) => Promise<{
42
- id: string;
43
42
  name: string | null;
44
- tenantId: string;
45
- projectId: string;
46
- agentId: string;
43
+ id: string;
47
44
  createdAt: string;
48
45
  updatedAt: string;
49
46
  expiresAt: string | null;
50
- lastUsedAt: string | null;
47
+ tenantId: string;
48
+ projectId: string;
49
+ agentId: string;
51
50
  publicId: string;
52
51
  keyHash: string;
53
52
  keyPrefix: string;
53
+ lastUsedAt: string | null;
54
54
  }[]>;
55
55
  declare const listApiKeysPaginated: (db: AgentsRunDatabaseClient) => (params: {
56
56
  scopes: ProjectScopeConfig;
@@ -66,18 +66,18 @@ declare const listApiKeysPaginated: (db: AgentsRunDatabaseClient) => (params: {
66
66
  };
67
67
  }>;
68
68
  declare const createApiKey: (db: AgentsRunDatabaseClient) => (params: ApiKeyInsert) => Promise<{
69
- id: string;
70
69
  name: string | null;
71
- tenantId: string;
72
- projectId: string;
73
- agentId: string;
70
+ id: string;
74
71
  createdAt: string;
75
72
  updatedAt: string;
76
73
  expiresAt: string | null;
77
- lastUsedAt: string | null;
74
+ tenantId: string;
75
+ projectId: string;
76
+ agentId: string;
78
77
  publicId: string;
79
78
  keyHash: string;
80
79
  keyPrefix: string;
80
+ lastUsedAt: string | null;
81
81
  }>;
82
82
  declare const updateApiKey: (db: AgentsRunDatabaseClient) => (params: {
83
83
  scopes: ProjectScopeConfig;
@@ -6,13 +6,16 @@ import { AppInsert, AppSelect, AppUpdate } from "../../types/entities.js";
6
6
  //#region src/data-access/runtime/apps.d.ts
7
7
  declare const getAppById: (db: AgentsRunDatabaseClient) => (id: string) => Promise<{
8
8
  type: AppType;
9
- id: string;
10
9
  name: string;
11
10
  description: string | null;
12
- tenantId: string | null;
13
- projectId: string | null;
11
+ id: string;
14
12
  createdAt: string;
15
13
  updatedAt: string;
14
+ tenantId: string | null;
15
+ projectId: string | null;
16
+ lastUsedAt: string | null;
17
+ defaultProjectId: string | null;
18
+ defaultAgentId: string | null;
16
19
  enabled: boolean;
17
20
  config: {
18
21
  type: "web_client";
@@ -23,9 +26,6 @@ declare const getAppById: (db: AgentsRunDatabaseClient) => (id: string) => Promi
23
26
  type: "api";
24
27
  api: Record<string, never>;
25
28
  };
26
- defaultAgentId: string | null;
27
- defaultProjectId: string | null;
28
- lastUsedAt: string | null;
29
29
  } | undefined>;
30
30
  declare const updateAppLastUsed: (db: AgentsRunDatabaseClient) => (id: string) => Promise<void>;
31
31
  declare const getAppByIdForTenant: (db: AgentsRunDatabaseClient) => (params: {
@@ -49,13 +49,16 @@ declare const listAppsPaginated: (db: AgentsRunDatabaseClient) => (params: {
49
49
  }>;
50
50
  declare const createApp: (db: AgentsRunDatabaseClient) => (params: AppInsert) => Promise<{
51
51
  type: AppType;
52
- id: string;
53
52
  name: string;
54
53
  description: string | null;
55
- tenantId: string | null;
56
- projectId: string | null;
54
+ id: string;
57
55
  createdAt: string;
58
56
  updatedAt: string;
57
+ tenantId: string | null;
58
+ projectId: string | null;
59
+ lastUsedAt: string | null;
60
+ defaultProjectId: string | null;
61
+ defaultAgentId: string | null;
59
62
  enabled: boolean;
60
63
  config: {
61
64
  type: "web_client";
@@ -66,9 +69,6 @@ declare const createApp: (db: AgentsRunDatabaseClient) => (params: AppInsert) =>
66
69
  type: "api";
67
70
  api: Record<string, never>;
68
71
  };
69
- defaultAgentId: string | null;
70
- defaultProjectId: string | null;
71
- lastUsedAt: string | null;
72
72
  }>;
73
73
  declare const updateAppForTenant: (db: AgentsRunDatabaseClient) => (params: {
74
74
  scopes: TenantScopeConfig;