@inkeep/agents-core 0.47.2 → 0.47.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.
@@ -3,9 +3,54 @@ import { ContextFetchDefinition, ConversationHistoryConfig, ConversationMetadata
3
3
  import "../index.js";
4
4
  import { z } from "@hono/zod-openapi";
5
5
  import * as drizzle_orm_pg_core211 from "drizzle-orm/pg-core";
6
- import * as drizzle_zod19 from "drizzle-zod";
6
+ import * as drizzle_zod15 from "drizzle-zod";
7
7
 
8
8
  //#region src/validation/schemas.d.ts
9
+ declare const TextPartSchema: z.ZodObject<{
10
+ kind: z.ZodLiteral<"text">;
11
+ text: z.ZodString;
12
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
13
+ }, z.core.$strip>;
14
+ declare const FilePartSchema: z.ZodObject<{
15
+ kind: z.ZodLiteral<"file">;
16
+ file: z.ZodUnion<readonly [z.ZodObject<{
17
+ name: z.ZodOptional<z.ZodString>;
18
+ mimeType: z.ZodOptional<z.ZodString>;
19
+ bytes: z.ZodString;
20
+ }, z.core.$strict>, z.ZodObject<{
21
+ name: z.ZodOptional<z.ZodString>;
22
+ mimeType: z.ZodOptional<z.ZodString>;
23
+ uri: z.ZodString;
24
+ }, z.core.$strict>]>;
25
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
26
+ }, z.core.$strip>;
27
+ declare const DataPartSchema: z.ZodObject<{
28
+ kind: z.ZodLiteral<"data">;
29
+ data: z.ZodRecord<z.ZodString, z.ZodAny>;
30
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
31
+ }, z.core.$strip>;
32
+ declare const PartSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
33
+ kind: z.ZodLiteral<"text">;
34
+ text: z.ZodString;
35
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
36
+ }, z.core.$strip>, z.ZodObject<{
37
+ kind: z.ZodLiteral<"file">;
38
+ file: z.ZodUnion<readonly [z.ZodObject<{
39
+ name: z.ZodOptional<z.ZodString>;
40
+ mimeType: z.ZodOptional<z.ZodString>;
41
+ bytes: z.ZodString;
42
+ }, z.core.$strict>, z.ZodObject<{
43
+ name: z.ZodOptional<z.ZodString>;
44
+ mimeType: z.ZodOptional<z.ZodString>;
45
+ uri: z.ZodString;
46
+ }, z.core.$strict>]>;
47
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
48
+ }, z.core.$strip>, z.ZodObject<{
49
+ kind: z.ZodLiteral<"data">;
50
+ data: z.ZodRecord<z.ZodString, z.ZodAny>;
51
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
52
+ }, z.core.$strip>], "kind">;
53
+ type PartSchemaType = z.infer<typeof PartSchema>;
9
54
  declare const StopWhenSchema: z.ZodObject<{
10
55
  transferCountIs: z.ZodOptional<z.ZodNumber>;
11
56
  stepCountIs: z.ZodOptional<z.ZodNumber>;
@@ -83,7 +128,7 @@ type OmitAgentScope<T> = Omit<T, 'tenantId' | 'projectId' | 'agentId'>;
83
128
  type OmitTenantScope<T> = Omit<T, 'tenantId'>;
84
129
  type OmitTimestamps<T> = Omit<T, 'createdAt' | 'updatedAt'>;
85
130
  type OmitGeneratedFields<T> = Omit<T, 'id' | 'createdAt' | 'updatedAt'>;
86
- declare const SubAgentSelectSchema: drizzle_zod19.BuildSchema<"select", {
131
+ declare const SubAgentSelectSchema: drizzle_zod15.BuildSchema<"select", {
87
132
  createdAt: drizzle_orm_pg_core211.PgColumn<{
88
133
  name: "created_at";
89
134
  tableName: "sub_agents";
@@ -334,7 +379,7 @@ declare const SubAgentSelectSchema: drizzle_zod19.BuildSchema<"select", {
334
379
  }, {}, {
335
380
  length: 256;
336
381
  }>;
337
- }, drizzle_zod19.BuildRefine<{
382
+ }, drizzle_zod15.BuildRefine<{
338
383
  createdAt: drizzle_orm_pg_core211.PgColumn<{
339
384
  name: "created_at";
340
385
  tableName: "sub_agents";
@@ -774,9 +819,9 @@ declare const SubAgentApiInsertSchema: z.ZodObject<OmitAgentScope<{
774
819
  declare const SubAgentApiUpdateSchema: z.ZodObject<{
775
820
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
776
821
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
777
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
778
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
779
822
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
823
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
824
+ conversationHistoryConfig: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>>>;
780
825
  models: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodObject<{
781
826
  base: z.ZodOptional<z.ZodObject<{
782
827
  model: z.ZodOptional<z.ZodString>;
@@ -800,10 +845,10 @@ declare const SubAgentApiUpdateSchema: z.ZodObject<{
800
845
  }, {
801
846
  stepCountIs?: number | undefined;
802
847
  }>>>>>>;
803
- prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
804
- conversationHistoryConfig: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>>>;
848
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
849
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
805
850
  }, z.core.$strip>;
806
- declare const SubAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
851
+ declare const SubAgentRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
807
852
  createdAt: drizzle_orm_pg_core211.PgColumn<{
808
853
  name: "created_at";
809
854
  tableName: "sub_agent_relations";
@@ -971,7 +1016,7 @@ declare const SubAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"select",
971
1016
  }, {}, {
972
1017
  length: 256;
973
1018
  }>;
974
- }, drizzle_zod19.BuildRefine<{
1019
+ }, drizzle_zod15.BuildRefine<{
975
1020
  createdAt: drizzle_orm_pg_core211.PgColumn<{
976
1021
  name: "created_at";
977
1022
  tableName: "sub_agent_relations";
@@ -1242,7 +1287,7 @@ declare const ExternalSubAgentRelationApiInsertSchema: z.ZodObject<OmitProjectSc
1242
1287
  sourceSubAgentId: z.ZodString;
1243
1288
  externalSubAgentId: z.ZodString;
1244
1289
  }>, z.core.$strip>;
1245
- declare const AgentSelectSchema: drizzle_zod19.BuildSchema<"select", {
1290
+ declare const AgentSelectSchema: drizzle_zod15.BuildSchema<"select", {
1246
1291
  createdAt: drizzle_orm_pg_core211.PgColumn<{
1247
1292
  name: "created_at";
1248
1293
  tableName: "agent";
@@ -1540,7 +1585,7 @@ declare const AgentSelectSchema: drizzle_zod19.BuildSchema<"select", {
1540
1585
  }, {}, {
1541
1586
  length: 256;
1542
1587
  }>;
1543
- }, drizzle_zod19.BuildRefine<{
1588
+ }, drizzle_zod15.BuildRefine<{
1544
1589
  createdAt: drizzle_orm_pg_core211.PgColumn<{
1545
1590
  name: "created_at";
1546
1591
  tableName: "agent";
@@ -1839,7 +1884,7 @@ declare const AgentSelectSchema: drizzle_zod19.BuildSchema<"select", {
1839
1884
  length: 256;
1840
1885
  }>;
1841
1886
  }, undefined>, undefined>;
1842
- declare const AgentInsertSchema: drizzle_zod19.BuildSchema<"insert", {
1887
+ declare const AgentInsertSchema: drizzle_zod15.BuildSchema<"insert", {
1843
1888
  createdAt: drizzle_orm_pg_core211.PgColumn<{
1844
1889
  name: "created_at";
1845
1890
  tableName: "agent";
@@ -2137,7 +2182,7 @@ declare const AgentInsertSchema: drizzle_zod19.BuildSchema<"insert", {
2137
2182
  }, {}, {
2138
2183
  length: 256;
2139
2184
  }>;
2140
- }, drizzle_zod19.BuildRefine<Pick<{
2185
+ }, drizzle_zod15.BuildRefine<Pick<{
2141
2186
  createdAt: drizzle_orm_pg_core211.PgColumn<{
2142
2187
  name: "created_at";
2143
2188
  tableName: "agent";
@@ -2435,7 +2480,7 @@ declare const AgentInsertSchema: drizzle_zod19.BuildSchema<"insert", {
2435
2480
  }, {}, {
2436
2481
  length: 256;
2437
2482
  }>;
2438
- }, "id" | "name" | "createdAt" | "updatedAt" | "description" | "tenantId" | "models" | "stopWhen" | "projectId" | "defaultSubAgentId" | "contextConfigId" | "prompt" | "statusUpdates">, undefined>, undefined>;
2483
+ }, "id" | "name" | "description" | "defaultSubAgentId" | "tenantId" | "projectId" | "prompt" | "models" | "stopWhen" | "createdAt" | "updatedAt" | "contextConfigId" | "statusUpdates">, undefined>, undefined>;
2439
2484
  declare const AgentUpdateSchema: z.ZodObject<{
2440
2485
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2441
2486
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -2703,9 +2748,9 @@ declare const AgentApiSelectSchema: z.ZodObject<OmitProjectScope<{
2703
2748
  }>, z.core.$strip>;
2704
2749
  declare const AgentApiInsertSchema: z.ZodObject<{
2705
2750
  name: z.ZodString;
2706
- createdAt: z.ZodOptional<z.ZodString>;
2707
- updatedAt: z.ZodOptional<z.ZodString>;
2708
2751
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2752
+ defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2753
+ prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2709
2754
  models: z.ZodOptional<z.ZodNullable<z.ZodType<{
2710
2755
  base?: {
2711
2756
  model?: string | undefined;
@@ -2768,9 +2813,9 @@ declare const AgentApiInsertSchema: z.ZodObject<{
2768
2813
  }, {
2769
2814
  transferCountIs?: number | undefined;
2770
2815
  }>>>>;
2771
- defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2816
+ createdAt: z.ZodOptional<z.ZodString>;
2817
+ updatedAt: z.ZodOptional<z.ZodString>;
2772
2818
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2773
- prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2774
2819
  statusUpdates: z.ZodOptional<z.ZodNullable<z.ZodType<{
2775
2820
  enabled?: boolean | undefined;
2776
2821
  numEvents?: number | undefined;
@@ -2833,9 +2878,9 @@ declare const AgentApiInsertSchema: z.ZodObject<{
2833
2878
  declare const AgentApiUpdateSchema: z.ZodObject<{
2834
2879
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2835
2880
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2836
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2837
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2838
2881
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2882
+ defaultSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2883
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2839
2884
  models: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
2840
2885
  base?: {
2841
2886
  model?: string | undefined;
@@ -2898,9 +2943,9 @@ declare const AgentApiUpdateSchema: z.ZodObject<{
2898
2943
  }, {
2899
2944
  transferCountIs?: number | undefined;
2900
2945
  }>>>>>>;
2901
- defaultSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2946
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2947
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2902
2948
  contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2903
- prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2904
2949
  statusUpdates: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
2905
2950
  enabled?: boolean | undefined;
2906
2951
  numEvents?: number | undefined;
@@ -3226,18 +3271,18 @@ type ComponentJoin = z.infer<typeof ComponentJoinSchema>;
3226
3271
  */
3227
3272
  type SignatureValidationOptions = z.infer<typeof SignatureValidationOptionsSchema>;
3228
3273
  declare const TriggerInvocationStatusEnum: z.ZodEnum<{
3229
- pending: "pending";
3230
3274
  success: "success";
3275
+ pending: "pending";
3231
3276
  failed: "failed";
3232
3277
  }>;
3233
3278
  declare const TriggerSelectSchema: z.ZodObject<{
3234
3279
  createdAt: z.ZodString;
3235
3280
  updatedAt: z.ZodString;
3236
3281
  enabled: z.ZodBoolean;
3237
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
3238
- outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
3282
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
3283
+ outputTransform: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
3239
3284
  messageTemplate: z.ZodNullable<z.ZodString>;
3240
- authentication: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
3285
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
3241
3286
  name: z.ZodString;
3242
3287
  description: z.ZodNullable<z.ZodString>;
3243
3288
  agentId: z.ZodString;
@@ -3294,7 +3339,7 @@ declare const TriggerSelectSchema: z.ZodObject<{
3294
3339
  out: {};
3295
3340
  in: {};
3296
3341
  }>;
3297
- declare const TriggerInsertSchema: drizzle_zod19.BuildSchema<"insert", {
3342
+ declare const TriggerInsertSchema: drizzle_zod15.BuildSchema<"insert", {
3298
3343
  createdAt: drizzle_orm_pg_core211.PgColumn<{
3299
3344
  name: "created_at";
3300
3345
  tableName: "triggers";
@@ -3626,7 +3671,7 @@ declare const TriggerInsertSchema: drizzle_zod19.BuildSchema<"insert", {
3626
3671
  }, {}, {
3627
3672
  length: 256;
3628
3673
  }>;
3629
- }, drizzle_zod19.BuildRefine<Pick<{
3674
+ }, drizzle_zod15.BuildRefine<Pick<{
3630
3675
  createdAt: drizzle_orm_pg_core211.PgColumn<{
3631
3676
  name: "created_at";
3632
3677
  tableName: "triggers";
@@ -3958,16 +4003,16 @@ declare const TriggerInsertSchema: drizzle_zod19.BuildSchema<"insert", {
3958
4003
  }, {}, {
3959
4004
  length: 256;
3960
4005
  }>;
3961
- }, "id" | "name" | "createdAt" | "updatedAt" | "description" | "enabled" | "tenantId" | "projectId" | "agentId" | "inputSchema" | "outputTransform" | "messageTemplate" | "authentication" | "signingSecretCredentialReferenceId" | "signatureVerification">, undefined>, undefined>;
4006
+ }, "id" | "name" | "description" | "tenantId" | "projectId" | "agentId" | "createdAt" | "updatedAt" | "enabled" | "inputSchema" | "outputTransform" | "messageTemplate" | "authentication" | "signingSecretCredentialReferenceId" | "signatureVerification">, undefined>, undefined>;
3962
4007
  declare const TriggerUpdateSchema: z.ZodObject<{
3963
4008
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3964
4009
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3965
- inputSchema: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
3966
- outputTransform: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
4010
+ inputSchema: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
4011
+ outputTransform: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
3967
4012
  messageTemplate: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
3968
- authentication: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
4013
+ authentication: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
3969
4014
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
3970
- signatureVerification: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
4015
+ signatureVerification: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
3971
4016
  name: z.ZodOptional<z.ZodString>;
3972
4017
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
3973
4018
  agentId: z.ZodOptional<z.ZodString>;
@@ -3983,10 +4028,10 @@ declare const TriggerApiSelectSchema: z.ZodObject<OmitAgentScope<{
3983
4028
  createdAt: z.ZodString;
3984
4029
  updatedAt: z.ZodString;
3985
4030
  enabled: z.ZodBoolean;
3986
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
3987
- outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
4031
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
4032
+ outputTransform: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
3988
4033
  messageTemplate: z.ZodNullable<z.ZodString>;
3989
- authentication: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
4034
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
3990
4035
  name: z.ZodString;
3991
4036
  description: z.ZodNullable<z.ZodString>;
3992
4037
  agentId: z.ZodString;
@@ -4042,27 +4087,27 @@ declare const TriggerApiSelectSchema: z.ZodObject<OmitAgentScope<{
4042
4087
  }>, z.core.$strip>;
4043
4088
  declare const TriggerApiInsertSchema: z.ZodObject<{
4044
4089
  name: z.ZodString;
4090
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4045
4091
  createdAt: z.ZodOptional<z.ZodString>;
4046
4092
  updatedAt: z.ZodOptional<z.ZodString>;
4047
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4048
4093
  enabled: z.ZodOptional<z.ZodBoolean>;
4049
- inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
4050
- outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
4094
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
4095
+ outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
4051
4096
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4052
- authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
4097
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
4053
4098
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4054
- signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
4099
+ signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
4055
4100
  id: z.ZodOptional<z.ZodString>;
4056
4101
  }, z.core.$strip>;
4057
4102
  declare const TriggerApiUpdateSchema: z.ZodObject<{
4058
4103
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4059
4104
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4060
- inputSchema: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
4061
- outputTransform: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
4105
+ inputSchema: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
4106
+ outputTransform: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
4062
4107
  messageTemplate: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4063
- authentication: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
4108
+ authentication: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
4064
4109
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4065
- signatureVerification: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
4110
+ signatureVerification: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
4066
4111
  name: z.ZodOptional<z.ZodString>;
4067
4112
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4068
4113
  agentId: z.ZodOptional<z.ZodString>;
@@ -4077,14 +4122,14 @@ declare const TriggerApiUpdateSchema: z.ZodObject<{
4077
4122
  declare const TriggerWithWebhookUrlSchema: z.ZodObject<{
4078
4123
  id: z.ZodString;
4079
4124
  name: z.ZodString;
4125
+ description: z.ZodNullable<z.ZodString>;
4080
4126
  createdAt: z.ZodString;
4081
4127
  updatedAt: z.ZodString;
4082
- description: z.ZodNullable<z.ZodString>;
4083
4128
  enabled: z.ZodBoolean;
4084
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
4085
- outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
4129
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
4130
+ outputTransform: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
4086
4131
  messageTemplate: z.ZodNullable<z.ZodString>;
4087
- authentication: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
4132
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
4088
4133
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4089
4134
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4090
4135
  algorithm: z.ZodEnum<{
@@ -4133,7 +4178,7 @@ declare const TriggerWithWebhookUrlSchema: z.ZodObject<{
4133
4178
  }, z.core.$strip>>>;
4134
4179
  webhookUrl: z.ZodString;
4135
4180
  }, z.core.$strip>;
4136
- declare const TriggerInvocationSelectSchema: drizzle_zod19.BuildSchema<"select", {
4181
+ declare const TriggerInvocationSelectSchema: drizzle_zod15.BuildSchema<"select", {
4137
4182
  triggerId: drizzle_orm_pg_core211.PgColumn<{
4138
4183
  name: "trigger_id";
4139
4184
  tableName: "trigger_invocations";
@@ -4335,7 +4380,7 @@ declare const TriggerInvocationSelectSchema: drizzle_zod19.BuildSchema<"select",
4335
4380
  }, {}, {
4336
4381
  length: 256;
4337
4382
  }>;
4338
- }, drizzle_zod19.BuildRefine<{
4383
+ }, drizzle_zod15.BuildRefine<{
4339
4384
  triggerId: drizzle_orm_pg_core211.PgColumn<{
4340
4385
  name: "trigger_id";
4341
4386
  tableName: "trigger_invocations";
@@ -4538,7 +4583,7 @@ declare const TriggerInvocationSelectSchema: drizzle_zod19.BuildSchema<"select",
4538
4583
  length: 256;
4539
4584
  }>;
4540
4585
  }, undefined>, undefined>;
4541
- declare const TriggerInvocationInsertSchema: drizzle_zod19.BuildSchema<"insert", {
4586
+ declare const TriggerInvocationInsertSchema: drizzle_zod15.BuildSchema<"insert", {
4542
4587
  triggerId: drizzle_orm_pg_core211.PgColumn<{
4543
4588
  name: "trigger_id";
4544
4589
  tableName: "trigger_invocations";
@@ -4740,7 +4785,7 @@ declare const TriggerInvocationInsertSchema: drizzle_zod19.BuildSchema<"insert",
4740
4785
  }, {}, {
4741
4786
  length: 256;
4742
4787
  }>;
4743
- }, drizzle_zod19.BuildRefine<Pick<{
4788
+ }, drizzle_zod15.BuildRefine<Pick<{
4744
4789
  triggerId: drizzle_orm_pg_core211.PgColumn<{
4745
4790
  name: "trigger_id";
4746
4791
  tableName: "trigger_invocations";
@@ -4942,13 +4987,13 @@ declare const TriggerInvocationInsertSchema: drizzle_zod19.BuildSchema<"insert",
4942
4987
  }, {}, {
4943
4988
  length: 256;
4944
4989
  }>;
4945
- }, "id" | "createdAt" | "status" | "tenantId" | "projectId" | "agentId" | "triggerId" | "conversationId" | "requestPayload" | "transformedPayload" | "errorMessage">, undefined>, undefined>;
4990
+ }, "id" | "tenantId" | "projectId" | "agentId" | "createdAt" | "status" | "triggerId" | "conversationId" | "requestPayload" | "transformedPayload" | "errorMessage">, undefined>, undefined>;
4946
4991
  declare const TriggerInvocationUpdateSchema: z.ZodObject<{
4947
4992
  triggerId: z.ZodOptional<z.ZodString>;
4948
4993
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4949
4994
  status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4950
- requestPayload: z.ZodOptional<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
4951
- transformedPayload: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
4995
+ requestPayload: z.ZodOptional<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
4996
+ transformedPayload: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
4952
4997
  errorMessage: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4953
4998
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4954
4999
  agentId: z.ZodOptional<z.ZodString>;
@@ -4963,8 +5008,8 @@ declare const TriggerInvocationApiSelectSchema: z.ZodObject<OmitAgentScope<{
4963
5008
  triggerId: z.ZodString;
4964
5009
  conversationId: z.ZodNullable<z.ZodString>;
4965
5010
  status: z.ZodString;
4966
- requestPayload: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
4967
- transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
5011
+ requestPayload: z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>;
5012
+ transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
4968
5013
  errorMessage: z.ZodNullable<z.ZodString>;
4969
5014
  createdAt: z.ZodString;
4970
5015
  agentId: z.ZodString;
@@ -4977,8 +5022,8 @@ declare const TriggerInvocationApiInsertSchema: z.ZodObject<{
4977
5022
  status: z.ZodOptional<z.ZodString>;
4978
5023
  triggerId: z.ZodString;
4979
5024
  conversationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4980
- requestPayload: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
4981
- transformedPayload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
5025
+ requestPayload: z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>;
5026
+ transformedPayload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
4982
5027
  errorMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4983
5028
  id: z.ZodString;
4984
5029
  }, z.core.$strip>;
@@ -4988,11 +5033,11 @@ declare const TriggerInvocationApiUpdateSchema: z.ZodObject<{
4988
5033
  status: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
4989
5034
  triggerId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4990
5035
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
4991
- requestPayload: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
4992
- transformedPayload: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
5036
+ requestPayload: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
5037
+ transformedPayload: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>>;
4993
5038
  errorMessage: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
4994
5039
  }, z.core.$strip>;
4995
- declare const TaskSelectSchema: drizzle_zod19.BuildSchema<"select", {
5040
+ declare const TaskSelectSchema: drizzle_zod15.BuildSchema<"select", {
4996
5041
  createdAt: drizzle_orm_pg_core211.PgColumn<{
4997
5042
  name: "created_at";
4998
5043
  tableName: "tasks";
@@ -5206,7 +5251,7 @@ declare const TaskSelectSchema: drizzle_zod19.BuildSchema<"select", {
5206
5251
  }, {}, {
5207
5252
  length: 256;
5208
5253
  }>;
5209
- }, drizzle_zod19.BuildRefine<{
5254
+ }, drizzle_zod15.BuildRefine<{
5210
5255
  createdAt: drizzle_orm_pg_core211.PgColumn<{
5211
5256
  name: "created_at";
5212
5257
  tableName: "tasks";
@@ -5524,8 +5569,10 @@ declare const TaskApiInsertSchema: z.ZodObject<OmitProjectScope<{
5524
5569
  }>, z.core.$strip>;
5525
5570
  declare const TaskApiUpdateSchema: z.ZodObject<{
5526
5571
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5572
+ agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5527
5573
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5528
5574
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5575
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>>>;
5529
5576
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
5530
5577
  type: z.ZodEnum<{
5531
5578
  commit: "commit";
@@ -5535,14 +5582,12 @@ declare const TaskApiUpdateSchema: z.ZodObject<{
5535
5582
  name: z.ZodString;
5536
5583
  hash: z.ZodString;
5537
5584
  }, z.core.$strip>>>;
5538
- metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>>>;
5539
5585
  status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5540
- agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5541
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5542
5586
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5543
5587
  contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5588
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5544
5589
  }, z.core.$strip>;
5545
- declare const TaskRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
5590
+ declare const TaskRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
5546
5591
  createdAt: drizzle_orm_pg_core211.PgColumn<{
5547
5592
  name: "created_at";
5548
5593
  tableName: "task_relations";
@@ -5691,7 +5736,7 @@ declare const TaskRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
5691
5736
  }, {}, {
5692
5737
  length: 256;
5693
5738
  }>;
5694
- }, drizzle_zod19.BuildRefine<{
5739
+ }, drizzle_zod15.BuildRefine<{
5695
5740
  createdAt: drizzle_orm_pg_core211.PgColumn<{
5696
5741
  name: "created_at";
5697
5742
  tableName: "task_relations";
@@ -5917,7 +5962,7 @@ declare const McpToolDefinitionSchema: z.ZodObject<{
5917
5962
  description: z.ZodOptional<z.ZodString>;
5918
5963
  inputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
5919
5964
  }, z.core.$strip>;
5920
- declare const ToolSelectSchema: drizzle_zod19.BuildSchema<"select", {
5965
+ declare const ToolSelectSchema: drizzle_zod15.BuildSchema<"select", {
5921
5966
  createdAt: drizzle_orm_pg_core211.PgColumn<{
5922
5967
  name: "created_at";
5923
5968
  tableName: "tools";
@@ -6197,7 +6242,7 @@ declare const ToolSelectSchema: drizzle_zod19.BuildSchema<"select", {
6197
6242
  }, {}, {
6198
6243
  length: 256;
6199
6244
  }>;
6200
- }, drizzle_zod19.BuildRefine<{
6245
+ }, drizzle_zod15.BuildRefine<{
6201
6246
  createdAt: drizzle_orm_pg_core211.PgColumn<{
6202
6247
  name: "created_at";
6203
6248
  tableName: "tools";
@@ -6523,7 +6568,7 @@ declare const ToolInsertSchema: z.ZodObject<{
6523
6568
  out: {};
6524
6569
  in: {};
6525
6570
  }>;
6526
- declare const ConversationSelectSchema: drizzle_zod19.BuildSchema<"select", {
6571
+ declare const ConversationSelectSchema: drizzle_zod15.BuildSchema<"select", {
6527
6572
  createdAt: drizzle_orm_pg_core211.PgColumn<{
6528
6573
  name: "created_at";
6529
6574
  tableName: "conversations";
@@ -6752,7 +6797,7 @@ declare const ConversationSelectSchema: drizzle_zod19.BuildSchema<"select", {
6752
6797
  }, {}, {
6753
6798
  length: 256;
6754
6799
  }>;
6755
- }, drizzle_zod19.BuildRefine<{
6800
+ }, drizzle_zod15.BuildRefine<{
6756
6801
  createdAt: drizzle_orm_pg_core211.PgColumn<{
6757
6802
  name: "created_at";
6758
6803
  tableName: "conversations";
@@ -7089,8 +7134,12 @@ declare const ConversationApiInsertSchema: z.ZodObject<OmitProjectScope<{
7089
7134
  }>, z.core.$strip>;
7090
7135
  declare const ConversationApiUpdateSchema: z.ZodObject<{
7091
7136
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7137
+ agentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7138
+ title: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7092
7139
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7093
7140
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7141
+ contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7142
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>>>;
7094
7143
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
7095
7144
  type: z.ZodEnum<{
7096
7145
  commit: "commit";
@@ -7101,14 +7150,10 @@ declare const ConversationApiUpdateSchema: z.ZodObject<{
7101
7150
  hash: z.ZodString;
7102
7151
  }, z.core.$strip>>>;
7103
7152
  userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7104
- metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>>>;
7105
- title: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7106
- contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7107
- agentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7108
7153
  activeSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7109
7154
  lastContextResolution: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7110
7155
  }, z.core.$strip>;
7111
- declare const MessageSelectSchema: drizzle_zod19.BuildSchema<"select", {
7156
+ declare const MessageSelectSchema: drizzle_zod15.BuildSchema<"select", {
7112
7157
  createdAt: drizzle_orm_pg_core211.PgColumn<{
7113
7158
  name: "created_at";
7114
7159
  tableName: "messages";
@@ -7504,7 +7549,7 @@ declare const MessageSelectSchema: drizzle_zod19.BuildSchema<"select", {
7504
7549
  }, {}, {
7505
7550
  length: 256;
7506
7551
  }>;
7507
- }, drizzle_zod19.BuildRefine<{
7552
+ }, drizzle_zod15.BuildRefine<{
7508
7553
  createdAt: drizzle_orm_pg_core211.PgColumn<{
7509
7554
  name: "created_at";
7510
7555
  tableName: "messages";
@@ -8004,23 +8049,23 @@ declare const MessageApiUpdateSchema: z.ZodObject<{
8004
8049
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8005
8050
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8006
8051
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>>>>;
8007
- role: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8008
8052
  content: z.ZodOptional<z.ZodOptional<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
8053
+ role: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8054
+ conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8009
8055
  fromSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8010
8056
  toSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8011
8057
  fromExternalAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8012
8058
  toExternalAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8013
- taskId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8014
- a2aTaskId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8015
- conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8016
8059
  fromTeamAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8017
8060
  toTeamAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8018
8061
  visibility: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8019
8062
  messageType: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8063
+ taskId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8020
8064
  parentMessageId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8065
+ a2aTaskId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8021
8066
  a2aSessionId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8022
8067
  }, z.core.$strip>;
8023
- declare const ContextCacheSelectSchema: drizzle_zod19.BuildSchema<"select", {
8068
+ declare const ContextCacheSelectSchema: drizzle_zod15.BuildSchema<"select", {
8024
8069
  createdAt: drizzle_orm_pg_core211.PgColumn<{
8025
8070
  name: "created_at";
8026
8071
  tableName: "context_cache";
@@ -8270,7 +8315,7 @@ declare const ContextCacheSelectSchema: drizzle_zod19.BuildSchema<"select", {
8270
8315
  }, {}, {
8271
8316
  length: 256;
8272
8317
  }>;
8273
- }, drizzle_zod19.BuildRefine<{
8318
+ }, drizzle_zod15.BuildRefine<{
8274
8319
  createdAt: drizzle_orm_pg_core211.PgColumn<{
8275
8320
  name: "created_at";
8276
8321
  tableName: "context_cache";
@@ -8527,7 +8572,7 @@ declare const ContextCacheInsertSchema: z.ZodObject<{
8527
8572
  conversationId: z.ZodString;
8528
8573
  contextConfigId: z.ZodString;
8529
8574
  contextVariableKey: z.ZodString;
8530
- value: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
8575
+ value: z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>;
8531
8576
  requestHash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8532
8577
  fetchedAt: z.ZodOptional<z.ZodString>;
8533
8578
  fetchSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -8553,7 +8598,7 @@ declare const ContextCacheUpdateSchema: z.ZodObject<{
8553
8598
  conversationId: z.ZodOptional<z.ZodString>;
8554
8599
  contextConfigId: z.ZodOptional<z.ZodString>;
8555
8600
  contextVariableKey: z.ZodOptional<z.ZodString>;
8556
- value: z.ZodOptional<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
8601
+ value: z.ZodOptional<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
8557
8602
  requestHash: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
8558
8603
  fetchedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8559
8604
  fetchSource: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
@@ -8596,7 +8641,7 @@ declare const ContextCacheApiSelectSchema: z.ZodObject<OmitProjectScope<{
8596
8641
  name: string;
8597
8642
  hash: string;
8598
8643
  }>>>;
8599
- value: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
8644
+ value: z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>;
8600
8645
  requestHash: z.ZodNullable<z.ZodString>;
8601
8646
  fetchedAt: z.ZodString;
8602
8647
  fetchSource: z.ZodNullable<z.ZodString>;
@@ -8610,7 +8655,7 @@ declare const ContextCacheApiInsertSchema: z.ZodObject<OmitProjectScope<{
8610
8655
  conversationId: z.ZodString;
8611
8656
  contextConfigId: z.ZodString;
8612
8657
  contextVariableKey: z.ZodString;
8613
- value: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
8658
+ value: z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>;
8614
8659
  requestHash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8615
8660
  fetchedAt: z.ZodOptional<z.ZodString>;
8616
8661
  fetchSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -8629,8 +8674,10 @@ declare const ContextCacheApiInsertSchema: z.ZodObject<OmitProjectScope<{
8629
8674
  }>, z.core.$strip>;
8630
8675
  declare const ContextCacheApiUpdateSchema: z.ZodObject<{
8631
8676
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8677
+ value: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
8632
8678
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8633
8679
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8680
+ contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8634
8681
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
8635
8682
  type: z.ZodEnum<{
8636
8683
  commit: "commit";
@@ -8640,15 +8687,13 @@ declare const ContextCacheApiUpdateSchema: z.ZodObject<{
8640
8687
  name: z.ZodString;
8641
8688
  hash: z.ZodString;
8642
8689
  }, z.core.$strip>>>;
8643
- value: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
8644
- contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8645
8690
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8646
8691
  contextVariableKey: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8647
8692
  requestHash: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8648
8693
  fetchedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8649
8694
  fetchSource: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8650
8695
  }, z.core.$strip>;
8651
- declare const DatasetRunSelectSchema: drizzle_zod19.BuildSchema<"select", {
8696
+ declare const DatasetRunSelectSchema: drizzle_zod15.BuildSchema<"select", {
8652
8697
  createdAt: drizzle_orm_pg_core211.PgColumn<{
8653
8698
  name: "created_at";
8654
8699
  tableName: "dataset_run";
@@ -8791,7 +8836,7 @@ declare const DatasetRunSelectSchema: drizzle_zod19.BuildSchema<"select", {
8791
8836
  }, {}, {
8792
8837
  length: 256;
8793
8838
  }>;
8794
- }, drizzle_zod19.BuildRefine<{
8839
+ }, drizzle_zod15.BuildRefine<{
8795
8840
  createdAt: drizzle_orm_pg_core211.PgColumn<{
8796
8841
  name: "created_at";
8797
8842
  tableName: "dataset_run";
@@ -8975,17 +9020,17 @@ declare const DatasetRunApiInsertSchema: z.ZodObject<{
8975
9020
  createdAt: z.ZodOptional<z.ZodString>;
8976
9021
  updatedAt: z.ZodOptional<z.ZodString>;
8977
9022
  datasetId: z.ZodString;
8978
- evaluationJobConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8979
9023
  datasetRunConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9024
+ evaluationJobConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8980
9025
  }, z.core.$strip>;
8981
9026
  declare const DatasetRunApiUpdateSchema: z.ZodObject<{
8982
9027
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8983
9028
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8984
9029
  datasetId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8985
- evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8986
9030
  datasetRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9031
+ evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8987
9032
  }, z.core.$strip>;
8988
- declare const DatasetRunConversationRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
9033
+ declare const DatasetRunConversationRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
8989
9034
  createdAt: drizzle_orm_pg_core211.PgColumn<{
8990
9035
  name: "created_at";
8991
9036
  tableName: "dataset_run_conversation_relations";
@@ -9128,7 +9173,7 @@ declare const DatasetRunConversationRelationSelectSchema: drizzle_zod19.BuildSch
9128
9173
  }, {}, {
9129
9174
  length: 256;
9130
9175
  }>;
9131
- }, drizzle_zod19.BuildRefine<{
9176
+ }, drizzle_zod15.BuildRefine<{
9132
9177
  createdAt: drizzle_orm_pg_core211.PgColumn<{
9133
9178
  name: "created_at";
9134
9179
  tableName: "dataset_run_conversation_relations";
@@ -9322,7 +9367,7 @@ declare const DatasetRunConversationRelationApiUpdateSchema: z.ZodObject<{
9322
9367
  datasetRunId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9323
9368
  datasetItemId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9324
9369
  }, z.core.$strip>;
9325
- declare const EvaluationResultSelectSchema: drizzle_zod19.BuildSchema<"select", {
9370
+ declare const EvaluationResultSelectSchema: drizzle_zod15.BuildSchema<"select", {
9326
9371
  createdAt: drizzle_orm_pg_core211.PgColumn<{
9327
9372
  name: "created_at";
9328
9373
  tableName: "evaluation_result";
@@ -9484,7 +9529,7 @@ declare const EvaluationResultSelectSchema: drizzle_zod19.BuildSchema<"select",
9484
9529
  }, {}, {
9485
9530
  length: 256;
9486
9531
  }>;
9487
- }, drizzle_zod19.BuildRefine<{
9532
+ }, drizzle_zod15.BuildRefine<{
9488
9533
  createdAt: drizzle_orm_pg_core211.PgColumn<{
9489
9534
  name: "created_at";
9490
9535
  tableName: "evaluation_result";
@@ -9690,19 +9735,19 @@ declare const EvaluationResultApiInsertSchema: z.ZodObject<{
9690
9735
  output: z.ZodOptional<z.ZodNullable<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
9691
9736
  createdAt: z.ZodOptional<z.ZodString>;
9692
9737
  updatedAt: z.ZodOptional<z.ZodString>;
9693
- evaluatorId: z.ZodString;
9694
9738
  conversationId: z.ZodString;
9739
+ evaluatorId: z.ZodString;
9695
9740
  evaluationRunId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9696
9741
  }, z.core.$strip>;
9697
9742
  declare const EvaluationResultApiUpdateSchema: z.ZodObject<{
9698
9743
  output: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>>>;
9699
9744
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9700
9745
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9701
- evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9702
9746
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9747
+ evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9703
9748
  evaluationRunId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9704
9749
  }, z.core.$strip>;
9705
- declare const EvaluationRunSelectSchema: drizzle_zod19.BuildSchema<"select", {
9750
+ declare const EvaluationRunSelectSchema: drizzle_zod15.BuildSchema<"select", {
9706
9751
  createdAt: drizzle_orm_pg_core211.PgColumn<{
9707
9752
  name: "created_at";
9708
9753
  tableName: "evaluation_run";
@@ -9828,7 +9873,7 @@ declare const EvaluationRunSelectSchema: drizzle_zod19.BuildSchema<"select", {
9828
9873
  }, {}, {
9829
9874
  length: 256;
9830
9875
  }>;
9831
- }, drizzle_zod19.BuildRefine<{
9876
+ }, drizzle_zod15.BuildRefine<{
9832
9877
  createdAt: drizzle_orm_pg_core211.PgColumn<{
9833
9878
  name: "created_at";
9834
9879
  tableName: "evaluation_run";
@@ -9991,16 +10036,16 @@ declare const EvaluationRunApiSelectSchema: z.ZodObject<OmitProjectScope<{
9991
10036
  declare const EvaluationRunApiInsertSchema: z.ZodObject<{
9992
10037
  createdAt: z.ZodOptional<z.ZodString>;
9993
10038
  updatedAt: z.ZodOptional<z.ZodString>;
9994
- evaluationRunConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9995
10039
  evaluationJobConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10040
+ evaluationRunConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9996
10041
  }, z.core.$strip>;
9997
10042
  declare const EvaluationRunApiUpdateSchema: z.ZodObject<{
9998
10043
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9999
10044
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10000
- evaluationRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10001
10045
  evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10046
+ evaluationRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10002
10047
  }, z.core.$strip>;
10003
- declare const EvaluationRunConfigSelectSchema: drizzle_zod19.BuildSchema<"select", {
10048
+ declare const EvaluationRunConfigSelectSchema: drizzle_zod15.BuildSchema<"select", {
10004
10049
  createdAt: drizzle_orm_pg_core211.PgColumn<{
10005
10050
  name: "created_at";
10006
10051
  tableName: "evaluation_run_config";
@@ -10145,7 +10190,7 @@ declare const EvaluationRunConfigSelectSchema: drizzle_zod19.BuildSchema<"select
10145
10190
  }, {}, {
10146
10191
  length: 256;
10147
10192
  }>;
10148
- }, drizzle_zod19.BuildRefine<{
10193
+ }, drizzle_zod15.BuildRefine<{
10149
10194
  createdAt: drizzle_orm_pg_core211.PgColumn<{
10150
10195
  name: "created_at";
10151
10196
  tableName: "evaluation_run_config";
@@ -10329,30 +10374,30 @@ declare const EvaluationRunConfigApiSelectSchema: z.ZodObject<OmitProjectScope<{
10329
10374
  }>, z.core.$strip>;
10330
10375
  declare const EvaluationRunConfigApiInsertSchema: z.ZodObject<{
10331
10376
  name: z.ZodString;
10377
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10332
10378
  createdAt: z.ZodOptional<z.ZodString>;
10333
10379
  updatedAt: z.ZodOptional<z.ZodString>;
10334
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10335
10380
  isActive: z.ZodOptional<z.ZodBoolean>;
10336
10381
  suiteConfigIds: z.ZodArray<z.ZodString>;
10337
10382
  }, z.core.$strip>;
10338
10383
  declare const EvaluationRunConfigApiUpdateSchema: z.ZodObject<{
10339
10384
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10385
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10340
10386
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10341
10387
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10342
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10343
10388
  isActive: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodBoolean>>>;
10344
10389
  suiteConfigIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
10345
10390
  }, z.core.$strip>;
10346
10391
  declare const EvaluationRunConfigWithSuiteConfigsApiSelectSchema: z.ZodObject<{
10347
10392
  id: z.ZodString;
10348
10393
  name: z.ZodString;
10394
+ description: z.ZodNullable<z.ZodString>;
10349
10395
  createdAt: z.ZodString;
10350
10396
  updatedAt: z.ZodString;
10351
- description: z.ZodNullable<z.ZodString>;
10352
10397
  isActive: z.ZodBoolean;
10353
10398
  suiteConfigIds: z.ZodArray<z.ZodString>;
10354
10399
  }, z.core.$strip>;
10355
- declare const EvaluationJobConfigSelectSchema: drizzle_zod19.BuildSchema<"select", {
10400
+ declare const EvaluationJobConfigSelectSchema: drizzle_zod15.BuildSchema<"select", {
10356
10401
  createdAt: drizzle_orm_pg_core211.PgColumn<{
10357
10402
  name: "created_at";
10358
10403
  tableName: "evaluation_job_config";
@@ -10477,7 +10522,7 @@ declare const EvaluationJobConfigSelectSchema: drizzle_zod19.BuildSchema<"select
10477
10522
  }, {}, {
10478
10523
  length: 256;
10479
10524
  }>;
10480
- }, drizzle_zod19.BuildRefine<{
10525
+ }, drizzle_zod15.BuildRefine<{
10481
10526
  createdAt: drizzle_orm_pg_core211.PgColumn<{
10482
10527
  name: "created_at";
10483
10528
  tableName: "evaluation_job_config";
@@ -10784,7 +10829,7 @@ declare const EvaluationJobConfigApiUpdateSchema: z.ZodObject<{
10784
10829
  } | undefined;
10785
10830
  }>>>>>>>;
10786
10831
  }, z.core.$strip>;
10787
- declare const EvaluationSuiteConfigSelectSchema: drizzle_zod19.BuildSchema<"select", {
10832
+ declare const EvaluationSuiteConfigSelectSchema: drizzle_zod15.BuildSchema<"select", {
10788
10833
  createdAt: drizzle_orm_pg_core211.PgColumn<{
10789
10834
  name: "created_at";
10790
10835
  tableName: "evaluation_suite_config";
@@ -10912,7 +10957,7 @@ declare const EvaluationSuiteConfigSelectSchema: drizzle_zod19.BuildSchema<"sele
10912
10957
  }, {}, {
10913
10958
  length: 256;
10914
10959
  }>;
10915
- }, drizzle_zod19.BuildRefine<{
10960
+ }, drizzle_zod15.BuildRefine<{
10916
10961
  createdAt: drizzle_orm_pg_core211.PgColumn<{
10917
10962
  name: "created_at";
10918
10963
  tableName: "evaluation_suite_config";
@@ -11088,7 +11133,7 @@ declare const EvaluationSuiteConfigApiUpdateSchema: z.ZodObject<{
11088
11133
  sampleRate: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>>;
11089
11134
  evaluatorIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
11090
11135
  }, z.core.$strip>;
11091
- declare const EvaluationRunConfigEvaluationSuiteConfigRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
11136
+ declare const EvaluationRunConfigEvaluationSuiteConfigRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
11092
11137
  createdAt: drizzle_orm_pg_core211.PgColumn<{
11093
11138
  name: "created_at";
11094
11139
  tableName: "evaluation_run_config_evaluation_suite_config_relations";
@@ -11218,7 +11263,7 @@ declare const EvaluationRunConfigEvaluationSuiteConfigRelationSelectSchema: driz
11218
11263
  }, {}, {
11219
11264
  length: 256;
11220
11265
  }>;
11221
- }, drizzle_zod19.BuildRefine<{
11266
+ }, drizzle_zod15.BuildRefine<{
11222
11267
  createdAt: drizzle_orm_pg_core211.PgColumn<{
11223
11268
  name: "created_at";
11224
11269
  tableName: "evaluation_run_config_evaluation_suite_config_relations";
@@ -11385,16 +11430,16 @@ declare const EvaluationRunConfigEvaluationSuiteConfigRelationApiSelectSchema: z
11385
11430
  declare const EvaluationRunConfigEvaluationSuiteConfigRelationApiInsertSchema: z.ZodObject<{
11386
11431
  createdAt: z.ZodOptional<z.ZodString>;
11387
11432
  updatedAt: z.ZodOptional<z.ZodString>;
11388
- evaluationSuiteConfigId: z.ZodString;
11389
11433
  evaluationRunConfigId: z.ZodString;
11434
+ evaluationSuiteConfigId: z.ZodString;
11390
11435
  }, z.core.$strip>;
11391
11436
  declare const EvaluationRunConfigEvaluationSuiteConfigRelationApiUpdateSchema: z.ZodObject<{
11392
11437
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11393
11438
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11394
- evaluationSuiteConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11395
11439
  evaluationRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11440
+ evaluationSuiteConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11396
11441
  }, z.core.$strip>;
11397
- declare const EvaluationJobConfigEvaluatorRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
11442
+ declare const EvaluationJobConfigEvaluatorRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
11398
11443
  createdAt: drizzle_orm_pg_core211.PgColumn<{
11399
11444
  name: "created_at";
11400
11445
  tableName: "evaluation_job_config_evaluator_relations";
@@ -11524,7 +11569,7 @@ declare const EvaluationJobConfigEvaluatorRelationSelectSchema: drizzle_zod19.Bu
11524
11569
  }, {}, {
11525
11570
  length: 256;
11526
11571
  }>;
11527
- }, drizzle_zod19.BuildRefine<{
11572
+ }, drizzle_zod15.BuildRefine<{
11528
11573
  createdAt: drizzle_orm_pg_core211.PgColumn<{
11529
11574
  name: "created_at";
11530
11575
  tableName: "evaluation_job_config_evaluator_relations";
@@ -11691,16 +11736,16 @@ declare const EvaluationJobConfigEvaluatorRelationApiSelectSchema: z.ZodObject<O
11691
11736
  declare const EvaluationJobConfigEvaluatorRelationApiInsertSchema: z.ZodObject<{
11692
11737
  createdAt: z.ZodOptional<z.ZodString>;
11693
11738
  updatedAt: z.ZodOptional<z.ZodString>;
11694
- evaluatorId: z.ZodString;
11695
11739
  evaluationJobConfigId: z.ZodString;
11740
+ evaluatorId: z.ZodString;
11696
11741
  }, z.core.$strip>;
11697
11742
  declare const EvaluationJobConfigEvaluatorRelationApiUpdateSchema: z.ZodObject<{
11698
11743
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11699
11744
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11700
- evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11701
11745
  evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11746
+ evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11702
11747
  }, z.core.$strip>;
11703
- declare const EvaluationSuiteConfigEvaluatorRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
11748
+ declare const EvaluationSuiteConfigEvaluatorRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
11704
11749
  createdAt: drizzle_orm_pg_core211.PgColumn<{
11705
11750
  name: "created_at";
11706
11751
  tableName: "evaluation_suite_config_evaluator_relations";
@@ -11830,7 +11875,7 @@ declare const EvaluationSuiteConfigEvaluatorRelationSelectSchema: drizzle_zod19.
11830
11875
  }, {}, {
11831
11876
  length: 256;
11832
11877
  }>;
11833
- }, drizzle_zod19.BuildRefine<{
11878
+ }, drizzle_zod15.BuildRefine<{
11834
11879
  createdAt: drizzle_orm_pg_core211.PgColumn<{
11835
11880
  name: "created_at";
11836
11881
  tableName: "evaluation_suite_config_evaluator_relations";
@@ -11997,16 +12042,16 @@ declare const EvaluationSuiteConfigEvaluatorRelationApiSelectSchema: z.ZodObject
11997
12042
  declare const EvaluationSuiteConfigEvaluatorRelationApiInsertSchema: z.ZodObject<{
11998
12043
  createdAt: z.ZodOptional<z.ZodString>;
11999
12044
  updatedAt: z.ZodOptional<z.ZodString>;
12000
- evaluationSuiteConfigId: z.ZodString;
12001
12045
  evaluatorId: z.ZodString;
12046
+ evaluationSuiteConfigId: z.ZodString;
12002
12047
  }, z.core.$strip>;
12003
12048
  declare const EvaluationSuiteConfigEvaluatorRelationApiUpdateSchema: z.ZodObject<{
12004
12049
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12005
12050
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12006
- evaluationSuiteConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12007
12051
  evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12052
+ evaluationSuiteConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12008
12053
  }, z.core.$strip>;
12009
- declare const EvaluatorSelectSchema: drizzle_zod19.BuildSchema<"select", {
12054
+ declare const EvaluatorSelectSchema: drizzle_zod15.BuildSchema<"select", {
12010
12055
  createdAt: drizzle_orm_pg_core211.PgColumn<{
12011
12056
  name: "created_at";
12012
12057
  tableName: "evaluator";
@@ -12214,7 +12259,7 @@ declare const EvaluatorSelectSchema: drizzle_zod19.BuildSchema<"select", {
12214
12259
  }, {}, {
12215
12260
  length: 256;
12216
12261
  }>;
12217
- }, drizzle_zod19.BuildRefine<{
12262
+ }, drizzle_zod15.BuildRefine<{
12218
12263
  createdAt: drizzle_orm_pg_core211.PgColumn<{
12219
12264
  name: "created_at";
12220
12265
  tableName: "evaluator";
@@ -12506,10 +12551,8 @@ declare const EvaluatorApiSelectSchema: z.ZodObject<OmitProjectScope<{
12506
12551
  }>, z.core.$strip>;
12507
12552
  declare const EvaluatorApiInsertSchema: z.ZodObject<{
12508
12553
  name: z.ZodString;
12509
- createdAt: z.ZodOptional<z.ZodString>;
12510
- updatedAt: z.ZodOptional<z.ZodString>;
12511
- schema: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
12512
12554
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12555
+ prompt: z.ZodString;
12513
12556
  model: z.ZodType<{
12514
12557
  model?: string | undefined;
12515
12558
  providerOptions?: Record<string, any> | undefined;
@@ -12523,15 +12566,15 @@ declare const EvaluatorApiInsertSchema: z.ZodObject<{
12523
12566
  model?: string | undefined;
12524
12567
  providerOptions?: Record<string, any> | undefined;
12525
12568
  }>>;
12526
- prompt: z.ZodString;
12569
+ createdAt: z.ZodOptional<z.ZodString>;
12570
+ updatedAt: z.ZodOptional<z.ZodString>;
12571
+ schema: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
12527
12572
  passCriteria: z.ZodOptional<z.ZodNullable<z.ZodType<PassCriteria, PassCriteria, z.core.$ZodTypeInternals<PassCriteria, PassCriteria>>>>;
12528
12573
  }, z.core.$strip>;
12529
12574
  declare const EvaluatorApiUpdateSchema: z.ZodObject<{
12530
12575
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12531
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12532
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12533
- schema: z.ZodOptional<z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
12534
12576
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
12577
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12535
12578
  model: z.ZodOptional<z.ZodOptional<z.ZodType<{
12536
12579
  model?: string | undefined;
12537
12580
  providerOptions?: Record<string, any> | undefined;
@@ -12545,10 +12588,12 @@ declare const EvaluatorApiUpdateSchema: z.ZodObject<{
12545
12588
  model?: string | undefined;
12546
12589
  providerOptions?: Record<string, any> | undefined;
12547
12590
  }>>>>;
12548
- prompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12591
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12592
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12593
+ schema: z.ZodOptional<z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
12549
12594
  passCriteria: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<PassCriteria, PassCriteria, z.core.$ZodTypeInternals<PassCriteria, PassCriteria>>>>>>;
12550
12595
  }, z.core.$strip>;
12551
- declare const DatasetSelectSchema: drizzle_zod19.BuildSchema<"select", {
12596
+ declare const DatasetSelectSchema: drizzle_zod15.BuildSchema<"select", {
12552
12597
  createdAt: drizzle_orm_pg_core211.PgColumn<{
12553
12598
  name: "created_at";
12554
12599
  tableName: "dataset";
@@ -12659,7 +12704,7 @@ declare const DatasetSelectSchema: drizzle_zod19.BuildSchema<"select", {
12659
12704
  }, {}, {
12660
12705
  length: 256;
12661
12706
  }>;
12662
- }, drizzle_zod19.BuildRefine<{
12707
+ }, drizzle_zod15.BuildRefine<{
12663
12708
  createdAt: drizzle_orm_pg_core211.PgColumn<{
12664
12709
  name: "created_at";
12665
12710
  tableName: "dataset";
@@ -12811,7 +12856,7 @@ declare const DatasetApiUpdateSchema: z.ZodObject<{
12811
12856
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12812
12857
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12813
12858
  }, z.core.$strip>;
12814
- declare const DatasetItemSelectSchema: drizzle_zod19.BuildSchema<"select", {
12859
+ declare const DatasetItemSelectSchema: drizzle_zod15.BuildSchema<"select", {
12815
12860
  createdAt: drizzle_orm_pg_core211.PgColumn<{
12816
12861
  name: "created_at";
12817
12862
  tableName: "dataset_item";
@@ -12999,7 +13044,7 @@ declare const DatasetItemSelectSchema: drizzle_zod19.BuildSchema<"select", {
12999
13044
  }, {}, {
13000
13045
  length: 256;
13001
13046
  }>;
13002
- }, drizzle_zod19.BuildRefine<{
13047
+ }, drizzle_zod15.BuildRefine<{
13003
13048
  createdAt: drizzle_orm_pg_core211.PgColumn<{
13004
13049
  name: "created_at";
13005
13050
  tableName: "dataset_item";
@@ -13442,8 +13487,8 @@ declare const DatasetItemApiUpdateSchema: z.ZodObject<{
13442
13487
  }>>>>>>;
13443
13488
  }, z.core.$strip>;
13444
13489
  declare const DatasetRunItemSchema: z.ZodObject<{
13445
- input: z.ZodOptional<z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>>;
13446
13490
  id: z.ZodOptional<z.ZodString>;
13491
+ input: z.ZodOptional<z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>>;
13447
13492
  expectedOutput: z.ZodOptional<z.ZodNullable<z.ZodType<DatasetItemExpectedOutput, DatasetItemExpectedOutput, z.core.$ZodTypeInternals<DatasetItemExpectedOutput, DatasetItemExpectedOutput>>>>;
13448
13493
  simulationAgent: z.ZodOptional<z.ZodNullable<z.ZodType<{
13449
13494
  prompt: string;
@@ -13491,8 +13536,8 @@ declare const DatasetRunItemSchema: z.ZodObject<{
13491
13536
  declare const TriggerDatasetRunSchema: z.ZodObject<{
13492
13537
  datasetRunId: z.ZodString;
13493
13538
  items: z.ZodArray<z.ZodObject<{
13494
- input: z.ZodOptional<z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>>;
13495
13539
  id: z.ZodOptional<z.ZodString>;
13540
+ input: z.ZodOptional<z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>>;
13496
13541
  expectedOutput: z.ZodOptional<z.ZodNullable<z.ZodType<DatasetItemExpectedOutput, DatasetItemExpectedOutput, z.core.$ZodTypeInternals<DatasetItemExpectedOutput, DatasetItemExpectedOutput>>>>;
13497
13542
  simulationAgent: z.ZodOptional<z.ZodNullable<z.ZodType<{
13498
13543
  prompt: string;
@@ -13570,7 +13615,7 @@ declare const TriggerEvaluationJobSchema: z.ZodObject<{
13570
13615
  }, z.core.$strip>>;
13571
13616
  }, z.core.$strip>>>;
13572
13617
  }, z.core.$strip>;
13573
- declare const DatasetRunConfigSelectSchema: drizzle_zod19.BuildSchema<"select", {
13618
+ declare const DatasetRunConfigSelectSchema: drizzle_zod15.BuildSchema<"select", {
13574
13619
  createdAt: drizzle_orm_pg_core211.PgColumn<{
13575
13620
  name: "created_at";
13576
13621
  tableName: "dataset_run_config";
@@ -13717,7 +13762,7 @@ declare const DatasetRunConfigSelectSchema: drizzle_zod19.BuildSchema<"select",
13717
13762
  }, {}, {
13718
13763
  length: 256;
13719
13764
  }>;
13720
- }, drizzle_zod19.BuildRefine<{
13765
+ }, drizzle_zod15.BuildRefine<{
13721
13766
  createdAt: drizzle_orm_pg_core211.PgColumn<{
13722
13767
  name: "created_at";
13723
13768
  tableName: "dataset_run_config";
@@ -13903,19 +13948,19 @@ declare const DatasetRunConfigApiSelectSchema: z.ZodObject<OmitProjectScope<{
13903
13948
  }>, z.core.$strip>;
13904
13949
  declare const DatasetRunConfigApiInsertSchema: z.ZodObject<{
13905
13950
  name: z.ZodString;
13951
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13906
13952
  createdAt: z.ZodOptional<z.ZodString>;
13907
13953
  updatedAt: z.ZodOptional<z.ZodString>;
13908
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13909
13954
  datasetId: z.ZodString;
13910
13955
  }, z.core.$strip>;
13911
13956
  declare const DatasetRunConfigApiUpdateSchema: z.ZodObject<{
13912
13957
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13958
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
13913
13959
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
13914
13960
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
13915
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
13916
13961
  datasetId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13917
13962
  }, z.core.$strip>;
13918
- declare const DatasetRunConfigAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
13963
+ declare const DatasetRunConfigAgentRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
13919
13964
  createdAt: drizzle_orm_pg_core211.PgColumn<{
13920
13965
  name: "created_at";
13921
13966
  tableName: "dataset_run_config_agent_relations";
@@ -14045,7 +14090,7 @@ declare const DatasetRunConfigAgentRelationSelectSchema: drizzle_zod19.BuildSche
14045
14090
  }, {}, {
14046
14091
  length: 256;
14047
14092
  }>;
14048
- }, drizzle_zod19.BuildRefine<{
14093
+ }, drizzle_zod15.BuildRefine<{
14049
14094
  createdAt: drizzle_orm_pg_core211.PgColumn<{
14050
14095
  name: "created_at";
14051
14096
  tableName: "dataset_run_config_agent_relations";
@@ -14210,18 +14255,18 @@ declare const DatasetRunConfigAgentRelationApiSelectSchema: z.ZodObject<OmitProj
14210
14255
  id: z.ZodString;
14211
14256
  }>, z.core.$strip>;
14212
14257
  declare const DatasetRunConfigAgentRelationApiInsertSchema: z.ZodObject<{
14258
+ agentId: z.ZodString;
14213
14259
  createdAt: z.ZodOptional<z.ZodString>;
14214
14260
  updatedAt: z.ZodOptional<z.ZodString>;
14215
- agentId: z.ZodString;
14216
14261
  datasetRunConfigId: z.ZodString;
14217
14262
  }, z.core.$strip>;
14218
14263
  declare const DatasetRunConfigAgentRelationApiUpdateSchema: z.ZodObject<{
14264
+ agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14219
14265
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
14220
14266
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
14221
- agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14222
14267
  datasetRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14223
14268
  }, z.core.$strip>;
14224
- declare const DataComponentSelectSchema: drizzle_zod19.BuildSchema<"select", {
14269
+ declare const DataComponentSelectSchema: drizzle_zod15.BuildSchema<"select", {
14225
14270
  createdAt: drizzle_orm_pg_core211.PgColumn<{
14226
14271
  name: "created_at";
14227
14272
  tableName: "data_components";
@@ -14393,7 +14438,7 @@ declare const DataComponentSelectSchema: drizzle_zod19.BuildSchema<"select", {
14393
14438
  }, {}, {
14394
14439
  length: 256;
14395
14440
  }>;
14396
- }, drizzle_zod19.BuildRefine<{
14441
+ }, drizzle_zod15.BuildRefine<{
14397
14442
  createdAt: drizzle_orm_pg_core211.PgColumn<{
14398
14443
  name: "created_at";
14399
14444
  tableName: "data_components";
@@ -14691,9 +14736,9 @@ declare const DataComponentApiInsertSchema: z.ZodObject<OmitProjectScope<{
14691
14736
  declare const DataComponentApiUpdateSchema: z.ZodObject<{
14692
14737
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14693
14738
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14739
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
14694
14740
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
14695
14741
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
14696
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
14697
14742
  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>>>>>>>;
14698
14743
  render: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
14699
14744
  component: string;
@@ -14709,7 +14754,7 @@ declare const DataComponentApiUpdateSchema: z.ZodObject<{
14709
14754
  mockData: Record<string, unknown>;
14710
14755
  }>>>>>>;
14711
14756
  }, z.core.$strip>;
14712
- declare const SubAgentDataComponentSelectSchema: drizzle_zod19.BuildSchema<"select", {
14757
+ declare const SubAgentDataComponentSelectSchema: drizzle_zod15.BuildSchema<"select", {
14713
14758
  dataComponentId: drizzle_orm_pg_core211.PgColumn<{
14714
14759
  name: "data_component_id";
14715
14760
  tableName: "sub_agent_data_components";
@@ -14841,7 +14886,7 @@ declare const SubAgentDataComponentSelectSchema: drizzle_zod19.BuildSchema<"sele
14841
14886
  }, {}, {
14842
14887
  length: 256;
14843
14888
  }>;
14844
- }, drizzle_zod19.BuildRefine<{
14889
+ }, drizzle_zod15.BuildRefine<{
14845
14890
  dataComponentId: drizzle_orm_pg_core211.PgColumn<{
14846
14891
  name: "data_component_id";
14847
14892
  tableName: "sub_agent_data_components";
@@ -14974,7 +15019,7 @@ declare const SubAgentDataComponentSelectSchema: drizzle_zod19.BuildSchema<"sele
14974
15019
  length: 256;
14975
15020
  }>;
14976
15021
  }, undefined>, undefined>;
14977
- declare const SubAgentDataComponentInsertSchema: drizzle_zod19.BuildSchema<"insert", {
15022
+ declare const SubAgentDataComponentInsertSchema: drizzle_zod15.BuildSchema<"insert", {
14978
15023
  dataComponentId: drizzle_orm_pg_core211.PgColumn<{
14979
15024
  name: "data_component_id";
14980
15025
  tableName: "sub_agent_data_components";
@@ -15106,7 +15151,7 @@ declare const SubAgentDataComponentInsertSchema: drizzle_zod19.BuildSchema<"inse
15106
15151
  }, {}, {
15107
15152
  length: 256;
15108
15153
  }>;
15109
- }, drizzle_zod19.BuildRefine<Pick<{
15154
+ }, drizzle_zod15.BuildRefine<Pick<{
15110
15155
  dataComponentId: drizzle_orm_pg_core211.PgColumn<{
15111
15156
  name: "data_component_id";
15112
15157
  tableName: "sub_agent_data_components";
@@ -15238,7 +15283,7 @@ declare const SubAgentDataComponentInsertSchema: drizzle_zod19.BuildSchema<"inse
15238
15283
  }, {}, {
15239
15284
  length: 256;
15240
15285
  }>;
15241
- }, "id" | "createdAt" | "tenantId" | "projectId" | "agentId" | "subAgentId" | "dataComponentId">, undefined>, undefined>;
15286
+ }, "id" | "tenantId" | "projectId" | "agentId" | "createdAt" | "subAgentId" | "dataComponentId">, undefined>, undefined>;
15242
15287
  declare const SubAgentDataComponentUpdateSchema: z.ZodObject<{
15243
15288
  dataComponentId: z.ZodOptional<z.ZodString>;
15244
15289
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -15274,7 +15319,7 @@ declare const SubAgentDataComponentApiUpdateSchema: z.ZodObject<{
15274
15319
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
15275
15320
  dataComponentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
15276
15321
  }, z.core.$strip>;
15277
- declare const ArtifactComponentSelectSchema: drizzle_zod19.BuildSchema<"select", {
15322
+ declare const ArtifactComponentSelectSchema: drizzle_zod15.BuildSchema<"select", {
15278
15323
  createdAt: drizzle_orm_pg_core211.PgColumn<{
15279
15324
  name: "created_at";
15280
15325
  tableName: "artifact_components";
@@ -15446,7 +15491,7 @@ declare const ArtifactComponentSelectSchema: drizzle_zod19.BuildSchema<"select",
15446
15491
  }, {}, {
15447
15492
  length: 256;
15448
15493
  }>;
15449
- }, drizzle_zod19.BuildRefine<{
15494
+ }, drizzle_zod15.BuildRefine<{
15450
15495
  createdAt: drizzle_orm_pg_core211.PgColumn<{
15451
15496
  name: "created_at";
15452
15497
  tableName: "artifact_components";
@@ -15719,9 +15764,9 @@ declare const ArtifactComponentApiInsertSchema: z.ZodObject<{
15719
15764
  declare const ArtifactComponentApiUpdateSchema: z.ZodObject<{
15720
15765
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
15721
15766
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
15767
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
15722
15768
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
15723
15769
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
15724
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
15725
15770
  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>>>>>>>;
15726
15771
  render: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
15727
15772
  component: string;
@@ -15737,7 +15782,7 @@ declare const ArtifactComponentApiUpdateSchema: z.ZodObject<{
15737
15782
  mockData: Record<string, unknown>;
15738
15783
  }>>>>>>;
15739
15784
  }, z.core.$strip>;
15740
- declare const SubAgentArtifactComponentSelectSchema: drizzle_zod19.BuildSchema<"select", {
15785
+ declare const SubAgentArtifactComponentSelectSchema: drizzle_zod15.BuildSchema<"select", {
15741
15786
  artifactComponentId: drizzle_orm_pg_core211.PgColumn<{
15742
15787
  name: "artifact_component_id";
15743
15788
  tableName: "sub_agent_artifact_components";
@@ -15869,7 +15914,7 @@ declare const SubAgentArtifactComponentSelectSchema: drizzle_zod19.BuildSchema<"
15869
15914
  }, {}, {
15870
15915
  length: 256;
15871
15916
  }>;
15872
- }, drizzle_zod19.BuildRefine<{
15917
+ }, drizzle_zod15.BuildRefine<{
15873
15918
  artifactComponentId: drizzle_orm_pg_core211.PgColumn<{
15874
15919
  name: "artifact_component_id";
15875
15920
  tableName: "sub_agent_artifact_components";
@@ -16116,18 +16161,18 @@ declare const ExternalAgentApiInsertSchema: z.ZodObject<OmitProjectScope<{
16116
16161
  declare const ExternalAgentApiUpdateSchema: z.ZodObject<{
16117
16162
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16118
16163
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16164
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
16119
16165
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
16120
16166
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
16121
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
16122
16167
  credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
16123
16168
  baseUrl: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16124
16169
  }, z.core.$strip>;
16125
16170
  declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
16126
16171
  id: z.ZodString;
16127
16172
  name: z.ZodString;
16128
- createdAt: z.ZodString;
16129
- updatedAt: z.ZodString;
16130
16173
  description: z.ZodNullable<z.ZodString>;
16174
+ prompt: z.ZodNullable<z.ZodString>;
16175
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
16131
16176
  models: z.ZodNullable<z.ZodType<{
16132
16177
  base?: {
16133
16178
  model?: string | undefined;
@@ -16190,20 +16235,20 @@ declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
16190
16235
  }, {
16191
16236
  stepCountIs?: number | undefined;
16192
16237
  }>>>;
16193
- prompt: z.ZodNullable<z.ZodString>;
16194
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
16238
+ createdAt: z.ZodString;
16239
+ updatedAt: z.ZodString;
16195
16240
  type: z.ZodLiteral<"internal">;
16196
16241
  }, z.core.$strip>, z.ZodObject<{
16197
16242
  id: z.ZodString;
16198
16243
  name: z.ZodString;
16244
+ description: z.ZodNullable<z.ZodString>;
16199
16245
  createdAt: z.ZodString;
16200
16246
  updatedAt: z.ZodString;
16201
- description: z.ZodNullable<z.ZodString>;
16202
16247
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16203
16248
  baseUrl: z.ZodString;
16204
16249
  type: z.ZodLiteral<"external">;
16205
16250
  }, z.core.$strip>], "type">;
16206
- declare const ApiKeySelectSchema: drizzle_zod19.BuildSchema<"select", {
16251
+ declare const ApiKeySelectSchema: drizzle_zod15.BuildSchema<"select", {
16207
16252
  createdAt: drizzle_orm_pg_core211.PgColumn<{
16208
16253
  name: "created_at";
16209
16254
  tableName: "api_keys";
@@ -16424,7 +16469,7 @@ declare const ApiKeySelectSchema: drizzle_zod19.BuildSchema<"select", {
16424
16469
  }, {}, {
16425
16470
  length: 256;
16426
16471
  }>;
16427
- }, drizzle_zod19.BuildRefine<{
16472
+ }, drizzle_zod15.BuildRefine<{
16428
16473
  createdAt: drizzle_orm_pg_core211.PgColumn<{
16429
16474
  name: "created_at";
16430
16475
  tableName: "api_keys";
@@ -16665,9 +16710,9 @@ declare const ApiKeyInsertSchema: z.ZodObject<{
16665
16710
  }>;
16666
16711
  declare const ApiKeyUpdateSchema: z.ZodObject<{
16667
16712
  name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
16713
+ agentId: z.ZodOptional<z.ZodString>;
16668
16714
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16669
16715
  expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
16670
- agentId: z.ZodOptional<z.ZodString>;
16671
16716
  lastUsedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
16672
16717
  }, {
16673
16718
  out: {};
@@ -16676,10 +16721,10 @@ declare const ApiKeyUpdateSchema: z.ZodObject<{
16676
16721
  declare const ApiKeyApiSelectSchema: z.ZodObject<{
16677
16722
  id: z.ZodString;
16678
16723
  name: z.ZodNullable<z.ZodString>;
16724
+ agentId: z.ZodString;
16679
16725
  createdAt: z.ZodString;
16680
16726
  updatedAt: z.ZodString;
16681
16727
  expiresAt: z.ZodNullable<z.ZodString>;
16682
- agentId: z.ZodString;
16683
16728
  publicId: z.ZodString;
16684
16729
  keyPrefix: z.ZodString;
16685
16730
  lastUsedAt: z.ZodNullable<z.ZodString>;
@@ -16692,10 +16737,10 @@ declare const ApiKeyApiCreationResponseSchema: z.ZodObject<{
16692
16737
  apiKey: z.ZodObject<{
16693
16738
  id: z.ZodString;
16694
16739
  name: z.ZodNullable<z.ZodString>;
16740
+ agentId: z.ZodString;
16695
16741
  createdAt: z.ZodString;
16696
16742
  updatedAt: z.ZodString;
16697
16743
  expiresAt: z.ZodNullable<z.ZodString>;
16698
- agentId: z.ZodString;
16699
16744
  publicId: z.ZodString;
16700
16745
  keyPrefix: z.ZodString;
16701
16746
  lastUsedAt: z.ZodNullable<z.ZodString>;
@@ -16708,25 +16753,25 @@ declare const ApiKeyApiCreationResponseSchema: z.ZodObject<{
16708
16753
  }, z.core.$strip>;
16709
16754
  declare const ApiKeyApiInsertSchema: z.ZodObject<{
16710
16755
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16756
+ agentId: z.ZodString;
16711
16757
  createdAt: z.ZodOptional<z.ZodString>;
16712
16758
  updatedAt: z.ZodOptional<z.ZodString>;
16713
16759
  expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16714
- agentId: z.ZodString;
16715
16760
  }, {
16716
16761
  out: {};
16717
16762
  in: {};
16718
16763
  }>;
16719
16764
  declare const ApiKeyApiUpdateSchema: z.ZodObject<{
16720
16765
  name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
16766
+ agentId: z.ZodOptional<z.ZodString>;
16721
16767
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16722
16768
  expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
16723
- agentId: z.ZodOptional<z.ZodString>;
16724
16769
  lastUsedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
16725
16770
  }, {
16726
16771
  out: {};
16727
16772
  in: {};
16728
16773
  }>;
16729
- declare const CredentialReferenceSelectSchema: drizzle_zod19.BuildSchema<"select", {
16774
+ declare const CredentialReferenceSelectSchema: drizzle_zod15.BuildSchema<"select", {
16730
16775
  createdAt: drizzle_orm_pg_core211.PgColumn<{
16731
16776
  name: "created_at";
16732
16777
  tableName: "credential_references";
@@ -16951,7 +16996,7 @@ declare const CredentialReferenceSelectSchema: drizzle_zod19.BuildSchema<"select
16951
16996
  }, {}, {
16952
16997
  length: 256;
16953
16998
  }>;
16954
- }, drizzle_zod19.BuildRefine<{
16999
+ }, drizzle_zod15.BuildRefine<{
16955
17000
  createdAt: drizzle_orm_pg_core211.PgColumn<{
16956
17001
  name: "created_at";
16957
17002
  tableName: "credential_references";
@@ -17216,9 +17261,9 @@ declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
17216
17261
  name: z.ZodString;
17217
17262
  createdAt: z.ZodString;
17218
17263
  updatedAt: z.ZodString;
17264
+ toolId: z.ZodNullable<z.ZodString>;
17219
17265
  userId: z.ZodNullable<z.ZodString>;
17220
17266
  createdBy: z.ZodNullable<z.ZodString>;
17221
- toolId: z.ZodNullable<z.ZodString>;
17222
17267
  credentialStoreId: z.ZodString;
17223
17268
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
17224
17269
  type: z.ZodEnum<{
@@ -17226,7 +17271,7 @@ declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
17226
17271
  readonly keychain: "keychain";
17227
17272
  readonly nango: "nango";
17228
17273
  }>;
17229
- tools: z.ZodOptional<z.ZodArray<drizzle_zod19.BuildSchema<"select", {
17274
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod15.BuildSchema<"select", {
17230
17275
  createdAt: drizzle_orm_pg_core211.PgColumn<{
17231
17276
  name: "created_at";
17232
17277
  tableName: "tools";
@@ -17506,7 +17551,7 @@ declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
17506
17551
  }, {}, {
17507
17552
  length: 256;
17508
17553
  }>;
17509
- }, drizzle_zod19.BuildRefine<{
17554
+ }, drizzle_zod15.BuildRefine<{
17510
17555
  createdAt: drizzle_orm_pg_core211.PgColumn<{
17511
17556
  name: "created_at";
17512
17557
  tableName: "tools";
@@ -17807,9 +17852,9 @@ declare const CredentialReferenceApiInsertSchema: z.ZodObject<{
17807
17852
  name: z.ZodString;
17808
17853
  createdAt: z.ZodOptional<z.ZodString>;
17809
17854
  updatedAt: z.ZodOptional<z.ZodString>;
17855
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17810
17856
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17811
17857
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17812
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17813
17858
  credentialStoreId: z.ZodString;
17814
17859
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
17815
17860
  type: z.ZodEnum<{
@@ -17823,9 +17868,9 @@ declare const CredentialReferenceApiUpdateSchema: z.ZodObject<{
17823
17868
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
17824
17869
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
17825
17870
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
17871
+ toolId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
17826
17872
  userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
17827
17873
  createdBy: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
17828
- toolId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
17829
17874
  credentialStoreId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
17830
17875
  retrievalParams: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>>;
17831
17876
  type: z.ZodOptional<z.ZodEnum<{
@@ -17952,20 +17997,20 @@ declare const McpToolSchema: z.ZodObject<{
17952
17997
  declare const MCPToolConfigSchema: z.ZodObject<{
17953
17998
  id: z.ZodString;
17954
17999
  name: z.ZodString;
17955
- expiresAt: z.ZodOptional<z.ZodString>;
17956
18000
  headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
18001
+ expiresAt: z.ZodOptional<z.ZodString>;
17957
18002
  createdBy: z.ZodOptional<z.ZodString>;
17958
18003
  credentialScope: z.ZodOptional<z.ZodString>;
17959
18004
  imageUrl: z.ZodOptional<z.ZodString>;
17960
18005
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
17961
18006
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17962
18007
  isWorkApp: z.ZodOptional<z.ZodBoolean>;
17963
- relationshipId: z.ZodOptional<z.ZodString>;
17964
18008
  availableTools: z.ZodOptional<z.ZodArray<z.ZodObject<{
17965
18009
  name: z.ZodString;
17966
18010
  description: z.ZodOptional<z.ZodString>;
17967
18011
  inputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
17968
18012
  }, z.core.$strip>>>;
18013
+ relationshipId: z.ZodOptional<z.ZodString>;
17969
18014
  tenantId: z.ZodOptional<z.ZodString>;
17970
18015
  projectId: z.ZodOptional<z.ZodString>;
17971
18016
  description: z.ZodOptional<z.ZodString>;
@@ -17990,9 +18035,9 @@ declare const MCPToolConfigSchema: z.ZodObject<{
17990
18035
  name: z.ZodString;
17991
18036
  createdAt: z.ZodOptional<z.ZodString>;
17992
18037
  updatedAt: z.ZodOptional<z.ZodString>;
18038
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17993
18039
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17994
18040
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17995
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17996
18041
  credentialStoreId: z.ZodString;
17997
18042
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
17998
18043
  type: z.ZodEnum<{
@@ -18131,9 +18176,9 @@ declare const ToolApiInsertSchema: z.ZodObject<OmitProjectScope<{
18131
18176
  declare const ToolApiUpdateSchema: z.ZodObject<{
18132
18177
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18133
18178
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18179
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
18134
18180
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18135
18181
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18136
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
18137
18182
  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>>>>>>>;
18138
18183
  config: z.ZodOptional<z.ZodOptional<z.ZodObject<{
18139
18184
  type: z.ZodLiteral<"mcp">;
@@ -18168,7 +18213,7 @@ declare const ToolApiUpdateSchema: z.ZodObject<{
18168
18213
  lastError: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
18169
18214
  isWorkApp: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodBoolean>>>;
18170
18215
  }, z.core.$strip>;
18171
- declare const FunctionToolSelectSchema: drizzle_zod19.BuildSchema<"select", {
18216
+ declare const FunctionToolSelectSchema: drizzle_zod15.BuildSchema<"select", {
18172
18217
  createdAt: drizzle_orm_pg_core211.PgColumn<{
18173
18218
  name: "created_at";
18174
18219
  tableName: "function_tools";
@@ -18334,7 +18379,7 @@ declare const FunctionToolSelectSchema: drizzle_zod19.BuildSchema<"select", {
18334
18379
  }, {}, {
18335
18380
  length: 256;
18336
18381
  }>;
18337
- }, drizzle_zod19.BuildRefine<{
18382
+ }, drizzle_zod15.BuildRefine<{
18338
18383
  createdAt: drizzle_orm_pg_core211.PgColumn<{
18339
18384
  name: "created_at";
18340
18385
  tableName: "function_tools";
@@ -18532,10 +18577,10 @@ declare const FunctionToolUpdateSchema: z.ZodObject<{
18532
18577
  declare const FunctionToolApiSelectSchema: z.ZodObject<{
18533
18578
  id: z.ZodString;
18534
18579
  name: z.ZodString;
18535
- createdAt: z.ZodString;
18536
- updatedAt: z.ZodString;
18537
18580
  description: z.ZodNullable<z.ZodString>;
18538
18581
  agentId: z.ZodString;
18582
+ createdAt: z.ZodString;
18583
+ updatedAt: z.ZodString;
18539
18584
  functionId: z.ZodString;
18540
18585
  relationshipId: z.ZodOptional<z.ZodString>;
18541
18586
  }, z.core.$strip>;
@@ -18553,13 +18598,13 @@ declare const FunctionToolApiInsertSchema: z.ZodObject<OmitAgentScope<{
18553
18598
  declare const FunctionToolApiUpdateSchema: z.ZodObject<{
18554
18599
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18555
18600
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18556
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18557
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18558
18601
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
18559
18602
  agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18603
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18604
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18560
18605
  functionId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18561
18606
  }, z.core.$strip>;
18562
- declare const SubAgentFunctionToolRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
18607
+ declare const SubAgentFunctionToolRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
18563
18608
  createdAt: drizzle_orm_pg_core211.PgColumn<{
18564
18609
  name: "created_at";
18565
18610
  tableName: "sub_agent_function_tool_relations";
@@ -18731,7 +18776,7 @@ declare const SubAgentFunctionToolRelationSelectSchema: drizzle_zod19.BuildSchem
18731
18776
  }, {}, {
18732
18777
  length: 256;
18733
18778
  }>;
18734
- }, drizzle_zod19.BuildRefine<{
18779
+ }, drizzle_zod15.BuildRefine<{
18735
18780
  createdAt: drizzle_orm_pg_core211.PgColumn<{
18736
18781
  name: "created_at";
18737
18782
  tableName: "sub_agent_function_tool_relations";
@@ -18907,7 +18952,7 @@ declare const SubAgentFunctionToolRelationSelectSchema: drizzle_zod19.BuildSchem
18907
18952
  declare const SubAgentFunctionToolRelationInsertSchema: z.ZodObject<{
18908
18953
  createdAt: z.ZodOptional<z.ZodString>;
18909
18954
  updatedAt: z.ZodOptional<z.ZodString>;
18910
- toolPolicies: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
18955
+ toolPolicies: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
18911
18956
  agentId: z.ZodString;
18912
18957
  projectId: z.ZodString;
18913
18958
  tenantId: z.ZodString;
@@ -18922,7 +18967,7 @@ declare const SubAgentFunctionToolRelationApiSelectSchema: z.ZodObject<OmitAgent
18922
18967
  createdAt: z.ZodString;
18923
18968
  updatedAt: z.ZodString;
18924
18969
  functionToolId: z.ZodString;
18925
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
18970
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
18926
18971
  subAgentId: z.ZodString;
18927
18972
  agentId: z.ZodString;
18928
18973
  projectId: z.ZodString;
@@ -18930,14 +18975,14 @@ declare const SubAgentFunctionToolRelationApiSelectSchema: z.ZodObject<OmitAgent
18930
18975
  id: z.ZodString;
18931
18976
  }>, z.core.$strip>;
18932
18977
  declare const SubAgentFunctionToolRelationApiInsertSchema: z.ZodObject<{
18933
- toolPolicies: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
18978
+ toolPolicies: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
18934
18979
  subAgentId: z.ZodString;
18935
18980
  functionToolId: z.ZodString;
18936
18981
  }, {
18937
18982
  out: {};
18938
18983
  in: {};
18939
18984
  }>;
18940
- declare const FunctionSelectSchema: drizzle_zod19.BuildSchema<"select", {
18985
+ declare const FunctionSelectSchema: drizzle_zod15.BuildSchema<"select", {
18941
18986
  createdAt: drizzle_orm_pg_core211.PgColumn<{
18942
18987
  name: "created_at";
18943
18988
  tableName: "functions";
@@ -19084,7 +19129,7 @@ declare const FunctionSelectSchema: drizzle_zod19.BuildSchema<"select", {
19084
19129
  }, {}, {
19085
19130
  length: 256;
19086
19131
  }>;
19087
- }, drizzle_zod19.BuildRefine<{
19132
+ }, drizzle_zod15.BuildRefine<{
19088
19133
  createdAt: drizzle_orm_pg_core211.PgColumn<{
19089
19134
  name: "created_at";
19090
19135
  tableName: "functions";
@@ -19281,8 +19326,8 @@ declare const FunctionApiUpdateSchema: z.ZodObject<{
19281
19326
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
19282
19327
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
19283
19328
  inputSchema: 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>>>>>>>;
19284
- executeCode: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19285
19329
  dependencies: 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>>>>>>>;
19330
+ executeCode: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19286
19331
  }, z.core.$strip>;
19287
19332
  declare const FetchConfigSchema: z.ZodObject<{
19288
19333
  url: z.ZodString;
@@ -19328,9 +19373,9 @@ declare const FetchDefinitionSchema: z.ZodObject<{
19328
19373
  name: z.ZodString;
19329
19374
  createdAt: z.ZodOptional<z.ZodString>;
19330
19375
  updatedAt: z.ZodOptional<z.ZodString>;
19376
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19331
19377
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19332
19378
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19333
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19334
19379
  credentialStoreId: z.ZodString;
19335
19380
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
19336
19381
  type: z.ZodEnum<{
@@ -19393,7 +19438,7 @@ declare const ContextConfigApiUpdateSchema: z.ZodObject<{
19393
19438
  headersSchema: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>>;
19394
19439
  contextVariables: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>>;
19395
19440
  }, z.core.$strip>;
19396
- declare const SubAgentToolRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
19441
+ declare const SubAgentToolRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
19397
19442
  createdAt: drizzle_orm_pg_core211.PgColumn<{
19398
19443
  name: "created_at";
19399
19444
  tableName: "sub_agent_tool_relations";
@@ -19603,7 +19648,7 @@ declare const SubAgentToolRelationSelectSchema: drizzle_zod19.BuildSchema<"selec
19603
19648
  }, {}, {
19604
19649
  length: 256;
19605
19650
  }>;
19606
- }, drizzle_zod19.BuildRefine<{
19651
+ }, drizzle_zod15.BuildRefine<{
19607
19652
  createdAt: drizzle_orm_pg_core211.PgColumn<{
19608
19653
  name: "created_at";
19609
19654
  tableName: "sub_agent_tool_relations";
@@ -19854,9 +19899,9 @@ declare const SubAgentToolRelationApiSelectSchema: z.ZodObject<OmitAgentScope<{
19854
19899
  createdAt: z.ZodString;
19855
19900
  updatedAt: z.ZodString;
19856
19901
  toolId: z.ZodString;
19857
- selectedTools: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
19858
- headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
19859
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
19902
+ selectedTools: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
19903
+ headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
19904
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
19860
19905
  subAgentId: z.ZodString;
19861
19906
  agentId: z.ZodString;
19862
19907
  projectId: z.ZodString;
@@ -19882,15 +19927,15 @@ declare const SubAgentToolRelationApiUpdateSchema: z.ZodObject<{
19882
19927
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19883
19928
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
19884
19929
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
19885
- headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
19886
19930
  toolId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19931
+ headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
19887
19932
  toolPolicies: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
19888
19933
  needsApproval: z.ZodOptional<z.ZodBoolean>;
19889
19934
  }, z.core.$strip>>>>>>;
19890
19935
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19891
19936
  selectedTools: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>>>;
19892
19937
  }, z.core.$strip>;
19893
- declare const SubAgentExternalAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
19938
+ declare const SubAgentExternalAgentRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
19894
19939
  createdAt: drizzle_orm_pg_core211.PgColumn<{
19895
19940
  name: "created_at";
19896
19941
  tableName: "sub_agent_external_agent_relations";
@@ -20058,7 +20103,7 @@ declare const SubAgentExternalAgentRelationSelectSchema: drizzle_zod19.BuildSche
20058
20103
  }, {}, {
20059
20104
  length: 256;
20060
20105
  }>;
20061
- }, drizzle_zod19.BuildRefine<{
20106
+ }, drizzle_zod15.BuildRefine<{
20062
20107
  createdAt: drizzle_orm_pg_core211.PgColumn<{
20063
20108
  name: "created_at";
20064
20109
  tableName: "sub_agent_external_agent_relations";
@@ -20259,7 +20304,7 @@ declare const SubAgentExternalAgentRelationApiSelectSchema: z.ZodObject<OmitAgen
20259
20304
  createdAt: z.ZodString;
20260
20305
  updatedAt: z.ZodString;
20261
20306
  externalAgentId: z.ZodString;
20262
- headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
20307
+ headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
20263
20308
  subAgentId: z.ZodString;
20264
20309
  agentId: z.ZodString;
20265
20310
  projectId: z.ZodString;
@@ -20280,7 +20325,7 @@ declare const SubAgentExternalAgentRelationApiUpdateSchema: z.ZodObject<{
20280
20325
  externalAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20281
20326
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20282
20327
  }, z.core.$strip>;
20283
- declare const SubAgentTeamAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
20328
+ declare const SubAgentTeamAgentRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
20284
20329
  createdAt: drizzle_orm_pg_core211.PgColumn<{
20285
20330
  name: "created_at";
20286
20331
  tableName: "sub_agent_team_agent_relations";
@@ -20448,7 +20493,7 @@ declare const SubAgentTeamAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"
20448
20493
  }, {}, {
20449
20494
  length: 256;
20450
20495
  }>;
20451
- }, drizzle_zod19.BuildRefine<{
20496
+ }, drizzle_zod15.BuildRefine<{
20452
20497
  createdAt: drizzle_orm_pg_core211.PgColumn<{
20453
20498
  name: "created_at";
20454
20499
  tableName: "sub_agent_team_agent_relations";
@@ -20649,7 +20694,7 @@ declare const SubAgentTeamAgentRelationApiSelectSchema: z.ZodObject<OmitAgentSco
20649
20694
  createdAt: z.ZodString;
20650
20695
  updatedAt: z.ZodString;
20651
20696
  targetAgentId: z.ZodString;
20652
- headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
20697
+ headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
20653
20698
  subAgentId: z.ZodString;
20654
20699
  agentId: z.ZodString;
20655
20700
  projectId: z.ZodString;
@@ -20670,7 +20715,7 @@ declare const SubAgentTeamAgentRelationApiUpdateSchema: z.ZodObject<{
20670
20715
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20671
20716
  targetAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20672
20717
  }, z.core.$strip>;
20673
- declare const LedgerArtifactSelectSchema: drizzle_zod19.BuildSchema<"select", {
20718
+ declare const LedgerArtifactSelectSchema: drizzle_zod15.BuildSchema<"select", {
20674
20719
  createdAt: drizzle_orm_pg_core211.PgColumn<{
20675
20720
  name: "created_at";
20676
20721
  tableName: "ledger_artifacts";
@@ -21005,7 +21050,7 @@ declare const LedgerArtifactSelectSchema: drizzle_zod19.BuildSchema<"select", {
21005
21050
  }, {}, {
21006
21051
  length: 256;
21007
21052
  }>;
21008
- }, drizzle_zod19.BuildRefine<{
21053
+ }, drizzle_zod15.BuildRefine<{
21009
21054
  createdAt: drizzle_orm_pg_core211.PgColumn<{
21010
21055
  name: "created_at";
21011
21056
  tableName: "ledger_artifacts";
@@ -21341,7 +21386,7 @@ declare const LedgerArtifactSelectSchema: drizzle_zod19.BuildSchema<"select", {
21341
21386
  length: 256;
21342
21387
  }>;
21343
21388
  }, undefined>, undefined>;
21344
- declare const LedgerArtifactInsertSchema: drizzle_zod19.BuildSchema<"insert", {
21389
+ declare const LedgerArtifactInsertSchema: drizzle_zod15.BuildSchema<"insert", {
21345
21390
  createdAt: drizzle_orm_pg_core211.PgColumn<{
21346
21391
  name: "created_at";
21347
21392
  tableName: "ledger_artifacts";
@@ -21676,7 +21721,7 @@ declare const LedgerArtifactInsertSchema: drizzle_zod19.BuildSchema<"insert", {
21676
21721
  }, {}, {
21677
21722
  length: 256;
21678
21723
  }>;
21679
- }, drizzle_zod19.BuildRefine<Pick<{
21724
+ }, drizzle_zod15.BuildRefine<Pick<{
21680
21725
  createdAt: drizzle_orm_pg_core211.PgColumn<{
21681
21726
  name: "created_at";
21682
21727
  tableName: "ledger_artifacts";
@@ -22011,7 +22056,7 @@ declare const LedgerArtifactInsertSchema: drizzle_zod19.BuildSchema<"insert", {
22011
22056
  }, {}, {
22012
22057
  length: 256;
22013
22058
  }>;
22014
- }, "type" | "id" | "name" | "createdAt" | "updatedAt" | "metadata" | "description" | "tenantId" | "projectId" | "taskId" | "contextId" | "visibility" | "toolCallId" | "parts" | "summary" | "mime" | "allowedAgents" | "derivedFrom">, undefined>, undefined>;
22059
+ }, "id" | "name" | "description" | "tenantId" | "projectId" | "type" | "createdAt" | "updatedAt" | "metadata" | "toolCallId" | "contextId" | "visibility" | "taskId" | "parts" | "summary" | "mime" | "allowedAgents" | "derivedFrom">, undefined>, undefined>;
22015
22060
  declare const LedgerArtifactUpdateSchema: z.ZodObject<{
22016
22061
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22017
22062
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -22021,12 +22066,12 @@ declare const LedgerArtifactUpdateSchema: z.ZodObject<{
22021
22066
  type: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22022
22067
  name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
22023
22068
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
22024
- parts: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
22025
- metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
22069
+ parts: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
22070
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
22026
22071
  summary: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
22027
- mime: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
22072
+ mime: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
22028
22073
  visibility: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
22029
- allowedAgents: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
22074
+ allowedAgents: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
22030
22075
  derivedFrom: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
22031
22076
  projectId: z.ZodOptional<z.ZodString>;
22032
22077
  tenantId: z.ZodOptional<z.ZodString>;
@@ -22044,12 +22089,12 @@ declare const LedgerArtifactApiSelectSchema: z.ZodObject<OmitProjectScope<{
22044
22089
  type: z.ZodString;
22045
22090
  name: z.ZodNullable<z.ZodString>;
22046
22091
  description: z.ZodNullable<z.ZodString>;
22047
- parts: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
22048
- metadata: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
22092
+ parts: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
22093
+ metadata: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
22049
22094
  summary: z.ZodNullable<z.ZodString>;
22050
- mime: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
22095
+ mime: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
22051
22096
  visibility: z.ZodNullable<z.ZodString>;
22052
- allowedAgents: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
22097
+ allowedAgents: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
22053
22098
  derivedFrom: z.ZodNullable<z.ZodString>;
22054
22099
  projectId: z.ZodString;
22055
22100
  tenantId: z.ZodString;
@@ -22064,33 +22109,33 @@ declare const LedgerArtifactApiInsertSchema: z.ZodObject<OmitProjectScope<{
22064
22109
  type: z.ZodOptional<z.ZodString>;
22065
22110
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22066
22111
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22067
- parts: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
22068
- metadata: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
22112
+ parts: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
22113
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
22069
22114
  summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22070
- mime: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
22115
+ mime: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
22071
22116
  visibility: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22072
- allowedAgents: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
22117
+ allowedAgents: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
22073
22118
  derivedFrom: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22074
22119
  projectId: z.ZodString;
22075
22120
  tenantId: z.ZodString;
22076
22121
  id: z.ZodString;
22077
22122
  }>, z.core.$strip>;
22078
22123
  declare const LedgerArtifactApiUpdateSchema: z.ZodObject<{
22079
- type: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
22080
22124
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22081
22125
  name: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
22126
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
22127
+ type: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
22082
22128
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
22083
22129
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
22084
- metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
22085
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
22086
- taskId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22130
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>>;
22131
+ toolCallId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
22087
22132
  contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22088
22133
  visibility: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
22089
- toolCallId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
22090
- parts: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
22134
+ taskId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22135
+ parts: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>>;
22091
22136
  summary: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
22092
- mime: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
22093
- allowedAgents: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
22137
+ mime: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>>;
22138
+ allowedAgents: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>>;
22094
22139
  derivedFrom: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
22095
22140
  }, z.core.$strip>;
22096
22141
  declare const StatusComponentSchema: z.ZodObject<{
@@ -22158,9 +22203,8 @@ declare const TeamAgentSchema: z.ZodObject<{
22158
22203
  declare const FullAgentAgentInsertSchema: z.ZodObject<{
22159
22204
  id: z.ZodString;
22160
22205
  name: z.ZodString;
22161
- createdAt: z.ZodOptional<z.ZodString>;
22162
- updatedAt: z.ZodOptional<z.ZodString>;
22163
22206
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22207
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
22164
22208
  models: z.ZodOptional<z.ZodObject<{
22165
22209
  base: z.ZodOptional<z.ZodObject<{
22166
22210
  model: z.ZodOptional<z.ZodString>;
@@ -22184,7 +22228,8 @@ declare const FullAgentAgentInsertSchema: z.ZodObject<{
22184
22228
  }, {
22185
22229
  stepCountIs?: number | undefined;
22186
22230
  }>>>>;
22187
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
22231
+ createdAt: z.ZodOptional<z.ZodString>;
22232
+ updatedAt: z.ZodOptional<z.ZodString>;
22188
22233
  type: z.ZodLiteral<"internal">;
22189
22234
  canUse: z.ZodArray<z.ZodObject<{
22190
22235
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -22211,18 +22256,17 @@ declare const FullAgentAgentInsertSchema: z.ZodObject<{
22211
22256
  }, z.core.$strip>;
22212
22257
  declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
22213
22258
  name: z.ZodString;
22214
- createdAt: z.ZodOptional<z.ZodString>;
22215
- updatedAt: z.ZodOptional<z.ZodString>;
22216
22259
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22217
22260
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22261
+ createdAt: z.ZodOptional<z.ZodString>;
22262
+ updatedAt: z.ZodOptional<z.ZodString>;
22218
22263
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22219
22264
  id: z.ZodString;
22220
22265
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
22221
22266
  id: z.ZodString;
22222
22267
  name: z.ZodString;
22223
- createdAt: z.ZodOptional<z.ZodString>;
22224
- updatedAt: z.ZodOptional<z.ZodString>;
22225
22268
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22269
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
22226
22270
  models: z.ZodOptional<z.ZodObject<{
22227
22271
  base: z.ZodOptional<z.ZodObject<{
22228
22272
  model: z.ZodOptional<z.ZodString>;
@@ -22246,7 +22290,8 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
22246
22290
  }, {
22247
22291
  stepCountIs?: number | undefined;
22248
22292
  }>>>>;
22249
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
22293
+ createdAt: z.ZodOptional<z.ZodString>;
22294
+ updatedAt: z.ZodOptional<z.ZodString>;
22250
22295
  type: z.ZodLiteral<"internal">;
22251
22296
  canUse: z.ZodArray<z.ZodObject<{
22252
22297
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -22350,16 +22395,16 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
22350
22395
  }, z.core.$strip>>>;
22351
22396
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
22352
22397
  name: z.ZodString;
22398
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22353
22399
  createdAt: z.ZodOptional<z.ZodString>;
22354
22400
  updatedAt: z.ZodOptional<z.ZodString>;
22355
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22356
22401
  enabled: z.ZodOptional<z.ZodBoolean>;
22357
- inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
22358
- outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
22402
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
22403
+ outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
22359
22404
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22360
- authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
22405
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
22361
22406
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22362
- signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
22407
+ signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
22363
22408
  id: z.ZodOptional<z.ZodString>;
22364
22409
  }, z.core.$strip>>>;
22365
22410
  contextConfig: z.ZodOptional<z.ZodObject<{
@@ -22515,8 +22560,6 @@ declare const ProjectUpdateSchema: z.ZodObject<{
22515
22560
  declare const ProjectApiSelectSchema: z.ZodObject<{
22516
22561
  id: z.ZodString;
22517
22562
  name: z.ZodString;
22518
- createdAt: z.ZodString;
22519
- updatedAt: z.ZodString;
22520
22563
  description: z.ZodNullable<z.ZodString>;
22521
22564
  models: z.ZodNullable<z.ZodObject<{
22522
22565
  base: z.ZodObject<{
@@ -22536,6 +22579,8 @@ declare const ProjectApiSelectSchema: z.ZodObject<{
22536
22579
  transferCountIs: z.ZodOptional<z.ZodNumber>;
22537
22580
  stepCountIs: z.ZodOptional<z.ZodNumber>;
22538
22581
  }, z.core.$strip>>;
22582
+ createdAt: z.ZodString;
22583
+ updatedAt: z.ZodString;
22539
22584
  }, {
22540
22585
  out: {};
22541
22586
  in: {};
@@ -22615,18 +22660,17 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
22615
22660
  }, z.core.$strip>>;
22616
22661
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
22617
22662
  name: z.ZodString;
22618
- createdAt: z.ZodOptional<z.ZodString>;
22619
- updatedAt: z.ZodOptional<z.ZodString>;
22620
22663
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22621
22664
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22665
+ createdAt: z.ZodOptional<z.ZodString>;
22666
+ updatedAt: z.ZodOptional<z.ZodString>;
22622
22667
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22623
22668
  id: z.ZodString;
22624
22669
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
22625
22670
  id: z.ZodString;
22626
22671
  name: z.ZodString;
22627
- createdAt: z.ZodOptional<z.ZodString>;
22628
- updatedAt: z.ZodOptional<z.ZodString>;
22629
22672
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22673
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
22630
22674
  models: z.ZodOptional<z.ZodObject<{
22631
22675
  base: z.ZodOptional<z.ZodObject<{
22632
22676
  model: z.ZodOptional<z.ZodString>;
@@ -22650,7 +22694,8 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
22650
22694
  }, {
22651
22695
  stepCountIs?: number | undefined;
22652
22696
  }>>>>;
22653
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
22697
+ createdAt: z.ZodOptional<z.ZodString>;
22698
+ updatedAt: z.ZodOptional<z.ZodString>;
22654
22699
  type: z.ZodLiteral<"internal">;
22655
22700
  canUse: z.ZodArray<z.ZodObject<{
22656
22701
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -22754,16 +22799,16 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
22754
22799
  }, z.core.$strip>>>;
22755
22800
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
22756
22801
  name: z.ZodString;
22802
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22757
22803
  createdAt: z.ZodOptional<z.ZodString>;
22758
22804
  updatedAt: z.ZodOptional<z.ZodString>;
22759
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22760
22805
  enabled: z.ZodOptional<z.ZodBoolean>;
22761
- inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
22762
- outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
22806
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
22807
+ outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
22763
22808
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22764
- authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
22809
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
22765
22810
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22766
- signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
22811
+ signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
22767
22812
  id: z.ZodOptional<z.ZodString>;
22768
22813
  }, z.core.$strip>>>;
22769
22814
  contextConfig: z.ZodOptional<z.ZodObject<{
@@ -22942,9 +22987,9 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
22942
22987
  name: z.ZodString;
22943
22988
  createdAt: z.ZodOptional<z.ZodString>;
22944
22989
  updatedAt: z.ZodOptional<z.ZodString>;
22990
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22945
22991
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22946
22992
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22947
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22948
22993
  credentialStoreId: z.ZodString;
22949
22994
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
22950
22995
  type: z.ZodEnum<{
@@ -22962,9 +23007,8 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
22962
23007
  declare const FullAgentSubAgentSelectSchema: z.ZodObject<{
22963
23008
  id: z.ZodString;
22964
23009
  name: z.ZodString;
22965
- createdAt: z.ZodString;
22966
- updatedAt: z.ZodString;
22967
23010
  description: z.ZodNullable<z.ZodString>;
23011
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
22968
23012
  models: z.ZodNullable<z.ZodType<{
22969
23013
  base?: {
22970
23014
  model?: string | undefined;
@@ -23027,7 +23071,8 @@ declare const FullAgentSubAgentSelectSchema: z.ZodObject<{
23027
23071
  }, {
23028
23072
  stepCountIs?: number | undefined;
23029
23073
  }>>>;
23030
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
23074
+ createdAt: z.ZodString;
23075
+ updatedAt: z.ZodString;
23031
23076
  type: z.ZodLiteral<"internal">;
23032
23077
  canUse: z.ZodArray<z.ZodObject<{
23033
23078
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -23055,9 +23100,8 @@ declare const FullAgentSubAgentSelectSchema: z.ZodObject<{
23055
23100
  declare const FullAgentSubAgentSelectSchemaWithRelationIds: z.ZodObject<{
23056
23101
  id: z.ZodString;
23057
23102
  name: z.ZodString;
23058
- createdAt: z.ZodString;
23059
- updatedAt: z.ZodString;
23060
23103
  description: z.ZodNullable<z.ZodString>;
23104
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
23061
23105
  models: z.ZodNullable<z.ZodType<{
23062
23106
  base?: {
23063
23107
  model?: string | undefined;
@@ -23120,7 +23164,8 @@ declare const FullAgentSubAgentSelectSchemaWithRelationIds: z.ZodObject<{
23120
23164
  }, {
23121
23165
  stepCountIs?: number | undefined;
23122
23166
  }>>>;
23123
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
23167
+ createdAt: z.ZodString;
23168
+ updatedAt: z.ZodString;
23124
23169
  type: z.ZodLiteral<"internal">;
23125
23170
  canUse: z.ZodArray<z.ZodObject<{
23126
23171
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -23154,17 +23199,16 @@ declare const FullAgentSubAgentSelectSchemaWithRelationIds: z.ZodObject<{
23154
23199
  declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
23155
23200
  id: z.ZodString;
23156
23201
  name: z.ZodString;
23157
- createdAt: z.ZodString;
23158
- updatedAt: z.ZodString;
23159
23202
  description: z.ZodNullable<z.ZodString>;
23160
23203
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
23204
+ createdAt: z.ZodString;
23205
+ updatedAt: z.ZodString;
23161
23206
  contextConfigId: z.ZodNullable<z.ZodString>;
23162
23207
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
23163
23208
  id: z.ZodString;
23164
23209
  name: z.ZodString;
23165
- createdAt: z.ZodString;
23166
- updatedAt: z.ZodString;
23167
23210
  description: z.ZodNullable<z.ZodString>;
23211
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
23168
23212
  models: z.ZodNullable<z.ZodType<{
23169
23213
  base?: {
23170
23214
  model?: string | undefined;
@@ -23227,7 +23271,8 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
23227
23271
  }, {
23228
23272
  stepCountIs?: number | undefined;
23229
23273
  }>>>;
23230
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
23274
+ createdAt: z.ZodString;
23275
+ updatedAt: z.ZodString;
23231
23276
  type: z.ZodLiteral<"internal">;
23232
23277
  canUse: z.ZodArray<z.ZodObject<{
23233
23278
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -23300,10 +23345,10 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
23300
23345
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
23301
23346
  id: z.ZodString;
23302
23347
  name: z.ZodString;
23303
- createdAt: z.ZodString;
23304
- updatedAt: z.ZodString;
23305
23348
  description: z.ZodNullable<z.ZodString>;
23306
23349
  agentId: z.ZodString;
23350
+ createdAt: z.ZodString;
23351
+ updatedAt: z.ZodString;
23307
23352
  functionId: z.ZodString;
23308
23353
  relationshipId: z.ZodOptional<z.ZodString>;
23309
23354
  }, z.core.$strip>>>;
@@ -23361,10 +23406,10 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
23361
23406
  declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObject<{
23362
23407
  id: z.ZodString;
23363
23408
  name: z.ZodString;
23364
- createdAt: z.ZodString;
23365
- updatedAt: z.ZodString;
23366
23409
  description: z.ZodNullable<z.ZodString>;
23367
23410
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
23411
+ createdAt: z.ZodString;
23412
+ updatedAt: z.ZodString;
23368
23413
  contextConfigId: z.ZodNullable<z.ZodString>;
23369
23414
  tools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
23370
23415
  createdAt: z.ZodString;
@@ -23414,10 +23459,10 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
23414
23459
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
23415
23460
  id: z.ZodString;
23416
23461
  name: z.ZodString;
23417
- createdAt: z.ZodString;
23418
- updatedAt: z.ZodString;
23419
23462
  description: z.ZodNullable<z.ZodString>;
23420
23463
  agentId: z.ZodString;
23464
+ createdAt: z.ZodString;
23465
+ updatedAt: z.ZodString;
23421
23466
  functionId: z.ZodString;
23422
23467
  relationshipId: z.ZodOptional<z.ZodString>;
23423
23468
  }, z.core.$strip>>>;
@@ -23474,9 +23519,8 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
23474
23519
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
23475
23520
  id: z.ZodString;
23476
23521
  name: z.ZodString;
23477
- createdAt: z.ZodString;
23478
- updatedAt: z.ZodString;
23479
23522
  description: z.ZodNullable<z.ZodString>;
23523
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
23480
23524
  models: z.ZodNullable<z.ZodType<{
23481
23525
  base?: {
23482
23526
  model?: string | undefined;
@@ -23539,7 +23583,8 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
23539
23583
  }, {
23540
23584
  stepCountIs?: number | undefined;
23541
23585
  }>>>;
23542
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
23586
+ createdAt: z.ZodString;
23587
+ updatedAt: z.ZodString;
23543
23588
  type: z.ZodLiteral<"internal">;
23544
23589
  canUse: z.ZodArray<z.ZodObject<{
23545
23590
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -23574,8 +23619,6 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
23574
23619
  declare const FullProjectSelectSchema: z.ZodObject<{
23575
23620
  id: z.ZodString;
23576
23621
  name: z.ZodString;
23577
- createdAt: z.ZodString;
23578
- updatedAt: z.ZodString;
23579
23622
  description: z.ZodNullable<z.ZodString>;
23580
23623
  models: z.ZodNullable<z.ZodObject<{
23581
23624
  base: z.ZodObject<{
@@ -23595,20 +23638,21 @@ declare const FullProjectSelectSchema: z.ZodObject<{
23595
23638
  transferCountIs: z.ZodOptional<z.ZodNumber>;
23596
23639
  stepCountIs: z.ZodOptional<z.ZodNumber>;
23597
23640
  }, z.core.$strip>>;
23641
+ createdAt: z.ZodString;
23642
+ updatedAt: z.ZodString;
23598
23643
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
23599
23644
  id: z.ZodString;
23600
23645
  name: z.ZodString;
23601
- createdAt: z.ZodString;
23602
- updatedAt: z.ZodString;
23603
23646
  description: z.ZodNullable<z.ZodString>;
23604
23647
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
23648
+ createdAt: z.ZodString;
23649
+ updatedAt: z.ZodString;
23605
23650
  contextConfigId: z.ZodNullable<z.ZodString>;
23606
23651
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
23607
23652
  id: z.ZodString;
23608
23653
  name: z.ZodString;
23609
- createdAt: z.ZodString;
23610
- updatedAt: z.ZodString;
23611
23654
  description: z.ZodNullable<z.ZodString>;
23655
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
23612
23656
  models: z.ZodNullable<z.ZodType<{
23613
23657
  base?: {
23614
23658
  model?: string | undefined;
@@ -23671,7 +23715,8 @@ declare const FullProjectSelectSchema: z.ZodObject<{
23671
23715
  }, {
23672
23716
  stepCountIs?: number | undefined;
23673
23717
  }>>>;
23674
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
23718
+ createdAt: z.ZodString;
23719
+ updatedAt: z.ZodString;
23675
23720
  type: z.ZodLiteral<"internal">;
23676
23721
  canUse: z.ZodArray<z.ZodObject<{
23677
23722
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -23744,10 +23789,10 @@ declare const FullProjectSelectSchema: z.ZodObject<{
23744
23789
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
23745
23790
  id: z.ZodString;
23746
23791
  name: z.ZodString;
23747
- createdAt: z.ZodString;
23748
- updatedAt: z.ZodString;
23749
23792
  description: z.ZodNullable<z.ZodString>;
23750
23793
  agentId: z.ZodString;
23794
+ createdAt: z.ZodString;
23795
+ updatedAt: z.ZodString;
23751
23796
  functionId: z.ZodString;
23752
23797
  relationshipId: z.ZodOptional<z.ZodString>;
23753
23798
  }, z.core.$strip>>>;
@@ -23834,10 +23879,10 @@ declare const FullProjectSelectSchema: z.ZodObject<{
23834
23879
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
23835
23880
  id: z.ZodString;
23836
23881
  name: z.ZodString;
23837
- createdAt: z.ZodString;
23838
- updatedAt: z.ZodString;
23839
23882
  description: z.ZodNullable<z.ZodString>;
23840
23883
  agentId: z.ZodString;
23884
+ createdAt: z.ZodString;
23885
+ updatedAt: z.ZodString;
23841
23886
  functionId: z.ZodString;
23842
23887
  relationshipId: z.ZodOptional<z.ZodString>;
23843
23888
  }, z.core.$strip>>>;
@@ -23928,9 +23973,9 @@ declare const FullProjectSelectSchema: z.ZodObject<{
23928
23973
  name: z.ZodString;
23929
23974
  createdAt: z.ZodString;
23930
23975
  updatedAt: z.ZodString;
23976
+ toolId: z.ZodNullable<z.ZodString>;
23931
23977
  userId: z.ZodNullable<z.ZodString>;
23932
23978
  createdBy: z.ZodNullable<z.ZodString>;
23933
- toolId: z.ZodNullable<z.ZodString>;
23934
23979
  credentialStoreId: z.ZodString;
23935
23980
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
23936
23981
  type: z.ZodEnum<{
@@ -23938,7 +23983,7 @@ declare const FullProjectSelectSchema: z.ZodObject<{
23938
23983
  readonly keychain: "keychain";
23939
23984
  readonly nango: "nango";
23940
23985
  }>;
23941
- tools: z.ZodOptional<z.ZodArray<drizzle_zod19.BuildSchema<"select", {
23986
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod15.BuildSchema<"select", {
23942
23987
  createdAt: drizzle_orm_pg_core211.PgColumn<{
23943
23988
  name: "created_at";
23944
23989
  tableName: "tools";
@@ -24218,7 +24263,7 @@ declare const FullProjectSelectSchema: z.ZodObject<{
24218
24263
  }, {}, {
24219
24264
  length: 256;
24220
24265
  }>;
24221
- }, drizzle_zod19.BuildRefine<{
24266
+ }, drizzle_zod15.BuildRefine<{
24222
24267
  createdAt: drizzle_orm_pg_core211.PgColumn<{
24223
24268
  name: "created_at";
24224
24269
  tableName: "tools";
@@ -24521,8 +24566,6 @@ declare const FullProjectSelectSchema: z.ZodObject<{
24521
24566
  declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
24522
24567
  id: z.ZodString;
24523
24568
  name: z.ZodString;
24524
- createdAt: z.ZodString;
24525
- updatedAt: z.ZodString;
24526
24569
  description: z.ZodNullable<z.ZodString>;
24527
24570
  models: z.ZodNullable<z.ZodObject<{
24528
24571
  base: z.ZodObject<{
@@ -24542,6 +24585,8 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
24542
24585
  transferCountIs: z.ZodOptional<z.ZodNumber>;
24543
24586
  stepCountIs: z.ZodOptional<z.ZodNumber>;
24544
24587
  }, z.core.$strip>>;
24588
+ createdAt: z.ZodString;
24589
+ updatedAt: z.ZodString;
24545
24590
  tools: z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
24546
24591
  createdAt: z.ZodString;
24547
24592
  updatedAt: z.ZodString;
@@ -24574,10 +24619,10 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
24574
24619
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
24575
24620
  id: z.ZodString;
24576
24621
  name: z.ZodString;
24577
- createdAt: z.ZodString;
24578
- updatedAt: z.ZodString;
24579
24622
  description: z.ZodNullable<z.ZodString>;
24580
24623
  agentId: z.ZodString;
24624
+ createdAt: z.ZodString;
24625
+ updatedAt: z.ZodString;
24581
24626
  functionId: z.ZodString;
24582
24627
  relationshipId: z.ZodOptional<z.ZodString>;
24583
24628
  }, z.core.$strip>>>;
@@ -24668,9 +24713,9 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
24668
24713
  name: z.ZodString;
24669
24714
  createdAt: z.ZodString;
24670
24715
  updatedAt: z.ZodString;
24716
+ toolId: z.ZodNullable<z.ZodString>;
24671
24717
  userId: z.ZodNullable<z.ZodString>;
24672
24718
  createdBy: z.ZodNullable<z.ZodString>;
24673
- toolId: z.ZodNullable<z.ZodString>;
24674
24719
  credentialStoreId: z.ZodString;
24675
24720
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
24676
24721
  type: z.ZodEnum<{
@@ -24678,7 +24723,7 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
24678
24723
  readonly keychain: "keychain";
24679
24724
  readonly nango: "nango";
24680
24725
  }>;
24681
- tools: z.ZodOptional<z.ZodArray<drizzle_zod19.BuildSchema<"select", {
24726
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod15.BuildSchema<"select", {
24682
24727
  createdAt: drizzle_orm_pg_core211.PgColumn<{
24683
24728
  name: "created_at";
24684
24729
  tableName: "tools";
@@ -24958,7 +25003,7 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
24958
25003
  }, {}, {
24959
25004
  length: 256;
24960
25005
  }>;
24961
- }, drizzle_zod19.BuildRefine<{
25006
+ }, drizzle_zod15.BuildRefine<{
24962
25007
  createdAt: drizzle_orm_pg_core211.PgColumn<{
24963
25008
  name: "created_at";
24964
25009
  tableName: "tools";
@@ -25257,10 +25302,10 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
25257
25302
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
25258
25303
  id: z.ZodString;
25259
25304
  name: z.ZodString;
25260
- createdAt: z.ZodString;
25261
- updatedAt: z.ZodString;
25262
25305
  description: z.ZodNullable<z.ZodString>;
25263
25306
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
25307
+ createdAt: z.ZodString;
25308
+ updatedAt: z.ZodString;
25264
25309
  contextConfigId: z.ZodNullable<z.ZodString>;
25265
25310
  tools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
25266
25311
  createdAt: z.ZodString;
@@ -25310,10 +25355,10 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
25310
25355
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
25311
25356
  id: z.ZodString;
25312
25357
  name: z.ZodString;
25313
- createdAt: z.ZodString;
25314
- updatedAt: z.ZodString;
25315
25358
  description: z.ZodNullable<z.ZodString>;
25316
25359
  agentId: z.ZodString;
25360
+ createdAt: z.ZodString;
25361
+ updatedAt: z.ZodString;
25317
25362
  functionId: z.ZodString;
25318
25363
  relationshipId: z.ZodOptional<z.ZodString>;
25319
25364
  }, z.core.$strip>>>;
@@ -25370,9 +25415,8 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
25370
25415
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
25371
25416
  id: z.ZodString;
25372
25417
  name: z.ZodString;
25373
- createdAt: z.ZodString;
25374
- updatedAt: z.ZodString;
25375
25418
  description: z.ZodNullable<z.ZodString>;
25419
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
25376
25420
  models: z.ZodNullable<z.ZodType<{
25377
25421
  base?: {
25378
25422
  model?: string | undefined;
@@ -25435,7 +25479,8 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
25435
25479
  }, {
25436
25480
  stepCountIs?: number | undefined;
25437
25481
  }>>>;
25438
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
25482
+ createdAt: z.ZodString;
25483
+ updatedAt: z.ZodString;
25439
25484
  type: z.ZodLiteral<"internal">;
25440
25485
  canUse: z.ZodArray<z.ZodObject<{
25441
25486
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -25475,8 +25520,6 @@ declare const ProjectResponse: z.ZodObject<{
25475
25520
  data: z.ZodObject<{
25476
25521
  id: z.ZodString;
25477
25522
  name: z.ZodString;
25478
- createdAt: z.ZodString;
25479
- updatedAt: z.ZodString;
25480
25523
  description: z.ZodNullable<z.ZodString>;
25481
25524
  models: z.ZodNullable<z.ZodObject<{
25482
25525
  base: z.ZodObject<{
@@ -25496,6 +25539,8 @@ declare const ProjectResponse: z.ZodObject<{
25496
25539
  transferCountIs: z.ZodOptional<z.ZodNumber>;
25497
25540
  stepCountIs: z.ZodOptional<z.ZodNumber>;
25498
25541
  }, z.core.$strip>>;
25542
+ createdAt: z.ZodString;
25543
+ updatedAt: z.ZodString;
25499
25544
  }, {
25500
25545
  out: {};
25501
25546
  in: {};
@@ -25767,10 +25812,10 @@ declare const ApiKeyResponse: z.ZodObject<{
25767
25812
  data: z.ZodObject<{
25768
25813
  id: z.ZodString;
25769
25814
  name: z.ZodNullable<z.ZodString>;
25815
+ agentId: z.ZodString;
25770
25816
  createdAt: z.ZodString;
25771
25817
  updatedAt: z.ZodString;
25772
25818
  expiresAt: z.ZodNullable<z.ZodString>;
25773
- agentId: z.ZodString;
25774
25819
  publicId: z.ZodString;
25775
25820
  keyPrefix: z.ZodString;
25776
25821
  lastUsedAt: z.ZodNullable<z.ZodString>;
@@ -25785,9 +25830,9 @@ declare const CredentialReferenceResponse: z.ZodObject<{
25785
25830
  name: z.ZodString;
25786
25831
  createdAt: z.ZodString;
25787
25832
  updatedAt: z.ZodString;
25833
+ toolId: z.ZodNullable<z.ZodString>;
25788
25834
  userId: z.ZodNullable<z.ZodString>;
25789
25835
  createdBy: z.ZodNullable<z.ZodString>;
25790
- toolId: z.ZodNullable<z.ZodString>;
25791
25836
  credentialStoreId: z.ZodString;
25792
25837
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
25793
25838
  type: z.ZodEnum<{
@@ -25795,7 +25840,7 @@ declare const CredentialReferenceResponse: z.ZodObject<{
25795
25840
  readonly keychain: "keychain";
25796
25841
  readonly nango: "nango";
25797
25842
  }>;
25798
- tools: z.ZodOptional<z.ZodArray<drizzle_zod19.BuildSchema<"select", {
25843
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod15.BuildSchema<"select", {
25799
25844
  createdAt: drizzle_orm_pg_core211.PgColumn<{
25800
25845
  name: "created_at";
25801
25846
  tableName: "tools";
@@ -26075,7 +26120,7 @@ declare const CredentialReferenceResponse: z.ZodObject<{
26075
26120
  }, {}, {
26076
26121
  length: 256;
26077
26122
  }>;
26078
- }, drizzle_zod19.BuildRefine<{
26123
+ }, drizzle_zod15.BuildRefine<{
26079
26124
  createdAt: drizzle_orm_pg_core211.PgColumn<{
26080
26125
  name: "created_at";
26081
26126
  tableName: "tools";
@@ -26388,10 +26433,10 @@ declare const FunctionToolResponse: z.ZodObject<{
26388
26433
  data: z.ZodObject<{
26389
26434
  id: z.ZodString;
26390
26435
  name: z.ZodString;
26391
- createdAt: z.ZodString;
26392
- updatedAt: z.ZodString;
26393
26436
  description: z.ZodNullable<z.ZodString>;
26394
26437
  agentId: z.ZodString;
26438
+ createdAt: z.ZodString;
26439
+ updatedAt: z.ZodString;
26395
26440
  functionId: z.ZodString;
26396
26441
  relationshipId: z.ZodOptional<z.ZodString>;
26397
26442
  }, z.core.$strip>;
@@ -26401,7 +26446,7 @@ declare const SubAgentFunctionToolRelationResponse: z.ZodObject<{
26401
26446
  createdAt: z.ZodString;
26402
26447
  updatedAt: z.ZodString;
26403
26448
  functionToolId: z.ZodString;
26404
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
26449
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
26405
26450
  subAgentId: z.ZodString;
26406
26451
  agentId: z.ZodString;
26407
26452
  projectId: z.ZodString;
@@ -26477,9 +26522,9 @@ declare const SubAgentToolRelationResponse: z.ZodObject<{
26477
26522
  createdAt: z.ZodString;
26478
26523
  updatedAt: z.ZodString;
26479
26524
  toolId: z.ZodString;
26480
- selectedTools: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
26481
- headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
26482
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
26525
+ selectedTools: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
26526
+ headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
26527
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
26483
26528
  subAgentId: z.ZodString;
26484
26529
  agentId: z.ZodString;
26485
26530
  projectId: z.ZodString;
@@ -26549,10 +26594,10 @@ declare const TriggerResponse: z.ZodObject<{
26549
26594
  createdAt: z.ZodString;
26550
26595
  updatedAt: z.ZodString;
26551
26596
  enabled: z.ZodBoolean;
26552
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
26553
- outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
26597
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
26598
+ outputTransform: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
26554
26599
  messageTemplate: z.ZodNullable<z.ZodString>;
26555
- authentication: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
26600
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
26556
26601
  name: z.ZodString;
26557
26602
  description: z.ZodNullable<z.ZodString>;
26558
26603
  agentId: z.ZodString;
@@ -26612,8 +26657,8 @@ declare const TriggerInvocationResponse: z.ZodObject<{
26612
26657
  triggerId: z.ZodString;
26613
26658
  conversationId: z.ZodNullable<z.ZodString>;
26614
26659
  status: z.ZodString;
26615
- requestPayload: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
26616
- transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
26660
+ requestPayload: z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>;
26661
+ transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
26617
26662
  errorMessage: z.ZodNullable<z.ZodString>;
26618
26663
  createdAt: z.ZodString;
26619
26664
  agentId: z.ZodString;
@@ -26626,8 +26671,6 @@ declare const ProjectListResponse: z.ZodObject<{
26626
26671
  data: z.ZodArray<z.ZodObject<{
26627
26672
  id: z.ZodString;
26628
26673
  name: z.ZodString;
26629
- createdAt: z.ZodString;
26630
- updatedAt: z.ZodString;
26631
26674
  description: z.ZodNullable<z.ZodString>;
26632
26675
  models: z.ZodNullable<z.ZodObject<{
26633
26676
  base: z.ZodObject<{
@@ -26647,6 +26690,8 @@ declare const ProjectListResponse: z.ZodObject<{
26647
26690
  transferCountIs: z.ZodOptional<z.ZodNumber>;
26648
26691
  stepCountIs: z.ZodOptional<z.ZodNumber>;
26649
26692
  }, z.core.$strip>>;
26693
+ createdAt: z.ZodString;
26694
+ updatedAt: z.ZodString;
26650
26695
  }, {
26651
26696
  out: {};
26652
26697
  in: {};
@@ -26954,10 +26999,10 @@ declare const ApiKeyListResponse: z.ZodObject<{
26954
26999
  data: z.ZodArray<z.ZodObject<{
26955
27000
  id: z.ZodString;
26956
27001
  name: z.ZodNullable<z.ZodString>;
27002
+ agentId: z.ZodString;
26957
27003
  createdAt: z.ZodString;
26958
27004
  updatedAt: z.ZodString;
26959
27005
  expiresAt: z.ZodNullable<z.ZodString>;
26960
- agentId: z.ZodString;
26961
27006
  publicId: z.ZodString;
26962
27007
  keyPrefix: z.ZodString;
26963
27008
  lastUsedAt: z.ZodNullable<z.ZodString>;
@@ -26978,9 +27023,9 @@ declare const CredentialReferenceListResponse: z.ZodObject<{
26978
27023
  name: z.ZodString;
26979
27024
  createdAt: z.ZodString;
26980
27025
  updatedAt: z.ZodString;
27026
+ toolId: z.ZodNullable<z.ZodString>;
26981
27027
  userId: z.ZodNullable<z.ZodString>;
26982
27028
  createdBy: z.ZodNullable<z.ZodString>;
26983
- toolId: z.ZodNullable<z.ZodString>;
26984
27029
  credentialStoreId: z.ZodString;
26985
27030
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
26986
27031
  type: z.ZodEnum<{
@@ -26988,7 +27033,7 @@ declare const CredentialReferenceListResponse: z.ZodObject<{
26988
27033
  readonly keychain: "keychain";
26989
27034
  readonly nango: "nango";
26990
27035
  }>;
26991
- tools: z.ZodOptional<z.ZodArray<drizzle_zod19.BuildSchema<"select", {
27036
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod15.BuildSchema<"select", {
26992
27037
  createdAt: drizzle_orm_pg_core211.PgColumn<{
26993
27038
  name: "created_at";
26994
27039
  tableName: "tools";
@@ -27268,7 +27313,7 @@ declare const CredentialReferenceListResponse: z.ZodObject<{
27268
27313
  }, {}, {
27269
27314
  length: 256;
27270
27315
  }>;
27271
- }, drizzle_zod19.BuildRefine<{
27316
+ }, drizzle_zod15.BuildRefine<{
27272
27317
  createdAt: drizzle_orm_pg_core211.PgColumn<{
27273
27318
  name: "created_at";
27274
27319
  tableName: "tools";
@@ -27593,10 +27638,10 @@ declare const FunctionToolListResponse: z.ZodObject<{
27593
27638
  data: z.ZodArray<z.ZodObject<{
27594
27639
  id: z.ZodString;
27595
27640
  name: z.ZodString;
27596
- createdAt: z.ZodString;
27597
- updatedAt: z.ZodString;
27598
27641
  description: z.ZodNullable<z.ZodString>;
27599
27642
  agentId: z.ZodString;
27643
+ createdAt: z.ZodString;
27644
+ updatedAt: z.ZodString;
27600
27645
  functionId: z.ZodString;
27601
27646
  relationshipId: z.ZodOptional<z.ZodString>;
27602
27647
  }, z.core.$strip>>;
@@ -27612,7 +27657,7 @@ declare const SubAgentFunctionToolRelationListResponse: z.ZodObject<{
27612
27657
  createdAt: z.ZodString;
27613
27658
  updatedAt: z.ZodString;
27614
27659
  functionToolId: z.ZodString;
27615
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
27660
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
27616
27661
  subAgentId: z.ZodString;
27617
27662
  agentId: z.ZodString;
27618
27663
  projectId: z.ZodString;
@@ -27712,9 +27757,9 @@ declare const SubAgentToolRelationListResponse: z.ZodObject<{
27712
27757
  createdAt: z.ZodString;
27713
27758
  updatedAt: z.ZodString;
27714
27759
  toolId: z.ZodString;
27715
- selectedTools: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
27716
- headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
27717
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
27760
+ selectedTools: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
27761
+ headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
27762
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
27718
27763
  subAgentId: z.ZodString;
27719
27764
  agentId: z.ZodString;
27720
27765
  projectId: z.ZodString;
@@ -27802,10 +27847,10 @@ declare const TriggerListResponse: z.ZodObject<{
27802
27847
  createdAt: z.ZodString;
27803
27848
  updatedAt: z.ZodString;
27804
27849
  enabled: z.ZodBoolean;
27805
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
27806
- outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
27850
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
27851
+ outputTransform: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
27807
27852
  messageTemplate: z.ZodNullable<z.ZodString>;
27808
- authentication: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
27853
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
27809
27854
  name: z.ZodString;
27810
27855
  description: z.ZodNullable<z.ZodString>;
27811
27856
  agentId: z.ZodString;
@@ -27871,8 +27916,8 @@ declare const TriggerInvocationListResponse: z.ZodObject<{
27871
27916
  triggerId: z.ZodString;
27872
27917
  conversationId: z.ZodNullable<z.ZodString>;
27873
27918
  status: z.ZodString;
27874
- requestPayload: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
27875
- transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
27919
+ requestPayload: z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>;
27920
+ transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
27876
27921
  errorMessage: z.ZodNullable<z.ZodString>;
27877
27922
  createdAt: z.ZodString;
27878
27923
  agentId: z.ZodString;
@@ -27891,14 +27936,14 @@ declare const TriggerWithWebhookUrlResponse: z.ZodObject<{
27891
27936
  data: z.ZodObject<{
27892
27937
  id: z.ZodString;
27893
27938
  name: z.ZodString;
27939
+ description: z.ZodNullable<z.ZodString>;
27894
27940
  createdAt: z.ZodString;
27895
27941
  updatedAt: z.ZodString;
27896
- description: z.ZodNullable<z.ZodString>;
27897
27942
  enabled: z.ZodBoolean;
27898
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
27899
- outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
27943
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
27944
+ outputTransform: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
27900
27945
  messageTemplate: z.ZodNullable<z.ZodString>;
27901
- authentication: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
27946
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
27902
27947
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27903
27948
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodObject<{
27904
27949
  algorithm: z.ZodEnum<{
@@ -27952,14 +27997,14 @@ declare const TriggerWithWebhookUrlListResponse: z.ZodObject<{
27952
27997
  data: z.ZodArray<z.ZodObject<{
27953
27998
  id: z.ZodString;
27954
27999
  name: z.ZodString;
28000
+ description: z.ZodNullable<z.ZodString>;
27955
28001
  createdAt: z.ZodString;
27956
28002
  updatedAt: z.ZodString;
27957
- description: z.ZodNullable<z.ZodString>;
27958
28003
  enabled: z.ZodBoolean;
27959
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
27960
- outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
28004
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
28005
+ outputTransform: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
27961
28006
  messageTemplate: z.ZodNullable<z.ZodString>;
27962
- authentication: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
28007
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
27963
28008
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27964
28009
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodObject<{
27965
28010
  algorithm: z.ZodEnum<{
@@ -28096,18 +28141,17 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
28096
28141
  }, z.core.$strip>>;
28097
28142
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
28098
28143
  name: z.ZodString;
28099
- createdAt: z.ZodOptional<z.ZodString>;
28100
- updatedAt: z.ZodOptional<z.ZodString>;
28101
28144
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28102
28145
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28146
+ createdAt: z.ZodOptional<z.ZodString>;
28147
+ updatedAt: z.ZodOptional<z.ZodString>;
28103
28148
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28104
28149
  id: z.ZodString;
28105
28150
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
28106
28151
  id: z.ZodString;
28107
28152
  name: z.ZodString;
28108
- createdAt: z.ZodOptional<z.ZodString>;
28109
- updatedAt: z.ZodOptional<z.ZodString>;
28110
28153
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28154
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
28111
28155
  models: z.ZodOptional<z.ZodObject<{
28112
28156
  base: z.ZodOptional<z.ZodObject<{
28113
28157
  model: z.ZodOptional<z.ZodString>;
@@ -28131,7 +28175,8 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
28131
28175
  }, {
28132
28176
  stepCountIs?: number | undefined;
28133
28177
  }>>>>;
28134
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
28178
+ createdAt: z.ZodOptional<z.ZodString>;
28179
+ updatedAt: z.ZodOptional<z.ZodString>;
28135
28180
  type: z.ZodLiteral<"internal">;
28136
28181
  canUse: z.ZodArray<z.ZodObject<{
28137
28182
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -28235,16 +28280,16 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
28235
28280
  }, z.core.$strip>>>;
28236
28281
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
28237
28282
  name: z.ZodString;
28283
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28238
28284
  createdAt: z.ZodOptional<z.ZodString>;
28239
28285
  updatedAt: z.ZodOptional<z.ZodString>;
28240
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28241
28286
  enabled: z.ZodOptional<z.ZodBoolean>;
28242
- inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
28243
- outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
28287
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
28288
+ outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
28244
28289
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28245
- authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
28290
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
28246
28291
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28247
- signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
28292
+ signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
28248
28293
  id: z.ZodOptional<z.ZodString>;
28249
28294
  }, z.core.$strip>>>;
28250
28295
  contextConfig: z.ZodOptional<z.ZodObject<{
@@ -28423,9 +28468,9 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
28423
28468
  name: z.ZodString;
28424
28469
  createdAt: z.ZodOptional<z.ZodString>;
28425
28470
  updatedAt: z.ZodOptional<z.ZodString>;
28471
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28426
28472
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28427
28473
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28428
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28429
28474
  credentialStoreId: z.ZodString;
28430
28475
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
28431
28476
  type: z.ZodEnum<{
@@ -28445,8 +28490,6 @@ declare const FullProjectSelectResponse: z.ZodObject<{
28445
28490
  data: z.ZodObject<{
28446
28491
  id: z.ZodString;
28447
28492
  name: z.ZodString;
28448
- createdAt: z.ZodString;
28449
- updatedAt: z.ZodString;
28450
28493
  description: z.ZodNullable<z.ZodString>;
28451
28494
  models: z.ZodNullable<z.ZodObject<{
28452
28495
  base: z.ZodObject<{
@@ -28466,20 +28509,21 @@ declare const FullProjectSelectResponse: z.ZodObject<{
28466
28509
  transferCountIs: z.ZodOptional<z.ZodNumber>;
28467
28510
  stepCountIs: z.ZodOptional<z.ZodNumber>;
28468
28511
  }, z.core.$strip>>;
28512
+ createdAt: z.ZodString;
28513
+ updatedAt: z.ZodString;
28469
28514
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
28470
28515
  id: z.ZodString;
28471
28516
  name: z.ZodString;
28472
- createdAt: z.ZodString;
28473
- updatedAt: z.ZodString;
28474
28517
  description: z.ZodNullable<z.ZodString>;
28475
28518
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
28519
+ createdAt: z.ZodString;
28520
+ updatedAt: z.ZodString;
28476
28521
  contextConfigId: z.ZodNullable<z.ZodString>;
28477
28522
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
28478
28523
  id: z.ZodString;
28479
28524
  name: z.ZodString;
28480
- createdAt: z.ZodString;
28481
- updatedAt: z.ZodString;
28482
28525
  description: z.ZodNullable<z.ZodString>;
28526
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
28483
28527
  models: z.ZodNullable<z.ZodType<{
28484
28528
  base?: {
28485
28529
  model?: string | undefined;
@@ -28542,7 +28586,8 @@ declare const FullProjectSelectResponse: z.ZodObject<{
28542
28586
  }, {
28543
28587
  stepCountIs?: number | undefined;
28544
28588
  }>>>;
28545
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
28589
+ createdAt: z.ZodString;
28590
+ updatedAt: z.ZodString;
28546
28591
  type: z.ZodLiteral<"internal">;
28547
28592
  canUse: z.ZodArray<z.ZodObject<{
28548
28593
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -28615,10 +28660,10 @@ declare const FullProjectSelectResponse: z.ZodObject<{
28615
28660
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
28616
28661
  id: z.ZodString;
28617
28662
  name: z.ZodString;
28618
- createdAt: z.ZodString;
28619
- updatedAt: z.ZodString;
28620
28663
  description: z.ZodNullable<z.ZodString>;
28621
28664
  agentId: z.ZodString;
28665
+ createdAt: z.ZodString;
28666
+ updatedAt: z.ZodString;
28622
28667
  functionId: z.ZodString;
28623
28668
  relationshipId: z.ZodOptional<z.ZodString>;
28624
28669
  }, z.core.$strip>>>;
@@ -28705,10 +28750,10 @@ declare const FullProjectSelectResponse: z.ZodObject<{
28705
28750
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
28706
28751
  id: z.ZodString;
28707
28752
  name: z.ZodString;
28708
- createdAt: z.ZodString;
28709
- updatedAt: z.ZodString;
28710
28753
  description: z.ZodNullable<z.ZodString>;
28711
28754
  agentId: z.ZodString;
28755
+ createdAt: z.ZodString;
28756
+ updatedAt: z.ZodString;
28712
28757
  functionId: z.ZodString;
28713
28758
  relationshipId: z.ZodOptional<z.ZodString>;
28714
28759
  }, z.core.$strip>>>;
@@ -28799,9 +28844,9 @@ declare const FullProjectSelectResponse: z.ZodObject<{
28799
28844
  name: z.ZodString;
28800
28845
  createdAt: z.ZodString;
28801
28846
  updatedAt: z.ZodString;
28847
+ toolId: z.ZodNullable<z.ZodString>;
28802
28848
  userId: z.ZodNullable<z.ZodString>;
28803
28849
  createdBy: z.ZodNullable<z.ZodString>;
28804
- toolId: z.ZodNullable<z.ZodString>;
28805
28850
  credentialStoreId: z.ZodString;
28806
28851
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
28807
28852
  type: z.ZodEnum<{
@@ -28809,7 +28854,7 @@ declare const FullProjectSelectResponse: z.ZodObject<{
28809
28854
  readonly keychain: "keychain";
28810
28855
  readonly nango: "nango";
28811
28856
  }>;
28812
- tools: z.ZodOptional<z.ZodArray<drizzle_zod19.BuildSchema<"select", {
28857
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod15.BuildSchema<"select", {
28813
28858
  createdAt: drizzle_orm_pg_core211.PgColumn<{
28814
28859
  name: "created_at";
28815
28860
  tableName: "tools";
@@ -29089,7 +29134,7 @@ declare const FullProjectSelectResponse: z.ZodObject<{
29089
29134
  }, {}, {
29090
29135
  length: 256;
29091
29136
  }>;
29092
- }, drizzle_zod19.BuildRefine<{
29137
+ }, drizzle_zod15.BuildRefine<{
29093
29138
  createdAt: drizzle_orm_pg_core211.PgColumn<{
29094
29139
  name: "created_at";
29095
29140
  tableName: "tools";
@@ -29394,8 +29439,6 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
29394
29439
  data: z.ZodObject<{
29395
29440
  id: z.ZodString;
29396
29441
  name: z.ZodString;
29397
- createdAt: z.ZodString;
29398
- updatedAt: z.ZodString;
29399
29442
  description: z.ZodNullable<z.ZodString>;
29400
29443
  models: z.ZodNullable<z.ZodObject<{
29401
29444
  base: z.ZodObject<{
@@ -29415,6 +29458,8 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
29415
29458
  transferCountIs: z.ZodOptional<z.ZodNumber>;
29416
29459
  stepCountIs: z.ZodOptional<z.ZodNumber>;
29417
29460
  }, z.core.$strip>>;
29461
+ createdAt: z.ZodString;
29462
+ updatedAt: z.ZodString;
29418
29463
  tools: z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
29419
29464
  createdAt: z.ZodString;
29420
29465
  updatedAt: z.ZodString;
@@ -29447,10 +29492,10 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
29447
29492
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
29448
29493
  id: z.ZodString;
29449
29494
  name: z.ZodString;
29450
- createdAt: z.ZodString;
29451
- updatedAt: z.ZodString;
29452
29495
  description: z.ZodNullable<z.ZodString>;
29453
29496
  agentId: z.ZodString;
29497
+ createdAt: z.ZodString;
29498
+ updatedAt: z.ZodString;
29454
29499
  functionId: z.ZodString;
29455
29500
  relationshipId: z.ZodOptional<z.ZodString>;
29456
29501
  }, z.core.$strip>>>;
@@ -29541,9 +29586,9 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
29541
29586
  name: z.ZodString;
29542
29587
  createdAt: z.ZodString;
29543
29588
  updatedAt: z.ZodString;
29589
+ toolId: z.ZodNullable<z.ZodString>;
29544
29590
  userId: z.ZodNullable<z.ZodString>;
29545
29591
  createdBy: z.ZodNullable<z.ZodString>;
29546
- toolId: z.ZodNullable<z.ZodString>;
29547
29592
  credentialStoreId: z.ZodString;
29548
29593
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
29549
29594
  type: z.ZodEnum<{
@@ -29551,7 +29596,7 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
29551
29596
  readonly keychain: "keychain";
29552
29597
  readonly nango: "nango";
29553
29598
  }>;
29554
- tools: z.ZodOptional<z.ZodArray<drizzle_zod19.BuildSchema<"select", {
29599
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod15.BuildSchema<"select", {
29555
29600
  createdAt: drizzle_orm_pg_core211.PgColumn<{
29556
29601
  name: "created_at";
29557
29602
  tableName: "tools";
@@ -29831,7 +29876,7 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
29831
29876
  }, {}, {
29832
29877
  length: 256;
29833
29878
  }>;
29834
- }, drizzle_zod19.BuildRefine<{
29879
+ }, drizzle_zod15.BuildRefine<{
29835
29880
  createdAt: drizzle_orm_pg_core211.PgColumn<{
29836
29881
  name: "created_at";
29837
29882
  tableName: "tools";
@@ -30130,10 +30175,10 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
30130
30175
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
30131
30176
  id: z.ZodString;
30132
30177
  name: z.ZodString;
30133
- createdAt: z.ZodString;
30134
- updatedAt: z.ZodString;
30135
30178
  description: z.ZodNullable<z.ZodString>;
30136
30179
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
30180
+ createdAt: z.ZodString;
30181
+ updatedAt: z.ZodString;
30137
30182
  contextConfigId: z.ZodNullable<z.ZodString>;
30138
30183
  tools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
30139
30184
  createdAt: z.ZodString;
@@ -30183,10 +30228,10 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
30183
30228
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
30184
30229
  id: z.ZodString;
30185
30230
  name: z.ZodString;
30186
- createdAt: z.ZodString;
30187
- updatedAt: z.ZodString;
30188
30231
  description: z.ZodNullable<z.ZodString>;
30189
30232
  agentId: z.ZodString;
30233
+ createdAt: z.ZodString;
30234
+ updatedAt: z.ZodString;
30190
30235
  functionId: z.ZodString;
30191
30236
  relationshipId: z.ZodOptional<z.ZodString>;
30192
30237
  }, z.core.$strip>>>;
@@ -30243,9 +30288,8 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
30243
30288
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
30244
30289
  id: z.ZodString;
30245
30290
  name: z.ZodString;
30246
- createdAt: z.ZodString;
30247
- updatedAt: z.ZodString;
30248
30291
  description: z.ZodNullable<z.ZodString>;
30292
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
30249
30293
  models: z.ZodNullable<z.ZodType<{
30250
30294
  base?: {
30251
30295
  model?: string | undefined;
@@ -30308,7 +30352,8 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
30308
30352
  }, {
30309
30353
  stepCountIs?: number | undefined;
30310
30354
  }>>>;
30311
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
30355
+ createdAt: z.ZodString;
30356
+ updatedAt: z.ZodString;
30312
30357
  type: z.ZodLiteral<"internal">;
30313
30358
  canUse: z.ZodArray<z.ZodObject<{
30314
30359
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -30348,18 +30393,17 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
30348
30393
  declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
30349
30394
  data: z.ZodObject<{
30350
30395
  name: z.ZodString;
30351
- createdAt: z.ZodOptional<z.ZodString>;
30352
- updatedAt: z.ZodOptional<z.ZodString>;
30353
30396
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30354
30397
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30398
+ createdAt: z.ZodOptional<z.ZodString>;
30399
+ updatedAt: z.ZodOptional<z.ZodString>;
30355
30400
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30356
30401
  id: z.ZodString;
30357
30402
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
30358
30403
  id: z.ZodString;
30359
30404
  name: z.ZodString;
30360
- createdAt: z.ZodOptional<z.ZodString>;
30361
- updatedAt: z.ZodOptional<z.ZodString>;
30362
30405
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30406
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
30363
30407
  models: z.ZodOptional<z.ZodObject<{
30364
30408
  base: z.ZodOptional<z.ZodObject<{
30365
30409
  model: z.ZodOptional<z.ZodString>;
@@ -30383,7 +30427,8 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
30383
30427
  }, {
30384
30428
  stepCountIs?: number | undefined;
30385
30429
  }>>>>;
30386
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
30430
+ createdAt: z.ZodOptional<z.ZodString>;
30431
+ updatedAt: z.ZodOptional<z.ZodString>;
30387
30432
  type: z.ZodLiteral<"internal">;
30388
30433
  canUse: z.ZodArray<z.ZodObject<{
30389
30434
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -30487,16 +30532,16 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
30487
30532
  }, z.core.$strip>>>;
30488
30533
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
30489
30534
  name: z.ZodString;
30535
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30490
30536
  createdAt: z.ZodOptional<z.ZodString>;
30491
30537
  updatedAt: z.ZodOptional<z.ZodString>;
30492
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30493
30538
  enabled: z.ZodOptional<z.ZodBoolean>;
30494
- inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
30495
- outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
30539
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
30540
+ outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
30496
30541
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30497
- authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
30542
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
30498
30543
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30499
- signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
30544
+ signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
30500
30545
  id: z.ZodOptional<z.ZodString>;
30501
30546
  }, z.core.$strip>>>;
30502
30547
  contextConfig: z.ZodOptional<z.ZodObject<{
@@ -30543,17 +30588,16 @@ declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
30543
30588
  data: z.ZodObject<{
30544
30589
  id: z.ZodString;
30545
30590
  name: z.ZodString;
30546
- createdAt: z.ZodString;
30547
- updatedAt: z.ZodString;
30548
30591
  description: z.ZodNullable<z.ZodString>;
30549
30592
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
30593
+ createdAt: z.ZodString;
30594
+ updatedAt: z.ZodString;
30550
30595
  contextConfigId: z.ZodNullable<z.ZodString>;
30551
30596
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
30552
30597
  id: z.ZodString;
30553
30598
  name: z.ZodString;
30554
- createdAt: z.ZodString;
30555
- updatedAt: z.ZodString;
30556
30599
  description: z.ZodNullable<z.ZodString>;
30600
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
30557
30601
  models: z.ZodNullable<z.ZodType<{
30558
30602
  base?: {
30559
30603
  model?: string | undefined;
@@ -30616,7 +30660,8 @@ declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
30616
30660
  }, {
30617
30661
  stepCountIs?: number | undefined;
30618
30662
  }>>>;
30619
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
30663
+ createdAt: z.ZodString;
30664
+ updatedAt: z.ZodString;
30620
30665
  type: z.ZodLiteral<"internal">;
30621
30666
  canUse: z.ZodArray<z.ZodObject<{
30622
30667
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -30689,10 +30734,10 @@ declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
30689
30734
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
30690
30735
  id: z.ZodString;
30691
30736
  name: z.ZodString;
30692
- createdAt: z.ZodString;
30693
- updatedAt: z.ZodString;
30694
30737
  description: z.ZodNullable<z.ZodString>;
30695
30738
  agentId: z.ZodString;
30739
+ createdAt: z.ZodString;
30740
+ updatedAt: z.ZodString;
30696
30741
  functionId: z.ZodString;
30697
30742
  relationshipId: z.ZodOptional<z.ZodString>;
30698
30743
  }, z.core.$strip>>>;
@@ -30904,7 +30949,7 @@ declare const SubAgentTeamAgentRelationResponse: z.ZodObject<{
30904
30949
  createdAt: z.ZodString;
30905
30950
  updatedAt: z.ZodString;
30906
30951
  targetAgentId: z.ZodString;
30907
- headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30952
+ headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30908
30953
  subAgentId: z.ZodString;
30909
30954
  agentId: z.ZodString;
30910
30955
  projectId: z.ZodString;
@@ -30917,7 +30962,7 @@ declare const SubAgentTeamAgentRelationListResponse: z.ZodObject<{
30917
30962
  createdAt: z.ZodString;
30918
30963
  updatedAt: z.ZodString;
30919
30964
  targetAgentId: z.ZodString;
30920
- headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30965
+ headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30921
30966
  subAgentId: z.ZodString;
30922
30967
  agentId: z.ZodString;
30923
30968
  projectId: z.ZodString;
@@ -30936,7 +30981,7 @@ declare const SubAgentExternalAgentRelationResponse: z.ZodObject<{
30936
30981
  createdAt: z.ZodString;
30937
30982
  updatedAt: z.ZodString;
30938
30983
  externalAgentId: z.ZodString;
30939
- headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30984
+ headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30940
30985
  subAgentId: z.ZodString;
30941
30986
  agentId: z.ZodString;
30942
30987
  projectId: z.ZodString;
@@ -30949,7 +30994,7 @@ declare const SubAgentExternalAgentRelationListResponse: z.ZodObject<{
30949
30994
  createdAt: z.ZodString;
30950
30995
  updatedAt: z.ZodString;
30951
30996
  externalAgentId: z.ZodString;
30952
- headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30997
+ headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30953
30998
  subAgentId: z.ZodString;
30954
30999
  agentId: z.ZodString;
30955
31000
  projectId: z.ZodString;
@@ -31116,7 +31161,7 @@ declare const PaginationWithRefQueryParamsSchema: z.ZodObject<{
31116
31161
  limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
31117
31162
  ref: z.ZodOptional<z.ZodString>;
31118
31163
  }, z.core.$strip>;
31119
- declare const ProjectMetadataSelectSchema: drizzle_zod19.BuildSchema<"select", {
31164
+ declare const ProjectMetadataSelectSchema: drizzle_zod15.BuildSchema<"select", {
31120
31165
  id: drizzle_orm_pg_core211.PgColumn<{
31121
31166
  name: "id";
31122
31167
  tableName: "project_metadata";
@@ -31210,7 +31255,7 @@ declare const ProjectMetadataSelectSchema: drizzle_zod19.BuildSchema<"select", {
31210
31255
  }, {}, {
31211
31256
  length: 512;
31212
31257
  }>;
31213
- }, drizzle_zod19.BuildRefine<{
31258
+ }, drizzle_zod15.BuildRefine<{
31214
31259
  id: drizzle_orm_pg_core211.PgColumn<{
31215
31260
  name: "id";
31216
31261
  tableName: "project_metadata";
@@ -31321,10 +31366,10 @@ declare const WorkAppGitHubInstallationStatusSchema: z.ZodEnum<{
31321
31366
  disconnected: "disconnected";
31322
31367
  }>;
31323
31368
  declare const WorkAppGitHubAccountTypeSchema: z.ZodEnum<{
31324
- User: "User";
31325
31369
  Organization: "Organization";
31370
+ User: "User";
31326
31371
  }>;
31327
- declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod19.BuildSchema<"select", {
31372
+ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod15.BuildSchema<"select", {
31328
31373
  createdAt: drizzle_orm_pg_core211.PgColumn<{
31329
31374
  name: "created_at";
31330
31375
  tableName: "work_app_github_installations";
@@ -31417,7 +31462,7 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod19.BuildSchema<"
31417
31462
  tableName: "work_app_github_installations";
31418
31463
  dataType: "string";
31419
31464
  columnType: "PgVarchar";
31420
- data: "User" | "Organization";
31465
+ data: "Organization" | "User";
31421
31466
  driverParam: string;
31422
31467
  notNull: true;
31423
31468
  hasDefault: false;
@@ -31430,7 +31475,7 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod19.BuildSchema<"
31430
31475
  generated: undefined;
31431
31476
  }, {}, {
31432
31477
  length: 20;
31433
- $type: "User" | "Organization";
31478
+ $type: "Organization" | "User";
31434
31479
  }>;
31435
31480
  status: drizzle_orm_pg_core211.PgColumn<{
31436
31481
  name: "status";
@@ -31490,7 +31535,7 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod19.BuildSchema<"
31490
31535
  }, {}, {
31491
31536
  length: 256;
31492
31537
  }>;
31493
- }, drizzle_zod19.BuildRefine<{
31538
+ }, drizzle_zod15.BuildRefine<{
31494
31539
  createdAt: drizzle_orm_pg_core211.PgColumn<{
31495
31540
  name: "created_at";
31496
31541
  tableName: "work_app_github_installations";
@@ -31583,7 +31628,7 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod19.BuildSchema<"
31583
31628
  tableName: "work_app_github_installations";
31584
31629
  dataType: "string";
31585
31630
  columnType: "PgVarchar";
31586
- data: "User" | "Organization";
31631
+ data: "Organization" | "User";
31587
31632
  driverParam: string;
31588
31633
  notNull: true;
31589
31634
  hasDefault: false;
@@ -31596,7 +31641,7 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod19.BuildSchema<"
31596
31641
  generated: undefined;
31597
31642
  }, {}, {
31598
31643
  length: 20;
31599
- $type: "User" | "Organization";
31644
+ $type: "Organization" | "User";
31600
31645
  }>;
31601
31646
  status: drizzle_orm_pg_core211.PgColumn<{
31602
31647
  name: "status";
@@ -31659,13 +31704,13 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod19.BuildSchema<"
31659
31704
  }, undefined>, undefined>;
31660
31705
  declare const WorkAppGitHubInstallationInsertSchema: z.ZodObject<{
31661
31706
  id: z.ZodString;
31662
- accountId: z.ZodString;
31663
31707
  tenantId: z.ZodString;
31708
+ accountId: z.ZodString;
31664
31709
  installationId: z.ZodString;
31665
31710
  accountLogin: z.ZodString;
31666
31711
  accountType: z.ZodEnum<{
31667
- User: "User";
31668
31712
  Organization: "Organization";
31713
+ User: "User";
31669
31714
  }>;
31670
31715
  status: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
31671
31716
  pending: "pending";
@@ -31690,13 +31735,13 @@ declare const WorkAppGithubInstallationApiSelectSchema: z.ZodObject<OmitTenantSc
31690
31735
  }>, z.core.$strip>;
31691
31736
  declare const WorkAppGitHubInstallationApiInsertSchema: z.ZodObject<OmitGeneratedFields<{
31692
31737
  id: z.ZodString;
31693
- accountId: z.ZodString;
31694
31738
  tenantId: z.ZodString;
31739
+ accountId: z.ZodString;
31695
31740
  installationId: z.ZodString;
31696
31741
  accountLogin: z.ZodString;
31697
31742
  accountType: z.ZodEnum<{
31698
- User: "User";
31699
31743
  Organization: "Organization";
31744
+ User: "User";
31700
31745
  }>;
31701
31746
  status: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
31702
31747
  pending: "pending";
@@ -31705,7 +31750,7 @@ declare const WorkAppGitHubInstallationApiInsertSchema: z.ZodObject<OmitGenerate
31705
31750
  disconnected: "disconnected";
31706
31751
  }>>>;
31707
31752
  }>, z.core.$strip>;
31708
- declare const WorkAppGitHubRepositorySelectSchema: drizzle_zod19.BuildSchema<"select", {
31753
+ declare const WorkAppGitHubRepositorySelectSchema: drizzle_zod15.BuildSchema<"select", {
31709
31754
  createdAt: drizzle_orm_pg_core211.PgColumn<{
31710
31755
  name: "created_at";
31711
31756
  tableName: "work_app_github_repositories";
@@ -31850,7 +31895,7 @@ declare const WorkAppGitHubRepositorySelectSchema: drizzle_zod19.BuildSchema<"se
31850
31895
  identity: undefined;
31851
31896
  generated: undefined;
31852
31897
  }, {}, {}>;
31853
- }, drizzle_zod19.BuildRefine<{
31898
+ }, drizzle_zod15.BuildRefine<{
31854
31899
  createdAt: drizzle_orm_pg_core211.PgColumn<{
31855
31900
  name: "created_at";
31856
31901
  tableName: "work_app_github_repositories";
@@ -32016,7 +32061,7 @@ declare const WorkAppGitHubRepositoryApiInsertSchema: z.ZodObject<OmitGeneratedF
32016
32061
  repositoryFullName: z.ZodString;
32017
32062
  private: z.ZodOptional<z.ZodBoolean>;
32018
32063
  }>>, z.core.$strip>;
32019
- declare const WorkAppGitHubProjectRepositoryAccessSelectSchema: drizzle_zod19.BuildSchema<"select", {
32064
+ declare const WorkAppGitHubProjectRepositoryAccessSelectSchema: drizzle_zod15.BuildSchema<"select", {
32020
32065
  createdAt: drizzle_orm_pg_core211.PgColumn<{
32021
32066
  name: "created_at";
32022
32067
  tableName: "work_app_github_project_repository_access";
@@ -32127,7 +32172,7 @@ declare const WorkAppGitHubProjectRepositoryAccessSelectSchema: drizzle_zod19.Bu
32127
32172
  }, {}, {
32128
32173
  length: 256;
32129
32174
  }>;
32130
- }, drizzle_zod19.BuildRefine<{
32175
+ }, drizzle_zod15.BuildRefine<{
32131
32176
  createdAt: drizzle_orm_pg_core211.PgColumn<{
32132
32177
  name: "created_at";
32133
32178
  tableName: "work_app_github_project_repository_access";
@@ -32239,7 +32284,7 @@ declare const WorkAppGitHubProjectRepositoryAccessSelectSchema: drizzle_zod19.Bu
32239
32284
  length: 256;
32240
32285
  }>;
32241
32286
  }, undefined>, undefined>;
32242
- declare const WorkAppGitHubMcpToolRepositoryAccessSelectSchema: drizzle_zod19.BuildSchema<"select", {
32287
+ declare const WorkAppGitHubMcpToolRepositoryAccessSelectSchema: drizzle_zod15.BuildSchema<"select", {
32243
32288
  createdAt: drizzle_orm_pg_core211.PgColumn<{
32244
32289
  name: "created_at";
32245
32290
  tableName: "work_app_github_mcp_tool_repository_access";
@@ -32369,7 +32414,7 @@ declare const WorkAppGitHubMcpToolRepositoryAccessSelectSchema: drizzle_zod19.Bu
32369
32414
  }, {}, {
32370
32415
  length: 256;
32371
32416
  }>;
32372
- }, drizzle_zod19.BuildRefine<{
32417
+ }, drizzle_zod15.BuildRefine<{
32373
32418
  createdAt: drizzle_orm_pg_core211.PgColumn<{
32374
32419
  name: "created_at";
32375
32420
  tableName: "work_app_github_mcp_tool_repository_access";
@@ -32523,7 +32568,7 @@ declare const WorkAppGitHubAccessGetResponseSchema: z.ZodObject<{
32523
32568
  all: "all";
32524
32569
  selected: "selected";
32525
32570
  }>;
32526
- repositories: z.ZodArray<drizzle_zod19.BuildSchema<"select", {
32571
+ repositories: z.ZodArray<drizzle_zod15.BuildSchema<"select", {
32527
32572
  createdAt: drizzle_orm_pg_core211.PgColumn<{
32528
32573
  name: "created_at";
32529
32574
  tableName: "work_app_github_repositories";
@@ -32668,7 +32713,7 @@ declare const WorkAppGitHubAccessGetResponseSchema: z.ZodObject<{
32668
32713
  identity: undefined;
32669
32714
  generated: undefined;
32670
32715
  }, {}, {}>;
32671
- }, drizzle_zod19.BuildRefine<{
32716
+ }, drizzle_zod15.BuildRefine<{
32672
32717
  createdAt: drizzle_orm_pg_core211.PgColumn<{
32673
32718
  name: "created_at";
32674
32719
  tableName: "work_app_github_repositories";
@@ -32816,4 +32861,4 @@ declare const WorkAppGitHubAccessGetResponseSchema: z.ZodObject<{
32816
32861
  }, undefined>, undefined>>;
32817
32862
  }, z.core.$strip>;
32818
32863
  //#endregion
32819
- export { AgentApiInsertSchema, AgentApiSelectSchema, AgentApiUpdateSchema, AgentInsertSchema, AgentListResponse, AgentResponse, AgentSelectSchema, AgentStopWhen, AgentStopWhenSchema, AgentUpdateSchema, AgentWithinContextOfProjectResponse, AgentWithinContextOfProjectSchema, AgentWithinContextOfProjectSelectResponse, AgentWithinContextOfProjectSelectSchema, AgentWithinContextOfProjectSelectSchemaWithRelationIds, AllAgentSchema, ApiKeyApiCreationResponseSchema, ApiKeyApiInsertSchema, ApiKeyApiSelectSchema, ApiKeyApiUpdateSchema, ApiKeyInsertSchema, ApiKeyListResponse, ApiKeyResponse, ApiKeySelectSchema, ApiKeyUpdateSchema, ArtifactComponentApiInsertSchema, ArtifactComponentApiSelectSchema, ArtifactComponentApiUpdateSchema, ArtifactComponentArrayResponse, ArtifactComponentInsertSchema, ArtifactComponentListResponse, ArtifactComponentResponse, ArtifactComponentSelectSchema, ArtifactComponentUpdateSchema, CanUseItemSchema, ComponentAssociationListResponse, ComponentAssociationSchema, ComponentJoin, ComponentJoinSchema, ContextCacheApiInsertSchema, ContextCacheApiSelectSchema, ContextCacheApiUpdateSchema, ContextCacheInsertSchema, ContextCacheSelectSchema, ContextCacheUpdateSchema, ContextConfigApiInsertSchema, ContextConfigApiSelectSchema, ContextConfigApiUpdateSchema, ContextConfigInsertSchema, ContextConfigListResponse, ContextConfigResponse, ContextConfigSelectSchema, ContextConfigUpdateSchema, ConversationApiInsertSchema, ConversationApiSelectSchema, ConversationApiUpdateSchema, ConversationInsertSchema, ConversationListResponse, ConversationResponse, ConversationSelectSchema, ConversationUpdateSchema, CreateCredentialInStoreRequestSchema, CreateCredentialInStoreResponseSchema, CredentialReferenceApiInsertSchema, CredentialReferenceApiSelectSchema, CredentialReferenceApiUpdateSchema, CredentialReferenceInsertSchema, CredentialReferenceListResponse, CredentialReferenceResponse, CredentialReferenceSelectSchema, CredentialReferenceUpdateSchema, CredentialStoreListResponseSchema, CredentialStoreSchema, DataComponentApiInsertSchema, DataComponentApiSelectSchema, DataComponentApiUpdateSchema, DataComponentArrayResponse, DataComponentBaseSchema, DataComponentInsertSchema, DataComponentListResponse, DataComponentResponse, DataComponentSelectSchema, DataComponentUpdateSchema, DatasetApiInsertSchema, DatasetApiSelectSchema, DatasetApiUpdateSchema, DatasetInsertSchema, DatasetItemApiInsertSchema, DatasetItemApiSelectSchema, DatasetItemApiUpdateSchema, DatasetItemInsertSchema, DatasetItemSelectSchema, DatasetItemUpdateSchema, DatasetRunApiInsertSchema, DatasetRunApiSelectSchema, DatasetRunApiUpdateSchema, DatasetRunConfigAgentRelationApiInsertSchema, DatasetRunConfigAgentRelationApiSelectSchema, DatasetRunConfigAgentRelationApiUpdateSchema, DatasetRunConfigAgentRelationInsertSchema, DatasetRunConfigAgentRelationSelectSchema, DatasetRunConfigAgentRelationUpdateSchema, DatasetRunConfigApiInsertSchema, DatasetRunConfigApiSelectSchema, DatasetRunConfigApiUpdateSchema, DatasetRunConfigInsertSchema, DatasetRunConfigSelectSchema, DatasetRunConfigUpdateSchema, DatasetRunConversationRelationApiInsertSchema, DatasetRunConversationRelationApiSelectSchema, DatasetRunConversationRelationApiUpdateSchema, DatasetRunConversationRelationInsertSchema, DatasetRunConversationRelationSelectSchema, DatasetRunConversationRelationUpdateSchema, DatasetRunInsertSchema, DatasetRunItemSchema, DatasetRunSelectSchema, DatasetRunUpdateSchema, DatasetSelectSchema, DatasetUpdateSchema, ErrorResponseSchema, EvaluationJobConfigApiInsertSchema, EvaluationJobConfigApiSelectSchema, EvaluationJobConfigApiUpdateSchema, EvaluationJobConfigEvaluatorRelationApiInsertSchema, EvaluationJobConfigEvaluatorRelationApiSelectSchema, EvaluationJobConfigEvaluatorRelationApiUpdateSchema, EvaluationJobConfigEvaluatorRelationInsertSchema, EvaluationJobConfigEvaluatorRelationSelectSchema, EvaluationJobConfigEvaluatorRelationUpdateSchema, EvaluationJobConfigInsertSchema, EvaluationJobConfigSelectSchema, EvaluationJobConfigUpdateSchema, EvaluationJobFilterCriteriaSchema, EvaluationResultApiInsertSchema, EvaluationResultApiSelectSchema, EvaluationResultApiUpdateSchema, EvaluationResultInsertSchema, EvaluationResultSelectSchema, EvaluationResultUpdateSchema, EvaluationRunApiInsertSchema, EvaluationRunApiSelectSchema, EvaluationRunApiUpdateSchema, EvaluationRunConfigApiInsertSchema, EvaluationRunConfigApiSelectSchema, EvaluationRunConfigApiUpdateSchema, EvaluationRunConfigEvaluationSuiteConfigRelationApiInsertSchema, EvaluationRunConfigEvaluationSuiteConfigRelationApiSelectSchema, EvaluationRunConfigEvaluationSuiteConfigRelationApiUpdateSchema, EvaluationRunConfigEvaluationSuiteConfigRelationInsertSchema, EvaluationRunConfigEvaluationSuiteConfigRelationSelectSchema, EvaluationRunConfigEvaluationSuiteConfigRelationUpdateSchema, EvaluationRunConfigInsertSchema, EvaluationRunConfigSelectSchema, EvaluationRunConfigUpdateSchema, EvaluationRunConfigWithSuiteConfigsApiSelectSchema, EvaluationRunInsertSchema, EvaluationRunSelectSchema, EvaluationRunUpdateSchema, EvaluationSuiteConfigApiInsertSchema, EvaluationSuiteConfigApiSelectSchema, EvaluationSuiteConfigApiUpdateSchema, EvaluationSuiteConfigEvaluatorRelationApiInsertSchema, EvaluationSuiteConfigEvaluatorRelationApiSelectSchema, EvaluationSuiteConfigEvaluatorRelationApiUpdateSchema, EvaluationSuiteConfigEvaluatorRelationInsertSchema, EvaluationSuiteConfigEvaluatorRelationSelectSchema, EvaluationSuiteConfigEvaluatorRelationUpdateSchema, EvaluationSuiteConfigInsertSchema, EvaluationSuiteConfigSelectSchema, EvaluationSuiteConfigUpdateSchema, EvaluatorApiInsertSchema, EvaluatorApiSelectSchema, EvaluatorApiUpdateSchema, EvaluatorInsertSchema, EvaluatorSelectSchema, EvaluatorUpdateSchema, ExistsResponseSchema, ExternalAgentApiInsertSchema, ExternalAgentApiSelectSchema, ExternalAgentApiUpdateSchema, ExternalAgentInsertSchema, ExternalAgentListResponse, ExternalAgentResponse, ExternalAgentSelectSchema, ExternalAgentUpdateSchema, ExternalSubAgentRelationApiInsertSchema, ExternalSubAgentRelationInsertSchema, FetchConfigSchema, FetchDefinitionSchema, FullAgentAgentInsertSchema, FullAgentSubAgentSelectSchema, FullAgentSubAgentSelectSchemaWithRelationIds, FullProjectDefinitionResponse, FullProjectDefinitionSchema, FullProjectSelectResponse, FullProjectSelectSchema, FullProjectSelectSchemaWithRelationIds, FullProjectSelectWithRelationIdsResponse, FunctionApiInsertSchema, FunctionApiSelectSchema, FunctionApiUpdateSchema, FunctionInsertSchema, FunctionListResponse, FunctionResponse, FunctionSelectSchema, FunctionToolApiInsertSchema, FunctionToolApiSelectSchema, FunctionToolApiUpdateSchema, FunctionToolConfig, FunctionToolConfigSchema, FunctionToolInsertSchema, FunctionToolListResponse, FunctionToolResponse, FunctionToolSelectSchema, FunctionToolUpdateSchema, FunctionUpdateSchema, HeadersSchema, HeadersScopeSchema, LedgerArtifactApiInsertSchema, LedgerArtifactApiSelectSchema, LedgerArtifactApiUpdateSchema, LedgerArtifactInsertSchema, LedgerArtifactSelectSchema, LedgerArtifactUpdateSchema, ListResponseSchema, MAX_ID_LENGTH, MCPCatalogListResponse, MCPToolConfigSchema, MIN_ID_LENGTH, McpToolDefinitionSchema, McpToolListResponse, McpToolResponse, McpToolSchema, McpTransportConfigSchema, MessageApiInsertSchema, MessageApiSelectSchema, MessageApiUpdateSchema, MessageInsertSchema, MessageListResponse, MessageResponse, MessageSelectSchema, MessageUpdateSchema, ModelSchema, ModelSettings, ModelSettingsSchema, OAuthCallbackQuerySchema, OAuthLoginQuerySchema, PaginationQueryParamsSchema, PaginationSchema, PaginationWithRefQueryParamsSchema, PrebuiltMCPServerSchema, ProjectApiInsertSchema, ProjectApiSelectSchema, ProjectApiUpdateSchema, ProjectInsertSchema, ProjectListResponse, ProjectMetadataInsertSchema, ProjectMetadataSelectSchema, ProjectModelSchema, ProjectResponse, ProjectSelectSchema, ProjectUpdateSchema, RefQueryParamSchema, RelatedAgentInfoListResponse, RelatedAgentInfoSchema, RemovedResponseSchema, ResourceIdSchema, SignatureSource, SignatureSourceSchema, SignatureValidationOptions, SignatureValidationOptionsSchema, SignatureVerificationConfig, SignatureVerificationConfigSchema, SignedComponent, SignedComponentSchema, SimulationAgent, SimulationAgentSchema, SingleResponseSchema, StatusComponentSchema, StatusUpdateSchema, StopWhen, StopWhenSchema, SubAgentApiInsertSchema, SubAgentApiSelectSchema, SubAgentApiUpdateSchema, SubAgentArtifactComponentApiInsertSchema, SubAgentArtifactComponentApiSelectSchema, SubAgentArtifactComponentApiUpdateSchema, SubAgentArtifactComponentInsertSchema, SubAgentArtifactComponentListResponse, SubAgentArtifactComponentResponse, SubAgentArtifactComponentSelectSchema, SubAgentArtifactComponentUpdateSchema, SubAgentDataComponentApiInsertSchema, SubAgentDataComponentApiSelectSchema, SubAgentDataComponentApiUpdateSchema, SubAgentDataComponentInsertSchema, SubAgentDataComponentListResponse, SubAgentDataComponentResponse, SubAgentDataComponentSelectSchema, SubAgentDataComponentUpdateSchema, SubAgentExternalAgentRelationApiInsertSchema, SubAgentExternalAgentRelationApiSelectSchema, SubAgentExternalAgentRelationApiUpdateSchema, SubAgentExternalAgentRelationInsertSchema, SubAgentExternalAgentRelationListResponse, SubAgentExternalAgentRelationResponse, SubAgentExternalAgentRelationSelectSchema, SubAgentExternalAgentRelationUpdateSchema, SubAgentFunctionToolRelationApiInsertSchema, SubAgentFunctionToolRelationApiSelectSchema, SubAgentFunctionToolRelationInsertSchema, SubAgentFunctionToolRelationListResponse, SubAgentFunctionToolRelationResponse, SubAgentFunctionToolRelationSelectSchema, SubAgentInsertSchema, SubAgentListResponse, SubAgentRelationApiInsertSchema, SubAgentRelationApiSelectSchema, SubAgentRelationApiUpdateSchema, SubAgentRelationInsertSchema, SubAgentRelationListResponse, SubAgentRelationQuerySchema, SubAgentRelationResponse, SubAgentRelationSelectSchema, SubAgentRelationUpdateSchema, SubAgentResponse, SubAgentSelectSchema, SubAgentStopWhen, SubAgentStopWhenSchema, SubAgentTeamAgentRelationApiInsertSchema, SubAgentTeamAgentRelationApiSelectSchema, SubAgentTeamAgentRelationApiUpdateSchema, SubAgentTeamAgentRelationInsertSchema, SubAgentTeamAgentRelationListResponse, SubAgentTeamAgentRelationResponse, SubAgentTeamAgentRelationSelectSchema, SubAgentTeamAgentRelationUpdateSchema, SubAgentToolRelationApiInsertSchema, SubAgentToolRelationApiSelectSchema, SubAgentToolRelationApiUpdateSchema, SubAgentToolRelationInsertSchema, SubAgentToolRelationListResponse, SubAgentToolRelationResponse, SubAgentToolRelationSelectSchema, SubAgentToolRelationUpdateSchema, SubAgentUpdateSchema, TaskApiInsertSchema, TaskApiSelectSchema, TaskApiUpdateSchema, TaskInsertSchema, TaskRelationApiInsertSchema, TaskRelationApiSelectSchema, TaskRelationApiUpdateSchema, TaskRelationInsertSchema, TaskRelationSelectSchema, TaskRelationUpdateSchema, TaskSelectSchema, TaskUpdateSchema, TeamAgentSchema, TenantIdParamsSchema, TenantParamsSchema, TenantProjectAgentIdParamsSchema, TenantProjectAgentParamsSchema, TenantProjectAgentSubAgentIdParamsSchema, TenantProjectAgentSubAgentParamsSchema, TenantProjectIdParamsSchema, TenantProjectParamsSchema, ThirdPartyMCPServerResponse, ToolApiInsertSchema, ToolApiSelectSchema, ToolApiUpdateSchema, ToolInsertSchema, ToolListResponse, ToolResponse, ToolSelectSchema, ToolStatusSchema, ToolUpdateSchema, TriggerApiInsertSchema, TriggerApiSelectSchema, TriggerApiUpdateSchema, TriggerAuthHeaderInputSchema, TriggerAuthHeaderStoredSchema, TriggerAuthHeaderUpdateSchema, TriggerAuthenticationInputSchema, TriggerAuthenticationSchema, TriggerAuthenticationStoredSchema, TriggerAuthenticationUpdateSchema, TriggerBatchConversationEvaluationSchema, TriggerConversationEvaluationSchema, TriggerDatasetRunSchema, TriggerEvaluationJobSchema, TriggerInsertSchema, TriggerInvocationApiInsertSchema, TriggerInvocationApiSelectSchema, TriggerInvocationApiUpdateSchema, TriggerInvocationInsertSchema, TriggerInvocationListResponse, TriggerInvocationResponse, TriggerInvocationSelectSchema, TriggerInvocationStatusEnum, TriggerInvocationUpdateSchema, TriggerListResponse, TriggerOutputTransformSchema, TriggerResponse, TriggerSelectSchema, TriggerUpdateSchema, TriggerWithWebhookUrlListResponse, TriggerWithWebhookUrlResponse, TriggerWithWebhookUrlSchema, URL_SAFE_ID_PATTERN, WorkAppGitHubAccessGetResponseSchema, WorkAppGitHubAccessModeSchema, WorkAppGitHubAccessSetRequestSchema, WorkAppGitHubAccessSetResponseSchema, WorkAppGitHubAccountTypeSchema, WorkAppGitHubInstallationApiInsertSchema, WorkAppGitHubInstallationInsertSchema, WorkAppGitHubInstallationSelectSchema, WorkAppGitHubInstallationStatusSchema, WorkAppGitHubMcpToolRepositoryAccessSelectSchema, WorkAppGitHubProjectRepositoryAccessSelectSchema, WorkAppGitHubRepositoryApiInsertSchema, WorkAppGitHubRepositoryInsertSchema, WorkAppGitHubRepositorySelectSchema, WorkAppGithubInstallationApiSelectSchema, canDelegateToExternalAgentInsertSchema, canDelegateToExternalAgentSchema, canDelegateToTeamAgentInsertSchema, canDelegateToTeamAgentSchema, canRelateToInternalSubAgentSchema };
32864
+ export { AgentApiInsertSchema, AgentApiSelectSchema, AgentApiUpdateSchema, AgentInsertSchema, AgentListResponse, AgentResponse, AgentSelectSchema, AgentStopWhen, AgentStopWhenSchema, AgentUpdateSchema, AgentWithinContextOfProjectResponse, AgentWithinContextOfProjectSchema, AgentWithinContextOfProjectSelectResponse, AgentWithinContextOfProjectSelectSchema, AgentWithinContextOfProjectSelectSchemaWithRelationIds, AllAgentSchema, ApiKeyApiCreationResponseSchema, ApiKeyApiInsertSchema, ApiKeyApiSelectSchema, ApiKeyApiUpdateSchema, ApiKeyInsertSchema, ApiKeyListResponse, ApiKeyResponse, ApiKeySelectSchema, ApiKeyUpdateSchema, ArtifactComponentApiInsertSchema, ArtifactComponentApiSelectSchema, ArtifactComponentApiUpdateSchema, ArtifactComponentArrayResponse, ArtifactComponentInsertSchema, ArtifactComponentListResponse, ArtifactComponentResponse, ArtifactComponentSelectSchema, ArtifactComponentUpdateSchema, CanUseItemSchema, ComponentAssociationListResponse, ComponentAssociationSchema, ComponentJoin, ComponentJoinSchema, ContextCacheApiInsertSchema, ContextCacheApiSelectSchema, ContextCacheApiUpdateSchema, ContextCacheInsertSchema, ContextCacheSelectSchema, ContextCacheUpdateSchema, ContextConfigApiInsertSchema, ContextConfigApiSelectSchema, ContextConfigApiUpdateSchema, ContextConfigInsertSchema, ContextConfigListResponse, ContextConfigResponse, ContextConfigSelectSchema, ContextConfigUpdateSchema, ConversationApiInsertSchema, ConversationApiSelectSchema, ConversationApiUpdateSchema, ConversationInsertSchema, ConversationListResponse, ConversationResponse, ConversationSelectSchema, ConversationUpdateSchema, CreateCredentialInStoreRequestSchema, CreateCredentialInStoreResponseSchema, CredentialReferenceApiInsertSchema, CredentialReferenceApiSelectSchema, CredentialReferenceApiUpdateSchema, CredentialReferenceInsertSchema, CredentialReferenceListResponse, CredentialReferenceResponse, CredentialReferenceSelectSchema, CredentialReferenceUpdateSchema, CredentialStoreListResponseSchema, CredentialStoreSchema, DataComponentApiInsertSchema, DataComponentApiSelectSchema, DataComponentApiUpdateSchema, DataComponentArrayResponse, DataComponentBaseSchema, DataComponentInsertSchema, DataComponentListResponse, DataComponentResponse, DataComponentSelectSchema, DataComponentUpdateSchema, DataPartSchema, DatasetApiInsertSchema, DatasetApiSelectSchema, DatasetApiUpdateSchema, DatasetInsertSchema, DatasetItemApiInsertSchema, DatasetItemApiSelectSchema, DatasetItemApiUpdateSchema, DatasetItemInsertSchema, DatasetItemSelectSchema, DatasetItemUpdateSchema, DatasetRunApiInsertSchema, DatasetRunApiSelectSchema, DatasetRunApiUpdateSchema, DatasetRunConfigAgentRelationApiInsertSchema, DatasetRunConfigAgentRelationApiSelectSchema, DatasetRunConfigAgentRelationApiUpdateSchema, DatasetRunConfigAgentRelationInsertSchema, DatasetRunConfigAgentRelationSelectSchema, DatasetRunConfigAgentRelationUpdateSchema, DatasetRunConfigApiInsertSchema, DatasetRunConfigApiSelectSchema, DatasetRunConfigApiUpdateSchema, DatasetRunConfigInsertSchema, DatasetRunConfigSelectSchema, DatasetRunConfigUpdateSchema, DatasetRunConversationRelationApiInsertSchema, DatasetRunConversationRelationApiSelectSchema, DatasetRunConversationRelationApiUpdateSchema, DatasetRunConversationRelationInsertSchema, DatasetRunConversationRelationSelectSchema, DatasetRunConversationRelationUpdateSchema, DatasetRunInsertSchema, DatasetRunItemSchema, DatasetRunSelectSchema, DatasetRunUpdateSchema, DatasetSelectSchema, DatasetUpdateSchema, ErrorResponseSchema, EvaluationJobConfigApiInsertSchema, EvaluationJobConfigApiSelectSchema, EvaluationJobConfigApiUpdateSchema, EvaluationJobConfigEvaluatorRelationApiInsertSchema, EvaluationJobConfigEvaluatorRelationApiSelectSchema, EvaluationJobConfigEvaluatorRelationApiUpdateSchema, EvaluationJobConfigEvaluatorRelationInsertSchema, EvaluationJobConfigEvaluatorRelationSelectSchema, EvaluationJobConfigEvaluatorRelationUpdateSchema, EvaluationJobConfigInsertSchema, EvaluationJobConfigSelectSchema, EvaluationJobConfigUpdateSchema, EvaluationJobFilterCriteriaSchema, EvaluationResultApiInsertSchema, EvaluationResultApiSelectSchema, EvaluationResultApiUpdateSchema, EvaluationResultInsertSchema, EvaluationResultSelectSchema, EvaluationResultUpdateSchema, EvaluationRunApiInsertSchema, EvaluationRunApiSelectSchema, EvaluationRunApiUpdateSchema, EvaluationRunConfigApiInsertSchema, EvaluationRunConfigApiSelectSchema, EvaluationRunConfigApiUpdateSchema, EvaluationRunConfigEvaluationSuiteConfigRelationApiInsertSchema, EvaluationRunConfigEvaluationSuiteConfigRelationApiSelectSchema, EvaluationRunConfigEvaluationSuiteConfigRelationApiUpdateSchema, EvaluationRunConfigEvaluationSuiteConfigRelationInsertSchema, EvaluationRunConfigEvaluationSuiteConfigRelationSelectSchema, EvaluationRunConfigEvaluationSuiteConfigRelationUpdateSchema, EvaluationRunConfigInsertSchema, EvaluationRunConfigSelectSchema, EvaluationRunConfigUpdateSchema, EvaluationRunConfigWithSuiteConfigsApiSelectSchema, EvaluationRunInsertSchema, EvaluationRunSelectSchema, EvaluationRunUpdateSchema, EvaluationSuiteConfigApiInsertSchema, EvaluationSuiteConfigApiSelectSchema, EvaluationSuiteConfigApiUpdateSchema, EvaluationSuiteConfigEvaluatorRelationApiInsertSchema, EvaluationSuiteConfigEvaluatorRelationApiSelectSchema, EvaluationSuiteConfigEvaluatorRelationApiUpdateSchema, EvaluationSuiteConfigEvaluatorRelationInsertSchema, EvaluationSuiteConfigEvaluatorRelationSelectSchema, EvaluationSuiteConfigEvaluatorRelationUpdateSchema, EvaluationSuiteConfigInsertSchema, EvaluationSuiteConfigSelectSchema, EvaluationSuiteConfigUpdateSchema, EvaluatorApiInsertSchema, EvaluatorApiSelectSchema, EvaluatorApiUpdateSchema, EvaluatorInsertSchema, EvaluatorSelectSchema, EvaluatorUpdateSchema, ExistsResponseSchema, ExternalAgentApiInsertSchema, ExternalAgentApiSelectSchema, ExternalAgentApiUpdateSchema, ExternalAgentInsertSchema, ExternalAgentListResponse, ExternalAgentResponse, ExternalAgentSelectSchema, ExternalAgentUpdateSchema, ExternalSubAgentRelationApiInsertSchema, ExternalSubAgentRelationInsertSchema, FetchConfigSchema, FetchDefinitionSchema, FilePartSchema, FullAgentAgentInsertSchema, FullAgentSubAgentSelectSchema, FullAgentSubAgentSelectSchemaWithRelationIds, FullProjectDefinitionResponse, FullProjectDefinitionSchema, FullProjectSelectResponse, FullProjectSelectSchema, FullProjectSelectSchemaWithRelationIds, FullProjectSelectWithRelationIdsResponse, FunctionApiInsertSchema, FunctionApiSelectSchema, FunctionApiUpdateSchema, FunctionInsertSchema, FunctionListResponse, FunctionResponse, FunctionSelectSchema, FunctionToolApiInsertSchema, FunctionToolApiSelectSchema, FunctionToolApiUpdateSchema, FunctionToolConfig, FunctionToolConfigSchema, FunctionToolInsertSchema, FunctionToolListResponse, FunctionToolResponse, FunctionToolSelectSchema, FunctionToolUpdateSchema, FunctionUpdateSchema, HeadersSchema, HeadersScopeSchema, LedgerArtifactApiInsertSchema, LedgerArtifactApiSelectSchema, LedgerArtifactApiUpdateSchema, LedgerArtifactInsertSchema, LedgerArtifactSelectSchema, LedgerArtifactUpdateSchema, ListResponseSchema, MAX_ID_LENGTH, MCPCatalogListResponse, MCPToolConfigSchema, MIN_ID_LENGTH, McpToolDefinitionSchema, McpToolListResponse, McpToolResponse, McpToolSchema, McpTransportConfigSchema, MessageApiInsertSchema, MessageApiSelectSchema, MessageApiUpdateSchema, MessageInsertSchema, MessageListResponse, MessageResponse, MessageSelectSchema, MessageUpdateSchema, ModelSchema, ModelSettings, ModelSettingsSchema, OAuthCallbackQuerySchema, OAuthLoginQuerySchema, PaginationQueryParamsSchema, PaginationSchema, PaginationWithRefQueryParamsSchema, PartSchema, PartSchemaType, PrebuiltMCPServerSchema, ProjectApiInsertSchema, ProjectApiSelectSchema, ProjectApiUpdateSchema, ProjectInsertSchema, ProjectListResponse, ProjectMetadataInsertSchema, ProjectMetadataSelectSchema, ProjectModelSchema, ProjectResponse, ProjectSelectSchema, ProjectUpdateSchema, RefQueryParamSchema, RelatedAgentInfoListResponse, RelatedAgentInfoSchema, RemovedResponseSchema, ResourceIdSchema, SignatureSource, SignatureSourceSchema, SignatureValidationOptions, SignatureValidationOptionsSchema, SignatureVerificationConfig, SignatureVerificationConfigSchema, SignedComponent, SignedComponentSchema, SimulationAgent, SimulationAgentSchema, SingleResponseSchema, StatusComponentSchema, StatusUpdateSchema, StopWhen, StopWhenSchema, SubAgentApiInsertSchema, SubAgentApiSelectSchema, SubAgentApiUpdateSchema, SubAgentArtifactComponentApiInsertSchema, SubAgentArtifactComponentApiSelectSchema, SubAgentArtifactComponentApiUpdateSchema, SubAgentArtifactComponentInsertSchema, SubAgentArtifactComponentListResponse, SubAgentArtifactComponentResponse, SubAgentArtifactComponentSelectSchema, SubAgentArtifactComponentUpdateSchema, SubAgentDataComponentApiInsertSchema, SubAgentDataComponentApiSelectSchema, SubAgentDataComponentApiUpdateSchema, SubAgentDataComponentInsertSchema, SubAgentDataComponentListResponse, SubAgentDataComponentResponse, SubAgentDataComponentSelectSchema, SubAgentDataComponentUpdateSchema, SubAgentExternalAgentRelationApiInsertSchema, SubAgentExternalAgentRelationApiSelectSchema, SubAgentExternalAgentRelationApiUpdateSchema, SubAgentExternalAgentRelationInsertSchema, SubAgentExternalAgentRelationListResponse, SubAgentExternalAgentRelationResponse, SubAgentExternalAgentRelationSelectSchema, SubAgentExternalAgentRelationUpdateSchema, SubAgentFunctionToolRelationApiInsertSchema, SubAgentFunctionToolRelationApiSelectSchema, SubAgentFunctionToolRelationInsertSchema, SubAgentFunctionToolRelationListResponse, SubAgentFunctionToolRelationResponse, SubAgentFunctionToolRelationSelectSchema, SubAgentInsertSchema, SubAgentListResponse, SubAgentRelationApiInsertSchema, SubAgentRelationApiSelectSchema, SubAgentRelationApiUpdateSchema, SubAgentRelationInsertSchema, SubAgentRelationListResponse, SubAgentRelationQuerySchema, SubAgentRelationResponse, SubAgentRelationSelectSchema, SubAgentRelationUpdateSchema, SubAgentResponse, SubAgentSelectSchema, SubAgentStopWhen, SubAgentStopWhenSchema, SubAgentTeamAgentRelationApiInsertSchema, SubAgentTeamAgentRelationApiSelectSchema, SubAgentTeamAgentRelationApiUpdateSchema, SubAgentTeamAgentRelationInsertSchema, SubAgentTeamAgentRelationListResponse, SubAgentTeamAgentRelationResponse, SubAgentTeamAgentRelationSelectSchema, SubAgentTeamAgentRelationUpdateSchema, SubAgentToolRelationApiInsertSchema, SubAgentToolRelationApiSelectSchema, SubAgentToolRelationApiUpdateSchema, SubAgentToolRelationInsertSchema, SubAgentToolRelationListResponse, SubAgentToolRelationResponse, SubAgentToolRelationSelectSchema, SubAgentToolRelationUpdateSchema, SubAgentUpdateSchema, TaskApiInsertSchema, TaskApiSelectSchema, TaskApiUpdateSchema, TaskInsertSchema, TaskRelationApiInsertSchema, TaskRelationApiSelectSchema, TaskRelationApiUpdateSchema, TaskRelationInsertSchema, TaskRelationSelectSchema, TaskRelationUpdateSchema, TaskSelectSchema, TaskUpdateSchema, TeamAgentSchema, TenantIdParamsSchema, TenantParamsSchema, TenantProjectAgentIdParamsSchema, TenantProjectAgentParamsSchema, TenantProjectAgentSubAgentIdParamsSchema, TenantProjectAgentSubAgentParamsSchema, TenantProjectIdParamsSchema, TenantProjectParamsSchema, TextPartSchema, ThirdPartyMCPServerResponse, ToolApiInsertSchema, ToolApiSelectSchema, ToolApiUpdateSchema, ToolInsertSchema, ToolListResponse, ToolResponse, ToolSelectSchema, ToolStatusSchema, ToolUpdateSchema, TriggerApiInsertSchema, TriggerApiSelectSchema, TriggerApiUpdateSchema, TriggerAuthHeaderInputSchema, TriggerAuthHeaderStoredSchema, TriggerAuthHeaderUpdateSchema, TriggerAuthenticationInputSchema, TriggerAuthenticationSchema, TriggerAuthenticationStoredSchema, TriggerAuthenticationUpdateSchema, TriggerBatchConversationEvaluationSchema, TriggerConversationEvaluationSchema, TriggerDatasetRunSchema, TriggerEvaluationJobSchema, TriggerInsertSchema, TriggerInvocationApiInsertSchema, TriggerInvocationApiSelectSchema, TriggerInvocationApiUpdateSchema, TriggerInvocationInsertSchema, TriggerInvocationListResponse, TriggerInvocationResponse, TriggerInvocationSelectSchema, TriggerInvocationStatusEnum, TriggerInvocationUpdateSchema, TriggerListResponse, TriggerOutputTransformSchema, TriggerResponse, TriggerSelectSchema, TriggerUpdateSchema, TriggerWithWebhookUrlListResponse, TriggerWithWebhookUrlResponse, TriggerWithWebhookUrlSchema, URL_SAFE_ID_PATTERN, WorkAppGitHubAccessGetResponseSchema, WorkAppGitHubAccessModeSchema, WorkAppGitHubAccessSetRequestSchema, WorkAppGitHubAccessSetResponseSchema, WorkAppGitHubAccountTypeSchema, WorkAppGitHubInstallationApiInsertSchema, WorkAppGitHubInstallationInsertSchema, WorkAppGitHubInstallationSelectSchema, WorkAppGitHubInstallationStatusSchema, WorkAppGitHubMcpToolRepositoryAccessSelectSchema, WorkAppGitHubProjectRepositoryAccessSelectSchema, WorkAppGitHubRepositoryApiInsertSchema, WorkAppGitHubRepositoryInsertSchema, WorkAppGitHubRepositorySelectSchema, WorkAppGithubInstallationApiSelectSchema, canDelegateToExternalAgentInsertSchema, canDelegateToExternalAgentSchema, canDelegateToTeamAgentInsertSchema, canDelegateToTeamAgentSchema, canRelateToInternalSubAgentSchema };