@inkeep/agents-core 0.53.2 → 0.53.4

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 (29) hide show
  1. package/dist/auth/auth-schema.d.ts +107 -107
  2. package/dist/auth/auth-validation-schemas.d.ts +152 -152
  3. package/dist/auth/auth.d.ts +458 -429
  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 +8 -8
  7. package/dist/data-access/manage/contextConfigs.d.ts +4 -4
  8. package/dist/data-access/manage/dataComponents.d.ts +2 -2
  9. package/dist/data-access/manage/functionTools.d.ts +8 -8
  10. package/dist/data-access/manage/skills.d.ts +8 -8
  11. package/dist/data-access/manage/subAgentExternalAgentRelations.d.ts +6 -6
  12. package/dist/data-access/manage/subAgentRelations.d.ts +10 -10
  13. package/dist/data-access/manage/subAgentTeamAgentRelations.d.ts +6 -6
  14. package/dist/data-access/manage/subAgents.d.ts +12 -12
  15. package/dist/data-access/manage/tools.d.ts +9 -9
  16. package/dist/data-access/manage/triggers.d.ts +1 -1
  17. package/dist/data-access/runtime/apiKeys.d.ts +8 -8
  18. package/dist/data-access/runtime/conversations.d.ts +12 -12
  19. package/dist/data-access/runtime/messages.d.ts +21 -21
  20. package/dist/data-access/runtime/scheduledTriggerInvocations.d.ts +3 -3
  21. package/dist/data-access/runtime/tasks.d.ts +3 -3
  22. package/dist/db/manage/manage-schema.d.ts +447 -447
  23. package/dist/db/runtime/runtime-schema.d.ts +292 -292
  24. package/dist/utils/slack-link-token.d.ts +2 -0
  25. package/dist/utils/slack-link-token.js +2 -1
  26. package/dist/validation/drizzle-schema-helpers.d.ts +3 -3
  27. package/dist/validation/schemas.d.ts +1805 -1805
  28. package/dist/validation/schemas.js +2 -1
  29. package/package.json +3 -3
@@ -11,11 +11,11 @@ declare const getSubAgentTeamAgentRelationById: (db: AgentsManageDatabaseClient)
11
11
  }) => Promise<{
12
12
  tenantId: string;
13
13
  projectId: string;
14
- agentId: string;
15
14
  subAgentId: string;
16
15
  id: string;
17
16
  createdAt: string;
18
17
  updatedAt: string;
18
+ agentId: string;
19
19
  headers: Record<string, string> | null;
20
20
  targetAgentId: string;
21
21
  } | undefined>;
@@ -46,11 +46,11 @@ declare const getSubAgentTeamAgentRelations: (db: AgentsManageDatabaseClient) =>
46
46
  }) => Promise<{
47
47
  tenantId: string;
48
48
  projectId: string;
49
- agentId: string;
50
49
  subAgentId: string;
51
50
  id: string;
52
51
  createdAt: string;
53
52
  updatedAt: string;
53
+ agentId: string;
54
54
  headers: Record<string, string> | null;
55
55
  targetAgentId: string;
56
56
  }[]>;
@@ -59,11 +59,11 @@ declare const getSubAgentTeamAgentRelationsByAgent: (db: AgentsManageDatabaseCli
59
59
  }) => Promise<{
60
60
  tenantId: string;
61
61
  projectId: string;
62
- agentId: string;
63
62
  subAgentId: string;
64
63
  id: string;
65
64
  createdAt: string;
66
65
  updatedAt: string;
66
+ agentId: string;
67
67
  headers: Record<string, string> | null;
68
68
  targetAgentId: string;
69
69
  }[]>;
@@ -212,11 +212,11 @@ declare const createSubAgentTeamAgentRelation: (db: AgentsManageDatabaseClient)
212
212
  }) => Promise<{
213
213
  tenantId: string;
214
214
  projectId: string;
215
- agentId: string;
216
215
  subAgentId: string;
217
216
  id: string;
218
217
  createdAt: string;
219
218
  updatedAt: string;
219
+ agentId: string;
220
220
  headers: Record<string, string> | null;
221
221
  targetAgentId: string;
222
222
  }>;
@@ -229,11 +229,11 @@ declare const getSubAgentTeamAgentRelationByParams: (db: AgentsManageDatabaseCli
229
229
  }) => Promise<{
230
230
  tenantId: string;
231
231
  projectId: string;
232
- agentId: string;
233
232
  subAgentId: string;
234
233
  id: string;
235
234
  createdAt: string;
236
235
  updatedAt: string;
236
+ agentId: string;
237
237
  headers: Record<string, string> | null;
238
238
  targetAgentId: string;
239
239
  } | undefined>;
@@ -250,11 +250,11 @@ declare const upsertSubAgentTeamAgentRelation: (db: AgentsManageDatabaseClient)
250
250
  }) => Promise<{
251
251
  tenantId: string;
252
252
  projectId: string;
253
- agentId: string;
254
253
  subAgentId: string;
255
254
  id: string;
256
255
  createdAt: string;
257
256
  updatedAt: string;
257
+ agentId: string;
258
258
  headers: Record<string, string> | null;
259
259
  targetAgentId: string;
260
260
  }>;
@@ -9,12 +9,13 @@ declare const getSubAgentById: (db: AgentsManageDatabaseClient) => (params: {
9
9
  scopes: AgentScopeConfig;
10
10
  subAgentId: string;
11
11
  }) => Promise<{
12
- name: string;
13
12
  description: string | null;
13
+ name: string;
14
14
  tenantId: string;
15
15
  projectId: string;
16
- agentId: string;
17
16
  id: string;
17
+ createdAt: string;
18
+ updatedAt: string;
18
19
  models: {
19
20
  base?: {
20
21
  model?: string | undefined;
@@ -32,20 +33,20 @@ declare const getSubAgentById: (db: AgentsManageDatabaseClient) => (params: {
32
33
  stopWhen: {
33
34
  stepCountIs?: number | undefined;
34
35
  } | null;
35
- createdAt: string;
36
- updatedAt: string;
37
36
  prompt: string | null;
38
37
  conversationHistoryConfig: ConversationHistoryConfig | null;
38
+ agentId: string;
39
39
  } | undefined>;
40
40
  declare const listSubAgents: (db: AgentsManageDatabaseClient) => (params: {
41
41
  scopes: AgentScopeConfig;
42
42
  }) => Promise<{
43
- name: string;
44
43
  description: string | null;
44
+ name: string;
45
45
  tenantId: string;
46
46
  projectId: string;
47
- agentId: string;
48
47
  id: string;
48
+ createdAt: string;
49
+ updatedAt: string;
49
50
  models: {
50
51
  base?: {
51
52
  model?: string | undefined;
@@ -63,10 +64,9 @@ declare const listSubAgents: (db: AgentsManageDatabaseClient) => (params: {
63
64
  stopWhen: {
64
65
  stepCountIs?: number | undefined;
65
66
  } | null;
66
- createdAt: string;
67
- updatedAt: string;
68
67
  prompt: string | null;
69
68
  conversationHistoryConfig: ConversationHistoryConfig | null;
69
+ agentId: string;
70
70
  }[]>;
71
71
  declare const listSubAgentsPaginated: (db: AgentsManageDatabaseClient) => (params: {
72
72
  scopes: AgentScopeConfig;
@@ -109,12 +109,13 @@ declare const listSubAgentsPaginated: (db: AgentsManageDatabaseClient) => (param
109
109
  };
110
110
  }>;
111
111
  declare const createSubAgent: (db: AgentsManageDatabaseClient) => (params: SubAgentInsert) => Promise<{
112
- name: string;
113
112
  description: string | null;
113
+ name: string;
114
114
  tenantId: string;
115
115
  projectId: string;
116
- agentId: string;
117
116
  id: string;
117
+ createdAt: string;
118
+ updatedAt: string;
118
119
  models: {
119
120
  base?: {
120
121
  model?: string | undefined;
@@ -132,10 +133,9 @@ declare const createSubAgent: (db: AgentsManageDatabaseClient) => (params: SubAg
132
133
  stopWhen: {
133
134
  stepCountIs?: number | undefined;
134
135
  } | null;
135
- createdAt: string;
136
- updatedAt: string;
137
136
  prompt: string | null;
138
137
  conversationHistoryConfig: ConversationHistoryConfig | null;
138
+ agentId: string;
139
139
  }>;
140
140
  declare const updateSubAgent: (db: AgentsManageDatabaseClient) => (params: {
141
141
  scopes: AgentScopeConfig;
@@ -19,8 +19,8 @@ declare const getToolById: (db: AgentsManageDatabaseClient) => (params: {
19
19
  scopes: ProjectScopeConfig;
20
20
  toolId: string;
21
21
  }) => Promise<{
22
- name: string;
23
22
  description: string | null;
23
+ name: string;
24
24
  tenantId: string;
25
25
  projectId: string;
26
26
  id: string;
@@ -77,8 +77,8 @@ declare const listTools: (db: AgentsManageDatabaseClient) => (params: {
77
77
  };
78
78
  }>;
79
79
  declare const createTool: (db: AgentsManageDatabaseClient) => (params: ToolInsert) => Promise<{
80
- name: string;
81
80
  description: string | null;
81
+ name: string;
82
82
  tenantId: string;
83
83
  projectId: string;
84
84
  id: string;
@@ -136,13 +136,13 @@ declare const addToolToAgent: (db: AgentsManageDatabaseClient) => (params: {
136
136
  }) => Promise<{
137
137
  tenantId: string;
138
138
  projectId: string;
139
- agentId: string;
140
139
  subAgentId: string;
141
140
  id: string;
142
141
  createdAt: string;
143
142
  updatedAt: string;
144
- toolId: string;
143
+ agentId: string;
145
144
  headers: Record<string, string> | null;
145
+ toolId: string;
146
146
  toolPolicies: Record<string, {
147
147
  needsApproval?: boolean;
148
148
  }> | null;
@@ -155,13 +155,13 @@ declare const removeToolFromAgent: (db: AgentsManageDatabaseClient) => (params:
155
155
  }) => Promise<{
156
156
  tenantId: string;
157
157
  projectId: string;
158
- agentId: string;
159
158
  subAgentId: string;
160
159
  id: string;
161
160
  createdAt: string;
162
161
  updatedAt: string;
163
- toolId: string;
162
+ agentId: string;
164
163
  headers: Record<string, string> | null;
164
+ toolId: string;
165
165
  toolPolicies: Record<string, {
166
166
  needsApproval?: boolean;
167
167
  }> | null;
@@ -183,13 +183,13 @@ declare const upsertSubAgentToolRelation: (db: AgentsManageDatabaseClient) => (p
183
183
  }) => Promise<{
184
184
  tenantId: string;
185
185
  projectId: string;
186
- agentId: string;
187
186
  subAgentId: string;
188
187
  id: string;
189
188
  createdAt: string;
190
189
  updatedAt: string;
191
- toolId: string;
190
+ agentId: string;
192
191
  headers: Record<string, string> | null;
192
+ toolId: string;
193
193
  toolPolicies: Record<string, {
194
194
  needsApproval?: boolean;
195
195
  }> | null;
@@ -201,8 +201,8 @@ declare const upsertSubAgentToolRelation: (db: AgentsManageDatabaseClient) => (p
201
201
  declare const upsertTool: (db: AgentsManageDatabaseClient) => (params: {
202
202
  data: ToolInsert;
203
203
  }) => Promise<{
204
- name: string;
205
204
  description: string | null;
205
+ name: string;
206
206
  tenantId: string;
207
207
  projectId: string;
208
208
  id: string;
@@ -46,7 +46,7 @@ declare const listTriggersPaginated: (db: AgentsManageDatabaseClient) => (params
46
46
  regex?: string | undefined;
47
47
  };
48
48
  signedComponents: {
49
- source: "header" | "literal" | "body";
49
+ source: "literal" | "header" | "body";
50
50
  required: boolean;
51
51
  key?: string | undefined;
52
52
  value?: string | undefined;
@@ -11,29 +11,29 @@ declare const getApiKeyById: (db: AgentsRunDatabaseClient) => (params: {
11
11
  name: string | null;
12
12
  tenantId: string;
13
13
  projectId: string;
14
- agentId: string;
15
14
  id: string;
16
15
  createdAt: string;
17
16
  updatedAt: string;
18
- expiresAt: string | null;
17
+ agentId: string;
19
18
  publicId: string;
20
19
  keyHash: string;
21
20
  keyPrefix: string;
22
21
  lastUsedAt: string | null;
22
+ expiresAt: string | null;
23
23
  } | undefined>;
24
24
  declare const getApiKeyByPublicId: (db: AgentsRunDatabaseClient) => (publicId: string) => Promise<{
25
25
  name: string | null;
26
26
  tenantId: string;
27
27
  projectId: string;
28
- agentId: string;
29
28
  id: string;
30
29
  createdAt: string;
31
30
  updatedAt: string;
32
- expiresAt: string | null;
31
+ agentId: string;
33
32
  publicId: string;
34
33
  keyHash: string;
35
34
  keyPrefix: string;
36
35
  lastUsedAt: string | null;
36
+ expiresAt: string | null;
37
37
  } | undefined>;
38
38
  declare const listApiKeys: (db: AgentsRunDatabaseClient) => (params: {
39
39
  scopes: ProjectScopeConfig;
@@ -42,15 +42,15 @@ declare const listApiKeys: (db: AgentsRunDatabaseClient) => (params: {
42
42
  name: string | null;
43
43
  tenantId: string;
44
44
  projectId: string;
45
- agentId: string;
46
45
  id: string;
47
46
  createdAt: string;
48
47
  updatedAt: string;
49
- expiresAt: string | null;
48
+ agentId: string;
50
49
  publicId: string;
51
50
  keyHash: string;
52
51
  keyPrefix: string;
53
52
  lastUsedAt: string | null;
53
+ expiresAt: string | null;
54
54
  }[]>;
55
55
  declare const listApiKeysPaginated: (db: AgentsRunDatabaseClient) => (params: {
56
56
  scopes: ProjectScopeConfig;
@@ -69,15 +69,15 @@ declare const createApiKey: (db: AgentsRunDatabaseClient) => (params: ApiKeyInse
69
69
  name: string | null;
70
70
  tenantId: string;
71
71
  projectId: string;
72
- agentId: string;
73
72
  id: string;
74
73
  createdAt: string;
75
74
  updatedAt: string;
76
- expiresAt: string | null;
75
+ agentId: string;
77
76
  publicId: string;
78
77
  keyHash: string;
79
78
  keyPrefix: string;
80
79
  lastUsedAt: string | null;
80
+ expiresAt: string | null;
81
81
  }>;
82
82
  declare const updateApiKey: (db: AgentsRunDatabaseClient) => (params: {
83
83
  scopes: ProjectScopeConfig;
@@ -19,18 +19,18 @@ declare const createConversation: (db: AgentsRunDatabaseClient) => (params: Conv
19
19
  title: string | null;
20
20
  tenantId: string;
21
21
  projectId: string;
22
- agentId: string | null;
23
- userId: string | null;
24
22
  id: string;
25
23
  createdAt: string;
26
24
  updatedAt: string;
27
25
  metadata: ConversationMetadata | null;
28
- activeSubAgentId: string;
26
+ agentId: string | null;
27
+ userId: string | null;
29
28
  ref: {
30
29
  type: "commit" | "tag" | "branch";
31
30
  name: string;
32
31
  hash: string;
33
32
  } | null;
33
+ activeSubAgentId: string;
34
34
  lastContextResolution: string | null;
35
35
  }>;
36
36
  declare const updateConversation: (db: AgentsRunDatabaseClient) => (params: {
@@ -88,18 +88,18 @@ declare const getConversation: (db: AgentsRunDatabaseClient) => (params: {
88
88
  title: string | null;
89
89
  tenantId: string;
90
90
  projectId: string;
91
- agentId: string | null;
92
- userId: string | null;
93
91
  id: string;
94
92
  createdAt: string;
95
93
  updatedAt: string;
96
94
  metadata: ConversationMetadata | null;
97
- activeSubAgentId: string;
95
+ agentId: string | null;
96
+ userId: string | null;
98
97
  ref: {
99
98
  type: "commit" | "tag" | "branch";
100
99
  name: string;
101
100
  hash: string;
102
101
  } | null;
102
+ activeSubAgentId: string;
103
103
  lastContextResolution: string | null;
104
104
  } | undefined>;
105
105
  declare const createOrGetConversation: (db: AgentsRunDatabaseClient) => (input: ConversationInsert) => Promise<{
@@ -124,18 +124,18 @@ declare const createOrGetConversation: (db: AgentsRunDatabaseClient) => (input:
124
124
  title: string | null;
125
125
  tenantId: string;
126
126
  projectId: string;
127
- agentId: string | null;
128
- userId: string | null;
129
127
  id: string;
130
128
  createdAt: string;
131
129
  updatedAt: string;
132
130
  metadata: ConversationMetadata | null;
133
- activeSubAgentId: string;
131
+ agentId: string | null;
132
+ userId: string | null;
134
133
  ref: {
135
134
  type: "commit" | "tag" | "branch";
136
135
  name: string;
137
136
  hash: string;
138
137
  } | null;
138
+ activeSubAgentId: string;
139
139
  lastContextResolution: string | null;
140
140
  }>;
141
141
  /**
@@ -156,18 +156,18 @@ declare const getActiveAgentForConversation: (db: AgentsRunDatabaseClient) => (p
156
156
  title: string | null;
157
157
  tenantId: string;
158
158
  projectId: string;
159
- agentId: string | null;
160
- userId: string | null;
161
159
  id: string;
162
160
  createdAt: string;
163
161
  updatedAt: string;
164
162
  metadata: ConversationMetadata | null;
165
- activeSubAgentId: string;
163
+ agentId: string | null;
164
+ userId: string | null;
166
165
  ref: {
167
166
  type: "commit" | "tag" | "branch";
168
167
  name: string;
169
168
  hash: string;
170
169
  } | null;
170
+ activeSubAgentId: string;
171
171
  lastContextResolution: string | null;
172
172
  } | undefined>;
173
173
  /**
@@ -10,26 +10,26 @@ declare const getMessageById: (db: AgentsRunDatabaseClient) => (params: {
10
10
  scopes: ProjectScopeConfig;
11
11
  messageId: string;
12
12
  }) => Promise<{
13
+ content: MessageContent;
13
14
  tenantId: string;
14
15
  projectId: string;
16
+ fromSubAgentId: string | null;
17
+ toSubAgentId: string | null;
18
+ fromExternalAgentId: string | null;
19
+ toExternalAgentId: string | null;
20
+ taskId: string | null;
21
+ a2aTaskId: string | null;
15
22
  id: string;
16
23
  createdAt: string;
17
24
  updatedAt: string;
18
25
  metadata: MessageMetadata | null;
19
- content: MessageContent;
20
26
  conversationId: string;
21
27
  role: string;
22
- fromSubAgentId: string | null;
23
- toSubAgentId: string | null;
24
- fromExternalAgentId: string | null;
25
- toExternalAgentId: string | null;
26
28
  fromTeamAgentId: string | null;
27
29
  toTeamAgentId: string | null;
28
30
  visibility: string;
29
31
  messageType: string;
30
- taskId: string | null;
31
32
  parentMessageId: string | null;
32
- a2aTaskId: string | null;
33
33
  a2aSessionId: string | null;
34
34
  } | undefined>;
35
35
  declare const listMessages: (db: AgentsRunDatabaseClient) => (params: {
@@ -141,26 +141,26 @@ declare const getVisibleMessages: (db: AgentsRunDatabaseClient) => (params: {
141
141
  id: string;
142
142
  }[]>;
143
143
  declare const createMessage: (db: AgentsRunDatabaseClient) => (params: MessageInsert) => Promise<{
144
+ content: MessageContent;
144
145
  tenantId: string;
145
146
  projectId: string;
147
+ fromSubAgentId: string | null;
148
+ toSubAgentId: string | null;
149
+ fromExternalAgentId: string | null;
150
+ toExternalAgentId: string | null;
151
+ taskId: string | null;
152
+ a2aTaskId: string | null;
146
153
  id: string;
147
154
  createdAt: string;
148
155
  updatedAt: string;
149
156
  metadata: MessageMetadata | null;
150
- content: MessageContent;
151
157
  conversationId: string;
152
158
  role: string;
153
- fromSubAgentId: string | null;
154
- toSubAgentId: string | null;
155
- fromExternalAgentId: string | null;
156
- toExternalAgentId: string | null;
157
159
  fromTeamAgentId: string | null;
158
160
  toTeamAgentId: string | null;
159
161
  visibility: string;
160
162
  messageType: string;
161
- taskId: string | null;
162
163
  parentMessageId: string | null;
163
- a2aTaskId: string | null;
164
164
  a2aSessionId: string | null;
165
165
  }>;
166
166
  declare const updateMessage: (db: AgentsRunDatabaseClient) => (params: {
@@ -194,26 +194,26 @@ declare const deleteMessage: (db: AgentsRunDatabaseClient) => (params: {
194
194
  scopes: ProjectScopeConfig;
195
195
  messageId: string;
196
196
  }) => Promise<{
197
+ content: MessageContent;
197
198
  tenantId: string;
198
199
  projectId: string;
200
+ fromSubAgentId: string | null;
201
+ toSubAgentId: string | null;
202
+ fromExternalAgentId: string | null;
203
+ toExternalAgentId: string | null;
204
+ taskId: string | null;
205
+ a2aTaskId: string | null;
199
206
  id: string;
200
207
  createdAt: string;
201
208
  updatedAt: string;
202
209
  metadata: MessageMetadata | null;
203
- content: MessageContent;
204
210
  conversationId: string;
205
211
  role: string;
206
- fromSubAgentId: string | null;
207
- toSubAgentId: string | null;
208
- fromExternalAgentId: string | null;
209
- toExternalAgentId: string | null;
210
212
  fromTeamAgentId: string | null;
211
213
  toTeamAgentId: string | null;
212
214
  visibility: string;
213
215
  messageType: string;
214
- taskId: string | null;
215
216
  parentMessageId: string | null;
216
- a2aTaskId: string | null;
217
217
  a2aSessionId: string | null;
218
218
  }>;
219
219
  declare const countMessagesByConversation: (db: AgentsRunDatabaseClient) => (params: {
@@ -34,7 +34,7 @@ declare const listScheduledTriggerInvocationsPaginated: (db: AgentsRunDatabaseCl
34
34
  }) => Promise<{
35
35
  data: {
36
36
  scheduledTriggerId: string;
37
- status: "pending" | "running" | "completed" | "failed" | "cancelled";
37
+ status: "pending" | "failed" | "running" | "completed" | "cancelled";
38
38
  scheduledFor: string;
39
39
  startedAt: string | null;
40
40
  completedAt: string | null;
@@ -174,7 +174,7 @@ declare const listUpcomingInvocationsForAgentPaginated: (db: AgentsRunDatabaseCl
174
174
  }) => Promise<{
175
175
  data: {
176
176
  scheduledTriggerId: string;
177
- status: "pending" | "running" | "completed" | "failed" | "cancelled";
177
+ status: "pending" | "failed" | "running" | "completed" | "cancelled";
178
178
  scheduledFor: string;
179
179
  startedAt: string | null;
180
180
  completedAt: string | null;
@@ -208,7 +208,7 @@ declare const listProjectScheduledTriggerInvocationsPaginated: (db: AgentsRunDat
208
208
  }) => Promise<{
209
209
  data: {
210
210
  scheduledTriggerId: string;
211
- status: "pending" | "running" | "completed" | "failed" | "cancelled";
211
+ status: "pending" | "failed" | "running" | "completed" | "cancelled";
212
212
  scheduledFor: string;
213
213
  startedAt: string | null;
214
214
  completedAt: string | null;
@@ -8,19 +8,19 @@ import { TaskInsert, TaskSelect } from "../../types/entities.js";
8
8
  declare const createTask: (db: AgentsRunDatabaseClient) => (params: TaskInsert) => Promise<{
9
9
  tenantId: string;
10
10
  projectId: string;
11
- agentId: string;
12
11
  subAgentId: string;
13
12
  id: string;
14
13
  createdAt: string;
15
14
  updatedAt: string;
16
15
  metadata: TaskMetadataConfig | null;
16
+ agentId: string;
17
+ status: string;
18
+ contextId: string;
17
19
  ref: {
18
20
  type: "commit" | "tag" | "branch";
19
21
  name: string;
20
22
  hash: string;
21
23
  } | null;
22
- status: string;
23
- contextId: string;
24
24
  }>;
25
25
  declare const getTask: (db: AgentsRunDatabaseClient) => (params: {
26
26
  id: string;