@inkeep/agents-core 0.0.0-dev-20251219060034 → 0.0.0-dev-20251219083419
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.d.ts +18 -18
- package/dist/auth/permissions.d.ts +9 -9
- package/dist/auth/permissions.d.ts.map +1 -1
- package/dist/auth-schema.d.ts +104 -104
- package/dist/auth-schema.d.ts.map +1 -1
- package/dist/auth-validation-schemas.d.ts +129 -129
- package/dist/auth-validation-schemas.d.ts.map +1 -1
- package/dist/client-exports.d.ts +2 -2
- package/dist/client-exports.d.ts.map +1 -1
- package/dist/client.d.ts +466 -466
- package/dist/client.d.ts.map +1 -1
- package/dist/models.d.ts.map +1 -1
- package/dist/schema-conversion.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/client.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { c as organization, f as ssoProvider, g as verification, i as invitation
|
|
|
2
2
|
import { M as UserOrganization, k as User } from "./auth-validation-schemas.js";
|
|
3
3
|
import { z } from "@hono/zod-openapi";
|
|
4
4
|
import { Logger, LoggerOptions, TransportSingleOptions } from "pino";
|
|
5
|
-
import * as
|
|
5
|
+
import * as drizzle_orm20 from "drizzle-orm";
|
|
6
6
|
import * as drizzle_orm_pg_core495 from "drizzle-orm/pg-core";
|
|
7
7
|
import { PgTable } from "drizzle-orm/pg-core";
|
|
8
8
|
import * as drizzle_zod15 from "drizzle-zod";
|
|
@@ -1377,7 +1377,10 @@ declare const SubAgentUpdateSchema: z.ZodObject<{
|
|
|
1377
1377
|
declare const SubAgentApiSelectSchema: z.ZodObject<{
|
|
1378
1378
|
id: z.ZodString;
|
|
1379
1379
|
name: z.ZodString;
|
|
1380
|
+
createdAt: z.ZodString;
|
|
1381
|
+
updatedAt: z.ZodString;
|
|
1380
1382
|
description: z.ZodNullable<z.ZodString>;
|
|
1383
|
+
prompt: z.ZodNullable<z.ZodString>;
|
|
1381
1384
|
models: z.ZodNullable<z.ZodType<{
|
|
1382
1385
|
base?: {
|
|
1383
1386
|
model?: string | undefined;
|
|
@@ -1440,15 +1443,15 @@ declare const SubAgentApiSelectSchema: z.ZodObject<{
|
|
|
1440
1443
|
}, {
|
|
1441
1444
|
stepCountIs?: number | undefined;
|
|
1442
1445
|
}>>>;
|
|
1443
|
-
createdAt: z.ZodString;
|
|
1444
|
-
updatedAt: z.ZodString;
|
|
1445
|
-
prompt: z.ZodNullable<z.ZodString>;
|
|
1446
1446
|
conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
|
|
1447
1447
|
}, z.core.$strip>;
|
|
1448
1448
|
declare const SubAgentApiInsertSchema: z.ZodObject<{
|
|
1449
1449
|
id: z.ZodString;
|
|
1450
1450
|
name: z.ZodString;
|
|
1451
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
1452
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
1451
1453
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1454
|
+
prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1452
1455
|
models: z.ZodOptional<z.ZodObject<{
|
|
1453
1456
|
base: z.ZodOptional<z.ZodObject<{
|
|
1454
1457
|
model: z.ZodOptional<z.ZodString>;
|
|
@@ -1472,15 +1475,15 @@ declare const SubAgentApiInsertSchema: z.ZodObject<{
|
|
|
1472
1475
|
}, {
|
|
1473
1476
|
stepCountIs?: number | undefined;
|
|
1474
1477
|
}>>>>;
|
|
1475
|
-
createdAt: z.ZodOptional<z.ZodString>;
|
|
1476
|
-
updatedAt: z.ZodOptional<z.ZodString>;
|
|
1477
|
-
prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1478
1478
|
conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
|
|
1479
1479
|
}, z.core.$strip>;
|
|
1480
1480
|
declare const SubAgentApiUpdateSchema: z.ZodObject<{
|
|
1481
1481
|
id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1482
1482
|
name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1483
|
+
createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
1484
|
+
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
1483
1485
|
description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
1486
|
+
prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
1484
1487
|
models: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
1485
1488
|
base: z.ZodOptional<z.ZodObject<{
|
|
1486
1489
|
model: z.ZodOptional<z.ZodString>;
|
|
@@ -1504,9 +1507,6 @@ declare const SubAgentApiUpdateSchema: z.ZodObject<{
|
|
|
1504
1507
|
}, {
|
|
1505
1508
|
stepCountIs?: number | undefined;
|
|
1506
1509
|
}>>>>>>;
|
|
1507
|
-
createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
1508
|
-
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
1509
|
-
prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
1510
1510
|
conversationHistoryConfig: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>>>;
|
|
1511
1511
|
}, z.core.$strip>;
|
|
1512
1512
|
declare const SubAgentRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
|
|
@@ -2811,7 +2811,10 @@ declare const AgentUpdateSchema: z.ZodObject<{
|
|
|
2811
2811
|
declare const AgentApiSelectSchema: z.ZodObject<{
|
|
2812
2812
|
id: z.ZodString;
|
|
2813
2813
|
name: z.ZodString;
|
|
2814
|
+
createdAt: z.ZodString;
|
|
2815
|
+
updatedAt: z.ZodString;
|
|
2814
2816
|
description: z.ZodNullable<z.ZodString>;
|
|
2817
|
+
prompt: z.ZodNullable<z.ZodString>;
|
|
2815
2818
|
models: z.ZodNullable<z.ZodType<{
|
|
2816
2819
|
base?: {
|
|
2817
2820
|
model?: string | undefined;
|
|
@@ -2874,11 +2877,8 @@ declare const AgentApiSelectSchema: z.ZodObject<{
|
|
|
2874
2877
|
}, {
|
|
2875
2878
|
transferCountIs?: number | undefined;
|
|
2876
2879
|
}>>>;
|
|
2877
|
-
createdAt: z.ZodString;
|
|
2878
|
-
updatedAt: z.ZodString;
|
|
2879
2880
|
defaultSubAgentId: z.ZodNullable<z.ZodString>;
|
|
2880
2881
|
contextConfigId: z.ZodNullable<z.ZodString>;
|
|
2881
|
-
prompt: z.ZodNullable<z.ZodString>;
|
|
2882
2882
|
statusUpdates: z.ZodNullable<z.ZodType<{
|
|
2883
2883
|
enabled?: boolean | undefined;
|
|
2884
2884
|
numEvents?: number | undefined;
|
|
@@ -2939,7 +2939,10 @@ declare const AgentApiSelectSchema: z.ZodObject<{
|
|
|
2939
2939
|
}, z.core.$strip>;
|
|
2940
2940
|
declare const AgentApiInsertSchema: z.ZodObject<{
|
|
2941
2941
|
name: z.ZodString;
|
|
2942
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
2943
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
2942
2944
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2945
|
+
prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2943
2946
|
models: z.ZodOptional<z.ZodNullable<z.ZodType<{
|
|
2944
2947
|
base?: {
|
|
2945
2948
|
model?: string | undefined;
|
|
@@ -3002,11 +3005,8 @@ declare const AgentApiInsertSchema: z.ZodObject<{
|
|
|
3002
3005
|
}, {
|
|
3003
3006
|
transferCountIs?: number | undefined;
|
|
3004
3007
|
}>>>>;
|
|
3005
|
-
createdAt: z.ZodOptional<z.ZodString>;
|
|
3006
|
-
updatedAt: z.ZodOptional<z.ZodString>;
|
|
3007
3008
|
defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3008
3009
|
contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3009
|
-
prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3010
3010
|
statusUpdates: z.ZodOptional<z.ZodNullable<z.ZodType<{
|
|
3011
3011
|
enabled?: boolean | undefined;
|
|
3012
3012
|
numEvents?: number | undefined;
|
|
@@ -3069,7 +3069,10 @@ declare const AgentApiInsertSchema: z.ZodObject<{
|
|
|
3069
3069
|
declare const AgentApiUpdateSchema: z.ZodObject<{
|
|
3070
3070
|
id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
3071
3071
|
name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
3072
|
+
createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
3073
|
+
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
3072
3074
|
description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
3075
|
+
prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
3073
3076
|
models: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
|
|
3074
3077
|
base?: {
|
|
3075
3078
|
model?: string | undefined;
|
|
@@ -3132,11 +3135,8 @@ declare const AgentApiUpdateSchema: z.ZodObject<{
|
|
|
3132
3135
|
}, {
|
|
3133
3136
|
transferCountIs?: number | undefined;
|
|
3134
3137
|
}>>>>>>;
|
|
3135
|
-
createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
3136
|
-
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
3137
3138
|
defaultSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
3138
3139
|
contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
3139
|
-
prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
3140
3140
|
statusUpdates: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
|
|
3141
3141
|
enabled?: boolean | undefined;
|
|
3142
3142
|
numEvents?: number | undefined;
|
|
@@ -3603,35 +3603,35 @@ declare const TaskUpdateSchema: z.ZodObject<{
|
|
|
3603
3603
|
in: {};
|
|
3604
3604
|
}>;
|
|
3605
3605
|
declare const TaskApiSelectSchema: z.ZodObject<{
|
|
3606
|
+
metadata: z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>;
|
|
3606
3607
|
id: z.ZodString;
|
|
3607
3608
|
createdAt: z.ZodString;
|
|
3608
3609
|
updatedAt: z.ZodString;
|
|
3609
|
-
|
|
3610
|
+
status: z.ZodString;
|
|
3610
3611
|
agentId: z.ZodString;
|
|
3611
3612
|
contextId: z.ZodString;
|
|
3612
|
-
status: z.ZodString;
|
|
3613
3613
|
subAgentId: z.ZodString;
|
|
3614
3614
|
}, z.core.$strip>;
|
|
3615
3615
|
declare const TaskApiInsertSchema: z.ZodObject<{
|
|
3616
|
+
metadata: z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>;
|
|
3616
3617
|
id: z.ZodString;
|
|
3617
3618
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
3618
3619
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
3619
|
-
|
|
3620
|
+
status: z.ZodString;
|
|
3620
3621
|
agentId: z.ZodString;
|
|
3621
3622
|
conversationId: z.ZodOptional<z.ZodString>;
|
|
3622
3623
|
contextId: z.ZodString;
|
|
3623
|
-
status: z.ZodString;
|
|
3624
3624
|
subAgentId: z.ZodString;
|
|
3625
3625
|
}, z.core.$strip>;
|
|
3626
3626
|
declare const TaskApiUpdateSchema: z.ZodObject<{
|
|
3627
|
+
metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>>>;
|
|
3627
3628
|
id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
3628
3629
|
createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
3629
3630
|
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
3630
|
-
|
|
3631
|
+
status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
3631
3632
|
agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
3632
3633
|
conversationId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
3633
3634
|
contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
3634
|
-
status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
3635
3635
|
subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
3636
3636
|
}, z.core.$strip>;
|
|
3637
3637
|
declare const TaskRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
|
|
@@ -4968,34 +4968,34 @@ declare const ConversationUpdateSchema: z.ZodObject<{
|
|
|
4968
4968
|
in: {};
|
|
4969
4969
|
}>;
|
|
4970
4970
|
declare const ConversationApiSelectSchema: z.ZodObject<{
|
|
4971
|
+
metadata: z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>;
|
|
4971
4972
|
id: z.ZodString;
|
|
4972
|
-
title: z.ZodNullable<z.ZodString>;
|
|
4973
4973
|
createdAt: z.ZodString;
|
|
4974
4974
|
updatedAt: z.ZodString;
|
|
4975
|
-
metadata: z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>;
|
|
4976
4975
|
userId: z.ZodNullable<z.ZodString>;
|
|
4976
|
+
title: z.ZodNullable<z.ZodString>;
|
|
4977
4977
|
activeSubAgentId: z.ZodString;
|
|
4978
4978
|
lastContextResolution: z.ZodNullable<z.ZodString>;
|
|
4979
4979
|
}, z.core.$strip>;
|
|
4980
4980
|
declare const ConversationApiInsertSchema: z.ZodObject<{
|
|
4981
|
+
metadata: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>;
|
|
4981
4982
|
id: z.ZodString;
|
|
4982
|
-
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4983
4983
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
4984
4984
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
4985
|
-
metadata: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>;
|
|
4986
|
-
contextConfigId: z.ZodOptional<z.ZodString>;
|
|
4987
4985
|
userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4986
|
+
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4987
|
+
contextConfigId: z.ZodOptional<z.ZodString>;
|
|
4988
4988
|
activeSubAgentId: z.ZodString;
|
|
4989
4989
|
lastContextResolution: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4990
4990
|
}, z.core.$strip>;
|
|
4991
4991
|
declare const ConversationApiUpdateSchema: z.ZodObject<{
|
|
4992
|
+
metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>>>;
|
|
4992
4993
|
id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
4993
|
-
title: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
4994
4994
|
createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
4995
4995
|
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
4996
|
-
metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>>>;
|
|
4997
|
-
contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
4998
4996
|
userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
4997
|
+
title: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
4998
|
+
contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
4999
4999
|
activeSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
5000
5000
|
lastContextResolution: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
5001
5001
|
}, z.core.$strip>;
|
|
@@ -5845,19 +5845,19 @@ declare const MessageUpdateSchema: z.ZodObject<{
|
|
|
5845
5845
|
in: {};
|
|
5846
5846
|
}>;
|
|
5847
5847
|
declare const MessageApiSelectSchema: z.ZodObject<{
|
|
5848
|
+
metadata: z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>;
|
|
5848
5849
|
id: z.ZodString;
|
|
5849
5850
|
createdAt: z.ZodString;
|
|
5850
5851
|
updatedAt: z.ZodString;
|
|
5851
|
-
metadata: z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>;
|
|
5852
|
-
conversationId: z.ZodString;
|
|
5853
5852
|
role: z.ZodString;
|
|
5853
|
+
content: z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>;
|
|
5854
|
+
conversationId: z.ZodString;
|
|
5854
5855
|
fromSubAgentId: z.ZodNullable<z.ZodString>;
|
|
5855
5856
|
toSubAgentId: z.ZodNullable<z.ZodString>;
|
|
5856
5857
|
fromExternalAgentId: z.ZodNullable<z.ZodString>;
|
|
5857
5858
|
toExternalAgentId: z.ZodNullable<z.ZodString>;
|
|
5858
5859
|
fromTeamAgentId: z.ZodNullable<z.ZodString>;
|
|
5859
5860
|
toTeamAgentId: z.ZodNullable<z.ZodString>;
|
|
5860
|
-
content: z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>;
|
|
5861
5861
|
visibility: z.ZodString;
|
|
5862
5862
|
messageType: z.ZodString;
|
|
5863
5863
|
taskId: z.ZodNullable<z.ZodString>;
|
|
@@ -5866,19 +5866,19 @@ declare const MessageApiSelectSchema: z.ZodObject<{
|
|
|
5866
5866
|
a2aSessionId: z.ZodNullable<z.ZodString>;
|
|
5867
5867
|
}, z.core.$strip>;
|
|
5868
5868
|
declare const MessageApiInsertSchema: z.ZodObject<{
|
|
5869
|
+
metadata: z.ZodOptional<z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>>;
|
|
5869
5870
|
id: z.ZodString;
|
|
5870
5871
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
5871
5872
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
5872
|
-
metadata: z.ZodOptional<z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>>;
|
|
5873
|
-
conversationId: z.ZodString;
|
|
5874
5873
|
role: z.ZodString;
|
|
5874
|
+
content: z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>;
|
|
5875
|
+
conversationId: z.ZodString;
|
|
5875
5876
|
fromSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5876
5877
|
toSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5877
5878
|
fromExternalAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5878
5879
|
toExternalAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5879
5880
|
fromTeamAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5880
5881
|
toTeamAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5881
|
-
content: z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>;
|
|
5882
5882
|
visibility: z.ZodOptional<z.ZodString>;
|
|
5883
5883
|
messageType: z.ZodOptional<z.ZodString>;
|
|
5884
5884
|
taskId: z.ZodOptional<z.ZodString>;
|
|
@@ -5887,19 +5887,19 @@ declare const MessageApiInsertSchema: z.ZodObject<{
|
|
|
5887
5887
|
a2aSessionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5888
5888
|
}, z.core.$strip>;
|
|
5889
5889
|
declare const MessageApiUpdateSchema: z.ZodObject<{
|
|
5890
|
+
metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>>>>;
|
|
5890
5891
|
id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
5891
5892
|
createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
5892
5893
|
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
5893
|
-
metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>>>>;
|
|
5894
|
-
conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
5895
5894
|
role: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
5895
|
+
content: z.ZodOptional<z.ZodOptional<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
|
|
5896
|
+
conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
5896
5897
|
fromSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
5897
5898
|
toSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
5898
5899
|
fromExternalAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
5899
5900
|
toExternalAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
5900
5901
|
fromTeamAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
5901
5902
|
toTeamAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
5902
|
-
content: z.ZodOptional<z.ZodOptional<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
|
|
5903
5903
|
visibility: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
5904
5904
|
messageType: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
5905
5905
|
taskId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
@@ -6868,7 +6868,7 @@ declare const ContextCacheInsertSchema: drizzle_zod15.BuildSchema<"insert", {
|
|
|
6868
6868
|
}, {}, {
|
|
6869
6869
|
length: 256;
|
|
6870
6870
|
}>;
|
|
6871
|
-
}, "id" | "
|
|
6871
|
+
}, "id" | "createdAt" | "updatedAt" | "tenantId" | "projectId" | "value" | "contextConfigId" | "conversationId" | "contextVariableKey" | "requestHash" | "fetchedAt" | "fetchSource" | "fetchDurationMs">, undefined>, undefined>;
|
|
6872
6872
|
declare const ContextCacheUpdateSchema: z.ZodObject<{
|
|
6873
6873
|
createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
6874
6874
|
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
@@ -6889,9 +6889,9 @@ declare const ContextCacheUpdateSchema: z.ZodObject<{
|
|
|
6889
6889
|
}>;
|
|
6890
6890
|
declare const ContextCacheApiSelectSchema: z.ZodObject<{
|
|
6891
6891
|
id: z.ZodString;
|
|
6892
|
-
value: z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>;
|
|
6893
6892
|
createdAt: z.ZodString;
|
|
6894
6893
|
updatedAt: z.ZodString;
|
|
6894
|
+
value: z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>;
|
|
6895
6895
|
contextConfigId: z.ZodString;
|
|
6896
6896
|
conversationId: z.ZodString;
|
|
6897
6897
|
contextVariableKey: z.ZodString;
|
|
@@ -6902,9 +6902,9 @@ declare const ContextCacheApiSelectSchema: z.ZodObject<{
|
|
|
6902
6902
|
}, z.core.$strip>;
|
|
6903
6903
|
declare const ContextCacheApiInsertSchema: z.ZodObject<{
|
|
6904
6904
|
id: z.ZodString;
|
|
6905
|
-
value: z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>;
|
|
6906
6905
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
6907
6906
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
6907
|
+
value: z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>;
|
|
6908
6908
|
contextConfigId: z.ZodString;
|
|
6909
6909
|
conversationId: z.ZodString;
|
|
6910
6910
|
contextVariableKey: z.ZodString;
|
|
@@ -6915,9 +6915,9 @@ declare const ContextCacheApiInsertSchema: z.ZodObject<{
|
|
|
6915
6915
|
}, z.core.$strip>;
|
|
6916
6916
|
declare const ContextCacheApiUpdateSchema: z.ZodObject<{
|
|
6917
6917
|
id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
6918
|
-
value: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
|
|
6919
6918
|
createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
6920
6919
|
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
6920
|
+
value: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
|
|
6921
6921
|
contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
6922
6922
|
conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
6923
6923
|
contextVariableKey: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
@@ -7300,9 +7300,9 @@ declare const DataComponentInsertSchema: z.ZodObject<{
|
|
|
7300
7300
|
declare const DataComponentBaseSchema: z.ZodObject<{
|
|
7301
7301
|
id: z.ZodString;
|
|
7302
7302
|
name: z.ZodString;
|
|
7303
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7304
7303
|
tenantId: z.ZodString;
|
|
7305
7304
|
projectId: z.ZodString;
|
|
7305
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7306
7306
|
props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
|
|
7307
7307
|
render: z.ZodOptional<z.ZodNullable<z.ZodType<{
|
|
7308
7308
|
component: string;
|
|
@@ -7350,9 +7350,9 @@ declare const DataComponentUpdateSchema: z.ZodObject<{
|
|
|
7350
7350
|
declare const DataComponentApiSelectSchema: z.ZodObject<{
|
|
7351
7351
|
id: z.ZodString;
|
|
7352
7352
|
name: z.ZodString;
|
|
7353
|
-
description: z.ZodNullable<z.ZodString>;
|
|
7354
7353
|
createdAt: z.ZodString;
|
|
7355
7354
|
updatedAt: z.ZodString;
|
|
7355
|
+
description: z.ZodNullable<z.ZodString>;
|
|
7356
7356
|
props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
7357
7357
|
render: z.ZodNullable<z.ZodType<{
|
|
7358
7358
|
component: string;
|
|
@@ -7371,9 +7371,9 @@ declare const DataComponentApiSelectSchema: z.ZodObject<{
|
|
|
7371
7371
|
declare const DataComponentApiInsertSchema: z.ZodObject<{
|
|
7372
7372
|
id: z.ZodString;
|
|
7373
7373
|
name: z.ZodString;
|
|
7374
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7375
7374
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
7376
7375
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
7376
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7377
7377
|
props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
|
|
7378
7378
|
render: z.ZodOptional<z.ZodNullable<z.ZodType<{
|
|
7379
7379
|
component: string;
|
|
@@ -7392,9 +7392,9 @@ declare const DataComponentApiInsertSchema: z.ZodObject<{
|
|
|
7392
7392
|
declare const DataComponentApiUpdateSchema: z.ZodObject<{
|
|
7393
7393
|
id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
7394
7394
|
name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
7395
|
-
description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
7396
7395
|
createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
7397
7396
|
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
7397
|
+
description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
7398
7398
|
props: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>>>;
|
|
7399
7399
|
render: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
|
|
7400
7400
|
component: string;
|
|
@@ -8296,9 +8296,9 @@ declare const ArtifactComponentUpdateSchema: z.ZodObject<{
|
|
|
8296
8296
|
declare const ArtifactComponentApiSelectSchema: z.ZodObject<{
|
|
8297
8297
|
id: z.ZodString;
|
|
8298
8298
|
name: z.ZodString;
|
|
8299
|
-
description: z.ZodNullable<z.ZodString>;
|
|
8300
8299
|
createdAt: z.ZodString;
|
|
8301
8300
|
updatedAt: z.ZodString;
|
|
8301
|
+
description: z.ZodNullable<z.ZodString>;
|
|
8302
8302
|
props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
8303
8303
|
}, z.core.$strip>;
|
|
8304
8304
|
declare const ArtifactComponentApiInsertSchema: z.ZodObject<{
|
|
@@ -8313,9 +8313,9 @@ declare const ArtifactComponentApiInsertSchema: z.ZodObject<{
|
|
|
8313
8313
|
declare const ArtifactComponentApiUpdateSchema: z.ZodObject<{
|
|
8314
8314
|
id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
8315
8315
|
name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
8316
|
-
description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
8317
8316
|
createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
8318
8317
|
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
8318
|
+
description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
8319
8319
|
props: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>>>;
|
|
8320
8320
|
}, z.core.$strip>;
|
|
8321
8321
|
declare const SubAgentArtifactComponentSelectSchema: drizzle_zod15.BuildSchema<"select", {
|
|
@@ -8672,34 +8672,37 @@ declare const ExternalAgentUpdateSchema: z.ZodObject<{
|
|
|
8672
8672
|
declare const ExternalAgentApiSelectSchema: z.ZodObject<{
|
|
8673
8673
|
id: z.ZodString;
|
|
8674
8674
|
name: z.ZodString;
|
|
8675
|
-
description: z.ZodNullable<z.ZodString>;
|
|
8676
8675
|
createdAt: z.ZodString;
|
|
8677
8676
|
updatedAt: z.ZodString;
|
|
8678
|
-
|
|
8677
|
+
description: z.ZodNullable<z.ZodString>;
|
|
8679
8678
|
credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8679
|
+
baseUrl: z.ZodString;
|
|
8680
8680
|
}, z.core.$strip>;
|
|
8681
8681
|
declare const ExternalAgentApiInsertSchema: z.ZodObject<{
|
|
8682
8682
|
id: z.ZodString;
|
|
8683
8683
|
name: z.ZodString;
|
|
8684
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8685
8684
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
8686
8685
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
8687
|
-
|
|
8686
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8688
8687
|
credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8688
|
+
baseUrl: z.ZodString;
|
|
8689
8689
|
}, z.core.$strip>;
|
|
8690
8690
|
declare const ExternalAgentApiUpdateSchema: z.ZodObject<{
|
|
8691
8691
|
id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
8692
8692
|
name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
8693
|
-
description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
8694
8693
|
createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
8695
8694
|
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
8696
|
-
|
|
8695
|
+
description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
8697
8696
|
credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
8697
|
+
baseUrl: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
8698
8698
|
}, z.core.$strip>;
|
|
8699
8699
|
declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
8700
8700
|
id: z.ZodString;
|
|
8701
8701
|
name: z.ZodString;
|
|
8702
|
+
createdAt: z.ZodString;
|
|
8703
|
+
updatedAt: z.ZodString;
|
|
8702
8704
|
description: z.ZodNullable<z.ZodString>;
|
|
8705
|
+
prompt: z.ZodNullable<z.ZodString>;
|
|
8703
8706
|
models: z.ZodNullable<z.ZodType<{
|
|
8704
8707
|
base?: {
|
|
8705
8708
|
model?: string | undefined;
|
|
@@ -8762,19 +8765,16 @@ declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
8762
8765
|
}, {
|
|
8763
8766
|
stepCountIs?: number | undefined;
|
|
8764
8767
|
}>>>;
|
|
8765
|
-
createdAt: z.ZodString;
|
|
8766
|
-
updatedAt: z.ZodString;
|
|
8767
|
-
prompt: z.ZodNullable<z.ZodString>;
|
|
8768
8768
|
conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
|
|
8769
8769
|
type: z.ZodLiteral<"internal">;
|
|
8770
8770
|
}, z.core.$strip>, z.ZodObject<{
|
|
8771
8771
|
id: z.ZodString;
|
|
8772
8772
|
name: z.ZodString;
|
|
8773
|
-
description: z.ZodNullable<z.ZodString>;
|
|
8774
8773
|
createdAt: z.ZodString;
|
|
8775
8774
|
updatedAt: z.ZodString;
|
|
8776
|
-
|
|
8775
|
+
description: z.ZodNullable<z.ZodString>;
|
|
8777
8776
|
credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8777
|
+
baseUrl: z.ZodString;
|
|
8778
8778
|
type: z.ZodLiteral<"external">;
|
|
8779
8779
|
}, z.core.$strip>], "type">;
|
|
8780
8780
|
declare const ApiKeySelectSchema: drizzle_zod15.BuildSchema<"select", {
|
|
@@ -9240,9 +9240,9 @@ declare const ApiKeyInsertSchema: z.ZodObject<{
|
|
|
9240
9240
|
declare const ApiKeyUpdateSchema: z.ZodObject<{
|
|
9241
9241
|
name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
9242
9242
|
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
9243
|
+
expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
9243
9244
|
agentId: z.ZodOptional<z.ZodString>;
|
|
9244
9245
|
lastUsedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
9245
|
-
expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
9246
9246
|
}, {
|
|
9247
9247
|
out: {};
|
|
9248
9248
|
in: {};
|
|
@@ -9252,11 +9252,11 @@ declare const ApiKeyApiSelectSchema: z.ZodObject<{
|
|
|
9252
9252
|
name: z.ZodNullable<z.ZodString>;
|
|
9253
9253
|
createdAt: z.ZodString;
|
|
9254
9254
|
updatedAt: z.ZodString;
|
|
9255
|
+
expiresAt: z.ZodNullable<z.ZodString>;
|
|
9255
9256
|
agentId: z.ZodString;
|
|
9256
9257
|
publicId: z.ZodString;
|
|
9257
9258
|
keyPrefix: z.ZodString;
|
|
9258
9259
|
lastUsedAt: z.ZodNullable<z.ZodString>;
|
|
9259
|
-
expiresAt: z.ZodNullable<z.ZodString>;
|
|
9260
9260
|
}, {
|
|
9261
9261
|
out: {};
|
|
9262
9262
|
in: {};
|
|
@@ -9268,11 +9268,11 @@ declare const ApiKeyApiCreationResponseSchema: z.ZodObject<{
|
|
|
9268
9268
|
name: z.ZodNullable<z.ZodString>;
|
|
9269
9269
|
createdAt: z.ZodString;
|
|
9270
9270
|
updatedAt: z.ZodString;
|
|
9271
|
+
expiresAt: z.ZodNullable<z.ZodString>;
|
|
9271
9272
|
agentId: z.ZodString;
|
|
9272
9273
|
publicId: z.ZodString;
|
|
9273
9274
|
keyPrefix: z.ZodString;
|
|
9274
9275
|
lastUsedAt: z.ZodNullable<z.ZodString>;
|
|
9275
|
-
expiresAt: z.ZodNullable<z.ZodString>;
|
|
9276
9276
|
}, {
|
|
9277
9277
|
out: {};
|
|
9278
9278
|
in: {};
|
|
@@ -9284,8 +9284,8 @@ declare const ApiKeyApiInsertSchema: z.ZodObject<{
|
|
|
9284
9284
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9285
9285
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
9286
9286
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
9287
|
-
agentId: z.ZodString;
|
|
9288
9287
|
expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9288
|
+
agentId: z.ZodString;
|
|
9289
9289
|
}, {
|
|
9290
9290
|
out: {};
|
|
9291
9291
|
in: {};
|
|
@@ -9293,9 +9293,9 @@ declare const ApiKeyApiInsertSchema: z.ZodObject<{
|
|
|
9293
9293
|
declare const ApiKeyApiUpdateSchema: z.ZodObject<{
|
|
9294
9294
|
name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
9295
9295
|
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
9296
|
+
expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
9296
9297
|
agentId: z.ZodOptional<z.ZodString>;
|
|
9297
9298
|
lastUsedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
9298
|
-
expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
9299
9299
|
}, {
|
|
9300
9300
|
out: {};
|
|
9301
9301
|
in: {};
|
|
@@ -9790,10 +9790,10 @@ declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
|
|
|
9790
9790
|
name: z.ZodString;
|
|
9791
9791
|
createdAt: z.ZodString;
|
|
9792
9792
|
updatedAt: z.ZodString;
|
|
9793
|
+
userId: z.ZodNullable<z.ZodString>;
|
|
9793
9794
|
credentialStoreId: z.ZodString;
|
|
9794
9795
|
retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
9795
9796
|
toolId: z.ZodNullable<z.ZodString>;
|
|
9796
|
-
userId: z.ZodNullable<z.ZodString>;
|
|
9797
9797
|
createdBy: z.ZodNullable<z.ZodString>;
|
|
9798
9798
|
type: z.ZodEnum<{
|
|
9799
9799
|
readonly memory: "memory";
|
|
@@ -10347,10 +10347,10 @@ declare const CredentialReferenceApiInsertSchema: z.ZodObject<{
|
|
|
10347
10347
|
name: z.ZodString;
|
|
10348
10348
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
10349
10349
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
10350
|
+
userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10350
10351
|
credentialStoreId: z.ZodString;
|
|
10351
10352
|
retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
10352
10353
|
toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10353
|
-
userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10354
10354
|
createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10355
10355
|
type: z.ZodEnum<{
|
|
10356
10356
|
readonly memory: "memory";
|
|
@@ -10363,10 +10363,10 @@ declare const CredentialReferenceApiUpdateSchema: z.ZodObject<{
|
|
|
10363
10363
|
name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
10364
10364
|
createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
10365
10365
|
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
10366
|
+
userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
10366
10367
|
credentialStoreId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
10367
10368
|
retrievalParams: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>>;
|
|
10368
10369
|
toolId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
10369
|
-
userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
10370
10370
|
createdBy: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
10371
10371
|
type: z.ZodOptional<z.ZodEnum<{
|
|
10372
10372
|
readonly memory: "memory";
|
|
@@ -10481,15 +10481,15 @@ declare const McpToolSchema: z.ZodObject<{
|
|
|
10481
10481
|
in: {};
|
|
10482
10482
|
}>;
|
|
10483
10483
|
declare const MCPToolConfigSchema: z.ZodObject<{
|
|
10484
|
+
headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
|
|
10484
10485
|
id: z.ZodString;
|
|
10485
10486
|
name: z.ZodString;
|
|
10487
|
+
expiresAt: z.ZodOptional<z.ZodString>;
|
|
10486
10488
|
createdBy: z.ZodOptional<z.ZodString>;
|
|
10487
10489
|
credentialScope: z.ZodOptional<z.ZodString>;
|
|
10488
|
-
headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
|
|
10489
10490
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
10490
10491
|
capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
|
|
10491
10492
|
lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10492
|
-
expiresAt: z.ZodOptional<z.ZodString>;
|
|
10493
10493
|
availableTools: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
10494
10494
|
name: z.ZodString;
|
|
10495
10495
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -10520,10 +10520,10 @@ declare const MCPToolConfigSchema: z.ZodObject<{
|
|
|
10520
10520
|
name: z.ZodString;
|
|
10521
10521
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
10522
10522
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
10523
|
+
userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10523
10524
|
credentialStoreId: z.ZodString;
|
|
10524
10525
|
retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
10525
10526
|
toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10526
|
-
userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10527
10527
|
createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10528
10528
|
type: z.ZodEnum<{
|
|
10529
10529
|
readonly memory: "memory";
|
|
@@ -10573,12 +10573,12 @@ declare const ToolUpdateSchema: z.ZodObject<{
|
|
|
10573
10573
|
in: {};
|
|
10574
10574
|
}>;
|
|
10575
10575
|
declare const ToolApiSelectSchema: z.ZodObject<{
|
|
10576
|
+
headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
|
|
10576
10577
|
id: z.ZodString;
|
|
10577
10578
|
name: z.ZodString;
|
|
10578
|
-
description: z.ZodNullable<z.ZodString>;
|
|
10579
10579
|
createdAt: z.ZodString;
|
|
10580
10580
|
updatedAt: z.ZodString;
|
|
10581
|
-
|
|
10581
|
+
description: z.ZodNullable<z.ZodString>;
|
|
10582
10582
|
config: z.ZodType<{
|
|
10583
10583
|
type: "mcp";
|
|
10584
10584
|
mcp: ToolMcpConfig;
|
|
@@ -10592,19 +10592,19 @@ declare const ToolApiSelectSchema: z.ZodObject<{
|
|
|
10592
10592
|
type: "mcp";
|
|
10593
10593
|
mcp: ToolMcpConfig;
|
|
10594
10594
|
}>>;
|
|
10595
|
+
credentialReferenceId: z.ZodNullable<z.ZodString>;
|
|
10595
10596
|
credentialScope: z.ZodString;
|
|
10596
|
-
headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
|
|
10597
10597
|
imageUrl: z.ZodNullable<z.ZodString>;
|
|
10598
10598
|
capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
|
|
10599
10599
|
lastError: z.ZodNullable<z.ZodString>;
|
|
10600
10600
|
}, z.core.$strip>;
|
|
10601
10601
|
declare const ToolApiInsertSchema: z.ZodObject<{
|
|
10602
|
+
headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
|
|
10602
10603
|
id: z.ZodString;
|
|
10603
10604
|
name: z.ZodString;
|
|
10604
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10605
10605
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
10606
10606
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
10607
|
-
|
|
10607
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10608
10608
|
config: z.ZodObject<{
|
|
10609
10609
|
type: z.ZodLiteral<"mcp">;
|
|
10610
10610
|
mcp: z.ZodObject<{
|
|
@@ -10624,19 +10624,19 @@ declare const ToolApiInsertSchema: z.ZodObject<{
|
|
|
10624
10624
|
activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
10625
10625
|
}, z.core.$strip>;
|
|
10626
10626
|
}, z.core.$strip>;
|
|
10627
|
+
credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10627
10628
|
credentialScope: z.ZodOptional<z.ZodString>;
|
|
10628
|
-
headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
|
|
10629
10629
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
10630
10630
|
capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
|
|
10631
10631
|
lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10632
10632
|
}, z.core.$strip>;
|
|
10633
10633
|
declare const ToolApiUpdateSchema: z.ZodObject<{
|
|
10634
|
+
headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>>>;
|
|
10634
10635
|
id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
10635
10636
|
name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
10636
|
-
description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
10637
10637
|
createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
10638
10638
|
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
10639
|
-
|
|
10639
|
+
description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
10640
10640
|
config: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
10641
10641
|
type: z.ZodLiteral<"mcp">;
|
|
10642
10642
|
mcp: z.ZodObject<{
|
|
@@ -10656,8 +10656,8 @@ declare const ToolApiUpdateSchema: z.ZodObject<{
|
|
|
10656
10656
|
activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
10657
10657
|
}, z.core.$strip>;
|
|
10658
10658
|
}, z.core.$strip>>>;
|
|
10659
|
+
credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
10659
10660
|
credentialScope: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
10660
|
-
headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>>>;
|
|
10661
10661
|
imageUrl: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
10662
10662
|
capabilities: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>>>;
|
|
10663
10663
|
lastError: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
@@ -11026,26 +11026,26 @@ declare const FunctionToolUpdateSchema: z.ZodObject<{
|
|
|
11026
11026
|
declare const FunctionToolApiSelectSchema: z.ZodObject<{
|
|
11027
11027
|
id: z.ZodString;
|
|
11028
11028
|
name: z.ZodString;
|
|
11029
|
-
description: z.ZodNullable<z.ZodString>;
|
|
11030
11029
|
createdAt: z.ZodString;
|
|
11031
11030
|
updatedAt: z.ZodString;
|
|
11031
|
+
description: z.ZodNullable<z.ZodString>;
|
|
11032
11032
|
agentId: z.ZodString;
|
|
11033
11033
|
functionId: z.ZodString;
|
|
11034
11034
|
}, z.core.$strip>;
|
|
11035
11035
|
declare const FunctionToolApiInsertSchema: z.ZodObject<{
|
|
11036
11036
|
id: z.ZodString;
|
|
11037
11037
|
name: z.ZodString;
|
|
11038
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11039
11038
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
11040
11039
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
11040
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11041
11041
|
functionId: z.ZodString;
|
|
11042
11042
|
}, z.core.$strip>;
|
|
11043
11043
|
declare const FunctionToolApiUpdateSchema: z.ZodObject<{
|
|
11044
11044
|
id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
11045
11045
|
name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
11046
|
-
description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
11047
11046
|
createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
11048
11047
|
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
11048
|
+
description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
11049
11049
|
agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
11050
11050
|
functionId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
11051
11051
|
}, z.core.$strip>;
|
|
@@ -11438,10 +11438,10 @@ declare const FetchDefinitionSchema: z.ZodObject<{
|
|
|
11438
11438
|
name: z.ZodString;
|
|
11439
11439
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
11440
11440
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
11441
|
+
userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11441
11442
|
credentialStoreId: z.ZodString;
|
|
11442
11443
|
retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
11443
11444
|
toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11444
|
-
userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11445
11445
|
createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11446
11446
|
type: z.ZodEnum<{
|
|
11447
11447
|
readonly memory: "memory";
|
|
@@ -11467,9 +11467,9 @@ declare const ContextConfigInsertSchema: z.ZodObject<{
|
|
|
11467
11467
|
id: z.ZodOptional<z.ZodString>;
|
|
11468
11468
|
tenantId: z.ZodString;
|
|
11469
11469
|
projectId: z.ZodString;
|
|
11470
|
+
agentId: z.ZodString;
|
|
11470
11471
|
headersSchema: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
11471
11472
|
contextVariables: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
11472
|
-
agentId: z.ZodString;
|
|
11473
11473
|
}, {
|
|
11474
11474
|
out: {};
|
|
11475
11475
|
in: {};
|
|
@@ -11478,9 +11478,9 @@ declare const ContextConfigUpdateSchema: z.ZodObject<{
|
|
|
11478
11478
|
id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
11479
11479
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
11480
11480
|
projectId: z.ZodOptional<z.ZodString>;
|
|
11481
|
+
agentId: z.ZodOptional<z.ZodString>;
|
|
11481
11482
|
headersSchema: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>;
|
|
11482
11483
|
contextVariables: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>;
|
|
11483
|
-
agentId: z.ZodOptional<z.ZodString>;
|
|
11484
11484
|
}, {
|
|
11485
11485
|
out: {};
|
|
11486
11486
|
in: {};
|
|
@@ -11960,38 +11960,38 @@ declare const SubAgentToolRelationUpdateSchema: z.ZodObject<{
|
|
|
11960
11960
|
in: {};
|
|
11961
11961
|
}>;
|
|
11962
11962
|
declare const SubAgentToolRelationApiSelectSchema: z.ZodObject<{
|
|
11963
|
+
headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
|
|
11963
11964
|
id: z.ZodString;
|
|
11964
11965
|
createdAt: z.ZodString;
|
|
11965
11966
|
updatedAt: z.ZodString;
|
|
11966
11967
|
toolId: z.ZodString;
|
|
11968
|
+
toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
|
|
11967
11969
|
subAgentId: z.ZodString;
|
|
11968
|
-
headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
|
|
11969
11970
|
selectedTools: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
|
|
11970
|
-
toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
|
|
11971
11971
|
}, z.core.$strip>;
|
|
11972
11972
|
declare const SubAgentToolRelationApiInsertSchema: z.ZodObject<{
|
|
11973
|
+
headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
11973
11974
|
id: z.ZodString;
|
|
11974
11975
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
11975
11976
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
11976
11977
|
toolId: z.ZodString;
|
|
11977
|
-
subAgentId: z.ZodString;
|
|
11978
|
-
headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
11979
|
-
selectedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
11980
11978
|
toolPolicies: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
11981
11979
|
needsApproval: z.ZodOptional<z.ZodBoolean>;
|
|
11982
11980
|
}, z.core.$strip>>>>;
|
|
11981
|
+
subAgentId: z.ZodString;
|
|
11982
|
+
selectedTools: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
11983
11983
|
}, z.core.$strip>;
|
|
11984
11984
|
declare const SubAgentToolRelationApiUpdateSchema: z.ZodObject<{
|
|
11985
|
+
headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
|
|
11985
11986
|
id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
11986
11987
|
createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
11987
11988
|
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
11988
11989
|
toolId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
11989
|
-
subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
11990
|
-
headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
|
|
11991
|
-
selectedTools: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>>>;
|
|
11992
11990
|
toolPolicies: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
11993
11991
|
needsApproval: z.ZodOptional<z.ZodBoolean>;
|
|
11994
11992
|
}, z.core.$strip>>>>>>;
|
|
11993
|
+
subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
11994
|
+
selectedTools: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>>>;
|
|
11995
11995
|
}, z.core.$strip>;
|
|
11996
11996
|
declare const SubAgentExternalAgentRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
|
|
11997
11997
|
createdAt: drizzle_orm_pg_core495.PgColumn<{
|
|
@@ -12359,26 +12359,26 @@ declare const SubAgentExternalAgentRelationUpdateSchema: z.ZodObject<{
|
|
|
12359
12359
|
in: {};
|
|
12360
12360
|
}>;
|
|
12361
12361
|
declare const SubAgentExternalAgentRelationApiSelectSchema: z.ZodObject<{
|
|
12362
|
+
headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
|
|
12362
12363
|
id: z.ZodString;
|
|
12363
12364
|
createdAt: z.ZodString;
|
|
12364
12365
|
updatedAt: z.ZodString;
|
|
12365
|
-
subAgentId: z.ZodString;
|
|
12366
|
-
headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
|
|
12367
12366
|
externalAgentId: z.ZodString;
|
|
12367
|
+
subAgentId: z.ZodString;
|
|
12368
12368
|
}, z.core.$strip>;
|
|
12369
12369
|
declare const SubAgentExternalAgentRelationApiInsertSchema: z.ZodObject<{
|
|
12370
|
+
headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
12370
12371
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
12371
12372
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
12372
|
-
headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
12373
12373
|
externalAgentId: z.ZodString;
|
|
12374
12374
|
}, z.core.$strip>;
|
|
12375
12375
|
declare const SubAgentExternalAgentRelationApiUpdateSchema: z.ZodObject<{
|
|
12376
|
+
headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
|
|
12376
12377
|
id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
12377
12378
|
createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
12378
12379
|
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
12379
|
-
subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
12380
|
-
headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
|
|
12381
12380
|
externalAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
12381
|
+
subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
12382
12382
|
}, z.core.$strip>;
|
|
12383
12383
|
declare const SubAgentTeamAgentRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
|
|
12384
12384
|
createdAt: drizzle_orm_pg_core495.PgColumn<{
|
|
@@ -12746,25 +12746,25 @@ declare const SubAgentTeamAgentRelationUpdateSchema: z.ZodObject<{
|
|
|
12746
12746
|
in: {};
|
|
12747
12747
|
}>;
|
|
12748
12748
|
declare const SubAgentTeamAgentRelationApiSelectSchema: z.ZodObject<{
|
|
12749
|
+
headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
|
|
12749
12750
|
id: z.ZodString;
|
|
12750
12751
|
createdAt: z.ZodString;
|
|
12751
12752
|
updatedAt: z.ZodString;
|
|
12752
12753
|
subAgentId: z.ZodString;
|
|
12753
|
-
headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
|
|
12754
12754
|
targetAgentId: z.ZodString;
|
|
12755
12755
|
}, z.core.$strip>;
|
|
12756
12756
|
declare const SubAgentTeamAgentRelationApiInsertSchema: z.ZodObject<{
|
|
12757
|
+
headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
12757
12758
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
12758
12759
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
12759
|
-
headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
12760
12760
|
targetAgentId: z.ZodString;
|
|
12761
12761
|
}, z.core.$strip>;
|
|
12762
12762
|
declare const SubAgentTeamAgentRelationApiUpdateSchema: z.ZodObject<{
|
|
12763
|
+
headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
|
|
12763
12764
|
id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
12764
12765
|
createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
12765
12766
|
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
12766
12767
|
subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
12767
|
-
headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
|
|
12768
12768
|
targetAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
12769
12769
|
}, z.core.$strip>;
|
|
12770
12770
|
declare const LedgerArtifactSelectSchema: drizzle_zod15.BuildSchema<"select", {
|
|
@@ -14108,7 +14108,7 @@ declare const LedgerArtifactInsertSchema: drizzle_zod15.BuildSchema<"insert", {
|
|
|
14108
14108
|
}, {}, {
|
|
14109
14109
|
length: 256;
|
|
14110
14110
|
}>;
|
|
14111
|
-
}, "
|
|
14111
|
+
}, "type" | "metadata" | "id" | "name" | "createdAt" | "updatedAt" | "tenantId" | "projectId" | "description" | "contextId" | "visibility" | "taskId" | "toolCallId" | "parts" | "summary" | "mime" | "allowedAgents" | "derivedFrom">, undefined>, undefined>;
|
|
14112
14112
|
declare const LedgerArtifactUpdateSchema: z.ZodObject<{
|
|
14113
14113
|
createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
14114
14114
|
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
@@ -14133,13 +14133,13 @@ declare const LedgerArtifactUpdateSchema: z.ZodObject<{
|
|
|
14133
14133
|
in: {};
|
|
14134
14134
|
}>;
|
|
14135
14135
|
declare const LedgerArtifactApiSelectSchema: z.ZodObject<{
|
|
14136
|
+
type: z.ZodString;
|
|
14137
|
+
metadata: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
|
|
14136
14138
|
id: z.ZodString;
|
|
14137
14139
|
name: z.ZodNullable<z.ZodString>;
|
|
14138
|
-
description: z.ZodNullable<z.ZodString>;
|
|
14139
|
-
type: z.ZodString;
|
|
14140
14140
|
createdAt: z.ZodString;
|
|
14141
14141
|
updatedAt: z.ZodString;
|
|
14142
|
-
|
|
14142
|
+
description: z.ZodNullable<z.ZodString>;
|
|
14143
14143
|
contextId: z.ZodString;
|
|
14144
14144
|
visibility: z.ZodNullable<z.ZodString>;
|
|
14145
14145
|
taskId: z.ZodString;
|
|
@@ -14151,13 +14151,13 @@ declare const LedgerArtifactApiSelectSchema: z.ZodObject<{
|
|
|
14151
14151
|
derivedFrom: z.ZodNullable<z.ZodString>;
|
|
14152
14152
|
}, z.core.$strip>;
|
|
14153
14153
|
declare const LedgerArtifactApiInsertSchema: z.ZodObject<{
|
|
14154
|
+
type: z.ZodOptional<z.ZodString>;
|
|
14155
|
+
metadata: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
|
|
14154
14156
|
id: z.ZodString;
|
|
14155
14157
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14156
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14157
|
-
type: z.ZodOptional<z.ZodString>;
|
|
14158
14158
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
14159
14159
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
14160
|
-
|
|
14160
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14161
14161
|
contextId: z.ZodString;
|
|
14162
14162
|
visibility: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14163
14163
|
taskId: z.ZodString;
|
|
@@ -14169,13 +14169,13 @@ declare const LedgerArtifactApiInsertSchema: z.ZodObject<{
|
|
|
14169
14169
|
derivedFrom: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14170
14170
|
}, z.core.$strip>;
|
|
14171
14171
|
declare const LedgerArtifactApiUpdateSchema: z.ZodObject<{
|
|
14172
|
+
type: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
14173
|
+
metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>>;
|
|
14172
14174
|
id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
14173
14175
|
name: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
14174
|
-
description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
14175
|
-
type: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
14176
14176
|
createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
14177
14177
|
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
14178
|
-
|
|
14178
|
+
description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
14179
14179
|
contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
14180
14180
|
visibility: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
14181
14181
|
taskId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
@@ -14237,6 +14237,8 @@ declare const TeamAgentSchema: z.ZodObject<{
|
|
|
14237
14237
|
declare const FullAgentAgentInsertSchema: z.ZodObject<{
|
|
14238
14238
|
id: z.ZodString;
|
|
14239
14239
|
name: z.ZodString;
|
|
14240
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
14241
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
14240
14242
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14241
14243
|
models: z.ZodOptional<z.ZodObject<{
|
|
14242
14244
|
base: z.ZodOptional<z.ZodObject<{
|
|
@@ -14261,8 +14263,6 @@ declare const FullAgentAgentInsertSchema: z.ZodObject<{
|
|
|
14261
14263
|
}, {
|
|
14262
14264
|
stepCountIs?: number | undefined;
|
|
14263
14265
|
}>>>>;
|
|
14264
|
-
createdAt: z.ZodOptional<z.ZodString>;
|
|
14265
|
-
updatedAt: z.ZodOptional<z.ZodString>;
|
|
14266
14266
|
conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
|
|
14267
14267
|
type: z.ZodLiteral<"internal">;
|
|
14268
14268
|
canUse: z.ZodArray<z.ZodObject<{
|
|
@@ -14290,15 +14290,17 @@ declare const FullAgentAgentInsertSchema: z.ZodObject<{
|
|
|
14290
14290
|
}, z.core.$strip>;
|
|
14291
14291
|
declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
|
|
14292
14292
|
name: z.ZodString;
|
|
14293
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14294
14293
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
14295
14294
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
14295
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14296
14296
|
defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14297
14297
|
contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14298
14298
|
id: z.ZodString;
|
|
14299
14299
|
subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
14300
14300
|
id: z.ZodString;
|
|
14301
14301
|
name: z.ZodString;
|
|
14302
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
14303
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
14302
14304
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14303
14305
|
models: z.ZodOptional<z.ZodObject<{
|
|
14304
14306
|
base: z.ZodOptional<z.ZodObject<{
|
|
@@ -14323,8 +14325,6 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
|
|
|
14323
14325
|
}, {
|
|
14324
14326
|
stepCountIs?: number | undefined;
|
|
14325
14327
|
}>>>>;
|
|
14326
|
-
createdAt: z.ZodOptional<z.ZodString>;
|
|
14327
|
-
updatedAt: z.ZodOptional<z.ZodString>;
|
|
14328
14328
|
conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
|
|
14329
14329
|
type: z.ZodLiteral<"internal">;
|
|
14330
14330
|
canUse: z.ZodArray<z.ZodObject<{
|
|
@@ -14351,12 +14351,12 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
|
|
|
14351
14351
|
}, z.core.$strip>]>>>;
|
|
14352
14352
|
}, z.core.$strip>>;
|
|
14353
14353
|
tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
14354
|
+
headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
|
|
14354
14355
|
id: z.ZodString;
|
|
14355
14356
|
name: z.ZodString;
|
|
14356
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14357
14357
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
14358
14358
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
14359
|
-
|
|
14359
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14360
14360
|
config: z.ZodObject<{
|
|
14361
14361
|
type: z.ZodLiteral<"mcp">;
|
|
14362
14362
|
mcp: z.ZodObject<{
|
|
@@ -14376,8 +14376,8 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
|
|
|
14376
14376
|
activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
14377
14377
|
}, z.core.$strip>;
|
|
14378
14378
|
}, z.core.$strip>;
|
|
14379
|
+
credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14379
14380
|
credentialScope: z.ZodOptional<z.ZodString>;
|
|
14380
|
-
headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
|
|
14381
14381
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
14382
14382
|
capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
|
|
14383
14383
|
lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -14385,11 +14385,11 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
|
|
|
14385
14385
|
externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
14386
14386
|
id: z.ZodString;
|
|
14387
14387
|
name: z.ZodString;
|
|
14388
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14389
14388
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
14390
14389
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
14391
|
-
|
|
14390
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14392
14391
|
credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14392
|
+
baseUrl: z.ZodString;
|
|
14393
14393
|
}, z.core.$strip>>>;
|
|
14394
14394
|
teamAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
14395
14395
|
id: z.ZodString;
|
|
@@ -14399,9 +14399,9 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
|
|
|
14399
14399
|
functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
14400
14400
|
id: z.ZodString;
|
|
14401
14401
|
name: z.ZodString;
|
|
14402
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14403
14402
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
14404
14403
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
14404
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14405
14405
|
functionId: z.ZodString;
|
|
14406
14406
|
}, z.core.$strip>>>;
|
|
14407
14407
|
functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
@@ -14513,6 +14513,7 @@ declare const ProjectSelectSchema: z.ZodObject<{
|
|
|
14513
14513
|
declare const ProjectInsertSchema: z.ZodObject<{
|
|
14514
14514
|
id: z.ZodString;
|
|
14515
14515
|
name: z.ZodString;
|
|
14516
|
+
tenantId: z.ZodString;
|
|
14516
14517
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14517
14518
|
models: z.ZodObject<{
|
|
14518
14519
|
base: z.ZodObject<{
|
|
@@ -14532,7 +14533,6 @@ declare const ProjectInsertSchema: z.ZodObject<{
|
|
|
14532
14533
|
transferCountIs: z.ZodOptional<z.ZodNumber>;
|
|
14533
14534
|
stepCountIs: z.ZodOptional<z.ZodNumber>;
|
|
14534
14535
|
}, z.core.$strip>>;
|
|
14535
|
-
tenantId: z.ZodString;
|
|
14536
14536
|
}, {
|
|
14537
14537
|
out: {};
|
|
14538
14538
|
in: {};
|
|
@@ -14565,6 +14565,8 @@ declare const ProjectUpdateSchema: z.ZodObject<{
|
|
|
14565
14565
|
declare const ProjectApiSelectSchema: z.ZodObject<{
|
|
14566
14566
|
id: z.ZodString;
|
|
14567
14567
|
name: z.ZodString;
|
|
14568
|
+
createdAt: z.ZodString;
|
|
14569
|
+
updatedAt: z.ZodString;
|
|
14568
14570
|
description: z.ZodNullable<z.ZodString>;
|
|
14569
14571
|
models: z.ZodNullable<z.ZodObject<{
|
|
14570
14572
|
base: z.ZodObject<{
|
|
@@ -14584,8 +14586,6 @@ declare const ProjectApiSelectSchema: z.ZodObject<{
|
|
|
14584
14586
|
transferCountIs: z.ZodOptional<z.ZodNumber>;
|
|
14585
14587
|
stepCountIs: z.ZodOptional<z.ZodNumber>;
|
|
14586
14588
|
}, z.core.$strip>>;
|
|
14587
|
-
createdAt: z.ZodString;
|
|
14588
|
-
updatedAt: z.ZodString;
|
|
14589
14589
|
}, {
|
|
14590
14590
|
out: {};
|
|
14591
14591
|
in: {};
|
|
@@ -14665,15 +14665,17 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
|
|
|
14665
14665
|
}, z.core.$strip>>;
|
|
14666
14666
|
agents: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
14667
14667
|
name: z.ZodString;
|
|
14668
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14669
14668
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
14670
14669
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
14670
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14671
14671
|
defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14672
14672
|
contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14673
14673
|
id: z.ZodString;
|
|
14674
14674
|
subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
14675
14675
|
id: z.ZodString;
|
|
14676
14676
|
name: z.ZodString;
|
|
14677
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
14678
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
14677
14679
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14678
14680
|
models: z.ZodOptional<z.ZodObject<{
|
|
14679
14681
|
base: z.ZodOptional<z.ZodObject<{
|
|
@@ -14698,8 +14700,6 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
|
|
|
14698
14700
|
}, {
|
|
14699
14701
|
stepCountIs?: number | undefined;
|
|
14700
14702
|
}>>>>;
|
|
14701
|
-
createdAt: z.ZodOptional<z.ZodString>;
|
|
14702
|
-
updatedAt: z.ZodOptional<z.ZodString>;
|
|
14703
14703
|
conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
|
|
14704
14704
|
type: z.ZodLiteral<"internal">;
|
|
14705
14705
|
canUse: z.ZodArray<z.ZodObject<{
|
|
@@ -14726,12 +14726,12 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
|
|
|
14726
14726
|
}, z.core.$strip>]>>>;
|
|
14727
14727
|
}, z.core.$strip>>;
|
|
14728
14728
|
tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
14729
|
+
headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
|
|
14729
14730
|
id: z.ZodString;
|
|
14730
14731
|
name: z.ZodString;
|
|
14731
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14732
14732
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
14733
14733
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
14734
|
-
|
|
14734
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14735
14735
|
config: z.ZodObject<{
|
|
14736
14736
|
type: z.ZodLiteral<"mcp">;
|
|
14737
14737
|
mcp: z.ZodObject<{
|
|
@@ -14751,8 +14751,8 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
|
|
|
14751
14751
|
activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
14752
14752
|
}, z.core.$strip>;
|
|
14753
14753
|
}, z.core.$strip>;
|
|
14754
|
+
credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14754
14755
|
credentialScope: z.ZodOptional<z.ZodString>;
|
|
14755
|
-
headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
|
|
14756
14756
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
14757
14757
|
capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
|
|
14758
14758
|
lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -14760,11 +14760,11 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
|
|
|
14760
14760
|
externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
14761
14761
|
id: z.ZodString;
|
|
14762
14762
|
name: z.ZodString;
|
|
14763
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14764
14763
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
14765
14764
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
14766
|
-
|
|
14765
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14767
14766
|
credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14767
|
+
baseUrl: z.ZodString;
|
|
14768
14768
|
}, z.core.$strip>>>;
|
|
14769
14769
|
teamAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
14770
14770
|
id: z.ZodString;
|
|
@@ -14774,9 +14774,9 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
|
|
|
14774
14774
|
functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
14775
14775
|
id: z.ZodString;
|
|
14776
14776
|
name: z.ZodString;
|
|
14777
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14778
14777
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
14779
14778
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
14779
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14780
14780
|
functionId: z.ZodString;
|
|
14781
14781
|
}, z.core.$strip>>>;
|
|
14782
14782
|
functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
@@ -14827,12 +14827,12 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
|
|
|
14827
14827
|
prompt: z.ZodOptional<z.ZodString>;
|
|
14828
14828
|
}, z.core.$strip>>;
|
|
14829
14829
|
tools: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
14830
|
+
headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
|
|
14830
14831
|
id: z.ZodString;
|
|
14831
14832
|
name: z.ZodString;
|
|
14832
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14833
14833
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
14834
14834
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
14835
|
-
|
|
14835
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14836
14836
|
config: z.ZodObject<{
|
|
14837
14837
|
type: z.ZodLiteral<"mcp">;
|
|
14838
14838
|
mcp: z.ZodObject<{
|
|
@@ -14852,8 +14852,8 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
|
|
|
14852
14852
|
activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
14853
14853
|
}, z.core.$strip>;
|
|
14854
14854
|
}, z.core.$strip>;
|
|
14855
|
+
credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14855
14856
|
credentialScope: z.ZodOptional<z.ZodString>;
|
|
14856
|
-
headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
|
|
14857
14857
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
14858
14858
|
capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
|
|
14859
14859
|
lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -14861,9 +14861,9 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
|
|
|
14861
14861
|
functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
14862
14862
|
id: z.ZodString;
|
|
14863
14863
|
name: z.ZodString;
|
|
14864
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14865
14864
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
14866
14865
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
14866
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14867
14867
|
functionId: z.ZodString;
|
|
14868
14868
|
}, z.core.$strip>>>;
|
|
14869
14869
|
functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
@@ -14877,9 +14877,9 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
|
|
|
14877
14877
|
dataComponents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
14878
14878
|
id: z.ZodString;
|
|
14879
14879
|
name: z.ZodString;
|
|
14880
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14881
14880
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
14882
14881
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
14882
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14883
14883
|
props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
|
|
14884
14884
|
render: z.ZodOptional<z.ZodNullable<z.ZodType<{
|
|
14885
14885
|
component: string;
|
|
@@ -14907,11 +14907,11 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
|
|
|
14907
14907
|
externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
14908
14908
|
id: z.ZodString;
|
|
14909
14909
|
name: z.ZodString;
|
|
14910
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14911
14910
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
14912
14911
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
14913
|
-
|
|
14912
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14914
14913
|
credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14914
|
+
baseUrl: z.ZodString;
|
|
14915
14915
|
}, z.core.$strip>>>;
|
|
14916
14916
|
statusUpdates: z.ZodOptional<z.ZodObject<{
|
|
14917
14917
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -14933,10 +14933,10 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
|
|
|
14933
14933
|
name: z.ZodString;
|
|
14934
14934
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
14935
14935
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
14936
|
+
userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14936
14937
|
credentialStoreId: z.ZodString;
|
|
14937
14938
|
retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
14938
14939
|
toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14939
|
-
userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14940
14940
|
createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14941
14941
|
type: z.ZodEnum<{
|
|
14942
14942
|
readonly memory: "memory";
|
|
@@ -14954,6 +14954,8 @@ declare const ProjectResponse: z.ZodObject<{
|
|
|
14954
14954
|
data: z.ZodObject<{
|
|
14955
14955
|
id: z.ZodString;
|
|
14956
14956
|
name: z.ZodString;
|
|
14957
|
+
createdAt: z.ZodString;
|
|
14958
|
+
updatedAt: z.ZodString;
|
|
14957
14959
|
description: z.ZodNullable<z.ZodString>;
|
|
14958
14960
|
models: z.ZodNullable<z.ZodObject<{
|
|
14959
14961
|
base: z.ZodObject<{
|
|
@@ -14973,8 +14975,6 @@ declare const ProjectResponse: z.ZodObject<{
|
|
|
14973
14975
|
transferCountIs: z.ZodOptional<z.ZodNumber>;
|
|
14974
14976
|
stepCountIs: z.ZodOptional<z.ZodNumber>;
|
|
14975
14977
|
}, z.core.$strip>>;
|
|
14976
|
-
createdAt: z.ZodString;
|
|
14977
|
-
updatedAt: z.ZodString;
|
|
14978
14978
|
}, {
|
|
14979
14979
|
out: {};
|
|
14980
14980
|
in: {};
|
|
@@ -14984,7 +14984,10 @@ declare const SubAgentResponse: z.ZodObject<{
|
|
|
14984
14984
|
data: z.ZodObject<{
|
|
14985
14985
|
id: z.ZodString;
|
|
14986
14986
|
name: z.ZodString;
|
|
14987
|
+
createdAt: z.ZodString;
|
|
14988
|
+
updatedAt: z.ZodString;
|
|
14987
14989
|
description: z.ZodNullable<z.ZodString>;
|
|
14990
|
+
prompt: z.ZodNullable<z.ZodString>;
|
|
14988
14991
|
models: z.ZodNullable<z.ZodType<{
|
|
14989
14992
|
base?: {
|
|
14990
14993
|
model?: string | undefined;
|
|
@@ -15047,9 +15050,6 @@ declare const SubAgentResponse: z.ZodObject<{
|
|
|
15047
15050
|
}, {
|
|
15048
15051
|
stepCountIs?: number | undefined;
|
|
15049
15052
|
}>>>;
|
|
15050
|
-
createdAt: z.ZodString;
|
|
15051
|
-
updatedAt: z.ZodString;
|
|
15052
|
-
prompt: z.ZodNullable<z.ZodString>;
|
|
15053
15053
|
conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
|
|
15054
15054
|
}, z.core.$strip>;
|
|
15055
15055
|
}, z.core.$strip>;
|
|
@@ -15057,7 +15057,10 @@ declare const AgentResponse: z.ZodObject<{
|
|
|
15057
15057
|
data: z.ZodObject<{
|
|
15058
15058
|
id: z.ZodString;
|
|
15059
15059
|
name: z.ZodString;
|
|
15060
|
+
createdAt: z.ZodString;
|
|
15061
|
+
updatedAt: z.ZodString;
|
|
15060
15062
|
description: z.ZodNullable<z.ZodString>;
|
|
15063
|
+
prompt: z.ZodNullable<z.ZodString>;
|
|
15061
15064
|
models: z.ZodNullable<z.ZodType<{
|
|
15062
15065
|
base?: {
|
|
15063
15066
|
model?: string | undefined;
|
|
@@ -15120,11 +15123,8 @@ declare const AgentResponse: z.ZodObject<{
|
|
|
15120
15123
|
}, {
|
|
15121
15124
|
transferCountIs?: number | undefined;
|
|
15122
15125
|
}>>>;
|
|
15123
|
-
createdAt: z.ZodString;
|
|
15124
|
-
updatedAt: z.ZodString;
|
|
15125
15126
|
defaultSubAgentId: z.ZodNullable<z.ZodString>;
|
|
15126
15127
|
contextConfigId: z.ZodNullable<z.ZodString>;
|
|
15127
|
-
prompt: z.ZodNullable<z.ZodString>;
|
|
15128
15128
|
statusUpdates: z.ZodNullable<z.ZodType<{
|
|
15129
15129
|
enabled?: boolean | undefined;
|
|
15130
15130
|
numEvents?: number | undefined;
|
|
@@ -15186,12 +15186,12 @@ declare const AgentResponse: z.ZodObject<{
|
|
|
15186
15186
|
}, z.core.$strip>;
|
|
15187
15187
|
declare const ToolResponse: z.ZodObject<{
|
|
15188
15188
|
data: z.ZodObject<{
|
|
15189
|
+
headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
|
|
15189
15190
|
id: z.ZodString;
|
|
15190
15191
|
name: z.ZodString;
|
|
15191
|
-
description: z.ZodNullable<z.ZodString>;
|
|
15192
15192
|
createdAt: z.ZodString;
|
|
15193
15193
|
updatedAt: z.ZodString;
|
|
15194
|
-
|
|
15194
|
+
description: z.ZodNullable<z.ZodString>;
|
|
15195
15195
|
config: z.ZodType<{
|
|
15196
15196
|
type: "mcp";
|
|
15197
15197
|
mcp: ToolMcpConfig;
|
|
@@ -15205,8 +15205,8 @@ declare const ToolResponse: z.ZodObject<{
|
|
|
15205
15205
|
type: "mcp";
|
|
15206
15206
|
mcp: ToolMcpConfig;
|
|
15207
15207
|
}>>;
|
|
15208
|
+
credentialReferenceId: z.ZodNullable<z.ZodString>;
|
|
15208
15209
|
credentialScope: z.ZodString;
|
|
15209
|
-
headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
|
|
15210
15210
|
imageUrl: z.ZodNullable<z.ZodString>;
|
|
15211
15211
|
capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
|
|
15212
15212
|
lastError: z.ZodNullable<z.ZodString>;
|
|
@@ -15216,11 +15216,11 @@ declare const ExternalAgentResponse: z.ZodObject<{
|
|
|
15216
15216
|
data: z.ZodObject<{
|
|
15217
15217
|
id: z.ZodString;
|
|
15218
15218
|
name: z.ZodString;
|
|
15219
|
-
description: z.ZodNullable<z.ZodString>;
|
|
15220
15219
|
createdAt: z.ZodString;
|
|
15221
15220
|
updatedAt: z.ZodString;
|
|
15222
|
-
|
|
15221
|
+
description: z.ZodNullable<z.ZodString>;
|
|
15223
15222
|
credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15223
|
+
baseUrl: z.ZodString;
|
|
15224
15224
|
}, z.core.$strip>;
|
|
15225
15225
|
}, z.core.$strip>;
|
|
15226
15226
|
declare const ContextConfigResponse: z.ZodObject<{
|
|
@@ -15238,11 +15238,11 @@ declare const ApiKeyResponse: z.ZodObject<{
|
|
|
15238
15238
|
name: z.ZodNullable<z.ZodString>;
|
|
15239
15239
|
createdAt: z.ZodString;
|
|
15240
15240
|
updatedAt: z.ZodString;
|
|
15241
|
+
expiresAt: z.ZodNullable<z.ZodString>;
|
|
15241
15242
|
agentId: z.ZodString;
|
|
15242
15243
|
publicId: z.ZodString;
|
|
15243
15244
|
keyPrefix: z.ZodString;
|
|
15244
15245
|
lastUsedAt: z.ZodNullable<z.ZodString>;
|
|
15245
|
-
expiresAt: z.ZodNullable<z.ZodString>;
|
|
15246
15246
|
}, {
|
|
15247
15247
|
out: {};
|
|
15248
15248
|
in: {};
|
|
@@ -15254,10 +15254,10 @@ declare const CredentialReferenceResponse: z.ZodObject<{
|
|
|
15254
15254
|
name: z.ZodString;
|
|
15255
15255
|
createdAt: z.ZodString;
|
|
15256
15256
|
updatedAt: z.ZodString;
|
|
15257
|
+
userId: z.ZodNullable<z.ZodString>;
|
|
15257
15258
|
credentialStoreId: z.ZodString;
|
|
15258
15259
|
retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
15259
15260
|
toolId: z.ZodNullable<z.ZodString>;
|
|
15260
|
-
userId: z.ZodNullable<z.ZodString>;
|
|
15261
15261
|
createdBy: z.ZodNullable<z.ZodString>;
|
|
15262
15262
|
type: z.ZodEnum<{
|
|
15263
15263
|
readonly memory: "memory";
|
|
@@ -15821,9 +15821,9 @@ declare const FunctionToolResponse: z.ZodObject<{
|
|
|
15821
15821
|
data: z.ZodObject<{
|
|
15822
15822
|
id: z.ZodString;
|
|
15823
15823
|
name: z.ZodString;
|
|
15824
|
-
description: z.ZodNullable<z.ZodString>;
|
|
15825
15824
|
createdAt: z.ZodString;
|
|
15826
15825
|
updatedAt: z.ZodString;
|
|
15826
|
+
description: z.ZodNullable<z.ZodString>;
|
|
15827
15827
|
agentId: z.ZodString;
|
|
15828
15828
|
functionId: z.ZodString;
|
|
15829
15829
|
}, z.core.$strip>;
|
|
@@ -15832,9 +15832,9 @@ declare const DataComponentResponse: z.ZodObject<{
|
|
|
15832
15832
|
data: z.ZodObject<{
|
|
15833
15833
|
id: z.ZodString;
|
|
15834
15834
|
name: z.ZodString;
|
|
15835
|
-
description: z.ZodNullable<z.ZodString>;
|
|
15836
15835
|
createdAt: z.ZodString;
|
|
15837
15836
|
updatedAt: z.ZodString;
|
|
15837
|
+
description: z.ZodNullable<z.ZodString>;
|
|
15838
15838
|
props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
15839
15839
|
render: z.ZodNullable<z.ZodType<{
|
|
15840
15840
|
component: string;
|
|
@@ -15855,9 +15855,9 @@ declare const ArtifactComponentResponse: z.ZodObject<{
|
|
|
15855
15855
|
data: z.ZodObject<{
|
|
15856
15856
|
id: z.ZodString;
|
|
15857
15857
|
name: z.ZodString;
|
|
15858
|
-
description: z.ZodNullable<z.ZodString>;
|
|
15859
15858
|
createdAt: z.ZodString;
|
|
15860
15859
|
updatedAt: z.ZodString;
|
|
15860
|
+
description: z.ZodNullable<z.ZodString>;
|
|
15861
15861
|
props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
15862
15862
|
}, z.core.$strip>;
|
|
15863
15863
|
}, z.core.$strip>;
|
|
@@ -15873,43 +15873,43 @@ declare const SubAgentRelationResponse: z.ZodObject<{
|
|
|
15873
15873
|
}, z.core.$strip>;
|
|
15874
15874
|
declare const SubAgentToolRelationResponse: z.ZodObject<{
|
|
15875
15875
|
data: z.ZodObject<{
|
|
15876
|
+
headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
|
|
15876
15877
|
id: z.ZodString;
|
|
15877
15878
|
createdAt: z.ZodString;
|
|
15878
15879
|
updatedAt: z.ZodString;
|
|
15879
15880
|
toolId: z.ZodString;
|
|
15881
|
+
toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
|
|
15880
15882
|
subAgentId: z.ZodString;
|
|
15881
|
-
headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
|
|
15882
15883
|
selectedTools: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
|
|
15883
|
-
toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
|
|
15884
15884
|
}, z.core.$strip>;
|
|
15885
15885
|
}, z.core.$strip>;
|
|
15886
15886
|
declare const ConversationResponse: z.ZodObject<{
|
|
15887
15887
|
data: z.ZodObject<{
|
|
15888
|
+
metadata: z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>;
|
|
15888
15889
|
id: z.ZodString;
|
|
15889
|
-
title: z.ZodNullable<z.ZodString>;
|
|
15890
15890
|
createdAt: z.ZodString;
|
|
15891
15891
|
updatedAt: z.ZodString;
|
|
15892
|
-
metadata: z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>;
|
|
15893
15892
|
userId: z.ZodNullable<z.ZodString>;
|
|
15893
|
+
title: z.ZodNullable<z.ZodString>;
|
|
15894
15894
|
activeSubAgentId: z.ZodString;
|
|
15895
15895
|
lastContextResolution: z.ZodNullable<z.ZodString>;
|
|
15896
15896
|
}, z.core.$strip>;
|
|
15897
15897
|
}, z.core.$strip>;
|
|
15898
15898
|
declare const MessageResponse: z.ZodObject<{
|
|
15899
15899
|
data: z.ZodObject<{
|
|
15900
|
+
metadata: z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>;
|
|
15900
15901
|
id: z.ZodString;
|
|
15901
15902
|
createdAt: z.ZodString;
|
|
15902
15903
|
updatedAt: z.ZodString;
|
|
15903
|
-
metadata: z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>;
|
|
15904
|
-
conversationId: z.ZodString;
|
|
15905
15904
|
role: z.ZodString;
|
|
15905
|
+
content: z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>;
|
|
15906
|
+
conversationId: z.ZodString;
|
|
15906
15907
|
fromSubAgentId: z.ZodNullable<z.ZodString>;
|
|
15907
15908
|
toSubAgentId: z.ZodNullable<z.ZodString>;
|
|
15908
15909
|
fromExternalAgentId: z.ZodNullable<z.ZodString>;
|
|
15909
15910
|
toExternalAgentId: z.ZodNullable<z.ZodString>;
|
|
15910
15911
|
fromTeamAgentId: z.ZodNullable<z.ZodString>;
|
|
15911
15912
|
toTeamAgentId: z.ZodNullable<z.ZodString>;
|
|
15912
|
-
content: z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>;
|
|
15913
15913
|
visibility: z.ZodString;
|
|
15914
15914
|
messageType: z.ZodString;
|
|
15915
15915
|
taskId: z.ZodNullable<z.ZodString>;
|
|
@@ -15922,6 +15922,8 @@ declare const ProjectListResponse: z.ZodObject<{
|
|
|
15922
15922
|
data: z.ZodArray<z.ZodObject<{
|
|
15923
15923
|
id: z.ZodString;
|
|
15924
15924
|
name: z.ZodString;
|
|
15925
|
+
createdAt: z.ZodString;
|
|
15926
|
+
updatedAt: z.ZodString;
|
|
15925
15927
|
description: z.ZodNullable<z.ZodString>;
|
|
15926
15928
|
models: z.ZodNullable<z.ZodObject<{
|
|
15927
15929
|
base: z.ZodObject<{
|
|
@@ -15941,8 +15943,6 @@ declare const ProjectListResponse: z.ZodObject<{
|
|
|
15941
15943
|
transferCountIs: z.ZodOptional<z.ZodNumber>;
|
|
15942
15944
|
stepCountIs: z.ZodOptional<z.ZodNumber>;
|
|
15943
15945
|
}, z.core.$strip>>;
|
|
15944
|
-
createdAt: z.ZodString;
|
|
15945
|
-
updatedAt: z.ZodString;
|
|
15946
15946
|
}, {
|
|
15947
15947
|
out: {};
|
|
15948
15948
|
in: {};
|
|
@@ -15958,7 +15958,10 @@ declare const SubAgentListResponse: z.ZodObject<{
|
|
|
15958
15958
|
data: z.ZodArray<z.ZodObject<{
|
|
15959
15959
|
id: z.ZodString;
|
|
15960
15960
|
name: z.ZodString;
|
|
15961
|
+
createdAt: z.ZodString;
|
|
15962
|
+
updatedAt: z.ZodString;
|
|
15961
15963
|
description: z.ZodNullable<z.ZodString>;
|
|
15964
|
+
prompt: z.ZodNullable<z.ZodString>;
|
|
15962
15965
|
models: z.ZodNullable<z.ZodType<{
|
|
15963
15966
|
base?: {
|
|
15964
15967
|
model?: string | undefined;
|
|
@@ -16021,9 +16024,6 @@ declare const SubAgentListResponse: z.ZodObject<{
|
|
|
16021
16024
|
}, {
|
|
16022
16025
|
stepCountIs?: number | undefined;
|
|
16023
16026
|
}>>>;
|
|
16024
|
-
createdAt: z.ZodString;
|
|
16025
|
-
updatedAt: z.ZodString;
|
|
16026
|
-
prompt: z.ZodNullable<z.ZodString>;
|
|
16027
16027
|
conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
|
|
16028
16028
|
}, z.core.$strip>>;
|
|
16029
16029
|
pagination: z.ZodObject<{
|
|
@@ -16037,7 +16037,10 @@ declare const AgentListResponse: z.ZodObject<{
|
|
|
16037
16037
|
data: z.ZodArray<z.ZodObject<{
|
|
16038
16038
|
id: z.ZodString;
|
|
16039
16039
|
name: z.ZodString;
|
|
16040
|
+
createdAt: z.ZodString;
|
|
16041
|
+
updatedAt: z.ZodString;
|
|
16040
16042
|
description: z.ZodNullable<z.ZodString>;
|
|
16043
|
+
prompt: z.ZodNullable<z.ZodString>;
|
|
16041
16044
|
models: z.ZodNullable<z.ZodType<{
|
|
16042
16045
|
base?: {
|
|
16043
16046
|
model?: string | undefined;
|
|
@@ -16100,11 +16103,8 @@ declare const AgentListResponse: z.ZodObject<{
|
|
|
16100
16103
|
}, {
|
|
16101
16104
|
transferCountIs?: number | undefined;
|
|
16102
16105
|
}>>>;
|
|
16103
|
-
createdAt: z.ZodString;
|
|
16104
|
-
updatedAt: z.ZodString;
|
|
16105
16106
|
defaultSubAgentId: z.ZodNullable<z.ZodString>;
|
|
16106
16107
|
contextConfigId: z.ZodNullable<z.ZodString>;
|
|
16107
|
-
prompt: z.ZodNullable<z.ZodString>;
|
|
16108
16108
|
statusUpdates: z.ZodNullable<z.ZodType<{
|
|
16109
16109
|
enabled?: boolean | undefined;
|
|
16110
16110
|
numEvents?: number | undefined;
|
|
@@ -16172,12 +16172,12 @@ declare const AgentListResponse: z.ZodObject<{
|
|
|
16172
16172
|
}, z.core.$strip>;
|
|
16173
16173
|
declare const ToolListResponse: z.ZodObject<{
|
|
16174
16174
|
data: z.ZodArray<z.ZodObject<{
|
|
16175
|
+
headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
|
|
16175
16176
|
id: z.ZodString;
|
|
16176
16177
|
name: z.ZodString;
|
|
16177
|
-
description: z.ZodNullable<z.ZodString>;
|
|
16178
16178
|
createdAt: z.ZodString;
|
|
16179
16179
|
updatedAt: z.ZodString;
|
|
16180
|
-
|
|
16180
|
+
description: z.ZodNullable<z.ZodString>;
|
|
16181
16181
|
config: z.ZodType<{
|
|
16182
16182
|
type: "mcp";
|
|
16183
16183
|
mcp: ToolMcpConfig;
|
|
@@ -16191,8 +16191,8 @@ declare const ToolListResponse: z.ZodObject<{
|
|
|
16191
16191
|
type: "mcp";
|
|
16192
16192
|
mcp: ToolMcpConfig;
|
|
16193
16193
|
}>>;
|
|
16194
|
+
credentialReferenceId: z.ZodNullable<z.ZodString>;
|
|
16194
16195
|
credentialScope: z.ZodString;
|
|
16195
|
-
headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
|
|
16196
16196
|
imageUrl: z.ZodNullable<z.ZodString>;
|
|
16197
16197
|
capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
|
|
16198
16198
|
lastError: z.ZodNullable<z.ZodString>;
|
|
@@ -16208,11 +16208,11 @@ declare const ExternalAgentListResponse: z.ZodObject<{
|
|
|
16208
16208
|
data: z.ZodArray<z.ZodObject<{
|
|
16209
16209
|
id: z.ZodString;
|
|
16210
16210
|
name: z.ZodString;
|
|
16211
|
-
description: z.ZodNullable<z.ZodString>;
|
|
16212
16211
|
createdAt: z.ZodString;
|
|
16213
16212
|
updatedAt: z.ZodString;
|
|
16214
|
-
|
|
16213
|
+
description: z.ZodNullable<z.ZodString>;
|
|
16215
16214
|
credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16215
|
+
baseUrl: z.ZodString;
|
|
16216
16216
|
}, z.core.$strip>>;
|
|
16217
16217
|
pagination: z.ZodObject<{
|
|
16218
16218
|
page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
@@ -16242,11 +16242,11 @@ declare const ApiKeyListResponse: z.ZodObject<{
|
|
|
16242
16242
|
name: z.ZodNullable<z.ZodString>;
|
|
16243
16243
|
createdAt: z.ZodString;
|
|
16244
16244
|
updatedAt: z.ZodString;
|
|
16245
|
+
expiresAt: z.ZodNullable<z.ZodString>;
|
|
16245
16246
|
agentId: z.ZodString;
|
|
16246
16247
|
publicId: z.ZodString;
|
|
16247
16248
|
keyPrefix: z.ZodString;
|
|
16248
16249
|
lastUsedAt: z.ZodNullable<z.ZodString>;
|
|
16249
|
-
expiresAt: z.ZodNullable<z.ZodString>;
|
|
16250
16250
|
}, {
|
|
16251
16251
|
out: {};
|
|
16252
16252
|
in: {};
|
|
@@ -16264,10 +16264,10 @@ declare const CredentialReferenceListResponse: z.ZodObject<{
|
|
|
16264
16264
|
name: z.ZodString;
|
|
16265
16265
|
createdAt: z.ZodString;
|
|
16266
16266
|
updatedAt: z.ZodString;
|
|
16267
|
+
userId: z.ZodNullable<z.ZodString>;
|
|
16267
16268
|
credentialStoreId: z.ZodString;
|
|
16268
16269
|
retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
16269
16270
|
toolId: z.ZodNullable<z.ZodString>;
|
|
16270
|
-
userId: z.ZodNullable<z.ZodString>;
|
|
16271
16271
|
createdBy: z.ZodNullable<z.ZodString>;
|
|
16272
16272
|
type: z.ZodEnum<{
|
|
16273
16273
|
readonly memory: "memory";
|
|
@@ -16843,9 +16843,9 @@ declare const FunctionToolListResponse: z.ZodObject<{
|
|
|
16843
16843
|
data: z.ZodArray<z.ZodObject<{
|
|
16844
16844
|
id: z.ZodString;
|
|
16845
16845
|
name: z.ZodString;
|
|
16846
|
-
description: z.ZodNullable<z.ZodString>;
|
|
16847
16846
|
createdAt: z.ZodString;
|
|
16848
16847
|
updatedAt: z.ZodString;
|
|
16848
|
+
description: z.ZodNullable<z.ZodString>;
|
|
16849
16849
|
agentId: z.ZodString;
|
|
16850
16850
|
functionId: z.ZodString;
|
|
16851
16851
|
}, z.core.$strip>>;
|
|
@@ -16860,9 +16860,9 @@ declare const DataComponentListResponse: z.ZodObject<{
|
|
|
16860
16860
|
data: z.ZodArray<z.ZodObject<{
|
|
16861
16861
|
id: z.ZodString;
|
|
16862
16862
|
name: z.ZodString;
|
|
16863
|
-
description: z.ZodNullable<z.ZodString>;
|
|
16864
16863
|
createdAt: z.ZodString;
|
|
16865
16864
|
updatedAt: z.ZodString;
|
|
16865
|
+
description: z.ZodNullable<z.ZodString>;
|
|
16866
16866
|
props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
16867
16867
|
render: z.ZodNullable<z.ZodType<{
|
|
16868
16868
|
component: string;
|
|
@@ -16889,9 +16889,9 @@ declare const ArtifactComponentListResponse: z.ZodObject<{
|
|
|
16889
16889
|
data: z.ZodArray<z.ZodObject<{
|
|
16890
16890
|
id: z.ZodString;
|
|
16891
16891
|
name: z.ZodString;
|
|
16892
|
-
description: z.ZodNullable<z.ZodString>;
|
|
16893
16892
|
createdAt: z.ZodString;
|
|
16894
16893
|
updatedAt: z.ZodString;
|
|
16894
|
+
description: z.ZodNullable<z.ZodString>;
|
|
16895
16895
|
props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
16896
16896
|
}, z.core.$strip>>;
|
|
16897
16897
|
pagination: z.ZodObject<{
|
|
@@ -16919,14 +16919,14 @@ declare const SubAgentRelationListResponse: z.ZodObject<{
|
|
|
16919
16919
|
}, z.core.$strip>;
|
|
16920
16920
|
declare const SubAgentToolRelationListResponse: z.ZodObject<{
|
|
16921
16921
|
data: z.ZodArray<z.ZodObject<{
|
|
16922
|
+
headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
|
|
16922
16923
|
id: z.ZodString;
|
|
16923
16924
|
createdAt: z.ZodString;
|
|
16924
16925
|
updatedAt: z.ZodString;
|
|
16925
16926
|
toolId: z.ZodString;
|
|
16927
|
+
toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
|
|
16926
16928
|
subAgentId: z.ZodString;
|
|
16927
|
-
headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
|
|
16928
16929
|
selectedTools: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
|
|
16929
|
-
toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
|
|
16930
16930
|
}, z.core.$strip>>;
|
|
16931
16931
|
pagination: z.ZodObject<{
|
|
16932
16932
|
page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
@@ -16937,12 +16937,12 @@ declare const SubAgentToolRelationListResponse: z.ZodObject<{
|
|
|
16937
16937
|
}, z.core.$strip>;
|
|
16938
16938
|
declare const ConversationListResponse: z.ZodObject<{
|
|
16939
16939
|
data: z.ZodArray<z.ZodObject<{
|
|
16940
|
+
metadata: z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>;
|
|
16940
16941
|
id: z.ZodString;
|
|
16941
|
-
title: z.ZodNullable<z.ZodString>;
|
|
16942
16942
|
createdAt: z.ZodString;
|
|
16943
16943
|
updatedAt: z.ZodString;
|
|
16944
|
-
metadata: z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>;
|
|
16945
16944
|
userId: z.ZodNullable<z.ZodString>;
|
|
16945
|
+
title: z.ZodNullable<z.ZodString>;
|
|
16946
16946
|
activeSubAgentId: z.ZodString;
|
|
16947
16947
|
lastContextResolution: z.ZodNullable<z.ZodString>;
|
|
16948
16948
|
}, z.core.$strip>>;
|
|
@@ -16955,19 +16955,19 @@ declare const ConversationListResponse: z.ZodObject<{
|
|
|
16955
16955
|
}, z.core.$strip>;
|
|
16956
16956
|
declare const MessageListResponse: z.ZodObject<{
|
|
16957
16957
|
data: z.ZodArray<z.ZodObject<{
|
|
16958
|
+
metadata: z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>;
|
|
16958
16959
|
id: z.ZodString;
|
|
16959
16960
|
createdAt: z.ZodString;
|
|
16960
16961
|
updatedAt: z.ZodString;
|
|
16961
|
-
metadata: z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>;
|
|
16962
|
-
conversationId: z.ZodString;
|
|
16963
16962
|
role: z.ZodString;
|
|
16963
|
+
content: z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>;
|
|
16964
|
+
conversationId: z.ZodString;
|
|
16964
16965
|
fromSubAgentId: z.ZodNullable<z.ZodString>;
|
|
16965
16966
|
toSubAgentId: z.ZodNullable<z.ZodString>;
|
|
16966
16967
|
fromExternalAgentId: z.ZodNullable<z.ZodString>;
|
|
16967
16968
|
toExternalAgentId: z.ZodNullable<z.ZodString>;
|
|
16968
16969
|
fromTeamAgentId: z.ZodNullable<z.ZodString>;
|
|
16969
16970
|
toTeamAgentId: z.ZodNullable<z.ZodString>;
|
|
16970
|
-
content: z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>;
|
|
16971
16971
|
visibility: z.ZodString;
|
|
16972
16972
|
messageType: z.ZodString;
|
|
16973
16973
|
taskId: z.ZodNullable<z.ZodString>;
|
|
@@ -17051,15 +17051,17 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
|
|
|
17051
17051
|
}, z.core.$strip>>;
|
|
17052
17052
|
agents: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
17053
17053
|
name: z.ZodString;
|
|
17054
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17055
17054
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
17056
17055
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
17056
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17057
17057
|
defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17058
17058
|
contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17059
17059
|
id: z.ZodString;
|
|
17060
17060
|
subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
17061
17061
|
id: z.ZodString;
|
|
17062
17062
|
name: z.ZodString;
|
|
17063
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
17064
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
17063
17065
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17064
17066
|
models: z.ZodOptional<z.ZodObject<{
|
|
17065
17067
|
base: z.ZodOptional<z.ZodObject<{
|
|
@@ -17084,8 +17086,6 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
|
|
|
17084
17086
|
}, {
|
|
17085
17087
|
stepCountIs?: number | undefined;
|
|
17086
17088
|
}>>>>;
|
|
17087
|
-
createdAt: z.ZodOptional<z.ZodString>;
|
|
17088
|
-
updatedAt: z.ZodOptional<z.ZodString>;
|
|
17089
17089
|
conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
|
|
17090
17090
|
type: z.ZodLiteral<"internal">;
|
|
17091
17091
|
canUse: z.ZodArray<z.ZodObject<{
|
|
@@ -17112,12 +17112,12 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
|
|
|
17112
17112
|
}, z.core.$strip>]>>>;
|
|
17113
17113
|
}, z.core.$strip>>;
|
|
17114
17114
|
tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
17115
|
+
headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
|
|
17115
17116
|
id: z.ZodString;
|
|
17116
17117
|
name: z.ZodString;
|
|
17117
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17118
17118
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
17119
17119
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
17120
|
-
|
|
17120
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17121
17121
|
config: z.ZodObject<{
|
|
17122
17122
|
type: z.ZodLiteral<"mcp">;
|
|
17123
17123
|
mcp: z.ZodObject<{
|
|
@@ -17137,8 +17137,8 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
|
|
|
17137
17137
|
activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
17138
17138
|
}, z.core.$strip>;
|
|
17139
17139
|
}, z.core.$strip>;
|
|
17140
|
+
credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17140
17141
|
credentialScope: z.ZodOptional<z.ZodString>;
|
|
17141
|
-
headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
|
|
17142
17142
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
17143
17143
|
capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
|
|
17144
17144
|
lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -17146,11 +17146,11 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
|
|
|
17146
17146
|
externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
17147
17147
|
id: z.ZodString;
|
|
17148
17148
|
name: z.ZodString;
|
|
17149
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17150
17149
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
17151
17150
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
17152
|
-
|
|
17151
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17153
17152
|
credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17153
|
+
baseUrl: z.ZodString;
|
|
17154
17154
|
}, z.core.$strip>>>;
|
|
17155
17155
|
teamAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
17156
17156
|
id: z.ZodString;
|
|
@@ -17160,9 +17160,9 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
|
|
|
17160
17160
|
functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
17161
17161
|
id: z.ZodString;
|
|
17162
17162
|
name: z.ZodString;
|
|
17163
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17164
17163
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
17165
17164
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
17165
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17166
17166
|
functionId: z.ZodString;
|
|
17167
17167
|
}, z.core.$strip>>>;
|
|
17168
17168
|
functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
@@ -17213,12 +17213,12 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
|
|
|
17213
17213
|
prompt: z.ZodOptional<z.ZodString>;
|
|
17214
17214
|
}, z.core.$strip>>;
|
|
17215
17215
|
tools: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
17216
|
+
headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
|
|
17216
17217
|
id: z.ZodString;
|
|
17217
17218
|
name: z.ZodString;
|
|
17218
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17219
17219
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
17220
17220
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
17221
|
-
|
|
17221
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17222
17222
|
config: z.ZodObject<{
|
|
17223
17223
|
type: z.ZodLiteral<"mcp">;
|
|
17224
17224
|
mcp: z.ZodObject<{
|
|
@@ -17238,8 +17238,8 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
|
|
|
17238
17238
|
activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
17239
17239
|
}, z.core.$strip>;
|
|
17240
17240
|
}, z.core.$strip>;
|
|
17241
|
+
credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17241
17242
|
credentialScope: z.ZodOptional<z.ZodString>;
|
|
17242
|
-
headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
|
|
17243
17243
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
17244
17244
|
capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
|
|
17245
17245
|
lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -17247,9 +17247,9 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
|
|
|
17247
17247
|
functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
17248
17248
|
id: z.ZodString;
|
|
17249
17249
|
name: z.ZodString;
|
|
17250
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17251
17250
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
17252
17251
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
17252
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17253
17253
|
functionId: z.ZodString;
|
|
17254
17254
|
}, z.core.$strip>>>;
|
|
17255
17255
|
functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
@@ -17263,9 +17263,9 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
|
|
|
17263
17263
|
dataComponents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
17264
17264
|
id: z.ZodString;
|
|
17265
17265
|
name: z.ZodString;
|
|
17266
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17267
17266
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
17268
17267
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
17268
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17269
17269
|
props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
|
|
17270
17270
|
render: z.ZodOptional<z.ZodNullable<z.ZodType<{
|
|
17271
17271
|
component: string;
|
|
@@ -17293,11 +17293,11 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
|
|
|
17293
17293
|
externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
17294
17294
|
id: z.ZodString;
|
|
17295
17295
|
name: z.ZodString;
|
|
17296
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17297
17296
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
17298
17297
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
17299
|
-
|
|
17298
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17300
17299
|
credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17300
|
+
baseUrl: z.ZodString;
|
|
17301
17301
|
}, z.core.$strip>>>;
|
|
17302
17302
|
statusUpdates: z.ZodOptional<z.ZodObject<{
|
|
17303
17303
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -17319,10 +17319,10 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
|
|
|
17319
17319
|
name: z.ZodString;
|
|
17320
17320
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
17321
17321
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
17322
|
+
userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17322
17323
|
credentialStoreId: z.ZodString;
|
|
17323
17324
|
retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
17324
17325
|
toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17325
|
-
userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17326
17326
|
createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17327
17327
|
type: z.ZodEnum<{
|
|
17328
17328
|
readonly memory: "memory";
|
|
@@ -17340,15 +17340,17 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
|
|
|
17340
17340
|
declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
|
|
17341
17341
|
data: z.ZodObject<{
|
|
17342
17342
|
name: z.ZodString;
|
|
17343
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17344
17343
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
17345
17344
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
17345
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17346
17346
|
defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17347
17347
|
contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17348
17348
|
id: z.ZodString;
|
|
17349
17349
|
subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
17350
17350
|
id: z.ZodString;
|
|
17351
17351
|
name: z.ZodString;
|
|
17352
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
17353
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
17352
17354
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17353
17355
|
models: z.ZodOptional<z.ZodObject<{
|
|
17354
17356
|
base: z.ZodOptional<z.ZodObject<{
|
|
@@ -17373,8 +17375,6 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
|
|
|
17373
17375
|
}, {
|
|
17374
17376
|
stepCountIs?: number | undefined;
|
|
17375
17377
|
}>>>>;
|
|
17376
|
-
createdAt: z.ZodOptional<z.ZodString>;
|
|
17377
|
-
updatedAt: z.ZodOptional<z.ZodString>;
|
|
17378
17378
|
conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
|
|
17379
17379
|
type: z.ZodLiteral<"internal">;
|
|
17380
17380
|
canUse: z.ZodArray<z.ZodObject<{
|
|
@@ -17401,12 +17401,12 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
|
|
|
17401
17401
|
}, z.core.$strip>]>>>;
|
|
17402
17402
|
}, z.core.$strip>>;
|
|
17403
17403
|
tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
17404
|
+
headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
|
|
17404
17405
|
id: z.ZodString;
|
|
17405
17406
|
name: z.ZodString;
|
|
17406
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17407
17407
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
17408
17408
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
17409
|
-
|
|
17409
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17410
17410
|
config: z.ZodObject<{
|
|
17411
17411
|
type: z.ZodLiteral<"mcp">;
|
|
17412
17412
|
mcp: z.ZodObject<{
|
|
@@ -17426,8 +17426,8 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
|
|
|
17426
17426
|
activeTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
17427
17427
|
}, z.core.$strip>;
|
|
17428
17428
|
}, z.core.$strip>;
|
|
17429
|
+
credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17429
17430
|
credentialScope: z.ZodOptional<z.ZodString>;
|
|
17430
|
-
headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
|
|
17431
17431
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
17432
17432
|
capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
|
|
17433
17433
|
lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -17435,11 +17435,11 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
|
|
|
17435
17435
|
externalAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
17436
17436
|
id: z.ZodString;
|
|
17437
17437
|
name: z.ZodString;
|
|
17438
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17439
17438
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
17440
17439
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
17441
|
-
|
|
17440
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17442
17441
|
credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17442
|
+
baseUrl: z.ZodString;
|
|
17443
17443
|
}, z.core.$strip>>>;
|
|
17444
17444
|
teamAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
17445
17445
|
id: z.ZodString;
|
|
@@ -17449,9 +17449,9 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
|
|
|
17449
17449
|
functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
17450
17450
|
id: z.ZodString;
|
|
17451
17451
|
name: z.ZodString;
|
|
17452
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17453
17452
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
17454
17453
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
17454
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17455
17455
|
functionId: z.ZodString;
|
|
17456
17456
|
}, z.core.$strip>>>;
|
|
17457
17457
|
functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
@@ -17637,21 +17637,21 @@ declare const McpToolListResponse: z.ZodObject<{
|
|
|
17637
17637
|
}, z.core.$strip>;
|
|
17638
17638
|
declare const SubAgentTeamAgentRelationResponse: z.ZodObject<{
|
|
17639
17639
|
data: z.ZodObject<{
|
|
17640
|
+
headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
|
|
17640
17641
|
id: z.ZodString;
|
|
17641
17642
|
createdAt: z.ZodString;
|
|
17642
17643
|
updatedAt: z.ZodString;
|
|
17643
17644
|
subAgentId: z.ZodString;
|
|
17644
|
-
headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
|
|
17645
17645
|
targetAgentId: z.ZodString;
|
|
17646
17646
|
}, z.core.$strip>;
|
|
17647
17647
|
}, z.core.$strip>;
|
|
17648
17648
|
declare const SubAgentTeamAgentRelationListResponse: z.ZodObject<{
|
|
17649
17649
|
data: z.ZodArray<z.ZodObject<{
|
|
17650
|
+
headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
|
|
17650
17651
|
id: z.ZodString;
|
|
17651
17652
|
createdAt: z.ZodString;
|
|
17652
17653
|
updatedAt: z.ZodString;
|
|
17653
17654
|
subAgentId: z.ZodString;
|
|
17654
|
-
headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
|
|
17655
17655
|
targetAgentId: z.ZodString;
|
|
17656
17656
|
}, z.core.$strip>>;
|
|
17657
17657
|
pagination: z.ZodObject<{
|
|
@@ -17663,22 +17663,22 @@ declare const SubAgentTeamAgentRelationListResponse: z.ZodObject<{
|
|
|
17663
17663
|
}, z.core.$strip>;
|
|
17664
17664
|
declare const SubAgentExternalAgentRelationResponse: z.ZodObject<{
|
|
17665
17665
|
data: z.ZodObject<{
|
|
17666
|
+
headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
|
|
17666
17667
|
id: z.ZodString;
|
|
17667
17668
|
createdAt: z.ZodString;
|
|
17668
17669
|
updatedAt: z.ZodString;
|
|
17669
|
-
subAgentId: z.ZodString;
|
|
17670
|
-
headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
|
|
17671
17670
|
externalAgentId: z.ZodString;
|
|
17671
|
+
subAgentId: z.ZodString;
|
|
17672
17672
|
}, z.core.$strip>;
|
|
17673
17673
|
}, z.core.$strip>;
|
|
17674
17674
|
declare const SubAgentExternalAgentRelationListResponse: z.ZodObject<{
|
|
17675
17675
|
data: z.ZodArray<z.ZodObject<{
|
|
17676
|
+
headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
|
|
17676
17677
|
id: z.ZodString;
|
|
17677
17678
|
createdAt: z.ZodString;
|
|
17678
17679
|
updatedAt: z.ZodString;
|
|
17679
|
-
subAgentId: z.ZodString;
|
|
17680
|
-
headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
|
|
17681
17680
|
externalAgentId: z.ZodString;
|
|
17681
|
+
subAgentId: z.ZodString;
|
|
17682
17682
|
}, z.core.$strip>>;
|
|
17683
17683
|
pagination: z.ZodObject<{
|
|
17684
17684
|
page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
@@ -17691,9 +17691,9 @@ declare const DataComponentArrayResponse: z.ZodObject<{
|
|
|
17691
17691
|
data: z.ZodArray<z.ZodObject<{
|
|
17692
17692
|
id: z.ZodString;
|
|
17693
17693
|
name: z.ZodString;
|
|
17694
|
-
description: z.ZodNullable<z.ZodString>;
|
|
17695
17694
|
createdAt: z.ZodString;
|
|
17696
17695
|
updatedAt: z.ZodString;
|
|
17696
|
+
description: z.ZodNullable<z.ZodString>;
|
|
17697
17697
|
props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
17698
17698
|
render: z.ZodNullable<z.ZodType<{
|
|
17699
17699
|
component: string;
|
|
@@ -17714,9 +17714,9 @@ declare const ArtifactComponentArrayResponse: z.ZodObject<{
|
|
|
17714
17714
|
data: z.ZodArray<z.ZodObject<{
|
|
17715
17715
|
id: z.ZodString;
|
|
17716
17716
|
name: z.ZodString;
|
|
17717
|
-
description: z.ZodNullable<z.ZodString>;
|
|
17718
17717
|
createdAt: z.ZodString;
|
|
17719
17718
|
updatedAt: z.ZodString;
|
|
17719
|
+
description: z.ZodNullable<z.ZodString>;
|
|
17720
17720
|
props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
17721
17721
|
}, z.core.$strip>>;
|
|
17722
17722
|
}, z.core.$strip>;
|
|
@@ -18993,7 +18993,12 @@ declare const getAgentById: (db: DatabaseClient) => (params: {
|
|
|
18993
18993
|
}) => Promise<{
|
|
18994
18994
|
id: string;
|
|
18995
18995
|
name: string;
|
|
18996
|
+
createdAt: string;
|
|
18997
|
+
updatedAt: string;
|
|
18998
|
+
tenantId: string;
|
|
18999
|
+
projectId: string;
|
|
18996
19000
|
description: string | null;
|
|
19001
|
+
prompt: string | null;
|
|
18997
19002
|
models: {
|
|
18998
19003
|
base?: {
|
|
18999
19004
|
model?: string | undefined;
|
|
@@ -19011,12 +19016,8 @@ declare const getAgentById: (db: DatabaseClient) => (params: {
|
|
|
19011
19016
|
stopWhen: {
|
|
19012
19017
|
transferCountIs?: number | undefined;
|
|
19013
19018
|
} | null;
|
|
19014
|
-
createdAt: string;
|
|
19015
|
-
updatedAt: string;
|
|
19016
|
-
tenantId: string;
|
|
19017
19019
|
defaultSubAgentId: string | null;
|
|
19018
19020
|
contextConfigId: string | null;
|
|
19019
|
-
prompt: string | null;
|
|
19020
19021
|
statusUpdates: {
|
|
19021
19022
|
enabled?: boolean | undefined;
|
|
19022
19023
|
numEvents?: number | undefined;
|
|
@@ -19032,14 +19033,18 @@ declare const getAgentById: (db: DatabaseClient) => (params: {
|
|
|
19032
19033
|
} | undefined;
|
|
19033
19034
|
}[] | undefined;
|
|
19034
19035
|
} | null;
|
|
19035
|
-
projectId: string;
|
|
19036
19036
|
} | null>;
|
|
19037
19037
|
declare const getAgentWithDefaultSubAgent: (db: DatabaseClient) => (params: {
|
|
19038
19038
|
scopes: AgentScopeConfig;
|
|
19039
19039
|
}) => Promise<{
|
|
19040
19040
|
id: string;
|
|
19041
19041
|
name: string;
|
|
19042
|
+
createdAt: string;
|
|
19043
|
+
updatedAt: string;
|
|
19044
|
+
tenantId: string;
|
|
19045
|
+
projectId: string;
|
|
19042
19046
|
description: string | null;
|
|
19047
|
+
prompt: string | null;
|
|
19043
19048
|
models: {
|
|
19044
19049
|
base?: {
|
|
19045
19050
|
model?: string | undefined;
|
|
@@ -19057,12 +19062,8 @@ declare const getAgentWithDefaultSubAgent: (db: DatabaseClient) => (params: {
|
|
|
19057
19062
|
stopWhen: {
|
|
19058
19063
|
transferCountIs?: number | undefined;
|
|
19059
19064
|
} | null;
|
|
19060
|
-
createdAt: string;
|
|
19061
|
-
updatedAt: string;
|
|
19062
|
-
tenantId: string;
|
|
19063
19065
|
defaultSubAgentId: string | null;
|
|
19064
19066
|
contextConfigId: string | null;
|
|
19065
|
-
prompt: string | null;
|
|
19066
19067
|
statusUpdates: {
|
|
19067
19068
|
enabled?: boolean | undefined;
|
|
19068
19069
|
numEvents?: number | undefined;
|
|
@@ -19078,11 +19079,16 @@ declare const getAgentWithDefaultSubAgent: (db: DatabaseClient) => (params: {
|
|
|
19078
19079
|
} | undefined;
|
|
19079
19080
|
}[] | undefined;
|
|
19080
19081
|
} | null;
|
|
19081
|
-
projectId: string;
|
|
19082
19082
|
defaultSubAgent: {
|
|
19083
19083
|
id: string;
|
|
19084
19084
|
name: string;
|
|
19085
|
+
createdAt: string;
|
|
19086
|
+
updatedAt: string;
|
|
19087
|
+
tenantId: string;
|
|
19088
|
+
projectId: string;
|
|
19085
19089
|
description: string | null;
|
|
19090
|
+
prompt: string | null;
|
|
19091
|
+
agentId: string;
|
|
19086
19092
|
models: {
|
|
19087
19093
|
base?: {
|
|
19088
19094
|
model?: string | undefined;
|
|
@@ -19100,12 +19106,6 @@ declare const getAgentWithDefaultSubAgent: (db: DatabaseClient) => (params: {
|
|
|
19100
19106
|
stopWhen: {
|
|
19101
19107
|
stepCountIs?: number | undefined;
|
|
19102
19108
|
} | null;
|
|
19103
|
-
createdAt: string;
|
|
19104
|
-
updatedAt: string;
|
|
19105
|
-
tenantId: string;
|
|
19106
|
-
prompt: string | null;
|
|
19107
|
-
projectId: string;
|
|
19108
|
-
agentId: string;
|
|
19109
19109
|
conversationHistoryConfig: ConversationHistoryConfig | null;
|
|
19110
19110
|
} | null;
|
|
19111
19111
|
} | null>;
|
|
@@ -19114,7 +19114,12 @@ declare const listAgents: (db: DatabaseClient) => (params: {
|
|
|
19114
19114
|
}) => Promise<{
|
|
19115
19115
|
id: string;
|
|
19116
19116
|
name: string;
|
|
19117
|
+
createdAt: string;
|
|
19118
|
+
updatedAt: string;
|
|
19119
|
+
tenantId: string;
|
|
19120
|
+
projectId: string;
|
|
19117
19121
|
description: string | null;
|
|
19122
|
+
prompt: string | null;
|
|
19118
19123
|
models: {
|
|
19119
19124
|
base?: {
|
|
19120
19125
|
model?: string | undefined;
|
|
@@ -19132,12 +19137,8 @@ declare const listAgents: (db: DatabaseClient) => (params: {
|
|
|
19132
19137
|
stopWhen: {
|
|
19133
19138
|
transferCountIs?: number | undefined;
|
|
19134
19139
|
} | null;
|
|
19135
|
-
createdAt: string;
|
|
19136
|
-
updatedAt: string;
|
|
19137
|
-
tenantId: string;
|
|
19138
19140
|
defaultSubAgentId: string | null;
|
|
19139
19141
|
contextConfigId: string | null;
|
|
19140
|
-
prompt: string | null;
|
|
19141
19142
|
statusUpdates: {
|
|
19142
19143
|
enabled?: boolean | undefined;
|
|
19143
19144
|
numEvents?: number | undefined;
|
|
@@ -19153,7 +19154,6 @@ declare const listAgents: (db: DatabaseClient) => (params: {
|
|
|
19153
19154
|
} | undefined;
|
|
19154
19155
|
}[] | undefined;
|
|
19155
19156
|
} | null;
|
|
19156
|
-
projectId: string;
|
|
19157
19157
|
}[]>;
|
|
19158
19158
|
declare const listAgentsPaginated: (db: DatabaseClient) => (params: {
|
|
19159
19159
|
scopes: ProjectScopeConfig;
|
|
@@ -19213,7 +19213,12 @@ declare const listAgentsPaginated: (db: DatabaseClient) => (params: {
|
|
|
19213
19213
|
declare const createAgent: (db: DatabaseClient) => (data: AgentInsert) => Promise<{
|
|
19214
19214
|
id: string;
|
|
19215
19215
|
name: string;
|
|
19216
|
+
createdAt: string;
|
|
19217
|
+
updatedAt: string;
|
|
19218
|
+
tenantId: string;
|
|
19219
|
+
projectId: string;
|
|
19216
19220
|
description: string | null;
|
|
19221
|
+
prompt: string | null;
|
|
19217
19222
|
models: {
|
|
19218
19223
|
base?: {
|
|
19219
19224
|
model?: string | undefined;
|
|
@@ -19231,12 +19236,8 @@ declare const createAgent: (db: DatabaseClient) => (data: AgentInsert) => Promis
|
|
|
19231
19236
|
stopWhen: {
|
|
19232
19237
|
transferCountIs?: number | undefined;
|
|
19233
19238
|
} | null;
|
|
19234
|
-
createdAt: string;
|
|
19235
|
-
updatedAt: string;
|
|
19236
|
-
tenantId: string;
|
|
19237
19239
|
defaultSubAgentId: string | null;
|
|
19238
19240
|
contextConfigId: string | null;
|
|
19239
|
-
prompt: string | null;
|
|
19240
19241
|
statusUpdates: {
|
|
19241
19242
|
enabled?: boolean | undefined;
|
|
19242
19243
|
numEvents?: number | undefined;
|
|
@@ -19252,7 +19253,6 @@ declare const createAgent: (db: DatabaseClient) => (data: AgentInsert) => Promis
|
|
|
19252
19253
|
} | undefined;
|
|
19253
19254
|
}[] | undefined;
|
|
19254
19255
|
} | null;
|
|
19255
|
-
projectId: string;
|
|
19256
19256
|
}>;
|
|
19257
19257
|
declare const updateAgent: (db: DatabaseClient) => (params: {
|
|
19258
19258
|
scopes: AgentScopeConfig;
|
|
@@ -19356,6 +19356,7 @@ declare const getApiKeyById: (db: DatabaseClient) => (params: {
|
|
|
19356
19356
|
name: string | null;
|
|
19357
19357
|
createdAt: string;
|
|
19358
19358
|
updatedAt: string;
|
|
19359
|
+
expiresAt: string | null;
|
|
19359
19360
|
tenantId: string;
|
|
19360
19361
|
projectId: string;
|
|
19361
19362
|
agentId: string;
|
|
@@ -19363,13 +19364,13 @@ declare const getApiKeyById: (db: DatabaseClient) => (params: {
|
|
|
19363
19364
|
keyHash: string;
|
|
19364
19365
|
keyPrefix: string;
|
|
19365
19366
|
lastUsedAt: string | null;
|
|
19366
|
-
expiresAt: string | null;
|
|
19367
19367
|
} | undefined>;
|
|
19368
19368
|
declare const getApiKeyByPublicId: (db: DatabaseClient) => (publicId: string) => Promise<{
|
|
19369
19369
|
id: string;
|
|
19370
19370
|
name: string | null;
|
|
19371
19371
|
createdAt: string;
|
|
19372
19372
|
updatedAt: string;
|
|
19373
|
+
expiresAt: string | null;
|
|
19373
19374
|
tenantId: string;
|
|
19374
19375
|
projectId: string;
|
|
19375
19376
|
agentId: string;
|
|
@@ -19377,7 +19378,6 @@ declare const getApiKeyByPublicId: (db: DatabaseClient) => (publicId: string) =>
|
|
|
19377
19378
|
keyHash: string;
|
|
19378
19379
|
keyPrefix: string;
|
|
19379
19380
|
lastUsedAt: string | null;
|
|
19380
|
-
expiresAt: string | null;
|
|
19381
19381
|
} | undefined>;
|
|
19382
19382
|
declare const listApiKeys: (db: DatabaseClient) => (params: {
|
|
19383
19383
|
scopes: ProjectScopeConfig;
|
|
@@ -19387,6 +19387,7 @@ declare const listApiKeys: (db: DatabaseClient) => (params: {
|
|
|
19387
19387
|
name: string | null;
|
|
19388
19388
|
createdAt: string;
|
|
19389
19389
|
updatedAt: string;
|
|
19390
|
+
expiresAt: string | null;
|
|
19390
19391
|
tenantId: string;
|
|
19391
19392
|
projectId: string;
|
|
19392
19393
|
agentId: string;
|
|
@@ -19394,7 +19395,6 @@ declare const listApiKeys: (db: DatabaseClient) => (params: {
|
|
|
19394
19395
|
keyHash: string;
|
|
19395
19396
|
keyPrefix: string;
|
|
19396
19397
|
lastUsedAt: string | null;
|
|
19397
|
-
expiresAt: string | null;
|
|
19398
19398
|
}[]>;
|
|
19399
19399
|
declare const listApiKeysPaginated: (db: DatabaseClient) => (params: {
|
|
19400
19400
|
scopes: ProjectScopeConfig;
|
|
@@ -19414,6 +19414,7 @@ declare const createApiKey: (db: DatabaseClient) => (params: ApiKeyInsert) => Pr
|
|
|
19414
19414
|
name: string | null;
|
|
19415
19415
|
createdAt: string;
|
|
19416
19416
|
updatedAt: string;
|
|
19417
|
+
expiresAt: string | null;
|
|
19417
19418
|
tenantId: string;
|
|
19418
19419
|
projectId: string;
|
|
19419
19420
|
agentId: string;
|
|
@@ -19421,7 +19422,6 @@ declare const createApiKey: (db: DatabaseClient) => (params: ApiKeyInsert) => Pr
|
|
|
19421
19422
|
keyHash: string;
|
|
19422
19423
|
keyPrefix: string;
|
|
19423
19424
|
lastUsedAt: string | null;
|
|
19424
|
-
expiresAt: string | null;
|
|
19425
19425
|
}>;
|
|
19426
19426
|
declare const updateApiKey: (db: DatabaseClient) => (params: {
|
|
19427
19427
|
scopes: ProjectScopeConfig;
|
|
@@ -19471,11 +19471,11 @@ declare const getArtifactComponentById: (db: DatabaseClient) => (params: {
|
|
|
19471
19471
|
}) => Promise<{
|
|
19472
19472
|
id: string;
|
|
19473
19473
|
name: string;
|
|
19474
|
-
description: string | null;
|
|
19475
19474
|
createdAt: string;
|
|
19476
19475
|
updatedAt: string;
|
|
19477
19476
|
tenantId: string;
|
|
19478
19477
|
projectId: string;
|
|
19478
|
+
description: string | null;
|
|
19479
19479
|
props: Record<string, unknown> | null;
|
|
19480
19480
|
} | undefined>;
|
|
19481
19481
|
declare const listArtifactComponents: (db: DatabaseClient) => (params: {
|
|
@@ -19505,11 +19505,11 @@ declare const listArtifactComponentsPaginated: (db: DatabaseClient) => (params:
|
|
|
19505
19505
|
declare const createArtifactComponent: (db: DatabaseClient) => (params: ArtifactComponentInsert) => Promise<{
|
|
19506
19506
|
id: string;
|
|
19507
19507
|
name: string;
|
|
19508
|
-
description: string | null;
|
|
19509
19508
|
createdAt: string;
|
|
19510
19509
|
updatedAt: string;
|
|
19511
19510
|
tenantId: string;
|
|
19512
19511
|
projectId: string;
|
|
19512
|
+
description: string | null;
|
|
19513
19513
|
props: Record<string, unknown> | null;
|
|
19514
19514
|
}>;
|
|
19515
19515
|
declare const updateArtifactComponent: (db: DatabaseClient) => (params: {
|
|
@@ -19680,9 +19680,9 @@ declare const getContextConfigById: (db: DatabaseClient) => (params: {
|
|
|
19680
19680
|
updatedAt: string;
|
|
19681
19681
|
tenantId: string;
|
|
19682
19682
|
projectId: string;
|
|
19683
|
+
agentId: string;
|
|
19683
19684
|
headersSchema: unknown;
|
|
19684
19685
|
contextVariables: Record<string, ContextFetchDefinition> | null;
|
|
19685
|
-
agentId: string;
|
|
19686
19686
|
} | undefined>;
|
|
19687
19687
|
declare const listContextConfigs: (db: DatabaseClient) => (params: {
|
|
19688
19688
|
scopes: AgentScopeConfig;
|
|
@@ -19692,9 +19692,9 @@ declare const listContextConfigs: (db: DatabaseClient) => (params: {
|
|
|
19692
19692
|
updatedAt: string;
|
|
19693
19693
|
tenantId: string;
|
|
19694
19694
|
projectId: string;
|
|
19695
|
+
agentId: string;
|
|
19695
19696
|
headersSchema: unknown;
|
|
19696
19697
|
contextVariables: Record<string, ContextFetchDefinition> | null;
|
|
19697
|
-
agentId: string;
|
|
19698
19698
|
}[]>;
|
|
19699
19699
|
declare const listContextConfigsPaginated: (db: DatabaseClient) => (params: {
|
|
19700
19700
|
scopes: AgentScopeConfig;
|
|
@@ -19714,9 +19714,9 @@ declare const createContextConfig: (db: DatabaseClient) => (params: ContextConfi
|
|
|
19714
19714
|
updatedAt: string;
|
|
19715
19715
|
tenantId: string;
|
|
19716
19716
|
projectId: string;
|
|
19717
|
+
agentId: string;
|
|
19717
19718
|
headersSchema: unknown;
|
|
19718
19719
|
contextVariables: Record<string, ContextFetchDefinition> | null;
|
|
19719
|
-
agentId: string;
|
|
19720
19720
|
}>;
|
|
19721
19721
|
declare const updateContextConfig: (db: DatabaseClient) => (params: {
|
|
19722
19722
|
scopes: AgentScopeConfig;
|
|
@@ -19754,9 +19754,9 @@ declare const upsertContextConfig: (db: DatabaseClient) => (params: {
|
|
|
19754
19754
|
updatedAt: string;
|
|
19755
19755
|
tenantId: string;
|
|
19756
19756
|
projectId: string;
|
|
19757
|
+
agentId: string;
|
|
19757
19758
|
headersSchema: unknown;
|
|
19758
19759
|
contextVariables: Record<string, ContextFetchDefinition> | null;
|
|
19759
|
-
agentId: string;
|
|
19760
19760
|
}>;
|
|
19761
19761
|
//#endregion
|
|
19762
19762
|
//#region src/data-access/conversations.d.ts
|
|
@@ -19769,14 +19769,14 @@ declare const listConversations: (db: DatabaseClient) => (params: {
|
|
|
19769
19769
|
total: number;
|
|
19770
19770
|
}>;
|
|
19771
19771
|
declare const createConversation: (db: DatabaseClient) => (params: ConversationInsert) => Promise<{
|
|
19772
|
+
metadata: ConversationMetadata | null;
|
|
19772
19773
|
id: string;
|
|
19773
|
-
title: string | null;
|
|
19774
19774
|
createdAt: string;
|
|
19775
19775
|
updatedAt: string;
|
|
19776
|
+
userId: string | null;
|
|
19776
19777
|
tenantId: string;
|
|
19777
|
-
metadata: ConversationMetadata | null;
|
|
19778
19778
|
projectId: string;
|
|
19779
|
-
|
|
19779
|
+
title: string | null;
|
|
19780
19780
|
activeSubAgentId: string;
|
|
19781
19781
|
lastContextResolution: string | null;
|
|
19782
19782
|
}>;
|
|
@@ -19820,14 +19820,14 @@ declare const getConversation: (db: DatabaseClient) => (params: {
|
|
|
19820
19820
|
scopes: ProjectScopeConfig;
|
|
19821
19821
|
conversationId: string;
|
|
19822
19822
|
}) => Promise<{
|
|
19823
|
+
metadata: ConversationMetadata | null;
|
|
19823
19824
|
id: string;
|
|
19824
|
-
title: string | null;
|
|
19825
19825
|
createdAt: string;
|
|
19826
19826
|
updatedAt: string;
|
|
19827
|
+
userId: string | null;
|
|
19827
19828
|
tenantId: string;
|
|
19828
|
-
metadata: ConversationMetadata | null;
|
|
19829
19829
|
projectId: string;
|
|
19830
|
-
|
|
19830
|
+
title: string | null;
|
|
19831
19831
|
activeSubAgentId: string;
|
|
19832
19832
|
lastContextResolution: string | null;
|
|
19833
19833
|
} | undefined>;
|
|
@@ -19844,14 +19844,14 @@ declare const createOrGetConversation: (db: DatabaseClient) => (input: Conversat
|
|
|
19844
19844
|
metadata?: ConversationMetadata | null | undefined;
|
|
19845
19845
|
contextConfigId?: string | undefined;
|
|
19846
19846
|
} | {
|
|
19847
|
+
metadata: ConversationMetadata | null;
|
|
19847
19848
|
id: string;
|
|
19848
|
-
title: string | null;
|
|
19849
19849
|
createdAt: string;
|
|
19850
19850
|
updatedAt: string;
|
|
19851
|
+
userId: string | null;
|
|
19851
19852
|
tenantId: string;
|
|
19852
|
-
metadata: ConversationMetadata | null;
|
|
19853
19853
|
projectId: string;
|
|
19854
|
-
|
|
19854
|
+
title: string | null;
|
|
19855
19855
|
activeSubAgentId: string;
|
|
19856
19856
|
lastContextResolution: string | null;
|
|
19857
19857
|
}>;
|
|
@@ -19870,14 +19870,14 @@ declare const getActiveAgentForConversation: (db: DatabaseClient) => (params: {
|
|
|
19870
19870
|
scopes: ProjectScopeConfig;
|
|
19871
19871
|
conversationId: string;
|
|
19872
19872
|
}) => Promise<{
|
|
19873
|
+
metadata: ConversationMetadata | null;
|
|
19873
19874
|
id: string;
|
|
19874
|
-
title: string | null;
|
|
19875
19875
|
createdAt: string;
|
|
19876
19876
|
updatedAt: string;
|
|
19877
|
+
userId: string | null;
|
|
19877
19878
|
tenantId: string;
|
|
19878
|
-
metadata: ConversationMetadata | null;
|
|
19879
19879
|
projectId: string;
|
|
19880
|
-
|
|
19880
|
+
title: string | null;
|
|
19881
19881
|
activeSubAgentId: string;
|
|
19882
19882
|
lastContextResolution: string | null;
|
|
19883
19883
|
} | undefined>;
|
|
@@ -20304,11 +20304,11 @@ declare const createFunctionTool: (db: DatabaseClient) => (params: {
|
|
|
20304
20304
|
}) => Promise<{
|
|
20305
20305
|
id: string;
|
|
20306
20306
|
name: string;
|
|
20307
|
-
description: string | null;
|
|
20308
20307
|
createdAt: string;
|
|
20309
20308
|
updatedAt: string;
|
|
20310
20309
|
tenantId: string;
|
|
20311
20310
|
projectId: string;
|
|
20311
|
+
description: string | null;
|
|
20312
20312
|
agentId: string;
|
|
20313
20313
|
functionId: string;
|
|
20314
20314
|
}>;
|
|
@@ -20346,11 +20346,11 @@ declare const upsertFunctionTool: (db: DatabaseClient) => (params: {
|
|
|
20346
20346
|
}) => Promise<{
|
|
20347
20347
|
id: string;
|
|
20348
20348
|
name: string;
|
|
20349
|
-
description: string | null;
|
|
20350
20349
|
createdAt: string;
|
|
20351
20350
|
updatedAt: string;
|
|
20352
20351
|
tenantId: string;
|
|
20353
20352
|
projectId: string;
|
|
20353
|
+
description: string | null;
|
|
20354
20354
|
agentId: string;
|
|
20355
20355
|
functionId: string;
|
|
20356
20356
|
}>;
|
|
@@ -20483,21 +20483,21 @@ declare const getMessageById: (db: DatabaseClient) => (params: {
|
|
|
20483
20483
|
scopes: ProjectScopeConfig;
|
|
20484
20484
|
messageId: string;
|
|
20485
20485
|
}) => Promise<{
|
|
20486
|
+
metadata: MessageMetadata | null;
|
|
20486
20487
|
id: string;
|
|
20487
20488
|
createdAt: string;
|
|
20488
20489
|
updatedAt: string;
|
|
20490
|
+
role: string;
|
|
20489
20491
|
tenantId: string;
|
|
20490
|
-
metadata: MessageMetadata | null;
|
|
20491
20492
|
projectId: string;
|
|
20493
|
+
content: MessageContent;
|
|
20492
20494
|
conversationId: string;
|
|
20493
|
-
role: string;
|
|
20494
20495
|
fromSubAgentId: string | null;
|
|
20495
20496
|
toSubAgentId: string | null;
|
|
20496
20497
|
fromExternalAgentId: string | null;
|
|
20497
20498
|
toExternalAgentId: string | null;
|
|
20498
20499
|
fromTeamAgentId: string | null;
|
|
20499
20500
|
toTeamAgentId: string | null;
|
|
20500
|
-
content: MessageContent;
|
|
20501
20501
|
visibility: string;
|
|
20502
20502
|
messageType: string;
|
|
20503
20503
|
taskId: string | null;
|
|
@@ -20614,21 +20614,21 @@ declare const getVisibleMessages: (db: DatabaseClient) => (params: {
|
|
|
20614
20614
|
id: string;
|
|
20615
20615
|
}[]>;
|
|
20616
20616
|
declare const createMessage: (db: DatabaseClient) => (params: MessageInsert) => Promise<{
|
|
20617
|
+
metadata: MessageMetadata | null;
|
|
20617
20618
|
id: string;
|
|
20618
20619
|
createdAt: string;
|
|
20619
20620
|
updatedAt: string;
|
|
20621
|
+
role: string;
|
|
20620
20622
|
tenantId: string;
|
|
20621
|
-
metadata: MessageMetadata | null;
|
|
20622
20623
|
projectId: string;
|
|
20624
|
+
content: MessageContent;
|
|
20623
20625
|
conversationId: string;
|
|
20624
|
-
role: string;
|
|
20625
20626
|
fromSubAgentId: string | null;
|
|
20626
20627
|
toSubAgentId: string | null;
|
|
20627
20628
|
fromExternalAgentId: string | null;
|
|
20628
20629
|
toExternalAgentId: string | null;
|
|
20629
20630
|
fromTeamAgentId: string | null;
|
|
20630
20631
|
toTeamAgentId: string | null;
|
|
20631
|
-
content: MessageContent;
|
|
20632
20632
|
visibility: string;
|
|
20633
20633
|
messageType: string;
|
|
20634
20634
|
taskId: string | null;
|
|
@@ -20667,21 +20667,21 @@ declare const deleteMessage: (db: DatabaseClient) => (params: {
|
|
|
20667
20667
|
scopes: ProjectScopeConfig;
|
|
20668
20668
|
messageId: string;
|
|
20669
20669
|
}) => Promise<{
|
|
20670
|
+
metadata: MessageMetadata | null;
|
|
20670
20671
|
id: string;
|
|
20671
20672
|
createdAt: string;
|
|
20672
20673
|
updatedAt: string;
|
|
20674
|
+
role: string;
|
|
20673
20675
|
tenantId: string;
|
|
20674
|
-
metadata: MessageMetadata | null;
|
|
20675
20676
|
projectId: string;
|
|
20677
|
+
content: MessageContent;
|
|
20676
20678
|
conversationId: string;
|
|
20677
|
-
role: string;
|
|
20678
20679
|
fromSubAgentId: string | null;
|
|
20679
20680
|
toSubAgentId: string | null;
|
|
20680
20681
|
fromExternalAgentId: string | null;
|
|
20681
20682
|
toExternalAgentId: string | null;
|
|
20682
20683
|
fromTeamAgentId: string | null;
|
|
20683
20684
|
toTeamAgentId: string | null;
|
|
20684
|
-
content: MessageContent;
|
|
20685
20685
|
visibility: string;
|
|
20686
20686
|
messageType: string;
|
|
20687
20687
|
taskId: string | null;
|
|
@@ -20827,15 +20827,15 @@ declare const getSubAgentExternalAgentRelationById: (db: DatabaseClient) => (par
|
|
|
20827
20827
|
scopes: SubAgentScopeConfig;
|
|
20828
20828
|
relationId: string;
|
|
20829
20829
|
}) => Promise<{
|
|
20830
|
+
headers: Record<string, string> | null;
|
|
20830
20831
|
id: string;
|
|
20831
20832
|
createdAt: string;
|
|
20832
20833
|
updatedAt: string;
|
|
20833
20834
|
tenantId: string;
|
|
20834
20835
|
projectId: string;
|
|
20835
20836
|
agentId: string;
|
|
20836
|
-
subAgentId: string;
|
|
20837
|
-
headers: Record<string, string> | null;
|
|
20838
20837
|
externalAgentId: string;
|
|
20838
|
+
subAgentId: string;
|
|
20839
20839
|
} | undefined>;
|
|
20840
20840
|
declare const listSubAgentExternalAgentRelations: (db: DatabaseClient) => (params: {
|
|
20841
20841
|
scopes: SubAgentScopeConfig;
|
|
@@ -20862,28 +20862,28 @@ declare const listSubAgentExternalAgentRelations: (db: DatabaseClient) => (param
|
|
|
20862
20862
|
declare const getSubAgentExternalAgentRelations: (db: DatabaseClient) => (params: {
|
|
20863
20863
|
scopes: SubAgentScopeConfig;
|
|
20864
20864
|
}) => Promise<{
|
|
20865
|
+
headers: Record<string, string> | null;
|
|
20865
20866
|
id: string;
|
|
20866
20867
|
createdAt: string;
|
|
20867
20868
|
updatedAt: string;
|
|
20868
20869
|
tenantId: string;
|
|
20869
20870
|
projectId: string;
|
|
20870
20871
|
agentId: string;
|
|
20871
|
-
subAgentId: string;
|
|
20872
|
-
headers: Record<string, string> | null;
|
|
20873
20872
|
externalAgentId: string;
|
|
20873
|
+
subAgentId: string;
|
|
20874
20874
|
}[]>;
|
|
20875
20875
|
declare const getSubAgentExternalAgentRelationsByAgent: (db: DatabaseClient) => (params: {
|
|
20876
20876
|
scopes: AgentScopeConfig;
|
|
20877
20877
|
}) => Promise<{
|
|
20878
|
+
headers: Record<string, string> | null;
|
|
20878
20879
|
id: string;
|
|
20879
20880
|
createdAt: string;
|
|
20880
20881
|
updatedAt: string;
|
|
20881
20882
|
tenantId: string;
|
|
20882
20883
|
projectId: string;
|
|
20883
20884
|
agentId: string;
|
|
20884
|
-
subAgentId: string;
|
|
20885
|
-
headers: Record<string, string> | null;
|
|
20886
20885
|
externalAgentId: string;
|
|
20886
|
+
subAgentId: string;
|
|
20887
20887
|
}[]>;
|
|
20888
20888
|
declare const getSubAgentExternalAgentRelationsByExternalAgent: (db: DatabaseClient) => (params: {
|
|
20889
20889
|
scopes: AgentScopeConfig;
|
|
@@ -20998,15 +20998,15 @@ declare const createSubAgentExternalAgentRelation: (db: DatabaseClient) => (para
|
|
|
20998
20998
|
headers?: Record<string, string> | null;
|
|
20999
20999
|
};
|
|
21000
21000
|
}) => Promise<{
|
|
21001
|
+
headers: Record<string, string> | null;
|
|
21001
21002
|
id: string;
|
|
21002
21003
|
createdAt: string;
|
|
21003
21004
|
updatedAt: string;
|
|
21004
21005
|
tenantId: string;
|
|
21005
21006
|
projectId: string;
|
|
21006
21007
|
agentId: string;
|
|
21007
|
-
subAgentId: string;
|
|
21008
|
-
headers: Record<string, string> | null;
|
|
21009
21008
|
externalAgentId: string;
|
|
21009
|
+
subAgentId: string;
|
|
21010
21010
|
}>;
|
|
21011
21011
|
/**
|
|
21012
21012
|
* Check if sub-agent external agent relation exists by params
|
|
@@ -21015,15 +21015,15 @@ declare const getSubAgentExternalAgentRelationByParams: (db: DatabaseClient) =>
|
|
|
21015
21015
|
scopes: SubAgentScopeConfig;
|
|
21016
21016
|
externalAgentId: string;
|
|
21017
21017
|
}) => Promise<{
|
|
21018
|
+
headers: Record<string, string> | null;
|
|
21018
21019
|
id: string;
|
|
21019
21020
|
createdAt: string;
|
|
21020
21021
|
updatedAt: string;
|
|
21021
21022
|
tenantId: string;
|
|
21022
21023
|
projectId: string;
|
|
21023
21024
|
agentId: string;
|
|
21024
|
-
subAgentId: string;
|
|
21025
|
-
headers: Record<string, string> | null;
|
|
21026
21025
|
externalAgentId: string;
|
|
21026
|
+
subAgentId: string;
|
|
21027
21027
|
} | undefined>;
|
|
21028
21028
|
/**
|
|
21029
21029
|
* Upsert sub-agent external agent relation (create if it doesn't exist, update if it does)
|
|
@@ -21036,15 +21036,15 @@ declare const upsertSubAgentExternalAgentRelation: (db: DatabaseClient) => (para
|
|
|
21036
21036
|
headers?: Record<string, string> | null;
|
|
21037
21037
|
};
|
|
21038
21038
|
}) => Promise<{
|
|
21039
|
+
headers: Record<string, string> | null;
|
|
21039
21040
|
id: string;
|
|
21040
21041
|
createdAt: string;
|
|
21041
21042
|
updatedAt: string;
|
|
21042
21043
|
tenantId: string;
|
|
21043
21044
|
projectId: string;
|
|
21044
21045
|
agentId: string;
|
|
21045
|
-
subAgentId: string;
|
|
21046
|
-
headers: Record<string, string> | null;
|
|
21047
21046
|
externalAgentId: string;
|
|
21047
|
+
subAgentId: string;
|
|
21048
21048
|
}>;
|
|
21049
21049
|
declare const updateSubAgentExternalAgentRelation: (db: DatabaseClient) => (params: {
|
|
21050
21050
|
scopes: SubAgentScopeConfig;
|
|
@@ -21272,6 +21272,7 @@ declare const createAgentToolRelation: (db: DatabaseClient) => (params: {
|
|
|
21272
21272
|
}> | null;
|
|
21273
21273
|
};
|
|
21274
21274
|
}) => Promise<{
|
|
21275
|
+
headers: Record<string, string> | null;
|
|
21275
21276
|
id: string;
|
|
21276
21277
|
createdAt: string;
|
|
21277
21278
|
updatedAt: string;
|
|
@@ -21279,12 +21280,11 @@ declare const createAgentToolRelation: (db: DatabaseClient) => (params: {
|
|
|
21279
21280
|
projectId: string;
|
|
21280
21281
|
agentId: string;
|
|
21281
21282
|
toolId: string;
|
|
21282
|
-
subAgentId: string;
|
|
21283
|
-
headers: Record<string, string> | null;
|
|
21284
|
-
selectedTools: string[] | null;
|
|
21285
21283
|
toolPolicies: Record<string, {
|
|
21286
21284
|
needsApproval?: boolean;
|
|
21287
21285
|
}> | null;
|
|
21286
|
+
subAgentId: string;
|
|
21287
|
+
selectedTools: string[] | null;
|
|
21288
21288
|
}>;
|
|
21289
21289
|
declare const updateAgentToolRelation: (db: DatabaseClient) => (params: {
|
|
21290
21290
|
scopes: AgentScopeConfig;
|
|
@@ -21316,6 +21316,7 @@ declare const getAgentToolRelationById: (db: DatabaseClient) => (params: {
|
|
|
21316
21316
|
scopes: SubAgentScopeConfig;
|
|
21317
21317
|
relationId: string;
|
|
21318
21318
|
}) => Promise<{
|
|
21319
|
+
headers: Record<string, string> | null;
|
|
21319
21320
|
id: string;
|
|
21320
21321
|
createdAt: string;
|
|
21321
21322
|
updatedAt: string;
|
|
@@ -21323,12 +21324,11 @@ declare const getAgentToolRelationById: (db: DatabaseClient) => (params: {
|
|
|
21323
21324
|
projectId: string;
|
|
21324
21325
|
agentId: string;
|
|
21325
21326
|
toolId: string;
|
|
21326
|
-
subAgentId: string;
|
|
21327
|
-
headers: Record<string, string> | null;
|
|
21328
|
-
selectedTools: string[] | null;
|
|
21329
21327
|
toolPolicies: Record<string, {
|
|
21330
21328
|
needsApproval?: boolean;
|
|
21331
21329
|
}> | null;
|
|
21330
|
+
subAgentId: string;
|
|
21331
|
+
selectedTools: string[] | null;
|
|
21332
21332
|
} | undefined>;
|
|
21333
21333
|
declare const getAgentToolRelationByAgent: (db: DatabaseClient) => (params: {
|
|
21334
21334
|
scopes: SubAgentScopeConfig;
|
|
@@ -21514,7 +21514,13 @@ declare const getSubAgentById: (db: DatabaseClient) => (params: {
|
|
|
21514
21514
|
}) => Promise<{
|
|
21515
21515
|
id: string;
|
|
21516
21516
|
name: string;
|
|
21517
|
+
createdAt: string;
|
|
21518
|
+
updatedAt: string;
|
|
21519
|
+
tenantId: string;
|
|
21520
|
+
projectId: string;
|
|
21517
21521
|
description: string | null;
|
|
21522
|
+
prompt: string | null;
|
|
21523
|
+
agentId: string;
|
|
21518
21524
|
models: {
|
|
21519
21525
|
base?: {
|
|
21520
21526
|
model?: string | undefined;
|
|
@@ -21532,12 +21538,6 @@ declare const getSubAgentById: (db: DatabaseClient) => (params: {
|
|
|
21532
21538
|
stopWhen: {
|
|
21533
21539
|
stepCountIs?: number | undefined;
|
|
21534
21540
|
} | null;
|
|
21535
|
-
createdAt: string;
|
|
21536
|
-
updatedAt: string;
|
|
21537
|
-
tenantId: string;
|
|
21538
|
-
prompt: string | null;
|
|
21539
|
-
projectId: string;
|
|
21540
|
-
agentId: string;
|
|
21541
21541
|
conversationHistoryConfig: ConversationHistoryConfig | null;
|
|
21542
21542
|
} | undefined>;
|
|
21543
21543
|
declare const listSubAgents: (db: DatabaseClient) => (params: {
|
|
@@ -21545,7 +21545,13 @@ declare const listSubAgents: (db: DatabaseClient) => (params: {
|
|
|
21545
21545
|
}) => Promise<{
|
|
21546
21546
|
id: string;
|
|
21547
21547
|
name: string;
|
|
21548
|
+
createdAt: string;
|
|
21549
|
+
updatedAt: string;
|
|
21550
|
+
tenantId: string;
|
|
21551
|
+
projectId: string;
|
|
21548
21552
|
description: string | null;
|
|
21553
|
+
prompt: string | null;
|
|
21554
|
+
agentId: string;
|
|
21549
21555
|
models: {
|
|
21550
21556
|
base?: {
|
|
21551
21557
|
model?: string | undefined;
|
|
@@ -21563,12 +21569,6 @@ declare const listSubAgents: (db: DatabaseClient) => (params: {
|
|
|
21563
21569
|
stopWhen: {
|
|
21564
21570
|
stepCountIs?: number | undefined;
|
|
21565
21571
|
} | null;
|
|
21566
|
-
createdAt: string;
|
|
21567
|
-
updatedAt: string;
|
|
21568
|
-
tenantId: string;
|
|
21569
|
-
prompt: string | null;
|
|
21570
|
-
projectId: string;
|
|
21571
|
-
agentId: string;
|
|
21572
21572
|
conversationHistoryConfig: ConversationHistoryConfig | null;
|
|
21573
21573
|
}[]>;
|
|
21574
21574
|
declare const listSubAgentsPaginated: (db: DatabaseClient) => (params: {
|
|
@@ -21614,7 +21614,13 @@ declare const listSubAgentsPaginated: (db: DatabaseClient) => (params: {
|
|
|
21614
21614
|
declare const createSubAgent: (db: DatabaseClient) => (params: SubAgentInsert) => Promise<{
|
|
21615
21615
|
id: string;
|
|
21616
21616
|
name: string;
|
|
21617
|
+
createdAt: string;
|
|
21618
|
+
updatedAt: string;
|
|
21619
|
+
tenantId: string;
|
|
21620
|
+
projectId: string;
|
|
21617
21621
|
description: string | null;
|
|
21622
|
+
prompt: string | null;
|
|
21623
|
+
agentId: string;
|
|
21618
21624
|
models: {
|
|
21619
21625
|
base?: {
|
|
21620
21626
|
model?: string | undefined;
|
|
@@ -21632,12 +21638,6 @@ declare const createSubAgent: (db: DatabaseClient) => (params: SubAgentInsert) =
|
|
|
21632
21638
|
stopWhen: {
|
|
21633
21639
|
stepCountIs?: number | undefined;
|
|
21634
21640
|
} | null;
|
|
21635
|
-
createdAt: string;
|
|
21636
|
-
updatedAt: string;
|
|
21637
|
-
tenantId: string;
|
|
21638
|
-
prompt: string | null;
|
|
21639
|
-
projectId: string;
|
|
21640
|
-
agentId: string;
|
|
21641
21641
|
conversationHistoryConfig: ConversationHistoryConfig | null;
|
|
21642
21642
|
}>;
|
|
21643
21643
|
declare const updateSubAgent: (db: DatabaseClient) => (params: {
|
|
@@ -21726,6 +21726,7 @@ declare const getSubAgentTeamAgentRelationById: (db: DatabaseClient) => (params:
|
|
|
21726
21726
|
scopes: SubAgentScopeConfig;
|
|
21727
21727
|
relationId: string;
|
|
21728
21728
|
}) => Promise<{
|
|
21729
|
+
headers: Record<string, string> | null;
|
|
21729
21730
|
id: string;
|
|
21730
21731
|
createdAt: string;
|
|
21731
21732
|
updatedAt: string;
|
|
@@ -21733,7 +21734,6 @@ declare const getSubAgentTeamAgentRelationById: (db: DatabaseClient) => (params:
|
|
|
21733
21734
|
projectId: string;
|
|
21734
21735
|
agentId: string;
|
|
21735
21736
|
subAgentId: string;
|
|
21736
|
-
headers: Record<string, string> | null;
|
|
21737
21737
|
targetAgentId: string;
|
|
21738
21738
|
} | undefined>;
|
|
21739
21739
|
declare const listSubAgentTeamAgentRelations: (db: DatabaseClient) => (params: {
|
|
@@ -21761,6 +21761,7 @@ declare const listSubAgentTeamAgentRelations: (db: DatabaseClient) => (params: {
|
|
|
21761
21761
|
declare const getSubAgentTeamAgentRelations: (db: DatabaseClient) => (params: {
|
|
21762
21762
|
scopes: SubAgentScopeConfig;
|
|
21763
21763
|
}) => Promise<{
|
|
21764
|
+
headers: Record<string, string> | null;
|
|
21764
21765
|
id: string;
|
|
21765
21766
|
createdAt: string;
|
|
21766
21767
|
updatedAt: string;
|
|
@@ -21768,12 +21769,12 @@ declare const getSubAgentTeamAgentRelations: (db: DatabaseClient) => (params: {
|
|
|
21768
21769
|
projectId: string;
|
|
21769
21770
|
agentId: string;
|
|
21770
21771
|
subAgentId: string;
|
|
21771
|
-
headers: Record<string, string> | null;
|
|
21772
21772
|
targetAgentId: string;
|
|
21773
21773
|
}[]>;
|
|
21774
21774
|
declare const getSubAgentTeamAgentRelationsByAgent: (db: DatabaseClient) => (params: {
|
|
21775
21775
|
scopes: AgentScopeConfig;
|
|
21776
21776
|
}) => Promise<{
|
|
21777
|
+
headers: Record<string, string> | null;
|
|
21777
21778
|
id: string;
|
|
21778
21779
|
createdAt: string;
|
|
21779
21780
|
updatedAt: string;
|
|
@@ -21781,7 +21782,6 @@ declare const getSubAgentTeamAgentRelationsByAgent: (db: DatabaseClient) => (par
|
|
|
21781
21782
|
projectId: string;
|
|
21782
21783
|
agentId: string;
|
|
21783
21784
|
subAgentId: string;
|
|
21784
|
-
headers: Record<string, string> | null;
|
|
21785
21785
|
targetAgentId: string;
|
|
21786
21786
|
}[]>;
|
|
21787
21787
|
declare const getSubAgentTeamAgentRelationsByTeamAgent: (db: DatabaseClient) => (params: {
|
|
@@ -21927,6 +21927,7 @@ declare const createSubAgentTeamAgentRelation: (db: DatabaseClient) => (params:
|
|
|
21927
21927
|
headers?: Record<string, string> | null;
|
|
21928
21928
|
};
|
|
21929
21929
|
}) => Promise<{
|
|
21930
|
+
headers: Record<string, string> | null;
|
|
21930
21931
|
id: string;
|
|
21931
21932
|
createdAt: string;
|
|
21932
21933
|
updatedAt: string;
|
|
@@ -21934,7 +21935,6 @@ declare const createSubAgentTeamAgentRelation: (db: DatabaseClient) => (params:
|
|
|
21934
21935
|
projectId: string;
|
|
21935
21936
|
agentId: string;
|
|
21936
21937
|
subAgentId: string;
|
|
21937
|
-
headers: Record<string, string> | null;
|
|
21938
21938
|
targetAgentId: string;
|
|
21939
21939
|
}>;
|
|
21940
21940
|
/**
|
|
@@ -21944,6 +21944,7 @@ declare const getSubAgentTeamAgentRelationByParams: (db: DatabaseClient) => (par
|
|
|
21944
21944
|
scopes: SubAgentScopeConfig;
|
|
21945
21945
|
targetAgentId: string;
|
|
21946
21946
|
}) => Promise<{
|
|
21947
|
+
headers: Record<string, string> | null;
|
|
21947
21948
|
id: string;
|
|
21948
21949
|
createdAt: string;
|
|
21949
21950
|
updatedAt: string;
|
|
@@ -21951,7 +21952,6 @@ declare const getSubAgentTeamAgentRelationByParams: (db: DatabaseClient) => (par
|
|
|
21951
21952
|
projectId: string;
|
|
21952
21953
|
agentId: string;
|
|
21953
21954
|
subAgentId: string;
|
|
21954
|
-
headers: Record<string, string> | null;
|
|
21955
21955
|
targetAgentId: string;
|
|
21956
21956
|
} | undefined>;
|
|
21957
21957
|
/**
|
|
@@ -21965,6 +21965,7 @@ declare const upsertSubAgentTeamAgentRelation: (db: DatabaseClient) => (params:
|
|
|
21965
21965
|
headers?: Record<string, string> | null;
|
|
21966
21966
|
};
|
|
21967
21967
|
}) => Promise<{
|
|
21968
|
+
headers: Record<string, string> | null;
|
|
21968
21969
|
id: string;
|
|
21969
21970
|
createdAt: string;
|
|
21970
21971
|
updatedAt: string;
|
|
@@ -21972,7 +21973,6 @@ declare const upsertSubAgentTeamAgentRelation: (db: DatabaseClient) => (params:
|
|
|
21972
21973
|
projectId: string;
|
|
21973
21974
|
agentId: string;
|
|
21974
21975
|
subAgentId: string;
|
|
21975
|
-
headers: Record<string, string> | null;
|
|
21976
21976
|
targetAgentId: string;
|
|
21977
21977
|
}>;
|
|
21978
21978
|
declare const updateSubAgentTeamAgentRelation: (db: DatabaseClient) => (params: {
|
|
@@ -22003,15 +22003,15 @@ declare const deleteSubAgentTeamAgentRelationsByAgent: (db: DatabaseClient) => (
|
|
|
22003
22003
|
//#endregion
|
|
22004
22004
|
//#region src/data-access/tasks.d.ts
|
|
22005
22005
|
declare const createTask: (db: DatabaseClient) => (params: TaskInsert) => Promise<{
|
|
22006
|
+
metadata: TaskMetadataConfig | null;
|
|
22006
22007
|
id: string;
|
|
22007
22008
|
createdAt: string;
|
|
22008
22009
|
updatedAt: string;
|
|
22010
|
+
status: string;
|
|
22009
22011
|
tenantId: string;
|
|
22010
|
-
metadata: TaskMetadataConfig | null;
|
|
22011
22012
|
projectId: string;
|
|
22012
22013
|
agentId: string;
|
|
22013
22014
|
contextId: string;
|
|
22014
|
-
status: string;
|
|
22015
22015
|
subAgentId: string;
|
|
22016
22016
|
}>;
|
|
22017
22017
|
declare const getTask: (db: DatabaseClient) => (params: {
|
|
@@ -22045,20 +22045,20 @@ declare const getToolById: (db: DatabaseClient) => (params: {
|
|
|
22045
22045
|
scopes: ProjectScopeConfig;
|
|
22046
22046
|
toolId: string;
|
|
22047
22047
|
}) => Promise<{
|
|
22048
|
+
headers: Record<string, string> | null;
|
|
22048
22049
|
id: string;
|
|
22049
22050
|
name: string;
|
|
22050
|
-
description: string | null;
|
|
22051
22051
|
createdAt: string;
|
|
22052
22052
|
updatedAt: string;
|
|
22053
22053
|
tenantId: string;
|
|
22054
22054
|
projectId: string;
|
|
22055
|
-
|
|
22055
|
+
description: string | null;
|
|
22056
22056
|
config: {
|
|
22057
22057
|
type: "mcp";
|
|
22058
22058
|
mcp: ToolMcpConfig;
|
|
22059
22059
|
};
|
|
22060
|
+
credentialReferenceId: string | null;
|
|
22060
22061
|
credentialScope: string;
|
|
22061
|
-
headers: Record<string, string> | null;
|
|
22062
22062
|
imageUrl: string | null;
|
|
22063
22063
|
capabilities: ToolServerCapabilities | null;
|
|
22064
22064
|
lastError: string | null;
|
|
@@ -22094,20 +22094,20 @@ declare const listTools: (db: DatabaseClient) => (params: {
|
|
|
22094
22094
|
};
|
|
22095
22095
|
}>;
|
|
22096
22096
|
declare const createTool: (db: DatabaseClient) => (params: ToolInsert) => Promise<{
|
|
22097
|
+
headers: Record<string, string> | null;
|
|
22097
22098
|
id: string;
|
|
22098
22099
|
name: string;
|
|
22099
|
-
description: string | null;
|
|
22100
22100
|
createdAt: string;
|
|
22101
22101
|
updatedAt: string;
|
|
22102
22102
|
tenantId: string;
|
|
22103
22103
|
projectId: string;
|
|
22104
|
-
|
|
22104
|
+
description: string | null;
|
|
22105
22105
|
config: {
|
|
22106
22106
|
type: "mcp";
|
|
22107
22107
|
mcp: ToolMcpConfig;
|
|
22108
22108
|
};
|
|
22109
|
+
credentialReferenceId: string | null;
|
|
22109
22110
|
credentialScope: string;
|
|
22110
|
-
headers: Record<string, string> | null;
|
|
22111
22111
|
imageUrl: string | null;
|
|
22112
22112
|
capabilities: ToolServerCapabilities | null;
|
|
22113
22113
|
lastError: string | null;
|
|
@@ -22149,6 +22149,7 @@ declare const addToolToAgent: (db: DatabaseClient) => (params: {
|
|
|
22149
22149
|
needsApproval?: boolean;
|
|
22150
22150
|
}> | null;
|
|
22151
22151
|
}) => Promise<{
|
|
22152
|
+
headers: Record<string, string> | null;
|
|
22152
22153
|
id: string;
|
|
22153
22154
|
createdAt: string;
|
|
22154
22155
|
updatedAt: string;
|
|
@@ -22156,18 +22157,18 @@ declare const addToolToAgent: (db: DatabaseClient) => (params: {
|
|
|
22156
22157
|
projectId: string;
|
|
22157
22158
|
agentId: string;
|
|
22158
22159
|
toolId: string;
|
|
22159
|
-
subAgentId: string;
|
|
22160
|
-
headers: Record<string, string> | null;
|
|
22161
|
-
selectedTools: string[] | null;
|
|
22162
22160
|
toolPolicies: Record<string, {
|
|
22163
22161
|
needsApproval?: boolean;
|
|
22164
22162
|
}> | null;
|
|
22163
|
+
subAgentId: string;
|
|
22164
|
+
selectedTools: string[] | null;
|
|
22165
22165
|
}>;
|
|
22166
22166
|
declare const removeToolFromAgent: (db: DatabaseClient) => (params: {
|
|
22167
22167
|
scopes: AgentScopeConfig;
|
|
22168
22168
|
subAgentId: string;
|
|
22169
22169
|
toolId: string;
|
|
22170
22170
|
}) => Promise<{
|
|
22171
|
+
headers: Record<string, string> | null;
|
|
22171
22172
|
id: string;
|
|
22172
22173
|
createdAt: string;
|
|
22173
22174
|
updatedAt: string;
|
|
@@ -22175,12 +22176,11 @@ declare const removeToolFromAgent: (db: DatabaseClient) => (params: {
|
|
|
22175
22176
|
projectId: string;
|
|
22176
22177
|
agentId: string;
|
|
22177
22178
|
toolId: string;
|
|
22178
|
-
subAgentId: string;
|
|
22179
|
-
headers: Record<string, string> | null;
|
|
22180
|
-
selectedTools: string[] | null;
|
|
22181
22179
|
toolPolicies: Record<string, {
|
|
22182
22180
|
needsApproval?: boolean;
|
|
22183
22181
|
}> | null;
|
|
22182
|
+
subAgentId: string;
|
|
22183
|
+
selectedTools: string[] | null;
|
|
22184
22184
|
}>;
|
|
22185
22185
|
/**
|
|
22186
22186
|
* Upsert agent-tool relation (create if it doesn't exist, update if it does)
|
|
@@ -22196,6 +22196,7 @@ declare const upsertSubAgentToolRelation: (db: DatabaseClient) => (params: {
|
|
|
22196
22196
|
}> | null;
|
|
22197
22197
|
relationId?: string;
|
|
22198
22198
|
}) => Promise<{
|
|
22199
|
+
headers: Record<string, string> | null;
|
|
22199
22200
|
id: string;
|
|
22200
22201
|
createdAt: string;
|
|
22201
22202
|
updatedAt: string;
|
|
@@ -22203,12 +22204,11 @@ declare const upsertSubAgentToolRelation: (db: DatabaseClient) => (params: {
|
|
|
22203
22204
|
projectId: string;
|
|
22204
22205
|
agentId: string;
|
|
22205
22206
|
toolId: string;
|
|
22206
|
-
subAgentId: string;
|
|
22207
|
-
headers: Record<string, string> | null;
|
|
22208
|
-
selectedTools: string[] | null;
|
|
22209
22207
|
toolPolicies: Record<string, {
|
|
22210
22208
|
needsApproval?: boolean;
|
|
22211
22209
|
}> | null;
|
|
22210
|
+
subAgentId: string;
|
|
22211
|
+
selectedTools: string[] | null;
|
|
22212
22212
|
}>;
|
|
22213
22213
|
/**
|
|
22214
22214
|
* Upsert a tool (create if it doesn't exist, update if it does)
|
|
@@ -22216,20 +22216,20 @@ declare const upsertSubAgentToolRelation: (db: DatabaseClient) => (params: {
|
|
|
22216
22216
|
declare const upsertTool: (db: DatabaseClient) => (params: {
|
|
22217
22217
|
data: ToolInsert;
|
|
22218
22218
|
}) => Promise<{
|
|
22219
|
+
headers: Record<string, string> | null;
|
|
22219
22220
|
id: string;
|
|
22220
22221
|
name: string;
|
|
22221
|
-
description: string | null;
|
|
22222
22222
|
createdAt: string;
|
|
22223
22223
|
updatedAt: string;
|
|
22224
22224
|
tenantId: string;
|
|
22225
22225
|
projectId: string;
|
|
22226
|
-
|
|
22226
|
+
description: string | null;
|
|
22227
22227
|
config: {
|
|
22228
22228
|
type: "mcp";
|
|
22229
22229
|
mcp: ToolMcpConfig;
|
|
22230
22230
|
};
|
|
22231
|
+
credentialReferenceId: string | null;
|
|
22231
22232
|
credentialScope: string;
|
|
22232
|
-
headers: Record<string, string> | null;
|
|
22233
22233
|
imageUrl: string | null;
|
|
22234
22234
|
capabilities: ToolServerCapabilities | null;
|
|
22235
22235
|
lastError: string | null;
|
|
@@ -29008,145 +29008,145 @@ declare const credentialReferences: drizzle_orm_pg_core495.PgTableWithColumns<{
|
|
|
29008
29008
|
};
|
|
29009
29009
|
dialect: "pg";
|
|
29010
29010
|
}>;
|
|
29011
|
-
declare const tasksRelations:
|
|
29012
|
-
project:
|
|
29013
|
-
parentRelations:
|
|
29014
|
-
childRelations:
|
|
29015
|
-
subAgent:
|
|
29016
|
-
messages:
|
|
29017
|
-
ledgerArtifacts:
|
|
29011
|
+
declare const tasksRelations: drizzle_orm20.Relations<"tasks", {
|
|
29012
|
+
project: drizzle_orm20.One<"projects", true>;
|
|
29013
|
+
parentRelations: drizzle_orm20.Many<"task_relations">;
|
|
29014
|
+
childRelations: drizzle_orm20.Many<"task_relations">;
|
|
29015
|
+
subAgent: drizzle_orm20.One<"sub_agents", true>;
|
|
29016
|
+
messages: drizzle_orm20.Many<"messages">;
|
|
29017
|
+
ledgerArtifacts: drizzle_orm20.Many<"ledger_artifacts">;
|
|
29018
29018
|
}>;
|
|
29019
|
-
declare const projectsRelations:
|
|
29020
|
-
subAgents:
|
|
29021
|
-
agents:
|
|
29022
|
-
tools:
|
|
29023
|
-
functions:
|
|
29024
|
-
contextConfigs:
|
|
29025
|
-
externalAgents:
|
|
29026
|
-
conversations:
|
|
29027
|
-
tasks:
|
|
29028
|
-
dataComponents:
|
|
29029
|
-
artifactComponents:
|
|
29030
|
-
ledgerArtifacts:
|
|
29031
|
-
credentialReferences:
|
|
29019
|
+
declare const projectsRelations: drizzle_orm20.Relations<"projects", {
|
|
29020
|
+
subAgents: drizzle_orm20.Many<"sub_agents">;
|
|
29021
|
+
agents: drizzle_orm20.Many<"agent">;
|
|
29022
|
+
tools: drizzle_orm20.Many<"tools">;
|
|
29023
|
+
functions: drizzle_orm20.Many<"functions">;
|
|
29024
|
+
contextConfigs: drizzle_orm20.Many<"context_configs">;
|
|
29025
|
+
externalAgents: drizzle_orm20.Many<"external_agents">;
|
|
29026
|
+
conversations: drizzle_orm20.Many<"conversations">;
|
|
29027
|
+
tasks: drizzle_orm20.Many<"tasks">;
|
|
29028
|
+
dataComponents: drizzle_orm20.Many<"data_components">;
|
|
29029
|
+
artifactComponents: drizzle_orm20.Many<"artifact_components">;
|
|
29030
|
+
ledgerArtifacts: drizzle_orm20.Many<"ledger_artifacts">;
|
|
29031
|
+
credentialReferences: drizzle_orm20.Many<"credential_references">;
|
|
29032
29032
|
}>;
|
|
29033
|
-
declare const taskRelationsRelations:
|
|
29034
|
-
parentTask:
|
|
29035
|
-
childTask:
|
|
29033
|
+
declare const taskRelationsRelations: drizzle_orm20.Relations<"task_relations", {
|
|
29034
|
+
parentTask: drizzle_orm20.One<"tasks", true>;
|
|
29035
|
+
childTask: drizzle_orm20.One<"tasks", true>;
|
|
29036
29036
|
}>;
|
|
29037
|
-
declare const contextConfigsRelations:
|
|
29038
|
-
project:
|
|
29039
|
-
agents:
|
|
29040
|
-
cache:
|
|
29037
|
+
declare const contextConfigsRelations: drizzle_orm20.Relations<"context_configs", {
|
|
29038
|
+
project: drizzle_orm20.One<"projects", true>;
|
|
29039
|
+
agents: drizzle_orm20.Many<"agent">;
|
|
29040
|
+
cache: drizzle_orm20.Many<"context_cache">;
|
|
29041
29041
|
}>;
|
|
29042
|
-
declare const contextCacheRelations:
|
|
29043
|
-
contextConfig:
|
|
29042
|
+
declare const contextCacheRelations: drizzle_orm20.Relations<"context_cache", {
|
|
29043
|
+
contextConfig: drizzle_orm20.One<"context_configs", true>;
|
|
29044
29044
|
}>;
|
|
29045
|
-
declare const subAgentsRelations:
|
|
29046
|
-
project:
|
|
29047
|
-
tasks:
|
|
29048
|
-
defaultForAgents:
|
|
29049
|
-
sourceRelations:
|
|
29050
|
-
targetRelations:
|
|
29051
|
-
sentMessages:
|
|
29052
|
-
receivedMessages:
|
|
29053
|
-
toolRelations:
|
|
29054
|
-
functionToolRelations:
|
|
29055
|
-
dataComponentRelations:
|
|
29056
|
-
artifactComponentRelations:
|
|
29045
|
+
declare const subAgentsRelations: drizzle_orm20.Relations<"sub_agents", {
|
|
29046
|
+
project: drizzle_orm20.One<"projects", true>;
|
|
29047
|
+
tasks: drizzle_orm20.Many<"tasks">;
|
|
29048
|
+
defaultForAgents: drizzle_orm20.Many<"agent">;
|
|
29049
|
+
sourceRelations: drizzle_orm20.Many<"sub_agent_relations">;
|
|
29050
|
+
targetRelations: drizzle_orm20.Many<"sub_agent_relations">;
|
|
29051
|
+
sentMessages: drizzle_orm20.Many<"messages">;
|
|
29052
|
+
receivedMessages: drizzle_orm20.Many<"messages">;
|
|
29053
|
+
toolRelations: drizzle_orm20.Many<"sub_agent_tool_relations">;
|
|
29054
|
+
functionToolRelations: drizzle_orm20.Many<"sub_agent_function_tool_relations">;
|
|
29055
|
+
dataComponentRelations: drizzle_orm20.Many<"sub_agent_data_components">;
|
|
29056
|
+
artifactComponentRelations: drizzle_orm20.Many<"sub_agent_artifact_components">;
|
|
29057
29057
|
}>;
|
|
29058
|
-
declare const agentRelations:
|
|
29059
|
-
project:
|
|
29060
|
-
defaultSubAgent:
|
|
29061
|
-
contextConfig:
|
|
29062
|
-
functionTools:
|
|
29058
|
+
declare const agentRelations: drizzle_orm20.Relations<"agent", {
|
|
29059
|
+
project: drizzle_orm20.One<"projects", true>;
|
|
29060
|
+
defaultSubAgent: drizzle_orm20.One<"sub_agents", false>;
|
|
29061
|
+
contextConfig: drizzle_orm20.One<"context_configs", false>;
|
|
29062
|
+
functionTools: drizzle_orm20.Many<"function_tools">;
|
|
29063
29063
|
}>;
|
|
29064
|
-
declare const externalAgentsRelations:
|
|
29065
|
-
project:
|
|
29066
|
-
subAgentExternalAgentRelations:
|
|
29067
|
-
credentialReference:
|
|
29064
|
+
declare const externalAgentsRelations: drizzle_orm20.Relations<"external_agents", {
|
|
29065
|
+
project: drizzle_orm20.One<"projects", true>;
|
|
29066
|
+
subAgentExternalAgentRelations: drizzle_orm20.Many<"sub_agent_external_agent_relations">;
|
|
29067
|
+
credentialReference: drizzle_orm20.One<"credential_references", false>;
|
|
29068
29068
|
}>;
|
|
29069
|
-
declare const apiKeysRelations:
|
|
29070
|
-
project:
|
|
29071
|
-
agent:
|
|
29069
|
+
declare const apiKeysRelations: drizzle_orm20.Relations<"api_keys", {
|
|
29070
|
+
project: drizzle_orm20.One<"projects", true>;
|
|
29071
|
+
agent: drizzle_orm20.One<"agent", true>;
|
|
29072
29072
|
}>;
|
|
29073
|
-
declare const agentToolRelationsRelations:
|
|
29074
|
-
subAgent:
|
|
29075
|
-
tool:
|
|
29073
|
+
declare const agentToolRelationsRelations: drizzle_orm20.Relations<"sub_agent_tool_relations", {
|
|
29074
|
+
subAgent: drizzle_orm20.One<"sub_agents", true>;
|
|
29075
|
+
tool: drizzle_orm20.One<"tools", true>;
|
|
29076
29076
|
}>;
|
|
29077
|
-
declare const credentialReferencesRelations:
|
|
29078
|
-
project:
|
|
29079
|
-
tools:
|
|
29080
|
-
externalAgents:
|
|
29077
|
+
declare const credentialReferencesRelations: drizzle_orm20.Relations<"credential_references", {
|
|
29078
|
+
project: drizzle_orm20.One<"projects", true>;
|
|
29079
|
+
tools: drizzle_orm20.Many<"tools">;
|
|
29080
|
+
externalAgents: drizzle_orm20.Many<"external_agents">;
|
|
29081
29081
|
}>;
|
|
29082
|
-
declare const toolsRelations:
|
|
29083
|
-
project:
|
|
29084
|
-
subAgentRelations:
|
|
29085
|
-
credentialReference:
|
|
29082
|
+
declare const toolsRelations: drizzle_orm20.Relations<"tools", {
|
|
29083
|
+
project: drizzle_orm20.One<"projects", true>;
|
|
29084
|
+
subAgentRelations: drizzle_orm20.Many<"sub_agent_tool_relations">;
|
|
29085
|
+
credentialReference: drizzle_orm20.One<"credential_references", false>;
|
|
29086
29086
|
}>;
|
|
29087
|
-
declare const conversationsRelations:
|
|
29088
|
-
project:
|
|
29089
|
-
messages:
|
|
29090
|
-
activeSubAgent:
|
|
29087
|
+
declare const conversationsRelations: drizzle_orm20.Relations<"conversations", {
|
|
29088
|
+
project: drizzle_orm20.One<"projects", true>;
|
|
29089
|
+
messages: drizzle_orm20.Many<"messages">;
|
|
29090
|
+
activeSubAgent: drizzle_orm20.One<"sub_agents", true>;
|
|
29091
29091
|
}>;
|
|
29092
|
-
declare const messagesRelations:
|
|
29093
|
-
conversation:
|
|
29094
|
-
fromSubAgent:
|
|
29095
|
-
toSubAgent:
|
|
29096
|
-
fromTeamAgent:
|
|
29097
|
-
toTeamAgent:
|
|
29098
|
-
fromExternalAgent:
|
|
29099
|
-
toExternalAgent:
|
|
29100
|
-
task:
|
|
29101
|
-
parentMessage:
|
|
29102
|
-
childMessages:
|
|
29092
|
+
declare const messagesRelations: drizzle_orm20.Relations<"messages", {
|
|
29093
|
+
conversation: drizzle_orm20.One<"conversations", true>;
|
|
29094
|
+
fromSubAgent: drizzle_orm20.One<"sub_agents", false>;
|
|
29095
|
+
toSubAgent: drizzle_orm20.One<"sub_agents", false>;
|
|
29096
|
+
fromTeamAgent: drizzle_orm20.One<"agent", false>;
|
|
29097
|
+
toTeamAgent: drizzle_orm20.One<"agent", false>;
|
|
29098
|
+
fromExternalAgent: drizzle_orm20.One<"external_agents", false>;
|
|
29099
|
+
toExternalAgent: drizzle_orm20.One<"external_agents", false>;
|
|
29100
|
+
task: drizzle_orm20.One<"tasks", false>;
|
|
29101
|
+
parentMessage: drizzle_orm20.One<"messages", false>;
|
|
29102
|
+
childMessages: drizzle_orm20.Many<"messages">;
|
|
29103
29103
|
}>;
|
|
29104
|
-
declare const artifactComponentsRelations:
|
|
29105
|
-
project:
|
|
29106
|
-
subAgentRelations:
|
|
29104
|
+
declare const artifactComponentsRelations: drizzle_orm20.Relations<"artifact_components", {
|
|
29105
|
+
project: drizzle_orm20.One<"projects", true>;
|
|
29106
|
+
subAgentRelations: drizzle_orm20.Many<"sub_agent_artifact_components">;
|
|
29107
29107
|
}>;
|
|
29108
|
-
declare const subAgentArtifactComponentsRelations:
|
|
29109
|
-
subAgent:
|
|
29110
|
-
artifactComponent:
|
|
29108
|
+
declare const subAgentArtifactComponentsRelations: drizzle_orm20.Relations<"sub_agent_artifact_components", {
|
|
29109
|
+
subAgent: drizzle_orm20.One<"sub_agents", true>;
|
|
29110
|
+
artifactComponent: drizzle_orm20.One<"artifact_components", true>;
|
|
29111
29111
|
}>;
|
|
29112
|
-
declare const dataComponentsRelations:
|
|
29113
|
-
project:
|
|
29114
|
-
subAgentRelations:
|
|
29112
|
+
declare const dataComponentsRelations: drizzle_orm20.Relations<"data_components", {
|
|
29113
|
+
project: drizzle_orm20.One<"projects", true>;
|
|
29114
|
+
subAgentRelations: drizzle_orm20.Many<"sub_agent_data_components">;
|
|
29115
29115
|
}>;
|
|
29116
|
-
declare const subAgentDataComponentsRelations:
|
|
29117
|
-
subAgent:
|
|
29118
|
-
dataComponent:
|
|
29116
|
+
declare const subAgentDataComponentsRelations: drizzle_orm20.Relations<"sub_agent_data_components", {
|
|
29117
|
+
subAgent: drizzle_orm20.One<"sub_agents", true>;
|
|
29118
|
+
dataComponent: drizzle_orm20.One<"data_components", true>;
|
|
29119
29119
|
}>;
|
|
29120
|
-
declare const ledgerArtifactsRelations:
|
|
29121
|
-
project:
|
|
29122
|
-
task:
|
|
29120
|
+
declare const ledgerArtifactsRelations: drizzle_orm20.Relations<"ledger_artifacts", {
|
|
29121
|
+
project: drizzle_orm20.One<"projects", true>;
|
|
29122
|
+
task: drizzle_orm20.One<"tasks", true>;
|
|
29123
29123
|
}>;
|
|
29124
|
-
declare const functionsRelations:
|
|
29125
|
-
functionTools:
|
|
29126
|
-
project:
|
|
29124
|
+
declare const functionsRelations: drizzle_orm20.Relations<"functions", {
|
|
29125
|
+
functionTools: drizzle_orm20.Many<"function_tools">;
|
|
29126
|
+
project: drizzle_orm20.One<"projects", true>;
|
|
29127
29127
|
}>;
|
|
29128
|
-
declare const subAgentRelationsRelations:
|
|
29129
|
-
agent:
|
|
29130
|
-
sourceSubAgent:
|
|
29131
|
-
targetSubAgent:
|
|
29128
|
+
declare const subAgentRelationsRelations: drizzle_orm20.Relations<"sub_agent_relations", {
|
|
29129
|
+
agent: drizzle_orm20.One<"agent", true>;
|
|
29130
|
+
sourceSubAgent: drizzle_orm20.One<"sub_agents", true>;
|
|
29131
|
+
targetSubAgent: drizzle_orm20.One<"sub_agents", false>;
|
|
29132
29132
|
}>;
|
|
29133
|
-
declare const functionToolsRelations:
|
|
29134
|
-
project:
|
|
29135
|
-
agent:
|
|
29136
|
-
function:
|
|
29137
|
-
subAgentRelations:
|
|
29133
|
+
declare const functionToolsRelations: drizzle_orm20.Relations<"function_tools", {
|
|
29134
|
+
project: drizzle_orm20.One<"projects", true>;
|
|
29135
|
+
agent: drizzle_orm20.One<"agent", true>;
|
|
29136
|
+
function: drizzle_orm20.One<"functions", true>;
|
|
29137
|
+
subAgentRelations: drizzle_orm20.Many<"sub_agent_function_tool_relations">;
|
|
29138
29138
|
}>;
|
|
29139
|
-
declare const subAgentFunctionToolRelationsRelations:
|
|
29140
|
-
subAgent:
|
|
29141
|
-
functionTool:
|
|
29139
|
+
declare const subAgentFunctionToolRelationsRelations: drizzle_orm20.Relations<"sub_agent_function_tool_relations", {
|
|
29140
|
+
subAgent: drizzle_orm20.One<"sub_agents", true>;
|
|
29141
|
+
functionTool: drizzle_orm20.One<"function_tools", true>;
|
|
29142
29142
|
}>;
|
|
29143
|
-
declare const subAgentExternalAgentRelationsRelations:
|
|
29144
|
-
subAgent:
|
|
29145
|
-
externalAgent:
|
|
29143
|
+
declare const subAgentExternalAgentRelationsRelations: drizzle_orm20.Relations<"sub_agent_external_agent_relations", {
|
|
29144
|
+
subAgent: drizzle_orm20.One<"sub_agents", true>;
|
|
29145
|
+
externalAgent: drizzle_orm20.One<"external_agents", true>;
|
|
29146
29146
|
}>;
|
|
29147
|
-
declare const subAgentTeamAgentRelationsRelations:
|
|
29148
|
-
subAgent:
|
|
29149
|
-
targetAgent:
|
|
29147
|
+
declare const subAgentTeamAgentRelationsRelations: drizzle_orm20.Relations<"sub_agent_team_agent_relations", {
|
|
29148
|
+
subAgent: drizzle_orm20.One<"sub_agents", true>;
|
|
29149
|
+
targetAgent: drizzle_orm20.One<"agent", true>;
|
|
29150
29150
|
}>;
|
|
29151
29151
|
//#endregion
|
|
29152
29152
|
//#region src/db/client.d.ts
|