@inkeep/agents-core 0.0.0-dev-20260320225026 → 0.0.0-dev-20260323133357

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