@inkeep/agents-core 0.78.2 → 0.78.3

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 (31) hide show
  1. package/dist/auth/auth-schema.d.ts +163 -163
  2. package/dist/auth/auth-validation-schemas.d.ts +154 -154
  3. package/dist/auth/auth.d.ts +9 -9
  4. package/dist/auth/permissions.d.ts +13 -13
  5. package/dist/data-access/manage/agents.d.ts +20 -20
  6. package/dist/data-access/manage/artifactComponents.d.ts +6 -6
  7. package/dist/data-access/manage/contextConfigs.d.ts +8 -8
  8. package/dist/data-access/manage/dataComponents.d.ts +2 -2
  9. package/dist/data-access/manage/functionTools.d.ts +6 -6
  10. package/dist/data-access/manage/skills.d.ts +9 -9
  11. package/dist/data-access/manage/subAgentExternalAgentRelations.d.ts +12 -12
  12. package/dist/data-access/manage/subAgentRelations.d.ts +14 -14
  13. package/dist/data-access/manage/subAgentTeamAgentRelations.d.ts +12 -12
  14. package/dist/data-access/manage/subAgents.d.ts +12 -12
  15. package/dist/data-access/manage/tools.d.ts +24 -24
  16. package/dist/data-access/manage/triggers.d.ts +4 -4
  17. package/dist/data-access/runtime/apiKeys.d.ts +8 -8
  18. package/dist/data-access/runtime/apps.d.ts +9 -9
  19. package/dist/data-access/runtime/conversations.d.ts +28 -28
  20. package/dist/data-access/runtime/events.d.ts +4 -4
  21. package/dist/data-access/runtime/feedback.d.ts +4 -4
  22. package/dist/data-access/runtime/messages.d.ts +27 -27
  23. package/dist/data-access/runtime/scheduledTriggerUsers.d.ts +1 -1
  24. package/dist/data-access/runtime/tasks.d.ts +6 -6
  25. package/dist/db/manage/manage-schema.d.ts +383 -383
  26. package/dist/db/runtime/runtime-schema.d.ts +419 -419
  27. package/dist/utils/error.d.ts +51 -51
  28. package/dist/validation/drizzle-schema-helpers.d.ts +3 -3
  29. package/dist/validation/schemas/skills.d.ts +39 -39
  30. package/dist/validation/schemas.d.ts +2099 -2099
  31. package/package.json +1 -1
@@ -10,12 +10,12 @@ declare const getSubAgentTeamAgentRelationById: (db: AgentsManageDatabaseClient)
10
10
  relationId: string;
11
11
  }) => Promise<{
12
12
  id: string;
13
- headers: Record<string, string> | null;
14
13
  createdAt: string;
15
14
  updatedAt: string;
16
- projectId: string;
17
15
  tenantId: string;
16
+ projectId: string;
18
17
  agentId: string;
18
+ headers: Record<string, string> | null;
19
19
  subAgentId: string;
20
20
  targetAgentId: string;
21
21
  } | undefined>;
@@ -45,12 +45,12 @@ declare const getSubAgentTeamAgentRelations: (db: AgentsManageDatabaseClient) =>
45
45
  scopes: SubAgentScopeConfig;
46
46
  }) => Promise<{
47
47
  id: string;
48
- headers: Record<string, string> | null;
49
48
  createdAt: string;
50
49
  updatedAt: string;
51
- projectId: string;
52
50
  tenantId: string;
51
+ projectId: string;
53
52
  agentId: string;
53
+ headers: Record<string, string> | null;
54
54
  subAgentId: string;
55
55
  targetAgentId: string;
56
56
  }[]>;
@@ -58,12 +58,12 @@ declare const getSubAgentTeamAgentRelationsByAgent: (db: AgentsManageDatabaseCli
58
58
  scopes: AgentScopeConfig;
59
59
  }) => Promise<{
60
60
  id: string;
61
- headers: Record<string, string> | null;
62
61
  createdAt: string;
63
62
  updatedAt: string;
64
- projectId: string;
65
63
  tenantId: string;
64
+ projectId: string;
66
65
  agentId: string;
66
+ headers: Record<string, string> | null;
67
67
  subAgentId: string;
68
68
  targetAgentId: string;
69
69
  }[]>;
@@ -223,12 +223,12 @@ declare const createSubAgentTeamAgentRelation: (db: AgentsManageDatabaseClient)
223
223
  };
224
224
  }) => Promise<{
225
225
  id: string;
226
- headers: Record<string, string> | null;
227
226
  createdAt: string;
228
227
  updatedAt: string;
229
- projectId: string;
230
228
  tenantId: string;
229
+ projectId: string;
231
230
  agentId: string;
231
+ headers: Record<string, string> | null;
232
232
  subAgentId: string;
233
233
  targetAgentId: string;
234
234
  }>;
@@ -240,12 +240,12 @@ declare const getSubAgentTeamAgentRelationByParams: (db: AgentsManageDatabaseCli
240
240
  targetAgentId: string;
241
241
  }) => Promise<{
242
242
  id: string;
243
- headers: Record<string, string> | null;
244
243
  createdAt: string;
245
244
  updatedAt: string;
246
- projectId: string;
247
245
  tenantId: string;
246
+ projectId: string;
248
247
  agentId: string;
248
+ headers: Record<string, string> | null;
249
249
  subAgentId: string;
250
250
  targetAgentId: string;
251
251
  } | undefined>;
@@ -261,12 +261,12 @@ declare const upsertSubAgentTeamAgentRelation: (db: AgentsManageDatabaseClient)
261
261
  };
262
262
  }) => Promise<{
263
263
  id: string;
264
- headers: Record<string, string> | null;
265
264
  createdAt: string;
266
265
  updatedAt: string;
267
- projectId: string;
268
266
  tenantId: string;
267
+ projectId: string;
269
268
  agentId: string;
269
+ headers: Record<string, string> | null;
270
270
  subAgentId: string;
271
271
  targetAgentId: string;
272
272
  }>;
@@ -11,11 +11,9 @@ declare const getSubAgentById: (db: AgentsManageDatabaseClient) => (params: {
11
11
  }) => Promise<{
12
12
  id: string;
13
13
  name: string;
14
- description: string | null;
15
14
  createdAt: string;
16
15
  updatedAt: string;
17
- projectId: string;
18
- tenantId: string;
16
+ description: string | null;
19
17
  models: {
20
18
  base?: {
21
19
  model?: string | undefined;
@@ -39,8 +37,10 @@ declare const getSubAgentById: (db: AgentsManageDatabaseClient) => (params: {
39
37
  stopWhen: {
40
38
  stepCountIs?: number | undefined;
41
39
  } | null;
42
- agentId: string;
40
+ tenantId: string;
43
41
  prompt: string | null;
42
+ projectId: string;
43
+ agentId: string;
44
44
  conversationHistoryConfig: ConversationHistoryConfig | null;
45
45
  outputContract: {
46
46
  [x: string]: unknown;
@@ -57,11 +57,9 @@ declare const listSubAgents: (db: AgentsManageDatabaseClient) => (params: {
57
57
  }) => Promise<{
58
58
  id: string;
59
59
  name: string;
60
- description: string | null;
61
60
  createdAt: string;
62
61
  updatedAt: string;
63
- projectId: string;
64
- tenantId: string;
62
+ description: string | null;
65
63
  models: {
66
64
  base?: {
67
65
  model?: string | undefined;
@@ -85,8 +83,10 @@ declare const listSubAgents: (db: AgentsManageDatabaseClient) => (params: {
85
83
  stopWhen: {
86
84
  stepCountIs?: number | undefined;
87
85
  } | null;
88
- agentId: string;
86
+ tenantId: string;
89
87
  prompt: string | null;
88
+ projectId: string;
89
+ agentId: string;
90
90
  conversationHistoryConfig: ConversationHistoryConfig | null;
91
91
  outputContract: {
92
92
  [x: string]: unknown;
@@ -156,11 +156,9 @@ declare const listSubAgentsPaginated: (db: AgentsManageDatabaseClient) => (param
156
156
  declare const createSubAgent: (db: AgentsManageDatabaseClient) => (params: SubAgentInsert) => Promise<{
157
157
  id: string;
158
158
  name: string;
159
- description: string | null;
160
159
  createdAt: string;
161
160
  updatedAt: string;
162
- projectId: string;
163
- tenantId: string;
161
+ description: string | null;
164
162
  models: {
165
163
  base?: {
166
164
  model?: string | undefined;
@@ -184,8 +182,10 @@ declare const createSubAgent: (db: AgentsManageDatabaseClient) => (params: SubAg
184
182
  stopWhen: {
185
183
  stepCountIs?: number | undefined;
186
184
  } | null;
187
- agentId: string;
185
+ tenantId: string;
188
186
  prompt: string | null;
187
+ projectId: string;
188
+ agentId: string;
189
189
  conversationHistoryConfig: ConversationHistoryConfig | null;
190
190
  outputContract: {
191
191
  [x: string]: unknown;
@@ -22,17 +22,17 @@ declare const getToolById: (db: AgentsManageDatabaseClient) => (params: {
22
22
  }) => Promise<{
23
23
  id: string;
24
24
  name: string;
25
- description: string | null;
26
- headers: Record<string, string> | null;
27
25
  createdAt: string;
28
26
  updatedAt: string;
29
- projectId: string;
27
+ description: string | null;
30
28
  tenantId: string;
29
+ projectId: string;
30
+ headers: Record<string, string> | null;
31
+ credentialReferenceId: string | null;
31
32
  config: {
32
33
  type: "mcp";
33
34
  mcp: ToolMcpConfig;
34
35
  };
35
- credentialReferenceId: string | null;
36
36
  credentialScope: string;
37
37
  imageUrl: string | null;
38
38
  capabilities: ToolServerCapabilities | null;
@@ -80,17 +80,17 @@ declare const listTools: (db: AgentsManageDatabaseClient) => (params: {
80
80
  declare const createTool: (db: AgentsManageDatabaseClient) => (params: ToolInsert) => Promise<{
81
81
  id: string;
82
82
  name: string;
83
- description: string | null;
84
- headers: Record<string, string> | null;
85
83
  createdAt: string;
86
84
  updatedAt: string;
87
- projectId: string;
85
+ description: string | null;
88
86
  tenantId: string;
87
+ projectId: string;
88
+ headers: Record<string, string> | null;
89
+ credentialReferenceId: string | null;
89
90
  config: {
90
91
  type: "mcp";
91
92
  mcp: ToolMcpConfig;
92
93
  };
93
- credentialReferenceId: string | null;
94
94
  credentialScope: string;
95
95
  imageUrl: string | null;
96
96
  capabilities: ToolServerCapabilities | null;
@@ -136,18 +136,18 @@ declare const addToolToAgent: (db: AgentsManageDatabaseClient) => (params: {
136
136
  }> | null;
137
137
  }) => Promise<{
138
138
  id: string;
139
- headers: Record<string, string> | null;
140
139
  createdAt: string;
141
140
  updatedAt: string;
142
- projectId: string;
143
141
  tenantId: string;
142
+ projectId: string;
144
143
  agentId: string;
145
- subAgentId: string;
146
144
  toolId: string;
145
+ headers: Record<string, string> | null;
146
+ subAgentId: string;
147
+ selectedTools: string[] | null;
147
148
  toolPolicies: Record<string, {
148
149
  needsApproval?: boolean;
149
150
  }> | null;
150
- selectedTools: string[] | null;
151
151
  }>;
152
152
  declare const removeToolFromAgent: (db: AgentsManageDatabaseClient) => (params: {
153
153
  scopes: AgentScopeConfig;
@@ -155,18 +155,18 @@ declare const removeToolFromAgent: (db: AgentsManageDatabaseClient) => (params:
155
155
  toolId: string;
156
156
  }) => Promise<{
157
157
  id: string;
158
- headers: Record<string, string> | null;
159
158
  createdAt: string;
160
159
  updatedAt: string;
161
- projectId: string;
162
160
  tenantId: string;
161
+ projectId: string;
163
162
  agentId: string;
164
- subAgentId: string;
165
163
  toolId: string;
164
+ headers: Record<string, string> | null;
165
+ subAgentId: string;
166
+ selectedTools: string[] | null;
166
167
  toolPolicies: Record<string, {
167
168
  needsApproval?: boolean;
168
169
  }> | 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)
@@ -183,18 +183,18 @@ declare const upsertSubAgentToolRelation: (db: AgentsManageDatabaseClient) => (p
183
183
  relationId?: string;
184
184
  }) => Promise<{
185
185
  id: string;
186
- headers: Record<string, string> | null;
187
186
  createdAt: string;
188
187
  updatedAt: string;
189
- projectId: string;
190
188
  tenantId: string;
189
+ projectId: string;
191
190
  agentId: string;
192
- subAgentId: string;
193
191
  toolId: string;
192
+ headers: Record<string, string> | null;
193
+ subAgentId: string;
194
+ selectedTools: string[] | null;
194
195
  toolPolicies: Record<string, {
195
196
  needsApproval?: boolean;
196
197
  }> | null;
197
- selectedTools: string[] | null;
198
198
  }>;
199
199
  /**
200
200
  * Upsert a tool (create if it doesn't exist, update if it does)
@@ -204,17 +204,17 @@ declare const upsertTool: (db: AgentsManageDatabaseClient) => (params: {
204
204
  }) => Promise<{
205
205
  id: string;
206
206
  name: string;
207
- description: string | null;
208
- headers: Record<string, string> | null;
209
207
  createdAt: string;
210
208
  updatedAt: string;
211
- projectId: string;
209
+ description: string | null;
212
210
  tenantId: string;
211
+ projectId: string;
212
+ headers: Record<string, string> | null;
213
+ credentialReferenceId: string | null;
213
214
  config: {
214
215
  type: "mcp";
215
216
  mcp: ToolMcpConfig;
216
217
  };
217
- credentialReferenceId: string | null;
218
218
  credentialScope: string;
219
219
  imageUrl: string | null;
220
220
  capabilities: ToolServerCapabilities | null;
@@ -37,8 +37,8 @@ declare const listTriggersPaginated: (db: AgentsManageDatabaseClient) => (params
37
37
  authentication: unknown;
38
38
  signingSecretCredentialReferenceId: string | null;
39
39
  signatureVerification: {
40
- algorithm: "md5" | "sha256" | "sha512" | "sha384" | "sha1";
41
- encoding: "base64" | "hex";
40
+ algorithm: "sha256" | "sha512" | "sha384" | "sha1" | "md5";
41
+ encoding: "hex" | "base64";
42
42
  signature: {
43
43
  source: "query" | "header" | "body";
44
44
  key: string;
@@ -132,10 +132,10 @@ declare const createTriggerUser: (db: AgentsManageDatabaseClient) => (params: {
132
132
  userId: string;
133
133
  }) => Promise<{
134
134
  createdAt: string;
135
- projectId: string;
135
+ userId: string;
136
136
  tenantId: string;
137
+ projectId: string;
137
138
  agentId: string;
138
- userId: string;
139
139
  triggerId: string;
140
140
  }>;
141
141
  declare const deleteTriggerUser: (db: AgentsManageDatabaseClient) => (params: {
@@ -12,10 +12,10 @@ declare const getApiKeyById: (db: AgentsRunDatabaseClient) => (params: {
12
12
  name: string | null;
13
13
  createdAt: string;
14
14
  updatedAt: string;
15
- projectId: string;
15
+ expiresAt: string | null;
16
16
  tenantId: string;
17
+ projectId: string;
17
18
  agentId: string;
18
- expiresAt: string | null;
19
19
  publicId: string;
20
20
  keyHash: string;
21
21
  keyPrefix: string;
@@ -26,10 +26,10 @@ declare const getApiKeyByPublicId: (db: AgentsRunDatabaseClient) => (publicId: s
26
26
  name: string | null;
27
27
  createdAt: string;
28
28
  updatedAt: string;
29
- projectId: string;
29
+ expiresAt: string | null;
30
30
  tenantId: string;
31
+ projectId: string;
31
32
  agentId: string;
32
- expiresAt: string | null;
33
33
  publicId: string;
34
34
  keyHash: string;
35
35
  keyPrefix: string;
@@ -43,10 +43,10 @@ declare const listApiKeys: (db: AgentsRunDatabaseClient) => (params: {
43
43
  name: string | null;
44
44
  createdAt: string;
45
45
  updatedAt: string;
46
- projectId: string;
46
+ expiresAt: string | null;
47
47
  tenantId: string;
48
+ projectId: string;
48
49
  agentId: string;
49
- expiresAt: string | null;
50
50
  publicId: string;
51
51
  keyHash: string;
52
52
  keyPrefix: string;
@@ -70,10 +70,10 @@ declare const createApiKey: (db: AgentsRunDatabaseClient) => (params: ApiKeyInse
70
70
  name: string | null;
71
71
  createdAt: string;
72
72
  updatedAt: string;
73
- projectId: string;
73
+ expiresAt: string | null;
74
74
  tenantId: string;
75
+ projectId: string;
75
76
  agentId: string;
76
- expiresAt: string | null;
77
77
  publicId: string;
78
78
  keyHash: string;
79
79
  keyPrefix: string;
@@ -8,13 +8,13 @@ declare const getAppById: (db: AgentsRunDatabaseClient) => (id: string) => Promi
8
8
  type: AppType;
9
9
  id: string;
10
10
  name: string;
11
- description: string | null;
12
- enabled: boolean;
13
11
  createdAt: string;
14
12
  updatedAt: string;
15
- projectId: string | null;
13
+ description: string | null;
16
14
  tenantId: string | null;
15
+ enabled: boolean;
17
16
  prompt: string | null;
17
+ projectId: string | null;
18
18
  config: {
19
19
  type: "web_client";
20
20
  webClient: {
@@ -22,7 +22,7 @@ declare const getAppById: (db: AgentsRunDatabaseClient) => (id: string) => Promi
22
22
  publicKeys: {
23
23
  kid: string;
24
24
  publicKey: string;
25
- algorithm: "EdDSA" | "ES256" | "ES512" | "RS256" | "RS384" | "RS512" | "ES384";
25
+ algorithm: "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "EdDSA";
26
26
  addedAt: string;
27
27
  }[];
28
28
  allowAnonymous: boolean;
@@ -77,13 +77,13 @@ declare const createApp: (db: AgentsRunDatabaseClient) => (params: AppInsert) =>
77
77
  type: AppType;
78
78
  id: string;
79
79
  name: string;
80
- description: string | null;
81
- enabled: boolean;
82
80
  createdAt: string;
83
81
  updatedAt: string;
84
- projectId: string | null;
82
+ description: string | null;
85
83
  tenantId: string | null;
84
+ enabled: boolean;
86
85
  prompt: string | null;
86
+ projectId: string | null;
87
87
  config: {
88
88
  type: "web_client";
89
89
  webClient: {
@@ -91,7 +91,7 @@ declare const createApp: (db: AgentsRunDatabaseClient) => (params: AppInsert) =>
91
91
  publicKeys: {
92
92
  kid: string;
93
93
  publicKey: string;
94
- algorithm: "EdDSA" | "ES256" | "ES512" | "RS256" | "RS384" | "RS512" | "ES384";
94
+ algorithm: "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "EdDSA";
95
95
  addedAt: string;
96
96
  }[];
97
97
  allowAnonymous: boolean;
@@ -174,7 +174,7 @@ declare const updateApp: (db: AgentsRunDatabaseClient) => (params: {
174
174
  publicKeys: {
175
175
  kid: string;
176
176
  publicKey: string;
177
- algorithm: "EdDSA" | "ES256" | "ES512" | "RS256" | "RS384" | "RS512" | "ES384";
177
+ algorithm: "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "EdDSA";
178
178
  addedAt: string;
179
179
  }[];
180
180
  allowAnonymous: boolean;
@@ -19,21 +19,21 @@ declare const createConversation: (db: AgentsRunDatabaseClient) => (params: Conv
19
19
  id: string;
20
20
  createdAt: string;
21
21
  updatedAt: string;
22
- projectId: string;
23
- tenantId: string;
24
- properties: Record<string, unknown> | null;
25
- title: string | null;
26
- metadata: ConversationMetadata | null;
27
- agentId: string | null;
28
22
  ref: {
29
23
  type: "commit" | "tag" | "branch";
30
24
  name: string;
31
25
  hash: string;
32
26
  } | null;
33
27
  userId: string | null;
34
- userProperties: Record<string, unknown> | null;
28
+ metadata: ConversationMetadata | null;
29
+ properties: Record<string, unknown> | null;
30
+ title: string | null;
31
+ tenantId: string;
32
+ projectId: string;
33
+ agentId: string | null;
35
34
  activeSubAgentId: string;
36
35
  lastContextResolution: string | null;
36
+ userProperties: Record<string, unknown> | null;
37
37
  }>;
38
38
  declare const updateConversation: (db: AgentsRunDatabaseClient) => (params: {
39
39
  scopes: ProjectScopeConfig;
@@ -94,21 +94,21 @@ declare const getConversation: (db: AgentsRunDatabaseClient) => (params: {
94
94
  id: string;
95
95
  createdAt: string;
96
96
  updatedAt: string;
97
- projectId: string;
98
- tenantId: string;
99
- properties: Record<string, unknown> | null;
100
- title: string | null;
101
- metadata: ConversationMetadata | null;
102
- agentId: string | null;
103
97
  ref: {
104
98
  type: "commit" | "tag" | "branch";
105
99
  name: string;
106
100
  hash: string;
107
101
  } | null;
108
102
  userId: string | null;
109
- userProperties: Record<string, unknown> | null;
103
+ metadata: ConversationMetadata | null;
104
+ properties: Record<string, unknown> | null;
105
+ title: string | null;
106
+ tenantId: string;
107
+ projectId: string;
108
+ agentId: string | null;
110
109
  activeSubAgentId: string;
111
110
  lastContextResolution: string | null;
111
+ userProperties: Record<string, unknown> | null;
112
112
  } | undefined>;
113
113
  /**
114
114
  * Batch-fetch conversations by id within a project scope.
@@ -149,21 +149,21 @@ declare const createOrGetConversation: (db: AgentsRunDatabaseClient) => (input:
149
149
  id: string;
150
150
  createdAt: string;
151
151
  updatedAt: string;
152
- projectId: string;
153
- tenantId: string;
154
- properties: Record<string, unknown> | null;
155
- title: string | null;
156
- metadata: ConversationMetadata | null;
157
- agentId: string | null;
158
152
  ref: {
159
153
  type: "commit" | "tag" | "branch";
160
154
  name: string;
161
155
  hash: string;
162
156
  } | null;
163
157
  userId: string | null;
164
- userProperties: Record<string, unknown> | null;
158
+ metadata: ConversationMetadata | null;
159
+ properties: Record<string, unknown> | null;
160
+ title: string | null;
161
+ tenantId: string;
162
+ projectId: string;
163
+ agentId: string | null;
165
164
  activeSubAgentId: string;
166
165
  lastContextResolution: string | null;
166
+ userProperties: Record<string, unknown> | null;
167
167
  }>;
168
168
  /**
169
169
  * Extract text content from message content object
@@ -187,21 +187,21 @@ declare const getActiveAgentForConversation: (db: AgentsRunDatabaseClient) => (p
187
187
  id: string;
188
188
  createdAt: string;
189
189
  updatedAt: string;
190
- projectId: string;
191
- tenantId: string;
192
- properties: Record<string, unknown> | null;
193
- title: string | null;
194
- metadata: ConversationMetadata | null;
195
- agentId: string | null;
196
190
  ref: {
197
191
  type: "commit" | "tag" | "branch";
198
192
  name: string;
199
193
  hash: string;
200
194
  } | null;
201
195
  userId: string | null;
202
- userProperties: Record<string, unknown> | null;
196
+ metadata: ConversationMetadata | null;
197
+ properties: Record<string, unknown> | null;
198
+ title: string | null;
199
+ tenantId: string;
200
+ projectId: string;
201
+ agentId: string | null;
203
202
  activeSubAgentId: string;
204
203
  lastContextResolution: string | null;
204
+ userProperties: Record<string, unknown> | null;
205
205
  } | undefined>;
206
206
  /**
207
207
  * Set active agent for a conversation (upsert operation)
@@ -11,14 +11,14 @@ declare const createEvent: (db: AgentsRunDatabaseClient) => (params: EventInsert
11
11
  id: string;
12
12
  createdAt: string;
13
13
  updatedAt: string;
14
- projectId: string;
15
- tenantId: string;
16
- properties: Record<string, unknown> | null;
17
14
  metadata: Record<string, unknown> | null;
15
+ properties: Record<string, unknown> | null;
16
+ tenantId: string;
17
+ projectId: string;
18
18
  agentId: string | null;
19
+ userProperties: Record<string, unknown> | null;
19
20
  conversationId: string | null;
20
21
  messageId: string | null;
21
- userProperties: Record<string, unknown> | null;
22
22
  serverMetadata: {
23
23
  [k: string]: unknown;
24
24
  authMethod?: string;
@@ -74,11 +74,11 @@ declare const createFeedback: (db: AgentsRunDatabaseClient) => (params: Feedback
74
74
  id: string;
75
75
  createdAt: string;
76
76
  updatedAt: string;
77
- projectId: string;
78
77
  tenantId: string;
78
+ projectId: string;
79
+ details: string | null;
79
80
  conversationId: string;
80
81
  messageId: string | null;
81
- details: string | null;
82
82
  }>;
83
83
  declare const createFeedbackBulk: (db: AgentsRunDatabaseClient) => (items: FeedbackInsert[]) => Promise<(typeof feedback.$inferSelect)[]>;
84
84
  declare const updateFeedback: (db: AgentsRunDatabaseClient) => (params: {
@@ -104,11 +104,11 @@ declare const deleteFeedback: (db: AgentsRunDatabaseClient) => (params: {
104
104
  id: string;
105
105
  createdAt: string;
106
106
  updatedAt: string;
107
- projectId: string;
108
107
  tenantId: string;
108
+ projectId: string;
109
+ details: string | null;
109
110
  conversationId: string;
110
111
  messageId: string | null;
111
- details: string | null;
112
112
  }>;
113
113
  //#endregion
114
114
  export { createFeedback, createFeedbackBulk, deleteFeedback, getFeedbackById, getFeedbackByIds, listFeedback, listFeedbackByConversation, updateFeedback };