@inkeep/agents-core 0.39.3 → 0.39.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/auth/auth.d.ts +18 -18
- package/dist/auth/auth.d.ts.map +1 -1
- package/dist/auth/permissions.d.ts +9 -9
- package/dist/auth/permissions.d.ts.map +1 -1
- package/dist/auth-schema.d.ts +82 -82
- package/dist/auth-validation-schemas.d.ts +129 -129
- package/dist/client-exports.d.ts +2 -2
- package/dist/client-exports.d.ts.map +1 -1
- package/dist/client.d.ts +350 -350
- package/dist/client.d.ts.map +1 -1
- package/dist/models.d.ts +1 -0
- package/dist/models.d.ts.map +1 -1
- package/dist/models.js +1 -0
- package/dist/models.js.map +1 -1
- package/dist/schema-conversion.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/client.d.ts
CHANGED
|
@@ -1377,10 +1377,7 @@ 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;
|
|
1382
1380
|
description: z.ZodNullable<z.ZodString>;
|
|
1383
|
-
prompt: z.ZodNullable<z.ZodString>;
|
|
1384
1381
|
models: z.ZodNullable<z.ZodType<{
|
|
1385
1382
|
base?: {
|
|
1386
1383
|
model?: string | undefined;
|
|
@@ -1443,15 +1440,15 @@ declare const SubAgentApiSelectSchema: z.ZodObject<{
|
|
|
1443
1440
|
}, {
|
|
1444
1441
|
stepCountIs?: number | undefined;
|
|
1445
1442
|
}>>>;
|
|
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>;
|
|
1453
1451
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1454
|
-
prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1455
1452
|
models: z.ZodOptional<z.ZodObject<{
|
|
1456
1453
|
base: z.ZodOptional<z.ZodObject<{
|
|
1457
1454
|
model: z.ZodOptional<z.ZodString>;
|
|
@@ -1475,15 +1472,15 @@ declare const SubAgentApiInsertSchema: z.ZodObject<{
|
|
|
1475
1472
|
}, {
|
|
1476
1473
|
stepCountIs?: number | undefined;
|
|
1477
1474
|
}>>>>;
|
|
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>>>;
|
|
1485
1483
|
description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
1486
|
-
prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
1487
1484
|
models: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
1488
1485
|
base: z.ZodOptional<z.ZodObject<{
|
|
1489
1486
|
model: z.ZodOptional<z.ZodString>;
|
|
@@ -1507,6 +1504,9 @@ declare const SubAgentApiUpdateSchema: z.ZodObject<{
|
|
|
1507
1504
|
}, {
|
|
1508
1505
|
stepCountIs?: number | undefined;
|
|
1509
1506
|
}>>>>>>;
|
|
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,10 +2811,7 @@ 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;
|
|
2816
2814
|
description: z.ZodNullable<z.ZodString>;
|
|
2817
|
-
prompt: z.ZodNullable<z.ZodString>;
|
|
2818
2815
|
models: z.ZodNullable<z.ZodType<{
|
|
2819
2816
|
base?: {
|
|
2820
2817
|
model?: string | undefined;
|
|
@@ -2877,8 +2874,11 @@ declare const AgentApiSelectSchema: z.ZodObject<{
|
|
|
2877
2874
|
}, {
|
|
2878
2875
|
transferCountIs?: number | undefined;
|
|
2879
2876
|
}>>>;
|
|
2877
|
+
createdAt: z.ZodString;
|
|
2878
|
+
updatedAt: z.ZodString;
|
|
2880
2879
|
defaultSubAgentId: z.ZodNullable<z.ZodString>;
|
|
2881
2880
|
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,10 +2939,7 @@ 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>;
|
|
2944
2942
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2945
|
-
prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2946
2943
|
models: z.ZodOptional<z.ZodNullable<z.ZodType<{
|
|
2947
2944
|
base?: {
|
|
2948
2945
|
model?: string | undefined;
|
|
@@ -3005,8 +3002,11 @@ declare const AgentApiInsertSchema: z.ZodObject<{
|
|
|
3005
3002
|
}, {
|
|
3006
3003
|
transferCountIs?: number | undefined;
|
|
3007
3004
|
}>>>>;
|
|
3005
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
3006
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
3008
3007
|
defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3009
3008
|
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,10 +3069,7 @@ 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>>>;
|
|
3074
3072
|
description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
3075
|
-
prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
3076
3073
|
models: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
|
|
3077
3074
|
base?: {
|
|
3078
3075
|
model?: string | undefined;
|
|
@@ -3135,8 +3132,11 @@ declare const AgentApiUpdateSchema: z.ZodObject<{
|
|
|
3135
3132
|
}, {
|
|
3136
3133
|
transferCountIs?: number | undefined;
|
|
3137
3134
|
}>>>>>>;
|
|
3135
|
+
createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
3136
|
+
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
3138
3137
|
defaultSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
3139
3138
|
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>>>;
|
|
3607
3606
|
id: z.ZodString;
|
|
3608
3607
|
createdAt: z.ZodString;
|
|
3609
3608
|
updatedAt: z.ZodString;
|
|
3610
|
-
|
|
3609
|
+
metadata: z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>;
|
|
3611
3610
|
agentId: z.ZodString;
|
|
3612
3611
|
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>>>>;
|
|
3617
3616
|
id: z.ZodString;
|
|
3618
3617
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
3619
3618
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
3620
|
-
|
|
3619
|
+
metadata: z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>;
|
|
3621
3620
|
agentId: z.ZodString;
|
|
3622
3621
|
conversationId: z.ZodOptional<z.ZodString>;
|
|
3623
3622
|
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>>>>>>;
|
|
3628
3627
|
id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
3629
3628
|
createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
3630
3629
|
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
3631
|
-
|
|
3630
|
+
metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>>>;
|
|
3632
3631
|
agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
3633
3632
|
conversationId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
3634
3633
|
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>>>;
|
|
4972
4971
|
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>>>;
|
|
4975
4976
|
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>>>>;
|
|
4982
4981
|
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
|
-
|
|
4986
|
-
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4985
|
+
metadata: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>;
|
|
4987
4986
|
contextConfigId: z.ZodOptional<z.ZodString>;
|
|
4987
|
+
userId: z.ZodOptional<z.ZodNullable<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>>>>>>;
|
|
4993
4992
|
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
|
-
|
|
4997
|
-
title: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
4996
|
+
metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>>>;
|
|
4998
4997
|
contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
4998
|
+
userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<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>>>;
|
|
5849
5848
|
id: z.ZodString;
|
|
5850
5849
|
createdAt: z.ZodString;
|
|
5851
5850
|
updatedAt: z.ZodString;
|
|
5852
|
-
|
|
5853
|
-
content: z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>;
|
|
5851
|
+
metadata: z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>;
|
|
5854
5852
|
conversationId: z.ZodString;
|
|
5853
|
+
role: z.ZodString;
|
|
5855
5854
|
fromSubAgentId: z.ZodNullable<z.ZodString>;
|
|
5856
5855
|
toSubAgentId: z.ZodNullable<z.ZodString>;
|
|
5857
5856
|
fromExternalAgentId: z.ZodNullable<z.ZodString>;
|
|
5858
5857
|
toExternalAgentId: z.ZodNullable<z.ZodString>;
|
|
5859
5858
|
fromTeamAgentId: z.ZodNullable<z.ZodString>;
|
|
5860
5859
|
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>>>>;
|
|
5870
5869
|
id: z.ZodString;
|
|
5871
5870
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
5872
5871
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
5873
|
-
|
|
5874
|
-
content: z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>;
|
|
5872
|
+
metadata: z.ZodOptional<z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>>;
|
|
5875
5873
|
conversationId: z.ZodString;
|
|
5874
|
+
role: z.ZodString;
|
|
5876
5875
|
fromSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5877
5876
|
toSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5878
5877
|
fromExternalAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5879
5878
|
toExternalAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5880
5879
|
fromTeamAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5881
5880
|
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>>>>>>;
|
|
5891
5890
|
id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
5892
5891
|
createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
5893
5892
|
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
5894
|
-
|
|
5895
|
-
content: z.ZodOptional<z.ZodOptional<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
|
|
5893
|
+
metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>>>>;
|
|
5896
5894
|
conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
5895
|
+
role: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
5897
5896
|
fromSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
5898
5897
|
toSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
5899
5898
|
fromExternalAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
5900
5899
|
toExternalAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
5901
5900
|
fromTeamAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
5902
5901
|
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" | "value" | "createdAt" | "updatedAt" | "tenantId" | "contextConfigId" | "projectId" | "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>>;
|
|
6892
6893
|
createdAt: z.ZodString;
|
|
6893
6894
|
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>>;
|
|
6905
6906
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
6906
6907
|
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>>>>;
|
|
6918
6919
|
createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
6919
6920
|
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>>;
|
|
7303
7304
|
tenantId: z.ZodString;
|
|
7304
7305
|
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>;
|
|
7353
7354
|
createdAt: z.ZodString;
|
|
7354
7355
|
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>>;
|
|
7374
7375
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
7375
7376
|
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>>>>;
|
|
7395
7396
|
createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
7396
7397
|
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>;
|
|
8299
8300
|
createdAt: z.ZodString;
|
|
8300
8301
|
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>>>>;
|
|
8316
8317
|
createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
8317
8318
|
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,37 +8672,34 @@ 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>;
|
|
8675
8676
|
createdAt: z.ZodString;
|
|
8676
8677
|
updatedAt: z.ZodString;
|
|
8677
|
-
description: z.ZodNullable<z.ZodString>;
|
|
8678
|
-
credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8679
8678
|
baseUrl: z.ZodString;
|
|
8679
|
+
credentialReferenceId: z.ZodOptional<z.ZodNullable<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>>;
|
|
8684
8685
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
8685
8686
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
8686
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8687
|
-
credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8688
8687
|
baseUrl: z.ZodString;
|
|
8688
|
+
credentialReferenceId: z.ZodOptional<z.ZodNullable<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>>>>;
|
|
8693
8694
|
createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
8694
8695
|
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
8695
|
-
description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
8696
|
-
credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
8697
8696
|
baseUrl: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
8697
|
+
credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<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;
|
|
8704
8702
|
description: z.ZodNullable<z.ZodString>;
|
|
8705
|
-
prompt: z.ZodNullable<z.ZodString>;
|
|
8706
8703
|
models: z.ZodNullable<z.ZodType<{
|
|
8707
8704
|
base?: {
|
|
8708
8705
|
model?: string | undefined;
|
|
@@ -8765,16 +8762,19 @@ declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
8765
8762
|
}, {
|
|
8766
8763
|
stepCountIs?: number | undefined;
|
|
8767
8764
|
}>>>;
|
|
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>;
|
|
8773
8774
|
createdAt: z.ZodString;
|
|
8774
8775
|
updatedAt: z.ZodString;
|
|
8775
|
-
description: z.ZodNullable<z.ZodString>;
|
|
8776
|
-
credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8777
8776
|
baseUrl: z.ZodString;
|
|
8777
|
+
credentialReferenceId: z.ZodOptional<z.ZodNullable<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>>>;
|
|
9244
9243
|
agentId: z.ZodOptional<z.ZodString>;
|
|
9245
9244
|
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>;
|
|
9256
9255
|
agentId: z.ZodString;
|
|
9257
9256
|
publicId: z.ZodString;
|
|
9258
9257
|
keyPrefix: z.ZodString;
|
|
9259
9258
|
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>;
|
|
9272
9271
|
agentId: z.ZodString;
|
|
9273
9272
|
publicId: z.ZodString;
|
|
9274
9273
|
keyPrefix: z.ZodString;
|
|
9275
9274
|
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
|
-
expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9288
9287
|
agentId: z.ZodString;
|
|
9288
|
+
expiresAt: z.ZodOptional<z.ZodNullable<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>>>;
|
|
9297
9296
|
agentId: z.ZodOptional<z.ZodString>;
|
|
9298
9297
|
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>;
|
|
9794
9793
|
credentialStoreId: z.ZodString;
|
|
9795
9794
|
retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
9796
9795
|
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>>;
|
|
10351
10350
|
credentialStoreId: z.ZodString;
|
|
10352
10351
|
retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
10353
10352
|
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>>>>;
|
|
10367
10366
|
credentialStoreId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
10368
10367
|
retrievalParams: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>>;
|
|
10369
10368
|
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>>>>>;
|
|
10485
10484
|
id: z.ZodString;
|
|
10486
10485
|
name: z.ZodString;
|
|
10487
|
-
expiresAt: z.ZodOptional<z.ZodString>;
|
|
10488
10486
|
createdBy: z.ZodOptional<z.ZodString>;
|
|
10489
10487
|
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>>>>>;
|
|
10490
10489
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
10491
10490
|
capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
|
|
10492
10491
|
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>>;
|
|
10524
10523
|
credentialStoreId: z.ZodString;
|
|
10525
10524
|
retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
10526
10525
|
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>>>>;
|
|
10577
10576
|
id: z.ZodString;
|
|
10578
10577
|
name: z.ZodString;
|
|
10578
|
+
description: z.ZodNullable<z.ZodString>;
|
|
10579
10579
|
createdAt: z.ZodString;
|
|
10580
10580
|
updatedAt: z.ZodString;
|
|
10581
|
-
|
|
10581
|
+
credentialReferenceId: 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>;
|
|
10596
10595
|
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>>>>>;
|
|
10603
10602
|
id: z.ZodString;
|
|
10604
10603
|
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
|
+
credentialReferenceId: 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>>;
|
|
10628
10627
|
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>>>>>>>;
|
|
10635
10634
|
id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
10636
10635
|
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
|
+
credentialReferenceId: 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>>>>;
|
|
10660
10659
|
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>;
|
|
11029
11030
|
createdAt: z.ZodString;
|
|
11030
11031
|
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>>;
|
|
11038
11039
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
11039
11040
|
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>>>>;
|
|
11046
11047
|
createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
11047
11048
|
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>>;
|
|
11442
11441
|
credentialStoreId: z.ZodString;
|
|
11443
11442
|
retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
11444
11443
|
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;
|
|
11471
11470
|
headersSchema: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
11472
11471
|
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>;
|
|
11482
11481
|
headersSchema: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>;
|
|
11483
11482
|
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>>>;
|
|
11964
11963
|
id: z.ZodString;
|
|
11965
11964
|
createdAt: z.ZodString;
|
|
11966
11965
|
updatedAt: z.ZodString;
|
|
11967
11966
|
toolId: z.ZodString;
|
|
11968
|
-
toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
|
|
11969
11967
|
subAgentId: z.ZodString;
|
|
11968
|
+
headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
|
|
11970
11969
|
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>>>;
|
|
11974
11973
|
id: z.ZodString;
|
|
11975
11974
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
11976
11975
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
11977
11976
|
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>>>;
|
|
11978
11980
|
toolPolicies: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
11979
11981
|
needsApproval: z.ZodOptional<z.ZodBoolean>;
|
|
11980
11982
|
}, 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>>>>>;
|
|
11986
11985
|
id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
11987
11986
|
createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
11988
11987
|
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
11989
11988
|
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>>>>>;
|
|
11990
11992
|
toolPolicies: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
11991
11993
|
needsApproval: z.ZodOptional<z.ZodBoolean>;
|
|
11992
11994
|
}, 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>>>;
|
|
12363
12362
|
id: z.ZodString;
|
|
12364
12363
|
createdAt: z.ZodString;
|
|
12365
12364
|
updatedAt: z.ZodString;
|
|
12366
|
-
externalAgentId: z.ZodString;
|
|
12367
12365
|
subAgentId: z.ZodString;
|
|
12366
|
+
headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
|
|
12367
|
+
externalAgentId: 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>>>;
|
|
12371
12370
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
12372
12371
|
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>>>>>;
|
|
12377
12376
|
id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
12378
12377
|
createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
12379
12378
|
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
12380
|
-
externalAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
12381
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
|
+
externalAgentId: 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>>>;
|
|
12750
12749
|
id: z.ZodString;
|
|
12751
12750
|
createdAt: z.ZodString;
|
|
12752
12751
|
updatedAt: z.ZodString;
|
|
12753
12752
|
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>>>;
|
|
12758
12757
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
12759
12758
|
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>>>>>;
|
|
12764
12763
|
id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
12765
12764
|
createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
12766
12765
|
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
12767
12766
|
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
|
+
}, "id" | "name" | "description" | "type" | "createdAt" | "updatedAt" | "tenantId" | "metadata" | "projectId" | "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>>>;
|
|
14138
14136
|
id: z.ZodString;
|
|
14139
14137
|
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
|
+
metadata: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
|
|
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>>>>;
|
|
14156
14154
|
id: z.ZodString;
|
|
14157
14155
|
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
|
+
metadata: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
|
|
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>>>>>>;
|
|
14174
14172
|
id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
14175
14173
|
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
|
+
metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>>;
|
|
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,8 +14237,6 @@ 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>;
|
|
14242
14240
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14243
14241
|
models: z.ZodOptional<z.ZodObject<{
|
|
14244
14242
|
base: z.ZodOptional<z.ZodObject<{
|
|
@@ -14263,6 +14261,8 @@ declare const FullAgentAgentInsertSchema: z.ZodObject<{
|
|
|
14263
14261
|
}, {
|
|
14264
14262
|
stepCountIs?: number | undefined;
|
|
14265
14263
|
}>>>>;
|
|
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,17 +14290,15 @@ 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>>;
|
|
14293
14294
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
14294
14295
|
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>;
|
|
14304
14302
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14305
14303
|
models: z.ZodOptional<z.ZodObject<{
|
|
14306
14304
|
base: z.ZodOptional<z.ZodObject<{
|
|
@@ -14325,6 +14323,8 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
|
|
|
14325
14323
|
}, {
|
|
14326
14324
|
stepCountIs?: number | undefined;
|
|
14327
14325
|
}>>>>;
|
|
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>>>>>;
|
|
14355
14354
|
id: z.ZodString;
|
|
14356
14355
|
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
|
+
credentialReferenceId: 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>>;
|
|
14380
14379
|
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>>;
|
|
14388
14389
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
14389
14390
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
14390
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14391
|
-
credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14392
14391
|
baseUrl: z.ZodString;
|
|
14392
|
+
credentialReferenceId: z.ZodOptional<z.ZodNullable<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>>;
|
|
14402
14403
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
14403
14404
|
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,7 +14513,6 @@ 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;
|
|
14517
14516
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14518
14517
|
models: z.ZodObject<{
|
|
14519
14518
|
base: z.ZodObject<{
|
|
@@ -14533,6 +14532,7 @@ declare const ProjectInsertSchema: z.ZodObject<{
|
|
|
14533
14532
|
transferCountIs: z.ZodOptional<z.ZodNumber>;
|
|
14534
14533
|
stepCountIs: z.ZodOptional<z.ZodNumber>;
|
|
14535
14534
|
}, z.core.$strip>>;
|
|
14535
|
+
tenantId: z.ZodString;
|
|
14536
14536
|
}, {
|
|
14537
14537
|
out: {};
|
|
14538
14538
|
in: {};
|
|
@@ -14565,8 +14565,6 @@ 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;
|
|
14570
14568
|
description: z.ZodNullable<z.ZodString>;
|
|
14571
14569
|
models: z.ZodNullable<z.ZodObject<{
|
|
14572
14570
|
base: z.ZodObject<{
|
|
@@ -14586,6 +14584,8 @@ declare const ProjectApiSelectSchema: z.ZodObject<{
|
|
|
14586
14584
|
transferCountIs: z.ZodOptional<z.ZodNumber>;
|
|
14587
14585
|
stepCountIs: z.ZodOptional<z.ZodNumber>;
|
|
14588
14586
|
}, z.core.$strip>>;
|
|
14587
|
+
createdAt: z.ZodString;
|
|
14588
|
+
updatedAt: z.ZodString;
|
|
14589
14589
|
}, {
|
|
14590
14590
|
out: {};
|
|
14591
14591
|
in: {};
|
|
@@ -14665,17 +14665,15 @@ 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>>;
|
|
14668
14669
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
14669
14670
|
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>;
|
|
14679
14677
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14680
14678
|
models: z.ZodOptional<z.ZodObject<{
|
|
14681
14679
|
base: z.ZodOptional<z.ZodObject<{
|
|
@@ -14700,6 +14698,8 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
|
|
|
14700
14698
|
}, {
|
|
14701
14699
|
stepCountIs?: number | undefined;
|
|
14702
14700
|
}>>>>;
|
|
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>>>>>;
|
|
14730
14729
|
id: z.ZodString;
|
|
14731
14730
|
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
|
+
credentialReferenceId: 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>>;
|
|
14755
14754
|
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>>;
|
|
14763
14764
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
14764
14765
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
14765
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14766
|
-
credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14767
14766
|
baseUrl: z.ZodString;
|
|
14767
|
+
credentialReferenceId: z.ZodOptional<z.ZodNullable<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>>;
|
|
14777
14778
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
14778
14779
|
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>>>>>;
|
|
14831
14830
|
id: z.ZodString;
|
|
14832
14831
|
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
|
+
credentialReferenceId: 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>>;
|
|
14856
14855
|
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>>;
|
|
14864
14865
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
14865
14866
|
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>>;
|
|
14880
14881
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
14881
14882
|
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>>;
|
|
14910
14911
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
14911
14912
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
14912
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14913
|
-
credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14914
14913
|
baseUrl: z.ZodString;
|
|
14914
|
+
credentialReferenceId: z.ZodOptional<z.ZodNullable<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>>;
|
|
14937
14936
|
credentialStoreId: z.ZodString;
|
|
14938
14937
|
retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
14939
14938
|
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,8 +14954,6 @@ 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;
|
|
14959
14957
|
description: z.ZodNullable<z.ZodString>;
|
|
14960
14958
|
models: z.ZodNullable<z.ZodObject<{
|
|
14961
14959
|
base: z.ZodObject<{
|
|
@@ -14975,6 +14973,8 @@ declare const ProjectResponse: z.ZodObject<{
|
|
|
14975
14973
|
transferCountIs: z.ZodOptional<z.ZodNumber>;
|
|
14976
14974
|
stepCountIs: z.ZodOptional<z.ZodNumber>;
|
|
14977
14975
|
}, z.core.$strip>>;
|
|
14976
|
+
createdAt: z.ZodString;
|
|
14977
|
+
updatedAt: z.ZodString;
|
|
14978
14978
|
}, {
|
|
14979
14979
|
out: {};
|
|
14980
14980
|
in: {};
|
|
@@ -14984,10 +14984,7 @@ 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;
|
|
14989
14987
|
description: z.ZodNullable<z.ZodString>;
|
|
14990
|
-
prompt: z.ZodNullable<z.ZodString>;
|
|
14991
14988
|
models: z.ZodNullable<z.ZodType<{
|
|
14992
14989
|
base?: {
|
|
14993
14990
|
model?: string | undefined;
|
|
@@ -15050,6 +15047,9 @@ declare const SubAgentResponse: z.ZodObject<{
|
|
|
15050
15047
|
}, {
|
|
15051
15048
|
stepCountIs?: number | undefined;
|
|
15052
15049
|
}>>>;
|
|
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,10 +15057,7 @@ 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;
|
|
15062
15060
|
description: z.ZodNullable<z.ZodString>;
|
|
15063
|
-
prompt: z.ZodNullable<z.ZodString>;
|
|
15064
15061
|
models: z.ZodNullable<z.ZodType<{
|
|
15065
15062
|
base?: {
|
|
15066
15063
|
model?: string | undefined;
|
|
@@ -15123,8 +15120,11 @@ declare const AgentResponse: z.ZodObject<{
|
|
|
15123
15120
|
}, {
|
|
15124
15121
|
transferCountIs?: number | undefined;
|
|
15125
15122
|
}>>>;
|
|
15123
|
+
createdAt: z.ZodString;
|
|
15124
|
+
updatedAt: z.ZodString;
|
|
15126
15125
|
defaultSubAgentId: z.ZodNullable<z.ZodString>;
|
|
15127
15126
|
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>>>>;
|
|
15190
15189
|
id: z.ZodString;
|
|
15191
15190
|
name: z.ZodString;
|
|
15191
|
+
description: z.ZodNullable<z.ZodString>;
|
|
15192
15192
|
createdAt: z.ZodString;
|
|
15193
15193
|
updatedAt: z.ZodString;
|
|
15194
|
-
|
|
15194
|
+
credentialReferenceId: 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>;
|
|
15209
15208
|
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>;
|
|
15219
15220
|
createdAt: z.ZodString;
|
|
15220
15221
|
updatedAt: z.ZodString;
|
|
15221
|
-
description: z.ZodNullable<z.ZodString>;
|
|
15222
|
-
credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15223
15222
|
baseUrl: z.ZodString;
|
|
15223
|
+
credentialReferenceId: z.ZodOptional<z.ZodNullable<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>;
|
|
15242
15241
|
agentId: z.ZodString;
|
|
15243
15242
|
publicId: z.ZodString;
|
|
15244
15243
|
keyPrefix: z.ZodString;
|
|
15245
15244
|
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>;
|
|
15258
15257
|
credentialStoreId: z.ZodString;
|
|
15259
15258
|
retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
15260
15259
|
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>;
|
|
15824
15825
|
createdAt: z.ZodString;
|
|
15825
15826
|
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>;
|
|
15835
15836
|
createdAt: z.ZodString;
|
|
15836
15837
|
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>;
|
|
15858
15859
|
createdAt: z.ZodString;
|
|
15859
15860
|
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>>>;
|
|
15877
15876
|
id: z.ZodString;
|
|
15878
15877
|
createdAt: z.ZodString;
|
|
15879
15878
|
updatedAt: z.ZodString;
|
|
15880
15879
|
toolId: z.ZodString;
|
|
15881
|
-
toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
|
|
15882
15880
|
subAgentId: z.ZodString;
|
|
15881
|
+
headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
|
|
15883
15882
|
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>>>;
|
|
15889
15888
|
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>>>;
|
|
15892
15893
|
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>>>;
|
|
15901
15900
|
id: z.ZodString;
|
|
15902
15901
|
createdAt: z.ZodString;
|
|
15903
15902
|
updatedAt: z.ZodString;
|
|
15904
|
-
|
|
15905
|
-
content: z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>;
|
|
15903
|
+
metadata: z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>;
|
|
15906
15904
|
conversationId: z.ZodString;
|
|
15905
|
+
role: z.ZodString;
|
|
15907
15906
|
fromSubAgentId: z.ZodNullable<z.ZodString>;
|
|
15908
15907
|
toSubAgentId: z.ZodNullable<z.ZodString>;
|
|
15909
15908
|
fromExternalAgentId: z.ZodNullable<z.ZodString>;
|
|
15910
15909
|
toExternalAgentId: z.ZodNullable<z.ZodString>;
|
|
15911
15910
|
fromTeamAgentId: z.ZodNullable<z.ZodString>;
|
|
15912
15911
|
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,8 +15922,6 @@ 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;
|
|
15927
15925
|
description: z.ZodNullable<z.ZodString>;
|
|
15928
15926
|
models: z.ZodNullable<z.ZodObject<{
|
|
15929
15927
|
base: z.ZodObject<{
|
|
@@ -15943,6 +15941,8 @@ declare const ProjectListResponse: z.ZodObject<{
|
|
|
15943
15941
|
transferCountIs: z.ZodOptional<z.ZodNumber>;
|
|
15944
15942
|
stepCountIs: z.ZodOptional<z.ZodNumber>;
|
|
15945
15943
|
}, z.core.$strip>>;
|
|
15944
|
+
createdAt: z.ZodString;
|
|
15945
|
+
updatedAt: z.ZodString;
|
|
15946
15946
|
}, {
|
|
15947
15947
|
out: {};
|
|
15948
15948
|
in: {};
|
|
@@ -15958,10 +15958,7 @@ 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;
|
|
15963
15961
|
description: z.ZodNullable<z.ZodString>;
|
|
15964
|
-
prompt: z.ZodNullable<z.ZodString>;
|
|
15965
15962
|
models: z.ZodNullable<z.ZodType<{
|
|
15966
15963
|
base?: {
|
|
15967
15964
|
model?: string | undefined;
|
|
@@ -16024,6 +16021,9 @@ declare const SubAgentListResponse: z.ZodObject<{
|
|
|
16024
16021
|
}, {
|
|
16025
16022
|
stepCountIs?: number | undefined;
|
|
16026
16023
|
}>>>;
|
|
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,10 +16037,7 @@ 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;
|
|
16042
16040
|
description: z.ZodNullable<z.ZodString>;
|
|
16043
|
-
prompt: z.ZodNullable<z.ZodString>;
|
|
16044
16041
|
models: z.ZodNullable<z.ZodType<{
|
|
16045
16042
|
base?: {
|
|
16046
16043
|
model?: string | undefined;
|
|
@@ -16103,8 +16100,11 @@ declare const AgentListResponse: z.ZodObject<{
|
|
|
16103
16100
|
}, {
|
|
16104
16101
|
transferCountIs?: number | undefined;
|
|
16105
16102
|
}>>>;
|
|
16103
|
+
createdAt: z.ZodString;
|
|
16104
|
+
updatedAt: z.ZodString;
|
|
16106
16105
|
defaultSubAgentId: z.ZodNullable<z.ZodString>;
|
|
16107
16106
|
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>>>>;
|
|
16176
16175
|
id: z.ZodString;
|
|
16177
16176
|
name: z.ZodString;
|
|
16177
|
+
description: z.ZodNullable<z.ZodString>;
|
|
16178
16178
|
createdAt: z.ZodString;
|
|
16179
16179
|
updatedAt: z.ZodString;
|
|
16180
|
-
|
|
16180
|
+
credentialReferenceId: 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>;
|
|
16195
16194
|
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>;
|
|
16211
16212
|
createdAt: z.ZodString;
|
|
16212
16213
|
updatedAt: z.ZodString;
|
|
16213
|
-
description: z.ZodNullable<z.ZodString>;
|
|
16214
|
-
credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16215
16214
|
baseUrl: z.ZodString;
|
|
16215
|
+
credentialReferenceId: z.ZodOptional<z.ZodNullable<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>;
|
|
16246
16245
|
agentId: z.ZodString;
|
|
16247
16246
|
publicId: z.ZodString;
|
|
16248
16247
|
keyPrefix: z.ZodString;
|
|
16249
16248
|
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>;
|
|
16268
16267
|
credentialStoreId: z.ZodString;
|
|
16269
16268
|
retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
16270
16269
|
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>;
|
|
16846
16847
|
createdAt: z.ZodString;
|
|
16847
16848
|
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>;
|
|
16863
16864
|
createdAt: z.ZodString;
|
|
16864
16865
|
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>;
|
|
16892
16893
|
createdAt: z.ZodString;
|
|
16893
16894
|
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>>>;
|
|
16923
16922
|
id: z.ZodString;
|
|
16924
16923
|
createdAt: z.ZodString;
|
|
16925
16924
|
updatedAt: z.ZodString;
|
|
16926
16925
|
toolId: z.ZodString;
|
|
16927
|
-
toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
|
|
16928
16926
|
subAgentId: z.ZodString;
|
|
16927
|
+
headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
|
|
16929
16928
|
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>>>;
|
|
16941
16940
|
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>>>;
|
|
16944
16945
|
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>>>;
|
|
16959
16958
|
id: z.ZodString;
|
|
16960
16959
|
createdAt: z.ZodString;
|
|
16961
16960
|
updatedAt: z.ZodString;
|
|
16962
|
-
|
|
16963
|
-
content: z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>;
|
|
16961
|
+
metadata: z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>;
|
|
16964
16962
|
conversationId: z.ZodString;
|
|
16963
|
+
role: z.ZodString;
|
|
16965
16964
|
fromSubAgentId: z.ZodNullable<z.ZodString>;
|
|
16966
16965
|
toSubAgentId: z.ZodNullable<z.ZodString>;
|
|
16967
16966
|
fromExternalAgentId: z.ZodNullable<z.ZodString>;
|
|
16968
16967
|
toExternalAgentId: z.ZodNullable<z.ZodString>;
|
|
16969
16968
|
fromTeamAgentId: z.ZodNullable<z.ZodString>;
|
|
16970
16969
|
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,17 +17051,15 @@ 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>>;
|
|
17054
17055
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
17055
17056
|
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>;
|
|
17065
17063
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17066
17064
|
models: z.ZodOptional<z.ZodObject<{
|
|
17067
17065
|
base: z.ZodOptional<z.ZodObject<{
|
|
@@ -17086,6 +17084,8 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
|
|
|
17086
17084
|
}, {
|
|
17087
17085
|
stepCountIs?: number | undefined;
|
|
17088
17086
|
}>>>>;
|
|
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>>>>>;
|
|
17116
17115
|
id: z.ZodString;
|
|
17117
17116
|
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
|
+
credentialReferenceId: 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>>;
|
|
17141
17140
|
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>>;
|
|
17149
17150
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
17150
17151
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
17151
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17152
|
-
credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17153
17152
|
baseUrl: z.ZodString;
|
|
17153
|
+
credentialReferenceId: z.ZodOptional<z.ZodNullable<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>>;
|
|
17163
17164
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
17164
17165
|
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>>>>>;
|
|
17217
17216
|
id: z.ZodString;
|
|
17218
17217
|
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
|
+
credentialReferenceId: 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>>;
|
|
17242
17241
|
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>>;
|
|
17250
17251
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
17251
17252
|
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>>;
|
|
17266
17267
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
17267
17268
|
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>>;
|
|
17296
17297
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
17297
17298
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
17298
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17299
|
-
credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17300
17299
|
baseUrl: z.ZodString;
|
|
17300
|
+
credentialReferenceId: z.ZodOptional<z.ZodNullable<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>>;
|
|
17323
17322
|
credentialStoreId: z.ZodString;
|
|
17324
17323
|
retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
17325
17324
|
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,17 +17340,15 @@ 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>>;
|
|
17343
17344
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
17344
17345
|
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>;
|
|
17354
17352
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17355
17353
|
models: z.ZodOptional<z.ZodObject<{
|
|
17356
17354
|
base: z.ZodOptional<z.ZodObject<{
|
|
@@ -17375,6 +17373,8 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
|
|
|
17375
17373
|
}, {
|
|
17376
17374
|
stepCountIs?: number | undefined;
|
|
17377
17375
|
}>>>>;
|
|
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>>>>>;
|
|
17405
17404
|
id: z.ZodString;
|
|
17406
17405
|
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
|
+
credentialReferenceId: 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>>;
|
|
17430
17429
|
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>>;
|
|
17438
17439
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
17439
17440
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
17440
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17441
|
-
credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17442
17441
|
baseUrl: z.ZodString;
|
|
17442
|
+
credentialReferenceId: z.ZodOptional<z.ZodNullable<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>>;
|
|
17452
17453
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
17453
17454
|
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>>>;
|
|
17641
17640
|
id: z.ZodString;
|
|
17642
17641
|
createdAt: z.ZodString;
|
|
17643
17642
|
updatedAt: z.ZodString;
|
|
17644
17643
|
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>>>;
|
|
17651
17650
|
id: z.ZodString;
|
|
17652
17651
|
createdAt: z.ZodString;
|
|
17653
17652
|
updatedAt: z.ZodString;
|
|
17654
17653
|
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>>>;
|
|
17667
17666
|
id: z.ZodString;
|
|
17668
17667
|
createdAt: z.ZodString;
|
|
17669
17668
|
updatedAt: z.ZodString;
|
|
17670
|
-
externalAgentId: z.ZodString;
|
|
17671
17669
|
subAgentId: z.ZodString;
|
|
17670
|
+
headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
|
|
17671
|
+
externalAgentId: 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>>>;
|
|
17677
17676
|
id: z.ZodString;
|
|
17678
17677
|
createdAt: z.ZodString;
|
|
17679
17678
|
updatedAt: z.ZodString;
|
|
17680
|
-
externalAgentId: z.ZodString;
|
|
17681
17679
|
subAgentId: z.ZodString;
|
|
17680
|
+
headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
|
|
17681
|
+
externalAgentId: 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>;
|
|
17694
17695
|
createdAt: z.ZodString;
|
|
17695
17696
|
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>;
|
|
17717
17718
|
createdAt: z.ZodString;
|
|
17718
17719
|
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,12 +18993,7 @@ 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;
|
|
19000
18996
|
description: string | null;
|
|
19001
|
-
prompt: string | null;
|
|
19002
18997
|
models: {
|
|
19003
18998
|
base?: {
|
|
19004
18999
|
model?: string | undefined;
|
|
@@ -19016,8 +19011,12 @@ declare const getAgentById: (db: DatabaseClient) => (params: {
|
|
|
19016
19011
|
stopWhen: {
|
|
19017
19012
|
transferCountIs?: number | undefined;
|
|
19018
19013
|
} | null;
|
|
19014
|
+
createdAt: string;
|
|
19015
|
+
updatedAt: string;
|
|
19016
|
+
tenantId: string;
|
|
19019
19017
|
defaultSubAgentId: string | null;
|
|
19020
19018
|
contextConfigId: string | null;
|
|
19019
|
+
prompt: string | null;
|
|
19021
19020
|
statusUpdates: {
|
|
19022
19021
|
enabled?: boolean | undefined;
|
|
19023
19022
|
numEvents?: number | undefined;
|
|
@@ -19033,18 +19032,14 @@ declare const getAgentById: (db: DatabaseClient) => (params: {
|
|
|
19033
19032
|
} | undefined;
|
|
19034
19033
|
}[] | undefined;
|
|
19035
19034
|
} | 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;
|
|
19046
19042
|
description: string | null;
|
|
19047
|
-
prompt: string | null;
|
|
19048
19043
|
models: {
|
|
19049
19044
|
base?: {
|
|
19050
19045
|
model?: string | undefined;
|
|
@@ -19062,8 +19057,12 @@ declare const getAgentWithDefaultSubAgent: (db: DatabaseClient) => (params: {
|
|
|
19062
19057
|
stopWhen: {
|
|
19063
19058
|
transferCountIs?: number | undefined;
|
|
19064
19059
|
} | null;
|
|
19060
|
+
createdAt: string;
|
|
19061
|
+
updatedAt: string;
|
|
19062
|
+
tenantId: string;
|
|
19065
19063
|
defaultSubAgentId: string | null;
|
|
19066
19064
|
contextConfigId: string | null;
|
|
19065
|
+
prompt: string | null;
|
|
19067
19066
|
statusUpdates: {
|
|
19068
19067
|
enabled?: boolean | undefined;
|
|
19069
19068
|
numEvents?: number | undefined;
|
|
@@ -19079,16 +19078,11 @@ declare const getAgentWithDefaultSubAgent: (db: DatabaseClient) => (params: {
|
|
|
19079
19078
|
} | undefined;
|
|
19080
19079
|
}[] | undefined;
|
|
19081
19080
|
} | 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;
|
|
19089
19085
|
description: string | null;
|
|
19090
|
-
prompt: string | null;
|
|
19091
|
-
agentId: string;
|
|
19092
19086
|
models: {
|
|
19093
19087
|
base?: {
|
|
19094
19088
|
model?: string | undefined;
|
|
@@ -19106,6 +19100,12 @@ declare const getAgentWithDefaultSubAgent: (db: DatabaseClient) => (params: {
|
|
|
19106
19100
|
stopWhen: {
|
|
19107
19101
|
stepCountIs?: number | undefined;
|
|
19108
19102
|
} | 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,12 +19114,7 @@ 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;
|
|
19121
19117
|
description: string | null;
|
|
19122
|
-
prompt: string | null;
|
|
19123
19118
|
models: {
|
|
19124
19119
|
base?: {
|
|
19125
19120
|
model?: string | undefined;
|
|
@@ -19137,8 +19132,12 @@ declare const listAgents: (db: DatabaseClient) => (params: {
|
|
|
19137
19132
|
stopWhen: {
|
|
19138
19133
|
transferCountIs?: number | undefined;
|
|
19139
19134
|
} | null;
|
|
19135
|
+
createdAt: string;
|
|
19136
|
+
updatedAt: string;
|
|
19137
|
+
tenantId: string;
|
|
19140
19138
|
defaultSubAgentId: string | null;
|
|
19141
19139
|
contextConfigId: string | null;
|
|
19140
|
+
prompt: string | null;
|
|
19142
19141
|
statusUpdates: {
|
|
19143
19142
|
enabled?: boolean | undefined;
|
|
19144
19143
|
numEvents?: number | undefined;
|
|
@@ -19154,6 +19153,7 @@ declare const listAgents: (db: DatabaseClient) => (params: {
|
|
|
19154
19153
|
} | undefined;
|
|
19155
19154
|
}[] | undefined;
|
|
19156
19155
|
} | null;
|
|
19156
|
+
projectId: string;
|
|
19157
19157
|
}[]>;
|
|
19158
19158
|
declare const listAgentsPaginated: (db: DatabaseClient) => (params: {
|
|
19159
19159
|
scopes: ProjectScopeConfig;
|
|
@@ -19213,12 +19213,7 @@ 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;
|
|
19220
19216
|
description: string | null;
|
|
19221
|
-
prompt: string | null;
|
|
19222
19217
|
models: {
|
|
19223
19218
|
base?: {
|
|
19224
19219
|
model?: string | undefined;
|
|
@@ -19236,8 +19231,12 @@ declare const createAgent: (db: DatabaseClient) => (data: AgentInsert) => Promis
|
|
|
19236
19231
|
stopWhen: {
|
|
19237
19232
|
transferCountIs?: number | undefined;
|
|
19238
19233
|
} | null;
|
|
19234
|
+
createdAt: string;
|
|
19235
|
+
updatedAt: string;
|
|
19236
|
+
tenantId: string;
|
|
19239
19237
|
defaultSubAgentId: string | null;
|
|
19240
19238
|
contextConfigId: string | null;
|
|
19239
|
+
prompt: string | null;
|
|
19241
19240
|
statusUpdates: {
|
|
19242
19241
|
enabled?: boolean | undefined;
|
|
19243
19242
|
numEvents?: number | undefined;
|
|
@@ -19253,6 +19252,7 @@ declare const createAgent: (db: DatabaseClient) => (data: AgentInsert) => Promis
|
|
|
19253
19252
|
} | undefined;
|
|
19254
19253
|
}[] | undefined;
|
|
19255
19254
|
} | null;
|
|
19255
|
+
projectId: string;
|
|
19256
19256
|
}>;
|
|
19257
19257
|
declare const updateAgent: (db: DatabaseClient) => (params: {
|
|
19258
19258
|
scopes: AgentScopeConfig;
|
|
@@ -19356,7 +19356,6 @@ declare const getApiKeyById: (db: DatabaseClient) => (params: {
|
|
|
19356
19356
|
name: string | null;
|
|
19357
19357
|
createdAt: string;
|
|
19358
19358
|
updatedAt: string;
|
|
19359
|
-
expiresAt: string | null;
|
|
19360
19359
|
tenantId: string;
|
|
19361
19360
|
projectId: string;
|
|
19362
19361
|
agentId: string;
|
|
@@ -19364,13 +19363,13 @@ declare const getApiKeyById: (db: DatabaseClient) => (params: {
|
|
|
19364
19363
|
keyHash: string;
|
|
19365
19364
|
keyPrefix: string;
|
|
19366
19365
|
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;
|
|
19374
19373
|
tenantId: string;
|
|
19375
19374
|
projectId: string;
|
|
19376
19375
|
agentId: string;
|
|
@@ -19378,6 +19377,7 @@ declare const getApiKeyByPublicId: (db: DatabaseClient) => (publicId: string) =>
|
|
|
19378
19377
|
keyHash: string;
|
|
19379
19378
|
keyPrefix: string;
|
|
19380
19379
|
lastUsedAt: string | null;
|
|
19380
|
+
expiresAt: string | null;
|
|
19381
19381
|
} | undefined>;
|
|
19382
19382
|
declare const listApiKeys: (db: DatabaseClient) => (params: {
|
|
19383
19383
|
scopes: ProjectScopeConfig;
|
|
@@ -19387,7 +19387,6 @@ declare const listApiKeys: (db: DatabaseClient) => (params: {
|
|
|
19387
19387
|
name: string | null;
|
|
19388
19388
|
createdAt: string;
|
|
19389
19389
|
updatedAt: string;
|
|
19390
|
-
expiresAt: string | null;
|
|
19391
19390
|
tenantId: string;
|
|
19392
19391
|
projectId: string;
|
|
19393
19392
|
agentId: string;
|
|
@@ -19395,6 +19394,7 @@ declare const listApiKeys: (db: DatabaseClient) => (params: {
|
|
|
19395
19394
|
keyHash: string;
|
|
19396
19395
|
keyPrefix: string;
|
|
19397
19396
|
lastUsedAt: string | null;
|
|
19397
|
+
expiresAt: string | null;
|
|
19398
19398
|
}[]>;
|
|
19399
19399
|
declare const listApiKeysPaginated: (db: DatabaseClient) => (params: {
|
|
19400
19400
|
scopes: ProjectScopeConfig;
|
|
@@ -19414,7 +19414,6 @@ 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;
|
|
19418
19417
|
tenantId: string;
|
|
19419
19418
|
projectId: string;
|
|
19420
19419
|
agentId: string;
|
|
@@ -19422,6 +19421,7 @@ declare const createApiKey: (db: DatabaseClient) => (params: ApiKeyInsert) => Pr
|
|
|
19422
19421
|
keyHash: string;
|
|
19423
19422
|
keyPrefix: string;
|
|
19424
19423
|
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;
|
|
19474
19475
|
createdAt: string;
|
|
19475
19476
|
updatedAt: string;
|
|
19476
19477
|
tenantId: string;
|
|
19477
19478
|
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;
|
|
19508
19509
|
createdAt: string;
|
|
19509
19510
|
updatedAt: string;
|
|
19510
19511
|
tenantId: string;
|
|
19511
19512
|
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;
|
|
19684
19683
|
headersSchema: unknown;
|
|
19685
19684
|
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;
|
|
19696
19695
|
headersSchema: unknown;
|
|
19697
19696
|
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;
|
|
19718
19717
|
headersSchema: unknown;
|
|
19719
19718
|
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;
|
|
19758
19757
|
headersSchema: unknown;
|
|
19759
19758
|
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;
|
|
19773
19772
|
id: string;
|
|
19773
|
+
title: string | null;
|
|
19774
19774
|
createdAt: string;
|
|
19775
19775
|
updatedAt: string;
|
|
19776
|
-
userId: string | null;
|
|
19777
19776
|
tenantId: string;
|
|
19777
|
+
metadata: ConversationMetadata | null;
|
|
19778
19778
|
projectId: string;
|
|
19779
|
-
|
|
19779
|
+
userId: 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;
|
|
19824
19823
|
id: string;
|
|
19824
|
+
title: string | null;
|
|
19825
19825
|
createdAt: string;
|
|
19826
19826
|
updatedAt: string;
|
|
19827
|
-
userId: string | null;
|
|
19828
19827
|
tenantId: string;
|
|
19828
|
+
metadata: ConversationMetadata | null;
|
|
19829
19829
|
projectId: string;
|
|
19830
|
-
|
|
19830
|
+
userId: 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;
|
|
19848
19847
|
id: string;
|
|
19848
|
+
title: string | null;
|
|
19849
19849
|
createdAt: string;
|
|
19850
19850
|
updatedAt: string;
|
|
19851
|
-
userId: string | null;
|
|
19852
19851
|
tenantId: string;
|
|
19852
|
+
metadata: ConversationMetadata | null;
|
|
19853
19853
|
projectId: string;
|
|
19854
|
-
|
|
19854
|
+
userId: 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;
|
|
19874
19873
|
id: string;
|
|
19874
|
+
title: string | null;
|
|
19875
19875
|
createdAt: string;
|
|
19876
19876
|
updatedAt: string;
|
|
19877
|
-
userId: string | null;
|
|
19878
19877
|
tenantId: string;
|
|
19878
|
+
metadata: ConversationMetadata | null;
|
|
19879
19879
|
projectId: string;
|
|
19880
|
-
|
|
19880
|
+
userId: 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;
|
|
20307
20308
|
createdAt: string;
|
|
20308
20309
|
updatedAt: string;
|
|
20309
20310
|
tenantId: string;
|
|
20310
20311
|
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;
|
|
20349
20350
|
createdAt: string;
|
|
20350
20351
|
updatedAt: string;
|
|
20351
20352
|
tenantId: string;
|
|
20352
20353
|
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;
|
|
20487
20486
|
id: string;
|
|
20488
20487
|
createdAt: string;
|
|
20489
20488
|
updatedAt: string;
|
|
20490
|
-
role: string;
|
|
20491
20489
|
tenantId: string;
|
|
20490
|
+
metadata: MessageMetadata | null;
|
|
20492
20491
|
projectId: string;
|
|
20493
|
-
content: MessageContent;
|
|
20494
20492
|
conversationId: string;
|
|
20493
|
+
role: string;
|
|
20495
20494
|
fromSubAgentId: string | null;
|
|
20496
20495
|
toSubAgentId: string | null;
|
|
20497
20496
|
fromExternalAgentId: string | null;
|
|
20498
20497
|
toExternalAgentId: string | null;
|
|
20499
20498
|
fromTeamAgentId: string | null;
|
|
20500
20499
|
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;
|
|
20618
20617
|
id: string;
|
|
20619
20618
|
createdAt: string;
|
|
20620
20619
|
updatedAt: string;
|
|
20621
|
-
role: string;
|
|
20622
20620
|
tenantId: string;
|
|
20621
|
+
metadata: MessageMetadata | null;
|
|
20623
20622
|
projectId: string;
|
|
20624
|
-
content: MessageContent;
|
|
20625
20623
|
conversationId: string;
|
|
20624
|
+
role: string;
|
|
20626
20625
|
fromSubAgentId: string | null;
|
|
20627
20626
|
toSubAgentId: string | null;
|
|
20628
20627
|
fromExternalAgentId: string | null;
|
|
20629
20628
|
toExternalAgentId: string | null;
|
|
20630
20629
|
fromTeamAgentId: string | null;
|
|
20631
20630
|
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;
|
|
20671
20670
|
id: string;
|
|
20672
20671
|
createdAt: string;
|
|
20673
20672
|
updatedAt: string;
|
|
20674
|
-
role: string;
|
|
20675
20673
|
tenantId: string;
|
|
20674
|
+
metadata: MessageMetadata | null;
|
|
20676
20675
|
projectId: string;
|
|
20677
|
-
content: MessageContent;
|
|
20678
20676
|
conversationId: string;
|
|
20677
|
+
role: string;
|
|
20679
20678
|
fromSubAgentId: string | null;
|
|
20680
20679
|
toSubAgentId: string | null;
|
|
20681
20680
|
fromExternalAgentId: string | null;
|
|
20682
20681
|
toExternalAgentId: string | null;
|
|
20683
20682
|
fromTeamAgentId: string | null;
|
|
20684
20683
|
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;
|
|
20831
20830
|
id: string;
|
|
20832
20831
|
createdAt: string;
|
|
20833
20832
|
updatedAt: string;
|
|
20834
20833
|
tenantId: string;
|
|
20835
20834
|
projectId: string;
|
|
20836
20835
|
agentId: string;
|
|
20837
|
-
externalAgentId: string;
|
|
20838
20836
|
subAgentId: string;
|
|
20837
|
+
headers: Record<string, string> | null;
|
|
20838
|
+
externalAgentId: 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;
|
|
20866
20865
|
id: string;
|
|
20867
20866
|
createdAt: string;
|
|
20868
20867
|
updatedAt: string;
|
|
20869
20868
|
tenantId: string;
|
|
20870
20869
|
projectId: string;
|
|
20871
20870
|
agentId: string;
|
|
20872
|
-
externalAgentId: string;
|
|
20873
20871
|
subAgentId: string;
|
|
20872
|
+
headers: Record<string, string> | null;
|
|
20873
|
+
externalAgentId: string;
|
|
20874
20874
|
}[]>;
|
|
20875
20875
|
declare const getSubAgentExternalAgentRelationsByAgent: (db: DatabaseClient) => (params: {
|
|
20876
20876
|
scopes: AgentScopeConfig;
|
|
20877
20877
|
}) => Promise<{
|
|
20878
|
-
headers: Record<string, string> | null;
|
|
20879
20878
|
id: string;
|
|
20880
20879
|
createdAt: string;
|
|
20881
20880
|
updatedAt: string;
|
|
20882
20881
|
tenantId: string;
|
|
20883
20882
|
projectId: string;
|
|
20884
20883
|
agentId: string;
|
|
20885
|
-
externalAgentId: string;
|
|
20886
20884
|
subAgentId: string;
|
|
20885
|
+
headers: Record<string, string> | null;
|
|
20886
|
+
externalAgentId: 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;
|
|
21002
21001
|
id: string;
|
|
21003
21002
|
createdAt: string;
|
|
21004
21003
|
updatedAt: string;
|
|
21005
21004
|
tenantId: string;
|
|
21006
21005
|
projectId: string;
|
|
21007
21006
|
agentId: string;
|
|
21008
|
-
externalAgentId: string;
|
|
21009
21007
|
subAgentId: string;
|
|
21008
|
+
headers: Record<string, string> | null;
|
|
21009
|
+
externalAgentId: 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;
|
|
21019
21018
|
id: string;
|
|
21020
21019
|
createdAt: string;
|
|
21021
21020
|
updatedAt: string;
|
|
21022
21021
|
tenantId: string;
|
|
21023
21022
|
projectId: string;
|
|
21024
21023
|
agentId: string;
|
|
21025
|
-
externalAgentId: string;
|
|
21026
21024
|
subAgentId: string;
|
|
21025
|
+
headers: Record<string, string> | null;
|
|
21026
|
+
externalAgentId: 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;
|
|
21040
21039
|
id: string;
|
|
21041
21040
|
createdAt: string;
|
|
21042
21041
|
updatedAt: string;
|
|
21043
21042
|
tenantId: string;
|
|
21044
21043
|
projectId: string;
|
|
21045
21044
|
agentId: string;
|
|
21046
|
-
externalAgentId: string;
|
|
21047
21045
|
subAgentId: string;
|
|
21046
|
+
headers: Record<string, string> | null;
|
|
21047
|
+
externalAgentId: string;
|
|
21048
21048
|
}>;
|
|
21049
21049
|
declare const updateSubAgentExternalAgentRelation: (db: DatabaseClient) => (params: {
|
|
21050
21050
|
scopes: SubAgentScopeConfig;
|
|
@@ -21272,7 +21272,6 @@ declare const createAgentToolRelation: (db: DatabaseClient) => (params: {
|
|
|
21272
21272
|
}> | null;
|
|
21273
21273
|
};
|
|
21274
21274
|
}) => Promise<{
|
|
21275
|
-
headers: Record<string, string> | null;
|
|
21276
21275
|
id: string;
|
|
21277
21276
|
createdAt: string;
|
|
21278
21277
|
updatedAt: string;
|
|
@@ -21280,11 +21279,12 @@ declare const createAgentToolRelation: (db: DatabaseClient) => (params: {
|
|
|
21280
21279
|
projectId: string;
|
|
21281
21280
|
agentId: string;
|
|
21282
21281
|
toolId: string;
|
|
21282
|
+
subAgentId: string;
|
|
21283
|
+
headers: Record<string, string> | null;
|
|
21284
|
+
selectedTools: string[] | null;
|
|
21283
21285
|
toolPolicies: Record<string, {
|
|
21284
21286
|
needsApproval?: boolean;
|
|
21285
21287
|
}> | null;
|
|
21286
|
-
subAgentId: string;
|
|
21287
|
-
selectedTools: string[] | null;
|
|
21288
21288
|
}>;
|
|
21289
21289
|
declare const updateAgentToolRelation: (db: DatabaseClient) => (params: {
|
|
21290
21290
|
scopes: AgentScopeConfig;
|
|
@@ -21316,7 +21316,6 @@ declare const getAgentToolRelationById: (db: DatabaseClient) => (params: {
|
|
|
21316
21316
|
scopes: SubAgentScopeConfig;
|
|
21317
21317
|
relationId: string;
|
|
21318
21318
|
}) => Promise<{
|
|
21319
|
-
headers: Record<string, string> | null;
|
|
21320
21319
|
id: string;
|
|
21321
21320
|
createdAt: string;
|
|
21322
21321
|
updatedAt: string;
|
|
@@ -21324,11 +21323,12 @@ declare const getAgentToolRelationById: (db: DatabaseClient) => (params: {
|
|
|
21324
21323
|
projectId: string;
|
|
21325
21324
|
agentId: string;
|
|
21326
21325
|
toolId: string;
|
|
21326
|
+
subAgentId: string;
|
|
21327
|
+
headers: Record<string, string> | null;
|
|
21328
|
+
selectedTools: string[] | null;
|
|
21327
21329
|
toolPolicies: Record<string, {
|
|
21328
21330
|
needsApproval?: boolean;
|
|
21329
21331
|
}> | null;
|
|
21330
|
-
subAgentId: string;
|
|
21331
|
-
selectedTools: string[] | null;
|
|
21332
21332
|
} | undefined>;
|
|
21333
21333
|
declare const getAgentToolRelationByAgent: (db: DatabaseClient) => (params: {
|
|
21334
21334
|
scopes: SubAgentScopeConfig;
|
|
@@ -21514,13 +21514,7 @@ 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;
|
|
21521
21517
|
description: string | null;
|
|
21522
|
-
prompt: string | null;
|
|
21523
|
-
agentId: string;
|
|
21524
21518
|
models: {
|
|
21525
21519
|
base?: {
|
|
21526
21520
|
model?: string | undefined;
|
|
@@ -21538,6 +21532,12 @@ declare const getSubAgentById: (db: DatabaseClient) => (params: {
|
|
|
21538
21532
|
stopWhen: {
|
|
21539
21533
|
stepCountIs?: number | undefined;
|
|
21540
21534
|
} | 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,13 +21545,7 @@ 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;
|
|
21552
21548
|
description: string | null;
|
|
21553
|
-
prompt: string | null;
|
|
21554
|
-
agentId: string;
|
|
21555
21549
|
models: {
|
|
21556
21550
|
base?: {
|
|
21557
21551
|
model?: string | undefined;
|
|
@@ -21569,6 +21563,12 @@ declare const listSubAgents: (db: DatabaseClient) => (params: {
|
|
|
21569
21563
|
stopWhen: {
|
|
21570
21564
|
stepCountIs?: number | undefined;
|
|
21571
21565
|
} | 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,13 +21614,7 @@ 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;
|
|
21621
21617
|
description: string | null;
|
|
21622
|
-
prompt: string | null;
|
|
21623
|
-
agentId: string;
|
|
21624
21618
|
models: {
|
|
21625
21619
|
base?: {
|
|
21626
21620
|
model?: string | undefined;
|
|
@@ -21638,6 +21632,12 @@ declare const createSubAgent: (db: DatabaseClient) => (params: SubAgentInsert) =
|
|
|
21638
21632
|
stopWhen: {
|
|
21639
21633
|
stepCountIs?: number | undefined;
|
|
21640
21634
|
} | 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,7 +21726,6 @@ declare const getSubAgentTeamAgentRelationById: (db: DatabaseClient) => (params:
|
|
|
21726
21726
|
scopes: SubAgentScopeConfig;
|
|
21727
21727
|
relationId: string;
|
|
21728
21728
|
}) => Promise<{
|
|
21729
|
-
headers: Record<string, string> | null;
|
|
21730
21729
|
id: string;
|
|
21731
21730
|
createdAt: string;
|
|
21732
21731
|
updatedAt: string;
|
|
@@ -21734,6 +21733,7 @@ declare const getSubAgentTeamAgentRelationById: (db: DatabaseClient) => (params:
|
|
|
21734
21733
|
projectId: string;
|
|
21735
21734
|
agentId: string;
|
|
21736
21735
|
subAgentId: string;
|
|
21736
|
+
headers: Record<string, string> | null;
|
|
21737
21737
|
targetAgentId: string;
|
|
21738
21738
|
} | undefined>;
|
|
21739
21739
|
declare const listSubAgentTeamAgentRelations: (db: DatabaseClient) => (params: {
|
|
@@ -21761,7 +21761,6 @@ 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;
|
|
21765
21764
|
id: string;
|
|
21766
21765
|
createdAt: string;
|
|
21767
21766
|
updatedAt: string;
|
|
@@ -21769,12 +21768,12 @@ declare const getSubAgentTeamAgentRelations: (db: DatabaseClient) => (params: {
|
|
|
21769
21768
|
projectId: string;
|
|
21770
21769
|
agentId: string;
|
|
21771
21770
|
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;
|
|
21778
21777
|
id: string;
|
|
21779
21778
|
createdAt: string;
|
|
21780
21779
|
updatedAt: string;
|
|
@@ -21782,6 +21781,7 @@ declare const getSubAgentTeamAgentRelationsByAgent: (db: DatabaseClient) => (par
|
|
|
21782
21781
|
projectId: string;
|
|
21783
21782
|
agentId: string;
|
|
21784
21783
|
subAgentId: string;
|
|
21784
|
+
headers: Record<string, string> | null;
|
|
21785
21785
|
targetAgentId: string;
|
|
21786
21786
|
}[]>;
|
|
21787
21787
|
declare const getSubAgentTeamAgentRelationsByTeamAgent: (db: DatabaseClient) => (params: {
|
|
@@ -21927,7 +21927,6 @@ declare const createSubAgentTeamAgentRelation: (db: DatabaseClient) => (params:
|
|
|
21927
21927
|
headers?: Record<string, string> | null;
|
|
21928
21928
|
};
|
|
21929
21929
|
}) => Promise<{
|
|
21930
|
-
headers: Record<string, string> | null;
|
|
21931
21930
|
id: string;
|
|
21932
21931
|
createdAt: string;
|
|
21933
21932
|
updatedAt: string;
|
|
@@ -21935,6 +21934,7 @@ declare const createSubAgentTeamAgentRelation: (db: DatabaseClient) => (params:
|
|
|
21935
21934
|
projectId: string;
|
|
21936
21935
|
agentId: string;
|
|
21937
21936
|
subAgentId: string;
|
|
21937
|
+
headers: Record<string, string> | null;
|
|
21938
21938
|
targetAgentId: string;
|
|
21939
21939
|
}>;
|
|
21940
21940
|
/**
|
|
@@ -21944,7 +21944,6 @@ declare const getSubAgentTeamAgentRelationByParams: (db: DatabaseClient) => (par
|
|
|
21944
21944
|
scopes: SubAgentScopeConfig;
|
|
21945
21945
|
targetAgentId: string;
|
|
21946
21946
|
}) => Promise<{
|
|
21947
|
-
headers: Record<string, string> | null;
|
|
21948
21947
|
id: string;
|
|
21949
21948
|
createdAt: string;
|
|
21950
21949
|
updatedAt: string;
|
|
@@ -21952,6 +21951,7 @@ declare const getSubAgentTeamAgentRelationByParams: (db: DatabaseClient) => (par
|
|
|
21952
21951
|
projectId: string;
|
|
21953
21952
|
agentId: string;
|
|
21954
21953
|
subAgentId: string;
|
|
21954
|
+
headers: Record<string, string> | null;
|
|
21955
21955
|
targetAgentId: string;
|
|
21956
21956
|
} | undefined>;
|
|
21957
21957
|
/**
|
|
@@ -21965,7 +21965,6 @@ declare const upsertSubAgentTeamAgentRelation: (db: DatabaseClient) => (params:
|
|
|
21965
21965
|
headers?: Record<string, string> | null;
|
|
21966
21966
|
};
|
|
21967
21967
|
}) => Promise<{
|
|
21968
|
-
headers: Record<string, string> | null;
|
|
21969
21968
|
id: string;
|
|
21970
21969
|
createdAt: string;
|
|
21971
21970
|
updatedAt: string;
|
|
@@ -21973,6 +21972,7 @@ declare const upsertSubAgentTeamAgentRelation: (db: DatabaseClient) => (params:
|
|
|
21973
21972
|
projectId: string;
|
|
21974
21973
|
agentId: string;
|
|
21975
21974
|
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;
|
|
22007
22006
|
id: string;
|
|
22008
22007
|
createdAt: string;
|
|
22009
22008
|
updatedAt: string;
|
|
22010
|
-
status: string;
|
|
22011
22009
|
tenantId: string;
|
|
22010
|
+
metadata: TaskMetadataConfig | null;
|
|
22012
22011
|
projectId: string;
|
|
22013
22012
|
agentId: string;
|
|
22014
22013
|
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;
|
|
22049
22048
|
id: string;
|
|
22050
22049
|
name: string;
|
|
22050
|
+
description: string | null;
|
|
22051
22051
|
createdAt: string;
|
|
22052
22052
|
updatedAt: string;
|
|
22053
22053
|
tenantId: string;
|
|
22054
22054
|
projectId: string;
|
|
22055
|
-
|
|
22055
|
+
credentialReferenceId: string | null;
|
|
22056
22056
|
config: {
|
|
22057
22057
|
type: "mcp";
|
|
22058
22058
|
mcp: ToolMcpConfig;
|
|
22059
22059
|
};
|
|
22060
|
-
credentialReferenceId: string | null;
|
|
22061
22060
|
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;
|
|
22098
22097
|
id: string;
|
|
22099
22098
|
name: string;
|
|
22099
|
+
description: string | null;
|
|
22100
22100
|
createdAt: string;
|
|
22101
22101
|
updatedAt: string;
|
|
22102
22102
|
tenantId: string;
|
|
22103
22103
|
projectId: string;
|
|
22104
|
-
|
|
22104
|
+
credentialReferenceId: string | null;
|
|
22105
22105
|
config: {
|
|
22106
22106
|
type: "mcp";
|
|
22107
22107
|
mcp: ToolMcpConfig;
|
|
22108
22108
|
};
|
|
22109
|
-
credentialReferenceId: string | null;
|
|
22110
22109
|
credentialScope: string;
|
|
22110
|
+
headers: Record<string, string> | null;
|
|
22111
22111
|
imageUrl: string | null;
|
|
22112
22112
|
capabilities: ToolServerCapabilities | null;
|
|
22113
22113
|
lastError: string | null;
|
|
@@ -22149,7 +22149,6 @@ declare const addToolToAgent: (db: DatabaseClient) => (params: {
|
|
|
22149
22149
|
needsApproval?: boolean;
|
|
22150
22150
|
}> | null;
|
|
22151
22151
|
}) => Promise<{
|
|
22152
|
-
headers: Record<string, string> | null;
|
|
22153
22152
|
id: string;
|
|
22154
22153
|
createdAt: string;
|
|
22155
22154
|
updatedAt: string;
|
|
@@ -22157,18 +22156,18 @@ declare const addToolToAgent: (db: DatabaseClient) => (params: {
|
|
|
22157
22156
|
projectId: string;
|
|
22158
22157
|
agentId: string;
|
|
22159
22158
|
toolId: string;
|
|
22159
|
+
subAgentId: string;
|
|
22160
|
+
headers: Record<string, string> | null;
|
|
22161
|
+
selectedTools: string[] | null;
|
|
22160
22162
|
toolPolicies: Record<string, {
|
|
22161
22163
|
needsApproval?: boolean;
|
|
22162
22164
|
}> | 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;
|
|
22172
22171
|
id: string;
|
|
22173
22172
|
createdAt: string;
|
|
22174
22173
|
updatedAt: string;
|
|
@@ -22176,11 +22175,12 @@ declare const removeToolFromAgent: (db: DatabaseClient) => (params: {
|
|
|
22176
22175
|
projectId: string;
|
|
22177
22176
|
agentId: string;
|
|
22178
22177
|
toolId: string;
|
|
22178
|
+
subAgentId: string;
|
|
22179
|
+
headers: Record<string, string> | null;
|
|
22180
|
+
selectedTools: string[] | null;
|
|
22179
22181
|
toolPolicies: Record<string, {
|
|
22180
22182
|
needsApproval?: boolean;
|
|
22181
22183
|
}> | 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,7 +22196,6 @@ declare const upsertSubAgentToolRelation: (db: DatabaseClient) => (params: {
|
|
|
22196
22196
|
}> | null;
|
|
22197
22197
|
relationId?: string;
|
|
22198
22198
|
}) => Promise<{
|
|
22199
|
-
headers: Record<string, string> | null;
|
|
22200
22199
|
id: string;
|
|
22201
22200
|
createdAt: string;
|
|
22202
22201
|
updatedAt: string;
|
|
@@ -22204,11 +22203,12 @@ declare const upsertSubAgentToolRelation: (db: DatabaseClient) => (params: {
|
|
|
22204
22203
|
projectId: string;
|
|
22205
22204
|
agentId: string;
|
|
22206
22205
|
toolId: string;
|
|
22206
|
+
subAgentId: string;
|
|
22207
|
+
headers: Record<string, string> | null;
|
|
22208
|
+
selectedTools: string[] | null;
|
|
22207
22209
|
toolPolicies: Record<string, {
|
|
22208
22210
|
needsApproval?: boolean;
|
|
22209
22211
|
}> | 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;
|
|
22220
22219
|
id: string;
|
|
22221
22220
|
name: string;
|
|
22221
|
+
description: string | null;
|
|
22222
22222
|
createdAt: string;
|
|
22223
22223
|
updatedAt: string;
|
|
22224
22224
|
tenantId: string;
|
|
22225
22225
|
projectId: string;
|
|
22226
|
-
|
|
22226
|
+
credentialReferenceId: string | null;
|
|
22227
22227
|
config: {
|
|
22228
22228
|
type: "mcp";
|
|
22229
22229
|
mcp: ToolMcpConfig;
|
|
22230
22230
|
};
|
|
22231
|
-
credentialReferenceId: string | null;
|
|
22232
22231
|
credentialScope: string;
|
|
22232
|
+
headers: Record<string, string> | null;
|
|
22233
22233
|
imageUrl: string | null;
|
|
22234
22234
|
capabilities: ToolServerCapabilities | null;
|
|
22235
22235
|
lastError: string | null;
|