@inkeep/agents-core 0.0.0-dev-20260302213646 → 0.0.0-dev-20260302234522

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_core0 from "drizzle-orm/pg-core";
7
- import * as drizzle_zod3 from "drizzle-zod";
7
+ import * as drizzle_zod0 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_zod3.BuildSchema<"select", {
133
+ declare const SubAgentSelectSchema: drizzle_zod0.BuildSchema<"select", {
134
134
  createdAt: drizzle_orm_pg_core0.PgColumn<{
135
135
  name: "created_at";
136
136
  tableName: "sub_agents";
@@ -381,7 +381,7 @@ declare const SubAgentSelectSchema: drizzle_zod3.BuildSchema<"select", {
381
381
  }, {}, {
382
382
  length: 256;
383
383
  }>;
384
- }, drizzle_zod3.BuildRefine<{
384
+ }, drizzle_zod0.BuildRefine<{
385
385
  createdAt: drizzle_orm_pg_core0.PgColumn<{
386
386
  name: "created_at";
387
387
  tableName: "sub_agents";
@@ -819,11 +819,11 @@ declare const SubAgentApiInsertSchema: z.ZodObject<OmitAgentScope<{
819
819
  }, z.core.$strip>>;
820
820
  }>, z.core.$strip>;
821
821
  declare const SubAgentApiUpdateSchema: z.ZodObject<{
822
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
822
823
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
823
824
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
824
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
825
- prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
826
- conversationHistoryConfig: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>>>;
825
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
826
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
827
827
  models: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodObject<{
828
828
  base: z.ZodOptional<z.ZodObject<{
829
829
  model: z.ZodOptional<z.ZodString>;
@@ -847,10 +847,10 @@ declare const SubAgentApiUpdateSchema: z.ZodObject<{
847
847
  }, {
848
848
  stepCountIs?: number | undefined;
849
849
  }>>>>>>;
850
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
851
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
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_zod3.BuildSchema<"select", {
853
+ declare const SubAgentRelationSelectSchema: drizzle_zod0.BuildSchema<"select", {
854
854
  createdAt: drizzle_orm_pg_core0.PgColumn<{
855
855
  name: "created_at";
856
856
  tableName: "sub_agent_relations";
@@ -1018,7 +1018,7 @@ declare const SubAgentRelationSelectSchema: drizzle_zod3.BuildSchema<"select", {
1018
1018
  }, {}, {
1019
1019
  length: 256;
1020
1020
  }>;
1021
- }, drizzle_zod3.BuildRefine<{
1021
+ }, drizzle_zod0.BuildRefine<{
1022
1022
  createdAt: drizzle_orm_pg_core0.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_zod3.BuildSchema<"select", {
1292
+ declare const AgentSelectSchema: drizzle_zod0.BuildSchema<"select", {
1293
1293
  createdAt: drizzle_orm_pg_core0.PgColumn<{
1294
1294
  name: "created_at";
1295
1295
  tableName: "agent";
@@ -1587,7 +1587,7 @@ declare const AgentSelectSchema: drizzle_zod3.BuildSchema<"select", {
1587
1587
  }, {}, {
1588
1588
  length: 256;
1589
1589
  }>;
1590
- }, drizzle_zod3.BuildRefine<{
1590
+ }, drizzle_zod0.BuildRefine<{
1591
1591
  createdAt: drizzle_orm_pg_core0.PgColumn<{
1592
1592
  name: "created_at";
1593
1593
  tableName: "agent";
@@ -1886,7 +1886,7 @@ declare const AgentSelectSchema: drizzle_zod3.BuildSchema<"select", {
1886
1886
  length: 256;
1887
1887
  }>;
1888
1888
  }, undefined>, undefined>;
1889
- declare const AgentInsertSchema: drizzle_zod3.BuildSchema<"insert", {
1889
+ declare const AgentInsertSchema: drizzle_zod0.BuildSchema<"insert", {
1890
1890
  createdAt: drizzle_orm_pg_core0.PgColumn<{
1891
1891
  name: "created_at";
1892
1892
  tableName: "agent";
@@ -2184,7 +2184,7 @@ declare const AgentInsertSchema: drizzle_zod3.BuildSchema<"insert", {
2184
2184
  }, {}, {
2185
2185
  length: 256;
2186
2186
  }>;
2187
- }, drizzle_zod3.BuildRefine<Pick<{
2187
+ }, drizzle_zod0.BuildRefine<Pick<{
2188
2188
  createdAt: drizzle_orm_pg_core0.PgColumn<{
2189
2189
  name: "created_at";
2190
2190
  tableName: "agent";
@@ -2482,7 +2482,7 @@ declare const AgentInsertSchema: drizzle_zod3.BuildSchema<"insert", {
2482
2482
  }, {}, {
2483
2483
  length: 256;
2484
2484
  }>;
2485
- }, "id" | "name" | "description" | "defaultSubAgentId" | "tenantId" | "projectId" | "prompt" | "models" | "stopWhen" | "createdAt" | "updatedAt" | "contextConfigId" | "statusUpdates">, undefined>, undefined>;
2485
+ }, "description" | "tenantId" | "projectId" | "id" | "name" | "createdAt" | "updatedAt" | "models" | "stopWhen" | "prompt" | "defaultSubAgentId" | "contextConfigId" | "statusUpdates">, 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>>;
@@ -2749,10 +2749,10 @@ declare const AgentApiSelectSchema: z.ZodObject<OmitProjectScope<{
2749
2749
  id: z.ZodString;
2750
2750
  }>, z.core.$strip>;
2751
2751
  declare const AgentApiInsertSchema: z.ZodObject<{
2752
- name: z.ZodString;
2753
2752
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2754
- defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2755
- prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2753
+ name: z.ZodString;
2754
+ createdAt: z.ZodOptional<z.ZodString>;
2755
+ updatedAt: z.ZodOptional<z.ZodString>;
2756
2756
  models: z.ZodOptional<z.ZodNullable<z.ZodType<{
2757
2757
  base?: {
2758
2758
  model?: string | undefined;
@@ -2815,8 +2815,8 @@ declare const AgentApiInsertSchema: z.ZodObject<{
2815
2815
  }, {
2816
2816
  transferCountIs?: number | undefined;
2817
2817
  }>>>>;
2818
- createdAt: z.ZodOptional<z.ZodString>;
2819
- updatedAt: z.ZodOptional<z.ZodString>;
2818
+ prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2819
+ defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2820
2820
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2821
2821
  statusUpdates: z.ZodOptional<z.ZodNullable<z.ZodType<{
2822
2822
  enabled?: boolean | undefined;
@@ -2878,11 +2878,11 @@ declare const AgentApiInsertSchema: z.ZodObject<{
2878
2878
  id: z.ZodString;
2879
2879
  }, z.core.$strip>;
2880
2880
  declare const AgentApiUpdateSchema: z.ZodObject<{
2881
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2881
2882
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2882
2883
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2883
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2884
- defaultSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2885
- prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2884
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2885
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2886
2886
  models: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
2887
2887
  base?: {
2888
2888
  model?: string | undefined;
@@ -2945,8 +2945,8 @@ declare const AgentApiUpdateSchema: z.ZodObject<{
2945
2945
  }, {
2946
2946
  transferCountIs?: number | undefined;
2947
2947
  }>>>>>>;
2948
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2949
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2948
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2949
+ defaultSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2950
2950
  contextConfigId: 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;
@@ -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_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
3285
- outputTransform: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
3284
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
3285
+ outputTransform: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
3286
3286
  messageTemplate: z.ZodNullable<z.ZodString>;
3287
- authentication: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
3287
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.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_zod3.BuildSchema<"insert", {
3344
+ declare const TriggerInsertSchema: drizzle_zod0.BuildSchema<"insert", {
3345
3345
  createdAt: drizzle_orm_pg_core0.PgColumn<{
3346
3346
  name: "created_at";
3347
3347
  tableName: "triggers";
@@ -3673,7 +3673,7 @@ declare const TriggerInsertSchema: drizzle_zod3.BuildSchema<"insert", {
3673
3673
  }, {}, {
3674
3674
  length: 256;
3675
3675
  }>;
3676
- }, drizzle_zod3.BuildRefine<Pick<{
3676
+ }, drizzle_zod0.BuildRefine<Pick<{
3677
3677
  createdAt: drizzle_orm_pg_core0.PgColumn<{
3678
3678
  name: "created_at";
3679
3679
  tableName: "triggers";
@@ -4005,16 +4005,16 @@ declare const TriggerInsertSchema: drizzle_zod3.BuildSchema<"insert", {
4005
4005
  }, {}, {
4006
4006
  length: 256;
4007
4007
  }>;
4008
- }, "id" | "name" | "description" | "tenantId" | "projectId" | "agentId" | "createdAt" | "updatedAt" | "enabled" | "inputSchema" | "outputTransform" | "messageTemplate" | "authentication" | "signingSecretCredentialReferenceId" | "signatureVerification">, undefined>, undefined>;
4008
+ }, "description" | "tenantId" | "agentId" | "projectId" | "id" | "name" | "createdAt" | "updatedAt" | "inputSchema" | "enabled" | "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_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>>;
4013
- outputTransform: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>>;
4012
+ inputSchema: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>>;
4013
+ outputTransform: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>>;
4014
4014
  messageTemplate: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4015
- authentication: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>>;
4015
+ authentication: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>>;
4016
4016
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4017
- signatureVerification: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>>;
4017
+ signatureVerification: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.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_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
4034
- outputTransform: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
4033
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
4034
+ outputTransform: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
4035
4035
  messageTemplate: z.ZodNullable<z.ZodString>;
4036
- authentication: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
4036
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
4037
4037
  name: z.ZodString;
4038
4038
  description: z.ZodNullable<z.ZodString>;
4039
4039
  agentId: z.ZodString;
@@ -4088,28 +4088,28 @@ declare const TriggerApiSelectSchema: z.ZodObject<OmitAgentScope<{
4088
4088
  }, z.core.$strip>>>;
4089
4089
  }>, z.core.$strip>;
4090
4090
  declare const TriggerApiInsertSchema: z.ZodObject<{
4091
- name: z.ZodString;
4092
4091
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4092
+ name: z.ZodString;
4093
4093
  createdAt: z.ZodOptional<z.ZodString>;
4094
4094
  updatedAt: z.ZodOptional<z.ZodString>;
4095
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
4095
4096
  enabled: z.ZodOptional<z.ZodBoolean>;
4096
- inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
4097
- outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
4097
+ outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
4098
4098
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4099
- authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
4099
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
4100
4100
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4101
- signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
4101
+ signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.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_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>>;
4108
- outputTransform: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>>;
4107
+ inputSchema: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>>;
4108
+ outputTransform: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>>;
4109
4109
  messageTemplate: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4110
- authentication: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>>;
4110
+ authentication: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>>;
4111
4111
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4112
- signatureVerification: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>>;
4112
+ signatureVerification: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.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>;
@@ -4122,16 +4122,16 @@ declare const TriggerApiUpdateSchema: z.ZodObject<{
4122
4122
  in: {};
4123
4123
  }>;
4124
4124
  declare const TriggerWithWebhookUrlSchema: z.ZodObject<{
4125
+ description: z.ZodNullable<z.ZodString>;
4125
4126
  id: z.ZodString;
4126
4127
  name: z.ZodString;
4127
- description: z.ZodNullable<z.ZodString>;
4128
4128
  createdAt: z.ZodString;
4129
4129
  updatedAt: z.ZodString;
4130
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
4130
4131
  enabled: z.ZodBoolean;
4131
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
4132
- outputTransform: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
4132
+ outputTransform: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
4133
4133
  messageTemplate: z.ZodNullable<z.ZodString>;
4134
- authentication: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
4134
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.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_zod3.BuildSchema<"select", {
4183
+ declare const TriggerInvocationSelectSchema: drizzle_zod0.BuildSchema<"select", {
4184
4184
  triggerId: drizzle_orm_pg_core0.PgColumn<{
4185
4185
  name: "trigger_id";
4186
4186
  tableName: "trigger_invocations";
@@ -4382,7 +4382,7 @@ declare const TriggerInvocationSelectSchema: drizzle_zod3.BuildSchema<"select",
4382
4382
  }, {}, {
4383
4383
  length: 256;
4384
4384
  }>;
4385
- }, drizzle_zod3.BuildRefine<{
4385
+ }, drizzle_zod0.BuildRefine<{
4386
4386
  triggerId: drizzle_orm_pg_core0.PgColumn<{
4387
4387
  name: "trigger_id";
4388
4388
  tableName: "trigger_invocations";
@@ -4585,7 +4585,7 @@ declare const TriggerInvocationSelectSchema: drizzle_zod3.BuildSchema<"select",
4585
4585
  length: 256;
4586
4586
  }>;
4587
4587
  }, undefined>, undefined>;
4588
- declare const TriggerInvocationInsertSchema: drizzle_zod3.BuildSchema<"insert", {
4588
+ declare const TriggerInvocationInsertSchema: drizzle_zod0.BuildSchema<"insert", {
4589
4589
  triggerId: drizzle_orm_pg_core0.PgColumn<{
4590
4590
  name: "trigger_id";
4591
4591
  tableName: "trigger_invocations";
@@ -4787,7 +4787,7 @@ declare const TriggerInvocationInsertSchema: drizzle_zod3.BuildSchema<"insert",
4787
4787
  }, {}, {
4788
4788
  length: 256;
4789
4789
  }>;
4790
- }, drizzle_zod3.BuildRefine<Pick<{
4790
+ }, drizzle_zod0.BuildRefine<Pick<{
4791
4791
  triggerId: drizzle_orm_pg_core0.PgColumn<{
4792
4792
  name: "trigger_id";
4793
4793
  tableName: "trigger_invocations";
@@ -4989,13 +4989,13 @@ declare const TriggerInvocationInsertSchema: drizzle_zod3.BuildSchema<"insert",
4989
4989
  }, {}, {
4990
4990
  length: 256;
4991
4991
  }>;
4992
- }, "id" | "tenantId" | "projectId" | "agentId" | "createdAt" | "triggerId" | "conversationId" | "status" | "requestPayload" | "transformedPayload" | "errorMessage">, undefined>, undefined>;
4992
+ }, "status" | "tenantId" | "agentId" | "projectId" | "id" | "createdAt" | "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_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
4998
- transformedPayload: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>>;
4997
+ requestPayload: z.ZodOptional<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
4998
+ transformedPayload: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.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_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>;
5014
- transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
5013
+ requestPayload: z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>;
5014
+ transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
5015
5015
  errorMessage: z.ZodNullable<z.ZodString>;
5016
5016
  createdAt: z.ZodString;
5017
5017
  agentId: z.ZodString;
@@ -5020,23 +5020,23 @@ declare const TriggerInvocationApiSelectSchema: z.ZodObject<OmitAgentScope<{
5020
5020
  id: z.ZodString;
5021
5021
  }>, z.core.$strip>;
5022
5022
  declare const TriggerInvocationApiInsertSchema: z.ZodObject<{
5023
+ status: z.ZodOptional<z.ZodString>;
5023
5024
  createdAt: z.ZodOptional<z.ZodString>;
5024
5025
  triggerId: z.ZodString;
5025
5026
  conversationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5026
- status: z.ZodOptional<z.ZodString>;
5027
- requestPayload: z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>;
5028
- transformedPayload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
5027
+ requestPayload: z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>;
5028
+ transformedPayload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
5029
5029
  errorMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5030
5030
  id: z.ZodString;
5031
5031
  }, z.core.$strip>;
5032
5032
  declare const TriggerInvocationApiUpdateSchema: z.ZodObject<{
5033
+ status: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5033
5034
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5034
5035
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5035
5036
  triggerId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5036
5037
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5037
- status: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5038
- requestPayload: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
5039
- transformedPayload: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>>>;
5038
+ requestPayload: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
5039
+ transformedPayload: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.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;
@@ -5064,7 +5064,7 @@ declare const ScheduledTriggerSelectSchema: z.ZodObject<{
5064
5064
  out: {};
5065
5065
  in: {};
5066
5066
  }>;
5067
- declare const ScheduledTriggerInsertSchema: drizzle_zod3.BuildSchema<"insert", {
5067
+ declare const ScheduledTriggerInsertSchema: drizzle_zod0.BuildSchema<"insert", {
5068
5068
  createdAt: drizzle_orm_pg_core0.PgColumn<{
5069
5069
  name: "created_at";
5070
5070
  tableName: "scheduled_triggers";
@@ -5408,7 +5408,7 @@ declare const ScheduledTriggerInsertSchema: drizzle_zod3.BuildSchema<"insert", {
5408
5408
  }, {}, {
5409
5409
  length: 256;
5410
5410
  }>;
5411
- }, drizzle_zod3.BuildRefine<Pick<{
5411
+ }, drizzle_zod0.BuildRefine<Pick<{
5412
5412
  createdAt: drizzle_orm_pg_core0.PgColumn<{
5413
5413
  name: "created_at";
5414
5414
  tableName: "scheduled_triggers";
@@ -5752,14 +5752,14 @@ declare const ScheduledTriggerInsertSchema: drizzle_zod3.BuildSchema<"insert", {
5752
5752
  }, {}, {
5753
5753
  length: 256;
5754
5754
  }>;
5755
- }, "id" | "name" | "description" | "tenantId" | "projectId" | "agentId" | "createdAt" | "updatedAt" | "enabled" | "messageTemplate" | "createdBy" | "cronExpression" | "cronTimezone" | "runAt" | "payload" | "maxRetries" | "retryDelaySeconds" | "timeoutSeconds" | "runAsUserId">, undefined>, undefined>;
5755
+ }, "description" | "tenantId" | "agentId" | "projectId" | "id" | "name" | "createdAt" | "updatedAt" | "enabled" | "messageTemplate" | "createdBy" | "cronExpression" | "cronTimezone" | "runAt" | "payload" | "maxRetries" | "retryDelaySeconds" | "timeoutSeconds" | "runAsUserId">, undefined>, undefined>;
5756
5756
  declare const ScheduledTriggerUpdateSchema: z.ZodObject<{
5757
5757
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5758
5758
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5759
5759
  cronExpression: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5760
5760
  cronTimezone: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5761
5761
  runAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5762
- payload: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>>;
5762
+ payload: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>>;
5763
5763
  messageTemplate: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5764
5764
  maxRetries: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
5765
5765
  retryDelaySeconds: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
@@ -5799,8 +5799,8 @@ declare const ScheduledTriggerApiSelectSchema: z.ZodObject<OmitAgentScope<{
5799
5799
  createdBy: z.ZodNullable<z.ZodString>;
5800
5800
  }>, z.core.$strip>;
5801
5801
  declare const ScheduledTriggerApiInsertBaseSchema: z.ZodObject<{
5802
- name: z.ZodString;
5803
5802
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5803
+ name: z.ZodString;
5804
5804
  createdAt: z.ZodOptional<z.ZodString>;
5805
5805
  updatedAt: z.ZodOptional<z.ZodString>;
5806
5806
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -5809,7 +5809,7 @@ declare const ScheduledTriggerApiInsertBaseSchema: z.ZodObject<{
5809
5809
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5810
5810
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5811
5811
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5812
- payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
5812
+ payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
5813
5813
  maxRetries: z.ZodOptional<z.ZodNumber>;
5814
5814
  retryDelaySeconds: z.ZodOptional<z.ZodNumber>;
5815
5815
  timeoutSeconds: z.ZodOptional<z.ZodNumber>;
@@ -5817,8 +5817,8 @@ declare const ScheduledTriggerApiInsertBaseSchema: z.ZodObject<{
5817
5817
  id: z.ZodOptional<z.ZodString>;
5818
5818
  }, z.core.$strip>;
5819
5819
  declare const ScheduledTriggerApiInsertSchema: z.ZodObject<{
5820
- name: z.ZodString;
5821
5820
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5821
+ name: z.ZodString;
5822
5822
  createdAt: z.ZodOptional<z.ZodString>;
5823
5823
  updatedAt: z.ZodOptional<z.ZodString>;
5824
5824
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -5827,7 +5827,7 @@ declare const ScheduledTriggerApiInsertSchema: z.ZodObject<{
5827
5827
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5828
5828
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5829
5829
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5830
- payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
5830
+ payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
5831
5831
  maxRetries: z.ZodOptional<z.ZodNumber>;
5832
5832
  retryDelaySeconds: z.ZodOptional<z.ZodNumber>;
5833
5833
  timeoutSeconds: z.ZodOptional<z.ZodNumber>;
@@ -5840,7 +5840,7 @@ declare const ScheduledTriggerApiUpdateSchema: z.ZodObject<{
5840
5840
  cronExpression: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5841
5841
  cronTimezone: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5842
5842
  runAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5843
- payload: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>>;
5843
+ payload: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>>;
5844
5844
  messageTemplate: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5845
5845
  maxRetries: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
5846
5846
  retryDelaySeconds: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
@@ -5864,7 +5864,7 @@ type ScheduledTriggerUpdate = z.infer<typeof ScheduledTriggerUpdateSchema>;
5864
5864
  type ScheduledTriggerApiInsert = z.infer<typeof ScheduledTriggerApiInsertSchema>;
5865
5865
  type ScheduledTriggerApiSelect = z.infer<typeof ScheduledTriggerApiSelectSchema>;
5866
5866
  type ScheduledTriggerApiUpdate = z.infer<typeof ScheduledTriggerApiUpdateSchema>;
5867
- declare const ScheduledWorkflowSelectSchema: drizzle_zod3.BuildSchema<"select", {
5867
+ declare const ScheduledWorkflowSelectSchema: drizzle_zod0.BuildSchema<"select", {
5868
5868
  createdAt: drizzle_orm_pg_core0.PgColumn<{
5869
5869
  name: "created_at";
5870
5870
  tableName: "scheduled_workflows";
@@ -6068,7 +6068,7 @@ declare const ScheduledWorkflowSelectSchema: drizzle_zod3.BuildSchema<"select",
6068
6068
  }, {}, {
6069
6069
  length: 256;
6070
6070
  }>;
6071
- }, drizzle_zod3.BuildRefine<{
6071
+ }, drizzle_zod0.BuildRefine<{
6072
6072
  createdAt: drizzle_orm_pg_core0.PgColumn<{
6073
6073
  name: "created_at";
6074
6074
  tableName: "scheduled_workflows";
@@ -6273,7 +6273,7 @@ declare const ScheduledWorkflowSelectSchema: drizzle_zod3.BuildSchema<"select",
6273
6273
  length: 256;
6274
6274
  }>;
6275
6275
  }, undefined>, undefined>;
6276
- declare const ScheduledWorkflowInsertSchema: drizzle_zod3.BuildSchema<"insert", {
6276
+ declare const ScheduledWorkflowInsertSchema: drizzle_zod0.BuildSchema<"insert", {
6277
6277
  createdAt: drizzle_orm_pg_core0.PgColumn<{
6278
6278
  name: "created_at";
6279
6279
  tableName: "scheduled_workflows";
@@ -6477,7 +6477,7 @@ declare const ScheduledWorkflowInsertSchema: drizzle_zod3.BuildSchema<"insert",
6477
6477
  }, {}, {
6478
6478
  length: 256;
6479
6479
  }>;
6480
- }, drizzle_zod3.BuildRefine<Pick<{
6480
+ }, drizzle_zod0.BuildRefine<Pick<{
6481
6481
  createdAt: drizzle_orm_pg_core0.PgColumn<{
6482
6482
  name: "created_at";
6483
6483
  tableName: "scheduled_workflows";
@@ -6681,7 +6681,7 @@ declare const ScheduledWorkflowInsertSchema: drizzle_zod3.BuildSchema<"insert",
6681
6681
  }, {}, {
6682
6682
  length: 256;
6683
6683
  }>;
6684
- }, "id" | "name" | "description" | "tenantId" | "projectId" | "agentId" | "createdAt" | "updatedAt" | "status" | "workflowRunId" | "scheduledTriggerId">, undefined>, undefined>;
6684
+ }, "description" | "status" | "tenantId" | "agentId" | "projectId" | "id" | "name" | "createdAt" | "updatedAt" | "workflowRunId" | "scheduledTriggerId">, undefined>, undefined>;
6685
6685
  declare const ScheduledWorkflowUpdateSchema: z.ZodObject<{
6686
6686
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6687
6687
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -6712,11 +6712,11 @@ declare const ScheduledWorkflowApiSelectSchema: z.ZodObject<OmitAgentScope<{
6712
6712
  id: z.ZodString;
6713
6713
  }>, z.core.$strip>;
6714
6714
  declare const ScheduledWorkflowApiInsertSchema: z.ZodObject<{
6715
- name: z.ZodString;
6716
6715
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6716
+ status: z.ZodOptional<z.ZodString>;
6717
+ name: z.ZodString;
6717
6718
  createdAt: z.ZodOptional<z.ZodString>;
6718
6719
  updatedAt: z.ZodOptional<z.ZodString>;
6719
- status: z.ZodOptional<z.ZodString>;
6720
6720
  workflowRunId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6721
6721
  scheduledTriggerId: z.ZodString;
6722
6722
  id: z.ZodOptional<z.ZodString>;
@@ -6772,7 +6772,7 @@ declare const ScheduledTriggerInvocationSelectSchema: z.ZodObject<{
6772
6772
  out: {};
6773
6773
  in: {};
6774
6774
  }>;
6775
- declare const ScheduledTriggerInvocationInsertSchema: drizzle_zod3.BuildSchema<"insert", {
6775
+ declare const ScheduledTriggerInvocationInsertSchema: drizzle_zod0.BuildSchema<"insert", {
6776
6776
  scheduledTriggerId: drizzle_orm_pg_core0.PgColumn<{
6777
6777
  name: "scheduled_trigger_id";
6778
6778
  tableName: "scheduled_trigger_invocations";
@@ -7030,7 +7030,7 @@ declare const ScheduledTriggerInvocationInsertSchema: drizzle_zod3.BuildSchema<"
7030
7030
  }, {}, {
7031
7031
  length: 256;
7032
7032
  }>;
7033
- }, drizzle_zod3.BuildRefine<Pick<{
7033
+ }, drizzle_zod0.BuildRefine<Pick<{
7034
7034
  scheduledTriggerId: drizzle_orm_pg_core0.PgColumn<{
7035
7035
  name: "scheduled_trigger_id";
7036
7036
  tableName: "scheduled_trigger_invocations";
@@ -7288,14 +7288,14 @@ declare const ScheduledTriggerInvocationInsertSchema: drizzle_zod3.BuildSchema<"
7288
7288
  }, {}, {
7289
7289
  length: 256;
7290
7290
  }>;
7291
- }, "id" | "tenantId" | "projectId" | "agentId" | "createdAt" | "status" | "scheduledTriggerId" | "scheduledFor" | "startedAt" | "completedAt" | "resolvedPayload" | "conversationIds" | "attemptNumber" | "idempotencyKey">, undefined>, undefined>;
7291
+ }, "status" | "tenantId" | "agentId" | "projectId" | "id" | "createdAt" | "scheduledTriggerId" | "scheduledFor" | "startedAt" | "completedAt" | "resolvedPayload" | "conversationIds" | "attemptNumber" | "idempotencyKey">, undefined>, undefined>;
7292
7292
  declare const ScheduledTriggerInvocationUpdateSchema: z.ZodObject<{
7293
7293
  scheduledTriggerId: z.ZodOptional<z.ZodString>;
7294
7294
  status: z.ZodOptional<z.ZodString>;
7295
7295
  scheduledFor: z.ZodOptional<z.ZodString>;
7296
7296
  startedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
7297
7297
  completedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
7298
- resolvedPayload: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>>;
7298
+ resolvedPayload: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>>;
7299
7299
  conversationIds: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>>>;
7300
7300
  attemptNumber: z.ZodOptional<z.ZodOptional<z.ZodInt>>;
7301
7301
  idempotencyKey: z.ZodOptional<z.ZodString>;
@@ -7331,27 +7331,27 @@ declare const ScheduledTriggerInvocationApiSelectSchema: z.ZodObject<OmitAgentSc
7331
7331
  }>;
7332
7332
  }>, z.core.$strip>;
7333
7333
  declare const ScheduledTriggerInvocationApiInsertSchema: z.ZodObject<{
7334
- createdAt: z.ZodOptional<z.ZodString>;
7335
7334
  status: z.ZodString;
7335
+ createdAt: z.ZodOptional<z.ZodString>;
7336
7336
  scheduledTriggerId: z.ZodString;
7337
7337
  scheduledFor: z.ZodString;
7338
7338
  startedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7339
7339
  completedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7340
- resolvedPayload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
7340
+ resolvedPayload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
7341
7341
  conversationIds: z.ZodOptional<z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>>;
7342
7342
  attemptNumber: z.ZodOptional<z.ZodInt>;
7343
7343
  idempotencyKey: z.ZodString;
7344
7344
  id: z.ZodString;
7345
7345
  }, z.core.$strip>;
7346
7346
  declare const ScheduledTriggerInvocationApiUpdateSchema: z.ZodObject<{
7347
+ status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7347
7348
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7348
7349
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7349
- status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7350
7350
  scheduledTriggerId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7351
7351
  scheduledFor: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7352
7352
  startedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7353
7353
  completedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7354
- resolvedPayload: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>>>;
7354
+ resolvedPayload: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>>>;
7355
7355
  conversationIds: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>>>>;
7356
7356
  attemptNumber: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodInt>>>;
7357
7357
  idempotencyKey: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -7360,7 +7360,7 @@ type ScheduledTriggerInvocation = z.infer<typeof ScheduledTriggerInvocationSelec
7360
7360
  type ScheduledTriggerInvocationInsert = z.infer<typeof ScheduledTriggerInvocationInsertSchema>;
7361
7361
  type ScheduledTriggerInvocationUpdate = z.infer<typeof ScheduledTriggerInvocationUpdateSchema>;
7362
7362
  type ScheduledTriggerInvocationStatus = z.infer<typeof ScheduledTriggerInvocationStatusEnum>;
7363
- declare const TaskSelectSchema: drizzle_zod3.BuildSchema<"select", {
7363
+ declare const TaskSelectSchema: drizzle_zod0.BuildSchema<"select", {
7364
7364
  createdAt: drizzle_orm_pg_core0.PgColumn<{
7365
7365
  name: "created_at";
7366
7366
  tableName: "tasks";
@@ -7574,7 +7574,7 @@ declare const TaskSelectSchema: drizzle_zod3.BuildSchema<"select", {
7574
7574
  }, {}, {
7575
7575
  length: 256;
7576
7576
  }>;
7577
- }, drizzle_zod3.BuildRefine<{
7577
+ }, drizzle_zod0.BuildRefine<{
7578
7578
  createdAt: drizzle_orm_pg_core0.PgColumn<{
7579
7579
  name: "created_at";
7580
7580
  tableName: "tasks";
@@ -7891,14 +7891,14 @@ declare const TaskApiInsertSchema: z.ZodObject<OmitProjectScope<{
7891
7891
  }, z.core.$strip>;
7892
7892
  }>, z.core.$strip>;
7893
7893
  declare const TaskApiUpdateSchema: z.ZodObject<{
7894
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7894
+ status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7895
7895
  agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7896
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7897
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7896
7898
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7897
7899
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7898
7900
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>>>;
7899
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7900
7901
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7901
- status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7902
7902
  contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7903
7903
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
7904
7904
  type: z.ZodEnum<{
@@ -7910,7 +7910,7 @@ declare const TaskApiUpdateSchema: z.ZodObject<{
7910
7910
  hash: z.ZodString;
7911
7911
  }, z.core.$strip>>>;
7912
7912
  }, z.core.$strip>;
7913
- declare const TaskRelationSelectSchema: drizzle_zod3.BuildSchema<"select", {
7913
+ declare const TaskRelationSelectSchema: drizzle_zod0.BuildSchema<"select", {
7914
7914
  createdAt: drizzle_orm_pg_core0.PgColumn<{
7915
7915
  name: "created_at";
7916
7916
  tableName: "task_relations";
@@ -8059,7 +8059,7 @@ declare const TaskRelationSelectSchema: drizzle_zod3.BuildSchema<"select", {
8059
8059
  }, {}, {
8060
8060
  length: 256;
8061
8061
  }>;
8062
- }, drizzle_zod3.BuildRefine<{
8062
+ }, drizzle_zod0.BuildRefine<{
8063
8063
  createdAt: drizzle_orm_pg_core0.PgColumn<{
8064
8064
  name: "created_at";
8065
8065
  tableName: "task_relations";
@@ -8274,9 +8274,9 @@ declare const McpTransportConfigSchema: z.ZodObject<{
8274
8274
  sessionId: z.ZodOptional<z.ZodString>;
8275
8275
  }, z.core.$strip>;
8276
8276
  declare const ToolStatusSchema: z.ZodEnum<{
8277
- unknown: "unknown";
8278
8277
  healthy: "healthy";
8279
8278
  unhealthy: "unhealthy";
8279
+ unknown: "unknown";
8280
8280
  needs_auth: "needs_auth";
8281
8281
  unavailable: "unavailable";
8282
8282
  }>;
@@ -8285,7 +8285,7 @@ declare const McpToolDefinitionSchema: z.ZodObject<{
8285
8285
  description: z.ZodOptional<z.ZodString>;
8286
8286
  inputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
8287
8287
  }, z.core.$strip>;
8288
- declare const ToolSelectSchema: drizzle_zod3.BuildSchema<"select", {
8288
+ declare const ToolSelectSchema: drizzle_zod0.BuildSchema<"select", {
8289
8289
  createdAt: drizzle_orm_pg_core0.PgColumn<{
8290
8290
  name: "created_at";
8291
8291
  tableName: "tools";
@@ -8565,7 +8565,7 @@ declare const ToolSelectSchema: drizzle_zod3.BuildSchema<"select", {
8565
8565
  }, {}, {
8566
8566
  length: 256;
8567
8567
  }>;
8568
- }, drizzle_zod3.BuildRefine<{
8568
+ }, drizzle_zod0.BuildRefine<{
8569
8569
  createdAt: drizzle_orm_pg_core0.PgColumn<{
8570
8570
  name: "created_at";
8571
8571
  tableName: "tools";
@@ -8891,7 +8891,7 @@ declare const ToolInsertSchema: z.ZodObject<{
8891
8891
  out: {};
8892
8892
  in: {};
8893
8893
  }>;
8894
- declare const ConversationSelectSchema: drizzle_zod3.BuildSchema<"select", {
8894
+ declare const ConversationSelectSchema: drizzle_zod0.BuildSchema<"select", {
8895
8895
  createdAt: drizzle_orm_pg_core0.PgColumn<{
8896
8896
  name: "created_at";
8897
8897
  tableName: "conversations";
@@ -9120,7 +9120,7 @@ declare const ConversationSelectSchema: drizzle_zod3.BuildSchema<"select", {
9120
9120
  }, {}, {
9121
9121
  length: 256;
9122
9122
  }>;
9123
- }, drizzle_zod3.BuildRefine<{
9123
+ }, drizzle_zod0.BuildRefine<{
9124
9124
  createdAt: drizzle_orm_pg_core0.PgColumn<{
9125
9125
  name: "created_at";
9126
9126
  tableName: "conversations";
@@ -9456,14 +9456,14 @@ declare const ConversationApiInsertSchema: z.ZodObject<OmitProjectScope<{
9456
9456
  }, z.core.$strip>;
9457
9457
  }>, z.core.$strip>;
9458
9458
  declare const ConversationApiUpdateSchema: z.ZodObject<{
9459
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9460
- agentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9461
9459
  title: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9460
+ userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9461
+ agentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9462
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9462
9463
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9463
9464
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9464
- contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9465
9465
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>>>;
9466
- userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9466
+ contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9467
9467
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
9468
9468
  type: z.ZodEnum<{
9469
9469
  commit: "commit";
@@ -9476,7 +9476,7 @@ declare const ConversationApiUpdateSchema: z.ZodObject<{
9476
9476
  activeSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9477
9477
  lastContextResolution: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9478
9478
  }, z.core.$strip>;
9479
- declare const MessageSelectSchema: drizzle_zod3.BuildSchema<"select", {
9479
+ declare const MessageSelectSchema: drizzle_zod0.BuildSchema<"select", {
9480
9480
  createdAt: drizzle_orm_pg_core0.PgColumn<{
9481
9481
  name: "created_at";
9482
9482
  tableName: "messages";
@@ -9872,7 +9872,7 @@ declare const MessageSelectSchema: drizzle_zod3.BuildSchema<"select", {
9872
9872
  }, {}, {
9873
9873
  length: 256;
9874
9874
  }>;
9875
- }, drizzle_zod3.BuildRefine<{
9875
+ }, drizzle_zod0.BuildRefine<{
9876
9876
  createdAt: drizzle_orm_pg_core0.PgColumn<{
9877
9877
  name: "created_at";
9878
9878
  tableName: "messages";
@@ -10368,17 +10368,17 @@ declare const MessageApiInsertSchema: z.ZodObject<OmitProjectScope<{
10368
10368
  taskId: z.ZodOptional<z.ZodString>;
10369
10369
  }>, z.core.$strip>;
10370
10370
  declare const MessageApiUpdateSchema: z.ZodObject<{
10371
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10372
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10373
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10374
- metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>>>>;
10375
- content: z.ZodOptional<z.ZodOptional<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
10376
10371
  fromSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10377
10372
  toSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10378
10373
  fromExternalAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10379
10374
  toExternalAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10380
10375
  taskId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10381
10376
  a2aTaskId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10377
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10378
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10379
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10380
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>>>>;
10381
+ content: z.ZodOptional<z.ZodOptional<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
10382
10382
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10383
10383
  role: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10384
10384
  fromTeamAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
@@ -10388,7 +10388,7 @@ declare const MessageApiUpdateSchema: z.ZodObject<{
10388
10388
  parentMessageId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10389
10389
  a2aSessionId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10390
10390
  }, z.core.$strip>;
10391
- declare const ContextCacheSelectSchema: drizzle_zod3.BuildSchema<"select", {
10391
+ declare const ContextCacheSelectSchema: drizzle_zod0.BuildSchema<"select", {
10392
10392
  createdAt: drizzle_orm_pg_core0.PgColumn<{
10393
10393
  name: "created_at";
10394
10394
  tableName: "context_cache";
@@ -10638,7 +10638,7 @@ declare const ContextCacheSelectSchema: drizzle_zod3.BuildSchema<"select", {
10638
10638
  }, {}, {
10639
10639
  length: 256;
10640
10640
  }>;
10641
- }, drizzle_zod3.BuildRefine<{
10641
+ }, drizzle_zod0.BuildRefine<{
10642
10642
  createdAt: drizzle_orm_pg_core0.PgColumn<{
10643
10643
  name: "created_at";
10644
10644
  tableName: "context_cache";
@@ -10895,7 +10895,7 @@ declare const ContextCacheInsertSchema: z.ZodObject<{
10895
10895
  conversationId: z.ZodString;
10896
10896
  contextConfigId: z.ZodString;
10897
10897
  contextVariableKey: z.ZodString;
10898
- value: z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>;
10898
+ value: z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>;
10899
10899
  requestHash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10900
10900
  fetchedAt: z.ZodOptional<z.ZodString>;
10901
10901
  fetchSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -10921,7 +10921,7 @@ declare const ContextCacheUpdateSchema: z.ZodObject<{
10921
10921
  conversationId: z.ZodOptional<z.ZodString>;
10922
10922
  contextConfigId: z.ZodOptional<z.ZodString>;
10923
10923
  contextVariableKey: z.ZodOptional<z.ZodString>;
10924
- value: z.ZodOptional<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
10924
+ value: z.ZodOptional<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
10925
10925
  requestHash: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
10926
10926
  fetchedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10927
10927
  fetchSource: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
@@ -10964,7 +10964,7 @@ declare const ContextCacheApiSelectSchema: z.ZodObject<OmitProjectScope<{
10964
10964
  name: string;
10965
10965
  hash: string;
10966
10966
  }>>>;
10967
- value: z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>;
10967
+ value: z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>;
10968
10968
  requestHash: z.ZodNullable<z.ZodString>;
10969
10969
  fetchedAt: z.ZodString;
10970
10970
  fetchSource: z.ZodNullable<z.ZodString>;
@@ -10978,7 +10978,7 @@ declare const ContextCacheApiInsertSchema: z.ZodObject<OmitProjectScope<{
10978
10978
  conversationId: z.ZodString;
10979
10979
  contextConfigId: z.ZodString;
10980
10980
  contextVariableKey: z.ZodString;
10981
- value: z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>;
10981
+ value: z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>;
10982
10982
  requestHash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10983
10983
  fetchedAt: z.ZodOptional<z.ZodString>;
10984
10984
  fetchSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -10997,9 +10997,9 @@ declare const ContextCacheApiInsertSchema: z.ZodObject<OmitProjectScope<{
10997
10997
  }>, z.core.$strip>;
10998
10998
  declare const ContextCacheApiUpdateSchema: z.ZodObject<{
10999
10999
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11000
- value: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
11001
11000
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11002
11001
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11002
+ value: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
11003
11003
  contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11004
11004
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11005
11005
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
@@ -11016,7 +11016,7 @@ declare const ContextCacheApiUpdateSchema: z.ZodObject<{
11016
11016
  fetchedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11017
11017
  fetchSource: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
11018
11018
  }, z.core.$strip>;
11019
- declare const DatasetRunSelectSchema: drizzle_zod3.BuildSchema<"select", {
11019
+ declare const DatasetRunSelectSchema: drizzle_zod0.BuildSchema<"select", {
11020
11020
  createdAt: drizzle_orm_pg_core0.PgColumn<{
11021
11021
  name: "created_at";
11022
11022
  tableName: "dataset_run";
@@ -11159,7 +11159,7 @@ declare const DatasetRunSelectSchema: drizzle_zod3.BuildSchema<"select", {
11159
11159
  }, {}, {
11160
11160
  length: 256;
11161
11161
  }>;
11162
- }, drizzle_zod3.BuildRefine<{
11162
+ }, drizzle_zod0.BuildRefine<{
11163
11163
  createdAt: drizzle_orm_pg_core0.PgColumn<{
11164
11164
  name: "created_at";
11165
11165
  tableName: "dataset_run";
@@ -11353,7 +11353,7 @@ declare const DatasetRunApiUpdateSchema: z.ZodObject<{
11353
11353
  datasetRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
11354
11354
  evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
11355
11355
  }, z.core.$strip>;
11356
- declare const DatasetRunConversationRelationSelectSchema: drizzle_zod3.BuildSchema<"select", {
11356
+ declare const DatasetRunConversationRelationSelectSchema: drizzle_zod0.BuildSchema<"select", {
11357
11357
  createdAt: drizzle_orm_pg_core0.PgColumn<{
11358
11358
  name: "created_at";
11359
11359
  tableName: "dataset_run_conversation_relations";
@@ -11496,7 +11496,7 @@ declare const DatasetRunConversationRelationSelectSchema: drizzle_zod3.BuildSche
11496
11496
  }, {}, {
11497
11497
  length: 256;
11498
11498
  }>;
11499
- }, drizzle_zod3.BuildRefine<{
11499
+ }, drizzle_zod0.BuildRefine<{
11500
11500
  createdAt: drizzle_orm_pg_core0.PgColumn<{
11501
11501
  name: "created_at";
11502
11502
  tableName: "dataset_run_conversation_relations";
@@ -11690,7 +11690,7 @@ declare const DatasetRunConversationRelationApiUpdateSchema: z.ZodObject<{
11690
11690
  datasetRunId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11691
11691
  datasetItemId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11692
11692
  }, z.core.$strip>;
11693
- declare const EvaluationResultSelectSchema: drizzle_zod3.BuildSchema<"select", {
11693
+ declare const EvaluationResultSelectSchema: drizzle_zod0.BuildSchema<"select", {
11694
11694
  createdAt: drizzle_orm_pg_core0.PgColumn<{
11695
11695
  name: "created_at";
11696
11696
  tableName: "evaluation_result";
@@ -11852,7 +11852,7 @@ declare const EvaluationResultSelectSchema: drizzle_zod3.BuildSchema<"select", {
11852
11852
  }, {}, {
11853
11853
  length: 256;
11854
11854
  }>;
11855
- }, drizzle_zod3.BuildRefine<{
11855
+ }, drizzle_zod0.BuildRefine<{
11856
11856
  createdAt: drizzle_orm_pg_core0.PgColumn<{
11857
11857
  name: "created_at";
11858
11858
  tableName: "evaluation_result";
@@ -12070,7 +12070,7 @@ declare const EvaluationResultApiUpdateSchema: z.ZodObject<{
12070
12070
  evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12071
12071
  evaluationRunId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
12072
12072
  }, z.core.$strip>;
12073
- declare const EvaluationRunSelectSchema: drizzle_zod3.BuildSchema<"select", {
12073
+ declare const EvaluationRunSelectSchema: drizzle_zod0.BuildSchema<"select", {
12074
12074
  createdAt: drizzle_orm_pg_core0.PgColumn<{
12075
12075
  name: "created_at";
12076
12076
  tableName: "evaluation_run";
@@ -12196,7 +12196,7 @@ declare const EvaluationRunSelectSchema: drizzle_zod3.BuildSchema<"select", {
12196
12196
  }, {}, {
12197
12197
  length: 256;
12198
12198
  }>;
12199
- }, drizzle_zod3.BuildRefine<{
12199
+ }, drizzle_zod0.BuildRefine<{
12200
12200
  createdAt: drizzle_orm_pg_core0.PgColumn<{
12201
12201
  name: "created_at";
12202
12202
  tableName: "evaluation_run";
@@ -12368,7 +12368,7 @@ declare const EvaluationRunApiUpdateSchema: z.ZodObject<{
12368
12368
  evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
12369
12369
  evaluationRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
12370
12370
  }, z.core.$strip>;
12371
- declare const EvaluationRunConfigSelectSchema: drizzle_zod3.BuildSchema<"select", {
12371
+ declare const EvaluationRunConfigSelectSchema: drizzle_zod0.BuildSchema<"select", {
12372
12372
  createdAt: drizzle_orm_pg_core0.PgColumn<{
12373
12373
  name: "created_at";
12374
12374
  tableName: "evaluation_run_config";
@@ -12513,7 +12513,7 @@ declare const EvaluationRunConfigSelectSchema: drizzle_zod3.BuildSchema<"select"
12513
12513
  }, {}, {
12514
12514
  length: 256;
12515
12515
  }>;
12516
- }, drizzle_zod3.BuildRefine<{
12516
+ }, drizzle_zod0.BuildRefine<{
12517
12517
  createdAt: drizzle_orm_pg_core0.PgColumn<{
12518
12518
  name: "created_at";
12519
12519
  tableName: "evaluation_run_config";
@@ -12696,31 +12696,31 @@ declare const EvaluationRunConfigApiSelectSchema: z.ZodObject<OmitProjectScope<{
12696
12696
  id: z.ZodString;
12697
12697
  }>, z.core.$strip>;
12698
12698
  declare const EvaluationRunConfigApiInsertSchema: z.ZodObject<{
12699
- name: z.ZodString;
12700
12699
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12700
+ name: z.ZodString;
12701
12701
  createdAt: z.ZodOptional<z.ZodString>;
12702
12702
  updatedAt: z.ZodOptional<z.ZodString>;
12703
12703
  isActive: z.ZodOptional<z.ZodBoolean>;
12704
12704
  suiteConfigIds: z.ZodArray<z.ZodString>;
12705
12705
  }, z.core.$strip>;
12706
12706
  declare const EvaluationRunConfigApiUpdateSchema: z.ZodObject<{
12707
- name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12708
12707
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
12708
+ name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12709
12709
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12710
12710
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12711
12711
  isActive: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodBoolean>>>;
12712
12712
  suiteConfigIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
12713
12713
  }, z.core.$strip>;
12714
12714
  declare const EvaluationRunConfigWithSuiteConfigsApiSelectSchema: z.ZodObject<{
12715
+ description: z.ZodNullable<z.ZodString>;
12715
12716
  id: z.ZodString;
12716
12717
  name: z.ZodString;
12717
- description: z.ZodNullable<z.ZodString>;
12718
12718
  createdAt: z.ZodString;
12719
12719
  updatedAt: z.ZodString;
12720
12720
  isActive: z.ZodBoolean;
12721
12721
  suiteConfigIds: z.ZodArray<z.ZodString>;
12722
12722
  }, z.core.$strip>;
12723
- declare const EvaluationJobConfigSelectSchema: drizzle_zod3.BuildSchema<"select", {
12723
+ declare const EvaluationJobConfigSelectSchema: drizzle_zod0.BuildSchema<"select", {
12724
12724
  createdAt: drizzle_orm_pg_core0.PgColumn<{
12725
12725
  name: "created_at";
12726
12726
  tableName: "evaluation_job_config";
@@ -12845,7 +12845,7 @@ declare const EvaluationJobConfigSelectSchema: drizzle_zod3.BuildSchema<"select"
12845
12845
  }, {}, {
12846
12846
  length: 256;
12847
12847
  }>;
12848
- }, drizzle_zod3.BuildRefine<{
12848
+ }, drizzle_zod0.BuildRefine<{
12849
12849
  createdAt: drizzle_orm_pg_core0.PgColumn<{
12850
12850
  name: "created_at";
12851
12851
  tableName: "evaluation_job_config";
@@ -13152,7 +13152,7 @@ declare const EvaluationJobConfigApiUpdateSchema: z.ZodObject<{
13152
13152
  } | undefined;
13153
13153
  }>>>>>>>;
13154
13154
  }, z.core.$strip>;
13155
- declare const EvaluationSuiteConfigSelectSchema: drizzle_zod3.BuildSchema<"select", {
13155
+ declare const EvaluationSuiteConfigSelectSchema: drizzle_zod0.BuildSchema<"select", {
13156
13156
  createdAt: drizzle_orm_pg_core0.PgColumn<{
13157
13157
  name: "created_at";
13158
13158
  tableName: "evaluation_suite_config";
@@ -13280,7 +13280,7 @@ declare const EvaluationSuiteConfigSelectSchema: drizzle_zod3.BuildSchema<"selec
13280
13280
  }, {}, {
13281
13281
  length: 256;
13282
13282
  }>;
13283
- }, drizzle_zod3.BuildRefine<{
13283
+ }, drizzle_zod0.BuildRefine<{
13284
13284
  createdAt: drizzle_orm_pg_core0.PgColumn<{
13285
13285
  name: "created_at";
13286
13286
  tableName: "evaluation_suite_config";
@@ -13456,7 +13456,7 @@ declare const EvaluationSuiteConfigApiUpdateSchema: z.ZodObject<{
13456
13456
  sampleRate: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>>;
13457
13457
  evaluatorIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
13458
13458
  }, z.core.$strip>;
13459
- declare const EvaluationRunConfigEvaluationSuiteConfigRelationSelectSchema: drizzle_zod3.BuildSchema<"select", {
13459
+ declare const EvaluationRunConfigEvaluationSuiteConfigRelationSelectSchema: drizzle_zod0.BuildSchema<"select", {
13460
13460
  createdAt: drizzle_orm_pg_core0.PgColumn<{
13461
13461
  name: "created_at";
13462
13462
  tableName: "evaluation_run_config_evaluation_suite_config_relations";
@@ -13586,7 +13586,7 @@ declare const EvaluationRunConfigEvaluationSuiteConfigRelationSelectSchema: driz
13586
13586
  }, {}, {
13587
13587
  length: 256;
13588
13588
  }>;
13589
- }, drizzle_zod3.BuildRefine<{
13589
+ }, drizzle_zod0.BuildRefine<{
13590
13590
  createdAt: drizzle_orm_pg_core0.PgColumn<{
13591
13591
  name: "created_at";
13592
13592
  tableName: "evaluation_run_config_evaluation_suite_config_relations";
@@ -13762,7 +13762,7 @@ declare const EvaluationRunConfigEvaluationSuiteConfigRelationApiUpdateSchema: z
13762
13762
  evaluationRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13763
13763
  evaluationSuiteConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13764
13764
  }, z.core.$strip>;
13765
- declare const EvaluationJobConfigEvaluatorRelationSelectSchema: drizzle_zod3.BuildSchema<"select", {
13765
+ declare const EvaluationJobConfigEvaluatorRelationSelectSchema: drizzle_zod0.BuildSchema<"select", {
13766
13766
  createdAt: drizzle_orm_pg_core0.PgColumn<{
13767
13767
  name: "created_at";
13768
13768
  tableName: "evaluation_job_config_evaluator_relations";
@@ -13892,7 +13892,7 @@ declare const EvaluationJobConfigEvaluatorRelationSelectSchema: drizzle_zod3.Bui
13892
13892
  }, {}, {
13893
13893
  length: 256;
13894
13894
  }>;
13895
- }, drizzle_zod3.BuildRefine<{
13895
+ }, drizzle_zod0.BuildRefine<{
13896
13896
  createdAt: drizzle_orm_pg_core0.PgColumn<{
13897
13897
  name: "created_at";
13898
13898
  tableName: "evaluation_job_config_evaluator_relations";
@@ -14068,7 +14068,7 @@ declare const EvaluationJobConfigEvaluatorRelationApiUpdateSchema: z.ZodObject<{
14068
14068
  evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14069
14069
  evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14070
14070
  }, z.core.$strip>;
14071
- declare const EvaluationSuiteConfigEvaluatorRelationSelectSchema: drizzle_zod3.BuildSchema<"select", {
14071
+ declare const EvaluationSuiteConfigEvaluatorRelationSelectSchema: drizzle_zod0.BuildSchema<"select", {
14072
14072
  createdAt: drizzle_orm_pg_core0.PgColumn<{
14073
14073
  name: "created_at";
14074
14074
  tableName: "evaluation_suite_config_evaluator_relations";
@@ -14198,7 +14198,7 @@ declare const EvaluationSuiteConfigEvaluatorRelationSelectSchema: drizzle_zod3.B
14198
14198
  }, {}, {
14199
14199
  length: 256;
14200
14200
  }>;
14201
- }, drizzle_zod3.BuildRefine<{
14201
+ }, drizzle_zod0.BuildRefine<{
14202
14202
  createdAt: drizzle_orm_pg_core0.PgColumn<{
14203
14203
  name: "created_at";
14204
14204
  tableName: "evaluation_suite_config_evaluator_relations";
@@ -14374,7 +14374,7 @@ declare const EvaluationSuiteConfigEvaluatorRelationApiUpdateSchema: z.ZodObject
14374
14374
  evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14375
14375
  evaluationSuiteConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14376
14376
  }, z.core.$strip>;
14377
- declare const EvaluatorSelectSchema: drizzle_zod3.BuildSchema<"select", {
14377
+ declare const EvaluatorSelectSchema: drizzle_zod0.BuildSchema<"select", {
14378
14378
  createdAt: drizzle_orm_pg_core0.PgColumn<{
14379
14379
  name: "created_at";
14380
14380
  tableName: "evaluator";
@@ -14582,7 +14582,7 @@ declare const EvaluatorSelectSchema: drizzle_zod3.BuildSchema<"select", {
14582
14582
  }, {}, {
14583
14583
  length: 256;
14584
14584
  }>;
14585
- }, drizzle_zod3.BuildRefine<{
14585
+ }, drizzle_zod0.BuildRefine<{
14586
14586
  createdAt: drizzle_orm_pg_core0.PgColumn<{
14587
14587
  name: "created_at";
14588
14588
  tableName: "evaluator";
@@ -14873,9 +14873,10 @@ declare const EvaluatorApiSelectSchema: z.ZodObject<OmitProjectScope<{
14873
14873
  id: z.ZodString;
14874
14874
  }>, z.core.$strip>;
14875
14875
  declare const EvaluatorApiInsertSchema: z.ZodObject<{
14876
- name: z.ZodString;
14877
14876
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14878
- prompt: z.ZodString;
14877
+ name: z.ZodString;
14878
+ createdAt: z.ZodOptional<z.ZodString>;
14879
+ updatedAt: z.ZodOptional<z.ZodString>;
14879
14880
  model: z.ZodType<{
14880
14881
  model?: string | undefined;
14881
14882
  providerOptions?: Record<string, any> | undefined;
@@ -14889,15 +14890,15 @@ declare const EvaluatorApiInsertSchema: z.ZodObject<{
14889
14890
  model?: string | undefined;
14890
14891
  providerOptions?: Record<string, any> | undefined;
14891
14892
  }>>;
14892
- createdAt: z.ZodOptional<z.ZodString>;
14893
- updatedAt: z.ZodOptional<z.ZodString>;
14894
14893
  schema: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
14894
+ prompt: z.ZodString;
14895
14895
  passCriteria: z.ZodOptional<z.ZodNullable<z.ZodType<PassCriteria, PassCriteria, z.core.$ZodTypeInternals<PassCriteria, PassCriteria>>>>;
14896
14896
  }, z.core.$strip>;
14897
14897
  declare const EvaluatorApiUpdateSchema: z.ZodObject<{
14898
- name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14899
14898
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
14900
- prompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14899
+ name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14900
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
14901
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
14901
14902
  model: z.ZodOptional<z.ZodOptional<z.ZodType<{
14902
14903
  model?: string | undefined;
14903
14904
  providerOptions?: Record<string, any> | undefined;
@@ -14911,12 +14912,11 @@ declare const EvaluatorApiUpdateSchema: z.ZodObject<{
14911
14912
  model?: string | undefined;
14912
14913
  providerOptions?: Record<string, any> | undefined;
14913
14914
  }>>>>;
14914
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
14915
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
14916
14915
  schema: z.ZodOptional<z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
14916
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14917
14917
  passCriteria: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<PassCriteria, PassCriteria, z.core.$ZodTypeInternals<PassCriteria, PassCriteria>>>>>>;
14918
14918
  }, z.core.$strip>;
14919
- declare const DatasetSelectSchema: drizzle_zod3.BuildSchema<"select", {
14919
+ declare const DatasetSelectSchema: drizzle_zod0.BuildSchema<"select", {
14920
14920
  createdAt: drizzle_orm_pg_core0.PgColumn<{
14921
14921
  name: "created_at";
14922
14922
  tableName: "dataset";
@@ -15027,7 +15027,7 @@ declare const DatasetSelectSchema: drizzle_zod3.BuildSchema<"select", {
15027
15027
  }, {}, {
15028
15028
  length: 256;
15029
15029
  }>;
15030
- }, drizzle_zod3.BuildRefine<{
15030
+ }, drizzle_zod0.BuildRefine<{
15031
15031
  createdAt: drizzle_orm_pg_core0.PgColumn<{
15032
15032
  name: "created_at";
15033
15033
  tableName: "dataset";
@@ -15179,7 +15179,7 @@ declare const DatasetApiUpdateSchema: z.ZodObject<{
15179
15179
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
15180
15180
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
15181
15181
  }, z.core.$strip>;
15182
- declare const DatasetItemSelectSchema: drizzle_zod3.BuildSchema<"select", {
15182
+ declare const DatasetItemSelectSchema: drizzle_zod0.BuildSchema<"select", {
15183
15183
  createdAt: drizzle_orm_pg_core0.PgColumn<{
15184
15184
  name: "created_at";
15185
15185
  tableName: "dataset_item";
@@ -15367,7 +15367,7 @@ declare const DatasetItemSelectSchema: drizzle_zod3.BuildSchema<"select", {
15367
15367
  }, {}, {
15368
15368
  length: 256;
15369
15369
  }>;
15370
- }, drizzle_zod3.BuildRefine<{
15370
+ }, drizzle_zod0.BuildRefine<{
15371
15371
  createdAt: drizzle_orm_pg_core0.PgColumn<{
15372
15372
  name: "created_at";
15373
15373
  tableName: "dataset_item";
@@ -15810,8 +15810,8 @@ declare const DatasetItemApiUpdateSchema: z.ZodObject<{
15810
15810
  }>>>>>>;
15811
15811
  }, z.core.$strip>;
15812
15812
  declare const DatasetRunItemSchema: z.ZodObject<{
15813
- id: z.ZodOptional<z.ZodString>;
15814
15813
  input: z.ZodOptional<z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>>;
15814
+ id: z.ZodOptional<z.ZodString>;
15815
15815
  expectedOutput: z.ZodOptional<z.ZodNullable<z.ZodType<DatasetItemExpectedOutput, DatasetItemExpectedOutput, z.core.$ZodTypeInternals<DatasetItemExpectedOutput, DatasetItemExpectedOutput>>>>;
15816
15816
  simulationAgent: z.ZodOptional<z.ZodNullable<z.ZodType<{
15817
15817
  prompt: string;
@@ -15859,8 +15859,8 @@ declare const DatasetRunItemSchema: z.ZodObject<{
15859
15859
  declare const TriggerDatasetRunSchema: z.ZodObject<{
15860
15860
  datasetRunId: z.ZodString;
15861
15861
  items: z.ZodArray<z.ZodObject<{
15862
- id: z.ZodOptional<z.ZodString>;
15863
15862
  input: z.ZodOptional<z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>>;
15863
+ id: z.ZodOptional<z.ZodString>;
15864
15864
  expectedOutput: z.ZodOptional<z.ZodNullable<z.ZodType<DatasetItemExpectedOutput, DatasetItemExpectedOutput, z.core.$ZodTypeInternals<DatasetItemExpectedOutput, DatasetItemExpectedOutput>>>>;
15865
15865
  simulationAgent: z.ZodOptional<z.ZodNullable<z.ZodType<{
15866
15866
  prompt: string;
@@ -15938,7 +15938,7 @@ declare const TriggerEvaluationJobSchema: z.ZodObject<{
15938
15938
  }, z.core.$strip>>;
15939
15939
  }, z.core.$strip>>>;
15940
15940
  }, z.core.$strip>;
15941
- declare const DatasetRunConfigSelectSchema: drizzle_zod3.BuildSchema<"select", {
15941
+ declare const DatasetRunConfigSelectSchema: drizzle_zod0.BuildSchema<"select", {
15942
15942
  createdAt: drizzle_orm_pg_core0.PgColumn<{
15943
15943
  name: "created_at";
15944
15944
  tableName: "dataset_run_config";
@@ -16085,7 +16085,7 @@ declare const DatasetRunConfigSelectSchema: drizzle_zod3.BuildSchema<"select", {
16085
16085
  }, {}, {
16086
16086
  length: 256;
16087
16087
  }>;
16088
- }, drizzle_zod3.BuildRefine<{
16088
+ }, drizzle_zod0.BuildRefine<{
16089
16089
  createdAt: drizzle_orm_pg_core0.PgColumn<{
16090
16090
  name: "created_at";
16091
16091
  tableName: "dataset_run_config";
@@ -16270,20 +16270,20 @@ declare const DatasetRunConfigApiSelectSchema: z.ZodObject<OmitProjectScope<{
16270
16270
  id: z.ZodString;
16271
16271
  }>, z.core.$strip>;
16272
16272
  declare const DatasetRunConfigApiInsertSchema: z.ZodObject<{
16273
- name: z.ZodString;
16274
16273
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16274
+ name: z.ZodString;
16275
16275
  createdAt: z.ZodOptional<z.ZodString>;
16276
16276
  updatedAt: z.ZodOptional<z.ZodString>;
16277
16277
  datasetId: z.ZodString;
16278
16278
  }, z.core.$strip>;
16279
16279
  declare const DatasetRunConfigApiUpdateSchema: z.ZodObject<{
16280
- name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16281
16280
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
16281
+ name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16282
16282
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
16283
16283
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
16284
16284
  datasetId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16285
16285
  }, z.core.$strip>;
16286
- declare const DatasetRunConfigAgentRelationSelectSchema: drizzle_zod3.BuildSchema<"select", {
16286
+ declare const DatasetRunConfigAgentRelationSelectSchema: drizzle_zod0.BuildSchema<"select", {
16287
16287
  createdAt: drizzle_orm_pg_core0.PgColumn<{
16288
16288
  name: "created_at";
16289
16289
  tableName: "dataset_run_config_agent_relations";
@@ -16413,7 +16413,7 @@ declare const DatasetRunConfigAgentRelationSelectSchema: drizzle_zod3.BuildSchem
16413
16413
  }, {}, {
16414
16414
  length: 256;
16415
16415
  }>;
16416
- }, drizzle_zod3.BuildRefine<{
16416
+ }, drizzle_zod0.BuildRefine<{
16417
16417
  createdAt: drizzle_orm_pg_core0.PgColumn<{
16418
16418
  name: "created_at";
16419
16419
  tableName: "dataset_run_config_agent_relations";
@@ -16588,10 +16588,10 @@ declare const SkillSelectSchema: z.ZodObject<{
16588
16588
  in: {};
16589
16589
  }>;
16590
16590
  declare const SkillInsertSchema: z.ZodObject<{
16591
- name: z.ZodString;
16592
16591
  description: z.ZodString;
16593
16592
  tenantId: z.ZodString;
16594
16593
  projectId: z.ZodString;
16594
+ name: z.ZodString;
16595
16595
  metadata: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
16596
16596
  content: z.ZodString;
16597
16597
  }, {
@@ -16620,10 +16620,10 @@ declare const SkillApiSelectSchema: z.ZodObject<OmitProjectScope<{
16620
16620
  metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
16621
16621
  }>, z.core.$strip>;
16622
16622
  declare const SkillApiInsertSchema: z.ZodObject<OmitProjectScope<{
16623
- name: z.ZodString;
16624
16623
  description: z.ZodString;
16625
16624
  tenantId: z.ZodString;
16626
16625
  projectId: z.ZodString;
16626
+ name: z.ZodString;
16627
16627
  metadata: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
16628
16628
  content: z.ZodString;
16629
16629
  }>, z.core.$strip>;
@@ -16632,7 +16632,7 @@ declare const SkillApiUpdateSchema: z.ZodObject<{
16632
16632
  metadata: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>>;
16633
16633
  content: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16634
16634
  }, z.core.$strip>;
16635
- declare const DataComponentSelectSchema: drizzle_zod3.BuildSchema<"select", {
16635
+ declare const DataComponentSelectSchema: drizzle_zod0.BuildSchema<"select", {
16636
16636
  createdAt: drizzle_orm_pg_core0.PgColumn<{
16637
16637
  name: "created_at";
16638
16638
  tableName: "data_components";
@@ -16818,7 +16818,7 @@ declare const DataComponentSelectSchema: drizzle_zod3.BuildSchema<"select", {
16818
16818
  }, {}, {
16819
16819
  length: 256;
16820
16820
  }>;
16821
- }, drizzle_zod3.BuildRefine<{
16821
+ }, drizzle_zod0.BuildRefine<{
16822
16822
  createdAt: drizzle_orm_pg_core0.PgColumn<{
16823
16823
  name: "created_at";
16824
16824
  tableName: "data_components";
@@ -17166,8 +17166,6 @@ declare const DataComponentApiSelectSchema: z.ZodObject<OmitProjectScope<{
17166
17166
  }>, z.core.$strip>;
17167
17167
  declare const DataComponentApiInsertSchema: z.ZodObject<{
17168
17168
  id: z.ZodString;
17169
- createdAt: z.ZodOptional<z.ZodString>;
17170
- updatedAt: z.ZodOptional<z.ZodString>;
17171
17169
  render: z.ZodOptional<z.ZodNullable<z.ZodType<{
17172
17170
  component: string;
17173
17171
  mockData: Record<string, unknown>;
@@ -17181,6 +17179,8 @@ declare const DataComponentApiInsertSchema: z.ZodObject<{
17181
17179
  component: string;
17182
17180
  mockData: Record<string, unknown>;
17183
17181
  }>>>>;
17182
+ createdAt: z.ZodOptional<z.ZodString>;
17183
+ updatedAt: z.ZodOptional<z.ZodString>;
17184
17184
  name: z.ZodString;
17185
17185
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17186
17186
  props: z.ZodObject<{
@@ -17193,8 +17193,6 @@ declare const DataComponentApiInsertSchema: z.ZodObject<{
17193
17193
  }, z.core.$strip>;
17194
17194
  declare const DataComponentApiUpdateSchema: z.ZodObject<{
17195
17195
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
17196
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
17197
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
17198
17196
  render: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
17199
17197
  component: string;
17200
17198
  mockData: Record<string, unknown>;
@@ -17208,6 +17206,8 @@ declare const DataComponentApiUpdateSchema: z.ZodObject<{
17208
17206
  component: string;
17209
17207
  mockData: Record<string, unknown>;
17210
17208
  }>>>>>>;
17209
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
17210
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
17211
17211
  name: z.ZodString;
17212
17212
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17213
17213
  props: z.ZodObject<{
@@ -17218,7 +17218,7 @@ declare const DataComponentApiUpdateSchema: z.ZodObject<{
17218
17218
  description: z.ZodOptional<z.ZodString>;
17219
17219
  }, z.core.$loose>;
17220
17220
  }, z.core.$strip>;
17221
- declare const SubAgentDataComponentSelectSchema: drizzle_zod3.BuildSchema<"select", {
17221
+ declare const SubAgentDataComponentSelectSchema: drizzle_zod0.BuildSchema<"select", {
17222
17222
  dataComponentId: drizzle_orm_pg_core0.PgColumn<{
17223
17223
  name: "data_component_id";
17224
17224
  tableName: "sub_agent_data_components";
@@ -17350,7 +17350,7 @@ declare const SubAgentDataComponentSelectSchema: drizzle_zod3.BuildSchema<"selec
17350
17350
  }, {}, {
17351
17351
  length: 256;
17352
17352
  }>;
17353
- }, drizzle_zod3.BuildRefine<{
17353
+ }, drizzle_zod0.BuildRefine<{
17354
17354
  dataComponentId: drizzle_orm_pg_core0.PgColumn<{
17355
17355
  name: "data_component_id";
17356
17356
  tableName: "sub_agent_data_components";
@@ -17483,7 +17483,7 @@ declare const SubAgentDataComponentSelectSchema: drizzle_zod3.BuildSchema<"selec
17483
17483
  length: 256;
17484
17484
  }>;
17485
17485
  }, undefined>, undefined>;
17486
- declare const SubAgentDataComponentInsertSchema: drizzle_zod3.BuildSchema<"insert", {
17486
+ declare const SubAgentDataComponentInsertSchema: drizzle_zod0.BuildSchema<"insert", {
17487
17487
  dataComponentId: drizzle_orm_pg_core0.PgColumn<{
17488
17488
  name: "data_component_id";
17489
17489
  tableName: "sub_agent_data_components";
@@ -17615,7 +17615,7 @@ declare const SubAgentDataComponentInsertSchema: drizzle_zod3.BuildSchema<"inser
17615
17615
  }, {}, {
17616
17616
  length: 256;
17617
17617
  }>;
17618
- }, drizzle_zod3.BuildRefine<Pick<{
17618
+ }, drizzle_zod0.BuildRefine<Pick<{
17619
17619
  dataComponentId: drizzle_orm_pg_core0.PgColumn<{
17620
17620
  name: "data_component_id";
17621
17621
  tableName: "sub_agent_data_components";
@@ -17747,7 +17747,7 @@ declare const SubAgentDataComponentInsertSchema: drizzle_zod3.BuildSchema<"inser
17747
17747
  }, {}, {
17748
17748
  length: 256;
17749
17749
  }>;
17750
- }, "id" | "tenantId" | "projectId" | "agentId" | "createdAt" | "subAgentId" | "dataComponentId">, undefined>, undefined>;
17750
+ }, "tenantId" | "agentId" | "projectId" | "subAgentId" | "id" | "createdAt" | "dataComponentId">, undefined>, undefined>;
17751
17751
  declare const SubAgentDataComponentUpdateSchema: z.ZodObject<{
17752
17752
  dataComponentId: z.ZodOptional<z.ZodString>;
17753
17753
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -17778,12 +17778,12 @@ declare const SubAgentDataComponentApiInsertSchema: z.ZodObject<{
17778
17778
  in: {};
17779
17779
  }>;
17780
17780
  declare const SubAgentDataComponentApiUpdateSchema: z.ZodObject<{
17781
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
17781
17782
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
17782
17783
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
17783
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
17784
17784
  dataComponentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
17785
17785
  }, z.core.$strip>;
17786
- declare const ArtifactComponentSelectSchema: drizzle_zod3.BuildSchema<"select", {
17786
+ declare const ArtifactComponentSelectSchema: drizzle_zod0.BuildSchema<"select", {
17787
17787
  createdAt: drizzle_orm_pg_core0.PgColumn<{
17788
17788
  name: "created_at";
17789
17789
  tableName: "artifact_components";
@@ -17969,7 +17969,7 @@ declare const ArtifactComponentSelectSchema: drizzle_zod3.BuildSchema<"select",
17969
17969
  }, {}, {
17970
17970
  length: 256;
17971
17971
  }>;
17972
- }, drizzle_zod3.BuildRefine<{
17972
+ }, drizzle_zod0.BuildRefine<{
17973
17973
  createdAt: drizzle_orm_pg_core0.PgColumn<{
17974
17974
  name: "created_at";
17975
17975
  tableName: "artifact_components";
@@ -18344,11 +18344,9 @@ declare const ArtifactComponentApiInsertSchema: z.ZodObject<{
18344
18344
  in: {};
18345
18345
  }>;
18346
18346
  declare const ArtifactComponentApiUpdateSchema: z.ZodObject<{
18347
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
18347
18348
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18348
18349
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18349
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
18350
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18351
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18352
18350
  props: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
18353
18351
  [x: string]: unknown;
18354
18352
  type: "object";
@@ -18391,8 +18389,10 @@ declare const ArtifactComponentApiUpdateSchema: z.ZodObject<{
18391
18389
  component: string;
18392
18390
  mockData: Record<string, unknown>;
18393
18391
  }>>>>>>;
18392
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18393
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18394
18394
  }, z.core.$strip>;
18395
- declare const SubAgentArtifactComponentSelectSchema: drizzle_zod3.BuildSchema<"select", {
18395
+ declare const SubAgentArtifactComponentSelectSchema: drizzle_zod0.BuildSchema<"select", {
18396
18396
  artifactComponentId: drizzle_orm_pg_core0.PgColumn<{
18397
18397
  name: "artifact_component_id";
18398
18398
  tableName: "sub_agent_artifact_components";
@@ -18524,7 +18524,7 @@ declare const SubAgentArtifactComponentSelectSchema: drizzle_zod3.BuildSchema<"s
18524
18524
  }, {}, {
18525
18525
  length: 256;
18526
18526
  }>;
18527
- }, drizzle_zod3.BuildRefine<{
18527
+ }, drizzle_zod0.BuildRefine<{
18528
18528
  artifactComponentId: drizzle_orm_pg_core0.PgColumn<{
18529
18529
  name: "artifact_component_id";
18530
18530
  tableName: "sub_agent_artifact_components";
@@ -18699,9 +18699,9 @@ declare const SubAgentArtifactComponentApiInsertSchema: z.ZodObject<{
18699
18699
  in: {};
18700
18700
  }>;
18701
18701
  declare const SubAgentArtifactComponentApiUpdateSchema: z.ZodObject<{
18702
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18702
18703
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18703
18704
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18704
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18705
18705
  artifactComponentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18706
18706
  }, z.core.$strip>;
18707
18707
  declare const SubAgentSkillSelectSchema: z.ZodObject<{
@@ -18763,27 +18763,27 @@ declare const SubAgentSkillApiSelectSchema: z.ZodObject<OmitAgentScope<{
18763
18763
  }>, z.core.$strip>;
18764
18764
  declare const SubAgentSkillApiInsertSchema: z.ZodObject<{
18765
18765
  agentId: z.ZodString;
18766
- index: z.ZodInt;
18767
- alwaysLoaded: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
18768
18766
  subAgentId: z.ZodString;
18769
18767
  skillId: z.ZodString;
18768
+ index: z.ZodInt;
18769
+ alwaysLoaded: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
18770
18770
  }, {
18771
18771
  out: {};
18772
18772
  in: {};
18773
18773
  }>;
18774
18774
  declare const SubAgentSkillApiUpdateSchema: z.ZodObject<{
18775
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18775
18776
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18776
18777
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18777
18778
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18779
+ skillId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18778
18780
  index: z.ZodOptional<z.ZodOptional<z.ZodInt>>;
18779
18781
  alwaysLoaded: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>>;
18780
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18781
- skillId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18782
18782
  }, z.core.$strip>;
18783
18783
  declare const SubAgentSkillWithIndexSchema: z.ZodObject<{
18784
+ description: z.ZodString;
18784
18785
  id: z.ZodString;
18785
18786
  name: z.ZodString;
18786
- description: z.ZodString;
18787
18787
  createdAt: z.ZodString;
18788
18788
  updatedAt: z.ZodString;
18789
18789
  metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -18858,20 +18858,20 @@ declare const ExternalAgentApiInsertSchema: z.ZodObject<OmitProjectScope<{
18858
18858
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18859
18859
  }>, z.core.$strip>;
18860
18860
  declare const ExternalAgentApiUpdateSchema: z.ZodObject<{
18861
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
18861
18862
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18862
18863
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18863
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
18864
18864
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18865
18865
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18866
18866
  credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
18867
18867
  baseUrl: z.ZodOptional<z.ZodOptional<z.ZodURL>>;
18868
18868
  }, z.core.$strip>;
18869
18869
  declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
18870
+ description: z.ZodNullable<z.ZodString>;
18870
18871
  id: z.ZodString;
18871
18872
  name: z.ZodString;
18872
- description: z.ZodNullable<z.ZodString>;
18873
- prompt: z.ZodNullable<z.ZodString>;
18874
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
18873
+ createdAt: z.ZodString;
18874
+ updatedAt: z.ZodString;
18875
18875
  models: z.ZodNullable<z.ZodType<{
18876
18876
  base?: {
18877
18877
  model?: string | undefined;
@@ -18934,20 +18934,20 @@ declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
18934
18934
  }, {
18935
18935
  stepCountIs?: number | undefined;
18936
18936
  }>>>;
18937
- createdAt: z.ZodString;
18938
- updatedAt: z.ZodString;
18937
+ prompt: z.ZodNullable<z.ZodString>;
18938
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
18939
18939
  type: z.ZodLiteral<"internal">;
18940
18940
  }, z.core.$strip>, z.ZodObject<{
18941
+ description: z.ZodNullable<z.ZodString>;
18941
18942
  id: z.ZodString;
18942
18943
  name: z.ZodString;
18943
- description: z.ZodNullable<z.ZodString>;
18944
18944
  createdAt: z.ZodString;
18945
18945
  updatedAt: z.ZodString;
18946
18946
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18947
18947
  baseUrl: z.ZodString;
18948
18948
  type: z.ZodLiteral<"external">;
18949
18949
  }, z.core.$strip>], "type">;
18950
- declare const ApiKeySelectSchema: drizzle_zod3.BuildSchema<"select", {
18950
+ declare const ApiKeySelectSchema: drizzle_zod0.BuildSchema<"select", {
18951
18951
  createdAt: drizzle_orm_pg_core0.PgColumn<{
18952
18952
  name: "created_at";
18953
18953
  tableName: "api_keys";
@@ -19168,7 +19168,7 @@ declare const ApiKeySelectSchema: drizzle_zod3.BuildSchema<"select", {
19168
19168
  }, {}, {
19169
19169
  length: 256;
19170
19170
  }>;
19171
- }, drizzle_zod3.BuildRefine<{
19171
+ }, drizzle_zod0.BuildRefine<{
19172
19172
  createdAt: drizzle_orm_pg_core0.PgColumn<{
19173
19173
  name: "created_at";
19174
19174
  tableName: "api_keys";
@@ -19408,8 +19408,8 @@ declare const ApiKeyInsertSchema: z.ZodObject<{
19408
19408
  in: {};
19409
19409
  }>;
19410
19410
  declare const ApiKeyUpdateSchema: z.ZodObject<{
19411
- name: z.ZodOptional<z.ZodString>;
19412
19411
  agentId: z.ZodOptional<z.ZodString>;
19412
+ name: z.ZodOptional<z.ZodString>;
19413
19413
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19414
19414
  lastUsedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19415
19415
  expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
@@ -19418,9 +19418,9 @@ declare const ApiKeyUpdateSchema: z.ZodObject<{
19418
19418
  in: {};
19419
19419
  }>;
19420
19420
  declare const ApiKeyApiSelectSchema: z.ZodObject<{
19421
+ agentId: z.ZodString;
19421
19422
  id: z.ZodString;
19422
19423
  name: z.ZodNullable<z.ZodString>;
19423
- agentId: z.ZodString;
19424
19424
  createdAt: z.ZodString;
19425
19425
  updatedAt: z.ZodString;
19426
19426
  publicId: z.ZodString;
@@ -19434,9 +19434,9 @@ declare const ApiKeyApiSelectSchema: z.ZodObject<{
19434
19434
  declare const ApiKeyApiCreationResponseSchema: z.ZodObject<{
19435
19435
  data: z.ZodObject<{
19436
19436
  apiKey: z.ZodObject<{
19437
+ agentId: z.ZodString;
19437
19438
  id: z.ZodString;
19438
19439
  name: z.ZodNullable<z.ZodString>;
19439
- agentId: z.ZodString;
19440
19440
  createdAt: z.ZodString;
19441
19441
  updatedAt: z.ZodString;
19442
19442
  publicId: z.ZodString;
@@ -19451,8 +19451,8 @@ declare const ApiKeyApiCreationResponseSchema: z.ZodObject<{
19451
19451
  }, z.core.$strip>;
19452
19452
  }, z.core.$strip>;
19453
19453
  declare const ApiKeyApiInsertSchema: z.ZodObject<{
19454
- name: z.ZodString;
19455
19454
  agentId: z.ZodString;
19455
+ name: z.ZodString;
19456
19456
  createdAt: z.ZodOptional<z.ZodString>;
19457
19457
  updatedAt: z.ZodOptional<z.ZodString>;
19458
19458
  expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -19461,8 +19461,8 @@ declare const ApiKeyApiInsertSchema: z.ZodObject<{
19461
19461
  in: {};
19462
19462
  }>;
19463
19463
  declare const ApiKeyApiUpdateSchema: z.ZodObject<{
19464
- name: z.ZodOptional<z.ZodString>;
19465
19464
  agentId: z.ZodOptional<z.ZodString>;
19465
+ name: z.ZodOptional<z.ZodString>;
19466
19466
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19467
19467
  lastUsedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19468
19468
  expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
@@ -19470,7 +19470,7 @@ declare const ApiKeyApiUpdateSchema: z.ZodObject<{
19470
19470
  out: {};
19471
19471
  in: {};
19472
19472
  }>;
19473
- declare const CredentialReferenceSelectSchema: drizzle_zod3.BuildSchema<"select", {
19473
+ declare const CredentialReferenceSelectSchema: drizzle_zod0.BuildSchema<"select", {
19474
19474
  createdAt: drizzle_orm_pg_core0.PgColumn<{
19475
19475
  name: "created_at";
19476
19476
  tableName: "credential_references";
@@ -19695,7 +19695,7 @@ declare const CredentialReferenceSelectSchema: drizzle_zod3.BuildSchema<"select"
19695
19695
  }, {}, {
19696
19696
  length: 256;
19697
19697
  }>;
19698
- }, drizzle_zod3.BuildRefine<{
19698
+ }, drizzle_zod0.BuildRefine<{
19699
19699
  createdAt: drizzle_orm_pg_core0.PgColumn<{
19700
19700
  name: "created_at";
19701
19701
  tableName: "credential_references";
@@ -19956,21 +19956,21 @@ declare const CredentialReferenceUpdateSchema: z.ZodObject<{
19956
19956
  in: {};
19957
19957
  }>;
19958
19958
  declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
19959
+ userId: z.ZodNullable<z.ZodString>;
19959
19960
  id: z.ZodString;
19960
19961
  name: z.ZodString;
19961
19962
  createdAt: z.ZodString;
19962
19963
  updatedAt: z.ZodString;
19963
- toolId: z.ZodNullable<z.ZodString>;
19964
19964
  credentialStoreId: z.ZodString;
19965
19965
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
19966
- userId: z.ZodNullable<z.ZodString>;
19966
+ toolId: z.ZodNullable<z.ZodString>;
19967
19967
  createdBy: z.ZodNullable<z.ZodString>;
19968
19968
  type: z.ZodEnum<{
19969
19969
  readonly memory: "memory";
19970
19970
  readonly keychain: "keychain";
19971
19971
  readonly nango: "nango";
19972
19972
  }>;
19973
- tools: z.ZodOptional<z.ZodArray<drizzle_zod3.BuildSchema<"select", {
19973
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod0.BuildSchema<"select", {
19974
19974
  createdAt: drizzle_orm_pg_core0.PgColumn<{
19975
19975
  name: "created_at";
19976
19976
  tableName: "tools";
@@ -20250,7 +20250,7 @@ declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
20250
20250
  }, {}, {
20251
20251
  length: 256;
20252
20252
  }>;
20253
- }, drizzle_zod3.BuildRefine<{
20253
+ }, drizzle_zod0.BuildRefine<{
20254
20254
  createdAt: drizzle_orm_pg_core0.PgColumn<{
20255
20255
  name: "created_at";
20256
20256
  tableName: "tools";
@@ -20547,14 +20547,14 @@ declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
20547
20547
  }>>>;
20548
20548
  }, z.core.$strip>;
20549
20549
  declare const CredentialReferenceApiInsertSchema: z.ZodObject<{
20550
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20550
20551
  id: z.ZodString;
20551
20552
  name: z.ZodString;
20552
20553
  createdAt: z.ZodOptional<z.ZodString>;
20553
20554
  updatedAt: z.ZodOptional<z.ZodString>;
20554
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20555
20555
  credentialStoreId: z.ZodString;
20556
20556
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
20557
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20557
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20558
20558
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20559
20559
  type: z.ZodEnum<{
20560
20560
  readonly memory: "memory";
@@ -20563,14 +20563,14 @@ declare const CredentialReferenceApiInsertSchema: z.ZodObject<{
20563
20563
  }>;
20564
20564
  }, z.core.$strip>;
20565
20565
  declare const CredentialReferenceApiUpdateSchema: z.ZodObject<{
20566
+ userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
20566
20567
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20567
20568
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20568
20569
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
20569
20570
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
20570
- toolId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
20571
20571
  credentialStoreId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20572
20572
  retrievalParams: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>>;
20573
- userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
20573
+ toolId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
20574
20574
  createdBy: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
20575
20575
  type: z.ZodOptional<z.ZodEnum<{
20576
20576
  readonly memory: "memory";
@@ -20679,9 +20679,9 @@ declare const McpToolSchema: z.ZodObject<{
20679
20679
  inputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
20680
20680
  }, z.core.$strip>>>;
20681
20681
  status: z.ZodDefault<z.ZodEnum<{
20682
- unknown: "unknown";
20683
20682
  healthy: "healthy";
20684
20683
  unhealthy: "unhealthy";
20684
+ unknown: "unknown";
20685
20685
  needs_auth: "needs_auth";
20686
20686
  unavailable: "unavailable";
20687
20687
  }>>;
@@ -20730,14 +20730,14 @@ declare const MCPToolConfigSchema: z.ZodObject<{
20730
20730
  sessionId: z.ZodOptional<z.ZodString>;
20731
20731
  }, z.core.$strip>>;
20732
20732
  credential: z.ZodOptional<z.ZodObject<{
20733
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20733
20734
  id: z.ZodString;
20734
20735
  name: z.ZodString;
20735
20736
  createdAt: z.ZodOptional<z.ZodString>;
20736
20737
  updatedAt: z.ZodOptional<z.ZodString>;
20737
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20738
20738
  credentialStoreId: z.ZodString;
20739
20739
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
20740
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20740
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20741
20741
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20742
20742
  type: z.ZodEnum<{
20743
20743
  readonly memory: "memory";
@@ -20873,9 +20873,9 @@ declare const ToolApiInsertSchema: z.ZodObject<OmitProjectScope<{
20873
20873
  }, z.core.$strip>;
20874
20874
  }>, z.core.$strip>;
20875
20875
  declare const ToolApiUpdateSchema: z.ZodObject<{
20876
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
20876
20877
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20877
20878
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20878
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
20879
20879
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
20880
20880
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
20881
20881
  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>>>>>>>;
@@ -20912,7 +20912,7 @@ declare const ToolApiUpdateSchema: z.ZodObject<{
20912
20912
  lastError: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
20913
20913
  isWorkApp: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodBoolean>>>;
20914
20914
  }, z.core.$strip>;
20915
- declare const FunctionToolSelectSchema: drizzle_zod3.BuildSchema<"select", {
20915
+ declare const FunctionToolSelectSchema: drizzle_zod0.BuildSchema<"select", {
20916
20916
  createdAt: drizzle_orm_pg_core0.PgColumn<{
20917
20917
  name: "created_at";
20918
20918
  tableName: "function_tools";
@@ -21078,7 +21078,7 @@ declare const FunctionToolSelectSchema: drizzle_zod3.BuildSchema<"select", {
21078
21078
  }, {}, {
21079
21079
  length: 256;
21080
21080
  }>;
21081
- }, drizzle_zod3.BuildRefine<{
21081
+ }, drizzle_zod0.BuildRefine<{
21082
21082
  createdAt: drizzle_orm_pg_core0.PgColumn<{
21083
21083
  name: "created_at";
21084
21084
  tableName: "function_tools";
@@ -21274,10 +21274,10 @@ declare const FunctionToolUpdateSchema: z.ZodObject<{
21274
21274
  in: {};
21275
21275
  }>;
21276
21276
  declare const FunctionToolApiSelectSchema: z.ZodObject<{
21277
- id: z.ZodString;
21278
- name: z.ZodString;
21279
21277
  description: z.ZodNullable<z.ZodString>;
21280
21278
  agentId: z.ZodString;
21279
+ id: z.ZodString;
21280
+ name: z.ZodString;
21281
21281
  createdAt: z.ZodString;
21282
21282
  updatedAt: z.ZodString;
21283
21283
  functionId: z.ZodString;
@@ -21295,15 +21295,15 @@ declare const FunctionToolApiInsertSchema: z.ZodObject<OmitAgentScope<{
21295
21295
  id: z.ZodString;
21296
21296
  }>, z.core.$strip>;
21297
21297
  declare const FunctionToolApiUpdateSchema: z.ZodObject<{
21298
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21299
- name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21300
21298
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
21301
21299
  agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21300
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21301
+ name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21302
21302
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
21303
21303
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
21304
21304
  functionId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21305
21305
  }, z.core.$strip>;
21306
- declare const SubAgentFunctionToolRelationSelectSchema: drizzle_zod3.BuildSchema<"select", {
21306
+ declare const SubAgentFunctionToolRelationSelectSchema: drizzle_zod0.BuildSchema<"select", {
21307
21307
  createdAt: drizzle_orm_pg_core0.PgColumn<{
21308
21308
  name: "created_at";
21309
21309
  tableName: "sub_agent_function_tool_relations";
@@ -21475,7 +21475,7 @@ declare const SubAgentFunctionToolRelationSelectSchema: drizzle_zod3.BuildSchema
21475
21475
  }, {}, {
21476
21476
  length: 256;
21477
21477
  }>;
21478
- }, drizzle_zod3.BuildRefine<{
21478
+ }, drizzle_zod0.BuildRefine<{
21479
21479
  createdAt: drizzle_orm_pg_core0.PgColumn<{
21480
21480
  name: "created_at";
21481
21481
  tableName: "sub_agent_function_tool_relations";
@@ -21651,7 +21651,7 @@ declare const SubAgentFunctionToolRelationSelectSchema: drizzle_zod3.BuildSchema
21651
21651
  declare const SubAgentFunctionToolRelationInsertSchema: z.ZodObject<{
21652
21652
  createdAt: z.ZodOptional<z.ZodString>;
21653
21653
  updatedAt: z.ZodOptional<z.ZodString>;
21654
- toolPolicies: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
21654
+ toolPolicies: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
21655
21655
  agentId: z.ZodString;
21656
21656
  projectId: z.ZodString;
21657
21657
  tenantId: z.ZodString;
@@ -21666,7 +21666,7 @@ declare const SubAgentFunctionToolRelationApiSelectSchema: z.ZodObject<OmitAgent
21666
21666
  createdAt: z.ZodString;
21667
21667
  updatedAt: z.ZodString;
21668
21668
  functionToolId: z.ZodString;
21669
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
21669
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
21670
21670
  subAgentId: z.ZodString;
21671
21671
  agentId: z.ZodString;
21672
21672
  projectId: z.ZodString;
@@ -21674,14 +21674,14 @@ declare const SubAgentFunctionToolRelationApiSelectSchema: z.ZodObject<OmitAgent
21674
21674
  id: z.ZodString;
21675
21675
  }>, z.core.$strip>;
21676
21676
  declare const SubAgentFunctionToolRelationApiInsertSchema: z.ZodObject<{
21677
- toolPolicies: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
21678
21677
  subAgentId: z.ZodString;
21679
21678
  functionToolId: z.ZodString;
21679
+ toolPolicies: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
21680
21680
  }, {
21681
21681
  out: {};
21682
21682
  in: {};
21683
21683
  }>;
21684
- declare const FunctionSelectSchema: drizzle_zod3.BuildSchema<"select", {
21684
+ declare const FunctionSelectSchema: drizzle_zod0.BuildSchema<"select", {
21685
21685
  createdAt: drizzle_orm_pg_core0.PgColumn<{
21686
21686
  name: "created_at";
21687
21687
  tableName: "functions";
@@ -21828,7 +21828,7 @@ declare const FunctionSelectSchema: drizzle_zod3.BuildSchema<"select", {
21828
21828
  }, {}, {
21829
21829
  length: 256;
21830
21830
  }>;
21831
- }, drizzle_zod3.BuildRefine<{
21831
+ }, drizzle_zod0.BuildRefine<{
21832
21832
  createdAt: drizzle_orm_pg_core0.PgColumn<{
21833
21833
  name: "created_at";
21834
21834
  tableName: "functions";
@@ -22068,14 +22068,14 @@ declare const FetchDefinitionSchema: z.ZodObject<{
22068
22068
  responseSchema: z.ZodOptional<z.ZodAny>;
22069
22069
  defaultValue: z.ZodOptional<z.ZodAny>;
22070
22070
  credential: z.ZodOptional<z.ZodObject<{
22071
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22071
22072
  id: z.ZodString;
22072
22073
  name: z.ZodString;
22073
22074
  createdAt: z.ZodOptional<z.ZodString>;
22074
22075
  updatedAt: z.ZodOptional<z.ZodString>;
22075
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22076
22076
  credentialStoreId: z.ZodString;
22077
22077
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
22078
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22078
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22079
22079
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22080
22080
  type: z.ZodEnum<{
22081
22081
  readonly memory: "memory";
@@ -22098,10 +22098,10 @@ declare const ContextConfigSelectSchema: z.ZodObject<{
22098
22098
  in: {};
22099
22099
  }>;
22100
22100
  declare const ContextConfigInsertSchema: z.ZodObject<{
22101
- id: z.ZodOptional<z.ZodString>;
22102
22101
  tenantId: z.ZodString;
22103
- projectId: z.ZodString;
22104
22102
  agentId: z.ZodString;
22103
+ projectId: z.ZodString;
22104
+ id: z.ZodOptional<z.ZodString>;
22105
22105
  headersSchema: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
22106
22106
  contextVariables: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
22107
22107
  }, {
@@ -22109,10 +22109,10 @@ declare const ContextConfigInsertSchema: z.ZodObject<{
22109
22109
  in: {};
22110
22110
  }>;
22111
22111
  declare const ContextConfigUpdateSchema: z.ZodObject<{
22112
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22113
22112
  tenantId: z.ZodOptional<z.ZodString>;
22114
- projectId: z.ZodOptional<z.ZodString>;
22115
22113
  agentId: z.ZodOptional<z.ZodString>;
22114
+ projectId: z.ZodOptional<z.ZodString>;
22115
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22116
22116
  headersSchema: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>;
22117
22117
  contextVariables: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>;
22118
22118
  }, {
@@ -22136,7 +22136,7 @@ declare const ContextConfigApiUpdateSchema: z.ZodObject<{
22136
22136
  headersSchema: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>>;
22137
22137
  contextVariables: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>>;
22138
22138
  }, z.core.$strip>;
22139
- declare const SubAgentToolRelationSelectSchema: drizzle_zod3.BuildSchema<"select", {
22139
+ declare const SubAgentToolRelationSelectSchema: drizzle_zod0.BuildSchema<"select", {
22140
22140
  createdAt: drizzle_orm_pg_core0.PgColumn<{
22141
22141
  name: "created_at";
22142
22142
  tableName: "sub_agent_tool_relations";
@@ -22346,7 +22346,7 @@ declare const SubAgentToolRelationSelectSchema: drizzle_zod3.BuildSchema<"select
22346
22346
  }, {}, {
22347
22347
  length: 256;
22348
22348
  }>;
22349
- }, drizzle_zod3.BuildRefine<{
22349
+ }, drizzle_zod0.BuildRefine<{
22350
22350
  createdAt: drizzle_orm_pg_core0.PgColumn<{
22351
22351
  name: "created_at";
22352
22352
  tableName: "sub_agent_tool_relations";
@@ -22597,9 +22597,9 @@ declare const SubAgentToolRelationApiSelectSchema: z.ZodObject<OmitAgentScope<{
22597
22597
  createdAt: z.ZodString;
22598
22598
  updatedAt: z.ZodString;
22599
22599
  toolId: z.ZodString;
22600
- selectedTools: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
22601
- headers: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
22602
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
22600
+ selectedTools: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
22601
+ headers: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
22602
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
22603
22603
  subAgentId: z.ZodString;
22604
22604
  agentId: z.ZodString;
22605
22605
  projectId: z.ZodString;
@@ -22622,18 +22622,18 @@ declare const SubAgentToolRelationApiInsertSchema: z.ZodObject<OmitAgentScope<{
22622
22622
  }, z.core.$strip>>>>;
22623
22623
  }>, z.core.$strip>;
22624
22624
  declare const SubAgentToolRelationApiUpdateSchema: z.ZodObject<{
22625
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22625
22626
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22626
22627
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
22627
22628
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
22628
- toolId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22629
22629
  headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
22630
+ toolId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22630
22631
  toolPolicies: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
22631
22632
  needsApproval: z.ZodOptional<z.ZodBoolean>;
22632
22633
  }, z.core.$strip>>>>>>;
22633
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22634
22634
  selectedTools: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>>>;
22635
22635
  }, z.core.$strip>;
22636
- declare const SubAgentExternalAgentRelationSelectSchema: drizzle_zod3.BuildSchema<"select", {
22636
+ declare const SubAgentExternalAgentRelationSelectSchema: drizzle_zod0.BuildSchema<"select", {
22637
22637
  createdAt: drizzle_orm_pg_core0.PgColumn<{
22638
22638
  name: "created_at";
22639
22639
  tableName: "sub_agent_external_agent_relations";
@@ -22801,7 +22801,7 @@ declare const SubAgentExternalAgentRelationSelectSchema: drizzle_zod3.BuildSchem
22801
22801
  }, {}, {
22802
22802
  length: 256;
22803
22803
  }>;
22804
- }, drizzle_zod3.BuildRefine<{
22804
+ }, drizzle_zod0.BuildRefine<{
22805
22805
  createdAt: drizzle_orm_pg_core0.PgColumn<{
22806
22806
  name: "created_at";
22807
22807
  tableName: "sub_agent_external_agent_relations";
@@ -23002,7 +23002,7 @@ declare const SubAgentExternalAgentRelationApiSelectSchema: z.ZodObject<OmitAgen
23002
23002
  createdAt: z.ZodString;
23003
23003
  updatedAt: z.ZodString;
23004
23004
  externalAgentId: z.ZodString;
23005
- headers: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
23005
+ headers: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
23006
23006
  subAgentId: z.ZodString;
23007
23007
  agentId: z.ZodString;
23008
23008
  projectId: z.ZodString;
@@ -23016,14 +23016,14 @@ declare const SubAgentExternalAgentRelationApiInsertSchema: z.ZodObject<{
23016
23016
  externalAgentId: z.ZodString;
23017
23017
  }, z.core.$strip>;
23018
23018
  declare const SubAgentExternalAgentRelationApiUpdateSchema: z.ZodObject<{
23019
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23019
23020
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23020
23021
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
23021
23022
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
23022
23023
  headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
23023
23024
  externalAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23024
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23025
23025
  }, z.core.$strip>;
23026
- declare const SubAgentTeamAgentRelationSelectSchema: drizzle_zod3.BuildSchema<"select", {
23026
+ declare const SubAgentTeamAgentRelationSelectSchema: drizzle_zod0.BuildSchema<"select", {
23027
23027
  createdAt: drizzle_orm_pg_core0.PgColumn<{
23028
23028
  name: "created_at";
23029
23029
  tableName: "sub_agent_team_agent_relations";
@@ -23191,7 +23191,7 @@ declare const SubAgentTeamAgentRelationSelectSchema: drizzle_zod3.BuildSchema<"s
23191
23191
  }, {}, {
23192
23192
  length: 256;
23193
23193
  }>;
23194
- }, drizzle_zod3.BuildRefine<{
23194
+ }, drizzle_zod0.BuildRefine<{
23195
23195
  createdAt: drizzle_orm_pg_core0.PgColumn<{
23196
23196
  name: "created_at";
23197
23197
  tableName: "sub_agent_team_agent_relations";
@@ -23392,7 +23392,7 @@ declare const SubAgentTeamAgentRelationApiSelectSchema: z.ZodObject<OmitAgentSco
23392
23392
  createdAt: z.ZodString;
23393
23393
  updatedAt: z.ZodString;
23394
23394
  targetAgentId: z.ZodString;
23395
- headers: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
23395
+ headers: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
23396
23396
  subAgentId: z.ZodString;
23397
23397
  agentId: z.ZodString;
23398
23398
  projectId: z.ZodString;
@@ -23406,14 +23406,14 @@ declare const SubAgentTeamAgentRelationApiInsertSchema: z.ZodObject<{
23406
23406
  targetAgentId: z.ZodString;
23407
23407
  }, z.core.$strip>;
23408
23408
  declare const SubAgentTeamAgentRelationApiUpdateSchema: z.ZodObject<{
23409
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23409
23410
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23410
23411
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
23411
23412
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
23412
23413
  headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
23413
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23414
23414
  targetAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23415
23415
  }, z.core.$strip>;
23416
- declare const LedgerArtifactSelectSchema: drizzle_zod3.BuildSchema<"select", {
23416
+ declare const LedgerArtifactSelectSchema: drizzle_zod0.BuildSchema<"select", {
23417
23417
  createdAt: drizzle_orm_pg_core0.PgColumn<{
23418
23418
  name: "created_at";
23419
23419
  tableName: "ledger_artifacts";
@@ -23748,7 +23748,7 @@ declare const LedgerArtifactSelectSchema: drizzle_zod3.BuildSchema<"select", {
23748
23748
  }, {}, {
23749
23749
  length: 256;
23750
23750
  }>;
23751
- }, drizzle_zod3.BuildRefine<{
23751
+ }, drizzle_zod0.BuildRefine<{
23752
23752
  createdAt: drizzle_orm_pg_core0.PgColumn<{
23753
23753
  name: "created_at";
23754
23754
  tableName: "ledger_artifacts";
@@ -24084,7 +24084,7 @@ declare const LedgerArtifactSelectSchema: drizzle_zod3.BuildSchema<"select", {
24084
24084
  length: 256;
24085
24085
  }>;
24086
24086
  }, undefined>, undefined>;
24087
- declare const LedgerArtifactInsertSchema: drizzle_zod3.BuildSchema<"insert", {
24087
+ declare const LedgerArtifactInsertSchema: drizzle_zod0.BuildSchema<"insert", {
24088
24088
  createdAt: drizzle_orm_pg_core0.PgColumn<{
24089
24089
  name: "created_at";
24090
24090
  tableName: "ledger_artifacts";
@@ -24419,7 +24419,7 @@ declare const LedgerArtifactInsertSchema: drizzle_zod3.BuildSchema<"insert", {
24419
24419
  }, {}, {
24420
24420
  length: 256;
24421
24421
  }>;
24422
- }, drizzle_zod3.BuildRefine<Pick<{
24422
+ }, drizzle_zod0.BuildRefine<Pick<{
24423
24423
  createdAt: drizzle_orm_pg_core0.PgColumn<{
24424
24424
  name: "created_at";
24425
24425
  tableName: "ledger_artifacts";
@@ -24754,7 +24754,7 @@ declare const LedgerArtifactInsertSchema: drizzle_zod3.BuildSchema<"insert", {
24754
24754
  }, {}, {
24755
24755
  length: 256;
24756
24756
  }>;
24757
- }, "id" | "name" | "description" | "tenantId" | "projectId" | "type" | "createdAt" | "updatedAt" | "metadata" | "taskId" | "contextId" | "visibility" | "toolCallId" | "parts" | "summary" | "mime" | "allowedAgents" | "derivedFrom">, undefined>, undefined>;
24757
+ }, "type" | "description" | "tenantId" | "projectId" | "taskId" | "id" | "name" | "createdAt" | "updatedAt" | "metadata" | "toolCallId" | "contextId" | "visibility" | "parts" | "summary" | "mime" | "allowedAgents" | "derivedFrom">, undefined>, undefined>;
24758
24758
  declare const LedgerArtifactUpdateSchema: z.ZodObject<{
24759
24759
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
24760
24760
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -24764,12 +24764,12 @@ declare const LedgerArtifactUpdateSchema: z.ZodObject<{
24764
24764
  type: z.ZodOptional<z.ZodOptional<z.ZodString>>;
24765
24765
  name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
24766
24766
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
24767
- parts: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>>;
24768
- metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>>;
24767
+ parts: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>>;
24768
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>>;
24769
24769
  summary: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
24770
- mime: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>>;
24770
+ mime: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>>;
24771
24771
  visibility: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
24772
- allowedAgents: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>>;
24772
+ allowedAgents: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>>;
24773
24773
  derivedFrom: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
24774
24774
  projectId: z.ZodOptional<z.ZodString>;
24775
24775
  tenantId: z.ZodOptional<z.ZodString>;
@@ -24787,12 +24787,12 @@ declare const LedgerArtifactApiSelectSchema: z.ZodObject<OmitProjectScope<{
24787
24787
  type: z.ZodString;
24788
24788
  name: z.ZodNullable<z.ZodString>;
24789
24789
  description: z.ZodNullable<z.ZodString>;
24790
- parts: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
24791
- metadata: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
24790
+ parts: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
24791
+ metadata: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
24792
24792
  summary: z.ZodNullable<z.ZodString>;
24793
- mime: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
24793
+ mime: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
24794
24794
  visibility: z.ZodNullable<z.ZodString>;
24795
- allowedAgents: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
24795
+ allowedAgents: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
24796
24796
  derivedFrom: z.ZodNullable<z.ZodString>;
24797
24797
  projectId: z.ZodString;
24798
24798
  tenantId: z.ZodString;
@@ -24807,33 +24807,33 @@ declare const LedgerArtifactApiInsertSchema: z.ZodObject<OmitProjectScope<{
24807
24807
  type: z.ZodOptional<z.ZodString>;
24808
24808
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24809
24809
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24810
- parts: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
24811
- metadata: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
24810
+ parts: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
24811
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
24812
24812
  summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24813
- mime: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
24813
+ mime: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
24814
24814
  visibility: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24815
- allowedAgents: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
24815
+ allowedAgents: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
24816
24816
  derivedFrom: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24817
24817
  projectId: z.ZodString;
24818
24818
  tenantId: z.ZodString;
24819
24819
  id: z.ZodString;
24820
24820
  }>, z.core.$strip>;
24821
24821
  declare const LedgerArtifactApiUpdateSchema: z.ZodObject<{
24822
+ type: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
24823
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
24824
+ taskId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
24822
24825
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
24823
24826
  name: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
24824
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
24825
- type: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
24826
24827
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
24827
24828
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
24828
- metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>>>;
24829
- taskId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
24829
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>>>;
24830
+ toolCallId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
24830
24831
  contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
24831
24832
  visibility: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
24832
- toolCallId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
24833
- parts: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>>>;
24833
+ parts: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>>>;
24834
24834
  summary: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
24835
- mime: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>>>;
24836
- allowedAgents: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>>>;
24835
+ mime: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>>>;
24836
+ allowedAgents: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>>>;
24837
24837
  derivedFrom: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
24838
24838
  }, z.core.$strip>;
24839
24839
  declare const StatusComponentSchema: z.ZodObject<{
@@ -24899,10 +24899,11 @@ declare const TeamAgentSchema: z.ZodObject<{
24899
24899
  description: z.ZodString;
24900
24900
  }, z.core.$strip>;
24901
24901
  declare const FullAgentAgentInsertSchema: z.ZodObject<{
24902
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24902
24903
  id: z.ZodString;
24903
24904
  name: z.ZodString;
24904
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24905
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
24905
+ createdAt: z.ZodOptional<z.ZodString>;
24906
+ updatedAt: z.ZodOptional<z.ZodString>;
24906
24907
  models: z.ZodOptional<z.ZodObject<{
24907
24908
  base: z.ZodOptional<z.ZodObject<{
24908
24909
  model: z.ZodOptional<z.ZodString>;
@@ -24917,8 +24918,7 @@ declare const FullAgentAgentInsertSchema: z.ZodObject<{
24917
24918
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
24918
24919
  }, z.core.$strip>>;
24919
24920
  }, z.core.$strip>>;
24920
- createdAt: z.ZodOptional<z.ZodString>;
24921
- updatedAt: z.ZodOptional<z.ZodString>;
24921
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
24922
24922
  type: z.ZodLiteral<"internal">;
24923
24923
  canUse: z.ZodArray<z.ZodObject<{
24924
24924
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -24952,18 +24952,19 @@ declare const FullAgentAgentInsertSchema: z.ZodObject<{
24952
24952
  }, z.core.$strip>>;
24953
24953
  }, z.core.$strip>;
24954
24954
  declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
24955
- name: z.ZodString;
24956
24955
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24957
- defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24956
+ name: z.ZodString;
24958
24957
  createdAt: z.ZodOptional<z.ZodString>;
24959
24958
  updatedAt: z.ZodOptional<z.ZodString>;
24959
+ defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24960
24960
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24961
24961
  id: z.ZodString;
24962
24962
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
24963
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24963
24964
  id: z.ZodString;
24964
24965
  name: z.ZodString;
24965
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24966
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
24966
+ createdAt: z.ZodOptional<z.ZodString>;
24967
+ updatedAt: z.ZodOptional<z.ZodString>;
24967
24968
  models: z.ZodOptional<z.ZodObject<{
24968
24969
  base: z.ZodOptional<z.ZodObject<{
24969
24970
  model: z.ZodOptional<z.ZodString>;
@@ -24978,8 +24979,7 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
24978
24979
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
24979
24980
  }, z.core.$strip>>;
24980
24981
  }, z.core.$strip>>;
24981
- createdAt: z.ZodOptional<z.ZodString>;
24982
- updatedAt: z.ZodOptional<z.ZodString>;
24982
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
24983
24983
  type: z.ZodLiteral<"internal">;
24984
24984
  canUse: z.ZodArray<z.ZodObject<{
24985
24985
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -25090,22 +25090,22 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
25090
25090
  executeCode: z.ZodString;
25091
25091
  }, z.core.$strip>>>;
25092
25092
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
25093
- name: z.ZodString;
25094
25093
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25094
+ name: z.ZodString;
25095
25095
  createdAt: z.ZodOptional<z.ZodString>;
25096
25096
  updatedAt: z.ZodOptional<z.ZodString>;
25097
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
25097
25098
  enabled: z.ZodOptional<z.ZodBoolean>;
25098
- inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
25099
- outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
25099
+ outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
25100
25100
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25101
- authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
25101
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
25102
25102
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25103
- signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
25103
+ signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
25104
25104
  id: z.ZodOptional<z.ZodString>;
25105
25105
  }, z.core.$strip>>>;
25106
25106
  scheduledTriggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
25107
- name: z.ZodString;
25108
25107
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25108
+ name: z.ZodString;
25109
25109
  createdAt: z.ZodOptional<z.ZodString>;
25110
25110
  updatedAt: z.ZodOptional<z.ZodString>;
25111
25111
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -25114,7 +25114,7 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
25114
25114
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25115
25115
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25116
25116
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25117
- payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
25117
+ payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
25118
25118
  maxRetries: z.ZodOptional<z.ZodNumber>;
25119
25119
  retryDelaySeconds: z.ZodOptional<z.ZodNumber>;
25120
25120
  timeoutSeconds: z.ZodOptional<z.ZodNumber>;
@@ -25220,10 +25220,10 @@ declare const ProjectSelectSchema: z.ZodObject<{
25220
25220
  in: {};
25221
25221
  }>;
25222
25222
  declare const ProjectInsertSchema: z.ZodObject<{
25223
- id: z.ZodString;
25224
- name: z.ZodString;
25225
25223
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25226
25224
  tenantId: z.ZodString;
25225
+ id: z.ZodString;
25226
+ name: z.ZodString;
25227
25227
  models: z.ZodObject<{
25228
25228
  base: z.ZodObject<{
25229
25229
  model: z.ZodOptional<z.ZodString>;
@@ -25247,8 +25247,8 @@ declare const ProjectInsertSchema: z.ZodObject<{
25247
25247
  in: {};
25248
25248
  }>;
25249
25249
  declare const ProjectUpdateSchema: z.ZodObject<{
25250
- name: z.ZodOptional<z.ZodString>;
25251
25250
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
25251
+ name: z.ZodOptional<z.ZodString>;
25252
25252
  models: z.ZodOptional<z.ZodObject<{
25253
25253
  base: z.ZodObject<{
25254
25254
  model: z.ZodOptional<z.ZodString>;
@@ -25272,9 +25272,11 @@ declare const ProjectUpdateSchema: z.ZodObject<{
25272
25272
  in: {};
25273
25273
  }>;
25274
25274
  declare const ProjectApiSelectSchema: z.ZodObject<{
25275
+ description: z.ZodNullable<z.ZodString>;
25275
25276
  id: z.ZodString;
25276
25277
  name: z.ZodString;
25277
- description: z.ZodNullable<z.ZodString>;
25278
+ createdAt: z.ZodString;
25279
+ updatedAt: z.ZodString;
25278
25280
  models: z.ZodNullable<z.ZodObject<{
25279
25281
  base: z.ZodObject<{
25280
25282
  model: z.ZodOptional<z.ZodString>;
@@ -25293,16 +25295,14 @@ declare const ProjectApiSelectSchema: z.ZodObject<{
25293
25295
  transferCountIs: z.ZodOptional<z.ZodNumber>;
25294
25296
  stepCountIs: z.ZodOptional<z.ZodNumber>;
25295
25297
  }, z.core.$strip>>;
25296
- createdAt: z.ZodString;
25297
- updatedAt: z.ZodString;
25298
25298
  }, {
25299
25299
  out: {};
25300
25300
  in: {};
25301
25301
  }>;
25302
25302
  declare const ProjectApiInsertSchema: z.ZodObject<{
25303
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25303
25304
  id: z.ZodString;
25304
25305
  name: z.ZodString;
25305
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25306
25306
  models: z.ZodObject<{
25307
25307
  base: z.ZodObject<{
25308
25308
  model: z.ZodOptional<z.ZodString>;
@@ -25326,8 +25326,8 @@ declare const ProjectApiInsertSchema: z.ZodObject<{
25326
25326
  in: {};
25327
25327
  }>;
25328
25328
  declare const ProjectApiUpdateSchema: z.ZodObject<{
25329
- name: z.ZodOptional<z.ZodString>;
25330
25329
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
25330
+ name: z.ZodOptional<z.ZodString>;
25331
25331
  models: z.ZodOptional<z.ZodObject<{
25332
25332
  base: z.ZodObject<{
25333
25333
  model: z.ZodOptional<z.ZodString>;
@@ -25351,9 +25351,9 @@ declare const ProjectApiUpdateSchema: z.ZodObject<{
25351
25351
  in: {};
25352
25352
  }>;
25353
25353
  declare const FullProjectDefinitionSchema: z.ZodObject<{
25354
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25354
25355
  id: z.ZodString;
25355
25356
  name: z.ZodString;
25356
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25357
25357
  models: z.ZodObject<{
25358
25358
  base: z.ZodObject<{
25359
25359
  model: z.ZodOptional<z.ZodString>;
@@ -25373,18 +25373,19 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25373
25373
  stepCountIs: z.ZodOptional<z.ZodNumber>;
25374
25374
  }, z.core.$strip>>;
25375
25375
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
25376
- name: z.ZodString;
25377
25376
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25378
- defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25377
+ name: z.ZodString;
25379
25378
  createdAt: z.ZodOptional<z.ZodString>;
25380
25379
  updatedAt: z.ZodOptional<z.ZodString>;
25380
+ defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25381
25381
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25382
25382
  id: z.ZodString;
25383
25383
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
25384
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25384
25385
  id: z.ZodString;
25385
25386
  name: z.ZodString;
25386
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25387
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
25387
+ createdAt: z.ZodOptional<z.ZodString>;
25388
+ updatedAt: z.ZodOptional<z.ZodString>;
25388
25389
  models: z.ZodOptional<z.ZodObject<{
25389
25390
  base: z.ZodOptional<z.ZodObject<{
25390
25391
  model: z.ZodOptional<z.ZodString>;
@@ -25399,8 +25400,7 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25399
25400
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
25400
25401
  }, z.core.$strip>>;
25401
25402
  }, z.core.$strip>>;
25402
- createdAt: z.ZodOptional<z.ZodString>;
25403
- updatedAt: z.ZodOptional<z.ZodString>;
25403
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
25404
25404
  type: z.ZodLiteral<"internal">;
25405
25405
  canUse: z.ZodArray<z.ZodObject<{
25406
25406
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -25511,22 +25511,22 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25511
25511
  executeCode: z.ZodString;
25512
25512
  }, z.core.$strip>>>;
25513
25513
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
25514
- name: z.ZodString;
25515
25514
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25515
+ name: z.ZodString;
25516
25516
  createdAt: z.ZodOptional<z.ZodString>;
25517
25517
  updatedAt: z.ZodOptional<z.ZodString>;
25518
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
25518
25519
  enabled: z.ZodOptional<z.ZodBoolean>;
25519
- inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
25520
- outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
25520
+ outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
25521
25521
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25522
- authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
25522
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
25523
25523
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25524
- signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
25524
+ signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
25525
25525
  id: z.ZodOptional<z.ZodString>;
25526
25526
  }, z.core.$strip>>>;
25527
25527
  scheduledTriggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
25528
- name: z.ZodString;
25529
25528
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25529
+ name: z.ZodString;
25530
25530
  createdAt: z.ZodOptional<z.ZodString>;
25531
25531
  updatedAt: z.ZodOptional<z.ZodString>;
25532
25532
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -25535,7 +25535,7 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25535
25535
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25536
25536
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25537
25537
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25538
- payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
25538
+ payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
25539
25539
  maxRetries: z.ZodOptional<z.ZodNumber>;
25540
25540
  retryDelaySeconds: z.ZodOptional<z.ZodNumber>;
25541
25541
  timeoutSeconds: z.ZodOptional<z.ZodNumber>;
@@ -25643,17 +25643,15 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25643
25643
  executeCode: z.ZodString;
25644
25644
  }, z.core.$strip>>>;
25645
25645
  skills: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
25646
- name: z.ZodString;
25647
25646
  description: z.ZodString;
25648
25647
  tenantId: z.ZodString;
25649
25648
  projectId: z.ZodString;
25649
+ name: z.ZodString;
25650
25650
  metadata: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
25651
25651
  content: z.ZodString;
25652
25652
  }>, z.core.$strip>>>;
25653
25653
  dataComponents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
25654
25654
  id: z.ZodString;
25655
- createdAt: z.ZodOptional<z.ZodString>;
25656
- updatedAt: z.ZodOptional<z.ZodString>;
25657
25655
  render: z.ZodOptional<z.ZodNullable<z.ZodType<{
25658
25656
  component: string;
25659
25657
  mockData: Record<string, unknown>;
@@ -25667,6 +25665,8 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25667
25665
  component: string;
25668
25666
  mockData: Record<string, unknown>;
25669
25667
  }>>>>;
25668
+ createdAt: z.ZodOptional<z.ZodString>;
25669
+ updatedAt: z.ZodOptional<z.ZodString>;
25670
25670
  name: z.ZodString;
25671
25671
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25672
25672
  props: z.ZodObject<{
@@ -25732,14 +25732,14 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25732
25732
  }, z.core.$strip>>>;
25733
25733
  }, z.core.$strip>>;
25734
25734
  credentialReferences: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
25735
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25735
25736
  id: z.ZodString;
25736
25737
  name: z.ZodString;
25737
25738
  createdAt: z.ZodOptional<z.ZodString>;
25738
25739
  updatedAt: z.ZodOptional<z.ZodString>;
25739
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25740
25740
  credentialStoreId: z.ZodString;
25741
25741
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
25742
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25742
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25743
25743
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25744
25744
  type: z.ZodEnum<{
25745
25745
  readonly memory: "memory";
@@ -25754,10 +25754,11 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25754
25754
  in: {};
25755
25755
  }>;
25756
25756
  declare const FullAgentSubAgentSelectSchema: z.ZodObject<{
25757
+ description: z.ZodNullable<z.ZodString>;
25757
25758
  id: z.ZodString;
25758
25759
  name: z.ZodString;
25759
- description: z.ZodNullable<z.ZodString>;
25760
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
25760
+ createdAt: z.ZodString;
25761
+ updatedAt: z.ZodString;
25761
25762
  models: z.ZodNullable<z.ZodType<{
25762
25763
  base?: {
25763
25764
  model?: string | undefined;
@@ -25820,8 +25821,7 @@ declare const FullAgentSubAgentSelectSchema: z.ZodObject<{
25820
25821
  }, {
25821
25822
  stepCountIs?: number | undefined;
25822
25823
  }>>>;
25823
- createdAt: z.ZodString;
25824
- updatedAt: z.ZodString;
25824
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
25825
25825
  type: z.ZodLiteral<"internal">;
25826
25826
  canUse: z.ZodArray<z.ZodObject<{
25827
25827
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -25847,10 +25847,11 @@ declare const FullAgentSubAgentSelectSchema: z.ZodObject<{
25847
25847
  }, z.core.$strip>]>>>;
25848
25848
  }, z.core.$strip>;
25849
25849
  declare const FullAgentSubAgentSelectSchemaWithRelationIds: z.ZodObject<{
25850
+ description: z.ZodNullable<z.ZodString>;
25850
25851
  id: z.ZodString;
25851
25852
  name: z.ZodString;
25852
- description: z.ZodNullable<z.ZodString>;
25853
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
25853
+ createdAt: z.ZodString;
25854
+ updatedAt: z.ZodString;
25854
25855
  models: z.ZodNullable<z.ZodType<{
25855
25856
  base?: {
25856
25857
  model?: string | undefined;
@@ -25913,8 +25914,7 @@ declare const FullAgentSubAgentSelectSchemaWithRelationIds: z.ZodObject<{
25913
25914
  }, {
25914
25915
  stepCountIs?: number | undefined;
25915
25916
  }>>>;
25916
- createdAt: z.ZodString;
25917
- updatedAt: z.ZodString;
25917
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
25918
25918
  type: z.ZodLiteral<"internal">;
25919
25919
  canUse: z.ZodArray<z.ZodObject<{
25920
25920
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -25946,18 +25946,19 @@ declare const FullAgentSubAgentSelectSchemaWithRelationIds: z.ZodObject<{
25946
25946
  }, z.core.$strip>]>>>;
25947
25947
  }, z.core.$strip>;
25948
25948
  declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
25949
+ description: z.ZodNullable<z.ZodString>;
25949
25950
  id: z.ZodString;
25950
25951
  name: z.ZodString;
25951
- description: z.ZodNullable<z.ZodString>;
25952
- defaultSubAgentId: z.ZodNullable<z.ZodString>;
25953
25952
  createdAt: z.ZodString;
25954
25953
  updatedAt: z.ZodString;
25954
+ defaultSubAgentId: z.ZodNullable<z.ZodString>;
25955
25955
  contextConfigId: z.ZodNullable<z.ZodString>;
25956
25956
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
25957
+ description: z.ZodNullable<z.ZodString>;
25957
25958
  id: z.ZodString;
25958
25959
  name: z.ZodString;
25959
- description: z.ZodNullable<z.ZodString>;
25960
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
25960
+ createdAt: z.ZodString;
25961
+ updatedAt: z.ZodString;
25961
25962
  models: z.ZodNullable<z.ZodType<{
25962
25963
  base?: {
25963
25964
  model?: string | undefined;
@@ -26020,8 +26021,7 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
26020
26021
  }, {
26021
26022
  stepCountIs?: number | undefined;
26022
26023
  }>>>;
26023
- createdAt: z.ZodString;
26024
- updatedAt: z.ZodString;
26024
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
26025
26025
  type: z.ZodLiteral<"internal">;
26026
26026
  canUse: z.ZodArray<z.ZodObject<{
26027
26027
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -26092,10 +26092,10 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
26092
26092
  description: z.ZodString;
26093
26093
  }, z.core.$strip>>>;
26094
26094
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
26095
- id: z.ZodString;
26096
- name: z.ZodString;
26097
26095
  description: z.ZodNullable<z.ZodString>;
26098
26096
  agentId: z.ZodString;
26097
+ id: z.ZodString;
26098
+ name: z.ZodString;
26099
26099
  createdAt: z.ZodString;
26100
26100
  updatedAt: z.ZodString;
26101
26101
  functionId: z.ZodString;
@@ -26174,12 +26174,12 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
26174
26174
  prompt: z.ZodNullable<z.ZodString>;
26175
26175
  }, z.core.$strip>;
26176
26176
  declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObject<{
26177
+ description: z.ZodNullable<z.ZodString>;
26177
26178
  id: z.ZodString;
26178
26179
  name: z.ZodString;
26179
- description: z.ZodNullable<z.ZodString>;
26180
- defaultSubAgentId: z.ZodNullable<z.ZodString>;
26181
26180
  createdAt: z.ZodString;
26182
26181
  updatedAt: z.ZodString;
26182
+ defaultSubAgentId: z.ZodNullable<z.ZodString>;
26183
26183
  contextConfigId: z.ZodNullable<z.ZodString>;
26184
26184
  tools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
26185
26185
  createdAt: z.ZodString;
@@ -26227,10 +26227,10 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
26227
26227
  description: z.ZodString;
26228
26228
  }, z.core.$strip>>>;
26229
26229
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
26230
- id: z.ZodString;
26231
- name: z.ZodString;
26232
26230
  description: z.ZodNullable<z.ZodString>;
26233
26231
  agentId: z.ZodString;
26232
+ id: z.ZodString;
26233
+ name: z.ZodString;
26234
26234
  createdAt: z.ZodString;
26235
26235
  updatedAt: z.ZodString;
26236
26236
  functionId: z.ZodString;
@@ -26308,10 +26308,11 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
26308
26308
  }, z.core.$strip>>;
26309
26309
  prompt: z.ZodNullable<z.ZodString>;
26310
26310
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
26311
+ description: z.ZodNullable<z.ZodString>;
26311
26312
  id: z.ZodString;
26312
26313
  name: z.ZodString;
26313
- description: z.ZodNullable<z.ZodString>;
26314
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
26314
+ createdAt: z.ZodString;
26315
+ updatedAt: z.ZodString;
26315
26316
  models: z.ZodNullable<z.ZodType<{
26316
26317
  base?: {
26317
26318
  model?: string | undefined;
@@ -26374,8 +26375,7 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
26374
26375
  }, {
26375
26376
  stepCountIs?: number | undefined;
26376
26377
  }>>>;
26377
- createdAt: z.ZodString;
26378
- updatedAt: z.ZodString;
26378
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
26379
26379
  type: z.ZodLiteral<"internal">;
26380
26380
  canUse: z.ZodArray<z.ZodObject<{
26381
26381
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -26408,9 +26408,11 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
26408
26408
  }, z.core.$strip>>;
26409
26409
  }, z.core.$strip>;
26410
26410
  declare const FullProjectSelectSchema: z.ZodObject<{
26411
+ description: z.ZodNullable<z.ZodString>;
26411
26412
  id: z.ZodString;
26412
26413
  name: z.ZodString;
26413
- description: z.ZodNullable<z.ZodString>;
26414
+ createdAt: z.ZodString;
26415
+ updatedAt: z.ZodString;
26414
26416
  models: z.ZodNullable<z.ZodObject<{
26415
26417
  base: z.ZodObject<{
26416
26418
  model: z.ZodOptional<z.ZodString>;
@@ -26429,21 +26431,20 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26429
26431
  transferCountIs: z.ZodOptional<z.ZodNumber>;
26430
26432
  stepCountIs: z.ZodOptional<z.ZodNumber>;
26431
26433
  }, z.core.$strip>>;
26432
- createdAt: z.ZodString;
26433
- updatedAt: z.ZodString;
26434
26434
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
26435
+ description: z.ZodNullable<z.ZodString>;
26435
26436
  id: z.ZodString;
26436
26437
  name: z.ZodString;
26437
- description: z.ZodNullable<z.ZodString>;
26438
- defaultSubAgentId: z.ZodNullable<z.ZodString>;
26439
26438
  createdAt: z.ZodString;
26440
26439
  updatedAt: z.ZodString;
26440
+ defaultSubAgentId: z.ZodNullable<z.ZodString>;
26441
26441
  contextConfigId: z.ZodNullable<z.ZodString>;
26442
26442
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
26443
+ description: z.ZodNullable<z.ZodString>;
26443
26444
  id: z.ZodString;
26444
26445
  name: z.ZodString;
26445
- description: z.ZodNullable<z.ZodString>;
26446
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
26446
+ createdAt: z.ZodString;
26447
+ updatedAt: z.ZodString;
26447
26448
  models: z.ZodNullable<z.ZodType<{
26448
26449
  base?: {
26449
26450
  model?: string | undefined;
@@ -26506,8 +26507,7 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26506
26507
  }, {
26507
26508
  stepCountIs?: number | undefined;
26508
26509
  }>>>;
26509
- createdAt: z.ZodString;
26510
- updatedAt: z.ZodString;
26510
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
26511
26511
  type: z.ZodLiteral<"internal">;
26512
26512
  canUse: z.ZodArray<z.ZodObject<{
26513
26513
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -26578,10 +26578,10 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26578
26578
  description: z.ZodString;
26579
26579
  }, z.core.$strip>>>;
26580
26580
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
26581
- id: z.ZodString;
26582
- name: z.ZodString;
26583
26581
  description: z.ZodNullable<z.ZodString>;
26584
26582
  agentId: z.ZodString;
26583
+ id: z.ZodString;
26584
+ name: z.ZodString;
26585
26585
  createdAt: z.ZodString;
26586
26586
  updatedAt: z.ZodString;
26587
26587
  functionId: z.ZodString;
@@ -26689,10 +26689,10 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26689
26689
  id: z.ZodString;
26690
26690
  }>, z.core.$strip>>;
26691
26691
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
26692
- id: z.ZodString;
26693
- name: z.ZodString;
26694
26692
  description: z.ZodNullable<z.ZodString>;
26695
26693
  agentId: z.ZodString;
26694
+ id: z.ZodString;
26695
+ name: z.ZodString;
26696
26696
  createdAt: z.ZodString;
26697
26697
  updatedAt: z.ZodString;
26698
26698
  functionId: z.ZodString;
@@ -26837,21 +26837,21 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26837
26837
  }, z.core.$strip>>>;
26838
26838
  }, z.core.$strip>>;
26839
26839
  credentialReferences: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
26840
+ userId: z.ZodNullable<z.ZodString>;
26840
26841
  id: z.ZodString;
26841
26842
  name: z.ZodString;
26842
26843
  createdAt: z.ZodString;
26843
26844
  updatedAt: z.ZodString;
26844
- toolId: z.ZodNullable<z.ZodString>;
26845
26845
  credentialStoreId: z.ZodString;
26846
26846
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
26847
- userId: z.ZodNullable<z.ZodString>;
26847
+ toolId: z.ZodNullable<z.ZodString>;
26848
26848
  createdBy: z.ZodNullable<z.ZodString>;
26849
26849
  type: z.ZodEnum<{
26850
26850
  readonly memory: "memory";
26851
26851
  readonly keychain: "keychain";
26852
26852
  readonly nango: "nango";
26853
26853
  }>;
26854
- tools: z.ZodOptional<z.ZodArray<drizzle_zod3.BuildSchema<"select", {
26854
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod0.BuildSchema<"select", {
26855
26855
  createdAt: drizzle_orm_pg_core0.PgColumn<{
26856
26856
  name: "created_at";
26857
26857
  tableName: "tools";
@@ -27131,7 +27131,7 @@ declare const FullProjectSelectSchema: z.ZodObject<{
27131
27131
  }, {}, {
27132
27132
  length: 256;
27133
27133
  }>;
27134
- }, drizzle_zod3.BuildRefine<{
27134
+ }, drizzle_zod0.BuildRefine<{
27135
27135
  createdAt: drizzle_orm_pg_core0.PgColumn<{
27136
27136
  name: "created_at";
27137
27137
  tableName: "tools";
@@ -27432,9 +27432,11 @@ declare const FullProjectSelectSchema: z.ZodObject<{
27432
27432
  in: {};
27433
27433
  }>;
27434
27434
  declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27435
+ description: z.ZodNullable<z.ZodString>;
27435
27436
  id: z.ZodString;
27436
27437
  name: z.ZodString;
27437
- description: z.ZodNullable<z.ZodString>;
27438
+ createdAt: z.ZodString;
27439
+ updatedAt: z.ZodString;
27438
27440
  models: z.ZodNullable<z.ZodObject<{
27439
27441
  base: z.ZodObject<{
27440
27442
  model: z.ZodOptional<z.ZodString>;
@@ -27453,8 +27455,6 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27453
27455
  transferCountIs: z.ZodOptional<z.ZodNumber>;
27454
27456
  stepCountIs: z.ZodOptional<z.ZodNumber>;
27455
27457
  }, z.core.$strip>>;
27456
- createdAt: z.ZodString;
27457
- updatedAt: z.ZodString;
27458
27458
  tools: z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
27459
27459
  createdAt: z.ZodString;
27460
27460
  updatedAt: z.ZodString;
@@ -27485,10 +27485,10 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27485
27485
  id: z.ZodString;
27486
27486
  }>, z.core.$strip>>;
27487
27487
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
27488
- id: z.ZodString;
27489
- name: z.ZodString;
27490
27488
  description: z.ZodNullable<z.ZodString>;
27491
27489
  agentId: z.ZodString;
27490
+ id: z.ZodString;
27491
+ name: z.ZodString;
27492
27492
  createdAt: z.ZodString;
27493
27493
  updatedAt: z.ZodString;
27494
27494
  functionId: z.ZodString;
@@ -27633,21 +27633,21 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27633
27633
  }, z.core.$strip>>>;
27634
27634
  }, z.core.$strip>>;
27635
27635
  credentialReferences: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
27636
+ userId: z.ZodNullable<z.ZodString>;
27636
27637
  id: z.ZodString;
27637
27638
  name: z.ZodString;
27638
27639
  createdAt: z.ZodString;
27639
27640
  updatedAt: z.ZodString;
27640
- toolId: z.ZodNullable<z.ZodString>;
27641
27641
  credentialStoreId: z.ZodString;
27642
27642
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
27643
- userId: z.ZodNullable<z.ZodString>;
27643
+ toolId: z.ZodNullable<z.ZodString>;
27644
27644
  createdBy: z.ZodNullable<z.ZodString>;
27645
27645
  type: z.ZodEnum<{
27646
27646
  readonly memory: "memory";
27647
27647
  readonly keychain: "keychain";
27648
27648
  readonly nango: "nango";
27649
27649
  }>;
27650
- tools: z.ZodOptional<z.ZodArray<drizzle_zod3.BuildSchema<"select", {
27650
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod0.BuildSchema<"select", {
27651
27651
  createdAt: drizzle_orm_pg_core0.PgColumn<{
27652
27652
  name: "created_at";
27653
27653
  tableName: "tools";
@@ -27927,7 +27927,7 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27927
27927
  }, {}, {
27928
27928
  length: 256;
27929
27929
  }>;
27930
- }, drizzle_zod3.BuildRefine<{
27930
+ }, drizzle_zod0.BuildRefine<{
27931
27931
  createdAt: drizzle_orm_pg_core0.PgColumn<{
27932
27932
  name: "created_at";
27933
27933
  tableName: "tools";
@@ -28224,12 +28224,12 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
28224
28224
  }>>>;
28225
28225
  }, z.core.$strip>>>;
28226
28226
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
28227
+ description: z.ZodNullable<z.ZodString>;
28227
28228
  id: z.ZodString;
28228
28229
  name: z.ZodString;
28229
- description: z.ZodNullable<z.ZodString>;
28230
- defaultSubAgentId: z.ZodNullable<z.ZodString>;
28231
28230
  createdAt: z.ZodString;
28232
28231
  updatedAt: z.ZodString;
28232
+ defaultSubAgentId: z.ZodNullable<z.ZodString>;
28233
28233
  contextConfigId: z.ZodNullable<z.ZodString>;
28234
28234
  tools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
28235
28235
  createdAt: z.ZodString;
@@ -28277,10 +28277,10 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
28277
28277
  description: z.ZodString;
28278
28278
  }, z.core.$strip>>>;
28279
28279
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
28280
- id: z.ZodString;
28281
- name: z.ZodString;
28282
28280
  description: z.ZodNullable<z.ZodString>;
28283
28281
  agentId: z.ZodString;
28282
+ id: z.ZodString;
28283
+ name: z.ZodString;
28284
28284
  createdAt: z.ZodString;
28285
28285
  updatedAt: z.ZodString;
28286
28286
  functionId: z.ZodString;
@@ -28358,10 +28358,11 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
28358
28358
  }, z.core.$strip>>;
28359
28359
  prompt: z.ZodNullable<z.ZodString>;
28360
28360
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
28361
+ description: z.ZodNullable<z.ZodString>;
28361
28362
  id: z.ZodString;
28362
28363
  name: z.ZodString;
28363
- description: z.ZodNullable<z.ZodString>;
28364
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
28364
+ createdAt: z.ZodString;
28365
+ updatedAt: z.ZodString;
28365
28366
  models: z.ZodNullable<z.ZodType<{
28366
28367
  base?: {
28367
28368
  model?: string | undefined;
@@ -28424,8 +28425,7 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
28424
28425
  }, {
28425
28426
  stepCountIs?: number | undefined;
28426
28427
  }>>>;
28427
- createdAt: z.ZodString;
28428
- updatedAt: z.ZodString;
28428
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
28429
28429
  type: z.ZodLiteral<"internal">;
28430
28430
  canUse: z.ZodArray<z.ZodObject<{
28431
28431
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -28463,9 +28463,11 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
28463
28463
  }>;
28464
28464
  declare const ProjectResponse: z.ZodObject<{
28465
28465
  data: z.ZodObject<{
28466
+ description: z.ZodNullable<z.ZodString>;
28466
28467
  id: z.ZodString;
28467
28468
  name: z.ZodString;
28468
- description: z.ZodNullable<z.ZodString>;
28469
+ createdAt: z.ZodString;
28470
+ updatedAt: z.ZodString;
28469
28471
  models: z.ZodNullable<z.ZodObject<{
28470
28472
  base: z.ZodObject<{
28471
28473
  model: z.ZodOptional<z.ZodString>;
@@ -28484,8 +28486,6 @@ declare const ProjectResponse: z.ZodObject<{
28484
28486
  transferCountIs: z.ZodOptional<z.ZodNumber>;
28485
28487
  stepCountIs: z.ZodOptional<z.ZodNumber>;
28486
28488
  }, z.core.$strip>>;
28487
- createdAt: z.ZodString;
28488
- updatedAt: z.ZodString;
28489
28489
  }, {
28490
28490
  out: {};
28491
28491
  in: {};
@@ -28724,9 +28724,9 @@ declare const ContextConfigResponse: z.ZodObject<{
28724
28724
  }, z.core.$strip>;
28725
28725
  declare const ApiKeyResponse: z.ZodObject<{
28726
28726
  data: z.ZodObject<{
28727
+ agentId: z.ZodString;
28727
28728
  id: z.ZodString;
28728
28729
  name: z.ZodNullable<z.ZodString>;
28729
- agentId: z.ZodString;
28730
28730
  createdAt: z.ZodString;
28731
28731
  updatedAt: z.ZodString;
28732
28732
  publicId: z.ZodString;
@@ -28740,21 +28740,21 @@ declare const ApiKeyResponse: z.ZodObject<{
28740
28740
  }, z.core.$strip>;
28741
28741
  declare const CredentialReferenceResponse: z.ZodObject<{
28742
28742
  data: z.ZodObject<{
28743
+ userId: z.ZodNullable<z.ZodString>;
28743
28744
  id: z.ZodString;
28744
28745
  name: z.ZodString;
28745
28746
  createdAt: z.ZodString;
28746
28747
  updatedAt: z.ZodString;
28747
- toolId: z.ZodNullable<z.ZodString>;
28748
28748
  credentialStoreId: z.ZodString;
28749
28749
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
28750
- userId: z.ZodNullable<z.ZodString>;
28750
+ toolId: z.ZodNullable<z.ZodString>;
28751
28751
  createdBy: z.ZodNullable<z.ZodString>;
28752
28752
  type: z.ZodEnum<{
28753
28753
  readonly memory: "memory";
28754
28754
  readonly keychain: "keychain";
28755
28755
  readonly nango: "nango";
28756
28756
  }>;
28757
- tools: z.ZodOptional<z.ZodArray<drizzle_zod3.BuildSchema<"select", {
28757
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod0.BuildSchema<"select", {
28758
28758
  createdAt: drizzle_orm_pg_core0.PgColumn<{
28759
28759
  name: "created_at";
28760
28760
  tableName: "tools";
@@ -29034,7 +29034,7 @@ declare const CredentialReferenceResponse: z.ZodObject<{
29034
29034
  }, {}, {
29035
29035
  length: 256;
29036
29036
  }>;
29037
- }, drizzle_zod3.BuildRefine<{
29037
+ }, drizzle_zod0.BuildRefine<{
29038
29038
  createdAt: drizzle_orm_pg_core0.PgColumn<{
29039
29039
  name: "created_at";
29040
29040
  tableName: "tools";
@@ -29345,10 +29345,10 @@ declare const FunctionResponse: z.ZodObject<{
29345
29345
  }, z.core.$strip>;
29346
29346
  declare const FunctionToolResponse: z.ZodObject<{
29347
29347
  data: z.ZodObject<{
29348
- id: z.ZodString;
29349
- name: z.ZodString;
29350
29348
  description: z.ZodNullable<z.ZodString>;
29351
29349
  agentId: z.ZodString;
29350
+ id: z.ZodString;
29351
+ name: z.ZodString;
29352
29352
  createdAt: z.ZodString;
29353
29353
  updatedAt: z.ZodString;
29354
29354
  functionId: z.ZodString;
@@ -29360,7 +29360,7 @@ declare const SubAgentFunctionToolRelationResponse: z.ZodObject<{
29360
29360
  createdAt: z.ZodString;
29361
29361
  updatedAt: z.ZodString;
29362
29362
  functionToolId: z.ZodString;
29363
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
29363
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
29364
29364
  subAgentId: z.ZodString;
29365
29365
  agentId: z.ZodString;
29366
29366
  projectId: z.ZodString;
@@ -29492,9 +29492,9 @@ declare const SubAgentToolRelationResponse: z.ZodObject<{
29492
29492
  createdAt: z.ZodString;
29493
29493
  updatedAt: z.ZodString;
29494
29494
  toolId: z.ZodString;
29495
- selectedTools: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
29496
- headers: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
29497
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
29495
+ selectedTools: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
29496
+ headers: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
29497
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
29498
29498
  subAgentId: z.ZodString;
29499
29499
  agentId: z.ZodString;
29500
29500
  projectId: z.ZodString;
@@ -29507,10 +29507,10 @@ declare const TriggerResponse: z.ZodObject<{
29507
29507
  createdAt: z.ZodString;
29508
29508
  updatedAt: z.ZodString;
29509
29509
  enabled: z.ZodBoolean;
29510
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
29511
- outputTransform: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
29510
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
29511
+ outputTransform: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
29512
29512
  messageTemplate: z.ZodNullable<z.ZodString>;
29513
- authentication: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
29513
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
29514
29514
  name: z.ZodString;
29515
29515
  description: z.ZodNullable<z.ZodString>;
29516
29516
  agentId: z.ZodString;
@@ -29570,8 +29570,8 @@ declare const TriggerInvocationResponse: z.ZodObject<{
29570
29570
  triggerId: z.ZodString;
29571
29571
  conversationId: z.ZodNullable<z.ZodString>;
29572
29572
  status: z.ZodString;
29573
- requestPayload: z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>;
29574
- transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
29573
+ requestPayload: z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>;
29574
+ transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
29575
29575
  errorMessage: z.ZodNullable<z.ZodString>;
29576
29576
  createdAt: z.ZodString;
29577
29577
  agentId: z.ZodString;
@@ -29582,9 +29582,11 @@ declare const TriggerInvocationResponse: z.ZodObject<{
29582
29582
  }, z.core.$strip>;
29583
29583
  declare const ProjectListResponse: z.ZodObject<{
29584
29584
  data: z.ZodArray<z.ZodObject<{
29585
+ description: z.ZodNullable<z.ZodString>;
29585
29586
  id: z.ZodString;
29586
29587
  name: z.ZodString;
29587
- description: z.ZodNullable<z.ZodString>;
29588
+ createdAt: z.ZodString;
29589
+ updatedAt: z.ZodString;
29588
29590
  models: z.ZodNullable<z.ZodObject<{
29589
29591
  base: z.ZodObject<{
29590
29592
  model: z.ZodOptional<z.ZodString>;
@@ -29603,8 +29605,6 @@ declare const ProjectListResponse: z.ZodObject<{
29603
29605
  transferCountIs: z.ZodOptional<z.ZodNumber>;
29604
29606
  stepCountIs: z.ZodOptional<z.ZodNumber>;
29605
29607
  }, z.core.$strip>>;
29606
- createdAt: z.ZodString;
29607
- updatedAt: z.ZodString;
29608
29608
  }, {
29609
29609
  out: {};
29610
29610
  in: {};
@@ -29873,9 +29873,9 @@ declare const ContextConfigListResponse: z.ZodObject<{
29873
29873
  }, z.core.$strip>;
29874
29874
  declare const ApiKeyListResponse: z.ZodObject<{
29875
29875
  data: z.ZodArray<z.ZodObject<{
29876
+ agentId: z.ZodString;
29876
29877
  id: z.ZodString;
29877
29878
  name: z.ZodNullable<z.ZodString>;
29878
- agentId: z.ZodString;
29879
29879
  createdAt: z.ZodString;
29880
29880
  updatedAt: z.ZodString;
29881
29881
  publicId: z.ZodString;
@@ -29895,21 +29895,21 @@ declare const ApiKeyListResponse: z.ZodObject<{
29895
29895
  }, z.core.$strip>;
29896
29896
  declare const CredentialReferenceListResponse: z.ZodObject<{
29897
29897
  data: z.ZodArray<z.ZodObject<{
29898
+ userId: z.ZodNullable<z.ZodString>;
29898
29899
  id: z.ZodString;
29899
29900
  name: z.ZodString;
29900
29901
  createdAt: z.ZodString;
29901
29902
  updatedAt: z.ZodString;
29902
- toolId: z.ZodNullable<z.ZodString>;
29903
29903
  credentialStoreId: z.ZodString;
29904
29904
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
29905
- userId: z.ZodNullable<z.ZodString>;
29905
+ toolId: z.ZodNullable<z.ZodString>;
29906
29906
  createdBy: z.ZodNullable<z.ZodString>;
29907
29907
  type: z.ZodEnum<{
29908
29908
  readonly memory: "memory";
29909
29909
  readonly keychain: "keychain";
29910
29910
  readonly nango: "nango";
29911
29911
  }>;
29912
- tools: z.ZodOptional<z.ZodArray<drizzle_zod3.BuildSchema<"select", {
29912
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod0.BuildSchema<"select", {
29913
29913
  createdAt: drizzle_orm_pg_core0.PgColumn<{
29914
29914
  name: "created_at";
29915
29915
  tableName: "tools";
@@ -30189,7 +30189,7 @@ declare const CredentialReferenceListResponse: z.ZodObject<{
30189
30189
  }, {}, {
30190
30190
  length: 256;
30191
30191
  }>;
30192
- }, drizzle_zod3.BuildRefine<{
30192
+ }, drizzle_zod0.BuildRefine<{
30193
30193
  createdAt: drizzle_orm_pg_core0.PgColumn<{
30194
30194
  name: "created_at";
30195
30195
  tableName: "tools";
@@ -30512,10 +30512,10 @@ declare const FunctionListResponse: z.ZodObject<{
30512
30512
  }, z.core.$strip>;
30513
30513
  declare const FunctionToolListResponse: z.ZodObject<{
30514
30514
  data: z.ZodArray<z.ZodObject<{
30515
- id: z.ZodString;
30516
- name: z.ZodString;
30517
30515
  description: z.ZodNullable<z.ZodString>;
30518
30516
  agentId: z.ZodString;
30517
+ id: z.ZodString;
30518
+ name: z.ZodString;
30519
30519
  createdAt: z.ZodString;
30520
30520
  updatedAt: z.ZodString;
30521
30521
  functionId: z.ZodString;
@@ -30533,7 +30533,7 @@ declare const SubAgentFunctionToolRelationListResponse: z.ZodObject<{
30533
30533
  createdAt: z.ZodString;
30534
30534
  updatedAt: z.ZodString;
30535
30535
  functionToolId: z.ZodString;
30536
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
30536
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
30537
30537
  subAgentId: z.ZodString;
30538
30538
  agentId: z.ZodString;
30539
30539
  projectId: z.ZodString;
@@ -30721,9 +30721,9 @@ declare const SubAgentToolRelationListResponse: z.ZodObject<{
30721
30721
  createdAt: z.ZodString;
30722
30722
  updatedAt: z.ZodString;
30723
30723
  toolId: z.ZodString;
30724
- selectedTools: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
30725
- headers: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
30726
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
30724
+ selectedTools: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
30725
+ headers: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
30726
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
30727
30727
  subAgentId: z.ZodString;
30728
30728
  agentId: z.ZodString;
30729
30729
  projectId: z.ZodString;
@@ -30742,10 +30742,10 @@ declare const TriggerListResponse: z.ZodObject<{
30742
30742
  createdAt: z.ZodString;
30743
30743
  updatedAt: z.ZodString;
30744
30744
  enabled: z.ZodBoolean;
30745
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
30746
- outputTransform: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
30745
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
30746
+ outputTransform: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
30747
30747
  messageTemplate: z.ZodNullable<z.ZodString>;
30748
- authentication: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
30748
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
30749
30749
  name: z.ZodString;
30750
30750
  description: z.ZodNullable<z.ZodString>;
30751
30751
  agentId: z.ZodString;
@@ -30811,8 +30811,8 @@ declare const TriggerInvocationListResponse: z.ZodObject<{
30811
30811
  triggerId: z.ZodString;
30812
30812
  conversationId: z.ZodNullable<z.ZodString>;
30813
30813
  status: z.ZodString;
30814
- requestPayload: z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>;
30815
- transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
30814
+ requestPayload: z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>;
30815
+ transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
30816
30816
  errorMessage: z.ZodNullable<z.ZodString>;
30817
30817
  createdAt: z.ZodString;
30818
30818
  agentId: z.ZodString;
@@ -30829,16 +30829,16 @@ declare const TriggerInvocationListResponse: z.ZodObject<{
30829
30829
  }, z.core.$strip>;
30830
30830
  declare const TriggerWithWebhookUrlResponse: z.ZodObject<{
30831
30831
  data: z.ZodObject<{
30832
+ description: z.ZodNullable<z.ZodString>;
30832
30833
  id: z.ZodString;
30833
30834
  name: z.ZodString;
30834
- description: z.ZodNullable<z.ZodString>;
30835
30835
  createdAt: z.ZodString;
30836
30836
  updatedAt: z.ZodString;
30837
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
30837
30838
  enabled: z.ZodBoolean;
30838
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
30839
- outputTransform: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
30839
+ outputTransform: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
30840
30840
  messageTemplate: z.ZodNullable<z.ZodString>;
30841
- authentication: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
30841
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
30842
30842
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30843
30843
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodObject<{
30844
30844
  algorithm: z.ZodEnum<{
@@ -30890,16 +30890,16 @@ declare const TriggerWithWebhookUrlResponse: z.ZodObject<{
30890
30890
  }, z.core.$strip>;
30891
30891
  declare const TriggerWithWebhookUrlListResponse: z.ZodObject<{
30892
30892
  data: z.ZodArray<z.ZodObject<{
30893
+ description: z.ZodNullable<z.ZodString>;
30893
30894
  id: z.ZodString;
30894
30895
  name: z.ZodString;
30895
- description: z.ZodNullable<z.ZodString>;
30896
30896
  createdAt: z.ZodString;
30897
30897
  updatedAt: z.ZodString;
30898
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
30898
30899
  enabled: z.ZodBoolean;
30899
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
30900
- outputTransform: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
30900
+ outputTransform: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
30901
30901
  messageTemplate: z.ZodNullable<z.ZodString>;
30902
- authentication: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
30902
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
30903
30903
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30904
30904
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodObject<{
30905
30905
  algorithm: z.ZodEnum<{
@@ -30956,9 +30956,9 @@ declare const TriggerWithWebhookUrlListResponse: z.ZodObject<{
30956
30956
  }, z.core.$strip>;
30957
30957
  }, z.core.$strip>;
30958
30958
  declare const ScheduledTriggerWithRunInfoSchema: z.ZodObject<{
30959
+ description: z.ZodNullable<z.ZodString>;
30959
30960
  id: z.ZodString;
30960
30961
  name: z.ZodString;
30961
- description: z.ZodNullable<z.ZodString>;
30962
30962
  createdAt: z.ZodString;
30963
30963
  updatedAt: z.ZodString;
30964
30964
  enabled: z.ZodBoolean;
@@ -31035,9 +31035,9 @@ declare const ScheduledTriggerListResponse: z.ZodObject<{
31035
31035
  }, z.core.$strip>;
31036
31036
  declare const ScheduledTriggerWithRunInfoListResponse: z.ZodObject<{
31037
31037
  data: z.ZodArray<z.ZodObject<{
31038
+ description: z.ZodNullable<z.ZodString>;
31038
31039
  id: z.ZodString;
31039
31040
  name: z.ZodString;
31040
- description: z.ZodNullable<z.ZodString>;
31041
31041
  createdAt: z.ZodString;
31042
31042
  updatedAt: z.ZodString;
31043
31043
  enabled: z.ZodBoolean;
@@ -31194,9 +31194,9 @@ declare const SubAgentSkillResponse: z.ZodObject<{
31194
31194
  }, z.core.$strip>;
31195
31195
  declare const SubAgentSkillWithIndexArrayResponse: z.ZodObject<{
31196
31196
  data: z.ZodArray<z.ZodObject<{
31197
+ description: z.ZodString;
31197
31198
  id: z.ZodString;
31198
31199
  name: z.ZodString;
31199
- description: z.ZodString;
31200
31200
  createdAt: z.ZodString;
31201
31201
  updatedAt: z.ZodString;
31202
31202
  metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -31209,9 +31209,9 @@ declare const SubAgentSkillWithIndexArrayResponse: z.ZodObject<{
31209
31209
  }, z.core.$strip>;
31210
31210
  declare const FullProjectDefinitionResponse: z.ZodObject<{
31211
31211
  data: z.ZodObject<{
31212
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31212
31213
  id: z.ZodString;
31213
31214
  name: z.ZodString;
31214
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31215
31215
  models: z.ZodObject<{
31216
31216
  base: z.ZodObject<{
31217
31217
  model: z.ZodOptional<z.ZodString>;
@@ -31231,18 +31231,19 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31231
31231
  stepCountIs: z.ZodOptional<z.ZodNumber>;
31232
31232
  }, z.core.$strip>>;
31233
31233
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
31234
- name: z.ZodString;
31235
31234
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31236
- defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31235
+ name: z.ZodString;
31237
31236
  createdAt: z.ZodOptional<z.ZodString>;
31238
31237
  updatedAt: z.ZodOptional<z.ZodString>;
31238
+ defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31239
31239
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31240
31240
  id: z.ZodString;
31241
31241
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
31242
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31242
31243
  id: z.ZodString;
31243
31244
  name: z.ZodString;
31244
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31245
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
31245
+ createdAt: z.ZodOptional<z.ZodString>;
31246
+ updatedAt: z.ZodOptional<z.ZodString>;
31246
31247
  models: z.ZodOptional<z.ZodObject<{
31247
31248
  base: z.ZodOptional<z.ZodObject<{
31248
31249
  model: z.ZodOptional<z.ZodString>;
@@ -31257,8 +31258,7 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31257
31258
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
31258
31259
  }, z.core.$strip>>;
31259
31260
  }, z.core.$strip>>;
31260
- createdAt: z.ZodOptional<z.ZodString>;
31261
- updatedAt: z.ZodOptional<z.ZodString>;
31261
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
31262
31262
  type: z.ZodLiteral<"internal">;
31263
31263
  canUse: z.ZodArray<z.ZodObject<{
31264
31264
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -31369,22 +31369,22 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31369
31369
  executeCode: z.ZodString;
31370
31370
  }, z.core.$strip>>>;
31371
31371
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
31372
- name: z.ZodString;
31373
31372
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31373
+ name: z.ZodString;
31374
31374
  createdAt: z.ZodOptional<z.ZodString>;
31375
31375
  updatedAt: z.ZodOptional<z.ZodString>;
31376
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
31376
31377
  enabled: z.ZodOptional<z.ZodBoolean>;
31377
- inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
31378
- outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
31378
+ outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
31379
31379
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31380
- authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
31380
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
31381
31381
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31382
- signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
31382
+ signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
31383
31383
  id: z.ZodOptional<z.ZodString>;
31384
31384
  }, z.core.$strip>>>;
31385
31385
  scheduledTriggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
31386
- name: z.ZodString;
31387
31386
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31387
+ name: z.ZodString;
31388
31388
  createdAt: z.ZodOptional<z.ZodString>;
31389
31389
  updatedAt: z.ZodOptional<z.ZodString>;
31390
31390
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -31393,7 +31393,7 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31393
31393
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31394
31394
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31395
31395
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31396
- payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
31396
+ payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
31397
31397
  maxRetries: z.ZodOptional<z.ZodNumber>;
31398
31398
  retryDelaySeconds: z.ZodOptional<z.ZodNumber>;
31399
31399
  timeoutSeconds: z.ZodOptional<z.ZodNumber>;
@@ -31501,17 +31501,15 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31501
31501
  executeCode: z.ZodString;
31502
31502
  }, z.core.$strip>>>;
31503
31503
  skills: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
31504
- name: z.ZodString;
31505
31504
  description: z.ZodString;
31506
31505
  tenantId: z.ZodString;
31507
31506
  projectId: z.ZodString;
31507
+ name: z.ZodString;
31508
31508
  metadata: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
31509
31509
  content: z.ZodString;
31510
31510
  }>, z.core.$strip>>>;
31511
31511
  dataComponents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
31512
31512
  id: z.ZodString;
31513
- createdAt: z.ZodOptional<z.ZodString>;
31514
- updatedAt: z.ZodOptional<z.ZodString>;
31515
31513
  render: z.ZodOptional<z.ZodNullable<z.ZodType<{
31516
31514
  component: string;
31517
31515
  mockData: Record<string, unknown>;
@@ -31525,6 +31523,8 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31525
31523
  component: string;
31526
31524
  mockData: Record<string, unknown>;
31527
31525
  }>>>>;
31526
+ createdAt: z.ZodOptional<z.ZodString>;
31527
+ updatedAt: z.ZodOptional<z.ZodString>;
31528
31528
  name: z.ZodString;
31529
31529
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31530
31530
  props: z.ZodObject<{
@@ -31590,14 +31590,14 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31590
31590
  }, z.core.$strip>>>;
31591
31591
  }, z.core.$strip>>;
31592
31592
  credentialReferences: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
31593
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31593
31594
  id: z.ZodString;
31594
31595
  name: z.ZodString;
31595
31596
  createdAt: z.ZodOptional<z.ZodString>;
31596
31597
  updatedAt: z.ZodOptional<z.ZodString>;
31597
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31598
31598
  credentialStoreId: z.ZodString;
31599
31599
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
31600
- userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31600
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31601
31601
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31602
31602
  type: z.ZodEnum<{
31603
31603
  readonly memory: "memory";
@@ -31614,9 +31614,11 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31614
31614
  }, z.core.$strip>;
31615
31615
  declare const FullProjectSelectResponse: z.ZodObject<{
31616
31616
  data: z.ZodObject<{
31617
+ description: z.ZodNullable<z.ZodString>;
31617
31618
  id: z.ZodString;
31618
31619
  name: z.ZodString;
31619
- description: z.ZodNullable<z.ZodString>;
31620
+ createdAt: z.ZodString;
31621
+ updatedAt: z.ZodString;
31620
31622
  models: z.ZodNullable<z.ZodObject<{
31621
31623
  base: z.ZodObject<{
31622
31624
  model: z.ZodOptional<z.ZodString>;
@@ -31635,21 +31637,20 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31635
31637
  transferCountIs: z.ZodOptional<z.ZodNumber>;
31636
31638
  stepCountIs: z.ZodOptional<z.ZodNumber>;
31637
31639
  }, z.core.$strip>>;
31638
- createdAt: z.ZodString;
31639
- updatedAt: z.ZodString;
31640
31640
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
31641
+ description: z.ZodNullable<z.ZodString>;
31641
31642
  id: z.ZodString;
31642
31643
  name: z.ZodString;
31643
- description: z.ZodNullable<z.ZodString>;
31644
- defaultSubAgentId: z.ZodNullable<z.ZodString>;
31645
31644
  createdAt: z.ZodString;
31646
31645
  updatedAt: z.ZodString;
31646
+ defaultSubAgentId: z.ZodNullable<z.ZodString>;
31647
31647
  contextConfigId: z.ZodNullable<z.ZodString>;
31648
31648
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
31649
+ description: z.ZodNullable<z.ZodString>;
31649
31650
  id: z.ZodString;
31650
31651
  name: z.ZodString;
31651
- description: z.ZodNullable<z.ZodString>;
31652
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
31652
+ createdAt: z.ZodString;
31653
+ updatedAt: z.ZodString;
31653
31654
  models: z.ZodNullable<z.ZodType<{
31654
31655
  base?: {
31655
31656
  model?: string | undefined;
@@ -31712,8 +31713,7 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31712
31713
  }, {
31713
31714
  stepCountIs?: number | undefined;
31714
31715
  }>>>;
31715
- createdAt: z.ZodString;
31716
- updatedAt: z.ZodString;
31716
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
31717
31717
  type: z.ZodLiteral<"internal">;
31718
31718
  canUse: z.ZodArray<z.ZodObject<{
31719
31719
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -31784,10 +31784,10 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31784
31784
  description: z.ZodString;
31785
31785
  }, z.core.$strip>>>;
31786
31786
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
31787
- id: z.ZodString;
31788
- name: z.ZodString;
31789
31787
  description: z.ZodNullable<z.ZodString>;
31790
31788
  agentId: z.ZodString;
31789
+ id: z.ZodString;
31790
+ name: z.ZodString;
31791
31791
  createdAt: z.ZodString;
31792
31792
  updatedAt: z.ZodString;
31793
31793
  functionId: z.ZodString;
@@ -31895,10 +31895,10 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31895
31895
  id: z.ZodString;
31896
31896
  }>, z.core.$strip>>;
31897
31897
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
31898
- id: z.ZodString;
31899
- name: z.ZodString;
31900
31898
  description: z.ZodNullable<z.ZodString>;
31901
31899
  agentId: z.ZodString;
31900
+ id: z.ZodString;
31901
+ name: z.ZodString;
31902
31902
  createdAt: z.ZodString;
31903
31903
  updatedAt: z.ZodString;
31904
31904
  functionId: z.ZodString;
@@ -32043,21 +32043,21 @@ declare const FullProjectSelectResponse: z.ZodObject<{
32043
32043
  }, z.core.$strip>>>;
32044
32044
  }, z.core.$strip>>;
32045
32045
  credentialReferences: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
32046
+ userId: z.ZodNullable<z.ZodString>;
32046
32047
  id: z.ZodString;
32047
32048
  name: z.ZodString;
32048
32049
  createdAt: z.ZodString;
32049
32050
  updatedAt: z.ZodString;
32050
- toolId: z.ZodNullable<z.ZodString>;
32051
32051
  credentialStoreId: z.ZodString;
32052
32052
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
32053
- userId: z.ZodNullable<z.ZodString>;
32053
+ toolId: z.ZodNullable<z.ZodString>;
32054
32054
  createdBy: z.ZodNullable<z.ZodString>;
32055
32055
  type: z.ZodEnum<{
32056
32056
  readonly memory: "memory";
32057
32057
  readonly keychain: "keychain";
32058
32058
  readonly nango: "nango";
32059
32059
  }>;
32060
- tools: z.ZodOptional<z.ZodArray<drizzle_zod3.BuildSchema<"select", {
32060
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod0.BuildSchema<"select", {
32061
32061
  createdAt: drizzle_orm_pg_core0.PgColumn<{
32062
32062
  name: "created_at";
32063
32063
  tableName: "tools";
@@ -32337,7 +32337,7 @@ declare const FullProjectSelectResponse: z.ZodObject<{
32337
32337
  }, {}, {
32338
32338
  length: 256;
32339
32339
  }>;
32340
- }, drizzle_zod3.BuildRefine<{
32340
+ }, drizzle_zod0.BuildRefine<{
32341
32341
  createdAt: drizzle_orm_pg_core0.PgColumn<{
32342
32342
  name: "created_at";
32343
32343
  tableName: "tools";
@@ -32640,9 +32640,11 @@ declare const FullProjectSelectResponse: z.ZodObject<{
32640
32640
  }, z.core.$strip>;
32641
32641
  declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
32642
32642
  data: z.ZodObject<{
32643
+ description: z.ZodNullable<z.ZodString>;
32643
32644
  id: z.ZodString;
32644
32645
  name: z.ZodString;
32645
- description: z.ZodNullable<z.ZodString>;
32646
+ createdAt: z.ZodString;
32647
+ updatedAt: z.ZodString;
32646
32648
  models: z.ZodNullable<z.ZodObject<{
32647
32649
  base: z.ZodObject<{
32648
32650
  model: z.ZodOptional<z.ZodString>;
@@ -32661,8 +32663,6 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
32661
32663
  transferCountIs: z.ZodOptional<z.ZodNumber>;
32662
32664
  stepCountIs: z.ZodOptional<z.ZodNumber>;
32663
32665
  }, z.core.$strip>>;
32664
- createdAt: z.ZodString;
32665
- updatedAt: z.ZodString;
32666
32666
  tools: z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
32667
32667
  createdAt: z.ZodString;
32668
32668
  updatedAt: z.ZodString;
@@ -32693,10 +32693,10 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
32693
32693
  id: z.ZodString;
32694
32694
  }>, z.core.$strip>>;
32695
32695
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
32696
- id: z.ZodString;
32697
- name: z.ZodString;
32698
32696
  description: z.ZodNullable<z.ZodString>;
32699
32697
  agentId: z.ZodString;
32698
+ id: z.ZodString;
32699
+ name: z.ZodString;
32700
32700
  createdAt: z.ZodString;
32701
32701
  updatedAt: z.ZodString;
32702
32702
  functionId: z.ZodString;
@@ -32841,21 +32841,21 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
32841
32841
  }, z.core.$strip>>>;
32842
32842
  }, z.core.$strip>>;
32843
32843
  credentialReferences: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
32844
+ userId: z.ZodNullable<z.ZodString>;
32844
32845
  id: z.ZodString;
32845
32846
  name: z.ZodString;
32846
32847
  createdAt: z.ZodString;
32847
32848
  updatedAt: z.ZodString;
32848
- toolId: z.ZodNullable<z.ZodString>;
32849
32849
  credentialStoreId: z.ZodString;
32850
32850
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
32851
- userId: z.ZodNullable<z.ZodString>;
32851
+ toolId: z.ZodNullable<z.ZodString>;
32852
32852
  createdBy: z.ZodNullable<z.ZodString>;
32853
32853
  type: z.ZodEnum<{
32854
32854
  readonly memory: "memory";
32855
32855
  readonly keychain: "keychain";
32856
32856
  readonly nango: "nango";
32857
32857
  }>;
32858
- tools: z.ZodOptional<z.ZodArray<drizzle_zod3.BuildSchema<"select", {
32858
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod0.BuildSchema<"select", {
32859
32859
  createdAt: drizzle_orm_pg_core0.PgColumn<{
32860
32860
  name: "created_at";
32861
32861
  tableName: "tools";
@@ -33135,7 +33135,7 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33135
33135
  }, {}, {
33136
33136
  length: 256;
33137
33137
  }>;
33138
- }, drizzle_zod3.BuildRefine<{
33138
+ }, drizzle_zod0.BuildRefine<{
33139
33139
  createdAt: drizzle_orm_pg_core0.PgColumn<{
33140
33140
  name: "created_at";
33141
33141
  tableName: "tools";
@@ -33432,12 +33432,12 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33432
33432
  }>>>;
33433
33433
  }, z.core.$strip>>>;
33434
33434
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
33435
+ description: z.ZodNullable<z.ZodString>;
33435
33436
  id: z.ZodString;
33436
33437
  name: z.ZodString;
33437
- description: z.ZodNullable<z.ZodString>;
33438
- defaultSubAgentId: z.ZodNullable<z.ZodString>;
33439
33438
  createdAt: z.ZodString;
33440
33439
  updatedAt: z.ZodString;
33440
+ defaultSubAgentId: z.ZodNullable<z.ZodString>;
33441
33441
  contextConfigId: z.ZodNullable<z.ZodString>;
33442
33442
  tools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
33443
33443
  createdAt: z.ZodString;
@@ -33485,10 +33485,10 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33485
33485
  description: z.ZodString;
33486
33486
  }, z.core.$strip>>>;
33487
33487
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
33488
- id: z.ZodString;
33489
- name: z.ZodString;
33490
33488
  description: z.ZodNullable<z.ZodString>;
33491
33489
  agentId: z.ZodString;
33490
+ id: z.ZodString;
33491
+ name: z.ZodString;
33492
33492
  createdAt: z.ZodString;
33493
33493
  updatedAt: z.ZodString;
33494
33494
  functionId: z.ZodString;
@@ -33566,10 +33566,11 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33566
33566
  }, z.core.$strip>>;
33567
33567
  prompt: z.ZodNullable<z.ZodString>;
33568
33568
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
33569
+ description: z.ZodNullable<z.ZodString>;
33569
33570
  id: z.ZodString;
33570
33571
  name: z.ZodString;
33571
- description: z.ZodNullable<z.ZodString>;
33572
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
33572
+ createdAt: z.ZodString;
33573
+ updatedAt: z.ZodString;
33573
33574
  models: z.ZodNullable<z.ZodType<{
33574
33575
  base?: {
33575
33576
  model?: string | undefined;
@@ -33632,8 +33633,7 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33632
33633
  }, {
33633
33634
  stepCountIs?: number | undefined;
33634
33635
  }>>>;
33635
- createdAt: z.ZodString;
33636
- updatedAt: z.ZodString;
33636
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
33637
33637
  type: z.ZodLiteral<"internal">;
33638
33638
  canUse: z.ZodArray<z.ZodObject<{
33639
33639
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -33672,18 +33672,19 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33672
33672
  }, z.core.$strip>;
33673
33673
  declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
33674
33674
  data: z.ZodObject<{
33675
- name: z.ZodString;
33676
33675
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33677
- defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33676
+ name: z.ZodString;
33678
33677
  createdAt: z.ZodOptional<z.ZodString>;
33679
33678
  updatedAt: z.ZodOptional<z.ZodString>;
33679
+ defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33680
33680
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33681
33681
  id: z.ZodString;
33682
33682
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
33683
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33683
33684
  id: z.ZodString;
33684
33685
  name: z.ZodString;
33685
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33686
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
33686
+ createdAt: z.ZodOptional<z.ZodString>;
33687
+ updatedAt: z.ZodOptional<z.ZodString>;
33687
33688
  models: z.ZodOptional<z.ZodObject<{
33688
33689
  base: z.ZodOptional<z.ZodObject<{
33689
33690
  model: z.ZodOptional<z.ZodString>;
@@ -33698,8 +33699,7 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
33698
33699
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
33699
33700
  }, z.core.$strip>>;
33700
33701
  }, z.core.$strip>>;
33701
- createdAt: z.ZodOptional<z.ZodString>;
33702
- updatedAt: z.ZodOptional<z.ZodString>;
33702
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
33703
33703
  type: z.ZodLiteral<"internal">;
33704
33704
  canUse: z.ZodArray<z.ZodObject<{
33705
33705
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -33810,22 +33810,22 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
33810
33810
  executeCode: z.ZodString;
33811
33811
  }, z.core.$strip>>>;
33812
33812
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
33813
- name: z.ZodString;
33814
33813
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33814
+ name: z.ZodString;
33815
33815
  createdAt: z.ZodOptional<z.ZodString>;
33816
33816
  updatedAt: z.ZodOptional<z.ZodString>;
33817
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
33817
33818
  enabled: z.ZodOptional<z.ZodBoolean>;
33818
- inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
33819
- outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
33819
+ outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
33820
33820
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33821
- authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
33821
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
33822
33822
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33823
- signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
33823
+ signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
33824
33824
  id: z.ZodOptional<z.ZodString>;
33825
33825
  }, z.core.$strip>>>;
33826
33826
  scheduledTriggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
33827
- name: z.ZodString;
33828
33827
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33828
+ name: z.ZodString;
33829
33829
  createdAt: z.ZodOptional<z.ZodString>;
33830
33830
  updatedAt: z.ZodOptional<z.ZodString>;
33831
33831
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -33834,7 +33834,7 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
33834
33834
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33835
33835
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33836
33836
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33837
- payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>>;
33837
+ payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>>;
33838
33838
  maxRetries: z.ZodOptional<z.ZodNumber>;
33839
33839
  retryDelaySeconds: z.ZodOptional<z.ZodNumber>;
33840
33840
  timeoutSeconds: z.ZodOptional<z.ZodNumber>;
@@ -33883,18 +33883,19 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
33883
33883
  }, z.core.$strip>;
33884
33884
  declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
33885
33885
  data: z.ZodObject<{
33886
+ description: z.ZodNullable<z.ZodString>;
33886
33887
  id: z.ZodString;
33887
33888
  name: z.ZodString;
33888
- description: z.ZodNullable<z.ZodString>;
33889
- defaultSubAgentId: z.ZodNullable<z.ZodString>;
33890
33889
  createdAt: z.ZodString;
33891
33890
  updatedAt: z.ZodString;
33891
+ defaultSubAgentId: z.ZodNullable<z.ZodString>;
33892
33892
  contextConfigId: z.ZodNullable<z.ZodString>;
33893
33893
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
33894
+ description: z.ZodNullable<z.ZodString>;
33894
33895
  id: z.ZodString;
33895
33896
  name: z.ZodString;
33896
- description: z.ZodNullable<z.ZodString>;
33897
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
33897
+ createdAt: z.ZodString;
33898
+ updatedAt: z.ZodString;
33898
33899
  models: z.ZodNullable<z.ZodType<{
33899
33900
  base?: {
33900
33901
  model?: string | undefined;
@@ -33957,8 +33958,7 @@ declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
33957
33958
  }, {
33958
33959
  stepCountIs?: number | undefined;
33959
33960
  }>>>;
33960
- createdAt: z.ZodString;
33961
- updatedAt: z.ZodString;
33961
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
33962
33962
  type: z.ZodLiteral<"internal">;
33963
33963
  canUse: z.ZodArray<z.ZodObject<{
33964
33964
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -34029,10 +34029,10 @@ declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
34029
34029
  description: z.ZodString;
34030
34030
  }, z.core.$strip>>>;
34031
34031
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
34032
- id: z.ZodString;
34033
- name: z.ZodString;
34034
34032
  description: z.ZodNullable<z.ZodString>;
34035
34033
  agentId: z.ZodString;
34034
+ id: z.ZodString;
34035
+ name: z.ZodString;
34036
34036
  createdAt: z.ZodString;
34037
34037
  updatedAt: z.ZodString;
34038
34038
  functionId: z.ZodString;
@@ -34178,9 +34178,9 @@ declare const McpToolResponse: z.ZodObject<{
34178
34178
  inputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
34179
34179
  }, z.core.$strip>>>;
34180
34180
  status: z.ZodDefault<z.ZodEnum<{
34181
- unknown: "unknown";
34182
34181
  healthy: "healthy";
34183
34182
  unhealthy: "unhealthy";
34183
+ unknown: "unknown";
34184
34184
  needs_auth: "needs_auth";
34185
34185
  unavailable: "unavailable";
34186
34186
  }>>;
@@ -34241,9 +34241,9 @@ declare const McpToolListResponse: z.ZodObject<{
34241
34241
  inputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
34242
34242
  }, z.core.$strip>>>;
34243
34243
  status: z.ZodDefault<z.ZodEnum<{
34244
- unknown: "unknown";
34245
34244
  healthy: "healthy";
34246
34245
  unhealthy: "unhealthy";
34246
+ unknown: "unknown";
34247
34247
  needs_auth: "needs_auth";
34248
34248
  unavailable: "unavailable";
34249
34249
  }>>;
@@ -34267,7 +34267,7 @@ declare const SubAgentTeamAgentRelationResponse: z.ZodObject<{
34267
34267
  createdAt: z.ZodString;
34268
34268
  updatedAt: z.ZodString;
34269
34269
  targetAgentId: z.ZodString;
34270
- headers: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
34270
+ headers: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
34271
34271
  subAgentId: z.ZodString;
34272
34272
  agentId: z.ZodString;
34273
34273
  projectId: z.ZodString;
@@ -34280,7 +34280,7 @@ declare const SubAgentTeamAgentRelationListResponse: z.ZodObject<{
34280
34280
  createdAt: z.ZodString;
34281
34281
  updatedAt: z.ZodString;
34282
34282
  targetAgentId: z.ZodString;
34283
- headers: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
34283
+ headers: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
34284
34284
  subAgentId: z.ZodString;
34285
34285
  agentId: z.ZodString;
34286
34286
  projectId: z.ZodString;
@@ -34299,7 +34299,7 @@ declare const SubAgentExternalAgentRelationResponse: z.ZodObject<{
34299
34299
  createdAt: z.ZodString;
34300
34300
  updatedAt: z.ZodString;
34301
34301
  externalAgentId: z.ZodString;
34302
- headers: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
34302
+ headers: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
34303
34303
  subAgentId: z.ZodString;
34304
34304
  agentId: z.ZodString;
34305
34305
  projectId: z.ZodString;
@@ -34312,7 +34312,7 @@ declare const SubAgentExternalAgentRelationListResponse: z.ZodObject<{
34312
34312
  createdAt: z.ZodString;
34313
34313
  updatedAt: z.ZodString;
34314
34314
  externalAgentId: z.ZodString;
34315
- headers: z.ZodNullable<z.ZodType<drizzle_zod3.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod3.Json, unknown>>>;
34315
+ headers: z.ZodNullable<z.ZodType<drizzle_zod0.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod0.Json, unknown>>>;
34316
34316
  subAgentId: z.ZodString;
34317
34317
  agentId: z.ZodString;
34318
34318
  projectId: z.ZodString;
@@ -34539,7 +34539,7 @@ declare const PaginationWithRefQueryParamsSchema: z.ZodObject<{
34539
34539
  limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
34540
34540
  ref: z.ZodOptional<z.ZodString>;
34541
34541
  }, z.core.$strip>;
34542
- declare const ProjectMetadataSelectSchema: drizzle_zod3.BuildSchema<"select", {
34542
+ declare const ProjectMetadataSelectSchema: drizzle_zod0.BuildSchema<"select", {
34543
34543
  id: drizzle_orm_pg_core0.PgColumn<{
34544
34544
  name: "id";
34545
34545
  tableName: "project_metadata";
@@ -34633,7 +34633,7 @@ declare const ProjectMetadataSelectSchema: drizzle_zod3.BuildSchema<"select", {
34633
34633
  }, {}, {
34634
34634
  length: 512;
34635
34635
  }>;
34636
- }, drizzle_zod3.BuildRefine<{
34636
+ }, drizzle_zod0.BuildRefine<{
34637
34637
  id: drizzle_orm_pg_core0.PgColumn<{
34638
34638
  name: "id";
34639
34639
  tableName: "project_metadata";
@@ -34729,8 +34729,8 @@ declare const ProjectMetadataSelectSchema: drizzle_zod3.BuildSchema<"select", {
34729
34729
  }>;
34730
34730
  }, undefined>, undefined>;
34731
34731
  declare const ProjectMetadataInsertSchema: z.ZodObject<{
34732
- id: z.ZodString;
34733
34732
  tenantId: z.ZodString;
34733
+ id: z.ZodString;
34734
34734
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34735
34735
  mainBranchName: z.ZodString;
34736
34736
  }, {
@@ -34747,7 +34747,7 @@ declare const WorkAppGitHubAccountTypeSchema: z.ZodEnum<{
34747
34747
  Organization: "Organization";
34748
34748
  User: "User";
34749
34749
  }>;
34750
- declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod3.BuildSchema<"select", {
34750
+ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod0.BuildSchema<"select", {
34751
34751
  createdAt: drizzle_orm_pg_core0.PgColumn<{
34752
34752
  name: "created_at";
34753
34753
  tableName: "work_app_github_installations";
@@ -34913,7 +34913,7 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod3.BuildSchema<"s
34913
34913
  }, {}, {
34914
34914
  length: 256;
34915
34915
  }>;
34916
- }, drizzle_zod3.BuildRefine<{
34916
+ }, drizzle_zod0.BuildRefine<{
34917
34917
  createdAt: drizzle_orm_pg_core0.PgColumn<{
34918
34918
  name: "created_at";
34919
34919
  tableName: "work_app_github_installations";
@@ -35081,8 +35081,8 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod3.BuildSchema<"s
35081
35081
  }>;
35082
35082
  }, undefined>, undefined>;
35083
35083
  declare const WorkAppGitHubInstallationInsertSchema: z.ZodObject<{
35084
- id: z.ZodString;
35085
35084
  tenantId: z.ZodString;
35085
+ id: z.ZodString;
35086
35086
  installationId: z.ZodString;
35087
35087
  accountLogin: z.ZodString;
35088
35088
  accountId: z.ZodString;
@@ -35112,8 +35112,8 @@ declare const WorkAppGithubInstallationApiSelectSchema: z.ZodObject<OmitTenantSc
35112
35112
  id: z.ZodString;
35113
35113
  }>, z.core.$strip>;
35114
35114
  declare const WorkAppGitHubInstallationApiInsertSchema: z.ZodObject<OmitGeneratedFields<{
35115
- id: z.ZodString;
35116
35115
  tenantId: z.ZodString;
35116
+ id: z.ZodString;
35117
35117
  installationId: z.ZodString;
35118
35118
  accountLogin: z.ZodString;
35119
35119
  accountId: z.ZodString;
@@ -35128,7 +35128,7 @@ declare const WorkAppGitHubInstallationApiInsertSchema: z.ZodObject<OmitGenerate
35128
35128
  disconnected: "disconnected";
35129
35129
  }>>>;
35130
35130
  }>, z.core.$strip>;
35131
- declare const WorkAppGitHubRepositorySelectSchema: drizzle_zod3.BuildSchema<"select", {
35131
+ declare const WorkAppGitHubRepositorySelectSchema: drizzle_zod0.BuildSchema<"select", {
35132
35132
  createdAt: drizzle_orm_pg_core0.PgColumn<{
35133
35133
  name: "created_at";
35134
35134
  tableName: "work_app_github_repositories";
@@ -35273,7 +35273,7 @@ declare const WorkAppGitHubRepositorySelectSchema: drizzle_zod3.BuildSchema<"sel
35273
35273
  identity: undefined;
35274
35274
  generated: undefined;
35275
35275
  }, {}, {}>;
35276
- }, drizzle_zod3.BuildRefine<{
35276
+ }, drizzle_zod0.BuildRefine<{
35277
35277
  createdAt: drizzle_orm_pg_core0.PgColumn<{
35278
35278
  name: "created_at";
35279
35279
  tableName: "work_app_github_repositories";
@@ -35439,7 +35439,7 @@ declare const WorkAppGitHubRepositoryApiInsertSchema: z.ZodObject<OmitGeneratedF
35439
35439
  repositoryFullName: z.ZodString;
35440
35440
  private: z.ZodOptional<z.ZodBoolean>;
35441
35441
  }>>, z.core.$strip>;
35442
- declare const WorkAppGitHubProjectRepositoryAccessSelectSchema: drizzle_zod3.BuildSchema<"select", {
35442
+ declare const WorkAppGitHubProjectRepositoryAccessSelectSchema: drizzle_zod0.BuildSchema<"select", {
35443
35443
  createdAt: drizzle_orm_pg_core0.PgColumn<{
35444
35444
  name: "created_at";
35445
35445
  tableName: "work_app_github_project_repository_access";
@@ -35550,7 +35550,7 @@ declare const WorkAppGitHubProjectRepositoryAccessSelectSchema: drizzle_zod3.Bui
35550
35550
  }, {}, {
35551
35551
  length: 256;
35552
35552
  }>;
35553
- }, drizzle_zod3.BuildRefine<{
35553
+ }, drizzle_zod0.BuildRefine<{
35554
35554
  createdAt: drizzle_orm_pg_core0.PgColumn<{
35555
35555
  name: "created_at";
35556
35556
  tableName: "work_app_github_project_repository_access";
@@ -35662,7 +35662,7 @@ declare const WorkAppGitHubProjectRepositoryAccessSelectSchema: drizzle_zod3.Bui
35662
35662
  length: 256;
35663
35663
  }>;
35664
35664
  }, undefined>, undefined>;
35665
- declare const WorkAppGitHubMcpToolRepositoryAccessSelectSchema: drizzle_zod3.BuildSchema<"select", {
35665
+ declare const WorkAppGitHubMcpToolRepositoryAccessSelectSchema: drizzle_zod0.BuildSchema<"select", {
35666
35666
  createdAt: drizzle_orm_pg_core0.PgColumn<{
35667
35667
  name: "created_at";
35668
35668
  tableName: "work_app_github_mcp_tool_repository_access";
@@ -35792,7 +35792,7 @@ declare const WorkAppGitHubMcpToolRepositoryAccessSelectSchema: drizzle_zod3.Bui
35792
35792
  }, {}, {
35793
35793
  length: 256;
35794
35794
  }>;
35795
- }, drizzle_zod3.BuildRefine<{
35795
+ }, drizzle_zod0.BuildRefine<{
35796
35796
  createdAt: drizzle_orm_pg_core0.PgColumn<{
35797
35797
  name: "created_at";
35798
35798
  tableName: "work_app_github_mcp_tool_repository_access";
@@ -35946,7 +35946,7 @@ declare const WorkAppGitHubAccessGetResponseSchema: z.ZodObject<{
35946
35946
  all: "all";
35947
35947
  selected: "selected";
35948
35948
  }>;
35949
- repositories: z.ZodArray<drizzle_zod3.BuildSchema<"select", {
35949
+ repositories: z.ZodArray<drizzle_zod0.BuildSchema<"select", {
35950
35950
  createdAt: drizzle_orm_pg_core0.PgColumn<{
35951
35951
  name: "created_at";
35952
35952
  tableName: "work_app_github_repositories";
@@ -36091,7 +36091,7 @@ declare const WorkAppGitHubAccessGetResponseSchema: z.ZodObject<{
36091
36091
  identity: undefined;
36092
36092
  generated: undefined;
36093
36093
  }, {}, {}>;
36094
- }, drizzle_zod3.BuildRefine<{
36094
+ }, drizzle_zod0.BuildRefine<{
36095
36095
  createdAt: drizzle_orm_pg_core0.PgColumn<{
36096
36096
  name: "created_at";
36097
36097
  tableName: "work_app_github_repositories";
@@ -36238,7 +36238,7 @@ declare const WorkAppGitHubAccessGetResponseSchema: z.ZodObject<{
36238
36238
  }, {}, {}>;
36239
36239
  }, undefined>, undefined>>;
36240
36240
  }, z.core.$strip>;
36241
- declare const WorkAppSlackChannelAgentConfigSelectSchema: drizzle_zod3.BuildSchema<"select", {
36241
+ declare const WorkAppSlackChannelAgentConfigSelectSchema: drizzle_zod0.BuildSchema<"select", {
36242
36242
  createdAt: drizzle_orm_pg_core0.PgColumn<{
36243
36243
  name: "created_at";
36244
36244
  tableName: "work_app_slack_channel_agent_configs";
@@ -36476,7 +36476,7 @@ declare const WorkAppSlackChannelAgentConfigSelectSchema: drizzle_zod3.BuildSche
36476
36476
  identity: undefined;
36477
36477
  generated: undefined;
36478
36478
  }, {}, {}>;
36479
- }, drizzle_zod3.BuildRefine<{
36479
+ }, drizzle_zod0.BuildRefine<{
36480
36480
  createdAt: drizzle_orm_pg_core0.PgColumn<{
36481
36481
  name: "created_at";
36482
36482
  tableName: "work_app_slack_channel_agent_configs";
@@ -36715,7 +36715,7 @@ declare const WorkAppSlackChannelAgentConfigSelectSchema: drizzle_zod3.BuildSche
36715
36715
  generated: undefined;
36716
36716
  }, {}, {}>;
36717
36717
  }, undefined>, undefined>;
36718
- declare const WorkAppSlackWorkspaceSelectSchema: drizzle_zod3.BuildSchema<"select", {
36718
+ declare const WorkAppSlackWorkspaceSelectSchema: drizzle_zod0.BuildSchema<"select", {
36719
36719
  createdAt: drizzle_orm_pg_core0.PgColumn<{
36720
36720
  name: "created_at";
36721
36721
  tableName: "work_app_slack_workspaces";
@@ -37010,7 +37010,7 @@ declare const WorkAppSlackWorkspaceSelectSchema: drizzle_zod3.BuildSchema<"selec
37010
37010
  identity: undefined;
37011
37011
  generated: undefined;
37012
37012
  }, {}, {}>;
37013
- }, drizzle_zod3.BuildRefine<{
37013
+ }, drizzle_zod0.BuildRefine<{
37014
37014
  createdAt: drizzle_orm_pg_core0.PgColumn<{
37015
37015
  name: "created_at";
37016
37016
  tableName: "work_app_slack_workspaces";
@@ -37307,16 +37307,16 @@ declare const WorkAppSlackWorkspaceSelectSchema: drizzle_zod3.BuildSchema<"selec
37307
37307
  }, {}, {}>;
37308
37308
  }, undefined>, undefined>;
37309
37309
  declare const WorkAppSlackAgentConfigRequestSchema: z.ZodObject<{
37310
- projectId: z.ZodString;
37311
37310
  agentId: z.ZodString;
37311
+ projectId: z.ZodString;
37312
37312
  grantAccessToMembers: z.ZodOptional<z.ZodBoolean>;
37313
37313
  }, {
37314
37314
  out: {};
37315
37315
  in: {};
37316
37316
  }>;
37317
37317
  declare const WorkAppSlackAgentConfigResponseSchema: z.ZodObject<{
37318
- projectId: z.ZodString;
37319
37318
  agentId: z.ZodString;
37319
+ projectId: z.ZodString;
37320
37320
  grantAccessToMembers: z.ZodOptional<z.ZodBoolean>;
37321
37321
  agentName: z.ZodString;
37322
37322
  projectName: z.ZodOptional<z.ZodString>;