@inkeep/agents-core 0.0.0-dev-20260122200302 → 0.0.0-dev-20260122213614

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_core208 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_core208.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_core208.PgColumn<{
333
333
  name: "created_at";
334
334
  tableName: "sub_agents";
@@ -767,10 +767,11 @@ declare const SubAgentApiInsertSchema: z.ZodObject<OmitAgentScope<{
767
767
  }>, z.core.$strip>;
768
768
  declare const SubAgentApiUpdateSchema: z.ZodObject<{
769
769
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
770
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
771
770
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
772
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
773
771
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
772
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
773
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
774
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
774
775
  models: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodObject<{
775
776
  base: z.ZodOptional<z.ZodObject<{
776
777
  model: z.ZodOptional<z.ZodString>;
@@ -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_core208.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_core208.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_core208.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_core208.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_core208.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_core208.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
- }, "tenantId" | "projectId" | "id" | "createdAt" | "name" | "updatedAt" | "description" | "models" | "stopWhen" | "defaultSubAgentId" | "contextConfigId" | "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>>;
@@ -2696,10 +2696,11 @@ declare const AgentApiSelectSchema: z.ZodObject<OmitProjectScope<{
2696
2696
  id: z.ZodString;
2697
2697
  }>, z.core.$strip>;
2698
2698
  declare const AgentApiInsertSchema: z.ZodObject<{
2699
- createdAt: z.ZodOptional<z.ZodString>;
2700
2699
  name: z.ZodString;
2701
- updatedAt: z.ZodOptional<z.ZodString>;
2702
2700
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2701
+ prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2702
+ createdAt: z.ZodOptional<z.ZodString>;
2703
+ updatedAt: z.ZodOptional<z.ZodString>;
2703
2704
  models: z.ZodOptional<z.ZodNullable<z.ZodType<{
2704
2705
  base?: {
2705
2706
  model?: string | undefined;
@@ -2764,7 +2765,6 @@ declare const AgentApiInsertSchema: z.ZodObject<{
2764
2765
  }>>>>;
2765
2766
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2766
2767
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2767
- prompt: 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;
@@ -2826,10 +2826,11 @@ declare const AgentApiInsertSchema: z.ZodObject<{
2826
2826
  }, z.core.$strip>;
2827
2827
  declare const AgentApiUpdateSchema: z.ZodObject<{
2828
2828
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2829
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2830
2829
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2831
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2832
2830
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2831
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2832
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2833
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2833
2834
  models: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
2834
2835
  base?: {
2835
2836
  model?: string | undefined;
@@ -2894,7 +2895,6 @@ declare const AgentApiUpdateSchema: z.ZodObject<{
2894
2895
  }>>>>>>;
2895
2896
  defaultSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2896
2897
  contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2897
- prompt: 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_core208.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_core208.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_core208.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_core208.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
- }, "tenantId" | "projectId" | "id" | "inputSchema" | "createdAt" | "name" | "updatedAt" | "description" | "enabled" | "agentId" | "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>;
@@ -4097,12 +4097,12 @@ declare const TriggerApiSelectSchema: z.ZodObject<OmitAgentScope<{
4097
4097
  id: z.ZodString;
4098
4098
  }>, z.core.$strip>;
4099
4099
  declare const TriggerApiInsertSchema: z.ZodObject<{
4100
- inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
4101
- createdAt: z.ZodOptional<z.ZodString>;
4102
4100
  name: z.ZodString;
4103
- updatedAt: z.ZodOptional<z.ZodString>;
4104
4101
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4102
+ createdAt: z.ZodOptional<z.ZodString>;
4103
+ updatedAt: z.ZodOptional<z.ZodString>;
4105
4104
  enabled: z.ZodOptional<z.ZodBoolean>;
4105
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
4106
4106
  outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<{
4107
4107
  jmespath?: string;
4108
4108
  objectTransformation?: Record<string, string>;
@@ -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_core208.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_core208.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_core208.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_core208.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
- }, "tenantId" | "projectId" | "id" | "createdAt" | "status" | "agentId" | "triggerId" | "conversationId" | "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;
@@ -4985,8 +4985,8 @@ declare const TriggerInvocationApiInsertSchema: z.ZodObject<{
4985
4985
  status: z.ZodOptional<z.ZodString>;
4986
4986
  triggerId: z.ZodString;
4987
4987
  conversationId: z.ZodOptional<z.ZodNullable<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>>>>;
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>;
@@ -4996,11 +4996,11 @@ declare const TriggerInvocationApiUpdateSchema: z.ZodObject<{
4996
4996
  status: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
4997
4997
  triggerId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4998
4998
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<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>>>>>>;
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_core208.PgColumn<{
5005
5005
  name: "created_at";
5006
5006
  tableName: "tasks";
@@ -5060,7 +5060,7 @@ declare const TaskSelectSchema: drizzle_zod19.BuildSchema<"select", {
5060
5060
  dataType: "json";
5061
5061
  columnType: "PgJsonb";
5062
5062
  data: {
5063
- type: "tag" | "commit" | "branch";
5063
+ type: "commit" | "tag" | "branch";
5064
5064
  name: string;
5065
5065
  hash: string;
5066
5066
  };
@@ -5076,7 +5076,7 @@ declare const TaskSelectSchema: drizzle_zod19.BuildSchema<"select", {
5076
5076
  generated: undefined;
5077
5077
  }, {}, {
5078
5078
  $type: {
5079
- type: "tag" | "commit" | "branch";
5079
+ type: "commit" | "tag" | "branch";
5080
5080
  name: string;
5081
5081
  hash: string;
5082
5082
  };
@@ -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_core208.PgColumn<{
5219
5219
  name: "created_at";
5220
5220
  tableName: "tasks";
@@ -5274,7 +5274,7 @@ declare const TaskSelectSchema: drizzle_zod19.BuildSchema<"select", {
5274
5274
  dataType: "json";
5275
5275
  columnType: "PgJsonb";
5276
5276
  data: {
5277
- type: "tag" | "commit" | "branch";
5277
+ type: "commit" | "tag" | "branch";
5278
5278
  name: string;
5279
5279
  hash: string;
5280
5280
  };
@@ -5290,7 +5290,7 @@ declare const TaskSelectSchema: drizzle_zod19.BuildSchema<"select", {
5290
5290
  generated: undefined;
5291
5291
  }, {}, {
5292
5292
  $type: {
5293
- type: "tag" | "commit" | "branch";
5293
+ type: "commit" | "tag" | "branch";
5294
5294
  name: string;
5295
5295
  hash: string;
5296
5296
  };
@@ -5443,8 +5443,8 @@ declare const TaskInsertSchema: z.ZodObject<{
5443
5443
  conversationId: z.ZodOptional<z.ZodString>;
5444
5444
  ref: z.ZodObject<{
5445
5445
  type: z.ZodEnum<{
5446
- tag: "tag";
5447
5446
  commit: "commit";
5447
+ tag: "tag";
5448
5448
  branch: "branch";
5449
5449
  }>;
5450
5450
  name: z.ZodString;
@@ -5468,8 +5468,8 @@ declare const TaskUpdateSchema: z.ZodObject<{
5468
5468
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5469
5469
  ref: z.ZodOptional<z.ZodObject<{
5470
5470
  type: z.ZodEnum<{
5471
- tag: "tag";
5472
5471
  commit: "commit";
5472
+ tag: "tag";
5473
5473
  branch: "branch";
5474
5474
  }>;
5475
5475
  name: z.ZodString;
@@ -5484,19 +5484,19 @@ declare const TaskApiSelectSchema: z.ZodObject<OmitProjectScope<{
5484
5484
  updatedAt: z.ZodString;
5485
5485
  contextId: z.ZodString;
5486
5486
  ref: z.ZodNullable<z.ZodType<{
5487
- type: "tag" | "commit" | "branch";
5487
+ type: "commit" | "tag" | "branch";
5488
5488
  name: string;
5489
5489
  hash: string;
5490
5490
  }, {
5491
- type: "tag" | "commit" | "branch";
5491
+ type: "commit" | "tag" | "branch";
5492
5492
  name: string;
5493
5493
  hash: string;
5494
5494
  }, z.core.$ZodTypeInternals<{
5495
- type: "tag" | "commit" | "branch";
5495
+ type: "commit" | "tag" | "branch";
5496
5496
  name: string;
5497
5497
  hash: string;
5498
5498
  }, {
5499
- type: "tag" | "commit" | "branch";
5499
+ type: "commit" | "tag" | "branch";
5500
5500
  name: string;
5501
5501
  hash: string;
5502
5502
  }>>>;
@@ -5522,8 +5522,8 @@ declare const TaskApiInsertSchema: z.ZodObject<OmitProjectScope<{
5522
5522
  conversationId: z.ZodOptional<z.ZodString>;
5523
5523
  ref: z.ZodObject<{
5524
5524
  type: z.ZodEnum<{
5525
- tag: "tag";
5526
5525
  commit: "commit";
5526
+ tag: "tag";
5527
5527
  branch: "branch";
5528
5528
  }>;
5529
5529
  name: z.ZodString;
@@ -5532,25 +5532,25 @@ 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
5539
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
5539
5540
  type: z.ZodEnum<{
5540
- tag: "tag";
5541
5541
  commit: "commit";
5542
+ tag: "tag";
5542
5543
  branch: "branch";
5543
5544
  }>;
5544
5545
  name: z.ZodString;
5545
5546
  hash: z.ZodString;
5546
5547
  }, z.core.$strip>>>;
5547
5548
  status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5548
- agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5549
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5550
5549
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5551
5550
  contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5551
+ subAgentId: 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_core208.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_core208.PgColumn<{
5704
5704
  name: "created_at";
5705
5705
  tableName: "task_relations";
@@ -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_core208.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_core208.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_core208.PgColumn<{
6500
6500
  name: "created_at";
6501
6501
  tableName: "conversations";
@@ -6593,7 +6593,7 @@ declare const ConversationSelectSchema: drizzle_zod19.BuildSchema<"select", {
6593
6593
  dataType: "json";
6594
6594
  columnType: "PgJsonb";
6595
6595
  data: {
6596
- type: "tag" | "commit" | "branch";
6596
+ type: "commit" | "tag" | "branch";
6597
6597
  name: string;
6598
6598
  hash: string;
6599
6599
  };
@@ -6609,7 +6609,7 @@ declare const ConversationSelectSchema: drizzle_zod19.BuildSchema<"select", {
6609
6609
  generated: undefined;
6610
6610
  }, {}, {
6611
6611
  $type: {
6612
- type: "tag" | "commit" | "branch";
6612
+ type: "commit" | "tag" | "branch";
6613
6613
  name: string;
6614
6614
  hash: string;
6615
6615
  };
@@ -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_core208.PgColumn<{
6729
6729
  name: "created_at";
6730
6730
  tableName: "conversations";
@@ -6822,7 +6822,7 @@ declare const ConversationSelectSchema: drizzle_zod19.BuildSchema<"select", {
6822
6822
  dataType: "json";
6823
6823
  columnType: "PgJsonb";
6824
6824
  data: {
6825
- type: "tag" | "commit" | "branch";
6825
+ type: "commit" | "tag" | "branch";
6826
6826
  name: string;
6827
6827
  hash: string;
6828
6828
  };
@@ -6838,7 +6838,7 @@ declare const ConversationSelectSchema: drizzle_zod19.BuildSchema<"select", {
6838
6838
  generated: undefined;
6839
6839
  }, {}, {
6840
6840
  $type: {
6841
- type: "tag" | "commit" | "branch";
6841
+ type: "commit" | "tag" | "branch";
6842
6842
  name: string;
6843
6843
  hash: string;
6844
6844
  };
@@ -6969,8 +6969,8 @@ declare const ConversationInsertSchema: z.ZodObject<{
6969
6969
  contextConfigId: z.ZodOptional<z.ZodString>;
6970
6970
  ref: z.ZodObject<{
6971
6971
  type: z.ZodEnum<{
6972
- tag: "tag";
6973
6972
  commit: "commit";
6973
+ tag: "tag";
6974
6974
  branch: "branch";
6975
6975
  }>;
6976
6976
  name: z.ZodString;
@@ -6995,8 +6995,8 @@ declare const ConversationUpdateSchema: z.ZodObject<{
6995
6995
  contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6996
6996
  ref: z.ZodOptional<z.ZodObject<{
6997
6997
  type: z.ZodEnum<{
6998
- tag: "tag";
6999
6998
  commit: "commit";
6999
+ tag: "tag";
7000
7000
  branch: "branch";
7001
7001
  }>;
7002
7002
  name: z.ZodString;
@@ -7013,19 +7013,19 @@ declare const ConversationApiSelectSchema: z.ZodObject<OmitProjectScope<{
7013
7013
  agentId: z.ZodNullable<z.ZodString>;
7014
7014
  activeSubAgentId: z.ZodString;
7015
7015
  ref: z.ZodNullable<z.ZodType<{
7016
- type: "tag" | "commit" | "branch";
7016
+ type: "commit" | "tag" | "branch";
7017
7017
  name: string;
7018
7018
  hash: string;
7019
7019
  }, {
7020
- type: "tag" | "commit" | "branch";
7020
+ type: "commit" | "tag" | "branch";
7021
7021
  name: string;
7022
7022
  hash: string;
7023
7023
  }, z.core.$ZodTypeInternals<{
7024
- type: "tag" | "commit" | "branch";
7024
+ type: "commit" | "tag" | "branch";
7025
7025
  name: string;
7026
7026
  hash: string;
7027
7027
  }, {
7028
- type: "tag" | "commit" | "branch";
7028
+ type: "commit" | "tag" | "branch";
7029
7029
  name: string;
7030
7030
  hash: string;
7031
7031
  }>>>;
@@ -7051,8 +7051,8 @@ declare const ConversationApiInsertSchema: z.ZodObject<OmitProjectScope<{
7051
7051
  contextConfigId: z.ZodOptional<z.ZodString>;
7052
7052
  ref: z.ZodObject<{
7053
7053
  type: z.ZodEnum<{
7054
- tag: "tag";
7055
7054
  commit: "commit";
7055
+ tag: "tag";
7056
7056
  branch: "branch";
7057
7057
  }>;
7058
7058
  name: z.ZodString;
@@ -7061,26 +7061,26 @@ 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>>>>;
7068
+ userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7067
7069
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>>>;
7070
+ contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7068
7071
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
7069
7072
  type: z.ZodEnum<{
7070
- tag: "tag";
7071
7073
  commit: "commit";
7074
+ tag: "tag";
7072
7075
  branch: "branch";
7073
7076
  }>;
7074
7077
  name: z.ZodString;
7075
7078
  hash: z.ZodString;
7076
7079
  }, z.core.$strip>>>;
7077
- userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7078
- agentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7079
- contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7080
7080
  activeSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7081
7081
  lastContextResolution: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<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_core208.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_core208.PgColumn<{
7481
7481
  name: "created_at";
7482
7482
  tableName: "messages";
@@ -7978,21 +7978,21 @@ declare const MessageApiUpdateSchema: z.ZodObject<{
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
7980
  role: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7981
+ conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7981
7982
  fromSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7982
7983
  toSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7983
7984
  fromExternalAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7984
7985
  toExternalAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7985
- taskId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7986
- a2aTaskId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7987
- conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7988
7986
  fromTeamAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7989
7987
  toTeamAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7990
7988
  visibility: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7991
7989
  messageType: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7990
+ taskId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7992
7991
  parentMessageId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
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_core208.PgColumn<{
7997
7997
  name: "created_at";
7998
7998
  tableName: "context_cache";
@@ -8090,7 +8090,7 @@ declare const ContextCacheSelectSchema: drizzle_zod19.BuildSchema<"select", {
8090
8090
  dataType: "json";
8091
8091
  columnType: "PgJsonb";
8092
8092
  data: {
8093
- type: "tag" | "commit" | "branch";
8093
+ type: "commit" | "tag" | "branch";
8094
8094
  name: string;
8095
8095
  hash: string;
8096
8096
  };
@@ -8106,7 +8106,7 @@ declare const ContextCacheSelectSchema: drizzle_zod19.BuildSchema<"select", {
8106
8106
  generated: undefined;
8107
8107
  }, {}, {
8108
8108
  $type: {
8109
- type: "tag" | "commit" | "branch";
8109
+ type: "commit" | "tag" | "branch";
8110
8110
  name: string;
8111
8111
  hash: string;
8112
8112
  };
@@ -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_core208.PgColumn<{
8247
8247
  name: "created_at";
8248
8248
  tableName: "context_cache";
@@ -8340,7 +8340,7 @@ declare const ContextCacheSelectSchema: drizzle_zod19.BuildSchema<"select", {
8340
8340
  dataType: "json";
8341
8341
  columnType: "PgJsonb";
8342
8342
  data: {
8343
- type: "tag" | "commit" | "branch";
8343
+ type: "commit" | "tag" | "branch";
8344
8344
  name: string;
8345
8345
  hash: string;
8346
8346
  };
@@ -8356,7 +8356,7 @@ declare const ContextCacheSelectSchema: drizzle_zod19.BuildSchema<"select", {
8356
8356
  generated: undefined;
8357
8357
  }, {}, {
8358
8358
  $type: {
8359
- type: "tag" | "commit" | "branch";
8359
+ type: "commit" | "tag" | "branch";
8360
8360
  name: string;
8361
8361
  hash: string;
8362
8362
  };
@@ -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>>;
@@ -8508,8 +8508,8 @@ declare const ContextCacheInsertSchema: z.ZodObject<{
8508
8508
  id: z.ZodString;
8509
8509
  ref: z.ZodObject<{
8510
8510
  type: z.ZodEnum<{
8511
- tag: "tag";
8512
8511
  commit: "commit";
8512
+ tag: "tag";
8513
8513
  branch: "branch";
8514
8514
  }>;
8515
8515
  name: 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>>>;
@@ -8534,8 +8534,8 @@ declare const ContextCacheUpdateSchema: z.ZodObject<{
8534
8534
  id: z.ZodOptional<z.ZodString>;
8535
8535
  ref: z.ZodOptional<z.ZodObject<{
8536
8536
  type: z.ZodEnum<{
8537
- tag: "tag";
8538
8537
  commit: "commit";
8538
+ tag: "tag";
8539
8539
  branch: "branch";
8540
8540
  }>;
8541
8541
  name: z.ZodString;
@@ -8552,23 +8552,23 @@ declare const ContextCacheApiSelectSchema: z.ZodObject<OmitProjectScope<{
8552
8552
  contextConfigId: z.ZodString;
8553
8553
  contextVariableKey: z.ZodString;
8554
8554
  ref: z.ZodNullable<z.ZodType<{
8555
- type: "tag" | "commit" | "branch";
8555
+ type: "commit" | "tag" | "branch";
8556
8556
  name: string;
8557
8557
  hash: string;
8558
8558
  }, {
8559
- type: "tag" | "commit" | "branch";
8559
+ type: "commit" | "tag" | "branch";
8560
8560
  name: string;
8561
8561
  hash: string;
8562
8562
  }, z.core.$ZodTypeInternals<{
8563
- type: "tag" | "commit" | "branch";
8563
+ type: "commit" | "tag" | "branch";
8564
8564
  name: string;
8565
8565
  hash: string;
8566
8566
  }, {
8567
- type: "tag" | "commit" | "branch";
8567
+ type: "commit" | "tag" | "branch";
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>>;
@@ -8591,8 +8591,8 @@ declare const ContextCacheApiInsertSchema: z.ZodObject<OmitProjectScope<{
8591
8591
  id: z.ZodString;
8592
8592
  ref: z.ZodObject<{
8593
8593
  type: z.ZodEnum<{
8594
- tag: "tag";
8595
8594
  commit: "commit";
8595
+ tag: "tag";
8596
8596
  branch: "branch";
8597
8597
  }>;
8598
8598
  name: z.ZodString;
@@ -8601,26 +8601,26 @@ 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
+ contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8607
8608
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
8608
8609
  type: z.ZodEnum<{
8609
- tag: "tag";
8610
8610
  commit: "commit";
8611
+ tag: "tag";
8611
8612
  branch: "branch";
8612
8613
  }>;
8613
8614
  name: z.ZodString;
8614
8615
  hash: z.ZodString;
8615
8616
  }, z.core.$strip>>>;
8616
- contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8617
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_core208.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_core208.PgColumn<{
8768
8768
  name: "created_at";
8769
8769
  tableName: "dataset_run";
@@ -8957,7 +8957,7 @@ declare const DatasetRunApiUpdateSchema: z.ZodObject<{
8957
8957
  datasetRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8958
8958
  evaluationJobConfigId: 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_core208.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_core208.PgColumn<{
9105
9105
  name: "created_at";
9106
9106
  tableName: "dataset_run_conversation_relations";
@@ -9294,7 +9294,7 @@ declare const DatasetRunConversationRelationApiUpdateSchema: z.ZodObject<{
9294
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_core208.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_core208.PgColumn<{
9461
9461
  name: "created_at";
9462
9462
  tableName: "evaluation_result";
@@ -9674,7 +9674,7 @@ declare const EvaluationResultApiUpdateSchema: z.ZodObject<{
9674
9674
  evaluatorId: 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_core208.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_core208.PgColumn<{
9805
9805
  name: "created_at";
9806
9806
  tableName: "evaluation_run";
@@ -9972,7 +9972,7 @@ declare const EvaluationRunApiUpdateSchema: z.ZodObject<{
9972
9972
  evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9973
9973
  evaluationRunConfigId: 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_core208.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_core208.PgColumn<{
10122
10122
  name: "created_at";
10123
10123
  tableName: "evaluation_run_config";
@@ -10300,31 +10300,31 @@ declare const EvaluationRunConfigApiSelectSchema: z.ZodObject<OmitProjectScope<{
10300
10300
  id: z.ZodString;
10301
10301
  }>, z.core.$strip>;
10302
10302
  declare const EvaluationRunConfigApiInsertSchema: z.ZodObject<{
10303
- createdAt: z.ZodOptional<z.ZodString>;
10304
10303
  name: z.ZodString;
10305
- updatedAt: z.ZodOptional<z.ZodString>;
10306
10304
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10305
+ createdAt: z.ZodOptional<z.ZodString>;
10306
+ updatedAt: z.ZodOptional<z.ZodString>;
10307
10307
  isActive: z.ZodOptional<z.ZodBoolean>;
10308
10308
  suiteConfigIds: z.ZodArray<z.ZodString>;
10309
10309
  }, z.core.$strip>;
10310
10310
  declare const EvaluationRunConfigApiUpdateSchema: z.ZodObject<{
10311
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10312
10311
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10313
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10314
10312
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10313
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10314
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10315
10315
  isActive: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodBoolean>>>;
10316
10316
  suiteConfigIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
10317
10317
  }, z.core.$strip>;
10318
10318
  declare const EvaluationRunConfigWithSuiteConfigsApiSelectSchema: z.ZodObject<{
10319
10319
  id: z.ZodString;
10320
- createdAt: z.ZodString;
10321
10320
  name: z.ZodString;
10322
- updatedAt: z.ZodString;
10323
10321
  description: z.ZodNullable<z.ZodString>;
10322
+ createdAt: z.ZodString;
10323
+ updatedAt: z.ZodString;
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_core208.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_core208.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_core208.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_core208.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_core208.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_core208.PgColumn<{
11191
11191
  name: "created_at";
11192
11192
  tableName: "evaluation_run_config_evaluation_suite_config_relations";
@@ -11358,7 +11358,7 @@ declare const EvaluationRunConfigEvaluationSuiteConfigRelationApiUpdateSchema: z
11358
11358
  evaluationRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11359
11359
  evaluationSuiteConfigId: 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_core208.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_core208.PgColumn<{
11489
11489
  name: "created_at";
11490
11490
  tableName: "evaluation_job_config_evaluator_relations";
@@ -11656,7 +11656,7 @@ declare const EvaluationJobConfigEvaluatorRelationApiUpdateSchema: z.ZodObject<{
11656
11656
  evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11657
11657
  evaluatorId: 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_core208.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_core208.PgColumn<{
11787
11787
  name: "created_at";
11788
11788
  tableName: "evaluation_suite_config_evaluator_relations";
@@ -11954,7 +11954,7 @@ declare const EvaluationSuiteConfigEvaluatorRelationApiUpdateSchema: z.ZodObject
11954
11954
  evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11955
11955
  evaluationSuiteConfigId: 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_core208.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_core208.PgColumn<{
12167
12167
  name: "created_at";
12168
12168
  tableName: "evaluator";
@@ -12453,10 +12453,9 @@ declare const EvaluatorApiSelectSchema: z.ZodObject<OmitProjectScope<{
12453
12453
  id: z.ZodString;
12454
12454
  }>, z.core.$strip>;
12455
12455
  declare const EvaluatorApiInsertSchema: z.ZodObject<{
12456
- createdAt: z.ZodOptional<z.ZodString>;
12457
12456
  name: z.ZodString;
12458
- updatedAt: z.ZodOptional<z.ZodString>;
12459
12457
  description: z.ZodOptional<z.ZodNullable<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
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12479
12478
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12480
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12481
12479
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<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_core208.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_core208.PgColumn<{
12612
12612
  name: "created_at";
12613
12613
  tableName: "dataset";
@@ -12750,16 +12750,16 @@ declare const DatasetApiSelectSchema: z.ZodObject<OmitProjectScope<{
12750
12750
  id: z.ZodString;
12751
12751
  }>, z.core.$strip>;
12752
12752
  declare const DatasetApiInsertSchema: z.ZodObject<{
12753
- createdAt: z.ZodOptional<z.ZodString>;
12754
12753
  name: z.ZodString;
12754
+ createdAt: z.ZodOptional<z.ZodString>;
12755
12755
  updatedAt: z.ZodOptional<z.ZodString>;
12756
12756
  }, z.core.$strip>;
12757
12757
  declare const DatasetApiUpdateSchema: z.ZodObject<{
12758
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12759
12758
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
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_core208.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_core208.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_core208.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_core208.PgColumn<{
13664
13664
  name: "created_at";
13665
13665
  tableName: "dataset_run_config";
@@ -13842,20 +13842,20 @@ declare const DatasetRunConfigApiSelectSchema: z.ZodObject<OmitProjectScope<{
13842
13842
  id: z.ZodString;
13843
13843
  }>, z.core.$strip>;
13844
13844
  declare const DatasetRunConfigApiInsertSchema: z.ZodObject<{
13845
- createdAt: z.ZodOptional<z.ZodString>;
13846
13845
  name: z.ZodString;
13847
- updatedAt: z.ZodOptional<z.ZodString>;
13848
13846
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13847
+ createdAt: z.ZodOptional<z.ZodString>;
13848
+ updatedAt: z.ZodOptional<z.ZodString>;
13849
13849
  datasetId: z.ZodString;
13850
13850
  }, z.core.$strip>;
13851
13851
  declare const DatasetRunConfigApiUpdateSchema: z.ZodObject<{
13852
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
13853
13852
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13854
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
13855
13853
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
13854
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
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_core208.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_core208.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
- agentId: z.ZodString;
14148
14148
  datasetRunConfigId: 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
- agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14154
14154
  datasetRunConfigId: 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_core208.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_core208.PgColumn<{
14330
14330
  name: "created_at";
14331
14331
  tableName: "data_components";
@@ -14622,10 +14622,10 @@ declare const DataComponentApiInsertSchema: z.ZodObject<OmitProjectScope<{
14622
14622
  }>, z.core.$strip>;
14623
14623
  declare const DataComponentApiUpdateSchema: z.ZodObject<{
14624
14624
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14625
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
14626
14625
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14627
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
14628
14626
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
14627
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
14628
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
14629
14629
  props: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>>>;
14630
14630
  render: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
14631
14631
  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_core208.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_core208.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_core208.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_core208.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
- }, "tenantId" | "projectId" | "id" | "createdAt" | "agentId" | "subAgentId" | "dataComponentId">, undefined>, undefined>;
15173
+ }, "tenantId" | "projectId" | "id" | "agentId" | "createdAt" | "subAgentId" | "dataComponentId">, 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>>;
@@ -15206,7 +15206,7 @@ declare const SubAgentDataComponentApiUpdateSchema: z.ZodObject<{
15206
15206
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
15207
15207
  dataComponentId: 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_core208.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_core208.PgColumn<{
15383
15383
  name: "created_at";
15384
15384
  tableName: "artifact_components";
@@ -15650,10 +15650,10 @@ declare const ArtifactComponentApiInsertSchema: z.ZodObject<{
15650
15650
  }>;
15651
15651
  declare const ArtifactComponentApiUpdateSchema: z.ZodObject<{
15652
15652
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
15653
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
15654
15653
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
15655
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
15656
15654
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
15655
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
15656
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
15657
15657
  props: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>>>;
15658
15658
  render: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
15659
15659
  component: string;
@@ -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_core208.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_core208.PgColumn<{
15806
15806
  name: "artifact_component_id";
15807
15807
  tableName: "sub_agent_artifact_components";
@@ -16047,19 +16047,20 @@ declare const ExternalAgentApiInsertSchema: z.ZodObject<OmitProjectScope<{
16047
16047
  }>, z.core.$strip>;
16048
16048
  declare const ExternalAgentApiUpdateSchema: z.ZodObject<{
16049
16049
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16050
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
16051
16050
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16052
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
16053
16051
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
16054
16052
  credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
16053
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
16054
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
16055
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
- createdAt: z.ZodString;
16060
16059
  name: z.ZodString;
16061
- updatedAt: z.ZodString;
16062
16060
  description: z.ZodNullable<z.ZodString>;
16061
+ prompt: z.ZodNullable<z.ZodString>;
16062
+ createdAt: z.ZodString;
16063
+ updatedAt: z.ZodString;
16063
16064
  models: z.ZodNullable<z.ZodType<{
16064
16065
  base?: {
16065
16066
  model?: string | undefined;
@@ -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
- createdAt: z.ZodString;
16131
16130
  name: z.ZodString;
16132
- updatedAt: z.ZodString;
16133
16131
  description: z.ZodNullable<z.ZodString>;
16134
16132
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16133
+ createdAt: z.ZodString;
16134
+ updatedAt: z.ZodString;
16135
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_core208.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_core208.PgColumn<{
16361
16361
  name: "created_at";
16362
16362
  tableName: "api_keys";
@@ -16597,24 +16597,24 @@ 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
- expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
16602
16600
  agentId: z.ZodOptional<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: {};
16607
16607
  }>;
16608
16608
  declare const ApiKeyApiSelectSchema: z.ZodObject<{
16609
16609
  id: z.ZodString;
16610
- createdAt: z.ZodString;
16611
16610
  name: z.ZodNullable<z.ZodString>;
16612
- updatedAt: z.ZodString;
16613
- expiresAt: z.ZodNullable<z.ZodString>;
16614
16611
  agentId: 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: {};
@@ -16623,14 +16623,14 @@ declare const ApiKeyApiCreationResponseSchema: z.ZodObject<{
16623
16623
  data: z.ZodObject<{
16624
16624
  apiKey: z.ZodObject<{
16625
16625
  id: z.ZodString;
16626
- createdAt: z.ZodString;
16627
16626
  name: z.ZodNullable<z.ZodString>;
16628
- updatedAt: z.ZodString;
16629
- expiresAt: z.ZodNullable<z.ZodString>;
16630
16627
  agentId: 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: {};
@@ -16639,26 +16639,26 @@ declare const ApiKeyApiCreationResponseSchema: z.ZodObject<{
16639
16639
  }, z.core.$strip>;
16640
16640
  }, z.core.$strip>;
16641
16641
  declare const ApiKeyApiInsertSchema: z.ZodObject<{
16642
- createdAt: z.ZodOptional<z.ZodString>;
16643
16642
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16644
- updatedAt: z.ZodOptional<z.ZodString>;
16645
- expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16646
16643
  agentId: z.ZodString;
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
- expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
16655
16653
  agentId: z.ZodOptional<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_core208.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_core208.PgColumn<{
16888
16888
  name: "created_at";
16889
16889
  tableName: "credential_references";
@@ -17145,12 +17145,12 @@ declare const CredentialReferenceUpdateSchema: z.ZodObject<{
17145
17145
  }>;
17146
17146
  declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
17147
17147
  id: z.ZodString;
17148
- createdAt: z.ZodString;
17149
17148
  name: z.ZodString;
17149
+ createdAt: z.ZodString;
17150
17150
  updatedAt: z.ZodString;
17151
- userId: z.ZodNullable<z.ZodString>;
17152
17151
  credentialStoreId: z.ZodString;
17153
17152
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
17153
+ userId: z.ZodNullable<z.ZodString>;
17154
17154
  toolId: z.ZodNullable<z.ZodString>;
17155
17155
  createdBy: z.ZodNullable<z.ZodString>;
17156
17156
  type: z.ZodEnum<{
@@ -17158,7 +17158,7 @@ declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
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_core208.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_core208.PgColumn<{
17426
17426
  name: "created_at";
17427
17427
  tableName: "tools";
@@ -17702,12 +17702,12 @@ declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
17702
17702
  }, z.core.$strip>;
17703
17703
  declare const CredentialReferenceApiInsertSchema: z.ZodObject<{
17704
17704
  id: z.ZodString;
17705
- createdAt: z.ZodOptional<z.ZodString>;
17706
17705
  name: z.ZodString;
17706
+ createdAt: z.ZodOptional<z.ZodString>;
17707
17707
  updatedAt: z.ZodOptional<z.ZodString>;
17708
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17709
17708
  credentialStoreId: z.ZodString;
17710
17709
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
17710
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17711
17711
  toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17712
17712
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17713
17713
  type: z.ZodEnum<{
@@ -17718,12 +17718,12 @@ declare const CredentialReferenceApiInsertSchema: z.ZodObject<{
17718
17718
  }, z.core.$strip>;
17719
17719
  declare const CredentialReferenceApiUpdateSchema: z.ZodObject<{
17720
17720
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
17721
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
17722
17721
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
17722
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
17723
17723
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
17724
- userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
17725
17724
  credentialStoreId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
17726
17725
  retrievalParams: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>>;
17726
+ userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
17727
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<{
@@ -17849,18 +17849,18 @@ declare const MCPToolConfigSchema: z.ZodObject<{
17849
17849
  id: z.ZodString;
17850
17850
  name: z.ZodString;
17851
17851
  expiresAt: z.ZodOptional<z.ZodString>;
17852
+ createdBy: z.ZodOptional<z.ZodString>;
17852
17853
  headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
17853
- relationshipId: z.ZodOptional<z.ZodString>;
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
- createdBy: 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>;
@@ -17882,12 +17882,12 @@ declare const MCPToolConfigSchema: z.ZodObject<{
17882
17882
  }, z.core.$strip>>;
17883
17883
  credential: z.ZodOptional<z.ZodObject<{
17884
17884
  id: z.ZodString;
17885
- createdAt: z.ZodOptional<z.ZodString>;
17886
17885
  name: z.ZodString;
17886
+ createdAt: z.ZodOptional<z.ZodString>;
17887
17887
  updatedAt: z.ZodOptional<z.ZodString>;
17888
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17889
17888
  credentialStoreId: z.ZodString;
17890
17889
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
17890
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17891
17891
  toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17892
17892
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17893
17893
  type: z.ZodEnum<{
@@ -18022,11 +18022,8 @@ declare const ToolApiInsertSchema: z.ZodObject<OmitProjectScope<{
18022
18022
  }>, z.core.$strip>;
18023
18023
  declare const ToolApiUpdateSchema: z.ZodObject<{
18024
18024
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18025
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18026
18025
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18027
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18028
18026
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
18029
- 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>>>>>>>;
18030
18027
  config: z.ZodOptional<z.ZodOptional<z.ZodObject<{
18031
18028
  type: z.ZodLiteral<"mcp">;
18032
18029
  mcp: z.ZodObject<{
@@ -18054,12 +18051,15 @@ declare const ToolApiUpdateSchema: z.ZodObject<{
18054
18051
  }, z.core.$strip>;
18055
18052
  }, z.core.$strip>>>;
18056
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_core208.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_core208.PgColumn<{
18230
18230
  name: "created_at";
18231
18231
  tableName: "function_tools";
@@ -18422,12 +18422,12 @@ declare const FunctionToolUpdateSchema: z.ZodObject<{
18422
18422
  }>;
18423
18423
  declare const FunctionToolApiSelectSchema: z.ZodObject<{
18424
18424
  id: z.ZodString;
18425
- createdAt: z.ZodString;
18426
18425
  name: z.ZodString;
18427
- updatedAt: z.ZodString;
18428
18426
  description: z.ZodNullable<z.ZodString>;
18429
- functionId: z.ZodString;
18430
18427
  agentId: z.ZodString;
18428
+ createdAt: z.ZodString;
18429
+ updatedAt: z.ZodString;
18430
+ functionId: z.ZodString;
18431
18431
  relationshipId: z.ZodOptional<z.ZodString>;
18432
18432
  }, z.core.$strip>;
18433
18433
  declare const FunctionToolApiInsertSchema: z.ZodObject<OmitAgentScope<{
@@ -18443,14 +18443,14 @@ declare const FunctionToolApiInsertSchema: z.ZodObject<OmitAgentScope<{
18443
18443
  }>, z.core.$strip>;
18444
18444
  declare const FunctionToolApiUpdateSchema: z.ZodObject<{
18445
18445
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18446
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18447
18446
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18448
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18449
18447
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
18450
- functionId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18451
18448
  agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18449
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18450
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
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_core208.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_core208.PgColumn<{
18604
18604
  name: "created_at";
18605
18605
  tableName: "sub_agent_function_tool_relations";
@@ -18773,13 +18773,13 @@ declare const SubAgentFunctionToolRelationApiSelectSchema: z.ZodObject<OmitAgent
18773
18773
  id: z.ZodString;
18774
18774
  }>, z.core.$strip>;
18775
18775
  declare const SubAgentFunctionToolRelationApiInsertSchema: z.ZodObject<{
18776
- functionToolId: z.ZodString;
18777
18776
  subAgentId: z.ZodString;
18777
+ functionToolId: z.ZodString;
18778
18778
  }, {
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_core208.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_core208.PgColumn<{
18931
18931
  name: "created_at";
18932
18932
  tableName: "functions";
@@ -19122,11 +19122,11 @@ declare const FunctionApiInsertSchema: z.ZodObject<OmitProjectScope<{
19122
19122
  }>, z.core.$strip>;
19123
19123
  declare const FunctionApiUpdateSchema: z.ZodObject<{
19124
19124
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19125
- inputSchema: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>>>;
19126
- executeCode: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19127
- dependencies: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>>>;
19128
19125
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
19129
19126
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
19127
+ inputSchema: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>>>;
19128
+ dependencies: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>>>;
19129
+ executeCode: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19130
19130
  }, z.core.$strip>;
19131
19131
  declare const FetchConfigSchema: z.ZodObject<{
19132
19132
  url: z.ZodString;
@@ -19169,12 +19169,12 @@ declare const FetchDefinitionSchema: z.ZodObject<{
19169
19169
  defaultValue: z.ZodOptional<z.ZodAny>;
19170
19170
  credential: z.ZodOptional<z.ZodObject<{
19171
19171
  id: z.ZodString;
19172
- createdAt: z.ZodOptional<z.ZodString>;
19173
19172
  name: z.ZodString;
19173
+ createdAt: z.ZodOptional<z.ZodString>;
19174
19174
  updatedAt: z.ZodOptional<z.ZodString>;
19175
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19176
19175
  credentialStoreId: z.ZodString;
19177
19176
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
19177
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19178
19178
  toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19179
19179
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19180
19180
  type: z.ZodEnum<{
@@ -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_core208.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_core208.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;
@@ -19725,15 +19725,15 @@ declare const SubAgentToolRelationApiUpdateSchema: z.ZodObject<{
19725
19725
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19726
19726
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
19727
19727
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
19728
- headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
19729
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19730
19728
  toolId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19731
- selectedTools: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>>>;
19729
+ headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
19732
19730
  toolPolicies: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
19733
19731
  needsApproval: z.ZodOptional<z.ZodBoolean>;
19734
19732
  }, z.core.$strip>>>>>>;
19733
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
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_core208.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_core208.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;
@@ -20120,10 +20120,10 @@ declare const SubAgentExternalAgentRelationApiUpdateSchema: z.ZodObject<{
20120
20120
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
20121
20121
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
20122
20122
  headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
20123
- subAgentId: z.ZodOptional<z.ZodOptional<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_core208.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_core208.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;
@@ -20513,7 +20513,7 @@ declare const SubAgentTeamAgentRelationApiUpdateSchema: z.ZodObject<{
20513
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_core208.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_core208.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_core208.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_core208.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" | "tenantId" | "projectId" | "id" | "createdAt" | "name" | "updatedAt" | "description" | "metadata" | "taskId" | "contextId" | "visibility" | "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>>;
21924
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
21923
+ type: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
21925
21924
  name: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
21926
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
21927
21925
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<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>>>>>>;
21929
- taskId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21926
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
21927
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
21928
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>>;
21930
21929
  contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21931
21930
  visibility: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
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<{
@@ -22000,10 +22000,10 @@ declare const TeamAgentSchema: z.ZodObject<{
22000
22000
  }, z.core.$strip>;
22001
22001
  declare const FullAgentAgentInsertSchema: z.ZodObject<{
22002
22002
  id: z.ZodString;
22003
- createdAt: z.ZodOptional<z.ZodString>;
22004
22003
  name: z.ZodString;
22005
- updatedAt: z.ZodOptional<z.ZodString>;
22006
22004
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22005
+ createdAt: z.ZodOptional<z.ZodString>;
22006
+ updatedAt: z.ZodOptional<z.ZodString>;
22007
22007
  models: z.ZodOptional<z.ZodObject<{
22008
22008
  base: z.ZodOptional<z.ZodObject<{
22009
22009
  model: z.ZodOptional<z.ZodString>;
@@ -22053,19 +22053,19 @@ declare const FullAgentAgentInsertSchema: z.ZodObject<{
22053
22053
  }, z.core.$strip>]>>>;
22054
22054
  }, z.core.$strip>;
22055
22055
  declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
22056
- createdAt: z.ZodOptional<z.ZodString>;
22057
22056
  name: z.ZodString;
22058
- updatedAt: z.ZodOptional<z.ZodString>;
22059
22057
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22058
+ createdAt: z.ZodOptional<z.ZodString>;
22059
+ updatedAt: z.ZodOptional<z.ZodString>;
22060
22060
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22061
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;
22065
- createdAt: z.ZodOptional<z.ZodString>;
22066
22065
  name: z.ZodString;
22067
- updatedAt: z.ZodOptional<z.ZodString>;
22068
22066
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22067
+ createdAt: z.ZodOptional<z.ZodString>;
22068
+ updatedAt: z.ZodOptional<z.ZodString>;
22069
22069
  models: z.ZodOptional<z.ZodObject<{
22070
22070
  base: z.ZodOptional<z.ZodObject<{
22071
22071
  model: z.ZodOptional<z.ZodString>;
@@ -22193,12 +22193,12 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
22193
22193
  id: z.ZodString;
22194
22194
  }>, z.core.$strip>>>;
22195
22195
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
22196
- inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
22197
- createdAt: z.ZodOptional<z.ZodString>;
22198
22196
  name: z.ZodString;
22199
- updatedAt: z.ZodOptional<z.ZodString>;
22200
22197
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22198
+ createdAt: z.ZodOptional<z.ZodString>;
22199
+ updatedAt: z.ZodOptional<z.ZodString>;
22201
22200
  enabled: z.ZodOptional<z.ZodBoolean>;
22201
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
22202
22202
  outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<{
22203
22203
  jmespath?: string;
22204
22204
  objectTransformation?: Record<string, string>;
@@ -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>>>;
@@ -22369,10 +22369,10 @@ declare const ProjectUpdateSchema: z.ZodObject<{
22369
22369
  }>;
22370
22370
  declare const ProjectApiSelectSchema: z.ZodObject<{
22371
22371
  id: z.ZodString;
22372
- createdAt: z.ZodString;
22373
22372
  name: z.ZodString;
22374
- updatedAt: z.ZodString;
22375
22373
  description: z.ZodNullable<z.ZodString>;
22374
+ createdAt: z.ZodString;
22375
+ updatedAt: z.ZodString;
22376
22376
  models: z.ZodNullable<z.ZodObject<{
22377
22377
  base: z.ZodObject<{
22378
22378
  model: z.ZodOptional<z.ZodString>;
@@ -22469,19 +22469,19 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
22469
22469
  stepCountIs: z.ZodOptional<z.ZodNumber>;
22470
22470
  }, z.core.$strip>>;
22471
22471
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
22472
- createdAt: z.ZodOptional<z.ZodString>;
22473
22472
  name: z.ZodString;
22474
- updatedAt: z.ZodOptional<z.ZodString>;
22475
22473
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22474
+ createdAt: z.ZodOptional<z.ZodString>;
22475
+ updatedAt: z.ZodOptional<z.ZodString>;
22476
22476
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22477
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;
22481
- createdAt: z.ZodOptional<z.ZodString>;
22482
22481
  name: z.ZodString;
22483
- updatedAt: z.ZodOptional<z.ZodString>;
22484
22482
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22483
+ createdAt: z.ZodOptional<z.ZodString>;
22484
+ updatedAt: z.ZodOptional<z.ZodString>;
22485
22485
  models: z.ZodOptional<z.ZodObject<{
22486
22486
  base: z.ZodOptional<z.ZodObject<{
22487
22487
  model: z.ZodOptional<z.ZodString>;
@@ -22609,12 +22609,12 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
22609
22609
  id: z.ZodString;
22610
22610
  }>, z.core.$strip>>>;
22611
22611
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
22612
- inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
22613
- createdAt: z.ZodOptional<z.ZodString>;
22614
22612
  name: z.ZodString;
22615
- updatedAt: z.ZodOptional<z.ZodString>;
22616
22613
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22614
+ createdAt: z.ZodOptional<z.ZodString>;
22615
+ updatedAt: z.ZodOptional<z.ZodString>;
22617
22616
  enabled: z.ZodOptional<z.ZodBoolean>;
22617
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
22618
22618
  outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<{
22619
22619
  jmespath?: string;
22620
22620
  objectTransformation?: Record<string, string>;
@@ -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>>>;
@@ -22807,12 +22807,12 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
22807
22807
  }, z.core.$strip>>;
22808
22808
  credentialReferences: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
22809
22809
  id: z.ZodString;
22810
- createdAt: z.ZodOptional<z.ZodString>;
22811
22810
  name: z.ZodString;
22811
+ createdAt: z.ZodOptional<z.ZodString>;
22812
22812
  updatedAt: z.ZodOptional<z.ZodString>;
22813
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22814
22813
  credentialStoreId: z.ZodString;
22815
22814
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
22815
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22816
22816
  toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22817
22817
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22818
22818
  type: z.ZodEnum<{
@@ -22829,10 +22829,10 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
22829
22829
  }>;
22830
22830
  declare const FullAgentSubAgentSelectSchema: z.ZodObject<{
22831
22831
  id: z.ZodString;
22832
- createdAt: z.ZodString;
22833
22832
  name: z.ZodString;
22834
- updatedAt: z.ZodString;
22835
22833
  description: z.ZodNullable<z.ZodString>;
22834
+ createdAt: z.ZodString;
22835
+ updatedAt: z.ZodString;
22836
22836
  models: z.ZodNullable<z.ZodType<{
22837
22837
  base?: {
22838
22838
  model?: string | undefined;
@@ -22922,10 +22922,10 @@ declare const FullAgentSubAgentSelectSchema: z.ZodObject<{
22922
22922
  }, z.core.$strip>;
22923
22923
  declare const FullAgentSubAgentSelectSchemaWithRelationIds: z.ZodObject<{
22924
22924
  id: z.ZodString;
22925
- createdAt: z.ZodString;
22926
22925
  name: z.ZodString;
22927
- updatedAt: z.ZodString;
22928
22926
  description: z.ZodNullable<z.ZodString>;
22927
+ createdAt: z.ZodString;
22928
+ updatedAt: z.ZodString;
22929
22929
  models: z.ZodNullable<z.ZodType<{
22930
22930
  base?: {
22931
22931
  model?: string | undefined;
@@ -23021,18 +23021,18 @@ declare const FullAgentSubAgentSelectSchemaWithRelationIds: z.ZodObject<{
23021
23021
  }, z.core.$strip>;
23022
23022
  declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
23023
23023
  id: z.ZodString;
23024
- createdAt: z.ZodString;
23025
23024
  name: z.ZodString;
23026
- updatedAt: z.ZodString;
23027
23025
  description: z.ZodNullable<z.ZodString>;
23026
+ createdAt: z.ZodString;
23027
+ updatedAt: z.ZodString;
23028
23028
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
23029
23029
  contextConfigId: z.ZodNullable<z.ZodString>;
23030
23030
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
23031
23031
  id: z.ZodString;
23032
- createdAt: z.ZodString;
23033
23032
  name: z.ZodString;
23034
- updatedAt: z.ZodString;
23035
23033
  description: z.ZodNullable<z.ZodString>;
23034
+ createdAt: z.ZodString;
23035
+ updatedAt: z.ZodString;
23036
23036
  models: z.ZodNullable<z.ZodType<{
23037
23037
  base?: {
23038
23038
  model?: string | undefined;
@@ -23166,12 +23166,12 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
23166
23166
  }, z.core.$strip>>>;
23167
23167
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
23168
23168
  id: z.ZodString;
23169
- createdAt: z.ZodString;
23170
23169
  name: z.ZodString;
23171
- updatedAt: z.ZodString;
23172
23170
  description: z.ZodNullable<z.ZodString>;
23173
- functionId: z.ZodString;
23174
23171
  agentId: z.ZodString;
23172
+ createdAt: z.ZodString;
23173
+ updatedAt: z.ZodString;
23174
+ functionId: z.ZodString;
23175
23175
  relationshipId: z.ZodOptional<z.ZodString>;
23176
23176
  }, z.core.$strip>>>;
23177
23177
  functions: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
@@ -23227,10 +23227,10 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
23227
23227
  }, z.core.$strip>;
23228
23228
  declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObject<{
23229
23229
  id: z.ZodString;
23230
- createdAt: z.ZodString;
23231
23230
  name: z.ZodString;
23232
- updatedAt: z.ZodString;
23233
23231
  description: z.ZodNullable<z.ZodString>;
23232
+ createdAt: z.ZodString;
23233
+ updatedAt: z.ZodString;
23234
23234
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
23235
23235
  contextConfigId: z.ZodNullable<z.ZodString>;
23236
23236
  tools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
@@ -23279,12 +23279,12 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
23279
23279
  }, z.core.$strip>>>;
23280
23280
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
23281
23281
  id: z.ZodString;
23282
- createdAt: z.ZodString;
23283
23282
  name: z.ZodString;
23284
- updatedAt: z.ZodString;
23285
23283
  description: z.ZodNullable<z.ZodString>;
23286
- functionId: z.ZodString;
23287
23284
  agentId: z.ZodString;
23285
+ createdAt: z.ZodString;
23286
+ updatedAt: z.ZodString;
23287
+ functionId: z.ZodString;
23288
23288
  relationshipId: z.ZodOptional<z.ZodString>;
23289
23289
  }, z.core.$strip>>>;
23290
23290
  functions: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
@@ -23339,10 +23339,10 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
23339
23339
  prompt: z.ZodNullable<z.ZodString>;
23340
23340
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
23341
23341
  id: z.ZodString;
23342
- createdAt: z.ZodString;
23343
23342
  name: z.ZodString;
23344
- updatedAt: z.ZodString;
23345
23343
  description: z.ZodNullable<z.ZodString>;
23344
+ createdAt: z.ZodString;
23345
+ updatedAt: z.ZodString;
23346
23346
  models: z.ZodNullable<z.ZodType<{
23347
23347
  base?: {
23348
23348
  model?: string | undefined;
@@ -23439,10 +23439,10 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
23439
23439
  }, z.core.$strip>;
23440
23440
  declare const FullProjectSelectSchema: z.ZodObject<{
23441
23441
  id: z.ZodString;
23442
- createdAt: z.ZodString;
23443
23442
  name: z.ZodString;
23444
- updatedAt: z.ZodString;
23445
23443
  description: z.ZodNullable<z.ZodString>;
23444
+ createdAt: z.ZodString;
23445
+ updatedAt: z.ZodString;
23446
23446
  models: z.ZodNullable<z.ZodObject<{
23447
23447
  base: z.ZodObject<{
23448
23448
  model: z.ZodOptional<z.ZodString>;
@@ -23463,18 +23463,18 @@ declare const FullProjectSelectSchema: z.ZodObject<{
23463
23463
  }, z.core.$strip>>;
23464
23464
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
23465
23465
  id: z.ZodString;
23466
- createdAt: z.ZodString;
23467
23466
  name: z.ZodString;
23468
- updatedAt: z.ZodString;
23469
23467
  description: z.ZodNullable<z.ZodString>;
23468
+ createdAt: z.ZodString;
23469
+ updatedAt: z.ZodString;
23470
23470
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
23471
23471
  contextConfigId: z.ZodNullable<z.ZodString>;
23472
23472
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
23473
23473
  id: z.ZodString;
23474
- createdAt: z.ZodString;
23475
23474
  name: z.ZodString;
23476
- updatedAt: z.ZodString;
23477
23475
  description: z.ZodNullable<z.ZodString>;
23476
+ createdAt: z.ZodString;
23477
+ updatedAt: z.ZodString;
23478
23478
  models: z.ZodNullable<z.ZodType<{
23479
23479
  base?: {
23480
23480
  model?: string | undefined;
@@ -23608,12 +23608,12 @@ declare const FullProjectSelectSchema: z.ZodObject<{
23608
23608
  }, z.core.$strip>>>;
23609
23609
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
23610
23610
  id: z.ZodString;
23611
- createdAt: z.ZodString;
23612
23611
  name: z.ZodString;
23613
- updatedAt: z.ZodString;
23614
23612
  description: z.ZodNullable<z.ZodString>;
23615
- functionId: z.ZodString;
23616
23613
  agentId: z.ZodString;
23614
+ createdAt: z.ZodString;
23615
+ updatedAt: z.ZodString;
23616
+ functionId: z.ZodString;
23617
23617
  relationshipId: z.ZodOptional<z.ZodString>;
23618
23618
  }, z.core.$strip>>>;
23619
23619
  functions: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
@@ -23697,12 +23697,12 @@ declare const FullProjectSelectSchema: z.ZodObject<{
23697
23697
  }>, z.core.$strip>>;
23698
23698
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
23699
23699
  id: z.ZodString;
23700
- createdAt: z.ZodString;
23701
23700
  name: z.ZodString;
23702
- updatedAt: z.ZodString;
23703
23701
  description: z.ZodNullable<z.ZodString>;
23704
- functionId: z.ZodString;
23705
23702
  agentId: z.ZodString;
23703
+ createdAt: z.ZodString;
23704
+ updatedAt: z.ZodString;
23705
+ functionId: z.ZodString;
23706
23706
  relationshipId: z.ZodOptional<z.ZodString>;
23707
23707
  }, z.core.$strip>>>;
23708
23708
  functions: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
@@ -23789,12 +23789,12 @@ declare const FullProjectSelectSchema: z.ZodObject<{
23789
23789
  }, z.core.$strip>>;
23790
23790
  credentialReferences: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
23791
23791
  id: z.ZodString;
23792
- createdAt: z.ZodString;
23793
23792
  name: z.ZodString;
23793
+ createdAt: z.ZodString;
23794
23794
  updatedAt: z.ZodString;
23795
- userId: z.ZodNullable<z.ZodString>;
23796
23795
  credentialStoreId: z.ZodString;
23797
23796
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
23797
+ userId: z.ZodNullable<z.ZodString>;
23798
23798
  toolId: z.ZodNullable<z.ZodString>;
23799
23799
  createdBy: z.ZodNullable<z.ZodString>;
23800
23800
  type: z.ZodEnum<{
@@ -23802,7 +23802,7 @@ declare const FullProjectSelectSchema: z.ZodObject<{
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_core208.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_core208.PgColumn<{
24070
24070
  name: "created_at";
24071
24071
  tableName: "tools";
@@ -24350,10 +24350,10 @@ declare const FullProjectSelectSchema: z.ZodObject<{
24350
24350
  }>;
24351
24351
  declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
24352
24352
  id: z.ZodString;
24353
- createdAt: z.ZodString;
24354
24353
  name: z.ZodString;
24355
- updatedAt: z.ZodString;
24356
24354
  description: z.ZodNullable<z.ZodString>;
24355
+ createdAt: z.ZodString;
24356
+ updatedAt: z.ZodString;
24357
24357
  models: z.ZodNullable<z.ZodObject<{
24358
24358
  base: z.ZodObject<{
24359
24359
  model: z.ZodOptional<z.ZodString>;
@@ -24402,12 +24402,12 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
24402
24402
  }>, z.core.$strip>>;
24403
24403
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
24404
24404
  id: z.ZodString;
24405
- createdAt: z.ZodString;
24406
24405
  name: z.ZodString;
24407
- updatedAt: z.ZodString;
24408
24406
  description: z.ZodNullable<z.ZodString>;
24409
- functionId: z.ZodString;
24410
24407
  agentId: z.ZodString;
24408
+ createdAt: z.ZodString;
24409
+ updatedAt: z.ZodString;
24410
+ functionId: z.ZodString;
24411
24411
  relationshipId: z.ZodOptional<z.ZodString>;
24412
24412
  }, z.core.$strip>>>;
24413
24413
  functions: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
@@ -24494,12 +24494,12 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
24494
24494
  }, z.core.$strip>>;
24495
24495
  credentialReferences: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
24496
24496
  id: z.ZodString;
24497
- createdAt: z.ZodString;
24498
24497
  name: z.ZodString;
24498
+ createdAt: z.ZodString;
24499
24499
  updatedAt: z.ZodString;
24500
- userId: z.ZodNullable<z.ZodString>;
24501
24500
  credentialStoreId: z.ZodString;
24502
24501
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
24502
+ userId: z.ZodNullable<z.ZodString>;
24503
24503
  toolId: z.ZodNullable<z.ZodString>;
24504
24504
  createdBy: z.ZodNullable<z.ZodString>;
24505
24505
  type: z.ZodEnum<{
@@ -24507,7 +24507,7 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
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_core208.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_core208.PgColumn<{
24775
24775
  name: "created_at";
24776
24776
  tableName: "tools";
@@ -25051,10 +25051,10 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
25051
25051
  }, z.core.$strip>>>;
25052
25052
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
25053
25053
  id: z.ZodString;
25054
- createdAt: z.ZodString;
25055
25054
  name: z.ZodString;
25056
- updatedAt: z.ZodString;
25057
25055
  description: z.ZodNullable<z.ZodString>;
25056
+ createdAt: z.ZodString;
25057
+ updatedAt: z.ZodString;
25058
25058
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
25059
25059
  contextConfigId: z.ZodNullable<z.ZodString>;
25060
25060
  tools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
@@ -25103,12 +25103,12 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
25103
25103
  }, z.core.$strip>>>;
25104
25104
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
25105
25105
  id: z.ZodString;
25106
- createdAt: z.ZodString;
25107
25106
  name: z.ZodString;
25108
- updatedAt: z.ZodString;
25109
25107
  description: z.ZodNullable<z.ZodString>;
25110
- functionId: z.ZodString;
25111
25108
  agentId: z.ZodString;
25109
+ createdAt: z.ZodString;
25110
+ updatedAt: z.ZodString;
25111
+ functionId: z.ZodString;
25112
25112
  relationshipId: z.ZodOptional<z.ZodString>;
25113
25113
  }, z.core.$strip>>>;
25114
25114
  functions: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
@@ -25163,10 +25163,10 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
25163
25163
  prompt: z.ZodNullable<z.ZodString>;
25164
25164
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
25165
25165
  id: z.ZodString;
25166
- createdAt: z.ZodString;
25167
25166
  name: z.ZodString;
25168
- updatedAt: z.ZodString;
25169
25167
  description: z.ZodNullable<z.ZodString>;
25168
+ createdAt: z.ZodString;
25169
+ updatedAt: z.ZodString;
25170
25170
  models: z.ZodNullable<z.ZodType<{
25171
25171
  base?: {
25172
25172
  model?: string | undefined;
@@ -25268,10 +25268,10 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
25268
25268
  declare const ProjectResponse: z.ZodObject<{
25269
25269
  data: z.ZodObject<{
25270
25270
  id: z.ZodString;
25271
- createdAt: z.ZodString;
25272
25271
  name: z.ZodString;
25273
- updatedAt: z.ZodString;
25274
25272
  description: z.ZodNullable<z.ZodString>;
25273
+ createdAt: z.ZodString;
25274
+ updatedAt: z.ZodString;
25275
25275
  models: z.ZodNullable<z.ZodObject<{
25276
25276
  base: z.ZodObject<{
25277
25277
  model: z.ZodOptional<z.ZodString>;
@@ -25559,14 +25559,14 @@ declare const ContextConfigResponse: z.ZodObject<{
25559
25559
  declare const ApiKeyResponse: z.ZodObject<{
25560
25560
  data: z.ZodObject<{
25561
25561
  id: z.ZodString;
25562
- createdAt: z.ZodString;
25563
25562
  name: z.ZodNullable<z.ZodString>;
25564
- updatedAt: z.ZodString;
25565
- expiresAt: z.ZodNullable<z.ZodString>;
25566
25563
  agentId: 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: {};
@@ -25575,12 +25575,12 @@ declare const ApiKeyResponse: z.ZodObject<{
25575
25575
  declare const CredentialReferenceResponse: z.ZodObject<{
25576
25576
  data: z.ZodObject<{
25577
25577
  id: z.ZodString;
25578
- createdAt: z.ZodString;
25579
25578
  name: z.ZodString;
25579
+ createdAt: z.ZodString;
25580
25580
  updatedAt: z.ZodString;
25581
- userId: z.ZodNullable<z.ZodString>;
25582
25581
  credentialStoreId: z.ZodString;
25583
25582
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
25583
+ userId: z.ZodNullable<z.ZodString>;
25584
25584
  toolId: z.ZodNullable<z.ZodString>;
25585
25585
  createdBy: z.ZodNullable<z.ZodString>;
25586
25586
  type: z.ZodEnum<{
@@ -25588,7 +25588,7 @@ declare const CredentialReferenceResponse: z.ZodObject<{
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_core208.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_core208.PgColumn<{
25856
25856
  name: "created_at";
25857
25857
  tableName: "tools";
@@ -26146,12 +26146,12 @@ declare const FunctionResponse: z.ZodObject<{
26146
26146
  declare const FunctionToolResponse: z.ZodObject<{
26147
26147
  data: z.ZodObject<{
26148
26148
  id: z.ZodString;
26149
- createdAt: z.ZodString;
26150
26149
  name: z.ZodString;
26151
- updatedAt: z.ZodString;
26152
26150
  description: z.ZodNullable<z.ZodString>;
26153
- functionId: z.ZodString;
26154
26151
  agentId: z.ZodString;
26152
+ createdAt: z.ZodString;
26153
+ updatedAt: z.ZodString;
26154
+ functionId: z.ZodString;
26155
26155
  relationshipId: z.ZodOptional<z.ZodString>;
26156
26156
  }, z.core.$strip>;
26157
26157
  }, 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;
@@ -26253,19 +26253,19 @@ declare const ConversationResponse: z.ZodObject<{
26253
26253
  agentId: z.ZodNullable<z.ZodString>;
26254
26254
  activeSubAgentId: z.ZodString;
26255
26255
  ref: z.ZodNullable<z.ZodType<{
26256
- type: "tag" | "commit" | "branch";
26256
+ type: "commit" | "tag" | "branch";
26257
26257
  name: string;
26258
26258
  hash: string;
26259
26259
  }, {
26260
- type: "tag" | "commit" | "branch";
26260
+ type: "commit" | "tag" | "branch";
26261
26261
  name: string;
26262
26262
  hash: string;
26263
26263
  }, z.core.$ZodTypeInternals<{
26264
- type: "tag" | "commit" | "branch";
26264
+ type: "commit" | "tag" | "branch";
26265
26265
  name: string;
26266
26266
  hash: string;
26267
26267
  }, {
26268
- type: "tag" | "commit" | "branch";
26268
+ type: "commit" | "tag" | "branch";
26269
26269
  name: string;
26270
26270
  hash: string;
26271
26271
  }>>>;
@@ -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;
@@ -26350,10 +26350,10 @@ declare const TriggerInvocationResponse: z.ZodObject<{
26350
26350
  declare const ProjectListResponse: z.ZodObject<{
26351
26351
  data: z.ZodArray<z.ZodObject<{
26352
26352
  id: z.ZodString;
26353
- createdAt: z.ZodString;
26354
26353
  name: z.ZodString;
26355
- updatedAt: z.ZodString;
26356
26354
  description: z.ZodNullable<z.ZodString>;
26355
+ createdAt: z.ZodString;
26356
+ updatedAt: z.ZodString;
26357
26357
  models: z.ZodNullable<z.ZodObject<{
26358
26358
  base: z.ZodObject<{
26359
26359
  model: z.ZodOptional<z.ZodString>;
@@ -26677,14 +26677,14 @@ declare const ContextConfigListResponse: z.ZodObject<{
26677
26677
  declare const ApiKeyListResponse: z.ZodObject<{
26678
26678
  data: z.ZodArray<z.ZodObject<{
26679
26679
  id: z.ZodString;
26680
- createdAt: z.ZodString;
26681
26680
  name: z.ZodNullable<z.ZodString>;
26682
- updatedAt: z.ZodString;
26683
- expiresAt: z.ZodNullable<z.ZodString>;
26684
26681
  agentId: 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: {};
@@ -26699,12 +26699,12 @@ declare const ApiKeyListResponse: z.ZodObject<{
26699
26699
  declare const CredentialReferenceListResponse: z.ZodObject<{
26700
26700
  data: z.ZodArray<z.ZodObject<{
26701
26701
  id: z.ZodString;
26702
- createdAt: z.ZodString;
26703
26702
  name: z.ZodString;
26703
+ createdAt: z.ZodString;
26704
26704
  updatedAt: z.ZodString;
26705
- userId: z.ZodNullable<z.ZodString>;
26706
26705
  credentialStoreId: z.ZodString;
26707
26706
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
26707
+ userId: z.ZodNullable<z.ZodString>;
26708
26708
  toolId: z.ZodNullable<z.ZodString>;
26709
26709
  createdBy: z.ZodNullable<z.ZodString>;
26710
26710
  type: z.ZodEnum<{
@@ -26712,7 +26712,7 @@ declare const CredentialReferenceListResponse: z.ZodObject<{
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_core208.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_core208.PgColumn<{
26980
26980
  name: "created_at";
26981
26981
  tableName: "tools";
@@ -27282,12 +27282,12 @@ declare const FunctionListResponse: z.ZodObject<{
27282
27282
  declare const FunctionToolListResponse: z.ZodObject<{
27283
27283
  data: z.ZodArray<z.ZodObject<{
27284
27284
  id: z.ZodString;
27285
- createdAt: z.ZodString;
27286
27285
  name: z.ZodString;
27287
- updatedAt: z.ZodString;
27288
27286
  description: z.ZodNullable<z.ZodString>;
27289
- functionId: z.ZodString;
27290
27287
  agentId: z.ZodString;
27288
+ createdAt: z.ZodString;
27289
+ updatedAt: z.ZodString;
27290
+ functionId: z.ZodString;
27291
27291
  relationshipId: z.ZodOptional<z.ZodString>;
27292
27292
  }, z.core.$strip>>;
27293
27293
  pagination: z.ZodObject<{
@@ -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;
@@ -27425,19 +27425,19 @@ declare const ConversationListResponse: z.ZodObject<{
27425
27425
  agentId: z.ZodNullable<z.ZodString>;
27426
27426
  activeSubAgentId: z.ZodString;
27427
27427
  ref: z.ZodNullable<z.ZodType<{
27428
- type: "tag" | "commit" | "branch";
27428
+ type: "commit" | "tag" | "branch";
27429
27429
  name: string;
27430
27430
  hash: string;
27431
27431
  }, {
27432
- type: "tag" | "commit" | "branch";
27432
+ type: "commit" | "tag" | "branch";
27433
27433
  name: string;
27434
27434
  hash: string;
27435
27435
  }, z.core.$ZodTypeInternals<{
27436
- type: "tag" | "commit" | "branch";
27436
+ type: "commit" | "tag" | "branch";
27437
27437
  name: string;
27438
27438
  hash: string;
27439
27439
  }, {
27440
- type: "tag" | "commit" | "branch";
27440
+ type: "commit" | "tag" | "branch";
27441
27441
  name: string;
27442
27442
  hash: string;
27443
27443
  }>>>;
@@ -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;
@@ -27623,19 +27623,19 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
27623
27623
  stepCountIs: z.ZodOptional<z.ZodNumber>;
27624
27624
  }, z.core.$strip>>;
27625
27625
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
27626
- createdAt: z.ZodOptional<z.ZodString>;
27627
27626
  name: z.ZodString;
27628
- updatedAt: z.ZodOptional<z.ZodString>;
27629
27627
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27628
+ createdAt: z.ZodOptional<z.ZodString>;
27629
+ updatedAt: z.ZodOptional<z.ZodString>;
27630
27630
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27631
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;
27635
- createdAt: z.ZodOptional<z.ZodString>;
27636
27635
  name: z.ZodString;
27637
- updatedAt: z.ZodOptional<z.ZodString>;
27638
27636
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27637
+ createdAt: z.ZodOptional<z.ZodString>;
27638
+ updatedAt: z.ZodOptional<z.ZodString>;
27639
27639
  models: z.ZodOptional<z.ZodObject<{
27640
27640
  base: z.ZodOptional<z.ZodObject<{
27641
27641
  model: z.ZodOptional<z.ZodString>;
@@ -27763,12 +27763,12 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
27763
27763
  id: z.ZodString;
27764
27764
  }>, z.core.$strip>>>;
27765
27765
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
27766
- inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
27767
- createdAt: z.ZodOptional<z.ZodString>;
27768
27766
  name: z.ZodString;
27769
- updatedAt: z.ZodOptional<z.ZodString>;
27770
27767
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27768
+ createdAt: z.ZodOptional<z.ZodString>;
27769
+ updatedAt: z.ZodOptional<z.ZodString>;
27771
27770
  enabled: z.ZodOptional<z.ZodBoolean>;
27771
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
27772
27772
  outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<{
27773
27773
  jmespath?: string;
27774
27774
  objectTransformation?: Record<string, string>;
@@ -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>>>;
@@ -27961,12 +27961,12 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
27961
27961
  }, z.core.$strip>>;
27962
27962
  credentialReferences: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
27963
27963
  id: z.ZodString;
27964
- createdAt: z.ZodOptional<z.ZodString>;
27965
27964
  name: z.ZodString;
27965
+ createdAt: z.ZodOptional<z.ZodString>;
27966
27966
  updatedAt: z.ZodOptional<z.ZodString>;
27967
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27968
27967
  credentialStoreId: z.ZodString;
27969
27968
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
27969
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27970
27970
  toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27971
27971
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27972
27972
  type: z.ZodEnum<{
@@ -27985,10 +27985,10 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
27985
27985
  declare const FullProjectSelectResponse: z.ZodObject<{
27986
27986
  data: z.ZodObject<{
27987
27987
  id: z.ZodString;
27988
- createdAt: z.ZodString;
27989
27988
  name: z.ZodString;
27990
- updatedAt: z.ZodString;
27991
27989
  description: z.ZodNullable<z.ZodString>;
27990
+ createdAt: z.ZodString;
27991
+ updatedAt: z.ZodString;
27992
27992
  models: z.ZodNullable<z.ZodObject<{
27993
27993
  base: z.ZodObject<{
27994
27994
  model: z.ZodOptional<z.ZodString>;
@@ -28009,18 +28009,18 @@ declare const FullProjectSelectResponse: z.ZodObject<{
28009
28009
  }, z.core.$strip>>;
28010
28010
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
28011
28011
  id: z.ZodString;
28012
- createdAt: z.ZodString;
28013
28012
  name: z.ZodString;
28014
- updatedAt: z.ZodString;
28015
28013
  description: z.ZodNullable<z.ZodString>;
28014
+ createdAt: z.ZodString;
28015
+ updatedAt: z.ZodString;
28016
28016
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
28017
28017
  contextConfigId: z.ZodNullable<z.ZodString>;
28018
28018
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
28019
28019
  id: z.ZodString;
28020
- createdAt: z.ZodString;
28021
28020
  name: z.ZodString;
28022
- updatedAt: z.ZodString;
28023
28021
  description: z.ZodNullable<z.ZodString>;
28022
+ createdAt: z.ZodString;
28023
+ updatedAt: z.ZodString;
28024
28024
  models: z.ZodNullable<z.ZodType<{
28025
28025
  base?: {
28026
28026
  model?: string | undefined;
@@ -28154,12 +28154,12 @@ declare const FullProjectSelectResponse: z.ZodObject<{
28154
28154
  }, z.core.$strip>>>;
28155
28155
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
28156
28156
  id: z.ZodString;
28157
- createdAt: z.ZodString;
28158
28157
  name: z.ZodString;
28159
- updatedAt: z.ZodString;
28160
28158
  description: z.ZodNullable<z.ZodString>;
28161
- functionId: z.ZodString;
28162
28159
  agentId: z.ZodString;
28160
+ createdAt: z.ZodString;
28161
+ updatedAt: z.ZodString;
28162
+ functionId: z.ZodString;
28163
28163
  relationshipId: z.ZodOptional<z.ZodString>;
28164
28164
  }, z.core.$strip>>>;
28165
28165
  functions: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
@@ -28243,12 +28243,12 @@ declare const FullProjectSelectResponse: z.ZodObject<{
28243
28243
  }>, z.core.$strip>>;
28244
28244
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
28245
28245
  id: z.ZodString;
28246
- createdAt: z.ZodString;
28247
28246
  name: z.ZodString;
28248
- updatedAt: z.ZodString;
28249
28247
  description: z.ZodNullable<z.ZodString>;
28250
- functionId: z.ZodString;
28251
28248
  agentId: z.ZodString;
28249
+ createdAt: z.ZodString;
28250
+ updatedAt: z.ZodString;
28251
+ functionId: z.ZodString;
28252
28252
  relationshipId: z.ZodOptional<z.ZodString>;
28253
28253
  }, z.core.$strip>>>;
28254
28254
  functions: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
@@ -28335,12 +28335,12 @@ declare const FullProjectSelectResponse: z.ZodObject<{
28335
28335
  }, z.core.$strip>>;
28336
28336
  credentialReferences: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
28337
28337
  id: z.ZodString;
28338
- createdAt: z.ZodString;
28339
28338
  name: z.ZodString;
28339
+ createdAt: z.ZodString;
28340
28340
  updatedAt: z.ZodString;
28341
- userId: z.ZodNullable<z.ZodString>;
28342
28341
  credentialStoreId: z.ZodString;
28343
28342
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
28343
+ userId: z.ZodNullable<z.ZodString>;
28344
28344
  toolId: z.ZodNullable<z.ZodString>;
28345
28345
  createdBy: z.ZodNullable<z.ZodString>;
28346
28346
  type: z.ZodEnum<{
@@ -28348,7 +28348,7 @@ declare const FullProjectSelectResponse: z.ZodObject<{
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_core208.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_core208.PgColumn<{
28616
28616
  name: "created_at";
28617
28617
  tableName: "tools";
@@ -28898,10 +28898,10 @@ declare const FullProjectSelectResponse: z.ZodObject<{
28898
28898
  declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
28899
28899
  data: z.ZodObject<{
28900
28900
  id: z.ZodString;
28901
- createdAt: z.ZodString;
28902
28901
  name: z.ZodString;
28903
- updatedAt: z.ZodString;
28904
28902
  description: z.ZodNullable<z.ZodString>;
28903
+ createdAt: z.ZodString;
28904
+ updatedAt: z.ZodString;
28905
28905
  models: z.ZodNullable<z.ZodObject<{
28906
28906
  base: z.ZodObject<{
28907
28907
  model: z.ZodOptional<z.ZodString>;
@@ -28950,12 +28950,12 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
28950
28950
  }>, z.core.$strip>>;
28951
28951
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
28952
28952
  id: z.ZodString;
28953
- createdAt: z.ZodString;
28954
28953
  name: z.ZodString;
28955
- updatedAt: z.ZodString;
28956
28954
  description: z.ZodNullable<z.ZodString>;
28957
- functionId: z.ZodString;
28958
28955
  agentId: z.ZodString;
28956
+ createdAt: z.ZodString;
28957
+ updatedAt: z.ZodString;
28958
+ functionId: z.ZodString;
28959
28959
  relationshipId: z.ZodOptional<z.ZodString>;
28960
28960
  }, z.core.$strip>>>;
28961
28961
  functions: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
@@ -29042,12 +29042,12 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
29042
29042
  }, z.core.$strip>>;
29043
29043
  credentialReferences: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
29044
29044
  id: z.ZodString;
29045
- createdAt: z.ZodString;
29046
29045
  name: z.ZodString;
29046
+ createdAt: z.ZodString;
29047
29047
  updatedAt: z.ZodString;
29048
- userId: z.ZodNullable<z.ZodString>;
29049
29048
  credentialStoreId: z.ZodString;
29050
29049
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
29050
+ userId: z.ZodNullable<z.ZodString>;
29051
29051
  toolId: z.ZodNullable<z.ZodString>;
29052
29052
  createdBy: z.ZodNullable<z.ZodString>;
29053
29053
  type: z.ZodEnum<{
@@ -29055,7 +29055,7 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
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_core208.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_core208.PgColumn<{
29323
29323
  name: "created_at";
29324
29324
  tableName: "tools";
@@ -29599,10 +29599,10 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
29599
29599
  }, z.core.$strip>>>;
29600
29600
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
29601
29601
  id: z.ZodString;
29602
- createdAt: z.ZodString;
29603
29602
  name: z.ZodString;
29604
- updatedAt: z.ZodString;
29605
29603
  description: z.ZodNullable<z.ZodString>;
29604
+ createdAt: z.ZodString;
29605
+ updatedAt: z.ZodString;
29606
29606
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
29607
29607
  contextConfigId: z.ZodNullable<z.ZodString>;
29608
29608
  tools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
@@ -29651,12 +29651,12 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
29651
29651
  }, z.core.$strip>>>;
29652
29652
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
29653
29653
  id: z.ZodString;
29654
- createdAt: z.ZodString;
29655
29654
  name: z.ZodString;
29656
- updatedAt: z.ZodString;
29657
29655
  description: z.ZodNullable<z.ZodString>;
29658
- functionId: z.ZodString;
29659
29656
  agentId: z.ZodString;
29657
+ createdAt: z.ZodString;
29658
+ updatedAt: z.ZodString;
29659
+ functionId: z.ZodString;
29660
29660
  relationshipId: z.ZodOptional<z.ZodString>;
29661
29661
  }, z.core.$strip>>>;
29662
29662
  functions: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
@@ -29711,10 +29711,10 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
29711
29711
  prompt: z.ZodNullable<z.ZodString>;
29712
29712
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
29713
29713
  id: z.ZodString;
29714
- createdAt: z.ZodString;
29715
29714
  name: z.ZodString;
29716
- updatedAt: z.ZodString;
29717
29715
  description: z.ZodNullable<z.ZodString>;
29716
+ createdAt: z.ZodString;
29717
+ updatedAt: z.ZodString;
29718
29718
  models: z.ZodNullable<z.ZodType<{
29719
29719
  base?: {
29720
29720
  model?: string | undefined;
@@ -29816,19 +29816,19 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
29816
29816
  }, z.core.$strip>;
29817
29817
  declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
29818
29818
  data: z.ZodObject<{
29819
- createdAt: z.ZodOptional<z.ZodString>;
29820
29819
  name: z.ZodString;
29821
- updatedAt: z.ZodOptional<z.ZodString>;
29822
29820
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29821
+ createdAt: z.ZodOptional<z.ZodString>;
29822
+ updatedAt: z.ZodOptional<z.ZodString>;
29823
29823
  defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29824
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;
29828
- createdAt: z.ZodOptional<z.ZodString>;
29829
29828
  name: z.ZodString;
29830
- updatedAt: z.ZodOptional<z.ZodString>;
29831
29829
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29830
+ createdAt: z.ZodOptional<z.ZodString>;
29831
+ updatedAt: z.ZodOptional<z.ZodString>;
29832
29832
  models: z.ZodOptional<z.ZodObject<{
29833
29833
  base: z.ZodOptional<z.ZodObject<{
29834
29834
  model: z.ZodOptional<z.ZodString>;
@@ -29956,12 +29956,12 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
29956
29956
  id: z.ZodString;
29957
29957
  }>, z.core.$strip>>>;
29958
29958
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
29959
- inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
29960
- createdAt: z.ZodOptional<z.ZodString>;
29961
29959
  name: z.ZodString;
29962
- updatedAt: z.ZodOptional<z.ZodString>;
29963
29960
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29961
+ createdAt: z.ZodOptional<z.ZodString>;
29962
+ updatedAt: z.ZodOptional<z.ZodString>;
29964
29963
  enabled: z.ZodOptional<z.ZodBoolean>;
29964
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
29965
29965
  outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<{
29966
29966
  jmespath?: string;
29967
29967
  objectTransformation?: Record<string, string>;
@@ -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>>>;
@@ -30023,18 +30023,18 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
30023
30023
  declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
30024
30024
  data: z.ZodObject<{
30025
30025
  id: z.ZodString;
30026
- createdAt: z.ZodString;
30027
30026
  name: z.ZodString;
30028
- updatedAt: z.ZodString;
30029
30027
  description: z.ZodNullable<z.ZodString>;
30028
+ createdAt: z.ZodString;
30029
+ updatedAt: z.ZodString;
30030
30030
  defaultSubAgentId: z.ZodNullable<z.ZodString>;
30031
30031
  contextConfigId: z.ZodNullable<z.ZodString>;
30032
30032
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
30033
30033
  id: z.ZodString;
30034
- createdAt: z.ZodString;
30035
30034
  name: z.ZodString;
30036
- updatedAt: z.ZodString;
30037
30035
  description: z.ZodNullable<z.ZodString>;
30036
+ createdAt: z.ZodString;
30037
+ updatedAt: z.ZodString;
30038
30038
  models: z.ZodNullable<z.ZodType<{
30039
30039
  base?: {
30040
30040
  model?: string | undefined;
@@ -30168,12 +30168,12 @@ declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
30168
30168
  }, z.core.$strip>>>;
30169
30169
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
30170
30170
  id: z.ZodString;
30171
- createdAt: z.ZodString;
30172
30171
  name: z.ZodString;
30173
- updatedAt: z.ZodString;
30174
30172
  description: z.ZodNullable<z.ZodString>;
30175
- functionId: z.ZodString;
30176
30173
  agentId: z.ZodString;
30174
+ createdAt: z.ZodString;
30175
+ updatedAt: z.ZodString;
30176
+ functionId: z.ZodString;
30177
30177
  relationshipId: z.ZodOptional<z.ZodString>;
30178
30178
  }, z.core.$strip>>>;
30179
30179
  functions: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
@@ -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_core208.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_core208.PgColumn<{
30691
30691
  name: "id";
30692
30692
  tableName: "project_metadata";