@inkeep/agents-core 0.80.0 → 0.80.2
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.
- package/dist/auth/auth-schema.d.ts +227 -227
- package/dist/auth/auth-validation-schemas.d.ts +137 -137
- package/dist/auth/auth.d.ts +9 -9
- package/dist/auth/permissions.d.ts +13 -13
- package/dist/constants/otel-attributes.d.ts +3 -0
- package/dist/constants/otel-attributes.js +4 -1
- package/dist/data-access/manage/agents.d.ts +29 -29
- package/dist/data-access/manage/artifactComponents.d.ts +10 -10
- package/dist/data-access/manage/contextConfigs.d.ts +12 -12
- package/dist/data-access/manage/dataComponents.d.ts +4 -4
- package/dist/data-access/manage/functionTools.d.ts +14 -14
- package/dist/data-access/manage/skills.d.ts +14 -14
- package/dist/data-access/manage/subAgentExternalAgentRelations.d.ts +24 -24
- package/dist/data-access/manage/subAgentRelations.d.ts +32 -32
- package/dist/data-access/manage/subAgentTeamAgentRelations.d.ts +24 -24
- package/dist/data-access/manage/subAgents.d.ts +15 -15
- package/dist/data-access/manage/tools.d.ts +27 -27
- package/dist/data-access/manage/triggers.d.ts +3 -3
- package/dist/data-access/runtime/apiKeys.d.ts +24 -24
- package/dist/data-access/runtime/apps.d.ts +14 -14
- package/dist/data-access/runtime/conversations.d.ts +32 -32
- package/dist/data-access/runtime/events.d.ts +6 -6
- package/dist/data-access/runtime/feedback.d.ts +8 -8
- package/dist/data-access/runtime/messages.d.ts +30 -30
- package/dist/data-access/runtime/scheduledTriggerInvocations.d.ts +5 -5
- package/dist/data-access/runtime/scheduledTriggerUsers.d.ts +2 -2
- package/dist/data-access/runtime/tasks.d.ts +6 -6
- package/dist/db/manage/manage-schema.d.ts +504 -504
- package/dist/db/runtime/runtime-schema.d.ts +452 -452
- package/dist/utils/error.d.ts +51 -51
- package/dist/validation/schemas/skills.d.ts +27 -27
- package/dist/validation/schemas.d.ts +2142 -2138
- package/dist/validation/schemas.js +1 -0
- package/package.json +1 -1
package/dist/utils/error.d.ts
CHANGED
|
@@ -9,8 +9,8 @@ import { HTTPException } from "hono/http-exception";
|
|
|
9
9
|
*/
|
|
10
10
|
declare function getDatabaseErrorLogContext(error: unknown): Record<string, unknown>;
|
|
11
11
|
declare const ErrorCode: z.ZodEnum<{
|
|
12
|
-
unauthorized: "unauthorized";
|
|
13
12
|
bad_request: "bad_request";
|
|
13
|
+
unauthorized: "unauthorized";
|
|
14
14
|
payment_required: "payment_required";
|
|
15
15
|
forbidden: "forbidden";
|
|
16
16
|
not_found: "not_found";
|
|
@@ -29,8 +29,8 @@ declare const problemDetailsSchema: z.ZodObject<{
|
|
|
29
29
|
instance: z.ZodOptional<z.ZodString>;
|
|
30
30
|
requestId: z.ZodOptional<z.ZodString>;
|
|
31
31
|
code: z.ZodEnum<{
|
|
32
|
-
unauthorized: "unauthorized";
|
|
33
32
|
bad_request: "bad_request";
|
|
33
|
+
unauthorized: "unauthorized";
|
|
34
34
|
payment_required: "payment_required";
|
|
35
35
|
forbidden: "forbidden";
|
|
36
36
|
not_found: "not_found";
|
|
@@ -47,8 +47,8 @@ type ErrorCodes = z.infer<typeof ErrorCode>;
|
|
|
47
47
|
declare const errorResponseSchema: z.ZodObject<{
|
|
48
48
|
error: z.ZodObject<{
|
|
49
49
|
code: z.ZodEnum<{
|
|
50
|
-
unauthorized: "unauthorized";
|
|
51
50
|
bad_request: "bad_request";
|
|
51
|
+
unauthorized: "unauthorized";
|
|
52
52
|
payment_required: "payment_required";
|
|
53
53
|
forbidden: "forbidden";
|
|
54
54
|
not_found: "not_found";
|
|
@@ -89,12 +89,12 @@ declare const errorSchemaFactory: (code: ErrorCodes, description: string) => {
|
|
|
89
89
|
schema: z.ZodObject<{
|
|
90
90
|
instance: z.ZodOptional<z.ZodString>;
|
|
91
91
|
requestId: z.ZodOptional<z.ZodString>;
|
|
92
|
-
code: z.ZodLiteral<"
|
|
92
|
+
code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity" | "bad_gateway" | "service_unavailable">;
|
|
93
93
|
detail: z.ZodString;
|
|
94
94
|
title: z.ZodString;
|
|
95
95
|
status: z.ZodNumber;
|
|
96
96
|
error: z.ZodObject<{
|
|
97
|
-
code: z.ZodLiteral<"
|
|
97
|
+
code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity" | "bad_gateway" | "service_unavailable">;
|
|
98
98
|
message: z.ZodString;
|
|
99
99
|
}, z.core.$strip>;
|
|
100
100
|
}, z.core.$strip>;
|
|
@@ -111,12 +111,12 @@ declare const commonCreateErrorResponses: {
|
|
|
111
111
|
schema: z.ZodObject<{
|
|
112
112
|
instance: z.ZodOptional<z.ZodString>;
|
|
113
113
|
requestId: z.ZodOptional<z.ZodString>;
|
|
114
|
-
code: z.ZodLiteral<"
|
|
114
|
+
code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity" | "bad_gateway" | "service_unavailable">;
|
|
115
115
|
detail: z.ZodString;
|
|
116
116
|
title: z.ZodString;
|
|
117
117
|
status: z.ZodNumber;
|
|
118
118
|
error: z.ZodObject<{
|
|
119
|
-
code: z.ZodLiteral<"
|
|
119
|
+
code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity" | "bad_gateway" | "service_unavailable">;
|
|
120
120
|
message: z.ZodString;
|
|
121
121
|
}, z.core.$strip>;
|
|
122
122
|
}, z.core.$strip>;
|
|
@@ -130,12 +130,12 @@ declare const commonCreateErrorResponses: {
|
|
|
130
130
|
schema: z.ZodObject<{
|
|
131
131
|
instance: z.ZodOptional<z.ZodString>;
|
|
132
132
|
requestId: z.ZodOptional<z.ZodString>;
|
|
133
|
-
code: z.ZodLiteral<"
|
|
133
|
+
code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity" | "bad_gateway" | "service_unavailable">;
|
|
134
134
|
detail: z.ZodString;
|
|
135
135
|
title: z.ZodString;
|
|
136
136
|
status: z.ZodNumber;
|
|
137
137
|
error: z.ZodObject<{
|
|
138
|
-
code: z.ZodLiteral<"
|
|
138
|
+
code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity" | "bad_gateway" | "service_unavailable">;
|
|
139
139
|
message: z.ZodString;
|
|
140
140
|
}, z.core.$strip>;
|
|
141
141
|
}, z.core.$strip>;
|
|
@@ -149,12 +149,12 @@ declare const commonCreateErrorResponses: {
|
|
|
149
149
|
schema: z.ZodObject<{
|
|
150
150
|
instance: z.ZodOptional<z.ZodString>;
|
|
151
151
|
requestId: z.ZodOptional<z.ZodString>;
|
|
152
|
-
code: z.ZodLiteral<"
|
|
152
|
+
code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity" | "bad_gateway" | "service_unavailable">;
|
|
153
153
|
detail: z.ZodString;
|
|
154
154
|
title: z.ZodString;
|
|
155
155
|
status: z.ZodNumber;
|
|
156
156
|
error: z.ZodObject<{
|
|
157
|
-
code: z.ZodLiteral<"
|
|
157
|
+
code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity" | "bad_gateway" | "service_unavailable">;
|
|
158
158
|
message: z.ZodString;
|
|
159
159
|
}, z.core.$strip>;
|
|
160
160
|
}, z.core.$strip>;
|
|
@@ -168,12 +168,12 @@ declare const commonCreateErrorResponses: {
|
|
|
168
168
|
schema: z.ZodObject<{
|
|
169
169
|
instance: z.ZodOptional<z.ZodString>;
|
|
170
170
|
requestId: z.ZodOptional<z.ZodString>;
|
|
171
|
-
code: z.ZodLiteral<"
|
|
171
|
+
code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity" | "bad_gateway" | "service_unavailable">;
|
|
172
172
|
detail: z.ZodString;
|
|
173
173
|
title: z.ZodString;
|
|
174
174
|
status: z.ZodNumber;
|
|
175
175
|
error: z.ZodObject<{
|
|
176
|
-
code: z.ZodLiteral<"
|
|
176
|
+
code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity" | "bad_gateway" | "service_unavailable">;
|
|
177
177
|
message: z.ZodString;
|
|
178
178
|
}, z.core.$strip>;
|
|
179
179
|
}, z.core.$strip>;
|
|
@@ -187,12 +187,12 @@ declare const commonCreateErrorResponses: {
|
|
|
187
187
|
schema: z.ZodObject<{
|
|
188
188
|
instance: z.ZodOptional<z.ZodString>;
|
|
189
189
|
requestId: z.ZodOptional<z.ZodString>;
|
|
190
|
-
code: z.ZodLiteral<"
|
|
190
|
+
code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity" | "bad_gateway" | "service_unavailable">;
|
|
191
191
|
detail: z.ZodString;
|
|
192
192
|
title: z.ZodString;
|
|
193
193
|
status: z.ZodNumber;
|
|
194
194
|
error: z.ZodObject<{
|
|
195
|
-
code: z.ZodLiteral<"
|
|
195
|
+
code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity" | "bad_gateway" | "service_unavailable">;
|
|
196
196
|
message: z.ZodString;
|
|
197
197
|
}, z.core.$strip>;
|
|
198
198
|
}, z.core.$strip>;
|
|
@@ -208,12 +208,12 @@ declare const commonUpdateErrorResponses: {
|
|
|
208
208
|
schema: z.ZodObject<{
|
|
209
209
|
instance: z.ZodOptional<z.ZodString>;
|
|
210
210
|
requestId: z.ZodOptional<z.ZodString>;
|
|
211
|
-
code: z.ZodLiteral<"
|
|
211
|
+
code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity" | "bad_gateway" | "service_unavailable">;
|
|
212
212
|
detail: z.ZodString;
|
|
213
213
|
title: z.ZodString;
|
|
214
214
|
status: z.ZodNumber;
|
|
215
215
|
error: z.ZodObject<{
|
|
216
|
-
code: z.ZodLiteral<"
|
|
216
|
+
code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity" | "bad_gateway" | "service_unavailable">;
|
|
217
217
|
message: z.ZodString;
|
|
218
218
|
}, z.core.$strip>;
|
|
219
219
|
}, z.core.$strip>;
|
|
@@ -227,12 +227,12 @@ declare const commonUpdateErrorResponses: {
|
|
|
227
227
|
schema: z.ZodObject<{
|
|
228
228
|
instance: z.ZodOptional<z.ZodString>;
|
|
229
229
|
requestId: z.ZodOptional<z.ZodString>;
|
|
230
|
-
code: z.ZodLiteral<"
|
|
230
|
+
code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity" | "bad_gateway" | "service_unavailable">;
|
|
231
231
|
detail: z.ZodString;
|
|
232
232
|
title: z.ZodString;
|
|
233
233
|
status: z.ZodNumber;
|
|
234
234
|
error: z.ZodObject<{
|
|
235
|
-
code: z.ZodLiteral<"
|
|
235
|
+
code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity" | "bad_gateway" | "service_unavailable">;
|
|
236
236
|
message: z.ZodString;
|
|
237
237
|
}, z.core.$strip>;
|
|
238
238
|
}, z.core.$strip>;
|
|
@@ -246,12 +246,12 @@ declare const commonUpdateErrorResponses: {
|
|
|
246
246
|
schema: z.ZodObject<{
|
|
247
247
|
instance: z.ZodOptional<z.ZodString>;
|
|
248
248
|
requestId: z.ZodOptional<z.ZodString>;
|
|
249
|
-
code: z.ZodLiteral<"
|
|
249
|
+
code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity" | "bad_gateway" | "service_unavailable">;
|
|
250
250
|
detail: z.ZodString;
|
|
251
251
|
title: z.ZodString;
|
|
252
252
|
status: z.ZodNumber;
|
|
253
253
|
error: z.ZodObject<{
|
|
254
|
-
code: z.ZodLiteral<"
|
|
254
|
+
code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity" | "bad_gateway" | "service_unavailable">;
|
|
255
255
|
message: z.ZodString;
|
|
256
256
|
}, z.core.$strip>;
|
|
257
257
|
}, z.core.$strip>;
|
|
@@ -265,12 +265,12 @@ declare const commonUpdateErrorResponses: {
|
|
|
265
265
|
schema: z.ZodObject<{
|
|
266
266
|
instance: z.ZodOptional<z.ZodString>;
|
|
267
267
|
requestId: z.ZodOptional<z.ZodString>;
|
|
268
|
-
code: z.ZodLiteral<"
|
|
268
|
+
code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity" | "bad_gateway" | "service_unavailable">;
|
|
269
269
|
detail: z.ZodString;
|
|
270
270
|
title: z.ZodString;
|
|
271
271
|
status: z.ZodNumber;
|
|
272
272
|
error: z.ZodObject<{
|
|
273
|
-
code: z.ZodLiteral<"
|
|
273
|
+
code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity" | "bad_gateway" | "service_unavailable">;
|
|
274
274
|
message: z.ZodString;
|
|
275
275
|
}, z.core.$strip>;
|
|
276
276
|
}, z.core.$strip>;
|
|
@@ -284,12 +284,12 @@ declare const commonUpdateErrorResponses: {
|
|
|
284
284
|
schema: z.ZodObject<{
|
|
285
285
|
instance: z.ZodOptional<z.ZodString>;
|
|
286
286
|
requestId: z.ZodOptional<z.ZodString>;
|
|
287
|
-
code: z.ZodLiteral<"
|
|
287
|
+
code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity" | "bad_gateway" | "service_unavailable">;
|
|
288
288
|
detail: z.ZodString;
|
|
289
289
|
title: z.ZodString;
|
|
290
290
|
status: z.ZodNumber;
|
|
291
291
|
error: z.ZodObject<{
|
|
292
|
-
code: z.ZodLiteral<"
|
|
292
|
+
code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity" | "bad_gateway" | "service_unavailable">;
|
|
293
293
|
message: z.ZodString;
|
|
294
294
|
}, z.core.$strip>;
|
|
295
295
|
}, z.core.$strip>;
|
|
@@ -303,12 +303,12 @@ declare const commonUpdateErrorResponses: {
|
|
|
303
303
|
schema: z.ZodObject<{
|
|
304
304
|
instance: z.ZodOptional<z.ZodString>;
|
|
305
305
|
requestId: z.ZodOptional<z.ZodString>;
|
|
306
|
-
code: z.ZodLiteral<"
|
|
306
|
+
code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity" | "bad_gateway" | "service_unavailable">;
|
|
307
307
|
detail: z.ZodString;
|
|
308
308
|
title: z.ZodString;
|
|
309
309
|
status: z.ZodNumber;
|
|
310
310
|
error: z.ZodObject<{
|
|
311
|
-
code: z.ZodLiteral<"
|
|
311
|
+
code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity" | "bad_gateway" | "service_unavailable">;
|
|
312
312
|
message: z.ZodString;
|
|
313
313
|
}, z.core.$strip>;
|
|
314
314
|
}, z.core.$strip>;
|
|
@@ -324,12 +324,12 @@ declare const commonGetErrorResponses: {
|
|
|
324
324
|
schema: z.ZodObject<{
|
|
325
325
|
instance: z.ZodOptional<z.ZodString>;
|
|
326
326
|
requestId: z.ZodOptional<z.ZodString>;
|
|
327
|
-
code: z.ZodLiteral<"
|
|
327
|
+
code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity" | "bad_gateway" | "service_unavailable">;
|
|
328
328
|
detail: z.ZodString;
|
|
329
329
|
title: z.ZodString;
|
|
330
330
|
status: z.ZodNumber;
|
|
331
331
|
error: z.ZodObject<{
|
|
332
|
-
code: z.ZodLiteral<"
|
|
332
|
+
code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity" | "bad_gateway" | "service_unavailable">;
|
|
333
333
|
message: z.ZodString;
|
|
334
334
|
}, z.core.$strip>;
|
|
335
335
|
}, z.core.$strip>;
|
|
@@ -343,12 +343,12 @@ declare const commonGetErrorResponses: {
|
|
|
343
343
|
schema: z.ZodObject<{
|
|
344
344
|
instance: z.ZodOptional<z.ZodString>;
|
|
345
345
|
requestId: z.ZodOptional<z.ZodString>;
|
|
346
|
-
code: z.ZodLiteral<"
|
|
346
|
+
code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity" | "bad_gateway" | "service_unavailable">;
|
|
347
347
|
detail: z.ZodString;
|
|
348
348
|
title: z.ZodString;
|
|
349
349
|
status: z.ZodNumber;
|
|
350
350
|
error: z.ZodObject<{
|
|
351
|
-
code: z.ZodLiteral<"
|
|
351
|
+
code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity" | "bad_gateway" | "service_unavailable">;
|
|
352
352
|
message: z.ZodString;
|
|
353
353
|
}, z.core.$strip>;
|
|
354
354
|
}, z.core.$strip>;
|
|
@@ -362,12 +362,12 @@ declare const commonGetErrorResponses: {
|
|
|
362
362
|
schema: z.ZodObject<{
|
|
363
363
|
instance: z.ZodOptional<z.ZodString>;
|
|
364
364
|
requestId: z.ZodOptional<z.ZodString>;
|
|
365
|
-
code: z.ZodLiteral<"
|
|
365
|
+
code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity" | "bad_gateway" | "service_unavailable">;
|
|
366
366
|
detail: z.ZodString;
|
|
367
367
|
title: z.ZodString;
|
|
368
368
|
status: z.ZodNumber;
|
|
369
369
|
error: z.ZodObject<{
|
|
370
|
-
code: z.ZodLiteral<"
|
|
370
|
+
code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity" | "bad_gateway" | "service_unavailable">;
|
|
371
371
|
message: z.ZodString;
|
|
372
372
|
}, z.core.$strip>;
|
|
373
373
|
}, z.core.$strip>;
|
|
@@ -381,12 +381,12 @@ declare const commonGetErrorResponses: {
|
|
|
381
381
|
schema: z.ZodObject<{
|
|
382
382
|
instance: z.ZodOptional<z.ZodString>;
|
|
383
383
|
requestId: z.ZodOptional<z.ZodString>;
|
|
384
|
-
code: z.ZodLiteral<"
|
|
384
|
+
code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity" | "bad_gateway" | "service_unavailable">;
|
|
385
385
|
detail: z.ZodString;
|
|
386
386
|
title: z.ZodString;
|
|
387
387
|
status: z.ZodNumber;
|
|
388
388
|
error: z.ZodObject<{
|
|
389
|
-
code: z.ZodLiteral<"
|
|
389
|
+
code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity" | "bad_gateway" | "service_unavailable">;
|
|
390
390
|
message: z.ZodString;
|
|
391
391
|
}, z.core.$strip>;
|
|
392
392
|
}, z.core.$strip>;
|
|
@@ -400,12 +400,12 @@ declare const commonGetErrorResponses: {
|
|
|
400
400
|
schema: z.ZodObject<{
|
|
401
401
|
instance: z.ZodOptional<z.ZodString>;
|
|
402
402
|
requestId: z.ZodOptional<z.ZodString>;
|
|
403
|
-
code: z.ZodLiteral<"
|
|
403
|
+
code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity" | "bad_gateway" | "service_unavailable">;
|
|
404
404
|
detail: z.ZodString;
|
|
405
405
|
title: z.ZodString;
|
|
406
406
|
status: z.ZodNumber;
|
|
407
407
|
error: z.ZodObject<{
|
|
408
|
-
code: z.ZodLiteral<"
|
|
408
|
+
code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity" | "bad_gateway" | "service_unavailable">;
|
|
409
409
|
message: z.ZodString;
|
|
410
410
|
}, z.core.$strip>;
|
|
411
411
|
}, z.core.$strip>;
|
|
@@ -419,12 +419,12 @@ declare const commonGetErrorResponses: {
|
|
|
419
419
|
schema: z.ZodObject<{
|
|
420
420
|
instance: z.ZodOptional<z.ZodString>;
|
|
421
421
|
requestId: z.ZodOptional<z.ZodString>;
|
|
422
|
-
code: z.ZodLiteral<"
|
|
422
|
+
code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity" | "bad_gateway" | "service_unavailable">;
|
|
423
423
|
detail: z.ZodString;
|
|
424
424
|
title: z.ZodString;
|
|
425
425
|
status: z.ZodNumber;
|
|
426
426
|
error: z.ZodObject<{
|
|
427
|
-
code: z.ZodLiteral<"
|
|
427
|
+
code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity" | "bad_gateway" | "service_unavailable">;
|
|
428
428
|
message: z.ZodString;
|
|
429
429
|
}, z.core.$strip>;
|
|
430
430
|
}, z.core.$strip>;
|
|
@@ -440,12 +440,12 @@ declare const commonDeleteErrorResponses: {
|
|
|
440
440
|
schema: z.ZodObject<{
|
|
441
441
|
instance: z.ZodOptional<z.ZodString>;
|
|
442
442
|
requestId: z.ZodOptional<z.ZodString>;
|
|
443
|
-
code: z.ZodLiteral<"
|
|
443
|
+
code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity" | "bad_gateway" | "service_unavailable">;
|
|
444
444
|
detail: z.ZodString;
|
|
445
445
|
title: z.ZodString;
|
|
446
446
|
status: z.ZodNumber;
|
|
447
447
|
error: z.ZodObject<{
|
|
448
|
-
code: z.ZodLiteral<"
|
|
448
|
+
code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity" | "bad_gateway" | "service_unavailable">;
|
|
449
449
|
message: z.ZodString;
|
|
450
450
|
}, z.core.$strip>;
|
|
451
451
|
}, z.core.$strip>;
|
|
@@ -459,12 +459,12 @@ declare const commonDeleteErrorResponses: {
|
|
|
459
459
|
schema: z.ZodObject<{
|
|
460
460
|
instance: z.ZodOptional<z.ZodString>;
|
|
461
461
|
requestId: z.ZodOptional<z.ZodString>;
|
|
462
|
-
code: z.ZodLiteral<"
|
|
462
|
+
code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity" | "bad_gateway" | "service_unavailable">;
|
|
463
463
|
detail: z.ZodString;
|
|
464
464
|
title: z.ZodString;
|
|
465
465
|
status: z.ZodNumber;
|
|
466
466
|
error: z.ZodObject<{
|
|
467
|
-
code: z.ZodLiteral<"
|
|
467
|
+
code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity" | "bad_gateway" | "service_unavailable">;
|
|
468
468
|
message: z.ZodString;
|
|
469
469
|
}, z.core.$strip>;
|
|
470
470
|
}, z.core.$strip>;
|
|
@@ -478,12 +478,12 @@ declare const commonDeleteErrorResponses: {
|
|
|
478
478
|
schema: z.ZodObject<{
|
|
479
479
|
instance: z.ZodOptional<z.ZodString>;
|
|
480
480
|
requestId: z.ZodOptional<z.ZodString>;
|
|
481
|
-
code: z.ZodLiteral<"
|
|
481
|
+
code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity" | "bad_gateway" | "service_unavailable">;
|
|
482
482
|
detail: z.ZodString;
|
|
483
483
|
title: z.ZodString;
|
|
484
484
|
status: z.ZodNumber;
|
|
485
485
|
error: z.ZodObject<{
|
|
486
|
-
code: z.ZodLiteral<"
|
|
486
|
+
code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity" | "bad_gateway" | "service_unavailable">;
|
|
487
487
|
message: z.ZodString;
|
|
488
488
|
}, z.core.$strip>;
|
|
489
489
|
}, z.core.$strip>;
|
|
@@ -497,12 +497,12 @@ declare const commonDeleteErrorResponses: {
|
|
|
497
497
|
schema: z.ZodObject<{
|
|
498
498
|
instance: z.ZodOptional<z.ZodString>;
|
|
499
499
|
requestId: z.ZodOptional<z.ZodString>;
|
|
500
|
-
code: z.ZodLiteral<"
|
|
500
|
+
code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity" | "bad_gateway" | "service_unavailable">;
|
|
501
501
|
detail: z.ZodString;
|
|
502
502
|
title: z.ZodString;
|
|
503
503
|
status: z.ZodNumber;
|
|
504
504
|
error: z.ZodObject<{
|
|
505
|
-
code: z.ZodLiteral<"
|
|
505
|
+
code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity" | "bad_gateway" | "service_unavailable">;
|
|
506
506
|
message: z.ZodString;
|
|
507
507
|
}, z.core.$strip>;
|
|
508
508
|
}, z.core.$strip>;
|
|
@@ -516,12 +516,12 @@ declare const commonDeleteErrorResponses: {
|
|
|
516
516
|
schema: z.ZodObject<{
|
|
517
517
|
instance: z.ZodOptional<z.ZodString>;
|
|
518
518
|
requestId: z.ZodOptional<z.ZodString>;
|
|
519
|
-
code: z.ZodLiteral<"
|
|
519
|
+
code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity" | "bad_gateway" | "service_unavailable">;
|
|
520
520
|
detail: z.ZodString;
|
|
521
521
|
title: z.ZodString;
|
|
522
522
|
status: z.ZodNumber;
|
|
523
523
|
error: z.ZodObject<{
|
|
524
|
-
code: z.ZodLiteral<"
|
|
524
|
+
code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity" | "bad_gateway" | "service_unavailable">;
|
|
525
525
|
message: z.ZodString;
|
|
526
526
|
}, z.core.$strip>;
|
|
527
527
|
}, z.core.$strip>;
|
|
@@ -535,12 +535,12 @@ declare const commonDeleteErrorResponses: {
|
|
|
535
535
|
schema: z.ZodObject<{
|
|
536
536
|
instance: z.ZodOptional<z.ZodString>;
|
|
537
537
|
requestId: z.ZodOptional<z.ZodString>;
|
|
538
|
-
code: z.ZodLiteral<"
|
|
538
|
+
code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity" | "bad_gateway" | "service_unavailable">;
|
|
539
539
|
detail: z.ZodString;
|
|
540
540
|
title: z.ZodString;
|
|
541
541
|
status: z.ZodNumber;
|
|
542
542
|
error: z.ZodObject<{
|
|
543
|
-
code: z.ZodLiteral<"
|
|
543
|
+
code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity" | "bad_gateway" | "service_unavailable">;
|
|
544
544
|
message: z.ZodString;
|
|
545
545
|
}, z.core.$strip>;
|
|
546
546
|
}, z.core.$strip>;
|
|
@@ -337,9 +337,9 @@ declare const SkillFileInsertSchema: z.ZodObject<{
|
|
|
337
337
|
}>;
|
|
338
338
|
declare const SkillInsertSchema: z.ZodObject<{
|
|
339
339
|
name: z.ZodString;
|
|
340
|
-
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
341
340
|
description: z.ZodString;
|
|
342
341
|
content: z.ZodString;
|
|
342
|
+
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
343
343
|
}, {
|
|
344
344
|
out: {};
|
|
345
345
|
in: {};
|
|
@@ -352,12 +352,12 @@ declare const SkillUpdateSchema: z.ZodObject<{
|
|
|
352
352
|
}, z.core.$strip>;
|
|
353
353
|
declare const SkillApiSelectSchema: z.ZodObject<{
|
|
354
354
|
id: z.ZodString;
|
|
355
|
-
createdAt: z.ZodString;
|
|
356
355
|
name: z.ZodString;
|
|
357
|
-
metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
358
356
|
description: z.ZodString;
|
|
359
|
-
|
|
357
|
+
createdAt: z.ZodString;
|
|
360
358
|
updatedAt: z.ZodString;
|
|
359
|
+
content: z.ZodString;
|
|
360
|
+
metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
361
361
|
}, z.core.$strip>;
|
|
362
362
|
declare const SkillApiInsertSchema: z.ZodPipe<z.ZodPipe<z.ZodObject<{
|
|
363
363
|
files: z.ZodArray<z.ZodObject<{
|
|
@@ -411,8 +411,8 @@ declare const SkillApiUpdateSchema: z.ZodPipe<z.ZodPipe<z.ZodObject<{
|
|
|
411
411
|
declare const SkillFileApiSelectSchema: z.ZodObject<{
|
|
412
412
|
id: z.ZodString;
|
|
413
413
|
createdAt: z.ZodString;
|
|
414
|
-
content: z.ZodString;
|
|
415
414
|
updatedAt: z.ZodString;
|
|
415
|
+
content: z.ZodString;
|
|
416
416
|
skillId: z.ZodString;
|
|
417
417
|
filePath: z.ZodString;
|
|
418
418
|
}, z.core.$strip>;
|
|
@@ -425,17 +425,17 @@ declare const SkillFileApiUpdateSchema: z.ZodObject<{
|
|
|
425
425
|
}, z.core.$strip>;
|
|
426
426
|
declare const SkillWithFilesApiSelectSchema: z.ZodObject<{
|
|
427
427
|
id: z.ZodString;
|
|
428
|
-
createdAt: z.ZodString;
|
|
429
428
|
name: z.ZodString;
|
|
430
|
-
metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
431
429
|
description: z.ZodString;
|
|
432
|
-
|
|
430
|
+
createdAt: z.ZodString;
|
|
433
431
|
updatedAt: z.ZodString;
|
|
432
|
+
content: z.ZodString;
|
|
433
|
+
metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
434
434
|
files: z.ZodArray<z.ZodObject<{
|
|
435
435
|
id: z.ZodString;
|
|
436
436
|
createdAt: z.ZodString;
|
|
437
|
-
content: z.ZodString;
|
|
438
437
|
updatedAt: z.ZodString;
|
|
438
|
+
content: z.ZodString;
|
|
439
439
|
skillId: z.ZodString;
|
|
440
440
|
filePath: z.ZodString;
|
|
441
441
|
}, z.core.$strip>>;
|
|
@@ -488,18 +488,18 @@ declare const SubAgentSkillUpdateSchema: z.ZodObject<{
|
|
|
488
488
|
declare const SubAgentSkillApiSelectSchema: z.ZodObject<{
|
|
489
489
|
id: z.ZodString;
|
|
490
490
|
createdAt: z.ZodString;
|
|
491
|
-
subAgentId: z.ZodString;
|
|
492
491
|
updatedAt: z.ZodString;
|
|
493
492
|
skillId: z.ZodString;
|
|
494
493
|
index: z.ZodInt;
|
|
495
494
|
alwaysLoaded: z.ZodBoolean;
|
|
495
|
+
subAgentId: z.ZodString;
|
|
496
496
|
}, z.core.$strip>;
|
|
497
497
|
declare const SubAgentSkillApiInsertSchema: z.ZodObject<{
|
|
498
498
|
agentId: z.ZodString;
|
|
499
|
-
subAgentId: z.ZodString;
|
|
500
499
|
skillId: z.ZodString;
|
|
501
500
|
index: z.ZodInt;
|
|
502
501
|
alwaysLoaded: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
502
|
+
subAgentId: z.ZodString;
|
|
503
503
|
}, {
|
|
504
504
|
out: {};
|
|
505
505
|
in: {};
|
|
@@ -507,20 +507,20 @@ declare const SubAgentSkillApiInsertSchema: z.ZodObject<{
|
|
|
507
507
|
declare const SubAgentSkillApiUpdateSchema: z.ZodObject<{
|
|
508
508
|
id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
509
509
|
createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
510
|
-
subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
511
510
|
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
512
511
|
skillId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
513
512
|
index: z.ZodOptional<z.ZodOptional<z.ZodInt>>;
|
|
514
513
|
alwaysLoaded: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>>;
|
|
514
|
+
subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
515
515
|
}, z.core.$strip>;
|
|
516
516
|
declare const SubAgentSkillWithIndexSchema: z.ZodObject<{
|
|
517
517
|
id: z.ZodString;
|
|
518
|
-
createdAt: z.ZodString;
|
|
519
518
|
name: z.ZodString;
|
|
520
|
-
metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
521
519
|
description: z.ZodString;
|
|
522
|
-
|
|
520
|
+
createdAt: z.ZodString;
|
|
523
521
|
updatedAt: z.ZodString;
|
|
522
|
+
content: z.ZodString;
|
|
523
|
+
metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
524
524
|
subAgentSkillId: z.ZodString;
|
|
525
525
|
subAgentId: z.ZodString;
|
|
526
526
|
index: z.ZodInt;
|
|
@@ -530,8 +530,8 @@ declare const SkillFileResponse: z.ZodObject<{
|
|
|
530
530
|
data: z.ZodObject<{
|
|
531
531
|
id: z.ZodString;
|
|
532
532
|
createdAt: z.ZodString;
|
|
533
|
-
content: z.ZodString;
|
|
534
533
|
updatedAt: z.ZodString;
|
|
534
|
+
content: z.ZodString;
|
|
535
535
|
skillId: z.ZodString;
|
|
536
536
|
filePath: z.ZodString;
|
|
537
537
|
}, z.core.$strip>;
|
|
@@ -539,17 +539,17 @@ declare const SkillFileResponse: z.ZodObject<{
|
|
|
539
539
|
declare const SkillWithFilesResponse: z.ZodObject<{
|
|
540
540
|
data: z.ZodObject<{
|
|
541
541
|
id: z.ZodString;
|
|
542
|
-
createdAt: z.ZodString;
|
|
543
542
|
name: z.ZodString;
|
|
544
|
-
metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
545
543
|
description: z.ZodString;
|
|
546
|
-
|
|
544
|
+
createdAt: z.ZodString;
|
|
547
545
|
updatedAt: z.ZodString;
|
|
546
|
+
content: z.ZodString;
|
|
547
|
+
metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
548
548
|
files: z.ZodArray<z.ZodObject<{
|
|
549
549
|
id: z.ZodString;
|
|
550
550
|
createdAt: z.ZodString;
|
|
551
|
-
content: z.ZodString;
|
|
552
551
|
updatedAt: z.ZodString;
|
|
552
|
+
content: z.ZodString;
|
|
553
553
|
skillId: z.ZodString;
|
|
554
554
|
filePath: z.ZodString;
|
|
555
555
|
}, z.core.$strip>>;
|
|
@@ -558,12 +558,12 @@ declare const SkillWithFilesResponse: z.ZodObject<{
|
|
|
558
558
|
declare const SkillListResponse: z.ZodObject<{
|
|
559
559
|
data: z.ZodArray<z.ZodObject<{
|
|
560
560
|
id: z.ZodString;
|
|
561
|
-
createdAt: z.ZodString;
|
|
562
561
|
name: z.ZodString;
|
|
563
|
-
metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
564
562
|
description: z.ZodString;
|
|
565
|
-
|
|
563
|
+
createdAt: z.ZodString;
|
|
566
564
|
updatedAt: z.ZodString;
|
|
565
|
+
content: z.ZodString;
|
|
566
|
+
metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
567
567
|
}, z.core.$strip>>;
|
|
568
568
|
pagination: z.ZodObject<{
|
|
569
569
|
page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
@@ -577,22 +577,22 @@ declare const SubAgentSkillResponse: z.ZodObject<{
|
|
|
577
577
|
data: z.ZodObject<{
|
|
578
578
|
id: z.ZodString;
|
|
579
579
|
createdAt: z.ZodString;
|
|
580
|
-
subAgentId: z.ZodString;
|
|
581
580
|
updatedAt: z.ZodString;
|
|
582
581
|
skillId: z.ZodString;
|
|
583
582
|
index: z.ZodInt;
|
|
584
583
|
alwaysLoaded: z.ZodBoolean;
|
|
584
|
+
subAgentId: z.ZodString;
|
|
585
585
|
}, z.core.$strip>;
|
|
586
586
|
}, z.core.$strip>;
|
|
587
587
|
declare const SubAgentSkillWithIndexArrayResponse: z.ZodObject<{
|
|
588
588
|
data: z.ZodArray<z.ZodObject<{
|
|
589
589
|
id: z.ZodString;
|
|
590
|
-
createdAt: z.ZodString;
|
|
591
590
|
name: z.ZodString;
|
|
592
|
-
metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
593
591
|
description: z.ZodString;
|
|
594
|
-
|
|
592
|
+
createdAt: z.ZodString;
|
|
595
593
|
updatedAt: z.ZodString;
|
|
594
|
+
content: z.ZodString;
|
|
595
|
+
metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
596
596
|
subAgentSkillId: z.ZodString;
|
|
597
597
|
subAgentId: z.ZodString;
|
|
598
598
|
index: z.ZodInt;
|