@inkeep/agents-core 0.0.0-dev-20260305213948 → 0.0.0-dev-20260306030811

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_core217 from "drizzle-orm/pg-core";
7
- import * as drizzle_zod15 from "drizzle-zod";
7
+ import * as drizzle_zod19 from "drizzle-zod";
8
8
 
9
9
  //#region src/validation/schemas.d.ts
10
10
  declare const StringRecordSchema: z.ZodRecord<z.ZodString, z.ZodString>;
@@ -131,7 +131,7 @@ type OmitAgentScope<T> = Omit<T, 'tenantId' | 'projectId' | 'agentId'>;
131
131
  type OmitTenantScope<T> = Omit<T, 'tenantId'>;
132
132
  type OmitTimestamps<T> = Omit<T, 'createdAt' | 'updatedAt'>;
133
133
  type OmitGeneratedFields<T> = Omit<T, 'id' | 'createdAt' | 'updatedAt'>;
134
- declare const SubAgentSelectSchema: drizzle_zod15.BuildSchema<"select", {
134
+ declare const SubAgentSelectSchema: drizzle_zod19.BuildSchema<"select", {
135
135
  createdAt: drizzle_orm_pg_core217.PgColumn<{
136
136
  name: "created_at";
137
137
  tableName: "sub_agents";
@@ -382,7 +382,7 @@ declare const SubAgentSelectSchema: drizzle_zod15.BuildSchema<"select", {
382
382
  }, {}, {
383
383
  length: 256;
384
384
  }>;
385
- }, drizzle_zod15.BuildRefine<{
385
+ }, drizzle_zod19.BuildRefine<{
386
386
  createdAt: drizzle_orm_pg_core217.PgColumn<{
387
387
  name: "created_at";
388
388
  tableName: "sub_agents";
@@ -820,11 +820,11 @@ declare const SubAgentApiInsertSchema: z.ZodObject<OmitAgentScope<{
820
820
  }, z.core.$strip>>;
821
821
  }>, z.core.$strip>;
822
822
  declare const SubAgentApiUpdateSchema: z.ZodObject<{
823
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
824
823
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
824
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
825
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
826
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
825
827
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
826
- prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
827
- conversationHistoryConfig: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>>>;
828
828
  models: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodObject<{
829
829
  base: z.ZodOptional<z.ZodObject<{
830
830
  model: z.ZodOptional<z.ZodString>;
@@ -848,10 +848,10 @@ declare const SubAgentApiUpdateSchema: z.ZodObject<{
848
848
  }, {
849
849
  stepCountIs?: number | undefined;
850
850
  }>>>>>>;
851
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
852
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
851
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
852
+ conversationHistoryConfig: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>>>;
853
853
  }, z.core.$strip>;
854
- declare const SubAgentRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
854
+ declare const SubAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
855
855
  createdAt: drizzle_orm_pg_core217.PgColumn<{
856
856
  name: "created_at";
857
857
  tableName: "sub_agent_relations";
@@ -1019,7 +1019,7 @@ declare const SubAgentRelationSelectSchema: drizzle_zod15.BuildSchema<"select",
1019
1019
  }, {}, {
1020
1020
  length: 256;
1021
1021
  }>;
1022
- }, drizzle_zod15.BuildRefine<{
1022
+ }, drizzle_zod19.BuildRefine<{
1023
1023
  createdAt: drizzle_orm_pg_core217.PgColumn<{
1024
1024
  name: "created_at";
1025
1025
  tableName: "sub_agent_relations";
@@ -1290,7 +1290,7 @@ declare const ExternalSubAgentRelationApiInsertSchema: z.ZodObject<OmitProjectSc
1290
1290
  sourceSubAgentId: z.ZodString;
1291
1291
  externalSubAgentId: z.ZodString;
1292
1292
  }>, z.core.$strip>;
1293
- declare const AgentSelectSchema: drizzle_zod15.BuildSchema<"select", {
1293
+ declare const AgentSelectSchema: drizzle_zod19.BuildSchema<"select", {
1294
1294
  createdAt: drizzle_orm_pg_core217.PgColumn<{
1295
1295
  name: "created_at";
1296
1296
  tableName: "agent";
@@ -1588,7 +1588,7 @@ declare const AgentSelectSchema: drizzle_zod15.BuildSchema<"select", {
1588
1588
  }, {}, {
1589
1589
  length: 256;
1590
1590
  }>;
1591
- }, drizzle_zod15.BuildRefine<{
1591
+ }, drizzle_zod19.BuildRefine<{
1592
1592
  createdAt: drizzle_orm_pg_core217.PgColumn<{
1593
1593
  name: "created_at";
1594
1594
  tableName: "agent";
@@ -1887,7 +1887,7 @@ declare const AgentSelectSchema: drizzle_zod15.BuildSchema<"select", {
1887
1887
  length: 256;
1888
1888
  }>;
1889
1889
  }, undefined>, undefined>;
1890
- declare const AgentInsertSchema: drizzle_zod15.BuildSchema<"insert", {
1890
+ declare const AgentInsertSchema: drizzle_zod19.BuildSchema<"insert", {
1891
1891
  createdAt: drizzle_orm_pg_core217.PgColumn<{
1892
1892
  name: "created_at";
1893
1893
  tableName: "agent";
@@ -2185,7 +2185,7 @@ declare const AgentInsertSchema: drizzle_zod15.BuildSchema<"insert", {
2185
2185
  }, {}, {
2186
2186
  length: 256;
2187
2187
  }>;
2188
- }, drizzle_zod15.BuildRefine<Pick<{
2188
+ }, drizzle_zod19.BuildRefine<Pick<{
2189
2189
  createdAt: drizzle_orm_pg_core217.PgColumn<{
2190
2190
  name: "created_at";
2191
2191
  tableName: "agent";
@@ -2483,7 +2483,7 @@ declare const AgentInsertSchema: drizzle_zod15.BuildSchema<"insert", {
2483
2483
  }, {}, {
2484
2484
  length: 256;
2485
2485
  }>;
2486
- }, "id" | "name" | "description" | "defaultSubAgentId" | "tenantId" | "projectId" | "prompt" | "models" | "stopWhen" | "createdAt" | "updatedAt" | "contextConfigId" | "statusUpdates">, undefined>, undefined>;
2486
+ }, "name" | "id" | "createdAt" | "updatedAt" | "description" | "tenantId" | "projectId" | "models" | "stopWhen" | "prompt" | "defaultSubAgentId" | "contextConfigId" | "statusUpdates">, undefined>, undefined>;
2487
2487
  declare const AgentUpdateSchema: z.ZodObject<{
2488
2488
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2489
2489
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -2751,9 +2751,9 @@ declare const AgentApiSelectSchema: z.ZodObject<OmitProjectScope<{
2751
2751
  }>, z.core.$strip>;
2752
2752
  declare const AgentApiInsertSchema: z.ZodObject<{
2753
2753
  name: z.ZodString;
2754
+ createdAt: z.ZodOptional<z.ZodString>;
2755
+ updatedAt: z.ZodOptional<z.ZodString>;
2754
2756
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2755
- defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2756
- prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2757
2757
  models: z.ZodOptional<z.ZodNullable<z.ZodType<{
2758
2758
  base?: {
2759
2759
  model?: string | undefined;
@@ -2816,8 +2816,8 @@ declare const AgentApiInsertSchema: z.ZodObject<{
2816
2816
  }, {
2817
2817
  transferCountIs?: number | undefined;
2818
2818
  }>>>>;
2819
- createdAt: z.ZodOptional<z.ZodString>;
2820
- updatedAt: z.ZodOptional<z.ZodString>;
2819
+ prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2820
+ defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2821
2821
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2822
2822
  statusUpdates: z.ZodOptional<z.ZodNullable<z.ZodType<{
2823
2823
  enabled?: boolean | undefined;
@@ -2879,11 +2879,11 @@ declare const AgentApiInsertSchema: z.ZodObject<{
2879
2879
  id: z.ZodString;
2880
2880
  }, z.core.$strip>;
2881
2881
  declare const AgentApiUpdateSchema: z.ZodObject<{
2882
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2883
2882
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2883
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2884
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2885
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2884
2886
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2885
- defaultSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2886
- prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2887
2887
  models: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
2888
2888
  base?: {
2889
2889
  model?: string | undefined;
@@ -2946,8 +2946,8 @@ declare const AgentApiUpdateSchema: z.ZodObject<{
2946
2946
  }, {
2947
2947
  transferCountIs?: number | undefined;
2948
2948
  }>>>>>>;
2949
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2950
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
2949
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2950
+ defaultSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2951
2951
  contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
2952
2952
  statusUpdates: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
2953
2953
  enabled?: boolean | undefined;
@@ -3282,10 +3282,10 @@ declare const TriggerSelectSchema: z.ZodObject<{
3282
3282
  createdAt: z.ZodString;
3283
3283
  updatedAt: z.ZodString;
3284
3284
  enabled: z.ZodBoolean;
3285
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
3286
- outputTransform: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
3285
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
3286
+ outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
3287
3287
  messageTemplate: z.ZodNullable<z.ZodString>;
3288
- authentication: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
3288
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
3289
3289
  name: z.ZodString;
3290
3290
  description: z.ZodNullable<z.ZodString>;
3291
3291
  agentId: z.ZodString;
@@ -3344,7 +3344,7 @@ declare const TriggerSelectSchema: z.ZodObject<{
3344
3344
  out: {};
3345
3345
  in: {};
3346
3346
  }>;
3347
- declare const TriggerInsertSchema: drizzle_zod15.BuildSchema<"insert", {
3347
+ declare const TriggerInsertSchema: drizzle_zod19.BuildSchema<"insert", {
3348
3348
  createdAt: drizzle_orm_pg_core217.PgColumn<{
3349
3349
  name: "created_at";
3350
3350
  tableName: "triggers";
@@ -3714,7 +3714,7 @@ declare const TriggerInsertSchema: drizzle_zod15.BuildSchema<"insert", {
3714
3714
  }, {}, {
3715
3715
  length: 256;
3716
3716
  }>;
3717
- }, drizzle_zod15.BuildRefine<Pick<{
3717
+ }, drizzle_zod19.BuildRefine<Pick<{
3718
3718
  createdAt: drizzle_orm_pg_core217.PgColumn<{
3719
3719
  name: "created_at";
3720
3720
  tableName: "triggers";
@@ -4084,16 +4084,16 @@ declare const TriggerInsertSchema: drizzle_zod15.BuildSchema<"insert", {
4084
4084
  }, {}, {
4085
4085
  length: 256;
4086
4086
  }>;
4087
- }, "id" | "name" | "description" | "tenantId" | "projectId" | "agentId" | "createdAt" | "updatedAt" | "enabled" | "inputSchema" | "outputTransform" | "messageTemplate" | "authentication" | "signingSecretCredentialReferenceId" | "signatureVerification" | "runAsUserId" | "createdBy">, undefined>, undefined>;
4087
+ }, "name" | "id" | "createdAt" | "updatedAt" | "description" | "enabled" | "tenantId" | "projectId" | "agentId" | "inputSchema" | "outputTransform" | "messageTemplate" | "authentication" | "signingSecretCredentialReferenceId" | "signatureVerification" | "runAsUserId" | "createdBy">, undefined>, undefined>;
4088
4088
  declare const TriggerUpdateSchema: z.ZodObject<{
4089
4089
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4090
4090
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4091
- inputSchema: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
4092
- outputTransform: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
4091
+ inputSchema: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
4092
+ outputTransform: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
4093
4093
  messageTemplate: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4094
- authentication: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
4094
+ authentication: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
4095
4095
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4096
- signatureVerification: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
4096
+ signatureVerification: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
4097
4097
  runAsUserId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4098
4098
  createdBy: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4099
4099
  name: z.ZodOptional<z.ZodString>;
@@ -4111,10 +4111,10 @@ declare const TriggerApiSelectSchema: z.ZodObject<OmitAgentScope<{
4111
4111
  createdAt: z.ZodString;
4112
4112
  updatedAt: z.ZodString;
4113
4113
  enabled: z.ZodBoolean;
4114
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
4115
- outputTransform: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
4114
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
4115
+ outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
4116
4116
  messageTemplate: z.ZodNullable<z.ZodString>;
4117
- authentication: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
4117
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
4118
4118
  name: z.ZodString;
4119
4119
  description: z.ZodNullable<z.ZodString>;
4120
4120
  agentId: z.ZodString;
@@ -4172,16 +4172,16 @@ declare const TriggerApiSelectSchema: z.ZodObject<OmitAgentScope<{
4172
4172
  }>, z.core.$strip>;
4173
4173
  declare const TriggerApiInsertSchema: z.ZodObject<{
4174
4174
  name: z.ZodString;
4175
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4176
4175
  createdAt: z.ZodOptional<z.ZodString>;
4177
4176
  updatedAt: z.ZodOptional<z.ZodString>;
4177
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4178
4178
  enabled: z.ZodOptional<z.ZodBoolean>;
4179
- inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
4180
- outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
4179
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
4180
+ outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
4181
4181
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4182
- authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
4182
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
4183
4183
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4184
- signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
4184
+ signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
4185
4185
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4186
4186
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4187
4187
  id: z.ZodOptional<z.ZodString>;
@@ -4189,12 +4189,12 @@ declare const TriggerApiInsertSchema: z.ZodObject<{
4189
4189
  declare const TriggerApiUpdateSchema: z.ZodObject<{
4190
4190
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4191
4191
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4192
- inputSchema: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
4193
- outputTransform: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
4192
+ inputSchema: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
4193
+ outputTransform: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
4194
4194
  messageTemplate: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4195
- authentication: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
4195
+ authentication: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
4196
4196
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4197
- signatureVerification: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
4197
+ signatureVerification: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
4198
4198
  runAsUserId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4199
4199
  createdBy: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4200
4200
  name: z.ZodOptional<z.ZodString>;
@@ -4209,16 +4209,16 @@ declare const TriggerApiUpdateSchema: z.ZodObject<{
4209
4209
  in: {};
4210
4210
  }>;
4211
4211
  declare const TriggerWithWebhookUrlSchema: z.ZodObject<{
4212
- id: z.ZodString;
4213
4212
  name: z.ZodString;
4214
- description: z.ZodNullable<z.ZodString>;
4213
+ id: z.ZodString;
4215
4214
  createdAt: z.ZodString;
4216
4215
  updatedAt: z.ZodString;
4216
+ description: z.ZodNullable<z.ZodString>;
4217
4217
  enabled: z.ZodBoolean;
4218
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
4219
- outputTransform: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
4218
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
4219
+ outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
4220
4220
  messageTemplate: z.ZodNullable<z.ZodString>;
4221
- authentication: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
4221
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
4222
4222
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4223
4223
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4224
4224
  algorithm: z.ZodEnum<{
@@ -4269,7 +4269,7 @@ declare const TriggerWithWebhookUrlSchema: z.ZodObject<{
4269
4269
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4270
4270
  webhookUrl: z.ZodString;
4271
4271
  }, z.core.$strip>;
4272
- declare const TriggerInvocationSelectSchema: drizzle_zod15.BuildSchema<"select", {
4272
+ declare const TriggerInvocationSelectSchema: drizzle_zod19.BuildSchema<"select", {
4273
4273
  triggerId: drizzle_orm_pg_core217.PgColumn<{
4274
4274
  name: "trigger_id";
4275
4275
  tableName: "trigger_invocations";
@@ -4471,7 +4471,7 @@ declare const TriggerInvocationSelectSchema: drizzle_zod15.BuildSchema<"select",
4471
4471
  }, {}, {
4472
4472
  length: 256;
4473
4473
  }>;
4474
- }, drizzle_zod15.BuildRefine<{
4474
+ }, drizzle_zod19.BuildRefine<{
4475
4475
  triggerId: drizzle_orm_pg_core217.PgColumn<{
4476
4476
  name: "trigger_id";
4477
4477
  tableName: "trigger_invocations";
@@ -4674,7 +4674,7 @@ declare const TriggerInvocationSelectSchema: drizzle_zod15.BuildSchema<"select",
4674
4674
  length: 256;
4675
4675
  }>;
4676
4676
  }, undefined>, undefined>;
4677
- declare const TriggerInvocationInsertSchema: drizzle_zod15.BuildSchema<"insert", {
4677
+ declare const TriggerInvocationInsertSchema: drizzle_zod19.BuildSchema<"insert", {
4678
4678
  triggerId: drizzle_orm_pg_core217.PgColumn<{
4679
4679
  name: "trigger_id";
4680
4680
  tableName: "trigger_invocations";
@@ -4876,7 +4876,7 @@ declare const TriggerInvocationInsertSchema: drizzle_zod15.BuildSchema<"insert",
4876
4876
  }, {}, {
4877
4877
  length: 256;
4878
4878
  }>;
4879
- }, drizzle_zod15.BuildRefine<Pick<{
4879
+ }, drizzle_zod19.BuildRefine<Pick<{
4880
4880
  triggerId: drizzle_orm_pg_core217.PgColumn<{
4881
4881
  name: "trigger_id";
4882
4882
  tableName: "trigger_invocations";
@@ -5078,13 +5078,13 @@ declare const TriggerInvocationInsertSchema: drizzle_zod15.BuildSchema<"insert",
5078
5078
  }, {}, {
5079
5079
  length: 256;
5080
5080
  }>;
5081
- }, "id" | "tenantId" | "projectId" | "agentId" | "createdAt" | "status" | "triggerId" | "conversationId" | "requestPayload" | "transformedPayload" | "errorMessage">, undefined>, undefined>;
5081
+ }, "id" | "createdAt" | "status" | "tenantId" | "projectId" | "agentId" | "triggerId" | "conversationId" | "requestPayload" | "transformedPayload" | "errorMessage">, undefined>, undefined>;
5082
5082
  declare const TriggerInvocationUpdateSchema: z.ZodObject<{
5083
5083
  triggerId: z.ZodOptional<z.ZodString>;
5084
5084
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5085
5085
  status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5086
- requestPayload: z.ZodOptional<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
5087
- transformedPayload: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
5086
+ requestPayload: z.ZodOptional<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
5087
+ transformedPayload: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
5088
5088
  errorMessage: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5089
5089
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5090
5090
  agentId: z.ZodOptional<z.ZodString>;
@@ -5099,8 +5099,8 @@ declare const TriggerInvocationApiSelectSchema: z.ZodObject<OmitAgentScope<{
5099
5099
  triggerId: z.ZodString;
5100
5100
  conversationId: z.ZodNullable<z.ZodString>;
5101
5101
  status: z.ZodString;
5102
- requestPayload: z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>;
5103
- transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
5102
+ requestPayload: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
5103
+ transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
5104
5104
  errorMessage: z.ZodNullable<z.ZodString>;
5105
5105
  createdAt: z.ZodString;
5106
5106
  agentId: z.ZodString;
@@ -5113,8 +5113,8 @@ declare const TriggerInvocationApiInsertSchema: z.ZodObject<{
5113
5113
  status: z.ZodOptional<z.ZodString>;
5114
5114
  triggerId: z.ZodString;
5115
5115
  conversationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5116
- requestPayload: z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>;
5117
- transformedPayload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
5116
+ requestPayload: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
5117
+ transformedPayload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
5118
5118
  errorMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5119
5119
  id: z.ZodString;
5120
5120
  }, z.core.$strip>;
@@ -5124,8 +5124,8 @@ declare const TriggerInvocationApiUpdateSchema: z.ZodObject<{
5124
5124
  status: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
5125
5125
  triggerId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5126
5126
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5127
- requestPayload: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
5128
- transformedPayload: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>>;
5127
+ requestPayload: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
5128
+ transformedPayload: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
5129
5129
  errorMessage: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
5130
5130
  }, z.core.$strip>;
5131
5131
  declare const CronExpressionSchema: z.ZodString;
@@ -5153,7 +5153,7 @@ declare const ScheduledTriggerSelectSchema: z.ZodObject<{
5153
5153
  out: {};
5154
5154
  in: {};
5155
5155
  }>;
5156
- declare const ScheduledTriggerInsertSchema: drizzle_zod15.BuildSchema<"insert", {
5156
+ declare const ScheduledTriggerInsertSchema: drizzle_zod19.BuildSchema<"insert", {
5157
5157
  createdAt: drizzle_orm_pg_core217.PgColumn<{
5158
5158
  name: "created_at";
5159
5159
  tableName: "scheduled_triggers";
@@ -5497,7 +5497,7 @@ declare const ScheduledTriggerInsertSchema: drizzle_zod15.BuildSchema<"insert",
5497
5497
  }, {}, {
5498
5498
  length: 256;
5499
5499
  }>;
5500
- }, drizzle_zod15.BuildRefine<Pick<{
5500
+ }, drizzle_zod19.BuildRefine<Pick<{
5501
5501
  createdAt: drizzle_orm_pg_core217.PgColumn<{
5502
5502
  name: "created_at";
5503
5503
  tableName: "scheduled_triggers";
@@ -5841,14 +5841,14 @@ declare const ScheduledTriggerInsertSchema: drizzle_zod15.BuildSchema<"insert",
5841
5841
  }, {}, {
5842
5842
  length: 256;
5843
5843
  }>;
5844
- }, "id" | "name" | "description" | "tenantId" | "projectId" | "agentId" | "createdAt" | "updatedAt" | "enabled" | "messageTemplate" | "runAsUserId" | "createdBy" | "cronExpression" | "cronTimezone" | "runAt" | "payload" | "maxRetries" | "retryDelaySeconds" | "timeoutSeconds">, undefined>, undefined>;
5844
+ }, "name" | "id" | "createdAt" | "updatedAt" | "description" | "enabled" | "tenantId" | "projectId" | "agentId" | "messageTemplate" | "runAsUserId" | "createdBy" | "cronExpression" | "cronTimezone" | "runAt" | "payload" | "maxRetries" | "retryDelaySeconds" | "timeoutSeconds">, undefined>, undefined>;
5845
5845
  declare const ScheduledTriggerUpdateSchema: z.ZodObject<{
5846
5846
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5847
5847
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5848
5848
  cronExpression: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5849
5849
  cronTimezone: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5850
5850
  runAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5851
- payload: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
5851
+ payload: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
5852
5852
  messageTemplate: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5853
5853
  maxRetries: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
5854
5854
  retryDelaySeconds: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
@@ -5889,9 +5889,9 @@ declare const ScheduledTriggerApiSelectSchema: z.ZodObject<OmitAgentScope<{
5889
5889
  }>, z.core.$strip>;
5890
5890
  declare const ScheduledTriggerApiInsertBaseSchema: z.ZodObject<{
5891
5891
  name: z.ZodString;
5892
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5893
5892
  createdAt: z.ZodOptional<z.ZodString>;
5894
5893
  updatedAt: z.ZodOptional<z.ZodString>;
5894
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5895
5895
  enabled: z.ZodOptional<z.ZodBoolean>;
5896
5896
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5897
5897
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -5899,7 +5899,7 @@ declare const ScheduledTriggerApiInsertBaseSchema: z.ZodObject<{
5899
5899
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5900
5900
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5901
5901
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5902
- payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
5902
+ payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
5903
5903
  maxRetries: z.ZodOptional<z.ZodNumber>;
5904
5904
  retryDelaySeconds: z.ZodOptional<z.ZodNumber>;
5905
5905
  timeoutSeconds: z.ZodOptional<z.ZodNumber>;
@@ -5907,9 +5907,9 @@ declare const ScheduledTriggerApiInsertBaseSchema: z.ZodObject<{
5907
5907
  }, z.core.$strip>;
5908
5908
  declare const ScheduledTriggerApiInsertSchema: z.ZodObject<{
5909
5909
  name: z.ZodString;
5910
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5911
5910
  createdAt: z.ZodOptional<z.ZodString>;
5912
5911
  updatedAt: z.ZodOptional<z.ZodString>;
5912
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5913
5913
  enabled: z.ZodOptional<z.ZodBoolean>;
5914
5914
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5915
5915
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -5917,7 +5917,7 @@ declare const ScheduledTriggerApiInsertSchema: z.ZodObject<{
5917
5917
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5918
5918
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5919
5919
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5920
- payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
5920
+ payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
5921
5921
  maxRetries: z.ZodOptional<z.ZodNumber>;
5922
5922
  retryDelaySeconds: z.ZodOptional<z.ZodNumber>;
5923
5923
  timeoutSeconds: z.ZodOptional<z.ZodNumber>;
@@ -5929,7 +5929,7 @@ declare const ScheduledTriggerApiUpdateSchema: z.ZodObject<{
5929
5929
  cronExpression: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5930
5930
  cronTimezone: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5931
5931
  runAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5932
- payload: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
5932
+ payload: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
5933
5933
  messageTemplate: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5934
5934
  maxRetries: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
5935
5935
  retryDelaySeconds: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
@@ -5953,7 +5953,7 @@ type ScheduledTriggerUpdate = z.infer<typeof ScheduledTriggerUpdateSchema>;
5953
5953
  type ScheduledTriggerApiInsert = z.infer<typeof ScheduledTriggerApiInsertSchema>;
5954
5954
  type ScheduledTriggerApiSelect = z.infer<typeof ScheduledTriggerApiSelectSchema>;
5955
5955
  type ScheduledTriggerApiUpdate = z.infer<typeof ScheduledTriggerApiUpdateSchema>;
5956
- declare const ScheduledWorkflowSelectSchema: drizzle_zod15.BuildSchema<"select", {
5956
+ declare const ScheduledWorkflowSelectSchema: drizzle_zod19.BuildSchema<"select", {
5957
5957
  createdAt: drizzle_orm_pg_core217.PgColumn<{
5958
5958
  name: "created_at";
5959
5959
  tableName: "scheduled_workflows";
@@ -6157,7 +6157,7 @@ declare const ScheduledWorkflowSelectSchema: drizzle_zod15.BuildSchema<"select",
6157
6157
  }, {}, {
6158
6158
  length: 256;
6159
6159
  }>;
6160
- }, drizzle_zod15.BuildRefine<{
6160
+ }, drizzle_zod19.BuildRefine<{
6161
6161
  createdAt: drizzle_orm_pg_core217.PgColumn<{
6162
6162
  name: "created_at";
6163
6163
  tableName: "scheduled_workflows";
@@ -6362,7 +6362,7 @@ declare const ScheduledWorkflowSelectSchema: drizzle_zod15.BuildSchema<"select",
6362
6362
  length: 256;
6363
6363
  }>;
6364
6364
  }, undefined>, undefined>;
6365
- declare const ScheduledWorkflowInsertSchema: drizzle_zod15.BuildSchema<"insert", {
6365
+ declare const ScheduledWorkflowInsertSchema: drizzle_zod19.BuildSchema<"insert", {
6366
6366
  createdAt: drizzle_orm_pg_core217.PgColumn<{
6367
6367
  name: "created_at";
6368
6368
  tableName: "scheduled_workflows";
@@ -6566,7 +6566,7 @@ declare const ScheduledWorkflowInsertSchema: drizzle_zod15.BuildSchema<"insert",
6566
6566
  }, {}, {
6567
6567
  length: 256;
6568
6568
  }>;
6569
- }, drizzle_zod15.BuildRefine<Pick<{
6569
+ }, drizzle_zod19.BuildRefine<Pick<{
6570
6570
  createdAt: drizzle_orm_pg_core217.PgColumn<{
6571
6571
  name: "created_at";
6572
6572
  tableName: "scheduled_workflows";
@@ -6770,7 +6770,7 @@ declare const ScheduledWorkflowInsertSchema: drizzle_zod15.BuildSchema<"insert",
6770
6770
  }, {}, {
6771
6771
  length: 256;
6772
6772
  }>;
6773
- }, "id" | "name" | "description" | "tenantId" | "projectId" | "agentId" | "createdAt" | "updatedAt" | "status" | "workflowRunId" | "scheduledTriggerId">, undefined>, undefined>;
6773
+ }, "name" | "id" | "createdAt" | "updatedAt" | "status" | "description" | "tenantId" | "projectId" | "agentId" | "workflowRunId" | "scheduledTriggerId">, undefined>, undefined>;
6774
6774
  declare const ScheduledWorkflowUpdateSchema: z.ZodObject<{
6775
6775
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6776
6776
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -6802,10 +6802,10 @@ declare const ScheduledWorkflowApiSelectSchema: z.ZodObject<OmitAgentScope<{
6802
6802
  }>, z.core.$strip>;
6803
6803
  declare const ScheduledWorkflowApiInsertSchema: z.ZodObject<{
6804
6804
  name: z.ZodString;
6805
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6806
6805
  createdAt: z.ZodOptional<z.ZodString>;
6807
6806
  updatedAt: z.ZodOptional<z.ZodString>;
6808
6807
  status: z.ZodOptional<z.ZodString>;
6808
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6809
6809
  workflowRunId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6810
6810
  scheduledTriggerId: z.ZodString;
6811
6811
  id: z.ZodOptional<z.ZodString>;
@@ -6861,7 +6861,7 @@ declare const ScheduledTriggerInvocationSelectSchema: z.ZodObject<{
6861
6861
  out: {};
6862
6862
  in: {};
6863
6863
  }>;
6864
- declare const ScheduledTriggerInvocationInsertSchema: drizzle_zod15.BuildSchema<"insert", {
6864
+ declare const ScheduledTriggerInvocationInsertSchema: drizzle_zod19.BuildSchema<"insert", {
6865
6865
  scheduledTriggerId: drizzle_orm_pg_core217.PgColumn<{
6866
6866
  name: "scheduled_trigger_id";
6867
6867
  tableName: "scheduled_trigger_invocations";
@@ -7119,7 +7119,7 @@ declare const ScheduledTriggerInvocationInsertSchema: drizzle_zod15.BuildSchema<
7119
7119
  }, {}, {
7120
7120
  length: 256;
7121
7121
  }>;
7122
- }, drizzle_zod15.BuildRefine<Pick<{
7122
+ }, drizzle_zod19.BuildRefine<Pick<{
7123
7123
  scheduledTriggerId: drizzle_orm_pg_core217.PgColumn<{
7124
7124
  name: "scheduled_trigger_id";
7125
7125
  tableName: "scheduled_trigger_invocations";
@@ -7377,14 +7377,14 @@ declare const ScheduledTriggerInvocationInsertSchema: drizzle_zod15.BuildSchema<
7377
7377
  }, {}, {
7378
7378
  length: 256;
7379
7379
  }>;
7380
- }, "id" | "tenantId" | "projectId" | "agentId" | "createdAt" | "status" | "scheduledTriggerId" | "conversationIds" | "scheduledFor" | "startedAt" | "completedAt" | "resolvedPayload" | "attemptNumber" | "idempotencyKey">, undefined>, undefined>;
7380
+ }, "id" | "createdAt" | "status" | "tenantId" | "projectId" | "agentId" | "scheduledTriggerId" | "scheduledFor" | "startedAt" | "completedAt" | "resolvedPayload" | "conversationIds" | "attemptNumber" | "idempotencyKey">, undefined>, undefined>;
7381
7381
  declare const ScheduledTriggerInvocationUpdateSchema: z.ZodObject<{
7382
7382
  scheduledTriggerId: z.ZodOptional<z.ZodString>;
7383
7383
  status: z.ZodOptional<z.ZodString>;
7384
7384
  scheduledFor: z.ZodOptional<z.ZodString>;
7385
7385
  startedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
7386
7386
  completedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
7387
- resolvedPayload: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
7387
+ resolvedPayload: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
7388
7388
  conversationIds: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>>>;
7389
7389
  attemptNumber: z.ZodOptional<z.ZodOptional<z.ZodInt>>;
7390
7390
  idempotencyKey: z.ZodOptional<z.ZodString>;
@@ -7423,11 +7423,11 @@ declare const ScheduledTriggerInvocationApiInsertSchema: z.ZodObject<{
7423
7423
  createdAt: z.ZodOptional<z.ZodString>;
7424
7424
  status: z.ZodString;
7425
7425
  scheduledTriggerId: z.ZodString;
7426
- conversationIds: z.ZodOptional<z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>>;
7427
7426
  scheduledFor: z.ZodString;
7428
7427
  startedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7429
7428
  completedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7430
- resolvedPayload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
7429
+ resolvedPayload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
7430
+ conversationIds: z.ZodOptional<z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>>;
7431
7431
  attemptNumber: z.ZodOptional<z.ZodInt>;
7432
7432
  idempotencyKey: z.ZodString;
7433
7433
  id: z.ZodString;
@@ -7437,11 +7437,11 @@ declare const ScheduledTriggerInvocationApiUpdateSchema: z.ZodObject<{
7437
7437
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7438
7438
  status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7439
7439
  scheduledTriggerId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7440
- conversationIds: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>>>>;
7441
7440
  scheduledFor: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7442
7441
  startedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7443
7442
  completedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7444
- resolvedPayload: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>>;
7443
+ resolvedPayload: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
7444
+ conversationIds: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<string[], string[], z.core.$ZodTypeInternals<string[], string[]>>>>>>;
7445
7445
  attemptNumber: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodInt>>>;
7446
7446
  idempotencyKey: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7447
7447
  }, z.core.$strip>;
@@ -7449,7 +7449,7 @@ type ScheduledTriggerInvocation = z.infer<typeof ScheduledTriggerInvocationSelec
7449
7449
  type ScheduledTriggerInvocationInsert = z.infer<typeof ScheduledTriggerInvocationInsertSchema>;
7450
7450
  type ScheduledTriggerInvocationUpdate = z.infer<typeof ScheduledTriggerInvocationUpdateSchema>;
7451
7451
  type ScheduledTriggerInvocationStatus = z.infer<typeof ScheduledTriggerInvocationStatusEnum>;
7452
- declare const TaskSelectSchema: drizzle_zod15.BuildSchema<"select", {
7452
+ declare const TaskSelectSchema: drizzle_zod19.BuildSchema<"select", {
7453
7453
  createdAt: drizzle_orm_pg_core217.PgColumn<{
7454
7454
  name: "created_at";
7455
7455
  tableName: "tasks";
@@ -7663,7 +7663,7 @@ declare const TaskSelectSchema: drizzle_zod15.BuildSchema<"select", {
7663
7663
  }, {}, {
7664
7664
  length: 256;
7665
7665
  }>;
7666
- }, drizzle_zod15.BuildRefine<{
7666
+ }, drizzle_zod19.BuildRefine<{
7667
7667
  createdAt: drizzle_orm_pg_core217.PgColumn<{
7668
7668
  name: "created_at";
7669
7669
  tableName: "tasks";
@@ -7981,12 +7981,8 @@ declare const TaskApiInsertSchema: z.ZodObject<OmitProjectScope<{
7981
7981
  }>, z.core.$strip>;
7982
7982
  declare const TaskApiUpdateSchema: z.ZodObject<{
7983
7983
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7984
- agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7985
7984
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7986
7985
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7987
- metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>>>;
7988
- status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7989
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7990
7986
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
7991
7987
  type: z.ZodEnum<{
7992
7988
  commit: "commit";
@@ -7996,10 +7992,14 @@ declare const TaskApiUpdateSchema: z.ZodObject<{
7996
7992
  name: z.ZodString;
7997
7993
  hash: z.ZodString;
7998
7994
  }, z.core.$strip>>>;
7995
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>>>;
7996
+ status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7997
+ agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7998
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7999
7999
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8000
8000
  contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8001
8001
  }, z.core.$strip>;
8002
- declare const TaskRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
8002
+ declare const TaskRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
8003
8003
  createdAt: drizzle_orm_pg_core217.PgColumn<{
8004
8004
  name: "created_at";
8005
8005
  tableName: "task_relations";
@@ -8148,7 +8148,7 @@ declare const TaskRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
8148
8148
  }, {}, {
8149
8149
  length: 256;
8150
8150
  }>;
8151
- }, drizzle_zod15.BuildRefine<{
8151
+ }, drizzle_zod19.BuildRefine<{
8152
8152
  createdAt: drizzle_orm_pg_core217.PgColumn<{
8153
8153
  name: "created_at";
8154
8154
  tableName: "task_relations";
@@ -8374,7 +8374,7 @@ declare const McpToolDefinitionSchema: z.ZodObject<{
8374
8374
  description: z.ZodOptional<z.ZodString>;
8375
8375
  inputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
8376
8376
  }, z.core.$strip>;
8377
- declare const ToolSelectSchema: drizzle_zod15.BuildSchema<"select", {
8377
+ declare const ToolSelectSchema: drizzle_zod19.BuildSchema<"select", {
8378
8378
  createdAt: drizzle_orm_pg_core217.PgColumn<{
8379
8379
  name: "created_at";
8380
8380
  tableName: "tools";
@@ -8654,7 +8654,7 @@ declare const ToolSelectSchema: drizzle_zod15.BuildSchema<"select", {
8654
8654
  }, {}, {
8655
8655
  length: 256;
8656
8656
  }>;
8657
- }, drizzle_zod15.BuildRefine<{
8657
+ }, drizzle_zod19.BuildRefine<{
8658
8658
  createdAt: drizzle_orm_pg_core217.PgColumn<{
8659
8659
  name: "created_at";
8660
8660
  tableName: "tools";
@@ -8980,7 +8980,7 @@ declare const ToolInsertSchema: z.ZodObject<{
8980
8980
  out: {};
8981
8981
  in: {};
8982
8982
  }>;
8983
- declare const ConversationSelectSchema: drizzle_zod15.BuildSchema<"select", {
8983
+ declare const ConversationSelectSchema: drizzle_zod19.BuildSchema<"select", {
8984
8984
  createdAt: drizzle_orm_pg_core217.PgColumn<{
8985
8985
  name: "created_at";
8986
8986
  tableName: "conversations";
@@ -9209,7 +9209,7 @@ declare const ConversationSelectSchema: drizzle_zod15.BuildSchema<"select", {
9209
9209
  }, {}, {
9210
9210
  length: 256;
9211
9211
  }>;
9212
- }, drizzle_zod15.BuildRefine<{
9212
+ }, drizzle_zod19.BuildRefine<{
9213
9213
  createdAt: drizzle_orm_pg_core217.PgColumn<{
9214
9214
  name: "created_at";
9215
9215
  tableName: "conversations";
@@ -9546,13 +9546,8 @@ declare const ConversationApiInsertSchema: z.ZodObject<OmitProjectScope<{
9546
9546
  }>, z.core.$strip>;
9547
9547
  declare const ConversationApiUpdateSchema: z.ZodObject<{
9548
9548
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9549
- agentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9550
- title: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9551
9549
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9552
9550
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9553
- contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9554
- metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>>>;
9555
- userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9556
9551
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
9557
9552
  type: z.ZodEnum<{
9558
9553
  commit: "commit";
@@ -9562,10 +9557,15 @@ declare const ConversationApiUpdateSchema: z.ZodObject<{
9562
9557
  name: z.ZodString;
9563
9558
  hash: z.ZodString;
9564
9559
  }, z.core.$strip>>>;
9560
+ userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9561
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>>>;
9562
+ title: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9563
+ agentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9564
+ contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9565
9565
  activeSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9566
9566
  lastContextResolution: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9567
9567
  }, z.core.$strip>;
9568
- declare const MessageSelectSchema: drizzle_zod15.BuildSchema<"select", {
9568
+ declare const MessageSelectSchema: drizzle_zod19.BuildSchema<"select", {
9569
9569
  createdAt: drizzle_orm_pg_core217.PgColumn<{
9570
9570
  name: "created_at";
9571
9571
  tableName: "messages";
@@ -9961,7 +9961,7 @@ declare const MessageSelectSchema: drizzle_zod15.BuildSchema<"select", {
9961
9961
  }, {}, {
9962
9962
  length: 256;
9963
9963
  }>;
9964
- }, drizzle_zod15.BuildRefine<{
9964
+ }, drizzle_zod19.BuildRefine<{
9965
9965
  createdAt: drizzle_orm_pg_core217.PgColumn<{
9966
9966
  name: "created_at";
9967
9967
  tableName: "messages";
@@ -10461,23 +10461,23 @@ declare const MessageApiUpdateSchema: z.ZodObject<{
10461
10461
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10462
10462
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10463
10463
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>>>>;
10464
- content: z.ZodOptional<z.ZodOptional<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
10465
10464
  role: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10466
- conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10465
+ content: z.ZodOptional<z.ZodOptional<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
10467
10466
  fromSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10468
10467
  toSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10469
10468
  fromExternalAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10470
10469
  toExternalAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10470
+ taskId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10471
+ a2aTaskId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10472
+ conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10471
10473
  fromTeamAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10472
10474
  toTeamAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10473
10475
  visibility: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10474
10476
  messageType: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10475
- taskId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
10476
10477
  parentMessageId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10477
- a2aTaskId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10478
10478
  a2aSessionId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
10479
10479
  }, z.core.$strip>;
10480
- declare const ContextCacheSelectSchema: drizzle_zod15.BuildSchema<"select", {
10480
+ declare const ContextCacheSelectSchema: drizzle_zod19.BuildSchema<"select", {
10481
10481
  createdAt: drizzle_orm_pg_core217.PgColumn<{
10482
10482
  name: "created_at";
10483
10483
  tableName: "context_cache";
@@ -10727,7 +10727,7 @@ declare const ContextCacheSelectSchema: drizzle_zod15.BuildSchema<"select", {
10727
10727
  }, {}, {
10728
10728
  length: 256;
10729
10729
  }>;
10730
- }, drizzle_zod15.BuildRefine<{
10730
+ }, drizzle_zod19.BuildRefine<{
10731
10731
  createdAt: drizzle_orm_pg_core217.PgColumn<{
10732
10732
  name: "created_at";
10733
10733
  tableName: "context_cache";
@@ -10984,7 +10984,7 @@ declare const ContextCacheInsertSchema: z.ZodObject<{
10984
10984
  conversationId: z.ZodString;
10985
10985
  contextConfigId: z.ZodString;
10986
10986
  contextVariableKey: z.ZodString;
10987
- value: z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>;
10987
+ value: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
10988
10988
  requestHash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10989
10989
  fetchedAt: z.ZodOptional<z.ZodString>;
10990
10990
  fetchSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -11010,7 +11010,7 @@ declare const ContextCacheUpdateSchema: z.ZodObject<{
11010
11010
  conversationId: z.ZodOptional<z.ZodString>;
11011
11011
  contextConfigId: z.ZodOptional<z.ZodString>;
11012
11012
  contextVariableKey: z.ZodOptional<z.ZodString>;
11013
- value: z.ZodOptional<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
11013
+ value: z.ZodOptional<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
11014
11014
  requestHash: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
11015
11015
  fetchedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11016
11016
  fetchSource: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
@@ -11053,7 +11053,7 @@ declare const ContextCacheApiSelectSchema: z.ZodObject<OmitProjectScope<{
11053
11053
  name: string;
11054
11054
  hash: string;
11055
11055
  }>>>;
11056
- value: z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>;
11056
+ value: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
11057
11057
  requestHash: z.ZodNullable<z.ZodString>;
11058
11058
  fetchedAt: z.ZodString;
11059
11059
  fetchSource: z.ZodNullable<z.ZodString>;
@@ -11067,7 +11067,7 @@ declare const ContextCacheApiInsertSchema: z.ZodObject<OmitProjectScope<{
11067
11067
  conversationId: z.ZodString;
11068
11068
  contextConfigId: z.ZodString;
11069
11069
  contextVariableKey: z.ZodString;
11070
- value: z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>;
11070
+ value: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
11071
11071
  requestHash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11072
11072
  fetchedAt: z.ZodOptional<z.ZodString>;
11073
11073
  fetchSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -11086,10 +11086,8 @@ declare const ContextCacheApiInsertSchema: z.ZodObject<OmitProjectScope<{
11086
11086
  }>, z.core.$strip>;
11087
11087
  declare const ContextCacheApiUpdateSchema: z.ZodObject<{
11088
11088
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11089
- value: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
11090
11089
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11091
11090
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11092
- contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11093
11091
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
11094
11092
  type: z.ZodEnum<{
11095
11093
  commit: "commit";
@@ -11099,13 +11097,15 @@ declare const ContextCacheApiUpdateSchema: z.ZodObject<{
11099
11097
  name: z.ZodString;
11100
11098
  hash: z.ZodString;
11101
11099
  }, z.core.$strip>>>;
11100
+ value: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
11101
+ contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11102
11102
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11103
11103
  contextVariableKey: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11104
11104
  requestHash: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
11105
11105
  fetchedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11106
11106
  fetchSource: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
11107
11107
  }, z.core.$strip>;
11108
- declare const DatasetRunSelectSchema: drizzle_zod15.BuildSchema<"select", {
11108
+ declare const DatasetRunSelectSchema: drizzle_zod19.BuildSchema<"select", {
11109
11109
  createdAt: drizzle_orm_pg_core217.PgColumn<{
11110
11110
  name: "created_at";
11111
11111
  tableName: "dataset_run";
@@ -11248,7 +11248,7 @@ declare const DatasetRunSelectSchema: drizzle_zod15.BuildSchema<"select", {
11248
11248
  }, {}, {
11249
11249
  length: 256;
11250
11250
  }>;
11251
- }, drizzle_zod15.BuildRefine<{
11251
+ }, drizzle_zod19.BuildRefine<{
11252
11252
  createdAt: drizzle_orm_pg_core217.PgColumn<{
11253
11253
  name: "created_at";
11254
11254
  tableName: "dataset_run";
@@ -11432,17 +11432,17 @@ declare const DatasetRunApiInsertSchema: z.ZodObject<{
11432
11432
  createdAt: z.ZodOptional<z.ZodString>;
11433
11433
  updatedAt: z.ZodOptional<z.ZodString>;
11434
11434
  datasetId: z.ZodString;
11435
- evaluationJobConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11436
11435
  datasetRunConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11436
+ evaluationJobConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11437
11437
  }, z.core.$strip>;
11438
11438
  declare const DatasetRunApiUpdateSchema: z.ZodObject<{
11439
11439
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11440
11440
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11441
11441
  datasetId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11442
- evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
11443
11442
  datasetRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
11443
+ evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
11444
11444
  }, z.core.$strip>;
11445
- declare const DatasetRunConversationRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
11445
+ declare const DatasetRunConversationRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
11446
11446
  createdAt: drizzle_orm_pg_core217.PgColumn<{
11447
11447
  name: "created_at";
11448
11448
  tableName: "dataset_run_conversation_relations";
@@ -11585,7 +11585,7 @@ declare const DatasetRunConversationRelationSelectSchema: drizzle_zod15.BuildSch
11585
11585
  }, {}, {
11586
11586
  length: 256;
11587
11587
  }>;
11588
- }, drizzle_zod15.BuildRefine<{
11588
+ }, drizzle_zod19.BuildRefine<{
11589
11589
  createdAt: drizzle_orm_pg_core217.PgColumn<{
11590
11590
  name: "created_at";
11591
11591
  tableName: "dataset_run_conversation_relations";
@@ -11779,7 +11779,7 @@ declare const DatasetRunConversationRelationApiUpdateSchema: z.ZodObject<{
11779
11779
  datasetRunId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11780
11780
  datasetItemId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11781
11781
  }, z.core.$strip>;
11782
- declare const EvaluationResultSelectSchema: drizzle_zod15.BuildSchema<"select", {
11782
+ declare const EvaluationResultSelectSchema: drizzle_zod19.BuildSchema<"select", {
11783
11783
  createdAt: drizzle_orm_pg_core217.PgColumn<{
11784
11784
  name: "created_at";
11785
11785
  tableName: "evaluation_result";
@@ -11941,7 +11941,7 @@ declare const EvaluationResultSelectSchema: drizzle_zod15.BuildSchema<"select",
11941
11941
  }, {}, {
11942
11942
  length: 256;
11943
11943
  }>;
11944
- }, drizzle_zod15.BuildRefine<{
11944
+ }, drizzle_zod19.BuildRefine<{
11945
11945
  createdAt: drizzle_orm_pg_core217.PgColumn<{
11946
11946
  name: "created_at";
11947
11947
  tableName: "evaluation_result";
@@ -12144,22 +12144,22 @@ declare const EvaluationResultApiSelectSchema: z.ZodObject<OmitProjectScope<{
12144
12144
  id: z.ZodString;
12145
12145
  }>, z.core.$strip>;
12146
12146
  declare const EvaluationResultApiInsertSchema: z.ZodObject<{
12147
- output: z.ZodOptional<z.ZodNullable<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
12148
12147
  createdAt: z.ZodOptional<z.ZodString>;
12149
12148
  updatedAt: z.ZodOptional<z.ZodString>;
12150
- evaluatorId: z.ZodString;
12149
+ output: z.ZodOptional<z.ZodNullable<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
12151
12150
  conversationId: z.ZodString;
12151
+ evaluatorId: z.ZodString;
12152
12152
  evaluationRunId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12153
12153
  }, z.core.$strip>;
12154
12154
  declare const EvaluationResultApiUpdateSchema: z.ZodObject<{
12155
- output: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>>>;
12156
12155
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12157
12156
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12158
- evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12157
+ output: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>>>;
12159
12158
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12159
+ evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12160
12160
  evaluationRunId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
12161
12161
  }, z.core.$strip>;
12162
- declare const EvaluationRunSelectSchema: drizzle_zod15.BuildSchema<"select", {
12162
+ declare const EvaluationRunSelectSchema: drizzle_zod19.BuildSchema<"select", {
12163
12163
  createdAt: drizzle_orm_pg_core217.PgColumn<{
12164
12164
  name: "created_at";
12165
12165
  tableName: "evaluation_run";
@@ -12285,7 +12285,7 @@ declare const EvaluationRunSelectSchema: drizzle_zod15.BuildSchema<"select", {
12285
12285
  }, {}, {
12286
12286
  length: 256;
12287
12287
  }>;
12288
- }, drizzle_zod15.BuildRefine<{
12288
+ }, drizzle_zod19.BuildRefine<{
12289
12289
  createdAt: drizzle_orm_pg_core217.PgColumn<{
12290
12290
  name: "created_at";
12291
12291
  tableName: "evaluation_run";
@@ -12448,16 +12448,16 @@ declare const EvaluationRunApiSelectSchema: z.ZodObject<OmitProjectScope<{
12448
12448
  declare const EvaluationRunApiInsertSchema: z.ZodObject<{
12449
12449
  createdAt: z.ZodOptional<z.ZodString>;
12450
12450
  updatedAt: z.ZodOptional<z.ZodString>;
12451
- evaluationRunConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12452
12451
  evaluationJobConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12452
+ evaluationRunConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12453
12453
  }, z.core.$strip>;
12454
12454
  declare const EvaluationRunApiUpdateSchema: z.ZodObject<{
12455
12455
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12456
12456
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12457
- evaluationRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
12458
12457
  evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
12458
+ evaluationRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
12459
12459
  }, z.core.$strip>;
12460
- declare const EvaluationRunConfigSelectSchema: drizzle_zod15.BuildSchema<"select", {
12460
+ declare const EvaluationRunConfigSelectSchema: drizzle_zod19.BuildSchema<"select", {
12461
12461
  createdAt: drizzle_orm_pg_core217.PgColumn<{
12462
12462
  name: "created_at";
12463
12463
  tableName: "evaluation_run_config";
@@ -12602,7 +12602,7 @@ declare const EvaluationRunConfigSelectSchema: drizzle_zod15.BuildSchema<"select
12602
12602
  }, {}, {
12603
12603
  length: 256;
12604
12604
  }>;
12605
- }, drizzle_zod15.BuildRefine<{
12605
+ }, drizzle_zod19.BuildRefine<{
12606
12606
  createdAt: drizzle_orm_pg_core217.PgColumn<{
12607
12607
  name: "created_at";
12608
12608
  tableName: "evaluation_run_config";
@@ -12786,30 +12786,30 @@ declare const EvaluationRunConfigApiSelectSchema: z.ZodObject<OmitProjectScope<{
12786
12786
  }>, z.core.$strip>;
12787
12787
  declare const EvaluationRunConfigApiInsertSchema: z.ZodObject<{
12788
12788
  name: z.ZodString;
12789
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12790
12789
  createdAt: z.ZodOptional<z.ZodString>;
12791
12790
  updatedAt: z.ZodOptional<z.ZodString>;
12791
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12792
12792
  isActive: z.ZodOptional<z.ZodBoolean>;
12793
12793
  suiteConfigIds: z.ZodArray<z.ZodString>;
12794
12794
  }, z.core.$strip>;
12795
12795
  declare const EvaluationRunConfigApiUpdateSchema: z.ZodObject<{
12796
12796
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12797
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
12798
12797
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12799
12798
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12799
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
12800
12800
  isActive: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodBoolean>>>;
12801
12801
  suiteConfigIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
12802
12802
  }, z.core.$strip>;
12803
12803
  declare const EvaluationRunConfigWithSuiteConfigsApiSelectSchema: z.ZodObject<{
12804
- id: z.ZodString;
12805
12804
  name: z.ZodString;
12806
- description: z.ZodNullable<z.ZodString>;
12805
+ id: z.ZodString;
12807
12806
  createdAt: z.ZodString;
12808
12807
  updatedAt: z.ZodString;
12808
+ description: z.ZodNullable<z.ZodString>;
12809
12809
  isActive: z.ZodBoolean;
12810
12810
  suiteConfigIds: z.ZodArray<z.ZodString>;
12811
12811
  }, z.core.$strip>;
12812
- declare const EvaluationJobConfigSelectSchema: drizzle_zod15.BuildSchema<"select", {
12812
+ declare const EvaluationJobConfigSelectSchema: drizzle_zod19.BuildSchema<"select", {
12813
12813
  createdAt: drizzle_orm_pg_core217.PgColumn<{
12814
12814
  name: "created_at";
12815
12815
  tableName: "evaluation_job_config";
@@ -12934,7 +12934,7 @@ declare const EvaluationJobConfigSelectSchema: drizzle_zod15.BuildSchema<"select
12934
12934
  }, {}, {
12935
12935
  length: 256;
12936
12936
  }>;
12937
- }, drizzle_zod15.BuildRefine<{
12937
+ }, drizzle_zod19.BuildRefine<{
12938
12938
  createdAt: drizzle_orm_pg_core217.PgColumn<{
12939
12939
  name: "created_at";
12940
12940
  tableName: "evaluation_job_config";
@@ -13241,7 +13241,7 @@ declare const EvaluationJobConfigApiUpdateSchema: z.ZodObject<{
13241
13241
  } | undefined;
13242
13242
  }>>>>>>>;
13243
13243
  }, z.core.$strip>;
13244
- declare const EvaluationSuiteConfigSelectSchema: drizzle_zod15.BuildSchema<"select", {
13244
+ declare const EvaluationSuiteConfigSelectSchema: drizzle_zod19.BuildSchema<"select", {
13245
13245
  createdAt: drizzle_orm_pg_core217.PgColumn<{
13246
13246
  name: "created_at";
13247
13247
  tableName: "evaluation_suite_config";
@@ -13369,7 +13369,7 @@ declare const EvaluationSuiteConfigSelectSchema: drizzle_zod15.BuildSchema<"sele
13369
13369
  }, {}, {
13370
13370
  length: 256;
13371
13371
  }>;
13372
- }, drizzle_zod15.BuildRefine<{
13372
+ }, drizzle_zod19.BuildRefine<{
13373
13373
  createdAt: drizzle_orm_pg_core217.PgColumn<{
13374
13374
  name: "created_at";
13375
13375
  tableName: "evaluation_suite_config";
@@ -13545,7 +13545,7 @@ declare const EvaluationSuiteConfigApiUpdateSchema: z.ZodObject<{
13545
13545
  sampleRate: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>>;
13546
13546
  evaluatorIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
13547
13547
  }, z.core.$strip>;
13548
- declare const EvaluationRunConfigEvaluationSuiteConfigRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
13548
+ declare const EvaluationRunConfigEvaluationSuiteConfigRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
13549
13549
  createdAt: drizzle_orm_pg_core217.PgColumn<{
13550
13550
  name: "created_at";
13551
13551
  tableName: "evaluation_run_config_evaluation_suite_config_relations";
@@ -13675,7 +13675,7 @@ declare const EvaluationRunConfigEvaluationSuiteConfigRelationSelectSchema: driz
13675
13675
  }, {}, {
13676
13676
  length: 256;
13677
13677
  }>;
13678
- }, drizzle_zod15.BuildRefine<{
13678
+ }, drizzle_zod19.BuildRefine<{
13679
13679
  createdAt: drizzle_orm_pg_core217.PgColumn<{
13680
13680
  name: "created_at";
13681
13681
  tableName: "evaluation_run_config_evaluation_suite_config_relations";
@@ -13842,16 +13842,16 @@ declare const EvaluationRunConfigEvaluationSuiteConfigRelationApiSelectSchema: z
13842
13842
  declare const EvaluationRunConfigEvaluationSuiteConfigRelationApiInsertSchema: z.ZodObject<{
13843
13843
  createdAt: z.ZodOptional<z.ZodString>;
13844
13844
  updatedAt: z.ZodOptional<z.ZodString>;
13845
- evaluationSuiteConfigId: z.ZodString;
13846
13845
  evaluationRunConfigId: z.ZodString;
13846
+ evaluationSuiteConfigId: z.ZodString;
13847
13847
  }, z.core.$strip>;
13848
13848
  declare const EvaluationRunConfigEvaluationSuiteConfigRelationApiUpdateSchema: z.ZodObject<{
13849
13849
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
13850
13850
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
13851
- evaluationSuiteConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13852
13851
  evaluationRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13852
+ evaluationSuiteConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
13853
13853
  }, z.core.$strip>;
13854
- declare const EvaluationJobConfigEvaluatorRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
13854
+ declare const EvaluationJobConfigEvaluatorRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
13855
13855
  createdAt: drizzle_orm_pg_core217.PgColumn<{
13856
13856
  name: "created_at";
13857
13857
  tableName: "evaluation_job_config_evaluator_relations";
@@ -13981,7 +13981,7 @@ declare const EvaluationJobConfigEvaluatorRelationSelectSchema: drizzle_zod15.Bu
13981
13981
  }, {}, {
13982
13982
  length: 256;
13983
13983
  }>;
13984
- }, drizzle_zod15.BuildRefine<{
13984
+ }, drizzle_zod19.BuildRefine<{
13985
13985
  createdAt: drizzle_orm_pg_core217.PgColumn<{
13986
13986
  name: "created_at";
13987
13987
  tableName: "evaluation_job_config_evaluator_relations";
@@ -14148,16 +14148,16 @@ declare const EvaluationJobConfigEvaluatorRelationApiSelectSchema: z.ZodObject<O
14148
14148
  declare const EvaluationJobConfigEvaluatorRelationApiInsertSchema: z.ZodObject<{
14149
14149
  createdAt: z.ZodOptional<z.ZodString>;
14150
14150
  updatedAt: z.ZodOptional<z.ZodString>;
14151
- evaluatorId: z.ZodString;
14152
14151
  evaluationJobConfigId: z.ZodString;
14152
+ evaluatorId: z.ZodString;
14153
14153
  }, z.core.$strip>;
14154
14154
  declare const EvaluationJobConfigEvaluatorRelationApiUpdateSchema: z.ZodObject<{
14155
14155
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
14156
14156
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
14157
- evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14158
14157
  evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14158
+ evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14159
14159
  }, z.core.$strip>;
14160
- declare const EvaluationSuiteConfigEvaluatorRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
14160
+ declare const EvaluationSuiteConfigEvaluatorRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
14161
14161
  createdAt: drizzle_orm_pg_core217.PgColumn<{
14162
14162
  name: "created_at";
14163
14163
  tableName: "evaluation_suite_config_evaluator_relations";
@@ -14287,7 +14287,7 @@ declare const EvaluationSuiteConfigEvaluatorRelationSelectSchema: drizzle_zod15.
14287
14287
  }, {}, {
14288
14288
  length: 256;
14289
14289
  }>;
14290
- }, drizzle_zod15.BuildRefine<{
14290
+ }, drizzle_zod19.BuildRefine<{
14291
14291
  createdAt: drizzle_orm_pg_core217.PgColumn<{
14292
14292
  name: "created_at";
14293
14293
  tableName: "evaluation_suite_config_evaluator_relations";
@@ -14454,16 +14454,16 @@ declare const EvaluationSuiteConfigEvaluatorRelationApiSelectSchema: z.ZodObject
14454
14454
  declare const EvaluationSuiteConfigEvaluatorRelationApiInsertSchema: z.ZodObject<{
14455
14455
  createdAt: z.ZodOptional<z.ZodString>;
14456
14456
  updatedAt: z.ZodOptional<z.ZodString>;
14457
- evaluationSuiteConfigId: z.ZodString;
14458
14457
  evaluatorId: z.ZodString;
14458
+ evaluationSuiteConfigId: z.ZodString;
14459
14459
  }, z.core.$strip>;
14460
14460
  declare const EvaluationSuiteConfigEvaluatorRelationApiUpdateSchema: z.ZodObject<{
14461
14461
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
14462
14462
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
14463
- evaluationSuiteConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14464
14463
  evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14464
+ evaluationSuiteConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14465
14465
  }, z.core.$strip>;
14466
- declare const EvaluatorSelectSchema: drizzle_zod15.BuildSchema<"select", {
14466
+ declare const EvaluatorSelectSchema: drizzle_zod19.BuildSchema<"select", {
14467
14467
  createdAt: drizzle_orm_pg_core217.PgColumn<{
14468
14468
  name: "created_at";
14469
14469
  tableName: "evaluator";
@@ -14671,7 +14671,7 @@ declare const EvaluatorSelectSchema: drizzle_zod15.BuildSchema<"select", {
14671
14671
  }, {}, {
14672
14672
  length: 256;
14673
14673
  }>;
14674
- }, drizzle_zod15.BuildRefine<{
14674
+ }, drizzle_zod19.BuildRefine<{
14675
14675
  createdAt: drizzle_orm_pg_core217.PgColumn<{
14676
14676
  name: "created_at";
14677
14677
  tableName: "evaluator";
@@ -14963,8 +14963,10 @@ declare const EvaluatorApiSelectSchema: z.ZodObject<OmitProjectScope<{
14963
14963
  }>, z.core.$strip>;
14964
14964
  declare const EvaluatorApiInsertSchema: z.ZodObject<{
14965
14965
  name: z.ZodString;
14966
+ createdAt: z.ZodOptional<z.ZodString>;
14967
+ updatedAt: z.ZodOptional<z.ZodString>;
14968
+ schema: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
14966
14969
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14967
- prompt: z.ZodString;
14968
14970
  model: z.ZodType<{
14969
14971
  model?: string | undefined;
14970
14972
  providerOptions?: Record<string, any> | undefined;
@@ -14978,15 +14980,15 @@ declare const EvaluatorApiInsertSchema: z.ZodObject<{
14978
14980
  model?: string | undefined;
14979
14981
  providerOptions?: Record<string, any> | undefined;
14980
14982
  }>>;
14981
- createdAt: z.ZodOptional<z.ZodString>;
14982
- updatedAt: z.ZodOptional<z.ZodString>;
14983
- schema: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
14983
+ prompt: z.ZodString;
14984
14984
  passCriteria: z.ZodOptional<z.ZodNullable<z.ZodType<PassCriteria, PassCriteria, z.core.$ZodTypeInternals<PassCriteria, PassCriteria>>>>;
14985
14985
  }, z.core.$strip>;
14986
14986
  declare const EvaluatorApiUpdateSchema: z.ZodObject<{
14987
14987
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14988
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
14989
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
14990
+ schema: z.ZodOptional<z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
14988
14991
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
14989
- prompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
14990
14992
  model: z.ZodOptional<z.ZodOptional<z.ZodType<{
14991
14993
  model?: string | undefined;
14992
14994
  providerOptions?: Record<string, any> | undefined;
@@ -15000,12 +15002,10 @@ declare const EvaluatorApiUpdateSchema: z.ZodObject<{
15000
15002
  model?: string | undefined;
15001
15003
  providerOptions?: Record<string, any> | undefined;
15002
15004
  }>>>>;
15003
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
15004
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
15005
- schema: z.ZodOptional<z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
15005
+ prompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
15006
15006
  passCriteria: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<PassCriteria, PassCriteria, z.core.$ZodTypeInternals<PassCriteria, PassCriteria>>>>>>;
15007
15007
  }, z.core.$strip>;
15008
- declare const DatasetSelectSchema: drizzle_zod15.BuildSchema<"select", {
15008
+ declare const DatasetSelectSchema: drizzle_zod19.BuildSchema<"select", {
15009
15009
  createdAt: drizzle_orm_pg_core217.PgColumn<{
15010
15010
  name: "created_at";
15011
15011
  tableName: "dataset";
@@ -15116,7 +15116,7 @@ declare const DatasetSelectSchema: drizzle_zod15.BuildSchema<"select", {
15116
15116
  }, {}, {
15117
15117
  length: 256;
15118
15118
  }>;
15119
- }, drizzle_zod15.BuildRefine<{
15119
+ }, drizzle_zod19.BuildRefine<{
15120
15120
  createdAt: drizzle_orm_pg_core217.PgColumn<{
15121
15121
  name: "created_at";
15122
15122
  tableName: "dataset";
@@ -15268,7 +15268,7 @@ declare const DatasetApiUpdateSchema: z.ZodObject<{
15268
15268
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
15269
15269
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
15270
15270
  }, z.core.$strip>;
15271
- declare const DatasetItemSelectSchema: drizzle_zod15.BuildSchema<"select", {
15271
+ declare const DatasetItemSelectSchema: drizzle_zod19.BuildSchema<"select", {
15272
15272
  createdAt: drizzle_orm_pg_core217.PgColumn<{
15273
15273
  name: "created_at";
15274
15274
  tableName: "dataset_item";
@@ -15456,7 +15456,7 @@ declare const DatasetItemSelectSchema: drizzle_zod15.BuildSchema<"select", {
15456
15456
  }, {}, {
15457
15457
  length: 256;
15458
15458
  }>;
15459
- }, drizzle_zod15.BuildRefine<{
15459
+ }, drizzle_zod19.BuildRefine<{
15460
15460
  createdAt: drizzle_orm_pg_core217.PgColumn<{
15461
15461
  name: "created_at";
15462
15462
  tableName: "dataset_item";
@@ -15805,9 +15805,9 @@ declare const DatasetItemApiSelectSchema: z.ZodObject<OmitProjectScope<{
15805
15805
  id: z.ZodString;
15806
15806
  }>, z.core.$strip>;
15807
15807
  declare const DatasetItemApiInsertSchema: z.ZodObject<{
15808
- input: z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>;
15809
15808
  createdAt: z.ZodOptional<z.ZodString>;
15810
15809
  updatedAt: z.ZodOptional<z.ZodString>;
15810
+ input: z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>;
15811
15811
  expectedOutput: z.ZodOptional<z.ZodNullable<z.ZodType<DatasetItemExpectedOutput, DatasetItemExpectedOutput, z.core.$ZodTypeInternals<DatasetItemExpectedOutput, DatasetItemExpectedOutput>>>>;
15812
15812
  simulationAgent: z.ZodOptional<z.ZodNullable<z.ZodType<{
15813
15813
  prompt: string;
@@ -15852,9 +15852,9 @@ declare const DatasetItemApiInsertSchema: z.ZodObject<{
15852
15852
  }>>>>;
15853
15853
  }, z.core.$strip>;
15854
15854
  declare const DatasetItemApiUpdateSchema: z.ZodObject<{
15855
- input: z.ZodOptional<z.ZodOptional<z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>>>;
15856
15855
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
15857
15856
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
15857
+ input: z.ZodOptional<z.ZodOptional<z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>>>;
15858
15858
  expectedOutput: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<DatasetItemExpectedOutput, DatasetItemExpectedOutput, z.core.$ZodTypeInternals<DatasetItemExpectedOutput, DatasetItemExpectedOutput>>>>>>;
15859
15859
  simulationAgent: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
15860
15860
  prompt: string;
@@ -15899,8 +15899,8 @@ declare const DatasetItemApiUpdateSchema: z.ZodObject<{
15899
15899
  }>>>>>>;
15900
15900
  }, z.core.$strip>;
15901
15901
  declare const DatasetRunItemSchema: z.ZodObject<{
15902
- input: z.ZodOptional<z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>>;
15903
15902
  id: z.ZodOptional<z.ZodString>;
15903
+ input: z.ZodOptional<z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>>;
15904
15904
  expectedOutput: z.ZodOptional<z.ZodNullable<z.ZodType<DatasetItemExpectedOutput, DatasetItemExpectedOutput, z.core.$ZodTypeInternals<DatasetItemExpectedOutput, DatasetItemExpectedOutput>>>>;
15905
15905
  simulationAgent: z.ZodOptional<z.ZodNullable<z.ZodType<{
15906
15906
  prompt: string;
@@ -15948,8 +15948,8 @@ declare const DatasetRunItemSchema: z.ZodObject<{
15948
15948
  declare const TriggerDatasetRunSchema: z.ZodObject<{
15949
15949
  datasetRunId: z.ZodString;
15950
15950
  items: z.ZodArray<z.ZodObject<{
15951
- input: z.ZodOptional<z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>>;
15952
15951
  id: z.ZodOptional<z.ZodString>;
15952
+ input: z.ZodOptional<z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>>;
15953
15953
  expectedOutput: z.ZodOptional<z.ZodNullable<z.ZodType<DatasetItemExpectedOutput, DatasetItemExpectedOutput, z.core.$ZodTypeInternals<DatasetItemExpectedOutput, DatasetItemExpectedOutput>>>>;
15954
15954
  simulationAgent: z.ZodOptional<z.ZodNullable<z.ZodType<{
15955
15955
  prompt: string;
@@ -16027,7 +16027,7 @@ declare const TriggerEvaluationJobSchema: z.ZodObject<{
16027
16027
  }, z.core.$strip>>;
16028
16028
  }, z.core.$strip>>>;
16029
16029
  }, z.core.$strip>;
16030
- declare const DatasetRunConfigSelectSchema: drizzle_zod15.BuildSchema<"select", {
16030
+ declare const DatasetRunConfigSelectSchema: drizzle_zod19.BuildSchema<"select", {
16031
16031
  createdAt: drizzle_orm_pg_core217.PgColumn<{
16032
16032
  name: "created_at";
16033
16033
  tableName: "dataset_run_config";
@@ -16174,7 +16174,7 @@ declare const DatasetRunConfigSelectSchema: drizzle_zod15.BuildSchema<"select",
16174
16174
  }, {}, {
16175
16175
  length: 256;
16176
16176
  }>;
16177
- }, drizzle_zod15.BuildRefine<{
16177
+ }, drizzle_zod19.BuildRefine<{
16178
16178
  createdAt: drizzle_orm_pg_core217.PgColumn<{
16179
16179
  name: "created_at";
16180
16180
  tableName: "dataset_run_config";
@@ -16360,19 +16360,19 @@ declare const DatasetRunConfigApiSelectSchema: z.ZodObject<OmitProjectScope<{
16360
16360
  }>, z.core.$strip>;
16361
16361
  declare const DatasetRunConfigApiInsertSchema: z.ZodObject<{
16362
16362
  name: z.ZodString;
16363
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16364
16363
  createdAt: z.ZodOptional<z.ZodString>;
16365
16364
  updatedAt: z.ZodOptional<z.ZodString>;
16365
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16366
16366
  datasetId: z.ZodString;
16367
16367
  }, z.core.$strip>;
16368
16368
  declare const DatasetRunConfigApiUpdateSchema: z.ZodObject<{
16369
16369
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16370
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
16371
16370
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
16372
16371
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
16372
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
16373
16373
  datasetId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16374
16374
  }, z.core.$strip>;
16375
- declare const DatasetRunConfigAgentRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
16375
+ declare const DatasetRunConfigAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
16376
16376
  createdAt: drizzle_orm_pg_core217.PgColumn<{
16377
16377
  name: "created_at";
16378
16378
  tableName: "dataset_run_config_agent_relations";
@@ -16502,7 +16502,7 @@ declare const DatasetRunConfigAgentRelationSelectSchema: drizzle_zod15.BuildSche
16502
16502
  }, {}, {
16503
16503
  length: 256;
16504
16504
  }>;
16505
- }, drizzle_zod15.BuildRefine<{
16505
+ }, drizzle_zod19.BuildRefine<{
16506
16506
  createdAt: drizzle_orm_pg_core217.PgColumn<{
16507
16507
  name: "created_at";
16508
16508
  tableName: "dataset_run_config_agent_relations";
@@ -16678,20 +16678,20 @@ declare const SkillSelectSchema: z.ZodObject<{
16678
16678
  }>;
16679
16679
  declare const SkillInsertSchema: z.ZodObject<{
16680
16680
  name: z.ZodString;
16681
+ metadata: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
16681
16682
  description: z.ZodString;
16682
16683
  tenantId: z.ZodString;
16683
16684
  projectId: z.ZodString;
16684
- metadata: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
16685
16685
  content: z.ZodString;
16686
16686
  }, {
16687
16687
  out: {};
16688
16688
  in: {};
16689
16689
  }>;
16690
16690
  declare const SkillUpdateSchema: z.ZodObject<{
16691
+ metadata: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
16691
16692
  description: z.ZodOptional<z.ZodString>;
16692
16693
  tenantId: z.ZodOptional<z.ZodString>;
16693
16694
  projectId: z.ZodOptional<z.ZodString>;
16694
- metadata: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
16695
16695
  content: z.ZodOptional<z.ZodString>;
16696
16696
  }, {
16697
16697
  out: {};
@@ -16710,18 +16710,18 @@ declare const SkillApiSelectSchema: z.ZodObject<OmitProjectScope<{
16710
16710
  }>, z.core.$strip>;
16711
16711
  declare const SkillApiInsertSchema: z.ZodObject<OmitProjectScope<{
16712
16712
  name: z.ZodString;
16713
+ metadata: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
16713
16714
  description: z.ZodString;
16714
16715
  tenantId: z.ZodString;
16715
16716
  projectId: z.ZodString;
16716
- metadata: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
16717
16717
  content: z.ZodString;
16718
16718
  }>, z.core.$strip>;
16719
16719
  declare const SkillApiUpdateSchema: z.ZodObject<{
16720
- description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16721
16720
  metadata: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>>;
16721
+ description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16722
16722
  content: z.ZodOptional<z.ZodOptional<z.ZodString>>;
16723
16723
  }, z.core.$strip>;
16724
- declare const DataComponentSelectSchema: drizzle_zod15.BuildSchema<"select", {
16724
+ declare const DataComponentSelectSchema: drizzle_zod19.BuildSchema<"select", {
16725
16725
  createdAt: drizzle_orm_pg_core217.PgColumn<{
16726
16726
  name: "created_at";
16727
16727
  tableName: "data_components";
@@ -16907,7 +16907,7 @@ declare const DataComponentSelectSchema: drizzle_zod15.BuildSchema<"select", {
16907
16907
  }, {}, {
16908
16908
  length: 256;
16909
16909
  }>;
16910
- }, drizzle_zod15.BuildRefine<{
16910
+ }, drizzle_zod19.BuildRefine<{
16911
16911
  createdAt: drizzle_orm_pg_core217.PgColumn<{
16912
16912
  name: "created_at";
16913
16913
  tableName: "data_components";
@@ -17307,7 +17307,7 @@ declare const DataComponentApiUpdateSchema: z.ZodObject<{
17307
17307
  description: z.ZodOptional<z.ZodString>;
17308
17308
  }, z.core.$loose>;
17309
17309
  }, z.core.$strip>;
17310
- declare const SubAgentDataComponentSelectSchema: drizzle_zod15.BuildSchema<"select", {
17310
+ declare const SubAgentDataComponentSelectSchema: drizzle_zod19.BuildSchema<"select", {
17311
17311
  dataComponentId: drizzle_orm_pg_core217.PgColumn<{
17312
17312
  name: "data_component_id";
17313
17313
  tableName: "sub_agent_data_components";
@@ -17439,7 +17439,7 @@ declare const SubAgentDataComponentSelectSchema: drizzle_zod15.BuildSchema<"sele
17439
17439
  }, {}, {
17440
17440
  length: 256;
17441
17441
  }>;
17442
- }, drizzle_zod15.BuildRefine<{
17442
+ }, drizzle_zod19.BuildRefine<{
17443
17443
  dataComponentId: drizzle_orm_pg_core217.PgColumn<{
17444
17444
  name: "data_component_id";
17445
17445
  tableName: "sub_agent_data_components";
@@ -17572,7 +17572,7 @@ declare const SubAgentDataComponentSelectSchema: drizzle_zod15.BuildSchema<"sele
17572
17572
  length: 256;
17573
17573
  }>;
17574
17574
  }, undefined>, undefined>;
17575
- declare const SubAgentDataComponentInsertSchema: drizzle_zod15.BuildSchema<"insert", {
17575
+ declare const SubAgentDataComponentInsertSchema: drizzle_zod19.BuildSchema<"insert", {
17576
17576
  dataComponentId: drizzle_orm_pg_core217.PgColumn<{
17577
17577
  name: "data_component_id";
17578
17578
  tableName: "sub_agent_data_components";
@@ -17704,7 +17704,7 @@ declare const SubAgentDataComponentInsertSchema: drizzle_zod15.BuildSchema<"inse
17704
17704
  }, {}, {
17705
17705
  length: 256;
17706
17706
  }>;
17707
- }, drizzle_zod15.BuildRefine<Pick<{
17707
+ }, drizzle_zod19.BuildRefine<Pick<{
17708
17708
  dataComponentId: drizzle_orm_pg_core217.PgColumn<{
17709
17709
  name: "data_component_id";
17710
17710
  tableName: "sub_agent_data_components";
@@ -17836,7 +17836,7 @@ declare const SubAgentDataComponentInsertSchema: drizzle_zod15.BuildSchema<"inse
17836
17836
  }, {}, {
17837
17837
  length: 256;
17838
17838
  }>;
17839
- }, "id" | "tenantId" | "projectId" | "agentId" | "createdAt" | "subAgentId" | "dataComponentId">, undefined>, undefined>;
17839
+ }, "id" | "createdAt" | "tenantId" | "projectId" | "agentId" | "subAgentId" | "dataComponentId">, undefined>, undefined>;
17840
17840
  declare const SubAgentDataComponentUpdateSchema: z.ZodObject<{
17841
17841
  dataComponentId: z.ZodOptional<z.ZodString>;
17842
17842
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -17872,7 +17872,7 @@ declare const SubAgentDataComponentApiUpdateSchema: z.ZodObject<{
17872
17872
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
17873
17873
  dataComponentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
17874
17874
  }, z.core.$strip>;
17875
- declare const ArtifactComponentSelectSchema: drizzle_zod15.BuildSchema<"select", {
17875
+ declare const ArtifactComponentSelectSchema: drizzle_zod19.BuildSchema<"select", {
17876
17876
  createdAt: drizzle_orm_pg_core217.PgColumn<{
17877
17877
  name: "created_at";
17878
17878
  tableName: "artifact_components";
@@ -18058,7 +18058,7 @@ declare const ArtifactComponentSelectSchema: drizzle_zod15.BuildSchema<"select",
18058
18058
  }, {}, {
18059
18059
  length: 256;
18060
18060
  }>;
18061
- }, drizzle_zod15.BuildRefine<{
18061
+ }, drizzle_zod19.BuildRefine<{
18062
18062
  createdAt: drizzle_orm_pg_core217.PgColumn<{
18063
18063
  name: "created_at";
18064
18064
  tableName: "artifact_components";
@@ -18433,11 +18433,11 @@ declare const ArtifactComponentApiInsertSchema: z.ZodObject<{
18433
18433
  in: {};
18434
18434
  }>;
18435
18435
  declare const ArtifactComponentApiUpdateSchema: z.ZodObject<{
18436
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18437
18436
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18438
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
18437
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18439
18438
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18440
18439
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18440
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
18441
18441
  props: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
18442
18442
  [x: string]: unknown;
18443
18443
  type: "object";
@@ -18481,7 +18481,7 @@ declare const ArtifactComponentApiUpdateSchema: z.ZodObject<{
18481
18481
  mockData: Record<string, unknown>;
18482
18482
  }>>>>>>;
18483
18483
  }, z.core.$strip>;
18484
- declare const SubAgentArtifactComponentSelectSchema: drizzle_zod15.BuildSchema<"select", {
18484
+ declare const SubAgentArtifactComponentSelectSchema: drizzle_zod19.BuildSchema<"select", {
18485
18485
  artifactComponentId: drizzle_orm_pg_core217.PgColumn<{
18486
18486
  name: "artifact_component_id";
18487
18487
  tableName: "sub_agent_artifact_components";
@@ -18613,7 +18613,7 @@ declare const SubAgentArtifactComponentSelectSchema: drizzle_zod15.BuildSchema<"
18613
18613
  }, {}, {
18614
18614
  length: 256;
18615
18615
  }>;
18616
- }, drizzle_zod15.BuildRefine<{
18616
+ }, drizzle_zod19.BuildRefine<{
18617
18617
  artifactComponentId: drizzle_orm_pg_core217.PgColumn<{
18618
18618
  name: "artifact_component_id";
18619
18619
  tableName: "sub_agent_artifact_components";
@@ -18852,10 +18852,10 @@ declare const SubAgentSkillApiSelectSchema: z.ZodObject<OmitAgentScope<{
18852
18852
  }>, z.core.$strip>;
18853
18853
  declare const SubAgentSkillApiInsertSchema: z.ZodObject<{
18854
18854
  agentId: z.ZodString;
18855
- index: z.ZodInt;
18856
- alwaysLoaded: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
18857
18855
  subAgentId: z.ZodString;
18858
18856
  skillId: z.ZodString;
18857
+ index: z.ZodInt;
18858
+ alwaysLoaded: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
18859
18859
  }, {
18860
18860
  out: {};
18861
18861
  in: {};
@@ -18864,18 +18864,18 @@ declare const SubAgentSkillApiUpdateSchema: z.ZodObject<{
18864
18864
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18865
18865
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18866
18866
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18867
- index: z.ZodOptional<z.ZodOptional<z.ZodInt>>;
18868
- alwaysLoaded: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>>;
18869
18867
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18870
18868
  skillId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18869
+ index: z.ZodOptional<z.ZodOptional<z.ZodInt>>;
18870
+ alwaysLoaded: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>>;
18871
18871
  }, z.core.$strip>;
18872
18872
  declare const SubAgentSkillWithIndexSchema: z.ZodObject<{
18873
- id: z.ZodString;
18874
18873
  name: z.ZodString;
18875
- description: z.ZodString;
18874
+ id: z.ZodString;
18876
18875
  createdAt: z.ZodString;
18877
18876
  updatedAt: z.ZodString;
18878
18877
  metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
18878
+ description: z.ZodString;
18879
18879
  content: z.ZodString;
18880
18880
  subAgentSkillId: z.ZodString;
18881
18881
  subAgentId: z.ZodString;
@@ -18947,20 +18947,20 @@ declare const ExternalAgentApiInsertSchema: z.ZodObject<OmitProjectScope<{
18947
18947
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18948
18948
  }>, z.core.$strip>;
18949
18949
  declare const ExternalAgentApiUpdateSchema: z.ZodObject<{
18950
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18951
18950
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18952
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
18951
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18953
18952
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18954
18953
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
18955
- baseUrl: z.ZodOptional<z.ZodOptional<z.ZodURL>>;
18954
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
18956
18955
  credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
18956
+ baseUrl: z.ZodOptional<z.ZodOptional<z.ZodURL>>;
18957
18957
  }, z.core.$strip>;
18958
18958
  declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
18959
- id: z.ZodString;
18960
18959
  name: z.ZodString;
18960
+ id: z.ZodString;
18961
+ createdAt: z.ZodString;
18962
+ updatedAt: z.ZodString;
18961
18963
  description: z.ZodNullable<z.ZodString>;
18962
- prompt: z.ZodNullable<z.ZodString>;
18963
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
18964
18964
  models: z.ZodNullable<z.ZodType<{
18965
18965
  base?: {
18966
18966
  model?: string | undefined;
@@ -19023,20 +19023,20 @@ declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
19023
19023
  }, {
19024
19024
  stepCountIs?: number | undefined;
19025
19025
  }>>>;
19026
- createdAt: z.ZodString;
19027
- updatedAt: z.ZodString;
19026
+ prompt: z.ZodNullable<z.ZodString>;
19027
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
19028
19028
  type: z.ZodLiteral<"internal">;
19029
19029
  }, z.core.$strip>, z.ZodObject<{
19030
- id: z.ZodString;
19031
19030
  name: z.ZodString;
19032
- description: z.ZodNullable<z.ZodString>;
19031
+ id: z.ZodString;
19033
19032
  createdAt: z.ZodString;
19034
19033
  updatedAt: z.ZodString;
19035
- baseUrl: z.ZodString;
19034
+ description: z.ZodNullable<z.ZodString>;
19036
19035
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19036
+ baseUrl: z.ZodString;
19037
19037
  type: z.ZodLiteral<"external">;
19038
19038
  }, z.core.$strip>], "type">;
19039
- declare const ApiKeySelectSchema: drizzle_zod15.BuildSchema<"select", {
19039
+ declare const ApiKeySelectSchema: drizzle_zod19.BuildSchema<"select", {
19040
19040
  createdAt: drizzle_orm_pg_core217.PgColumn<{
19041
19041
  name: "created_at";
19042
19042
  tableName: "api_keys";
@@ -19257,7 +19257,7 @@ declare const ApiKeySelectSchema: drizzle_zod15.BuildSchema<"select", {
19257
19257
  }, {}, {
19258
19258
  length: 256;
19259
19259
  }>;
19260
- }, drizzle_zod15.BuildRefine<{
19260
+ }, drizzle_zod19.BuildRefine<{
19261
19261
  createdAt: drizzle_orm_pg_core217.PgColumn<{
19262
19262
  name: "created_at";
19263
19263
  tableName: "api_keys";
@@ -19498,20 +19498,20 @@ declare const ApiKeyInsertSchema: z.ZodObject<{
19498
19498
  }>;
19499
19499
  declare const ApiKeyUpdateSchema: z.ZodObject<{
19500
19500
  name: z.ZodOptional<z.ZodString>;
19501
- agentId: z.ZodOptional<z.ZodString>;
19502
19501
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19503
19502
  expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19503
+ agentId: z.ZodOptional<z.ZodString>;
19504
19504
  }, {
19505
19505
  out: {};
19506
19506
  in: {};
19507
19507
  }>;
19508
19508
  declare const ApiKeyApiSelectSchema: z.ZodObject<{
19509
- id: z.ZodString;
19510
19509
  name: z.ZodNullable<z.ZodString>;
19511
- agentId: z.ZodString;
19510
+ id: z.ZodString;
19512
19511
  createdAt: z.ZodString;
19513
19512
  updatedAt: z.ZodString;
19514
19513
  expiresAt: z.ZodNullable<z.ZodString>;
19514
+ agentId: z.ZodString;
19515
19515
  publicId: z.ZodString;
19516
19516
  keyPrefix: z.ZodString;
19517
19517
  lastUsedAt: z.ZodNullable<z.ZodString>;
@@ -19522,12 +19522,12 @@ declare const ApiKeyApiSelectSchema: z.ZodObject<{
19522
19522
  declare const ApiKeyApiCreationResponseSchema: z.ZodObject<{
19523
19523
  data: z.ZodObject<{
19524
19524
  apiKey: z.ZodObject<{
19525
- id: z.ZodString;
19526
19525
  name: z.ZodNullable<z.ZodString>;
19527
- agentId: z.ZodString;
19526
+ id: z.ZodString;
19528
19527
  createdAt: z.ZodString;
19529
19528
  updatedAt: z.ZodString;
19530
19529
  expiresAt: z.ZodNullable<z.ZodString>;
19530
+ agentId: z.ZodString;
19531
19531
  publicId: z.ZodString;
19532
19532
  keyPrefix: z.ZodString;
19533
19533
  lastUsedAt: z.ZodNullable<z.ZodString>;
@@ -19540,24 +19540,24 @@ declare const ApiKeyApiCreationResponseSchema: z.ZodObject<{
19540
19540
  }, z.core.$strip>;
19541
19541
  declare const ApiKeyApiInsertSchema: z.ZodObject<{
19542
19542
  name: z.ZodString;
19543
- agentId: z.ZodString;
19544
19543
  createdAt: z.ZodOptional<z.ZodString>;
19545
19544
  updatedAt: z.ZodOptional<z.ZodString>;
19546
19545
  expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19546
+ agentId: z.ZodString;
19547
19547
  }, {
19548
19548
  out: {};
19549
19549
  in: {};
19550
19550
  }>;
19551
19551
  declare const ApiKeyApiUpdateSchema: z.ZodObject<{
19552
19552
  name: z.ZodOptional<z.ZodString>;
19553
- agentId: z.ZodOptional<z.ZodString>;
19554
19553
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19555
19554
  expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19555
+ agentId: z.ZodOptional<z.ZodString>;
19556
19556
  }, {
19557
19557
  out: {};
19558
19558
  in: {};
19559
19559
  }>;
19560
- declare const CredentialReferenceSelectSchema: drizzle_zod15.BuildSchema<"select", {
19560
+ declare const CredentialReferenceSelectSchema: drizzle_zod19.BuildSchema<"select", {
19561
19561
  createdAt: drizzle_orm_pg_core217.PgColumn<{
19562
19562
  name: "created_at";
19563
19563
  tableName: "credential_references";
@@ -19782,7 +19782,7 @@ declare const CredentialReferenceSelectSchema: drizzle_zod15.BuildSchema<"select
19782
19782
  }, {}, {
19783
19783
  length: 256;
19784
19784
  }>;
19785
- }, drizzle_zod15.BuildRefine<{
19785
+ }, drizzle_zod19.BuildRefine<{
19786
19786
  createdAt: drizzle_orm_pg_core217.PgColumn<{
19787
19787
  name: "created_at";
19788
19788
  tableName: "credential_references";
@@ -20043,21 +20043,21 @@ declare const CredentialReferenceUpdateSchema: z.ZodObject<{
20043
20043
  in: {};
20044
20044
  }>;
20045
20045
  declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
20046
- id: z.ZodString;
20047
20046
  name: z.ZodString;
20047
+ id: z.ZodString;
20048
20048
  createdAt: z.ZodString;
20049
20049
  updatedAt: z.ZodString;
20050
- toolId: z.ZodNullable<z.ZodString>;
20051
20050
  userId: z.ZodNullable<z.ZodString>;
20052
20051
  createdBy: z.ZodNullable<z.ZodString>;
20053
20052
  credentialStoreId: z.ZodString;
20054
20053
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
20054
+ toolId: z.ZodNullable<z.ZodString>;
20055
20055
  type: z.ZodEnum<{
20056
20056
  readonly memory: "memory";
20057
20057
  readonly keychain: "keychain";
20058
20058
  readonly nango: "nango";
20059
20059
  }>;
20060
- tools: z.ZodOptional<z.ZodArray<drizzle_zod15.BuildSchema<"select", {
20060
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod19.BuildSchema<"select", {
20061
20061
  createdAt: drizzle_orm_pg_core217.PgColumn<{
20062
20062
  name: "created_at";
20063
20063
  tableName: "tools";
@@ -20337,7 +20337,7 @@ declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
20337
20337
  }, {}, {
20338
20338
  length: 256;
20339
20339
  }>;
20340
- }, drizzle_zod15.BuildRefine<{
20340
+ }, drizzle_zod19.BuildRefine<{
20341
20341
  createdAt: drizzle_orm_pg_core217.PgColumn<{
20342
20342
  name: "created_at";
20343
20343
  tableName: "tools";
@@ -20634,15 +20634,15 @@ declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
20634
20634
  }>>>;
20635
20635
  }, z.core.$strip>;
20636
20636
  declare const CredentialReferenceApiInsertSchema: z.ZodObject<{
20637
- id: z.ZodString;
20638
20637
  name: z.ZodString;
20638
+ id: z.ZodString;
20639
20639
  createdAt: z.ZodOptional<z.ZodString>;
20640
20640
  updatedAt: z.ZodOptional<z.ZodString>;
20641
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20642
20641
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20643
20642
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20644
20643
  credentialStoreId: z.ZodString;
20645
20644
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
20645
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20646
20646
  type: z.ZodEnum<{
20647
20647
  readonly memory: "memory";
20648
20648
  readonly keychain: "keychain";
@@ -20650,15 +20650,15 @@ declare const CredentialReferenceApiInsertSchema: z.ZodObject<{
20650
20650
  }>;
20651
20651
  }, z.core.$strip>;
20652
20652
  declare const CredentialReferenceApiUpdateSchema: z.ZodObject<{
20653
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20654
20653
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20654
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20655
20655
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
20656
20656
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
20657
- toolId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
20658
20657
  userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
20659
20658
  createdBy: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
20660
20659
  credentialStoreId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20661
20660
  retrievalParams: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>>;
20661
+ toolId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
20662
20662
  type: z.ZodOptional<z.ZodEnum<{
20663
20663
  readonly memory: "memory";
20664
20664
  readonly keychain: "keychain";
@@ -20781,10 +20781,10 @@ declare const McpToolSchema: z.ZodObject<{
20781
20781
  in: {};
20782
20782
  }>;
20783
20783
  declare const MCPToolConfigSchema: z.ZodObject<{
20784
- id: z.ZodString;
20785
20784
  name: z.ZodString;
20786
- headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
20785
+ id: z.ZodString;
20787
20786
  expiresAt: z.ZodOptional<z.ZodString>;
20787
+ headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
20788
20788
  createdBy: z.ZodOptional<z.ZodString>;
20789
20789
  credentialScope: z.ZodOptional<z.ZodString>;
20790
20790
  imageUrl: z.ZodOptional<z.ZodString>;
@@ -20817,15 +20817,15 @@ declare const MCPToolConfigSchema: z.ZodObject<{
20817
20817
  sessionId: z.ZodOptional<z.ZodString>;
20818
20818
  }, z.core.$strip>>;
20819
20819
  credential: z.ZodOptional<z.ZodObject<{
20820
- id: z.ZodString;
20821
20820
  name: z.ZodString;
20821
+ id: z.ZodString;
20822
20822
  createdAt: z.ZodOptional<z.ZodString>;
20823
20823
  updatedAt: z.ZodOptional<z.ZodString>;
20824
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20825
20824
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20826
20825
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20827
20826
  credentialStoreId: z.ZodString;
20828
20827
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
20828
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20829
20829
  type: z.ZodEnum<{
20830
20830
  readonly memory: "memory";
20831
20831
  readonly keychain: "keychain";
@@ -20960,11 +20960,11 @@ declare const ToolApiInsertSchema: z.ZodObject<OmitProjectScope<{
20960
20960
  }, z.core.$strip>;
20961
20961
  }>, z.core.$strip>;
20962
20962
  declare const ToolApiUpdateSchema: z.ZodObject<{
20963
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20964
20963
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20965
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
20964
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
20966
20965
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
20967
20966
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
20967
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
20968
20968
  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>>>>>>>;
20969
20969
  config: z.ZodOptional<z.ZodOptional<z.ZodObject<{
20970
20970
  type: z.ZodLiteral<"mcp">;
@@ -20999,7 +20999,7 @@ declare const ToolApiUpdateSchema: z.ZodObject<{
20999
20999
  lastError: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
21000
21000
  isWorkApp: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodBoolean>>>;
21001
21001
  }, z.core.$strip>;
21002
- declare const FunctionToolSelectSchema: drizzle_zod15.BuildSchema<"select", {
21002
+ declare const FunctionToolSelectSchema: drizzle_zod19.BuildSchema<"select", {
21003
21003
  createdAt: drizzle_orm_pg_core217.PgColumn<{
21004
21004
  name: "created_at";
21005
21005
  tableName: "function_tools";
@@ -21165,7 +21165,7 @@ declare const FunctionToolSelectSchema: drizzle_zod15.BuildSchema<"select", {
21165
21165
  }, {}, {
21166
21166
  length: 256;
21167
21167
  }>;
21168
- }, drizzle_zod15.BuildRefine<{
21168
+ }, drizzle_zod19.BuildRefine<{
21169
21169
  createdAt: drizzle_orm_pg_core217.PgColumn<{
21170
21170
  name: "created_at";
21171
21171
  tableName: "function_tools";
@@ -21361,12 +21361,12 @@ declare const FunctionToolUpdateSchema: z.ZodObject<{
21361
21361
  in: {};
21362
21362
  }>;
21363
21363
  declare const FunctionToolApiSelectSchema: z.ZodObject<{
21364
- id: z.ZodString;
21365
21364
  name: z.ZodString;
21366
- description: z.ZodNullable<z.ZodString>;
21367
- agentId: z.ZodString;
21365
+ id: z.ZodString;
21368
21366
  createdAt: z.ZodString;
21369
21367
  updatedAt: z.ZodString;
21368
+ description: z.ZodNullable<z.ZodString>;
21369
+ agentId: z.ZodString;
21370
21370
  functionId: z.ZodString;
21371
21371
  relationshipId: z.ZodOptional<z.ZodString>;
21372
21372
  }, z.core.$strip>;
@@ -21382,15 +21382,15 @@ declare const FunctionToolApiInsertSchema: z.ZodObject<OmitAgentScope<{
21382
21382
  id: z.ZodString;
21383
21383
  }>, z.core.$strip>;
21384
21384
  declare const FunctionToolApiUpdateSchema: z.ZodObject<{
21385
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21386
21385
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21387
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
21388
- agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21386
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21389
21387
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
21390
21388
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
21389
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
21390
+ agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21391
21391
  functionId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21392
21392
  }, z.core.$strip>;
21393
- declare const SubAgentFunctionToolRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
21393
+ declare const SubAgentFunctionToolRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
21394
21394
  createdAt: drizzle_orm_pg_core217.PgColumn<{
21395
21395
  name: "created_at";
21396
21396
  tableName: "sub_agent_function_tool_relations";
@@ -21562,7 +21562,7 @@ declare const SubAgentFunctionToolRelationSelectSchema: drizzle_zod15.BuildSchem
21562
21562
  }, {}, {
21563
21563
  length: 256;
21564
21564
  }>;
21565
- }, drizzle_zod15.BuildRefine<{
21565
+ }, drizzle_zod19.BuildRefine<{
21566
21566
  createdAt: drizzle_orm_pg_core217.PgColumn<{
21567
21567
  name: "created_at";
21568
21568
  tableName: "sub_agent_function_tool_relations";
@@ -21738,7 +21738,7 @@ declare const SubAgentFunctionToolRelationSelectSchema: drizzle_zod15.BuildSchem
21738
21738
  declare const SubAgentFunctionToolRelationInsertSchema: z.ZodObject<{
21739
21739
  createdAt: z.ZodOptional<z.ZodString>;
21740
21740
  updatedAt: z.ZodOptional<z.ZodString>;
21741
- toolPolicies: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
21741
+ toolPolicies: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
21742
21742
  agentId: z.ZodString;
21743
21743
  projectId: z.ZodString;
21744
21744
  tenantId: z.ZodString;
@@ -21753,7 +21753,7 @@ declare const SubAgentFunctionToolRelationApiSelectSchema: z.ZodObject<OmitAgent
21753
21753
  createdAt: z.ZodString;
21754
21754
  updatedAt: z.ZodString;
21755
21755
  functionToolId: z.ZodString;
21756
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
21756
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
21757
21757
  subAgentId: z.ZodString;
21758
21758
  agentId: z.ZodString;
21759
21759
  projectId: z.ZodString;
@@ -21761,14 +21761,14 @@ declare const SubAgentFunctionToolRelationApiSelectSchema: z.ZodObject<OmitAgent
21761
21761
  id: z.ZodString;
21762
21762
  }>, z.core.$strip>;
21763
21763
  declare const SubAgentFunctionToolRelationApiInsertSchema: z.ZodObject<{
21764
- toolPolicies: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
21765
21764
  subAgentId: z.ZodString;
21766
21765
  functionToolId: z.ZodString;
21766
+ toolPolicies: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
21767
21767
  }, {
21768
21768
  out: {};
21769
21769
  in: {};
21770
21770
  }>;
21771
- declare const FunctionSelectSchema: drizzle_zod15.BuildSchema<"select", {
21771
+ declare const FunctionSelectSchema: drizzle_zod19.BuildSchema<"select", {
21772
21772
  createdAt: drizzle_orm_pg_core217.PgColumn<{
21773
21773
  name: "created_at";
21774
21774
  tableName: "functions";
@@ -21915,7 +21915,7 @@ declare const FunctionSelectSchema: drizzle_zod15.BuildSchema<"select", {
21915
21915
  }, {}, {
21916
21916
  length: 256;
21917
21917
  }>;
21918
- }, drizzle_zod15.BuildRefine<{
21918
+ }, drizzle_zod19.BuildRefine<{
21919
21919
  createdAt: drizzle_orm_pg_core217.PgColumn<{
21920
21920
  name: "created_at";
21921
21921
  tableName: "functions";
@@ -22112,8 +22112,8 @@ declare const FunctionApiUpdateSchema: z.ZodObject<{
22112
22112
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
22113
22113
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
22114
22114
  inputSchema: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>>>;
22115
- executeCode: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22116
22115
  dependencies: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>>>;
22116
+ executeCode: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22117
22117
  }, z.core.$strip>;
22118
22118
  declare const FetchConfigSchema: z.ZodObject<{
22119
22119
  url: z.ZodString;
@@ -22155,15 +22155,15 @@ declare const FetchDefinitionSchema: z.ZodObject<{
22155
22155
  responseSchema: z.ZodOptional<z.ZodAny>;
22156
22156
  defaultValue: z.ZodOptional<z.ZodAny>;
22157
22157
  credential: z.ZodOptional<z.ZodObject<{
22158
- id: z.ZodString;
22159
22158
  name: z.ZodString;
22159
+ id: z.ZodString;
22160
22160
  createdAt: z.ZodOptional<z.ZodString>;
22161
22161
  updatedAt: z.ZodOptional<z.ZodString>;
22162
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22163
22162
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22164
22163
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22165
22164
  credentialStoreId: z.ZodString;
22166
22165
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
22166
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22167
22167
  type: z.ZodEnum<{
22168
22168
  readonly memory: "memory";
22169
22169
  readonly keychain: "keychain";
@@ -22223,7 +22223,7 @@ declare const ContextConfigApiUpdateSchema: z.ZodObject<{
22223
22223
  headersSchema: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>>;
22224
22224
  contextVariables: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodAny>>>>;
22225
22225
  }, z.core.$strip>;
22226
- declare const SubAgentToolRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
22226
+ declare const SubAgentToolRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
22227
22227
  createdAt: drizzle_orm_pg_core217.PgColumn<{
22228
22228
  name: "created_at";
22229
22229
  tableName: "sub_agent_tool_relations";
@@ -22433,7 +22433,7 @@ declare const SubAgentToolRelationSelectSchema: drizzle_zod15.BuildSchema<"selec
22433
22433
  }, {}, {
22434
22434
  length: 256;
22435
22435
  }>;
22436
- }, drizzle_zod15.BuildRefine<{
22436
+ }, drizzle_zod19.BuildRefine<{
22437
22437
  createdAt: drizzle_orm_pg_core217.PgColumn<{
22438
22438
  name: "created_at";
22439
22439
  tableName: "sub_agent_tool_relations";
@@ -22684,9 +22684,9 @@ declare const SubAgentToolRelationApiSelectSchema: z.ZodObject<OmitAgentScope<{
22684
22684
  createdAt: z.ZodString;
22685
22685
  updatedAt: z.ZodString;
22686
22686
  toolId: z.ZodString;
22687
- selectedTools: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
22688
- headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
22689
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
22687
+ selectedTools: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
22688
+ headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
22689
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
22690
22690
  subAgentId: z.ZodString;
22691
22691
  agentId: z.ZodString;
22692
22692
  projectId: z.ZodString;
@@ -22712,15 +22712,15 @@ declare const SubAgentToolRelationApiUpdateSchema: z.ZodObject<{
22712
22712
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22713
22713
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
22714
22714
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
22715
- toolId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22716
22715
  headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
22716
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22717
+ toolId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22717
22718
  toolPolicies: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
22718
22719
  needsApproval: z.ZodOptional<z.ZodBoolean>;
22719
22720
  }, z.core.$strip>>>>>>;
22720
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
22721
22721
  selectedTools: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>>>;
22722
22722
  }, z.core.$strip>;
22723
- declare const SubAgentExternalAgentRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
22723
+ declare const SubAgentExternalAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
22724
22724
  createdAt: drizzle_orm_pg_core217.PgColumn<{
22725
22725
  name: "created_at";
22726
22726
  tableName: "sub_agent_external_agent_relations";
@@ -22888,7 +22888,7 @@ declare const SubAgentExternalAgentRelationSelectSchema: drizzle_zod15.BuildSche
22888
22888
  }, {}, {
22889
22889
  length: 256;
22890
22890
  }>;
22891
- }, drizzle_zod15.BuildRefine<{
22891
+ }, drizzle_zod19.BuildRefine<{
22892
22892
  createdAt: drizzle_orm_pg_core217.PgColumn<{
22893
22893
  name: "created_at";
22894
22894
  tableName: "sub_agent_external_agent_relations";
@@ -23089,7 +23089,7 @@ declare const SubAgentExternalAgentRelationApiSelectSchema: z.ZodObject<OmitAgen
23089
23089
  createdAt: z.ZodString;
23090
23090
  updatedAt: z.ZodString;
23091
23091
  externalAgentId: z.ZodString;
23092
- headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
23092
+ headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
23093
23093
  subAgentId: z.ZodString;
23094
23094
  agentId: z.ZodString;
23095
23095
  projectId: z.ZodString;
@@ -23107,10 +23107,10 @@ declare const SubAgentExternalAgentRelationApiUpdateSchema: z.ZodObject<{
23107
23107
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
23108
23108
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
23109
23109
  headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
23110
- externalAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23111
23110
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23111
+ externalAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23112
23112
  }, z.core.$strip>;
23113
- declare const SubAgentTeamAgentRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
23113
+ declare const SubAgentTeamAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
23114
23114
  createdAt: drizzle_orm_pg_core217.PgColumn<{
23115
23115
  name: "created_at";
23116
23116
  tableName: "sub_agent_team_agent_relations";
@@ -23278,7 +23278,7 @@ declare const SubAgentTeamAgentRelationSelectSchema: drizzle_zod15.BuildSchema<"
23278
23278
  }, {}, {
23279
23279
  length: 256;
23280
23280
  }>;
23281
- }, drizzle_zod15.BuildRefine<{
23281
+ }, drizzle_zod19.BuildRefine<{
23282
23282
  createdAt: drizzle_orm_pg_core217.PgColumn<{
23283
23283
  name: "created_at";
23284
23284
  tableName: "sub_agent_team_agent_relations";
@@ -23479,7 +23479,7 @@ declare const SubAgentTeamAgentRelationApiSelectSchema: z.ZodObject<OmitAgentSco
23479
23479
  createdAt: z.ZodString;
23480
23480
  updatedAt: z.ZodString;
23481
23481
  targetAgentId: z.ZodString;
23482
- headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
23482
+ headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
23483
23483
  subAgentId: z.ZodString;
23484
23484
  agentId: z.ZodString;
23485
23485
  projectId: z.ZodString;
@@ -23500,7 +23500,7 @@ declare const SubAgentTeamAgentRelationApiUpdateSchema: z.ZodObject<{
23500
23500
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23501
23501
  targetAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23502
23502
  }, z.core.$strip>;
23503
- declare const LedgerArtifactSelectSchema: drizzle_zod15.BuildSchema<"select", {
23503
+ declare const LedgerArtifactSelectSchema: drizzle_zod19.BuildSchema<"select", {
23504
23504
  createdAt: drizzle_orm_pg_core217.PgColumn<{
23505
23505
  name: "created_at";
23506
23506
  tableName: "ledger_artifacts";
@@ -23835,7 +23835,7 @@ declare const LedgerArtifactSelectSchema: drizzle_zod15.BuildSchema<"select", {
23835
23835
  }, {}, {
23836
23836
  length: 256;
23837
23837
  }>;
23838
- }, drizzle_zod15.BuildRefine<{
23838
+ }, drizzle_zod19.BuildRefine<{
23839
23839
  createdAt: drizzle_orm_pg_core217.PgColumn<{
23840
23840
  name: "created_at";
23841
23841
  tableName: "ledger_artifacts";
@@ -24171,7 +24171,7 @@ declare const LedgerArtifactSelectSchema: drizzle_zod15.BuildSchema<"select", {
24171
24171
  length: 256;
24172
24172
  }>;
24173
24173
  }, undefined>, undefined>;
24174
- declare const LedgerArtifactInsertSchema: drizzle_zod15.BuildSchema<"insert", {
24174
+ declare const LedgerArtifactInsertSchema: drizzle_zod19.BuildSchema<"insert", {
24175
24175
  createdAt: drizzle_orm_pg_core217.PgColumn<{
24176
24176
  name: "created_at";
24177
24177
  tableName: "ledger_artifacts";
@@ -24506,7 +24506,7 @@ declare const LedgerArtifactInsertSchema: drizzle_zod15.BuildSchema<"insert", {
24506
24506
  }, {}, {
24507
24507
  length: 256;
24508
24508
  }>;
24509
- }, drizzle_zod15.BuildRefine<Pick<{
24509
+ }, drizzle_zod19.BuildRefine<Pick<{
24510
24510
  createdAt: drizzle_orm_pg_core217.PgColumn<{
24511
24511
  name: "created_at";
24512
24512
  tableName: "ledger_artifacts";
@@ -24841,7 +24841,7 @@ declare const LedgerArtifactInsertSchema: drizzle_zod15.BuildSchema<"insert", {
24841
24841
  }, {}, {
24842
24842
  length: 256;
24843
24843
  }>;
24844
- }, "type" | "id" | "name" | "description" | "tenantId" | "projectId" | "createdAt" | "updatedAt" | "metadata" | "toolCallId" | "contextId" | "visibility" | "taskId" | "parts" | "summary" | "mime" | "allowedAgents" | "derivedFrom">, undefined>, undefined>;
24844
+ }, "name" | "id" | "createdAt" | "updatedAt" | "metadata" | "description" | "type" | "tenantId" | "projectId" | "taskId" | "toolCallId" | "contextId" | "visibility" | "parts" | "summary" | "mime" | "allowedAgents" | "derivedFrom">, undefined>, undefined>;
24845
24845
  declare const LedgerArtifactUpdateSchema: z.ZodObject<{
24846
24846
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
24847
24847
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -24851,12 +24851,12 @@ declare const LedgerArtifactUpdateSchema: z.ZodObject<{
24851
24851
  type: z.ZodOptional<z.ZodOptional<z.ZodString>>;
24852
24852
  name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
24853
24853
  description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
24854
- parts: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
24855
- metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
24854
+ parts: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
24855
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
24856
24856
  summary: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
24857
- mime: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
24857
+ mime: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
24858
24858
  visibility: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
24859
- allowedAgents: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>;
24859
+ allowedAgents: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>;
24860
24860
  derivedFrom: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
24861
24861
  projectId: z.ZodOptional<z.ZodString>;
24862
24862
  tenantId: z.ZodOptional<z.ZodString>;
@@ -24874,12 +24874,12 @@ declare const LedgerArtifactApiSelectSchema: z.ZodObject<OmitProjectScope<{
24874
24874
  type: z.ZodString;
24875
24875
  name: z.ZodNullable<z.ZodString>;
24876
24876
  description: z.ZodNullable<z.ZodString>;
24877
- parts: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
24878
- metadata: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
24877
+ parts: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
24878
+ metadata: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
24879
24879
  summary: z.ZodNullable<z.ZodString>;
24880
- mime: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
24880
+ mime: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
24881
24881
  visibility: z.ZodNullable<z.ZodString>;
24882
- allowedAgents: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
24882
+ allowedAgents: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
24883
24883
  derivedFrom: z.ZodNullable<z.ZodString>;
24884
24884
  projectId: z.ZodString;
24885
24885
  tenantId: z.ZodString;
@@ -24894,33 +24894,33 @@ declare const LedgerArtifactApiInsertSchema: z.ZodObject<OmitProjectScope<{
24894
24894
  type: z.ZodOptional<z.ZodString>;
24895
24895
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24896
24896
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24897
- parts: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
24898
- metadata: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
24897
+ parts: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
24898
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
24899
24899
  summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24900
- mime: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
24900
+ mime: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
24901
24901
  visibility: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24902
- allowedAgents: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
24902
+ allowedAgents: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
24903
24903
  derivedFrom: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24904
24904
  projectId: z.ZodString;
24905
24905
  tenantId: z.ZodString;
24906
24906
  id: z.ZodString;
24907
24907
  }>, z.core.$strip>;
24908
24908
  declare const LedgerArtifactApiUpdateSchema: z.ZodObject<{
24909
- type: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
24910
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
24911
24909
  name: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
24912
- description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
24910
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
24913
24911
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
24914
24912
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
24915
- metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>>;
24913
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
24914
+ description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
24915
+ type: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
24916
+ taskId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
24916
24917
  toolCallId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
24917
24918
  contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
24918
24919
  visibility: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
24919
- taskId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
24920
- parts: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>>;
24920
+ parts: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
24921
24921
  summary: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
24922
- mime: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>>;
24923
- allowedAgents: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>>;
24922
+ mime: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
24923
+ allowedAgents: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
24924
24924
  derivedFrom: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
24925
24925
  }, z.core.$strip>;
24926
24926
  declare const StatusComponentSchema: z.ZodObject<{
@@ -24986,10 +24986,11 @@ declare const TeamAgentSchema: z.ZodObject<{
24986
24986
  description: z.ZodString;
24987
24987
  }, z.core.$strip>;
24988
24988
  declare const FullAgentAgentInsertSchema: z.ZodObject<{
24989
- id: z.ZodString;
24990
24989
  name: z.ZodString;
24990
+ id: z.ZodString;
24991
+ createdAt: z.ZodOptional<z.ZodString>;
24992
+ updatedAt: z.ZodOptional<z.ZodString>;
24991
24993
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24992
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
24993
24994
  models: z.ZodOptional<z.ZodObject<{
24994
24995
  base: z.ZodOptional<z.ZodObject<{
24995
24996
  model: z.ZodOptional<z.ZodString>;
@@ -25004,8 +25005,7 @@ declare const FullAgentAgentInsertSchema: z.ZodObject<{
25004
25005
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
25005
25006
  }, z.core.$strip>>;
25006
25007
  }, z.core.$strip>>;
25007
- createdAt: z.ZodOptional<z.ZodString>;
25008
- updatedAt: z.ZodOptional<z.ZodString>;
25008
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
25009
25009
  type: z.ZodLiteral<"internal">;
25010
25010
  canUse: z.ZodArray<z.ZodObject<{
25011
25011
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -25040,17 +25040,18 @@ declare const FullAgentAgentInsertSchema: z.ZodObject<{
25040
25040
  }, z.core.$strip>;
25041
25041
  declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
25042
25042
  name: z.ZodString;
25043
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25044
- defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25045
25043
  createdAt: z.ZodOptional<z.ZodString>;
25046
25044
  updatedAt: z.ZodOptional<z.ZodString>;
25045
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25046
+ defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25047
25047
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25048
25048
  id: z.ZodString;
25049
25049
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
25050
- id: z.ZodString;
25051
25050
  name: z.ZodString;
25051
+ id: z.ZodString;
25052
+ createdAt: z.ZodOptional<z.ZodString>;
25053
+ updatedAt: z.ZodOptional<z.ZodString>;
25052
25054
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25053
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
25054
25055
  models: z.ZodOptional<z.ZodObject<{
25055
25056
  base: z.ZodOptional<z.ZodObject<{
25056
25057
  model: z.ZodOptional<z.ZodString>;
@@ -25065,8 +25066,7 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
25065
25066
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
25066
25067
  }, z.core.$strip>>;
25067
25068
  }, z.core.$strip>>;
25068
- createdAt: z.ZodOptional<z.ZodString>;
25069
- updatedAt: z.ZodOptional<z.ZodString>;
25069
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
25070
25070
  type: z.ZodLiteral<"internal">;
25071
25071
  canUse: z.ZodArray<z.ZodObject<{
25072
25072
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -25178,25 +25178,25 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
25178
25178
  }, z.core.$strip>>>;
25179
25179
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
25180
25180
  name: z.ZodString;
25181
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25182
25181
  createdAt: z.ZodOptional<z.ZodString>;
25183
25182
  updatedAt: z.ZodOptional<z.ZodString>;
25183
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25184
25184
  enabled: z.ZodOptional<z.ZodBoolean>;
25185
- inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
25186
- outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
25185
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
25186
+ outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
25187
25187
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25188
- authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
25188
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
25189
25189
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25190
- signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
25190
+ signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
25191
25191
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25192
25192
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25193
25193
  id: z.ZodOptional<z.ZodString>;
25194
25194
  }, z.core.$strip>>>;
25195
25195
  scheduledTriggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
25196
25196
  name: z.ZodString;
25197
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25198
25197
  createdAt: z.ZodOptional<z.ZodString>;
25199
25198
  updatedAt: z.ZodOptional<z.ZodString>;
25199
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25200
25200
  enabled: z.ZodOptional<z.ZodBoolean>;
25201
25201
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25202
25202
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -25204,7 +25204,7 @@ declare const AgentWithinContextOfProjectSchema: z.ZodObject<{
25204
25204
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25205
25205
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25206
25206
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25207
- payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
25207
+ payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
25208
25208
  maxRetries: z.ZodOptional<z.ZodNumber>;
25209
25209
  retryDelaySeconds: z.ZodOptional<z.ZodNumber>;
25210
25210
  timeoutSeconds: z.ZodOptional<z.ZodNumber>;
@@ -25309,8 +25309,8 @@ declare const ProjectSelectSchema: z.ZodObject<{
25309
25309
  in: {};
25310
25310
  }>;
25311
25311
  declare const ProjectInsertSchema: z.ZodObject<{
25312
- id: z.ZodString;
25313
25312
  name: z.ZodString;
25313
+ id: z.ZodString;
25314
25314
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25315
25315
  tenantId: z.ZodString;
25316
25316
  models: z.ZodObject<{
@@ -25361,8 +25361,10 @@ declare const ProjectUpdateSchema: z.ZodObject<{
25361
25361
  in: {};
25362
25362
  }>;
25363
25363
  declare const ProjectApiSelectSchema: z.ZodObject<{
25364
- id: z.ZodString;
25365
25364
  name: z.ZodString;
25365
+ id: z.ZodString;
25366
+ createdAt: z.ZodString;
25367
+ updatedAt: z.ZodString;
25366
25368
  description: z.ZodNullable<z.ZodString>;
25367
25369
  models: z.ZodNullable<z.ZodObject<{
25368
25370
  base: z.ZodObject<{
@@ -25382,15 +25384,13 @@ declare const ProjectApiSelectSchema: z.ZodObject<{
25382
25384
  transferCountIs: z.ZodOptional<z.ZodNumber>;
25383
25385
  stepCountIs: z.ZodOptional<z.ZodNumber>;
25384
25386
  }, z.core.$strip>>;
25385
- createdAt: z.ZodString;
25386
- updatedAt: z.ZodString;
25387
25387
  }, {
25388
25388
  out: {};
25389
25389
  in: {};
25390
25390
  }>;
25391
25391
  declare const ProjectApiInsertSchema: z.ZodObject<{
25392
- id: z.ZodString;
25393
25392
  name: z.ZodString;
25393
+ id: z.ZodString;
25394
25394
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25395
25395
  models: z.ZodObject<{
25396
25396
  base: z.ZodObject<{
@@ -25440,8 +25440,8 @@ declare const ProjectApiUpdateSchema: z.ZodObject<{
25440
25440
  in: {};
25441
25441
  }>;
25442
25442
  declare const FullProjectDefinitionSchema: z.ZodObject<{
25443
- id: z.ZodString;
25444
25443
  name: z.ZodString;
25444
+ id: z.ZodString;
25445
25445
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25446
25446
  models: z.ZodObject<{
25447
25447
  base: z.ZodObject<{
@@ -25463,17 +25463,18 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25463
25463
  }, z.core.$strip>>;
25464
25464
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
25465
25465
  name: z.ZodString;
25466
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25467
- defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25468
25466
  createdAt: z.ZodOptional<z.ZodString>;
25469
25467
  updatedAt: z.ZodOptional<z.ZodString>;
25468
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25469
+ defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25470
25470
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25471
25471
  id: z.ZodString;
25472
25472
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
25473
- id: z.ZodString;
25474
25473
  name: z.ZodString;
25474
+ id: z.ZodString;
25475
+ createdAt: z.ZodOptional<z.ZodString>;
25476
+ updatedAt: z.ZodOptional<z.ZodString>;
25475
25477
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25476
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
25477
25478
  models: z.ZodOptional<z.ZodObject<{
25478
25479
  base: z.ZodOptional<z.ZodObject<{
25479
25480
  model: z.ZodOptional<z.ZodString>;
@@ -25488,8 +25489,7 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25488
25489
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
25489
25490
  }, z.core.$strip>>;
25490
25491
  }, z.core.$strip>>;
25491
- createdAt: z.ZodOptional<z.ZodString>;
25492
- updatedAt: z.ZodOptional<z.ZodString>;
25492
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
25493
25493
  type: z.ZodLiteral<"internal">;
25494
25494
  canUse: z.ZodArray<z.ZodObject<{
25495
25495
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -25601,25 +25601,25 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25601
25601
  }, z.core.$strip>>>;
25602
25602
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
25603
25603
  name: z.ZodString;
25604
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25605
25604
  createdAt: z.ZodOptional<z.ZodString>;
25606
25605
  updatedAt: z.ZodOptional<z.ZodString>;
25606
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25607
25607
  enabled: z.ZodOptional<z.ZodBoolean>;
25608
- inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
25609
- outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
25608
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
25609
+ outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
25610
25610
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25611
- authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
25611
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
25612
25612
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25613
- signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
25613
+ signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
25614
25614
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25615
25615
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25616
25616
  id: z.ZodOptional<z.ZodString>;
25617
25617
  }, z.core.$strip>>>;
25618
25618
  scheduledTriggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
25619
25619
  name: z.ZodString;
25620
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25621
25620
  createdAt: z.ZodOptional<z.ZodString>;
25622
25621
  updatedAt: z.ZodOptional<z.ZodString>;
25622
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25623
25623
  enabled: z.ZodOptional<z.ZodBoolean>;
25624
25624
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25625
25625
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -25627,7 +25627,7 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25627
25627
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25628
25628
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25629
25629
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25630
- payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
25630
+ payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
25631
25631
  maxRetries: z.ZodOptional<z.ZodNumber>;
25632
25632
  retryDelaySeconds: z.ZodOptional<z.ZodNumber>;
25633
25633
  timeoutSeconds: z.ZodOptional<z.ZodNumber>;
@@ -25735,10 +25735,10 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25735
25735
  }, z.core.$strip>>>;
25736
25736
  skills: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
25737
25737
  name: z.ZodString;
25738
+ metadata: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
25738
25739
  description: z.ZodString;
25739
25740
  tenantId: z.ZodString;
25740
25741
  projectId: z.ZodString;
25741
- metadata: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
25742
25742
  content: z.ZodString;
25743
25743
  }>, z.core.$strip>>>;
25744
25744
  dataComponents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -25823,15 +25823,15 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25823
25823
  }, z.core.$strip>>>;
25824
25824
  }, z.core.$strip>>;
25825
25825
  credentialReferences: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
25826
- id: z.ZodString;
25827
25826
  name: z.ZodString;
25827
+ id: z.ZodString;
25828
25828
  createdAt: z.ZodOptional<z.ZodString>;
25829
25829
  updatedAt: z.ZodOptional<z.ZodString>;
25830
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25831
25830
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25832
25831
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25833
25832
  credentialStoreId: z.ZodString;
25834
25833
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
25834
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25835
25835
  type: z.ZodEnum<{
25836
25836
  readonly memory: "memory";
25837
25837
  readonly keychain: "keychain";
@@ -25845,10 +25845,11 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
25845
25845
  in: {};
25846
25846
  }>;
25847
25847
  declare const FullAgentSubAgentSelectSchema: z.ZodObject<{
25848
- id: z.ZodString;
25849
25848
  name: z.ZodString;
25849
+ id: z.ZodString;
25850
+ createdAt: z.ZodString;
25851
+ updatedAt: z.ZodString;
25850
25852
  description: z.ZodNullable<z.ZodString>;
25851
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
25852
25853
  models: z.ZodNullable<z.ZodType<{
25853
25854
  base?: {
25854
25855
  model?: string | undefined;
@@ -25911,8 +25912,7 @@ declare const FullAgentSubAgentSelectSchema: z.ZodObject<{
25911
25912
  }, {
25912
25913
  stepCountIs?: number | undefined;
25913
25914
  }>>>;
25914
- createdAt: z.ZodString;
25915
- updatedAt: z.ZodString;
25915
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
25916
25916
  type: z.ZodLiteral<"internal">;
25917
25917
  canUse: z.ZodArray<z.ZodObject<{
25918
25918
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -25938,10 +25938,11 @@ declare const FullAgentSubAgentSelectSchema: z.ZodObject<{
25938
25938
  }, z.core.$strip>]>>>;
25939
25939
  }, z.core.$strip>;
25940
25940
  declare const FullAgentSubAgentSelectSchemaWithRelationIds: z.ZodObject<{
25941
- id: z.ZodString;
25942
25941
  name: z.ZodString;
25942
+ id: z.ZodString;
25943
+ createdAt: z.ZodString;
25944
+ updatedAt: z.ZodString;
25943
25945
  description: z.ZodNullable<z.ZodString>;
25944
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
25945
25946
  models: z.ZodNullable<z.ZodType<{
25946
25947
  base?: {
25947
25948
  model?: string | undefined;
@@ -26004,8 +26005,7 @@ declare const FullAgentSubAgentSelectSchemaWithRelationIds: z.ZodObject<{
26004
26005
  }, {
26005
26006
  stepCountIs?: number | undefined;
26006
26007
  }>>>;
26007
- createdAt: z.ZodString;
26008
- updatedAt: z.ZodString;
26008
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
26009
26009
  type: z.ZodLiteral<"internal">;
26010
26010
  canUse: z.ZodArray<z.ZodObject<{
26011
26011
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -26037,18 +26037,19 @@ declare const FullAgentSubAgentSelectSchemaWithRelationIds: z.ZodObject<{
26037
26037
  }, z.core.$strip>]>>>;
26038
26038
  }, z.core.$strip>;
26039
26039
  declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
26040
- id: z.ZodString;
26041
26040
  name: z.ZodString;
26042
- description: z.ZodNullable<z.ZodString>;
26043
- defaultSubAgentId: z.ZodNullable<z.ZodString>;
26041
+ id: z.ZodString;
26044
26042
  createdAt: z.ZodString;
26045
26043
  updatedAt: z.ZodString;
26044
+ description: z.ZodNullable<z.ZodString>;
26045
+ defaultSubAgentId: z.ZodNullable<z.ZodString>;
26046
26046
  contextConfigId: z.ZodNullable<z.ZodString>;
26047
26047
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
26048
- id: z.ZodString;
26049
26048
  name: z.ZodString;
26049
+ id: z.ZodString;
26050
+ createdAt: z.ZodString;
26051
+ updatedAt: z.ZodString;
26050
26052
  description: z.ZodNullable<z.ZodString>;
26051
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
26052
26053
  models: z.ZodNullable<z.ZodType<{
26053
26054
  base?: {
26054
26055
  model?: string | undefined;
@@ -26111,8 +26112,7 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
26111
26112
  }, {
26112
26113
  stepCountIs?: number | undefined;
26113
26114
  }>>>;
26114
- createdAt: z.ZodString;
26115
- updatedAt: z.ZodString;
26115
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
26116
26116
  type: z.ZodLiteral<"internal">;
26117
26117
  canUse: z.ZodArray<z.ZodObject<{
26118
26118
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -26183,12 +26183,12 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
26183
26183
  description: z.ZodString;
26184
26184
  }, z.core.$strip>>>;
26185
26185
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
26186
- id: z.ZodString;
26187
26186
  name: z.ZodString;
26188
- description: z.ZodNullable<z.ZodString>;
26189
- agentId: z.ZodString;
26187
+ id: z.ZodString;
26190
26188
  createdAt: z.ZodString;
26191
26189
  updatedAt: z.ZodString;
26190
+ description: z.ZodNullable<z.ZodString>;
26191
+ agentId: z.ZodString;
26192
26192
  functionId: z.ZodString;
26193
26193
  relationshipId: z.ZodOptional<z.ZodString>;
26194
26194
  }, z.core.$strip>>>;
@@ -26265,12 +26265,12 @@ declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{
26265
26265
  prompt: z.ZodNullable<z.ZodString>;
26266
26266
  }, z.core.$strip>;
26267
26267
  declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObject<{
26268
- id: z.ZodString;
26269
26268
  name: z.ZodString;
26270
- description: z.ZodNullable<z.ZodString>;
26271
- defaultSubAgentId: z.ZodNullable<z.ZodString>;
26269
+ id: z.ZodString;
26272
26270
  createdAt: z.ZodString;
26273
26271
  updatedAt: z.ZodString;
26272
+ description: z.ZodNullable<z.ZodString>;
26273
+ defaultSubAgentId: z.ZodNullable<z.ZodString>;
26274
26274
  contextConfigId: z.ZodNullable<z.ZodString>;
26275
26275
  tools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
26276
26276
  createdAt: z.ZodString;
@@ -26318,12 +26318,12 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
26318
26318
  description: z.ZodString;
26319
26319
  }, z.core.$strip>>>;
26320
26320
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
26321
- id: z.ZodString;
26322
26321
  name: z.ZodString;
26323
- description: z.ZodNullable<z.ZodString>;
26324
- agentId: z.ZodString;
26322
+ id: z.ZodString;
26325
26323
  createdAt: z.ZodString;
26326
26324
  updatedAt: z.ZodString;
26325
+ description: z.ZodNullable<z.ZodString>;
26326
+ agentId: z.ZodString;
26327
26327
  functionId: z.ZodString;
26328
26328
  relationshipId: z.ZodOptional<z.ZodString>;
26329
26329
  }, z.core.$strip>>>;
@@ -26399,10 +26399,11 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
26399
26399
  }, z.core.$strip>>;
26400
26400
  prompt: z.ZodNullable<z.ZodString>;
26401
26401
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
26402
- id: z.ZodString;
26403
26402
  name: z.ZodString;
26403
+ id: z.ZodString;
26404
+ createdAt: z.ZodString;
26405
+ updatedAt: z.ZodString;
26404
26406
  description: z.ZodNullable<z.ZodString>;
26405
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
26406
26407
  models: z.ZodNullable<z.ZodType<{
26407
26408
  base?: {
26408
26409
  model?: string | undefined;
@@ -26465,8 +26466,7 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
26465
26466
  }, {
26466
26467
  stepCountIs?: number | undefined;
26467
26468
  }>>>;
26468
- createdAt: z.ZodString;
26469
- updatedAt: z.ZodString;
26469
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
26470
26470
  type: z.ZodLiteral<"internal">;
26471
26471
  canUse: z.ZodArray<z.ZodObject<{
26472
26472
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -26499,8 +26499,10 @@ declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObjec
26499
26499
  }, z.core.$strip>>;
26500
26500
  }, z.core.$strip>;
26501
26501
  declare const FullProjectSelectSchema: z.ZodObject<{
26502
- id: z.ZodString;
26503
26502
  name: z.ZodString;
26503
+ id: z.ZodString;
26504
+ createdAt: z.ZodString;
26505
+ updatedAt: z.ZodString;
26504
26506
  description: z.ZodNullable<z.ZodString>;
26505
26507
  models: z.ZodNullable<z.ZodObject<{
26506
26508
  base: z.ZodObject<{
@@ -26520,21 +26522,20 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26520
26522
  transferCountIs: z.ZodOptional<z.ZodNumber>;
26521
26523
  stepCountIs: z.ZodOptional<z.ZodNumber>;
26522
26524
  }, z.core.$strip>>;
26523
- createdAt: z.ZodString;
26524
- updatedAt: z.ZodString;
26525
26525
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
26526
- id: z.ZodString;
26527
26526
  name: z.ZodString;
26528
- description: z.ZodNullable<z.ZodString>;
26529
- defaultSubAgentId: z.ZodNullable<z.ZodString>;
26527
+ id: z.ZodString;
26530
26528
  createdAt: z.ZodString;
26531
26529
  updatedAt: z.ZodString;
26530
+ description: z.ZodNullable<z.ZodString>;
26531
+ defaultSubAgentId: z.ZodNullable<z.ZodString>;
26532
26532
  contextConfigId: z.ZodNullable<z.ZodString>;
26533
26533
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
26534
- id: z.ZodString;
26535
26534
  name: z.ZodString;
26535
+ id: z.ZodString;
26536
+ createdAt: z.ZodString;
26537
+ updatedAt: z.ZodString;
26536
26538
  description: z.ZodNullable<z.ZodString>;
26537
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
26538
26539
  models: z.ZodNullable<z.ZodType<{
26539
26540
  base?: {
26540
26541
  model?: string | undefined;
@@ -26597,8 +26598,7 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26597
26598
  }, {
26598
26599
  stepCountIs?: number | undefined;
26599
26600
  }>>>;
26600
- createdAt: z.ZodString;
26601
- updatedAt: z.ZodString;
26601
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
26602
26602
  type: z.ZodLiteral<"internal">;
26603
26603
  canUse: z.ZodArray<z.ZodObject<{
26604
26604
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -26669,12 +26669,12 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26669
26669
  description: z.ZodString;
26670
26670
  }, z.core.$strip>>>;
26671
26671
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
26672
- id: z.ZodString;
26673
26672
  name: z.ZodString;
26674
- description: z.ZodNullable<z.ZodString>;
26675
- agentId: z.ZodString;
26673
+ id: z.ZodString;
26676
26674
  createdAt: z.ZodString;
26677
26675
  updatedAt: z.ZodString;
26676
+ description: z.ZodNullable<z.ZodString>;
26677
+ agentId: z.ZodString;
26678
26678
  functionId: z.ZodString;
26679
26679
  relationshipId: z.ZodOptional<z.ZodString>;
26680
26680
  }, z.core.$strip>>>;
@@ -26780,12 +26780,12 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26780
26780
  id: z.ZodString;
26781
26781
  }>, z.core.$strip>>;
26782
26782
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
26783
- id: z.ZodString;
26784
26783
  name: z.ZodString;
26785
- description: z.ZodNullable<z.ZodString>;
26786
- agentId: z.ZodString;
26784
+ id: z.ZodString;
26787
26785
  createdAt: z.ZodString;
26788
26786
  updatedAt: z.ZodString;
26787
+ description: z.ZodNullable<z.ZodString>;
26788
+ agentId: z.ZodString;
26789
26789
  functionId: z.ZodString;
26790
26790
  relationshipId: z.ZodOptional<z.ZodString>;
26791
26791
  }, z.core.$strip>>>;
@@ -26928,21 +26928,21 @@ declare const FullProjectSelectSchema: z.ZodObject<{
26928
26928
  }, z.core.$strip>>>;
26929
26929
  }, z.core.$strip>>;
26930
26930
  credentialReferences: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
26931
- id: z.ZodString;
26932
26931
  name: z.ZodString;
26932
+ id: z.ZodString;
26933
26933
  createdAt: z.ZodString;
26934
26934
  updatedAt: z.ZodString;
26935
- toolId: z.ZodNullable<z.ZodString>;
26936
26935
  userId: z.ZodNullable<z.ZodString>;
26937
26936
  createdBy: z.ZodNullable<z.ZodString>;
26938
26937
  credentialStoreId: z.ZodString;
26939
26938
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
26939
+ toolId: z.ZodNullable<z.ZodString>;
26940
26940
  type: z.ZodEnum<{
26941
26941
  readonly memory: "memory";
26942
26942
  readonly keychain: "keychain";
26943
26943
  readonly nango: "nango";
26944
26944
  }>;
26945
- tools: z.ZodOptional<z.ZodArray<drizzle_zod15.BuildSchema<"select", {
26945
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod19.BuildSchema<"select", {
26946
26946
  createdAt: drizzle_orm_pg_core217.PgColumn<{
26947
26947
  name: "created_at";
26948
26948
  tableName: "tools";
@@ -27222,7 +27222,7 @@ declare const FullProjectSelectSchema: z.ZodObject<{
27222
27222
  }, {}, {
27223
27223
  length: 256;
27224
27224
  }>;
27225
- }, drizzle_zod15.BuildRefine<{
27225
+ }, drizzle_zod19.BuildRefine<{
27226
27226
  createdAt: drizzle_orm_pg_core217.PgColumn<{
27227
27227
  name: "created_at";
27228
27228
  tableName: "tools";
@@ -27523,8 +27523,10 @@ declare const FullProjectSelectSchema: z.ZodObject<{
27523
27523
  in: {};
27524
27524
  }>;
27525
27525
  declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27526
- id: z.ZodString;
27527
27526
  name: z.ZodString;
27527
+ id: z.ZodString;
27528
+ createdAt: z.ZodString;
27529
+ updatedAt: z.ZodString;
27528
27530
  description: z.ZodNullable<z.ZodString>;
27529
27531
  models: z.ZodNullable<z.ZodObject<{
27530
27532
  base: z.ZodObject<{
@@ -27544,8 +27546,6 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27544
27546
  transferCountIs: z.ZodOptional<z.ZodNumber>;
27545
27547
  stepCountIs: z.ZodOptional<z.ZodNumber>;
27546
27548
  }, z.core.$strip>>;
27547
- createdAt: z.ZodString;
27548
- updatedAt: z.ZodString;
27549
27549
  tools: z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
27550
27550
  createdAt: z.ZodString;
27551
27551
  updatedAt: z.ZodString;
@@ -27576,12 +27576,12 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27576
27576
  id: z.ZodString;
27577
27577
  }>, z.core.$strip>>;
27578
27578
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
27579
- id: z.ZodString;
27580
27579
  name: z.ZodString;
27581
- description: z.ZodNullable<z.ZodString>;
27582
- agentId: z.ZodString;
27580
+ id: z.ZodString;
27583
27581
  createdAt: z.ZodString;
27584
27582
  updatedAt: z.ZodString;
27583
+ description: z.ZodNullable<z.ZodString>;
27584
+ agentId: z.ZodString;
27585
27585
  functionId: z.ZodString;
27586
27586
  relationshipId: z.ZodOptional<z.ZodString>;
27587
27587
  }, z.core.$strip>>>;
@@ -27724,21 +27724,21 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
27724
27724
  }, z.core.$strip>>>;
27725
27725
  }, z.core.$strip>>;
27726
27726
  credentialReferences: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
27727
- id: z.ZodString;
27728
27727
  name: z.ZodString;
27728
+ id: z.ZodString;
27729
27729
  createdAt: z.ZodString;
27730
27730
  updatedAt: z.ZodString;
27731
- toolId: z.ZodNullable<z.ZodString>;
27732
27731
  userId: z.ZodNullable<z.ZodString>;
27733
27732
  createdBy: z.ZodNullable<z.ZodString>;
27734
27733
  credentialStoreId: z.ZodString;
27735
27734
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
27735
+ toolId: z.ZodNullable<z.ZodString>;
27736
27736
  type: z.ZodEnum<{
27737
27737
  readonly memory: "memory";
27738
27738
  readonly keychain: "keychain";
27739
27739
  readonly nango: "nango";
27740
27740
  }>;
27741
- tools: z.ZodOptional<z.ZodArray<drizzle_zod15.BuildSchema<"select", {
27741
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod19.BuildSchema<"select", {
27742
27742
  createdAt: drizzle_orm_pg_core217.PgColumn<{
27743
27743
  name: "created_at";
27744
27744
  tableName: "tools";
@@ -28018,7 +28018,7 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
28018
28018
  }, {}, {
28019
28019
  length: 256;
28020
28020
  }>;
28021
- }, drizzle_zod15.BuildRefine<{
28021
+ }, drizzle_zod19.BuildRefine<{
28022
28022
  createdAt: drizzle_orm_pg_core217.PgColumn<{
28023
28023
  name: "created_at";
28024
28024
  tableName: "tools";
@@ -28315,12 +28315,12 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
28315
28315
  }>>>;
28316
28316
  }, z.core.$strip>>>;
28317
28317
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
28318
- id: z.ZodString;
28319
28318
  name: z.ZodString;
28320
- description: z.ZodNullable<z.ZodString>;
28321
- defaultSubAgentId: z.ZodNullable<z.ZodString>;
28319
+ id: z.ZodString;
28322
28320
  createdAt: z.ZodString;
28323
28321
  updatedAt: z.ZodString;
28322
+ description: z.ZodNullable<z.ZodString>;
28323
+ defaultSubAgentId: z.ZodNullable<z.ZodString>;
28324
28324
  contextConfigId: z.ZodNullable<z.ZodString>;
28325
28325
  tools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
28326
28326
  createdAt: z.ZodString;
@@ -28368,12 +28368,12 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
28368
28368
  description: z.ZodString;
28369
28369
  }, z.core.$strip>>>;
28370
28370
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
28371
- id: z.ZodString;
28372
28371
  name: z.ZodString;
28373
- description: z.ZodNullable<z.ZodString>;
28374
- agentId: z.ZodString;
28372
+ id: z.ZodString;
28375
28373
  createdAt: z.ZodString;
28376
28374
  updatedAt: z.ZodString;
28375
+ description: z.ZodNullable<z.ZodString>;
28376
+ agentId: z.ZodString;
28377
28377
  functionId: z.ZodString;
28378
28378
  relationshipId: z.ZodOptional<z.ZodString>;
28379
28379
  }, z.core.$strip>>>;
@@ -28449,10 +28449,11 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
28449
28449
  }, z.core.$strip>>;
28450
28450
  prompt: z.ZodNullable<z.ZodString>;
28451
28451
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
28452
- id: z.ZodString;
28453
28452
  name: z.ZodString;
28453
+ id: z.ZodString;
28454
+ createdAt: z.ZodString;
28455
+ updatedAt: z.ZodString;
28454
28456
  description: z.ZodNullable<z.ZodString>;
28455
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
28456
28457
  models: z.ZodNullable<z.ZodType<{
28457
28458
  base?: {
28458
28459
  model?: string | undefined;
@@ -28515,8 +28516,7 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
28515
28516
  }, {
28516
28517
  stepCountIs?: number | undefined;
28517
28518
  }>>>;
28518
- createdAt: z.ZodString;
28519
- updatedAt: z.ZodString;
28519
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
28520
28520
  type: z.ZodLiteral<"internal">;
28521
28521
  canUse: z.ZodArray<z.ZodObject<{
28522
28522
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -28554,8 +28554,10 @@ declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{
28554
28554
  }>;
28555
28555
  declare const ProjectResponse: z.ZodObject<{
28556
28556
  data: z.ZodObject<{
28557
- id: z.ZodString;
28558
28557
  name: z.ZodString;
28558
+ id: z.ZodString;
28559
+ createdAt: z.ZodString;
28560
+ updatedAt: z.ZodString;
28559
28561
  description: z.ZodNullable<z.ZodString>;
28560
28562
  models: z.ZodNullable<z.ZodObject<{
28561
28563
  base: z.ZodObject<{
@@ -28575,8 +28577,6 @@ declare const ProjectResponse: z.ZodObject<{
28575
28577
  transferCountIs: z.ZodOptional<z.ZodNumber>;
28576
28578
  stepCountIs: z.ZodOptional<z.ZodNumber>;
28577
28579
  }, z.core.$strip>>;
28578
- createdAt: z.ZodString;
28579
- updatedAt: z.ZodString;
28580
28580
  }, {
28581
28581
  out: {};
28582
28582
  in: {};
@@ -28815,12 +28815,12 @@ declare const ContextConfigResponse: z.ZodObject<{
28815
28815
  }, z.core.$strip>;
28816
28816
  declare const ApiKeyResponse: z.ZodObject<{
28817
28817
  data: z.ZodObject<{
28818
- id: z.ZodString;
28819
28818
  name: z.ZodNullable<z.ZodString>;
28820
- agentId: z.ZodString;
28819
+ id: z.ZodString;
28821
28820
  createdAt: z.ZodString;
28822
28821
  updatedAt: z.ZodString;
28823
28822
  expiresAt: z.ZodNullable<z.ZodString>;
28823
+ agentId: z.ZodString;
28824
28824
  publicId: z.ZodString;
28825
28825
  keyPrefix: z.ZodString;
28826
28826
  lastUsedAt: z.ZodNullable<z.ZodString>;
@@ -28831,21 +28831,21 @@ declare const ApiKeyResponse: z.ZodObject<{
28831
28831
  }, z.core.$strip>;
28832
28832
  declare const CredentialReferenceResponse: z.ZodObject<{
28833
28833
  data: z.ZodObject<{
28834
- id: z.ZodString;
28835
28834
  name: z.ZodString;
28835
+ id: z.ZodString;
28836
28836
  createdAt: z.ZodString;
28837
28837
  updatedAt: z.ZodString;
28838
- toolId: z.ZodNullable<z.ZodString>;
28839
28838
  userId: z.ZodNullable<z.ZodString>;
28840
28839
  createdBy: z.ZodNullable<z.ZodString>;
28841
28840
  credentialStoreId: z.ZodString;
28842
28841
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
28842
+ toolId: z.ZodNullable<z.ZodString>;
28843
28843
  type: z.ZodEnum<{
28844
28844
  readonly memory: "memory";
28845
28845
  readonly keychain: "keychain";
28846
28846
  readonly nango: "nango";
28847
28847
  }>;
28848
- tools: z.ZodOptional<z.ZodArray<drizzle_zod15.BuildSchema<"select", {
28848
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod19.BuildSchema<"select", {
28849
28849
  createdAt: drizzle_orm_pg_core217.PgColumn<{
28850
28850
  name: "created_at";
28851
28851
  tableName: "tools";
@@ -29125,7 +29125,7 @@ declare const CredentialReferenceResponse: z.ZodObject<{
29125
29125
  }, {}, {
29126
29126
  length: 256;
29127
29127
  }>;
29128
- }, drizzle_zod15.BuildRefine<{
29128
+ }, drizzle_zod19.BuildRefine<{
29129
29129
  createdAt: drizzle_orm_pg_core217.PgColumn<{
29130
29130
  name: "created_at";
29131
29131
  tableName: "tools";
@@ -29436,12 +29436,12 @@ declare const FunctionResponse: z.ZodObject<{
29436
29436
  }, z.core.$strip>;
29437
29437
  declare const FunctionToolResponse: z.ZodObject<{
29438
29438
  data: z.ZodObject<{
29439
- id: z.ZodString;
29440
29439
  name: z.ZodString;
29441
- description: z.ZodNullable<z.ZodString>;
29442
- agentId: z.ZodString;
29440
+ id: z.ZodString;
29443
29441
  createdAt: z.ZodString;
29444
29442
  updatedAt: z.ZodString;
29443
+ description: z.ZodNullable<z.ZodString>;
29444
+ agentId: z.ZodString;
29445
29445
  functionId: z.ZodString;
29446
29446
  relationshipId: z.ZodOptional<z.ZodString>;
29447
29447
  }, z.core.$strip>;
@@ -29451,7 +29451,7 @@ declare const SubAgentFunctionToolRelationResponse: z.ZodObject<{
29451
29451
  createdAt: z.ZodString;
29452
29452
  updatedAt: z.ZodString;
29453
29453
  functionToolId: z.ZodString;
29454
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
29454
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
29455
29455
  subAgentId: z.ZodString;
29456
29456
  agentId: z.ZodString;
29457
29457
  projectId: z.ZodString;
@@ -29583,9 +29583,9 @@ declare const SubAgentToolRelationResponse: z.ZodObject<{
29583
29583
  createdAt: z.ZodString;
29584
29584
  updatedAt: z.ZodString;
29585
29585
  toolId: z.ZodString;
29586
- selectedTools: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
29587
- headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
29588
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
29586
+ selectedTools: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
29587
+ headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
29588
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
29589
29589
  subAgentId: z.ZodString;
29590
29590
  agentId: z.ZodString;
29591
29591
  projectId: z.ZodString;
@@ -29598,10 +29598,10 @@ declare const TriggerResponse: z.ZodObject<{
29598
29598
  createdAt: z.ZodString;
29599
29599
  updatedAt: z.ZodString;
29600
29600
  enabled: z.ZodBoolean;
29601
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
29602
- outputTransform: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
29601
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
29602
+ outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
29603
29603
  messageTemplate: z.ZodNullable<z.ZodString>;
29604
- authentication: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
29604
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
29605
29605
  name: z.ZodString;
29606
29606
  description: z.ZodNullable<z.ZodString>;
29607
29607
  agentId: z.ZodString;
@@ -29663,8 +29663,8 @@ declare const TriggerInvocationResponse: z.ZodObject<{
29663
29663
  triggerId: z.ZodString;
29664
29664
  conversationId: z.ZodNullable<z.ZodString>;
29665
29665
  status: z.ZodString;
29666
- requestPayload: z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>;
29667
- transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
29666
+ requestPayload: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
29667
+ transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
29668
29668
  errorMessage: z.ZodNullable<z.ZodString>;
29669
29669
  createdAt: z.ZodString;
29670
29670
  agentId: z.ZodString;
@@ -29675,8 +29675,10 @@ declare const TriggerInvocationResponse: z.ZodObject<{
29675
29675
  }, z.core.$strip>;
29676
29676
  declare const ProjectListResponse: z.ZodObject<{
29677
29677
  data: z.ZodArray<z.ZodObject<{
29678
- id: z.ZodString;
29679
29678
  name: z.ZodString;
29679
+ id: z.ZodString;
29680
+ createdAt: z.ZodString;
29681
+ updatedAt: z.ZodString;
29680
29682
  description: z.ZodNullable<z.ZodString>;
29681
29683
  models: z.ZodNullable<z.ZodObject<{
29682
29684
  base: z.ZodObject<{
@@ -29696,8 +29698,6 @@ declare const ProjectListResponse: z.ZodObject<{
29696
29698
  transferCountIs: z.ZodOptional<z.ZodNumber>;
29697
29699
  stepCountIs: z.ZodOptional<z.ZodNumber>;
29698
29700
  }, z.core.$strip>>;
29699
- createdAt: z.ZodString;
29700
- updatedAt: z.ZodString;
29701
29701
  }, {
29702
29702
  out: {};
29703
29703
  in: {};
@@ -29966,12 +29966,12 @@ declare const ContextConfigListResponse: z.ZodObject<{
29966
29966
  }, z.core.$strip>;
29967
29967
  declare const ApiKeyListResponse: z.ZodObject<{
29968
29968
  data: z.ZodArray<z.ZodObject<{
29969
- id: z.ZodString;
29970
29969
  name: z.ZodNullable<z.ZodString>;
29971
- agentId: z.ZodString;
29970
+ id: z.ZodString;
29972
29971
  createdAt: z.ZodString;
29973
29972
  updatedAt: z.ZodString;
29974
29973
  expiresAt: z.ZodNullable<z.ZodString>;
29974
+ agentId: z.ZodString;
29975
29975
  publicId: z.ZodString;
29976
29976
  keyPrefix: z.ZodString;
29977
29977
  lastUsedAt: z.ZodNullable<z.ZodString>;
@@ -29988,21 +29988,21 @@ declare const ApiKeyListResponse: z.ZodObject<{
29988
29988
  }, z.core.$strip>;
29989
29989
  declare const CredentialReferenceListResponse: z.ZodObject<{
29990
29990
  data: z.ZodArray<z.ZodObject<{
29991
- id: z.ZodString;
29992
29991
  name: z.ZodString;
29992
+ id: z.ZodString;
29993
29993
  createdAt: z.ZodString;
29994
29994
  updatedAt: z.ZodString;
29995
- toolId: z.ZodNullable<z.ZodString>;
29996
29995
  userId: z.ZodNullable<z.ZodString>;
29997
29996
  createdBy: z.ZodNullable<z.ZodString>;
29998
29997
  credentialStoreId: z.ZodString;
29999
29998
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
29999
+ toolId: z.ZodNullable<z.ZodString>;
30000
30000
  type: z.ZodEnum<{
30001
30001
  readonly memory: "memory";
30002
30002
  readonly keychain: "keychain";
30003
30003
  readonly nango: "nango";
30004
30004
  }>;
30005
- tools: z.ZodOptional<z.ZodArray<drizzle_zod15.BuildSchema<"select", {
30005
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod19.BuildSchema<"select", {
30006
30006
  createdAt: drizzle_orm_pg_core217.PgColumn<{
30007
30007
  name: "created_at";
30008
30008
  tableName: "tools";
@@ -30282,7 +30282,7 @@ declare const CredentialReferenceListResponse: z.ZodObject<{
30282
30282
  }, {}, {
30283
30283
  length: 256;
30284
30284
  }>;
30285
- }, drizzle_zod15.BuildRefine<{
30285
+ }, drizzle_zod19.BuildRefine<{
30286
30286
  createdAt: drizzle_orm_pg_core217.PgColumn<{
30287
30287
  name: "created_at";
30288
30288
  tableName: "tools";
@@ -30605,12 +30605,12 @@ declare const FunctionListResponse: z.ZodObject<{
30605
30605
  }, z.core.$strip>;
30606
30606
  declare const FunctionToolListResponse: z.ZodObject<{
30607
30607
  data: z.ZodArray<z.ZodObject<{
30608
- id: z.ZodString;
30609
30608
  name: z.ZodString;
30610
- description: z.ZodNullable<z.ZodString>;
30611
- agentId: z.ZodString;
30609
+ id: z.ZodString;
30612
30610
  createdAt: z.ZodString;
30613
30611
  updatedAt: z.ZodString;
30612
+ description: z.ZodNullable<z.ZodString>;
30613
+ agentId: z.ZodString;
30614
30614
  functionId: z.ZodString;
30615
30615
  relationshipId: z.ZodOptional<z.ZodString>;
30616
30616
  }, z.core.$strip>>;
@@ -30626,7 +30626,7 @@ declare const SubAgentFunctionToolRelationListResponse: z.ZodObject<{
30626
30626
  createdAt: z.ZodString;
30627
30627
  updatedAt: z.ZodString;
30628
30628
  functionToolId: z.ZodString;
30629
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30629
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30630
30630
  subAgentId: z.ZodString;
30631
30631
  agentId: z.ZodString;
30632
30632
  projectId: z.ZodString;
@@ -30814,9 +30814,9 @@ declare const SubAgentToolRelationListResponse: z.ZodObject<{
30814
30814
  createdAt: z.ZodString;
30815
30815
  updatedAt: z.ZodString;
30816
30816
  toolId: z.ZodString;
30817
- selectedTools: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30818
- headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30819
- toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30817
+ selectedTools: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30818
+ headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30819
+ toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30820
30820
  subAgentId: z.ZodString;
30821
30821
  agentId: z.ZodString;
30822
30822
  projectId: z.ZodString;
@@ -30835,10 +30835,10 @@ declare const TriggerListResponse: z.ZodObject<{
30835
30835
  createdAt: z.ZodString;
30836
30836
  updatedAt: z.ZodString;
30837
30837
  enabled: z.ZodBoolean;
30838
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30839
- outputTransform: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30838
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30839
+ outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30840
30840
  messageTemplate: z.ZodNullable<z.ZodString>;
30841
- authentication: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30841
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30842
30842
  name: z.ZodString;
30843
30843
  description: z.ZodNullable<z.ZodString>;
30844
30844
  agentId: z.ZodString;
@@ -30906,8 +30906,8 @@ declare const TriggerInvocationListResponse: z.ZodObject<{
30906
30906
  triggerId: z.ZodString;
30907
30907
  conversationId: z.ZodNullable<z.ZodString>;
30908
30908
  status: z.ZodString;
30909
- requestPayload: z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>;
30910
- transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30909
+ requestPayload: z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>;
30910
+ transformedPayload: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30911
30911
  errorMessage: z.ZodNullable<z.ZodString>;
30912
30912
  createdAt: z.ZodString;
30913
30913
  agentId: z.ZodString;
@@ -30924,16 +30924,16 @@ declare const TriggerInvocationListResponse: z.ZodObject<{
30924
30924
  }, z.core.$strip>;
30925
30925
  declare const TriggerWithWebhookUrlResponse: z.ZodObject<{
30926
30926
  data: z.ZodObject<{
30927
- id: z.ZodString;
30928
30927
  name: z.ZodString;
30929
- description: z.ZodNullable<z.ZodString>;
30928
+ id: z.ZodString;
30930
30929
  createdAt: z.ZodString;
30931
30930
  updatedAt: z.ZodString;
30931
+ description: z.ZodNullable<z.ZodString>;
30932
30932
  enabled: z.ZodBoolean;
30933
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30934
- outputTransform: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30933
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30934
+ outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30935
30935
  messageTemplate: z.ZodNullable<z.ZodString>;
30936
- authentication: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30936
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30937
30937
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30938
30938
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodObject<{
30939
30939
  algorithm: z.ZodEnum<{
@@ -30987,16 +30987,16 @@ declare const TriggerWithWebhookUrlResponse: z.ZodObject<{
30987
30987
  }, z.core.$strip>;
30988
30988
  declare const TriggerWithWebhookUrlWithWarningResponse: z.ZodObject<{
30989
30989
  data: z.ZodObject<{
30990
- id: z.ZodString;
30991
30990
  name: z.ZodString;
30992
- description: z.ZodNullable<z.ZodString>;
30991
+ id: z.ZodString;
30993
30992
  createdAt: z.ZodString;
30994
30993
  updatedAt: z.ZodString;
30994
+ description: z.ZodNullable<z.ZodString>;
30995
30995
  enabled: z.ZodBoolean;
30996
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30997
- outputTransform: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30996
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30997
+ outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
30998
30998
  messageTemplate: z.ZodNullable<z.ZodString>;
30999
- authentication: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
30999
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
31000
31000
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31001
31001
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodObject<{
31002
31002
  algorithm: z.ZodEnum<{
@@ -31051,16 +31051,16 @@ declare const TriggerWithWebhookUrlWithWarningResponse: z.ZodObject<{
31051
31051
  }, z.core.$strip>;
31052
31052
  declare const TriggerWithWebhookUrlListResponse: z.ZodObject<{
31053
31053
  data: z.ZodArray<z.ZodObject<{
31054
- id: z.ZodString;
31055
31054
  name: z.ZodString;
31056
- description: z.ZodNullable<z.ZodString>;
31055
+ id: z.ZodString;
31057
31056
  createdAt: z.ZodString;
31058
31057
  updatedAt: z.ZodString;
31058
+ description: z.ZodNullable<z.ZodString>;
31059
31059
  enabled: z.ZodBoolean;
31060
- inputSchema: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
31061
- outputTransform: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
31060
+ inputSchema: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
31061
+ outputTransform: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
31062
31062
  messageTemplate: z.ZodNullable<z.ZodString>;
31063
- authentication: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
31063
+ authentication: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
31064
31064
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31065
31065
  signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodObject<{
31066
31066
  algorithm: z.ZodEnum<{
@@ -31119,11 +31119,11 @@ declare const TriggerWithWebhookUrlListResponse: z.ZodObject<{
31119
31119
  }, z.core.$strip>;
31120
31120
  }, z.core.$strip>;
31121
31121
  declare const ScheduledTriggerWithRunInfoSchema: z.ZodObject<{
31122
- id: z.ZodString;
31123
31122
  name: z.ZodString;
31124
- description: z.ZodNullable<z.ZodString>;
31123
+ id: z.ZodString;
31125
31124
  createdAt: z.ZodString;
31126
31125
  updatedAt: z.ZodString;
31126
+ description: z.ZodNullable<z.ZodString>;
31127
31127
  enabled: z.ZodBoolean;
31128
31128
  messageTemplate: z.ZodNullable<z.ZodString>;
31129
31129
  runAsUserId: z.ZodNullable<z.ZodString>;
@@ -31198,11 +31198,11 @@ declare const ScheduledTriggerListResponse: z.ZodObject<{
31198
31198
  }, z.core.$strip>;
31199
31199
  declare const ScheduledTriggerWithRunInfoListResponse: z.ZodObject<{
31200
31200
  data: z.ZodArray<z.ZodObject<{
31201
- id: z.ZodString;
31202
31201
  name: z.ZodString;
31203
- description: z.ZodNullable<z.ZodString>;
31202
+ id: z.ZodString;
31204
31203
  createdAt: z.ZodString;
31205
31204
  updatedAt: z.ZodString;
31205
+ description: z.ZodNullable<z.ZodString>;
31206
31206
  enabled: z.ZodBoolean;
31207
31207
  messageTemplate: z.ZodNullable<z.ZodString>;
31208
31208
  runAsUserId: z.ZodNullable<z.ZodString>;
@@ -31357,12 +31357,12 @@ declare const SubAgentSkillResponse: z.ZodObject<{
31357
31357
  }, z.core.$strip>;
31358
31358
  declare const SubAgentSkillWithIndexArrayResponse: z.ZodObject<{
31359
31359
  data: z.ZodArray<z.ZodObject<{
31360
- id: z.ZodString;
31361
31360
  name: z.ZodString;
31362
- description: z.ZodString;
31361
+ id: z.ZodString;
31363
31362
  createdAt: z.ZodString;
31364
31363
  updatedAt: z.ZodString;
31365
31364
  metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
31365
+ description: z.ZodString;
31366
31366
  content: z.ZodString;
31367
31367
  subAgentSkillId: z.ZodString;
31368
31368
  subAgentId: z.ZodString;
@@ -31372,8 +31372,8 @@ declare const SubAgentSkillWithIndexArrayResponse: z.ZodObject<{
31372
31372
  }, z.core.$strip>;
31373
31373
  declare const FullProjectDefinitionResponse: z.ZodObject<{
31374
31374
  data: z.ZodObject<{
31375
- id: z.ZodString;
31376
31375
  name: z.ZodString;
31376
+ id: z.ZodString;
31377
31377
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31378
31378
  models: z.ZodObject<{
31379
31379
  base: z.ZodObject<{
@@ -31395,17 +31395,18 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31395
31395
  }, z.core.$strip>>;
31396
31396
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
31397
31397
  name: z.ZodString;
31398
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31399
- defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31400
31398
  createdAt: z.ZodOptional<z.ZodString>;
31401
31399
  updatedAt: z.ZodOptional<z.ZodString>;
31400
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31401
+ defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31402
31402
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31403
31403
  id: z.ZodString;
31404
31404
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
31405
- id: z.ZodString;
31406
31405
  name: z.ZodString;
31406
+ id: z.ZodString;
31407
+ createdAt: z.ZodOptional<z.ZodString>;
31408
+ updatedAt: z.ZodOptional<z.ZodString>;
31407
31409
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31408
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
31409
31410
  models: z.ZodOptional<z.ZodObject<{
31410
31411
  base: z.ZodOptional<z.ZodObject<{
31411
31412
  model: z.ZodOptional<z.ZodString>;
@@ -31420,8 +31421,7 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31420
31421
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
31421
31422
  }, z.core.$strip>>;
31422
31423
  }, z.core.$strip>>;
31423
- createdAt: z.ZodOptional<z.ZodString>;
31424
- updatedAt: z.ZodOptional<z.ZodString>;
31424
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
31425
31425
  type: z.ZodLiteral<"internal">;
31426
31426
  canUse: z.ZodArray<z.ZodObject<{
31427
31427
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -31533,25 +31533,25 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31533
31533
  }, z.core.$strip>>>;
31534
31534
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
31535
31535
  name: z.ZodString;
31536
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31537
31536
  createdAt: z.ZodOptional<z.ZodString>;
31538
31537
  updatedAt: z.ZodOptional<z.ZodString>;
31538
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31539
31539
  enabled: z.ZodOptional<z.ZodBoolean>;
31540
- inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
31541
- outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
31540
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
31541
+ outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
31542
31542
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31543
- authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
31543
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
31544
31544
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31545
- signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
31545
+ signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
31546
31546
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31547
31547
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31548
31548
  id: z.ZodOptional<z.ZodString>;
31549
31549
  }, z.core.$strip>>>;
31550
31550
  scheduledTriggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
31551
31551
  name: z.ZodString;
31552
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31553
31552
  createdAt: z.ZodOptional<z.ZodString>;
31554
31553
  updatedAt: z.ZodOptional<z.ZodString>;
31554
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31555
31555
  enabled: z.ZodOptional<z.ZodBoolean>;
31556
31556
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31557
31557
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -31559,7 +31559,7 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31559
31559
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31560
31560
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31561
31561
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31562
- payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
31562
+ payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
31563
31563
  maxRetries: z.ZodOptional<z.ZodNumber>;
31564
31564
  retryDelaySeconds: z.ZodOptional<z.ZodNumber>;
31565
31565
  timeoutSeconds: z.ZodOptional<z.ZodNumber>;
@@ -31667,10 +31667,10 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31667
31667
  }, z.core.$strip>>>;
31668
31668
  skills: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
31669
31669
  name: z.ZodString;
31670
+ metadata: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
31670
31671
  description: z.ZodString;
31671
31672
  tenantId: z.ZodString;
31672
31673
  projectId: z.ZodString;
31673
- metadata: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
31674
31674
  content: z.ZodString;
31675
31675
  }>, z.core.$strip>>>;
31676
31676
  dataComponents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -31755,15 +31755,15 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31755
31755
  }, z.core.$strip>>>;
31756
31756
  }, z.core.$strip>>;
31757
31757
  credentialReferences: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
31758
- id: z.ZodString;
31759
31758
  name: z.ZodString;
31759
+ id: z.ZodString;
31760
31760
  createdAt: z.ZodOptional<z.ZodString>;
31761
31761
  updatedAt: z.ZodOptional<z.ZodString>;
31762
- toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31763
31762
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31764
31763
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31765
31764
  credentialStoreId: z.ZodString;
31766
31765
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
31766
+ toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31767
31767
  type: z.ZodEnum<{
31768
31768
  readonly memory: "memory";
31769
31769
  readonly keychain: "keychain";
@@ -31779,8 +31779,10 @@ declare const FullProjectDefinitionResponse: z.ZodObject<{
31779
31779
  }, z.core.$strip>;
31780
31780
  declare const FullProjectSelectResponse: z.ZodObject<{
31781
31781
  data: z.ZodObject<{
31782
- id: z.ZodString;
31783
31782
  name: z.ZodString;
31783
+ id: z.ZodString;
31784
+ createdAt: z.ZodString;
31785
+ updatedAt: z.ZodString;
31784
31786
  description: z.ZodNullable<z.ZodString>;
31785
31787
  models: z.ZodNullable<z.ZodObject<{
31786
31788
  base: z.ZodObject<{
@@ -31800,21 +31802,20 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31800
31802
  transferCountIs: z.ZodOptional<z.ZodNumber>;
31801
31803
  stepCountIs: z.ZodOptional<z.ZodNumber>;
31802
31804
  }, z.core.$strip>>;
31803
- createdAt: z.ZodString;
31804
- updatedAt: z.ZodString;
31805
31805
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
31806
- id: z.ZodString;
31807
31806
  name: z.ZodString;
31808
- description: z.ZodNullable<z.ZodString>;
31809
- defaultSubAgentId: z.ZodNullable<z.ZodString>;
31807
+ id: z.ZodString;
31810
31808
  createdAt: z.ZodString;
31811
31809
  updatedAt: z.ZodString;
31810
+ description: z.ZodNullable<z.ZodString>;
31811
+ defaultSubAgentId: z.ZodNullable<z.ZodString>;
31812
31812
  contextConfigId: z.ZodNullable<z.ZodString>;
31813
31813
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
31814
- id: z.ZodString;
31815
31814
  name: z.ZodString;
31815
+ id: z.ZodString;
31816
+ createdAt: z.ZodString;
31817
+ updatedAt: z.ZodString;
31816
31818
  description: z.ZodNullable<z.ZodString>;
31817
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
31818
31819
  models: z.ZodNullable<z.ZodType<{
31819
31820
  base?: {
31820
31821
  model?: string | undefined;
@@ -31877,8 +31878,7 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31877
31878
  }, {
31878
31879
  stepCountIs?: number | undefined;
31879
31880
  }>>>;
31880
- createdAt: z.ZodString;
31881
- updatedAt: z.ZodString;
31881
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
31882
31882
  type: z.ZodLiteral<"internal">;
31883
31883
  canUse: z.ZodArray<z.ZodObject<{
31884
31884
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -31949,12 +31949,12 @@ declare const FullProjectSelectResponse: z.ZodObject<{
31949
31949
  description: z.ZodString;
31950
31950
  }, z.core.$strip>>>;
31951
31951
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
31952
- id: z.ZodString;
31953
31952
  name: z.ZodString;
31954
- description: z.ZodNullable<z.ZodString>;
31955
- agentId: z.ZodString;
31953
+ id: z.ZodString;
31956
31954
  createdAt: z.ZodString;
31957
31955
  updatedAt: z.ZodString;
31956
+ description: z.ZodNullable<z.ZodString>;
31957
+ agentId: z.ZodString;
31958
31958
  functionId: z.ZodString;
31959
31959
  relationshipId: z.ZodOptional<z.ZodString>;
31960
31960
  }, z.core.$strip>>>;
@@ -32060,12 +32060,12 @@ declare const FullProjectSelectResponse: z.ZodObject<{
32060
32060
  id: z.ZodString;
32061
32061
  }>, z.core.$strip>>;
32062
32062
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
32063
- id: z.ZodString;
32064
32063
  name: z.ZodString;
32065
- description: z.ZodNullable<z.ZodString>;
32066
- agentId: z.ZodString;
32064
+ id: z.ZodString;
32067
32065
  createdAt: z.ZodString;
32068
32066
  updatedAt: z.ZodString;
32067
+ description: z.ZodNullable<z.ZodString>;
32068
+ agentId: z.ZodString;
32069
32069
  functionId: z.ZodString;
32070
32070
  relationshipId: z.ZodOptional<z.ZodString>;
32071
32071
  }, z.core.$strip>>>;
@@ -32208,21 +32208,21 @@ declare const FullProjectSelectResponse: z.ZodObject<{
32208
32208
  }, z.core.$strip>>>;
32209
32209
  }, z.core.$strip>>;
32210
32210
  credentialReferences: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
32211
- id: z.ZodString;
32212
32211
  name: z.ZodString;
32212
+ id: z.ZodString;
32213
32213
  createdAt: z.ZodString;
32214
32214
  updatedAt: z.ZodString;
32215
- toolId: z.ZodNullable<z.ZodString>;
32216
32215
  userId: z.ZodNullable<z.ZodString>;
32217
32216
  createdBy: z.ZodNullable<z.ZodString>;
32218
32217
  credentialStoreId: z.ZodString;
32219
32218
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
32219
+ toolId: z.ZodNullable<z.ZodString>;
32220
32220
  type: z.ZodEnum<{
32221
32221
  readonly memory: "memory";
32222
32222
  readonly keychain: "keychain";
32223
32223
  readonly nango: "nango";
32224
32224
  }>;
32225
- tools: z.ZodOptional<z.ZodArray<drizzle_zod15.BuildSchema<"select", {
32225
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod19.BuildSchema<"select", {
32226
32226
  createdAt: drizzle_orm_pg_core217.PgColumn<{
32227
32227
  name: "created_at";
32228
32228
  tableName: "tools";
@@ -32502,7 +32502,7 @@ declare const FullProjectSelectResponse: z.ZodObject<{
32502
32502
  }, {}, {
32503
32503
  length: 256;
32504
32504
  }>;
32505
- }, drizzle_zod15.BuildRefine<{
32505
+ }, drizzle_zod19.BuildRefine<{
32506
32506
  createdAt: drizzle_orm_pg_core217.PgColumn<{
32507
32507
  name: "created_at";
32508
32508
  tableName: "tools";
@@ -32805,8 +32805,10 @@ declare const FullProjectSelectResponse: z.ZodObject<{
32805
32805
  }, z.core.$strip>;
32806
32806
  declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
32807
32807
  data: z.ZodObject<{
32808
- id: z.ZodString;
32809
32808
  name: z.ZodString;
32809
+ id: z.ZodString;
32810
+ createdAt: z.ZodString;
32811
+ updatedAt: z.ZodString;
32810
32812
  description: z.ZodNullable<z.ZodString>;
32811
32813
  models: z.ZodNullable<z.ZodObject<{
32812
32814
  base: z.ZodObject<{
@@ -32826,8 +32828,6 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
32826
32828
  transferCountIs: z.ZodOptional<z.ZodNumber>;
32827
32829
  stepCountIs: z.ZodOptional<z.ZodNumber>;
32828
32830
  }, z.core.$strip>>;
32829
- createdAt: z.ZodString;
32830
- updatedAt: z.ZodString;
32831
32831
  tools: z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
32832
32832
  createdAt: z.ZodString;
32833
32833
  updatedAt: z.ZodString;
@@ -32858,12 +32858,12 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
32858
32858
  id: z.ZodString;
32859
32859
  }>, z.core.$strip>>;
32860
32860
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
32861
- id: z.ZodString;
32862
32861
  name: z.ZodString;
32863
- description: z.ZodNullable<z.ZodString>;
32864
- agentId: z.ZodString;
32862
+ id: z.ZodString;
32865
32863
  createdAt: z.ZodString;
32866
32864
  updatedAt: z.ZodString;
32865
+ description: z.ZodNullable<z.ZodString>;
32866
+ agentId: z.ZodString;
32867
32867
  functionId: z.ZodString;
32868
32868
  relationshipId: z.ZodOptional<z.ZodString>;
32869
32869
  }, z.core.$strip>>>;
@@ -33006,21 +33006,21 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33006
33006
  }, z.core.$strip>>>;
33007
33007
  }, z.core.$strip>>;
33008
33008
  credentialReferences: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
33009
- id: z.ZodString;
33010
33009
  name: z.ZodString;
33010
+ id: z.ZodString;
33011
33011
  createdAt: z.ZodString;
33012
33012
  updatedAt: z.ZodString;
33013
- toolId: z.ZodNullable<z.ZodString>;
33014
33013
  userId: z.ZodNullable<z.ZodString>;
33015
33014
  createdBy: z.ZodNullable<z.ZodString>;
33016
33015
  credentialStoreId: z.ZodString;
33017
33016
  retrievalParams: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
33017
+ toolId: z.ZodNullable<z.ZodString>;
33018
33018
  type: z.ZodEnum<{
33019
33019
  readonly memory: "memory";
33020
33020
  readonly keychain: "keychain";
33021
33021
  readonly nango: "nango";
33022
33022
  }>;
33023
- tools: z.ZodOptional<z.ZodArray<drizzle_zod15.BuildSchema<"select", {
33023
+ tools: z.ZodOptional<z.ZodArray<drizzle_zod19.BuildSchema<"select", {
33024
33024
  createdAt: drizzle_orm_pg_core217.PgColumn<{
33025
33025
  name: "created_at";
33026
33026
  tableName: "tools";
@@ -33300,7 +33300,7 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33300
33300
  }, {}, {
33301
33301
  length: 256;
33302
33302
  }>;
33303
- }, drizzle_zod15.BuildRefine<{
33303
+ }, drizzle_zod19.BuildRefine<{
33304
33304
  createdAt: drizzle_orm_pg_core217.PgColumn<{
33305
33305
  name: "created_at";
33306
33306
  tableName: "tools";
@@ -33597,12 +33597,12 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33597
33597
  }>>>;
33598
33598
  }, z.core.$strip>>>;
33599
33599
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
33600
- id: z.ZodString;
33601
33600
  name: z.ZodString;
33602
- description: z.ZodNullable<z.ZodString>;
33603
- defaultSubAgentId: z.ZodNullable<z.ZodString>;
33601
+ id: z.ZodString;
33604
33602
  createdAt: z.ZodString;
33605
33603
  updatedAt: z.ZodString;
33604
+ description: z.ZodNullable<z.ZodString>;
33605
+ defaultSubAgentId: z.ZodNullable<z.ZodString>;
33606
33606
  contextConfigId: z.ZodNullable<z.ZodString>;
33607
33607
  tools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<OmitProjectScope<{
33608
33608
  createdAt: z.ZodString;
@@ -33650,12 +33650,12 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33650
33650
  description: z.ZodString;
33651
33651
  }, z.core.$strip>>>;
33652
33652
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
33653
- id: z.ZodString;
33654
33653
  name: z.ZodString;
33655
- description: z.ZodNullable<z.ZodString>;
33656
- agentId: z.ZodString;
33654
+ id: z.ZodString;
33657
33655
  createdAt: z.ZodString;
33658
33656
  updatedAt: z.ZodString;
33657
+ description: z.ZodNullable<z.ZodString>;
33658
+ agentId: z.ZodString;
33659
33659
  functionId: z.ZodString;
33660
33660
  relationshipId: z.ZodOptional<z.ZodString>;
33661
33661
  }, z.core.$strip>>>;
@@ -33731,10 +33731,11 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33731
33731
  }, z.core.$strip>>;
33732
33732
  prompt: z.ZodNullable<z.ZodString>;
33733
33733
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
33734
- id: z.ZodString;
33735
33734
  name: z.ZodString;
33735
+ id: z.ZodString;
33736
+ createdAt: z.ZodString;
33737
+ updatedAt: z.ZodString;
33736
33738
  description: z.ZodNullable<z.ZodString>;
33737
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
33738
33739
  models: z.ZodNullable<z.ZodType<{
33739
33740
  base?: {
33740
33741
  model?: string | undefined;
@@ -33797,8 +33798,7 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33797
33798
  }, {
33798
33799
  stepCountIs?: number | undefined;
33799
33800
  }>>>;
33800
- createdAt: z.ZodString;
33801
- updatedAt: z.ZodString;
33801
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
33802
33802
  type: z.ZodLiteral<"internal">;
33803
33803
  canUse: z.ZodArray<z.ZodObject<{
33804
33804
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -33838,17 +33838,18 @@ declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{
33838
33838
  declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
33839
33839
  data: z.ZodObject<{
33840
33840
  name: z.ZodString;
33841
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33842
- defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33843
33841
  createdAt: z.ZodOptional<z.ZodString>;
33844
33842
  updatedAt: z.ZodOptional<z.ZodString>;
33843
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33844
+ defaultSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33845
33845
  contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33846
33846
  id: z.ZodString;
33847
33847
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
33848
- id: z.ZodString;
33849
33848
  name: z.ZodString;
33849
+ id: z.ZodString;
33850
+ createdAt: z.ZodOptional<z.ZodString>;
33851
+ updatedAt: z.ZodOptional<z.ZodString>;
33850
33852
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33851
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
33852
33853
  models: z.ZodOptional<z.ZodObject<{
33853
33854
  base: z.ZodOptional<z.ZodObject<{
33854
33855
  model: z.ZodOptional<z.ZodString>;
@@ -33863,8 +33864,7 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
33863
33864
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
33864
33865
  }, z.core.$strip>>;
33865
33866
  }, z.core.$strip>>;
33866
- createdAt: z.ZodOptional<z.ZodString>;
33867
- updatedAt: z.ZodOptional<z.ZodString>;
33867
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
33868
33868
  type: z.ZodLiteral<"internal">;
33869
33869
  canUse: z.ZodArray<z.ZodObject<{
33870
33870
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -33976,25 +33976,25 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
33976
33976
  }, z.core.$strip>>>;
33977
33977
  triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
33978
33978
  name: z.ZodString;
33979
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33980
33979
  createdAt: z.ZodOptional<z.ZodString>;
33981
33980
  updatedAt: z.ZodOptional<z.ZodString>;
33981
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33982
33982
  enabled: z.ZodOptional<z.ZodBoolean>;
33983
- inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
33984
- outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
33983
+ inputSchema: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
33984
+ outputTransform: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
33985
33985
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33986
- authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
33986
+ authentication: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
33987
33987
  signingSecretCredentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33988
- signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
33988
+ signatureVerification: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
33989
33989
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33990
33990
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33991
33991
  id: z.ZodOptional<z.ZodString>;
33992
33992
  }, z.core.$strip>>>;
33993
33993
  scheduledTriggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
33994
33994
  name: z.ZodString;
33995
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33996
33995
  createdAt: z.ZodOptional<z.ZodString>;
33997
33996
  updatedAt: z.ZodOptional<z.ZodString>;
33997
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33998
33998
  enabled: z.ZodOptional<z.ZodBoolean>;
33999
33999
  messageTemplate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34000
34000
  runAsUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -34002,7 +34002,7 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
34002
34002
  cronExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34003
34003
  cronTimezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34004
34004
  runAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34005
- payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
34005
+ payload: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>;
34006
34006
  maxRetries: z.ZodOptional<z.ZodNumber>;
34007
34007
  retryDelaySeconds: z.ZodOptional<z.ZodNumber>;
34008
34008
  timeoutSeconds: z.ZodOptional<z.ZodNumber>;
@@ -34050,18 +34050,19 @@ declare const AgentWithinContextOfProjectResponse: z.ZodObject<{
34050
34050
  }, z.core.$strip>;
34051
34051
  declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
34052
34052
  data: z.ZodObject<{
34053
- id: z.ZodString;
34054
34053
  name: z.ZodString;
34055
- description: z.ZodNullable<z.ZodString>;
34056
- defaultSubAgentId: z.ZodNullable<z.ZodString>;
34054
+ id: z.ZodString;
34057
34055
  createdAt: z.ZodString;
34058
34056
  updatedAt: z.ZodString;
34057
+ description: z.ZodNullable<z.ZodString>;
34058
+ defaultSubAgentId: z.ZodNullable<z.ZodString>;
34059
34059
  contextConfigId: z.ZodNullable<z.ZodString>;
34060
34060
  subAgents: z.ZodRecord<z.ZodString, z.ZodObject<{
34061
- id: z.ZodString;
34062
34061
  name: z.ZodString;
34062
+ id: z.ZodString;
34063
+ createdAt: z.ZodString;
34064
+ updatedAt: z.ZodString;
34063
34065
  description: z.ZodNullable<z.ZodString>;
34064
- conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
34065
34066
  models: z.ZodNullable<z.ZodType<{
34066
34067
  base?: {
34067
34068
  model?: string | undefined;
@@ -34124,8 +34125,7 @@ declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
34124
34125
  }, {
34125
34126
  stepCountIs?: number | undefined;
34126
34127
  }>>>;
34127
- createdAt: z.ZodString;
34128
- updatedAt: z.ZodString;
34128
+ conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
34129
34129
  type: z.ZodLiteral<"internal">;
34130
34130
  canUse: z.ZodArray<z.ZodObject<{
34131
34131
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -34196,12 +34196,12 @@ declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{
34196
34196
  description: z.ZodString;
34197
34197
  }, z.core.$strip>>>;
34198
34198
  functionTools: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
34199
- id: z.ZodString;
34200
34199
  name: z.ZodString;
34201
- description: z.ZodNullable<z.ZodString>;
34202
- agentId: z.ZodString;
34200
+ id: z.ZodString;
34203
34201
  createdAt: z.ZodString;
34204
34202
  updatedAt: z.ZodString;
34203
+ description: z.ZodNullable<z.ZodString>;
34204
+ agentId: z.ZodString;
34205
34205
  functionId: z.ZodString;
34206
34206
  relationshipId: z.ZodOptional<z.ZodString>;
34207
34207
  }, z.core.$strip>>>;
@@ -34434,7 +34434,7 @@ declare const SubAgentTeamAgentRelationResponse: z.ZodObject<{
34434
34434
  createdAt: z.ZodString;
34435
34435
  updatedAt: z.ZodString;
34436
34436
  targetAgentId: z.ZodString;
34437
- headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
34437
+ headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
34438
34438
  subAgentId: z.ZodString;
34439
34439
  agentId: z.ZodString;
34440
34440
  projectId: z.ZodString;
@@ -34447,7 +34447,7 @@ declare const SubAgentTeamAgentRelationListResponse: z.ZodObject<{
34447
34447
  createdAt: z.ZodString;
34448
34448
  updatedAt: z.ZodString;
34449
34449
  targetAgentId: z.ZodString;
34450
- headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
34450
+ headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
34451
34451
  subAgentId: z.ZodString;
34452
34452
  agentId: z.ZodString;
34453
34453
  projectId: z.ZodString;
@@ -34466,7 +34466,7 @@ declare const SubAgentExternalAgentRelationResponse: z.ZodObject<{
34466
34466
  createdAt: z.ZodString;
34467
34467
  updatedAt: z.ZodString;
34468
34468
  externalAgentId: z.ZodString;
34469
- headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
34469
+ headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
34470
34470
  subAgentId: z.ZodString;
34471
34471
  agentId: z.ZodString;
34472
34472
  projectId: z.ZodString;
@@ -34479,7 +34479,7 @@ declare const SubAgentExternalAgentRelationListResponse: z.ZodObject<{
34479
34479
  createdAt: z.ZodString;
34480
34480
  updatedAt: z.ZodString;
34481
34481
  externalAgentId: z.ZodString;
34482
- headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
34482
+ headers: z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>;
34483
34483
  subAgentId: z.ZodString;
34484
34484
  agentId: z.ZodString;
34485
34485
  projectId: z.ZodString;
@@ -34709,7 +34709,7 @@ declare const PaginationWithRefQueryParamsSchema: z.ZodObject<{
34709
34709
  limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
34710
34710
  ref: z.ZodOptional<z.ZodString>;
34711
34711
  }, z.core.$strip>;
34712
- declare const ProjectMetadataSelectSchema: drizzle_zod15.BuildSchema<"select", {
34712
+ declare const ProjectMetadataSelectSchema: drizzle_zod19.BuildSchema<"select", {
34713
34713
  id: drizzle_orm_pg_core217.PgColumn<{
34714
34714
  name: "id";
34715
34715
  tableName: "project_metadata";
@@ -34803,7 +34803,7 @@ declare const ProjectMetadataSelectSchema: drizzle_zod15.BuildSchema<"select", {
34803
34803
  }, {}, {
34804
34804
  length: 512;
34805
34805
  }>;
34806
- }, drizzle_zod15.BuildRefine<{
34806
+ }, drizzle_zod19.BuildRefine<{
34807
34807
  id: drizzle_orm_pg_core217.PgColumn<{
34808
34808
  name: "id";
34809
34809
  tableName: "project_metadata";
@@ -34914,10 +34914,10 @@ declare const WorkAppGitHubInstallationStatusSchema: z.ZodEnum<{
34914
34914
  disconnected: "disconnected";
34915
34915
  }>;
34916
34916
  declare const WorkAppGitHubAccountTypeSchema: z.ZodEnum<{
34917
- Organization: "Organization";
34918
34917
  User: "User";
34918
+ Organization: "Organization";
34919
34919
  }>;
34920
- declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod15.BuildSchema<"select", {
34920
+ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod19.BuildSchema<"select", {
34921
34921
  createdAt: drizzle_orm_pg_core217.PgColumn<{
34922
34922
  name: "created_at";
34923
34923
  tableName: "work_app_github_installations";
@@ -35010,7 +35010,7 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod15.BuildSchema<"
35010
35010
  tableName: "work_app_github_installations";
35011
35011
  dataType: "string";
35012
35012
  columnType: "PgVarchar";
35013
- data: "Organization" | "User";
35013
+ data: "User" | "Organization";
35014
35014
  driverParam: string;
35015
35015
  notNull: true;
35016
35016
  hasDefault: false;
@@ -35023,7 +35023,7 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod15.BuildSchema<"
35023
35023
  generated: undefined;
35024
35024
  }, {}, {
35025
35025
  length: 20;
35026
- $type: "Organization" | "User";
35026
+ $type: "User" | "Organization";
35027
35027
  }>;
35028
35028
  status: drizzle_orm_pg_core217.PgColumn<{
35029
35029
  name: "status";
@@ -35083,7 +35083,7 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod15.BuildSchema<"
35083
35083
  }, {}, {
35084
35084
  length: 256;
35085
35085
  }>;
35086
- }, drizzle_zod15.BuildRefine<{
35086
+ }, drizzle_zod19.BuildRefine<{
35087
35087
  createdAt: drizzle_orm_pg_core217.PgColumn<{
35088
35088
  name: "created_at";
35089
35089
  tableName: "work_app_github_installations";
@@ -35176,7 +35176,7 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod15.BuildSchema<"
35176
35176
  tableName: "work_app_github_installations";
35177
35177
  dataType: "string";
35178
35178
  columnType: "PgVarchar";
35179
- data: "Organization" | "User";
35179
+ data: "User" | "Organization";
35180
35180
  driverParam: string;
35181
35181
  notNull: true;
35182
35182
  hasDefault: false;
@@ -35189,7 +35189,7 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod15.BuildSchema<"
35189
35189
  generated: undefined;
35190
35190
  }, {}, {
35191
35191
  length: 20;
35192
- $type: "Organization" | "User";
35192
+ $type: "User" | "Organization";
35193
35193
  }>;
35194
35194
  status: drizzle_orm_pg_core217.PgColumn<{
35195
35195
  name: "status";
@@ -35252,13 +35252,13 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod15.BuildSchema<"
35252
35252
  }, undefined>, undefined>;
35253
35253
  declare const WorkAppGitHubInstallationInsertSchema: z.ZodObject<{
35254
35254
  id: z.ZodString;
35255
- tenantId: z.ZodString;
35256
35255
  accountId: z.ZodString;
35256
+ tenantId: z.ZodString;
35257
35257
  installationId: z.ZodString;
35258
35258
  accountLogin: z.ZodString;
35259
35259
  accountType: z.ZodEnum<{
35260
- Organization: "Organization";
35261
35260
  User: "User";
35261
+ Organization: "Organization";
35262
35262
  }>;
35263
35263
  status: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
35264
35264
  pending: "pending";
@@ -35283,13 +35283,13 @@ declare const WorkAppGithubInstallationApiSelectSchema: z.ZodObject<OmitTenantSc
35283
35283
  }>, z.core.$strip>;
35284
35284
  declare const WorkAppGitHubInstallationApiInsertSchema: z.ZodObject<OmitGeneratedFields<{
35285
35285
  id: z.ZodString;
35286
- tenantId: z.ZodString;
35287
35286
  accountId: z.ZodString;
35287
+ tenantId: z.ZodString;
35288
35288
  installationId: z.ZodString;
35289
35289
  accountLogin: z.ZodString;
35290
35290
  accountType: z.ZodEnum<{
35291
- Organization: "Organization";
35292
35291
  User: "User";
35292
+ Organization: "Organization";
35293
35293
  }>;
35294
35294
  status: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
35295
35295
  pending: "pending";
@@ -35298,7 +35298,7 @@ declare const WorkAppGitHubInstallationApiInsertSchema: z.ZodObject<OmitGenerate
35298
35298
  disconnected: "disconnected";
35299
35299
  }>>>;
35300
35300
  }>, z.core.$strip>;
35301
- declare const WorkAppGitHubRepositorySelectSchema: drizzle_zod15.BuildSchema<"select", {
35301
+ declare const WorkAppGitHubRepositorySelectSchema: drizzle_zod19.BuildSchema<"select", {
35302
35302
  createdAt: drizzle_orm_pg_core217.PgColumn<{
35303
35303
  name: "created_at";
35304
35304
  tableName: "work_app_github_repositories";
@@ -35443,7 +35443,7 @@ declare const WorkAppGitHubRepositorySelectSchema: drizzle_zod15.BuildSchema<"se
35443
35443
  identity: undefined;
35444
35444
  generated: undefined;
35445
35445
  }, {}, {}>;
35446
- }, drizzle_zod15.BuildRefine<{
35446
+ }, drizzle_zod19.BuildRefine<{
35447
35447
  createdAt: drizzle_orm_pg_core217.PgColumn<{
35448
35448
  name: "created_at";
35449
35449
  tableName: "work_app_github_repositories";
@@ -35609,7 +35609,7 @@ declare const WorkAppGitHubRepositoryApiInsertSchema: z.ZodObject<OmitGeneratedF
35609
35609
  repositoryFullName: z.ZodString;
35610
35610
  private: z.ZodOptional<z.ZodBoolean>;
35611
35611
  }>>, z.core.$strip>;
35612
- declare const WorkAppGitHubProjectRepositoryAccessSelectSchema: drizzle_zod15.BuildSchema<"select", {
35612
+ declare const WorkAppGitHubProjectRepositoryAccessSelectSchema: drizzle_zod19.BuildSchema<"select", {
35613
35613
  createdAt: drizzle_orm_pg_core217.PgColumn<{
35614
35614
  name: "created_at";
35615
35615
  tableName: "work_app_github_project_repository_access";
@@ -35720,7 +35720,7 @@ declare const WorkAppGitHubProjectRepositoryAccessSelectSchema: drizzle_zod15.Bu
35720
35720
  }, {}, {
35721
35721
  length: 256;
35722
35722
  }>;
35723
- }, drizzle_zod15.BuildRefine<{
35723
+ }, drizzle_zod19.BuildRefine<{
35724
35724
  createdAt: drizzle_orm_pg_core217.PgColumn<{
35725
35725
  name: "created_at";
35726
35726
  tableName: "work_app_github_project_repository_access";
@@ -35832,7 +35832,7 @@ declare const WorkAppGitHubProjectRepositoryAccessSelectSchema: drizzle_zod15.Bu
35832
35832
  length: 256;
35833
35833
  }>;
35834
35834
  }, undefined>, undefined>;
35835
- declare const WorkAppGitHubMcpToolRepositoryAccessSelectSchema: drizzle_zod15.BuildSchema<"select", {
35835
+ declare const WorkAppGitHubMcpToolRepositoryAccessSelectSchema: drizzle_zod19.BuildSchema<"select", {
35836
35836
  createdAt: drizzle_orm_pg_core217.PgColumn<{
35837
35837
  name: "created_at";
35838
35838
  tableName: "work_app_github_mcp_tool_repository_access";
@@ -35962,7 +35962,7 @@ declare const WorkAppGitHubMcpToolRepositoryAccessSelectSchema: drizzle_zod15.Bu
35962
35962
  }, {}, {
35963
35963
  length: 256;
35964
35964
  }>;
35965
- }, drizzle_zod15.BuildRefine<{
35965
+ }, drizzle_zod19.BuildRefine<{
35966
35966
  createdAt: drizzle_orm_pg_core217.PgColumn<{
35967
35967
  name: "created_at";
35968
35968
  tableName: "work_app_github_mcp_tool_repository_access";
@@ -36116,7 +36116,7 @@ declare const WorkAppGitHubAccessGetResponseSchema: z.ZodObject<{
36116
36116
  all: "all";
36117
36117
  selected: "selected";
36118
36118
  }>;
36119
- repositories: z.ZodArray<drizzle_zod15.BuildSchema<"select", {
36119
+ repositories: z.ZodArray<drizzle_zod19.BuildSchema<"select", {
36120
36120
  createdAt: drizzle_orm_pg_core217.PgColumn<{
36121
36121
  name: "created_at";
36122
36122
  tableName: "work_app_github_repositories";
@@ -36261,7 +36261,7 @@ declare const WorkAppGitHubAccessGetResponseSchema: z.ZodObject<{
36261
36261
  identity: undefined;
36262
36262
  generated: undefined;
36263
36263
  }, {}, {}>;
36264
- }, drizzle_zod15.BuildRefine<{
36264
+ }, drizzle_zod19.BuildRefine<{
36265
36265
  createdAt: drizzle_orm_pg_core217.PgColumn<{
36266
36266
  name: "created_at";
36267
36267
  tableName: "work_app_github_repositories";
@@ -36408,7 +36408,7 @@ declare const WorkAppGitHubAccessGetResponseSchema: z.ZodObject<{
36408
36408
  }, {}, {}>;
36409
36409
  }, undefined>, undefined>>;
36410
36410
  }, z.core.$strip>;
36411
- declare const WorkAppSlackChannelAgentConfigSelectSchema: drizzle_zod15.BuildSchema<"select", {
36411
+ declare const WorkAppSlackChannelAgentConfigSelectSchema: drizzle_zod19.BuildSchema<"select", {
36412
36412
  createdAt: drizzle_orm_pg_core217.PgColumn<{
36413
36413
  name: "created_at";
36414
36414
  tableName: "work_app_slack_channel_agent_configs";
@@ -36646,7 +36646,7 @@ declare const WorkAppSlackChannelAgentConfigSelectSchema: drizzle_zod15.BuildSch
36646
36646
  identity: undefined;
36647
36647
  generated: undefined;
36648
36648
  }, {}, {}>;
36649
- }, drizzle_zod15.BuildRefine<{
36649
+ }, drizzle_zod19.BuildRefine<{
36650
36650
  createdAt: drizzle_orm_pg_core217.PgColumn<{
36651
36651
  name: "created_at";
36652
36652
  tableName: "work_app_slack_channel_agent_configs";
@@ -36885,7 +36885,7 @@ declare const WorkAppSlackChannelAgentConfigSelectSchema: drizzle_zod15.BuildSch
36885
36885
  generated: undefined;
36886
36886
  }, {}, {}>;
36887
36887
  }, undefined>, undefined>;
36888
- declare const WorkAppSlackWorkspaceSelectSchema: drizzle_zod15.BuildSchema<"select", {
36888
+ declare const WorkAppSlackWorkspaceSelectSchema: drizzle_zod19.BuildSchema<"select", {
36889
36889
  createdAt: drizzle_orm_pg_core217.PgColumn<{
36890
36890
  name: "created_at";
36891
36891
  tableName: "work_app_slack_workspaces";
@@ -37180,7 +37180,7 @@ declare const WorkAppSlackWorkspaceSelectSchema: drizzle_zod15.BuildSchema<"sele
37180
37180
  identity: undefined;
37181
37181
  generated: undefined;
37182
37182
  }, {}, {}>;
37183
- }, drizzle_zod15.BuildRefine<{
37183
+ }, drizzle_zod19.BuildRefine<{
37184
37184
  createdAt: drizzle_orm_pg_core217.PgColumn<{
37185
37185
  name: "created_at";
37186
37186
  tableName: "work_app_slack_workspaces";
@@ -37496,7 +37496,7 @@ declare const WorkAppSlackAgentConfigResponseSchema: z.ZodObject<{
37496
37496
  }>;
37497
37497
  type WorkAppSlackAgentConfigRequest = z.infer<typeof WorkAppSlackAgentConfigRequestSchema>;
37498
37498
  type WorkAppSlackAgentConfigResponse = z.infer<typeof WorkAppSlackAgentConfigResponseSchema>;
37499
- declare const UserProfileSelectSchema: drizzle_zod15.BuildSchema<"select", {
37499
+ declare const UserProfileSelectSchema: drizzle_zod19.BuildSchema<"select", {
37500
37500
  createdAt: drizzle_orm_pg_core217.PgColumn<{
37501
37501
  name: "created_at";
37502
37502
  tableName: "user_profile";
@@ -37601,7 +37601,7 @@ declare const UserProfileSelectSchema: drizzle_zod15.BuildSchema<"select", {
37601
37601
  }, {}, {
37602
37602
  $type: Record<string, unknown>;
37603
37603
  }>;
37604
- }, drizzle_zod15.BuildRefine<{
37604
+ }, drizzle_zod19.BuildRefine<{
37605
37605
  createdAt: drizzle_orm_pg_core217.PgColumn<{
37606
37606
  name: "created_at";
37607
37607
  tableName: "user_profile";