@inkeep/agents-core 0.0.0-dev-20260122105802 → 0.0.0-dev-20260122151104

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.
@@ -4,7 +4,7 @@ import "../index.js";
4
4
  import { MAX_ID_LENGTH, MIN_ID_LENGTH, URL_SAFE_ID_PATTERN, resourceIdSchema } from "./drizzle-schema-helpers.js";
5
5
  import { z } from "@hono/zod-openapi";
6
6
  import * as drizzle_orm_pg_core662 from "drizzle-orm/pg-core";
7
- import * as drizzle_zod19 from "drizzle-zod";
7
+ import * as drizzle_zod15 from "drizzle-zod";
8
8
 
9
9
  //#region src/validation/schemas.d.ts
10
10
  declare const StopWhenSchema: z.ZodObject<{
@@ -77,7 +77,7 @@ type FunctionToolConfig = Omit<z.infer<typeof FunctionToolConfigSchema>, 'execut
77
77
  };
78
78
  type OmitProjectScope<T> = Omit<T, 'tenantId' | 'projectId'>;
79
79
  type OmitAgentScope<T> = Omit<T, 'tenantId' | 'projectId' | 'agentId'>;
80
- declare const SubAgentSelectSchema: drizzle_zod19.BuildSchema<"select", {
80
+ declare const SubAgentSelectSchema: drizzle_zod15.BuildSchema<"select", {
81
81
  createdAt: drizzle_orm_pg_core662.PgColumn<{
82
82
  name: "created_at";
83
83
  tableName: "sub_agents";
@@ -328,7 +328,7 @@ declare const SubAgentSelectSchema: drizzle_zod19.BuildSchema<"select", {
328
328
  }, {}, {
329
329
  length: 256;
330
330
  }>;
331
- }, drizzle_zod19.BuildRefine<{
331
+ }, drizzle_zod15.BuildRefine<{
332
332
  createdAt: drizzle_orm_pg_core662.PgColumn<{
333
333
  name: "created_at";
334
334
  tableName: "sub_agents";
@@ -769,6 +769,7 @@ declare const SubAgentApiUpdateSchema: z.ZodObject<{
769
769
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
770
770
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
771
771
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
772
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
772
773
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
773
774
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
774
775
  models: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodObject<{
@@ -794,10 +795,9 @@ declare const SubAgentApiUpdateSchema: z.ZodObject<{
794
795
  }, {
795
796
  stepCountIs?: number | undefined;
796
797
  }>>>>>>;
797
- prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
798
798
  conversationHistoryConfig: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>>>;
799
799
  }, z.core.$strip>;
800
- declare const SubAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
800
+ declare const SubAgentRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
801
801
  createdAt: drizzle_orm_pg_core662.PgColumn<{
802
802
  name: "created_at";
803
803
  tableName: "sub_agent_relations";
@@ -965,7 +965,7 @@ declare const SubAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"select",
965
965
  }, {}, {
966
966
  length: 256;
967
967
  }>;
968
- }, drizzle_zod19.BuildRefine<{
968
+ }, drizzle_zod15.BuildRefine<{
969
969
  createdAt: drizzle_orm_pg_core662.PgColumn<{
970
970
  name: "created_at";
971
971
  tableName: "sub_agent_relations";
@@ -1236,7 +1236,7 @@ declare const ExternalSubAgentRelationApiInsertSchema: z.ZodObject<OmitProjectSc
1236
1236
  sourceSubAgentId: z.ZodString;
1237
1237
  externalSubAgentId: z.ZodString;
1238
1238
  }>, z.core.$strip>;
1239
- declare const AgentSelectSchema: drizzle_zod19.BuildSchema<"select", {
1239
+ declare const AgentSelectSchema: drizzle_zod15.BuildSchema<"select", {
1240
1240
  createdAt: drizzle_orm_pg_core662.PgColumn<{
1241
1241
  name: "created_at";
1242
1242
  tableName: "agent";
@@ -1534,7 +1534,7 @@ declare const AgentSelectSchema: drizzle_zod19.BuildSchema<"select", {
1534
1534
  }, {}, {
1535
1535
  length: 256;
1536
1536
  }>;
1537
- }, drizzle_zod19.BuildRefine<{
1537
+ }, drizzle_zod15.BuildRefine<{
1538
1538
  createdAt: drizzle_orm_pg_core662.PgColumn<{
1539
1539
  name: "created_at";
1540
1540
  tableName: "agent";
@@ -1833,7 +1833,7 @@ declare const AgentSelectSchema: drizzle_zod19.BuildSchema<"select", {
1833
1833
  length: 256;
1834
1834
  }>;
1835
1835
  }, undefined>, undefined>;
1836
- declare const AgentInsertSchema: drizzle_zod19.BuildSchema<"insert", {
1836
+ declare const AgentInsertSchema: drizzle_zod15.BuildSchema<"insert", {
1837
1837
  createdAt: drizzle_orm_pg_core662.PgColumn<{
1838
1838
  name: "created_at";
1839
1839
  tableName: "agent";
@@ -2131,7 +2131,7 @@ declare const AgentInsertSchema: drizzle_zod19.BuildSchema<"insert", {
2131
2131
  }, {}, {
2132
2132
  length: 256;
2133
2133
  }>;
2134
- }, drizzle_zod19.BuildRefine<Pick<{
2134
+ }, drizzle_zod15.BuildRefine<Pick<{
2135
2135
  createdAt: drizzle_orm_pg_core662.PgColumn<{
2136
2136
  name: "created_at";
2137
2137
  tableName: "agent";
@@ -2429,7 +2429,7 @@ declare const AgentInsertSchema: drizzle_zod19.BuildSchema<"insert", {
2429
2429
  }, {}, {
2430
2430
  length: 256;
2431
2431
  }>;
2432
- }, "id" | "name" | "description" | "createdAt" | "updatedAt" | "projectId" | "tenantId" | "models" | "stopWhen" | "contextConfigId" | "defaultSubAgentId" | "prompt" | "statusUpdates">, undefined>, undefined>;
2432
+ }, "tenantId" | "projectId" | "id" | "name" | "description" | "prompt" | "createdAt" | "updatedAt" | "models" | "stopWhen" | "defaultSubAgentId" | "contextConfigId" | "statusUpdates">, undefined>, undefined>;
2433
2433
  declare const AgentUpdateSchema: z.ZodObject<{
2434
2434
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2435
2435
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -2698,6 +2698,7 @@ declare const AgentApiSelectSchema: z.ZodObject<OmitProjectScope<{
2698
2698
  declare const AgentApiInsertSchema: z.ZodObject<{
2699
2699
  name: z.ZodString;
2700
2700
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2701
+ prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2701
2702
  createdAt: z.ZodOptional<z.ZodString>;
2702
2703
  updatedAt: z.ZodOptional<z.ZodString>;
2703
2704
  models: z.ZodOptional<z.ZodNullable<z.ZodType<{
@@ -2762,9 +2763,8 @@ declare const AgentApiInsertSchema: z.ZodObject<{
2762
2763
  }, {
2763
2764
  transferCountIs?: number | undefined;
2764
2765
  }>>>>;
2765
- contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2766
2766
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2767
- prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2767
+ contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2768
2768
  statusUpdates: z.ZodOptional<z.ZodNullable<z.ZodType<{
2769
2769
  enabled?: boolean | undefined;
2770
2770
  numEvents?: number | undefined;
@@ -2828,6 +2828,7 @@ declare const AgentApiUpdateSchema: z.ZodObject<{
2828
2828
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2829
2829
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2830
2830
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2831
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2831
2832
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2832
2833
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2833
2834
  models: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
@@ -2892,9 +2893,8 @@ declare const AgentApiUpdateSchema: z.ZodObject<{
2892
2893
  }, {
2893
2894
  transferCountIs?: number | undefined;
2894
2895
  }>>>>>>;
2895
- contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2896
2896
  defaultSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2897
- prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2897
+ contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2898
2898
  statusUpdates: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
2899
2899
  enabled?: boolean | undefined;
2900
2900
  numEvents?: number | undefined;
@@ -3002,7 +3002,7 @@ declare const TriggerInvocationStatusEnum: z.ZodEnum<{
3002
3002
  pending: "pending";
3003
3003
  failed: "failed";
3004
3004
  }>;
3005
- declare const TriggerSelectSchema: drizzle_zod19.BuildSchema<"select", {
3005
+ declare const TriggerSelectSchema: drizzle_zod15.BuildSchema<"select", {
3006
3006
  createdAt: drizzle_orm_pg_core662.PgColumn<{
3007
3007
  name: "created_at";
3008
3008
  tableName: "triggers";
@@ -3263,7 +3263,7 @@ declare const TriggerSelectSchema: drizzle_zod19.BuildSchema<"select", {
3263
3263
  }, {}, {
3264
3264
  length: 256;
3265
3265
  }>;
3266
- }, drizzle_zod19.BuildRefine<{
3266
+ }, drizzle_zod15.BuildRefine<{
3267
3267
  createdAt: drizzle_orm_pg_core662.PgColumn<{
3268
3268
  name: "created_at";
3269
3269
  tableName: "triggers";
@@ -3525,7 +3525,7 @@ declare const TriggerSelectSchema: drizzle_zod19.BuildSchema<"select", {
3525
3525
  length: 256;
3526
3526
  }>;
3527
3527
  }, undefined>, undefined>;
3528
- declare const TriggerInsertSchema: drizzle_zod19.BuildSchema<"insert", {
3528
+ declare const TriggerInsertSchema: drizzle_zod15.BuildSchema<"insert", {
3529
3529
  createdAt: drizzle_orm_pg_core662.PgColumn<{
3530
3530
  name: "created_at";
3531
3531
  tableName: "triggers";
@@ -3786,7 +3786,7 @@ declare const TriggerInsertSchema: drizzle_zod19.BuildSchema<"insert", {
3786
3786
  }, {}, {
3787
3787
  length: 256;
3788
3788
  }>;
3789
- }, drizzle_zod19.BuildRefine<Pick<{
3789
+ }, drizzle_zod15.BuildRefine<Pick<{
3790
3790
  createdAt: drizzle_orm_pg_core662.PgColumn<{
3791
3791
  name: "created_at";
3792
3792
  tableName: "triggers";
@@ -4047,7 +4047,7 @@ declare const TriggerInsertSchema: drizzle_zod19.BuildSchema<"insert", {
4047
4047
  }, {}, {
4048
4048
  length: 256;
4049
4049
  }>;
4050
- }, "id" | "name" | "description" | "createdAt" | "updatedAt" | "projectId" | "tenantId" | "agentId" | "enabled" | "inputSchema" | "outputTransform" | "messageTemplate" | "authentication" | "signingSecret">, undefined>, undefined>;
4050
+ }, "tenantId" | "projectId" | "id" | "name" | "description" | "agentId" | "createdAt" | "updatedAt" | "enabled" | "inputSchema" | "outputTransform" | "messageTemplate" | "authentication" | "signingSecret">, undefined>, undefined>;
4051
4051
  declare const TriggerUpdateSchema: z.ZodObject<{
4052
4052
  name: z.ZodOptional<z.ZodString>;
4053
4053
  description: z.ZodOptional<z.ZodString>;
@@ -4087,7 +4087,7 @@ declare const TriggerApiSelectSchema: z.ZodObject<OmitAgentScope<{
4087
4087
  objectTransformation?: Record<string, string>;
4088
4088
  }>>>;
4089
4089
  messageTemplate: z.ZodNullable<z.ZodString>;
4090
- authentication: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
4090
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
4091
4091
  signingSecret: z.ZodNullable<z.ZodString>;
4092
4092
  name: z.ZodString;
4093
4093
  description: z.ZodNullable<z.ZodString>;
@@ -4117,7 +4117,7 @@ declare const TriggerApiInsertSchema: z.ZodObject<{
4117
4117
  objectTransformation?: Record<string, string>;
4118
4118
  }>>>>;
4119
4119
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4120
- authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
4120
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
4121
4121
  signingSecret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4122
4122
  id: z.ZodOptional<z.ZodString>;
4123
4123
  }, z.core.$strip>;
@@ -4141,7 +4141,7 @@ declare const TriggerApiUpdateSchema: z.ZodObject<{
4141
4141
  signingSecret: z.ZodOptional<z.ZodString>;
4142
4142
  keepExistingSigningSecret: z.ZodOptional<z.ZodBoolean>;
4143
4143
  }, z.core.$strip>;
4144
- declare const TriggerInvocationSelectSchema: drizzle_zod19.BuildSchema<"select", {
4144
+ declare const TriggerInvocationSelectSchema: drizzle_zod15.BuildSchema<"select", {
4145
4145
  triggerId: drizzle_orm_pg_core662.PgColumn<{
4146
4146
  name: "trigger_id";
4147
4147
  tableName: "trigger_invocations";
@@ -4343,7 +4343,7 @@ declare const TriggerInvocationSelectSchema: drizzle_zod19.BuildSchema<"select",
4343
4343
  }, {}, {
4344
4344
  length: 256;
4345
4345
  }>;
4346
- }, drizzle_zod19.BuildRefine<{
4346
+ }, drizzle_zod15.BuildRefine<{
4347
4347
  triggerId: drizzle_orm_pg_core662.PgColumn<{
4348
4348
  name: "trigger_id";
4349
4349
  tableName: "trigger_invocations";
@@ -4546,7 +4546,7 @@ declare const TriggerInvocationSelectSchema: drizzle_zod19.BuildSchema<"select",
4546
4546
  length: 256;
4547
4547
  }>;
4548
4548
  }, undefined>, undefined>;
4549
- declare const TriggerInvocationInsertSchema: drizzle_zod19.BuildSchema<"insert", {
4549
+ declare const TriggerInvocationInsertSchema: drizzle_zod15.BuildSchema<"insert", {
4550
4550
  triggerId: drizzle_orm_pg_core662.PgColumn<{
4551
4551
  name: "trigger_id";
4552
4552
  tableName: "trigger_invocations";
@@ -4748,7 +4748,7 @@ declare const TriggerInvocationInsertSchema: drizzle_zod19.BuildSchema<"insert",
4748
4748
  }, {}, {
4749
4749
  length: 256;
4750
4750
  }>;
4751
- }, drizzle_zod19.BuildRefine<Pick<{
4751
+ }, drizzle_zod15.BuildRefine<Pick<{
4752
4752
  triggerId: drizzle_orm_pg_core662.PgColumn<{
4753
4753
  name: "trigger_id";
4754
4754
  tableName: "trigger_invocations";
@@ -4950,13 +4950,13 @@ declare const TriggerInvocationInsertSchema: drizzle_zod19.BuildSchema<"insert",
4950
4950
  }, {}, {
4951
4951
  length: 256;
4952
4952
  }>;
4953
- }, "id" | "createdAt" | "projectId" | "tenantId" | "conversationId" | "agentId" | "status" | "triggerId" | "requestPayload" | "transformedPayload" | "errorMessage">, undefined>, undefined>;
4953
+ }, "tenantId" | "projectId" | "id" | "agentId" | "createdAt" | "status" | "triggerId" | "conversationId" | "requestPayload" | "transformedPayload" | "errorMessage">, undefined>, undefined>;
4954
4954
  declare const TriggerInvocationUpdateSchema: z.ZodObject<{
4955
4955
  triggerId: z.ZodOptional<z.ZodString>;
4956
4956
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4957
4957
  status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4958
- requestPayload: z.ZodOptional<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
4959
- transformedPayload: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
4958
+ requestPayload: z.ZodOptional<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
4959
+ transformedPayload: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
4960
4960
  errorMessage: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4961
4961
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4962
4962
  agentId: z.ZodOptional<z.ZodString>;
@@ -4971,8 +4971,8 @@ declare const TriggerInvocationApiSelectSchema: z.ZodObject<OmitAgentScope<{
4971
4971
  triggerId: z.ZodString;
4972
4972
  conversationId: z.ZodNullable<z.ZodString>;
4973
4973
  status: z.ZodString;
4974
- requestPayload: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
4975
- transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
4974
+ requestPayload: z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>;
4975
+ transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
4976
4976
  errorMessage: z.ZodNullable<z.ZodString>;
4977
4977
  createdAt: z.ZodString;
4978
4978
  agentId: z.ZodString;
@@ -4982,25 +4982,25 @@ declare const TriggerInvocationApiSelectSchema: z.ZodObject<OmitAgentScope<{
4982
4982
  }>, z.core.$strip>;
4983
4983
  declare const TriggerInvocationApiInsertSchema: z.ZodObject<{
4984
4984
  createdAt: z.ZodOptional<z.ZodString>;
4985
- conversationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4986
4985
  status: z.ZodOptional<z.ZodString>;
4987
4986
  triggerId: z.ZodString;
4988
- requestPayload: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
4989
- transformedPayload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
4987
+ conversationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4988
+ requestPayload: z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>;
4989
+ transformedPayload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
4990
4990
  errorMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4991
4991
  id: z.ZodString;
4992
4992
  }, z.core.$strip>;
4993
4993
  declare const TriggerInvocationApiUpdateSchema: z.ZodObject<{
4994
4994
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4995
4995
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
4996
- conversationId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
4997
4996
  status: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
4998
4997
  triggerId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4999
- requestPayload: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
5000
- transformedPayload: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
4998
+ conversationId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
4999
+ requestPayload: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
5000
+ transformedPayload: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>>;
5001
5001
  errorMessage: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5002
5002
  }, z.core.$strip>;
5003
- declare const TaskSelectSchema: drizzle_zod19.BuildSchema<"select", {
5003
+ declare const TaskSelectSchema: drizzle_zod15.BuildSchema<"select", {
5004
5004
  createdAt: drizzle_orm_pg_core662.PgColumn<{
5005
5005
  name: "created_at";
5006
5006
  tableName: "tasks";
@@ -5214,7 +5214,7 @@ declare const TaskSelectSchema: drizzle_zod19.BuildSchema<"select", {
5214
5214
  }, {}, {
5215
5215
  length: 256;
5216
5216
  }>;
5217
- }, drizzle_zod19.BuildRefine<{
5217
+ }, drizzle_zod15.BuildRefine<{
5218
5218
  createdAt: drizzle_orm_pg_core662.PgColumn<{
5219
5219
  name: "created_at";
5220
5220
  tableName: "tasks";
@@ -5532,11 +5532,10 @@ declare const TaskApiInsertSchema: z.ZodObject<OmitProjectScope<{
5532
5532
  }>, z.core.$strip>;
5533
5533
  declare const TaskApiUpdateSchema: z.ZodObject<{
5534
5534
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5535
+ agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5535
5536
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5536
5537
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5537
5538
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>>>;
5538
- conversationId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5539
- agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5540
5539
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
5541
5540
  type: z.ZodEnum<{
5542
5541
  commit: "commit";
@@ -5547,10 +5546,11 @@ declare const TaskApiUpdateSchema: z.ZodObject<{
5547
5546
  hash: z.ZodString;
5548
5547
  }, z.core.$strip>>>;
5549
5548
  status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5550
- contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5551
5549
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5550
+ contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5551
+ conversationId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5552
5552
  }, z.core.$strip>;
5553
- declare const TaskRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
5553
+ declare const TaskRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
5554
5554
  createdAt: drizzle_orm_pg_core662.PgColumn<{
5555
5555
  name: "created_at";
5556
5556
  tableName: "task_relations";
@@ -5699,7 +5699,7 @@ declare const TaskRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
5699
5699
  }, {}, {
5700
5700
  length: 256;
5701
5701
  }>;
5702
- }, drizzle_zod19.BuildRefine<{
5702
+ }, drizzle_zod15.BuildRefine<{
5703
5703
  createdAt: drizzle_orm_pg_core662.PgColumn<{
5704
5704
  name: "created_at";
5705
5705
  tableName: "task_relations";
@@ -5899,9 +5899,9 @@ declare const TaskRelationApiUpdateSchema: z.ZodObject<{
5899
5899
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5900
5900
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5901
5901
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5902
+ relationType: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5902
5903
  parentTaskId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5903
5904
  childTaskId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5904
- relationType: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5905
5905
  }, z.core.$strip>;
5906
5906
  declare const McpTransportConfigSchema: z.ZodObject<{
5907
5907
  type: z.ZodEnum<{
@@ -5924,7 +5924,7 @@ declare const McpToolDefinitionSchema: z.ZodObject<{
5924
5924
  description: z.ZodOptional<z.ZodString>;
5925
5925
  inputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
5926
5926
  }, z.core.$strip>;
5927
- declare const ToolSelectSchema: drizzle_zod19.BuildSchema<"select", {
5927
+ declare const ToolSelectSchema: drizzle_zod15.BuildSchema<"select", {
5928
5928
  createdAt: drizzle_orm_pg_core662.PgColumn<{
5929
5929
  name: "created_at";
5930
5930
  tableName: "tools";
@@ -6187,7 +6187,7 @@ declare const ToolSelectSchema: drizzle_zod19.BuildSchema<"select", {
6187
6187
  }, {}, {
6188
6188
  length: 256;
6189
6189
  }>;
6190
- }, drizzle_zod19.BuildRefine<{
6190
+ }, drizzle_zod15.BuildRefine<{
6191
6191
  createdAt: drizzle_orm_pg_core662.PgColumn<{
6192
6192
  name: "created_at";
6193
6193
  tableName: "tools";
@@ -6495,7 +6495,7 @@ declare const ToolInsertSchema: z.ZodObject<{
6495
6495
  out: {};
6496
6496
  in: {};
6497
6497
  }>;
6498
- declare const ConversationSelectSchema: drizzle_zod19.BuildSchema<"select", {
6498
+ declare const ConversationSelectSchema: drizzle_zod15.BuildSchema<"select", {
6499
6499
  createdAt: drizzle_orm_pg_core662.PgColumn<{
6500
6500
  name: "created_at";
6501
6501
  tableName: "conversations";
@@ -6724,7 +6724,7 @@ declare const ConversationSelectSchema: drizzle_zod19.BuildSchema<"select", {
6724
6724
  }, {}, {
6725
6725
  length: 256;
6726
6726
  }>;
6727
- }, drizzle_zod19.BuildRefine<{
6727
+ }, drizzle_zod15.BuildRefine<{
6728
6728
  createdAt: drizzle_orm_pg_core662.PgColumn<{
6729
6729
  name: "created_at";
6730
6730
  tableName: "conversations";
@@ -7061,13 +7061,13 @@ declare const ConversationApiInsertSchema: z.ZodObject<OmitProjectScope<{
7061
7061
  }>, z.core.$strip>;
7062
7062
  declare const ConversationApiUpdateSchema: z.ZodObject<{
7063
7063
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7064
+ title: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7065
+ agentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7064
7066
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7065
7067
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7066
- title: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7067
7068
  userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7068
7069
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>>>;
7069
- agentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7070
- activeSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7070
+ contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7071
7071
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
7072
7072
  type: z.ZodEnum<{
7073
7073
  commit: "commit";
@@ -7077,10 +7077,10 @@ declare const ConversationApiUpdateSchema: z.ZodObject<{
7077
7077
  name: z.ZodString;
7078
7078
  hash: z.ZodString;
7079
7079
  }, z.core.$strip>>>;
7080
+ activeSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7080
7081
  lastContextResolution: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7081
- contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7082
7082
  }, z.core.$strip>;
7083
- declare const MessageSelectSchema: drizzle_zod19.BuildSchema<"select", {
7083
+ declare const MessageSelectSchema: drizzle_zod15.BuildSchema<"select", {
7084
7084
  createdAt: drizzle_orm_pg_core662.PgColumn<{
7085
7085
  name: "created_at";
7086
7086
  tableName: "messages";
@@ -7476,7 +7476,7 @@ declare const MessageSelectSchema: drizzle_zod19.BuildSchema<"select", {
7476
7476
  }, {}, {
7477
7477
  length: 256;
7478
7478
  }>;
7479
- }, drizzle_zod19.BuildRefine<{
7479
+ }, drizzle_zod15.BuildRefine<{
7480
7480
  createdAt: drizzle_orm_pg_core662.PgColumn<{
7481
7481
  name: "created_at";
7482
7482
  tableName: "messages";
@@ -7977,8 +7977,8 @@ declare const MessageApiUpdateSchema: z.ZodObject<{
7977
7977
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7978
7978
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>>>>;
7979
7979
  content: z.ZodOptional<z.ZodOptional<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
7980
- conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7981
7980
  role: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7981
+ conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7982
7982
  fromSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7983
7983
  toSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7984
7984
  fromExternalAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
@@ -7992,7 +7992,7 @@ declare const MessageApiUpdateSchema: z.ZodObject<{
7992
7992
  a2aTaskId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7993
7993
  a2aSessionId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7994
7994
  }, z.core.$strip>;
7995
- declare const ContextCacheSelectSchema: drizzle_zod19.BuildSchema<"select", {
7995
+ declare const ContextCacheSelectSchema: drizzle_zod15.BuildSchema<"select", {
7996
7996
  createdAt: drizzle_orm_pg_core662.PgColumn<{
7997
7997
  name: "created_at";
7998
7998
  tableName: "context_cache";
@@ -8242,7 +8242,7 @@ declare const ContextCacheSelectSchema: drizzle_zod19.BuildSchema<"select", {
8242
8242
  }, {}, {
8243
8243
  length: 256;
8244
8244
  }>;
8245
- }, drizzle_zod19.BuildRefine<{
8245
+ }, drizzle_zod15.BuildRefine<{
8246
8246
  createdAt: drizzle_orm_pg_core662.PgColumn<{
8247
8247
  name: "created_at";
8248
8248
  tableName: "context_cache";
@@ -8499,7 +8499,7 @@ declare const ContextCacheInsertSchema: z.ZodObject<{
8499
8499
  conversationId: z.ZodString;
8500
8500
  contextConfigId: z.ZodString;
8501
8501
  contextVariableKey: z.ZodString;
8502
- value: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
8502
+ value: z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>;
8503
8503
  requestHash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8504
8504
  fetchedAt: z.ZodOptional<z.ZodString>;
8505
8505
  fetchSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -8525,7 +8525,7 @@ declare const ContextCacheUpdateSchema: z.ZodObject<{
8525
8525
  conversationId: z.ZodOptional<z.ZodString>;
8526
8526
  contextConfigId: z.ZodOptional<z.ZodString>;
8527
8527
  contextVariableKey: z.ZodOptional<z.ZodString>;
8528
- value: z.ZodOptional<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
8528
+ value: z.ZodOptional<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
8529
8529
  requestHash: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
8530
8530
  fetchedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8531
8531
  fetchSource: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
@@ -8568,7 +8568,7 @@ declare const ContextCacheApiSelectSchema: z.ZodObject<OmitProjectScope<{
8568
8568
  name: string;
8569
8569
  hash: string;
8570
8570
  }>>>;
8571
- value: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
8571
+ value: z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>;
8572
8572
  requestHash: z.ZodNullable<z.ZodString>;
8573
8573
  fetchedAt: z.ZodString;
8574
8574
  fetchSource: z.ZodNullable<z.ZodString>;
@@ -8582,7 +8582,7 @@ declare const ContextCacheApiInsertSchema: z.ZodObject<OmitProjectScope<{
8582
8582
  conversationId: z.ZodString;
8583
8583
  contextConfigId: z.ZodString;
8584
8584
  contextVariableKey: z.ZodString;
8585
- value: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
8585
+ value: z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>;
8586
8586
  requestHash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8587
8587
  fetchedAt: z.ZodOptional<z.ZodString>;
8588
8588
  fetchSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -8601,10 +8601,10 @@ declare const ContextCacheApiInsertSchema: z.ZodObject<OmitProjectScope<{
8601
8601
  }>, z.core.$strip>;
8602
8602
  declare const ContextCacheApiUpdateSchema: z.ZodObject<{
8603
8603
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8604
+ value: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
8604
8605
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8605
8606
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8606
- value: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
8607
- conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8607
+ contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8608
8608
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
8609
8609
  type: z.ZodEnum<{
8610
8610
  commit: "commit";
@@ -8614,13 +8614,13 @@ declare const ContextCacheApiUpdateSchema: z.ZodObject<{
8614
8614
  name: z.ZodString;
8615
8615
  hash: z.ZodString;
8616
8616
  }, z.core.$strip>>>;
8617
- contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8617
+ conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8618
8618
  contextVariableKey: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8619
8619
  requestHash: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8620
8620
  fetchedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8621
8621
  fetchSource: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8622
8622
  }, z.core.$strip>;
8623
- declare const DatasetRunSelectSchema: drizzle_zod19.BuildSchema<"select", {
8623
+ declare const DatasetRunSelectSchema: drizzle_zod15.BuildSchema<"select", {
8624
8624
  createdAt: drizzle_orm_pg_core662.PgColumn<{
8625
8625
  name: "created_at";
8626
8626
  tableName: "dataset_run";
@@ -8763,7 +8763,7 @@ declare const DatasetRunSelectSchema: drizzle_zod19.BuildSchema<"select", {
8763
8763
  }, {}, {
8764
8764
  length: 256;
8765
8765
  }>;
8766
- }, drizzle_zod19.BuildRefine<{
8766
+ }, drizzle_zod15.BuildRefine<{
8767
8767
  createdAt: drizzle_orm_pg_core662.PgColumn<{
8768
8768
  name: "created_at";
8769
8769
  tableName: "dataset_run";
@@ -8947,17 +8947,17 @@ declare const DatasetRunApiInsertSchema: z.ZodObject<{
8947
8947
  createdAt: z.ZodOptional<z.ZodString>;
8948
8948
  updatedAt: z.ZodOptional<z.ZodString>;
8949
8949
  datasetId: z.ZodString;
8950
- datasetRunConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8951
8950
  evaluationJobConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8951
+ datasetRunConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8952
8952
  }, z.core.$strip>;
8953
8953
  declare const DatasetRunApiUpdateSchema: z.ZodObject<{
8954
8954
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8955
8955
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8956
8956
  datasetId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8957
- datasetRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8958
8957
  evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8958
+ datasetRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8959
8959
  }, z.core.$strip>;
8960
- declare const DatasetRunConversationRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
8960
+ declare const DatasetRunConversationRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
8961
8961
  createdAt: drizzle_orm_pg_core662.PgColumn<{
8962
8962
  name: "created_at";
8963
8963
  tableName: "dataset_run_conversation_relations";
@@ -9100,7 +9100,7 @@ declare const DatasetRunConversationRelationSelectSchema: drizzle_zod19.BuildSch
9100
9100
  }, {}, {
9101
9101
  length: 256;
9102
9102
  }>;
9103
- }, drizzle_zod19.BuildRefine<{
9103
+ }, drizzle_zod15.BuildRefine<{
9104
9104
  createdAt: drizzle_orm_pg_core662.PgColumn<{
9105
9105
  name: "created_at";
9106
9106
  tableName: "dataset_run_conversation_relations";
@@ -9283,18 +9283,18 @@ declare const DatasetRunConversationRelationApiSelectSchema: z.ZodObject<OmitPro
9283
9283
  declare const DatasetRunConversationRelationApiInsertSchema: z.ZodObject<{
9284
9284
  createdAt: z.ZodOptional<z.ZodString>;
9285
9285
  updatedAt: z.ZodOptional<z.ZodString>;
9286
- datasetRunId: z.ZodString;
9287
9286
  conversationId: z.ZodString;
9287
+ datasetRunId: z.ZodString;
9288
9288
  datasetItemId: z.ZodString;
9289
9289
  }, z.core.$strip>;
9290
9290
  declare const DatasetRunConversationRelationApiUpdateSchema: z.ZodObject<{
9291
9291
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9292
9292
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9293
- datasetRunId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9294
9293
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9294
+ datasetRunId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9295
9295
  datasetItemId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9296
9296
  }, z.core.$strip>;
9297
- declare const EvaluationResultSelectSchema: drizzle_zod19.BuildSchema<"select", {
9297
+ declare const EvaluationResultSelectSchema: drizzle_zod15.BuildSchema<"select", {
9298
9298
  createdAt: drizzle_orm_pg_core662.PgColumn<{
9299
9299
  name: "created_at";
9300
9300
  tableName: "evaluation_result";
@@ -9456,7 +9456,7 @@ declare const EvaluationResultSelectSchema: drizzle_zod19.BuildSchema<"select",
9456
9456
  }, {}, {
9457
9457
  length: 256;
9458
9458
  }>;
9459
- }, drizzle_zod19.BuildRefine<{
9459
+ }, drizzle_zod15.BuildRefine<{
9460
9460
  createdAt: drizzle_orm_pg_core662.PgColumn<{
9461
9461
  name: "created_at";
9462
9462
  tableName: "evaluation_result";
@@ -9662,19 +9662,19 @@ declare const EvaluationResultApiInsertSchema: z.ZodObject<{
9662
9662
  output: z.ZodOptional<z.ZodNullable<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
9663
9663
  createdAt: z.ZodOptional<z.ZodString>;
9664
9664
  updatedAt: z.ZodOptional<z.ZodString>;
9665
- conversationId: z.ZodString;
9666
9665
  evaluatorId: z.ZodString;
9666
+ conversationId: z.ZodString;
9667
9667
  evaluationRunId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9668
9668
  }, z.core.$strip>;
9669
9669
  declare const EvaluationResultApiUpdateSchema: z.ZodObject<{
9670
9670
  output: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>>>;
9671
9671
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9672
9672
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9673
- conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9674
9673
  evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9674
+ conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9675
9675
  evaluationRunId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9676
9676
  }, z.core.$strip>;
9677
- declare const EvaluationRunSelectSchema: drizzle_zod19.BuildSchema<"select", {
9677
+ declare const EvaluationRunSelectSchema: drizzle_zod15.BuildSchema<"select", {
9678
9678
  createdAt: drizzle_orm_pg_core662.PgColumn<{
9679
9679
  name: "created_at";
9680
9680
  tableName: "evaluation_run";
@@ -9800,7 +9800,7 @@ declare const EvaluationRunSelectSchema: drizzle_zod19.BuildSchema<"select", {
9800
9800
  }, {}, {
9801
9801
  length: 256;
9802
9802
  }>;
9803
- }, drizzle_zod19.BuildRefine<{
9803
+ }, drizzle_zod15.BuildRefine<{
9804
9804
  createdAt: drizzle_orm_pg_core662.PgColumn<{
9805
9805
  name: "created_at";
9806
9806
  tableName: "evaluation_run";
@@ -9963,16 +9963,16 @@ declare const EvaluationRunApiSelectSchema: z.ZodObject<OmitProjectScope<{
9963
9963
  declare const EvaluationRunApiInsertSchema: z.ZodObject<{
9964
9964
  createdAt: z.ZodOptional<z.ZodString>;
9965
9965
  updatedAt: z.ZodOptional<z.ZodString>;
9966
- evaluationJobConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9967
9966
  evaluationRunConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9967
+ evaluationJobConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9968
9968
  }, z.core.$strip>;
9969
9969
  declare const EvaluationRunApiUpdateSchema: z.ZodObject<{
9970
9970
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9971
9971
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9972
- evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9973
9972
  evaluationRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9973
+ evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9974
9974
  }, z.core.$strip>;
9975
- declare const EvaluationRunConfigSelectSchema: drizzle_zod19.BuildSchema<"select", {
9975
+ declare const EvaluationRunConfigSelectSchema: drizzle_zod15.BuildSchema<"select", {
9976
9976
  createdAt: drizzle_orm_pg_core662.PgColumn<{
9977
9977
  name: "created_at";
9978
9978
  tableName: "evaluation_run_config";
@@ -10117,7 +10117,7 @@ declare const EvaluationRunConfigSelectSchema: drizzle_zod19.BuildSchema<"select
10117
10117
  }, {}, {
10118
10118
  length: 256;
10119
10119
  }>;
10120
- }, drizzle_zod19.BuildRefine<{
10120
+ }, drizzle_zod15.BuildRefine<{
10121
10121
  createdAt: drizzle_orm_pg_core662.PgColumn<{
10122
10122
  name: "created_at";
10123
10123
  tableName: "evaluation_run_config";
@@ -10324,7 +10324,7 @@ declare const EvaluationRunConfigWithSuiteConfigsApiSelectSchema: z.ZodObject<{
10324
10324
  isActive: z.ZodBoolean;
10325
10325
  suiteConfigIds: z.ZodArray<z.ZodString>;
10326
10326
  }, z.core.$strip>;
10327
- declare const EvaluationJobConfigSelectSchema: drizzle_zod19.BuildSchema<"select", {
10327
+ declare const EvaluationJobConfigSelectSchema: drizzle_zod15.BuildSchema<"select", {
10328
10328
  createdAt: drizzle_orm_pg_core662.PgColumn<{
10329
10329
  name: "created_at";
10330
10330
  tableName: "evaluation_job_config";
@@ -10449,7 +10449,7 @@ declare const EvaluationJobConfigSelectSchema: drizzle_zod19.BuildSchema<"select
10449
10449
  }, {}, {
10450
10450
  length: 256;
10451
10451
  }>;
10452
- }, drizzle_zod19.BuildRefine<{
10452
+ }, drizzle_zod15.BuildRefine<{
10453
10453
  createdAt: drizzle_orm_pg_core662.PgColumn<{
10454
10454
  name: "created_at";
10455
10455
  tableName: "evaluation_job_config";
@@ -10756,7 +10756,7 @@ declare const EvaluationJobConfigApiUpdateSchema: z.ZodObject<{
10756
10756
  } | undefined;
10757
10757
  }>>>>>>>;
10758
10758
  }, z.core.$strip>;
10759
- declare const EvaluationSuiteConfigSelectSchema: drizzle_zod19.BuildSchema<"select", {
10759
+ declare const EvaluationSuiteConfigSelectSchema: drizzle_zod15.BuildSchema<"select", {
10760
10760
  createdAt: drizzle_orm_pg_core662.PgColumn<{
10761
10761
  name: "created_at";
10762
10762
  tableName: "evaluation_suite_config";
@@ -10884,7 +10884,7 @@ declare const EvaluationSuiteConfigSelectSchema: drizzle_zod19.BuildSchema<"sele
10884
10884
  }, {}, {
10885
10885
  length: 256;
10886
10886
  }>;
10887
- }, drizzle_zod19.BuildRefine<{
10887
+ }, drizzle_zod15.BuildRefine<{
10888
10888
  createdAt: drizzle_orm_pg_core662.PgColumn<{
10889
10889
  name: "created_at";
10890
10890
  tableName: "evaluation_suite_config";
@@ -11060,7 +11060,7 @@ declare const EvaluationSuiteConfigApiUpdateSchema: z.ZodObject<{
11060
11060
  sampleRate: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>>;
11061
11061
  evaluatorIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
11062
11062
  }, z.core.$strip>;
11063
- declare const EvaluationRunConfigEvaluationSuiteConfigRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
11063
+ declare const EvaluationRunConfigEvaluationSuiteConfigRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
11064
11064
  createdAt: drizzle_orm_pg_core662.PgColumn<{
11065
11065
  name: "created_at";
11066
11066
  tableName: "evaluation_run_config_evaluation_suite_config_relations";
@@ -11186,7 +11186,7 @@ declare const EvaluationRunConfigEvaluationSuiteConfigRelationSelectSchema: driz
11186
11186
  }, {}, {
11187
11187
  length: 256;
11188
11188
  }>;
11189
- }, drizzle_zod19.BuildRefine<{
11189
+ }, drizzle_zod15.BuildRefine<{
11190
11190
  createdAt: drizzle_orm_pg_core662.PgColumn<{
11191
11191
  name: "created_at";
11192
11192
  tableName: "evaluation_run_config_evaluation_suite_config_relations";
@@ -11349,16 +11349,16 @@ declare const EvaluationRunConfigEvaluationSuiteConfigRelationApiSelectSchema: z
11349
11349
  declare const EvaluationRunConfigEvaluationSuiteConfigRelationApiInsertSchema: z.ZodObject<{
11350
11350
  createdAt: z.ZodOptional<z.ZodString>;
11351
11351
  updatedAt: z.ZodOptional<z.ZodString>;
11352
- evaluationRunConfigId: z.ZodString;
11353
11352
  evaluationSuiteConfigId: z.ZodString;
11353
+ evaluationRunConfigId: z.ZodString;
11354
11354
  }, z.core.$strip>;
11355
11355
  declare const EvaluationRunConfigEvaluationSuiteConfigRelationApiUpdateSchema: z.ZodObject<{
11356
11356
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11357
11357
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11358
- evaluationRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11359
11358
  evaluationSuiteConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11359
+ evaluationRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11360
11360
  }, z.core.$strip>;
11361
- declare const EvaluationJobConfigEvaluatorRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
11361
+ declare const EvaluationJobConfigEvaluatorRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
11362
11362
  createdAt: drizzle_orm_pg_core662.PgColumn<{
11363
11363
  name: "created_at";
11364
11364
  tableName: "evaluation_job_config_evaluator_relations";
@@ -11484,7 +11484,7 @@ declare const EvaluationJobConfigEvaluatorRelationSelectSchema: drizzle_zod19.Bu
11484
11484
  }, {}, {
11485
11485
  length: 256;
11486
11486
  }>;
11487
- }, drizzle_zod19.BuildRefine<{
11487
+ }, drizzle_zod15.BuildRefine<{
11488
11488
  createdAt: drizzle_orm_pg_core662.PgColumn<{
11489
11489
  name: "created_at";
11490
11490
  tableName: "evaluation_job_config_evaluator_relations";
@@ -11647,16 +11647,16 @@ declare const EvaluationJobConfigEvaluatorRelationApiSelectSchema: z.ZodObject<O
11647
11647
  declare const EvaluationJobConfigEvaluatorRelationApiInsertSchema: z.ZodObject<{
11648
11648
  createdAt: z.ZodOptional<z.ZodString>;
11649
11649
  updatedAt: z.ZodOptional<z.ZodString>;
11650
- evaluationJobConfigId: z.ZodString;
11651
11650
  evaluatorId: z.ZodString;
11651
+ evaluationJobConfigId: z.ZodString;
11652
11652
  }, z.core.$strip>;
11653
11653
  declare const EvaluationJobConfigEvaluatorRelationApiUpdateSchema: z.ZodObject<{
11654
11654
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11655
11655
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11656
- evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11657
11656
  evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11657
+ evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11658
11658
  }, z.core.$strip>;
11659
- declare const EvaluationSuiteConfigEvaluatorRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
11659
+ declare const EvaluationSuiteConfigEvaluatorRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
11660
11660
  createdAt: drizzle_orm_pg_core662.PgColumn<{
11661
11661
  name: "created_at";
11662
11662
  tableName: "evaluation_suite_config_evaluator_relations";
@@ -11782,7 +11782,7 @@ declare const EvaluationSuiteConfigEvaluatorRelationSelectSchema: drizzle_zod19.
11782
11782
  }, {}, {
11783
11783
  length: 256;
11784
11784
  }>;
11785
- }, drizzle_zod19.BuildRefine<{
11785
+ }, drizzle_zod15.BuildRefine<{
11786
11786
  createdAt: drizzle_orm_pg_core662.PgColumn<{
11787
11787
  name: "created_at";
11788
11788
  tableName: "evaluation_suite_config_evaluator_relations";
@@ -11945,16 +11945,16 @@ declare const EvaluationSuiteConfigEvaluatorRelationApiSelectSchema: z.ZodObject
11945
11945
  declare const EvaluationSuiteConfigEvaluatorRelationApiInsertSchema: z.ZodObject<{
11946
11946
  createdAt: z.ZodOptional<z.ZodString>;
11947
11947
  updatedAt: z.ZodOptional<z.ZodString>;
11948
- evaluatorId: z.ZodString;
11949
11948
  evaluationSuiteConfigId: z.ZodString;
11949
+ evaluatorId: z.ZodString;
11950
11950
  }, z.core.$strip>;
11951
11951
  declare const EvaluationSuiteConfigEvaluatorRelationApiUpdateSchema: z.ZodObject<{
11952
11952
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11953
11953
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11954
- evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11955
11954
  evaluationSuiteConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11955
+ evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11956
11956
  }, z.core.$strip>;
11957
- declare const EvaluatorSelectSchema: drizzle_zod19.BuildSchema<"select", {
11957
+ declare const EvaluatorSelectSchema: drizzle_zod15.BuildSchema<"select", {
11958
11958
  createdAt: drizzle_orm_pg_core662.PgColumn<{
11959
11959
  name: "created_at";
11960
11960
  tableName: "evaluator";
@@ -12162,7 +12162,7 @@ declare const EvaluatorSelectSchema: drizzle_zod19.BuildSchema<"select", {
12162
12162
  }, {}, {
12163
12163
  length: 256;
12164
12164
  }>;
12165
- }, drizzle_zod19.BuildRefine<{
12165
+ }, drizzle_zod15.BuildRefine<{
12166
12166
  createdAt: drizzle_orm_pg_core662.PgColumn<{
12167
12167
  name: "created_at";
12168
12168
  tableName: "evaluator";
@@ -12455,8 +12455,7 @@ declare const EvaluatorApiSelectSchema: z.ZodObject<OmitProjectScope<{
12455
12455
  declare const EvaluatorApiInsertSchema: z.ZodObject<{
12456
12456
  name: z.ZodString;
12457
12457
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12458
- createdAt: z.ZodOptional<z.ZodString>;
12459
- updatedAt: z.ZodOptional<z.ZodString>;
12458
+ prompt: z.ZodString;
12460
12459
  model: z.ZodType<{
12461
12460
  model?: string | undefined;
12462
12461
  providerOptions?: Record<string, any> | undefined;
@@ -12470,15 +12469,15 @@ declare const EvaluatorApiInsertSchema: z.ZodObject<{
12470
12469
  model?: string | undefined;
12471
12470
  providerOptions?: Record<string, any> | undefined;
12472
12471
  }>>;
12472
+ createdAt: z.ZodOptional<z.ZodString>;
12473
+ updatedAt: z.ZodOptional<z.ZodString>;
12473
12474
  schema: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
12474
- prompt: z.ZodString;
12475
12475
  passCriteria: z.ZodOptional<z.ZodNullable<z.ZodType<PassCriteria, PassCriteria, z.core.$ZodTypeInternals<PassCriteria, PassCriteria>>>>;
12476
12476
  }, z.core.$strip>;
12477
12477
  declare const EvaluatorApiUpdateSchema: z.ZodObject<{
12478
12478
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12479
12479
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
12480
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12481
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12480
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12482
12481
  model: z.ZodOptional<z.ZodOptional<z.ZodType<{
12483
12482
  model?: string | undefined;
12484
12483
  providerOptions?: Record<string, any> | undefined;
@@ -12492,11 +12491,12 @@ declare const EvaluatorApiUpdateSchema: z.ZodObject<{
12492
12491
  model?: string | undefined;
12493
12492
  providerOptions?: Record<string, any> | undefined;
12494
12493
  }>>>>;
12494
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12495
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12495
12496
  schema: z.ZodOptional<z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
12496
- prompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12497
12497
  passCriteria: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<PassCriteria, PassCriteria, z.core.$ZodTypeInternals<PassCriteria, PassCriteria>>>>>>;
12498
12498
  }, z.core.$strip>;
12499
- declare const DatasetSelectSchema: drizzle_zod19.BuildSchema<"select", {
12499
+ declare const DatasetSelectSchema: drizzle_zod15.BuildSchema<"select", {
12500
12500
  createdAt: drizzle_orm_pg_core662.PgColumn<{
12501
12501
  name: "created_at";
12502
12502
  tableName: "dataset";
@@ -12607,7 +12607,7 @@ declare const DatasetSelectSchema: drizzle_zod19.BuildSchema<"select", {
12607
12607
  }, {}, {
12608
12608
  length: 256;
12609
12609
  }>;
12610
- }, drizzle_zod19.BuildRefine<{
12610
+ }, drizzle_zod15.BuildRefine<{
12611
12611
  createdAt: drizzle_orm_pg_core662.PgColumn<{
12612
12612
  name: "created_at";
12613
12613
  tableName: "dataset";
@@ -12759,7 +12759,7 @@ declare const DatasetApiUpdateSchema: z.ZodObject<{
12759
12759
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12760
12760
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12761
12761
  }, z.core.$strip>;
12762
- declare const DatasetItemSelectSchema: drizzle_zod19.BuildSchema<"select", {
12762
+ declare const DatasetItemSelectSchema: drizzle_zod15.BuildSchema<"select", {
12763
12763
  createdAt: drizzle_orm_pg_core662.PgColumn<{
12764
12764
  name: "created_at";
12765
12765
  tableName: "dataset_item";
@@ -12945,7 +12945,7 @@ declare const DatasetItemSelectSchema: drizzle_zod19.BuildSchema<"select", {
12945
12945
  }, {}, {
12946
12946
  length: 256;
12947
12947
  }>;
12948
- }, drizzle_zod19.BuildRefine<{
12948
+ }, drizzle_zod15.BuildRefine<{
12949
12949
  createdAt: drizzle_orm_pg_core662.PgColumn<{
12950
12950
  name: "created_at";
12951
12951
  tableName: "dataset_item";
@@ -13386,8 +13386,8 @@ declare const DatasetItemApiUpdateSchema: z.ZodObject<{
13386
13386
  }>>>>>>;
13387
13387
  }, z.core.$strip>;
13388
13388
  declare const DatasetRunItemSchema: z.ZodObject<{
13389
- input: z.ZodOptional<z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>>;
13390
13389
  id: z.ZodOptional<z.ZodString>;
13390
+ input: z.ZodOptional<z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>>;
13391
13391
  expectedOutput: z.ZodOptional<z.ZodNullable<z.ZodType<DatasetItemExpectedOutput, DatasetItemExpectedOutput, z.core.$ZodTypeInternals<DatasetItemExpectedOutput, DatasetItemExpectedOutput>>>>;
13392
13392
  simulationAgent: z.ZodOptional<z.ZodNullable<z.ZodType<{
13393
13393
  prompt: string;
@@ -13435,8 +13435,8 @@ declare const DatasetRunItemSchema: z.ZodObject<{
13435
13435
  declare const TriggerDatasetRunSchema: z.ZodObject<{
13436
13436
  datasetRunId: z.ZodString;
13437
13437
  items: z.ZodArray<z.ZodObject<{
13438
- input: z.ZodOptional<z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>>;
13439
13438
  id: z.ZodOptional<z.ZodString>;
13439
+ input: z.ZodOptional<z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>>;
13440
13440
  expectedOutput: z.ZodOptional<z.ZodNullable<z.ZodType<DatasetItemExpectedOutput, DatasetItemExpectedOutput, z.core.$ZodTypeInternals<DatasetItemExpectedOutput, DatasetItemExpectedOutput>>>>;
13441
13441
  simulationAgent: z.ZodOptional<z.ZodNullable<z.ZodType<{
13442
13442
  prompt: string;
@@ -13514,7 +13514,7 @@ declare const TriggerEvaluationJobSchema: z.ZodObject<{
13514
13514
  }, z.core.$strip>>;
13515
13515
  }, z.core.$strip>>>;
13516
13516
  }, z.core.$strip>;
13517
- declare const DatasetRunConfigSelectSchema: drizzle_zod19.BuildSchema<"select", {
13517
+ declare const DatasetRunConfigSelectSchema: drizzle_zod15.BuildSchema<"select", {
13518
13518
  createdAt: drizzle_orm_pg_core662.PgColumn<{
13519
13519
  name: "created_at";
13520
13520
  tableName: "dataset_run_config";
@@ -13659,7 +13659,7 @@ declare const DatasetRunConfigSelectSchema: drizzle_zod19.BuildSchema<"select",
13659
13659
  }, {}, {
13660
13660
  length: 256;
13661
13661
  }>;
13662
- }, drizzle_zod19.BuildRefine<{
13662
+ }, drizzle_zod15.BuildRefine<{
13663
13663
  createdAt: drizzle_orm_pg_core662.PgColumn<{
13664
13664
  name: "created_at";
13665
13665
  tableName: "dataset_run_config";
@@ -13855,7 +13855,7 @@ declare const DatasetRunConfigApiUpdateSchema: z.ZodObject<{
13855
13855
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
13856
13856
  datasetId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13857
13857
  }, z.core.$strip>;
13858
- declare const DatasetRunConfigAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
13858
+ declare const DatasetRunConfigAgentRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
13859
13859
  createdAt: drizzle_orm_pg_core662.PgColumn<{
13860
13860
  name: "created_at";
13861
13861
  tableName: "dataset_run_config_agent_relations";
@@ -13981,7 +13981,7 @@ declare const DatasetRunConfigAgentRelationSelectSchema: drizzle_zod19.BuildSche
13981
13981
  }, {}, {
13982
13982
  length: 256;
13983
13983
  }>;
13984
- }, drizzle_zod19.BuildRefine<{
13984
+ }, drizzle_zod15.BuildRefine<{
13985
13985
  createdAt: drizzle_orm_pg_core662.PgColumn<{
13986
13986
  name: "created_at";
13987
13987
  tableName: "dataset_run_config_agent_relations";
@@ -14142,18 +14142,18 @@ declare const DatasetRunConfigAgentRelationApiSelectSchema: z.ZodObject<OmitProj
14142
14142
  id: z.ZodString;
14143
14143
  }>, z.core.$strip>;
14144
14144
  declare const DatasetRunConfigAgentRelationApiInsertSchema: z.ZodObject<{
14145
+ agentId: z.ZodString;
14145
14146
  createdAt: z.ZodOptional<z.ZodString>;
14146
14147
  updatedAt: z.ZodOptional<z.ZodString>;
14147
14148
  datasetRunConfigId: z.ZodString;
14148
- agentId: z.ZodString;
14149
14149
  }, z.core.$strip>;
14150
14150
  declare const DatasetRunConfigAgentRelationApiUpdateSchema: z.ZodObject<{
14151
+ agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14151
14152
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
14152
14153
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
14153
14154
  datasetRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14154
- agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14155
14155
  }, z.core.$strip>;
14156
- declare const DataComponentSelectSchema: drizzle_zod19.BuildSchema<"select", {
14156
+ declare const DataComponentSelectSchema: drizzle_zod15.BuildSchema<"select", {
14157
14157
  createdAt: drizzle_orm_pg_core662.PgColumn<{
14158
14158
  name: "created_at";
14159
14159
  tableName: "data_components";
@@ -14325,7 +14325,7 @@ declare const DataComponentSelectSchema: drizzle_zod19.BuildSchema<"select", {
14325
14325
  }, {}, {
14326
14326
  length: 256;
14327
14327
  }>;
14328
- }, drizzle_zod19.BuildRefine<{
14328
+ }, drizzle_zod15.BuildRefine<{
14329
14329
  createdAt: drizzle_orm_pg_core662.PgColumn<{
14330
14330
  name: "created_at";
14331
14331
  tableName: "data_components";
@@ -14525,11 +14525,11 @@ declare const DataComponentInsertSchema: z.ZodObject<{
14525
14525
  in: {};
14526
14526
  }>;
14527
14527
  declare const DataComponentBaseSchema: z.ZodObject<{
14528
+ tenantId: z.ZodString;
14529
+ projectId: z.ZodString;
14528
14530
  id: z.ZodString;
14529
14531
  name: z.ZodString;
14530
14532
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14531
- projectId: z.ZodString;
14532
- tenantId: z.ZodString;
14533
14533
  props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
14534
14534
  render: z.ZodOptional<z.ZodNullable<z.ZodType<{
14535
14535
  component: string;
@@ -14641,7 +14641,7 @@ declare const DataComponentApiUpdateSchema: z.ZodObject<{
14641
14641
  mockData: Record<string, unknown>;
14642
14642
  }>>>>>>;
14643
14643
  }, z.core.$strip>;
14644
- declare const SubAgentDataComponentSelectSchema: drizzle_zod19.BuildSchema<"select", {
14644
+ declare const SubAgentDataComponentSelectSchema: drizzle_zod15.BuildSchema<"select", {
14645
14645
  dataComponentId: drizzle_orm_pg_core662.PgColumn<{
14646
14646
  name: "data_component_id";
14647
14647
  tableName: "sub_agent_data_components";
@@ -14773,7 +14773,7 @@ declare const SubAgentDataComponentSelectSchema: drizzle_zod19.BuildSchema<"sele
14773
14773
  }, {}, {
14774
14774
  length: 256;
14775
14775
  }>;
14776
- }, drizzle_zod19.BuildRefine<{
14776
+ }, drizzle_zod15.BuildRefine<{
14777
14777
  dataComponentId: drizzle_orm_pg_core662.PgColumn<{
14778
14778
  name: "data_component_id";
14779
14779
  tableName: "sub_agent_data_components";
@@ -14906,7 +14906,7 @@ declare const SubAgentDataComponentSelectSchema: drizzle_zod19.BuildSchema<"sele
14906
14906
  length: 256;
14907
14907
  }>;
14908
14908
  }, undefined>, undefined>;
14909
- declare const SubAgentDataComponentInsertSchema: drizzle_zod19.BuildSchema<"insert", {
14909
+ declare const SubAgentDataComponentInsertSchema: drizzle_zod15.BuildSchema<"insert", {
14910
14910
  dataComponentId: drizzle_orm_pg_core662.PgColumn<{
14911
14911
  name: "data_component_id";
14912
14912
  tableName: "sub_agent_data_components";
@@ -15038,7 +15038,7 @@ declare const SubAgentDataComponentInsertSchema: drizzle_zod19.BuildSchema<"inse
15038
15038
  }, {}, {
15039
15039
  length: 256;
15040
15040
  }>;
15041
- }, drizzle_zod19.BuildRefine<Pick<{
15041
+ }, drizzle_zod15.BuildRefine<Pick<{
15042
15042
  dataComponentId: drizzle_orm_pg_core662.PgColumn<{
15043
15043
  name: "data_component_id";
15044
15044
  tableName: "sub_agent_data_components";
@@ -15170,7 +15170,7 @@ declare const SubAgentDataComponentInsertSchema: drizzle_zod19.BuildSchema<"inse
15170
15170
  }, {}, {
15171
15171
  length: 256;
15172
15172
  }>;
15173
- }, "id" | "createdAt" | "projectId" | "tenantId" | "agentId" | "subAgentId" | "dataComponentId">, undefined>, undefined>;
15173
+ }, "tenantId" | "projectId" | "id" | "agentId" | "createdAt" | "dataComponentId" | "subAgentId">, undefined>, undefined>;
15174
15174
  declare const SubAgentDataComponentUpdateSchema: z.ZodObject<{
15175
15175
  dataComponentId: z.ZodOptional<z.ZodString>;
15176
15176
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -15194,8 +15194,8 @@ declare const SubAgentDataComponentApiSelectSchema: z.ZodObject<OmitAgentScope<{
15194
15194
  }>, z.core.$strip>;
15195
15195
  declare const SubAgentDataComponentApiInsertSchema: z.ZodObject<{
15196
15196
  agentId: z.ZodString;
15197
- subAgentId: z.ZodString;
15198
15197
  dataComponentId: z.ZodString;
15198
+ subAgentId: z.ZodString;
15199
15199
  }, {
15200
15200
  out: {};
15201
15201
  in: {};
@@ -15203,10 +15203,10 @@ declare const SubAgentDataComponentApiInsertSchema: z.ZodObject<{
15203
15203
  declare const SubAgentDataComponentApiUpdateSchema: z.ZodObject<{
15204
15204
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
15205
15205
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
15206
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
15207
15206
  dataComponentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
15207
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
15208
15208
  }, z.core.$strip>;
15209
- declare const ArtifactComponentSelectSchema: drizzle_zod19.BuildSchema<"select", {
15209
+ declare const ArtifactComponentSelectSchema: drizzle_zod15.BuildSchema<"select", {
15210
15210
  createdAt: drizzle_orm_pg_core662.PgColumn<{
15211
15211
  name: "created_at";
15212
15212
  tableName: "artifact_components";
@@ -15378,7 +15378,7 @@ declare const ArtifactComponentSelectSchema: drizzle_zod19.BuildSchema<"select",
15378
15378
  }, {}, {
15379
15379
  length: 256;
15380
15380
  }>;
15381
- }, drizzle_zod19.BuildRefine<{
15381
+ }, drizzle_zod15.BuildRefine<{
15382
15382
  createdAt: drizzle_orm_pg_core662.PgColumn<{
15383
15383
  name: "created_at";
15384
15384
  tableName: "artifact_components";
@@ -15669,7 +15669,7 @@ declare const ArtifactComponentApiUpdateSchema: z.ZodObject<{
15669
15669
  mockData: Record<string, unknown>;
15670
15670
  }>>>>>>;
15671
15671
  }, z.core.$strip>;
15672
- declare const SubAgentArtifactComponentSelectSchema: drizzle_zod19.BuildSchema<"select", {
15672
+ declare const SubAgentArtifactComponentSelectSchema: drizzle_zod15.BuildSchema<"select", {
15673
15673
  artifactComponentId: drizzle_orm_pg_core662.PgColumn<{
15674
15674
  name: "artifact_component_id";
15675
15675
  tableName: "sub_agent_artifact_components";
@@ -15801,7 +15801,7 @@ declare const SubAgentArtifactComponentSelectSchema: drizzle_zod19.BuildSchema<"
15801
15801
  }, {}, {
15802
15802
  length: 256;
15803
15803
  }>;
15804
- }, drizzle_zod19.BuildRefine<{
15804
+ }, drizzle_zod15.BuildRefine<{
15805
15805
  artifactComponentId: drizzle_orm_pg_core662.PgColumn<{
15806
15806
  name: "artifact_component_id";
15807
15807
  tableName: "sub_agent_artifact_components";
@@ -16049,15 +16049,16 @@ declare const ExternalAgentApiUpdateSchema: z.ZodObject<{
16049
16049
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16050
16050
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16051
16051
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
16052
- baseUrl: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16053
16052
  credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
16054
16053
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
16055
16054
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
16055
+ baseUrl: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16056
16056
  }, z.core.$strip>;
16057
16057
  declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
16058
16058
  id: z.ZodString;
16059
16059
  name: z.ZodString;
16060
16060
  description: z.ZodNullable<z.ZodString>;
16061
+ prompt: z.ZodNullable<z.ZodString>;
16061
16062
  createdAt: z.ZodString;
16062
16063
  updatedAt: z.ZodString;
16063
16064
  models: z.ZodNullable<z.ZodType<{
@@ -16122,20 +16123,19 @@ declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
16122
16123
  }, {
16123
16124
  stepCountIs?: number | undefined;
16124
16125
  }>>>;
16125
- prompt: z.ZodNullable<z.ZodString>;
16126
16126
  conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
16127
16127
  type: z.ZodLiteral<"internal">;
16128
16128
  }, z.core.$strip>, z.ZodObject<{
16129
16129
  id: z.ZodString;
16130
16130
  name: z.ZodString;
16131
16131
  description: z.ZodNullable<z.ZodString>;
16132
- baseUrl: z.ZodString;
16133
16132
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16134
16133
  createdAt: z.ZodString;
16135
16134
  updatedAt: z.ZodString;
16135
+ baseUrl: z.ZodString;
16136
16136
  type: z.ZodLiteral<"external">;
16137
16137
  }, z.core.$strip>], "type">;
16138
- declare const ApiKeySelectSchema: drizzle_zod19.BuildSchema<"select", {
16138
+ declare const ApiKeySelectSchema: drizzle_zod15.BuildSchema<"select", {
16139
16139
  createdAt: drizzle_orm_pg_core662.PgColumn<{
16140
16140
  name: "created_at";
16141
16141
  tableName: "api_keys";
@@ -16356,7 +16356,7 @@ declare const ApiKeySelectSchema: drizzle_zod19.BuildSchema<"select", {
16356
16356
  }, {}, {
16357
16357
  length: 256;
16358
16358
  }>;
16359
- }, drizzle_zod19.BuildRefine<{
16359
+ }, drizzle_zod15.BuildRefine<{
16360
16360
  createdAt: drizzle_orm_pg_core662.PgColumn<{
16361
16361
  name: "created_at";
16362
16362
  tableName: "api_keys";
@@ -16597,10 +16597,10 @@ declare const ApiKeyInsertSchema: z.ZodObject<{
16597
16597
  }>;
16598
16598
  declare const ApiKeyUpdateSchema: z.ZodObject<{
16599
16599
  name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
16600
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16601
16600
  agentId: z.ZodOptional<z.ZodString>;
16602
- expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
16603
16601
  lastUsedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
16602
+ expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
16603
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16604
16604
  }, {
16605
16605
  out: {};
16606
16606
  in: {};
@@ -16608,13 +16608,13 @@ declare const ApiKeyUpdateSchema: z.ZodObject<{
16608
16608
  declare const ApiKeyApiSelectSchema: z.ZodObject<{
16609
16609
  id: z.ZodString;
16610
16610
  name: z.ZodNullable<z.ZodString>;
16611
- createdAt: z.ZodString;
16612
- updatedAt: z.ZodString;
16613
16611
  agentId: z.ZodString;
16614
- expiresAt: z.ZodNullable<z.ZodString>;
16615
16612
  publicId: z.ZodString;
16616
16613
  keyPrefix: z.ZodString;
16617
16614
  lastUsedAt: z.ZodNullable<z.ZodString>;
16615
+ expiresAt: z.ZodNullable<z.ZodString>;
16616
+ createdAt: z.ZodString;
16617
+ updatedAt: z.ZodString;
16618
16618
  }, {
16619
16619
  out: {};
16620
16620
  in: {};
@@ -16624,13 +16624,13 @@ declare const ApiKeyApiCreationResponseSchema: z.ZodObject<{
16624
16624
  apiKey: z.ZodObject<{
16625
16625
  id: z.ZodString;
16626
16626
  name: z.ZodNullable<z.ZodString>;
16627
- createdAt: z.ZodString;
16628
- updatedAt: z.ZodString;
16629
16627
  agentId: z.ZodString;
16630
- expiresAt: z.ZodNullable<z.ZodString>;
16631
16628
  publicId: z.ZodString;
16632
16629
  keyPrefix: z.ZodString;
16633
16630
  lastUsedAt: z.ZodNullable<z.ZodString>;
16631
+ expiresAt: z.ZodNullable<z.ZodString>;
16632
+ createdAt: z.ZodString;
16633
+ updatedAt: z.ZodString;
16634
16634
  }, {
16635
16635
  out: {};
16636
16636
  in: {};
@@ -16640,25 +16640,25 @@ declare const ApiKeyApiCreationResponseSchema: z.ZodObject<{
16640
16640
  }, z.core.$strip>;
16641
16641
  declare const ApiKeyApiInsertSchema: z.ZodObject<{
16642
16642
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16643
- createdAt: z.ZodOptional<z.ZodString>;
16644
- updatedAt: z.ZodOptional<z.ZodString>;
16645
16643
  agentId: z.ZodString;
16646
16644
  expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16645
+ createdAt: z.ZodOptional<z.ZodString>;
16646
+ updatedAt: z.ZodOptional<z.ZodString>;
16647
16647
  }, {
16648
16648
  out: {};
16649
16649
  in: {};
16650
16650
  }>;
16651
16651
  declare const ApiKeyApiUpdateSchema: z.ZodObject<{
16652
16652
  name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
16653
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16654
16653
  agentId: z.ZodOptional<z.ZodString>;
16655
- expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
16656
16654
  lastUsedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
16655
+ expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
16656
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16657
16657
  }, {
16658
16658
  out: {};
16659
16659
  in: {};
16660
16660
  }>;
16661
- declare const CredentialReferenceSelectSchema: drizzle_zod19.BuildSchema<"select", {
16661
+ declare const CredentialReferenceSelectSchema: drizzle_zod15.BuildSchema<"select", {
16662
16662
  createdAt: drizzle_orm_pg_core662.PgColumn<{
16663
16663
  name: "created_at";
16664
16664
  tableName: "credential_references";
@@ -16883,7 +16883,7 @@ declare const CredentialReferenceSelectSchema: drizzle_zod19.BuildSchema<"select
16883
16883
  }, {}, {
16884
16884
  length: 256;
16885
16885
  }>;
16886
- }, drizzle_zod19.BuildRefine<{
16886
+ }, drizzle_zod15.BuildRefine<{
16887
16887
  createdAt: drizzle_orm_pg_core662.PgColumn<{
16888
16888
  name: "created_at";
16889
16889
  tableName: "credential_references";
@@ -17150,15 +17150,15 @@ declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
17150
17150
  updatedAt: z.ZodString;
17151
17151
  credentialStoreId: z.ZodString;
17152
17152
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
17153
- toolId: z.ZodNullable<z.ZodString>;
17154
17153
  userId: z.ZodNullable<z.ZodString>;
17154
+ toolId: z.ZodNullable<z.ZodString>;
17155
17155
  createdBy: z.ZodNullable<z.ZodString>;
17156
17156
  type: z.ZodEnum<{
17157
17157
  readonly memory: "memory";
17158
17158
  readonly keychain: "keychain";
17159
17159
  readonly nango: "nango";
17160
17160
  }>;
17161
- tools: z.ZodOptional<z.ZodArray<drizzle_zod19.BuildSchema<"select", {
17161
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod15.BuildSchema<"select", {
17162
17162
  createdAt: drizzle_orm_pg_core662.PgColumn<{
17163
17163
  name: "created_at";
17164
17164
  tableName: "tools";
@@ -17421,7 +17421,7 @@ declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
17421
17421
  }, {}, {
17422
17422
  length: 256;
17423
17423
  }>;
17424
- }, drizzle_zod19.BuildRefine<{
17424
+ }, drizzle_zod15.BuildRefine<{
17425
17425
  createdAt: drizzle_orm_pg_core662.PgColumn<{
17426
17426
  name: "created_at";
17427
17427
  tableName: "tools";
@@ -17707,8 +17707,8 @@ declare const CredentialReferenceApiInsertSchema: z.ZodObject<{
17707
17707
  updatedAt: z.ZodOptional<z.ZodString>;
17708
17708
  credentialStoreId: z.ZodString;
17709
17709
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
17710
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17711
17710
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17711
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17712
17712
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17713
17713
  type: z.ZodEnum<{
17714
17714
  readonly memory: "memory";
@@ -17723,8 +17723,8 @@ declare const CredentialReferenceApiUpdateSchema: z.ZodObject<{
17723
17723
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
17724
17724
  credentialStoreId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
17725
17725
  retrievalParams: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>>;
17726
- toolId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
17727
17726
  userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
17727
+ toolId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
17728
17728
  createdBy: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
17729
17729
  type: z.ZodOptional<z.ZodEnum<{
17730
17730
  readonly memory: "memory";
@@ -17848,19 +17848,19 @@ declare const McpToolSchema: z.ZodObject<{
17848
17848
  declare const MCPToolConfigSchema: z.ZodObject<{
17849
17849
  id: z.ZodString;
17850
17850
  name: z.ZodString;
17851
- createdBy: z.ZodOptional<z.ZodString>;
17852
17851
  expiresAt: z.ZodOptional<z.ZodString>;
17852
+ createdBy: z.ZodOptional<z.ZodString>;
17853
17853
  headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
17854
17854
  credentialScope: z.ZodOptional<z.ZodString>;
17855
17855
  imageUrl: z.ZodOptional<z.ZodString>;
17856
17856
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
17857
17857
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17858
- relationshipId: z.ZodOptional<z.ZodString>;
17859
17858
  availableTools: z.ZodOptional<z.ZodArray<z.ZodObject<{
17860
17859
  name: z.ZodString;
17861
17860
  description: z.ZodOptional<z.ZodString>;
17862
17861
  inputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
17863
17862
  }, z.core.$strip>>>;
17863
+ relationshipId: z.ZodOptional<z.ZodString>;
17864
17864
  tenantId: z.ZodOptional<z.ZodString>;
17865
17865
  projectId: z.ZodOptional<z.ZodString>;
17866
17866
  description: z.ZodOptional<z.ZodString>;
@@ -17887,8 +17887,8 @@ declare const MCPToolConfigSchema: z.ZodObject<{
17887
17887
  updatedAt: z.ZodOptional<z.ZodString>;
17888
17888
  credentialStoreId: z.ZodString;
17889
17889
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
17890
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17891
17890
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17891
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17892
17892
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17893
17893
  type: z.ZodEnum<{
17894
17894
  readonly memory: "memory";
@@ -18024,10 +18024,6 @@ declare const ToolApiUpdateSchema: z.ZodObject<{
18024
18024
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18025
18025
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18026
18026
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
18027
- credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
18028
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18029
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18030
- 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>>>>>>>;
18031
18027
  config: z.ZodOptional<z.ZodOptional<z.ZodObject<{
18032
18028
  type: z.ZodLiteral<"mcp">;
18033
18029
  mcp: z.ZodObject<{
@@ -18054,12 +18050,16 @@ declare const ToolApiUpdateSchema: z.ZodObject<{
18054
18050
  prompt: z.ZodOptional<z.ZodString>;
18055
18051
  }, z.core.$strip>;
18056
18052
  }, z.core.$strip>>>;
18053
+ credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
18054
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18055
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18056
+ 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>>>>>>>;
18057
18057
  credentialScope: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18058
18058
  imageUrl: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18059
18059
  capabilities: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>>>;
18060
18060
  lastError: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
18061
18061
  }, z.core.$strip>;
18062
- declare const FunctionToolSelectSchema: drizzle_zod19.BuildSchema<"select", {
18062
+ declare const FunctionToolSelectSchema: drizzle_zod15.BuildSchema<"select", {
18063
18063
  createdAt: drizzle_orm_pg_core662.PgColumn<{
18064
18064
  name: "created_at";
18065
18065
  tableName: "function_tools";
@@ -18225,7 +18225,7 @@ declare const FunctionToolSelectSchema: drizzle_zod19.BuildSchema<"select", {
18225
18225
  }, {}, {
18226
18226
  length: 256;
18227
18227
  }>;
18228
- }, drizzle_zod19.BuildRefine<{
18228
+ }, drizzle_zod15.BuildRefine<{
18229
18229
  createdAt: drizzle_orm_pg_core662.PgColumn<{
18230
18230
  name: "created_at";
18231
18231
  tableName: "function_tools";
@@ -18424,9 +18424,9 @@ declare const FunctionToolApiSelectSchema: z.ZodObject<{
18424
18424
  id: z.ZodString;
18425
18425
  name: z.ZodString;
18426
18426
  description: z.ZodNullable<z.ZodString>;
18427
+ agentId: z.ZodString;
18427
18428
  createdAt: z.ZodString;
18428
18429
  updatedAt: z.ZodString;
18429
- agentId: z.ZodString;
18430
18430
  functionId: z.ZodString;
18431
18431
  relationshipId: z.ZodOptional<z.ZodString>;
18432
18432
  }, z.core.$strip>;
@@ -18445,12 +18445,12 @@ declare const FunctionToolApiUpdateSchema: z.ZodObject<{
18445
18445
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18446
18446
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18447
18447
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
18448
+ agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18448
18449
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18449
18450
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18450
- agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18451
18451
  functionId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18452
18452
  }, z.core.$strip>;
18453
- declare const SubAgentFunctionToolRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
18453
+ declare const SubAgentFunctionToolRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
18454
18454
  createdAt: drizzle_orm_pg_core662.PgColumn<{
18455
18455
  name: "created_at";
18456
18456
  tableName: "sub_agent_function_tool_relations";
@@ -18599,7 +18599,7 @@ declare const SubAgentFunctionToolRelationSelectSchema: drizzle_zod19.BuildSchem
18599
18599
  }, {}, {
18600
18600
  length: 256;
18601
18601
  }>;
18602
- }, drizzle_zod19.BuildRefine<{
18602
+ }, drizzle_zod15.BuildRefine<{
18603
18603
  createdAt: drizzle_orm_pg_core662.PgColumn<{
18604
18604
  name: "created_at";
18605
18605
  tableName: "sub_agent_function_tool_relations";
@@ -18779,7 +18779,7 @@ declare const SubAgentFunctionToolRelationApiInsertSchema: z.ZodObject<{
18779
18779
  out: {};
18780
18780
  in: {};
18781
18781
  }>;
18782
- declare const FunctionSelectSchema: drizzle_zod19.BuildSchema<"select", {
18782
+ declare const FunctionSelectSchema: drizzle_zod15.BuildSchema<"select", {
18783
18783
  createdAt: drizzle_orm_pg_core662.PgColumn<{
18784
18784
  name: "created_at";
18785
18785
  tableName: "functions";
@@ -18926,7 +18926,7 @@ declare const FunctionSelectSchema: drizzle_zod19.BuildSchema<"select", {
18926
18926
  }, {}, {
18927
18927
  length: 256;
18928
18928
  }>;
18929
- }, drizzle_zod19.BuildRefine<{
18929
+ }, drizzle_zod15.BuildRefine<{
18930
18930
  createdAt: drizzle_orm_pg_core662.PgColumn<{
18931
18931
  name: "created_at";
18932
18932
  tableName: "functions";
@@ -19174,8 +19174,8 @@ declare const FetchDefinitionSchema: z.ZodObject<{
19174
19174
  updatedAt: z.ZodOptional<z.ZodString>;
19175
19175
  credentialStoreId: z.ZodString;
19176
19176
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
19177
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19178
19177
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19178
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19179
19179
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19180
19180
  type: z.ZodEnum<{
19181
19181
  readonly memory: "memory";
@@ -19198,9 +19198,9 @@ declare const ContextConfigSelectSchema: z.ZodObject<{
19198
19198
  in: {};
19199
19199
  }>;
19200
19200
  declare const ContextConfigInsertSchema: z.ZodObject<{
19201
- id: z.ZodOptional<z.ZodString>;
19202
- projectId: z.ZodString;
19203
19201
  tenantId: z.ZodString;
19202
+ projectId: z.ZodString;
19203
+ id: z.ZodOptional<z.ZodString>;
19204
19204
  agentId: z.ZodString;
19205
19205
  headersSchema: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
19206
19206
  contextVariables: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
@@ -19209,9 +19209,9 @@ declare const ContextConfigInsertSchema: z.ZodObject<{
19209
19209
  in: {};
19210
19210
  }>;
19211
19211
  declare const ContextConfigUpdateSchema: z.ZodObject<{
19212
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19213
- projectId: z.ZodOptional<z.ZodString>;
19214
19212
  tenantId: z.ZodOptional<z.ZodString>;
19213
+ projectId: z.ZodOptional<z.ZodString>;
19214
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19215
19215
  agentId: z.ZodOptional<z.ZodString>;
19216
19216
  headersSchema: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>;
19217
19217
  contextVariables: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>;
@@ -19236,7 +19236,7 @@ declare const ContextConfigApiUpdateSchema: z.ZodObject<{
19236
19236
  headersSchema: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>>;
19237
19237
  contextVariables: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>>;
19238
19238
  }, z.core.$strip>;
19239
- declare const SubAgentToolRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
19239
+ declare const SubAgentToolRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
19240
19240
  createdAt: drizzle_orm_pg_core662.PgColumn<{
19241
19241
  name: "created_at";
19242
19242
  tableName: "sub_agent_tool_relations";
@@ -19446,7 +19446,7 @@ declare const SubAgentToolRelationSelectSchema: drizzle_zod19.BuildSchema<"selec
19446
19446
  }, {}, {
19447
19447
  length: 256;
19448
19448
  }>;
19449
- }, drizzle_zod19.BuildRefine<{
19449
+ }, drizzle_zod15.BuildRefine<{
19450
19450
  createdAt: drizzle_orm_pg_core662.PgColumn<{
19451
19451
  name: "created_at";
19452
19452
  tableName: "sub_agent_tool_relations";
@@ -19697,9 +19697,9 @@ declare const SubAgentToolRelationApiSelectSchema: z.ZodObject<OmitAgentScope<{
19697
19697
  createdAt: z.ZodString;
19698
19698
  updatedAt: z.ZodString;
19699
19699
  toolId: z.ZodString;
19700
- selectedTools: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
19701
- headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
19702
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
19700
+ selectedTools: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
19701
+ headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
19702
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
19703
19703
  subAgentId: z.ZodString;
19704
19704
  agentId: z.ZodString;
19705
19705
  projectId: z.ZodString;
@@ -19726,14 +19726,14 @@ declare const SubAgentToolRelationApiUpdateSchema: z.ZodObject<{
19726
19726
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
19727
19727
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
19728
19728
  toolId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19729
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19730
19729
  headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
19731
19730
  toolPolicies: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
19732
19731
  needsApproval: z.ZodOptional<z.ZodBoolean>;
19733
19732
  }, z.core.$strip>>>>>>;
19733
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19734
19734
  selectedTools: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>>>;
19735
19735
  }, z.core.$strip>;
19736
- declare const SubAgentExternalAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
19736
+ declare const SubAgentExternalAgentRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
19737
19737
  createdAt: drizzle_orm_pg_core662.PgColumn<{
19738
19738
  name: "created_at";
19739
19739
  tableName: "sub_agent_external_agent_relations";
@@ -19901,7 +19901,7 @@ declare const SubAgentExternalAgentRelationSelectSchema: drizzle_zod19.BuildSche
19901
19901
  }, {}, {
19902
19902
  length: 256;
19903
19903
  }>;
19904
- }, drizzle_zod19.BuildRefine<{
19904
+ }, drizzle_zod15.BuildRefine<{
19905
19905
  createdAt: drizzle_orm_pg_core662.PgColumn<{
19906
19906
  name: "created_at";
19907
19907
  tableName: "sub_agent_external_agent_relations";
@@ -20102,7 +20102,7 @@ declare const SubAgentExternalAgentRelationApiSelectSchema: z.ZodObject<OmitAgen
20102
20102
  createdAt: z.ZodString;
20103
20103
  updatedAt: z.ZodString;
20104
20104
  externalAgentId: z.ZodString;
20105
- headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
20105
+ headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
20106
20106
  subAgentId: z.ZodString;
20107
20107
  agentId: z.ZodString;
20108
20108
  projectId: z.ZodString;
@@ -20119,11 +20119,11 @@ declare const SubAgentExternalAgentRelationApiUpdateSchema: z.ZodObject<{
20119
20119
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20120
20120
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
20121
20121
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
20122
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20123
20122
  headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
20124
20123
  externalAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20124
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20125
20125
  }, z.core.$strip>;
20126
- declare const SubAgentTeamAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
20126
+ declare const SubAgentTeamAgentRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
20127
20127
  createdAt: drizzle_orm_pg_core662.PgColumn<{
20128
20128
  name: "created_at";
20129
20129
  tableName: "sub_agent_team_agent_relations";
@@ -20291,7 +20291,7 @@ declare const SubAgentTeamAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"
20291
20291
  }, {}, {
20292
20292
  length: 256;
20293
20293
  }>;
20294
- }, drizzle_zod19.BuildRefine<{
20294
+ }, drizzle_zod15.BuildRefine<{
20295
20295
  createdAt: drizzle_orm_pg_core662.PgColumn<{
20296
20296
  name: "created_at";
20297
20297
  tableName: "sub_agent_team_agent_relations";
@@ -20492,7 +20492,7 @@ declare const SubAgentTeamAgentRelationApiSelectSchema: z.ZodObject<OmitAgentSco
20492
20492
  createdAt: z.ZodString;
20493
20493
  updatedAt: z.ZodString;
20494
20494
  targetAgentId: z.ZodString;
20495
- headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
20495
+ headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
20496
20496
  subAgentId: z.ZodString;
20497
20497
  agentId: z.ZodString;
20498
20498
  projectId: z.ZodString;
@@ -20509,11 +20509,11 @@ declare const SubAgentTeamAgentRelationApiUpdateSchema: z.ZodObject<{
20509
20509
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20510
20510
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
20511
20511
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
20512
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20513
20512
  headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
20513
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20514
20514
  targetAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20515
20515
  }, z.core.$strip>;
20516
- declare const LedgerArtifactSelectSchema: drizzle_zod19.BuildSchema<"select", {
20516
+ declare const LedgerArtifactSelectSchema: drizzle_zod15.BuildSchema<"select", {
20517
20517
  createdAt: drizzle_orm_pg_core662.PgColumn<{
20518
20518
  name: "created_at";
20519
20519
  tableName: "ledger_artifacts";
@@ -20848,7 +20848,7 @@ declare const LedgerArtifactSelectSchema: drizzle_zod19.BuildSchema<"select", {
20848
20848
  }, {}, {
20849
20849
  length: 256;
20850
20850
  }>;
20851
- }, drizzle_zod19.BuildRefine<{
20851
+ }, drizzle_zod15.BuildRefine<{
20852
20852
  createdAt: drizzle_orm_pg_core662.PgColumn<{
20853
20853
  name: "created_at";
20854
20854
  tableName: "ledger_artifacts";
@@ -21184,7 +21184,7 @@ declare const LedgerArtifactSelectSchema: drizzle_zod19.BuildSchema<"select", {
21184
21184
  length: 256;
21185
21185
  }>;
21186
21186
  }, undefined>, undefined>;
21187
- declare const LedgerArtifactInsertSchema: drizzle_zod19.BuildSchema<"insert", {
21187
+ declare const LedgerArtifactInsertSchema: drizzle_zod15.BuildSchema<"insert", {
21188
21188
  createdAt: drizzle_orm_pg_core662.PgColumn<{
21189
21189
  name: "created_at";
21190
21190
  tableName: "ledger_artifacts";
@@ -21519,7 +21519,7 @@ declare const LedgerArtifactInsertSchema: drizzle_zod19.BuildSchema<"insert", {
21519
21519
  }, {}, {
21520
21520
  length: 256;
21521
21521
  }>;
21522
- }, drizzle_zod19.BuildRefine<Pick<{
21522
+ }, drizzle_zod15.BuildRefine<Pick<{
21523
21523
  createdAt: drizzle_orm_pg_core662.PgColumn<{
21524
21524
  name: "created_at";
21525
21525
  tableName: "ledger_artifacts";
@@ -21854,7 +21854,7 @@ declare const LedgerArtifactInsertSchema: drizzle_zod19.BuildSchema<"insert", {
21854
21854
  }, {}, {
21855
21855
  length: 256;
21856
21856
  }>;
21857
- }, "type" | "id" | "name" | "description" | "createdAt" | "updatedAt" | "projectId" | "tenantId" | "metadata" | "contextId" | "visibility" | "taskId" | "toolCallId" | "parts" | "summary" | "mime" | "allowedAgents" | "derivedFrom">, undefined>, undefined>;
21857
+ }, "tenantId" | "projectId" | "id" | "type" | "name" | "description" | "createdAt" | "updatedAt" | "metadata" | "contextId" | "visibility" | "taskId" | "toolCallId" | "parts" | "summary" | "mime" | "allowedAgents" | "derivedFrom">, undefined>, undefined>;
21858
21858
  declare const LedgerArtifactUpdateSchema: z.ZodObject<{
21859
21859
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21860
21860
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -21864,12 +21864,12 @@ declare const LedgerArtifactUpdateSchema: z.ZodObject<{
21864
21864
  type: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21865
21865
  name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
21866
21866
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
21867
- parts: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
21868
- metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
21867
+ parts: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
21868
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
21869
21869
  summary: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
21870
- mime: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
21870
+ mime: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
21871
21871
  visibility: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
21872
- allowedAgents: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
21872
+ allowedAgents: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
21873
21873
  derivedFrom: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
21874
21874
  projectId: z.ZodOptional<z.ZodString>;
21875
21875
  tenantId: z.ZodOptional<z.ZodString>;
@@ -21887,12 +21887,12 @@ declare const LedgerArtifactApiSelectSchema: z.ZodObject<OmitProjectScope<{
21887
21887
  type: z.ZodString;
21888
21888
  name: z.ZodNullable<z.ZodString>;
21889
21889
  description: z.ZodNullable<z.ZodString>;
21890
- parts: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
21891
- metadata: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
21890
+ parts: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
21891
+ metadata: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
21892
21892
  summary: z.ZodNullable<z.ZodString>;
21893
- mime: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
21893
+ mime: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
21894
21894
  visibility: z.ZodNullable<z.ZodString>;
21895
- allowedAgents: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
21895
+ allowedAgents: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
21896
21896
  derivedFrom: z.ZodNullable<z.ZodString>;
21897
21897
  projectId: z.ZodString;
21898
21898
  tenantId: z.ZodString;
@@ -21907,33 +21907,33 @@ declare const LedgerArtifactApiInsertSchema: z.ZodObject<OmitProjectScope<{
21907
21907
  type: z.ZodOptional<z.ZodString>;
21908
21908
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21909
21909
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21910
- parts: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
21911
- metadata: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
21910
+ parts: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
21911
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
21912
21912
  summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21913
- mime: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
21913
+ mime: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
21914
21914
  visibility: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21915
- allowedAgents: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
21915
+ allowedAgents: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
21916
21916
  derivedFrom: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21917
21917
  projectId: z.ZodString;
21918
21918
  tenantId: z.ZodString;
21919
21919
  id: z.ZodString;
21920
21920
  }>, z.core.$strip>;
21921
21921
  declare const LedgerArtifactApiUpdateSchema: z.ZodObject<{
21922
- type: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
21923
21922
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21923
+ type: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
21924
21924
  name: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
21925
21925
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
21926
21926
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
21927
21927
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
21928
- metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
21928
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>>;
21929
21929
  contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21930
21930
  visibility: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
21931
21931
  taskId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21932
21932
  toolCallId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
21933
- parts: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
21933
+ parts: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>>;
21934
21934
  summary: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
21935
- mime: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
21936
- allowedAgents: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
21935
+ mime: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>>;
21936
+ allowedAgents: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>>;
21937
21937
  derivedFrom: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
21938
21938
  }, z.core.$strip>;
21939
21939
  declare const StatusComponentSchema: z.ZodObject<{
@@ -22057,8 +22057,8 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
22057
22057
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22058
22058
  createdAt: z.ZodOptional<z.ZodString>;
22059
22059
  updatedAt: z.ZodOptional<z.ZodString>;
22060
- contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22061
22060
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22061
+ contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22062
22062
  id: z.ZodString;
22063
22063
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
22064
22064
  id: z.ZodString;
@@ -22213,7 +22213,7 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
22213
22213
  objectTransformation?: Record<string, string>;
22214
22214
  }>>>>;
22215
22215
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22216
- authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
22216
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
22217
22217
  signingSecret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22218
22218
  id: z.ZodOptional<z.ZodString>;
22219
22219
  }, z.core.$strip>>>;
@@ -22316,10 +22316,10 @@ declare const ProjectSelectSchema: z.ZodObject<{
22316
22316
  in: {};
22317
22317
  }>;
22318
22318
  declare const ProjectInsertSchema: z.ZodObject<{
22319
+ tenantId: z.ZodString;
22319
22320
  id: z.ZodString;
22320
22321
  name: z.ZodString;
22321
22322
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22322
- tenantId: z.ZodString;
22323
22323
  models: z.ZodObject<{
22324
22324
  base: z.ZodObject<{
22325
22325
  model: z.ZodOptional<z.ZodString>;
@@ -22473,8 +22473,8 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
22473
22473
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22474
22474
  createdAt: z.ZodOptional<z.ZodString>;
22475
22475
  updatedAt: z.ZodOptional<z.ZodString>;
22476
- contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22477
22476
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22477
+ contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22478
22478
  id: z.ZodString;
22479
22479
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
22480
22480
  id: z.ZodString;
@@ -22629,7 +22629,7 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
22629
22629
  objectTransformation?: Record<string, string>;
22630
22630
  }>>>>;
22631
22631
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22632
- authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
22632
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
22633
22633
  signingSecret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22634
22634
  id: z.ZodOptional<z.ZodString>;
22635
22635
  }, z.core.$strip>>>;
@@ -22812,8 +22812,8 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
22812
22812
  updatedAt: z.ZodOptional<z.ZodString>;
22813
22813
  credentialStoreId: z.ZodString;
22814
22814
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
22815
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22816
22815
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22816
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22817
22817
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22818
22818
  type: z.ZodEnum<{
22819
22819
  readonly memory: "memory";
@@ -23025,8 +23025,8 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
23025
23025
  description: z.ZodNullable<z.ZodString>;
23026
23026
  createdAt: z.ZodString;
23027
23027
  updatedAt: z.ZodString;
23028
- contextConfigId: z.ZodNullable<z.ZodString>;
23029
23028
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
23029
+ contextConfigId: z.ZodNullable<z.ZodString>;
23030
23030
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
23031
23031
  id: z.ZodString;
23032
23032
  name: z.ZodString;
@@ -23168,9 +23168,9 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
23168
23168
  id: z.ZodString;
23169
23169
  name: z.ZodString;
23170
23170
  description: z.ZodNullable<z.ZodString>;
23171
+ agentId: z.ZodString;
23171
23172
  createdAt: z.ZodString;
23172
23173
  updatedAt: z.ZodString;
23173
- agentId: z.ZodString;
23174
23174
  functionId: z.ZodString;
23175
23175
  relationshipId: z.ZodOptional<z.ZodString>;
23176
23176
  }, z.core.$strip>>>;
@@ -23231,8 +23231,8 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
23231
23231
  description: z.ZodNullable<z.ZodString>;
23232
23232
  createdAt: z.ZodString;
23233
23233
  updatedAt: z.ZodString;
23234
- contextConfigId: z.ZodNullable<z.ZodString>;
23235
23234
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
23235
+ contextConfigId: z.ZodNullable<z.ZodString>;
23236
23236
  tools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
23237
23237
  createdAt: z.ZodString;
23238
23238
  updatedAt: z.ZodString;
@@ -23281,9 +23281,9 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
23281
23281
  id: z.ZodString;
23282
23282
  name: z.ZodString;
23283
23283
  description: z.ZodNullable<z.ZodString>;
23284
+ agentId: z.ZodString;
23284
23285
  createdAt: z.ZodString;
23285
23286
  updatedAt: z.ZodString;
23286
- agentId: z.ZodString;
23287
23287
  functionId: z.ZodString;
23288
23288
  relationshipId: z.ZodOptional<z.ZodString>;
23289
23289
  }, z.core.$strip>>>;
@@ -23467,8 +23467,8 @@ declare const FullProjectSelectSchema: z.ZodObject<{
23467
23467
  description: z.ZodNullable<z.ZodString>;
23468
23468
  createdAt: z.ZodString;
23469
23469
  updatedAt: z.ZodString;
23470
- contextConfigId: z.ZodNullable<z.ZodString>;
23471
23470
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
23471
+ contextConfigId: z.ZodNullable<z.ZodString>;
23472
23472
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
23473
23473
  id: z.ZodString;
23474
23474
  name: z.ZodString;
@@ -23610,9 +23610,9 @@ declare const FullProjectSelectSchema: z.ZodObject<{
23610
23610
  id: z.ZodString;
23611
23611
  name: z.ZodString;
23612
23612
  description: z.ZodNullable<z.ZodString>;
23613
+ agentId: z.ZodString;
23613
23614
  createdAt: z.ZodString;
23614
23615
  updatedAt: z.ZodString;
23615
- agentId: z.ZodString;
23616
23616
  functionId: z.ZodString;
23617
23617
  relationshipId: z.ZodOptional<z.ZodString>;
23618
23618
  }, z.core.$strip>>>;
@@ -23699,9 +23699,9 @@ declare const FullProjectSelectSchema: z.ZodObject<{
23699
23699
  id: z.ZodString;
23700
23700
  name: z.ZodString;
23701
23701
  description: z.ZodNullable<z.ZodString>;
23702
+ agentId: z.ZodString;
23702
23703
  createdAt: z.ZodString;
23703
23704
  updatedAt: z.ZodString;
23704
- agentId: z.ZodString;
23705
23705
  functionId: z.ZodString;
23706
23706
  relationshipId: z.ZodOptional<z.ZodString>;
23707
23707
  }, z.core.$strip>>>;
@@ -23794,15 +23794,15 @@ declare const FullProjectSelectSchema: z.ZodObject<{
23794
23794
  updatedAt: z.ZodString;
23795
23795
  credentialStoreId: z.ZodString;
23796
23796
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
23797
- toolId: z.ZodNullable<z.ZodString>;
23798
23797
  userId: z.ZodNullable<z.ZodString>;
23798
+ toolId: z.ZodNullable<z.ZodString>;
23799
23799
  createdBy: z.ZodNullable<z.ZodString>;
23800
23800
  type: z.ZodEnum<{
23801
23801
  readonly memory: "memory";
23802
23802
  readonly keychain: "keychain";
23803
23803
  readonly nango: "nango";
23804
23804
  }>;
23805
- tools: z.ZodOptional<z.ZodArray<drizzle_zod19.BuildSchema<"select", {
23805
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod15.BuildSchema<"select", {
23806
23806
  createdAt: drizzle_orm_pg_core662.PgColumn<{
23807
23807
  name: "created_at";
23808
23808
  tableName: "tools";
@@ -24065,7 +24065,7 @@ declare const FullProjectSelectSchema: z.ZodObject<{
24065
24065
  }, {}, {
24066
24066
  length: 256;
24067
24067
  }>;
24068
- }, drizzle_zod19.BuildRefine<{
24068
+ }, drizzle_zod15.BuildRefine<{
24069
24069
  createdAt: drizzle_orm_pg_core662.PgColumn<{
24070
24070
  name: "created_at";
24071
24071
  tableName: "tools";
@@ -24404,9 +24404,9 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
24404
24404
  id: z.ZodString;
24405
24405
  name: z.ZodString;
24406
24406
  description: z.ZodNullable<z.ZodString>;
24407
+ agentId: z.ZodString;
24407
24408
  createdAt: z.ZodString;
24408
24409
  updatedAt: z.ZodString;
24409
- agentId: z.ZodString;
24410
24410
  functionId: z.ZodString;
24411
24411
  relationshipId: z.ZodOptional<z.ZodString>;
24412
24412
  }, z.core.$strip>>>;
@@ -24499,15 +24499,15 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
24499
24499
  updatedAt: z.ZodString;
24500
24500
  credentialStoreId: z.ZodString;
24501
24501
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
24502
- toolId: z.ZodNullable<z.ZodString>;
24503
24502
  userId: z.ZodNullable<z.ZodString>;
24503
+ toolId: z.ZodNullable<z.ZodString>;
24504
24504
  createdBy: z.ZodNullable<z.ZodString>;
24505
24505
  type: z.ZodEnum<{
24506
24506
  readonly memory: "memory";
24507
24507
  readonly keychain: "keychain";
24508
24508
  readonly nango: "nango";
24509
24509
  }>;
24510
- tools: z.ZodOptional<z.ZodArray<drizzle_zod19.BuildSchema<"select", {
24510
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod15.BuildSchema<"select", {
24511
24511
  createdAt: drizzle_orm_pg_core662.PgColumn<{
24512
24512
  name: "created_at";
24513
24513
  tableName: "tools";
@@ -24770,7 +24770,7 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
24770
24770
  }, {}, {
24771
24771
  length: 256;
24772
24772
  }>;
24773
- }, drizzle_zod19.BuildRefine<{
24773
+ }, drizzle_zod15.BuildRefine<{
24774
24774
  createdAt: drizzle_orm_pg_core662.PgColumn<{
24775
24775
  name: "created_at";
24776
24776
  tableName: "tools";
@@ -25055,8 +25055,8 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
25055
25055
  description: z.ZodNullable<z.ZodString>;
25056
25056
  createdAt: z.ZodString;
25057
25057
  updatedAt: z.ZodString;
25058
- contextConfigId: z.ZodNullable<z.ZodString>;
25059
25058
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
25059
+ contextConfigId: z.ZodNullable<z.ZodString>;
25060
25060
  tools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
25061
25061
  createdAt: z.ZodString;
25062
25062
  updatedAt: z.ZodString;
@@ -25105,9 +25105,9 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
25105
25105
  id: z.ZodString;
25106
25106
  name: z.ZodString;
25107
25107
  description: z.ZodNullable<z.ZodString>;
25108
+ agentId: z.ZodString;
25108
25109
  createdAt: z.ZodString;
25109
25110
  updatedAt: z.ZodString;
25110
- agentId: z.ZodString;
25111
25111
  functionId: z.ZodString;
25112
25112
  relationshipId: z.ZodOptional<z.ZodString>;
25113
25113
  }, z.core.$strip>>>;
@@ -25560,13 +25560,13 @@ declare const ApiKeyResponse: z.ZodObject<{
25560
25560
  data: z.ZodObject<{
25561
25561
  id: z.ZodString;
25562
25562
  name: z.ZodNullable<z.ZodString>;
25563
- createdAt: z.ZodString;
25564
- updatedAt: z.ZodString;
25565
25563
  agentId: z.ZodString;
25566
- expiresAt: z.ZodNullable<z.ZodString>;
25567
25564
  publicId: z.ZodString;
25568
25565
  keyPrefix: z.ZodString;
25569
25566
  lastUsedAt: z.ZodNullable<z.ZodString>;
25567
+ expiresAt: z.ZodNullable<z.ZodString>;
25568
+ createdAt: z.ZodString;
25569
+ updatedAt: z.ZodString;
25570
25570
  }, {
25571
25571
  out: {};
25572
25572
  in: {};
@@ -25580,15 +25580,15 @@ declare const CredentialReferenceResponse: z.ZodObject<{
25580
25580
  updatedAt: z.ZodString;
25581
25581
  credentialStoreId: z.ZodString;
25582
25582
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
25583
- toolId: z.ZodNullable<z.ZodString>;
25584
25583
  userId: z.ZodNullable<z.ZodString>;
25584
+ toolId: z.ZodNullable<z.ZodString>;
25585
25585
  createdBy: z.ZodNullable<z.ZodString>;
25586
25586
  type: z.ZodEnum<{
25587
25587
  readonly memory: "memory";
25588
25588
  readonly keychain: "keychain";
25589
25589
  readonly nango: "nango";
25590
25590
  }>;
25591
- tools: z.ZodOptional<z.ZodArray<drizzle_zod19.BuildSchema<"select", {
25591
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod15.BuildSchema<"select", {
25592
25592
  createdAt: drizzle_orm_pg_core662.PgColumn<{
25593
25593
  name: "created_at";
25594
25594
  tableName: "tools";
@@ -25851,7 +25851,7 @@ declare const CredentialReferenceResponse: z.ZodObject<{
25851
25851
  }, {}, {
25852
25852
  length: 256;
25853
25853
  }>;
25854
- }, drizzle_zod19.BuildRefine<{
25854
+ }, drizzle_zod15.BuildRefine<{
25855
25855
  createdAt: drizzle_orm_pg_core662.PgColumn<{
25856
25856
  name: "created_at";
25857
25857
  tableName: "tools";
@@ -26148,9 +26148,9 @@ declare const FunctionToolResponse: z.ZodObject<{
26148
26148
  id: z.ZodString;
26149
26149
  name: z.ZodString;
26150
26150
  description: z.ZodNullable<z.ZodString>;
26151
+ agentId: z.ZodString;
26151
26152
  createdAt: z.ZodString;
26152
26153
  updatedAt: z.ZodString;
26153
- agentId: z.ZodString;
26154
26154
  functionId: z.ZodString;
26155
26155
  relationshipId: z.ZodOptional<z.ZodString>;
26156
26156
  }, z.core.$strip>;
@@ -26235,9 +26235,9 @@ declare const SubAgentToolRelationResponse: z.ZodObject<{
26235
26235
  createdAt: z.ZodString;
26236
26236
  updatedAt: z.ZodString;
26237
26237
  toolId: z.ZodString;
26238
- selectedTools: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
26239
- headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
26240
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
26238
+ selectedTools: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
26239
+ headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
26240
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
26241
26241
  subAgentId: z.ZodString;
26242
26242
  agentId: z.ZodString;
26243
26243
  projectId: z.ZodString;
@@ -26322,7 +26322,7 @@ declare const TriggerResponse: z.ZodObject<{
26322
26322
  objectTransformation?: Record<string, string>;
26323
26323
  }>>>;
26324
26324
  messageTemplate: z.ZodNullable<z.ZodString>;
26325
- authentication: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
26325
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
26326
26326
  signingSecret: z.ZodNullable<z.ZodString>;
26327
26327
  name: z.ZodString;
26328
26328
  description: z.ZodNullable<z.ZodString>;
@@ -26337,8 +26337,8 @@ declare const TriggerInvocationResponse: z.ZodObject<{
26337
26337
  triggerId: z.ZodString;
26338
26338
  conversationId: z.ZodNullable<z.ZodString>;
26339
26339
  status: z.ZodString;
26340
- requestPayload: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
26341
- transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
26340
+ requestPayload: z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>;
26341
+ transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
26342
26342
  errorMessage: z.ZodNullable<z.ZodString>;
26343
26343
  createdAt: z.ZodString;
26344
26344
  agentId: z.ZodString;
@@ -26678,13 +26678,13 @@ declare const ApiKeyListResponse: z.ZodObject<{
26678
26678
  data: z.ZodArray<z.ZodObject<{
26679
26679
  id: z.ZodString;
26680
26680
  name: z.ZodNullable<z.ZodString>;
26681
- createdAt: z.ZodString;
26682
- updatedAt: z.ZodString;
26683
26681
  agentId: z.ZodString;
26684
- expiresAt: z.ZodNullable<z.ZodString>;
26685
26682
  publicId: z.ZodString;
26686
26683
  keyPrefix: z.ZodString;
26687
26684
  lastUsedAt: z.ZodNullable<z.ZodString>;
26685
+ expiresAt: z.ZodNullable<z.ZodString>;
26686
+ createdAt: z.ZodString;
26687
+ updatedAt: z.ZodString;
26688
26688
  }, {
26689
26689
  out: {};
26690
26690
  in: {};
@@ -26704,15 +26704,15 @@ declare const CredentialReferenceListResponse: z.ZodObject<{
26704
26704
  updatedAt: z.ZodString;
26705
26705
  credentialStoreId: z.ZodString;
26706
26706
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
26707
- toolId: z.ZodNullable<z.ZodString>;
26708
26707
  userId: z.ZodNullable<z.ZodString>;
26708
+ toolId: z.ZodNullable<z.ZodString>;
26709
26709
  createdBy: z.ZodNullable<z.ZodString>;
26710
26710
  type: z.ZodEnum<{
26711
26711
  readonly memory: "memory";
26712
26712
  readonly keychain: "keychain";
26713
26713
  readonly nango: "nango";
26714
26714
  }>;
26715
- tools: z.ZodOptional<z.ZodArray<drizzle_zod19.BuildSchema<"select", {
26715
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod15.BuildSchema<"select", {
26716
26716
  createdAt: drizzle_orm_pg_core662.PgColumn<{
26717
26717
  name: "created_at";
26718
26718
  tableName: "tools";
@@ -26975,7 +26975,7 @@ declare const CredentialReferenceListResponse: z.ZodObject<{
26975
26975
  }, {}, {
26976
26976
  length: 256;
26977
26977
  }>;
26978
- }, drizzle_zod19.BuildRefine<{
26978
+ }, drizzle_zod15.BuildRefine<{
26979
26979
  createdAt: drizzle_orm_pg_core662.PgColumn<{
26980
26980
  name: "created_at";
26981
26981
  tableName: "tools";
@@ -27284,9 +27284,9 @@ declare const FunctionToolListResponse: z.ZodObject<{
27284
27284
  id: z.ZodString;
27285
27285
  name: z.ZodString;
27286
27286
  description: z.ZodNullable<z.ZodString>;
27287
+ agentId: z.ZodString;
27287
27288
  createdAt: z.ZodString;
27288
27289
  updatedAt: z.ZodString;
27289
- agentId: z.ZodString;
27290
27290
  functionId: z.ZodString;
27291
27291
  relationshipId: z.ZodOptional<z.ZodString>;
27292
27292
  }, z.core.$strip>>;
@@ -27401,9 +27401,9 @@ declare const SubAgentToolRelationListResponse: z.ZodObject<{
27401
27401
  createdAt: z.ZodString;
27402
27402
  updatedAt: z.ZodString;
27403
27403
  toolId: z.ZodString;
27404
- selectedTools: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
27405
- headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
27406
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
27404
+ selectedTools: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
27405
+ headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
27406
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
27407
27407
  subAgentId: z.ZodString;
27408
27408
  agentId: z.ZodString;
27409
27409
  projectId: z.ZodString;
@@ -27506,7 +27506,7 @@ declare const TriggerListResponse: z.ZodObject<{
27506
27506
  objectTransformation?: Record<string, string>;
27507
27507
  }>>>;
27508
27508
  messageTemplate: z.ZodNullable<z.ZodString>;
27509
- authentication: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
27509
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
27510
27510
  signingSecret: z.ZodNullable<z.ZodString>;
27511
27511
  name: z.ZodString;
27512
27512
  description: z.ZodNullable<z.ZodString>;
@@ -27527,8 +27527,8 @@ declare const TriggerInvocationListResponse: z.ZodObject<{
27527
27527
  triggerId: z.ZodString;
27528
27528
  conversationId: z.ZodNullable<z.ZodString>;
27529
27529
  status: z.ZodString;
27530
- requestPayload: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
27531
- transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
27530
+ requestPayload: z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>;
27531
+ transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
27532
27532
  errorMessage: z.ZodNullable<z.ZodString>;
27533
27533
  createdAt: z.ZodString;
27534
27534
  agentId: z.ZodString;
@@ -27627,8 +27627,8 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
27627
27627
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27628
27628
  createdAt: z.ZodOptional<z.ZodString>;
27629
27629
  updatedAt: z.ZodOptional<z.ZodString>;
27630
- contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27631
27630
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27631
+ contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27632
27632
  id: z.ZodString;
27633
27633
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
27634
27634
  id: z.ZodString;
@@ -27783,7 +27783,7 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
27783
27783
  objectTransformation?: Record<string, string>;
27784
27784
  }>>>>;
27785
27785
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27786
- authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
27786
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
27787
27787
  signingSecret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27788
27788
  id: z.ZodOptional<z.ZodString>;
27789
27789
  }, z.core.$strip>>>;
@@ -27966,8 +27966,8 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
27966
27966
  updatedAt: z.ZodOptional<z.ZodString>;
27967
27967
  credentialStoreId: z.ZodString;
27968
27968
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
27969
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27970
27969
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27970
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27971
27971
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27972
27972
  type: z.ZodEnum<{
27973
27973
  readonly memory: "memory";
@@ -28013,8 +28013,8 @@ declare const FullProjectSelectResponse: z.ZodObject<{
28013
28013
  description: z.ZodNullable<z.ZodString>;
28014
28014
  createdAt: z.ZodString;
28015
28015
  updatedAt: z.ZodString;
28016
- contextConfigId: z.ZodNullable<z.ZodString>;
28017
28016
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
28017
+ contextConfigId: z.ZodNullable<z.ZodString>;
28018
28018
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
28019
28019
  id: z.ZodString;
28020
28020
  name: z.ZodString;
@@ -28156,9 +28156,9 @@ declare const FullProjectSelectResponse: z.ZodObject<{
28156
28156
  id: z.ZodString;
28157
28157
  name: z.ZodString;
28158
28158
  description: z.ZodNullable<z.ZodString>;
28159
+ agentId: z.ZodString;
28159
28160
  createdAt: z.ZodString;
28160
28161
  updatedAt: z.ZodString;
28161
- agentId: z.ZodString;
28162
28162
  functionId: z.ZodString;
28163
28163
  relationshipId: z.ZodOptional<z.ZodString>;
28164
28164
  }, z.core.$strip>>>;
@@ -28245,9 +28245,9 @@ declare const FullProjectSelectResponse: z.ZodObject<{
28245
28245
  id: z.ZodString;
28246
28246
  name: z.ZodString;
28247
28247
  description: z.ZodNullable<z.ZodString>;
28248
+ agentId: z.ZodString;
28248
28249
  createdAt: z.ZodString;
28249
28250
  updatedAt: z.ZodString;
28250
- agentId: z.ZodString;
28251
28251
  functionId: z.ZodString;
28252
28252
  relationshipId: z.ZodOptional<z.ZodString>;
28253
28253
  }, z.core.$strip>>>;
@@ -28340,15 +28340,15 @@ declare const FullProjectSelectResponse: z.ZodObject<{
28340
28340
  updatedAt: z.ZodString;
28341
28341
  credentialStoreId: z.ZodString;
28342
28342
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
28343
- toolId: z.ZodNullable<z.ZodString>;
28344
28343
  userId: z.ZodNullable<z.ZodString>;
28344
+ toolId: z.ZodNullable<z.ZodString>;
28345
28345
  createdBy: z.ZodNullable<z.ZodString>;
28346
28346
  type: z.ZodEnum<{
28347
28347
  readonly memory: "memory";
28348
28348
  readonly keychain: "keychain";
28349
28349
  readonly nango: "nango";
28350
28350
  }>;
28351
- tools: z.ZodOptional<z.ZodArray<drizzle_zod19.BuildSchema<"select", {
28351
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod15.BuildSchema<"select", {
28352
28352
  createdAt: drizzle_orm_pg_core662.PgColumn<{
28353
28353
  name: "created_at";
28354
28354
  tableName: "tools";
@@ -28611,7 +28611,7 @@ declare const FullProjectSelectResponse: z.ZodObject<{
28611
28611
  }, {}, {
28612
28612
  length: 256;
28613
28613
  }>;
28614
- }, drizzle_zod19.BuildRefine<{
28614
+ }, drizzle_zod15.BuildRefine<{
28615
28615
  createdAt: drizzle_orm_pg_core662.PgColumn<{
28616
28616
  name: "created_at";
28617
28617
  tableName: "tools";
@@ -28952,9 +28952,9 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
28952
28952
  id: z.ZodString;
28953
28953
  name: z.ZodString;
28954
28954
  description: z.ZodNullable<z.ZodString>;
28955
+ agentId: z.ZodString;
28955
28956
  createdAt: z.ZodString;
28956
28957
  updatedAt: z.ZodString;
28957
- agentId: z.ZodString;
28958
28958
  functionId: z.ZodString;
28959
28959
  relationshipId: z.ZodOptional<z.ZodString>;
28960
28960
  }, z.core.$strip>>>;
@@ -29047,15 +29047,15 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
29047
29047
  updatedAt: z.ZodString;
29048
29048
  credentialStoreId: z.ZodString;
29049
29049
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
29050
- toolId: z.ZodNullable<z.ZodString>;
29051
29050
  userId: z.ZodNullable<z.ZodString>;
29051
+ toolId: z.ZodNullable<z.ZodString>;
29052
29052
  createdBy: z.ZodNullable<z.ZodString>;
29053
29053
  type: z.ZodEnum<{
29054
29054
  readonly memory: "memory";
29055
29055
  readonly keychain: "keychain";
29056
29056
  readonly nango: "nango";
29057
29057
  }>;
29058
- tools: z.ZodOptional<z.ZodArray<drizzle_zod19.BuildSchema<"select", {
29058
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod15.BuildSchema<"select", {
29059
29059
  createdAt: drizzle_orm_pg_core662.PgColumn<{
29060
29060
  name: "created_at";
29061
29061
  tableName: "tools";
@@ -29318,7 +29318,7 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
29318
29318
  }, {}, {
29319
29319
  length: 256;
29320
29320
  }>;
29321
- }, drizzle_zod19.BuildRefine<{
29321
+ }, drizzle_zod15.BuildRefine<{
29322
29322
  createdAt: drizzle_orm_pg_core662.PgColumn<{
29323
29323
  name: "created_at";
29324
29324
  tableName: "tools";
@@ -29603,8 +29603,8 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
29603
29603
  description: z.ZodNullable<z.ZodString>;
29604
29604
  createdAt: z.ZodString;
29605
29605
  updatedAt: z.ZodString;
29606
- contextConfigId: z.ZodNullable<z.ZodString>;
29607
29606
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
29607
+ contextConfigId: z.ZodNullable<z.ZodString>;
29608
29608
  tools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
29609
29609
  createdAt: z.ZodString;
29610
29610
  updatedAt: z.ZodString;
@@ -29653,9 +29653,9 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
29653
29653
  id: z.ZodString;
29654
29654
  name: z.ZodString;
29655
29655
  description: z.ZodNullable<z.ZodString>;
29656
+ agentId: z.ZodString;
29656
29657
  createdAt: z.ZodString;
29657
29658
  updatedAt: z.ZodString;
29658
- agentId: z.ZodString;
29659
29659
  functionId: z.ZodString;
29660
29660
  relationshipId: z.ZodOptional<z.ZodString>;
29661
29661
  }, z.core.$strip>>>;
@@ -29820,8 +29820,8 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
29820
29820
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29821
29821
  createdAt: z.ZodOptional<z.ZodString>;
29822
29822
  updatedAt: z.ZodOptional<z.ZodString>;
29823
- contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29824
29823
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29824
+ contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29825
29825
  id: z.ZodString;
29826
29826
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
29827
29827
  id: z.ZodString;
@@ -29976,7 +29976,7 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
29976
29976
  objectTransformation?: Record<string, string>;
29977
29977
  }>>>>;
29978
29978
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29979
- authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
29979
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
29980
29980
  signingSecret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29981
29981
  id: z.ZodOptional<z.ZodString>;
29982
29982
  }, z.core.$strip>>>;
@@ -30027,8 +30027,8 @@ declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
30027
30027
  description: z.ZodNullable<z.ZodString>;
30028
30028
  createdAt: z.ZodString;
30029
30029
  updatedAt: z.ZodString;
30030
- contextConfigId: z.ZodNullable<z.ZodString>;
30031
30030
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
30031
+ contextConfigId: z.ZodNullable<z.ZodString>;
30032
30032
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
30033
30033
  id: z.ZodString;
30034
30034
  name: z.ZodString;
@@ -30170,9 +30170,9 @@ declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
30170
30170
  id: z.ZodString;
30171
30171
  name: z.ZodString;
30172
30172
  description: z.ZodNullable<z.ZodString>;
30173
+ agentId: z.ZodString;
30173
30174
  createdAt: z.ZodString;
30174
30175
  updatedAt: z.ZodString;
30175
- agentId: z.ZodString;
30176
30176
  functionId: z.ZodString;
30177
30177
  relationshipId: z.ZodOptional<z.ZodString>;
30178
30178
  }, z.core.$strip>>>;
@@ -30380,7 +30380,7 @@ declare const SubAgentTeamAgentRelationResponse: z.ZodObject<{
30380
30380
  createdAt: z.ZodString;
30381
30381
  updatedAt: z.ZodString;
30382
30382
  targetAgentId: z.ZodString;
30383
- headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30383
+ headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30384
30384
  subAgentId: z.ZodString;
30385
30385
  agentId: z.ZodString;
30386
30386
  projectId: z.ZodString;
@@ -30393,7 +30393,7 @@ declare const SubAgentTeamAgentRelationListResponse: z.ZodObject<{
30393
30393
  createdAt: z.ZodString;
30394
30394
  updatedAt: z.ZodString;
30395
30395
  targetAgentId: z.ZodString;
30396
- headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30396
+ headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30397
30397
  subAgentId: z.ZodString;
30398
30398
  agentId: z.ZodString;
30399
30399
  projectId: z.ZodString;
@@ -30412,7 +30412,7 @@ declare const SubAgentExternalAgentRelationResponse: z.ZodObject<{
30412
30412
  createdAt: z.ZodString;
30413
30413
  updatedAt: z.ZodString;
30414
30414
  externalAgentId: z.ZodString;
30415
- headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30415
+ headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30416
30416
  subAgentId: z.ZodString;
30417
30417
  agentId: z.ZodString;
30418
30418
  projectId: z.ZodString;
@@ -30425,7 +30425,7 @@ declare const SubAgentExternalAgentRelationListResponse: z.ZodObject<{
30425
30425
  createdAt: z.ZodString;
30426
30426
  updatedAt: z.ZodString;
30427
30427
  externalAgentId: z.ZodString;
30428
- headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30428
+ headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30429
30429
  subAgentId: z.ZodString;
30430
30430
  agentId: z.ZodString;
30431
30431
  projectId: z.ZodString;
@@ -30592,7 +30592,7 @@ declare const PaginationWithRefQueryParamsSchema: z.ZodObject<{
30592
30592
  limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
30593
30593
  ref: z.ZodOptional<z.ZodString>;
30594
30594
  }, z.core.$strip>;
30595
- declare const ProjectMetadataSelectSchema: drizzle_zod19.BuildSchema<"select", {
30595
+ declare const ProjectMetadataSelectSchema: drizzle_zod15.BuildSchema<"select", {
30596
30596
  id: drizzle_orm_pg_core662.PgColumn<{
30597
30597
  name: "id";
30598
30598
  tableName: "project_metadata";
@@ -30686,7 +30686,7 @@ declare const ProjectMetadataSelectSchema: drizzle_zod19.BuildSchema<"select", {
30686
30686
  }, {}, {
30687
30687
  length: 512;
30688
30688
  }>;
30689
- }, drizzle_zod19.BuildRefine<{
30689
+ }, drizzle_zod15.BuildRefine<{
30690
30690
  id: drizzle_orm_pg_core662.PgColumn<{
30691
30691
  name: "id";
30692
30692
  tableName: "project_metadata";
@@ -30782,8 +30782,8 @@ declare const ProjectMetadataSelectSchema: drizzle_zod19.BuildSchema<"select", {
30782
30782
  }>;
30783
30783
  }, undefined>, undefined>;
30784
30784
  declare const ProjectMetadataInsertSchema: z.ZodObject<{
30785
- id: z.ZodString;
30786
30785
  tenantId: z.ZodString;
30786
+ id: z.ZodString;
30787
30787
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30788
30788
  mainBranchName: z.ZodString;
30789
30789
  }, {