@inkeep/agents-core 0.0.0-dev-20260218210419 → 0.0.0-dev-20260218225303

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 { JsonSchemaProperty } from "./json-schemas.js";
4
4
  import "../index.js";
5
5
  import { z } from "@hono/zod-openapi";
6
6
  import * as drizzle_orm_pg_core822 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 StringRecordSchema: z.ZodRecord<z.ZodString, z.ZodString>;
@@ -130,7 +130,7 @@ type OmitAgentScope<T> = Omit<T, 'tenantId' | 'projectId' | 'agentId'>;
130
130
  type OmitTenantScope<T> = Omit<T, 'tenantId'>;
131
131
  type OmitTimestamps<T> = Omit<T, 'createdAt' | 'updatedAt'>;
132
132
  type OmitGeneratedFields<T> = Omit<T, 'id' | 'createdAt' | 'updatedAt'>;
133
- declare const SubAgentSelectSchema: drizzle_zod19.BuildSchema<"select", {
133
+ declare const SubAgentSelectSchema: drizzle_zod15.BuildSchema<"select", {
134
134
  createdAt: drizzle_orm_pg_core822.PgColumn<{
135
135
  name: "created_at";
136
136
  tableName: "sub_agents";
@@ -381,7 +381,7 @@ declare const SubAgentSelectSchema: drizzle_zod19.BuildSchema<"select", {
381
381
  }, {}, {
382
382
  length: 256;
383
383
  }>;
384
- }, drizzle_zod19.BuildRefine<{
384
+ }, drizzle_zod15.BuildRefine<{
385
385
  createdAt: drizzle_orm_pg_core822.PgColumn<{
386
386
  name: "created_at";
387
387
  tableName: "sub_agents";
@@ -824,8 +824,6 @@ declare const SubAgentApiUpdateSchema: z.ZodObject<{
824
824
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
825
825
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
826
826
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
827
- prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
828
- conversationHistoryConfig: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>>>;
829
827
  models: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodObject<{
830
828
  base: z.ZodOptional<z.ZodObject<{
831
829
  model: z.ZodOptional<z.ZodString>;
@@ -849,8 +847,10 @@ declare const SubAgentApiUpdateSchema: z.ZodObject<{
849
847
  }, {
850
848
  stepCountIs?: number | undefined;
851
849
  }>>>>>>;
850
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
851
+ conversationHistoryConfig: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>>>;
852
852
  }, z.core.$strip>;
853
- declare const SubAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
853
+ declare const SubAgentRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
854
854
  createdAt: drizzle_orm_pg_core822.PgColumn<{
855
855
  name: "created_at";
856
856
  tableName: "sub_agent_relations";
@@ -1018,7 +1018,7 @@ declare const SubAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"select",
1018
1018
  }, {}, {
1019
1019
  length: 256;
1020
1020
  }>;
1021
- }, drizzle_zod19.BuildRefine<{
1021
+ }, drizzle_zod15.BuildRefine<{
1022
1022
  createdAt: drizzle_orm_pg_core822.PgColumn<{
1023
1023
  name: "created_at";
1024
1024
  tableName: "sub_agent_relations";
@@ -1289,7 +1289,7 @@ declare const ExternalSubAgentRelationApiInsertSchema: z.ZodObject<OmitProjectSc
1289
1289
  sourceSubAgentId: z.ZodString;
1290
1290
  externalSubAgentId: z.ZodString;
1291
1291
  }>, z.core.$strip>;
1292
- declare const AgentSelectSchema: drizzle_zod19.BuildSchema<"select", {
1292
+ declare const AgentSelectSchema: drizzle_zod15.BuildSchema<"select", {
1293
1293
  createdAt: drizzle_orm_pg_core822.PgColumn<{
1294
1294
  name: "created_at";
1295
1295
  tableName: "agent";
@@ -1587,7 +1587,7 @@ declare const AgentSelectSchema: drizzle_zod19.BuildSchema<"select", {
1587
1587
  }, {}, {
1588
1588
  length: 256;
1589
1589
  }>;
1590
- }, drizzle_zod19.BuildRefine<{
1590
+ }, drizzle_zod15.BuildRefine<{
1591
1591
  createdAt: drizzle_orm_pg_core822.PgColumn<{
1592
1592
  name: "created_at";
1593
1593
  tableName: "agent";
@@ -1886,7 +1886,7 @@ declare const AgentSelectSchema: drizzle_zod19.BuildSchema<"select", {
1886
1886
  length: 256;
1887
1887
  }>;
1888
1888
  }, undefined>, undefined>;
1889
- declare const AgentInsertSchema: drizzle_zod19.BuildSchema<"insert", {
1889
+ declare const AgentInsertSchema: drizzle_zod15.BuildSchema<"insert", {
1890
1890
  createdAt: drizzle_orm_pg_core822.PgColumn<{
1891
1891
  name: "created_at";
1892
1892
  tableName: "agent";
@@ -2184,7 +2184,7 @@ declare const AgentInsertSchema: drizzle_zod19.BuildSchema<"insert", {
2184
2184
  }, {}, {
2185
2185
  length: 256;
2186
2186
  }>;
2187
- }, drizzle_zod19.BuildRefine<Pick<{
2187
+ }, drizzle_zod15.BuildRefine<Pick<{
2188
2188
  createdAt: drizzle_orm_pg_core822.PgColumn<{
2189
2189
  name: "created_at";
2190
2190
  tableName: "agent";
@@ -2482,7 +2482,7 @@ declare const AgentInsertSchema: drizzle_zod19.BuildSchema<"insert", {
2482
2482
  }, {}, {
2483
2483
  length: 256;
2484
2484
  }>;
2485
- }, "id" | "name" | "createdAt" | "updatedAt" | "description" | "defaultSubAgentId" | "tenantId" | "projectId" | "prompt" | "models" | "stopWhen" | "contextConfigId" | "statusUpdates">, undefined>, undefined>;
2485
+ }, "id" | "name" | "createdAt" | "updatedAt" | "description" | "models" | "stopWhen" | "tenantId" | "defaultSubAgentId" | "contextConfigId" | "prompt" | "statusUpdates" | "projectId">, undefined>, undefined>;
2486
2486
  declare const AgentUpdateSchema: z.ZodObject<{
2487
2487
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2488
2488
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -2753,8 +2753,6 @@ declare const AgentApiInsertSchema: z.ZodObject<{
2753
2753
  createdAt: z.ZodOptional<z.ZodString>;
2754
2754
  updatedAt: z.ZodOptional<z.ZodString>;
2755
2755
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2756
- defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2757
- prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2758
2756
  models: z.ZodOptional<z.ZodNullable<z.ZodType<{
2759
2757
  base?: {
2760
2758
  model?: string | undefined;
@@ -2817,7 +2815,9 @@ declare const AgentApiInsertSchema: z.ZodObject<{
2817
2815
  }, {
2818
2816
  transferCountIs?: number | undefined;
2819
2817
  }>>>>;
2818
+ defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2820
2819
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2820
+ prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2821
2821
  statusUpdates: z.ZodOptional<z.ZodNullable<z.ZodType<{
2822
2822
  enabled?: boolean | undefined;
2823
2823
  numEvents?: number | undefined;
@@ -2883,8 +2883,6 @@ declare const AgentApiUpdateSchema: z.ZodObject<{
2883
2883
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2884
2884
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2885
2885
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2886
- defaultSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2887
- prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2888
2886
  models: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
2889
2887
  base?: {
2890
2888
  model?: string | undefined;
@@ -2947,7 +2945,9 @@ declare const AgentApiUpdateSchema: z.ZodObject<{
2947
2945
  }, {
2948
2946
  transferCountIs?: number | undefined;
2949
2947
  }>>>>>>;
2948
+ defaultSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2950
2949
  contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2950
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2951
2951
  statusUpdates: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
2952
2952
  enabled?: boolean | undefined;
2953
2953
  numEvents?: number | undefined;
@@ -3281,10 +3281,10 @@ declare const TriggerSelectSchema: z.ZodObject<{
3281
3281
  createdAt: z.ZodString;
3282
3282
  updatedAt: z.ZodString;
3283
3283
  enabled: z.ZodBoolean;
3284
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
3285
- outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
3284
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
3285
+ outputTransform: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
3286
3286
  messageTemplate: z.ZodNullable<z.ZodString>;
3287
- authentication: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
3287
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
3288
3288
  name: z.ZodString;
3289
3289
  description: z.ZodNullable<z.ZodString>;
3290
3290
  agentId: z.ZodString;
@@ -3341,7 +3341,7 @@ declare const TriggerSelectSchema: z.ZodObject<{
3341
3341
  out: {};
3342
3342
  in: {};
3343
3343
  }>;
3344
- declare const TriggerInsertSchema: drizzle_zod19.BuildSchema<"insert", {
3344
+ declare const TriggerInsertSchema: drizzle_zod15.BuildSchema<"insert", {
3345
3345
  createdAt: drizzle_orm_pg_core822.PgColumn<{
3346
3346
  name: "created_at";
3347
3347
  tableName: "triggers";
@@ -3673,7 +3673,7 @@ declare const TriggerInsertSchema: drizzle_zod19.BuildSchema<"insert", {
3673
3673
  }, {}, {
3674
3674
  length: 256;
3675
3675
  }>;
3676
- }, drizzle_zod19.BuildRefine<Pick<{
3676
+ }, drizzle_zod15.BuildRefine<Pick<{
3677
3677
  createdAt: drizzle_orm_pg_core822.PgColumn<{
3678
3678
  name: "created_at";
3679
3679
  tableName: "triggers";
@@ -4005,16 +4005,16 @@ declare const TriggerInsertSchema: drizzle_zod19.BuildSchema<"insert", {
4005
4005
  }, {}, {
4006
4006
  length: 256;
4007
4007
  }>;
4008
- }, "id" | "name" | "createdAt" | "updatedAt" | "description" | "tenantId" | "projectId" | "agentId" | "enabled" | "inputSchema" | "outputTransform" | "messageTemplate" | "authentication" | "signingSecretCredentialReferenceId" | "signatureVerification">, undefined>, undefined>;
4008
+ }, "id" | "name" | "createdAt" | "updatedAt" | "description" | "tenantId" | "enabled" | "projectId" | "agentId" | "inputSchema" | "outputTransform" | "messageTemplate" | "authentication" | "signingSecretCredentialReferenceId" | "signatureVerification">, undefined>, undefined>;
4009
4009
  declare const TriggerUpdateSchema: z.ZodObject<{
4010
4010
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4011
4011
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4012
- inputSchema: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
4013
- outputTransform: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
4012
+ inputSchema: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
4013
+ outputTransform: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
4014
4014
  messageTemplate: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4015
- authentication: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
4015
+ authentication: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
4016
4016
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4017
- signatureVerification: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
4017
+ signatureVerification: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
4018
4018
  name: z.ZodOptional<z.ZodString>;
4019
4019
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4020
4020
  agentId: z.ZodOptional<z.ZodString>;
@@ -4030,10 +4030,10 @@ declare const TriggerApiSelectSchema: z.ZodObject<OmitAgentScope<{
4030
4030
  createdAt: z.ZodString;
4031
4031
  updatedAt: z.ZodString;
4032
4032
  enabled: z.ZodBoolean;
4033
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
4034
- outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
4033
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
4034
+ outputTransform: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
4035
4035
  messageTemplate: z.ZodNullable<z.ZodString>;
4036
- authentication: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
4036
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
4037
4037
  name: z.ZodString;
4038
4038
  description: z.ZodNullable<z.ZodString>;
4039
4039
  agentId: z.ZodString;
@@ -4093,23 +4093,23 @@ declare const TriggerApiInsertSchema: z.ZodObject<{
4093
4093
  updatedAt: z.ZodOptional<z.ZodString>;
4094
4094
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4095
4095
  enabled: z.ZodOptional<z.ZodBoolean>;
4096
- inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
4097
- outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
4096
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
4097
+ outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
4098
4098
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4099
- authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
4099
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
4100
4100
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4101
- signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
4101
+ signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
4102
4102
  id: z.ZodOptional<z.ZodString>;
4103
4103
  }, z.core.$strip>;
4104
4104
  declare const TriggerApiUpdateSchema: z.ZodObject<{
4105
4105
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4106
4106
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4107
- inputSchema: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
4108
- outputTransform: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
4107
+ inputSchema: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
4108
+ outputTransform: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
4109
4109
  messageTemplate: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4110
- authentication: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
4110
+ authentication: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
4111
4111
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4112
- signatureVerification: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
4112
+ signatureVerification: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
4113
4113
  name: z.ZodOptional<z.ZodString>;
4114
4114
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4115
4115
  agentId: z.ZodOptional<z.ZodString>;
@@ -4128,10 +4128,10 @@ declare const TriggerWithWebhookUrlSchema: z.ZodObject<{
4128
4128
  updatedAt: z.ZodString;
4129
4129
  description: z.ZodNullable<z.ZodString>;
4130
4130
  enabled: z.ZodBoolean;
4131
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
4132
- outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
4131
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
4132
+ outputTransform: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
4133
4133
  messageTemplate: z.ZodNullable<z.ZodString>;
4134
- authentication: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
4134
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
4135
4135
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4136
4136
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4137
4137
  algorithm: z.ZodEnum<{
@@ -4180,7 +4180,7 @@ declare const TriggerWithWebhookUrlSchema: z.ZodObject<{
4180
4180
  }, z.core.$strip>>>;
4181
4181
  webhookUrl: z.ZodString;
4182
4182
  }, z.core.$strip>;
4183
- declare const TriggerInvocationSelectSchema: drizzle_zod19.BuildSchema<"select", {
4183
+ declare const TriggerInvocationSelectSchema: drizzle_zod15.BuildSchema<"select", {
4184
4184
  triggerId: drizzle_orm_pg_core822.PgColumn<{
4185
4185
  name: "trigger_id";
4186
4186
  tableName: "trigger_invocations";
@@ -4382,7 +4382,7 @@ declare const TriggerInvocationSelectSchema: drizzle_zod19.BuildSchema<"select",
4382
4382
  }, {}, {
4383
4383
  length: 256;
4384
4384
  }>;
4385
- }, drizzle_zod19.BuildRefine<{
4385
+ }, drizzle_zod15.BuildRefine<{
4386
4386
  triggerId: drizzle_orm_pg_core822.PgColumn<{
4387
4387
  name: "trigger_id";
4388
4388
  tableName: "trigger_invocations";
@@ -4585,7 +4585,7 @@ declare const TriggerInvocationSelectSchema: drizzle_zod19.BuildSchema<"select",
4585
4585
  length: 256;
4586
4586
  }>;
4587
4587
  }, undefined>, undefined>;
4588
- declare const TriggerInvocationInsertSchema: drizzle_zod19.BuildSchema<"insert", {
4588
+ declare const TriggerInvocationInsertSchema: drizzle_zod15.BuildSchema<"insert", {
4589
4589
  triggerId: drizzle_orm_pg_core822.PgColumn<{
4590
4590
  name: "trigger_id";
4591
4591
  tableName: "trigger_invocations";
@@ -4787,7 +4787,7 @@ declare const TriggerInvocationInsertSchema: drizzle_zod19.BuildSchema<"insert",
4787
4787
  }, {}, {
4788
4788
  length: 256;
4789
4789
  }>;
4790
- }, drizzle_zod19.BuildRefine<Pick<{
4790
+ }, drizzle_zod15.BuildRefine<Pick<{
4791
4791
  triggerId: drizzle_orm_pg_core822.PgColumn<{
4792
4792
  name: "trigger_id";
4793
4793
  tableName: "trigger_invocations";
@@ -4989,13 +4989,13 @@ declare const TriggerInvocationInsertSchema: drizzle_zod19.BuildSchema<"insert",
4989
4989
  }, {}, {
4990
4990
  length: 256;
4991
4991
  }>;
4992
- }, "id" | "createdAt" | "status" | "tenantId" | "projectId" | "agentId" | "conversationId" | "triggerId" | "requestPayload" | "transformedPayload" | "errorMessage">, undefined>, undefined>;
4992
+ }, "id" | "createdAt" | "status" | "tenantId" | "projectId" | "agentId" | "triggerId" | "conversationId" | "requestPayload" | "transformedPayload" | "errorMessage">, undefined>, undefined>;
4993
4993
  declare const TriggerInvocationUpdateSchema: z.ZodObject<{
4994
4994
  triggerId: z.ZodOptional<z.ZodString>;
4995
4995
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4996
4996
  status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4997
- requestPayload: z.ZodOptional<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
4998
- transformedPayload: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
4997
+ requestPayload: z.ZodOptional<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
4998
+ transformedPayload: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
4999
4999
  errorMessage: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5000
5000
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5001
5001
  agentId: z.ZodOptional<z.ZodString>;
@@ -5010,8 +5010,8 @@ declare const TriggerInvocationApiSelectSchema: z.ZodObject<OmitAgentScope<{
5010
5010
  triggerId: z.ZodString;
5011
5011
  conversationId: z.ZodNullable<z.ZodString>;
5012
5012
  status: z.ZodString;
5013
- requestPayload: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
5014
- transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
5013
+ requestPayload: z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>;
5014
+ transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
5015
5015
  errorMessage: z.ZodNullable<z.ZodString>;
5016
5016
  createdAt: z.ZodString;
5017
5017
  agentId: z.ZodString;
@@ -5022,10 +5022,10 @@ declare const TriggerInvocationApiSelectSchema: z.ZodObject<OmitAgentScope<{
5022
5022
  declare const TriggerInvocationApiInsertSchema: z.ZodObject<{
5023
5023
  createdAt: z.ZodOptional<z.ZodString>;
5024
5024
  status: z.ZodOptional<z.ZodString>;
5025
- conversationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5026
5025
  triggerId: z.ZodString;
5027
- requestPayload: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
5028
- transformedPayload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
5026
+ conversationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5027
+ requestPayload: z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>;
5028
+ transformedPayload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
5029
5029
  errorMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5030
5030
  id: z.ZodString;
5031
5031
  }, z.core.$strip>;
@@ -5033,10 +5033,10 @@ declare const TriggerInvocationApiUpdateSchema: z.ZodObject<{
5033
5033
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5034
5034
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5035
5035
  status: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5036
- conversationId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5037
5036
  triggerId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5038
- requestPayload: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
5039
- transformedPayload: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
5037
+ conversationId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5038
+ requestPayload: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
5039
+ transformedPayload: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>>;
5040
5040
  errorMessage: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5041
5041
  }, z.core.$strip>;
5042
5042
  declare const CronExpressionSchema: z.ZodString;
@@ -5062,7 +5062,7 @@ declare const ScheduledTriggerSelectSchema: z.ZodObject<{
5062
5062
  out: {};
5063
5063
  in: {};
5064
5064
  }>;
5065
- declare const ScheduledTriggerInsertSchema: drizzle_zod19.BuildSchema<"insert", {
5065
+ declare const ScheduledTriggerInsertSchema: drizzle_zod15.BuildSchema<"insert", {
5066
5066
  createdAt: drizzle_orm_pg_core822.PgColumn<{
5067
5067
  name: "created_at";
5068
5068
  tableName: "scheduled_triggers";
@@ -5368,7 +5368,7 @@ declare const ScheduledTriggerInsertSchema: drizzle_zod19.BuildSchema<"insert",
5368
5368
  }, {}, {
5369
5369
  length: 256;
5370
5370
  }>;
5371
- }, drizzle_zod19.BuildRefine<Pick<{
5371
+ }, drizzle_zod15.BuildRefine<Pick<{
5372
5372
  createdAt: drizzle_orm_pg_core822.PgColumn<{
5373
5373
  name: "created_at";
5374
5374
  tableName: "scheduled_triggers";
@@ -5674,14 +5674,14 @@ declare const ScheduledTriggerInsertSchema: drizzle_zod19.BuildSchema<"insert",
5674
5674
  }, {}, {
5675
5675
  length: 256;
5676
5676
  }>;
5677
- }, "id" | "name" | "createdAt" | "updatedAt" | "description" | "tenantId" | "projectId" | "agentId" | "enabled" | "messageTemplate" | "cronExpression" | "cronTimezone" | "runAt" | "payload" | "maxRetries" | "retryDelaySeconds" | "timeoutSeconds">, undefined>, undefined>;
5677
+ }, "id" | "name" | "createdAt" | "updatedAt" | "description" | "tenantId" | "enabled" | "projectId" | "agentId" | "messageTemplate" | "cronExpression" | "cronTimezone" | "runAt" | "payload" | "maxRetries" | "retryDelaySeconds" | "timeoutSeconds">, undefined>, undefined>;
5678
5678
  declare const ScheduledTriggerUpdateSchema: z.ZodObject<{
5679
5679
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5680
5680
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5681
5681
  cronExpression: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5682
5682
  cronTimezone: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5683
5683
  runAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5684
- payload: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
5684
+ payload: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
5685
5685
  messageTemplate: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5686
5686
  maxRetries: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
5687
5687
  retryDelaySeconds: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
@@ -5726,7 +5726,7 @@ declare const ScheduledTriggerApiInsertBaseSchema: z.ZodObject<{
5726
5726
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5727
5727
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5728
5728
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5729
- payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
5729
+ payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
5730
5730
  maxRetries: z.ZodOptional<z.ZodNumber>;
5731
5731
  retryDelaySeconds: z.ZodOptional<z.ZodNumber>;
5732
5732
  timeoutSeconds: z.ZodOptional<z.ZodNumber>;
@@ -5742,7 +5742,7 @@ declare const ScheduledTriggerApiInsertSchema: z.ZodObject<{
5742
5742
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5743
5743
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5744
5744
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5745
- payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
5745
+ payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
5746
5746
  maxRetries: z.ZodOptional<z.ZodNumber>;
5747
5747
  retryDelaySeconds: z.ZodOptional<z.ZodNumber>;
5748
5748
  timeoutSeconds: z.ZodOptional<z.ZodNumber>;
@@ -5754,7 +5754,7 @@ declare const ScheduledTriggerApiUpdateSchema: z.ZodObject<{
5754
5754
  cronExpression: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5755
5755
  cronTimezone: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5756
5756
  runAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5757
- payload: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
5757
+ payload: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
5758
5758
  messageTemplate: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5759
5759
  maxRetries: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
5760
5760
  retryDelaySeconds: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
@@ -5776,7 +5776,7 @@ type ScheduledTriggerUpdate = z.infer<typeof ScheduledTriggerUpdateSchema>;
5776
5776
  type ScheduledTriggerApiInsert = z.infer<typeof ScheduledTriggerApiInsertSchema>;
5777
5777
  type ScheduledTriggerApiSelect = z.infer<typeof ScheduledTriggerApiSelectSchema>;
5778
5778
  type ScheduledTriggerApiUpdate = z.infer<typeof ScheduledTriggerApiUpdateSchema>;
5779
- declare const ScheduledWorkflowSelectSchema: drizzle_zod19.BuildSchema<"select", {
5779
+ declare const ScheduledWorkflowSelectSchema: drizzle_zod15.BuildSchema<"select", {
5780
5780
  createdAt: drizzle_orm_pg_core822.PgColumn<{
5781
5781
  name: "created_at";
5782
5782
  tableName: "scheduled_workflows";
@@ -5980,7 +5980,7 @@ declare const ScheduledWorkflowSelectSchema: drizzle_zod19.BuildSchema<"select",
5980
5980
  }, {}, {
5981
5981
  length: 256;
5982
5982
  }>;
5983
- }, drizzle_zod19.BuildRefine<{
5983
+ }, drizzle_zod15.BuildRefine<{
5984
5984
  createdAt: drizzle_orm_pg_core822.PgColumn<{
5985
5985
  name: "created_at";
5986
5986
  tableName: "scheduled_workflows";
@@ -6185,7 +6185,7 @@ declare const ScheduledWorkflowSelectSchema: drizzle_zod19.BuildSchema<"select",
6185
6185
  length: 256;
6186
6186
  }>;
6187
6187
  }, undefined>, undefined>;
6188
- declare const ScheduledWorkflowInsertSchema: drizzle_zod19.BuildSchema<"insert", {
6188
+ declare const ScheduledWorkflowInsertSchema: drizzle_zod15.BuildSchema<"insert", {
6189
6189
  createdAt: drizzle_orm_pg_core822.PgColumn<{
6190
6190
  name: "created_at";
6191
6191
  tableName: "scheduled_workflows";
@@ -6389,7 +6389,7 @@ declare const ScheduledWorkflowInsertSchema: drizzle_zod19.BuildSchema<"insert",
6389
6389
  }, {}, {
6390
6390
  length: 256;
6391
6391
  }>;
6392
- }, drizzle_zod19.BuildRefine<Pick<{
6392
+ }, drizzle_zod15.BuildRefine<Pick<{
6393
6393
  createdAt: drizzle_orm_pg_core822.PgColumn<{
6394
6394
  name: "created_at";
6395
6395
  tableName: "scheduled_workflows";
@@ -6684,7 +6684,7 @@ declare const ScheduledTriggerInvocationSelectSchema: z.ZodObject<{
6684
6684
  out: {};
6685
6685
  in: {};
6686
6686
  }>;
6687
- declare const ScheduledTriggerInvocationInsertSchema: drizzle_zod19.BuildSchema<"insert", {
6687
+ declare const ScheduledTriggerInvocationInsertSchema: drizzle_zod15.BuildSchema<"insert", {
6688
6688
  scheduledTriggerId: drizzle_orm_pg_core822.PgColumn<{
6689
6689
  name: "scheduled_trigger_id";
6690
6690
  tableName: "scheduled_trigger_invocations";
@@ -6942,7 +6942,7 @@ declare const ScheduledTriggerInvocationInsertSchema: drizzle_zod19.BuildSchema<
6942
6942
  }, {}, {
6943
6943
  length: 256;
6944
6944
  }>;
6945
- }, drizzle_zod19.BuildRefine<Pick<{
6945
+ }, drizzle_zod15.BuildRefine<Pick<{
6946
6946
  scheduledTriggerId: drizzle_orm_pg_core822.PgColumn<{
6947
6947
  name: "scheduled_trigger_id";
6948
6948
  tableName: "scheduled_trigger_invocations";
@@ -7207,7 +7207,7 @@ declare const ScheduledTriggerInvocationUpdateSchema: z.ZodObject<{
7207
7207
  scheduledFor: z.ZodOptional<z.ZodString>;
7208
7208
  startedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
7209
7209
  completedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
7210
- resolvedPayload: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
7210
+ resolvedPayload: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
7211
7211
  conversationIds: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>>>;
7212
7212
  attemptNumber: z.ZodOptional<z.ZodOptional<z.ZodInt>>;
7213
7213
  idempotencyKey: z.ZodOptional<z.ZodString>;
@@ -7250,7 +7250,7 @@ declare const ScheduledTriggerInvocationApiInsertSchema: z.ZodObject<{
7250
7250
  scheduledFor: z.ZodString;
7251
7251
  startedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7252
7252
  completedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7253
- resolvedPayload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
7253
+ resolvedPayload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
7254
7254
  attemptNumber: z.ZodOptional<z.ZodInt>;
7255
7255
  idempotencyKey: z.ZodString;
7256
7256
  id: z.ZodString;
@@ -7264,7 +7264,7 @@ declare const ScheduledTriggerInvocationApiUpdateSchema: z.ZodObject<{
7264
7264
  scheduledFor: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7265
7265
  startedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7266
7266
  completedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7267
- resolvedPayload: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
7267
+ resolvedPayload: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>>;
7268
7268
  attemptNumber: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodInt>>>;
7269
7269
  idempotencyKey: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7270
7270
  }, z.core.$strip>;
@@ -7272,7 +7272,7 @@ type ScheduledTriggerInvocation = z.infer<typeof ScheduledTriggerInvocationSelec
7272
7272
  type ScheduledTriggerInvocationInsert = z.infer<typeof ScheduledTriggerInvocationInsertSchema>;
7273
7273
  type ScheduledTriggerInvocationUpdate = z.infer<typeof ScheduledTriggerInvocationUpdateSchema>;
7274
7274
  type ScheduledTriggerInvocationStatus = z.infer<typeof ScheduledTriggerInvocationStatusEnum>;
7275
- declare const TaskSelectSchema: drizzle_zod19.BuildSchema<"select", {
7275
+ declare const TaskSelectSchema: drizzle_zod15.BuildSchema<"select", {
7276
7276
  createdAt: drizzle_orm_pg_core822.PgColumn<{
7277
7277
  name: "created_at";
7278
7278
  tableName: "tasks";
@@ -7486,7 +7486,7 @@ declare const TaskSelectSchema: drizzle_zod19.BuildSchema<"select", {
7486
7486
  }, {}, {
7487
7487
  length: 256;
7488
7488
  }>;
7489
- }, drizzle_zod19.BuildRefine<{
7489
+ }, drizzle_zod15.BuildRefine<{
7490
7490
  createdAt: drizzle_orm_pg_core822.PgColumn<{
7491
7491
  name: "created_at";
7492
7492
  tableName: "tasks";
@@ -7822,7 +7822,7 @@ declare const TaskApiUpdateSchema: z.ZodObject<{
7822
7822
  contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7823
7823
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7824
7824
  }, z.core.$strip>;
7825
- declare const TaskRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
7825
+ declare const TaskRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
7826
7826
  createdAt: drizzle_orm_pg_core822.PgColumn<{
7827
7827
  name: "created_at";
7828
7828
  tableName: "task_relations";
@@ -7971,7 +7971,7 @@ declare const TaskRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
7971
7971
  }, {}, {
7972
7972
  length: 256;
7973
7973
  }>;
7974
- }, drizzle_zod19.BuildRefine<{
7974
+ }, drizzle_zod15.BuildRefine<{
7975
7975
  createdAt: drizzle_orm_pg_core822.PgColumn<{
7976
7976
  name: "created_at";
7977
7977
  tableName: "task_relations";
@@ -8197,7 +8197,7 @@ declare const McpToolDefinitionSchema: z.ZodObject<{
8197
8197
  description: z.ZodOptional<z.ZodString>;
8198
8198
  inputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
8199
8199
  }, z.core.$strip>;
8200
- declare const ToolSelectSchema: drizzle_zod19.BuildSchema<"select", {
8200
+ declare const ToolSelectSchema: drizzle_zod15.BuildSchema<"select", {
8201
8201
  createdAt: drizzle_orm_pg_core822.PgColumn<{
8202
8202
  name: "created_at";
8203
8203
  tableName: "tools";
@@ -8477,7 +8477,7 @@ declare const ToolSelectSchema: drizzle_zod19.BuildSchema<"select", {
8477
8477
  }, {}, {
8478
8478
  length: 256;
8479
8479
  }>;
8480
- }, drizzle_zod19.BuildRefine<{
8480
+ }, drizzle_zod15.BuildRefine<{
8481
8481
  createdAt: drizzle_orm_pg_core822.PgColumn<{
8482
8482
  name: "created_at";
8483
8483
  tableName: "tools";
@@ -8803,7 +8803,7 @@ declare const ToolInsertSchema: z.ZodObject<{
8803
8803
  out: {};
8804
8804
  in: {};
8805
8805
  }>;
8806
- declare const ConversationSelectSchema: drizzle_zod19.BuildSchema<"select", {
8806
+ declare const ConversationSelectSchema: drizzle_zod15.BuildSchema<"select", {
8807
8807
  createdAt: drizzle_orm_pg_core822.PgColumn<{
8808
8808
  name: "created_at";
8809
8809
  tableName: "conversations";
@@ -9032,7 +9032,7 @@ declare const ConversationSelectSchema: drizzle_zod19.BuildSchema<"select", {
9032
9032
  }, {}, {
9033
9033
  length: 256;
9034
9034
  }>;
9035
- }, drizzle_zod19.BuildRefine<{
9035
+ }, drizzle_zod15.BuildRefine<{
9036
9036
  createdAt: drizzle_orm_pg_core822.PgColumn<{
9037
9037
  name: "created_at";
9038
9038
  tableName: "conversations";
@@ -9382,13 +9382,13 @@ declare const ConversationApiUpdateSchema: z.ZodObject<{
9382
9382
  }, z.core.$strip>>>;
9383
9383
  userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9384
9384
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>>>;
9385
- agentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9386
9385
  title: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9387
9386
  contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9387
+ agentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9388
9388
  activeSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9389
9389
  lastContextResolution: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9390
9390
  }, z.core.$strip>;
9391
- declare const MessageSelectSchema: drizzle_zod19.BuildSchema<"select", {
9391
+ declare const MessageSelectSchema: drizzle_zod15.BuildSchema<"select", {
9392
9392
  createdAt: drizzle_orm_pg_core822.PgColumn<{
9393
9393
  name: "created_at";
9394
9394
  tableName: "messages";
@@ -9784,7 +9784,7 @@ declare const MessageSelectSchema: drizzle_zod19.BuildSchema<"select", {
9784
9784
  }, {}, {
9785
9785
  length: 256;
9786
9786
  }>;
9787
- }, drizzle_zod19.BuildRefine<{
9787
+ }, drizzle_zod15.BuildRefine<{
9788
9788
  createdAt: drizzle_orm_pg_core822.PgColumn<{
9789
9789
  name: "created_at";
9790
9790
  tableName: "messages";
@@ -10300,7 +10300,7 @@ declare const MessageApiUpdateSchema: z.ZodObject<{
10300
10300
  a2aTaskId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10301
10301
  a2aSessionId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10302
10302
  }, z.core.$strip>;
10303
- declare const ContextCacheSelectSchema: drizzle_zod19.BuildSchema<"select", {
10303
+ declare const ContextCacheSelectSchema: drizzle_zod15.BuildSchema<"select", {
10304
10304
  createdAt: drizzle_orm_pg_core822.PgColumn<{
10305
10305
  name: "created_at";
10306
10306
  tableName: "context_cache";
@@ -10550,7 +10550,7 @@ declare const ContextCacheSelectSchema: drizzle_zod19.BuildSchema<"select", {
10550
10550
  }, {}, {
10551
10551
  length: 256;
10552
10552
  }>;
10553
- }, drizzle_zod19.BuildRefine<{
10553
+ }, drizzle_zod15.BuildRefine<{
10554
10554
  createdAt: drizzle_orm_pg_core822.PgColumn<{
10555
10555
  name: "created_at";
10556
10556
  tableName: "context_cache";
@@ -10807,7 +10807,7 @@ declare const ContextCacheInsertSchema: z.ZodObject<{
10807
10807
  conversationId: z.ZodString;
10808
10808
  contextConfigId: z.ZodString;
10809
10809
  contextVariableKey: z.ZodString;
10810
- value: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
10810
+ value: z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>;
10811
10811
  requestHash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10812
10812
  fetchedAt: z.ZodOptional<z.ZodString>;
10813
10813
  fetchSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -10833,7 +10833,7 @@ declare const ContextCacheUpdateSchema: z.ZodObject<{
10833
10833
  conversationId: z.ZodOptional<z.ZodString>;
10834
10834
  contextConfigId: z.ZodOptional<z.ZodString>;
10835
10835
  contextVariableKey: z.ZodOptional<z.ZodString>;
10836
- value: z.ZodOptional<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
10836
+ value: z.ZodOptional<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
10837
10837
  requestHash: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
10838
10838
  fetchedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10839
10839
  fetchSource: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
@@ -10876,7 +10876,7 @@ declare const ContextCacheApiSelectSchema: z.ZodObject<OmitProjectScope<{
10876
10876
  name: string;
10877
10877
  hash: string;
10878
10878
  }>>>;
10879
- value: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
10879
+ value: z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>;
10880
10880
  requestHash: z.ZodNullable<z.ZodString>;
10881
10881
  fetchedAt: z.ZodString;
10882
10882
  fetchSource: z.ZodNullable<z.ZodString>;
@@ -10890,7 +10890,7 @@ declare const ContextCacheApiInsertSchema: z.ZodObject<OmitProjectScope<{
10890
10890
  conversationId: z.ZodString;
10891
10891
  contextConfigId: z.ZodString;
10892
10892
  contextVariableKey: z.ZodString;
10893
- value: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
10893
+ value: z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>;
10894
10894
  requestHash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10895
10895
  fetchedAt: z.ZodOptional<z.ZodString>;
10896
10896
  fetchSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -10920,7 +10920,7 @@ declare const ContextCacheApiUpdateSchema: z.ZodObject<{
10920
10920
  name: z.ZodString;
10921
10921
  hash: z.ZodString;
10922
10922
  }, z.core.$strip>>>;
10923
- value: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
10923
+ value: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
10924
10924
  contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10925
10925
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10926
10926
  contextVariableKey: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -10928,7 +10928,7 @@ declare const ContextCacheApiUpdateSchema: z.ZodObject<{
10928
10928
  fetchedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10929
10929
  fetchSource: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10930
10930
  }, z.core.$strip>;
10931
- declare const DatasetRunSelectSchema: drizzle_zod19.BuildSchema<"select", {
10931
+ declare const DatasetRunSelectSchema: drizzle_zod15.BuildSchema<"select", {
10932
10932
  createdAt: drizzle_orm_pg_core822.PgColumn<{
10933
10933
  name: "created_at";
10934
10934
  tableName: "dataset_run";
@@ -11071,7 +11071,7 @@ declare const DatasetRunSelectSchema: drizzle_zod19.BuildSchema<"select", {
11071
11071
  }, {}, {
11072
11072
  length: 256;
11073
11073
  }>;
11074
- }, drizzle_zod19.BuildRefine<{
11074
+ }, drizzle_zod15.BuildRefine<{
11075
11075
  createdAt: drizzle_orm_pg_core822.PgColumn<{
11076
11076
  name: "created_at";
11077
11077
  tableName: "dataset_run";
@@ -11265,7 +11265,7 @@ declare const DatasetRunApiUpdateSchema: z.ZodObject<{
11265
11265
  evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
11266
11266
  datasetRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
11267
11267
  }, z.core.$strip>;
11268
- declare const DatasetRunConversationRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
11268
+ declare const DatasetRunConversationRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
11269
11269
  createdAt: drizzle_orm_pg_core822.PgColumn<{
11270
11270
  name: "created_at";
11271
11271
  tableName: "dataset_run_conversation_relations";
@@ -11408,7 +11408,7 @@ declare const DatasetRunConversationRelationSelectSchema: drizzle_zod19.BuildSch
11408
11408
  }, {}, {
11409
11409
  length: 256;
11410
11410
  }>;
11411
- }, drizzle_zod19.BuildRefine<{
11411
+ }, drizzle_zod15.BuildRefine<{
11412
11412
  createdAt: drizzle_orm_pg_core822.PgColumn<{
11413
11413
  name: "created_at";
11414
11414
  tableName: "dataset_run_conversation_relations";
@@ -11602,7 +11602,7 @@ declare const DatasetRunConversationRelationApiUpdateSchema: z.ZodObject<{
11602
11602
  datasetRunId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11603
11603
  datasetItemId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11604
11604
  }, z.core.$strip>;
11605
- declare const EvaluationResultSelectSchema: drizzle_zod19.BuildSchema<"select", {
11605
+ declare const EvaluationResultSelectSchema: drizzle_zod15.BuildSchema<"select", {
11606
11606
  createdAt: drizzle_orm_pg_core822.PgColumn<{
11607
11607
  name: "created_at";
11608
11608
  tableName: "evaluation_result";
@@ -11764,7 +11764,7 @@ declare const EvaluationResultSelectSchema: drizzle_zod19.BuildSchema<"select",
11764
11764
  }, {}, {
11765
11765
  length: 256;
11766
11766
  }>;
11767
- }, drizzle_zod19.BuildRefine<{
11767
+ }, drizzle_zod15.BuildRefine<{
11768
11768
  createdAt: drizzle_orm_pg_core822.PgColumn<{
11769
11769
  name: "created_at";
11770
11770
  tableName: "evaluation_result";
@@ -11967,22 +11967,22 @@ declare const EvaluationResultApiSelectSchema: z.ZodObject<OmitProjectScope<{
11967
11967
  id: z.ZodString;
11968
11968
  }>, z.core.$strip>;
11969
11969
  declare const EvaluationResultApiInsertSchema: z.ZodObject<{
11970
+ output: z.ZodOptional<z.ZodNullable<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
11970
11971
  createdAt: z.ZodOptional<z.ZodString>;
11971
11972
  updatedAt: z.ZodOptional<z.ZodString>;
11972
- output: z.ZodOptional<z.ZodNullable<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
11973
11973
  evaluatorId: z.ZodString;
11974
11974
  conversationId: z.ZodString;
11975
11975
  evaluationRunId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11976
11976
  }, z.core.$strip>;
11977
11977
  declare const EvaluationResultApiUpdateSchema: z.ZodObject<{
11978
+ output: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>>>;
11978
11979
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11979
11980
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11980
- output: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>>>;
11981
11981
  evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11982
11982
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11983
11983
  evaluationRunId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
11984
11984
  }, z.core.$strip>;
11985
- declare const EvaluationRunSelectSchema: drizzle_zod19.BuildSchema<"select", {
11985
+ declare const EvaluationRunSelectSchema: drizzle_zod15.BuildSchema<"select", {
11986
11986
  createdAt: drizzle_orm_pg_core822.PgColumn<{
11987
11987
  name: "created_at";
11988
11988
  tableName: "evaluation_run";
@@ -12108,7 +12108,7 @@ declare const EvaluationRunSelectSchema: drizzle_zod19.BuildSchema<"select", {
12108
12108
  }, {}, {
12109
12109
  length: 256;
12110
12110
  }>;
12111
- }, drizzle_zod19.BuildRefine<{
12111
+ }, drizzle_zod15.BuildRefine<{
12112
12112
  createdAt: drizzle_orm_pg_core822.PgColumn<{
12113
12113
  name: "created_at";
12114
12114
  tableName: "evaluation_run";
@@ -12280,7 +12280,7 @@ declare const EvaluationRunApiUpdateSchema: z.ZodObject<{
12280
12280
  evaluationRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
12281
12281
  evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
12282
12282
  }, z.core.$strip>;
12283
- declare const EvaluationRunConfigSelectSchema: drizzle_zod19.BuildSchema<"select", {
12283
+ declare const EvaluationRunConfigSelectSchema: drizzle_zod15.BuildSchema<"select", {
12284
12284
  createdAt: drizzle_orm_pg_core822.PgColumn<{
12285
12285
  name: "created_at";
12286
12286
  tableName: "evaluation_run_config";
@@ -12425,7 +12425,7 @@ declare const EvaluationRunConfigSelectSchema: drizzle_zod19.BuildSchema<"select
12425
12425
  }, {}, {
12426
12426
  length: 256;
12427
12427
  }>;
12428
- }, drizzle_zod19.BuildRefine<{
12428
+ }, drizzle_zod15.BuildRefine<{
12429
12429
  createdAt: drizzle_orm_pg_core822.PgColumn<{
12430
12430
  name: "created_at";
12431
12431
  tableName: "evaluation_run_config";
@@ -12632,7 +12632,7 @@ declare const EvaluationRunConfigWithSuiteConfigsApiSelectSchema: z.ZodObject<{
12632
12632
  isActive: z.ZodBoolean;
12633
12633
  suiteConfigIds: z.ZodArray<z.ZodString>;
12634
12634
  }, z.core.$strip>;
12635
- declare const EvaluationJobConfigSelectSchema: drizzle_zod19.BuildSchema<"select", {
12635
+ declare const EvaluationJobConfigSelectSchema: drizzle_zod15.BuildSchema<"select", {
12636
12636
  createdAt: drizzle_orm_pg_core822.PgColumn<{
12637
12637
  name: "created_at";
12638
12638
  tableName: "evaluation_job_config";
@@ -12757,7 +12757,7 @@ declare const EvaluationJobConfigSelectSchema: drizzle_zod19.BuildSchema<"select
12757
12757
  }, {}, {
12758
12758
  length: 256;
12759
12759
  }>;
12760
- }, drizzle_zod19.BuildRefine<{
12760
+ }, drizzle_zod15.BuildRefine<{
12761
12761
  createdAt: drizzle_orm_pg_core822.PgColumn<{
12762
12762
  name: "created_at";
12763
12763
  tableName: "evaluation_job_config";
@@ -13064,7 +13064,7 @@ declare const EvaluationJobConfigApiUpdateSchema: z.ZodObject<{
13064
13064
  } | undefined;
13065
13065
  }>>>>>>>;
13066
13066
  }, z.core.$strip>;
13067
- declare const EvaluationSuiteConfigSelectSchema: drizzle_zod19.BuildSchema<"select", {
13067
+ declare const EvaluationSuiteConfigSelectSchema: drizzle_zod15.BuildSchema<"select", {
13068
13068
  createdAt: drizzle_orm_pg_core822.PgColumn<{
13069
13069
  name: "created_at";
13070
13070
  tableName: "evaluation_suite_config";
@@ -13192,7 +13192,7 @@ declare const EvaluationSuiteConfigSelectSchema: drizzle_zod19.BuildSchema<"sele
13192
13192
  }, {}, {
13193
13193
  length: 256;
13194
13194
  }>;
13195
- }, drizzle_zod19.BuildRefine<{
13195
+ }, drizzle_zod15.BuildRefine<{
13196
13196
  createdAt: drizzle_orm_pg_core822.PgColumn<{
13197
13197
  name: "created_at";
13198
13198
  tableName: "evaluation_suite_config";
@@ -13368,7 +13368,7 @@ declare const EvaluationSuiteConfigApiUpdateSchema: z.ZodObject<{
13368
13368
  sampleRate: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>>;
13369
13369
  evaluatorIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
13370
13370
  }, z.core.$strip>;
13371
- declare const EvaluationRunConfigEvaluationSuiteConfigRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
13371
+ declare const EvaluationRunConfigEvaluationSuiteConfigRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
13372
13372
  createdAt: drizzle_orm_pg_core822.PgColumn<{
13373
13373
  name: "created_at";
13374
13374
  tableName: "evaluation_run_config_evaluation_suite_config_relations";
@@ -13498,7 +13498,7 @@ declare const EvaluationRunConfigEvaluationSuiteConfigRelationSelectSchema: driz
13498
13498
  }, {}, {
13499
13499
  length: 256;
13500
13500
  }>;
13501
- }, drizzle_zod19.BuildRefine<{
13501
+ }, drizzle_zod15.BuildRefine<{
13502
13502
  createdAt: drizzle_orm_pg_core822.PgColumn<{
13503
13503
  name: "created_at";
13504
13504
  tableName: "evaluation_run_config_evaluation_suite_config_relations";
@@ -13674,7 +13674,7 @@ declare const EvaluationRunConfigEvaluationSuiteConfigRelationApiUpdateSchema: z
13674
13674
  evaluationSuiteConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13675
13675
  evaluationRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13676
13676
  }, z.core.$strip>;
13677
- declare const EvaluationJobConfigEvaluatorRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
13677
+ declare const EvaluationJobConfigEvaluatorRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
13678
13678
  createdAt: drizzle_orm_pg_core822.PgColumn<{
13679
13679
  name: "created_at";
13680
13680
  tableName: "evaluation_job_config_evaluator_relations";
@@ -13804,7 +13804,7 @@ declare const EvaluationJobConfigEvaluatorRelationSelectSchema: drizzle_zod19.Bu
13804
13804
  }, {}, {
13805
13805
  length: 256;
13806
13806
  }>;
13807
- }, drizzle_zod19.BuildRefine<{
13807
+ }, drizzle_zod15.BuildRefine<{
13808
13808
  createdAt: drizzle_orm_pg_core822.PgColumn<{
13809
13809
  name: "created_at";
13810
13810
  tableName: "evaluation_job_config_evaluator_relations";
@@ -13980,7 +13980,7 @@ declare const EvaluationJobConfigEvaluatorRelationApiUpdateSchema: z.ZodObject<{
13980
13980
  evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13981
13981
  evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13982
13982
  }, z.core.$strip>;
13983
- declare const EvaluationSuiteConfigEvaluatorRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
13983
+ declare const EvaluationSuiteConfigEvaluatorRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
13984
13984
  createdAt: drizzle_orm_pg_core822.PgColumn<{
13985
13985
  name: "created_at";
13986
13986
  tableName: "evaluation_suite_config_evaluator_relations";
@@ -14110,7 +14110,7 @@ declare const EvaluationSuiteConfigEvaluatorRelationSelectSchema: drizzle_zod19.
14110
14110
  }, {}, {
14111
14111
  length: 256;
14112
14112
  }>;
14113
- }, drizzle_zod19.BuildRefine<{
14113
+ }, drizzle_zod15.BuildRefine<{
14114
14114
  createdAt: drizzle_orm_pg_core822.PgColumn<{
14115
14115
  name: "created_at";
14116
14116
  tableName: "evaluation_suite_config_evaluator_relations";
@@ -14286,7 +14286,7 @@ declare const EvaluationSuiteConfigEvaluatorRelationApiUpdateSchema: z.ZodObject
14286
14286
  evaluationSuiteConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14287
14287
  evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14288
14288
  }, z.core.$strip>;
14289
- declare const EvaluatorSelectSchema: drizzle_zod19.BuildSchema<"select", {
14289
+ declare const EvaluatorSelectSchema: drizzle_zod15.BuildSchema<"select", {
14290
14290
  createdAt: drizzle_orm_pg_core822.PgColumn<{
14291
14291
  name: "created_at";
14292
14292
  tableName: "evaluator";
@@ -14494,7 +14494,7 @@ declare const EvaluatorSelectSchema: drizzle_zod19.BuildSchema<"select", {
14494
14494
  }, {}, {
14495
14495
  length: 256;
14496
14496
  }>;
14497
- }, drizzle_zod19.BuildRefine<{
14497
+ }, drizzle_zod15.BuildRefine<{
14498
14498
  createdAt: drizzle_orm_pg_core822.PgColumn<{
14499
14499
  name: "created_at";
14500
14500
  tableName: "evaluator";
@@ -14790,7 +14790,6 @@ declare const EvaluatorApiInsertSchema: z.ZodObject<{
14790
14790
  updatedAt: z.ZodOptional<z.ZodString>;
14791
14791
  schema: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
14792
14792
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14793
- prompt: z.ZodString;
14794
14793
  model: z.ZodType<{
14795
14794
  model?: string | undefined;
14796
14795
  providerOptions?: Record<string, any> | undefined;
@@ -14804,6 +14803,7 @@ declare const EvaluatorApiInsertSchema: z.ZodObject<{
14804
14803
  model?: string | undefined;
14805
14804
  providerOptions?: Record<string, any> | undefined;
14806
14805
  }>>;
14806
+ prompt: z.ZodString;
14807
14807
  passCriteria: z.ZodOptional<z.ZodNullable<z.ZodType<PassCriteria, PassCriteria, z.core.$ZodTypeInternals<PassCriteria, PassCriteria>>>>;
14808
14808
  }, z.core.$strip>;
14809
14809
  declare const EvaluatorApiUpdateSchema: z.ZodObject<{
@@ -14812,7 +14812,6 @@ declare const EvaluatorApiUpdateSchema: z.ZodObject<{
14812
14812
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
14813
14813
  schema: z.ZodOptional<z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
14814
14814
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
14815
- prompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14816
14815
  model: z.ZodOptional<z.ZodOptional<z.ZodType<{
14817
14816
  model?: string | undefined;
14818
14817
  providerOptions?: Record<string, any> | undefined;
@@ -14826,9 +14825,10 @@ declare const EvaluatorApiUpdateSchema: z.ZodObject<{
14826
14825
  model?: string | undefined;
14827
14826
  providerOptions?: Record<string, any> | undefined;
14828
14827
  }>>>>;
14828
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14829
14829
  passCriteria: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<PassCriteria, PassCriteria, z.core.$ZodTypeInternals<PassCriteria, PassCriteria>>>>>>;
14830
14830
  }, z.core.$strip>;
14831
- declare const DatasetSelectSchema: drizzle_zod19.BuildSchema<"select", {
14831
+ declare const DatasetSelectSchema: drizzle_zod15.BuildSchema<"select", {
14832
14832
  createdAt: drizzle_orm_pg_core822.PgColumn<{
14833
14833
  name: "created_at";
14834
14834
  tableName: "dataset";
@@ -14939,7 +14939,7 @@ declare const DatasetSelectSchema: drizzle_zod19.BuildSchema<"select", {
14939
14939
  }, {}, {
14940
14940
  length: 256;
14941
14941
  }>;
14942
- }, drizzle_zod19.BuildRefine<{
14942
+ }, drizzle_zod15.BuildRefine<{
14943
14943
  createdAt: drizzle_orm_pg_core822.PgColumn<{
14944
14944
  name: "created_at";
14945
14945
  tableName: "dataset";
@@ -15091,7 +15091,7 @@ declare const DatasetApiUpdateSchema: z.ZodObject<{
15091
15091
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
15092
15092
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
15093
15093
  }, z.core.$strip>;
15094
- declare const DatasetItemSelectSchema: drizzle_zod19.BuildSchema<"select", {
15094
+ declare const DatasetItemSelectSchema: drizzle_zod15.BuildSchema<"select", {
15095
15095
  createdAt: drizzle_orm_pg_core822.PgColumn<{
15096
15096
  name: "created_at";
15097
15097
  tableName: "dataset_item";
@@ -15279,7 +15279,7 @@ declare const DatasetItemSelectSchema: drizzle_zod19.BuildSchema<"select", {
15279
15279
  }, {}, {
15280
15280
  length: 256;
15281
15281
  }>;
15282
- }, drizzle_zod19.BuildRefine<{
15282
+ }, drizzle_zod15.BuildRefine<{
15283
15283
  createdAt: drizzle_orm_pg_core822.PgColumn<{
15284
15284
  name: "created_at";
15285
15285
  tableName: "dataset_item";
@@ -15628,9 +15628,9 @@ declare const DatasetItemApiSelectSchema: z.ZodObject<OmitProjectScope<{
15628
15628
  id: z.ZodString;
15629
15629
  }>, z.core.$strip>;
15630
15630
  declare const DatasetItemApiInsertSchema: z.ZodObject<{
15631
+ input: z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>;
15631
15632
  createdAt: z.ZodOptional<z.ZodString>;
15632
15633
  updatedAt: z.ZodOptional<z.ZodString>;
15633
- input: z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>;
15634
15634
  expectedOutput: z.ZodOptional<z.ZodNullable<z.ZodType<DatasetItemExpectedOutput, DatasetItemExpectedOutput, z.core.$ZodTypeInternals<DatasetItemExpectedOutput, DatasetItemExpectedOutput>>>>;
15635
15635
  simulationAgent: z.ZodOptional<z.ZodNullable<z.ZodType<{
15636
15636
  prompt: string;
@@ -15675,9 +15675,9 @@ declare const DatasetItemApiInsertSchema: z.ZodObject<{
15675
15675
  }>>>>;
15676
15676
  }, z.core.$strip>;
15677
15677
  declare const DatasetItemApiUpdateSchema: z.ZodObject<{
15678
+ input: z.ZodOptional<z.ZodOptional<z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>>>;
15678
15679
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
15679
15680
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
15680
- input: z.ZodOptional<z.ZodOptional<z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>>>;
15681
15681
  expectedOutput: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<DatasetItemExpectedOutput, DatasetItemExpectedOutput, z.core.$ZodTypeInternals<DatasetItemExpectedOutput, DatasetItemExpectedOutput>>>>>>;
15682
15682
  simulationAgent: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
15683
15683
  prompt: string;
@@ -15722,8 +15722,8 @@ declare const DatasetItemApiUpdateSchema: z.ZodObject<{
15722
15722
  }>>>>>>;
15723
15723
  }, z.core.$strip>;
15724
15724
  declare const DatasetRunItemSchema: z.ZodObject<{
15725
- id: z.ZodOptional<z.ZodString>;
15726
15725
  input: z.ZodOptional<z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>>;
15726
+ id: z.ZodOptional<z.ZodString>;
15727
15727
  expectedOutput: z.ZodOptional<z.ZodNullable<z.ZodType<DatasetItemExpectedOutput, DatasetItemExpectedOutput, z.core.$ZodTypeInternals<DatasetItemExpectedOutput, DatasetItemExpectedOutput>>>>;
15728
15728
  simulationAgent: z.ZodOptional<z.ZodNullable<z.ZodType<{
15729
15729
  prompt: string;
@@ -15771,8 +15771,8 @@ declare const DatasetRunItemSchema: z.ZodObject<{
15771
15771
  declare const TriggerDatasetRunSchema: z.ZodObject<{
15772
15772
  datasetRunId: z.ZodString;
15773
15773
  items: z.ZodArray<z.ZodObject<{
15774
- id: z.ZodOptional<z.ZodString>;
15775
15774
  input: z.ZodOptional<z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>>;
15775
+ id: z.ZodOptional<z.ZodString>;
15776
15776
  expectedOutput: z.ZodOptional<z.ZodNullable<z.ZodType<DatasetItemExpectedOutput, DatasetItemExpectedOutput, z.core.$ZodTypeInternals<DatasetItemExpectedOutput, DatasetItemExpectedOutput>>>>;
15777
15777
  simulationAgent: z.ZodOptional<z.ZodNullable<z.ZodType<{
15778
15778
  prompt: string;
@@ -15850,7 +15850,7 @@ declare const TriggerEvaluationJobSchema: z.ZodObject<{
15850
15850
  }, z.core.$strip>>;
15851
15851
  }, z.core.$strip>>>;
15852
15852
  }, z.core.$strip>;
15853
- declare const DatasetRunConfigSelectSchema: drizzle_zod19.BuildSchema<"select", {
15853
+ declare const DatasetRunConfigSelectSchema: drizzle_zod15.BuildSchema<"select", {
15854
15854
  createdAt: drizzle_orm_pg_core822.PgColumn<{
15855
15855
  name: "created_at";
15856
15856
  tableName: "dataset_run_config";
@@ -15997,7 +15997,7 @@ declare const DatasetRunConfigSelectSchema: drizzle_zod19.BuildSchema<"select",
15997
15997
  }, {}, {
15998
15998
  length: 256;
15999
15999
  }>;
16000
- }, drizzle_zod19.BuildRefine<{
16000
+ }, drizzle_zod15.BuildRefine<{
16001
16001
  createdAt: drizzle_orm_pg_core822.PgColumn<{
16002
16002
  name: "created_at";
16003
16003
  tableName: "dataset_run_config";
@@ -16195,7 +16195,7 @@ declare const DatasetRunConfigApiUpdateSchema: z.ZodObject<{
16195
16195
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
16196
16196
  datasetId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16197
16197
  }, z.core.$strip>;
16198
- declare const DatasetRunConfigAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
16198
+ declare const DatasetRunConfigAgentRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
16199
16199
  createdAt: drizzle_orm_pg_core822.PgColumn<{
16200
16200
  name: "created_at";
16201
16201
  tableName: "dataset_run_config_agent_relations";
@@ -16325,7 +16325,7 @@ declare const DatasetRunConfigAgentRelationSelectSchema: drizzle_zod19.BuildSche
16325
16325
  }, {}, {
16326
16326
  length: 256;
16327
16327
  }>;
16328
- }, drizzle_zod19.BuildRefine<{
16328
+ }, drizzle_zod15.BuildRefine<{
16329
16329
  createdAt: drizzle_orm_pg_core822.PgColumn<{
16330
16330
  name: "created_at";
16331
16331
  tableName: "dataset_run_config_agent_relations";
@@ -16544,7 +16544,7 @@ declare const SkillApiUpdateSchema: z.ZodObject<{
16544
16544
  description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16545
16545
  content: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16546
16546
  }, z.core.$strip>;
16547
- declare const DataComponentSelectSchema: drizzle_zod19.BuildSchema<"select", {
16547
+ declare const DataComponentSelectSchema: drizzle_zod15.BuildSchema<"select", {
16548
16548
  createdAt: drizzle_orm_pg_core822.PgColumn<{
16549
16549
  name: "created_at";
16550
16550
  tableName: "data_components";
@@ -16730,7 +16730,7 @@ declare const DataComponentSelectSchema: drizzle_zod19.BuildSchema<"select", {
16730
16730
  }, {}, {
16731
16731
  length: 256;
16732
16732
  }>;
16733
- }, drizzle_zod19.BuildRefine<{
16733
+ }, drizzle_zod15.BuildRefine<{
16734
16734
  createdAt: drizzle_orm_pg_core822.PgColumn<{
16735
16735
  name: "created_at";
16736
16736
  tableName: "data_components";
@@ -17130,7 +17130,7 @@ declare const DataComponentApiUpdateSchema: z.ZodObject<{
17130
17130
  description: z.ZodOptional<z.ZodString>;
17131
17131
  }, z.core.$loose>;
17132
17132
  }, z.core.$strip>;
17133
- declare const SubAgentDataComponentSelectSchema: drizzle_zod19.BuildSchema<"select", {
17133
+ declare const SubAgentDataComponentSelectSchema: drizzle_zod15.BuildSchema<"select", {
17134
17134
  dataComponentId: drizzle_orm_pg_core822.PgColumn<{
17135
17135
  name: "data_component_id";
17136
17136
  tableName: "sub_agent_data_components";
@@ -17262,7 +17262,7 @@ declare const SubAgentDataComponentSelectSchema: drizzle_zod19.BuildSchema<"sele
17262
17262
  }, {}, {
17263
17263
  length: 256;
17264
17264
  }>;
17265
- }, drizzle_zod19.BuildRefine<{
17265
+ }, drizzle_zod15.BuildRefine<{
17266
17266
  dataComponentId: drizzle_orm_pg_core822.PgColumn<{
17267
17267
  name: "data_component_id";
17268
17268
  tableName: "sub_agent_data_components";
@@ -17395,7 +17395,7 @@ declare const SubAgentDataComponentSelectSchema: drizzle_zod19.BuildSchema<"sele
17395
17395
  length: 256;
17396
17396
  }>;
17397
17397
  }, undefined>, undefined>;
17398
- declare const SubAgentDataComponentInsertSchema: drizzle_zod19.BuildSchema<"insert", {
17398
+ declare const SubAgentDataComponentInsertSchema: drizzle_zod15.BuildSchema<"insert", {
17399
17399
  dataComponentId: drizzle_orm_pg_core822.PgColumn<{
17400
17400
  name: "data_component_id";
17401
17401
  tableName: "sub_agent_data_components";
@@ -17527,7 +17527,7 @@ declare const SubAgentDataComponentInsertSchema: drizzle_zod19.BuildSchema<"inse
17527
17527
  }, {}, {
17528
17528
  length: 256;
17529
17529
  }>;
17530
- }, drizzle_zod19.BuildRefine<Pick<{
17530
+ }, drizzle_zod15.BuildRefine<Pick<{
17531
17531
  dataComponentId: drizzle_orm_pg_core822.PgColumn<{
17532
17532
  name: "data_component_id";
17533
17533
  tableName: "sub_agent_data_components";
@@ -17695,7 +17695,7 @@ declare const SubAgentDataComponentApiUpdateSchema: z.ZodObject<{
17695
17695
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
17696
17696
  dataComponentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
17697
17697
  }, z.core.$strip>;
17698
- declare const ArtifactComponentSelectSchema: drizzle_zod19.BuildSchema<"select", {
17698
+ declare const ArtifactComponentSelectSchema: drizzle_zod15.BuildSchema<"select", {
17699
17699
  createdAt: drizzle_orm_pg_core822.PgColumn<{
17700
17700
  name: "created_at";
17701
17701
  tableName: "artifact_components";
@@ -17881,7 +17881,7 @@ declare const ArtifactComponentSelectSchema: drizzle_zod19.BuildSchema<"select",
17881
17881
  }, {}, {
17882
17882
  length: 256;
17883
17883
  }>;
17884
- }, drizzle_zod19.BuildRefine<{
17884
+ }, drizzle_zod15.BuildRefine<{
17885
17885
  createdAt: drizzle_orm_pg_core822.PgColumn<{
17886
17886
  name: "created_at";
17887
17887
  tableName: "artifact_components";
@@ -18304,7 +18304,7 @@ declare const ArtifactComponentApiUpdateSchema: z.ZodObject<{
18304
18304
  mockData: Record<string, unknown>;
18305
18305
  }>>>>>>;
18306
18306
  }, z.core.$strip>;
18307
- declare const SubAgentArtifactComponentSelectSchema: drizzle_zod19.BuildSchema<"select", {
18307
+ declare const SubAgentArtifactComponentSelectSchema: drizzle_zod15.BuildSchema<"select", {
18308
18308
  artifactComponentId: drizzle_orm_pg_core822.PgColumn<{
18309
18309
  name: "artifact_component_id";
18310
18310
  tableName: "sub_agent_artifact_components";
@@ -18436,7 +18436,7 @@ declare const SubAgentArtifactComponentSelectSchema: drizzle_zod19.BuildSchema<"
18436
18436
  }, {}, {
18437
18437
  length: 256;
18438
18438
  }>;
18439
- }, drizzle_zod19.BuildRefine<{
18439
+ }, drizzle_zod15.BuildRefine<{
18440
18440
  artifactComponentId: drizzle_orm_pg_core822.PgColumn<{
18441
18441
  name: "artifact_component_id";
18442
18442
  tableName: "sub_agent_artifact_components";
@@ -18675,10 +18675,10 @@ declare const SubAgentSkillApiSelectSchema: z.ZodObject<OmitAgentScope<{
18675
18675
  }>, z.core.$strip>;
18676
18676
  declare const SubAgentSkillApiInsertSchema: z.ZodObject<{
18677
18677
  agentId: z.ZodString;
18678
+ skillId: z.ZodString;
18678
18679
  index: z.ZodInt;
18679
18680
  alwaysLoaded: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
18680
18681
  subAgentId: z.ZodString;
18681
- skillId: z.ZodString;
18682
18682
  }, {
18683
18683
  out: {};
18684
18684
  in: {};
@@ -18687,10 +18687,10 @@ declare const SubAgentSkillApiUpdateSchema: z.ZodObject<{
18687
18687
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18688
18688
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18689
18689
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18690
+ skillId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18690
18691
  index: z.ZodOptional<z.ZodOptional<z.ZodInt>>;
18691
18692
  alwaysLoaded: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>>;
18692
18693
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18693
- skillId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18694
18694
  }, z.core.$strip>;
18695
18695
  declare const SubAgentSkillWithIndexSchema: z.ZodObject<{
18696
18696
  id: z.ZodString;
@@ -18775,8 +18775,8 @@ declare const ExternalAgentApiUpdateSchema: z.ZodObject<{
18775
18775
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18776
18776
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18777
18777
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
18778
- credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
18779
18778
  baseUrl: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18779
+ credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
18780
18780
  }, z.core.$strip>;
18781
18781
  declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
18782
18782
  id: z.ZodString;
@@ -18784,8 +18784,6 @@ declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
18784
18784
  createdAt: z.ZodString;
18785
18785
  updatedAt: z.ZodString;
18786
18786
  description: z.ZodNullable<z.ZodString>;
18787
- prompt: z.ZodNullable<z.ZodString>;
18788
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
18789
18787
  models: z.ZodNullable<z.ZodType<{
18790
18788
  base?: {
18791
18789
  model?: string | undefined;
@@ -18848,6 +18846,8 @@ declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
18848
18846
  }, {
18849
18847
  stepCountIs?: number | undefined;
18850
18848
  }>>>;
18849
+ prompt: z.ZodNullable<z.ZodString>;
18850
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
18851
18851
  type: z.ZodLiteral<"internal">;
18852
18852
  }, z.core.$strip>, z.ZodObject<{
18853
18853
  id: z.ZodString;
@@ -18855,11 +18855,11 @@ declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
18855
18855
  createdAt: z.ZodString;
18856
18856
  updatedAt: z.ZodString;
18857
18857
  description: z.ZodNullable<z.ZodString>;
18858
- credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18859
18858
  baseUrl: z.ZodString;
18859
+ credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18860
18860
  type: z.ZodLiteral<"external">;
18861
18861
  }, z.core.$strip>], "type">;
18862
- declare const ApiKeySelectSchema: drizzle_zod19.BuildSchema<"select", {
18862
+ declare const ApiKeySelectSchema: drizzle_zod15.BuildSchema<"select", {
18863
18863
  createdAt: drizzle_orm_pg_core822.PgColumn<{
18864
18864
  name: "created_at";
18865
18865
  tableName: "api_keys";
@@ -19080,7 +19080,7 @@ declare const ApiKeySelectSchema: drizzle_zod19.BuildSchema<"select", {
19080
19080
  }, {}, {
19081
19081
  length: 256;
19082
19082
  }>;
19083
- }, drizzle_zod19.BuildRefine<{
19083
+ }, drizzle_zod15.BuildRefine<{
19084
19084
  createdAt: drizzle_orm_pg_core822.PgColumn<{
19085
19085
  name: "created_at";
19086
19086
  tableName: "api_keys";
@@ -19336,9 +19336,9 @@ declare const ApiKeyApiSelectSchema: z.ZodObject<{
19336
19336
  updatedAt: z.ZodString;
19337
19337
  expiresAt: z.ZodNullable<z.ZodString>;
19338
19338
  agentId: z.ZodString;
19339
- lastUsedAt: z.ZodNullable<z.ZodString>;
19340
19339
  publicId: z.ZodString;
19341
19340
  keyPrefix: z.ZodString;
19341
+ lastUsedAt: z.ZodNullable<z.ZodString>;
19342
19342
  }, {
19343
19343
  out: {};
19344
19344
  in: {};
@@ -19352,9 +19352,9 @@ declare const ApiKeyApiCreationResponseSchema: z.ZodObject<{
19352
19352
  updatedAt: z.ZodString;
19353
19353
  expiresAt: z.ZodNullable<z.ZodString>;
19354
19354
  agentId: z.ZodString;
19355
- lastUsedAt: z.ZodNullable<z.ZodString>;
19356
19355
  publicId: z.ZodString;
19357
19356
  keyPrefix: z.ZodString;
19357
+ lastUsedAt: z.ZodNullable<z.ZodString>;
19358
19358
  }, {
19359
19359
  out: {};
19360
19360
  in: {};
@@ -19382,7 +19382,7 @@ declare const ApiKeyApiUpdateSchema: z.ZodObject<{
19382
19382
  out: {};
19383
19383
  in: {};
19384
19384
  }>;
19385
- declare const CredentialReferenceSelectSchema: drizzle_zod19.BuildSchema<"select", {
19385
+ declare const CredentialReferenceSelectSchema: drizzle_zod15.BuildSchema<"select", {
19386
19386
  createdAt: drizzle_orm_pg_core822.PgColumn<{
19387
19387
  name: "created_at";
19388
19388
  tableName: "credential_references";
@@ -19607,7 +19607,7 @@ declare const CredentialReferenceSelectSchema: drizzle_zod19.BuildSchema<"select
19607
19607
  }, {}, {
19608
19608
  length: 256;
19609
19609
  }>;
19610
- }, drizzle_zod19.BuildRefine<{
19610
+ }, drizzle_zod15.BuildRefine<{
19611
19611
  createdAt: drizzle_orm_pg_core822.PgColumn<{
19612
19612
  name: "created_at";
19613
19613
  tableName: "credential_references";
@@ -19873,16 +19873,16 @@ declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
19873
19873
  createdAt: z.ZodString;
19874
19874
  updatedAt: z.ZodString;
19875
19875
  userId: z.ZodNullable<z.ZodString>;
19876
- toolId: z.ZodNullable<z.ZodString>;
19877
19876
  credentialStoreId: z.ZodString;
19878
19877
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
19878
+ toolId: z.ZodNullable<z.ZodString>;
19879
19879
  createdBy: z.ZodNullable<z.ZodString>;
19880
19880
  type: z.ZodEnum<{
19881
19881
  readonly memory: "memory";
19882
19882
  readonly keychain: "keychain";
19883
19883
  readonly nango: "nango";
19884
19884
  }>;
19885
- tools: z.ZodOptional<z.ZodArray<drizzle_zod19.BuildSchema<"select", {
19885
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod15.BuildSchema<"select", {
19886
19886
  createdAt: drizzle_orm_pg_core822.PgColumn<{
19887
19887
  name: "created_at";
19888
19888
  tableName: "tools";
@@ -20162,7 +20162,7 @@ declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
20162
20162
  }, {}, {
20163
20163
  length: 256;
20164
20164
  }>;
20165
- }, drizzle_zod19.BuildRefine<{
20165
+ }, drizzle_zod15.BuildRefine<{
20166
20166
  createdAt: drizzle_orm_pg_core822.PgColumn<{
20167
20167
  name: "created_at";
20168
20168
  tableName: "tools";
@@ -20464,9 +20464,9 @@ declare const CredentialReferenceApiInsertSchema: z.ZodObject<{
20464
20464
  createdAt: z.ZodOptional<z.ZodString>;
20465
20465
  updatedAt: z.ZodOptional<z.ZodString>;
20466
20466
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20467
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20468
20467
  credentialStoreId: z.ZodString;
20469
20468
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
20469
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20470
20470
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20471
20471
  type: z.ZodEnum<{
20472
20472
  readonly memory: "memory";
@@ -20480,9 +20480,9 @@ declare const CredentialReferenceApiUpdateSchema: z.ZodObject<{
20480
20480
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
20481
20481
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
20482
20482
  userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
20483
- toolId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
20484
20483
  credentialStoreId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20485
20484
  retrievalParams: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>>;
20485
+ toolId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
20486
20486
  createdBy: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
20487
20487
  type: z.ZodOptional<z.ZodEnum<{
20488
20488
  readonly memory: "memory";
@@ -20609,13 +20609,13 @@ declare const MCPToolConfigSchema: z.ZodObject<{
20609
20609
  id: z.ZodString;
20610
20610
  name: z.ZodString;
20611
20611
  expiresAt: z.ZodOptional<z.ZodString>;
20612
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
20612
+ createdBy: z.ZodOptional<z.ZodString>;
20613
20613
  credentialScope: z.ZodOptional<z.ZodString>;
20614
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
20614
20615
  imageUrl: z.ZodOptional<z.ZodString>;
20615
20616
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
20616
20617
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20617
20618
  isWorkApp: z.ZodOptional<z.ZodBoolean>;
20618
- createdBy: z.ZodOptional<z.ZodString>;
20619
20619
  relationshipId: z.ZodOptional<z.ZodString>;
20620
20620
  availableTools: z.ZodOptional<z.ZodArray<z.ZodObject<{
20621
20621
  name: z.ZodString;
@@ -20647,9 +20647,9 @@ declare const MCPToolConfigSchema: z.ZodObject<{
20647
20647
  createdAt: z.ZodOptional<z.ZodString>;
20648
20648
  updatedAt: z.ZodOptional<z.ZodString>;
20649
20649
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20650
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20651
20650
  credentialStoreId: z.ZodString;
20652
20651
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
20652
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20653
20653
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20654
20654
  type: z.ZodEnum<{
20655
20655
  readonly memory: "memory";
@@ -20790,7 +20790,7 @@ declare const ToolApiUpdateSchema: z.ZodObject<{
20790
20790
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
20791
20791
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
20792
20792
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
20793
- 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>>>>>>>;
20793
+ credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
20794
20794
  config: z.ZodOptional<z.ZodOptional<z.ZodObject<{
20795
20795
  type: z.ZodLiteral<"mcp">;
20796
20796
  mcp: z.ZodObject<{
@@ -20817,14 +20817,14 @@ declare const ToolApiUpdateSchema: z.ZodObject<{
20817
20817
  prompt: z.ZodOptional<z.ZodString>;
20818
20818
  }, z.core.$strip>;
20819
20819
  }, z.core.$strip>>>;
20820
- credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
20821
20820
  credentialScope: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
20821
+ 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>>>>>>>;
20822
20822
  imageUrl: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
20823
20823
  capabilities: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>>>;
20824
20824
  lastError: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
20825
20825
  isWorkApp: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodBoolean>>>;
20826
20826
  }, z.core.$strip>;
20827
- declare const FunctionToolSelectSchema: drizzle_zod19.BuildSchema<"select", {
20827
+ declare const FunctionToolSelectSchema: drizzle_zod15.BuildSchema<"select", {
20828
20828
  createdAt: drizzle_orm_pg_core822.PgColumn<{
20829
20829
  name: "created_at";
20830
20830
  tableName: "function_tools";
@@ -20990,7 +20990,7 @@ declare const FunctionToolSelectSchema: drizzle_zod19.BuildSchema<"select", {
20990
20990
  }, {}, {
20991
20991
  length: 256;
20992
20992
  }>;
20993
- }, drizzle_zod19.BuildRefine<{
20993
+ }, drizzle_zod15.BuildRefine<{
20994
20994
  createdAt: drizzle_orm_pg_core822.PgColumn<{
20995
20995
  name: "created_at";
20996
20996
  tableName: "function_tools";
@@ -21215,7 +21215,7 @@ declare const FunctionToolApiUpdateSchema: z.ZodObject<{
21215
21215
  agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21216
21216
  functionId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21217
21217
  }, z.core.$strip>;
21218
- declare const SubAgentFunctionToolRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
21218
+ declare const SubAgentFunctionToolRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
21219
21219
  createdAt: drizzle_orm_pg_core822.PgColumn<{
21220
21220
  name: "created_at";
21221
21221
  tableName: "sub_agent_function_tool_relations";
@@ -21387,7 +21387,7 @@ declare const SubAgentFunctionToolRelationSelectSchema: drizzle_zod19.BuildSchem
21387
21387
  }, {}, {
21388
21388
  length: 256;
21389
21389
  }>;
21390
- }, drizzle_zod19.BuildRefine<{
21390
+ }, drizzle_zod15.BuildRefine<{
21391
21391
  createdAt: drizzle_orm_pg_core822.PgColumn<{
21392
21392
  name: "created_at";
21393
21393
  tableName: "sub_agent_function_tool_relations";
@@ -21563,7 +21563,7 @@ declare const SubAgentFunctionToolRelationSelectSchema: drizzle_zod19.BuildSchem
21563
21563
  declare const SubAgentFunctionToolRelationInsertSchema: z.ZodObject<{
21564
21564
  createdAt: z.ZodOptional<z.ZodString>;
21565
21565
  updatedAt: z.ZodOptional<z.ZodString>;
21566
- toolPolicies: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
21566
+ toolPolicies: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
21567
21567
  agentId: z.ZodString;
21568
21568
  projectId: z.ZodString;
21569
21569
  tenantId: z.ZodString;
@@ -21578,7 +21578,7 @@ declare const SubAgentFunctionToolRelationApiSelectSchema: z.ZodObject<OmitAgent
21578
21578
  createdAt: z.ZodString;
21579
21579
  updatedAt: z.ZodString;
21580
21580
  functionToolId: z.ZodString;
21581
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
21581
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
21582
21582
  subAgentId: z.ZodString;
21583
21583
  agentId: z.ZodString;
21584
21584
  projectId: z.ZodString;
@@ -21586,14 +21586,14 @@ declare const SubAgentFunctionToolRelationApiSelectSchema: z.ZodObject<OmitAgent
21586
21586
  id: z.ZodString;
21587
21587
  }>, z.core.$strip>;
21588
21588
  declare const SubAgentFunctionToolRelationApiInsertSchema: z.ZodObject<{
21589
- toolPolicies: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
21590
21589
  subAgentId: z.ZodString;
21590
+ toolPolicies: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
21591
21591
  functionToolId: z.ZodString;
21592
21592
  }, {
21593
21593
  out: {};
21594
21594
  in: {};
21595
21595
  }>;
21596
- declare const FunctionSelectSchema: drizzle_zod19.BuildSchema<"select", {
21596
+ declare const FunctionSelectSchema: drizzle_zod15.BuildSchema<"select", {
21597
21597
  createdAt: drizzle_orm_pg_core822.PgColumn<{
21598
21598
  name: "created_at";
21599
21599
  tableName: "functions";
@@ -21740,7 +21740,7 @@ declare const FunctionSelectSchema: drizzle_zod19.BuildSchema<"select", {
21740
21740
  }, {}, {
21741
21741
  length: 256;
21742
21742
  }>;
21743
- }, drizzle_zod19.BuildRefine<{
21743
+ }, drizzle_zod15.BuildRefine<{
21744
21744
  createdAt: drizzle_orm_pg_core822.PgColumn<{
21745
21745
  name: "created_at";
21746
21746
  tableName: "functions";
@@ -21985,9 +21985,9 @@ declare const FetchDefinitionSchema: z.ZodObject<{
21985
21985
  createdAt: z.ZodOptional<z.ZodString>;
21986
21986
  updatedAt: z.ZodOptional<z.ZodString>;
21987
21987
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21988
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21989
21988
  credentialStoreId: z.ZodString;
21990
21989
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
21990
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21991
21991
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21992
21992
  type: z.ZodEnum<{
21993
21993
  readonly memory: "memory";
@@ -22013,9 +22013,9 @@ declare const ContextConfigInsertSchema: z.ZodObject<{
22013
22013
  id: z.ZodOptional<z.ZodString>;
22014
22014
  tenantId: z.ZodString;
22015
22015
  projectId: z.ZodString;
22016
- agentId: z.ZodString;
22017
22016
  headersSchema: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
22018
22017
  contextVariables: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
22018
+ agentId: z.ZodString;
22019
22019
  }, {
22020
22020
  out: {};
22021
22021
  in: {};
@@ -22024,9 +22024,9 @@ declare const ContextConfigUpdateSchema: z.ZodObject<{
22024
22024
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22025
22025
  tenantId: z.ZodOptional<z.ZodString>;
22026
22026
  projectId: z.ZodOptional<z.ZodString>;
22027
- agentId: z.ZodOptional<z.ZodString>;
22028
22027
  headersSchema: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>;
22029
22028
  contextVariables: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>;
22029
+ agentId: z.ZodOptional<z.ZodString>;
22030
22030
  }, {
22031
22031
  out: {};
22032
22032
  in: {};
@@ -22048,7 +22048,7 @@ declare const ContextConfigApiUpdateSchema: z.ZodObject<{
22048
22048
  headersSchema: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>>;
22049
22049
  contextVariables: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>>;
22050
22050
  }, z.core.$strip>;
22051
- declare const SubAgentToolRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
22051
+ declare const SubAgentToolRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
22052
22052
  createdAt: drizzle_orm_pg_core822.PgColumn<{
22053
22053
  name: "created_at";
22054
22054
  tableName: "sub_agent_tool_relations";
@@ -22258,7 +22258,7 @@ declare const SubAgentToolRelationSelectSchema: drizzle_zod19.BuildSchema<"selec
22258
22258
  }, {}, {
22259
22259
  length: 256;
22260
22260
  }>;
22261
- }, drizzle_zod19.BuildRefine<{
22261
+ }, drizzle_zod15.BuildRefine<{
22262
22262
  createdAt: drizzle_orm_pg_core822.PgColumn<{
22263
22263
  name: "created_at";
22264
22264
  tableName: "sub_agent_tool_relations";
@@ -22509,9 +22509,9 @@ declare const SubAgentToolRelationApiSelectSchema: z.ZodObject<OmitAgentScope<{
22509
22509
  createdAt: z.ZodString;
22510
22510
  updatedAt: z.ZodString;
22511
22511
  toolId: z.ZodString;
22512
- selectedTools: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
22513
- headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
22514
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
22512
+ selectedTools: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
22513
+ headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
22514
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
22515
22515
  subAgentId: z.ZodString;
22516
22516
  agentId: z.ZodString;
22517
22517
  projectId: z.ZodString;
@@ -22538,14 +22538,14 @@ declare const SubAgentToolRelationApiUpdateSchema: z.ZodObject<{
22538
22538
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
22539
22539
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
22540
22540
  toolId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22541
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22541
22542
  headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
22543
+ selectedTools: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>>>;
22542
22544
  toolPolicies: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
22543
22545
  needsApproval: z.ZodOptional<z.ZodBoolean>;
22544
22546
  }, z.core.$strip>>>>>>;
22545
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22546
- selectedTools: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>>>;
22547
22547
  }, z.core.$strip>;
22548
- declare const SubAgentExternalAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
22548
+ declare const SubAgentExternalAgentRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
22549
22549
  createdAt: drizzle_orm_pg_core822.PgColumn<{
22550
22550
  name: "created_at";
22551
22551
  tableName: "sub_agent_external_agent_relations";
@@ -22713,7 +22713,7 @@ declare const SubAgentExternalAgentRelationSelectSchema: drizzle_zod19.BuildSche
22713
22713
  }, {}, {
22714
22714
  length: 256;
22715
22715
  }>;
22716
- }, drizzle_zod19.BuildRefine<{
22716
+ }, drizzle_zod15.BuildRefine<{
22717
22717
  createdAt: drizzle_orm_pg_core822.PgColumn<{
22718
22718
  name: "created_at";
22719
22719
  tableName: "sub_agent_external_agent_relations";
@@ -22914,7 +22914,7 @@ declare const SubAgentExternalAgentRelationApiSelectSchema: z.ZodObject<OmitAgen
22914
22914
  createdAt: z.ZodString;
22915
22915
  updatedAt: z.ZodString;
22916
22916
  externalAgentId: z.ZodString;
22917
- headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
22917
+ headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
22918
22918
  subAgentId: z.ZodString;
22919
22919
  agentId: z.ZodString;
22920
22920
  projectId: z.ZodString;
@@ -22931,11 +22931,11 @@ declare const SubAgentExternalAgentRelationApiUpdateSchema: z.ZodObject<{
22931
22931
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22932
22932
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
22933
22933
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
22934
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22934
22935
  headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
22935
22936
  externalAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22936
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22937
22937
  }, z.core.$strip>;
22938
- declare const SubAgentTeamAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
22938
+ declare const SubAgentTeamAgentRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
22939
22939
  createdAt: drizzle_orm_pg_core822.PgColumn<{
22940
22940
  name: "created_at";
22941
22941
  tableName: "sub_agent_team_agent_relations";
@@ -23103,7 +23103,7 @@ declare const SubAgentTeamAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"
23103
23103
  }, {}, {
23104
23104
  length: 256;
23105
23105
  }>;
23106
- }, drizzle_zod19.BuildRefine<{
23106
+ }, drizzle_zod15.BuildRefine<{
23107
23107
  createdAt: drizzle_orm_pg_core822.PgColumn<{
23108
23108
  name: "created_at";
23109
23109
  tableName: "sub_agent_team_agent_relations";
@@ -23304,7 +23304,7 @@ declare const SubAgentTeamAgentRelationApiSelectSchema: z.ZodObject<OmitAgentSco
23304
23304
  createdAt: z.ZodString;
23305
23305
  updatedAt: z.ZodString;
23306
23306
  targetAgentId: z.ZodString;
23307
- headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
23307
+ headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
23308
23308
  subAgentId: z.ZodString;
23309
23309
  agentId: z.ZodString;
23310
23310
  projectId: z.ZodString;
@@ -23321,11 +23321,11 @@ declare const SubAgentTeamAgentRelationApiUpdateSchema: z.ZodObject<{
23321
23321
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23322
23322
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
23323
23323
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
23324
- headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
23325
23324
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23325
+ headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
23326
23326
  targetAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23327
23327
  }, z.core.$strip>;
23328
- declare const LedgerArtifactSelectSchema: drizzle_zod19.BuildSchema<"select", {
23328
+ declare const LedgerArtifactSelectSchema: drizzle_zod15.BuildSchema<"select", {
23329
23329
  createdAt: drizzle_orm_pg_core822.PgColumn<{
23330
23330
  name: "created_at";
23331
23331
  tableName: "ledger_artifacts";
@@ -23660,7 +23660,7 @@ declare const LedgerArtifactSelectSchema: drizzle_zod19.BuildSchema<"select", {
23660
23660
  }, {}, {
23661
23661
  length: 256;
23662
23662
  }>;
23663
- }, drizzle_zod19.BuildRefine<{
23663
+ }, drizzle_zod15.BuildRefine<{
23664
23664
  createdAt: drizzle_orm_pg_core822.PgColumn<{
23665
23665
  name: "created_at";
23666
23666
  tableName: "ledger_artifacts";
@@ -23996,7 +23996,7 @@ declare const LedgerArtifactSelectSchema: drizzle_zod19.BuildSchema<"select", {
23996
23996
  length: 256;
23997
23997
  }>;
23998
23998
  }, undefined>, undefined>;
23999
- declare const LedgerArtifactInsertSchema: drizzle_zod19.BuildSchema<"insert", {
23999
+ declare const LedgerArtifactInsertSchema: drizzle_zod15.BuildSchema<"insert", {
24000
24000
  createdAt: drizzle_orm_pg_core822.PgColumn<{
24001
24001
  name: "created_at";
24002
24002
  tableName: "ledger_artifacts";
@@ -24331,7 +24331,7 @@ declare const LedgerArtifactInsertSchema: drizzle_zod19.BuildSchema<"insert", {
24331
24331
  }, {}, {
24332
24332
  length: 256;
24333
24333
  }>;
24334
- }, drizzle_zod19.BuildRefine<Pick<{
24334
+ }, drizzle_zod15.BuildRefine<Pick<{
24335
24335
  createdAt: drizzle_orm_pg_core822.PgColumn<{
24336
24336
  name: "created_at";
24337
24337
  tableName: "ledger_artifacts";
@@ -24666,7 +24666,7 @@ declare const LedgerArtifactInsertSchema: drizzle_zod19.BuildSchema<"insert", {
24666
24666
  }, {}, {
24667
24667
  length: 256;
24668
24668
  }>;
24669
- }, "id" | "name" | "createdAt" | "updatedAt" | "metadata" | "description" | "tenantId" | "projectId" | "type" | "contextId" | "visibility" | "taskId" | "toolCallId" | "parts" | "summary" | "mime" | "allowedAgents" | "derivedFrom">, undefined>, undefined>;
24669
+ }, "type" | "id" | "name" | "createdAt" | "updatedAt" | "metadata" | "description" | "tenantId" | "projectId" | "contextId" | "visibility" | "taskId" | "toolCallId" | "parts" | "summary" | "mime" | "allowedAgents" | "derivedFrom">, undefined>, undefined>;
24670
24670
  declare const LedgerArtifactUpdateSchema: z.ZodObject<{
24671
24671
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
24672
24672
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -24676,12 +24676,12 @@ declare const LedgerArtifactUpdateSchema: z.ZodObject<{
24676
24676
  type: z.ZodOptional<z.ZodOptional<z.ZodString>>;
24677
24677
  name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
24678
24678
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
24679
- parts: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
24680
- metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
24679
+ parts: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
24680
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
24681
24681
  summary: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
24682
- mime: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
24682
+ mime: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
24683
24683
  visibility: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
24684
- allowedAgents: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
24684
+ allowedAgents: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
24685
24685
  derivedFrom: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
24686
24686
  projectId: z.ZodOptional<z.ZodString>;
24687
24687
  tenantId: z.ZodOptional<z.ZodString>;
@@ -24699,12 +24699,12 @@ declare const LedgerArtifactApiSelectSchema: z.ZodObject<OmitProjectScope<{
24699
24699
  type: z.ZodString;
24700
24700
  name: z.ZodNullable<z.ZodString>;
24701
24701
  description: z.ZodNullable<z.ZodString>;
24702
- parts: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
24703
- metadata: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
24702
+ parts: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
24703
+ metadata: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
24704
24704
  summary: z.ZodNullable<z.ZodString>;
24705
- mime: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
24705
+ mime: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
24706
24706
  visibility: z.ZodNullable<z.ZodString>;
24707
- allowedAgents: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
24707
+ allowedAgents: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
24708
24708
  derivedFrom: z.ZodNullable<z.ZodString>;
24709
24709
  projectId: z.ZodString;
24710
24710
  tenantId: z.ZodString;
@@ -24719,33 +24719,33 @@ declare const LedgerArtifactApiInsertSchema: z.ZodObject<OmitProjectScope<{
24719
24719
  type: z.ZodOptional<z.ZodString>;
24720
24720
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24721
24721
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24722
- parts: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
24723
- metadata: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
24722
+ parts: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
24723
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
24724
24724
  summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24725
- mime: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
24725
+ mime: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
24726
24726
  visibility: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24727
- allowedAgents: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
24727
+ allowedAgents: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
24728
24728
  derivedFrom: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24729
24729
  projectId: z.ZodString;
24730
24730
  tenantId: z.ZodString;
24731
24731
  id: z.ZodString;
24732
24732
  }>, z.core.$strip>;
24733
24733
  declare const LedgerArtifactApiUpdateSchema: z.ZodObject<{
24734
+ type: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
24734
24735
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
24735
24736
  name: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
24736
24737
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
24737
24738
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
24738
- metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
24739
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>>;
24739
24740
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
24740
- type: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
24741
24741
  contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
24742
24742
  visibility: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
24743
24743
  taskId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
24744
24744
  toolCallId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
24745
- parts: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
24745
+ parts: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>>;
24746
24746
  summary: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
24747
- mime: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
24748
- allowedAgents: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
24747
+ mime: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>>;
24748
+ allowedAgents: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>>;
24749
24749
  derivedFrom: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
24750
24750
  }, z.core.$strip>;
24751
24751
  declare const StatusComponentSchema: z.ZodObject<{
@@ -24816,7 +24816,6 @@ declare const FullAgentAgentInsertSchema: z.ZodObject<{
24816
24816
  createdAt: z.ZodOptional<z.ZodString>;
24817
24817
  updatedAt: z.ZodOptional<z.ZodString>;
24818
24818
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24819
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
24820
24819
  models: z.ZodOptional<z.ZodObject<{
24821
24820
  base: z.ZodOptional<z.ZodObject<{
24822
24821
  model: z.ZodOptional<z.ZodString>;
@@ -24840,6 +24839,7 @@ declare const FullAgentAgentInsertSchema: z.ZodObject<{
24840
24839
  }, {
24841
24840
  stepCountIs?: number | undefined;
24842
24841
  }>>>>;
24842
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
24843
24843
  type: z.ZodLiteral<"internal">;
24844
24844
  canUse: z.ZodArray<z.ZodObject<{
24845
24845
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -24883,7 +24883,6 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
24883
24883
  createdAt: z.ZodOptional<z.ZodString>;
24884
24884
  updatedAt: z.ZodOptional<z.ZodString>;
24885
24885
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24886
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
24887
24886
  models: z.ZodOptional<z.ZodObject<{
24888
24887
  base: z.ZodOptional<z.ZodObject<{
24889
24888
  model: z.ZodOptional<z.ZodString>;
@@ -24907,6 +24906,7 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
24907
24906
  }, {
24908
24907
  stepCountIs?: number | undefined;
24909
24908
  }>>>>;
24909
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
24910
24910
  type: z.ZodLiteral<"internal">;
24911
24911
  canUse: z.ZodArray<z.ZodObject<{
24912
24912
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -25019,12 +25019,12 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
25019
25019
  updatedAt: z.ZodOptional<z.ZodString>;
25020
25020
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25021
25021
  enabled: z.ZodOptional<z.ZodBoolean>;
25022
- inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
25023
- outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
25022
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
25023
+ outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
25024
25024
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25025
- authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
25025
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
25026
25026
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25027
- signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
25027
+ signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
25028
25028
  id: z.ZodOptional<z.ZodString>;
25029
25029
  }, z.core.$strip>>>;
25030
25030
  scheduledTriggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -25037,7 +25037,7 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
25037
25037
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25038
25038
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25039
25039
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25040
- payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
25040
+ payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
25041
25041
  maxRetries: z.ZodOptional<z.ZodNumber>;
25042
25042
  retryDelaySeconds: z.ZodOptional<z.ZodNumber>;
25043
25043
  timeoutSeconds: z.ZodOptional<z.ZodNumber>;
@@ -25145,7 +25145,6 @@ declare const ProjectInsertSchema: z.ZodObject<{
25145
25145
  id: z.ZodString;
25146
25146
  name: z.ZodString;
25147
25147
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25148
- tenantId: z.ZodString;
25149
25148
  models: z.ZodObject<{
25150
25149
  base: z.ZodObject<{
25151
25150
  model: z.ZodOptional<z.ZodString>;
@@ -25164,6 +25163,7 @@ declare const ProjectInsertSchema: z.ZodObject<{
25164
25163
  transferCountIs: z.ZodOptional<z.ZodNumber>;
25165
25164
  stepCountIs: z.ZodOptional<z.ZodNumber>;
25166
25165
  }, z.core.$strip>>;
25166
+ tenantId: z.ZodString;
25167
25167
  }, {
25168
25168
  out: {};
25169
25169
  in: {};
@@ -25308,7 +25308,6 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25308
25308
  createdAt: z.ZodOptional<z.ZodString>;
25309
25309
  updatedAt: z.ZodOptional<z.ZodString>;
25310
25310
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25311
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
25312
25311
  models: z.ZodOptional<z.ZodObject<{
25313
25312
  base: z.ZodOptional<z.ZodObject<{
25314
25313
  model: z.ZodOptional<z.ZodString>;
@@ -25332,6 +25331,7 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25332
25331
  }, {
25333
25332
  stepCountIs?: number | undefined;
25334
25333
  }>>>>;
25334
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
25335
25335
  type: z.ZodLiteral<"internal">;
25336
25336
  canUse: z.ZodArray<z.ZodObject<{
25337
25337
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -25444,12 +25444,12 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25444
25444
  updatedAt: z.ZodOptional<z.ZodString>;
25445
25445
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25446
25446
  enabled: z.ZodOptional<z.ZodBoolean>;
25447
- inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
25448
- outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
25447
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
25448
+ outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
25449
25449
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25450
- authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
25450
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
25451
25451
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25452
- signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
25452
+ signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
25453
25453
  id: z.ZodOptional<z.ZodString>;
25454
25454
  }, z.core.$strip>>>;
25455
25455
  scheduledTriggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -25462,7 +25462,7 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25462
25462
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25463
25463
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25464
25464
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25465
- payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
25465
+ payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
25466
25466
  maxRetries: z.ZodOptional<z.ZodNumber>;
25467
25467
  retryDelaySeconds: z.ZodOptional<z.ZodNumber>;
25468
25468
  timeoutSeconds: z.ZodOptional<z.ZodNumber>;
@@ -25663,9 +25663,9 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25663
25663
  createdAt: z.ZodOptional<z.ZodString>;
25664
25664
  updatedAt: z.ZodOptional<z.ZodString>;
25665
25665
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25666
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25667
25666
  credentialStoreId: z.ZodString;
25668
25667
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
25668
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25669
25669
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25670
25670
  type: z.ZodEnum<{
25671
25671
  readonly memory: "memory";
@@ -25685,7 +25685,6 @@ declare const FullAgentSubAgentSelectSchema: z.ZodObject<{
25685
25685
  createdAt: z.ZodString;
25686
25686
  updatedAt: z.ZodString;
25687
25687
  description: z.ZodNullable<z.ZodString>;
25688
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
25689
25688
  models: z.ZodNullable<z.ZodType<{
25690
25689
  base?: {
25691
25690
  model?: string | undefined;
@@ -25748,6 +25747,7 @@ declare const FullAgentSubAgentSelectSchema: z.ZodObject<{
25748
25747
  }, {
25749
25748
  stepCountIs?: number | undefined;
25750
25749
  }>>>;
25750
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
25751
25751
  type: z.ZodLiteral<"internal">;
25752
25752
  canUse: z.ZodArray<z.ZodObject<{
25753
25753
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -25778,7 +25778,6 @@ declare const FullAgentSubAgentSelectSchemaWithRelationIds: z.ZodObject<{
25778
25778
  createdAt: z.ZodString;
25779
25779
  updatedAt: z.ZodString;
25780
25780
  description: z.ZodNullable<z.ZodString>;
25781
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
25782
25781
  models: z.ZodNullable<z.ZodType<{
25783
25782
  base?: {
25784
25783
  model?: string | undefined;
@@ -25841,6 +25840,7 @@ declare const FullAgentSubAgentSelectSchemaWithRelationIds: z.ZodObject<{
25841
25840
  }, {
25842
25841
  stepCountIs?: number | undefined;
25843
25842
  }>>>;
25843
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
25844
25844
  type: z.ZodLiteral<"internal">;
25845
25845
  canUse: z.ZodArray<z.ZodObject<{
25846
25846
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -25885,7 +25885,6 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
25885
25885
  createdAt: z.ZodString;
25886
25886
  updatedAt: z.ZodString;
25887
25887
  description: z.ZodNullable<z.ZodString>;
25888
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
25889
25888
  models: z.ZodNullable<z.ZodType<{
25890
25889
  base?: {
25891
25890
  model?: string | undefined;
@@ -25948,6 +25947,7 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
25948
25947
  }, {
25949
25948
  stepCountIs?: number | undefined;
25950
25949
  }>>>;
25950
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
25951
25951
  type: z.ZodLiteral<"internal">;
25952
25952
  canUse: z.ZodArray<z.ZodObject<{
25953
25953
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -26235,7 +26235,6 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
26235
26235
  createdAt: z.ZodString;
26236
26236
  updatedAt: z.ZodString;
26237
26237
  description: z.ZodNullable<z.ZodString>;
26238
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
26239
26238
  models: z.ZodNullable<z.ZodType<{
26240
26239
  base?: {
26241
26240
  model?: string | undefined;
@@ -26298,6 +26297,7 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
26298
26297
  }, {
26299
26298
  stepCountIs?: number | undefined;
26300
26299
  }>>>;
26300
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
26301
26301
  type: z.ZodLiteral<"internal">;
26302
26302
  canUse: z.ZodArray<z.ZodObject<{
26303
26303
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -26367,7 +26367,6 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26367
26367
  createdAt: z.ZodString;
26368
26368
  updatedAt: z.ZodString;
26369
26369
  description: z.ZodNullable<z.ZodString>;
26370
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
26371
26370
  models: z.ZodNullable<z.ZodType<{
26372
26371
  base?: {
26373
26372
  model?: string | undefined;
@@ -26430,6 +26429,7 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26430
26429
  }, {
26431
26430
  stepCountIs?: number | undefined;
26432
26431
  }>>>;
26432
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
26433
26433
  type: z.ZodLiteral<"internal">;
26434
26434
  canUse: z.ZodArray<z.ZodObject<{
26435
26435
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -26762,16 +26762,16 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26762
26762
  createdAt: z.ZodString;
26763
26763
  updatedAt: z.ZodString;
26764
26764
  userId: z.ZodNullable<z.ZodString>;
26765
- toolId: z.ZodNullable<z.ZodString>;
26766
26765
  credentialStoreId: z.ZodString;
26767
26766
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
26767
+ toolId: z.ZodNullable<z.ZodString>;
26768
26768
  createdBy: z.ZodNullable<z.ZodString>;
26769
26769
  type: z.ZodEnum<{
26770
26770
  readonly memory: "memory";
26771
26771
  readonly keychain: "keychain";
26772
26772
  readonly nango: "nango";
26773
26773
  }>;
26774
- tools: z.ZodOptional<z.ZodArray<drizzle_zod19.BuildSchema<"select", {
26774
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod15.BuildSchema<"select", {
26775
26775
  createdAt: drizzle_orm_pg_core822.PgColumn<{
26776
26776
  name: "created_at";
26777
26777
  tableName: "tools";
@@ -27051,7 +27051,7 @@ declare const FullProjectSelectSchema: z.ZodObject<{
27051
27051
  }, {}, {
27052
27052
  length: 256;
27053
27053
  }>;
27054
- }, drizzle_zod19.BuildRefine<{
27054
+ }, drizzle_zod15.BuildRefine<{
27055
27055
  createdAt: drizzle_orm_pg_core822.PgColumn<{
27056
27056
  name: "created_at";
27057
27057
  tableName: "tools";
@@ -27558,16 +27558,16 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27558
27558
  createdAt: z.ZodString;
27559
27559
  updatedAt: z.ZodString;
27560
27560
  userId: z.ZodNullable<z.ZodString>;
27561
- toolId: z.ZodNullable<z.ZodString>;
27562
27561
  credentialStoreId: z.ZodString;
27563
27562
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
27563
+ toolId: z.ZodNullable<z.ZodString>;
27564
27564
  createdBy: z.ZodNullable<z.ZodString>;
27565
27565
  type: z.ZodEnum<{
27566
27566
  readonly memory: "memory";
27567
27567
  readonly keychain: "keychain";
27568
27568
  readonly nango: "nango";
27569
27569
  }>;
27570
- tools: z.ZodOptional<z.ZodArray<drizzle_zod19.BuildSchema<"select", {
27570
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod15.BuildSchema<"select", {
27571
27571
  createdAt: drizzle_orm_pg_core822.PgColumn<{
27572
27572
  name: "created_at";
27573
27573
  tableName: "tools";
@@ -27847,7 +27847,7 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27847
27847
  }, {}, {
27848
27848
  length: 256;
27849
27849
  }>;
27850
- }, drizzle_zod19.BuildRefine<{
27850
+ }, drizzle_zod15.BuildRefine<{
27851
27851
  createdAt: drizzle_orm_pg_core822.PgColumn<{
27852
27852
  name: "created_at";
27853
27853
  tableName: "tools";
@@ -28281,7 +28281,6 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
28281
28281
  createdAt: z.ZodString;
28282
28282
  updatedAt: z.ZodString;
28283
28283
  description: z.ZodNullable<z.ZodString>;
28284
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
28285
28284
  models: z.ZodNullable<z.ZodType<{
28286
28285
  base?: {
28287
28286
  model?: string | undefined;
@@ -28344,6 +28343,7 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
28344
28343
  }, {
28345
28344
  stepCountIs?: number | undefined;
28346
28345
  }>>>;
28346
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
28347
28347
  type: z.ZodLiteral<"internal">;
28348
28348
  canUse: z.ZodArray<z.ZodObject<{
28349
28349
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -28648,9 +28648,9 @@ declare const ApiKeyResponse: z.ZodObject<{
28648
28648
  updatedAt: z.ZodString;
28649
28649
  expiresAt: z.ZodNullable<z.ZodString>;
28650
28650
  agentId: z.ZodString;
28651
- lastUsedAt: z.ZodNullable<z.ZodString>;
28652
28651
  publicId: z.ZodString;
28653
28652
  keyPrefix: z.ZodString;
28653
+ lastUsedAt: z.ZodNullable<z.ZodString>;
28654
28654
  }, {
28655
28655
  out: {};
28656
28656
  in: {};
@@ -28663,16 +28663,16 @@ declare const CredentialReferenceResponse: z.ZodObject<{
28663
28663
  createdAt: z.ZodString;
28664
28664
  updatedAt: z.ZodString;
28665
28665
  userId: z.ZodNullable<z.ZodString>;
28666
- toolId: z.ZodNullable<z.ZodString>;
28667
28666
  credentialStoreId: z.ZodString;
28668
28667
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
28668
+ toolId: z.ZodNullable<z.ZodString>;
28669
28669
  createdBy: z.ZodNullable<z.ZodString>;
28670
28670
  type: z.ZodEnum<{
28671
28671
  readonly memory: "memory";
28672
28672
  readonly keychain: "keychain";
28673
28673
  readonly nango: "nango";
28674
28674
  }>;
28675
- tools: z.ZodOptional<z.ZodArray<drizzle_zod19.BuildSchema<"select", {
28675
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod15.BuildSchema<"select", {
28676
28676
  createdAt: drizzle_orm_pg_core822.PgColumn<{
28677
28677
  name: "created_at";
28678
28678
  tableName: "tools";
@@ -28952,7 +28952,7 @@ declare const CredentialReferenceResponse: z.ZodObject<{
28952
28952
  }, {}, {
28953
28953
  length: 256;
28954
28954
  }>;
28955
- }, drizzle_zod19.BuildRefine<{
28955
+ }, drizzle_zod15.BuildRefine<{
28956
28956
  createdAt: drizzle_orm_pg_core822.PgColumn<{
28957
28957
  name: "created_at";
28958
28958
  tableName: "tools";
@@ -29278,7 +29278,7 @@ declare const SubAgentFunctionToolRelationResponse: z.ZodObject<{
29278
29278
  createdAt: z.ZodString;
29279
29279
  updatedAt: z.ZodString;
29280
29280
  functionToolId: z.ZodString;
29281
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
29281
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
29282
29282
  subAgentId: z.ZodString;
29283
29283
  agentId: z.ZodString;
29284
29284
  projectId: z.ZodString;
@@ -29410,9 +29410,9 @@ declare const SubAgentToolRelationResponse: z.ZodObject<{
29410
29410
  createdAt: z.ZodString;
29411
29411
  updatedAt: z.ZodString;
29412
29412
  toolId: z.ZodString;
29413
- selectedTools: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
29414
- headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
29415
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
29413
+ selectedTools: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
29414
+ headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
29415
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
29416
29416
  subAgentId: z.ZodString;
29417
29417
  agentId: z.ZodString;
29418
29418
  projectId: z.ZodString;
@@ -29425,10 +29425,10 @@ declare const TriggerResponse: z.ZodObject<{
29425
29425
  createdAt: z.ZodString;
29426
29426
  updatedAt: z.ZodString;
29427
29427
  enabled: z.ZodBoolean;
29428
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
29429
- outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
29428
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
29429
+ outputTransform: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
29430
29430
  messageTemplate: z.ZodNullable<z.ZodString>;
29431
- authentication: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
29431
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
29432
29432
  name: z.ZodString;
29433
29433
  description: z.ZodNullable<z.ZodString>;
29434
29434
  agentId: z.ZodString;
@@ -29488,8 +29488,8 @@ declare const TriggerInvocationResponse: z.ZodObject<{
29488
29488
  triggerId: z.ZodString;
29489
29489
  conversationId: z.ZodNullable<z.ZodString>;
29490
29490
  status: z.ZodString;
29491
- requestPayload: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
29492
- transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
29491
+ requestPayload: z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>;
29492
+ transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
29493
29493
  errorMessage: z.ZodNullable<z.ZodString>;
29494
29494
  createdAt: z.ZodString;
29495
29495
  agentId: z.ZodString;
@@ -29797,9 +29797,9 @@ declare const ApiKeyListResponse: z.ZodObject<{
29797
29797
  updatedAt: z.ZodString;
29798
29798
  expiresAt: z.ZodNullable<z.ZodString>;
29799
29799
  agentId: z.ZodString;
29800
- lastUsedAt: z.ZodNullable<z.ZodString>;
29801
29800
  publicId: z.ZodString;
29802
29801
  keyPrefix: z.ZodString;
29802
+ lastUsedAt: z.ZodNullable<z.ZodString>;
29803
29803
  }, {
29804
29804
  out: {};
29805
29805
  in: {};
@@ -29818,16 +29818,16 @@ declare const CredentialReferenceListResponse: z.ZodObject<{
29818
29818
  createdAt: z.ZodString;
29819
29819
  updatedAt: z.ZodString;
29820
29820
  userId: z.ZodNullable<z.ZodString>;
29821
- toolId: z.ZodNullable<z.ZodString>;
29822
29821
  credentialStoreId: z.ZodString;
29823
29822
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
29823
+ toolId: z.ZodNullable<z.ZodString>;
29824
29824
  createdBy: z.ZodNullable<z.ZodString>;
29825
29825
  type: z.ZodEnum<{
29826
29826
  readonly memory: "memory";
29827
29827
  readonly keychain: "keychain";
29828
29828
  readonly nango: "nango";
29829
29829
  }>;
29830
- tools: z.ZodOptional<z.ZodArray<drizzle_zod19.BuildSchema<"select", {
29830
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod15.BuildSchema<"select", {
29831
29831
  createdAt: drizzle_orm_pg_core822.PgColumn<{
29832
29832
  name: "created_at";
29833
29833
  tableName: "tools";
@@ -30107,7 +30107,7 @@ declare const CredentialReferenceListResponse: z.ZodObject<{
30107
30107
  }, {}, {
30108
30108
  length: 256;
30109
30109
  }>;
30110
- }, drizzle_zod19.BuildRefine<{
30110
+ }, drizzle_zod15.BuildRefine<{
30111
30111
  createdAt: drizzle_orm_pg_core822.PgColumn<{
30112
30112
  name: "created_at";
30113
30113
  tableName: "tools";
@@ -30451,7 +30451,7 @@ declare const SubAgentFunctionToolRelationListResponse: z.ZodObject<{
30451
30451
  createdAt: z.ZodString;
30452
30452
  updatedAt: z.ZodString;
30453
30453
  functionToolId: z.ZodString;
30454
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30454
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30455
30455
  subAgentId: z.ZodString;
30456
30456
  agentId: z.ZodString;
30457
30457
  projectId: z.ZodString;
@@ -30639,9 +30639,9 @@ declare const SubAgentToolRelationListResponse: z.ZodObject<{
30639
30639
  createdAt: z.ZodString;
30640
30640
  updatedAt: z.ZodString;
30641
30641
  toolId: z.ZodString;
30642
- selectedTools: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30643
- headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30644
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30642
+ selectedTools: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30643
+ headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30644
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30645
30645
  subAgentId: z.ZodString;
30646
30646
  agentId: z.ZodString;
30647
30647
  projectId: z.ZodString;
@@ -30660,10 +30660,10 @@ declare const TriggerListResponse: z.ZodObject<{
30660
30660
  createdAt: z.ZodString;
30661
30661
  updatedAt: z.ZodString;
30662
30662
  enabled: z.ZodBoolean;
30663
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30664
- outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30663
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30664
+ outputTransform: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30665
30665
  messageTemplate: z.ZodNullable<z.ZodString>;
30666
- authentication: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30666
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30667
30667
  name: z.ZodString;
30668
30668
  description: z.ZodNullable<z.ZodString>;
30669
30669
  agentId: z.ZodString;
@@ -30729,8 +30729,8 @@ declare const TriggerInvocationListResponse: z.ZodObject<{
30729
30729
  triggerId: z.ZodString;
30730
30730
  conversationId: z.ZodNullable<z.ZodString>;
30731
30731
  status: z.ZodString;
30732
- requestPayload: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
30733
- transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30732
+ requestPayload: z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>;
30733
+ transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30734
30734
  errorMessage: z.ZodNullable<z.ZodString>;
30735
30735
  createdAt: z.ZodString;
30736
30736
  agentId: z.ZodString;
@@ -30753,10 +30753,10 @@ declare const TriggerWithWebhookUrlResponse: z.ZodObject<{
30753
30753
  updatedAt: z.ZodString;
30754
30754
  description: z.ZodNullable<z.ZodString>;
30755
30755
  enabled: z.ZodBoolean;
30756
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30757
- outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30756
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30757
+ outputTransform: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30758
30758
  messageTemplate: z.ZodNullable<z.ZodString>;
30759
- authentication: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30759
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30760
30760
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30761
30761
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodObject<{
30762
30762
  algorithm: z.ZodEnum<{
@@ -30814,10 +30814,10 @@ declare const TriggerWithWebhookUrlListResponse: z.ZodObject<{
30814
30814
  updatedAt: z.ZodString;
30815
30815
  description: z.ZodNullable<z.ZodString>;
30816
30816
  enabled: z.ZodBoolean;
30817
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30818
- outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30817
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30818
+ outputTransform: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30819
30819
  messageTemplate: z.ZodNullable<z.ZodString>;
30820
- authentication: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30820
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30821
30821
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30822
30822
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodObject<{
30823
30823
  algorithm: z.ZodEnum<{
@@ -31154,7 +31154,6 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31154
31154
  createdAt: z.ZodOptional<z.ZodString>;
31155
31155
  updatedAt: z.ZodOptional<z.ZodString>;
31156
31156
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31157
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
31158
31157
  models: z.ZodOptional<z.ZodObject<{
31159
31158
  base: z.ZodOptional<z.ZodObject<{
31160
31159
  model: z.ZodOptional<z.ZodString>;
@@ -31178,6 +31177,7 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31178
31177
  }, {
31179
31178
  stepCountIs?: number | undefined;
31180
31179
  }>>>>;
31180
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
31181
31181
  type: z.ZodLiteral<"internal">;
31182
31182
  canUse: z.ZodArray<z.ZodObject<{
31183
31183
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -31290,12 +31290,12 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31290
31290
  updatedAt: z.ZodOptional<z.ZodString>;
31291
31291
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31292
31292
  enabled: z.ZodOptional<z.ZodBoolean>;
31293
- inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
31294
- outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
31293
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
31294
+ outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
31295
31295
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31296
- authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
31296
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
31297
31297
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31298
- signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
31298
+ signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
31299
31299
  id: z.ZodOptional<z.ZodString>;
31300
31300
  }, z.core.$strip>>>;
31301
31301
  scheduledTriggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -31308,7 +31308,7 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31308
31308
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31309
31309
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31310
31310
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31311
- payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
31311
+ payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
31312
31312
  maxRetries: z.ZodOptional<z.ZodNumber>;
31313
31313
  retryDelaySeconds: z.ZodOptional<z.ZodNumber>;
31314
31314
  timeoutSeconds: z.ZodOptional<z.ZodNumber>;
@@ -31509,9 +31509,9 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31509
31509
  createdAt: z.ZodOptional<z.ZodString>;
31510
31510
  updatedAt: z.ZodOptional<z.ZodString>;
31511
31511
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31512
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31513
31512
  credentialStoreId: z.ZodString;
31514
31513
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
31514
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31515
31515
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31516
31516
  type: z.ZodEnum<{
31517
31517
  readonly memory: "memory";
@@ -31565,7 +31565,6 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31565
31565
  createdAt: z.ZodString;
31566
31566
  updatedAt: z.ZodString;
31567
31567
  description: z.ZodNullable<z.ZodString>;
31568
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
31569
31568
  models: z.ZodNullable<z.ZodType<{
31570
31569
  base?: {
31571
31570
  model?: string | undefined;
@@ -31628,6 +31627,7 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31628
31627
  }, {
31629
31628
  stepCountIs?: number | undefined;
31630
31629
  }>>>;
31630
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
31631
31631
  type: z.ZodLiteral<"internal">;
31632
31632
  canUse: z.ZodArray<z.ZodObject<{
31633
31633
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -31960,16 +31960,16 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31960
31960
  createdAt: z.ZodString;
31961
31961
  updatedAt: z.ZodString;
31962
31962
  userId: z.ZodNullable<z.ZodString>;
31963
- toolId: z.ZodNullable<z.ZodString>;
31964
31963
  credentialStoreId: z.ZodString;
31965
31964
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
31965
+ toolId: z.ZodNullable<z.ZodString>;
31966
31966
  createdBy: z.ZodNullable<z.ZodString>;
31967
31967
  type: z.ZodEnum<{
31968
31968
  readonly memory: "memory";
31969
31969
  readonly keychain: "keychain";
31970
31970
  readonly nango: "nango";
31971
31971
  }>;
31972
- tools: z.ZodOptional<z.ZodArray<drizzle_zod19.BuildSchema<"select", {
31972
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod15.BuildSchema<"select", {
31973
31973
  createdAt: drizzle_orm_pg_core822.PgColumn<{
31974
31974
  name: "created_at";
31975
31975
  tableName: "tools";
@@ -32249,7 +32249,7 @@ declare const FullProjectSelectResponse: z.ZodObject<{
32249
32249
  }, {}, {
32250
32250
  length: 256;
32251
32251
  }>;
32252
- }, drizzle_zod19.BuildRefine<{
32252
+ }, drizzle_zod15.BuildRefine<{
32253
32253
  createdAt: drizzle_orm_pg_core822.PgColumn<{
32254
32254
  name: "created_at";
32255
32255
  tableName: "tools";
@@ -32758,16 +32758,16 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
32758
32758
  createdAt: z.ZodString;
32759
32759
  updatedAt: z.ZodString;
32760
32760
  userId: z.ZodNullable<z.ZodString>;
32761
- toolId: z.ZodNullable<z.ZodString>;
32762
32761
  credentialStoreId: z.ZodString;
32763
32762
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
32763
+ toolId: z.ZodNullable<z.ZodString>;
32764
32764
  createdBy: z.ZodNullable<z.ZodString>;
32765
32765
  type: z.ZodEnum<{
32766
32766
  readonly memory: "memory";
32767
32767
  readonly keychain: "keychain";
32768
32768
  readonly nango: "nango";
32769
32769
  }>;
32770
- tools: z.ZodOptional<z.ZodArray<drizzle_zod19.BuildSchema<"select", {
32770
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod15.BuildSchema<"select", {
32771
32771
  createdAt: drizzle_orm_pg_core822.PgColumn<{
32772
32772
  name: "created_at";
32773
32773
  tableName: "tools";
@@ -33047,7 +33047,7 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33047
33047
  }, {}, {
33048
33048
  length: 256;
33049
33049
  }>;
33050
- }, drizzle_zod19.BuildRefine<{
33050
+ }, drizzle_zod15.BuildRefine<{
33051
33051
  createdAt: drizzle_orm_pg_core822.PgColumn<{
33052
33052
  name: "created_at";
33053
33053
  tableName: "tools";
@@ -33481,7 +33481,6 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33481
33481
  createdAt: z.ZodString;
33482
33482
  updatedAt: z.ZodString;
33483
33483
  description: z.ZodNullable<z.ZodString>;
33484
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
33485
33484
  models: z.ZodNullable<z.ZodType<{
33486
33485
  base?: {
33487
33486
  model?: string | undefined;
@@ -33544,6 +33543,7 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33544
33543
  }, {
33545
33544
  stepCountIs?: number | undefined;
33546
33545
  }>>>;
33546
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
33547
33547
  type: z.ZodLiteral<"internal">;
33548
33548
  canUse: z.ZodArray<z.ZodObject<{
33549
33549
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -33595,7 +33595,6 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
33595
33595
  createdAt: z.ZodOptional<z.ZodString>;
33596
33596
  updatedAt: z.ZodOptional<z.ZodString>;
33597
33597
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33598
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
33599
33598
  models: z.ZodOptional<z.ZodObject<{
33600
33599
  base: z.ZodOptional<z.ZodObject<{
33601
33600
  model: z.ZodOptional<z.ZodString>;
@@ -33619,6 +33618,7 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
33619
33618
  }, {
33620
33619
  stepCountIs?: number | undefined;
33621
33620
  }>>>>;
33621
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
33622
33622
  type: z.ZodLiteral<"internal">;
33623
33623
  canUse: z.ZodArray<z.ZodObject<{
33624
33624
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -33731,12 +33731,12 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
33731
33731
  updatedAt: z.ZodOptional<z.ZodString>;
33732
33732
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33733
33733
  enabled: z.ZodOptional<z.ZodBoolean>;
33734
- inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
33735
- outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
33734
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
33735
+ outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
33736
33736
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33737
- authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
33737
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
33738
33738
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33739
- signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
33739
+ signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
33740
33740
  id: z.ZodOptional<z.ZodString>;
33741
33741
  }, z.core.$strip>>>;
33742
33742
  scheduledTriggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -33749,7 +33749,7 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
33749
33749
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33750
33750
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33751
33751
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33752
- payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
33752
+ payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
33753
33753
  maxRetries: z.ZodOptional<z.ZodNumber>;
33754
33754
  retryDelaySeconds: z.ZodOptional<z.ZodNumber>;
33755
33755
  timeoutSeconds: z.ZodOptional<z.ZodNumber>;
@@ -33810,7 +33810,6 @@ declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
33810
33810
  createdAt: z.ZodString;
33811
33811
  updatedAt: z.ZodString;
33812
33812
  description: z.ZodNullable<z.ZodString>;
33813
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
33814
33813
  models: z.ZodNullable<z.ZodType<{
33815
33814
  base?: {
33816
33815
  model?: string | undefined;
@@ -33873,6 +33872,7 @@ declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
33873
33872
  }, {
33874
33873
  stepCountIs?: number | undefined;
33875
33874
  }>>>;
33875
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
33876
33876
  type: z.ZodLiteral<"internal">;
33877
33877
  canUse: z.ZodArray<z.ZodObject<{
33878
33878
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -34179,7 +34179,7 @@ declare const SubAgentTeamAgentRelationResponse: z.ZodObject<{
34179
34179
  createdAt: z.ZodString;
34180
34180
  updatedAt: z.ZodString;
34181
34181
  targetAgentId: z.ZodString;
34182
- headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
34182
+ headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
34183
34183
  subAgentId: z.ZodString;
34184
34184
  agentId: z.ZodString;
34185
34185
  projectId: z.ZodString;
@@ -34192,7 +34192,7 @@ declare const SubAgentTeamAgentRelationListResponse: z.ZodObject<{
34192
34192
  createdAt: z.ZodString;
34193
34193
  updatedAt: z.ZodString;
34194
34194
  targetAgentId: z.ZodString;
34195
- headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
34195
+ headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
34196
34196
  subAgentId: z.ZodString;
34197
34197
  agentId: z.ZodString;
34198
34198
  projectId: z.ZodString;
@@ -34211,7 +34211,7 @@ declare const SubAgentExternalAgentRelationResponse: z.ZodObject<{
34211
34211
  createdAt: z.ZodString;
34212
34212
  updatedAt: z.ZodString;
34213
34213
  externalAgentId: z.ZodString;
34214
- headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
34214
+ headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
34215
34215
  subAgentId: z.ZodString;
34216
34216
  agentId: z.ZodString;
34217
34217
  projectId: z.ZodString;
@@ -34224,7 +34224,7 @@ declare const SubAgentExternalAgentRelationListResponse: z.ZodObject<{
34224
34224
  createdAt: z.ZodString;
34225
34225
  updatedAt: z.ZodString;
34226
34226
  externalAgentId: z.ZodString;
34227
- headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
34227
+ headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
34228
34228
  subAgentId: z.ZodString;
34229
34229
  agentId: z.ZodString;
34230
34230
  projectId: z.ZodString;
@@ -34451,7 +34451,7 @@ declare const PaginationWithRefQueryParamsSchema: z.ZodObject<{
34451
34451
  limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
34452
34452
  ref: z.ZodOptional<z.ZodString>;
34453
34453
  }, z.core.$strip>;
34454
- declare const ProjectMetadataSelectSchema: drizzle_zod19.BuildSchema<"select", {
34454
+ declare const ProjectMetadataSelectSchema: drizzle_zod15.BuildSchema<"select", {
34455
34455
  id: drizzle_orm_pg_core822.PgColumn<{
34456
34456
  name: "id";
34457
34457
  tableName: "project_metadata";
@@ -34545,7 +34545,7 @@ declare const ProjectMetadataSelectSchema: drizzle_zod19.BuildSchema<"select", {
34545
34545
  }, {}, {
34546
34546
  length: 512;
34547
34547
  }>;
34548
- }, drizzle_zod19.BuildRefine<{
34548
+ }, drizzle_zod15.BuildRefine<{
34549
34549
  id: drizzle_orm_pg_core822.PgColumn<{
34550
34550
  name: "id";
34551
34551
  tableName: "project_metadata";
@@ -34659,7 +34659,7 @@ declare const WorkAppGitHubAccountTypeSchema: z.ZodEnum<{
34659
34659
  User: "User";
34660
34660
  Organization: "Organization";
34661
34661
  }>;
34662
- declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod19.BuildSchema<"select", {
34662
+ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod15.BuildSchema<"select", {
34663
34663
  createdAt: drizzle_orm_pg_core822.PgColumn<{
34664
34664
  name: "created_at";
34665
34665
  tableName: "work_app_github_installations";
@@ -34825,7 +34825,7 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod19.BuildSchema<"
34825
34825
  }, {}, {
34826
34826
  length: 256;
34827
34827
  }>;
34828
- }, drizzle_zod19.BuildRefine<{
34828
+ }, drizzle_zod15.BuildRefine<{
34829
34829
  createdAt: drizzle_orm_pg_core822.PgColumn<{
34830
34830
  name: "created_at";
34831
34831
  tableName: "work_app_github_installations";
@@ -35040,7 +35040,7 @@ declare const WorkAppGitHubInstallationApiInsertSchema: z.ZodObject<OmitGenerate
35040
35040
  disconnected: "disconnected";
35041
35041
  }>>>;
35042
35042
  }>, z.core.$strip>;
35043
- declare const WorkAppGitHubRepositorySelectSchema: drizzle_zod19.BuildSchema<"select", {
35043
+ declare const WorkAppGitHubRepositorySelectSchema: drizzle_zod15.BuildSchema<"select", {
35044
35044
  createdAt: drizzle_orm_pg_core822.PgColumn<{
35045
35045
  name: "created_at";
35046
35046
  tableName: "work_app_github_repositories";
@@ -35185,7 +35185,7 @@ declare const WorkAppGitHubRepositorySelectSchema: drizzle_zod19.BuildSchema<"se
35185
35185
  identity: undefined;
35186
35186
  generated: undefined;
35187
35187
  }, {}, {}>;
35188
- }, drizzle_zod19.BuildRefine<{
35188
+ }, drizzle_zod15.BuildRefine<{
35189
35189
  createdAt: drizzle_orm_pg_core822.PgColumn<{
35190
35190
  name: "created_at";
35191
35191
  tableName: "work_app_github_repositories";
@@ -35351,7 +35351,7 @@ declare const WorkAppGitHubRepositoryApiInsertSchema: z.ZodObject<OmitGeneratedF
35351
35351
  repositoryFullName: z.ZodString;
35352
35352
  private: z.ZodOptional<z.ZodBoolean>;
35353
35353
  }>>, z.core.$strip>;
35354
- declare const WorkAppGitHubProjectRepositoryAccessSelectSchema: drizzle_zod19.BuildSchema<"select", {
35354
+ declare const WorkAppGitHubProjectRepositoryAccessSelectSchema: drizzle_zod15.BuildSchema<"select", {
35355
35355
  createdAt: drizzle_orm_pg_core822.PgColumn<{
35356
35356
  name: "created_at";
35357
35357
  tableName: "work_app_github_project_repository_access";
@@ -35462,7 +35462,7 @@ declare const WorkAppGitHubProjectRepositoryAccessSelectSchema: drizzle_zod19.Bu
35462
35462
  }, {}, {
35463
35463
  length: 256;
35464
35464
  }>;
35465
- }, drizzle_zod19.BuildRefine<{
35465
+ }, drizzle_zod15.BuildRefine<{
35466
35466
  createdAt: drizzle_orm_pg_core822.PgColumn<{
35467
35467
  name: "created_at";
35468
35468
  tableName: "work_app_github_project_repository_access";
@@ -35574,7 +35574,7 @@ declare const WorkAppGitHubProjectRepositoryAccessSelectSchema: drizzle_zod19.Bu
35574
35574
  length: 256;
35575
35575
  }>;
35576
35576
  }, undefined>, undefined>;
35577
- declare const WorkAppGitHubMcpToolRepositoryAccessSelectSchema: drizzle_zod19.BuildSchema<"select", {
35577
+ declare const WorkAppGitHubMcpToolRepositoryAccessSelectSchema: drizzle_zod15.BuildSchema<"select", {
35578
35578
  createdAt: drizzle_orm_pg_core822.PgColumn<{
35579
35579
  name: "created_at";
35580
35580
  tableName: "work_app_github_mcp_tool_repository_access";
@@ -35704,7 +35704,7 @@ declare const WorkAppGitHubMcpToolRepositoryAccessSelectSchema: drizzle_zod19.Bu
35704
35704
  }, {}, {
35705
35705
  length: 256;
35706
35706
  }>;
35707
- }, drizzle_zod19.BuildRefine<{
35707
+ }, drizzle_zod15.BuildRefine<{
35708
35708
  createdAt: drizzle_orm_pg_core822.PgColumn<{
35709
35709
  name: "created_at";
35710
35710
  tableName: "work_app_github_mcp_tool_repository_access";
@@ -35858,7 +35858,7 @@ declare const WorkAppGitHubAccessGetResponseSchema: z.ZodObject<{
35858
35858
  all: "all";
35859
35859
  selected: "selected";
35860
35860
  }>;
35861
- repositories: z.ZodArray<drizzle_zod19.BuildSchema<"select", {
35861
+ repositories: z.ZodArray<drizzle_zod15.BuildSchema<"select", {
35862
35862
  createdAt: drizzle_orm_pg_core822.PgColumn<{
35863
35863
  name: "created_at";
35864
35864
  tableName: "work_app_github_repositories";
@@ -36003,7 +36003,7 @@ declare const WorkAppGitHubAccessGetResponseSchema: z.ZodObject<{
36003
36003
  identity: undefined;
36004
36004
  generated: undefined;
36005
36005
  }, {}, {}>;
36006
- }, drizzle_zod19.BuildRefine<{
36006
+ }, drizzle_zod15.BuildRefine<{
36007
36007
  createdAt: drizzle_orm_pg_core822.PgColumn<{
36008
36008
  name: "created_at";
36009
36009
  tableName: "work_app_github_repositories";